diff --git a/video-gen-admin/dist/assets/index-BJj5fRkV.js b/video-gen-admin/dist/assets/index-W_zV5GBi.js similarity index 67% rename from video-gen-admin/dist/assets/index-BJj5fRkV.js rename to video-gen-admin/dist/assets/index-W_zV5GBi.js index 6710708a..4fdcf4cf 100644 --- a/video-gen-admin/dist/assets/index-BJj5fRkV.js +++ b/video-gen-admin/dist/assets/index-W_zV5GBi.js @@ -124,39 +124,39 @@ ${c?`height: ${o.height};`:``} html body { overflow-y: hidden; ${Mf()?`width: calc(100% - ${e}px);`:``} -}`,n)}else Ci(n);return()=>{Ci(n)}},[t,n])}function If(){return{...C}.useId}var Lf=0;function Rf(e,t){return`${e}-${String(t).replace(/[^a-zA-Z0-9_.:-]/g,`-`)}`}var zf=If(),Bf=zf?function(e){let t=zf();return e||t}:function(e){let[t,n]=C.useState(`ssr-id`);return C.useEffect(()=>{let e=Lf;Lf+=1,n(`rc_unique_${e}`)},[]),e||t},Vf=[],Hf=200,Uf=0,Wf=e=>{if(e.key===`Escape`&&!e.isComposing){if(Date.now()-Uf=0;--n)Vf[n].onEsc({top:n===t-1,event:e})}},Gf=()=>{Uf=Date.now()};function Kf(){window.addEventListener(`keydown`,Wf),window.addEventListener(`compositionend`,Gf)}function qf(){Vf.length===0&&(window.removeEventListener(`keydown`,Wf),window.removeEventListener(`compositionend`,Gf))}function Jf(e,t){let n=Bf(),r=Rn(t),i=()=>{Vf.find(e=>e.id===n)||Vf.push({id:n,onEsc:r})},a=()=>{Vf=Vf.filter(e=>e.id!==n)};(0,C.useMemo)(()=>{e?i():e||a()},[e]),(0,C.useEffect)(()=>{if(e)return i(),Kf(),()=>{a(),qf()}},[e])}var Yf=l(g()),Xf=e=>e===!1?!1:!zn()||!e?null:typeof e==`string`?document.querySelector(e):typeof e==`function`?e():e,Zf=C.forwardRef((e,t)=>{let{open:n,autoLock:r,getContainer:i,debug:a,autoDestroy:o=!0,children:s,onEsc:c}=e,[l,u]=C.useState(n),d=l||n;C.useEffect(()=>{(o||n)&&u(n)},[n,o]);let[f,p]=C.useState(()=>Xf(i));C.useEffect(()=>{let e=Xf(i);p(()=>e??null)});let[m,h]=Df(d&&!f,a),g=f??m;Ff(r&&n&&zn()&&(g===m||g===document.body)),Jf(n,c);let _=null;s&&nr(s)&&t&&(_=ar(s));let v=tr(_,t);if(!d||!zn()||f===void 0)return null;let y=g===!1||Tf(),b=s;return t&&(b=C.cloneElement(s,{ref:v})),C.createElement(Cf.Provider,{value:h},y?b:(0,Yf.createPortal)(b,g))});function Qf(e){let{prefixCls:t,align:n,arrow:r,arrowPos:i}=e,{className:a,content:o,style:s}=r||{},{x:c=0,y:l=0}=i,u=C.useRef(null);if(!n||!n.points)return null;let d={position:`absolute`};if(n.autoArrow!==!1){let e=n.points[0],t=n.points[1],r=e[0],i=e[1],a=t[0],o=t[1];r===a||![`t`,`b`].includes(r)?d.top=l:r===`t`?d.top=0:d.bottom=0,i===o||![`l`,`r`].includes(i)?d.left=c:i===`l`?d.left=0:d.right=0}return C.createElement(`div`,{ref:u,className:q(`${t}-arrow`,a),style:{...d,...s}},o)}function $f(){return $f=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(`div`,{style:{zIndex:r},className:q(`${t}-mask`,o&&`${t}-mobile-mask`,e)})):null}var tp=C.memo(({children:e})=>e,(e,t)=>t.cache);function np(e,t,n,r,i,a,o,s){let c=`auto`,l=e?{}:{left:`-1000vw`,top:`-1000vh`,right:c,bottom:c};if(!e&&(t||!n)){let{points:e}=r,t=r.dynamicInset||r._experimental?.dynamicInset,n=t&&e[0][1]===`r`,u=t&&e[0][0]===`b`;n?(l.right=i,l.left=c):(l.left=o,l.right=c),u?(l.bottom=a,l.top=c):(l.top=s,l.bottom=c)}return l}function rp(){return rp=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{onEsc:n,popup:r,className:i,prefixCls:a,style:o,target:s,onVisibleChanged:c,open:l,keepDom:u,fresh:d,onClick:f,mask:p,arrow:m,arrowPos:h,align:g,motion:_,maskMotion:v,mobile:y,forceRender:b,getPopupContainer:x,autoDestroy:S,portal:w,children:T,zIndex:E,onMouseEnter:D,onMouseLeave:O,onPointerEnter:k,onPointerDownCapture:A,ready:j,offsetX:M,offsetY:N,offsetR:P,offsetB:F,onAlign:I,onPrepare:L,onResize:R,stretch:z,targetWidth:B,targetHeight:V}=e,H=typeof r==`function`?r():r,U=l||u,W=!!y,[ee,te,ne]=C.useMemo(()=>y?[y.mask,y.maskMotion,y.motion]:[p,v,_],[y,p,v,_]),re=x?.length>0,[ie,ae]=C.useState(!x||!re);Vn(()=>{!ie&&re&&s&&ae(!0)},[ie,re,s]);let G=Rn((e,t)=>{R?.(e,t),I()}),oe=np(W,j,l,g,P,F,M,N);if(!ie)return null;let K={};return z&&(z.includes(`height`)&&V?K.height=V:z.includes(`minHeight`)&&V&&(K.minHeight=V),z.includes(`width`)&&B?K.width=B:z.includes(`minWidth`)&&B&&(K.minWidth=B)),l||(K.pointerEvents=`none`),C.createElement(w,{open:b||U,getContainer:x&&(()=>x(s)),autoDestroy:S,onEsc:n},C.createElement(ep,{prefixCls:a,open:l,zIndex:E,mask:ee,motion:te,mobile:W}),C.createElement(Gr,{onResize:G,disabled:!l},e=>C.createElement(Lu,rp({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:b,leavedClassName:`${a}-hidden`},ne,{onAppearPrepare:L,onEnterPrepare:L,visible:l,onVisibleChanged:e=>{_?.onVisibleChanged?.(e),c(e)}}),({className:n,style:r},s)=>{let c=q(a,n,i,{[`${a}-mobile`]:W});return C.createElement(`div`,{ref:er(e,t,s),className:c,style:{"--arrow-x":`${h.x||0}px`,"--arrow-y":`${h.y||0}px`,...oe,...K,...r,boxSizing:`border-box`,zIndex:E,...o},onMouseEnter:D,onMouseLeave:O,onPointerEnter:k,onClick:f,onPointerDownCapture:A},m&&C.createElement(Qf,{prefixCls:a,arrow:m,arrowPos:h,align:g}),C.createElement(tp,{cache:!l&&!d},H))})),T)}),ap=C.createContext(null),op=C.createContext(null);function sp(e){return e?Array.isArray(e)?e:[e]:[]}function cp(e,t,n){return C.useMemo(()=>{let r=sp(t??e),i=sp(n??e),a=new Set(r),o=new Set(i);return a.has(`hover`)&&!a.has(`click`)&&a.add(`touch`),o.has(`hover`)&&!o.has(`click`)&&o.add(`touch`),[a,o]},[e,t,n])}var lp=(e=>{if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){let{width:t,height:n}=e.getBBox();if(t||n)return!0}if(e.getBoundingClientRect){let{width:t,height:n}=e.getBoundingClientRect();if(t||n)return!0}}return!1});function up(e=[],t=[],n){let r=(e,t)=>e[t]||``;return n?r(e,0)===r(t,0):r(e,0)===r(t,0)&&r(e,1)===r(t,1)}function dp(e,t,n,r){let{points:i}=n,a=Object.keys(e);for(let n=0;nr.includes(e))&&t.push(n),n=n.parentElement}return t}function mp(e,t=1){return Number.isNaN(e)?t:e}function hp(e){return mp(parseFloat(e),0)}function gp(e,t){let n={...e};return(t||[]).forEach(e=>{if(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)return;let{overflow:t,overflowClipMargin:r,borderTopWidth:i,borderBottomWidth:a,borderLeftWidth:o,borderRightWidth:s}=fp(e).getComputedStyle(e),c=e.getBoundingClientRect(),{offsetHeight:l,clientHeight:u,offsetWidth:d,clientWidth:f}=e,p=hp(i),m=hp(a),h=hp(o),g=hp(s),_=mp(Math.round(c.width/d*1e3)/1e3),v=mp(Math.round(c.height/l*1e3)/1e3),y=(d-f-h-g)*_,b=(l-u-p-m)*v,x=p*v,S=m*v,C=h*_,w=g*_,T=0,E=0;if(t===`clip`){let e=hp(r);T=e*_,E=e*v}let D=c.x+C-T,O=c.y+x-E,k=D+c.width+2*T-C-w-y,A=O+c.height+2*E-x-S-b;n.left=Math.max(n.left,D),n.top=Math.max(n.top,O),n.right=Math.min(n.right,k),n.bottom=Math.min(n.bottom,A)}),n}function _p(e,t=0){let n=`${t}`,r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function vp(e,t){let[n,r]=t||[];return[_p(e.width,n),_p(e.height,r)]}function yp(e=``){return[e[0],e[1]]}function bp(e,t){let n=t[0],r=t[1],i,a;return a=n===`t`?e.y:n===`b`?e.y+e.height:e.y+e.height/2,i=r===`l`?e.x:r===`r`?e.x+e.width:e.x+e.width/2,{x:i,y:a}}function xp(e,t){let n={t:`b`,b:`t`,l:`r`,r:`l`},r=[...e];return r[t]=n[e[t]]||`c`,r}function Sp(e){return e.join(``)}function Cp(e,t,n,r,i,a,o,s){let[c,l]=C.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:i[r]||{}}),u=C.useRef(0),d=C.useMemo(()=>!t||s?[]:pp(t),[t]),f=C.useRef({});e||(f.current={});let p=Rn(()=>{if(t&&n&&e&&!s){let e=t,s=e.ownerDocument,c=fp(e),{position:u}=c.getComputedStyle(e),p=e.style.left,m=e.style.top,h=e.style.right,g=e.style.bottom,_=e.style.overflow,v={...i[r],...a},y=s.createElement(`div`);e.parentElement?.appendChild(y),y.style.left=`${e.offsetLeft}px`,y.style.top=`${e.offsetTop}px`,y.style.position=u,y.style.height=`${e.offsetHeight}px`,y.style.width=`${e.offsetWidth}px`,e.style.left=`0`,e.style.top=`0`,e.style.right=`auto`,e.style.bottom=`auto`,e.style.overflow=`hidden`;let b;if(Array.isArray(n))b={x:n[0],y:n[1],width:0,height:0};else{let e=n.getBoundingClientRect();e.x=e.x??e.left,e.y=e.y??e.top,b={x:e.x,y:e.y,width:e.width,height:e.height}}let x=e.getBoundingClientRect(),{height:S,width:C}=c.getComputedStyle(e);x.x=x.x??x.left,x.y=x.y??x.top;let{clientWidth:w,clientHeight:T,scrollWidth:E,scrollHeight:D,scrollTop:O,scrollLeft:k}=s.documentElement,A=x.height,j=x.width,M=b.height,N=b.width,P={left:0,top:0,right:w,bottom:T},F={left:-k,top:-O,right:E-k,bottom:D-O},{htmlRegion:I}=v,L=`visible`,R=`visibleFirst`;I!==`scroll`&&I!==R&&(I=L);let z=I===R,B=gp(F,d),V=gp(P,d),H=I===L?V:B,U=z?V:H;e.style.left=`auto`,e.style.top=`auto`,e.style.right=`0`,e.style.bottom=`0`;let W=e.getBoundingClientRect();e.style.left=p,e.style.top=m,e.style.right=h,e.style.bottom=g,e.style.overflow=_,e.parentElement?.removeChild(y);let ee=mp(Math.round(j/parseFloat(C)*1e3)/1e3),te=mp(Math.round(A/parseFloat(S)*1e3)/1e3);if(ee===0||te===0||kr(n)&&!lp(n))return;let{offset:ne,targetOffset:re}=v,[ie,ae]=vp(x,ne),[G,oe]=vp(b,re);b.x-=G,b.y-=oe;let[K,se]=v.points||[],ce=yp(se),le=yp(K),ue=bp(b,ce),de=bp(x,le),fe={...v},pe=[le,ce],me=ue.x-de.x+ie,he=ue.y-de.y+ae;function ge(e,t,n=H){let r=x.x+e,i=x.y+t,a=r+j,o=i+A,s=Math.max(r,n.left),c=Math.max(i,n.top),l=Math.min(a,n.right),u=Math.min(o,n.bottom);return Math.max(0,(l-s)*(u-c))}let _e=ge(me,he),ve=ge(me,he,V),ye=bp(b,[`t`,`l`]),be=bp(x,[`t`,`l`]),xe=bp(b,[`b`,`r`]),Se=bp(x,[`b`,`r`]),{adjustX:Ce,adjustY:we,shiftX:Te,shiftY:Ee}=v.overflow||{},De=e=>typeof e==`boolean`?e:e>=0,Oe,ke,Ae,je;function Me(){Oe=x.y+he,ke=Oe+A,Ae=x.x+me,je=Ae+j}Me();let Ne=De(we),Pe=le[0]===ce[0];if(Ne&&le[0]===`t`&&(ke>U.bottom||f.current.bt)){let e=he;Pe?e-=A-M:e=ye.y-Se.y-ae;let t=ge(me,e),n=ge(me,e,V);t>_e||t===_e&&(!z||n>=ve)?(f.current.bt=!0,he=e,ae=-ae,pe=[xp(pe[0],0),xp(pe[1],0)]):f.current.bt=!1}if(Ne&&le[0]===`b`&&(Oe_e||t===_e&&(!z||n>=ve)?(f.current.tb=!0,he=e,ae=-ae,pe=[xp(pe[0],0),xp(pe[1],0)]):f.current.tb=!1}let Fe=De(Ce),Ie=le[1]===ce[1];if(Fe&&le[1]===`l`&&(je>U.right||f.current.rl)){let e=me;Ie?e-=j-N:e=ye.x-Se.x-ie;let t=ge(e,he),n=ge(e,he,V);t>_e||t===_e&&(!z||n>=ve)?(f.current.rl=!0,me=e,ie=-ie,pe=[xp(pe[0],1),xp(pe[1],1)]):f.current.rl=!1}if(Fe&&le[1]===`r`&&(Ae_e||t===_e&&(!z||n>=ve)?(f.current.lr=!0,me=e,ie=-ie,pe=[xp(pe[0],1),xp(pe[1],1)]):f.current.lr=!1}fe.points=[Sp(pe[0]),Sp(pe[1])],Me();let Le=Te===!0?0:Te;typeof Le==`number`&&(AeV.right&&(me-=je-V.right-ie,b.x>V.right-Le&&(me+=b.x-V.right+Le)));let Re=Ee===!0?0:Ee;typeof Re==`number`&&(OeV.bottom&&(he-=ke-V.bottom-ae,b.y>V.bottom-Re&&(he+=b.y-V.bottom+Re)));let ze=x.x+me,Be=ze+j,Ve=x.y+he,He=Ve+A,Ue=b.x,We=Ue+N,Ge=b.y,Ke=Ge+M,qe=(Math.max(ze,Ue)+Math.min(Be,We))/2-ze,Je=(Math.max(Ve,Ge)+Math.min(He,Ke))/2-Ve;o?.(t,fe);let Ye=W.right-x.x-(me+x.width),Xe=W.bottom-x.y-(he+x.height);ee===1&&(me=Math.floor(me),Ye=Math.floor(Ye)),te===1&&(he=Math.floor(he),Xe=Math.floor(Xe)),l({ready:!0,offsetX:me/ee,offsetY:he/te,offsetR:Ye/ee,offsetB:Xe/te,arrowX:qe/ee,arrowY:Je/te,scaleX:ee,scaleY:te,align:fe})}}),m=()=>{u.current+=1;let e=u.current;Promise.resolve().then(()=>{u.current===e&&p()})},h=()=>{l(e=>({...e,ready:!1}))};return Vn(h,[r]),Vn(()=>{e||h()},[e]),[c.ready,c.offsetX,c.offsetY,c.offsetR,c.offsetB,c.arrowX,c.arrowY,c.scaleX,c.scaleY,c.align,m]}function wp(){let e=C.useRef(null),t=()=>{e.current&&=(clearTimeout(e.current),null)};return C.useEffect(()=>()=>{t()},[]),(n,r)=>{t(),r===0?n():e.current=setTimeout(()=>{n()},r*1e3)}}function Tp(e,t,n,r,i){Vn(()=>{if(e&&t&&n){let e=t,a=n,o=pp(e),s=pp(a),c=fp(a),l=new Set([c,...o,...s]);function u(){r(),i()}return l.forEach(e=>{e.addEventListener(`scroll`,u,{passive:!0})}),c.addEventListener(`resize`,u,{passive:!0}),r(),()=>{l.forEach(e=>{e.removeEventListener(`scroll`,u),c.removeEventListener(`resize`,u)})}}},[e,t,n])}function Ep(e,t,n,r,i,a,o,s){let c=C.useRef(e);c.current=e;let l=C.useRef(!1);C.useEffect(()=>{if(t&&r&&(!i||a)){let e=()=>{l.current=!1},t=e=>{c.current&&!o(e.composedPath?.()?.[0]||e.target)&&!l.current&&s(!1)},i=fp(r);i.addEventListener(`pointerdown`,e,!0),i.addEventListener(`mousedown`,t,!0),i.addEventListener(`contextmenu`,t,!0);let a=ml(n);return a&&(a.addEventListener(`mousedown`,t,!0),a.addEventListener(`contextmenu`,t,!0)),()=>{i.removeEventListener(`pointerdown`,e,!0),i.removeEventListener(`mousedown`,t,!0),i.removeEventListener(`contextmenu`,t,!0),a&&(a.removeEventListener(`mousedown`,t,!0),a.removeEventListener(`contextmenu`,t,!0))}}},[t,n,r,i,a]);function u(){l.current=!0}return u}function Dp(){let[e,t]=C.useState(null),[n,r]=C.useState(!1),[i,a]=C.useState(!1),o=C.useRef(null);return[Rn(e=>{e===!1?(o.current=null,r(!1)):i&&n?o.current=e:(r(!0),t(e),o.current=null,n||a(!0))}),n,e,Rn(e=>{e?(a(!1),o.current&&=(t(o.current),null)):(a(!1),o.current=null)})]}function Op(){return Op=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t,isMobile:n,ready:r,open:i,align:a,offsetR:o,offsetB:s,offsetX:c,offsetY:l,arrowPos:u,popupSize:d,motion:f,uniqueContainerClassName:p,uniqueContainerStyle:m}=e,h=`${t}-unique-container`,[g,_]=C.useState(!1),v=np(n,r,i,a,o,s,c,l),y=C.useRef(v);r&&(y.current=v);let b={};return d&&(b.width=d.width,b.height=d.height),C.createElement(Lu,Op({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,leavedClassName:`${h}-hidden`},f,{visible:i,onVisibleChanged:e=>{_(e)}}),({className:e,style:t})=>{let n=q(h,e,p,{[`${h}-visible`]:g});return C.createElement(`div`,{className:n,style:{"--arrow-x":`${u?.x||0}px`,"--arrow-y":`${u?.y||0}px`,...y.current,...b,...t,...m}})})},Ap=({children:e,postTriggerProps:t})=>{let[n,r,i,a]=Dp(),o=C.useMemo(()=>!i||!t?i:t(i),[i,t]),[s,c]=C.useState(null),[l,u]=C.useState(null),d=C.useRef(null),f=Rn(e=>{d.current=e,kr(e)&&s!==e&&c(e)}),p=C.useRef(null),m=wp(),h=Rn((e,t)=>{p.current=t,m(()=>{n(e)},e.delay)}),g=e=>{m(()=>{p.current?.()||n(!1)},e)},_=Rn(e=>{a(e)}),[v,y,b,x,S,w,T,,,E,D]=Cp(r,s,o?.target,o?.popupPlacement,o?.builtinPlacements||{},o?.popupAlign,void 0,!1),O=C.useMemo(()=>o?q(dp(o.builtinPlacements||{},o.prefixCls||``,E,!1),o.getPopupClassNameFromAlign?.(E)):``,[E,o?.getPopupClassNameFromAlign,o?.builtinPlacements,o?.prefixCls]),k=C.useMemo(()=>({show:h,hide:g}),[]);C.useEffect(()=>{D()},[o?.target]);let A=Rn(()=>(D(),Promise.resolve())),j=C.useRef({}),M=C.useContext(ap),N=C.useMemo(()=>({registerSubPopup:(e,t)=>{j.current[e]=t,M?.registerSubPopup(e,t)}}),[M]),P=o?.prefixCls;return C.createElement(op.Provider,{value:k},e,o&&C.createElement(ap.Provider,{value:N},C.createElement(ip,{ref:f,portal:Zf,onEsc:o.onEsc,prefixCls:P,popup:o.popup,className:q(o.popupClassName,O,`${P}-unique-controlled`),style:o.popupStyle,target:o.target,open:r,keepDom:!0,fresh:!0,autoDestroy:!1,onVisibleChanged:_,ready:v,offsetX:y,offsetY:b,offsetR:x,offsetB:S,onAlign:D,onPrepare:A,onResize:e=>u({width:e.offsetWidth,height:e.offsetHeight}),arrowPos:{x:w,y:T},align:E,zIndex:o.zIndex,mask:o.mask,arrow:o.arrow,motion:o.popupMotion,maskMotion:o.maskMotion,getPopupContainer:o.getPopupContainer},C.createElement(kp,{prefixCls:P,isMobile:!1,ready:v,open:r,align:E,offsetR:x,offsetB:S,offsetX:y,offsetY:b,arrowPos:{x:w,y:T},popupSize:l,motion:o.popupMotion,uniqueContainerClassName:q(o.uniqueContainerClassName,O),uniqueContainerStyle:o.uniqueContainerStyle}))))};function jp(e=Zf){return C.forwardRef((t,n)=>{let{prefixCls:r=`rc-trigger-popup`,children:i,action:a=`hover`,showAction:o,hideAction:s,popupVisible:c,defaultPopupVisible:l,onOpenChange:u,afterOpenChange:d,onPopupVisibleChange:f,afterPopupVisibleChange:p,mouseEnterDelay:m,mouseLeaveDelay:h=.1,focusDelay:g,blurDelay:_,mask:v,maskClosable:y=!0,getPopupContainer:b,forceRender:x,autoDestroy:S,popup:w,popupClassName:T,uniqueContainerClassName:E,uniqueContainerStyle:D,popupStyle:O,popupPlacement:k,builtinPlacements:A={},popupAlign:j,zIndex:M,stretch:N,getPopupClassNameFromAlign:P,fresh:F,unique:I,alignPoint:L,onPopupClick:R,onPopupAlign:z,arrow:B,popupMotion:V,maskMotion:H,mobile:U,...W}=t,ee=S||!1,te=c===void 0,ne=!!U,re=C.useRef({}),ie=C.useContext(ap),ae=C.useMemo(()=>({registerSubPopup:(e,t)=>{re.current[e]=t,ie?.registerSubPopup(e,t)}}),[ie]),G=C.useContext(op),oe=Bf(),[K,se]=C.useState(null),ce=C.useRef(null),le=Rn(e=>{ce.current=e,kr(e)&&K!==e&&se(e),ie?.registerSubPopup(oe,e)}),[ue,de]=C.useState(null),fe=C.useRef(null),pe=Rn(e=>{let t=Ar(e);kr(t)&&ue!==t&&(de(t),fe.current=t)}),me={},he=Rn(e=>{let t=ue;return t?.contains(e)||ml(t)?.host===e||e===t||K?.contains(e)||ml(K)?.host===e||e===K||Object.values(re.current).some(t=>t?.contains(e)||e===t)}),ge=B?{...B===!0?{}:B}:null,[_e,ve]=Wn(l||!1,c),ye=_e||!1,be=C.useMemo(()=>{let e=typeof i==`function`?i({open:ye}):i;return C.Children.only(e)},[i,ye]),xe=be?.props||{},Se=Rn(()=>ye),Ce=Rn((e=0)=>({popup:w,target:ue,delay:e,prefixCls:r,popupClassName:T,uniqueContainerClassName:E,uniqueContainerStyle:D,popupStyle:O,popupPlacement:k,builtinPlacements:A,popupAlign:j,zIndex:M,mask:v,maskClosable:y,popupMotion:V,maskMotion:H,arrow:ge,getPopupContainer:b,getPopupClassNameFromAlign:P,id:oe,onEsc:Oe}));Vn(()=>{G&&I&&ue&&!te&&!ie&&(ye?G.show(Ce(m),Se):G.hide(h))},[ye,ue]);let we=C.useRef(ye);we.current=ye;let Te=Rn(e=>{(0,Yf.flushSync)(()=>{ye!==e&&(ve(e),u?.(e),f?.(e))})}),Ee=wp(),De=(e,t=0)=>{if(c!==void 0){Ee(()=>{Te(e)},t);return}if(G&&I&&te&&!ie){e?G.show(Ce(t),Se):G.hide(t);return}Ee(()=>{Te(e)},t)};function Oe({top:e}){e&&De(!1)}let[ke,Ae]=C.useState(!1);Vn(e=>{(!e||ye)&&Ae(!0)},[ye]);let[je,Me]=C.useState(null),[Ne,Pe]=C.useState(null),Fe=e=>{Pe([e.clientX,e.clientY])},[Ie,Le,Re,ze,Be,Ve,He,Ue,We,Ge,Ke]=Cp(ye,K,L&&Ne!==null?Ne:ue,k,A,j,z,ne),[qe,Je]=cp(a,o,s),Ye=qe.has(`click`),Xe=Je.has(`click`)||Je.has(`contextMenu`),Ze=Rn(()=>{ke||Ke()});Tp(ye,ue,K,Ze,()=>{we.current&&L&&Xe&&De(!1)}),Vn(()=>{Ze()},[Ne,k]),Vn(()=>{ye&&!A?.[k]&&Ze()},[JSON.stringify(j)]);let Qe=C.useMemo(()=>q(dp(A,r,Ge,L),P?.(Ge)),[Ge,P,A,r,L]);C.useImperativeHandle(n,()=>({nativeElement:fe.current,popupElement:ce.current,forceAlign:Ze}));let[$e,et]=C.useState(0),[tt,nt]=C.useState(0),rt=()=>{if(N&&ue){let e=ue.getBoundingClientRect();et(e.width),nt(e.height)}},it=()=>{rt(),Ze()},at=e=>{Ae(!1),Ke(),d?.(e),p?.(e)},ot=()=>new Promise(e=>{rt(),Me(()=>e)});Vn(()=>{je&&(Ke(),je(),Me(null))},[je]);function st(e,t,n,r,i){me[e]=(a,...o)=>{(!i||!i())&&(r?.(a),De(t,n)),xe[e]?.(a,...o)}}let ct=qe.has(`touch`),lt=Je.has(`touch`),ut=C.useRef(!1);(ct||lt)&&(me.onTouchStart=(...e)=>{ut.current=!0,we.current&<?De(!1):!we.current&&ct&&De(!0),xe.onTouchStart?.(...e)}),(Ye||Xe)&&(me.onClick=(e,...t)=>{we.current&&Xe?De(!1):!we.current&&Ye&&(Fe(e),De(!0)),xe.onClick?.(e,...t),ut.current=!1});let dt=Ep(ye,Xe||lt,ue,K,v,y,he,De),ft=qe.has(`hover`),pt=Je.has(`hover`),mt,ht,gt=()=>ut.current;if(ft){let e=e=>{Fe(e)};st(`onMouseEnter`,!0,m,e,gt),st(`onPointerEnter`,!0,m,e,gt),mt=e=>{(ye||ke)&&K?.contains(e.target)&&De(!0,m)},L&&(me.onMouseMove=e=>{xe.onMouseMove?.(e)})}pt&&(st(`onMouseLeave`,!1,h,void 0,gt),st(`onPointerLeave`,!1,h,void 0,gt),ht=()=>{De(!1,h)}),qe.has(`focus`)&&st(`onFocus`,!0,g),Je.has(`focus`)&&st(`onBlur`,!1,_),qe.has(`contextMenu`)&&(me.onContextMenu=(e,...t)=>{we.current&&Je.has(`contextMenu`)?De(!1):(Fe(e),De(!0)),e.preventDefault(),xe.onContextMenu?.(e,...t)});let _t=C.useRef(!1);_t.current||=x||ye||ke;let vt={...xe,...me},yt={};[`onContextMenu`,`onClick`,`onMouseDown`,`onTouchStart`,`onMouseEnter`,`onMouseLeave`,`onFocus`,`onBlur`].forEach(e=>{W[e]&&(yt[e]=(...t)=>{vt[e]?.(...t),W[e](...t)})});let bt={x:Ve,y:He};zr(ye,ue,it);let xt=tr(pe,ar(be)),St=C.cloneElement(be,{...vt,...yt,ref:xt});return C.createElement(C.Fragment,null,St,_t.current&&(!G||!I)&&C.createElement(ap.Provider,{value:ae},C.createElement(ip,{portal:e,ref:le,prefixCls:r,popup:w,className:q(T,!ne&&Qe),style:O,target:ue,onMouseEnter:mt,onMouseLeave:ht,onPointerEnter:mt,zIndex:M,open:ye,keepDom:ke,fresh:F,onClick:R,onPointerDownCapture:dt,mask:v,motion:V,maskMotion:H,onVisibleChanged:at,onPrepare:ot,forceRender:x,autoDestroy:ee,getPopupContainer:b,onEsc:Oe,align:Ge,arrow:ge,arrowPos:bt,ready:Ie,offsetX:Le,offsetY:Re,offsetR:ze,offsetB:Be,onAlign:Ze,stretch:N,targetWidth:$e/Ue,targetHeight:tt/We,mobile:U})))})}var Mp=jp(Zf);function Np(e){return e&&C.isValidElement(e)&&e.type===C.Fragment}var Pp=(e,t,n)=>C.isValidElement(e)?C.cloneElement(e,_d(n)?n(e.props||{}):n):t;function Fp(e,t){return Pp(e,e,t)}var Ip=({children:e})=>{let{getPrefixCls:t}=C.useContext(si),n=t();return C.isValidElement(e)?C.createElement(Lu,{visible:!0,motionName:`${n}-fade`,motionAppear:!0,motionEnter:!0,motionLeave:!1,removeOnLeave:!1},({style:t,className:n})=>Fp(e,e=>({className:q(e.className,n),style:{...e.style,...t}}))):e},Lp=[null,null];function Rp(e){if(Lp[0]!==e){let t={};Object.keys(e).forEach(n=>{t[n]={...e[n],dynamicInset:!1}}),Lp[0]=e,Lp[1]=t}return Lp[1]}var zp=({children:e})=>C.createElement(Ap,{postTriggerProps:e=>{let{id:t,builtinPlacements:n,popup:r}=e,i=typeof r==`function`?r():r,a=Rp(n);return{...e,getPopupContainer:null,arrow:!1,popup:C.createElement(Ip,{key:t},i),builtinPlacements:a}}},e),Bp=C.createContext(!1),Vp=({children:e,disabled:t})=>{let n=C.useContext(Bp);return C.createElement(Bp.Provider,{value:t??n},e)},Hp=C.createContext(void 0),Up=({children:e,size:t})=>{let n=C.useContext(Hp);return C.createElement(Hp.Provider,{value:t||n},e)};function eee(){return{componentDisabled:(0,C.useContext)(Bp),componentSize:(0,C.useContext)(Hp)}}function tee(e,t,n){Or(`ConfigProvider`);let r=e||{},i=r.inherit===!1||!t?{...Rc,hashed:t?.hashed??Rc.hashed,cssVar:t?.cssVar}:t,a=(0,C.useId)();return qn(()=>{if(!e)return t;let o={...i.components};Object.keys(e.components||{}).forEach(t=>{o[t]={...o[t],...e.components[t]}});let s=`css-var-${a.replace(/:/g,``)}`,c={prefix:n?.prefixCls,...i.cssVar,...r.cssVar,key:r.cssVar?.key||s};return{...i,...r,token:{...i.token,...r.token},components:o,cssVar:c}},[r,i],(e,t)=>e.some((e,n)=>{let r=t[n];return!Ei(e,r,!0)}))}var Wp=C.createContext(!0);function nee(e){let t=C.useContext(Wp),{children:n}=e,[,r]=qc(),{motion:i}=r,a=C.useRef(!1);return a.current||=t!==i,a.current?C.createElement(Wp.Provider,{value:i},C.createElement(ql,{motion:i},n)):n}var ree=()=>null,iee=({iconPrefixCls:e,csp:t})=>(ll(e,t),null),aee=[`getTargetContainer`,`getPopupContainer`,`renderEmpty`,`input`,`pagination`,`form`,`select`,`button`],Gp,Kp,qp,Jp;function Yp(){return Gp||`ant`}function oee(){return Kp||`anticon`}var see=e=>{let{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:i}=e;t!==void 0&&(Gp=t),n!==void 0&&(Kp=n),`holderRender`in e&&(Jp=i),r&&(qp=r)},Xp=()=>({getPrefixCls:(e,t)=>t||(e?`${Yp()}-${e}`:Yp()),getIconPrefixCls:oee,getRootPrefixCls:()=>Gp||Yp(),getTheme:()=>qp,holderRender:Jp}),cee=e=>{let{children:t,csp:n,autoInsertSpaceInButton:r,alert:i,affix:a,anchor:o,app:s,form:c,locale:l,componentSize:u,direction:d,space:f,splitter:p,virtual:m,dropdownMatchSelectWidth:h,popupMatchSelectWidth:g,popupOverflow:_,legacyLocale:v,parentContext:y,iconPrefixCls:b,theme:x,componentDisabled:S,segmented:w,statistic:T,spin:E,calendar:D,carousel:O,cascader:k,collapse:A,typography:j,checkbox:M,descriptions:N,divider:P,drawer:F,skeleton:I,steps:L,image:R,layout:z,list:B,mentions:V,modal:H,progress:U,result:W,slider:ee,breadcrumb:te,masonry:ne,menu:re,pagination:ie,input:ae,textArea:G,otp:oe,empty:K,badge:se,radio:ce,rate:le,ribbon:ue,switch:de,transfer:fe,avatar:pe,message:me,tag:he,table:ge,card:_e,cardMeta:ve,tabs:ye,timeline:be,timePicker:xe,upload:Se,notification:Ce,tree:we,colorPicker:Te,datePicker:Ee,rangePicker:De,flex:Oe,wave:ke,dropdown:Ae,warning:je,tour:Me,tooltip:Ne,popover:Pe,popconfirm:Fe,qrcode:Ie,floatButton:Le,floatButtonGroup:Re,variant:ze,inputNumber:Be,treeSelect:Ve,watermark:He}=e,Ue=C.useMemo(()=>gd(l)&&Object.prototype.hasOwnProperty.call(l,`default`)&&l.default?.locale?l.default:l,[l]),We=C.useCallback((t,n)=>{let{prefixCls:r}=e;if(n)return n;let i=r||y.getPrefixCls(``);return t?`${i}-${t}`:i},[y.getPrefixCls,e.prefixCls]),Ge=b||y.iconPrefixCls||`anticon`,Ke=n||y.csp,qe=tee(x,y.theme,{prefixCls:We(``)}),Je={csp:Ke,autoInsertSpaceInButton:r,alert:i,affix:a,anchor:o,app:s,locale:Ue||v,direction:d,space:f,splitter:p,virtual:m,popupMatchSelectWidth:g??h,popupOverflow:_,getPrefixCls:We,iconPrefixCls:Ge,theme:qe,segmented:w,statistic:T,spin:E,calendar:D,carousel:O,cascader:k,collapse:A,typography:j,checkbox:M,descriptions:N,divider:P,drawer:F,skeleton:I,steps:L,image:R,input:ae,textArea:G,otp:oe,layout:z,list:B,mentions:V,modal:H,progress:U,result:W,slider:ee,breadcrumb:te,masonry:ne,menu:re,pagination:ie,empty:K,badge:se,radio:ce,rate:le,ribbon:ue,switch:de,transfer:fe,avatar:pe,message:me,tag:he,table:ge,card:_e,cardMeta:ve,tabs:ye,timeline:be,timePicker:xe,upload:Se,notification:Ce,tree:we,colorPicker:Te,datePicker:Ee,rangePicker:De,flex:Oe,wave:ke,dropdown:Ae,warning:je,tour:Me,tooltip:Ne,popover:Pe,popconfirm:Fe,qrcode:Ie,floatButton:Le,floatButtonGroup:Re,variant:ze,inputNumber:Be,treeSelect:Ve,watermark:He},Ye={...y};Object.keys(Je).forEach(e=>{Je[e]!==void 0&&(Ye[e]=Je[e])}),aee.forEach(t=>{let n=e[t];n&&(Ye[t]=n)}),r!==void 0&&(Ye.button={autoInsertSpace:r,...Ye.button});let Xe=qn(()=>Ye,Ye,(e,t)=>{let n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some(n=>e[n]!==t[n])}),{layer:Ze}=C.useContext(Fi),Qe=C.useMemo(()=>({prefixCls:Ge,csp:Ke,layer:Ze?`antd`:void 0}),[Ge,Ke,Ze]),$e=C.createElement(C.Fragment,null,C.createElement(iee,{iconPrefixCls:Ge,csp:Ke}),C.createElement(ree,{dropdownMatchSelectWidth:h}),t),et=C.useMemo(()=>pr(nd.Form?.defaultValidateMessages||{},Xe.locale?.Form?.defaultValidateMessages||{},Xe.form?.validateMessages||{},c?.validateMessages||{}),[Xe,c?.validateMessages]);Object.keys(et).length>0&&($e=C.createElement(Sf.Provider,{value:et},$e)),Ue&&($e=C.createElement(dd,{locale:Ue,_ANT_MARK__:ud},$e)),(Ge||Ke)&&($e=C.createElement(dl.Provider,{value:Qe},$e)),u&&($e=C.createElement(Up,{size:u},$e)),$e=C.createElement(nee,null,$e),Ne?.unique&&($e=C.createElement(zp,null,$e));let tt=C.useMemo(()=>{let{algorithm:e,token:t,components:n,cssVar:r,...i}=qe||{},a=e&&(!Array.isArray(e)||e.length>0)?Vi(e):Lc,o={};Object.entries(n||{}).forEach(([e,t])=>{let n={...t};`algorithm`in n&&(n.algorithm===!0?n.theme=a:(Array.isArray(n.algorithm)||typeof n.algorithm==`function`)&&(n.theme=Vi(n.algorithm)),delete n.algorithm),o[e]=n});let s={...Ns,...t};return{...i,theme:a,token:s,components:o,override:{override:s,...o},cssVar:r}},[qe]);return x&&($e=C.createElement(zc.Provider,{value:tt},$e)),Xe.warning&&($e=C.createElement(Dr.Provider,{value:Xe.warning},$e)),S!==void 0&&($e=C.createElement(Vp,{disabled:S},$e)),C.createElement(si.Provider,{value:Xe},$e)},Zp=e=>{let t=C.useContext(si),n=C.useContext(cd);return C.createElement(cee,{parentContext:t,legacyLocale:n,...e})};Zp.ConfigContext=si,Zp.SizeContext=Hp,Zp.config=see,Zp.useConfig=eee,Object.defineProperty(Zp,`SizeContext`,{get:()=>Hp});var Qp={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){let{keyCode:t}=e;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=Qp.F1&&t<=Qp.F12)return!1;switch(t){case Qp.ALT:case Qp.CAPS_LOCK:case Qp.CONTEXT_MENU:case Qp.CTRL:case Qp.DOWN:case Qp.END:case Qp.ESC:case Qp.HOME:case Qp.INSERT:case Qp.LEFT:case Qp.MAC_FF_META:case Qp.META:case Qp.NUMLOCK:case Qp.NUM_CENTER:case Qp.PAGE_DOWN:case Qp.PAGE_UP:case Qp.PAUSE:case Qp.PRINT_SCREEN:case Qp.RIGHT:case Qp.SHIFT:case Qp.UP:case Qp.WIN_KEY:case Qp.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=Qp.ZERO&&e<=Qp.NINE||e>=Qp.NUM_ZERO&&e<=Qp.NUM_MULTIPLY||e>=Qp.A&&e<=Qp.Z||window.navigator.userAgent.indexOf(`WebKit`)!==-1&&e===0)return!0;switch(e){case Qp.SPACE:case Qp.QUESTION_MARK:case Qp.NUM_PLUS:case Qp.NUM_MINUS:case Qp.NUM_PERIOD:case Qp.NUM_DIVISION:case Qp.SEMICOLON:case Qp.DASH:case Qp.EQUALS:case Qp.COMMA:case Qp.PERIOD:case Qp.SLASH:case Qp.APOSTROPHE:case Qp.SINGLE_QUOTE:case Qp.OPEN_SQUARE_BRACKET:case Qp.BACKSLASH:case Qp.CLOSE_SQUARE_BRACKET:return!0;default:return!1}},isEditableTarget:function(e){let t=e.target;if(!(t instanceof HTMLElement))return!1;let n=t.tagName;return!!(n===`INPUT`||n===`TEXTAREA`||n===`SELECT`||t.isContentEditable)}};function $p(){return $p=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,style:r,className:i,duration:a=4.5,showProgress:o,pauseOnHover:s=!0,eventKey:c,content:l,closable:u,props:d,onClick:f,onNoticeClose:p,times:m,hovering:h}=e,[g,_]=C.useState(!1),[v,y]=C.useState(0),[b,x]=C.useState(0),S=h||g,w=typeof a==`number`?a:0,T=w>0&&o,E=()=>{p(c)},D=e=>{(e.key===`Enter`||e.code===`Enter`||e.keyCode===Qp.ENTER)&&E()};C.useEffect(()=>{if(!S&&w>0){let e=Date.now()-b,t=setTimeout(()=>{E()},w*1e3-b);return()=>{s&&clearTimeout(t),x(Date.now()-e)}}},[w,S,m]),C.useEffect(()=>{if(!S&&T&&(s||b===0)){let e=performance.now(),t,n=()=>{cancelAnimationFrame(t),t=requestAnimationFrame(t=>{let r=t+b-e,i=Math.min(r/(w*1e3),1);y(i*100),i<1&&n()})};return n(),()=>{s&&cancelAnimationFrame(t)}}},[w,b,S,T,m]);let O=C.useMemo(()=>typeof u==`object`&&u?u:{},[u]),k=Hu(O,!0),A=100-(!v||v<0?0:v>100?100:v),j=`${n}-notice`;return C.createElement(`div`,$p({},d,{ref:t,className:q(j,i,{[`${j}-closable`]:u}),style:r,onMouseEnter:e=>{_(!0),d?.onMouseEnter?.(e)},onMouseLeave:e=>{_(!1),d?.onMouseLeave?.(e)},onClick:f}),C.createElement(`div`,{className:`${j}-content`},l),u&&C.createElement(`button`,$p({className:`${j}-close`,onKeyDown:D,"aria-label":`Close`},k,{onClick:e=>{e.preventDefault(),e.stopPropagation(),E()}}),O.closeIcon??`x`),T&&C.createElement(`progress`,{className:`${j}-progress`,max:`100`,value:A},A+`%`))}),tm=C.createContext({}),nm=({children:e,classNames:t})=>C.createElement(tm.Provider,{value:{classNames:t}},e),rm=8,im=3,am=16,om=e=>{let t={offset:rm,threshold:im,gap:am};return e&&typeof e==`object`&&(t.offset=e.offset??rm,t.threshold=e.threshold??im,t.gap=e.gap??am),[!!e,t]};function sm(){return sm=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{configList:t,placement:n,prefixCls:r,className:i,style:a,motion:o,onAllNoticeRemoved:s,onNoticeClose:c,stack:l}=e,{classNames:u}=(0,C.useContext)(tm),d=(0,C.useRef)({}),[f,p]=(0,C.useState)(null),[m,h]=(0,C.useState)([]),g=t.map(e=>({config:e,key:String(e.key)})),[_,{offset:v,threshold:y,gap:b}]=om(l),x=_&&(m.length>0||g.length<=y),S=typeof o==`function`?o(n):o;return(0,C.useEffect)(()=>{_&&m.length>1&&h(e=>e.filter(e=>g.some(({key:t})=>e===t)))},[m,g,_]),(0,C.useEffect)(()=>{_&&d.current[g[g.length-1]?.key]&&p(d.current[g[g.length-1]?.key])},[g,_]),C.createElement(Iu,sm({key:n,className:q(r,`${r}-${n}`,u?.list,i,{[`${r}-stack`]:!!_,[`${r}-stack-expanded`]:x}),style:a,keys:g,motionAppear:!0},S,{onAllRemoved:()=>{s(n)}}),({config:e,className:t,style:i,index:a},o)=>{let{key:s,times:l}=e,p=String(s),{className:y,style:S,classNames:w,styles:T,...E}=e,D=g.findIndex(e=>e.key===p),O={};if(_){let e=g.length-1-(D>-1?D:a-1),t=n===`top`||n===`bottom`?`-50%`:`0`;if(e>0){O.height=x?d.current[p]?.offsetHeight:f?.offsetHeight;let r=0;for(let t=0;th(e=>e.includes(p)?e:[...e,p]),onMouseLeave:()=>h(e=>e.filter(e=>e!==p))},C.createElement(em,sm({},E,{ref:e=>{D>-1?d.current[p]=e:delete d.current[p]},prefixCls:r,classNames:w,styles:T,className:q(y,u?.notice),style:S,times:l,key:s,eventKey:s,onNoticeClose:c,hovering:_&&m.length>0})))})},uee=C.forwardRef((e,t)=>{let{prefixCls:n=`rc-notification`,container:r,motion:i,maxCount:a,className:o,style:s,onAllRemoved:c,stack:l,renderNotifications:u}=e,[d,f]=C.useState([]),p=e=>{let t=d.find(t=>t.key===e),n=t?.closable,{onClose:r}=n&&typeof n==`object`?n:{};r?.(),t?.onClose?.(),f(t=>t.filter(t=>t.key!==e))};C.useImperativeHandle(t,()=>({open:e=>{f(t=>{let n=[...t],r=n.findIndex(t=>t.key===e.key),i={...e};return r>=0?(i.times=(t[r]?.times||0)+1,n[r]=i):(i.times=0,n.push(i)),a>0&&n.length>a&&(n=n.slice(-a)),n})},close:e=>{p(e)},destroy:()=>{f([])}}));let[m,h]=C.useState({});C.useEffect(()=>{let e={};d.forEach(t=>{let{placement:n=`topRight`}=t;n&&(e[n]=e[n]||[],e[n].push(t))}),Object.keys(m).forEach(t=>{e[t]=e[t]||[]}),h(e)},[d]);let g=e=>{h(t=>{let n={...t};return(n[e]||[]).length||delete n[e],n})},_=C.useRef(!1);if(C.useEffect(()=>{Object.keys(m).length>0?_.current=!0:_.current&&=(c?.(),!1)},[m]),!r)return null;let v=Object.keys(m);return(0,Yf.createPortal)(C.createElement(C.Fragment,null,v.map(e=>{let t=m[e],r=C.createElement(lee,{key:e,configList:t,placement:e,prefixCls:n,className:o?.(e),style:s?.(e),motion:i,onNoticeClose:p,onAllNoticeRemoved:g,stack:l});return u?u(r,{prefixCls:n,key:e}):r})),r)}),dee=()=>document.body,cm=0;function fee(...e){let t={};return e.forEach(e=>{e&&Object.keys(e).forEach(n=>{let r=e[n];r!==void 0&&(t[n]=r)})}),t}function lm(e={}){let{getContainer:t=dee,motion:n,prefixCls:r,maxCount:i,className:a,style:o,onAllRemoved:s,stack:c,renderNotifications:l,...u}=e,[d,f]=C.useState(),p=C.useRef(),m=C.createElement(uee,{container:d,ref:p,prefixCls:r,motion:n,maxCount:i,className:a,style:o,onAllRemoved:s,stack:c,renderNotifications:l}),[h,g]=C.useState([]),_=Rn(e=>{let t=fee(u,e);(t.key===null||t.key===void 0)&&(t.key=`rc-notification-${cm}`,cm+=1),g(e=>[...e,{type:`open`,config:t}])}),v=C.useMemo(()=>({open:_,close:e=>{g(t=>[...t,{type:`close`,key:e}])},destroy:()=>{g(e=>[...e,{type:`destroy`}])}}),[]);return C.useEffect(()=>{f(t())}),C.useEffect(()=>{if(p.current&&h.length){h.forEach(e=>{switch(e.type){case`open`:p.current.open(e.config);break;case`close`:p.current.close(e.key);break;case`destroy`:p.current.destroy();break}});let e,t;g(n=>((e!==n||!t)&&(e=n,t=n.filter(e=>!h.includes(e))),t))}},[h]),[v,m]}var pee={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z`}}]},name:`loading`,theme:`outlined`};function um(){return um=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,um({},e,{ref:t,icon:pee}))),mee=e=>{let{componentCls:t,iconCls:n,boxShadow:r,colorText:i,colorSuccess:a,colorError:o,colorWarning:s,colorInfo:c,fontSizeLG:l,motionEaseInOutCirc:u,motionDurationSlow:d,marginXS:f,paddingXS:p,borderRadiusLG:m,zIndexPopup:h,contentPadding:g,contentBg:_}=e,v=`${t}-notice`,y=new Ro(`MessageMoveIn`,{"0%":{padding:0,transform:`translateY(-100%)`,opacity:0},"100%":{padding:p,transform:`translateY(0)`,opacity:1}}),b=new Ro(`MessageMoveOut`,{"0%":{maxHeight:e.height,padding:p,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),x={padding:p,textAlign:`center`,[`${t}-custom-content`]:{display:`flex`,alignItems:`center`},[`${t}-custom-content > ${n}`]:{marginInlineEnd:f,fontSize:l},[`${v}-content`]:{display:`inline-block`,padding:g,background:_,borderRadius:m,boxShadow:r,pointerEvents:`all`},[`${t}-success > ${n}`]:{color:a},[`${t}-error > ${n}`]:{color:o},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n}, +}`,n)}else Ci(n);return()=>{Ci(n)}},[t,n])}function If(){return{...C}.useId}var Lf=0;function Rf(e,t){return`${e}-${String(t).replace(/[^a-zA-Z0-9_.:-]/g,`-`)}`}var zf=If(),Bf=zf?function(e){let t=zf();return e||t}:function(e){let[t,n]=C.useState(`ssr-id`);return C.useEffect(()=>{let e=Lf;Lf+=1,n(`rc_unique_${e}`)},[]),e||t},Vf=[],Hf=200,Uf=0,Wf=e=>{if(e.key===`Escape`&&!e.isComposing){if(Date.now()-Uf=0;--n)Vf[n].onEsc({top:n===t-1,event:e})}},Gf=()=>{Uf=Date.now()};function Kf(){window.addEventListener(`keydown`,Wf),window.addEventListener(`compositionend`,Gf)}function qf(){Vf.length===0&&(window.removeEventListener(`keydown`,Wf),window.removeEventListener(`compositionend`,Gf))}function Jf(e,t){let n=Bf(),r=Rn(t),i=()=>{Vf.find(e=>e.id===n)||Vf.push({id:n,onEsc:r})},a=()=>{Vf=Vf.filter(e=>e.id!==n)};(0,C.useMemo)(()=>{e?i():e||a()},[e]),(0,C.useEffect)(()=>{if(e)return i(),Kf(),()=>{a(),qf()}},[e])}var Yf=l(g()),Xf=e=>e===!1?!1:!zn()||!e?null:typeof e==`string`?document.querySelector(e):typeof e==`function`?e():e,Zf=C.forwardRef((e,t)=>{let{open:n,autoLock:r,getContainer:i,debug:a,autoDestroy:o=!0,children:s,onEsc:c}=e,[l,u]=C.useState(n),d=l||n;C.useEffect(()=>{(o||n)&&u(n)},[n,o]);let[f,p]=C.useState(()=>Xf(i));C.useEffect(()=>{let e=Xf(i);p(()=>e??null)});let[m,h]=Df(d&&!f,a),g=f??m;Ff(r&&n&&zn()&&(g===m||g===document.body)),Jf(n,c);let _=null;s&&nr(s)&&t&&(_=ar(s));let v=tr(_,t);if(!d||!zn()||f===void 0)return null;let y=g===!1||Tf(),b=s;return t&&(b=C.cloneElement(s,{ref:v})),C.createElement(Cf.Provider,{value:h},y?b:(0,Yf.createPortal)(b,g))});function Qf(e){let{prefixCls:t,align:n,arrow:r,arrowPos:i}=e,{className:a,content:o,style:s}=r||{},{x:c=0,y:l=0}=i,u=C.useRef(null);if(!n||!n.points)return null;let d={position:`absolute`};if(n.autoArrow!==!1){let e=n.points[0],t=n.points[1],r=e[0],i=e[1],a=t[0],o=t[1];r===a||![`t`,`b`].includes(r)?d.top=l:r===`t`?d.top=0:d.bottom=0,i===o||![`l`,`r`].includes(i)?d.left=c:i===`l`?d.left=0:d.right=0}return C.createElement(`div`,{ref:u,className:q(`${t}-arrow`,a),style:{...d,...s}},o)}function $f(){return $f=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(`div`,{style:{zIndex:r},className:q(`${t}-mask`,o&&`${t}-mobile-mask`,e)})):null}var tp=C.memo(({children:e})=>e,(e,t)=>t.cache);function np(e,t,n,r,i,a,o,s){let c=`auto`,l=e?{}:{left:`-1000vw`,top:`-1000vh`,right:c,bottom:c};if(!e&&(t||!n)){let{points:e}=r,t=r.dynamicInset||r._experimental?.dynamicInset,n=t&&e[0][1]===`r`,u=t&&e[0][0]===`b`;n?(l.right=i,l.left=c):(l.left=o,l.right=c),u?(l.bottom=a,l.top=c):(l.top=s,l.bottom=c)}return l}function rp(){return rp=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{onEsc:n,popup:r,className:i,prefixCls:a,style:o,target:s,onVisibleChanged:c,open:l,keepDom:u,fresh:d,onClick:f,mask:p,arrow:m,arrowPos:h,align:g,motion:_,maskMotion:v,mobile:y,forceRender:b,getPopupContainer:x,autoDestroy:S,portal:w,children:T,zIndex:E,onMouseEnter:D,onMouseLeave:O,onPointerEnter:k,onPointerDownCapture:A,ready:j,offsetX:M,offsetY:N,offsetR:P,offsetB:F,onAlign:I,onPrepare:L,onResize:R,stretch:z,targetWidth:B,targetHeight:V}=e,H=typeof r==`function`?r():r,U=l||u,W=!!y,[ee,te,ne]=C.useMemo(()=>y?[y.mask,y.maskMotion,y.motion]:[p,v,_],[y,p,v,_]),re=x?.length>0,[ie,ae]=C.useState(!x||!re);Vn(()=>{!ie&&re&&s&&ae(!0)},[ie,re,s]);let G=Rn((e,t)=>{R?.(e,t),I()}),oe=np(W,j,l,g,P,F,M,N);if(!ie)return null;let K={};return z&&(z.includes(`height`)&&V?K.height=V:z.includes(`minHeight`)&&V&&(K.minHeight=V),z.includes(`width`)&&B?K.width=B:z.includes(`minWidth`)&&B&&(K.minWidth=B)),l||(K.pointerEvents=`none`),C.createElement(w,{open:b||U,getContainer:x&&(()=>x(s)),autoDestroy:S,onEsc:n},C.createElement(ep,{prefixCls:a,open:l,zIndex:E,mask:ee,motion:te,mobile:W}),C.createElement(Gr,{onResize:G,disabled:!l},e=>C.createElement(Lu,rp({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:b,leavedClassName:`${a}-hidden`},ne,{onAppearPrepare:L,onEnterPrepare:L,visible:l,onVisibleChanged:e=>{_?.onVisibleChanged?.(e),c(e)}}),({className:n,style:r},s)=>{let c=q(a,n,i,{[`${a}-mobile`]:W});return C.createElement(`div`,{ref:er(e,t,s),className:c,style:{"--arrow-x":`${h.x||0}px`,"--arrow-y":`${h.y||0}px`,...oe,...K,...r,boxSizing:`border-box`,zIndex:E,...o},onMouseEnter:D,onMouseLeave:O,onPointerEnter:k,onClick:f,onPointerDownCapture:A},m&&C.createElement(Qf,{prefixCls:a,arrow:m,arrowPos:h,align:g}),C.createElement(tp,{cache:!l&&!d},H))})),T)}),ap=C.createContext(null),op=C.createContext(null);function sp(e){return e?Array.isArray(e)?e:[e]:[]}function cp(e,t,n){return C.useMemo(()=>{let r=sp(t??e),i=sp(n??e),a=new Set(r),o=new Set(i);return a.has(`hover`)&&!a.has(`click`)&&a.add(`touch`),o.has(`hover`)&&!o.has(`click`)&&o.add(`touch`),[a,o]},[e,t,n])}var lp=(e=>{if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){let{width:t,height:n}=e.getBBox();if(t||n)return!0}if(e.getBoundingClientRect){let{width:t,height:n}=e.getBoundingClientRect();if(t||n)return!0}}return!1});function up(e=[],t=[],n){let r=(e,t)=>e[t]||``;return n?r(e,0)===r(t,0):r(e,0)===r(t,0)&&r(e,1)===r(t,1)}function dp(e,t,n,r){let{points:i}=n,a=Object.keys(e);for(let n=0;nr.includes(e))&&t.push(n),n=n.parentElement}return t}function mp(e,t=1){return Number.isNaN(e)?t:e}function hp(e){return mp(parseFloat(e),0)}function gp(e,t){let n={...e};return(t||[]).forEach(e=>{if(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)return;let{overflow:t,overflowClipMargin:r,borderTopWidth:i,borderBottomWidth:a,borderLeftWidth:o,borderRightWidth:s}=fp(e).getComputedStyle(e),c=e.getBoundingClientRect(),{offsetHeight:l,clientHeight:u,offsetWidth:d,clientWidth:f}=e,p=hp(i),m=hp(a),h=hp(o),g=hp(s),_=mp(Math.round(c.width/d*1e3)/1e3),v=mp(Math.round(c.height/l*1e3)/1e3),y=(d-f-h-g)*_,b=(l-u-p-m)*v,x=p*v,S=m*v,C=h*_,w=g*_,T=0,E=0;if(t===`clip`){let e=hp(r);T=e*_,E=e*v}let D=c.x+C-T,O=c.y+x-E,k=D+c.width+2*T-C-w-y,A=O+c.height+2*E-x-S-b;n.left=Math.max(n.left,D),n.top=Math.max(n.top,O),n.right=Math.min(n.right,k),n.bottom=Math.min(n.bottom,A)}),n}function _p(e,t=0){let n=`${t}`,r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function vp(e,t){let[n,r]=t||[];return[_p(e.width,n),_p(e.height,r)]}function yp(e=``){return[e[0],e[1]]}function bp(e,t){let n=t[0],r=t[1],i,a;return a=n===`t`?e.y:n===`b`?e.y+e.height:e.y+e.height/2,i=r===`l`?e.x:r===`r`?e.x+e.width:e.x+e.width/2,{x:i,y:a}}function xp(e,t){let n={t:`b`,b:`t`,l:`r`,r:`l`},r=[...e];return r[t]=n[e[t]]||`c`,r}function Sp(e){return e.join(``)}function Cp(e,t,n,r,i,a,o,s){let[c,l]=C.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:i[r]||{}}),u=C.useRef(0),d=C.useMemo(()=>!t||s?[]:pp(t),[t]),f=C.useRef({});e||(f.current={});let p=Rn(()=>{if(t&&n&&e&&!s){let e=t,s=e.ownerDocument,c=fp(e),{position:u}=c.getComputedStyle(e),p=e.style.left,m=e.style.top,h=e.style.right,g=e.style.bottom,_=e.style.overflow,v={...i[r],...a},y=s.createElement(`div`);e.parentElement?.appendChild(y),y.style.left=`${e.offsetLeft}px`,y.style.top=`${e.offsetTop}px`,y.style.position=u,y.style.height=`${e.offsetHeight}px`,y.style.width=`${e.offsetWidth}px`,e.style.left=`0`,e.style.top=`0`,e.style.right=`auto`,e.style.bottom=`auto`,e.style.overflow=`hidden`;let b;if(Array.isArray(n))b={x:n[0],y:n[1],width:0,height:0};else{let e=n.getBoundingClientRect();e.x=e.x??e.left,e.y=e.y??e.top,b={x:e.x,y:e.y,width:e.width,height:e.height}}let x=e.getBoundingClientRect(),{height:S,width:C}=c.getComputedStyle(e);x.x=x.x??x.left,x.y=x.y??x.top;let{clientWidth:w,clientHeight:T,scrollWidth:E,scrollHeight:D,scrollTop:O,scrollLeft:k}=s.documentElement,A=x.height,j=x.width,M=b.height,N=b.width,P={left:0,top:0,right:w,bottom:T},F={left:-k,top:-O,right:E-k,bottom:D-O},{htmlRegion:I}=v,L=`visible`,R=`visibleFirst`;I!==`scroll`&&I!==R&&(I=L);let z=I===R,B=gp(F,d),V=gp(P,d),H=I===L?V:B,U=z?V:H;e.style.left=`auto`,e.style.top=`auto`,e.style.right=`0`,e.style.bottom=`0`;let W=e.getBoundingClientRect();e.style.left=p,e.style.top=m,e.style.right=h,e.style.bottom=g,e.style.overflow=_,e.parentElement?.removeChild(y);let ee=mp(Math.round(j/parseFloat(C)*1e3)/1e3),te=mp(Math.round(A/parseFloat(S)*1e3)/1e3);if(ee===0||te===0||kr(n)&&!lp(n))return;let{offset:ne,targetOffset:re}=v,[ie,ae]=vp(x,ne),[G,oe]=vp(b,re);b.x-=G,b.y-=oe;let[K,se]=v.points||[],ce=yp(se),le=yp(K),ue=bp(b,ce),de=bp(x,le),fe={...v},pe=[le,ce],me=ue.x-de.x+ie,he=ue.y-de.y+ae;function ge(e,t,n=H){let r=x.x+e,i=x.y+t,a=r+j,o=i+A,s=Math.max(r,n.left),c=Math.max(i,n.top),l=Math.min(a,n.right),u=Math.min(o,n.bottom);return Math.max(0,(l-s)*(u-c))}let _e=ge(me,he),ve=ge(me,he,V),ye=bp(b,[`t`,`l`]),be=bp(x,[`t`,`l`]),xe=bp(b,[`b`,`r`]),Se=bp(x,[`b`,`r`]),{adjustX:Ce,adjustY:we,shiftX:Te,shiftY:Ee}=v.overflow||{},De=e=>typeof e==`boolean`?e:e>=0,Oe,ke,Ae,je;function Me(){Oe=x.y+he,ke=Oe+A,Ae=x.x+me,je=Ae+j}Me();let Ne=De(we),Pe=le[0]===ce[0];if(Ne&&le[0]===`t`&&(ke>U.bottom||f.current.bt)){let e=he;Pe?e-=A-M:e=ye.y-Se.y-ae;let t=ge(me,e),n=ge(me,e,V);t>_e||t===_e&&(!z||n>=ve)?(f.current.bt=!0,he=e,ae=-ae,pe=[xp(pe[0],0),xp(pe[1],0)]):f.current.bt=!1}if(Ne&&le[0]===`b`&&(Oe_e||t===_e&&(!z||n>=ve)?(f.current.tb=!0,he=e,ae=-ae,pe=[xp(pe[0],0),xp(pe[1],0)]):f.current.tb=!1}let Fe=De(Ce),Ie=le[1]===ce[1];if(Fe&&le[1]===`l`&&(je>U.right||f.current.rl)){let e=me;Ie?e-=j-N:e=ye.x-Se.x-ie;let t=ge(e,he),n=ge(e,he,V);t>_e||t===_e&&(!z||n>=ve)?(f.current.rl=!0,me=e,ie=-ie,pe=[xp(pe[0],1),xp(pe[1],1)]):f.current.rl=!1}if(Fe&&le[1]===`r`&&(Ae_e||t===_e&&(!z||n>=ve)?(f.current.lr=!0,me=e,ie=-ie,pe=[xp(pe[0],1),xp(pe[1],1)]):f.current.lr=!1}fe.points=[Sp(pe[0]),Sp(pe[1])],Me();let Le=Te===!0?0:Te;typeof Le==`number`&&(AeV.right&&(me-=je-V.right-ie,b.x>V.right-Le&&(me+=b.x-V.right+Le)));let Re=Ee===!0?0:Ee;typeof Re==`number`&&(OeV.bottom&&(he-=ke-V.bottom-ae,b.y>V.bottom-Re&&(he+=b.y-V.bottom+Re)));let ze=x.x+me,Be=ze+j,Ve=x.y+he,He=Ve+A,Ue=b.x,We=Ue+N,Ge=b.y,Ke=Ge+M,qe=(Math.max(ze,Ue)+Math.min(Be,We))/2-ze,Je=(Math.max(Ve,Ge)+Math.min(He,Ke))/2-Ve;o?.(t,fe);let Ye=W.right-x.x-(me+x.width),Xe=W.bottom-x.y-(he+x.height);ee===1&&(me=Math.floor(me),Ye=Math.floor(Ye)),te===1&&(he=Math.floor(he),Xe=Math.floor(Xe)),l({ready:!0,offsetX:me/ee,offsetY:he/te,offsetR:Ye/ee,offsetB:Xe/te,arrowX:qe/ee,arrowY:Je/te,scaleX:ee,scaleY:te,align:fe})}}),m=()=>{u.current+=1;let e=u.current;Promise.resolve().then(()=>{u.current===e&&p()})},h=()=>{l(e=>({...e,ready:!1}))};return Vn(h,[r]),Vn(()=>{e||h()},[e]),[c.ready,c.offsetX,c.offsetY,c.offsetR,c.offsetB,c.arrowX,c.arrowY,c.scaleX,c.scaleY,c.align,m]}function wp(){let e=C.useRef(null),t=()=>{e.current&&=(clearTimeout(e.current),null)};return C.useEffect(()=>()=>{t()},[]),(n,r)=>{t(),r===0?n():e.current=setTimeout(()=>{n()},r*1e3)}}function Tp(e,t,n,r,i){Vn(()=>{if(e&&t&&n){let e=t,a=n,o=pp(e),s=pp(a),c=fp(a),l=new Set([c,...o,...s]);function u(){r(),i()}return l.forEach(e=>{e.addEventListener(`scroll`,u,{passive:!0})}),c.addEventListener(`resize`,u,{passive:!0}),r(),()=>{l.forEach(e=>{e.removeEventListener(`scroll`,u),c.removeEventListener(`resize`,u)})}}},[e,t,n])}function Ep(e,t,n,r,i,a,o,s){let c=C.useRef(e);c.current=e;let l=C.useRef(!1);C.useEffect(()=>{if(t&&r&&(!i||a)){let e=()=>{l.current=!1},t=e=>{c.current&&!o(e.composedPath?.()?.[0]||e.target)&&!l.current&&s(!1)},i=fp(r);i.addEventListener(`pointerdown`,e,!0),i.addEventListener(`mousedown`,t,!0),i.addEventListener(`contextmenu`,t,!0);let a=ml(n);return a&&(a.addEventListener(`mousedown`,t,!0),a.addEventListener(`contextmenu`,t,!0)),()=>{i.removeEventListener(`pointerdown`,e,!0),i.removeEventListener(`mousedown`,t,!0),i.removeEventListener(`contextmenu`,t,!0),a&&(a.removeEventListener(`mousedown`,t,!0),a.removeEventListener(`contextmenu`,t,!0))}}},[t,n,r,i,a]);function u(){l.current=!0}return u}function Dp(){let[e,t]=C.useState(null),[n,r]=C.useState(!1),[i,a]=C.useState(!1),o=C.useRef(null);return[Rn(e=>{e===!1?(o.current=null,r(!1)):i&&n?o.current=e:(r(!0),t(e),o.current=null,n||a(!0))}),n,e,Rn(e=>{e?(a(!1),o.current&&=(t(o.current),null)):(a(!1),o.current=null)})]}function Op(){return Op=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t,isMobile:n,ready:r,open:i,align:a,offsetR:o,offsetB:s,offsetX:c,offsetY:l,arrowPos:u,popupSize:d,motion:f,uniqueContainerClassName:p,uniqueContainerStyle:m}=e,h=`${t}-unique-container`,[g,_]=C.useState(!1),v=np(n,r,i,a,o,s,c,l),y=C.useRef(v);r&&(y.current=v);let b={};return d&&(b.width=d.width,b.height=d.height),C.createElement(Lu,Op({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,leavedClassName:`${h}-hidden`},f,{visible:i,onVisibleChanged:e=>{_(e)}}),({className:e,style:t})=>{let n=q(h,e,p,{[`${h}-visible`]:g});return C.createElement(`div`,{className:n,style:{"--arrow-x":`${u?.x||0}px`,"--arrow-y":`${u?.y||0}px`,...y.current,...b,...t,...m}})})},Ap=({children:e,postTriggerProps:t})=>{let[n,r,i,a]=Dp(),o=C.useMemo(()=>!i||!t?i:t(i),[i,t]),[s,c]=C.useState(null),[l,u]=C.useState(null),d=C.useRef(null),f=Rn(e=>{d.current=e,kr(e)&&s!==e&&c(e)}),p=C.useRef(null),m=wp(),h=Rn((e,t)=>{p.current=t,m(()=>{n(e)},e.delay)}),g=e=>{m(()=>{p.current?.()||n(!1)},e)},_=Rn(e=>{a(e)}),[v,y,b,x,S,w,T,,,E,D]=Cp(r,s,o?.target,o?.popupPlacement,o?.builtinPlacements||{},o?.popupAlign,void 0,!1),O=C.useMemo(()=>o?q(dp(o.builtinPlacements||{},o.prefixCls||``,E,!1),o.getPopupClassNameFromAlign?.(E)):``,[E,o?.getPopupClassNameFromAlign,o?.builtinPlacements,o?.prefixCls]),k=C.useMemo(()=>({show:h,hide:g}),[]);C.useEffect(()=>{D()},[o?.target]);let A=Rn(()=>(D(),Promise.resolve())),j=C.useRef({}),M=C.useContext(ap),N=C.useMemo(()=>({registerSubPopup:(e,t)=>{j.current[e]=t,M?.registerSubPopup(e,t)}}),[M]),P=o?.prefixCls;return C.createElement(op.Provider,{value:k},e,o&&C.createElement(ap.Provider,{value:N},C.createElement(ip,{ref:f,portal:Zf,onEsc:o.onEsc,prefixCls:P,popup:o.popup,className:q(o.popupClassName,O,`${P}-unique-controlled`),style:o.popupStyle,target:o.target,open:r,keepDom:!0,fresh:!0,autoDestroy:!1,onVisibleChanged:_,ready:v,offsetX:y,offsetY:b,offsetR:x,offsetB:S,onAlign:D,onPrepare:A,onResize:e=>u({width:e.offsetWidth,height:e.offsetHeight}),arrowPos:{x:w,y:T},align:E,zIndex:o.zIndex,mask:o.mask,arrow:o.arrow,motion:o.popupMotion,maskMotion:o.maskMotion,getPopupContainer:o.getPopupContainer},C.createElement(kp,{prefixCls:P,isMobile:!1,ready:v,open:r,align:E,offsetR:x,offsetB:S,offsetX:y,offsetY:b,arrowPos:{x:w,y:T},popupSize:l,motion:o.popupMotion,uniqueContainerClassName:q(o.uniqueContainerClassName,O),uniqueContainerStyle:o.uniqueContainerStyle}))))};function jp(e=Zf){return C.forwardRef((t,n)=>{let{prefixCls:r=`rc-trigger-popup`,children:i,action:a=`hover`,showAction:o,hideAction:s,popupVisible:c,defaultPopupVisible:l,onOpenChange:u,afterOpenChange:d,onPopupVisibleChange:f,afterPopupVisibleChange:p,mouseEnterDelay:m,mouseLeaveDelay:h=.1,focusDelay:g,blurDelay:_,mask:v,maskClosable:y=!0,getPopupContainer:b,forceRender:x,autoDestroy:S,popup:w,popupClassName:T,uniqueContainerClassName:E,uniqueContainerStyle:D,popupStyle:O,popupPlacement:k,builtinPlacements:A={},popupAlign:j,zIndex:M,stretch:N,getPopupClassNameFromAlign:P,fresh:F,unique:I,alignPoint:L,onPopupClick:R,onPopupAlign:z,arrow:B,popupMotion:V,maskMotion:H,mobile:U,...W}=t,ee=S||!1,te=c===void 0,ne=!!U,re=C.useRef({}),ie=C.useContext(ap),ae=C.useMemo(()=>({registerSubPopup:(e,t)=>{re.current[e]=t,ie?.registerSubPopup(e,t)}}),[ie]),G=C.useContext(op),oe=Bf(),[K,se]=C.useState(null),ce=C.useRef(null),le=Rn(e=>{ce.current=e,kr(e)&&K!==e&&se(e),ie?.registerSubPopup(oe,e)}),[ue,de]=C.useState(null),fe=C.useRef(null),pe=Rn(e=>{let t=Ar(e);kr(t)&&ue!==t&&(de(t),fe.current=t)}),me={},he=Rn(e=>{let t=ue;return t?.contains(e)||ml(t)?.host===e||e===t||K?.contains(e)||ml(K)?.host===e||e===K||Object.values(re.current).some(t=>t?.contains(e)||e===t)}),ge=B?{...B===!0?{}:B}:null,[_e,ve]=Wn(l||!1,c),ye=_e||!1,be=C.useMemo(()=>{let e=typeof i==`function`?i({open:ye}):i;return C.Children.only(e)},[i,ye]),xe=be?.props||{},Se=Rn(()=>ye),Ce=Rn((e=0)=>({popup:w,target:ue,delay:e,prefixCls:r,popupClassName:T,uniqueContainerClassName:E,uniqueContainerStyle:D,popupStyle:O,popupPlacement:k,builtinPlacements:A,popupAlign:j,zIndex:M,mask:v,maskClosable:y,popupMotion:V,maskMotion:H,arrow:ge,getPopupContainer:b,getPopupClassNameFromAlign:P,id:oe,onEsc:Oe}));Vn(()=>{G&&I&&ue&&!te&&!ie&&(ye?G.show(Ce(m),Se):G.hide(h))},[ye,ue]);let we=C.useRef(ye);we.current=ye;let Te=Rn(e=>{(0,Yf.flushSync)(()=>{ye!==e&&(ve(e),u?.(e),f?.(e))})}),Ee=wp(),De=(e,t=0)=>{if(c!==void 0){Ee(()=>{Te(e)},t);return}if(G&&I&&te&&!ie){e?G.show(Ce(t),Se):G.hide(t);return}Ee(()=>{Te(e)},t)};function Oe({top:e}){e&&De(!1)}let[ke,Ae]=C.useState(!1);Vn(e=>{(!e||ye)&&Ae(!0)},[ye]);let[je,Me]=C.useState(null),[Ne,Pe]=C.useState(null),Fe=e=>{Pe([e.clientX,e.clientY])},[Ie,Le,Re,ze,Be,Ve,He,Ue,We,Ge,Ke]=Cp(ye,K,L&&Ne!==null?Ne:ue,k,A,j,z,ne),[qe,Je]=cp(a,o,s),Ye=qe.has(`click`),Xe=Je.has(`click`)||Je.has(`contextMenu`),Ze=Rn(()=>{ke||Ke()});Tp(ye,ue,K,Ze,()=>{we.current&&L&&Xe&&De(!1)}),Vn(()=>{Ze()},[Ne,k]),Vn(()=>{ye&&!A?.[k]&&Ze()},[JSON.stringify(j)]);let Qe=C.useMemo(()=>q(dp(A,r,Ge,L),P?.(Ge)),[Ge,P,A,r,L]);C.useImperativeHandle(n,()=>({nativeElement:fe.current,popupElement:ce.current,forceAlign:Ze}));let[$e,et]=C.useState(0),[tt,nt]=C.useState(0),rt=()=>{if(N&&ue){let e=ue.getBoundingClientRect();et(e.width),nt(e.height)}},it=()=>{rt(),Ze()},at=e=>{Ae(!1),Ke(),d?.(e),p?.(e)},ot=()=>new Promise(e=>{rt(),Me(()=>e)});Vn(()=>{je&&(Ke(),je(),Me(null))},[je]);function st(e,t,n,r,i){me[e]=(a,...o)=>{(!i||!i())&&(r?.(a),De(t,n)),xe[e]?.(a,...o)}}let ct=qe.has(`touch`),lt=Je.has(`touch`),ut=C.useRef(!1);(ct||lt)&&(me.onTouchStart=(...e)=>{ut.current=!0,we.current&<?De(!1):!we.current&&ct&&De(!0),xe.onTouchStart?.(...e)}),(Ye||Xe)&&(me.onClick=(e,...t)=>{we.current&&Xe?De(!1):!we.current&&Ye&&(Fe(e),De(!0)),xe.onClick?.(e,...t),ut.current=!1});let dt=Ep(ye,Xe||lt,ue,K,v,y,he,De),ft=qe.has(`hover`),pt=Je.has(`hover`),mt,ht,gt=()=>ut.current;if(ft){let e=e=>{Fe(e)};st(`onMouseEnter`,!0,m,e,gt),st(`onPointerEnter`,!0,m,e,gt),mt=e=>{(ye||ke)&&K?.contains(e.target)&&De(!0,m)},L&&(me.onMouseMove=e=>{xe.onMouseMove?.(e)})}pt&&(st(`onMouseLeave`,!1,h,void 0,gt),st(`onPointerLeave`,!1,h,void 0,gt),ht=()=>{De(!1,h)}),qe.has(`focus`)&&st(`onFocus`,!0,g),Je.has(`focus`)&&st(`onBlur`,!1,_),qe.has(`contextMenu`)&&(me.onContextMenu=(e,...t)=>{we.current&&Je.has(`contextMenu`)?De(!1):(Fe(e),De(!0)),e.preventDefault(),xe.onContextMenu?.(e,...t)});let _t=C.useRef(!1);_t.current||=x||ye||ke;let vt={...xe,...me},yt={};[`onContextMenu`,`onClick`,`onMouseDown`,`onTouchStart`,`onMouseEnter`,`onMouseLeave`,`onFocus`,`onBlur`].forEach(e=>{W[e]&&(yt[e]=(...t)=>{vt[e]?.(...t),W[e](...t)})});let bt={x:Ve,y:He};zr(ye,ue,it);let xt=tr(pe,ar(be)),St=C.cloneElement(be,{...vt,...yt,ref:xt});return C.createElement(C.Fragment,null,St,_t.current&&(!G||!I)&&C.createElement(ap.Provider,{value:ae},C.createElement(ip,{portal:e,ref:le,prefixCls:r,popup:w,className:q(T,!ne&&Qe),style:O,target:ue,onMouseEnter:mt,onMouseLeave:ht,onPointerEnter:mt,zIndex:M,open:ye,keepDom:ke,fresh:F,onClick:R,onPointerDownCapture:dt,mask:v,motion:V,maskMotion:H,onVisibleChanged:at,onPrepare:ot,forceRender:x,autoDestroy:ee,getPopupContainer:b,onEsc:Oe,align:Ge,arrow:ge,arrowPos:bt,ready:Ie,offsetX:Le,offsetY:Re,offsetR:ze,offsetB:Be,onAlign:Ze,stretch:N,targetWidth:$e/Ue,targetHeight:tt/We,mobile:U})))})}var Mp=jp(Zf);function Np(e){return e&&C.isValidElement(e)&&e.type===C.Fragment}var Pp=(e,t,n)=>C.isValidElement(e)?C.cloneElement(e,_d(n)?n(e.props||{}):n):t;function Fp(e,t){return Pp(e,e,t)}var Ip=({children:e})=>{let{getPrefixCls:t}=C.useContext(si),n=t();return C.isValidElement(e)?C.createElement(Lu,{visible:!0,motionName:`${n}-fade`,motionAppear:!0,motionEnter:!0,motionLeave:!1,removeOnLeave:!1},({style:t,className:n})=>Fp(e,e=>({className:q(e.className,n),style:{...e.style,...t}}))):e},Lp=[null,null];function Rp(e){if(Lp[0]!==e){let t={};Object.keys(e).forEach(n=>{t[n]={...e[n],dynamicInset:!1}}),Lp[0]=e,Lp[1]=t}return Lp[1]}var zp=({children:e})=>C.createElement(Ap,{postTriggerProps:e=>{let{id:t,builtinPlacements:n,popup:r}=e,i=typeof r==`function`?r():r,a=Rp(n);return{...e,getPopupContainer:null,arrow:!1,popup:C.createElement(Ip,{key:t},i),builtinPlacements:a}}},e),Bp=C.createContext(!1),Vp=({children:e,disabled:t})=>{let n=C.useContext(Bp);return C.createElement(Bp.Provider,{value:t??n},e)},Hp=C.createContext(void 0),Up=({children:e,size:t})=>{let n=C.useContext(Hp);return C.createElement(Hp.Provider,{value:t||n},e)};function eee(){return{componentDisabled:(0,C.useContext)(Bp),componentSize:(0,C.useContext)(Hp)}}function tee(e,t,n){Or(`ConfigProvider`);let r=e||{},i=r.inherit===!1||!t?{...Rc,hashed:t?.hashed??Rc.hashed,cssVar:t?.cssVar}:t,a=(0,C.useId)();return qn(()=>{if(!e)return t;let o={...i.components};Object.keys(e.components||{}).forEach(t=>{o[t]={...o[t],...e.components[t]}});let s=`css-var-${a.replace(/:/g,``)}`,c={prefix:n?.prefixCls,...i.cssVar,...r.cssVar,key:r.cssVar?.key||s};return{...i,...r,token:{...i.token,...r.token},components:o,cssVar:c}},[r,i],(e,t)=>e.some((e,n)=>{let r=t[n];return!Ei(e,r,!0)}))}var Wp=C.createContext(!0);function nee(e){let t=C.useContext(Wp),{children:n}=e,[,r]=qc(),{motion:i}=r,a=C.useRef(!1);return a.current||=t!==i,a.current?C.createElement(Wp.Provider,{value:i},C.createElement(ql,{motion:i},n)):n}var ree=()=>null,iee=({iconPrefixCls:e,csp:t})=>(ll(e,t),null),Gp=[`getTargetContainer`,`getPopupContainer`,`renderEmpty`,`input`,`pagination`,`form`,`select`,`button`],Kp,qp,Jp,Yp;function Xp(){return Kp||`ant`}function aee(){return qp||`anticon`}var Zp=e=>{let{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:i}=e;t!==void 0&&(Kp=t),n!==void 0&&(qp=n),`holderRender`in e&&(Yp=i),r&&(Jp=r)},Qp=()=>({getPrefixCls:(e,t)=>t||(e?`${Xp()}-${e}`:Xp()),getIconPrefixCls:aee,getRootPrefixCls:()=>Kp||Xp(),getTheme:()=>Jp,holderRender:Yp}),oee=e=>{let{children:t,csp:n,autoInsertSpaceInButton:r,alert:i,affix:a,anchor:o,app:s,form:c,locale:l,componentSize:u,direction:d,space:f,splitter:p,virtual:m,dropdownMatchSelectWidth:h,popupMatchSelectWidth:g,popupOverflow:_,legacyLocale:v,parentContext:y,iconPrefixCls:b,theme:x,componentDisabled:S,segmented:w,statistic:T,spin:E,calendar:D,carousel:O,cascader:k,collapse:A,typography:j,checkbox:M,descriptions:N,divider:P,drawer:F,skeleton:I,steps:L,image:R,layout:z,list:B,mentions:V,modal:H,progress:U,result:W,slider:ee,breadcrumb:te,masonry:ne,menu:re,pagination:ie,input:ae,textArea:G,otp:oe,empty:K,badge:se,radio:ce,rate:le,ribbon:ue,switch:de,transfer:fe,avatar:pe,message:me,tag:he,table:ge,card:_e,cardMeta:ve,tabs:ye,timeline:be,timePicker:xe,upload:Se,notification:Ce,tree:we,colorPicker:Te,datePicker:Ee,rangePicker:De,flex:Oe,wave:ke,dropdown:Ae,warning:je,tour:Me,tooltip:Ne,popover:Pe,popconfirm:Fe,qrcode:Ie,floatButton:Le,floatButtonGroup:Re,variant:ze,inputNumber:Be,treeSelect:Ve,watermark:He}=e,Ue=C.useMemo(()=>gd(l)&&Object.prototype.hasOwnProperty.call(l,`default`)&&l.default?.locale?l.default:l,[l]),We=C.useCallback((t,n)=>{let{prefixCls:r}=e;if(n)return n;let i=r||y.getPrefixCls(``);return t?`${i}-${t}`:i},[y.getPrefixCls,e.prefixCls]),Ge=b||y.iconPrefixCls||`anticon`,Ke=n||y.csp,qe=tee(x,y.theme,{prefixCls:We(``)}),Je={csp:Ke,autoInsertSpaceInButton:r,alert:i,affix:a,anchor:o,app:s,locale:Ue||v,direction:d,space:f,splitter:p,virtual:m,popupMatchSelectWidth:g??h,popupOverflow:_,getPrefixCls:We,iconPrefixCls:Ge,theme:qe,segmented:w,statistic:T,spin:E,calendar:D,carousel:O,cascader:k,collapse:A,typography:j,checkbox:M,descriptions:N,divider:P,drawer:F,skeleton:I,steps:L,image:R,input:ae,textArea:G,otp:oe,layout:z,list:B,mentions:V,modal:H,progress:U,result:W,slider:ee,breadcrumb:te,masonry:ne,menu:re,pagination:ie,empty:K,badge:se,radio:ce,rate:le,ribbon:ue,switch:de,transfer:fe,avatar:pe,message:me,tag:he,table:ge,card:_e,cardMeta:ve,tabs:ye,timeline:be,timePicker:xe,upload:Se,notification:Ce,tree:we,colorPicker:Te,datePicker:Ee,rangePicker:De,flex:Oe,wave:ke,dropdown:Ae,warning:je,tour:Me,tooltip:Ne,popover:Pe,popconfirm:Fe,qrcode:Ie,floatButton:Le,floatButtonGroup:Re,variant:ze,inputNumber:Be,treeSelect:Ve,watermark:He},Ye={...y};Object.keys(Je).forEach(e=>{Je[e]!==void 0&&(Ye[e]=Je[e])}),Gp.forEach(t=>{let n=e[t];n&&(Ye[t]=n)}),r!==void 0&&(Ye.button={autoInsertSpace:r,...Ye.button});let Xe=qn(()=>Ye,Ye,(e,t)=>{let n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some(n=>e[n]!==t[n])}),{layer:Ze}=C.useContext(Fi),Qe=C.useMemo(()=>({prefixCls:Ge,csp:Ke,layer:Ze?`antd`:void 0}),[Ge,Ke,Ze]),$e=C.createElement(C.Fragment,null,C.createElement(iee,{iconPrefixCls:Ge,csp:Ke}),C.createElement(ree,{dropdownMatchSelectWidth:h}),t),et=C.useMemo(()=>pr(nd.Form?.defaultValidateMessages||{},Xe.locale?.Form?.defaultValidateMessages||{},Xe.form?.validateMessages||{},c?.validateMessages||{}),[Xe,c?.validateMessages]);Object.keys(et).length>0&&($e=C.createElement(Sf.Provider,{value:et},$e)),Ue&&($e=C.createElement(dd,{locale:Ue,_ANT_MARK__:ud},$e)),(Ge||Ke)&&($e=C.createElement(dl.Provider,{value:Qe},$e)),u&&($e=C.createElement(Up,{size:u},$e)),$e=C.createElement(nee,null,$e),Ne?.unique&&($e=C.createElement(zp,null,$e));let tt=C.useMemo(()=>{let{algorithm:e,token:t,components:n,cssVar:r,...i}=qe||{},a=e&&(!Array.isArray(e)||e.length>0)?Vi(e):Lc,o={};Object.entries(n||{}).forEach(([e,t])=>{let n={...t};`algorithm`in n&&(n.algorithm===!0?n.theme=a:(Array.isArray(n.algorithm)||typeof n.algorithm==`function`)&&(n.theme=Vi(n.algorithm)),delete n.algorithm),o[e]=n});let s={...Ns,...t};return{...i,theme:a,token:s,components:o,override:{override:s,...o},cssVar:r}},[qe]);return x&&($e=C.createElement(zc.Provider,{value:tt},$e)),Xe.warning&&($e=C.createElement(Dr.Provider,{value:Xe.warning},$e)),S!==void 0&&($e=C.createElement(Vp,{disabled:S},$e)),C.createElement(si.Provider,{value:Xe},$e)},$p=e=>{let t=C.useContext(si),n=C.useContext(cd);return C.createElement(oee,{parentContext:t,legacyLocale:n,...e})};$p.ConfigContext=si,$p.SizeContext=Hp,$p.config=Zp,$p.useConfig=eee,Object.defineProperty($p,`SizeContext`,{get:()=>Hp});var em={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){let{keyCode:t}=e;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=em.F1&&t<=em.F12)return!1;switch(t){case em.ALT:case em.CAPS_LOCK:case em.CONTEXT_MENU:case em.CTRL:case em.DOWN:case em.END:case em.ESC:case em.HOME:case em.INSERT:case em.LEFT:case em.MAC_FF_META:case em.META:case em.NUMLOCK:case em.NUM_CENTER:case em.PAGE_DOWN:case em.PAGE_UP:case em.PAUSE:case em.PRINT_SCREEN:case em.RIGHT:case em.SHIFT:case em.UP:case em.WIN_KEY:case em.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=em.ZERO&&e<=em.NINE||e>=em.NUM_ZERO&&e<=em.NUM_MULTIPLY||e>=em.A&&e<=em.Z||window.navigator.userAgent.indexOf(`WebKit`)!==-1&&e===0)return!0;switch(e){case em.SPACE:case em.QUESTION_MARK:case em.NUM_PLUS:case em.NUM_MINUS:case em.NUM_PERIOD:case em.NUM_DIVISION:case em.SEMICOLON:case em.DASH:case em.EQUALS:case em.COMMA:case em.PERIOD:case em.SLASH:case em.APOSTROPHE:case em.SINGLE_QUOTE:case em.OPEN_SQUARE_BRACKET:case em.BACKSLASH:case em.CLOSE_SQUARE_BRACKET:return!0;default:return!1}},isEditableTarget:function(e){let t=e.target;if(!(t instanceof HTMLElement))return!1;let n=t.tagName;return!!(n===`INPUT`||n===`TEXTAREA`||n===`SELECT`||t.isContentEditable)}};function tm(){return tm=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,style:r,className:i,duration:a=4.5,showProgress:o,pauseOnHover:s=!0,eventKey:c,content:l,closable:u,props:d,onClick:f,onNoticeClose:p,times:m,hovering:h}=e,[g,_]=C.useState(!1),[v,y]=C.useState(0),[b,x]=C.useState(0),S=h||g,w=typeof a==`number`?a:0,T=w>0&&o,E=()=>{p(c)},D=e=>{(e.key===`Enter`||e.code===`Enter`||e.keyCode===em.ENTER)&&E()};C.useEffect(()=>{if(!S&&w>0){let e=Date.now()-b,t=setTimeout(()=>{E()},w*1e3-b);return()=>{s&&clearTimeout(t),x(Date.now()-e)}}},[w,S,m]),C.useEffect(()=>{if(!S&&T&&(s||b===0)){let e=performance.now(),t,n=()=>{cancelAnimationFrame(t),t=requestAnimationFrame(t=>{let r=t+b-e,i=Math.min(r/(w*1e3),1);y(i*100),i<1&&n()})};return n(),()=>{s&&cancelAnimationFrame(t)}}},[w,b,S,T,m]);let O=C.useMemo(()=>typeof u==`object`&&u?u:{},[u]),k=Hu(O,!0),A=100-(!v||v<0?0:v>100?100:v),j=`${n}-notice`;return C.createElement(`div`,tm({},d,{ref:t,className:q(j,i,{[`${j}-closable`]:u}),style:r,onMouseEnter:e=>{_(!0),d?.onMouseEnter?.(e)},onMouseLeave:e=>{_(!1),d?.onMouseLeave?.(e)},onClick:f}),C.createElement(`div`,{className:`${j}-content`},l),u&&C.createElement(`button`,tm({className:`${j}-close`,onKeyDown:D,"aria-label":`Close`},k,{onClick:e=>{e.preventDefault(),e.stopPropagation(),E()}}),O.closeIcon??`x`),T&&C.createElement(`progress`,{className:`${j}-progress`,max:`100`,value:A},A+`%`))}),rm=C.createContext({}),im=({children:e,classNames:t})=>C.createElement(rm.Provider,{value:{classNames:t}},e),am=8,om=3,sm=16,see=e=>{let t={offset:am,threshold:om,gap:sm};return e&&typeof e==`object`&&(t.offset=e.offset??am,t.threshold=e.threshold??om,t.gap=e.gap??sm),[!!e,t]};function cm(){return cm=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{configList:t,placement:n,prefixCls:r,className:i,style:a,motion:o,onAllNoticeRemoved:s,onNoticeClose:c,stack:l}=e,{classNames:u}=(0,C.useContext)(rm),d=(0,C.useRef)({}),[f,p]=(0,C.useState)(null),[m,h]=(0,C.useState)([]),g=t.map(e=>({config:e,key:String(e.key)})),[_,{offset:v,threshold:y,gap:b}]=see(l),x=_&&(m.length>0||g.length<=y),S=typeof o==`function`?o(n):o;return(0,C.useEffect)(()=>{_&&m.length>1&&h(e=>e.filter(e=>g.some(({key:t})=>e===t)))},[m,g,_]),(0,C.useEffect)(()=>{_&&d.current[g[g.length-1]?.key]&&p(d.current[g[g.length-1]?.key])},[g,_]),C.createElement(Iu,cm({key:n,className:q(r,`${r}-${n}`,u?.list,i,{[`${r}-stack`]:!!_,[`${r}-stack-expanded`]:x}),style:a,keys:g,motionAppear:!0},S,{onAllRemoved:()=>{s(n)}}),({config:e,className:t,style:i,index:a},o)=>{let{key:s,times:l}=e,p=String(s),{className:y,style:S,classNames:w,styles:T,...E}=e,D=g.findIndex(e=>e.key===p),O={};if(_){let e=g.length-1-(D>-1?D:a-1),t=n===`top`||n===`bottom`?`-50%`:`0`;if(e>0){O.height=x?d.current[p]?.offsetHeight:f?.offsetHeight;let r=0;for(let t=0;th(e=>e.includes(p)?e:[...e,p]),onMouseLeave:()=>h(e=>e.filter(e=>e!==p))},C.createElement(nm,cm({},E,{ref:e=>{D>-1?d.current[p]=e:delete d.current[p]},prefixCls:r,classNames:w,styles:T,className:q(y,u?.notice),style:S,times:l,key:s,eventKey:s,onNoticeClose:c,hovering:_&&m.length>0})))})},lee=C.forwardRef((e,t)=>{let{prefixCls:n=`rc-notification`,container:r,motion:i,maxCount:a,className:o,style:s,onAllRemoved:c,stack:l,renderNotifications:u}=e,[d,f]=C.useState([]),p=e=>{let t=d.find(t=>t.key===e),n=t?.closable,{onClose:r}=n&&typeof n==`object`?n:{};r?.(),t?.onClose?.(),f(t=>t.filter(t=>t.key!==e))};C.useImperativeHandle(t,()=>({open:e=>{f(t=>{let n=[...t],r=n.findIndex(t=>t.key===e.key),i={...e};return r>=0?(i.times=(t[r]?.times||0)+1,n[r]=i):(i.times=0,n.push(i)),a>0&&n.length>a&&(n=n.slice(-a)),n})},close:e=>{p(e)},destroy:()=>{f([])}}));let[m,h]=C.useState({});C.useEffect(()=>{let e={};d.forEach(t=>{let{placement:n=`topRight`}=t;n&&(e[n]=e[n]||[],e[n].push(t))}),Object.keys(m).forEach(t=>{e[t]=e[t]||[]}),h(e)},[d]);let g=e=>{h(t=>{let n={...t};return(n[e]||[]).length||delete n[e],n})},_=C.useRef(!1);if(C.useEffect(()=>{Object.keys(m).length>0?_.current=!0:_.current&&=(c?.(),!1)},[m]),!r)return null;let v=Object.keys(m);return(0,Yf.createPortal)(C.createElement(C.Fragment,null,v.map(e=>{let t=m[e],r=C.createElement(cee,{key:e,configList:t,placement:e,prefixCls:n,className:o?.(e),style:s?.(e),motion:i,onNoticeClose:p,onAllNoticeRemoved:g,stack:l});return u?u(r,{prefixCls:n,key:e}):r})),r)}),uee=()=>document.body,lm=0;function dee(...e){let t={};return e.forEach(e=>{e&&Object.keys(e).forEach(n=>{let r=e[n];r!==void 0&&(t[n]=r)})}),t}function um(e={}){let{getContainer:t=uee,motion:n,prefixCls:r,maxCount:i,className:a,style:o,onAllRemoved:s,stack:c,renderNotifications:l,...u}=e,[d,f]=C.useState(),p=C.useRef(),m=C.createElement(lee,{container:d,ref:p,prefixCls:r,motion:n,maxCount:i,className:a,style:o,onAllRemoved:s,stack:c,renderNotifications:l}),[h,g]=C.useState([]),_=Rn(e=>{let t=dee(u,e);(t.key===null||t.key===void 0)&&(t.key=`rc-notification-${lm}`,lm+=1),g(e=>[...e,{type:`open`,config:t}])}),v=C.useMemo(()=>({open:_,close:e=>{g(t=>[...t,{type:`close`,key:e}])},destroy:()=>{g(e=>[...e,{type:`destroy`}])}}),[]);return C.useEffect(()=>{f(t())}),C.useEffect(()=>{if(p.current&&h.length){h.forEach(e=>{switch(e.type){case`open`:p.current.open(e.config);break;case`close`:p.current.close(e.key);break;case`destroy`:p.current.destroy();break}});let e,t;g(n=>((e!==n||!t)&&(e=n,t=n.filter(e=>!h.includes(e))),t))}},[h]),[v,m]}var fee={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z`}}]},name:`loading`,theme:`outlined`};function dm(){return dm=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,dm({},e,{ref:t,icon:fee}))),pee=e=>{let{componentCls:t,iconCls:n,boxShadow:r,colorText:i,colorSuccess:a,colorError:o,colorWarning:s,colorInfo:c,fontSizeLG:l,motionEaseInOutCirc:u,motionDurationSlow:d,marginXS:f,paddingXS:p,borderRadiusLG:m,zIndexPopup:h,contentPadding:g,contentBg:_}=e,v=`${t}-notice`,y=new Ro(`MessageMoveIn`,{"0%":{padding:0,transform:`translateY(-100%)`,opacity:0},"100%":{padding:p,transform:`translateY(0)`,opacity:1}}),b=new Ro(`MessageMoveOut`,{"0%":{maxHeight:e.height,padding:p,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),x={padding:p,textAlign:`center`,[`${t}-custom-content`]:{display:`flex`,alignItems:`center`},[`${t}-custom-content > ${n}`]:{marginInlineEnd:f,fontSize:l},[`${v}-content`]:{display:`inline-block`,padding:g,background:_,borderRadius:m,boxShadow:r,pointerEvents:`all`},[`${t}-success > ${n}`]:{color:a},[`${t}-error > ${n}`]:{color:o},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n}, ${t}-loading > ${n}`]:{color:c}};return[{[t]:{...Yc(e),color:i,position:`fixed`,top:f,width:`100%`,pointerEvents:`none`,zIndex:h,[`${t}-move-up`]:{animationFillMode:`forwards`},[` ${t}-move-up-appear, ${t}-move-up-enter `]:{animationName:y,animationDuration:d,animationPlayState:`paused`,animationTimingFunction:u},[` ${t}-move-up-appear${t}-move-up-appear-active, ${t}-move-up-enter${t}-move-up-enter-active - `]:{animationPlayState:`running`},[`${t}-move-up-leave`]:{animationName:b,animationDuration:d,animationPlayState:`paused`,animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:`running`},"&-rtl":{direction:`rtl`,span:{direction:`rtl`}}}},{[t]:{[`${v}-wrapper`]:{...x}}},{[`${t}-notice-pure-panel`]:{...x,padding:0,textAlign:`start`}}]},fm=il(`Message`,e=>mee(_s(e,{height:150})),e=>({zIndexPopup:e.zIndexPopupBase+Kd+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`})),pm={info:C.createElement(Gl,null),success:C.createElement(Nl,null),error:C.createElement(Il,null),warning:C.createElement(Hl,null),loading:C.createElement(dm,null)},mm=e=>{let{prefixCls:t,type:n,icon:r,children:i,classNames:a,styles:o}=e,s=Fp(r||n&&pm[n],e=>{let t={...e?.style,...o?.icon};return{className:q(e.className,a?.icon),style:t}});return C.createElement(`div`,{className:q(`${t}-custom-content`,`${t}-${n}`)},s,C.createElement(`span`,{className:a?.content,style:o?.content},i))},hm=e=>{let{prefixCls:t,className:n,style:r,type:i,icon:a,content:o,classNames:s,styles:c,...l}=e,{getPrefixCls:u,className:d,style:f,classNames:p,styles:m}=ui(`message`),h=t||u(`message`),g=xf(h),[_,v]=fm(h,g),[y,b]=Id([p,s],[m,c],{props:e});return C.createElement(em,{...l,prefixCls:h,className:q(d,y.root,n,_,`${h}-notice-pure-panel`,v,g),style:{...b.root,...f,...r},eventKey:`pure`,duration:null,content:C.createElement(mm,{prefixCls:h,type:i,icon:a,classNames:y,styles:b},o)})};function gm(e,t){return{motionName:t??`${e}-move-up`}}function _m(e){let t,n=new Promise(n=>{t=e(()=>{n(!0)})}),r=()=>{t?.()};return r.then=(e,t)=>n.then(e,t),r.promise=n,r}var hee=8,gee=3,_ee=({children:e,prefixCls:t})=>{let n=xf(t),[r,i]=fm(t,n);return C.createElement(nm,{classNames:{list:q(r,i,n)}},e)},vee=(e,{prefixCls:t,key:n})=>C.createElement(_ee,{prefixCls:t,key:n},e),vm=C.forwardRef((e,t)=>{let{top:n,prefixCls:r,getContainer:i,maxCount:a,duration:o=gee,rtl:s,transitionName:c,onAllRemoved:l,pauseOnHover:u=!0}=e,{getPrefixCls:d,direction:f,getPopupContainer:p}=ui(`message`),{message:m}=C.useContext(si),h=r||d(`message`),g=()=>({left:`50%`,transform:`translateX(-50%)`,top:n??hee}),_=()=>q({[`${h}-rtl`]:s??f===`rtl`}),v=()=>gm(h,c),[y,b]=Id([e?.classNames,m?.classNames],[e?.styles,m?.styles],{props:e}),[x,S]=lm({prefixCls:h,style:g,className:_,motion:v,closable:!1,duration:o,getContainer:()=>i?.()||p?.()||document.body,maxCount:a,onAllRemoved:l,renderNotifications:vee,pauseOnHover:u});return C.useImperativeHandle(t,()=>({...x,prefixCls:h,message:m,classNames:y,styles:b})),S}),ym=0;function bm(e){let t=C.useRef(null);return Or(`Message`),[C.useMemo(()=>{let n=e=>{t.current?.close(e)},r=r=>{if(!t.current){let e=()=>{};return e.then=()=>{},e}let{open:i,prefixCls:a,message:o,classNames:s,styles:c}=t.current,l=o?.className||{},u=o?.style||{},d=o?.classNames||{},f=o?.styles||{},p=`${a}-notice`,{content:m,icon:h,type:g,key:_,className:v,style:y,onClose:b,classNames:x={},styles:S={},...w}=r,T=_;pd(T)||(ym+=1,T=`antd-message-${ym}`);let E={...e,...r},D=Fd(d,{props:E}),O=Fd(x,{props:E}),k=Fd(f,{props:E}),A=Fd(S,{props:E}),j=Ad(void 0,D,O,s),M=Md(k,A,c);return _m(e=>(i({...w,key:T,content:C.createElement(mm,{prefixCls:a,type:g,icon:h,classNames:j,styles:M},m),placement:`top`,className:q({[`${p}-${g}`]:g},v,l,j.root),style:{...M.root,...u,...y},onClose:()=>{b?.(),e()}}),()=>{n(T)}))},i={open:r,destroy:e=>{e===void 0?t.current?.destroy():n(e)}};return[`info`,`success`,`warning`,`error`,`loading`].forEach(e=>{i[e]=(t,n,i)=>{let a;a=gd(t)&&`content`in t?t:{content:t};let o,s;return typeof n==`function`?s=n:(o=n,s=i),r({onClose:s,duration:o,...a,type:e})}}),i},[]),C.createElement(vm,{key:`message-holder`,...e,ref:t})]}function xm(e){return bm(e)}var Sm=`__rc_react_root__`;function Cm(e,t){let n=t[Sm]||(0,v.createRoot)(t);n.render(e),t[Sm]=n}async function wm(e){return Promise.resolve().then(()=>{e[Sm]?.unmount(),delete e[Sm]})}var Tm=()=>({height:0,opacity:0}),Em=e=>({height:e?.scrollHeight??0,opacity:+!!e}),yee=e=>({height:e?.offsetHeight??0}),bee=e=>gd(e)&&`propertyName`in e,Dm=(e,t)=>t?.deadline===!0||(bee(t)?t.propertyName===`height`:!1),Om=(e=`ant`)=>({motionName:`${e}-motion-collapse`,onAppearStart:Tm,onEnterStart:Tm,onAppearActive:Em,onEnterActive:Em,onLeaveStart:yee,onLeaveActive:Tm,onAppearEnd:Dm,onEnterEnd:Dm,onLeaveEnd:Dm,motionDeadline:500}),km=(e,t,n)=>n===void 0?`${e}-${t}`:n,xee=al(`Wave`,e=>{let{componentCls:t,colorPrimary:n,motionDurationSlow:r,motionEaseInOut:i,motionEaseOutCirc:a,antCls:o}=e,[,s]=sl(o,`wave`);return{[t]:{position:`absolute`,background:`transparent`,pointerEvents:`none`,boxSizing:`border-box`,color:s(`color`,n),boxShadow:`0 0 0 0 currentcolor`,opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s`,`opacity 2s`].map(e=>`${e} ${a}`).join(`,`),"&-active":{boxShadow:`0 0 0 6px currentcolor`,opacity:0},"&.wave-quick":{transition:[`box-shadow`,`opacity`].map(e=>`${e} ${r} ${i}`).join(`,`)}}}}}),Am=`ant-wave-target`;function jm(e){return e&&typeof e==`string`&&e!==`#fff`&&e!==`#ffffff`&&e!==`rgb(255, 255, 255)`&&e!==`rgba(255, 255, 255, 1)`&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!==`transparent`&&e!==`canvastext`}function See(e,t=null){let n=getComputedStyle(e),{borderTopColor:r,borderColor:i,backgroundColor:a}=n;return t&&jm(n[t])?n[t]:[r,i,a].find(jm)??null}function Mm(e){return Number.isNaN(e)?0:e}var Cee=e=>{let{className:t,target:n,component:r,colorSource:i}=e,a=C.useRef(null),{getPrefixCls:o}=C.useContext(si),[s]=sl(o(),`wave`),[c,l]=C.useState(null),[u,d]=C.useState([]),[f,p]=C.useState(0),[m,h]=C.useState(0),[g,_]=C.useState(0),[v,y]=C.useState(0),[b,x]=C.useState(!1),S={left:f,top:m,width:g,height:v,borderRadius:u.map(e=>`${e}px`).join(` `)};c&&(S[s(`color`)]=c);function w(){let e=getComputedStyle(n);l(See(n,i));let t=e.position===`static`,{borderLeftWidth:r,borderTopWidth:a}=e;p(t?n.offsetLeft:Mm(-Number.parseFloat(r))),h(t?n.offsetTop:Mm(-Number.parseFloat(a))),_(n.offsetWidth),y(n.offsetHeight);let{borderTopLeftRadius:o,borderTopRightRadius:s,borderBottomLeftRadius:c,borderBottomRightRadius:u}=e;d([o,s,u,c].map(e=>Mm(Number.parseFloat(e))))}if(C.useEffect(()=>{if(n){let e=ii(()=>{w(),x(!0)}),t;return typeof ResizeObserver<`u`&&(t=new ResizeObserver(w),t.observe(n)),()=>{ii.cancel(e),t?.disconnect()}}},[n]),!b)return null;let T=(r===`Checkbox`||r===`Radio`)&&n?.classList.contains(Am);return C.createElement(Lu,{visible:!0,motionAppear:!0,motionName:`wave-motion`,motionDeadline:5e3,onAppearEnd:(e,t)=>{if(t.deadline||t.propertyName===`opacity`){let e=a.current?.parentElement;wm(e).then(()=>{e?.remove()})}return!1}},({className:e},n)=>C.createElement(`div`,{ref:er(a,n),className:q(t,e,{"wave-quick":T}),style:S}))},wee=(e,t)=>{let{component:n}=t;if(n===`Checkbox`&&!e.querySelector(`input`)?.checked)return;let r=document.createElement(`div`);r.style.position=`absolute`,r.style.left=`0px`,r.style.top=`0px`,e?.insertBefore(r,e?.firstChild),Cm(C.createElement(Cee,{...t,target:e}),r)},Tee=(e,t,n,r)=>{let{wave:i}=C.useContext(si),[,a,o]=qc(),s=Rn(s=>{let c=e.current;if(i?.disabled||!c)return;let l=c.querySelector(`.${Am}`)||c,{showEffect:u}=i||{};(u||wee)(l,{className:t,token:a,component:n,event:s,hashId:o,colorSource:r})}),c=C.useRef(null);return C.useEffect(()=>()=>{ii.cancel(c.current)},[]),e=>{ii.cancel(c.current),c.current=ii(()=>{s(e)})}},Nm=e=>{let{children:t,disabled:n,component:r,colorSource:i}=e,{getPrefixCls:a}=(0,C.useContext)(si),o=(0,C.useRef)(null),s=a(`wave`),c=Tee(o,q(s,xee(s)),r,i);return C.useEffect(()=>{let e=o.current;if(!e||e.nodeType!==window.Node.ELEMENT_NODE||n)return;let t=t=>{!lp(t.target)||!e.getAttribute||e.getAttribute(`disabled`)||e.disabled||e.className.includes(`disabled`)&&!e.className.includes(`disabled:`)||e.getAttribute(`aria-disabled`)===`true`||e.className.includes(`-leave`)||c(t)};return e.addEventListener(`click`,t,!0),()=>{e.removeEventListener(`click`,t,!0)}},[n]),C.isValidElement(t)?Fp(t,{ref:nr(t)?er(ar(t),o):o}):t??null},Pm=e=>{let t=C.useContext(Hp);return C.useMemo(()=>e?typeof e==`string`?e??t:typeof e==`function`?e(t):t:t,[e,t])},Eee=il([`Space`,`Compact`],e=>{let{componentCls:t}=e;return{[t]:{display:`inline-flex`,"&-block":{display:`flex`,width:`100%`},"&-vertical":{flexDirection:`column`},"&-rtl":{direction:`rtl`}}}},()=>({}),{resetStyle:!1}),Fm=C.createContext(null),Im=(e,t)=>{let n=C.useContext(Fm),r=C.useMemo(()=>{if(!n)return``;let{compactDirection:r,isFirstItem:i,isLastItem:a}=n,o=r===`vertical`?`-vertical-`:`-`;return q(`${e}-compact${o}item`,{[`${e}-compact${o}first-item`]:i,[`${e}-compact${o}last-item`]:a,[`${e}-compact${o}item-rtl`]:t===`rtl`})},[e,t,n]);return{compactSize:n?.compactSize,compactDirection:n?.compactDirection,compactItemClassnames:r}},Dee=e=>{let{children:t}=e;return C.createElement(Fm.Provider,{value:null},t)},Oee=e=>{let{children:t,...n}=e;return C.createElement(Fm.Provider,{value:C.useMemo(()=>n,[n])},t)},Lm=e=>{let{getPrefixCls:t,direction:n}=C.useContext(si),{size:r,direction:i,orientation:a,block:o,prefixCls:s,className:c,rootClassName:l,children:u,vertical:d,...f}=e,[p,m]=zd(a,d,i),h=Pm(e=>r??e),g=t(`space-compact`,s),[_]=Eee(g),v=q(g,_,{[`${g}-rtl`]:n===`rtl`,[`${g}-block`]:o,[`${g}-vertical`]:m},c,l),y=C.useContext(Fm),b=wr(u),x=C.useMemo(()=>b.map((e,t)=>{let n=e?.key||`${g}-item-${t}`;return C.createElement(Oee,{key:n,compactSize:h,compactDirection:p,isFirstItem:t===0&&(!y||y?.isFirstItem),isLastItem:t===b.length-1&&(!y||y?.isLastItem)},e)}),[b,y,p,h,g]);return b.length===0?null:C.createElement(`div`,{className:v,...f},x)},Rm=C.createContext(void 0),kee=e=>{let{getPrefixCls:t,direction:n}=C.useContext(si),{prefixCls:r,size:i,className:a,...o}=e,s=t(`btn-group`,r),[,,c]=qc(),l=C.useMemo(()=>{switch(i){case`large`:return`lg`;case`small`:return`sm`;default:return``}},[i]),u=q(s,{[`${s}-${l}`]:l,[`${s}-rtl`]:n===`rtl`},a,c);return C.createElement(Rm.Provider,{value:i},C.createElement(`div`,{...o,className:u}))},zm=/^[\u4E00-\u9FA5]{2}$/,Bm=zm.test.bind(zm);function Vm(e){return e===`danger`?{danger:!0}:{type:e}}function Hm(e){return e===`text`||e===`link`}function Um(e,t,n,r){if(!pd(e)||e===``)return;let i=t?` `:``;return typeof e!=`string`&&typeof e!=`number`&&hd(e.type)&&Bm(e.props.children)?Fp(e,e=>{let t=q(e.className,r)||void 0,a={...n,...e.style};return{...e,children:e.children.split(``).join(i),className:t,style:a}}):hd(e)?C.createElement(`span`,{className:r,style:n},Bm(e)?e.split(``).join(i):e):Np(e)?C.createElement(`span`,{className:r,style:n},e):Fp(e,e=>({...e,className:q(e.className,r)||void 0,style:{...e.style,...n}}))}function Wm(e,t,n,r){let i=!1,a=[];return C.Children.forEach(e,e=>{let t=typeof e,n=t===`string`||t===`number`;if(i&&n){let t=a.length-1;a[t]=`${a[t]}${e}`}else a.push(e);i=n}),C.Children.map(a,e=>Um(e,t,n,r))}[`default`,`primary`,`danger`].concat(Qr(Os));var Gm=(0,C.forwardRef)((e,t)=>{let{className:n,style:r,children:i,prefixCls:a}=e,o=q(`${a}-icon`,n);return C.createElement(`span`,{ref:t,className:o,style:r},i)}),Km=(0,C.forwardRef)((e,t)=>{let{prefixCls:n,className:r,style:i,iconClassName:a}=e,o=q(`${n}-loading-icon`,r);return C.createElement(Gm,{prefixCls:n,className:o,style:i,ref:t},C.createElement(dm,{className:a}))}),qm=()=>({width:0,opacity:0,transform:`scale(0)`}),Jm=e=>({width:e.scrollWidth,opacity:1,transform:`scale(1)`}),Ym=e=>{let{prefixCls:t,loading:n,existIcon:r,className:i,style:a,mount:o}=e,s=!!n;return r?C.createElement(Km,{prefixCls:t,className:i,style:a}):C.createElement(Lu,{visible:s,motionName:`${t}-loading-icon-motion`,motionAppear:!o,motionEnter:!o,motionLeave:!o,removeOnLeave:!0,onAppearStart:qm,onAppearActive:Jm,onEnterStart:qm,onEnterActive:Jm,onLeaveStart:Jm,onLeaveActive:qm},({className:e,style:n},r)=>{let o={...a,...n};return C.createElement(Km,{prefixCls:t,className:q(i,e),style:o,ref:r})})},Xm=e=>{let{componentCls:t,antCls:n,motionDurationMid:r,motionEaseInOut:i}=e;return{[t]:{[`${n}-motion-collapse-legacy`]:{overflow:`hidden`,"&-active":{transition:`${[`height`,`opacity`].map(e=>`${e} ${r} ${i}`).join(`, `)} !important`}},[`${n}-motion-collapse`]:{overflow:`hidden`,transition:`${[`height`,`opacity`].map(e=>`${e} ${r} ${i}`).join(`, `)} !important`}}}},Zm=e=>({animationDuration:e,animationFillMode:`both`}),Qm=(e,t,n,r,i=!1)=>{let a=i?`&`:``;return{[` + `]:{animationPlayState:`running`},[`${t}-move-up-leave`]:{animationName:b,animationDuration:d,animationPlayState:`paused`,animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:`running`},"&-rtl":{direction:`rtl`,span:{direction:`rtl`}}}},{[t]:{[`${v}-wrapper`]:{...x}}},{[`${t}-notice-pure-panel`]:{...x,padding:0,textAlign:`start`}}]},pm=il(`Message`,e=>pee(_s(e,{height:150})),e=>({zIndexPopup:e.zIndexPopupBase+Kd+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`})),mee={info:C.createElement(Gl,null),success:C.createElement(Nl,null),error:C.createElement(Il,null),warning:C.createElement(Hl,null),loading:C.createElement(fm,null)},mm=e=>{let{prefixCls:t,type:n,icon:r,children:i,classNames:a,styles:o}=e,s=Fp(r||n&&mee[n],e=>{let t={...e?.style,...o?.icon};return{className:q(e.className,a?.icon),style:t}});return C.createElement(`div`,{className:q(`${t}-custom-content`,`${t}-${n}`)},s,C.createElement(`span`,{className:a?.content,style:o?.content},i))},hm=e=>{let{prefixCls:t,className:n,style:r,type:i,icon:a,content:o,classNames:s,styles:c,...l}=e,{getPrefixCls:u,className:d,style:f,classNames:p,styles:m}=ui(`message`),h=t||u(`message`),g=xf(h),[_,v]=pm(h,g),[y,b]=Id([p,s],[m,c],{props:e});return C.createElement(nm,{...l,prefixCls:h,className:q(d,y.root,n,_,`${h}-notice-pure-panel`,v,g),style:{...b.root,...f,...r},eventKey:`pure`,duration:null,content:C.createElement(mm,{prefixCls:h,type:i,icon:a,classNames:y,styles:b},o)})};function gm(e,t){return{motionName:t??`${e}-move-up`}}function _m(e){let t,n=new Promise(n=>{t=e(()=>{n(!0)})}),r=()=>{t?.()};return r.then=(e,t)=>n.then(e,t),r.promise=n,r}var vm=8,ym=3,bm=({children:e,prefixCls:t})=>{let n=xf(t),[r,i]=pm(t,n);return C.createElement(im,{classNames:{list:q(r,i,n)}},e)},xm=(e,{prefixCls:t,key:n})=>C.createElement(bm,{prefixCls:t,key:n},e),Sm=C.forwardRef((e,t)=>{let{top:n,prefixCls:r,getContainer:i,maxCount:a,duration:o=ym,rtl:s,transitionName:c,onAllRemoved:l,pauseOnHover:u=!0}=e,{getPrefixCls:d,direction:f,getPopupContainer:p}=ui(`message`),{message:m}=C.useContext(si),h=r||d(`message`),g=()=>({left:`50%`,transform:`translateX(-50%)`,top:n??vm}),_=()=>q({[`${h}-rtl`]:s??f===`rtl`}),v=()=>gm(h,c),[y,b]=Id([e?.classNames,m?.classNames],[e?.styles,m?.styles],{props:e}),[x,S]=um({prefixCls:h,style:g,className:_,motion:v,closable:!1,duration:o,getContainer:()=>i?.()||p?.()||document.body,maxCount:a,onAllRemoved:l,renderNotifications:xm,pauseOnHover:u});return C.useImperativeHandle(t,()=>({...x,prefixCls:h,message:m,classNames:y,styles:b})),S}),Cm=0;function wm(e){let t=C.useRef(null);return Or(`Message`),[C.useMemo(()=>{let n=e=>{t.current?.close(e)},r=r=>{if(!t.current){let e=()=>{};return e.then=()=>{},e}let{open:i,prefixCls:a,message:o,classNames:s,styles:c}=t.current,l=o?.className||{},u=o?.style||{},d=o?.classNames||{},f=o?.styles||{},p=`${a}-notice`,{content:m,icon:h,type:g,key:_,className:v,style:y,onClose:b,classNames:x={},styles:S={},...w}=r,T=_;pd(T)||(Cm+=1,T=`antd-message-${Cm}`);let E={...e,...r},D=Fd(d,{props:E}),O=Fd(x,{props:E}),k=Fd(f,{props:E}),A=Fd(S,{props:E}),j=Ad(void 0,D,O,s),M=Md(k,A,c);return _m(e=>(i({...w,key:T,content:C.createElement(mm,{prefixCls:a,type:g,icon:h,classNames:j,styles:M},m),placement:`top`,className:q({[`${p}-${g}`]:g},v,l,j.root),style:{...M.root,...u,...y},onClose:()=>{b?.(),e()}}),()=>{n(T)}))},i={open:r,destroy:e=>{e===void 0?t.current?.destroy():n(e)}};return[`info`,`success`,`warning`,`error`,`loading`].forEach(e=>{i[e]=(t,n,i)=>{let a;a=gd(t)&&`content`in t?t:{content:t};let o,s;return typeof n==`function`?s=n:(o=n,s=i),r({onClose:s,duration:o,...a,type:e})}}),i},[]),C.createElement(Sm,{key:`message-holder`,...e,ref:t})]}function Tm(e){return wm(e)}var Em=`__rc_react_root__`;function Dm(e,t){let n=t[Em]||(0,v.createRoot)(t);n.render(e),t[Em]=n}async function Om(e){return Promise.resolve().then(()=>{e[Em]?.unmount(),delete e[Em]})}var km=()=>({height:0,opacity:0}),Am=e=>({height:e?.scrollHeight??0,opacity:+!!e}),hee=e=>({height:e?.offsetHeight??0}),gee=e=>gd(e)&&`propertyName`in e,jm=(e,t)=>t?.deadline===!0||(gee(t)?t.propertyName===`height`:!1),Mm=(e=`ant`)=>({motionName:`${e}-motion-collapse`,onAppearStart:km,onEnterStart:km,onAppearActive:Am,onEnterActive:Am,onLeaveStart:hee,onLeaveActive:km,onAppearEnd:jm,onEnterEnd:jm,onLeaveEnd:jm,motionDeadline:500}),Nm=(e,t,n)=>n===void 0?`${e}-${t}`:n,_ee=al(`Wave`,e=>{let{componentCls:t,colorPrimary:n,motionDurationSlow:r,motionEaseInOut:i,motionEaseOutCirc:a,antCls:o}=e,[,s]=sl(o,`wave`);return{[t]:{position:`absolute`,background:`transparent`,pointerEvents:`none`,boxSizing:`border-box`,color:s(`color`,n),boxShadow:`0 0 0 0 currentcolor`,opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s`,`opacity 2s`].map(e=>`${e} ${a}`).join(`,`),"&-active":{boxShadow:`0 0 0 6px currentcolor`,opacity:0},"&.wave-quick":{transition:[`box-shadow`,`opacity`].map(e=>`${e} ${r} ${i}`).join(`,`)}}}}}),Pm=`ant-wave-target`;function Fm(e){return e&&typeof e==`string`&&e!==`#fff`&&e!==`#ffffff`&&e!==`rgb(255, 255, 255)`&&e!==`rgba(255, 255, 255, 1)`&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!==`transparent`&&e!==`canvastext`}function vee(e,t=null){let n=getComputedStyle(e),{borderTopColor:r,borderColor:i,backgroundColor:a}=n;return t&&Fm(n[t])?n[t]:[r,i,a].find(Fm)??null}function Im(e){return Number.isNaN(e)?0:e}var yee=e=>{let{className:t,target:n,component:r,colorSource:i}=e,a=C.useRef(null),{getPrefixCls:o}=C.useContext(si),[s]=sl(o(),`wave`),[c,l]=C.useState(null),[u,d]=C.useState([]),[f,p]=C.useState(0),[m,h]=C.useState(0),[g,_]=C.useState(0),[v,y]=C.useState(0),[b,x]=C.useState(!1),S={left:f,top:m,width:g,height:v,borderRadius:u.map(e=>`${e}px`).join(` `)};c&&(S[s(`color`)]=c);function w(){let e=getComputedStyle(n);l(vee(n,i));let t=e.position===`static`,{borderLeftWidth:r,borderTopWidth:a}=e;p(t?n.offsetLeft:Im(-Number.parseFloat(r))),h(t?n.offsetTop:Im(-Number.parseFloat(a))),_(n.offsetWidth),y(n.offsetHeight);let{borderTopLeftRadius:o,borderTopRightRadius:s,borderBottomLeftRadius:c,borderBottomRightRadius:u}=e;d([o,s,u,c].map(e=>Im(Number.parseFloat(e))))}if(C.useEffect(()=>{if(n){let e=ii(()=>{w(),x(!0)}),t;return typeof ResizeObserver<`u`&&(t=new ResizeObserver(w),t.observe(n)),()=>{ii.cancel(e),t?.disconnect()}}},[n]),!b)return null;let T=(r===`Checkbox`||r===`Radio`)&&n?.classList.contains(Pm);return C.createElement(Lu,{visible:!0,motionAppear:!0,motionName:`wave-motion`,motionDeadline:5e3,onAppearEnd:(e,t)=>{if(t.deadline||t.propertyName===`opacity`){let e=a.current?.parentElement;Om(e).then(()=>{e?.remove()})}return!1}},({className:e},n)=>C.createElement(`div`,{ref:er(a,n),className:q(t,e,{"wave-quick":T}),style:S}))},bee=(e,t)=>{let{component:n}=t;if(n===`Checkbox`&&!e.querySelector(`input`)?.checked)return;let r=document.createElement(`div`);r.style.position=`absolute`,r.style.left=`0px`,r.style.top=`0px`,e?.insertBefore(r,e?.firstChild),Dm(C.createElement(yee,{...t,target:e}),r)},xee=(e,t,n,r)=>{let{wave:i}=C.useContext(si),[,a,o]=qc(),s=Rn(s=>{let c=e.current;if(i?.disabled||!c)return;let l=c.querySelector(`.${Pm}`)||c,{showEffect:u}=i||{};(u||bee)(l,{className:t,token:a,component:n,event:s,hashId:o,colorSource:r})}),c=C.useRef(null);return C.useEffect(()=>()=>{ii.cancel(c.current)},[]),e=>{ii.cancel(c.current),c.current=ii(()=>{s(e)})}},Lm=e=>{let{children:t,disabled:n,component:r,colorSource:i}=e,{getPrefixCls:a}=(0,C.useContext)(si),o=(0,C.useRef)(null),s=a(`wave`),c=xee(o,q(s,_ee(s)),r,i);return C.useEffect(()=>{let e=o.current;if(!e||e.nodeType!==window.Node.ELEMENT_NODE||n)return;let t=t=>{!lp(t.target)||!e.getAttribute||e.getAttribute(`disabled`)||e.disabled||e.className.includes(`disabled`)&&!e.className.includes(`disabled:`)||e.getAttribute(`aria-disabled`)===`true`||e.className.includes(`-leave`)||c(t)};return e.addEventListener(`click`,t,!0),()=>{e.removeEventListener(`click`,t,!0)}},[n]),C.isValidElement(t)?Fp(t,{ref:nr(t)?er(ar(t),o):o}):t??null},Rm=e=>{let t=C.useContext(Hp);return C.useMemo(()=>e?typeof e==`string`?e??t:typeof e==`function`?e(t):t:t,[e,t])},zm=il([`Space`,`Compact`],e=>{let{componentCls:t}=e;return{[t]:{display:`inline-flex`,"&-block":{display:`flex`,width:`100%`},"&-vertical":{flexDirection:`column`},"&-rtl":{direction:`rtl`}}}},()=>({}),{resetStyle:!1}),Bm=C.createContext(null),Vm=(e,t)=>{let n=C.useContext(Bm),r=C.useMemo(()=>{if(!n)return``;let{compactDirection:r,isFirstItem:i,isLastItem:a}=n,o=r===`vertical`?`-vertical-`:`-`;return q(`${e}-compact${o}item`,{[`${e}-compact${o}first-item`]:i,[`${e}-compact${o}last-item`]:a,[`${e}-compact${o}item-rtl`]:t===`rtl`})},[e,t,n]);return{compactSize:n?.compactSize,compactDirection:n?.compactDirection,compactItemClassnames:r}},Hm=e=>{let{children:t}=e;return C.createElement(Bm.Provider,{value:null},t)},Um=e=>{let{children:t,...n}=e;return C.createElement(Bm.Provider,{value:C.useMemo(()=>n,[n])},t)},Wm=e=>{let{getPrefixCls:t,direction:n}=C.useContext(si),{size:r,direction:i,orientation:a,block:o,prefixCls:s,className:c,rootClassName:l,children:u,vertical:d,...f}=e,[p,m]=zd(a,d,i),h=Rm(e=>r??e),g=t(`space-compact`,s),[_]=zm(g),v=q(g,_,{[`${g}-rtl`]:n===`rtl`,[`${g}-block`]:o,[`${g}-vertical`]:m},c,l),y=C.useContext(Bm),b=wr(u),x=C.useMemo(()=>b.map((e,t)=>{let n=e?.key||`${g}-item-${t}`;return C.createElement(Um,{key:n,compactSize:h,compactDirection:p,isFirstItem:t===0&&(!y||y?.isFirstItem),isLastItem:t===b.length-1&&(!y||y?.isLastItem)},e)}),[b,y,p,h,g]);return b.length===0?null:C.createElement(`div`,{className:v,...f},x)},Gm=C.createContext(void 0),Km=e=>{let{getPrefixCls:t,direction:n}=C.useContext(si),{prefixCls:r,size:i,className:a,...o}=e,s=t(`btn-group`,r),[,,c]=qc(),l=C.useMemo(()=>{switch(i){case`large`:return`lg`;case`small`:return`sm`;default:return``}},[i]),u=q(s,{[`${s}-${l}`]:l,[`${s}-rtl`]:n===`rtl`},a,c);return C.createElement(Gm.Provider,{value:i},C.createElement(`div`,{...o,className:u}))},qm=/^[\u4E00-\u9FA5]{2}$/,Jm=qm.test.bind(qm);function Ym(e){return e===`danger`?{danger:!0}:{type:e}}function Xm(e){return e===`text`||e===`link`}function Zm(e,t,n,r){if(!pd(e)||e===``)return;let i=t?` `:``;return typeof e!=`string`&&typeof e!=`number`&&hd(e.type)&&Jm(e.props.children)?Fp(e,e=>{let t=q(e.className,r)||void 0,a={...n,...e.style};return{...e,children:e.children.split(``).join(i),className:t,style:a}}):hd(e)?C.createElement(`span`,{className:r,style:n},Jm(e)?e.split(``).join(i):e):Np(e)?C.createElement(`span`,{className:r,style:n},e):Fp(e,e=>({...e,className:q(e.className,r)||void 0,style:{...e.style,...n}}))}function See(e,t,n,r){let i=!1,a=[];return C.Children.forEach(e,e=>{let t=typeof e,n=t===`string`||t===`number`;if(i&&n){let t=a.length-1;a[t]=`${a[t]}${e}`}else a.push(e);i=n}),C.Children.map(a,e=>Zm(e,t,n,r))}[`default`,`primary`,`danger`].concat(Qr(Os));var Qm=(0,C.forwardRef)((e,t)=>{let{className:n,style:r,children:i,prefixCls:a}=e,o=q(`${a}-icon`,n);return C.createElement(`span`,{ref:t,className:o,style:r},i)}),$m=(0,C.forwardRef)((e,t)=>{let{prefixCls:n,className:r,style:i,iconClassName:a}=e,o=q(`${n}-loading-icon`,r);return C.createElement(Qm,{prefixCls:n,className:o,style:i,ref:t},C.createElement(fm,{className:a}))}),eh=()=>({width:0,opacity:0,transform:`scale(0)`}),th=e=>({width:e.scrollWidth,opacity:1,transform:`scale(1)`}),Cee=e=>{let{prefixCls:t,loading:n,existIcon:r,className:i,style:a,mount:o}=e,s=!!n;return r?C.createElement($m,{prefixCls:t,className:i,style:a}):C.createElement(Lu,{visible:s,motionName:`${t}-loading-icon-motion`,motionAppear:!o,motionEnter:!o,motionLeave:!o,removeOnLeave:!0,onAppearStart:eh,onAppearActive:th,onEnterStart:eh,onEnterActive:th,onLeaveStart:th,onLeaveActive:eh},({className:e,style:n},r)=>{let o={...a,...n};return C.createElement($m,{prefixCls:t,className:q(i,e),style:o,ref:r})})},nh=e=>{let{componentCls:t,antCls:n,motionDurationMid:r,motionEaseInOut:i}=e;return{[t]:{[`${n}-motion-collapse-legacy`]:{overflow:`hidden`,"&-active":{transition:`${[`height`,`opacity`].map(e=>`${e} ${r} ${i}`).join(`, `)} !important`}},[`${n}-motion-collapse`]:{overflow:`hidden`,transition:`${[`height`,`opacity`].map(e=>`${e} ${r} ${i}`).join(`, `)} !important`}}}},rh=e=>({animationDuration:e,animationFillMode:`both`}),ih=(e,t,n,r,i=!1)=>{let a=i?`&`:``;return{[` ${a}${e}-enter, ${a}${e}-appear - `]:{...Zm(r),animationPlayState:`paused`},[`${a}${e}-leave`]:{...Zm(r),animationPlayState:`paused`},[` + `]:{...rh(r),animationPlayState:`paused`},[`${a}${e}-leave`]:{...rh(r),animationPlayState:`paused`},[` ${a}${e}-enter${e}-enter-active, ${a}${e}-appear${e}-appear-active - `]:{animationName:t,animationPlayState:`running`},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:`running`,pointerEvents:`none`}}},$m=new Ro(`antFadeIn`,{"0%":{opacity:0},"100%":{opacity:1}}),eh=new Ro(`antFadeOut`,{"0%":{opacity:1},"100%":{opacity:0}}),th=(e,t=!1)=>{let{antCls:n}=e,r=`${n}-fade`,i=t?`&`:``;return[Qm(r,$m,eh,e.motionDurationMid,t),{[` + `]:{animationName:t,animationPlayState:`running`},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:`running`,pointerEvents:`none`}}},wee=new Ro(`antFadeIn`,{"0%":{opacity:0},"100%":{opacity:1}}),Tee=new Ro(`antFadeOut`,{"0%":{opacity:1},"100%":{opacity:0}}),ah=(e,t=!1)=>{let{antCls:n}=e,r=`${n}-fade`,i=t?`&`:``;return[ih(r,wee,Tee,e.motionDurationMid,t),{[` ${i}${r}-enter, ${i}${r}-appear - `]:{opacity:0,animationTimingFunction:`linear`},[`${i}${r}-leave`]:{animationTimingFunction:`linear`}}]},Aee=new Ro(`antMoveDownIn`,{"0%":{transform:`translate3d(0, 100%, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),jee=new Ro(`antMoveDownOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(0, 100%, 0)`,transformOrigin:`0 0`,opacity:0}}),Mee=new Ro(`antMoveLeftIn`,{"0%":{transform:`translate3d(-100%, 0, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),Nee=new Ro(`antMoveLeftOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(-100%, 0, 0)`,transformOrigin:`0 0`,opacity:0}}),Pee=new Ro(`antMoveRightIn`,{"0%":{transform:`translate3d(100%, 0, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),Fee=new Ro(`antMoveRightOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(100%, 0, 0)`,transformOrigin:`0 0`,opacity:0}}),Iee={"move-up":{inKeyframes:new Ro(`antMoveUpIn`,{"0%":{transform:`translate3d(0, -100%, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),outKeyframes:new Ro(`antMoveUpOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(0, -100%, 0)`,transformOrigin:`0 0`,opacity:0}})},"move-down":{inKeyframes:Aee,outKeyframes:jee},"move-left":{inKeyframes:Mee,outKeyframes:Nee},"move-right":{inKeyframes:Pee,outKeyframes:Fee}},nh=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=Iee[t];return[Qm(r,i,a,e.motionDurationMid),{[` + `]:{opacity:0,animationTimingFunction:`linear`},[`${i}${r}-leave`]:{animationTimingFunction:`linear`}}]},Eee=new Ro(`antMoveDownIn`,{"0%":{transform:`translate3d(0, 100%, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),Dee=new Ro(`antMoveDownOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(0, 100%, 0)`,transformOrigin:`0 0`,opacity:0}}),Oee=new Ro(`antMoveLeftIn`,{"0%":{transform:`translate3d(-100%, 0, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),kee=new Ro(`antMoveLeftOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(-100%, 0, 0)`,transformOrigin:`0 0`,opacity:0}}),Aee=new Ro(`antMoveRightIn`,{"0%":{transform:`translate3d(100%, 0, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),jee=new Ro(`antMoveRightOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(100%, 0, 0)`,transformOrigin:`0 0`,opacity:0}}),Mee={"move-up":{inKeyframes:new Ro(`antMoveUpIn`,{"0%":{transform:`translate3d(0, -100%, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),outKeyframes:new Ro(`antMoveUpOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(0, -100%, 0)`,transformOrigin:`0 0`,opacity:0}})},"move-down":{inKeyframes:Eee,outKeyframes:Dee},"move-left":{inKeyframes:Oee,outKeyframes:kee},"move-right":{inKeyframes:Aee,outKeyframes:jee}},oh=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=Mee[t];return[ih(r,i,a,e.motionDurationMid),{[` ${r}-enter, ${r}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},rh=new Ro(`antSlideUpIn`,{"0%":{transform:`scaleY(0.8)`,transformOrigin:`0% 0%`,opacity:0},"100%":{transform:`scaleY(1)`,transformOrigin:`0% 0%`,opacity:1}}),ih=new Ro(`antSlideUpOut`,{"0%":{transform:`scaleY(1)`,transformOrigin:`0% 0%`,opacity:1},"100%":{transform:`scaleY(0.8)`,transformOrigin:`0% 0%`,opacity:0}}),ah=new Ro(`antSlideDownIn`,{"0%":{transform:`scaleY(0.8)`,transformOrigin:`100% 100%`,opacity:0},"100%":{transform:`scaleY(1)`,transformOrigin:`100% 100%`,opacity:1}}),oh=new Ro(`antSlideDownOut`,{"0%":{transform:`scaleY(1)`,transformOrigin:`100% 100%`,opacity:1},"100%":{transform:`scaleY(0.8)`,transformOrigin:`100% 100%`,opacity:0}}),Lee=new Ro(`antSlideLeftIn`,{"0%":{transform:`scaleX(0.8)`,transformOrigin:`0% 0%`,opacity:0},"100%":{transform:`scaleX(1)`,transformOrigin:`0% 0%`,opacity:1}}),Ree=new Ro(`antSlideLeftOut`,{"0%":{transform:`scaleX(1)`,transformOrigin:`0% 0%`,opacity:1},"100%":{transform:`scaleX(0.8)`,transformOrigin:`0% 0%`,opacity:0}}),zee=new Ro(`antSlideRightIn`,{"0%":{transform:`scaleX(0.8)`,transformOrigin:`100% 0%`,opacity:0},"100%":{transform:`scaleX(1)`,transformOrigin:`100% 0%`,opacity:1}}),Bee=new Ro(`antSlideRightOut`,{"0%":{transform:`scaleX(1)`,transformOrigin:`100% 0%`,opacity:1},"100%":{transform:`scaleX(0.8)`,transformOrigin:`100% 0%`,opacity:0}}),Vee={"slide-up":{inKeyframes:rh,outKeyframes:ih},"slide-down":{inKeyframes:ah,outKeyframes:oh},"slide-left":{inKeyframes:Lee,outKeyframes:Ree},"slide-right":{inKeyframes:zee,outKeyframes:Bee}},sh=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=Vee[t];return[Qm(r,i,a,e.motionDurationMid),{[` + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},sh=new Ro(`antSlideUpIn`,{"0%":{transform:`scaleY(0.8)`,transformOrigin:`0% 0%`,opacity:0},"100%":{transform:`scaleY(1)`,transformOrigin:`0% 0%`,opacity:1}}),ch=new Ro(`antSlideUpOut`,{"0%":{transform:`scaleY(1)`,transformOrigin:`0% 0%`,opacity:1},"100%":{transform:`scaleY(0.8)`,transformOrigin:`0% 0%`,opacity:0}}),lh=new Ro(`antSlideDownIn`,{"0%":{transform:`scaleY(0.8)`,transformOrigin:`100% 100%`,opacity:0},"100%":{transform:`scaleY(1)`,transformOrigin:`100% 100%`,opacity:1}}),uh=new Ro(`antSlideDownOut`,{"0%":{transform:`scaleY(1)`,transformOrigin:`100% 100%`,opacity:1},"100%":{transform:`scaleY(0.8)`,transformOrigin:`100% 100%`,opacity:0}}),Nee=new Ro(`antSlideLeftIn`,{"0%":{transform:`scaleX(0.8)`,transformOrigin:`0% 0%`,opacity:0},"100%":{transform:`scaleX(1)`,transformOrigin:`0% 0%`,opacity:1}}),Pee=new Ro(`antSlideLeftOut`,{"0%":{transform:`scaleX(1)`,transformOrigin:`0% 0%`,opacity:1},"100%":{transform:`scaleX(0.8)`,transformOrigin:`0% 0%`,opacity:0}}),Fee=new Ro(`antSlideRightIn`,{"0%":{transform:`scaleX(0.8)`,transformOrigin:`100% 0%`,opacity:0},"100%":{transform:`scaleX(1)`,transformOrigin:`100% 0%`,opacity:1}}),Iee=new Ro(`antSlideRightOut`,{"0%":{transform:`scaleX(1)`,transformOrigin:`100% 0%`,opacity:1},"100%":{transform:`scaleX(0.8)`,transformOrigin:`100% 0%`,opacity:0}}),Lee={"slide-up":{inKeyframes:sh,outKeyframes:ch},"slide-down":{inKeyframes:lh,outKeyframes:uh},"slide-left":{inKeyframes:Nee,outKeyframes:Pee},"slide-right":{inKeyframes:Fee,outKeyframes:Iee}},dh=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=Lee[t];return[ih(r,i,a,e.motionDurationMid),{[` ${r}-enter, ${r}-appear - `]:{transform:`scale(0)`,transformOrigin:`0% 0%`,opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:`scale(1)`}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},ch=()=>({"@media (prefers-reduced-motion: reduce)":{transition:`none`,animation:`none`}}),lh=new Ro(`antZoomIn`,{"0%":{transform:`scale(0.2)`,opacity:0},"100%":{transform:`scale(1)`,opacity:1}}),Hee=new Ro(`antZoomOut`,{"0%":{transform:`scale(1)`},"100%":{transform:`scale(0.2)`,opacity:0}}),uh=new Ro(`antZoomBigIn`,{"0%":{transform:`scale(0.8)`,opacity:0},"100%":{transform:`scale(1)`,opacity:1}}),dh=new Ro(`antZoomBigOut`,{"0%":{transform:`scale(1)`},"100%":{transform:`scale(0.8)`,opacity:0}}),Uee=new Ro(`antZoomUpIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`50% 0%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`50% 0%`}}),Wee=new Ro(`antZoomUpOut`,{"0%":{transform:`scale(1)`,transformOrigin:`50% 0%`},"100%":{transform:`scale(0.8)`,transformOrigin:`50% 0%`,opacity:0}}),Gee=new Ro(`antZoomLeftIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`0% 50%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`0% 50%`}}),Kee=new Ro(`antZoomLeftOut`,{"0%":{transform:`scale(1)`,transformOrigin:`0% 50%`},"100%":{transform:`scale(0.8)`,transformOrigin:`0% 50%`,opacity:0}}),qee=new Ro(`antZoomRightIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`100% 50%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`100% 50%`}}),Jee=new Ro(`antZoomRightOut`,{"0%":{transform:`scale(1)`,transformOrigin:`100% 50%`},"100%":{transform:`scale(0.8)`,transformOrigin:`100% 50%`,opacity:0}}),Yee=new Ro(`antZoomDownIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`50% 100%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`50% 100%`}}),Xee=new Ro(`antZoomDownOut`,{"0%":{transform:`scale(1)`,transformOrigin:`50% 100%`},"100%":{transform:`scale(0.8)`,transformOrigin:`50% 100%`,opacity:0}}),Zee={zoom:{inKeyframes:lh,outKeyframes:Hee},"zoom-big":{inKeyframes:uh,outKeyframes:dh},"zoom-big-fast":{inKeyframes:uh,outKeyframes:dh},"zoom-left":{inKeyframes:Gee,outKeyframes:Kee},"zoom-right":{inKeyframes:qee,outKeyframes:Jee},"zoom-up":{inKeyframes:Uee,outKeyframes:Wee},"zoom-down":{inKeyframes:Yee,outKeyframes:Xee}},fh=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=Zee[t];return[Qm(r,i,a,t===`zoom-big-fast`?e.motionDurationFast:e.motionDurationMid),{[` + `]:{transform:`scale(0)`,transformOrigin:`0% 0%`,opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:`scale(1)`}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},fh=()=>({"@media (prefers-reduced-motion: reduce)":{transition:`none`,animation:`none`}}),ph=new Ro(`antZoomIn`,{"0%":{transform:`scale(0.2)`,opacity:0},"100%":{transform:`scale(1)`,opacity:1}}),Ree=new Ro(`antZoomOut`,{"0%":{transform:`scale(1)`},"100%":{transform:`scale(0.2)`,opacity:0}}),mh=new Ro(`antZoomBigIn`,{"0%":{transform:`scale(0.8)`,opacity:0},"100%":{transform:`scale(1)`,opacity:1}}),hh=new Ro(`antZoomBigOut`,{"0%":{transform:`scale(1)`},"100%":{transform:`scale(0.8)`,opacity:0}}),zee=new Ro(`antZoomUpIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`50% 0%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`50% 0%`}}),Bee=new Ro(`antZoomUpOut`,{"0%":{transform:`scale(1)`,transformOrigin:`50% 0%`},"100%":{transform:`scale(0.8)`,transformOrigin:`50% 0%`,opacity:0}}),Vee=new Ro(`antZoomLeftIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`0% 50%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`0% 50%`}}),Hee=new Ro(`antZoomLeftOut`,{"0%":{transform:`scale(1)`,transformOrigin:`0% 50%`},"100%":{transform:`scale(0.8)`,transformOrigin:`0% 50%`,opacity:0}}),Uee=new Ro(`antZoomRightIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`100% 50%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`100% 50%`}}),Wee=new Ro(`antZoomRightOut`,{"0%":{transform:`scale(1)`,transformOrigin:`100% 50%`},"100%":{transform:`scale(0.8)`,transformOrigin:`100% 50%`,opacity:0}}),Gee=new Ro(`antZoomDownIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`50% 100%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`50% 100%`}}),Kee=new Ro(`antZoomDownOut`,{"0%":{transform:`scale(1)`,transformOrigin:`50% 100%`},"100%":{transform:`scale(0.8)`,transformOrigin:`50% 100%`,opacity:0}}),qee={zoom:{inKeyframes:ph,outKeyframes:Ree},"zoom-big":{inKeyframes:mh,outKeyframes:hh},"zoom-big-fast":{inKeyframes:mh,outKeyframes:hh},"zoom-left":{inKeyframes:Vee,outKeyframes:Hee},"zoom-right":{inKeyframes:Uee,outKeyframes:Wee},"zoom-up":{inKeyframes:zee,outKeyframes:Bee},"zoom-down":{inKeyframes:Gee,outKeyframes:Kee}},gh=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=qee[t];return[ih(r,i,a,t===`zoom-big-fast`?e.motionDurationFast:e.motionDurationMid),{[` ${r}-enter, ${r}-appear - `]:{transform:`scale(0)`,opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:`none`}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},ph=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Qee=e=>{let{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:i,colorErrorHover:a}=e;return{[`${t}-group`]:[{position:`relative`,display:`inline-flex`,[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:`relative`,zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},ph(`${t}-primary`,i),ph(`${t}-danger`,a)]}},mh=e=>Math.round(Number(e||0)),$ee=e=>{if(e instanceof zs)return e;if(e&&typeof e==`object`&&`h`in e&&`b`in e){let{b:t,...n}=e;return{...n,v:t}}return typeof e==`string`&&/hsb/.test(e)?e.replace(/hsb/,`hsv`):e},hh=class extends zs{constructor(e){super($ee(e))}toHsbString(){let e=this.toHsb(),t=mh(e.s*100),n=mh(e.b*100),r=mh(e.h),i=e.a,a=`hsb(${r}, ${t}%, ${n}%)`,o=`hsba(${r}, ${t}%, ${n}%, ${i.toFixed(i===0?0:2)})`;return i===1?a:o}toHsb(){let{v:e,...t}=this.toHsv();return{...t,b:e,a:this.a}}};(e=>e instanceof hh?e:new hh(e))(`#1677ff`);var ete=(e,t)=>e?.replace(/[^0-9a-f]/gi,``).slice(0,t?8:6)||``,tte=(e,t)=>e?ete(e,t):``,gh=function(){function e(t){if(Xo(this,e),this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=t.colors?.map(t=>({color:new e(t.color),percent:t.percent})),this.cleared=t.cleared;return}let n=Array.isArray(t);n&&t.length?(this.colors=t.map(({color:t,percent:n})=>({color:new e(t),percent:n})),this.metaColor=new hh(this.colors[0].color.metaColor)):this.metaColor=new hh(n?``:t),(!t||n&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return Qo(e,[{key:`toHsb`,value:function(){return this.metaColor.toHsb()}},{key:`toHsbString`,value:function(){return this.metaColor.toHsbString()}},{key:`toHex`,value:function(){return tte(this.toHexString(),this.metaColor.a<1)}},{key:`toHexString`,value:function(){return this.metaColor.toHexString()}},{key:`toRgb`,value:function(){return this.metaColor.toRgb()}},{key:`toRgbString`,value:function(){return this.metaColor.toRgbString()}},{key:`isGradient`,value:function(){return!!this.colors&&!this.cleared}},{key:`getColors`,value:function(){return this.colors||[{color:this,percent:0}]}},{key:`toCssString`,value:function(){let{colors:e}=this;return e?`linear-gradient(90deg, ${e.map(e=>`${e.color.toRgbString()} ${e.percent}%`).join(`, `)})`:this.metaColor.toRgbString()}},{key:`equals`,value:function(e){return!e||this.isGradient()!==e.isGradient()?!1:this.isGradient()?this.colors.length===e.colors.length&&this.colors.every((t,n)=>{let r=e.colors[n];return t.percent===r.percent&&t.color.equals(r.color)}):this.toHexString()===e.toHexString()}}])}(),nte={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.96 31.96 0 000-50.4z`}}]},name:`right`,theme:`outlined`};function _h(){return _h=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_h({},e,{ref:t,icon:nte})));function yh(){return yh=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,forceRender:r,className:i,style:a,children:o,isActive:s,role:c,classNames:l,styles:u}=e,[d,f]=C.useState(s||r);return C.useEffect(()=>{(r||s)&&f(!0)},[r,s]),d?C.createElement(`div`,{ref:t,className:q(`${n}-panel`,{[`${n}-panel-active`]:s,[`${n}-panel-inactive`]:!s},i),style:a,role:c},C.createElement(`div`,{className:q(`${n}-body`,l?.body),style:u?.body},o)):null}),bh=C.forwardRef((e,t)=>{let{showArrow:n=!0,headerClass:r,isActive:i,onItemClick:a,forceRender:o,className:s,classNames:c={},styles:l={},prefixCls:u,collapsible:d,accordion:f,panelKey:p,extra:m,header:h,expandIcon:g,openMotion:_,destroyOnHidden:v,children:y,...b}=e,x=d===`disabled`,S=m!=null&&typeof m!=`boolean`,w={onClick:()=>{a?.(p)},onKeyDown:e=>{(e.key===`Enter`||e.keyCode===Qp.ENTER||e.which===Qp.ENTER)&&a?.(p)},role:f?`tab`:`button`,"aria-expanded":i,"aria-disabled":x,tabIndex:x?-1:0},T=typeof g==`function`?g(e):C.createElement(`i`,{className:`arrow`}),E=T&&C.createElement(`div`,yh({className:q(`${u}-expand-icon`,c?.icon),style:l?.icon},[`header`,`icon`].includes(d)?w:{}),T),D=q(`${u}-item`,{[`${u}-item-active`]:i,[`${u}-item-disabled`]:x},s),O={className:q(r,`${u}-header`,{[`${u}-collapsible-${d}`]:!!d},c?.header),style:l?.header,...[`header`,`icon`].includes(d)?{}:w};return C.createElement(`div`,yh({},b,{ref:t,className:D}),C.createElement(`div`,O,n&&E,C.createElement(`span`,yh({className:q(`${u}-title`,c?.title),style:l?.title},d===`header`?w:{}),h),S&&C.createElement(`div`,{className:`${u}-extra`},m)),C.createElement(Lu,yh({visible:i,leavedClassName:`${u}-panel-hidden`},_,{forceRender:o,removeOnLeave:v}),({className:e,style:t},n)=>C.createElement(rte,{ref:n,prefixCls:u,className:e,classNames:c,style:t,styles:l,isActive:i,forceRender:o,role:f?`tabpanel`:void 0},y)))});function xh(e,t,n){if(!e||!t)return e||t;let r=Array.from(new Set([...Object.keys(e),...Object.keys(t)])),i={};return r.forEach(r=>{i[r]=n(e[r],t[r])}),i}function ite(e,t){return xh(e,t,(e,t)=>q(e,t))}function ate(e,t){return xh(e,t,(e,t)=>({...e,...t}))}var ote=(e,t)=>{let{prefixCls:n,accordion:r,collapsible:i,destroyOnHidden:a,onItemClick:o,activeKey:s,openMotion:c,expandIcon:l,classNames:u,styles:d}=t;return e.map((e,t)=>{let{children:f,label:p,key:m,collapsible:h,onItemClick:g,destroyOnHidden:_,classNames:v,styles:y,...b}=e,x=String(m??t),S=h??i,w=_??a,T=e=>{S!==`disabled`&&(o(e),g?.(e))},E=!1;return E=r?s[0]===x:s.indexOf(x)>-1,C.createElement(bh,yh({},b,{classNames:ite(u,v),styles:ate(d,y),prefixCls:n,key:x,panelKey:x,isActive:E,accordion:r,openMotion:c,expandIcon:l,header:p,collapsible:S,onItemClick:T,destroyOnHidden:w}),f)})},ste=(e,t,n)=>{if(!e)return null;let{prefixCls:r,accordion:i,collapsible:a,destroyOnHidden:o,onItemClick:s,activeKey:c,openMotion:l,expandIcon:u,classNames:d,styles:f}=n,p=e.key||String(t),{header:m,headerClass:h,destroyOnHidden:g,collapsible:_,onItemClick:v}=e.props,y=!1;y=i?c[0]===p:c.indexOf(p)>-1;let b=_??a,x={key:p,panelKey:p,header:m,headerClass:h,classNames:d,styles:f,isActive:y,prefixCls:r,destroyOnHidden:g??o,openMotion:l,accordion:i,children:e.props.children,onItemClick:e=>{b!==`disabled`&&(s(e),v?.(e))},expandIcon:u,collapsible:b};return typeof e.type==`string`?e:(Object.keys(x).forEach(e=>{x[e]===void 0&&delete x[e]}),C.cloneElement(e,x))};function Sh(e,t,n){return Array.isArray(e)?ote(e,n):wr(t).map((e,t)=>ste(e,t,n))}function Ch(e){let t=e;if(!Array.isArray(t)){let e=typeof t;t=e===`number`||e===`string`?[t]:[]}return t.map(e=>String(e))}var wh=Object.assign(C.forwardRef((e,t)=>{let{prefixCls:n=`rc-collapse`,destroyOnHidden:r=!1,style:i,accordion:a,className:o,children:s,collapsible:c,openMotion:l,expandIcon:u,activeKey:d,defaultActiveKey:f,onChange:p,items:m,classNames:h,styles:g}=e,_=q(n,o),[v,y]=Wn(f,d),b=Ch(v),x=Rn(e=>{let t=Ch(e);y(t),p?.(t)}),S=e=>{x(a?b[0]===e?[]:[e]:b.includes(e)?b.filter(t=>t!==e):[...b,e])};xr(!s,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");let w=Sh(m,s,{prefixCls:n,accordion:a,openMotion:l,expandIcon:u,collapsible:c,destroyOnHidden:r,onItemClick:S,activeKey:b,classNames:h,styles:g});return C.createElement(`div`,yh({ref:t,className:_,style:i,role:a?`tablist`:void 0},Hu(e,{aria:!0,data:!0})),w)}),{Panel:bh}),Th=wh,{Panel:cte}=wh,Eh=C.forwardRef((e,t)=>{let{getPrefixCls:n}=C.useContext(si),{prefixCls:r,className:i,showArrow:a=!0}=e,o=n(`collapse`,r),s=q({[`${o}-no-arrow`]:!a},i);return C.createElement(Th.Panel,{ref:t,...e,prefixCls:o,className:s})}),Dh=e=>{let{componentCls:t,contentBg:n,padding:r,headerBg:i,headerPadding:a,collapseHeaderPaddingSM:o,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:l,lineType:u,colorBorder:d,colorText:f,colorTextHeading:p,colorTextDisabled:m,fontSizeLG:h,lineHeight:g,lineHeightLG:_,marginSM:v,paddingSM:y,paddingLG:b,paddingXS:x,motionDurationSlow:S,fontSizeIcon:C,contentPadding:w,fontHeight:T,fontHeightLG:E}=e,D=`${J(l)} ${u} ${d}`;return{[t]:{...Yc(e),backgroundColor:i,border:D,borderRadius:c,"&-rtl":{direction:`rtl`},[`& > ${t}-item`]:{borderBottom:D,"&:first-child":{[` + `]:{transform:`scale(0)`,opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:`none`}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},_h=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Jee=e=>{let{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:i,colorErrorHover:a}=e;return{[`${t}-group`]:[{position:`relative`,display:`inline-flex`,[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:`relative`,zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},_h(`${t}-primary`,i),_h(`${t}-danger`,a)]}},vh=e=>Math.round(Number(e||0)),Yee=e=>{if(e instanceof zs)return e;if(e&&typeof e==`object`&&`h`in e&&`b`in e){let{b:t,...n}=e;return{...n,v:t}}return typeof e==`string`&&/hsb/.test(e)?e.replace(/hsb/,`hsv`):e},yh=class extends zs{constructor(e){super(Yee(e))}toHsbString(){let e=this.toHsb(),t=vh(e.s*100),n=vh(e.b*100),r=vh(e.h),i=e.a,a=`hsb(${r}, ${t}%, ${n}%)`,o=`hsba(${r}, ${t}%, ${n}%, ${i.toFixed(i===0?0:2)})`;return i===1?a:o}toHsb(){let{v:e,...t}=this.toHsv();return{...t,b:e,a:this.a}}};(e=>e instanceof yh?e:new yh(e))(`#1677ff`);var Xee=(e,t)=>e?.replace(/[^0-9a-f]/gi,``).slice(0,t?8:6)||``,Zee=(e,t)=>e?Xee(e,t):``,bh=function(){function e(t){if(Xo(this,e),this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=t.colors?.map(t=>({color:new e(t.color),percent:t.percent})),this.cleared=t.cleared;return}let n=Array.isArray(t);n&&t.length?(this.colors=t.map(({color:t,percent:n})=>({color:new e(t),percent:n})),this.metaColor=new yh(this.colors[0].color.metaColor)):this.metaColor=new yh(n?``:t),(!t||n&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return Qo(e,[{key:`toHsb`,value:function(){return this.metaColor.toHsb()}},{key:`toHsbString`,value:function(){return this.metaColor.toHsbString()}},{key:`toHex`,value:function(){return Zee(this.toHexString(),this.metaColor.a<1)}},{key:`toHexString`,value:function(){return this.metaColor.toHexString()}},{key:`toRgb`,value:function(){return this.metaColor.toRgb()}},{key:`toRgbString`,value:function(){return this.metaColor.toRgbString()}},{key:`isGradient`,value:function(){return!!this.colors&&!this.cleared}},{key:`getColors`,value:function(){return this.colors||[{color:this,percent:0}]}},{key:`toCssString`,value:function(){let{colors:e}=this;return e?`linear-gradient(90deg, ${e.map(e=>`${e.color.toRgbString()} ${e.percent}%`).join(`, `)})`:this.metaColor.toRgbString()}},{key:`equals`,value:function(e){return!e||this.isGradient()!==e.isGradient()?!1:this.isGradient()?this.colors.length===e.colors.length&&this.colors.every((t,n)=>{let r=e.colors[n];return t.percent===r.percent&&t.color.equals(r.color)}):this.toHexString()===e.toHexString()}}])}(),xh={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.96 31.96 0 000-50.4z`}}]},name:`right`,theme:`outlined`};function Sh(){return Sh=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Sh({},e,{ref:t,icon:xh})));function wh(){return wh=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,forceRender:r,className:i,style:a,children:o,isActive:s,role:c,classNames:l,styles:u}=e,[d,f]=C.useState(s||r);return C.useEffect(()=>{(r||s)&&f(!0)},[r,s]),d?C.createElement(`div`,{ref:t,className:q(`${n}-panel`,{[`${n}-panel-active`]:s,[`${n}-panel-inactive`]:!s},i),style:a,role:c},C.createElement(`div`,{className:q(`${n}-body`,l?.body),style:u?.body},o)):null}),Eh=C.forwardRef((e,t)=>{let{showArrow:n=!0,headerClass:r,isActive:i,onItemClick:a,forceRender:o,className:s,classNames:c={},styles:l={},prefixCls:u,collapsible:d,accordion:f,panelKey:p,extra:m,header:h,expandIcon:g,openMotion:_,destroyOnHidden:v,children:y,...b}=e,x=d===`disabled`,S=m!=null&&typeof m!=`boolean`,w={onClick:()=>{a?.(p)},onKeyDown:e=>{(e.key===`Enter`||e.keyCode===em.ENTER||e.which===em.ENTER)&&a?.(p)},role:f?`tab`:`button`,"aria-expanded":i,"aria-disabled":x,tabIndex:x?-1:0},T=typeof g==`function`?g(e):C.createElement(`i`,{className:`arrow`}),E=T&&C.createElement(`div`,wh({className:q(`${u}-expand-icon`,c?.icon),style:l?.icon},[`header`,`icon`].includes(d)?w:{}),T),D=q(`${u}-item`,{[`${u}-item-active`]:i,[`${u}-item-disabled`]:x},s),O={className:q(r,`${u}-header`,{[`${u}-collapsible-${d}`]:!!d},c?.header),style:l?.header,...[`header`,`icon`].includes(d)?{}:w};return C.createElement(`div`,wh({},b,{ref:t,className:D}),C.createElement(`div`,O,n&&E,C.createElement(`span`,wh({className:q(`${u}-title`,c?.title),style:l?.title},d===`header`?w:{}),h),S&&C.createElement(`div`,{className:`${u}-extra`},m)),C.createElement(Lu,wh({visible:i,leavedClassName:`${u}-panel-hidden`},_,{forceRender:o,removeOnLeave:v}),({className:e,style:t},n)=>C.createElement(Th,{ref:n,prefixCls:u,className:e,classNames:c,style:t,styles:l,isActive:i,forceRender:o,role:f?`tabpanel`:void 0},y)))});function Dh(e,t,n){if(!e||!t)return e||t;let r=Array.from(new Set([...Object.keys(e),...Object.keys(t)])),i={};return r.forEach(r=>{i[r]=n(e[r],t[r])}),i}function Oh(e,t){return Dh(e,t,(e,t)=>q(e,t))}function kh(e,t){return Dh(e,t,(e,t)=>({...e,...t}))}var Ah=(e,t)=>{let{prefixCls:n,accordion:r,collapsible:i,destroyOnHidden:a,onItemClick:o,activeKey:s,openMotion:c,expandIcon:l,classNames:u,styles:d}=t;return e.map((e,t)=>{let{children:f,label:p,key:m,collapsible:h,onItemClick:g,destroyOnHidden:_,classNames:v,styles:y,...b}=e,x=String(m??t),S=h??i,w=_??a,T=e=>{S!==`disabled`&&(o(e),g?.(e))},E=!1;return E=r?s[0]===x:s.indexOf(x)>-1,C.createElement(Eh,wh({},b,{classNames:Oh(u,v),styles:kh(d,y),prefixCls:n,key:x,panelKey:x,isActive:E,accordion:r,openMotion:c,expandIcon:l,header:p,collapsible:S,onItemClick:T,destroyOnHidden:w}),f)})},jh=(e,t,n)=>{if(!e)return null;let{prefixCls:r,accordion:i,collapsible:a,destroyOnHidden:o,onItemClick:s,activeKey:c,openMotion:l,expandIcon:u,classNames:d,styles:f}=n,p=e.key||String(t),{header:m,headerClass:h,destroyOnHidden:g,collapsible:_,onItemClick:v}=e.props,y=!1;y=i?c[0]===p:c.indexOf(p)>-1;let b=_??a,x={key:p,panelKey:p,header:m,headerClass:h,classNames:d,styles:f,isActive:y,prefixCls:r,destroyOnHidden:g??o,openMotion:l,accordion:i,children:e.props.children,onItemClick:e=>{b!==`disabled`&&(s(e),v?.(e))},expandIcon:u,collapsible:b};return typeof e.type==`string`?e:(Object.keys(x).forEach(e=>{x[e]===void 0&&delete x[e]}),C.cloneElement(e,x))};function Mh(e,t,n){return Array.isArray(e)?Ah(e,n):wr(t).map((e,t)=>jh(e,t,n))}function Nh(e){let t=e;if(!Array.isArray(t)){let e=typeof t;t=e===`number`||e===`string`?[t]:[]}return t.map(e=>String(e))}var Ph=Object.assign(C.forwardRef((e,t)=>{let{prefixCls:n=`rc-collapse`,destroyOnHidden:r=!1,style:i,accordion:a,className:o,children:s,collapsible:c,openMotion:l,expandIcon:u,activeKey:d,defaultActiveKey:f,onChange:p,items:m,classNames:h,styles:g}=e,_=q(n,o),[v,y]=Wn(f,d),b=Nh(v),x=Rn(e=>{let t=Nh(e);y(t),p?.(t)}),S=e=>{x(a?b[0]===e?[]:[e]:b.includes(e)?b.filter(t=>t!==e):[...b,e])};xr(!s,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");let w=Mh(m,s,{prefixCls:n,accordion:a,openMotion:l,expandIcon:u,collapsible:c,destroyOnHidden:r,onItemClick:S,activeKey:b,classNames:h,styles:g});return C.createElement(`div`,wh({ref:t,className:_,style:i,role:a?`tablist`:void 0},Hu(e,{aria:!0,data:!0})),w)}),{Panel:Eh}),Fh=Ph,{Panel:Qee}=Ph,Ih=C.forwardRef((e,t)=>{let{getPrefixCls:n}=C.useContext(si),{prefixCls:r,className:i,showArrow:a=!0}=e,o=n(`collapse`,r),s=q({[`${o}-no-arrow`]:!a},i);return C.createElement(Fh.Panel,{ref:t,...e,prefixCls:o,className:s})}),Lh=e=>{let{componentCls:t,contentBg:n,padding:r,headerBg:i,headerPadding:a,collapseHeaderPaddingSM:o,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:l,lineType:u,colorBorder:d,colorText:f,colorTextHeading:p,colorTextDisabled:m,fontSizeLG:h,lineHeight:g,lineHeightLG:_,marginSM:v,paddingSM:y,paddingLG:b,paddingXS:x,motionDurationSlow:S,fontSizeIcon:C,contentPadding:w,fontHeight:T,fontHeightLG:E}=e,D=`${J(l)} ${u} ${d}`;return{[t]:{...Yc(e),backgroundColor:i,border:D,borderRadius:c,"&-rtl":{direction:`rtl`},[`& > ${t}-item`]:{borderBottom:D,"&:first-child":{[` &, & > ${t}-header`]:{borderRadius:`${J(c)} ${J(c)} 0 0`}},"&:last-child":{[` &, - & > ${t}-header`]:{borderRadius:`0 0 ${J(c)} ${J(c)}`}},[`> ${t}-header`]:{position:`relative`,display:`flex`,flexWrap:`nowrap`,alignItems:`flex-start`,padding:a,color:p,lineHeight:g,cursor:`pointer`,transition:`all ${S}, visibility 0s`,...$c(e),[`> ${t}-title`]:{flex:`auto`},[`${t}-expand-icon`]:{height:T,display:`flex`,alignItems:`center`,marginInlineEnd:v},[`${t}-arrow`]:{...Xc(),fontSize:C,transition:`transform ${S}`,svg:{transition:`transform ${S}`}},[`${t}-title`]:{marginInlineEnd:`auto`}},[`${t}-collapsible-header`]:{cursor:`default`,[`${t}-title`]:{flex:`none`,cursor:`pointer`},[`${t}-expand-icon`]:{cursor:`pointer`}},[`${t}-collapsible-icon`]:{cursor:`unset`,[`${t}-expand-icon`]:{cursor:`pointer`}}},[`${t}-panel`]:{color:f,backgroundColor:n,borderTop:D,[`& > ${t}-body`]:{padding:w},"&-hidden":{display:`none`}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:o,paddingInlineStart:x,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(y).sub(x).equal()}},[`> ${t}-panel > ${t}-body`]:{padding:y}}},"&-large":{[`> ${t}-item`]:{fontSize:h,lineHeight:_,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:E,marginInlineStart:e.calc(b).sub(r).equal()}},[`> ${t}-panel > ${t}-body`]:{padding:b}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-panel`]:{borderRadius:`0 0 ${J(c)} ${J(c)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"&, & > .arrow":{color:m,cursor:`not-allowed`}},[`&${t}-icon-placement-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,marginInlineEnd:0,marginInlineStart:v}}}}}}},Oh=e=>{let{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:`rotate(180deg)`}}}},kh=e=>{let{componentCls:t,headerBg:n,borderlessContentPadding:r,borderlessContentBg:i,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` + & > ${t}-header`]:{borderRadius:`0 0 ${J(c)} ${J(c)}`}},[`> ${t}-header`]:{position:`relative`,display:`flex`,flexWrap:`nowrap`,alignItems:`flex-start`,padding:a,color:p,lineHeight:g,cursor:`pointer`,transition:`all ${S}, visibility 0s`,...$c(e),[`> ${t}-title`]:{flex:`auto`},[`${t}-expand-icon`]:{height:T,display:`flex`,alignItems:`center`,marginInlineEnd:v},[`${t}-arrow`]:{...Xc(),fontSize:C,transition:`transform ${S}`,svg:{transition:`transform ${S}`}},[`${t}-title`]:{marginInlineEnd:`auto`}},[`${t}-collapsible-header`]:{cursor:`default`,[`${t}-title`]:{flex:`none`,cursor:`pointer`},[`${t}-expand-icon`]:{cursor:`pointer`}},[`${t}-collapsible-icon`]:{cursor:`unset`,[`${t}-expand-icon`]:{cursor:`pointer`}}},[`${t}-panel`]:{color:f,backgroundColor:n,borderTop:D,[`& > ${t}-body`]:{padding:w},"&-hidden":{display:`none`}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:o,paddingInlineStart:x,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(y).sub(x).equal()}},[`> ${t}-panel > ${t}-body`]:{padding:y}}},"&-large":{[`> ${t}-item`]:{fontSize:h,lineHeight:_,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:E,marginInlineStart:e.calc(b).sub(r).equal()}},[`> ${t}-panel > ${t}-body`]:{padding:b}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-panel`]:{borderRadius:`0 0 ${J(c)} ${J(c)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"&, & > .arrow":{color:m,cursor:`not-allowed`}},[`&${t}-icon-placement-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,marginInlineEnd:0,marginInlineStart:v}}}}}}},Rh=e=>{let{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:`rotate(180deg)`}}}},zh=e=>{let{componentCls:t,headerBg:n,borderlessContentPadding:r,borderlessContentBg:i,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` > ${t}-item:last-child, > ${t}-item:last-child ${t}-header - `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-panel`]:{backgroundColor:i,borderTop:0},[`> ${t}-item > ${t}-panel > ${t}-body`]:{padding:r}}}},Ah=e=>{let{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:`transparent`,border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-panel`]:{backgroundColor:`transparent`,border:0,[`> ${t}-body`]:{paddingBlock:n}}}}}},jh=il(`Collapse`,e=>{let t=_s(e,{collapseHeaderPaddingSM:`${J(e.paddingXS)} ${J(e.paddingSM)}`,collapseHeaderPaddingLG:`${J(e.padding)} ${J(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[Dh(t),kh(t),Ah(t),Oh(t),Xm(t)]},e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer,borderlessContentPadding:`${e.paddingXXS}px 16px ${e.padding}px`,borderlessContentBg:`transparent`})),Mh=Object.assign(C.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r,expandIcon:i,className:a,style:o,classNames:s,styles:c}=ui(`collapse`),{prefixCls:l,className:u,rootClassName:d,style:f,bordered:p=!0,ghost:m,size:h,expandIconPlacement:g,expandIconPosition:_,children:v,destroyInactivePanel:y,destroyOnHidden:b,expandIcon:x,classNames:S,styles:w}=e,T=Pm(e=>h??e??`middle`),E=n(`collapse`,l),D=n(),[O,k]=jh(E),A=g??_??`start`,j={...e,size:T,bordered:p,expandIconPlacement:A},[M,N]=Id([s,S],[c,w],{props:j}),P=x??i,F=C.useCallback((e={})=>Fp(typeof P==`function`?P(e):C.createElement(vh,{rotate:e.isActive?r===`rtl`?-90:90:void 0,"aria-label":e.isActive?`expanded`:`collapsed`}),e=>({className:q(e.className,`${E}-arrow`)})),[P,E,r]),I=q(`${E}-icon-placement-${A}`,{[`${E}-borderless`]:!p,[`${E}-rtl`]:r===`rtl`,[`${E}-ghost`]:!!m,[`${E}-large`]:T===`large`,[`${E}-small`]:T===`small`},a,u,d,O,k,M.root),L=C.useMemo(()=>({...Om(D),motionAppear:!1,leavedClassName:`${E}-panel-hidden`}),[D,E]),R=C.useMemo(()=>v?wr(v).map(e=>e):null,[v]);return C.createElement(Th,{ref:t,openMotion:L,...Cr(e,[`rootClassName`]),expandIcon:F,prefixCls:E,className:I,style:{...N.root,...o,...f},classNames:M,styles:N,destroyOnHidden:b??y},R)}),{Panel:Eh}),Nh=e=>e instanceof gh?e:new gh(e),Ph=(e,t)=>{let{r:n,g:r,b:i,a}=e.toRgb(),o=new hh(e.toRgbString()).onBackground(t).toHsv();return a<=.5?o.v>.5:n*.299+r*.587+i*.114>192},Fh=e=>{let{paddingInline:t,onlyIconSize:n,borderColorDisabled:r}=e;return _s(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n,colorBorderDisabled:r})},Ih=e=>{let t=e.contentFontSize??e.fontSize,n=e.contentFontSizeSM??e.fontSize,r=e.contentFontSizeLG??e.fontSizeLG,i=e.contentLineHeight??ks(t),a=e.contentLineHeightSM??ks(n),o=e.contentLineHeightLG??ks(r),s=Ph(new gh(e.colorBgSolid),`#fff`)?`#000`:`#fff`,c=Os.reduce((t,n)=>({...t,[`${n}ShadowColor`]:`0 ${J(e.controlOutlineWidth)} 0 ${Vc(e[`${n}1`],e.colorBgContainer)}`}),{}),l=e.colorBgContainerDisabled,u=e.colorBgContainerDisabled;return{...c,fontWeight:400,iconGap:e.marginXS,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorderDisabled,defaultGhostColor:e.colorBgContainer,ghostBg:`transparent`,defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:`inherit`,onlyIconSizeSM:`inherit`,onlyIconSizeLG:`inherit`,groupBorderColor:e.colorPrimaryHover,linkHoverBg:`transparent`,textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:s,contentFontSize:t,contentFontSizeSM:n,contentFontSizeLG:r,contentLineHeight:i,contentLineHeightSM:a,contentLineHeightLG:o,paddingBlock:Math.max((e.controlHeight-t*i)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-n*a)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-r*o)/2-e.lineWidth,0),defaultBgDisabled:l,dashedBgDisabled:u}},Lh=e=>{let{componentCls:t,antCls:n,lineWidth:r}=e,[i,a]=sl(n,`btn`);return{[t]:[{[i(`border-width`)]:r,[i(`border-color`)]:`#000`,[i(`border-color-hover`)]:a(`border-color`),[i(`border-color-active`)]:a(`border-color`),[i(`border-color-disabled`)]:a(`border-color`),[i(`border-style`)]:`solid`,[i(`text-color`)]:`#000`,[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`),[i(`text-color-disabled`)]:a(`text-color`),[i(`bg-color`)]:`#ddd`,[i(`bg-color-hover`)]:a(`bg-color`),[i(`bg-color-active`)]:a(`bg-color`),[i(`bg-color-disabled`)]:e.colorBgContainerDisabled,[i(`bg-color-container`)]:e.colorBgContainer,[i(`shadow`)]:`none`},{border:[a(`border-width`),a(`border-style`),a(`border-color`)].join(` `),color:a(`text-color`),backgroundColor:a(`bg-color`),[`&:not(:disabled):not(${t}-disabled)`]:{"&:hover":{border:[a(`border-width`),a(`border-style`),a(`border-color-hover`)].join(` `),color:a(`text-color-hover`),backgroundColor:a(`bg-color-hover`)},"&:active":{border:[a(`border-width`),a(`border-style`),a(`border-color-active`)].join(` `),color:a(`text-color-active`),backgroundColor:a(`bg-color-active`)}}},{[`&${t}-variant-solid`]:{[i(`solid-bg-color`)]:a(`color-base`),[i(`solid-bg-color-hover`)]:a(`color-hover`),[i(`solid-bg-color-active`)]:a(`color-active`),[i(`border-color`)]:`transparent`,[i(`text-color`)]:e.colorTextLightSolid,[i(`bg-color`)]:a(`solid-bg-color`),[i(`bg-color-hover`)]:a(`solid-bg-color-hover`),[i(`bg-color-active`)]:a(`solid-bg-color-active`),boxShadow:a(`shadow`)},[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i(`border-color`)]:a(`color-base`),[i(`border-color-hover`)]:a(`color-hover`),[i(`border-color-active`)]:a(`color-active`),[i(`bg-color`)]:a(`bg-color-container`),[i(`text-color`)]:a(`color-base`),[i(`text-color-hover`)]:a(`color-hover`),[i(`text-color-active`)]:a(`color-active`),boxShadow:a(`shadow`)},[`&${t}-variant-dashed`]:{[i(`border-style`)]:`dashed`,[i(`bg-color-disabled`)]:e.dashedBgDisabled},[`&${t}-variant-filled`]:{[i(`border-color`)]:`transparent`,[i(`text-color`)]:a(`color-base`),[i(`bg-color`)]:a(`color-light`),[i(`bg-color-hover`)]:a(`color-light-hover`),[i(`bg-color-active`)]:a(`color-light-active`)},[`&${t}-variant-text, &${t}-variant-link`]:{[i(`border-color`)]:`transparent`,[i(`text-color`)]:a(`color-base`),[i(`text-color-hover`)]:a(`color-hover`),[i(`text-color-active`)]:a(`color-active`),[i(`bg-color`)]:`transparent`,[i(`bg-color-hover`)]:`transparent`,[i(`bg-color-active`)]:`transparent`,[`&:disabled, &${e.componentCls}-disabled`]:{background:`transparent`,borderColor:`transparent`}},[`&${t}-variant-text`]:{[i(`bg-color-hover`)]:a(`color-light`),[i(`bg-color-active`)]:a(`color-light-active`)}},{[`&${t}-variant-link`]:{[i(`color-base`)]:e.colorLink,[i(`color-hover`)]:e.colorLinkHover,[i(`color-active`)]:e.colorLinkActive,[i(`bg-color-hover`)]:e.linkHoverBg},[`&${t}-color-primary`]:{[i(`color-base`)]:e.colorPrimary,[i(`color-hover`)]:e.colorPrimaryHover,[i(`color-active`)]:e.colorPrimaryActive,[i(`color-light`)]:e.colorPrimaryBg,[i(`color-light-hover`)]:e.colorPrimaryBgHover,[i(`color-light-active`)]:e.colorPrimaryBorder,[i(`shadow`)]:e.primaryShadow,[`&${t}-variant-solid`]:{[i(`text-color`)]:e.primaryColor,[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`)}},[`&${t}-color-dangerous`]:{[i(`color-base`)]:e.colorError,[i(`color-hover`)]:e.colorErrorHover,[i(`color-active`)]:e.colorErrorActive,[i(`color-light`)]:e.colorErrorBg,[i(`color-light-hover`)]:e.colorErrorBgFilledHover,[i(`color-light-active`)]:e.colorErrorBgActive,[i(`shadow`)]:e.dangerShadow,[`&${t}-variant-solid`]:{[i(`text-color`)]:e.dangerColor,[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`)}},[`&${t}-color-default`]:{[i(`solid-bg-color`)]:e.colorBgSolid,[i(`solid-bg-color-hover`)]:e.colorBgSolidHover,[i(`solid-bg-color-active`)]:e.colorBgSolidActive,[i(`color-base`)]:e.defaultBorderColor,[i(`color-hover`)]:e.defaultHoverBorderColor,[i(`color-active`)]:e.defaultActiveBorderColor,[i(`color-light`)]:e.colorFillTertiary,[i(`color-light-hover`)]:e.colorFillSecondary,[i(`color-light-active`)]:e.colorFill,[i(`text-color`)]:e.defaultColor,[i(`text-color-hover`)]:e.defaultHoverColor,[i(`text-color-active`)]:e.defaultActiveColor,[i(`shadow`)]:e.defaultShadow,[`&${t}-variant-outlined`]:{[i(`bg-color-disabled`)]:e.defaultBgDisabled},[`&${t}-variant-solid`]:{[i(`text-color`)]:e.solidTextColor,[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`)},[`&${t}-variant-filled, &${t}-variant-text`]:{[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`)},[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i(`text-color`)]:e.defaultColor,[i(`text-color-hover`)]:e.defaultHoverColor,[i(`text-color-active`)]:e.defaultActiveColor,[i(`bg-color-container`)]:e.defaultBg,[i(`bg-color-hover`)]:e.defaultHoverBg,[i(`bg-color-active`)]:e.defaultActiveBg},[`&${t}-variant-text`]:{[i(`text-color`)]:e.textTextColor,[i(`text-color-hover`)]:e.textTextHoverColor,[i(`text-color-active`)]:e.textTextActiveColor,[i(`bg-color-hover`)]:e.textHoverBg},[`&${t}-background-ghost`]:{[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i(`text-color`)]:e.defaultGhostColor,[i(`border-color`)]:e.defaultGhostBorderColor}}}},Os.map(n=>{let r=e[`${n}6`],a=e[`${n}1`],o=e[`${n}Hover`],s=e[`${n}2`],c=e[`${n}3`],l=e[`${n}Active`],u=e[`${n}ShadowColor`];return{[`&${t}-color-${n}`]:{[i(`color-base`)]:r,[i(`color-hover`)]:o,[i(`color-active`)]:l,[i(`color-light`)]:a,[i(`color-light-hover`)]:s,[i(`color-light-active`)]:c,[i(`shadow`)]:u}}}),{[`&:disabled, &${e.componentCls}-disabled`]:{cursor:`not-allowed`,borderColor:e.colorBorderDisabled,background:a(`bg-color-disabled`),color:e.colorTextDisabled,boxShadow:`none`}},{[`&${t}-background-ghost`]:{[i(`bg-color`)]:e.ghostBg,[i(`bg-color-hover`)]:e.ghostBg,[i(`bg-color-active`)]:e.ghostBg,[i(`shadow`)]:`none`,[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i(`bg-color-hover`)]:e.ghostBg,[i(`bg-color-active`)]:e.ghostBg}}}]}},Rh=e=>{let{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:i,motionDurationSlow:a,motionEaseInOut:o,iconGap:s,calc:c}=e;return{[t]:{outline:`none`,position:`relative`,display:`inline-flex`,gap:s,alignItems:`center`,justifyContent:`center`,fontWeight:r,whiteSpace:`nowrap`,textAlign:`center`,backgroundImage:`none`,cursor:`pointer`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:`none`,touchAction:`manipulation`,...ch(),"&:disabled > *":{pointerEvents:`none`},[`${t}-icon > svg`]:Xc(),"> a":{color:`currentColor`},"&:not(:disabled)":$c(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:`0.34em`},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:`-0.34em`,letterSpacing:`0.34em`},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:`none`}},[`&${t}-loading`]:{opacity:i,cursor:`default`},[`${t}-loading-icon`]:{transition:[`width`,`opacity`,`margin`].map(e=>`${e} ${a} ${o}`).join(`,`)},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:c(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:`row-reverse`,[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:c(s).mul(-1).equal()}}}}}},zh=e=>({minWidth:e.controlHeight,paddingInline:0,borderRadius:`50%`}),Bh=(e,t=``)=>{let{componentCls:n,controlHeight:r,fontSize:i,borderRadius:a,buttonPaddingHorizontal:o,iconCls:s,buttonPaddingVertical:c,buttonIconOnlyFontSize:l}=e;return[{[t]:{fontSize:i,height:r,padding:`${J(c)} ${J(o)}`,borderRadius:a,[`&${n}-icon-only`]:{width:r,[s]:{fontSize:l}}}},{[`${n}${n}-circle${t}`]:zh(e)},{[`${n}${n}-round${t}`]:{borderRadius:e.controlHeight,[`&:not(${n}-icon-only)`]:{paddingInline:e.buttonPaddingHorizontal}}}]},Vh=e=>Bh(_s(e,{fontSize:e.contentFontSize}),e.componentCls),Hh=e=>Bh(_s(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM}),`${e.componentCls}-sm`),Uh=e=>Bh(_s(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG}),`${e.componentCls}-lg`),Wh=e=>{let{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:`100%`}}}},Gh=il(`Button`,e=>{let t=Fh(e);return[Rh(t),Vh(t),Hh(t),Uh(t),Wh(t),Lh(t),Qee(t)]},Ih,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function Kh(e,t,n,r){let{focusElCls:i,focus:a,borderElCls:o}=n,s=o?`> *`:``,c=[`hover`,a?`focus`:null,`active`].filter(Boolean).map(e=>`&:${e} ${s}`).join(`,`);return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${r}-status-success)`]:{zIndex:2},"&-item":{[c]:{zIndex:3},...i?{[`&${i}`]:{zIndex:3}}:{},[`&[disabled] ${s}`]:{zIndex:0}}}}function qh(e,t,n){let{borderElCls:r}=n,i=r?`> ${r}`:``;return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${i}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Jh(e,t={focus:!0}){let{componentCls:n}=e,{componentCls:r}=t,i=r||n,a=`${i}-compact`;return{[a]:{...Kh(e,a,t,i),...qh(i,a,t)}}}function Yh(e,t,n){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${n}-status-success)`]:{zIndex:2},"&-item":{"&:hover,&:focus,&:active":{zIndex:3},"&[disabled]":{zIndex:0}}}}function Xh(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Zh(e){let t=`${e.componentCls}-compact-vertical`;return{[t]:{...Yh(e,t,e.componentCls),...Xh(e.componentCls,t)}}}var Qh=e=>{let{antCls:t,componentCls:n,lineWidth:r,calc:i,colorBgContainer:a}=e,o=`${n}-variant-solid:not([disabled])`,s=i(r).mul(-1).equal(),[c,l]=sl(t,`btn`),u=e=>({[`${n}-compact${e?`-vertical`:``}-item`]:{[c(`compact-connect-border-color`)]:l(`bg-color-hover`),[`&${o}`]:{transition:`none`,[`& + ${o}:before`]:[{position:`absolute`,backgroundColor:l(`compact-connect-border-color`),content:`""`},e?{top:s,insetInline:s,height:r}:{insetBlock:s,insetInlineStart:s,width:r}],"&:hover:before":{display:`none`}}}});return[u(),u(!0),{[`${o}${n}-color-default`]:{[c(`compact-connect-border-color`)]:`color-mix(in srgb, ${l(`bg-color-hover`)} 75%, ${a})`}}]},$h=ol([`Button`,`compact`],e=>{let t=Fh(e);return[Jh(t),Zh(t),Qh(t)]},Ih);function eg(e){if(gd(e)){let t=e?.delay;return t=md(t)?t:0,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}var tg={default:[`default`,`outlined`],primary:[`primary`,`solid`],dashed:[`default`,`dashed`],link:[`link`,`link`],text:[`default`,`text`]},ng=C.forwardRef((e,t)=>{let{_skipSemantic:n,loading:r=!1,prefixCls:i,color:a,variant:o,type:s,danger:c=!1,shape:l,size:u,disabled:d,className:f,rootClassName:p,children:m,icon:h,iconPosition:g,iconPlacement:_,ghost:v=!1,block:y=!1,htmlType:b=`button`,classNames:x,styles:S,style:w,autoInsertSpace:T,autoFocus:E,...D}=e,O=wr(m),k=s||`default`,{getPrefixCls:A,direction:j,autoInsertSpace:M,className:N,style:P,classNames:F,styles:I,loadingIcon:L,shape:R,color:z,variant:B}=ui(`button`),V=l||R||`default`,[H,U]=(0,C.useMemo)(()=>{if(a&&o)return[a,o];if(s||c){let e=tg[k]||[];return c?[`danger`,e[1]]:e}return z&&B?[z,B]:[`default`,`outlined`]},[a,o,s,c,z,B,k]),[W,ee]=(0,C.useMemo)(()=>v&&U===`solid`?[H,`outlined`]:[H,U],[H,U,v]),te=W===`danger`,ne=te?`dangerous`:W,re=T??M??!0,ie=A(`btn`,i),[ae,G]=Gh(ie),oe=(0,C.useContext)(Bp),K=d??oe,se=(0,C.useContext)(Rm),ce=(0,C.useMemo)(()=>eg(r),[r]),[le,ue]=(0,C.useState)(ce.loading),[de,fe]=(0,C.useState)(!1),pe=(0,C.useRef)(null),me=tr(t,pe),he=O.length===1&&!h&&!Hm(ee),ge=(0,C.useRef)(!0);C.useEffect(()=>(ge.current=!1,()=>{ge.current=!0}),[]),Vn(()=>{let e=null;ce.delay>0?e=setTimeout(()=>{e=null,ue(!0)},ce.delay):ue(ce.loading);function t(){e&&=(clearTimeout(e),null)}return t},[ce.delay,ce.loading]),(0,C.useEffect)(()=>{if(!pe.current||!re)return;let e=pe.current.textContent||``;he&&Bm(e)?de||fe(!0):de&&fe(!1)}),(0,C.useEffect)(()=>{E&&pe.current&&pe.current.focus()},[]);let _e=C.useCallback(t=>{if(le||K){t.preventDefault();return}e.onClick?.((`href`in e,t))},[e.onClick,le,K]),{compactSize:ve,compactItemClassnames:ye}=Im(ie,j),be=Pm(e=>u??ve??se??e),xe=le?`loading`:h,Se=_??g??`start`,Ce=Cr(D,[`navigate`]),we={...e,type:k,color:W,variant:ee,danger:te,shape:V,size:be,disabled:K,loading:le,iconPlacement:Se},[Te,Ee]=Id([n?void 0:F,x],[n?void 0:I,S],{props:we}),De=q(ie,ae,G,{[`${ie}-${V}`]:V!==`default`&&V!==`square`&&V,[`${ie}-${k}`]:k,[`${ie}-dangerous`]:c,[`${ie}-color-${ne}`]:ne,[`${ie}-variant-${ee}`]:ee,[`${ie}-lg`]:be===`large`,[`${ie}-sm`]:be===`small`,[`${ie}-icon-only`]:!m&&m!==0&&!!xe,[`${ie}-background-ghost`]:v&&!Hm(ee),[`${ie}-loading`]:le,[`${ie}-two-chinese-chars`]:de&&re&&!le,[`${ie}-block`]:y,[`${ie}-rtl`]:j===`rtl`,[`${ie}-icon-end`]:Se===`end`},ye,f,p,N,Te.root),Oe={...Ee.root,...P,...w},ke={className:Te.icon,style:Ee.icon},Ae=e=>C.createElement(Gm,{prefixCls:ie,...ke},e),je=C.createElement(Ym,{existIcon:!!h,prefixCls:ie,loading:le,mount:ge.current,...ke}),Me=gd(r)&&r.icon||L,Ne;Ne=h&&!le?Ae(h):r&&Me?Ae(Me):je;let Pe=pd(m)?Wm(m,he&&re,Ee.content,Te.content):null;if(Ce.href!==void 0)return C.createElement(`a`,{...Ce,className:q(De,{[`${ie}-disabled`]:K}),href:K?void 0:Ce.href,style:Oe,onClick:_e,ref:me,tabIndex:K?-1:0,"aria-disabled":K},Ne,Pe);let Fe=C.createElement(`button`,{...D,type:b,className:De,style:Oe,onClick:_e,disabled:K,ref:me},Ne,Pe,ye&&C.createElement($h,{prefixCls:ie}));return Hm(ee)||(Fe=C.createElement(Nm,{component:`Button`,disabled:le},Fe)),Fe});ng.Group=kee,ng.__ANT_BUTTON=!0;var rg=e=>{let{type:t,children:n,prefixCls:r,buttonProps:i,close:a,autoFocus:o,emitEvent:s,isSilent:c,quitOnNullishReturnValue:l,actionFn:u}=e,d=C.useRef(!1),f=C.useRef(null),[p,m]=Un(!1),h=(...e)=>{a?.(...e)};C.useEffect(()=>{let e=null;return o&&(e=setTimeout(()=>{f.current?.focus({preventScroll:!0})})),()=>{e&&clearTimeout(e)}},[o]);let g=e=>{vd(e)&&(m(!0),e.then((...e)=>{m(!1,!0),h.apply(void 0,e),d.current=!1},e=>{if(m(!1,!0),d.current=!1,!c?.())return Promise.reject(e)}))},_=e=>{if(d.current)return;if(d.current=!0,!u){h();return}let t;if(s){if(t=u(e),l&&!vd(t)){d.current=!1,h(e);return}}else if(u.length)t=u(a),d.current=!1;else if(t=u(),!vd(t)){h();return}g(t)};return C.createElement(ng,{...Vm(t),onClick:_,loading:p,prefixCls:r,...i,ref:f},n)},ig=C.createContext({}),{Provider:ag}=ig,og=()=>{let{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:i,rootPrefixCls:a,close:o,onCancel:s,onConfirm:c,onClose:l}=(0,C.useContext)(ig);return i?C.createElement(rg,{isSilent:r,actionFn:s,close:(...e)=>{o?.(...e),c?.(!1),l?.()},autoFocus:e===`cancel`,buttonProps:t,prefixCls:`${a}-btn`},n):null},sg=()=>{let{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:i,okTextLocale:a,okType:o,onConfirm:s,onOk:c,onClose:l}=(0,C.useContext)(ig);return C.createElement(rg,{isSilent:n,type:o||`primary`,actionFn:c,close:(...e)=>{t?.(...e),s?.(!0),l?.()},autoFocus:e===`ok`,buttonProps:r,prefixCls:`${i}-btn`},a)},cg=C.createContext({});function lg(e,t,n){let r=t;return!r&&n&&(r=`${e}-${n}`),r}function ug(e,t){let n=e[`page${t?`Y`:`X`}Offset`],r=`scroll${t?`Top`:`Left`}`;if(typeof n!=`number`){let t=e.document;n=t.documentElement[r],typeof n!=`number`&&(n=t.body[r])}return n}function lte(e){let t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=ug(i),n.top+=ug(i,!0),n}function dg(e,t=!1){if(lp(e)){let n=e.nodeName.toLowerCase(),r=[`input`,`select`,`textarea`,`button`].includes(n)||e.isContentEditable||n===`a`&&!!e.getAttribute(`href`),i=e.getAttribute(`tabindex`),a=Number(i),o=null;return i&&!Number.isNaN(a)?o=a:r&&o===null&&(o=0),r&&e.disabled&&(o=null),o!==null&&(o>=0||t&&o<0)}return!1}function fg(e,t=!1){let n=[...e.querySelectorAll(`*`)].filter(e=>dg(e,t));return dg(e,t)&&n.unshift(e),n}function pg(e,t){if(!e)return;e.focus(t);let{cursor:n}=t||{};if(n&&(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)){let t=e.value.length;switch(n){case`start`:e.setSelectionRange(0,0);break;case`end`:e.setSelectionRange(t,t);break;default:e.setSelectionRange(0,t)}}}var mg=null,hg=[],gg=new Map,_g=new Map;function vg(){return hg[hg.length-1]}function ute(e){let t=vg();if(e&&t){let n;for(let[e,r]of gg.entries())if(r===t){n=e;break}let r=_g.get(n);return!!r&&(r===e||r.contains(e))}return!1}function dte(e){let{activeElement:t}=document;return e===t||e.contains(t)}function yg(){let e=vg(),{activeElement:t}=document;if(!ute(t))if(e&&!dte(e)){let t=fg(e);(t.includes(mg)?mg:t[0])?.focus({preventScroll:!0})}else mg=t}function bg(e){if(e.key===`Tab`){let{activeElement:t}=document,n=fg(vg()),r=n[n.length-1];e.shiftKey&&t===n[0]?mg=r:!e.shiftKey&&t===r&&(mg=n[0])}}function fte(e,t){return e&&(gg.set(t,e),hg=hg.filter(t=>t!==e),hg.push(e),window.addEventListener(`focusin`,yg),window.addEventListener(`keydown`,bg,!0),yg()),()=>{mg=null,hg=hg.filter(t=>t!==e),gg.delete(t),_g.delete(t),hg.length===0&&(window.removeEventListener(`focusin`,yg),window.removeEventListener(`keydown`,bg,!0))}}function pte(e,t){let n=(0,C.useRef)(0),[r,i]=(0,C.useState)(0);(0,C.useEffect)(()=>{n.current=0},t),(0,C.useEffect)(()=>{let[t,r]=e(n.current);return r||(n.current+=1,i(e=>e+1)),t},[...t,r])}function xg(e,t){let n=Bf(),r=(0,C.useRef)(t);return r.current=t,pte(t=>{if(!e)return[void 0,!0];let i=r.current();return i?[fte(i,n),!0]:[void 0,t>=1]},[n,e]),[e=>{e&&_g.set(n,e)}]}var mte=C.memo(({children:e})=>e,(e,{shouldUpdate:t})=>!t);function Sg(){return Sg=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,className:r,style:i,title:a,ariaId:o,footer:s,closable:c,closeIcon:l,onClose:u,children:d,bodyStyle:f,bodyProps:p,modalRender:m,onMouseDown:h,onMouseUp:g,holderRef:_,visible:v,forceRender:y,width:b,height:x,classNames:S,styles:w,isFixedPos:T,focusTrap:E}=e,{panel:D}=C.useContext(cg),O=(0,C.useRef)(null),k=tr(_,D,O),[A]=xg(v&&T&&E!==!1,()=>O.current);C.useImperativeHandle(t,()=>({focus:()=>{O.current?.focus({preventScroll:!0})}}));let j={};b!==void 0&&(j.width=b),x!==void 0&&(j.height=x);let M=s?C.createElement(`div`,{className:q(`${n}-footer`,S?.footer),style:{...w?.footer}},s):null,N=a?C.createElement(`div`,{className:q(`${n}-header`,S?.header),style:{...w?.header}},C.createElement(`div`,{className:q(`${n}-title`,S?.title),id:o,style:{...w?.title}},a)):null,P=(0,C.useMemo)(()=>typeof c==`object`&&c?c:c?{closeIcon:l??C.createElement(`span`,{className:`${n}-close-x`})}:{},[c,l,n]),F=Hu(P,!0),I=typeof c==`object`&&c.disabled,L=c?C.createElement(`button`,Sg({type:`button`,onClick:u,"aria-label":`Close`},F,{className:`${n}-close`,disabled:I}),P.closeIcon):null,R=C.createElement(`div`,{className:q(`${n}-container`,S?.container),style:w?.container},L,N,C.createElement(`div`,Sg({className:q(`${n}-body`,S?.body),style:{...f,...w?.body}},p),d),M);return C.createElement(`div`,{key:`dialog-element`,role:`dialog`,"aria-labelledby":a?o:null,"aria-modal":`true`,ref:k,style:{...i,...j},className:q(n,r),onMouseDown:h,onMouseUp:g,tabIndex:-1,onFocus:e=>{A(e.target)}},C.createElement(mte,{shouldUpdate:v||y},m?m(R):R))});function wg(){return wg=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,title:r,style:i,className:a,visible:o,forceRender:s,destroyOnHidden:c,motionName:l,ariaId:u,onVisibleChanged:d,mousePosition:f}=e,p=(0,C.useRef)(null),m=(0,C.useRef)(null);C.useImperativeHandle(t,()=>({...m.current,inMotion:p.current.inMotion,enableMotion:p.current.enableMotion}));let[h,g]=C.useState(),_={};h&&(_.transformOrigin=h);function v(){if(!p.current?.nativeElement)return;let e=lte(p.current.nativeElement);g(f&&(f.x||f.y)?`${f.x-e.left}px ${f.y-e.top}px`:``)}return C.createElement(Lu,{visible:o,onVisibleChanged:d,onAppearPrepare:v,onEnterPrepare:v,forceRender:s,motionName:l,removeOnLeave:c,ref:p},({className:t,style:o},s)=>C.createElement(Cg,wg({},e,{ref:m,title:r,ariaId:u,prefixCls:n,holderRef:s,style:{...o,...i,..._},className:q(a,t)})))});function Tg(){return Tg=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t,style:n,visible:r,maskProps:i,motionName:a,className:o}=e;return C.createElement(Lu,{key:`mask`,visible:r,motionName:a,leavedClassName:`${t}-mask-hidden`},({className:e,style:r},a)=>C.createElement(`div`,Tg({ref:a,style:{...r,...n},className:q(`${t}-mask`,e,o)},i)))};function Eg(){return Eg=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t=`rc-dialog`,zIndex:n,visible:r=!1,focusTriggerAfterClose:i=!0,wrapStyle:a,wrapClassName:o,wrapProps:s,onClose:c,afterOpenChange:l,afterClose:u,transitionName:d,animation:f,closable:p=!0,mask:m=!0,maskTransitionName:h,maskAnimation:g,maskClosable:_=!0,maskStyle:v,maskProps:y,rootClassName:b,rootStyle:x,classNames:S,styles:w}=e,T=(0,C.useRef)(null),E=(0,C.useRef)(null),D=(0,C.useRef)(null),[O,k]=C.useState(r),[A,j]=C.useState(!1),M=Bf();function N(){fi(E.current,document.activeElement)||(T.current=document.activeElement)}function P(){fi(E.current,document.activeElement)||D.current?.focus()}function F(){if(k(!1),m&&T.current&&i){try{T.current.focus({preventScroll:!0})}catch{}T.current=null}O&&u?.()}function I(e){e?P():F(),l?.(e)}function L(e){c?.(e)}let R=(0,C.useRef)(!1),z=null;_&&(z=e=>{E.current===e.target&&R.current&&L(e)});function B(e){R.current=e.target===E.current}(0,C.useEffect)(()=>{r?(R.current=!1,k(!0),N(),E.current&&j(getComputedStyle(E.current).position===`fixed`)):O&&D.current.enableMotion()&&!D.current.inMotion()&&F()},[r]);let V={zIndex:n,...a,...w?.wrapper,display:O?null:`none`};return C.createElement(`div`,Eg({className:q(`${t}-root`,b),style:x},Hu(e,{data:!0})),C.createElement(gte,{prefixCls:t,visible:m&&r,motionName:lg(t,h,g),style:{zIndex:n,...v,...w?.mask},maskProps:y,className:S?.mask}),C.createElement(`div`,Eg({className:q(`${t}-wrap`,o,S?.wrapper),ref:E,onClick:z,onMouseDown:B,style:V},s),C.createElement(hte,Eg({},e,{isFixedPos:A,ref:D,closable:p,ariaId:M,prefixCls:t,visible:r&&O,onClose:L,onVisibleChanged:I,motionName:lg(t,d,f)}))))};function Dg(){return Dg=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{visible:t,getContainer:n,forceRender:r,destroyOnHidden:i=!1,afterClose:a,closable:o,panelRef:s,keyboard:c=!0,onClose:l}=e,[u,d]=C.useState(t),f=C.useMemo(()=>({panel:s}),[s]);return C.useEffect(()=>{t&&d(!0)},[t]),!r&&i&&!u?null:C.createElement(cg.Provider,{value:f},C.createElement(Zf,{open:t||r||u,onEsc:({top:e,event:t})=>{if(e&&c){t.stopPropagation(),l?.(t);return}},autoDestroy:!1,getContainer:n,autoLock:t||u},C.createElement(_te,Dg({},e,{destroyOnHidden:i,afterClose:()=>{let{afterClose:e}=(o&&typeof o==`object`?o:{})||{};e?.(),a?.(),d(!1)}}))))},Og=`RC_FORM_INTERNAL_HOOKS`,kg=()=>{xr(!1,`Can not find FormContext. Please make sure you wrap Field under Form.`)},Ag=C.createContext({getFieldValue:kg,getFieldsValue:kg,getFieldError:kg,getFieldWarning:kg,getFieldsError:kg,isFieldsTouched:kg,isFieldTouched:kg,isFieldValidating:kg,isFieldsValidating:kg,resetFields:kg,setFields:kg,setFieldValue:kg,setFieldsValue:kg,validateFields:kg,submit:kg,getInternalHooks:()=>(kg(),{dispatch:kg,initEntityValue:kg,registerField:kg,useSubscribe:kg,setInitialValues:kg,destroyForm:kg,setCallbacks:kg,registerWatch:kg,getFields:kg,setValidateMessages:kg,setPreserve:kg,getInitialValue:kg})}),jg=C.createContext(null);function Mg(e){return e==null?[]:Array.isArray(e)?e:[e]}function yte(e){return e&&!!e._init}function Ng(){return{default:`Validation error on field %s`,required:`%s is required`,enum:`%s must be one of %s`,whitespace:`%s cannot be empty`,date:{format:`%s date %s is invalid for format %s`,parse:`%s date could not be parsed, %s is invalid `,invalid:`%s date %s is invalid`},types:{string:`%s is not a %s`,method:`%s is not a %s (function)`,array:`%s is not an %s`,object:`%s is not an %s`,number:`%s is not a %s`,date:`%s is not a %s`,boolean:`%s is not a %s`,integer:`%s is not an %s`,float:`%s is not a %s`,regexp:`%s is not a valid %s`,email:`%s is not a valid %s`,tel:`%s is not a valid %s`,url:`%s is not a valid %s`,hex:`%s is not a valid %s`},string:{len:`%s must be exactly %s characters`,min:`%s must be at least %s characters`,max:`%s cannot be longer than %s characters`,range:`%s must be between %s and %s characters`},number:{len:`%s must equal %s`,min:`%s cannot be less than %s`,max:`%s cannot be greater than %s`,range:`%s must be between %s and %s`},array:{len:`%s must be exactly %s in length`,min:`%s cannot be less than %s in length`,max:`%s cannot be greater than %s in length`,range:`%s must be between %s and %s in length`},pattern:{mismatch:`%s value %s does not match pattern %s`},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Pg=Ng();function bte(e){try{return Function.toString.call(e).indexOf(`[native code]`)!==-1}catch{return typeof e==`function`}}function xte(e,t,n){if(rs())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&es(i,n.prototype),i}function Fg(e){var t=typeof Map==`function`?new Map:void 0;return Fg=function(e){if(e===null||!bte(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return xte(e,arguments,ns(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),es(n,e)},Fg(e)}var Ste=/%[sdj%]/g,Cte=function(){};function Ig(e){if(!e||!e.length)return null;var t={};return e.forEach(function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)}),t}function Lg(e){var t=[...arguments].slice(1),n=0,r=t.length;return typeof e==`function`?e.apply(null,t):typeof e==`string`?e.replace(Ste,function(e){if(e===`%%`)return`%`;if(n>=r)return e;switch(e){case`%s`:return String(t[n++]);case`%d`:return Number(t[n++]);case`%j`:try{return JSON.stringify(t[n++])}catch{return`[Circular]`}break;default:return e}}):e}function wte(e){return e===`string`||e===`url`||e===`hex`||e===`email`||e===`date`||e===`pattern`||e===`tel`}function Rg(e,t){return!!(e==null||t===`array`&&Array.isArray(e)&&!e.length||wte(t)&&typeof e==`string`&&!e)}function Tte(e,t,n){var r=[],i=0,a=e.length;function o(e){r.push.apply(r,Qr(e||[])),i++,i===a&&n(r)}e.forEach(function(e){t(e,o)})}function zg(e,t,n){var r=0,i=e.length;function a(o){if(o&&o.length){n(o);return}var s=r;r+=1,se.max?r.push(Lg(i.messages[u].max,e.fullField,e.max)):o&&s&&(le.max)&&r.push(Lg(i.messages[u].range,e.fullField,e.min,e.max))},Wg=function(e,t,n,r,i,a){e.required&&(!n.hasOwnProperty(e.field)||Rg(t,a||e.type))&&r.push(Lg(i.messages.required,e.fullField))},Gg,Nte=(function(){if(Gg)return Gg;var e=`[a-fA-F\\d:]`,t=function(t){return t&&t.includeBoundaries?`(?:(?<=\\s|^)(?=${e})|(?<=${e})(?=\\s|\$))`:``},n=`(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}`,r=`[a-fA-F\\d]{1,4}`,i=`(?:${[`(?:${r}:){7}(?:${r}|:)`,`(?:${r}:){6}(?:${n}|:${r}|:)`,`(?:${r}:){5}(?::${n}|(?::${r}){1,2}|:)`,`(?:${r}:){4}(?:(?::${r}){0,1}:${n}|(?::${r}){1,3}|:)`,`(?:${r}:){3}(?:(?::${r}){0,2}:${n}|(?::${r}){1,4}|:)`,`(?:${r}:){2}(?:(?::${r}){0,3}:${n}|(?::${r}){1,5}|:)`,`(?:${r}:){1}(?:(?::${r}){0,4}:${n}|(?::${r}){1,6}|:)`,`(?::(?:(?::${r}){0,5}:${n}|(?::${r}){1,7}|:))`].join(`|`)})(?:%[0-9a-zA-Z]{1,})?`,a=RegExp(`(?:^${n}\$)|(?:^${i}\$)`),o=RegExp(`^${n}\$`),s=RegExp(`^${i}\$`),c=function(e){return e&&e.exact?a:RegExp(`(?:${t(e)}${n}${t(e)})|(?:${t(e)}${i}${t(e)})`,`g`)};c.v4=function(e){return e&&e.exact?o:RegExp(`${t(e)}${n}${t(e)}`,`g`)},c.v6=function(e){return e&&e.exact?s:RegExp(`${t(e)}${i}${t(e)}`,`g`)};var l=`(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|${c.v4().source}|${c.v6().source}|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?`;return Gg=RegExp(`(?:^${l}\$)`,`i`),Gg}),Kg={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,tel:/^(\+[0-9]{1,3}[-\s\u2011]?)?(\([0-9]{1,4}\)[-\s\u2011]?)?([0-9]+[-\s\u2011]?)*[0-9]+$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},qg={integer:function(e){return qg.number(e)&&parseInt(e,10)===e},float:function(e){return qg.number(e)&&!qg.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch{return!1}},date:function(e){return typeof e.getTime==`function`&&typeof e.getMonth==`function`&&typeof e.getYear==`function`&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e==`number`},object:function(e){return Bo(e)===`object`&&!qg.array(e)},method:function(e){return typeof e==`function`},email:function(e){return typeof e==`string`&&e.length<=320&&!!e.match(Kg.email)},tel:function(e){return typeof e==`string`&&e.length<=32&&!!e.match(Kg.tel)},url:function(e){return typeof e==`string`&&e.length<=2048&&!!e.match(Nte())},hex:function(e){return typeof e==`string`&&!!e.match(Kg.hex)}},Jg={required:Wg,whitespace:function(e,t,n,r,i){(/^\s+$/.test(t)||t===``)&&r.push(Lg(i.messages.whitespace,e.fullField))},type:function(e,t,n,r,i){if(e.required&&t===void 0){Wg(e,t,n,r,i);return}var a=[`integer`,`float`,`array`,`regexp`,`object`,`method`,`email`,`tel`,`number`,`date`,`url`,`hex`],o=e.type;a.indexOf(o)>-1?qg[o](t)||r.push(Lg(i.messages.types[o],e.fullField,e.type)):o&&Bo(t)!==e.type&&r.push(Lg(i.messages.types[o],e.fullField,e.type))},range:Mte,enum:Ate,pattern:jte},Pte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Rg(t)&&!e.required)return n();Jg.required(e,t,r,a,i)}n(a)},Fte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(t==null&&!e.required)return n();Jg.required(e,t,r,a,i,`array`),t!=null&&(Jg.type(e,t,r,a,i),Jg.range(e,t,r,a,i))}n(a)},Ite=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Rg(t)&&!e.required)return n();Jg.required(e,t,r,a,i),t!==void 0&&Jg.type(e,t,r,a,i)}n(a)},Lte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Rg(t,`date`)&&!e.required)return n();if(Jg.required(e,t,r,a,i),!Rg(t,`date`)){var o=t instanceof Date?t:new Date(t);Jg.type(e,o,r,a,i),o&&Jg.range(e,o.getTime(),r,a,i)}}n(a)},Rte=`enum`,zte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Rg(t)&&!e.required)return n();Jg.required(e,t,r,a,i),t!==void 0&&Jg[Rte](e,t,r,a,i)}n(a)},Bte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Rg(t)&&!e.required)return n();Jg.required(e,t,r,a,i),t!==void 0&&(Jg.type(e,t,r,a,i),Jg.range(e,t,r,a,i))}n(a)},Vte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Rg(t)&&!e.required)return n();Jg.required(e,t,r,a,i),t!==void 0&&(Jg.type(e,t,r,a,i),Jg.range(e,t,r,a,i))}n(a)},Hte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Rg(t)&&!e.required)return n();Jg.required(e,t,r,a,i),t!==void 0&&Jg.type(e,t,r,a,i)}n(a)},Ute=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(t===``&&(t=void 0),Rg(t)&&!e.required)return n();Jg.required(e,t,r,a,i),t!==void 0&&(Jg.type(e,t,r,a,i),Jg.range(e,t,r,a,i))}n(a)},Wte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Rg(t)&&!e.required)return n();Jg.required(e,t,r,a,i),t!==void 0&&Jg.type(e,t,r,a,i)}n(a)},Gte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Rg(t,`string`)&&!e.required)return n();Jg.required(e,t,r,a,i),Rg(t,`string`)||Jg.pattern(e,t,r,a,i)}n(a)},Kte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Rg(t)&&!e.required)return n();Jg.required(e,t,r,a,i),Rg(t)||Jg.type(e,t,r,a,i)}n(a)},qte=function(e,t,n,r,i){var a=[],o=Array.isArray(t)?`array`:Bo(t);Jg.required(e,t,r,a,i,o),n(a)},Jte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Rg(t,`string`)&&!e.required)return n();Jg.required(e,t,r,a,i,`string`),Rg(t,`string`)||(Jg.type(e,t,r,a,i),Jg.range(e,t,r,a,i),Jg.pattern(e,t,r,a,i),e.whitespace===!0&&Jg.whitespace(e,t,r,a,i))}n(a)},Yg=function(e,t,n,r,i){var a=e.type,o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Rg(t,a)&&!e.required)return n();Jg.required(e,t,r,o,i,a),Rg(t,a)||Jg.type(e,t,r,o,i)}n(o)},Xg={string:Jte,method:Hte,number:Ute,boolean:Ite,regexp:Kte,integer:Vte,float:Bte,array:Fte,object:Wte,enum:zte,pattern:Gte,date:Lte,url:Yg,hex:Yg,email:Yg,tel:Yg,required:qte,any:Pte},Zg=function(){function e(t){Xo(this,e),qo(this,`rules`,null),qo(this,`_messages`,Pg),this.define(t)}return Qo(e,[{key:`define`,value:function(e){var t=this;if(!e)throw Error(`Cannot configure a schema with no rules`);if(Bo(e)!==`object`||Array.isArray(e))throw Error(`Rules must be an object`);this.rules={},Object.keys(e).forEach(function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]})}},{key:`messages`,value:function(e){return e&&(this._messages=Hg(Ng(),e)),this._messages}},{key:`validate`,value:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},a=t,o=r,s=i;if(typeof o==`function`&&(s=o,o={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(null,a),Promise.resolve(a);function c(e){var t=[],n={};function r(e){if(Array.isArray(e)){var n;t=(n=t).concat.apply(n,Qr(e))}else t.push(e)}for(var i=0;i0&&arguments[0]!==void 0?arguments[0]:[],l=Array.isArray(c)?c:[c];!o.suppressWarning&&l.length&&e.warning(`async-validator:`,l),l.length&&r.message!==void 0&&r.message!==null&&(l=[].concat(r.message));var u=l.map(Vg(r,a));if(o.first&&u.length)return d[r.field]=1,n(u);if(!i)n(u);else{if(r.required&&!t.value)return r.message===void 0?o.error&&(u=[o.error(r,Lg(o.messages.required,r.field))]):u=[].concat(r.message).map(Vg(r,a)),n(u);var f={};r.defaultField&&Object.keys(t.value).map(function(e){f[e]=r.defaultField}),f=Yo(Yo({},f),t.rule.fields);var p={};Object.keys(f).forEach(function(e){var t=f[e];p[e]=(Array.isArray(t)?t:[t]).map(s.bind(null,e))});var m=new e(p);m.messages(o.messages),t.rule.options&&(t.rule.options.messages=o.messages,t.rule.options.error=o.error),m.validate(t.value,t.rule.options||o,function(e){var t=[];u&&u.length&&t.push.apply(t,Qr(u)),e&&e.length&&t.push.apply(t,Qr(e)),n(t.length?t:null)})}}var l;if(r.asyncValidator)l=r.asyncValidator(r,t.value,c,t.source,o);else if(r.validator){try{l=r.validator(r,t.value,c,t.source,o)}catch(e){var u,f;(u=(f=console).error)==null||u.call(f,e),o.suppressValidatorError||setTimeout(function(){throw e},0),c(e.message)}l===!0?c():l===!1?c(typeof r.message==`function`?r.message(r.fullField||r.field):r.message||`${r.fullField||r.field} fails`):l instanceof Array?c(l):l instanceof Error&&c(l.message)}l&&l.then&&l.then(function(){return c()},function(e){return c(e)})},function(e){c(e)},a)}},{key:`getType`,value:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type=`pattern`),typeof e.validator!=`function`&&e.type&&!Xg.hasOwnProperty(e.type))throw Error(Lg(`Unknown rule type %s`,e.type));return e.type||`string`}},{key:`getValidationMethod`,value:function(e){if(typeof e.validator==`function`)return e.validator;var t=Object.keys(e),n=t.indexOf(`message`);return n!==-1&&t.splice(n,1),t.length===1&&t[0]===`required`?Xg.required:Xg[this.getType(e)]||void 0}}]),e}();qo(Zg,`register`,function(e,t){if(typeof t!=`function`)throw Error(`Cannot register a validator by type, validator is not a function`);Xg[e]=t}),qo(Zg,`warning`,Cte),qo(Zg,`messages`,Pg),qo(Zg,`validators`,Xg);var Qg="'${name}' is not a valid ${type}",$g={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Qg,method:Qg,array:Qg,object:Qg,number:Qg,date:Qg,boolean:Qg,integer:Qg,float:Qg,regexp:Qg,email:Qg,tel:Qg,url:Qg,hex:Qg},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},e_=Zg;function Yte(e,t){return e.replace(/\\?\$\{\w+\}/g,e=>e.startsWith(`\\`)?e.slice(1):t[e.slice(2,-1)])}var t_=`CODE_LOGIC_ERROR`;async function n_(e,t,n,r,i){let a={...n};if(delete a.ruleIndex,e_.warning=()=>void 0,a.validator){let e=a.validator;a.validator=(...t)=>{try{return e(...t)}catch(e){return console.error(e),Promise.reject(t_)}}}let o=null;a&&a.type===`array`&&a.defaultField&&(o=a.defaultField,delete a.defaultField);let s=new e_({[e]:[a]}),c=pr($g,r.validateMessages);s.messages(c);let l=[];try{await Promise.resolve(s.validate({[e]:t},{...r}))}catch(e){e.errors&&(l=e.errors.map(({message:e},t)=>{let n=e===t_?c.default:e;return C.isValidElement(n)?C.cloneElement(n,{key:`error_${t}`}):n}))}if(!l.length&&o&&Array.isArray(t)&&t.length>0)return(await Promise.all(t.map((t,n)=>n_(`${e}.${n}`,t,o,r,i)))).reduce((e,t)=>[...e,...t],[]);let u={...n,name:e,enum:(n.enum||[]).join(`, `),...i};return l.map(e=>typeof e==`string`?Yte(e,u):e)}function Xte(e,t,n,r,i,a){let o=e.join(`.`),s=n.map((e,t)=>{let n=e.validator,r={...e,ruleIndex:t};return n&&(r.validator=(e,t,r)=>{let i=!1,a=n(e,t,(...e)=>{Promise.resolve().then(()=>{xr(!i,"Your validator function has already return a promise. `callback` will be ignored."),i||r(...e)})});i=a&&typeof a.then==`function`&&typeof a.catch==`function`,xr(i,"`callback` is deprecated. Please return a promise instead."),i&&a.then(()=>{r()}).catch(e=>{r(e||` `)})}),r}).sort(({warningOnly:e,ruleIndex:t},{warningOnly:n,ruleIndex:r})=>!!e==!!n?t-r:e?1:-1),c;if(i===!0)c=new Promise(async(e,n)=>{for(let e=0;en_(o,t,e,r,a).then(t=>({errors:t,rule:e})));c=(i?Qte(e):Zte(e)).then(e=>Promise.reject(e))}return c.catch(e=>e),c}async function Zte(e){return Promise.all(e).then(e=>[].concat(...e))}async function Qte(e){let t=0;return new Promise(n=>{e.forEach(r=>{r.then(r=>{r.errors.length&&n([r]),t+=1,t===e.length&&n([])})})})}function r_(e){return Mg(e)}function i_(e,t){let n={};return t.forEach(t=>{let r=or(e,t);n=cr(n,t,r)}),n}function a_(e,t,n=!1){return e&&e.some(e=>o_(t,e,n))}function o_(e,t,n=!1){return!e||!t||!n&&e.length!==t.length?!1:t.every((t,n)=>e[n]===t)}function $te(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||typeof e!=`object`||typeof t!=`object`)return!1;let n=Object.keys(e),r=Object.keys(t);return[...new Set([...n,...r])].every(n=>{let r=e[n],i=t[n];return typeof r==`function`&&typeof i==`function`?!0:r===i})}function ene(e,...t){let n=t[0];return n&&n.target&&typeof n.target==`object`&&e in n.target?n.target[e]:n}function s_(e,t,n){let{length:r}=e;if(t<0||t>=r||n<0||n>=r)return e;let i=e[t],a=t-n;return a>0?[...e.slice(0,n),i,...e.slice(n,t),...e.slice(t+1,r)]:a<0?[...e.slice(0,t),...e.slice(t+1,n+1),i,...e.slice(n+1,r)]:e}var c_=e=>{let t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(null)},tne=class{namePathList=[];taskId=0;watcherList=new Set;form;constructor(e){this.form=e}register(e){return this.watcherList.add(e),()=>{this.watcherList.delete(e)}}notify(e){e.forEach(e=>{this.namePathList.every(t=>!o_(t,e))&&this.namePathList.push(e)}),this.doBatch()}doBatch(){this.taskId+=1;let e=this.taskId;c_(()=>{if(e===this.taskId&&this.watcherList.size){let e=this.form.getForm(),t=e.getFieldsValue(),n=e.getFieldsValue(!0);this.watcherList.forEach(e=>{e(t,n,this.namePathList)}),this.namePathList=[]}})}};async function nne(){return new Promise(e=>{c_(()=>{ii(()=>{e()})})})}function l_(){return l_=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{preserve:e,isListField:t,name:n}=this.props;this.cancelRegisterFunc&&this.cancelRegisterFunc(t,e,r_(n)),this.cancelRegisterFunc=null};getNamePath=()=>{let{name:e,fieldContext:t}=this.props,{prefixName:n=[]}=t;return e===void 0?[]:[...n,...e]};getRules=()=>{let{rules:e=[],fieldContext:t}=this.props;return e.map(e=>typeof e==`function`?e(t):e)};reRender(){this.mounted&&this.forceUpdate()}refresh=()=>{this.mounted&&this.setState(({resetCount:e})=>({resetCount:e+1}))};metaCache=null;triggerMetaEvent=e=>{let{onMetaChange:t}=this.props;if(t){let n={...this.getMeta(),destroy:e};Ei(this.metaCache,n)||t(n),this.metaCache=n}else this.metaCache=null};onStoreChange=(e,t,n)=>{let{shouldUpdate:r,dependencies:i=[],onReset:a}=this.props,{store:o}=n,s=this.getNamePath(),c=this.getValue(e),l=this.getValue(o),u=t&&a_(t,s);switch(n.type===`valueUpdate`&&n.source===`external`&&!Ei(c,l)&&(this.touched=!0,this.dirty=!0,this.validatePromise=null,this.errors=u_,this.warnings=d_,this.triggerMetaEvent()),n.type){case`reset`:if(!t||u){this.touched=!1,this.dirty=!1,this.validatePromise=void 0,this.errors=u_,this.warnings=d_,this.triggerMetaEvent(),a?.(),this.refresh();return}break;case`remove`:if(r&&f_(r,e,o,c,l,n)){this.reRender();return}break;case`setField`:{let{data:i}=n;if(u){`touched`in i&&(this.touched=i.touched),`validating`in i&&!(`originRCField`in i)&&(this.validatePromise=i.validating?Promise.resolve([]):null),`errors`in i&&(this.errors=i.errors||u_),`warnings`in i&&(this.warnings=i.warnings||d_),this.dirty=!0,this.triggerMetaEvent(),this.reRender();return}else if(`value`in i&&a_(t,s,!0)){this.reRender();return}if(r&&!s.length&&f_(r,e,o,c,l,n)){this.reRender();return}break}case`dependenciesUpdate`:if(i.map(r_).some(e=>a_(n.relatedFields,e))){this.reRender();return}break;default:if(u||(!i.length||s.length||r)&&f_(r,e,o,c,l,n)){this.reRender();return}break}r===!0&&this.reRender()};validateRules=e=>{let t=this.getNamePath(),n=this.getValue(),{triggerName:r,validateOnly:i=!1,delayFrame:a}=e||{},o=Promise.resolve().then(async()=>{if(!this.mounted)return[];let{validateFirst:i=!1,messageVariables:s,validateDebounce:c}=this.props;a&&await nne();let l=this.getRules();if(r&&(l=l.filter(e=>e).filter(e=>{let{validateTrigger:t}=e;return t?Mg(t).includes(r):!0})),c&&r&&(await new Promise(e=>{setTimeout(e,c)}),this.validatePromise!==o))return[];let u=Xte(t,n,l,e,i,s);return u.catch(e=>e).then((e=u_)=>{if(this.validatePromise===o){this.validatePromise=null;let t=[],n=[];e.forEach?.(({rule:{warningOnly:e},errors:r=u_})=>{e?n.push(...r):t.push(...r)}),this.errors=t,this.warnings=n,this.triggerMetaEvent(),this.reRender()}}),u});return i?o:(this.validatePromise=o,this.dirty=!0,this.errors=u_,this.warnings=d_,this.triggerMetaEvent(),this.reRender(),o)};isFieldValidating=()=>!!this.validatePromise;isFieldTouched=()=>this.touched;isFieldDirty=()=>{if(this.dirty||this.props.initialValue!==void 0)return!0;let{fieldContext:e}=this.props,{getInitialValue:t}=e.getInternalHooks(Og);return t(this.getNamePath())!==void 0};getErrors=()=>this.errors;getWarnings=()=>this.warnings;isListField=()=>this.props.isListField;isList=()=>this.props.isList;isPreserve=()=>this.props.preserve;getMeta=()=>(this.prevValidating=this.isFieldValidating(),{touched:this.isFieldTouched(),validating:this.prevValidating,errors:this.errors,warnings:this.warnings,name:this.getNamePath(),validated:this.validatePromise===null});getOnlyChild=e=>{if(typeof e==`function`){let t=this.getMeta();return{...this.getOnlyChild(e(this.getControlled(),t,this.props.fieldContext)),isFunction:!0}}let t=wr(e);return t.length!==1||!C.isValidElement(t[0])?{child:t,isFunction:!1}:{child:t[0],isFunction:!1}};getValue=e=>{let{getFieldsValue:t}=this.props.fieldContext,n=this.getNamePath();return or(e||t(!0),n)};getControlled=(e={})=>{let{name:t,trigger:n=`onChange`,validateTrigger:r,getValueFromEvent:i,normalize:a,valuePropName:o=`value`,getValueProps:s,fieldContext:c}=this.props,l=r===void 0?c.validateTrigger:r,u=this.getNamePath(),{getInternalHooks:d,getFieldsValue:f}=c,{dispatch:p}=d(Og),m=this.getValue(),h=s||(e=>({[o]:e})),g=e[n],_=t===void 0?{}:h(m),v={...e,..._};return v[n]=(...e)=>{this.touched=!0,this.dirty=!0,this.triggerMetaEvent();let t;t=i?i(...e):ene(o,...e),a&&(t=a(t,m,f(!0))),t!==m&&p({type:`updateValue`,namePath:u,value:t}),g&&g(...e)},Mg(l||[]).forEach(e=>{let t=v[e];v[e]=(...n)=>{t&&t(...n);let{rules:r}=this.props;r&&r.length&&p({type:`validateField`,namePath:u,triggerName:e})}}),v};render(){let{resetCount:e}=this.state,{children:t}=this.props,{child:n,isFunction:r}=this.getOnlyChild(t),i;return r?i=n:C.isValidElement(n)?i=C.cloneElement(n,this.getControlled(n.props)):(xr(!n,"`children` of Field is not validate ReactElement."),i=n),C.createElement(C.Fragment,{key:e},i)}};function m_({name:e,...t}){let n=C.useContext(Ag),r=C.useContext(jg),i=e===void 0?void 0:r_(e),a=t.isListField??!!r,o=`keep`;return a||(o=`_${(i||[]).join(`_`)}`),C.createElement(p_,l_({key:o,name:i,isListField:a},t,{fieldContext:n}))}function h_({name:e,initialValue:t,children:n,rules:r,validateTrigger:i,isListField:a}){let o=C.useContext(Ag),s=C.useContext(jg),c=C.useRef({keys:[],id:0}).current,l=C.useMemo(()=>[...r_(o.prefixName)||[],...r_(e)],[o.prefixName,e]),u=C.useMemo(()=>({...o,prefixName:l}),[o,l]),d=C.useMemo(()=>({getKey:e=>{let t=l.length,n=e[t];return[c.keys[n],e.slice(t+1)]}}),[c,l]);return typeof n==`function`?C.createElement(jg.Provider,{value:d},C.createElement(Ag.Provider,{value:u},C.createElement(m_,{name:[],shouldUpdate:(e,t,{source:n})=>n===`internal`?!1:e!==t,rules:r,validateTrigger:i,initialValue:t,isList:!0,isListField:a??!!s},({value:e=[],onChange:t},r)=>{let{getFieldValue:i}=o,a=()=>i(l||[])||[],s={add:(e,n)=>{let r=a();n>=0&&n<=r.length?(c.keys=[...c.keys.slice(0,n),c.id,...c.keys.slice(n)],t([...r.slice(0,n),e,...r.slice(n)])):(c.keys=[...c.keys,c.id],t([...r,e])),c.id+=1},remove:e=>{let n=a(),r=new Set(Array.isArray(e)?e:[e]);r.size<=0||(c.keys=c.keys.filter((e,t)=>!r.has(t)),t(n.filter((e,t)=>!r.has(t))))},move(e,n){if(e===n)return;let r=a();e<0||e>=r.length||n<0||n>=r.length||(c.keys=s_(c.keys,e,n),t(s_(r,e,n)))}},u=e||[];return Array.isArray(u)||(u=[]),n(u.map((e,t)=>{let n=c.keys[t];return n===void 0&&(c.keys[t]=c.id,n=c.keys[t],c.id+=1),{name:t,key:n,isListField:!0}}),s,r)}))):(xr(!1,`Form.List only accepts function as children.`),null)}function g_(e){let t=!1,n=e.length,r=[];return e.length?new Promise((i,a)=>{e.forEach((e,o)=>{e.catch(e=>(t=!0,e)).then(e=>{--n,r[o]=e,!(n>0)&&(t&&a(r),i(r))})})}):Promise.resolve([])}var __=`__@field_split__`;function v_(e){return e.map(e=>`${typeof e}:${e}`).join(__)}var y_=class{kvs=new Map;set(e,t){this.kvs.set(v_(e),t)}get(e){return this.kvs.get(v_(e))}getAsPrefix(e){let t=v_(e),n=t+__,r=[],i=this.kvs.get(t);return i!==void 0&&r.push(i),this.kvs.forEach((e,t)=>{t.startsWith(n)&&r.push(e)}),r}update(e,t){let n=t(this.get(e));n?this.set(e,n):this.delete(e)}delete(e){this.kvs.delete(v_(e))}map(e){return[...this.kvs.entries()].map(([t,n])=>e({key:t.split(__).map(e=>{let[,t,n]=e.match(/^([^:]*):(.*)$/);return t===`number`?Number(n):n}),value:n}))}toJSON(){let e={};return this.map(({key:t,value:n})=>(e[t.join(`.`)]=n,null)),e}},b_=class{formHooked=!1;forceRootUpdate;subscribable=!0;store={};fieldEntities=[];initialValues={};callbacks={};validateMessages=null;preserve=null;lastValidatePromise=null;watcherCenter=new tne(this);constructor(e){this.forceRootUpdate=e}getForm=()=>({getFieldValue:this.getFieldValue,getFieldsValue:this.getFieldsValue,getFieldError:this.getFieldError,getFieldWarning:this.getFieldWarning,getFieldsError:this.getFieldsError,isFieldsTouched:this.isFieldsTouched,isFieldTouched:this.isFieldTouched,isFieldValidating:this.isFieldValidating,isFieldsValidating:this.isFieldsValidating,resetFields:this.resetFields,setFields:this.setFields,setFieldValue:this.setFieldValue,setFieldsValue:this.setFieldsValue,validateFields:this.validateFields,submit:this.submit,_init:!0,getInternalHooks:this.getInternalHooks});getInternalHooks=e=>e===`RC_FORM_INTERNAL_HOOKS`?(this.formHooked=!0,{dispatch:this.dispatch,initEntityValue:this.initEntityValue,registerField:this.registerField,useSubscribe:this.useSubscribe,setInitialValues:this.setInitialValues,destroyForm:this.destroyForm,setCallbacks:this.setCallbacks,setValidateMessages:this.setValidateMessages,getFields:this.getFields,setPreserve:this.setPreserve,getInitialValue:this.getInitialValue,registerWatch:this.registerWatch}):(xr(!1,"`getInternalHooks` is internal usage. Should not call directly."),null);useSubscribe=e=>{this.subscribable=e};prevWithoutPreserves=null;setInitialValues=(e,t)=>{if(this.initialValues=e||{},t){let t=pr(e,this.store);this.prevWithoutPreserves?.map(({key:n})=>{t=cr(t,n,or(e,n))}),this.prevWithoutPreserves=null,this.updateStore(t)}};destroyForm=e=>{if(e)this.updateStore({});else{let e=new y_;this.getFieldEntities(!0).forEach(t=>{this.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)}),this.prevWithoutPreserves=e}};getInitialValue=e=>{let t=or(this.initialValues,e);return e.length?pr(t):t};setCallbacks=e=>{this.callbacks=e};setValidateMessages=e=>{this.validateMessages=e};setPreserve=e=>{this.preserve=e};registerWatch=e=>this.watcherCenter.register(e);notifyWatch=(e=[])=>{this.watcherCenter.notify(e)};timeoutId=null;warningUnhooked=()=>{};updateStore=e=>{this.store=e};getFieldEntities=(e=!1)=>e?this.fieldEntities.filter(e=>e.getNamePath().length):this.fieldEntities;getFieldsMap=(e=!1)=>{let t=new y_;return this.getFieldEntities(e).forEach(e=>{let n=e.getNamePath();t.set(n,e)}),t};getFieldEntitiesForNamePathList=(e,t=!1)=>{if(!e)return this.getFieldEntities(!0);let n=this.getFieldsMap(!0);return t?e.flatMap(e=>{let t=r_(e),r=n.getAsPrefix(t);return r.length?r:[{INVALIDATE_NAME_PATH:t}]}):e.map(e=>{let t=r_(e);return n.get(t)||{INVALIDATE_NAME_PATH:r_(e)}})};getFieldsValue=(e,t)=>{this.warningUnhooked();let n,r;if(e===!0||Array.isArray(e)?(n=e,r=t):e&&typeof e==`object`&&(r=e.filter),n===!0&&!r)return this.store;let i=this.getFieldEntitiesForNamePathList(Array.isArray(n)?n:null,!0),a=[],o=[];i.forEach(e=>{let t=e.INVALIDATE_NAME_PATH||e.getNamePath();if(e.isList?.()){o.push(t);return}if(!r)a.push(t);else{let n=`getMeta`in e?e.getMeta():null;r(n)&&a.push(t)}});let s=i_(this.store,a.map(r_));return o.forEach(e=>{or(s,e)||(s=cr(s,e,[]))}),s};getFieldValue=e=>{this.warningUnhooked();let t=r_(e);return or(this.store,t)};getFieldsError=e=>(this.warningUnhooked(),this.getFieldEntitiesForNamePathList(e).map((t,n)=>t&&!t.INVALIDATE_NAME_PATH?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:r_(e[n]),errors:[],warnings:[]}));getFieldError=e=>{this.warningUnhooked();let t=r_(e);return this.getFieldsError([t])[0].errors};getFieldWarning=e=>{this.warningUnhooked();let t=r_(e);return this.getFieldsError([t])[0].warnings};isFieldsTouched=(...e)=>{this.warningUnhooked();let[t,n]=e,r,i=!1;e.length===0?r=null:e.length===1?Array.isArray(t)?(r=t.map(r_),i=!1):(r=null,i=t):(r=t.map(r_),i=n);let a=this.getFieldEntities(!0),o=e=>e.isFieldTouched();if(!r)return i?a.every(e=>o(e)||e.isList()):a.some(o);let s=new y_;r.forEach(e=>{s.set(e,[])}),a.forEach(e=>{let t=e.getNamePath();r.forEach(n=>{n.every((e,n)=>t[n]===e)&&s.update(n,t=>[...t,e])})});let c=e=>e.some(o),l=s.map(({value:e})=>e);return i?l.every(c):l.some(c)};isFieldTouched=e=>(this.warningUnhooked(),this.isFieldsTouched([e]));isFieldsValidating=e=>{this.warningUnhooked();let t=this.getFieldEntities();if(!e)return t.some(e=>e.isFieldValidating());let n=e.map(r_);return t.some(e=>a_(n,e.getNamePath())&&e.isFieldValidating())};isFieldValidating=e=>(this.warningUnhooked(),this.isFieldsValidating([e]));resetWithFieldInitialValue=(e={})=>{let t=new y_,n=this.getFieldEntities(!0);n.forEach(e=>{let{initialValue:n}=e.props,r=e.getNamePath();if(n!==void 0){let i=t.get(r)||new Set;i.add({entity:e,value:n}),t.set(r,i)}});let r=n=>{n.forEach(n=>{let{initialValue:r}=n.props;if(r!==void 0){let r=n.getNamePath();if(this.getInitialValue(r)!==void 0)xr(!1,`Form already set 'initialValues' with path '${r.join(`.`)}'. Field can not overwrite it.`);else{let i=t.get(r);if(i&&i.size>1)xr(!1,`Multiple Field with path '${r.join(`.`)}' set 'initialValue'. Can not decide which one to pick.`);else if(i){let t=this.getFieldValue(r);!n.isListField()&&(!e.skipExist||t===void 0)&&this.updateStore(cr(this.store,r,[...i][0].value))}}}})},i;e.entities?i=e.entities:e.namePathList?(i=[],e.namePathList.forEach(e=>{let n=t.get(e);n&&i.push(...[...n].map(e=>e.entity))})):i=n,r(i)};resetFields=e=>{this.warningUnhooked();let t=this.store;if(!e){this.updateStore(pr(this.initialValues)),this.resetWithFieldInitialValue(),this.notifyObservers(t,null,{type:`reset`}),this.notifyWatch();return}let n=e.map(r_);n.forEach(e=>{let t=this.getInitialValue(e);this.updateStore(cr(this.store,e,t))}),this.resetWithFieldInitialValue({namePathList:n}),this.notifyObservers(t,n,{type:`reset`}),this.notifyWatch(n)};setFields=e=>{this.warningUnhooked();let t=this.store,n=[];e.forEach(e=>{let{name:r,...i}=e,a=r_(r);n.push(a),`value`in i&&this.updateStore(cr(this.store,a,i.value)),this.notifyObservers(t,[a],{type:`setField`,data:e})}),this.notifyWatch(n)};getFields=()=>this.getFieldEntities(!0).map(e=>{let t=e.getNamePath(),n={...e.getMeta(),name:t,value:this.getFieldValue(t)};return Object.defineProperty(n,`originRCField`,{value:!0}),n});initEntityValue=e=>{let{initialValue:t}=e.props;if(t!==void 0){let n=e.getNamePath();or(this.store,n)===void 0&&this.updateStore(cr(this.store,n,t))}};isMergedPreserve=e=>(e===void 0?this.preserve:e)??!0;registerField=e=>{this.fieldEntities.push(e);let t=e.getNamePath();if(this.notifyWatch([t]),e.props.initialValue!==void 0){let t=this.store;this.resetWithFieldInitialValue({entities:[e],skipExist:!0}),this.notifyObservers(t,[e.getNamePath()],{type:`valueUpdate`,source:`internal`})}return(n,r,i=[])=>{if(this.fieldEntities=this.fieldEntities.filter(t=>t!==e),!this.isMergedPreserve(r)&&(!n||i.length>1)){let e=n?void 0:this.getInitialValue(t);if(t.length&&this.getFieldValue(t)!==e&&this.fieldEntities.every(e=>!o_(e.getNamePath(),t))){let n=this.store;this.updateStore(cr(n,t,e,!0)),this.notifyObservers(n,[t],{type:`remove`}),this.triggerDependenciesUpdate(n,t)}}this.notifyWatch([t])}};dispatch=e=>{switch(e.type){case`updateValue`:{let{namePath:t,value:n}=e;this.updateValue(t,n);break}case`validateField`:{let{namePath:t,triggerName:n}=e;this.validateFields([t],{triggerName:n});break}default:}};notifyObservers=(e,t,n)=>{if(this.subscribable){let r={...n,store:this.getFieldsValue(!0)};this.getFieldEntities().forEach(({onStoreChange:n})=>{n(e,t,r)})}else this.forceRootUpdate()};triggerDependenciesUpdate=(e,t)=>{let n=this.getDependencyChildrenFields(t);return n.length&&this.validateFields(n,{delayFrame:!0}),this.notifyObservers(e,n,{type:`dependenciesUpdate`,relatedFields:[t,...n]}),n};updateValue=(e,t)=>{let n=r_(e),r=this.store;this.updateStore(cr(this.store,n,t)),this.notifyObservers(r,[n],{type:`valueUpdate`,source:`internal`}),this.notifyWatch([n]);let i=this.triggerDependenciesUpdate(r,n),{onValuesChange:a}=this.callbacks;if(a){let e=i_(this.store,[n]);a(e,cr(this.getFieldsValue(),n,or(e,n)))}this.triggerOnFieldsChange([n,...i])};setFieldsValue=e=>{this.warningUnhooked();let t=this.store;if(e){let t=pr(this.store,e);this.updateStore(t)}this.notifyObservers(t,null,{type:`valueUpdate`,source:`external`}),this.notifyWatch()};setFieldValue=(e,t)=>{this.setFields([{name:e,value:t,errors:[],warnings:[],touched:!0}])};getDependencyChildrenFields=e=>{let t=new Set,n=[],r=new y_;this.getFieldEntities().forEach(e=>{let{dependencies:t}=e.props;(t||[]).forEach(t=>{let n=r_(t);r.update(n,(t=new Set)=>(t.add(e),t))})});let i=e=>{(r.get(e)||new Set).forEach(e=>{if(!t.has(e)){t.add(e);let r=e.getNamePath();e.isFieldDirty()&&r.length&&(n.push(r),i(r))}})};return i(e),n};triggerOnFieldsChange=(e,t)=>{let{onFieldsChange:n}=this.callbacks;if(n){let r=this.getFields();if(t){let e=new y_;t.forEach(({name:t,errors:n})=>{e.set(t,n)}),r.forEach(t=>{t.errors=e.get(t.name)||t.errors})}let i=r.filter(({name:t})=>a_(e,t));i.length&&n(i,r)}};validateFields=(e,t)=>{this.warningUnhooked();let n,r;Array.isArray(e)||typeof e==`string`||typeof t==`string`?(n=e,r=t):r=e;let i=!!n,a=i?n.map(r_):[],o=[...a],s=[],c=String(Date.now()),l=new Set,{recursive:u,dirty:d}=r||{};this.getFieldEntities(!0).forEach(e=>{let t=e.getNamePath();if(i||((!e.isList()||!a.some(e=>o_(e,t,!0)))&&o.push(t),a.push(t)),!(!e.props.rules||!e.props.rules.length)&&!(d&&!e.isFieldDirty())&&(l.add(t.join(c)),!i||a_(a,t,u))){let n=e.validateRules({validateMessages:{...$g,...this.validateMessages},...r});s.push(n.then(()=>({name:t,errors:[],warnings:[]})).catch(e=>{let n=[],r=[];return e.forEach?.(({rule:{warningOnly:e},errors:t})=>{e?r.push(...t):n.push(...t)}),n.length?Promise.reject({name:t,errors:n,warnings:r}):{name:t,errors:n,warnings:r}}))}});let f=g_(s);this.lastValidatePromise=f,f.catch(e=>e).then(e=>{let t=e.map(({name:e})=>e);this.notifyObservers(this.store,t,{type:`validateFinish`}),this.triggerOnFieldsChange(t,e)});let p=f.then(()=>this.lastValidatePromise===f?Promise.resolve(this.getFieldsValue(o)):Promise.reject([])).catch(e=>{let t=e.filter(e=>e&&e.errors.length),n=t[0]?.errors?.[0];return Promise.reject({message:n,values:this.getFieldsValue(a),errorFields:t,outOfDate:this.lastValidatePromise!==f})});p.catch(e=>e);let m=a.filter(e=>l.has(e.join(c)));return this.triggerOnFieldsChange(m),p};submit=()=>{this.warningUnhooked(),this.validateFields().then(e=>{let{onFinish:t}=this.callbacks;if(t)try{t(e)}catch(e){console.error(e)}}).catch(e=>{let{onFinishFailed:t}=this.callbacks;t&&t(e)})}};function x_(e){let t=C.useRef(null),[,n]=C.useState({});return t.current||(e?t.current=e:t.current=new b_(()=>{n({})}).getForm()),[t.current]}var S_=C.createContext({triggerFormChange:()=>{},triggerFormFinish:()=>{},registerForm:()=>{},unregisterForm:()=>{}}),C_=({validateMessages:e,onFormChange:t,onFormFinish:n,children:r})=>{let i=C.useContext(S_),a=C.useRef({});return C.createElement(S_.Provider,{value:{...i,validateMessages:{...i.validateMessages,...e},triggerFormChange:(e,n)=>{t&&t(e,{changedFields:n,forms:a.current}),i.triggerFormChange(e,n)},triggerFormFinish:(e,t)=>{n&&n(e,{values:t,forms:a.current}),i.triggerFormFinish(e,t)},registerForm:(e,t)=>{e&&(a.current={...a.current,[e]:t}),i.registerForm(e,t)},unregisterForm:e=>{let t={...a.current};delete t[e],a.current=t,i.unregisterForm(e)}}},r)};function w_(){return w_=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let g=C.useRef(null),_=C.useContext(S_),[v]=x_(r),{useSubscribe:y,setInitialValues:b,setCallbacks:x,setValidateMessages:S,setPreserve:w,destroyForm:T}=v.getInternalHooks(Og);C.useImperativeHandle(h,()=>({...v,nativeElement:g.current})),C.useEffect(()=>(_.registerForm(e,v),()=>{_.unregisterForm(e)}),[_,v,e]),S({..._.validateMessages,...s}),x({onValuesChange:l,onFieldsChange:(t,...n)=>{_.triggerFormChange(e,t),u&&u(t,...n)},onFinish:t=>{_.triggerFormFinish(e,t),d&&d(t)},onFinishFailed:f}),w(i);let E=C.useRef(null);b(t,!E.current),E.current||=!0,C.useEffect(()=>()=>T(p),[]);let D,O=typeof a==`function`;D=O?a(v.getFieldsValue(!0),v):a,y(!O);let k=C.useRef(null);C.useEffect(()=>{$te(k.current||[],n||[])||v.setFields(n||[]),k.current=n},[n,v]);let A=C.useMemo(()=>({...v,validateTrigger:c}),[v,c]),j=C.createElement(jg.Provider,{value:null},C.createElement(Ag.Provider,{value:A},D));return o===!1?j:C.createElement(o,w_({},m,{ref:g,onSubmit:e=>{e.preventDefault(),e.stopPropagation(),v.submit()},onReset:e=>{e.preventDefault(),v.resetFields(),m.onReset?.(e)}}),j)};function E_(e){try{return JSON.stringify(e)}catch{return Math.random()}}function D_(...e){let[t,n={}]=e,r=yte(n)?{form:n}:n,i=r.form,[a,o]=(0,C.useState)(()=>typeof t==`function`?t({}):void 0),s=(0,C.useMemo)(()=>E_(a),[a]),c=(0,C.useRef)(s);c.current=s;let l=(0,C.useContext)(Ag),u=i||l,d=u&&u._init,{getFieldsValue:f,getInternalHooks:p}=u,{registerWatch:m}=p(Og),h=Rn((e,n)=>{let i=r.preserve?n??f(!0):e??f(),s=typeof t==`function`?t(i):or(i,r_(t));E_(a)!==E_(s)&&o(s)});return(0,C.useEffect)(()=>{d&&h()},[d,typeof t==`function`?t:JSON.stringify(t)]),(0,C.useEffect)(()=>{if(d)return m((e,t)=>{h(e,t)})},[d]),a}var O_=C.forwardRef(T_);O_.FormProvider=C_,O_.Field=m_,O_.List=h_,O_.useForm=x_,O_.useWatch=D_;var k_=C.createContext({labelAlign:`right`,layout:`horizontal`,itemRef:()=>{}}),A_=C.createContext(null),j_=e=>{let t=Cr(e,[`prefixCls`]);return C.createElement(C_,{...t})},M_=C.createContext({prefixCls:``}),N_=C.createContext({}),P_=({children:e,status:t,override:n})=>{let r=C.useContext(N_),i=C.useMemo(()=>{let e={...r};return n&&delete e.isFormItemInput,t&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[t,n,r]);return C.createElement(N_.Provider,{value:i},e)},F_=C.createContext(void 0),I_=e=>{let{space:t,form:n,children:r}=e;if(!pd(r))return null;let i=r;return n&&(i=C.createElement(P_,{override:!0,status:!0},i)),t&&(i=C.createElement(Dee,null,i)),i},L_=e=>{if(zn()&&window.document.documentElement){let t=Array.isArray(e)?e:[e],{documentElement:n}=window.document;return t.some(e=>e in n.style)}return!1},R_=(e,t)=>{if(!L_(e))return!1;let n=document.createElement(`div`),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function z_(e,t){return!Array.isArray(e)&&t!==void 0?R_(e,t):L_(e)}var B_=()=>zn()&&window.document.documentElement;function V_(e,t,n){return(0,C.useMemo)(()=>({trap:t??!0,focusTriggerAfterClose:n??!0,...e}),[e,t,n])}var H_=e=>{let{prefixCls:t,className:n,style:r,size:i,shape:a}=e,o=q({[`${t}-lg`]:i===`large`,[`${t}-sm`]:i===`small`}),s=q({[`${t}-circle`]:a===`circle`,[`${t}-square`]:a===`square`,[`${t}-round`]:a===`round`}),c=C.useMemo(()=>md(i)?{width:i,height:i,lineHeight:`${i}px`}:{},[i]);return C.createElement(`span`,{className:q(t,o,s,n),style:{...c,...r}})},rne=new Ro(`ant-skeleton-loading`,{"0%":{backgroundPosition:`100% 50%`},"100%":{backgroundPosition:`0 50%`}}),U_=e=>({height:e,lineHeight:J(e)}),W_=e=>({width:e,...U_(e)}),ine=e=>({background:e.skeletonLoadingBackground,backgroundSize:`400% 100%`,animationName:rne,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:`ease`,animationIterationCount:`infinite`}),G_=(e,t)=>({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal(),...U_(e)}),ane=e=>{let{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:i,controlHeightSM:a}=e;return{[t]:{display:`inline-block`,verticalAlign:`top`,background:n,...W_(r)},[`${t}${t}-circle`]:{borderRadius:`50%`},[`${t}${t}-lg`]:{...W_(i)},[`${t}${t}-sm`]:{...W_(a)}}},one=e=>{let{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:i,controlHeightSM:a,gradientFromColor:o,calc:s}=e;return{[r]:{display:`inline-block`,verticalAlign:`top`,background:o,borderRadius:n,...G_(t,s)},[`${r}-lg`]:{...G_(i,s)},[`${r}-sm`]:{...G_(a,s)}}},K_=e=>{let{gradientFromColor:t,borderRadiusSM:n,imageSizeBase:r,calc:i}=e;return{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,verticalAlign:`middle`,background:t,borderRadius:n,...W_(i(r).mul(2).equal())}},sne=e=>({[e.skeletonNodeCls]:{...K_(e)}}),cne=e=>{let{skeletonImageCls:t,imageSizeBase:n,calc:r}=e;return{[t]:{...K_(e),[`${t}-path`]:{fill:`#bfbfbf`},[`${t}-svg`]:{...W_(n),maxWidth:r(n).mul(4).equal(),maxHeight:r(n).mul(4).equal()},[`${t}-svg${t}-svg-circle`]:{borderRadius:`50%`}},[`${t}${t}-circle`]:{borderRadius:`50%`}}},q_=(e,t,n)=>{let{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:`50%`},[`${n}${r}-round`]:{borderRadius:t}}},J_=(e,t)=>({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal(),...U_(e)}),lne=e=>{let{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:i,controlHeightSM:a,gradientFromColor:o,calc:s}=e;return{[n]:{display:`inline-block`,verticalAlign:`top`,background:o,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal(),...J_(r,s)},...q_(e,r,n),[`${n}-lg`]:{...J_(i,s)},...q_(e,i,`${n}-lg`),[`${n}-sm`]:{...J_(a,s)},...q_(e,a,`${n}-sm`)}},une=e=>{let{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:i,skeletonButtonCls:a,skeletonInputCls:o,skeletonNodeCls:s,skeletonImageCls:c,controlHeight:l,controlHeightLG:u,controlHeightSM:d,gradientFromColor:f,padding:p,marginSM:m,borderRadius:h,titleHeight:g,blockRadius:_,paragraphLiHeight:v,controlHeightXS:y,paragraphMarginTop:b}=e;return{[t]:{display:`table`,width:`100%`,[`${t}-header`]:{display:`table-cell`,paddingInlineEnd:p,verticalAlign:`top`,[n]:{display:`inline-block`,verticalAlign:`top`,background:f,...W_(l)},[`${n}-circle`]:{borderRadius:`50%`},[`${n}-lg`]:{...W_(u)},[`${n}-sm`]:{...W_(d)}},[`${t}-section`]:{display:`table-cell`,width:`100%`,verticalAlign:`top`,[r]:{width:`100%`,height:g,background:f,borderRadius:_,[`+ ${i}`]:{marginBlockStart:d}},[i]:{padding:0,"> li":{width:`100%`,height:v,listStyle:`none`,background:f,borderRadius:_,"+ li":{marginBlockStart:y}}},[`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:`61%`}},[`&-round ${t}-section`]:{[`${r}, ${i} > li`]:{borderRadius:h}}},[`${t}-with-avatar ${t}-section`]:{[r]:{marginBlockStart:m,[`+ ${i}`]:{marginBlockStart:b}}},[`${t}${t}-element`]:{display:`inline-block`,width:`auto`,...lne(e),...ane(e),...one(e),...sne(e),...cne(e)},[`${t}${t}-block`]:{width:`100%`,[a]:{width:`100%`},[o]:{width:`100%`}},[`${t}${t}-active`]:{[` + `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-panel`]:{backgroundColor:i,borderTop:0},[`> ${t}-item > ${t}-panel > ${t}-body`]:{padding:r}}}},Bh=e=>{let{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:`transparent`,border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-panel`]:{backgroundColor:`transparent`,border:0,[`> ${t}-body`]:{paddingBlock:n}}}}}},Vh=il(`Collapse`,e=>{let t=_s(e,{collapseHeaderPaddingSM:`${J(e.paddingXS)} ${J(e.paddingSM)}`,collapseHeaderPaddingLG:`${J(e.padding)} ${J(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[Lh(t),zh(t),Bh(t),Rh(t),nh(t)]},e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer,borderlessContentPadding:`${e.paddingXXS}px 16px ${e.padding}px`,borderlessContentBg:`transparent`})),Hh=Object.assign(C.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r,expandIcon:i,className:a,style:o,classNames:s,styles:c}=ui(`collapse`),{prefixCls:l,className:u,rootClassName:d,style:f,bordered:p=!0,ghost:m,size:h,expandIconPlacement:g,expandIconPosition:_,children:v,destroyInactivePanel:y,destroyOnHidden:b,expandIcon:x,classNames:S,styles:w}=e,T=Rm(e=>h??e??`middle`),E=n(`collapse`,l),D=n(),[O,k]=Vh(E),A=g??_??`start`,j={...e,size:T,bordered:p,expandIconPlacement:A},[M,N]=Id([s,S],[c,w],{props:j}),P=x??i,F=C.useCallback((e={})=>Fp(typeof P==`function`?P(e):C.createElement(Ch,{rotate:e.isActive?r===`rtl`?-90:90:void 0,"aria-label":e.isActive?`expanded`:`collapsed`}),e=>({className:q(e.className,`${E}-arrow`)})),[P,E,r]),I=q(`${E}-icon-placement-${A}`,{[`${E}-borderless`]:!p,[`${E}-rtl`]:r===`rtl`,[`${E}-ghost`]:!!m,[`${E}-large`]:T===`large`,[`${E}-small`]:T===`small`},a,u,d,O,k,M.root),L=C.useMemo(()=>({...Mm(D),motionAppear:!1,leavedClassName:`${E}-panel-hidden`}),[D,E]),R=C.useMemo(()=>v?wr(v).map(e=>e):null,[v]);return C.createElement(Fh,{ref:t,openMotion:L,...Cr(e,[`rootClassName`]),expandIcon:F,prefixCls:E,className:I,style:{...N.root,...o,...f},classNames:M,styles:N,destroyOnHidden:b??y},R)}),{Panel:Ih}),Uh=e=>e instanceof bh?e:new bh(e),Wh=(e,t)=>{let{r:n,g:r,b:i,a}=e.toRgb(),o=new yh(e.toRgbString()).onBackground(t).toHsv();return a<=.5?o.v>.5:n*.299+r*.587+i*.114>192},Gh=e=>{let{paddingInline:t,onlyIconSize:n,borderColorDisabled:r}=e;return _s(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n,colorBorderDisabled:r})},Kh=e=>{let t=e.contentFontSize??e.fontSize,n=e.contentFontSizeSM??e.fontSize,r=e.contentFontSizeLG??e.fontSizeLG,i=e.contentLineHeight??ks(t),a=e.contentLineHeightSM??ks(n),o=e.contentLineHeightLG??ks(r),s=Wh(new bh(e.colorBgSolid),`#fff`)?`#000`:`#fff`,c=Os.reduce((t,n)=>({...t,[`${n}ShadowColor`]:`0 ${J(e.controlOutlineWidth)} 0 ${Vc(e[`${n}1`],e.colorBgContainer)}`}),{}),l=e.colorBgContainerDisabled,u=e.colorBgContainerDisabled;return{...c,fontWeight:400,iconGap:e.marginXS,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorderDisabled,defaultGhostColor:e.colorBgContainer,ghostBg:`transparent`,defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:`inherit`,onlyIconSizeSM:`inherit`,onlyIconSizeLG:`inherit`,groupBorderColor:e.colorPrimaryHover,linkHoverBg:`transparent`,textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:s,contentFontSize:t,contentFontSizeSM:n,contentFontSizeLG:r,contentLineHeight:i,contentLineHeightSM:a,contentLineHeightLG:o,paddingBlock:Math.max((e.controlHeight-t*i)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-n*a)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-r*o)/2-e.lineWidth,0),defaultBgDisabled:l,dashedBgDisabled:u}},qh=e=>{let{componentCls:t,antCls:n,lineWidth:r}=e,[i,a]=sl(n,`btn`);return{[t]:[{[i(`border-width`)]:r,[i(`border-color`)]:`#000`,[i(`border-color-hover`)]:a(`border-color`),[i(`border-color-active`)]:a(`border-color`),[i(`border-color-disabled`)]:a(`border-color`),[i(`border-style`)]:`solid`,[i(`text-color`)]:`#000`,[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`),[i(`text-color-disabled`)]:a(`text-color`),[i(`bg-color`)]:`#ddd`,[i(`bg-color-hover`)]:a(`bg-color`),[i(`bg-color-active`)]:a(`bg-color`),[i(`bg-color-disabled`)]:e.colorBgContainerDisabled,[i(`bg-color-container`)]:e.colorBgContainer,[i(`shadow`)]:`none`},{border:[a(`border-width`),a(`border-style`),a(`border-color`)].join(` `),color:a(`text-color`),backgroundColor:a(`bg-color`),[`&:not(:disabled):not(${t}-disabled)`]:{"&:hover":{border:[a(`border-width`),a(`border-style`),a(`border-color-hover`)].join(` `),color:a(`text-color-hover`),backgroundColor:a(`bg-color-hover`)},"&:active":{border:[a(`border-width`),a(`border-style`),a(`border-color-active`)].join(` `),color:a(`text-color-active`),backgroundColor:a(`bg-color-active`)}}},{[`&${t}-variant-solid`]:{[i(`solid-bg-color`)]:a(`color-base`),[i(`solid-bg-color-hover`)]:a(`color-hover`),[i(`solid-bg-color-active`)]:a(`color-active`),[i(`border-color`)]:`transparent`,[i(`text-color`)]:e.colorTextLightSolid,[i(`bg-color`)]:a(`solid-bg-color`),[i(`bg-color-hover`)]:a(`solid-bg-color-hover`),[i(`bg-color-active`)]:a(`solid-bg-color-active`),boxShadow:a(`shadow`)},[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i(`border-color`)]:a(`color-base`),[i(`border-color-hover`)]:a(`color-hover`),[i(`border-color-active`)]:a(`color-active`),[i(`bg-color`)]:a(`bg-color-container`),[i(`text-color`)]:a(`color-base`),[i(`text-color-hover`)]:a(`color-hover`),[i(`text-color-active`)]:a(`color-active`),boxShadow:a(`shadow`)},[`&${t}-variant-dashed`]:{[i(`border-style`)]:`dashed`,[i(`bg-color-disabled`)]:e.dashedBgDisabled},[`&${t}-variant-filled`]:{[i(`border-color`)]:`transparent`,[i(`text-color`)]:a(`color-base`),[i(`bg-color`)]:a(`color-light`),[i(`bg-color-hover`)]:a(`color-light-hover`),[i(`bg-color-active`)]:a(`color-light-active`)},[`&${t}-variant-text, &${t}-variant-link`]:{[i(`border-color`)]:`transparent`,[i(`text-color`)]:a(`color-base`),[i(`text-color-hover`)]:a(`color-hover`),[i(`text-color-active`)]:a(`color-active`),[i(`bg-color`)]:`transparent`,[i(`bg-color-hover`)]:`transparent`,[i(`bg-color-active`)]:`transparent`,[`&:disabled, &${e.componentCls}-disabled`]:{background:`transparent`,borderColor:`transparent`}},[`&${t}-variant-text`]:{[i(`bg-color-hover`)]:a(`color-light`),[i(`bg-color-active`)]:a(`color-light-active`)}},{[`&${t}-variant-link`]:{[i(`color-base`)]:e.colorLink,[i(`color-hover`)]:e.colorLinkHover,[i(`color-active`)]:e.colorLinkActive,[i(`bg-color-hover`)]:e.linkHoverBg},[`&${t}-color-primary`]:{[i(`color-base`)]:e.colorPrimary,[i(`color-hover`)]:e.colorPrimaryHover,[i(`color-active`)]:e.colorPrimaryActive,[i(`color-light`)]:e.colorPrimaryBg,[i(`color-light-hover`)]:e.colorPrimaryBgHover,[i(`color-light-active`)]:e.colorPrimaryBorder,[i(`shadow`)]:e.primaryShadow,[`&${t}-variant-solid`]:{[i(`text-color`)]:e.primaryColor,[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`)}},[`&${t}-color-dangerous`]:{[i(`color-base`)]:e.colorError,[i(`color-hover`)]:e.colorErrorHover,[i(`color-active`)]:e.colorErrorActive,[i(`color-light`)]:e.colorErrorBg,[i(`color-light-hover`)]:e.colorErrorBgFilledHover,[i(`color-light-active`)]:e.colorErrorBgActive,[i(`shadow`)]:e.dangerShadow,[`&${t}-variant-solid`]:{[i(`text-color`)]:e.dangerColor,[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`)}},[`&${t}-color-default`]:{[i(`solid-bg-color`)]:e.colorBgSolid,[i(`solid-bg-color-hover`)]:e.colorBgSolidHover,[i(`solid-bg-color-active`)]:e.colorBgSolidActive,[i(`color-base`)]:e.defaultBorderColor,[i(`color-hover`)]:e.defaultHoverBorderColor,[i(`color-active`)]:e.defaultActiveBorderColor,[i(`color-light`)]:e.colorFillTertiary,[i(`color-light-hover`)]:e.colorFillSecondary,[i(`color-light-active`)]:e.colorFill,[i(`text-color`)]:e.defaultColor,[i(`text-color-hover`)]:e.defaultHoverColor,[i(`text-color-active`)]:e.defaultActiveColor,[i(`shadow`)]:e.defaultShadow,[`&${t}-variant-outlined`]:{[i(`bg-color-disabled`)]:e.defaultBgDisabled},[`&${t}-variant-solid`]:{[i(`text-color`)]:e.solidTextColor,[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`)},[`&${t}-variant-filled, &${t}-variant-text`]:{[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`)},[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i(`text-color`)]:e.defaultColor,[i(`text-color-hover`)]:e.defaultHoverColor,[i(`text-color-active`)]:e.defaultActiveColor,[i(`bg-color-container`)]:e.defaultBg,[i(`bg-color-hover`)]:e.defaultHoverBg,[i(`bg-color-active`)]:e.defaultActiveBg},[`&${t}-variant-text`]:{[i(`text-color`)]:e.textTextColor,[i(`text-color-hover`)]:e.textTextHoverColor,[i(`text-color-active`)]:e.textTextActiveColor,[i(`bg-color-hover`)]:e.textHoverBg},[`&${t}-background-ghost`]:{[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i(`text-color`)]:e.defaultGhostColor,[i(`border-color`)]:e.defaultGhostBorderColor}}}},Os.map(n=>{let r=e[`${n}6`],a=e[`${n}1`],o=e[`${n}Hover`],s=e[`${n}2`],c=e[`${n}3`],l=e[`${n}Active`],u=e[`${n}ShadowColor`];return{[`&${t}-color-${n}`]:{[i(`color-base`)]:r,[i(`color-hover`)]:o,[i(`color-active`)]:l,[i(`color-light`)]:a,[i(`color-light-hover`)]:s,[i(`color-light-active`)]:c,[i(`shadow`)]:u}}}),{[`&:disabled, &${e.componentCls}-disabled`]:{cursor:`not-allowed`,borderColor:e.colorBorderDisabled,background:a(`bg-color-disabled`),color:e.colorTextDisabled,boxShadow:`none`}},{[`&${t}-background-ghost`]:{[i(`bg-color`)]:e.ghostBg,[i(`bg-color-hover`)]:e.ghostBg,[i(`bg-color-active`)]:e.ghostBg,[i(`shadow`)]:`none`,[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i(`bg-color-hover`)]:e.ghostBg,[i(`bg-color-active`)]:e.ghostBg}}}]}},Jh=e=>{let{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:i,motionDurationSlow:a,motionEaseInOut:o,iconGap:s,calc:c}=e;return{[t]:{outline:`none`,position:`relative`,display:`inline-flex`,gap:s,alignItems:`center`,justifyContent:`center`,fontWeight:r,whiteSpace:`nowrap`,textAlign:`center`,backgroundImage:`none`,cursor:`pointer`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:`none`,touchAction:`manipulation`,...fh(),"&:disabled > *":{pointerEvents:`none`},[`${t}-icon > svg`]:Xc(),"> a":{color:`currentColor`},"&:not(:disabled)":$c(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:`0.34em`},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:`-0.34em`,letterSpacing:`0.34em`},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:`none`}},[`&${t}-loading`]:{opacity:i,cursor:`default`},[`${t}-loading-icon`]:{transition:[`width`,`opacity`,`margin`].map(e=>`${e} ${a} ${o}`).join(`,`)},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:c(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:`row-reverse`,[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:c(s).mul(-1).equal()}}}}}},Yh=e=>({minWidth:e.controlHeight,paddingInline:0,borderRadius:`50%`}),Xh=(e,t=``)=>{let{componentCls:n,controlHeight:r,fontSize:i,borderRadius:a,buttonPaddingHorizontal:o,iconCls:s,buttonPaddingVertical:c,buttonIconOnlyFontSize:l}=e;return[{[t]:{fontSize:i,height:r,padding:`${J(c)} ${J(o)}`,borderRadius:a,[`&${n}-icon-only`]:{width:r,[s]:{fontSize:l}}}},{[`${n}${n}-circle${t}`]:Yh(e)},{[`${n}${n}-round${t}`]:{borderRadius:e.controlHeight,[`&:not(${n}-icon-only)`]:{paddingInline:e.buttonPaddingHorizontal}}}]},Zh=e=>Xh(_s(e,{fontSize:e.contentFontSize}),e.componentCls),Qh=e=>Xh(_s(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM}),`${e.componentCls}-sm`),$h=e=>Xh(_s(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG}),`${e.componentCls}-lg`),$ee=e=>{let{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:`100%`}}}},ete=il(`Button`,e=>{let t=Gh(e);return[Jh(t),Zh(t),Qh(t),$h(t),$ee(t),qh(t),Jee(t)]},Kh,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function tte(e,t,n,r){let{focusElCls:i,focus:a,borderElCls:o}=n,s=o?`> *`:``,c=[`hover`,a?`focus`:null,`active`].filter(Boolean).map(e=>`&:${e} ${s}`).join(`,`);return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${r}-status-success)`]:{zIndex:2},"&-item":{[c]:{zIndex:3},...i?{[`&${i}`]:{zIndex:3}}:{},[`&[disabled] ${s}`]:{zIndex:0}}}}function nte(e,t,n){let{borderElCls:r}=n,i=r?`> ${r}`:``;return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${i}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function eg(e,t={focus:!0}){let{componentCls:n}=e,{componentCls:r}=t,i=r||n,a=`${i}-compact`;return{[a]:{...tte(e,a,t,i),...nte(i,a,t)}}}function rte(e,t,n){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${n}-status-success)`]:{zIndex:2},"&-item":{"&:hover,&:focus,&:active":{zIndex:3},"&[disabled]":{zIndex:0}}}}function ite(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function ate(e){let t=`${e.componentCls}-compact-vertical`;return{[t]:{...rte(e,t,e.componentCls),...ite(e.componentCls,t)}}}var ote=e=>{let{antCls:t,componentCls:n,lineWidth:r,calc:i,colorBgContainer:a}=e,o=`${n}-variant-solid:not([disabled])`,s=i(r).mul(-1).equal(),[c,l]=sl(t,`btn`),u=e=>({[`${n}-compact${e?`-vertical`:``}-item`]:{[c(`compact-connect-border-color`)]:l(`bg-color-hover`),[`&${o}`]:{transition:`none`,[`& + ${o}:before`]:[{position:`absolute`,backgroundColor:l(`compact-connect-border-color`),content:`""`},e?{top:s,insetInline:s,height:r}:{insetBlock:s,insetInlineStart:s,width:r}],"&:hover:before":{display:`none`}}}});return[u(),u(!0),{[`${o}${n}-color-default`]:{[c(`compact-connect-border-color`)]:`color-mix(in srgb, ${l(`bg-color-hover`)} 75%, ${a})`}}]},ste=ol([`Button`,`compact`],e=>{let t=Gh(e);return[eg(t),ate(t),ote(t)]},Kh);function cte(e){if(gd(e)){let t=e?.delay;return t=md(t)?t:0,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}var lte={default:[`default`,`outlined`],primary:[`primary`,`solid`],dashed:[`default`,`dashed`],link:[`link`,`link`],text:[`default`,`text`]},tg=C.forwardRef((e,t)=>{let{_skipSemantic:n,loading:r=!1,prefixCls:i,color:a,variant:o,type:s,danger:c=!1,shape:l,size:u,disabled:d,className:f,rootClassName:p,children:m,icon:h,iconPosition:g,iconPlacement:_,ghost:v=!1,block:y=!1,htmlType:b=`button`,classNames:x,styles:S,style:w,autoInsertSpace:T,autoFocus:E,...D}=e,O=wr(m),k=s||`default`,{getPrefixCls:A,direction:j,autoInsertSpace:M,className:N,style:P,classNames:F,styles:I,loadingIcon:L,shape:R,color:z,variant:B}=ui(`button`),V=l||R||`default`,[H,U]=(0,C.useMemo)(()=>{if(a&&o)return[a,o];if(s||c){let e=lte[k]||[];return c?[`danger`,e[1]]:e}return z&&B?[z,B]:[`default`,`outlined`]},[a,o,s,c,z,B,k]),[W,ee]=(0,C.useMemo)(()=>v&&U===`solid`?[H,`outlined`]:[H,U],[H,U,v]),te=W===`danger`,ne=te?`dangerous`:W,re=T??M??!0,ie=A(`btn`,i),[ae,G]=ete(ie),oe=(0,C.useContext)(Bp),K=d??oe,se=(0,C.useContext)(Gm),ce=(0,C.useMemo)(()=>cte(r),[r]),[le,ue]=(0,C.useState)(ce.loading),[de,fe]=(0,C.useState)(!1),pe=(0,C.useRef)(null),me=tr(t,pe),he=O.length===1&&!h&&!Xm(ee),ge=(0,C.useRef)(!0);C.useEffect(()=>(ge.current=!1,()=>{ge.current=!0}),[]),Vn(()=>{let e=null;ce.delay>0?e=setTimeout(()=>{e=null,ue(!0)},ce.delay):ue(ce.loading);function t(){e&&=(clearTimeout(e),null)}return t},[ce.delay,ce.loading]),(0,C.useEffect)(()=>{if(!pe.current||!re)return;let e=pe.current.textContent||``;he&&Jm(e)?de||fe(!0):de&&fe(!1)}),(0,C.useEffect)(()=>{E&&pe.current&&pe.current.focus()},[]);let _e=C.useCallback(t=>{if(le||K){t.preventDefault();return}e.onClick?.((`href`in e,t))},[e.onClick,le,K]),{compactSize:ve,compactItemClassnames:ye}=Vm(ie,j),be=Rm(e=>u??ve??se??e),xe=le?`loading`:h,Se=_??g??`start`,Ce=Cr(D,[`navigate`]),we={...e,type:k,color:W,variant:ee,danger:te,shape:V,size:be,disabled:K,loading:le,iconPlacement:Se},[Te,Ee]=Id([n?void 0:F,x],[n?void 0:I,S],{props:we}),De=q(ie,ae,G,{[`${ie}-${V}`]:V!==`default`&&V!==`square`&&V,[`${ie}-${k}`]:k,[`${ie}-dangerous`]:c,[`${ie}-color-${ne}`]:ne,[`${ie}-variant-${ee}`]:ee,[`${ie}-lg`]:be===`large`,[`${ie}-sm`]:be===`small`,[`${ie}-icon-only`]:!m&&m!==0&&!!xe,[`${ie}-background-ghost`]:v&&!Xm(ee),[`${ie}-loading`]:le,[`${ie}-two-chinese-chars`]:de&&re&&!le,[`${ie}-block`]:y,[`${ie}-rtl`]:j===`rtl`,[`${ie}-icon-end`]:Se===`end`},ye,f,p,N,Te.root),Oe={...Ee.root,...P,...w},ke={className:Te.icon,style:Ee.icon},Ae=e=>C.createElement(Qm,{prefixCls:ie,...ke},e),je=C.createElement(Cee,{existIcon:!!h,prefixCls:ie,loading:le,mount:ge.current,...ke}),Me=gd(r)&&r.icon||L,Ne;Ne=h&&!le?Ae(h):r&&Me?Ae(Me):je;let Pe=pd(m)?See(m,he&&re,Ee.content,Te.content):null;if(Ce.href!==void 0)return C.createElement(`a`,{...Ce,className:q(De,{[`${ie}-disabled`]:K}),href:K?void 0:Ce.href,style:Oe,onClick:_e,ref:me,tabIndex:K?-1:0,"aria-disabled":K},Ne,Pe);let Fe=C.createElement(`button`,{...D,type:b,className:De,style:Oe,onClick:_e,disabled:K,ref:me},Ne,Pe,ye&&C.createElement(ste,{prefixCls:ie}));return Xm(ee)||(Fe=C.createElement(Lm,{component:`Button`,disabled:le},Fe)),Fe});tg.Group=Km,tg.__ANT_BUTTON=!0;var ng=e=>{let{type:t,children:n,prefixCls:r,buttonProps:i,close:a,autoFocus:o,emitEvent:s,isSilent:c,quitOnNullishReturnValue:l,actionFn:u}=e,d=C.useRef(!1),f=C.useRef(null),[p,m]=Un(!1),h=(...e)=>{a?.(...e)};C.useEffect(()=>{let e=null;return o&&(e=setTimeout(()=>{f.current?.focus({preventScroll:!0})})),()=>{e&&clearTimeout(e)}},[o]);let g=e=>{vd(e)&&(m(!0),e.then((...e)=>{m(!1,!0),h.apply(void 0,e),d.current=!1},e=>{if(m(!1,!0),d.current=!1,!c?.())return Promise.reject(e)}))},_=e=>{if(d.current)return;if(d.current=!0,!u){h();return}let t;if(s){if(t=u(e),l&&!vd(t)){d.current=!1,h(e);return}}else if(u.length)t=u(a),d.current=!1;else if(t=u(),!vd(t)){h();return}g(t)};return C.createElement(tg,{...Ym(t),onClick:_,loading:p,prefixCls:r,...i,ref:f},n)},rg=C.createContext({}),{Provider:ig}=rg,ag=()=>{let{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:i,rootPrefixCls:a,close:o,onCancel:s,onConfirm:c,onClose:l}=(0,C.useContext)(rg);return i?C.createElement(ng,{isSilent:r,actionFn:s,close:(...e)=>{o?.(...e),c?.(!1),l?.()},autoFocus:e===`cancel`,buttonProps:t,prefixCls:`${a}-btn`},n):null},og=()=>{let{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:i,okTextLocale:a,okType:o,onConfirm:s,onOk:c,onClose:l}=(0,C.useContext)(rg);return C.createElement(ng,{isSilent:n,type:o||`primary`,actionFn:c,close:(...e)=>{t?.(...e),s?.(!0),l?.()},autoFocus:e===`ok`,buttonProps:r,prefixCls:`${i}-btn`},a)},sg=C.createContext({});function cg(e,t,n){let r=t;return!r&&n&&(r=`${e}-${n}`),r}function lg(e,t){let n=e[`page${t?`Y`:`X`}Offset`],r=`scroll${t?`Top`:`Left`}`;if(typeof n!=`number`){let t=e.document;n=t.documentElement[r],typeof n!=`number`&&(n=t.body[r])}return n}function ute(e){let t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=lg(i),n.top+=lg(i,!0),n}function ug(e,t=!1){if(lp(e)){let n=e.nodeName.toLowerCase(),r=[`input`,`select`,`textarea`,`button`].includes(n)||e.isContentEditable||n===`a`&&!!e.getAttribute(`href`),i=e.getAttribute(`tabindex`),a=Number(i),o=null;return i&&!Number.isNaN(a)?o=a:r&&o===null&&(o=0),r&&e.disabled&&(o=null),o!==null&&(o>=0||t&&o<0)}return!1}function dg(e,t=!1){let n=[...e.querySelectorAll(`*`)].filter(e=>ug(e,t));return ug(e,t)&&n.unshift(e),n}function fg(e,t){if(!e)return;e.focus(t);let{cursor:n}=t||{};if(n&&(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)){let t=e.value.length;switch(n){case`start`:e.setSelectionRange(0,0);break;case`end`:e.setSelectionRange(t,t);break;default:e.setSelectionRange(0,t)}}}var pg=null,mg=[],hg=new Map,gg=new Map;function _g(){return mg[mg.length-1]}function dte(e){let t=_g();if(e&&t){let n;for(let[e,r]of hg.entries())if(r===t){n=e;break}let r=gg.get(n);return!!r&&(r===e||r.contains(e))}return!1}function fte(e){let{activeElement:t}=document;return e===t||e.contains(t)}function vg(){let e=_g(),{activeElement:t}=document;if(!dte(t))if(e&&!fte(e)){let t=dg(e);(t.includes(pg)?pg:t[0])?.focus({preventScroll:!0})}else pg=t}function yg(e){if(e.key===`Tab`){let{activeElement:t}=document,n=dg(_g()),r=n[n.length-1];e.shiftKey&&t===n[0]?pg=r:!e.shiftKey&&t===r&&(pg=n[0])}}function pte(e,t){return e&&(hg.set(t,e),mg=mg.filter(t=>t!==e),mg.push(e),window.addEventListener(`focusin`,vg),window.addEventListener(`keydown`,yg,!0),vg()),()=>{pg=null,mg=mg.filter(t=>t!==e),hg.delete(t),gg.delete(t),mg.length===0&&(window.removeEventListener(`focusin`,vg),window.removeEventListener(`keydown`,yg,!0))}}function mte(e,t){let n=(0,C.useRef)(0),[r,i]=(0,C.useState)(0);(0,C.useEffect)(()=>{n.current=0},t),(0,C.useEffect)(()=>{let[t,r]=e(n.current);return r||(n.current+=1,i(e=>e+1)),t},[...t,r])}function bg(e,t){let n=Bf(),r=(0,C.useRef)(t);return r.current=t,mte(t=>{if(!e)return[void 0,!0];let i=r.current();return i?[pte(i,n),!0]:[void 0,t>=1]},[n,e]),[e=>{e&&gg.set(n,e)}]}var hte=C.memo(({children:e})=>e,(e,{shouldUpdate:t})=>!t);function xg(){return xg=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,className:r,style:i,title:a,ariaId:o,footer:s,closable:c,closeIcon:l,onClose:u,children:d,bodyStyle:f,bodyProps:p,modalRender:m,onMouseDown:h,onMouseUp:g,holderRef:_,visible:v,forceRender:y,width:b,height:x,classNames:S,styles:w,isFixedPos:T,focusTrap:E}=e,{panel:D}=C.useContext(sg),O=(0,C.useRef)(null),k=tr(_,D,O),[A]=bg(v&&T&&E!==!1,()=>O.current);C.useImperativeHandle(t,()=>({focus:()=>{O.current?.focus({preventScroll:!0})}}));let j={};b!==void 0&&(j.width=b),x!==void 0&&(j.height=x);let M=s?C.createElement(`div`,{className:q(`${n}-footer`,S?.footer),style:{...w?.footer}},s):null,N=a?C.createElement(`div`,{className:q(`${n}-header`,S?.header),style:{...w?.header}},C.createElement(`div`,{className:q(`${n}-title`,S?.title),id:o,style:{...w?.title}},a)):null,P=(0,C.useMemo)(()=>typeof c==`object`&&c?c:c?{closeIcon:l??C.createElement(`span`,{className:`${n}-close-x`})}:{},[c,l,n]),F=Hu(P,!0),I=typeof c==`object`&&c.disabled,L=c?C.createElement(`button`,xg({type:`button`,onClick:u,"aria-label":`Close`},F,{className:`${n}-close`,disabled:I}),P.closeIcon):null,R=C.createElement(`div`,{className:q(`${n}-container`,S?.container),style:w?.container},L,N,C.createElement(`div`,xg({className:q(`${n}-body`,S?.body),style:{...f,...w?.body}},p),d),M);return C.createElement(`div`,{key:`dialog-element`,role:`dialog`,"aria-labelledby":a?o:null,"aria-modal":`true`,ref:k,style:{...i,...j},className:q(n,r),onMouseDown:h,onMouseUp:g,tabIndex:-1,onFocus:e=>{A(e.target)}},C.createElement(hte,{shouldUpdate:v||y},m?m(R):R))});function Cg(){return Cg=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,title:r,style:i,className:a,visible:o,forceRender:s,destroyOnHidden:c,motionName:l,ariaId:u,onVisibleChanged:d,mousePosition:f}=e,p=(0,C.useRef)(null),m=(0,C.useRef)(null);C.useImperativeHandle(t,()=>({...m.current,inMotion:p.current.inMotion,enableMotion:p.current.enableMotion}));let[h,g]=C.useState(),_={};h&&(_.transformOrigin=h);function v(){if(!p.current?.nativeElement)return;let e=ute(p.current.nativeElement);g(f&&(f.x||f.y)?`${f.x-e.left}px ${f.y-e.top}px`:``)}return C.createElement(Lu,{visible:o,onVisibleChanged:d,onAppearPrepare:v,onEnterPrepare:v,forceRender:s,motionName:l,removeOnLeave:c,ref:p},({className:t,style:o},s)=>C.createElement(Sg,Cg({},e,{ref:m,title:r,ariaId:u,prefixCls:n,holderRef:s,style:{...o,...i,..._},className:q(a,t)})))});function wg(){return wg=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t,style:n,visible:r,maskProps:i,motionName:a,className:o}=e;return C.createElement(Lu,{key:`mask`,visible:r,motionName:a,leavedClassName:`${t}-mask-hidden`},({className:e,style:r},a)=>C.createElement(`div`,wg({ref:a,style:{...r,...n},className:q(`${t}-mask`,e,o)},i)))};function Tg(){return Tg=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t=`rc-dialog`,zIndex:n,visible:r=!1,focusTriggerAfterClose:i=!0,wrapStyle:a,wrapClassName:o,wrapProps:s,onClose:c,afterOpenChange:l,afterClose:u,transitionName:d,animation:f,closable:p=!0,mask:m=!0,maskTransitionName:h,maskAnimation:g,maskClosable:_=!0,maskStyle:v,maskProps:y,rootClassName:b,rootStyle:x,classNames:S,styles:w}=e,T=(0,C.useRef)(null),E=(0,C.useRef)(null),D=(0,C.useRef)(null),[O,k]=C.useState(r),[A,j]=C.useState(!1),M=Bf();function N(){fi(E.current,document.activeElement)||(T.current=document.activeElement)}function P(){fi(E.current,document.activeElement)||D.current?.focus()}function F(){if(k(!1),m&&T.current&&i){try{T.current.focus({preventScroll:!0})}catch{}T.current=null}O&&u?.()}function I(e){e?P():F(),l?.(e)}function L(e){c?.(e)}let R=(0,C.useRef)(!1),z=null;_&&(z=e=>{E.current===e.target&&R.current&&L(e)});function B(e){R.current=e.target===E.current}(0,C.useEffect)(()=>{r?(R.current=!1,k(!0),N(),E.current&&j(getComputedStyle(E.current).position===`fixed`)):O&&D.current.enableMotion()&&!D.current.inMotion()&&F()},[r]);let V={zIndex:n,...a,...w?.wrapper,display:O?null:`none`};return C.createElement(`div`,Tg({className:q(`${t}-root`,b),style:x},Hu(e,{data:!0})),C.createElement(_te,{prefixCls:t,visible:m&&r,motionName:cg(t,h,g),style:{zIndex:n,...v,...w?.mask},maskProps:y,className:S?.mask}),C.createElement(`div`,Tg({className:q(`${t}-wrap`,o,S?.wrapper),ref:E,onClick:z,onMouseDown:B,style:V},s),C.createElement(gte,Tg({},e,{isFixedPos:A,ref:D,closable:p,ariaId:M,prefixCls:t,visible:r&&O,onClose:L,onVisibleChanged:I,motionName:cg(t,d,f)}))))};function Eg(){return Eg=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{visible:t,getContainer:n,forceRender:r,destroyOnHidden:i=!1,afterClose:a,closable:o,panelRef:s,keyboard:c=!0,onClose:l}=e,[u,d]=C.useState(t),f=C.useMemo(()=>({panel:s}),[s]);return C.useEffect(()=>{t&&d(!0)},[t]),!r&&i&&!u?null:C.createElement(sg.Provider,{value:f},C.createElement(Zf,{open:t||r||u,onEsc:({top:e,event:t})=>{if(e&&c){t.stopPropagation(),l?.(t);return}},autoDestroy:!1,getContainer:n,autoLock:t||u},C.createElement(vte,Eg({},e,{destroyOnHidden:i,afterClose:()=>{let{afterClose:e}=(o&&typeof o==`object`?o:{})||{};e?.(),a?.(),d(!1)}}))))},Dg=`RC_FORM_INTERNAL_HOOKS`,Og=()=>{xr(!1,`Can not find FormContext. Please make sure you wrap Field under Form.`)},kg=C.createContext({getFieldValue:Og,getFieldsValue:Og,getFieldError:Og,getFieldWarning:Og,getFieldsError:Og,isFieldsTouched:Og,isFieldTouched:Og,isFieldValidating:Og,isFieldsValidating:Og,resetFields:Og,setFields:Og,setFieldValue:Og,setFieldsValue:Og,validateFields:Og,submit:Og,getInternalHooks:()=>(Og(),{dispatch:Og,initEntityValue:Og,registerField:Og,useSubscribe:Og,setInitialValues:Og,destroyForm:Og,setCallbacks:Og,registerWatch:Og,getFields:Og,setValidateMessages:Og,setPreserve:Og,getInitialValue:Og})}),Ag=C.createContext(null);function jg(e){return e==null?[]:Array.isArray(e)?e:[e]}function bte(e){return e&&!!e._init}function Mg(){return{default:`Validation error on field %s`,required:`%s is required`,enum:`%s must be one of %s`,whitespace:`%s cannot be empty`,date:{format:`%s date %s is invalid for format %s`,parse:`%s date could not be parsed, %s is invalid `,invalid:`%s date %s is invalid`},types:{string:`%s is not a %s`,method:`%s is not a %s (function)`,array:`%s is not an %s`,object:`%s is not an %s`,number:`%s is not a %s`,date:`%s is not a %s`,boolean:`%s is not a %s`,integer:`%s is not an %s`,float:`%s is not a %s`,regexp:`%s is not a valid %s`,email:`%s is not a valid %s`,tel:`%s is not a valid %s`,url:`%s is not a valid %s`,hex:`%s is not a valid %s`},string:{len:`%s must be exactly %s characters`,min:`%s must be at least %s characters`,max:`%s cannot be longer than %s characters`,range:`%s must be between %s and %s characters`},number:{len:`%s must equal %s`,min:`%s cannot be less than %s`,max:`%s cannot be greater than %s`,range:`%s must be between %s and %s`},array:{len:`%s must be exactly %s in length`,min:`%s cannot be less than %s in length`,max:`%s cannot be greater than %s in length`,range:`%s must be between %s and %s in length`},pattern:{mismatch:`%s value %s does not match pattern %s`},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Ng=Mg();function xte(e){try{return Function.toString.call(e).indexOf(`[native code]`)!==-1}catch{return typeof e==`function`}}function Ste(e,t,n){if(rs())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&es(i,n.prototype),i}function Pg(e){var t=typeof Map==`function`?new Map:void 0;return Pg=function(e){if(e===null||!xte(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Ste(e,arguments,ns(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),es(n,e)},Pg(e)}var Cte=/%[sdj%]/g,wte=function(){};function Fg(e){if(!e||!e.length)return null;var t={};return e.forEach(function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)}),t}function Ig(e){var t=[...arguments].slice(1),n=0,r=t.length;return typeof e==`function`?e.apply(null,t):typeof e==`string`?e.replace(Cte,function(e){if(e===`%%`)return`%`;if(n>=r)return e;switch(e){case`%s`:return String(t[n++]);case`%d`:return Number(t[n++]);case`%j`:try{return JSON.stringify(t[n++])}catch{return`[Circular]`}break;default:return e}}):e}function Tte(e){return e===`string`||e===`url`||e===`hex`||e===`email`||e===`date`||e===`pattern`||e===`tel`}function Lg(e,t){return!!(e==null||t===`array`&&Array.isArray(e)&&!e.length||Tte(t)&&typeof e==`string`&&!e)}function Ete(e,t,n){var r=[],i=0,a=e.length;function o(e){r.push.apply(r,Qr(e||[])),i++,i===a&&n(r)}e.forEach(function(e){t(e,o)})}function Rg(e,t,n){var r=0,i=e.length;function a(o){if(o&&o.length){n(o);return}var s=r;r+=1,se.max?r.push(Ig(i.messages[u].max,e.fullField,e.max)):o&&s&&(le.max)&&r.push(Ig(i.messages[u].range,e.fullField,e.min,e.max))},Ug=function(e,t,n,r,i,a){e.required&&(!n.hasOwnProperty(e.field)||Lg(t,a||e.type))&&r.push(Ig(i.messages.required,e.fullField))},Wg,Pte=(function(){if(Wg)return Wg;var e=`[a-fA-F\\d:]`,t=function(t){return t&&t.includeBoundaries?`(?:(?<=\\s|^)(?=${e})|(?<=${e})(?=\\s|\$))`:``},n=`(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}`,r=`[a-fA-F\\d]{1,4}`,i=`(?:${[`(?:${r}:){7}(?:${r}|:)`,`(?:${r}:){6}(?:${n}|:${r}|:)`,`(?:${r}:){5}(?::${n}|(?::${r}){1,2}|:)`,`(?:${r}:){4}(?:(?::${r}){0,1}:${n}|(?::${r}){1,3}|:)`,`(?:${r}:){3}(?:(?::${r}){0,2}:${n}|(?::${r}){1,4}|:)`,`(?:${r}:){2}(?:(?::${r}){0,3}:${n}|(?::${r}){1,5}|:)`,`(?:${r}:){1}(?:(?::${r}){0,4}:${n}|(?::${r}){1,6}|:)`,`(?::(?:(?::${r}){0,5}:${n}|(?::${r}){1,7}|:))`].join(`|`)})(?:%[0-9a-zA-Z]{1,})?`,a=RegExp(`(?:^${n}\$)|(?:^${i}\$)`),o=RegExp(`^${n}\$`),s=RegExp(`^${i}\$`),c=function(e){return e&&e.exact?a:RegExp(`(?:${t(e)}${n}${t(e)})|(?:${t(e)}${i}${t(e)})`,`g`)};c.v4=function(e){return e&&e.exact?o:RegExp(`${t(e)}${n}${t(e)}`,`g`)},c.v6=function(e){return e&&e.exact?s:RegExp(`${t(e)}${i}${t(e)}`,`g`)};var l=`(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|${c.v4().source}|${c.v6().source}|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?`;return Wg=RegExp(`(?:^${l}\$)`,`i`),Wg}),Gg={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,tel:/^(\+[0-9]{1,3}[-\s\u2011]?)?(\([0-9]{1,4}\)[-\s\u2011]?)?([0-9]+[-\s\u2011]?)*[0-9]+$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Kg={integer:function(e){return Kg.number(e)&&parseInt(e,10)===e},float:function(e){return Kg.number(e)&&!Kg.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch{return!1}},date:function(e){return typeof e.getTime==`function`&&typeof e.getMonth==`function`&&typeof e.getYear==`function`&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e==`number`},object:function(e){return Bo(e)===`object`&&!Kg.array(e)},method:function(e){return typeof e==`function`},email:function(e){return typeof e==`string`&&e.length<=320&&!!e.match(Gg.email)},tel:function(e){return typeof e==`string`&&e.length<=32&&!!e.match(Gg.tel)},url:function(e){return typeof e==`string`&&e.length<=2048&&!!e.match(Pte())},hex:function(e){return typeof e==`string`&&!!e.match(Gg.hex)}},qg={required:Ug,whitespace:function(e,t,n,r,i){(/^\s+$/.test(t)||t===``)&&r.push(Ig(i.messages.whitespace,e.fullField))},type:function(e,t,n,r,i){if(e.required&&t===void 0){Ug(e,t,n,r,i);return}var a=[`integer`,`float`,`array`,`regexp`,`object`,`method`,`email`,`tel`,`number`,`date`,`url`,`hex`],o=e.type;a.indexOf(o)>-1?Kg[o](t)||r.push(Ig(i.messages.types[o],e.fullField,e.type)):o&&Bo(t)!==e.type&&r.push(Ig(i.messages.types[o],e.fullField,e.type))},range:Nte,enum:jte,pattern:Mte},Fte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lg(t)&&!e.required)return n();qg.required(e,t,r,a,i)}n(a)},Ite=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(t==null&&!e.required)return n();qg.required(e,t,r,a,i,`array`),t!=null&&(qg.type(e,t,r,a,i),qg.range(e,t,r,a,i))}n(a)},Lte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lg(t)&&!e.required)return n();qg.required(e,t,r,a,i),t!==void 0&&qg.type(e,t,r,a,i)}n(a)},Rte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lg(t,`date`)&&!e.required)return n();if(qg.required(e,t,r,a,i),!Lg(t,`date`)){var o=t instanceof Date?t:new Date(t);qg.type(e,o,r,a,i),o&&qg.range(e,o.getTime(),r,a,i)}}n(a)},zte=`enum`,Bte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lg(t)&&!e.required)return n();qg.required(e,t,r,a,i),t!==void 0&&qg[zte](e,t,r,a,i)}n(a)},Vte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lg(t)&&!e.required)return n();qg.required(e,t,r,a,i),t!==void 0&&(qg.type(e,t,r,a,i),qg.range(e,t,r,a,i))}n(a)},Hte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lg(t)&&!e.required)return n();qg.required(e,t,r,a,i),t!==void 0&&(qg.type(e,t,r,a,i),qg.range(e,t,r,a,i))}n(a)},Ute=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lg(t)&&!e.required)return n();qg.required(e,t,r,a,i),t!==void 0&&qg.type(e,t,r,a,i)}n(a)},Wte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(t===``&&(t=void 0),Lg(t)&&!e.required)return n();qg.required(e,t,r,a,i),t!==void 0&&(qg.type(e,t,r,a,i),qg.range(e,t,r,a,i))}n(a)},Gte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lg(t)&&!e.required)return n();qg.required(e,t,r,a,i),t!==void 0&&qg.type(e,t,r,a,i)}n(a)},Kte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lg(t,`string`)&&!e.required)return n();qg.required(e,t,r,a,i),Lg(t,`string`)||qg.pattern(e,t,r,a,i)}n(a)},qte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lg(t)&&!e.required)return n();qg.required(e,t,r,a,i),Lg(t)||qg.type(e,t,r,a,i)}n(a)},Jte=function(e,t,n,r,i){var a=[],o=Array.isArray(t)?`array`:Bo(t);qg.required(e,t,r,a,i,o),n(a)},Yte=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lg(t,`string`)&&!e.required)return n();qg.required(e,t,r,a,i,`string`),Lg(t,`string`)||(qg.type(e,t,r,a,i),qg.range(e,t,r,a,i),qg.pattern(e,t,r,a,i),e.whitespace===!0&&qg.whitespace(e,t,r,a,i))}n(a)},Jg=function(e,t,n,r,i){var a=e.type,o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Lg(t,a)&&!e.required)return n();qg.required(e,t,r,o,i,a),Lg(t,a)||qg.type(e,t,r,o,i)}n(o)},Yg={string:Yte,method:Ute,number:Wte,boolean:Lte,regexp:qte,integer:Hte,float:Vte,array:Ite,object:Gte,enum:Bte,pattern:Kte,date:Rte,url:Jg,hex:Jg,email:Jg,tel:Jg,required:Jte,any:Fte},Xg=function(){function e(t){Xo(this,e),qo(this,`rules`,null),qo(this,`_messages`,Ng),this.define(t)}return Qo(e,[{key:`define`,value:function(e){var t=this;if(!e)throw Error(`Cannot configure a schema with no rules`);if(Bo(e)!==`object`||Array.isArray(e))throw Error(`Rules must be an object`);this.rules={},Object.keys(e).forEach(function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]})}},{key:`messages`,value:function(e){return e&&(this._messages=Vg(Mg(),e)),this._messages}},{key:`validate`,value:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},a=t,o=r,s=i;if(typeof o==`function`&&(s=o,o={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(null,a),Promise.resolve(a);function c(e){var t=[],n={};function r(e){if(Array.isArray(e)){var n;t=(n=t).concat.apply(n,Qr(e))}else t.push(e)}for(var i=0;i0&&arguments[0]!==void 0?arguments[0]:[],l=Array.isArray(c)?c:[c];!o.suppressWarning&&l.length&&e.warning(`async-validator:`,l),l.length&&r.message!==void 0&&r.message!==null&&(l=[].concat(r.message));var u=l.map(Bg(r,a));if(o.first&&u.length)return d[r.field]=1,n(u);if(!i)n(u);else{if(r.required&&!t.value)return r.message===void 0?o.error&&(u=[o.error(r,Ig(o.messages.required,r.field))]):u=[].concat(r.message).map(Bg(r,a)),n(u);var f={};r.defaultField&&Object.keys(t.value).map(function(e){f[e]=r.defaultField}),f=Yo(Yo({},f),t.rule.fields);var p={};Object.keys(f).forEach(function(e){var t=f[e];p[e]=(Array.isArray(t)?t:[t]).map(s.bind(null,e))});var m=new e(p);m.messages(o.messages),t.rule.options&&(t.rule.options.messages=o.messages,t.rule.options.error=o.error),m.validate(t.value,t.rule.options||o,function(e){var t=[];u&&u.length&&t.push.apply(t,Qr(u)),e&&e.length&&t.push.apply(t,Qr(e)),n(t.length?t:null)})}}var l;if(r.asyncValidator)l=r.asyncValidator(r,t.value,c,t.source,o);else if(r.validator){try{l=r.validator(r,t.value,c,t.source,o)}catch(e){var u,f;(u=(f=console).error)==null||u.call(f,e),o.suppressValidatorError||setTimeout(function(){throw e},0),c(e.message)}l===!0?c():l===!1?c(typeof r.message==`function`?r.message(r.fullField||r.field):r.message||`${r.fullField||r.field} fails`):l instanceof Array?c(l):l instanceof Error&&c(l.message)}l&&l.then&&l.then(function(){return c()},function(e){return c(e)})},function(e){c(e)},a)}},{key:`getType`,value:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type=`pattern`),typeof e.validator!=`function`&&e.type&&!Yg.hasOwnProperty(e.type))throw Error(Ig(`Unknown rule type %s`,e.type));return e.type||`string`}},{key:`getValidationMethod`,value:function(e){if(typeof e.validator==`function`)return e.validator;var t=Object.keys(e),n=t.indexOf(`message`);return n!==-1&&t.splice(n,1),t.length===1&&t[0]===`required`?Yg.required:Yg[this.getType(e)]||void 0}}]),e}();qo(Xg,`register`,function(e,t){if(typeof t!=`function`)throw Error(`Cannot register a validator by type, validator is not a function`);Yg[e]=t}),qo(Xg,`warning`,wte),qo(Xg,`messages`,Ng),qo(Xg,`validators`,Yg);var Zg="'${name}' is not a valid ${type}",Qg={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Zg,method:Zg,array:Zg,object:Zg,number:Zg,date:Zg,boolean:Zg,integer:Zg,float:Zg,regexp:Zg,email:Zg,tel:Zg,url:Zg,hex:Zg},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},$g=Xg;function e_(e,t){return e.replace(/\\?\$\{\w+\}/g,e=>e.startsWith(`\\`)?e.slice(1):t[e.slice(2,-1)])}var t_=`CODE_LOGIC_ERROR`;async function n_(e,t,n,r,i){let a={...n};if(delete a.ruleIndex,$g.warning=()=>void 0,a.validator){let e=a.validator;a.validator=(...t)=>{try{return e(...t)}catch(e){return console.error(e),Promise.reject(t_)}}}let o=null;a&&a.type===`array`&&a.defaultField&&(o=a.defaultField,delete a.defaultField);let s=new $g({[e]:[a]}),c=pr(Qg,r.validateMessages);s.messages(c);let l=[];try{await Promise.resolve(s.validate({[e]:t},{...r}))}catch(e){e.errors&&(l=e.errors.map(({message:e},t)=>{let n=e===t_?c.default:e;return C.isValidElement(n)?C.cloneElement(n,{key:`error_${t}`}):n}))}if(!l.length&&o&&Array.isArray(t)&&t.length>0)return(await Promise.all(t.map((t,n)=>n_(`${e}.${n}`,t,o,r,i)))).reduce((e,t)=>[...e,...t],[]);let u={...n,name:e,enum:(n.enum||[]).join(`, `),...i};return l.map(e=>typeof e==`string`?e_(e,u):e)}function r_(e,t,n,r,i,a){let o=e.join(`.`),s=n.map((e,t)=>{let n=e.validator,r={...e,ruleIndex:t};return n&&(r.validator=(e,t,r)=>{let i=!1,a=n(e,t,(...e)=>{Promise.resolve().then(()=>{xr(!i,"Your validator function has already return a promise. `callback` will be ignored."),i||r(...e)})});i=a&&typeof a.then==`function`&&typeof a.catch==`function`,xr(i,"`callback` is deprecated. Please return a promise instead."),i&&a.then(()=>{r()}).catch(e=>{r(e||` `)})}),r}).sort(({warningOnly:e,ruleIndex:t},{warningOnly:n,ruleIndex:r})=>!!e==!!n?t-r:e?1:-1),c;if(i===!0)c=new Promise(async(e,n)=>{for(let e=0;en_(o,t,e,r,a).then(t=>({errors:t,rule:e})));c=(i?a_(e):i_(e)).then(e=>Promise.reject(e))}return c.catch(e=>e),c}async function i_(e){return Promise.all(e).then(e=>[].concat(...e))}async function a_(e){let t=0;return new Promise(n=>{e.forEach(r=>{r.then(r=>{r.errors.length&&n([r]),t+=1,t===e.length&&n([])})})})}function o_(e){return jg(e)}function s_(e,t){let n={};return t.forEach(t=>{let r=or(e,t);n=cr(n,t,r)}),n}function c_(e,t,n=!1){return e&&e.some(e=>l_(t,e,n))}function l_(e,t,n=!1){return!e||!t||!n&&e.length!==t.length?!1:t.every((t,n)=>e[n]===t)}function u_(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||typeof e!=`object`||typeof t!=`object`)return!1;let n=Object.keys(e),r=Object.keys(t);return[...new Set([...n,...r])].every(n=>{let r=e[n],i=t[n];return typeof r==`function`&&typeof i==`function`?!0:r===i})}function d_(e,...t){let n=t[0];return n&&n.target&&typeof n.target==`object`&&e in n.target?n.target[e]:n}function f_(e,t,n){let{length:r}=e;if(t<0||t>=r||n<0||n>=r)return e;let i=e[t],a=t-n;return a>0?[...e.slice(0,n),i,...e.slice(n,t),...e.slice(t+1,r)]:a<0?[...e.slice(0,t),...e.slice(t+1,n+1),i,...e.slice(n+1,r)]:e}var p_=e=>{let t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(null)},m_=class{namePathList=[];taskId=0;watcherList=new Set;form;constructor(e){this.form=e}register(e){return this.watcherList.add(e),()=>{this.watcherList.delete(e)}}notify(e){e.forEach(e=>{this.namePathList.every(t=>!l_(t,e))&&this.namePathList.push(e)}),this.doBatch()}doBatch(){this.taskId+=1;let e=this.taskId;p_(()=>{if(e===this.taskId&&this.watcherList.size){let e=this.form.getForm(),t=e.getFieldsValue(),n=e.getFieldsValue(!0);this.watcherList.forEach(e=>{e(t,n,this.namePathList)}),this.namePathList=[]}})}};async function h_(){return new Promise(e=>{p_(()=>{ii(()=>{e()})})})}function g_(){return g_=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{preserve:e,isListField:t,name:n}=this.props;this.cancelRegisterFunc&&this.cancelRegisterFunc(t,e,o_(n)),this.cancelRegisterFunc=null};getNamePath=()=>{let{name:e,fieldContext:t}=this.props,{prefixName:n=[]}=t;return e===void 0?[]:[...n,...e]};getRules=()=>{let{rules:e=[],fieldContext:t}=this.props;return e.map(e=>typeof e==`function`?e(t):e)};reRender(){this.mounted&&this.forceUpdate()}refresh=()=>{this.mounted&&this.setState(({resetCount:e})=>({resetCount:e+1}))};metaCache=null;triggerMetaEvent=e=>{let{onMetaChange:t}=this.props;if(t){let n={...this.getMeta(),destroy:e};Ei(this.metaCache,n)||t(n),this.metaCache=n}else this.metaCache=null};onStoreChange=(e,t,n)=>{let{shouldUpdate:r,dependencies:i=[],onReset:a}=this.props,{store:o}=n,s=this.getNamePath(),c=this.getValue(e),l=this.getValue(o),u=t&&c_(t,s);switch(n.type===`valueUpdate`&&n.source===`external`&&!Ei(c,l)&&(this.touched=!0,this.dirty=!0,this.validatePromise=null,this.errors=__,this.warnings=v_,this.triggerMetaEvent()),n.type){case`reset`:if(!t||u){this.touched=!1,this.dirty=!1,this.validatePromise=void 0,this.errors=__,this.warnings=v_,this.triggerMetaEvent(),a?.(),this.refresh();return}break;case`remove`:if(r&&y_(r,e,o,c,l,n)){this.reRender();return}break;case`setField`:{let{data:i}=n;if(u){`touched`in i&&(this.touched=i.touched),`validating`in i&&!(`originRCField`in i)&&(this.validatePromise=i.validating?Promise.resolve([]):null),`errors`in i&&(this.errors=i.errors||__),`warnings`in i&&(this.warnings=i.warnings||v_),this.dirty=!0,this.triggerMetaEvent(),this.reRender();return}else if(`value`in i&&c_(t,s,!0)){this.reRender();return}if(r&&!s.length&&y_(r,e,o,c,l,n)){this.reRender();return}break}case`dependenciesUpdate`:if(i.map(o_).some(e=>c_(n.relatedFields,e))){this.reRender();return}break;default:if(u||(!i.length||s.length||r)&&y_(r,e,o,c,l,n)){this.reRender();return}break}r===!0&&this.reRender()};validateRules=e=>{let t=this.getNamePath(),n=this.getValue(),{triggerName:r,validateOnly:i=!1,delayFrame:a}=e||{},o=Promise.resolve().then(async()=>{if(!this.mounted)return[];let{validateFirst:i=!1,messageVariables:s,validateDebounce:c}=this.props;a&&await h_();let l=this.getRules();if(r&&(l=l.filter(e=>e).filter(e=>{let{validateTrigger:t}=e;return t?jg(t).includes(r):!0})),c&&r&&(await new Promise(e=>{setTimeout(e,c)}),this.validatePromise!==o))return[];let u=r_(t,n,l,e,i,s);return u.catch(e=>e).then((e=__)=>{if(this.validatePromise===o){this.validatePromise=null;let t=[],n=[];e.forEach?.(({rule:{warningOnly:e},errors:r=__})=>{e?n.push(...r):t.push(...r)}),this.errors=t,this.warnings=n,this.triggerMetaEvent(),this.reRender()}}),u});return i?o:(this.validatePromise=o,this.dirty=!0,this.errors=__,this.warnings=v_,this.triggerMetaEvent(),this.reRender(),o)};isFieldValidating=()=>!!this.validatePromise;isFieldTouched=()=>this.touched;isFieldDirty=()=>{if(this.dirty||this.props.initialValue!==void 0)return!0;let{fieldContext:e}=this.props,{getInitialValue:t}=e.getInternalHooks(Dg);return t(this.getNamePath())!==void 0};getErrors=()=>this.errors;getWarnings=()=>this.warnings;isListField=()=>this.props.isListField;isList=()=>this.props.isList;isPreserve=()=>this.props.preserve;getMeta=()=>(this.prevValidating=this.isFieldValidating(),{touched:this.isFieldTouched(),validating:this.prevValidating,errors:this.errors,warnings:this.warnings,name:this.getNamePath(),validated:this.validatePromise===null});getOnlyChild=e=>{if(typeof e==`function`){let t=this.getMeta();return{...this.getOnlyChild(e(this.getControlled(),t,this.props.fieldContext)),isFunction:!0}}let t=wr(e);return t.length!==1||!C.isValidElement(t[0])?{child:t,isFunction:!1}:{child:t[0],isFunction:!1}};getValue=e=>{let{getFieldsValue:t}=this.props.fieldContext,n=this.getNamePath();return or(e||t(!0),n)};getControlled=(e={})=>{let{name:t,trigger:n=`onChange`,validateTrigger:r,getValueFromEvent:i,normalize:a,valuePropName:o=`value`,getValueProps:s,fieldContext:c}=this.props,l=r===void 0?c.validateTrigger:r,u=this.getNamePath(),{getInternalHooks:d,getFieldsValue:f}=c,{dispatch:p}=d(Dg),m=this.getValue(),h=s||(e=>({[o]:e})),g=e[n],_=t===void 0?{}:h(m),v={...e,..._};return v[n]=(...e)=>{this.touched=!0,this.dirty=!0,this.triggerMetaEvent();let t;t=i?i(...e):d_(o,...e),a&&(t=a(t,m,f(!0))),t!==m&&p({type:`updateValue`,namePath:u,value:t}),g&&g(...e)},jg(l||[]).forEach(e=>{let t=v[e];v[e]=(...n)=>{t&&t(...n);let{rules:r}=this.props;r&&r.length&&p({type:`validateField`,namePath:u,triggerName:e})}}),v};render(){let{resetCount:e}=this.state,{children:t}=this.props,{child:n,isFunction:r}=this.getOnlyChild(t),i;return r?i=n:C.isValidElement(n)?i=C.cloneElement(n,this.getControlled(n.props)):(xr(!n,"`children` of Field is not validate ReactElement."),i=n),C.createElement(C.Fragment,{key:e},i)}};function x_({name:e,...t}){let n=C.useContext(kg),r=C.useContext(Ag),i=e===void 0?void 0:o_(e),a=t.isListField??!!r,o=`keep`;return a||(o=`_${(i||[]).join(`_`)}`),C.createElement(b_,g_({key:o,name:i,isListField:a},t,{fieldContext:n}))}function S_({name:e,initialValue:t,children:n,rules:r,validateTrigger:i,isListField:a}){let o=C.useContext(kg),s=C.useContext(Ag),c=C.useRef({keys:[],id:0}).current,l=C.useMemo(()=>[...o_(o.prefixName)||[],...o_(e)],[o.prefixName,e]),u=C.useMemo(()=>({...o,prefixName:l}),[o,l]),d=C.useMemo(()=>({getKey:e=>{let t=l.length,n=e[t];return[c.keys[n],e.slice(t+1)]}}),[c,l]);return typeof n==`function`?C.createElement(Ag.Provider,{value:d},C.createElement(kg.Provider,{value:u},C.createElement(x_,{name:[],shouldUpdate:(e,t,{source:n})=>n===`internal`?!1:e!==t,rules:r,validateTrigger:i,initialValue:t,isList:!0,isListField:a??!!s},({value:e=[],onChange:t},r)=>{let{getFieldValue:i}=o,a=()=>i(l||[])||[],s={add:(e,n)=>{let r=a();n>=0&&n<=r.length?(c.keys=[...c.keys.slice(0,n),c.id,...c.keys.slice(n)],t([...r.slice(0,n),e,...r.slice(n)])):(c.keys=[...c.keys,c.id],t([...r,e])),c.id+=1},remove:e=>{let n=a(),r=new Set(Array.isArray(e)?e:[e]);r.size<=0||(c.keys=c.keys.filter((e,t)=>!r.has(t)),t(n.filter((e,t)=>!r.has(t))))},move(e,n){if(e===n)return;let r=a();e<0||e>=r.length||n<0||n>=r.length||(c.keys=f_(c.keys,e,n),t(f_(r,e,n)))}},u=e||[];return Array.isArray(u)||(u=[]),n(u.map((e,t)=>{let n=c.keys[t];return n===void 0&&(c.keys[t]=c.id,n=c.keys[t],c.id+=1),{name:t,key:n,isListField:!0}}),s,r)}))):(xr(!1,`Form.List only accepts function as children.`),null)}function C_(e){let t=!1,n=e.length,r=[];return e.length?new Promise((i,a)=>{e.forEach((e,o)=>{e.catch(e=>(t=!0,e)).then(e=>{--n,r[o]=e,!(n>0)&&(t&&a(r),i(r))})})}):Promise.resolve([])}var w_=`__@field_split__`;function T_(e){return e.map(e=>`${typeof e}:${e}`).join(w_)}var E_=class{kvs=new Map;set(e,t){this.kvs.set(T_(e),t)}get(e){return this.kvs.get(T_(e))}getAsPrefix(e){let t=T_(e),n=t+w_,r=[],i=this.kvs.get(t);return i!==void 0&&r.push(i),this.kvs.forEach((e,t)=>{t.startsWith(n)&&r.push(e)}),r}update(e,t){let n=t(this.get(e));n?this.set(e,n):this.delete(e)}delete(e){this.kvs.delete(T_(e))}map(e){return[...this.kvs.entries()].map(([t,n])=>e({key:t.split(w_).map(e=>{let[,t,n]=e.match(/^([^:]*):(.*)$/);return t===`number`?Number(n):n}),value:n}))}toJSON(){let e={};return this.map(({key:t,value:n})=>(e[t.join(`.`)]=n,null)),e}},D_=class{formHooked=!1;forceRootUpdate;subscribable=!0;store={};fieldEntities=[];initialValues={};callbacks={};validateMessages=null;preserve=null;lastValidatePromise=null;watcherCenter=new m_(this);constructor(e){this.forceRootUpdate=e}getForm=()=>({getFieldValue:this.getFieldValue,getFieldsValue:this.getFieldsValue,getFieldError:this.getFieldError,getFieldWarning:this.getFieldWarning,getFieldsError:this.getFieldsError,isFieldsTouched:this.isFieldsTouched,isFieldTouched:this.isFieldTouched,isFieldValidating:this.isFieldValidating,isFieldsValidating:this.isFieldsValidating,resetFields:this.resetFields,setFields:this.setFields,setFieldValue:this.setFieldValue,setFieldsValue:this.setFieldsValue,validateFields:this.validateFields,submit:this.submit,_init:!0,getInternalHooks:this.getInternalHooks});getInternalHooks=e=>e===`RC_FORM_INTERNAL_HOOKS`?(this.formHooked=!0,{dispatch:this.dispatch,initEntityValue:this.initEntityValue,registerField:this.registerField,useSubscribe:this.useSubscribe,setInitialValues:this.setInitialValues,destroyForm:this.destroyForm,setCallbacks:this.setCallbacks,setValidateMessages:this.setValidateMessages,getFields:this.getFields,setPreserve:this.setPreserve,getInitialValue:this.getInitialValue,registerWatch:this.registerWatch}):(xr(!1,"`getInternalHooks` is internal usage. Should not call directly."),null);useSubscribe=e=>{this.subscribable=e};prevWithoutPreserves=null;setInitialValues=(e,t)=>{if(this.initialValues=e||{},t){let t=pr(e,this.store);this.prevWithoutPreserves?.map(({key:n})=>{t=cr(t,n,or(e,n))}),this.prevWithoutPreserves=null,this.updateStore(t)}};destroyForm=e=>{if(e)this.updateStore({});else{let e=new E_;this.getFieldEntities(!0).forEach(t=>{this.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)}),this.prevWithoutPreserves=e}};getInitialValue=e=>{let t=or(this.initialValues,e);return e.length?pr(t):t};setCallbacks=e=>{this.callbacks=e};setValidateMessages=e=>{this.validateMessages=e};setPreserve=e=>{this.preserve=e};registerWatch=e=>this.watcherCenter.register(e);notifyWatch=(e=[])=>{this.watcherCenter.notify(e)};timeoutId=null;warningUnhooked=()=>{};updateStore=e=>{this.store=e};getFieldEntities=(e=!1)=>e?this.fieldEntities.filter(e=>e.getNamePath().length):this.fieldEntities;getFieldsMap=(e=!1)=>{let t=new E_;return this.getFieldEntities(e).forEach(e=>{let n=e.getNamePath();t.set(n,e)}),t};getFieldEntitiesForNamePathList=(e,t=!1)=>{if(!e)return this.getFieldEntities(!0);let n=this.getFieldsMap(!0);return t?e.flatMap(e=>{let t=o_(e),r=n.getAsPrefix(t);return r.length?r:[{INVALIDATE_NAME_PATH:t}]}):e.map(e=>{let t=o_(e);return n.get(t)||{INVALIDATE_NAME_PATH:o_(e)}})};getFieldsValue=(e,t)=>{this.warningUnhooked();let n,r;if(e===!0||Array.isArray(e)?(n=e,r=t):e&&typeof e==`object`&&(r=e.filter),n===!0&&!r)return this.store;let i=this.getFieldEntitiesForNamePathList(Array.isArray(n)?n:null,!0),a=[],o=[];i.forEach(e=>{let t=e.INVALIDATE_NAME_PATH||e.getNamePath();if(e.isList?.()){o.push(t);return}if(!r)a.push(t);else{let n=`getMeta`in e?e.getMeta():null;r(n)&&a.push(t)}});let s=s_(this.store,a.map(o_));return o.forEach(e=>{or(s,e)||(s=cr(s,e,[]))}),s};getFieldValue=e=>{this.warningUnhooked();let t=o_(e);return or(this.store,t)};getFieldsError=e=>(this.warningUnhooked(),this.getFieldEntitiesForNamePathList(e).map((t,n)=>t&&!t.INVALIDATE_NAME_PATH?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:o_(e[n]),errors:[],warnings:[]}));getFieldError=e=>{this.warningUnhooked();let t=o_(e);return this.getFieldsError([t])[0].errors};getFieldWarning=e=>{this.warningUnhooked();let t=o_(e);return this.getFieldsError([t])[0].warnings};isFieldsTouched=(...e)=>{this.warningUnhooked();let[t,n]=e,r,i=!1;e.length===0?r=null:e.length===1?Array.isArray(t)?(r=t.map(o_),i=!1):(r=null,i=t):(r=t.map(o_),i=n);let a=this.getFieldEntities(!0),o=e=>e.isFieldTouched();if(!r)return i?a.every(e=>o(e)||e.isList()):a.some(o);let s=new E_;r.forEach(e=>{s.set(e,[])}),a.forEach(e=>{let t=e.getNamePath();r.forEach(n=>{n.every((e,n)=>t[n]===e)&&s.update(n,t=>[...t,e])})});let c=e=>e.some(o),l=s.map(({value:e})=>e);return i?l.every(c):l.some(c)};isFieldTouched=e=>(this.warningUnhooked(),this.isFieldsTouched([e]));isFieldsValidating=e=>{this.warningUnhooked();let t=this.getFieldEntities();if(!e)return t.some(e=>e.isFieldValidating());let n=e.map(o_);return t.some(e=>c_(n,e.getNamePath())&&e.isFieldValidating())};isFieldValidating=e=>(this.warningUnhooked(),this.isFieldsValidating([e]));resetWithFieldInitialValue=(e={})=>{let t=new E_,n=this.getFieldEntities(!0);n.forEach(e=>{let{initialValue:n}=e.props,r=e.getNamePath();if(n!==void 0){let i=t.get(r)||new Set;i.add({entity:e,value:n}),t.set(r,i)}});let r=n=>{n.forEach(n=>{let{initialValue:r}=n.props;if(r!==void 0){let r=n.getNamePath();if(this.getInitialValue(r)!==void 0)xr(!1,`Form already set 'initialValues' with path '${r.join(`.`)}'. Field can not overwrite it.`);else{let i=t.get(r);if(i&&i.size>1)xr(!1,`Multiple Field with path '${r.join(`.`)}' set 'initialValue'. Can not decide which one to pick.`);else if(i){let t=this.getFieldValue(r);!n.isListField()&&(!e.skipExist||t===void 0)&&this.updateStore(cr(this.store,r,[...i][0].value))}}}})},i;e.entities?i=e.entities:e.namePathList?(i=[],e.namePathList.forEach(e=>{let n=t.get(e);n&&i.push(...[...n].map(e=>e.entity))})):i=n,r(i)};resetFields=e=>{this.warningUnhooked();let t=this.store;if(!e){this.updateStore(pr(this.initialValues)),this.resetWithFieldInitialValue(),this.notifyObservers(t,null,{type:`reset`}),this.notifyWatch();return}let n=e.map(o_);n.forEach(e=>{let t=this.getInitialValue(e);this.updateStore(cr(this.store,e,t))}),this.resetWithFieldInitialValue({namePathList:n}),this.notifyObservers(t,n,{type:`reset`}),this.notifyWatch(n)};setFields=e=>{this.warningUnhooked();let t=this.store,n=[];e.forEach(e=>{let{name:r,...i}=e,a=o_(r);n.push(a),`value`in i&&this.updateStore(cr(this.store,a,i.value)),this.notifyObservers(t,[a],{type:`setField`,data:e})}),this.notifyWatch(n)};getFields=()=>this.getFieldEntities(!0).map(e=>{let t=e.getNamePath(),n={...e.getMeta(),name:t,value:this.getFieldValue(t)};return Object.defineProperty(n,`originRCField`,{value:!0}),n});initEntityValue=e=>{let{initialValue:t}=e.props;if(t!==void 0){let n=e.getNamePath();or(this.store,n)===void 0&&this.updateStore(cr(this.store,n,t))}};isMergedPreserve=e=>(e===void 0?this.preserve:e)??!0;registerField=e=>{this.fieldEntities.push(e);let t=e.getNamePath();if(this.notifyWatch([t]),e.props.initialValue!==void 0){let t=this.store;this.resetWithFieldInitialValue({entities:[e],skipExist:!0}),this.notifyObservers(t,[e.getNamePath()],{type:`valueUpdate`,source:`internal`})}return(n,r,i=[])=>{if(this.fieldEntities=this.fieldEntities.filter(t=>t!==e),!this.isMergedPreserve(r)&&(!n||i.length>1)){let e=n?void 0:this.getInitialValue(t);if(t.length&&this.getFieldValue(t)!==e&&this.fieldEntities.every(e=>!l_(e.getNamePath(),t))){let n=this.store;this.updateStore(cr(n,t,e,!0)),this.notifyObservers(n,[t],{type:`remove`}),this.triggerDependenciesUpdate(n,t)}}this.notifyWatch([t])}};dispatch=e=>{switch(e.type){case`updateValue`:{let{namePath:t,value:n}=e;this.updateValue(t,n);break}case`validateField`:{let{namePath:t,triggerName:n}=e;this.validateFields([t],{triggerName:n});break}default:}};notifyObservers=(e,t,n)=>{if(this.subscribable){let r={...n,store:this.getFieldsValue(!0)};this.getFieldEntities().forEach(({onStoreChange:n})=>{n(e,t,r)})}else this.forceRootUpdate()};triggerDependenciesUpdate=(e,t)=>{let n=this.getDependencyChildrenFields(t);return n.length&&this.validateFields(n,{delayFrame:!0}),this.notifyObservers(e,n,{type:`dependenciesUpdate`,relatedFields:[t,...n]}),n};updateValue=(e,t)=>{let n=o_(e),r=this.store;this.updateStore(cr(this.store,n,t)),this.notifyObservers(r,[n],{type:`valueUpdate`,source:`internal`}),this.notifyWatch([n]);let i=this.triggerDependenciesUpdate(r,n),{onValuesChange:a}=this.callbacks;if(a){let e=s_(this.store,[n]);a(e,cr(this.getFieldsValue(),n,or(e,n)))}this.triggerOnFieldsChange([n,...i])};setFieldsValue=e=>{this.warningUnhooked();let t=this.store;if(e){let t=pr(this.store,e);this.updateStore(t)}this.notifyObservers(t,null,{type:`valueUpdate`,source:`external`}),this.notifyWatch()};setFieldValue=(e,t)=>{this.setFields([{name:e,value:t,errors:[],warnings:[],touched:!0}])};getDependencyChildrenFields=e=>{let t=new Set,n=[],r=new E_;this.getFieldEntities().forEach(e=>{let{dependencies:t}=e.props;(t||[]).forEach(t=>{let n=o_(t);r.update(n,(t=new Set)=>(t.add(e),t))})});let i=e=>{(r.get(e)||new Set).forEach(e=>{if(!t.has(e)){t.add(e);let r=e.getNamePath();e.isFieldDirty()&&r.length&&(n.push(r),i(r))}})};return i(e),n};triggerOnFieldsChange=(e,t)=>{let{onFieldsChange:n}=this.callbacks;if(n){let r=this.getFields();if(t){let e=new E_;t.forEach(({name:t,errors:n})=>{e.set(t,n)}),r.forEach(t=>{t.errors=e.get(t.name)||t.errors})}let i=r.filter(({name:t})=>c_(e,t));i.length&&n(i,r)}};validateFields=(e,t)=>{this.warningUnhooked();let n,r;Array.isArray(e)||typeof e==`string`||typeof t==`string`?(n=e,r=t):r=e;let i=!!n,a=i?n.map(o_):[],o=[...a],s=[],c=String(Date.now()),l=new Set,{recursive:u,dirty:d}=r||{};this.getFieldEntities(!0).forEach(e=>{let t=e.getNamePath();if(i||((!e.isList()||!a.some(e=>l_(e,t,!0)))&&o.push(t),a.push(t)),!(!e.props.rules||!e.props.rules.length)&&!(d&&!e.isFieldDirty())&&(l.add(t.join(c)),!i||c_(a,t,u))){let n=e.validateRules({validateMessages:{...Qg,...this.validateMessages},...r});s.push(n.then(()=>({name:t,errors:[],warnings:[]})).catch(e=>{let n=[],r=[];return e.forEach?.(({rule:{warningOnly:e},errors:t})=>{e?r.push(...t):n.push(...t)}),n.length?Promise.reject({name:t,errors:n,warnings:r}):{name:t,errors:n,warnings:r}}))}});let f=C_(s);this.lastValidatePromise=f,f.catch(e=>e).then(e=>{let t=e.map(({name:e})=>e);this.notifyObservers(this.store,t,{type:`validateFinish`}),this.triggerOnFieldsChange(t,e)});let p=f.then(()=>this.lastValidatePromise===f?Promise.resolve(this.getFieldsValue(o)):Promise.reject([])).catch(e=>{let t=e.filter(e=>e&&e.errors.length),n=t[0]?.errors?.[0];return Promise.reject({message:n,values:this.getFieldsValue(a),errorFields:t,outOfDate:this.lastValidatePromise!==f})});p.catch(e=>e);let m=a.filter(e=>l.has(e.join(c)));return this.triggerOnFieldsChange(m),p};submit=()=>{this.warningUnhooked(),this.validateFields().then(e=>{let{onFinish:t}=this.callbacks;if(t)try{t(e)}catch(e){console.error(e)}}).catch(e=>{let{onFinishFailed:t}=this.callbacks;t&&t(e)})}};function O_(e){let t=C.useRef(null),[,n]=C.useState({});return t.current||(e?t.current=e:t.current=new D_(()=>{n({})}).getForm()),[t.current]}var k_=C.createContext({triggerFormChange:()=>{},triggerFormFinish:()=>{},registerForm:()=>{},unregisterForm:()=>{}}),A_=({validateMessages:e,onFormChange:t,onFormFinish:n,children:r})=>{let i=C.useContext(k_),a=C.useRef({});return C.createElement(k_.Provider,{value:{...i,validateMessages:{...i.validateMessages,...e},triggerFormChange:(e,n)=>{t&&t(e,{changedFields:n,forms:a.current}),i.triggerFormChange(e,n)},triggerFormFinish:(e,t)=>{n&&n(e,{values:t,forms:a.current}),i.triggerFormFinish(e,t)},registerForm:(e,t)=>{e&&(a.current={...a.current,[e]:t}),i.registerForm(e,t)},unregisterForm:e=>{let t={...a.current};delete t[e],a.current=t,i.unregisterForm(e)}}},r)};function j_(){return j_=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let g=C.useRef(null),_=C.useContext(k_),[v]=O_(r),{useSubscribe:y,setInitialValues:b,setCallbacks:x,setValidateMessages:S,setPreserve:w,destroyForm:T}=v.getInternalHooks(Dg);C.useImperativeHandle(h,()=>({...v,nativeElement:g.current})),C.useEffect(()=>(_.registerForm(e,v),()=>{_.unregisterForm(e)}),[_,v,e]),S({..._.validateMessages,...s}),x({onValuesChange:l,onFieldsChange:(t,...n)=>{_.triggerFormChange(e,t),u&&u(t,...n)},onFinish:t=>{_.triggerFormFinish(e,t),d&&d(t)},onFinishFailed:f}),w(i);let E=C.useRef(null);b(t,!E.current),E.current||=!0,C.useEffect(()=>()=>T(p),[]);let D,O=typeof a==`function`;D=O?a(v.getFieldsValue(!0),v):a,y(!O);let k=C.useRef(null);C.useEffect(()=>{u_(k.current||[],n||[])||v.setFields(n||[]),k.current=n},[n,v]);let A=C.useMemo(()=>({...v,validateTrigger:c}),[v,c]),j=C.createElement(Ag.Provider,{value:null},C.createElement(kg.Provider,{value:A},D));return o===!1?j:C.createElement(o,j_({},m,{ref:g,onSubmit:e=>{e.preventDefault(),e.stopPropagation(),v.submit()},onReset:e=>{e.preventDefault(),v.resetFields(),m.onReset?.(e)}}),j)};function N_(e){try{return JSON.stringify(e)}catch{return Math.random()}}function P_(...e){let[t,n={}]=e,r=bte(n)?{form:n}:n,i=r.form,[a,o]=(0,C.useState)(()=>typeof t==`function`?t({}):void 0),s=(0,C.useMemo)(()=>N_(a),[a]),c=(0,C.useRef)(s);c.current=s;let l=(0,C.useContext)(kg),u=i||l,d=u&&u._init,{getFieldsValue:f,getInternalHooks:p}=u,{registerWatch:m}=p(Dg),h=Rn((e,n)=>{let i=r.preserve?n??f(!0):e??f(),s=typeof t==`function`?t(i):or(i,o_(t));N_(a)!==N_(s)&&o(s)});return(0,C.useEffect)(()=>{d&&h()},[d,typeof t==`function`?t:JSON.stringify(t)]),(0,C.useEffect)(()=>{if(d)return m((e,t)=>{h(e,t)})},[d]),a}var F_=C.forwardRef(M_);F_.FormProvider=A_,F_.Field=x_,F_.List=S_,F_.useForm=O_,F_.useWatch=P_;var I_=C.createContext({labelAlign:`right`,layout:`horizontal`,itemRef:()=>{}}),L_=C.createContext(null),R_=e=>{let t=Cr(e,[`prefixCls`]);return C.createElement(A_,{...t})},z_=C.createContext({prefixCls:``}),B_=C.createContext({}),V_=({children:e,status:t,override:n})=>{let r=C.useContext(B_),i=C.useMemo(()=>{let e={...r};return n&&delete e.isFormItemInput,t&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[t,n,r]);return C.createElement(B_.Provider,{value:i},e)},H_=C.createContext(void 0),U_=e=>{let{space:t,form:n,children:r}=e;if(!pd(r))return null;let i=r;return n&&(i=C.createElement(V_,{override:!0,status:!0},i)),t&&(i=C.createElement(Hm,null,i)),i},W_=e=>{if(zn()&&window.document.documentElement){let t=Array.isArray(e)?e:[e],{documentElement:n}=window.document;return t.some(e=>e in n.style)}return!1},G_=(e,t)=>{if(!W_(e))return!1;let n=document.createElement(`div`),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function K_(e,t){return!Array.isArray(e)&&t!==void 0?G_(e,t):W_(e)}var Xte=()=>zn()&&window.document.documentElement;function q_(e,t,n){return(0,C.useMemo)(()=>({trap:t??!0,focusTriggerAfterClose:n??!0,...e}),[e,t,n])}var J_=e=>{let{prefixCls:t,className:n,style:r,size:i,shape:a}=e,o=q({[`${t}-lg`]:i===`large`,[`${t}-sm`]:i===`small`}),s=q({[`${t}-circle`]:a===`circle`,[`${t}-square`]:a===`square`,[`${t}-round`]:a===`round`}),c=C.useMemo(()=>md(i)?{width:i,height:i,lineHeight:`${i}px`}:{},[i]);return C.createElement(`span`,{className:q(t,o,s,n),style:{...c,...r}})},Zte=new Ro(`ant-skeleton-loading`,{"0%":{backgroundPosition:`100% 50%`},"100%":{backgroundPosition:`0 50%`}}),Y_=e=>({height:e,lineHeight:J(e)}),X_=e=>({width:e,...Y_(e)}),Qte=e=>({background:e.skeletonLoadingBackground,backgroundSize:`400% 100%`,animationName:Zte,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:`ease`,animationIterationCount:`infinite`}),Z_=(e,t)=>({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal(),...Y_(e)}),$te=e=>{let{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:i,controlHeightSM:a}=e;return{[t]:{display:`inline-block`,verticalAlign:`top`,background:n,...X_(r)},[`${t}${t}-circle`]:{borderRadius:`50%`},[`${t}${t}-lg`]:{...X_(i)},[`${t}${t}-sm`]:{...X_(a)}}},ene=e=>{let{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:i,controlHeightSM:a,gradientFromColor:o,calc:s}=e;return{[r]:{display:`inline-block`,verticalAlign:`top`,background:o,borderRadius:n,...Z_(t,s)},[`${r}-lg`]:{...Z_(i,s)},[`${r}-sm`]:{...Z_(a,s)}}},Q_=e=>{let{gradientFromColor:t,borderRadiusSM:n,imageSizeBase:r,calc:i}=e;return{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,verticalAlign:`middle`,background:t,borderRadius:n,...X_(i(r).mul(2).equal())}},tne=e=>({[e.skeletonNodeCls]:{...Q_(e)}}),nne=e=>{let{skeletonImageCls:t,imageSizeBase:n,calc:r}=e;return{[t]:{...Q_(e),[`${t}-path`]:{fill:`#bfbfbf`},[`${t}-svg`]:{...X_(n),maxWidth:r(n).mul(4).equal(),maxHeight:r(n).mul(4).equal()},[`${t}-svg${t}-svg-circle`]:{borderRadius:`50%`}},[`${t}${t}-circle`]:{borderRadius:`50%`}}},$_=(e,t,n)=>{let{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:`50%`},[`${n}${r}-round`]:{borderRadius:t}}},ev=(e,t)=>({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal(),...Y_(e)}),rne=e=>{let{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:i,controlHeightSM:a,gradientFromColor:o,calc:s}=e;return{[n]:{display:`inline-block`,verticalAlign:`top`,background:o,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal(),...ev(r,s)},...$_(e,r,n),[`${n}-lg`]:{...ev(i,s)},...$_(e,i,`${n}-lg`),[`${n}-sm`]:{...ev(a,s)},...$_(e,a,`${n}-sm`)}},ine=e=>{let{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:i,skeletonButtonCls:a,skeletonInputCls:o,skeletonNodeCls:s,skeletonImageCls:c,controlHeight:l,controlHeightLG:u,controlHeightSM:d,gradientFromColor:f,padding:p,marginSM:m,borderRadius:h,titleHeight:g,blockRadius:_,paragraphLiHeight:v,controlHeightXS:y,paragraphMarginTop:b}=e;return{[t]:{display:`table`,width:`100%`,[`${t}-header`]:{display:`table-cell`,paddingInlineEnd:p,verticalAlign:`top`,[n]:{display:`inline-block`,verticalAlign:`top`,background:f,...X_(l)},[`${n}-circle`]:{borderRadius:`50%`},[`${n}-lg`]:{...X_(u)},[`${n}-sm`]:{...X_(d)}},[`${t}-section`]:{display:`table-cell`,width:`100%`,verticalAlign:`top`,[r]:{width:`100%`,height:g,background:f,borderRadius:_,[`+ ${i}`]:{marginBlockStart:d}},[i]:{padding:0,"> li":{width:`100%`,height:v,listStyle:`none`,background:f,borderRadius:_,"+ li":{marginBlockStart:y}}},[`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:`61%`}},[`&-round ${t}-section`]:{[`${r}, ${i} > li`]:{borderRadius:h}}},[`${t}-with-avatar ${t}-section`]:{[r]:{marginBlockStart:m,[`+ ${i}`]:{marginBlockStart:b}}},[`${t}${t}-element`]:{display:`inline-block`,width:`auto`,...rne(e),...$te(e),...ene(e),...tne(e),...nne(e)},[`${t}${t}-block`]:{width:`100%`,[a]:{width:`100%`},[o]:{width:`100%`}},[`${t}${t}-active`]:{[` ${r}, ${i} > li, ${n}, @@ -164,89 +164,89 @@ html body { ${o}, ${s}, ${c} - `]:{...ine(e)}}}},Y_=il(`Skeleton`,e=>{let{componentCls:t,calc:n}=e;return une(_s(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonNodeCls:`${t}-node`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:`1.4s`}))},e=>{let{colorFillContent:t,colorFill:n}=e,r=t,i=n;return{color:r,colorGradientEnd:i,gradientFromColor:r,gradientToColor:i,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[[`color`,`gradientFromColor`],[`colorGradientEnd`,`gradientToColor`]]}),dne=e=>{let{prefixCls:t,className:n,classNames:r,rootClassName:i,active:a,style:o,styles:s,shape:c=`circle`,size:l,...u}=e,{getPrefixCls:d}=C.useContext(si),f=d(`skeleton`,t),[p,m]=Y_(f),h=Pm(e=>l??e),g=q(f,`${f}-element`,{[`${f}-active`]:a},r?.root,n,i,p,m);return C.createElement(`div`,{className:g,style:s?.root},C.createElement(H_,{prefixCls:`${f}-avatar`,className:r?.content,style:{...s?.content,...o},shape:c,size:h,...u}))},fne=e=>{let{prefixCls:t,className:n,rootClassName:r,classNames:i,active:a,style:o,styles:s,block:c=!1,size:l,...u}=e,{getPrefixCls:d}=C.useContext(si),f=d(`skeleton`,t),[p,m]=Y_(f),h=Pm(e=>l??e),g=q(f,`${f}-element`,{[`${f}-active`]:a,[`${f}-block`]:c},i?.root,n,r,p,m);return C.createElement(`div`,{className:g,style:s?.root},C.createElement(H_,{prefixCls:`${f}-button`,className:i?.content,style:{...s?.content,...o},size:h,...u}))},X_=e=>{let{prefixCls:t,className:n,classNames:r,rootClassName:i,internalClassName:a,style:o,styles:s,active:c,children:l}=e,{getPrefixCls:u}=C.useContext(si),d=u(`skeleton`,t),[f,p]=Y_(d),m=q(d,`${d}-element`,{[`${d}-active`]:c},f,r?.root,n,i,p);return C.createElement(`div`,{className:m,style:s?.root},C.createElement(`div`,{className:q(r?.content,a||`${d}-node`),style:{...s?.content,...o}},l))},pne=e=>{let{getPrefixCls:t}=C.useContext(si),n=t(`skeleton`,e.prefixCls);return C.createElement(X_,{...e,internalClassName:`${n}-image`},C.createElement(`svg`,{viewBox:`0 0 1098 1024`,xmlns:`http://www.w3.org/2000/svg`,className:`${n}-image-svg`},C.createElement(`title`,null,`Image placeholder`),C.createElement(`path`,{d:`M365.7 329.1q0 45.8-32 77.7t-77.7 32-77.7-32-32-77.7 32-77.6 77.7-32 77.7 32 32 77.6M951 548.6v256H146.3V694.9L329 512l91.5 91.4L713 311zm54.8-402.3H91.4q-7.4 0-12.8 5.4T73 164.6v694.8q0 7.5 5.5 12.9t12.8 5.4h914.3q7.5 0 12.9-5.4t5.4-12.9V164.6q0-7.5-5.4-12.9t-12.9-5.4m91.4 18.3v694.8q0 37.8-26.8 64.6t-64.6 26.9H91.4q-37.7 0-64.6-26.9T0 859.4V164.6q0-37.8 26.8-64.6T91.4 73h914.3q37.8 0 64.6 26.9t26.8 64.6`,className:`${n}-image-path`})))},mne=e=>{let{prefixCls:t,className:n,classNames:r,rootClassName:i,active:a,block:o,style:s,styles:c,size:l,...u}=e,{getPrefixCls:d}=C.useContext(si),f=d(`skeleton`,t),[p,m]=Y_(f),h=Pm(e=>l??e),g=q(f,`${f}-element`,{[`${f}-active`]:a,[`${f}-block`]:o},r?.root,n,i,p,m);return C.createElement(`div`,{className:g,style:c?.root},C.createElement(H_,{prefixCls:`${f}-input`,className:r?.content,style:{...c?.content,...s},size:h,...u}))},hne=(e,t)=>{let{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},gne=e=>{let{prefixCls:t,className:n,style:r,rows:i=0}=e,a=Array.from({length:i}).map((t,n)=>C.createElement(`li`,{key:n,style:{width:hne(n,e)}}));return C.createElement(`ul`,{className:q(t,n),style:r},a)},_ne=({prefixCls:e,className:t,width:n,style:r})=>C.createElement(`h3`,{className:q(e,t),style:{width:n,...r}});function Z_(e){return gd(e)?e:{}}function vne(e,t){return e&&!t?{size:`large`,shape:`square`}:{size:`large`,shape:`circle`}}function yne(e,t){return!e&&t?{width:`38%`}:e&&t?{width:`50%`}:{}}function bne(e,t){let n={};return(!e||!t)&&(n.width=`61%`),!e&&t?n.rows=3:n.rows=2,n}var Q_=e=>{let{prefixCls:t,loading:n,className:r,rootClassName:i,classNames:a,style:o,styles:s,children:c,avatar:l=!1,title:u=!0,paragraph:d=!0,active:f,round:p}=e,{getPrefixCls:m,direction:h,className:g,style:_,classNames:v,styles:y}=ui(`skeleton`),b=m(`skeleton`,t),[x,S]=Y_(b),w={...e,avatar:l,title:u,paragraph:d},[T,E]=Id([v,a],[y,s],{props:w});if(n||!(`loading`in e)){let e=!!l,t=!!u,n=!!d,a;if(e){let e={className:T.avatar,prefixCls:`${b}-avatar`,...vne(t,n),...Z_(l),style:E.avatar};a=C.createElement(`div`,{className:q(T.header,`${b}-header`),style:E.header},C.createElement(H_,{...e}))}let s;if(t||n){let r;if(t){let t={className:T.title,prefixCls:`${b}-title`,...yne(e,n),...Z_(u),style:E.title};r=C.createElement(_ne,{...t})}let i;if(n){let n={className:T.paragraph,prefixCls:`${b}-paragraph`,...bne(e,t),...Z_(d),style:E.paragraph};i=C.createElement(gne,{...n})}s=C.createElement(`div`,{className:q(T.section,`${b}-section`),style:E.section},r,i)}let c=q(b,{[`${b}-with-avatar`]:e,[`${b}-active`]:f,[`${b}-rtl`]:h===`rtl`,[`${b}-round`]:p},T.root,g,r,i,x,S);return C.createElement(`div`,{className:c,style:{...E.root,..._,...o}},a,s)}return c??null};Q_.Button=fne,Q_.Avatar=dne,Q_.Input=mne,Q_.Image=pne,Q_.Node=X_;var $_=Q_;function ev(){}var xne=C.createContext({add:ev,remove:ev});function tv(e){let t=C.useContext(xne),n=C.useRef(null);return Rn(r=>{if(r){let i=e?r.querySelector(e):r;i&&(t.add(i),n.current=i)}else t.remove(n.current)})}var nv=()=>{let{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=(0,C.useContext)(ig);return C.createElement(ng,{onClick:n,...e},t)},rv=()=>{let{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:i}=(0,C.useContext)(ig);return C.createElement(ng,{...Vm(n),loading:e,onClick:i,...t},r)};function iv(e,t){return C.createElement(`span`,{className:`${e}-close-x`},t||C.createElement(zl,{className:`${e}-close-icon`}))}var av=e=>{let{okText:t,okType:n=`primary`,cancelText:r,confirmLoading:i,onOk:a,onCancel:o,okButtonProps:s,cancelButtonProps:c,footer:l}=e,[u]=ld(`Modal`,sd()),d=t||u?.okText,f=r||u?.cancelText,p=C.useMemo(()=>({confirmLoading:i,okButtonProps:s,cancelButtonProps:c,okTextLocale:d,cancelTextLocale:f,okType:n,onOk:a,onCancel:o}),[i,s,c,d,f,n,a,o]),m;return typeof l==`function`||l===void 0?(m=C.createElement(C.Fragment,null,C.createElement(nv,null),C.createElement(rv,null)),typeof l==`function`&&(m=l(m,{OkBtn:rv,CancelBtn:nv})),m=C.createElement(ag,{value:p},m)):m=l,C.createElement(Vp,{disabled:!1},m)},Sne=e=>{let{componentCls:t}=e;return{[t]:{display:`flex`,flexFlow:`row wrap`,minWidth:0,"&::before, &::after":{display:`flex`},"&-no-wrap":{flexWrap:`nowrap`},"&-start":{justifyContent:`flex-start`},"&-center":{justifyContent:`center`},"&-end":{justifyContent:`flex-end`},"&-space-between":{justifyContent:`space-between`},"&-space-around":{justifyContent:`space-around`},"&-space-evenly":{justifyContent:`space-evenly`},"&-top":{alignItems:`flex-start`},"&-middle":{alignItems:`center`},"&-bottom":{alignItems:`flex-end`}}}},Cne=e=>{let{componentCls:t}=e;return{[t]:{position:`relative`,maxWidth:`100%`,minHeight:1}}},wne=(e,t)=>{let{componentCls:n,gridColumns:r,antCls:i}=e,[a,o]=sl(i,`grid`),[,s]=sl(i,`col`),c={};for(let e=r;e>=0;e--)e===0?(c[`${n}${t}-${e}`]={display:`none`},c[`${n}-push-${e}`]={insetInlineStart:`auto`},c[`${n}-pull-${e}`]={insetInlineEnd:`auto`},c[`${n}${t}-push-${e}`]={insetInlineStart:`auto`},c[`${n}${t}-pull-${e}`]={insetInlineEnd:`auto`},c[`${n}${t}-offset-${e}`]={marginInlineStart:0},c[`${n}${t}-order-${e}`]={order:0}):(c[`${n}${t}-${e}`]=[{[a(`display`)]:`block`,display:`block`},{display:o(`display`),flex:`0 0 ${e/r*100}%`,maxWidth:`${e/r*100}%`}],c[`${n}${t}-push-${e}`]={insetInlineStart:`${e/r*100}%`},c[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/r*100}%`},c[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/r*100}%`},c[`${n}${t}-order-${e}`]={order:e});return c[`${n}${t}-flex`]={flex:s(`${t.replace(/-/,``)}-flex`)},c},ov=(e,t)=>wne(e,t),Tne=(e,t,n)=>({[`@media (min-width: ${J(t)})`]:{...ov(e,n)}}),Ene=()=>({}),Dne=()=>({}),One=il(`Grid`,Sne,Ene),sv=e=>({xs:e.screenXSMin,sm:e.screenSMMin,md:e.screenMDMin,lg:e.screenLGMin,xl:e.screenXLMin,xxl:e.screenXXLMin,xxxl:e.screenXXXLMin}),kne=il(`Grid`,e=>{let t=_s(e,{gridColumns:24}),n=sv(t);return delete n.xs,[Cne(t),ov(t,``),ov(t,`-xs`),Object.keys(n).map(e=>Tne(t,n[e],`-${e}`)).reduce((e,t)=>({...e,...t}),{})]},Dne);function cv(e){return{position:e,inset:0}}var Ane=e=>{let{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:`none`,opacity:0,animationDuration:e.motionDurationSlow,userSelect:`none`},[`${t}${n}-zoom-leave ${t}-container`]:{pointerEvents:`none`},[`${t}-mask`]:{...cv(`fixed`),zIndex:e.zIndexPopupBase,height:`100%`,backgroundColor:e.colorBgMask,pointerEvents:`none`,[`&${t}-mask-blur`]:{backdropFilter:`blur(4px)`},[`${t}-hidden`]:{display:`none`}},[`${t}-wrap`]:{...cv(`fixed`),zIndex:e.zIndexPopupBase,overflow:`auto`,outline:0,WebkitOverflowScrolling:`touch`}}},{[`${t}-root`]:th(e)}]},jne=e=>{let{componentCls:t,motionDurationMid:n}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:`rtl`},[`${t}-centered`]:{textAlign:`center`,"&::before":{display:`inline-block`,width:0,height:`100%`,verticalAlign:`middle`,content:`""`},[t]:{top:0,display:`inline-block`,paddingBottom:0,textAlign:`start`,verticalAlign:`middle`}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:`calc(100vw - 16px)`,margin:`${J(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:{...Yc(e),pointerEvents:`none`,position:`relative`,top:100,width:`auto`,maxWidth:`calc(100vw - ${J(e.calc(e.margin).mul(2).equal())})`,margin:`0 auto`,"&:focus-visible":{borderRadius:e.borderRadiusLG,...Qc(e)},[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:`break-word`},[`${t}-container`]:{position:`relative`,backgroundColor:e.contentBg,backgroundClip:`padding-box`,border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:`auto`,padding:e.contentPadding},[`${t}-close`]:{position:`absolute`,top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:`none`,background:`transparent`,borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:`pointer`,transition:[`color`,`background-color`].map(e=>`${e} ${n}`).join(`, `),"&-x":{display:`flex`,fontSize:e.fontSizeLG,fontStyle:`normal`,lineHeight:J(e.modalCloseBtnSize),justifyContent:`center`,textTransform:`none`,textRendering:`auto`},"&:disabled":{pointerEvents:`none`},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:`none`},"&:active":{backgroundColor:e.colorBgTextActive},...$c(e)},[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:`break-word`,padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:`100%`,height:`100%`,display:`flex`,justifyContent:`center`,alignItems:`center`,margin:`${J(e.margin)} auto`}},[`${t}-footer`]:{textAlign:`end`,background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:`hidden`}}},{[`${t}-pure-panel`]:{top:`auto`,padding:0,display:`flex`,flexDirection:`column`,[`${t}-container, + `]:{...Qte(e)}}}},tv=il(`Skeleton`,e=>{let{componentCls:t,calc:n}=e;return ine(_s(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonNodeCls:`${t}-node`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:`1.4s`}))},e=>{let{colorFillContent:t,colorFill:n}=e,r=t,i=n;return{color:r,colorGradientEnd:i,gradientFromColor:r,gradientToColor:i,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[[`color`,`gradientFromColor`],[`colorGradientEnd`,`gradientToColor`]]}),ane=e=>{let{prefixCls:t,className:n,classNames:r,rootClassName:i,active:a,style:o,styles:s,shape:c=`circle`,size:l,...u}=e,{getPrefixCls:d}=C.useContext(si),f=d(`skeleton`,t),[p,m]=tv(f),h=Rm(e=>l??e),g=q(f,`${f}-element`,{[`${f}-active`]:a},r?.root,n,i,p,m);return C.createElement(`div`,{className:g,style:s?.root},C.createElement(J_,{prefixCls:`${f}-avatar`,className:r?.content,style:{...s?.content,...o},shape:c,size:h,...u}))},one=e=>{let{prefixCls:t,className:n,rootClassName:r,classNames:i,active:a,style:o,styles:s,block:c=!1,size:l,...u}=e,{getPrefixCls:d}=C.useContext(si),f=d(`skeleton`,t),[p,m]=tv(f),h=Rm(e=>l??e),g=q(f,`${f}-element`,{[`${f}-active`]:a,[`${f}-block`]:c},i?.root,n,r,p,m);return C.createElement(`div`,{className:g,style:s?.root},C.createElement(J_,{prefixCls:`${f}-button`,className:i?.content,style:{...s?.content,...o},size:h,...u}))},nv=e=>{let{prefixCls:t,className:n,classNames:r,rootClassName:i,internalClassName:a,style:o,styles:s,active:c,children:l}=e,{getPrefixCls:u}=C.useContext(si),d=u(`skeleton`,t),[f,p]=tv(d),m=q(d,`${d}-element`,{[`${d}-active`]:c},f,r?.root,n,i,p);return C.createElement(`div`,{className:m,style:s?.root},C.createElement(`div`,{className:q(r?.content,a||`${d}-node`),style:{...s?.content,...o}},l))},sne=e=>{let{getPrefixCls:t}=C.useContext(si),n=t(`skeleton`,e.prefixCls);return C.createElement(nv,{...e,internalClassName:`${n}-image`},C.createElement(`svg`,{viewBox:`0 0 1098 1024`,xmlns:`http://www.w3.org/2000/svg`,className:`${n}-image-svg`},C.createElement(`title`,null,`Image placeholder`),C.createElement(`path`,{d:`M365.7 329.1q0 45.8-32 77.7t-77.7 32-77.7-32-32-77.7 32-77.6 77.7-32 77.7 32 32 77.6M951 548.6v256H146.3V694.9L329 512l91.5 91.4L713 311zm54.8-402.3H91.4q-7.4 0-12.8 5.4T73 164.6v694.8q0 7.5 5.5 12.9t12.8 5.4h914.3q7.5 0 12.9-5.4t5.4-12.9V164.6q0-7.5-5.4-12.9t-12.9-5.4m91.4 18.3v694.8q0 37.8-26.8 64.6t-64.6 26.9H91.4q-37.7 0-64.6-26.9T0 859.4V164.6q0-37.8 26.8-64.6T91.4 73h914.3q37.8 0 64.6 26.9t26.8 64.6`,className:`${n}-image-path`})))},cne=e=>{let{prefixCls:t,className:n,classNames:r,rootClassName:i,active:a,block:o,style:s,styles:c,size:l,...u}=e,{getPrefixCls:d}=C.useContext(si),f=d(`skeleton`,t),[p,m]=tv(f),h=Rm(e=>l??e),g=q(f,`${f}-element`,{[`${f}-active`]:a,[`${f}-block`]:o},r?.root,n,i,p,m);return C.createElement(`div`,{className:g,style:c?.root},C.createElement(J_,{prefixCls:`${f}-input`,className:r?.content,style:{...c?.content,...s},size:h,...u}))},lne=(e,t)=>{let{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},une=e=>{let{prefixCls:t,className:n,style:r,rows:i=0}=e,a=Array.from({length:i}).map((t,n)=>C.createElement(`li`,{key:n,style:{width:lne(n,e)}}));return C.createElement(`ul`,{className:q(t,n),style:r},a)},dne=({prefixCls:e,className:t,width:n,style:r})=>C.createElement(`h3`,{className:q(e,t),style:{width:n,...r}});function rv(e){return gd(e)?e:{}}function fne(e,t){return e&&!t?{size:`large`,shape:`square`}:{size:`large`,shape:`circle`}}function pne(e,t){return!e&&t?{width:`38%`}:e&&t?{width:`50%`}:{}}function mne(e,t){let n={};return(!e||!t)&&(n.width=`61%`),!e&&t?n.rows=3:n.rows=2,n}var iv=e=>{let{prefixCls:t,loading:n,className:r,rootClassName:i,classNames:a,style:o,styles:s,children:c,avatar:l=!1,title:u=!0,paragraph:d=!0,active:f,round:p}=e,{getPrefixCls:m,direction:h,className:g,style:_,classNames:v,styles:y}=ui(`skeleton`),b=m(`skeleton`,t),[x,S]=tv(b),w={...e,avatar:l,title:u,paragraph:d},[T,E]=Id([v,a],[y,s],{props:w});if(n||!(`loading`in e)){let e=!!l,t=!!u,n=!!d,a;if(e){let e={className:T.avatar,prefixCls:`${b}-avatar`,...fne(t,n),...rv(l),style:E.avatar};a=C.createElement(`div`,{className:q(T.header,`${b}-header`),style:E.header},C.createElement(J_,{...e}))}let s;if(t||n){let r;if(t){let t={className:T.title,prefixCls:`${b}-title`,...pne(e,n),...rv(u),style:E.title};r=C.createElement(dne,{...t})}let i;if(n){let n={className:T.paragraph,prefixCls:`${b}-paragraph`,...mne(e,t),...rv(d),style:E.paragraph};i=C.createElement(une,{...n})}s=C.createElement(`div`,{className:q(T.section,`${b}-section`),style:E.section},r,i)}let c=q(b,{[`${b}-with-avatar`]:e,[`${b}-active`]:f,[`${b}-rtl`]:h===`rtl`,[`${b}-round`]:p},T.root,g,r,i,x,S);return C.createElement(`div`,{className:c,style:{...E.root,..._,...o}},a,s)}return c??null};iv.Button=one,iv.Avatar=ane,iv.Input=cne,iv.Image=sne,iv.Node=nv;var av=iv;function ov(){}var hne=C.createContext({add:ov,remove:ov});function sv(e){let t=C.useContext(hne),n=C.useRef(null);return Rn(r=>{if(r){let i=e?r.querySelector(e):r;i&&(t.add(i),n.current=i)}else t.remove(n.current)})}var cv=()=>{let{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=(0,C.useContext)(rg);return C.createElement(tg,{onClick:n,...e},t)},lv=()=>{let{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:i}=(0,C.useContext)(rg);return C.createElement(tg,{...Ym(n),loading:e,onClick:i,...t},r)};function uv(e,t){return C.createElement(`span`,{className:`${e}-close-x`},t||C.createElement(zl,{className:`${e}-close-icon`}))}var dv=e=>{let{okText:t,okType:n=`primary`,cancelText:r,confirmLoading:i,onOk:a,onCancel:o,okButtonProps:s,cancelButtonProps:c,footer:l}=e,[u]=ld(`Modal`,sd()),d=t||u?.okText,f=r||u?.cancelText,p=C.useMemo(()=>({confirmLoading:i,okButtonProps:s,cancelButtonProps:c,okTextLocale:d,cancelTextLocale:f,okType:n,onOk:a,onCancel:o}),[i,s,c,d,f,n,a,o]),m;return typeof l==`function`||l===void 0?(m=C.createElement(C.Fragment,null,C.createElement(cv,null),C.createElement(lv,null)),typeof l==`function`&&(m=l(m,{OkBtn:lv,CancelBtn:cv})),m=C.createElement(ig,{value:p},m)):m=l,C.createElement(Vp,{disabled:!1},m)},gne=e=>{let{componentCls:t}=e;return{[t]:{display:`flex`,flexFlow:`row wrap`,minWidth:0,"&::before, &::after":{display:`flex`},"&-no-wrap":{flexWrap:`nowrap`},"&-start":{justifyContent:`flex-start`},"&-center":{justifyContent:`center`},"&-end":{justifyContent:`flex-end`},"&-space-between":{justifyContent:`space-between`},"&-space-around":{justifyContent:`space-around`},"&-space-evenly":{justifyContent:`space-evenly`},"&-top":{alignItems:`flex-start`},"&-middle":{alignItems:`center`},"&-bottom":{alignItems:`flex-end`}}}},_ne=e=>{let{componentCls:t}=e;return{[t]:{position:`relative`,maxWidth:`100%`,minHeight:1}}},vne=(e,t)=>{let{componentCls:n,gridColumns:r,antCls:i}=e,[a,o]=sl(i,`grid`),[,s]=sl(i,`col`),c={};for(let e=r;e>=0;e--)e===0?(c[`${n}${t}-${e}`]={display:`none`},c[`${n}-push-${e}`]={insetInlineStart:`auto`},c[`${n}-pull-${e}`]={insetInlineEnd:`auto`},c[`${n}${t}-push-${e}`]={insetInlineStart:`auto`},c[`${n}${t}-pull-${e}`]={insetInlineEnd:`auto`},c[`${n}${t}-offset-${e}`]={marginInlineStart:0},c[`${n}${t}-order-${e}`]={order:0}):(c[`${n}${t}-${e}`]=[{[a(`display`)]:`block`,display:`block`},{display:o(`display`),flex:`0 0 ${e/r*100}%`,maxWidth:`${e/r*100}%`}],c[`${n}${t}-push-${e}`]={insetInlineStart:`${e/r*100}%`},c[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/r*100}%`},c[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/r*100}%`},c[`${n}${t}-order-${e}`]={order:e});return c[`${n}${t}-flex`]={flex:s(`${t.replace(/-/,``)}-flex`)},c},fv=(e,t)=>vne(e,t),yne=(e,t,n)=>({[`@media (min-width: ${J(t)})`]:{...fv(e,n)}}),bne=()=>({}),xne=()=>({}),Sne=il(`Grid`,gne,bne),pv=e=>({xs:e.screenXSMin,sm:e.screenSMMin,md:e.screenMDMin,lg:e.screenLGMin,xl:e.screenXLMin,xxl:e.screenXXLMin,xxxl:e.screenXXXLMin}),Cne=il(`Grid`,e=>{let t=_s(e,{gridColumns:24}),n=pv(t);return delete n.xs,[_ne(t),fv(t,``),fv(t,`-xs`),Object.keys(n).map(e=>yne(t,n[e],`-${e}`)).reduce((e,t)=>({...e,...t}),{})]},xne);function mv(e){return{position:e,inset:0}}var wne=e=>{let{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:`none`,opacity:0,animationDuration:e.motionDurationSlow,userSelect:`none`},[`${t}${n}-zoom-leave ${t}-container`]:{pointerEvents:`none`},[`${t}-mask`]:{...mv(`fixed`),zIndex:e.zIndexPopupBase,height:`100%`,backgroundColor:e.colorBgMask,pointerEvents:`none`,[`&${t}-mask-blur`]:{backdropFilter:`blur(4px)`},[`${t}-hidden`]:{display:`none`}},[`${t}-wrap`]:{...mv(`fixed`),zIndex:e.zIndexPopupBase,overflow:`auto`,outline:0,WebkitOverflowScrolling:`touch`}}},{[`${t}-root`]:ah(e)}]},Tne=e=>{let{componentCls:t,motionDurationMid:n}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:`rtl`},[`${t}-centered`]:{textAlign:`center`,"&::before":{display:`inline-block`,width:0,height:`100%`,verticalAlign:`middle`,content:`""`},[t]:{top:0,display:`inline-block`,paddingBottom:0,textAlign:`start`,verticalAlign:`middle`}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:`calc(100vw - 16px)`,margin:`${J(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:{...Yc(e),pointerEvents:`none`,position:`relative`,top:100,width:`auto`,maxWidth:`calc(100vw - ${J(e.calc(e.margin).mul(2).equal())})`,margin:`0 auto`,"&:focus-visible":{borderRadius:e.borderRadiusLG,...Qc(e)},[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:`break-word`},[`${t}-container`]:{position:`relative`,backgroundColor:e.contentBg,backgroundClip:`padding-box`,border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:`auto`,padding:e.contentPadding},[`${t}-close`]:{position:`absolute`,top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:`none`,background:`transparent`,borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:`pointer`,transition:[`color`,`background-color`].map(e=>`${e} ${n}`).join(`, `),"&-x":{display:`flex`,fontSize:e.fontSizeLG,fontStyle:`normal`,lineHeight:J(e.modalCloseBtnSize),justifyContent:`center`,textTransform:`none`,textRendering:`auto`},"&:disabled":{pointerEvents:`none`},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:`none`},"&:active":{backgroundColor:e.colorBgTextActive},...$c(e)},[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:`break-word`,padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:`100%`,height:`100%`,display:`flex`,justifyContent:`center`,alignItems:`center`,margin:`${J(e.margin)} auto`}},[`${t}-footer`]:{textAlign:`end`,background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:`hidden`}}},{[`${t}-pure-panel`]:{top:`auto`,padding:0,display:`flex`,flexDirection:`column`,[`${t}-container, ${t}-body, - ${t}-confirm-body-wrapper`]:{display:`flex`,flexDirection:`column`,flex:`auto`},[`${t}-confirm-body`]:{marginBottom:`auto`}}}]},Mne=e=>{let{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:`rtl`,[`${t}-confirm-body`]:{direction:`rtl`}}}}},Nne=e=>{let{componentCls:t}=e,n=sv(e),r={...n};delete r.xs;let i=`--${t.replace(`.`,``)}-`,a=Object.keys(r).map(e=>({[`@media (min-width: ${J(r[e])})`]:{width:`var(${i}${e}-width)`}}));return{[`${t}-root`]:{[t]:[].concat(Qr(Object.keys(n).map((e,t)=>{let r=Object.keys(n)[t-1];return r?{[`${i}${e}-width`]:`var(${i}${r}-width)`}:null})),[{width:`var(${i}xs-width)`}],Qr(a))}}},lv=e=>{let t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return _s(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},uv=e=>({footerBg:`transparent`,headerBg:`transparent`,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${J(e.paddingMD)} ${J(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${J(e.padding)} ${J(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:`none`,headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${J(e.paddingXS)} ${J(e.padding)}`:0,footerBorderTop:e.wireframe?`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:`none`,footerBorderRadius:e.wireframe?`0 0 ${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${J(e.padding*2)} ${J(e.padding*2)} ${J(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM,mask:!0}),dv=il(`Modal`,e=>{let t=lv(e);return[jne(t),Mne(t),Ane(t),fh(t,`zoom`),Nne(t)]},uv,{unitless:{titleLineHeight:!0}}),fv;B_()&&document.documentElement.addEventListener(`click`,e=>{fv={x:e.pageX,y:e.pageY},setTimeout(()=>{fv=null},100)},!0);var pv=e=>{let{prefixCls:t,className:n,rootClassName:r,open:i,wrapClassName:a,centered:o,getContainer:s,style:c,width:l=520,footer:u,classNames:d,styles:f,children:p,loading:m,confirmLoading:h,zIndex:g,mousePosition:_,onOk:v,onCancel:y,okButtonProps:b,cancelButtonProps:x,destroyOnHidden:S,destroyOnClose:w,panelRef:T=null,closable:E,mask:D,modalRender:O,maskClosable:k,focusTriggerAfterClose:A,focusable:j,...M}=e,{getPopupContainer:N,getPrefixCls:P,direction:F,className:I,style:L,classNames:R,styles:z,centered:B,cancelButtonProps:V,okButtonProps:H,mask:U}=ui(`modal`),{modal:W}=C.useContext(si),[ee,te]=C.useMemo(()=>typeof E==`boolean`?[void 0,void 0]:[E?.afterClose,E?.onClose],[E]),ne=P(`modal`,t),re=P(),[ie,ae,G]=kd(D,U,ne,k),oe=V_(j,ie,A),K=e=>{h||(y?.(e),te?.())},se=e=>{v?.(e),te?.()},ce=xf(ne),[le,ue]=dv(ne,ce),de=q(a,{[`${ne}-centered`]:o??B,[`${ne}-wrap-rtl`]:F===`rtl`}),fe=u!==null&&!m?C.createElement(av,{...e,okButtonProps:{...H,...b},onOk:se,cancelButtonProps:{...V,...x},onCancel:K}):null,[pe,me,he,ge]=Ed(bd(e),bd(W),{closable:!0,closeIcon:C.createElement(zl,{className:`${ne}-close-icon`}),closeIconRender:e=>iv(ne,e)}),_e=pe?{disabled:he,closeIcon:me,afterClose:ee,...ge}:!1,ve=O?e=>C.createElement(`div`,{className:`${ne}-render`},O(e)):void 0,ye=er(T,tv(`.${ne}-${O?`render`:`container`}`)),[be,xe]=Xd(`Modal`,g),Se={...e,width:l,panelRef:T,focusTriggerAfterClose:oe.focusTriggerAfterClose,focusable:oe,mask:ie,maskClosable:G,zIndex:be},[Ce,we]=Id([R,d,ae],[z,f],{props:Se}),[Te,Ee]=C.useMemo(()=>gd(l)?[void 0,l]:[l,void 0],[l]),De=C.useMemo(()=>{let e={};return Ee&&Object.keys(Ee).forEach(t=>{let n=Ee[t];pd(n)&&(e[`--${ne}-${t}-width`]=md(n)?`${n}px`:n)}),e},[ne,Ee]);return C.createElement(I_,{form:!0,space:!0},C.createElement(Wd.Provider,{value:xe},C.createElement(vte,{width:Te,...M,zIndex:be,getContainer:s===void 0?N:s,prefixCls:ne,rootClassName:q(le,r,ue,ce,Ce.root),rootStyle:we.root,footer:fe,visible:i,mousePosition:_??fv,onClose:K,closable:_e,closeIcon:me,transitionName:km(re,`zoom`,e.transitionName),maskTransitionName:km(re,`fade`,e.maskTransitionName),mask:ie,maskClosable:G,className:q(le,n,I),style:{...L,...c,...De},classNames:{...Ce,wrapper:q(Ce.wrapper,de)},styles:we,panelRef:ye,destroyOnHidden:S??w,modalRender:ve,focusTriggerAfterClose:oe.focusTriggerAfterClose,focusTrap:oe.trap},m?C.createElement($_,{active:!0,title:!1,paragraph:{rows:4},className:`${ne}-body-skeleton`}):p)))},Pne=e=>{let{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:i,fontSize:a,lineHeight:o,modalTitleHeight:s,fontHeight:c,confirmBodyPadding:l}=e,u=`${t}-confirm`;return{[u]:{"&-rtl":{direction:`rtl`},[`${e.antCls}-modal-header`]:{display:`none`},[`${u}-body-wrapper`]:{...Zc()},[`&${t} ${t}-body`]:{padding:l},[`${u}-body`]:{display:`flex`,flexWrap:`nowrap`,alignItems:`start`,[`> ${e.iconCls}`]:{flex:`none`,fontSize:i,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(c).sub(i).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(s).sub(i).equal()).div(2).equal()}},[`${u}-paragraph`]:{display:`flex`,flexDirection:`column`,flex:`auto`,rowGap:e.marginXS,maxWidth:`calc(100% - ${J(e.marginSM)})`},[`${u}-body-no-icon ${u}-paragraph`]:{maxWidth:`100%`},[`${e.iconCls} + ${u}-paragraph`]:{maxWidth:`calc(100% - ${J(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${u}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${u}-container`]:{color:e.colorText,fontSize:a,lineHeight:o},[`${u}-btns`]:{textAlign:`end`,marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${u}-error ${u}-body > ${e.iconCls}`]:{color:e.colorError},[`${u}-warning ${u}-body > ${e.iconCls}, - ${u}-confirm ${u}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${u}-info ${u}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${u}-success ${u}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},Fne=ol([`Modal`,`confirm`],e=>Pne(lv(e)),uv,{order:-1e3}),mv=e=>{let{prefixCls:t,icon:n,okText:r,cancelText:i,confirmPrefixCls:a,type:o,okCancel:s,footer:c,locale:l,autoFocusButton:u,focusable:d,...f}=e,p=n;if(!n&&n!==null)switch(o){case`info`:p=C.createElement(Gl,null);break;case`success`:p=C.createElement(Nl,null);break;case`error`:p=C.createElement(Il,null);break;default:p=C.createElement(Hl,null)}let m=s??o===`confirm`,h=C.useMemo(()=>{let e=d?.autoFocusButton||u;return e||e===null?e:`ok`},[u,d?.autoFocusButton]),[g]=ld(`Modal`),_=l||g,v=r||(m?_?.okText:_?.justOkText),y=i||_?.cancelText,{closable:b}=f,{onClose:x}=gd(b)?b:{},S=C.useMemo(()=>({autoFocusButton:h,cancelTextLocale:y,okTextLocale:v,mergedOkCancel:m,onClose:x,...f}),[h,y,v,m,x,f]),w=C.createElement(C.Fragment,null,C.createElement(og,null),C.createElement(sg,null)),T=pd(e.title)&&e.title!==``,E=pd(p),D=`${a}-body`;return C.createElement(`div`,{className:`${a}-body-wrapper`},C.createElement(`div`,{className:q(D,{[`${D}-has-title`]:T,[`${D}-no-icon`]:!E})},p,C.createElement(`div`,{className:`${a}-paragraph`},T&&C.createElement(`span`,{className:`${a}-title`},e.title),C.createElement(`div`,{className:`${a}-content`},e.content))),c===void 0||typeof c==`function`?C.createElement(ag,{value:S},C.createElement(`div`,{className:`${a}-btns`},typeof c==`function`?c(w,{OkBtn:sg,CancelBtn:og}):w)):c,C.createElement(Fne,{prefixCls:t}))},Ine=e=>{let{close:t,zIndex:n,maskStyle:r,direction:i,prefixCls:a,wrapClassName:o,rootPrefixCls:s,bodyStyle:c,closable:l=!1,onConfirm:u,styles:d,title:f,mask:p,maskClosable:m,okButtonProps:h,cancelButtonProps:g}=e,{cancelButtonProps:_,okButtonProps:v}=ui(`modal`),y=`${a}-confirm`,b=e.width||416,x=e.style||{},S=q(y,`${y}-${e.type}`,{[`${y}-rtl`]:i===`rtl`},e.className),w=C.useMemo(()=>{let e=Od(p,m);return e.closable??=!1,e},[p,m]),[,T]=qc(),E=C.useMemo(()=>n===void 0?T.zIndexPopupBase+Kd:n,[n,T]);return C.createElement(pv,{...e,className:S,wrapClassName:q({[`${y}-centered`]:!!e.centered},o),onCancel:()=>{t?.({triggerCancel:!0}),u?.(!1)},title:f,footer:null,transitionName:km(s||``,`zoom`,e.transitionName),maskTransitionName:km(s||``,`fade`,e.maskTransitionName),mask:w,style:x,styles:{body:c,mask:r,...d},width:b,zIndex:E,closable:l},C.createElement(mv,{...e,confirmPrefixCls:y,okButtonProps:{...v,...h},cancelButtonProps:{..._,...g}}))},hv=e=>{let{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:i}=e;return C.createElement(Zp,{prefixCls:t,iconPrefixCls:n,direction:r,theme:i},C.createElement(Ine,{...e}))},gv=[],_v=``;function vv(){return _v}var Lne=e=>{let{prefixCls:t,getContainer:n,direction:r}=e,i=sd(),a=(0,C.useContext)(si),o=vv()||a.getPrefixCls(),s=t||`${o}-modal`,c=n;return c===!1&&(c=void 0),C.createElement(hv,{...e,rootPrefixCls:o,prefixCls:s,iconPrefixCls:a.iconPrefixCls,theme:a.theme,direction:r??a.direction,locale:a.locale?.Modal??i,getContainer:c})};function yv(e){let t=Xp(),n=document.createDocumentFragment(),r={...e,close:s,open:!0},i;function a(...t){t.some(e=>e?.triggerCancel)&&e.onCancel?.(()=>{},...t.slice(1));for(let e=0;e{})}let o=e=>{clearTimeout(i),i=setTimeout(()=>{let r=t.getPrefixCls(void 0,vv()),i=t.getIconPrefixCls(),a=t.getTheme(),o=C.createElement(Lne,{...e});Cm(C.createElement(Zp,{prefixCls:r,iconPrefixCls:i,theme:a},typeof t.holderRender==`function`?t.holderRender(o):o),n)})};function s(...t){r={...r,open:!1,afterClose:()=>{typeof e.afterClose==`function`&&e.afterClose(),a.apply(this,t)}},o(r)}function c(e){r=typeof e==`function`?e(r):{...r,...e},o(r)}return o(r),gv.push(s),{destroy:s,update:c}}function bv(e){return{...e,type:`warning`}}function xv(e){return{...e,type:`info`}}function Sv(e){return{...e,type:`success`}}function Cv(e){return{...e,type:`error`}}function wv(e){return{...e,type:`confirm`}}function Rne({rootPrefixCls:e}){_v=e}var zne=C.forwardRef((e,t)=>{let{afterClose:n,config:r,...i}=e,[a,o]=C.useState(!0),[s,c]=C.useState(r),{direction:l,getPrefixCls:u}=C.useContext(si),d=u(`modal`),f=u(),p=()=>{n(),s.afterClose?.()},m=(...e)=>{o(!1),e.some(e=>e?.triggerCancel)&&s.onCancel?.(()=>{},...e.slice(1))};C.useImperativeHandle(t,()=>({destroy:m,update:e=>{c(t=>{let n=typeof e==`function`?e(t):e;return{...t,...n}})}}));let h=s.okCancel??s.type===`confirm`,[g]=ld(`Modal`,nd.Modal);return C.createElement(hv,{prefixCls:d,rootPrefixCls:f,...s,close:m,open:a,afterClose:p,okText:s.okText||(h?g?.okText:g?.justOkText),direction:s.direction||l,cancelText:s.cancelText||g?.cancelText,...i})}),Tv=0,Bne=C.memo(C.forwardRef((e,t)=>{let[n,r]=Bd();return C.useImperativeHandle(t,()=>({patchElement:r}),[r]),C.createElement(C.Fragment,null,n)}));function Ev(){let e=C.useRef(null),[t,n]=C.useState([]);C.useEffect(()=>{t.length&&(Qr(t).forEach(e=>{e()}),n([]))},[t]);let r=C.useCallback(t=>function(r){Tv+=1;let i=C.createRef(),a,o=new Promise(e=>{a=e}),s=!1,c,l=C.createElement(zne,{key:`modal-${Tv}`,config:t(r),ref:i,afterClose:()=>{c?.()},isSilent:()=>s,onConfirm:e=>{a(e)}});return c=e.current?.patchElement(l),c&&gv.push(c),{destroy:()=>{function e(){i.current?.destroy()}i.current?e():n(t=>[].concat(Qr(t),[e]))},update:e=>{function t(){i.current?.update(e)}i.current?t():n(e=>[].concat(Qr(e),[t]))},then:e=>(s=!0,o.then(e))}},[]);return[C.useMemo(()=>({info:r(xv),success:r(Sv),error:r(Cv),warning:r(bv),confirm:r(wv)}),[r]),C.createElement(Bne,{key:`modal-holder`,ref:e})]}var Vne=e=>{let{componentCls:t,notificationMarginEdge:n,animationMaxHeight:r}=e,i=`${t}-notice`,a=new Ro(`antNotificationFadeIn`,{"0%":{transform:`translate3d(100%, 0, 0)`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,opacity:1}}),o=new Ro(`antNotificationTopFadeIn`,{"0%":{top:-r,opacity:0},"100%":{top:0,opacity:1}}),s=new Ro(`antNotificationBottomFadeIn`,{"0%":{bottom:e.calc(r).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),c=new Ro(`antNotificationLeftFadeIn`,{"0%":{transform:`translate3d(-100%, 0, 0)`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,opacity:1}});return{[t]:{[`&${t}-top, &${t}-bottom`]:{marginInline:0,[i]:{marginInline:`auto auto`}},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:s}},[`&${t}-topRight, &${t}-bottomRight`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[i]:{marginInlineEnd:`auto`,marginInlineStart:0},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:c}}}}},Hne=[`top`,`topLeft`,`topRight`,`bottom`,`bottomLeft`,`bottomRight`],Une={topLeft:`left`,topRight:`right`,bottomLeft:`left`,bottomRight:`right`,top:`left`,bottom:`left`},Wne=(e,t)=>{let{componentCls:n}=e;return{[`${n}-${t}`]:{[`&${n}-stack > ${n}-notice-wrapper`]:{[t.startsWith(`top`)?`top`:`bottom`]:0,[Une[t]]:{value:0,_skip_check_:!0}}}}},Gne=e=>{let t={};for(let n=1;n ${e.componentCls}-notice`]:{opacity:0,transition:`opacity ${e.motionDurationMid}`}};return{[`&:not(:nth-last-child(-n+${e.notificationStackLayer}))`]:{opacity:0,overflow:`hidden`,color:`transparent`,pointerEvents:`none`},...t}},Kne=e=>{let t={};for(let n=1;n{let{componentCls:t}=e;return{[`${t}-stack`]:{[`& > ${t}-notice-wrapper`]:{transition:`transform ${e.motionDurationSlow}, backdrop-filter 0s`,willChange:`transform, opacity`,position:`absolute`,...Gne(e)}},[`${t}-stack:not(${t}-stack-expanded)`]:{[`& > ${t}-notice-wrapper`]:{...Kne(e)}},[`${t}-stack${t}-stack-expanded`]:{[`& > ${t}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:`unset`,color:`inherit`,pointerEvents:`auto`,[`& > ${e.componentCls}-notice`]:{opacity:1}},"&:after":{content:`""`,position:`absolute`,height:e.margin,width:`100%`,insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:`transparent`,pointerEvents:`auto`}}},...Hne.map(t=>Wne(e,t)).reduce((e,t)=>({...e,...t}),{})}},Jne=e=>{let{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:i,notificationMarginBottom:a,borderRadiusLG:o,colorSuccess:s,colorInfo:c,colorWarning:l,colorError:u,colorTextHeading:d,notificationBg:f,notificationPadding:p,notificationMarginEdge:m,progressBg:h,notificationProgressHeight:g,fontSize:_,lineHeight:v,width:y,notificationIconSize:b,colorText:x,colorSuccessBg:S,colorErrorBg:C,colorInfoBg:w,colorWarningBg:T,motionDurationMid:E}=e,D=`${n}-notice`;return{position:`relative`,marginBottom:a,marginInlineStart:`auto`,background:f,borderRadius:o,boxShadow:r,[D]:{padding:p,width:y,maxWidth:`calc(100vw - ${J(e.calc(m).mul(2).equal())})`,lineHeight:v,wordWrap:`break-word`,borderRadius:o,overflow:`hidden`,"&-success":S?{background:S}:{},"&-error":C?{background:C}:{},"&-info":w?{background:w}:{},"&-warning":T?{background:T}:{}},[`${D}-title`]:{marginBottom:e.marginXS,color:d,fontSize:i,lineHeight:e.lineHeightLG},[`${D}-description`]:{fontSize:_,color:x,marginTop:e.marginXS,"&:first-child":{marginTop:0,marginInlineEnd:e.marginSM}},[`${D}-closable ${D}-title`]:{paddingInlineEnd:e.paddingLG},[`${D}-with-icon ${D}-title`]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(b).equal(),fontSize:i},[`${D}-with-icon ${D}-description`]:{marginInlineStart:e.calc(e.marginSM).add(b).equal(),fontSize:_},[`${D}-icon`]:{position:`absolute`,fontSize:b,lineHeight:1,[`&-success${t}`]:{color:s},[`&-info${t}`]:{color:c},[`&-warning${t}`]:{color:l},[`&-error${t}`]:{color:u}},[`${D}-close`]:{position:`absolute`,top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:`none`,width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:[`color`,`background-color`].map(e=>`${e} ${E}`).join(`, `),display:`flex`,alignItems:`center`,justifyContent:`center`,background:`none`,border:`none`,"&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},...$c(e)},[`${D}-progress`]:{position:`absolute`,display:`block`,appearance:`none`,inlineSize:`calc(100% - ${J(o)} * 2)`,left:{_skip_check_:!0,value:o},right:{_skip_check_:!0,value:o},bottom:0,blockSize:g,border:0,"&, &::-webkit-progress-bar":{borderRadius:o,backgroundColor:`rgba(0, 0, 0, 0.04)`},"&::-moz-progress-bar":{background:h},"&::-webkit-progress-value":{borderRadius:o,background:h}},[`${D}-actions`]:{float:`right`,marginTop:e.marginSM}}},Yne=e=>{let{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:r,motionDurationMid:i,motionEaseInOut:a}=e,o=`${t}-notice`,s=new Ro(`antNotificationFadeOut`,{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:{...Yc(e),position:`fixed`,zIndex:e.zIndexPopup,marginRight:{value:r,_skip_check_:!0},[`${t}-hook-holder`]:{position:`relative`},[`${t}-fade-appear-prepare`]:{opacity:`0 !important`},[`${t}-fade-enter, ${t}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:a,animationFillMode:`both`,opacity:0,animationPlayState:`paused`},[`${t}-fade-leave`]:{animationTimingFunction:a,animationFillMode:`both`,animationDuration:i,animationPlayState:`paused`},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationPlayState:`running`},[`${t}-fade-leave${t}-fade-leave-active`]:{animationName:s,animationPlayState:`running`},"&-rtl":{direction:`rtl`,[`${o}-actions`]:{float:`left`}}}},{[t]:{[`${o}-wrapper`]:Jne(e)}}]},Xne=e=>({zIndexPopup:e.zIndexPopupBase+Kd+50,width:384,progressBg:`linear-gradient(90deg, ${e.colorPrimaryBorderHover}, ${e.colorPrimary})`,colorSuccessBg:void 0,colorErrorBg:void 0,colorInfoBg:void 0,colorWarningBg:void 0}),Dv=e=>{let t=e.paddingMD,n=e.paddingLG;return _s(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${J(e.paddingMD)} ${J(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2})},Zne=il(`Notification`,e=>{let t=Dv(e);return[Yne(t),Vne(t),qne(t)]},Xne);function Ov(e,t){return t===null||t===!1?null:t||C.createElement(zl,{className:`${e}-close-icon`})}var Qne={success:Nl,info:Gl,error:Il,warning:Hl},$ne=e=>{let{prefixCls:t,icon:n,type:r,title:i,description:a,actions:o,role:s=`alert`,styles:c,classNames:l}=e,u=null;return n?u=C.createElement(`span`,{className:q(`${t}-icon`,l.icon),style:c.icon},n):r&&(u=C.createElement(Qne[r]||null,{className:q(`${t}-icon`,l.icon,`${t}-icon-${r}`),style:c.icon})),C.createElement(`div`,{className:q({[`${t}-with-icon`]:u}),role:s},u,i&&C.createElement(`div`,{className:q(`${t}-title`,l.title),style:c.title},i),a&&C.createElement(`div`,{className:q(`${t}-description`,l.description),style:c.description},a),o&&C.createElement(`div`,{className:q(`${t}-actions`,l.actions),style:c.actions},o))};function kv(e,t,n){let r;switch(e){case`top`:r={left:`50%`,transform:`translateX(-50%)`,right:`auto`,top:t,bottom:`auto`};break;case`topLeft`:r={left:0,top:t,bottom:`auto`};break;case`topRight`:r={right:0,top:t,bottom:`auto`};break;case`bottom`:r={left:`50%`,transform:`translateX(-50%)`,right:`auto`,top:`auto`,bottom:n};break;case`bottomLeft`:r={left:0,top:`auto`,bottom:n};break;default:r={right:0,top:`auto`,bottom:n};break}return r}function Av(e){return{motionName:`${e}-fade`}}function jv(e,t,n){return e===void 0?t?.closeIcon===void 0?n?.closeIcon:t.closeIcon:e}var Mv=24,Nv=4.5,ere=`topRight`,tre=({children:e,prefixCls:t})=>{let n=xf(t),[r,i]=Zne(t,n);return C.createElement(nm,{classNames:{list:q(r,i,n)}},e)},nre=(e,{prefixCls:t,key:n})=>C.createElement(tre,{prefixCls:t,key:n},e),rre=C.forwardRef((e,t)=>{let{top:n,bottom:r,prefixCls:i,getContainer:a,maxCount:o,rtl:s,onAllRemoved:c,stack:l,duration:u=Nv,pauseOnHover:d=!0,showProgress:f}=e,{getPrefixCls:p,getPopupContainer:m,direction:h}=ui(`notification`),{notification:g}=(0,C.useContext)(si),[,_]=qc(),v=i||p(`notification`),y=(0,C.useMemo)(()=>md(u)&&u>0?u:!1,[u]),[b,x]=lm({prefixCls:v,style:e=>kv(e,n??Mv,r??Mv),className:()=>q({[`${v}-rtl`]:s??h===`rtl`}),motion:()=>Av(v),closable:{closeIcon:Ov(v)},duration:y,getContainer:()=>a?.()||m?.()||document.body,maxCount:o,pauseOnHover:d,showProgress:f,onAllRemoved:c,renderNotifications:nre,stack:l===!1?!1:{threshold:gd(l)?l?.threshold:void 0,offset:8,gap:_.margin}}),[S,w]=Id([g?.classNames,e?.classNames],[g?.styles,e?.styles],{props:e});return C.useImperativeHandle(t,()=>({...b,prefixCls:v,notification:g,classNames:S,styles:w})),x});function ire(e){let t=C.useRef(null);Or(`Notification`);let{notification:n}=C.useContext(si);return[C.useMemo(()=>{let r=r=>{if(!t.current)return;let{open:i,prefixCls:a,notification:o,classNames:s,styles:c}=t.current,l=o?.className||{},u=o?.style||{},d=`${a}-notice`,{title:f,message:p,description:m,icon:h,type:g,btn:_,actions:v,className:y,style:b,role:x=`alert`,closeIcon:S,closable:w,classNames:T={},styles:E={},...D}=r,O=f??p,k=v??_,A=Ov(d,jv(S,e,o)),[j,M,,N]=Td(bd({...e||{},...r}),bd(n),{closable:!0,closeIcon:A}),P=j?{onClose:gd(w)?w.onClose:void 0,closeIcon:M,...N}:!1,F=Fd(T,{props:r}),I=Fd(E,{props:r}),L=Ad(void 0,s,F),R=Md(c,I);return i({placement:e?.placement??ere,...D,content:C.createElement($ne,{prefixCls:d,icon:h,type:g,title:O,description:m,actions:k,role:x,classNames:L,styles:R}),className:q({[`${d}-${g}`]:g},y,l,L.root),style:{...u,...R.root,...b},closable:P})},i={open:r,destroy:e=>{e===void 0?t.current?.destroy():t.current?.close(e)}};return[`success`,`info`,`warning`,`error`].forEach(e=>{i[e]=t=>r({...t,type:e})}),i},[e,n]),C.createElement(rre,{key:`notification-holder`,...e,ref:t})]}function are(e){return ire(e)}var Pv=C.createContext({}),Fv=C.createContext({message:{},notification:{},modal:{}}),ore=il(`App`,e=>{let{componentCls:t,colorText:n,fontSize:r,lineHeight:i,fontFamily:a}=e;return{[t]:{color:n,fontSize:r,lineHeight:i,fontFamily:a,[`&${t}-rtl`]:{direction:`rtl`}}}},()=>({})),sre=e=>{let{prefixCls:t,children:n,className:r,rootClassName:i,message:a,notification:o,style:s,component:c=`div`}=e,{direction:l,getPrefixCls:u,className:d,style:f}=ui(`app`),p=u(`app`,t),[m,h]=ore(p),g=q(m,p,r,i,h,{[`${p}-rtl`]:l===`rtl`}),_=(0,C.useContext)(Pv),v=C.useMemo(()=>({message:{..._.message,...a},notification:{..._.notification,...o}}),[a,o,_.message,_.notification]),[y,b]=xm(v.message),[x,S]=are(v.notification),[w,T]=Ev(),E=C.useMemo(()=>({message:y,notification:x,modal:w}),[y,x,w]);Or(`App`)(!(h&&c===!1),`usage`,"When using cssVar, ensure `component` is assigned a valid React component string.");let D=c===!1?C.Fragment:c,O={className:q(d,g),style:{...f,...s}};return C.createElement(Fv.Provider,{value:E},C.createElement(Pv.Provider,{value:v},C.createElement(D,{...c===!1?void 0:O},T,b,S,n)))},cre=()=>C.useContext(Fv),Iv=sre;Iv.useApp=cre;function Lv(e){return t=>C.createElement(Zp,{theme:{token:{motion:!1,zIndexPopupBase:0}}},C.createElement(e,{...t}))}var Rv=(e,t,n,r,i)=>Lv(a=>{let{prefixCls:o,style:s}=a,c=C.useRef(null),[l,u]=C.useState(0),[d,f]=C.useState(0),[p,m]=Wn(!1,a.open),{getPrefixCls:h}=C.useContext(si),g=h(r||`select`,o);C.useEffect(()=>{if(m(!0),typeof ResizeObserver<`u`){let e=new ResizeObserver(e=>{let t=e[0].target;u(t.offsetHeight+8),f(t.offsetWidth)}),t=setInterval(()=>{let n=i?`.${i(g)}`:`.${g}-dropdown`,r=c.current?.querySelector(n);r&&(clearInterval(t),e.observe(r))},10);return()=>{clearInterval(t),e.disconnect()}}},[g]);let _={...a,style:{...s,margin:0},open:p,getPopupContainer:()=>c.current};n&&(_=n(_)),t&&(_={..._,[t]:{overflow:{adjustX:!1,adjustY:!1}}});let v={paddingBottom:l,position:`relative`,minWidth:d};return C.createElement(`div`,{ref:c,style:v},C.createElement(e,{..._}))}),zv=(e,t,n,r,i=!1,a,o)=>{let s=(0,C.useMemo)(()=>typeof n==`boolean`?{allowClear:n}:n&&typeof n==`object`?n:{allowClear:!1},[n]);return(0,C.useMemo)(()=>{let e=!i&&s.allowClear!==!1&&(t.length||a)&&!(o===`combobox`&&a===``);return{allowClear:e,clearIcon:e?s.clearIcon||r||`×`:null}},[s,r,i,t.length,a,o])},Bv=C.createContext(null);function Vv(){return C.useContext(Bv)}function Hv(e=250){let t=C.useRef(null),n=C.useRef(null);C.useEffect(()=>()=>{window.clearTimeout(n.current)},[]);function r(r){(r||t.current===null)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout(()=>{t.current=null},e)}return[()=>t.current,r]}function Uv(e,t){return e.filter(e=>e).some(e=>e.contains(t)||e===t)}function Wv(e,t,n,r){let i=Rn(i=>{if(r)return;let a=i.target;a.shadowRoot&&i.composed&&(a=i.composedPath()[0]||a),i._ori_target&&(a=i._ori_target),t&&!Uv(e(),a)&&n(!1)});C.useEffect(()=>(window.addEventListener(`mousedown`,i),()=>window.removeEventListener(`mousedown`,i)),[i])}function Gv(){return Gv=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let t=e===!0?0:1;return{bottomLeft:{points:[`tl`,`bl`],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:`scroll`},bottomRight:{points:[`tr`,`br`],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:`scroll`},topLeft:{points:[`bl`,`tl`],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:`scroll`},topRight:{points:[`br`,`tr`],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:`scroll`}}},ure=C.forwardRef((e,t)=>{let{prefixCls:n,disabled:r,visible:i,children:a,popupElement:o,animation:s,transitionName:c,popupStyle:l,popupClassName:u,direction:d=`ltr`,placement:f,builtinPlacements:p,popupMatchSelectWidth:m,popupRender:h,popupAlign:g,getPopupContainer:_,empty:v,onPopupVisibleChange:y,onPopupMouseEnter:b,onPopupMouseDown:x,onPopupBlur:S,...w}=e,T=`${n}-dropdown`,E=o;h&&(E=h(o));let D=C.useMemo(()=>p||lre(m),[p,m]),O=s?`${T}-${s}`:c,k=typeof m==`number`,A=C.useMemo(()=>k?null:m===!1?`minWidth`:`width`,[m,k]),j=l;k&&(j={...l,width:m});let M=C.useRef(null);return C.useImperativeHandle(t,()=>({getPopupElement:()=>M.current?.popupElement})),C.createElement(Mp,Gv({},w,{showAction:y?[`click`]:[],hideAction:y?[`click`]:[],popupPlacement:f||(d===`rtl`?`bottomRight`:`bottomLeft`),builtinPlacements:D,prefixCls:T,popupMotion:{motionName:O},popup:C.createElement(`div`,{onMouseEnter:b,onMouseDown:x,onBlur:S},E),ref:M,stretch:A,popupAlign:g,popupVisible:i,getPopupContainer:_,popupClassName:q(u,{[`${T}-empty`]:v}),popupStyle:j,onPopupVisibleChange:y}),a)});function Kv(e,t){let{key:n}=e,r;return`value`in e&&({value:r}=e),n??(r===void 0?`rc-index-key-${t}`:r)}function qv(e){return e!==void 0&&!Number.isNaN(e)}function Jv(e,t){let{label:n,value:r,options:i,groupLabel:a}=e||{},o=n||(t?`children`:`label`);return{label:o,value:r||`value`,options:i||`options`,groupLabel:a||o}}function dre(e,{fieldNames:t,childrenAsData:n}={}){let r=[],{label:i,value:a,options:o,groupLabel:s}=Jv(t,!1);function c(e,t){Array.isArray(e)&&e.forEach(e=>{if(t||!(o in e)){let n=e[a];r.push({key:Kv(e,r.length),groupOption:t,data:e,label:e[i],value:n})}else{let t=e[s];t===void 0&&n&&(t=e.label),r.push({key:Kv(e,r.length),group:!0,data:e,label:t}),c(e[o],!0)}})}return c(e,!1),r}function Yv(e){let t={...e};return`props`in t||Object.defineProperty(t,`props`,{get(){return xr(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var fre=(e,t,n)=>{if(!t||!t.length)return null;let r=!1,i=(e,[t,...n])=>{if(!t)return[e];let a=e.split(t);return r||=a.length>1,a.reduce((e,t)=>[...e,...i(t,n)],[]).filter(Boolean)},a=i(e,t);return r?n===void 0?a:a.slice(0,n):null};function pre(e){let{visible:t,values:n}=e;return t?C.createElement(`span`,{"aria-live":`polite`,style:{width:0,height:0,position:`absolute`,overflow:`hidden`,opacity:0}},`${n.slice(0,50).map(({label:e,value:t})=>[`number`,`string`].includes(typeof e)?e:t).join(`, `)}`,n.length>50?`, ...`:null):null}var mre=e=>{let t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(null)},Xv=(e,t=1)=>{if(t<=0){e();return}mre(()=>{Xv(e,t-1)})};function hre(e,t,n,r){let[i,a]=(0,C.useState)(!1);(0,C.useEffect)(()=>{a(!0)},[]);let[o,s]=Wn(e,t),[c,l]=(0,C.useState)(!1),u=i?o:!1,d=r(u),f=(0,C.useRef)(0),p=Rn(e=>{n&&d!==e&&n(e),s(e)});return[u,d,Rn((e,t={})=>{let{cancelFun:n}=t;f.current+=1;let r=f.current,i=typeof e==`boolean`?e:!d;l(!i);function a(){r===f.current&&!n?.()&&(p(i),l(!1))}i?a():Xv(()=>{a()})}),c]}function Zv(e){let{children:t,...n}=e;return t?C.createElement(`div`,n,t):null}var Qv=C.createContext(null);function $v(){return C.useContext(Qv)}var ey=C.forwardRef((e,t)=>{let{onChange:n,onKeyDown:r,onBlur:i,style:a,syncWidth:o,value:s,className:c,autoComplete:l,...u}=e,{prefixCls:d,mode:f,onSearch:p,onSearchSubmit:m,onInputBlur:h,autoFocus:g,tokenWithEnter:_,placeholder:v,components:{input:y=`input`}}=$v(),{id:b,classNames:x,styles:S,open:w,activeDescendantId:T,role:E,disabled:D}=Vv()||{},O=q(`${d}-input`,x?.input,c),k=C.useRef(!1),A=C.useRef(null),j=C.useRef(null);C.useImperativeHandle(t,()=>j.current);let M=e=>{let{value:t}=e.target;if(_&&A.current&&/[\r\n]/.test(A.current)){let e=A.current.replace(/[\r\n]+$/,``).replace(/\r\n/g,` `).replace(/[\r\n]/g,` `);t=t.replace(e,A.current)}A.current=null,p&&p(t,!0,k.current),n?.(e)},N=e=>{let{key:t}=e,{value:n}=e.currentTarget;t===`Enter`&&f===`tags`&&!w&&!k.current&&m&&m(n),r?.(e)},P=e=>{h?.(),i?.(e)},F=()=>{k.current=!0},I=e=>{if(k.current=!1,f!==`combobox`){let{value:t}=e.currentTarget;p?.(t,!0,!1)}},L=e=>{let{clipboardData:t}=e;A.current=t?.getData(`text`)||``},[R,z]=C.useState(void 0);Vn(()=>{let e=j.current;if(o&&e){e.style.width=`0px`;let t=e.scrollWidth;z(t),e.style.width=``}},[o,s]);let B={id:b,type:f===`combobox`?`text`:`search`,...u,ref:j,style:{...S?.input,...a,"--select-input-width":R},autoFocus:g,autoComplete:l||`off`,className:O,disabled:D,value:s||``,onChange:M,onKeyDown:N,onBlur:P,onPaste:L,onCompositionStart:F,onCompositionEnd:I,role:E||`combobox`,"aria-expanded":w||!1,"aria-haspopup":`listbox`,"aria-owns":w?`${b}_list`:void 0,"aria-autocomplete":`list`,"aria-controls":w?`${b}_list`:void 0,"aria-activedescendant":w?T:void 0};if(C.isValidElement(y)){let t=y.props||{},n={placeholder:e.placeholder||v,...B,...t};return Object.keys(t).forEach(e=>{let r=t[e];typeof r==`function`&&(n[e]=(...t)=>{r(...t),B[e]?.(...t)})}),n.ref=er(y.ref,B.ref),C.cloneElement(y,n)}let V=y;return C.createElement(V,B)});function ty(e){let{prefixCls:t,placeholder:n,displayValues:r}=$v(),{classNames:i,styles:a}=Vv(),{show:o=!0}=e;return r.length?null:C.createElement(`div`,{className:q(`${t}-placeholder`,i?.placeholder),style:{visibility:o?`visible`:`hidden`,...a?.placeholder}},n)}var ny=C.createContext(null);function ry(e){return Array.isArray(e)?e:e===void 0?[]:[e]}typeof window<`u`&&window.document&&window.document.documentElement;function gre(e){return e!=null}function _re(e){return!e&&e!==0}function iy(e){return[`string`,`number`].includes(typeof e)}function ay(e){let t;return e&&(iy(e.title)?t=e.title.toString():iy(e.label)&&(t=e.label.toString())),t}function oy(){return oy=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,searchValue:r,activeValue:i,displayValues:a,maxLength:o,mode:s,components:c}=$v(),{triggerOpen:l,title:u,showSearch:d,classNames:f,styles:p}=Vv(),m=C.useContext(ny),[h,g]=C.useState(!1),_=s===`combobox`,v=a[0],y=C.useMemo(()=>_&&i&&!h&&l?i:d?r:``,[_,i,h,l,r,d]),[b,x,S,w]=C.useMemo(()=>{let e,t,n;if(v&&m?.flattenOptions){let r=m.flattenOptions.find(e=>e.value===v.value);r?.data&&(e=r.data.className,t=r.data.style,n=ay(r.data))}return v&&!n&&(n=ay(v)),u!==void 0&&(n=u),[e,t,n,!!e||!!t]},[v,m?.flattenOptions,u]);C.useEffect(()=>{_&&g(!1)},[_,i]);let T=v&&v.label!==null&&v.label!==void 0&&String(v.label).trim()!==``,E=_&&c?.input?null:v?w?C.createElement(`div`,{className:q(`${n}-content-value`,b),style:{...y?{visibility:`hidden`}:{},...x},title:S},v.label):v.label:C.createElement(ty,{show:!y});return C.createElement(`div`,{className:q(`${n}-content`,T&&`${n}-content-has-value`,y&&`${n}-content-has-search-value`,w&&`${n}-content-has-option-style`,f?.content),style:p?.content,title:w?void 0:S},E,C.createElement(ey,oy({ref:t},e,{value:y,maxLength:s===`combobox`?o:void 0,onChange:t=>{g(!0),e.onChange?.(t)}})))}),cy=void 0;function ly(e,t){let{prefixCls:n,invalidate:r,item:i,renderItem:a,responsive:o,responsiveDisabled:s,registerSize:c,itemKey:l,className:u,style:d,children:f,display:p,order:m,component:h=`div`,...g}=e,_=o&&!p;function v(e){c(l,e)}C.useEffect(()=>()=>{v(null)},[]);let y=a&&i!==cy?a(i,{index:m}):f,b;r||(b={opacity:+!_,height:_?0:cy,overflowY:_?`hidden`:cy,order:o?m:cy,pointerEvents:_?`none`:cy,position:_?`absolute`:cy});let x={};_&&(x[`aria-hidden`]=!0);let S=C.createElement(h,yh({className:q(!r&&n,u),style:{...b,...d}},x,g,{ref:t}),y);return o&&(S=C.createElement(Gr,{onResize:({offsetWidth:e})=>{v(e)},disabled:s},S)),S}var uy=C.forwardRef(ly);function dy(e){if(typeof MessageChannel>`u`)ii(e);else{let t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(void 0)}}function fy(){let e=C.useRef(null);return t=>{e.current||(e.current=[],dy(()=>{(0,Yf.unstable_batchedUpdates)(()=>{e.current.forEach(e=>{e()}),e.current=null})})),e.current.push(t)}}function py(e,t){let[n,r]=C.useState(t);return[n,Rn(t=>{e(()=>{r(t)})})]}var my=C.createContext(null),hy=C.forwardRef((e,t)=>{let n=C.useContext(my);if(!n){let{component:n=`div`,...r}=e;return C.createElement(n,yh({},r,{ref:t}))}let{className:r,...i}=n,{className:a,...o}=e;return C.createElement(my.Provider,{value:null},C.createElement(uy,yh({ref:t,className:q(r,a)},i,o)))}),gy=`responsive`,_y=`invalidate`;function vy(e){return`+ ${e.length} ...`}function yy(e,t){let{prefixCls:n=`rc-overflow`,data:r=[],renderItem:i,renderRawItem:a,itemKey:o,itemWidth:s=10,ssr:c,style:l,className:u,maxCount:d,renderRest:f,renderRawRest:p,prefix:m,suffix:h,component:g=`div`,itemComponent:_,onVisibleChange:v,...y}=e,b=c===`full`,x=fy(),[S,w]=py(x,null),T=S||0,[E,D]=py(x,new Map),[O,k]=py(x,0),[A,j]=py(x,0),[M,N]=py(x,0),[P,F]=py(x,0),[I,L]=(0,C.useState)(null),[R,z]=(0,C.useState)(null),B=C.useMemo(()=>R===null&&b?2**53-1:R||0,[R,S]),[V,H]=(0,C.useState)(!1),U=`${n}-item`,W=Math.max(O,A),ee=d===gy,te=r.length&&ee,ne=d===_y,re=te||typeof d==`number`&&r.length>d,ie=(0,C.useMemo)(()=>{let e=r;return te?e=S===null&&b?r:r.slice(0,Math.min(r.length,T/s)):typeof d==`number`&&(e=r.slice(0,d)),e},[r,s,S,d,te]),ae=(0,C.useMemo)(()=>te?r.slice(B+1):r.slice(ie.length),[r,ie,te,B]),G=(0,C.useCallback)((e,t)=>typeof o==`function`?o(e):(o&&e?.[o])??t,[o]),oe=(0,C.useCallback)(i||(e=>e),[i]);function K(e,t,n){R===e&&(t===void 0||t===I)||(z(e),n||(H(e{let r=new Map(n);return t===null?r.delete(e):r.set(e,t),r})}function le(e,t){j(t),k(A)}function ue(e,t){N(t)}function de(e,t){F(t)}function fe(e){return E.get(G(ie[e],e))}Vn(()=>{if(T&&typeof W==`number`&&ie){let e=M+P,t=ie.length,n=t-1;if(!t){K(0,null);return}for(let r=0;rT){K(r-1,e-t-P+A);break}}h&&fe(0)+P>T&&L(null)}},[T,E,A,M,P,G,ie]);let pe=V&&!!ae.length,me={};I!==null&&te&&(me={position:`absolute`,top:0,insetInlineStart:I});let he={prefixCls:U,responsive:te,component:_,invalidate:ne},ge=a?(e,t)=>{let n=G(e,t);return C.createElement(my.Provider,{key:n,value:{...he,order:t,item:e,itemKey:n,registerSize:ce,display:t<=B}},a(e,t))}:(e,t)=>{let n=G(e,t);return C.createElement(uy,yh({},he,{order:t,key:n,item:e,renderItem:oe,itemKey:n,registerSize:ce,display:t<=B}))},_e={order:pe?B:2**53-1,className:`${U}-rest`,registerSize:le,display:pe},ve=f||vy,ye=p?C.createElement(my.Provider,{value:{...he,..._e}},p(ae)):C.createElement(uy,yh({},he,_e),typeof ve==`function`?ve(ae):ve),be=C.createElement(g,yh({className:q(!ne&&n,u),style:l,ref:t},y),m&&C.createElement(uy,yh({},he,{responsive:ee,responsiveDisabled:!te,order:-1,className:`${U}-prefix`,registerSize:ue,display:!0}),m),ie.map(ge),re?ye:null,h&&C.createElement(uy,yh({},he,{responsive:ee,responsiveDisabled:!te,order:B,className:`${U}-suffix`,registerSize:de,display:!0,style:me}),h));return ee?C.createElement(Gr,{onResize:se,disabled:!te},be):be}var by=C.forwardRef(yy);by.Item=hy,by.RESPONSIVE=gy,by.INVALIDATE=_y;var xy=by,Sy=e=>{let{className:t,style:n,customizeIcon:r,customizeIconProps:i,children:a,onMouseDown:o,onClick:s}=e,c=typeof r==`function`?r(i):r;return C.createElement(`span`,{className:t,onMouseDown:e=>{e.preventDefault(),o?.(e)},style:{userSelect:`none`,WebkitUserSelect:`none`,...n},unselectable:`on`,onClick:s,"aria-hidden":!0},c===void 0?C.createElement(`span`,{className:q(t.split(/\s+/).map(e=>`${e}-icon`))},a):c)};function Cy(){return Cy=Object.assign?Object.assign.bind():function(e){for(var t=1;t{e.preventDefault(),e.stopPropagation()},yre=C.forwardRef(function({inputProps:e},t){let{prefixCls:n,displayValues:r,searchValue:i,mode:a,onSelectorRemove:o,removeIcon:s}=$v(),{disabled:c,showSearch:l,triggerOpen:u,rawOpen:d,toggleOpen:f,autoClearSearchValue:p,tagRender:m,maxTagPlaceholder:h,maxTagTextLength:g,maxTagCount:_,classNames:v,styles:y}=Vv(),b=`${n}-selection-item`,x=i;!d&&a===`multiple`&&p!==!1&&(x=``);let S=l&&x||``,w=l&&!c,T=s??`×`,E=h??(e=>`+ ${e.length} ...`),D=m,O=e=>{f(e)},k=e=>{o?.(e)},A=(e,t,n,r,i)=>C.createElement(`span`,{title:ay(e),className:q(b,{[`${b}-disabled`]:n},v?.item),style:y?.item},C.createElement(`span`,{className:q(`${b}-content`,v?.itemContent),style:y?.itemContent},t),r&&C.createElement(Sy,{className:q(`${b}-remove`,v?.itemRemove),style:y?.itemRemove,onMouseDown:wy,onClick:i,customizeIcon:T},`×`)),j=(e,t,n,r,i,a,o)=>C.createElement(`span`,{onMouseDown:e=>{wy(e),O(!u)}},D({label:t,value:e,index:o?.index,disabled:n,closable:r,onClose:i,isMaxTag:!!a}));return C.createElement(xy,{prefixCls:`${n}-content`,className:v?.content,style:y?.content,prefix:!r.length&&!S&&C.createElement(ty,null),data:r,renderItem:(e,t)=>{let{disabled:n,label:r,value:i}=e,a=!c&&!n,o=r;if(typeof g==`number`&&(typeof r==`string`||typeof r==`number`)){let e=String(o);e.length>g&&(o=`${e.slice(0,g)}...`)}let s=t=>{t&&t.stopPropagation(),k(e)};return typeof D==`function`?j(i,o,n,a,s,void 0,t):A(e,o,n,a,s)},renderRest:e=>{if(!r.length)return null;let t=typeof E==`function`?E(e):E;return typeof D==`function`?j(void 0,t,!1,!1,void 0,!0):A({title:t},t,!1)},suffix:C.createElement(ey,Cy({ref:t,disabled:c,readOnly:!w},e,{value:S||``,syncWidth:!0})),itemKey:vre,maxCount:_})}),bre=C.forwardRef(function(e,t){let{multiple:n,onInputKeyDown:r,tabIndex:i}=$v(),a=Vv(),{showSearch:o}=a,s={...Hu(a,{aria:!0}),onKeyDown:r,readOnly:!o,tabIndex:i};return n?C.createElement(yre,{ref:t,inputProps:s}):C.createElement(sy,{ref:t,inputProps:s})});function xre(e){return e&&![Qp.ESC,Qp.SHIFT,Qp.BACKSPACE,Qp.TAB,Qp.WIN_KEY,Qp.ALT,Qp.META,Qp.WIN_KEY_RIGHT,Qp.CTRL,Qp.SEMICOLON,Qp.EQUALS,Qp.CAPS_LOCK,Qp.CONTEXT_MENU,Qp.UP,Qp.LEFT,Qp.RIGHT,Qp.F1,Qp.F2,Qp.F3,Qp.F4,Qp.F5,Qp.F6,Qp.F7,Qp.F8,Qp.F9,Qp.F10,Qp.F11,Qp.F12].includes(e)}function Ty(){return Ty=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{which:t}=e,n=F.current instanceof HTMLTextAreaElement;!n&&D&&(t===Qp.UP||t===Qp.DOWN)&&e.preventDefault(),x&&x(e),!(n&&!D&&~[Qp.UP,Qp.DOWN,Qp.LEFT,Qp.RIGHT].indexOf(t))&&!(e.ctrlKey||e.altKey||e.metaKey)&&xre(t)&&O(!0)});C.useImperativeHandle(t,()=>({focus:e=>{(F.current||P.current).focus?.(e)},blur:()=>{(F.current||P.current).blur?.()},nativeElement:Ar(P.current)}));let L=Rn(e=>{if(!A){let t=Ar(F.current);e.nativeEvent._ori_target=t;let n=t===e.target||t?.contains(e.target);t&&!n&&e.preventDefault();let r=D&&!l&&(f===`combobox`||k)||D&&l&&n;e.nativeEvent._select_lazy?D&&O(!1):(F.current?.focus(),r||O())}y?.(e)}),{root:R}=T,z=Cr(E,Sre),B=Hu(z,{aria:!0}),V=Object.keys(B),H={...e,onInputKeyDown:I};if(R){let e=R.props||{},t={...e,...z};return Object.keys(e).forEach(n=>{let r=e[n],i=z[n];typeof r==`function`&&typeof i==`function`&&(t[n]=(...e)=>{i(...e),r(...e)})}),C.isValidElement(R)?C.cloneElement(R,{...t,ref:er(R.ref,P)}):C.createElement(R,Ty({},t,{ref:P}))}return C.createElement(Qv.Provider,{value:H},C.createElement(`div`,Ty({},Cr(z,V),{ref:P,className:r,style:i,onMouseDown:L}),C.createElement(Zv,{className:q(`${n}-prefix`,M?.prefix),style:N?.prefix},a),C.createElement(bre,{ref:F}),C.createElement(Zv,{className:q(`${n}-suffix`,{[`${n}-suffix-loading`]:j},M?.suffix),style:N?.suffix},o),s&&C.createElement(Zv,{className:q(`${n}-clear`,M?.clear),style:N?.clear,onMouseDown:e=>{e.nativeEvent._select_lazy=!0,b?.(e)}},s),c))});function wre(e,t,n){return C.useMemo(()=>{let{root:r,input:i}=e||{};return n&&(r=n()),t&&(i=t()),{root:r,input:i}},[e,t,n])}function Ey(){return Ey=Object.assign?Object.assign.bind():function(e){for(var t=1;te===`tags`||e===`multiple`,Tre=C.forwardRef((e,t)=>{let{id:n,prefixCls:r,className:i,styles:a,classNames:o,showSearch:s,tagRender:c,showScrollBar:l=`optional`,direction:u,omitDomProps:d,displayValues:f,onDisplayValuesChange:p,emptyOptions:m,notFoundContent:h=`Not Found`,onClear:g,maxCount:_,placeholder:v,mode:y,disabled:b,loading:x,getInputElement:S,getRawInputElement:w,open:T,defaultOpen:E,onPopupVisibleChange:D,activeValue:O,onActiveValueChange:k,activeDescendantId:A,searchValue:j,autoClearSearchValue:M,onSearch:N,onSearchSplit:P,tokenSeparators:F,allowClear:I,prefix:L,suffix:R,suffixIcon:z,clearIcon:B,OptionList:V,animation:H,transitionName:U,popupStyle:W,popupClassName:ee,popupMatchSelectWidth:te,popupRender:ne,popupAlign:re,placement:ie,builtinPlacements:ae,getPopupContainer:G,showAction:oe=[],onFocus:K,onBlur:se,onKeyUp:ce,onKeyDown:le,onMouseDown:ue,components:de,...fe}=e,pe=Dy(y),me=C.useRef(null),he=C.useRef(null),ge=C.useRef(null),[_e,ve]=C.useState(!1);C.useImperativeHandle(t,()=>({focus:me.current?.focus,blur:me.current?.blur,scrollTo:e=>ge.current?.scrollTo(e),nativeElement:Ar(me.current)}));let ye=wre(de,S,w),be=C.useMemo(()=>{if(y!==`combobox`)return j;let e=f[0]?.value;return typeof e==`string`||typeof e==`number`?String(e):``},[j,y,f]),xe=y===`combobox`&&typeof S==`function`&&S()||null,Se=!h&&m,[Ce,we,Te,Ee]=hre(E||!1,T,D,e=>b||Se?!1:e),De=C.useMemo(()=>(F||[]).some(e=>[` + ${t}-confirm-body-wrapper`]:{display:`flex`,flexDirection:`column`,flex:`auto`},[`${t}-confirm-body`]:{marginBottom:`auto`}}}]},Ene=e=>{let{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:`rtl`,[`${t}-confirm-body`]:{direction:`rtl`}}}}},Dne=e=>{let{componentCls:t}=e,n=pv(e),r={...n};delete r.xs;let i=`--${t.replace(`.`,``)}-`,a=Object.keys(r).map(e=>({[`@media (min-width: ${J(r[e])})`]:{width:`var(${i}${e}-width)`}}));return{[`${t}-root`]:{[t]:[].concat(Qr(Object.keys(n).map((e,t)=>{let r=Object.keys(n)[t-1];return r?{[`${i}${e}-width`]:`var(${i}${r}-width)`}:null})),[{width:`var(${i}xs-width)`}],Qr(a))}}},hv=e=>{let t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return _s(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},gv=e=>({footerBg:`transparent`,headerBg:`transparent`,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${J(e.paddingMD)} ${J(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${J(e.padding)} ${J(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:`none`,headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${J(e.paddingXS)} ${J(e.padding)}`:0,footerBorderTop:e.wireframe?`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:`none`,footerBorderRadius:e.wireframe?`0 0 ${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${J(e.padding*2)} ${J(e.padding*2)} ${J(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM,mask:!0}),_v=il(`Modal`,e=>{let t=hv(e);return[Tne(t),Ene(t),wne(t),gh(t,`zoom`),Dne(t)]},gv,{unitless:{titleLineHeight:!0}}),vv;Xte()&&document.documentElement.addEventListener(`click`,e=>{vv={x:e.pageX,y:e.pageY},setTimeout(()=>{vv=null},100)},!0);var yv=e=>{let{prefixCls:t,className:n,rootClassName:r,open:i,wrapClassName:a,centered:o,getContainer:s,style:c,width:l=520,footer:u,classNames:d,styles:f,children:p,loading:m,confirmLoading:h,zIndex:g,mousePosition:_,onOk:v,onCancel:y,okButtonProps:b,cancelButtonProps:x,destroyOnHidden:S,destroyOnClose:w,panelRef:T=null,closable:E,mask:D,modalRender:O,maskClosable:k,focusTriggerAfterClose:A,focusable:j,...M}=e,{getPopupContainer:N,getPrefixCls:P,direction:F,className:I,style:L,classNames:R,styles:z,centered:B,cancelButtonProps:V,okButtonProps:H,mask:U}=ui(`modal`),{modal:W}=C.useContext(si),[ee,te]=C.useMemo(()=>typeof E==`boolean`?[void 0,void 0]:[E?.afterClose,E?.onClose],[E]),ne=P(`modal`,t),re=P(),[ie,ae,G]=kd(D,U,ne,k),oe=q_(j,ie,A),K=e=>{h||(y?.(e),te?.())},se=e=>{v?.(e),te?.()},ce=xf(ne),[le,ue]=_v(ne,ce),de=q(a,{[`${ne}-centered`]:o??B,[`${ne}-wrap-rtl`]:F===`rtl`}),fe=u!==null&&!m?C.createElement(dv,{...e,okButtonProps:{...H,...b},onOk:se,cancelButtonProps:{...V,...x},onCancel:K}):null,[pe,me,he,ge]=Ed(bd(e),bd(W),{closable:!0,closeIcon:C.createElement(zl,{className:`${ne}-close-icon`}),closeIconRender:e=>uv(ne,e)}),_e=pe?{disabled:he,closeIcon:me,afterClose:ee,...ge}:!1,ve=O?e=>C.createElement(`div`,{className:`${ne}-render`},O(e)):void 0,ye=er(T,sv(`.${ne}-${O?`render`:`container`}`)),[be,xe]=Xd(`Modal`,g),Se={...e,width:l,panelRef:T,focusTriggerAfterClose:oe.focusTriggerAfterClose,focusable:oe,mask:ie,maskClosable:G,zIndex:be},[Ce,we]=Id([R,d,ae],[z,f],{props:Se}),[Te,Ee]=C.useMemo(()=>gd(l)?[void 0,l]:[l,void 0],[l]),De=C.useMemo(()=>{let e={};return Ee&&Object.keys(Ee).forEach(t=>{let n=Ee[t];pd(n)&&(e[`--${ne}-${t}-width`]=md(n)?`${n}px`:n)}),e},[ne,Ee]);return C.createElement(U_,{form:!0,space:!0},C.createElement(Wd.Provider,{value:xe},C.createElement(yte,{width:Te,...M,zIndex:be,getContainer:s===void 0?N:s,prefixCls:ne,rootClassName:q(le,r,ue,ce,Ce.root),rootStyle:we.root,footer:fe,visible:i,mousePosition:_??vv,onClose:K,closable:_e,closeIcon:me,transitionName:Nm(re,`zoom`,e.transitionName),maskTransitionName:Nm(re,`fade`,e.maskTransitionName),mask:ie,maskClosable:G,className:q(le,n,I),style:{...L,...c,...De},classNames:{...Ce,wrapper:q(Ce.wrapper,de)},styles:we,panelRef:ye,destroyOnHidden:S??w,modalRender:ve,focusTriggerAfterClose:oe.focusTriggerAfterClose,focusTrap:oe.trap},m?C.createElement(av,{active:!0,title:!1,paragraph:{rows:4},className:`${ne}-body-skeleton`}):p)))},One=e=>{let{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:i,fontSize:a,lineHeight:o,modalTitleHeight:s,fontHeight:c,confirmBodyPadding:l}=e,u=`${t}-confirm`;return{[u]:{"&-rtl":{direction:`rtl`},[`${e.antCls}-modal-header`]:{display:`none`},[`${u}-body-wrapper`]:{...Zc()},[`&${t} ${t}-body`]:{padding:l},[`${u}-body`]:{display:`flex`,flexWrap:`nowrap`,alignItems:`start`,[`> ${e.iconCls}`]:{flex:`none`,fontSize:i,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(c).sub(i).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(s).sub(i).equal()).div(2).equal()}},[`${u}-paragraph`]:{display:`flex`,flexDirection:`column`,flex:`auto`,rowGap:e.marginXS,maxWidth:`calc(100% - ${J(e.marginSM)})`},[`${u}-body-no-icon ${u}-paragraph`]:{maxWidth:`100%`},[`${e.iconCls} + ${u}-paragraph`]:{maxWidth:`calc(100% - ${J(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${u}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${u}-container`]:{color:e.colorText,fontSize:a,lineHeight:o},[`${u}-btns`]:{textAlign:`end`,marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${u}-error ${u}-body > ${e.iconCls}`]:{color:e.colorError},[`${u}-warning ${u}-body > ${e.iconCls}, + ${u}-confirm ${u}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${u}-info ${u}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${u}-success ${u}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},kne=ol([`Modal`,`confirm`],e=>One(hv(e)),gv,{order:-1e3}),bv=e=>{let{prefixCls:t,icon:n,okText:r,cancelText:i,confirmPrefixCls:a,type:o,okCancel:s,footer:c,locale:l,autoFocusButton:u,focusable:d,...f}=e,p=n;if(!n&&n!==null)switch(o){case`info`:p=C.createElement(Gl,null);break;case`success`:p=C.createElement(Nl,null);break;case`error`:p=C.createElement(Il,null);break;default:p=C.createElement(Hl,null)}let m=s??o===`confirm`,h=C.useMemo(()=>{let e=d?.autoFocusButton||u;return e||e===null?e:`ok`},[u,d?.autoFocusButton]),[g]=ld(`Modal`),_=l||g,v=r||(m?_?.okText:_?.justOkText),y=i||_?.cancelText,{closable:b}=f,{onClose:x}=gd(b)?b:{},S=C.useMemo(()=>({autoFocusButton:h,cancelTextLocale:y,okTextLocale:v,mergedOkCancel:m,onClose:x,...f}),[h,y,v,m,x,f]),w=C.createElement(C.Fragment,null,C.createElement(ag,null),C.createElement(og,null)),T=pd(e.title)&&e.title!==``,E=pd(p),D=`${a}-body`;return C.createElement(`div`,{className:`${a}-body-wrapper`},C.createElement(`div`,{className:q(D,{[`${D}-has-title`]:T,[`${D}-no-icon`]:!E})},p,C.createElement(`div`,{className:`${a}-paragraph`},T&&C.createElement(`span`,{className:`${a}-title`},e.title),C.createElement(`div`,{className:`${a}-content`},e.content))),c===void 0||typeof c==`function`?C.createElement(ig,{value:S},C.createElement(`div`,{className:`${a}-btns`},typeof c==`function`?c(w,{OkBtn:og,CancelBtn:ag}):w)):c,C.createElement(kne,{prefixCls:t}))},Ane=e=>{let{close:t,zIndex:n,maskStyle:r,direction:i,prefixCls:a,wrapClassName:o,rootPrefixCls:s,bodyStyle:c,closable:l=!1,onConfirm:u,styles:d,title:f,mask:p,maskClosable:m,okButtonProps:h,cancelButtonProps:g}=e,{cancelButtonProps:_,okButtonProps:v}=ui(`modal`),y=`${a}-confirm`,b=e.width||416,x=e.style||{},S=q(y,`${y}-${e.type}`,{[`${y}-rtl`]:i===`rtl`},e.className),w=C.useMemo(()=>{let e=Od(p,m);return e.closable??=!1,e},[p,m]),[,T]=qc(),E=C.useMemo(()=>n===void 0?T.zIndexPopupBase+Kd:n,[n,T]);return C.createElement(yv,{...e,className:S,wrapClassName:q({[`${y}-centered`]:!!e.centered},o),onCancel:()=>{t?.({triggerCancel:!0}),u?.(!1)},title:f,footer:null,transitionName:Nm(s||``,`zoom`,e.transitionName),maskTransitionName:Nm(s||``,`fade`,e.maskTransitionName),mask:w,style:x,styles:{body:c,mask:r,...d},width:b,zIndex:E,closable:l},C.createElement(bv,{...e,confirmPrefixCls:y,okButtonProps:{...v,...h},cancelButtonProps:{..._,...g}}))},xv=e=>{let{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:i}=e;return C.createElement($p,{prefixCls:t,iconPrefixCls:n,direction:r,theme:i},C.createElement(Ane,{...e}))},Sv=[],Cv=``;function wv(){return Cv}var jne=e=>{let{prefixCls:t,getContainer:n,direction:r}=e,i=sd(),a=(0,C.useContext)(si),o=wv()||a.getPrefixCls(),s=t||`${o}-modal`,c=n;return c===!1&&(c=void 0),C.createElement(xv,{...e,rootPrefixCls:o,prefixCls:s,iconPrefixCls:a.iconPrefixCls,theme:a.theme,direction:r??a.direction,locale:a.locale?.Modal??i,getContainer:c})};function Tv(e){let t=Qp(),n=document.createDocumentFragment(),r={...e,close:s,open:!0},i;function a(...t){t.some(e=>e?.triggerCancel)&&e.onCancel?.(()=>{},...t.slice(1));for(let e=0;e{})}let o=e=>{clearTimeout(i),i=setTimeout(()=>{let r=t.getPrefixCls(void 0,wv()),i=t.getIconPrefixCls(),a=t.getTheme(),o=C.createElement(jne,{...e});Dm(C.createElement($p,{prefixCls:r,iconPrefixCls:i,theme:a},typeof t.holderRender==`function`?t.holderRender(o):o),n)})};function s(...t){r={...r,open:!1,afterClose:()=>{typeof e.afterClose==`function`&&e.afterClose(),a.apply(this,t)}},o(r)}function c(e){r=typeof e==`function`?e(r):{...r,...e},o(r)}return o(r),Sv.push(s),{destroy:s,update:c}}function Ev(e){return{...e,type:`warning`}}function Dv(e){return{...e,type:`info`}}function Ov(e){return{...e,type:`success`}}function kv(e){return{...e,type:`error`}}function Av(e){return{...e,type:`confirm`}}function Mne({rootPrefixCls:e}){Cv=e}var Nne=C.forwardRef((e,t)=>{let{afterClose:n,config:r,...i}=e,[a,o]=C.useState(!0),[s,c]=C.useState(r),{direction:l,getPrefixCls:u}=C.useContext(si),d=u(`modal`),f=u(),p=()=>{n(),s.afterClose?.()},m=(...e)=>{o(!1),e.some(e=>e?.triggerCancel)&&s.onCancel?.(()=>{},...e.slice(1))};C.useImperativeHandle(t,()=>({destroy:m,update:e=>{c(t=>{let n=typeof e==`function`?e(t):e;return{...t,...n}})}}));let h=s.okCancel??s.type===`confirm`,[g]=ld(`Modal`,nd.Modal);return C.createElement(xv,{prefixCls:d,rootPrefixCls:f,...s,close:m,open:a,afterClose:p,okText:s.okText||(h?g?.okText:g?.justOkText),direction:s.direction||l,cancelText:s.cancelText||g?.cancelText,...i})}),jv=0,Pne=C.memo(C.forwardRef((e,t)=>{let[n,r]=Bd();return C.useImperativeHandle(t,()=>({patchElement:r}),[r]),C.createElement(C.Fragment,null,n)}));function Mv(){let e=C.useRef(null),[t,n]=C.useState([]);C.useEffect(()=>{t.length&&(Qr(t).forEach(e=>{e()}),n([]))},[t]);let r=C.useCallback(t=>function(r){jv+=1;let i=C.createRef(),a,o=new Promise(e=>{a=e}),s=!1,c,l=C.createElement(Nne,{key:`modal-${jv}`,config:t(r),ref:i,afterClose:()=>{c?.()},isSilent:()=>s,onConfirm:e=>{a(e)}});return c=e.current?.patchElement(l),c&&Sv.push(c),{destroy:()=>{function e(){i.current?.destroy()}i.current?e():n(t=>[].concat(Qr(t),[e]))},update:e=>{function t(){i.current?.update(e)}i.current?t():n(e=>[].concat(Qr(e),[t]))},then:e=>(s=!0,o.then(e))}},[]);return[C.useMemo(()=>({info:r(Dv),success:r(Ov),error:r(kv),warning:r(Ev),confirm:r(Av)}),[r]),C.createElement(Pne,{key:`modal-holder`,ref:e})]}var Fne=e=>{let{componentCls:t,notificationMarginEdge:n,animationMaxHeight:r}=e,i=`${t}-notice`,a=new Ro(`antNotificationFadeIn`,{"0%":{transform:`translate3d(100%, 0, 0)`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,opacity:1}}),o=new Ro(`antNotificationTopFadeIn`,{"0%":{top:-r,opacity:0},"100%":{top:0,opacity:1}}),s=new Ro(`antNotificationBottomFadeIn`,{"0%":{bottom:e.calc(r).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),c=new Ro(`antNotificationLeftFadeIn`,{"0%":{transform:`translate3d(-100%, 0, 0)`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,opacity:1}});return{[t]:{[`&${t}-top, &${t}-bottom`]:{marginInline:0,[i]:{marginInline:`auto auto`}},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:s}},[`&${t}-topRight, &${t}-bottomRight`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[i]:{marginInlineEnd:`auto`,marginInlineStart:0},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:c}}}}},Ine=[`top`,`topLeft`,`topRight`,`bottom`,`bottomLeft`,`bottomRight`],Lne={topLeft:`left`,topRight:`right`,bottomLeft:`left`,bottomRight:`right`,top:`left`,bottom:`left`},Rne=(e,t)=>{let{componentCls:n}=e;return{[`${n}-${t}`]:{[`&${n}-stack > ${n}-notice-wrapper`]:{[t.startsWith(`top`)?`top`:`bottom`]:0,[Lne[t]]:{value:0,_skip_check_:!0}}}}},zne=e=>{let t={};for(let n=1;n ${e.componentCls}-notice`]:{opacity:0,transition:`opacity ${e.motionDurationMid}`}};return{[`&:not(:nth-last-child(-n+${e.notificationStackLayer}))`]:{opacity:0,overflow:`hidden`,color:`transparent`,pointerEvents:`none`},...t}},Bne=e=>{let t={};for(let n=1;n{let{componentCls:t}=e;return{[`${t}-stack`]:{[`& > ${t}-notice-wrapper`]:{transition:`transform ${e.motionDurationSlow}, backdrop-filter 0s`,willChange:`transform, opacity`,position:`absolute`,...zne(e)}},[`${t}-stack:not(${t}-stack-expanded)`]:{[`& > ${t}-notice-wrapper`]:{...Bne(e)}},[`${t}-stack${t}-stack-expanded`]:{[`& > ${t}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:`unset`,color:`inherit`,pointerEvents:`auto`,[`& > ${e.componentCls}-notice`]:{opacity:1}},"&:after":{content:`""`,position:`absolute`,height:e.margin,width:`100%`,insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:`transparent`,pointerEvents:`auto`}}},...Ine.map(t=>Rne(e,t)).reduce((e,t)=>({...e,...t}),{})}},Hne=e=>{let{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:i,notificationMarginBottom:a,borderRadiusLG:o,colorSuccess:s,colorInfo:c,colorWarning:l,colorError:u,colorTextHeading:d,notificationBg:f,notificationPadding:p,notificationMarginEdge:m,progressBg:h,notificationProgressHeight:g,fontSize:_,lineHeight:v,width:y,notificationIconSize:b,colorText:x,colorSuccessBg:S,colorErrorBg:C,colorInfoBg:w,colorWarningBg:T,motionDurationMid:E}=e,D=`${n}-notice`;return{position:`relative`,marginBottom:a,marginInlineStart:`auto`,background:f,borderRadius:o,boxShadow:r,[D]:{padding:p,width:y,maxWidth:`calc(100vw - ${J(e.calc(m).mul(2).equal())})`,lineHeight:v,wordWrap:`break-word`,borderRadius:o,overflow:`hidden`,"&-success":S?{background:S}:{},"&-error":C?{background:C}:{},"&-info":w?{background:w}:{},"&-warning":T?{background:T}:{}},[`${D}-title`]:{marginBottom:e.marginXS,color:d,fontSize:i,lineHeight:e.lineHeightLG},[`${D}-description`]:{fontSize:_,color:x,marginTop:e.marginXS,"&:first-child":{marginTop:0,marginInlineEnd:e.marginSM}},[`${D}-closable ${D}-title`]:{paddingInlineEnd:e.paddingLG},[`${D}-with-icon ${D}-title`]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(b).equal(),fontSize:i},[`${D}-with-icon ${D}-description`]:{marginInlineStart:e.calc(e.marginSM).add(b).equal(),fontSize:_},[`${D}-icon`]:{position:`absolute`,fontSize:b,lineHeight:1,[`&-success${t}`]:{color:s},[`&-info${t}`]:{color:c},[`&-warning${t}`]:{color:l},[`&-error${t}`]:{color:u}},[`${D}-close`]:{position:`absolute`,top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:`none`,width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:[`color`,`background-color`].map(e=>`${e} ${E}`).join(`, `),display:`flex`,alignItems:`center`,justifyContent:`center`,background:`none`,border:`none`,"&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},...$c(e)},[`${D}-progress`]:{position:`absolute`,display:`block`,appearance:`none`,inlineSize:`calc(100% - ${J(o)} * 2)`,left:{_skip_check_:!0,value:o},right:{_skip_check_:!0,value:o},bottom:0,blockSize:g,border:0,"&, &::-webkit-progress-bar":{borderRadius:o,backgroundColor:`rgba(0, 0, 0, 0.04)`},"&::-moz-progress-bar":{background:h},"&::-webkit-progress-value":{borderRadius:o,background:h}},[`${D}-actions`]:{float:`right`,marginTop:e.marginSM}}},Une=e=>{let{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:r,motionDurationMid:i,motionEaseInOut:a}=e,o=`${t}-notice`,s=new Ro(`antNotificationFadeOut`,{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:{...Yc(e),position:`fixed`,zIndex:e.zIndexPopup,marginRight:{value:r,_skip_check_:!0},[`${t}-hook-holder`]:{position:`relative`},[`${t}-fade-appear-prepare`]:{opacity:`0 !important`},[`${t}-fade-enter, ${t}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:a,animationFillMode:`both`,opacity:0,animationPlayState:`paused`},[`${t}-fade-leave`]:{animationTimingFunction:a,animationFillMode:`both`,animationDuration:i,animationPlayState:`paused`},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationPlayState:`running`},[`${t}-fade-leave${t}-fade-leave-active`]:{animationName:s,animationPlayState:`running`},"&-rtl":{direction:`rtl`,[`${o}-actions`]:{float:`left`}}}},{[t]:{[`${o}-wrapper`]:Hne(e)}}]},Wne=e=>({zIndexPopup:e.zIndexPopupBase+Kd+50,width:384,progressBg:`linear-gradient(90deg, ${e.colorPrimaryBorderHover}, ${e.colorPrimary})`,colorSuccessBg:void 0,colorErrorBg:void 0,colorInfoBg:void 0,colorWarningBg:void 0}),Gne=e=>{let t=e.paddingMD,n=e.paddingLG;return _s(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${J(e.paddingMD)} ${J(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2})},Kne=il(`Notification`,e=>{let t=Gne(e);return[Une(t),Fne(t),Vne(t)]},Wne);function Nv(e,t){return t===null||t===!1?null:t||C.createElement(zl,{className:`${e}-close-icon`})}var qne={success:Nl,info:Gl,error:Il,warning:Hl},Jne=e=>{let{prefixCls:t,icon:n,type:r,title:i,description:a,actions:o,role:s=`alert`,styles:c,classNames:l}=e,u=null;return n?u=C.createElement(`span`,{className:q(`${t}-icon`,l.icon),style:c.icon},n):r&&(u=C.createElement(qne[r]||null,{className:q(`${t}-icon`,l.icon,`${t}-icon-${r}`),style:c.icon})),C.createElement(`div`,{className:q({[`${t}-with-icon`]:u}),role:s},u,i&&C.createElement(`div`,{className:q(`${t}-title`,l.title),style:c.title},i),a&&C.createElement(`div`,{className:q(`${t}-description`,l.description),style:c.description},a),o&&C.createElement(`div`,{className:q(`${t}-actions`,l.actions),style:c.actions},o))};function Yne(e,t,n){let r;switch(e){case`top`:r={left:`50%`,transform:`translateX(-50%)`,right:`auto`,top:t,bottom:`auto`};break;case`topLeft`:r={left:0,top:t,bottom:`auto`};break;case`topRight`:r={right:0,top:t,bottom:`auto`};break;case`bottom`:r={left:`50%`,transform:`translateX(-50%)`,right:`auto`,top:`auto`,bottom:n};break;case`bottomLeft`:r={left:0,top:`auto`,bottom:n};break;default:r={right:0,top:`auto`,bottom:n};break}return r}function Xne(e){return{motionName:`${e}-fade`}}function Zne(e,t,n){return e===void 0?t?.closeIcon===void 0?n?.closeIcon:t.closeIcon:e}var Pv=24,Qne=4.5,$ne=`topRight`,ere=({children:e,prefixCls:t})=>{let n=xf(t),[r,i]=Kne(t,n);return C.createElement(im,{classNames:{list:q(r,i,n)}},e)},tre=(e,{prefixCls:t,key:n})=>C.createElement(ere,{prefixCls:t,key:n},e),nre=C.forwardRef((e,t)=>{let{top:n,bottom:r,prefixCls:i,getContainer:a,maxCount:o,rtl:s,onAllRemoved:c,stack:l,duration:u=Qne,pauseOnHover:d=!0,showProgress:f}=e,{getPrefixCls:p,getPopupContainer:m,direction:h}=ui(`notification`),{notification:g}=(0,C.useContext)(si),[,_]=qc(),v=i||p(`notification`),y=(0,C.useMemo)(()=>md(u)&&u>0?u:!1,[u]),[b,x]=um({prefixCls:v,style:e=>Yne(e,n??Pv,r??Pv),className:()=>q({[`${v}-rtl`]:s??h===`rtl`}),motion:()=>Xne(v),closable:{closeIcon:Nv(v)},duration:y,getContainer:()=>a?.()||m?.()||document.body,maxCount:o,pauseOnHover:d,showProgress:f,onAllRemoved:c,renderNotifications:tre,stack:l===!1?!1:{threshold:gd(l)?l?.threshold:void 0,offset:8,gap:_.margin}}),[S,w]=Id([g?.classNames,e?.classNames],[g?.styles,e?.styles],{props:e});return C.useImperativeHandle(t,()=>({...b,prefixCls:v,notification:g,classNames:S,styles:w})),x});function rre(e){let t=C.useRef(null);Or(`Notification`);let{notification:n}=C.useContext(si);return[C.useMemo(()=>{let r=r=>{if(!t.current)return;let{open:i,prefixCls:a,notification:o,classNames:s,styles:c}=t.current,l=o?.className||{},u=o?.style||{},d=`${a}-notice`,{title:f,message:p,description:m,icon:h,type:g,btn:_,actions:v,className:y,style:b,role:x=`alert`,closeIcon:S,closable:w,classNames:T={},styles:E={},...D}=r,O=f??p,k=v??_,A=Nv(d,Zne(S,e,o)),[j,M,,N]=Td(bd({...e||{},...r}),bd(n),{closable:!0,closeIcon:A}),P=j?{onClose:gd(w)?w.onClose:void 0,closeIcon:M,...N}:!1,F=Fd(T,{props:r}),I=Fd(E,{props:r}),L=Ad(void 0,s,F),R=Md(c,I);return i({placement:e?.placement??$ne,...D,content:C.createElement(Jne,{prefixCls:d,icon:h,type:g,title:O,description:m,actions:k,role:x,classNames:L,styles:R}),className:q({[`${d}-${g}`]:g},y,l,L.root),style:{...u,...R.root,...b},closable:P})},i={open:r,destroy:e=>{e===void 0?t.current?.destroy():t.current?.close(e)}};return[`success`,`info`,`warning`,`error`].forEach(e=>{i[e]=t=>r({...t,type:e})}),i},[e,n]),C.createElement(nre,{key:`notification-holder`,...e,ref:t})]}function ire(e){return rre(e)}var Fv=C.createContext({}),Iv=C.createContext({message:{},notification:{},modal:{}}),are=il(`App`,e=>{let{componentCls:t,colorText:n,fontSize:r,lineHeight:i,fontFamily:a}=e;return{[t]:{color:n,fontSize:r,lineHeight:i,fontFamily:a,[`&${t}-rtl`]:{direction:`rtl`}}}},()=>({})),ore=e=>{let{prefixCls:t,children:n,className:r,rootClassName:i,message:a,notification:o,style:s,component:c=`div`}=e,{direction:l,getPrefixCls:u,className:d,style:f}=ui(`app`),p=u(`app`,t),[m,h]=are(p),g=q(m,p,r,i,h,{[`${p}-rtl`]:l===`rtl`}),_=(0,C.useContext)(Fv),v=C.useMemo(()=>({message:{..._.message,...a},notification:{..._.notification,...o}}),[a,o,_.message,_.notification]),[y,b]=Tm(v.message),[x,S]=ire(v.notification),[w,T]=Mv(),E=C.useMemo(()=>({message:y,notification:x,modal:w}),[y,x,w]);Or(`App`)(!(h&&c===!1),`usage`,"When using cssVar, ensure `component` is assigned a valid React component string.");let D=c===!1?C.Fragment:c,O={className:q(d,g),style:{...f,...s}};return C.createElement(Iv.Provider,{value:E},C.createElement(Fv.Provider,{value:v},C.createElement(D,{...c===!1?void 0:O},T,b,S,n)))},sre=()=>C.useContext(Iv),Lv=ore;Lv.useApp=sre;function Rv(e){return t=>C.createElement($p,{theme:{token:{motion:!1,zIndexPopupBase:0}}},C.createElement(e,{...t}))}var zv=(e,t,n,r,i)=>Rv(a=>{let{prefixCls:o,style:s}=a,c=C.useRef(null),[l,u]=C.useState(0),[d,f]=C.useState(0),[p,m]=Wn(!1,a.open),{getPrefixCls:h}=C.useContext(si),g=h(r||`select`,o);C.useEffect(()=>{if(m(!0),typeof ResizeObserver<`u`){let e=new ResizeObserver(e=>{let t=e[0].target;u(t.offsetHeight+8),f(t.offsetWidth)}),t=setInterval(()=>{let n=i?`.${i(g)}`:`.${g}-dropdown`,r=c.current?.querySelector(n);r&&(clearInterval(t),e.observe(r))},10);return()=>{clearInterval(t),e.disconnect()}}},[g]);let _={...a,style:{...s,margin:0},open:p,getPopupContainer:()=>c.current};n&&(_=n(_)),t&&(_={..._,[t]:{overflow:{adjustX:!1,adjustY:!1}}});let v={paddingBottom:l,position:`relative`,minWidth:d};return C.createElement(`div`,{ref:c,style:v},C.createElement(e,{..._}))}),cre=(e,t,n,r,i=!1,a,o)=>{let s=(0,C.useMemo)(()=>typeof n==`boolean`?{allowClear:n}:n&&typeof n==`object`?n:{allowClear:!1},[n]);return(0,C.useMemo)(()=>{let e=!i&&s.allowClear!==!1&&(t.length||a)&&!(o===`combobox`&&a===``);return{allowClear:e,clearIcon:e?s.clearIcon||r||`×`:null}},[s,r,i,t.length,a,o])},Bv=C.createContext(null);function Vv(){return C.useContext(Bv)}function lre(e=250){let t=C.useRef(null),n=C.useRef(null);C.useEffect(()=>()=>{window.clearTimeout(n.current)},[]);function r(r){(r||t.current===null)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout(()=>{t.current=null},e)}return[()=>t.current,r]}function Hv(e,t){return e.filter(e=>e).some(e=>e.contains(t)||e===t)}function ure(e,t,n,r){let i=Rn(i=>{if(r)return;let a=i.target;a.shadowRoot&&i.composed&&(a=i.composedPath()[0]||a),i._ori_target&&(a=i._ori_target),t&&!Hv(e(),a)&&n(!1)});C.useEffect(()=>(window.addEventListener(`mousedown`,i),()=>window.removeEventListener(`mousedown`,i)),[i])}function Uv(){return Uv=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let t=e===!0?0:1;return{bottomLeft:{points:[`tl`,`bl`],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:`scroll`},bottomRight:{points:[`tr`,`br`],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:`scroll`},topLeft:{points:[`bl`,`tl`],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:`scroll`},topRight:{points:[`br`,`tr`],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:`scroll`}}},fre=C.forwardRef((e,t)=>{let{prefixCls:n,disabled:r,visible:i,children:a,popupElement:o,animation:s,transitionName:c,popupStyle:l,popupClassName:u,direction:d=`ltr`,placement:f,builtinPlacements:p,popupMatchSelectWidth:m,popupRender:h,popupAlign:g,getPopupContainer:_,empty:v,onPopupVisibleChange:y,onPopupMouseEnter:b,onPopupMouseDown:x,onPopupBlur:S,...w}=e,T=`${n}-dropdown`,E=o;h&&(E=h(o));let D=C.useMemo(()=>p||dre(m),[p,m]),O=s?`${T}-${s}`:c,k=typeof m==`number`,A=C.useMemo(()=>k?null:m===!1?`minWidth`:`width`,[m,k]),j=l;k&&(j={...l,width:m});let M=C.useRef(null);return C.useImperativeHandle(t,()=>({getPopupElement:()=>M.current?.popupElement})),C.createElement(Mp,Uv({},w,{showAction:y?[`click`]:[],hideAction:y?[`click`]:[],popupPlacement:f||(d===`rtl`?`bottomRight`:`bottomLeft`),builtinPlacements:D,prefixCls:T,popupMotion:{motionName:O},popup:C.createElement(`div`,{onMouseEnter:b,onMouseDown:x,onBlur:S},E),ref:M,stretch:A,popupAlign:g,popupVisible:i,getPopupContainer:_,popupClassName:q(u,{[`${T}-empty`]:v}),popupStyle:j,onPopupVisibleChange:y}),a)});function Wv(e,t){let{key:n}=e,r;return`value`in e&&({value:r}=e),n??(r===void 0?`rc-index-key-${t}`:r)}function Gv(e){return e!==void 0&&!Number.isNaN(e)}function Kv(e,t){let{label:n,value:r,options:i,groupLabel:a}=e||{},o=n||(t?`children`:`label`);return{label:o,value:r||`value`,options:i||`options`,groupLabel:a||o}}function pre(e,{fieldNames:t,childrenAsData:n}={}){let r=[],{label:i,value:a,options:o,groupLabel:s}=Kv(t,!1);function c(e,t){Array.isArray(e)&&e.forEach(e=>{if(t||!(o in e)){let n=e[a];r.push({key:Wv(e,r.length),groupOption:t,data:e,label:e[i],value:n})}else{let t=e[s];t===void 0&&n&&(t=e.label),r.push({key:Wv(e,r.length),group:!0,data:e,label:t}),c(e[o],!0)}})}return c(e,!1),r}function qv(e){let t={...e};return`props`in t||Object.defineProperty(t,`props`,{get(){return xr(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var mre=(e,t,n)=>{if(!t||!t.length)return null;let r=!1,i=(e,[t,...n])=>{if(!t)return[e];let a=e.split(t);return r||=a.length>1,a.reduce((e,t)=>[...e,...i(t,n)],[]).filter(Boolean)},a=i(e,t);return r?n===void 0?a:a.slice(0,n):null};function hre(e){let{visible:t,values:n}=e;return t?C.createElement(`span`,{"aria-live":`polite`,style:{width:0,height:0,position:`absolute`,overflow:`hidden`,opacity:0}},`${n.slice(0,50).map(({label:e,value:t})=>[`number`,`string`].includes(typeof e)?e:t).join(`, `)}`,n.length>50?`, ...`:null):null}var gre=e=>{let t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(null)},Jv=(e,t=1)=>{if(t<=0){e();return}gre(()=>{Jv(e,t-1)})};function _re(e,t,n,r){let[i,a]=(0,C.useState)(!1);(0,C.useEffect)(()=>{a(!0)},[]);let[o,s]=Wn(e,t),[c,l]=(0,C.useState)(!1),u=i?o:!1,d=r(u),f=(0,C.useRef)(0),p=Rn(e=>{n&&d!==e&&n(e),s(e)});return[u,d,Rn((e,t={})=>{let{cancelFun:n}=t;f.current+=1;let r=f.current,i=typeof e==`boolean`?e:!d;l(!i);function a(){r===f.current&&!n?.()&&(p(i),l(!1))}i?a():Jv(()=>{a()})}),c]}function Yv(e){let{children:t,...n}=e;return t?C.createElement(`div`,n,t):null}var Xv=C.createContext(null);function Zv(){return C.useContext(Xv)}var Qv=C.forwardRef((e,t)=>{let{onChange:n,onKeyDown:r,onBlur:i,style:a,syncWidth:o,value:s,className:c,autoComplete:l,...u}=e,{prefixCls:d,mode:f,onSearch:p,onSearchSubmit:m,onInputBlur:h,autoFocus:g,tokenWithEnter:_,placeholder:v,components:{input:y=`input`}}=Zv(),{id:b,classNames:x,styles:S,open:w,activeDescendantId:T,role:E,disabled:D}=Vv()||{},O=q(`${d}-input`,x?.input,c),k=C.useRef(!1),A=C.useRef(null),j=C.useRef(null);C.useImperativeHandle(t,()=>j.current);let M=e=>{let{value:t}=e.target;if(_&&A.current&&/[\r\n]/.test(A.current)){let e=A.current.replace(/[\r\n]+$/,``).replace(/\r\n/g,` `).replace(/[\r\n]/g,` `);t=t.replace(e,A.current)}A.current=null,p&&p(t,!0,k.current),n?.(e)},N=e=>{let{key:t}=e,{value:n}=e.currentTarget;t===`Enter`&&f===`tags`&&!w&&!k.current&&m&&m(n),r?.(e)},P=e=>{h?.(),i?.(e)},F=()=>{k.current=!0},I=e=>{if(k.current=!1,f!==`combobox`){let{value:t}=e.currentTarget;p?.(t,!0,!1)}},L=e=>{let{clipboardData:t}=e;A.current=t?.getData(`text`)||``},[R,z]=C.useState(void 0);Vn(()=>{let e=j.current;if(o&&e){e.style.width=`0px`;let t=e.scrollWidth;z(t),e.style.width=``}},[o,s]);let B={id:b,type:f===`combobox`?`text`:`search`,...u,ref:j,style:{...S?.input,...a,"--select-input-width":R},autoFocus:g,autoComplete:l||`off`,className:O,disabled:D,value:s||``,onChange:M,onKeyDown:N,onBlur:P,onPaste:L,onCompositionStart:F,onCompositionEnd:I,role:E||`combobox`,"aria-expanded":w||!1,"aria-haspopup":`listbox`,"aria-owns":w?`${b}_list`:void 0,"aria-autocomplete":`list`,"aria-controls":w?`${b}_list`:void 0,"aria-activedescendant":w?T:void 0};if(C.isValidElement(y)){let t=y.props||{},n={placeholder:e.placeholder||v,...B,...t};return Object.keys(t).forEach(e=>{let r=t[e];typeof r==`function`&&(n[e]=(...t)=>{r(...t),B[e]?.(...t)})}),n.ref=er(y.ref,B.ref),C.cloneElement(y,n)}let V=y;return C.createElement(V,B)});function $v(e){let{prefixCls:t,placeholder:n,displayValues:r}=Zv(),{classNames:i,styles:a}=Vv(),{show:o=!0}=e;return r.length?null:C.createElement(`div`,{className:q(`${t}-placeholder`,i?.placeholder),style:{visibility:o?`visible`:`hidden`,...a?.placeholder}},n)}var ey=C.createContext(null);function ty(e){return Array.isArray(e)?e:e===void 0?[]:[e]}typeof window<`u`&&window.document&&window.document.documentElement;function vre(e){return e!=null}function yre(e){return!e&&e!==0}function ny(e){return[`string`,`number`].includes(typeof e)}function ry(e){let t;return e&&(ny(e.title)?t=e.title.toString():ny(e.label)&&(t=e.label.toString())),t}function iy(){return iy=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,searchValue:r,activeValue:i,displayValues:a,maxLength:o,mode:s,components:c}=Zv(),{triggerOpen:l,title:u,showSearch:d,classNames:f,styles:p}=Vv(),m=C.useContext(ey),[h,g]=C.useState(!1),_=s===`combobox`,v=a[0],y=C.useMemo(()=>_&&i&&!h&&l?i:d?r:``,[_,i,h,l,r,d]),[b,x,S,w]=C.useMemo(()=>{let e,t,n;if(v&&m?.flattenOptions){let r=m.flattenOptions.find(e=>e.value===v.value);r?.data&&(e=r.data.className,t=r.data.style,n=ry(r.data))}return v&&!n&&(n=ry(v)),u!==void 0&&(n=u),[e,t,n,!!e||!!t]},[v,m?.flattenOptions,u]);C.useEffect(()=>{_&&g(!1)},[_,i]);let T=v&&v.label!==null&&v.label!==void 0&&String(v.label).trim()!==``,E=_&&c?.input?null:v?w?C.createElement(`div`,{className:q(`${n}-content-value`,b),style:{...y?{visibility:`hidden`}:{},...x},title:S},v.label):v.label:C.createElement($v,{show:!y});return C.createElement(`div`,{className:q(`${n}-content`,T&&`${n}-content-has-value`,y&&`${n}-content-has-search-value`,w&&`${n}-content-has-option-style`,f?.content),style:p?.content,title:w?void 0:S},E,C.createElement(Qv,iy({ref:t},e,{value:y,maxLength:s===`combobox`?o:void 0,onChange:t=>{g(!0),e.onChange?.(t)}})))}),ay=void 0;function xre(e,t){let{prefixCls:n,invalidate:r,item:i,renderItem:a,responsive:o,responsiveDisabled:s,registerSize:c,itemKey:l,className:u,style:d,children:f,display:p,order:m,component:h=`div`,...g}=e,_=o&&!p;function v(e){c(l,e)}C.useEffect(()=>()=>{v(null)},[]);let y=a&&i!==ay?a(i,{index:m}):f,b;r||(b={opacity:+!_,height:_?0:ay,overflowY:_?`hidden`:ay,order:o?m:ay,pointerEvents:_?`none`:ay,position:_?`absolute`:ay});let x={};_&&(x[`aria-hidden`]=!0);let S=C.createElement(h,wh({className:q(!r&&n,u),style:{...b,...d}},x,g,{ref:t}),y);return o&&(S=C.createElement(Gr,{onResize:({offsetWidth:e})=>{v(e)},disabled:s},S)),S}var oy=C.forwardRef(xre);function Sre(e){if(typeof MessageChannel>`u`)ii(e);else{let t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(void 0)}}function Cre(){let e=C.useRef(null);return t=>{e.current||(e.current=[],Sre(()=>{(0,Yf.unstable_batchedUpdates)(()=>{e.current.forEach(e=>{e()}),e.current=null})})),e.current.push(t)}}function sy(e,t){let[n,r]=C.useState(t);return[n,Rn(t=>{e(()=>{r(t)})})]}var cy=C.createContext(null),wre=C.forwardRef((e,t)=>{let n=C.useContext(cy);if(!n){let{component:n=`div`,...r}=e;return C.createElement(n,wh({},r,{ref:t}))}let{className:r,...i}=n,{className:a,...o}=e;return C.createElement(cy.Provider,{value:null},C.createElement(oy,wh({ref:t,className:q(r,a)},i,o)))}),ly=`responsive`,uy=`invalidate`;function Tre(e){return`+ ${e.length} ...`}function Ere(e,t){let{prefixCls:n=`rc-overflow`,data:r=[],renderItem:i,renderRawItem:a,itemKey:o,itemWidth:s=10,ssr:c,style:l,className:u,maxCount:d,renderRest:f,renderRawRest:p,prefix:m,suffix:h,component:g=`div`,itemComponent:_,onVisibleChange:v,...y}=e,b=c===`full`,x=Cre(),[S,w]=sy(x,null),T=S||0,[E,D]=sy(x,new Map),[O,k]=sy(x,0),[A,j]=sy(x,0),[M,N]=sy(x,0),[P,F]=sy(x,0),[I,L]=(0,C.useState)(null),[R,z]=(0,C.useState)(null),B=C.useMemo(()=>R===null&&b?2**53-1:R||0,[R,S]),[V,H]=(0,C.useState)(!1),U=`${n}-item`,W=Math.max(O,A),ee=d===ly,te=r.length&&ee,ne=d===uy,re=te||typeof d==`number`&&r.length>d,ie=(0,C.useMemo)(()=>{let e=r;return te?e=S===null&&b?r:r.slice(0,Math.min(r.length,T/s)):typeof d==`number`&&(e=r.slice(0,d)),e},[r,s,S,d,te]),ae=(0,C.useMemo)(()=>te?r.slice(B+1):r.slice(ie.length),[r,ie,te,B]),G=(0,C.useCallback)((e,t)=>typeof o==`function`?o(e):(o&&e?.[o])??t,[o]),oe=(0,C.useCallback)(i||(e=>e),[i]);function K(e,t,n){R===e&&(t===void 0||t===I)||(z(e),n||(H(e{let r=new Map(n);return t===null?r.delete(e):r.set(e,t),r})}function le(e,t){j(t),k(A)}function ue(e,t){N(t)}function de(e,t){F(t)}function fe(e){return E.get(G(ie[e],e))}Vn(()=>{if(T&&typeof W==`number`&&ie){let e=M+P,t=ie.length,n=t-1;if(!t){K(0,null);return}for(let r=0;rT){K(r-1,e-t-P+A);break}}h&&fe(0)+P>T&&L(null)}},[T,E,A,M,P,G,ie]);let pe=V&&!!ae.length,me={};I!==null&&te&&(me={position:`absolute`,top:0,insetInlineStart:I});let he={prefixCls:U,responsive:te,component:_,invalidate:ne},ge=a?(e,t)=>{let n=G(e,t);return C.createElement(cy.Provider,{key:n,value:{...he,order:t,item:e,itemKey:n,registerSize:ce,display:t<=B}},a(e,t))}:(e,t)=>{let n=G(e,t);return C.createElement(oy,wh({},he,{order:t,key:n,item:e,renderItem:oe,itemKey:n,registerSize:ce,display:t<=B}))},_e={order:pe?B:2**53-1,className:`${U}-rest`,registerSize:le,display:pe},ve=f||Tre,ye=p?C.createElement(cy.Provider,{value:{...he,..._e}},p(ae)):C.createElement(oy,wh({},he,_e),typeof ve==`function`?ve(ae):ve),be=C.createElement(g,wh({className:q(!ne&&n,u),style:l,ref:t},y),m&&C.createElement(oy,wh({},he,{responsive:ee,responsiveDisabled:!te,order:-1,className:`${U}-prefix`,registerSize:ue,display:!0}),m),ie.map(ge),re?ye:null,h&&C.createElement(oy,wh({},he,{responsive:ee,responsiveDisabled:!te,order:B,className:`${U}-suffix`,registerSize:de,display:!0,style:me}),h));return ee?C.createElement(Gr,{onResize:se,disabled:!te},be):be}var dy=C.forwardRef(Ere);dy.Item=wre,dy.RESPONSIVE=ly,dy.INVALIDATE=uy;var fy=dy,py=e=>{let{className:t,style:n,customizeIcon:r,customizeIconProps:i,children:a,onMouseDown:o,onClick:s}=e,c=typeof r==`function`?r(i):r;return C.createElement(`span`,{className:t,onMouseDown:e=>{e.preventDefault(),o?.(e)},style:{userSelect:`none`,WebkitUserSelect:`none`,...n},unselectable:`on`,onClick:s,"aria-hidden":!0},c===void 0?C.createElement(`span`,{className:q(t.split(/\s+/).map(e=>`${e}-icon`))},a):c)};function my(){return my=Object.assign?Object.assign.bind():function(e){for(var t=1;t{e.preventDefault(),e.stopPropagation()},Ore=C.forwardRef(function({inputProps:e},t){let{prefixCls:n,displayValues:r,searchValue:i,mode:a,onSelectorRemove:o,removeIcon:s}=Zv(),{disabled:c,showSearch:l,triggerOpen:u,rawOpen:d,toggleOpen:f,autoClearSearchValue:p,tagRender:m,maxTagPlaceholder:h,maxTagTextLength:g,maxTagCount:_,classNames:v,styles:y}=Vv(),b=`${n}-selection-item`,x=i;!d&&a===`multiple`&&p!==!1&&(x=``);let S=l&&x||``,w=l&&!c,T=s??`×`,E=h??(e=>`+ ${e.length} ...`),D=m,O=e=>{f(e)},k=e=>{o?.(e)},A=(e,t,n,r,i)=>C.createElement(`span`,{title:ry(e),className:q(b,{[`${b}-disabled`]:n},v?.item),style:y?.item},C.createElement(`span`,{className:q(`${b}-content`,v?.itemContent),style:y?.itemContent},t),r&&C.createElement(py,{className:q(`${b}-remove`,v?.itemRemove),style:y?.itemRemove,onMouseDown:hy,onClick:i,customizeIcon:T},`×`)),j=(e,t,n,r,i,a,o)=>C.createElement(`span`,{onMouseDown:e=>{hy(e),O(!u)}},D({label:t,value:e,index:o?.index,disabled:n,closable:r,onClose:i,isMaxTag:!!a}));return C.createElement(fy,{prefixCls:`${n}-content`,className:v?.content,style:y?.content,prefix:!r.length&&!S&&C.createElement($v,null),data:r,renderItem:(e,t)=>{let{disabled:n,label:r,value:i}=e,a=!c&&!n,o=r;if(typeof g==`number`&&(typeof r==`string`||typeof r==`number`)){let e=String(o);e.length>g&&(o=`${e.slice(0,g)}...`)}let s=t=>{t&&t.stopPropagation(),k(e)};return typeof D==`function`?j(i,o,n,a,s,void 0,t):A(e,o,n,a,s)},renderRest:e=>{if(!r.length)return null;let t=typeof E==`function`?E(e):E;return typeof D==`function`?j(void 0,t,!1,!1,void 0,!0):A({title:t},t,!1)},suffix:C.createElement(Qv,my({ref:t,disabled:c,readOnly:!w},e,{value:S||``,syncWidth:!0})),itemKey:Dre,maxCount:_})}),kre=C.forwardRef(function(e,t){let{multiple:n,onInputKeyDown:r,tabIndex:i}=Zv(),a=Vv(),{showSearch:o}=a,s={...Hu(a,{aria:!0}),onKeyDown:r,readOnly:!o,tabIndex:i};return n?C.createElement(Ore,{ref:t,inputProps:s}):C.createElement(bre,{ref:t,inputProps:s})});function Are(e){return e&&![em.ESC,em.SHIFT,em.BACKSPACE,em.TAB,em.WIN_KEY,em.ALT,em.META,em.WIN_KEY_RIGHT,em.CTRL,em.SEMICOLON,em.EQUALS,em.CAPS_LOCK,em.CONTEXT_MENU,em.UP,em.LEFT,em.RIGHT,em.F1,em.F2,em.F3,em.F4,em.F5,em.F6,em.F7,em.F8,em.F9,em.F10,em.F11,em.F12].includes(e)}function gy(){return gy=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{which:t}=e,n=F.current instanceof HTMLTextAreaElement;!n&&D&&(t===em.UP||t===em.DOWN)&&e.preventDefault(),x&&x(e),!(n&&!D&&~[em.UP,em.DOWN,em.LEFT,em.RIGHT].indexOf(t))&&!(e.ctrlKey||e.altKey||e.metaKey)&&Are(t)&&O(!0)});C.useImperativeHandle(t,()=>({focus:e=>{(F.current||P.current).focus?.(e)},blur:()=>{(F.current||P.current).blur?.()},nativeElement:Ar(P.current)}));let L=Rn(e=>{if(!A){let t=Ar(F.current);e.nativeEvent._ori_target=t;let n=t===e.target||t?.contains(e.target);t&&!n&&e.preventDefault();let r=D&&!l&&(f===`combobox`||k)||D&&l&&n;e.nativeEvent._select_lazy?D&&O(!1):(F.current?.focus(),r||O())}y?.(e)}),{root:R}=T,z=Cr(E,jre),B=Hu(z,{aria:!0}),V=Object.keys(B),H={...e,onInputKeyDown:I};if(R){let e=R.props||{},t={...e,...z};return Object.keys(e).forEach(n=>{let r=e[n],i=z[n];typeof r==`function`&&typeof i==`function`&&(t[n]=(...e)=>{i(...e),r(...e)})}),C.isValidElement(R)?C.cloneElement(R,{...t,ref:er(R.ref,P)}):C.createElement(R,gy({},t,{ref:P}))}return C.createElement(Xv.Provider,{value:H},C.createElement(`div`,gy({},Cr(z,V),{ref:P,className:r,style:i,onMouseDown:L}),C.createElement(Yv,{className:q(`${n}-prefix`,M?.prefix),style:N?.prefix},a),C.createElement(kre,{ref:F}),C.createElement(Yv,{className:q(`${n}-suffix`,{[`${n}-suffix-loading`]:j},M?.suffix),style:N?.suffix},o),s&&C.createElement(Yv,{className:q(`${n}-clear`,M?.clear),style:N?.clear,onMouseDown:e=>{e.nativeEvent._select_lazy=!0,b?.(e)}},s),c))});function Nre(e,t,n){return C.useMemo(()=>{let{root:r,input:i}=e||{};return n&&(r=n()),t&&(i=t()),{root:r,input:i}},[e,t,n])}function _y(){return _y=Object.assign?Object.assign.bind():function(e){for(var t=1;te===`tags`||e===`multiple`,Pre=C.forwardRef((e,t)=>{let{id:n,prefixCls:r,className:i,styles:a,classNames:o,showSearch:s,tagRender:c,showScrollBar:l=`optional`,direction:u,omitDomProps:d,displayValues:f,onDisplayValuesChange:p,emptyOptions:m,notFoundContent:h=`Not Found`,onClear:g,maxCount:_,placeholder:v,mode:y,disabled:b,loading:x,getInputElement:S,getRawInputElement:w,open:T,defaultOpen:E,onPopupVisibleChange:D,activeValue:O,onActiveValueChange:k,activeDescendantId:A,searchValue:j,autoClearSearchValue:M,onSearch:N,onSearchSplit:P,tokenSeparators:F,allowClear:I,prefix:L,suffix:R,suffixIcon:z,clearIcon:B,OptionList:V,animation:H,transitionName:U,popupStyle:W,popupClassName:ee,popupMatchSelectWidth:te,popupRender:ne,popupAlign:re,placement:ie,builtinPlacements:ae,getPopupContainer:G,showAction:oe=[],onFocus:K,onBlur:se,onKeyUp:ce,onKeyDown:le,onMouseDown:ue,components:de,...fe}=e,pe=vy(y),me=C.useRef(null),he=C.useRef(null),ge=C.useRef(null),[_e,ve]=C.useState(!1);C.useImperativeHandle(t,()=>({focus:me.current?.focus,blur:me.current?.blur,scrollTo:e=>ge.current?.scrollTo(e),nativeElement:Ar(me.current)}));let ye=Nre(de,S,w),be=C.useMemo(()=>{if(y!==`combobox`)return j;let e=f[0]?.value;return typeof e==`string`||typeof e==`number`?String(e):``},[j,y,f]),xe=y===`combobox`&&typeof S==`function`&&S()||null,Se=!h&&m,[Ce,we,Te,Ee]=_re(E||!1,T,D,e=>b||Se?!1:e),De=C.useMemo(()=>(F||[]).some(e=>[` `,`\r -`].includes(e)),[F]),Oe=(e,t,n)=>{if(pe&&qv(_)&&f.length>=_)return;let r=!0,i=e;k?.(null);let a=fre(e,F,qv(_)?_-f.length:void 0),o=n?null:a;return y!==`combobox`&&o&&(i=``,P?.(o),Te(!1),r=!1),N&&be!==i&&N(i,{source:t?`typing`:`effect`}),e&&t&&r&&Te(!0),r},ke=e=>{!e||!e.trim()||N(e,{source:`submit`})};C.useEffect(()=>{!Ce&&!pe&&y!==`combobox`&&Oe(``,!1,!1)},[Ce]),C.useEffect(()=>{b&&(Te(!1),ve(!1))},[b,we]);let[Ae,je]=Hv(),Me=C.useRef(!1),Ne=e=>{let t=Ae(),{key:n}=e,r=n===`Enter`,i=n===` `;if(r||i){let t=y===`combobox`;(i&&!(t||s)||r&&!t)&&e.preventDefault(),we||Te(!0)}if(je(!!be),n===`Backspace`&&!t&&pe&&!be&&f.length){let e=[...f],t=null;for(let n=e.length-1;n>=0;--n){let r=e[n];if(!r.disabled){e.splice(n,1),t=r;break}}t&&p(e,{type:`remove`,values:[t]})}we&&(!r||!Me.current)&&!i&&(r&&(Me.current=!0),ge.current?.onKeyDown(e)),le?.(e)},Pe=(e,...t)=>{we&&ge.current?.onKeyUp(e,...t),e.key===`Enter`&&(Me.current=!1),ce?.(e,...t)},Fe=Rn(e=>{p(f.filter(t=>t!==e),{type:`remove`,values:[e]})}),Ie=()=>{Me.current=!1},Le=()=>[Ar(me.current),he.current?.getPopupElement()];Wv(Le,we,Te,!!ye.root);let Re=C.useRef(!1),ze=e=>{ve(!0),b||(oe.includes(`focus`)&&Te(!0),K?.(e))},Be=()=>{we&&!Re.current&&Te(!1,{cancelFun:()=>Uv(Le(),document.activeElement)})},Ve=e=>{ve(!1),be&&(y===`tags`?N(be,{source:`submit`}):y===`multiple`&&N(``,{source:`blur`})),Be(),b||se?.(e)},He=(e,...t)=>{let{target:n}=e;(he.current?.getPopupElement())?.contains(n)&&Te&&Te(!0),ue?.(e,...t),Re.current=!0,Xv(()=>{Re.current=!1})},[,Ue]=C.useState({});function We(){Ue({})}let Ge;ye.root&&(Ge=e=>{Te(e)});let Ke=C.useMemo(()=>({...e,notFoundContent:h,open:we,triggerOpen:we,rawOpen:Ce,id:n,showSearch:s,multiple:pe,toggleOpen:Te,showScrollBar:l,styles:a,classNames:o,lockOptions:Ee}),[e,h,Te,n,s,pe,we,Ce,l,a,o,Ee]),qe=C.useMemo(()=>{let e=R??z;return typeof e==`function`?e({searchValue:be,open:we,focused:_e,showSearch:s,loading:x}):e},[R,z,be,we,_e,s,x]),Je=()=>{g?.(),me.current?.focus(),p([],{type:`clear`,values:f}),Oe(``,!1,!1)},{allowClear:Ye,clearIcon:Xe}=zv(r,f,I,B,b,be,y),Ze=C.createElement(V,{ref:ge}),Qe=q(r,i,{[`${r}-focused`]:_e,[`${r}-multiple`]:pe,[`${r}-single`]:!pe,[`${r}-allow-clear`]:Ye,[`${r}-show-arrow`]:qe!=null,[`${r}-disabled`]:b,[`${r}-loading`]:x,[`${r}-open`]:we,[`${r}-customize-input`]:xe,[`${r}-show-search`]:s}),$e=C.createElement(Cre,Ey({},fe,{ref:me,prefixCls:r,className:Qe,focused:_e,prefix:L,suffix:qe,clearIcon:Xe,multiple:pe,mode:y,displayValues:f,placeholder:v,searchValue:be,activeValue:O,onSearch:Oe,onSearchSubmit:ke,onInputBlur:Ie,onFocus:ze,onBlur:Ve,onClearMouseDown:Je,onKeyDown:Ne,onKeyUp:Pe,onSelectorRemove:Fe,tokenWithEnter:De,onMouseDown:He,components:ye}));return $e=C.createElement(ure,{ref:he,disabled:b,prefixCls:r,visible:we,popupElement:Ze,animation:H,transitionName:U,popupStyle:W,popupClassName:ee,direction:u,popupMatchSelectWidth:te,popupRender:ne,popupAlign:re,placement:ie,builtinPlacements:ae,getPopupContainer:G,empty:m,onPopupVisibleChange:Ge,onPopupMouseEnter:We,onPopupMouseDown:He,onPopupBlur:Be},$e),C.createElement(Bv.Provider,{value:Ke},C.createElement(pre,{visible:_e&&!we,values:f}),$e)}),Oy=()=>null;Oy.isSelectOptGroup=!0;var ky=()=>null;ky.isSelectOption=!0;var Ay=C.forwardRef(({height:e,offsetY:t,offsetX:n,children:r,prefixCls:i,onInnerResize:a,innerProps:o,rtl:s,extra:c},l)=>{let u={},d={display:`flex`,flexDirection:`column`};return t!==void 0&&(u={height:e,position:`relative`,overflow:`hidden`},d={...d,transform:`translateY(${t}px)`,[s?`marginRight`:`marginLeft`]:-n,position:`absolute`,left:0,right:0,top:0}),C.createElement(`div`,{style:u},C.createElement(Gr,{onResize:({offsetHeight:e})=>{e&&a&&a()}},C.createElement(`div`,yh({style:d,className:q({[`${i}-holder-inner`]:i}),ref:l},o),r,c)))});Ay.displayName=`Filler`;function Ere({children:e,setRef:t}){let n=C.useCallback(e=>{t(e)},[]);return C.cloneElement(e,{ref:n})}function Dre(e,t,n,r,i,a,o,{getKey:s}){return e.slice(t,n+1).map((e,n)=>{let c=o(e,t+n,{style:{width:r},offsetX:i}),l=s(e);return C.createElement(Ere,{key:l,setRef:t=>a(e,t)},c)})}function Ore(e,t,n){let r=e.length,i=t.length,a,o;if(r===0&&i===0)return null;r{let a=Ore(r||[],e||[],t);a?.index!==void 0&&(n?.(a.index),o(e[a.index])),i(e)},[e]),[a]}var jy=typeof navigator==`object`&&/Firefox/i.test(navigator.userAgent),My=((e,t,n,r)=>{let i=(0,C.useRef)(!1),a=(0,C.useRef)(null);function o(){clearTimeout(a.current),i.current=!0,a.current=setTimeout(()=>{i.current=!1},50)}let s=(0,C.useRef)({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,(e,t,n=!1)=>{let r=e?t<0&&s.current.left||t>0&&s.current.right:t<0&&s.current.top||t>0&&s.current.bottom;return n&&r?(clearTimeout(a.current),i.current=!1):(!r||i.current)&&o(),!i.current&&r}});function Are(e,t,n,r,i,a,o){let s=(0,C.useRef)(0),c=(0,C.useRef)(null),l=(0,C.useRef)(null),u=(0,C.useRef)(!1),d=My(t,n,r,i);function f(e,t){if(ii.cancel(c.current),d(!1,t))return;let n=e;if(!n._virtualHandled)n._virtualHandled=!0;else return;s.current+=t,l.current=t,jy||n.preventDefault(),c.current=ii(()=>{let e=u.current?10:1;o(s.current*e,!1),s.current=0})}function p(e,t){o(t,!0),jy||e.preventDefault()}let m=(0,C.useRef)(null),h=(0,C.useRef)(null);function g(t){if(!e)return;ii.cancel(h.current),h.current=ii(()=>{m.current=null},2);let{deltaX:n,deltaY:r,shiftKey:i}=t,o=n,s=r;(m.current===`sx`||!m.current&&i&&r&&!n)&&(o=r,s=0,m.current=`sx`);let c=Math.abs(o),l=Math.abs(s);m.current===null&&(m.current=a&&c>l?`x`:`y`),m.current===`y`?f(t,s):p(t,o)}function _(t){e&&(u.current=t.detail===l.current)}return[g,_]}function jre(e,t,n,r){let[i,a]=C.useMemo(()=>[new Map,[]],[e,n.id,r]);return(o,s=o)=>{let c=i.get(o),l=i.get(s);if(c===void 0||l===void 0){let u=e.length;for(let d=a.length;d{let e=!1;a.current.forEach((t,n)=>{if(t&&t.offsetParent){let{offsetHeight:r}=t,{marginTop:i,marginBottom:a}=getComputedStyle(t),s=Ny(i),c=Ny(a),l=r+s+c;o.current.get(n)!==l&&(o.current.set(n,l),e=!0)}}),e&&i(e=>e+1)};if(e)t();else{s.current+=1;let e=s.current;Promise.resolve().then(()=>{e===s.current&&t()})}}function u(r,i){let o=e(r),s=a.current.get(o);i?(a.current.set(o,i),l()):a.current.delete(o),!s!=!i&&(i?t?.(r):n?.(r))}return(0,C.useEffect)(()=>c,[]),[u,l,o.current,r]}var Py=14/15;function Pre(e,t,n){let r=(0,C.useRef)(!1),i=(0,C.useRef)(0),a=(0,C.useRef)(0),o=(0,C.useRef)(null),s=(0,C.useRef)(null),c,l=e=>{if(r.current){let t=Math.ceil(e.touches[0].pageX),r=Math.ceil(e.touches[0].pageY),o=i.current-t,c=a.current-r,l=Math.abs(o)>Math.abs(c);l?i.current=t:a.current=r;let u=n(l,l?o:c,!1,e);u&&e.preventDefault(),clearInterval(s.current),u&&(s.current=setInterval(()=>{l?o*=Py:c*=Py;let e=Math.floor(l?o:c);(!n(l,e,!0)||Math.abs(e)<=.1)&&clearInterval(s.current)},16))}},u=()=>{r.current=!1,c()},d=e=>{c(),e.touches.length===1&&!r.current&&(r.current=!0,i.current=Math.ceil(e.touches[0].pageX),a.current=Math.ceil(e.touches[0].pageY),o.current=e.target,o.current.addEventListener(`touchmove`,l,{passive:!1}),o.current.addEventListener(`touchend`,u,{passive:!0}))};c=()=>{o.current&&(o.current.removeEventListener(`touchmove`,l),o.current.removeEventListener(`touchend`,u))},Vn(()=>(e&&t.current.addEventListener(`touchstart`,d,{passive:!0}),()=>{t.current?.removeEventListener(`touchstart`,d),c(),clearInterval(s.current)}),[e])}function Fy(e){return Math.floor(e**.5)}function Iy(e,t){return(`touches`in e?e.touches[0]:e)[t?`pageX`:`pageY`]-window[t?`scrollX`:`scrollY`]}function Fre(e,t,n){C.useEffect(()=>{let r=t.current;if(e&&r){let e=!1,t,i,a=()=>{ii.cancel(t)},o=()=>{a(),t=ii(()=>{n(i),o()})},s=()=>{e=!1,a()},c=t=>{if(t.target.draggable||t.button!==0)return;let n=t;n._virtualHandled||(n._virtualHandled=!0,e=!0)},l=t=>{if(e){let e=Iy(t,!1),{top:n,bottom:s}=r.getBoundingClientRect();e<=n?(i=-Fy(n-e),o()):e>=s?(i=Fy(e-s),o()):a()}};return r.addEventListener(`mousedown`,c),r.ownerDocument.addEventListener(`mouseup`,s),r.ownerDocument.addEventListener(`mousemove`,l),r.ownerDocument.addEventListener(`dragend`,s),()=>{r.removeEventListener(`mousedown`,c),r.ownerDocument.removeEventListener(`mouseup`,s),r.ownerDocument.removeEventListener(`mousemove`,l),r.ownerDocument.removeEventListener(`dragend`,s),a()}}},[e])}var Ire=10;function Lre(e,t,n,r,i,a,o,s){let c=C.useRef(),[l,u]=C.useState(null);return Vn(()=>{if(l&&l.times({...e}));return}a();let{targetAlign:s,originAlign:c,index:d,offset:f}=l,p=e.current.clientHeight,m=!1,h=s,g=null;if(p){let a=s||c,u=0,_=0,v=0,y=Math.min(t.length-1,d);for(let e=0;e<=y;e+=1){let a=i(t[e]);_=u;let o=n.get(a);v=_+(o===void 0?r:o),u=v}let b=a===`top`?f:p-f;for(let e=y;e>=0;--e){let r=i(t[e]),a=n.get(r);if(a===void 0){m=!0;break}if(b-=a,b<=0)break}switch(a){case`top`:g=_-f;break;case`bottom`:g=v-p+f;break;default:{let{scrollTop:t}=e.current,n=t+p;_n&&(h=`bottom`)}}g!==null&&o(g),g!==l.lastTop&&(m=!0)}m&&u({...l,times:l.times+1,targetAlign:h,lastTop:g})}},[l,e.current]),e=>{if(e==null){s();return}if(ii.cancel(c.current),typeof e==`number`)o(e);else if(e&&typeof e==`object`){let n,{align:r}=e;`index`in e?{index:n}=e:n=t.findIndex(t=>i(t)===e.key);let{offset:a=0}=e;u({times:0,index:n,offset:a,originAlign:r})}}}var Ly=C.forwardRef((e,t)=>{let{prefixCls:n,rtl:r,scrollOffset:i,scrollRange:a,onStartMove:o,onStopMove:s,onScroll:c,horizontal:l,spinSize:u,containerSize:d,style:f,thumbStyle:p,showScrollBar:m}=e,[h,g]=C.useState(!1),[_,v]=C.useState(null),[y,b]=C.useState(null),x=!r,S=C.useRef(),w=C.useRef(),[T,E]=C.useState(m),D=C.useRef(),O=()=>{m===!0||m===!1||(clearTimeout(D.current),E(!0),D.current=setTimeout(()=>{E(!1)},3e3))},k=a-d||0,A=d-u||0,j=C.useMemo(()=>i===0||k===0?0:i/k*A,[i,k,A]),M=e=>{e.stopPropagation(),e.preventDefault()},N=C.useRef({top:j,dragging:h,pageY:_,startTop:y});N.current={top:j,dragging:h,pageY:_,startTop:y};let P=e=>{g(!0),v(Iy(e,l)),b(N.current.top),o(),e.stopPropagation(),e.preventDefault()};C.useEffect(()=>{let e=e=>{e.preventDefault()},t=S.current,n=w.current;return t.addEventListener(`touchstart`,e,{passive:!1}),n.addEventListener(`touchstart`,P,{passive:!1}),()=>{t.removeEventListener(`touchstart`,e),n.removeEventListener(`touchstart`,P)}},[]);let F=C.useRef();F.current=k;let I=C.useRef();I.current=A,C.useEffect(()=>{if(h){let e,t=t=>{let{dragging:n,pageY:r,startTop:i}=N.current;ii.cancel(e);let a=S.current.getBoundingClientRect(),o=d/(l?a.width:a.height);if(n){let n=(Iy(t,l)-r)*o,a=i;!x&&l?a-=n:a+=n;let s=F.current,u=I.current,d=u?a/u:0,f=Math.ceil(d*s);f=Math.max(f,0),f=Math.min(f,s),e=ii(()=>{c(f,l)})}},n=()=>{g(!1),s()};return window.addEventListener(`mousemove`,t,{passive:!0}),window.addEventListener(`touchmove`,t,{passive:!0}),window.addEventListener(`mouseup`,n,{passive:!0}),window.addEventListener(`touchend`,n,{passive:!0}),()=>{window.removeEventListener(`mousemove`,t),window.removeEventListener(`touchmove`,t),window.removeEventListener(`mouseup`,n),window.removeEventListener(`touchend`,n),ii.cancel(e)}}},[h]),C.useEffect(()=>(O(),()=>{clearTimeout(D.current)}),[i]),C.useImperativeHandle(t,()=>({delayHidden:O}));let L=`${n}-scrollbar`,R={position:`absolute`,visibility:T?null:`hidden`},z={position:`absolute`,borderRadius:99,background:`var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))`,cursor:`pointer`,userSelect:`none`};return l?(Object.assign(R,{height:8,left:0,right:0,bottom:0}),Object.assign(z,{height:`100%`,width:u,[x?`left`:`right`]:j})):(Object.assign(R,{width:8,top:0,bottom:0,[x?`right`:`left`]:0}),Object.assign(z,{width:`100%`,height:u,top:j})),C.createElement(`div`,{ref:S,className:q(L,{[`${L}-horizontal`]:l,[`${L}-vertical`]:!l,[`${L}-visible`]:T}),style:{...R,...f},onMouseDown:M,onMouseMove:O},C.createElement(`div`,{ref:w,className:q(`${L}-thumb`,{[`${L}-thumb-moving`]:h}),style:{...z,...p},onMouseDown:P}))}),Rre=20;function Ry(e=0,t=0){let n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,Rre),Math.floor(n)}var zre=[],Bre={overflowY:`auto`,overflowAnchor:`none`};function Vre(e,t){let{prefixCls:n=`rc-virtual-list`,className:r,height:i,itemHeight:a,fullHeight:o=!0,style:s,data:c,children:l,itemKey:u,virtual:d,direction:f,scrollWidth:p,component:m=`div`,onScroll:h,onVirtualScroll:g,onVisibleChange:_,innerProps:v,extraRender:y,styles:b,showScrollBar:x=`optional`,...S}=e,w=C.useCallback(e=>typeof u==`function`?u(e):e?.[u],[u]),[T,E,D,O]=Nre(w,null,null),k=!!(d!==!1&&i&&a),A=C.useMemo(()=>Object.values(D.maps).reduce((e,t)=>e+t,0),[D.id,D.maps]),j=k&&c&&(Math.max(a*c.length,A)>i||!!p),M=f===`rtl`,N=q(n,{[`${n}-rtl`]:M},r),P=c||zre,F=(0,C.useRef)(),I=(0,C.useRef)(),L=(0,C.useRef)(),[R,z]=(0,C.useState)(0),[B,V]=(0,C.useState)(0),[H,U]=(0,C.useState)(!1),W=()=>{U(!0)},ee=()=>{U(!1)},te={getKey:w};function ne(e){z(t=>{let n;n=typeof e==`function`?e(t):e;let r=_e(n);return F.current.scrollTop=r,r})}let re=(0,C.useRef)({start:0,end:P.length}),ie=(0,C.useRef)(),[ae]=kre(P,w);ie.current=ae;let{scrollHeight:G,start:oe,end:K,offset:se}=C.useMemo(()=>{if(!k)return{scrollHeight:void 0,start:0,end:P.length-1,offset:void 0};if(!j)return{scrollHeight:I.current?.offsetHeight||0,start:0,end:P.length-1,offset:void 0};let e=0,t,n,r,o=P.length;for(let s=0;s=R&&t===void 0&&(t=s,n=e),u>R+i&&r===void 0&&(r=s),e=u}return t===void 0&&(t=0,n=0,r=Math.ceil(i/a)),r===void 0&&(r=P.length-1),r=Math.min(r+1,P.length-1),{scrollHeight:e,start:t,end:r,offset:n}},[j,k,R,P,O,i]);re.current.start=oe,re.current.end=K,C.useLayoutEffect(()=>{let e=D.getRecord();if(e.size===1){let t=Array.from(e.keys())[0],n=e.get(t),r=P[oe];if(r&&n===void 0&&w(r)===t){let e=D.get(t)-a;ne(t=>t+e)}}D.resetRecord()},[G]);let[ce,le]=C.useState({width:0,height:i}),ue=e=>{le({width:e.offsetWidth,height:e.offsetHeight})},de=(0,C.useRef)(),fe=(0,C.useRef)(),pe=C.useMemo(()=>Ry(ce.width,p),[ce.width,p]),me=C.useMemo(()=>Ry(ce.height,G),[ce.height,G]),he=G-i,ge=(0,C.useRef)(he);ge.current=he;function _e(e){let t=e;return Number.isNaN(ge.current)||(t=Math.min(t,ge.current)),t=Math.max(t,0),t}let ve=R<=0,ye=R>=he,be=B<=0,xe=B>=p,Se=My(ve,ye,be,xe),Ce=()=>({x:M?-B:B,y:R}),we=(0,C.useRef)(Ce()),Te=Rn(e=>{if(g){let t={...Ce(),...e};(we.current.x!==t.x||we.current.y!==t.y)&&(g(t),we.current=t)}});function Ee(e,t){let n=e;t?((0,Yf.flushSync)(()=>{V(n)}),Te()):ne(n)}function De(e){let{scrollTop:t}=e.currentTarget;t!==R&&ne(t),h?.(e),Te()}let Oe=e=>{let t=e,n=p?p-ce.width:0;return t=Math.max(t,0),t=Math.min(t,n),t},ke=Rn((e,t)=>{t?((0,Yf.flushSync)(()=>{V(t=>Oe(t+(M?-e:e)))}),Te()):ne(t=>t+e)}),[Ae,je]=Are(k,ve,ye,be,xe,!!p,ke);Pre(k,F,(e,t,n,r)=>{let i=r;return Se(e,t,n)?!1:!i||!i._virtualHandled?(i&&(i._virtualHandled=!0),Ae({preventDefault(){},deltaX:e?t:0,deltaY:e?0:t}),!0):!1}),Fre(j,F,e=>{ne(t=>t+e)}),Vn(()=>{function e(e){let t=ve&&e.detail<0,n=ye&&e.detail>0;k&&!t&&!n&&e.preventDefault()}let t=F.current;return t.addEventListener(`wheel`,Ae,{passive:!1}),t.addEventListener(`DOMMouseScroll`,je,{passive:!0}),t.addEventListener(`MozMousePixelScroll`,e,{passive:!1}),()=>{t.removeEventListener(`wheel`,Ae),t.removeEventListener(`DOMMouseScroll`,je),t.removeEventListener(`MozMousePixelScroll`,e)}},[k,ve,ye]),Vn(()=>{if(p){let e=Oe(B);V(e),Te({x:e})}},[ce.width,p]);let Me=()=>{de.current?.delayHidden(),fe.current?.delayHidden()},Ne=Lre(F,P,D,a,w,()=>E(!0),ne,Me);C.useImperativeHandle(t,()=>({nativeElement:L.current,getScrollInfo:Ce,scrollTo:e=>{function t(e){return e&&typeof e==`object`&&(`left`in e||`top`in e)}t(e)?(e.left!==void 0&&V(Oe(e.left)),Ne(e.top)):Ne(e)}})),Vn(()=>{_&&_(P.slice(oe,K+1),P)},[oe,K,P]);let Pe=jre(P,w,D,a),Fe=y?.({start:oe,end:K,virtual:j,offsetX:B,offsetY:se,rtl:M,getSize:Pe}),Ie=Dre(P,oe,K,p,B,T,l,te),Le=null;i&&(Le={[o?`height`:`maxHeight`]:i,...Bre},k&&(Le.overflowY=`hidden`,p&&(Le.overflowX=`hidden`),H&&(Le.pointerEvents=`none`)));let Re={};return M&&(Re.dir=`rtl`),C.createElement(`div`,yh({ref:L,style:{...s,position:`relative`},className:N},Re,S),C.createElement(Gr,{onResize:ue},C.createElement(m,{className:`${n}-holder`,style:Le,ref:F,onScroll:De,onMouseEnter:Me},C.createElement(Ay,{prefixCls:n,height:G,offsetX:B,offsetY:se,scrollWidth:p,onInnerResize:E,ref:I,innerProps:v,rtl:M,extra:Fe},Ie))),j&&G>i&&C.createElement(Ly,{ref:de,prefixCls:n,scrollOffset:R,scrollRange:G,rtl:M,onScroll:Ee,onStartMove:W,onStopMove:ee,spinSize:me,containerSize:ce.height,style:b?.verticalScrollBar,thumbStyle:b?.verticalScrollBarThumb,showScrollBar:x}),j&&p>ce.width&&C.createElement(Ly,{ref:fe,prefixCls:n,scrollOffset:B,scrollRange:p,rtl:M,onScroll:Ee,onStartMove:W,onStopMove:ee,spinSize:pe,containerSize:ce.width,horizontal:!0,style:b?.horizontalScrollBar,thumbStyle:b?.horizontalScrollBarThumb,showScrollBar:x}))}var zy=C.forwardRef(Vre);zy.displayName=`List`;var By=zy;function Hre(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}function Vy(){return Vy=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,id:r,open:i,multiple:a,mode:o,searchValue:s,toggleOpen:c,notFoundContent:l,onPopupScroll:u,showScrollBar:d,lockOptions:f}=Vv(),{maxCount:p,flattenOptions:m,onActiveValue:h,defaultActiveFirstOption:g,onSelect:_,menuItemSelectedIcon:v,rawValues:y,fieldNames:b,virtual:x,direction:S,listHeight:w,listItemHeight:T,optionRender:E,classNames:D,styles:O}=C.useContext(ny),k=`${n}-item`,A=qn(()=>m,[i,f],(e,t)=>t[0]&&!t[1]),j=C.useRef(null),M=C.useMemo(()=>a&&qv(p)&&y?.size>=p,[a,p,y?.size]),N=e=>{e.preventDefault()},P=e=>{j.current?.scrollTo(typeof e==`number`?{index:e}:e)},F=C.useCallback(e=>o===`combobox`?!1:y.has(e),[o,[...y].toString(),y.size]),I=(e,t=1)=>{let n=A.length;for(let r=0;rI(0)),z=(e,t=!1)=>{R(e);let n={source:t?`keyboard`:`mouse`},r=A[e];if(!r){h(null,-1,n);return}h(r.value,e,n)};(0,C.useEffect)(()=>{z(g===!1?-1:I(0))},[A.length,s]);let B=C.useCallback(e=>o===`combobox`?String(e).toLowerCase()===s.toLowerCase():y.has(e),[o,s,[...y].toString(),y.size]);(0,C.useEffect)(()=>{let e;if(!a&&i&&y.size===1){let t=Array.from(y)[0],n=A.findIndex(({data:e})=>s?String(e.value).startsWith(s):e.value===t);n!==-1&&(z(n),e=setTimeout(()=>{P(n)}))}return i&&j.current?.scrollTo(void 0),()=>clearTimeout(e)},[i,s]);let V=e=>{e!==void 0&&_(e,{selected:!y.has(e)}),a||c(!1)};if(C.useImperativeHandle(t,()=>({onKeyDown:e=>{let{which:t,ctrlKey:n}=e;switch(t){case Qp.N:case Qp.P:case Qp.UP:case Qp.DOWN:{let e=0;if(t===Qp.UP?e=-1:t===Qp.DOWN?e=1:Hre()&&n&&(t===Qp.N?e=1:t===Qp.P&&(e=-1)),e!==0){let t=I(L+e,e);P(t),z(t,!0)}break}case Qp.TAB:case Qp.ENTER:{let t=A[L];if(!t||t.data.disabled)return V(void 0);!M||y.has(t.value)?V(t.value):V(void 0),i&&e.preventDefault();break}case Qp.ESC:c(!1),i&&e.stopPropagation()}},onKeyUp:()=>{},scrollTo:e=>{P(e)}})),A.length===0)return C.createElement(`div`,{role:`listbox`,id:`${r}_list`,className:`${k}-empty`,onMouseDown:N},l);let H=Object.keys(b).map(e=>b[e]),U=e=>e.label;function W(e,t){let{group:n}=e;return{role:n?`presentation`:`option`,id:`${r}_list_${t}`}}let ee=e=>{let t=A[e];if(!t)return null;let n=t.data||{},{value:r,disabled:i}=n,{group:a}=t,o=Hu(n,!0),s=U(t);return t?C.createElement(`div`,Vy({"aria-label":typeof s==`string`&&!a?s:null},o,{key:e},W(t,e),{"aria-selected":B(r),"aria-disabled":i}),r):null},te={role:`listbox`,id:`${r}_list`};return C.createElement(C.Fragment,null,x&&C.createElement(`div`,Vy({},te,{style:{height:0,width:0,overflow:`hidden`}}),ee(L-1),ee(L),ee(L+1)),C.createElement(By,{itemKey:`key`,ref:j,data:A,height:w,itemHeight:T,fullHeight:!1,onMouseDown:N,onScroll:u,virtual:x,direction:S,innerProps:x?null:te,showScrollBar:d,className:D?.popup?.list,style:O?.popup?.list},(e,t)=>{let{group:n,groupOption:r,data:i,label:a,value:o}=e,{key:s}=i;if(n){let e=i.title??(Hy(a)?a.toString():void 0);return C.createElement(`div`,{className:q(k,`${k}-group`,i.className),title:e},a===void 0?s:a)}let{disabled:c,title:l,children:u,style:d,className:f,...p}=i,m=Cr(p,H),h=F(o),g=c||!h&&M,_=`${k}-option`,y=q(k,_,f,D?.popup?.listItem,{[`${_}-grouped`]:r,[`${_}-active`]:L===t&&!g,[`${_}-disabled`]:g,[`${_}-selected`]:h}),b=U(e),S=!v||typeof v==`function`||h,w=typeof b==`number`?b:b||o,T=Hy(w)?w.toString():void 0;return l!==void 0&&(T=l),C.createElement(`div`,Vy({},Hu(m),x?{}:W(e,t),{"aria-selected":x?void 0:B(o),"aria-disabled":g,className:y,title:T,onMouseMove:()=>{L===t||g||z(t)},onClick:()=>{g||V(o)},style:{...O?.popup?.listItem,...d}}),C.createElement(`div`,{className:`${_}-content`},typeof E==`function`?E(e,{index:t}):w),C.isValidElement(v)||h,S&&C.createElement(Sy,{className:`${k}-option-state`,customizeIcon:v,customizeIconProps:{value:o,disabled:g,isSelected:h}},h?`✓`:null))}))}),Wre=((e,t)=>{let n=C.useRef({values:new Map,options:new Map});return[C.useMemo(()=>{let{values:r,options:i}=n.current,a=e.map(e=>e.label===void 0?{...e,label:r.get(e.value)?.label}:e),o=new Map,s=new Map;return a.forEach(e=>{o.set(e.value,e),s.set(e.value,t.get(e.value)||i.get(e.value))}),n.current.values=o,n.current.options=s,a},[e,t]),C.useCallback(e=>t.get(e)||n.current.options.get(e),[t])]});function Uy(e,t){return ry(e).join(``).toUpperCase().includes(t)}var Gre=((e,t,n,r,i)=>C.useMemo(()=>{if(!n||r===!1)return e;let{options:a,label:o,value:s}=t,c=[],l=typeof r==`function`,u=n.toUpperCase(),d=l?r:(e,t)=>i&&i.length?i.some(e=>Uy(t[e],u)):t[a]?Uy(t[o===`children`?`label`:o],u):Uy(t[s],u),f=l?e=>Yv(e):e=>e;return e.forEach(e=>{if(e[a]){if(d(n,f(e)))c.push(e);else{let t=e[a].filter(e=>d(n,f(e)));t.length&&c.push({...e,[a]:t})}return}d(n,f(e))&&c.push(e)}),c},[e,r,i,n,t]));function Kre(e){let{key:t,props:{children:n,value:r,...i}}=e;return{key:t,value:r===void 0?t:r,children:n,...i}}function Wy(e,t=!1){return wr(e).map((e,n)=>{if(!C.isValidElement(e)||!e.type)return null;let{type:{isSelectOptGroup:r},key:i,props:{children:a,...o}}=e;return t||!r?Kre(e):{key:`__RC_SELECT_GRP__${i===null?n:i}__`,label:i,...o,options:Wy(a)}}).filter(e=>e)}var qre=(e,t,n,r,i)=>C.useMemo(()=>{let a=e;e||(a=Wy(t));let o=new Map,s=new Map,c=(e,t,n)=>{n&&typeof n==`string`&&e.set(t[n],t)},l=(e,t=!1)=>{for(let a=0;a{c(s,u,e)}),c(s,u,i)):l(u[n.options],!0)}};return l(a),{options:a,valueOptions:o,labelOptions:s}},[e,t,n,r,i]);function Gy(e){let t=C.useRef();return t.current=e,C.useCallback((...e)=>t.current(...e),[])}function Jre(e,t,n){let{filterOption:r,searchValue:i,optionFilterProp:a,filterSort:o,onSearch:s,autoClearSearchValue:c}=t;return C.useMemo(()=>{let t=typeof e==`object`,l={filterOption:r,searchValue:i,optionFilterProp:a,filterSort:o,onSearch:s,autoClearSearchValue:c,...t?e:{}};return[t||n===`combobox`||n===`tags`||n===`multiple`&&e===void 0?!0:e,l]},[n,e,r,i,a,o,s,c])}function Ky(){return Ky=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:n,mode:r,prefixCls:i=`rc-select`,backfill:a,fieldNames:o,showSearch:s,searchValue:c,onSearch:l,autoClearSearchValue:u,filterOption:d,optionFilterProp:f,filterSort:p,onSelect:m,onDeselect:h,onActive:g,popupMatchSelectWidth:_=!0,optionLabelProp:v,options:y,optionRender:b,children:x,defaultActiveFirstOption:S,menuItemSelectedIcon:w,virtual:T,direction:E,listHeight:D=200,listItemHeight:O=20,labelRender:k,value:A,defaultValue:j,labelInValue:M,onChange:N,maxCount:P,classNames:F,styles:I,...L}=e,[R,z]=Jre(s,{searchValue:c,onSearch:l,autoClearSearchValue:u,filterOption:d,optionFilterProp:f,filterSort:p},r),{filterOption:B,searchValue:V,optionFilterProp:H,filterSort:U,onSearch:W,autoClearSearchValue:ee=!0}=z,te=C.useMemo(()=>H?Array.isArray(H)?H:[H]:[],[H]),ne=Bf(n),re=Dy(r),ie=!!(!y&&x),ae=C.useMemo(()=>B===void 0&&r===`combobox`?!1:B,[B,r]),G=C.useMemo(()=>Jv(o,ie),[JSON.stringify(o),ie]),[oe,K]=Wn(``,V),se=oe||``,ce=qre(y,x,G,te,v),{valueOptions:le,labelOptions:ue,options:de}=ce,fe=C.useCallback(e=>ry(e).map(e=>{let t,n,r,i;Xre(e)?t=e:(n=e.label,t=e.value);let a=le.get(t);return a&&(n===void 0&&(n=a?.[v||G.label]),r=a?.disabled,i=a?.title),{label:n,value:t,key:t,disabled:r,title:i}}),[G,v,le]),[pe,me]=Wn(j,A),[he,ge]=Wre(C.useMemo(()=>{let e=fe(re&&pe===null?[]:pe);return r===`combobox`&&_re(e[0]?.value)?[]:e},[pe,fe,r,re]),le),_e=C.useMemo(()=>{if(!r&&he.length===1){let e=he[0];if(e.value===null&&(e.label===null||e.label===void 0))return[]}return he.map(e=>({...e,label:(typeof k==`function`?k(e):e.label)??e.value}))},[r,he,k]),ve=C.useMemo(()=>new Set(he.map(e=>e.value)),[he]);C.useEffect(()=>{if(r===`combobox`){let e=he[0]?.value;K(gre(e)?String(e):``)}},[he]);let ye=Gy((e,t)=>{let n=t??e;return{[G.value]:e,[G.label]:n}}),be=Gre(C.useMemo(()=>{if(r!==`tags`)return de;let e=[...de],t=e=>le.has(e);return[...he].sort((e,t)=>e.value{let r=n.value;t(r)||e.push(ye(r,n.label))}),e},[ye,de,le,he,r]),G,se,ae,te),xe=C.useMemo(()=>{let e=e=>te.length?te.some(t=>e?.[t]===se):e?.value===se;return r!==`tags`||!se||be.some(t=>e(t))||be.some(e=>e[G.value]===se)?be:[ye(se),...be]},[ye,te,r,be,se,G]),Se=e=>[...e].sort((e,t)=>U(e,t,{searchValue:se})).map(e=>Array.isArray(e.options)?{...e,options:e.options.length>0?Se(e.options):e.options}:e),Ce=C.useMemo(()=>U?Se(xe):xe,[xe,U,se]),we=C.useMemo(()=>dre(Ce,{fieldNames:G,childrenAsData:ie}),[Ce,G,ie]),Te=e=>{let t=fe(e);if(me(t),N&&(t.length!==he.length||t.some((e,t)=>he[t]?.value!==e?.value))){let e=M?t.map(({label:e,value:t})=>({label:e,value:t})):t.map(e=>e.value),n=t.map(e=>Yv(ge(e.value)));N(re?e:e[0],re?n:n[0])}},[Ee,De]=C.useState(null),[Oe,ke]=C.useState(0),Ae=S===void 0?r!==`combobox`:S,je=C.useRef(),Me=C.useCallback((e,t,{source:n=`keyboard`}={})=>{ke(t),a&&r===`combobox`&&e!==null&&n===`keyboard`&&De(String(e));let i=Promise.resolve().then(()=>{je.current===i&&g?.(e)});je.current=i},[a,r,g]),Ne=(e,t,n)=>{let r=()=>{let t=ge(e);return[M?{label:t?.[G.label],value:e}:e,Yv(t)]};if(t&&m){let[e,t]=r();m(e,t)}else if(!t&&h&&n!==`clear`){let[e,t]=r();h(e,t)}},Pe=Gy((e,t)=>{let n,i=re?t.selected:!0;n=i?re?[...he,e]:[e]:he.filter(t=>t.value!==e),Te(n),Ne(e,i),r===`combobox`?De(``):(!Dy||ee)&&(K(``),De(``))}),Fe=(e,t)=>{Te(e);let{type:n,values:r}=t;(n===`remove`||n===`clear`)&&r.forEach(e=>{Ne(e.value,!1,n)})},Ie=(e,t)=>{if(K(e),De(null),t.source===`submit`){let t=(e||``).trim();t&&(Te(Array.from(new Set([...ve,t]))),Ne(t,!0),K(``));return}t.source!==`blur`&&(r===`combobox`&&Te(e),W?.(e))},Le=e=>{let t=e;r!==`tags`&&(t=e.map(e=>ue.get(e)?.value).filter(e=>e!==void 0));let n=Array.from(new Set([...ve,...t]));Te(n),n.forEach(e=>{Ne(e,!0)})},Re=C.useMemo(()=>{let e=T!==!1&&_!==!1;return{...ce,flattenOptions:we,onActiveValue:Me,defaultActiveFirstOption:Ae,onSelect:Pe,menuItemSelectedIcon:w,rawValues:ve,fieldNames:G,virtual:e,direction:E,listHeight:D,listItemHeight:O,childrenAsData:ie,maxCount:P,optionRender:b,classNames:F,styles:I}},[P,ce,we,Me,Ae,Pe,w,ve,G,T,_,E,D,O,ie,b,F,I]);return C.createElement(ny.Provider,{value:Re},C.createElement(Tre,Ky({},L,{id:ne,prefixCls:i,ref:t,omitDomProps:Yre,mode:r,classNames:F,styles:I,displayValues:_e,onDisplayValuesChange:Fe,maxCount:P,direction:E,showSearch:R,searchValue:se,onSearch:Ie,autoClearSearchValue:ee,onSearchSplit:Le,popupMatchSelectWidth:_,OptionList:Ure,emptyOptions:!we.length,activeValue:Ee,activeDescendantId:`${ne}_list_${Oe}`})))});qy.Option=ky,qy.OptGroup=Oy;var Zre=qy,Jy=(e,t,n)=>q({[`${e}-status-success`]:t===`success`,[`${e}-status-warning`]:t===`warning`,[`${e}-status-error`]:t===`error`,[`${e}-status-validating`]:t===`validating`,[`${e}-has-feedback`]:n}),Yy=(e,t)=>t||e,Qre=()=>{let[,e]=qc(),[t]=ld(`Empty`),n=new zs(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return C.createElement(`svg`,{style:n,width:`184`,height:`152`,viewBox:`0 0 184 152`,xmlns:`http://www.w3.org/2000/svg`},C.createElement(`title`,null,t?.description||`Empty`),C.createElement(`g`,{fill:`none`,fillRule:`evenodd`},C.createElement(`g`,{transform:`translate(24 31.7)`},C.createElement(`ellipse`,{fillOpacity:`.8`,fill:`#F5F5F7`,cx:`67.8`,cy:`106.9`,rx:`67.8`,ry:`12.7`}),C.createElement(`path`,{fill:`#aeb8c2`,d:`M122 69.7 98.1 40.2a6 6 0 0 0-4.6-2.2H42.1a6 6 0 0 0-4.6 2.2l-24 29.5V85H122z`}),C.createElement(`path`,{fill:`#f5f5f7`,d:`M33.8 0h68a4 4 0 0 1 4 4v93.3a4 4 0 0 1-4 4h-68a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4`}),C.createElement(`path`,{fill:`#dce0e6`,d:`M42.7 10h50.2a2 2 0 0 1 2 2v25a2 2 0 0 1-2 2H42.7a2 2 0 0 1-2-2V12a2 2 0 0 1 2-2m.2 39.8h49.8a2.3 2.3 0 1 1 0 4.5H42.9a2.3 2.3 0 0 1 0-4.5m0 11.7h49.8a2.3 2.3 0 1 1 0 4.6H42.9a2.3 2.3 0 0 1 0-4.6m79 43.5a7 7 0 0 1-6.8 5.4H20.5a7 7 0 0 1-6.7-5.4l-.2-1.8V69.7h26.3c2.9 0 5.2 2.4 5.2 5.4s2.4 5.4 5.3 5.4h34.8c2.9 0 5.3-2.4 5.3-5.4s2.3-5.4 5.2-5.4H122v33.5q0 1-.2 1.8`})),C.createElement(`path`,{fill:`#dce0e6`,d:`m149.1 33.3-6.8 2.6a1 1 0 0 1-1.3-1.2l2-6.2q-4.1-4.5-4.2-10.4c0-10 10.1-18.1 22.6-18.1S184 8.1 184 18.1s-10.1 18-22.6 18q-6.8 0-12.3-2.8`}),C.createElement(`g`,{fill:`#fff`,transform:`translate(149.7 15.4)`},C.createElement(`circle`,{cx:`20.7`,cy:`3.2`,r:`2.8`}),C.createElement(`path`,{d:`M5.7 5.6H0L2.9.7zM9.3.7h5v5h-5z`}))))},$re=()=>{let[,e]=qc(),[t]=ld(`Empty`),{colorFill:n,colorFillTertiary:r,colorFillQuaternary:i,colorBgContainer:a}=e,{borderColor:o,shadowColor:s,contentColor:c}=(0,C.useMemo)(()=>({borderColor:new zs(n).onBackground(a).toHexString(),shadowColor:new zs(r).onBackground(a).toHexString(),contentColor:new zs(i).onBackground(a).toHexString()}),[n,r,i,a]);return C.createElement(`svg`,{width:`64`,height:`41`,viewBox:`0 0 64 41`,xmlns:`http://www.w3.org/2000/svg`},C.createElement(`title`,null,t?.description||`Empty`),C.createElement(`g`,{transform:`translate(0 1)`,fill:`none`,fillRule:`evenodd`},C.createElement(`ellipse`,{fill:s,cx:`32`,cy:`33`,rx:`32`,ry:`7`}),C.createElement(`g`,{fillRule:`nonzero`,stroke:o},C.createElement(`path`,{d:`M55 12.8 44.9 1.3Q44 0 42.9 0H21.1q-1.2 0-2 1.3L9 12.8V22h46z`}),C.createElement(`path`,{d:`M41.6 16c0-1.7 1-3 2.2-3H55v18.1c0 2.2-1.3 3.9-3 3.9H12c-1.7 0-3-1.7-3-3.9V13h11.2c1.2 0 2.2 1.3 2.2 3s1 2.9 2.2 2.9h14.8c1.2 0 2.2-1.4 2.2-3`,fill:c}))))},eie=e=>{let{componentCls:t,margin:n,marginXS:r,marginXL:i,fontSize:a,lineHeight:o}=e;return{[t]:{marginInline:r,fontSize:a,lineHeight:o,textAlign:`center`,[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:`100%`},svg:{maxWidth:`100%`,height:`100%`,margin:`auto`}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:i,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},tie=il(`Empty`,e=>{let{componentCls:t,controlHeightLG:n,calc:r}=e;return eie(_s(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()}))}),Xy=C.createElement(Qre,null),Zy=C.createElement($re,null),Qy=e=>{let{className:t,rootClassName:n,prefixCls:r,image:i,description:a,children:o,imageStyle:s,style:c,classNames:l,styles:u,...d}=e,{getPrefixCls:f,direction:p,className:m,style:h,classNames:g,styles:_,image:v}=ui(`empty`),y=f(`empty`,r),[b,x]=tie(y),[S,w]=Id([g,l],[_,u],{props:e}),[T]=ld(`Empty`),E=a===void 0?T?.description:a,D=typeof E==`string`?E:`empty`,O=i??v??Xy,k=null;return k=typeof O==`string`?C.createElement(`img`,{draggable:!1,alt:D,src:O}):O,C.createElement(`div`,{className:q(b,x,y,m,{[`${y}-normal`]:O===Zy,[`${y}-rtl`]:p===`rtl`},t,n,S.root),style:{...w.root,...h,...c},...d},C.createElement(`div`,{className:q(`${y}-image`,S.image),style:{...s,...w.image}},k),E&&C.createElement(`div`,{className:q(`${y}-description`,S.description),style:w.description},E),o&&C.createElement(`div`,{className:q(`${y}-footer`,S.footer),style:w.footer},o))};Qy.PRESENTED_IMAGE_DEFAULT=Xy,Qy.PRESENTED_IMAGE_SIMPLE=Zy;var $y=e=>{let{componentName:t}=e,{getPrefixCls:n}=(0,C.useContext)(si),r=n(`empty`);switch(t){case`Table`:case`List`:return C.createElement(Qy,{image:Qy.PRESENTED_IMAGE_SIMPLE});case`Select`:case`TreeSelect`:case`Cascader`:case`Transfer`:case`Mentions`:return C.createElement(Qy,{image:Qy.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case`Table.filter`:return null;default:return C.createElement(Qy,null)}},eb=(e,t,n)=>{let{variant:r,[e]:i}=C.useContext(si),a=C.useContext(F_),o=i?.variant,s;s=t===void 0?n===!1?`borderless`:a??o??r??`outlined`:t;let c=oi.includes(s);return[s,c]},tb=e=>{let t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e===`scroll`?`scroll`:`visible`,dynamicInset:!0};return{bottomLeft:{...t,points:[`tl`,`bl`],offset:[0,4]},bottomRight:{...t,points:[`tr`,`br`],offset:[0,4]},topLeft:{...t,points:[`bl`,`tl`],offset:[0,-4]},topRight:{...t,points:[`br`,`tr`],offset:[0,-4]}}};function nb(e,t){return e||tb(t)}var rb=e=>{let{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:i}=e;return{position:`relative`,display:`block`,minHeight:t,padding:i,color:e.colorText,fontWeight:`normal`,fontSize:n,lineHeight:r,boxSizing:`border-box`}},ib=e=>{let{antCls:t,componentCls:n}=e,r=`${n}-item`,i=`&${t}-slide-up-enter${t}-slide-up-enter-active`,a=`&${t}-slide-up-appear${t}-slide-up-appear-active`,o=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`,c=`${r}-option-selected`;return[{[`${n}-dropdown`]:{...Yc(e),position:`absolute`,top:-9999,zIndex:e.zIndexPopup,boxSizing:`border-box`,padding:e.paddingXXS,overflow:`hidden`,fontSize:e.fontSize,fontVariant:`initial`,backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:`none`,boxShadow:e.boxShadowSecondary,[` +`].includes(e)),[F]),Oe=(e,t,n)=>{if(pe&&Gv(_)&&f.length>=_)return;let r=!0,i=e;k?.(null);let a=mre(e,F,Gv(_)?_-f.length:void 0),o=n?null:a;return y!==`combobox`&&o&&(i=``,P?.(o),Te(!1),r=!1),N&&be!==i&&N(i,{source:t?`typing`:`effect`}),e&&t&&r&&Te(!0),r},ke=e=>{!e||!e.trim()||N(e,{source:`submit`})};C.useEffect(()=>{!Ce&&!pe&&y!==`combobox`&&Oe(``,!1,!1)},[Ce]),C.useEffect(()=>{b&&(Te(!1),ve(!1))},[b,we]);let[Ae,je]=lre(),Me=C.useRef(!1),Ne=e=>{let t=Ae(),{key:n}=e,r=n===`Enter`,i=n===` `;if(r||i){let t=y===`combobox`;(i&&!(t||s)||r&&!t)&&e.preventDefault(),we||Te(!0)}if(je(!!be),n===`Backspace`&&!t&&pe&&!be&&f.length){let e=[...f],t=null;for(let n=e.length-1;n>=0;--n){let r=e[n];if(!r.disabled){e.splice(n,1),t=r;break}}t&&p(e,{type:`remove`,values:[t]})}we&&(!r||!Me.current)&&!i&&(r&&(Me.current=!0),ge.current?.onKeyDown(e)),le?.(e)},Pe=(e,...t)=>{we&&ge.current?.onKeyUp(e,...t),e.key===`Enter`&&(Me.current=!1),ce?.(e,...t)},Fe=Rn(e=>{p(f.filter(t=>t!==e),{type:`remove`,values:[e]})}),Ie=()=>{Me.current=!1},Le=()=>[Ar(me.current),he.current?.getPopupElement()];ure(Le,we,Te,!!ye.root);let Re=C.useRef(!1),ze=e=>{ve(!0),b||(oe.includes(`focus`)&&Te(!0),K?.(e))},Be=()=>{we&&!Re.current&&Te(!1,{cancelFun:()=>Hv(Le(),document.activeElement)})},Ve=e=>{ve(!1),be&&(y===`tags`?N(be,{source:`submit`}):y===`multiple`&&N(``,{source:`blur`})),Be(),b||se?.(e)},He=(e,...t)=>{let{target:n}=e;(he.current?.getPopupElement())?.contains(n)&&Te&&Te(!0),ue?.(e,...t),Re.current=!0,Jv(()=>{Re.current=!1})},[,Ue]=C.useState({});function We(){Ue({})}let Ge;ye.root&&(Ge=e=>{Te(e)});let Ke=C.useMemo(()=>({...e,notFoundContent:h,open:we,triggerOpen:we,rawOpen:Ce,id:n,showSearch:s,multiple:pe,toggleOpen:Te,showScrollBar:l,styles:a,classNames:o,lockOptions:Ee}),[e,h,Te,n,s,pe,we,Ce,l,a,o,Ee]),qe=C.useMemo(()=>{let e=R??z;return typeof e==`function`?e({searchValue:be,open:we,focused:_e,showSearch:s,loading:x}):e},[R,z,be,we,_e,s,x]),Je=()=>{g?.(),me.current?.focus(),p([],{type:`clear`,values:f}),Oe(``,!1,!1)},{allowClear:Ye,clearIcon:Xe}=cre(r,f,I,B,b,be,y),Ze=C.createElement(V,{ref:ge}),Qe=q(r,i,{[`${r}-focused`]:_e,[`${r}-multiple`]:pe,[`${r}-single`]:!pe,[`${r}-allow-clear`]:Ye,[`${r}-show-arrow`]:qe!=null,[`${r}-disabled`]:b,[`${r}-loading`]:x,[`${r}-open`]:we,[`${r}-customize-input`]:xe,[`${r}-show-search`]:s}),$e=C.createElement(Mre,_y({},fe,{ref:me,prefixCls:r,className:Qe,focused:_e,prefix:L,suffix:qe,clearIcon:Xe,multiple:pe,mode:y,displayValues:f,placeholder:v,searchValue:be,activeValue:O,onSearch:Oe,onSearchSubmit:ke,onInputBlur:Ie,onFocus:ze,onBlur:Ve,onClearMouseDown:Je,onKeyDown:Ne,onKeyUp:Pe,onSelectorRemove:Fe,tokenWithEnter:De,onMouseDown:He,components:ye}));return $e=C.createElement(fre,{ref:he,disabled:b,prefixCls:r,visible:we,popupElement:Ze,animation:H,transitionName:U,popupStyle:W,popupClassName:ee,direction:u,popupMatchSelectWidth:te,popupRender:ne,popupAlign:re,placement:ie,builtinPlacements:ae,getPopupContainer:G,empty:m,onPopupVisibleChange:Ge,onPopupMouseEnter:We,onPopupMouseDown:He,onPopupBlur:Be},$e),C.createElement(Bv.Provider,{value:Ke},C.createElement(hre,{visible:_e&&!we,values:f}),$e)}),yy=()=>null;yy.isSelectOptGroup=!0;var by=()=>null;by.isSelectOption=!0;var xy=C.forwardRef(({height:e,offsetY:t,offsetX:n,children:r,prefixCls:i,onInnerResize:a,innerProps:o,rtl:s,extra:c},l)=>{let u={},d={display:`flex`,flexDirection:`column`};return t!==void 0&&(u={height:e,position:`relative`,overflow:`hidden`},d={...d,transform:`translateY(${t}px)`,[s?`marginRight`:`marginLeft`]:-n,position:`absolute`,left:0,right:0,top:0}),C.createElement(`div`,{style:u},C.createElement(Gr,{onResize:({offsetHeight:e})=>{e&&a&&a()}},C.createElement(`div`,wh({style:d,className:q({[`${i}-holder-inner`]:i}),ref:l},o),r,c)))});xy.displayName=`Filler`;function Fre({children:e,setRef:t}){let n=C.useCallback(e=>{t(e)},[]);return C.cloneElement(e,{ref:n})}function Ire(e,t,n,r,i,a,o,{getKey:s}){return e.slice(t,n+1).map((e,n)=>{let c=o(e,t+n,{style:{width:r},offsetX:i}),l=s(e);return C.createElement(Fre,{key:l,setRef:t=>a(e,t)},c)})}function Lre(e,t,n){let r=e.length,i=t.length,a,o;if(r===0&&i===0)return null;r{let a=Lre(r||[],e||[],t);a?.index!==void 0&&(n?.(a.index),o(e[a.index])),i(e)},[e]),[a]}var Sy=typeof navigator==`object`&&/Firefox/i.test(navigator.userAgent),Cy=((e,t,n,r)=>{let i=(0,C.useRef)(!1),a=(0,C.useRef)(null);function o(){clearTimeout(a.current),i.current=!0,a.current=setTimeout(()=>{i.current=!1},50)}let s=(0,C.useRef)({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,(e,t,n=!1)=>{let r=e?t<0&&s.current.left||t>0&&s.current.right:t<0&&s.current.top||t>0&&s.current.bottom;return n&&r?(clearTimeout(a.current),i.current=!1):(!r||i.current)&&o(),!i.current&&r}});function zre(e,t,n,r,i,a,o){let s=(0,C.useRef)(0),c=(0,C.useRef)(null),l=(0,C.useRef)(null),u=(0,C.useRef)(!1),d=Cy(t,n,r,i);function f(e,t){if(ii.cancel(c.current),d(!1,t))return;let n=e;if(!n._virtualHandled)n._virtualHandled=!0;else return;s.current+=t,l.current=t,Sy||n.preventDefault(),c.current=ii(()=>{let e=u.current?10:1;o(s.current*e,!1),s.current=0})}function p(e,t){o(t,!0),Sy||e.preventDefault()}let m=(0,C.useRef)(null),h=(0,C.useRef)(null);function g(t){if(!e)return;ii.cancel(h.current),h.current=ii(()=>{m.current=null},2);let{deltaX:n,deltaY:r,shiftKey:i}=t,o=n,s=r;(m.current===`sx`||!m.current&&i&&r&&!n)&&(o=r,s=0,m.current=`sx`);let c=Math.abs(o),l=Math.abs(s);m.current===null&&(m.current=a&&c>l?`x`:`y`),m.current===`y`?f(t,s):p(t,o)}function _(t){e&&(u.current=t.detail===l.current)}return[g,_]}function Bre(e,t,n,r){let[i,a]=C.useMemo(()=>[new Map,[]],[e,n.id,r]);return(o,s=o)=>{let c=i.get(o),l=i.get(s);if(c===void 0||l===void 0){let u=e.length;for(let d=a.length;d{let e=!1;a.current.forEach((t,n)=>{if(t&&t.offsetParent){let{offsetHeight:r}=t,{marginTop:i,marginBottom:a}=getComputedStyle(t),s=wy(i),c=wy(a),l=r+s+c;o.current.get(n)!==l&&(o.current.set(n,l),e=!0)}}),e&&i(e=>e+1)};if(e)t();else{s.current+=1;let e=s.current;Promise.resolve().then(()=>{e===s.current&&t()})}}function u(r,i){let o=e(r),s=a.current.get(o);i?(a.current.set(o,i),l()):a.current.delete(o),!s!=!i&&(i?t?.(r):n?.(r))}return(0,C.useEffect)(()=>c,[]),[u,l,o.current,r]}var Ty=14/15;function Ure(e,t,n){let r=(0,C.useRef)(!1),i=(0,C.useRef)(0),a=(0,C.useRef)(0),o=(0,C.useRef)(null),s=(0,C.useRef)(null),c,l=e=>{if(r.current){let t=Math.ceil(e.touches[0].pageX),r=Math.ceil(e.touches[0].pageY),o=i.current-t,c=a.current-r,l=Math.abs(o)>Math.abs(c);l?i.current=t:a.current=r;let u=n(l,l?o:c,!1,e);u&&e.preventDefault(),clearInterval(s.current),u&&(s.current=setInterval(()=>{l?o*=Ty:c*=Ty;let e=Math.floor(l?o:c);(!n(l,e,!0)||Math.abs(e)<=.1)&&clearInterval(s.current)},16))}},u=()=>{r.current=!1,c()},d=e=>{c(),e.touches.length===1&&!r.current&&(r.current=!0,i.current=Math.ceil(e.touches[0].pageX),a.current=Math.ceil(e.touches[0].pageY),o.current=e.target,o.current.addEventListener(`touchmove`,l,{passive:!1}),o.current.addEventListener(`touchend`,u,{passive:!0}))};c=()=>{o.current&&(o.current.removeEventListener(`touchmove`,l),o.current.removeEventListener(`touchend`,u))},Vn(()=>(e&&t.current.addEventListener(`touchstart`,d,{passive:!0}),()=>{t.current?.removeEventListener(`touchstart`,d),c(),clearInterval(s.current)}),[e])}function Ey(e){return Math.floor(e**.5)}function Dy(e,t){return(`touches`in e?e.touches[0]:e)[t?`pageX`:`pageY`]-window[t?`scrollX`:`scrollY`]}function Wre(e,t,n){C.useEffect(()=>{let r=t.current;if(e&&r){let e=!1,t,i,a=()=>{ii.cancel(t)},o=()=>{a(),t=ii(()=>{n(i),o()})},s=()=>{e=!1,a()},c=t=>{if(t.target.draggable||t.button!==0)return;let n=t;n._virtualHandled||(n._virtualHandled=!0,e=!0)},l=t=>{if(e){let e=Dy(t,!1),{top:n,bottom:s}=r.getBoundingClientRect();e<=n?(i=-Ey(n-e),o()):e>=s?(i=Ey(e-s),o()):a()}};return r.addEventListener(`mousedown`,c),r.ownerDocument.addEventListener(`mouseup`,s),r.ownerDocument.addEventListener(`mousemove`,l),r.ownerDocument.addEventListener(`dragend`,s),()=>{r.removeEventListener(`mousedown`,c),r.ownerDocument.removeEventListener(`mouseup`,s),r.ownerDocument.removeEventListener(`mousemove`,l),r.ownerDocument.removeEventListener(`dragend`,s),a()}}},[e])}var Gre=10;function Kre(e,t,n,r,i,a,o,s){let c=C.useRef(),[l,u]=C.useState(null);return Vn(()=>{if(l&&l.times({...e}));return}a();let{targetAlign:s,originAlign:c,index:d,offset:f}=l,p=e.current.clientHeight,m=!1,h=s,g=null;if(p){let a=s||c,u=0,_=0,v=0,y=Math.min(t.length-1,d);for(let e=0;e<=y;e+=1){let a=i(t[e]);_=u;let o=n.get(a);v=_+(o===void 0?r:o),u=v}let b=a===`top`?f:p-f;for(let e=y;e>=0;--e){let r=i(t[e]),a=n.get(r);if(a===void 0){m=!0;break}if(b-=a,b<=0)break}switch(a){case`top`:g=_-f;break;case`bottom`:g=v-p+f;break;default:{let{scrollTop:t}=e.current,n=t+p;_n&&(h=`bottom`)}}g!==null&&o(g),g!==l.lastTop&&(m=!0)}m&&u({...l,times:l.times+1,targetAlign:h,lastTop:g})}},[l,e.current]),e=>{if(e==null){s();return}if(ii.cancel(c.current),typeof e==`number`)o(e);else if(e&&typeof e==`object`){let n,{align:r}=e;`index`in e?{index:n}=e:n=t.findIndex(t=>i(t)===e.key);let{offset:a=0}=e;u({times:0,index:n,offset:a,originAlign:r})}}}var Oy=C.forwardRef((e,t)=>{let{prefixCls:n,rtl:r,scrollOffset:i,scrollRange:a,onStartMove:o,onStopMove:s,onScroll:c,horizontal:l,spinSize:u,containerSize:d,style:f,thumbStyle:p,showScrollBar:m}=e,[h,g]=C.useState(!1),[_,v]=C.useState(null),[y,b]=C.useState(null),x=!r,S=C.useRef(),w=C.useRef(),[T,E]=C.useState(m),D=C.useRef(),O=()=>{m===!0||m===!1||(clearTimeout(D.current),E(!0),D.current=setTimeout(()=>{E(!1)},3e3))},k=a-d||0,A=d-u||0,j=C.useMemo(()=>i===0||k===0?0:i/k*A,[i,k,A]),M=e=>{e.stopPropagation(),e.preventDefault()},N=C.useRef({top:j,dragging:h,pageY:_,startTop:y});N.current={top:j,dragging:h,pageY:_,startTop:y};let P=e=>{g(!0),v(Dy(e,l)),b(N.current.top),o(),e.stopPropagation(),e.preventDefault()};C.useEffect(()=>{let e=e=>{e.preventDefault()},t=S.current,n=w.current;return t.addEventListener(`touchstart`,e,{passive:!1}),n.addEventListener(`touchstart`,P,{passive:!1}),()=>{t.removeEventListener(`touchstart`,e),n.removeEventListener(`touchstart`,P)}},[]);let F=C.useRef();F.current=k;let I=C.useRef();I.current=A,C.useEffect(()=>{if(h){let e,t=t=>{let{dragging:n,pageY:r,startTop:i}=N.current;ii.cancel(e);let a=S.current.getBoundingClientRect(),o=d/(l?a.width:a.height);if(n){let n=(Dy(t,l)-r)*o,a=i;!x&&l?a-=n:a+=n;let s=F.current,u=I.current,d=u?a/u:0,f=Math.ceil(d*s);f=Math.max(f,0),f=Math.min(f,s),e=ii(()=>{c(f,l)})}},n=()=>{g(!1),s()};return window.addEventListener(`mousemove`,t,{passive:!0}),window.addEventListener(`touchmove`,t,{passive:!0}),window.addEventListener(`mouseup`,n,{passive:!0}),window.addEventListener(`touchend`,n,{passive:!0}),()=>{window.removeEventListener(`mousemove`,t),window.removeEventListener(`touchmove`,t),window.removeEventListener(`mouseup`,n),window.removeEventListener(`touchend`,n),ii.cancel(e)}}},[h]),C.useEffect(()=>(O(),()=>{clearTimeout(D.current)}),[i]),C.useImperativeHandle(t,()=>({delayHidden:O}));let L=`${n}-scrollbar`,R={position:`absolute`,visibility:T?null:`hidden`},z={position:`absolute`,borderRadius:99,background:`var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))`,cursor:`pointer`,userSelect:`none`};return l?(Object.assign(R,{height:8,left:0,right:0,bottom:0}),Object.assign(z,{height:`100%`,width:u,[x?`left`:`right`]:j})):(Object.assign(R,{width:8,top:0,bottom:0,[x?`right`:`left`]:0}),Object.assign(z,{width:`100%`,height:u,top:j})),C.createElement(`div`,{ref:S,className:q(L,{[`${L}-horizontal`]:l,[`${L}-vertical`]:!l,[`${L}-visible`]:T}),style:{...R,...f},onMouseDown:M,onMouseMove:O},C.createElement(`div`,{ref:w,className:q(`${L}-thumb`,{[`${L}-thumb-moving`]:h}),style:{...z,...p},onMouseDown:P}))}),qre=20;function ky(e=0,t=0){let n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,qre),Math.floor(n)}var Jre=[],Yre={overflowY:`auto`,overflowAnchor:`none`};function Xre(e,t){let{prefixCls:n=`rc-virtual-list`,className:r,height:i,itemHeight:a,fullHeight:o=!0,style:s,data:c,children:l,itemKey:u,virtual:d,direction:f,scrollWidth:p,component:m=`div`,onScroll:h,onVirtualScroll:g,onVisibleChange:_,innerProps:v,extraRender:y,styles:b,showScrollBar:x=`optional`,...S}=e,w=C.useCallback(e=>typeof u==`function`?u(e):e?.[u],[u]),[T,E,D,O]=Hre(w,null,null),k=!!(d!==!1&&i&&a),A=C.useMemo(()=>Object.values(D.maps).reduce((e,t)=>e+t,0),[D.id,D.maps]),j=k&&c&&(Math.max(a*c.length,A)>i||!!p),M=f===`rtl`,N=q(n,{[`${n}-rtl`]:M},r),P=c||Jre,F=(0,C.useRef)(),I=(0,C.useRef)(),L=(0,C.useRef)(),[R,z]=(0,C.useState)(0),[B,V]=(0,C.useState)(0),[H,U]=(0,C.useState)(!1),W=()=>{U(!0)},ee=()=>{U(!1)},te={getKey:w};function ne(e){z(t=>{let n;n=typeof e==`function`?e(t):e;let r=_e(n);return F.current.scrollTop=r,r})}let re=(0,C.useRef)({start:0,end:P.length}),ie=(0,C.useRef)(),[ae]=Rre(P,w);ie.current=ae;let{scrollHeight:G,start:oe,end:K,offset:se}=C.useMemo(()=>{if(!k)return{scrollHeight:void 0,start:0,end:P.length-1,offset:void 0};if(!j)return{scrollHeight:I.current?.offsetHeight||0,start:0,end:P.length-1,offset:void 0};let e=0,t,n,r,o=P.length;for(let s=0;s=R&&t===void 0&&(t=s,n=e),u>R+i&&r===void 0&&(r=s),e=u}return t===void 0&&(t=0,n=0,r=Math.ceil(i/a)),r===void 0&&(r=P.length-1),r=Math.min(r+1,P.length-1),{scrollHeight:e,start:t,end:r,offset:n}},[j,k,R,P,O,i]);re.current.start=oe,re.current.end=K,C.useLayoutEffect(()=>{let e=D.getRecord();if(e.size===1){let t=Array.from(e.keys())[0],n=e.get(t),r=P[oe];if(r&&n===void 0&&w(r)===t){let e=D.get(t)-a;ne(t=>t+e)}}D.resetRecord()},[G]);let[ce,le]=C.useState({width:0,height:i}),ue=e=>{le({width:e.offsetWidth,height:e.offsetHeight})},de=(0,C.useRef)(),fe=(0,C.useRef)(),pe=C.useMemo(()=>ky(ce.width,p),[ce.width,p]),me=C.useMemo(()=>ky(ce.height,G),[ce.height,G]),he=G-i,ge=(0,C.useRef)(he);ge.current=he;function _e(e){let t=e;return Number.isNaN(ge.current)||(t=Math.min(t,ge.current)),t=Math.max(t,0),t}let ve=R<=0,ye=R>=he,be=B<=0,xe=B>=p,Se=Cy(ve,ye,be,xe),Ce=()=>({x:M?-B:B,y:R}),we=(0,C.useRef)(Ce()),Te=Rn(e=>{if(g){let t={...Ce(),...e};(we.current.x!==t.x||we.current.y!==t.y)&&(g(t),we.current=t)}});function Ee(e,t){let n=e;t?((0,Yf.flushSync)(()=>{V(n)}),Te()):ne(n)}function De(e){let{scrollTop:t}=e.currentTarget;t!==R&&ne(t),h?.(e),Te()}let Oe=e=>{let t=e,n=p?p-ce.width:0;return t=Math.max(t,0),t=Math.min(t,n),t},ke=Rn((e,t)=>{t?((0,Yf.flushSync)(()=>{V(t=>Oe(t+(M?-e:e)))}),Te()):ne(t=>t+e)}),[Ae,je]=zre(k,ve,ye,be,xe,!!p,ke);Ure(k,F,(e,t,n,r)=>{let i=r;return Se(e,t,n)?!1:!i||!i._virtualHandled?(i&&(i._virtualHandled=!0),Ae({preventDefault(){},deltaX:e?t:0,deltaY:e?0:t}),!0):!1}),Wre(j,F,e=>{ne(t=>t+e)}),Vn(()=>{function e(e){let t=ve&&e.detail<0,n=ye&&e.detail>0;k&&!t&&!n&&e.preventDefault()}let t=F.current;return t.addEventListener(`wheel`,Ae,{passive:!1}),t.addEventListener(`DOMMouseScroll`,je,{passive:!0}),t.addEventListener(`MozMousePixelScroll`,e,{passive:!1}),()=>{t.removeEventListener(`wheel`,Ae),t.removeEventListener(`DOMMouseScroll`,je),t.removeEventListener(`MozMousePixelScroll`,e)}},[k,ve,ye]),Vn(()=>{if(p){let e=Oe(B);V(e),Te({x:e})}},[ce.width,p]);let Me=()=>{de.current?.delayHidden(),fe.current?.delayHidden()},Ne=Kre(F,P,D,a,w,()=>E(!0),ne,Me);C.useImperativeHandle(t,()=>({nativeElement:L.current,getScrollInfo:Ce,scrollTo:e=>{function t(e){return e&&typeof e==`object`&&(`left`in e||`top`in e)}t(e)?(e.left!==void 0&&V(Oe(e.left)),Ne(e.top)):Ne(e)}})),Vn(()=>{_&&_(P.slice(oe,K+1),P)},[oe,K,P]);let Pe=Bre(P,w,D,a),Fe=y?.({start:oe,end:K,virtual:j,offsetX:B,offsetY:se,rtl:M,getSize:Pe}),Ie=Ire(P,oe,K,p,B,T,l,te),Le=null;i&&(Le={[o?`height`:`maxHeight`]:i,...Yre},k&&(Le.overflowY=`hidden`,p&&(Le.overflowX=`hidden`),H&&(Le.pointerEvents=`none`)));let Re={};return M&&(Re.dir=`rtl`),C.createElement(`div`,wh({ref:L,style:{...s,position:`relative`},className:N},Re,S),C.createElement(Gr,{onResize:ue},C.createElement(m,{className:`${n}-holder`,style:Le,ref:F,onScroll:De,onMouseEnter:Me},C.createElement(xy,{prefixCls:n,height:G,offsetX:B,offsetY:se,scrollWidth:p,onInnerResize:E,ref:I,innerProps:v,rtl:M,extra:Fe},Ie))),j&&G>i&&C.createElement(Oy,{ref:de,prefixCls:n,scrollOffset:R,scrollRange:G,rtl:M,onScroll:Ee,onStartMove:W,onStopMove:ee,spinSize:me,containerSize:ce.height,style:b?.verticalScrollBar,thumbStyle:b?.verticalScrollBarThumb,showScrollBar:x}),j&&p>ce.width&&C.createElement(Oy,{ref:fe,prefixCls:n,scrollOffset:B,scrollRange:p,rtl:M,onScroll:Ee,onStartMove:W,onStopMove:ee,spinSize:pe,containerSize:ce.width,horizontal:!0,style:b?.horizontalScrollBar,thumbStyle:b?.horizontalScrollBarThumb,showScrollBar:x}))}var Ay=C.forwardRef(Xre);Ay.displayName=`List`;var jy=Ay;function Zre(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}function My(){return My=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,id:r,open:i,multiple:a,mode:o,searchValue:s,toggleOpen:c,notFoundContent:l,onPopupScroll:u,showScrollBar:d,lockOptions:f}=Vv(),{maxCount:p,flattenOptions:m,onActiveValue:h,defaultActiveFirstOption:g,onSelect:_,menuItemSelectedIcon:v,rawValues:y,fieldNames:b,virtual:x,direction:S,listHeight:w,listItemHeight:T,optionRender:E,classNames:D,styles:O}=C.useContext(ey),k=`${n}-item`,A=qn(()=>m,[i,f],(e,t)=>t[0]&&!t[1]),j=C.useRef(null),M=C.useMemo(()=>a&&Gv(p)&&y?.size>=p,[a,p,y?.size]),N=e=>{e.preventDefault()},P=e=>{j.current?.scrollTo(typeof e==`number`?{index:e}:e)},F=C.useCallback(e=>o===`combobox`?!1:y.has(e),[o,[...y].toString(),y.size]),I=(e,t=1)=>{let n=A.length;for(let r=0;rI(0)),z=(e,t=!1)=>{R(e);let n={source:t?`keyboard`:`mouse`},r=A[e];if(!r){h(null,-1,n);return}h(r.value,e,n)};(0,C.useEffect)(()=>{z(g===!1?-1:I(0))},[A.length,s]);let B=C.useCallback(e=>o===`combobox`?String(e).toLowerCase()===s.toLowerCase():y.has(e),[o,s,[...y].toString(),y.size]);(0,C.useEffect)(()=>{let e;if(!a&&i&&y.size===1){let t=Array.from(y)[0],n=A.findIndex(({data:e})=>s?String(e.value).startsWith(s):e.value===t);n!==-1&&(z(n),e=setTimeout(()=>{P(n)}))}return i&&j.current?.scrollTo(void 0),()=>clearTimeout(e)},[i,s]);let V=e=>{e!==void 0&&_(e,{selected:!y.has(e)}),a||c(!1)};if(C.useImperativeHandle(t,()=>({onKeyDown:e=>{let{which:t,ctrlKey:n}=e;switch(t){case em.N:case em.P:case em.UP:case em.DOWN:{let e=0;if(t===em.UP?e=-1:t===em.DOWN?e=1:Zre()&&n&&(t===em.N?e=1:t===em.P&&(e=-1)),e!==0){let t=I(L+e,e);P(t),z(t,!0)}break}case em.TAB:case em.ENTER:{let t=A[L];if(!t||t.data.disabled)return V(void 0);!M||y.has(t.value)?V(t.value):V(void 0),i&&e.preventDefault();break}case em.ESC:c(!1),i&&e.stopPropagation()}},onKeyUp:()=>{},scrollTo:e=>{P(e)}})),A.length===0)return C.createElement(`div`,{role:`listbox`,id:`${r}_list`,className:`${k}-empty`,onMouseDown:N},l);let H=Object.keys(b).map(e=>b[e]),U=e=>e.label;function W(e,t){let{group:n}=e;return{role:n?`presentation`:`option`,id:`${r}_list_${t}`}}let ee=e=>{let t=A[e];if(!t)return null;let n=t.data||{},{value:r,disabled:i}=n,{group:a}=t,o=Hu(n,!0),s=U(t);return t?C.createElement(`div`,My({"aria-label":typeof s==`string`&&!a?s:null},o,{key:e},W(t,e),{"aria-selected":B(r),"aria-disabled":i}),r):null},te={role:`listbox`,id:`${r}_list`};return C.createElement(C.Fragment,null,x&&C.createElement(`div`,My({},te,{style:{height:0,width:0,overflow:`hidden`}}),ee(L-1),ee(L),ee(L+1)),C.createElement(jy,{itemKey:`key`,ref:j,data:A,height:w,itemHeight:T,fullHeight:!1,onMouseDown:N,onScroll:u,virtual:x,direction:S,innerProps:x?null:te,showScrollBar:d,className:D?.popup?.list,style:O?.popup?.list},(e,t)=>{let{group:n,groupOption:r,data:i,label:a,value:o}=e,{key:s}=i;if(n){let e=i.title??(Ny(a)?a.toString():void 0);return C.createElement(`div`,{className:q(k,`${k}-group`,i.className),title:e},a===void 0?s:a)}let{disabled:c,title:l,children:u,style:d,className:f,...p}=i,m=Cr(p,H),h=F(o),g=c||!h&&M,_=`${k}-option`,y=q(k,_,f,D?.popup?.listItem,{[`${_}-grouped`]:r,[`${_}-active`]:L===t&&!g,[`${_}-disabled`]:g,[`${_}-selected`]:h}),b=U(e),S=!v||typeof v==`function`||h,w=typeof b==`number`?b:b||o,T=Ny(w)?w.toString():void 0;return l!==void 0&&(T=l),C.createElement(`div`,My({},Hu(m),x?{}:W(e,t),{"aria-selected":x?void 0:B(o),"aria-disabled":g,className:y,title:T,onMouseMove:()=>{L===t||g||z(t)},onClick:()=>{g||V(o)},style:{...O?.popup?.listItem,...d}}),C.createElement(`div`,{className:`${_}-content`},typeof E==`function`?E(e,{index:t}):w),C.isValidElement(v)||h,S&&C.createElement(py,{className:`${k}-option-state`,customizeIcon:v,customizeIconProps:{value:o,disabled:g,isSelected:h}},h?`✓`:null))}))}),$re=((e,t)=>{let n=C.useRef({values:new Map,options:new Map});return[C.useMemo(()=>{let{values:r,options:i}=n.current,a=e.map(e=>e.label===void 0?{...e,label:r.get(e.value)?.label}:e),o=new Map,s=new Map;return a.forEach(e=>{o.set(e.value,e),s.set(e.value,t.get(e.value)||i.get(e.value))}),n.current.values=o,n.current.options=s,a},[e,t]),C.useCallback(e=>t.get(e)||n.current.options.get(e),[t])]});function Py(e,t){return ty(e).join(``).toUpperCase().includes(t)}var eie=((e,t,n,r,i)=>C.useMemo(()=>{if(!n||r===!1)return e;let{options:a,label:o,value:s}=t,c=[],l=typeof r==`function`,u=n.toUpperCase(),d=l?r:(e,t)=>i&&i.length?i.some(e=>Py(t[e],u)):t[a]?Py(t[o===`children`?`label`:o],u):Py(t[s],u),f=l?e=>qv(e):e=>e;return e.forEach(e=>{if(e[a]){if(d(n,f(e)))c.push(e);else{let t=e[a].filter(e=>d(n,f(e)));t.length&&c.push({...e,[a]:t})}return}d(n,f(e))&&c.push(e)}),c},[e,r,i,n,t]));function tie(e){let{key:t,props:{children:n,value:r,...i}}=e;return{key:t,value:r===void 0?t:r,children:n,...i}}function Fy(e,t=!1){return wr(e).map((e,n)=>{if(!C.isValidElement(e)||!e.type)return null;let{type:{isSelectOptGroup:r},key:i,props:{children:a,...o}}=e;return t||!r?tie(e):{key:`__RC_SELECT_GRP__${i===null?n:i}__`,label:i,...o,options:Fy(a)}}).filter(e=>e)}var nie=(e,t,n,r,i)=>C.useMemo(()=>{let a=e;e||(a=Fy(t));let o=new Map,s=new Map,c=(e,t,n)=>{n&&typeof n==`string`&&e.set(t[n],t)},l=(e,t=!1)=>{for(let a=0;a{c(s,u,e)}),c(s,u,i)):l(u[n.options],!0)}};return l(a),{options:a,valueOptions:o,labelOptions:s}},[e,t,n,r,i]);function Iy(e){let t=C.useRef();return t.current=e,C.useCallback((...e)=>t.current(...e),[])}function rie(e,t,n){let{filterOption:r,searchValue:i,optionFilterProp:a,filterSort:o,onSearch:s,autoClearSearchValue:c}=t;return C.useMemo(()=>{let t=typeof e==`object`,l={filterOption:r,searchValue:i,optionFilterProp:a,filterSort:o,onSearch:s,autoClearSearchValue:c,...t?e:{}};return[t||n===`combobox`||n===`tags`||n===`multiple`&&e===void 0?!0:e,l]},[n,e,r,i,a,o,s,c])}function Ly(){return Ly=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:n,mode:r,prefixCls:i=`rc-select`,backfill:a,fieldNames:o,showSearch:s,searchValue:c,onSearch:l,autoClearSearchValue:u,filterOption:d,optionFilterProp:f,filterSort:p,onSelect:m,onDeselect:h,onActive:g,popupMatchSelectWidth:_=!0,optionLabelProp:v,options:y,optionRender:b,children:x,defaultActiveFirstOption:S,menuItemSelectedIcon:w,virtual:T,direction:E,listHeight:D=200,listItemHeight:O=20,labelRender:k,value:A,defaultValue:j,labelInValue:M,onChange:N,maxCount:P,classNames:F,styles:I,...L}=e,[R,z]=rie(s,{searchValue:c,onSearch:l,autoClearSearchValue:u,filterOption:d,optionFilterProp:f,filterSort:p},r),{filterOption:B,searchValue:V,optionFilterProp:H,filterSort:U,onSearch:W,autoClearSearchValue:ee=!0}=z,te=C.useMemo(()=>H?Array.isArray(H)?H:[H]:[],[H]),ne=Bf(n),re=vy(r),ie=!!(!y&&x),ae=C.useMemo(()=>B===void 0&&r===`combobox`?!1:B,[B,r]),G=C.useMemo(()=>Kv(o,ie),[JSON.stringify(o),ie]),[oe,K]=Wn(``,V),se=oe||``,ce=nie(y,x,G,te,v),{valueOptions:le,labelOptions:ue,options:de}=ce,fe=C.useCallback(e=>ty(e).map(e=>{let t,n,r,i;aie(e)?t=e:(n=e.label,t=e.value);let a=le.get(t);return a&&(n===void 0&&(n=a?.[v||G.label]),r=a?.disabled,i=a?.title),{label:n,value:t,key:t,disabled:r,title:i}}),[G,v,le]),[pe,me]=Wn(j,A),[he,ge]=$re(C.useMemo(()=>{let e=fe(re&&pe===null?[]:pe);return r===`combobox`&&yre(e[0]?.value)?[]:e},[pe,fe,r,re]),le),_e=C.useMemo(()=>{if(!r&&he.length===1){let e=he[0];if(e.value===null&&(e.label===null||e.label===void 0))return[]}return he.map(e=>({...e,label:(typeof k==`function`?k(e):e.label)??e.value}))},[r,he,k]),ve=C.useMemo(()=>new Set(he.map(e=>e.value)),[he]);C.useEffect(()=>{if(r===`combobox`){let e=he[0]?.value;K(vre(e)?String(e):``)}},[he]);let ye=Iy((e,t)=>{let n=t??e;return{[G.value]:e,[G.label]:n}}),be=eie(C.useMemo(()=>{if(r!==`tags`)return de;let e=[...de],t=e=>le.has(e);return[...he].sort((e,t)=>e.value{let r=n.value;t(r)||e.push(ye(r,n.label))}),e},[ye,de,le,he,r]),G,se,ae,te),xe=C.useMemo(()=>{let e=e=>te.length?te.some(t=>e?.[t]===se):e?.value===se;return r!==`tags`||!se||be.some(t=>e(t))||be.some(e=>e[G.value]===se)?be:[ye(se),...be]},[ye,te,r,be,se,G]),Se=e=>[...e].sort((e,t)=>U(e,t,{searchValue:se})).map(e=>Array.isArray(e.options)?{...e,options:e.options.length>0?Se(e.options):e.options}:e),Ce=C.useMemo(()=>U?Se(xe):xe,[xe,U,se]),we=C.useMemo(()=>pre(Ce,{fieldNames:G,childrenAsData:ie}),[Ce,G,ie]),Te=e=>{let t=fe(e);if(me(t),N&&(t.length!==he.length||t.some((e,t)=>he[t]?.value!==e?.value))){let e=M?t.map(({label:e,value:t})=>({label:e,value:t})):t.map(e=>e.value),n=t.map(e=>qv(ge(e.value)));N(re?e:e[0],re?n:n[0])}},[Ee,De]=C.useState(null),[Oe,ke]=C.useState(0),Ae=S===void 0?r!==`combobox`:S,je=C.useRef(),Me=C.useCallback((e,t,{source:n=`keyboard`}={})=>{ke(t),a&&r===`combobox`&&e!==null&&n===`keyboard`&&De(String(e));let i=Promise.resolve().then(()=>{je.current===i&&g?.(e)});je.current=i},[a,r,g]),Ne=(e,t,n)=>{let r=()=>{let t=ge(e);return[M?{label:t?.[G.label],value:e}:e,qv(t)]};if(t&&m){let[e,t]=r();m(e,t)}else if(!t&&h&&n!==`clear`){let[e,t]=r();h(e,t)}},Pe=Iy((e,t)=>{let n,i=re?t.selected:!0;n=i?re?[...he,e]:[e]:he.filter(t=>t.value!==e),Te(n),Ne(e,i),r===`combobox`?De(``):(!vy||ee)&&(K(``),De(``))}),Fe=(e,t)=>{Te(e);let{type:n,values:r}=t;(n===`remove`||n===`clear`)&&r.forEach(e=>{Ne(e.value,!1,n)})},Ie=(e,t)=>{if(K(e),De(null),t.source===`submit`){let t=(e||``).trim();t&&(Te(Array.from(new Set([...ve,t]))),Ne(t,!0),K(``));return}t.source!==`blur`&&(r===`combobox`&&Te(e),W?.(e))},Le=e=>{let t=e;r!==`tags`&&(t=e.map(e=>ue.get(e)?.value).filter(e=>e!==void 0));let n=Array.from(new Set([...ve,...t]));Te(n),n.forEach(e=>{Ne(e,!0)})},Re=C.useMemo(()=>{let e=T!==!1&&_!==!1;return{...ce,flattenOptions:we,onActiveValue:Me,defaultActiveFirstOption:Ae,onSelect:Pe,menuItemSelectedIcon:w,rawValues:ve,fieldNames:G,virtual:e,direction:E,listHeight:D,listItemHeight:O,childrenAsData:ie,maxCount:P,optionRender:b,classNames:F,styles:I}},[P,ce,we,Me,Ae,Pe,w,ve,G,T,_,E,D,O,ie,b,F,I]);return C.createElement(ey.Provider,{value:Re},C.createElement(Pre,Ly({},L,{id:ne,prefixCls:i,ref:t,omitDomProps:iie,mode:r,classNames:F,styles:I,displayValues:_e,onDisplayValuesChange:Fe,maxCount:P,direction:E,showSearch:R,searchValue:se,onSearch:Ie,autoClearSearchValue:ee,onSearchSplit:Le,popupMatchSelectWidth:_,OptionList:Qre,emptyOptions:!we.length,activeValue:Ee,activeDescendantId:`${ne}_list_${Oe}`})))});Ry.Option=by,Ry.OptGroup=yy;var oie=Ry,zy=(e,t,n)=>q({[`${e}-status-success`]:t===`success`,[`${e}-status-warning`]:t===`warning`,[`${e}-status-error`]:t===`error`,[`${e}-status-validating`]:t===`validating`,[`${e}-has-feedback`]:n}),By=(e,t)=>t||e,Vy=()=>{let[,e]=qc(),[t]=ld(`Empty`),n=new zs(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return C.createElement(`svg`,{style:n,width:`184`,height:`152`,viewBox:`0 0 184 152`,xmlns:`http://www.w3.org/2000/svg`},C.createElement(`title`,null,t?.description||`Empty`),C.createElement(`g`,{fill:`none`,fillRule:`evenodd`},C.createElement(`g`,{transform:`translate(24 31.7)`},C.createElement(`ellipse`,{fillOpacity:`.8`,fill:`#F5F5F7`,cx:`67.8`,cy:`106.9`,rx:`67.8`,ry:`12.7`}),C.createElement(`path`,{fill:`#aeb8c2`,d:`M122 69.7 98.1 40.2a6 6 0 0 0-4.6-2.2H42.1a6 6 0 0 0-4.6 2.2l-24 29.5V85H122z`}),C.createElement(`path`,{fill:`#f5f5f7`,d:`M33.8 0h68a4 4 0 0 1 4 4v93.3a4 4 0 0 1-4 4h-68a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4`}),C.createElement(`path`,{fill:`#dce0e6`,d:`M42.7 10h50.2a2 2 0 0 1 2 2v25a2 2 0 0 1-2 2H42.7a2 2 0 0 1-2-2V12a2 2 0 0 1 2-2m.2 39.8h49.8a2.3 2.3 0 1 1 0 4.5H42.9a2.3 2.3 0 0 1 0-4.5m0 11.7h49.8a2.3 2.3 0 1 1 0 4.6H42.9a2.3 2.3 0 0 1 0-4.6m79 43.5a7 7 0 0 1-6.8 5.4H20.5a7 7 0 0 1-6.7-5.4l-.2-1.8V69.7h26.3c2.9 0 5.2 2.4 5.2 5.4s2.4 5.4 5.3 5.4h34.8c2.9 0 5.3-2.4 5.3-5.4s2.3-5.4 5.2-5.4H122v33.5q0 1-.2 1.8`})),C.createElement(`path`,{fill:`#dce0e6`,d:`m149.1 33.3-6.8 2.6a1 1 0 0 1-1.3-1.2l2-6.2q-4.1-4.5-4.2-10.4c0-10 10.1-18.1 22.6-18.1S184 8.1 184 18.1s-10.1 18-22.6 18q-6.8 0-12.3-2.8`}),C.createElement(`g`,{fill:`#fff`,transform:`translate(149.7 15.4)`},C.createElement(`circle`,{cx:`20.7`,cy:`3.2`,r:`2.8`}),C.createElement(`path`,{d:`M5.7 5.6H0L2.9.7zM9.3.7h5v5h-5z`}))))},Hy=()=>{let[,e]=qc(),[t]=ld(`Empty`),{colorFill:n,colorFillTertiary:r,colorFillQuaternary:i,colorBgContainer:a}=e,{borderColor:o,shadowColor:s,contentColor:c}=(0,C.useMemo)(()=>({borderColor:new zs(n).onBackground(a).toHexString(),shadowColor:new zs(r).onBackground(a).toHexString(),contentColor:new zs(i).onBackground(a).toHexString()}),[n,r,i,a]);return C.createElement(`svg`,{width:`64`,height:`41`,viewBox:`0 0 64 41`,xmlns:`http://www.w3.org/2000/svg`},C.createElement(`title`,null,t?.description||`Empty`),C.createElement(`g`,{transform:`translate(0 1)`,fill:`none`,fillRule:`evenodd`},C.createElement(`ellipse`,{fill:s,cx:`32`,cy:`33`,rx:`32`,ry:`7`}),C.createElement(`g`,{fillRule:`nonzero`,stroke:o},C.createElement(`path`,{d:`M55 12.8 44.9 1.3Q44 0 42.9 0H21.1q-1.2 0-2 1.3L9 12.8V22h46z`}),C.createElement(`path`,{d:`M41.6 16c0-1.7 1-3 2.2-3H55v18.1c0 2.2-1.3 3.9-3 3.9H12c-1.7 0-3-1.7-3-3.9V13h11.2c1.2 0 2.2 1.3 2.2 3s1 2.9 2.2 2.9h14.8c1.2 0 2.2-1.4 2.2-3`,fill:c}))))},Uy=e=>{let{componentCls:t,margin:n,marginXS:r,marginXL:i,fontSize:a,lineHeight:o}=e;return{[t]:{marginInline:r,fontSize:a,lineHeight:o,textAlign:`center`,[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:`100%`},svg:{maxWidth:`100%`,height:`100%`,margin:`auto`}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:i,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},Wy=il(`Empty`,e=>{let{componentCls:t,controlHeightLG:n,calc:r}=e;return Uy(_s(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()}))}),Gy=C.createElement(Vy,null),Ky=C.createElement(Hy,null),qy=e=>{let{className:t,rootClassName:n,prefixCls:r,image:i,description:a,children:o,imageStyle:s,style:c,classNames:l,styles:u,...d}=e,{getPrefixCls:f,direction:p,className:m,style:h,classNames:g,styles:_,image:v}=ui(`empty`),y=f(`empty`,r),[b,x]=Wy(y),[S,w]=Id([g,l],[_,u],{props:e}),[T]=ld(`Empty`),E=a===void 0?T?.description:a,D=typeof E==`string`?E:`empty`,O=i??v??Gy,k=null;return k=typeof O==`string`?C.createElement(`img`,{draggable:!1,alt:D,src:O}):O,C.createElement(`div`,{className:q(b,x,y,m,{[`${y}-normal`]:O===Ky,[`${y}-rtl`]:p===`rtl`},t,n,S.root),style:{...w.root,...h,...c},...d},C.createElement(`div`,{className:q(`${y}-image`,S.image),style:{...s,...w.image}},k),E&&C.createElement(`div`,{className:q(`${y}-description`,S.description),style:w.description},E),o&&C.createElement(`div`,{className:q(`${y}-footer`,S.footer),style:w.footer},o))};qy.PRESENTED_IMAGE_DEFAULT=Gy,qy.PRESENTED_IMAGE_SIMPLE=Ky;var Jy=e=>{let{componentName:t}=e,{getPrefixCls:n}=(0,C.useContext)(si),r=n(`empty`);switch(t){case`Table`:case`List`:return C.createElement(qy,{image:qy.PRESENTED_IMAGE_SIMPLE});case`Select`:case`TreeSelect`:case`Cascader`:case`Transfer`:case`Mentions`:return C.createElement(qy,{image:qy.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case`Table.filter`:return null;default:return C.createElement(qy,null)}},Yy=(e,t,n)=>{let{variant:r,[e]:i}=C.useContext(si),a=C.useContext(H_),o=i?.variant,s;s=t===void 0?n===!1?`borderless`:a??o??r??`outlined`:t;let c=oi.includes(s);return[s,c]},Xy=e=>{let t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e===`scroll`?`scroll`:`visible`,dynamicInset:!0};return{bottomLeft:{...t,points:[`tl`,`bl`],offset:[0,4]},bottomRight:{...t,points:[`tr`,`br`],offset:[0,4]},topLeft:{...t,points:[`bl`,`tl`],offset:[0,-4]},topRight:{...t,points:[`br`,`tr`],offset:[0,-4]}}};function Zy(e,t){return e||Xy(t)}var Qy=e=>{let{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:i}=e;return{position:`relative`,display:`block`,minHeight:t,padding:i,color:e.colorText,fontWeight:`normal`,fontSize:n,lineHeight:r,boxSizing:`border-box`}},$y=e=>{let{antCls:t,componentCls:n}=e,r=`${n}-item`,i=`&${t}-slide-up-enter${t}-slide-up-enter-active`,a=`&${t}-slide-up-appear${t}-slide-up-appear-active`,o=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`,c=`${r}-option-selected`;return[{[`${n}-dropdown`]:{...Yc(e),position:`absolute`,top:-9999,zIndex:e.zIndexPopup,boxSizing:`border-box`,padding:e.paddingXXS,overflow:`hidden`,fontSize:e.fontSize,fontVariant:`initial`,backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:`none`,boxShadow:e.boxShadowSecondary,[` ${i}${s}bottomLeft, ${a}${s}bottomLeft - `]:{animationName:rh},[` + `]:{animationName:sh},[` ${i}${s}topLeft, ${a}${s}topLeft, ${i}${s}topRight, ${a}${s}topRight - `]:{animationName:ah},[`${o}${s}bottomLeft`]:{animationName:ih},[` + `]:{animationName:lh},[`${o}${s}bottomLeft`]:{animationName:ch},[` ${o}${s}topLeft, ${o}${s}topRight - `]:{animationName:oh},"&-hidden":{display:`none`},[r]:{...rb(e),cursor:`pointer`,transition:`background-color ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:`default`},"&-option":{display:`flex`,"&-content":{flex:`auto`,...Jc},"&-state":{flex:`none`,display:`flex`,alignItems:`center`},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:`not-allowed`},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":{...rb(e),color:e.colorTextDisabled}},[`${c}:has(+ ${c})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${c}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:`rtl`}}},sh(e,`slide-up`),sh(e,`slide-down`),nh(e,`move-up`),nh(e,`move-down`)]},ab=e=>{let{componentCls:t}=e;return{[`&${t}-customize`]:{border:0,padding:0,fontSize:`inherit`,lineHeight:`inherit`,[`${t}-placeholder`]:{display:`none`},[`${t}-content`]:{margin:0,padding:0,"&-value":{display:`none`}}}}},ob=4,sb=e=>{let{componentCls:t,calc:n,iconCls:r,paddingXS:i,paddingXXS:a,INTERNAL_FIXED_ITEM_MARGIN:o,lineWidth:s,colorIcon:c,colorIconHover:l,inputPaddingHorizontalBase:u,antCls:d}=e,[f,p]=sl(d,`select`);return{"&-multiple":{[f(`multi-item-background`)]:e.multipleItemBg,[f(`multi-item-border-color`)]:`transparent`,[f(`multi-item-border-radius`)]:e.borderRadiusSM,[f(`multi-item-height`)]:e.multipleItemHeight,[f(`multi-padding-base`)]:`calc((${p(`height`)} - ${p(`multi-item-height`)}) / 2)`,[f(`multi-padding-vertical`)]:`calc(${p(`multi-padding-base`)} - ${o} - ${s})`,[f(`multi-item-padding-horizontal`)]:`calc(${u} - ${p(`multi-padding-vertical`)} - ${s} * 2)`,paddingBlock:p(`multi-padding-vertical`),paddingInlineStart:`calc(${p(`multi-padding-base`)} - ${s})`,[`${t}-prefix`]:{marginInlineStart:p(`multi-item-padding-horizontal`)},[`${t}-prefix + ${t}-content`]:{[`${t}-placeholder`]:{insetInlineStart:0},[`${t}-content-item${t}-content-item-suffix`]:{marginInlineStart:0}},[`${t}-placeholder`]:{position:`absolute`,lineHeight:p(`line-height`),insetInlineStart:p(`multi-item-padding-horizontal`),width:`calc(100% - ${p(`multi-item-padding-horizontal`)})`,top:`50%`,transform:`translateY(-50%)`},[`${t}-content`]:{flexWrap:`wrap`,alignItems:`center`,lineHeight:1,"&-item-prefix":{height:p(`font-size`)},"&-item":{lineHeight:1,maxWidth:`calc(100% - ${ob}px)`},[`${t}-content-item-prefix + ${t}-content-item-suffix, - ${t}-content-item-suffix:first-child`]:{marginInlineStart:p(`multi-item-padding-horizontal`)},[`${t}-selection-item`]:{lineHeight:`calc(${p(`multi-item-height`)} - ${s} * 2)`,border:`${s} solid ${p(`multi-item-border-color`)}`,display:`flex`,marginBlock:o,marginInlineEnd:n(o).mul(2).equal(),background:p(`multi-item-background`),borderRadius:p(`multi-item-border-radius`),paddingInlineStart:i,paddingInlineEnd:a,transition:[`height`,`line-height`,`padding`].map(t=>`${t} ${e.motionDurationSlow}`).join(`,`),"&-content":{...Jc,marginInlineEnd:a},"&-remove":{...Xc(),display:`inline-flex`,alignItems:`center`,color:c,fontWeight:`bold`,fontSize:10,lineHeight:`inherit`,cursor:`pointer`,[`> ${r}`]:{verticalAlign:`-0.2em`},"&:hover":{color:l}}},[`${t}-input`]:{lineHeight:n(o).mul(2).add(p(`multi-item-height`)).equal(),width:`calc(var(--select-input-width, 0) * 1px)`,minWidth:ob,maxWidth:`100%`,transition:`line-height ${e.motionDurationSlow}`}},[`&${t}-sm`]:{[f(`multi-item-height`)]:e.multipleItemHeightSM,[f(`multi-item-border-radius`)]:e.borderRadiusXS},[`&${t}-lg`]:{[f(`multi-item-height`)]:e.multipleItemHeightLG,[f(`multi-item-border-radius`)]:e.borderRadius},[`&${t}-filled`]:{[f(`multi-item-border-color`)]:e.colorSplit,[f(`multi-item-background`)]:e.colorBgContainer,[`&${t}-disabled`]:{[f(`multi-item-border-color`)]:`transparent`}}}}},cb=(e,t)=>{let{componentCls:n,antCls:r}=e,[i]=sl(r,`select`),{border:a,borderHover:o,borderActive:s,borderOutline:c}=t,l=t.background||e.selectorBg||e.colorBgContainer;return{[i(`border-color`)]:a,[i(`background-color`)]:l,[i(`color`)]:t.color||e.colorText,[`&:not(${n}-disabled)`]:{"&:hover":{[i(`border-color`)]:o,[i(`background-color`)]:t.backgroundHover||l},[`&${n}-focused`]:{[i(`border-color`)]:s,[i(`background-color`)]:t.backgroundActive||l,boxShadow:`0 0 0 ${J(e.controlOutlineWidth)} ${c}`}},[`&${n}-disabled`]:{[i(`border-color`)]:t.borderDisabled||t.border,[i(`background-color`)]:t.backgroundDisabled||t.background}}},lb=(e,t,n,r={},i={},a)=>{let{componentCls:o}=e;return{[`&${o}-${t}`]:[cb(e,n),{[`&${o}-status-error`]:cb(e,{...n,color:r.color||e.colorError,...r}),[`&${o}-status-warning`]:cb(e,{...n,color:i.color||e.colorWarning,...i})},a]}},ub=e=>{let{componentCls:t,fontHeight:n,controlHeight:r,iconCls:i,antCls:a,calc:o}=e,[s,c]=sl(a,`select`);return{[t]:[{[s(`border-radius`)]:e.borderRadius,[s(`border-color`)]:`#000`,[s(`border-size`)]:e.lineWidth,[s(`background-color`)]:e.colorBgContainer,[s(`font-size`)]:e.fontSize,[s(`line-height`)]:e.lineHeight,[s(`font-height`)]:n,[s(`color`)]:e.colorText,[s(`height`)]:r,[s(`padding-horizontal`)]:o(e.paddingSM).sub(e.lineWidth).equal(),[s(`padding-vertical`)]:`calc((${c(`height`)} - ${c(`font-height`)}) / 2 - ${c(`border-size`)})`,...Yc(e,!0),display:`inline-flex`,flexWrap:`nowrap`,position:`relative`,transition:`all ${e.motionDurationSlow}`,alignItems:`flex-start`,outline:0,cursor:`pointer`,borderRadius:c(`border-radius`),borderWidth:c(`border-size`),borderStyle:e.lineType,borderColor:c(`border-color`),background:c(`background-color`),fontSize:c(`font-size`),lineHeight:c(`line-height`),color:c(`color`),paddingInline:c(`padding-horizontal`),paddingBlock:c(`padding-vertical`),[`${t}-prefix`]:{flex:`none`,lineHeight:1},[`${t}-placeholder`]:{...Jc,color:e.colorTextPlaceholder,pointerEvents:`none`,zIndex:1},[`${t}-content`]:{flex:`auto`,minWidth:0,position:`relative`,display:`flex`,marginInlineEnd:o(e.paddingXXS).mul(1.5).equal(),"&:before":{content:`"\\a0"`,width:0,overflow:`hidden`},"&-value":{visibility:`inherit`},"input[readonly]":{cursor:`inherit`,caretColor:`transparent`}},[`${t}-suffix`]:{flex:`none`,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,"> :not(:last-child)":{marginInlineEnd:e.marginXS}},[`${t}-prefix, ${t}-suffix`]:{alignSelf:`center`,[i]:{verticalAlign:`top`}},"&-disabled":{background:e.colorBgContainerDisabled,color:e.colorTextDisabled,cursor:`not-allowed`,input:{cursor:`not-allowed`}},"&-sm":{[s(`height`)]:e.controlHeightSM,[s(`padding-horizontal`)]:o(e.paddingXS).sub(e.lineWidth).equal(),[s(`border-radius`)]:e.borderRadiusSM,[`${t}-clear`]:{insetInlineEnd:c(`padding-horizontal`)}},"&-lg":{[s(`height`)]:e.controlHeightLG,[s(`font-size`)]:e.fontSizeLG,[s(`line-height`)]:e.lineHeightLG,[s(`font-height`)]:e.fontHeightLG,[s(`border-radius`)]:e.borderRadiusLG}},{[`&:not(${t}-customize)`]:{[`${t}-input`]:{outline:`none`,background:`transparent`,appearance:`none`,border:0,margin:0,padding:0,color:c(`color`),"&::-webkit-search-cancel-button":{display:`none`,appearance:`none`}}}},{[`&-single:not(${t}-customize)`]:{[`${t}-input`]:{position:`absolute`,inset:0,lineHeight:`calc(${c(`font-height`)} + ${c(`padding-vertical`)} * 2)`},[`${t}-content`]:{...Jc,alignSelf:`center`,"&-has-value":{display:`block`,"&:before":{display:`none`}},"&-has-search-value":{color:`transparent`},"&-value":{transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,zIndex:1}},[`&${t}-open ${t}-content`]:{color:e.colorTextPlaceholder,"&-has-search-value":{color:`transparent`}}}},{[`&-show-search:not(${t}-customize-input):not(${t}-disabled)`]:{cursor:`text`}},sb(e),lb(e,`outlined`,{border:e.colorBorder,borderHover:e.hoverBorderColor,borderActive:e.activeBorderColor,borderOutline:e.activeOutlineColor,borderDisabled:e.colorBorderDisabled},{border:e.colorError,borderHover:e.colorErrorHover,borderActive:e.colorError,borderOutline:e.colorErrorOutline},{border:e.colorWarning,borderHover:e.colorWarningHover,borderActive:e.colorWarning,borderOutline:e.colorWarningOutline}),lb(e,`filled`,{border:`transparent`,borderHover:`transparent`,borderActive:e.activeBorderColor,borderOutline:`transparent`,borderDisabled:e.colorBorderDisabled,background:e.colorFillTertiary,backgroundHover:e.colorFillSecondary,backgroundActive:e.colorBgContainer},{background:e.colorErrorBg,backgroundHover:e.colorErrorBgHover,borderActive:e.colorError},{background:e.colorWarningBg,backgroundHover:e.colorWarningBgHover,borderActive:e.colorWarning}),lb(e,`borderless`,{border:`transparent`,borderHover:`transparent`,borderActive:`transparent`,borderOutline:`transparent`,background:`transparent`}),lb(e,`underlined`,{border:e.colorBorder,borderHover:e.hoverBorderColor,borderActive:e.activeBorderColor,borderOutline:`transparent`},{border:e.colorError,borderHover:e.colorErrorHover,borderActive:e.colorError},{border:e.colorWarning,borderHover:e.colorWarningHover,borderActive:e.colorWarning},{borderRadius:0,borderTopColor:`transparent`,borderInlineColor:`transparent`}),ab(e)]}},db=e=>{let{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:i,controlHeightSM:a,controlHeightLG:o,paddingXXS:s,controlPaddingHorizontal:c,zIndexPopupBase:l,colorText:u,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:p,colorBgContainer:m,colorFillSecondary:h,colorBgContainerDisabled:g,colorTextDisabled:_,colorPrimaryHover:v,colorPrimary:y,controlOutline:b}=e,x=s*2,S=r*2,C=Math.min(i-x,i-S),w=Math.min(a-x,a-S),T=Math.min(o-x,o-S);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:l+50,optionSelectedColor:u,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:p,optionPadding:`${(i-t*n)/2}px ${c}px`,optionFontSize:t,optionLineHeight:n,optionHeight:i,selectorBg:m,clearBg:m,singleItemHeightLG:o,multipleItemBg:h,multipleItemBorderColor:`transparent`,multipleItemHeight:C,multipleItemHeightSM:w,multipleItemHeightLG:T,multipleSelectorBgDisabled:g,multipleItemColorDisabled:_,multipleItemBorderColorDisabled:`transparent`,showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25),hoverBorderColor:v,activeBorderColor:y,activeOutlineColor:b,selectAffixPadding:s}},fb=e=>{let{antCls:t,componentCls:n,motionDurationMid:r,inputPaddingHorizontalBase:i}=e,a={[`${n}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:`50%`}};return{[n]:{...Yc(e),[`${n}-selection-item`]:{flex:1,fontWeight:`normal`,position:`relative`,userSelect:`none`,...Jc,[`> ${t}-typography`]:{display:`inline`}},[`${n}-prefix`]:{flex:`none`,marginInlineEnd:e.selectAffixPadding},[`${n}-clear`]:{position:`absolute`,top:`50%`,insetInlineStart:`auto`,insetInlineEnd:i,zIndex:1,display:`inline-block`,width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:`normal`,lineHeight:1,textAlign:`center`,textTransform:`none`,cursor:`pointer`,opacity:0,transition:[`color`,`opacity`].map(e=>`${e} ${r} ease`).join(`, `),textRendering:`auto`,transform:`translateZ(0)`,"&:before":{display:`block`},"&:hover":{color:e.colorIcon}},"@media(hover:none)":a,"&:hover":a},[`${n}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(i).add(e.fontSize).add(e.paddingXS).equal()}}}}}},pb=e=>{let{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:`100%`}}},fb(e),ib(e),{[`${t}-rtl`]:{direction:`rtl`}},Jh(e,{focusElCls:`${t}-focused`})]},mb=il(`Select`,(e,{rootPrefixCls:t})=>{let n=_s(e,{rootPrefixCls:t,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(e.lineWidth).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[pb(n),ub(n)]},db,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}}),hb={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z`}}]},name:`check`,theme:`outlined`};function gb(){return gb=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gb({},e,{ref:t,icon:hb}))),vb={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z`}}]},name:`down`,theme:`outlined`};function yb(){return yb=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yb({},e,{ref:t,icon:vb}))),xb={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z`}}]},name:`search`,theme:`outlined`};function Sb(){return Sb=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Sb({},e,{ref:t,icon:xb})));function wb({suffixIcon:e,clearIcon:t,menuItemSelectedIcon:n,removeIcon:r,loading:i,loadingIcon:a,multiple:o,hasFeedback:s,showSuffixIcon:c,feedbackIcon:l,showArrow:u,componentName:d}){let f=t??C.createElement(Il,null),p=t=>e===null&&!s&&!u?null:C.createElement(C.Fragment,null,c!==!1&&t,s&&l),m=null;m=e===void 0?i?p(a??C.createElement(dm,{spin:!0})):({open:e,showSearch:t})=>p(e&&t?C.createElement(Cb,null):C.createElement(bb,null)):p(e);let h=null;h=n===void 0?o?C.createElement(_b,null):null:n;let g=null;return g=r===void 0?C.createElement(zl,null):r,{clearIcon:f,suffixIcon:m,itemIcon:h,removeIcon:g}}function Tb(e){return C.useMemo(()=>{if(e)return(...t)=>C.createElement(I_,{space:!0},e.apply(void 0,t))},[e])}function Eb(e,t){return t===void 0?e!==null:t}var Db=`SECRET_COMBOBOX_MODE_DO_NOT_USE`,Ob=C.forwardRef((e,t)=>{let{prefixCls:n,bordered:r,className:i,rootClassName:a,getPopupContainer:o,popupClassName:s,dropdownClassName:c,listHeight:l=256,placement:u,listItemHeight:d,size:f,disabled:p,notFoundContent:m,status:h,builtinPlacements:g,dropdownMatchSelectWidth:_,popupMatchSelectWidth:v,direction:y,style:b,allowClear:x,variant:S,popupStyle:w,dropdownStyle:T,transitionName:E,tagRender:D,maxCount:O,prefix:k,dropdownRender:A,popupRender:j,onDropdownVisibleChange:M,onOpenChange:N,styles:P,classNames:F,...I}=e,{getPopupContainer:L,getPrefixCls:R,renderEmpty:z,direction:B,virtual:V,popupMatchSelectWidth:H,popupOverflow:U}=C.useContext(si),{showSearch:W,style:ee,styles:te,className:ne,classNames:re}=ui(`select`),[,ie]=qc(),ae=d??ie?.controlHeight,G=R(`select`,n),oe=R(),K=y??B,{compactSize:se,compactItemClassnames:ce}=Im(G,K),[le,ue]=eb(`select`,S,r),de=xf(G),[fe,pe]=mb(G,de),me=C.useMemo(()=>{let{mode:t}=e;if(t!==`combobox`)return t===Db?`combobox`:t},[e.mode]),he=me===`multiple`||me===`tags`,ge=Eb(e.suffixIcon,e.showArrow),_e=v??_??H,ve=Tb(j||A),ye=N||M,{status:be,hasFeedback:xe,isFormItemInput:Se,feedbackIcon:Ce}=C.useContext(N_),we=Yy(be,h),Te;Te=m===void 0?me===`combobox`?null:z?.(`Select`)||C.createElement($y,{componentName:`Select`}):m;let{suffixIcon:Ee,itemIcon:De,removeIcon:Oe,clearIcon:ke}=wb({...I,multiple:he,hasFeedback:xe,feedbackIcon:Ce,showSuffixIcon:ge,prefixCls:G,componentName:`Select`}),Ae=x===!0?{clearIcon:ke}:x,je=Cr(I,[`suffixIcon`,`itemIcon`]),Me=Pm(e=>f??se??e),Ne=C.useContext(Bp),Pe=p??Ne,Fe={...e,variant:le,status:we,disabled:Pe,size:Me},[Ie,Le]=Id([re,F],[te,P],{props:Fe},{popup:{_default:`root`}}),Re=q(Ie.popup?.root,s,c,{[`${G}-dropdown-${K}`]:K===`rtl`},a,pe,de,fe),ze={...Le.popup?.root,...w??T},Be=q({[`${G}-lg`]:Me===`large`,[`${G}-sm`]:Me===`small`,[`${G}-rtl`]:K===`rtl`,[`${G}-${le}`]:ue,[`${G}-in-form-item`]:Se},Jy(G,we,xe),ce,ne,i,Ie.root,a,pe,de,fe),Ve=C.useMemo(()=>u===void 0?K===`rtl`?`bottomRight`:`bottomLeft`:u,[u,K]),[He]=Xd(`SelectLike`,Le.popup?.root?.zIndex??ze?.zIndex);return C.createElement(Zre,{ref:t,virtual:V,classNames:Ie,styles:Le,showSearch:W,...je,style:{...Le.root,...ee,...b},popupMatchSelectWidth:_e,transitionName:km(oe,`slide-up`,E),builtinPlacements:nb(g,U),listHeight:l,listItemHeight:ae,mode:me,prefixCls:G,placement:Ve,direction:K,prefix:k,suffixIcon:Ee,menuItemSelectedIcon:De,removeIcon:Oe,allowClear:Ae,notFoundContent:Te,className:Be,getPopupContainer:o||L,popupClassName:Re,disabled:Pe,popupStyle:{...Le.popup?.root,...ze,zIndex:He},maxCount:he?O:void 0,tagRender:he?D:void 0,popupRender:ve,onPopupVisibleChange:ye})}),kb=Rv(Ob,`popupAlign`);Ob.SECRET_COMBOBOX_MODE_DO_NOT_USE=Db,Ob.Option=ky,Ob.OptGroup=Oy,Ob._InternalPanelDoNotUseOrYouWillBeFired=kb;var Ab=[`xxxl`,`xxl`,`xl`,`lg`,`md`,`sm`,`xs`],jb=[].concat(Ab).reverse(),nie=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`,xxxl:`(min-width: ${e.screenXXXL}px)`}),rie=e=>{let t=e,n=[].concat(Ab).reverse();return n.forEach((e,r)=>{let i=e.toUpperCase(),a=`screen${i}Min`,o=`screen${i}`;if(!(t[a]<=t[o]))throw Error(`${a}<=${o} fails : !(${t[a]}<=${t[o]})`);if(r{if(t){for(let n of Ab)if(e[n]&&t?.[n]!==void 0)return t[n]}},iie=()=>{let[,e]=qc(),t=nie(rie(e));return C.useMemo(()=>{let e=new Map,n=-1,r={};return{responsiveMap:t,matchHandlers:{},dispatch(t){return r=t,e.forEach(e=>{e(r)}),e.size>=1},subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},register(){Object.entries(t).forEach(([e,t])=>{let n=({matches:t})=>{this.dispatch({...r,[e]:t})},i=window.matchMedia(t);typeof i?.addEventListener==`function`&&i.addEventListener(`change`,n),this.matchHandlers[t]={mql:i,listener:n},n(i)})},unregister(){Object.values(t).forEach(e=>{let t=this.matchHandlers[e];typeof t?.mql?.removeEventListener==`function`&&t.mql.removeEventListener(`change`,t?.listener)}),e.clear()}}},[t])};function Nb(e=!0,t={}){let n=(0,C.useRef)(t),[,r]=Dd(),i=iie();return Vn(()=>{let t=i.subscribe(t=>{n.current=t,e&&r()});return()=>i.unsubscribe(t)},[]),n.current}var Pb=C.createContext({}),aie=e=>{let{antCls:t,componentCls:n,iconCls:r,avatarBg:i,avatarColor:a,containerSize:o,containerSizeLG:s,containerSizeSM:c,textFontSize:l,textFontSizeLG:u,textFontSizeSM:d,iconFontSize:f,iconFontSizeLG:p,iconFontSizeSM:m,borderRadius:h,borderRadiusLG:g,borderRadiusSM:_,lineWidth:v,lineType:y}=e,b=(e,t,i,a)=>({width:e,height:e,borderRadius:`50%`,fontSize:t,[`&${n}-square`]:{borderRadius:a},[`&${n}-icon`]:{fontSize:i,[`> ${r}`]:{margin:0}}});return{[n]:{...Yc(e),position:`relative`,display:`inline-flex`,justifyContent:`center`,alignItems:`center`,overflow:`hidden`,color:a,whiteSpace:`nowrap`,textAlign:`center`,verticalAlign:`middle`,background:i,border:`${J(v)} ${y} transparent`,"&-image":{background:`transparent`},[`${t}-image-img`]:{display:`block`},...b(o,l,f,h),"&-lg":{...b(s,u,p,g)},"&-sm":{...b(c,d,m,_)},"> img":{display:`block`,width:`100%`,height:`100%`,objectFit:`cover`}}}},oie=e=>{let{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:i}=e;return{[`${t}-group`]:{display:`inline-flex`,[t]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:i}}}},Fb=il(`Avatar`,e=>{let{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=_s(e,{avatarBg:n,avatarColor:t});return[aie(r),oie(r)]},e=>{let{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:i,fontSizeLG:a,fontSizeXL:o,fontSizeHeading3:s,marginXS:c,marginXXS:l,colorBorderBg:u}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:i,textFontSizeLG:i,textFontSizeSM:i,iconFontSize:Math.round((a+o)/2),iconFontSizeLG:s,iconFontSizeSM:i,groupSpace:l,groupOverlapping:-c,groupBorderColor:u}}),Ib=C.forwardRef((e,t)=>{let{prefixCls:n,shape:r,size:i,src:a,srcSet:o,icon:s,className:c,rootClassName:l,style:u,alt:d,draggable:f,children:p,crossOrigin:m,gap:h=4,onError:g,..._}=e,[v,y]=C.useState(1),[b,x]=C.useState(!1),[S,w]=C.useState(!0),T=C.useRef(null),E=C.useRef(null),D=er(t,T),{getPrefixCls:O,className:k,style:A}=ui(`avatar`),j=C.useContext(Pb),M=()=>{if(!E.current||!T.current)return;let e=E.current.offsetWidth,t=T.current.offsetWidth;e!==0&&t!==0&&h*2{x(!0)},[]),C.useEffect(()=>{w(!0),y(1)},[a]),C.useEffect(M,[h]);let N=()=>{g?.()!==!1&&w(!1)},P=Pm(e=>i??j?.size??e??`medium`),F=Nb(Object.keys(gd(P)&&P||{}).some(e=>Ab.includes(e))),I=C.useMemo(()=>{if(!gd(P))return{};let e=P[Ab.find(e=>F[e])];return e?{width:e,height:e,fontSize:e&&(s||p)?e/2:18}:{}},[F,P,s,p]),L=O(`avatar`,n),R=xf(L),[z,B]=Fb(L,R),V=q({[`${L}-lg`]:P===`large`,[`${L}-sm`]:P===`small`}),H=C.isValidElement(a),U=q(L,V,k,`${L}-${r||j?.shape||`circle`}`,{[`${L}-image`]:H||a&&S,[`${L}-icon`]:!!s},B,R,c,l,z),W=md(P)?{width:P,height:P,fontSize:s?P/2:18}:{},ee;if(typeof a==`string`&&S)ee=C.createElement(`img`,{src:a,draggable:f,srcSet:o,onError:N,alt:d,crossOrigin:m});else if(H)ee=a;else if(s)ee=s;else if(b||v!==1){let e=`scale(${v})`,t={msTransform:e,WebkitTransform:e,transform:e};ee=C.createElement(Gr,{onResize:M},C.createElement(`span`,{className:`${L}-string`,ref:E,style:t},p))}else ee=C.createElement(`span`,{className:`${L}-string`,style:{opacity:0},ref:E},p);return C.createElement(`span`,{..._,style:{...W,...I,...A,...u},className:U,ref:D},ee)}),Lb=e=>e?typeof e==`function`?e():e:null,Rb=e=>{let{children:t,prefixCls:n,id:r,classNames:i,styles:a,className:o,style:s}=e;return C.createElement(`div`,{id:r,className:q(`${n}-container`,i?.container,o),style:{...a?.container,...s},role:`tooltip`},typeof t==`function`?t():t)},zb={shiftX:64,adjustY:1},Bb={adjustX:1,shiftY:!0},Vb=[0,0],sie={left:{points:[`cr`,`cl`],overflow:Bb,offset:[-4,0],targetOffset:Vb},right:{points:[`cl`,`cr`],overflow:Bb,offset:[4,0],targetOffset:Vb},top:{points:[`bc`,`tc`],overflow:zb,offset:[0,-4],targetOffset:Vb},bottom:{points:[`tc`,`bc`],overflow:zb,offset:[0,4],targetOffset:Vb},topLeft:{points:[`bl`,`tl`],overflow:zb,offset:[0,-4],targetOffset:Vb},leftTop:{points:[`tr`,`tl`],overflow:Bb,offset:[-4,0],targetOffset:Vb},topRight:{points:[`br`,`tr`],overflow:zb,offset:[0,-4],targetOffset:Vb},rightTop:{points:[`tl`,`tr`],overflow:Bb,offset:[4,0],targetOffset:Vb},bottomRight:{points:[`tr`,`br`],overflow:zb,offset:[0,4],targetOffset:Vb},rightBottom:{points:[`bl`,`br`],overflow:Bb,offset:[4,0],targetOffset:Vb},bottomLeft:{points:[`tl`,`bl`],overflow:zb,offset:[0,4],targetOffset:Vb},leftBottom:{points:[`br`,`bl`],overflow:Bb,offset:[-4,0],targetOffset:Vb}};function Hb(){return Hb=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{trigger:n=[`hover`],mouseEnterDelay:r=0,mouseLeaveDelay:i=.1,prefixCls:a=`rc-tooltip`,children:o,onVisibleChange:s,afterVisibleChange:c,motion:l,placement:u=`right`,align:d={},destroyOnHidden:f=!1,defaultVisible:p,getTooltipContainer:m,arrowContent:h,overlay:g,id:_,showArrow:v=!0,classNames:y,styles:b,...x}=e,S=Bf(_),w=(0,C.useRef)(null);(0,C.useImperativeHandle)(t,()=>w.current);let T={...x};`visible`in e&&(T.popupVisible=e.visible);let E=C.useMemo(()=>{if(!v)return!1;let e=v===!0?{}:v;return{...e,className:q(e.className,y?.arrow),style:{...e.style,...b?.arrow},content:e.content??h}},[v,y?.arrow,b?.arrow,h]);return C.createElement(Mp,Hb({popupClassName:y?.root,prefixCls:a,popup:C.createElement(Rb,{key:`content`,prefixCls:a,id:S,classNames:y,styles:b},g),action:n,builtinPlacements:sie,popupPlacement:u,ref:w,popupAlign:d,getPopupContainer:m,onOpenChange:s,afterOpenChange:c,popupMotion:l,defaultPopupVisible:p,autoDestroy:f,mouseLeaveDelay:i,popupStyle:b?.root,mouseEnterDelay:r,arrow:E,uniqueContainerClassName:y?.uniqueContainer,uniqueContainerStyle:b?.uniqueContainer},T),({open:e})=>{let t=C.Children.only(o),n={"aria-describedby":g&&e?S:void 0};return C.cloneElement(t,n)})});function Ub(e){let{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,i=t/2,a=i,o=r*1/Math.sqrt(2),s=i-r*(1-1/Math.sqrt(2)),c=i-1/Math.sqrt(2)*n,l=r*(Math.sqrt(2)-1)+1/Math.sqrt(2)*n,u=2*i-c,d=l,f=2*i-o,p=s,m=2*i-0,h=a,g=i*Math.sqrt(2)+r*(Math.sqrt(2)-2),_=r*(Math.sqrt(2)-1),v=`polygon(${_}px 100%, 50% ${_}px, ${2*i-_}px 100%, ${_}px 100%)`;return{arrowShadowWidth:g,arrowPath:`path('M 0 ${a} A ${r} ${r} 0 0 0 ${o} ${s} L ${c} ${l} A ${n} ${n} 0 0 1 ${u} ${d} L ${f} ${p} A ${r} ${r} 0 0 0 ${m} ${h} Z')`,arrowPolygon:v}}var Wb=(e,t,n)=>{let{sizePopupArrow:r,arrowPolygon:i,arrowPath:a,arrowShadowWidth:o,borderRadiusXS:s,calc:c}=e;return{pointerEvents:`none`,width:r,height:r,overflow:`hidden`,"&::before":{position:`absolute`,bottom:0,insetInlineStart:0,width:r,height:c(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,a]},content:`""`},"&::after":{content:`""`,position:`absolute`,width:o,height:o,bottom:0,insetInline:0,margin:`auto`,borderRadius:{_skip_check_:!0,value:`0 0 ${J(s)} 0`},transform:`translateY(50%) rotate(-135deg)`,boxShadow:n,zIndex:0,background:`transparent`}}};function Gb(e){let{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?8:r}}function Kb(e,t){return e?t:{}}var qb=(e,t,n)=>{let{componentCls:r,boxShadowPopoverArrow:i,arrowOffsetVertical:a,arrowOffsetHorizontal:o,antCls:s}=e,[c]=sl(s,`tooltip`),{arrowDistance:l=0,arrowPlacement:u={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:{[`${r}-arrow`]:[{position:`absolute`,zIndex:1,display:`block`,...Wb(e,t,i),"&:before":{background:t}}],...Kb(!!u.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(`,`)]:{bottom:l,transform:`translateY(100%) rotate(180deg)`},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:`50%`},transform:`translateX(-50%) translateY(100%) rotate(180deg)`},"&-placement-topLeft":{[c(`arrow-offset-x`)]:o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-topRight":{[c(`arrow-offset-x`)]:`calc(100% - ${J(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}}),...Kb(!!u.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(`,`)]:{top:l,transform:`translateY(-100%)`},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:`50%`},transform:`translateX(-50%) translateY(-100%)`},"&-placement-bottomLeft":{[c(`arrow-offset-x`)]:o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-bottomRight":{[c(`arrow-offset-x`)]:`calc(100% - ${J(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}}),...Kb(!!u.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(`,`)]:{right:{_skip_check_:!0,value:l},transform:`translateX(100%) rotate(90deg)`},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:`50%`},transform:`translateY(-50%) translateX(100%) rotate(90deg)`},[`&-placement-leftTop > ${r}-arrow`]:{top:a},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:a}}),...Kb(!!u.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(`,`)]:{left:{_skip_check_:!0,value:l},transform:`translateX(-100%) rotate(-90deg)`},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:`50%`},transform:`translateY(-50%) translateX(-100%) rotate(-90deg)`},[`&-placement-rightTop > ${r}-arrow`]:{top:a},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:a}})}}};function lie(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};let i=gd(r)?r:{},a={};switch(e){case`top`:case`bottom`:a.shiftX=t.arrowOffsetHorizontal*2+n,a.shiftY=!0,a.adjustY=!0;break;case`left`:case`right`:a.shiftY=t.arrowOffsetVertical*2+n,a.shiftX=!0,a.adjustX=!0;break}let o={...a,...i};return o.shiftX||(o.adjustX=!0),o.shiftY||(o.adjustY=!0),o}var Jb={left:{points:[`cr`,`cl`]},right:{points:[`cl`,`cr`]},top:{points:[`bc`,`tc`]},bottom:{points:[`tc`,`bc`]},topLeft:{points:[`bl`,`tl`]},leftTop:{points:[`tr`,`tl`]},topRight:{points:[`br`,`tr`]},rightTop:{points:[`tl`,`tr`]},bottomRight:{points:[`tr`,`br`]},rightBottom:{points:[`bl`,`br`]},bottomLeft:{points:[`tl`,`bl`]},leftBottom:{points:[`br`,`bl`]}},uie={topLeft:{points:[`bl`,`tc`]},leftTop:{points:[`tr`,`cl`]},topRight:{points:[`br`,`tc`]},rightTop:{points:[`tl`,`cr`]},bottomRight:{points:[`tr`,`bc`]},rightBottom:{points:[`bl`,`cr`]},bottomLeft:{points:[`tl`,`bc`]},leftBottom:{points:[`br`,`cl`]}},die=new Set([`topLeft`,`topRight`,`bottomLeft`,`bottomRight`,`leftTop`,`leftBottom`,`rightTop`,`rightBottom`]);function Yb(e){let{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:i,borderRadius:a,visibleFirst:o}=e,s=t/2,c={},l=Gb({contentRadius:a,limitVerticalRadius:!0});return Object.keys(Jb).forEach(e=>{let a={...r&&uie[e]||Jb[e],offset:[0,0],dynamicInset:!0};switch(c[e]=a,die.has(e)&&(a.autoArrow=!1),e){case`top`:case`topLeft`:case`topRight`:a.offset[1]=-s-i;break;case`bottom`:case`bottomLeft`:case`bottomRight`:a.offset[1]=s+i;break;case`left`:case`leftTop`:case`leftBottom`:a.offset[0]=-s-i;break;case`right`:case`rightTop`:case`rightBottom`:a.offset[0]=s+i;break}if(r)switch(e){case`topLeft`:case`bottomLeft`:a.offset[0]=-l.arrowOffsetHorizontal-s;break;case`topRight`:case`bottomRight`:a.offset[0]=l.arrowOffsetHorizontal+s;break;case`leftTop`:case`rightTop`:a.offset[1]=-l.arrowOffsetHorizontal*2+s;break;case`leftBottom`:case`rightBottom`:a.offset[1]=l.arrowOffsetHorizontal*2-s;break}a.overflow=lie(e,l,t,n),o&&(a.htmlRegion=`visibleFirst`)}),c}var Xb=C.createContext(!1),Zb=(e,t)=>{let n=e=>typeof e==`boolean`?{show:e}:e||{};return C.useMemo(()=>{let r=n(e),i=n(t);return{...i,...r,show:r.show??i.show??!0}},[e,t])},Qb=`50%`,fie=e=>{let{calc:t,componentCls:n,tooltipMaxWidth:r,tooltipColor:i,tooltipBg:a,tooltipBorderRadius:o,zIndexPopup:s,controlHeight:c,boxShadowSecondary:l,paddingSM:u,paddingXS:d,arrowOffsetHorizontal:f,sizePopupArrow:p,antCls:m}=e,[h,g]=sl(m,`tooltip`),_=t(o).add(p).add(f).equal(),v={minWidth:t(o).mul(2).add(p).equal(),minHeight:c,padding:`${J(e.calc(u).div(2).equal())} ${J(d)}`,color:g(`overlay-color`,i),textAlign:`start`,textDecoration:`none`,wordWrap:`break-word`,backgroundColor:a,borderRadius:o,boxShadow:l,boxSizing:`border-box`},y={[h(`valid-offset-x`)]:g(`arrow-offset-x`,`var(--arrow-x)`),transformOrigin:[g(`valid-offset-x`,Qb),`var(--arrow-y, ${Qb})`].join(` `)};return[{[n]:{...Yc(e),position:`absolute`,zIndex:s,display:`block`,width:`max-content`,maxWidth:r,visibility:`visible`,...y,"&-hidden":{display:`none`},[h(`arrow-background-color`)]:a,[`${n}-container`]:[v,th(e,!0)],[`&:has(~ ${n}-unique-container)`]:{[`${n}-container`]:{border:`none`,background:`transparent`,boxShadow:`none`}},[[`&-placement-topLeft`,`&-placement-topRight`,`&-placement-bottomLeft`,`&-placement-bottomRight`].join(`,`)]:{minWidth:_},[[`&-placement-left`,`&-placement-leftTop`,`&-placement-leftBottom`,`&-placement-right`,`&-placement-rightTop`,`&-placement-rightBottom`].join(`,`)]:{[`${n}-inner`]:{borderRadius:e.min(o,8)}},[`${n}-content`]:{position:`relative`},...cl(e,(e,{darkColor:t})=>({[`&${n}-${e}`]:{[`${n}-container`]:{backgroundColor:t},[`${n}-arrow`]:{[h(`arrow-background-color`)]:t}}})),"&-rtl":{direction:`rtl`}}},qb(e,g(`arrow-background-color`)),{[`${n}-pure`]:{position:`relative`,maxWidth:`none`,margin:e.sizePopupArrow}},{[`${n}-unique-container`]:{...v,...y,position:`absolute`,zIndex:t(s).sub(1).equal(),"&-hidden":{display:`none`},"&-visible":{transition:`all ${e.motionDurationSlow}`}}}]},pie=e=>({zIndexPopup:e.zIndexPopupBase+70,maxWidth:250,...Gb({contentRadius:e.borderRadius,limitVerticalRadius:!0}),...Ub(_s(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))}),$b=(e,t,n=!0)=>il(`Tooltip`,e=>{let{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:r,maxWidth:i}=e;return[fie(_s(e,{tooltipMaxWidth:i,tooltipColor:n,tooltipBorderRadius:t,tooltipBg:r})),fh(e,`zoom-big-fast`)]},pie,{resetStyle:!1,injectStyle:n})(e,t),mie=Os.map(e=>`${e}-inverse`),hie=[`success`,`processing`,`error`,`default`,`warning`];function ex(e,t=!0){return t?[].concat(Qr(mie),Qr(Os)).includes(e):Os.includes(e)}function gie(e){return hie.includes(e)}var tx=(e,t,n)=>{let r=ex(n),[i]=sl(e,`tooltip`),a=q({[`${t}-${n}`]:n&&r}),o={},s={},c=Nh(n).toRgb(),l=(.299*c.r+.587*c.g+.114*c.b)/255<.5?`#FFF`:`#000`;return n&&!r&&(o.background=n,o[i(`overlay-color`)]=l,s[i(`arrow-background-color`)]=n),{className:a,overlayStyle:o,arrowStyle:s}},_ie=e=>{let{prefixCls:t,className:n,placement:r=`top`,title:i,color:a,overlayInnerStyle:o,classNames:s,styles:c}=e,{getPrefixCls:l}=C.useContext(si),u=l(`tooltip`,t),d=l(),f=xf(u),[p,m]=$b(u,f),h=tx(d,u,a),g=h.arrowStyle,_=C.useMemo(()=>({container:{...o,...h.overlayStyle}}),[o,h.overlayStyle]),v={...e,placement:r},[y,b]=Id([s],[_,c],{props:v}),x=q(f,p,m,u,`${u}-pure`,`${u}-placement-${r}`,n,h.className);return C.createElement(`div`,{className:x,style:g},C.createElement(`div`,{className:`${u}-arrow`}),C.createElement(Rb,{...e,className:p,prefixCls:u,classNames:y,styles:b},i))},nx=C.forwardRef((e,t)=>{let{prefixCls:n,openClassName:r,getTooltipContainer:i,color:a,children:o,afterOpenChange:s,arrow:c,destroyTooltipOnHide:l,destroyOnHidden:u,title:d,overlay:f,trigger:p,builtinPlacements:m,autoAdjustOverflow:h=!0,motion:g,getPopupContainer:_,placement:v=`top`,mouseEnterDelay:y=.1,mouseLeaveDelay:b=.1,rootClassName:x,styles:S,classNames:w,onOpenChange:T,overlayInnerStyle:E,overlayStyle:D,overlayClassName:O,...k}=e,[,A]=qc(),j=e[`data-popover-inject`],{getPopupContainer:M,getPrefixCls:N,direction:P,...F}=ui(`tooltip`),{className:I,style:L,classNames:R,styles:z,arrow:B,trigger:V}=j?{}:F,H=Zb(c,B),U=H.show,W=p||V||`hover`,ee=_||M,te=u??!!l,ne=C.useContext(Xb);Or(`Tooltip`);let re=C.useRef(null),ie=()=>{re.current?.forceAlign()};C.useImperativeHandle(t,()=>({forceAlign:ie,nativeElement:re.current?.nativeElement,popupElement:re.current?.popupElement}));let[ae,G]=Wn(e.defaultOpen??!1,e.open),oe=!d&&!f&&d!==0,K=e=>{G(oe?!1:e),!oe&&T&&T(e)},se=C.useMemo(()=>m||Yb({arrowPointAtCenter:H?.pointAtCenter??!1,autoAdjustOverflow:h,arrowWidth:U?A.sizePopupArrow:0,borderRadius:A.borderRadius,offset:A.marginXXS,visibleFirst:!0}),[H,m,A,U,h]),ce=C.useMemo(()=>d===0?d:f||d||``,[f,d]),le=C.createElement(I_,{space:!0,form:!0},typeof ce==`function`?ce():ce),ue={...e,trigger:W,builtinPlacements:se,getPopupContainer:ee,destroyOnHidden:te},[de,fe]=Id([R,w],[z,S],{props:ue}),pe=N(`tooltip`,n),me=N(),he=ae;(!(`open`in e)&&oe||ne)&&(he=!1);let ge=C.isValidElement(o)&&!Np(o)?o:C.createElement(`span`,null,o),_e=ge.props,ve=!_e.className||typeof _e.className==`string`?q(_e.className,r||`${pe}-open`):_e.className,ye=xf(pe),[be,xe]=$b(pe,ye,!j),Se=tx(me,pe,a),Ce=Se.arrowStyle,we=q(ye,be,xe),Te=q(O,{[`${pe}-rtl`]:P===`rtl`},Se.className,x,we,I,de.root),[Ee,De]=Xd(`Tooltip`,k.zIndex),Oe={...fe.container,...E,...Se.overlayStyle},ke=C.createElement(cie,{unique:!0,...k,zIndex:Ee,showArrow:U,placement:v,mouseEnterDelay:y,mouseLeaveDelay:b,prefixCls:pe,classNames:{root:Te,container:de.container,arrow:de.arrow,uniqueContainer:q(we,de.container)},styles:{root:{...Ce,...fe.root,...L,...D},container:Oe,uniqueContainer:Oe,arrow:fe.arrow},ref:re,overlay:le,visible:he,onVisibleChange:K,afterVisibleChange:s,arrowContent:C.createElement(`span`,{className:`${pe}-arrow-content`}),motion:{motionName:km(me,`zoom-big-fast`,typeof g?.motionName==`string`?g?.motionName:void 0),motionDeadline:1e3},trigger:W,builtinPlacements:se,getTooltipContainer:ee,destroyOnHidden:te},he?Fp(ge,{className:ve}):ge);return C.createElement(Wd.Provider,{value:De},ke)});nx._InternalPanelDoNotUseOrYouWillBeFired=_ie,nx.UniqueProvider=zp;var rx=`50%`,vie=e=>{let{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:i,innerPadding:a,boxShadowSecondary:o,colorTextHeading:s,borderRadiusLG:c,zIndexPopup:l,titleMarginBottom:u,colorBgElevated:d,popoverBg:f,titleBorderBottom:p,innerContentPadding:m,titlePadding:h,antCls:g}=e,[_,v]=sl(g,`tooltip`);return[{[t]:{...Yc(e),position:`absolute`,top:0,left:{_skip_check_:!0,value:0},zIndex:l,fontWeight:`normal`,whiteSpace:`normal`,textAlign:`start`,cursor:`auto`,userSelect:`text`,[_(`valid-offset-x`)]:v(`arrow-offset-x`,`var(--arrow-x)`),transformOrigin:[v(`valid-offset-x`,rx),`var(--arrow-y, ${rx})`].join(` `),[_(`arrow-background-color`)]:d,width:`max-content`,maxWidth:`100vw`,"&-rtl":{direction:`rtl`},"&-hidden":{display:`none`},[`${t}-content`]:{position:`relative`},[`${t}-container`]:{backgroundColor:f,backgroundClip:`padding-box`,borderRadius:c,boxShadow:o,padding:a},[`${t}-title`]:{minWidth:r,marginBottom:u,color:s,fontWeight:i,borderBottom:p,padding:h},[`${t}-content`]:{color:n,padding:m}}},qb(e,v(`arrow-background-color`)),{[`${t}-pure`]:{position:`relative`,maxWidth:`none`,margin:e.sizePopupArrow,display:`inline-block`}}]},yie=e=>{let{componentCls:t,antCls:n}=e,[r]=sl(n,`tooltip`);return{[t]:Os.map(n=>{let i=e[`${n}6`];return{[`&${t}-${n}`]:{[r(`arrow-background-color`)]:i,[`${t}-inner`]:{backgroundColor:i},[`${t}-arrow`]:{background:`transparent`}}}})}},ix=il(`Popover`,e=>{let{colorBgElevated:t,colorText:n}=e,r=_s(e,{popoverBg:t,popoverColor:n});return[vie(r),yie(r),fh(r,`zoom-big`)]},e=>{let{lineWidth:t,controlHeight:n,fontHeight:r,padding:i,wireframe:a,zIndexPopupBase:o,borderRadiusLG:s,marginXS:c,lineType:l,colorSplit:u,paddingSM:d}=e,f=n-r,p=f/2,m=f/2-t,h=i;return{titleMinWidth:177,zIndexPopup:o+30,...Ub(e),...Gb({contentRadius:s,limitVerticalRadius:!0}),innerPadding:a?0:12,titleMarginBottom:a?0:c,titlePadding:a?`${p}px ${h}px ${m}px`:0,titleBorderBottom:a?`${t}px ${l} ${u}`:`none`,innerContentPadding:a?`${d}px ${h}px`:0}},{resetStyle:!1,deprecatedTokens:[[`width`,`titleMinWidth`],[`minWidth`,`titleMinWidth`]]}),ax=e=>{let{title:t,content:n,prefixCls:r,classNames:i,styles:a}=e;return!t&&!n?null:C.createElement(C.Fragment,null,t&&C.createElement(`div`,{className:q(`${r}-title`,i?.title),style:a?.title},t),n&&C.createElement(`div`,{className:q(`${r}-content`,i?.content),style:a?.content},n))},bie=e=>{let{hashId:t,prefixCls:n,className:r,style:i,placement:a=`top`,title:o,content:s,children:c,classNames:l,styles:u}=e,d=Lb(o),f=Lb(s),p={...e,placement:a},[m,h]=Id([l],[u],{props:p}),g=q(t,n,`${n}-pure`,`${n}-placement-${a}`,r);return C.createElement(`div`,{className:g,style:i},C.createElement(`div`,{className:`${n}-arrow`}),C.createElement(Rb,{...e,className:t,prefixCls:n,classNames:m,styles:h},c||C.createElement(ax,{prefixCls:n,title:d,content:f,classNames:m,styles:h})))},ox=e=>{let{prefixCls:t,className:n,...r}=e,{getPrefixCls:i}=C.useContext(si),a=i(`popover`,t),[o,s]=ix(a);return C.createElement(bie,{...r,prefixCls:a,hashId:o,className:q(n,s)})},sx=C.forwardRef((e,t)=>{let{prefixCls:n,title:r,content:i,overlayClassName:a,placement:o=`top`,trigger:s,children:c,mouseEnterDelay:l=.1,mouseLeaveDelay:u=.1,onOpenChange:d,overlayStyle:f={},styles:p,classNames:m,motion:h,arrow:g,..._}=e,{getPrefixCls:v,className:y,style:b,classNames:x,styles:S,arrow:w,trigger:T}=ui(`popover`),E=v(`popover`,n),[D,O]=ix(E),k=v(),A=Zb(g,w),j=s||T||`hover`,M={...e,placement:o,trigger:j,mouseEnterDelay:l,mouseLeaveDelay:u,overlayStyle:f,styles:p,classNames:m},[N,P]=Id([x,m],[S,p],{props:M}),F=q(a,D,O,y,N.root),[I,L]=Wn(e.defaultOpen??!1,e.open),R=e=>{L(e),d?.(e)},z=Lb(r),B=Lb(i);return C.createElement(nx,{unique:!1,arrow:A,placement:o,trigger:j,mouseEnterDelay:l,mouseLeaveDelay:u,..._,prefixCls:E,classNames:{root:F,container:N.container,arrow:N.arrow},styles:{root:{...P.root,...b,...f},container:P.container,arrow:P.arrow},ref:t,open:I,onOpenChange:R,overlay:z||B?C.createElement(ax,{prefixCls:E,title:z,content:B,classNames:N,styles:P}):null,motion:{motionName:km(k,`zoom-big`,typeof h?.motionName==`string`?h?.motionName:void 0)},"data-popover-inject":!0},c)});sx._InternalPanelDoNotUseOrYouWillBeFired=ox;var cx=e=>{let{size:t,shape:n}=C.useContext(Pb),r=C.useMemo(()=>({size:e.size||t,shape:e.shape||n}),[e.size,e.shape,t,n]);return C.createElement(Pb.Provider,{value:r},e.children)},xie=e=>{let{getPrefixCls:t,direction:n}=C.useContext(si),{prefixCls:r,className:i,rootClassName:a,style:o,maxCount:s,maxStyle:c,size:l,shape:u,maxPopoverPlacement:d,maxPopoverTrigger:f,children:p,max:m}=e,h=t(`avatar`,r),g=`${h}-group`,_=xf(h),[v,y]=Fb(h,_),b=q(g,{[`${g}-rtl`]:n===`rtl`},y,_,i,a,v),x=wr(p).map((e,t)=>Fp(e,{key:`avatar-key-${t}`})),S=m?.count||s,w=x.length;if(S&&SC.createElement(Y,ux({},e,{ref:t,icon:Sie}))),wie={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z`}}]},name:`left`,theme:`outlined`};function dx(){return dx=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,dx({},e,{ref:t,icon:wie}))),{ESC:Tie,TAB:Eie}=Qp;function Die({visible:e,triggerRef:t,onVisibleChange:n,autoFocus:r,overlayRef:i}){let a=C.useRef(!1),o=()=>{e&&(t.current?.focus?.(),n?.(!1))},s=()=>i.current?.focus?(i.current.focus(),a.current=!0,!0):!1,c=e=>{switch(e.keyCode){case Tie:o();break;case Eie:{let t=!1;a.current||(t=s()),t?e.preventDefault():o();break}}};C.useEffect(()=>e?(window.addEventListener(`keydown`,c),r&&ii(s,3),()=>{window.removeEventListener(`keydown`,c),a.current=!1}):()=>{a.current=!1},[e])}var Oie=(0,C.forwardRef)((e,t)=>{let{overlay:n,arrow:r,prefixCls:i}=e,a=(0,C.useMemo)(()=>{let e;return e=typeof n==`function`?n():n,e},[n]),o=er(t,ar(a));return C.createElement(C.Fragment,null,r&&C.createElement(`div`,{className:`${i}-arrow`}),C.cloneElement(a,{ref:nr(a)?o:void 0}))}),px={adjustX:1,adjustY:1},mx=[0,0],kie={topLeft:{points:[`bl`,`tl`],overflow:px,offset:[0,-4],targetOffset:mx},top:{points:[`bc`,`tc`],overflow:px,offset:[0,-4],targetOffset:mx},topRight:{points:[`br`,`tr`],overflow:px,offset:[0,-4],targetOffset:mx},bottomLeft:{points:[`tl`,`bl`],overflow:px,offset:[0,4],targetOffset:mx},bottom:{points:[`tc`,`bc`],overflow:px,offset:[0,4],targetOffset:mx},bottomRight:{points:[`tr`,`br`],overflow:px,offset:[0,4],targetOffset:mx}};function hx(){return hx=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{arrow:n=!1,prefixCls:r=`rc-dropdown`,transitionName:i,animation:a,align:o,placement:s=`bottomLeft`,placements:c=kie,getPopupContainer:l,showAction:u,hideAction:d,overlayClassName:f,overlayStyle:p,visible:m,trigger:h=[`hover`],autoFocus:g,overlay:_,children:v,onVisibleChange:y,...b}=e,[x,S]=C.useState(),w=`visible`in e?m:x,T=a?`${r}-${a}`:i,E=C.useRef(null),D=C.useRef(null),O=C.useRef(null);C.useImperativeHandle(t,()=>E.current);let k=e=>{S(e),y?.(e)};Die({visible:w,triggerRef:O,onVisibleChange:k,autoFocus:g,overlayRef:D});let A=t=>{let{onOverlayClick:n}=e;S(!1),n&&n(t)},j=()=>C.createElement(Oie,{ref:D,overlay:_,prefixCls:r,arrow:n}),M=()=>typeof _==`function`?j:j(),N=()=>{let{minOverlayWidthMatchTrigger:t,alignPoint:n}=e;return`minOverlayWidthMatchTrigger`in e?t:!n},P=C.cloneElement(v,{className:q(v.props?.className,w&&(()=>{let{openClassName:t}=e;return t===void 0?`${r}-open`:t})()),ref:nr(v)?er(O,ar(v)):void 0}),F=d;return!F&&h.indexOf(`contextMenu`)!==-1&&(F=[`click`]),C.createElement(Mp,hx({builtinPlacements:c},b,{prefixCls:r,ref:E,popupClassName:q(f,{[`${r}-show-arrow`]:n}),popupStyle:p,action:h,showAction:u,hideAction:F,popupPlacement:s,popupAlign:o,popupMotion:{motionName:T},popupVisible:w,stretch:N()?`minWidth`:``,popup:M(),onOpenChange:k,onPopupClick:A,getPopupContainer:l}),P)}),_x=C.createContext(null);function vx(e,t){return`${e}-${t}`}function yx(e){return vx(C.useContext(_x),e)}var bx=C.createContext(null);function Aie(e,t){let n={...e};return Object.keys(t).forEach(e=>{let r=t[e];r!==void 0&&(n[e]=r)}),n}function xx({children:e,locked:t,...n}){let r=C.useContext(bx),i=qn(()=>Aie(r,n),[r,n],(e,n)=>!t&&(e[0]!==n[0]||!Ei(e[1],n[1],!0)));return C.createElement(bx.Provider,{value:i},e)}var jie=[],Sx=C.createContext(null);function Cx(){return C.useContext(Sx)}var wx=C.createContext(jie);function Tx(e){let t=C.useContext(wx);return C.useMemo(()=>e===void 0?t:[...t,e],[t,e])}var Ex=C.createContext(null),Dx=C.createContext({}),{LEFT:Ox,RIGHT:kx,UP:Ax,DOWN:jx,ENTER:Mx,ESC:Nx,HOME:Px,END:Fx}=Qp,Ix=[Ax,jx,Ox,kx];function Mie(e,t,n,r){let i=`prev`,a=`next`,o=`children`,s=`parent`;if(e===`inline`&&r===Mx)return{inlineTrigger:!0};let c={[Ax]:i,[jx]:a},l={[Ox]:n?a:i,[kx]:n?i:a,[jx]:o,[Mx]:o},u={[Ax]:i,[jx]:a,[Mx]:o,[Nx]:s,[Ox]:n?o:s,[kx]:n?s:o};switch({inline:c,horizontal:l,vertical:u,inlineSub:c,horizontalSub:u,verticalSub:u}[`${e}${t?``:`Sub`}`]?.[r]){case i:return{offset:-1,sibling:!0};case a:return{offset:1,sibling:!0};case s:return{offset:-1,sibling:!1};case o:return{offset:1,sibling:!1};default:return null}}function Nie(e){let t=e;for(;t;){if(t.getAttribute(`data-menu-list`))return t;t=t.parentElement}return null}function Pie(e,t){let n=e||document.activeElement;for(;n;){if(t.has(n))return n;n=n.parentElement}return null}function Lx(e,t){return fg(e,!0).filter(e=>t.has(e))}function Rx(e,t,n,r=1){if(!e)return null;let i=Lx(e,t),a=i.length,o=i.findIndex(e=>n===e);return r<0?o===-1?o=a-1:--o:r>0&&(o+=1),o=(o+a)%a,i[o]}var zx=(e,t)=>{let n=new Set,r=new Map,i=new Map;return e.forEach(e=>{let a=document.querySelector(`[data-menu-id='${vx(t,e)}']`);a&&(n.add(a),i.set(a,e),r.set(e,a))}),{elements:n,key2element:r,element2key:i}};function Fie(e,t,n,r,i,a,o,s,c,l){let u=C.useRef(),d=C.useRef();d.current=t;let f=()=>{ii.cancel(u.current)};return C.useEffect(()=>()=>{f()},[]),p=>{let{which:m}=p;if([...Ix,Mx,Nx,Px,Fx].includes(m)){let l=a(),h=zx(l,r),{elements:g,key2element:_,element2key:v}=h,y=Pie(_.get(t),g),b=v.get(y),x=Mie(e,o(b,!0).length===1,n,m);if(!x&&m!==Px&&m!==Fx)return;(Ix.includes(m)||[Px,Fx].includes(m))&&p.preventDefault();let S=e=>{if(e){let t=e,n=e.querySelector(`a`);n?.getAttribute(`href`)&&(t=n);let r=v.get(e);s(r),f(),u.current=ii(()=>{d.current===r&&t.focus()})}};if([Px,Fx].includes(m)||x.sibling||!y){let t;t=!y||e===`inline`?i.current:Nie(y);let n,r=Lx(t,g);n=m===Px?r[0]:m===Fx?r[r.length-1]:Rx(t,g,y,x.offset),S(n)}else if(x.inlineTrigger)c(b);else if(x.offset>0)c(b,!0),f(),u.current=ii(()=>{h=zx(l,r);let e=y.getAttribute(`aria-controls`);S(Rx(document.getElementById(e),h.elements))},5);else if(x.offset<0){let e=o(b,!0),t=e[e.length-2],n=_.get(t);c(t,!1),S(n)}}l?.(p)}}function Iie(e){Promise.resolve().then(e)}var Bx=`__RC_UTIL_PATH_SPLIT__`,Vx=e=>e.join(Bx),Lie=e=>e.split(Bx),Hx=`rc-menu-more`;function Rie(){let[,e]=C.useState({}),t=(0,C.useRef)(new Map),n=(0,C.useRef)(new Map),[r,i]=C.useState([]),a=(0,C.useRef)(0),o=(0,C.useRef)(!1),s=()=>{o.current||e({})},c=(0,C.useCallback)((e,r)=>{let i=Vx(r);n.current.set(i,e),t.current.set(e,i),a.current+=1;let o=a.current;Iie(()=>{o===a.current&&s()})},[]),l=(0,C.useCallback)((e,r)=>{let i=Vx(r);n.current.delete(i),t.current.delete(e)},[]),u=(0,C.useCallback)(e=>{i(e)},[]),d=(0,C.useCallback)((e,n)=>{let i=Lie(t.current.get(e)||``);return n&&r.includes(i[0])&&i.unshift(Hx),i},[r]),f=(0,C.useCallback)((e,t)=>e.filter(e=>e!==void 0).some(e=>d(e,!0).includes(t)),[d]),p=()=>{let e=[...t.current.keys()];return r.length&&e.push(Hx),e},m=(0,C.useCallback)(e=>{let r=`${t.current.get(e)}${Bx}`,i=new Set;return[...n.current.keys()].forEach(e=>{e.startsWith(r)&&i.add(n.current.get(e))}),i},[]);return C.useEffect(()=>()=>{o.current=!0},[]),{registerPath:c,unregisterPath:l,refreshOverflowKeys:u,isSubPathKey:f,getKeyPath:d,getKeys:p,getSubPathKeys:m}}function Ux(e){let t=C.useRef(e);t.current=e;let n=C.useCallback((...e)=>t.current?.(...e),[]);return e?n:void 0}function Wx(e,t,n,r){let{activeKey:i,onActive:a,onInactive:o}=C.useContext(bx),s={active:i===e};return t||(s.onMouseEnter=t=>{n?.({key:e,domEvent:t}),a(e)},s.onMouseLeave=t=>{r?.({key:e,domEvent:t}),o(e)}),s}function Gx(e){let{mode:t,rtl:n,inlineIndent:r}=C.useContext(bx);if(t!==`inline`)return null;let i=e;return n?{paddingRight:i*r}:{paddingLeft:i*r}}function Kx({icon:e,props:t,children:n}){let r;return e===null||e===!1?null:(typeof e==`function`?r=C.createElement(e,{...t}):typeof e!=`boolean`&&(r=e),r||n||null)}function qx({item:e,...t}){return Object.defineProperty(t,`item`,{get:()=>(xr(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),e)}),t}function Jx(){return Jx=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{style:n,className:r,eventKey:i,warnKey:a,disabled:o,itemIcon:s,children:c,role:l,onMouseEnter:u,onMouseLeave:d,onClick:f,onKeyDown:p,onFocus:m,...h}=e,g=yx(i),{prefixCls:_,onItemClick:v,disabled:y,overflowDisabled:b,itemIcon:x,selectedKeys:S,onActive:w}=C.useContext(bx),{_internalRenderMenuItem:T}=C.useContext(Dx),E=`${_}-item`,D=C.useRef(),O=C.useRef(),k=y||o,A=tr(t,O),j=Tx(i),M=e=>({key:i,keyPath:[...j].reverse(),item:D.current,domEvent:e}),N=s||x,{active:P,...F}=Wx(i,k,u,d),I=S.includes(i),L=Gx(j.length),R=e=>{if(k)return;let t=M(e);f?.(qx(t)),v(t)},z=e=>{if(p?.(e),e.which===Qp.ENTER){let t=M(e);f?.(qx(t)),v(t)}},B=e=>{w(i),m?.(e)},V={};e.role===`option`&&(V[`aria-selected`]=I);let H=C.createElement(zie,Jx({ref:D,elementRef:A,role:l===null?`none`:l||`menuitem`,tabIndex:o?null:-1,"data-menu-id":b&&g?null:g},Cr(h,[`extra`]),F,V,{component:`li`,"aria-disabled":o,style:{...L,...n},className:q(E,{[`${E}-active`]:P,[`${E}-selected`]:I,[`${E}-disabled`]:k},r),onClick:R,onKeyDown:z,onFocus:B}),c,C.createElement(Kx,{props:{...e,isSelected:I},icon:N}));return T&&(H=T(H,e,{selected:I})),H});function Vie(e,t){let{eventKey:n}=e,r=Cx(),i=Tx(n);return C.useEffect(()=>{if(r)return r.registerPath(n,i),()=>{r.unregisterPath(n,i)}},[i]),r?null:C.createElement(Bie,Jx({},e,{ref:t}))}var Yx=C.forwardRef(Vie);function Xx(){return Xx=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:i,mode:a,rtl:o}=C.useContext(bx);return C.createElement(`ul`,Xx({className:q(i,o&&`${i}-rtl`,`${i}-sub`,`${i}-${a===`inline`?`inline`:`vertical`}`,e),role:`menu`},n,{"data-menu-list":!0,ref:r}),t)});function Qx(e,t){return wr(e).map((e,n)=>{if(C.isValidElement(e)){let{key:r}=e,i=e.props?.eventKey??r;i??=`tmp_key-${[...t,n].join(`-`)}`;let a={key:i,eventKey:i};return C.cloneElement(e,a)}return e})}var $x={adjustX:1,adjustY:1},Hie={topLeft:{points:[`bl`,`tl`],overflow:$x},topRight:{points:[`br`,`tr`],overflow:$x},bottomLeft:{points:[`tl`,`bl`],overflow:$x},bottomRight:{points:[`tr`,`br`],overflow:$x},leftTop:{points:[`tr`,`tl`],overflow:$x},leftBottom:{points:[`br`,`bl`],overflow:$x},rightTop:{points:[`tl`,`tr`],overflow:$x},rightBottom:{points:[`bl`,`br`],overflow:$x}},eS={topLeft:{points:[`bl`,`tl`],overflow:$x},topRight:{points:[`br`,`tr`],overflow:$x},bottomLeft:{points:[`tl`,`bl`],overflow:$x},bottomRight:{points:[`tr`,`br`],overflow:$x},rightTop:{points:[`tr`,`tl`],overflow:$x},rightBottom:{points:[`br`,`bl`],overflow:$x},leftTop:{points:[`tl`,`tr`],overflow:$x},leftBottom:{points:[`bl`,`br`],overflow:$x}};function tS(e,t,n){if(t)return t;if(n)return n[e]||n.other}var nS={horizontal:`bottomLeft`,vertical:`rightTop`,"vertical-left":`rightTop`,"vertical-right":`leftTop`};function rS({prefixCls:e,visible:t,children:n,popup:r,popupStyle:i,popupClassName:a,popupOffset:o,disabled:s,mode:c,onVisibleChange:l}){let{getPopupContainer:u,rtl:d,subMenuOpenDelay:f,subMenuCloseDelay:p,builtinPlacements:m,triggerSubMenuAction:h,forceSubMenuRender:g,rootClassName:_,motion:v,defaultMotions:y}=C.useContext(bx),[b,x]=C.useState(!1),S=d?{...eS,...m}:{...Hie,...m},w=nS[c],T=tS(c,v,y),E=C.useRef(T);c!==`inline`&&(E.current=T);let D={...E.current,leavedClassName:`${e}-hidden`,removeOnLeave:!1,motionAppear:!0},O=C.useRef();return C.useEffect(()=>(O.current=ii(()=>{x(t)}),()=>{ii.cancel(O.current)}),[t]),C.createElement(Mp,{prefixCls:e,popupClassName:q(`${e}-popup`,{[`${e}-rtl`]:d},a,_),stretch:c===`horizontal`?`minWidth`:null,getPopupContainer:u,builtinPlacements:S,popupPlacement:w,popupVisible:b,popup:r,popupStyle:i,popupAlign:o&&{offset:o},action:s?[]:[h],mouseEnterDelay:f,mouseLeaveDelay:p,onPopupVisibleChange:l,forceRender:g,popupMotion:D,fresh:!0},n)}function iS(){return iS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u.current&&f(!1)},[l]);let m={...tS(i,s,c)};n.length>1&&(m.motionAppear=!1);let h=m.onVisibleChanged;return m.onVisibleChanged=e=>(!u.current&&!e&&f(!0),h?.(e)),d?null:C.createElement(xx,{mode:i,locked:!u.current},C.createElement(Lu,iS({visible:p},m,{forceRender:o,removeOnLeave:!1,leavedClassName:`${a}-hidden`}),({className:t,style:n})=>C.createElement(Zx,{id:e,className:t,style:n},r)))}function oS(){return oS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{style:n,className:r,styles:i,classNames:a,title:o,eventKey:s,warnKey:c,disabled:l,internalPopupClose:u,children:d,itemIcon:f,expandIcon:p,popupClassName:m,popupOffset:h,popupStyle:g,onClick:_,onMouseEnter:v,onMouseLeave:y,onTitleClick:b,onTitleMouseEnter:x,onTitleMouseLeave:S,popupRender:w,...T}=e,E=yx(s),{prefixCls:D,mode:O,openKeys:k,disabled:A,overflowDisabled:j,activeKey:M,selectedKeys:N,itemIcon:P,expandIcon:F,onItemClick:I,onOpenChange:L,onActive:R,popupRender:z}=C.useContext(bx),{_internalRenderSubMenuItem:B}=C.useContext(Dx),{isSubPathKey:V}=C.useContext(Ex),H=Tx(),U=`${D}-submenu`,W=A||l,ee=C.useRef(),te=C.useRef(),ne=f??P,re=p??F,ie=k.includes(s),ae=!j&&ie,G=V(N,s),{active:oe,...K}=Wx(s,W,x,S),[se,ce]=C.useState(!1),le=e=>{W||ce(e)},ue=e=>{le(!0),v?.({key:s,domEvent:e})},de=e=>{le(!1),y?.({key:s,domEvent:e})},fe=C.useMemo(()=>oe||(O===`inline`?!1:se||V([M],s)),[O,oe,M,se,s,V]),pe=Gx(H.length),me=e=>{W||(b?.({key:s,domEvent:e}),O===`inline`&&L(s,!ie))},he=Ux(e=>{_?.(qx(e)),I(e)}),ge=e=>{O!==`inline`&&L(s,e)},_e=()=>{R(s)},ve=E&&`${E}-popup`,ye=C.useMemo(()=>C.createElement(Kx,{icon:O===`horizontal`?void 0:re,props:{...e,isOpen:ae,isSubMenu:!0}},C.createElement(`i`,{className:`${U}-arrow`})),[O,re,e,ae,U]),be=C.createElement(`div`,oS({role:`menuitem`,style:pe,className:`${U}-title`,tabIndex:W?null:-1,ref:ee,title:typeof o==`string`?o:null,"data-menu-id":j&&E?null:E,"aria-expanded":ae,"aria-haspopup":!0,"aria-controls":ve,"aria-disabled":W,onClick:me,onFocus:_e},K),o,ye),xe=C.useRef(O);O!==`inline`&&H.length>1?xe.current=`vertical`:xe.current=O;let Se=xe.current,Ce=C.useMemo(()=>{let t=C.createElement(xx,{classNames:a,styles:i,mode:Se===`horizontal`?`vertical`:Se},C.createElement(Zx,{id:ve,ref:te},d)),n=w||z;return n?n(t,{item:e,keys:H}):t},[w,z,H,ve,d,e,Se]);if(!j){let e=xe.current;be=C.createElement(rS,{mode:e,prefixCls:U,visible:!u&&ae&&O!==`inline`,popupClassName:m,popupOffset:h,popupStyle:g,popup:Ce,disabled:W,onVisibleChange:ge},be)}let we=C.createElement(xy.Item,oS({ref:t,role:`none`},T,{component:`li`,style:n,className:q(U,`${U}-${O}`,r,{[`${U}-open`]:ae,[`${U}-active`]:fe,[`${U}-selected`]:G,[`${U}-disabled`]:W}),onMouseEnter:ue,onMouseLeave:de}),be,!j&&C.createElement(aS,{id:ve,open:ae,keyPath:H},d));return B&&(we=B(we,e,{selected:G,active:fe,open:ae,disabled:W})),C.createElement(xx,{classNames:a,styles:i,onItemClick:he,mode:O===`horizontal`?`vertical`:O,itemIcon:ne,expandIcon:re},we)}),cS=C.forwardRef((e,t)=>{let{eventKey:n,children:r}=e,i=Tx(n),a=Qx(r,i),o=Cx();C.useEffect(()=>{if(o)return o.registerPath(n,i),()=>{o.unregisterPath(n,i)}},[i]);let s;return s=o?a:C.createElement(sS,oS({ref:t},e),a),C.createElement(wx.Provider,{value:i},s)});function lS({className:e,style:t}){let{prefixCls:n}=C.useContext(bx);return Cx()?null:C.createElement(`li`,{role:`separator`,className:q(`${n}-item-divider`,e),style:t})}function uS(){return uS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:n,title:r,eventKey:i,children:a,...o}=e,{prefixCls:s,classNames:c,styles:l}=C.useContext(bx),u=`${s}-item-group`;return C.createElement(`li`,uS({ref:t,role:`presentation`},o,{onClick:e=>e.stopPropagation(),className:q(u,n)}),C.createElement(`div`,{role:`presentation`,className:q(`${u}-title`,c?.listTitle),style:l?.listTitle,title:typeof r==`string`?r:void 0},r),C.createElement(`ul`,{role:`group`,className:q(`${u}-list`,c?.list),style:l?.list},a))}),fS=C.forwardRef((e,t)=>{let{eventKey:n,children:r}=e,i=Qx(r,Tx(n));return Cx()?i:C.createElement(dS,uS({ref:t},Cr(e,[`warnKey`])),i)});function pS(){return pS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(e&&typeof e==`object`){let{label:c,children:l,key:u,type:d,extra:f,...p}=e,m=u??`tmp-${s}`;return l||d===`group`?d===`group`?C.createElement(i,pS({key:m},p,{title:c}),mS(l,t,n)):C.createElement(a,pS({key:m},p,{title:c}),mS(l,t,n)):d===`divider`?C.createElement(o,pS({key:m},p)):C.createElement(r,pS({key:m},p,{extra:f}),c,(!!f||f===0)&&C.createElement(`span`,{className:`${n}-item-extra`},f))}return null}).filter(e=>e)}function hS(e,t,n,r,i){let a=e,o={divider:lS,item:Yx,group:fS,submenu:cS,...r};return t&&(a=mS(t,o,i)),Qx(a,n)}function gS(){return gS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n=`rc-menu`,rootClassName:r,style:i,className:a,styles:o,classNames:s,tabIndex:c=0,items:l,children:u,direction:d,id:f,mode:p=`vertical`,inlineCollapsed:m,disabled:h,disabledOverflow:g,subMenuOpenDelay:_=.1,subMenuCloseDelay:v=.1,forceSubMenuRender:y,defaultOpenKeys:b,openKeys:x,activeKey:S,defaultActiveFirst:w,selectable:T=!0,multiple:E=!1,defaultSelectedKeys:D,selectedKeys:O,onSelect:k,onDeselect:A,inlineIndent:j=24,motion:M,defaultMotions:N,triggerSubMenuAction:P=`hover`,builtinPlacements:F,itemIcon:I,expandIcon:L,overflowedIndicator:R=`...`,overflowedIndicatorPopupClassName:z,getPopupContainer:B,onClick:V,onOpenChange:H,onKeyDown:U,openAnimation:W,openTransitionName:ee,_internalRenderMenuItem:te,_internalRenderSubMenuItem:ne,_internalComponents:re,popupRender:ie,...ae}=e,[G,oe]=C.useMemo(()=>[hS(u,l,_S,re,n),hS(u,l,_S,{},n)],[u,l,re]),[K,se]=C.useState(!1),ce=C.useRef(),le=Bf(f?`rc-menu-uuid-${f}`:`rc-menu-uuid`),ue=d===`rtl`,[de,fe]=Wn(b,x),pe=de||_S,me=(e,t=!1)=>{function n(){fe(e),H?.(e)}t?(0,Yf.flushSync)(n):n()},[he,ge]=C.useState(pe),_e=C.useRef(!1),[ve,ye]=C.useMemo(()=>(p===`inline`||p===`vertical`)&&m?[`vertical`,m]:[p,!1],[p,m]),be=ve===`inline`,[xe,Se]=C.useState(ve),[Ce,we]=C.useState(ye);C.useEffect(()=>{Se(ve),we(ye),_e.current&&(be?fe(he):me(_S))},[ve,ye]);let[Te,Ee]=C.useState(0),De=Te>=G.length-1||xe!==`horizontal`||g;C.useEffect(()=>{be&&ge(pe)},[pe]),C.useEffect(()=>(_e.current=!0,()=>{_e.current=!1}),[]);let{registerPath:Oe,unregisterPath:ke,refreshOverflowKeys:Ae,isSubPathKey:je,getKeyPath:Me,getKeys:Ne,getSubPathKeys:Pe}=Rie(),Fe=C.useMemo(()=>({registerPath:Oe,unregisterPath:ke}),[Oe,ke]),Ie=C.useMemo(()=>({isSubPathKey:je}),[je]);C.useEffect(()=>{Ae(De?_S:G.slice(Te+1).map(e=>e.key))},[Te,De]);let[Le,Re]=Wn(S||w&&G[0]?.key,S),ze=Ux(e=>{Re(e)}),Be=Ux(()=>{Re(void 0)});(0,C.useImperativeHandle)(t,()=>({list:ce.current,focus:e=>{let t=Ne(),{elements:n,key2element:r,element2key:i}=zx(t,le),a=Lx(ce.current,n),o;o=Le&&t.includes(Le)?Le:a[0]?i.get(a[0]):G.find(e=>!e.props.disabled)?.key;let s=r.get(o);o&&s&&s?.focus?.(e)},findItem:({key:e})=>{let{key2element:t}=zx(Ne(),le);return t.get(e)||null}}));let[Ve,He]=Wn(D||[],O),Ue=C.useMemo(()=>Array.isArray(Ve)?Ve:Ve==null?_S:[Ve],[Ve]),We=e=>{if(T){let{key:t}=e,n=Ue.includes(t),r;r=E?n?Ue.filter(e=>e!==t):[...Ue,t]:[t],He(r);let i={...e,selectedKeys:r};n?A?.(i):k?.(i)}!E&&pe.length&&xe!==`inline`&&me(_S)},Ge=Ux(e=>{V?.(qx(e)),We(e)}),Ke=Ux((e,t)=>{let n=pe.filter(t=>t!==e);if(t)n.push(e);else if(xe!==`inline`){let t=Pe(e);n=n.filter(e=>!t.has(e))}Ei(pe,n,!0)||me(n,!0)}),qe=Fie(xe,Le,ue,le,ce,Ne,Me,Re,(e,t)=>{Ke(e,t??!pe.includes(e))},U);C.useEffect(()=>{se(!0)},[]);let Je=C.useMemo(()=>({_internalRenderMenuItem:te,_internalRenderSubMenuItem:ne}),[te,ne]),Ye=xe!==`horizontal`||g?G:G.map((e,t)=>C.createElement(xx,{key:e.key,overflowDisabled:t>Te,classNames:s,styles:o},e)),Xe=C.createElement(xy,gS({id:f,ref:ce,prefixCls:`${n}-overflow`,component:`ul`,itemComponent:Yx,className:q(n,`${n}-root`,`${n}-${xe}`,a,{[`${n}-inline-collapsed`]:Ce,[`${n}-rtl`]:ue},r),dir:d,style:i,role:`menu`,tabIndex:c,data:Ye,renderRawItem:e=>e,renderRawRest:e=>{let t=e.length,n=t?G.slice(-t):null;return C.createElement(cS,{eventKey:Hx,title:R,disabled:De,internalPopupClose:t===0,popupClassName:z},n)},maxCount:xe!==`horizontal`||g?xy.INVALIDATE:xy.RESPONSIVE,ssr:`full`,"data-menu-list":!0,onVisibleChange:e=>{Ee(e)},onKeyDown:qe},ae));return C.createElement(Dx.Provider,{value:Je},C.createElement(_x.Provider,{value:le},C.createElement(xx,{prefixCls:n,rootClassName:r,classNames:s,styles:o,mode:xe,openKeys:pe,rtl:ue,disabled:h,motion:K?M:null,defaultMotions:K?N:null,activeKey:Le,onActive:ze,onInactive:Be,selectedKeys:Ue,inlineIndent:j,subMenuOpenDelay:_,subMenuCloseDelay:v,forceSubMenuRender:y,builtinPlacements:F,triggerSubMenuAction:P,getPopupContainer:B,itemIcon:I,expandIcon:L,onItemClick:Ge,onOpenChange:Ke,popupRender:ie},C.createElement(Ex.Provider,{value:Ie},Xe),C.createElement(`div`,{style:{display:`none`},"aria-hidden":!0},C.createElement(Sx.Provider,{value:Fe},oe)))))});vS.Item=Yx,vS.SubMenu=cS,vS.ItemGroup=fS,vS.Divider=lS;var yS={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`bars`,theme:`outlined`};function bS(){return bS=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,bS({},e,{ref:t,icon:yS}))),SS=C.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}}),CS=e=>{let{antCls:t,componentCls:n,colorText:r,footerBg:i,headerHeight:a,headerPadding:o,headerColor:s,footerPadding:c,fontSize:l,bodyBg:u,headerBg:d}=e;return{[n]:{display:`flex`,flex:`auto`,flexDirection:`column`,minHeight:0,background:u,"&, *":{boxSizing:`border-box`},[`&${n}-has-sider`]:{flexDirection:`row`,[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:`0 0 auto`},"&-rtl":{direction:`rtl`}},[`${n}-header`]:{height:a,padding:o,color:s,lineHeight:J(a),background:d,[`${t}-menu`]:{lineHeight:`inherit`}},[`${n}-footer`]:{padding:c,color:r,fontSize:l,background:i},[`${n}-content`]:{flex:`auto`,color:r,minHeight:0}}},wS=e=>{let{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:i,controlHeightSM:a,marginXXS:o,colorTextLightSolid:s,colorBgContainer:c}=e,l=r*1.25;return{colorBgHeader:`#001529`,colorBgBody:t,colorBgTrigger:`#002140`,bodyBg:t,headerBg:`#001529`,headerHeight:n*2,headerPadding:`0 ${l}px`,headerColor:i,footerPadding:`${a}px ${l}px`,footerBg:t,siderBg:`#001529`,triggerHeight:r+o*2,triggerBg:`#002140`,triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:i}},TS=[[`colorBgBody`,`bodyBg`],[`colorBgHeader`,`headerBg`],[`colorBgTrigger`,`triggerBg`]],ES=il(`Layout`,CS,wS,{deprecatedTokens:TS}),DS=il([`Layout`,`Sider`],e=>{let{componentCls:t,siderBg:n,motionDurationMid:r,motionDurationSlow:i,antCls:a,triggerHeight:o,triggerColor:s,triggerBg:c,headerHeight:l,zeroTriggerWidth:u,zeroTriggerHeight:d,borderRadiusLG:f,lightSiderBg:p,lightTriggerColor:m,lightTriggerBg:h,bodyBg:g}=e;return{[t]:{position:`relative`,minWidth:0,background:n,transition:`all ${r}, background 0s`,"&-has-trigger":{paddingBottom:o},"&-right":{order:1},[`${t}-children`]:{height:`100%`,marginTop:-.1,paddingTop:.1,[`${a}-menu${a}-menu-inline-collapsed`]:{width:`auto`}},[`&-zero-width ${t}-children`]:{overflow:`hidden`},[`${t}-trigger`]:{position:`fixed`,bottom:0,zIndex:1,height:o,color:s,lineHeight:J(o),textAlign:`center`,background:c,cursor:`pointer`,transition:`all ${r}`},[`${t}-zero-width-trigger`]:{position:`absolute`,top:l,insetInlineEnd:e.calc(u).mul(-1).equal(),zIndex:1,width:u,height:d,color:s,fontSize:e.fontSizeXL,display:`flex`,alignItems:`center`,justifyContent:`center`,background:n,borderRadius:`0 ${J(f)} ${J(f)} 0`,cursor:`pointer`,transition:`background-color ${i} ease`,"&::after":{position:`absolute`,inset:0,background:`transparent`,transition:`all ${i}`,content:`""`},"&:hover::after":{background:`rgba(255, 255, 255, 0.2)`},"&-right":{insetInlineStart:e.calc(u).mul(-1).equal(),borderRadius:`${J(f)} 0 0 ${J(f)}`}},"&-light":{background:p,[`${t}-trigger`]:{color:m,background:h},[`${t}-zero-width-trigger`]:{color:m,background:h,border:`1px solid ${g}`,borderInlineStart:0}}}}},wS,{deprecatedTokens:TS}),OS={xs:`479.98px`,sm:`575.98px`,md:`767.98px`,lg:`991.98px`,xl:`1199.98px`,xxl:`1599.98px`,xxxl:`1839.98px`},kS=e=>!Number.isNaN(Number.parseFloat(e))&&Number.isFinite(Number(e)),AS=C.createContext({}),jS=(()=>{let e=0;return(t=``)=>(e+=1,`${t}${e}`)})(),MS=C.forwardRef((e,t)=>{let{prefixCls:n,className:r,trigger:i,children:a,defaultCollapsed:o=!1,theme:s=`dark`,style:c={},collapsible:l=!1,reverseArrow:u=!1,width:d=200,collapsedWidth:f=80,zeroWidthTriggerStyle:p,breakpoint:m,onCollapse:h,onBreakpoint:g,..._}=e,{siderHook:v}=(0,C.useContext)(SS),[y,b]=(0,C.useState)(`collapsed`in e?e.collapsed:o),[x,S]=(0,C.useState)(!1);(0,C.useEffect)(()=>{`collapsed`in e&&b(e.collapsed)},[e.collapsed]);let w=(t,n)=>{`collapsed`in e||b(t),h?.(t,n)},{getPrefixCls:T,direction:E}=(0,C.useContext)(si),D=T(`layout-sider`,n),[O,k]=DS(D),A=(0,C.useRef)(null);A.current=e=>{S(e.matches),g?.(e.matches),y!==e.matches&&w(e.matches,`responsive`)},(0,C.useEffect)(()=>{function e(e){return A.current?.(e)}let t;return window?.matchMedia!==void 0&&m&&m in OS&&(t=window.matchMedia(`screen and (max-width: ${OS[m]})`),typeof t?.addEventListener==`function`&&t.addEventListener(`change`,e),e(t)),()=>{typeof t?.removeEventListener==`function`&&t.removeEventListener(`change`,e)}},[m]),(0,C.useEffect)(()=>{let e=jS(`ant-sider-`);return v.addSider(e),()=>v.removeSider(e)},[]);let j=()=>{w(!y,`clickTrigger`)},M=Cr(_,[`collapsed`]),N=y?f:d,P=kS(N)?`${N}px`:String(N),F=Number.parseFloat(String(f||0))===0?C.createElement(`span`,{onClick:j,className:q(`${D}-zero-width-trigger`,`${D}-zero-width-trigger-${u?`right`:`left`}`),style:p},i||C.createElement(xS,null)):null,I=E===`rtl`==!u,L={expanded:I?C.createElement(vh,null):C.createElement(fx,null),collapsed:I?C.createElement(fx,null):C.createElement(vh,null)}[y?`collapsed`:`expanded`],R=i===null?null:F||C.createElement(`div`,{className:`${D}-trigger`,onClick:j,style:{width:P}},i||L),z={...c,flex:`0 0 ${P}`,maxWidth:P,minWidth:P,width:P},B=q(D,`${D}-${s}`,{[`${D}-collapsed`]:!!y,[`${D}-has-trigger`]:l&&i!==null&&!F,[`${D}-below`]:!!x,[`${D}-zero-width`]:Number.parseFloat(P)===0},r,O,k),V=C.useMemo(()=>({siderCollapsed:y}),[y]);return C.createElement(AS.Provider,{value:V},C.createElement(`aside`,{className:B,...M,style:z,ref:t},C.createElement(`div`,{className:`${D}-children`},a),l||x&&F?R:null))}),NS={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`ellipsis`,theme:`outlined`};function PS(){return PS=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PS({},e,{ref:t,icon:NS}))),IS=(0,C.createContext)({prefixCls:``,firstLevel:!0,inlineCollapsed:!1,styles:null,classNames:null}),LS=e=>{let{prefixCls:t,className:n,dashed:r,...i}=e,{getPrefixCls:a}=C.useContext(si),o=q({[`${a(`menu`,t)}-item-divider-dashed`]:!!r},n);return C.createElement(lS,{className:o,...i})},RS=e=>{let{className:t,children:n,icon:r,title:i,danger:a,extra:o}=e,{prefixCls:s,firstLevel:c,direction:l,disableMenuItemTitleTooltip:u,tooltip:d,inlineCollapsed:f,styles:p,classNames:m}=C.useContext(IS),h=e=>{let t=n?.[0],i=C.createElement(`span`,{className:q(`${s}-title-content`,c?m?.itemContent:m?.subMenu?.itemContent,{[`${s}-title-content-with-extra`]:!!o||o===0}),style:c?p?.itemContent:p?.subMenu?.itemContent},n);return(!r||C.isValidElement(n)&&n.type===`span`)&&n&&e&&c&&typeof t==`string`?C.createElement(`div`,{className:`${s}-inline-collapsed-noicon`},t.charAt(0)):i},{siderCollapsed:g}=C.useContext(AS),_=i;i===void 0?_=c?n:``:i===!1&&(_=``);let v=d===!1?void 0:d,y=v&&v.title!==void 0?v.title:_,b={...v??null,title:y};!g&&!f&&(b.title=null,b.open=!1);let x=wr(n).length,S=C.createElement(Yx,{...Cr(e,[`title`,`icon`,`danger`]),className:q(c?m?.item:m?.subMenu?.item,{[`${s}-item-danger`]:a,[`${s}-item-only-child`]:(r?x+1:x)===1},t),style:{...c?p?.item:p?.subMenu?.item,...e.style},title:typeof i==`string`?i:void 0},Fp(r,e=>({className:q(`${s}-item-icon`,c?m?.itemIcon:m?.subMenu?.itemIcon,e.className),style:{...c?p?.itemIcon:p?.subMenu?.itemIcon,...e.style}})),h(f));if(!u&&d!==!1){let e=v&&v.placement?v.placement:l===`rtl`?`left`:`right`,t=`${s}-inline-collapsed-tooltip`,n=e=>({...e,root:q(t,e?.root)}),r=v&&typeof v.classNames==`function`?e=>n(v.classNames(e)):n(v?.classNames);S=C.createElement(nx,{...b,placement:e,classNames:r},S)}return S},zS=C.createContext(null),BS=C.forwardRef((e,t)=>{let{children:n,...r}=e,i=C.useContext(zS),a=C.useMemo(()=>({...i,...r}),[i,r.prefixCls,r.mode,r.selectable,r.rootClassName]),o=ir(n),s=tr(t,o?ar(n):null);return C.createElement(zS.Provider,{value:a},C.createElement(I_,{space:!0},o?C.cloneElement(n,{ref:s}):n))}),VS=e=>{let{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:i,lineWidth:a,lineType:o,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${J(a)} ${o} ${i}`,boxShadow:`none`,"&::after":{display:`block`,clear:`both`,height:0,content:`"\\20"`},[`${t}-item, ${t}-submenu`]:{position:`relative`,display:`inline-block`,verticalAlign:`bottom`,paddingInline:s},[`> ${t}-item:hover, + `]:{animationName:uh},"&-hidden":{display:`none`},[r]:{...Qy(e),cursor:`pointer`,transition:`background-color ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:`default`},"&-option":{display:`flex`,"&-content":{flex:`auto`,...Jc},"&-state":{flex:`none`,display:`flex`,alignItems:`center`},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:`not-allowed`},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":{...Qy(e),color:e.colorTextDisabled}},[`${c}:has(+ ${c})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${c}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:`rtl`}}},dh(e,`slide-up`),dh(e,`slide-down`),oh(e,`move-up`),oh(e,`move-down`)]},eb=e=>{let{componentCls:t}=e;return{[`&${t}-customize`]:{border:0,padding:0,fontSize:`inherit`,lineHeight:`inherit`,[`${t}-placeholder`]:{display:`none`},[`${t}-content`]:{margin:0,padding:0,"&-value":{display:`none`}}}}},tb=4,nb=e=>{let{componentCls:t,calc:n,iconCls:r,paddingXS:i,paddingXXS:a,INTERNAL_FIXED_ITEM_MARGIN:o,lineWidth:s,colorIcon:c,colorIconHover:l,inputPaddingHorizontalBase:u,antCls:d}=e,[f,p]=sl(d,`select`);return{"&-multiple":{[f(`multi-item-background`)]:e.multipleItemBg,[f(`multi-item-border-color`)]:`transparent`,[f(`multi-item-border-radius`)]:e.borderRadiusSM,[f(`multi-item-height`)]:e.multipleItemHeight,[f(`multi-padding-base`)]:`calc((${p(`height`)} - ${p(`multi-item-height`)}) / 2)`,[f(`multi-padding-vertical`)]:`calc(${p(`multi-padding-base`)} - ${o} - ${s})`,[f(`multi-item-padding-horizontal`)]:`calc(${u} - ${p(`multi-padding-vertical`)} - ${s} * 2)`,paddingBlock:p(`multi-padding-vertical`),paddingInlineStart:`calc(${p(`multi-padding-base`)} - ${s})`,[`${t}-prefix`]:{marginInlineStart:p(`multi-item-padding-horizontal`)},[`${t}-prefix + ${t}-content`]:{[`${t}-placeholder`]:{insetInlineStart:0},[`${t}-content-item${t}-content-item-suffix`]:{marginInlineStart:0}},[`${t}-placeholder`]:{position:`absolute`,lineHeight:p(`line-height`),insetInlineStart:p(`multi-item-padding-horizontal`),width:`calc(100% - ${p(`multi-item-padding-horizontal`)})`,top:`50%`,transform:`translateY(-50%)`},[`${t}-content`]:{flexWrap:`wrap`,alignItems:`center`,lineHeight:1,"&-item-prefix":{height:p(`font-size`)},"&-item":{lineHeight:1,maxWidth:`calc(100% - ${tb}px)`},[`${t}-content-item-prefix + ${t}-content-item-suffix, + ${t}-content-item-suffix:first-child`]:{marginInlineStart:p(`multi-item-padding-horizontal`)},[`${t}-selection-item`]:{lineHeight:`calc(${p(`multi-item-height`)} - ${s} * 2)`,border:`${s} solid ${p(`multi-item-border-color`)}`,display:`flex`,marginBlock:o,marginInlineEnd:n(o).mul(2).equal(),background:p(`multi-item-background`),borderRadius:p(`multi-item-border-radius`),paddingInlineStart:i,paddingInlineEnd:a,transition:[`height`,`line-height`,`padding`].map(t=>`${t} ${e.motionDurationSlow}`).join(`,`),"&-content":{...Jc,marginInlineEnd:a},"&-remove":{...Xc(),display:`inline-flex`,alignItems:`center`,color:c,fontWeight:`bold`,fontSize:10,lineHeight:`inherit`,cursor:`pointer`,[`> ${r}`]:{verticalAlign:`-0.2em`},"&:hover":{color:l}}},[`${t}-input`]:{lineHeight:n(o).mul(2).add(p(`multi-item-height`)).equal(),width:`calc(var(--select-input-width, 0) * 1px)`,minWidth:tb,maxWidth:`100%`,transition:`line-height ${e.motionDurationSlow}`}},[`&${t}-sm`]:{[f(`multi-item-height`)]:e.multipleItemHeightSM,[f(`multi-item-border-radius`)]:e.borderRadiusXS},[`&${t}-lg`]:{[f(`multi-item-height`)]:e.multipleItemHeightLG,[f(`multi-item-border-radius`)]:e.borderRadius},[`&${t}-filled`]:{[f(`multi-item-border-color`)]:e.colorSplit,[f(`multi-item-background`)]:e.colorBgContainer,[`&${t}-disabled`]:{[f(`multi-item-border-color`)]:`transparent`}}}}},rb=(e,t)=>{let{componentCls:n,antCls:r}=e,[i]=sl(r,`select`),{border:a,borderHover:o,borderActive:s,borderOutline:c}=t,l=t.background||e.selectorBg||e.colorBgContainer;return{[i(`border-color`)]:a,[i(`background-color`)]:l,[i(`color`)]:t.color||e.colorText,[`&:not(${n}-disabled)`]:{"&:hover":{[i(`border-color`)]:o,[i(`background-color`)]:t.backgroundHover||l},[`&${n}-focused`]:{[i(`border-color`)]:s,[i(`background-color`)]:t.backgroundActive||l,boxShadow:`0 0 0 ${J(e.controlOutlineWidth)} ${c}`}},[`&${n}-disabled`]:{[i(`border-color`)]:t.borderDisabled||t.border,[i(`background-color`)]:t.backgroundDisabled||t.background}}},ib=(e,t,n,r={},i={},a)=>{let{componentCls:o}=e;return{[`&${o}-${t}`]:[rb(e,n),{[`&${o}-status-error`]:rb(e,{...n,color:r.color||e.colorError,...r}),[`&${o}-status-warning`]:rb(e,{...n,color:i.color||e.colorWarning,...i})},a]}},ab=e=>{let{componentCls:t,fontHeight:n,controlHeight:r,iconCls:i,antCls:a,calc:o}=e,[s,c]=sl(a,`select`);return{[t]:[{[s(`border-radius`)]:e.borderRadius,[s(`border-color`)]:`#000`,[s(`border-size`)]:e.lineWidth,[s(`background-color`)]:e.colorBgContainer,[s(`font-size`)]:e.fontSize,[s(`line-height`)]:e.lineHeight,[s(`font-height`)]:n,[s(`color`)]:e.colorText,[s(`height`)]:r,[s(`padding-horizontal`)]:o(e.paddingSM).sub(e.lineWidth).equal(),[s(`padding-vertical`)]:`calc((${c(`height`)} - ${c(`font-height`)}) / 2 - ${c(`border-size`)})`,...Yc(e,!0),display:`inline-flex`,flexWrap:`nowrap`,position:`relative`,transition:`all ${e.motionDurationSlow}`,alignItems:`flex-start`,outline:0,cursor:`pointer`,borderRadius:c(`border-radius`),borderWidth:c(`border-size`),borderStyle:e.lineType,borderColor:c(`border-color`),background:c(`background-color`),fontSize:c(`font-size`),lineHeight:c(`line-height`),color:c(`color`),paddingInline:c(`padding-horizontal`),paddingBlock:c(`padding-vertical`),[`${t}-prefix`]:{flex:`none`,lineHeight:1},[`${t}-placeholder`]:{...Jc,color:e.colorTextPlaceholder,pointerEvents:`none`,zIndex:1},[`${t}-content`]:{flex:`auto`,minWidth:0,position:`relative`,display:`flex`,marginInlineEnd:o(e.paddingXXS).mul(1.5).equal(),"&:before":{content:`"\\a0"`,width:0,overflow:`hidden`},"&-value":{visibility:`inherit`},"input[readonly]":{cursor:`inherit`,caretColor:`transparent`}},[`${t}-suffix`]:{flex:`none`,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,"> :not(:last-child)":{marginInlineEnd:e.marginXS}},[`${t}-prefix, ${t}-suffix`]:{alignSelf:`center`,[i]:{verticalAlign:`top`}},"&-disabled":{background:e.colorBgContainerDisabled,color:e.colorTextDisabled,cursor:`not-allowed`,input:{cursor:`not-allowed`}},"&-sm":{[s(`height`)]:e.controlHeightSM,[s(`padding-horizontal`)]:o(e.paddingXS).sub(e.lineWidth).equal(),[s(`border-radius`)]:e.borderRadiusSM,[`${t}-clear`]:{insetInlineEnd:c(`padding-horizontal`)}},"&-lg":{[s(`height`)]:e.controlHeightLG,[s(`font-size`)]:e.fontSizeLG,[s(`line-height`)]:e.lineHeightLG,[s(`font-height`)]:e.fontHeightLG,[s(`border-radius`)]:e.borderRadiusLG}},{[`&:not(${t}-customize)`]:{[`${t}-input`]:{outline:`none`,background:`transparent`,appearance:`none`,border:0,margin:0,padding:0,color:c(`color`),"&::-webkit-search-cancel-button":{display:`none`,appearance:`none`}}}},{[`&-single:not(${t}-customize)`]:{[`${t}-input`]:{position:`absolute`,inset:0,lineHeight:`calc(${c(`font-height`)} + ${c(`padding-vertical`)} * 2)`},[`${t}-content`]:{...Jc,alignSelf:`center`,"&-has-value":{display:`block`,"&:before":{display:`none`}},"&-has-search-value":{color:`transparent`},"&-value":{transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,zIndex:1}},[`&${t}-open ${t}-content`]:{color:e.colorTextPlaceholder,"&-has-search-value":{color:`transparent`}}}},{[`&-show-search:not(${t}-customize-input):not(${t}-disabled)`]:{cursor:`text`}},nb(e),ib(e,`outlined`,{border:e.colorBorder,borderHover:e.hoverBorderColor,borderActive:e.activeBorderColor,borderOutline:e.activeOutlineColor,borderDisabled:e.colorBorderDisabled},{border:e.colorError,borderHover:e.colorErrorHover,borderActive:e.colorError,borderOutline:e.colorErrorOutline},{border:e.colorWarning,borderHover:e.colorWarningHover,borderActive:e.colorWarning,borderOutline:e.colorWarningOutline}),ib(e,`filled`,{border:`transparent`,borderHover:`transparent`,borderActive:e.activeBorderColor,borderOutline:`transparent`,borderDisabled:e.colorBorderDisabled,background:e.colorFillTertiary,backgroundHover:e.colorFillSecondary,backgroundActive:e.colorBgContainer},{background:e.colorErrorBg,backgroundHover:e.colorErrorBgHover,borderActive:e.colorError},{background:e.colorWarningBg,backgroundHover:e.colorWarningBgHover,borderActive:e.colorWarning}),ib(e,`borderless`,{border:`transparent`,borderHover:`transparent`,borderActive:`transparent`,borderOutline:`transparent`,background:`transparent`}),ib(e,`underlined`,{border:e.colorBorder,borderHover:e.hoverBorderColor,borderActive:e.activeBorderColor,borderOutline:`transparent`},{border:e.colorError,borderHover:e.colorErrorHover,borderActive:e.colorError},{border:e.colorWarning,borderHover:e.colorWarningHover,borderActive:e.colorWarning},{borderRadius:0,borderTopColor:`transparent`,borderInlineColor:`transparent`}),eb(e)]}},ob=e=>{let{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:i,controlHeightSM:a,controlHeightLG:o,paddingXXS:s,controlPaddingHorizontal:c,zIndexPopupBase:l,colorText:u,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:p,colorBgContainer:m,colorFillSecondary:h,colorBgContainerDisabled:g,colorTextDisabled:_,colorPrimaryHover:v,colorPrimary:y,controlOutline:b}=e,x=s*2,S=r*2,C=Math.min(i-x,i-S),w=Math.min(a-x,a-S),T=Math.min(o-x,o-S);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:l+50,optionSelectedColor:u,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:p,optionPadding:`${(i-t*n)/2}px ${c}px`,optionFontSize:t,optionLineHeight:n,optionHeight:i,selectorBg:m,clearBg:m,singleItemHeightLG:o,multipleItemBg:h,multipleItemBorderColor:`transparent`,multipleItemHeight:C,multipleItemHeightSM:w,multipleItemHeightLG:T,multipleSelectorBgDisabled:g,multipleItemColorDisabled:_,multipleItemBorderColorDisabled:`transparent`,showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25),hoverBorderColor:v,activeBorderColor:y,activeOutlineColor:b,selectAffixPadding:s}},sb=e=>{let{antCls:t,componentCls:n,motionDurationMid:r,inputPaddingHorizontalBase:i}=e,a={[`${n}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:`50%`}};return{[n]:{...Yc(e),[`${n}-selection-item`]:{flex:1,fontWeight:`normal`,position:`relative`,userSelect:`none`,...Jc,[`> ${t}-typography`]:{display:`inline`}},[`${n}-prefix`]:{flex:`none`,marginInlineEnd:e.selectAffixPadding},[`${n}-clear`]:{position:`absolute`,top:`50%`,insetInlineStart:`auto`,insetInlineEnd:i,zIndex:1,display:`inline-block`,width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:`normal`,lineHeight:1,textAlign:`center`,textTransform:`none`,cursor:`pointer`,opacity:0,transition:[`color`,`opacity`].map(e=>`${e} ${r} ease`).join(`, `),textRendering:`auto`,transform:`translateZ(0)`,"&:before":{display:`block`},"&:hover":{color:e.colorIcon}},"@media(hover:none)":a,"&:hover":a},[`${n}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(i).add(e.fontSize).add(e.paddingXS).equal()}}}}}},cb=e=>{let{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:`100%`}}},sb(e),$y(e),{[`${t}-rtl`]:{direction:`rtl`}},eg(e,{focusElCls:`${t}-focused`})]},lb=il(`Select`,(e,{rootPrefixCls:t})=>{let n=_s(e,{rootPrefixCls:t,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(e.lineWidth).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[cb(n),ab(n)]},ob,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}}),ub={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z`}}]},name:`check`,theme:`outlined`};function db(){return db=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,db({},e,{ref:t,icon:ub}))),pb={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z`}}]},name:`down`,theme:`outlined`};function mb(){return mb=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,mb({},e,{ref:t,icon:pb}))),gb={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z`}}]},name:`search`,theme:`outlined`};function _b(){return _b=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_b({},e,{ref:t,icon:gb})));function yb({suffixIcon:e,clearIcon:t,menuItemSelectedIcon:n,removeIcon:r,loading:i,loadingIcon:a,multiple:o,hasFeedback:s,showSuffixIcon:c,feedbackIcon:l,showArrow:u,componentName:d}){let f=t??C.createElement(Il,null),p=t=>e===null&&!s&&!u?null:C.createElement(C.Fragment,null,c!==!1&&t,s&&l),m=null;m=e===void 0?i?p(a??C.createElement(fm,{spin:!0})):({open:e,showSearch:t})=>p(e&&t?C.createElement(vb,null):C.createElement(hb,null)):p(e);let h=null;h=n===void 0?o?C.createElement(fb,null):null:n;let g=null;return g=r===void 0?C.createElement(zl,null):r,{clearIcon:f,suffixIcon:m,itemIcon:h,removeIcon:g}}function bb(e){return C.useMemo(()=>{if(e)return(...t)=>C.createElement(U_,{space:!0},e.apply(void 0,t))},[e])}function xb(e,t){return t===void 0?e!==null:t}var Sb=`SECRET_COMBOBOX_MODE_DO_NOT_USE`,Cb=C.forwardRef((e,t)=>{let{prefixCls:n,bordered:r,className:i,rootClassName:a,getPopupContainer:o,popupClassName:s,dropdownClassName:c,listHeight:l=256,placement:u,listItemHeight:d,size:f,disabled:p,notFoundContent:m,status:h,builtinPlacements:g,dropdownMatchSelectWidth:_,popupMatchSelectWidth:v,direction:y,style:b,allowClear:x,variant:S,popupStyle:w,dropdownStyle:T,transitionName:E,tagRender:D,maxCount:O,prefix:k,dropdownRender:A,popupRender:j,onDropdownVisibleChange:M,onOpenChange:N,styles:P,classNames:F,...I}=e,{getPopupContainer:L,getPrefixCls:R,renderEmpty:z,direction:B,virtual:V,popupMatchSelectWidth:H,popupOverflow:U}=C.useContext(si),{showSearch:W,style:ee,styles:te,className:ne,classNames:re}=ui(`select`),[,ie]=qc(),ae=d??ie?.controlHeight,G=R(`select`,n),oe=R(),K=y??B,{compactSize:se,compactItemClassnames:ce}=Vm(G,K),[le,ue]=Yy(`select`,S,r),de=xf(G),[fe,pe]=lb(G,de),me=C.useMemo(()=>{let{mode:t}=e;if(t!==`combobox`)return t===Sb?`combobox`:t},[e.mode]),he=me===`multiple`||me===`tags`,ge=xb(e.suffixIcon,e.showArrow),_e=v??_??H,ve=bb(j||A),ye=N||M,{status:be,hasFeedback:xe,isFormItemInput:Se,feedbackIcon:Ce}=C.useContext(B_),we=By(be,h),Te;Te=m===void 0?me===`combobox`?null:z?.(`Select`)||C.createElement(Jy,{componentName:`Select`}):m;let{suffixIcon:Ee,itemIcon:De,removeIcon:Oe,clearIcon:ke}=yb({...I,multiple:he,hasFeedback:xe,feedbackIcon:Ce,showSuffixIcon:ge,prefixCls:G,componentName:`Select`}),Ae=x===!0?{clearIcon:ke}:x,je=Cr(I,[`suffixIcon`,`itemIcon`]),Me=Rm(e=>f??se??e),Ne=C.useContext(Bp),Pe=p??Ne,Fe={...e,variant:le,status:we,disabled:Pe,size:Me},[Ie,Le]=Id([re,F],[te,P],{props:Fe},{popup:{_default:`root`}}),Re=q(Ie.popup?.root,s,c,{[`${G}-dropdown-${K}`]:K===`rtl`},a,pe,de,fe),ze={...Le.popup?.root,...w??T},Be=q({[`${G}-lg`]:Me===`large`,[`${G}-sm`]:Me===`small`,[`${G}-rtl`]:K===`rtl`,[`${G}-${le}`]:ue,[`${G}-in-form-item`]:Se},zy(G,we,xe),ce,ne,i,Ie.root,a,pe,de,fe),Ve=C.useMemo(()=>u===void 0?K===`rtl`?`bottomRight`:`bottomLeft`:u,[u,K]),[He]=Xd(`SelectLike`,Le.popup?.root?.zIndex??ze?.zIndex);return C.createElement(oie,{ref:t,virtual:V,classNames:Ie,styles:Le,showSearch:W,...je,style:{...Le.root,...ee,...b},popupMatchSelectWidth:_e,transitionName:Nm(oe,`slide-up`,E),builtinPlacements:Zy(g,U),listHeight:l,listItemHeight:ae,mode:me,prefixCls:G,placement:Ve,direction:K,prefix:k,suffixIcon:Ee,menuItemSelectedIcon:De,removeIcon:Oe,allowClear:Ae,notFoundContent:Te,className:Be,getPopupContainer:o||L,popupClassName:Re,disabled:Pe,popupStyle:{...Le.popup?.root,...ze,zIndex:He},maxCount:he?O:void 0,tagRender:he?D:void 0,popupRender:ve,onPopupVisibleChange:ye})}),wb=zv(Cb,`popupAlign`);Cb.SECRET_COMBOBOX_MODE_DO_NOT_USE=Sb,Cb.Option=by,Cb.OptGroup=yy,Cb._InternalPanelDoNotUseOrYouWillBeFired=wb;var Tb=[`xxxl`,`xxl`,`xl`,`lg`,`md`,`sm`,`xs`],Eb=[].concat(Tb).reverse(),Db=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`,xxxl:`(min-width: ${e.screenXXXL}px)`}),Ob=e=>{let t=e,n=[].concat(Tb).reverse();return n.forEach((e,r)=>{let i=e.toUpperCase(),a=`screen${i}Min`,o=`screen${i}`;if(!(t[a]<=t[o]))throw Error(`${a}<=${o} fails : !(${t[a]}<=${t[o]})`);if(r{if(t){for(let n of Tb)if(e[n]&&t?.[n]!==void 0)return t[n]}},Ab=()=>{let[,e]=qc(),t=Db(Ob(e));return C.useMemo(()=>{let e=new Map,n=-1,r={};return{responsiveMap:t,matchHandlers:{},dispatch(t){return r=t,e.forEach(e=>{e(r)}),e.size>=1},subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},register(){Object.entries(t).forEach(([e,t])=>{let n=({matches:t})=>{this.dispatch({...r,[e]:t})},i=window.matchMedia(t);typeof i?.addEventListener==`function`&&i.addEventListener(`change`,n),this.matchHandlers[t]={mql:i,listener:n},n(i)})},unregister(){Object.values(t).forEach(e=>{let t=this.matchHandlers[e];typeof t?.mql?.removeEventListener==`function`&&t.mql.removeEventListener(`change`,t?.listener)}),e.clear()}}},[t])};function jb(e=!0,t={}){let n=(0,C.useRef)(t),[,r]=Dd(),i=Ab();return Vn(()=>{let t=i.subscribe(t=>{n.current=t,e&&r()});return()=>i.unsubscribe(t)},[]),n.current}var Mb=C.createContext({}),Nb=e=>{let{antCls:t,componentCls:n,iconCls:r,avatarBg:i,avatarColor:a,containerSize:o,containerSizeLG:s,containerSizeSM:c,textFontSize:l,textFontSizeLG:u,textFontSizeSM:d,iconFontSize:f,iconFontSizeLG:p,iconFontSizeSM:m,borderRadius:h,borderRadiusLG:g,borderRadiusSM:_,lineWidth:v,lineType:y}=e,b=(e,t,i,a)=>({width:e,height:e,borderRadius:`50%`,fontSize:t,[`&${n}-square`]:{borderRadius:a},[`&${n}-icon`]:{fontSize:i,[`> ${r}`]:{margin:0}}});return{[n]:{...Yc(e),position:`relative`,display:`inline-flex`,justifyContent:`center`,alignItems:`center`,overflow:`hidden`,color:a,whiteSpace:`nowrap`,textAlign:`center`,verticalAlign:`middle`,background:i,border:`${J(v)} ${y} transparent`,"&-image":{background:`transparent`},[`${t}-image-img`]:{display:`block`},...b(o,l,f,h),"&-lg":{...b(s,u,p,g)},"&-sm":{...b(c,d,m,_)},"> img":{display:`block`,width:`100%`,height:`100%`,objectFit:`cover`}}}},Pb=e=>{let{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:i}=e;return{[`${t}-group`]:{display:`inline-flex`,[t]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:i}}}},Fb=il(`Avatar`,e=>{let{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=_s(e,{avatarBg:n,avatarColor:t});return[Nb(r),Pb(r)]},e=>{let{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:i,fontSizeLG:a,fontSizeXL:o,fontSizeHeading3:s,marginXS:c,marginXXS:l,colorBorderBg:u}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:i,textFontSizeLG:i,textFontSizeSM:i,iconFontSize:Math.round((a+o)/2),iconFontSizeLG:s,iconFontSizeSM:i,groupSpace:l,groupOverlapping:-c,groupBorderColor:u}}),Ib=C.forwardRef((e,t)=>{let{prefixCls:n,shape:r,size:i,src:a,srcSet:o,icon:s,className:c,rootClassName:l,style:u,alt:d,draggable:f,children:p,crossOrigin:m,gap:h=4,onError:g,..._}=e,[v,y]=C.useState(1),[b,x]=C.useState(!1),[S,w]=C.useState(!0),T=C.useRef(null),E=C.useRef(null),D=er(t,T),{getPrefixCls:O,className:k,style:A}=ui(`avatar`),j=C.useContext(Mb),M=()=>{if(!E.current||!T.current)return;let e=E.current.offsetWidth,t=T.current.offsetWidth;e!==0&&t!==0&&h*2{x(!0)},[]),C.useEffect(()=>{w(!0),y(1)},[a]),C.useEffect(M,[h]);let N=()=>{g?.()!==!1&&w(!1)},P=Rm(e=>i??j?.size??e??`medium`),F=jb(Object.keys(gd(P)&&P||{}).some(e=>Tb.includes(e))),I=C.useMemo(()=>{if(!gd(P))return{};let e=P[Tb.find(e=>F[e])];return e?{width:e,height:e,fontSize:e&&(s||p)?e/2:18}:{}},[F,P,s,p]),L=O(`avatar`,n),R=xf(L),[z,B]=Fb(L,R),V=q({[`${L}-lg`]:P===`large`,[`${L}-sm`]:P===`small`}),H=C.isValidElement(a),U=q(L,V,k,`${L}-${r||j?.shape||`circle`}`,{[`${L}-image`]:H||a&&S,[`${L}-icon`]:!!s},B,R,c,l,z),W=md(P)?{width:P,height:P,fontSize:s?P/2:18}:{},ee;if(typeof a==`string`&&S)ee=C.createElement(`img`,{src:a,draggable:f,srcSet:o,onError:N,alt:d,crossOrigin:m});else if(H)ee=a;else if(s)ee=s;else if(b||v!==1){let e=`scale(${v})`,t={msTransform:e,WebkitTransform:e,transform:e};ee=C.createElement(Gr,{onResize:M},C.createElement(`span`,{className:`${L}-string`,ref:E,style:t},p))}else ee=C.createElement(`span`,{className:`${L}-string`,style:{opacity:0},ref:E},p);return C.createElement(`span`,{..._,style:{...W,...I,...A,...u},className:U,ref:D},ee)}),Lb=e=>e?typeof e==`function`?e():e:null,Rb=e=>{let{children:t,prefixCls:n,id:r,classNames:i,styles:a,className:o,style:s}=e;return C.createElement(`div`,{id:r,className:q(`${n}-container`,i?.container,o),style:{...a?.container,...s},role:`tooltip`},typeof t==`function`?t():t)},zb={shiftX:64,adjustY:1},Bb={adjustX:1,shiftY:!0},Vb=[0,0],Hb={left:{points:[`cr`,`cl`],overflow:Bb,offset:[-4,0],targetOffset:Vb},right:{points:[`cl`,`cr`],overflow:Bb,offset:[4,0],targetOffset:Vb},top:{points:[`bc`,`tc`],overflow:zb,offset:[0,-4],targetOffset:Vb},bottom:{points:[`tc`,`bc`],overflow:zb,offset:[0,4],targetOffset:Vb},topLeft:{points:[`bl`,`tl`],overflow:zb,offset:[0,-4],targetOffset:Vb},leftTop:{points:[`tr`,`tl`],overflow:Bb,offset:[-4,0],targetOffset:Vb},topRight:{points:[`br`,`tr`],overflow:zb,offset:[0,-4],targetOffset:Vb},rightTop:{points:[`tl`,`tr`],overflow:Bb,offset:[4,0],targetOffset:Vb},bottomRight:{points:[`tr`,`br`],overflow:zb,offset:[0,4],targetOffset:Vb},rightBottom:{points:[`bl`,`br`],overflow:Bb,offset:[4,0],targetOffset:Vb},bottomLeft:{points:[`tl`,`bl`],overflow:zb,offset:[0,4],targetOffset:Vb},leftBottom:{points:[`br`,`bl`],overflow:Bb,offset:[-4,0],targetOffset:Vb}};function Ub(){return Ub=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{trigger:n=[`hover`],mouseEnterDelay:r=0,mouseLeaveDelay:i=.1,prefixCls:a=`rc-tooltip`,children:o,onVisibleChange:s,afterVisibleChange:c,motion:l,placement:u=`right`,align:d={},destroyOnHidden:f=!1,defaultVisible:p,getTooltipContainer:m,arrowContent:h,overlay:g,id:_,showArrow:v=!0,classNames:y,styles:b,...x}=e,S=Bf(_),w=(0,C.useRef)(null);(0,C.useImperativeHandle)(t,()=>w.current);let T={...x};`visible`in e&&(T.popupVisible=e.visible);let E=C.useMemo(()=>{if(!v)return!1;let e=v===!0?{}:v;return{...e,className:q(e.className,y?.arrow),style:{...e.style,...b?.arrow},content:e.content??h}},[v,y?.arrow,b?.arrow,h]);return C.createElement(Mp,Ub({popupClassName:y?.root,prefixCls:a,popup:C.createElement(Rb,{key:`content`,prefixCls:a,id:S,classNames:y,styles:b},g),action:n,builtinPlacements:Hb,popupPlacement:u,ref:w,popupAlign:d,getPopupContainer:m,onOpenChange:s,afterOpenChange:c,popupMotion:l,defaultPopupVisible:p,autoDestroy:f,mouseLeaveDelay:i,popupStyle:b?.root,mouseEnterDelay:r,arrow:E,uniqueContainerClassName:y?.uniqueContainer,uniqueContainerStyle:b?.uniqueContainer},T),({open:e})=>{let t=C.Children.only(o),n={"aria-describedby":g&&e?S:void 0};return C.cloneElement(t,n)})});function Gb(e){let{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,i=t/2,a=i,o=r*1/Math.sqrt(2),s=i-r*(1-1/Math.sqrt(2)),c=i-1/Math.sqrt(2)*n,l=r*(Math.sqrt(2)-1)+1/Math.sqrt(2)*n,u=2*i-c,d=l,f=2*i-o,p=s,m=2*i-0,h=a,g=i*Math.sqrt(2)+r*(Math.sqrt(2)-2),_=r*(Math.sqrt(2)-1),v=`polygon(${_}px 100%, 50% ${_}px, ${2*i-_}px 100%, ${_}px 100%)`;return{arrowShadowWidth:g,arrowPath:`path('M 0 ${a} A ${r} ${r} 0 0 0 ${o} ${s} L ${c} ${l} A ${n} ${n} 0 0 1 ${u} ${d} L ${f} ${p} A ${r} ${r} 0 0 0 ${m} ${h} Z')`,arrowPolygon:v}}var Kb=(e,t,n)=>{let{sizePopupArrow:r,arrowPolygon:i,arrowPath:a,arrowShadowWidth:o,borderRadiusXS:s,calc:c}=e;return{pointerEvents:`none`,width:r,height:r,overflow:`hidden`,"&::before":{position:`absolute`,bottom:0,insetInlineStart:0,width:r,height:c(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,a]},content:`""`},"&::after":{content:`""`,position:`absolute`,width:o,height:o,bottom:0,insetInline:0,margin:`auto`,borderRadius:{_skip_check_:!0,value:`0 0 ${J(s)} 0`},transform:`translateY(50%) rotate(-135deg)`,boxShadow:n,zIndex:0,background:`transparent`}}};function qb(e){let{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?8:r}}function Jb(e,t){return e?t:{}}var Yb=(e,t,n)=>{let{componentCls:r,boxShadowPopoverArrow:i,arrowOffsetVertical:a,arrowOffsetHorizontal:o,antCls:s}=e,[c]=sl(s,`tooltip`),{arrowDistance:l=0,arrowPlacement:u={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:{[`${r}-arrow`]:[{position:`absolute`,zIndex:1,display:`block`,...Kb(e,t,i),"&:before":{background:t}}],...Jb(!!u.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(`,`)]:{bottom:l,transform:`translateY(100%) rotate(180deg)`},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:`50%`},transform:`translateX(-50%) translateY(100%) rotate(180deg)`},"&-placement-topLeft":{[c(`arrow-offset-x`)]:o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-topRight":{[c(`arrow-offset-x`)]:`calc(100% - ${J(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}}),...Jb(!!u.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(`,`)]:{top:l,transform:`translateY(-100%)`},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:`50%`},transform:`translateX(-50%) translateY(-100%)`},"&-placement-bottomLeft":{[c(`arrow-offset-x`)]:o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-bottomRight":{[c(`arrow-offset-x`)]:`calc(100% - ${J(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}}),...Jb(!!u.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(`,`)]:{right:{_skip_check_:!0,value:l},transform:`translateX(100%) rotate(90deg)`},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:`50%`},transform:`translateY(-50%) translateX(100%) rotate(90deg)`},[`&-placement-leftTop > ${r}-arrow`]:{top:a},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:a}}),...Jb(!!u.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(`,`)]:{left:{_skip_check_:!0,value:l},transform:`translateX(-100%) rotate(-90deg)`},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:`50%`},transform:`translateY(-50%) translateX(-100%) rotate(-90deg)`},[`&-placement-rightTop > ${r}-arrow`]:{top:a},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:a}})}}};function Xb(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};let i=gd(r)?r:{},a={};switch(e){case`top`:case`bottom`:a.shiftX=t.arrowOffsetHorizontal*2+n,a.shiftY=!0,a.adjustY=!0;break;case`left`:case`right`:a.shiftY=t.arrowOffsetVertical*2+n,a.shiftX=!0,a.adjustX=!0;break}let o={...a,...i};return o.shiftX||(o.adjustX=!0),o.shiftY||(o.adjustY=!0),o}var Zb={left:{points:[`cr`,`cl`]},right:{points:[`cl`,`cr`]},top:{points:[`bc`,`tc`]},bottom:{points:[`tc`,`bc`]},topLeft:{points:[`bl`,`tl`]},leftTop:{points:[`tr`,`tl`]},topRight:{points:[`br`,`tr`]},rightTop:{points:[`tl`,`tr`]},bottomRight:{points:[`tr`,`br`]},rightBottom:{points:[`bl`,`br`]},bottomLeft:{points:[`tl`,`bl`]},leftBottom:{points:[`br`,`bl`]}},Qb={topLeft:{points:[`bl`,`tc`]},leftTop:{points:[`tr`,`cl`]},topRight:{points:[`br`,`tc`]},rightTop:{points:[`tl`,`cr`]},bottomRight:{points:[`tr`,`bc`]},rightBottom:{points:[`bl`,`cr`]},bottomLeft:{points:[`tl`,`bc`]},leftBottom:{points:[`br`,`cl`]}},$b=new Set([`topLeft`,`topRight`,`bottomLeft`,`bottomRight`,`leftTop`,`leftBottom`,`rightTop`,`rightBottom`]);function ex(e){let{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:i,borderRadius:a,visibleFirst:o}=e,s=t/2,c={},l=qb({contentRadius:a,limitVerticalRadius:!0});return Object.keys(Zb).forEach(e=>{let a={...r&&Qb[e]||Zb[e],offset:[0,0],dynamicInset:!0};switch(c[e]=a,$b.has(e)&&(a.autoArrow=!1),e){case`top`:case`topLeft`:case`topRight`:a.offset[1]=-s-i;break;case`bottom`:case`bottomLeft`:case`bottomRight`:a.offset[1]=s+i;break;case`left`:case`leftTop`:case`leftBottom`:a.offset[0]=-s-i;break;case`right`:case`rightTop`:case`rightBottom`:a.offset[0]=s+i;break}if(r)switch(e){case`topLeft`:case`bottomLeft`:a.offset[0]=-l.arrowOffsetHorizontal-s;break;case`topRight`:case`bottomRight`:a.offset[0]=l.arrowOffsetHorizontal+s;break;case`leftTop`:case`rightTop`:a.offset[1]=-l.arrowOffsetHorizontal*2+s;break;case`leftBottom`:case`rightBottom`:a.offset[1]=l.arrowOffsetHorizontal*2-s;break}a.overflow=Xb(e,l,t,n),o&&(a.htmlRegion=`visibleFirst`)}),c}var tx=C.createContext(!1),nx=(e,t)=>{let n=e=>typeof e==`boolean`?{show:e}:e||{};return C.useMemo(()=>{let r=n(e),i=n(t);return{...i,...r,show:r.show??i.show??!0}},[e,t])},rx=`50%`,ix=e=>{let{calc:t,componentCls:n,tooltipMaxWidth:r,tooltipColor:i,tooltipBg:a,tooltipBorderRadius:o,zIndexPopup:s,controlHeight:c,boxShadowSecondary:l,paddingSM:u,paddingXS:d,arrowOffsetHorizontal:f,sizePopupArrow:p,antCls:m}=e,[h,g]=sl(m,`tooltip`),_=t(o).add(p).add(f).equal(),v={minWidth:t(o).mul(2).add(p).equal(),minHeight:c,padding:`${J(e.calc(u).div(2).equal())} ${J(d)}`,color:g(`overlay-color`,i),textAlign:`start`,textDecoration:`none`,wordWrap:`break-word`,backgroundColor:a,borderRadius:o,boxShadow:l,boxSizing:`border-box`},y={[h(`valid-offset-x`)]:g(`arrow-offset-x`,`var(--arrow-x)`),transformOrigin:[g(`valid-offset-x`,rx),`var(--arrow-y, ${rx})`].join(` `)};return[{[n]:{...Yc(e),position:`absolute`,zIndex:s,display:`block`,width:`max-content`,maxWidth:r,visibility:`visible`,...y,"&-hidden":{display:`none`},[h(`arrow-background-color`)]:a,[`${n}-container`]:[v,ah(e,!0)],[`&:has(~ ${n}-unique-container)`]:{[`${n}-container`]:{border:`none`,background:`transparent`,boxShadow:`none`}},[[`&-placement-topLeft`,`&-placement-topRight`,`&-placement-bottomLeft`,`&-placement-bottomRight`].join(`,`)]:{minWidth:_},[[`&-placement-left`,`&-placement-leftTop`,`&-placement-leftBottom`,`&-placement-right`,`&-placement-rightTop`,`&-placement-rightBottom`].join(`,`)]:{[`${n}-inner`]:{borderRadius:e.min(o,8)}},[`${n}-content`]:{position:`relative`},...cl(e,(e,{darkColor:t})=>({[`&${n}-${e}`]:{[`${n}-container`]:{backgroundColor:t},[`${n}-arrow`]:{[h(`arrow-background-color`)]:t}}})),"&-rtl":{direction:`rtl`}}},Yb(e,g(`arrow-background-color`)),{[`${n}-pure`]:{position:`relative`,maxWidth:`none`,margin:e.sizePopupArrow}},{[`${n}-unique-container`]:{...v,...y,position:`absolute`,zIndex:t(s).sub(1).equal(),"&-hidden":{display:`none`},"&-visible":{transition:`all ${e.motionDurationSlow}`}}}]},ax=e=>({zIndexPopup:e.zIndexPopupBase+70,maxWidth:250,...qb({contentRadius:e.borderRadius,limitVerticalRadius:!0}),...Gb(_s(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))}),ox=(e,t,n=!0)=>il(`Tooltip`,e=>{let{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:r,maxWidth:i}=e;return[ix(_s(e,{tooltipMaxWidth:i,tooltipColor:n,tooltipBorderRadius:t,tooltipBg:r})),gh(e,`zoom-big-fast`)]},ax,{resetStyle:!1,injectStyle:n})(e,t),sx=Os.map(e=>`${e}-inverse`),cx=[`success`,`processing`,`error`,`default`,`warning`];function lx(e,t=!0){return t?[].concat(Qr(sx),Qr(Os)).includes(e):Os.includes(e)}function ux(e){return cx.includes(e)}var dx=(e,t,n)=>{let r=lx(n),[i]=sl(e,`tooltip`),a=q({[`${t}-${n}`]:n&&r}),o={},s={},c=Uh(n).toRgb(),l=(.299*c.r+.587*c.g+.114*c.b)/255<.5?`#FFF`:`#000`;return n&&!r&&(o.background=n,o[i(`overlay-color`)]=l,s[i(`arrow-background-color`)]=n),{className:a,overlayStyle:o,arrowStyle:s}},fx=e=>{let{prefixCls:t,className:n,placement:r=`top`,title:i,color:a,overlayInnerStyle:o,classNames:s,styles:c}=e,{getPrefixCls:l}=C.useContext(si),u=l(`tooltip`,t),d=l(),f=xf(u),[p,m]=ox(u,f),h=dx(d,u,a),g=h.arrowStyle,_=C.useMemo(()=>({container:{...o,...h.overlayStyle}}),[o,h.overlayStyle]),v={...e,placement:r},[y,b]=Id([s],[_,c],{props:v}),x=q(f,p,m,u,`${u}-pure`,`${u}-placement-${r}`,n,h.className);return C.createElement(`div`,{className:x,style:g},C.createElement(`div`,{className:`${u}-arrow`}),C.createElement(Rb,{...e,className:p,prefixCls:u,classNames:y,styles:b},i))},px=C.forwardRef((e,t)=>{let{prefixCls:n,openClassName:r,getTooltipContainer:i,color:a,children:o,afterOpenChange:s,arrow:c,destroyTooltipOnHide:l,destroyOnHidden:u,title:d,overlay:f,trigger:p,builtinPlacements:m,autoAdjustOverflow:h=!0,motion:g,getPopupContainer:_,placement:v=`top`,mouseEnterDelay:y=.1,mouseLeaveDelay:b=.1,rootClassName:x,styles:S,classNames:w,onOpenChange:T,overlayInnerStyle:E,overlayStyle:D,overlayClassName:O,...k}=e,[,A]=qc(),j=e[`data-popover-inject`],{getPopupContainer:M,getPrefixCls:N,direction:P,...F}=ui(`tooltip`),{className:I,style:L,classNames:R,styles:z,arrow:B,trigger:V}=j?{}:F,H=nx(c,B),U=H.show,W=p||V||`hover`,ee=_||M,te=u??!!l,ne=C.useContext(tx);Or(`Tooltip`);let re=C.useRef(null),ie=()=>{re.current?.forceAlign()};C.useImperativeHandle(t,()=>({forceAlign:ie,nativeElement:re.current?.nativeElement,popupElement:re.current?.popupElement}));let[ae,G]=Wn(e.defaultOpen??!1,e.open),oe=!d&&!f&&d!==0,K=e=>{G(oe?!1:e),!oe&&T&&T(e)},se=C.useMemo(()=>m||ex({arrowPointAtCenter:H?.pointAtCenter??!1,autoAdjustOverflow:h,arrowWidth:U?A.sizePopupArrow:0,borderRadius:A.borderRadius,offset:A.marginXXS,visibleFirst:!0}),[H,m,A,U,h]),ce=C.useMemo(()=>d===0?d:f||d||``,[f,d]),le=C.createElement(U_,{space:!0,form:!0},typeof ce==`function`?ce():ce),ue={...e,trigger:W,builtinPlacements:se,getPopupContainer:ee,destroyOnHidden:te},[de,fe]=Id([R,w],[z,S],{props:ue}),pe=N(`tooltip`,n),me=N(),he=ae;(!(`open`in e)&&oe||ne)&&(he=!1);let ge=C.isValidElement(o)&&!Np(o)?o:C.createElement(`span`,null,o),_e=ge.props,ve=!_e.className||typeof _e.className==`string`?q(_e.className,r||`${pe}-open`):_e.className,ye=xf(pe),[be,xe]=ox(pe,ye,!j),Se=dx(me,pe,a),Ce=Se.arrowStyle,we=q(ye,be,xe),Te=q(O,{[`${pe}-rtl`]:P===`rtl`},Se.className,x,we,I,de.root),[Ee,De]=Xd(`Tooltip`,k.zIndex),Oe={...fe.container,...E,...Se.overlayStyle},ke=C.createElement(Wb,{unique:!0,...k,zIndex:Ee,showArrow:U,placement:v,mouseEnterDelay:y,mouseLeaveDelay:b,prefixCls:pe,classNames:{root:Te,container:de.container,arrow:de.arrow,uniqueContainer:q(we,de.container)},styles:{root:{...Ce,...fe.root,...L,...D},container:Oe,uniqueContainer:Oe,arrow:fe.arrow},ref:re,overlay:le,visible:he,onVisibleChange:K,afterVisibleChange:s,arrowContent:C.createElement(`span`,{className:`${pe}-arrow-content`}),motion:{motionName:Nm(me,`zoom-big-fast`,typeof g?.motionName==`string`?g?.motionName:void 0),motionDeadline:1e3},trigger:W,builtinPlacements:se,getTooltipContainer:ee,destroyOnHidden:te},he?Fp(ge,{className:ve}):ge);return C.createElement(Wd.Provider,{value:De},ke)});px._InternalPanelDoNotUseOrYouWillBeFired=fx,px.UniqueProvider=zp;var mx=`50%`,hx=e=>{let{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:i,innerPadding:a,boxShadowSecondary:o,colorTextHeading:s,borderRadiusLG:c,zIndexPopup:l,titleMarginBottom:u,colorBgElevated:d,popoverBg:f,titleBorderBottom:p,innerContentPadding:m,titlePadding:h,antCls:g}=e,[_,v]=sl(g,`tooltip`);return[{[t]:{...Yc(e),position:`absolute`,top:0,left:{_skip_check_:!0,value:0},zIndex:l,fontWeight:`normal`,whiteSpace:`normal`,textAlign:`start`,cursor:`auto`,userSelect:`text`,[_(`valid-offset-x`)]:v(`arrow-offset-x`,`var(--arrow-x)`),transformOrigin:[v(`valid-offset-x`,mx),`var(--arrow-y, ${mx})`].join(` `),[_(`arrow-background-color`)]:d,width:`max-content`,maxWidth:`100vw`,"&-rtl":{direction:`rtl`},"&-hidden":{display:`none`},[`${t}-content`]:{position:`relative`},[`${t}-container`]:{backgroundColor:f,backgroundClip:`padding-box`,borderRadius:c,boxShadow:o,padding:a},[`${t}-title`]:{minWidth:r,marginBottom:u,color:s,fontWeight:i,borderBottom:p,padding:h},[`${t}-content`]:{color:n,padding:m}}},Yb(e,v(`arrow-background-color`)),{[`${t}-pure`]:{position:`relative`,maxWidth:`none`,margin:e.sizePopupArrow,display:`inline-block`}}]},gx=e=>{let{componentCls:t,antCls:n}=e,[r]=sl(n,`tooltip`);return{[t]:Os.map(n=>{let i=e[`${n}6`];return{[`&${t}-${n}`]:{[r(`arrow-background-color`)]:i,[`${t}-inner`]:{backgroundColor:i},[`${t}-arrow`]:{background:`transparent`}}}})}},_x=il(`Popover`,e=>{let{colorBgElevated:t,colorText:n}=e,r=_s(e,{popoverBg:t,popoverColor:n});return[hx(r),gx(r),gh(r,`zoom-big`)]},e=>{let{lineWidth:t,controlHeight:n,fontHeight:r,padding:i,wireframe:a,zIndexPopupBase:o,borderRadiusLG:s,marginXS:c,lineType:l,colorSplit:u,paddingSM:d}=e,f=n-r,p=f/2,m=f/2-t,h=i;return{titleMinWidth:177,zIndexPopup:o+30,...Gb(e),...qb({contentRadius:s,limitVerticalRadius:!0}),innerPadding:a?0:12,titleMarginBottom:a?0:c,titlePadding:a?`${p}px ${h}px ${m}px`:0,titleBorderBottom:a?`${t}px ${l} ${u}`:`none`,innerContentPadding:a?`${d}px ${h}px`:0}},{resetStyle:!1,deprecatedTokens:[[`width`,`titleMinWidth`],[`minWidth`,`titleMinWidth`]]}),vx=e=>{let{title:t,content:n,prefixCls:r,classNames:i,styles:a}=e;return!t&&!n?null:C.createElement(C.Fragment,null,t&&C.createElement(`div`,{className:q(`${r}-title`,i?.title),style:a?.title},t),n&&C.createElement(`div`,{className:q(`${r}-content`,i?.content),style:a?.content},n))},sie=e=>{let{hashId:t,prefixCls:n,className:r,style:i,placement:a=`top`,title:o,content:s,children:c,classNames:l,styles:u}=e,d=Lb(o),f=Lb(s),p={...e,placement:a},[m,h]=Id([l],[u],{props:p}),g=q(t,n,`${n}-pure`,`${n}-placement-${a}`,r);return C.createElement(`div`,{className:g,style:i},C.createElement(`div`,{className:`${n}-arrow`}),C.createElement(Rb,{...e,className:t,prefixCls:n,classNames:m,styles:h},c||C.createElement(vx,{prefixCls:n,title:d,content:f,classNames:m,styles:h})))},yx=e=>{let{prefixCls:t,className:n,...r}=e,{getPrefixCls:i}=C.useContext(si),a=i(`popover`,t),[o,s]=_x(a);return C.createElement(sie,{...r,prefixCls:a,hashId:o,className:q(n,s)})},bx=C.forwardRef((e,t)=>{let{prefixCls:n,title:r,content:i,overlayClassName:a,placement:o=`top`,trigger:s,children:c,mouseEnterDelay:l=.1,mouseLeaveDelay:u=.1,onOpenChange:d,overlayStyle:f={},styles:p,classNames:m,motion:h,arrow:g,..._}=e,{getPrefixCls:v,className:y,style:b,classNames:x,styles:S,arrow:w,trigger:T}=ui(`popover`),E=v(`popover`,n),[D,O]=_x(E),k=v(),A=nx(g,w),j=s||T||`hover`,M={...e,placement:o,trigger:j,mouseEnterDelay:l,mouseLeaveDelay:u,overlayStyle:f,styles:p,classNames:m},[N,P]=Id([x,m],[S,p],{props:M}),F=q(a,D,O,y,N.root),[I,L]=Wn(e.defaultOpen??!1,e.open),R=e=>{L(e),d?.(e)},z=Lb(r),B=Lb(i);return C.createElement(px,{unique:!1,arrow:A,placement:o,trigger:j,mouseEnterDelay:l,mouseLeaveDelay:u,..._,prefixCls:E,classNames:{root:F,container:N.container,arrow:N.arrow},styles:{root:{...P.root,...b,...f},container:P.container,arrow:P.arrow},ref:t,open:I,onOpenChange:R,overlay:z||B?C.createElement(vx,{prefixCls:E,title:z,content:B,classNames:N,styles:P}):null,motion:{motionName:Nm(k,`zoom-big`,typeof h?.motionName==`string`?h?.motionName:void 0)},"data-popover-inject":!0},c)});bx._InternalPanelDoNotUseOrYouWillBeFired=yx;var xx=e=>{let{size:t,shape:n}=C.useContext(Mb),r=C.useMemo(()=>({size:e.size||t,shape:e.shape||n}),[e.size,e.shape,t,n]);return C.createElement(Mb.Provider,{value:r},e.children)},cie=e=>{let{getPrefixCls:t,direction:n}=C.useContext(si),{prefixCls:r,className:i,rootClassName:a,style:o,maxCount:s,maxStyle:c,size:l,shape:u,maxPopoverPlacement:d,maxPopoverTrigger:f,children:p,max:m}=e,h=t(`avatar`,r),g=`${h}-group`,_=xf(h),[v,y]=Fb(h,_),b=q(g,{[`${g}-rtl`]:n===`rtl`},y,_,i,a,v),x=wr(p).map((e,t)=>Fp(e,{key:`avatar-key-${t}`})),S=m?.count||s,w=x.length;if(S&&SC.createElement(Y,Cx({},e,{ref:t,icon:lie}))),die={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z`}}]},name:`left`,theme:`outlined`};function wx(){return wx=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,wx({},e,{ref:t,icon:die}))),{ESC:fie,TAB:pie}=em;function mie({visible:e,triggerRef:t,onVisibleChange:n,autoFocus:r,overlayRef:i}){let a=C.useRef(!1),o=()=>{e&&(t.current?.focus?.(),n?.(!1))},s=()=>i.current?.focus?(i.current.focus(),a.current=!0,!0):!1,c=e=>{switch(e.keyCode){case fie:o();break;case pie:{let t=!1;a.current||(t=s()),t?e.preventDefault():o();break}}};C.useEffect(()=>e?(window.addEventListener(`keydown`,c),r&&ii(s,3),()=>{window.removeEventListener(`keydown`,c),a.current=!1}):()=>{a.current=!1},[e])}var hie=(0,C.forwardRef)((e,t)=>{let{overlay:n,arrow:r,prefixCls:i}=e,a=(0,C.useMemo)(()=>{let e;return e=typeof n==`function`?n():n,e},[n]),o=er(t,ar(a));return C.createElement(C.Fragment,null,r&&C.createElement(`div`,{className:`${i}-arrow`}),C.cloneElement(a,{ref:nr(a)?o:void 0}))}),Ex={adjustX:1,adjustY:1},Dx=[0,0],gie={topLeft:{points:[`bl`,`tl`],overflow:Ex,offset:[0,-4],targetOffset:Dx},top:{points:[`bc`,`tc`],overflow:Ex,offset:[0,-4],targetOffset:Dx},topRight:{points:[`br`,`tr`],overflow:Ex,offset:[0,-4],targetOffset:Dx},bottomLeft:{points:[`tl`,`bl`],overflow:Ex,offset:[0,4],targetOffset:Dx},bottom:{points:[`tc`,`bc`],overflow:Ex,offset:[0,4],targetOffset:Dx},bottomRight:{points:[`tr`,`br`],overflow:Ex,offset:[0,4],targetOffset:Dx}};function Ox(){return Ox=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{arrow:n=!1,prefixCls:r=`rc-dropdown`,transitionName:i,animation:a,align:o,placement:s=`bottomLeft`,placements:c=gie,getPopupContainer:l,showAction:u,hideAction:d,overlayClassName:f,overlayStyle:p,visible:m,trigger:h=[`hover`],autoFocus:g,overlay:_,children:v,onVisibleChange:y,...b}=e,[x,S]=C.useState(),w=`visible`in e?m:x,T=a?`${r}-${a}`:i,E=C.useRef(null),D=C.useRef(null),O=C.useRef(null);C.useImperativeHandle(t,()=>E.current);let k=e=>{S(e),y?.(e)};mie({visible:w,triggerRef:O,onVisibleChange:k,autoFocus:g,overlayRef:D});let A=t=>{let{onOverlayClick:n}=e;S(!1),n&&n(t)},j=()=>C.createElement(hie,{ref:D,overlay:_,prefixCls:r,arrow:n}),M=()=>typeof _==`function`?j:j(),N=()=>{let{minOverlayWidthMatchTrigger:t,alignPoint:n}=e;return`minOverlayWidthMatchTrigger`in e?t:!n},P=C.cloneElement(v,{className:q(v.props?.className,w&&(()=>{let{openClassName:t}=e;return t===void 0?`${r}-open`:t})()),ref:nr(v)?er(O,ar(v)):void 0}),F=d;return!F&&h.indexOf(`contextMenu`)!==-1&&(F=[`click`]),C.createElement(Mp,Ox({builtinPlacements:c},b,{prefixCls:r,ref:E,popupClassName:q(f,{[`${r}-show-arrow`]:n}),popupStyle:p,action:h,showAction:u,hideAction:F,popupPlacement:s,popupAlign:o,popupMotion:{motionName:T},popupVisible:w,stretch:N()?`minWidth`:``,popup:M(),onOpenChange:k,onPopupClick:A,getPopupContainer:l}),P)}),Ax=C.createContext(null);function jx(e,t){return`${e}-${t}`}function Mx(e){return jx(C.useContext(Ax),e)}var Nx=C.createContext(null);function _ie(e,t){let n={...e};return Object.keys(t).forEach(e=>{let r=t[e];r!==void 0&&(n[e]=r)}),n}function Px({children:e,locked:t,...n}){let r=C.useContext(Nx),i=qn(()=>_ie(r,n),[r,n],(e,n)=>!t&&(e[0]!==n[0]||!Ei(e[1],n[1],!0)));return C.createElement(Nx.Provider,{value:i},e)}var vie=[],Fx=C.createContext(null);function Ix(){return C.useContext(Fx)}var Lx=C.createContext(vie);function Rx(e){let t=C.useContext(Lx);return C.useMemo(()=>e===void 0?t:[...t,e],[t,e])}var zx=C.createContext(null),Bx=C.createContext({}),{LEFT:Vx,RIGHT:Hx,UP:Ux,DOWN:Wx,ENTER:Gx,ESC:Kx,HOME:qx,END:Jx}=em,Yx=[Ux,Wx,Vx,Hx];function yie(e,t,n,r){let i=`prev`,a=`next`,o=`children`,s=`parent`;if(e===`inline`&&r===Gx)return{inlineTrigger:!0};let c={[Ux]:i,[Wx]:a},l={[Vx]:n?a:i,[Hx]:n?i:a,[Wx]:o,[Gx]:o},u={[Ux]:i,[Wx]:a,[Gx]:o,[Kx]:s,[Vx]:n?o:s,[Hx]:n?s:o};switch({inline:c,horizontal:l,vertical:u,inlineSub:c,horizontalSub:u,verticalSub:u}[`${e}${t?``:`Sub`}`]?.[r]){case i:return{offset:-1,sibling:!0};case a:return{offset:1,sibling:!0};case s:return{offset:-1,sibling:!1};case o:return{offset:1,sibling:!1};default:return null}}function bie(e){let t=e;for(;t;){if(t.getAttribute(`data-menu-list`))return t;t=t.parentElement}return null}function xie(e,t){let n=e||document.activeElement;for(;n;){if(t.has(n))return n;n=n.parentElement}return null}function Xx(e,t){return dg(e,!0).filter(e=>t.has(e))}function Zx(e,t,n,r=1){if(!e)return null;let i=Xx(e,t),a=i.length,o=i.findIndex(e=>n===e);return r<0?o===-1?o=a-1:--o:r>0&&(o+=1),o=(o+a)%a,i[o]}var Qx=(e,t)=>{let n=new Set,r=new Map,i=new Map;return e.forEach(e=>{let a=document.querySelector(`[data-menu-id='${jx(t,e)}']`);a&&(n.add(a),i.set(a,e),r.set(e,a))}),{elements:n,key2element:r,element2key:i}};function Sie(e,t,n,r,i,a,o,s,c,l){let u=C.useRef(),d=C.useRef();d.current=t;let f=()=>{ii.cancel(u.current)};return C.useEffect(()=>()=>{f()},[]),p=>{let{which:m}=p;if([...Yx,Gx,Kx,qx,Jx].includes(m)){let l=a(),h=Qx(l,r),{elements:g,key2element:_,element2key:v}=h,y=xie(_.get(t),g),b=v.get(y),x=yie(e,o(b,!0).length===1,n,m);if(!x&&m!==qx&&m!==Jx)return;(Yx.includes(m)||[qx,Jx].includes(m))&&p.preventDefault();let S=e=>{if(e){let t=e,n=e.querySelector(`a`);n?.getAttribute(`href`)&&(t=n);let r=v.get(e);s(r),f(),u.current=ii(()=>{d.current===r&&t.focus()})}};if([qx,Jx].includes(m)||x.sibling||!y){let t;t=!y||e===`inline`?i.current:bie(y);let n,r=Xx(t,g);n=m===qx?r[0]:m===Jx?r[r.length-1]:Zx(t,g,y,x.offset),S(n)}else if(x.inlineTrigger)c(b);else if(x.offset>0)c(b,!0),f(),u.current=ii(()=>{h=Qx(l,r);let e=y.getAttribute(`aria-controls`);S(Zx(document.getElementById(e),h.elements))},5);else if(x.offset<0){let e=o(b,!0),t=e[e.length-2],n=_.get(t);c(t,!1),S(n)}}l?.(p)}}function Cie(e){Promise.resolve().then(e)}var $x=`__RC_UTIL_PATH_SPLIT__`,eS=e=>e.join($x),wie=e=>e.split($x),tS=`rc-menu-more`;function Tie(){let[,e]=C.useState({}),t=(0,C.useRef)(new Map),n=(0,C.useRef)(new Map),[r,i]=C.useState([]),a=(0,C.useRef)(0),o=(0,C.useRef)(!1),s=()=>{o.current||e({})},c=(0,C.useCallback)((e,r)=>{let i=eS(r);n.current.set(i,e),t.current.set(e,i),a.current+=1;let o=a.current;Cie(()=>{o===a.current&&s()})},[]),l=(0,C.useCallback)((e,r)=>{let i=eS(r);n.current.delete(i),t.current.delete(e)},[]),u=(0,C.useCallback)(e=>{i(e)},[]),d=(0,C.useCallback)((e,n)=>{let i=wie(t.current.get(e)||``);return n&&r.includes(i[0])&&i.unshift(tS),i},[r]),f=(0,C.useCallback)((e,t)=>e.filter(e=>e!==void 0).some(e=>d(e,!0).includes(t)),[d]),p=()=>{let e=[...t.current.keys()];return r.length&&e.push(tS),e},m=(0,C.useCallback)(e=>{let r=`${t.current.get(e)}${$x}`,i=new Set;return[...n.current.keys()].forEach(e=>{e.startsWith(r)&&i.add(n.current.get(e))}),i},[]);return C.useEffect(()=>()=>{o.current=!0},[]),{registerPath:c,unregisterPath:l,refreshOverflowKeys:u,isSubPathKey:f,getKeyPath:d,getKeys:p,getSubPathKeys:m}}function nS(e){let t=C.useRef(e);t.current=e;let n=C.useCallback((...e)=>t.current?.(...e),[]);return e?n:void 0}function rS(e,t,n,r){let{activeKey:i,onActive:a,onInactive:o}=C.useContext(Nx),s={active:i===e};return t||(s.onMouseEnter=t=>{n?.({key:e,domEvent:t}),a(e)},s.onMouseLeave=t=>{r?.({key:e,domEvent:t}),o(e)}),s}function iS(e){let{mode:t,rtl:n,inlineIndent:r}=C.useContext(Nx);if(t!==`inline`)return null;let i=e;return n?{paddingRight:i*r}:{paddingLeft:i*r}}function aS({icon:e,props:t,children:n}){let r;return e===null||e===!1?null:(typeof e==`function`?r=C.createElement(e,{...t}):typeof e!=`boolean`&&(r=e),r||n||null)}function oS({item:e,...t}){return Object.defineProperty(t,`item`,{get:()=>(xr(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),e)}),t}function sS(){return sS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{style:n,className:r,eventKey:i,warnKey:a,disabled:o,itemIcon:s,children:c,role:l,onMouseEnter:u,onMouseLeave:d,onClick:f,onKeyDown:p,onFocus:m,...h}=e,g=Mx(i),{prefixCls:_,onItemClick:v,disabled:y,overflowDisabled:b,itemIcon:x,selectedKeys:S,onActive:w}=C.useContext(Nx),{_internalRenderMenuItem:T}=C.useContext(Bx),E=`${_}-item`,D=C.useRef(),O=C.useRef(),k=y||o,A=tr(t,O),j=Rx(i),M=e=>({key:i,keyPath:[...j].reverse(),item:D.current,domEvent:e}),N=s||x,{active:P,...F}=rS(i,k,u,d),I=S.includes(i),L=iS(j.length),R=e=>{if(k)return;let t=M(e);f?.(oS(t)),v(t)},z=e=>{if(p?.(e),e.which===em.ENTER){let t=M(e);f?.(oS(t)),v(t)}},B=e=>{w(i),m?.(e)},V={};e.role===`option`&&(V[`aria-selected`]=I);let H=C.createElement(Eie,sS({ref:D,elementRef:A,role:l===null?`none`:l||`menuitem`,tabIndex:o?null:-1,"data-menu-id":b&&g?null:g},Cr(h,[`extra`]),F,V,{component:`li`,"aria-disabled":o,style:{...L,...n},className:q(E,{[`${E}-active`]:P,[`${E}-selected`]:I,[`${E}-disabled`]:k},r),onClick:R,onKeyDown:z,onFocus:B}),c,C.createElement(aS,{props:{...e,isSelected:I},icon:N}));return T&&(H=T(H,e,{selected:I})),H});function Oie(e,t){let{eventKey:n}=e,r=Ix(),i=Rx(n);return C.useEffect(()=>{if(r)return r.registerPath(n,i),()=>{r.unregisterPath(n,i)}},[i]),r?null:C.createElement(Die,sS({},e,{ref:t}))}var cS=C.forwardRef(Oie);function lS(){return lS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:i,mode:a,rtl:o}=C.useContext(Nx);return C.createElement(`ul`,lS({className:q(i,o&&`${i}-rtl`,`${i}-sub`,`${i}-${a===`inline`?`inline`:`vertical`}`,e),role:`menu`},n,{"data-menu-list":!0,ref:r}),t)});function dS(e,t){return wr(e).map((e,n)=>{if(C.isValidElement(e)){let{key:r}=e,i=e.props?.eventKey??r;i??=`tmp_key-${[...t,n].join(`-`)}`;let a={key:i,eventKey:i};return C.cloneElement(e,a)}return e})}var fS={adjustX:1,adjustY:1},kie={topLeft:{points:[`bl`,`tl`],overflow:fS},topRight:{points:[`br`,`tr`],overflow:fS},bottomLeft:{points:[`tl`,`bl`],overflow:fS},bottomRight:{points:[`tr`,`br`],overflow:fS},leftTop:{points:[`tr`,`tl`],overflow:fS},leftBottom:{points:[`br`,`bl`],overflow:fS},rightTop:{points:[`tl`,`tr`],overflow:fS},rightBottom:{points:[`bl`,`br`],overflow:fS}},Aie={topLeft:{points:[`bl`,`tl`],overflow:fS},topRight:{points:[`br`,`tr`],overflow:fS},bottomLeft:{points:[`tl`,`bl`],overflow:fS},bottomRight:{points:[`tr`,`br`],overflow:fS},rightTop:{points:[`tr`,`tl`],overflow:fS},rightBottom:{points:[`br`,`bl`],overflow:fS},leftTop:{points:[`tl`,`tr`],overflow:fS},leftBottom:{points:[`bl`,`br`],overflow:fS}};function pS(e,t,n){if(t)return t;if(n)return n[e]||n.other}var jie={horizontal:`bottomLeft`,vertical:`rightTop`,"vertical-left":`rightTop`,"vertical-right":`leftTop`};function Mie({prefixCls:e,visible:t,children:n,popup:r,popupStyle:i,popupClassName:a,popupOffset:o,disabled:s,mode:c,onVisibleChange:l}){let{getPopupContainer:u,rtl:d,subMenuOpenDelay:f,subMenuCloseDelay:p,builtinPlacements:m,triggerSubMenuAction:h,forceSubMenuRender:g,rootClassName:_,motion:v,defaultMotions:y}=C.useContext(Nx),[b,x]=C.useState(!1),S=d?{...Aie,...m}:{...kie,...m},w=jie[c],T=pS(c,v,y),E=C.useRef(T);c!==`inline`&&(E.current=T);let D={...E.current,leavedClassName:`${e}-hidden`,removeOnLeave:!1,motionAppear:!0},O=C.useRef();return C.useEffect(()=>(O.current=ii(()=>{x(t)}),()=>{ii.cancel(O.current)}),[t]),C.createElement(Mp,{prefixCls:e,popupClassName:q(`${e}-popup`,{[`${e}-rtl`]:d},a,_),stretch:c===`horizontal`?`minWidth`:null,getPopupContainer:u,builtinPlacements:S,popupPlacement:w,popupVisible:b,popup:r,popupStyle:i,popupAlign:o&&{offset:o},action:s?[]:[h],mouseEnterDelay:f,mouseLeaveDelay:p,onPopupVisibleChange:l,forceRender:g,popupMotion:D,fresh:!0},n)}function mS(){return mS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u.current&&f(!1)},[l]);let m={...pS(i,s,c)};n.length>1&&(m.motionAppear=!1);let h=m.onVisibleChanged;return m.onVisibleChanged=e=>(!u.current&&!e&&f(!0),h?.(e)),d?null:C.createElement(Px,{mode:i,locked:!u.current},C.createElement(Lu,mS({visible:p},m,{forceRender:o,removeOnLeave:!1,leavedClassName:`${a}-hidden`}),({className:t,style:n})=>C.createElement(uS,{id:e,className:t,style:n},r)))}function hS(){return hS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{style:n,className:r,styles:i,classNames:a,title:o,eventKey:s,warnKey:c,disabled:l,internalPopupClose:u,children:d,itemIcon:f,expandIcon:p,popupClassName:m,popupOffset:h,popupStyle:g,onClick:_,onMouseEnter:v,onMouseLeave:y,onTitleClick:b,onTitleMouseEnter:x,onTitleMouseLeave:S,popupRender:w,...T}=e,E=Mx(s),{prefixCls:D,mode:O,openKeys:k,disabled:A,overflowDisabled:j,activeKey:M,selectedKeys:N,itemIcon:P,expandIcon:F,onItemClick:I,onOpenChange:L,onActive:R,popupRender:z}=C.useContext(Nx),{_internalRenderSubMenuItem:B}=C.useContext(Bx),{isSubPathKey:V}=C.useContext(zx),H=Rx(),U=`${D}-submenu`,W=A||l,ee=C.useRef(),te=C.useRef(),ne=f??P,re=p??F,ie=k.includes(s),ae=!j&&ie,G=V(N,s),{active:oe,...K}=rS(s,W,x,S),[se,ce]=C.useState(!1),le=e=>{W||ce(e)},ue=e=>{le(!0),v?.({key:s,domEvent:e})},de=e=>{le(!1),y?.({key:s,domEvent:e})},fe=C.useMemo(()=>oe||(O===`inline`?!1:se||V([M],s)),[O,oe,M,se,s,V]),pe=iS(H.length),me=e=>{W||(b?.({key:s,domEvent:e}),O===`inline`&&L(s,!ie))},he=nS(e=>{_?.(oS(e)),I(e)}),ge=e=>{O!==`inline`&&L(s,e)},_e=()=>{R(s)},ve=E&&`${E}-popup`,ye=C.useMemo(()=>C.createElement(aS,{icon:O===`horizontal`?void 0:re,props:{...e,isOpen:ae,isSubMenu:!0}},C.createElement(`i`,{className:`${U}-arrow`})),[O,re,e,ae,U]),be=C.createElement(`div`,hS({role:`menuitem`,style:pe,className:`${U}-title`,tabIndex:W?null:-1,ref:ee,title:typeof o==`string`?o:null,"data-menu-id":j&&E?null:E,"aria-expanded":ae,"aria-haspopup":!0,"aria-controls":ve,"aria-disabled":W,onClick:me,onFocus:_e},K),o,ye),xe=C.useRef(O);O!==`inline`&&H.length>1?xe.current=`vertical`:xe.current=O;let Se=xe.current,Ce=C.useMemo(()=>{let t=C.createElement(Px,{classNames:a,styles:i,mode:Se===`horizontal`?`vertical`:Se},C.createElement(uS,{id:ve,ref:te},d)),n=w||z;return n?n(t,{item:e,keys:H}):t},[w,z,H,ve,d,e,Se]);if(!j){let e=xe.current;be=C.createElement(Mie,{mode:e,prefixCls:U,visible:!u&&ae&&O!==`inline`,popupClassName:m,popupOffset:h,popupStyle:g,popup:Ce,disabled:W,onVisibleChange:ge},be)}let we=C.createElement(fy.Item,hS({ref:t,role:`none`},T,{component:`li`,style:n,className:q(U,`${U}-${O}`,r,{[`${U}-open`]:ae,[`${U}-active`]:fe,[`${U}-selected`]:G,[`${U}-disabled`]:W}),onMouseEnter:ue,onMouseLeave:de}),be,!j&&C.createElement(Nie,{id:ve,open:ae,keyPath:H},d));return B&&(we=B(we,e,{selected:G,active:fe,open:ae,disabled:W})),C.createElement(Px,{classNames:a,styles:i,onItemClick:he,mode:O===`horizontal`?`vertical`:O,itemIcon:ne,expandIcon:re},we)}),gS=C.forwardRef((e,t)=>{let{eventKey:n,children:r}=e,i=Rx(n),a=dS(r,i),o=Ix();C.useEffect(()=>{if(o)return o.registerPath(n,i),()=>{o.unregisterPath(n,i)}},[i]);let s;return s=o?a:C.createElement(Pie,hS({ref:t},e),a),C.createElement(Lx.Provider,{value:i},s)});function _S({className:e,style:t}){let{prefixCls:n}=C.useContext(Nx);return Ix()?null:C.createElement(`li`,{role:`separator`,className:q(`${n}-item-divider`,e),style:t})}function vS(){return vS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:n,title:r,eventKey:i,children:a,...o}=e,{prefixCls:s,classNames:c,styles:l}=C.useContext(Nx),u=`${s}-item-group`;return C.createElement(`li`,vS({ref:t,role:`presentation`},o,{onClick:e=>e.stopPropagation(),className:q(u,n)}),C.createElement(`div`,{role:`presentation`,className:q(`${u}-title`,c?.listTitle),style:l?.listTitle,title:typeof r==`string`?r:void 0},r),C.createElement(`ul`,{role:`group`,className:q(`${u}-list`,c?.list),style:l?.list},a))}),yS=C.forwardRef((e,t)=>{let{eventKey:n,children:r}=e,i=dS(r,Rx(n));return Ix()?i:C.createElement(Fie,vS({ref:t},Cr(e,[`warnKey`])),i)});function bS(){return bS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(e&&typeof e==`object`){let{label:c,children:l,key:u,type:d,extra:f,...p}=e,m=u??`tmp-${s}`;return l||d===`group`?d===`group`?C.createElement(i,bS({key:m},p,{title:c}),xS(l,t,n)):C.createElement(a,bS({key:m},p,{title:c}),xS(l,t,n)):d===`divider`?C.createElement(o,bS({key:m},p)):C.createElement(r,bS({key:m},p,{extra:f}),c,(!!f||f===0)&&C.createElement(`span`,{className:`${n}-item-extra`},f))}return null}).filter(e=>e)}function SS(e,t,n,r,i){let a=e,o={divider:_S,item:cS,group:yS,submenu:gS,...r};return t&&(a=xS(t,o,i)),dS(a,n)}function CS(){return CS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n=`rc-menu`,rootClassName:r,style:i,className:a,styles:o,classNames:s,tabIndex:c=0,items:l,children:u,direction:d,id:f,mode:p=`vertical`,inlineCollapsed:m,disabled:h,disabledOverflow:g,subMenuOpenDelay:_=.1,subMenuCloseDelay:v=.1,forceSubMenuRender:y,defaultOpenKeys:b,openKeys:x,activeKey:S,defaultActiveFirst:w,selectable:T=!0,multiple:E=!1,defaultSelectedKeys:D,selectedKeys:O,onSelect:k,onDeselect:A,inlineIndent:j=24,motion:M,defaultMotions:N,triggerSubMenuAction:P=`hover`,builtinPlacements:F,itemIcon:I,expandIcon:L,overflowedIndicator:R=`...`,overflowedIndicatorPopupClassName:z,getPopupContainer:B,onClick:V,onOpenChange:H,onKeyDown:U,openAnimation:W,openTransitionName:ee,_internalRenderMenuItem:te,_internalRenderSubMenuItem:ne,_internalComponents:re,popupRender:ie,...ae}=e,[G,oe]=C.useMemo(()=>[SS(u,l,wS,re,n),SS(u,l,wS,{},n)],[u,l,re]),[K,se]=C.useState(!1),ce=C.useRef(),le=Bf(f?`rc-menu-uuid-${f}`:`rc-menu-uuid`),ue=d===`rtl`,[de,fe]=Wn(b,x),pe=de||wS,me=(e,t=!1)=>{function n(){fe(e),H?.(e)}t?(0,Yf.flushSync)(n):n()},[he,ge]=C.useState(pe),_e=C.useRef(!1),[ve,ye]=C.useMemo(()=>(p===`inline`||p===`vertical`)&&m?[`vertical`,m]:[p,!1],[p,m]),be=ve===`inline`,[xe,Se]=C.useState(ve),[Ce,we]=C.useState(ye);C.useEffect(()=>{Se(ve),we(ye),_e.current&&(be?fe(he):me(wS))},[ve,ye]);let[Te,Ee]=C.useState(0),De=Te>=G.length-1||xe!==`horizontal`||g;C.useEffect(()=>{be&&ge(pe)},[pe]),C.useEffect(()=>(_e.current=!0,()=>{_e.current=!1}),[]);let{registerPath:Oe,unregisterPath:ke,refreshOverflowKeys:Ae,isSubPathKey:je,getKeyPath:Me,getKeys:Ne,getSubPathKeys:Pe}=Tie(),Fe=C.useMemo(()=>({registerPath:Oe,unregisterPath:ke}),[Oe,ke]),Ie=C.useMemo(()=>({isSubPathKey:je}),[je]);C.useEffect(()=>{Ae(De?wS:G.slice(Te+1).map(e=>e.key))},[Te,De]);let[Le,Re]=Wn(S||w&&G[0]?.key,S),ze=nS(e=>{Re(e)}),Be=nS(()=>{Re(void 0)});(0,C.useImperativeHandle)(t,()=>({list:ce.current,focus:e=>{let t=Ne(),{elements:n,key2element:r,element2key:i}=Qx(t,le),a=Xx(ce.current,n),o;o=Le&&t.includes(Le)?Le:a[0]?i.get(a[0]):G.find(e=>!e.props.disabled)?.key;let s=r.get(o);o&&s&&s?.focus?.(e)},findItem:({key:e})=>{let{key2element:t}=Qx(Ne(),le);return t.get(e)||null}}));let[Ve,He]=Wn(D||[],O),Ue=C.useMemo(()=>Array.isArray(Ve)?Ve:Ve==null?wS:[Ve],[Ve]),We=e=>{if(T){let{key:t}=e,n=Ue.includes(t),r;r=E?n?Ue.filter(e=>e!==t):[...Ue,t]:[t],He(r);let i={...e,selectedKeys:r};n?A?.(i):k?.(i)}!E&&pe.length&&xe!==`inline`&&me(wS)},Ge=nS(e=>{V?.(oS(e)),We(e)}),Ke=nS((e,t)=>{let n=pe.filter(t=>t!==e);if(t)n.push(e);else if(xe!==`inline`){let t=Pe(e);n=n.filter(e=>!t.has(e))}Ei(pe,n,!0)||me(n,!0)}),qe=Sie(xe,Le,ue,le,ce,Ne,Me,Re,(e,t)=>{Ke(e,t??!pe.includes(e))},U);C.useEffect(()=>{se(!0)},[]);let Je=C.useMemo(()=>({_internalRenderMenuItem:te,_internalRenderSubMenuItem:ne}),[te,ne]),Ye=xe!==`horizontal`||g?G:G.map((e,t)=>C.createElement(Px,{key:e.key,overflowDisabled:t>Te,classNames:s,styles:o},e)),Xe=C.createElement(fy,CS({id:f,ref:ce,prefixCls:`${n}-overflow`,component:`ul`,itemComponent:cS,className:q(n,`${n}-root`,`${n}-${xe}`,a,{[`${n}-inline-collapsed`]:Ce,[`${n}-rtl`]:ue},r),dir:d,style:i,role:`menu`,tabIndex:c,data:Ye,renderRawItem:e=>e,renderRawRest:e=>{let t=e.length,n=t?G.slice(-t):null;return C.createElement(gS,{eventKey:tS,title:R,disabled:De,internalPopupClose:t===0,popupClassName:z},n)},maxCount:xe!==`horizontal`||g?fy.INVALIDATE:fy.RESPONSIVE,ssr:`full`,"data-menu-list":!0,onVisibleChange:e=>{Ee(e)},onKeyDown:qe},ae));return C.createElement(Bx.Provider,{value:Je},C.createElement(Ax.Provider,{value:le},C.createElement(Px,{prefixCls:n,rootClassName:r,classNames:s,styles:o,mode:xe,openKeys:pe,rtl:ue,disabled:h,motion:K?M:null,defaultMotions:K?N:null,activeKey:Le,onActive:ze,onInactive:Be,selectedKeys:Ue,inlineIndent:j,subMenuOpenDelay:_,subMenuCloseDelay:v,forceSubMenuRender:y,builtinPlacements:F,triggerSubMenuAction:P,getPopupContainer:B,itemIcon:I,expandIcon:L,onItemClick:Ge,onOpenChange:Ke,popupRender:ie},C.createElement(zx.Provider,{value:Ie},Xe),C.createElement(`div`,{style:{display:`none`},"aria-hidden":!0},C.createElement(Fx.Provider,{value:Fe},oe)))))});TS.Item=cS,TS.SubMenu=gS,TS.ItemGroup=yS,TS.Divider=_S;var Iie={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`bars`,theme:`outlined`};function ES(){return ES=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,ES({},e,{ref:t,icon:Iie}))),OS=C.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}}),Lie=e=>{let{antCls:t,componentCls:n,colorText:r,footerBg:i,headerHeight:a,headerPadding:o,headerColor:s,footerPadding:c,fontSize:l,bodyBg:u,headerBg:d}=e;return{[n]:{display:`flex`,flex:`auto`,flexDirection:`column`,minHeight:0,background:u,"&, *":{boxSizing:`border-box`},[`&${n}-has-sider`]:{flexDirection:`row`,[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:`0 0 auto`},"&-rtl":{direction:`rtl`}},[`${n}-header`]:{height:a,padding:o,color:s,lineHeight:J(a),background:d,[`${t}-menu`]:{lineHeight:`inherit`}},[`${n}-footer`]:{padding:c,color:r,fontSize:l,background:i},[`${n}-content`]:{flex:`auto`,color:r,minHeight:0}}},kS=e=>{let{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:i,controlHeightSM:a,marginXXS:o,colorTextLightSolid:s,colorBgContainer:c}=e,l=r*1.25;return{colorBgHeader:`#001529`,colorBgBody:t,colorBgTrigger:`#002140`,bodyBg:t,headerBg:`#001529`,headerHeight:n*2,headerPadding:`0 ${l}px`,headerColor:i,footerPadding:`${a}px ${l}px`,footerBg:t,siderBg:`#001529`,triggerHeight:r+o*2,triggerBg:`#002140`,triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:i}},AS=[[`colorBgBody`,`bodyBg`],[`colorBgHeader`,`headerBg`],[`colorBgTrigger`,`triggerBg`]],jS=il(`Layout`,Lie,kS,{deprecatedTokens:AS}),Rie=il([`Layout`,`Sider`],e=>{let{componentCls:t,siderBg:n,motionDurationMid:r,motionDurationSlow:i,antCls:a,triggerHeight:o,triggerColor:s,triggerBg:c,headerHeight:l,zeroTriggerWidth:u,zeroTriggerHeight:d,borderRadiusLG:f,lightSiderBg:p,lightTriggerColor:m,lightTriggerBg:h,bodyBg:g}=e;return{[t]:{position:`relative`,minWidth:0,background:n,transition:`all ${r}, background 0s`,"&-has-trigger":{paddingBottom:o},"&-right":{order:1},[`${t}-children`]:{height:`100%`,marginTop:-.1,paddingTop:.1,[`${a}-menu${a}-menu-inline-collapsed`]:{width:`auto`}},[`&-zero-width ${t}-children`]:{overflow:`hidden`},[`${t}-trigger`]:{position:`fixed`,bottom:0,zIndex:1,height:o,color:s,lineHeight:J(o),textAlign:`center`,background:c,cursor:`pointer`,transition:`all ${r}`},[`${t}-zero-width-trigger`]:{position:`absolute`,top:l,insetInlineEnd:e.calc(u).mul(-1).equal(),zIndex:1,width:u,height:d,color:s,fontSize:e.fontSizeXL,display:`flex`,alignItems:`center`,justifyContent:`center`,background:n,borderRadius:`0 ${J(f)} ${J(f)} 0`,cursor:`pointer`,transition:`background-color ${i} ease`,"&::after":{position:`absolute`,inset:0,background:`transparent`,transition:`all ${i}`,content:`""`},"&:hover::after":{background:`rgba(255, 255, 255, 0.2)`},"&-right":{insetInlineStart:e.calc(u).mul(-1).equal(),borderRadius:`${J(f)} 0 0 ${J(f)}`}},"&-light":{background:p,[`${t}-trigger`]:{color:m,background:h},[`${t}-zero-width-trigger`]:{color:m,background:h,border:`1px solid ${g}`,borderInlineStart:0}}}}},kS,{deprecatedTokens:AS}),MS={xs:`479.98px`,sm:`575.98px`,md:`767.98px`,lg:`991.98px`,xl:`1199.98px`,xxl:`1599.98px`,xxxl:`1839.98px`},zie=e=>!Number.isNaN(Number.parseFloat(e))&&Number.isFinite(Number(e)),NS=C.createContext({}),Bie=(()=>{let e=0;return(t=``)=>(e+=1,`${t}${e}`)})(),PS=C.forwardRef((e,t)=>{let{prefixCls:n,className:r,trigger:i,children:a,defaultCollapsed:o=!1,theme:s=`dark`,style:c={},collapsible:l=!1,reverseArrow:u=!1,width:d=200,collapsedWidth:f=80,zeroWidthTriggerStyle:p,breakpoint:m,onCollapse:h,onBreakpoint:g,..._}=e,{siderHook:v}=(0,C.useContext)(OS),[y,b]=(0,C.useState)(`collapsed`in e?e.collapsed:o),[x,S]=(0,C.useState)(!1);(0,C.useEffect)(()=>{`collapsed`in e&&b(e.collapsed)},[e.collapsed]);let w=(t,n)=>{`collapsed`in e||b(t),h?.(t,n)},{getPrefixCls:T,direction:E}=(0,C.useContext)(si),D=T(`layout-sider`,n),[O,k]=Rie(D),A=(0,C.useRef)(null);A.current=e=>{S(e.matches),g?.(e.matches),y!==e.matches&&w(e.matches,`responsive`)},(0,C.useEffect)(()=>{function e(e){return A.current?.(e)}let t;return window?.matchMedia!==void 0&&m&&m in MS&&(t=window.matchMedia(`screen and (max-width: ${MS[m]})`),typeof t?.addEventListener==`function`&&t.addEventListener(`change`,e),e(t)),()=>{typeof t?.removeEventListener==`function`&&t.removeEventListener(`change`,e)}},[m]),(0,C.useEffect)(()=>{let e=Bie(`ant-sider-`);return v.addSider(e),()=>v.removeSider(e)},[]);let j=()=>{w(!y,`clickTrigger`)},M=Cr(_,[`collapsed`]),N=y?f:d,P=zie(N)?`${N}px`:String(N),F=Number.parseFloat(String(f||0))===0?C.createElement(`span`,{onClick:j,className:q(`${D}-zero-width-trigger`,`${D}-zero-width-trigger-${u?`right`:`left`}`),style:p},i||C.createElement(DS,null)):null,I=E===`rtl`==!u,L={expanded:I?C.createElement(Ch,null):C.createElement(Tx,null),collapsed:I?C.createElement(Tx,null):C.createElement(Ch,null)}[y?`collapsed`:`expanded`],R=i===null?null:F||C.createElement(`div`,{className:`${D}-trigger`,onClick:j,style:{width:P}},i||L),z={...c,flex:`0 0 ${P}`,maxWidth:P,minWidth:P,width:P},B=q(D,`${D}-${s}`,{[`${D}-collapsed`]:!!y,[`${D}-has-trigger`]:l&&i!==null&&!F,[`${D}-below`]:!!x,[`${D}-zero-width`]:Number.parseFloat(P)===0},r,O,k),V=C.useMemo(()=>({siderCollapsed:y}),[y]);return C.createElement(NS.Provider,{value:V},C.createElement(`aside`,{className:B,...M,style:z,ref:t},C.createElement(`div`,{className:`${D}-children`},a),l||x&&F?R:null))}),Vie={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`ellipsis`,theme:`outlined`};function FS(){return FS=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,FS({},e,{ref:t,icon:Vie}))),LS=(0,C.createContext)({prefixCls:``,firstLevel:!0,inlineCollapsed:!1,styles:null,classNames:null}),RS=e=>{let{prefixCls:t,className:n,dashed:r,...i}=e,{getPrefixCls:a}=C.useContext(si),o=q({[`${a(`menu`,t)}-item-divider-dashed`]:!!r},n);return C.createElement(_S,{className:o,...i})},zS=e=>{let{className:t,children:n,icon:r,title:i,danger:a,extra:o}=e,{prefixCls:s,firstLevel:c,direction:l,disableMenuItemTitleTooltip:u,tooltip:d,inlineCollapsed:f,styles:p,classNames:m}=C.useContext(LS),h=e=>{let t=n?.[0],i=C.createElement(`span`,{className:q(`${s}-title-content`,c?m?.itemContent:m?.subMenu?.itemContent,{[`${s}-title-content-with-extra`]:!!o||o===0}),style:c?p?.itemContent:p?.subMenu?.itemContent},n);return(!r||C.isValidElement(n)&&n.type===`span`)&&n&&e&&c&&typeof t==`string`?C.createElement(`div`,{className:`${s}-inline-collapsed-noicon`},t.charAt(0)):i},{siderCollapsed:g}=C.useContext(NS),_=i;i===void 0?_=c?n:``:i===!1&&(_=``);let v=d===!1?void 0:d,y=v&&v.title!==void 0?v.title:_,b={...v??null,title:y};!g&&!f&&(b.title=null,b.open=!1);let x=wr(n).length,S=C.createElement(cS,{...Cr(e,[`title`,`icon`,`danger`]),className:q(c?m?.item:m?.subMenu?.item,{[`${s}-item-danger`]:a,[`${s}-item-only-child`]:(r?x+1:x)===1},t),style:{...c?p?.item:p?.subMenu?.item,...e.style},title:typeof i==`string`?i:void 0},Fp(r,e=>({className:q(`${s}-item-icon`,c?m?.itemIcon:m?.subMenu?.itemIcon,e.className),style:{...c?p?.itemIcon:p?.subMenu?.itemIcon,...e.style}})),h(f));if(!u&&d!==!1){let e=v&&v.placement?v.placement:l===`rtl`?`left`:`right`,t=`${s}-inline-collapsed-tooltip`,n=e=>({...e,root:q(t,e?.root)}),r=v&&typeof v.classNames==`function`?e=>n(v.classNames(e)):n(v?.classNames);S=C.createElement(px,{...b,placement:e,classNames:r},S)}return S},BS=C.createContext(null),VS=C.forwardRef((e,t)=>{let{children:n,...r}=e,i=C.useContext(BS),a=C.useMemo(()=>({...i,...r}),[i,r.prefixCls,r.mode,r.selectable,r.rootClassName]),o=ir(n),s=tr(t,o?ar(n):null);return C.createElement(BS.Provider,{value:a},C.createElement(U_,{space:!0},o?C.cloneElement(n,{ref:s}):n))}),Hie=e=>{let{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:i,lineWidth:a,lineType:o,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${J(a)} ${o} ${i}`,boxShadow:`none`,"&::after":{display:`block`,clear:`both`,height:0,content:`"\\20"`},[`${t}-item, ${t}-submenu`]:{position:`relative`,display:`inline-block`,verticalAlign:`bottom`,paddingInline:s},[`> ${t}-item:hover, > ${t}-item-active, - > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:`transparent`},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color`,`background-color`].map(e=>`${e} ${n}`).join(`,`)},[`${t}-submenu-arrow`]:{display:`none`}}}},HS=({componentCls:e,menuArrowOffset:t,calc:n})=>({[`${e}-rtl`]:{direction:`rtl`},[`${e}-submenu-rtl`]:{transformOrigin:`100% 0`},[`${e}-rtl${e}-vertical, - ${e}-submenu-rtl ${e}-vertical`]:{[`${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${J(n(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${J(t)})`}}}}),US=e=>Qc(e),WS=(e,t)=>{let{componentCls:n,itemColor:r,itemSelectedColor:i,subMenuItemSelectedColor:a,groupTitleColor:o,itemBg:s,subMenuItemBg:c,itemSelectedBg:l,activeBarHeight:u,activeBarWidth:d,activeBarBorderWidth:f,motionDurationSlow:p,motionEaseInOut:m,motionEaseOut:h,itemPaddingInline:g,motionDurationMid:_,itemHoverColor:v,lineType:y,colorSplit:b,itemDisabledColor:x,dangerItemColor:S,dangerItemHoverColor:C,dangerItemSelectedColor:w,dangerItemActiveBg:T,dangerItemSelectedBg:E,popupBg:D,itemHoverBg:O,itemActiveBg:k,menuSubMenuBg:A,horizontalItemSelectedColor:j,horizontalItemSelectedBg:M,horizontalItemBorderRadius:N,horizontalItemHoverBg:P}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:s,[`&${n}-root:focus-visible`]:{...US(e)},[`${n}-item`]:{"&-group-title, &-extra":{color:o}},[`${n}-submenu-selected > ${n}-submenu-title`]:{color:a},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:{...US(e)}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${x} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:v}},[`${n}-submenu:not(${n}-submenu-selected)`]:{[`> ${n}-submenu-title:hover`]:{color:v}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:k}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:k}}},[`${n}-item-danger`]:{color:S,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:C}},[`&${n}-item:active`]:{background:T}},[`${n}-item a`]:{"&, &:hover":{color:`inherit`}},[`${n}-item-selected`]:{color:i,[`&${n}-item-danger`]:{color:w},"a, a:hover":{color:`inherit`}},[`& ${n}-item-selected`]:{backgroundColor:l,[`&${n}-item-danger`]:{backgroundColor:E}},[`&${n}-submenu > ${n}`]:{backgroundColor:A},[`&${n}-popup > ${n}`]:{backgroundColor:D},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:D},[`&${n}-horizontal`]:{...t===`dark`?{borderBottom:0}:{},[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:e.calc(f).mul(-1).equal(),marginBottom:0,borderRadius:N,"&::after":{position:`absolute`,insetInline:g,bottom:0,borderBottom:`${J(u)} solid transparent`,transition:`border-color ${p} ${m}`,content:`""`},"&:hover, &-active, &-open":{background:P,"&::after":{borderBottomWidth:u,borderBottomColor:j}},"&-selected":{color:j,backgroundColor:M,"&:hover":{backgroundColor:M},"&::after":{borderBottomWidth:u,borderBottomColor:j}}}},[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${J(f)} ${y} ${b}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:c},[`${n}-item`]:{position:`relative`,"&::after":{position:`absolute`,insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${J(d)} solid ${i}`,transform:`scaleY(0.0001)`,opacity:0,transition:[`transform`,`opacity`].map(e=>`${e} ${_} ${h}`).join(`,`),content:`""`},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:w}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:`scaleY(1)`,opacity:1,transition:[`transform`,`opacity`].map(e=>`${e} ${_} ${m}`).join(`,`)}}}}}},GS=e=>{let{componentCls:t,itemHeight:n,itemMarginInline:r,padding:i,menuArrowSize:a,marginXS:o,itemMarginBlock:s,itemWidth:c,itemPaddingInline:l}=e,u=e.calc(a).add(i).add(o).equal();return{[`${t}-item`]:{position:`relative`,overflow:`hidden`},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:J(n),paddingInline:l,overflow:`hidden`,textOverflow:`ellipsis`,marginInline:r,marginBlock:s,width:c},[`> ${t}-item, + > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:`transparent`},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color`,`background-color`].map(e=>`${e} ${n}`).join(`,`)},[`${t}-submenu-arrow`]:{display:`none`}}}},Uie=({componentCls:e,menuArrowOffset:t,calc:n})=>({[`${e}-rtl`]:{direction:`rtl`},[`${e}-submenu-rtl`]:{transformOrigin:`100% 0`},[`${e}-rtl${e}-vertical, + ${e}-submenu-rtl ${e}-vertical`]:{[`${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${J(n(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${J(t)})`}}}}),HS=e=>Qc(e),US=(e,t)=>{let{componentCls:n,itemColor:r,itemSelectedColor:i,subMenuItemSelectedColor:a,groupTitleColor:o,itemBg:s,subMenuItemBg:c,itemSelectedBg:l,activeBarHeight:u,activeBarWidth:d,activeBarBorderWidth:f,motionDurationSlow:p,motionEaseInOut:m,motionEaseOut:h,itemPaddingInline:g,motionDurationMid:_,itemHoverColor:v,lineType:y,colorSplit:b,itemDisabledColor:x,dangerItemColor:S,dangerItemHoverColor:C,dangerItemSelectedColor:w,dangerItemActiveBg:T,dangerItemSelectedBg:E,popupBg:D,itemHoverBg:O,itemActiveBg:k,menuSubMenuBg:A,horizontalItemSelectedColor:j,horizontalItemSelectedBg:M,horizontalItemBorderRadius:N,horizontalItemHoverBg:P}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:s,[`&${n}-root:focus-visible`]:{...HS(e)},[`${n}-item`]:{"&-group-title, &-extra":{color:o}},[`${n}-submenu-selected > ${n}-submenu-title`]:{color:a},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:{...HS(e)}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${x} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:v}},[`${n}-submenu:not(${n}-submenu-selected)`]:{[`> ${n}-submenu-title:hover`]:{color:v}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:k}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:k}}},[`${n}-item-danger`]:{color:S,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:C}},[`&${n}-item:active`]:{background:T}},[`${n}-item a`]:{"&, &:hover":{color:`inherit`}},[`${n}-item-selected`]:{color:i,[`&${n}-item-danger`]:{color:w},"a, a:hover":{color:`inherit`}},[`& ${n}-item-selected`]:{backgroundColor:l,[`&${n}-item-danger`]:{backgroundColor:E}},[`&${n}-submenu > ${n}`]:{backgroundColor:A},[`&${n}-popup > ${n}`]:{backgroundColor:D},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:D},[`&${n}-horizontal`]:{...t===`dark`?{borderBottom:0}:{},[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:e.calc(f).mul(-1).equal(),marginBottom:0,borderRadius:N,"&::after":{position:`absolute`,insetInline:g,bottom:0,borderBottom:`${J(u)} solid transparent`,transition:`border-color ${p} ${m}`,content:`""`},"&:hover, &-active, &-open":{background:P,"&::after":{borderBottomWidth:u,borderBottomColor:j}},"&-selected":{color:j,backgroundColor:M,"&:hover":{backgroundColor:M},"&::after":{borderBottomWidth:u,borderBottomColor:j}}}},[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${J(f)} ${y} ${b}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:c},[`${n}-item`]:{position:`relative`,"&::after":{position:`absolute`,insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${J(d)} solid ${i}`,transform:`scaleY(0.0001)`,opacity:0,transition:[`transform`,`opacity`].map(e=>`${e} ${_} ${h}`).join(`,`),content:`""`},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:w}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:`scaleY(1)`,opacity:1,transition:[`transform`,`opacity`].map(e=>`${e} ${_} ${m}`).join(`,`)}}}}}},WS=e=>{let{componentCls:t,itemHeight:n,itemMarginInline:r,padding:i,menuArrowSize:a,marginXS:o,itemMarginBlock:s,itemWidth:c,itemPaddingInline:l}=e,u=e.calc(a).add(i).add(o).equal();return{[`${t}-item`]:{position:`relative`,overflow:`hidden`},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:J(n),paddingInline:l,overflow:`hidden`,textOverflow:`ellipsis`,marginInline:r,marginBlock:s,width:c},[`> ${t}-item, > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:J(n)},[`${t}-item-group-list ${t}-submenu-title, - ${t}-submenu-title`]:{paddingInlineEnd:u}}},KS=e=>{let{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:i,dropdownWidth:a,controlHeightLG:o,motionEaseOut:s,paddingXL:c,itemMarginInline:l,fontSizeLG:u,motionDurationFast:d,motionDurationSlow:f,paddingXS:p,boxShadowSecondary:m,collapsedWidth:h,collapsedIconSize:g}=e,_={height:r,lineHeight:J(r),listStylePosition:`inside`,listStyleType:`disc`};return[{[t]:{"&-inline, &-vertical":{[`&${t}-root`]:{boxShadow:`none`},...GS(e)}},[`${t}-submenu-popup`]:{[`${t}-vertical`]:{...GS(e),boxShadow:m}}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:a,maxHeight:`calc(100vh - ${J(e.calc(o).mul(2.5).equal())})`,padding:`0`,overflow:`hidden`,borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:`hidden`,overflowY:`auto`}}},{[`${t}-inline`]:{width:`100%`,[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:`flex`,alignItems:`center`,transition:[`border-color ${f}`,`background-color ${f}`,`padding ${d} ${s}`].join(`,`),[`> ${t}-title-content`]:{flex:`auto`,minWidth:0,overflow:`hidden`,textOverflow:`ellipsis`},"> *":{flex:`none`}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:`none`,[`& > ${t}-submenu > ${t}-submenu-title`]:_,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:_}},{[`${t}-inline-collapsed`]:{width:h,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:u,textAlign:`center`}}},[`> ${t}-item, + ${t}-submenu-title`]:{paddingInlineEnd:u}}},Wie=e=>{let{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:i,dropdownWidth:a,controlHeightLG:o,motionEaseOut:s,paddingXL:c,itemMarginInline:l,fontSizeLG:u,motionDurationFast:d,motionDurationSlow:f,paddingXS:p,boxShadowSecondary:m,collapsedWidth:h,collapsedIconSize:g}=e,_={height:r,lineHeight:J(r),listStylePosition:`inside`,listStyleType:`disc`};return[{[t]:{"&-inline, &-vertical":{[`&${t}-root`]:{boxShadow:`none`},...WS(e)}},[`${t}-submenu-popup`]:{[`${t}-vertical`]:{...WS(e),boxShadow:m}}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:a,maxHeight:`calc(100vh - ${J(e.calc(o).mul(2.5).equal())})`,padding:`0`,overflow:`hidden`,borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:`hidden`,overflowY:`auto`}}},{[`${t}-inline`]:{width:`100%`,[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:`flex`,alignItems:`center`,transition:[`border-color ${f}`,`background-color ${f}`,`padding ${d} ${s}`].join(`,`),[`> ${t}-title-content`]:{flex:`auto`,minWidth:0,overflow:`hidden`,textOverflow:`ellipsis`},"> *":{flex:`none`}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:`none`,[`& > ${t}-submenu > ${t}-submenu-title`]:_,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:_}},{[`${t}-inline-collapsed`]:{width:h,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:u,textAlign:`center`}}},[`> ${t}-item, > ${t}-item-group > ${t}-item-group-list > ${t}-item, > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, > ${t}-submenu > ${t}-submenu-title`]:{display:`flex`,alignItems:`center`,justifyContent:`center`,insetInlineStart:0,paddingInline:`calc(50% - ${J(e.calc(g).div(2).equal())} - ${J(l)})`,textOverflow:`clip`,[` ${t}-submenu-arrow, ${t}-submenu-expand-icon - `]:{opacity:0},[`> ${t}-title-content`]:{width:0,opacity:0,overflow:`hidden`},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:g,lineHeight:J(r),"+ span":{display:`inline-block`,width:0,opacity:0,overflow:`hidden`,marginInlineStart:0}}},[`${t}-item-icon, ${n}`]:{display:`inline-block`},"&-tooltip":{pointerEvents:`none`,[`${t}-item-icon, ${n}`]:{display:`none`},"a, a:hover":{color:i}},[`${t}-item-group-title`]:{...Jc,paddingInline:p}}}]},qS=e=>{let{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:i,motionEaseOut:a,iconCls:o,iconSize:s,iconMarginInlineEnd:c}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:`relative`,display:`block`,margin:0,whiteSpace:`nowrap`,cursor:`pointer`,transition:[`border-color ${n}`,`background-color ${n}`,`padding calc(${n} + 0.1s) ${i}`].join(`,`),[`${t}-item-icon, ${o}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${a}`,`margin ${n} ${i}`,`color ${n}`].join(`,`),"+ span":{marginInlineStart:c,opacity:1,transition:[`opacity ${n} ${i}`,`margin ${n}`,`color ${n}`].join(`,`)}},[`${t}-item-icon`]:{...Xc()},[`&${t}-item-only-child`]:{[`> ${o}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:`none !important`,cursor:`not-allowed`,"&::after":{borderColor:`transparent !important`},a:{color:`inherit !important`,cursor:`not-allowed`,pointerEvents:`none`},[`> ${t}-submenu-title`]:{color:`inherit !important`,cursor:`not-allowed`}}}},JS=e=>{let{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:i,menuArrowSize:a,menuArrowOffset:o}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:`absolute`,top:`50%`,insetInlineEnd:e.margin,width:a,color:`currentcolor`,transform:`translateY(-50%)`,transition:[`transform`,`opacity`].map(e=>`${e} ${n}`).join(`,`)},"&-arrow":{"&::before, &::after":{position:`absolute`,width:e.calc(a).mul(.6).equal(),height:e.calc(a).mul(.15).equal(),backgroundColor:`currentcolor`,borderRadius:i,transition:[`background-color`,`transform`,`top`,`color`].map(e=>`${e} ${n} ${r}`).join(`,`),content:`""`},"&::before":{transform:`rotate(45deg) translateY(${J(e.calc(o).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${J(o)})`}}}}},YS=e=>{let{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:i,motionDurationMid:a,motionEaseInOut:o,paddingXS:s,padding:c,colorSplit:l,lineWidth:u,zIndexPopup:d,borderRadiusLG:f,subMenuItemBorderRadius:p,menuArrowSize:m,menuArrowOffset:h,lineType:g,groupTitleLineHeight:_,groupTitleFontSize:v}=e;return[{"":{[n]:{...Zc(),"&-hidden":{display:`none`}}},[`${n}-submenu-hidden`]:{display:`none`}},{[n]:{...Yc(e),...Zc(),marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:`none`,outline:`none`,transition:`width ${i} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:`none`},"&-overflow":{display:`flex`,[`${n}-item`]:{flex:`none`}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${J(s)} ${J(c)}`,fontSize:v,lineHeight:_,transition:`all ${i}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color`,`background-color`].map(e=>`${e} ${i} ${o}`).join(`,`)},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${i}`,`background-color ${i}`,`padding ${a}`].map(e=>`${e} ${o}`).join(`,`)},[`${n}-submenu ${n}-sub`]:{cursor:`initial`,transition:[`background-color`,`padding`].map(e=>`${e} ${i} ${o}`).join(`,`)},[`${n}-title-content`]:{transition:`color ${i}`,"&-with-extra":{display:`inline-flex`,alignItems:`center`,width:`100%`},[`> ${t}-typography-ellipsis-single-line`]:{display:`inline`,verticalAlign:`unset`},[`${n}-item-extra`]:{marginInlineStart:`auto`,paddingInlineStart:e.padding}},[`${n}-item a`]:{"&::before":{position:`absolute`,inset:0,backgroundColor:`transparent`,content:`""`}},[`${n}-item-divider`]:{overflow:`hidden`,lineHeight:0,borderColor:l,borderStyle:g,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:`dashed`}},...qS(e),[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${J(e.calc(r).mul(2).equal())} ${J(c)}`}}},"&-submenu":{"&-popup":{position:`absolute`,zIndex:d,borderRadius:f,boxShadow:`none`,transformOrigin:`0 0`,[`&${n}-submenu`]:{background:`transparent`},"&::before":{position:`absolute`,inset:0,zIndex:-1,width:`100%`,height:`100%`,opacity:0,content:`""`},[`> ${n}`]:{borderRadius:f,...qS(e),...JS(e),[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:p},[`${n}-submenu-title::after`]:{transition:`transform ${i} ${o}`}}},"&-placement-leftTop, &-placement-bottomRight":{transformOrigin:`100% 0`},"&-placement-leftBottom, &-placement-topRight":{transformOrigin:`100% 100%`},"&-placement-rightBottom, &-placement-topLeft":{transformOrigin:`0 100%`},"&-placement-bottomLeft, &-placement-rightTop":{transformOrigin:`0 0`},"&-placement-leftTop, &-placement-leftBottom":{paddingInlineEnd:e.paddingXS},"&-placement-rightTop, &-placement-rightBottom":{paddingInlineStart:e.paddingXS},"&-placement-topRight, &-placement-topLeft":{paddingBottom:e.paddingXS},"&-placement-bottomRight, &-placement-bottomLeft":{paddingTop:e.paddingXS}},...JS(e),[`&-inline-collapsed ${n}-submenu-arrow, - &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${J(h)})`},"&::after":{transform:`rotate(45deg) translateX(${J(e.calc(h).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${J(e.calc(m).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${J(e.calc(h).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${J(h)})`}}}},{[`${t}-layout-header`]:{[n]:{lineHeight:`inherit`}}}]},XS=e=>{let{colorPrimary:t,colorError:n,colorTextDisabled:r,colorErrorBg:i,colorText:a,colorTextDescription:o,colorBgContainer:s,colorFillAlter:c,colorFillContent:l,lineWidth:u,lineWidthBold:d,controlItemBgActive:f,colorBgTextHover:p,controlHeightLG:m,lineHeight:h,colorBgElevated:g,marginXXS:_,padding:v,fontSize:y,controlHeightSM:b,fontSizeLG:x,colorTextLightSolid:S,colorErrorHover:C}=e,w=e.activeBarWidth??0,T=e.activeBarBorderWidth??u,E=e.itemMarginInline??e.marginXXS,D=new zs(S).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:a,itemColor:a,colorItemTextHover:a,itemHoverColor:a,colorItemTextHoverHorizontal:t,horizontalItemHoverColor:t,colorGroupTitle:o,groupTitleColor:o,colorItemTextSelected:t,itemSelectedColor:t,subMenuItemSelectedColor:t,colorItemTextSelectedHorizontal:t,horizontalItemSelectedColor:t,colorItemBg:s,itemBg:s,colorItemBgHover:p,itemHoverBg:p,colorItemBgActive:l,itemActiveBg:f,colorSubItemBg:c,subMenuItemBg:c,colorItemBgSelected:f,itemSelectedBg:f,colorItemBgSelectedHorizontal:`transparent`,horizontalItemSelectedBg:`transparent`,colorActiveBarWidth:0,activeBarWidth:w,colorActiveBarHeight:d,activeBarHeight:d,colorActiveBarBorderSize:u,activeBarBorderWidth:T,colorItemTextDisabled:r,itemDisabledColor:r,colorDangerItemText:n,dangerItemColor:n,colorDangerItemTextHover:n,dangerItemHoverColor:n,colorDangerItemTextSelected:n,dangerItemSelectedColor:n,colorDangerItemBgActive:i,dangerItemActiveBg:i,colorDangerItemBgSelected:i,dangerItemSelectedBg:i,itemMarginInline:E,horizontalItemBorderRadius:0,horizontalItemHoverBg:`transparent`,itemHeight:m,groupTitleLineHeight:h,collapsedWidth:m*2,popupBg:g,itemMarginBlock:_,itemPaddingInline:v,horizontalLineHeight:`${m*1.15}px`,iconSize:y,iconMarginInlineEnd:b-y,collapsedIconSize:x,groupTitleFontSize:y,darkItemDisabledColor:new zs(S).setA(.25).toRgbString(),darkItemColor:D,darkDangerItemColor:n,darkItemBg:`#001529`,darkPopupBg:`#001529`,darkSubMenuItemBg:`#000c17`,darkItemSelectedColor:S,darkItemSelectedBg:t,darkDangerItemSelectedBg:n,darkItemHoverBg:`transparent`,darkGroupTitleColor:D,darkItemHoverColor:S,darkDangerItemHoverColor:C,darkDangerItemSelectedColor:S,darkDangerItemActiveBg:n,itemWidth:w?`calc(100% + ${T}px)`:`calc(100% - ${E*2}px)`}},ZS=(e,t=e,n=!0)=>il(`Menu`,e=>{let{colorBgElevated:t,controlHeightLG:n,fontSize:r,darkItemColor:i,darkDangerItemColor:a,darkItemBg:o,darkSubMenuItemBg:s,darkItemSelectedColor:c,darkItemSelectedBg:l,darkDangerItemSelectedBg:u,darkItemHoverBg:d,darkGroupTitleColor:f,darkItemHoverColor:p,darkItemDisabledColor:m,darkDangerItemHoverColor:h,darkDangerItemSelectedColor:g,darkDangerItemActiveBg:_,popupBg:v,darkPopupBg:y}=e,b=e.calc(r).div(7).mul(5).equal(),x=_s(e,{menuArrowSize:b,menuHorizontalHeight:e.calc(n).mul(1.15).equal(),menuArrowOffset:e.calc(b).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:v}),S=_s(x,{itemColor:i,itemHoverColor:p,groupTitleColor:f,itemSelectedColor:c,subMenuItemSelectedColor:c,itemBg:o,popupBg:y,subMenuItemBg:s,itemActiveBg:`transparent`,itemSelectedBg:l,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:d,itemDisabledColor:m,dangerItemColor:a,dangerItemHoverColor:h,dangerItemSelectedColor:g,dangerItemActiveBg:_,dangerItemSelectedBg:u,menuSubMenuBg:s,horizontalItemSelectedColor:c,horizontalItemSelectedBg:l});return[YS(x),VS(x),KS(x),WS(x,`light`),WS(S,`dark`),HS(x),Xm(x),sh(x,`slide-up`),sh(x,`slide-down`),fh(x,`zoom-big`)]},XS,{deprecatedTokens:[[`colorGroupTitle`,`groupTitleColor`],[`radiusItem`,`itemBorderRadius`],[`radiusSubMenuItem`,`subMenuItemBorderRadius`],[`colorItemText`,`itemColor`],[`colorItemTextHover`,`itemHoverColor`],[`colorItemTextHoverHorizontal`,`horizontalItemHoverColor`],[`colorItemTextSelected`,`itemSelectedColor`],[`colorItemTextSelectedHorizontal`,`horizontalItemSelectedColor`],[`colorItemTextDisabled`,`itemDisabledColor`],[`colorDangerItemText`,`dangerItemColor`],[`colorDangerItemTextHover`,`dangerItemHoverColor`],[`colorDangerItemTextSelected`,`dangerItemSelectedColor`],[`colorDangerItemBgActive`,`dangerItemActiveBg`],[`colorDangerItemBgSelected`,`dangerItemSelectedBg`],[`colorItemBg`,`itemBg`],[`colorItemBgHover`,`itemHoverBg`],[`colorSubItemBg`,`subMenuItemBg`],[`colorItemBgActive`,`itemActiveBg`],[`colorItemBgSelectedHorizontal`,`horizontalItemSelectedBg`],[`colorActiveBarWidth`,`activeBarWidth`],[`colorActiveBarHeight`,`activeBarHeight`],[`colorActiveBarBorderSize`,`activeBarBorderWidth`],[`colorItemBgSelected`,`itemSelectedBg`]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t),QS=e=>{let{popupClassName:t,icon:n,title:r,theme:i}=e,a=C.useContext(IS),{prefixCls:o,inlineCollapsed:s,theme:c,classNames:l,styles:u}=a,d=Tx(),f;if(!n)f=s&&!d.length&&r&&typeof r==`string`?C.createElement(`div`,{className:`${o}-inline-collapsed-noicon`},r.charAt(0)):C.createElement(`span`,{className:`${o}-title-content`},r);else{let e=C.isValidElement(r)&&r.type===`span`;f=C.createElement(C.Fragment,null,Fp(n,e=>({className:q(e.className,`${o}-item-icon`,l?.itemIcon),style:{...e.style,...u?.itemIcon}})),e?r:C.createElement(`span`,{className:`${o}-title-content`},r))}let p=C.useMemo(()=>({...a,firstLevel:!1}),[a]),[m]=Xd(`Menu`);return C.createElement(IS.Provider,{value:p},C.createElement(cS,{...Cr(e,[`icon`]),title:f,classNames:{list:l?.subMenu?.list,listTitle:l?.subMenu?.itemTitle},styles:{list:u?.subMenu?.list,listTitle:u?.subMenu?.itemTitle},popupClassName:q(o,t,l?.popup?.root,`${o}-${i||c}`),popupStyle:{zIndex:m,...e.popupStyle,...u?.popup?.root}}))};function $S(e){return e===null||e===!1}var eC={item:RS,submenu:QS,divider:LS},tC=(0,C.forwardRef)((e,t)=>{let n=C.useContext(zS),r=n||{},{prefixCls:i,className:a,style:o,theme:s=`light`,expandIcon:c,_internalDisableMenuItemTitleTooltip:l,tooltip:u,inlineCollapsed:d,siderCollapsed:f,rootClassName:p,mode:m,selectable:h,onClick:g,overflowedIndicatorPopupClassName:_,classNames:v,styles:y,...b}=e,{menu:x}=C.useContext(si),{getPrefixCls:S,getPopupContainer:w,direction:T,className:E,style:D,classNames:O,styles:k}=ui(`menu`),A=S(),j=Cr(b,[`collapsedWidth`]);r.validator?.({mode:m});let M=Rn((...e)=>{g?.(...e),r.onClick?.()}),N=r.mode||m,P=h??r.selectable,F=d??f,I={...e,mode:N,inlineCollapsed:F,selectable:P,theme:s},[L,R]=Id([O,v],[k,y],{props:I},{popup:{_default:`root`},subMenu:{_default:`item`}}),z={horizontal:{motionName:`${A}-slide-up`},inline:Om(A),other:{motionName:`${A}-zoom-big`}},B=S(`menu`,i||r.prefixCls),V=xf(B),[H,U]=ZS(B,V,!n),W=q(`${B}-${s}`,E,a),ee=C.useMemo(()=>{if(typeof c==`function`||$S(c))return c||null;if(typeof r.expandIcon==`function`||$S(r.expandIcon))return r.expandIcon||null;if(typeof x?.expandIcon==`function`||$S(x?.expandIcon))return x?.expandIcon||null;let e=c??r?.expandIcon??x?.expandIcon;return Fp(e,{className:q(`${B}-submenu-expand-icon`,C.isValidElement(e)?e.props?.className:void 0)})},[c,r?.expandIcon,x?.expandIcon,B]),te=C.useMemo(()=>({prefixCls:B,inlineCollapsed:F||!1,direction:T,firstLevel:!0,theme:s,mode:N,disableMenuItemTitleTooltip:l,tooltip:u,classNames:L,styles:R}),[B,F,T,l,s,N,L,R,u]);return C.createElement(zS.Provider,{value:null},C.createElement(IS.Provider,{value:te},C.createElement(vS,{getPopupContainer:w,overflowedIndicator:C.createElement(FS,null),overflowedIndicatorPopupClassName:q(B,`${B}-${s}`,_),classNames:{list:L.list,listTitle:L.itemTitle},styles:{list:R.list,listTitle:R.itemTitle},mode:N,selectable:P,onClick:M,...j,inlineCollapsed:F,style:{...R.root,...D,...o},className:W,prefixCls:B,direction:T,defaultMotions:z,expandIcon:ee,ref:t,rootClassName:q(p,H,r.rootClassName,U,V,L.root),_internalComponents:eC})))}),nC=(0,C.forwardRef)((e,t)=>{let n=(0,C.useRef)(null),r=C.useContext(AS);return(0,C.useImperativeHandle)(t,()=>({menu:n.current,focus:e=>{n.current?.focus(e)}})),C.createElement(tC,{ref:n,...e,...r})});nC.Item=RS,nC.SubMenu=QS,nC.Divider=LS,nC.ItemGroup=fS;var rC=e=>{let{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:i}=e,a=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${a}`]:{[`&${a}-danger:not(${a}-disabled)`]:{color:r,"&:hover":{color:i,backgroundColor:r}}}}}},iC=e=>{let{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:i,sizePopupArrow:a,antCls:o,iconCls:s,motionDurationMid:c,paddingBlock:l,fontSize:u,dropdownEdgeChildPadding:d,colorTextDisabled:f,fontSizeIcon:p,controlPaddingHorizontal:m,colorBgElevated:h}=e;return[{[t]:{position:`absolute`,top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:`block`,"&::before":{position:`absolute`,insetBlock:e.calc(a).div(2).sub(i).equal(),zIndex:-9999,opacity:1e-4,content:`""`},"&-menu-vertical":{maxHeight:`100vh`,overflowY:`auto`},[`&-trigger${o}-btn`]:{[`& > ${s}-down, & > ${o}-btn-icon > ${s}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:`relative`,[`${o}-btn > ${s}-down`]:{fontSize:p},[`${s}-down::before`]:{transition:`transform ${c}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:`rotate(180deg)`}},"&-hidden, &-menu-hidden, &-menu-submenu-hidden":{display:`none`},[`&${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottomLeft, + `]:{opacity:0},[`> ${t}-title-content`]:{width:0,opacity:0,overflow:`hidden`},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:g,lineHeight:J(r),"+ span":{display:`inline-block`,width:0,opacity:0,overflow:`hidden`,marginInlineStart:0}}},[`${t}-item-icon, ${n}`]:{display:`inline-block`},"&-tooltip":{pointerEvents:`none`,[`${t}-item-icon, ${n}`]:{display:`none`},"a, a:hover":{color:i}},[`${t}-item-group-title`]:{...Jc,paddingInline:p}}}]},GS=e=>{let{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:i,motionEaseOut:a,iconCls:o,iconSize:s,iconMarginInlineEnd:c}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:`relative`,display:`block`,margin:0,whiteSpace:`nowrap`,cursor:`pointer`,transition:[`border-color ${n}`,`background-color ${n}`,`padding calc(${n} + 0.1s) ${i}`].join(`,`),[`${t}-item-icon, ${o}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${a}`,`margin ${n} ${i}`,`color ${n}`].join(`,`),"+ span":{marginInlineStart:c,opacity:1,transition:[`opacity ${n} ${i}`,`margin ${n}`,`color ${n}`].join(`,`)}},[`${t}-item-icon`]:{...Xc()},[`&${t}-item-only-child`]:{[`> ${o}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:`none !important`,cursor:`not-allowed`,"&::after":{borderColor:`transparent !important`},a:{color:`inherit !important`,cursor:`not-allowed`,pointerEvents:`none`},[`> ${t}-submenu-title`]:{color:`inherit !important`,cursor:`not-allowed`}}}},KS=e=>{let{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:i,menuArrowSize:a,menuArrowOffset:o}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:`absolute`,top:`50%`,insetInlineEnd:e.margin,width:a,color:`currentcolor`,transform:`translateY(-50%)`,transition:[`transform`,`opacity`].map(e=>`${e} ${n}`).join(`,`)},"&-arrow":{"&::before, &::after":{position:`absolute`,width:e.calc(a).mul(.6).equal(),height:e.calc(a).mul(.15).equal(),backgroundColor:`currentcolor`,borderRadius:i,transition:[`background-color`,`transform`,`top`,`color`].map(e=>`${e} ${n} ${r}`).join(`,`),content:`""`},"&::before":{transform:`rotate(45deg) translateY(${J(e.calc(o).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${J(o)})`}}}}},Gie=e=>{let{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:i,motionDurationMid:a,motionEaseInOut:o,paddingXS:s,padding:c,colorSplit:l,lineWidth:u,zIndexPopup:d,borderRadiusLG:f,subMenuItemBorderRadius:p,menuArrowSize:m,menuArrowOffset:h,lineType:g,groupTitleLineHeight:_,groupTitleFontSize:v}=e;return[{"":{[n]:{...Zc(),"&-hidden":{display:`none`}}},[`${n}-submenu-hidden`]:{display:`none`}},{[n]:{...Yc(e),...Zc(),marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:`none`,outline:`none`,transition:`width ${i} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:`none`},"&-overflow":{display:`flex`,[`${n}-item`]:{flex:`none`}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${J(s)} ${J(c)}`,fontSize:v,lineHeight:_,transition:`all ${i}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color`,`background-color`].map(e=>`${e} ${i} ${o}`).join(`,`)},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${i}`,`background-color ${i}`,`padding ${a}`].map(e=>`${e} ${o}`).join(`,`)},[`${n}-submenu ${n}-sub`]:{cursor:`initial`,transition:[`background-color`,`padding`].map(e=>`${e} ${i} ${o}`).join(`,`)},[`${n}-title-content`]:{transition:`color ${i}`,"&-with-extra":{display:`inline-flex`,alignItems:`center`,width:`100%`},[`> ${t}-typography-ellipsis-single-line`]:{display:`inline`,verticalAlign:`unset`},[`${n}-item-extra`]:{marginInlineStart:`auto`,paddingInlineStart:e.padding}},[`${n}-item a`]:{"&::before":{position:`absolute`,inset:0,backgroundColor:`transparent`,content:`""`}},[`${n}-item-divider`]:{overflow:`hidden`,lineHeight:0,borderColor:l,borderStyle:g,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:`dashed`}},...GS(e),[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${J(e.calc(r).mul(2).equal())} ${J(c)}`}}},"&-submenu":{"&-popup":{position:`absolute`,zIndex:d,borderRadius:f,boxShadow:`none`,transformOrigin:`0 0`,[`&${n}-submenu`]:{background:`transparent`},"&::before":{position:`absolute`,inset:0,zIndex:-1,width:`100%`,height:`100%`,opacity:0,content:`""`},[`> ${n}`]:{borderRadius:f,...GS(e),...KS(e),[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:p},[`${n}-submenu-title::after`]:{transition:`transform ${i} ${o}`}}},"&-placement-leftTop, &-placement-bottomRight":{transformOrigin:`100% 0`},"&-placement-leftBottom, &-placement-topRight":{transformOrigin:`100% 100%`},"&-placement-rightBottom, &-placement-topLeft":{transformOrigin:`0 100%`},"&-placement-bottomLeft, &-placement-rightTop":{transformOrigin:`0 0`},"&-placement-leftTop, &-placement-leftBottom":{paddingInlineEnd:e.paddingXS},"&-placement-rightTop, &-placement-rightBottom":{paddingInlineStart:e.paddingXS},"&-placement-topRight, &-placement-topLeft":{paddingBottom:e.paddingXS},"&-placement-bottomRight, &-placement-bottomLeft":{paddingTop:e.paddingXS}},...KS(e),[`&-inline-collapsed ${n}-submenu-arrow, + &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${J(h)})`},"&::after":{transform:`rotate(45deg) translateX(${J(e.calc(h).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${J(e.calc(m).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${J(e.calc(h).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${J(h)})`}}}},{[`${t}-layout-header`]:{[n]:{lineHeight:`inherit`}}}]},Kie=e=>{let{colorPrimary:t,colorError:n,colorTextDisabled:r,colorErrorBg:i,colorText:a,colorTextDescription:o,colorBgContainer:s,colorFillAlter:c,colorFillContent:l,lineWidth:u,lineWidthBold:d,controlItemBgActive:f,colorBgTextHover:p,controlHeightLG:m,lineHeight:h,colorBgElevated:g,marginXXS:_,padding:v,fontSize:y,controlHeightSM:b,fontSizeLG:x,colorTextLightSolid:S,colorErrorHover:C}=e,w=e.activeBarWidth??0,T=e.activeBarBorderWidth??u,E=e.itemMarginInline??e.marginXXS,D=new zs(S).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:a,itemColor:a,colorItemTextHover:a,itemHoverColor:a,colorItemTextHoverHorizontal:t,horizontalItemHoverColor:t,colorGroupTitle:o,groupTitleColor:o,colorItemTextSelected:t,itemSelectedColor:t,subMenuItemSelectedColor:t,colorItemTextSelectedHorizontal:t,horizontalItemSelectedColor:t,colorItemBg:s,itemBg:s,colorItemBgHover:p,itemHoverBg:p,colorItemBgActive:l,itemActiveBg:f,colorSubItemBg:c,subMenuItemBg:c,colorItemBgSelected:f,itemSelectedBg:f,colorItemBgSelectedHorizontal:`transparent`,horizontalItemSelectedBg:`transparent`,colorActiveBarWidth:0,activeBarWidth:w,colorActiveBarHeight:d,activeBarHeight:d,colorActiveBarBorderSize:u,activeBarBorderWidth:T,colorItemTextDisabled:r,itemDisabledColor:r,colorDangerItemText:n,dangerItemColor:n,colorDangerItemTextHover:n,dangerItemHoverColor:n,colorDangerItemTextSelected:n,dangerItemSelectedColor:n,colorDangerItemBgActive:i,dangerItemActiveBg:i,colorDangerItemBgSelected:i,dangerItemSelectedBg:i,itemMarginInline:E,horizontalItemBorderRadius:0,horizontalItemHoverBg:`transparent`,itemHeight:m,groupTitleLineHeight:h,collapsedWidth:m*2,popupBg:g,itemMarginBlock:_,itemPaddingInline:v,horizontalLineHeight:`${m*1.15}px`,iconSize:y,iconMarginInlineEnd:b-y,collapsedIconSize:x,groupTitleFontSize:y,darkItemDisabledColor:new zs(S).setA(.25).toRgbString(),darkItemColor:D,darkDangerItemColor:n,darkItemBg:`#001529`,darkPopupBg:`#001529`,darkSubMenuItemBg:`#000c17`,darkItemSelectedColor:S,darkItemSelectedBg:t,darkDangerItemSelectedBg:n,darkItemHoverBg:`transparent`,darkGroupTitleColor:D,darkItemHoverColor:S,darkDangerItemHoverColor:C,darkDangerItemSelectedColor:S,darkDangerItemActiveBg:n,itemWidth:w?`calc(100% + ${T}px)`:`calc(100% - ${E*2}px)`}},qie=(e,t=e,n=!0)=>il(`Menu`,e=>{let{colorBgElevated:t,controlHeightLG:n,fontSize:r,darkItemColor:i,darkDangerItemColor:a,darkItemBg:o,darkSubMenuItemBg:s,darkItemSelectedColor:c,darkItemSelectedBg:l,darkDangerItemSelectedBg:u,darkItemHoverBg:d,darkGroupTitleColor:f,darkItemHoverColor:p,darkItemDisabledColor:m,darkDangerItemHoverColor:h,darkDangerItemSelectedColor:g,darkDangerItemActiveBg:_,popupBg:v,darkPopupBg:y}=e,b=e.calc(r).div(7).mul(5).equal(),x=_s(e,{menuArrowSize:b,menuHorizontalHeight:e.calc(n).mul(1.15).equal(),menuArrowOffset:e.calc(b).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:v}),S=_s(x,{itemColor:i,itemHoverColor:p,groupTitleColor:f,itemSelectedColor:c,subMenuItemSelectedColor:c,itemBg:o,popupBg:y,subMenuItemBg:s,itemActiveBg:`transparent`,itemSelectedBg:l,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:d,itemDisabledColor:m,dangerItemColor:a,dangerItemHoverColor:h,dangerItemSelectedColor:g,dangerItemActiveBg:_,dangerItemSelectedBg:u,menuSubMenuBg:s,horizontalItemSelectedColor:c,horizontalItemSelectedBg:l});return[Gie(x),Hie(x),Wie(x),US(x,`light`),US(S,`dark`),Uie(x),nh(x),dh(x,`slide-up`),dh(x,`slide-down`),gh(x,`zoom-big`)]},Kie,{deprecatedTokens:[[`colorGroupTitle`,`groupTitleColor`],[`radiusItem`,`itemBorderRadius`],[`radiusSubMenuItem`,`subMenuItemBorderRadius`],[`colorItemText`,`itemColor`],[`colorItemTextHover`,`itemHoverColor`],[`colorItemTextHoverHorizontal`,`horizontalItemHoverColor`],[`colorItemTextSelected`,`itemSelectedColor`],[`colorItemTextSelectedHorizontal`,`horizontalItemSelectedColor`],[`colorItemTextDisabled`,`itemDisabledColor`],[`colorDangerItemText`,`dangerItemColor`],[`colorDangerItemTextHover`,`dangerItemHoverColor`],[`colorDangerItemTextSelected`,`dangerItemSelectedColor`],[`colorDangerItemBgActive`,`dangerItemActiveBg`],[`colorDangerItemBgSelected`,`dangerItemSelectedBg`],[`colorItemBg`,`itemBg`],[`colorItemBgHover`,`itemHoverBg`],[`colorSubItemBg`,`subMenuItemBg`],[`colorItemBgActive`,`itemActiveBg`],[`colorItemBgSelectedHorizontal`,`horizontalItemSelectedBg`],[`colorActiveBarWidth`,`activeBarWidth`],[`colorActiveBarHeight`,`activeBarHeight`],[`colorActiveBarBorderSize`,`activeBarBorderWidth`],[`colorItemBgSelected`,`itemSelectedBg`]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t),qS=e=>{let{popupClassName:t,icon:n,title:r,theme:i}=e,a=C.useContext(LS),{prefixCls:o,inlineCollapsed:s,theme:c,classNames:l,styles:u}=a,d=Rx(),f;if(!n)f=s&&!d.length&&r&&typeof r==`string`?C.createElement(`div`,{className:`${o}-inline-collapsed-noicon`},r.charAt(0)):C.createElement(`span`,{className:`${o}-title-content`},r);else{let e=C.isValidElement(r)&&r.type===`span`;f=C.createElement(C.Fragment,null,Fp(n,e=>({className:q(e.className,`${o}-item-icon`,l?.itemIcon),style:{...e.style,...u?.itemIcon}})),e?r:C.createElement(`span`,{className:`${o}-title-content`},r))}let p=C.useMemo(()=>({...a,firstLevel:!1}),[a]),[m]=Xd(`Menu`);return C.createElement(LS.Provider,{value:p},C.createElement(gS,{...Cr(e,[`icon`]),title:f,classNames:{list:l?.subMenu?.list,listTitle:l?.subMenu?.itemTitle},styles:{list:u?.subMenu?.list,listTitle:u?.subMenu?.itemTitle},popupClassName:q(o,t,l?.popup?.root,`${o}-${i||c}`),popupStyle:{zIndex:m,...e.popupStyle,...u?.popup?.root}}))};function JS(e){return e===null||e===!1}var Jie={item:zS,submenu:qS,divider:RS},Yie=(0,C.forwardRef)((e,t)=>{let n=C.useContext(BS),r=n||{},{prefixCls:i,className:a,style:o,theme:s=`light`,expandIcon:c,_internalDisableMenuItemTitleTooltip:l,tooltip:u,inlineCollapsed:d,siderCollapsed:f,rootClassName:p,mode:m,selectable:h,onClick:g,overflowedIndicatorPopupClassName:_,classNames:v,styles:y,...b}=e,{menu:x}=C.useContext(si),{getPrefixCls:S,getPopupContainer:w,direction:T,className:E,style:D,classNames:O,styles:k}=ui(`menu`),A=S(),j=Cr(b,[`collapsedWidth`]);r.validator?.({mode:m});let M=Rn((...e)=>{g?.(...e),r.onClick?.()}),N=r.mode||m,P=h??r.selectable,F=d??f,I={...e,mode:N,inlineCollapsed:F,selectable:P,theme:s},[L,R]=Id([O,v],[k,y],{props:I},{popup:{_default:`root`},subMenu:{_default:`item`}}),z={horizontal:{motionName:`${A}-slide-up`},inline:Mm(A),other:{motionName:`${A}-zoom-big`}},B=S(`menu`,i||r.prefixCls),V=xf(B),[H,U]=qie(B,V,!n),W=q(`${B}-${s}`,E,a),ee=C.useMemo(()=>{if(typeof c==`function`||JS(c))return c||null;if(typeof r.expandIcon==`function`||JS(r.expandIcon))return r.expandIcon||null;if(typeof x?.expandIcon==`function`||JS(x?.expandIcon))return x?.expandIcon||null;let e=c??r?.expandIcon??x?.expandIcon;return Fp(e,{className:q(`${B}-submenu-expand-icon`,C.isValidElement(e)?e.props?.className:void 0)})},[c,r?.expandIcon,x?.expandIcon,B]),te=C.useMemo(()=>({prefixCls:B,inlineCollapsed:F||!1,direction:T,firstLevel:!0,theme:s,mode:N,disableMenuItemTitleTooltip:l,tooltip:u,classNames:L,styles:R}),[B,F,T,l,s,N,L,R,u]);return C.createElement(BS.Provider,{value:null},C.createElement(LS.Provider,{value:te},C.createElement(TS,{getPopupContainer:w,overflowedIndicator:C.createElement(IS,null),overflowedIndicatorPopupClassName:q(B,`${B}-${s}`,_),classNames:{list:L.list,listTitle:L.itemTitle},styles:{list:R.list,listTitle:R.itemTitle},mode:N,selectable:P,onClick:M,...j,inlineCollapsed:F,style:{...R.root,...D,...o},className:W,prefixCls:B,direction:T,defaultMotions:z,expandIcon:ee,ref:t,rootClassName:q(p,H,r.rootClassName,U,V,L.root),_internalComponents:Jie})))}),YS=(0,C.forwardRef)((e,t)=>{let n=(0,C.useRef)(null),r=C.useContext(NS);return(0,C.useImperativeHandle)(t,()=>({menu:n.current,focus:e=>{n.current?.focus(e)}})),C.createElement(Yie,{ref:n,...e,...r})});YS.Item=zS,YS.SubMenu=qS,YS.Divider=RS,YS.ItemGroup=yS;var Xie=e=>{let{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:i}=e,a=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${a}`]:{[`&${a}-danger:not(${a}-disabled)`]:{color:r,"&:hover":{color:i,backgroundColor:r}}}}}},Zie=e=>{let{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:i,sizePopupArrow:a,antCls:o,iconCls:s,motionDurationMid:c,paddingBlock:l,fontSize:u,dropdownEdgeChildPadding:d,colorTextDisabled:f,fontSizeIcon:p,controlPaddingHorizontal:m,colorBgElevated:h}=e;return[{[t]:{position:`absolute`,top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:`block`,"&::before":{position:`absolute`,insetBlock:e.calc(a).div(2).sub(i).equal(),zIndex:-9999,opacity:1e-4,content:`""`},"&-menu-vertical":{maxHeight:`100vh`,overflowY:`auto`},[`&-trigger${o}-btn`]:{[`& > ${s}-down, & > ${o}-btn-icon > ${s}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:`relative`,[`${o}-btn > ${s}-down`]:{fontSize:p},[`${s}-down::before`]:{transition:`transform ${c}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:`rotate(180deg)`}},"&-hidden, &-menu-hidden, &-menu-submenu-hidden":{display:`none`},[`&${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottomLeft, &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottomLeft, &${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottom, &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottom, &${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottomRight, - &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:rh},[`&${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-topLeft, + &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:sh},[`&${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-topLeft, &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-topLeft, &${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-top, &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-top, &${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-topRight, - &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-topRight`]:{animationName:ah},[`&${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottomLeft, + &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-topRight`]:{animationName:lh},[`&${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottomLeft, &${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottom, - &${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:ih},[`&${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-topLeft, + &${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:ch},[`&${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-topLeft, &${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-top, - &${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-topRight`]:{animationName:oh}}},qb(e,h,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:`relative`,margin:0},[`${n}-submenu-popup`]:{position:`absolute`,zIndex:r,background:`transparent`,boxShadow:`none`,transformOrigin:`0 0`,"ul, li":{listStyle:`none`,margin:0}},[`${t}, ${t}-menu-submenu`]:{...Yc(e),[n]:{padding:d,listStyleType:`none`,backgroundColor:h,backgroundClip:`padding-box`,borderRadius:e.borderRadiusLG,outline:`none`,boxShadow:e.boxShadowSecondary,...$c(e),"&:empty":{padding:0,boxShadow:`none`},[`${n}-item-group-title`]:{padding:`${J(l)} ${J(m)}`,color:e.colorTextDescription,transition:`all ${c}`},[`${n}-item`]:{position:`relative`,display:`flex`,alignItems:`center`},[`${n}-item-icon`]:{minWidth:u,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:`auto`,"&-with-extra":{display:`inline-flex`,alignItems:`center`,width:`100%`},"> a":{color:`inherit`,transition:`all ${c}`,"&:hover":{color:`inherit`},"&::after":{position:`absolute`,inset:0,content:`""`}},[`${n}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:`auto`,fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${n}-item, ${n}-submenu-title`]:{display:`flex`,margin:0,padding:`${J(l)} ${J(m)}`,color:e.colorText,fontWeight:`normal`,fontSize:u,lineHeight:e.lineHeight,cursor:`pointer`,transition:`all ${c}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover},...$c(e),"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:f,cursor:`not-allowed`,"&:hover":{color:f,backgroundColor:h,cursor:`not-allowed`},a:{pointerEvents:`none`}},"&-divider":{height:1,margin:`${J(e.marginXXS)} 0`,overflow:`hidden`,lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:`absolute`,insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:`0 !important`,color:e.colorIcon,fontSize:p,fontStyle:`normal`}}},[`${n}-item-group-list`]:{margin:`0 ${J(e.marginXS)}`,padding:0,listStyle:`none`},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(m).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:`relative`},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:f,backgroundColor:h,cursor:`not-allowed`}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}}}},[sh(e,`slide-up`),sh(e,`slide-down`),nh(e,`move-up`),nh(e,`move-down`),fh(e,`zoom-big`)]]},aC=il(`Dropdown`,e=>{let{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:i}=e,a=_s(e,{menuCls:`${i}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[iC(a),rC(a)]},e=>({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2,...Gb({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0}),...Ub(e)}),{resetStyle:!1}),oC=e=>{let{menu:t,arrow:n,prefixCls:r,children:i,trigger:a,disabled:o,dropdownRender:s,popupRender:c,getPopupContainer:l,overlayClassName:u,rootClassName:d,overlayStyle:f,open:p,onOpenChange:m,mouseEnterDelay:h=.15,mouseLeaveDelay:g=.1,autoAdjustOverflow:_=!0,placement:v=``,transitionName:y,classNames:b,styles:x,destroyPopupOnHide:S,destroyOnHidden:w}=e,{getPrefixCls:T,direction:E,getPopupContainer:D,className:O,style:k,classNames:A,styles:j}=ui(`dropdown`),M={...e,mouseEnterDelay:h,mouseLeaveDelay:g,autoAdjustOverflow:_},[N,P]=Id([A,b],[j,x],{props:M}),F={...k,...f,...P.root},I=c||s;Or(`Dropdown`);let L=C.useMemo(()=>{let e=T();return y===void 0?v.includes(`top`)?`${e}-slide-down`:`${e}-slide-up`:y},[T,v,y]),R=C.useMemo(()=>v?v.includes(`Center`)?v.slice(0,v.indexOf(`Center`)):v:E===`rtl`?`bottomRight`:`bottomLeft`,[v,E]),z=T(`dropdown`,r),B=xf(z),[V,H]=aC(z,B),[,U]=qc(),W=C.Children.only(yd(i)?C.createElement(`span`,null,i):i),ee=Fp(W,{className:q(`${z}-trigger`,{[`${z}-rtl`]:E===`rtl`},W.props.className),disabled:W.props.disabled??o}),te=o?[]:a,ne=!!te?.includes(`contextMenu`),[re,ie]=Wn(!1,p),ae=Rn(e=>{m?.(e,{source:`trigger`}),ie(e)}),G=q(u,d,V,H,B,O,N.root,{[`${z}-rtl`]:E===`rtl`}),oe=Yb({arrowPointAtCenter:gd(n)&&n.pointAtCenter,autoAdjustOverflow:_,offset:U.marginXXS,arrowWidth:n?U.sizePopupArrow:0,borderRadius:U.borderRadius}),K=Rn(()=>{t?.selectable&&t?.multiple||(m?.(!1,{source:`menu`}),ie(!1))}),se=()=>{let e=Cr(N,[`root`]),n=Cr(P,[`root`]),r;return t?.items&&(r=C.createElement(nC,{...t,classNames:{...e,subMenu:{...e}},styles:{...n,subMenu:{...n}}})),I&&(r=I(r)),r=C.Children.only(typeof r==`string`?C.createElement(`span`,null,r):r),C.createElement(BS,{prefixCls:`${z}-menu`,rootClassName:q(H,B),expandIcon:C.createElement(`span`,{className:`${z}-menu-submenu-arrow`},E===`rtl`?C.createElement(fx,{className:`${z}-menu-submenu-arrow-icon`}):C.createElement(vh,{className:`${z}-menu-submenu-arrow-icon`})),mode:`vertical`,selectable:!1,onClick:K,validator:({mode:e})=>{}},r)},[ce,le]=Xd(`Dropdown`,F.zIndex),ue=C.createElement(gx,{alignPoint:ne,...Cr(e,[`rootClassName`,`onOpenChange`]),mouseEnterDelay:h,mouseLeaveDelay:g,visible:re,builtinPlacements:oe,arrow:!!n,overlayClassName:G,prefixCls:z,getPopupContainer:l||D,transitionName:L,trigger:te,overlay:se,placement:R,onVisibleChange:ae,overlayStyle:{...F,zIndex:ce},autoDestroy:w??S},ee);return ce&&(ue=C.createElement(Wd.Provider,{value:le},ue)),ue},sC=Rv(oC,`align`,void 0,`dropdown`,e=>e);oC._InternalPanelDoNotUseOrYouWillBeFired=e=>C.createElement(sC,{...e},C.createElement(`span`,null));var cC=ng,lC=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e){(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekday=r()})(e,(function(){return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_localeData=r()})(e,(function(){return function(e,t,n){var r=t.prototype,i=function(e){return e&&(e.indexOf?e:e.s)},a=function(e,t,n,r,a){var o=e.name?e:e.$locale(),s=i(o[t]),c=i(o[n]),l=s||c.map((function(e){return e.slice(0,r)}));if(!a)return l;var u=o.weekStart;return l.map((function(e,t){return l[(t+(u||0))%7]}))},o=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}(e.formats[t.toUpperCase()])},c=function(){var e=this;return{months:function(t){return t?t.format(`MMMM`):a(e,`months`)},monthsShort:function(t){return t?t.format(`MMM`):a(e,`monthsShort`,`months`,3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format(`dddd`):a(e,`weekdays`)},weekdaysMin:function(t){return t?t.format(`dd`):a(e,`weekdaysMin`,`weekdays`,2)},weekdaysShort:function(t){return t?t.format(`ddd`):a(e,`weekdaysShort`,`weekdays`,3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return c.bind(this)()},n.localeData=function(){var e=o();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return a(o(),`months`)},n.monthsShort=function(){return a(o(),`monthsShort`,`months`,3)},n.weekdays=function(e){return a(o(),`weekdays`,null,null,e)},n.weekdaysShort=function(e){return a(o(),`weekdaysShort`,`weekdays`,3,e)},n.weekdaysMin=function(e){return a(o(),`weekdaysMin`,`weekdays`,2,e)}}}))})),fC=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekOfYear=r()})(e,(function(){var e=`week`,t=`year`;return function(n,r,i){var a=r.prototype;a.week=function(n){if(n===void 0&&(n=null),n!==null)return this.add(7*(n-this.week()),`day`);var r=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var a=i(this).startOf(t).add(1,t).date(r),o=i(this).endOf(e);if(a.isBefore(o))return 1}var s=i(this).startOf(t).date(r).startOf(e).subtract(1,`millisecond`),c=this.diff(s,e,!0);return c<0?i(this).startOf(`week`).week():Math.ceil(c)},a.weeks=function(e){return e===void 0&&(e=null),this.week(e)}}}))})),pC=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekYear=r()})(e,(function(){return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return t===1&&e===11?n+1:e===0&&t>=52?n-1:n}}}))})),Uie=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`YYYY-MM-DDTHH:mm:ssZ`).replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),Wie=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,``)===e&&(this.day=r)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))})),mC=l(lC()),Gie=l(uC()),Kie=l(dC()),qie=l(fC()),Jie=l(pC()),Yie=l(Uie()),Xie=l(Wie());mC.default.extend(Xie.default),mC.default.extend(Yie.default),mC.default.extend(Gie.default),mC.default.extend(Kie.default),mC.default.extend(qie.default),mC.default.extend(Jie.default),mC.default.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=(e||``).replace(`Wo`,`wo`);return r.bind(this)(t)}});var Zie={bn_BD:`bn-bd`,by_BY:`be`,en_GB:`en-gb`,en_US:`en`,fr_BE:`fr`,fr_CA:`fr-ca`,hy_AM:`hy-am`,kmr_IQ:`ku`,nl_BE:`nl-be`,pt_BR:`pt-br`,zh_CN:`zh-cn`,zh_HK:`zh-hk`,zh_TW:`zh-tw`},hC=function(e){return Zie[e]||e.split(`_`)[0]},gC=function(e){return!mC.default.isDayjs(e)||e instanceof mC.default?e:(0,mC.default)(e.valueOf())},Qie={getNow:function(){var e=(0,mC.default)();return typeof e.tz==`function`?e.tz():e},getFixedDate:function(e){return(0,mC.default)(e,[`YYYY-M-DD`,`YYYY-MM-DD`])},getEndDate:function(e){return gC(e).endOf(`month`)},getWeekDay:function(e){var t=gC(e).locale(`en`);return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(e){return gC(e).year()},getMonth:function(e){return gC(e).month()},getDate:function(e){return gC(e).date()},getHour:function(e){return gC(e).hour()},getMinute:function(e){return gC(e).minute()},getSecond:function(e){return gC(e).second()},getMillisecond:function(e){return gC(e).millisecond()},addYear:function(e,t){return gC(e).add(t,`year`)},addMonth:function(e,t){return gC(e).add(t,`month`)},addDate:function(e,t){return gC(e).add(t,`day`)},setYear:function(e,t){return gC(e).year(t)},setMonth:function(e,t){return gC(e).month(t)},setDate:function(e,t){return gC(e).date(t)},setHour:function(e,t){return gC(e).hour(t)},setMinute:function(e,t){return gC(e).minute(t)},setSecond:function(e,t){return gC(e).second(t)},setMillisecond:function(e,t){return gC(e).millisecond(t)},isAfter:function(e,t){return gC(e).isAfter(gC(t))},isValidate:function(e){return gC(e).isValid()},locale:{getWeekFirstDay:function(e){return(0,mC.default)().locale(hC(e)).localeData().firstDayOfWeek()},getWeekFirstDate:function(e,t){return gC(t).locale(hC(e)).weekday(0)},getWeek:function(e,t){return gC(t).locale(hC(e)).week()},getShortWeekDays:function(e){return(0,mC.default)().locale(hC(e)).localeData().weekdaysMin()},getShortMonths:function(e){return(0,mC.default)().locale(hC(e)).localeData().monthsShort()},format:function(e,t,n){return gC(t).locale(hC(e)).format(n)},parse:function(e,t,n){for(var r=hC(e),i=0;ie.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:`0`,r=String(e);r.lengthe.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:[],r=dae(C.useState([!1,!1]),2),i=r[0],a=r[1];return[C.useMemo(function(){return i.map(function(r,i){if(r)return!0;var a=e[i];return a?!!(!n[i]&&!a||a&&t(a,{activeIndex:i})):!1})},[e,i,t,n]),function(e,t){a(function(n){return wC(n,t,e)})}]}function FC(e){"@babel/helpers - typeof";return FC=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},FC(e)}function IC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function LC(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&(o=t.addDate(o,-7)),o}function lw(e,t){var n=t.generateConfig,r=t.locale,i=t.format;return e?typeof i==`function`?i(e):n.locale.format(r.locale,e,i):``}function uw(e,t,n){var r=t,i=[`getHour`,`getMinute`,`getSecond`,`getMillisecond`];return[`setHour`,`setMinute`,`setSecond`,`setMillisecond`].forEach(function(t,a){r=n?e[t](r,e[i[a]](n)):e[t](r,0)}),r}function Nae(e,t,n,r,i){return Rn(function(a,o){return!!(n&&n(a,o)||r&&e.isAfter(r,a)&&!ow(e,t,r,a,o.type)||i&&e.isAfter(a,i)&&!ow(e,t,i,a,o.type))})}function dw(e){"@babel/helpers - typeof";return dw=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},dw(e)}function Pae(e,t,n){return C.useMemo(function(){var r=CC(EC(e,t,n)),i=r[0],a=dw(i)===`object`&&i.type===`mask`?i.format:null;return[r.map(function(e){return typeof e==`string`||typeof e==`function`?e:e.format}),a]},[e,t,n])}function Fae(e,t,n){return typeof e[0]==`function`||n?!0:t}function fw(e){"@babel/helpers - typeof";return fw=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},fw(e)}function pw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Iae(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:!1;return C.useMemo(function(){var n=e&&CC(e);return t&&n&&(n[1]=n[1]||n[0]),n},[e,t])}function bw(e,t){var n=e.generateConfig,r=e.locale,i=e.picker,a=i===void 0?`date`:i,o=e.prefixCls,s=o===void 0?`rc-picker`:o,c=e.previewValue,l=c===void 0?`hover`:c,u=e.styles,d=u===void 0?{}:u,f=e.classNames,p=f===void 0?{}:f,m=e.order,h=m===void 0?!0:m,g=e.components,_=g===void 0?{}:g,v=e.inputRender,y=e.allowClear,b=e.clearIcon,x=e.needConfirm,S=e.multiple,w=e.format,T=e.inputReadOnly,E=e.disabledDate,D=e.minDate,O=e.maxDate,k=e.showTime,A=e.value,j=e.defaultValue,M=e.pickerValue,N=e.defaultPickerValue,P=yw(A),F=yw(j),I=yw(M),L=yw(N),R=a===`date`&&k?`datetime`:a,z=R===`time`||R===`datetime`,B=z||S,V=x??z,H=_w(JC(e),4),U=H[0],W=H[1],ee=H[2],te=H[3],ne=zC(r,W),re=C.useMemo(function(){return YC(R,ee,te,U,ne)},[R,ee,te,U,ne]),ie=C.useMemo(function(){return gw(gw({},e),{},{previewValue:l,prefixCls:s,locale:ne,picker:a,styles:d,classNames:p,order:h,components:gw({input:v},_),clearIcon:Aae(s,y,b),showTime:re,value:P,defaultValue:F,pickerValue:I,defaultPickerValue:L},t?.())},[e]),ae=_w(Pae(R,ne,w),2),G=ae[0],oe=ae[1],K=Fae(G,T,S),se=Nae(n,r,E,D,O),ce=Bae(n,a,se,re);return[C.useMemo(function(){return gw(gw({},ie),{},{needConfirm:V,inputReadOnly:K,disabledDate:se})},[ie,V,K,se]),R,B,G,oe,ce]}function xw(e,t){return Zae(e)||Xae(e,t)||Yae(e,t)||Jae()}function Jae(){throw TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Yae(e,t){if(e){if(typeof e==`string`)return Sw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Sw(e,t)}}function Sw(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,i=$ae(Qae(n.every(function(e){return e})?!1:e,t||!1,r),2),a=i[0],o=i[1];function s(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!t.inherit||a)&&o(e,t.force)}return[a,s]}function Tw(e){var t=C.useRef();return C.useImperativeHandle(e,function(){return{nativeElement:t.current?.nativeElement,focus:function(e){var n;(n=t.current)==null||n.focus(e)},blur:function(){var e;(e=t.current)==null||e.blur()}}}),t}function ioe(e,t){return coe(e)||soe(e,t)||ooe(e,t)||aoe()}function aoe(){throw TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ooe(e,t){if(e){if(typeof e==`string`)return Ew(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ew(e,t)}}function Ew(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:1,r=C.useRef(t);r.current=t,Hn(function(){if(e)r.current(e);else{var t=ii(function(){r.current(e)},n);return function(){ii.cancel(t)}}},[e])}function kw(e,t){return foe(e)||doe(e,t)||uoe(e,t)||loe()}function loe(){throw TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uoe(e,t){if(e){if(typeof e==`string`)return Aw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Aw(e,t)}}function Aw(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=kw(C.useState(0),2),i=r[0],a=r[1],o=kw(C.useState(!1),2),s=o[0],c=o[1],l=C.useRef([]),u=C.useRef(null),d=C.useRef(null),f=function(e){u.current=e};return Ow(s||n,function(){s||(l.current=[],f(null))}),C.useEffect(function(){s&&l.current.push(i)},[s,i]),[s,function(e){c(e)},function(e){return e&&(d.current=e),d.current},i,a,function(n){var r=l.current,i=new Set(r.filter(function(e){return n[e]||t[e]})),a=+(r[r.length-1]===0);return i.size>=2||e[a]?null:a},l.current,f,function(e){return u.current===e}]}function Mw(e){"@babel/helpers - typeof";return Mw=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Mw(e)}function Nw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Pw(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n8&&arguments[8]!==void 0?arguments[8]:zw,l=arguments.length>9&&arguments[9]!==void 0?arguments[9]:zw,u=arguments.length>10&&arguments[10]!==void 0?arguments[10]:zw,d=arguments.length>11?arguments[11]:void 0,f=arguments.length>12?arguments[12]:void 0,p=arguments.length>13?arguments[13]:void 0,m=o===`time`,h=a||0,g=function(t){var r=e.getNow();return m&&(r=uw(e,r)),c[t]||n[t]||r},_=Iw(l,2),v=_[0],y=_[1],b=Iw(Wn(function(){return g(0)},v),2),x=b[0],S=b[1],w=Iw(Wn(function(){return g(1)},y),2),T=w[0],E=w[1],D=C.useMemo(function(){var t=[x,T][h];return m?t:uw(e,t,u[h])},[m,x,T,h,e,u]),O=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`panel`,a=[S,E][h];a(n);var s=[x,T];s[h]=n,d&&(!ow(e,t,x,s[0],o)||!ow(e,t,T,s[1],o))&&d(s,{source:i,range:h===1?`end`:`start`,mode:r})},k=function(n,r){if(s){var i={date:`month`,week:`month`,month:`year`,quarter:`year`}[o];if(i&&!ow(e,t,n,r,i)||o===`year`&&n&&Math.floor(e.getYear(n)/10)!==Math.floor(e.getYear(r)/10))return Rw(e,o,r,-1)}return r},A=C.useRef(null);return Vn(function(){if(i&&!c[h]){var t=m?null:e.getNow();if(A.current!==null&&A.current!==h?t=[x,T][h^1]:n[h]?t=h===0?n[0]:k(n[0],n[1]):n[h^1]&&(t=n[h^1]),t){f&&e.isAfter(f,t)&&(t=f);var r=s?Rw(e,o,t,1):t;p&&e.isAfter(r,p)&&(t=s?Rw(e,o,p,-1):p),O(t,`reset`)}}},[i,h,n[h]]),C.useEffect(function(){i?A.current=h:A.current=null},[i,h]),Vn(function(){i&&c&&c[h]&&O(c[h],`reset`)},[i,h]),[D,O]}function Eoe(e,t){return Aoe(e)||koe(e,t)||Ooe(e,t)||Doe()}function Doe(){throw TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ooe(e,t){if(e){if(typeof e==`string`)return Vw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Vw(e,t)}}function Vw(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,o=[],s=n>=1?n|0:1,c=e;c<=t;c+=s){var l=i.includes(c);(!l||!r)&&o.push({label:SC(c,a),value:c,disabled:l})}return o}function oT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},i=r.use12Hours,a=r.hourStep,o=a===void 0?1:a,s=r.minuteStep,c=s===void 0?1:s,l=r.secondStep,u=l===void 0?1:l,d=r.millisecondStep,f=d===void 0?100:d,p=r.hideDisabledOptions,m=r.disabledTime,h=r.disabledHours,g=r.disabledMinutes,_=r.disabledSeconds,v=C.useMemo(function(){return n||e.getNow()},[n,e]),y=C.useCallback(function(e){var t=m?.(e)||{};return[t.disabledHours||h||iT,t.disabledMinutes||g||iT,t.disabledSeconds||_||iT,t.disabledMilliseconds||iT]},[m,h,g,_]),b=nT(C.useMemo(function(){return y(v)},[v,y]),4),x=b[0],S=b[1],w=b[2],T=b[3],E=C.useCallback(function(e,t,n,r){var a=aT(0,23,o,p,e());return[i?a.map(function(e){return tT(tT({},e),{},{label:SC(e.value%12||12,2)})}):a,function(e){return aT(0,59,c,p,t(e))},function(e,t){return aT(0,59,u,p,n(e,t))},function(e,t,n){return aT(0,999,f,p,r(e,t,n),3)}]},[p,o,i,f,c,u]),D=nT(C.useMemo(function(){return E(x,S,w,T)},[E,x,S,w,T]),4),O=D[0],k=D[1],A=D[2],j=D[3];return[function(t,n){var r=function(){return O},i=k,a=A,o=j;if(n){var s=nT(y(n),4),c=s[0],l=s[1],u=s[2],d=s[3],f=nT(E(c,l,u,d),4),p=f[0],m=f[1],h=f[2],g=f[3];r=function(){return p},i=m,a=h,o=g}return Woe(t,r,i,a,o,e)},O,k,A,j]}function Qoe(e,t){return nse(e)||tse(e,t)||ese(e,t)||$oe()}function $oe(){throw TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ese(e,t){if(e){if(typeof e==`string`)return sT(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sT(e,t)}}function sT(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:!1;pe(e),_?.(e),t&&me(e)},ge=function(e,t){ie(e),t&&he(t),me(t,e)},_e=function(e){if(ue(e),he(e),re!==x){var t=[`decade`,`year`],n=[].concat(t,[`month`]),r={quarter:[].concat(t,[`quarter`]),week:[].concat(gE(n),[`week`]),date:[].concat(gE(n),[`date`])}[x]||n,i=r[r.indexOf(re)+1];i&&ge(i,e)}},ve=C.useMemo(function(){var e,t;if(Array.isArray(T)){var n=bE(T,2);e=n[0],t=n[1]}else e=T;return!e&&!t?null:(e||=t,t||=e,a.isAfter(e,t)?[t,e]:[e,t])},[T,a]),ye=MC(E,D,O),be=A[ae]||EE[ae]||DT,xe=C.useMemo(function(){return{classNames:P?.popup??n??{},styles:F?.popup??r??{}}},[P,n,F,r]),Se=C.useContext(hT),Ce=C.useMemo(function(){return fE(fE({},Se),{},{hideHeader:j})},[Se,j]),we=`${I}-panel`,Te=TC(e,[`showWeek`,`prevIcon`,`nextIcon`,`superPrevIcon`,`superNextIcon`,`disabledDate`,`minDate`,`maxDate`,`onHover`]);return C.createElement(dT.Provider,{value:xe},C.createElement(hT.Provider,{value:Ce},C.createElement(`div`,{ref:L,tabIndex:l,className:q(we,pE({},`${we}-rtl`,o===`rtl`))},C.createElement(be,uE({},Te,{showTime:ee,prefixCls:I,locale:U,generateConfig:a,onModeChange:ge,pickerValue:fe,onPickerValueChange:function(e){he(e,!0)},value:ce[0],onSelect:_e,values:ce,cellRender:ye,hoverRangeValue:ve,hoverValue:w})))))}var OE=C.memo(C.forwardRef(DE));function kE(e){"@babel/helpers - typeof";return kE=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},kE(e)}function AE(){return AE=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function fD(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}function pD(e){var t=e.icon,n=e.type,r=dD(e,cD),i=C.useContext(_C),a=i.prefixCls,o=i.classNames,s=i.styles;return t?C.createElement(`span`,uD({className:q(`${a}-${n}`,o.suffix),style:s.suffix},r),t):null}function mD(e){var t=e.onClear,n=dD(e,lD);return C.createElement(pD,uD({},n,{type:`clear`,role:`button`,onMouseDown:function(e){e.preventDefault()},onClick:function(e){e.stopPropagation(),t()}}))}function hD(e){"@babel/helpers - typeof";return hD=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},hD(e)}function gD(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function _D(e,t){for(var n=0;n=a&&e<=o)return r;var s=Math.min(Math.abs(e-a),Math.abs(e-o));se.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function zD(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var BD=C.forwardRef(function(e,t){var n=e.className,r=e.active,i=e.showActiveCls,a=i===void 0?!0:i,o=e.suffixIcon,s=e.format,c=e.validateFormat,l=e.onChange;e.onInput;var u=e.helped,d=e.onHelp,f=e.onSubmit,p=e.onKeyDown,m=e.preserveInvalidOnBlur,h=m===void 0?!1:m,g=e.invalid,_=e.clearIcon,v=RD(e,DD),y=e.value,b=e.onFocus,x=e.onBlur,S=e.onMouseUp,w=C.useContext(_C),T=w.prefixCls,E=w.input,D=E===void 0?`input`:E,O=w.classNames,k=w.styles,A=`${T}-input`,j=MD(C.useState(!1),2),M=j[0],N=j[1],P=MD(C.useState(y),2),F=P[0],I=P[1],L=MD(C.useState(``),2),R=L[0],z=L[1],B=MD(C.useState(null),2),V=B[0],H=B[1],U=MD(C.useState(null),2),W=U[0],ee=U[1],te=F||``;C.useEffect(function(){I(y)},[y]);var ne=C.useRef(null),re=C.useRef(null),ie=C.useRef(!1);C.useImperativeHandle(t,function(){return{nativeElement:ne.current,inputElement:re.current,focus:function(e){re.current.focus(e)},blur:function(){re.current.blur()}}});var ae=C.useMemo(function(){return new wD(s||``)},[s]),G=MD(C.useMemo(function(){return u?[0,0]:ae.getSelection(V)},[ae,V,u]),2),oe=G[0],K=G[1],se=function(e){e&&e!==s&&e!==y&&d()},ce=Rn(function(e){c(e)&&l(e),I(e),se(e)}),le=function(e){if(!s){var t=e.target.value;se(t),I(t),l(t)}},ue=function(e){if(ie.current){e.preventDefault();return}var t=e.clipboardData.getData(`text`);c(t)&&ce(t)},de=function(){ie.current=!0},fe=function(e){var t=e.target.selectionStart;H(ae.getMaskCellIndex(t)),ee({}),S?.(e),ie.current=!1},pe=function(e){N(!0),H(0),z(``),b(e)},me=function(e){x(e)},he=function(e){N(!1),me(e)};Ow(r,function(){!r&&!h&&I(y)});var ge=function(e){e.key===`Enter`&&c(te)&&f(),p?.(e)},_e=function(e){if(ie.current){e.preventDefault();return}ge(e);var t=e.key,n=null,r=null,i=K-oe,a=s.slice(oe,K),o=function(e){H(function(t){var n=t+e;return n=Math.max(n,0),n=Math.min(n,ae.size()-1),n})},c=function(e){var t=MD(TD(a),3),n=t[0],r=t[1],i=t[2],o=te.slice(oe,K),s=Number(o);if(isNaN(s))return String(i||(e>0?n:r));var c=s+e,l=r-n+1;return String(n+(l+c-n)%l)};switch(t){case`Backspace`:case`Delete`:n=``,r=a;break;case`ArrowLeft`:n=``,o(-1);break;case`ArrowRight`:n=``,o(1);break;case`ArrowUp`:n=``,r=c(1);break;case`ArrowDown`:n=``,r=c(-1);break;default:isNaN(Number(t))||(n=R+t,r=n);break}n!==null&&(z(n),n.length>=i&&(o(1),z(``))),r!==null&&ce((te.slice(0,oe)+SC(r,i)+te.slice(K)).slice(0,s.length)),ee({})},ve=C.useRef();Vn(function(){if(!(!M||!s||ie.current)){if(!ae.match(te)){ce(s);return}return re.current.setSelectionRange(oe,K),ve.current=ii(function(){re.current.setSelectionRange(oe,K)}),function(){ii.cancel(ve.current)}}},[ae,s,M,te,V,oe,K,W,ce]);var ye=s?{onFocus:pe,onBlur:he,onKeyDown:_e,onMouseDown:de,onMouseUp:fe,onPaste:ue}:{};return C.createElement(`div`,{ref:ne,className:q(A,kD(kD({},`${A}-active`,r&&a),`${A}-placeholder`,u),n)},C.createElement(D,OD({ref:re,"aria-invalid":g,autoComplete:`off`},v,{onKeyDown:ge,onBlur:me},ye,{value:te,onChange:le,className:O.input,style:k.input})),C.createElement(pD,{type:`suffix`,icon:o}),_)}),VD=`id.prefix.clearIcon.suffixIcon.separator.activeIndex.activeHelp.allHelp.focused.onFocus.onBlur.onKeyDown.locale.generateConfig.placeholder.className.style.onClick.onClear.value.onChange.onSubmit.onInputChange.format.maskFormat.preserveInvalidOnBlur.onInvalid.disabled.invalid.inputReadOnly.direction.onOpenChange.onActiveInfo.placement.onMouseDown.required.aria-required.autoFocus.tabIndex`.split(`.`),HD=[`index`];function UD(){return UD=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function rO(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}function iO(e,t){var n=e.id,r=e.prefix,i=e.clearIcon,a=e.suffixIcon,o=e.separator,s=o===void 0?`~`:o,c=e.activeIndex;e.activeHelp,e.allHelp;var l=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var u=e.placeholder,d=e.className,f=e.style,p=e.onClick,m=e.onClear,h=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var g=e.disabled,_=e.invalid;e.inputReadOnly;var v=e.direction;e.onOpenChange;var y=e.onActiveInfo;e.placement;var b=e.onMouseDown;e.required,e[`aria-required`];var x=e.autoFocus,S=e.tabIndex,w=nO(e,VD),T=v===`rtl`,E=C.useContext(_C),D=E.prefixCls,O=E.classNames,k=E.styles,A=C.useMemo(function(){if(typeof n==`string`)return[n];var e=n||{};return[e.start,e.end]},[n]),j=C.useRef(),M=C.useRef(),N=C.useRef(),P=function(e){return[M,N][e]?.current};C.useImperativeHandle(t,function(){return{nativeElement:j.current,focus:function(e){if(tO(e)===`object`){var t,n=e||{},r=n.index,i=r===void 0?0:r,a=nO(n,HD);(t=P(i))==null||t.focus(a)}else{var o;(o=P(e??0))==null||o.focus()}},blur:function(){var e,t;(e=P(0))==null||e.blur(),(t=P(1))==null||t.blur()}}});var F=sD(w),I=C.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),L=YD(aD(GD(GD({},e),{},{id:A,placeholder:I})),1)[0],R=YD(C.useState({position:`absolute`,width:0}),2),z=R[0],B=R[1],V=Rn(function(){var e=P(c);if(e){var t=e.nativeElement.getBoundingClientRect(),n=j.current.getBoundingClientRect(),r=t.left-n.left;B(function(e){return GD(GD({},e),{},{width:t.width,left:r})}),y([t.left,t.right,n.width])}});C.useEffect(function(){V()},[c]);var H=i&&(h[0]&&!g[0]||h[1]&&!g[1]),U=x&&!g[0],W=x&&!U&&!g[1];return C.createElement(Gr,{onResize:V},C.createElement(`div`,UD({},F,{className:q(D,`${D}-range`,KD(KD(KD(KD({},`${D}-focused`,l),`${D}-disabled`,g.every(function(e){return e})),`${D}-invalid`,_.some(function(e){return e})),`${D}-rtl`,T),d),style:f,ref:j,onClick:p,onMouseDown:function(e){var t=e.target;t!==M.current.inputElement&&t!==N.current.inputElement&&e.preventDefault(),b?.(e)}}),r&&C.createElement(`div`,{className:q(`${D}-prefix`,O.prefix),style:k.prefix},r),C.createElement(BD,UD({ref:M},L(0),{className:`${D}-input-start`,autoFocus:U,tabIndex:S,"date-range":`start`})),C.createElement(`div`,{className:`${D}-range-separator`},s),C.createElement(BD,UD({ref:N},L(1),{className:`${D}-input-end`,autoFocus:W,tabIndex:S,"date-range":`end`})),C.createElement(`div`,{className:`${D}-active-bar`,style:z}),C.createElement(pD,{type:`suffix`,icon:a}),H&&C.createElement(mD,{icon:i,onClear:m})))}var aO=C.forwardRef(iO);function oO(e){"@babel/helpers - typeof";return oO=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},oO(e)}function sO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function cO(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0&&G.current.focus({index:n})}de(!0),ae?.(e)},$e=function(){Ve(null),de(!1,{force:!0})},et=wO(C.useState(null),2),tt=et[0],nt=et[1],rt=wO(C.useState(null),2),it=rt[0],at=rt[1],ot=C.useMemo(function(){return it||ve},[ve,it]);C.useEffect(function(){le||at(null)},[le]);var st=wO(C.useState([0,0,0]),2),ct=st[0],lt=st[1],ut=function(e,t){p===`hover`&&(at(e),nt(t))},dt=Dw(W,ee),ft=function(e){ut(e,`preset`)},pt=function(e){Ve(e)&&(Se(`preset-click`),de(!1,{force:!0}))},mt=function(e){Ze(e)},ht=function(e){ut(e?Xe(e,Ce):null,`cell`)},gt=function(e){de(!0),ke(e)},_t=function(){Se(`panel`)},vt=function(e){ge(wC(ve,Ce,e)),!g&&!a&&i===Ie&&Ze(e)},yt=function(){de(!1)},bt=MC(ne,re,ie,jO(Ce)),xt=ve[Ce]||null,St=Rn(function(e){return c(e,{activeIndex:Ce})}),Ct=C.useMemo(function(){var e=Hu(r,!1);return Cr(r,[].concat(hO(Object.keys(e)),[`onChange`,`onCalendarChange`,`style`,`className`,`onPanelChange`,`disabledTime`,`classNames`,`styles`]))},[r]),wt=C.createElement(QE,mO({},Ct,{showNow:Re,showTime:je,range:!0,multiplePanel:Le,activeInfo:ct,disabledDate:He,onFocus:gt,onBlur:Ae,onPanelMouseDown:_t,picker:k,mode:Fe,internalMode:Ie,onPanelChange:Ye,format:s,value:xt,isInvalid:St,onChange:null,onSelect:vt,pickerValue:qe,defaultOpenValue:CC(M?.defaultOpenValue)[Ce],onPickerValueChange:Je,hoverValue:ot,onHover:ht,needConfirm:g,onSubmit:Ze,onOk:_e,presets:dt,onPresetHover:ft,onPresetSubmit:pt,onNow:mt,cellRender:bt,classNames:K,styles:se})),Tt=function(e,t){ge(Xe(e,t))},Et=function(){Se(`input`)},Dt=function(e,t){var n=Ee.length,r=Ee[n-1];if(n&&r!==t&&g&&!y[r]&&!Oe(r)&&ve[r]){G.current.focus({index:r});return}Se(`input`),de(!0,{inherit:!0}),Ce!==t&&le&&!g&&a&&Ze(null,!0),we(t),ke(e,t)},Ot=function(e,t){de(!1),!g&&Se()===`input`&&Be(Ce,Te(ve)===null),Ae(e,t)},kt=function(e,t){e.key===`Tab`&&Ze(null,!0),_?.(e,t)},At=C.useMemo(function(){return{prefixCls:l,locale:D,generateConfig:O,button:te.button,input:te.input,classNames:K,styles:se}},[l,D,O,te.button,te.input,K,se]);return Vn(function(){le&&Ce!==void 0&&Ye(null,k,!1)},[le,Ce,k]),Vn(function(){var e=Se();!le&&e===`input`&&(de(!1),Ze(null,!0)),!le&&a&&!g&&e===`panel`&&(de(!0),Ze())},[le]),C.createElement(_C.Provider,{value:At},C.createElement(bC,mO({},OC(r),{popupElement:wt,popupStyle:se.popup.root,popupClassName:q(u,K.popup.root),visible:le,onClose:yt,range:!0}),C.createElement(aO,mO({},r,{ref:G,className:q(r.className,u,K.root),style:bO(bO({},se.root),r.style),suffixIcon:V,activeIndex:be||le?Ce:null,activeHelp:!!it,allHelp:!!it&&tt===`preset`,focused:be,onFocus:Dt,onBlur:Ot,onKeyDown:kt,onSubmit:Ze,value:ot,maskFormat:s,onChange:Tt,onInputChange:Et,format:o,inputReadOnly:B,disabled:v,open:le,onOpenChange:de,onClick:Qe,onClear:$e,invalid:We,onInvalid:Ge,onActiveInfo:lt}))))}var NO=C.forwardRef(MO);function PO(e){var t=e.prefixCls,n=e.value,r=e.onRemove,i=e.removeIcon,a=i===void 0?`×`:i,o=e.formatDate,s=e.disabled,c=e.maxTagCount,l=e.placeholder,u=`${t}-selector`,d=`${t}-selection`,f=`${d}-overflow`;function p(e,t){return C.createElement(`span`,{className:q(`${d}-item`),title:typeof e==`string`?e:null},C.createElement(`span`,{className:`${d}-item-content`},e),!s&&t&&C.createElement(`span`,{onMouseDown:function(e){e.preventDefault()},onClick:t,className:`${d}-item-remove`},a))}function m(e){return p(o(e),function(t){t&&t.stopPropagation(),r(e)})}function h(e){return p(`+ ${e.length} ...`)}return C.createElement(`div`,{className:u},C.createElement(xy,{prefixCls:f,data:n,renderItem:m,renderRest:h,itemKey:function(e){return o(e)},maxCount:c}),!n.length&&C.createElement(`span`,{className:`${t}-selection-placeholder`},l))}function FO(e){"@babel/helpers - typeof";return FO=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},FO(e)}var IO=`id.open.prefix.clearIcon.suffixIcon.activeHelp.allHelp.focused.onFocus.onBlur.onKeyDown.locale.generateConfig.placeholder.className.style.onClick.onClear.internalPicker.value.onChange.onSubmit.onInputChange.multiple.maxTagCount.format.maskFormat.preserveInvalidOnBlur.onInvalid.disabled.invalid.inputReadOnly.direction.onOpenChange.onMouseDown.required.aria-required.autoFocus.tabIndex.removeIcon`.split(`.`);function LO(){return LO=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function XO(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}function ZO(e,t){e.id;var n=e.open,r=e.prefix,i=e.clearIcon,a=e.suffixIcon;e.activeHelp,e.allHelp;var o=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var s=e.locale,c=e.generateConfig,l=e.placeholder,u=e.className,d=e.style,f=e.onClick,p=e.onClear,m=e.internalPicker,h=e.value,g=e.onChange,_=e.onSubmit;e.onInputChange;var v=e.multiple,y=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var b=e.disabled,x=e.invalid;e.inputReadOnly;var S=e.direction;e.onOpenChange;var w=e.onMouseDown;e.required,e[`aria-required`];var T=e.autoFocus,E=e.tabIndex,D=e.removeIcon,O=YO(e,IO),k=S===`rtl`,A=C.useContext(_C),j=A.prefixCls,M=A.classNames,N=A.styles,P=C.useRef(),F=C.useRef();C.useImperativeHandle(t,function(){return{nativeElement:P.current,focus:function(e){var t;(t=F.current)==null||t.focus(e)},blur:function(){var e;(e=F.current)==null||e.blur()}}});var I=sD(O),L=function(e){g([e])},R=function(e){g(h.filter(function(t){return t&&!ow(c,s,t,e,m)})),n||_()},z=UO(aD(zO(zO({},e),{},{onChange:L}),function(e){return{value:e.valueTexts[0]||``,active:o}}),2),B=z[0],V=z[1],H=!!(i&&h.length&&!b),U=v?C.createElement(C.Fragment,null,C.createElement(PO,{prefixCls:j,value:h,onRemove:R,formatDate:V,maxTagCount:y,disabled:b,removeIcon:D,placeholder:l}),C.createElement(`input`,{className:`${j}-multiple-input`,value:h.map(V).join(`,`),ref:F,readOnly:!0,autoFocus:T,tabIndex:E}),C.createElement(pD,{type:`suffix`,icon:a}),H&&C.createElement(mD,{icon:i,onClear:p})):C.createElement(BD,LO({ref:F},B(),{autoFocus:T,tabIndex:E,suffixIcon:a,clearIcon:H&&C.createElement(mD,{icon:i,onClear:p}),showActiveCls:!1}));return C.createElement(`div`,LO({},I,{className:q(j,BO(BO(BO(BO(BO({},`${j}-multiple`,v),`${j}-focused`,o),`${j}-disabled`,b),`${j}-invalid`,x),`${j}-rtl`,k),u),style:d,ref:P,onClick:f,onMouseDown:function(e){e.target!==F.current?.inputElement&&e.preventDefault(),w?.(e)}}),r&&C.createElement(`div`,{className:q(`${j}-prefix`,M.prefix),style:N.prefix},r),U)}var QO=C.forwardRef(ZO);function $O(e){"@babel/helpers - typeof";return $O=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},$O(e)}function ek(){return ek=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);ne??{...t,__INTERNAL__:{itemRef:e=>t=>{let r=Ck(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:(e,t={})=>{let{focus:n,...i}=t,a=wk(e,r);a&&(gf(a,{scrollMode:`if-needed`,block:`nearest`,...i}),n&&r.focusField(e))},focusField:e=>{let t=r.getFieldInstance(e);typeof t?.focus==`function`?t.focus():wk(e,r)?.focus?.()},getFieldInstance:e=>{let t=Ck(e);return n.current[t]}},[e,t]);return[r]}var Ek=C.createContext(void 0),Dk=Ek.Provider,Ok=C.createContext(void 0),kk=Ok.Provider;function Ak(){return Ak=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n=`rc-checkbox`,className:r,style:i,checked:a,disabled:o,defaultChecked:s=!1,type:c=`checkbox`,title:l,onChange:u,...d}=e,f=(0,C.useRef)(null),p=(0,C.useRef)(null),[m,h]=Wn(s,a);(0,C.useImperativeHandle)(t,()=>({focus:e=>{f.current?.focus(e)},blur:()=>{f.current?.blur()},input:f.current,nativeElement:p.current}));let g=q(n,r,{[`${n}-checked`]:m,[`${n}-disabled`]:o});return C.createElement(`span`,{className:g,title:l,style:i,ref:p},C.createElement(`input`,Ak({},d,{className:`${n}-input`,ref:f,onChange:t=>{o||(`checked`in e||h(t.target.checked),u?.({target:{...e,type:c,checked:t.target.checked},stopPropagation(){t.stopPropagation()},preventDefault(){t.preventDefault()},nativeEvent:t.nativeEvent}))},disabled:o,checked:!!m,type:c})))});function Mk(e){let t=C.useRef(null),n=()=>{ii.cancel(t.current),t.current=null};return[()=>{n(),t.current=ii(()=>{t.current=null})},r=>{t.current&&(r.stopPropagation(),n()),e?.(r)}]}var Nk=e=>{let{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:{...Yc(e),display:`inline-block`,fontSize:0,[`&${r}-rtl`]:{direction:`rtl`},[`&${r}-block`]:{display:`flex`},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:`none`},"&-vertical":{display:`flex`,flexDirection:`column`,rowGap:e.marginXS,[`${t}-wrapper`]:{marginInlineEnd:0}}}}},Pk=e=>{let{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,colorPrimaryHover:i,radioSize:a,motionDurationSlow:o,motionDurationMid:s,motionEaseInOutCirc:c,colorBgContainer:l,colorBorder:u,lineWidth:d,colorBgContainerDisabled:f,colorTextDisabled:p,paddingXS:m,dotColorDisabled:h,dotSize:g,lineType:_,radioColor:v,radioBgColor:y}=e;return{[`${t}-wrapper`]:{...Yc(e),display:`inline-flex`,alignItems:`baseline`,marginInlineStart:0,marginInlineEnd:n,cursor:`pointer`,"&:last-child":{marginInlineEnd:0},[`&${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`},[t]:{...Yc(e),position:`relative`,whiteSpace:`nowrap`,lineHeight:1,cursor:`pointer`,alignSelf:`center`,boxSizing:`border-box`,display:`block`,width:`calc(${a} * 1px)`,height:`calc(${a} * 1px)`,backgroundColor:l,border:`${J(d)} ${_} ${u}`,borderRadius:`50%`,transition:`all ${s}`,flex:`none`,"&:after":{content:`""`,position:`absolute`,top:`50%`,left:`50%`,transform:`translate(-50%, -50%) scale(0)`,width:`calc(${g} * 1px)`,height:`calc(${g} * 1px)`,backgroundColor:v,borderRadius:`50%`,transformOrigin:`50% 50%`,opacity:0,transition:`all ${o} ${c}`},[`${t}-input`]:{position:`absolute`,inset:0,zIndex:1,cursor:`pointer`,opacity:0,margin:0},[`&:has(${t}-input:focus-visible)`]:Qc(e)},[`&:hover:not(${t}-wrapper-disabled) ${t}`]:{borderColor:r},[`&:hover ${t}-checked:not(${t}-disabled)`]:{backgroundColor:i,borderColor:`transparent`},[`${t}-checked`]:{backgroundColor:y,borderColor:r,"&::after":{transform:`translate(-50%, -50%)`,opacity:1}},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:`not-allowed`,pointerEvents:`none`},background:f,borderColor:u,"&::after":{backgroundColor:h}},[`${t}-disabled + span`]:{color:p,cursor:`not-allowed`},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}}}},Fk=e=>{let{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:i,lineType:a,colorBorder:o,motionDurationMid:s,buttonPaddingInline:c,fontSize:l,buttonBg:u,fontSizeLG:d,controlHeightLG:f,controlHeightSM:p,paddingXS:m,borderRadius:h,borderRadiusSM:g,borderRadiusLG:_,buttonCheckedBg:v,buttonSolidCheckedColor:y,colorTextDisabled:b,colorBgContainerDisabled:x,buttonCheckedBgDisabled:S,buttonCheckedColorDisabled:C,colorPrimary:w,colorPrimaryHover:T,colorPrimaryActive:E,buttonSolidCheckedBg:D,buttonSolidCheckedHoverBg:O,buttonSolidCheckedActiveBg:k,calc:A}=e;return{[`${r}-button-wrapper`]:{position:`relative`,display:`inline-block`,height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:l,lineHeight:J(A(n).sub(A(i).mul(2)).equal()),background:u,border:`${J(i)} ${a} ${o}`,borderBlockStartWidth:A(i).add(.02).equal(),borderInlineEndWidth:i,cursor:`pointer`,transition:[`color`,`background-color`,`box-shadow`].map(e=>`${e} ${s}`).join(`,`),a:{color:t},[`> ${r}-button`]:{position:`absolute`,insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:`100%`,height:`100%`},"&:not(:last-child)":{marginInlineEnd:A(i).mul(-1).equal()},"&:first-child":{borderInlineStart:`${J(i)} ${a} ${o}`,borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h},"&:first-child:last-child":{borderRadius:h},[`${r}-group-large &`]:{height:f,fontSize:d,lineHeight:J(A(f).sub(A(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:_,borderEndStartRadius:_},"&:last-child":{borderStartEndRadius:_,borderEndEndRadius:_}},[`${r}-group-small &`]:{height:p,paddingInline:A(m).sub(i).equal(),paddingBlock:0,lineHeight:J(A(p).sub(A(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g}},"&:hover":{position:`relative`,color:w},"&:has(:focus-visible)":Qc(e),[`${r}, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:`none`},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:w,background:v,borderColor:w,"&::before":{backgroundColor:w},"&:first-child":{borderColor:w},"&:hover":{color:T,borderColor:T,"&::before":{backgroundColor:T}},"&:active":{color:E,borderColor:E,"&::before":{backgroundColor:E}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:y,background:D,borderColor:D,"&:hover":{color:y,background:O,borderColor:O},"&:active":{color:y,background:k,borderColor:k}},"&-disabled":{color:b,backgroundColor:x,borderColor:o,cursor:`not-allowed`,"&:first-child, &:hover":{color:b,backgroundColor:x,borderColor:o}},[`&-disabled${r}-button-wrapper-checked`]:{color:C,backgroundColor:S,borderColor:o,boxShadow:`none`},"&-block":{flex:1,textAlign:`center`}}}},Ik=il(`Radio`,e=>{let{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${J(n)} ${t}`,i=_s(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[Nk(i),Pk(i),Fk(i)]},e=>{let{wireframe:t,padding:n,marginXS:r,lineWidth:i,fontSizeLG:a,colorText:o,colorBgContainer:s,colorTextDisabled:c,controlItemBgActiveDisabled:l,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:f,colorPrimaryActive:p,colorWhite:m}=e,h=a;return{radioSize:h,dotSize:t?h-8:h-(4+i)*2,dotColorDisabled:c,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:p,buttonBg:s,buttonCheckedBg:s,buttonColor:o,buttonCheckedBgDisabled:l,buttonCheckedColorDisabled:c,buttonPaddingInline:n-i,wrapperMarginInlineEnd:r,radioColor:t?d:m,radioBgColor:t?s:d}},{unitless:{radioSize:!0,dotSize:!0}}),Lk=C.forwardRef((e,t)=>{let n=C.useContext(Ek),r=C.useContext(Ok),{getPrefixCls:i,direction:a,className:o,style:s,classNames:c,styles:l}=ui(`radio`),u=er(t,C.useRef(null)),{isFormItemInput:d}=C.useContext(N_),f=t=>{e.onChange?.(t),n?.onChange?.(t)},{prefixCls:p,className:m,rootClassName:h,children:g,style:_,title:v,classNames:y,styles:b,...x}=e,S=i(`radio`,p),w=(n?.optionType||r)===`button`,T=w?`${S}-button`:S,E=xf(S),[D,O]=Ik(S,E),k={...x},A=C.useContext(Bp),j=k.checked;n&&(k.name=n.name,k.onChange=f,j=e.value===n.value,k.disabled=k.disabled??n.disabled),k.disabled=k.disabled??A;let M={...e,...k,checked:j},[N,P]=Id([c,y],[l,b],{props:M}),F=q(`${T}-wrapper`,{[`${T}-wrapper-checked`]:j,[`${T}-wrapper-disabled`]:k.disabled,[`${T}-wrapper-rtl`]:a===`rtl`,[`${T}-wrapper-in-form-item`]:d,[`${T}-wrapper-block`]:!!n?.block},o,m,h,N.root,D,O,E),[I,L]=Mk(k.onClick);return C.createElement(Nm,{component:`Radio`,disabled:k.disabled},C.createElement(`label`,{className:F,style:{...P.root,...s,..._},onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:v,onClick:I},C.createElement(jk,{...k,checked:j,className:q(N.icon,{[Am]:!w}),style:P.icon,type:`radio`,prefixCls:T,ref:u,onClick:L}),g===void 0?null:C.createElement(`span`,{className:q(`${T}-label`,N.label),style:P.label},g)))}),Rk=C.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=C.useContext(si),{name:i}=C.useContext(N_),a=Bf(Ck(i)),{prefixCls:o,className:s,rootClassName:c,options:l,buttonStyle:u=`outline`,disabled:d,children:f,size:p,style:m,id:h,optionType:g,name:_=a,defaultValue:v,value:y,block:b=!1,onChange:x,onMouseEnter:S,onMouseLeave:w,onFocus:T,onBlur:E,orientation:D,vertical:O,role:k=`radiogroup`}=e,[A,j]=Wn(v,y),M=C.useCallback(t=>{let n=A,r=t.target.value;`value`in e||j(r),r!==n&&x?.(t)},[A,j,x]),N=n(`radio`,o),P=`${N}-group`,F=xf(N),[I,L]=Ik(N,F),R=f;l&&l.length>0&&(R=l.map(e=>typeof e==`string`||md(e)?C.createElement(Lk,{key:e.toString(),prefixCls:N,disabled:d,value:e,checked:A===e},e):C.createElement(Lk,{key:`radio-group-value-options-${e.value}`,prefixCls:N,disabled:e.disabled||d,value:e.value,checked:A===e.value,title:e.title,style:e.style,className:e.className,id:e.id,required:e.required},e.label)));let z=Pm(p),[,B]=zd(D,O),V=q(P,`${P}-${u}`,{[`${P}-large`]:z===`large`,[`${P}-small`]:z===`small`,[`${P}-rtl`]:r===`rtl`,[`${P}-block`]:b},s,c,I,L,F),H=C.useMemo(()=>({onChange:M,value:A,disabled:d,name:_,optionType:g,block:b}),[M,A,d,_,g,b]);return C.createElement(`div`,{...Hu(e,{aria:!0,data:!0}),role:k,className:q(V,{[`${N}-group-vertical`]:B}),style:m,onMouseEnter:S,onMouseLeave:w,onFocus:T,onBlur:E,id:h,ref:t},C.createElement(Dk,{value:H},R))}),zk=C.memo(Rk),Bk=C.forwardRef((e,t)=>{let{getPrefixCls:n}=C.useContext(si),{prefixCls:r,...i}=e,a=n(`radio`,r);return C.createElement(kk,{value:`button`},C.createElement(Lk,{prefixCls:a,...i,type:`radio`,ref:t}))}),Vk=Lk;Vk.Button=Bk,Vk.Group=zk,Vk.__ANT_RADIO=!0;function Hk(e){return _s(e,{inputAffixPadding:e.paddingXXS})}var Uk=e=>{let{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightSM:a,controlHeightLG:o,fontSizeLG:s,lineHeightLG:c,paddingSM:l,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:f,colorPrimaryHover:p,colorPrimary:m,controlOutlineWidth:h,controlOutline:g,colorErrorOutline:_,colorWarningOutline:v,colorBgContainer:y,inputFontSize:b,inputFontSizeLG:x,inputFontSizeSM:S}=e,C=b||n,w=S||C,T=x||s,E=Math.round((t-C*r)/2*10)/10-i,D=Math.round((a-w*r)/2*10)/10-i,O=Math.ceil((o-T*c)/2*10)/10-i;return{paddingBlock:Math.max(E,0),paddingBlockSM:Math.max(D,0),paddingBlockLG:Math.max(O,0),paddingInline:l-i,paddingInlineSM:u-i,paddingInlineLG:d-i,addonBg:f,activeBorderColor:m,hoverBorderColor:p,activeShadow:`0 0 0 ${h}px ${g}`,errorActiveShadow:`0 0 0 ${h}px ${_}`,warningActiveShadow:`0 0 0 ${h}px ${v}`,hoverBg:y,activeBg:y,inputFontSize:C,inputFontSizeLG:T,inputFontSizeSM:w}},Lce=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Wk=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorderDisabled,boxShadow:`none`,cursor:`not-allowed`,opacity:1,"input[disabled], textarea[disabled]":{cursor:`not-allowed`},"&:hover:not([disabled])":{...Lce(_s(e,{hoverBorderColor:e.colorBorderDisabled,hoverBg:e.colorBgContainerDisabled}))}}),Gk=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),Kk=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...Gk(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),qk=(e,t)=>({"&-outlined":{...Gk(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{...Wk(e)},...Kk(e,{status:`error`,borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...Kk(e,{status:`warning`,borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...t}}),Jk=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),Rce=e=>({"&-outlined":{[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},...Jk(e,{status:`error`,addonBorderColor:e.colorError,addonColor:e.colorErrorText}),...Jk(e,{status:`warning`,addonBorderColor:e.colorWarning,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:{...Wk(e)}}}}),Yk=(e,t)=>{let{componentCls:n}=e;return{"&-borderless":{background:`transparent`,border:`none`,paddingBlock:e.calc(e.paddingBlock).add(e.lineWidth).equal(),[`&${n}-sm, &${n}-affix-wrapper-sm`]:{paddingBlock:e.calc(e.paddingBlockSM).add(e.lineWidth).equal()},[`&${n}-lg, &${n}-affix-wrapper-lg`]:{paddingBlock:e.calc(e.paddingBlockLG).add(e.lineWidth).equal()},"&:focus, &:focus-within":{outline:`none`},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:`not-allowed`},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}},...t}}},Xk=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:`transparent`,"input&, & input, textarea&, & textarea":{color:t?.inputColor??`unset`},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),Zk=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...Xk(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}}),Qk=(e,t)=>({"&-filled":{...Xk(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,inputColor:e.colorText}),[`&${e.componentCls}-disabled, &[disabled]`]:{...Wk(e)},...Zk(e,{status:`error`,bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError}),...Zk(e,{status:`warning`,bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning}),...t}}),$k=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),zce=e=>({"&-filled":{[`${e.componentCls}-group-addon`]:{background:e.colorFillTertiary,"&:last-child":{position:`static`}},...$k(e,{status:`error`,addonBg:e.colorErrorBg,addonColor:e.colorErrorText}),...$k(e,{status:`warning`,addonBg:e.colorWarningBg,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}}}),eA=(e,t)=>({background:e.colorBgContainer,borderWidth:`${J(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${t.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${t.hoverBorderColor} transparent`,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${t.activeBorderColor} transparent`,outline:0,backgroundColor:e.activeBg}}),tA=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...eA(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:`transparent transparent ${t.borderColor} transparent`}}),nA=(e,t)=>({"&-underlined":{...eA(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled,boxShadow:`none`,cursor:`not-allowed`,"&:hover":{borderColor:`transparent transparent ${e.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:`not-allowed`},...tA(e,{status:`error`,borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...tA(e,{status:`warning`,borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...t}}),rA=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:`none`},"&:placeholder-shown":{textOverflow:`ellipsis`}}),iA=e=>{let{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:i}=e;return{padding:`${J(t)} ${J(i)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},aA=e=>({padding:`${J(e.paddingBlockSM)} ${J(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),oA=(e,t={})=>({position:`relative`,display:`inline-block`,width:`100%`,minWidth:0,padding:`${J(e.paddingBlock)} ${J(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`,...rA(e.colorTextPlaceholder),"&-lg":{...iA(e),...t.largeStyle},"&-sm":{...aA(e),...t.smallStyle},"&-rtl, &-textarea-rtl":{direction:`rtl`}}),Bce=e=>{let{componentCls:t,antCls:n}=e;return{position:`relative`,display:`table`,width:`100%`,borderCollapse:`separate`,borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:{...iA(e)},[`&-sm ${t}, &-sm > ${t}-group-addon`]:{...aA(e)},[`&-lg ${n}-select-single`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single`]:{height:e.controlHeightSM},[`> ${t}`]:{display:`table-cell`,"&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:`table-cell`,width:1,whiteSpace:`nowrap`,verticalAlign:`middle`,"&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:`block !important`},"&-addon":{position:`relative`,padding:`0 ${J(e.paddingInline)}`,color:e.colorText,fontWeight:`normal`,fontSize:e.inputFontSize,textAlign:`center`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${J(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${J(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{backgroundColor:`inherit`,border:`${J(e.lineWidth)} ${e.lineType} transparent`,boxShadow:`none`}},[`${n}-cascader-picker`]:{margin:`-9px ${J(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:`transparent`,[`${n}-cascader-input`]:{textAlign:`start`,border:0,boxShadow:`none`}}}},[t]:{width:`100%`,marginBottom:0,textAlign:`inherit`,"&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0},"&:not(:first-child)":{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:{display:`block`,...Zc(),[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:`inline-flex`,float:`none`,verticalAlign:`top`,borderRadius:0},[` + &${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-topRight`]:{animationName:uh}}},Yb(e,h,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:`relative`,margin:0},[`${n}-submenu-popup`]:{position:`absolute`,zIndex:r,background:`transparent`,boxShadow:`none`,transformOrigin:`0 0`,"ul, li":{listStyle:`none`,margin:0}},[`${t}, ${t}-menu-submenu`]:{...Yc(e),[n]:{padding:d,listStyleType:`none`,backgroundColor:h,backgroundClip:`padding-box`,borderRadius:e.borderRadiusLG,outline:`none`,boxShadow:e.boxShadowSecondary,...$c(e),"&:empty":{padding:0,boxShadow:`none`},[`${n}-item-group-title`]:{padding:`${J(l)} ${J(m)}`,color:e.colorTextDescription,transition:`all ${c}`},[`${n}-item`]:{position:`relative`,display:`flex`,alignItems:`center`},[`${n}-item-icon`]:{minWidth:u,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:`auto`,"&-with-extra":{display:`inline-flex`,alignItems:`center`,width:`100%`},"> a":{color:`inherit`,transition:`all ${c}`,"&:hover":{color:`inherit`},"&::after":{position:`absolute`,inset:0,content:`""`}},[`${n}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:`auto`,fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${n}-item, ${n}-submenu-title`]:{display:`flex`,margin:0,padding:`${J(l)} ${J(m)}`,color:e.colorText,fontWeight:`normal`,fontSize:u,lineHeight:e.lineHeight,cursor:`pointer`,transition:`all ${c}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover},...$c(e),"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:f,cursor:`not-allowed`,"&:hover":{color:f,backgroundColor:h,cursor:`not-allowed`},a:{pointerEvents:`none`}},"&-divider":{height:1,margin:`${J(e.marginXXS)} 0`,overflow:`hidden`,lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:`absolute`,insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:`0 !important`,color:e.colorIcon,fontSize:p,fontStyle:`normal`}}},[`${n}-item-group-list`]:{margin:`0 ${J(e.marginXS)}`,padding:0,listStyle:`none`},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(m).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:`relative`},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:f,backgroundColor:h,cursor:`not-allowed`}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}}}},[dh(e,`slide-up`),dh(e,`slide-down`),oh(e,`move-up`),oh(e,`move-down`),gh(e,`zoom-big`)]]},Qie=il(`Dropdown`,e=>{let{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:i}=e,a=_s(e,{menuCls:`${i}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[Zie(a),Xie(a)]},e=>({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2,...qb({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0}),...Gb(e)}),{resetStyle:!1}),XS=e=>{let{menu:t,arrow:n,prefixCls:r,children:i,trigger:a,disabled:o,dropdownRender:s,popupRender:c,getPopupContainer:l,overlayClassName:u,rootClassName:d,overlayStyle:f,open:p,onOpenChange:m,mouseEnterDelay:h=.15,mouseLeaveDelay:g=.1,autoAdjustOverflow:_=!0,placement:v=``,transitionName:y,classNames:b,styles:x,destroyPopupOnHide:S,destroyOnHidden:w}=e,{getPrefixCls:T,direction:E,getPopupContainer:D,className:O,style:k,classNames:A,styles:j}=ui(`dropdown`),M={...e,mouseEnterDelay:h,mouseLeaveDelay:g,autoAdjustOverflow:_},[N,P]=Id([A,b],[j,x],{props:M}),F={...k,...f,...P.root},I=c||s;Or(`Dropdown`);let L=C.useMemo(()=>{let e=T();return y===void 0?v.includes(`top`)?`${e}-slide-down`:`${e}-slide-up`:y},[T,v,y]),R=C.useMemo(()=>v?v.includes(`Center`)?v.slice(0,v.indexOf(`Center`)):v:E===`rtl`?`bottomRight`:`bottomLeft`,[v,E]),z=T(`dropdown`,r),B=xf(z),[V,H]=Qie(z,B),[,U]=qc(),W=C.Children.only(yd(i)?C.createElement(`span`,null,i):i),ee=Fp(W,{className:q(`${z}-trigger`,{[`${z}-rtl`]:E===`rtl`},W.props.className),disabled:W.props.disabled??o}),te=o?[]:a,ne=!!te?.includes(`contextMenu`),[re,ie]=Wn(!1,p),ae=Rn(e=>{m?.(e,{source:`trigger`}),ie(e)}),G=q(u,d,V,H,B,O,N.root,{[`${z}-rtl`]:E===`rtl`}),oe=ex({arrowPointAtCenter:gd(n)&&n.pointAtCenter,autoAdjustOverflow:_,offset:U.marginXXS,arrowWidth:n?U.sizePopupArrow:0,borderRadius:U.borderRadius}),K=Rn(()=>{t?.selectable&&t?.multiple||(m?.(!1,{source:`menu`}),ie(!1))}),se=()=>{let e=Cr(N,[`root`]),n=Cr(P,[`root`]),r;return t?.items&&(r=C.createElement(YS,{...t,classNames:{...e,subMenu:{...e}},styles:{...n,subMenu:{...n}}})),I&&(r=I(r)),r=C.Children.only(typeof r==`string`?C.createElement(`span`,null,r):r),C.createElement(VS,{prefixCls:`${z}-menu`,rootClassName:q(H,B),expandIcon:C.createElement(`span`,{className:`${z}-menu-submenu-arrow`},E===`rtl`?C.createElement(Tx,{className:`${z}-menu-submenu-arrow-icon`}):C.createElement(Ch,{className:`${z}-menu-submenu-arrow-icon`})),mode:`vertical`,selectable:!1,onClick:K,validator:({mode:e})=>{}},r)},[ce,le]=Xd(`Dropdown`,F.zIndex),ue=C.createElement(kx,{alignPoint:ne,...Cr(e,[`rootClassName`,`onOpenChange`]),mouseEnterDelay:h,mouseLeaveDelay:g,visible:re,builtinPlacements:oe,arrow:!!n,overlayClassName:G,prefixCls:z,getPopupContainer:l||D,transitionName:L,trigger:te,overlay:se,placement:R,onVisibleChange:ae,overlayStyle:{...F,zIndex:ce},autoDestroy:w??S},ee);return ce&&(ue=C.createElement(Wd.Provider,{value:le},ue)),ue},$ie=zv(XS,`align`,void 0,`dropdown`,e=>e);XS._InternalPanelDoNotUseOrYouWillBeFired=e=>C.createElement($ie,{...e},C.createElement(`span`,null));var ZS=tg,QS=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e){(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekday=r()})(e,(function(){return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_localeData=r()})(e,(function(){return function(e,t,n){var r=t.prototype,i=function(e){return e&&(e.indexOf?e:e.s)},a=function(e,t,n,r,a){var o=e.name?e:e.$locale(),s=i(o[t]),c=i(o[n]),l=s||c.map((function(e){return e.slice(0,r)}));if(!a)return l;var u=o.weekStart;return l.map((function(e,t){return l[(t+(u||0))%7]}))},o=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}(e.formats[t.toUpperCase()])},c=function(){var e=this;return{months:function(t){return t?t.format(`MMMM`):a(e,`months`)},monthsShort:function(t){return t?t.format(`MMM`):a(e,`monthsShort`,`months`,3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format(`dddd`):a(e,`weekdays`)},weekdaysMin:function(t){return t?t.format(`dd`):a(e,`weekdaysMin`,`weekdays`,2)},weekdaysShort:function(t){return t?t.format(`ddd`):a(e,`weekdaysShort`,`weekdays`,3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return c.bind(this)()},n.localeData=function(){var e=o();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return a(o(),`months`)},n.monthsShort=function(){return a(o(),`monthsShort`,`months`,3)},n.weekdays=function(e){return a(o(),`weekdays`,null,null,e)},n.weekdaysShort=function(e){return a(o(),`weekdaysShort`,`weekdays`,3,e)},n.weekdaysMin=function(e){return a(o(),`weekdaysMin`,`weekdays`,2,e)}}}))})),nae=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekOfYear=r()})(e,(function(){var e=`week`,t=`year`;return function(n,r,i){var a=r.prototype;a.week=function(n){if(n===void 0&&(n=null),n!==null)return this.add(7*(n-this.week()),`day`);var r=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var a=i(this).startOf(t).add(1,t).date(r),o=i(this).endOf(e);if(a.isBefore(o))return 1}var s=i(this).startOf(t).date(r).startOf(e).subtract(1,`millisecond`),c=this.diff(s,e,!0);return c<0?i(this).startOf(`week`).week():Math.ceil(c)},a.weeks=function(e){return e===void 0&&(e=null),this.week(e)}}}))})),rae=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekYear=r()})(e,(function(){return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return t===1&&e===11?n+1:e===0&&t>=52?n-1:n}}}))})),iae=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`YYYY-MM-DDTHH:mm:ssZ`).replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),aae=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,``)===e&&(this.day=r)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))})),$S=l(QS()),oae=l(eae()),sae=l(tae()),cae=l(nae()),lae=l(rae()),uae=l(iae()),dae=l(aae());$S.default.extend(dae.default),$S.default.extend(uae.default),$S.default.extend(oae.default),$S.default.extend(sae.default),$S.default.extend(cae.default),$S.default.extend(lae.default),$S.default.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=(e||``).replace(`Wo`,`wo`);return r.bind(this)(t)}});var fae={bn_BD:`bn-bd`,by_BY:`be`,en_GB:`en-gb`,en_US:`en`,fr_BE:`fr`,fr_CA:`fr-ca`,hy_AM:`hy-am`,kmr_IQ:`ku`,nl_BE:`nl-be`,pt_BR:`pt-br`,zh_CN:`zh-cn`,zh_HK:`zh-hk`,zh_TW:`zh-tw`},eC=function(e){return fae[e]||e.split(`_`)[0]},tC=function(e){return!$S.default.isDayjs(e)||e instanceof $S.default?e:(0,$S.default)(e.valueOf())},pae={getNow:function(){var e=(0,$S.default)();return typeof e.tz==`function`?e.tz():e},getFixedDate:function(e){return(0,$S.default)(e,[`YYYY-M-DD`,`YYYY-MM-DD`])},getEndDate:function(e){return tC(e).endOf(`month`)},getWeekDay:function(e){var t=tC(e).locale(`en`);return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(e){return tC(e).year()},getMonth:function(e){return tC(e).month()},getDate:function(e){return tC(e).date()},getHour:function(e){return tC(e).hour()},getMinute:function(e){return tC(e).minute()},getSecond:function(e){return tC(e).second()},getMillisecond:function(e){return tC(e).millisecond()},addYear:function(e,t){return tC(e).add(t,`year`)},addMonth:function(e,t){return tC(e).add(t,`month`)},addDate:function(e,t){return tC(e).add(t,`day`)},setYear:function(e,t){return tC(e).year(t)},setMonth:function(e,t){return tC(e).month(t)},setDate:function(e,t){return tC(e).date(t)},setHour:function(e,t){return tC(e).hour(t)},setMinute:function(e,t){return tC(e).minute(t)},setSecond:function(e,t){return tC(e).second(t)},setMillisecond:function(e,t){return tC(e).millisecond(t)},isAfter:function(e,t){return tC(e).isAfter(tC(t))},isValidate:function(e){return tC(e).isValid()},locale:{getWeekFirstDay:function(e){return(0,$S.default)().locale(eC(e)).localeData().firstDayOfWeek()},getWeekFirstDate:function(e,t){return tC(t).locale(eC(e)).weekday(0)},getWeek:function(e,t){return tC(t).locale(eC(e)).week()},getShortWeekDays:function(e){return(0,$S.default)().locale(eC(e)).localeData().weekdaysMin()},getShortMonths:function(e){return(0,$S.default)().locale(eC(e)).localeData().monthsShort()},format:function(e,t,n){return tC(t).locale(eC(e)).format(n)},parse:function(e,t,n){for(var r=eC(e),i=0;ie.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:`0`,r=String(e);r.lengthe.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:[],r=Eae(C.useState([!1,!1]),2),i=r[0],a=r[1];return[C.useMemo(function(){return i.map(function(r,i){if(r)return!0;var a=e[i];return a?!!(!n[i]&&!a||a&&t(a,{activeIndex:i})):!1})},[e,i,t,n]),function(e,t){a(function(n){return lC(n,t,e)})}]}function bC(e){"@babel/helpers - typeof";return bC=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},bC(e)}function xC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function SC(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&(o=t.addDate(o,-7)),o}function JC(e,t){var n=t.generateConfig,r=t.locale,i=t.format;return e?typeof i==`function`?i(e):n.locale.format(r.locale,e,i):``}function YC(e,t,n){var r=t,i=[`getHour`,`getMinute`,`getSecond`,`getMillisecond`];return[`setHour`,`setMinute`,`setSecond`,`setMillisecond`].forEach(function(t,a){r=n?e[t](r,e[i[a]](n)):e[t](r,0)}),r}function Jae(e,t,n,r,i){return Rn(function(a,o){return!!(n&&n(a,o)||r&&e.isAfter(r,a)&&!GC(e,t,r,a,o.type)||i&&e.isAfter(a,i)&&!GC(e,t,i,a,o.type))})}function XC(e){"@babel/helpers - typeof";return XC=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},XC(e)}function Yae(e,t,n){return C.useMemo(function(){var r=cC(dC(e,t,n)),i=r[0],a=XC(i)===`object`&&i.type===`mask`?i.format:null;return[r.map(function(e){return typeof e==`string`||typeof e==`function`?e:e.format}),a]},[e,t,n])}function Xae(e,t,n){return typeof e[0]==`function`||n?!0:t}function ZC(e){"@babel/helpers - typeof";return ZC=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ZC(e)}function QC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Zae(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:!1;return C.useMemo(function(){var n=e&&cC(e);return t&&n&&(n[1]=n[1]||n[0]),n},[e,t])}function aw(e,t){var n=e.generateConfig,r=e.locale,i=e.picker,a=i===void 0?`date`:i,o=e.prefixCls,s=o===void 0?`rc-picker`:o,c=e.previewValue,l=c===void 0?`hover`:c,u=e.styles,d=u===void 0?{}:u,f=e.classNames,p=f===void 0?{}:f,m=e.order,h=m===void 0?!0:m,g=e.components,_=g===void 0?{}:g,v=e.inputRender,y=e.allowClear,b=e.clearIcon,x=e.needConfirm,S=e.multiple,w=e.format,T=e.inputReadOnly,E=e.disabledDate,D=e.minDate,O=e.maxDate,k=e.showTime,A=e.value,j=e.defaultValue,M=e.pickerValue,N=e.defaultPickerValue,P=iw(A),F=iw(j),I=iw(M),L=iw(N),R=a===`date`&&k?`datetime`:a,z=R===`time`||R===`datetime`,B=z||S,V=x??z,H=nw(NC(e),4),U=H[0],W=H[1],ee=H[2],te=H[3],ne=wC(r,W),re=C.useMemo(function(){return PC(R,ee,te,U,ne)},[R,ee,te,U,ne]),ie=C.useMemo(function(){return tw(tw({},e),{},{previewValue:l,prefixCls:s,locale:ne,picker:a,styles:d,classNames:p,order:h,components:tw({input:v},_),clearIcon:Gae(s,y,b),showTime:re,value:P,defaultValue:F,pickerValue:I,defaultPickerValue:L},t?.())},[e]),ae=nw(Yae(R,ne,w),2),G=ae[0],oe=ae[1],K=Xae(G,T,S),se=Jae(n,r,E,D,O),ce=toe(n,a,se,re);return[C.useMemo(function(){return tw(tw({},ie),{},{needConfirm:V,inputReadOnly:K,disabledDate:se})},[ie,V,K,se]),R,B,G,oe,ce]}function ow(e,t){return foe(e)||doe(e,t)||uoe(e,t)||loe()}function loe(){throw TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uoe(e,t){if(e){if(typeof e==`string`)return sw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sw(e,t)}}function sw(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,i=moe(poe(n.every(function(e){return e})?!1:e,t||!1,r),2),a=i[0],o=i[1];function s(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!t.inherit||a)&&o(e,t.force)}return[a,s]}function uw(e){var t=C.useRef();return C.useImperativeHandle(e,function(){return{nativeElement:t.current?.nativeElement,focus:function(e){var n;(n=t.current)==null||n.focus(e)},blur:function(){var e;(e=t.current)==null||e.blur()}}}),t}function yoe(e,t){return Coe(e)||Soe(e,t)||xoe(e,t)||boe()}function boe(){throw TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xoe(e,t){if(e){if(typeof e==`string`)return dw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dw(e,t)}}function dw(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:1,r=C.useRef(t);r.current=t,Hn(function(){if(e)r.current(e);else{var t=ii(function(){r.current(e)},n);return function(){ii.cancel(t)}}},[e])}function mw(e,t){return Doe(e)||Eoe(e,t)||Toe(e,t)||woe()}function woe(){throw TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Toe(e,t){if(e){if(typeof e==`string`)return hw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hw(e,t)}}function hw(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=mw(C.useState(0),2),i=r[0],a=r[1],o=mw(C.useState(!1),2),s=o[0],c=o[1],l=C.useRef([]),u=C.useRef(null),d=C.useRef(null),f=function(e){u.current=e};return pw(s||n,function(){s||(l.current=[],f(null))}),C.useEffect(function(){s&&l.current.push(i)},[s,i]),[s,function(e){c(e)},function(e){return e&&(d.current=e),d.current},i,a,function(n){var r=l.current,i=new Set(r.filter(function(e){return n[e]||t[e]})),a=+(r[r.length-1]===0);return i.size>=2||e[a]?null:a},l.current,f,function(e){return u.current===e}]}function _w(e){"@babel/helpers - typeof";return _w=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},_w(e)}function vw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yw(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n8&&arguments[8]!==void 0?arguments[8]:ww,l=arguments.length>9&&arguments[9]!==void 0?arguments[9]:ww,u=arguments.length>10&&arguments[10]!==void 0?arguments[10]:ww,d=arguments.length>11?arguments[11]:void 0,f=arguments.length>12?arguments[12]:void 0,p=arguments.length>13?arguments[13]:void 0,m=o===`time`,h=a||0,g=function(t){var r=e.getNow();return m&&(r=YC(e,r)),c[t]||n[t]||r},_=xw(l,2),v=_[0],y=_[1],b=xw(Wn(function(){return g(0)},v),2),x=b[0],S=b[1],w=xw(Wn(function(){return g(1)},y),2),T=w[0],E=w[1],D=C.useMemo(function(){var t=[x,T][h];return m?t:YC(e,t,u[h])},[m,x,T,h,e,u]),O=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`panel`,a=[S,E][h];a(n);var s=[x,T];s[h]=n,d&&(!GC(e,t,x,s[0],o)||!GC(e,t,T,s[1],o))&&d(s,{source:i,range:h===1?`end`:`start`,mode:r})},k=function(n,r){if(s){var i={date:`month`,week:`month`,month:`year`,quarter:`year`}[o];if(i&&!GC(e,t,n,r,i)||o===`year`&&n&&Math.floor(e.getYear(n)/10)!==Math.floor(e.getYear(r)/10))return Cw(e,o,r,-1)}return r},A=C.useRef(null);return Vn(function(){if(i&&!c[h]){var t=m?null:e.getNow();if(A.current!==null&&A.current!==h?t=[x,T][h^1]:n[h]?t=h===0?n[0]:k(n[0],n[1]):n[h^1]&&(t=n[h^1]),t){f&&e.isAfter(f,t)&&(t=f);var r=s?Cw(e,o,t,1):t;p&&e.isAfter(r,p)&&(t=s?Cw(e,o,p,-1):p),O(t,`reset`)}}},[i,h,n[h]]),C.useEffect(function(){i?A.current=h:A.current=null},[i,h]),Vn(function(){i&&c&&c[h]&&O(c[h],`reset`)},[i,h]),[D,O]}function Voe(e,t){return Goe(e)||Woe(e,t)||Uoe(e,t)||Hoe()}function Hoe(){throw TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Uoe(e,t){if(e){if(typeof e==`string`)return Ew(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ew(e,t)}}function Ew(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,o=[],s=n>=1?n|0:1,c=e;c<=t;c+=s){var l=i.includes(c);(!l||!r)&&o.push({label:sC(c,a),value:c,disabled:l})}return o}function Gw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},i=r.use12Hours,a=r.hourStep,o=a===void 0?1:a,s=r.minuteStep,c=s===void 0?1:s,l=r.secondStep,u=l===void 0?1:l,d=r.millisecondStep,f=d===void 0?100:d,p=r.hideDisabledOptions,m=r.disabledTime,h=r.disabledHours,g=r.disabledMinutes,_=r.disabledSeconds,v=C.useMemo(function(){return n||e.getNow()},[n,e]),y=C.useCallback(function(e){var t=m?.(e)||{};return[t.disabledHours||h||Uw,t.disabledMinutes||g||Uw,t.disabledSeconds||_||Uw,t.disabledMilliseconds||Uw]},[m,h,g,_]),b=Vw(C.useMemo(function(){return y(v)},[v,y]),4),x=b[0],S=b[1],w=b[2],T=b[3],E=C.useCallback(function(e,t,n,r){var a=Ww(0,23,o,p,e());return[i?a.map(function(e){return Bw(Bw({},e),{},{label:sC(e.value%12||12,2)})}):a,function(e){return Ww(0,59,c,p,t(e))},function(e,t){return Ww(0,59,u,p,n(e,t))},function(e,t,n){return Ww(0,999,f,p,r(e,t,n),3)}]},[p,o,i,f,c,u]),D=Vw(C.useMemo(function(){return E(x,S,w,T)},[E,x,S,w,T]),4),O=D[0],k=D[1],A=D[2],j=D[3];return[function(t,n){var r=function(){return O},i=k,a=A,o=j;if(n){var s=Vw(y(n),4),c=s[0],l=s[1],u=s[2],d=s[3],f=Vw(E(c,l,u,d),4),p=f[0],m=f[1],h=f[2],g=f[3];r=function(){return p},i=m,a=h,o=g}return ase(t,r,i,a,o,e)},O,k,A,j]}function pse(e,t){return _se(e)||gse(e,t)||hse(e,t)||mse()}function mse(){throw TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hse(e,t){if(e){if(typeof e==`string`)return Kw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Kw(e,t)}}function Kw(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:!1;pe(e),_?.(e),t&&me(e)},ge=function(e,t){ie(e),t&&he(t),me(t,e)},_e=function(e){if(ue(e),he(e),re!==x){var t=[`decade`,`year`],n=[].concat(t,[`month`]),r={quarter:[].concat(t,[`quarter`]),week:[].concat(HE(n),[`week`]),date:[].concat(HE(n),[`date`])}[x]||n,i=r[r.indexOf(re)+1];i&&ge(i,e)}},ve=C.useMemo(function(){var e,t;if(Array.isArray(T)){var n=KE(T,2);e=n[0],t=n[1]}else e=T;return!e&&!t?null:(e||=t,t||=e,a.isAfter(e,t)?[t,e]:[e,t])},[T,a]),ye=_C(E,D,O),be=A[ae]||QE[ae]||fT,xe=C.useMemo(function(){return{classNames:P?.popup??n??{},styles:F?.popup??r??{}}},[P,n,F,r]),Se=C.useContext(eT),Ce=C.useMemo(function(){return RE(RE({},Se),{},{hideHeader:j})},[Se,j]),we=`${I}-panel`,Te=uC(e,[`showWeek`,`prevIcon`,`nextIcon`,`superPrevIcon`,`superNextIcon`,`disabledDate`,`minDate`,`maxDate`,`onHover`]);return C.createElement(Xw.Provider,{value:xe},C.createElement(eT.Provider,{value:Ce},C.createElement(`div`,{ref:L,tabIndex:l,className:q(we,zE({},`${we}-rtl`,o===`rtl`))},C.createElement(be,IE({},Te,{showTime:ee,prefixCls:I,locale:U,generateConfig:a,onModeChange:ge,pickerValue:fe,onPickerValueChange:function(e){he(e,!0)},value:ce[0],onSelect:_e,values:ce,cellRender:ye,hoverRangeValue:ve,hoverValue:w})))))}var eD=C.memo(C.forwardRef($E));function tD(e){"@babel/helpers - typeof";return tD=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},tD(e)}function nD(){return nD=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function RD(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}function zD(e){var t=e.icon,n=e.type,r=LD(e,PD),i=C.useContext(nC),a=i.prefixCls,o=i.classNames,s=i.styles;return t?C.createElement(`span`,ID({className:q(`${a}-${n}`,o.suffix),style:s.suffix},r),t):null}function BD(e){var t=e.onClear,n=LD(e,FD);return C.createElement(zD,ID({},n,{type:`clear`,role:`button`,onMouseDown:function(e){e.preventDefault()},onClick:function(e){e.stopPropagation(),t()}}))}function VD(e){"@babel/helpers - typeof";return VD=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},VD(e)}function HD(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function UD(e,t){for(var n=0;n=a&&e<=o)return r;var s=Math.min(Math.abs(e-a),Math.abs(e-o));se.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function dO(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var fO=C.forwardRef(function(e,t){var n=e.className,r=e.active,i=e.showActiveCls,a=i===void 0?!0:i,o=e.suffixIcon,s=e.format,c=e.validateFormat,l=e.onChange;e.onInput;var u=e.helped,d=e.onHelp,f=e.onSubmit,p=e.onKeyDown,m=e.preserveInvalidOnBlur,h=m===void 0?!1:m,g=e.invalid,_=e.clearIcon,v=uO(e,$D),y=e.value,b=e.onFocus,x=e.onBlur,S=e.onMouseUp,w=C.useContext(nC),T=w.prefixCls,E=w.input,D=E===void 0?`input`:E,O=w.classNames,k=w.styles,A=`${T}-input`,j=iO(C.useState(!1),2),M=j[0],N=j[1],P=iO(C.useState(y),2),F=P[0],I=P[1],L=iO(C.useState(``),2),R=L[0],z=L[1],B=iO(C.useState(null),2),V=B[0],H=B[1],U=iO(C.useState(null),2),W=U[0],ee=U[1],te=F||``;C.useEffect(function(){I(y)},[y]);var ne=C.useRef(null),re=C.useRef(null),ie=C.useRef(!1);C.useImperativeHandle(t,function(){return{nativeElement:ne.current,inputElement:re.current,focus:function(e){re.current.focus(e)},blur:function(){re.current.blur()}}});var ae=C.useMemo(function(){return new XD(s||``)},[s]),G=iO(C.useMemo(function(){return u?[0,0]:ae.getSelection(V)},[ae,V,u]),2),oe=G[0],K=G[1],se=function(e){e&&e!==s&&e!==y&&d()},ce=Rn(function(e){c(e)&&l(e),I(e),se(e)}),le=function(e){if(!s){var t=e.target.value;se(t),I(t),l(t)}},ue=function(e){if(ie.current){e.preventDefault();return}var t=e.clipboardData.getData(`text`);c(t)&&ce(t)},de=function(){ie.current=!0},fe=function(e){var t=e.target.selectionStart;H(ae.getMaskCellIndex(t)),ee({}),S?.(e),ie.current=!1},pe=function(e){N(!0),H(0),z(``),b(e)},me=function(e){x(e)},he=function(e){N(!1),me(e)};pw(r,function(){!r&&!h&&I(y)});var ge=function(e){e.key===`Enter`&&c(te)&&f(),p?.(e)},_e=function(e){if(ie.current){e.preventDefault();return}ge(e);var t=e.key,n=null,r=null,i=K-oe,a=s.slice(oe,K),o=function(e){H(function(t){var n=t+e;return n=Math.max(n,0),n=Math.min(n,ae.size()-1),n})},c=function(e){var t=iO(ZD(a),3),n=t[0],r=t[1],i=t[2],o=te.slice(oe,K),s=Number(o);if(isNaN(s))return String(i||(e>0?n:r));var c=s+e,l=r-n+1;return String(n+(l+c-n)%l)};switch(t){case`Backspace`:case`Delete`:n=``,r=a;break;case`ArrowLeft`:n=``,o(-1);break;case`ArrowRight`:n=``,o(1);break;case`ArrowUp`:n=``,r=c(1);break;case`ArrowDown`:n=``,r=c(-1);break;default:isNaN(Number(t))||(n=R+t,r=n);break}n!==null&&(z(n),n.length>=i&&(o(1),z(``))),r!==null&&ce((te.slice(0,oe)+sC(r,i)+te.slice(K)).slice(0,s.length)),ee({})},ve=C.useRef();Vn(function(){if(!(!M||!s||ie.current)){if(!ae.match(te)){ce(s);return}return re.current.setSelectionRange(oe,K),ve.current=ii(function(){re.current.setSelectionRange(oe,K)}),function(){ii.cancel(ve.current)}}},[ae,s,M,te,V,oe,K,W,ce]);var ye=s?{onFocus:pe,onBlur:he,onKeyDown:_e,onMouseDown:de,onMouseUp:fe,onPaste:ue}:{};return C.createElement(`div`,{ref:ne,className:q(A,tO(tO({},`${A}-active`,r&&a),`${A}-placeholder`,u),n)},C.createElement(D,eO({ref:re,"aria-invalid":g,autoComplete:`off`},v,{onKeyDown:ge,onBlur:me},ye,{value:te,onChange:le,className:O.input,style:k.input})),C.createElement(zD,{type:`suffix`,icon:o}),_)}),pO=`id.prefix.clearIcon.suffixIcon.separator.activeIndex.activeHelp.allHelp.focused.onFocus.onBlur.onKeyDown.locale.generateConfig.placeholder.className.style.onClick.onClear.value.onChange.onSubmit.onInputChange.format.maskFormat.preserveInvalidOnBlur.onInvalid.disabled.invalid.inputReadOnly.direction.onOpenChange.onActiveInfo.placement.onMouseDown.required.aria-required.autoFocus.tabIndex`.split(`.`),mO=[`index`];function hO(){return hO=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function kO(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}function AO(e,t){var n=e.id,r=e.prefix,i=e.clearIcon,a=e.suffixIcon,o=e.separator,s=o===void 0?`~`:o,c=e.activeIndex;e.activeHelp,e.allHelp;var l=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var u=e.placeholder,d=e.className,f=e.style,p=e.onClick,m=e.onClear,h=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var g=e.disabled,_=e.invalid;e.inputReadOnly;var v=e.direction;e.onOpenChange;var y=e.onActiveInfo;e.placement;var b=e.onMouseDown;e.required,e[`aria-required`];var x=e.autoFocus,S=e.tabIndex,w=OO(e,pO),T=v===`rtl`,E=C.useContext(nC),D=E.prefixCls,O=E.classNames,k=E.styles,A=C.useMemo(function(){if(typeof n==`string`)return[n];var e=n||{};return[e.start,e.end]},[n]),j=C.useRef(),M=C.useRef(),N=C.useRef(),P=function(e){return[M,N][e]?.current};C.useImperativeHandle(t,function(){return{nativeElement:j.current,focus:function(e){if(DO(e)===`object`){var t,n=e||{},r=n.index,i=r===void 0?0:r,a=OO(n,mO);(t=P(i))==null||t.focus(a)}else{var o;(o=P(e??0))==null||o.focus()}},blur:function(){var e,t;(e=P(0))==null||e.blur(),(t=P(1))==null||t.blur()}}});var F=ND(w),I=C.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),L=xO(jD(_O(_O({},e),{},{id:A,placeholder:I})),1)[0],R=xO(C.useState({position:`absolute`,width:0}),2),z=R[0],B=R[1],V=Rn(function(){var e=P(c);if(e){var t=e.nativeElement.getBoundingClientRect(),n=j.current.getBoundingClientRect(),r=t.left-n.left;B(function(e){return _O(_O({},e),{},{width:t.width,left:r})}),y([t.left,t.right,n.width])}});C.useEffect(function(){V()},[c]);var H=i&&(h[0]&&!g[0]||h[1]&&!g[1]),U=x&&!g[0],W=x&&!U&&!g[1];return C.createElement(Gr,{onResize:V},C.createElement(`div`,hO({},F,{className:q(D,`${D}-range`,vO(vO(vO(vO({},`${D}-focused`,l),`${D}-disabled`,g.every(function(e){return e})),`${D}-invalid`,_.some(function(e){return e})),`${D}-rtl`,T),d),style:f,ref:j,onClick:p,onMouseDown:function(e){var t=e.target;t!==M.current.inputElement&&t!==N.current.inputElement&&e.preventDefault(),b?.(e)}}),r&&C.createElement(`div`,{className:q(`${D}-prefix`,O.prefix),style:k.prefix},r),C.createElement(fO,hO({ref:M},L(0),{className:`${D}-input-start`,autoFocus:U,tabIndex:S,"date-range":`start`})),C.createElement(`div`,{className:`${D}-range-separator`},s),C.createElement(fO,hO({ref:N},L(1),{className:`${D}-input-end`,autoFocus:W,tabIndex:S,"date-range":`end`})),C.createElement(`div`,{className:`${D}-active-bar`,style:z}),C.createElement(zD,{type:`suffix`,icon:a}),H&&C.createElement(BD,{icon:i,onClear:m})))}var jO=C.forwardRef(AO);function MO(e){"@babel/helpers - typeof";return MO=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},MO(e)}function NO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function PO(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0&&G.current.focus({index:n})}de(!0),ae?.(e)},$e=function(){Ve(null),de(!1,{force:!0})},et=XO(C.useState(null),2),tt=et[0],nt=et[1],rt=XO(C.useState(null),2),it=rt[0],at=rt[1],ot=C.useMemo(function(){return it||ve},[ve,it]);C.useEffect(function(){le||at(null)},[le]);var st=XO(C.useState([0,0,0]),2),ct=st[0],lt=st[1],ut=function(e,t){p===`hover`&&(at(e),nt(t))},dt=fw(W,ee),ft=function(e){ut(e,`preset`)},pt=function(e){Ve(e)&&(Se(`preset-click`),de(!1,{force:!0}))},mt=function(e){Ze(e)},ht=function(e){ut(e?Xe(e,Ce):null,`cell`)},gt=function(e){de(!0),ke(e)},_t=function(){Se(`panel`)},vt=function(e){ge(lC(ve,Ce,e)),!g&&!a&&i===Ie&&Ze(e)},yt=function(){de(!1)},bt=_C(ne,re,ie,rk(Ce)),xt=ve[Ce]||null,St=Rn(function(e){return c(e,{activeIndex:Ce})}),Ct=C.useMemo(function(){var e=Hu(r,!1);return Cr(r,[].concat(VO(Object.keys(e)),[`onChange`,`onCalendarChange`,`style`,`className`,`onPanelChange`,`disabledTime`,`classNames`,`styles`]))},[r]),wt=C.createElement(wD,BO({},Ct,{showNow:Re,showTime:je,range:!0,multiplePanel:Le,activeInfo:ct,disabledDate:He,onFocus:gt,onBlur:Ae,onPanelMouseDown:_t,picker:k,mode:Fe,internalMode:Ie,onPanelChange:Ye,format:s,value:xt,isInvalid:St,onChange:null,onSelect:vt,pickerValue:qe,defaultOpenValue:cC(M?.defaultOpenValue)[Ce],onPickerValueChange:Je,hoverValue:ot,onHover:ht,needConfirm:g,onSubmit:Ze,onOk:_e,presets:dt,onPresetHover:ft,onPresetSubmit:pt,onNow:mt,cellRender:bt,classNames:K,styles:se})),Tt=function(e,t){ge(Xe(e,t))},Et=function(){Se(`input`)},Dt=function(e,t){var n=Ee.length,r=Ee[n-1];if(n&&r!==t&&g&&!y[r]&&!Oe(r)&&ve[r]){G.current.focus({index:r});return}Se(`input`),de(!0,{inherit:!0}),Ce!==t&&le&&!g&&a&&Ze(null,!0),we(t),ke(e,t)},Ot=function(e,t){de(!1),!g&&Se()===`input`&&Be(Ce,Te(ve)===null),Ae(e,t)},kt=function(e,t){e.key===`Tab`&&Ze(null,!0),_?.(e,t)},At=C.useMemo(function(){return{prefixCls:l,locale:D,generateConfig:O,button:te.button,input:te.input,classNames:K,styles:se}},[l,D,O,te.button,te.input,K,se]);return Vn(function(){le&&Ce!==void 0&&Ye(null,k,!1)},[le,Ce,k]),Vn(function(){var e=Se();!le&&e===`input`&&(de(!1),Ze(null,!0)),!le&&a&&!g&&e===`panel`&&(de(!0),Ze())},[le]),C.createElement(nC.Provider,{value:At},C.createElement(aC,BO({},pC(r),{popupElement:wt,popupStyle:se.popup.root,popupClassName:q(u,K.popup.root),visible:le,onClose:yt,range:!0}),C.createElement(jO,BO({},r,{ref:G,className:q(r.className,u,K.root),style:KO(KO({},se.root),r.style),suffixIcon:V,activeIndex:be||le?Ce:null,activeHelp:!!it,allHelp:!!it&&tt===`preset`,focused:be,onFocus:Dt,onBlur:Ot,onKeyDown:kt,onSubmit:Ze,value:ot,maskFormat:s,onChange:Tt,onInputChange:Et,format:o,inputReadOnly:B,disabled:v,open:le,onOpenChange:de,onClick:Qe,onClear:$e,invalid:We,onInvalid:Ge,onActiveInfo:lt}))))}var ak=C.forwardRef(ik);function ok(e){var t=e.prefixCls,n=e.value,r=e.onRemove,i=e.removeIcon,a=i===void 0?`×`:i,o=e.formatDate,s=e.disabled,c=e.maxTagCount,l=e.placeholder,u=`${t}-selector`,d=`${t}-selection`,f=`${d}-overflow`;function p(e,t){return C.createElement(`span`,{className:q(`${d}-item`),title:typeof e==`string`?e:null},C.createElement(`span`,{className:`${d}-item-content`},e),!s&&t&&C.createElement(`span`,{onMouseDown:function(e){e.preventDefault()},onClick:t,className:`${d}-item-remove`},a))}function m(e){return p(o(e),function(t){t&&t.stopPropagation(),r(e)})}function h(e){return p(`+ ${e.length} ...`)}return C.createElement(`div`,{className:u},C.createElement(fy,{prefixCls:f,data:n,renderItem:m,renderRest:h,itemKey:function(e){return o(e)},maxCount:c}),!n.length&&C.createElement(`span`,{className:`${t}-selection-placeholder`},l))}function sk(e){"@babel/helpers - typeof";return sk=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},sk(e)}var ck=`id.open.prefix.clearIcon.suffixIcon.activeHelp.allHelp.focused.onFocus.onBlur.onKeyDown.locale.generateConfig.placeholder.className.style.onClick.onClear.internalPicker.value.onChange.onSubmit.onInputChange.multiple.maxTagCount.format.maskFormat.preserveInvalidOnBlur.onInvalid.disabled.invalid.inputReadOnly.direction.onOpenChange.onMouseDown.required.aria-required.autoFocus.tabIndex.removeIcon`.split(`.`);function lk(){return lk=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function gce(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}function _ce(e,t){e.id;var n=e.open,r=e.prefix,i=e.clearIcon,a=e.suffixIcon;e.activeHelp,e.allHelp;var o=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var s=e.locale,c=e.generateConfig,l=e.placeholder,u=e.className,d=e.style,f=e.onClick,p=e.onClear,m=e.internalPicker,h=e.value,g=e.onChange,_=e.onSubmit;e.onInputChange;var v=e.multiple,y=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var b=e.disabled,x=e.invalid;e.inputReadOnly;var S=e.direction;e.onOpenChange;var w=e.onMouseDown;e.required,e[`aria-required`];var T=e.autoFocus,E=e.tabIndex,D=e.removeIcon,O=hce(e,ck),k=S===`rtl`,A=C.useContext(nC),j=A.prefixCls,M=A.classNames,N=A.styles,P=C.useRef(),F=C.useRef();C.useImperativeHandle(t,function(){return{nativeElement:P.current,focus:function(e){var t;(t=F.current)==null||t.focus(e)},blur:function(){var e;(e=F.current)==null||e.blur()}}});var I=ND(O),L=function(e){g([e])},R=function(e){g(h.filter(function(t){return t&&!GC(c,s,t,e,m)})),n||_()},z=hk(jD(dk(dk({},e),{},{onChange:L}),function(e){return{value:e.valueTexts[0]||``,active:o}}),2),B=z[0],V=z[1],H=!!(i&&h.length&&!b),U=v?C.createElement(C.Fragment,null,C.createElement(ok,{prefixCls:j,value:h,onRemove:R,formatDate:V,maxTagCount:y,disabled:b,removeIcon:D,placeholder:l}),C.createElement(`input`,{className:`${j}-multiple-input`,value:h.map(V).join(`,`),ref:F,readOnly:!0,autoFocus:T,tabIndex:E}),C.createElement(zD,{type:`suffix`,icon:a}),H&&C.createElement(BD,{icon:i,onClear:p})):C.createElement(fO,lk({ref:F},B(),{autoFocus:T,tabIndex:E,suffixIcon:a,clearIcon:H&&C.createElement(BD,{icon:i,onClear:p}),showActiveCls:!1}));return C.createElement(`div`,lk({},I,{className:q(j,fk(fk(fk(fk(fk({},`${j}-multiple`,v),`${j}-focused`,o),`${j}-disabled`,b),`${j}-invalid`,x),`${j}-rtl`,k),u),style:d,ref:P,onClick:f,onMouseDown:function(e){e.target!==F.current?.inputElement&&e.preventDefault(),w?.(e)}}),r&&C.createElement(`div`,{className:q(`${j}-prefix`,M.prefix),style:N.prefix},r),U)}var vce=C.forwardRef(_ce);function _k(e){"@babel/helpers - typeof";return _k=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},_k(e)}function vk(){return vk=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);ne??{...t,__INTERNAL__:{itemRef:e=>t=>{let r=Ok(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:(e,t={})=>{let{focus:n,...i}=t,a=kk(e,r);a&&(gf(a,{scrollMode:`if-needed`,block:`nearest`,...i}),n&&r.focusField(e))},focusField:e=>{let t=r.getFieldInstance(e);typeof t?.focus==`function`?t.focus():kk(e,r)?.focus?.()},getFieldInstance:e=>{let t=Ok(e);return n.current[t]}},[e,t]);return[r]}var jk=C.createContext(void 0),Mce=jk.Provider,Mk=C.createContext(void 0),Nce=Mk.Provider;function Nk(){return Nk=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n=`rc-checkbox`,className:r,style:i,checked:a,disabled:o,defaultChecked:s=!1,type:c=`checkbox`,title:l,onChange:u,...d}=e,f=(0,C.useRef)(null),p=(0,C.useRef)(null),[m,h]=Wn(s,a);(0,C.useImperativeHandle)(t,()=>({focus:e=>{f.current?.focus(e)},blur:()=>{f.current?.blur()},input:f.current,nativeElement:p.current}));let g=q(n,r,{[`${n}-checked`]:m,[`${n}-disabled`]:o});return C.createElement(`span`,{className:g,title:l,style:i,ref:p},C.createElement(`input`,Nk({},d,{className:`${n}-input`,ref:f,onChange:t=>{o||(`checked`in e||h(t.target.checked),u?.({target:{...e,type:c,checked:t.target.checked},stopPropagation(){t.stopPropagation()},preventDefault(){t.preventDefault()},nativeEvent:t.nativeEvent}))},disabled:o,checked:!!m,type:c})))});function Fk(e){let t=C.useRef(null),n=()=>{ii.cancel(t.current),t.current=null};return[()=>{n(),t.current=ii(()=>{t.current=null})},r=>{t.current&&(r.stopPropagation(),n()),e?.(r)}]}var Pce=e=>{let{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:{...Yc(e),display:`inline-block`,fontSize:0,[`&${r}-rtl`]:{direction:`rtl`},[`&${r}-block`]:{display:`flex`},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:`none`},"&-vertical":{display:`flex`,flexDirection:`column`,rowGap:e.marginXS,[`${t}-wrapper`]:{marginInlineEnd:0}}}}},Fce=e=>{let{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,colorPrimaryHover:i,radioSize:a,motionDurationSlow:o,motionDurationMid:s,motionEaseInOutCirc:c,colorBgContainer:l,colorBorder:u,lineWidth:d,colorBgContainerDisabled:f,colorTextDisabled:p,paddingXS:m,dotColorDisabled:h,dotSize:g,lineType:_,radioColor:v,radioBgColor:y}=e;return{[`${t}-wrapper`]:{...Yc(e),display:`inline-flex`,alignItems:`baseline`,marginInlineStart:0,marginInlineEnd:n,cursor:`pointer`,"&:last-child":{marginInlineEnd:0},[`&${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`},[t]:{...Yc(e),position:`relative`,whiteSpace:`nowrap`,lineHeight:1,cursor:`pointer`,alignSelf:`center`,boxSizing:`border-box`,display:`block`,width:`calc(${a} * 1px)`,height:`calc(${a} * 1px)`,backgroundColor:l,border:`${J(d)} ${_} ${u}`,borderRadius:`50%`,transition:`all ${s}`,flex:`none`,"&:after":{content:`""`,position:`absolute`,top:`50%`,left:`50%`,transform:`translate(-50%, -50%) scale(0)`,width:`calc(${g} * 1px)`,height:`calc(${g} * 1px)`,backgroundColor:v,borderRadius:`50%`,transformOrigin:`50% 50%`,opacity:0,transition:`all ${o} ${c}`},[`${t}-input`]:{position:`absolute`,inset:0,zIndex:1,cursor:`pointer`,opacity:0,margin:0},[`&:has(${t}-input:focus-visible)`]:Qc(e)},[`&:hover:not(${t}-wrapper-disabled) ${t}`]:{borderColor:r},[`&:hover ${t}-checked:not(${t}-disabled)`]:{backgroundColor:i,borderColor:`transparent`},[`${t}-checked`]:{backgroundColor:y,borderColor:r,"&::after":{transform:`translate(-50%, -50%)`,opacity:1}},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:`not-allowed`,pointerEvents:`none`},background:f,borderColor:u,"&::after":{backgroundColor:h}},[`${t}-disabled + span`]:{color:p,cursor:`not-allowed`},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}}}},Ice=e=>{let{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:i,lineType:a,colorBorder:o,motionDurationMid:s,buttonPaddingInline:c,fontSize:l,buttonBg:u,fontSizeLG:d,controlHeightLG:f,controlHeightSM:p,paddingXS:m,borderRadius:h,borderRadiusSM:g,borderRadiusLG:_,buttonCheckedBg:v,buttonSolidCheckedColor:y,colorTextDisabled:b,colorBgContainerDisabled:x,buttonCheckedBgDisabled:S,buttonCheckedColorDisabled:C,colorPrimary:w,colorPrimaryHover:T,colorPrimaryActive:E,buttonSolidCheckedBg:D,buttonSolidCheckedHoverBg:O,buttonSolidCheckedActiveBg:k,calc:A}=e;return{[`${r}-button-wrapper`]:{position:`relative`,display:`inline-block`,height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:l,lineHeight:J(A(n).sub(A(i).mul(2)).equal()),background:u,border:`${J(i)} ${a} ${o}`,borderBlockStartWidth:A(i).add(.02).equal(),borderInlineEndWidth:i,cursor:`pointer`,transition:[`color`,`background-color`,`box-shadow`].map(e=>`${e} ${s}`).join(`,`),a:{color:t},[`> ${r}-button`]:{position:`absolute`,insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:`100%`,height:`100%`},"&:not(:last-child)":{marginInlineEnd:A(i).mul(-1).equal()},"&:first-child":{borderInlineStart:`${J(i)} ${a} ${o}`,borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h},"&:first-child:last-child":{borderRadius:h},[`${r}-group-large &`]:{height:f,fontSize:d,lineHeight:J(A(f).sub(A(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:_,borderEndStartRadius:_},"&:last-child":{borderStartEndRadius:_,borderEndEndRadius:_}},[`${r}-group-small &`]:{height:p,paddingInline:A(m).sub(i).equal(),paddingBlock:0,lineHeight:J(A(p).sub(A(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g}},"&:hover":{position:`relative`,color:w},"&:has(:focus-visible)":Qc(e),[`${r}, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:`none`},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:w,background:v,borderColor:w,"&::before":{backgroundColor:w},"&:first-child":{borderColor:w},"&:hover":{color:T,borderColor:T,"&::before":{backgroundColor:T}},"&:active":{color:E,borderColor:E,"&::before":{backgroundColor:E}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:y,background:D,borderColor:D,"&:hover":{color:y,background:O,borderColor:O},"&:active":{color:y,background:k,borderColor:k}},"&-disabled":{color:b,backgroundColor:x,borderColor:o,cursor:`not-allowed`,"&:first-child, &:hover":{color:b,backgroundColor:x,borderColor:o}},[`&-disabled${r}-button-wrapper-checked`]:{color:C,backgroundColor:S,borderColor:o,boxShadow:`none`},"&-block":{flex:1,textAlign:`center`}}}},Ik=il(`Radio`,e=>{let{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${J(n)} ${t}`,i=_s(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[Pce(i),Fce(i),Ice(i)]},e=>{let{wireframe:t,padding:n,marginXS:r,lineWidth:i,fontSizeLG:a,colorText:o,colorBgContainer:s,colorTextDisabled:c,controlItemBgActiveDisabled:l,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:f,colorPrimaryActive:p,colorWhite:m}=e,h=a;return{radioSize:h,dotSize:t?h-8:h-(4+i)*2,dotColorDisabled:c,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:p,buttonBg:s,buttonCheckedBg:s,buttonColor:o,buttonCheckedBgDisabled:l,buttonCheckedColorDisabled:c,buttonPaddingInline:n-i,wrapperMarginInlineEnd:r,radioColor:t?d:m,radioBgColor:t?s:d}},{unitless:{radioSize:!0,dotSize:!0}}),Lk=C.forwardRef((e,t)=>{let n=C.useContext(jk),r=C.useContext(Mk),{getPrefixCls:i,direction:a,className:o,style:s,classNames:c,styles:l}=ui(`radio`),u=er(t,C.useRef(null)),{isFormItemInput:d}=C.useContext(B_),f=t=>{e.onChange?.(t),n?.onChange?.(t)},{prefixCls:p,className:m,rootClassName:h,children:g,style:_,title:v,classNames:y,styles:b,...x}=e,S=i(`radio`,p),w=(n?.optionType||r)===`button`,T=w?`${S}-button`:S,E=xf(S),[D,O]=Ik(S,E),k={...x},A=C.useContext(Bp),j=k.checked;n&&(k.name=n.name,k.onChange=f,j=e.value===n.value,k.disabled=k.disabled??n.disabled),k.disabled=k.disabled??A;let M={...e,...k,checked:j},[N,P]=Id([c,y],[l,b],{props:M}),F=q(`${T}-wrapper`,{[`${T}-wrapper-checked`]:j,[`${T}-wrapper-disabled`]:k.disabled,[`${T}-wrapper-rtl`]:a===`rtl`,[`${T}-wrapper-in-form-item`]:d,[`${T}-wrapper-block`]:!!n?.block},o,m,h,N.root,D,O,E),[I,L]=Fk(k.onClick);return C.createElement(Lm,{component:`Radio`,disabled:k.disabled},C.createElement(`label`,{className:F,style:{...P.root,...s,..._},onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:v,onClick:I},C.createElement(Pk,{...k,checked:j,className:q(N.icon,{[Pm]:!w}),style:P.icon,type:`radio`,prefixCls:T,ref:u,onClick:L}),g===void 0?null:C.createElement(`span`,{className:q(`${T}-label`,N.label),style:P.label},g)))}),Lce=C.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=C.useContext(si),{name:i}=C.useContext(B_),a=Bf(Ok(i)),{prefixCls:o,className:s,rootClassName:c,options:l,buttonStyle:u=`outline`,disabled:d,children:f,size:p,style:m,id:h,optionType:g,name:_=a,defaultValue:v,value:y,block:b=!1,onChange:x,onMouseEnter:S,onMouseLeave:w,onFocus:T,onBlur:E,orientation:D,vertical:O,role:k=`radiogroup`}=e,[A,j]=Wn(v,y),M=C.useCallback(t=>{let n=A,r=t.target.value;`value`in e||j(r),r!==n&&x?.(t)},[A,j,x]),N=n(`radio`,o),P=`${N}-group`,F=xf(N),[I,L]=Ik(N,F),R=f;l&&l.length>0&&(R=l.map(e=>typeof e==`string`||md(e)?C.createElement(Lk,{key:e.toString(),prefixCls:N,disabled:d,value:e,checked:A===e},e):C.createElement(Lk,{key:`radio-group-value-options-${e.value}`,prefixCls:N,disabled:e.disabled||d,value:e.value,checked:A===e.value,title:e.title,style:e.style,className:e.className,id:e.id,required:e.required},e.label)));let z=Rm(p),[,B]=zd(D,O),V=q(P,`${P}-${u}`,{[`${P}-large`]:z===`large`,[`${P}-small`]:z===`small`,[`${P}-rtl`]:r===`rtl`,[`${P}-block`]:b},s,c,I,L,F),H=C.useMemo(()=>({onChange:M,value:A,disabled:d,name:_,optionType:g,block:b}),[M,A,d,_,g,b]);return C.createElement(`div`,{...Hu(e,{aria:!0,data:!0}),role:k,className:q(V,{[`${N}-group-vertical`]:B}),style:m,onMouseEnter:S,onMouseLeave:w,onFocus:T,onBlur:E,id:h,ref:t},C.createElement(Mce,{value:H},R))}),Rce=C.memo(Lce),zce=C.forwardRef((e,t)=>{let{getPrefixCls:n}=C.useContext(si),{prefixCls:r,...i}=e,a=n(`radio`,r);return C.createElement(Nce,{value:`button`},C.createElement(Lk,{prefixCls:a,...i,type:`radio`,ref:t}))}),Rk=Lk;Rk.Button=zce,Rk.Group=Rce,Rk.__ANT_RADIO=!0;function zk(e){return _s(e,{inputAffixPadding:e.paddingXXS})}var Bk=e=>{let{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightSM:a,controlHeightLG:o,fontSizeLG:s,lineHeightLG:c,paddingSM:l,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:f,colorPrimaryHover:p,colorPrimary:m,controlOutlineWidth:h,controlOutline:g,colorErrorOutline:_,colorWarningOutline:v,colorBgContainer:y,inputFontSize:b,inputFontSizeLG:x,inputFontSizeSM:S}=e,C=b||n,w=S||C,T=x||s,E=Math.round((t-C*r)/2*10)/10-i,D=Math.round((a-w*r)/2*10)/10-i,O=Math.ceil((o-T*c)/2*10)/10-i;return{paddingBlock:Math.max(E,0),paddingBlockSM:Math.max(D,0),paddingBlockLG:Math.max(O,0),paddingInline:l-i,paddingInlineSM:u-i,paddingInlineLG:d-i,addonBg:f,activeBorderColor:m,hoverBorderColor:p,activeShadow:`0 0 0 ${h}px ${g}`,errorActiveShadow:`0 0 0 ${h}px ${_}`,warningActiveShadow:`0 0 0 ${h}px ${v}`,hoverBg:y,activeBg:y,inputFontSize:C,inputFontSizeLG:T,inputFontSizeSM:w}},Bce=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Vk=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorderDisabled,boxShadow:`none`,cursor:`not-allowed`,opacity:1,"input[disabled], textarea[disabled]":{cursor:`not-allowed`},"&:hover:not([disabled])":{...Bce(_s(e,{hoverBorderColor:e.colorBorderDisabled,hoverBg:e.colorBgContainerDisabled}))}}),Hk=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),Uk=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...Hk(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),Wk=(e,t)=>({"&-outlined":{...Hk(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{...Vk(e)},...Uk(e,{status:`error`,borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...Uk(e,{status:`warning`,borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...t}}),Gk=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),Vce=e=>({"&-outlined":{[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},...Gk(e,{status:`error`,addonBorderColor:e.colorError,addonColor:e.colorErrorText}),...Gk(e,{status:`warning`,addonBorderColor:e.colorWarning,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:{...Vk(e)}}}}),Kk=(e,t)=>{let{componentCls:n}=e;return{"&-borderless":{background:`transparent`,border:`none`,paddingBlock:e.calc(e.paddingBlock).add(e.lineWidth).equal(),[`&${n}-sm, &${n}-affix-wrapper-sm`]:{paddingBlock:e.calc(e.paddingBlockSM).add(e.lineWidth).equal()},[`&${n}-lg, &${n}-affix-wrapper-lg`]:{paddingBlock:e.calc(e.paddingBlockLG).add(e.lineWidth).equal()},"&:focus, &:focus-within":{outline:`none`},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:`not-allowed`},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}},...t}}},qk=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:`transparent`,"input&, & input, textarea&, & textarea":{color:t?.inputColor??`unset`},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),Jk=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...qk(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}}),Yk=(e,t)=>({"&-filled":{...qk(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,inputColor:e.colorText}),[`&${e.componentCls}-disabled, &[disabled]`]:{...Vk(e)},...Jk(e,{status:`error`,bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError}),...Jk(e,{status:`warning`,bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning}),...t}}),Xk=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),Hce=e=>({"&-filled":{[`${e.componentCls}-group-addon`]:{background:e.colorFillTertiary,"&:last-child":{position:`static`}},...Xk(e,{status:`error`,addonBg:e.colorErrorBg,addonColor:e.colorErrorText}),...Xk(e,{status:`warning`,addonBg:e.colorWarningBg,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}}}),Zk=(e,t)=>({background:e.colorBgContainer,borderWidth:`${J(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${t.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${t.hoverBorderColor} transparent`,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${t.activeBorderColor} transparent`,outline:0,backgroundColor:e.activeBg}}),Qk=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...Zk(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:`transparent transparent ${t.borderColor} transparent`}}),$k=(e,t)=>({"&-underlined":{...Zk(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled,boxShadow:`none`,cursor:`not-allowed`,"&:hover":{borderColor:`transparent transparent ${e.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:`not-allowed`},...Qk(e,{status:`error`,borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...Qk(e,{status:`warning`,borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...t}}),eA=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:`none`},"&:placeholder-shown":{textOverflow:`ellipsis`}}),tA=e=>{let{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:i}=e;return{padding:`${J(t)} ${J(i)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},nA=e=>({padding:`${J(e.paddingBlockSM)} ${J(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),rA=(e,t={})=>({position:`relative`,display:`inline-block`,width:`100%`,minWidth:0,padding:`${J(e.paddingBlock)} ${J(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`,...eA(e.colorTextPlaceholder),"&-lg":{...tA(e),...t.largeStyle},"&-sm":{...nA(e),...t.smallStyle},"&-rtl, &-textarea-rtl":{direction:`rtl`}}),Uce=e=>{let{componentCls:t,antCls:n}=e;return{position:`relative`,display:`table`,width:`100%`,borderCollapse:`separate`,borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:{...tA(e)},[`&-sm ${t}, &-sm > ${t}-group-addon`]:{...nA(e)},[`&-lg ${n}-select-single`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single`]:{height:e.controlHeightSM},[`> ${t}`]:{display:`table-cell`,"&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:`table-cell`,width:1,whiteSpace:`nowrap`,verticalAlign:`middle`,"&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:`block !important`},"&-addon":{position:`relative`,padding:`0 ${J(e.paddingInline)}`,color:e.colorText,fontWeight:`normal`,fontSize:e.inputFontSize,textAlign:`center`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${J(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${J(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{backgroundColor:`inherit`,border:`${J(e.lineWidth)} ${e.lineType} transparent`,boxShadow:`none`}},[`${n}-cascader-picker`]:{margin:`-9px ${J(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:`transparent`,[`${n}-cascader-input`]:{textAlign:`start`,border:0,boxShadow:`none`}}}},[t]:{width:`100%`,marginBottom:0,textAlign:`inherit`,"&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0},"&:not(:first-child)":{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:{display:`block`,...Zc(),[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:`inline-flex`,float:`none`,verticalAlign:`top`,borderRadius:0},[` & > ${t}-affix-wrapper, & > ${t}-number-affix-wrapper, & > ${n}-picker-range @@ -259,49 +259,49 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, & > ${n}-select:last-child, & > ${n}-cascader-picker:last-child ${t}, - & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:`top`},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{}}}}},Vce=e=>{let{componentCls:t,controlHeightSM:n,lineWidth:r,calc:i}=e,a=i(n).sub(i(r).mul(2)).sub(16).div(2).equal();return{[t]:{...Yc(e),...oA(e),...qk(e),...Qk(e),...Yk(e),...nA(e),'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:`none`}}}},Hce=e=>{let{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:`pointer`,transition:`color ${e.motionDurationSlow}`,border:`none`,outline:`none`,backgroundColor:`transparent`,"&:hover":{color:e.colorIcon},"&:focus-visible":{color:e.colorIcon,borderRadius:e.borderRadiusSM,...Qc(e)},"&:active":{color:e.colorText},"&-hidden":{visibility:`hidden`},"&-has-suffix":{margin:`0 ${J(e.inputAffixPadding)}`}}}},Uce=e=>{let{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:i,colorIcon:a,colorIconHover:o,iconCls:s}=e,c=`${t}-affix-wrapper`,l=`${t}-affix-wrapper-disabled`;return{[c]:{...oA(e),display:`inline-flex`,"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:`inherit`,border:`none`,borderRadius:0,outline:`none`,background:`transparent`,color:`inherit`,"&::-ms-reveal":{display:`none`},"&:focus":{boxShadow:`none !important`}},"&::before":{display:`inline-block`,width:0,visibility:`hidden`,content:`"\\a0"`},[t]:{"&-prefix, &-suffix":{display:`flex`,flex:`none`,alignItems:`center`,"> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r,direction:`ltr`},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}},...Hce(e),[`${s}${t}-password-icon`]:{color:a,cursor:`pointer`,transition:`all ${i}`,"&:hover":{color:o}}},[`${t}-underlined`]:{borderRadius:0},[l]:{[`${s}${t}-password-icon`]:{color:a,cursor:`not-allowed`,"&:hover":{color:a}}}}},Wce=e=>{let{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:{...Yc(e),...Bce(e),"&-rtl":{direction:`rtl`},"&-wrapper":{display:`inline-block`,width:`100%`,textAlign:`start`,verticalAlign:`top`,"&-rtl":{direction:`rtl`},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}},...Rce(e),...zce(e),[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}}},Gce=e=>{let{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},sA=il([`Input`,`Shared`],e=>{let t=_s(e,Hk(e));return[Vce(t),Uce(t)]},Uk,{resetFont:!1}),cA=il([`Input`,`Component`],e=>{let t=_s(e,Hk(e));return[Wce(t),Gce(t),Jh(t,{focus:!0,focusElCls:`${t.componentCls}-affix-wrapper-focused`})]},Uk,{resetFont:!1}),Kce=e=>{let{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:i}=e,a=e.max(e.calc(n).sub(r).equal(),0);return{basePadding:a,containerPadding:e.max(e.calc(a).sub(i).equal(),0),itemHeight:J(t),itemLineHeight:J(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},qce=e=>{let{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:i,paddingXS:a,multipleItemColorDisabled:o,multipleItemBorderColorDisabled:s,colorIcon:c,colorIconHover:l,INTERNAL_FIXED_ITEM_MARGIN:u}=e;return{[`${t}-selection-overflow`]:{position:`relative`,display:`flex`,flex:`auto`,flexWrap:`wrap`,maxWidth:`100%`,"&-item":{flex:`none`,alignSelf:`center`,maxWidth:`calc(100% - 4px)`,display:`inline-flex`},[`${t}-selection-item`]:{display:`flex`,alignSelf:`center`,flex:`none`,boxSizing:`border-box`,maxWidth:`100%`,marginBlock:u,borderRadius:r,cursor:`default`,transition:[`font-size`,`line-height`,`height`].map(e=>`${e} ${i}`).join(`, `),marginInlineEnd:e.calc(u).mul(2).equal(),paddingInlineStart:a,paddingInlineEnd:e.calc(a).div(2).equal(),[`${t}-disabled&`]:{color:o,borderColor:s,cursor:`not-allowed`},"&-content":{display:`inline-block`,marginInlineEnd:e.calc(a).div(2).equal(),overflow:`hidden`,whiteSpace:`pre`,textOverflow:`ellipsis`},"&-remove":{...Xc(),display:`inline-flex`,alignItems:`center`,color:c,fontWeight:`bold`,fontSize:10,lineHeight:`inherit`,cursor:`pointer`,[`> ${n}`]:{verticalAlign:`-0.2em`},"&:hover":{color:l}}}}}},lA=(e,t)=>{let{componentCls:n,controlHeight:r}=e,i=t?`${n}-${t}`:``,a=Kce(e);return[{[`${n}-multiple${i}`]:{paddingBlock:a.containerPadding,paddingInlineStart:a.basePadding,minHeight:r,[`${n}-selection-item`]:{height:a.itemHeight,lineHeight:J(a.itemLineHeight)}}}]},Jce=e=>{let{componentCls:t,calc:n,lineWidth:r}=e,i=_s(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),a=_s(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[lA(i,`small`),lA(e),lA(a,`large`),{[`${t}${t}-multiple`]:{width:`100%`,cursor:`text`,[`${t}-selector`]:{flex:`auto`,padding:0,position:`relative`,"&:after":{margin:0},[`${t}-selection-placeholder`]:{position:`absolute`,top:`50%`,insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:`translateY(-50%)`,transition:`all ${e.motionDurationSlow}`,overflow:`hidden`,whiteSpace:`nowrap`,textOverflow:`ellipsis`,flex:1,color:e.colorTextPlaceholder,pointerEvents:`none`}},...qce(e),[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:`hidden`,position:`absolute`,zIndex:-1}}}]},Yce=e=>{let{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:i,motionDurationMid:a,cellHoverBg:o,lineWidth:s,lineType:c,colorPrimary:l,cellActiveWithRangeBg:u,colorTextLightSolid:d,colorTextDisabled:f,cellBgDisabled:p,colorFillSecondary:m}=e;return{"&::before":{position:`absolute`,top:`50%`,insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:`translateY(-50%)`,content:`""`,pointerEvents:`none`},[n]:{position:`relative`,zIndex:2,display:`inline-block`,minWidth:r,height:r,lineHeight:J(r),borderRadius:i,transition:`background-color ${a}`},[`&:hover:not(${t}-in-view):not(${t}-disabled), + & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:`top`},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{}}}}},Wce=e=>{let{componentCls:t,controlHeightSM:n,lineWidth:r,calc:i}=e,a=i(n).sub(i(r).mul(2)).sub(16).div(2).equal();return{[t]:{...Yc(e),...rA(e),...Wk(e),...Yk(e),...Kk(e),...$k(e),'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:`none`}}}},Gce=e=>{let{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:`pointer`,transition:`color ${e.motionDurationSlow}`,border:`none`,outline:`none`,backgroundColor:`transparent`,"&:hover":{color:e.colorIcon},"&:focus-visible":{color:e.colorIcon,borderRadius:e.borderRadiusSM,...Qc(e)},"&:active":{color:e.colorText},"&-hidden":{visibility:`hidden`},"&-has-suffix":{margin:`0 ${J(e.inputAffixPadding)}`}}}},Kce=e=>{let{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:i,colorIcon:a,colorIconHover:o,iconCls:s}=e,c=`${t}-affix-wrapper`,l=`${t}-affix-wrapper-disabled`;return{[c]:{...rA(e),display:`inline-flex`,"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:`inherit`,border:`none`,borderRadius:0,outline:`none`,background:`transparent`,color:`inherit`,"&::-ms-reveal":{display:`none`},"&:focus":{boxShadow:`none !important`}},"&::before":{display:`inline-block`,width:0,visibility:`hidden`,content:`"\\a0"`},[t]:{"&-prefix, &-suffix":{display:`flex`,flex:`none`,alignItems:`center`,"> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r,direction:`ltr`},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}},...Gce(e),[`${s}${t}-password-icon`]:{color:a,cursor:`pointer`,transition:`all ${i}`,"&:hover":{color:o}}},[`${t}-underlined`]:{borderRadius:0},[l]:{[`${s}${t}-password-icon`]:{color:a,cursor:`not-allowed`,"&:hover":{color:a}}}}},qce=e=>{let{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:{...Yc(e),...Uce(e),"&-rtl":{direction:`rtl`},"&-wrapper":{display:`inline-block`,width:`100%`,textAlign:`start`,verticalAlign:`top`,"&-rtl":{direction:`rtl`},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}},...Vce(e),...Hce(e),[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}}},Jce=e=>{let{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},iA=il([`Input`,`Shared`],e=>{let t=_s(e,zk(e));return[Wce(t),Kce(t)]},Bk,{resetFont:!1}),aA=il([`Input`,`Component`],e=>{let t=_s(e,zk(e));return[qce(t),Jce(t),eg(t,{focus:!0,focusElCls:`${t.componentCls}-affix-wrapper-focused`})]},Bk,{resetFont:!1}),Yce=e=>{let{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:i}=e,a=e.max(e.calc(n).sub(r).equal(),0);return{basePadding:a,containerPadding:e.max(e.calc(a).sub(i).equal(),0),itemHeight:J(t),itemLineHeight:J(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},Xce=e=>{let{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:i,paddingXS:a,multipleItemColorDisabled:o,multipleItemBorderColorDisabled:s,colorIcon:c,colorIconHover:l,INTERNAL_FIXED_ITEM_MARGIN:u}=e;return{[`${t}-selection-overflow`]:{position:`relative`,display:`flex`,flex:`auto`,flexWrap:`wrap`,maxWidth:`100%`,"&-item":{flex:`none`,alignSelf:`center`,maxWidth:`calc(100% - 4px)`,display:`inline-flex`},[`${t}-selection-item`]:{display:`flex`,alignSelf:`center`,flex:`none`,boxSizing:`border-box`,maxWidth:`100%`,marginBlock:u,borderRadius:r,cursor:`default`,transition:[`font-size`,`line-height`,`height`].map(e=>`${e} ${i}`).join(`, `),marginInlineEnd:e.calc(u).mul(2).equal(),paddingInlineStart:a,paddingInlineEnd:e.calc(a).div(2).equal(),[`${t}-disabled&`]:{color:o,borderColor:s,cursor:`not-allowed`},"&-content":{display:`inline-block`,marginInlineEnd:e.calc(a).div(2).equal(),overflow:`hidden`,whiteSpace:`pre`,textOverflow:`ellipsis`},"&-remove":{...Xc(),display:`inline-flex`,alignItems:`center`,color:c,fontWeight:`bold`,fontSize:10,lineHeight:`inherit`,cursor:`pointer`,[`> ${n}`]:{verticalAlign:`-0.2em`},"&:hover":{color:l}}}}}},oA=(e,t)=>{let{componentCls:n,controlHeight:r}=e,i=t?`${n}-${t}`:``,a=Yce(e);return[{[`${n}-multiple${i}`]:{paddingBlock:a.containerPadding,paddingInlineStart:a.basePadding,minHeight:r,[`${n}-selection-item`]:{height:a.itemHeight,lineHeight:J(a.itemLineHeight)}}}]},Zce=e=>{let{componentCls:t,calc:n,lineWidth:r}=e,i=_s(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),a=_s(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[oA(i,`small`),oA(e),oA(a,`large`),{[`${t}${t}-multiple`]:{width:`100%`,cursor:`text`,[`${t}-selector`]:{flex:`auto`,padding:0,position:`relative`,"&:after":{margin:0},[`${t}-selection-placeholder`]:{position:`absolute`,top:`50%`,insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:`translateY(-50%)`,transition:`all ${e.motionDurationSlow}`,overflow:`hidden`,whiteSpace:`nowrap`,textOverflow:`ellipsis`,flex:1,color:e.colorTextPlaceholder,pointerEvents:`none`}},...Xce(e),[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:`hidden`,position:`absolute`,zIndex:-1}}}]},Qce=e=>{let{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:i,motionDurationMid:a,cellHoverBg:o,lineWidth:s,lineType:c,colorPrimary:l,cellActiveWithRangeBg:u,colorTextLightSolid:d,colorTextDisabled:f,cellBgDisabled:p,colorFillSecondary:m}=e;return{"&::before":{position:`absolute`,top:`50%`,insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:`translateY(-50%)`,content:`""`,pointerEvents:`none`},[n]:{position:`relative`,zIndex:2,display:`inline-block`,minWidth:r,height:r,lineHeight:J(r),borderRadius:i,transition:`background-color ${a}`},[`&:hover:not(${t}-in-view):not(${t}-disabled), &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end):not(${t}-disabled)`]:{[n]:{background:o}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:`absolute`,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${J(s)} ${c} ${l}`,borderRadius:i,content:`""`}},[`&-in-view${t}-in-range, &-in-view${t}-range-start, &-in-view${t}-range-end`]:{position:`relative`,[`&:not(${t}-disabled):before`]:{background:u}},[`&-in-view${t}-selected, &-in-view${t}-range-start, - &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:d,background:l},[`&${t}-disabled ${n}`]:{background:m}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:`50%`},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:`50%`},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:i,borderEndStartRadius:i,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i},"&-disabled":{color:f,cursor:`not-allowed`,[n]:{background:`transparent`},"&::before":{background:p}},[`&-disabled${t}-today ${n}::before`]:{borderColor:f}}},Xce=e=>{let{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:i,pickerControlIconSize:a,cellWidth:o,paddingSM:s,paddingXS:c,paddingXXS:l,colorBgContainer:u,lineWidth:d,lineType:f,borderRadiusLG:p,colorPrimary:m,colorTextHeading:h,colorSplit:g,pickerControlIconBorderWidth:_,colorIcon:v,textHeight:y,motionDurationMid:b,colorIconHover:x,fontWeightStrong:S,cellHeight:C,pickerCellPaddingVertical:w,colorTextDisabled:T,colorText:E,fontSize:D,motionDurationSlow:O,withoutTimeCellHeight:k,pickerQuarterPanelContentHeight:A,borderRadiusSM:j,colorTextLightSolid:M,cellHoverBg:N,timeColumnHeight:P,timeColumnWidth:F,timeCellHeight:I,controlItemBgActive:L,marginXXS:R,pickerDatePanelPaddingHorizontal:z,pickerControlIconMargin:B}=e,V=e.calc(o).mul(7).add(e.calc(z).mul(2)).equal();return{[t]:{"&-panel":{display:`inline-flex`,flexDirection:`column`,textAlign:`center`,background:u,borderRadius:p,outline:`none`,"&-focused":{borderColor:m},"&-rtl":{[`${t}-prev-icon, + &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:d,background:l},[`&${t}-disabled ${n}`]:{background:m}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:`50%`},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:`50%`},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:i,borderEndStartRadius:i,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i},"&-disabled":{color:f,cursor:`not-allowed`,[n]:{background:`transparent`},"&::before":{background:p}},[`&-disabled${t}-today ${n}::before`]:{borderColor:f}}},$ce=e=>{let{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:i,pickerControlIconSize:a,cellWidth:o,paddingSM:s,paddingXS:c,paddingXXS:l,colorBgContainer:u,lineWidth:d,lineType:f,borderRadiusLG:p,colorPrimary:m,colorTextHeading:h,colorSplit:g,pickerControlIconBorderWidth:_,colorIcon:v,textHeight:y,motionDurationMid:b,colorIconHover:x,fontWeightStrong:S,cellHeight:C,pickerCellPaddingVertical:w,colorTextDisabled:T,colorText:E,fontSize:D,motionDurationSlow:O,withoutTimeCellHeight:k,pickerQuarterPanelContentHeight:A,borderRadiusSM:j,colorTextLightSolid:M,cellHoverBg:N,timeColumnHeight:P,timeColumnWidth:F,timeCellHeight:I,controlItemBgActive:L,marginXXS:R,pickerDatePanelPaddingHorizontal:z,pickerControlIconMargin:B}=e,V=e.calc(o).mul(7).add(e.calc(z).mul(2)).equal();return{[t]:{"&-panel":{display:`inline-flex`,flexDirection:`column`,textAlign:`center`,background:u,borderRadius:p,outline:`none`,"&-focused":{borderColor:m},"&-rtl":{[`${t}-prev-icon, ${t}-super-prev-icon`]:{transform:`rotate(45deg)`},[`${t}-next-icon, - ${t}-super-next-icon`]:{transform:`rotate(-135deg)`},[`${t}-time-panel`]:{[`${t}-content`]:{direction:`ltr`,"> *":{direction:`rtl`}}}}},"&-decade-panel, &-year-panel, &-quarter-panel, &-month-panel, &-week-panel, &-date-panel, &-time-panel":{display:`flex`,flexDirection:`column`,width:V},"&-header":{display:`flex`,padding:`0 ${J(c)}`,color:h,borderBottom:`${J(d)} ${f} ${g}`,"> *":{flex:`none`},button:{padding:0,color:v,lineHeight:J(y),background:`transparent`,border:0,cursor:`pointer`,transition:`color ${b}`,fontSize:`inherit`,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,"&:empty":{display:`none`}},"> button":{minWidth:`1.6em`,fontSize:D,"&:hover":{color:x},"&:disabled":{opacity:.25,pointerEvents:`none`}},"&-view":{flex:`auto`,fontWeight:S,lineHeight:J(y),"> button":{color:`inherit`,fontWeight:`inherit`,verticalAlign:`top`,"&:not(:first-child)":{marginInlineStart:c},"&:hover":{color:m}}}},"&-prev-icon, &-next-icon, &-super-prev-icon, &-super-next-icon":{position:`relative`,width:a,height:a,"&::before":{position:`absolute`,top:0,insetInlineStart:0,width:a,height:a,border:`0 solid currentcolor`,borderBlockStartWidth:_,borderInlineStartWidth:_,content:`""`}},"&-super-prev-icon, &-super-next-icon":{"&::after":{position:`absolute`,top:B,insetInlineStart:B,display:`inline-block`,width:a,height:a,border:`0 solid currentcolor`,borderBlockStartWidth:_,borderInlineStartWidth:_,content:`""`}},"&-prev-icon, &-super-prev-icon":{transform:`rotate(-45deg)`},"&-next-icon, &-super-next-icon":{transform:`rotate(135deg)`},"&-content":{width:`100%`,tableLayout:`fixed`,borderCollapse:`collapse`,"th, td":{position:`relative`,minWidth:C,fontWeight:`normal`},th:{height:e.calc(C).add(e.calc(w).mul(2)).equal(),color:E,verticalAlign:`middle`}},"&-cell":{padding:`${J(w)} 0`,color:T,cursor:`pointer`,"&-in-view":{color:E},...Yce(e)},"&-decade-panel, &-year-panel, &-quarter-panel, &-month-panel":{[`${t}-content`]:{height:e.calc(k).mul(4).equal()},[r]:{padding:`0 ${J(c)}`}},"&-quarter-panel":{[`${t}-content`]:{height:A}},"&-decade-panel":{[r]:{padding:`0 ${J(e.calc(c).div(2).equal())}`},[`${t}-cell::before`]:{display:`none`}},"&-year-panel, &-quarter-panel, &-month-panel":{[`${t}-body`]:{padding:`0 ${J(c)}`},[r]:{width:i}},"&-date-panel":{[`${t}-body`]:{padding:`${J(c)} ${J(z)}`},[`${t}-content th`]:{boxSizing:`border-box`,padding:0}},"&-week-panel-row":{td:{"&:before":{transition:`background-color ${b}`},"&:first-child:before":{borderStartStartRadius:j,borderEndStartRadius:j},"&:last-child:before":{borderStartEndRadius:j,borderEndEndRadius:j}},"&:hover td:before":{background:N},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${n}`]:{"&:before":{background:m},[`&${t}-cell-week`]:{color:new zs(M).setA(.5).toHexString()},[r]:{color:M}}},"&-range-hover td:before":{background:L}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${J(c)} ${J(s)}`},[`${t}-content th`]:{width:`auto`}},"&-datetime-panel":{display:`flex`,[`${t}-time-panel`]:{borderInlineStart:`${J(d)} ${f} ${g}`},[`${t}-date-panel, + ${t}-super-next-icon`]:{transform:`rotate(-135deg)`},[`${t}-time-panel`]:{[`${t}-content`]:{direction:`ltr`,"> *":{direction:`rtl`}}}}},"&-decade-panel, &-year-panel, &-quarter-panel, &-month-panel, &-week-panel, &-date-panel, &-time-panel":{display:`flex`,flexDirection:`column`,width:V},"&-header":{display:`flex`,padding:`0 ${J(c)}`,color:h,borderBottom:`${J(d)} ${f} ${g}`,"> *":{flex:`none`},button:{padding:0,color:v,lineHeight:J(y),background:`transparent`,border:0,cursor:`pointer`,transition:`color ${b}`,fontSize:`inherit`,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,"&:empty":{display:`none`}},"> button":{minWidth:`1.6em`,fontSize:D,"&:hover":{color:x},"&:disabled":{opacity:.25,pointerEvents:`none`}},"&-view":{flex:`auto`,fontWeight:S,lineHeight:J(y),"> button":{color:`inherit`,fontWeight:`inherit`,verticalAlign:`top`,"&:not(:first-child)":{marginInlineStart:c},"&:hover":{color:m}}}},"&-prev-icon, &-next-icon, &-super-prev-icon, &-super-next-icon":{position:`relative`,width:a,height:a,"&::before":{position:`absolute`,top:0,insetInlineStart:0,width:a,height:a,border:`0 solid currentcolor`,borderBlockStartWidth:_,borderInlineStartWidth:_,content:`""`}},"&-super-prev-icon, &-super-next-icon":{"&::after":{position:`absolute`,top:B,insetInlineStart:B,display:`inline-block`,width:a,height:a,border:`0 solid currentcolor`,borderBlockStartWidth:_,borderInlineStartWidth:_,content:`""`}},"&-prev-icon, &-super-prev-icon":{transform:`rotate(-45deg)`},"&-next-icon, &-super-next-icon":{transform:`rotate(135deg)`},"&-content":{width:`100%`,tableLayout:`fixed`,borderCollapse:`collapse`,"th, td":{position:`relative`,minWidth:C,fontWeight:`normal`},th:{height:e.calc(C).add(e.calc(w).mul(2)).equal(),color:E,verticalAlign:`middle`}},"&-cell":{padding:`${J(w)} 0`,color:T,cursor:`pointer`,"&-in-view":{color:E},...Qce(e)},"&-decade-panel, &-year-panel, &-quarter-panel, &-month-panel":{[`${t}-content`]:{height:e.calc(k).mul(4).equal()},[r]:{padding:`0 ${J(c)}`}},"&-quarter-panel":{[`${t}-content`]:{height:A}},"&-decade-panel":{[r]:{padding:`0 ${J(e.calc(c).div(2).equal())}`},[`${t}-cell::before`]:{display:`none`}},"&-year-panel, &-quarter-panel, &-month-panel":{[`${t}-body`]:{padding:`0 ${J(c)}`},[r]:{width:i}},"&-date-panel":{[`${t}-body`]:{padding:`${J(c)} ${J(z)}`},[`${t}-content th`]:{boxSizing:`border-box`,padding:0}},"&-week-panel-row":{td:{"&:before":{transition:`background-color ${b}`},"&:first-child:before":{borderStartStartRadius:j,borderEndStartRadius:j},"&:last-child:before":{borderStartEndRadius:j,borderEndEndRadius:j}},"&:hover td:before":{background:N},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${n}`]:{"&:before":{background:m},[`&${t}-cell-week`]:{color:new zs(M).setA(.5).toHexString()},[r]:{color:M}}},"&-range-hover td:before":{background:L}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${J(c)} ${J(s)}`},[`${t}-content th`]:{width:`auto`}},"&-datetime-panel":{display:`flex`,[`${t}-time-panel`]:{borderInlineStart:`${J(d)} ${f} ${g}`},[`${t}-date-panel, ${t}-time-panel`]:{transition:`opacity ${O}`},"&-active":{[`${t}-date-panel, - ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:`auto`,minWidth:`auto`,[`${t}-content`]:{display:`flex`,flex:`auto`,height:P},"&-column":{flex:`1 0 auto`,width:F,margin:`${J(l)} 0`,padding:0,overflowY:`auto`,textAlign:`start`,listStyle:`none`,transition:`background-color ${b}`,overflowX:`hidden`,"&::-webkit-scrollbar":{width:8,backgroundColor:`transparent`},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:`thin`,scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:`block`,height:`calc(100% - ${J(I)})`,content:`""`},"&:not(:first-child)":{borderInlineStart:`${J(d)} ${f} ${g}`},"&-active":{background:new zs(L).setA(.2).toHexString()},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:R,[`${t}-time-panel-cell-inner`]:{display:`block`,width:e.calc(F).sub(e.calc(R).mul(2)).equal(),height:I,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(F).sub(I).div(2).equal(),color:E,lineHeight:J(I),borderRadius:j,cursor:`pointer`,transition:`background-color ${b}`,"&:hover":{background:N}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:L}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:T,background:`transparent`,cursor:`not-allowed`}}}}}}}}},Zce=e=>{let{componentCls:t,textHeight:n,lineWidth:r,paddingSM:i,antCls:a,colorPrimary:o,cellActiveWithRangeBg:s,colorPrimaryBorder:c,lineType:l,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${J(r)} ${l} ${u}`,"&-extra":{padding:`0 ${J(i)}`,lineHeight:J(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:`start`,"&:not(:last-child)":{borderBottom:`${J(r)} ${l} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:`space-between`},[`${t}-ranges`]:{marginBlock:0,paddingInline:J(i),overflow:`hidden`,textAlign:`start`,listStyle:`none`,display:`flex`,justifyContent:`center`,alignItems:`center`,"> li":{lineHeight:J(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:`inline-block`},[`${t}-now-btn-disabled`]:{pointerEvents:`none`,color:e.colorTextDisabled},[`${t}-preset > ${a}-tag-blue`]:{color:o,background:s,borderColor:c,cursor:`pointer`},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:`auto`}}}}},Qce=e=>{let{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:i}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(i).add(e.calc(r).div(2)).equal()}},$ce=e=>{let{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:i,paddingXXS:a,lineWidth:o}=e,s=a*2,c=o*2,l=Math.min(n-s,n-c),u=Math.min(r-s,r-c),d=Math.min(i-s,i-c);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(a/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new zs(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new zs(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:i*1.4,timeColumnHeight:224,timeCellHeight:28,cellWidth:r*1.5,cellHeight:r,textHeight:i,withoutTimeCellHeight:i*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:`transparent`,multipleItemHeight:l,multipleItemHeightSM:u,multipleItemHeightLG:d,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:`transparent`}},ele=e=>({...Uk(e),...$ce(e),...Ub(e),presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),tle=e=>{let{componentCls:t}=e;return{[t]:[{...qk(e),...nA(e),...Qk(e),...Yk(e)},{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${J(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${J(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-underlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${J(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},uA=(e,t)=>({padding:`${J(e)} ${J(t)}`}),nle=e=>{let{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},rle=e=>{let{componentCls:t,antCls:n,paddingInline:r,lineWidth:i,lineType:a,colorBorder:o,borderRadius:s,motionDurationMid:c,colorTextDisabled:l,colorTextPlaceholder:u,colorTextQuaternary:d,fontSizeLG:f,inputFontSizeLG:p,fontSizeSM:m,inputFontSizeSM:h,controlHeightSM:g,paddingInlineSM:_,paddingXS:v,marginXS:y,colorIcon:b,lineWidthBold:x,colorPrimary:S,motionDurationSlow:C,zIndexPopup:w,paddingXXS:T,sizePopupArrow:E,colorBgElevated:D,borderRadiusLG:O,boxShadowSecondary:k,borderRadiusSM:A,colorSplit:j,cellHoverBg:M,presetsWidth:N,presetsMaxWidth:P,boxShadowPopoverArrow:F,fontHeight:I,lineHeightLG:L}=e;return[{[t]:{...Yc(e),...uA(e.paddingBlock,e.paddingInline),position:`relative`,display:`inline-flex`,alignItems:`center`,lineHeight:1,borderRadius:s,transition:[`border`,`box-shadow`,`background-color`].map(e=>`${e} ${c}`).join(`, `),[`${t}-prefix`]:{flex:`0 0 auto`,marginInlineEnd:e.inputAffixPadding},[`${t}-input`]:{position:`relative`,display:`inline-flex`,alignItems:`center`,width:`100%`,"> input":{position:`relative`,display:`inline-block`,width:`100%`,color:`inherit`,fontSize:e.inputFontSize??e.fontSize,lineHeight:e.lineHeight,transition:`all ${c}`,...rA(u),flex:`auto`,minWidth:1,height:`auto`,padding:0,background:`transparent`,border:0,fontFamily:`inherit`,"&:focus":{boxShadow:`none`,outline:0},"&[disabled]":{background:`transparent`,color:l,cursor:`not-allowed`}},"&-placeholder":{"> input":{color:u}}},"&-large":{...uA(e.paddingBlockLG,e.paddingInlineLG),borderRadius:e.borderRadiusLG,[`${t}-input > input`]:{fontSize:p??f,lineHeight:L}},"&-small":{...uA(e.paddingBlockSM,e.paddingInlineSM),borderRadius:e.borderRadiusSM,[`${t}-input > input`]:{fontSize:h??m}},[`${t}-suffix`]:{display:`flex`,flex:`none`,alignSelf:`center`,marginInlineStart:e.calc(v).div(2).equal(),color:d,lineHeight:1,pointerEvents:`none`,transition:[`opacity`,`color`].map(e=>`${e} ${c}`).join(`, `),"> *":{verticalAlign:`top`,"&:not(:last-child)":{marginInlineEnd:y}}},[`${t}-clear`]:{position:`absolute`,top:`50%`,insetInlineEnd:0,color:d,lineHeight:1,transform:`translateY(-50%)`,cursor:`pointer`,opacity:0,transition:[`opacity`,`color`].map(e=>`${e} ${c}`).join(`, `),"> *":{verticalAlign:`top`},"&:hover":{color:b}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:`relative`,display:`inline-block`,width:`1em`,height:f,color:d,fontSize:f,verticalAlign:`top`,cursor:`default`,[`${t}-focused &`]:{color:b},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:`not-allowed`}}},"&-range":{position:`relative`,display:`inline-flex`,[`${t}-active-bar`]:{bottom:e.calc(i).mul(-1).equal(),height:x,background:S,opacity:0,transition:`all ${C} ease-out`,pointerEvents:`none`},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:`center`,padding:`0 ${J(v)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:r},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:_}}},"&-dropdown":{...Yc(e),...Xce(e),pointerEvents:`none`,position:`absolute`,top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:w,[`&${t}-dropdown-hidden`]:{display:`none`},"&-rtl":{direction:`rtl`},[`&${t}-dropdown-placement-bottomLeft, + ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:`auto`,minWidth:`auto`,[`${t}-content`]:{display:`flex`,flex:`auto`,height:P},"&-column":{flex:`1 0 auto`,width:F,margin:`${J(l)} 0`,padding:0,overflowY:`auto`,textAlign:`start`,listStyle:`none`,transition:`background-color ${b}`,overflowX:`hidden`,"&::-webkit-scrollbar":{width:8,backgroundColor:`transparent`},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:`thin`,scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:`block`,height:`calc(100% - ${J(I)})`,content:`""`},"&:not(:first-child)":{borderInlineStart:`${J(d)} ${f} ${g}`},"&-active":{background:new zs(L).setA(.2).toHexString()},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:R,[`${t}-time-panel-cell-inner`]:{display:`block`,width:e.calc(F).sub(e.calc(R).mul(2)).equal(),height:I,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(F).sub(I).div(2).equal(),color:E,lineHeight:J(I),borderRadius:j,cursor:`pointer`,transition:`background-color ${b}`,"&:hover":{background:N}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:L}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:T,background:`transparent`,cursor:`not-allowed`}}}}}}}}},ele=e=>{let{componentCls:t,textHeight:n,lineWidth:r,paddingSM:i,antCls:a,colorPrimary:o,cellActiveWithRangeBg:s,colorPrimaryBorder:c,lineType:l,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${J(r)} ${l} ${u}`,"&-extra":{padding:`0 ${J(i)}`,lineHeight:J(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:`start`,"&:not(:last-child)":{borderBottom:`${J(r)} ${l} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:`space-between`},[`${t}-ranges`]:{marginBlock:0,paddingInline:J(i),overflow:`hidden`,textAlign:`start`,listStyle:`none`,display:`flex`,justifyContent:`center`,alignItems:`center`,"> li":{lineHeight:J(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:`inline-block`},[`${t}-now-btn-disabled`]:{pointerEvents:`none`,color:e.colorTextDisabled},[`${t}-preset > ${a}-tag-blue`]:{color:o,background:s,borderColor:c,cursor:`pointer`},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:`auto`}}}}},tle=e=>{let{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:i}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(i).add(e.calc(r).div(2)).equal()}},nle=e=>{let{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:i,paddingXXS:a,lineWidth:o}=e,s=a*2,c=o*2,l=Math.min(n-s,n-c),u=Math.min(r-s,r-c),d=Math.min(i-s,i-c);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(a/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new zs(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new zs(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:i*1.4,timeColumnHeight:224,timeCellHeight:28,cellWidth:r*1.5,cellHeight:r,textHeight:i,withoutTimeCellHeight:i*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:`transparent`,multipleItemHeight:l,multipleItemHeightSM:u,multipleItemHeightLG:d,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:`transparent`}},rle=e=>({...Bk(e),...nle(e),...Gb(e),presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),ile=e=>{let{componentCls:t}=e;return{[t]:[{...Wk(e),...$k(e),...Yk(e),...Kk(e)},{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${J(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${J(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-underlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${J(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},sA=(e,t)=>({padding:`${J(e)} ${J(t)}`}),ale=e=>{let{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},ole=e=>{let{componentCls:t,antCls:n,paddingInline:r,lineWidth:i,lineType:a,colorBorder:o,borderRadius:s,motionDurationMid:c,colorTextDisabled:l,colorTextPlaceholder:u,colorTextQuaternary:d,fontSizeLG:f,inputFontSizeLG:p,fontSizeSM:m,inputFontSizeSM:h,controlHeightSM:g,paddingInlineSM:_,paddingXS:v,marginXS:y,colorIcon:b,lineWidthBold:x,colorPrimary:S,motionDurationSlow:C,zIndexPopup:w,paddingXXS:T,sizePopupArrow:E,colorBgElevated:D,borderRadiusLG:O,boxShadowSecondary:k,borderRadiusSM:A,colorSplit:j,cellHoverBg:M,presetsWidth:N,presetsMaxWidth:P,boxShadowPopoverArrow:F,fontHeight:I,lineHeightLG:L}=e;return[{[t]:{...Yc(e),...sA(e.paddingBlock,e.paddingInline),position:`relative`,display:`inline-flex`,alignItems:`center`,lineHeight:1,borderRadius:s,transition:[`border`,`box-shadow`,`background-color`].map(e=>`${e} ${c}`).join(`, `),[`${t}-prefix`]:{flex:`0 0 auto`,marginInlineEnd:e.inputAffixPadding},[`${t}-input`]:{position:`relative`,display:`inline-flex`,alignItems:`center`,width:`100%`,"> input":{position:`relative`,display:`inline-block`,width:`100%`,color:`inherit`,fontSize:e.inputFontSize??e.fontSize,lineHeight:e.lineHeight,transition:`all ${c}`,...eA(u),flex:`auto`,minWidth:1,height:`auto`,padding:0,background:`transparent`,border:0,fontFamily:`inherit`,"&:focus":{boxShadow:`none`,outline:0},"&[disabled]":{background:`transparent`,color:l,cursor:`not-allowed`}},"&-placeholder":{"> input":{color:u}}},"&-large":{...sA(e.paddingBlockLG,e.paddingInlineLG),borderRadius:e.borderRadiusLG,[`${t}-input > input`]:{fontSize:p??f,lineHeight:L}},"&-small":{...sA(e.paddingBlockSM,e.paddingInlineSM),borderRadius:e.borderRadiusSM,[`${t}-input > input`]:{fontSize:h??m}},[`${t}-suffix`]:{display:`flex`,flex:`none`,alignSelf:`center`,marginInlineStart:e.calc(v).div(2).equal(),color:d,lineHeight:1,pointerEvents:`none`,transition:[`opacity`,`color`].map(e=>`${e} ${c}`).join(`, `),"> *":{verticalAlign:`top`,"&:not(:last-child)":{marginInlineEnd:y}}},[`${t}-clear`]:{position:`absolute`,top:`50%`,insetInlineEnd:0,color:d,lineHeight:1,transform:`translateY(-50%)`,cursor:`pointer`,opacity:0,transition:[`opacity`,`color`].map(e=>`${e} ${c}`).join(`, `),"> *":{verticalAlign:`top`},"&:hover":{color:b}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:`relative`,display:`inline-block`,width:`1em`,height:f,color:d,fontSize:f,verticalAlign:`top`,cursor:`default`,[`${t}-focused &`]:{color:b},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:`not-allowed`}}},"&-range":{position:`relative`,display:`inline-flex`,[`${t}-active-bar`]:{bottom:e.calc(i).mul(-1).equal(),height:x,background:S,opacity:0,transition:`all ${C} ease-out`,pointerEvents:`none`},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:`center`,padding:`0 ${J(v)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:r},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:_}}},"&-dropdown":{...Yc(e),...$ce(e),pointerEvents:`none`,position:`absolute`,top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:w,[`&${t}-dropdown-hidden`]:{display:`none`},"&-rtl":{direction:`rtl`},[`&${t}-dropdown-placement-bottomLeft, &${t}-dropdown-placement-bottomRight`]:{[`${t}-range-arrow`]:{top:0,display:`block`,transform:`translateY(-100%)`}},[`&${t}-dropdown-placement-topLeft, &${t}-dropdown-placement-topRight`]:{[`${t}-range-arrow`]:{bottom:0,display:`block`,transform:`translateY(100%) rotate(180deg)`}},[`&${n}-slide-up-appear, &${n}-slide-up-enter`]:{[`${t}-range-arrow${t}-range-arrow`]:{transition:`none`}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight, &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:ah},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:lh},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight, &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:rh},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:`none`},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:oh},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:ih},[`${t}-panel > ${t}-time-panel`]:{paddingTop:T},[`${t}-range-wrapper`]:{display:`flex`,position:`relative`},[`${t}-range-arrow`]:{position:`absolute`,zIndex:1,display:`none`,paddingInline:e.calc(r).mul(1.5).equal(),boxSizing:`content-box`,transition:`all ${C} ease-out`,...Wb(e,D,F),"&:before":{insetInlineStart:e.calc(r).mul(1.5).equal()}},[`${t}-panel-container`]:{overflow:`hidden`,verticalAlign:`top`,background:D,borderRadius:O,boxShadow:k,transition:`margin ${C}`,display:`inline-block`,pointerEvents:`auto`,[`${t}-panel-layout`]:{display:`flex`,flexWrap:`nowrap`,alignItems:`stretch`},[`${t}-presets`]:{display:`flex`,flexDirection:`column`,minWidth:N,maxWidth:P,ul:{height:0,flex:`auto`,listStyle:`none`,overflow:`auto`,margin:0,padding:v,borderInlineEnd:`${J(i)} ${a} ${j}`,li:{...Jc,borderRadius:A,paddingInline:v,paddingBlock:e.calc(g).sub(I).div(2).equal(),cursor:`pointer`,transition:`all ${C}`,"+ li":{marginTop:y},"&:hover":{background:M}}}},[`${t}-panels`]:{display:`inline-flex`,flexWrap:`nowrap`,"&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:`top`,background:`transparent`,borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:`center`},"&-focused":{borderColor:o}}}},"&-dropdown-range":{padding:`${J(e.calc(E).mul(2).div(3).equal())} 0`,"&-hidden":{display:`none`}},"&-rtl":{direction:`rtl`,[`${t}-separator`]:{transform:`scale(-1, 1)`},[`${t}-footer`]:{"&-extra":{direction:`rtl`}}}}},sh(e,`slide-up`),sh(e,`slide-down`),nh(e,`move-up`),nh(e,`move-down`)]},dA=il(`DatePicker`,e=>{let t=_s(Hk(e),Qce(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Zce(t),rle(t),tle(t),nle(t),Jce(t),Jh(e,{focusElCls:`${e.componentCls}-focused`})]},ele),ile={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z`}},{tag:`path`,attrs:{d:`M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z`}}]},name:`plus`,theme:`outlined`};function fA(){return fA=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,fA({},e,{ref:t,icon:ile}))),ale=l(o(((e,t)=>{t.exports=a,t.exports.isMobile=a,t.exports.default=a;var n=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|redmi|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,r=/CrOS/,i=/android|ipad|playbook|silk/i;function a(e){e||={};let t=e.ua;if(!t&&typeof navigator<`u`&&(t=navigator.userAgent),t&&t.headers&&typeof t.headers[`user-agent`]==`string`&&(t=t.headers[`user-agent`]),typeof t!=`string`)return!1;let a=n.test(t)&&!r.test(t)||!!e.tablet&&i.test(t);return!a&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.indexOf(`Macintosh`)!==-1&&t.indexOf(`Safari`)!==-1&&(a=!0),a}}))()),mA,ole=()=>(mA===void 0&&(mA=(0,ale.default)()),mA),hA=(0,C.createContext)(null),sle=e=>{let{activeTabOffset:t,horizontal:n,rtl:r,indicator:i={}}=e,{size:a,align:o=`center`}=i,[s,c]=(0,C.useState)(),l=(0,C.useRef)(),u=C.useCallback(e=>typeof a==`function`?a(e):typeof a==`number`?a:e,[a]);function d(){ii.cancel(l.current)}return(0,C.useEffect)(()=>{let e={};if(t)if(n){e.width=u(t.width);let n=r?`right`:`left`;o===`start`&&(e[n]=t[n]),o===`center`&&(e[n]=t[n]+t.width/2,e.transform=r?`translateX(50%)`:`translateX(-50%)`),o===`end`&&(e[n]=t[n]+t.width,e.transform=`translateX(-100%)`)}else e.height=u(t.height),o===`start`&&(e.top=t.top),o===`center`&&(e.top=t.top+t.height/2,e.transform=`translateY(-50%)`),o===`end`&&(e.top=t.top+t.height,e.transform=`translateY(-100%)`);return d(),l.current=ii(()=>{s&&e&&Object.keys(e).every(t=>{let n=e[t],r=s[t];return typeof n==`number`&&typeof r==`number`?Math.round(n)===Math.round(r):n===r})||c(e)}),d},[JSON.stringify(t),n,r,o,u]),{style:s}},gA={width:0,height:0,left:0,top:0};function cle(e,t,n){return(0,C.useMemo)(()=>{let n=new Map,r=t.get(e[0]?.key)||gA,i=r.left+r.width;for(let r=0;re.key).join(`_`),t,n])}function _A(e,t){let n=C.useRef(e),[,r]=C.useState({});function i(e){let i=typeof e==`function`?e(n.current):e;i!==n.current&&t(i,n.current),n.current=i,r({})}return[n.current,i]}var lle=.1,vA=.01,yA=20,bA=.995**yA;function ule(e,t){let[n,r]=(0,C.useState)(),[i,a]=(0,C.useState)(0),[o,s]=(0,C.useState)(0),[c,l]=(0,C.useState)(),u=(0,C.useRef)();function d(e){let{screenX:t,screenY:n}=e.touches[0];r({x:t,y:n}),window.clearInterval(u.current)}function f(e){if(!n)return;let{screenX:o,screenY:c}=e.touches[0];r({x:o,y:c});let u=o-n.x,d=c-n.y;t(u,d);let f=Date.now();a(f),s(f-i),l({x:u,y:d})}function p(){if(n&&(r(null),l(null),c)){let e=c.x/o,n=c.y/o;if(Math.max(Math.abs(e),Math.abs(n)){if(Math.abs(r)o?(i=n,m.current=`x`):(i=r,m.current=`y`),t(-i,-i)&&e.preventDefault()}let g=(0,C.useRef)(null);g.current={onTouchStart:d,onTouchMove:f,onTouchEnd:p,onWheel:h},C.useEffect(()=>{function t(e){g.current.onTouchStart(e)}function n(e){g.current.onTouchMove(e)}function r(e){g.current.onTouchEnd(e)}function i(e){g.current.onWheel(e)}return document.addEventListener(`touchmove`,n,{passive:!1}),document.addEventListener(`touchend`,r,{passive:!0}),e.current.addEventListener(`touchstart`,t,{passive:!0}),e.current.addEventListener(`wheel`,i,{passive:!1}),()=>{document.removeEventListener(`touchmove`,n),document.removeEventListener(`touchend`,r)}},[])}function xA(e){let[t,n]=(0,C.useState)(0),r=(0,C.useRef)(0),i=(0,C.useRef)();return i.current=e,Hn(()=>{i.current?.()},[t]),()=>{r.current===t&&(r.current+=1,n(r.current))}}function dle(e){let t=(0,C.useRef)([]),[,n]=(0,C.useState)({}),r=(0,C.useRef)(typeof e==`function`?e():e),i=xA(()=>{let e=r.current;t.current.forEach(t=>{e=t(e)}),t.current=[],r.current=e,n({})});function a(e){t.current.push(e),i()}return[r.current,a]}var SA={width:0,height:0,left:0,top:0,right:0};function fle(e,t,n,r,i,a,{tabs:o,tabPosition:s,rtl:c}){let l,u,d;return[`top`,`bottom`].includes(s)?(l=`width`,u=c?`right`:`left`,d=Math.abs(n)):(l=`height`,u=`top`,d=-n),(0,C.useMemo)(()=>{if(!o.length)return[0,0];let n=o.length,r=n;for(let i=0;iMath.floor(d+t)){r=i-1;break}}let i=0;for(let t=n-1;t>=0;--t)if((e.get(o[t].key)||SA)[u]r?[0,-1]:[i,r]},[e,t,r,i,a,d,s,o.map(e=>e.key).join(`_`),c])}function CA(e){let t;return e instanceof Map?(t={},e.forEach((e,n)=>{t[n]=e})):t=e,JSON.stringify(t)}var ple=`TABS_DQ`;function wA(e){return String(e).replace(/"/g,ple)}function TA(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var EA=C.forwardRef((e,t)=>{let{prefixCls:n,editable:r,locale:i,style:a}=e;return!r||r.showAdd===!1?null:C.createElement(`button`,{ref:t,type:`button`,className:`${n}-nav-add`,style:a,"aria-label":i?.addAriaLabel||`Add tab`,onClick:e=>{r.onEdit(`add`,{event:e})}},r.addIcon||`+`)}),DA=C.forwardRef((e,t)=>{let{position:n,prefixCls:r,extra:i}=e;if(!i)return null;let a,o={};return typeof i==`object`&&!C.isValidElement(i)?o=i:o.right=i,n===`right`&&(a=o.right),n===`left`&&(a=o.left),a?C.createElement(`div`,{className:`${r}-extra-content`,ref:t},a):null});function OA(){return OA=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,id:r,tabs:i,locale:a,mobile:o,more:s={},style:c,className:l,editable:u,tabBarGutter:d,rtl:f,removeAriaLabel:p,onTabClick:m,getPopupContainer:h,popupClassName:g,popupStyle:_}=e,[v,y]=(0,C.useState)(!1),[b,x]=(0,C.useState)(null),{icon:S=`More`}=s,w=`${r}-more-popup`,T=`${n}-dropdown`,E=b===null?null:`${w}-${b}`,D=a?.dropdownAriaLabel;function O(e,t){e.preventDefault(),e.stopPropagation(),u.onEdit(`remove`,{key:t,event:e})}let k=C.createElement(vS,{onClick:({key:e,domEvent:t})=>{m(e,t),y(!1)},prefixCls:`${T}-menu`,id:w,tabIndex:-1,role:`listbox`,"aria-activedescendant":E,selectedKeys:[b],"aria-label":D===void 0?`expanded dropdown`:D},i.map(e=>{let{closable:t,disabled:n,closeIcon:i,key:a,label:o}=e,s=TA(t,i,u,n);return C.createElement(Yx,{key:a,id:`${w}-${a}`,role:`option`,"aria-controls":r&&`${r}-panel-${a}`,disabled:n},C.createElement(`span`,null,o),s&&C.createElement(`button`,{type:`button`,"aria-label":p||`remove`,tabIndex:0,className:`${T}-menu-item-remove`,onClick:e=>{e.stopPropagation(),O(e,a)}},i||u.removeIcon||`×`))}));function A(e){let t=i.filter(e=>!e.disabled),n=t.findIndex(e=>e.key===b)||0,r=t.length;for(let i=0;i{let e=document.getElementById(E);e?.scrollIntoView&&e.scrollIntoView(!1)},[E,b]),(0,C.useEffect)(()=>{v||x(null)},[v]);let M={marginInlineStart:d};i.length||(M.visibility=`hidden`,M.order=1);let N=q(g,{[`${T}-rtl`]:f}),P=o?null:C.createElement(gx,OA({prefixCls:T,overlay:k,visible:i.length?v:!1,onVisibleChange:y,overlayClassName:N,overlayStyle:_,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:h},s),C.createElement(`button`,{type:`button`,className:`${n}-nav-more`,style:M,"aria-haspopup":`listbox`,"aria-controls":w,id:`${r}-more`,"aria-expanded":v,onKeyDown:j},S));return C.createElement(`div`,{className:q(`${n}-nav-operations`,l),style:c,ref:t},P,C.createElement(EA,{prefixCls:n,locale:a,editable:u}))}),hle=C.memo(mle,(e,t)=>t.tabMoving),gle=e=>{let{prefixCls:t,id:n,active:r,focus:i,tab:{key:a,label:o,disabled:s,closeIcon:c,icon:l},closable:u,renderWrapper:d,removeAriaLabel:f,editable:p,onClick:m,onFocus:h,onBlur:g,onKeyDown:_,onMouseDown:v,onMouseUp:y,style:b,className:x,tabCount:S,currentPosition:w}=e,T=`${t}-tab`,E=TA(u,c,p,s);function D(e){s||m(e)}function O(e){e.preventDefault(),e.stopPropagation(),p.onEdit(`remove`,{key:a,event:e})}let k=C.useMemo(()=>l&&typeof o==`string`?C.createElement(`span`,null,o):o,[o,l]),A=C.useRef(null);C.useEffect(()=>{i&&A.current&&A.current.focus()},[i]);let j=C.createElement(`div`,{key:a,"data-node-key":wA(a),className:q(T,x,{[`${T}-with-remove`]:E,[`${T}-active`]:r,[`${T}-disabled`]:s,[`${T}-focus`]:i}),style:b,onClick:D},C.createElement(`div`,{ref:A,role:`tab`,"aria-selected":r,id:n&&`${n}-tab-${a}`,className:`${T}-btn`,"aria-controls":n&&`${n}-panel-${a}`,"aria-disabled":s,tabIndex:s?null:r?0:-1,onClick:e=>{e.stopPropagation(),D(e)},onKeyDown:_,onMouseDown:v,onMouseUp:y,onFocus:h,onBlur:g},i&&C.createElement(`div`,{"aria-live":`polite`,style:{width:0,height:0,position:`absolute`,overflow:`hidden`,opacity:0}},`Tab ${w} of ${S}`),l&&C.createElement(`span`,{className:`${T}-icon`},l),o&&k),E&&C.createElement(`button`,{type:`button`,"aria-label":f||`remove`,tabIndex:r?0:-1,className:`${T}-remove`,onClick:e=>{e.stopPropagation(),O(e)}},c||p.removeIcon||`×`));return d?d(j):j};function kA(){return kA=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{offsetWidth:n,offsetHeight:r,offsetTop:i,offsetLeft:a}=e,{width:o,height:s,left:c,top:l}=e.getBoundingClientRect();return Math.abs(o-n)<1?[o,s,c-t.left,l-t.top]:[n,r,a,i]},AA=e=>{let{offsetWidth:t=0,offsetHeight:n=0}=e.current||{};if(e.current){let{width:n,height:r}=e.current.getBoundingClientRect();if(Math.abs(n-t)<1)return[n,r]}return[t,n]},jA=(e,t)=>e[+!t],MA=C.forwardRef((e,t)=>{let{className:n,style:r,id:i,animated:a,activeKey:o,rtl:s,extra:c,editable:l,locale:u,tabPosition:d,tabBarGutter:f,children:p,onTabClick:m,onTabScroll:h,indicator:g,classNames:_,styles:v}=e,{prefixCls:y,tabs:b}=C.useContext(hA),x=(0,C.useRef)(null),S=(0,C.useRef)(null),w=(0,C.useRef)(null),T=(0,C.useRef)(null),E=(0,C.useRef)(null),D=(0,C.useRef)(null),O=(0,C.useRef)(null),k=d===`top`||d===`bottom`,[A,j]=_A(0,(e,t)=>{k&&h&&h({direction:e>t?`left`:`right`})}),[M,N]=_A(0,(e,t)=>{!k&&h&&h({direction:e>t?`top`:`bottom`})}),[P,F]=(0,C.useState)([0,0]),[I,L]=(0,C.useState)([0,0]),[R,z]=(0,C.useState)([0,0]),[B,V]=(0,C.useState)([0,0]),[H,U]=dle(new Map),W=cle(b,H,I[0]),ee=jA(P,k),te=jA(I,k),ne=jA(R,k),re=jA(B,k),ie=Math.floor(ee)K?K:e}let ce=(0,C.useRef)(null),[le,ue]=(0,C.useState)();function de(){ue(Date.now())}function fe(){ce.current&&clearTimeout(ce.current)}ule(T,(e,t)=>{function n(e,t){e(e=>se(e+t))}return ie?(k?n(j,e):n(N,t),fe(),de(),!0):!1}),(0,C.useEffect)(()=>(fe(),le&&(ce.current=setTimeout(()=>{ue(0)},100)),fe),[le]);let[pe,me]=fle(W,ae,k?A:M,te,ne,re,{...e,tabs:b}),he=Rn((e=o)=>{let t=W.get(e)||{width:0,height:0,left:0,right:0,top:0};if(k){let e=A;s?t.rightA+ae&&(e=t.right+t.width-ae):t.left<-A?e=-t.left:t.left+t.width>-A+ae&&(e=-(t.left+t.width-ae)),N(0),j(se(e))}else{let e=M;t.top<-M?e=-t.top:t.top+t.height>-M+ae&&(e=-(t.top+t.height-ae)),j(0),N(se(e))}}),[ge,_e]=(0,C.useState)(),[ve,ye]=(0,C.useState)(!1),be=b.filter(e=>!e.disabled).map(e=>e.key),xe=e=>{let t=be.indexOf(ge||o),n=be.length,r=be[(t+e+n)%n];_e(r)},Se=(e,t)=>{let n=be.indexOf(e),r=b.find(t=>t.key===e);TA(r?.closable,r?.closeIcon,l,r?.disabled)&&(t.preventDefault(),t.stopPropagation(),l.onEdit(`remove`,{key:e,event:t}),n===be.length-1?xe(-1):xe(1))},Ce=(e,t)=>{ye(!0),t.button===1&&Se(e,t)},we=e=>{let{code:t}=e,n=s&&k,r=be[0],i=be[be.length-1];switch(t){case`ArrowLeft`:k&&xe(n?1:-1);break;case`ArrowRight`:k&&xe(n?-1:1);break;case`ArrowUp`:e.preventDefault(),k||xe(-1);break;case`ArrowDown`:e.preventDefault(),k||xe(1);break;case`Home`:e.preventDefault(),_e(r);break;case`End`:e.preventDefault(),_e(i);break;case`Enter`:case`Space`:e.preventDefault(),m(ge??o,e);break;case`Backspace`:case`Delete`:Se(ge,e);break}},Te={};k?Te.marginInlineStart=f:Te.marginTop=f;let Ee=b.map((e,t)=>{let{key:n}=e;return C.createElement(gle,{id:i,prefixCls:y,key:n,tab:e,className:_?.item,style:t===0?v?.item:{...Te,...v?.item},closable:e.closable,editable:l,active:n===o,focus:n===ge,renderWrapper:p,removeAriaLabel:u?.removeAriaLabel,tabCount:be.length,currentPosition:t+1,onClick:e=>{m(n,e)},onKeyDown:we,onFocus:()=>{ve||_e(n),he(n),de(),T.current&&(s||(T.current.scrollLeft=0),T.current.scrollTop=0)},onBlur:()=>{_e(void 0)},onMouseDown:e=>Ce(n,e),onMouseUp:()=>{ye(!1)}})}),De=()=>U(()=>{let e=new Map,t=E.current?.getBoundingClientRect();return b.forEach(({key:n})=>{let r=E.current?.querySelector(`[data-node-key="${wA(n)}"]`);if(r){let[i,a,o,s]=_le(r,t);e.set(n,{width:i,height:a,left:o,top:s})}}),e});(0,C.useEffect)(()=>{De()},[b.map(e=>e.key).join(`_`)]);let Oe=xA(()=>{let e=AA(x),t=AA(S),n=AA(w);F([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);let r=AA(O);z(r),V(AA(D));let i=AA(E);L([i[0]-r[0],i[1]-r[1]]),De()}),ke=b.slice(0,pe),Ae=b.slice(me+1),je=[...ke,...Ae],Me=W.get(o),{style:Ne}=sle({activeTabOffset:Me,horizontal:k,indicator:g,rtl:s});(0,C.useEffect)(()=>{he()},[o,oe,K,CA(Me),CA(W),k]),(0,C.useEffect)(()=>{Oe()},[s]);let Pe=!!je.length,Fe=`${y}-nav-wrap`,Ie,Le,Re,ze;return k?s?(Le=A>0,Ie=A!==K):(Ie=A<0,Le=A!==oe):(Re=M<0,ze=M!==oe),C.createElement(Gr,{onResize:Oe},C.createElement(`div`,{ref:tr(t,x),role:`tablist`,"aria-orientation":k?`horizontal`:`vertical`,className:q(`${y}-nav`,n,_?.header),style:{...v?.header,...r},onKeyDown:()=>{de()}},C.createElement(DA,{ref:S,position:`left`,extra:c,prefixCls:y}),C.createElement(Gr,{onResize:Oe},C.createElement(`div`,{className:q(Fe,{[`${Fe}-ping-left`]:Ie,[`${Fe}-ping-right`]:Le,[`${Fe}-ping-top`]:Re,[`${Fe}-ping-bottom`]:ze}),ref:T},C.createElement(Gr,{onResize:Oe},C.createElement(`div`,{ref:E,className:`${y}-nav-list`,style:{transform:`translate(${A}px, ${M}px)`,transition:le?`none`:void 0}},Ee,C.createElement(EA,{ref:O,prefixCls:y,locale:u,editable:l,style:{...Ee.length===0?void 0:Te,visibility:Pe?`hidden`:null}}),C.createElement(`div`,{className:q(`${y}-ink-bar`,_?.indicator,{[`${y}-ink-bar-animated`]:a.inkBar}),style:{...Ne,...v?.indicator}}))))),C.createElement(hle,kA({},e,{removeAriaLabel:u?.removeAriaLabel,ref:D,prefixCls:y,tabs:je,className:!Pe&&G,popupStyle:v?.popup,tabMoving:!!le})),C.createElement(DA,{ref:w,position:`right`,extra:c,prefixCls:y})))}),vle=({renderTabBar:e,...t})=>e?e(t,MA):C.createElement(MA,t),yle=C.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:i,id:a,active:o,tabKey:s,children:c}=e,l=C.Children.count(c)>0;return C.createElement(`div`,{id:a&&`${a}-panel-${s}`,role:`tabpanel`,tabIndex:o&&l?0:-1,"aria-labelledby":a&&`${a}-tab-${s}`,"aria-hidden":!o,style:i,className:q(n,o&&`${n}-active`,r),ref:t},c)});function NA(){return NA=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:t,activeKey:n,animated:r,tabPosition:i,destroyOnHidden:a,contentStyle:o,contentClassName:s}=e,{prefixCls:c,tabs:l}=C.useContext(hA),u=r.tabPane,d=`${c}-tabpane`;return C.createElement(`div`,{className:q(`${c}-content-holder`)},C.createElement(`div`,{className:q(`${c}-content`,`${c}-content-${i}`,{[`${c}-content-animated`]:u})},l.map(e=>{let{key:i,forceRender:c,style:l,className:f,destroyOnHidden:p,...m}=e,h=i===n;return C.createElement(Lu,NA({key:i,visible:h,forceRender:c,removeOnLeave:!!(a??p),leavedClassName:`${d}-hidden`},r.tabPaneMotion),({style:e,className:n},r)=>C.createElement(yle,NA({},m,{prefixCls:d,id:t,tabKey:i,animated:u,active:h,style:{...o,...l,...e},className:q(s,f,n),ref:r})))})))};function xle(e={inkBar:!0,tabPane:!1}){let t;return t=e===!1?{inkBar:!1,tabPane:!1}:e===!0?{inkBar:!0,tabPane:!1}:{inkBar:!0,...typeof e==`object`?e:{}},t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}function PA(){return PA=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:n,prefixCls:r=`rc-tabs`,className:i,items:a,direction:o,activeKey:s,defaultActiveKey:c,editable:l,animated:u,tabPosition:d=`top`,tabBarGutter:f,tabBarStyle:p,tabBarExtraContent:m,locale:h,more:g,destroyOnHidden:_,renderTabBar:v,onChange:y,onTabClick:b,onTabScroll:x,getPopupContainer:S,popupClassName:w,indicator:T,classNames:E,styles:D,...O}=e,k=C.useMemo(()=>(a||[]).filter(e=>e&&typeof e==`object`&&`key`in e),[a]),A=o===`rtl`,j=xle(u),[M,N]=(0,C.useState)(!1);(0,C.useEffect)(()=>{N(ole())},[]);let[P,F]=Wn(c??k[0]?.key,s),[I,L]=(0,C.useState)(()=>k.findIndex(e=>e.key===P));(0,C.useEffect)(()=>{let e=k.findIndex(e=>e.key===P);e===-1&&(e=Math.max(0,Math.min(I,k.length-1)),F(k[e]?.key)),L(e)},[k.map(e=>e.key).join(`_`),P,I]);let[R,z]=Wn(null,n);(0,C.useEffect)(()=>{n||(z(`rc-tabs-${FA}`),FA+=1)},[]);function B(e,t){b?.(e,t);let n=e!==P;F(e),n&&y?.(e)}let V={id:R,activeKey:P,animated:j,tabPosition:d,rtl:A,mobile:M},H={...V,editable:l,locale:h,more:g,tabBarGutter:f,onTabClick:B,onTabScroll:x,extra:m,style:p,getPopupContainer:S,popupClassName:q(w,E?.popup),indicator:T,styles:D,classNames:E},U=C.useMemo(()=>({tabs:k,prefixCls:r}),[k,r]);return C.createElement(hA.Provider,{value:U},C.createElement(`div`,PA({ref:t,id:n,className:q(r,`${r}-${d}`,{[`${r}-mobile`]:M,[`${r}-editable`]:l,[`${r}-rtl`]:A},i)},O),C.createElement(vle,PA({},H,{renderTabBar:v})),C.createElement(ble,PA({destroyOnHidden:_},V,{contentStyle:D?.content,contentClassName:E?.content,animated:j}))))}),Cle={motionAppear:!1,motionEnter:!0,motionLeave:!0};function wle(e,t={inkBar:!0,tabPane:!1}){let n;return n=t===!1?{inkBar:!1,tabPane:!1}:t===!0?{inkBar:!0,tabPane:!0}:{inkBar:!0,...gd(t)?t:{}},n.tabPane&&(n.tabPaneMotion={...Cle,motionName:km(e,`switch`)}),n}function Tle(e){return e.filter(e=>e)}function Ele(e,t){return e?e.map(e=>({...e,destroyOnHidden:e.destroyOnHidden??e.destroyInactiveTabPane})):Tle(wr(t).map(e=>{if(C.isValidElement(e)){let{key:t,props:n}=e,{tab:r,...i}=n||{};return{key:String(t),...i,label:r}}return null}))}var Dle=e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:`none`,"&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:`absolute`,transition:`none`,inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[sh(e,`slide-up`),sh(e,`slide-down`)]]},Ole=e=>{let{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:i,colorBorderSecondary:a,itemSelectedColor:o}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${J(e.lineWidth)} ${e.lineType} ${a}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:o,background:e.colorBgContainer},[`${t}-tab-focus:has(${t}-tab-btn:focus-visible)`]:Qc(e,-3),[`& ${t}-tab${t}-tab-focus ${t}-tab-btn:focus-visible`]:{outline:`none`},[`${t}-ink-bar`]:{visibility:`hidden`}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:J(i)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:J(i)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${J(e.borderRadiusLG)} 0 0 ${J(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},kle=e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:{...Yc(e),position:`absolute`,top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:`block`,"&-hidden":{display:`none`},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${J(r)} 0`,overflowX:`hidden`,overflowY:`auto`,textAlign:{_skip_check_:!0,value:`left`},listStyleType:`none`,backgroundColor:e.colorBgContainer,backgroundClip:`padding-box`,borderRadius:e.borderRadiusLG,outline:`none`,boxShadow:e.boxShadowSecondary,"&-item":{...Jc,display:`flex`,alignItems:`center`,minWidth:e.tabsDropdownWidth,margin:0,padding:`${J(e.paddingXXS)} ${J(e.paddingSM)}`,color:e.colorText,fontWeight:`normal`,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:`pointer`,transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:`nowrap`},"&-remove":{flex:`none`,marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorIcon,fontSize:e.fontSizeSM,background:`transparent`,border:0,cursor:`pointer`,"&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:`transparent`,cursor:`not-allowed`}}}}}}},Ale=e=>{let{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:i,verticalItemPadding:a,verticalItemMargin:o,motionDurationSlow:s,calc:c}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:`column`,[`> ${t}-nav, > div > ${t}-nav`]:{margin:i,"&::before":{position:`absolute`,right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${J(e.lineWidth)} ${e.lineType} ${r}`,content:`''`},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:[`width`,`left`,`right`].map(e=>`${e} ${s}`).join(`, `)}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, - > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:`column`,minWidth:c(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:a,textAlign:`center`},[`${t}-tab + ${t}-tab`]:{margin:o},[`${t}-nav-wrap`]:{flexDirection:`column`,"&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:[`height`,`top`].map(e=>`${e} ${s}`).join(`, `)}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:`1 0 auto`,flexDirection:`column`}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:J(c(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:c(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},jle=e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,cardHeightSM:i,cardHeightLG:a,horizontalItemPaddingSM:o,horizontalItemPaddingLG:s}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:s,fontSize:e.titleFontSizeLG,lineHeight:e.lineHeightLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n},[`${t}-nav-add`]:{minWidth:i,minHeight:i}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${J(e.borderRadius)} ${J(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${J(e.borderRadius)} ${J(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${J(e.borderRadius)} ${J(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${J(e.borderRadius)} 0 0 ${J(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r},[`${t}-nav-add`]:{minWidth:a,minHeight:a}}}}}},Mle=e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:i,tabsHorizontalItemMargin:a,horizontalItemPadding:o,itemSelectedColor:s,itemColor:c}=e,l=`${t}-tab`;return{[l]:{position:`relative`,WebkitTouchCallout:`none`,WebkitTapHighlightColor:`transparent`,display:`inline-flex`,alignItems:`center`,padding:o,fontSize:e.titleFontSize,background:`transparent`,border:0,outline:`none`,cursor:`pointer`,color:c,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:n}},"&-btn":{outline:`none`,transition:`all ${e.motionDurationSlow}`,[`${l}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:`none`,lineHeight:1,marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorIcon,fontSize:e.fontSizeSM,background:`transparent`,border:`none`,outline:`none`,cursor:`pointer`,transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading},...$c(e)},"&:hover":{color:r},[`&${l}-active ${l}-btn`]:{color:s},[`&${l}-focus ${l}-btn:focus-visible`]:Qc(e),[`&${l}-disabled`]:{color:e.colorTextDisabled,cursor:`not-allowed`},[`&${l}-disabled ${l}-btn, &${l}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${l}-remove ${i}`]:{margin:0,verticalAlign:`middle`},[`${i}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${l} + ${l}`]:{margin:{_skip_check_:!0,value:a}}}},Nle=e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:i,calc:a}=e;return{[`${t}-rtl`]:{direction:`rtl`,[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:e.marginSM}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:e.marginXS},marginLeft:{_skip_check_:!0,value:a(e.marginXXS).mul(-1).equal()},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:i},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:`rtl`},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:`right`}}}}},Ple=e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:i,itemHoverColor:a,itemActiveColor:o,colorBorderSecondary:s}=e;return{[t]:{...Yc(e),display:`flex`,[`> ${t}-nav, > div > ${t}-nav`]:{position:`relative`,display:`flex`,flex:`none`,alignItems:`center`,[`${t}-nav-wrap`]:{position:`relative`,display:`flex`,flex:`auto`,alignSelf:`stretch`,overflow:`hidden`,whiteSpace:`nowrap`,transform:`translate(0)`,"&::before, &::after":{position:`absolute`,zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:`''`,pointerEvents:`none`}},[`${t}-nav-list`]:{position:`relative`,display:`flex`,transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:`flex`,alignSelf:`stretch`},[`${t}-nav-operations-hidden`]:{position:`absolute`,visibility:`hidden`,pointerEvents:`none`},[`${t}-nav-more`]:{position:`relative`,padding:n,background:`transparent`,border:0,color:e.colorText,"&::after":{position:`absolute`,right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:`translateY(100%)`,content:`''`}},[`${t}-nav-add`]:{minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:i},background:`transparent`,border:`${J(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)} 0 0`,outline:`none`,cursor:`pointer`,color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:a},"&:active, &:focus:not(:focus-visible)":{color:o},...$c(e,-3)}},[`${t}-extra-content`]:{flex:`none`},[`${t}-ink-bar`]:{position:`absolute`,background:e.inkBarColor,pointerEvents:`none`},...Mle(e),[`${t}-content`]:{position:`relative`,width:`100%`},[`${t}-content-holder`]:{flex:`auto`,minWidth:0,minHeight:0},[`${t}-tabpane`]:{...$c(e),"&-hidden":{display:`none`}}},[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:`auto`}}}}}},Fle=il(`Tabs`,e=>{let t=_s(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${J(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${J(e.horizontalItemGutter)}`});return[jle(t),Nle(t),Ale(t),kle(t),Ole(t),Ple(t),Dle(t)]},e=>{let{cardHeight:t,cardHeightSM:n,cardHeightLG:r,controlHeight:i,controlHeightLG:a}=e,o=t||a,s=n||i,c=r||a+8;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:o,cardHeightSM:s,cardHeightLG:c,cardPadding:`${(o-e.fontHeight)/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${(s-e.fontHeight)/2-e.lineWidth}px ${e.paddingXS}px`,cardPaddingLG:`${(c-e.fontHeightLG)/2-e.lineWidth}px ${e.padding}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:``,horizontalItemMarginRTL:``,horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),Ile=()=>null,IA=C.forwardRef((e,t)=>{let{type:n,className:r,rootClassName:i,size:a,onEdit:o,hideAdd:s,centered:c,addIcon:l,removeIcon:u,moreIcon:d,more:f,popupClassName:p,children:m,items:h,animated:g,style:_,indicatorSize:v,indicator:y,classNames:b,styles:x,destroyInactiveTabPane:S,destroyOnHidden:w,tabPlacement:T,tabPosition:E,...D}=e,{prefixCls:O}=D,{getPrefixCls:k,direction:A,getPopupContainer:j,className:M,style:N,classNames:P,styles:F}=ui(`tabs`),{tabs:I}=C.useContext(si),L=k(`tabs`,O),R=xf(L),[z,B]=Fle(L,R),V=C.useRef(null);C.useImperativeHandle(t,()=>({nativeElement:V.current}));let H;n===`editable-card`&&(H={onEdit:(e,{key:t,event:n})=>{o?.(e===`add`?n:t,e)},removeIcon:u??I?.removeIcon??C.createElement(zl,null),addIcon:(l??I?.addIcon)||C.createElement(pA,null),showAdd:s!==!0});let U=k(),W=Pm(a),ee=Ele(h,m),te=wle(L,g),ne={align:y?.align??I?.indicator?.align,size:y?.size??v??I?.indicator?.size??I?.indicatorSize},re=C.useMemo(()=>{let e=T??E??void 0,t=A===`rtl`;switch(e){case`start`:return t?`right`:`left`;case`end`:return t?`left`:`right`;default:return e}},[T,E,A]),ie={...e,size:W,tabPlacement:re,items:ee},[ae,G]=Id([P,b],[F,x],{props:ie},{popup:{_default:`root`}});return C.createElement(Sle,{ref:V,direction:A,getPopupContainer:j,...D,items:ee,className:q({[`${L}-large`]:W===`large`,[`${L}-small`]:W===`small`,[`${L}-card`]:[`card`,`editable-card`].includes(n),[`${L}-editable-card`]:n===`editable-card`,[`${L}-centered`]:c},M,r,i,ae.root,z,B,R),classNames:{...ae,popup:q(p,z,B,R,ae.popup?.root)},styles:G,style:{...G.root,...N,..._},editable:H,more:{icon:I?.more?.icon??I?.moreIcon??d??C.createElement(FS,null),transitionName:`${U}-slide-up`,...f},prefixCls:L,animated:te,indicator:ne,destroyOnHidden:w??S,tabPosition:re})});IA.TabPane=Ile;var LA=({prefixCls:e,className:t,hoverable:n=!0,...r})=>{let{getPrefixCls:i}=C.useContext(si),a=i(`card`,e),o=q(`${a}-grid`,t,{[`${a}-grid-hoverable`]:n});return C.createElement(`div`,{...r,className:o})},Lle=e=>{let{antCls:t,componentCls:n,headerHeight:r,headerPadding:i,tabsMarginBottom:a}=e;return{display:`flex`,justifyContent:`center`,flexDirection:`column`,minHeight:r,marginBottom:-1,padding:`0 ${J(i)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)} 0 0`,...Zc(),"&-wrapper":{width:`100%`,display:`flex`,alignItems:`center`},"&-title":{display:`inline-block`,flex:1,...Jc,[` + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:sh},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:`none`},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:uh},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:ch},[`${t}-panel > ${t}-time-panel`]:{paddingTop:T},[`${t}-range-wrapper`]:{display:`flex`,position:`relative`},[`${t}-range-arrow`]:{position:`absolute`,zIndex:1,display:`none`,paddingInline:e.calc(r).mul(1.5).equal(),boxSizing:`content-box`,transition:`all ${C} ease-out`,...Kb(e,D,F),"&:before":{insetInlineStart:e.calc(r).mul(1.5).equal()}},[`${t}-panel-container`]:{overflow:`hidden`,verticalAlign:`top`,background:D,borderRadius:O,boxShadow:k,transition:`margin ${C}`,display:`inline-block`,pointerEvents:`auto`,[`${t}-panel-layout`]:{display:`flex`,flexWrap:`nowrap`,alignItems:`stretch`},[`${t}-presets`]:{display:`flex`,flexDirection:`column`,minWidth:N,maxWidth:P,ul:{height:0,flex:`auto`,listStyle:`none`,overflow:`auto`,margin:0,padding:v,borderInlineEnd:`${J(i)} ${a} ${j}`,li:{...Jc,borderRadius:A,paddingInline:v,paddingBlock:e.calc(g).sub(I).div(2).equal(),cursor:`pointer`,transition:`all ${C}`,"+ li":{marginTop:y},"&:hover":{background:M}}}},[`${t}-panels`]:{display:`inline-flex`,flexWrap:`nowrap`,"&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:`top`,background:`transparent`,borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:`center`},"&-focused":{borderColor:o}}}},"&-dropdown-range":{padding:`${J(e.calc(E).mul(2).div(3).equal())} 0`,"&-hidden":{display:`none`}},"&-rtl":{direction:`rtl`,[`${t}-separator`]:{transform:`scale(-1, 1)`},[`${t}-footer`]:{"&-extra":{direction:`rtl`}}}}},dh(e,`slide-up`),dh(e,`slide-down`),oh(e,`move-up`),oh(e,`move-down`)]},cA=il(`DatePicker`,e=>{let t=_s(zk(e),tle(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[ele(t),ole(t),ile(t),ale(t),Zce(t),eg(e,{focusElCls:`${e.componentCls}-focused`})]},rle),sle={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z`}},{tag:`path`,attrs:{d:`M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z`}}]},name:`plus`,theme:`outlined`};function lA(){return lA=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,lA({},e,{ref:t,icon:sle}))),cle=l(o(((e,t)=>{t.exports=a,t.exports.isMobile=a,t.exports.default=a;var n=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|redmi|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,r=/CrOS/,i=/android|ipad|playbook|silk/i;function a(e){e||={};let t=e.ua;if(!t&&typeof navigator<`u`&&(t=navigator.userAgent),t&&t.headers&&typeof t.headers[`user-agent`]==`string`&&(t=t.headers[`user-agent`]),typeof t!=`string`)return!1;let a=n.test(t)&&!r.test(t)||!!e.tablet&&i.test(t);return!a&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.indexOf(`Macintosh`)!==-1&&t.indexOf(`Safari`)!==-1&&(a=!0),a}}))()),dA,lle=()=>(dA===void 0&&(dA=(0,cle.default)()),dA),fA=(0,C.createContext)(null),ule=e=>{let{activeTabOffset:t,horizontal:n,rtl:r,indicator:i={}}=e,{size:a,align:o=`center`}=i,[s,c]=(0,C.useState)(),l=(0,C.useRef)(),u=C.useCallback(e=>typeof a==`function`?a(e):typeof a==`number`?a:e,[a]);function d(){ii.cancel(l.current)}return(0,C.useEffect)(()=>{let e={};if(t)if(n){e.width=u(t.width);let n=r?`right`:`left`;o===`start`&&(e[n]=t[n]),o===`center`&&(e[n]=t[n]+t.width/2,e.transform=r?`translateX(50%)`:`translateX(-50%)`),o===`end`&&(e[n]=t[n]+t.width,e.transform=`translateX(-100%)`)}else e.height=u(t.height),o===`start`&&(e.top=t.top),o===`center`&&(e.top=t.top+t.height/2,e.transform=`translateY(-50%)`),o===`end`&&(e.top=t.top+t.height,e.transform=`translateY(-100%)`);return d(),l.current=ii(()=>{s&&e&&Object.keys(e).every(t=>{let n=e[t],r=s[t];return typeof n==`number`&&typeof r==`number`?Math.round(n)===Math.round(r):n===r})||c(e)}),d},[JSON.stringify(t),n,r,o,u]),{style:s}},pA={width:0,height:0,left:0,top:0};function dle(e,t,n){return(0,C.useMemo)(()=>{let n=new Map,r=t.get(e[0]?.key)||pA,i=r.left+r.width;for(let r=0;re.key).join(`_`),t,n])}function mA(e,t){let n=C.useRef(e),[,r]=C.useState({});function i(e){let i=typeof e==`function`?e(n.current):e;i!==n.current&&t(i,n.current),n.current=i,r({})}return[n.current,i]}var fle=.1,hA=.01,gA=20,_A=.995**gA;function ple(e,t){let[n,r]=(0,C.useState)(),[i,a]=(0,C.useState)(0),[o,s]=(0,C.useState)(0),[c,l]=(0,C.useState)(),u=(0,C.useRef)();function d(e){let{screenX:t,screenY:n}=e.touches[0];r({x:t,y:n}),window.clearInterval(u.current)}function f(e){if(!n)return;let{screenX:o,screenY:c}=e.touches[0];r({x:o,y:c});let u=o-n.x,d=c-n.y;t(u,d);let f=Date.now();a(f),s(f-i),l({x:u,y:d})}function p(){if(n&&(r(null),l(null),c)){let e=c.x/o,n=c.y/o;if(Math.max(Math.abs(e),Math.abs(n)){if(Math.abs(r)o?(i=n,m.current=`x`):(i=r,m.current=`y`),t(-i,-i)&&e.preventDefault()}let g=(0,C.useRef)(null);g.current={onTouchStart:d,onTouchMove:f,onTouchEnd:p,onWheel:h},C.useEffect(()=>{function t(e){g.current.onTouchStart(e)}function n(e){g.current.onTouchMove(e)}function r(e){g.current.onTouchEnd(e)}function i(e){g.current.onWheel(e)}return document.addEventListener(`touchmove`,n,{passive:!1}),document.addEventListener(`touchend`,r,{passive:!0}),e.current.addEventListener(`touchstart`,t,{passive:!0}),e.current.addEventListener(`wheel`,i,{passive:!1}),()=>{document.removeEventListener(`touchmove`,n),document.removeEventListener(`touchend`,r)}},[])}function vA(e){let[t,n]=(0,C.useState)(0),r=(0,C.useRef)(0),i=(0,C.useRef)();return i.current=e,Hn(()=>{i.current?.()},[t]),()=>{r.current===t&&(r.current+=1,n(r.current))}}function mle(e){let t=(0,C.useRef)([]),[,n]=(0,C.useState)({}),r=(0,C.useRef)(typeof e==`function`?e():e),i=vA(()=>{let e=r.current;t.current.forEach(t=>{e=t(e)}),t.current=[],r.current=e,n({})});function a(e){t.current.push(e),i()}return[r.current,a]}var yA={width:0,height:0,left:0,top:0,right:0};function hle(e,t,n,r,i,a,{tabs:o,tabPosition:s,rtl:c}){let l,u,d;return[`top`,`bottom`].includes(s)?(l=`width`,u=c?`right`:`left`,d=Math.abs(n)):(l=`height`,u=`top`,d=-n),(0,C.useMemo)(()=>{if(!o.length)return[0,0];let n=o.length,r=n;for(let i=0;iMath.floor(d+t)){r=i-1;break}}let i=0;for(let t=n-1;t>=0;--t)if((e.get(o[t].key)||yA)[u]r?[0,-1]:[i,r]},[e,t,r,i,a,d,s,o.map(e=>e.key).join(`_`),c])}function bA(e){let t;return e instanceof Map?(t={},e.forEach((e,n)=>{t[n]=e})):t=e,JSON.stringify(t)}var gle=`TABS_DQ`;function xA(e){return String(e).replace(/"/g,gle)}function SA(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var CA=C.forwardRef((e,t)=>{let{prefixCls:n,editable:r,locale:i,style:a}=e;return!r||r.showAdd===!1?null:C.createElement(`button`,{ref:t,type:`button`,className:`${n}-nav-add`,style:a,"aria-label":i?.addAriaLabel||`Add tab`,onClick:e=>{r.onEdit(`add`,{event:e})}},r.addIcon||`+`)}),wA=C.forwardRef((e,t)=>{let{position:n,prefixCls:r,extra:i}=e;if(!i)return null;let a,o={};return typeof i==`object`&&!C.isValidElement(i)?o=i:o.right=i,n===`right`&&(a=o.right),n===`left`&&(a=o.left),a?C.createElement(`div`,{className:`${r}-extra-content`,ref:t},a):null});function TA(){return TA=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,id:r,tabs:i,locale:a,mobile:o,more:s={},style:c,className:l,editable:u,tabBarGutter:d,rtl:f,removeAriaLabel:p,onTabClick:m,getPopupContainer:h,popupClassName:g,popupStyle:_}=e,[v,y]=(0,C.useState)(!1),[b,x]=(0,C.useState)(null),{icon:S=`More`}=s,w=`${r}-more-popup`,T=`${n}-dropdown`,E=b===null?null:`${w}-${b}`,D=a?.dropdownAriaLabel;function O(e,t){e.preventDefault(),e.stopPropagation(),u.onEdit(`remove`,{key:t,event:e})}let k=C.createElement(TS,{onClick:({key:e,domEvent:t})=>{m(e,t),y(!1)},prefixCls:`${T}-menu`,id:w,tabIndex:-1,role:`listbox`,"aria-activedescendant":E,selectedKeys:[b],"aria-label":D===void 0?`expanded dropdown`:D},i.map(e=>{let{closable:t,disabled:n,closeIcon:i,key:a,label:o}=e,s=SA(t,i,u,n);return C.createElement(cS,{key:a,id:`${w}-${a}`,role:`option`,"aria-controls":r&&`${r}-panel-${a}`,disabled:n},C.createElement(`span`,null,o),s&&C.createElement(`button`,{type:`button`,"aria-label":p||`remove`,tabIndex:0,className:`${T}-menu-item-remove`,onClick:e=>{e.stopPropagation(),O(e,a)}},i||u.removeIcon||`×`))}));function A(e){let t=i.filter(e=>!e.disabled),n=t.findIndex(e=>e.key===b)||0,r=t.length;for(let i=0;i{let e=document.getElementById(E);e?.scrollIntoView&&e.scrollIntoView(!1)},[E,b]),(0,C.useEffect)(()=>{v||x(null)},[v]);let M={marginInlineStart:d};i.length||(M.visibility=`hidden`,M.order=1);let N=q(g,{[`${T}-rtl`]:f}),P=o?null:C.createElement(kx,TA({prefixCls:T,overlay:k,visible:i.length?v:!1,onVisibleChange:y,overlayClassName:N,overlayStyle:_,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:h},s),C.createElement(`button`,{type:`button`,className:`${n}-nav-more`,style:M,"aria-haspopup":`listbox`,"aria-controls":w,id:`${r}-more`,"aria-expanded":v,onKeyDown:j},S));return C.createElement(`div`,{className:q(`${n}-nav-operations`,l),style:c,ref:t},P,C.createElement(CA,{prefixCls:n,locale:a,editable:u}))}),vle=C.memo(_le,(e,t)=>t.tabMoving),yle=e=>{let{prefixCls:t,id:n,active:r,focus:i,tab:{key:a,label:o,disabled:s,closeIcon:c,icon:l},closable:u,renderWrapper:d,removeAriaLabel:f,editable:p,onClick:m,onFocus:h,onBlur:g,onKeyDown:_,onMouseDown:v,onMouseUp:y,style:b,className:x,tabCount:S,currentPosition:w}=e,T=`${t}-tab`,E=SA(u,c,p,s);function D(e){s||m(e)}function O(e){e.preventDefault(),e.stopPropagation(),p.onEdit(`remove`,{key:a,event:e})}let k=C.useMemo(()=>l&&typeof o==`string`?C.createElement(`span`,null,o):o,[o,l]),A=C.useRef(null);C.useEffect(()=>{i&&A.current&&A.current.focus()},[i]);let j=C.createElement(`div`,{key:a,"data-node-key":xA(a),className:q(T,x,{[`${T}-with-remove`]:E,[`${T}-active`]:r,[`${T}-disabled`]:s,[`${T}-focus`]:i}),style:b,onClick:D},C.createElement(`div`,{ref:A,role:`tab`,"aria-selected":r,id:n&&`${n}-tab-${a}`,className:`${T}-btn`,"aria-controls":n&&`${n}-panel-${a}`,"aria-disabled":s,tabIndex:s?null:r?0:-1,onClick:e=>{e.stopPropagation(),D(e)},onKeyDown:_,onMouseDown:v,onMouseUp:y,onFocus:h,onBlur:g},i&&C.createElement(`div`,{"aria-live":`polite`,style:{width:0,height:0,position:`absolute`,overflow:`hidden`,opacity:0}},`Tab ${w} of ${S}`),l&&C.createElement(`span`,{className:`${T}-icon`},l),o&&k),E&&C.createElement(`button`,{type:`button`,"aria-label":f||`remove`,tabIndex:r?0:-1,className:`${T}-remove`,onClick:e=>{e.stopPropagation(),O(e)}},c||p.removeIcon||`×`));return d?d(j):j};function EA(){return EA=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{offsetWidth:n,offsetHeight:r,offsetTop:i,offsetLeft:a}=e,{width:o,height:s,left:c,top:l}=e.getBoundingClientRect();return Math.abs(o-n)<1?[o,s,c-t.left,l-t.top]:[n,r,a,i]},DA=e=>{let{offsetWidth:t=0,offsetHeight:n=0}=e.current||{};if(e.current){let{width:n,height:r}=e.current.getBoundingClientRect();if(Math.abs(n-t)<1)return[n,r]}return[t,n]},OA=(e,t)=>e[+!t],kA=C.forwardRef((e,t)=>{let{className:n,style:r,id:i,animated:a,activeKey:o,rtl:s,extra:c,editable:l,locale:u,tabPosition:d,tabBarGutter:f,children:p,onTabClick:m,onTabScroll:h,indicator:g,classNames:_,styles:v}=e,{prefixCls:y,tabs:b}=C.useContext(fA),x=(0,C.useRef)(null),S=(0,C.useRef)(null),w=(0,C.useRef)(null),T=(0,C.useRef)(null),E=(0,C.useRef)(null),D=(0,C.useRef)(null),O=(0,C.useRef)(null),k=d===`top`||d===`bottom`,[A,j]=mA(0,(e,t)=>{k&&h&&h({direction:e>t?`left`:`right`})}),[M,N]=mA(0,(e,t)=>{!k&&h&&h({direction:e>t?`top`:`bottom`})}),[P,F]=(0,C.useState)([0,0]),[I,L]=(0,C.useState)([0,0]),[R,z]=(0,C.useState)([0,0]),[B,V]=(0,C.useState)([0,0]),[H,U]=mle(new Map),W=dle(b,H,I[0]),ee=OA(P,k),te=OA(I,k),ne=OA(R,k),re=OA(B,k),ie=Math.floor(ee)K?K:e}let ce=(0,C.useRef)(null),[le,ue]=(0,C.useState)();function de(){ue(Date.now())}function fe(){ce.current&&clearTimeout(ce.current)}ple(T,(e,t)=>{function n(e,t){e(e=>se(e+t))}return ie?(k?n(j,e):n(N,t),fe(),de(),!0):!1}),(0,C.useEffect)(()=>(fe(),le&&(ce.current=setTimeout(()=>{ue(0)},100)),fe),[le]);let[pe,me]=hle(W,ae,k?A:M,te,ne,re,{...e,tabs:b}),he=Rn((e=o)=>{let t=W.get(e)||{width:0,height:0,left:0,right:0,top:0};if(k){let e=A;s?t.rightA+ae&&(e=t.right+t.width-ae):t.left<-A?e=-t.left:t.left+t.width>-A+ae&&(e=-(t.left+t.width-ae)),N(0),j(se(e))}else{let e=M;t.top<-M?e=-t.top:t.top+t.height>-M+ae&&(e=-(t.top+t.height-ae)),j(0),N(se(e))}}),[ge,_e]=(0,C.useState)(),[ve,ye]=(0,C.useState)(!1),be=b.filter(e=>!e.disabled).map(e=>e.key),xe=e=>{let t=be.indexOf(ge||o),n=be.length,r=be[(t+e+n)%n];_e(r)},Se=(e,t)=>{let n=be.indexOf(e),r=b.find(t=>t.key===e);SA(r?.closable,r?.closeIcon,l,r?.disabled)&&(t.preventDefault(),t.stopPropagation(),l.onEdit(`remove`,{key:e,event:t}),n===be.length-1?xe(-1):xe(1))},Ce=(e,t)=>{ye(!0),t.button===1&&Se(e,t)},we=e=>{let{code:t}=e,n=s&&k,r=be[0],i=be[be.length-1];switch(t){case`ArrowLeft`:k&&xe(n?1:-1);break;case`ArrowRight`:k&&xe(n?-1:1);break;case`ArrowUp`:e.preventDefault(),k||xe(-1);break;case`ArrowDown`:e.preventDefault(),k||xe(1);break;case`Home`:e.preventDefault(),_e(r);break;case`End`:e.preventDefault(),_e(i);break;case`Enter`:case`Space`:e.preventDefault(),m(ge??o,e);break;case`Backspace`:case`Delete`:Se(ge,e);break}},Te={};k?Te.marginInlineStart=f:Te.marginTop=f;let Ee=b.map((e,t)=>{let{key:n}=e;return C.createElement(yle,{id:i,prefixCls:y,key:n,tab:e,className:_?.item,style:t===0?v?.item:{...Te,...v?.item},closable:e.closable,editable:l,active:n===o,focus:n===ge,renderWrapper:p,removeAriaLabel:u?.removeAriaLabel,tabCount:be.length,currentPosition:t+1,onClick:e=>{m(n,e)},onKeyDown:we,onFocus:()=>{ve||_e(n),he(n),de(),T.current&&(s||(T.current.scrollLeft=0),T.current.scrollTop=0)},onBlur:()=>{_e(void 0)},onMouseDown:e=>Ce(n,e),onMouseUp:()=>{ye(!1)}})}),De=()=>U(()=>{let e=new Map,t=E.current?.getBoundingClientRect();return b.forEach(({key:n})=>{let r=E.current?.querySelector(`[data-node-key="${xA(n)}"]`);if(r){let[i,a,o,s]=ble(r,t);e.set(n,{width:i,height:a,left:o,top:s})}}),e});(0,C.useEffect)(()=>{De()},[b.map(e=>e.key).join(`_`)]);let Oe=vA(()=>{let e=DA(x),t=DA(S),n=DA(w);F([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);let r=DA(O);z(r),V(DA(D));let i=DA(E);L([i[0]-r[0],i[1]-r[1]]),De()}),ke=b.slice(0,pe),Ae=b.slice(me+1),je=[...ke,...Ae],Me=W.get(o),{style:Ne}=ule({activeTabOffset:Me,horizontal:k,indicator:g,rtl:s});(0,C.useEffect)(()=>{he()},[o,oe,K,bA(Me),bA(W),k]),(0,C.useEffect)(()=>{Oe()},[s]);let Pe=!!je.length,Fe=`${y}-nav-wrap`,Ie,Le,Re,ze;return k?s?(Le=A>0,Ie=A!==K):(Ie=A<0,Le=A!==oe):(Re=M<0,ze=M!==oe),C.createElement(Gr,{onResize:Oe},C.createElement(`div`,{ref:tr(t,x),role:`tablist`,"aria-orientation":k?`horizontal`:`vertical`,className:q(`${y}-nav`,n,_?.header),style:{...v?.header,...r},onKeyDown:()=>{de()}},C.createElement(wA,{ref:S,position:`left`,extra:c,prefixCls:y}),C.createElement(Gr,{onResize:Oe},C.createElement(`div`,{className:q(Fe,{[`${Fe}-ping-left`]:Ie,[`${Fe}-ping-right`]:Le,[`${Fe}-ping-top`]:Re,[`${Fe}-ping-bottom`]:ze}),ref:T},C.createElement(Gr,{onResize:Oe},C.createElement(`div`,{ref:E,className:`${y}-nav-list`,style:{transform:`translate(${A}px, ${M}px)`,transition:le?`none`:void 0}},Ee,C.createElement(CA,{ref:O,prefixCls:y,locale:u,editable:l,style:{...Ee.length===0?void 0:Te,visibility:Pe?`hidden`:null}}),C.createElement(`div`,{className:q(`${y}-ink-bar`,_?.indicator,{[`${y}-ink-bar-animated`]:a.inkBar}),style:{...Ne,...v?.indicator}}))))),C.createElement(vle,EA({},e,{removeAriaLabel:u?.removeAriaLabel,ref:D,prefixCls:y,tabs:je,className:!Pe&&G,popupStyle:v?.popup,tabMoving:!!le})),C.createElement(wA,{ref:w,position:`right`,extra:c,prefixCls:y})))}),xle=({renderTabBar:e,...t})=>e?e(t,kA):C.createElement(kA,t),Sle=C.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:i,id:a,active:o,tabKey:s,children:c}=e,l=C.Children.count(c)>0;return C.createElement(`div`,{id:a&&`${a}-panel-${s}`,role:`tabpanel`,tabIndex:o&&l?0:-1,"aria-labelledby":a&&`${a}-tab-${s}`,"aria-hidden":!o,style:i,className:q(n,o&&`${n}-active`,r),ref:t},c)});function AA(){return AA=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:t,activeKey:n,animated:r,tabPosition:i,destroyOnHidden:a,contentStyle:o,contentClassName:s}=e,{prefixCls:c,tabs:l}=C.useContext(fA),u=r.tabPane,d=`${c}-tabpane`;return C.createElement(`div`,{className:q(`${c}-content-holder`)},C.createElement(`div`,{className:q(`${c}-content`,`${c}-content-${i}`,{[`${c}-content-animated`]:u})},l.map(e=>{let{key:i,forceRender:c,style:l,className:f,destroyOnHidden:p,...m}=e,h=i===n;return C.createElement(Lu,AA({key:i,visible:h,forceRender:c,removeOnLeave:!!(a??p),leavedClassName:`${d}-hidden`},r.tabPaneMotion),({style:e,className:n},r)=>C.createElement(Sle,AA({},m,{prefixCls:d,id:t,tabKey:i,animated:u,active:h,style:{...o,...l,...e},className:q(s,f,n),ref:r})))})))};function wle(e={inkBar:!0,tabPane:!1}){let t;return t=e===!1?{inkBar:!1,tabPane:!1}:e===!0?{inkBar:!0,tabPane:!1}:{inkBar:!0,...typeof e==`object`?e:{}},t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}function jA(){return jA=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:n,prefixCls:r=`rc-tabs`,className:i,items:a,direction:o,activeKey:s,defaultActiveKey:c,editable:l,animated:u,tabPosition:d=`top`,tabBarGutter:f,tabBarStyle:p,tabBarExtraContent:m,locale:h,more:g,destroyOnHidden:_,renderTabBar:v,onChange:y,onTabClick:b,onTabScroll:x,getPopupContainer:S,popupClassName:w,indicator:T,classNames:E,styles:D,...O}=e,k=C.useMemo(()=>(a||[]).filter(e=>e&&typeof e==`object`&&`key`in e),[a]),A=o===`rtl`,j=wle(u),[M,N]=(0,C.useState)(!1);(0,C.useEffect)(()=>{N(lle())},[]);let[P,F]=Wn(c??k[0]?.key,s),[I,L]=(0,C.useState)(()=>k.findIndex(e=>e.key===P));(0,C.useEffect)(()=>{let e=k.findIndex(e=>e.key===P);e===-1&&(e=Math.max(0,Math.min(I,k.length-1)),F(k[e]?.key)),L(e)},[k.map(e=>e.key).join(`_`),P,I]);let[R,z]=Wn(null,n);(0,C.useEffect)(()=>{n||(z(`rc-tabs-${MA}`),MA+=1)},[]);function B(e,t){b?.(e,t);let n=e!==P;F(e),n&&y?.(e)}let V={id:R,activeKey:P,animated:j,tabPosition:d,rtl:A,mobile:M},H={...V,editable:l,locale:h,more:g,tabBarGutter:f,onTabClick:B,onTabScroll:x,extra:m,style:p,getPopupContainer:S,popupClassName:q(w,E?.popup),indicator:T,styles:D,classNames:E},U=C.useMemo(()=>({tabs:k,prefixCls:r}),[k,r]);return C.createElement(fA.Provider,{value:U},C.createElement(`div`,jA({ref:t,id:n,className:q(r,`${r}-${d}`,{[`${r}-mobile`]:M,[`${r}-editable`]:l,[`${r}-rtl`]:A},i)},O),C.createElement(xle,jA({},H,{renderTabBar:v})),C.createElement(Cle,jA({destroyOnHidden:_},V,{contentStyle:D?.content,contentClassName:E?.content,animated:j}))))}),Ele={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Dle(e,t={inkBar:!0,tabPane:!1}){let n;return n=t===!1?{inkBar:!1,tabPane:!1}:t===!0?{inkBar:!0,tabPane:!0}:{inkBar:!0,...gd(t)?t:{}},n.tabPane&&(n.tabPaneMotion={...Ele,motionName:Nm(e,`switch`)}),n}function Ole(e){return e.filter(e=>e)}function kle(e,t){return e?e.map(e=>({...e,destroyOnHidden:e.destroyOnHidden??e.destroyInactiveTabPane})):Ole(wr(t).map(e=>{if(C.isValidElement(e)){let{key:t,props:n}=e,{tab:r,...i}=n||{};return{key:String(t),...i,label:r}}return null}))}var Ale=e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:`none`,"&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:`absolute`,transition:`none`,inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[dh(e,`slide-up`),dh(e,`slide-down`)]]},jle=e=>{let{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:i,colorBorderSecondary:a,itemSelectedColor:o}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${J(e.lineWidth)} ${e.lineType} ${a}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:o,background:e.colorBgContainer},[`${t}-tab-focus:has(${t}-tab-btn:focus-visible)`]:Qc(e,-3),[`& ${t}-tab${t}-tab-focus ${t}-tab-btn:focus-visible`]:{outline:`none`},[`${t}-ink-bar`]:{visibility:`hidden`}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:J(i)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:J(i)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${J(e.borderRadiusLG)} 0 0 ${J(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},Mle=e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:{...Yc(e),position:`absolute`,top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:`block`,"&-hidden":{display:`none`},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${J(r)} 0`,overflowX:`hidden`,overflowY:`auto`,textAlign:{_skip_check_:!0,value:`left`},listStyleType:`none`,backgroundColor:e.colorBgContainer,backgroundClip:`padding-box`,borderRadius:e.borderRadiusLG,outline:`none`,boxShadow:e.boxShadowSecondary,"&-item":{...Jc,display:`flex`,alignItems:`center`,minWidth:e.tabsDropdownWidth,margin:0,padding:`${J(e.paddingXXS)} ${J(e.paddingSM)}`,color:e.colorText,fontWeight:`normal`,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:`pointer`,transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:`nowrap`},"&-remove":{flex:`none`,marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorIcon,fontSize:e.fontSizeSM,background:`transparent`,border:0,cursor:`pointer`,"&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:`transparent`,cursor:`not-allowed`}}}}}}},Nle=e=>{let{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:i,verticalItemPadding:a,verticalItemMargin:o,motionDurationSlow:s,calc:c}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:`column`,[`> ${t}-nav, > div > ${t}-nav`]:{margin:i,"&::before":{position:`absolute`,right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${J(e.lineWidth)} ${e.lineType} ${r}`,content:`''`},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:[`width`,`left`,`right`].map(e=>`${e} ${s}`).join(`, `)}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, + > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:`column`,minWidth:c(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:a,textAlign:`center`},[`${t}-tab + ${t}-tab`]:{margin:o},[`${t}-nav-wrap`]:{flexDirection:`column`,"&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:[`height`,`top`].map(e=>`${e} ${s}`).join(`, `)}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:`1 0 auto`,flexDirection:`column`}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:J(c(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:c(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},Ple=e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,cardHeightSM:i,cardHeightLG:a,horizontalItemPaddingSM:o,horizontalItemPaddingLG:s}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:s,fontSize:e.titleFontSizeLG,lineHeight:e.lineHeightLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n},[`${t}-nav-add`]:{minWidth:i,minHeight:i}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${J(e.borderRadius)} ${J(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${J(e.borderRadius)} ${J(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${J(e.borderRadius)} ${J(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${J(e.borderRadius)} 0 0 ${J(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r},[`${t}-nav-add`]:{minWidth:a,minHeight:a}}}}}},Fle=e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:i,tabsHorizontalItemMargin:a,horizontalItemPadding:o,itemSelectedColor:s,itemColor:c}=e,l=`${t}-tab`;return{[l]:{position:`relative`,WebkitTouchCallout:`none`,WebkitTapHighlightColor:`transparent`,display:`inline-flex`,alignItems:`center`,padding:o,fontSize:e.titleFontSize,background:`transparent`,border:0,outline:`none`,cursor:`pointer`,color:c,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:n}},"&-btn":{outline:`none`,transition:`all ${e.motionDurationSlow}`,[`${l}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:`none`,lineHeight:1,marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorIcon,fontSize:e.fontSizeSM,background:`transparent`,border:`none`,outline:`none`,cursor:`pointer`,transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading},...$c(e)},"&:hover":{color:r},[`&${l}-active ${l}-btn`]:{color:s},[`&${l}-focus ${l}-btn:focus-visible`]:Qc(e),[`&${l}-disabled`]:{color:e.colorTextDisabled,cursor:`not-allowed`},[`&${l}-disabled ${l}-btn, &${l}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${l}-remove ${i}`]:{margin:0,verticalAlign:`middle`},[`${i}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${l} + ${l}`]:{margin:{_skip_check_:!0,value:a}}}},Ile=e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:i,calc:a}=e;return{[`${t}-rtl`]:{direction:`rtl`,[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:e.marginSM}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:e.marginXS},marginLeft:{_skip_check_:!0,value:a(e.marginXXS).mul(-1).equal()},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:i},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:`rtl`},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:`right`}}}}},Lle=e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:i,itemHoverColor:a,itemActiveColor:o,colorBorderSecondary:s}=e;return{[t]:{...Yc(e),display:`flex`,[`> ${t}-nav, > div > ${t}-nav`]:{position:`relative`,display:`flex`,flex:`none`,alignItems:`center`,[`${t}-nav-wrap`]:{position:`relative`,display:`flex`,flex:`auto`,alignSelf:`stretch`,overflow:`hidden`,whiteSpace:`nowrap`,transform:`translate(0)`,"&::before, &::after":{position:`absolute`,zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:`''`,pointerEvents:`none`}},[`${t}-nav-list`]:{position:`relative`,display:`flex`,transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:`flex`,alignSelf:`stretch`},[`${t}-nav-operations-hidden`]:{position:`absolute`,visibility:`hidden`,pointerEvents:`none`},[`${t}-nav-more`]:{position:`relative`,padding:n,background:`transparent`,border:0,color:e.colorText,"&::after":{position:`absolute`,right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:`translateY(100%)`,content:`''`}},[`${t}-nav-add`]:{minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:i},background:`transparent`,border:`${J(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)} 0 0`,outline:`none`,cursor:`pointer`,color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:a},"&:active, &:focus:not(:focus-visible)":{color:o},...$c(e,-3)}},[`${t}-extra-content`]:{flex:`none`},[`${t}-ink-bar`]:{position:`absolute`,background:e.inkBarColor,pointerEvents:`none`},...Fle(e),[`${t}-content`]:{position:`relative`,width:`100%`},[`${t}-content-holder`]:{flex:`auto`,minWidth:0,minHeight:0},[`${t}-tabpane`]:{...$c(e),"&-hidden":{display:`none`}}},[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:`auto`}}}}}},Rle=il(`Tabs`,e=>{let t=_s(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${J(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${J(e.horizontalItemGutter)}`});return[Ple(t),Ile(t),Nle(t),Mle(t),jle(t),Lle(t),Ale(t)]},e=>{let{cardHeight:t,cardHeightSM:n,cardHeightLG:r,controlHeight:i,controlHeightLG:a}=e,o=t||a,s=n||i,c=r||a+8;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:o,cardHeightSM:s,cardHeightLG:c,cardPadding:`${(o-e.fontHeight)/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${(s-e.fontHeight)/2-e.lineWidth}px ${e.paddingXS}px`,cardPaddingLG:`${(c-e.fontHeightLG)/2-e.lineWidth}px ${e.padding}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:``,horizontalItemMarginRTL:``,horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),zle=()=>null,NA=C.forwardRef((e,t)=>{let{type:n,className:r,rootClassName:i,size:a,onEdit:o,hideAdd:s,centered:c,addIcon:l,removeIcon:u,moreIcon:d,more:f,popupClassName:p,children:m,items:h,animated:g,style:_,indicatorSize:v,indicator:y,classNames:b,styles:x,destroyInactiveTabPane:S,destroyOnHidden:w,tabPlacement:T,tabPosition:E,...D}=e,{prefixCls:O}=D,{getPrefixCls:k,direction:A,getPopupContainer:j,className:M,style:N,classNames:P,styles:F}=ui(`tabs`),{tabs:I}=C.useContext(si),L=k(`tabs`,O),R=xf(L),[z,B]=Rle(L,R),V=C.useRef(null);C.useImperativeHandle(t,()=>({nativeElement:V.current}));let H;n===`editable-card`&&(H={onEdit:(e,{key:t,event:n})=>{o?.(e===`add`?n:t,e)},removeIcon:u??I?.removeIcon??C.createElement(zl,null),addIcon:(l??I?.addIcon)||C.createElement(uA,null),showAdd:s!==!0});let U=k(),W=Rm(a),ee=kle(h,m),te=Dle(L,g),ne={align:y?.align??I?.indicator?.align,size:y?.size??v??I?.indicator?.size??I?.indicatorSize},re=C.useMemo(()=>{let e=T??E??void 0,t=A===`rtl`;switch(e){case`start`:return t?`right`:`left`;case`end`:return t?`left`:`right`;default:return e}},[T,E,A]),ie={...e,size:W,tabPlacement:re,items:ee},[ae,G]=Id([P,b],[F,x],{props:ie},{popup:{_default:`root`}});return C.createElement(Tle,{ref:V,direction:A,getPopupContainer:j,...D,items:ee,className:q({[`${L}-large`]:W===`large`,[`${L}-small`]:W===`small`,[`${L}-card`]:[`card`,`editable-card`].includes(n),[`${L}-editable-card`]:n===`editable-card`,[`${L}-centered`]:c},M,r,i,ae.root,z,B,R),classNames:{...ae,popup:q(p,z,B,R,ae.popup?.root)},styles:G,style:{...G.root,...N,..._},editable:H,more:{icon:I?.more?.icon??I?.moreIcon??d??C.createElement(IS,null),transitionName:`${U}-slide-up`,...f},prefixCls:L,animated:te,indicator:ne,destroyOnHidden:w??S,tabPosition:re})});NA.TabPane=zle;var PA=({prefixCls:e,className:t,hoverable:n=!0,...r})=>{let{getPrefixCls:i}=C.useContext(si),a=i(`card`,e),o=q(`${a}-grid`,t,{[`${a}-grid-hoverable`]:n});return C.createElement(`div`,{...r,className:o})},Ble=e=>{let{antCls:t,componentCls:n,headerHeight:r,headerPadding:i,tabsMarginBottom:a}=e;return{display:`flex`,justifyContent:`center`,flexDirection:`column`,minHeight:r,marginBottom:-1,padding:`0 ${J(i)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)} 0 0`,...Zc(),"&-wrapper":{width:`100%`,display:`flex`,alignItems:`center`},"&-title":{display:`inline-block`,flex:1,...Jc,[` > ${n}-typography, > ${n}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}},[`${t}-tabs-top`]:{clear:`both`,marginBottom:a,color:e.colorText,fontWeight:`normal`,fontSize:e.fontSize,"&-bar":{borderBottom:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}}},Rle=e=>{let{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:i}=e;return{width:`33.33%`,padding:t,border:0,borderRadius:0,boxShadow:` + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}},[`${t}-tabs-top`]:{clear:`both`,marginBottom:a,color:e.colorText,fontWeight:`normal`,fontSize:e.fontSize,"&-bar":{borderBottom:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}}},Vle=e=>{let{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:i}=e;return{width:`33.33%`,padding:t,border:0,borderRadius:0,boxShadow:` ${J(i)} 0 0 0 ${n}, 0 ${J(i)} 0 0 ${n}, ${J(i)} ${J(i)} 0 0 ${n}, ${J(i)} 0 0 0 ${n} inset, 0 ${J(i)} 0 0 ${n} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:`relative`,zIndex:1,boxShadow:r}}},zle=e=>{let{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:i,colorBorderSecondary:a,actionsBg:o}=e;return{margin:0,padding:0,listStyle:`none`,background:o,borderTop:`${J(e.lineWidth)} ${e.lineType} ${a}`,display:`flex`,borderRadius:`0 0 ${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)}`,...Zc(),"& > li":{margin:r,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 ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:`inline-block`,width:`100%`,color:e.colorIcon,lineHeight:J(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:i,lineHeight:J(e.calc(i).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${J(e.lineWidth)} ${e.lineType} ${a}`}}}},Ble=e=>({margin:`${J(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:`flex`,...Zc(),"&-avatar":{paddingInlineEnd:e.padding},"&-section":{overflow:`hidden`,flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,...Jc},"&-description":{color:e.colorTextDescription}}),Vle=e=>{let{componentCls:t,colorFillAlter:n,headerPadding:r,bodyPadding:i}=e;return{[`${t}-head`]:{padding:`0 ${J(r)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${J(e.padding)} ${J(i)}`}}},Hle=e=>{let{componentCls:t}=e;return{overflow:`hidden`,[`${t}-body`]:{userSelect:`none`}}},Ule=e=>{let{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:i,boxShadowTertiary:a,bodyPadding:o,extraColor:s,motionDurationMid:c}=e;return{[t]:{...Yc(e),position:`relative`,background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:a},[`${t}-head`]:Lle(e),[`${t}-extra`]:{marginInlineStart:`auto`,color:s,fontWeight:`normal`,fontSize:e.fontSize},[`${t}-body`]:{padding:o,borderRadius:`0 0 ${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)}`,"&:first-child":{borderStartStartRadius:e.borderRadiusLG,borderStartEndRadius:e.borderRadiusLG},"&:not(:last-child)":{borderEndStartRadius:0,borderEndEndRadius:0}},[`${t}-grid`]:Rle(e),[`${t}-cover`]:{"> *":{display:`block`,width:`100%`,borderRadius:`${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:zle(e),[`${t}-meta`]:Ble(e)},[`${t}-bordered`]:{border:`${J(e.lineWidth)} ${e.lineType} ${i}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:`pointer`,transition:[`box-shadow`,`border-color`].map(e=>`${e} ${c}`).join(`, `),"&:hover":{borderColor:`transparent`,boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)} 0 0 `,[`&:not(:has(> ${t}-head))`]:{borderRadius:0},[`${t}-body`]:{display:`flex`,flexWrap:`wrap`},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:Vle(e),[`${t}-loading`]:Hle(e),[`${t}-rtl`]:{direction:`rtl`}}},Wle=e=>{let{componentCls:t,bodyPaddingSM:n,headerPaddingSM:r,headerHeightSM:i,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:i,padding:`0 ${J(r)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:`flex`,alignItems:`center`}}}}},Gle=il(`Card`,e=>{let t=_s(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize});return[Ule(t),Wle(t)]},e=>({headerBg:`transparent`,headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:e.bodyPadding??e.paddingLG,headerPadding:e.headerPadding??e.paddingLG})),Kle=e=>{let{actionClasses:t,actions:n=[],actionStyle:r}=e;return C.createElement(`ul`,{className:t,style:r},n.map((e,t)=>{let r=`action-${t}`;return C.createElement(`li`,{style:{width:`${100/n.length}%`},key:r},C.createElement(`span`,null,e))}))},qle=C.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:i,style:a,extra:o,headStyle:s={},bodyStyle:c={},title:l,loading:u,bordered:d,variant:f,size:p,type:m,cover:h,actions:g,tabList:_,children:v,activeTabKey:y,defaultActiveTabKey:b,tabBarExtraContent:x,hoverable:S,tabProps:w={},classNames:T,styles:E,...D}=e,{getPrefixCls:O,direction:k,className:A,style:j,classNames:M,styles:N}=ui(`card`),[P]=eb(`card`,f,d),F=Pm(p),I={...e,size:F,variant:P},[L,R]=Id([M,T],[N,E],{props:I}),z=t=>{e.onTabChange?.(t)},B=C.useMemo(()=>wr(v),[v]),V=C.useMemo(()=>B.some(e=>C.isValidElement(e)&&e.type===LA),[B]),H=O(`card`,n),[U,W]=Gle(H),ee=C.createElement($_,{loading:!0,active:!0,paragraph:{rows:4},title:!1},v),te=y!==void 0,ne={...w,[te?`activeKey`:`defaultActiveKey`]:te?y:b,tabBarExtraContent:x},re,ie=F===`small`?F:`large`,ae=_?C.createElement(IA,{size:ie,...ne,className:`${H}-head-tabs`,onChange:z,items:_.map(({tab:e,...t})=>({label:e,...t}))}):null;if(l||o||ae){let e=q(`${H}-head`,L.header),t=q(`${H}-head-title`,L.title),n=q(`${H}-extra`,L.extra),r={...s,...R.header};re=C.createElement(`div`,{className:e,style:r},C.createElement(`div`,{className:`${H}-head-wrapper`},l&&C.createElement(`div`,{className:t,style:R.title},l),o&&C.createElement(`div`,{className:n,style:R.extra},o)),ae)}let G=q(`${H}-cover`,L.cover),oe=h?C.createElement(`div`,{className:G,style:R.cover},h):null,K=q(`${H}-body`,L.body),se={...c,...R.body},ce=u||B.length?C.createElement(`div`,{className:K,style:se},u?ee:v):null,le=q(`${H}-actions`,L.actions),ue=g?.length?C.createElement(Kle,{actionClasses:le,actionStyle:R.actions,actions:g}):null,de=Cr(D,[`onTabChange`]),fe=q(H,A,{[`${H}-loading`]:u,[`${H}-bordered`]:P!==`borderless`,[`${H}-hoverable`]:S,[`${H}-contain-grid`]:V,[`${H}-contain-tabs`]:_?.length,[`${H}-small`]:F===`small`,[`${H}-type-${m}`]:!!m,[`${H}-rtl`]:k===`rtl`},r,i,U,W,L.root),pe={...R.root,...j,...a};return C.createElement(`div`,{ref:t,...de,className:fe,style:pe},re,oe,ce,ue)}),Jle=e=>{let{prefixCls:t,className:n,avatar:r,title:i,description:a,style:o,classNames:s,styles:c,...l}=e,{getPrefixCls:u,className:d,style:f,classNames:p,styles:m}=ui(`cardMeta`),h=`${u(`card`,t)}-meta`,[g,_]=Id([p,s],[m,c],{props:e}),v=q(h,n,d,g.root),y={...f,..._.root,...o},b=q(`${h}-avatar`,g.avatar),x=q(`${h}-title`,g.title),S=q(`${h}-description`,g.description),w=q(`${h}-section`,g.section),T=r?C.createElement(`div`,{className:b,style:_.avatar},r):null,E=i?C.createElement(`div`,{className:x,style:_.title},i):null,D=a?C.createElement(`div`,{className:S,style:_.description},a):null,O=E||D?C.createElement(`div`,{className:w,style:_.section},E,D):null;return C.createElement(`div`,{...l,className:v,style:y},T,O)},RA=qle;RA.Grid=LA,RA.Meta=Jle;function Yle(e,t,n){var r=n||{},i=r.noTrailing,a=i===void 0?!1:i,o=r.noLeading,s=o===void 0?!1:o,c=r.debounceMode,l=c===void 0?void 0:c,u,d=!1,f=0;function p(){u&&clearTimeout(u)}function m(e){var t=(e||{}).upcomingOnly,n=t===void 0?!1:t;p(),d=!n}function h(){var n=[...arguments],r=this,i=Date.now()-f;if(d)return;function o(){f=Date.now(),t.apply(r,n)}function c(){u=void 0}!s&&l&&!u&&o(),p(),l===void 0&&i>e?s?(f=Date.now(),a||(u=setTimeout(l?c:o,e))):o():a!==!0&&(u=setTimeout(l?c:o,l===void 0?e-i:e))}return h.cancel=m,h}function Xle(e,t,n){var r=(n||{}).atBegin;return Yle(e,t,{debounceMode:(r===void 0?!1:r)!==!1})}function zA(e,t){return e[t]}function BA(e,t){return`${e}-${t}`}function Zle(e){return e&&e.type&&e.type.isTreeNode}function VA(e,t){return e??t}function HA(e){let{title:t,_title:n,key:r,children:i}=e||{},a=t||`title`;return{title:a,_title:n||[a],key:r||`key`,children:i||`children`}}function UA(e){function t(e){return wr(e).map(e=>{if(!Zle(e))return xr(!e,`Tree/TreeNode can only accept TreeNode as children.`),null;let{key:n}=e,{children:r,...i}=e.props,a={key:n,...i},o=t(r);return o.length&&(a.children=o),a}).filter(e=>e)}return t(e)}function WA(e,t,n){let{_title:r,key:i,children:a}=HA(n),o=new Set(t===!0?[]:t),s=[];function c(e,n=null){return e.map((l,u)=>{let d=BA(n?n.pos:`0`,u),f=VA(l[i],d),p;for(let e=0;ee[a]:typeof a==`function`&&(u=e=>a(e)):u=(e,t)=>VA(e[s],t);function d(n,r,i,a){let o=n?n[l]:e,s=n?BA(i.pos,r):`0`,c=n?[...a,n]:[];n&&t({node:n,index:r,pos:s,key:u(n,s),parentPos:i.node?i.pos:null,level:i.level+1,nodes:c}),o&&o.forEach((e,t)=>{d(e,t,{node:n,pos:s,level:i?i.level+1:-1},c)})}d(null)}function GA(e,{initWrapper:t,processEntity:n,onProcessFinished:r,externalGetKey:i,childrenPropName:a,fieldNames:o}={},s){let c=i||s,l={},u={},d={posEntities:l,keyEntities:u};return t&&(d=t(d)||d),Qle(e,e=>{let{node:t,index:r,pos:i,key:a,parentPos:o,level:s,nodes:c}=e,f={node:t,nodes:c,index:r,key:a,pos:i,level:s},p=VA(a,i);l[i]=f,u[p]=f,f.parent=l[o],f.parent&&(f.parent.children=f.parent.children||[],f.parent.children.push(f)),n&&n(f,d)},{externalGetKey:c,childrenPropName:a,fieldNames:o}),r&&r(d),d}function KA(e,t,n,r){return e===!1?!1:e||!t&&!n||t&&r&&!n}function qA(e,{expandedKeys:t,selectedKeys:n,loadedKeys:r,loadingKeys:i,checkedKeys:a,halfCheckedKeys:o,dragOverNodeKey:s,dropPosition:c,keyEntities:l}){let u=zA(l,e);return{eventKey:e,expanded:t.indexOf(e)!==-1,selected:n.indexOf(e)!==-1,loaded:r.indexOf(e)!==-1,loading:i.indexOf(e)!==-1,checked:a.indexOf(e)!==-1,halfChecked:o.indexOf(e)!==-1,pos:String(u?u.pos:``),dragOver:s===e&&c===0,dragOverGapTop:s===e&&c===-1,dragOverGapBottom:s===e&&c===1}}function JA(e){let{data:t,expanded:n,selected:r,checked:i,loaded:a,loading:o,halfChecked:s,dragOver:c,dragOverGapTop:l,dragOverGapBottom:u,pos:d,active:f,eventKey:p}=e,m={...t,expanded:n,selected:r,checked:i,loaded:a,loading:o,halfChecked:s,dragOver:c,dragOverGapTop:l,dragOverGapBottom:u,pos:d,active:f,key:p};return`props`in m||Object.defineProperty(m,`props`,{get(){return xr(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),m}function YA(e,t){let n=new Set;return e.forEach(e=>{t.has(e)||n.add(e)}),n}function $le(e){let{disabled:t,disableCheckbox:n,checkable:r}=e||{};return!!(t||n)||r===!1}function eue(e,t,n,r){let i=new Set(e),a=new Set;for(let e=0;e<=n;e+=1)(t.get(e)||new Set).forEach(e=>{let{key:t,node:n,children:a=[]}=e;i.has(t)&&!r(n)&&a.filter(e=>!r(e.node)).forEach(e=>{i.add(e.key)})});let o=new Set;for(let e=n;e>=0;--e)(t.get(e)||new Set).forEach(e=>{let{parent:t,node:n}=e;if(r(n)||!e.parent||o.has(e.parent.key))return;if(r(e.parent.node)){o.add(t.key);return}let s=!0,c=!1;(t.children||[]).filter(e=>!r(e.node)).forEach(({key:e})=>{let t=i.has(e);s&&!t&&(s=!1),!c&&(t||a.has(e))&&(c=!0)}),s&&i.add(t.key),c&&a.add(t.key),o.add(t.key)});return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(YA(a,i))}}function tue(e,t,n,r,i){let a=new Set(e),o=new Set(t);for(let e=0;e<=r;e+=1)(n.get(e)||new Set).forEach(e=>{let{key:t,node:n,children:r=[]}=e;!a.has(t)&&!o.has(t)&&!i(n)&&r.filter(e=>!i(e.node)).forEach(e=>{a.delete(e.key)})});o=new Set;let s=new Set;for(let e=r;e>=0;--e)(n.get(e)||new Set).forEach(e=>{let{parent:t,node:n}=e;if(i(n)||!e.parent||s.has(e.parent.key))return;if(i(e.parent.node)){s.add(t.key);return}let r=!0,c=!1;(t.children||[]).filter(e=>!i(e.node)).forEach(({key:e})=>{let t=a.has(e);r&&!t&&(r=!1),!c&&(t||o.has(e))&&(c=!0)}),r||a.delete(t.key),c&&o.add(t.key),s.add(t.key)});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(YA(o,a))}}function XA(e,t,n,r){let i=[],a;a=r||$le;let o=new Set(e.filter(e=>{let t=!!zA(n,e);return t||i.push(e),t})),s=new Map,c=0;Object.keys(n).forEach(e=>{let t=n[e],{level:r}=t,i=s.get(r);i||(i=new Set,s.set(r,i)),i.add(t),c=Math.max(c,r)}),xr(!i.length,`Tree missing follow keys: ${i.slice(0,100).map(e=>`'${e}'`).join(`, `)}`);let l;return l=t===!0?eue(o,s,c,a):tue(o,t.halfCheckedKeys,s,c,a),l}var nue=e=>{let{checkboxCls:t,checkboxSize:n,lineWidth:r}=e,i=`${t}-wrapper`;return[{[`${t}-group`]:{...Yc(e),display:`inline-flex`,flexWrap:`wrap`,columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}},[i]:{...Yc(e),display:`inline-flex`,alignItems:`baseline`,cursor:`pointer`,"&:after":{display:`inline-block`,width:0,overflow:`hidden`,content:`'\\a0'`},[`& + ${i}`]:{marginInlineStart:0},[`&${i}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}},[t]:{...Yc(e),position:`relative`,whiteSpace:`nowrap`,lineHeight:1,cursor:`pointer`,alignSelf:`center`,boxSizing:`border-box`,display:`block`,width:n,height:n,direction:`ltr`,backgroundColor:e.colorBgContainer,border:`${J(r)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:`separate`,transition:`all ${e.motionDurationSlow}`,flex:`none`,...ch(),"&:after":{boxSizing:`border-box`,position:`absolute`,top:`calc(${n} / 2 - ${r})`,insetInlineStart:`calc(${n} / 4 - ${r})`,display:`table`,width:e.calc(n).div(14).mul(5).equal(),height:e.calc(n).div(14).mul(8).equal(),border:`${J(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:`rotate(45deg) scale(0) translate(-50%,-50%)`,opacity:0,content:`""`,transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`,...ch()},[`${t}-input`]:{position:`absolute`,inset:`calc(-1 * (${r}))`,zIndex:1,cursor:`pointer`,opacity:0,margin:0},[`&:has(${t}-input:focus-visible)`]:Qc(e),"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}}},{[` + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:`relative`,zIndex:1,boxShadow:r}}},Hle=e=>{let{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:i,colorBorderSecondary:a,actionsBg:o}=e;return{margin:0,padding:0,listStyle:`none`,background:o,borderTop:`${J(e.lineWidth)} ${e.lineType} ${a}`,display:`flex`,borderRadius:`0 0 ${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)}`,...Zc(),"& > li":{margin:r,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 ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:`inline-block`,width:`100%`,color:e.colorIcon,lineHeight:J(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:i,lineHeight:J(e.calc(i).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${J(e.lineWidth)} ${e.lineType} ${a}`}}}},Ule=e=>({margin:`${J(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:`flex`,...Zc(),"&-avatar":{paddingInlineEnd:e.padding},"&-section":{overflow:`hidden`,flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,...Jc},"&-description":{color:e.colorTextDescription}}),Wle=e=>{let{componentCls:t,colorFillAlter:n,headerPadding:r,bodyPadding:i}=e;return{[`${t}-head`]:{padding:`0 ${J(r)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${J(e.padding)} ${J(i)}`}}},Gle=e=>{let{componentCls:t}=e;return{overflow:`hidden`,[`${t}-body`]:{userSelect:`none`}}},Kle=e=>{let{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:i,boxShadowTertiary:a,bodyPadding:o,extraColor:s,motionDurationMid:c}=e;return{[t]:{...Yc(e),position:`relative`,background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:a},[`${t}-head`]:Ble(e),[`${t}-extra`]:{marginInlineStart:`auto`,color:s,fontWeight:`normal`,fontSize:e.fontSize},[`${t}-body`]:{padding:o,borderRadius:`0 0 ${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)}`,"&:first-child":{borderStartStartRadius:e.borderRadiusLG,borderStartEndRadius:e.borderRadiusLG},"&:not(:last-child)":{borderEndStartRadius:0,borderEndEndRadius:0}},[`${t}-grid`]:Vle(e),[`${t}-cover`]:{"> *":{display:`block`,width:`100%`,borderRadius:`${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:Hle(e),[`${t}-meta`]:Ule(e)},[`${t}-bordered`]:{border:`${J(e.lineWidth)} ${e.lineType} ${i}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:`pointer`,transition:[`box-shadow`,`border-color`].map(e=>`${e} ${c}`).join(`, `),"&:hover":{borderColor:`transparent`,boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${J(e.borderRadiusLG)} ${J(e.borderRadiusLG)} 0 0 `,[`&:not(:has(> ${t}-head))`]:{borderRadius:0},[`${t}-body`]:{display:`flex`,flexWrap:`wrap`},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:Wle(e),[`${t}-loading`]:Gle(e),[`${t}-rtl`]:{direction:`rtl`}}},qle=e=>{let{componentCls:t,bodyPaddingSM:n,headerPaddingSM:r,headerHeightSM:i,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:i,padding:`0 ${J(r)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:`flex`,alignItems:`center`}}}}},Jle=il(`Card`,e=>{let t=_s(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize});return[Kle(t),qle(t)]},e=>({headerBg:`transparent`,headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:e.bodyPadding??e.paddingLG,headerPadding:e.headerPadding??e.paddingLG})),Yle=e=>{let{actionClasses:t,actions:n=[],actionStyle:r}=e;return C.createElement(`ul`,{className:t,style:r},n.map((e,t)=>{let r=`action-${t}`;return C.createElement(`li`,{style:{width:`${100/n.length}%`},key:r},C.createElement(`span`,null,e))}))},Xle=C.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:i,style:a,extra:o,headStyle:s={},bodyStyle:c={},title:l,loading:u,bordered:d,variant:f,size:p,type:m,cover:h,actions:g,tabList:_,children:v,activeTabKey:y,defaultActiveTabKey:b,tabBarExtraContent:x,hoverable:S,tabProps:w={},classNames:T,styles:E,...D}=e,{getPrefixCls:O,direction:k,className:A,style:j,classNames:M,styles:N}=ui(`card`),[P]=Yy(`card`,f,d),F=Rm(p),I={...e,size:F,variant:P},[L,R]=Id([M,T],[N,E],{props:I}),z=t=>{e.onTabChange?.(t)},B=C.useMemo(()=>wr(v),[v]),V=C.useMemo(()=>B.some(e=>C.isValidElement(e)&&e.type===PA),[B]),H=O(`card`,n),[U,W]=Jle(H),ee=C.createElement(av,{loading:!0,active:!0,paragraph:{rows:4},title:!1},v),te=y!==void 0,ne={...w,[te?`activeKey`:`defaultActiveKey`]:te?y:b,tabBarExtraContent:x},re,ie=F===`small`?F:`large`,ae=_?C.createElement(NA,{size:ie,...ne,className:`${H}-head-tabs`,onChange:z,items:_.map(({tab:e,...t})=>({label:e,...t}))}):null;if(l||o||ae){let e=q(`${H}-head`,L.header),t=q(`${H}-head-title`,L.title),n=q(`${H}-extra`,L.extra),r={...s,...R.header};re=C.createElement(`div`,{className:e,style:r},C.createElement(`div`,{className:`${H}-head-wrapper`},l&&C.createElement(`div`,{className:t,style:R.title},l),o&&C.createElement(`div`,{className:n,style:R.extra},o)),ae)}let G=q(`${H}-cover`,L.cover),oe=h?C.createElement(`div`,{className:G,style:R.cover},h):null,K=q(`${H}-body`,L.body),se={...c,...R.body},ce=u||B.length?C.createElement(`div`,{className:K,style:se},u?ee:v):null,le=q(`${H}-actions`,L.actions),ue=g?.length?C.createElement(Yle,{actionClasses:le,actionStyle:R.actions,actions:g}):null,de=Cr(D,[`onTabChange`]),fe=q(H,A,{[`${H}-loading`]:u,[`${H}-bordered`]:P!==`borderless`,[`${H}-hoverable`]:S,[`${H}-contain-grid`]:V,[`${H}-contain-tabs`]:_?.length,[`${H}-small`]:F===`small`,[`${H}-type-${m}`]:!!m,[`${H}-rtl`]:k===`rtl`},r,i,U,W,L.root),pe={...R.root,...j,...a};return C.createElement(`div`,{ref:t,...de,className:fe,style:pe},re,oe,ce,ue)}),Zle=e=>{let{prefixCls:t,className:n,avatar:r,title:i,description:a,style:o,classNames:s,styles:c,...l}=e,{getPrefixCls:u,className:d,style:f,classNames:p,styles:m}=ui(`cardMeta`),h=`${u(`card`,t)}-meta`,[g,_]=Id([p,s],[m,c],{props:e}),v=q(h,n,d,g.root),y={...f,..._.root,...o},b=q(`${h}-avatar`,g.avatar),x=q(`${h}-title`,g.title),S=q(`${h}-description`,g.description),w=q(`${h}-section`,g.section),T=r?C.createElement(`div`,{className:b,style:_.avatar},r):null,E=i?C.createElement(`div`,{className:x,style:_.title},i):null,D=a?C.createElement(`div`,{className:S,style:_.description},a):null,O=E||D?C.createElement(`div`,{className:w,style:_.section},E,D):null;return C.createElement(`div`,{...l,className:v,style:y},T,O)},FA=Xle;FA.Grid=PA,FA.Meta=Zle;function Qle(e,t,n){var r=n||{},i=r.noTrailing,a=i===void 0?!1:i,o=r.noLeading,s=o===void 0?!1:o,c=r.debounceMode,l=c===void 0?void 0:c,u,d=!1,f=0;function p(){u&&clearTimeout(u)}function m(e){var t=(e||{}).upcomingOnly,n=t===void 0?!1:t;p(),d=!n}function h(){var n=[...arguments],r=this,i=Date.now()-f;if(d)return;function o(){f=Date.now(),t.apply(r,n)}function c(){u=void 0}!s&&l&&!u&&o(),p(),l===void 0&&i>e?s?(f=Date.now(),a||(u=setTimeout(l?c:o,e))):o():a!==!0&&(u=setTimeout(l?c:o,l===void 0?e-i:e))}return h.cancel=m,h}function $le(e,t,n){var r=(n||{}).atBegin;return Qle(e,t,{debounceMode:(r===void 0?!1:r)!==!1})}function IA(e,t){return e[t]}function LA(e,t){return`${e}-${t}`}function eue(e){return e&&e.type&&e.type.isTreeNode}function RA(e,t){return e??t}function zA(e){let{title:t,_title:n,key:r,children:i}=e||{},a=t||`title`;return{title:a,_title:n||[a],key:r||`key`,children:i||`children`}}function BA(e){function t(e){return wr(e).map(e=>{if(!eue(e))return xr(!e,`Tree/TreeNode can only accept TreeNode as children.`),null;let{key:n}=e,{children:r,...i}=e.props,a={key:n,...i},o=t(r);return o.length&&(a.children=o),a}).filter(e=>e)}return t(e)}function VA(e,t,n){let{_title:r,key:i,children:a}=zA(n),o=new Set(t===!0?[]:t),s=[];function c(e,n=null){return e.map((l,u)=>{let d=LA(n?n.pos:`0`,u),f=RA(l[i],d),p;for(let e=0;ee[a]:typeof a==`function`&&(u=e=>a(e)):u=(e,t)=>RA(e[s],t);function d(n,r,i,a){let o=n?n[l]:e,s=n?LA(i.pos,r):`0`,c=n?[...a,n]:[];n&&t({node:n,index:r,pos:s,key:u(n,s),parentPos:i.node?i.pos:null,level:i.level+1,nodes:c}),o&&o.forEach((e,t)=>{d(e,t,{node:n,pos:s,level:i?i.level+1:-1},c)})}d(null)}function HA(e,{initWrapper:t,processEntity:n,onProcessFinished:r,externalGetKey:i,childrenPropName:a,fieldNames:o}={},s){let c=i||s,l={},u={},d={posEntities:l,keyEntities:u};return t&&(d=t(d)||d),tue(e,e=>{let{node:t,index:r,pos:i,key:a,parentPos:o,level:s,nodes:c}=e,f={node:t,nodes:c,index:r,key:a,pos:i,level:s},p=RA(a,i);l[i]=f,u[p]=f,f.parent=l[o],f.parent&&(f.parent.children=f.parent.children||[],f.parent.children.push(f)),n&&n(f,d)},{externalGetKey:c,childrenPropName:a,fieldNames:o}),r&&r(d),d}function UA(e,t,n,r){return e===!1?!1:e||!t&&!n||t&&r&&!n}function WA(e,{expandedKeys:t,selectedKeys:n,loadedKeys:r,loadingKeys:i,checkedKeys:a,halfCheckedKeys:o,dragOverNodeKey:s,dropPosition:c,keyEntities:l}){let u=IA(l,e);return{eventKey:e,expanded:t.indexOf(e)!==-1,selected:n.indexOf(e)!==-1,loaded:r.indexOf(e)!==-1,loading:i.indexOf(e)!==-1,checked:a.indexOf(e)!==-1,halfChecked:o.indexOf(e)!==-1,pos:String(u?u.pos:``),dragOver:s===e&&c===0,dragOverGapTop:s===e&&c===-1,dragOverGapBottom:s===e&&c===1}}function GA(e){let{data:t,expanded:n,selected:r,checked:i,loaded:a,loading:o,halfChecked:s,dragOver:c,dragOverGapTop:l,dragOverGapBottom:u,pos:d,active:f,eventKey:p}=e,m={...t,expanded:n,selected:r,checked:i,loaded:a,loading:o,halfChecked:s,dragOver:c,dragOverGapTop:l,dragOverGapBottom:u,pos:d,active:f,key:p};return`props`in m||Object.defineProperty(m,`props`,{get(){return xr(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),m}function KA(e,t){let n=new Set;return e.forEach(e=>{t.has(e)||n.add(e)}),n}function nue(e){let{disabled:t,disableCheckbox:n,checkable:r}=e||{};return!!(t||n)||r===!1}function rue(e,t,n,r){let i=new Set(e),a=new Set;for(let e=0;e<=n;e+=1)(t.get(e)||new Set).forEach(e=>{let{key:t,node:n,children:a=[]}=e;i.has(t)&&!r(n)&&a.filter(e=>!r(e.node)).forEach(e=>{i.add(e.key)})});let o=new Set;for(let e=n;e>=0;--e)(t.get(e)||new Set).forEach(e=>{let{parent:t,node:n}=e;if(r(n)||!e.parent||o.has(e.parent.key))return;if(r(e.parent.node)){o.add(t.key);return}let s=!0,c=!1;(t.children||[]).filter(e=>!r(e.node)).forEach(({key:e})=>{let t=i.has(e);s&&!t&&(s=!1),!c&&(t||a.has(e))&&(c=!0)}),s&&i.add(t.key),c&&a.add(t.key),o.add(t.key)});return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(KA(a,i))}}function iue(e,t,n,r,i){let a=new Set(e),o=new Set(t);for(let e=0;e<=r;e+=1)(n.get(e)||new Set).forEach(e=>{let{key:t,node:n,children:r=[]}=e;!a.has(t)&&!o.has(t)&&!i(n)&&r.filter(e=>!i(e.node)).forEach(e=>{a.delete(e.key)})});o=new Set;let s=new Set;for(let e=r;e>=0;--e)(n.get(e)||new Set).forEach(e=>{let{parent:t,node:n}=e;if(i(n)||!e.parent||s.has(e.parent.key))return;if(i(e.parent.node)){s.add(t.key);return}let r=!0,c=!1;(t.children||[]).filter(e=>!i(e.node)).forEach(({key:e})=>{let t=a.has(e);r&&!t&&(r=!1),!c&&(t||o.has(e))&&(c=!0)}),r||a.delete(t.key),c&&o.add(t.key),s.add(t.key)});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(KA(o,a))}}function qA(e,t,n,r){let i=[],a;a=r||nue;let o=new Set(e.filter(e=>{let t=!!IA(n,e);return t||i.push(e),t})),s=new Map,c=0;Object.keys(n).forEach(e=>{let t=n[e],{level:r}=t,i=s.get(r);i||(i=new Set,s.set(r,i)),i.add(t),c=Math.max(c,r)}),xr(!i.length,`Tree missing follow keys: ${i.slice(0,100).map(e=>`'${e}'`).join(`, `)}`);let l;return l=t===!0?rue(o,s,c,a):iue(o,t.halfCheckedKeys,s,c,a),l}var aue=e=>{let{checkboxCls:t,checkboxSize:n,lineWidth:r}=e,i=`${t}-wrapper`;return[{[`${t}-group`]:{...Yc(e),display:`inline-flex`,flexWrap:`wrap`,columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}},[i]:{...Yc(e),display:`inline-flex`,alignItems:`baseline`,cursor:`pointer`,"&:after":{display:`inline-block`,width:0,overflow:`hidden`,content:`'\\a0'`},[`& + ${i}`]:{marginInlineStart:0},[`&${i}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}},[t]:{...Yc(e),position:`relative`,whiteSpace:`nowrap`,lineHeight:1,cursor:`pointer`,alignSelf:`center`,boxSizing:`border-box`,display:`block`,width:n,height:n,direction:`ltr`,backgroundColor:e.colorBgContainer,border:`${J(r)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:`separate`,transition:`all ${e.motionDurationSlow}`,flex:`none`,...fh(),"&:after":{boxSizing:`border-box`,position:`absolute`,top:`calc(${n} / 2 - ${r})`,insetInlineStart:`calc(${n} / 4 - ${r})`,display:`table`,width:e.calc(n).div(14).mul(5).equal(),height:e.calc(n).div(14).mul(8).equal(),border:`${J(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:`rotate(45deg) scale(0) translate(-50%,-50%)`,opacity:0,content:`""`,transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`,...fh()},[`${t}-input`]:{position:`absolute`,inset:`calc(-1 * (${r}))`,zIndex:1,cursor:`pointer`,opacity:0,margin:0},[`&:has(${t}-input:focus-visible)`]:Qc(e),"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}}},{[` ${i}:not(${i}-disabled), ${t}:not(${t}-disabled) - `]:{[`&:hover ${t}`]:{borderColor:e.colorPrimary}},[`${i}:not(${i}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled)`]:{backgroundColor:e.colorPrimaryHover,borderColor:`transparent`}}},{[`${t}-checked`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:`rotate(45deg) scale(1) translate(-50%,-50%)`,transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`,...ch()},[`&:not(${t}-disabled):hover`]:{backgroundColor:e.colorPrimaryHover,borderColor:`transparent`}}},{[t]:{"&-indeterminate":{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,"&:after":{top:`50%`,insetInlineStart:`50%`,width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:`translate(-50%, -50%) scale(1)`,opacity:1,content:`""`},"&:hover":{backgroundColor:e.colorBgContainer,borderColor:e.colorPrimary}}}},{[`${i}-disabled`]:{cursor:`not-allowed`},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:`not-allowed`,pointerEvents:`none`},background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate::after`]:{background:e.colorTextDisabled}}}]};function ZA(e,t){return nue(_s(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize}))}var QA=il(`Checkbox`,(e,{prefixCls:t})=>[ZA(t,e)]),$A=C.createContext(null),ej=C.forwardRef((e,t)=>{let{prefixCls:n,children:r,indeterminate:i=!1,onMouseEnter:a,onMouseLeave:o,skipGroup:s=!1,disabled:c,rootClassName:l,className:u,style:d,classNames:f,styles:p,name:m,value:h,checked:g,defaultChecked:_,onChange:v,...y}=e,{getPrefixCls:b,direction:x,className:S,style:w,classNames:T,styles:E}=ui(`checkbox`),D=C.useContext($A),{isFormItemInput:O}=C.useContext(N_),k=C.useContext(Bp),A=(D?.disabled||c)??k,[j,M]=Wn(_,g),N=j,P=Rn(e=>{M(e.target.checked),v?.(e),!s&&D?.toggleOption&&D.toggleOption({label:r,value:h})});D&&!s&&(N=D.value.includes(h));let F=C.useRef(null),I=tr(t,F);C.useEffect(()=>{if(!(s||!D))return D.registerValue(h),()=>{D.cancelValue(h)}},[h,s]),C.useEffect(()=>{F.current?.input&&(F.current.input.indeterminate=i)},[i]);let L=b(`checkbox`,n),R=xf(L),[z,B]=QA(L,R),V={...y},H={...e,indeterminate:i,disabled:A,checked:N},[U,W]=Id([T,f],[E,p],{props:H}),ee=q(`${L}-wrapper`,{[`${L}-rtl`]:x===`rtl`,[`${L}-wrapper-checked`]:N,[`${L}-wrapper-disabled`]:A,[`${L}-wrapper-in-form-item`]:O},S,u,U.root,l,B,R,z),te=q(U.icon,{[`${L}-indeterminate`]:i},Am,z),[ne,re]=Mk(V.onClick);return C.createElement(Nm,{component:`Checkbox`,disabled:A},C.createElement(`label`,{className:ee,style:{...W.root,...w,...d},onMouseEnter:a,onMouseLeave:o,onClick:ne},C.createElement(jk,{...V,name:!s&&D?D.name:m,checked:N,onClick:re,onChange:P,prefixCls:L,className:te,style:W.icon,disabled:A,ref:I,value:h}),pd(r)&&C.createElement(`span`,{className:q(`${L}-label`,U.label),style:W.label},r)))}),rue=C.forwardRef((e,t)=>{let{defaultValue:n,children:r,options:i=[],prefixCls:a,className:o,rootClassName:s,style:c,onChange:l,role:u=`group`,...d}=e,{getPrefixCls:f,direction:p}=C.useContext(si),[m,h]=C.useState(d.value||n||[]),[g,_]=C.useState([]);C.useEffect(()=>{`value`in d&&h(d.value||[])},[d.value]);let v=C.useMemo(()=>i.map(e=>typeof e==`string`||md(e)?{label:e,value:e}:e),[i]),y=e=>{_(t=>t.filter(t=>t!==e))},b=e=>{_(t=>[].concat(Qr(t),[e]))},x=e=>{let t=m.indexOf(e.value),n=Qr(m);t===-1?n.push(e.value):n.splice(t,1),`value`in d||h(n),l?.(n.filter(e=>g.includes(e)).sort((e,t)=>v.findIndex(t=>t.value===e)-v.findIndex(e=>e.value===t)))},S=f(`checkbox`,a),w=`${S}-group`,T=xf(S),[E,D]=QA(S,T),O=Cr(d,[`value`,`disabled`]),k=i.length?v.map(e=>C.createElement(ej,{prefixCls:S,key:e.value.toString(),disabled:`disabled`in e?e.disabled:d.disabled,value:e.value,checked:m.includes(e.value),onChange:e.onChange,className:q(`${w}-item`,e.className),style:e.style,title:e.title,id:e.id,required:e.required},e.label)):r,A=C.useMemo(()=>({toggleOption:x,value:m,disabled:d.disabled,name:d.name,registerValue:b,cancelValue:y}),[x,m,d.disabled,d.name,b,y]),j=q(w,{[`${w}-rtl`]:p===`rtl`},o,s,D,T,E);return C.createElement(`div`,{className:j,style:c,role:u,...O,ref:t},C.createElement($A.Provider,{value:A},k))}),tj=ej;tj.Group=rue,tj.__ANT_CHECKBOX=!0;var nj=(0,C.createContext)({});function rj(e){return e===`auto`?`1 1 auto`:md(e)?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}var ij=C.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=C.useContext(si),{gutter:i,wrap:a}=C.useContext(nj),{prefixCls:o,span:s,order:c,offset:l,push:u,pull:d,className:f,children:p,flex:m,style:h,...g}=e,_=n(`col`,o),v=n(),[y,b]=kne(_),[x]=sl(v,`col`),S={},w={};jb.forEach(t=>{let n={},i=e[t];md(i)?n.span=i:gd(i)&&(n=i||{}),delete g[t],w={...w,[`${_}-${t}-${n.span}`]:pd(n.span),[`${_}-${t}-order-${n.order}`]:n.order||n.order===0,[`${_}-${t}-offset-${n.offset}`]:n.offset||n.offset===0,[`${_}-${t}-push-${n.push}`]:n.push||n.push===0,[`${_}-${t}-pull-${n.pull}`]:n.pull||n.pull===0,[`${_}-rtl`]:r===`rtl`},n.flex&&(w[`${_}-${t}-flex`]=!0,S[x(`${t}-flex`)]=rj(n.flex))});let T=q(_,{[`${_}-${s}`]:s!==void 0,[`${_}-order-${c}`]:c,[`${_}-offset-${l}`]:l,[`${_}-push-${u}`]:u,[`${_}-pull-${d}`]:d},f,w,y,b),E={};return i?.[0]&&(E.paddingInline=md(i[0])?`${i[0]/2}px`:`calc(${i[0]} / 2)`),m&&(E.flex=rj(m),a===!1&&!E.minWidth&&(E.minWidth=0)),C.createElement(`div`,{...g,style:{...E,...h,...S},className:T,ref:t},p)});function iue(e,t){let n=[void 0,void 0],r=Array.isArray(e)?e:[e,void 0],i=t||{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0,xxxl:!0};return r.forEach((e,t)=>{if(gd(e))for(let r=0;r{let[n,r]=C.useState(()=>hd(e)?e:``),i=()=>{if(hd(e)&&r(e),gd(e))for(let n=0;n{i()},[JSON.stringify(e),t]),n},oj=C.forwardRef((e,t)=>{let{prefixCls:n,justify:r,align:i,className:a,style:o,children:s,gutter:c=0,wrap:l,...u}=e,{getPrefixCls:d,direction:f}=C.useContext(si),p=Nb(!0,null),m=aj(i,p),h=aj(r,p),g=d(`row`,n),[_,v]=One(g),y=iue(c,p),b=q(g,{[`${g}-no-wrap`]:l===!1,[`${g}-${h}`]:h,[`${g}-${m}`]:m,[`${g}-rtl`]:f===`rtl`},a,_,v),x={};y?.[0]&&(x.marginInline=md(y[0])?`${y[0]/-2}px`:`calc(${y[0]} / -2)`);let[S,w]=y;x.rowGap=w;let T=C.useMemo(()=>({gutter:[S,w],wrap:l}),[S,w,l]);return C.createElement(nj.Provider,{value:T},C.createElement(`div`,{...u,className:b,style:{...x,...o},ref:t},s))}),sj=ij,aue=e=>{let{componentCls:t}=e;return{[t]:{"&-horizontal":{[`&${t}`]:{"&-sm":{marginBlock:e.marginXS},"&-md":{marginBlock:e.margin}}}}}},oue=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:i,textPaddingInline:a,orientationMargin:o,verticalMarginInline:s}=e,c=`${t}-rail`;return{[t]:{...Yc(e),borderBlockStart:`${J(i)} solid ${r}`,[c]:{borderBlockStart:`${J(i)} solid ${r}`},"&-vertical":{position:`relative`,top:`-0.06em`,display:`inline-block`,height:`0.9em`,marginInline:s,marginBlock:0,verticalAlign:`middle`,borderTop:0,borderInlineStart:`${J(i)} solid ${r}`},"&-horizontal":{display:`flex`,clear:`both`,width:`100%`,minWidth:`100%`,margin:`${J(e.marginLG)} 0`},[`&-horizontal${t}-with-text`]:{display:`flex`,alignItems:`center`,margin:`${J(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:`nowrap`,textAlign:`center`,borderBlockStart:`0 ${r}`,[`${c}-start, ${c}-end`]:{width:`50%`,borderBlockStartColor:`inherit`,borderBlockEnd:0,content:`''`}},[`&-horizontal${t}-with-text-start`]:{[`${c}-start`]:{width:`calc(${o} * 100%)`},[`${c}-end`]:{width:`calc(100% - ${o} * 100%)`}},[`&-horizontal${t}-with-text-end`]:{[`${c}-start`]:{width:`calc(100% - ${o} * 100%)`},[`${c}-end`]:{width:`calc(${o} * 100%)`}},[`${t}-inner-text`]:{display:`inline-block`,paddingBlock:0,paddingInline:a},"&-dashed":{background:`none`,borderColor:r,borderStyle:`dashed`,borderWidth:`${J(i)} 0 0`,[c]:{borderBlockStart:`${J(i)} dashed ${r}`}},[`&-horizontal${t}-with-text${t}-dashed`]:{[`${c}-start, ${c}-end`]:{borderStyle:`dashed none none`}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:`none`,borderColor:r,borderStyle:`dotted`,borderWidth:`${J(i)} 0 0`,[c]:{borderBlockStart:`${J(i)} dotted ${r}`}},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:`dotted none none`}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:`normal`,fontSize:e.fontSize},[`&-horizontal${t}-with-text-start${t}-no-default-orientation-margin-start`]:{[`${c}-start`]:{width:0},[`${c}-end`]:{width:`100%`},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-end${t}-no-default-orientation-margin-end`]:{[`${c}-start`]:{width:`100%`},[`${c}-end`]:{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}}}},sue=il(`Divider`,e=>{let t=_s(e,{dividerHorizontalWithTextGutterMargin:e.margin,sizePaddingEdgeHorizontal:0});return[oue(t),aue(t)]},e=>({textPaddingInline:`1em`,orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),cue=[`left`,`right`,`center`,`start`,`end`],lue=e=>{let{getPrefixCls:t,direction:n,className:r,style:i,classNames:a,styles:o}=ui(`divider`),{prefixCls:s,type:c,orientation:l,vertical:u,titlePlacement:d,orientationMargin:f,className:p,rootClassName:m,children:h,dashed:g,variant:_=`solid`,plain:v,style:y,size:b,classNames:x,styles:S,...w}=e,T=t(`divider`,s),E=`${T}-rail`,[D,O]=sue(T),k=Pm(b),A=!!h,j=cue.includes(l||``),M=C.useMemo(()=>{let e=d??(j?l:`center`);return e===`left`?n===`rtl`?`end`:`start`:e===`right`?n===`rtl`?`start`:`end`:e},[n,l,d,j]),N=M===`start`&&f!=null,P=M===`end`&&f!=null,[F,I]=zd(l,u,c),L={...e,orientation:F,titlePlacement:M,size:k},[R,z]=Id([a,x],[o,S],{props:L}),B=q(T,r,D,O,`${T}-${F}`,{[`${T}-with-text`]:A,[`${T}-with-text-${M}`]:A,[`${T}-dashed`]:!!g,[`${T}-${_}`]:_!==`solid`,[`${T}-plain`]:!!v,[`${T}-rtl`]:n===`rtl`,[`${T}-no-default-orientation-margin-start`]:N,[`${T}-no-default-orientation-margin-end`]:P,[`${T}-md`]:k===`medium`||k===`middle`,[`${T}-sm`]:k===`small`,[E]:!h,[R.rail]:R.rail&&!h},p,m,R.root),V=C.useMemo(()=>md(f)?f:/^\d+$/.test(f)?Number(f):f,[f]),H={marginInlineStart:N?V:void 0,marginInlineEnd:P?V:void 0};return C.createElement(`div`,{className:B,style:{...i,...z.root,...h?{}:z.rail,...y},...w,role:`separator`},h&&!I&&C.createElement(C.Fragment,null,C.createElement(`div`,{className:q(E,`${E}-start`,R.rail),style:z.rail}),C.createElement(`span`,{className:q(`${T}-inner-text`,R.content),style:{...H,...z.content}},h),C.createElement(`div`,{className:q(E,`${E}-end`,R.rail),style:z.rail})))},uue={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`minus`,theme:`outlined`};function cj(){return cj=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,cj({},e,{ref:t,icon:uue}))),due={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z`}}]},name:`up`,theme:`outlined`};function uj(){return uj=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uj({},e,{ref:t,icon:due})));function fj(){return typeof BigInt==`function`}function pj(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function mj(e){var t=e.trim(),n=t.startsWith(`-`);n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,`$1`).replace(/\.0*$/,``).replace(/^0+/,``),t.startsWith(`.`)&&(t=`0${t}`);var r=t||`0`,i=r.split(`.`),a=i[0]||`0`,o=i[1]||`0`;a===`0`&&o===`0`&&(n=!1);var s=n?`-`:``;return{negative:n,negativeStr:s,trimStr:r,integerStr:a,decimalStr:o,fullStr:`${s}${r}`}}function hj(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes(`e`)}function gj(e){var t=Wo(e.toLowerCase().split(`e`),2),n=t[0],r=t[1],i=r===void 0?`0`:r,a=n.startsWith(`-`),o=Wo((a?n.slice(1):n).split(`.`),2),s=o[0],c=s===void 0?`0`:s,l=o[1],u=l===void 0?``:l;return{decimal:u,digits:`${c}${u}`.replace(/^0+/,``)||`0`,exponent:Number(i),integer:c,negative:a}}function fue(e){var t=e.decimal,n=e.digits,r=e.exponent,i=e.integer,a=e.negative;if(n===`0`)return`0`;var o=i.replace(/^0+/,``).length,s=(t.match(/^0*/)||[``])[0].length,c=(o||-s)+r,l=``;return l=c<=0?`0.${`0`.repeat(-c)}${n}`:c>=n.length?`${n}${`0`.repeat(c-n.length)}`:`${n.slice(0,c)}.${n.slice(c)}`,`${a?`-`:``}${l}`}function _j(e){return e.exponent>=0?Math.max(0,e.decimal.length-e.exponent):Math.abs(e.exponent)+e.decimal.length}function vj(e){var t=String(e);return hj(e)?_j(gj(t)):t.includes(`.`)&&bj(t)?t.length-t.indexOf(`.`)-1:0}function yj(e){var t=String(e);if(hj(e)){if(e>2**53-1)return String(fj()?BigInt(e).toString():2**53-1);if(e<-(2**53-1))return String(fj()?BigInt(e).toString():-(2**53-1));var n=gj(t),r=_j(n);t=r>100?fue(n):e.toFixed(r)}return mj(t).fullStr}function bj(e){return typeof e==`number`?!Number.isNaN(e):e?/^\s*-?\d+(\.\d+)?\s*$/.test(e)||/^\s*-?\d+\.\s*$/.test(e)||/^\s*-?\.\d+\s*$/.test(e):!1}var pue=function(){function e(t){if(Xo(this,e),qo(this,`origin`,``),qo(this,`negative`,void 0),qo(this,`integer`,void 0),qo(this,`decimal`,void 0),qo(this,`decimalLen`,void 0),qo(this,`empty`,void 0),qo(this,`nan`,void 0),pj(t)){this.empty=!0;return}if(this.origin=String(t),t===`-`||Number.isNaN(t)){this.nan=!0;return}var n=t;if(hj(n)&&(n=Number(n)),n=typeof n==`string`?n:yj(n),bj(n)){var r=mj(n);this.negative=r.negative;var i=r.trimStr.split(`.`);this.integer=BigInt(i[0]);var a=i[1]||`0`;this.decimal=BigInt(a),this.decimalLen=a.length}else this.nan=!0}return Qo(e,[{key:`getMark`,value:function(){return this.negative?`-`:``}},{key:`getIntegerStr`,value:function(){return this.integer.toString()}},{key:`getDecimalStr`,value:function(){return this.decimal.toString().padStart(this.decimalLen,`0`)}},{key:`alignDecimal`,value:function(e){var t=`${this.getMark()}${this.getIntegerStr()}${this.getDecimalStr().padEnd(e,`0`)}`;return BigInt(t)}},{key:`negate`,value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:`cal`,value:function(t,n,r){var i=Math.max(this.getDecimalStr().length,t.getDecimalStr().length),a=n(this.alignDecimal(i),t.alignDecimal(i)).toString(),o=r(i),s=mj(a),c=`${s.negativeStr}${s.trimStr.padStart(o+1,`0`)}`;return new e(`${c.slice(0,-o)}.${c.slice(-o)}`)}},{key:`add`,value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);return n.isInvalidate()?this:this.cal(n,function(e,t){return e+t},function(e){return e})}},{key:`multi`,value:function(t){var n=new e(t);return this.isInvalidate()||n.isInvalidate()?new e(NaN):this.cal(n,function(e,t){return e*t},function(e){return e*2})}},{key:`isEmpty`,value:function(){return this.empty}},{key:`isNaN`,value:function(){return this.nan}},{key:`isInvalidate`,value:function(){return this.isEmpty()||this.isNaN()}},{key:`equals`,value:function(e){return this.toString()===e?.toString()}},{key:`lessEquals`,value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:`toNumber`,value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:`toString`,value:function(){return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.isInvalidate()?``:mj(`${this.getMark()}${this.getIntegerStr()}.${this.getDecimalStr()}`).fullStr:this.origin}}]),e}(),mue=function(){function e(t){if(Xo(this,e),qo(this,`origin`,``),qo(this,`number`,void 0),qo(this,`empty`,void 0),pj(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return Qo(e,[{key:`negate`,value:function(){return new e(-this.toNumber())}},{key:`add`,value:function(t){if(this.isInvalidate())return new e(t);var n=Number(t);if(Number.isNaN(n))return this;var r=this.number+n;if(r>2**53-1)return new e(2**53-1);if(r<-(2**53-1))return new e(-(2**53-1));var i=Math.max(vj(this.number),vj(n));return new e(r.toFixed(i))}},{key:`multi`,value:function(t){var n=Number(t);if(this.isInvalidate()||Number.isNaN(n))return new e(NaN);var r=this.number*n;if(r>2**53-1)return new e(2**53-1);if(r<-(2**53-1))return new e(-(2**53-1));var i=Math.max(vj(this.number),vj(n));return new e(r.toFixed(i))}},{key:`isEmpty`,value:function(){return this.empty}},{key:`isNaN`,value:function(){return Number.isNaN(this.number)}},{key:`isInvalidate`,value:function(){return this.isEmpty()||this.isNaN()}},{key:`equals`,value:function(e){return this.toNumber()===e?.toNumber()}},{key:`lessEquals`,value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:`toNumber`,value:function(){return this.number}},{key:`toString`,value:function(){return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.isInvalidate()?``:hj(this.number)&&vj(this.number)>100?String(this.number):yj(this.number):this.origin}}]),e}();function xj(e){return fj()?new pue(e):new mue(e)}function Sj(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e===``)return``;var i=mj(e),a=i.negativeStr,o=i.integerStr,s=i.decimalStr,c=`${t}${s}`,l=`${a}${o}`;if(n>=0){var u=Number(s[n]);return u>=5&&!r?Sj(xj(e).add(`${a}0.${`0`.repeat(n)}${10-u}`).toString(),t,n,r):n===0?l:`${l}${t}${s.padEnd(n,`0`).slice(0,n)}`}return c===`.0`?l:`${l}${c}`}var Cj=xj;function hue(e,t){return typeof Proxy<`u`&&e?new Proxy(e,{get(e,n){if(t[n])return t[n];let r=e[n];return typeof r==`function`?r.bind(e):r}}):e}function gue(e,t){let n=(0,C.useRef)(null);function r(){try{let{selectionStart:t,selectionEnd:r,value:i}=e;n.current={start:t,end:r,value:i,beforeTxt:i.substring(0,t),afterTxt:i.substring(r)}}catch{}}function i(){if(e&&n.current&&t)try{let{value:t}=e,{beforeTxt:r,afterTxt:i,start:a}=n.current,o=t.length;if(t.startsWith(r))o=r.length;else if(t.endsWith(i))o=t.length-n.current.afterTxt.length;else{let e=r[a-1],n=t.indexOf(e,a-1);n!==-1&&(o=n+1)}e.setSelectionRange(o,o)}catch(e){xr(!1,`Something warning of cursor restore. Please fire issue about this: ${e.message}`)}}return[r,i]}var _ue=200,vue=600;function wj({prefixCls:e,action:t,children:n,disabled:r,className:i,style:a,onStep:o}){let s=t===`up`,c=C.useRef(),l=C.useRef([]),u=()=>{clearTimeout(c.current)},d=e=>{e.preventDefault(),u(),o(s,`handler`);function t(){o(s,`handler`),c.current=setTimeout(t,_ue)}c.current=setTimeout(t,vue)};C.useEffect(()=>()=>{u(),l.current.forEach(e=>{ii.cancel(e)})},[]);let f=`${e}-action`,p=q(f,`${f}-${t}`,{[`${f}-${t}-disabled`]:r},i),m=()=>l.current.push(ii(u));return C.createElement(`span`,{unselectable:`on`,role:`button`,onMouseUp:m,onMouseLeave:m,onMouseDown:e=>{d(e)},"aria-label":s?`Increase Value`:`Decrease Value`,"aria-disabled":r,className:p,style:a},n||C.createElement(`span`,{unselectable:`on`,className:`${e}-action-${t}-inner`}))}function Tj(e){let t=typeof e==`number`?yj(e):mj(e).fullStr;return t.includes(`.`)?mj(t.replace(/(\d)\.(\d)/g,`$1$2.`)).fullStr:e+`0`}var yue=(()=>{let e=(0,C.useRef)(0),t=()=>{ii.cancel(e.current)};return(0,C.useEffect)(()=>t,[]),n=>{t(),e.current=ii(()=>{n()})}});function Ej(){return Ej=Object.assign?Object.assign.bind():function(e){for(var t=1;te||t.isEmpty()?t.toString():t.toNumber(),Oj=e=>{let t=Cj(e);return t.isInvalidate()?null:t},bue=C.forwardRef((e,t)=>{let{mode:n=`input`,prefixCls:r=`rc-input-number`,className:i,style:a,classNames:o,styles:s,min:c,max:l,step:u=1,defaultValue:d,value:f,disabled:p,readOnly:m,upHandler:h,downHandler:g,keyboard:_,changeOnWheel:v=!1,controls:y=!0,prefix:b,suffix:x,stringMode:S,parser:w,formatter:T,precision:E,decimalSeparator:D,onChange:O,onInput:k,onPressEnter:A,onStep:j,onMouseDown:M,onClick:N,onMouseUp:P,onMouseLeave:F,onMouseMove:I,onMouseEnter:L,onMouseOut:R,changeOnBlur:z=!0,...B}=e,[V,H]=C.useState(!1),U=C.useRef(!1),W=C.useRef(!1),ee=C.useRef(!1),te=C.useRef(null),ne=C.useRef(null);C.useImperativeHandle(t,()=>hue(ne.current,{focus:e=>{pg(ne.current,e)},blur:()=>{ne.current?.blur()},nativeElement:te.current}));let[re,ie]=C.useState(()=>Cj(f??d));function ae(e){f===void 0&&ie(e)}let G=C.useCallback((e,t)=>{if(!t)return E>=0?E:Math.max(vj(e),vj(u))},[E,u]),oe=C.useCallback(e=>{let t=String(e);if(w)return w(t);let n=t;return D&&(n=n.replace(D,`.`)),n.replace(/[^\w.-]+/g,``)},[w,D]),K=C.useRef(``),se=C.useCallback((e,t)=>{if(T)return T(e,{userTyping:t,input:String(K.current)});let n=typeof e==`number`?yj(e):e;if(!t){let e=G(n,t);bj(n)&&(D||e>=0)&&(n=Sj(n,D||`.`,e))}return n},[T,G,D]),[ce,le]=C.useState(()=>{let e=d??f;return re.isInvalidate()&&[`string`,`number`].includes(typeof e)?Number.isNaN(e)?``:e:se(re.toString(),!1)});K.current=ce;function ue(e,t){le(se(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}let de=C.useMemo(()=>Oj(l),[l,E]),fe=C.useMemo(()=>Oj(c),[c,E]),pe=C.useMemo(()=>!de||!re||re.isInvalidate()?!1:de.lessEquals(re),[de,re]),me=C.useMemo(()=>!fe||!re||re.isInvalidate()?!1:re.lessEquals(fe),[fe,re]),[he,ge]=gue(ne.current,V),_e=e=>de&&!e.lessEquals(de)?de:fe&&!fe.lessEquals(e)?fe:null,ve=e=>!_e(e),ye=(e,t)=>{let n=e,r=ve(n)||n.isEmpty();if(!n.isEmpty()&&!t&&(n=_e(n)||n,r=!0),!m&&!p&&r){let e=n.toString(),r=G(e,t);return r>=0&&(n=Cj(Sj(e,`.`,r)),ve(n)||(n=Cj(Sj(e,`.`,r,!0)))),n.equals(re)||(ae(n),O?.(n.isEmpty()?null:Dj(S,n)),f===void 0&&ue(n,t)),n}return re},be=yue(),xe=e=>{if(he(),K.current=e,le(e),!W.current){let t=Cj(oe(e));t.isNaN()||ye(t,!0)}k?.(e),be(()=>{let t=e;w||(t=e.replace(/。/g,`.`)),t!==e&&xe(t)})},Se=()=>{W.current=!0},Ce=()=>{W.current=!1,xe(ne.current.value)},we=e=>{xe(e.target.value)},Te=Rn((e,t)=>{if(e&&pe||!e&&me)return;U.current=!1;let n=Cj(ee.current?Tj(u):u);e||(n=n.negate());let r=ye((re||Cj(0)).add(n.toString()),!1);j?.(Dj(S,r),{offset:ee.current?Tj(u):u,type:e?`up`:`down`,emitter:t}),ne.current?.focus()}),Ee=e=>{let t=Cj(oe(ce)),n;n=t.isNaN()?ye(re,e):ye(t,e),f===void 0?n.isNaN()||ue(n,!1):ue(re,!1)},De=()=>{U.current=!0},Oe=e=>{let{key:t,shiftKey:n}=e;U.current=!0,ee.current=n,t===`Enter`&&(W.current||(U.current=!1),Ee(!1),A?.(e)),_!==!1&&!W.current&&[`Up`,`ArrowUp`,`Down`,`ArrowDown`].includes(t)&&(Te(t===`Up`||t===`ArrowUp`,`keyboard`),e.preventDefault())},ke=()=>{U.current=!1,ee.current=!1};C.useEffect(()=>{if(v&&V){let e=e=>{Te(e.deltaY<0,`wheel`),e.preventDefault()},t=ne.current;if(t)return t.addEventListener(`wheel`,e,{passive:!1}),()=>t.removeEventListener(`wheel`,e)}});let Ae=()=>{z&&Ee(!1),H(!1),U.current=!1},je=e=>{ne.current&&e.target!==ne.current&&(ne.current.focus(),e.preventDefault()),M?.(e)};Hn(()=>{re.isInvalidate()||ue(re,!1)},[E,T]),Hn(()=>{let e=Cj(f);ie(e);let t=Cj(oe(ce));(!e.equals(t)||!U.current||T)&&ue(e,U.current)},[f]),Hn(()=>{T&&ge()},[ce]);let Me={prefixCls:r,onStep:Te,className:o?.action,style:s?.action},Ne=C.createElement(wj,Ej({},Me,{action:`up`,disabled:pe}),h),Pe=C.createElement(wj,Ej({},Me,{action:`down`,disabled:me}),g);return C.createElement(`div`,{ref:te,className:q(r,`${r}-mode-${n}`,i,o?.root,{[`${r}-focused`]:V,[`${r}-disabled`]:p,[`${r}-readonly`]:m,[`${r}-not-a-number`]:re.isNaN(),[`${r}-out-of-range`]:!re.isInvalidate()&&!ve(re)}),style:{...s?.root,...a},onMouseDown:je,onMouseUp:P,onMouseLeave:F,onMouseMove:I,onMouseEnter:L,onMouseOut:R,onClick:N,onFocus:()=>{H(!0)},onBlur:Ae,onKeyDown:Oe,onKeyUp:ke,onCompositionStart:Se,onCompositionEnd:Ce,onBeforeInput:De},n===`spinner`&&y&&Pe,b!==void 0&&C.createElement(`div`,{className:q(`${r}-prefix`,o?.prefix),style:s?.prefix},b),C.createElement(`input`,Ej({autoComplete:`off`,role:`spinbutton`,"aria-valuemin":c,"aria-valuemax":l,"aria-valuenow":re.isInvalidate()?null:re.toString(),step:u,ref:ne,className:q(`${r}-input`,o?.input),style:s?.input,value:ce,onChange:we,disabled:p,readOnly:m},B)),x!==void 0&&C.createElement(`div`,{className:q(`${r}-suffix`,o?.suffix),style:s?.suffix},x),n===`spinner`&&y&&Ne,n===`input`&&y&&C.createElement(`div`,{className:q(`${r}-actions`,o?.actions),style:s?.actions},Ne,Pe))}),xue=e=>{let{componentCls:t,borderRadius:n,paddingSM:r,colorBorder:i,paddingXS:a,fontSizeLG:o,fontSizeSM:s,borderRadiusLG:c,borderRadiusSM:l,colorBgContainerDisabled:u,lineWidth:d,antCls:f}=e,[p,m]=sl(f,`space`);return{[t]:[{display:`inline-flex`,alignItems:`center`,gap:0,whiteSpace:`nowrap`,paddingInline:r,margin:0,borderWidth:d,borderStyle:`solid`,borderRadius:n,"&:hover":{zIndex:0},[`&${t}-disabled`]:{color:e.colorTextDisabled},"&-large":{fontSize:o,borderRadius:c},"&-small":{paddingInline:a,borderRadius:l,fontSize:s},"&-compact-last-item":{borderEndStartRadius:0,borderStartStartRadius:0},"&-compact-first-item":{borderEndEndRadius:0,borderStartEndRadius:0},"&-compact-item:not(:first-child):not(:last-child)":{borderRadius:0},"&-compact-item:not(:last-child)":{borderInlineEndWidth:0},"&-compact-item:not(:first-child)":{borderInlineStartWidth:0}},{[p(`addon-border-color`)]:i,[p(`addon-background`)]:u,[p(`addon-border-color-outlined`)]:i,[p(`addon-background-filled`)]:u,borderColor:m(`addon-border-color`),background:m(`addon-background`),"&-variant-outlined":{[p(`addon-border-color`)]:m(`addon-border-color-outlined`)},"&-variant-filled":{[p(`addon-border-color`)]:`transparent`,[p(`addon-background`)]:m(`addon-background-filled`),[`&${t}-disabled`]:{[p(`addon-border-color`)]:i,[p(`addon-background`)]:u}},"&-variant-borderless":{border:`none`,background:`transparent`},"&-variant-underlined":{border:`none`,background:`transparent`}},{"&-status-error":{[p(`addon-border-color-outlined`)]:e.colorError,[p(`addon-background-filled`)]:e.colorErrorBg,color:e.colorError},"&-status-warning":{[p(`addon-border-color-outlined`)]:e.colorWarning,[p(`addon-background-filled`)]:e.colorWarningBg,color:e.colorWarning}}]}},Sue=il([`Space`,`Addon`],e=>[xue(e),Jh(e,{focus:!1})]),kj=C.forwardRef((e,t)=>{let{className:n,children:r,style:i,prefixCls:a,variant:o=`outlined`,disabled:s,status:c,...l}=e,{getPrefixCls:u,direction:d}=C.useContext(si),f=u(`space-addon`,a),[p,m]=Sue(f),{compactItemClassnames:h,compactSize:g}=Im(f,d),_=Jy(f,c),v=q(f,p,h,m,`${f}-variant-${o}`,_,{[`${f}-${g}`]:g,[`${f}-disabled`]:s},n);return C.createElement(`div`,{ref:t,className:v,style:i,...l},r)}),Cue=e=>{let t=e.handleVisible??`auto`,n=e.controlHeightSM-e.lineWidth*2;return{...Uk(e),controlWidth:90,handleWidth:n,handleFontSize:e.fontSize/2,handleVisible:t,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new zs(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:+(t===!0),handleVisibleWidth:t===!0?n:0}},wue=e=>{let{componentCls:t,lineWidth:n,lineType:r,borderRadius:i,inputFontSizeSM:a,inputFontSizeLG:o,colorError:s,paddingInlineSM:c,paddingBlockSM:l,paddingBlockLG:u,paddingInlineLG:d,colorIcon:f,colorTextDisabled:p,motionDurationMid:m,handleHoverColor:h,handleOpacity:g,paddingInline:_,paddingBlock:v,handleBg:y,handleActiveBg:b,inputAffixPadding:x,borderRadiusSM:S,controlWidth:C,handleBorderColor:w,filledHandleBg:T,lineHeightLG:E,antCls:D}=e,O=`${J(n)} ${r} ${w}`,[k,A]=sl(D,`input-number`);return[{[t]:{...Yc(e),...oA(e),[k(`input-padding-block`)]:J(v),[k(`input-padding-inline`)]:J(_),display:`inline-flex`,width:C,margin:0,paddingBlock:0,borderRadius:i,...qk(e,{[`${t}-actions`]:{background:y,[`${t}-action-down`]:{borderBlockStart:O}}}),...Qk(e,{[`${t}-actions`]:{background:T,[`${t}-action-down`]:{borderBlockStart:O}},"&:focus-within":{[`${t}-actions`]:{background:y}}}),...nA(e,{[`${t}-actions`]:{background:y,[`${t}-action-down`]:{borderBlockStart:O}}}),...Yk(e),[`&${t}-borderless`]:{paddingBlock:0,[k(`input-padding-block`)]:J(e.calc(v).add(n).equal())},[`&${t}-borderless${t}-sm`]:{paddingBlock:0,[k(`input-padding-block`)]:J(e.calc(l).add(n).equal())},[`&${t}-borderless${t}-lg`]:{paddingBlock:0,[k(`input-padding-block`)]:J(e.calc(u).add(n).equal())},"&-rtl":{direction:`rtl`,[`${t}-input`]:{direction:`rtl`}},[`&${t}-out-of-range`]:{[`${t}-input`]:{color:s}},[`${t}-input`]:{...Yc(e),width:`100%`,paddingBlock:A(`input-padding-block`),textAlign:`start`,backgroundColor:`transparent`,border:0,borderRadius:0,outline:0,transition:`all ${m} linear`,appearance:`textfield`,fontSize:`inherit`,lineHeight:`inherit`,...rA(e.colorTextPlaceholder),'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:`none`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&-disabled ${t}-input`]:{cursor:`not-allowed`,color:e.colorTextDisabled}}},{[t]:{[`${t}-action`]:{...Xc(),userSelect:`none`,overflow:`hidden`,fontWeight:`bold`,lineHeight:0,textAlign:`center`,cursor:`pointer`,transition:`all ${m} linear`,[`&:active:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{background:b},[`&:hover:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{color:h},[`&${t}-action-up-disabled, &${t}-action-down-disabled`]:{cursor:`not-allowed`,color:p}},"&-mode-input":{overflow:`hidden`,[`${t}-actions`]:{position:`absolute`,insetBlockStart:0,insetInlineEnd:0,width:e.handleVisibleWidth,opacity:g,height:`100%`,borderRadius:0,display:`flex`,flexDirection:`column`,alignItems:`stretch`,transition:`all ${m}`,overflow:`hidden`,[`${t}-action`]:{display:`flex`,alignItems:`center`,justifyContent:`center`,flex:`auto`,height:`40%`,marginInlineEnd:0,fontSize:e.handleFontSize}},[`&:hover ${t}-actions, &-focused ${t}-actions`]:{width:e.handleWidth,opacity:1},[`${t}-action`]:{color:f,height:`50%`,borderInlineStart:O,[`&:hover:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{height:`60%`}},[`&${t}-disabled, &${t}-readonly`]:{[`${t}-actions`]:{display:`none`}}},[`&${t}-mode-spinner`]:{padding:0,width:`auto`,[`${t}-action`]:{flex:`none`,paddingInline:A(`input-padding-inline`),"&-up":{borderInlineStart:O},"&-down":{borderInlineEnd:O}},[`${t}-input`]:{textAlign:`center`,paddingInline:A(`input-padding-inline`)}}}},{[t]:{"&-lg":{[k(`input-padding-block`)]:J(u),[k(`input-padding-inline`)]:J(d),paddingBlock:0,fontSize:o,lineHeight:E},"&-sm":{[k(`input-padding-block`)]:J(l),[k(`input-padding-inline`)]:J(c),paddingBlock:0,fontSize:a,borderRadius:S}}},{[t]:{[`${t}-prefix, ${t}-suffix`]:{display:`flex`,flex:`none`,alignItems:`center`,alignSelf:`center`,pointerEvents:`none`},[`${t}-prefix`]:{marginInlineEnd:x},[`${t}-suffix`]:{height:`100%`,marginInlineStart:x,transition:`margin ${m}`},[`&:hover:not(${t}-without-controls)`]:{[`${t}-suffix`]:{marginInlineEnd:e.handleWidth}}}}]},Tue=e=>{let{componentCls:t,antCls:n}=e;return{[`${t}-addon`]:{[`&:has(${n}-select)`]:{border:0,padding:0}}}},Eue=il(`InputNumber`,e=>{let t=_s(e,Hk(e));return[wue(t),Tue(t),Jh(t)]},Cue,{unitless:{handleOpacity:!0},resetFont:!1}),Due=C.forwardRef((e,t)=>{let n=C.useRef(null);C.useImperativeHandle(t,()=>n.current);let{rootClassName:r,size:i,disabled:a,prefixCls:o,addonBefore:s,addonAfter:c,prefix:l,suffix:u,bordered:d,readOnly:f,status:p,controls:m=!0,variant:h,className:g,style:_,classNames:v,styles:y,mode:b,...x}=e,{direction:S,className:w,style:T,styles:E,classNames:D}=ui(`inputNumber`),O=C.useContext(Bp),k=a??O,A=C.useMemo(()=>!m||k||f?!1:m,[m,k,f]),{compactSize:j,compactItemClassnames:M}=Im(o,S),N=b===`spinner`?C.createElement(pA,null):C.createElement(dj,null),P=b===`spinner`?C.createElement(lj,null):C.createElement(bb,null),F=typeof A==`boolean`?A:void 0;gd(A)&&(N=A.upIcon||N,P=A.downIcon||P);let{hasFeedback:I,isFormItemInput:L,feedbackIcon:R}=C.useContext(N_),z=Pm(e=>i??j??e),[B,V]=eb(`inputNumber`,h,d),H=I&&C.createElement(C.Fragment,null,R),U={...e,size:z,disabled:k,controls:A},[W,ee]=Id([D,v],[E,y],{props:U});return C.createElement(bue,{ref:n,mode:b,disabled:k,className:q(g,r,W.root,w,M,Jy(o,p,I),{[`${o}-${B}`]:V,[`${o}-lg`]:z===`large`,[`${o}-sm`]:z===`small`,[`${o}-rtl`]:S===`rtl`,[`${o}-in-form-item`]:L,[`${o}-without-controls`]:!A}),style:{...ee.root,...T,..._},upHandler:N,downHandler:P,prefixCls:o,readOnly:f,controls:F,prefix:l,suffix:H||u,classNames:W,styles:ee,...x})}),Aj=C.forwardRef((e,t)=>{let{addonBefore:n,addonAfter:r,prefixCls:i,className:a,status:o,rootClassName:s,...c}=e,{getPrefixCls:l}=ui(`inputNumber`),u=l(`input-number`,i),{status:d}=C.useContext(N_),f=Yy(d,o),p=xf(u),[m,h]=Eue(u,p),g=n||r,_=C.createElement(Due,{ref:t,...c,prefixCls:u,status:f,className:q(h,p,m,a),rootClassName:g?void 0:s});if(g){let t=t=>t?C.createElement(kj,{className:q(`${u}-addon`,h,m),variant:e.variant,disabled:e.disabled,status:f},C.createElement(I_,{form:!0},t)):null,i=t(n),a=t(r);return C.createElement(Lm,{rootClassName:s},i,_,a)}return _}),jj=Aj;jj._InternalPanelDoNotUseOrYouWillBeFired=e=>C.createElement(Zp,{theme:{components:{InputNumber:{handleVisible:!0}}}},C.createElement(Aj,{...e}));function Oue(e){return!!(e.addonBefore||e.addonAfter)}function kue(e){return!!(e.prefix||e.suffix||e.allowClear)}function Mj(e,t,n){let r=t.cloneNode(!0),i=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart==`number`&&typeof t.selectionEnd==`number`&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=(...e)=>{t.setSelectionRange(...e)},i}function Nj(e,t,n,r){if(!n)return;let i=t;if(t.type===`click`){i=Mj(t,e,``),n(i);return}if(e.type!==`file`&&r!==void 0){i=Mj(t,e,r),n(i);return}n(i)}function Pj(){return Pj=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{inputElement:n,children:r,prefixCls:i,prefix:a,suffix:o,addonBefore:s,addonAfter:c,className:l,style:u,disabled:d,readOnly:f,focused:p,triggerFocus:m,allowClear:h,value:g,handleReset:_,hidden:v,classes:y,classNames:b,dataAttrs:x,styles:S,components:w,onClear:T}=e,E=r??n,D=w?.affixWrapper||`span`,O=w?.groupWrapper||`span`,k=w?.wrapper||`span`,A=w?.groupAddon||`span`,j=(0,C.useRef)(null),M=e=>{j.current?.contains(e.target)&&m?.()},N=kue(e),P=(0,C.cloneElement)(E,{value:g,className:q(E.props?.className,!N&&b?.variant)||null}),F=(0,C.useRef)(null);if(C.useImperativeHandle(t,()=>({nativeElement:F.current||j.current})),N){let e=null;if(h){let t=!d&&!f&&g,n=`${i}-clear-icon`,r=typeof h==`object`&&h?.clearIcon?h.clearIcon:`✖`;e=C.createElement(`button`,{type:`button`,tabIndex:-1,onClick:e=>{_?.(e),T?.()},onMouseDown:e=>e.preventDefault(),className:q(n,{[`${n}-hidden`]:!t,[`${n}-has-suffix`]:!!o})},r)}let t=`${i}-affix-wrapper`,n=q(t,{[`${i}-disabled`]:d,[`${t}-disabled`]:d,[`${t}-focused`]:p,[`${t}-readonly`]:f,[`${t}-input-with-clear-btn`]:o&&h&&g},y?.affixWrapper,b?.affixWrapper,b?.variant),r=(o||h)&&C.createElement(`span`,{className:q(`${i}-suffix`,b?.suffix),style:S?.suffix},e,o);P=C.createElement(D,Pj({className:n,style:S?.affixWrapper,onClick:M},x?.affixWrapper,{ref:j}),a&&C.createElement(`span`,{className:q(`${i}-prefix`,b?.prefix),style:S?.prefix},a),P,r)}if(Oue(e)){let e=`${i}-group`,t=`${e}-addon`,n=`${e}-wrapper`,r=q(`${i}-wrapper`,e,y?.wrapper,b?.wrapper),a=q(n,{[`${n}-disabled`]:d},y?.group,b?.groupWrapper);P=C.createElement(O,{className:a,ref:F},C.createElement(k,{className:r},s&&C.createElement(A,{className:t},s),P,c&&C.createElement(A,{className:t},c)))}return C.cloneElement(P,{className:q(P.props?.className,l)||null,style:{...P.props?.style,...u},hidden:v})});function Ij(e,t){return C.useMemo(()=>{let n={};t&&(n.show=typeof t==`object`&&t.formatter?t.formatter:!!t),n={...n,...e};let{show:r,...i}=n;return{...i,show:!!r,showFormatter:typeof r==`function`?r:void 0,strategy:i.strategy||(e=>e.length)}},[e,t])}function Lj(){return Lj=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{autoComplete:n,onChange:r,onFocus:i,onBlur:a,onPressEnter:o,onKeyDown:s,onKeyUp:c,prefixCls:l=`rc-input`,disabled:u,htmlSize:d,className:f,maxLength:p,suffix:m,showCount:h,count:g,type:_=`text`,classes:v,classNames:y,styles:b,onCompositionStart:x,onCompositionEnd:S,...w}=e,[T,E]=(0,C.useState)(!1),D=(0,C.useRef)(!1),O=(0,C.useRef)(!1),k=(0,C.useRef)(null),A=(0,C.useRef)(null),j=e=>{k.current&&pg(k.current,e)},[M,N]=Wn(e.defaultValue,e.value),P=M==null?``:String(M),[F,I]=(0,C.useState)(null),L=Ij(g,h),R=L.max||p,z=L.strategy(P),B=!!R&&z>R;(0,C.useImperativeHandle)(t,()=>({focus:j,blur:()=>{k.current?.blur()},setSelectionRange:(e,t,n)=>{k.current?.setSelectionRange(e,t,n)},select:()=>{k.current?.select()},input:k.current,nativeElement:A.current?.nativeElement||k.current})),(0,C.useEffect)(()=>{O.current&&=!1,E(e=>e&&u?!1:e)},[u]);let V=(e,t,n)=>{let i=t;if(!D.current&&L.exceedFormatter&&L.max&&L.strategy(t)>L.max)i=L.exceedFormatter(t,{max:L.max}),t!==i&&I([k.current?.selectionStart||0,k.current?.selectionEnd||0]);else if(n.source===`compositionEnd`)return;N(i),k.current&&Nj(k.current,e,r,i)};(0,C.useEffect)(()=>{F&&k.current?.setSelectionRange(...F)},[F]);let H=e=>{V(e,e.target.value,{source:`change`})},U=e=>{D.current=!1,V(e,e.currentTarget.value,{source:`compositionEnd`}),S?.(e)},W=e=>{o&&e.key===`Enter`&&!O.current&&!e.nativeEvent.isComposing&&(O.current=!0,o(e)),s?.(e)},ee=e=>{e.key===`Enter`&&(O.current=!1),c?.(e)},te=e=>{E(!0),i?.(e)},ne=e=>{O.current&&=!1,E(!1),a?.(e)},re=e=>{N(``),j(),k.current&&Nj(k.current,e,r)},ie=B&&`${l}-out-of-range`;return C.createElement(Fj,Lj({},w,{prefixCls:l,className:q(f,ie),handleReset:re,value:P,focused:T,triggerFocus:j,suffix:(()=>{let e=Number(R)>0;if(m||L.show){let t=L.showFormatter?L.showFormatter({value:P,count:z,maxLength:R}):`${z}${e?` / ${R}`:``}`;return C.createElement(C.Fragment,null,L.show&&C.createElement(`span`,{className:q(`${l}-show-count-suffix`,{[`${l}-show-count-has-suffix`]:!!m},y?.count),style:{...b?.count}},t),m)}return null})(),disabled:u,classes:v,classNames:y,styles:b,ref:A}),(()=>{let t=Cr(e,[`prefixCls`,`onPressEnter`,`addonBefore`,`addonAfter`,`prefix`,`suffix`,`allowClear`,`defaultValue`,`showCount`,`count`,`classes`,`htmlSize`,`styles`,`classNames`,`onClear`]);return C.createElement(`input`,Lj({autoComplete:n},t,{onChange:H,onFocus:te,onBlur:ne,onKeyDown:W,onKeyUp:ee,className:q(l,{[`${l}-disabled`]:u},y?.input),style:b?.input,ref:k,size:d,type:_,onCompositionStart:e=>{D.current=!0,x?.(e)},onCompositionEnd:U}))})())}),Rj=e=>{let t;return gd(e)&&e?.clearIcon?t=e:e&&(t={clearIcon:C.createElement(Il,null)}),t};function zj(e,t){let n=(0,C.useRef)([]),r=()=>{n.current.push(setTimeout(()=>{e.current?.input&&e.current?.input.getAttribute(`type`)===`password`&&e.current?.input.hasAttribute(`value`)&&e.current?.input.removeAttribute(`value`)}))};return(0,C.useEffect)(()=>(t&&r(),()=>n.current.forEach(e=>{e&&clearTimeout(e)})),[]),r}function jue(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var Bj=(0,C.forwardRef)((e,t)=>{let{prefixCls:n,bordered:r=!0,status:i,size:a,disabled:o,onBlur:s,onFocus:c,suffix:l,allowClear:u,addonAfter:d,addonBefore:f,className:p,style:m,styles:h,rootClassName:g,onChange:_,classNames:v,variant:y,...b}=e,{getPrefixCls:x,direction:S,allowClear:w,autoComplete:T,className:E,style:D,classNames:O,styles:k}=ui(`input`),A=x(`input`,n),j=(0,C.useRef)(null),M=xf(A),[N,P]=sA(A,g);cA(A,M);let{compactSize:F,compactItemClassnames:I}=Im(A,S),L=Pm(e=>a??F??e),R=C.useContext(Bp),z=o??R,B={...e,size:L,disabled:z},[V,H]=Id([O,v],[k,h],{props:B}),{status:U,hasFeedback:W,feedbackIcon:ee}=(0,C.useContext)(N_),te=Yy(U,i);(0,C.useRef)(jue(e)||!!W);let ne=zj(j,!0),re=e=>{ne(),s?.(e)},ie=e=>{ne(),c?.(e)},ae=e=>{ne(),_?.(e)},G=(W||l)&&C.createElement(C.Fragment,null,l,W&&ee),oe=Rj(u??w),[K,se]=eb(`input`,y,r);return C.createElement(Aue,{ref:er(t,j),prefixCls:A,autoComplete:T,...b,disabled:z,onBlur:re,onFocus:ie,style:{...H.root,...D,...m},styles:H,suffix:G,allowClear:oe,className:q(p,g,P,M,I,E,V.root),onChange:ae,addonBefore:f&&C.createElement(I_,{form:!0,space:!0},f),addonAfter:d&&C.createElement(I_,{form:!0,space:!0},d),classNames:{...V,input:q({[`${A}-sm`]:L===`small`,[`${A}-lg`]:L===`large`,[`${A}-rtl`]:S===`rtl`},V.input,N),variant:q({[`${A}-${K}`]:se},Jy(A,te)),affixWrapper:q({[`${A}-affix-wrapper-sm`]:L===`small`,[`${A}-affix-wrapper-lg`]:L===`large`,[`${A}-affix-wrapper-rtl`]:S===`rtl`},N),wrapper:q({[`${A}-group-rtl`]:S===`rtl`},N),groupWrapper:q({[`${A}-group-wrapper-sm`]:L===`small`,[`${A}-group-wrapper-lg`]:L===`large`,[`${A}-group-wrapper-rtl`]:S===`rtl`,[`${A}-group-wrapper-${K}`]:se},Jy(`${A}-group-wrapper`,te,W),N)}})});function Vj(e,t,n){return(e-t)/(n-t)}function Hj(e,t,n,r){let i=Vj(t,n,r),a={};switch(e){case`rtl`:a.right=`${i*100}%`,a.transform=`translateX(50%)`;break;case`btt`:a.bottom=`${i*100}%`,a.transform=`translateY(50%)`;break;case`ttb`:a.top=`${i*100}%`,a.transform=`translateY(-50%)`;break;default:a.left=`${i*100}%`,a.transform=`translateX(-50%)`;break}return a}function Uj(e,t){return Array.isArray(e)?e[t]:e}var Wj=C.createContext({min:0,max:0,direction:`ltr`,step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),Mue=C.createContext({});function Gj(){return Gj=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,value:r,valueIndex:i,onStartMove:a,onDelete:o,style:s,render:c,dragging:l,draggingDelete:u,onOffsetChange:d,onChangeComplete:f,onFocus:p,onMouseEnter:m,...h}=e,{min:g,max:_,direction:v,disabled:y,keyboard:b,range:x,tabIndex:S,ariaLabelForHandle:w,ariaLabelledByForHandle:T,ariaRequired:E,ariaValueTextFormatterForHandle:D,styles:O,classNames:k}=C.useContext(Wj),A=`${n}-handle`,j=e=>{y||a(e,i)},M=e=>{p?.(e,i)},N=e=>{m(e,i)},P=e=>{if(!y&&b){let t=null;switch(e.which||e.keyCode){case Qp.LEFT:t=v===`ltr`||v===`btt`?-1:1;break;case Qp.RIGHT:t=v===`ltr`||v===`btt`?1:-1;break;case Qp.UP:t=v===`ttb`?-1:1;break;case Qp.DOWN:t=v===`ttb`?1:-1;break;case Qp.HOME:t=`min`;break;case Qp.END:t=`max`;break;case Qp.PAGE_UP:t=2;break;case Qp.PAGE_DOWN:t=-2;break;case Qp.BACKSPACE:case Qp.DELETE:o?.(i);break}t!==null&&(e.preventDefault(),d(t,i))}},F=e=>{switch(e.which||e.keyCode){case Qp.LEFT:case Qp.RIGHT:case Qp.UP:case Qp.DOWN:case Qp.HOME:case Qp.END:case Qp.PAGE_UP:case Qp.PAGE_DOWN:f?.();break}},I=Hj(v,r,g,_),L={};i!==null&&(L={tabIndex:y?null:Uj(S,i),role:`slider`,"aria-valuemin":g,"aria-valuemax":_,"aria-valuenow":r,"aria-disabled":y,"aria-label":Uj(w,i),"aria-labelledby":Uj(T,i),"aria-required":Uj(E,i),"aria-valuetext":Uj(D,i)?.(r),"aria-orientation":v===`ltr`||v===`rtl`?`horizontal`:`vertical`,onMouseDown:j,onTouchStart:j,onFocus:M,onMouseEnter:N,onKeyDown:P,onKeyUp:F});let R=C.createElement(`div`,Gj({ref:t,className:q(A,{[`${A}-${i+1}`]:i!==null&&x,[`${A}-dragging`]:l,[`${A}-dragging-delete`]:u},k.handle),style:{...I,...s,...O.handle}},L,h));return c&&(R=c(R,{index:i,prefixCls:n,value:r,dragging:l,draggingDelete:u})),R});function qj(){return qj=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,style:r,onStartMove:i,onOffsetChange:a,values:o,handleRender:s,activeHandleRender:c,draggingIndex:l,draggingDelete:u,onFocus:d,...f}=e,p=C.useRef({}),[m,h]=C.useState(!1),[g,_]=C.useState(-1),v=e=>{_(e),h(!0)},y=(e,t)=>{v(t),d?.(e)},b=(e,t)=>{v(t)};C.useImperativeHandle(t,()=>({focus:e=>{p.current[e]?.focus()},hideHelp:()=>{(0,Yf.flushSync)(()=>{h(!1)})}}));let x={prefixCls:n,onStartMove:i,onOffsetChange:a,render:s,onFocus:y,onMouseEnter:b,...f};return C.createElement(C.Fragment,null,o.map((e,t)=>{let n=l===t;return C.createElement(Kj,qj({ref:e=>{e?p.current[t]=e:delete p.current[t]},dragging:n,draggingDelete:n&&u,style:Uj(r,t),key:t,value:e,valueIndex:t},x))}),c&&m&&C.createElement(Kj,qj({key:`a11y`},x,{value:o[g],valueIndex:null,dragging:l!==-1,draggingDelete:u,render:c,style:{pointerEvents:`none`},tabIndex:null,"aria-hidden":!0})))}),Pue=e=>{let{prefixCls:t,style:n,children:r,value:i,onClick:a}=e,{min:o,max:s,direction:c,includedStart:l,includedEnd:u,included:d}=C.useContext(Wj),f=`${t}-text`,p=Hj(c,i,o,s);return C.createElement(`span`,{className:q(f,{[`${f}-active`]:d&&l<=i&&i<=u}),style:{...p,...n},onMouseDown:e=>{e.stopPropagation()},onClick:()=>{a(i)}},r)},Fue=e=>{let{prefixCls:t,marks:n,onClick:r}=e,i=`${t}-mark`;return n.length?C.createElement(`div`,{className:i},n.map(({value:e,style:t,label:n})=>C.createElement(Pue,{key:e,prefixCls:i,style:t,value:e,onClick:r},n))):null},Iue=e=>{let{prefixCls:t,value:n,style:r,activeStyle:i}=e,{min:a,max:o,direction:s,included:c,includedStart:l,includedEnd:u}=C.useContext(Wj),d=`${t}-dot`,f=c&&l<=n&&n<=u,p={...Hj(s,n,a,o),...typeof r==`function`?r(n):r};return f&&(p={...p,...typeof i==`function`?i(n):i}),C.createElement(`span`,{className:q(d,{[`${d}-active`]:f}),style:p})},Lue=e=>{let{prefixCls:t,marks:n,dots:r,style:i,activeStyle:a}=e,{min:o,max:s,step:c}=C.useContext(Wj),l=C.useMemo(()=>{let e=new Set;if(n.forEach(t=>{e.add(t.value)}),r&&c!==null){let t=o;for(;t<=s;)e.add(t),t+=c}return Array.from(e)},[o,s,c,r,n]);return C.createElement(`div`,{className:`${t}-step`},l.map(e=>C.createElement(Iue,{prefixCls:t,key:e,value:e,style:i,activeStyle:a})))},Jj=e=>{let{prefixCls:t,style:n,start:r,end:i,index:a,onStartMove:o,replaceCls:s}=e,{direction:c,min:l,max:u,disabled:d,range:f,classNames:p}=C.useContext(Wj),m=`${t}-track`,h=Vj(r,l,u),g=Vj(i,l,u),_=e=>{!d&&o&&o(e,-1)},v={};switch(c){case`rtl`:v.right=`${h*100}%`,v.width=`${g*100-h*100}%`;break;case`btt`:v.bottom=`${h*100}%`,v.height=`${g*100-h*100}%`;break;case`ttb`:v.top=`${h*100}%`,v.height=`${g*100-h*100}%`;break;default:v.left=`${h*100}%`,v.width=`${g*100-h*100}%`}let y=s||q(m,{[`${m}-${a+1}`]:a!==null&&f,[`${t}-track-draggable`]:o},p.track);return C.createElement(`div`,{className:y,style:{...v,...n},onMouseDown:_,onTouchStart:_})},Rue=e=>{let{prefixCls:t,style:n,values:r,startPoint:i,onStartMove:a}=e,{included:o,range:s,min:c,styles:l,classNames:u}=C.useContext(Wj),d=C.useMemo(()=>{if(!s){if(r.length===0)return[];let e=i??c,t=r[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}let e=[];for(let t=0;tC.createElement(Jj,{index:i,prefixCls:t,style:{...Uj(n,i),...l.track},start:e,end:r,key:i,onStartMove:a})))},zue=130;function Yj(e){let t=`targetTouches`in e?e.targetTouches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function Bue(e,t,n,r,i,a,o,s,c,l,u){let[d,f]=C.useState(null),[p,m]=C.useState(-1),[h,g]=C.useState(!1),[_,v]=C.useState(n),[y,b]=C.useState(n),x=C.useRef(null),S=C.useRef(null),w=C.useRef(null),{onDragStart:T,onDragChange:E}=C.useContext(Mue);Vn(()=>{p===-1&&v(n)},[n,p]),C.useEffect(()=>()=>{document.removeEventListener(`mousemove`,x.current),document.removeEventListener(`mouseup`,S.current),w.current&&(w.current.removeEventListener(`touchmove`,x.current),w.current.removeEventListener(`touchend`,S.current))},[]);let D=(e,t,n)=>{t!==void 0&&f(t),v(e);let r=e;n&&(r=e.filter((e,t)=>t!==p)),o(r),E&&E({rawValues:e,deleteIndex:n?p:-1,draggingIndex:p,draggingValue:t})},O=Rn((e,t,n)=>{if(e===-1){let e=y[0],n=y[y.length-1],o=r-e,s=i-n,c=t*(i-r);c=Math.max(c,o),c=Math.min(c,s),c=a(e+c)-e,D(y.map(e=>e+c))}else{let a=(i-r)*t,o=[..._];o[e]=y[e];let s=c(o,a,e,`dist`);D(s.values,s.value,n)}});return[p,d,h,C.useMemo(()=>{let e=[...n].sort((e,t)=>e-t),t=[..._].sort((e,t)=>e-t),r={};t.forEach(e=>{r[e]=(r[e]||0)+1}),e.forEach(e=>{r[e]=(r[e]||0)-1});let i=+!!l;return Object.values(r).reduce((e,t)=>e+Math.abs(t),0)<=i?_:n},[n,_,l]),(r,i,a)=>{r.stopPropagation();let o=a||n,c=o[i];m(i),f(c),b(o),v(o),g(!1);let{pageX:d,pageY:p}=Yj(r),h=!1;T&&T({rawValues:o,draggingIndex:i,draggingValue:c});let y=n=>{n.preventDefault();let{pageX:r,pageY:a}=Yj(n),o=r-d,s=a-p,{width:c,height:f}=e.current.getBoundingClientRect(),m,v;switch(t){case`btt`:m=-s/f,v=o;break;case`ttb`:m=s/f,v=o;break;case`rtl`:m=-o/c,v=s;break;default:m=o/c,v=s}h=l?Math.abs(v)>zue&&u<_.length:!1,g(h),O(i,m,h)},C=e=>{e.preventDefault(),document.removeEventListener(`mouseup`,C),document.removeEventListener(`mousemove`,y),w.current&&(w.current.removeEventListener(`touchmove`,x.current),w.current.removeEventListener(`touchend`,S.current)),x.current=null,S.current=null,w.current=null,s(h),m(-1),g(!1)};document.addEventListener(`mouseup`,C),document.addEventListener(`mousemove`,y),r.currentTarget.addEventListener(`touchend`,C),r.currentTarget.addEventListener(`touchmove`,y),x.current=y,S.current=C,w.current=r.currentTarget}]}function Vue(e,t,n,r,i,a){let o=C.useCallback(n=>Math.max(e,Math.min(t,n)),[e,t]),s=C.useCallback(r=>{if(n!==null){let i=e+Math.round((o(r)-e)/n)*n,a=e=>(String(e).split(`.`)[1]||``).length,s=Math.max(a(n),a(t),a(e)),c=Number(i.toFixed(s));return e<=c&&c<=t?c:null}return null},[n,e,t,o]),c=C.useCallback(i=>{let a=o(i),c=r.map(e=>e.value);n!==null&&c.push(s(i)),c.push(e,t);let l=c[0],u=t-e;return c.forEach(e=>{let t=Math.abs(a-e);t<=u&&(l=e,u=t)}),l},[e,t,r,n,o,s]),l=(i,a,o,c=`unit`)=>{if(typeof a==`number`){let u,d=i[o],f=d+a,p=[];r.forEach(e=>{p.push(e.value)}),p.push(e,t),p.push(s(d));let m=a>0?1:-1;c===`unit`?p.push(s(d+m*n)):p.push(s(f)),p=p.filter(e=>e!==null).filter(e=>a<0?e<=d:e>=d),c===`unit`&&(p=p.filter(e=>e!==d));let h=c===`unit`?d:f;u=p[0];let g=Math.abs(u-h);if(p.forEach(e=>{let t=Math.abs(e-h);t1){let e=[...i];return e[o]=u,l(e,a-m,o,c)}return u}else if(a===`min`)return e;else if(a===`max`)return t},u=(e,t,n,r=`unit`)=>{let i=e[n],a=l(e,t,n,r);return{value:a,changed:a!==i}},d=e=>a===null&&e===0||typeof a==`number`&&e{let o=e.map(c),s=o[n];if(o[n]=l(o,t,n,r),i===!1){let e=a||0;n>0&&o[n-1]!==s&&(o[n]=Math.max(o[n],o[n-1]+e)),n0;--e){let t=!0;for(;d(o[e]-o[e-1])&&t;)({value:o[e-1],changed:t}=u(o,-1,e-1))}for(let e=o.length-1;e>0;--e){let t=!0;for(;d(o[e]-o[e-1])&&t;)({value:o[e-1],changed:t}=u(o,-1,e-1))}for(let e=0;e{if(e===!0||!e)return[!!e,!1,!1,0];let{editable:t,draggableTrack:n,minCount:r,maxCount:i}=e;return[!0,t,!t&&n,r||0,i]},[e])}var Uue=C.forwardRef((e,t)=>{let{prefixCls:n=`rc-slider`,className:r,style:i,classNames:a,styles:o,id:s,disabled:c=!1,keyboard:l=!0,autoFocus:u,onFocus:d,onBlur:f,min:p=0,max:m=100,step:h=1,value:g,defaultValue:_,range:v,count:y,onChange:b,onBeforeChange:x,onAfterChange:S,onChangeComplete:w,allowCross:T=!0,pushable:E=!1,reverse:D,vertical:O,included:k=!0,startPoint:A,trackStyle:j,handleStyle:M,railStyle:N,dotStyle:P,activeDotStyle:F,marks:I,dots:L,handleRender:R,activeHandleRender:z,track:B,tabIndex:V=0,ariaLabelForHandle:H,ariaLabelledByForHandle:U,ariaRequired:W,ariaValueTextFormatterForHandle:ee}=e,te=C.useRef(null),ne=C.useRef(null),re=C.useMemo(()=>O?D?`ttb`:`btt`:D?`rtl`:`ltr`,[D,O]),[ie,ae,G,oe,K]=Hue(v),se=C.useMemo(()=>isFinite(p)?p:0,[p]),ce=C.useMemo(()=>isFinite(m)?m:100,[m]),le=C.useMemo(()=>h!==null&&h<=0?1:h,[h]),ue=C.useMemo(()=>typeof E==`boolean`?E?le:!1:E>=0?E:!1,[E,le]),de=C.useMemo(()=>Object.keys(I||{}).map(e=>{let t=I[e],n={value:Number(e)};return t&&typeof t==`object`&&!C.isValidElement(t)&&(`label`in t||`style`in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(({label:e})=>e||typeof e==`number`).sort((e,t)=>e.value-t.value),[I]),[fe,pe]=Vue(se,ce,le,de,T,ue),[me,he]=Wn(_,g),ge=C.useMemo(()=>{let e=me==null?[]:Array.isArray(me)?me:[me],[t=se]=e,n=me===null?[]:[t];if(ie){if(n=[...e],y||me===void 0){let e=y>=0?y+1:2;for(n=n.slice(0,e);n.lengthe-t)}return n.forEach((e,t)=>{n[t]=fe(e)}),n},[me,ie,se,y,fe]),_e=e=>ie?e:e[0],ve=Rn(e=>{let t=[...e].sort((e,t)=>e-t);b&&!Ei(t,ge,!0)&&b(_e(t)),he(t)}),ye=Rn(e=>{e&&te.current.hideHelp();let t=_e(ge);S?.(t),xr(!S,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),w?.(t)}),be=e=>{if(c||!ae||ge.length<=oe)return;let t=[...ge];t.splice(e,1),x?.(_e(t)),ve(t);let n=Math.max(0,e-1);te.current.hideHelp(),te.current.focus(n)},[xe,Se,Ce,we,Te]=Bue(ne,re,ge,se,ce,fe,ve,ye,pe,ae,oe),Ee=(e,t)=>{if(!c){let n=[...ge],r=0,i=0,a=ce-se;ge.forEach((t,n)=>{let o=Math.abs(e-t);o<=a&&(a=o,r=n),t{e.preventDefault();let{width:t,height:n,left:r,top:i,bottom:a,right:o}=ne.current.getBoundingClientRect(),{clientX:s,clientY:c}=e,l;switch(re){case`btt`:l=(a-c)/n;break;case`ttb`:l=(c-i)/n;break;case`rtl`:l=(o-s)/t;break;default:l=(s-r)/t}Ee(fe(se+l*(ce-se)),e)},[Oe,ke]=C.useState(null),Ae=(e,t)=>{if(!c){let n=pe(ge,e,t);x?.(_e(ge)),ve(n.values),ke(n.value)}};C.useEffect(()=>{if(Oe!==null){let e=ge.indexOf(Oe);e>=0&&te.current.focus(e)}ke(null)},[Oe]);let je=C.useMemo(()=>G&&le===null?!1:G,[G,le]),Me=Rn((e,t)=>{Te(e,t),x?.(_e(ge))}),Ne=xe!==-1;C.useEffect(()=>{if(!Ne){let e=ge.lastIndexOf(Se);te.current.focus(e)}},[Ne]);let Pe=C.useMemo(()=>[...we].sort((e,t)=>e-t),[we]),[Fe,Ie]=C.useMemo(()=>ie?[Pe[0],Pe[Pe.length-1]]:[se,Pe[0]],[Pe,ie,se]);C.useImperativeHandle(t,()=>({focus:()=>{te.current.focus(0)},blur:()=>{let{activeElement:e}=document;ne.current?.contains(e)&&e?.blur()}})),C.useEffect(()=>{u&&te.current.focus(0)},[]);let Le=C.useMemo(()=>({min:se,max:ce,direction:re,disabled:c,keyboard:l,step:le,included:k,includedStart:Fe,includedEnd:Ie,range:ie,tabIndex:V,ariaLabelForHandle:H,ariaLabelledByForHandle:U,ariaRequired:W,ariaValueTextFormatterForHandle:ee,styles:o||{},classNames:a||{}}),[se,ce,re,c,l,le,k,Fe,Ie,ie,V,H,U,W,ee,o,a]);return C.createElement(Wj.Provider,{value:Le},C.createElement(`div`,{ref:ne,className:q(n,r,{[`${n}-disabled`]:c,[`${n}-vertical`]:O,[`${n}-horizontal`]:!O,[`${n}-with-marks`]:de.length}),style:i,onMouseDown:De,id:s},C.createElement(`div`,{className:q(`${n}-rail`,a?.rail),style:{...N,...o?.rail}}),B!==!1&&C.createElement(Rue,{prefixCls:n,style:j,values:ge,startPoint:A,onStartMove:je?Me:void 0}),C.createElement(Lue,{prefixCls:n,marks:de,dots:L,style:P,activeStyle:F}),C.createElement(Nue,{ref:te,prefixCls:n,style:M,values:we,draggingIndex:xe,draggingDelete:Ce,onStartMove:Me,onOffsetChange:Ae,onFocus:d,onBlur:f,handleRender:R,activeHandleRender:z,onChangeComplete:ye,onDelete:ae?be:void 0}),C.createElement(Fue,{prefixCls:n,marks:de,onClick:Ee})))}),Wue=(0,C.createContext)({}),Xj=C.forwardRef((e,t)=>{let{open:n,draggingDelete:r,value:i}=e,a=(0,C.useRef)(null),o=n&&!r,s=(0,C.useRef)(null);function c(){ii.cancel(s.current),s.current=null}function l(){s.current=ii(()=>{a.current?.forceAlign(),s.current=null})}return C.useEffect(()=>(o?l():c(),c),[o,e.title,i]),C.createElement(nx,{ref:er(a,t),...e,open:o})}),Gue=e=>{let{componentCls:t,antCls:n,controlSize:r,dotSize:i,marginFull:a,marginPart:o,colorFillContentHover:s,handleColorDisabled:c,calc:l,handleSize:u,handleSizeHover:d,handleActiveColor:f,handleActiveOutlineColor:p,handleLineWidth:m,handleLineWidthHover:h,motionDurationMid:g}=e;return{[t]:{...Yc(e),position:`relative`,height:r,margin:`${J(o)} ${J(a)}`,padding:0,cursor:`pointer`,touchAction:`none`,"&-vertical":{margin:`${J(a)} ${J(o)}`},[`${t}-rail`]:{position:`absolute`,backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${g}`},[`${t}-track,${t}-tracks`]:{position:`absolute`,transition:`background-color ${g}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:`content-box`,backgroundClip:`content-box`,border:`solid rgba(0,0,0,0)`},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:s},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${J(m)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:`absolute`,width:u,height:u,outline:`none`,userSelect:`none`,"&-dragging-delete":{opacity:0},"&::before":{content:`""`,position:`absolute`,insetInlineStart:l(m).mul(-1).equal(),insetBlockStart:l(m).mul(-1).equal(),width:l(u).add(l(m).mul(2)).equal(),height:l(u).add(l(m).mul(2)).equal(),backgroundColor:`transparent`},"&::after":{content:`""`,position:`absolute`,insetBlockStart:0,insetInlineStart:0,width:u,height:u,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${J(m)} ${e.handleColor}`,outline:`0px solid transparent`,borderRadius:`50%`,cursor:`pointer`,transition:[`inset-inline-start`,`inset-block-start`,`width`,`height`,`box-shadow`,`outline`].map(e=>`${e} ${g}`).join(`, `)},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:l(d).sub(u).div(2).add(h).mul(-1).equal(),insetBlockStart:l(d).sub(u).div(2).add(h).mul(-1).equal(),width:l(d).add(l(h).mul(2)).equal(),height:l(d).add(l(h).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${J(h)} ${f}`,outline:`6px solid ${p}`,width:d,height:d,insetInlineStart:e.calc(u).sub(d).div(2).equal(),insetBlockStart:e.calc(u).sub(d).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:`none`}},[`${t}-mark`]:{position:`absolute`,fontSize:e.fontSize},[`${t}-mark-text`]:{position:`absolute`,display:`inline-block`,color:e.colorTextDescription,textAlign:`center`,wordBreak:`keep-all`,cursor:`pointer`,userSelect:`none`,"&-active":{color:e.colorText}},[`${t}-step`]:{position:`absolute`,background:`transparent`,pointerEvents:`none`},[`${t}-dot`]:{position:`absolute`,width:i,height:i,backgroundColor:e.colorBgElevated,border:`${J(m)} solid ${e.dotBorderColor}`,borderRadius:`50%`,cursor:`pointer`,transition:`border-color ${e.motionDurationSlow}`,pointerEvents:`auto`,"&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:`not-allowed`,[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[` + `]:{[`&:hover ${t}`]:{borderColor:e.colorPrimary}},[`${i}:not(${i}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled)`]:{backgroundColor:e.colorPrimaryHover,borderColor:`transparent`}}},{[`${t}-checked`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:`rotate(45deg) scale(1) translate(-50%,-50%)`,transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`,...fh()},[`&:not(${t}-disabled):hover`]:{backgroundColor:e.colorPrimaryHover,borderColor:`transparent`}}},{[t]:{"&-indeterminate":{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,"&:after":{top:`50%`,insetInlineStart:`50%`,width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:`translate(-50%, -50%) scale(1)`,opacity:1,content:`""`},"&:hover":{backgroundColor:e.colorBgContainer,borderColor:e.colorPrimary}}}},{[`${i}-disabled`]:{cursor:`not-allowed`},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:`not-allowed`,pointerEvents:`none`},background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate::after`]:{background:e.colorTextDisabled}}}]};function JA(e,t){return aue(_s(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize}))}var YA=il(`Checkbox`,(e,{prefixCls:t})=>[JA(t,e)]),XA=C.createContext(null),ZA=C.forwardRef((e,t)=>{let{prefixCls:n,children:r,indeterminate:i=!1,onMouseEnter:a,onMouseLeave:o,skipGroup:s=!1,disabled:c,rootClassName:l,className:u,style:d,classNames:f,styles:p,name:m,value:h,checked:g,defaultChecked:_,onChange:v,...y}=e,{getPrefixCls:b,direction:x,className:S,style:w,classNames:T,styles:E}=ui(`checkbox`),D=C.useContext(XA),{isFormItemInput:O}=C.useContext(B_),k=C.useContext(Bp),A=(D?.disabled||c)??k,[j,M]=Wn(_,g),N=j,P=Rn(e=>{M(e.target.checked),v?.(e),!s&&D?.toggleOption&&D.toggleOption({label:r,value:h})});D&&!s&&(N=D.value.includes(h));let F=C.useRef(null),I=tr(t,F);C.useEffect(()=>{if(!(s||!D))return D.registerValue(h),()=>{D.cancelValue(h)}},[h,s]),C.useEffect(()=>{F.current?.input&&(F.current.input.indeterminate=i)},[i]);let L=b(`checkbox`,n),R=xf(L),[z,B]=YA(L,R),V={...y},H={...e,indeterminate:i,disabled:A,checked:N},[U,W]=Id([T,f],[E,p],{props:H}),ee=q(`${L}-wrapper`,{[`${L}-rtl`]:x===`rtl`,[`${L}-wrapper-checked`]:N,[`${L}-wrapper-disabled`]:A,[`${L}-wrapper-in-form-item`]:O},S,u,U.root,l,B,R,z),te=q(U.icon,{[`${L}-indeterminate`]:i},Pm,z),[ne,re]=Fk(V.onClick);return C.createElement(Lm,{component:`Checkbox`,disabled:A},C.createElement(`label`,{className:ee,style:{...W.root,...w,...d},onMouseEnter:a,onMouseLeave:o,onClick:ne},C.createElement(Pk,{...V,name:!s&&D?D.name:m,checked:N,onClick:re,onChange:P,prefixCls:L,className:te,style:W.icon,disabled:A,ref:I,value:h}),pd(r)&&C.createElement(`span`,{className:q(`${L}-label`,U.label),style:W.label},r)))}),oue=C.forwardRef((e,t)=>{let{defaultValue:n,children:r,options:i=[],prefixCls:a,className:o,rootClassName:s,style:c,onChange:l,role:u=`group`,...d}=e,{getPrefixCls:f,direction:p}=C.useContext(si),[m,h]=C.useState(d.value||n||[]),[g,_]=C.useState([]);C.useEffect(()=>{`value`in d&&h(d.value||[])},[d.value]);let v=C.useMemo(()=>i.map(e=>typeof e==`string`||md(e)?{label:e,value:e}:e),[i]),y=e=>{_(t=>t.filter(t=>t!==e))},b=e=>{_(t=>[].concat(Qr(t),[e]))},x=e=>{let t=m.indexOf(e.value),n=Qr(m);t===-1?n.push(e.value):n.splice(t,1),`value`in d||h(n),l?.(n.filter(e=>g.includes(e)).sort((e,t)=>v.findIndex(t=>t.value===e)-v.findIndex(e=>e.value===t)))},S=f(`checkbox`,a),w=`${S}-group`,T=xf(S),[E,D]=YA(S,T),O=Cr(d,[`value`,`disabled`]),k=i.length?v.map(e=>C.createElement(ZA,{prefixCls:S,key:e.value.toString(),disabled:`disabled`in e?e.disabled:d.disabled,value:e.value,checked:m.includes(e.value),onChange:e.onChange,className:q(`${w}-item`,e.className),style:e.style,title:e.title,id:e.id,required:e.required},e.label)):r,A=C.useMemo(()=>({toggleOption:x,value:m,disabled:d.disabled,name:d.name,registerValue:b,cancelValue:y}),[x,m,d.disabled,d.name,b,y]),j=q(w,{[`${w}-rtl`]:p===`rtl`},o,s,D,T,E);return C.createElement(`div`,{className:j,style:c,role:u,...O,ref:t},C.createElement(XA.Provider,{value:A},k))}),QA=ZA;QA.Group=oue,QA.__ANT_CHECKBOX=!0;var $A=(0,C.createContext)({});function ej(e){return e===`auto`?`1 1 auto`:md(e)?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}var tj=C.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=C.useContext(si),{gutter:i,wrap:a}=C.useContext($A),{prefixCls:o,span:s,order:c,offset:l,push:u,pull:d,className:f,children:p,flex:m,style:h,...g}=e,_=n(`col`,o),v=n(),[y,b]=Cne(_),[x]=sl(v,`col`),S={},w={};Eb.forEach(t=>{let n={},i=e[t];md(i)?n.span=i:gd(i)&&(n=i||{}),delete g[t],w={...w,[`${_}-${t}-${n.span}`]:pd(n.span),[`${_}-${t}-order-${n.order}`]:n.order||n.order===0,[`${_}-${t}-offset-${n.offset}`]:n.offset||n.offset===0,[`${_}-${t}-push-${n.push}`]:n.push||n.push===0,[`${_}-${t}-pull-${n.pull}`]:n.pull||n.pull===0,[`${_}-rtl`]:r===`rtl`},n.flex&&(w[`${_}-${t}-flex`]=!0,S[x(`${t}-flex`)]=ej(n.flex))});let T=q(_,{[`${_}-${s}`]:s!==void 0,[`${_}-order-${c}`]:c,[`${_}-offset-${l}`]:l,[`${_}-push-${u}`]:u,[`${_}-pull-${d}`]:d},f,w,y,b),E={};return i?.[0]&&(E.paddingInline=md(i[0])?`${i[0]/2}px`:`calc(${i[0]} / 2)`),m&&(E.flex=ej(m),a===!1&&!E.minWidth&&(E.minWidth=0)),C.createElement(`div`,{...g,style:{...E,...h,...S},className:T,ref:t},p)});function sue(e,t){let n=[void 0,void 0],r=Array.isArray(e)?e:[e,void 0],i=t||{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0,xxxl:!0};return r.forEach((e,t)=>{if(gd(e))for(let r=0;r{let[n,r]=C.useState(()=>hd(e)?e:``),i=()=>{if(hd(e)&&r(e),gd(e))for(let n=0;n{i()},[JSON.stringify(e),t]),n},rj=C.forwardRef((e,t)=>{let{prefixCls:n,justify:r,align:i,className:a,style:o,children:s,gutter:c=0,wrap:l,...u}=e,{getPrefixCls:d,direction:f}=C.useContext(si),p=jb(!0,null),m=nj(i,p),h=nj(r,p),g=d(`row`,n),[_,v]=Sne(g),y=sue(c,p),b=q(g,{[`${g}-no-wrap`]:l===!1,[`${g}-${h}`]:h,[`${g}-${m}`]:m,[`${g}-rtl`]:f===`rtl`},a,_,v),x={};y?.[0]&&(x.marginInline=md(y[0])?`${y[0]/-2}px`:`calc(${y[0]} / -2)`);let[S,w]=y;x.rowGap=w;let T=C.useMemo(()=>({gutter:[S,w],wrap:l}),[S,w,l]);return C.createElement($A.Provider,{value:T},C.createElement(`div`,{...u,className:b,style:{...x,...o},ref:t},s))}),ij=tj,cue=e=>{let{componentCls:t}=e;return{[t]:{"&-horizontal":{[`&${t}`]:{"&-sm":{marginBlock:e.marginXS},"&-md":{marginBlock:e.margin}}}}}},lue=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:i,textPaddingInline:a,orientationMargin:o,verticalMarginInline:s}=e,c=`${t}-rail`;return{[t]:{...Yc(e),borderBlockStart:`${J(i)} solid ${r}`,[c]:{borderBlockStart:`${J(i)} solid ${r}`},"&-vertical":{position:`relative`,top:`-0.06em`,display:`inline-block`,height:`0.9em`,marginInline:s,marginBlock:0,verticalAlign:`middle`,borderTop:0,borderInlineStart:`${J(i)} solid ${r}`},"&-horizontal":{display:`flex`,clear:`both`,width:`100%`,minWidth:`100%`,margin:`${J(e.marginLG)} 0`},[`&-horizontal${t}-with-text`]:{display:`flex`,alignItems:`center`,margin:`${J(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:`nowrap`,textAlign:`center`,borderBlockStart:`0 ${r}`,[`${c}-start, ${c}-end`]:{width:`50%`,borderBlockStartColor:`inherit`,borderBlockEnd:0,content:`''`}},[`&-horizontal${t}-with-text-start`]:{[`${c}-start`]:{width:`calc(${o} * 100%)`},[`${c}-end`]:{width:`calc(100% - ${o} * 100%)`}},[`&-horizontal${t}-with-text-end`]:{[`${c}-start`]:{width:`calc(100% - ${o} * 100%)`},[`${c}-end`]:{width:`calc(${o} * 100%)`}},[`${t}-inner-text`]:{display:`inline-block`,paddingBlock:0,paddingInline:a},"&-dashed":{background:`none`,borderColor:r,borderStyle:`dashed`,borderWidth:`${J(i)} 0 0`,[c]:{borderBlockStart:`${J(i)} dashed ${r}`}},[`&-horizontal${t}-with-text${t}-dashed`]:{[`${c}-start, ${c}-end`]:{borderStyle:`dashed none none`}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:`none`,borderColor:r,borderStyle:`dotted`,borderWidth:`${J(i)} 0 0`,[c]:{borderBlockStart:`${J(i)} dotted ${r}`}},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:`dotted none none`}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:`normal`,fontSize:e.fontSize},[`&-horizontal${t}-with-text-start${t}-no-default-orientation-margin-start`]:{[`${c}-start`]:{width:0},[`${c}-end`]:{width:`100%`},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-end${t}-no-default-orientation-margin-end`]:{[`${c}-start`]:{width:`100%`},[`${c}-end`]:{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}}}},uue=il(`Divider`,e=>{let t=_s(e,{dividerHorizontalWithTextGutterMargin:e.margin,sizePaddingEdgeHorizontal:0});return[lue(t),cue(t)]},e=>({textPaddingInline:`1em`,orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),due=[`left`,`right`,`center`,`start`,`end`],fue=e=>{let{getPrefixCls:t,direction:n,className:r,style:i,classNames:a,styles:o}=ui(`divider`),{prefixCls:s,type:c,orientation:l,vertical:u,titlePlacement:d,orientationMargin:f,className:p,rootClassName:m,children:h,dashed:g,variant:_=`solid`,plain:v,style:y,size:b,classNames:x,styles:S,...w}=e,T=t(`divider`,s),E=`${T}-rail`,[D,O]=uue(T),k=Rm(b),A=!!h,j=due.includes(l||``),M=C.useMemo(()=>{let e=d??(j?l:`center`);return e===`left`?n===`rtl`?`end`:`start`:e===`right`?n===`rtl`?`start`:`end`:e},[n,l,d,j]),N=M===`start`&&f!=null,P=M===`end`&&f!=null,[F,I]=zd(l,u,c),L={...e,orientation:F,titlePlacement:M,size:k},[R,z]=Id([a,x],[o,S],{props:L}),B=q(T,r,D,O,`${T}-${F}`,{[`${T}-with-text`]:A,[`${T}-with-text-${M}`]:A,[`${T}-dashed`]:!!g,[`${T}-${_}`]:_!==`solid`,[`${T}-plain`]:!!v,[`${T}-rtl`]:n===`rtl`,[`${T}-no-default-orientation-margin-start`]:N,[`${T}-no-default-orientation-margin-end`]:P,[`${T}-md`]:k===`medium`||k===`middle`,[`${T}-sm`]:k===`small`,[E]:!h,[R.rail]:R.rail&&!h},p,m,R.root),V=C.useMemo(()=>md(f)?f:/^\d+$/.test(f)?Number(f):f,[f]),H={marginInlineStart:N?V:void 0,marginInlineEnd:P?V:void 0};return C.createElement(`div`,{className:B,style:{...i,...z.root,...h?{}:z.rail,...y},...w,role:`separator`},h&&!I&&C.createElement(C.Fragment,null,C.createElement(`div`,{className:q(E,`${E}-start`,R.rail),style:z.rail}),C.createElement(`span`,{className:q(`${T}-inner-text`,R.content),style:{...H,...z.content}},h),C.createElement(`div`,{className:q(E,`${E}-end`,R.rail),style:z.rail})))},pue={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`minus`,theme:`outlined`};function aj(){return aj=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,aj({},e,{ref:t,icon:pue}))),mue={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z`}}]},name:`up`,theme:`outlined`};function sj(){return sj=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sj({},e,{ref:t,icon:mue})));function lj(){return typeof BigInt==`function`}function uj(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function dj(e){var t=e.trim(),n=t.startsWith(`-`);n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,`$1`).replace(/\.0*$/,``).replace(/^0+/,``),t.startsWith(`.`)&&(t=`0${t}`);var r=t||`0`,i=r.split(`.`),a=i[0]||`0`,o=i[1]||`0`;a===`0`&&o===`0`&&(n=!1);var s=n?`-`:``;return{negative:n,negativeStr:s,trimStr:r,integerStr:a,decimalStr:o,fullStr:`${s}${r}`}}function fj(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes(`e`)}function pj(e){var t=Wo(e.toLowerCase().split(`e`),2),n=t[0],r=t[1],i=r===void 0?`0`:r,a=n.startsWith(`-`),o=Wo((a?n.slice(1):n).split(`.`),2),s=o[0],c=s===void 0?`0`:s,l=o[1],u=l===void 0?``:l;return{decimal:u,digits:`${c}${u}`.replace(/^0+/,``)||`0`,exponent:Number(i),integer:c,negative:a}}function hue(e){var t=e.decimal,n=e.digits,r=e.exponent,i=e.integer,a=e.negative;if(n===`0`)return`0`;var o=i.replace(/^0+/,``).length,s=(t.match(/^0*/)||[``])[0].length,c=(o||-s)+r,l=``;return l=c<=0?`0.${`0`.repeat(-c)}${n}`:c>=n.length?`${n}${`0`.repeat(c-n.length)}`:`${n.slice(0,c)}.${n.slice(c)}`,`${a?`-`:``}${l}`}function mj(e){return e.exponent>=0?Math.max(0,e.decimal.length-e.exponent):Math.abs(e.exponent)+e.decimal.length}function hj(e){var t=String(e);return fj(e)?mj(pj(t)):t.includes(`.`)&&_j(t)?t.length-t.indexOf(`.`)-1:0}function gj(e){var t=String(e);if(fj(e)){if(e>2**53-1)return String(lj()?BigInt(e).toString():2**53-1);if(e<-(2**53-1))return String(lj()?BigInt(e).toString():-(2**53-1));var n=pj(t),r=mj(n);t=r>100?hue(n):e.toFixed(r)}return dj(t).fullStr}function _j(e){return typeof e==`number`?!Number.isNaN(e):e?/^\s*-?\d+(\.\d+)?\s*$/.test(e)||/^\s*-?\d+\.\s*$/.test(e)||/^\s*-?\.\d+\s*$/.test(e):!1}var gue=function(){function e(t){if(Xo(this,e),qo(this,`origin`,``),qo(this,`negative`,void 0),qo(this,`integer`,void 0),qo(this,`decimal`,void 0),qo(this,`decimalLen`,void 0),qo(this,`empty`,void 0),qo(this,`nan`,void 0),uj(t)){this.empty=!0;return}if(this.origin=String(t),t===`-`||Number.isNaN(t)){this.nan=!0;return}var n=t;if(fj(n)&&(n=Number(n)),n=typeof n==`string`?n:gj(n),_j(n)){var r=dj(n);this.negative=r.negative;var i=r.trimStr.split(`.`);this.integer=BigInt(i[0]);var a=i[1]||`0`;this.decimal=BigInt(a),this.decimalLen=a.length}else this.nan=!0}return Qo(e,[{key:`getMark`,value:function(){return this.negative?`-`:``}},{key:`getIntegerStr`,value:function(){return this.integer.toString()}},{key:`getDecimalStr`,value:function(){return this.decimal.toString().padStart(this.decimalLen,`0`)}},{key:`alignDecimal`,value:function(e){var t=`${this.getMark()}${this.getIntegerStr()}${this.getDecimalStr().padEnd(e,`0`)}`;return BigInt(t)}},{key:`negate`,value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:`cal`,value:function(t,n,r){var i=Math.max(this.getDecimalStr().length,t.getDecimalStr().length),a=n(this.alignDecimal(i),t.alignDecimal(i)).toString(),o=r(i),s=dj(a),c=`${s.negativeStr}${s.trimStr.padStart(o+1,`0`)}`;return new e(`${c.slice(0,-o)}.${c.slice(-o)}`)}},{key:`add`,value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);return n.isInvalidate()?this:this.cal(n,function(e,t){return e+t},function(e){return e})}},{key:`multi`,value:function(t){var n=new e(t);return this.isInvalidate()||n.isInvalidate()?new e(NaN):this.cal(n,function(e,t){return e*t},function(e){return e*2})}},{key:`isEmpty`,value:function(){return this.empty}},{key:`isNaN`,value:function(){return this.nan}},{key:`isInvalidate`,value:function(){return this.isEmpty()||this.isNaN()}},{key:`equals`,value:function(e){return this.toString()===e?.toString()}},{key:`lessEquals`,value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:`toNumber`,value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:`toString`,value:function(){return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.isInvalidate()?``:dj(`${this.getMark()}${this.getIntegerStr()}.${this.getDecimalStr()}`).fullStr:this.origin}}]),e}(),_ue=function(){function e(t){if(Xo(this,e),qo(this,`origin`,``),qo(this,`number`,void 0),qo(this,`empty`,void 0),uj(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return Qo(e,[{key:`negate`,value:function(){return new e(-this.toNumber())}},{key:`add`,value:function(t){if(this.isInvalidate())return new e(t);var n=Number(t);if(Number.isNaN(n))return this;var r=this.number+n;if(r>2**53-1)return new e(2**53-1);if(r<-(2**53-1))return new e(-(2**53-1));var i=Math.max(hj(this.number),hj(n));return new e(r.toFixed(i))}},{key:`multi`,value:function(t){var n=Number(t);if(this.isInvalidate()||Number.isNaN(n))return new e(NaN);var r=this.number*n;if(r>2**53-1)return new e(2**53-1);if(r<-(2**53-1))return new e(-(2**53-1));var i=Math.max(hj(this.number),hj(n));return new e(r.toFixed(i))}},{key:`isEmpty`,value:function(){return this.empty}},{key:`isNaN`,value:function(){return Number.isNaN(this.number)}},{key:`isInvalidate`,value:function(){return this.isEmpty()||this.isNaN()}},{key:`equals`,value:function(e){return this.toNumber()===e?.toNumber()}},{key:`lessEquals`,value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:`toNumber`,value:function(){return this.number}},{key:`toString`,value:function(){return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.isInvalidate()?``:fj(this.number)&&hj(this.number)>100?String(this.number):gj(this.number):this.origin}}]),e}();function vj(e){return lj()?new gue(e):new _ue(e)}function yj(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e===``)return``;var i=dj(e),a=i.negativeStr,o=i.integerStr,s=i.decimalStr,c=`${t}${s}`,l=`${a}${o}`;if(n>=0){var u=Number(s[n]);return u>=5&&!r?yj(vj(e).add(`${a}0.${`0`.repeat(n)}${10-u}`).toString(),t,n,r):n===0?l:`${l}${t}${s.padEnd(n,`0`).slice(0,n)}`}return c===`.0`?l:`${l}${c}`}var bj=vj;function vue(e,t){return typeof Proxy<`u`&&e?new Proxy(e,{get(e,n){if(t[n])return t[n];let r=e[n];return typeof r==`function`?r.bind(e):r}}):e}function yue(e,t){let n=(0,C.useRef)(null);function r(){try{let{selectionStart:t,selectionEnd:r,value:i}=e;n.current={start:t,end:r,value:i,beforeTxt:i.substring(0,t),afterTxt:i.substring(r)}}catch{}}function i(){if(e&&n.current&&t)try{let{value:t}=e,{beforeTxt:r,afterTxt:i,start:a}=n.current,o=t.length;if(t.startsWith(r))o=r.length;else if(t.endsWith(i))o=t.length-n.current.afterTxt.length;else{let e=r[a-1],n=t.indexOf(e,a-1);n!==-1&&(o=n+1)}e.setSelectionRange(o,o)}catch(e){xr(!1,`Something warning of cursor restore. Please fire issue about this: ${e.message}`)}}return[r,i]}var bue=200,xue=600;function xj({prefixCls:e,action:t,children:n,disabled:r,className:i,style:a,onStep:o}){let s=t===`up`,c=C.useRef(),l=C.useRef([]),u=()=>{clearTimeout(c.current)},d=e=>{e.preventDefault(),u(),o(s,`handler`);function t(){o(s,`handler`),c.current=setTimeout(t,bue)}c.current=setTimeout(t,xue)};C.useEffect(()=>()=>{u(),l.current.forEach(e=>{ii.cancel(e)})},[]);let f=`${e}-action`,p=q(f,`${f}-${t}`,{[`${f}-${t}-disabled`]:r},i),m=()=>l.current.push(ii(u));return C.createElement(`span`,{unselectable:`on`,role:`button`,onMouseUp:m,onMouseLeave:m,onMouseDown:e=>{d(e)},"aria-label":s?`Increase Value`:`Decrease Value`,"aria-disabled":r,className:p,style:a},n||C.createElement(`span`,{unselectable:`on`,className:`${e}-action-${t}-inner`}))}function Sj(e){let t=typeof e==`number`?gj(e):dj(e).fullStr;return t.includes(`.`)?dj(t.replace(/(\d)\.(\d)/g,`$1$2.`)).fullStr:e+`0`}var Sue=(()=>{let e=(0,C.useRef)(0),t=()=>{ii.cancel(e.current)};return(0,C.useEffect)(()=>t,[]),n=>{t(),e.current=ii(()=>{n()})}});function Cj(){return Cj=Object.assign?Object.assign.bind():function(e){for(var t=1;te||t.isEmpty()?t.toString():t.toNumber(),Tj=e=>{let t=bj(e);return t.isInvalidate()?null:t},Cue=C.forwardRef((e,t)=>{let{mode:n=`input`,prefixCls:r=`rc-input-number`,className:i,style:a,classNames:o,styles:s,min:c,max:l,step:u=1,defaultValue:d,value:f,disabled:p,readOnly:m,upHandler:h,downHandler:g,keyboard:_,changeOnWheel:v=!1,controls:y=!0,prefix:b,suffix:x,stringMode:S,parser:w,formatter:T,precision:E,decimalSeparator:D,onChange:O,onInput:k,onPressEnter:A,onStep:j,onMouseDown:M,onClick:N,onMouseUp:P,onMouseLeave:F,onMouseMove:I,onMouseEnter:L,onMouseOut:R,changeOnBlur:z=!0,...B}=e,[V,H]=C.useState(!1),U=C.useRef(!1),W=C.useRef(!1),ee=C.useRef(!1),te=C.useRef(null),ne=C.useRef(null);C.useImperativeHandle(t,()=>vue(ne.current,{focus:e=>{fg(ne.current,e)},blur:()=>{ne.current?.blur()},nativeElement:te.current}));let[re,ie]=C.useState(()=>bj(f??d));function ae(e){f===void 0&&ie(e)}let G=C.useCallback((e,t)=>{if(!t)return E>=0?E:Math.max(hj(e),hj(u))},[E,u]),oe=C.useCallback(e=>{let t=String(e);if(w)return w(t);let n=t;return D&&(n=n.replace(D,`.`)),n.replace(/[^\w.-]+/g,``)},[w,D]),K=C.useRef(``),se=C.useCallback((e,t)=>{if(T)return T(e,{userTyping:t,input:String(K.current)});let n=typeof e==`number`?gj(e):e;if(!t){let e=G(n,t);_j(n)&&(D||e>=0)&&(n=yj(n,D||`.`,e))}return n},[T,G,D]),[ce,le]=C.useState(()=>{let e=d??f;return re.isInvalidate()&&[`string`,`number`].includes(typeof e)?Number.isNaN(e)?``:e:se(re.toString(),!1)});K.current=ce;function ue(e,t){le(se(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}let de=C.useMemo(()=>Tj(l),[l,E]),fe=C.useMemo(()=>Tj(c),[c,E]),pe=C.useMemo(()=>!de||!re||re.isInvalidate()?!1:de.lessEquals(re),[de,re]),me=C.useMemo(()=>!fe||!re||re.isInvalidate()?!1:re.lessEquals(fe),[fe,re]),[he,ge]=yue(ne.current,V),_e=e=>de&&!e.lessEquals(de)?de:fe&&!fe.lessEquals(e)?fe:null,ve=e=>!_e(e),ye=(e,t)=>{let n=e,r=ve(n)||n.isEmpty();if(!n.isEmpty()&&!t&&(n=_e(n)||n,r=!0),!m&&!p&&r){let e=n.toString(),r=G(e,t);return r>=0&&(n=bj(yj(e,`.`,r)),ve(n)||(n=bj(yj(e,`.`,r,!0)))),n.equals(re)||(ae(n),O?.(n.isEmpty()?null:wj(S,n)),f===void 0&&ue(n,t)),n}return re},be=Sue(),xe=e=>{if(he(),K.current=e,le(e),!W.current){let t=bj(oe(e));t.isNaN()||ye(t,!0)}k?.(e),be(()=>{let t=e;w||(t=e.replace(/。/g,`.`)),t!==e&&xe(t)})},Se=()=>{W.current=!0},Ce=()=>{W.current=!1,xe(ne.current.value)},we=e=>{xe(e.target.value)},Te=Rn((e,t)=>{if(e&&pe||!e&&me)return;U.current=!1;let n=bj(ee.current?Sj(u):u);e||(n=n.negate());let r=ye((re||bj(0)).add(n.toString()),!1);j?.(wj(S,r),{offset:ee.current?Sj(u):u,type:e?`up`:`down`,emitter:t}),ne.current?.focus()}),Ee=e=>{let t=bj(oe(ce)),n;n=t.isNaN()?ye(re,e):ye(t,e),f===void 0?n.isNaN()||ue(n,!1):ue(re,!1)},De=()=>{U.current=!0},Oe=e=>{let{key:t,shiftKey:n}=e;U.current=!0,ee.current=n,t===`Enter`&&(W.current||(U.current=!1),Ee(!1),A?.(e)),_!==!1&&!W.current&&[`Up`,`ArrowUp`,`Down`,`ArrowDown`].includes(t)&&(Te(t===`Up`||t===`ArrowUp`,`keyboard`),e.preventDefault())},ke=()=>{U.current=!1,ee.current=!1};C.useEffect(()=>{if(v&&V){let e=e=>{Te(e.deltaY<0,`wheel`),e.preventDefault()},t=ne.current;if(t)return t.addEventListener(`wheel`,e,{passive:!1}),()=>t.removeEventListener(`wheel`,e)}});let Ae=()=>{z&&Ee(!1),H(!1),U.current=!1},je=e=>{ne.current&&e.target!==ne.current&&(ne.current.focus(),e.preventDefault()),M?.(e)};Hn(()=>{re.isInvalidate()||ue(re,!1)},[E,T]),Hn(()=>{let e=bj(f);ie(e);let t=bj(oe(ce));(!e.equals(t)||!U.current||T)&&ue(e,U.current)},[f]),Hn(()=>{T&&ge()},[ce]);let Me={prefixCls:r,onStep:Te,className:o?.action,style:s?.action},Ne=C.createElement(xj,Cj({},Me,{action:`up`,disabled:pe}),h),Pe=C.createElement(xj,Cj({},Me,{action:`down`,disabled:me}),g);return C.createElement(`div`,{ref:te,className:q(r,`${r}-mode-${n}`,i,o?.root,{[`${r}-focused`]:V,[`${r}-disabled`]:p,[`${r}-readonly`]:m,[`${r}-not-a-number`]:re.isNaN(),[`${r}-out-of-range`]:!re.isInvalidate()&&!ve(re)}),style:{...s?.root,...a},onMouseDown:je,onMouseUp:P,onMouseLeave:F,onMouseMove:I,onMouseEnter:L,onMouseOut:R,onClick:N,onFocus:()=>{H(!0)},onBlur:Ae,onKeyDown:Oe,onKeyUp:ke,onCompositionStart:Se,onCompositionEnd:Ce,onBeforeInput:De},n===`spinner`&&y&&Pe,b!==void 0&&C.createElement(`div`,{className:q(`${r}-prefix`,o?.prefix),style:s?.prefix},b),C.createElement(`input`,Cj({autoComplete:`off`,role:`spinbutton`,"aria-valuemin":c,"aria-valuemax":l,"aria-valuenow":re.isInvalidate()?null:re.toString(),step:u,ref:ne,className:q(`${r}-input`,o?.input),style:s?.input,value:ce,onChange:we,disabled:p,readOnly:m},B)),x!==void 0&&C.createElement(`div`,{className:q(`${r}-suffix`,o?.suffix),style:s?.suffix},x),n===`spinner`&&y&&Ne,n===`input`&&y&&C.createElement(`div`,{className:q(`${r}-actions`,o?.actions),style:s?.actions},Ne,Pe))}),wue=e=>{let{componentCls:t,borderRadius:n,paddingSM:r,colorBorder:i,paddingXS:a,fontSizeLG:o,fontSizeSM:s,borderRadiusLG:c,borderRadiusSM:l,colorBgContainerDisabled:u,lineWidth:d,antCls:f}=e,[p,m]=sl(f,`space`);return{[t]:[{display:`inline-flex`,alignItems:`center`,gap:0,whiteSpace:`nowrap`,paddingInline:r,margin:0,borderWidth:d,borderStyle:`solid`,borderRadius:n,"&:hover":{zIndex:0},[`&${t}-disabled`]:{color:e.colorTextDisabled},"&-large":{fontSize:o,borderRadius:c},"&-small":{paddingInline:a,borderRadius:l,fontSize:s},"&-compact-last-item":{borderEndStartRadius:0,borderStartStartRadius:0},"&-compact-first-item":{borderEndEndRadius:0,borderStartEndRadius:0},"&-compact-item:not(:first-child):not(:last-child)":{borderRadius:0},"&-compact-item:not(:last-child)":{borderInlineEndWidth:0},"&-compact-item:not(:first-child)":{borderInlineStartWidth:0}},{[p(`addon-border-color`)]:i,[p(`addon-background`)]:u,[p(`addon-border-color-outlined`)]:i,[p(`addon-background-filled`)]:u,borderColor:m(`addon-border-color`),background:m(`addon-background`),"&-variant-outlined":{[p(`addon-border-color`)]:m(`addon-border-color-outlined`)},"&-variant-filled":{[p(`addon-border-color`)]:`transparent`,[p(`addon-background`)]:m(`addon-background-filled`),[`&${t}-disabled`]:{[p(`addon-border-color`)]:i,[p(`addon-background`)]:u}},"&-variant-borderless":{border:`none`,background:`transparent`},"&-variant-underlined":{border:`none`,background:`transparent`}},{"&-status-error":{[p(`addon-border-color-outlined`)]:e.colorError,[p(`addon-background-filled`)]:e.colorErrorBg,color:e.colorError},"&-status-warning":{[p(`addon-border-color-outlined`)]:e.colorWarning,[p(`addon-background-filled`)]:e.colorWarningBg,color:e.colorWarning}}]}},Tue=il([`Space`,`Addon`],e=>[wue(e),eg(e,{focus:!1})]),Ej=C.forwardRef((e,t)=>{let{className:n,children:r,style:i,prefixCls:a,variant:o=`outlined`,disabled:s,status:c,...l}=e,{getPrefixCls:u,direction:d}=C.useContext(si),f=u(`space-addon`,a),[p,m]=Tue(f),{compactItemClassnames:h,compactSize:g}=Vm(f,d),_=zy(f,c),v=q(f,p,h,m,`${f}-variant-${o}`,_,{[`${f}-${g}`]:g,[`${f}-disabled`]:s},n);return C.createElement(`div`,{ref:t,className:v,style:i,...l},r)}),Eue=e=>{let t=e.handleVisible??`auto`,n=e.controlHeightSM-e.lineWidth*2;return{...Bk(e),controlWidth:90,handleWidth:n,handleFontSize:e.fontSize/2,handleVisible:t,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new zs(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:+(t===!0),handleVisibleWidth:t===!0?n:0}},Due=e=>{let{componentCls:t,lineWidth:n,lineType:r,borderRadius:i,inputFontSizeSM:a,inputFontSizeLG:o,colorError:s,paddingInlineSM:c,paddingBlockSM:l,paddingBlockLG:u,paddingInlineLG:d,colorIcon:f,colorTextDisabled:p,motionDurationMid:m,handleHoverColor:h,handleOpacity:g,paddingInline:_,paddingBlock:v,handleBg:y,handleActiveBg:b,inputAffixPadding:x,borderRadiusSM:S,controlWidth:C,handleBorderColor:w,filledHandleBg:T,lineHeightLG:E,antCls:D}=e,O=`${J(n)} ${r} ${w}`,[k,A]=sl(D,`input-number`);return[{[t]:{...Yc(e),...rA(e),[k(`input-padding-block`)]:J(v),[k(`input-padding-inline`)]:J(_),display:`inline-flex`,width:C,margin:0,paddingBlock:0,borderRadius:i,...Wk(e,{[`${t}-actions`]:{background:y,[`${t}-action-down`]:{borderBlockStart:O}}}),...Yk(e,{[`${t}-actions`]:{background:T,[`${t}-action-down`]:{borderBlockStart:O}},"&:focus-within":{[`${t}-actions`]:{background:y}}}),...$k(e,{[`${t}-actions`]:{background:y,[`${t}-action-down`]:{borderBlockStart:O}}}),...Kk(e),[`&${t}-borderless`]:{paddingBlock:0,[k(`input-padding-block`)]:J(e.calc(v).add(n).equal())},[`&${t}-borderless${t}-sm`]:{paddingBlock:0,[k(`input-padding-block`)]:J(e.calc(l).add(n).equal())},[`&${t}-borderless${t}-lg`]:{paddingBlock:0,[k(`input-padding-block`)]:J(e.calc(u).add(n).equal())},"&-rtl":{direction:`rtl`,[`${t}-input`]:{direction:`rtl`}},[`&${t}-out-of-range`]:{[`${t}-input`]:{color:s}},[`${t}-input`]:{...Yc(e),width:`100%`,paddingBlock:A(`input-padding-block`),textAlign:`start`,backgroundColor:`transparent`,border:0,borderRadius:0,outline:0,transition:`all ${m} linear`,appearance:`textfield`,fontSize:`inherit`,lineHeight:`inherit`,...eA(e.colorTextPlaceholder),'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:`none`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&-disabled ${t}-input`]:{cursor:`not-allowed`,color:e.colorTextDisabled}}},{[t]:{[`${t}-action`]:{...Xc(),userSelect:`none`,overflow:`hidden`,fontWeight:`bold`,lineHeight:0,textAlign:`center`,cursor:`pointer`,transition:`all ${m} linear`,[`&:active:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{background:b},[`&:hover:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{color:h},[`&${t}-action-up-disabled, &${t}-action-down-disabled`]:{cursor:`not-allowed`,color:p}},"&-mode-input":{overflow:`hidden`,[`${t}-actions`]:{position:`absolute`,insetBlockStart:0,insetInlineEnd:0,width:e.handleVisibleWidth,opacity:g,height:`100%`,borderRadius:0,display:`flex`,flexDirection:`column`,alignItems:`stretch`,transition:`all ${m}`,overflow:`hidden`,[`${t}-action`]:{display:`flex`,alignItems:`center`,justifyContent:`center`,flex:`auto`,height:`40%`,marginInlineEnd:0,fontSize:e.handleFontSize}},[`&:hover ${t}-actions, &-focused ${t}-actions`]:{width:e.handleWidth,opacity:1},[`${t}-action`]:{color:f,height:`50%`,borderInlineStart:O,[`&:hover:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{height:`60%`}},[`&${t}-disabled, &${t}-readonly`]:{[`${t}-actions`]:{display:`none`}}},[`&${t}-mode-spinner`]:{padding:0,width:`auto`,[`${t}-action`]:{flex:`none`,paddingInline:A(`input-padding-inline`),"&-up":{borderInlineStart:O},"&-down":{borderInlineEnd:O}},[`${t}-input`]:{textAlign:`center`,paddingInline:A(`input-padding-inline`)}}}},{[t]:{"&-lg":{[k(`input-padding-block`)]:J(u),[k(`input-padding-inline`)]:J(d),paddingBlock:0,fontSize:o,lineHeight:E},"&-sm":{[k(`input-padding-block`)]:J(l),[k(`input-padding-inline`)]:J(c),paddingBlock:0,fontSize:a,borderRadius:S}}},{[t]:{[`${t}-prefix, ${t}-suffix`]:{display:`flex`,flex:`none`,alignItems:`center`,alignSelf:`center`,pointerEvents:`none`},[`${t}-prefix`]:{marginInlineEnd:x},[`${t}-suffix`]:{height:`100%`,marginInlineStart:x,transition:`margin ${m}`},[`&:hover:not(${t}-without-controls)`]:{[`${t}-suffix`]:{marginInlineEnd:e.handleWidth}}}}]},Oue=e=>{let{componentCls:t,antCls:n}=e;return{[`${t}-addon`]:{[`&:has(${n}-select)`]:{border:0,padding:0}}}},kue=il(`InputNumber`,e=>{let t=_s(e,zk(e));return[Due(t),Oue(t),eg(t)]},Eue,{unitless:{handleOpacity:!0},resetFont:!1}),Aue=C.forwardRef((e,t)=>{let n=C.useRef(null);C.useImperativeHandle(t,()=>n.current);let{rootClassName:r,size:i,disabled:a,prefixCls:o,addonBefore:s,addonAfter:c,prefix:l,suffix:u,bordered:d,readOnly:f,status:p,controls:m=!0,variant:h,className:g,style:_,classNames:v,styles:y,mode:b,...x}=e,{direction:S,className:w,style:T,styles:E,classNames:D}=ui(`inputNumber`),O=C.useContext(Bp),k=a??O,A=C.useMemo(()=>!m||k||f?!1:m,[m,k,f]),{compactSize:j,compactItemClassnames:M}=Vm(o,S),N=b===`spinner`?C.createElement(uA,null):C.createElement(cj,null),P=b===`spinner`?C.createElement(oj,null):C.createElement(hb,null),F=typeof A==`boolean`?A:void 0;gd(A)&&(N=A.upIcon||N,P=A.downIcon||P);let{hasFeedback:I,isFormItemInput:L,feedbackIcon:R}=C.useContext(B_),z=Rm(e=>i??j??e),[B,V]=Yy(`inputNumber`,h,d),H=I&&C.createElement(C.Fragment,null,R),U={...e,size:z,disabled:k,controls:A},[W,ee]=Id([D,v],[E,y],{props:U});return C.createElement(Cue,{ref:n,mode:b,disabled:k,className:q(g,r,W.root,w,M,zy(o,p,I),{[`${o}-${B}`]:V,[`${o}-lg`]:z===`large`,[`${o}-sm`]:z===`small`,[`${o}-rtl`]:S===`rtl`,[`${o}-in-form-item`]:L,[`${o}-without-controls`]:!A}),style:{...ee.root,...T,..._},upHandler:N,downHandler:P,prefixCls:o,readOnly:f,controls:F,prefix:l,suffix:H||u,classNames:W,styles:ee,...x})}),Dj=C.forwardRef((e,t)=>{let{addonBefore:n,addonAfter:r,prefixCls:i,className:a,status:o,rootClassName:s,...c}=e,{getPrefixCls:l}=ui(`inputNumber`),u=l(`input-number`,i),{status:d}=C.useContext(B_),f=By(d,o),p=xf(u),[m,h]=kue(u,p),g=n||r,_=C.createElement(Aue,{ref:t,...c,prefixCls:u,status:f,className:q(h,p,m,a),rootClassName:g?void 0:s});if(g){let t=t=>t?C.createElement(Ej,{className:q(`${u}-addon`,h,m),variant:e.variant,disabled:e.disabled,status:f},C.createElement(U_,{form:!0},t)):null,i=t(n),a=t(r);return C.createElement(Wm,{rootClassName:s},i,_,a)}return _}),Oj=Dj;Oj._InternalPanelDoNotUseOrYouWillBeFired=e=>C.createElement($p,{theme:{components:{InputNumber:{handleVisible:!0}}}},C.createElement(Dj,{...e}));function jue(e){return!!(e.addonBefore||e.addonAfter)}function Mue(e){return!!(e.prefix||e.suffix||e.allowClear)}function kj(e,t,n){let r=t.cloneNode(!0),i=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart==`number`&&typeof t.selectionEnd==`number`&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=(...e)=>{t.setSelectionRange(...e)},i}function Aj(e,t,n,r){if(!n)return;let i=t;if(t.type===`click`){i=kj(t,e,``),n(i);return}if(e.type!==`file`&&r!==void 0){i=kj(t,e,r),n(i);return}n(i)}function jj(){return jj=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{inputElement:n,children:r,prefixCls:i,prefix:a,suffix:o,addonBefore:s,addonAfter:c,className:l,style:u,disabled:d,readOnly:f,focused:p,triggerFocus:m,allowClear:h,value:g,handleReset:_,hidden:v,classes:y,classNames:b,dataAttrs:x,styles:S,components:w,onClear:T}=e,E=r??n,D=w?.affixWrapper||`span`,O=w?.groupWrapper||`span`,k=w?.wrapper||`span`,A=w?.groupAddon||`span`,j=(0,C.useRef)(null),M=e=>{j.current?.contains(e.target)&&m?.()},N=Mue(e),P=(0,C.cloneElement)(E,{value:g,className:q(E.props?.className,!N&&b?.variant)||null}),F=(0,C.useRef)(null);if(C.useImperativeHandle(t,()=>({nativeElement:F.current||j.current})),N){let e=null;if(h){let t=!d&&!f&&g,n=`${i}-clear-icon`,r=typeof h==`object`&&h?.clearIcon?h.clearIcon:`✖`;e=C.createElement(`button`,{type:`button`,tabIndex:-1,onClick:e=>{_?.(e),T?.()},onMouseDown:e=>e.preventDefault(),className:q(n,{[`${n}-hidden`]:!t,[`${n}-has-suffix`]:!!o})},r)}let t=`${i}-affix-wrapper`,n=q(t,{[`${i}-disabled`]:d,[`${t}-disabled`]:d,[`${t}-focused`]:p,[`${t}-readonly`]:f,[`${t}-input-with-clear-btn`]:o&&h&&g},y?.affixWrapper,b?.affixWrapper,b?.variant),r=(o||h)&&C.createElement(`span`,{className:q(`${i}-suffix`,b?.suffix),style:S?.suffix},e,o);P=C.createElement(D,jj({className:n,style:S?.affixWrapper,onClick:M},x?.affixWrapper,{ref:j}),a&&C.createElement(`span`,{className:q(`${i}-prefix`,b?.prefix),style:S?.prefix},a),P,r)}if(jue(e)){let e=`${i}-group`,t=`${e}-addon`,n=`${e}-wrapper`,r=q(`${i}-wrapper`,e,y?.wrapper,b?.wrapper),a=q(n,{[`${n}-disabled`]:d},y?.group,b?.groupWrapper);P=C.createElement(O,{className:a,ref:F},C.createElement(k,{className:r},s&&C.createElement(A,{className:t},s),P,c&&C.createElement(A,{className:t},c)))}return C.cloneElement(P,{className:q(P.props?.className,l)||null,style:{...P.props?.style,...u},hidden:v})});function Nj(e,t){return C.useMemo(()=>{let n={};t&&(n.show=typeof t==`object`&&t.formatter?t.formatter:!!t),n={...n,...e};let{show:r,...i}=n;return{...i,show:!!r,showFormatter:typeof r==`function`?r:void 0,strategy:i.strategy||(e=>e.length)}},[e,t])}function Pj(){return Pj=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{autoComplete:n,onChange:r,onFocus:i,onBlur:a,onPressEnter:o,onKeyDown:s,onKeyUp:c,prefixCls:l=`rc-input`,disabled:u,htmlSize:d,className:f,maxLength:p,suffix:m,showCount:h,count:g,type:_=`text`,classes:v,classNames:y,styles:b,onCompositionStart:x,onCompositionEnd:S,...w}=e,[T,E]=(0,C.useState)(!1),D=(0,C.useRef)(!1),O=(0,C.useRef)(!1),k=(0,C.useRef)(null),A=(0,C.useRef)(null),j=e=>{k.current&&fg(k.current,e)},[M,N]=Wn(e.defaultValue,e.value),P=M==null?``:String(M),[F,I]=(0,C.useState)(null),L=Nj(g,h),R=L.max||p,z=L.strategy(P),B=!!R&&z>R;(0,C.useImperativeHandle)(t,()=>({focus:j,blur:()=>{k.current?.blur()},setSelectionRange:(e,t,n)=>{k.current?.setSelectionRange(e,t,n)},select:()=>{k.current?.select()},input:k.current,nativeElement:A.current?.nativeElement||k.current})),(0,C.useEffect)(()=>{O.current&&=!1,E(e=>e&&u?!1:e)},[u]);let V=(e,t,n)=>{let i=t;if(!D.current&&L.exceedFormatter&&L.max&&L.strategy(t)>L.max)i=L.exceedFormatter(t,{max:L.max}),t!==i&&I([k.current?.selectionStart||0,k.current?.selectionEnd||0]);else if(n.source===`compositionEnd`)return;N(i),k.current&&Aj(k.current,e,r,i)};(0,C.useEffect)(()=>{F&&k.current?.setSelectionRange(...F)},[F]);let H=e=>{V(e,e.target.value,{source:`change`})},U=e=>{D.current=!1,V(e,e.currentTarget.value,{source:`compositionEnd`}),S?.(e)},W=e=>{o&&e.key===`Enter`&&!O.current&&!e.nativeEvent.isComposing&&(O.current=!0,o(e)),s?.(e)},ee=e=>{e.key===`Enter`&&(O.current=!1),c?.(e)},te=e=>{E(!0),i?.(e)},ne=e=>{O.current&&=!1,E(!1),a?.(e)},re=e=>{N(``),j(),k.current&&Aj(k.current,e,r)},ie=B&&`${l}-out-of-range`;return C.createElement(Mj,Pj({},w,{prefixCls:l,className:q(f,ie),handleReset:re,value:P,focused:T,triggerFocus:j,suffix:(()=>{let e=Number(R)>0;if(m||L.show){let t=L.showFormatter?L.showFormatter({value:P,count:z,maxLength:R}):`${z}${e?` / ${R}`:``}`;return C.createElement(C.Fragment,null,L.show&&C.createElement(`span`,{className:q(`${l}-show-count-suffix`,{[`${l}-show-count-has-suffix`]:!!m},y?.count),style:{...b?.count}},t),m)}return null})(),disabled:u,classes:v,classNames:y,styles:b,ref:A}),(()=>{let t=Cr(e,[`prefixCls`,`onPressEnter`,`addonBefore`,`addonAfter`,`prefix`,`suffix`,`allowClear`,`defaultValue`,`showCount`,`count`,`classes`,`htmlSize`,`styles`,`classNames`,`onClear`]);return C.createElement(`input`,Pj({autoComplete:n},t,{onChange:H,onFocus:te,onBlur:ne,onKeyDown:W,onKeyUp:ee,className:q(l,{[`${l}-disabled`]:u},y?.input),style:b?.input,ref:k,size:d,type:_,onCompositionStart:e=>{D.current=!0,x?.(e)},onCompositionEnd:U}))})())}),Fj=e=>{let t;return gd(e)&&e?.clearIcon?t=e:e&&(t={clearIcon:C.createElement(Il,null)}),t};function Ij(e,t){let n=(0,C.useRef)([]),r=()=>{n.current.push(setTimeout(()=>{e.current?.input&&e.current?.input.getAttribute(`type`)===`password`&&e.current?.input.hasAttribute(`value`)&&e.current?.input.removeAttribute(`value`)}))};return(0,C.useEffect)(()=>(t&&r(),()=>n.current.forEach(e=>{e&&clearTimeout(e)})),[]),r}function Pue(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var Lj=(0,C.forwardRef)((e,t)=>{let{prefixCls:n,bordered:r=!0,status:i,size:a,disabled:o,onBlur:s,onFocus:c,suffix:l,allowClear:u,addonAfter:d,addonBefore:f,className:p,style:m,styles:h,rootClassName:g,onChange:_,classNames:v,variant:y,...b}=e,{getPrefixCls:x,direction:S,allowClear:w,autoComplete:T,className:E,style:D,classNames:O,styles:k}=ui(`input`),A=x(`input`,n),j=(0,C.useRef)(null),M=xf(A),[N,P]=iA(A,g);aA(A,M);let{compactSize:F,compactItemClassnames:I}=Vm(A,S),L=Rm(e=>a??F??e),R=C.useContext(Bp),z=o??R,B={...e,size:L,disabled:z},[V,H]=Id([O,v],[k,h],{props:B}),{status:U,hasFeedback:W,feedbackIcon:ee}=(0,C.useContext)(B_),te=By(U,i);(0,C.useRef)(Pue(e)||!!W);let ne=Ij(j,!0),re=e=>{ne(),s?.(e)},ie=e=>{ne(),c?.(e)},ae=e=>{ne(),_?.(e)},G=(W||l)&&C.createElement(C.Fragment,null,l,W&&ee),oe=Fj(u??w),[K,se]=Yy(`input`,y,r);return C.createElement(Nue,{ref:er(t,j),prefixCls:A,autoComplete:T,...b,disabled:z,onBlur:re,onFocus:ie,style:{...H.root,...D,...m},styles:H,suffix:G,allowClear:oe,className:q(p,g,P,M,I,E,V.root),onChange:ae,addonBefore:f&&C.createElement(U_,{form:!0,space:!0},f),addonAfter:d&&C.createElement(U_,{form:!0,space:!0},d),classNames:{...V,input:q({[`${A}-sm`]:L===`small`,[`${A}-lg`]:L===`large`,[`${A}-rtl`]:S===`rtl`},V.input,N),variant:q({[`${A}-${K}`]:se},zy(A,te)),affixWrapper:q({[`${A}-affix-wrapper-sm`]:L===`small`,[`${A}-affix-wrapper-lg`]:L===`large`,[`${A}-affix-wrapper-rtl`]:S===`rtl`},N),wrapper:q({[`${A}-group-rtl`]:S===`rtl`},N),groupWrapper:q({[`${A}-group-wrapper-sm`]:L===`small`,[`${A}-group-wrapper-lg`]:L===`large`,[`${A}-group-wrapper-rtl`]:S===`rtl`,[`${A}-group-wrapper-${K}`]:se},zy(`${A}-group-wrapper`,te,W),N)}})});function Rj(e,t,n){return(e-t)/(n-t)}function zj(e,t,n,r){let i=Rj(t,n,r),a={};switch(e){case`rtl`:a.right=`${i*100}%`,a.transform=`translateX(50%)`;break;case`btt`:a.bottom=`${i*100}%`,a.transform=`translateY(50%)`;break;case`ttb`:a.top=`${i*100}%`,a.transform=`translateY(-50%)`;break;default:a.left=`${i*100}%`,a.transform=`translateX(-50%)`;break}return a}function Bj(e,t){return Array.isArray(e)?e[t]:e}var Vj=C.createContext({min:0,max:0,direction:`ltr`,step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),Fue=C.createContext({});function Hj(){return Hj=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,value:r,valueIndex:i,onStartMove:a,onDelete:o,style:s,render:c,dragging:l,draggingDelete:u,onOffsetChange:d,onChangeComplete:f,onFocus:p,onMouseEnter:m,...h}=e,{min:g,max:_,direction:v,disabled:y,keyboard:b,range:x,tabIndex:S,ariaLabelForHandle:w,ariaLabelledByForHandle:T,ariaRequired:E,ariaValueTextFormatterForHandle:D,styles:O,classNames:k}=C.useContext(Vj),A=`${n}-handle`,j=e=>{y||a(e,i)},M=e=>{p?.(e,i)},N=e=>{m(e,i)},P=e=>{if(!y&&b){let t=null;switch(e.which||e.keyCode){case em.LEFT:t=v===`ltr`||v===`btt`?-1:1;break;case em.RIGHT:t=v===`ltr`||v===`btt`?1:-1;break;case em.UP:t=v===`ttb`?-1:1;break;case em.DOWN:t=v===`ttb`?1:-1;break;case em.HOME:t=`min`;break;case em.END:t=`max`;break;case em.PAGE_UP:t=2;break;case em.PAGE_DOWN:t=-2;break;case em.BACKSPACE:case em.DELETE:o?.(i);break}t!==null&&(e.preventDefault(),d(t,i))}},F=e=>{switch(e.which||e.keyCode){case em.LEFT:case em.RIGHT:case em.UP:case em.DOWN:case em.HOME:case em.END:case em.PAGE_UP:case em.PAGE_DOWN:f?.();break}},I=zj(v,r,g,_),L={};i!==null&&(L={tabIndex:y?null:Bj(S,i),role:`slider`,"aria-valuemin":g,"aria-valuemax":_,"aria-valuenow":r,"aria-disabled":y,"aria-label":Bj(w,i),"aria-labelledby":Bj(T,i),"aria-required":Bj(E,i),"aria-valuetext":Bj(D,i)?.(r),"aria-orientation":v===`ltr`||v===`rtl`?`horizontal`:`vertical`,onMouseDown:j,onTouchStart:j,onFocus:M,onMouseEnter:N,onKeyDown:P,onKeyUp:F});let R=C.createElement(`div`,Hj({ref:t,className:q(A,{[`${A}-${i+1}`]:i!==null&&x,[`${A}-dragging`]:l,[`${A}-dragging-delete`]:u},k.handle),style:{...I,...s,...O.handle}},L,h));return c&&(R=c(R,{index:i,prefixCls:n,value:r,dragging:l,draggingDelete:u})),R});function Wj(){return Wj=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,style:r,onStartMove:i,onOffsetChange:a,values:o,handleRender:s,activeHandleRender:c,draggingIndex:l,draggingDelete:u,onFocus:d,...f}=e,p=C.useRef({}),[m,h]=C.useState(!1),[g,_]=C.useState(-1),v=e=>{_(e),h(!0)},y=(e,t)=>{v(t),d?.(e)},b=(e,t)=>{v(t)};C.useImperativeHandle(t,()=>({focus:e=>{p.current[e]?.focus()},hideHelp:()=>{(0,Yf.flushSync)(()=>{h(!1)})}}));let x={prefixCls:n,onStartMove:i,onOffsetChange:a,render:s,onFocus:y,onMouseEnter:b,...f};return C.createElement(C.Fragment,null,o.map((e,t)=>{let n=l===t;return C.createElement(Uj,Wj({ref:e=>{e?p.current[t]=e:delete p.current[t]},dragging:n,draggingDelete:n&&u,style:Bj(r,t),key:t,value:e,valueIndex:t},x))}),c&&m&&C.createElement(Uj,Wj({key:`a11y`},x,{value:o[g],valueIndex:null,dragging:l!==-1,draggingDelete:u,render:c,style:{pointerEvents:`none`},tabIndex:null,"aria-hidden":!0})))}),Lue=e=>{let{prefixCls:t,style:n,children:r,value:i,onClick:a}=e,{min:o,max:s,direction:c,includedStart:l,includedEnd:u,included:d}=C.useContext(Vj),f=`${t}-text`,p=zj(c,i,o,s);return C.createElement(`span`,{className:q(f,{[`${f}-active`]:d&&l<=i&&i<=u}),style:{...p,...n},onMouseDown:e=>{e.stopPropagation()},onClick:()=>{a(i)}},r)},Rue=e=>{let{prefixCls:t,marks:n,onClick:r}=e,i=`${t}-mark`;return n.length?C.createElement(`div`,{className:i},n.map(({value:e,style:t,label:n})=>C.createElement(Lue,{key:e,prefixCls:i,style:t,value:e,onClick:r},n))):null},zue=e=>{let{prefixCls:t,value:n,style:r,activeStyle:i}=e,{min:a,max:o,direction:s,included:c,includedStart:l,includedEnd:u}=C.useContext(Vj),d=`${t}-dot`,f=c&&l<=n&&n<=u,p={...zj(s,n,a,o),...typeof r==`function`?r(n):r};return f&&(p={...p,...typeof i==`function`?i(n):i}),C.createElement(`span`,{className:q(d,{[`${d}-active`]:f}),style:p})},Bue=e=>{let{prefixCls:t,marks:n,dots:r,style:i,activeStyle:a}=e,{min:o,max:s,step:c}=C.useContext(Vj),l=C.useMemo(()=>{let e=new Set;if(n.forEach(t=>{e.add(t.value)}),r&&c!==null){let t=o;for(;t<=s;)e.add(t),t+=c}return Array.from(e)},[o,s,c,r,n]);return C.createElement(`div`,{className:`${t}-step`},l.map(e=>C.createElement(zue,{prefixCls:t,key:e,value:e,style:i,activeStyle:a})))},Gj=e=>{let{prefixCls:t,style:n,start:r,end:i,index:a,onStartMove:o,replaceCls:s}=e,{direction:c,min:l,max:u,disabled:d,range:f,classNames:p}=C.useContext(Vj),m=`${t}-track`,h=Rj(r,l,u),g=Rj(i,l,u),_=e=>{!d&&o&&o(e,-1)},v={};switch(c){case`rtl`:v.right=`${h*100}%`,v.width=`${g*100-h*100}%`;break;case`btt`:v.bottom=`${h*100}%`,v.height=`${g*100-h*100}%`;break;case`ttb`:v.top=`${h*100}%`,v.height=`${g*100-h*100}%`;break;default:v.left=`${h*100}%`,v.width=`${g*100-h*100}%`}let y=s||q(m,{[`${m}-${a+1}`]:a!==null&&f,[`${t}-track-draggable`]:o},p.track);return C.createElement(`div`,{className:y,style:{...v,...n},onMouseDown:_,onTouchStart:_})},Vue=e=>{let{prefixCls:t,style:n,values:r,startPoint:i,onStartMove:a}=e,{included:o,range:s,min:c,styles:l,classNames:u}=C.useContext(Vj),d=C.useMemo(()=>{if(!s){if(r.length===0)return[];let e=i??c,t=r[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}let e=[];for(let t=0;tC.createElement(Gj,{index:i,prefixCls:t,style:{...Bj(n,i),...l.track},start:e,end:r,key:i,onStartMove:a})))},Hue=130;function Kj(e){let t=`targetTouches`in e?e.targetTouches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function Uue(e,t,n,r,i,a,o,s,c,l,u){let[d,f]=C.useState(null),[p,m]=C.useState(-1),[h,g]=C.useState(!1),[_,v]=C.useState(n),[y,b]=C.useState(n),x=C.useRef(null),S=C.useRef(null),w=C.useRef(null),{onDragStart:T,onDragChange:E}=C.useContext(Fue);Vn(()=>{p===-1&&v(n)},[n,p]),C.useEffect(()=>()=>{document.removeEventListener(`mousemove`,x.current),document.removeEventListener(`mouseup`,S.current),w.current&&(w.current.removeEventListener(`touchmove`,x.current),w.current.removeEventListener(`touchend`,S.current))},[]);let D=(e,t,n)=>{t!==void 0&&f(t),v(e);let r=e;n&&(r=e.filter((e,t)=>t!==p)),o(r),E&&E({rawValues:e,deleteIndex:n?p:-1,draggingIndex:p,draggingValue:t})},O=Rn((e,t,n)=>{if(e===-1){let e=y[0],n=y[y.length-1],o=r-e,s=i-n,c=t*(i-r);c=Math.max(c,o),c=Math.min(c,s),c=a(e+c)-e,D(y.map(e=>e+c))}else{let a=(i-r)*t,o=[..._];o[e]=y[e];let s=c(o,a,e,`dist`);D(s.values,s.value,n)}});return[p,d,h,C.useMemo(()=>{let e=[...n].sort((e,t)=>e-t),t=[..._].sort((e,t)=>e-t),r={};t.forEach(e=>{r[e]=(r[e]||0)+1}),e.forEach(e=>{r[e]=(r[e]||0)-1});let i=+!!l;return Object.values(r).reduce((e,t)=>e+Math.abs(t),0)<=i?_:n},[n,_,l]),(r,i,a)=>{r.stopPropagation();let o=a||n,c=o[i];m(i),f(c),b(o),v(o),g(!1);let{pageX:d,pageY:p}=Kj(r),h=!1;T&&T({rawValues:o,draggingIndex:i,draggingValue:c});let y=n=>{n.preventDefault();let{pageX:r,pageY:a}=Kj(n),o=r-d,s=a-p,{width:c,height:f}=e.current.getBoundingClientRect(),m,v;switch(t){case`btt`:m=-s/f,v=o;break;case`ttb`:m=s/f,v=o;break;case`rtl`:m=-o/c,v=s;break;default:m=o/c,v=s}h=l?Math.abs(v)>Hue&&u<_.length:!1,g(h),O(i,m,h)},C=e=>{e.preventDefault(),document.removeEventListener(`mouseup`,C),document.removeEventListener(`mousemove`,y),w.current&&(w.current.removeEventListener(`touchmove`,x.current),w.current.removeEventListener(`touchend`,S.current)),x.current=null,S.current=null,w.current=null,s(h),m(-1),g(!1)};document.addEventListener(`mouseup`,C),document.addEventListener(`mousemove`,y),r.currentTarget.addEventListener(`touchend`,C),r.currentTarget.addEventListener(`touchmove`,y),x.current=y,S.current=C,w.current=r.currentTarget}]}function Wue(e,t,n,r,i,a){let o=C.useCallback(n=>Math.max(e,Math.min(t,n)),[e,t]),s=C.useCallback(r=>{if(n!==null){let i=e+Math.round((o(r)-e)/n)*n,a=e=>(String(e).split(`.`)[1]||``).length,s=Math.max(a(n),a(t),a(e)),c=Number(i.toFixed(s));return e<=c&&c<=t?c:null}return null},[n,e,t,o]),c=C.useCallback(i=>{let a=o(i),c=r.map(e=>e.value);n!==null&&c.push(s(i)),c.push(e,t);let l=c[0],u=t-e;return c.forEach(e=>{let t=Math.abs(a-e);t<=u&&(l=e,u=t)}),l},[e,t,r,n,o,s]),l=(i,a,o,c=`unit`)=>{if(typeof a==`number`){let u,d=i[o],f=d+a,p=[];r.forEach(e=>{p.push(e.value)}),p.push(e,t),p.push(s(d));let m=a>0?1:-1;c===`unit`?p.push(s(d+m*n)):p.push(s(f)),p=p.filter(e=>e!==null).filter(e=>a<0?e<=d:e>=d),c===`unit`&&(p=p.filter(e=>e!==d));let h=c===`unit`?d:f;u=p[0];let g=Math.abs(u-h);if(p.forEach(e=>{let t=Math.abs(e-h);t1){let e=[...i];return e[o]=u,l(e,a-m,o,c)}return u}else if(a===`min`)return e;else if(a===`max`)return t},u=(e,t,n,r=`unit`)=>{let i=e[n],a=l(e,t,n,r);return{value:a,changed:a!==i}},d=e=>a===null&&e===0||typeof a==`number`&&e{let o=e.map(c),s=o[n];if(o[n]=l(o,t,n,r),i===!1){let e=a||0;n>0&&o[n-1]!==s&&(o[n]=Math.max(o[n],o[n-1]+e)),n0;--e){let t=!0;for(;d(o[e]-o[e-1])&&t;)({value:o[e-1],changed:t}=u(o,-1,e-1))}for(let e=o.length-1;e>0;--e){let t=!0;for(;d(o[e]-o[e-1])&&t;)({value:o[e-1],changed:t}=u(o,-1,e-1))}for(let e=0;e{if(e===!0||!e)return[!!e,!1,!1,0];let{editable:t,draggableTrack:n,minCount:r,maxCount:i}=e;return[!0,t,!t&&n,r||0,i]},[e])}var Kue=C.forwardRef((e,t)=>{let{prefixCls:n=`rc-slider`,className:r,style:i,classNames:a,styles:o,id:s,disabled:c=!1,keyboard:l=!0,autoFocus:u,onFocus:d,onBlur:f,min:p=0,max:m=100,step:h=1,value:g,defaultValue:_,range:v,count:y,onChange:b,onBeforeChange:x,onAfterChange:S,onChangeComplete:w,allowCross:T=!0,pushable:E=!1,reverse:D,vertical:O,included:k=!0,startPoint:A,trackStyle:j,handleStyle:M,railStyle:N,dotStyle:P,activeDotStyle:F,marks:I,dots:L,handleRender:R,activeHandleRender:z,track:B,tabIndex:V=0,ariaLabelForHandle:H,ariaLabelledByForHandle:U,ariaRequired:W,ariaValueTextFormatterForHandle:ee}=e,te=C.useRef(null),ne=C.useRef(null),re=C.useMemo(()=>O?D?`ttb`:`btt`:D?`rtl`:`ltr`,[D,O]),[ie,ae,G,oe,K]=Gue(v),se=C.useMemo(()=>isFinite(p)?p:0,[p]),ce=C.useMemo(()=>isFinite(m)?m:100,[m]),le=C.useMemo(()=>h!==null&&h<=0?1:h,[h]),ue=C.useMemo(()=>typeof E==`boolean`?E?le:!1:E>=0?E:!1,[E,le]),de=C.useMemo(()=>Object.keys(I||{}).map(e=>{let t=I[e],n={value:Number(e)};return t&&typeof t==`object`&&!C.isValidElement(t)&&(`label`in t||`style`in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(({label:e})=>e||typeof e==`number`).sort((e,t)=>e.value-t.value),[I]),[fe,pe]=Wue(se,ce,le,de,T,ue),[me,he]=Wn(_,g),ge=C.useMemo(()=>{let e=me==null?[]:Array.isArray(me)?me:[me],[t=se]=e,n=me===null?[]:[t];if(ie){if(n=[...e],y||me===void 0){let e=y>=0?y+1:2;for(n=n.slice(0,e);n.lengthe-t)}return n.forEach((e,t)=>{n[t]=fe(e)}),n},[me,ie,se,y,fe]),_e=e=>ie?e:e[0],ve=Rn(e=>{let t=[...e].sort((e,t)=>e-t);b&&!Ei(t,ge,!0)&&b(_e(t)),he(t)}),ye=Rn(e=>{e&&te.current.hideHelp();let t=_e(ge);S?.(t),xr(!S,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),w?.(t)}),be=e=>{if(c||!ae||ge.length<=oe)return;let t=[...ge];t.splice(e,1),x?.(_e(t)),ve(t);let n=Math.max(0,e-1);te.current.hideHelp(),te.current.focus(n)},[xe,Se,Ce,we,Te]=Uue(ne,re,ge,se,ce,fe,ve,ye,pe,ae,oe),Ee=(e,t)=>{if(!c){let n=[...ge],r=0,i=0,a=ce-se;ge.forEach((t,n)=>{let o=Math.abs(e-t);o<=a&&(a=o,r=n),t{e.preventDefault();let{width:t,height:n,left:r,top:i,bottom:a,right:o}=ne.current.getBoundingClientRect(),{clientX:s,clientY:c}=e,l;switch(re){case`btt`:l=(a-c)/n;break;case`ttb`:l=(c-i)/n;break;case`rtl`:l=(o-s)/t;break;default:l=(s-r)/t}Ee(fe(se+l*(ce-se)),e)},[Oe,ke]=C.useState(null),Ae=(e,t)=>{if(!c){let n=pe(ge,e,t);x?.(_e(ge)),ve(n.values),ke(n.value)}};C.useEffect(()=>{if(Oe!==null){let e=ge.indexOf(Oe);e>=0&&te.current.focus(e)}ke(null)},[Oe]);let je=C.useMemo(()=>G&&le===null?!1:G,[G,le]),Me=Rn((e,t)=>{Te(e,t),x?.(_e(ge))}),Ne=xe!==-1;C.useEffect(()=>{if(!Ne){let e=ge.lastIndexOf(Se);te.current.focus(e)}},[Ne]);let Pe=C.useMemo(()=>[...we].sort((e,t)=>e-t),[we]),[Fe,Ie]=C.useMemo(()=>ie?[Pe[0],Pe[Pe.length-1]]:[se,Pe[0]],[Pe,ie,se]);C.useImperativeHandle(t,()=>({focus:()=>{te.current.focus(0)},blur:()=>{let{activeElement:e}=document;ne.current?.contains(e)&&e?.blur()}})),C.useEffect(()=>{u&&te.current.focus(0)},[]);let Le=C.useMemo(()=>({min:se,max:ce,direction:re,disabled:c,keyboard:l,step:le,included:k,includedStart:Fe,includedEnd:Ie,range:ie,tabIndex:V,ariaLabelForHandle:H,ariaLabelledByForHandle:U,ariaRequired:W,ariaValueTextFormatterForHandle:ee,styles:o||{},classNames:a||{}}),[se,ce,re,c,l,le,k,Fe,Ie,ie,V,H,U,W,ee,o,a]);return C.createElement(Vj.Provider,{value:Le},C.createElement(`div`,{ref:ne,className:q(n,r,{[`${n}-disabled`]:c,[`${n}-vertical`]:O,[`${n}-horizontal`]:!O,[`${n}-with-marks`]:de.length}),style:i,onMouseDown:De,id:s},C.createElement(`div`,{className:q(`${n}-rail`,a?.rail),style:{...N,...o?.rail}}),B!==!1&&C.createElement(Vue,{prefixCls:n,style:j,values:ge,startPoint:A,onStartMove:je?Me:void 0}),C.createElement(Bue,{prefixCls:n,marks:de,dots:L,style:P,activeStyle:F}),C.createElement(Iue,{ref:te,prefixCls:n,style:M,values:we,draggingIndex:xe,draggingDelete:Ce,onStartMove:Me,onOffsetChange:Ae,onFocus:d,onBlur:f,handleRender:R,activeHandleRender:z,onChangeComplete:ye,onDelete:ae?be:void 0}),C.createElement(Rue,{prefixCls:n,marks:de,onClick:Ee})))}),que=(0,C.createContext)({}),qj=C.forwardRef((e,t)=>{let{open:n,draggingDelete:r,value:i}=e,a=(0,C.useRef)(null),o=n&&!r,s=(0,C.useRef)(null);function c(){ii.cancel(s.current),s.current=null}function l(){s.current=ii(()=>{a.current?.forceAlign(),s.current=null})}return C.useEffect(()=>(o?l():c(),c),[o,e.title,i]),C.createElement(px,{ref:er(a,t),...e,open:o})}),Jue=e=>{let{componentCls:t,antCls:n,controlSize:r,dotSize:i,marginFull:a,marginPart:o,colorFillContentHover:s,handleColorDisabled:c,calc:l,handleSize:u,handleSizeHover:d,handleActiveColor:f,handleActiveOutlineColor:p,handleLineWidth:m,handleLineWidthHover:h,motionDurationMid:g}=e;return{[t]:{...Yc(e),position:`relative`,height:r,margin:`${J(o)} ${J(a)}`,padding:0,cursor:`pointer`,touchAction:`none`,"&-vertical":{margin:`${J(a)} ${J(o)}`},[`${t}-rail`]:{position:`absolute`,backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${g}`},[`${t}-track,${t}-tracks`]:{position:`absolute`,transition:`background-color ${g}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:`content-box`,backgroundClip:`content-box`,border:`solid rgba(0,0,0,0)`},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:s},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${J(m)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:`absolute`,width:u,height:u,outline:`none`,userSelect:`none`,"&-dragging-delete":{opacity:0},"&::before":{content:`""`,position:`absolute`,insetInlineStart:l(m).mul(-1).equal(),insetBlockStart:l(m).mul(-1).equal(),width:l(u).add(l(m).mul(2)).equal(),height:l(u).add(l(m).mul(2)).equal(),backgroundColor:`transparent`},"&::after":{content:`""`,position:`absolute`,insetBlockStart:0,insetInlineStart:0,width:u,height:u,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${J(m)} ${e.handleColor}`,outline:`0px solid transparent`,borderRadius:`50%`,cursor:`pointer`,transition:[`inset-inline-start`,`inset-block-start`,`width`,`height`,`box-shadow`,`outline`].map(e=>`${e} ${g}`).join(`, `)},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:l(d).sub(u).div(2).add(h).mul(-1).equal(),insetBlockStart:l(d).sub(u).div(2).add(h).mul(-1).equal(),width:l(d).add(l(h).mul(2)).equal(),height:l(d).add(l(h).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${J(h)} ${f}`,outline:`6px solid ${p}`,width:d,height:d,insetInlineStart:e.calc(u).sub(d).div(2).equal(),insetBlockStart:e.calc(u).sub(d).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:`none`}},[`${t}-mark`]:{position:`absolute`,fontSize:e.fontSize},[`${t}-mark-text`]:{position:`absolute`,display:`inline-block`,color:e.colorTextDescription,textAlign:`center`,wordBreak:`keep-all`,cursor:`pointer`,userSelect:`none`,"&-active":{color:e.colorText}},[`${t}-step`]:{position:`absolute`,background:`transparent`,pointerEvents:`none`},[`${t}-dot`]:{position:`absolute`,width:i,height:i,backgroundColor:e.colorBgElevated,border:`${J(m)} solid ${e.dotBorderColor}`,borderRadius:`50%`,cursor:`pointer`,transition:`border-color ${e.motionDurationSlow}`,pointerEvents:`auto`,"&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:`not-allowed`,[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[` ${t}-dot `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:`none`,cursor:`not-allowed`},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:`not-allowed`,width:u,height:u,boxShadow:`0 0 0 ${J(m)} ${c}`,insetInlineStart:0,insetBlockStart:0},[` ${t}-mark-text, ${t}-dot - `]:{cursor:`not-allowed !important`}},[`&-tooltip ${n}-tooltip-container`]:{minWidth:`unset`}}}},Zj=(e,t)=>{let{componentCls:n,railSize:r,handleSize:i,dotSize:a,marginFull:o,calc:s}=e,c=t?`paddingBlock`:`paddingInline`,l=t?`width`:`height`,u=t?`height`:`width`,d=t?`insetBlockStart`:`insetInlineStart`,f=t?`top`:`insetInlineStart`,p=s(r).mul(3).sub(i).div(2).equal(),m=s(i).sub(r).div(2).equal(),h=t?{borderWidth:`${J(m)} 0`,transform:`translateY(${J(s(m).mul(-1).equal())})`}:{borderWidth:`0 ${J(m)}`,transform:`translateX(${J(e.calc(m).mul(-1).equal())})`};return{[c]:r,[u]:s(r).mul(3).equal(),[`${n}-rail`]:{[l]:`100%`,[u]:r},[`${n}-track,${n}-tracks`]:{[u]:r},[`${n}-track-draggable`]:{...h},[`${n}-handle`]:{[d]:p},[`${n}-mark`]:{insetInlineStart:0,top:0,[f]:s(r).mul(3).add(t?0:o).equal(),[l]:`100%`},[`${n}-step`]:{insetInlineStart:0,top:0,[f]:r,[l]:`100%`,[u]:r},[`${n}-dot`]:{position:`absolute`,[d]:s(r).sub(a).div(2).equal()}}},Kue=e=>{let{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:{...Zj(e,!0),[`&${t}-with-marks`]:{marginBottom:n}}}},que=e=>{let{componentCls:t}=e;return{[`${t}-vertical`]:{...Zj(e,!1),height:`100%`}}},Jue=il(`Slider`,e=>{let t=_s(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[Gue(t),Kue(t),que(t)]},e=>{let t=e.controlHeightLG/4,n=e.controlHeightSM/2,r=e.lineWidth+1,i=e.lineWidth+1*1.5,a=e.colorPrimary,o=new zs(a).setA(.2).toRgbString();return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:n,dotSize:8,handleLineWidth:r,handleLineWidthHover:i,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:a,handleActiveOutlineColor:o,handleColorDisabled:new zs(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}});function Qj(){let[e,t]=C.useState(!1),n=C.useRef(null),r=()=>{ii.cancel(n.current)};return C.useEffect(()=>r,[]),[e,e=>{r(),e?t(e):n.current=ii(()=>{t(e)})}]}function Yue(e){return e||e===null?e:e=>md(e)?e.toString():``}var $j=C.forwardRef((e,t)=>{let{prefixCls:n,range:r,className:i,rootClassName:a,style:o,disabled:s,tooltip:c={},onChangeComplete:l,classNames:u,styles:d,vertical:f,orientation:p,...m}=e,[,h]=zd(p,f),{getPrefixCls:g,direction:_,className:v,style:y,classNames:b,styles:x,getPopupContainer:S}=ui(`slider`),w=C.useContext(Bp),T=s??w,E={...e,disabled:T,vertical:h},[D,O]=Id([b,u],[x,d],{props:E}),{handleRender:k,direction:A}=C.useContext(Wue),j=(A||_)===`rtl`,[M,N]=Qj(),[P,F]=Qj(),I={...c},{open:L,placement:R,getPopupContainer:z,prefixCls:B,formatter:V}=I,H=L,U=(M||P)&&H!==!1,W=Yue(V),[ee,te]=Qj(),ne=e=>{l?.(e),te(!1)},re=(e,t)=>e||(t?j?`left`:`right`:`top`),ie=g(`slider`,n),[ae,G]=Jue(ie),oe=q(i,v,D.root,a,{[`${ie}-rtl`]:j,[`${ie}-lock`]:ee},ae,G);j&&!h&&(m.reverse=!m.reverse),C.useEffect(()=>{let e=()=>{ii(()=>{F(!1)},1)};return document.addEventListener(`mouseup`,e),()=>{document.removeEventListener(`mouseup`,e)}},[]);let K=r&&!H,se=k||((e,t)=>{let{index:n}=t,r=e.props;function i(e,t,n){n&&m[e]?.(t),r[e]?.(t)}let a={...r,onMouseEnter:e=>{N(!0),i(`onMouseEnter`,e)},onMouseLeave:e=>{N(!1),i(`onMouseLeave`,e)},onMouseDown:e=>{F(!0),te(!0),i(`onMouseDown`,e)},onFocus:e=>{F(!0),m.onFocus?.(e),i(`onFocus`,e,!0)},onBlur:e=>{F(!1),m.onBlur?.(e),i(`onBlur`,e,!0)}},o=C.cloneElement(e,a),s=(!!H||U)&&W!==null;return K?o:C.createElement(Xj,{...I,prefixCls:g(`tooltip`,B),title:W?W(t.value):``,value:t.value,open:s,placement:re(R,h),key:n,classNames:{root:`${ie}-tooltip`},getPopupContainer:z||S},o)}),ce=K?(e,t)=>{let n=C.cloneElement(e,{style:{...e.props.style,visibility:`hidden`}});return C.createElement(Xj,{...I,prefixCls:g(`tooltip`,B),title:W?W(t.value):``,open:W!==null&&U,placement:re(R,h),key:`tooltip`,classNames:{root:`${ie}-tooltip`},getPopupContainer:z||S,draggingDelete:t.draggingDelete},n)}:void 0,le={...O.root,...y,...o};return C.createElement(Uue,{...m,classNames:D,styles:O,step:m.step,range:r,className:oe,style:le,disabled:T,vertical:h,ref:t,prefixCls:ie,handleRender:se,activeHandleRender:ce,onChangeComplete:ne})}),Xue={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z`}}]},name:`swap-right`,theme:`outlined`};function eM(){return eM=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,eM({},e,{ref:t,icon:Xue}))),nM=(e,t,n,r,i,a)=>{let{classNames:o,styles:s}=ui(e),[c,l]=Id([o,t],[s,n],{props:a},{popup:{_default:`root`}});return C.useMemo(()=>[{...c,popup:{...c.popup,root:q(c.popup?.root,r)}},{...l,popup:{...l.popup,root:{...l.popup?.root,...i}}}],[c,l,r,i])};function Zue(e,t,n){return n===void 0?t===`year`&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t===`quarter`&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t===`month`&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t===`week`&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t===`time`&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder:n}function Que(e,t,n){return n===void 0?t===`year`&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t===`quarter`&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t===`month`&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t===`week`&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t===`time`&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder:n}function rM(e,t){let{allowClear:n=!0}=e,{clearIcon:r,removeIcon:i}=wb({...e,prefixCls:t,componentName:`DatePicker`});return[C.useMemo(()=>n===!1?!1:{clearIcon:r,...n===!0?{}:n},[n,r]),i]}var[$ue,ede]=[`week`,`WeekPicker`],[tde,nde]=[`month`,`MonthPicker`],[rde,ide]=[`year`,`YearPicker`],[ade,ode]=[`quarter`,`QuarterPicker`],[iM,aM]=[`time`,`TimePicker`],sde={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z`}}]},name:`calendar`,theme:`outlined`};function oM(){return oM=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,oM({},e,{ref:t,icon:sde}))),cde={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z`}}]},name:`clock-circle`,theme:`outlined`};function cM(){return cM=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,cM({},e,{ref:t,icon:cde}))),uM=({picker:e,hasFeedback:t,feedbackIcon:n,suffixIcon:r})=>r===null||r===!1?null:r===!0||r===void 0?C.createElement(C.Fragment,null,e===iM?C.createElement(lM,null):C.createElement(sM,null),t&&n):r,lde=e=>C.createElement(ng,{size:`small`,type:`primary`,...e});function dM(e){return(0,C.useMemo)(()=>({button:lde,...e}),[e])}var ude=e=>(0,C.forwardRef)((t,n)=>{let{prefixCls:r,getPopupContainer:i,components:a,className:o,style:s,classNames:c,styles:l,placement:u,size:d,disabled:f,bordered:p=!0,placeholder:m,status:h,variant:g,picker:_,dropdownClassName:v,popupClassName:y,popupStyle:b,rootClassName:x,suffixIcon:S,separator:w,...T}=t,[E,D]=nM(_===iM?`timePicker`:`datePicker`,c,l,y||v,b),O=C.useRef(null),{getPrefixCls:k,direction:A,getPopupContainer:j,rangePicker:M}=(0,C.useContext)(si),N=k(`picker`,r),{compactSize:P,compactItemClassnames:F}=Im(N,A),I=k(),L=w??M?.separator,[R,z]=eb(`rangePicker`,g,p),B=xf(N),[V,H]=dA(N,B),U=q(V,H,B,x),[W]=rM(t,N),ee=dM(a),te=Pm(e=>d??P??e),ne=C.useContext(Bp),re=f??ne,{hasFeedback:ie,status:ae,feedbackIcon:G}=(0,C.useContext)(N_),oe=uM({picker:_,hasFeedback:ie,feedbackIcon:G,suffixIcon:S});(0,C.useImperativeHandle)(n,()=>O.current);let[K]=ld(`Calendar`,$u),se=pr(K,t.locale||{}),[ce]=Xd(`DatePicker`,D?.popup?.root?.zIndex);return C.createElement(I_,{space:!0},C.createElement(NO,{separator:C.createElement(`span`,{"aria-label":`to`,className:`${N}-separator`},L??C.createElement(tM,null)),disabled:re,ref:O,placement:u,placeholder:Que(se,_,m),suffixIcon:oe,prevIcon:C.createElement(`span`,{className:`${N}-prev-icon`}),nextIcon:C.createElement(`span`,{className:`${N}-next-icon`}),superPrevIcon:C.createElement(`span`,{className:`${N}-super-prev-icon`}),superNextIcon:C.createElement(`span`,{className:`${N}-super-next-icon`}),transitionName:`${I}-slide-up`,picker:_,...T,locale:se.lang,getPopupContainer:i||j,generateConfig:e,components:ee,direction:A,prefixCls:N,rootClassName:U,className:q({[`${N}-large`]:te===`large`,[`${N}-small`]:te===`small`,[`${N}-${R}`]:z},Jy(N,Yy(ae,h),ie),F,o,M?.className),style:{...M?.style,...s},classNames:E,styles:{...D,popup:{...D.popup,root:{...D.popup.root,zIndex:ce}}},allowClear:W}))}),dde=e=>{let t=(t,n)=>{let r=n===aM?`timePicker`:`datePicker`;return(0,C.forwardRef)((i,a)=>{let{prefixCls:o,getPopupContainer:s,components:c,style:l,className:u,size:d,bordered:f,placement:p,placeholder:m,disabled:h,status:g,variant:_,onCalendarChange:v,classNames:y,styles:b,dropdownClassName:x,popupClassName:S,popupStyle:w,rootClassName:T,suffixIcon:E,...D}=i,{suffixIcon:O}=ui(n===aM?`timePicker`:`datePicker`),{getPrefixCls:k,direction:A,getPopupContainer:j,[r]:M}=(0,C.useContext)(si),N=k(`picker`,o),{compactSize:P,compactItemClassnames:F}=Im(N,A),I=Pm(e=>d??P??e),L=C.useContext(Bp),R=h??L,z={...i,size:I,disabled:R,status:g,variant:_},[B,V]=nM(r,y,b,S||x,w,z),H=C.useRef(null),[U,W]=eb(`datePicker`,_,f),ee=xf(N),[te,ne]=dA(N,ee),re=q(te,ne,ee,T);(0,C.useImperativeHandle)(a,()=>H.current);let ie={showToday:!0},ae=t||i.picker,G=k(),{onSelect:oe,multiple:K}=D,se=oe&&t===`time`&&!K,ce=(e,t,n)=>{v?.(e,t,n),se&&oe(e)},[le,ue]=rM(i,N),de=dM(c),{hasFeedback:fe,status:pe,feedbackIcon:me}=(0,C.useContext)(N_),he=uM({picker:ae,hasFeedback:fe,feedbackIcon:me,suffixIcon:E===void 0?O:E}),[ge]=ld(`DatePicker`,$u),_e=pr(ge,i.locale||{}),[ve]=Xd(`DatePicker`,V?.popup?.root?.zIndex);return C.createElement(I_,{space:!0},C.createElement(_k,{ref:H,placeholder:Zue(_e,ae,m),suffixIcon:he,placement:p,prevIcon:C.createElement(`span`,{className:`${N}-prev-icon`}),nextIcon:C.createElement(`span`,{className:`${N}-next-icon`}),superPrevIcon:C.createElement(`span`,{className:`${N}-super-prev-icon`}),superNextIcon:C.createElement(`span`,{className:`${N}-super-next-icon`}),transitionName:`${G}-slide-up`,picker:t,onCalendarChange:ce,...ie,...D,locale:_e.lang,getPopupContainer:s||j,generateConfig:e,components:de,direction:A,disabled:R,prefixCls:N,rootClassName:re,className:q({[`${N}-large`]:I===`large`,[`${N}-small`]:I===`small`,[`${N}-${U}`]:W},Jy(N,Yy(pe,g),fe),F,M?.className,u),style:{...M?.style,...l},classNames:B,styles:{...V,popup:{...V.popup,root:{...V.popup.root,zIndex:ve}}},allowClear:le,removeIcon:ue}))})},n=t(),r=t($ue,ede),i=t(tde,nde),a=t(rde,ide),o=t(ade,ode);return{DatePicker:n,WeekPicker:r,MonthPicker:i,YearPicker:a,TimePicker:t(iM,aM),QuarterPicker:o}},fM=e=>{let{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:i,TimePicker:a,QuarterPicker:o}=dde(e),s=ude(e),c=t;return c.WeekPicker=n,c.MonthPicker=r,c.YearPicker=i,c.RangePicker=s,c.TimePicker=a,c.QuarterPicker=o,c},pM=fM(Qie);pM._InternalPanelDoNotUseOrYouWillBeFired=Rv(pM,`popupAlign`,void 0,`picker`),pM._InternalRangePanelDoNotUseOrYouWillBeFired=Rv(pM.RangePicker,`popupAlign`,void 0,`picker`),pM.generatePicker=fM;var fde={xxxl:4,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},mM=C.createContext(null),pde=e=>wr(e).map(e=>({...e?.props,key:e.key}));function mde(e,t,n){let r=C.useMemo(()=>t||pde(n),[t,n]);return C.useMemo(()=>r.map(({span:t,...n})=>t===`filled`?{...n,filled:!0}:{...n,span:md(t)?t:Mb(e,t)}),[r,e])}function hde(e,t){let n=[],r=[],i=!1,a=0;return e.filter(e=>e).forEach(e=>{let{filled:o,...s}=e;if(o){r.push(s),n.push(r),r=[],a=0;return}let c=t-a;a+=e.span||1,a>=t?(a>t?(i=!0,r.push({...s,span:c})):r.push(s),n.push(r),r=[],a=0):r.push(s)}),r.length>0&&n.push(r),n=n.map(e=>{let n=e.reduce((e,t)=>e+(t.span||1),0);if(n{let[n,r]=(0,C.useMemo)(()=>hde(t,e),[t,e]);return n},_de=e=>e.children,hM=e=>{let{itemPrefixCls:t,component:n,span:r,className:i,style:a,labelStyle:o,contentStyle:s,bordered:c,label:l,content:u,colon:d,type:f,styles:p,classNames:m}=e,h=n,{classNames:g,styles:_}=C.useContext(mM),[v,y]=Id([g,m],[_,p],{props:e}),b={...o,...y.label},x={...s,...y.content};return c?C.createElement(h,{colSpan:r,style:a,className:q(i,{[`${t}-item-${f}`]:f===`label`||f===`content`,[v.label]:v.label&&f===`label`,[v.content]:v.content&&f===`content`})},pd(l)&&C.createElement(`span`,{style:b},l),pd(u)&&C.createElement(`span`,{style:x},u)):C.createElement(h,{className:q(`${t}-item`,i),style:a,colSpan:r},C.createElement(`div`,{className:`${t}-item-container`},pd(l)&&C.createElement(`span`,{style:b,className:q(`${t}-item-label`,v.label,{[`${t}-item-no-colon`]:!d})},l),pd(u)&&C.createElement(`span`,{style:x,className:q(`${t}-item-content`,v.content)},u)))};function gM(e,{colon:t,prefixCls:n,bordered:r},{component:i,type:a,showLabel:o,showContent:s,labelStyle:c,contentStyle:l,styles:u}){return e.map(({label:e,children:d,prefixCls:f=n,className:p,style:m,labelStyle:h,contentStyle:g,span:_=1,key:v,styles:y,classNames:b},x)=>typeof i==`string`?C.createElement(hM,{key:`${a}-${v||x}`,className:p,style:m,classNames:b,styles:{label:{...c,...u?.label,...h,...y?.label},content:{...l,...u?.content,...g,...y?.content}},span:_,colon:t,component:i,itemPrefixCls:f,bordered:r,label:o?e:null,content:s?d:null,type:a}):[C.createElement(hM,{key:`label-${v||x}`,className:p,style:{...c,...u?.label,...m,...h,...y?.label},span:1,colon:t,component:i[0],itemPrefixCls:f,bordered:r,label:e,type:`label`}),C.createElement(hM,{key:`content-${v||x}`,className:p,style:{...l,...u?.content,...m,...g,...y?.content},span:_*2-1,component:i[1],itemPrefixCls:f,bordered:r,content:d,type:`content`})])}var vde=e=>{let t=C.useContext(mM),{prefixCls:n,vertical:r,row:i,index:a,bordered:o}=e;return r?C.createElement(C.Fragment,null,C.createElement(`tr`,{key:`label-${a}`,className:`${n}-row`},gM(i,e,{component:`th`,type:`label`,showLabel:!0,...t})),C.createElement(`tr`,{key:`content-${a}`,className:`${n}-row`},gM(i,e,{component:`td`,type:`content`,showContent:!0,...t}))):C.createElement(`tr`,{key:a,className:`${n}-row`},gM(i,e,{component:o?[`th`,`td`]:`td`,type:`item`,showLabel:!0,showContent:!0,...t}))},yde=e=>{let{componentCls:t,labelBg:n}=e;return{[`&${t}-bordered`]:{[`> ${t}-view`]:{border:`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:`auto`},[`${t}-row`]:{borderBottom:`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:first-child":{"> th:first-child, > td:first-child":{borderStartStartRadius:e.borderRadiusLG}},"&:last-child":{borderBottom:`none`,"> th:first-child, > td:first-child":{borderEndStartRadius:e.borderRadiusLG}},[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${J(e.padding)} ${J(e.paddingLG)}`,borderInlineEnd:`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:`none`}},[`> ${t}-item-label`]:{color:e.colorTextSecondary,backgroundColor:n,"&::after":{display:`none`}}}},[`&${t}-medium`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${J(e.paddingSM)} ${J(e.paddingLG)}`}}},[`&${t}-small`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${J(e.paddingXS)} ${J(e.padding)}`}}}}}},bde=e=>{let{componentCls:t,extraColor:n,itemPaddingBottom:r,itemPaddingEnd:i,colonMarginRight:a,colonMarginLeft:o,titleMarginBottom:s}=e;return{[t]:{...Yc(e),...yde(e),"&-rtl":{direction:`rtl`},[`${t}-header`]:{display:`flex`,alignItems:`center`,marginBottom:s},[`${t}-title`]:{...Jc,flex:`auto`,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG},[`${t}-extra`]:{marginInlineStart:`auto`,color:n,fontSize:e.fontSize},[`${t}-view`]:{width:`100%`,borderRadius:e.borderRadiusLG,table:{width:`100%`,tableLayout:`fixed`,borderCollapse:`collapse`}},[`${t}-row`]:{"> th, > td":{paddingBottom:r,paddingInlineEnd:i},"> th:last-child, > td:last-child":{paddingInlineEnd:0},"&:last-child":{borderBottom:`none`,"> th, > td":{paddingBottom:0}}},[`${t}-item-label`]:{color:e.labelColor,fontWeight:`normal`,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:`start`,"&::after":{content:`":"`,position:`relative`,top:-.5,marginInline:`${J(o)} ${J(a)}`},[`&${t}-item-no-colon::after`]:{content:`""`}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:`""`}},[`${t}-item-content`]:{display:`table-cell`,flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:`break-word`,overflowWrap:`break-word`},[`${t}-item`]:{paddingBottom:0,verticalAlign:`top`,"&-container":{display:`flex`,[`${t}-item-label`]:{display:`inline-flex`,alignItems:`baseline`},[`${t}-item-content`]:{display:`inline-flex`,alignItems:`baseline`,minWidth:`1em`}}},"&-medium":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}}}},xde=il(`Descriptions`,e=>bde(_s(e,{})),e=>({labelBg:e.colorFillAlter,labelColor:e.colorTextTertiary,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,itemPaddingEnd:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText})),_M=e=>{let{prefixCls:t,title:n,extra:r,column:i,colon:a=!0,bordered:o,layout:s,children:c,className:l,rootClassName:u,style:d,size:f,labelStyle:p,contentStyle:m,styles:h,items:g,classNames:_,...v}=e,{getPrefixCls:y,direction:b,className:x,style:S,classNames:w,styles:T}=ui(`descriptions`),E=y(`descriptions`,t),D=Nb(),O=C.useMemo(()=>md(i)?i:Mb(D,{...fde,...i})??3,[D,i]),k=mde(D,g,c),A=Pm(f),j=gde(O,k),[M,N]=xde(E),P={...e,column:O,items:k,size:A},[F,I]=Id([w,_],[T,h],{props:P}),L=C.useMemo(()=>({labelStyle:p,contentStyle:m,styles:{label:I.label,content:I.content},classNames:{label:F.label,content:F.content}}),[p,m,I.label,I.content,F.label,F.content]);return C.createElement(mM.Provider,{value:L},C.createElement(`div`,{className:q(E,x,F.root,{[`${E}-medium`]:A===`medium`||A===`middle`,[`${E}-small`]:A===`small`,[`${E}-bordered`]:!!o,[`${E}-rtl`]:b===`rtl`},l,u,M,N),style:{...S,...I.root,...d},...v},(n||r)&&C.createElement(`div`,{className:q(`${E}-header`,F.header),style:I.header},n&&C.createElement(`div`,{className:q(`${E}-title`,F.title),style:I.title},n),r&&C.createElement(`div`,{className:q(`${E}-extra`,F.extra),style:I.extra},r)),C.createElement(`div`,{className:`${E}-view`},C.createElement(`table`,null,C.createElement(`tbody`,null,j.map((e,t)=>C.createElement(vde,{key:t,index:t,colon:a,prefixCls:E,vertical:s===`vertical`,bordered:o,row:e})))))))};_M.Item=_de;var vM=C.createContext(null),yM=C.createContext({});function bM(){return bM=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t,className:n,containerRef:r,...i}=e,{panel:a}=C.useContext(yM),o=tr(a,r);return C.createElement(`div`,bM({className:q(`${t}-section`,n),role:`dialog`,ref:o},Hu(e,{aria:!0}),{"aria-modal":`true`},i))};function Cde(e){let{prefixCls:t,direction:n,className:r,style:i,maxSize:a,containerRef:o,currentSize:s,onResize:c,onResizeEnd:l,onResizeStart:u}=e,[d,f]=C.useState(!1),[p,m]=C.useState(0),[h,g]=C.useState(0),_=n===`left`||n===`right`,v=Rn(e=>{e.preventDefault(),e.stopPropagation(),f(!0),m(_?e.clientX:e.clientY);let t;if(typeof s==`number`)t=s;else if(o?.current){let e=o.current.getBoundingClientRect();t=_?e.width:e.height}g(t),u?.(t)}),y=Rn(e=>{if(!d)return;let t=(_?e.clientX:e.clientY)-p;(n===`right`||n===`bottom`)&&(t=-t);let r=h+t;r<0&&(r=0),a&&r>a&&(r=a),c?.(r)}),b=C.useCallback(()=>{if(d&&(f(!1),o?.current)){let e=o.current.getBoundingClientRect(),t=_?e.width:e.height;l?.(t)}},[d,o,l,_]);return C.useEffect(()=>{if(d)return document.addEventListener(`mousemove`,y),document.addEventListener(`mouseup`,b),()=>{document.removeEventListener(`mousemove`,y),document.removeEventListener(`mouseup`,b)}},[d,y,b]),{dragElementProps:{className:q(`${t}-dragger`,`${t}-dragger-${n}`,{[`${t}-dragger-dragging`]:d,[`${t}-dragger-horizontal`]:_,[`${t}-dragger-vertical`]:!_},r),style:i,onMouseDown:v},isDragging:d}}function xM(e){if(typeof e==`string`){let t=Number(e.replace(/px$/i,``));if(parseFloat(e)===t&&xr(!1,"Invalid value type of `width` or `height` which should be number type instead."),!Number.isNaN(t))return t}return e}function wde(e,t,n,r,i){let[a]=xg(t&&(r??i!==!1),e);return C.useEffect(()=>{t&&n===!0&&e()?.focus({preventScroll:!0})},[t]),a}function SM(){return SM=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,open:r,placement:i,inline:a,push:o,forceRender:s,autoFocus:c,focusTrap:l,classNames:u,rootClassName:d,rootStyle:f,zIndex:p,className:m,id:h,style:g,motion:_,width:v,height:y,size:b,maxSize:x,children:S,mask:w,maskClosable:T,maskMotion:E,maskClassName:D,maskStyle:O,afterOpenChange:k,onClose:A,onMouseEnter:j,onMouseOver:M,onMouseLeave:N,onClick:P,onKeyDown:F,onKeyUp:I,styles:L,drawerRender:R,resizable:z,defaultSize:B}=e,V=C.useRef(null);C.useImperativeHandle(t,()=>V.current);let H=wde(()=>V.current,r,c,l,w),[U,W]=C.useState(!1),ee=C.useContext(vM),te;te=typeof o==`boolean`?o?{}:{distance:0}:o||{};let ne=te?.distance??ee?.pushDistance??180,re=C.useMemo(()=>({pushDistance:ne,push:()=>{W(!0)},pull:()=>{W(!1)}}),[ne]);C.useEffect(()=>{r?ee?.push?.():ee?.pull?.()},[r]),C.useEffect(()=>()=>{ee?.pull?.()},[]);let ie=C.createElement(Lu,SM({key:`mask`},E,{visible:w&&r}),({className:e,style:t},i)=>C.createElement(`div`,{className:q(`${n}-mask`,e,u?.mask,D),style:{...t,...O,...L?.mask},onClick:T&&r?A:void 0,ref:i})),ae=typeof _==`function`?_(i):_,[G,oe]=C.useState(),K=i===`left`||i===`right`,se=C.useMemo(()=>xM(b??(K?v:y)??G??B??(K?378:void 0)),[b,v,y,B,K,G]),ce=C.useMemo(()=>{let e={};if(U&&ne)switch(i){case`top`:e.transform=`translateY(${ne}px)`;break;case`bottom`:e.transform=`translateY(${-ne}px)`;break;case`left`:e.transform=`translateX(${ne}px)`;break;default:e.transform=`translateX(${-ne}px)`;break}return K?e.width=xM(se):e.height=xM(se),e},[U,ne,i,K,se]),le=C.useRef(null),ue=!!z,de=typeof z==`object`&&z||{},fe=Rn(e=>{oe(e),de.onResize?.(e)}),{dragElementProps:pe,isDragging:me}=Cde({prefixCls:`${n}-resizable`,direction:i,className:u?.dragger,style:L?.dragger,maxSize:x,containerRef:le,currentSize:se,onResize:fe,onResizeStart:de.onResizeStart,onResizeEnd:de.onResizeEnd}),he={onMouseEnter:j,onMouseOver:M,onMouseLeave:N,onClick:P,onKeyDown:F,onKeyUp:I,onFocus:e=>{H(e.target)}},ge=C.createElement(Lu,SM({key:`panel`},ae,{visible:r,forceRender:s,onVisibleChanged:k,removeOnLeave:!1,leavedClassName:`${n}-content-wrapper-hidden`}),({className:t,style:r},i)=>{let a=C.createElement(Sde,SM({id:h,containerRef:i,prefixCls:n,className:q(m,u?.section),style:{...g,...L?.section}},Hu(e,{aria:!0}),he),S);return C.createElement(`div`,SM({ref:le,className:q(`${n}-content-wrapper`,me&&`${n}-content-wrapper-dragging`,u?.wrapper,!me&&t),style:{...r,...ce,...L?.wrapper}},Hu(e,{data:!0})),ue&&C.createElement(`div`,pe),R?R(a):a)}),_e={...f};return p&&(_e.zIndex=p),C.createElement(vM.Provider,{value:re},C.createElement(`div`,{className:q(n,`${n}-${i}`,d,{[`${n}-open`]:r,[`${n}-inline`]:a}),style:_e,tabIndex:-1,ref:V},ie,ge))}),Ede=e=>{let{open:t=!1,prefixCls:n=`rc-drawer`,placement:r=`right`,autoFocus:i=!0,keyboard:a=!0,width:o,height:s,size:c,maxSize:l,mask:u=!0,maskClosable:d=!0,getContainer:f,forceRender:p,afterOpenChange:m,destroyOnHidden:h,onMouseEnter:g,onMouseOver:_,onMouseLeave:v,onClick:y,onKeyDown:b,onKeyUp:x,onClose:S,resizable:w,defaultSize:T,focusTriggerAfterClose:E,panelRef:D}=e,[O,k]=C.useState(!1),[A,j]=C.useState(!1);Vn(()=>{j(!0)},[]);let M=A?t:!1,N=C.useRef(null),P=C.useRef(null);Vn(()=>{M&&(P.current=document.activeElement)},[M]);let F=e=>{k(e),m?.(e),!e&&E!==!1&&P.current&&!N.current?.contains(P.current)&&P.current?.focus({preventScroll:!0})},I=C.useMemo(()=>({panel:D}),[D]);if(!p&&!O&&!M&&h)return null;let L={onMouseEnter:g,onMouseOver:_,onMouseLeave:v,onClick:y,onKeyDown:b,onKeyUp:x},R={...e,open:M,prefixCls:n,placement:r,autoFocus:i,keyboard:a,width:o,height:s,size:c,maxSize:l,defaultSize:T,mask:u,maskClosable:d,inline:f===!1,afterOpenChange:F,ref:N,resizable:w,...L};return C.createElement(yM.Provider,{value:I},C.createElement(Zf,{open:M||p||O,autoDestroy:!1,getContainer:f,autoLock:u&&(M||O),onEsc:({top:e,event:t})=>{e&&a&&(t.stopPropagation(),S?.(t))}},C.createElement(Tde,R)))},CM=e=>{let{prefixCls:t,ariaId:n,title:r,footer:i,extra:a,closable:o,loading:s,onClose:c,headerStyle:l,bodyStyle:u,footerStyle:d,children:f,classNames:p,styles:m}=e,h=ui(`drawer`),{classNames:g,styles:_,closable:v}=h,[y,b]=Id([g,p],[_,m],{props:{...e,closable:o??v}}),x=C.useMemo(()=>{let e=o??v;if(e!==!1)return gd(e)&&e?.placement===`end`?`end`:`start`},[o,v]),S=C.useCallback(e=>C.createElement(`button`,{type:`button`,onClick:c,className:q(`${t}-close`,{[`${t}-close-${x}`]:x===`end`},y.close),style:b.close},e),[c,t,x,y.close,b.close]),[w,T]=Ed(bd(e),bd(h),{closable:!0,closeIconRender:S}),E=()=>!r&&!w?null:C.createElement(`div`,{style:{...b.header,...l},className:q(`${t}-header`,y.header,{[`${t}-header-close-only`]:w&&!r&&!a})},C.createElement(`div`,{className:`${t}-header-title`},x===`start`&&T,r&&C.createElement(`div`,{className:q(`${t}-title`,y.title),style:b.title,id:n},r)),a&&C.createElement(`div`,{className:q(`${t}-extra`,y.extra),style:b.extra},a),x===`end`&&T),D=()=>i?C.createElement(`div`,{className:q(`${t}-footer`,y.footer),style:{...b.footer,...d}},i):null;return C.createElement(C.Fragment,null,E(),C.createElement(`div`,{className:q(`${t}-body`,y.body),style:{...b.body,...u}},s?C.createElement($_,{active:!0,title:!1,paragraph:{rows:5},className:`${t}-body-skeleton`}):f),D())},Dde=e=>{let t=`100%`;return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},wM=(e,t)=>({"&-enter, &-appear":{...e,"&-active":t},"&-leave":{...t,"&-active":e}}),TM=(e,t)=>({"&-enter, &-appear, &-leave":{"&-start":{transition:`none`},"&-active":{transition:`all ${t}`}},...wM({opacity:e},{opacity:1})}),Ode=(e,t)=>[TM(.7,t),wM({transform:Dde(e)},{transform:`none`})],kde=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:TM(0,n),[`${t}-panel-motion`]:[`left`,`right`,`top`,`bottom`].reduce((e,t)=>({...e,[`&-${t}`]:Ode(t,n)}),{})}}},Ade=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:i,colorBgElevated:a,motionDurationSlow:o,motionDurationMid:s,paddingXS:c,padding:l,paddingLG:u,fontSizeLG:d,lineHeightLG:f,lineWidth:p,lineType:m,colorSplit:h,marginXS:g,colorIcon:_,colorIconHover:v,colorBgTextHover:y,colorBgTextActive:b,colorText:x,fontWeightStrong:S,footerPaddingBlock:C,footerPaddingInline:w,draggerSize:T,calc:E}=e,D=`${n}-content-wrapper`,O=`${n}-resizable-dragger`;return{[n]:{position:`fixed`,inset:0,zIndex:r,pointerEvents:`none`,color:x,"&-pure":{position:`relative`,background:a,display:`flex`,flexDirection:`column`,pointerEvents:`auto`,[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:`absolute`},[`${n}-mask`]:{position:`absolute`,inset:0,zIndex:r,background:i,pointerEvents:`auto`,[`&${n}-mask-blur`]:{backdropFilter:`blur(4px)`}},[D]:{position:`absolute`,zIndex:r,maxWidth:`100vw`,transition:`all ${o}`,"&-hidden":{display:`none`}},[`&-left > ${D}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${D}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${D}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${D}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-section`]:{display:`flex`,flexDirection:`column`,width:`100%`,height:`100%`,overflow:`auto`,background:a,pointerEvents:`auto`},[`${n}-header`]:{display:`flex`,flex:0,alignItems:`center`,padding:`${J(l)} ${J(u)}`,fontSize:d,lineHeight:f,borderBottom:`${J(p)} ${m} ${h}`,"&-title":{display:`flex`,flex:1,alignItems:`center`,minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:`none`},[`${n}-close`]:{display:`inline-flex`,width:E(d).add(c).equal(),height:E(d).add(c).equal(),borderRadius:t,justifyContent:`center`,alignItems:`center`,color:_,fontWeight:S,fontSize:d,fontStyle:`normal`,lineHeight:1,textAlign:`center`,textTransform:`none`,textDecoration:`none`,background:`transparent`,border:0,cursor:`pointer`,transition:`all ${s}`,textRendering:`auto`,[`&${n}-close-end`]:{marginInlineStart:g},[`&:not(${n}-close-end)`]:{marginInlineEnd:g},"&:hover":{color:v,backgroundColor:y,textDecoration:`none`},"&:active":{backgroundColor:b},...$c(e)},[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:f},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:`auto`,[`${n}-body-skeleton`]:{width:`100%`,height:`100%`,display:`flex`,justifyContent:`center`}},[`${n}-footer`]:{flexShrink:0,padding:`${J(C)} ${J(w)}`,borderTop:`${J(p)} ${m} ${h}`},[O]:{position:`absolute`,zIndex:1,backgroundColor:`transparent`,userSelect:`none`,pointerEvents:`auto`,"&:hover":{backgroundColor:e.colorPrimary,opacity:.2},"&-dragging":{backgroundColor:e.colorPrimary,opacity:.3}},[`${O}-left`]:{top:0,bottom:0,right:{_skip_check_:!0,value:0},width:T,cursor:`col-resize`},[`${O}-right`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},width:T,cursor:`col-resize`},[`${O}-top`]:{insetInline:0,bottom:0,height:T,cursor:`row-resize`},[`${O}-bottom`]:{insetInline:0,top:0,height:T,cursor:`row-resize`},[`${D}-dragging`]:{userSelect:`none`,transition:`none`,willChange:`width, height`,[`${n}-content`]:{pointerEvents:`none`},[`${n}-section`]:{pointerEvents:`none`}},"&-rtl":{direction:`rtl`}}}},EM=il(`Drawer`,e=>{let t=_s(e,{});return[Ade(t),kde(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding,draggerSize:4})),jde={distance:180},DM=378,OM={motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},kM=e=>{let{rootClassName:t,size:n,defaultSize:r=DM,height:i,width:a,mask:o,push:s=jde,open:c,afterOpenChange:l,onClose:u,prefixCls:d,getContainer:f,panelRef:p=null,style:m,className:h,resizable:g,"aria-labelledby":_,focusable:v,maskClosable:y,maskStyle:b,drawerStyle:x,contentWrapperStyle:S,destroyOnClose:w,destroyOnHidden:T,...E}=e,{placement:D}=E,O=Bf(),k=E.title?O:void 0,{getPopupContainer:A,getPrefixCls:j,direction:M,className:N,style:P,classNames:F,styles:I,mask:L}=ui(`drawer`),R=j(`drawer`,d),[z,B]=EM(R),V=f===void 0&&A?()=>A(document.body):f,H=C.useMemo(()=>md(n)?n:n===`large`?736:n===`default`?DM:typeof n==`string`?/^\d+(\.\d+)?$/.test(n)?Number(n):n:!D||D===`left`||D===`right`?a:i,[n,D,a,i]),U={motionName:km(R,`mask-motion`),...OM},W=e=>({motionName:km(R,`panel-motion-${e}`),...OM}),ee=er(p,tv()),[te,ne]=Xd(`Drawer`,E.zIndex),[re,ie,ae]=kd(o,L,R,y),G=V_(v,V!==!1&&re),{classNames:oe,styles:K,rootStyle:se}=E,ce={...e,zIndex:te,panelRef:p,mask:re,maskClosable:ae,defaultSize:r,push:s,focusable:G},[le,ue]=Id([F,oe],[I,K],{props:ce}),de=q({"no-mask":!re,[`${R}-rtl`]:M===`rtl`},t,z,B,le.root);return C.createElement(I_,{form:!0,space:!0},C.createElement(Wd.Provider,{value:ne},C.createElement(Ede,{prefixCls:R,onClose:u,maskMotion:U,motion:W,...E,classNames:{mask:q(le.mask,ie.mask),section:le.section,wrapper:le.wrapper,dragger:le.dragger},styles:{mask:{...ue.mask,...b},section:{...ue.section,...x},wrapper:{...ue.wrapper,...S},dragger:ue.dragger},open:c,mask:re,maskClosable:ae,push:s,size:H,defaultSize:r,style:{...P,...m},rootStyle:{...se,...ue.root},className:q(N,h),rootClassName:de,getContainer:V,afterOpenChange:l,panelRef:ee,zIndex:te,...g?{resizable:g}:{},"aria-labelledby":_??k,destroyOnHidden:T??w,focusTriggerAfterClose:G.focusTriggerAfterClose,focusTrap:G.trap},C.createElement(CM,{prefixCls:R,size:n,...E,ariaId:k,onClose:u}))))};kM._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:r,placement:i=`right`,...a}=e,{getPrefixCls:o}=C.useContext(si),s=o(`drawer`,t),[c,l]=EM(s),u=q(s,`${s}-pure`,`${s}-${i}`,c,l,r);return C.createElement(`div`,{className:u,style:n},C.createElement(CM,{prefixCls:s,...a}))};var Mde=kM;function AM(e){return[`small`,`middle`,`medium`,`large`].includes(e)}function jM(e){return e?md(e):!1}var MM=C.createContext({latestIndex:0}),Nde=MM.Provider,Pde=e=>{let{className:t,prefix:n,index:r,children:i,separator:a,style:o,classNames:s,styles:c}=e,{latestIndex:l}=C.useContext(MM);return pd(i)?C.createElement(C.Fragment,null,C.createElement(`div`,{className:t,style:o},i),r{let{componentCls:t,antCls:n}=e;return{[t]:{display:`inline-flex`,"&-rtl":{direction:`rtl`},"&-vertical":{flexDirection:`column`},"&-align":{flexDirection:`column`,"&-center":{alignItems:`center`},"&-start":{alignItems:`flex-start`},"&-end":{alignItems:`flex-end`},"&-baseline":{alignItems:`baseline`}},[`${t}-item:empty`]:{display:`none`},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:`block`}}}},Ide=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-medium, &-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-medium, &-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},Lde=il(`Space`,e=>{let t=_s(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[Fde(t),Ide(t)]},()=>({}),{resetStyle:!1}),NM=C.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r,size:i,className:a,style:o,classNames:s,styles:c}=ui(`space`),{size:l=i??`small`,align:u,className:d,rootClassName:f,children:p,direction:m,orientation:h,prefixCls:g,split:_,separator:v,style:y,vertical:b,wrap:x=!1,classNames:S,styles:w,...T}=e,[E,D]=Array.isArray(l)?l:[l,l],O=AM(D),k=AM(E),A=jM(D),j=jM(E),M=wr(p,{keepEmpty:!0}),[N,P]=zd(h,b,m),F=u===void 0&&!P?`center`:u,I=v??_,L=n(`space`,g),[R,z]=Lde(L),B={...e,size:l,orientation:N,align:F},[V,H]=Id([s,S],[c,w],{props:B}),U=q(L,a,R,`${L}-${N}`,{[`${L}-rtl`]:r===`rtl`,[`${L}-align-${F}`]:F,[`${L}-gap-row-${D}`]:O,[`${L}-gap-col-${E}`]:k},d,f,z,V.root),W=q(`${L}-item`,V.item),ee=M.map((e,t)=>{let n=e?.key||`${W}-${t}`;return C.createElement(Pde,{prefix:L,classNames:V,styles:H,className:W,key:n,index:t,separator:I,style:H.item},e)}),te=C.useMemo(()=>({latestIndex:M.reduce((e,t,n)=>pd(t)?n:e,0)}),[M]);if(M.length===0)return null;let ne={};return x&&(ne.flexWrap=`wrap`),!k&&j&&(ne.columnGap=E),!O&&A&&(ne.rowGap=D),C.createElement(`div`,{ref:t,className:U,style:{...ne,...H.root,...o,...y},...T},C.createElement(Nde,{value:te},ee))});NM.Compact=Lm,NM.Addon=kj;var PM=e=>{let{getPopupContainer:t,getPrefixCls:n,direction:r}=C.useContext(si),{prefixCls:i,type:a=`default`,danger:o,disabled:s,loading:c,onClick:l,htmlType:u,children:d,className:f,menu:p,arrow:m,autoFocus:h,trigger:g,align:_,open:v,onOpenChange:y,placement:b,getPopupContainer:x,href:S,icon:w=C.createElement(FS,null),title:T,buttonsRender:E=e=>e,mouseEnterDelay:D,mouseLeaveDelay:O,overlayClassName:k,overlayStyle:A,destroyOnHidden:j,destroyPopupOnHide:M,dropdownRender:N,popupRender:P,...F}=e,I=n(`dropdown`,i),L=`${I}-button`,R={menu:p,arrow:m,autoFocus:h,align:_,disabled:s,trigger:s?[]:g,onOpenChange:y,getPopupContainer:x||t,mouseEnterDelay:D,mouseLeaveDelay:O,classNames:{root:k},styles:{root:A},destroyOnHidden:j,popupRender:P||N},{compactSize:z,compactItemClassnames:B}=Im(I,r),V=q(L,B,f);`destroyPopupOnHide`in e&&(R.destroyPopupOnHide=M),`open`in e&&(R.open=v),`placement`in e?R.placement=b:R.placement=r===`rtl`?`bottomLeft`:`bottomRight`;let[H,U]=E([C.createElement(cC,{type:a,danger:o,disabled:s,loading:c,onClick:l,htmlType:u,href:S,title:T},d),C.createElement(cC,{type:a,danger:o,icon:w})]);return C.createElement(NM.Compact,{className:V,size:z,block:!0,...F},H,C.createElement(oC,{...R},U))};PM.__ANT_BUTTON=!0;var FM=oC;FM.Button=PM;var Rde={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z`}}]},name:`file-text`,theme:`outlined`};function IM(){return IM=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,IM({},e,{ref:t,icon:Rde}))),zde=(e,t)=>pd(e)?gd(e)&&!(0,C.isValidElement)(e)?{...t,...e}:{...t,title:e}:null;function RM(e){let[t,n]=C.useState(e);return C.useEffect(()=>{let t=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(t)}},[e]),t}var Bde=e=>{let{componentCls:t,motionDurationFast:n,motionEaseInOut:r}=e,i=`${t}-show-help`,a=`${t}-show-help-item`;return{[i]:{transition:`opacity ${n} ${r}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[a]:{overflow:`hidden`,transition:`${[`height`,`opacity`,`transform`].map(e=>`${e} ${n} ${r}`).join(`, `)} !important`,[`&${a}-appear, &${a}-enter`]:{transform:`translateY(-5px)`,opacity:0,"&-active":{transform:`translateY(0)`,opacity:1}},[`&${a}-leave-active`]:{transform:`translateY(-5px)`}}}}},Vde=e=>({legend:{display:`block`,width:`100%`,marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:`inherit`,border:0,borderBottom:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:`border-box`},'input[type="radio"], input[type="checkbox"]':{lineHeight:`normal`},'input[type="file"]':{display:`block`},'input[type="range"]':{display:`block`,width:`100%`},"select[multiple], select[size]":{height:`auto`},"input[type='file']:focus, input[type='radio']:focus, input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${J(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:`block`,paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),zM=(e,t)=>{let{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},Hde=e=>{let{componentCls:t}=e;return{[t]:{...Yc(e),...Vde(e),[`${t}-text`]:{display:`inline-block`,paddingInlineEnd:e.paddingSM},"&-small":{...zM(e,e.controlHeightSM)},"&-large":{...zM(e,e.controlHeightLG)}}}},Ude=e=>{let{formItemCls:t,iconCls:n,rootPrefixCls:r,antCls:i,labelRequiredMarkColor:a,labelColor:o,labelFontSize:s,labelHeight:c,labelColonMarginInlineStart:l,labelColonMarginInlineEnd:u,itemMarginBottom:d}=e,[f]=sl(i,`grid`);return{[t]:{...Yc(e),marginBottom:d,verticalAlign:`top`,"&-with-help":{transition:`none`},[`&-hidden, - &-hidden${i}-row`]:{display:`none`},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:`hidden`,whiteSpace:`nowrap`,textAlign:`end`,verticalAlign:`middle`,"&-left":{textAlign:`start`},"&-wrap":{overflow:`unset`,lineHeight:e.lineHeight,whiteSpace:`unset`,"> label":{verticalAlign:`middle`,textWrap:`balance`}},"> label":{position:`relative`,display:`inline-flex`,alignItems:`center`,maxWidth:`100%`,height:c,color:o,fontSize:s,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:`top`},[`&${t}-required`]:{"&::before":{display:`inline-block`,marginInlineEnd:e.marginXXS,color:a,fontSize:e.fontSize,fontFamily:`sans-serif`,lineHeight:1,content:`"*"`},[`&${t}-required-mark-hidden, &${t}-required-mark-optional`]:{"&::before":{display:`none`}}},[`${t}-optional`]:{display:`inline-block`,marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`&${t}-required-mark-hidden`]:{display:`none`}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:`help`,writingMode:`horizontal-tb`,marginInlineStart:e.marginXXS},"&::after":{content:`":"`,position:`relative`,marginBlock:0,marginInlineStart:l,marginInlineEnd:u},[`&${t}-no-colon::after`]:{content:`"\\a0"`}}},[`${t}-control`]:{[f(`display`)]:`flex`,flexDirection:`column`,flexGrow:1,[`&:first-child:not([class^="'${r}-col-'"]):not([class*="' ${r}-col-'"])`]:{width:`100%`},"&-input":{position:`relative`,display:`flex`,alignItems:`center`,minHeight:e.controlHeight,"&-content":{flex:`auto`,maxWidth:`100%`,[`&:has(> ${i}-switch:only-child, > ${i}-rate:only-child)`]:{display:`flex`,alignItems:`center`}}}},[t]:{"&-additional":{display:`flex`,flexDirection:`column`},"&-explain, &-extra":{clear:`both`,color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:`100%`},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:`auto`,opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:`center`,visibility:`visible`,animationName:lh,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:`none`,"&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}}}},BM=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:`initial`,textAlign:`start`,"> label":{margin:0,"&::after":{visibility:`hidden`}}}),Wde=e=>{let{antCls:t,formItemCls:n}=e;return{[`${n}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:`1 1 0`,minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:`unset`}},[`${t}-col-24${n}-label, - ${t}-col-xl-24${n}-label`]:BM(e)}}},Gde=e=>{let{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:`flex`,flexWrap:`wrap`,[`${n}-inline`]:{flex:`none`,marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:`nowrap`},[`> ${n}-label, - > ${n}-control`]:{display:`inline-block`,verticalAlign:`top`},[`> ${n}-label`]:{flex:`none`},[`${t}-text`]:{display:`inline-block`},[`${n}-has-feedback`]:{display:`inline-block`}}}}},Kde=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:BM(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:`wrap`,[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:`0 0 100%`,maxWidth:`100%`}}}}}},qde=e=>{let{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${n}-vertical`]:{[`${n}-row`]:{flexDirection:`column`},[`${n}-label > label`]:{height:`auto`},[`${n}-control`]:{width:`100%`},[`${n}-label, + `]:{cursor:`not-allowed !important`}},[`&-tooltip ${n}-tooltip-container`]:{minWidth:`unset`}}}},Jj=(e,t)=>{let{componentCls:n,railSize:r,handleSize:i,dotSize:a,marginFull:o,calc:s}=e,c=t?`paddingBlock`:`paddingInline`,l=t?`width`:`height`,u=t?`height`:`width`,d=t?`insetBlockStart`:`insetInlineStart`,f=t?`top`:`insetInlineStart`,p=s(r).mul(3).sub(i).div(2).equal(),m=s(i).sub(r).div(2).equal(),h=t?{borderWidth:`${J(m)} 0`,transform:`translateY(${J(s(m).mul(-1).equal())})`}:{borderWidth:`0 ${J(m)}`,transform:`translateX(${J(e.calc(m).mul(-1).equal())})`};return{[c]:r,[u]:s(r).mul(3).equal(),[`${n}-rail`]:{[l]:`100%`,[u]:r},[`${n}-track,${n}-tracks`]:{[u]:r},[`${n}-track-draggable`]:{...h},[`${n}-handle`]:{[d]:p},[`${n}-mark`]:{insetInlineStart:0,top:0,[f]:s(r).mul(3).add(t?0:o).equal(),[l]:`100%`},[`${n}-step`]:{insetInlineStart:0,top:0,[f]:r,[l]:`100%`,[u]:r},[`${n}-dot`]:{position:`absolute`,[d]:s(r).sub(a).div(2).equal()}}},Yue=e=>{let{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:{...Jj(e,!0),[`&${t}-with-marks`]:{marginBottom:n}}}},Xue=e=>{let{componentCls:t}=e;return{[`${t}-vertical`]:{...Jj(e,!1),height:`100%`}}},Zue=il(`Slider`,e=>{let t=_s(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[Jue(t),Yue(t),Xue(t)]},e=>{let t=e.controlHeightLG/4,n=e.controlHeightSM/2,r=e.lineWidth+1,i=e.lineWidth+1*1.5,a=e.colorPrimary,o=new zs(a).setA(.2).toRgbString();return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:n,dotSize:8,handleLineWidth:r,handleLineWidthHover:i,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:a,handleActiveOutlineColor:o,handleColorDisabled:new zs(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}});function Yj(){let[e,t]=C.useState(!1),n=C.useRef(null),r=()=>{ii.cancel(n.current)};return C.useEffect(()=>r,[]),[e,e=>{r(),e?t(e):n.current=ii(()=>{t(e)})}]}function Que(e){return e||e===null?e:e=>md(e)?e.toString():``}var Xj=C.forwardRef((e,t)=>{let{prefixCls:n,range:r,className:i,rootClassName:a,style:o,disabled:s,tooltip:c={},onChangeComplete:l,classNames:u,styles:d,vertical:f,orientation:p,...m}=e,[,h]=zd(p,f),{getPrefixCls:g,direction:_,className:v,style:y,classNames:b,styles:x,getPopupContainer:S}=ui(`slider`),w=C.useContext(Bp),T=s??w,E={...e,disabled:T,vertical:h},[D,O]=Id([b,u],[x,d],{props:E}),{handleRender:k,direction:A}=C.useContext(que),j=(A||_)===`rtl`,[M,N]=Yj(),[P,F]=Yj(),I={...c},{open:L,placement:R,getPopupContainer:z,prefixCls:B,formatter:V}=I,H=L,U=(M||P)&&H!==!1,W=Que(V),[ee,te]=Yj(),ne=e=>{l?.(e),te(!1)},re=(e,t)=>e||(t?j?`left`:`right`:`top`),ie=g(`slider`,n),[ae,G]=Zue(ie),oe=q(i,v,D.root,a,{[`${ie}-rtl`]:j,[`${ie}-lock`]:ee},ae,G);j&&!h&&(m.reverse=!m.reverse),C.useEffect(()=>{let e=()=>{ii(()=>{F(!1)},1)};return document.addEventListener(`mouseup`,e),()=>{document.removeEventListener(`mouseup`,e)}},[]);let K=r&&!H,se=k||((e,t)=>{let{index:n}=t,r=e.props;function i(e,t,n){n&&m[e]?.(t),r[e]?.(t)}let a={...r,onMouseEnter:e=>{N(!0),i(`onMouseEnter`,e)},onMouseLeave:e=>{N(!1),i(`onMouseLeave`,e)},onMouseDown:e=>{F(!0),te(!0),i(`onMouseDown`,e)},onFocus:e=>{F(!0),m.onFocus?.(e),i(`onFocus`,e,!0)},onBlur:e=>{F(!1),m.onBlur?.(e),i(`onBlur`,e,!0)}},o=C.cloneElement(e,a),s=(!!H||U)&&W!==null;return K?o:C.createElement(qj,{...I,prefixCls:g(`tooltip`,B),title:W?W(t.value):``,value:t.value,open:s,placement:re(R,h),key:n,classNames:{root:`${ie}-tooltip`},getPopupContainer:z||S},o)}),ce=K?(e,t)=>{let n=C.cloneElement(e,{style:{...e.props.style,visibility:`hidden`}});return C.createElement(qj,{...I,prefixCls:g(`tooltip`,B),title:W?W(t.value):``,open:W!==null&&U,placement:re(R,h),key:`tooltip`,classNames:{root:`${ie}-tooltip`},getPopupContainer:z||S,draggingDelete:t.draggingDelete},n)}:void 0,le={...O.root,...y,...o};return C.createElement(Kue,{...m,classNames:D,styles:O,step:m.step,range:r,className:oe,style:le,disabled:T,vertical:h,ref:t,prefixCls:ie,handleRender:se,activeHandleRender:ce,onChangeComplete:ne})}),$ue={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z`}}]},name:`swap-right`,theme:`outlined`};function Zj(){return Zj=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Zj({},e,{ref:t,icon:$ue}))),$j=(e,t,n,r,i,a)=>{let{classNames:o,styles:s}=ui(e),[c,l]=Id([o,t],[s,n],{props:a},{popup:{_default:`root`}});return C.useMemo(()=>[{...c,popup:{...c.popup,root:q(c.popup?.root,r)}},{...l,popup:{...l.popup,root:{...l.popup?.root,...i}}}],[c,l,r,i])};function ede(e,t,n){return n===void 0?t===`year`&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t===`quarter`&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t===`month`&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t===`week`&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t===`time`&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder:n}function tde(e,t,n){return n===void 0?t===`year`&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t===`quarter`&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t===`month`&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t===`week`&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t===`time`&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder:n}function eM(e,t){let{allowClear:n=!0}=e,{clearIcon:r,removeIcon:i}=yb({...e,prefixCls:t,componentName:`DatePicker`});return[C.useMemo(()=>n===!1?!1:{clearIcon:r,...n===!0?{}:n},[n,r]),i]}var[nde,rde]=[`week`,`WeekPicker`],[ide,ade]=[`month`,`MonthPicker`],[ode,sde]=[`year`,`YearPicker`],[cde,lde]=[`quarter`,`QuarterPicker`],[tM,nM]=[`time`,`TimePicker`],ude={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z`}}]},name:`calendar`,theme:`outlined`};function rM(){return rM=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,rM({},e,{ref:t,icon:ude}))),dde={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z`}}]},name:`clock-circle`,theme:`outlined`};function aM(){return aM=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,aM({},e,{ref:t,icon:dde}))),sM=({picker:e,hasFeedback:t,feedbackIcon:n,suffixIcon:r})=>r===null||r===!1?null:r===!0||r===void 0?C.createElement(C.Fragment,null,e===tM?C.createElement(oM,null):C.createElement(iM,null),t&&n):r,fde=e=>C.createElement(tg,{size:`small`,type:`primary`,...e});function cM(e){return(0,C.useMemo)(()=>({button:fde,...e}),[e])}var pde=e=>(0,C.forwardRef)((t,n)=>{let{prefixCls:r,getPopupContainer:i,components:a,className:o,style:s,classNames:c,styles:l,placement:u,size:d,disabled:f,bordered:p=!0,placeholder:m,status:h,variant:g,picker:_,dropdownClassName:v,popupClassName:y,popupStyle:b,rootClassName:x,suffixIcon:S,separator:w,...T}=t,[E,D]=$j(_===tM?`timePicker`:`datePicker`,c,l,y||v,b),O=C.useRef(null),{getPrefixCls:k,direction:A,getPopupContainer:j,rangePicker:M}=(0,C.useContext)(si),N=k(`picker`,r),{compactSize:P,compactItemClassnames:F}=Vm(N,A),I=k(),L=w??M?.separator,[R,z]=Yy(`rangePicker`,g,p),B=xf(N),[V,H]=cA(N,B),U=q(V,H,B,x),[W]=eM(t,N),ee=cM(a),te=Rm(e=>d??P??e),ne=C.useContext(Bp),re=f??ne,{hasFeedback:ie,status:ae,feedbackIcon:G}=(0,C.useContext)(B_),oe=sM({picker:_,hasFeedback:ie,feedbackIcon:G,suffixIcon:S});(0,C.useImperativeHandle)(n,()=>O.current);let[K]=ld(`Calendar`,$u),se=pr(K,t.locale||{}),[ce]=Xd(`DatePicker`,D?.popup?.root?.zIndex);return C.createElement(U_,{space:!0},C.createElement(ak,{separator:C.createElement(`span`,{"aria-label":`to`,className:`${N}-separator`},L??C.createElement(Qj,null)),disabled:re,ref:O,placement:u,placeholder:tde(se,_,m),suffixIcon:oe,prevIcon:C.createElement(`span`,{className:`${N}-prev-icon`}),nextIcon:C.createElement(`span`,{className:`${N}-next-icon`}),superPrevIcon:C.createElement(`span`,{className:`${N}-super-prev-icon`}),superNextIcon:C.createElement(`span`,{className:`${N}-super-next-icon`}),transitionName:`${I}-slide-up`,picker:_,...T,locale:se.lang,getPopupContainer:i||j,generateConfig:e,components:ee,direction:A,prefixCls:N,rootClassName:U,className:q({[`${N}-large`]:te===`large`,[`${N}-small`]:te===`small`,[`${N}-${R}`]:z},zy(N,By(ae,h),ie),F,o,M?.className),style:{...M?.style,...s},classNames:E,styles:{...D,popup:{...D.popup,root:{...D.popup.root,zIndex:ce}}},allowClear:W}))}),mde=e=>{let t=(t,n)=>{let r=n===nM?`timePicker`:`datePicker`;return(0,C.forwardRef)((i,a)=>{let{prefixCls:o,getPopupContainer:s,components:c,style:l,className:u,size:d,bordered:f,placement:p,placeholder:m,disabled:h,status:g,variant:_,onCalendarChange:v,classNames:y,styles:b,dropdownClassName:x,popupClassName:S,popupStyle:w,rootClassName:T,suffixIcon:E,...D}=i,{suffixIcon:O}=ui(n===nM?`timePicker`:`datePicker`),{getPrefixCls:k,direction:A,getPopupContainer:j,[r]:M}=(0,C.useContext)(si),N=k(`picker`,o),{compactSize:P,compactItemClassnames:F}=Vm(N,A),I=Rm(e=>d??P??e),L=C.useContext(Bp),R=h??L,z={...i,size:I,disabled:R,status:g,variant:_},[B,V]=$j(r,y,b,S||x,w,z),H=C.useRef(null),[U,W]=Yy(`datePicker`,_,f),ee=xf(N),[te,ne]=cA(N,ee),re=q(te,ne,ee,T);(0,C.useImperativeHandle)(a,()=>H.current);let ie={showToday:!0},ae=t||i.picker,G=k(),{onSelect:oe,multiple:K}=D,se=oe&&t===`time`&&!K,ce=(e,t,n)=>{v?.(e,t,n),se&&oe(e)},[le,ue]=eM(i,N),de=cM(c),{hasFeedback:fe,status:pe,feedbackIcon:me}=(0,C.useContext)(B_),he=sM({picker:ae,hasFeedback:fe,feedbackIcon:me,suffixIcon:E===void 0?O:E}),[ge]=ld(`DatePicker`,$u),_e=pr(ge,i.locale||{}),[ve]=Xd(`DatePicker`,V?.popup?.root?.zIndex);return C.createElement(U_,{space:!0},C.createElement(kce,{ref:H,placeholder:ede(_e,ae,m),suffixIcon:he,placement:p,prevIcon:C.createElement(`span`,{className:`${N}-prev-icon`}),nextIcon:C.createElement(`span`,{className:`${N}-next-icon`}),superPrevIcon:C.createElement(`span`,{className:`${N}-super-prev-icon`}),superNextIcon:C.createElement(`span`,{className:`${N}-super-next-icon`}),transitionName:`${G}-slide-up`,picker:t,onCalendarChange:ce,...ie,...D,locale:_e.lang,getPopupContainer:s||j,generateConfig:e,components:de,direction:A,disabled:R,prefixCls:N,rootClassName:re,className:q({[`${N}-large`]:I===`large`,[`${N}-small`]:I===`small`,[`${N}-${U}`]:W},zy(N,By(pe,g),fe),F,M?.className,u),style:{...M?.style,...l},classNames:B,styles:{...V,popup:{...V.popup,root:{...V.popup.root,zIndex:ve}}},allowClear:le,removeIcon:ue}))})},n=t(),r=t(nde,rde),i=t(ide,ade),a=t(ode,sde),o=t(cde,lde);return{DatePicker:n,WeekPicker:r,MonthPicker:i,YearPicker:a,TimePicker:t(tM,nM),QuarterPicker:o}},lM=e=>{let{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:i,TimePicker:a,QuarterPicker:o}=mde(e),s=pde(e),c=t;return c.WeekPicker=n,c.MonthPicker=r,c.YearPicker=i,c.RangePicker=s,c.TimePicker=a,c.QuarterPicker=o,c},uM=lM(pae);uM._InternalPanelDoNotUseOrYouWillBeFired=zv(uM,`popupAlign`,void 0,`picker`),uM._InternalRangePanelDoNotUseOrYouWillBeFired=zv(uM.RangePicker,`popupAlign`,void 0,`picker`),uM.generatePicker=lM;var hde={xxxl:4,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},dM=C.createContext(null),gde=e=>wr(e).map(e=>({...e?.props,key:e.key}));function _de(e,t,n){let r=C.useMemo(()=>t||gde(n),[t,n]);return C.useMemo(()=>r.map(({span:t,...n})=>t===`filled`?{...n,filled:!0}:{...n,span:md(t)?t:kb(e,t)}),[r,e])}function vde(e,t){let n=[],r=[],i=!1,a=0;return e.filter(e=>e).forEach(e=>{let{filled:o,...s}=e;if(o){r.push(s),n.push(r),r=[],a=0;return}let c=t-a;a+=e.span||1,a>=t?(a>t?(i=!0,r.push({...s,span:c})):r.push(s),n.push(r),r=[],a=0):r.push(s)}),r.length>0&&n.push(r),n=n.map(e=>{let n=e.reduce((e,t)=>e+(t.span||1),0);if(n{let[n,r]=(0,C.useMemo)(()=>vde(t,e),[t,e]);return n},bde=e=>e.children,fM=e=>{let{itemPrefixCls:t,component:n,span:r,className:i,style:a,labelStyle:o,contentStyle:s,bordered:c,label:l,content:u,colon:d,type:f,styles:p,classNames:m}=e,h=n,{classNames:g,styles:_}=C.useContext(dM),[v,y]=Id([g,m],[_,p],{props:e}),b={...o,...y.label},x={...s,...y.content};return c?C.createElement(h,{colSpan:r,style:a,className:q(i,{[`${t}-item-${f}`]:f===`label`||f===`content`,[v.label]:v.label&&f===`label`,[v.content]:v.content&&f===`content`})},pd(l)&&C.createElement(`span`,{style:b},l),pd(u)&&C.createElement(`span`,{style:x},u)):C.createElement(h,{className:q(`${t}-item`,i),style:a,colSpan:r},C.createElement(`div`,{className:`${t}-item-container`},pd(l)&&C.createElement(`span`,{style:b,className:q(`${t}-item-label`,v.label,{[`${t}-item-no-colon`]:!d})},l),pd(u)&&C.createElement(`span`,{style:x,className:q(`${t}-item-content`,v.content)},u)))};function pM(e,{colon:t,prefixCls:n,bordered:r},{component:i,type:a,showLabel:o,showContent:s,labelStyle:c,contentStyle:l,styles:u}){return e.map(({label:e,children:d,prefixCls:f=n,className:p,style:m,labelStyle:h,contentStyle:g,span:_=1,key:v,styles:y,classNames:b},x)=>typeof i==`string`?C.createElement(fM,{key:`${a}-${v||x}`,className:p,style:m,classNames:b,styles:{label:{...c,...u?.label,...h,...y?.label},content:{...l,...u?.content,...g,...y?.content}},span:_,colon:t,component:i,itemPrefixCls:f,bordered:r,label:o?e:null,content:s?d:null,type:a}):[C.createElement(fM,{key:`label-${v||x}`,className:p,style:{...c,...u?.label,...m,...h,...y?.label},span:1,colon:t,component:i[0],itemPrefixCls:f,bordered:r,label:e,type:`label`}),C.createElement(fM,{key:`content-${v||x}`,className:p,style:{...l,...u?.content,...m,...g,...y?.content},span:_*2-1,component:i[1],itemPrefixCls:f,bordered:r,content:d,type:`content`})])}var xde=e=>{let t=C.useContext(dM),{prefixCls:n,vertical:r,row:i,index:a,bordered:o}=e;return r?C.createElement(C.Fragment,null,C.createElement(`tr`,{key:`label-${a}`,className:`${n}-row`},pM(i,e,{component:`th`,type:`label`,showLabel:!0,...t})),C.createElement(`tr`,{key:`content-${a}`,className:`${n}-row`},pM(i,e,{component:`td`,type:`content`,showContent:!0,...t}))):C.createElement(`tr`,{key:a,className:`${n}-row`},pM(i,e,{component:o?[`th`,`td`]:`td`,type:`item`,showLabel:!0,showContent:!0,...t}))},Sde=e=>{let{componentCls:t,labelBg:n}=e;return{[`&${t}-bordered`]:{[`> ${t}-view`]:{border:`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:`auto`},[`${t}-row`]:{borderBottom:`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:first-child":{"> th:first-child, > td:first-child":{borderStartStartRadius:e.borderRadiusLG}},"&:last-child":{borderBottom:`none`,"> th:first-child, > td:first-child":{borderEndStartRadius:e.borderRadiusLG}},[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${J(e.padding)} ${J(e.paddingLG)}`,borderInlineEnd:`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:`none`}},[`> ${t}-item-label`]:{color:e.colorTextSecondary,backgroundColor:n,"&::after":{display:`none`}}}},[`&${t}-medium`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${J(e.paddingSM)} ${J(e.paddingLG)}`}}},[`&${t}-small`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${J(e.paddingXS)} ${J(e.padding)}`}}}}}},Cde=e=>{let{componentCls:t,extraColor:n,itemPaddingBottom:r,itemPaddingEnd:i,colonMarginRight:a,colonMarginLeft:o,titleMarginBottom:s}=e;return{[t]:{...Yc(e),...Sde(e),"&-rtl":{direction:`rtl`},[`${t}-header`]:{display:`flex`,alignItems:`center`,marginBottom:s},[`${t}-title`]:{...Jc,flex:`auto`,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG},[`${t}-extra`]:{marginInlineStart:`auto`,color:n,fontSize:e.fontSize},[`${t}-view`]:{width:`100%`,borderRadius:e.borderRadiusLG,table:{width:`100%`,tableLayout:`fixed`,borderCollapse:`collapse`}},[`${t}-row`]:{"> th, > td":{paddingBottom:r,paddingInlineEnd:i},"> th:last-child, > td:last-child":{paddingInlineEnd:0},"&:last-child":{borderBottom:`none`,"> th, > td":{paddingBottom:0}}},[`${t}-item-label`]:{color:e.labelColor,fontWeight:`normal`,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:`start`,"&::after":{content:`":"`,position:`relative`,top:-.5,marginInline:`${J(o)} ${J(a)}`},[`&${t}-item-no-colon::after`]:{content:`""`}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:`""`}},[`${t}-item-content`]:{display:`table-cell`,flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:`break-word`,overflowWrap:`break-word`},[`${t}-item`]:{paddingBottom:0,verticalAlign:`top`,"&-container":{display:`flex`,[`${t}-item-label`]:{display:`inline-flex`,alignItems:`baseline`},[`${t}-item-content`]:{display:`inline-flex`,alignItems:`baseline`,minWidth:`1em`}}},"&-medium":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}}}},wde=il(`Descriptions`,e=>Cde(_s(e,{})),e=>({labelBg:e.colorFillAlter,labelColor:e.colorTextTertiary,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,itemPaddingEnd:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText})),mM=e=>{let{prefixCls:t,title:n,extra:r,column:i,colon:a=!0,bordered:o,layout:s,children:c,className:l,rootClassName:u,style:d,size:f,labelStyle:p,contentStyle:m,styles:h,items:g,classNames:_,...v}=e,{getPrefixCls:y,direction:b,className:x,style:S,classNames:w,styles:T}=ui(`descriptions`),E=y(`descriptions`,t),D=jb(),O=C.useMemo(()=>md(i)?i:kb(D,{...hde,...i})??3,[D,i]),k=_de(D,g,c),A=Rm(f),j=yde(O,k),[M,N]=wde(E),P={...e,column:O,items:k,size:A},[F,I]=Id([w,_],[T,h],{props:P}),L=C.useMemo(()=>({labelStyle:p,contentStyle:m,styles:{label:I.label,content:I.content},classNames:{label:F.label,content:F.content}}),[p,m,I.label,I.content,F.label,F.content]);return C.createElement(dM.Provider,{value:L},C.createElement(`div`,{className:q(E,x,F.root,{[`${E}-medium`]:A===`medium`||A===`middle`,[`${E}-small`]:A===`small`,[`${E}-bordered`]:!!o,[`${E}-rtl`]:b===`rtl`},l,u,M,N),style:{...S,...I.root,...d},...v},(n||r)&&C.createElement(`div`,{className:q(`${E}-header`,F.header),style:I.header},n&&C.createElement(`div`,{className:q(`${E}-title`,F.title),style:I.title},n),r&&C.createElement(`div`,{className:q(`${E}-extra`,F.extra),style:I.extra},r)),C.createElement(`div`,{className:`${E}-view`},C.createElement(`table`,null,C.createElement(`tbody`,null,j.map((e,t)=>C.createElement(xde,{key:t,index:t,colon:a,prefixCls:E,vertical:s===`vertical`,bordered:o,row:e})))))))};mM.Item=bde;var hM=C.createContext(null),gM=C.createContext({});function _M(){return _M=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t,className:n,containerRef:r,...i}=e,{panel:a}=C.useContext(gM),o=tr(a,r);return C.createElement(`div`,_M({className:q(`${t}-section`,n),role:`dialog`,ref:o},Hu(e,{aria:!0}),{"aria-modal":`true`},i))};function Ede(e){let{prefixCls:t,direction:n,className:r,style:i,maxSize:a,containerRef:o,currentSize:s,onResize:c,onResizeEnd:l,onResizeStart:u}=e,[d,f]=C.useState(!1),[p,m]=C.useState(0),[h,g]=C.useState(0),_=n===`left`||n===`right`,v=Rn(e=>{e.preventDefault(),e.stopPropagation(),f(!0),m(_?e.clientX:e.clientY);let t;if(typeof s==`number`)t=s;else if(o?.current){let e=o.current.getBoundingClientRect();t=_?e.width:e.height}g(t),u?.(t)}),y=Rn(e=>{if(!d)return;let t=(_?e.clientX:e.clientY)-p;(n===`right`||n===`bottom`)&&(t=-t);let r=h+t;r<0&&(r=0),a&&r>a&&(r=a),c?.(r)}),b=C.useCallback(()=>{if(d&&(f(!1),o?.current)){let e=o.current.getBoundingClientRect(),t=_?e.width:e.height;l?.(t)}},[d,o,l,_]);return C.useEffect(()=>{if(d)return document.addEventListener(`mousemove`,y),document.addEventListener(`mouseup`,b),()=>{document.removeEventListener(`mousemove`,y),document.removeEventListener(`mouseup`,b)}},[d,y,b]),{dragElementProps:{className:q(`${t}-dragger`,`${t}-dragger-${n}`,{[`${t}-dragger-dragging`]:d,[`${t}-dragger-horizontal`]:_,[`${t}-dragger-vertical`]:!_},r),style:i,onMouseDown:v},isDragging:d}}function vM(e){if(typeof e==`string`){let t=Number(e.replace(/px$/i,``));if(parseFloat(e)===t&&xr(!1,"Invalid value type of `width` or `height` which should be number type instead."),!Number.isNaN(t))return t}return e}function Dde(e,t,n,r,i){let[a]=bg(t&&(r??i!==!1),e);return C.useEffect(()=>{t&&n===!0&&e()?.focus({preventScroll:!0})},[t]),a}function yM(){return yM=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,open:r,placement:i,inline:a,push:o,forceRender:s,autoFocus:c,focusTrap:l,classNames:u,rootClassName:d,rootStyle:f,zIndex:p,className:m,id:h,style:g,motion:_,width:v,height:y,size:b,maxSize:x,children:S,mask:w,maskClosable:T,maskMotion:E,maskClassName:D,maskStyle:O,afterOpenChange:k,onClose:A,onMouseEnter:j,onMouseOver:M,onMouseLeave:N,onClick:P,onKeyDown:F,onKeyUp:I,styles:L,drawerRender:R,resizable:z,defaultSize:B}=e,V=C.useRef(null);C.useImperativeHandle(t,()=>V.current);let H=Dde(()=>V.current,r,c,l,w),[U,W]=C.useState(!1),ee=C.useContext(hM),te;te=typeof o==`boolean`?o?{}:{distance:0}:o||{};let ne=te?.distance??ee?.pushDistance??180,re=C.useMemo(()=>({pushDistance:ne,push:()=>{W(!0)},pull:()=>{W(!1)}}),[ne]);C.useEffect(()=>{r?ee?.push?.():ee?.pull?.()},[r]),C.useEffect(()=>()=>{ee?.pull?.()},[]);let ie=C.createElement(Lu,yM({key:`mask`},E,{visible:w&&r}),({className:e,style:t},i)=>C.createElement(`div`,{className:q(`${n}-mask`,e,u?.mask,D),style:{...t,...O,...L?.mask},onClick:T&&r?A:void 0,ref:i})),ae=typeof _==`function`?_(i):_,[G,oe]=C.useState(),K=i===`left`||i===`right`,se=C.useMemo(()=>vM(b??(K?v:y)??G??B??(K?378:void 0)),[b,v,y,B,K,G]),ce=C.useMemo(()=>{let e={};if(U&&ne)switch(i){case`top`:e.transform=`translateY(${ne}px)`;break;case`bottom`:e.transform=`translateY(${-ne}px)`;break;case`left`:e.transform=`translateX(${ne}px)`;break;default:e.transform=`translateX(${-ne}px)`;break}return K?e.width=vM(se):e.height=vM(se),e},[U,ne,i,K,se]),le=C.useRef(null),ue=!!z,de=typeof z==`object`&&z||{},fe=Rn(e=>{oe(e),de.onResize?.(e)}),{dragElementProps:pe,isDragging:me}=Ede({prefixCls:`${n}-resizable`,direction:i,className:u?.dragger,style:L?.dragger,maxSize:x,containerRef:le,currentSize:se,onResize:fe,onResizeStart:de.onResizeStart,onResizeEnd:de.onResizeEnd}),he={onMouseEnter:j,onMouseOver:M,onMouseLeave:N,onClick:P,onKeyDown:F,onKeyUp:I,onFocus:e=>{H(e.target)}},ge=C.createElement(Lu,yM({key:`panel`},ae,{visible:r,forceRender:s,onVisibleChanged:k,removeOnLeave:!1,leavedClassName:`${n}-content-wrapper-hidden`}),({className:t,style:r},i)=>{let a=C.createElement(Tde,yM({id:h,containerRef:i,prefixCls:n,className:q(m,u?.section),style:{...g,...L?.section}},Hu(e,{aria:!0}),he),S);return C.createElement(`div`,yM({ref:le,className:q(`${n}-content-wrapper`,me&&`${n}-content-wrapper-dragging`,u?.wrapper,!me&&t),style:{...r,...ce,...L?.wrapper}},Hu(e,{data:!0})),ue&&C.createElement(`div`,pe),R?R(a):a)}),_e={...f};return p&&(_e.zIndex=p),C.createElement(hM.Provider,{value:re},C.createElement(`div`,{className:q(n,`${n}-${i}`,d,{[`${n}-open`]:r,[`${n}-inline`]:a}),style:_e,tabIndex:-1,ref:V},ie,ge))}),kde=e=>{let{open:t=!1,prefixCls:n=`rc-drawer`,placement:r=`right`,autoFocus:i=!0,keyboard:a=!0,width:o,height:s,size:c,maxSize:l,mask:u=!0,maskClosable:d=!0,getContainer:f,forceRender:p,afterOpenChange:m,destroyOnHidden:h,onMouseEnter:g,onMouseOver:_,onMouseLeave:v,onClick:y,onKeyDown:b,onKeyUp:x,onClose:S,resizable:w,defaultSize:T,focusTriggerAfterClose:E,panelRef:D}=e,[O,k]=C.useState(!1),[A,j]=C.useState(!1);Vn(()=>{j(!0)},[]);let M=A?t:!1,N=C.useRef(null),P=C.useRef(null);Vn(()=>{M&&(P.current=document.activeElement)},[M]);let F=e=>{k(e),m?.(e),!e&&E!==!1&&P.current&&!N.current?.contains(P.current)&&P.current?.focus({preventScroll:!0})},I=C.useMemo(()=>({panel:D}),[D]);if(!p&&!O&&!M&&h)return null;let L={onMouseEnter:g,onMouseOver:_,onMouseLeave:v,onClick:y,onKeyDown:b,onKeyUp:x},R={...e,open:M,prefixCls:n,placement:r,autoFocus:i,keyboard:a,width:o,height:s,size:c,maxSize:l,defaultSize:T,mask:u,maskClosable:d,inline:f===!1,afterOpenChange:F,ref:N,resizable:w,...L};return C.createElement(gM.Provider,{value:I},C.createElement(Zf,{open:M||p||O,autoDestroy:!1,getContainer:f,autoLock:u&&(M||O),onEsc:({top:e,event:t})=>{e&&a&&(t.stopPropagation(),S?.(t))}},C.createElement(Ode,R)))},bM=e=>{let{prefixCls:t,ariaId:n,title:r,footer:i,extra:a,closable:o,loading:s,onClose:c,headerStyle:l,bodyStyle:u,footerStyle:d,children:f,classNames:p,styles:m}=e,h=ui(`drawer`),{classNames:g,styles:_,closable:v}=h,[y,b]=Id([g,p],[_,m],{props:{...e,closable:o??v}}),x=C.useMemo(()=>{let e=o??v;if(e!==!1)return gd(e)&&e?.placement===`end`?`end`:`start`},[o,v]),S=C.useCallback(e=>C.createElement(`button`,{type:`button`,onClick:c,className:q(`${t}-close`,{[`${t}-close-${x}`]:x===`end`},y.close),style:b.close},e),[c,t,x,y.close,b.close]),[w,T]=Ed(bd(e),bd(h),{closable:!0,closeIconRender:S}),E=()=>!r&&!w?null:C.createElement(`div`,{style:{...b.header,...l},className:q(`${t}-header`,y.header,{[`${t}-header-close-only`]:w&&!r&&!a})},C.createElement(`div`,{className:`${t}-header-title`},x===`start`&&T,r&&C.createElement(`div`,{className:q(`${t}-title`,y.title),style:b.title,id:n},r)),a&&C.createElement(`div`,{className:q(`${t}-extra`,y.extra),style:b.extra},a),x===`end`&&T),D=()=>i?C.createElement(`div`,{className:q(`${t}-footer`,y.footer),style:{...b.footer,...d}},i):null;return C.createElement(C.Fragment,null,E(),C.createElement(`div`,{className:q(`${t}-body`,y.body),style:{...b.body,...u}},s?C.createElement(av,{active:!0,title:!1,paragraph:{rows:5},className:`${t}-body-skeleton`}):f),D())},Ade=e=>{let t=`100%`;return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},xM=(e,t)=>({"&-enter, &-appear":{...e,"&-active":t},"&-leave":{...t,"&-active":e}}),SM=(e,t)=>({"&-enter, &-appear, &-leave":{"&-start":{transition:`none`},"&-active":{transition:`all ${t}`}},...xM({opacity:e},{opacity:1})}),jde=(e,t)=>[SM(.7,t),xM({transform:Ade(e)},{transform:`none`})],Mde=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:SM(0,n),[`${t}-panel-motion`]:[`left`,`right`,`top`,`bottom`].reduce((e,t)=>({...e,[`&-${t}`]:jde(t,n)}),{})}}},Nde=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:i,colorBgElevated:a,motionDurationSlow:o,motionDurationMid:s,paddingXS:c,padding:l,paddingLG:u,fontSizeLG:d,lineHeightLG:f,lineWidth:p,lineType:m,colorSplit:h,marginXS:g,colorIcon:_,colorIconHover:v,colorBgTextHover:y,colorBgTextActive:b,colorText:x,fontWeightStrong:S,footerPaddingBlock:C,footerPaddingInline:w,draggerSize:T,calc:E}=e,D=`${n}-content-wrapper`,O=`${n}-resizable-dragger`;return{[n]:{position:`fixed`,inset:0,zIndex:r,pointerEvents:`none`,color:x,"&-pure":{position:`relative`,background:a,display:`flex`,flexDirection:`column`,pointerEvents:`auto`,[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:`absolute`},[`${n}-mask`]:{position:`absolute`,inset:0,zIndex:r,background:i,pointerEvents:`auto`,[`&${n}-mask-blur`]:{backdropFilter:`blur(4px)`}},[D]:{position:`absolute`,zIndex:r,maxWidth:`100vw`,transition:`all ${o}`,"&-hidden":{display:`none`}},[`&-left > ${D}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${D}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${D}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${D}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-section`]:{display:`flex`,flexDirection:`column`,width:`100%`,height:`100%`,overflow:`auto`,background:a,pointerEvents:`auto`},[`${n}-header`]:{display:`flex`,flex:0,alignItems:`center`,padding:`${J(l)} ${J(u)}`,fontSize:d,lineHeight:f,borderBottom:`${J(p)} ${m} ${h}`,"&-title":{display:`flex`,flex:1,alignItems:`center`,minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:`none`},[`${n}-close`]:{display:`inline-flex`,width:E(d).add(c).equal(),height:E(d).add(c).equal(),borderRadius:t,justifyContent:`center`,alignItems:`center`,color:_,fontWeight:S,fontSize:d,fontStyle:`normal`,lineHeight:1,textAlign:`center`,textTransform:`none`,textDecoration:`none`,background:`transparent`,border:0,cursor:`pointer`,transition:`all ${s}`,textRendering:`auto`,[`&${n}-close-end`]:{marginInlineStart:g},[`&:not(${n}-close-end)`]:{marginInlineEnd:g},"&:hover":{color:v,backgroundColor:y,textDecoration:`none`},"&:active":{backgroundColor:b},...$c(e)},[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:f},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:`auto`,[`${n}-body-skeleton`]:{width:`100%`,height:`100%`,display:`flex`,justifyContent:`center`}},[`${n}-footer`]:{flexShrink:0,padding:`${J(C)} ${J(w)}`,borderTop:`${J(p)} ${m} ${h}`},[O]:{position:`absolute`,zIndex:1,backgroundColor:`transparent`,userSelect:`none`,pointerEvents:`auto`,"&:hover":{backgroundColor:e.colorPrimary,opacity:.2},"&-dragging":{backgroundColor:e.colorPrimary,opacity:.3}},[`${O}-left`]:{top:0,bottom:0,right:{_skip_check_:!0,value:0},width:T,cursor:`col-resize`},[`${O}-right`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},width:T,cursor:`col-resize`},[`${O}-top`]:{insetInline:0,bottom:0,height:T,cursor:`row-resize`},[`${O}-bottom`]:{insetInline:0,top:0,height:T,cursor:`row-resize`},[`${D}-dragging`]:{userSelect:`none`,transition:`none`,willChange:`width, height`,[`${n}-content`]:{pointerEvents:`none`},[`${n}-section`]:{pointerEvents:`none`}},"&-rtl":{direction:`rtl`}}}},CM=il(`Drawer`,e=>{let t=_s(e,{});return[Nde(t),Mde(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding,draggerSize:4})),Pde={distance:180},wM=378,TM={motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},EM=e=>{let{rootClassName:t,size:n,defaultSize:r=wM,height:i,width:a,mask:o,push:s=Pde,open:c,afterOpenChange:l,onClose:u,prefixCls:d,getContainer:f,panelRef:p=null,style:m,className:h,resizable:g,"aria-labelledby":_,focusable:v,maskClosable:y,maskStyle:b,drawerStyle:x,contentWrapperStyle:S,destroyOnClose:w,destroyOnHidden:T,...E}=e,{placement:D}=E,O=Bf(),k=E.title?O:void 0,{getPopupContainer:A,getPrefixCls:j,direction:M,className:N,style:P,classNames:F,styles:I,mask:L}=ui(`drawer`),R=j(`drawer`,d),[z,B]=CM(R),V=f===void 0&&A?()=>A(document.body):f,H=C.useMemo(()=>md(n)?n:n===`large`?736:n===`default`?wM:typeof n==`string`?/^\d+(\.\d+)?$/.test(n)?Number(n):n:!D||D===`left`||D===`right`?a:i,[n,D,a,i]),U={motionName:Nm(R,`mask-motion`),...TM},W=e=>({motionName:Nm(R,`panel-motion-${e}`),...TM}),ee=er(p,sv()),[te,ne]=Xd(`Drawer`,E.zIndex),[re,ie,ae]=kd(o,L,R,y),G=q_(v,V!==!1&&re),{classNames:oe,styles:K,rootStyle:se}=E,ce={...e,zIndex:te,panelRef:p,mask:re,maskClosable:ae,defaultSize:r,push:s,focusable:G},[le,ue]=Id([F,oe],[I,K],{props:ce}),de=q({"no-mask":!re,[`${R}-rtl`]:M===`rtl`},t,z,B,le.root);return C.createElement(U_,{form:!0,space:!0},C.createElement(Wd.Provider,{value:ne},C.createElement(kde,{prefixCls:R,onClose:u,maskMotion:U,motion:W,...E,classNames:{mask:q(le.mask,ie.mask),section:le.section,wrapper:le.wrapper,dragger:le.dragger},styles:{mask:{...ue.mask,...b},section:{...ue.section,...x},wrapper:{...ue.wrapper,...S},dragger:ue.dragger},open:c,mask:re,maskClosable:ae,push:s,size:H,defaultSize:r,style:{...P,...m},rootStyle:{...se,...ue.root},className:q(N,h),rootClassName:de,getContainer:V,afterOpenChange:l,panelRef:ee,zIndex:te,...g?{resizable:g}:{},"aria-labelledby":_??k,destroyOnHidden:T??w,focusTriggerAfterClose:G.focusTriggerAfterClose,focusTrap:G.trap},C.createElement(bM,{prefixCls:R,size:n,...E,ariaId:k,onClose:u}))))};EM._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:r,placement:i=`right`,...a}=e,{getPrefixCls:o}=C.useContext(si),s=o(`drawer`,t),[c,l]=CM(s),u=q(s,`${s}-pure`,`${s}-${i}`,c,l,r);return C.createElement(`div`,{className:u,style:n},C.createElement(bM,{prefixCls:s,...a}))};var Fde=EM;function DM(e){return[`small`,`middle`,`medium`,`large`].includes(e)}function OM(e){return e?md(e):!1}var kM=C.createContext({latestIndex:0}),Ide=kM.Provider,Lde=e=>{let{className:t,prefix:n,index:r,children:i,separator:a,style:o,classNames:s,styles:c}=e,{latestIndex:l}=C.useContext(kM);return pd(i)?C.createElement(C.Fragment,null,C.createElement(`div`,{className:t,style:o},i),r{let{componentCls:t,antCls:n}=e;return{[t]:{display:`inline-flex`,"&-rtl":{direction:`rtl`},"&-vertical":{flexDirection:`column`},"&-align":{flexDirection:`column`,"&-center":{alignItems:`center`},"&-start":{alignItems:`flex-start`},"&-end":{alignItems:`flex-end`},"&-baseline":{alignItems:`baseline`}},[`${t}-item:empty`]:{display:`none`},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:`block`}}}},zde=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-medium, &-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-medium, &-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},Bde=il(`Space`,e=>{let t=_s(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[Rde(t),zde(t)]},()=>({}),{resetStyle:!1}),AM=C.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r,size:i,className:a,style:o,classNames:s,styles:c}=ui(`space`),{size:l=i??`small`,align:u,className:d,rootClassName:f,children:p,direction:m,orientation:h,prefixCls:g,split:_,separator:v,style:y,vertical:b,wrap:x=!1,classNames:S,styles:w,...T}=e,[E,D]=Array.isArray(l)?l:[l,l],O=DM(D),k=DM(E),A=OM(D),j=OM(E),M=wr(p,{keepEmpty:!0}),[N,P]=zd(h,b,m),F=u===void 0&&!P?`center`:u,I=v??_,L=n(`space`,g),[R,z]=Bde(L),B={...e,size:l,orientation:N,align:F},[V,H]=Id([s,S],[c,w],{props:B}),U=q(L,a,R,`${L}-${N}`,{[`${L}-rtl`]:r===`rtl`,[`${L}-align-${F}`]:F,[`${L}-gap-row-${D}`]:O,[`${L}-gap-col-${E}`]:k},d,f,z,V.root),W=q(`${L}-item`,V.item),ee=M.map((e,t)=>{let n=e?.key||`${W}-${t}`;return C.createElement(Lde,{prefix:L,classNames:V,styles:H,className:W,key:n,index:t,separator:I,style:H.item},e)}),te=C.useMemo(()=>({latestIndex:M.reduce((e,t,n)=>pd(t)?n:e,0)}),[M]);if(M.length===0)return null;let ne={};return x&&(ne.flexWrap=`wrap`),!k&&j&&(ne.columnGap=E),!O&&A&&(ne.rowGap=D),C.createElement(`div`,{ref:t,className:U,style:{...ne,...H.root,...o,...y},...T},C.createElement(Ide,{value:te},ee))});AM.Compact=Wm,AM.Addon=Ej;var jM=e=>{let{getPopupContainer:t,getPrefixCls:n,direction:r}=C.useContext(si),{prefixCls:i,type:a=`default`,danger:o,disabled:s,loading:c,onClick:l,htmlType:u,children:d,className:f,menu:p,arrow:m,autoFocus:h,trigger:g,align:_,open:v,onOpenChange:y,placement:b,getPopupContainer:x,href:S,icon:w=C.createElement(IS,null),title:T,buttonsRender:E=e=>e,mouseEnterDelay:D,mouseLeaveDelay:O,overlayClassName:k,overlayStyle:A,destroyOnHidden:j,destroyPopupOnHide:M,dropdownRender:N,popupRender:P,...F}=e,I=n(`dropdown`,i),L=`${I}-button`,R={menu:p,arrow:m,autoFocus:h,align:_,disabled:s,trigger:s?[]:g,onOpenChange:y,getPopupContainer:x||t,mouseEnterDelay:D,mouseLeaveDelay:O,classNames:{root:k},styles:{root:A},destroyOnHidden:j,popupRender:P||N},{compactSize:z,compactItemClassnames:B}=Vm(I,r),V=q(L,B,f);`destroyPopupOnHide`in e&&(R.destroyPopupOnHide=M),`open`in e&&(R.open=v),`placement`in e?R.placement=b:R.placement=r===`rtl`?`bottomLeft`:`bottomRight`;let[H,U]=E([C.createElement(ZS,{type:a,danger:o,disabled:s,loading:c,onClick:l,htmlType:u,href:S,title:T},d),C.createElement(ZS,{type:a,danger:o,icon:w})]);return C.createElement(AM.Compact,{className:V,size:z,block:!0,...F},H,C.createElement(XS,{...R},U))};jM.__ANT_BUTTON=!0;var MM=XS;MM.Button=jM;var Vde={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z`}}]},name:`file-text`,theme:`outlined`};function NM(){return NM=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,NM({},e,{ref:t,icon:Vde}))),Hde=(e,t)=>pd(e)?gd(e)&&!(0,C.isValidElement)(e)?{...t,...e}:{...t,title:e}:null;function FM(e){let[t,n]=C.useState(e);return C.useEffect(()=>{let t=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(t)}},[e]),t}var Ude=e=>{let{componentCls:t,motionDurationFast:n,motionEaseInOut:r}=e,i=`${t}-show-help`,a=`${t}-show-help-item`;return{[i]:{transition:`opacity ${n} ${r}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[a]:{overflow:`hidden`,transition:`${[`height`,`opacity`,`transform`].map(e=>`${e} ${n} ${r}`).join(`, `)} !important`,[`&${a}-appear, &${a}-enter`]:{transform:`translateY(-5px)`,opacity:0,"&-active":{transform:`translateY(0)`,opacity:1}},[`&${a}-leave-active`]:{transform:`translateY(-5px)`}}}}},Wde=e=>({legend:{display:`block`,width:`100%`,marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:`inherit`,border:0,borderBottom:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:`border-box`},'input[type="radio"], input[type="checkbox"]':{lineHeight:`normal`},'input[type="file"]':{display:`block`},'input[type="range"]':{display:`block`,width:`100%`},"select[multiple], select[size]":{height:`auto`},"input[type='file']:focus, input[type='radio']:focus, input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${J(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:`block`,paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),IM=(e,t)=>{let{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},Gde=e=>{let{componentCls:t}=e;return{[t]:{...Yc(e),...Wde(e),[`${t}-text`]:{display:`inline-block`,paddingInlineEnd:e.paddingSM},"&-small":{...IM(e,e.controlHeightSM)},"&-large":{...IM(e,e.controlHeightLG)}}}},Kde=e=>{let{formItemCls:t,iconCls:n,rootPrefixCls:r,antCls:i,labelRequiredMarkColor:a,labelColor:o,labelFontSize:s,labelHeight:c,labelColonMarginInlineStart:l,labelColonMarginInlineEnd:u,itemMarginBottom:d}=e,[f]=sl(i,`grid`);return{[t]:{...Yc(e),marginBottom:d,verticalAlign:`top`,"&-with-help":{transition:`none`},[`&-hidden, + &-hidden${i}-row`]:{display:`none`},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:`hidden`,whiteSpace:`nowrap`,textAlign:`end`,verticalAlign:`middle`,"&-left":{textAlign:`start`},"&-wrap":{overflow:`unset`,lineHeight:e.lineHeight,whiteSpace:`unset`,"> label":{verticalAlign:`middle`,textWrap:`balance`}},"> label":{position:`relative`,display:`inline-flex`,alignItems:`center`,maxWidth:`100%`,height:c,color:o,fontSize:s,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:`top`},[`&${t}-required`]:{"&::before":{display:`inline-block`,marginInlineEnd:e.marginXXS,color:a,fontSize:e.fontSize,fontFamily:`sans-serif`,lineHeight:1,content:`"*"`},[`&${t}-required-mark-hidden, &${t}-required-mark-optional`]:{"&::before":{display:`none`}}},[`${t}-optional`]:{display:`inline-block`,marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`&${t}-required-mark-hidden`]:{display:`none`}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:`help`,writingMode:`horizontal-tb`,marginInlineStart:e.marginXXS},"&::after":{content:`":"`,position:`relative`,marginBlock:0,marginInlineStart:l,marginInlineEnd:u},[`&${t}-no-colon::after`]:{content:`"\\a0"`}}},[`${t}-control`]:{[f(`display`)]:`flex`,flexDirection:`column`,flexGrow:1,[`&:first-child:not([class^="'${r}-col-'"]):not([class*="' ${r}-col-'"])`]:{width:`100%`},"&-input":{position:`relative`,display:`flex`,alignItems:`center`,minHeight:e.controlHeight,"&-content":{flex:`auto`,maxWidth:`100%`,[`&:has(> ${i}-switch:only-child, > ${i}-rate:only-child)`]:{display:`flex`,alignItems:`center`}}}},[t]:{"&-additional":{display:`flex`,flexDirection:`column`},"&-explain, &-extra":{clear:`both`,color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:`100%`},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:`auto`,opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:`center`,visibility:`visible`,animationName:ph,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:`none`,"&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}}}},LM=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:`initial`,textAlign:`start`,"> label":{margin:0,"&::after":{visibility:`hidden`}}}),qde=e=>{let{antCls:t,formItemCls:n}=e;return{[`${n}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:`1 1 0`,minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:`unset`}},[`${t}-col-24${n}-label, + ${t}-col-xl-24${n}-label`]:LM(e)}}},Jde=e=>{let{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:`flex`,flexWrap:`wrap`,[`${n}-inline`]:{flex:`none`,marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:`nowrap`},[`> ${n}-label, + > ${n}-control`]:{display:`inline-block`,verticalAlign:`top`},[`> ${n}-label`]:{flex:`none`},[`${t}-text`]:{display:`inline-block`},[`${n}-has-feedback`]:{display:`inline-block`}}}}},Yde=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:LM(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:`wrap`,[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:`0 0 100%`,maxWidth:`100%`}}}}}},Xde=e=>{let{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${n}-vertical`]:{[`${n}-row`]:{flexDirection:`column`},[`${n}-label > label`]:{height:`auto`},[`${n}-control`]:{width:`100%`},[`${n}-label, ${r}-col-24${n}-label, - ${r}-col-xl-24${n}-label`]:BM(e)},[`@media (max-width: ${J(e.screenXSMax)})`]:[Kde(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:BM(e)}}}],[`@media (max-width: ${J(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:BM(e)}}},[`@media (max-width: ${J(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:BM(e)}}},[`@media (max-width: ${J(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:BM(e)}}}}},Jde=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),VM=(e,t)=>_s(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),HM=il(`Form`,(e,{rootPrefixCls:t})=>{let n=VM(e,t);return[Hde(n),Ude(n),Bde(n),Wde(n),Gde(n),qde(n),Xm(n),lh]},Jde,{order:-1e3}),UM=[];function WM(e,t,n,r=0){return{key:typeof e==`string`?e:`${t}-${r}`,error:e,errorStatus:n}}var GM=({help:e,helpStatus:t,errors:n=UM,warnings:r=UM,className:i,fieldId:a,onVisibleChanged:o})=>{let{prefixCls:s}=C.useContext(M_),c=`${s}-item-explain`,l=xf(s),[u,d]=HM(s,l),f=C.useMemo(()=>Om(s),[s]),p=RM(n),m=RM(r),h=C.useMemo(()=>pd(e)?[WM(e,`help`,t)]:[].concat(Qr(p.map((e,t)=>WM(e,`error`,`error`,t))),Qr(m.map((e,t)=>WM(e,`warning`,`warning`,t)))),[e,t,p,m]),g=C.useMemo(()=>{let e={};return h.forEach(({key:t})=>{e[t]=(e[t]||0)+1}),h.map((t,n)=>({...t,key:e[t.key]>1?`${t.key}-fallback-${n}`:t.key}))},[h]),_={};return a&&(_.id=`${a}_help`),C.createElement(Lu,{motionDeadline:f.motionDeadline,motionName:`${s}-show-help`,visible:!!g.length,onVisibleChanged:o},e=>{let{className:t,style:n}=e;return C.createElement(`div`,{..._,className:q(c,t,d,l,i,u),style:n},C.createElement(Iu,{keys:g,...Om(s),motionName:`${s}-show-help-item`,component:!1},e=>{let{key:t,error:n,errorStatus:r,className:i,style:a}=e;return C.createElement(`div`,{key:t,className:q(i,{[`${c}-${r}`]:r}),style:a},n)}))})},Yde=C.forwardRef((e,t)=>{let n=C.useContext(Bp),{getPrefixCls:r,direction:i,requiredMark:a,colon:o,scrollToFirstError:s,className:c,style:l,styles:u,classNames:d,tooltip:f}=ui(`form`),{prefixCls:p,className:m,rootClassName:h,size:g,disabled:_=n,form:v,colon:y,labelAlign:b,labelWrap:x,labelCol:S,wrapperCol:w,layout:T=`horizontal`,scrollToFirstError:E,requiredMark:D,onFinishFailed:O,name:k,style:A,feedbackIcons:j,variant:M,classNames:N,styles:P,tooltip:F,...I}=e,L=Pm(g),R=C.useContext(Sf),z=C.useMemo(()=>D===void 0?a===void 0?!0:a:D,[D,a]),B=y??o,V={...f,...F},H=r(`form`,p),U=xf(H),[W,ee]=HM(H,U),te={...e,size:L,disabled:_,layout:T,colon:B,requiredMark:z},[ne,re]=Id([d,N],[u,P],{props:te}),ie=q(H,`${H}-${T}`,{[`${H}-hide-required-mark`]:z===!1,[`${H}-rtl`]:i===`rtl`,[`${H}-large`]:L===`large`,[`${H}-small`]:L===`small`},ee,U,W,c,m,h,ne.root),[ae]=Tk(v),{__INTERNAL__:G}=ae;G.name=k;let oe=C.useMemo(()=>({name:k,labelAlign:b,labelCol:S,labelWrap:x,wrapperCol:w,layout:T,colon:B,requiredMark:z,itemRef:G.itemRef,form:ae,feedbackIcons:j,tooltip:V,classNames:ne,styles:re}),[k,b,S,w,T,B,z,ae,j,ne,re,V]),K=C.useRef(null);C.useImperativeHandle(t,()=>({...ae,nativeElement:K.current?.nativeElement}));let se=(e,t)=>{if(e){let n={block:`nearest`};gd(e)&&(n={...n,...e}),ae.scrollToField(t,n)}},ce=e=>{if(O?.(e),e.errorFields.length){let t=e.errorFields[0].name;if(E!==void 0){se(E,t);return}s!==void 0&&se(s,t)}};return C.createElement(F_.Provider,{value:M},C.createElement(Vp,{disabled:_},C.createElement(Hp.Provider,{value:L},C.createElement(j_,{validateMessages:R},C.createElement(k_.Provider,{value:oe},C.createElement(P_,{status:!0},C.createElement(O_,{id:k,...I,name:k,onFinishFailed:ce,form:ae,ref:K,style:{...re?.root,...l,...A},className:ie})))))))});function Xde(e){if(typeof e==`function`)return e;let t=wr(e);return t.length<=1?t[0]:t}var KM=()=>{let{status:e,errors:t=[],warnings:n=[]}=C.useContext(N_);return{status:e,errors:t,warnings:n}};KM.Context=N_;function Zde(e){let[t,n]=C.useState(e),r=C.useRef(null),i=C.useRef([]),a=C.useRef(!1);C.useEffect(()=>(a.current=!1,()=>{a.current=!0,ii.cancel(r.current),r.current=null}),[]);function o(e){a.current||(r.current===null&&(i.current=[],r.current=ii(()=>{r.current=null,n(e=>{let t=e;return i.current.forEach(e=>{t=e(t)}),t})})),i.current.push(e))}return[t,o]}var Qde=()=>{let{itemRef:e}=C.useContext(k_),t=C.useRef({});function n(n,r){let i=r&&typeof r==`object`&&ar(r),a=n.join(`_`);return(t.current.name!==a||t.current.originRef!==i)&&(t.current.name=a,t.current.originRef=i,t.current.ref=er(e(n),i)),t.current.ref}return n},$de=e=>{let{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:`flex`}}}},efe=ol([`Form`,`item-item`],(e,{rootPrefixCls:t})=>$de(VM(e,t))),tfe=24,nfe=e=>{let{prefixCls:t,status:n,labelCol:r,wrapperCol:i,children:a,errors:o,warnings:s,_internalItemRender:c,extra:l,help:u,fieldId:d,marginBottom:f,onErrorVisibleChanged:p,label:m}=e,h=`${t}-item`,g=C.useContext(k_),{classNames:_,styles:v}=g,y=C.useMemo(()=>{let e={...i||g.wrapperCol||{}};return m===null&&!r&&!i&&g.labelCol&&[void 0].concat(Qr(jb)).forEach(t=>{let n=t?[t]:[],r=or(g.labelCol,n),i=gd(r)?r:{},a=or(e,n),o=gd(a)?a:{};`span`in i&&!(`offset`in o)&&i.span{let{labelCol:e,wrapperCol:t,...n}=g;return n},[g]),S=C.useRef(null),[w,T]=C.useState(0);Vn(()=>{l&&S.current?T(S.current.clientHeight):T(0)},[l]);let E=C.createElement(`div`,{className:`${h}-control-input`},C.createElement(`div`,{className:q(`${h}-control-input-content`,_?.content),style:v?.content},a)),D=C.useMemo(()=>({prefixCls:t,status:n}),[t,n]),O=f!==null||o.length||s.length?C.createElement(M_.Provider,{value:D},C.createElement(GM,{fieldId:d,errors:o,warnings:s,help:u,helpStatus:n,className:`${h}-explain-connected`,onVisibleChanged:p})):null,k={};d&&(k.id=`${d}_extra`);let A=l?C.createElement(`div`,{...k,className:`${h}-extra`,ref:S},l):null,j=O||A?C.createElement(`div`,{className:`${h}-additional`,style:f?{minHeight:f+w}:{}},O,A):null,M=c&&c.mark===`pro_table_render`&&c.render?c.render(e,{input:E,errorList:O,extra:A}):C.createElement(C.Fragment,null,E,j);return C.createElement(k_.Provider,{value:x},C.createElement(ij,{...y,className:b},M),C.createElement(efe,{prefixCls:t}))},rfe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`question-circle`,theme:`outlined`};function qM(){return qM=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,qM({},e,{ref:t,icon:rfe}))),ife=({prefixCls:e,label:t,htmlFor:n,labelCol:r,labelAlign:i,colon:a,required:o,requiredMark:s,tooltip:c,vertical:l})=>{let[u]=ld(`Form`),{labelAlign:d,labelCol:f,labelWrap:p,colon:m,classNames:h,styles:g,tooltip:_}=C.useContext(k_);if(!t)return null;let v=r||f||{},y=i||d,b=`${e}-item-label`,x=q(b,y===`left`&&`${b}-left`,v.className,{[`${b}-wrap`]:!!p}),S=t,w=a===!0||m!==!1&&a!==!1;w&&!l&&typeof t==`string`&&t.trim()&&(S=t.replace(/[:|:]\s*$/,``));let T=zde(c,_);if(T){let t=C.createElement(nx,{...T},C.createElement(`span`,{className:`${e}-item-tooltip`,onClick:e=>{e.preventDefault()},tabIndex:-1},T.icon||T.children||C.createElement(JM,null)));S=C.createElement(C.Fragment,null,S,t)}let E=s===`optional`,D=typeof s==`function`,O=s===!1;D?S=s(S,{required:!!o}):E&&!o&&(S=C.createElement(C.Fragment,null,S,C.createElement(`span`,{className:`${e}-item-optional`,title:``},u?.optional||nd.Form?.optional)));let k;O?k=`hidden`:(E||D)&&(k=`optional`);let A=q(h?.label,{[`${e}-item-required`]:o,[`${e}-item-required-mark-${k}`]:k,[`${e}-item-no-colon`]:!w});return C.createElement(ij,{...v,className:x},C.createElement(`label`,{htmlFor:n,className:A,style:g?.label,title:typeof t==`string`?t:``},S))},afe={success:Nl,warning:Hl,error:Il,validating:dm};function YM({children:e,errors:t,warnings:n,hasFeedback:r,validateStatus:i,prefixCls:a,meta:o,noStyle:s,name:c}){let l=`${a}-item`,{feedbackIcons:u}=C.useContext(k_),d=Sk(t,n,o,null,!!r,i),{isFormItemInput:f,status:p,hasFeedback:m,feedbackIcon:h,name:g}=C.useContext(N_),_=C.useMemo(()=>{let e;if(r){let i=r!==!0&&r.icons||u,a=d&&i?.({status:d,errors:t,warnings:n})?.[d],o=d?afe[d]:null;e=a!==!1&&o?C.createElement(`span`,{className:q(`${l}-feedback-icon`,`${l}-feedback-icon-${d}`)},a||C.createElement(o,null)):null}let i={status:d||``,errors:t,warnings:n,hasFeedback:!!r,feedbackIcon:e,isFormItemInput:!0,name:c};return s&&(i.status=(d??p)||``,i.isFormItemInput=f,i.hasFeedback=!!(r??m),i.feedbackIcon=r===void 0?h:i.feedbackIcon,i.name=c??g),i},[d,r,s,f,p]);return C.createElement(N_.Provider,{value:_},e)}function ofe(e){let{prefixCls:t,className:n,rootClassName:r,style:i,help:a,errors:o,warnings:s,validateStatus:c,meta:l,hasFeedback:u,hidden:d,children:f,fieldId:p,required:m,isRequired:h,onSubItemMetaChange:g,layout:_,name:v,...y}=e,b=`${t}-item`,{requiredMark:x,layout:S}=C.useContext(k_),w=_||S,T=w===`vertical`,E=C.useRef(null),D=RM(o),O=RM(s),k=pd(a),A=!!(k||o.length||s.length),j=!!E.current&&lp(E.current),[M,N]=C.useState(null);Vn(()=>{if(A&&E.current){let e=getComputedStyle(E.current);N(Number.parseInt(e.marginBottom,10))}},[A,j]);let P=e=>{e||N(null)},F=((e=!1)=>Sk(e?D:l.errors,e?O:l.warnings,l,``,!!u,c))(),I=q(b,n,r,{[`${b}-with-help`]:k||D.length||O.length,[`${b}-has-feedback`]:F&&u,[`${b}-has-success`]:F===`success`,[`${b}-has-warning`]:F===`warning`,[`${b}-has-error`]:F===`error`,[`${b}-is-validating`]:F===`validating`,[`${b}-hidden`]:d,[`${b}-${w}`]:w});return C.createElement(`div`,{className:I,style:i,ref:E},C.createElement(oj,{className:`${b}-row`,...Cr(y,`_internalItemRender.colon.dependencies.extra.fieldKey.getValueFromEvent.getValueProps.htmlFor.id.initialValue.isListField.label.labelAlign.labelCol.labelWrap.messageVariables.name.normalize.noStyle.preserve.requiredMark.rules.shouldUpdate.trigger.tooltip.validateFirst.validateTrigger.valuePropName.wrapperCol.validateDebounce`.split(`.`))},C.createElement(ife,{htmlFor:p,...e,requiredMark:x,required:m??h,prefixCls:t,vertical:T}),C.createElement(nfe,{...e,...l,errors:D,warnings:O,prefixCls:t,status:F,help:a,marginBottom:M,onErrorVisibleChanged:P},C.createElement(A_.Provider,{value:g},C.createElement(YM,{prefixCls:t,meta:l,errors:l.errors,warnings:l.warnings,hasFeedback:u,validateStatus:F,name:v},f)))),!!M&&C.createElement(`div`,{className:`${b}-margin-offset`,style:{marginBottom:-M}}))}var sfe=`__SPLIT__`;function cfe(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>{let r=e[n],i=t[n];return r===i||typeof r==`function`||typeof i==`function`})}var lfe=C.memo(e=>e.children,(e,t)=>cfe(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((e,n)=>e===t.childProps[n]));function XM(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function ufe(e){let{name:t,noStyle:n,className:r,dependencies:i,prefixCls:a,shouldUpdate:o,rules:s,children:c,required:l,label:u,messageVariables:d,trigger:f=`onChange`,validateTrigger:p,hidden:m,help:h,layout:g}=e,{getPrefixCls:_}=C.useContext(si),{name:v}=C.useContext(k_),y=Xde(c),b=typeof y==`function`,x=C.useContext(A_),{validateTrigger:S}=C.useContext(Ag),w=pd(p)?p:S,T=pd(t),E=_(`form`,a),D=xf(E),[O,k]=HM(E,D);Or(`Form.Item`);let A=C.useContext(jg),j=C.useRef(null),[M,N]=Zde({}),[P,F]=Un(()=>XM()),I=e=>{let t=A?.getKey(e.name);if(F(e.destroy?XM():e,!0),n&&h!==!1&&x){let n=e.name;if(e.destroy)n=j.current||n;else if(t!==void 0){let[e,r]=t;n=[e].concat(Qr(r)),j.current=n}x(e,n)}},L=(e,t)=>{N(n=>{let r={...n},i=[].concat(Qr(e.name.slice(0,-1)),Qr(t)).join(sfe);return e.destroy?delete r[i]:r[i]=e,r})},[R,z]=C.useMemo(()=>{let e=Qr(P.errors),t=Qr(P.warnings);return Object.values(M).forEach(n=>{e.push.apply(e,Qr(n.errors||[])),t.push.apply(t,Qr(n.warnings||[]))}),[e,t]},[M,P.errors,P.warnings]),B=Qde();function V(i,a,o){return n&&!m?C.createElement(YM,{prefixCls:E,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:P,errors:R,warnings:z,noStyle:!0,name:t},i):C.createElement(ofe,{key:`row`,...e,className:q(r,k,D,O),prefixCls:E,fieldId:a,isRequired:o,errors:R,warnings:z,meta:P,onSubItemMetaChange:L,layout:g,name:t},i)}if(!T&&!b&&!i)return V(y);let H={};return typeof u==`string`?H.label=u:t&&(H.label=String(t)),d&&(H={...H,...d}),C.createElement(m_,{...e,messageVariables:H,trigger:f,validateTrigger:w,onMetaChange:I},(n,r,a)=>{let c=bk(t).length&&r?r.name:[],u=xk(c,v),d=l===void 0?s?.some(e=>{if(gd(e)&&e.required&&!e.warningOnly)return!0;if(typeof e==`function`){let t=e(a);return t?.required&&!t?.warningOnly}return!1}):l,p={...n},m=null;if(Array.isArray(y)&&T)m=y;else if(!(b&&(!(o||i)||T))&&!(i&&!b&&!T))if(C.isValidElement(y)){let t={...y.props,...p};if(t.id||=u,h||R.length>0||z.length>0||e.extra){let n=[];(h||R.length>0)&&n.push(`${u}_help`),e.extra&&n.push(`${u}_extra`),t[`aria-describedby`]=n.join(` `)}R.length>0&&(t[`aria-invalid`]=`true`),d&&(t[`aria-required`]=`true`),nr(y)&&(t.ref=B(c,y)),new Set([].concat(Qr(bk(f)),Qr(bk(w)))).forEach(e=>{t[e]=(...t)=>{p[e]?.(...t),y.props[e]?.(...t)}});let n=[t[`aria-required`],t[`aria-invalid`],t[`aria-describedby`]];m=C.createElement(lfe,{control:p,update:y,childProps:n},Fp(y,t))}else m=b&&(o||i)&&!T?y(a):y;return V(m,u,d)})}var ZM=ufe;ZM.useStatus=KM;var dfe=({prefixCls:e,children:t,...n})=>{let{getPrefixCls:r}=C.useContext(si),i=r(`form`,e),a=C.useMemo(()=>({prefixCls:i,status:`error`}),[i]);return C.createElement(h_,{...n},(e,n,r)=>C.createElement(M_.Provider,{value:a},t(e.map(e=>({...e,fieldKey:e.key})),n,{errors:r.errors,warnings:r.warnings})))};function ffe(){let{form:e}=C.useContext(k_);return e}var X=Yde;X.Item=ZM,X.List=dfe,X.ErrorList=GM,X.useForm=Tk,X.useFormInstance=ffe,X.useWatch=D_,X.Provider=j_;var QM=C.createContext(null);function pfe(e){return new Promise(t=>{if(!e){t(!1);return}let n=document.createElement(`img`);n.onerror=()=>t(!1),n.onload=()=>t(!0),n.src=e})}function $M(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}var eN={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function mfe(e,t,n,r){let i=(0,C.useRef)(null),a=(0,C.useRef)([]),[o,s]=(0,C.useState)(eN),c=e=>{s(eN),Ei(eN,o)||r?.({transform:eN,action:e})},l=(e,t)=>{i.current===null&&(a.current=[],i.current=ii(()=>{s(e=>{let n=e;return a.current.forEach(e=>{n={...n,...e}}),i.current=null,r?.({transform:n,action:t}),n})})),a.current.push({...o,...e})};return{transform:o,resetTransform:c,updateTransform:l,dispatchZoomChange:(r,i,a,s,c)=>{let{width:u,height:d,offsetWidth:f,offsetHeight:p,offsetLeft:m,offsetTop:h}=e.current,g=r,_=o.scale*r;_>n?(_=n,g=n/o.scale):_r){if(t>0)return{[e]:a};if(t<0&&ir)return{[e]:t<0?a:-a};return{}}function nN(e,t,n,r){let{width:i,height:a}=$M(),o=null;return e<=i&&t<=a?o={x:0,y:0}:(e>i||t>a)&&(o={...tN(`x`,n,e,i),...tN(`y`,r,t,a)}),o}function hfe(e,t,n,r,i,a,o){let{rotate:s,scale:c,x:l,y:u}=i,[d,f]=(0,C.useState)(!1),p=(0,C.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),m=e=>{!t||e.button!==0||(e.preventDefault(),e.stopPropagation(),p.current={diffX:e.pageX-l,diffY:e.pageY-u,transformX:l,transformY:u},f(!0))},h=e=>{n&&d&&a({x:e.pageX-p.current.diffX,y:e.pageY-p.current.diffY},`move`)},g=()=>{if(n&&d){f(!1);let{transformX:t,transformY:n}=p.current;if(!(l!==t&&u!==n))return;let r=e.current.offsetWidth*c,i=e.current.offsetHeight*c,{left:o,top:d}=e.current.getBoundingClientRect(),m=s%180!=0,h=nN(m?i:r,m?r:i,o,d);h&&a({...h},`dragRebound`)}};return(0,C.useEffect)(()=>{if(t){window.addEventListener(`mouseup`,g,!1),window.addEventListener(`mousemove`,h,!1);try{window.top!==window.self&&(window.top.addEventListener(`mouseup`,g,!1),window.top.addEventListener(`mousemove`,h,!1))}catch(e){`${e}`}}return()=>{window.removeEventListener(`mouseup`,g),window.removeEventListener(`mousemove`,h);try{window.top?.removeEventListener(`mouseup`,g),window.top?.removeEventListener(`mousemove`,h)}catch{}}},[n,d,l,u,s,t]),{isMoving:d,onMouseDown:m,onMouseMove:h,onMouseUp:g,onWheel:e=>{if(!n||e.deltaY==0)return;let t=Math.abs(e.deltaY/100),i=1+Math.min(t,1)*r;e.deltaY>0&&(i=1/i),o(i,`wheel`,e.clientX,e.clientY)}}}function rN({src:e,isCustomPlaceholder:t,fallback:n}){let[r,i]=(0,C.useState)(t?`loading`:`normal`),a=(0,C.useRef)(!1),o=r===`error`;(0,C.useEffect)(()=>{let t=!0;return pfe(e).then(e=>{!e&&t&&i(`error`)}),()=>{t=!1}},[e]),(0,C.useEffect)(()=>{t&&!a.current?i(`loading`):o&&i(`normal`)},[e]);let s=()=>{i(`normal`)};return[e=>{a.current=!1,r===`loading`&&e?.complete&&(e.naturalWidth||e.naturalHeight)&&(a.current=!0,s())},o&&n?{src:n}:{onLoad:s,src:e},r]}function iN(e,t){let n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function gfe(e,t,n,r){let i=iN(e,n),a=iN(t,r);if(i===0&&a===0)return[e.x,e.y];let o=i/(i+a);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}function _fe(e,t,n,r,i,a,o){let{rotate:s,scale:c,x:l,y:u}=i,[d,f]=(0,C.useState)(!1),p=(0,C.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:`none`}),m=e=>{p.current={...p.current,...e}};return(0,C.useEffect)(()=>{let e=e=>{e.preventDefault()};return n&&t&&window.addEventListener(`touchmove`,e,{passive:!1}),()=>{window.removeEventListener(`touchmove`,e)}},[n,t]),{isTouching:d,onTouchStart:e=>{if(!t)return;e.stopPropagation(),f(!0);let{touches:n=[]}=e;n.length>1?m({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:`touchZoom`}):m({point1:{x:n[0].clientX-l,y:n[0].clientY-u},eventType:`move`})},onTouchMove:e=>{let{touches:t=[]}=e,{point1:n,point2:r,eventType:i}=p.current;if(t.length>1&&i===`touchZoom`){let e={x:t[0].clientX,y:t[0].clientY},i={x:t[1].clientX,y:t[1].clientY},[a,s]=gfe(n,r,e,i);o(iN(e,i)/iN(n,r),`touchZoom`,a,s,!0),m({point1:e,point2:i,eventType:`touchZoom`})}else i===`move`&&(a({x:t[0].clientX-n.x,y:t[0].clientY-n.y},`move`),m({eventType:`move`}))},onTouchEnd:()=>{if(!n)return;if(d&&f(!1),m({eventType:`none`}),r>c)return a({x:0,y:0,scale:r},`touchZoom`);let t=e.current.offsetWidth*c,i=e.current.offsetHeight*c,{left:o,top:l}=e.current.getBoundingClientRect(),u=s%180!=0,p=nN(u?i:t,u?t:i,o,l);p&&a({...p},`dragRebound`)}}}function vfe(e){let{prefixCls:t,icon:n,onClick:r,className:i,style:a}=e;return C.createElement(`button`,{className:q(`${t}-close`,i),style:a,onClick:r},n)}function yfe(e){let{prefixCls:t,showProgress:n,current:r,count:i,showSwitch:a,classNames:o,styles:s,icons:c,image:l,transform:u,countRender:d,actionsRender:f,scale:p,minScale:m,maxScale:h,onActive:g,onFlipY:_,onFlipX:v,onRotateLeft:y,onRotateRight:b,onZoomOut:x,onZoomIn:S,onClose:w,onReset:T}=e,{left:E,right:D,prev:O,next:k,flipY:A,flipX:j,rotateLeft:M,rotateRight:N,zoomOut:P,zoomIn:F}=c,I=n&&C.createElement(`div`,{className:`${t}-progress`},d?d(r+1,i):C.createElement(`bdi`,null,`${r+1} / ${i}`)),L=`${t}-actions-action`,R=({type:e,disabled:t,onClick:n,icon:r})=>C.createElement(`button`,{type:`button`,key:e,className:q(L,`${L}-${e}`,{[`${L}-disabled`]:!!t}),onClick:n,disabled:!!t,"aria-label":e},r),z=a?R({icon:O??E,onClick:()=>g(-1),type:`prev`,disabled:r===0}):void 0,B=a?R({icon:k??D,onClick:()=>g(1),type:`next`,disabled:r===i-1}):void 0,V=R({icon:A,onClick:_,type:`flipY`}),H=R({icon:j,onClick:v,type:`flipX`}),U=R({icon:M,onClick:y,type:`rotateLeft`}),W=R({icon:N,onClick:b,type:`rotateRight`}),ee=R({icon:P,onClick:x,type:`zoomOut`,disabled:p<=m}),te=R({icon:F,onClick:S,type:`zoomIn`,disabled:p===h}),ne=C.createElement(`div`,{className:q(`${t}-actions`,o.actions),style:s.actions},V,H,U,W,ee,te);return C.createElement(`div`,{className:q(`${t}-footer`,o.footer),style:s.footer},I,f?f(ne,{icons:{prevIcon:z,nextIcon:B,flipYIcon:V,flipXIcon:H,rotateLeftIcon:U,rotateRightIcon:W,zoomOutIcon:ee,zoomInIcon:te},actions:{onActive:g,onFlipY:_,onFlipX:v,onRotateLeft:y,onRotateRight:b,onZoomOut:x,onZoomIn:S,onReset:T,onClose:w},transform:u,current:r,total:i,image:l}):ne)}function bfe(e){let{prefixCls:t,onActive:n,current:r,count:i,icons:{left:a,right:o,prev:s,next:c}}=e,l=`${t}-switch`,u=r===0,d=r===i-1;return C.createElement(C.Fragment,null,C.createElement(`button`,{className:q(l,`${l}-prev`,{[`${l}-disabled`]:u}),onClick:()=>n(-1),disabled:u},s??a),C.createElement(`button`,{type:`button`,className:q(l,`${l}-next`,{[`${l}-disabled`]:d}),onClick:()=>n(1),disabled:d},c??o))}function aN(){return aN=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let[i,a]=rN({src:t,fallback:e});return C.createElement(`img`,aN({ref:e=>{n.current=e,i(e)}},r,a))},oN=e=>{let{prefixCls:t,rootClassName:n,src:r,alt:i,imageInfo:a,fallback:o,movable:s=!0,onClose:c,open:l,afterOpenChange:u,maskClosable:d=!0,icons:f={},closeIcon:p,getContainer:m,current:h=0,count:g=1,countRender:_,scaleStep:v=.5,minScale:y=1,maxScale:b=50,motionName:x=`fade`,imageRender:S,imgCommonProps:w,actionsRender:T,onTransform:E,onChange:D,classNames:O={},styles:k={},mousePosition:A,zIndex:j,focusTrap:M=!0}=e,N=(0,C.useRef)(),P=(0,C.useRef)(null),F=(0,C.useRef)(null),I=(0,C.useContext)(QM),L=I&&g>1,R=I&&g>=1,[z,B]=(0,C.useState)(!0),{transform:V,resetTransform:H,updateTransform:U,dispatchZoomChange:W}=mfe(N,y,b,E),{isMoving:ee,onMouseDown:te,onWheel:ne}=hfe(N,s,l,v,V,U,W),{isTouching:re,onTouchStart:ie,onTouchMove:ae,onTouchEnd:G}=_fe(N,s,l,y,V,U,W),{rotate:oe,scale:K}=V;(0,C.useEffect)(()=>{z||B(!0)},[z]),(0,C.useEffect)(()=>{l||H(`close`)},[l]);let se=C.createElement(xfe,aN({},w,{width:e.width,height:e.height,imgRef:N,className:`${t}-img`,alt:i,style:{transform:`translate3d(${V.x}px, ${V.y}px, 0) scale3d(${V.flipX?`-`:``}${K}, ${V.flipY?`-`:``}${K}, 1) rotate(${oe}deg)`,transitionDuration:(!z||re)&&`0s`},fallback:o,src:r,onWheel:ne,onMouseDown:te,onDoubleClick:e=>{l&&(K===1?W(1+v,`doubleClick`,e.clientX,e.clientY):U({x:0,y:0,scale:1},`doubleClick`))},onTouchStart:ie,onTouchMove:ae,onTouchEnd:G,onTouchCancel:G})),ce={url:r,alt:i,...a},le=()=>{W(1+v,`zoomIn`)},ue=()=>{W(1/(1+v),`zoomOut`)},de=()=>{U({rotate:oe+90},`rotateRight`)},fe=()=>{U({rotate:oe-90},`rotateLeft`)},pe=()=>{U({flipX:!V.flipX},`flipX`)},me=()=>{U({flipY:!V.flipY},`flipY`)},he=()=>{H(`reset`)},ge=e=>{let t=h+e;t>=0&&t<=g-1&&(B(!1),H(e<0?`prev`:`next`),D?.(t,h))},_e=Rn(e=>{if(l){let{keyCode:t}=e;L&&(t===Qp.LEFT?ge(-1):t===Qp.RIGHT&&ge(1))}});(0,C.useEffect)(()=>{if(l)return window.addEventListener(`keydown`,_e),()=>{window.removeEventListener(`keydown`,_e)}},[l]);let[ve,ye]=(0,C.useState)(!1);C.useEffect(()=>{l&&ye(!0)},[l]);let be=e=>{e||(ye(!1),F.current?.focus?.(),F.current=null),u?.(e)},[xe,Se]=(0,C.useState)(!1);Vn(()=>{l&&Se(!0)},[l]);let Ce=({top:e})=>{e&&c?.()};Vn(()=>{l&&(F.current=document.activeElement)},[l]),xg(M&&l&&xe,()=>P.current);let we={...k.body};return A&&(we.transformOrigin=`${A.x}px ${A.y}px`),C.createElement(Zf,{open:xe&&l,autoDestroy:!1,getContainer:m,autoLock:ve,onEsc:Ce},C.createElement(Lu,{motionName:x,visible:xe&&l,motionAppear:!0,motionEnter:!0,motionLeave:!0,onVisibleChanged:be},({className:e,style:r})=>{let a={...k.root,...r};return j&&(a.zIndex=j),C.createElement(`div`,{ref:P,className:q(t,n,O.root,e,{[`${t}-movable`]:s,[`${t}-moving`]:ee}),style:a,role:`dialog`,"aria-modal":`true`,"aria-label":i,tabIndex:-1},C.createElement(`div`,{className:q(`${t}-mask`,O.mask),style:k.mask,onClick:d?c:void 0}),C.createElement(`div`,{className:q(`${t}-body`,O.body),style:we},S?S(se,{transform:V,image:ce,...I?{current:h}:{}}):se),p!==!1&&p!==null&&C.createElement(vfe,{prefixCls:t,icon:p===!0?f.close:p||f.close,onClick:c,className:O.close,style:k.close}),L&&C.createElement(bfe,{prefixCls:t,current:h,count:g,icons:f,onActive:ge}),C.createElement(yfe,{prefixCls:t,showProgress:R,current:h,count:g,showSwitch:L,classNames:O,styles:k,image:ce,transform:V,icons:f,countRender:_,actionsRender:T,scale:K,minScale:y,maxScale:b,onActive:ge,onFlipY:me,onFlipX:pe,onRotateLeft:fe,onRotateRight:de,onZoomOut:ue,onZoomIn:le,onClose:c,onReset:he}))}))},sN=[`crossOrigin`,`decoding`,`draggable`,`loading`,`referrerPolicy`,`sizes`,`srcSet`,`useMap`,`alt`,`fetchPriority`];function Sfe(e){let[t,n]=C.useState({}),r=C.useCallback((e,t)=>(n(n=>({...n,[e]:t})),()=>{n(t=>{let n={...t};return delete n[e],n})}),[]);return[C.useMemo(()=>e?e.map(e=>{if(typeof e==`string`)return{data:{src:e}};let t={};return Object.keys(e).forEach(n=>{[`src`,...sN].includes(n)&&(t[n]=e[n])}),{data:t}}):Object.keys(t).reduce((e,n)=>{let{canPreview:r,data:i}=t[n];return r&&e.push({data:i,id:n}),e},[]),[e,t]),r,!!e]}function cN(){return cN=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{open:c,onOpenChange:l,current:u,onChange:d,...f}=o&&typeof o==`object`?o:{},[p,m,h]=Sfe(a),[g,_]=Wn(0,u),[v,y]=(0,C.useState)(!1),{src:b,...x}=p[g]?.data||{},[S,w]=Wn(!!c,c),T=Rn(e=>{w(e),e!==S&&l?.(e,{current:g})}),[E,D]=(0,C.useState)(null),O=C.useCallback((e,t,n,r)=>{let i=h?p.findIndex(e=>e.data.src===t):p.findIndex(t=>t.id===e);_(i<0?0:i),T(!0),D({x:n,y:r}),y(!0)},[p,h]);C.useEffect(()=>{S?v||_(0):y(!1)},[S]);let k=(e,t)=>{_(e),d?.(e,t)},A=()=>{T(!1),D(null)},j=C.useMemo(()=>({register:m,onPreview:O}),[m,O]);return C.createElement(QM.Provider,{value:j},r,C.createElement(oN,cN({"aria-hidden":!S,open:S,prefixCls:e,onClose:A,mousePosition:E,imgCommonProps:x,src:b,fallback:s,icons:i,current:g,count:p.length,onChange:k},f,{classNames:t?.popup,styles:n?.popup})))},lN=0;function wfe(e,t){let[n]=C.useState(()=>(lN+=1,String(lN))),r=C.useContext(QM),i={data:t,canPreview:e};return C.useEffect(()=>{if(r)return r.register(n,i)},[]),C.useEffect(()=>{r&&r.register(n,i)},[e,t]),n}function uN(){return uN=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t=`rc-image`,previewPrefixCls:n=`${t}-preview`,rootClassName:r,className:i,style:a,classNames:o={},styles:s={},width:c,height:l,src:u,alt:d,placeholder:f,fallback:p,preview:m=!0,onClick:h,onError:g,onKeyDown:_,...v}=e,y=(0,C.useContext)(QM),b=!!m,{src:x,open:S,onOpenChange:w,cover:T,rootClassName:E,...D}=m&&typeof m==`object`?m:{},O=typeof T==`object`&&T.placement&&T.placement||`center`,k=typeof T==`object`&&T.coverNode?T.coverNode:T,[A,j]=Wn(!!S,S),[M,N]=(0,C.useState)(null),P=e=>{j(e),w?.(e)},F=()=>{P(!1)},I=f&&f!==!0,L=x??u,[R,z,B]=rN({src:u,isCustomPlaceholder:I,fallback:p}),V=(0,C.useMemo)(()=>{let t={};return sN.forEach(n=>{e[n]!==void 0&&(t[n]=e[n])}),t},sN.map(t=>e[t])),H=wfe(b,(0,C.useMemo)(()=>({...V,src:L}),[L,V])),U=e=>{let t=e.target.getBoundingClientRect(),n=t.x+t.width/2,r=t.y+t.height/2;y?y.onPreview(H,L,n,r):(N({x:n,y:r}),P(!0)),h?.(e)},W=e=>{if(_?.(e),b&&(e.key===`Enter`||e.key===` `)){e.preventDefault();let t=e.target.getBoundingClientRect(),n=t.x+t.width/2,r=t.y+t.height/2;y?y.onPreview(H,L,n,r):(N({x:n,y:r}),P(!0))}};return C.createElement(C.Fragment,null,C.createElement(`div`,uN({},v,{className:q(t,r,o.root,{[`${t}-error`]:B===`error`}),onClick:b?U:h,role:b?`button`:v.role,tabIndex:b&&v.tabIndex==null?0:v.tabIndex,"aria-label":b?v[`aria-label`]??d:v[`aria-label`],onKeyDown:W,style:{width:c,height:l,...s.root}}),C.createElement(`img`,uN({},V,{className:q(`${t}-img`,{[`${t}-img-placeholder`]:f===!0},o.image,i),style:{height:l,...s.image,...a},ref:R},z,{width:c,height:l,onError:g})),B===`loading`&&C.createElement(`div`,{"aria-hidden":`true`,className:`${t}-placeholder`},f),T!==!1&&b&&C.createElement(`div`,{className:q(`${t}-cover`,o.cover,`${t}-cover-${O}`),style:{display:a?.display===`none`?`none`:void 0,...s.cover}},k)),!y&&b&&C.createElement(oN,uN({"aria-hidden":!A,open:A,prefixCls:n,onClose:F,mousePosition:M,src:L,alt:d,imageInfo:{width:c,height:l},fallback:p,imgCommonProps:V},D,{classNames:o?.popup,styles:s?.popup,rootClassName:q(E,r)})))};dN.PreviewGroup=Cfe;var fN=dN,pN=(e,t,n,r,i,a,o)=>{let[s]=Xd(`ImagePreview`,e?.zIndex),[c,l]=kd(e?.mask,t?.mask,`${n}-preview`);return C.useMemo(()=>{if(!e)return e;let{cover:u,getContainer:d,closeIcon:f,rootClassName:p}=e,{closeIcon:m}=t??{};return{motionName:km(`${n}-preview`,`fade`),...e,...o?{cover:u??o}:{},icons:a,getContainer:d??i,zIndex:s,closeIcon:f??m,rootClassName:q(r,p),mask:c,blurClassName:l.mask}},[e,t,n,r,i,o,a,s,c,l])};function Tfe(e){return(0,C.isValidElement)(e)?[e,void 0]:typeof e==`boolean`||gd(e)?[void 0,e]:[void 0,void 0]}function mN(e){let t=(0,C.useMemo)(()=>typeof e==`boolean`?e?{}:null:gd(e)?e:{},[e]);return(0,C.useMemo)(()=>{if(!t)return[t,``,``];let{open:e,onOpenChange:n,cover:r,actionsRender:i,visible:a,onVisibleChange:o,rootClassName:s,maskClassName:c,mask:l,forceRender:u,destroyOnClose:d,toolbarRender:f,...p}=t,m;n?m=n:o&&(m=(e,t)=>{let{current:n}=t||{};n===void 0?o(e,!e):o(e,!e,n)});let[h,g]=Tfe(l);return[{...p,open:e??a,onOpenChange:m,cover:r??h,mask:g,actionsRender:i??f},s,c]},[t])}var Efe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z`}},{tag:`path`,attrs:{d:`M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z`}}]},name:`rotate-left`,theme:`outlined`};function hN(){return hN=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,hN({},e,{ref:t,icon:Efe}))),Dfe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z`}},{tag:`path`,attrs:{d:`M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z`}}]},name:`rotate-right`,theme:`outlined`};function _N(){return _N=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_N({},e,{ref:t,icon:Dfe}))),Ofe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`swap`,theme:`outlined`};function yN(){return yN=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yN({},e,{ref:t,icon:Ofe}))),kfe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z`}}]},name:`zoom-in`,theme:`outlined`};function xN(){return xN=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,xN({},e,{ref:t,icon:kfe}))),Afe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z`}}]},name:`zoom-out`,theme:`outlined`};function CN(){return CN=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,CN({},e,{ref:t,icon:Afe}))),TN=e=>({position:e||`absolute`,inset:0}),jfe=e=>{let{componentCls:t,motionDurationSlow:n,colorTextLightSolid:r}=e;return{[t]:{[`${t}-cover`]:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,color:r,background:new zs(`#000`).setA(.3).toRgbString(),cursor:`pointer`,opacity:0,transition:`opacity ${n}`},"&:hover, &:focus-visible":{[`${t}-cover`]:{opacity:1}},[`${t}-cover-top`]:{inset:`0 0 auto 0`,justifyContent:`center`},[`${t}-cover-bottom`]:{inset:`auto 0 0 0`,justifyContent:`center`}}}},Mfe=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:i,colorBgMask:a,marginXL:o,marginSM:s,margin:c,colorTextLightSolid:l,paddingSM:u,paddingLG:d,previewOperationHoverColor:f,previewOperationColorDisabled:p,previewOperationSize:m,zIndexPopup:h}=e,g=new zs(a).setA(.1),_=g.clone().setA(.2),v={position:`absolute`,color:l,backgroundColor:g.toRgbString(),borderRadius:`50%`,padding:u,outline:0,border:0,cursor:`pointer`,transition:`all ${r}`,display:`flex`,fontSize:m,"&:hover":{backgroundColor:_.toRgbString()},"&:active":{backgroundColor:g.toRgbString()},"&:focus-visible":Qc(e)};return{[`${i}-preview`]:{textAlign:`center`,inset:0,position:`fixed`,userSelect:`none`,zIndex:h,[`${n}-mask`]:{inset:0,position:`absolute`,background:a,backdropFilter:`blur(0px)`,transition:`backdrop-filter ${r}`,[`&${i}-preview-mask-blur`]:{backdropFilter:`blur(4px)`},[`&${i}-preview-mask-hidden`]:{display:`none`}},[`${n}-body`]:{...TN(),"pointer-events":`none`,display:`flex`,alignItems:`center`,justifyContent:`center`,"> *":{pointerEvents:`auto`}},[`${n}-img`]:{maxWidth:`100%`,maxHeight:`70%`,verticalAlign:`middle`,transform:`scale3d(1, 1, 1)`,transition:`transform ${r} ${t} 0s`},[`&-movable ${n}-img`]:{cursor:`grab`},[`&-moving ${n}-img`]:{cursor:`grabbing`},[`${n}-close`]:{...v,top:s,insetInlineEnd:s},[`${n}-switch`]:{...v,top:`50%`,transform:`translateY(-50%)`,"&-disabled":{"&, &:hover, &:active":{color:p,background:`transparent`,cursor:`not-allowed`}},"&-prev":{insetInlineStart:s},"&-next":{insetInlineEnd:s}},[`${n}-footer`]:{position:`absolute`,bottom:o,left:{_skip_check_:!0,value:`50%`},display:`flex`,flexDirection:`column`,alignItems:`center`,color:e.previewOperationColor,transform:`translateX(-50%)`,gap:c},[`${n}-actions`]:{display:`flex`,gap:u,padding:`0 ${J(d)}`,backgroundColor:g.toRgbString(),borderRadius:100,fontSize:m,"&-action":{color:`inherit`,background:`transparent`,border:0,font:`inherit`,padding:u,cursor:`pointer`,transition:`all ${r}`,display:`flex`,[`&:not(${n}-actions-action-disabled):hover`]:{color:f},"&:focus-visible":Qc(e),"&-disabled":{color:p,cursor:`not-allowed`}}}}}},Nfe=e=>{let{componentCls:t}=e;return{[t]:{position:`relative`,display:`inline-block`,...$c(e),[`${t}-img`]:{width:`100%`,height:`auto`,verticalAlign:`middle`},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:`url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')`,backgroundRepeat:`no-repeat`,backgroundPosition:`center center`,backgroundSize:`30%`},[`${t}-placeholder`]:{...TN()}}}},Pfe=e=>{let{previewCls:t,motionDurationSlow:n}=e;return{[t]:{"&-fade":{transition:`opacity ${n}`,"&-enter, &-appear":{opacity:0,[`${t}-body`]:{transform:`scale(0)`},"&-active":{opacity:1,[`${t}-body`]:{transform:`scale(1)`,transition:`transform ${n}`}}},"&-leave":{opacity:1,"&-active":{opacity:0,[`${t}-body`]:{transform:`scale(0)`,transition:`transform ${n}`}}}}}}},EN=il(`Image`,e=>{let t=_s(e,{previewCls:`${e.componentCls}-preview`,imagePreviewSwitchSize:e.controlHeightLG});return[Nfe(t),jfe(t),Mfe(t),Pfe(t)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new zs(e.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new zs(e.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new zs(e.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5})),DN={rotateLeft:C.createElement(gN,null),rotateRight:C.createElement(vN,null),zoomIn:C.createElement(SN,null),zoomOut:C.createElement(wN,null),close:C.createElement(zl,null),left:C.createElement(fx,null),right:C.createElement(vh,null),flipX:C.createElement(bN,null),flipY:C.createElement(bN,{rotate:90})},Ffe=({previewPrefixCls:e,preview:t,classNames:n,styles:r,...i})=>{let{getPrefixCls:a,getPopupContainer:o,direction:s,preview:c,classNames:l,styles:u}=ui(`image`),d=a(`image`,e),f=`${d}-preview`,p=xf(d),[m,h]=EN(d,p),g=q(m,h,p),[_,v,y]=mN(t),[b,x,S]=mN(c),w=C.useMemo(()=>({...DN,left:s===`rtl`?C.createElement(vh,null):C.createElement(fx,null),right:s===`rtl`?C.createElement(fx,null):C.createElement(vh,null)}),[s]),T=pN(_,b,d,g,o,DN),{mask:E,blurClassName:D}=T??{},O={...i,classNames:n,styles:r},[k,A]=Id([l,n,{cover:q(S,y),popup:{root:q(x,v),mask:q({[`${d}-preview-mask-hidden`]:!E},D)}}],[u,r],{props:O},{popup:{_default:`root`}});return C.createElement(fN.PreviewGroup,{preview:T,previewPrefixCls:f,icons:w,...i,classNames:k,styles:A})},ON=e=>{let{prefixCls:t,preview:n,className:r,rootClassName:i,style:a,styles:o,classNames:s,wrapperStyle:c,fallback:l,...u}=e,{getPrefixCls:d,getPopupContainer:f,className:p,style:m,preview:h,styles:g,classNames:_,fallback:v}=ui(`image`),y=d(`image`,t),b=xf(y),[x,S]=EN(y,b),w=q(i,x,S,b),T=q(r,x,p),[E,D,O]=mN(n),[k,A,j]=mN(h),M=pN(E,k,y,w,f,DN,!0),N={...e,preview:M},P=C.useMemo(()=>({cover:q(j,O),popup:{root:q(A,D)}}),[D,O,A,j]),{mask:F,blurClassName:I}=M??{},L=C.useMemo(()=>({mask:q({[`${y}-preview-mask-hidden`]:!F},I)}),[F,y,I]),[R,z]=Id(C.useMemo(()=>[_,s,P,{popup:L}],[_,s,P,L]),[g,{root:c},o],{props:N},{popup:{_default:`root`}}),B={...m,...a},V=l??v;return C.createElement(fN,{prefixCls:y,preview:M||!1,rootClassName:w,className:T,style:B,fallback:V,...u,classNames:R,styles:z})};ON.PreviewGroup=Ffe;var Ife=e=>{let{getPrefixCls:t,direction:n}=(0,C.useContext)(si),{prefixCls:r,className:i}=e,a=t(`input-group`,r),[o,s]=cA(t(`input`)),c=q(a,s,{[`${a}-lg`]:e.size===`large`,[`${a}-sm`]:e.size===`small`,[`${a}-compact`]:e.compact,[`${a}-rtl`]:n===`rtl`},o,i),l=(0,C.useContext)(N_),u=(0,C.useMemo)(()=>({...l,isFormItemInput:!1}),[l]);return C.createElement(N_.Provider,{value:u},C.createElement(NM.Compact,{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children))},Lfe=e=>{let{componentCls:t,paddingXS:n}=e;return{[t]:{display:`inline-flex`,alignItems:`center`,flexWrap:`nowrap`,columnGap:n,[`${t}-input-wrapper`]:{position:`relative`,[`${t}-mask-icon`]:{position:`absolute`,zIndex:`1`,top:`50%`,right:`50%`,transform:`translate(50%, -50%)`,pointerEvents:`none`},[`${t}-mask-input`]:{color:`transparent`,caretColor:e.colorText,"&::selection":{color:`transparent`}},[`${t}-mask-input[type=number]::-webkit-inner-spin-button`]:{"-webkit-appearance":`none`,margin:0},[`${t}-mask-input[type=number]`]:{"-moz-appearance":`textfield`}},"&-rtl":{direction:`rtl`},[`${t}-input`]:{textAlign:`center`,paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},Rfe=il([`Input`,`OTP`],e=>Lfe(_s(e,Hk(e))),Uk),zfe=C.forwardRef((e,t)=>{let{className:n,value:r,onChange:i,onActiveChange:a,index:o,mask:s,onFocus:c,...l}=e,{getPrefixCls:u}=C.useContext(si),d=u(`otp`),f=typeof s==`string`?s:r,p=C.useRef(null);C.useImperativeHandle(t,()=>p.current);let m=e=>{i(o,e.target.value)},h=()=>{ii(()=>{let e=p.current?.input;document.activeElement===e&&e&&e.select()})},g=e=>{c?.(e),h()},_=e=>{let{key:t,ctrlKey:n,metaKey:i}=e;t===`ArrowLeft`?a(o-1):t===`ArrowRight`?a(o+1):t===`z`&&(n||i)?e.preventDefault():t===`Backspace`&&!r&&a(o-1),h()};return C.createElement(`span`,{className:`${d}-input-wrapper`,role:`presentation`},s&&r!==``&&r!==void 0&&C.createElement(`span`,{className:`${d}-mask-icon`,"aria-hidden":`true`},f),C.createElement(Bj,{"aria-label":`OTP Input ${o+1}`,type:s===!0?`password`:`text`,...l,ref:p,value:r,onInput:m,onFocus:g,onKeyDown:_,onMouseDown:h,onMouseUp:h,className:q(n,{[`${d}-mask-input`]:s})}))});function kN(e){return(e||``).split(``)}var Bfe=e=>{let{index:t,prefixCls:n,separator:r,className:i,style:a}=e,o=typeof r==`function`?r(t):r;return o?C.createElement(`span`,{className:q(`${n}-separator`,i),style:a},o):null},Vfe=C.forwardRef((e,t)=>{let{prefixCls:n,length:r=6,size:i,defaultValue:a,value:o,onChange:s,formatter:c,separator:l,variant:u,disabled:d,status:f,autoFocus:p,mask:m,type:h,autoComplete:g,onInput:_,onFocus:v,inputMode:y,classNames:b,styles:x,className:S,style:w,...T}=e,{classNames:E,styles:D,getPrefixCls:O,direction:k,style:A,className:j}=ui(`otp`),M=O(`otp`,n),N={...e,length:r},[P,F]=Id([E,b],[D,x],{props:N}),I=Hu(T,{aria:!0,data:!0,attr:!0}),[L,R]=Rfe(M),z=Pm(e=>i??e),B=C.useContext(N_),V=Yy(B.status,f),H=C.useMemo(()=>({...B,status:V,hasFeedback:!1,feedbackIcon:null}),[B,V]),U=C.useRef(null),W=C.useRef({});C.useImperativeHandle(t,()=>({focus:()=>{W.current[0]?.focus()},blur:()=>{for(let e=0;ec?c(e):e,[te,ne]=C.useState(()=>kN(ee(a||``)));C.useEffect(()=>{o!==void 0&&ne(kN(o))},[o]);let re=Rn(e=>{ne(e),_&&_(e),s&&e.length===r&&e.every(e=>e)&&e.some((e,t)=>te[t]!==e)&&s(e.join(``))}),ie=Rn((e,t)=>{let n=Qr(te);for(let t=0;t=0&&!n[e];--e)n.pop();return n=kN(ee(n.map(e=>e||` `).join(``))).map((e,t)=>e===` `&&!n[t]?n[t]:e),n}),ae=(e,t)=>{let n=ie(e,t),i=Math.min(e+t.length,r-1);i!==e&&n[e]!==void 0&&W.current[i]?.focus(),re(n)},G=e=>{W.current[e]?.focus()},oe=(e,t)=>{for(let e=0;e{let n=`otp-${t}`,i=te[t]||``;return C.createElement(C.Fragment,{key:n},C.createElement(zfe,{ref:e=>{W.current[t]=e},index:t,size:z,htmlSize:1,className:q(P.input,`${M}-input`),style:F.input,onChange:ae,value:i,onActiveChange:G,autoFocus:t===0&&p,onFocus:e=>oe(e,t),...K}),tC.createElement(Y,AN({},e,{ref:t,icon:Hfe}))),Ufe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z`}}]},name:`eye`,theme:`outlined`};function MN(){return MN=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,MN({},e,{ref:t,icon:Ufe}))),Wfe=e=>e?C.createElement(NN,null):C.createElement(jN,null),Gfe={click:`onClick`,hover:`onMouseOver`},Kfe=C.forwardRef((e,t)=>{let{disabled:n,action:r=`click`,visibilityToggle:i=!0,iconRender:a=Wfe,suffix:o}=e,s=C.useContext(Bp),c=n??s,l=gd(i)&&i.visible!==void 0,[u,d]=(0,C.useState)(()=>l?i.visible:!1),f=(0,C.useRef)(null);C.useEffect(()=>{l&&d(i.visible)},[l,i]);let p=zj(f),m=()=>{if(c)return;u&&p();let e=!u;d(e),gd(i)&&i.onVisibleChange?.(e)},h=e=>{let t=Gfe[r]||``,n=a(u),i={[t]:m,className:`${e}-icon`,key:`passwordIcon`,onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return C.cloneElement(C.isValidElement(n)?n:C.createElement(`span`,null,n),i)},{className:g,prefixCls:_,inputPrefixCls:v,size:y,...b}=e,{getPrefixCls:x}=C.useContext(si),S=x(`input`,v),w=x(`input-password`,_),T=i&&h(w),E=q(w,g,{[`${w}-${y}`]:!!y}),D={...Cr(b,[`suffix`,`iconRender`,`visibilityToggle`]),type:u?`text`:`password`,className:E,prefixCls:S,suffix:C.createElement(C.Fragment,null,T,o)};return y&&(D.size=y),C.createElement(Bj,{ref:er(t,f),...D})}),qfe=il([`Input`,`Search`],e=>{let{componentCls:t}=e,n=`${t}-btn`;return{[t]:{width:`100%`,[n]:{"&-filled":{background:e.colorFillTertiary,"&:not(:disabled)":{"&:hover":{background:e.colorFillSecondary},"&:active":{background:e.colorFill}}}}}}}),Jfe=C.forwardRef((e,t)=>{let{prefixCls:n,inputPrefixCls:r,className:i,size:a,style:o,enterButton:s=!1,addonAfter:c,loading:l,disabled:u,onSearch:d,onChange:f,onCompositionStart:p,onCompositionEnd:m,variant:h,onPressEnter:g,classNames:_,styles:v,hidden:y,...b}=e,{direction:x,getPrefixCls:S,classNames:w,styles:T}=ui(`inputSearch`),E={...e,enterButton:s},[D,O]=Id([w,_],[T,v],{props:E},{button:{_default:`root`}}),k=C.useRef(!1),A=S(`input-search`,n),j=S(`input`,r),[M,N]=qfe(A),{compactSize:P}=Im(A,x),F=Pm(e=>a??P??e),I=C.useRef(null),L=e=>{e?.target&&e.type===`click`&&d&&d(e.target.value,e,{source:`clear`}),f?.(e)},R=e=>{document.activeElement===I.current?.input&&e.preventDefault()},z=e=>{d&&d(I.current?.input?.value,e,{source:`input`})},B=e=>{k.current||l||(g?.(e),z(e))},V=typeof s==`boolean`?C.createElement(Cb,null):null,H=`${A}-btn`,U=q(H,{[`${H}-${h}`]:h}),W,ee=s||{},te=ee.type&&ee.type.__ANT_BUTTON===!0;W=te||ee.type===`button`?Fp(ee,{onMouseDown:R,onClick:e=>{ee?.props?.onClick?.(e),z(e)},key:`enterButton`,...te?{className:U,size:F}:{}}):C.createElement(ng,{classNames:D.button,styles:O.button,className:U,color:s?`primary`:`default`,size:F,disabled:u,key:`enterButton`,onMouseDown:R,onClick:z,loading:l,icon:V,variant:h===`borderless`||h===`filled`||h===`underlined`?`text`:s?`solid`:void 0},s),c&&(W=[W,Fp(c,{key:`addonAfter`})]);let ne=q(A,N,{[`${A}-rtl`]:x===`rtl`,[`${A}-${F}`]:!!F,[`${A}-with-button`]:!!s},i,M,D.root),re=e=>{k.current=!0,p?.(e)},ie=e=>{k.current=!1,m?.(e)},ae=Hu(b,{data:!0}),G=Cr({...b,classNames:Cr(D,[`button`,`root`]),styles:Cr(O,[`button`,`root`]),prefixCls:j,type:`search`,size:F,variant:h,onPressEnter:B,onCompositionStart:re,onCompositionEnd:ie,onChange:L,disabled:u},Object.keys(ae));return C.createElement(Lm,{className:ne,style:{...o,...O.root},...ae,hidden:y},C.createElement(Bj,{ref:er(I,t),...G}),W)}),Yfe=` + ${r}-col-xl-24${n}-label`]:LM(e)},[`@media (max-width: ${J(e.screenXSMax)})`]:[Yde(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:LM(e)}}}],[`@media (max-width: ${J(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:LM(e)}}},[`@media (max-width: ${J(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:LM(e)}}},[`@media (max-width: ${J(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:LM(e)}}}}},Zde=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),RM=(e,t)=>_s(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),zM=il(`Form`,(e,{rootPrefixCls:t})=>{let n=RM(e,t);return[Gde(n),Kde(n),Ude(n),qde(n),Jde(n),Xde(n),nh(n),ph]},Zde,{order:-1e3}),BM=[];function VM(e,t,n,r=0){return{key:typeof e==`string`?e:`${t}-${r}`,error:e,errorStatus:n}}var HM=({help:e,helpStatus:t,errors:n=BM,warnings:r=BM,className:i,fieldId:a,onVisibleChanged:o})=>{let{prefixCls:s}=C.useContext(z_),c=`${s}-item-explain`,l=xf(s),[u,d]=zM(s,l),f=C.useMemo(()=>Mm(s),[s]),p=FM(n),m=FM(r),h=C.useMemo(()=>pd(e)?[VM(e,`help`,t)]:[].concat(Qr(p.map((e,t)=>VM(e,`error`,`error`,t))),Qr(m.map((e,t)=>VM(e,`warning`,`warning`,t)))),[e,t,p,m]),g=C.useMemo(()=>{let e={};return h.forEach(({key:t})=>{e[t]=(e[t]||0)+1}),h.map((t,n)=>({...t,key:e[t.key]>1?`${t.key}-fallback-${n}`:t.key}))},[h]),_={};return a&&(_.id=`${a}_help`),C.createElement(Lu,{motionDeadline:f.motionDeadline,motionName:`${s}-show-help`,visible:!!g.length,onVisibleChanged:o},e=>{let{className:t,style:n}=e;return C.createElement(`div`,{..._,className:q(c,t,d,l,i,u),style:n},C.createElement(Iu,{keys:g,...Mm(s),motionName:`${s}-show-help-item`,component:!1},e=>{let{key:t,error:n,errorStatus:r,className:i,style:a}=e;return C.createElement(`div`,{key:t,className:q(i,{[`${c}-${r}`]:r}),style:a},n)}))})},Qde=C.forwardRef((e,t)=>{let n=C.useContext(Bp),{getPrefixCls:r,direction:i,requiredMark:a,colon:o,scrollToFirstError:s,className:c,style:l,styles:u,classNames:d,tooltip:f}=ui(`form`),{prefixCls:p,className:m,rootClassName:h,size:g,disabled:_=n,form:v,colon:y,labelAlign:b,labelWrap:x,labelCol:S,wrapperCol:w,layout:T=`horizontal`,scrollToFirstError:E,requiredMark:D,onFinishFailed:O,name:k,style:A,feedbackIcons:j,variant:M,classNames:N,styles:P,tooltip:F,...I}=e,L=Rm(g),R=C.useContext(Sf),z=C.useMemo(()=>D===void 0?a===void 0?!0:a:D,[D,a]),B=y??o,V={...f,...F},H=r(`form`,p),U=xf(H),[W,ee]=zM(H,U),te={...e,size:L,disabled:_,layout:T,colon:B,requiredMark:z},[ne,re]=Id([d,N],[u,P],{props:te}),ie=q(H,`${H}-${T}`,{[`${H}-hide-required-mark`]:z===!1,[`${H}-rtl`]:i===`rtl`,[`${H}-large`]:L===`large`,[`${H}-small`]:L===`small`},ee,U,W,c,m,h,ne.root),[ae]=Ak(v),{__INTERNAL__:G}=ae;G.name=k;let oe=C.useMemo(()=>({name:k,labelAlign:b,labelCol:S,labelWrap:x,wrapperCol:w,layout:T,colon:B,requiredMark:z,itemRef:G.itemRef,form:ae,feedbackIcons:j,tooltip:V,classNames:ne,styles:re}),[k,b,S,w,T,B,z,ae,j,ne,re,V]),K=C.useRef(null);C.useImperativeHandle(t,()=>({...ae,nativeElement:K.current?.nativeElement}));let se=(e,t)=>{if(e){let n={block:`nearest`};gd(e)&&(n={...n,...e}),ae.scrollToField(t,n)}},ce=e=>{if(O?.(e),e.errorFields.length){let t=e.errorFields[0].name;if(E!==void 0){se(E,t);return}s!==void 0&&se(s,t)}};return C.createElement(H_.Provider,{value:M},C.createElement(Vp,{disabled:_},C.createElement(Hp.Provider,{value:L},C.createElement(R_,{validateMessages:R},C.createElement(I_.Provider,{value:oe},C.createElement(V_,{status:!0},C.createElement(F_,{id:k,...I,name:k,onFinishFailed:ce,form:ae,ref:K,style:{...re?.root,...l,...A},className:ie})))))))});function $de(e){if(typeof e==`function`)return e;let t=wr(e);return t.length<=1?t[0]:t}var UM=()=>{let{status:e,errors:t=[],warnings:n=[]}=C.useContext(B_);return{status:e,errors:t,warnings:n}};UM.Context=B_;function efe(e){let[t,n]=C.useState(e),r=C.useRef(null),i=C.useRef([]),a=C.useRef(!1);C.useEffect(()=>(a.current=!1,()=>{a.current=!0,ii.cancel(r.current),r.current=null}),[]);function o(e){a.current||(r.current===null&&(i.current=[],r.current=ii(()=>{r.current=null,n(e=>{let t=e;return i.current.forEach(e=>{t=e(t)}),t})})),i.current.push(e))}return[t,o]}var tfe=()=>{let{itemRef:e}=C.useContext(I_),t=C.useRef({});function n(n,r){let i=r&&typeof r==`object`&&ar(r),a=n.join(`_`);return(t.current.name!==a||t.current.originRef!==i)&&(t.current.name=a,t.current.originRef=i,t.current.ref=er(e(n),i)),t.current.ref}return n},nfe=e=>{let{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:`flex`}}}},rfe=ol([`Form`,`item-item`],(e,{rootPrefixCls:t})=>nfe(RM(e,t))),ife=24,afe=e=>{let{prefixCls:t,status:n,labelCol:r,wrapperCol:i,children:a,errors:o,warnings:s,_internalItemRender:c,extra:l,help:u,fieldId:d,marginBottom:f,onErrorVisibleChanged:p,label:m}=e,h=`${t}-item`,g=C.useContext(I_),{classNames:_,styles:v}=g,y=C.useMemo(()=>{let e={...i||g.wrapperCol||{}};return m===null&&!r&&!i&&g.labelCol&&[void 0].concat(Qr(Eb)).forEach(t=>{let n=t?[t]:[],r=or(g.labelCol,n),i=gd(r)?r:{},a=or(e,n),o=gd(a)?a:{};`span`in i&&!(`offset`in o)&&i.span{let{labelCol:e,wrapperCol:t,...n}=g;return n},[g]),S=C.useRef(null),[w,T]=C.useState(0);Vn(()=>{l&&S.current?T(S.current.clientHeight):T(0)},[l]);let E=C.createElement(`div`,{className:`${h}-control-input`},C.createElement(`div`,{className:q(`${h}-control-input-content`,_?.content),style:v?.content},a)),D=C.useMemo(()=>({prefixCls:t,status:n}),[t,n]),O=f!==null||o.length||s.length?C.createElement(z_.Provider,{value:D},C.createElement(HM,{fieldId:d,errors:o,warnings:s,help:u,helpStatus:n,className:`${h}-explain-connected`,onVisibleChanged:p})):null,k={};d&&(k.id=`${d}_extra`);let A=l?C.createElement(`div`,{...k,className:`${h}-extra`,ref:S},l):null,j=O||A?C.createElement(`div`,{className:`${h}-additional`,style:f?{minHeight:f+w}:{}},O,A):null,M=c&&c.mark===`pro_table_render`&&c.render?c.render(e,{input:E,errorList:O,extra:A}):C.createElement(C.Fragment,null,E,j);return C.createElement(I_.Provider,{value:x},C.createElement(tj,{...y,className:b},M),C.createElement(rfe,{prefixCls:t}))},ofe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`question-circle`,theme:`outlined`};function WM(){return WM=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,WM({},e,{ref:t,icon:ofe}))),sfe=({prefixCls:e,label:t,htmlFor:n,labelCol:r,labelAlign:i,colon:a,required:o,requiredMark:s,tooltip:c,vertical:l})=>{let[u]=ld(`Form`),{labelAlign:d,labelCol:f,labelWrap:p,colon:m,classNames:h,styles:g,tooltip:_}=C.useContext(I_);if(!t)return null;let v=r||f||{},y=i||d,b=`${e}-item-label`,x=q(b,y===`left`&&`${b}-left`,v.className,{[`${b}-wrap`]:!!p}),S=t,w=a===!0||m!==!1&&a!==!1;w&&!l&&typeof t==`string`&&t.trim()&&(S=t.replace(/[:|:]\s*$/,``));let T=Hde(c,_);if(T){let t=C.createElement(px,{...T},C.createElement(`span`,{className:`${e}-item-tooltip`,onClick:e=>{e.preventDefault()},tabIndex:-1},T.icon||T.children||C.createElement(GM,null)));S=C.createElement(C.Fragment,null,S,t)}let E=s===`optional`,D=typeof s==`function`,O=s===!1;D?S=s(S,{required:!!o}):E&&!o&&(S=C.createElement(C.Fragment,null,S,C.createElement(`span`,{className:`${e}-item-optional`,title:``},u?.optional||nd.Form?.optional)));let k;O?k=`hidden`:(E||D)&&(k=`optional`);let A=q(h?.label,{[`${e}-item-required`]:o,[`${e}-item-required-mark-${k}`]:k,[`${e}-item-no-colon`]:!w});return C.createElement(tj,{...v,className:x},C.createElement(`label`,{htmlFor:n,className:A,style:g?.label,title:typeof t==`string`?t:``},S))},cfe={success:Nl,warning:Hl,error:Il,validating:fm};function KM({children:e,errors:t,warnings:n,hasFeedback:r,validateStatus:i,prefixCls:a,meta:o,noStyle:s,name:c}){let l=`${a}-item`,{feedbackIcons:u}=C.useContext(I_),d=Dk(t,n,o,null,!!r,i),{isFormItemInput:f,status:p,hasFeedback:m,feedbackIcon:h,name:g}=C.useContext(B_),_=C.useMemo(()=>{let e;if(r){let i=r!==!0&&r.icons||u,a=d&&i?.({status:d,errors:t,warnings:n})?.[d],o=d?cfe[d]:null;e=a!==!1&&o?C.createElement(`span`,{className:q(`${l}-feedback-icon`,`${l}-feedback-icon-${d}`)},a||C.createElement(o,null)):null}let i={status:d||``,errors:t,warnings:n,hasFeedback:!!r,feedbackIcon:e,isFormItemInput:!0,name:c};return s&&(i.status=(d??p)||``,i.isFormItemInput=f,i.hasFeedback=!!(r??m),i.feedbackIcon=r===void 0?h:i.feedbackIcon,i.name=c??g),i},[d,r,s,f,p]);return C.createElement(B_.Provider,{value:_},e)}function lfe(e){let{prefixCls:t,className:n,rootClassName:r,style:i,help:a,errors:o,warnings:s,validateStatus:c,meta:l,hasFeedback:u,hidden:d,children:f,fieldId:p,required:m,isRequired:h,onSubItemMetaChange:g,layout:_,name:v,...y}=e,b=`${t}-item`,{requiredMark:x,layout:S}=C.useContext(I_),w=_||S,T=w===`vertical`,E=C.useRef(null),D=FM(o),O=FM(s),k=pd(a),A=!!(k||o.length||s.length),j=!!E.current&&lp(E.current),[M,N]=C.useState(null);Vn(()=>{if(A&&E.current){let e=getComputedStyle(E.current);N(Number.parseInt(e.marginBottom,10))}},[A,j]);let P=e=>{e||N(null)},F=((e=!1)=>Dk(e?D:l.errors,e?O:l.warnings,l,``,!!u,c))(),I=q(b,n,r,{[`${b}-with-help`]:k||D.length||O.length,[`${b}-has-feedback`]:F&&u,[`${b}-has-success`]:F===`success`,[`${b}-has-warning`]:F===`warning`,[`${b}-has-error`]:F===`error`,[`${b}-is-validating`]:F===`validating`,[`${b}-hidden`]:d,[`${b}-${w}`]:w});return C.createElement(`div`,{className:I,style:i,ref:E},C.createElement(rj,{className:`${b}-row`,...Cr(y,`_internalItemRender.colon.dependencies.extra.fieldKey.getValueFromEvent.getValueProps.htmlFor.id.initialValue.isListField.label.labelAlign.labelCol.labelWrap.messageVariables.name.normalize.noStyle.preserve.requiredMark.rules.shouldUpdate.trigger.tooltip.validateFirst.validateTrigger.valuePropName.wrapperCol.validateDebounce`.split(`.`))},C.createElement(sfe,{htmlFor:p,...e,requiredMark:x,required:m??h,prefixCls:t,vertical:T}),C.createElement(afe,{...e,...l,errors:D,warnings:O,prefixCls:t,status:F,help:a,marginBottom:M,onErrorVisibleChanged:P},C.createElement(L_.Provider,{value:g},C.createElement(KM,{prefixCls:t,meta:l,errors:l.errors,warnings:l.warnings,hasFeedback:u,validateStatus:F,name:v},f)))),!!M&&C.createElement(`div`,{className:`${b}-margin-offset`,style:{marginBottom:-M}}))}var ufe=`__SPLIT__`;function dfe(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>{let r=e[n],i=t[n];return r===i||typeof r==`function`||typeof i==`function`})}var ffe=C.memo(e=>e.children,(e,t)=>dfe(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((e,n)=>e===t.childProps[n]));function qM(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function pfe(e){let{name:t,noStyle:n,className:r,dependencies:i,prefixCls:a,shouldUpdate:o,rules:s,children:c,required:l,label:u,messageVariables:d,trigger:f=`onChange`,validateTrigger:p,hidden:m,help:h,layout:g}=e,{getPrefixCls:_}=C.useContext(si),{name:v}=C.useContext(I_),y=$de(c),b=typeof y==`function`,x=C.useContext(L_),{validateTrigger:S}=C.useContext(kg),w=pd(p)?p:S,T=pd(t),E=_(`form`,a),D=xf(E),[O,k]=zM(E,D);Or(`Form.Item`);let A=C.useContext(Ag),j=C.useRef(null),[M,N]=efe({}),[P,F]=Un(()=>qM()),I=e=>{let t=A?.getKey(e.name);if(F(e.destroy?qM():e,!0),n&&h!==!1&&x){let n=e.name;if(e.destroy)n=j.current||n;else if(t!==void 0){let[e,r]=t;n=[e].concat(Qr(r)),j.current=n}x(e,n)}},L=(e,t)=>{N(n=>{let r={...n},i=[].concat(Qr(e.name.slice(0,-1)),Qr(t)).join(ufe);return e.destroy?delete r[i]:r[i]=e,r})},[R,z]=C.useMemo(()=>{let e=Qr(P.errors),t=Qr(P.warnings);return Object.values(M).forEach(n=>{e.push.apply(e,Qr(n.errors||[])),t.push.apply(t,Qr(n.warnings||[]))}),[e,t]},[M,P.errors,P.warnings]),B=tfe();function V(i,a,o){return n&&!m?C.createElement(KM,{prefixCls:E,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:P,errors:R,warnings:z,noStyle:!0,name:t},i):C.createElement(lfe,{key:`row`,...e,className:q(r,k,D,O),prefixCls:E,fieldId:a,isRequired:o,errors:R,warnings:z,meta:P,onSubItemMetaChange:L,layout:g,name:t},i)}if(!T&&!b&&!i)return V(y);let H={};return typeof u==`string`?H.label=u:t&&(H.label=String(t)),d&&(H={...H,...d}),C.createElement(x_,{...e,messageVariables:H,trigger:f,validateTrigger:w,onMetaChange:I},(n,r,a)=>{let c=Tk(t).length&&r?r.name:[],u=Ek(c,v),d=l===void 0?s?.some(e=>{if(gd(e)&&e.required&&!e.warningOnly)return!0;if(typeof e==`function`){let t=e(a);return t?.required&&!t?.warningOnly}return!1}):l,p={...n},m=null;if(Array.isArray(y)&&T)m=y;else if(!(b&&(!(o||i)||T))&&!(i&&!b&&!T))if(C.isValidElement(y)){let t={...y.props,...p};if(t.id||=u,h||R.length>0||z.length>0||e.extra){let n=[];(h||R.length>0)&&n.push(`${u}_help`),e.extra&&n.push(`${u}_extra`),t[`aria-describedby`]=n.join(` `)}R.length>0&&(t[`aria-invalid`]=`true`),d&&(t[`aria-required`]=`true`),nr(y)&&(t.ref=B(c,y)),new Set([].concat(Qr(Tk(f)),Qr(Tk(w)))).forEach(e=>{t[e]=(...t)=>{p[e]?.(...t),y.props[e]?.(...t)}});let n=[t[`aria-required`],t[`aria-invalid`],t[`aria-describedby`]];m=C.createElement(ffe,{control:p,update:y,childProps:n},Fp(y,t))}else m=b&&(o||i)&&!T?y(a):y;return V(m,u,d)})}var JM=pfe;JM.useStatus=UM;var mfe=({prefixCls:e,children:t,...n})=>{let{getPrefixCls:r}=C.useContext(si),i=r(`form`,e),a=C.useMemo(()=>({prefixCls:i,status:`error`}),[i]);return C.createElement(S_,{...n},(e,n,r)=>C.createElement(z_.Provider,{value:a},t(e.map(e=>({...e,fieldKey:e.key})),n,{errors:r.errors,warnings:r.warnings})))};function hfe(){let{form:e}=C.useContext(I_);return e}var X=Qde;X.Item=JM,X.List=mfe,X.ErrorList=HM,X.useForm=Ak,X.useFormInstance=hfe,X.useWatch=P_,X.Provider=R_;var YM=C.createContext(null);function gfe(e){return new Promise(t=>{if(!e){t(!1);return}let n=document.createElement(`img`);n.onerror=()=>t(!1),n.onload=()=>t(!0),n.src=e})}function XM(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}var ZM={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function _fe(e,t,n,r){let i=(0,C.useRef)(null),a=(0,C.useRef)([]),[o,s]=(0,C.useState)(ZM),c=e=>{s(ZM),Ei(ZM,o)||r?.({transform:ZM,action:e})},l=(e,t)=>{i.current===null&&(a.current=[],i.current=ii(()=>{s(e=>{let n=e;return a.current.forEach(e=>{n={...n,...e}}),i.current=null,r?.({transform:n,action:t}),n})})),a.current.push({...o,...e})};return{transform:o,resetTransform:c,updateTransform:l,dispatchZoomChange:(r,i,a,s,c)=>{let{width:u,height:d,offsetWidth:f,offsetHeight:p,offsetLeft:m,offsetTop:h}=e.current,g=r,_=o.scale*r;_>n?(_=n,g=n/o.scale):_r){if(t>0)return{[e]:a};if(t<0&&ir)return{[e]:t<0?a:-a};return{}}function $M(e,t,n,r){let{width:i,height:a}=XM(),o=null;return e<=i&&t<=a?o={x:0,y:0}:(e>i||t>a)&&(o={...QM(`x`,n,e,i),...QM(`y`,r,t,a)}),o}function vfe(e,t,n,r,i,a,o){let{rotate:s,scale:c,x:l,y:u}=i,[d,f]=(0,C.useState)(!1),p=(0,C.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),m=e=>{!t||e.button!==0||(e.preventDefault(),e.stopPropagation(),p.current={diffX:e.pageX-l,diffY:e.pageY-u,transformX:l,transformY:u},f(!0))},h=e=>{n&&d&&a({x:e.pageX-p.current.diffX,y:e.pageY-p.current.diffY},`move`)},g=()=>{if(n&&d){f(!1);let{transformX:t,transformY:n}=p.current;if(!(l!==t&&u!==n))return;let r=e.current.offsetWidth*c,i=e.current.offsetHeight*c,{left:o,top:d}=e.current.getBoundingClientRect(),m=s%180!=0,h=$M(m?i:r,m?r:i,o,d);h&&a({...h},`dragRebound`)}};return(0,C.useEffect)(()=>{if(t){window.addEventListener(`mouseup`,g,!1),window.addEventListener(`mousemove`,h,!1);try{window.top!==window.self&&(window.top.addEventListener(`mouseup`,g,!1),window.top.addEventListener(`mousemove`,h,!1))}catch(e){`${e}`}}return()=>{window.removeEventListener(`mouseup`,g),window.removeEventListener(`mousemove`,h);try{window.top?.removeEventListener(`mouseup`,g),window.top?.removeEventListener(`mousemove`,h)}catch{}}},[n,d,l,u,s,t]),{isMoving:d,onMouseDown:m,onMouseMove:h,onMouseUp:g,onWheel:e=>{if(!n||e.deltaY==0)return;let t=Math.abs(e.deltaY/100),i=1+Math.min(t,1)*r;e.deltaY>0&&(i=1/i),o(i,`wheel`,e.clientX,e.clientY)}}}function eN({src:e,isCustomPlaceholder:t,fallback:n}){let[r,i]=(0,C.useState)(t?`loading`:`normal`),a=(0,C.useRef)(!1),o=r===`error`;(0,C.useEffect)(()=>{let t=!0;return gfe(e).then(e=>{!e&&t&&i(`error`)}),()=>{t=!1}},[e]),(0,C.useEffect)(()=>{t&&!a.current?i(`loading`):o&&i(`normal`)},[e]);let s=()=>{i(`normal`)};return[e=>{a.current=!1,r===`loading`&&e?.complete&&(e.naturalWidth||e.naturalHeight)&&(a.current=!0,s())},o&&n?{src:n}:{onLoad:s,src:e},r]}function tN(e,t){let n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function yfe(e,t,n,r){let i=tN(e,n),a=tN(t,r);if(i===0&&a===0)return[e.x,e.y];let o=i/(i+a);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}function bfe(e,t,n,r,i,a,o){let{rotate:s,scale:c,x:l,y:u}=i,[d,f]=(0,C.useState)(!1),p=(0,C.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:`none`}),m=e=>{p.current={...p.current,...e}};return(0,C.useEffect)(()=>{let e=e=>{e.preventDefault()};return n&&t&&window.addEventListener(`touchmove`,e,{passive:!1}),()=>{window.removeEventListener(`touchmove`,e)}},[n,t]),{isTouching:d,onTouchStart:e=>{if(!t)return;e.stopPropagation(),f(!0);let{touches:n=[]}=e;n.length>1?m({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:`touchZoom`}):m({point1:{x:n[0].clientX-l,y:n[0].clientY-u},eventType:`move`})},onTouchMove:e=>{let{touches:t=[]}=e,{point1:n,point2:r,eventType:i}=p.current;if(t.length>1&&i===`touchZoom`){let e={x:t[0].clientX,y:t[0].clientY},i={x:t[1].clientX,y:t[1].clientY},[a,s]=yfe(n,r,e,i);o(tN(e,i)/tN(n,r),`touchZoom`,a,s,!0),m({point1:e,point2:i,eventType:`touchZoom`})}else i===`move`&&(a({x:t[0].clientX-n.x,y:t[0].clientY-n.y},`move`),m({eventType:`move`}))},onTouchEnd:()=>{if(!n)return;if(d&&f(!1),m({eventType:`none`}),r>c)return a({x:0,y:0,scale:r},`touchZoom`);let t=e.current.offsetWidth*c,i=e.current.offsetHeight*c,{left:o,top:l}=e.current.getBoundingClientRect(),u=s%180!=0,p=$M(u?i:t,u?t:i,o,l);p&&a({...p},`dragRebound`)}}}function xfe(e){let{prefixCls:t,icon:n,onClick:r,className:i,style:a}=e;return C.createElement(`button`,{className:q(`${t}-close`,i),style:a,onClick:r},n)}function Sfe(e){let{prefixCls:t,showProgress:n,current:r,count:i,showSwitch:a,classNames:o,styles:s,icons:c,image:l,transform:u,countRender:d,actionsRender:f,scale:p,minScale:m,maxScale:h,onActive:g,onFlipY:_,onFlipX:v,onRotateLeft:y,onRotateRight:b,onZoomOut:x,onZoomIn:S,onClose:w,onReset:T}=e,{left:E,right:D,prev:O,next:k,flipY:A,flipX:j,rotateLeft:M,rotateRight:N,zoomOut:P,zoomIn:F}=c,I=n&&C.createElement(`div`,{className:`${t}-progress`},d?d(r+1,i):C.createElement(`bdi`,null,`${r+1} / ${i}`)),L=`${t}-actions-action`,R=({type:e,disabled:t,onClick:n,icon:r})=>C.createElement(`button`,{type:`button`,key:e,className:q(L,`${L}-${e}`,{[`${L}-disabled`]:!!t}),onClick:n,disabled:!!t,"aria-label":e},r),z=a?R({icon:O??E,onClick:()=>g(-1),type:`prev`,disabled:r===0}):void 0,B=a?R({icon:k??D,onClick:()=>g(1),type:`next`,disabled:r===i-1}):void 0,V=R({icon:A,onClick:_,type:`flipY`}),H=R({icon:j,onClick:v,type:`flipX`}),U=R({icon:M,onClick:y,type:`rotateLeft`}),W=R({icon:N,onClick:b,type:`rotateRight`}),ee=R({icon:P,onClick:x,type:`zoomOut`,disabled:p<=m}),te=R({icon:F,onClick:S,type:`zoomIn`,disabled:p===h}),ne=C.createElement(`div`,{className:q(`${t}-actions`,o.actions),style:s.actions},V,H,U,W,ee,te);return C.createElement(`div`,{className:q(`${t}-footer`,o.footer),style:s.footer},I,f?f(ne,{icons:{prevIcon:z,nextIcon:B,flipYIcon:V,flipXIcon:H,rotateLeftIcon:U,rotateRightIcon:W,zoomOutIcon:ee,zoomInIcon:te},actions:{onActive:g,onFlipY:_,onFlipX:v,onRotateLeft:y,onRotateRight:b,onZoomOut:x,onZoomIn:S,onReset:T,onClose:w},transform:u,current:r,total:i,image:l}):ne)}function Cfe(e){let{prefixCls:t,onActive:n,current:r,count:i,icons:{left:a,right:o,prev:s,next:c}}=e,l=`${t}-switch`,u=r===0,d=r===i-1;return C.createElement(C.Fragment,null,C.createElement(`button`,{className:q(l,`${l}-prev`,{[`${l}-disabled`]:u}),onClick:()=>n(-1),disabled:u},s??a),C.createElement(`button`,{type:`button`,className:q(l,`${l}-next`,{[`${l}-disabled`]:d}),onClick:()=>n(1),disabled:d},c??o))}function nN(){return nN=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let[i,a]=eN({src:t,fallback:e});return C.createElement(`img`,nN({ref:e=>{n.current=e,i(e)}},r,a))},rN=e=>{let{prefixCls:t,rootClassName:n,src:r,alt:i,imageInfo:a,fallback:o,movable:s=!0,onClose:c,open:l,afterOpenChange:u,maskClosable:d=!0,icons:f={},closeIcon:p,getContainer:m,current:h=0,count:g=1,countRender:_,scaleStep:v=.5,minScale:y=1,maxScale:b=50,motionName:x=`fade`,imageRender:S,imgCommonProps:w,actionsRender:T,onTransform:E,onChange:D,classNames:O={},styles:k={},mousePosition:A,zIndex:j,focusTrap:M=!0}=e,N=(0,C.useRef)(),P=(0,C.useRef)(null),F=(0,C.useRef)(null),I=(0,C.useContext)(YM),L=I&&g>1,R=I&&g>=1,[z,B]=(0,C.useState)(!0),{transform:V,resetTransform:H,updateTransform:U,dispatchZoomChange:W}=_fe(N,y,b,E),{isMoving:ee,onMouseDown:te,onWheel:ne}=vfe(N,s,l,v,V,U,W),{isTouching:re,onTouchStart:ie,onTouchMove:ae,onTouchEnd:G}=bfe(N,s,l,y,V,U,W),{rotate:oe,scale:K}=V;(0,C.useEffect)(()=>{z||B(!0)},[z]),(0,C.useEffect)(()=>{l||H(`close`)},[l]);let se=C.createElement(wfe,nN({},w,{width:e.width,height:e.height,imgRef:N,className:`${t}-img`,alt:i,style:{transform:`translate3d(${V.x}px, ${V.y}px, 0) scale3d(${V.flipX?`-`:``}${K}, ${V.flipY?`-`:``}${K}, 1) rotate(${oe}deg)`,transitionDuration:(!z||re)&&`0s`},fallback:o,src:r,onWheel:ne,onMouseDown:te,onDoubleClick:e=>{l&&(K===1?W(1+v,`doubleClick`,e.clientX,e.clientY):U({x:0,y:0,scale:1},`doubleClick`))},onTouchStart:ie,onTouchMove:ae,onTouchEnd:G,onTouchCancel:G})),ce={url:r,alt:i,...a},le=()=>{W(1+v,`zoomIn`)},ue=()=>{W(1/(1+v),`zoomOut`)},de=()=>{U({rotate:oe+90},`rotateRight`)},fe=()=>{U({rotate:oe-90},`rotateLeft`)},pe=()=>{U({flipX:!V.flipX},`flipX`)},me=()=>{U({flipY:!V.flipY},`flipY`)},he=()=>{H(`reset`)},ge=e=>{let t=h+e;t>=0&&t<=g-1&&(B(!1),H(e<0?`prev`:`next`),D?.(t,h))},_e=Rn(e=>{if(l){let{keyCode:t}=e;L&&(t===em.LEFT?ge(-1):t===em.RIGHT&&ge(1))}});(0,C.useEffect)(()=>{if(l)return window.addEventListener(`keydown`,_e),()=>{window.removeEventListener(`keydown`,_e)}},[l]);let[ve,ye]=(0,C.useState)(!1);C.useEffect(()=>{l&&ye(!0)},[l]);let be=e=>{e||(ye(!1),F.current?.focus?.(),F.current=null),u?.(e)},[xe,Se]=(0,C.useState)(!1);Vn(()=>{l&&Se(!0)},[l]);let Ce=({top:e})=>{e&&c?.()};Vn(()=>{l&&(F.current=document.activeElement)},[l]),bg(M&&l&&xe,()=>P.current);let we={...k.body};return A&&(we.transformOrigin=`${A.x}px ${A.y}px`),C.createElement(Zf,{open:xe&&l,autoDestroy:!1,getContainer:m,autoLock:ve,onEsc:Ce},C.createElement(Lu,{motionName:x,visible:xe&&l,motionAppear:!0,motionEnter:!0,motionLeave:!0,onVisibleChanged:be},({className:e,style:r})=>{let a={...k.root,...r};return j&&(a.zIndex=j),C.createElement(`div`,{ref:P,className:q(t,n,O.root,e,{[`${t}-movable`]:s,[`${t}-moving`]:ee}),style:a,role:`dialog`,"aria-modal":`true`,"aria-label":i,tabIndex:-1},C.createElement(`div`,{className:q(`${t}-mask`,O.mask),style:k.mask,onClick:d?c:void 0}),C.createElement(`div`,{className:q(`${t}-body`,O.body),style:we},S?S(se,{transform:V,image:ce,...I?{current:h}:{}}):se),p!==!1&&p!==null&&C.createElement(xfe,{prefixCls:t,icon:p===!0?f.close:p||f.close,onClick:c,className:O.close,style:k.close}),L&&C.createElement(Cfe,{prefixCls:t,current:h,count:g,icons:f,onActive:ge}),C.createElement(Sfe,{prefixCls:t,showProgress:R,current:h,count:g,showSwitch:L,classNames:O,styles:k,image:ce,transform:V,icons:f,countRender:_,actionsRender:T,scale:K,minScale:y,maxScale:b,onActive:ge,onFlipY:me,onFlipX:pe,onRotateLeft:fe,onRotateRight:de,onZoomOut:ue,onZoomIn:le,onClose:c,onReset:he}))}))},iN=[`crossOrigin`,`decoding`,`draggable`,`loading`,`referrerPolicy`,`sizes`,`srcSet`,`useMap`,`alt`,`fetchPriority`];function Tfe(e){let[t,n]=C.useState({}),r=C.useCallback((e,t)=>(n(n=>({...n,[e]:t})),()=>{n(t=>{let n={...t};return delete n[e],n})}),[]);return[C.useMemo(()=>e?e.map(e=>{if(typeof e==`string`)return{data:{src:e}};let t={};return Object.keys(e).forEach(n=>{[`src`,...iN].includes(n)&&(t[n]=e[n])}),{data:t}}):Object.keys(t).reduce((e,n)=>{let{canPreview:r,data:i}=t[n];return r&&e.push({data:i,id:n}),e},[]),[e,t]),r,!!e]}function aN(){return aN=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{open:c,onOpenChange:l,current:u,onChange:d,...f}=o&&typeof o==`object`?o:{},[p,m,h]=Tfe(a),[g,_]=Wn(0,u),[v,y]=(0,C.useState)(!1),{src:b,...x}=p[g]?.data||{},[S,w]=Wn(!!c,c),T=Rn(e=>{w(e),e!==S&&l?.(e,{current:g})}),[E,D]=(0,C.useState)(null),O=C.useCallback((e,t,n,r)=>{let i=h?p.findIndex(e=>e.data.src===t):p.findIndex(t=>t.id===e);_(i<0?0:i),T(!0),D({x:n,y:r}),y(!0)},[p,h]);C.useEffect(()=>{S?v||_(0):y(!1)},[S]);let k=(e,t)=>{_(e),d?.(e,t)},A=()=>{T(!1),D(null)},j=C.useMemo(()=>({register:m,onPreview:O}),[m,O]);return C.createElement(YM.Provider,{value:j},r,C.createElement(rN,aN({"aria-hidden":!S,open:S,prefixCls:e,onClose:A,mousePosition:E,imgCommonProps:x,src:b,fallback:s,icons:i,current:g,count:p.length,onChange:k},f,{classNames:t?.popup,styles:n?.popup})))},oN=0;function Dfe(e,t){let[n]=C.useState(()=>(oN+=1,String(oN))),r=C.useContext(YM),i={data:t,canPreview:e};return C.useEffect(()=>{if(r)return r.register(n,i)},[]),C.useEffect(()=>{r&&r.register(n,i)},[e,t]),n}function sN(){return sN=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t=`rc-image`,previewPrefixCls:n=`${t}-preview`,rootClassName:r,className:i,style:a,classNames:o={},styles:s={},width:c,height:l,src:u,alt:d,placeholder:f,fallback:p,preview:m=!0,onClick:h,onError:g,onKeyDown:_,...v}=e,y=(0,C.useContext)(YM),b=!!m,{src:x,open:S,onOpenChange:w,cover:T,rootClassName:E,...D}=m&&typeof m==`object`?m:{},O=typeof T==`object`&&T.placement&&T.placement||`center`,k=typeof T==`object`&&T.coverNode?T.coverNode:T,[A,j]=Wn(!!S,S),[M,N]=(0,C.useState)(null),P=e=>{j(e),w?.(e)},F=()=>{P(!1)},I=f&&f!==!0,L=x??u,[R,z,B]=eN({src:u,isCustomPlaceholder:I,fallback:p}),V=(0,C.useMemo)(()=>{let t={};return iN.forEach(n=>{e[n]!==void 0&&(t[n]=e[n])}),t},iN.map(t=>e[t])),H=Dfe(b,(0,C.useMemo)(()=>({...V,src:L}),[L,V])),U=e=>{let t=e.target.getBoundingClientRect(),n=t.x+t.width/2,r=t.y+t.height/2;y?y.onPreview(H,L,n,r):(N({x:n,y:r}),P(!0)),h?.(e)},W=e=>{if(_?.(e),b&&(e.key===`Enter`||e.key===` `)){e.preventDefault();let t=e.target.getBoundingClientRect(),n=t.x+t.width/2,r=t.y+t.height/2;y?y.onPreview(H,L,n,r):(N({x:n,y:r}),P(!0))}};return C.createElement(C.Fragment,null,C.createElement(`div`,sN({},v,{className:q(t,r,o.root,{[`${t}-error`]:B===`error`}),onClick:b?U:h,role:b?`button`:v.role,tabIndex:b&&v.tabIndex==null?0:v.tabIndex,"aria-label":b?v[`aria-label`]??d:v[`aria-label`],onKeyDown:W,style:{width:c,height:l,...s.root}}),C.createElement(`img`,sN({},V,{className:q(`${t}-img`,{[`${t}-img-placeholder`]:f===!0},o.image,i),style:{height:l,...s.image,...a},ref:R},z,{width:c,height:l,onError:g})),B===`loading`&&C.createElement(`div`,{"aria-hidden":`true`,className:`${t}-placeholder`},f),T!==!1&&b&&C.createElement(`div`,{className:q(`${t}-cover`,o.cover,`${t}-cover-${O}`),style:{display:a?.display===`none`?`none`:void 0,...s.cover}},k)),!y&&b&&C.createElement(rN,sN({"aria-hidden":!A,open:A,prefixCls:n,onClose:F,mousePosition:M,src:L,alt:d,imageInfo:{width:c,height:l},fallback:p,imgCommonProps:V},D,{classNames:o?.popup,styles:s?.popup,rootClassName:q(E,r)})))};cN.PreviewGroup=Efe;var lN=cN,uN=(e,t,n,r,i,a,o)=>{let[s]=Xd(`ImagePreview`,e?.zIndex),[c,l]=kd(e?.mask,t?.mask,`${n}-preview`);return C.useMemo(()=>{if(!e)return e;let{cover:u,getContainer:d,closeIcon:f,rootClassName:p}=e,{closeIcon:m}=t??{};return{motionName:Nm(`${n}-preview`,`fade`),...e,...o?{cover:u??o}:{},icons:a,getContainer:d??i,zIndex:s,closeIcon:f??m,rootClassName:q(r,p),mask:c,blurClassName:l.mask}},[e,t,n,r,i,o,a,s,c,l])};function Ofe(e){return(0,C.isValidElement)(e)?[e,void 0]:typeof e==`boolean`||gd(e)?[void 0,e]:[void 0,void 0]}function dN(e){let t=(0,C.useMemo)(()=>typeof e==`boolean`?e?{}:null:gd(e)?e:{},[e]);return(0,C.useMemo)(()=>{if(!t)return[t,``,``];let{open:e,onOpenChange:n,cover:r,actionsRender:i,visible:a,onVisibleChange:o,rootClassName:s,maskClassName:c,mask:l,forceRender:u,destroyOnClose:d,toolbarRender:f,...p}=t,m;n?m=n:o&&(m=(e,t)=>{let{current:n}=t||{};n===void 0?o(e,!e):o(e,!e,n)});let[h,g]=Ofe(l);return[{...p,open:e??a,onOpenChange:m,cover:r??h,mask:g,actionsRender:i??f},s,c]},[t])}var kfe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z`}},{tag:`path`,attrs:{d:`M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z`}}]},name:`rotate-left`,theme:`outlined`};function fN(){return fN=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,fN({},e,{ref:t,icon:kfe}))),Afe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z`}},{tag:`path`,attrs:{d:`M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z`}}]},name:`rotate-right`,theme:`outlined`};function mN(){return mN=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,mN({},e,{ref:t,icon:Afe}))),jfe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`swap`,theme:`outlined`};function gN(){return gN=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gN({},e,{ref:t,icon:jfe}))),Mfe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z`}}]},name:`zoom-in`,theme:`outlined`};function vN(){return vN=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,vN({},e,{ref:t,icon:Mfe}))),Nfe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z`}}]},name:`zoom-out`,theme:`outlined`};function bN(){return bN=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,bN({},e,{ref:t,icon:Nfe}))),SN=e=>({position:e||`absolute`,inset:0}),Pfe=e=>{let{componentCls:t,motionDurationSlow:n,colorTextLightSolid:r}=e;return{[t]:{[`${t}-cover`]:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,color:r,background:new zs(`#000`).setA(.3).toRgbString(),cursor:`pointer`,opacity:0,transition:`opacity ${n}`},"&:hover, &:focus-visible":{[`${t}-cover`]:{opacity:1}},[`${t}-cover-top`]:{inset:`0 0 auto 0`,justifyContent:`center`},[`${t}-cover-bottom`]:{inset:`auto 0 0 0`,justifyContent:`center`}}}},Ffe=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:i,colorBgMask:a,marginXL:o,marginSM:s,margin:c,colorTextLightSolid:l,paddingSM:u,paddingLG:d,previewOperationHoverColor:f,previewOperationColorDisabled:p,previewOperationSize:m,zIndexPopup:h}=e,g=new zs(a).setA(.1),_=g.clone().setA(.2),v={position:`absolute`,color:l,backgroundColor:g.toRgbString(),borderRadius:`50%`,padding:u,outline:0,border:0,cursor:`pointer`,transition:`all ${r}`,display:`flex`,fontSize:m,"&:hover":{backgroundColor:_.toRgbString()},"&:active":{backgroundColor:g.toRgbString()},"&:focus-visible":Qc(e)};return{[`${i}-preview`]:{textAlign:`center`,inset:0,position:`fixed`,userSelect:`none`,zIndex:h,[`${n}-mask`]:{inset:0,position:`absolute`,background:a,backdropFilter:`blur(0px)`,transition:`backdrop-filter ${r}`,[`&${i}-preview-mask-blur`]:{backdropFilter:`blur(4px)`},[`&${i}-preview-mask-hidden`]:{display:`none`}},[`${n}-body`]:{...SN(),"pointer-events":`none`,display:`flex`,alignItems:`center`,justifyContent:`center`,"> *":{pointerEvents:`auto`}},[`${n}-img`]:{maxWidth:`100%`,maxHeight:`70%`,verticalAlign:`middle`,transform:`scale3d(1, 1, 1)`,transition:`transform ${r} ${t} 0s`},[`&-movable ${n}-img`]:{cursor:`grab`},[`&-moving ${n}-img`]:{cursor:`grabbing`},[`${n}-close`]:{...v,top:s,insetInlineEnd:s},[`${n}-switch`]:{...v,top:`50%`,transform:`translateY(-50%)`,"&-disabled":{"&, &:hover, &:active":{color:p,background:`transparent`,cursor:`not-allowed`}},"&-prev":{insetInlineStart:s},"&-next":{insetInlineEnd:s}},[`${n}-footer`]:{position:`absolute`,bottom:o,left:{_skip_check_:!0,value:`50%`},display:`flex`,flexDirection:`column`,alignItems:`center`,color:e.previewOperationColor,transform:`translateX(-50%)`,gap:c},[`${n}-actions`]:{display:`flex`,gap:u,padding:`0 ${J(d)}`,backgroundColor:g.toRgbString(),borderRadius:100,fontSize:m,"&-action":{color:`inherit`,background:`transparent`,border:0,font:`inherit`,padding:u,cursor:`pointer`,transition:`all ${r}`,display:`flex`,[`&:not(${n}-actions-action-disabled):hover`]:{color:f},"&:focus-visible":Qc(e),"&-disabled":{color:p,cursor:`not-allowed`}}}}}},Ife=e=>{let{componentCls:t}=e;return{[t]:{position:`relative`,display:`inline-block`,...$c(e),[`${t}-img`]:{width:`100%`,height:`auto`,verticalAlign:`middle`},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:`url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')`,backgroundRepeat:`no-repeat`,backgroundPosition:`center center`,backgroundSize:`30%`},[`${t}-placeholder`]:{...SN()}}}},Lfe=e=>{let{previewCls:t,motionDurationSlow:n}=e;return{[t]:{"&-fade":{transition:`opacity ${n}`,"&-enter, &-appear":{opacity:0,[`${t}-body`]:{transform:`scale(0)`},"&-active":{opacity:1,[`${t}-body`]:{transform:`scale(1)`,transition:`transform ${n}`}}},"&-leave":{opacity:1,"&-active":{opacity:0,[`${t}-body`]:{transform:`scale(0)`,transition:`transform ${n}`}}}}}}},CN=il(`Image`,e=>{let t=_s(e,{previewCls:`${e.componentCls}-preview`,imagePreviewSwitchSize:e.controlHeightLG});return[Ife(t),Pfe(t),Ffe(t),Lfe(t)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new zs(e.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new zs(e.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new zs(e.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5})),wN={rotateLeft:C.createElement(pN,null),rotateRight:C.createElement(hN,null),zoomIn:C.createElement(yN,null),zoomOut:C.createElement(xN,null),close:C.createElement(zl,null),left:C.createElement(Tx,null),right:C.createElement(Ch,null),flipX:C.createElement(_N,null),flipY:C.createElement(_N,{rotate:90})},Rfe=({previewPrefixCls:e,preview:t,classNames:n,styles:r,...i})=>{let{getPrefixCls:a,getPopupContainer:o,direction:s,preview:c,classNames:l,styles:u}=ui(`image`),d=a(`image`,e),f=`${d}-preview`,p=xf(d),[m,h]=CN(d,p),g=q(m,h,p),[_,v,y]=dN(t),[b,x,S]=dN(c),w=C.useMemo(()=>({...wN,left:s===`rtl`?C.createElement(Ch,null):C.createElement(Tx,null),right:s===`rtl`?C.createElement(Tx,null):C.createElement(Ch,null)}),[s]),T=uN(_,b,d,g,o,wN),{mask:E,blurClassName:D}=T??{},O={...i,classNames:n,styles:r},[k,A]=Id([l,n,{cover:q(S,y),popup:{root:q(x,v),mask:q({[`${d}-preview-mask-hidden`]:!E},D)}}],[u,r],{props:O},{popup:{_default:`root`}});return C.createElement(lN.PreviewGroup,{preview:T,previewPrefixCls:f,icons:w,...i,classNames:k,styles:A})},TN=e=>{let{prefixCls:t,preview:n,className:r,rootClassName:i,style:a,styles:o,classNames:s,wrapperStyle:c,fallback:l,...u}=e,{getPrefixCls:d,getPopupContainer:f,className:p,style:m,preview:h,styles:g,classNames:_,fallback:v}=ui(`image`),y=d(`image`,t),b=xf(y),[x,S]=CN(y,b),w=q(i,x,S,b),T=q(r,x,p),[E,D,O]=dN(n),[k,A,j]=dN(h),M=uN(E,k,y,w,f,wN,!0),N={...e,preview:M},P=C.useMemo(()=>({cover:q(j,O),popup:{root:q(A,D)}}),[D,O,A,j]),{mask:F,blurClassName:I}=M??{},L=C.useMemo(()=>({mask:q({[`${y}-preview-mask-hidden`]:!F},I)}),[F,y,I]),[R,z]=Id(C.useMemo(()=>[_,s,P,{popup:L}],[_,s,P,L]),[g,{root:c},o],{props:N},{popup:{_default:`root`}}),B={...m,...a},V=l??v;return C.createElement(lN,{prefixCls:y,preview:M||!1,rootClassName:w,className:T,style:B,fallback:V,...u,classNames:R,styles:z})};TN.PreviewGroup=Rfe;var zfe=e=>{let{getPrefixCls:t,direction:n}=(0,C.useContext)(si),{prefixCls:r,className:i}=e,a=t(`input-group`,r),[o,s]=aA(t(`input`)),c=q(a,s,{[`${a}-lg`]:e.size===`large`,[`${a}-sm`]:e.size===`small`,[`${a}-compact`]:e.compact,[`${a}-rtl`]:n===`rtl`},o,i),l=(0,C.useContext)(B_),u=(0,C.useMemo)(()=>({...l,isFormItemInput:!1}),[l]);return C.createElement(B_.Provider,{value:u},C.createElement(AM.Compact,{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children))},Bfe=e=>{let{componentCls:t,paddingXS:n}=e;return{[t]:{display:`inline-flex`,alignItems:`center`,flexWrap:`nowrap`,columnGap:n,[`${t}-input-wrapper`]:{position:`relative`,[`${t}-mask-icon`]:{position:`absolute`,zIndex:`1`,top:`50%`,right:`50%`,transform:`translate(50%, -50%)`,pointerEvents:`none`},[`${t}-mask-input`]:{color:`transparent`,caretColor:e.colorText,"&::selection":{color:`transparent`}},[`${t}-mask-input[type=number]::-webkit-inner-spin-button`]:{"-webkit-appearance":`none`,margin:0},[`${t}-mask-input[type=number]`]:{"-moz-appearance":`textfield`}},"&-rtl":{direction:`rtl`},[`${t}-input`]:{textAlign:`center`,paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},Vfe=il([`Input`,`OTP`],e=>Bfe(_s(e,zk(e))),Bk),Hfe=C.forwardRef((e,t)=>{let{className:n,value:r,onChange:i,onActiveChange:a,index:o,mask:s,onFocus:c,...l}=e,{getPrefixCls:u}=C.useContext(si),d=u(`otp`),f=typeof s==`string`?s:r,p=C.useRef(null);C.useImperativeHandle(t,()=>p.current);let m=e=>{i(o,e.target.value)},h=()=>{ii(()=>{let e=p.current?.input;document.activeElement===e&&e&&e.select()})},g=e=>{c?.(e),h()},_=e=>{let{key:t,ctrlKey:n,metaKey:i}=e;t===`ArrowLeft`?a(o-1):t===`ArrowRight`?a(o+1):t===`z`&&(n||i)?e.preventDefault():t===`Backspace`&&!r&&a(o-1),h()};return C.createElement(`span`,{className:`${d}-input-wrapper`,role:`presentation`},s&&r!==``&&r!==void 0&&C.createElement(`span`,{className:`${d}-mask-icon`,"aria-hidden":`true`},f),C.createElement(Lj,{"aria-label":`OTP Input ${o+1}`,type:s===!0?`password`:`text`,...l,ref:p,value:r,onInput:m,onFocus:g,onKeyDown:_,onMouseDown:h,onMouseUp:h,className:q(n,{[`${d}-mask-input`]:s})}))});function EN(e){return(e||``).split(``)}var Ufe=e=>{let{index:t,prefixCls:n,separator:r,className:i,style:a}=e,o=typeof r==`function`?r(t):r;return o?C.createElement(`span`,{className:q(`${n}-separator`,i),style:a},o):null},Wfe=C.forwardRef((e,t)=>{let{prefixCls:n,length:r=6,size:i,defaultValue:a,value:o,onChange:s,formatter:c,separator:l,variant:u,disabled:d,status:f,autoFocus:p,mask:m,type:h,autoComplete:g,onInput:_,onFocus:v,inputMode:y,classNames:b,styles:x,className:S,style:w,...T}=e,{classNames:E,styles:D,getPrefixCls:O,direction:k,style:A,className:j}=ui(`otp`),M=O(`otp`,n),N={...e,length:r},[P,F]=Id([E,b],[D,x],{props:N}),I=Hu(T,{aria:!0,data:!0,attr:!0}),[L,R]=Vfe(M),z=Rm(e=>i??e),B=C.useContext(B_),V=By(B.status,f),H=C.useMemo(()=>({...B,status:V,hasFeedback:!1,feedbackIcon:null}),[B,V]),U=C.useRef(null),W=C.useRef({});C.useImperativeHandle(t,()=>({focus:()=>{W.current[0]?.focus()},blur:()=>{for(let e=0;ec?c(e):e,[te,ne]=C.useState(()=>EN(ee(a||``)));C.useEffect(()=>{o!==void 0&&ne(EN(o))},[o]);let re=Rn(e=>{ne(e),_&&_(e),s&&e.length===r&&e.every(e=>e)&&e.some((e,t)=>te[t]!==e)&&s(e.join(``))}),ie=Rn((e,t)=>{let n=Qr(te);for(let t=0;t=0&&!n[e];--e)n.pop();return n=EN(ee(n.map(e=>e||` `).join(``))).map((e,t)=>e===` `&&!n[t]?n[t]:e),n}),ae=(e,t)=>{let n=ie(e,t),i=Math.min(e+t.length,r-1);i!==e&&n[e]!==void 0&&W.current[i]?.focus(),re(n)},G=e=>{W.current[e]?.focus()},oe=(e,t)=>{for(let e=0;e{let n=`otp-${t}`,i=te[t]||``;return C.createElement(C.Fragment,{key:n},C.createElement(Hfe,{ref:e=>{W.current[t]=e},index:t,size:z,htmlSize:1,className:q(P.input,`${M}-input`),style:F.input,onChange:ae,value:i,onActiveChange:G,autoFocus:t===0&&p,onFocus:e=>oe(e,t),...K}),tC.createElement(Y,DN({},e,{ref:t,icon:Gfe}))),Kfe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z`}}]},name:`eye`,theme:`outlined`};function kN(){return kN=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,kN({},e,{ref:t,icon:Kfe}))),qfe=e=>e?C.createElement(AN,null):C.createElement(ON,null),Jfe={click:`onClick`,hover:`onMouseOver`},Yfe=C.forwardRef((e,t)=>{let{disabled:n,action:r=`click`,visibilityToggle:i=!0,iconRender:a=qfe,suffix:o}=e,s=C.useContext(Bp),c=n??s,l=gd(i)&&i.visible!==void 0,[u,d]=(0,C.useState)(()=>l?i.visible:!1),f=(0,C.useRef)(null);C.useEffect(()=>{l&&d(i.visible)},[l,i]);let p=Ij(f),m=()=>{if(c)return;u&&p();let e=!u;d(e),gd(i)&&i.onVisibleChange?.(e)},h=e=>{let t=Jfe[r]||``,n=a(u),i={[t]:m,className:`${e}-icon`,key:`passwordIcon`,onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return C.cloneElement(C.isValidElement(n)?n:C.createElement(`span`,null,n),i)},{className:g,prefixCls:_,inputPrefixCls:v,size:y,...b}=e,{getPrefixCls:x}=C.useContext(si),S=x(`input`,v),w=x(`input-password`,_),T=i&&h(w),E=q(w,g,{[`${w}-${y}`]:!!y}),D={...Cr(b,[`suffix`,`iconRender`,`visibilityToggle`]),type:u?`text`:`password`,className:E,prefixCls:S,suffix:C.createElement(C.Fragment,null,T,o)};return y&&(D.size=y),C.createElement(Lj,{ref:er(t,f),...D})}),Xfe=il([`Input`,`Search`],e=>{let{componentCls:t}=e,n=`${t}-btn`;return{[t]:{width:`100%`,[n]:{"&-filled":{background:e.colorFillTertiary,"&:not(:disabled)":{"&:hover":{background:e.colorFillSecondary},"&:active":{background:e.colorFill}}}}}}}),Zfe=C.forwardRef((e,t)=>{let{prefixCls:n,inputPrefixCls:r,className:i,size:a,style:o,enterButton:s=!1,addonAfter:c,loading:l,disabled:u,onSearch:d,onChange:f,onCompositionStart:p,onCompositionEnd:m,variant:h,onPressEnter:g,classNames:_,styles:v,hidden:y,...b}=e,{direction:x,getPrefixCls:S,classNames:w,styles:T}=ui(`inputSearch`),E={...e,enterButton:s},[D,O]=Id([w,_],[T,v],{props:E},{button:{_default:`root`}}),k=C.useRef(!1),A=S(`input-search`,n),j=S(`input`,r),[M,N]=Xfe(A),{compactSize:P}=Vm(A,x),F=Rm(e=>a??P??e),I=C.useRef(null),L=e=>{e?.target&&e.type===`click`&&d&&d(e.target.value,e,{source:`clear`}),f?.(e)},R=e=>{document.activeElement===I.current?.input&&e.preventDefault()},z=e=>{d&&d(I.current?.input?.value,e,{source:`input`})},B=e=>{k.current||l||(g?.(e),z(e))},V=typeof s==`boolean`?C.createElement(vb,null):null,H=`${A}-btn`,U=q(H,{[`${H}-${h}`]:h}),W,ee=s||{},te=ee.type&&ee.type.__ANT_BUTTON===!0;W=te||ee.type===`button`?Fp(ee,{onMouseDown:R,onClick:e=>{ee?.props?.onClick?.(e),z(e)},key:`enterButton`,...te?{className:U,size:F}:{}}):C.createElement(tg,{classNames:D.button,styles:O.button,className:U,color:s?`primary`:`default`,size:F,disabled:u,key:`enterButton`,onMouseDown:R,onClick:z,loading:l,icon:V,variant:h===`borderless`||h===`filled`||h===`underlined`?`text`:s?`solid`:void 0},s),c&&(W=[W,Fp(c,{key:`addonAfter`})]);let ne=q(A,N,{[`${A}-rtl`]:x===`rtl`,[`${A}-${F}`]:!!F,[`${A}-with-button`]:!!s},i,M,D.root),re=e=>{k.current=!0,p?.(e)},ie=e=>{k.current=!1,m?.(e)},ae=Hu(b,{data:!0}),G=Cr({...b,classNames:Cr(D,[`button`,`root`]),styles:Cr(O,[`button`,`root`]),prefixCls:j,type:`search`,size:F,variant:h,onPressEnter:B,onCompositionStart:re,onCompositionEnd:ie,onChange:L,disabled:u},Object.keys(ae));return C.createElement(Wm,{className:ne,style:{...o,...O.root},...ae,hidden:y},C.createElement(Lj,{ref:er(I,t),...G}),W)}),Qfe=` min-height:0 !important; max-height:none !important; height:0 !important; @@ -312,10 +312,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho top:0 !important; right:0 !important; pointer-events: none !important; -`,Xfe=[`letter-spacing`,`line-height`,`padding-top`,`padding-bottom`,`font-family`,`font-weight`,`font-size`,`font-variant`,`text-rendering`,`text-transform`,`width`,`text-indent`,`padding-left`,`padding-right`,`border-width`,`box-sizing`,`word-break`,`white-space`],PN={},FN;function Zfe(e,t=!1){let n=e.getAttribute(`id`)||e.getAttribute(`data-reactid`)||e.getAttribute(`name`);if(t&&PN[n])return PN[n];let r=window.getComputedStyle(e),i=r.getPropertyValue(`box-sizing`)||r.getPropertyValue(`-moz-box-sizing`)||r.getPropertyValue(`-webkit-box-sizing`),a=parseFloat(r.getPropertyValue(`padding-bottom`))+parseFloat(r.getPropertyValue(`padding-top`)),o=parseFloat(r.getPropertyValue(`border-bottom-width`))+parseFloat(r.getPropertyValue(`border-top-width`)),s={sizingStyle:Xfe.map(e=>`${e}:${r.getPropertyValue(e)}`).join(`;`),paddingSize:a,borderSize:o,boxSizing:i};return t&&n&&(PN[n]=s),s}function Qfe(e,t=!1,n=null,r=null){FN||(FN=document.createElement(`textarea`),FN.setAttribute(`tab-index`,`-1`),FN.setAttribute(`aria-hidden`,`true`),FN.setAttribute(`name`,`hiddenTextarea`),document.body.appendChild(FN)),e.getAttribute(`wrap`)?FN.setAttribute(`wrap`,e.getAttribute(`wrap`)):FN.removeAttribute(`wrap`);let{paddingSize:i,borderSize:a,boxSizing:o,sizingStyle:s}=Zfe(e,t);FN.setAttribute(`style`,`${s};${Yfe}`),FN.value=e.value||e.placeholder||``;let c,l,u,d=FN.scrollHeight;if(o===`border-box`?d+=a:o===`content-box`&&(d-=i),n!==null||r!==null){FN.value=` `;let e=FN.scrollHeight-i;n!==null&&(c=e*n,o===`border-box`&&(c=c+i+a),d=Math.max(c,d)),r!==null&&(l=e*r,o===`border-box`&&(l=l+i+a),u=d>l?``:`hidden`,d=Math.min(l,d))}let f={height:d,overflowY:u,resize:`none`};return c&&(f.minHeight=c),l&&(f.maxHeight=l),f}function IN(){return IN=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,defaultValue:r,value:i,autoSize:a,onResize:o,className:s,style:c,disabled:l,onChange:u,onInternalAutoSize:d,...f}=e,[p,m]=Wn(r,i),h=p??``,g=e=>{m(e.target.value),u?.(e)},_=C.useRef();C.useImperativeHandle(t,()=>({textArea:_.current}));let[v,y]=C.useMemo(()=>a&&typeof a==`object`?[a.minRows,a.maxRows]:[],[a]),b=!!a,[x,S]=C.useState(zN),[w,T]=C.useState(),E=()=>{S(LN)};Vn(()=>{b&&E()},[i,v,y,b]),Vn(()=>{if(x===LN)S(RN);else if(x===RN){let e=Qfe(_.current,!1,v,y);S(zN),T(e)}},[x]);let D=C.useRef(),O=()=>{ii.cancel(D.current)},k=e=>{x===zN&&(o?.(e),a&&(O(),D.current=ii(()=>{E()})))};C.useEffect(()=>O,[]);let A=b?w:null,j={...c,...A};return(x===LN||x===RN)&&(j.overflowY=`hidden`,j.overflowX=`hidden`),C.createElement(Gr,{onResize:k,disabled:!(a||o)},C.createElement(`textarea`,IN({},f,{ref:_,style:j,className:q(n,s,{[`${n}-disabled`]:l}),disabled:l,value:h,onChange:g})))});function BN(){return BN=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let[O,k]=Wn(e,t),A=O==null?``:String(O),[j,M]=C.useState(!1),N=C.useRef(!1),[P,F]=C.useState(null),I=(0,C.useRef)(null),L=(0,C.useRef)(null),R=()=>L.current?.textArea,z=()=>{R().focus()};(0,C.useImperativeHandle)(D,()=>({resizableTextArea:L.current,focus:z,blur:()=>{R().blur()},nativeElement:I.current?.nativeElement||R()})),(0,C.useEffect)(()=>{M(e=>!h&&e)},[h]);let[B,V]=C.useState(null);C.useEffect(()=>{B&&R().setSelectionRange(...B)},[B]);let H=Ij(f,d),U=H.max??o,W=Number(U)>0,ee=H.strategy(A),te=!!U&&ee>U,ne=(e,t)=>{let n=t;!N.current&&H.exceedFormatter&&H.max&&H.strategy(t)>H.max&&(n=H.exceedFormatter(t,{max:H.max}),t!==n&&V([R().selectionStart||0,R().selectionEnd||0])),k(n),Nj(e.currentTarget,e,i,n)},re=e=>{N.current=!0,s?.(e)},ie=e=>{N.current=!1,ne(e,e.currentTarget.value),c?.(e)},ae=e=>{ne(e,e.target.value)},G=e=>{e.key===`Enter`&&x&&!e.nativeEvent.isComposing&&x(e),T?.(e)},oe=e=>{M(!0),n?.(e)},K=e=>{M(!1),r?.(e)},se=e=>{k(``),z(),Nj(R(),e,i)},ce=l,le;H.show&&(le=H.showFormatter?H.showFormatter({value:A,count:ee,maxLength:U}):`${ee}${W?` / ${U}`:``}`,ce=C.createElement(C.Fragment,null,ce,C.createElement(`span`,{className:q(`${u}-data-count`,_?.count),style:v?.count},le)));let ue=e=>{y?.(e),R()?.style.height&&F(!0)},de=!w&&!d&&!a;return C.createElement(Fj,{ref:I,value:A,allowClear:a,handleReset:se,suffix:ce,prefixCls:u,classNames:{..._,affixWrapper:q(_?.affixWrapper,{[`${u}-show-count`]:d,[`${u}-textarea-allow-clear`]:a})},disabled:h,focused:j,className:q(p,te&&`${u}-out-of-range`),style:{...m,...P&&!de?{height:`auto`}:{}},dataAttrs:{affixWrapper:{"data-count":typeof le==`string`?le:void 0}},hidden:g,readOnly:S,onClear:b},C.createElement($fe,BN({},E,{autoSize:w,maxLength:o,onKeyDown:G,onChange:ae,onFocus:oe,onBlur:K,onCompositionStart:re,onCompositionEnd:ie,className:q(_?.textarea),style:{resize:m?.resize,...v?.textarea},disabled:h,prefixCls:u,onResize:ue,ref:L,readOnly:S})))}),tpe=e=>{let{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:`100%`,height:`auto`,minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:`bottom`,transition:`all ${e.motionDurationSlow}`,resize:`vertical`,[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:`auto`},[r]:{position:`relative`,"&-show-count":{[`${t}-data-count`]:{position:`absolute`,bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:`nowrap`,pointerEvents:`none`}},[` +`,$fe=[`letter-spacing`,`line-height`,`padding-top`,`padding-bottom`,`font-family`,`font-weight`,`font-size`,`font-variant`,`text-rendering`,`text-transform`,`width`,`text-indent`,`padding-left`,`padding-right`,`border-width`,`box-sizing`,`word-break`,`white-space`],jN={},MN;function epe(e,t=!1){let n=e.getAttribute(`id`)||e.getAttribute(`data-reactid`)||e.getAttribute(`name`);if(t&&jN[n])return jN[n];let r=window.getComputedStyle(e),i=r.getPropertyValue(`box-sizing`)||r.getPropertyValue(`-moz-box-sizing`)||r.getPropertyValue(`-webkit-box-sizing`),a=parseFloat(r.getPropertyValue(`padding-bottom`))+parseFloat(r.getPropertyValue(`padding-top`)),o=parseFloat(r.getPropertyValue(`border-bottom-width`))+parseFloat(r.getPropertyValue(`border-top-width`)),s={sizingStyle:$fe.map(e=>`${e}:${r.getPropertyValue(e)}`).join(`;`),paddingSize:a,borderSize:o,boxSizing:i};return t&&n&&(jN[n]=s),s}function tpe(e,t=!1,n=null,r=null){MN||(MN=document.createElement(`textarea`),MN.setAttribute(`tab-index`,`-1`),MN.setAttribute(`aria-hidden`,`true`),MN.setAttribute(`name`,`hiddenTextarea`),document.body.appendChild(MN)),e.getAttribute(`wrap`)?MN.setAttribute(`wrap`,e.getAttribute(`wrap`)):MN.removeAttribute(`wrap`);let{paddingSize:i,borderSize:a,boxSizing:o,sizingStyle:s}=epe(e,t);MN.setAttribute(`style`,`${s};${Qfe}`),MN.value=e.value||e.placeholder||``;let c,l,u,d=MN.scrollHeight;if(o===`border-box`?d+=a:o===`content-box`&&(d-=i),n!==null||r!==null){MN.value=` `;let e=MN.scrollHeight-i;n!==null&&(c=e*n,o===`border-box`&&(c=c+i+a),d=Math.max(c,d)),r!==null&&(l=e*r,o===`border-box`&&(l=l+i+a),u=d>l?``:`hidden`,d=Math.min(l,d))}let f={height:d,overflowY:u,resize:`none`};return c&&(f.minHeight=c),l&&(f.maxHeight=l),f}function NN(){return NN=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,defaultValue:r,value:i,autoSize:a,onResize:o,className:s,style:c,disabled:l,onChange:u,onInternalAutoSize:d,...f}=e,[p,m]=Wn(r,i),h=p??``,g=e=>{m(e.target.value),u?.(e)},_=C.useRef();C.useImperativeHandle(t,()=>({textArea:_.current}));let[v,y]=C.useMemo(()=>a&&typeof a==`object`?[a.minRows,a.maxRows]:[],[a]),b=!!a,[x,S]=C.useState(IN),[w,T]=C.useState(),E=()=>{S(PN)};Vn(()=>{b&&E()},[i,v,y,b]),Vn(()=>{if(x===PN)S(FN);else if(x===FN){let e=tpe(_.current,!1,v,y);S(IN),T(e)}},[x]);let D=C.useRef(),O=()=>{ii.cancel(D.current)},k=e=>{x===IN&&(o?.(e),a&&(O(),D.current=ii(()=>{E()})))};C.useEffect(()=>O,[]);let A=b?w:null,j={...c,...A};return(x===PN||x===FN)&&(j.overflowY=`hidden`,j.overflowX=`hidden`),C.createElement(Gr,{onResize:k,disabled:!(a||o)},C.createElement(`textarea`,NN({},f,{ref:_,style:j,className:q(n,s,{[`${n}-disabled`]:l}),disabled:l,value:h,onChange:g})))});function LN(){return LN=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let[O,k]=Wn(e,t),A=O==null?``:String(O),[j,M]=C.useState(!1),N=C.useRef(!1),[P,F]=C.useState(null),I=(0,C.useRef)(null),L=(0,C.useRef)(null),R=()=>L.current?.textArea,z=()=>{R().focus()};(0,C.useImperativeHandle)(D,()=>({resizableTextArea:L.current,focus:z,blur:()=>{R().blur()},nativeElement:I.current?.nativeElement||R()})),(0,C.useEffect)(()=>{M(e=>!h&&e)},[h]);let[B,V]=C.useState(null);C.useEffect(()=>{B&&R().setSelectionRange(...B)},[B]);let H=Nj(f,d),U=H.max??o,W=Number(U)>0,ee=H.strategy(A),te=!!U&&ee>U,ne=(e,t)=>{let n=t;!N.current&&H.exceedFormatter&&H.max&&H.strategy(t)>H.max&&(n=H.exceedFormatter(t,{max:H.max}),t!==n&&V([R().selectionStart||0,R().selectionEnd||0])),k(n),Aj(e.currentTarget,e,i,n)},re=e=>{N.current=!0,s?.(e)},ie=e=>{N.current=!1,ne(e,e.currentTarget.value),c?.(e)},ae=e=>{ne(e,e.target.value)},G=e=>{e.key===`Enter`&&x&&!e.nativeEvent.isComposing&&x(e),T?.(e)},oe=e=>{M(!0),n?.(e)},K=e=>{M(!1),r?.(e)},se=e=>{k(``),z(),Aj(R(),e,i)},ce=l,le;H.show&&(le=H.showFormatter?H.showFormatter({value:A,count:ee,maxLength:U}):`${ee}${W?` / ${U}`:``}`,ce=C.createElement(C.Fragment,null,ce,C.createElement(`span`,{className:q(`${u}-data-count`,_?.count),style:v?.count},le)));let ue=e=>{y?.(e),R()?.style.height&&F(!0)},de=!w&&!d&&!a;return C.createElement(Mj,{ref:I,value:A,allowClear:a,handleReset:se,suffix:ce,prefixCls:u,classNames:{..._,affixWrapper:q(_?.affixWrapper,{[`${u}-show-count`]:d,[`${u}-textarea-allow-clear`]:a})},disabled:h,focused:j,className:q(p,te&&`${u}-out-of-range`),style:{...m,...P&&!de?{height:`auto`}:{}},dataAttrs:{affixWrapper:{"data-count":typeof le==`string`?le:void 0}},hidden:g,readOnly:S,onClear:b},C.createElement(npe,LN({},E,{autoSize:w,maxLength:o,onKeyDown:G,onChange:ae,onFocus:oe,onBlur:K,onCompositionStart:re,onCompositionEnd:ie,className:q(_?.textarea),style:{resize:m?.resize,...v?.textarea},disabled:h,prefixCls:u,onResize:ue,ref:L,readOnly:S})))}),ipe=e=>{let{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:`100%`,height:`auto`,minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:`bottom`,transition:`all ${e.motionDurationSlow}`,resize:`vertical`,[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:`auto`},[r]:{position:`relative`,"&-show-count":{[`${t}-data-count`]:{position:`absolute`,bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:`nowrap`,pointerEvents:`none`}},[` &-allow-clear > ${t}, &-affix-wrapper${r}-has-feedback ${t} - `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:`inherit`,border:`none`,outline:`none`,background:`transparent`,minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:`none !important`}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:`absolute`,insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:`absolute`,top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:`inline-flex`,alignItems:`center`,margin:`auto`,pointerEvents:`none`}}},[`&-affix-wrapper${t}-affix-wrapper-rtl`]:{[`${t}-suffix`]:{[`${t}-data-count`]:{direction:`ltr`,insetInlineStart:0}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},npe=il([`Input`,`TextArea`],e=>tpe(_s(e,Hk(e))),Uk,{resetFont:!1}),VN=(0,C.forwardRef)((e,t)=>{let{prefixCls:n,bordered:r=!0,size:i,disabled:a,status:o,allowClear:s,classNames:c,rootClassName:l,className:u,style:d,styles:f,variant:p,showCount:m,onMouseDown:h,onResize:g,..._}=e,{getPrefixCls:v,direction:y,allowClear:b,autoComplete:x,className:S,style:w,classNames:T,styles:E}=ui(`textArea`),D=C.useContext(Bp),O=a??D,{status:k,hasFeedback:A,feedbackIcon:j}=C.useContext(N_),M=Yy(k,o),[N,P]=Id([T,c],[E,f],{props:e}),F=C.useRef(null);C.useImperativeHandle(t,()=>({resizableTextArea:F.current?.resizableTextArea,focus:e=>{pg(F.current?.resizableTextArea?.textArea,e)},blur:()=>F.current?.blur(),nativeElement:F.current?.nativeElement||null}));let I=v(`input`,n),L=xf(I),[R,z]=sA(I,l);npe(I,L);let{compactSize:B,compactItemClassnames:V}=Im(I,y),H=Pm(e=>i??B??e),[U,W]=eb(`textArea`,p,r),ee=Rj(s??b),[te,ne]=C.useState(!1),[re,ie]=C.useState(!1),ae=e=>{ne(!0),h?.(e);let t=()=>{ne(!1),document.removeEventListener(`mouseup`,t)};document.addEventListener(`mouseup`,t)},G=e=>{if(g?.(e),te&&typeof getComputedStyle==`function`){let e=F.current?.nativeElement?.querySelector(`textarea`);e&&getComputedStyle(e).resize===`both`&&ie(!0)}};return C.createElement(epe,{autoComplete:x,..._,style:{...P.root,...w,...d},styles:P,disabled:O,allowClear:ee,className:q(z,L,u,l,V,S,N.root,{[`${I}-textarea-affix-wrapper-resize-dirty`]:re}),classNames:{...N,textarea:q({[`${I}-sm`]:H===`small`,[`${I}-lg`]:H===`large`},R,N.textarea,te&&`${I}-mouse-active`),variant:q({[`${I}-${U}`]:W},Jy(I,M)),affixWrapper:q(`${I}-textarea-affix-wrapper`,{[`${I}-affix-wrapper-rtl`]:y===`rtl`,[`${I}-affix-wrapper-sm`]:H===`small`,[`${I}-affix-wrapper-lg`]:H===`large`,[`${I}-textarea-show-count`]:m||e.count?.show},R)},prefixCls:I,suffix:A&&C.createElement(`span`,{className:`${I}-textarea-suffix`},j),showCount:m,ref:F,onResize:G,onMouseDown:ae})}),HN=Bj;HN.Group=Ife,HN.Search=Jfe,HN.TextArea=VN,HN.Password=Kfe,HN.OTP=Vfe;function rpe(e,t,n){return typeof n==`boolean`?n:e.length?!0:wr(t).some(e=>e.type===MS)}var UN=({suffixCls:e,tagName:t,displayName:n})=>n=>C.forwardRef((r,i)=>C.createElement(n,{ref:i,suffixCls:e,tagName:t,...r})),WN=C.forwardRef((e,t)=>{let{prefixCls:n,suffixCls:r,className:i,tagName:a,...o}=e,{getPrefixCls:s}=C.useContext(si),c=s(`layout`,n),[l]=ES(c),u=r?`${c}-${r}`:c;return C.createElement(a,{className:q(n||u,i,l),ref:t,...o})}),ipe=C.forwardRef((e,t)=>{let{direction:n}=C.useContext(si),[r,i]=C.useState([]),{prefixCls:a,className:o,rootClassName:s,children:c,hasSider:l,tagName:u,style:d,...f}=e,p=Cr(f,[`suffixCls`]),{getPrefixCls:m,className:h,style:g}=ui(`layout`),_=m(`layout`,a),v=rpe(r,c,l),[y,b]=ES(_),x=q(_,{[`${_}-has-sider`]:v,[`${_}-rtl`]:n===`rtl`},h,o,s,y,b),S=C.useMemo(()=>({siderHook:{addSider:e=>{i(t=>[].concat(Qr(t),[e]))},removeSider:e=>{i(t=>t.filter(t=>t!==e))}}}),[]);return C.createElement(SS.Provider,{value:S},C.createElement(u,{ref:t,className:x,style:{...g,...d},...p},c))}),ape=UN({tagName:`div`,displayName:`Layout`})(ipe),ope=UN({suffixCls:`header`,tagName:`header`,displayName:`Header`})(WN),spe=UN({suffixCls:`footer`,tagName:`footer`,displayName:`Footer`})(WN),cpe=UN({suffixCls:`content`,tagName:`main`,displayName:`Content`})(WN),GN=ape;GN.Header=ope,GN.Footer=spe,GN.Content=cpe,GN.Sider=MS,GN._InternalSiderContext=AS;var lpe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z`}}]},name:`double-left`,theme:`outlined`};function KN(){return KN=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KN({},e,{ref:t,icon:lpe}))),upe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z`}}]},name:`double-right`,theme:`outlined`};function JN(){return JN=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,JN({},e,{ref:t,icon:upe}))),dpe={items_per_page:`条/页`,jump_to:`跳至`,jump_to_confirm:`确定`,page:`页`,prev_page:`上一页`,next_page:`下一页`,prev_5:`向前 5 页`,next_5:`向后 5 页`,prev_3:`向前 3 页`,next_3:`向后 3 页`,page_size:`页码`},fpe=[10,20,50,100],ppe=e=>{let{pageSizeOptions:t=fpe,locale:n,changeSize:r,pageSize:i,goButton:a,quickGo:o,rootPrefixCls:s,disabled:c,buildOptionText:l,showSizeChanger:u,sizeChangerRender:d}=e,[f,p]=C.useState(``),m=C.useMemo(()=>!f||Number.isNaN(f)?void 0:Number(f),[f]),h=typeof l==`function`?l:e=>`${e} ${n.items_per_page}`,g=e=>{let t=e.target.value;/^\d*$/.test(t)&&p(t)},_=e=>{a||f===``||(p(``),!(e.relatedTarget&&(e.relatedTarget.className.includes(`${s}-item-link`)||e.relatedTarget.className.includes(`${s}-item`)))&&o?.(m))},v=e=>{f!==``&&(e.keyCode===Qp.ENTER||e.type===`click`)&&(p(``),o?.(m))},y=()=>t.some(e=>e.toString()===i.toString())?t:t.concat([i]).sort((e,t)=>(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))),b=`${s}-options`;if(!u&&!o)return null;let x=null,S=null,w=null;return u&&d&&(x=d({disabled:c,size:i,onSizeChange:e=>{r?.(Number(e))},"aria-label":n.page_size,className:`${b}-size-changer`,options:y().map(e=>({label:h(e),value:e}))})),o&&(a&&(w=typeof a==`boolean`?C.createElement(`button`,{type:`button`,onClick:v,onKeyUp:v,disabled:c,className:`${b}-quick-jumper-button`},n.jump_to_confirm):C.createElement(`span`,{onClick:v,onKeyUp:v},a)),S=C.createElement(`div`,{className:`${b}-quick-jumper`},n.jump_to,C.createElement(`input`,{disabled:c,type:`text`,value:f,onChange:g,onKeyUp:v,onBlur:_,"aria-label":n.page}),n.page,w)),C.createElement(`li`,{className:b},x,S)},XN=e=>{let{rootPrefixCls:t,page:n,active:r,className:i,style:a,showTitle:o,onClick:s,onKeyPress:c,itemRender:l}=e,u=`${t}-item`,d=q(u,`${u}-${n}`,{[`${u}-active`]:r,[`${u}-disabled`]:!n},i),f=()=>{s(n)},p=e=>{c(e,s,n)},m=l(n,`page`,C.createElement(`a`,{rel:`nofollow`},n));return m?C.createElement(`li`,{title:o?String(n):null,className:d,style:a,onClick:f,onKeyDown:p,tabIndex:0},m):null};function ZN(){return ZN=Object.assign?Object.assign.bind():function(e){for(var t=1;tn;function QN(){}function $N(e){let t=Number(e);return typeof t==`number`&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function eP(e,t,n){let r=e===void 0?t:e;return Math.floor((n-1)/r)+1}var hpe=e=>{let{prefixCls:t=`rc-pagination`,selectPrefixCls:n=`rc-select`,className:r,classNames:i,styles:a,current:o,defaultCurrent:s=1,total:c=0,pageSize:l,defaultPageSize:u=10,onChange:d=QN,hideOnSinglePage:f,align:p,showPrevNextJumpers:m=!0,showQuickJumper:h,showLessItems:g,showTitle:_=!0,onShowSizeChange:v=QN,locale:y=dpe,style:b,totalBoundaryShowSizeChanger:x=50,disabled:S,simple:w,showTotal:T,showSizeChanger:E=c>x,sizeChangerRender:D,pageSizeOptions:O,itemRender:k=mpe,jumpPrevIcon:A,jumpNextIcon:j,prevIcon:M,nextIcon:N}=e,P=C.useRef(null),[F,I]=Wn(u,l),[L,R]=Wn(s,o),z=Math.max(1,Math.min(L,eP(void 0,F,c))),[B,V]=C.useState(z);(0,C.useEffect)(()=>{V(z)},[z]),`current`in e;let H=Math.max(1,z-(g?3:5)),U=Math.min(eP(void 0,F,c),z+(g?3:5));function W(n,r){let i=n||C.createElement(`button`,{type:`button`,"aria-label":r,className:`${t}-item-link`});return typeof n==`function`&&(i=C.createElement(n,e)),i}function ee(e){let t=e.target.value,n=eP(void 0,F,c),r;return r=t===``?t:Number.isNaN(Number(t))?B:t>=n?n:Number(t),r}function te(e){return $N(e)&&e!==z&&$N(c)&&c>0}let ne=c>F?h:!1;function re(e){(e.keyCode===Qp.UP||e.keyCode===Qp.DOWN)&&e.preventDefault()}function ie(e){let t=ee(e);switch(t!==B&&V(t),e.keyCode){case Qp.ENTER:oe(t);break;case Qp.UP:oe(t-1);break;case Qp.DOWN:oe(t+1);break;default:break}}function ae(e){oe(ee(e))}function G(e){let t=eP(e,F,c),n=z>t&&t!==0?t:z;I(e),V(n),v?.(z,e),R(n),d?.(n,e)}function oe(e){if(te(e)&&!S){let t=eP(void 0,F,c),n=e;return e>t?n=t:e<1&&(n=1),n!==B&&V(n),R(n),d?.(n,F),n}return z}let K=z>1,se=zc?c:z*F])),Ce=null,we=eP(void 0,F,c);if(f&&c<=F)return null;let Te=[],Ee={rootPrefixCls:t,onClick:oe,onKeyPress:fe,showTitle:_,itemRender:k,page:-1,className:i?.item,style:a?.item},De=z-1>0?z-1:0,Oe=z+1=Ne*2&&z!==3&&(Te[0]=C.cloneElement(Te[0],{className:q(`${t}-item-after-jump-prev`,Te[0].props.className)}),Te.unshift(be)),we-z>=Ne*2&&z!==we-2){let e=Te[Te.length-1];Te[Te.length-1]=C.cloneElement(e,{className:q(`${t}-item-before-jump-next`,e.props.className)}),Te.push(Ce)}a!==1&&Te.unshift(C.createElement(XN,ZN({},Ee,{key:1,page:1}))),o!==we&&Te.push(C.createElement(XN,ZN({},Ee,{key:we,page:we})))}let Pe=_e(De);if(Pe){let e=!K||!we;Pe=C.createElement(`li`,{title:_?y.prev_page:null,onClick:ce,tabIndex:e?null:0,onKeyDown:pe,className:q(`${t}-prev`,i?.item,{[`${t}-disabled`]:e}),style:a?.item,"aria-disabled":e},Pe)}let Fe=ve(Oe);if(Fe){let e,n;w?(e=!se,n=K?0:null):(e=!se||!we,n=e?null:0),Fe=C.createElement(`li`,{title:_?y.next_page:null,onClick:le,tabIndex:n,onKeyDown:me,className:q(`${t}-next`,i?.item,{[`${t}-disabled`]:e}),style:a?.item,"aria-disabled":e},Fe)}let Ie=q(t,r,{[`${t}-start`]:p===`start`,[`${t}-center`]:p===`center`,[`${t}-end`]:p===`end`,[`${t}-simple`]:w,[`${t}-disabled`]:S});return C.createElement(`ul`,ZN({className:Ie,style:b,ref:P},xe),Se,Pe,w?Me:Te,Fe,C.createElement(ppe,{locale:y,rootPrefixCls:t,disabled:S,selectPrefixCls:n,changeSize:G,pageSize:F,pageSizeOptions:O,quickGo:ne?oe:null,goButton:je,showSizeChanger:E,sizeChangerRender:D}))},gpe=e=>{let{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:`not-allowed`,[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:`not-allowed`}},"&:focus-visible":{cursor:`not-allowed`,[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:`not-allowed`}}},[`&${t}-disabled`]:{cursor:`not-allowed`,[`${t}-item`]:{cursor:`not-allowed`,backgroundColor:`transparent`,"&:hover, &:active":{backgroundColor:`transparent`},a:{color:e.colorTextDisabled,backgroundColor:`transparent`,border:`none`,cursor:`not-allowed`},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:`not-allowed`,"&:hover, &:active":{backgroundColor:`transparent`},[`${t}-simple&`]:{backgroundColor:`transparent`,"&:hover, &:active":{backgroundColor:`transparent`}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}}}},_pe=e=>{let{componentCls:t}=e;return{[`&${t}-small ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-quick-jumper":{input:{...aA(e),width:e.paginationMiniQuickJumperInputWidth}}}}},vpe=e=>{let{componentCls:t}=e;return{[`&${t}-large ${t}-options`]:{"&-quick-jumper":{input:{...iA(e)}}}}},ype=e=>{let{componentCls:t,antCls:n}=e,[,r]=sl(n,`pagination`);return{[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{height:r(`item-size-actual`),lineHeight:r(`item-size-actual`),verticalAlign:`top`,[`${t}-item-link`]:{height:r(`item-size-actual`),backgroundColor:`transparent`,border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:r(`item-size-actual`),lineHeight:r(`item-size-actual`)}}},[`${t}-simple-pager`]:{display:`inline-flex`,alignItems:`center`,height:r(`item-size-actual`),marginInlineEnd:r(`item-spacing-actual`),input:{boxSizing:`border-box`,height:`100%`,width:e.quickJumperInputWidth,padding:`0 ${J(e.paginationItemPaddingInline)}`,textAlign:`center`,backgroundColor:e.itemInputBg,border:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:`none`,transition:`border-color ${e.motionDurationMid}`,color:`inherit`,"&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${J(e.inputOutlineOffset)} 0 ${J(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:`not-allowed`}}},[`&${t}-disabled`]:{[`${t}-prev, ${t}-next`]:{[`${t}-item-link`]:{"&:hover, &:active":{backgroundColor:`transparent`}}}},[`&${t}-small`]:{[`${t}-simple-pager`]:{input:{width:e.paginationMiniQuickJumperInputWidth}}}}}},bpe=e=>{let{componentCls:t,antCls:n}=e,[,r]=sl(n,`pagination`);return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:`relative`,[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:`auto`}},[`${t}-item-ellipsis`]:{position:`absolute`,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:`block`,margin:`auto`,color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:`center`,textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` + `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:`inherit`,border:`none`,outline:`none`,background:`transparent`,minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:`none !important`}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:`absolute`,insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:`absolute`,top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:`inline-flex`,alignItems:`center`,margin:`auto`,pointerEvents:`none`}}},[`&-affix-wrapper${t}-affix-wrapper-rtl`]:{[`${t}-suffix`]:{[`${t}-data-count`]:{direction:`ltr`,insetInlineStart:0}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},ape=il([`Input`,`TextArea`],e=>ipe(_s(e,zk(e))),Bk,{resetFont:!1}),RN=(0,C.forwardRef)((e,t)=>{let{prefixCls:n,bordered:r=!0,size:i,disabled:a,status:o,allowClear:s,classNames:c,rootClassName:l,className:u,style:d,styles:f,variant:p,showCount:m,onMouseDown:h,onResize:g,..._}=e,{getPrefixCls:v,direction:y,allowClear:b,autoComplete:x,className:S,style:w,classNames:T,styles:E}=ui(`textArea`),D=C.useContext(Bp),O=a??D,{status:k,hasFeedback:A,feedbackIcon:j}=C.useContext(B_),M=By(k,o),[N,P]=Id([T,c],[E,f],{props:e}),F=C.useRef(null);C.useImperativeHandle(t,()=>({resizableTextArea:F.current?.resizableTextArea,focus:e=>{fg(F.current?.resizableTextArea?.textArea,e)},blur:()=>F.current?.blur(),nativeElement:F.current?.nativeElement||null}));let I=v(`input`,n),L=xf(I),[R,z]=iA(I,l);ape(I,L);let{compactSize:B,compactItemClassnames:V}=Vm(I,y),H=Rm(e=>i??B??e),[U,W]=Yy(`textArea`,p,r),ee=Fj(s??b),[te,ne]=C.useState(!1),[re,ie]=C.useState(!1),ae=e=>{ne(!0),h?.(e);let t=()=>{ne(!1),document.removeEventListener(`mouseup`,t)};document.addEventListener(`mouseup`,t)},G=e=>{if(g?.(e),te&&typeof getComputedStyle==`function`){let e=F.current?.nativeElement?.querySelector(`textarea`);e&&getComputedStyle(e).resize===`both`&&ie(!0)}};return C.createElement(rpe,{autoComplete:x,..._,style:{...P.root,...w,...d},styles:P,disabled:O,allowClear:ee,className:q(z,L,u,l,V,S,N.root,{[`${I}-textarea-affix-wrapper-resize-dirty`]:re}),classNames:{...N,textarea:q({[`${I}-sm`]:H===`small`,[`${I}-lg`]:H===`large`},R,N.textarea,te&&`${I}-mouse-active`),variant:q({[`${I}-${U}`]:W},zy(I,M)),affixWrapper:q(`${I}-textarea-affix-wrapper`,{[`${I}-affix-wrapper-rtl`]:y===`rtl`,[`${I}-affix-wrapper-sm`]:H===`small`,[`${I}-affix-wrapper-lg`]:H===`large`,[`${I}-textarea-show-count`]:m||e.count?.show},R)},prefixCls:I,suffix:A&&C.createElement(`span`,{className:`${I}-textarea-suffix`},j),showCount:m,ref:F,onResize:G,onMouseDown:ae})}),zN=Lj;zN.Group=zfe,zN.Search=Zfe,zN.TextArea=RN,zN.Password=Yfe,zN.OTP=Wfe;function ope(e,t,n){return typeof n==`boolean`?n:e.length?!0:wr(t).some(e=>e.type===PS)}var BN=({suffixCls:e,tagName:t,displayName:n})=>n=>C.forwardRef((r,i)=>C.createElement(n,{ref:i,suffixCls:e,tagName:t,...r})),VN=C.forwardRef((e,t)=>{let{prefixCls:n,suffixCls:r,className:i,tagName:a,...o}=e,{getPrefixCls:s}=C.useContext(si),c=s(`layout`,n),[l]=jS(c),u=r?`${c}-${r}`:c;return C.createElement(a,{className:q(n||u,i,l),ref:t,...o})}),spe=C.forwardRef((e,t)=>{let{direction:n}=C.useContext(si),[r,i]=C.useState([]),{prefixCls:a,className:o,rootClassName:s,children:c,hasSider:l,tagName:u,style:d,...f}=e,p=Cr(f,[`suffixCls`]),{getPrefixCls:m,className:h,style:g}=ui(`layout`),_=m(`layout`,a),v=ope(r,c,l),[y,b]=jS(_),x=q(_,{[`${_}-has-sider`]:v,[`${_}-rtl`]:n===`rtl`},h,o,s,y,b),S=C.useMemo(()=>({siderHook:{addSider:e=>{i(t=>[].concat(Qr(t),[e]))},removeSider:e=>{i(t=>t.filter(t=>t!==e))}}}),[]);return C.createElement(OS.Provider,{value:S},C.createElement(u,{ref:t,className:x,style:{...g,...d},...p},c))}),cpe=BN({tagName:`div`,displayName:`Layout`})(spe),lpe=BN({suffixCls:`header`,tagName:`header`,displayName:`Header`})(VN),upe=BN({suffixCls:`footer`,tagName:`footer`,displayName:`Footer`})(VN),dpe=BN({suffixCls:`content`,tagName:`main`,displayName:`Content`})(VN),HN=cpe;HN.Header=lpe,HN.Footer=upe,HN.Content=dpe,HN.Sider=PS,HN._InternalSiderContext=NS;var fpe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z`}}]},name:`double-left`,theme:`outlined`};function UN(){return UN=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UN({},e,{ref:t,icon:fpe}))),ppe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z`}}]},name:`double-right`,theme:`outlined`};function GN(){return GN=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,GN({},e,{ref:t,icon:ppe}))),mpe={items_per_page:`条/页`,jump_to:`跳至`,jump_to_confirm:`确定`,page:`页`,prev_page:`上一页`,next_page:`下一页`,prev_5:`向前 5 页`,next_5:`向后 5 页`,prev_3:`向前 3 页`,next_3:`向后 3 页`,page_size:`页码`},hpe=[10,20,50,100],gpe=e=>{let{pageSizeOptions:t=hpe,locale:n,changeSize:r,pageSize:i,goButton:a,quickGo:o,rootPrefixCls:s,disabled:c,buildOptionText:l,showSizeChanger:u,sizeChangerRender:d}=e,[f,p]=C.useState(``),m=C.useMemo(()=>!f||Number.isNaN(f)?void 0:Number(f),[f]),h=typeof l==`function`?l:e=>`${e} ${n.items_per_page}`,g=e=>{let t=e.target.value;/^\d*$/.test(t)&&p(t)},_=e=>{a||f===``||(p(``),!(e.relatedTarget&&(e.relatedTarget.className.includes(`${s}-item-link`)||e.relatedTarget.className.includes(`${s}-item`)))&&o?.(m))},v=e=>{f!==``&&(e.keyCode===em.ENTER||e.type===`click`)&&(p(``),o?.(m))},y=()=>t.some(e=>e.toString()===i.toString())?t:t.concat([i]).sort((e,t)=>(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))),b=`${s}-options`;if(!u&&!o)return null;let x=null,S=null,w=null;return u&&d&&(x=d({disabled:c,size:i,onSizeChange:e=>{r?.(Number(e))},"aria-label":n.page_size,className:`${b}-size-changer`,options:y().map(e=>({label:h(e),value:e}))})),o&&(a&&(w=typeof a==`boolean`?C.createElement(`button`,{type:`button`,onClick:v,onKeyUp:v,disabled:c,className:`${b}-quick-jumper-button`},n.jump_to_confirm):C.createElement(`span`,{onClick:v,onKeyUp:v},a)),S=C.createElement(`div`,{className:`${b}-quick-jumper`},n.jump_to,C.createElement(`input`,{disabled:c,type:`text`,value:f,onChange:g,onKeyUp:v,onBlur:_,"aria-label":n.page}),n.page,w)),C.createElement(`li`,{className:b},x,S)},qN=e=>{let{rootPrefixCls:t,page:n,active:r,className:i,style:a,showTitle:o,onClick:s,onKeyPress:c,itemRender:l}=e,u=`${t}-item`,d=q(u,`${u}-${n}`,{[`${u}-active`]:r,[`${u}-disabled`]:!n},i),f=()=>{s(n)},p=e=>{c(e,s,n)},m=l(n,`page`,C.createElement(`a`,{rel:`nofollow`},n));return m?C.createElement(`li`,{title:o?String(n):null,className:d,style:a,onClick:f,onKeyDown:p,tabIndex:0},m):null};function JN(){return JN=Object.assign?Object.assign.bind():function(e){for(var t=1;tn;function YN(){}function XN(e){let t=Number(e);return typeof t==`number`&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function ZN(e,t,n){let r=e===void 0?t:e;return Math.floor((n-1)/r)+1}var vpe=e=>{let{prefixCls:t=`rc-pagination`,selectPrefixCls:n=`rc-select`,className:r,classNames:i,styles:a,current:o,defaultCurrent:s=1,total:c=0,pageSize:l,defaultPageSize:u=10,onChange:d=YN,hideOnSinglePage:f,align:p,showPrevNextJumpers:m=!0,showQuickJumper:h,showLessItems:g,showTitle:_=!0,onShowSizeChange:v=YN,locale:y=mpe,style:b,totalBoundaryShowSizeChanger:x=50,disabled:S,simple:w,showTotal:T,showSizeChanger:E=c>x,sizeChangerRender:D,pageSizeOptions:O,itemRender:k=_pe,jumpPrevIcon:A,jumpNextIcon:j,prevIcon:M,nextIcon:N}=e,P=C.useRef(null),[F,I]=Wn(u,l),[L,R]=Wn(s,o),z=Math.max(1,Math.min(L,ZN(void 0,F,c))),[B,V]=C.useState(z);(0,C.useEffect)(()=>{V(z)},[z]),`current`in e;let H=Math.max(1,z-(g?3:5)),U=Math.min(ZN(void 0,F,c),z+(g?3:5));function W(n,r){let i=n||C.createElement(`button`,{type:`button`,"aria-label":r,className:`${t}-item-link`});return typeof n==`function`&&(i=C.createElement(n,e)),i}function ee(e){let t=e.target.value,n=ZN(void 0,F,c),r;return r=t===``?t:Number.isNaN(Number(t))?B:t>=n?n:Number(t),r}function te(e){return XN(e)&&e!==z&&XN(c)&&c>0}let ne=c>F?h:!1;function re(e){(e.keyCode===em.UP||e.keyCode===em.DOWN)&&e.preventDefault()}function ie(e){let t=ee(e);switch(t!==B&&V(t),e.keyCode){case em.ENTER:oe(t);break;case em.UP:oe(t-1);break;case em.DOWN:oe(t+1);break;default:break}}function ae(e){oe(ee(e))}function G(e){let t=ZN(e,F,c),n=z>t&&t!==0?t:z;I(e),V(n),v?.(z,e),R(n),d?.(n,e)}function oe(e){if(te(e)&&!S){let t=ZN(void 0,F,c),n=e;return e>t?n=t:e<1&&(n=1),n!==B&&V(n),R(n),d?.(n,F),n}return z}let K=z>1,se=zc?c:z*F])),Ce=null,we=ZN(void 0,F,c);if(f&&c<=F)return null;let Te=[],Ee={rootPrefixCls:t,onClick:oe,onKeyPress:fe,showTitle:_,itemRender:k,page:-1,className:i?.item,style:a?.item},De=z-1>0?z-1:0,Oe=z+1=Ne*2&&z!==3&&(Te[0]=C.cloneElement(Te[0],{className:q(`${t}-item-after-jump-prev`,Te[0].props.className)}),Te.unshift(be)),we-z>=Ne*2&&z!==we-2){let e=Te[Te.length-1];Te[Te.length-1]=C.cloneElement(e,{className:q(`${t}-item-before-jump-next`,e.props.className)}),Te.push(Ce)}a!==1&&Te.unshift(C.createElement(qN,JN({},Ee,{key:1,page:1}))),o!==we&&Te.push(C.createElement(qN,JN({},Ee,{key:we,page:we})))}let Pe=_e(De);if(Pe){let e=!K||!we;Pe=C.createElement(`li`,{title:_?y.prev_page:null,onClick:ce,tabIndex:e?null:0,onKeyDown:pe,className:q(`${t}-prev`,i?.item,{[`${t}-disabled`]:e}),style:a?.item,"aria-disabled":e},Pe)}let Fe=ve(Oe);if(Fe){let e,n;w?(e=!se,n=K?0:null):(e=!se||!we,n=e?null:0),Fe=C.createElement(`li`,{title:_?y.next_page:null,onClick:le,tabIndex:n,onKeyDown:me,className:q(`${t}-next`,i?.item,{[`${t}-disabled`]:e}),style:a?.item,"aria-disabled":e},Fe)}let Ie=q(t,r,{[`${t}-start`]:p===`start`,[`${t}-center`]:p===`center`,[`${t}-end`]:p===`end`,[`${t}-simple`]:w,[`${t}-disabled`]:S});return C.createElement(`ul`,JN({className:Ie,style:b,ref:P},xe),Se,Pe,w?Me:Te,Fe,C.createElement(gpe,{locale:y,rootPrefixCls:t,disabled:S,selectPrefixCls:n,changeSize:G,pageSize:F,pageSizeOptions:O,quickGo:ne?oe:null,goButton:je,showSizeChanger:E,sizeChangerRender:D}))},ype=e=>{let{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:`not-allowed`,[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:`not-allowed`}},"&:focus-visible":{cursor:`not-allowed`,[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:`not-allowed`}}},[`&${t}-disabled`]:{cursor:`not-allowed`,[`${t}-item`]:{cursor:`not-allowed`,backgroundColor:`transparent`,"&:hover, &:active":{backgroundColor:`transparent`},a:{color:e.colorTextDisabled,backgroundColor:`transparent`,border:`none`,cursor:`not-allowed`},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:`not-allowed`,"&:hover, &:active":{backgroundColor:`transparent`},[`${t}-simple&`]:{backgroundColor:`transparent`,"&:hover, &:active":{backgroundColor:`transparent`}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}}}},bpe=e=>{let{componentCls:t}=e;return{[`&${t}-small ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-quick-jumper":{input:{...nA(e),width:e.paginationMiniQuickJumperInputWidth}}}}},xpe=e=>{let{componentCls:t}=e;return{[`&${t}-large ${t}-options`]:{"&-quick-jumper":{input:{...tA(e)}}}}},Spe=e=>{let{componentCls:t,antCls:n}=e,[,r]=sl(n,`pagination`);return{[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{height:r(`item-size-actual`),lineHeight:r(`item-size-actual`),verticalAlign:`top`,[`${t}-item-link`]:{height:r(`item-size-actual`),backgroundColor:`transparent`,border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:r(`item-size-actual`),lineHeight:r(`item-size-actual`)}}},[`${t}-simple-pager`]:{display:`inline-flex`,alignItems:`center`,height:r(`item-size-actual`),marginInlineEnd:r(`item-spacing-actual`),input:{boxSizing:`border-box`,height:`100%`,width:e.quickJumperInputWidth,padding:`0 ${J(e.paginationItemPaddingInline)}`,textAlign:`center`,backgroundColor:e.itemInputBg,border:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:`none`,transition:`border-color ${e.motionDurationMid}`,color:`inherit`,"&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${J(e.inputOutlineOffset)} 0 ${J(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:`not-allowed`}}},[`&${t}-disabled`]:{[`${t}-prev, ${t}-next`]:{[`${t}-item-link`]:{"&:hover, &:active":{backgroundColor:`transparent`}}}},[`&${t}-small`]:{[`${t}-simple-pager`]:{input:{width:e.paginationMiniQuickJumperInputWidth}}}}}},Cpe=e=>{let{componentCls:t,antCls:n}=e,[,r]=sl(n,`pagination`);return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:`relative`,[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:`auto`}},[`${t}-item-ellipsis`]:{position:`absolute`,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:`block`,margin:`auto`,color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:`center`,textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` ${t}-prev, ${t}-jump-prev, ${t}-jump-next @@ -324,21 +324,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${t}-next, ${t}-jump-prev, ${t}-jump-next - `]:{display:`inline-block`,minWidth:r(`item-size-actual`),height:r(`item-size-actual`),color:e.colorText,fontFamily:e.fontFamily,lineHeight:r(`item-size-actual`),textAlign:`center`,verticalAlign:`middle`,listStyle:`none`,borderRadius:e.borderRadius,cursor:`pointer`,transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{outline:0,button:{color:e.colorText,cursor:`pointer`,userSelect:`none`},[`${t}-item-link`]:{display:`block`,width:`100%`,height:`100%`,padding:0,fontSize:e.fontSizeSM,textAlign:`center`,backgroundColor:`transparent`,border:`${J(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:`none`,transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:`transparent`}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:`inline-block`,marginInlineStart:e.margin,verticalAlign:`middle`,"&-size-changer":{width:`auto`},"&-quick-jumper":{display:`inline-block`,height:r(`item-size-actual`),marginInlineStart:e.marginXS,lineHeight:r(`item-size-actual`),verticalAlign:`baseline`,input:{...oA(e),...Gk(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow}),"&[disabled]":{...Wk(e)},width:e.quickJumperInputWidth,height:r(`item-size-actual`),boxSizing:`border-box`,margin:0,marginInlineStart:r(`item-spacing-actual`),marginInlineEnd:r(`item-spacing-actual`)}}}}},xpe=e=>{let{componentCls:t,antCls:n}=e,[,r]=sl(n,`pagination`);return{[`${t}-item`]:{display:`inline-block`,minWidth:r(`item-size-actual`),height:r(`item-size-actual`),marginInlineEnd:r(`item-spacing-actual`),fontFamily:e.fontFamily,lineHeight:J(e.calc(r(`item-size-actual`)).sub(2).equal()),textAlign:`center`,verticalAlign:`middle`,listStyle:`none`,backgroundColor:e.itemBg,border:`${J(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:`pointer`,userSelect:`none`,a:{display:`block`,padding:`0 ${J(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:`none`}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.itemActiveColor},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.itemActiveColorHover}}}}},Spe=e=>{let{componentCls:t,antCls:n}=e,[r,i]=sl(n,`pagination`);return{[t]:{[r(`item-size-actual`)]:J(e.itemSize),[r(`item-spacing-actual`)]:J(e.marginXS),"&-small":{[r(`item-size-actual`)]:J(e.itemSizeSM),[r(`item-spacing-actual`)]:J(e.marginXXS)},"&-large":{[r(`item-size-actual`)]:J(e.itemSizeLG),[r(`item-spacing-actual`)]:J(e.marginSM)},...Yc(e),display:`flex`,alignItems:`center`,"&-start":{justifyContent:`start`},"&-center":{justifyContent:`center`},"&-end":{justifyContent:`end`},"ul, ol":{margin:0,padding:0,listStyle:`none`},"&::after":{display:`block`,clear:`both`,height:0,overflow:`hidden`,visibility:`hidden`,content:`""`},[`${t}-total-text`]:{display:`inline-block`,height:i(`item-size-actual`),marginInlineEnd:i(`item-spacing-actual`),lineHeight:J(e.calc(i(`item-size-actual`)).sub(2).equal()),verticalAlign:`middle`},...xpe(e),...bpe(e),...ype(e),..._pe(e),...vpe(e),...gpe(e),[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:`none`}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:`none`}}},[`&${e.componentCls}-rtl`]:{direction:`rtl`}}},Cpe=e=>{let{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:{...$c(e)},[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0},...Qc(e)}},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Qc(e)}}}},tP=e=>({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemSizeLG:e.controlHeightLG,itemActiveBg:e.colorBgContainer,itemActiveColor:e.colorPrimary,itemActiveColorHover:e.colorPrimaryHover,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0,...Uk(e)}),nP=e=>_s(e,{inputOutlineOffset:0,quickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.25).equal(),paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:`0.13em`},Hk(e)),wpe=il(`Pagination`,e=>{let t=nP(e);return[Spe(t),Cpe(t)]},tP),Tpe=e=>{let{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},Epe=ol([`Pagination`,`bordered`],e=>Tpe(nP(e)),tP);function rP(e){return(0,C.useMemo)(()=>typeof e==`boolean`?[e,{}]:gd(e)?[!0,e]:[void 0,void 0],[e])}var iP=e=>{let{align:t,prefixCls:n,selectPrefixCls:r,className:i,rootClassName:a,style:o,size:s,locale:c,responsive:l,showSizeChanger:u,selectComponentClass:d,pageSizeOptions:f,styles:p,classNames:m,...h}=e,{xs:g}=Nb(l),[,_]=qc(),{getPrefixCls:v,direction:y,showSizeChanger:b,className:x,style:S,classNames:w,styles:T,totalBoundaryShowSizeChanger:E}=ui(`pagination`),D=v(`pagination`,n),[O,k]=wpe(D),A=Pm(s),j=A===`small`||!!(g&&!A&&l),M={...e,size:A},[N,P]=Id([w,m],[T,p],{props:M}),[F]=ld(`Pagination`,Uu),I={...F,...c},[L,R]=rP(u),[z,B]=rP(b),V=L??z,H=R??B,U=d||Ob,W=C.useMemo(()=>f?f.map(Number):void 0,[f]),ee=e=>{let{disabled:t,size:n,onSizeChange:r,"aria-label":i,className:a,options:o}=e,{className:s,onChange:c}=H||{},l=o.find(e=>String(e.value)===String(n))?.value;return C.createElement(U,{disabled:t,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:e=>e.parentNode,"aria-label":i,options:o,...H,value:l,onChange:(e,t)=>{r?.(e),c?.(e,t)},size:A,className:q(a,s)})},te=C.useMemo(()=>{let e=C.createElement(`span`,{className:`${D}-item-ellipsis`},`•••`);return{prevIcon:C.createElement(`button`,{className:`${D}-item-link`,type:`button`,tabIndex:-1},y===`rtl`?C.createElement(vh,null):C.createElement(fx,null)),nextIcon:C.createElement(`button`,{className:`${D}-item-link`,type:`button`,tabIndex:-1},y===`rtl`?C.createElement(fx,null):C.createElement(vh,null)),jumpPrevIcon:C.createElement(`a`,{className:`${D}-item-link`},C.createElement(`div`,{className:`${D}-item-container`},y===`rtl`?C.createElement(YN,{className:`${D}-item-link-icon`}):C.createElement(qN,{className:`${D}-item-link-icon`}),e)),jumpNextIcon:C.createElement(`a`,{className:`${D}-item-link`},C.createElement(`div`,{className:`${D}-item-container`},y===`rtl`?C.createElement(qN,{className:`${D}-item-link-icon`}):C.createElement(YN,{className:`${D}-item-link-icon`}),e))}},[y,D]),ne=v(`select`,r),re=q({[`${D}-${t}`]:!!t,[`${D}-${A}`]:A,[`${D}-mini`]:j,[`${D}-rtl`]:y===`rtl`,[`${D}-bordered`]:_.wireframe},x,i,a,N.root,O,k),ie={...P.root,...S,...o};return C.createElement(C.Fragment,null,_.wireframe&&C.createElement(Epe,{prefixCls:D}),C.createElement(hpe,{...te,...h,styles:P,classNames:N,style:ie,prefixCls:D,selectPrefixCls:ne,className:re,locale:I,pageSizeOptions:W,showSizeChanger:V,totalBoundaryShowSizeChanger:h.totalBoundaryShowSizeChanger??E,sizeChangerRender:ee}))},aP=100,oP=aP/5,sP=aP/2-oP/2,cP=sP*2*Math.PI,lP=50,uP=e=>{let{dotClassName:t,style:n,hasCircleCls:r}=e;return C.createElement(`circle`,{className:q(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:sP,cx:lP,cy:lP,strokeWidth:oP,style:n})},Dpe=({percent:e,prefixCls:t})=>{let n=`${t}-dot`,r=`${n}-holder`,i=`${r}-hidden`,[a,o]=C.useState(!1);Vn(()=>{e!==0&&o(!0)},[e!==0]);let s=Math.max(Math.min(e,100),0);if(!a)return null;let c={strokeDashoffset:`${cP/4}`,strokeDasharray:`${cP*s/100} ${cP*(100-s)/100}`};return C.createElement(`span`,{className:q(r,`${n}-progress`,{[i]:s<=0})},C.createElement(`svg`,{viewBox:`0 0 ${aP} ${aP}`,role:`progressbar`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":s},C.createElement(uP,{dotClassName:n,hasCircleCls:!0}),C.createElement(uP,{dotClassName:n,style:c})))};function Ope(e){let{prefixCls:t,percent:n=0,className:r,style:i}=e,a=`${t}-dot`,o=`${a}-holder`,s=`${o}-hidden`;return C.createElement(C.Fragment,null,C.createElement(`span`,{className:q(o,r,n>0&&s),style:i},C.createElement(`span`,{className:q(a,`${t}-dot-spin`)},[1,2,3,4].map(e=>C.createElement(`i`,{className:`${t}-dot-item`,key:e})))),C.createElement(Dpe,{prefixCls:t,percent:n}))}function kpe(e){let{prefixCls:t,indicator:n,percent:r,className:i,style:a}=e,o=`${t}-dot`;return n&&C.isValidElement(n)?Fp(n,e=>({className:q(e.className,o,i),style:{...e.style,...a},percent:r})):C.createElement(Ope,{prefixCls:t,percent:r,className:i,style:a})}var Ape=new Ro(`antSpinMove`,{to:{opacity:1}}),jpe=new Ro(`antRotate`,{to:{transform:`rotate(405deg)`}}),Mpe=e=>{let{componentCls:t}=e,n=`${t}-section`;return{[t]:{...Yc(e),position:`relative`,"&-rtl":{direction:`rtl`},[`&${n}, ${n}`]:{display:`flex`,alignItems:`center`,flexDirection:`column`,gap:e.paddingSM,color:e.colorPrimary},[`&${n}`]:{display:`inline-flex`},[n]:{position:`absolute`,top:`50%`,left:{_skip_check_:!0,value:`50%`},transform:`translate(-50%, -50%)`,zIndex:1},[`${t}-description`]:{fontSize:e.fontSize,lineHeight:1},[`${t}-container`]:{position:`relative`,transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:`absolute`,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:`100%`,height:`100%`,background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:`""`,pointerEvents:`none`}},"&-spinning":{[`${t}-description`]:{textShadow:`0 0px 5px ${e.colorBgContainer}`},[`${t}-container`]:{clear:`both`,opacity:.5,userSelect:`none`,pointerEvents:`none`,"&::after":{opacity:.4,pointerEvents:`auto`}}},"&-fullscreen":{position:`fixed`,inset:0,backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,opacity:0,pointerEvents:`none`,transition:`all ${e.motionDurationMid}`,[`&${t}-spinning`]:{opacity:1,pointerEvents:`auto`},[n]:{color:e.colorWhite,[`${t}-description`]:{color:e.colorTextLightSolid}}}}}},Npe=e=>{let{componentCls:t,antCls:n,motionDurationSlow:r}=e,[i,a]=sl(n,`spin`);return{[t]:{[i(`dot-holder-size`)]:e.dotSize,[i(`dot-item-size`)]:`calc((${a(`dot-holder-size`)} - ${e.marginXXS} / 2) / 2)`,[`${t}-dot`]:{"&-holder":{width:`1em`,height:`1em`,fontSize:a(`dot-holder-size`),display:`inline-block`,transition:[`transform`,`opacity`].map(e=>`${e} ${r} ease`).join(`, `),transformOrigin:`50% 50%`,lineHeight:1,"&-hidden":{transform:`scale(0.3)`,opacity:0}},position:`relative`,display:`inline-block`,fontSize:a(`dot-holder-size`),width:`1em`,height:`1em`,"&-spin":{transform:`rotate(45deg)`,animationName:jpe,animationDuration:`1.2s`,animationIterationCount:`infinite`,animationTimingFunction:`linear`},"&-item":{position:`absolute`,display:`block`,width:a(`dot-item-size`),height:a(`dot-item-size`),background:`currentColor`,borderRadius:`100%`,transform:`scale(0.75)`,transformOrigin:`50% 50%`,opacity:.3,animationName:Ape,animationDuration:`1s`,animationIterationCount:`infinite`,animationTimingFunction:`linear`,animationDirection:`alternate`,"&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:`0s`},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:`0.4s`},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:`0.8s`},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:`1.2s`}},"&-progress":{position:`absolute`,left:`50%`,top:0,transform:`translateX(-50%)`},"&-circle":{strokeLinecap:`round`,transition:[`stroke-dashoffset`,`stroke-dasharray`,`stroke`,`stroke-width`,`opacity`].map(e=>`${e} ${r} ease`).join(`,`),fillOpacity:0,stroke:`currentcolor`},"&-circle-bg":{stroke:e.colorFillSecondary}}}}},Ppe=e=>{let{componentCls:t}=e,[n]=sl(e.antCls,`spin`);return{[t]:{"&-sm":{[n(`dot-holder-size`)]:e.dotSizeSM},"&-lg":{[n(`dot-holder-size`)]:e.dotSizeLG}}}},Fpe=il(`Spin`,e=>{let t=_s(e,{spinDotDefault:e.colorTextDescription});return[Mpe(t),Npe(t),Ppe(t)]},e=>{let{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}}),Ipe=200,dP=[[30,.05],[70,.03],[96,.01]];function Lpe(e,t){let[n,r]=C.useState(0),i=C.useRef(null),a=t===`auto`;return C.useEffect(()=>(a&&e&&(r(0),i.current=setInterval(()=>{r(e=>{let t=100-e;for(let n=0;n{i.current&&=(clearInterval(i.current),null)}),[a,e]),a?n:t}var fP;function Rpe(e,t){return!!e&&!!t&&!Number.isNaN(Number(t))}var pP=e=>{let{prefixCls:t,spinning:n=!0,delay:r=0,className:i,rootClassName:a,size:o,tip:s,description:c,wrapperClassName:l,style:u,children:d,fullscreen:f=!1,indicator:p,percent:m,classNames:h,styles:g,..._}=e,{getPrefixCls:v,direction:y,indicator:b,className:x,style:S,classNames:w,styles:T}=ui(`spin`),E=v(`spin`,t),[D,O]=Fpe(E),[k,A]=C.useState(()=>n&&!Rpe(n,r)),j=Lpe(k,m);C.useEffect(()=>{if(n){let e=Xle(r,()=>{A(!0)});return e(),()=>{e?.cancel?.()}}A(!1)},[r,n]);let M=Pm(e=>o??e),N=c??s,P={...e,size:M,spinning:k,tip:N,description:N,fullscreen:f,children:d,percent:j},[F,I]=Id([w,h],[T,g],{props:P}),L=p??b??fP,R=d!==void 0,z=R||f,B=C.createElement(C.Fragment,null,C.createElement(kpe,{className:q(F.indicator),style:I.indicator,prefixCls:E,indicator:L,percent:j}),N&&C.createElement(`div`,{className:q(`${E}-description`,F.tip,F.description),style:{...I.tip,...I.description}},N));return C.createElement(`div`,{className:q(E,{[`${E}-sm`]:M===`small`,[`${E}-lg`]:M===`large`,[`${E}-spinning`]:k,[`${E}-rtl`]:y===`rtl`,[`${E}-fullscreen`]:f},a,F.root,f&&F.mask,z?l:[`${E}-section`,F.section],x,i,D,O),style:{...I.root,...z?{}:I.section,...f?I.mask:{},...S,...u},"aria-live":`polite`,"aria-busy":k,..._},k&&(z?C.createElement(`div`,{className:q(`${E}-section`,F.section),style:I.section},B):B),R&&C.createElement(`div`,{className:q(`${E}-container`,F.container),style:I.container},d))};pP.setDefaultIndicator=e=>{fP=e};var mP=C.createContext({});mP.Consumer;var zpe=({prefixCls:e,className:t,avatar:n,title:r,description:i,...a})=>{let{getPrefixCls:o}=(0,C.useContext)(si),s=o(`list`,e),c=q(`${s}-item-meta`,t),l=C.createElement(`div`,{className:`${s}-item-meta-content`},r&&C.createElement(`h4`,{className:`${s}-item-meta-title`},r),i&&C.createElement(`div`,{className:`${s}-item-meta-description`},i));return C.createElement(`div`,{...a,className:c},n&&C.createElement(`div`,{className:`${s}-item-meta-avatar`},n),(r||i)&&l)},hP=C.forwardRef((e,t)=>{let{prefixCls:n,children:r,actions:i,extra:a,styles:o,className:s,classNames:c,colStyle:l,...u}=e,{grid:d,itemLayout:f}=(0,C.useContext)(mP),{getPrefixCls:p,list:m}=(0,C.useContext)(si),h=e=>q(m?.item?.classNames?.[e],c?.[e]),g=e=>({...m?.item?.styles?.[e],...o?.[e]}),_=()=>{let e=wr(r);return e.some(e=>typeof e==`string`)&&e.length>1},v=()=>f===`vertical`?!!a:!_(),y=p(`list`,n),b=i&&i.length>0&&C.createElement(`ul`,{className:q(`${y}-item-action`,h(`actions`)),key:`actions`,style:g(`actions`)},i.map((e,t)=>C.createElement(`li`,{key:`${y}-item-action-${t}`},e,t!==i.length-1&&C.createElement(`em`,{className:`${y}-item-action-split`})))),x=d?`div`:`li`,S=C.createElement(x,{...u,...d?{}:{ref:t},className:q(`${y}-item`,{[`${y}-item-no-flex`]:!v()},s)},f===`vertical`&&a?[C.createElement(`div`,{className:`${y}-item-main`,key:`content`},r,b),C.createElement(`div`,{className:q(`${y}-item-extra`,h(`extra`)),key:`extra`,style:g(`extra`)},a)]:[r,b,Fp(a,{key:`extra`})]);return d?C.createElement(ij,{ref:t,flex:1,style:l},S):S});hP.Meta=zpe;var Bpe=e=>{let{listBorderedCls:t,componentCls:n,paddingLG:r,margin:i,itemPaddingSM:a,itemPaddingLG:o,marginLG:s,borderRadiusLG:c}=e,l=J(e.calc(c).sub(e.lineWidth).equal());return{[t]:{border:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${n}-header`]:{borderRadius:`${l} ${l} 0 0`},[`${n}-footer`]:{borderRadius:`0 0 ${l} ${l}`},[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${J(i)} ${J(s)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:a}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:o}}}},Vpe=e=>{let{componentCls:t,screenSM:n,screenMD:r,marginLG:i,marginSM:a,margin:o}=e;return{[`@media screen and (max-width:${r}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:i}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:`wrap`,[`${t}-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:`wrap-reverse`,[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${J(o)}`}}}}}},Hpe=e=>{let{componentCls:t,antCls:n,controlHeight:r,minHeight:i,paddingSM:a,marginLG:o,padding:s,itemPadding:c,colorPrimary:l,itemPaddingSM:u,itemPaddingLG:d,paddingXS:f,margin:p,colorText:m,colorTextDescription:h,motionDurationSlow:g,lineWidth:_,headerBg:v,footerBg:y,emptyTextPadding:b,metaMarginBottom:x,avatarMarginRight:S,titleMarginBottom:C,descriptionFontSize:w}=e;return{[t]:{...Yc(e),position:`relative`,"--rc-virtual-list-scrollbar-bg":e.colorSplit,"*":{outline:`none`},[`${t}-header`]:{background:v},[`${t}-footer`]:{background:y},[`${t}-header, ${t}-footer`]:{paddingBlock:a},[`${t}-pagination`]:{marginBlockStart:o,[`${n}-pagination-options`]:{textAlign:`start`}},[`${t}-spin`]:{minHeight:i,textAlign:`center`},[`${t}-items`]:{margin:0,padding:0,listStyle:`none`},[`${t}-item`]:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:c,color:m,[`${t}-item-meta`]:{display:`flex`,flex:1,alignItems:`flex-start`,maxWidth:`100%`,[`${t}-item-meta-avatar`]:{marginInlineEnd:S},[`${t}-item-meta-content`]:{flex:`1 0`,width:0,color:m},[`${t}-item-meta-title`]:{margin:`0 0 ${J(e.marginXXS)} 0`,color:m,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:m,transition:`all ${g}`,"&:hover":{color:l}}},[`${t}-item-meta-description`]:{color:h,fontSize:w,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:`0 0 auto`,marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:`none`,"& > li":{position:`relative`,display:`inline-block`,padding:`0 ${J(f)}`,color:h,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:`center`,"&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:`absolute`,insetBlockStart:`50%`,insetInlineEnd:0,width:_,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:`translateY(-50%)`,backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${J(s)} 0`,color:h,fontSize:e.fontSizeSM,textAlign:`center`},[`${t}-empty-text`]:{padding:b,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:`center`},[`${t}-item-no-flex`]:{display:`block`}},[`${t}-grid ${n}-col > ${t}-item`]:{display:`block`,maxWidth:`100%`,marginBlockEnd:p,paddingBlock:0,borderBlockEnd:`none`},[`${t}-vertical ${t}-item`]:{alignItems:`initial`,[`${t}-item-main`]:{display:`block`,flex:1},[`${t}-item-extra`]:{marginInlineStart:o},[`${t}-item-meta`]:{marginBlockEnd:x,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:C,color:m,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:`auto`,"> li":{padding:`0 ${J(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:`none`}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:d},[`${t}-sm ${t}-item`]:{padding:u},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:`right`}}}}},Upe=il(`List`,e=>{let t=_s(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[Hpe(t),Bpe(t),Vpe(t)]},e=>({contentWidth:220,itemPadding:`${J(e.paddingContentVertical)} 0`,itemPaddingSM:`${J(e.paddingContentVerticalSM)} ${J(e.paddingContentHorizontal)}`,itemPaddingLG:`${J(e.paddingContentVerticalLG)} ${J(e.paddingContentHorizontalLG)}`,headerBg:`transparent`,footerBg:`transparent`,emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),{extraCssVarPrefixCls:({prefixCls:e})=>[`${e}-container`]}),gP=C.forwardRef((e,t)=>{let{pagination:n=!1,prefixCls:r,bordered:i=!1,split:a=!0,className:o,rootClassName:s,style:c,children:l,itemLayout:u,loadMore:d,grid:f,dataSource:p=[],size:m,header:h,footer:g,loading:_=!1,rowKey:v,renderItem:y,locale:b,...x}=e,S=gd(n)?n:{},[w,T]=C.useState(S.defaultCurrent||1),[E,D]=C.useState(S.defaultPageSize||10),{getPrefixCls:O,direction:k,className:A,style:j}=ui(`list`),{renderEmpty:M}=C.useContext(si),N={current:1,total:0,position:`bottom`},P=e=>(t,r)=>{T(t),D(r),n&&n?.[e]?.(t,r)},F=P(`onChange`),I=P(`onShowSizeChange`),L=(e,t)=>{if(!y)return null;let n;return n=typeof v==`function`?v(e):v?e[v]:e.key,n||=`list-item-${t}`,C.createElement(C.Fragment,{key:n},y(e,t))},R=!!(d||n||g),z=O(`list`,r),[B,V]=Upe(z),H=_;typeof H==`boolean`&&(H={spinning:H});let U=!!H?.spinning,W=Pm(m),ee=``;switch(W){case`large`:ee=`lg`;break;case`small`:ee=`sm`;break;default:break}let te=q(z,{[`${z}-vertical`]:u===`vertical`,[`${z}-${ee}`]:ee,[`${z}-split`]:a,[`${z}-bordered`]:i,[`${z}-loading`]:U,[`${z}-grid`]:!!f,[`${z}-something-after-last-item`]:R,[`${z}-rtl`]:k===`rtl`},A,o,s,B,V),ne=`${z}-container`,re=fd(N,{total:p.length,current:w,pageSize:E},n||{}),ie=Math.ceil(re.total/re.pageSize);re.current=Math.min(re.current,ie);let ae=n&&C.createElement(`div`,{className:q(`${z}-pagination`)},C.createElement(iP,{align:`end`,...re,onChange:F,onShowSizeChange:I})),G=Qr(p);n&&p.length>(re.current-1)*re.pageSize&&(G=Qr(p).splice((re.current-1)*re.pageSize,re.pageSize));let oe=Nb(Object.keys(f||{}).some(e=>Ab.includes(e))),K=C.useMemo(()=>{for(let e=0;e{if(!f)return;let e=K&&f[K]?f[K]:f.column;if(e)return{width:`${100/e}%`,maxWidth:`${100/e}%`}},[JSON.stringify(f),K]),ce=U&&C.createElement(`div`,{style:{minHeight:53}});if(G.length>0){let e=G.map(L);ce=f?C.createElement(oj,{className:q(ne,V),gutter:f.gutter},C.Children.map(e,e=>C.createElement(`div`,{key:e?.key,style:se},e))):C.createElement(`ul`,{className:q(`${z}-items`,ne,V)},e)}else !l&&!U&&(ce=C.createElement(`div`,{className:`${z}-empty-text`},b?.emptyText||M?.(`List`)||C.createElement($y,{componentName:`List`})));let le=re.position,ue=C.useMemo(()=>({grid:f,itemLayout:u}),[JSON.stringify(f),u]);return C.createElement(mP.Provider,{value:ue},C.createElement(`div`,{ref:t,style:{...j,...c},className:te,...x},(le===`top`||le===`both`)&&ae,h&&C.createElement(`div`,{className:`${z}-header`},h),C.createElement(pP,{...H},ce,l),g&&C.createElement(`div`,{className:`${z}-footer`},g),d||(le===`bottom`||le===`both`)&&ae))});gP.Item=hP;var _P=(e,t={})=>!pd(e)&&t?.skipEmpty?[]:Array.isArray(e)?e:[e],vP=null,yP=e=>e(),bP=[],xP={};function SP(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:i}=xP,a=e?.()||document.body;return{getContainer:()=>a,duration:t,rtl:n,maxCount:r,top:i}}var Wpe=C.forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:i}=(0,C.useContext)(si),a=xP.prefixCls||i(`message`),o=(0,C.useContext)(Pv),[s,c]=bm({...n,prefixCls:a,...o.message});return C.useImperativeHandle(t,()=>{let e={...s};return Object.keys(e).forEach(t=>{e[t]=(...e)=>(r(),s[t].apply(s,e))}),{instance:e,sync:r}}),c}),Gpe=C.forwardRef((e,t)=>{let[n,r]=C.useState(SP),i=()=>{r(SP)};C.useEffect(i,[]);let a=Xp(),o=a.getRootPrefixCls(),s=a.getIconPrefixCls(),c=a.getTheme(),l=C.createElement(Wpe,{ref:t,sync:i,messageConfig:n});return C.createElement(Zp,{prefixCls:o,iconPrefixCls:s,theme:c},a.holderRender?a.holderRender(l):l)}),CP=()=>{if(!vP){let e=document.createDocumentFragment(),t={fragment:e};vP=t,yP(()=>{Cm(C.createElement(Gpe,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,CP())})}}),e)});return}vP.instance&&(bP.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case`open`:yP(()=>{let t=vP.instance.open({...xP,...e.config});t?.then(e.resolve),e.setCloseFn(t)});break;case`destroy`:yP(()=>{vP?.instance.destroy(e.key)});break;default:yP(()=>{var n;let r=(n=vP.instance)[t].apply(n,Qr(e.args));r?.then(e.resolve),e.setCloseFn(r)})}}),bP=[])};function Kpe(e){xP={...xP,...e},yP(()=>{vP?.sync?.()})}function qpe(e){let t=_m(t=>{let n,r={type:`open`,config:e,resolve:t,setCloseFn:e=>{n=e}};return bP.push(r),()=>{n?yP(()=>{n()}):r.skipped=!0}});return CP(),t}function Jpe(e,t){let n=_m(n=>{let r,i={type:e,args:t,resolve:n,setCloseFn:e=>{r=e}};return bP.push(i),()=>{r?yP(()=>{r()}):i.skipped=!0}});return CP(),n}var Ype=e=>{bP.push({type:`destroy`,key:e}),CP()},Xpe=[`success`,`info`,`warning`,`error`,`loading`],wP={open:qpe,destroy:Ype,config:Kpe,useMessage:xm,_InternalPanelDoNotUseOrYouWillBeFired:hm};Xpe.forEach(e=>{wP[e]=(...t)=>Jpe(e,t)});var Zpe=Lv(e=>{let{prefixCls:t,className:n,closeIcon:r,closable:i,type:a,title:o,children:s,footer:c,classNames:l,styles:u,...d}=e,{getPrefixCls:f}=C.useContext(si),{className:p,style:m,classNames:h,styles:g}=ui(`modal`),_=f(),v=t||f(`modal`),y=xf(_),[b,x]=dv(v,y),[S,w]=Id([h,l],[g,u],{props:e}),T=`${v}-confirm`,E={};return E=a?{closable:i??!1,title:``,footer:``,children:C.createElement(mv,{...e,prefixCls:v,confirmPrefixCls:T,rootPrefixCls:_,content:s})}:{closable:i??!0,title:o,footer:c!==null&&C.createElement(av,{...e}),children:s},C.createElement(Cg,{prefixCls:v,className:q(b,`${v}-pure-panel`,a&&T,a&&`${T}-${a}`,n,p,x,y,S.root),style:{...m,...w.root},...d,closeIcon:iv(v,r),closable:i,classNames:S,styles:w,...E})});function TP(e){return yv(bv(e))}var EP=pv;EP.useModal=Ev,EP.info=function(e){return yv(xv(e))},EP.success=function(e){return yv(Sv(e))},EP.error=function(e){return yv(Cv(e))},EP.warning=TP,EP.warn=TP,EP.confirm=function(e){return yv(wv(e))},EP.destroyAll=function(){for(;gv.length;){let e=gv.pop();e&&e()}},EP.config=Rne,EP._InternalPanelDoNotUseOrYouWillBeFired=Zpe;var DP=il(`Popconfirm`,e=>{let{componentCls:t,iconCls:n,antCls:r,zIndexPopup:i,colorText:a,colorWarning:o,marginXXS:s,marginXS:c,fontSize:l,fontWeightStrong:u,colorTextHeading:d}=e;return{[t]:{zIndex:i,[`&${r}-popover`]:{fontSize:l},[`${t}-message`]:{marginBottom:c,display:`flex`,flexWrap:`nowrap`,alignItems:`start`,[`> ${t}-message-icon ${n}`]:{color:o,fontSize:l,lineHeight:1,marginInlineEnd:c},[`${t}-title`]:{fontWeight:u,color:d,"&:only-child":{fontWeight:`normal`}},[`${t}-description`]:{marginTop:s,color:a}},[`${t}-buttons`]:{textAlign:`end`,whiteSpace:`nowrap`,button:{marginInlineStart:c}}}}},e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),OP=e=>{let{prefixCls:t,okButtonProps:n,cancelButtonProps:r,title:i,description:a,cancelText:o,okText:s,okType:c=`primary`,icon:l=C.createElement(Hl,null),showCancel:u=!0,close:d,onConfirm:f,onCancel:p,onPopupClick:m,classNames:h,styles:g}=e,{getPrefixCls:_}=C.useContext(si),[v]=ld(`Popconfirm`,nd.Popconfirm),y=Lb(i),b=Lb(a);return C.createElement(`div`,{className:`${t}-inner-content`,onClick:m},C.createElement(`div`,{className:`${t}-message`},l&&C.createElement(`span`,{className:`${t}-message-icon`},l),C.createElement(`div`,{className:`${t}-message-text`},y&&C.createElement(`div`,{className:q(`${t}-title`,h?.title),style:g?.title},y),b&&C.createElement(`div`,{className:q(`${t}-description`,h?.content),style:g?.content},b))),C.createElement(`div`,{className:`${t}-buttons`},u&&C.createElement(ng,{onClick:p,size:`small`,...r},o||v?.cancelText),C.createElement(rg,{buttonProps:{size:`small`,...Vm(c),...n},actionFn:f,close:d,prefixCls:_(`btn`),quitOnNullishReturnValue:!0,emitEvent:!0},s||v?.okText)))},Qpe=e=>{let{prefixCls:t,placement:n,className:r,style:i,...a}=e,{getPrefixCls:o}=C.useContext(si),s=o(`popconfirm`,t);return DP(s),C.createElement(ox,{placement:n,className:q(s,r),style:i,content:C.createElement(OP,{prefixCls:s,...a})})},kP=C.forwardRef((e,t)=>{let{prefixCls:n,placement:r=`top`,trigger:i,okType:a=`primary`,icon:o=C.createElement(Hl,null),children:s,overlayClassName:c,onOpenChange:l,overlayStyle:u,styles:d,arrow:f,classNames:p,...m}=e,{getPrefixCls:h,className:g,style:_,classNames:v,styles:y,arrow:b,trigger:x}=ui(`popconfirm`),[S,w]=Wn(e.defaultOpen??!1,e.open),T=Zb(f,b),E=i||x||`click`,D=e=>{w(e),l?.(e)},O=()=>{D(!1)},k=t=>e.onConfirm?.call(void 0,t),A=t=>{D(!1),e.onCancel?.call(void 0,t)},j=t=>{let{disabled:n=!1}=e;n||D(t)},M=h(`popconfirm`,n),N={...e,placement:r,trigger:E,okType:a,overlayStyle:u,styles:d,classNames:p},[P,F]=Id([v,p],[y,d],{props:N}),I=q(M,g,c,P.root);return DP(M),C.createElement(sx,{arrow:T,...Cr(m,[`title`]),trigger:E,placement:r,onOpenChange:j,open:S,ref:t,classNames:{root:I,container:P.container,arrow:P.arrow},styles:{root:{..._,...F.root,...u},container:F.container,arrow:F.arrow},content:C.createElement(OP,{okType:a,icon:o,...e,prefixCls:M,close:O,onConfirm:k,onCancel:A,classNames:P,styles:F}),"data-popover-inject":!0},s)});kP._InternalPanelDoNotUseOrYouWillBeFired=Qpe;var $pe={percent:0,prefixCls:`rc-progress`,strokeColor:`#2db7f5`,strokeLinecap:`round`,strokeWidth:1,railColor:`#D9D9D9`,railWidth:1,gapPosition:`bottom`,loading:!1},eme=()=>{let e=(0,C.useRef)([]),t=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let n=Date.now(),r=!1;e.current.forEach(e=>{if(!e)return;r=!0;let i=e.style;i.transitionDuration=`.3s, .3s, .3s, .06s`,t.current&&n-t.current<100&&(i.transitionDuration=`0s, 0s`)}),r&&(t.current=Date.now())}),e.current},AP=({bg:e,children:t})=>C.createElement(`div`,{style:{width:`100%`,height:`100%`,background:e}},t);function jP(e,t){return Object.keys(e).map(n=>{let r=`${Math.floor(parseFloat(n)*t)}%`;return`${e[n]} ${r}`})}var tme=C.forwardRef((e,t)=>{let{prefixCls:n,color:r,gradientId:i,radius:a,className:o,style:s,ptg:c,strokeLinecap:l,strokeWidth:u,size:d,gapDegree:f}=e,p=r&&typeof r==`object`,m=p?`#FFF`:void 0,h=d/2,g=C.createElement(`circle`,{className:q(`${n}-circle-path`,o),r:a,cx:h,cy:h,stroke:m,strokeLinecap:l,strokeWidth:u,opacity:c===0?0:1,style:s,ref:t});if(!p)return g;let _=`${i}-conic`,v=f?`${180+f/2}deg`:`0deg`,y=jP(r,(360-f)/360),b=jP(r,1),x=`conic-gradient(from ${v}, ${y.join(`, `)})`,S=`linear-gradient(to ${f?`bottom`:`top`}, ${b.join(`, `)})`;return C.createElement(C.Fragment,null,C.createElement(`mask`,{id:_},g),C.createElement(`foreignObject`,{x:0,y:0,width:d,height:d,mask:`url(#${_})`},C.createElement(AP,{bg:S},C.createElement(AP,{bg:x}))))}),MP=(e,t,n,r,i,a,o,s,c,l,u=0)=>{let d=n/100*360*((360-a)/360),f=a===0?0:{bottom:0,top:180,left:90,right:-90}[o],p=(100-r)/100*t;return c===`round`&&r!==100&&(p+=l/2,p>=t&&(p=t-.01)),{stroke:typeof s==`string`?s:void 0,strokeDasharray:`${t}px ${e}`,strokeDashoffset:p+u,transform:`rotate(${i+d+f}deg)`,transformOrigin:`50px 50px`,transition:`stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s`,fillOpacity:0}},nme=(({id:e,loading:t})=>{if(!t)return{indeterminateStyleProps:{},indeterminateStyleAnimation:null};let n=`${e}-indeterminate-animate`;return{indeterminateStyleProps:{transform:`rotate(0deg)`,animation:`${n} 1s linear infinite`},indeterminateStyleAnimation:C.createElement(`style`,null,`@keyframes ${n} { + `]:{display:`inline-block`,minWidth:r(`item-size-actual`),height:r(`item-size-actual`),color:e.colorText,fontFamily:e.fontFamily,lineHeight:r(`item-size-actual`),textAlign:`center`,verticalAlign:`middle`,listStyle:`none`,borderRadius:e.borderRadius,cursor:`pointer`,transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{outline:0,button:{color:e.colorText,cursor:`pointer`,userSelect:`none`},[`${t}-item-link`]:{display:`block`,width:`100%`,height:`100%`,padding:0,fontSize:e.fontSizeSM,textAlign:`center`,backgroundColor:`transparent`,border:`${J(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:`none`,transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:`transparent`}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:`inline-block`,marginInlineStart:e.margin,verticalAlign:`middle`,"&-size-changer":{width:`auto`},"&-quick-jumper":{display:`inline-block`,height:r(`item-size-actual`),marginInlineStart:e.marginXS,lineHeight:r(`item-size-actual`),verticalAlign:`baseline`,input:{...rA(e),...Hk(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow}),"&[disabled]":{...Vk(e)},width:e.quickJumperInputWidth,height:r(`item-size-actual`),boxSizing:`border-box`,margin:0,marginInlineStart:r(`item-spacing-actual`),marginInlineEnd:r(`item-spacing-actual`)}}}}},wpe=e=>{let{componentCls:t,antCls:n}=e,[,r]=sl(n,`pagination`);return{[`${t}-item`]:{display:`inline-block`,minWidth:r(`item-size-actual`),height:r(`item-size-actual`),marginInlineEnd:r(`item-spacing-actual`),fontFamily:e.fontFamily,lineHeight:J(e.calc(r(`item-size-actual`)).sub(2).equal()),textAlign:`center`,verticalAlign:`middle`,listStyle:`none`,backgroundColor:e.itemBg,border:`${J(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:`pointer`,userSelect:`none`,a:{display:`block`,padding:`0 ${J(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:`none`}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.itemActiveColor},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.itemActiveColorHover}}}}},Tpe=e=>{let{componentCls:t,antCls:n}=e,[r,i]=sl(n,`pagination`);return{[t]:{[r(`item-size-actual`)]:J(e.itemSize),[r(`item-spacing-actual`)]:J(e.marginXS),"&-small":{[r(`item-size-actual`)]:J(e.itemSizeSM),[r(`item-spacing-actual`)]:J(e.marginXXS)},"&-large":{[r(`item-size-actual`)]:J(e.itemSizeLG),[r(`item-spacing-actual`)]:J(e.marginSM)},...Yc(e),display:`flex`,alignItems:`center`,"&-start":{justifyContent:`start`},"&-center":{justifyContent:`center`},"&-end":{justifyContent:`end`},"ul, ol":{margin:0,padding:0,listStyle:`none`},"&::after":{display:`block`,clear:`both`,height:0,overflow:`hidden`,visibility:`hidden`,content:`""`},[`${t}-total-text`]:{display:`inline-block`,height:i(`item-size-actual`),marginInlineEnd:i(`item-spacing-actual`),lineHeight:J(e.calc(i(`item-size-actual`)).sub(2).equal()),verticalAlign:`middle`},...wpe(e),...Cpe(e),...Spe(e),...bpe(e),...xpe(e),...ype(e),[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:`none`}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:`none`}}},[`&${e.componentCls}-rtl`]:{direction:`rtl`}}},Epe=e=>{let{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:{...$c(e)},[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0},...Qc(e)}},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Qc(e)}}}},QN=e=>({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemSizeLG:e.controlHeightLG,itemActiveBg:e.colorBgContainer,itemActiveColor:e.colorPrimary,itemActiveColorHover:e.colorPrimaryHover,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0,...Bk(e)}),$N=e=>_s(e,{inputOutlineOffset:0,quickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.25).equal(),paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:`0.13em`},zk(e)),Dpe=il(`Pagination`,e=>{let t=$N(e);return[Tpe(t),Epe(t)]},QN),Ope=e=>{let{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},kpe=ol([`Pagination`,`bordered`],e=>Ope($N(e)),QN);function eP(e){return(0,C.useMemo)(()=>typeof e==`boolean`?[e,{}]:gd(e)?[!0,e]:[void 0,void 0],[e])}var tP=e=>{let{align:t,prefixCls:n,selectPrefixCls:r,className:i,rootClassName:a,style:o,size:s,locale:c,responsive:l,showSizeChanger:u,selectComponentClass:d,pageSizeOptions:f,styles:p,classNames:m,...h}=e,{xs:g}=jb(l),[,_]=qc(),{getPrefixCls:v,direction:y,showSizeChanger:b,className:x,style:S,classNames:w,styles:T,totalBoundaryShowSizeChanger:E}=ui(`pagination`),D=v(`pagination`,n),[O,k]=Dpe(D),A=Rm(s),j=A===`small`||!!(g&&!A&&l),M={...e,size:A},[N,P]=Id([w,m],[T,p],{props:M}),[F]=ld(`Pagination`,Uu),I={...F,...c},[L,R]=eP(u),[z,B]=eP(b),V=L??z,H=R??B,U=d||Cb,W=C.useMemo(()=>f?f.map(Number):void 0,[f]),ee=e=>{let{disabled:t,size:n,onSizeChange:r,"aria-label":i,className:a,options:o}=e,{className:s,onChange:c}=H||{},l=o.find(e=>String(e.value)===String(n))?.value;return C.createElement(U,{disabled:t,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:e=>e.parentNode,"aria-label":i,options:o,...H,value:l,onChange:(e,t)=>{r?.(e),c?.(e,t)},size:A,className:q(a,s)})},te=C.useMemo(()=>{let e=C.createElement(`span`,{className:`${D}-item-ellipsis`},`•••`);return{prevIcon:C.createElement(`button`,{className:`${D}-item-link`,type:`button`,tabIndex:-1},y===`rtl`?C.createElement(Ch,null):C.createElement(Tx,null)),nextIcon:C.createElement(`button`,{className:`${D}-item-link`,type:`button`,tabIndex:-1},y===`rtl`?C.createElement(Tx,null):C.createElement(Ch,null)),jumpPrevIcon:C.createElement(`a`,{className:`${D}-item-link`},C.createElement(`div`,{className:`${D}-item-container`},y===`rtl`?C.createElement(KN,{className:`${D}-item-link-icon`}):C.createElement(WN,{className:`${D}-item-link-icon`}),e)),jumpNextIcon:C.createElement(`a`,{className:`${D}-item-link`},C.createElement(`div`,{className:`${D}-item-container`},y===`rtl`?C.createElement(WN,{className:`${D}-item-link-icon`}):C.createElement(KN,{className:`${D}-item-link-icon`}),e))}},[y,D]),ne=v(`select`,r),re=q({[`${D}-${t}`]:!!t,[`${D}-${A}`]:A,[`${D}-mini`]:j,[`${D}-rtl`]:y===`rtl`,[`${D}-bordered`]:_.wireframe},x,i,a,N.root,O,k),ie={...P.root,...S,...o};return C.createElement(C.Fragment,null,_.wireframe&&C.createElement(kpe,{prefixCls:D}),C.createElement(vpe,{...te,...h,styles:P,classNames:N,style:ie,prefixCls:D,selectPrefixCls:ne,className:re,locale:I,pageSizeOptions:W,showSizeChanger:V,totalBoundaryShowSizeChanger:h.totalBoundaryShowSizeChanger??E,sizeChangerRender:ee}))},nP=100,rP=nP/5,iP=nP/2-rP/2,aP=iP*2*Math.PI,oP=50,sP=e=>{let{dotClassName:t,style:n,hasCircleCls:r}=e;return C.createElement(`circle`,{className:q(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:iP,cx:oP,cy:oP,strokeWidth:rP,style:n})},Ape=({percent:e,prefixCls:t})=>{let n=`${t}-dot`,r=`${n}-holder`,i=`${r}-hidden`,[a,o]=C.useState(!1);Vn(()=>{e!==0&&o(!0)},[e!==0]);let s=Math.max(Math.min(e,100),0);if(!a)return null;let c={strokeDashoffset:`${aP/4}`,strokeDasharray:`${aP*s/100} ${aP*(100-s)/100}`};return C.createElement(`span`,{className:q(r,`${n}-progress`,{[i]:s<=0})},C.createElement(`svg`,{viewBox:`0 0 ${nP} ${nP}`,role:`progressbar`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":s},C.createElement(sP,{dotClassName:n,hasCircleCls:!0}),C.createElement(sP,{dotClassName:n,style:c})))};function jpe(e){let{prefixCls:t,percent:n=0,className:r,style:i}=e,a=`${t}-dot`,o=`${a}-holder`,s=`${o}-hidden`;return C.createElement(C.Fragment,null,C.createElement(`span`,{className:q(o,r,n>0&&s),style:i},C.createElement(`span`,{className:q(a,`${t}-dot-spin`)},[1,2,3,4].map(e=>C.createElement(`i`,{className:`${t}-dot-item`,key:e})))),C.createElement(Ape,{prefixCls:t,percent:n}))}function Mpe(e){let{prefixCls:t,indicator:n,percent:r,className:i,style:a}=e,o=`${t}-dot`;return n&&C.isValidElement(n)?Fp(n,e=>({className:q(e.className,o,i),style:{...e.style,...a},percent:r})):C.createElement(jpe,{prefixCls:t,percent:r,className:i,style:a})}var Npe=new Ro(`antSpinMove`,{to:{opacity:1}}),Ppe=new Ro(`antRotate`,{to:{transform:`rotate(405deg)`}}),Fpe=e=>{let{componentCls:t}=e,n=`${t}-section`;return{[t]:{...Yc(e),position:`relative`,"&-rtl":{direction:`rtl`},[`&${n}, ${n}`]:{display:`flex`,alignItems:`center`,flexDirection:`column`,gap:e.paddingSM,color:e.colorPrimary},[`&${n}`]:{display:`inline-flex`},[n]:{position:`absolute`,top:`50%`,left:{_skip_check_:!0,value:`50%`},transform:`translate(-50%, -50%)`,zIndex:1},[`${t}-description`]:{fontSize:e.fontSize,lineHeight:1},[`${t}-container`]:{position:`relative`,transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:`absolute`,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:`100%`,height:`100%`,background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:`""`,pointerEvents:`none`}},"&-spinning":{[`${t}-description`]:{textShadow:`0 0px 5px ${e.colorBgContainer}`},[`${t}-container`]:{clear:`both`,opacity:.5,userSelect:`none`,pointerEvents:`none`,"&::after":{opacity:.4,pointerEvents:`auto`}}},"&-fullscreen":{position:`fixed`,inset:0,backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,opacity:0,pointerEvents:`none`,transition:`all ${e.motionDurationMid}`,[`&${t}-spinning`]:{opacity:1,pointerEvents:`auto`},[n]:{color:e.colorWhite,[`${t}-description`]:{color:e.colorTextLightSolid}}}}}},Ipe=e=>{let{componentCls:t,antCls:n,motionDurationSlow:r}=e,[i,a]=sl(n,`spin`);return{[t]:{[i(`dot-holder-size`)]:e.dotSize,[i(`dot-item-size`)]:`calc((${a(`dot-holder-size`)} - ${e.marginXXS} / 2) / 2)`,[`${t}-dot`]:{"&-holder":{width:`1em`,height:`1em`,fontSize:a(`dot-holder-size`),display:`inline-block`,transition:[`transform`,`opacity`].map(e=>`${e} ${r} ease`).join(`, `),transformOrigin:`50% 50%`,lineHeight:1,"&-hidden":{transform:`scale(0.3)`,opacity:0}},position:`relative`,display:`inline-block`,fontSize:a(`dot-holder-size`),width:`1em`,height:`1em`,"&-spin":{transform:`rotate(45deg)`,animationName:Ppe,animationDuration:`1.2s`,animationIterationCount:`infinite`,animationTimingFunction:`linear`},"&-item":{position:`absolute`,display:`block`,width:a(`dot-item-size`),height:a(`dot-item-size`),background:`currentColor`,borderRadius:`100%`,transform:`scale(0.75)`,transformOrigin:`50% 50%`,opacity:.3,animationName:Npe,animationDuration:`1s`,animationIterationCount:`infinite`,animationTimingFunction:`linear`,animationDirection:`alternate`,"&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:`0s`},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:`0.4s`},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:`0.8s`},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:`1.2s`}},"&-progress":{position:`absolute`,left:`50%`,top:0,transform:`translateX(-50%)`},"&-circle":{strokeLinecap:`round`,transition:[`stroke-dashoffset`,`stroke-dasharray`,`stroke`,`stroke-width`,`opacity`].map(e=>`${e} ${r} ease`).join(`,`),fillOpacity:0,stroke:`currentcolor`},"&-circle-bg":{stroke:e.colorFillSecondary}}}}},Lpe=e=>{let{componentCls:t}=e,[n]=sl(e.antCls,`spin`);return{[t]:{"&-sm":{[n(`dot-holder-size`)]:e.dotSizeSM},"&-lg":{[n(`dot-holder-size`)]:e.dotSizeLG}}}},Rpe=il(`Spin`,e=>{let t=_s(e,{spinDotDefault:e.colorTextDescription});return[Fpe(t),Ipe(t),Lpe(t)]},e=>{let{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}}),zpe=200,cP=[[30,.05],[70,.03],[96,.01]];function Bpe(e,t){let[n,r]=C.useState(0),i=C.useRef(null),a=t===`auto`;return C.useEffect(()=>(a&&e&&(r(0),i.current=setInterval(()=>{r(e=>{let t=100-e;for(let n=0;n{i.current&&=(clearInterval(i.current),null)}),[a,e]),a?n:t}var lP;function Vpe(e,t){return!!e&&!!t&&!Number.isNaN(Number(t))}var uP=e=>{let{prefixCls:t,spinning:n=!0,delay:r=0,className:i,rootClassName:a,size:o,tip:s,description:c,wrapperClassName:l,style:u,children:d,fullscreen:f=!1,indicator:p,percent:m,classNames:h,styles:g,..._}=e,{getPrefixCls:v,direction:y,indicator:b,className:x,style:S,classNames:w,styles:T}=ui(`spin`),E=v(`spin`,t),[D,O]=Rpe(E),[k,A]=C.useState(()=>n&&!Vpe(n,r)),j=Bpe(k,m);C.useEffect(()=>{if(n){let e=$le(r,()=>{A(!0)});return e(),()=>{e?.cancel?.()}}A(!1)},[r,n]);let M=Rm(e=>o??e),N=c??s,P={...e,size:M,spinning:k,tip:N,description:N,fullscreen:f,children:d,percent:j},[F,I]=Id([w,h],[T,g],{props:P}),L=p??b??lP,R=d!==void 0,z=R||f,B=C.createElement(C.Fragment,null,C.createElement(Mpe,{className:q(F.indicator),style:I.indicator,prefixCls:E,indicator:L,percent:j}),N&&C.createElement(`div`,{className:q(`${E}-description`,F.tip,F.description),style:{...I.tip,...I.description}},N));return C.createElement(`div`,{className:q(E,{[`${E}-sm`]:M===`small`,[`${E}-lg`]:M===`large`,[`${E}-spinning`]:k,[`${E}-rtl`]:y===`rtl`,[`${E}-fullscreen`]:f},a,F.root,f&&F.mask,z?l:[`${E}-section`,F.section],x,i,D,O),style:{...I.root,...z?{}:I.section,...f?I.mask:{},...S,...u},"aria-live":`polite`,"aria-busy":k,..._},k&&(z?C.createElement(`div`,{className:q(`${E}-section`,F.section),style:I.section},B):B),R&&C.createElement(`div`,{className:q(`${E}-container`,F.container),style:I.container},d))};uP.setDefaultIndicator=e=>{lP=e};var dP=C.createContext({});dP.Consumer;var Hpe=({prefixCls:e,className:t,avatar:n,title:r,description:i,...a})=>{let{getPrefixCls:o}=(0,C.useContext)(si),s=o(`list`,e),c=q(`${s}-item-meta`,t),l=C.createElement(`div`,{className:`${s}-item-meta-content`},r&&C.createElement(`h4`,{className:`${s}-item-meta-title`},r),i&&C.createElement(`div`,{className:`${s}-item-meta-description`},i));return C.createElement(`div`,{...a,className:c},n&&C.createElement(`div`,{className:`${s}-item-meta-avatar`},n),(r||i)&&l)},fP=C.forwardRef((e,t)=>{let{prefixCls:n,children:r,actions:i,extra:a,styles:o,className:s,classNames:c,colStyle:l,...u}=e,{grid:d,itemLayout:f}=(0,C.useContext)(dP),{getPrefixCls:p,list:m}=(0,C.useContext)(si),h=e=>q(m?.item?.classNames?.[e],c?.[e]),g=e=>({...m?.item?.styles?.[e],...o?.[e]}),_=()=>{let e=wr(r);return e.some(e=>typeof e==`string`)&&e.length>1},v=()=>f===`vertical`?!!a:!_(),y=p(`list`,n),b=i&&i.length>0&&C.createElement(`ul`,{className:q(`${y}-item-action`,h(`actions`)),key:`actions`,style:g(`actions`)},i.map((e,t)=>C.createElement(`li`,{key:`${y}-item-action-${t}`},e,t!==i.length-1&&C.createElement(`em`,{className:`${y}-item-action-split`})))),x=d?`div`:`li`,S=C.createElement(x,{...u,...d?{}:{ref:t},className:q(`${y}-item`,{[`${y}-item-no-flex`]:!v()},s)},f===`vertical`&&a?[C.createElement(`div`,{className:`${y}-item-main`,key:`content`},r,b),C.createElement(`div`,{className:q(`${y}-item-extra`,h(`extra`)),key:`extra`,style:g(`extra`)},a)]:[r,b,Fp(a,{key:`extra`})]);return d?C.createElement(tj,{ref:t,flex:1,style:l},S):S});fP.Meta=Hpe;var Upe=e=>{let{listBorderedCls:t,componentCls:n,paddingLG:r,margin:i,itemPaddingSM:a,itemPaddingLG:o,marginLG:s,borderRadiusLG:c}=e,l=J(e.calc(c).sub(e.lineWidth).equal());return{[t]:{border:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${n}-header`]:{borderRadius:`${l} ${l} 0 0`},[`${n}-footer`]:{borderRadius:`0 0 ${l} ${l}`},[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${J(i)} ${J(s)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:a}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:o}}}},Wpe=e=>{let{componentCls:t,screenSM:n,screenMD:r,marginLG:i,marginSM:a,margin:o}=e;return{[`@media screen and (max-width:${r}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:i}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:`wrap`,[`${t}-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:`wrap-reverse`,[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${J(o)}`}}}}}},Gpe=e=>{let{componentCls:t,antCls:n,controlHeight:r,minHeight:i,paddingSM:a,marginLG:o,padding:s,itemPadding:c,colorPrimary:l,itemPaddingSM:u,itemPaddingLG:d,paddingXS:f,margin:p,colorText:m,colorTextDescription:h,motionDurationSlow:g,lineWidth:_,headerBg:v,footerBg:y,emptyTextPadding:b,metaMarginBottom:x,avatarMarginRight:S,titleMarginBottom:C,descriptionFontSize:w}=e;return{[t]:{...Yc(e),position:`relative`,"--rc-virtual-list-scrollbar-bg":e.colorSplit,"*":{outline:`none`},[`${t}-header`]:{background:v},[`${t}-footer`]:{background:y},[`${t}-header, ${t}-footer`]:{paddingBlock:a},[`${t}-pagination`]:{marginBlockStart:o,[`${n}-pagination-options`]:{textAlign:`start`}},[`${t}-spin`]:{minHeight:i,textAlign:`center`},[`${t}-items`]:{margin:0,padding:0,listStyle:`none`},[`${t}-item`]:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:c,color:m,[`${t}-item-meta`]:{display:`flex`,flex:1,alignItems:`flex-start`,maxWidth:`100%`,[`${t}-item-meta-avatar`]:{marginInlineEnd:S},[`${t}-item-meta-content`]:{flex:`1 0`,width:0,color:m},[`${t}-item-meta-title`]:{margin:`0 0 ${J(e.marginXXS)} 0`,color:m,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:m,transition:`all ${g}`,"&:hover":{color:l}}},[`${t}-item-meta-description`]:{color:h,fontSize:w,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:`0 0 auto`,marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:`none`,"& > li":{position:`relative`,display:`inline-block`,padding:`0 ${J(f)}`,color:h,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:`center`,"&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:`absolute`,insetBlockStart:`50%`,insetInlineEnd:0,width:_,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:`translateY(-50%)`,backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${J(s)} 0`,color:h,fontSize:e.fontSizeSM,textAlign:`center`},[`${t}-empty-text`]:{padding:b,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:`center`},[`${t}-item-no-flex`]:{display:`block`}},[`${t}-grid ${n}-col > ${t}-item`]:{display:`block`,maxWidth:`100%`,marginBlockEnd:p,paddingBlock:0,borderBlockEnd:`none`},[`${t}-vertical ${t}-item`]:{alignItems:`initial`,[`${t}-item-main`]:{display:`block`,flex:1},[`${t}-item-extra`]:{marginInlineStart:o},[`${t}-item-meta`]:{marginBlockEnd:x,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:C,color:m,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:`auto`,"> li":{padding:`0 ${J(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:`none`}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${J(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:d},[`${t}-sm ${t}-item`]:{padding:u},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:`right`}}}}},Kpe=il(`List`,e=>{let t=_s(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[Gpe(t),Upe(t),Wpe(t)]},e=>({contentWidth:220,itemPadding:`${J(e.paddingContentVertical)} 0`,itemPaddingSM:`${J(e.paddingContentVerticalSM)} ${J(e.paddingContentHorizontal)}`,itemPaddingLG:`${J(e.paddingContentVerticalLG)} ${J(e.paddingContentHorizontalLG)}`,headerBg:`transparent`,footerBg:`transparent`,emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),{extraCssVarPrefixCls:({prefixCls:e})=>[`${e}-container`]}),pP=C.forwardRef((e,t)=>{let{pagination:n=!1,prefixCls:r,bordered:i=!1,split:a=!0,className:o,rootClassName:s,style:c,children:l,itemLayout:u,loadMore:d,grid:f,dataSource:p=[],size:m,header:h,footer:g,loading:_=!1,rowKey:v,renderItem:y,locale:b,...x}=e,S=gd(n)?n:{},[w,T]=C.useState(S.defaultCurrent||1),[E,D]=C.useState(S.defaultPageSize||10),{getPrefixCls:O,direction:k,className:A,style:j}=ui(`list`),{renderEmpty:M}=C.useContext(si),N={current:1,total:0,position:`bottom`},P=e=>(t,r)=>{T(t),D(r),n&&n?.[e]?.(t,r)},F=P(`onChange`),I=P(`onShowSizeChange`),L=(e,t)=>{if(!y)return null;let n;return n=typeof v==`function`?v(e):v?e[v]:e.key,n||=`list-item-${t}`,C.createElement(C.Fragment,{key:n},y(e,t))},R=!!(d||n||g),z=O(`list`,r),[B,V]=Kpe(z),H=_;typeof H==`boolean`&&(H={spinning:H});let U=!!H?.spinning,W=Rm(m),ee=``;switch(W){case`large`:ee=`lg`;break;case`small`:ee=`sm`;break;default:break}let te=q(z,{[`${z}-vertical`]:u===`vertical`,[`${z}-${ee}`]:ee,[`${z}-split`]:a,[`${z}-bordered`]:i,[`${z}-loading`]:U,[`${z}-grid`]:!!f,[`${z}-something-after-last-item`]:R,[`${z}-rtl`]:k===`rtl`},A,o,s,B,V),ne=`${z}-container`,re=fd(N,{total:p.length,current:w,pageSize:E},n||{}),ie=Math.ceil(re.total/re.pageSize);re.current=Math.min(re.current,ie);let ae=n&&C.createElement(`div`,{className:q(`${z}-pagination`)},C.createElement(tP,{align:`end`,...re,onChange:F,onShowSizeChange:I})),G=Qr(p);n&&p.length>(re.current-1)*re.pageSize&&(G=Qr(p).splice((re.current-1)*re.pageSize,re.pageSize));let oe=jb(Object.keys(f||{}).some(e=>Tb.includes(e))),K=C.useMemo(()=>{for(let e=0;e{if(!f)return;let e=K&&f[K]?f[K]:f.column;if(e)return{width:`${100/e}%`,maxWidth:`${100/e}%`}},[JSON.stringify(f),K]),ce=U&&C.createElement(`div`,{style:{minHeight:53}});if(G.length>0){let e=G.map(L);ce=f?C.createElement(rj,{className:q(ne,V),gutter:f.gutter},C.Children.map(e,e=>C.createElement(`div`,{key:e?.key,style:se},e))):C.createElement(`ul`,{className:q(`${z}-items`,ne,V)},e)}else !l&&!U&&(ce=C.createElement(`div`,{className:`${z}-empty-text`},b?.emptyText||M?.(`List`)||C.createElement(Jy,{componentName:`List`})));let le=re.position,ue=C.useMemo(()=>({grid:f,itemLayout:u}),[JSON.stringify(f),u]);return C.createElement(dP.Provider,{value:ue},C.createElement(`div`,{ref:t,style:{...j,...c},className:te,...x},(le===`top`||le===`both`)&&ae,h&&C.createElement(`div`,{className:`${z}-header`},h),C.createElement(uP,{...H},ce,l),g&&C.createElement(`div`,{className:`${z}-footer`},g),d||(le===`bottom`||le===`both`)&&ae))});pP.Item=fP;var mP=(e,t={})=>!pd(e)&&t?.skipEmpty?[]:Array.isArray(e)?e:[e],hP=null,gP=e=>e(),_P=[],vP={};function yP(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:i}=vP,a=e?.()||document.body;return{getContainer:()=>a,duration:t,rtl:n,maxCount:r,top:i}}var qpe=C.forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:i}=(0,C.useContext)(si),a=vP.prefixCls||i(`message`),o=(0,C.useContext)(Fv),[s,c]=wm({...n,prefixCls:a,...o.message});return C.useImperativeHandle(t,()=>{let e={...s};return Object.keys(e).forEach(t=>{e[t]=(...e)=>(r(),s[t].apply(s,e))}),{instance:e,sync:r}}),c}),Jpe=C.forwardRef((e,t)=>{let[n,r]=C.useState(yP),i=()=>{r(yP)};C.useEffect(i,[]);let a=Qp(),o=a.getRootPrefixCls(),s=a.getIconPrefixCls(),c=a.getTheme(),l=C.createElement(qpe,{ref:t,sync:i,messageConfig:n});return C.createElement($p,{prefixCls:o,iconPrefixCls:s,theme:c},a.holderRender?a.holderRender(l):l)}),bP=()=>{if(!hP){let e=document.createDocumentFragment(),t={fragment:e};hP=t,gP(()=>{Dm(C.createElement(Jpe,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,bP())})}}),e)});return}hP.instance&&(_P.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case`open`:gP(()=>{let t=hP.instance.open({...vP,...e.config});t?.then(e.resolve),e.setCloseFn(t)});break;case`destroy`:gP(()=>{hP?.instance.destroy(e.key)});break;default:gP(()=>{var n;let r=(n=hP.instance)[t].apply(n,Qr(e.args));r?.then(e.resolve),e.setCloseFn(r)})}}),_P=[])};function Ype(e){vP={...vP,...e},gP(()=>{hP?.sync?.()})}function Xpe(e){let t=_m(t=>{let n,r={type:`open`,config:e,resolve:t,setCloseFn:e=>{n=e}};return _P.push(r),()=>{n?gP(()=>{n()}):r.skipped=!0}});return bP(),t}function Zpe(e,t){let n=_m(n=>{let r,i={type:e,args:t,resolve:n,setCloseFn:e=>{r=e}};return _P.push(i),()=>{r?gP(()=>{r()}):i.skipped=!0}});return bP(),n}var Qpe=e=>{_P.push({type:`destroy`,key:e}),bP()},$pe=[`success`,`info`,`warning`,`error`,`loading`],xP={open:Xpe,destroy:Qpe,config:Ype,useMessage:Tm,_InternalPanelDoNotUseOrYouWillBeFired:hm};$pe.forEach(e=>{xP[e]=(...t)=>Zpe(e,t)});var eme=Rv(e=>{let{prefixCls:t,className:n,closeIcon:r,closable:i,type:a,title:o,children:s,footer:c,classNames:l,styles:u,...d}=e,{getPrefixCls:f}=C.useContext(si),{className:p,style:m,classNames:h,styles:g}=ui(`modal`),_=f(),v=t||f(`modal`),y=xf(_),[b,x]=_v(v,y),[S,w]=Id([h,l],[g,u],{props:e}),T=`${v}-confirm`,E={};return E=a?{closable:i??!1,title:``,footer:``,children:C.createElement(bv,{...e,prefixCls:v,confirmPrefixCls:T,rootPrefixCls:_,content:s})}:{closable:i??!0,title:o,footer:c!==null&&C.createElement(dv,{...e}),children:s},C.createElement(Sg,{prefixCls:v,className:q(b,`${v}-pure-panel`,a&&T,a&&`${T}-${a}`,n,p,x,y,S.root),style:{...m,...w.root},...d,closeIcon:uv(v,r),closable:i,classNames:S,styles:w,...E})});function SP(e){return Tv(Ev(e))}var CP=yv;CP.useModal=Mv,CP.info=function(e){return Tv(Dv(e))},CP.success=function(e){return Tv(Ov(e))},CP.error=function(e){return Tv(kv(e))},CP.warning=SP,CP.warn=SP,CP.confirm=function(e){return Tv(Av(e))},CP.destroyAll=function(){for(;Sv.length;){let e=Sv.pop();e&&e()}},CP.config=Mne,CP._InternalPanelDoNotUseOrYouWillBeFired=eme;var wP=il(`Popconfirm`,e=>{let{componentCls:t,iconCls:n,antCls:r,zIndexPopup:i,colorText:a,colorWarning:o,marginXXS:s,marginXS:c,fontSize:l,fontWeightStrong:u,colorTextHeading:d}=e;return{[t]:{zIndex:i,[`&${r}-popover`]:{fontSize:l},[`${t}-message`]:{marginBottom:c,display:`flex`,flexWrap:`nowrap`,alignItems:`start`,[`> ${t}-message-icon ${n}`]:{color:o,fontSize:l,lineHeight:1,marginInlineEnd:c},[`${t}-title`]:{fontWeight:u,color:d,"&:only-child":{fontWeight:`normal`}},[`${t}-description`]:{marginTop:s,color:a}},[`${t}-buttons`]:{textAlign:`end`,whiteSpace:`nowrap`,button:{marginInlineStart:c}}}}},e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),TP=e=>{let{prefixCls:t,okButtonProps:n,cancelButtonProps:r,title:i,description:a,cancelText:o,okText:s,okType:c=`primary`,icon:l=C.createElement(Hl,null),showCancel:u=!0,close:d,onConfirm:f,onCancel:p,onPopupClick:m,classNames:h,styles:g}=e,{getPrefixCls:_}=C.useContext(si),[v]=ld(`Popconfirm`,nd.Popconfirm),y=Lb(i),b=Lb(a);return C.createElement(`div`,{className:`${t}-inner-content`,onClick:m},C.createElement(`div`,{className:`${t}-message`},l&&C.createElement(`span`,{className:`${t}-message-icon`},l),C.createElement(`div`,{className:`${t}-message-text`},y&&C.createElement(`div`,{className:q(`${t}-title`,h?.title),style:g?.title},y),b&&C.createElement(`div`,{className:q(`${t}-description`,h?.content),style:g?.content},b))),C.createElement(`div`,{className:`${t}-buttons`},u&&C.createElement(tg,{onClick:p,size:`small`,...r},o||v?.cancelText),C.createElement(ng,{buttonProps:{size:`small`,...Ym(c),...n},actionFn:f,close:d,prefixCls:_(`btn`),quitOnNullishReturnValue:!0,emitEvent:!0},s||v?.okText)))},tme=e=>{let{prefixCls:t,placement:n,className:r,style:i,...a}=e,{getPrefixCls:o}=C.useContext(si),s=o(`popconfirm`,t);return wP(s),C.createElement(yx,{placement:n,className:q(s,r),style:i,content:C.createElement(TP,{prefixCls:s,...a})})},EP=C.forwardRef((e,t)=>{let{prefixCls:n,placement:r=`top`,trigger:i,okType:a=`primary`,icon:o=C.createElement(Hl,null),children:s,overlayClassName:c,onOpenChange:l,overlayStyle:u,styles:d,arrow:f,classNames:p,...m}=e,{getPrefixCls:h,className:g,style:_,classNames:v,styles:y,arrow:b,trigger:x}=ui(`popconfirm`),[S,w]=Wn(e.defaultOpen??!1,e.open),T=nx(f,b),E=i||x||`click`,D=e=>{w(e),l?.(e)},O=()=>{D(!1)},k=t=>e.onConfirm?.call(void 0,t),A=t=>{D(!1),e.onCancel?.call(void 0,t)},j=t=>{let{disabled:n=!1}=e;n||D(t)},M=h(`popconfirm`,n),N={...e,placement:r,trigger:E,okType:a,overlayStyle:u,styles:d,classNames:p},[P,F]=Id([v,p],[y,d],{props:N}),I=q(M,g,c,P.root);return wP(M),C.createElement(bx,{arrow:T,...Cr(m,[`title`]),trigger:E,placement:r,onOpenChange:j,open:S,ref:t,classNames:{root:I,container:P.container,arrow:P.arrow},styles:{root:{..._,...F.root,...u},container:F.container,arrow:F.arrow},content:C.createElement(TP,{okType:a,icon:o,...e,prefixCls:M,close:O,onConfirm:k,onCancel:A,classNames:P,styles:F}),"data-popover-inject":!0},s)});EP._InternalPanelDoNotUseOrYouWillBeFired=tme;var nme={percent:0,prefixCls:`rc-progress`,strokeColor:`#2db7f5`,strokeLinecap:`round`,strokeWidth:1,railColor:`#D9D9D9`,railWidth:1,gapPosition:`bottom`,loading:!1},rme=()=>{let e=(0,C.useRef)([]),t=(0,C.useRef)(null);return(0,C.useEffect)(()=>{let n=Date.now(),r=!1;e.current.forEach(e=>{if(!e)return;r=!0;let i=e.style;i.transitionDuration=`.3s, .3s, .3s, .06s`,t.current&&n-t.current<100&&(i.transitionDuration=`0s, 0s`)}),r&&(t.current=Date.now())}),e.current},DP=({bg:e,children:t})=>C.createElement(`div`,{style:{width:`100%`,height:`100%`,background:e}},t);function OP(e,t){return Object.keys(e).map(n=>{let r=`${Math.floor(parseFloat(n)*t)}%`;return`${e[n]} ${r}`})}var ime=C.forwardRef((e,t)=>{let{prefixCls:n,color:r,gradientId:i,radius:a,className:o,style:s,ptg:c,strokeLinecap:l,strokeWidth:u,size:d,gapDegree:f}=e,p=r&&typeof r==`object`,m=p?`#FFF`:void 0,h=d/2,g=C.createElement(`circle`,{className:q(`${n}-circle-path`,o),r:a,cx:h,cy:h,stroke:m,strokeLinecap:l,strokeWidth:u,opacity:c===0?0:1,style:s,ref:t});if(!p)return g;let _=`${i}-conic`,v=f?`${180+f/2}deg`:`0deg`,y=OP(r,(360-f)/360),b=OP(r,1),x=`conic-gradient(from ${v}, ${y.join(`, `)})`,S=`linear-gradient(to ${f?`bottom`:`top`}, ${b.join(`, `)})`;return C.createElement(C.Fragment,null,C.createElement(`mask`,{id:_},g),C.createElement(`foreignObject`,{x:0,y:0,width:d,height:d,mask:`url(#${_})`},C.createElement(DP,{bg:S},C.createElement(DP,{bg:x}))))}),kP=(e,t,n,r,i,a,o,s,c,l,u=0)=>{let d=n/100*360*((360-a)/360),f=a===0?0:{bottom:0,top:180,left:90,right:-90}[o],p=(100-r)/100*t;return c===`round`&&r!==100&&(p+=l/2,p>=t&&(p=t-.01)),{stroke:typeof s==`string`?s:void 0,strokeDasharray:`${t}px ${e}`,strokeDashoffset:p+u,transform:`rotate(${i+d+f}deg)`,transformOrigin:`50px 50px`,transition:`stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s`,fillOpacity:0}},ame=(({id:e,loading:t})=>{if(!t)return{indeterminateStyleProps:{},indeterminateStyleAnimation:null};let n=`${e}-indeterminate-animate`;return{indeterminateStyleProps:{transform:`rotate(0deg)`,animation:`${n} 1s linear infinite`},indeterminateStyleAnimation:C.createElement(`style`,null,`@keyframes ${n} { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } - }`)}});function NP(){return NP=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:t,prefixCls:n,classNames:r={},styles:i={},steps:a,strokeWidth:o,railWidth:s,gapDegree:c=0,gapPosition:l,railColor:u,strokeLinecap:d,style:f,className:p,strokeColor:m,percent:h,loading:g,..._}={...$pe,...e},v=Bf(t),y=`${v}-gradient`,b=50-o/2,x=Math.PI*2*b,S=c>0?90+c/2:-90,w=x*((360-c)/360),{count:T,gap:E}=typeof a==`object`?a:{count:a,gap:2},D=PP(h),O=PP(m),k=O.find(e=>e&&typeof e==`object`),A=k&&typeof k==`object`?`butt`:d,{indeterminateStyleProps:j,indeterminateStyleAnimation:M}=nme({id:v,loading:g}),N=MP(x,w,0,100,S,c,l,u,A,o),P=eme(),F=()=>{let e=0;return D.map((t,a)=>{let s=O[a]||O[O.length-1],u=MP(x,w,e,t,S,c,l,s,A,o);return e+=t,C.createElement(tme,{key:a,color:s,ptg:t,radius:b,prefixCls:n,gradientId:y,className:r.track,style:{...u,...j,...i.track},strokeLinecap:A,strokeWidth:o,gapDegree:c,ref:e=>{P[a]=e},size:100})}).reverse()},I=()=>{let e=Math.round(T*(D[0]/100)),t=100/T,a=0;return Array(T).fill(null).map((s,d)=>{let f=d<=e-1?O[0]:u,p=f&&typeof f==`object`?`url(#${y})`:void 0,m=MP(x,w,a,t,S,c,l,f,`butt`,o,E);return a+=(w-m.strokeDashoffset+E)*100/w,C.createElement(`circle`,{key:d,className:q(`${n}-circle-path`,r.track),r:b,cx:50,cy:50,stroke:p,strokeWidth:o,opacity:1,style:{...m,...i.track},ref:e=>{P[d]=e}})})};return C.createElement(`svg`,NP({className:q(`${n}-circle`,r.root,p),viewBox:`0 0 100 100`,style:{...i.root,...f},id:t,role:`presentation`},_),!T&&C.createElement(`circle`,{className:q(`${n}-circle-rail`,r.rail),r:b,cx:50,cy:50,stroke:u,strokeLinecap:A,strokeWidth:s||o,style:{...N,...i.rail}}),T?I():F(),M)};function FP(e){return!e||e<0?0:e>100?100:e}function IP({success:e}){let t;return e&&`percent`in e&&(t=e.percent),t}var ime=({percent:e,success:t})=>{let n=FP(IP({success:t}));return[n,FP(FP(e)-n)]},ame=({success:e={},strokeColor:t})=>{let{strokeColor:n}=e;return[n||Qs.green,t||null]},LP=(e,t,n)=>{let r=-1,i=-1;if(t===`step`){let t=n.steps,a=n.strokeWidth;typeof e==`string`||e===void 0?(r=e===`small`?2:14,i=a??8):md(e)?[r,i]=[e,e]:[r=14,i=8]=Array.isArray(e)?e:[e.width,e.height],r*=t}else if(t===`line`){let t=n?.strokeWidth;typeof e==`string`||e===void 0?i=t||(e===`small`?6:8):md(e)?[r,i]=[e,e]:[r=-1,i=8]=Array.isArray(e)?e:[e.width,e.height]}else (t===`circle`||t===`dashboard`)&&(typeof e==`string`||e===void 0?[r,i]=e===`small`?[60,60]:[120,120]:md(e)?[r,i]=[e,e]:Array.isArray(e)&&(r=e[0]??e[1]??120,i=e[0]??e[1]??120));return[r,i]},ome=3,sme=e=>ome/e*100,RP=[`root`,`body`,`indicator`],cme=e=>{let{prefixCls:t,classNames:n,styles:r,railColor:i,trailColor:a,strokeLinecap:o=`round`,gapPosition:s,gapPlacement:c,gapDegree:l,width:u=120,type:d,children:f,success:p,size:m=u,steps:h}=e,{direction:g}=ui(`progress`),_=i??a,[v,y]=LP(m,`circle`),{strokeWidth:b}=e;b===void 0&&(b=Math.max(sme(v),6));let x={width:v,height:y,fontSize:v*.15+6},S=C.useMemo(()=>{if(l||l===0)return l;if(d===`dashboard`)return 75},[l,d]),w=ime(e),T=C.useMemo(()=>{let e=(c??s)||d===`dashboard`&&`bottom`||void 0,t=g===`rtl`;switch(e){case`start`:return t?`right`:`left`;case`end`:return t?`left`:`right`;default:return e}},[g,c,s,d]),E=Object.prototype.toString.call(e.strokeColor)===`[object Object]`,D=ame({success:p,strokeColor:e.strokeColor}),O=q(`${t}-body`,{[`${t}-circle-gradient`]:E},n.body),k=C.createElement(rme,{steps:h,percent:h?w[1]:w,strokeWidth:b,railWidth:b,strokeColor:h?D[1]:D,strokeLinecap:o,railColor:_,prefixCls:t,gapDegree:S,gapPosition:T,classNames:Cr(n,RP),styles:Cr(r,RP)}),A=v<=20,j=C.createElement(`div`,{className:O,style:{...x,...r.body}},k,!A&&f);return A?C.createElement(nx,{title:f},j):j},zP=`--progress-line-stroke-color`,lme=e=>{let t=e?`100%`:`-100%`;return new Ro(`antProgress${e?`RTL`:`LTR`}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:`translateX(0) scaleX(1)`,opacity:0}})},ume=e=>{let{componentCls:t,iconCls:n}=e;return{[t]:{...Yc(e),display:`inline-flex`,"&-rtl":{direction:`rtl`},[`${t}-indicator`]:{color:e.colorText,lineHeight:1,whiteSpace:`nowrap`,verticalAlign:`middle`,wordBreak:`normal`,[n]:{fontSize:e.fontSize}},[`&${t}-status-exception`]:{[`${t}-indicator`]:{color:e.colorError}},[`&${t}-status-success`]:{[`${t}-indicator`]:{color:e.colorSuccess}}}}},dme=e=>{let{componentCls:t}=e;return{[`${t}-line`]:{position:`relative`,width:`100%`,fontSize:e.fontSize,[`${t}-body`]:{display:`inline-flex`,alignItems:`center`,width:`100%`,gap:e.marginXS},[`${t}-rail`]:{flex:`auto`,background:e.remainingColor,borderRadius:e.lineBorderRadius,position:`relative`,width:`100%`,overflow:`hidden`},[`&${t}-status-active`]:{[`${t}-track:after`]:{content:`""`,position:`absolute`,inset:0,backgroundColor:e.colorBgContainer,borderRadius:`inherit`,opacity:0,animationName:lme(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:`infinite`}},[`${t}-track`]:{position:`absolute`,insetInlineStart:0,insetBlock:0,borderRadius:`inherit`,background:e.defaultColor,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,minWidth:`max-content`,display:`flex`,alignItems:`center`,"&-success":{background:e.colorSuccess}},[`&${t}-status-exception`]:{[`${t}-track`]:{background:e.colorError}},[`&${t}-status-success`]:{[`${t}-track`]:{background:e.colorSuccess}},[`${t}-indicator-outer`]:{[`&${t}-indicator-start`]:{order:-1}},[`${t}-body-layout-bottom`]:{flexDirection:`column`,alignItems:`center`,gap:e.marginXXS},[`${t}-indicator${t}-indicator-inner`]:{color:e.colorWhite,paddingInline:e.paddingXXS,width:`100%`,display:`flex`,justifyContent:`center`,[`&${t}-indicator-end`]:{justifyContent:`end`},[`&${t}-indicator-start`]:{justifyContent:`start`},[`&${t}-indicator-bright`]:{color:`rgba(0, 0, 0, 0.45)`}}}}},fme=e=>{let{componentCls:t,iconCls:n}=e;return{[`${t}-circle`]:{[`${t}-circle-rail`]:{stroke:e.remainingColor},[`${t}-body:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-body`]:{position:`relative`,lineHeight:1,backgroundColor:`transparent`},[`${t}-indicator`]:{position:`absolute`,insetBlockStart:`50%`,insetInlineStart:0,width:`100%`,margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:`normal`,textAlign:`center`,transform:`translateY(-50%)`,[n]:{fontSize:e.circleIconFontSize}},[`&${t}-status-exception`]:{[`${t}-body:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}}},[`&${t}-status-success`]:{[`${t}-body:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:`bottom`}}}},pme=e=>{let{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:`inline-block`,"&-body":{display:`flex`,flexDirection:`row`,alignItems:`center`,gap:e.progressStepMarginInlineEnd,[`${t}-indicator`]:{marginInlineStart:e.marginXS}},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},mme=e=>{let{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-indicator ${n}`]:{fontSize:e.fontSizeSM}}}},hme=il(`Progress`,e=>{let t=e.calc(e.marginXXS).div(2).equal(),n=_s(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:`2.4s`});return[ume(n),dme(n),fme(n),pme(n),mme(n)]},e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:`1em`,circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`})),gme=e=>{let t=[];return Object.keys(e).forEach(n=>{let r=Number.parseFloat(n.replace(/%/g,``));Number.isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((e,t)=>e.key-t.key),t.map(({key:e,value:t})=>`${t} ${e}%`).join(`, `)},_me=(e,t)=>{let{from:n=Qs.blue,to:r=Qs.blue,direction:i=t===`rtl`?`to left`:`to right`,...a}=e;if(Object.keys(a).length!==0){let e=`linear-gradient(${i}, ${gme(a)})`;return{background:e,[zP]:e}}let o=`linear-gradient(${i}, ${n}, ${r})`;return{background:o,[zP]:o}},vme=e=>{let{prefixCls:t,classNames:n,styles:r,direction:i,percent:a,size:o,strokeWidth:s,strokeColor:c,strokeLinecap:l=`round`,children:u,railColor:d,trailColor:f,percentPosition:p,success:m}=e,{align:h,type:g}=p,_=d??f,v=l===`square`||l===`butt`?0:void 0,[y,b]=LP(o??[-1,s||(o===`small`?6:8)],`line`,{strokeWidth:s}),x={backgroundColor:_||void 0,borderRadius:v,height:b},S=`${t}-track`,w=c&&typeof c!=`string`?_me(c,i):{[zP]:c,background:c},T={width:`${FP(a)}%`,height:b,borderRadius:v,...w},E=IP(e),D={width:`${FP(E)}%`,height:b,borderRadius:v,backgroundColor:m?.strokeColor};return C.createElement(`div`,{className:q(`${t}-body`,n.body,{[`${t}-body-layout-bottom`]:h===`center`&&g===`outer`}),style:{width:y>0?y:`100%`,...r.body}},C.createElement(`div`,{className:q(`${t}-rail`,n.rail),style:{...x,...r.rail}},C.createElement(`div`,{className:q(S,n.track),style:{...T,...r.track}},g===`inner`&&u),E!==void 0&&C.createElement(`div`,{className:q(S,`${S}-success`,n.track),style:{...D,...r.track}})),g===`outer`&&u)},yme=e=>{let{classNames:t,styles:n,size:r,steps:i,rounding:a=Math.round,percent:o=0,strokeWidth:s=8,strokeColor:c,railColor:l,trailColor:u,prefixCls:d,children:f}=e,p=a(o/100*i),[m,h]=LP(r??[r===`small`?2:14,s],`step`,{steps:i,strokeWidth:s}),g=m/i,_=Array.from({length:i}),v=l??u;for(let e=0;e{let{prefixCls:n,className:r,rootClassName:i,classNames:a,styles:o,steps:s,strokeColor:c,percent:l=0,size:u=`medium`,showInfo:d=!0,type:f=`line`,status:p,format:m,style:h,percentPosition:g={},..._}=e,{align:v=`end`,type:y=`outer`}=g,b=Array.isArray(c)?c[0]:c,x=typeof c==`string`||Array.isArray(c)?c:void 0,S=C.useMemo(()=>b?new zs(typeof b==`string`?b:Object.values(b)[0]).isLight():!1,[c]),w=C.useMemo(()=>{let t=IP(e);return Number.parseInt(t===void 0?(l??0)?.toString():(t??0)?.toString(),10)},[l,e.success]),T=C.useMemo(()=>!bme.includes(p)&&w>=100?`success`:p||`normal`,[p,w]),{getPrefixCls:E,direction:D,className:O,style:k,classNames:A,styles:j}=ui(`progress`),M=E(`progress`,n),[N,P]=hme(M),F={...e,percent:l,type:f,size:u,showInfo:d,percentPosition:g},[I,L]=Id([A,a],[j,o],{props:F}),R=f===`line`,z=R&&!s,B=C.useMemo(()=>{if(!d)return null;let t=IP(e),n,r=m||(e=>`${e}%`),i=R&&S&&y===`inner`;return y===`inner`||m||T!==`exception`&&T!==`success`?n=r(FP(l),FP(t)):T===`exception`?n=R?C.createElement(Il,null):C.createElement(zl,null):T===`success`&&(n=R?C.createElement(Nl,null):C.createElement(_b,null)),C.createElement(`span`,{className:q(`${M}-indicator`,{[`${M}-indicator-bright`]:i,[`${M}-indicator-${v}`]:z,[`${M}-indicator-${y}`]:z},I.indicator),style:L.indicator,title:typeof n==`string`?n:void 0},n)},[d,l,w,T,f,M,m,R,S,y,v,z,I.indicator,L.indicator]),V={...e,classNames:I,styles:L},H;f===`line`?H=s?C.createElement(yme,{...V,strokeColor:x,prefixCls:M,steps:gd(s)?s.count:s},B):C.createElement(vme,{...V,strokeColor:b,prefixCls:M,direction:D,percentPosition:{align:v,type:y}},B):(f===`circle`||f===`dashboard`)&&(H=C.createElement(cme,{...V,strokeColor:b,prefixCls:M,progressStatus:T},B));let U=q(M,`${M}-status-${T}`,{[`${M}-${f===`dashboard`&&`circle`||f}`]:f!==`line`,[`${M}-inline-circle`]:f===`circle`&&LP(u,`circle`)[0]<=20,[`${M}-line`]:z,[`${M}-line-align-${v}`]:z,[`${M}-line-position-${y}`]:z,[`${M}-steps`]:s,[`${M}-show-info`]:d,[`${M}-small`]:u===`small`,[`${M}-rtl`]:D===`rtl`},O,r,i,I.root,N,P);return C.createElement(`div`,{ref:t,style:{...k,...L.root,...h},className:U,role:`progressbar`,"aria-valuenow":w,"aria-valuemin":0,"aria-valuemax":100,...Cr(_,[`railColor`,`trailColor`,`strokeWidth`,`width`,`gapDegree`,`gapPosition`,`gapPlacement`,`strokeLinecap`,`success`])},H)}),xme={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z`}}]},name:`reload`,theme:`outlined`};function VP(){return VP=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,VP({},e,{ref:t,icon:xme}))),Sme={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z`}}]},name:`star`,theme:`filled`};function UP(){return UP=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UP({},e,{ref:t,icon:Sme}))),wme={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`warning`,theme:`filled`};function WP(){return WP=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,WP({},e,{ref:t,icon:wme}))),GP=oj,Eme=e=>{let{value:t,formatter:n,precision:r,decimalSeparator:i,groupSeparator:a=``,prefixCls:o}=e,s;if(typeof n==`function`)s=n(t);else{let e=String(t),n=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(!n||e===`-`)s=e;else{let e=n[1],t=n[2]||`0`,c=n[4]||``;t=t.replace(/\B(?=(\d{3})+(?!\d))/g,a),md(r)&&(c=c.padEnd(r,`0`).slice(0,r>0?r:0)),c&&=`${i}${c}`,s=[C.createElement(`span`,{key:`int`,className:`${o}-content-value-int`},e,t),c&&C.createElement(`span`,{key:`decimal`,className:`${o}-content-value-decimal`},c)]}}return C.createElement(`span`,{className:`${o}-content-value`},s)},Dme=e=>{let{componentCls:t,marginXXS:n,padding:r,colorTextDescription:i,titleFontSize:a,colorTextHeading:o,contentFontSize:s,fontFamily:c}=e;return{[t]:{...Yc(e),[`${t}-header`]:{paddingBottom:n,[`${t}-title`]:{color:i,fontSize:a}},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:o,fontSize:s,fontFamily:c,[`${t}-content-value`]:{display:`inline-block`,direction:`ltr`},[`${t}-content-prefix, ${t}-content-suffix`]:{display:`inline-block`},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}}}},Ome=il(`Statistic`,e=>Dme(_s(e,{})),e=>{let{fontSizeHeading3:t,fontSize:n}=e;return{titleFontSize:n,contentFontSize:t}}),KP=C.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:i,style:a,valueStyle:o,value:s=0,title:c,valueRender:l,prefix:u,suffix:d,loading:f=!1,formatter:p,precision:m,decimalSeparator:h=`.`,groupSeparator:g=`,`,onMouseEnter:_,onMouseLeave:v,styles:y,classNames:b,...x}=e,{getPrefixCls:S,direction:w,className:T,style:E,classNames:D,styles:O}=ui(`statistic`),k=S(`statistic`,n),[A,j]=Ome(k),M={...e,decimalSeparator:h,groupSeparator:g,loading:f,value:s},[N,P]=Id([D,b],[O,y],{props:M}),F=C.createElement(Eme,{decimalSeparator:h,groupSeparator:g,prefixCls:k,formatter:p,precision:m,value:s}),I=q(k,{[`${k}-rtl`]:w===`rtl`},T,r,i,N.root,A,j),L=q(`${k}-header`,N.header),R=q(`${k}-title`,N.title),z=q(`${k}-content`,N.content),B=q(`${k}-content-prefix`,N.prefix),V=q(`${k}-content-suffix`,N.suffix),H=C.useRef(null);C.useImperativeHandle(t,()=>({nativeElement:H.current}));let U=Hu(x,{aria:!0,data:!0});return C.createElement(`div`,{...U,className:I,style:{...P.root,...E,...a},ref:H,onMouseEnter:_,onMouseLeave:v},c&&C.createElement(`div`,{className:L,style:P.header},C.createElement(`div`,{className:R,style:P.title},c)),C.createElement($_,{paragraph:!1,loading:f,className:`${k}-skeleton`,active:!0},C.createElement(`div`,{className:z,style:{...o,...P.content}},u&&C.createElement(`span`,{className:B,style:P.prefix},u),typeof l==`function`?l(F):F,d&&C.createElement(`span`,{className:V,style:P.suffix},d))))}),kme=[[`Y`,1e3*60*60*24*365],[`M`,1e3*60*60*24*30],[`D`,1e3*60*60*24],[`H`,1e3*60*60],[`m`,1e3*60],[`s`,1e3],[`S`,1]];function Ame(e,t){let n=e,r=/\[[^\]]*]/g,i=(t.match(r)||[]).map(e=>e.slice(1,-1)),a=t.replace(r,`[]`),o=kme.reduce((e,[t,r])=>{if(e.includes(t)){let i=Math.floor(n/r);return n-=i*r,e.replace(RegExp(`${t}+`,`g`),e=>{let t=e.length;return i.toString().padStart(t,`0`)})}return e},a),s=0;return o.replace(r,()=>{let e=i[s];return s+=1,e})}function jme(e,t,n){let{format:r=``}=t,i=new Date(e).getTime(),a=Date.now();return Ame(Math.max(n?i-a:a-i,0),r)}var Mme=1e3/60;function Nme(e){return new Date(e).getTime()}var qP=e=>{let{value:t,format:n=`HH:mm:ss`,onChange:r,onFinish:i,type:a,...o}=e,s=a===`countdown`,[c,l]=C.useState(null),u=Rn(()=>{let e=Date.now(),n=Nme(t);l({});let a=s?n-e:e-n;return r?.(a),s&&n{let e,t=()=>{u()||window.clearInterval(e)},n=()=>{e=window.setInterval(t,Mme)},r=()=>{window.clearInterval(e)};return n(),()=>{r()}},[t,s]),C.useEffect(()=>{l({})},[]);let d=(e,t)=>c?jme(e,{...t,format:n},s):`-`,f=e=>Fp(e,{title:void 0});return C.createElement(KP,{...o,value:t,valueRender:f,formatter:d})},Pme=C.memo(e=>C.createElement(qP,{...e,type:`countdown`}));KP.Timer=qP,KP.Countdown=Pme;var JP=KP;function Fme(e){let{prefixCls:t,className:n,style:r,status:i}=e,a=`${t}-rail`;return C.createElement(`div`,{className:q(a,`${a}-${i}`,n),style:r})}var Ime=C.createContext({}),YP=C.createContext(null);function XP(){return XP=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:n,style:r,children:i,...a}=e,{prefixCls:o,classNames:s,styles:c}=C.useContext(YP),{className:l,style:u}=C.useContext(ZP),d=`${o}-item`;return C.createElement(`div`,XP({},Hu(a,!1),{ref:t,className:q(`${d}-icon`,s.itemIcon,l,n),style:{...c.itemIcon,...u,...r}}),i)});function $P(){return $P=Object.assign?Object.assign.bind():function(e){for(var t=1;t{g?.(e),f(c)},N.onKeyDown=e=>{let{which:t}=e;(t===Qp.ENTER||t===Qp.SPACE)&&f(c)});let P=w||`wait`,F=eF(_),I=eF(v),L=q(p,`${p}-${P}`,{[`${p}-custom`]:S,[`${p}-active`]:s,[`${p}-disabled`]:x===!0,[`${p}-empty-header`]:!F&&!I},T,n.item,D.root),R=C.createElement(QP,null);u&&(R=u(R,{...j,components:{Icon:QP}}));let z=C.createElement(`div`,{className:q(`${p}-wrapper`,n.itemWrapper,D.wrapper),style:{...r.itemWrapper,...O.wrapper}},C.createElement(ZP.Provider,{value:{className:D.icon,style:O.icon}},R),C.createElement(`div`,{className:q(`${p}-section`,n.itemSection,D.section),style:{...r.itemSection,...O.section}},C.createElement(`div`,{className:q(`${p}-header`,n.itemHeader,D.header),style:{...r.itemHeader,...O.header}},F&&C.createElement(`div`,{className:q(`${p}-title`,n.itemTitle,D.title),style:{...r.itemTitle,...O.title}},_),I&&C.createElement(`div`,{title:typeof v==`string`?v:void 0,className:q(`${p}-subtitle`,n.itemSubtitle,D.subtitle),style:{...r.itemSubtitle,...O.subtitle}},v),!a&&C.createElement(Fme,{prefixCls:p,className:q(n.itemRail,D.rail),style:{...r.itemRail,...O.rail},status:m?w:o})),eF(A)&&C.createElement(`div`,{className:q(`${p}-content`,n.itemContent,D.content),style:{...r.itemContent,...O.content}},A))),B=C.createElement(h,$P({},k,N,{className:L,style:{...r.item,...O.root,...E}}),d?d(z):z);return l&&(B=l(B,j)||null),B}function tF(){return tF=Object.assign?Object.assign.bind():function(e){for(var t=1;t(m||[]).filter(Boolean),[m]),T=C.useMemo(()=>w.map(({status:e},t)=>{let n=f+t;return e||(n===d?u:n{p&&d!==e&&p(e)},{root:D=`div`,item:O=`div`}=l||{},k=C.useMemo(()=>({prefixCls:t,classNames:i,styles:a,ItemComponent:O}),[t,i,a,O]),A=(e,n)=>{let r=f+n,o=T[n],s=T[n+1],c={...e,status:o};return C.createElement(Lme,{key:r,prefixCls:t,classNames:i,styles:a,data:c,nextStatus:s,active:r===d,index:r,last:w.length-1===n,iconRender:h,itemRender:g,itemWrapperRender:_,onClick:p&&E})};return C.createElement(D,tF({className:S,style:{...n,...a?.root}},v),C.createElement(YP.Provider,{value:k},w.map(A)))}var zme=Rme,Bme=C.createContext(null),Vme=e=>{let{prefixCls:t}=e;return C.createElement(`svg`,{className:`${t}-panel-arrow`,viewBox:`0 0 100 100`,xmlns:`http://www.w3.org/2000/svg`,preserveAspectRatio:`none`},C.createElement(`title`,null,`Arrow`),C.createElement(`path`,{d:`M 0 0 L 100 50 L 0 100`}))},Hme=e=>{let{prefixCls:t,rootPrefixCls:n,children:r,percent:i}=e,a=`${t}-item-progress-icon`,o=`${a}-circle`,[,s]=sl(n,`cmp-steps`),c=`calc(${s(`progress-radius`)} * 2 * ${Math.PI*i/100}) 9999`;return C.createElement(C.Fragment,null,C.createElement(`svg`,{className:`${a}-svg`,viewBox:`0 0 100 100`,width:`100%`,height:`100%`,xmlns:`http://www.w3.org/2000/svg`,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":i},C.createElement(`title`,null,`Progress`),C.createElement(`circle`,{className:q(o,`${o}-rail`)}),C.createElement(`circle`,{className:q(o,`${o}-ptg`),strokeDasharray:c,transform:`rotate(-90 50 50)`})),r)},Ume=e=>{let{componentCls:t,antCls:n}=e,r=`${t}-item`,[i,a]=sl(n,`cmp-steps`);return{[`${t}-horizontal`]:{[`> ${r}`]:{flex:`1 1 auto`,minWidth:e.iconSize,[`${r}-rail`]:{[i(`horizontal-rail-margin`)]:`calc(${a(`icon-size-max`)} / 2 + ${a(`item-wrapper-padding-top`)})`,position:`static`,marginTop:a(`horizontal-rail-margin`),width:`auto`,borderBlockStartWidth:a(`rail-size`),flex:1,minWidth:0,alignSelf:`flex-start`,transform:`translateY(-50%)`}}}}},Wme=e=>{let{componentCls:t,customIconFontSize:n,motionDurationSlow:r,iconSize:i,lineWidth:a,lineType:o,antCls:s}=e,c=`${t}-item`,[l,u]=sl(s,`cmp-steps`);return{[t]:{[l(`icon-size`)]:i,[l(`icon-border-width`)]:a,[`${c}-icon`]:{width:u(`icon-size`),height:u(`icon-size`),margin:0,flex:`none`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:u(`icon-size`),textAlign:`center`,borderRadius:u(`icon-size`),border:`${u(`icon-border-width`)} ${o} transparent`,transition:[`background-color`,`border`,`color`,`inset`,`transform`].map(e=>`${e} ${r}`).join(`, `),zIndex:1},[`${c}-custom ${c}-icon`]:{background:`none`,border:0,fontSize:n}}}},Gme=e=>{let{componentCls:t,inlineDotSize:n,paddingXS:r,lineWidth:i,antCls:a,calc:o}=e,s=o(r).add(i).equal(),c=`${t}-item`,[l,u]=sl(a,`cmp-steps`);return{[`${t}-inline`]:{[l(`items-offset`)]:`0`,[l(`item-wrapper-padding-top`)]:s,display:`inline-flex`,"&:before":{content:`""`,flex:u(`items-offset`)},[c]:{[l(`title-vertical-row-gap`)]:r,[l(`icon-size`)]:n,[l(`icon-size-active`)]:n,[l(`title-font-size`)]:e.fontSizeSM,[l(`title-line-height`)]:e.lineHeightSM,[l(`item-title-color`)]:e.colorTextSecondary,[l(`subtitle-font-size`)]:e.fontSizeSM,[l(`subtitle-line-height`)]:e.lineHeightSM,[l(`item-subtitle-color`)]:e.colorTextQuaternary,[l(`rail-size`)]:e.lineWidth,[l(`title-horizontal-rail-gap`)]:`0px`,flex:1,"&-wrapper":{paddingInline:e.paddingXXS,marginInline:e.calc(e.marginXXS).div(2).equal(),borderRadius:e.borderRadiusSM,cursor:`pointer`,transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover}},"&-icon":{[`${c}-icon-dot`]:{"&:after":{display:`none`}}},"&-title":{fontWeight:`normal`,whiteSpace:`nowrap`},"&-content":{display:`none`}}}}};function Kme(e){return(e||`--ant-not-exist`).replace(/var\((.*)\)/,`$1`)}var rF=(e,t,n)=>{let{calc:r,componentCls:i,descriptionMaxWidth:a,antCls:o}=e,s=`${i}-item`,[,c]=sl(o,`cmp-steps`);return{[`@container style(${Kme(a)})`]:[{[`${s}-icon`]:{marginInlineStart:r(a).sub(c(`icon-size`)).div(2).equal()},[`${s}-rail`]:{width:`auto`,insetInlineStart:r(a).add(c(`icon-size`)).div(2).add(t).equal(),insetInlineEnd:r(a).sub(c(`icon-size`)).div(2).sub(t).mul(-1).equal()}},n]}},qme=e=>{let{componentCls:t,descriptionMaxWidth:n,marginXS:r,fontHeightLG:i,margin:a,paddingSM:o,marginXXS:s,antCls:c,calc:l}=e,u=`${t}-item`,[d,f]=sl(c,`cmp-steps`);return{[t]:{[d(`icon-size-max`)]:`max(${f(`icon-size`)}, ${f(`icon-size-active`,f(`icon-size`))})`,[`${u}-icon`]:{marginBlockStart:`calc((${f(`heading-height`)} - ${f(`icon-size`)}) / 2)`}},[`${t}-title-horizontal`]:{[d(`title-horizontal-item-margin`)]:a,[d(`title-horizontal-rail-margin`)]:a,[d(`title-horizontal-title-height`)]:i,[d(`heading-height`)]:`max(${f(`icon-size`)}, ${f(`title-horizontal-title-height`)})`,[`&${t}-horizontal, &${t}-horizontal-alternate`]:{[`${u}:not(:first-child)`]:{marginInlineStart:f(`title-horizontal-item-margin`)},[`${u}:last-child`]:{flex:`0 1 auto`},[`${u}-wrapper`]:{columnGap:e.marginXS}},[`&${t}-vertical`]:{[`${u}-wrapper`]:{columnGap:e.margin},[`${u}-empty-header`]:{[`${u}-header`]:{minHeight:`auto`},[`${u}-content`]:{marginTop:l(f(`heading-height`)).sub(e.fontHeight).div(2).equal()}}},[`${u}-section`]:{flex:1,minWidth:0},[`${u}-header`]:{minHeight:f(`heading-height`)},[`${u}-title`]:{flex:`0 1 auto`},[`${u}-content`]:{maxWidth:n},[`${u}-subtitle`]:{flex:`0 9999 auto`},[`&${t}-horizontal ${u}-rail`]:{[d(`item-wrapper-padding-top`)]:`0px`,flex:`1 1 0%`,marginInlineStart:f(`title-horizontal-rail-margin`)}},[`${t}-title-vertical`]:{[d(`title-vertical-row-gap`)]:o,[d(`title-horizontal-rail-gap`)]:s,[d(`heading-height`)]:f(`icon-size-max`),[`> ${u}`]:{flex:`1 1 0%`,[`${u}-wrapper`]:{flexDirection:`column`,rowGap:f(`title-vertical-row-gap`),alignItems:`center`},[`${u}-section`]:{alignSelf:`stretch`},[`${u}-header`]:{flexDirection:`column`,alignItems:`center`},[`${u}-title, ${u}-subtitle, ${u}-content`]:{textAlign:`center`,maxWidth:`100%`},[`${u}-subtitle`]:{margin:0},[`${u}-rail`]:{position:`absolute`,top:0,width:`calc(100% - ${f(`icon-size`)} - ${f(`title-horizontal-rail-gap`)} * 2)`,insetInlineStart:`calc(50% + ${f(`icon-size`)} / 2 + ${f(`title-horizontal-rail-gap`)})`}},...rF(e,r,{[`${u}:last-child`]:{flex:`none`},[`${u}-icon`]:{alignSelf:`flex-start`},[`${u}-section`]:{width:n}})}}},Jme=e=>{let{componentCls:t,fontSizeIcon:n,navContentMaxWidth:r,navArrowColor:i,colorPrimary:a,motionDurationSlow:o,antCls:s,calc:c}=e,l=`${t}-item`,u=a,[d,f]=sl(s,`cmp-steps`);return{[`${t}${t}-navigation`]:{[l.repeat(4)]:{display:`flex`,justifyContent:`center`,position:`relative`,flex:1,marginInlineStart:0,[`${l}-wrapper`]:{paddingBlock:e.paddingSM},[`${l}-section`]:{maxWidth:r},[`${l}-rail`]:{display:`none`},"&:before":{position:`absolute`,display:`block`,backgroundColor:u,transition:`all ${o}`,transitionTimingFunction:`ease-out`,content:`""`},"&:not(:last-child):after":{position:`absolute`,display:`block`,borderTop:`${J(e.lineWidth)} ${e.lineType} ${i}`,borderBottom:`none`,borderInlineStart:`none`,borderInlineEnd:`${J(e.lineWidth)} ${e.lineType} ${i}`,content:`""`},[`&${l}-active`]:{[d(`item-content-active-color`)]:f(`item-content-color`),[d(`item-icon-active-bg-color`)]:f(`item-icon-bg-color`),[d(`item-icon-active-border-color`)]:f(`item-icon-border-color`),[d(`item-icon-active-text-color`)]:f(`item-icon-text-color`)}},[`&${t}-horizontal`]:{[l]:{"&:before":{bottom:0,insetInlineStart:`50%`,width:0,height:e.lineWidthBold},[`&${l}-active:before`]:{insetInlineStart:0,width:`100%`},"&:not(:last-child):after":{top:`50%`,insetInlineStart:c(n).div(2).mul(-1).add(`100%`).equal(),width:n,height:n,transform:`translateY(-50%) rotate(45deg)`}}},[`&${t}-vertical`]:{[l.repeat(4)]:{[`${l}-content`]:{padding:0},"&:before":{insetInlineEnd:0,top:`50%`,width:e.lineWidthBold,height:0},[`&${l}-active::before`]:{top:0,height:`100%`},"&:not(:last-child):after":{left:{_skip_check_:!0,value:`50%`},top:`100%`,width:c(n).div(3).mul(2).equal(),height:c(n).div(3).mul(2).equal(),transform:`translateY(-50%) translateX(-50%) rotate(135deg)`}}}}}},Yme=e=>{let{componentCls:t,lineWidthBold:n,borderRadius:r,borderRadiusSM:i,motionDurationMid:a,paddingXS:o,lineType:s,paddingSM:c,antCls:l,calc:u}=e,d=`${t}-item`,[f,p]=sl(l,`cmp-steps`),m=`${J(n)} ${s} ${p(`panel-border-color`)}`;return{[`${t}${t}-panel`]:[{[`${d}-rail`]:{display:`none`},[`&${t}-horizontal`]:{alignItems:`stretch`,[d]:{flex:1,margin:0}}},{"&":{[f(`panel-padding`)]:c,[f(`item-border-radius`)]:r,[d]:{[f(`panel-bg-color`)]:p(`item-icon-bg-color`),[f(`panel-border-color`)]:p(`item-icon-border-color`),[f(`panel-active-bg-color`)]:p(`item-icon-active-bg-color`),[f(`panel-active-border-color`)]:p(`item-icon-active-border-color`),[f(`panel-title-height`)]:`calc(${p(`title-font-size`)} * ${p(`title-line-height`)})`,[f(`item-base-height`)]:u(p(`panel-padding`)).mul(2).add(p(`icon-size`)).add(p(`panel-title-height`)).equal(),[f(`item-base-width`)]:`calc(${p(`item-base-height`)} * 0.7071)`,transition:`background-color ${a}`}},[`${d}-icon`]:{display:`none`},[`${d}-header`]:{minHeight:`auto`},[`${t}-panel-arrow`]:{position:`absolute`,top:u(n).mul(-1).equal(),insetInlineStart:`100%`,zIndex:1,height:u(n).mul(2).add(`100%`).equal(),width:p(`item-base-width`),overflow:`visible`,strokeLinecap:`round`,path:{fill:p(`panel-bg-color`),stroke:p(`panel-border-color`),strokeWidth:n,vectorEffect:`non-scaling-stroke`,transition:`fill ${a}`}},[`${d}:last-child ${t}-panel-arrow`]:{display:`none`},[d]:{padding:p(`panel-padding`),background:p(`panel-bg-color`),position:`relative`,borderBlock:m,"&:not(:first-child)":{paddingInlineStart:`calc(${p(`panel-padding`)} + ${p(`item-base-width`)})`},"&:first-child":{borderInlineStart:m,borderStartStartRadius:p(`item-border-radius`),borderEndStartRadius:p(`item-border-radius`)},"&:last-child":{borderInlineEnd:m,borderStartEndRadius:p(`item-border-radius`),borderEndEndRadius:p(`item-border-radius`)},"&-active":{background:p(`panel-active-bg-color`),borderColor:p(`panel-active-border-color`),[`${t}-panel-arrow`]:{path:{fill:p(`panel-active-bg-color`),stroke:p(`panel-active-border-color`)}},[`${d}-title, ${d}-subtitle, ${d}-content`]:{color:p(`item-icon-active-text-color`)}}}},{[`&${t}-small`]:{[f(`panel-padding`)]:o,[f(`item-border-radius`)]:i}},{[`&${t}-filled`]:{[d]:{"&:not(:first-child)":{clipPath:`polygon(${[`${J(n)} 0`,`calc(100% + ${p(`item-base-width`)}) 0`,`calc(100% + ${p(`item-base-width`)}) 100%`,`${J(n)} 100%`,`calc(${p(`item-base-width`)} + ${J(n)}) 50%`].join(`,`)})`}}}},{[`&${t}-outlined`]:{[`${t}-panel-arrow`]:{top:u(n).div(2).mul(-1).equal(),height:u(n).add(`100%`).equal()}}}]}},Xme=e=>{let{calc:t,antCls:n,componentCls:r,lineWidthBold:i,motionDurationSlow:a}=e,o=`${r}-item`,[s,c]=sl(n,`cmp-steps`),l=t(i).add(i).equal();return{[`${r}${r}-with-progress`]:{[s(`item-wrapper-padding-top`)]:l,[`${o}${o}-process`]:{[`${o}-icon`]:{position:`relative`}},[`${o}-progress-icon`]:{"&-svg":{[s(`svg-size`)]:t(l).mul(2).add(c(`icon-size`)).equal(),[s(`icon-size-ptg-unitless`)]:`calc(100 / tan(atan2(${c(`svg-size`)}, 1px)))`,fontSize:c(`svg-size`),lineHeight:c(`icon-size-ptg-unitless`),position:`absolute`,inset:t(l).mul(-1).equal(),width:`auto`,height:`auto`},"&-circle":{lineHeight:c(`icon-size-ptg-unitless`),strokeWidth:t(c(`icon-size-ptg-unitless`)).mul(i).equal(),[s(`progress-radius`)]:t(c(`svg-size`)).sub(i).mul(c(`icon-size-ptg-unitless`)).div(2).equal(),r:c(`progress-radius`),fill:`none`,cx:50,cy:50,transition:`all ${a} ease-in-out`,"&-rail":{stroke:e.colorSplit},"&-ptg":{stroke:e.colorPrimary}}}}}},Zme=e=>{let{componentCls:t,iconSize:n,dotSize:r,dotCurrentSize:i,marginXXS:a,lineWidthBold:o,fontSizeSM:s,antCls:c}=e,l=`${t}-item`,[u,d]=sl(c,`cmp-steps`);return{[`${t}${t}-dot`]:{[u(`icon-size-active`)]:i,[u(`icon-size`)]:r,[u(`dot-icon-size`)]:r,[u(`dot-icon-border-width`)]:o,[u(`rail-size`)]:o,[u(`icon-border-width`)]:o,[`${l}-custom ${l}-icon`]:{fontSize:s},[`${l}-icon`]:{position:`relative`,"&:after":{content:`""`,width:n,height:n,display:`block`,position:`absolute`,top:`50%`,left:{_skip_check_:!0,value:`50%`},transform:`translate(-50%, -50%)`}},[`${l}-active ${l}-icon`]:{[u(`icon-size`)]:d(`icon-size-active`)},[`&${t}-horizontal`]:{[`&, &${t}-small`]:rF(e,a)}}}},Qme=e=>{let{componentCls:t,lineWidthBold:n,antCls:r}=e,i=`${t}-item`,[,a]=sl(r,`cmp-steps`);return{[`${t}${t}-rtl`]:{direction:`rtl`,[`&${t}-navigation${t}-horizontal`]:{[`${i}:after`]:{transform:`translateY(-50%) rotate(-45deg)`}},[`&${t}-panel`]:{[`${t}-panel-arrow`]:{transform:`scaleX(-1)`},[`&${t}-filled`]:{[i]:{"&:not(:first-child)":{clipPath:`polygon(${[`calc(0px - ${a(`item-base-width`)}) 0px`,`calc(100% - ${J(n)}) 0px`,`calc(100% - ${a(`item-base-width`)} - ${J(n)}) 50%`,`calc(100% - ${J(n)}) 100%`,`calc(0px - ${a(`item-base-width`)}) 100%`].join(`,`)})`}}}}}}},$me=e=>{let{componentCls:t,iconSizeSM:n,fontSize:r,lineHeight:i,marginXS:a,fontHeight:o,marginSM:s,paddingXS:c,antCls:l}=e,[u]=sl(l,`cmp-steps`);return{[`${t}${t}-small`]:{[u(`icon-size`)]:n,[u(`title-horizontal-item-margin`)]:s,[u(`title-vertical-row-gap`)]:c,[u(`title-font-size`)]:r,[u(`title-line-height`)]:i,[u(`title-horizontal-rail-margin`)]:a,[u(`title-horizontal-title-height`)]:o,[`&${t}-horizontal${t}-title-vertical`]:rF(e,a)}}},iF=`wait`,aF=`process`,oF=`finish`,sF=`error`,ehe=e=>{let{componentCls:t,colorTextDisabled:n,colorTextLightSolid:r,colorPrimary:i,colorTextLabel:a,colorError:o,colorErrorHover:s,colorErrorBgFilledHover:c,colorFillTertiary:l,colorErrorBg:u,colorPrimaryBgHover:d,colorPrimaryBg:f,colorText:p,colorTextDescription:m,colorBgContainer:h,colorPrimaryHover:g,lineType:_,antCls:v}=e,y=`${t}-item`,[b,x]=sl(v,`cmp-steps`);return{[t]:[{[y]:{[b(`item-solid-line-color`)]:`#000`,[b(`item-title-color`)]:`#000`,[b(`item-content-color`)]:`#000`,[b(`item-subtitle-color`)]:x(`item-content-color`),[b(`item-icon-custom-color`)]:`#000`,[b(`item-icon-bg-color`)]:`#000`,[b(`item-icon-border-color`)]:`#000`,[b(`item-icon-text-color`)]:`#fff`,[b(`item-icon-dot-color`)]:`#000`,[b(`item-icon-dot-bg-color`)]:x(`item-icon-dot-color`),[b(`item-icon-dot-border-color`)]:x(`item-icon-dot-color`),[b(`item-text-hover-color`)]:`#000`,[b(`item-icon-bg-hover-color`)]:x(`item-icon-bg-color`),[b(`item-icon-border-hover-color`)]:x(`item-icon-border-color`),[b(`item-icon-text-hover-color`)]:x(`item-icon-text-color`),[b(`item-content-active-color`)]:x(`item-content-color`),[b(`item-icon-active-bg-color`)]:x(`item-icon-bg-color`),[b(`item-icon-active-border-color`)]:x(`item-icon-border-color`),[b(`item-icon-active-text-color`)]:x(`item-icon-text-color`),[b(`item-process-rail-line-style`)]:_},[`${y}-rail`]:{borderColor:x(`item-solid-line-color`)},[`${y}-custom ${y}-icon`]:{color:x(`item-icon-custom-color`)},[`${y}-title`]:{color:x(`item-title-color`)},[`${y}-subtitle`]:{color:x(`item-subtitle-color`)},[`${y}-content`]:{color:x(`item-content-color`)},[`${y}-active ${y}-icon`]:{},[`${y}-active ${y}-content`]:{color:x(`item-content-active-color`)},[`${y}[role='button']:not(${y}-active):hover`]:{[`${y}-title, ${y}-content`]:{color:x(`item-text-hover-color`)}},[`&:not(${t}-dot)`]:{[`${y}:not(${y}-custom)`]:{[`${y}-icon`]:{background:x(`item-icon-bg-color`),borderColor:x(`item-icon-border-color`),color:x(`item-icon-text-color`)},[`&[role='button']:not(${y}-active):hover`]:{[`${y}-icon`]:{background:x(`item-icon-bg-hover-color`),borderColor:x(`item-icon-border-hover-color`),color:x(`item-icon-text-hover-color`)}},[`&${y}-active`]:{[`${y}-icon`]:{background:x(`item-icon-active-bg-color`),borderColor:x(`item-icon-active-border-color`),color:x(`item-icon-active-text-color`)}}}},[`&${t}-dot`]:{[`${y}-icon`]:{background:x(`item-icon-dot-bg-color`),borderColor:x(`item-icon-dot-border-color`),color:x(`item-icon-dot-color`),[`&${y}-icon-dot-custom`]:{background:`transparent`,border:`none`}}}},{[`${y}-${iF}`]:{[b(`item-icon-custom-color`)]:n,[b(`item-title-color`)]:m,[b(`item-content-color`)]:m,[b(`item-content-active-color`)]:p,[b(`item-text-hover-color`)]:g},[`${y}-rail-${iF}`]:{[b(`item-solid-line-color`)]:n},[`${y}-${aF}`]:{[b(`item-icon-custom-color`)]:i,[b(`item-title-color`)]:p,[b(`item-content-color`)]:m,[b(`item-content-active-color`)]:p,[b(`item-text-hover-color`)]:g},[`${y}-rail-${aF}`]:{[b(`item-solid-line-color`)]:i,[b(`rail-line-style`)]:x(`item-process-rail-line-style`)},[`${y}-${oF}`]:{[b(`item-icon-custom-color`)]:i,[b(`item-title-color`)]:p,[b(`item-content-color`)]:m,[b(`item-content-active-color`)]:p,[b(`item-text-hover-color`)]:g},[`${y}-rail-${oF}`]:{[b(`item-solid-line-color`)]:i},[`${y}-${sF}`]:{[b(`item-icon-custom-color`)]:o,[b(`item-title-color`)]:o,[b(`item-content-color`)]:o,[b(`item-content-active-color`)]:o,[b(`item-text-hover-color`)]:s},[`${y}-rail-${sF}`]:{[b(`item-solid-line-color`)]:o}},{[`&${t}-filled`]:{[y]:{[b(`item-icon-dot-border-color`)]:`transparent`},[`${y}-${iF}`]:{[b(`item-icon-bg-color`)]:l,[b(`item-icon-border-color`)]:`transparent`,[b(`item-icon-text-color`)]:a,[b(`item-icon-dot-bg-color`)]:n,[b(`item-icon-bg-hover-color`)]:d,[b(`item-icon-border-hover-color`)]:`transparent`,[b(`item-icon-text-hover-color`)]:i,[b(`item-icon-active-bg-color`)]:i,[b(`item-icon-active-border-color`)]:`transparent`,[b(`item-icon-active-text-color`)]:r},[`${y}-${aF}, ${y}-${oF}`]:{[b(`item-icon-bg-color`)]:f,[b(`item-icon-border-color`)]:`transparent`,[b(`item-icon-text-color`)]:i,[b(`item-icon-dot-bg-color`)]:i,[b(`item-icon-bg-hover-color`)]:d,[b(`item-icon-border-hover-color`)]:`transparent`,[b(`item-icon-text-hover-color`)]:i,[b(`item-icon-active-bg-color`)]:i,[b(`item-icon-active-border-color`)]:`transparent`,[b(`item-icon-active-text-color`)]:r},[`${y}-${sF}`]:{[b(`item-icon-bg-color`)]:u,[b(`item-icon-border-color`)]:`transparent`,[b(`item-icon-text-color`)]:o,[b(`item-icon-dot-bg-color`)]:o,[b(`item-icon-bg-hover-color`)]:c,[b(`item-icon-border-hover-color`)]:`transparent`,[b(`item-icon-text-hover-color`)]:o,[b(`item-icon-active-bg-color`)]:o,[b(`item-icon-active-border-color`)]:`transparent`,[b(`item-icon-active-text-color`)]:r}}},{[`&${t}-outlined`]:{[y]:{[b(`item-icon-dot-bg-color`)]:`transparent`},[`${y}-${iF}`]:{[b(`item-icon-bg-color`)]:h,[b(`item-icon-border-color`)]:n,[b(`item-icon-text-color`)]:n,[b(`item-icon-dot-color`)]:n,[b(`item-icon-bg-hover-color`)]:`transparent`,[b(`item-icon-border-hover-color`)]:g,[b(`item-icon-text-hover-color`)]:g,[b(`item-icon-active-bg-color`)]:l},[`${y}-${aF}, ${y}-${oF}`]:{[b(`item-icon-bg-color`)]:h,[b(`item-icon-border-color`)]:i,[b(`item-icon-text-color`)]:i,[b(`item-icon-dot-color`)]:i,[b(`item-icon-bg-hover-color`)]:`transparent`,[b(`item-icon-border-hover-color`)]:g,[b(`item-icon-text-hover-color`)]:g,[b(`item-icon-active-bg-color`)]:f},[`${y}-${sF}`]:{[b(`item-icon-bg-color`)]:h,[b(`item-icon-border-color`)]:o,[b(`item-icon-text-color`)]:o,[b(`item-icon-dot-color`)]:o,[b(`item-icon-bg-hover-color`)]:`transparent`,[b(`item-icon-border-hover-color`)]:s,[b(`item-icon-text-hover-color`)]:s,[b(`item-icon-active-bg-color`)]:u}}}]}},the=e=>{let{componentCls:t,marginXXS:n,paddingSM:r,controlHeight:i,antCls:a,calc:o}=e,s=`${t}-item`,[c,l]=sl(a,`cmp-steps`);return{[`${t}-vertical`]:{[c(`vertical-rail-margin`)]:o(n).mul(1.5).equal(),flexDirection:`column`,alignItems:`stretch`,[`> ${s}`]:{minHeight:o(i).mul(1.5).equal(),paddingBottom:r,"&:last-child":{paddingBottom:0},[`${s}-icon`]:{marginInlineStart:`calc((${l(`icon-size-max`)} - ${l(`icon-size`)}) / 2)`},[`${s}-rail`]:{[c(`rail-offset`)]:o(l(`heading-height`)).sub(l(`icon-size`)).div(2).equal(),borderInlineStartWidth:l(`rail-size`),position:`absolute`,top:o(l(`icon-size`)).add(l(`item-wrapper-padding-top`)).add(l(`rail-offset`)).add(l(`vertical-rail-margin`)).equal(),insetInlineStart:o(l(`icon-size-max`)).div(2).equal(),bottom:o(l(`vertical-rail-margin`)).sub(l(`rail-offset`)).equal(),marginInlineStart:`calc(${l(`rail-size`)} / -2)`}}}}},nhe=e=>{let{componentCls:t,antCls:n}=e,r=`${t}-item`,[i,a]=sl(n,`cmp-steps`);return{[t]:{[i(`title-font-size`)]:e.fontSizeLG,[i(`title-line-height`)]:e.lineHeightLG,[i(`subtitle-font-size`)]:e.fontSize,[i(`subtitle-line-height`)]:e.lineHeight,[i(`item-wrapper-padding-top`)]:`0px`,[i(`rail-size`)]:e.lineWidth,[i(`rail-line-style`)]:e.lineType,...Yc(e),display:`flex`,flexWrap:`nowrap`,alignItems:`flex-start`,[r]:{flex:`none`,position:`relative`},[`${r}-wrapper`]:{display:`flex`,flexWrap:`nowrap`,paddingTop:a(`item-wrapper-padding-top`)},[`${r}-header`]:{display:`flex`,flexWrap:`nowrap`,alignItems:`center`},[`${r}-title`]:{color:e.colorText,fontSize:a(`title-font-size`),lineHeight:a(`title-line-height`),wordBreak:`break-word`},[`${r}-subtitle`]:{color:e.colorTextDescription,fontWeight:`normal`,fontSize:a(`subtitle-font-size`),lineHeight:a(`subtitle-line-height`),marginInlineStart:e.marginXS,wordBreak:`break-word`},[`${r}-content`]:{color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:`break-word`},[`${r}-rail`]:{borderStyle:a(`rail-line-style`),borderWidth:0},[`${r}-title, ${r}-subtitle, ${r}-content, ${r}-rail`]:{transition:`all ${e.motionDurationSlow}`},[`&${t}-ellipsis`]:{[`${r}-title, ${r}-subtitle, ${r}-content`]:Jc},[`${r}[role='button']:not(${r}-active):hover`]:{cursor:`pointer`}}}},rhe=il(`Steps`,e=>{let t=_s(e,{inlineDotSize:6});return[nhe(t),Wme(t),the(t),Ume(t),qme(t),$me(t),Zme(t),ehe(t),Jme(t),Yme(t),Gme(t),Xme(t),Qme(t)]},e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:`unset`,descriptionMaxWidth:void 0,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:`transparent`,finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive})),ihe={itemIcon:Am},ahe=e=>{let{size:t,className:n,rootClassName:r,style:i,variant:a=`filled`,type:o,classNames:s,styles:c,direction:l,orientation:u,responsive:d=!0,progressDot:f,labelPlacement:p,titlePlacement:m,ellipsis:h,offset:g=0,items:_,percent:v,current:y=0,onChange:b,iconRender:x,...S}=e,w=C.useContext(Bme),T=ui(`steps`),{getPrefixCls:E,direction:D,className:O,style:k}=T,A,j,M={};w?M={root:w.rootComponent,item:w.itemComponent}:{classNames:A,styles:j}=T;let N=E(),P=E(`steps`,e.prefixCls),F=`${P}-item-icon`,[I,L]=rhe(P),[R]=sl(N,`cmp-steps`),z=Pm(t),B=C.useMemo(()=>(_||[]).filter(Boolean),[_]),{xs:V}=Nb(d),H=C.useMemo(()=>o&&o!==`default`?o:f?`dot`:o,[f,o]),U=H===`inline`,W=H===`dot`||H===`inline`,ee=C.useMemo(()=>H===`dot`&&typeof f==`function`?f:void 0,[H,f]),te=C.useMemo(()=>H===`panel`?`horizontal`:d&&V||(u||l)===`vertical`?`vertical`:`horizontal`,[u,l,H,d,V]),ne=C.useMemo(()=>W||te===`vertical`?te===`vertical`?`horizontal`:`vertical`:o===`navigation`?`horizontal`:m||p||`horizontal`,[W,p,te,m,o]),re=U?void 0:v,ie={...e,variant:a,size:z,type:H,orientation:te,titlePlacement:ne,current:y,percent:re,responsive:d,offset:g},[ae,G]=Id([ihe,A,s],[j,c],{props:ie}),oe=(e,t)=>{let{item:n,index:r,active:i,components:{Icon:a}}=t,{status:o,icon:s}=n,c=null;if(W||s)c=s;else switch(o){case`finish`:c=C.createElement(_b,{className:`${F}-finish`});break;case`error`:c=C.createElement(zl,{className:`${F}-error`});break;default:{let e=C.createElement(`span`,{className:`${F}-number`},t.index+1);o===`process`&&re!==void 0&&(e=C.createElement(Hme,{prefixCls:P,rootPrefixCls:N,percent:re},e)),c=e}}let l=C.createElement(a,null,c);return x?l=x(l,{index:r,active:i,item:n,components:{Icon:a}}):typeof ee==`function`&&(l=ee(l,{index:r,...n})),l},K=(e,t)=>{let n=e;return U&&t.item.content&&(n=C.createElement(nx,{destroyOnHidden:!0,title:t.item.content},e)),C.createElement(Nm,{component:`Steps`,disabled:t.item.disabled||!b,colorSource:a===`filled`?`color`:null},n)},se=H===`panel`?e=>C.createElement(C.Fragment,null,e,C.createElement(Vme,{prefixCls:P})):void 0,ce={[R(`items-offset`)]:`${g}`,...k,...i},le=q(O,`${P}-${a}`,{[`${P}-${H}`]:H===`dot`?!1:H,[`${P}-rtl`]:D===`rtl`,[`${P}-dot`]:W,[`${P}-ellipsis`]:h,[`${P}-with-progress`]:re!==void 0,[`${P}-small`]:z===`small`},n,r,I,L);return C.createElement(zme,{...S,prefixCls:P,className:le,style:ce,classNames:ae,styles:G,orientation:te,titlePlacement:ne,components:M,current:y,items:B,onChange:b,iconRender:oe,itemRender:K,itemWrapperRender:se})};function cF(){return cF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let[h,g]=Wn(r??!1,n);function _(e,t){let n=h;return i||(n=e,g(n),l?.(n,t)),n}function v(e){e.which===Qp.LEFT?_(!1,e):e.which===Qp.RIGHT&&_(!0,e),u?.(e)}function y(e){let t=_(!h,e);c?.(t,e)}let b=q(e,t,{[`${e}-checked`]:h,[`${e}-disabled`]:i});return C.createElement(`button`,cF({},p,{type:`button`,role:`switch`,"aria-checked":h,disabled:i,className:b,ref:m,onKeyDown:v,onClick:y}),a,C.createElement(`span`,{className:`${e}-inner`},C.createElement(`span`,{className:q(`${e}-inner-checked`,f?.content),style:d?.content},o),C.createElement(`span`,{className:q(`${e}-inner-unchecked`,f?.content),style:d?.content},s)))});lF.displayName=`Switch`;var ohe=e=>{let{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:i,innerMinMarginSM:a,innerMaxMarginSM:o,handleSizeSM:s,calc:c}=e,l=`${t}-inner`,u=J(c(s).add(c(r).mul(2)).equal()),d=J(c(o).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:i,height:n,lineHeight:J(n),[`${t}-inner`]:{paddingInlineStart:o,paddingInlineEnd:a,[`${l}-checked, ${l}-unchecked`]:{minHeight:n},[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${l}-unchecked`]:{marginTop:c(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:c(c(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:o,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${J(c(s).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:c(e.marginXXS).div(2).equal(),marginInlineEnd:c(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:c(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(e.marginXXS).div(2).equal()}}}}}}},she=e=>{let{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:`relative`,top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:`top`},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},che=e=>{let{componentCls:t,trackPadding:n,handleBg:r,handleShadow:i,handleSize:a,calc:o}=e,s=`${t}-handle`;return{[t]:{[s]:{position:`absolute`,top:n,insetInlineStart:n,width:a,height:a,transition:`all ${e.switchDuration} ease-in-out`,...ch(),"&::before":{position:`absolute`,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:o(a).div(2).equal(),boxShadow:i,transition:`all ${e.switchDuration} ease-in-out`,content:`""`,...ch()}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${J(o(a).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},lhe=e=>{let{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:i,innerMaxMargin:a,handleSize:o,switchDuration:s,calc:c}=e,l=`${t}-inner`,u=J(c(o).add(c(r).mul(2)).equal()),d=J(c(a).mul(2).equal());return{[t]:{[l]:{display:`block`,overflow:`hidden`,borderRadius:100,height:`100%`,paddingInlineStart:a,paddingInlineEnd:i,transition:[`padding-inline-start`,`padding-inline-end`].map(e=>`${e} ${s} ease-in-out`).join(`, `),...ch(),[`${l}-checked, ${l}-unchecked`]:{display:`block`,color:e.colorTextLightSolid,fontSize:e.fontSizeSM,pointerEvents:`none`,minHeight:n,transition:[`margin-inline-start`,`margin-inline-end`].map(e=>`${e} ${s} ease-in-out`).join(`, `),...ch()},[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${l}-unchecked`]:{marginTop:c(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${l}`]:{paddingInlineStart:i,paddingInlineEnd:a,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:c(r).mul(2).equal(),marginInlineEnd:c(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:c(r).mul(-1).mul(2).equal(),marginInlineEnd:c(r).mul(2).equal()}}}}}},uhe=e=>{let{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:{...Yc(e),position:`relative`,display:`inline-block`,boxSizing:`border-box`,minWidth:r,height:n,lineHeight:J(n),verticalAlign:`middle`,background:e.colorTextQuaternary,border:`0`,borderRadius:100,cursor:`pointer`,transition:`all ${e.motionDurationMid}`,userSelect:`none`,...ch(),[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary},...$c(e),[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:`not-allowed`,opacity:e.switchDisabledOpacity,"*":{boxShadow:`none`,cursor:`not-allowed`}},[`&${t}-rtl`]:{direction:`rtl`}}}},dhe=il(`Switch`,e=>{let t=_s(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:`-30%`});return[uhe(t),lhe(t),che(t),she(t),ohe(t)]},e=>{let{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:i}=e,a=t*n,o=r/2,s=a-4,c=o-4;return{trackHeight:a,trackHeightSM:o,trackMinWidth:s*2+8,trackMinWidthSM:c*2+4,trackPadding:2,handleBg:i,handleSize:s,handleSizeSM:c,handleShadow:`0 2px 4px 0 ${new zs(`#00230b`).setA(.2).toRgbString()}`,innerMinMargin:s/2,innerMaxMargin:s+2+4,innerMinMarginSM:c/2,innerMaxMarginSM:c+2+4}}),uF=C.forwardRef((e,t)=>{let{prefixCls:n,size:r,disabled:i,loading:a,className:o,rootClassName:s,style:c,checked:l,value:u,defaultChecked:d,defaultValue:f,onChange:p,styles:m,classNames:h,...g}=e,[_,v]=Wn(d??f??!1,l??u),{getPrefixCls:y,direction:b,className:x,style:S,classNames:w,styles:T}=ui(`switch`),E=C.useContext(Bp),D=(i??E)||a,O=y(`switch`,n),[k,A]=dhe(O),j=Pm(r),M={...e,size:j,disabled:D},[N,P]=Id([w,h],[T,m],{props:M}),F=C.createElement(`div`,{className:q(`${O}-handle`,N.indicator),style:P.indicator},a&&C.createElement(dm,{className:`${O}-loading-icon`})),I=q(x,{[`${O}-small`]:j===`small`,[`${O}-loading`]:a,[`${O}-rtl`]:b===`rtl`},o,s,N.root,k,A),L={...P.root,...S,...c},R=(...e)=>{v(e[0]),p?.(...e)};return C.createElement(Nm,{component:`Switch`,disabled:D},C.createElement(lF,{...g,classNames:N,styles:P,checked:_,onChange:R,prefixCls:O,className:I,style:L,disabled:D,ref:t,loadingIcon:F}))});uF.__ANT_SWITCH=!0;var dF={},fF=`rc-table-internal-hook`;function pF(e){let t=C.createContext(void 0);return{Context:t,Provider:({value:e,children:n})=>{let r=C.useRef(e);r.current=e;let[i]=C.useState(()=>({getValue:()=>r.current,listeners:new Set}));return Vn(()=>{(0,Yf.unstable_batchedUpdates)(()=>{i.listeners.forEach(t=>{t(e)})})},[e]),C.createElement(t.Provider,{value:i},n)},defaultValue:e}}function mF(e,t){let n=Rn(typeof t==`function`?t:e=>{if(t===void 0)return e;if(!Array.isArray(t))return e[t];let n={};return t.forEach(t=>{n[t]=e[t]}),n}),r=C.useContext(e?.Context),{listeners:i,getValue:a}=r||{},o=C.useRef();o.current=n(r?a():e?.defaultValue);let[,s]=C.useState({});return Vn(()=>{if(!r)return;function e(e){let t=n(e);Ei(o.current,t,!0)||s({})}return i.add(e),()=>{i.delete(e)}},[r]),o.current}function hF(){return hF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let s=i?{ref:o}:{},c=C.useRef(0),l=C.useRef(a);return t()===null?((!r||r(l.current,a))&&(c.current+=1),l.current=a,C.createElement(e.Provider,{value:c.current},C.createElement(n,hF({},a,s)))):C.createElement(n,hF({},a,s))};return i?C.forwardRef(a):a}function r(e,n){let r=nr(e),i=(n,i)=>{let a=r?{ref:i}:{};return t(),C.createElement(e,hF({},n,a))};return C.memo(r?C.forwardRef(i):i,n)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var{makeImmutable:fhe,responseImmutable:phe,useImmutableMark:mhe}=gF(),{makeImmutable:_F,responseImmutable:vF,useImmutableMark:hhe}=gF(),yF=pF(),bF=C.createContext({renderWithProps:!1}),ghe=`RC_TABLE_KEY`;function _he(e){return e==null?[]:Array.isArray(e)?e:[e]}function xF(e){let t=[],n={};return e.forEach(e=>{let{key:r,dataIndex:i}=e||{},a=r||_he(i).join(`-`)||ghe;for(;n[a];)a=`${a}_next`;n[a]=!0,t.push(a)}),t}function SF(e){return e!=null}function vhe(e){return typeof e==`number`&&!Number.isNaN(e)}function yhe(e){return e&&typeof e==`object`&&!Array.isArray(e)&&!C.isValidElement(e)}function bhe(e,t,n,r,i,a){let o=C.useContext(bF);return qn(()=>{if(SF(r))return[r];let a=or(e,t==null||t===``?[]:Array.isArray(t)?t:[t]),s=a,c;if(i){let t=i(a,e,n);yhe(t)?(s=t.children,c=t.props,o.renderWithProps=!0):s=t}return[s,c]},[hhe(),e,r,t,i,n],(e,t)=>{if(a){let[,n]=e,[,r]=t;return a(r,n)}return o.renderWithProps?!0:!Ei(e,t,!0)})}function xhe(e,t,n,r){let i=e+t-1;return e<=r&&i>=n}function She(e,t){return mF(yF,n=>[xhe(e,t||1,n.hoverStartRow,n.hoverEndRow),n.onHover])}function CF(){return CF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let r,i=e===!0?{showTitle:!0}:e;return i&&(i.showTitle||t===`header`)&&(typeof n==`string`||typeof n==`number`?r=n.toString():C.isValidElement(n)&&typeof n.props?.children==`string`&&(r=n.props?.children)),r},wF=C.memo(e=>{let{component:t,children:n,ellipsis:r,scope:i,prefixCls:a,className:o,style:s,align:c,record:l,render:u,dataIndex:d,renderIndex:f,shouldCellUpdate:p,index:m,rowType:h,colSpan:g,rowSpan:_,fixStart:v,fixEnd:y,fixedStartShadow:b,fixedEndShadow:x,offsetFixedStartShadow:S,offsetFixedEndShadow:w,zIndex:T,zIndexReverse:E,appendNode:D,additionalProps:O={},isSticky:k}=e,A=`${a}-cell`,{allColumnsFixedLeft:j,rowHoverable:M}=mF(yF,[`allColumnsFixedLeft`,`rowHoverable`]),[N,P]=bhe(l,d,f,n,u,p),F={},I=typeof v==`number`&&!j,L=typeof y==`number`&&!j,[R,z]=mF(yF,({scrollInfo:e})=>{if(!I&&!L)return[!1,!1];let[t,n]=e;return[(I&&b&&t)-S>=1,(L&&x&&n-t)-w>1]});I&&(F.insetInlineStart=v,F[`--z-offset`]=T,F[`--z-offset-reverse`]=E),L&&(F.insetInlineEnd=y,F[`--z-offset`]=T,F[`--z-offset-reverse`]=E);let B=P?.colSpan??O.colSpan??g??1,V=P?.rowSpan??O.rowSpan??_??1,[H,U]=She(m,V),W=Rn(e=>{l&&U(m,m+V-1),O?.onMouseEnter?.(e)}),ee=Rn(e=>{l&&U(-1,-1),O?.onMouseLeave?.(e)});if(B===0||V===0)return null;let te=O.title??Che({rowType:h,ellipsis:r,children:N}),ne=q(A,o,{[`${A}-fix`]:I||L,[`${A}-fix-start`]:I,[`${A}-fix-end`]:L,[`${A}-fix-start-shadow`]:b,[`${A}-fix-start-shadow-show`]:b&&R,[`${A}-fix-end-shadow`]:x,[`${A}-fix-end-shadow-show`]:x&&z,[`${A}-ellipsis`]:r,[`${A}-with-append`]:D,[`${A}-fix-sticky`]:(I||L)&&k,[`${A}-row-hover`]:!P&&H},O.className,P?.className),re={};c&&(re.textAlign=c);let ie={...P?.style,...F,...re,...O.style,...s},ae=N;return typeof ae==`object`&&!Array.isArray(ae)&&!C.isValidElement(ae)&&(ae=null),r&&(b||x)&&(ae=C.createElement(`span`,{className:`${A}-content`},ae)),C.createElement(t,CF({},P,O,{className:ne,style:ie,title:te,scope:i,onMouseEnter:M?W:void 0,onMouseLeave:M?ee:void 0,colSpan:B===1?null:B,rowSpan:V===1?null:V}),D,ae)});function TF(e){return e.fixed===`start`}function EF(e){return e.fixed===`end`}function DF(e,t,n,r){let i=n[e]||{},a=n[t]||{},o=null,s=null;TF(i)&&TF(a)?o=r.start[e]:EF(a)&&EF(i)&&(s=r.end[t]);let c=!1,l=!1,u=0,d=0;o!==null&&(c=!n[t+1]||!TF(n[t+1]),u=n.length*2-e,d=n.length+e),s!==null&&(l=!n[e-1]||!EF(n[e-1]),u=t,d=n.length-t);let f=0,p=0;if(c)for(let t=0;tt;--e)EF(n[e])||(p+=r.widths[e]||0);return{fixStart:o,fixEnd:s,fixedStartShadow:c,fixedEndShadow:l,offsetFixedStartShadow:f,offsetFixedEndShadow:p,isSticky:r.isSticky,zIndex:u,zIndexReverse:d}}var OF=C.createContext({});function kF(){return kF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:t,index:n,children:r,colSpan:i=1,rowSpan:a,align:o}=e,{prefixCls:s}=mF(yF,[`prefixCls`]),{scrollColumnIndex:c,stickyOffsets:l,flattenColumns:u}=C.useContext(OF),d=n+i-1+1===c?i+1:i,f=C.useMemo(()=>DF(n,n+d-1,u,l),[n,d,u,l]);return C.createElement(wF,kF({className:t,index:n,component:`td`,prefixCls:s,record:null,dataIndex:null,align:o,colSpan:d,rowSpan:a,render:()=>r},f))},The=e=>{let{children:t,...n}=e;return C.createElement(`tr`,n,t)},AF=e=>{let{children:t}=e;return t};AF.Row=The,AF.Cell=whe;var jF=vF(e=>{let{children:t,stickyOffsets:n,flattenColumns:r}=e,i=mF(yF,`prefixCls`),a=r.length-1,o=r[a],s=C.useMemo(()=>({stickyOffsets:n,flattenColumns:r,scrollColumnIndex:o?.scrollbar?a:null}),[o,r,a,n]);return C.createElement(OF.Provider,{value:s},C.createElement(`tfoot`,{className:`${i}-summary`},t))}),MF=AF;function Ehe(e){return null}function Dhe(e){return null}function NF(e,t,n,r,i,a,o){let s=a(t,o);e.push({record:t,indent:n,index:o,rowKey:s});let c=i?.has(s);if(t&&Array.isArray(t[r])&&c)for(let o=0;o{if(n?.size){let i=[];for(let a=0;a({record:e,indent:0,index:t,rowKey:r(e,t)}))},[e,t,n,r])}function FF(e,t,n,r){let i=mF(yF,[`prefixCls`,`fixedInfoList`,`flattenColumns`,`expandableType`,`expandRowByClick`,`onTriggerExpand`,`rowClassName`,`expandedRowClassName`,`indentSize`,`expandIcon`,`expandedRowRender`,`expandIconColumnIndex`,`expandedKeys`,`childrenColumnName`,`rowExpandable`,`onRow`]),{flattenColumns:a,expandableType:o,expandedKeys:s,childrenColumnName:c,onTriggerExpand:l,rowExpandable:u,onRow:d,expandRowByClick:f,rowClassName:p}=i,m=o===`nest`,h=o===`row`&&(!u||u(e)),g=h||m,_=s&&s.has(t),v=c&&e&&e[c],y=Rn(l),b=d?.(e,n),x=b?.onClick,S=(t,...n)=>{f&&g&&l(e,t),x?.(t,...n)},C;typeof p==`string`?C=p:typeof p==`function`&&(C=p(e,n,r));let w=xF(a);return{...i,columnsKey:w,nestExpandable:m,expanded:_,hasNestChildren:v,record:e,onTriggerExpand:y,rowSupportExpand:h,expandable:g,rowProps:{...b,className:q(C,b?.className),onClick:S}}}var IF=e=>{let{prefixCls:t,children:n,component:r,cellComponent:i,className:a,expanded:o,colSpan:s,isEmpty:c,stickyOffset:l=0}=e,{scrollbarSize:u,fixHeader:d,fixColumn:f,componentWidth:p,horizonScroll:m}=mF(yF,[`scrollbarSize`,`fixHeader`,`fixColumn`,`componentWidth`,`horizonScroll`]),h=n;return(c?m&&p:f)&&(h=C.createElement(`div`,{style:{width:p-l-(d&&!c?u:0),position:`sticky`,left:l,overflow:`hidden`},className:`${t}-expanded-row-fixed`},h)),C.createElement(r,{className:a,style:{display:o?null:`none`}},C.createElement(wF,{component:i,prefixCls:t,colSpan:s},h))};function Ohe({prefixCls:e,record:t,onExpand:n,expanded:r,expandable:i}){let a=`${e}-row-expand-icon`;if(!i)return C.createElement(`span`,{className:q(a,`${e}-row-spaced`)});let o=e=>{n(t,e),e.stopPropagation()};return C.createElement(`span`,{className:q(a,{[`${e}-row-expanded`]:r,[`${e}-row-collapsed`]:!r}),onClick:o})}function khe(e,t,n){let r=[];function i(e){(e||[]).forEach((e,a)=>{r.push(t(e,a)),i(e[n])})}return i(e),r}function LF(e,t,n,r){return typeof e==`string`?e:typeof e==`function`?e(t,n,r):``}function RF(){return RF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:t,style:n,classNames:r,styles:i,record:a,index:o,renderIndex:s,rowKey:c,rowKeys:l,indent:u=0,rowComponent:d,cellComponent:f,scopeCellComponent:p,expandedRowInfo:m}=e,h=FF(a,c,o,u),{prefixCls:g,flattenColumns:_,expandedRowClassName:v,expandedRowRender:y,rowProps:b,expanded:x,rowSupportExpand:S}=h,w=C.useRef(!1);w.current||=x;let T=LF(v,a,o,u),E=C.createElement(d,RF({},b,{"data-row-key":c,className:q(t,`${g}-row`,`${g}-row-level-${u}`,b?.className,r.row,{[T]:u>=1}),style:{...n,...b?.style,...i.row}}),_.map((e,t)=>{let{render:n,dataIndex:c,className:d}=e,{key:_,fixedInfo:v,appendCellNode:y,additionalCellProps:b}=zF(h,e,t,u,o,l,m?.offset);return C.createElement(wF,RF({className:q(d,r.cell),style:i.cell,ellipsis:e.ellipsis,align:e.align,scope:e.rowScope,component:e.rowScope?p:f,prefixCls:g,key:_,record:a,index:o,renderIndex:s,dataIndex:c,render:n,shouldCellUpdate:e.shouldCellUpdate},v,{appendNode:y,additionalProps:b}))})),D;if(S&&(w.current||x)){let e=y(a,o,u+1,x);D=C.createElement(IF,{expanded:x,className:q(`${g}-expanded-row`,`${g}-expanded-row-level-${u+1}`,T),prefixCls:g,component:d,cellComponent:f,colSpan:m?m.colSpan:_.length,isEmpty:!1,stickyOffset:m?.sticky},e)}return C.createElement(C.Fragment,null,E,D)}),jhe=e=>{let{columnKey:t,onColumnResize:n,title:r}=e,i=C.useRef(null);return Vn(()=>{i.current&&n(t,i.current.offsetWidth)},[]),C.createElement(Gr,{data:t},C.createElement(`td`,{ref:i,style:{paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,height:0}},C.createElement(`div`,{style:{height:0,overflow:`hidden`,fontWeight:`bold`}},r||`\xA0`)))},Mhe=({prefixCls:e,columnsKey:t,onColumnResize:n,columns:r})=>{let i=C.useRef(null),{measureRowRender:a}=mF(yF,[`measureRowRender`]),o=C.createElement(`tr`,{"aria-hidden":`true`,className:`${e}-measure-row`,style:{height:0},ref:i},C.createElement(Gr.Collection,{onBatchResize:e=>{lp(i.current)&&e.forEach(({data:e,size:t})=>{n(e,t.offsetWidth)})}},t.map(e=>{let t=r.find(t=>t.key===e)?.title,i=C.isValidElement(t)?C.cloneElement(t,{ref:null}):t;return C.createElement(jhe,{key:e,columnKey:e,onColumnResize:n,title:i})})));return typeof a==`function`?a(o):o},Nhe=vF(e=>{let{data:t,measureColumnWidth:n}=e,{prefixCls:r,getComponent:i,onColumnResize:a,flattenColumns:o,getRowKey:s,expandedKeys:c,childrenColumnName:l,emptyNode:u,classNames:d,styles:f,expandedRowOffset:p=0,colWidths:m}=mF(yF,[`prefixCls`,`getComponent`,`onColumnResize`,`flattenColumns`,`getRowKey`,`expandedKeys`,`childrenColumnName`,`emptyNode`,`classNames`,`styles`,`expandedRowOffset`,`fixedInfoList`,`colWidths`]),{body:h={}}=d||{},{body:g={}}=f||{},_=PF(t,l,c,s),v=C.useMemo(()=>_.map(e=>e.rowKey),[_]),y=C.useRef({renderWithProps:!1}),b=C.useMemo(()=>{let e=o.length-p,t=0;for(let e=0;e{let{record:n,indent:r,index:i,rowKey:a}=e;return C.createElement(Ahe,{classNames:h,styles:g,key:a,rowKey:a,rowKeys:v,record:n,index:t,renderIndex:i,rowComponent:S,cellComponent:w,scopeCellComponent:T,indent:r,expandedRowInfo:b})}):C.createElement(IF,{expanded:!0,className:`${r}-placeholder`,prefixCls:r,component:S,cellComponent:w,colSpan:o.length,isEmpty:!0},u);let D=xF(o);return C.createElement(bF.Provider,{value:y.current},C.createElement(x,{style:g.wrapper,className:q(`${r}-tbody`,h.wrapper)},n&&C.createElement(Mhe,{prefixCls:r,columnsKey:D,onColumnResize:a,columns:o}),E))}),BF=`RC_TABLE_INTERNAL_COL_DEFINE`;function Phe(e){let{expandable:t,...n}=e,r;return r=`expandable`in e?{...n,...t}:n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}function VF(){return VF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{colWidths:t,columns:n,columCount:r}=e,{tableLayout:i}=mF(yF,[`tableLayout`]),a=[],o=r||n.length,s=!1;for(let e=o-1;e>=0;--e){let r=t[e],o=n&&n[e],c,l;if(o&&(c=o[BF],i===`auto`&&(l=o.minWidth)),r||l||c||s){let{columnType:t,...n}=c||{};a.unshift(C.createElement(`col`,VF({key:e,style:{width:r,minWidth:l}},n))),s=!0}}return a.length>0?C.createElement(`colgroup`,null,a):null};function Fhe(e,t){return(0,C.useMemo)(()=>{let n=[];for(let r=0;r{let{className:n,style:r,noData:i,columns:a,flattenColumns:o,colWidths:s,colGroup:c,columCount:l,stickyOffsets:u,direction:d,fixHeader:f,stickyTopOffset:p,stickyBottomOffset:m,stickyClassName:h,scrollX:g,tableLayout:_=`fixed`,onScroll:v,maxContentScroll:y,children:b,...x}=e,{prefixCls:S,scrollbarSize:w,isSticky:T,getComponent:E}=mF(yF,[`prefixCls`,`scrollbarSize`,`isSticky`,`getComponent`]),D=E([`header`,`table`],`table`),O=T&&!f?0:w,k=C.useRef(null),A=C.useCallback(e=>{$n(t,e),$n(k,e)},[]);C.useEffect(()=>{function e(e){let{currentTarget:t,deltaX:n}=e;if(n){let{scrollLeft:r,scrollWidth:i,clientWidth:a}=t,o=i-a,s=r+n;d===`rtl`?(s=Math.max(-o,s),s=Math.min(0,s)):(s=Math.min(o,s),s=Math.max(0,s)),v({currentTarget:t,scrollLeft:s}),e.preventDefault()}}let t=k.current;return t?.addEventListener(`wheel`,e,{passive:!1}),()=>{t?.removeEventListener(`wheel`,e)}},[]);let j=o[o.length-1],M={fixed:j?j.fixed:null,scrollbar:!0,onHeaderCell:()=>({className:`${S}-cell-scrollbar`})},N=(0,C.useMemo)(()=>O?[...a,M]:a,[O,a]),P=(0,C.useMemo)(()=>O?[...o,M]:o,[O,o]),F=(0,C.useMemo)(()=>{let{start:e,end:t}=u;return{...u,start:e,end:[...t.map(e=>e+O),0],isSticky:T}},[O,u,T]),I=Fhe(s,l),L=(0,C.useMemo)(()=>{let e=!I||!I.length||I.every(e=>!e);return i||e},[i,I]);return C.createElement(`div`,{style:{overflow:`hidden`,...T?{top:p,bottom:m}:{},...r},ref:A,className:q(n,{[h]:!!h})},C.createElement(D,{style:{tableLayout:_,minWidth:`100%`,width:g}},L?c:C.createElement(HF,{colWidths:[...I,O],columCount:l+1,columns:P}),b({...x,stickyOffsets:F,columns:N,flattenColumns:P})))}),UF=C.memo(Ihe);function WF(){return WF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{cells:t,stickyOffsets:n,flattenColumns:r,rowComponent:i,cellComponent:a,onHeaderRow:o,index:s,classNames:c,styles:l}=e,{prefixCls:u}=mF(yF,[`prefixCls`]),d;o&&(d=o(t.map(e=>e.column),s));let f=xF(t.map(e=>e.column));return C.createElement(i,WF({},d,{className:c.row,style:l.row}),t.map((e,t)=>{let{column:i,colStart:o,colEnd:s,colSpan:c}=e,l=DF(o,s,r,n),d=i?.onHeaderCell?.(i)||{};return C.createElement(wF,WF({},e,{scope:i.title?c>1?`colgroup`:`col`:null,ellipsis:i.ellipsis,align:i.align,component:a,prefixCls:u,key:f[t]},l,{additionalProps:d,rowType:`header`}))}))};function Rhe(e,t,n){let r=[];function i(e,a,o=0){r[o]=r[o]||[];let s=a;return e.filter(Boolean).map(e=>{let a={key:e.key,className:q(e.className,t.cell)||``,style:n.cell,children:e.title,column:e,colStart:s},c=1,l=e.children;return l&&l.length>0&&(c=i(l,s,o+1).reduce((e,t)=>e+t,0),a.hasSubColumns=!0),`colSpan`in e&&({colSpan:c}=e),`rowSpan`in e&&(a.rowSpan=e.rowSpan),a.colSpan=c,a.colEnd=a.colStart+c-1,r[o].push(a),s+=c,c})}i(e,0);let a=r.length;for(let e=0;e{!(`rowSpan`in t)&&!t.hasSubColumns&&(t.rowSpan=a-e)});return r}var GF=vF(e=>{let{stickyOffsets:t,columns:n,flattenColumns:r,onHeaderRow:i}=e,{prefixCls:a,getComponent:o,classNames:s,styles:c}=mF(yF,[`prefixCls`,`getComponent`,`classNames`,`styles`]),{header:l={}}=s||{},{header:u={}}=c||{},d=C.useMemo(()=>Rhe(n,l,u),[n,l,u]),f=o([`header`,`wrapper`],`thead`),p=o([`header`,`row`],`tr`),m=o([`header`,`cell`],`th`);return C.createElement(f,{className:q(`${a}-thead`,l.wrapper),style:u.wrapper},d.map((e,n)=>C.createElement(Lhe,{classNames:l,styles:u,key:n,flattenColumns:r,cells:e,stickyOffsets:t,rowComponent:p,cellComponent:m,onHeaderRow:i,index:n})))});function KF(e,t=``){return typeof t==`number`?t:t.endsWith(`%`)?e*parseFloat(t)/100:null}function zhe(e,t,n){return C.useMemo(()=>{if(t&&t>0){let r=0,i=0;e.forEach(e=>{let n=KF(t,e.width);n?r+=n:i+=1});let a=Math.max(t,n),o=Math.max(a-r,i),s=i,c=o/i,l=0,u=e.map(e=>{let n={...e},r=KF(t,n.width);if(r)n.width=r;else{let e=Math.floor(c);n.width=s===1?o:e,o-=e,--s}return l+=n.width,n});if(l{let r=Math.floor(t.width*e);t.width=n===u.length-1?o:r,o-=r})}return[u,Math.max(l,a)]}return[e,t]},[e,t,n])}function qF(e){return wr(e).filter(e=>C.isValidElement(e)).map(e=>{let{key:t,props:n}=e,{children:r,...i}=n,a={key:t,...i};return r&&(a.children=qF(r)),a})}function JF(e){return e.filter(e=>e&&typeof e==`object`&&!e.hidden).map(e=>{let t=e.children;return t&&t.length>0?{...e,children:JF(t)}:e})}function YF(e,t=`key`){return e.filter(e=>e&&typeof e==`object`).reduce((e,n,r)=>{let{fixed:i}=n,a=i===!0||i===`left`?`start`:i===`right`?`end`:i,o=`${t}-${r}`,s=n.children;return s&&s.length>0?[...e,...YF(s,o).map(e=>({...e,fixed:e.fixed??a}))]:[...e,{key:o,...n,fixed:a}]},[])}function Bhe({prefixCls:e,columns:t,children:n,expandable:r,expandedKeys:i,columnTitle:a,getRowKey:o,onTriggerExpand:s,expandIcon:c,rowExpandable:l,expandIconColumnIndex:u,expandedRowOffset:d=0,direction:f,expandRowByClick:p,columnWidth:m,fixed:h,scrollWidth:g,clientWidth:_},v){let y=C.useMemo(()=>JF((t||qF(n)||[]).slice()),[t,n]),b=C.useMemo(()=>{if(r){let t=y.slice();if(!t.includes(dF)){let e=u||0,n=e===0&&(h===`right`||h===`end`)?y.length:e;n>=0&&t.splice(n,0,dF)}let n=t.indexOf(dF);t=t.filter((e,t)=>e!==dF||t===n);let r=y[n],f;f=h||(r?r.fixed:null);let g={[BF]:{className:`${e}-expand-icon-col`,columnType:`EXPAND_COLUMN`},title:a,fixed:f,className:`${e}-row-expand-icon-cell`,width:m,render:(t,n,r)=>{let a=o(n,r),u=c({prefixCls:e,expanded:i.has(a),expandable:l?l(n):!0,record:n,onExpand:s});return p?C.createElement(`span`,{onClick:e=>e.stopPropagation()},u):u}};return t.map((e,t)=>{let n=e===dF?g:e;return te!==dF)},[r,y,o,i,c,f,d]),x=C.useMemo(()=>{let e=b;return v&&(e=v(e)),e.length||(e=[{render:()=>null}]),e},[v,b,f]),[S,w]=zhe(C.useMemo(()=>YF(x),[x,f,g]),g,_);return[x,S,w]}function Vhe(e,t,n){let r=Phe(e),{expandIcon:i,expandedRowKeys:a,defaultExpandedRowKeys:o,defaultExpandAllRows:s,expandedRowRender:c,onExpand:l,onExpandedRowsChange:u,childrenColumnName:d}=r,f=i||Ohe,p=d||`children`,m=C.useMemo(()=>c?`row`:e.expandable&&e.internalHooks===`rc-table-internal-hook`&&e.expandable.__PARENT_RENDER_ICON__||t.some(e=>e&&typeof e==`object`&&e[p])?`nest`:!1,[!!c,t]),[h,g]=C.useState(()=>o||(s?khe(t,n,p):[])),_=C.useMemo(()=>new Set(a||h||[]),[a,h]);return[r,m,_,f,p,C.useCallback(e=>{let r=n(e,t.indexOf(e)),i,a=_.has(r);a?(_.delete(r),i=[..._]):i=[..._,r],g(i),l&&l(!a,e),u&&u(i)},[n,_,t,l,u])]}function Hhe(e,t){let n=C.useMemo(()=>e.map((n,r)=>DF(r,r,e,t)),[e,t]);return qn(()=>n,[n],(e,t)=>!Ei(e,t))}function Uhe(e){let t=(0,C.useRef)(e),[,n]=(0,C.useState)({}),r=(0,C.useRef)(null),i=(0,C.useRef)([]);function a(e){i.current.push(e);let a=Promise.resolve();r.current=a,a.then(()=>{if(r.current===a){let e=i.current,a=t.current;i.current=[],e.forEach(e=>{t.current=e(t.current)}),r.current=null,a!==t.current&&n({})}})}return(0,C.useEffect)(()=>()=>{r.current=null},[]),[t.current,a]}function Whe(e){let t=(0,C.useRef)(e||null),n=(0,C.useRef)(null);function r(){clearTimeout(n.current)}function i(e){t.current=e,r(),n.current=setTimeout(()=>{t.current=null,n.current=void 0},100)}function a(){return t.current}return(0,C.useEffect)(()=>r,[]),[i,a]}function Ghe(){let[e,t]=C.useState(-1),[n,r]=C.useState(-1);return[e,n,C.useCallback((e,n)=>{t(e),r(n)},[])]}var XF=zn()?window:null;function Khe(e,t){let{offsetHeader:n=0,offsetSummary:r=0,offsetScroll:i=0,getContainer:a=()=>XF}=typeof e==`object`?e:{},o=a()||XF,s=!!e;return C.useMemo(()=>({isSticky:s,stickyClassName:s?`${t}-sticky-holder`:``,offsetHeader:n,offsetSummary:r,offsetScroll:i,container:o}),[s,i,n,r,t,o])}function qhe(e,t){return(0,C.useMemo)(()=>{let n=t.length,r=(n,r,i)=>{let a=[],o=0;for(let s=n;s!==r;s+=i)a.push(o),t[s].fixed&&(o+=e[s]||0);return a};return{start:r(0,n,1),end:r(n-1,-1,-1).reverse(),widths:e}},[e,t])}var ZF=e=>{let{children:t,className:n,style:r}=e;return C.createElement(`div`,{className:n,style:r},t)};function QF(e){let t=Ar(e).getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}var $F=`mouseup`,eI=`mousemove`,tI=`scroll`,nI=`resize`,Jhe=C.forwardRef((e,t)=>{let{scrollBodyRef:n,onScroll:r,offsetScroll:i,container:a,direction:o}=e,s=mF(yF,`prefixCls`),c=n.current?.scrollWidth||0,l=n.current?.clientWidth||0,u=c&&l/c*l,d=C.useRef(null),[f,p]=Uhe({scrollLeft:0,isHiddenScrollBar:!0}),m=C.useRef({delta:0,x:0}),[h,g]=C.useState(!1),_=C.useRef(null);C.useEffect(()=>()=>{ii.cancel(_.current)},[]);let v=()=>{g(!1)},y=e=>{e.persist(),m.current.delta=e.pageX-f.scrollLeft,m.current.x=0,g(!0),e.preventDefault()},b=e=>{let{buttons:t}=e||window?.event;if(!h||t===0){h&&g(!1);return}let n=m.current.x+e.pageX-m.current.x-m.current.delta,i=o===`rtl`;n=Math.max(i?u-l:0,Math.min(i?0:l-u,n)),(!i||Math.abs(n)+Math.abs(u){ii.cancel(_.current),_.current=ii(()=>{if(!n.current)return;let e=QF(n.current).top,t=e+n.current.offsetHeight,r=a===window?document.documentElement.scrollTop+window.innerHeight:QF(a).top+a.clientHeight;t-Af()<=r||e>=r-i?p(e=>({...e,isHiddenScrollBar:!0})):p(e=>({...e,isHiddenScrollBar:!1}))})},S=e=>{p(t=>({...t,scrollLeft:e/c*l||0}))};return C.useImperativeHandle(t,()=>({setScrollLeft:S,checkScrollBarVisible:x})),C.useEffect(()=>(document.body.addEventListener($F,v,!1),document.body.addEventListener(eI,b,!1),x(),()=>{document.body.removeEventListener($F,v),document.body.removeEventListener(eI,b)}),[u,h]),C.useEffect(()=>{if(n.current){let e=[],t=Ar(n.current);for(;t;)e.push(t),t=t.parentElement;return e.forEach(e=>{e.addEventListener(tI,x,!1)}),window.addEventListener(nI,x,!1),window.addEventListener(tI,x,!1),a.addEventListener(tI,x,!1),()=>{e.forEach(e=>{e.removeEventListener(tI,x)}),window.removeEventListener(nI,x),window.removeEventListener(tI,x),a.removeEventListener(tI,x)}}},[a]),C.useEffect(()=>{f.isHiddenScrollBar||p(e=>{let t=n.current;return t?{...e,scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}:e})},[f.isHiddenScrollBar]),c<=l||!u||f.isHiddenScrollBar?null:C.createElement(`div`,{style:{height:Af(),width:l,bottom:i},className:`${s}-sticky-scroll`},C.createElement(`div`,{onMouseDown:y,ref:d,className:q(`${s}-sticky-scroll-bar`,{[`${s}-sticky-scroll-bar-active`]:h}),style:{width:`${u}px`,transform:`translate3d(${f.scrollLeft}px, 0, 0)`}}))});function rI(){return rI=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let n={rowKey:`key`,prefixCls:iI,emptyText:Zhe,...e},{prefixCls:r,className:i,rowClassName:a,style:o,classNames:s,styles:c,data:l,rowKey:u,scroll:d,tableLayout:f,direction:p,title:m,footer:h,summary:g,caption:_,id:v,showHeader:y,components:b,emptyText:x,onRow:S,onHeaderRow:w,measureRowRender:T,onScroll:E,internalHooks:D,transformColumns:O,internalRefs:k,tailor:A,getContainerWidth:j,sticky:M,rowHoverable:N=!0}=n,P=l||Yhe,F=!!P.length,I=D===fF,L=C.useCallback((e,t)=>or(b,e)||t,[b]),R=C.useMemo(()=>typeof u==`function`?u:e=>e&&e[u],[u]),z=L([`body`]),[B,V,H]=Ghe(),[U,W,ee,te,ne,re]=Vhe(n,P,R),ie=d?.x,[ae,G]=C.useState(0),[oe,K,se]=Bhe({...n,...U,expandable:!!U.expandedRowRender,columnTitle:U.columnTitle,expandedKeys:ee,getRowKey:R,onTriggerExpand:re,expandIcon:te,expandIconColumnIndex:U.expandIconColumnIndex,direction:p,scrollWidth:I&&A&&typeof ie==`number`?ie:null,clientWidth:ae},I?O:null),ce=se??ie,le=C.useMemo(()=>({columns:oe,flattenColumns:K}),[oe,K]),ue=C.useRef(null),de=C.useRef(null),fe=C.useRef(null),pe=C.useRef(null);C.useImperativeHandle(t,()=>({nativeElement:ue.current,scrollTo:e=>{if(fe.current instanceof HTMLElement){let{index:t,top:n,key:r,offset:i}=e;if(vhe(n))fe.current?.scrollTo({top:n});else{let e=r??R(P[t]),n=fe.current.querySelector(`[data-row-key="${e}"]`);if(n)if(!i)n.scrollIntoView();else{let e=n.offsetTop;fe.current.scrollTo({top:e+i})}}}else fe.current?.scrollTo&&fe.current.scrollTo(e)}}));let me=C.useRef(null),[he,ge]=C.useState(!1),[_e,ve]=C.useState(!1),[ye,be]=C.useState(new Map),xe=xF(K).map(e=>ye.get(e)),Se=C.useMemo(()=>xe,[xe.join(`_`)]),Ce=qhe(Se,K),we=d&&SF(d.y),Te=d&&SF(ce)||!!U.fixed,Ee=Te&&K.some(({fixed:e})=>e),De=C.useRef(null),{isSticky:Oe,offsetHeader:ke,offsetSummary:Ae,offsetScroll:je,stickyClassName:Me,container:Ne}=Khe(M,r),Pe=C.useMemo(()=>g?.(P),[g,P]),Fe=(we||Oe)&&C.isValidElement(Pe)&&Pe.type===AF&&Pe.props.fixed,Ie,Le,Re;we&&(Le={overflowY:F?`scroll`:`auto`,maxHeight:d.y}),Te&&(Ie={overflowX:`auto`},we||(Le={overflowY:`hidden`}),Re={width:ce===!0?`auto`:ce,minWidth:`100%`});let ze=C.useCallback((e,t)=>{be(n=>{if(n.get(e)!==t){let r=new Map(n);return r.set(e,t),r}return n})},[]),[Be,Ve]=Whe(null);function He(e,t){t&&(typeof t==`function`?t(e):t.scrollLeft!==e&&(t.scrollLeft=e,t.scrollLeft!==e&&setTimeout(()=>{t.scrollLeft=e},0)))}let[Ue,We]=C.useState([0,0]),Ge=Rn(({currentTarget:e,scrollLeft:t})=>{let n=typeof t==`number`?t:e.scrollLeft,r=e||Xhe;(!Ve()||Ve()===r)&&(Be(r),He(n,de.current),He(n,fe.current),He(n,me.current),He(n,De.current?.setScrollLeft));let i=e||de.current;if(i){let e=I&&A&&typeof ce==`number`?ce:i.scrollWidth,t=i.clientWidth,r=Math.abs(n);if(We(n=>{let i=[r,e-t];return Ei(n,i)?n:i}),e===t){ge(!1),ve(!1);return}ge(r>0),ve(r{Ge(e),E?.(e)}),qe=()=>{Te&&fe.current?Ge({currentTarget:Ar(fe.current),scrollLeft:fe.current?.scrollLeft}):(ge(!1),ve(!1))},Je=e=>{De.current?.checkScrollBarVisible();let t=e??ue.current?.offsetWidth??0;I&&j&&ue.current&&(t=j(ue.current,t)||t),t!==ae&&(qe(),G(t))};Vn(()=>{Te&&Je()},[Te]);let Ye=C.useRef(!1);C.useEffect(()=>{Ye.current&&qe()},[Te,l,oe.length]),C.useEffect(()=>{Ye.current=!0},[]);let[Xe,Ze]=C.useState(0);Vn(()=>{(!A||!I)&&(fe.current instanceof Element?Ze(jf(fe.current).width):Ze(jf(pe.current).width))},[]),C.useEffect(()=>{I&&k&&(k.body.current=fe.current)});let Qe=C.useCallback(e=>C.createElement(C.Fragment,null,C.createElement(GF,e),Fe===`top`&&C.createElement(jF,e,Pe)),[Fe,Pe]),$e=C.useCallback(e=>C.createElement(jF,e,Pe),[Pe]),et=L([`table`],`table`),tt=C.useMemo(()=>f||(Ee?ce===`max-content`?`auto`:`fixed`:we||Oe||K.some(({ellipsis:e})=>e)?`fixed`:`auto`),[we,Ee,K,f,Oe]),nt,rt={colWidths:Se,columCount:K.length,stickyOffsets:Ce,onHeaderRow:w,fixHeader:we,scroll:d},it=C.useMemo(()=>F?null:typeof x==`function`?x():x,[F,x]),at=C.createElement(Nhe,{data:P,measureColumnWidth:we||Te||Oe}),ot=C.createElement(HF,{colWidths:K.map(({width:e})=>e),columns:K}),st=_==null?void 0:C.createElement(`caption`,{className:`${r}-caption`},_),ct=Hu(n,{data:!0}),lt=Hu(n,{aria:!0});if(we||Oe){let e;typeof z==`function`?(e=z(P,{scrollbarSize:Xe,ref:fe,onScroll:Ge}),rt.colWidths=K.map(({width:e},t)=>{let n=t===K.length-1?e-Xe:e;return typeof n==`number`&&!Number.isNaN(n)?n:0})):e=C.createElement(`div`,{style:{...Ie,...Le},onScroll:Ke,ref:fe,className:`${r}-body`},C.createElement(et,rI({style:{...Re,tableLayout:tt}},lt),st,ot,at,!Fe&&Pe&&C.createElement(jF,{stickyOffsets:Ce,flattenColumns:K},Pe)));let t={noData:!P.length,maxContentScroll:Te&&ce===`max-content`,...rt,...le,direction:p,stickyClassName:Me,scrollX:ce,tableLayout:tt,onScroll:Ge};nt=C.createElement(C.Fragment,null,y!==!1&&C.createElement(UF,rI({},t,{stickyTopOffset:ke,className:`${r}-header`,ref:de,colGroup:ot}),Qe),e,Fe&&Fe!==`top`&&C.createElement(UF,rI({},t,{stickyBottomOffset:Ae,className:`${r}-summary`,ref:me,colGroup:ot}),$e),Oe&&fe.current&&fe.current instanceof Element&&C.createElement(Jhe,{ref:De,offsetScroll:je,scrollBodyRef:fe,onScroll:Ge,container:Ne,direction:p}))}else nt=C.createElement(`div`,{style:{...Ie,...Le,...c?.content},className:q(`${r}-content`,s?.content),onScroll:Ge,ref:fe},C.createElement(et,rI({style:{...Re,tableLayout:tt}},lt),st,ot,y!==!1&&C.createElement(GF,rI({},rt,le)),at,Pe&&C.createElement(jF,{stickyOffsets:Ce,flattenColumns:K},Pe)));let ut={...o};Oe&&(ut[`--columns-count`]=K.length);let dt=C.createElement(`div`,rI({className:q(r,i,{[`${r}-rtl`]:p===`rtl`,[`${r}-fix-start-shadow`]:Te,[`${r}-fix-end-shadow`]:Te,[`${r}-fix-start-shadow-show`]:Te&&he,[`${r}-fix-end-shadow-show`]:Te&&_e,[`${r}-layout-fixed`]:f===`fixed`,[`${r}-fixed-header`]:we,[`${r}-fixed-column`]:Ee,[`${r}-scroll-horizontal`]:Te,[`${r}-has-fix-start`]:K[0]?.fixed,[`${r}-has-fix-end`]:K[K.length-1]?.fixed===`end`}),style:ut,id:v,ref:ue},ct),m&&C.createElement(ZF,{className:q(`${r}-title`,s?.title),style:c?.title},m(P)),C.createElement(`div`,{ref:pe,className:q(`${r}-container`,s?.section),style:c?.section},nt),h&&C.createElement(ZF,{className:q(`${r}-footer`,s?.footer),style:c?.footer},h(P)));Te&&(dt=C.createElement(Gr,{onResize:({offsetWidth:e})=>Je(e)},dt));let ft=Hhe(K,Ce),pt=C.useMemo(()=>({scrollX:ce,scrollInfo:Ue,classNames:s,styles:c,prefixCls:r,getComponent:L,scrollbarSize:Xe,direction:p,fixedInfoList:ft,isSticky:Oe,componentWidth:ae,fixHeader:we,fixColumn:Ee,horizonScroll:Te,tableLayout:tt,rowClassName:a,expandedRowClassName:U.expandedRowClassName,expandIcon:te,expandableType:W,expandRowByClick:U.expandRowByClick,expandedRowRender:U.expandedRowRender,expandedRowOffset:U.expandedRowOffset,onTriggerExpand:re,expandIconColumnIndex:U.expandIconColumnIndex,indentSize:U.indentSize,allColumnsFixedLeft:K.every(e=>e.fixed===`start`),emptyNode:it,columns:oe,flattenColumns:K,onColumnResize:ze,colWidths:Se,hoverStartRow:B,hoverEndRow:V,onHover:H,rowExpandable:U.rowExpandable,onRow:S,getRowKey:R,expandedKeys:ee,childrenColumnName:ne,rowHoverable:N,measureRowRender:T}),[ce,Ue,s,c,r,L,Xe,p,ft,Oe,ae,we,Ee,Te,tt,a,U.expandedRowClassName,te,W,U.expandRowByClick,U.expandedRowRender,U.expandedRowOffset,re,U.expandIconColumnIndex,U.indentSize,it,oe,K,ze,Se,B,V,H,U.rowExpandable,S,R,ee,ne,N,T]);return C.createElement(yF.Provider,{value:pt},dt)}),aI=e=>_F(Qhe,e),oI=aI();oI.EXPAND_COLUMN=dF,oI.INTERNAL_HOOKS=fF,oI.Column=Ehe,oI.ColumnGroup=Dhe,oI.Summary=MF;var sI=pF(null),cI=pF(null);function lI(){return lI=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{rowInfo:t,column:n,colIndex:r,indent:i,index:a,component:o,renderIndex:s,record:c,style:l,className:u,inverse:d,getHeight:f}=e,{render:p,dataIndex:m,className:h,width:g}=n,{columnsOffset:_}=mF(cI,[`columnsOffset`]),{key:v,fixedInfo:y,appendCellNode:b,additionalCellProps:x}=zF(t,n,r,i,a),{style:S,colSpan:w=1,rowSpan:T=1}=x,E=$he(r-1,w,_),D=w>1?g-E:0,O={...S,...l,flex:`0 0 ${E}px`,width:`${E}px`,marginRight:D,pointerEvents:`auto`},k=C.useMemo(()=>d?T<=1:w===0||T===0||T>1,[T,w,d]);k?O.visibility=`hidden`:d&&(O.height=f?.(T));let A=k?()=>null:p,j={};return(T===0||w===0)&&(j.rowSpan=1,j.colSpan=1),C.createElement(wF,lI({className:q(h,u),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:o,prefixCls:t.prefixCls,key:v,record:c,index:a,renderIndex:s,dataIndex:m,render:A,shouldCellUpdate:n.shouldCellUpdate},y,{appendNode:b,additionalProps:{...x,style:O,...j}}))};function uI(){return uI=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{data:n,index:r,className:i,rowKey:a,style:o,extra:s,getHeight:c,...l}=e,{record:u,indent:d,index:f}=n,{scrollX:p,flattenColumns:m,prefixCls:h,fixColumn:g,componentWidth:_}=mF(yF,[`prefixCls`,`flattenColumns`,`fixColumn`,`componentWidth`,`scrollX`]),{getComponent:v}=mF(sI,[`getComponent`]),y=FF(u,a,r,d),b=v([`body`,`row`],`div`),x=v([`body`,`cell`],`div`),{rowSupportExpand:S,expanded:w,rowProps:T,expandedRowRender:E,expandedRowClassName:D}=y,O;if(S&&w){let e=E(u,r,d+1,w),t=LF(D,u,r,d),n={};g&&(n={style:{"--virtual-width":`${_}px`}});let i=`${h}-expanded-row-cell`;O=C.createElement(b,{className:q(`${h}-expanded-row`,`${h}-expanded-row-level-${d+1}`,t)},C.createElement(wF,{component:x,prefixCls:h,className:q(i,{[`${i}-fixed`]:g}),additionalProps:n},e))}let k={...o,width:p};s&&(k.position=`absolute`,k.pointerEvents=`none`);let A=C.createElement(b,uI({},T,l,{"data-row-key":a,ref:S?null:t,className:q(i,`${h}-row`,T?.className,{[`${h}-row-extra`]:s}),style:{...k,...T?.style}}),m.map((e,t)=>C.createElement(ege,{key:t,component:x,rowInfo:y,column:e,colIndex:t,indent:d,index:r,renderIndex:f,record:u,inverse:s,getHeight:c})));return S?C.createElement(`div`,{ref:t},A,O):A})),tge=vF(C.forwardRef((e,t)=>{let{data:n,onScroll:r}=e,{flattenColumns:i,onColumnResize:a,getRowKey:o,expandedKeys:s,prefixCls:c,childrenColumnName:l,scrollX:u,direction:d}=mF(yF,[`flattenColumns`,`onColumnResize`,`getRowKey`,`prefixCls`,`expandedKeys`,`childrenColumnName`,`scrollX`,`direction`]),{sticky:f,scrollY:p,listItemHeight:m,getComponent:h,onScroll:g}=mF(sI),_=C.useRef(null),v=PF(n,l,s,o),y=C.useMemo(()=>{let e=0;return i.map(({width:t,minWidth:n,key:r})=>{let i=Math.max(t||0,n||0);return e+=i,[r,i,e]})},[i]),b=C.useMemo(()=>y.map(e=>e[2]),[y]);C.useEffect(()=>{y.forEach(([e,t])=>{a(e,t)})},[y]),C.useImperativeHandle(t,()=>{let e={scrollTo:e=>{let{offset:t,...n}=e;t?_.current?.scrollTo({...n,offset:t,align:`top`}):_.current?.scrollTo(e)},nativeElement:_.current?.nativeElement};return Object.defineProperty(e,`scrollLeft`,{get:()=>_.current?.getScrollInfo().x||0,set:e=>{_.current?.scrollTo({left:e})}}),Object.defineProperty(e,`scrollTop`,{get:()=>_.current?.getScrollInfo().y||0,set:e=>{_.current?.scrollTo({top:e})}}),e});let x=(e,t)=>{let n=v[t]?.record,{onCell:r}=e;return r?r(n,t)?.rowSpan??1:1},S=e=>{let{start:t,end:n,getSize:r,offsetY:a}=e;if(n<0)return null;let s=i.filter(e=>x(e,t)===0),c=t;for(let e=t;e>=0;--e)if(s=s.filter(t=>x(t,e)===0),!s.length){c=e;break}let l=i.filter(e=>x(e,n)!==1),u=n;for(let e=n;ex(t,e)!==1),!l.length){u=Math.max(e-1,n);break}let d=[];for(let e=c;e<=u;e+=1)v[e]&&i.some(t=>x(t,e)>1)&&d.push(e);return d.map(e=>{let t=v[e],n=o(t.record,e),i=t=>{let i=e+t-1,a=v[i];if(!a||!a.record){let e=Math.min(i,v.length-1),t=v[e],a=r(n,o(t.record,e));return a.bottom-a.top}let s=r(n,o(a.record,i));return s.bottom-s.top},s=r(n);return C.createElement(dI,{key:e,data:t,rowKey:n,index:e,style:{top:-a+s.top},extra:!0,getHeight:i})})},w=C.useMemo(()=>({columnsOffset:b}),[b]),T=`${c}-tbody`,E=h([`body`,`wrapper`]),D={};return f&&(D.position=`sticky`,D.bottom=0,typeof f==`object`&&f.offsetScroll&&(D.bottom=f.offsetScroll)),C.createElement(cI.Provider,{value:w},C.createElement(By,{fullHeight:!1,ref:_,prefixCls:`${T}-virtual`,styles:{horizontalScrollBar:D},className:T,height:p,itemHeight:m||24,data:v,itemKey:e=>o(e.record),component:E,scrollWidth:u,direction:d,onVirtualScroll:({x:e})=>{r({currentTarget:_.current?.nativeElement,scrollLeft:e})},onScroll:g,extraRender:S},(e,t,n)=>{let r=o(e.record,t);return C.createElement(dI,{data:e,rowKey:r,index:t,style:n.style})}))}));function fI(){return fI=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{ref:n,onScroll:r}=t;return C.createElement(tge,{ref:n,data:e,onScroll:r})},rge=C.forwardRef((e,t)=>{let{data:n,columns:r,scroll:i,sticky:a,prefixCls:o=iI,className:s,listItemHeight:c,components:l,onScroll:u}=e,{x:d,y:f}=i||{};typeof d!=`number`&&(d=1),typeof f!=`number`&&(f=500);let p=Rn((e,t)=>or(l,e)||t),m=Rn(u),h=C.useMemo(()=>({sticky:a,scrollY:f,listItemHeight:c,getComponent:p,onScroll:m}),[a,f,c,p,m]);return C.createElement(sI.Provider,{value:h},C.createElement(oI,fI({},e,{className:q(s,`${o}-virtual`),scroll:{...i,x:d},components:{...l,body:n?.length?nge:void 0},columns:r,internalHooks:fF,tailor:!0,ref:t})))}),pI=e=>_F(rge,e);pI();var ige=e=>null,age=e=>null,mI=C.createContext(null),oge=C.createContext({}),sge=C.memo(({prefixCls:e,level:t,isStart:n,isEnd:r})=>{let i=`${e}-indent-unit`,a=[];for(let e=0;e{let{eventKey:t,className:n,style:r,dragOver:i,dragOverGapTop:a,dragOverGapBottom:o,isLeaf:s,isStart:c,isEnd:l,expanded:u,selected:d,checked:f,halfChecked:p,loading:m,domRef:h,active:g,data:_,onMouseMove:v,selectable:y,treeId:b,...x}=e,S=Rf(b,t),w=C.useContext(mI),{classNames:T,styles:E}=w||{},D=C.useContext(oge),O=C.useRef(null),[k,A]=C.useState(!1),j=!!(w.disabled||e.disabled||D.nodeDisabled?.(_)),M=C.useMemo(()=>!w.checkable||e.checkable===!1?!1:w.checkable,[w.checkable,e.checkable]),N=t=>{j||w.onNodeSelect(t,JA(e))},P=t=>{j||!M||e.disableCheckbox||w.onNodeCheck(t,JA(e),!f)},F=C.useMemo(()=>typeof y==`boolean`?y:w.selectable,[y,w.selectable]),I=t=>{w.onNodeClick(t,JA(e)),F?N(t):P(t)},L=t=>{w.onNodeDoubleClick(t,JA(e))},R=t=>{w.onNodeMouseEnter(t,JA(e))},z=t=>{w.onNodeMouseLeave(t,JA(e))},B=t=>{w.onNodeContextMenu(t,JA(e))},V=C.useMemo(()=>!!(w.draggable&&(!w.draggable.nodeDraggable||w.draggable.nodeDraggable(_))),[w.draggable,_]),H=t=>{t.stopPropagation(),A(!0),w.onNodeDragStart(t,e);try{t.dataTransfer.setData(`text/plain`,``)}catch{}},U=t=>{t.preventDefault(),t.stopPropagation(),w.onNodeDragEnter(t,e)},W=t=>{t.preventDefault(),t.stopPropagation(),w.onNodeDragOver(t,e)},ee=t=>{t.stopPropagation(),w.onNodeDragLeave(t,e)},te=t=>{t.stopPropagation(),A(!1),w.onNodeDragEnd(t,e)},ne=t=>{t.preventDefault(),t.stopPropagation(),A(!1),w.onNodeDrop(t,e)},re=t=>{m||w.onNodeExpand(t,JA(e))},ie=C.useMemo(()=>{let{children:e}=zA(w.keyEntities,t)||{};return!!(e||[]).length},[w.keyEntities,t]),ae=C.useMemo(()=>KA(s,w.loadData,ie,e.loaded),[s,w.loadData,ie,e.loaded]);C.useEffect(()=>{m||typeof w.loadData==`function`&&u&&!ae&&!e.loaded&&w.onNodeLoad(JA(e))},[m,w.loadData,w.onNodeLoad,u,ae,e]);let G=C.useMemo(()=>w.draggable?.icon?C.createElement(`span`,{className:`${w.prefixCls}-draggable-icon`},w.draggable.icon):null,[w.draggable]),oe=t=>{let n=e.switcherIcon||w.switcherIcon;return typeof n==`function`?n({...e,isLeaf:t}):n},K=()=>{if(ae){let e=oe(!0);return e===!1?null:C.createElement(`span`,{className:q(`${w.prefixCls}-switcher`,`${w.prefixCls}-switcher-noop`)},e)}let e=oe(!1);return e===!1?null:C.createElement(`span`,{onClick:re,className:q(`${w.prefixCls}-switcher`,`${w.prefixCls}-switcher_${u?gI:_I}`)},e)},se=C.useMemo(()=>{if(!M)return null;let t=typeof M==`boolean`?null:M;return C.createElement(`span`,{className:q(`${w.prefixCls}-checkbox`,{[`${w.prefixCls}-checkbox-checked`]:f,[`${w.prefixCls}-checkbox-indeterminate`]:!f&&p,[`${w.prefixCls}-checkbox-disabled`]:j||e.disableCheckbox}),onClick:P,role:`checkbox`,"aria-checked":p?`mixed`:f,"aria-disabled":j||e.disableCheckbox,"aria-labelledby":S},t)},[M,f,p,j,e.disableCheckbox,S]),ce=C.useMemo(()=>ae?null:u?gI:_I,[ae,u]),le=C.useMemo(()=>C.createElement(`span`,{className:q(T?.itemIcon,`${w.prefixCls}-iconEle`,`${w.prefixCls}-icon__${ce||`docu`}`,{[`${w.prefixCls}-icon_loading`]:m}),style:E?.itemIcon}),[w.prefixCls,ce,m]),ue=C.useMemo(()=>{let n=!!w.draggable;return!e.disabled&&n&&w.dragOverNodeKey===t?w.dropIndicatorRender({dropPosition:w.dropPosition,dropLevelOffset:w.dropLevelOffset,indent:w.indent,prefixCls:w.prefixCls,direction:w.direction}):null},[w.dropPosition,w.dropLevelOffset,w.indent,w.prefixCls,w.direction,w.draggable,w.dragOverNodeKey,w.dropIndicatorRender]),de=C.useMemo(()=>{let{title:t=cge}=e,n=`${w.prefixCls}-node-content-wrapper`,r;if(w.showIcon){let t=e.icon||w.icon;r=t?C.createElement(`span`,{className:q(T?.itemIcon,`${w.prefixCls}-iconEle`,`${w.prefixCls}-icon__customize`),style:E?.itemIcon},typeof t==`function`?t(e):t):le}else w.loadData&&m&&(r=le);let i;return i=typeof t==`function`?t(_):w.titleRender?w.titleRender(_):t,C.createElement(`span`,{ref:O,title:typeof t==`string`?t:``,className:q(n,`${n}-${ce||`normal`}`,{[`${w.prefixCls}-node-selected`]:!j&&(d||k)}),onMouseEnter:R,onMouseLeave:z,onContextMenu:B,onClick:I,onDoubleClick:L},r,C.createElement(`span`,{className:q(`${w.prefixCls}-title`,T?.itemTitle),style:E?.itemTitle},i),ue)},[w.prefixCls,w.showIcon,e,w.icon,le,w.titleRender,_,ce,R,z,B,I,L]),fe=Hu(x,{aria:!0,data:!0}),{level:pe}=zA(w.keyEntities,t)||{},me=l[l.length-1],he=!j&&V,ge=w.draggingNodeKey===t;return C.createElement(`div`,hI({ref:h,role:`treeitem`,id:S,"aria-expanded":ae?void 0:u,"aria-selected":F&&!j?d:void 0,"aria-checked":M&&!j?p?`mixed`:f:void 0,"aria-disabled":j,className:q(n,`${w.prefixCls}-treenode`,T?.item,{[`${w.prefixCls}-treenode-disabled`]:j,[`${w.prefixCls}-treenode-switcher-${u?`open`:`close`}`]:!s,[`${w.prefixCls}-treenode-checkbox-checked`]:f,[`${w.prefixCls}-treenode-checkbox-indeterminate`]:p,[`${w.prefixCls}-treenode-selected`]:d,[`${w.prefixCls}-treenode-loading`]:m,[`${w.prefixCls}-treenode-active`]:g,[`${w.prefixCls}-treenode-leaf-last`]:me,[`${w.prefixCls}-treenode-draggable`]:V,dragging:ge,"drop-target":w.dropTargetKey===t,"drop-container":w.dropContainerKey===t,"drag-over":!j&&i,"drag-over-gap-top":!j&&a,"drag-over-gap-bottom":!j&&o,"filter-node":w.filterTreeNode?.(JA(e)),[`${w.prefixCls}-treenode-leaf`]:ae}),style:{...r,...E?.item},draggable:he,onDragStart:he?H:void 0,onDragEnter:V?U:void 0,onDragOver:V?W:void 0,onDragLeave:V?ee:void 0,onDrop:V?ne:void 0,onDragEnd:V?te:void 0,onMouseMove:v},fe),C.createElement(sge,{prefixCls:w.prefixCls,level:pe,isStart:c,isEnd:l}),G,K(),se,de)};vI.isTreeNode=1;function yI(e,t){if(!e)return[];let n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function bI(e,t){let n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function xI(e){return e.split(`-`)}function lge(e,t){let n=[],r=zA(t,e);function i(e=[]){e.forEach(({key:e,children:t})=>{n.push(e),i(t)})}return i(r.children),n}function uge(e){if(e.parent){let t=xI(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function dge(e){let t=xI(e.pos);return Number(t[t.length-1])===0}function SI(e,t,n,r,i,a,o,s,c,l){let{clientX:u,clientY:d}=e,{top:f,height:p}=e.target.getBoundingClientRect(),m=((l===`rtl`?-1:1)*((i?.x||0)-u)-12)/r,h=c.filter(e=>s[e]?.children?.length),g=zA(s,n.eventKey);if(de.key===g.key),t=o[e<=0?0:e-1].key;g=zA(s,t)}let _=g.key,v=g,y=g.key,b=0,x=0;if(!h.includes(_))for(let e=0;e-1.5?a({dragNode:S,dropNode:C,dropPosition:1})?b=1:w=!1:a({dragNode:S,dropNode:C,dropPosition:0})?b=0:a({dragNode:S,dropNode:C,dropPosition:1})?b=1:w=!1:a({dragNode:S,dropNode:C,dropPosition:1})?b=1:w=!1,{dropPosition:b,dropLevelOffset:x,dropTargetKey:g.key,dropTargetPos:g.pos,dragOverNodeKey:y,dropContainerKey:b===0?null:g.parent?.key||null,dropAllowed:w}}function CI(e,t){if(!e)return;let{multiple:n}=t;return n?e.slice():e.length?[e[0]]:e}function wI(e){if(!e)return null;let t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(typeof e==`object`)t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return xr(!1,"`checkedKeys` is not an array or an object"),null;return t}function TI(e,t){let n=new Set;function r(e){if(n.has(e))return;let i=zA(t,e);if(!i)return;n.add(e);let{parent:a,node:o}=i;o.disabled||a&&r(a.key)}return(e||[]).forEach(e=>{r(e)}),[...n]}var EI={},DI=`SELECT_ALL`,OI=`SELECT_INVERT`,kI=`SELECT_NONE`,AI=[],jI=(e,t,n=[])=>((t||[]).forEach(t=>{n.push(t),gd(t)&&e in t&&jI(e,t[e],n)}),n),fge=(e,t)=>{let{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:i,getCheckboxProps:a,getTitleCheckboxProps:o,onChange:s,onSelect:c,onSelectAll:l,onSelectInvert:u,onSelectNone:d,onSelectMultiple:f,columnWidth:p,type:m,selections:h,fixed:g,renderCell:_,hideSelectAll:v,checkStrictly:y=!0}=t||{},{prefixCls:b,data:x,pageData:S,getRecordByKey:w,getRowKey:T,expandType:E,childrenColumnName:D,locale:O,getPopupContainer:k}=e,A=Or(`Table`),[j,M]=Ld(e=>e),[N,P]=Wn(i||AI,r),F=N??AI,I=C.useRef(new Map),L=(0,C.useCallback)(e=>{if(n){let t=new Map;e.forEach(e=>{let n=w(e);!n&&I.current.has(e)&&(n=I.current.get(e)),t.set(e,n)}),I.current=t}},[w,n]);C.useEffect(()=>{L(F)},[F,L]);let R=(0,C.useMemo)(()=>jI(D,S),[D,S]),{keyEntities:z}=(0,C.useMemo)(()=>{if(y)return{keyEntities:null};let e=x;if(n){let t=new Set(R.map(T)),n=Array.from(I.current).reduce((e,[n,r])=>t.has(n)?e:e.concat(r),[]);e=[].concat(Qr(e),Qr(n))}return GA(e,{externalGetKey:T,childrenPropName:D})},[x,T,y,D,n,R]),B=(0,C.useMemo)(()=>{let e=new Map;return R.forEach((t,n)=>{let r=T(t,n),i=(a?a(t):null)||{};e.set(r,i)}),e},[R,T,a]),V=(0,C.useCallback)(e=>{let t=T(e),n;return n=B.has(t)?B.get(T(e)):a?a(e):void 0,!!n?.disabled},[B,T]),[H,U]=(0,C.useMemo)(()=>{if(y)return[F,[]];let{checkedKeys:e,halfCheckedKeys:t}=XA(F,!0,z,V);return[e||[],t]},[F,y,z,V]),W=(0,C.useMemo)(()=>{let e=m===`radio`?H.slice(0,1):H;return new Set(e)},[H,m]),ee=(0,C.useMemo)(()=>m===`radio`?new Set:new Set(U),[U,m]);C.useEffect(()=>{t||P(AI)},[!!t]);let te=(0,C.useCallback)((e,t)=>{let r,i;L(e),n?(r=e,i=e.map(e=>I.current.get(e))):(r=[],i=[],e.forEach(e=>{let t=w(e);t!==void 0&&(r.push(e),i.push(t))})),P(r),s?.(r,i,{type:t})},[P,w,s,n]),ne=(0,C.useCallback)((e,t,n,r)=>{if(c){let i=n.map(w);c(w(e),t,i,r)}te(n,`single`)},[c,w,te]),re=(0,C.useMemo)(()=>!h||v?null:(h===!0?[DI,OI,kI]:h).map(e=>e===`SELECT_ALL`?{key:`all`,text:O.selectionAll,onSelect(){te(x.map((e,t)=>T(e,t)).filter(e=>!B.get(e)?.disabled||W.has(e)),`all`)}}:e===`SELECT_INVERT`?{key:`invert`,text:O.selectInvert,onSelect(){let e=new Set(W);S.forEach((t,n)=>{let r=T(t,n);B.get(r)?.disabled||(e.has(r)?e.delete(r):e.add(r))});let t=Array.from(e);u&&(A.deprecated(!1,`onSelectInvert`,`onChange`),u(t)),te(t,`invert`)}}:e===`SELECT_NONE`?{key:`none`,text:O.selectNone,onSelect(){d?.(),te(Array.from(W).filter(e=>B.get(e)?.disabled),`none`)}}:e).map(e=>({...e,onSelect:(...t)=>{e.onSelect?.(...t),M(null)}})),[h,v,O.selectionAll,O.selectInvert,O.selectNone,B,W,x,S,T,u,te]);return[(0,C.useCallback)(e=>{if(!t)return e.filter(e=>e!==EI);let n=Qr(e),r=new Set(W),i=R.map(T).filter(e=>!B.get(e).disabled),a=i.every(e=>r.has(e)),s=i.some(e=>r.has(e)),c=()=>{let e=[];a?i.forEach(t=>{r.delete(t),e.push(t)}):i.forEach(t=>{r.has(t)||(r.add(t),e.push(t))});let t=Array.from(r);l?.(!a,t.map(w),e.map(w)),te(t,`all`),M(null)},u,d;if(m!==`radio`){let e;if(re){let t={getPopupContainer:k,items:re.map((e,t)=>{let{key:n,text:r,onSelect:a}=e;return{key:n??t,onClick:()=>{a?.(i)},label:r}})};e=C.createElement(`div`,{className:`${b}-selection-extra`},C.createElement(FM,{menu:t,getPopupContainer:k},C.createElement(`span`,null,C.createElement(bb,null))))}let t=R.map((e,t)=>{let n=T(e,t),i=B.get(n)||{};return{checked:r.has(n),...i}}).filter(({disabled:e})=>e),n=!!t.length&&t.length===R.length,l=n&&t.every(({checked:e})=>e),f=n&&t.some(({checked:e})=>e),p=o?.()||{},{onChange:m,disabled:h}=p;d=C.createElement(tj,{"aria-label":e?`Custom selection`:`Select all`,...p,checked:n?l:!!R.length&&a,indeterminate:n?!l&&f:!a&&s,onChange:e=>{c(),m?.(e)},disabled:h??(R.length===0||n),skipGroup:!0}),u=!v&&C.createElement(`div`,{className:`${b}-selection`},d,e)}let x;x=m===`radio`?(e,t,n)=>{let i=T(t,n),a=r.has(i),o=B.get(i);return{node:C.createElement(Vk,{...o,checked:a,onClick:e=>{e.stopPropagation(),o?.onClick?.(e)},onChange:e=>{r.has(i)||ne(i,!0,[i],e.nativeEvent),o?.onChange?.(e)}}),checked:a}}:(e,t,n)=>{let a=T(t,n),o=r.has(a),s=ee.has(a),c=B.get(a),l;return l=E===`nest`?s:c?.indeterminate??s,{node:C.createElement(tj,{...c,indeterminate:l,checked:o,skipGroup:!0,onClick:e=>{e.stopPropagation(),c?.onClick?.(e)},onChange:e=>{let{nativeEvent:t}=e,{shiftKey:n}=t,s=i.indexOf(a),l=H.some(e=>i.includes(e));if(n&&y&&l){let e=j(s,i,r),t=Array.from(r);f?.(!o,t.map(w),e.map(w)),te(t,`multiple`)}else{let e=H;if(y){let n=o?yI(e,a):bI(e,a);ne(a,!o,n,t)}else{let{checkedKeys:n,halfCheckedKeys:r}=XA([].concat(Qr(e),[a]),!0,z,V),i=n;if(o){let e=new Set(n);e.delete(a),i=XA(Array.from(e),{checked:!1,halfCheckedKeys:r},z,V).checkedKeys}ne(a,!o,i,t)}}M(o?null:s),c?.onChange?.(e)}}),checked:o}};let S=(e,t,n)=>{let{node:r,checked:i}=x(e,t,n);return _?_(i,t,n,r):r};if(!n.includes(EI))if(n.findIndex(e=>e.RC_TABLE_INTERNAL_COL_DEFINE?.columnType===`EXPAND_COLUMN`)===0){let[e,...t]=n;n=[e,EI].concat(Qr(t))}else n=[EI].concat(Qr(n));let D=n.indexOf(EI);n=n.filter((e,t)=>e!==EI||t===D);let O=n[D-1],A=n[D+1],N=g;N===void 0&&(A?.fixed===void 0?O?.fixed!==void 0&&(N=O.fixed):N=A.fixed),N&&O&&O.RC_TABLE_INTERNAL_COL_DEFINE?.columnType===`EXPAND_COLUMN`&&O.fixed===void 0&&(O.fixed=N);let P=q(`${b}-selection-col`,{[`${b}-selection-col-with-dropdown`]:h&&m===`checkbox`}),F={fixed:N,width:p,className:`${b}-selection-column`,title:t?.columnTitle?typeof t.columnTitle==`function`?t.columnTitle(d):t.columnTitle:u,render:S,onCell:t.onCell,align:t.align,[BF]:{className:P}};return n.map(e=>e===EI?F:e)},[T,R,t,H,W,ee,p,re,E,B,f,ne,V]),W]};function pge(e){return t=>{let{prefixCls:n,onExpand:r,record:i,expanded:a,expandable:o}=t,s=`${n}-row-expand-icon`;return C.createElement(`button`,{type:`button`,onClick:e=>{r(i,e),e.stopPropagation()},className:q(s,{[`${s}-spaced`]:!o,[`${s}-expanded`]:o&&a,[`${s}-collapsed`]:o&&!a}),"aria-label":a?e.collapse:e.expand,"aria-expanded":a})}}function mge(e){return(t,n)=>{let r=t.querySelector(`.${e}-container`),i=n;if(r){let e=getComputedStyle(r),t=Number.parseInt(e.borderLeftWidth,10),a=Number.parseInt(e.borderRightWidth,10);i=n-t-a}return i}}var MI=(e,t)=>`key`in e&&pd(e.key)?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join(`.`):e.dataIndex:t;function NI(e,t){return t?`${t}-${e}`:`${e}`}var PI=(e,t)=>typeof e==`function`?e(t):e,hge=(e,t)=>{let n=PI(e,t);return Object.prototype.toString.call(n)===`[object Object]`?``:n},gge={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z`}}]},name:`filter`,theme:`filled`};function FI(){return FI=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,FI({},e,{ref:t,icon:gge}))),_ge=e=>{let{dropPosition:t,dropLevelOffset:n,indent:r}=e,i={pointerEvents:`none`,position:`absolute`,right:0,backgroundColor:`red`,height:2};switch(t){case-1:i.top=0,i.left=-n*r;break;case 1:i.bottom=0,i.left=-n*r;break;case 0:i.bottom=0,i.left=r;break}return C.createElement(`div`,{style:i})};function vge(e,t){let[n,r]=C.useState(!1);Vn(()=>{if(n)return e(),()=>{t()}},[n]),Vn(()=>(r(!0),()=>{r(!1)}),[])}function LI(){return LI=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:n,style:r,motion:i,motionNodes:a,motionType:o,onMotionStart:s,onMotionEnd:c,active:l,treeNodeRequiredProps:u,...d}=e,[f,p]=C.useState(!0),{prefixCls:m}=C.useContext(mI),h=a&&o!==`hide`;Vn(()=>{a&&h!==f&&p(h)},[a]);let g=()=>{a&&s()},_=C.useRef(!1),v=()=>{a&&!_.current&&(_.current=!0,c())};return vge(g,v),a?C.createElement(Lu,LI({ref:t,visible:f},i,{motionAppear:o===`show`,onVisibleChanged:e=>{h===e&&v()}}),({className:e,style:t},n)=>C.createElement(`div`,{ref:n,className:q(`${m}-treenode-motion`,e),style:t},a.map(e=>{let{data:{...t},title:n,key:r,isStart:i,isEnd:a}=e;delete t.children;let o=qA(r,u);return C.createElement(vI,LI({},t,o,{title:n,active:l,data:e.data,key:r,isStart:i,isEnd:a}))}))):C.createElement(vI,LI({domRef:t,className:n,style:r},d,{active:l}))});function bge(e=[],t=[]){let n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function i(e,t){let n=new Map;e.forEach(e=>{n.set(e,!0)});let r=t.filter(e=>!n.has(e));return r.length===1?r[0]:null}return ne.key===n)+1],i=t.findIndex(e=>e.key===n);if(r){let e=t.findIndex(e=>e.key===r.key);return t.slice(i+1,e)}return t.slice(i+1)}function zI(){return zI=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,data:r,selectable:i,checkable:a,expandedKeys:o,selectedKeys:s,checkedKeys:c,loadedKeys:l,loadingKeys:u,halfCheckedKeys:d,keyEntities:f,disabled:p,dragging:m,dragOverNodeKey:h,dropPosition:g,motion:_,height:v,itemHeight:y,virtual:b,scrollWidth:x,focusable:S,activeItem:w,tabIndex:T,onKeyDown:E,onFocus:D,onBlur:O,onMouseDown:k,onMouseUp:A,onActiveChange:j,onListChangeStart:M,onListChangeEnd:N,...P}=e,F=Bf(),I=C.useRef(null),L=C.useRef(null);C.useImperativeHandle(t,()=>({scrollTo:e=>{I.current.scrollTo(e)},getIndentWidth:()=>L.current.offsetWidth}));let[R,z]=C.useState(o),[B,V]=C.useState(r),[H,U]=C.useState(r),[W,ee]=C.useState([]),[te,ne]=C.useState(null),re=C.useRef(r);re.current=r;function ie(){let e=re.current;V(e),U(e),ee([]),ne(null),N()}Vn(()=>{z(o);let e=bge(R,o);if(e.key!==null)if(e.add){let t=B.findIndex(({key:t})=>t===e.key),n=WI(RI(B,r,e.key),b,v,y),i=B.slice();i.splice(t+1,0,UI),U(i),ee(n),ne(`show`)}else{let t=r.findIndex(({key:t})=>t===e.key),n=WI(RI(r,B,e.key),b,v,y),i=r.slice();i.splice(t+1,0,UI),U(i),ee(n),ne(`hide`)}else B!==r&&(V(r),U(r))},[o,r]),C.useEffect(()=>{m||ie()},[m]);let ae=_?H:r,G={expandedKeys:o,selectedKeys:s,loadedKeys:l,loadingKeys:u,checkedKeys:c,halfCheckedKeys:d,dragOverNodeKey:h,dropPosition:g,keyEntities:f};return C.createElement(C.Fragment,null,C.createElement(`div`,{className:`${n}-treenode`,"aria-hidden":!0,style:{position:`absolute`,pointerEvents:`none`,visibility:`hidden`,height:0,overflow:`hidden`,border:0,padding:0}},C.createElement(`div`,{className:`${n}-indent`},C.createElement(`div`,{ref:L,className:`${n}-indent-unit`}))),C.createElement(By,zI({},P,{data:ae,itemKey:GI,height:v,fullHeight:!1,virtual:b,itemHeight:y,scrollWidth:x,prefixCls:`${n}-list`,ref:I,role:`tree`,tabIndex:S!==!1&&!p?T:void 0,"aria-activedescendant":w?Rf(F,w.key):void 0,onKeyDown:E,onFocus:D,onBlur:O,onMouseDown:k,onMouseUp:A,onVisibleChange:e=>{e.every(e=>GI(e)!==BI)&&ie()}}),e=>{let{pos:t,data:{...n},title:r,key:i,isStart:a,isEnd:o}=e,s=VA(i,t);delete n.key,delete n.children;let c=qA(s,G);return C.createElement(yge,zI({},n,c,{title:r,active:!!w&&i===w.key,pos:t,data:e.data,isStart:a,isEnd:o,motion:_,motionNodes:i===BI?W:null,motionType:te,onMotionStart:M,onMotionEnd:ie,treeNodeRequiredProps:G,treeId:F,onMouseMove:()=>{j(null)}}))}))});function KI(){return KI=Object.assign?Object.assign.bind():function(e){for(var t=1;t!0,expandAction:!1};static TreeNode=vI;destroyed=!1;delayedDragEnterLogic;loadingRetryTimes={};state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],activeKey:null,listChanging:!1,prevProps:null,fieldNames:HA()};dragStartMousePosition=null;dragNodeProps=null;currentMouseOverDroppableNodeKey=null;focusedByMouse=!1;listRef=C.createRef();componentDidMount(){this.destroyed=!1,this.onUpdated()}componentDidUpdate(){this.onUpdated()}onUpdated(){let{activeKey:e,itemScrollOffset:t=0}=this.props;e!==void 0&&e!==this.state.activeKey&&(this.setState({activeKey:e}),e!==null&&this.scrollTo({key:e,offset:t}))}componentWillUnmount(){window.removeEventListener(`dragend`,this.onWindowDragEnd),this.destroyed=!0}static getDerivedStateFromProps(e,t){let{prevProps:n}=t,r={prevProps:e};function i(t){return!n&&e.hasOwnProperty(t)||n&&n[t]!==e[t]}let a,{fieldNames:o}=t;if(i(`fieldNames`)&&(o=HA(e.fieldNames),r.fieldNames=o),i(`treeData`)?{treeData:a}=e:i(`children`)&&(xr(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),a=UA(e.children)),a){r.treeData=a;let e=GA(a,{fieldNames:o});r.keyEntities={[BI]:HI,...e.keyEntities}}let s=r.keyEntities||t.keyEntities;if(i(`expandedKeys`)||n&&i(`autoExpandParent`))r.expandedKeys=e.autoExpandParent||!n&&e.defaultExpandParent?TI(e.expandedKeys,s):e.expandedKeys;else if(!n&&e.defaultExpandAll){let e={...s};delete e[BI];let t=[];Object.keys(e).forEach(n=>{let r=e[n];r.children&&r.children.length&&t.push(r.key)}),r.expandedKeys=t}else !n&&e.defaultExpandedKeys&&(r.expandedKeys=e.autoExpandParent||e.defaultExpandParent?TI(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(r.expandedKeys||delete r.expandedKeys,(a||r.expandedKeys)&&(r.flattenNodes=WA(a||t.treeData,r.expandedKeys||t.expandedKeys,o)),e.selectable&&(i(`selectedKeys`)?r.selectedKeys=CI(e.selectedKeys,e):!n&&e.defaultSelectedKeys&&(r.selectedKeys=CI(e.defaultSelectedKeys,e))),e.checkable){let o;if(i(`checkedKeys`)?o=wI(e.checkedKeys)||{}:!n&&e.defaultCheckedKeys?o=wI(e.defaultCheckedKeys)||{}:a&&(o=wI(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),o){let{checkedKeys:t=[],halfCheckedKeys:n=[]}=o;if(!e.checkStrictly){let e=XA(t,!0,s);({checkedKeys:t,halfCheckedKeys:n}=e)}r.checkedKeys=t,r.halfCheckedKeys=n}}return i(`loadedKeys`)&&(r.loadedKeys=e.loadedKeys),r}onNodeDragStart=(e,t)=>{let{expandedKeys:n,keyEntities:r}=this.state,{onDragStart:i}=this.props,{eventKey:a}=t;this.dragNodeProps=t,this.dragStartMousePosition={x:e.clientX,y:e.clientY};let o=yI(n,a);this.setState({draggingNodeKey:a,dragChildrenKeys:lge(a,r),indent:this.listRef.current.getIndentWidth()}),this.setExpandedKeys(o),window.addEventListener(`dragend`,this.onWindowDragEnd),i?.({event:e,node:JA(t)})};onNodeDragEnter=(e,t)=>{let{expandedKeys:n,keyEntities:r,dragChildrenKeys:i,flattenNodes:a,indent:o}=this.state,{onDragEnter:s,onExpand:c,allowDrop:l,direction:u}=this.props,{pos:d,eventKey:f}=t;if(this.currentMouseOverDroppableNodeKey!==f&&(this.currentMouseOverDroppableNodeKey=f),!this.dragNodeProps){this.resetDragState();return}let{dropPosition:p,dropLevelOffset:m,dropTargetKey:h,dropContainerKey:g,dropTargetPos:_,dropAllowed:v,dragOverNodeKey:y}=SI(e,this.dragNodeProps,t,o,this.dragStartMousePosition,l,a,r,n,u);if(i.includes(h)||!v){this.resetDragState();return}if(this.delayedDragEnterLogic||={},Object.keys(this.delayedDragEnterLogic).forEach(e=>{clearTimeout(this.delayedDragEnterLogic[e])}),this.dragNodeProps.eventKey!==t.eventKey&&(e.persist(),this.delayedDragEnterLogic[d]=window.setTimeout(()=>{if(this.state.draggingNodeKey===null)return;let i=[...n],a=zA(r,t.eventKey);a&&(a.children||[]).length&&(i=bI(n,t.eventKey)),this.props.hasOwnProperty(`expandedKeys`)||this.setExpandedKeys(i),c?.(i,{node:JA(t),expanded:!0,nativeEvent:e.nativeEvent})},800)),this.dragNodeProps.eventKey===h&&m===0){this.resetDragState();return}this.setState({dragOverNodeKey:y,dropPosition:p,dropLevelOffset:m,dropTargetKey:h,dropContainerKey:g,dropTargetPos:_,dropAllowed:v}),s?.({event:e,node:JA(t),expandedKeys:n})};onNodeDragOver=(e,t)=>{let{dragChildrenKeys:n,flattenNodes:r,keyEntities:i,expandedKeys:a,indent:o}=this.state,{onDragOver:s,allowDrop:c,direction:l}=this.props;if(!this.dragNodeProps)return;let{dropPosition:u,dropLevelOffset:d,dropTargetKey:f,dropContainerKey:p,dropTargetPos:m,dropAllowed:h,dragOverNodeKey:g}=SI(e,this.dragNodeProps,t,o,this.dragStartMousePosition,c,r,i,a,l);n.includes(f)||!h||(this.dragNodeProps.eventKey===f&&d===0?this.state.dropPosition===null&&this.state.dropLevelOffset===null&&this.state.dropTargetKey===null&&this.state.dropContainerKey===null&&this.state.dropTargetPos===null&&this.state.dropAllowed===!1&&this.state.dragOverNodeKey===null||this.resetDragState():u===this.state.dropPosition&&d===this.state.dropLevelOffset&&f===this.state.dropTargetKey&&p===this.state.dropContainerKey&&m===this.state.dropTargetPos&&h===this.state.dropAllowed&&g===this.state.dragOverNodeKey||this.setState({dropPosition:u,dropLevelOffset:d,dropTargetKey:f,dropContainerKey:p,dropTargetPos:m,dropAllowed:h,dragOverNodeKey:g}),s?.({event:e,node:JA(t)}))};onNodeDragLeave=(e,t)=>{this.currentMouseOverDroppableNodeKey===t.eventKey&&!e.currentTarget.contains(e.relatedTarget)&&(this.resetDragState(),this.currentMouseOverDroppableNodeKey=null);let{onDragLeave:n}=this.props;n?.({event:e,node:JA(t)})};onWindowDragEnd=e=>{this.onNodeDragEnd(e,null,!0),window.removeEventListener(`dragend`,this.onWindowDragEnd)};onNodeDragEnd=(e,t)=>{let{onDragEnd:n}=this.props;this.setState({dragOverNodeKey:null}),this.cleanDragState(),n?.({event:e,node:JA(t)}),this.dragNodeProps=null,window.removeEventListener(`dragend`,this.onWindowDragEnd)};onNodeDrop=(e,t,n=!1)=>{let{dragChildrenKeys:r,dropPosition:i,dropTargetKey:a,dropTargetPos:o,dropAllowed:s}=this.state;if(!s)return;let{onDrop:c}=this.props;if(this.setState({dragOverNodeKey:null}),this.cleanDragState(),a===null)return;let l={...qA(a,this.getTreeNodeRequiredProps()),active:this.getActiveItem()?.key===a,data:zA(this.state.keyEntities,a).node};xr(!r.includes(a),`Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.`);let u=xI(o),d={event:e,node:JA(l),dragNode:this.dragNodeProps?JA(this.dragNodeProps):null,dragNodesKeys:[this.dragNodeProps.eventKey].concat(r),dropToGap:i!==0,dropPosition:i+Number(u[u.length-1])};n||c?.(d),this.dragNodeProps=null};resetDragState(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}cleanDragState=()=>{let{draggingNodeKey:e}=this.state;e!==null&&this.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),this.dragStartMousePosition=null,this.currentMouseOverDroppableNodeKey=null};triggerExpandActionExpand=(e,t)=>{let{expandedKeys:n,flattenNodes:r}=this.state,{expanded:i,key:a,isLeaf:o}=t;if(o||e.shiftKey||e.metaKey||e.ctrlKey)return;let s=r.filter(e=>e.key===a)[0],c=JA({...qA(a,this.getTreeNodeRequiredProps()),data:s.data});this.setExpandedKeys(i?yI(n,a):bI(n,a)),this.onNodeExpand(e,c)};onNodeClick=(e,t)=>{let{onClick:n,expandAction:r}=this.props;r===`click`&&this.triggerExpandActionExpand(e,t),n?.(e,t)};onNodeDoubleClick=(e,t)=>{let{onDoubleClick:n,expandAction:r}=this.props;r===`doubleClick`&&this.triggerExpandActionExpand(e,t),n?.(e,t)};onNodeSelect=(e,t)=>{let{selectedKeys:n}=this.state,{keyEntities:r,fieldNames:i}=this.state,{onSelect:a,multiple:o}=this.props,{selected:s}=t,c=t[i.key],l=!s;n=l?o?bI(n,c):[c]:yI(n,c);let u=n.map(e=>{let t=zA(r,e);return t?t.node:null}).filter(Boolean);this.setUncontrolledState({selectedKeys:n}),a?.(n,{event:`select`,selected:l,node:t,selectedNodes:u,nativeEvent:e.nativeEvent})};onNodeCheck=(e,t,n)=>{let{keyEntities:r,checkedKeys:i,halfCheckedKeys:a}=this.state,{checkStrictly:o,onCheck:s}=this.props,{key:c}=t,l,u={event:`check`,node:t,checked:n,nativeEvent:e.nativeEvent};if(o){let e=n?bI(i,c):yI(i,c);l={checked:e,halfChecked:yI(a,c)},u.checkedNodes=e.map(e=>zA(r,e)).filter(Boolean).map(e=>e.node),this.setUncontrolledState({checkedKeys:e})}else{let{checkedKeys:e,halfCheckedKeys:t}=XA([...i,c],!0,r);if(!n){let n=new Set(e);n.delete(c),{checkedKeys:e,halfCheckedKeys:t}=XA(Array.from(n),{checked:!1,halfCheckedKeys:t},r)}l=e,u.checkedNodes=[],u.checkedNodesPositions=[],u.halfCheckedKeys=t,e.forEach(e=>{let t=zA(r,e);if(!t)return;let{node:n,pos:i}=t;u.checkedNodes.push(n),u.checkedNodesPositions.push({node:n,pos:i})}),this.setUncontrolledState({checkedKeys:e},!1,{halfCheckedKeys:t})}s?.(l,u)};onNodeLoad=e=>{let{key:t}=e,{keyEntities:n}=this.state;if(zA(n,t)?.children?.length)return;let r=new Promise((n,r)=>{this.setState(({loadedKeys:i=[],loadingKeys:a=[]})=>{let{loadData:o,onLoad:s}=this.props;return!o||i.includes(t)||a.includes(t)?null:(o(e).then(()=>{let{loadedKeys:r}=this.state,i=bI(r,t);s?.(i,{event:`load`,node:e}),this.setUncontrolledState({loadedKeys:i}),this.setState(e=>({loadingKeys:yI(e.loadingKeys,t)})),n()}).catch(e=>{if(this.setState(e=>({loadingKeys:yI(e.loadingKeys,t)})),this.loadingRetryTimes[t]=(this.loadingRetryTimes[t]||0)+1,this.loadingRetryTimes[t]>=Sge){let{loadedKeys:e}=this.state;xr(!1,"Retry for `loadData` many times but still failed. No more retry."),this.setUncontrolledState({loadedKeys:bI(e,t)}),n()}r(e)}),{loadingKeys:bI(a,t)})})});return r.catch(()=>{}),r};onNodeMouseEnter=(e,t)=>{let{onMouseEnter:n}=this.props;n?.({event:e,node:t})};onNodeMouseLeave=(e,t)=>{let{onMouseLeave:n}=this.props;n?.({event:e,node:t})};onNodeContextMenu=(e,t)=>{let{onRightClick:n}=this.props;n&&(e.preventDefault(),n({event:e,node:t}))};onMouseDown=e=>{this.focusedByMouse=!0;let{onMouseDown:t}=this.props;t?.(e)};onMouseUp=e=>{this.focusedByMouse=!1;let{onMouseUp:t}=this.props;t?.(e)};onFocus=(...e)=>{let{onFocus:t,disabled:n}=this.props,{activeKey:r,selectedKeys:i,flattenNodes:a}=this.state;if(!this.focusedByMouse&&!n&&r===null){let e=i.find(e=>a.some(t=>t.key===e));e===void 0?this.onActiveChange(a?.[0]?.key||null):this.onActiveChange(e)}t?.(...e)};onBlur=(...e)=>{this.focusedByMouse=!1;let{onBlur:t}=this.props;this.onActiveChange(null),t?.(...e)};getTreeNodeRequiredProps=()=>{let{expandedKeys:e,selectedKeys:t,loadedKeys:n,loadingKeys:r,checkedKeys:i,halfCheckedKeys:a,dragOverNodeKey:o,dropPosition:s,keyEntities:c}=this.state;return{expandedKeys:e||[],selectedKeys:t||[],loadedKeys:n||[],loadingKeys:r||[],checkedKeys:i||[],halfCheckedKeys:a||[],dragOverNodeKey:o,dropPosition:s,keyEntities:c}};setExpandedKeys=e=>{let{treeData:t,fieldNames:n}=this.state,r=WA(t,e,n);this.setUncontrolledState({expandedKeys:e,flattenNodes:r},!0)};onNodeExpand=(e,t)=>{let{expandedKeys:n}=this.state,{listChanging:r,fieldNames:i}=this.state,{onExpand:a,loadData:o}=this.props,{expanded:s}=t,c=t[i.key];if(r)return;let l=n.includes(c),u=!s;if(xr(s&&l||!s&&!l,`Expand state not sync with index check`),n=u?bI(n,c):yI(n,c),this.setExpandedKeys(n),a?.(n,{node:t,expanded:u,nativeEvent:e.nativeEvent}),u&&o){let e=this.onNodeLoad(t);e&&e.then(()=>{let e=WA(this.state.treeData,n,i);this.setUncontrolledState({flattenNodes:e})}).catch(()=>{let{expandedKeys:e}=this.state,t=yI(e,c);this.setExpandedKeys(t)})}};onListChangeStart=()=>{this.setUncontrolledState({listChanging:!0})};onListChangeEnd=()=>{setTimeout(()=>{this.setUncontrolledState({listChanging:!1})})};onActiveChange=e=>{let{activeKey:t}=this.state,{onActiveChange:n,itemScrollOffset:r=0}=this.props;t!==e&&(this.setState({activeKey:e}),e!==null&&this.scrollTo({key:e,offset:r}),n?.(e))};getActiveItem=()=>{let{activeKey:e,flattenNodes:t}=this.state;return e===null?null:t.find(({key:t})=>t===e)||null};offsetActiveKey=e=>{let{flattenNodes:t,activeKey:n}=this.state,r=t.findIndex(({key:e})=>e===n);r===-1&&e<0&&(r=t.length),r=(r+e+t.length)%t.length;let i=t[r];if(i){let{key:e}=i;this.onActiveChange(e)}else this.onActiveChange(null)};onKeyDown=e=>{let{activeKey:t,expandedKeys:n,checkedKeys:r,flattenNodes:i,keyEntities:a}=this.state,{onKeyDown:o,checkable:s,selectable:c,disabled:l,loadData:u}=this.props;if(l)return;switch(e.key){case`ArrowUp`:this.offsetActiveKey(-1),e.preventDefault();break;case`ArrowDown`:this.offsetActiveKey(1),e.preventDefault();break;case`Home`:this.onActiveChange(i?.[0]?.key),e.preventDefault();break;case`End`:this.onActiveChange(i?.[i.length-1]?.key),e.preventDefault();break}let d=this.getActiveItem();if(d&&d.data){let i=JA({...qA(t,this.getTreeNodeRequiredProps()),data:d.data,active:!0}),o=!!zA(a,t)?.children?.length,l=!KA(d.data.isLeaf,u,o,i.loaded),f=s&&!i.disabled&&i.checkable!==!1&&!i.disableCheckbox,p=!s&&c&&!i.disabled&&i.selectable!==!1;switch(e.key){case`ArrowLeft`:l&&n.includes(t)?this.onNodeExpand({},i):d.parent&&this.onActiveChange(d.parent.key),e.preventDefault();break;case`ArrowRight`:l&&!n.includes(t)?this.onNodeExpand({},i):d.children&&d.children.length&&this.onActiveChange(d.children[0].key),e.preventDefault();break;case`Enter`:l?(e.preventDefault(),this.onNodeExpand({},i)):f?r.includes(t)||(e.preventDefault(),this.onNodeCheck({},i,!0)):p&&!i.selected&&(e.preventDefault(),this.onNodeSelect({},i));break;case` `:f?(e.preventDefault(),this.onNodeCheck({},i,!r.includes(t))):p&&(e.preventDefault(),this.onNodeSelect({},i));break}}o?.(e)};setUncontrolledState=(e,t=!1,n=null)=>{if(!this.destroyed){let r=!1,i=!0,a={};Object.keys(e).forEach(t=>{if(this.props.hasOwnProperty(t)){i=!1;return}r=!0,a[t]=e[t]}),r&&(!t||i)&&this.setState({...a,...n})}};scrollTo=e=>{this.listRef.current.scrollTo(e)};render(){let{flattenNodes:e,keyEntities:t,draggingNodeKey:n,dropLevelOffset:r,dropContainerKey:i,dropTargetKey:a,dropPosition:o,dragOverNodeKey:s,indent:c}=this.state,{prefixCls:l,className:u,style:d,styles:f,classNames:p,showLine:m,focusable:h,tabIndex:g=0,selectable:_,showIcon:v,icon:y,switcherIcon:b,draggable:x,checkable:S,checkStrictly:w,disabled:T,motion:E,loadData:D,filterTreeNode:O,height:k,itemHeight:A,scrollWidth:j,virtual:M,titleRender:N,dropIndicatorRender:P,onContextMenu:F,onScroll:I,direction:L,rootClassName:R,rootStyle:z}=this.props,B=Hu(this.props,{aria:!0,data:!0}),V;x&&(V=typeof x==`object`?x:typeof x==`function`?{nodeDraggable:x}:{});let H={styles:f,classNames:p,prefixCls:l,selectable:_,showIcon:v,icon:y,switcherIcon:b,draggable:V,draggingNodeKey:n,checkable:S,checkStrictly:w,disabled:T,keyEntities:t,dropLevelOffset:r,dropContainerKey:i,dropTargetKey:a,dropPosition:o,dragOverNodeKey:s,indent:c,direction:L,dropIndicatorRender:P,loadData:D,filterTreeNode:O,titleRender:N,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return C.createElement(mI.Provider,{value:H},C.createElement(`div`,{className:q(l,u,R,{[`${l}-show-line`]:m}),style:z},C.createElement(xge,KI({ref:this.listRef,prefixCls:l,style:d,data:e,disabled:T,selectable:_,checkable:!!S,motion:E,dragging:n!==null,height:k,itemHeight:A,virtual:M,focusable:h,tabIndex:g,activeItem:this.getActiveItem(),onFocus:this.onFocus,onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:F,onScroll:I,scrollWidth:j},this.getTreeNodeRequiredProps(),B))))}},wge={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z`}}]},name:`file`,theme:`outlined`};function qI(){return qI=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,qI({},e,{ref:t,icon:wge}))),Tge={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z`}}]},name:`folder-open`,theme:`outlined`};function YI(){return YI=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YI({},e,{ref:t,icon:Tge}))),Ege={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z`}}]},name:`folder`,theme:`outlined`};function ZI(){return ZI=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,ZI({},e,{ref:t,icon:Ege}))),Dge={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z`}}]},name:`holder`,theme:`outlined`};function $I(){return $I=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$I({},e,{ref:t,icon:Dge}))),Oge=({treeCls:e,treeNodeCls:t,directoryNodeSelectedBg:n,directoryNodeSelectedColor:r,motionDurationMid:i,borderRadius:a,controlItemBgHover:o})=>({[`${e}${e}-directory ${t}`]:{[`${e}-node-content-wrapper`]:{position:`static`,[`&:has(${e}-drop-indicator)`]:{position:`relative`},[`> *:not(${e}-drop-indicator)`]:{position:`relative`},"&:hover":{background:`transparent`},"&:before":{position:`absolute`,inset:0,transition:`background-color ${i}`,content:`""`,borderRadius:a},"&:hover:before":{background:o}},[`${e}-switcher, ${e}-checkbox, ${e}-draggable-icon`]:{zIndex:1},"&-selected":{background:n,borderRadius:a,[`${e}-switcher, ${e}-draggable-icon`]:{color:r},[`${e}-node-content-wrapper`]:{color:r,background:`transparent`,"&, &:hover":{color:r},"&:before, &:hover:before":{background:n}}}}}),kge=new Ro(`ant-tree-node-fx-do-not-use`,{"0%":{opacity:0},"100%":{opacity:1}}),Age=(e,t)=>({[`.${e}-switcher-icon`]:{display:`inline-block`,fontSize:10,verticalAlign:`baseline`,svg:{transition:`transform ${t.motionDurationSlow}`}}}),jge=(e,t)=>({[`.${e}-drop-indicator`]:{position:`absolute`,zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:`none`,"&:after":{position:`absolute`,top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:`transparent`,border:`${J(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:`50%`,content:`""`}}}),Mge=(e,t)=>{let{treeCls:n,treeNodeCls:r,treeNodePadding:i,titleHeight:a,indentSize:o,switcherSize:s,motionDurationMid:c,nodeSelectedBg:l,nodeHoverBg:u,colorTextQuaternary:d,controlItemBgActiveDisabled:f}=t;return{[n]:{...Yc(t),"--rc-virtual-list-scrollbar-bg":t.colorSplit,background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,"&-rtl":{direction:`rtl`},[`&${n}-rtl ${n}-switcher_close ${n}-switcher-icon svg`]:{transform:`rotate(90deg)`},[`${n}-list`]:{"&:focus-visible":{outline:`none`,[`${r}-active ${n}-node-content-wrapper`]:{...Qc(t)}}},[`${n}-list-holder-inner`]:{alignItems:`flex-start`},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:`stretch`,[`${n}-node-content-wrapper`]:{flex:`auto`},[`${r}.dragging:after`]:{position:`absolute`,inset:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:kge,animationDuration:t.motionDurationSlow,animationPlayState:`running`,animationFillMode:`forwards`,content:`""`,pointerEvents:`none`,borderRadius:t.borderRadius}}},[r]:{display:`flex`,alignItems:`flex-start`,marginBottom:i,lineHeight:J(a),position:`relative`,"&:before":{content:`""`,position:`absolute`,zIndex:1,insetInlineStart:0,width:`100%`,top:`100%`,height:i},[`&-disabled ${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:`not-allowed`,"&:hover":{background:`transparent`}},[`${n}-checkbox-disabled + ${n}-node-selected,&${r}-disabled${r}-selected ${n}-node-content-wrapper`]:{backgroundColor:f},[`${n}-checkbox-disabled`]:{pointerEvents:`unset`},[`&:not(${r}-disabled)`]:{[`${n}-node-content-wrapper`]:{"&:hover":{color:t.nodeHoverColor}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:t.fontWeightStrong},"&-draggable":{cursor:`grab`,[`${n}-draggable-icon`]:{flexShrink:0,width:s,textAlign:`center`,visibility:`visible`,color:d},[`&${r}-disabled ${n}-draggable-icon`]:{visibility:`hidden`}}},[`${n}-indent`]:{alignSelf:`stretch`,whiteSpace:`nowrap`,userSelect:`none`,"&-unit":{display:`inline-block`,width:o}},[`${n}-draggable-icon`]:{visibility:`hidden`},[`${n}-switcher, ${n}-checkbox`]:{marginInlineEnd:t.calc(t.calc(s).sub(t.controlInteractiveSize)).div(2).equal()},[`${n}-checkbox`]:{flexShrink:0,alignSelf:`flex-start`,marginBlockStart:t.calc(t.calc(a).sub(t.controlInteractiveSize)).div(2).equal()},[`${n}-switcher`]:{...Age(e,t),position:`relative`,flex:`none`,alignSelf:`stretch`,width:s,textAlign:`center`,cursor:`pointer`,userSelect:`none`,transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:`unset`},"&:before":{pointerEvents:`none`,content:`""`,width:s,height:a,position:`absolute`,left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},[`&_close ${n}-switcher-icon svg`]:{transform:`rotate(-90deg)`},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:`relative`,zIndex:1,display:`inline-block`,width:`100%`,height:`100%`,"&:before":{position:`absolute`,top:0,insetInlineEnd:t.calc(s).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:`""`},"&:after":{position:`absolute`,width:t.calc(t.calc(s).div(2).equal()).mul(.8).equal(),height:t.calc(a).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:`""`}}},[`${n}-node-content-wrapper`]:{position:`relative`,minHeight:a,paddingBlock:0,paddingInline:t.paddingXS,background:`transparent`,borderRadius:t.borderRadius,cursor:`pointer`,transition:[`all ${c}`,`border 0s`,`line-height 0s`,`box-shadow 0s`].join(`, `),...jge(e,t),"&:hover":{backgroundColor:u},[`&${n}-node-selected`]:{color:t.nodeSelectedColor,backgroundColor:l},[`${n}-iconEle`]:{display:`inline-block`,width:s,height:a,textAlign:`center`,verticalAlign:`top`,"&:empty":{display:`none`}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:`transparent`},[`${r}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${t.colorPrimary}`},"&-show-line":{[`${n}-indent-unit`]:{position:`relative`,height:`100%`,"&:before":{position:`absolute`,top:0,insetInlineEnd:t.calc(s).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:`""`},"&-end:before":{display:`none`}},[`${n}-switcher`]:{background:`transparent`,"&-line-icon":{verticalAlign:`-0.15em`}}},[`${r}-leaf-last ${n}-switcher-leaf-line:before`]:{top:`auto !important`,bottom:`auto !important`,height:`${J(t.calc(a).div(2).equal())} !important`}}}},Nge=(e,t,n=!0)=>{let r=`.${e}`,i=_s(t,{treeCls:r,treeNodeCls:`${r}-treenode`,treeNodePadding:t.calc(t.paddingXS).div(2).equal()});return[Mge(e,i),n&&Oge(i)].filter(Boolean)},Pge=e=>{let{controlHeightSM:t,controlItemBgHover:n,controlItemBgActive:r}=e,i=t;return{titleHeight:i,switcherSize:i,indentSize:i,nodeHoverBg:n,nodeHoverColor:e.colorText,nodeSelectedBg:r,nodeSelectedColor:e.colorText}},Fge=il(`Tree`,(e,{prefixCls:t})=>[{[e.componentCls]:ZA(`${t}-checkbox`,e)},Nge(t,e),Xm(e)],e=>{let{colorTextLightSolid:t,colorPrimary:n}=e;return{...Pge(e),directoryNodeSelectedColor:t,directoryNodeSelectedBg:n}}),Ige=e=>{let{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:i,direction:a=`ltr`}=e,o=a===`ltr`?`left`:`right`,s=a===`ltr`?`right`:`left`,c={[o]:-n*i+4,[s]:0};switch(t){case-1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[o]=i+4;break}return C.createElement(`div`,{style:c,className:`${r}-drop-indicator`})},Lge={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z`}}]},name:`caret-down`,theme:`filled`};function tL(){return tL=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tL({},e,{ref:t,icon:Lge}))),Rge={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`minus-square`,theme:`outlined`};function rL(){return rL=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,rL({},e,{ref:t,icon:Rge}))),zge={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`plus-square`,theme:`outlined`};function aL(){return aL=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,aL({},e,{ref:t,icon:zge}))),Bge=e=>{let{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:i,switcherLoadingIcon:a}=e,{isLeaf:o,expanded:s,loading:c}=r;if(c)return C.isValidElement(a)?a:C.createElement(dm,{className:`${t}-switcher-loading-icon`});let l;if(gd(i)&&(l=i.showLeafIcon),o){if(!i)return null;if(typeof l!=`boolean`&&l){let e=typeof l==`function`?l(r):l,n=`${t}-switcher-line-custom-icon`;return C.isValidElement(e)?Fp(e,{className:q(e.props?.className,n)}):e}return l?C.createElement(JI,{className:`${t}-switcher-line-icon`}):C.createElement(`span`,{className:`${t}-switcher-leaf-line`})}let u=`${t}-switcher-icon`,d=typeof n==`function`?n(r):n;return C.isValidElement(d)?Fp(d,{className:q(d.props?.className,i?`${t}-switcher-line-icon`:u)}):d===void 0?i?s?C.createElement(iL,{className:`${t}-switcher-line-icon`}):C.createElement(oL,{className:`${t}-switcher-line-icon`}):C.createElement(nL,{className:u}):d},sL=C.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r,className:i,style:a,classNames:o,styles:s}=ui(`tree`),{virtual:c}=C.useContext(si),{prefixCls:l,className:u,showIcon:d=!1,showLine:f,switcherIcon:p,switcherLoadingIcon:m,blockNode:h=!1,children:g,checkable:_=!1,selectable:v=!0,draggable:y,disabled:b,motion:x,style:S,rootClassName:w,classNames:T,styles:E,icon:D}=e,O=C.useContext(Bp),k=b??O,A=n(`tree`,l),j=n(),M=x??{...Om(j),motionAppear:!1},N={...e,showIcon:d,blockNode:h,checkable:_,selectable:v,disabled:k,motion:M},[P,F]=Id([o,T],[s,E],{props:N}),I={...N,showLine:!!f,icon:D,dropIndicatorRender:Ige},[L,R]=Fge(A),[,z]=qc(),B=z.paddingXS/2+(z.Tree?.titleHeight||z.controlHeightSM),V=C.useMemo(()=>{if(!y)return!1;let e={};switch(typeof y){case`function`:e.nodeDraggable=y;break;case`object`:e={...y};break;default:break}return e.icon!==!1&&(e.icon=e.icon||C.createElement(eL,null)),e},[y]),H=e=>C.createElement(Bge,{prefixCls:A,switcherIcon:p,switcherLoadingIcon:m,treeNodeProps:e,showLine:f});return C.createElement(Cge,{itemHeight:B,ref:t,virtual:c,...I,prefixCls:A,className:q({[`${A}-icon-hide`]:!d,[`${A}-block-node`]:h,[`${A}-unselectable`]:!v,[`${A}-rtl`]:r===`rtl`,[`${A}-disabled`]:k},i,u,L,R),style:{...a,...S},rootClassName:q(P.root,w),rootStyle:F.root,classNames:P,styles:F,direction:r,checkable:_&&C.createElement(`span`,{className:`${A}-checkbox-inner`}),selectable:v,switcherIcon:H,draggable:V},g)}),cL=0,lL=1,uL=2;function dL(e,t,n){let{key:r,children:i}=n;function a(e){let a=e[r],o=e[i];t(a,e)!==!1&&dL(o||[],t,n)}e.forEach(a)}function Vge({treeData:e,expandedKeys:t,startKey:n,endKey:r,fieldNames:i}){let a=[],o=cL;if(n&&n===r)return[n];if(!n||!r)return[];function s(e){return e===n||e===r}return dL(e,e=>{if(o===uL)return!1;if(s(e)){if(a.push(e),o===cL)o=lL;else if(o===lL)return o=uL,!1}else o===lL&&a.push(e);return t.includes(e)},HA(i)),a}function fL(e,t,n){let r=Qr(t),i=[];return dL(e,(e,t)=>{let n=r.indexOf(e);return n!==-1&&(i.push(t),r.splice(n,1)),!!r.length},HA(n)),i}function Hge(e){let{isLeaf:t,expanded:n}=e;return t?C.createElement(JI,null):n?C.createElement(XI,null):C.createElement(QI,null)}function pL({treeData:e,children:t}){return e||UA(t)}var Uge=C.forwardRef((e,t)=>{let{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:i,...a}=e,o=C.useRef(null),s=C.useRef(null),c=()=>{let{keyEntities:e}=GA(pL(a),{fieldNames:a.fieldNames}),t,o=a.expandedKeys||i||[];return t=n?Object.keys(e):r?TI(o,e):o,t},[l,u]=C.useState(a.selectedKeys||a.defaultSelectedKeys||[]),[d,f]=C.useState(()=>c());C.useEffect(()=>{`selectedKeys`in a&&u(a.selectedKeys)},[a.selectedKeys]),C.useEffect(()=>{`expandedKeys`in a&&f(a.expandedKeys)},[a.expandedKeys]);let p=(e,t)=>(`expandedKeys`in a||f(e),a.onExpand?.(e,t)),m=(e,t)=>{let{multiple:n,fieldNames:r}=a,{node:i,nativeEvent:c}=t,{key:l=``}=i,f=pL(a),p={...t,selected:!0},m=c?.ctrlKey||c?.metaKey,h=c?.shiftKey,g;n&&m?(g=e,o.current=l,s.current=g,p.selectedNodes=fL(f,g,r)):n&&h?(g=Array.from(new Set([].concat(Qr(s.current||[]),Qr(Vge({treeData:f,expandedKeys:d,startKey:l,endKey:o.current,fieldNames:r}))))),p.selectedNodes=fL(f,g,r)):(g=[l],o.current=l,s.current=g,p.selectedNodes=fL(f,g,r)),a.onSelect?.(g,p),`selectedKeys`in a||u(g)},{getPrefixCls:h,direction:g}=C.useContext(si),{prefixCls:_,className:v,showIcon:y=!0,expandAction:b=`click`,...x}=a,S=h(`tree`,_),w=q(`${S}-directory`,{[`${S}-directory-rtl`]:g===`rtl`},v);return C.createElement(sL,{icon:Hge,ref:t,blockNode:!0,...x,showIcon:y,expandAction:b,prefixCls:S,className:w,expandedKeys:d,selectedKeys:l,onSelect:m,onExpand:p})}),mL=sL;mL.DirectoryTree=Uge,mL.TreeNode=vI;var hL=e=>{let{value:t,filterSearch:n,tablePrefixCls:r,locale:i,onChange:a}=e;return n?C.createElement(`div`,{className:`${r}-filter-dropdown-search`},C.createElement(Bj,{prefix:C.createElement(Cb,null),placeholder:i.filterSearchPlaceholder,onChange:a,value:t,htmlSize:1,className:`${r}-filter-dropdown-search-input`})):null},Wge=e=>{let{keyCode:t}=e;t===Qp.ENTER&&e.stopPropagation()},Gge=C.forwardRef((e,t)=>C.createElement(`div`,{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:Wge,ref:t},e.children));function gL(e){let t=[];return(e||[]).forEach(({value:e,children:n})=>{t.push(e),n&&(t=[].concat(Qr(t),Qr(gL(n))))}),t}function Kge(e){return e.some(({children:e})=>e)}var _L=(e,t)=>typeof t==`string`||md(t)?t.toString().toLowerCase().includes(e):!1,vL=e=>{let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:a,normalizedSearchValue:o,filterSearch:s}=e;return t.map((e,t)=>{let c=String(e.value);if(e.children)return{key:c||t,label:e.text,popupClassName:`${n}-dropdown-submenu`,children:vL({filters:e.children,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:a,normalizedSearchValue:o,filterSearch:s})};let l=i?tj:Vk,u={key:e.value===void 0?t:c,label:C.createElement(C.Fragment,null,C.createElement(l,{checked:r.includes(c)}),C.createElement(`span`,null,e.text))};return o?typeof s==`function`?s(o,e)?u:null:_L(o,e.text)?u:null:u})};function yL(e){return e||[]}var qge=e=>{let{tablePrefixCls:t,prefixCls:n,column:r,dropdownPrefixCls:i,columnKey:a,filterOnClose:o,filterMultiple:s,filterMode:c=`menu`,filterSearch:l=!1,filterState:u,triggerFilter:d,locale:f,children:p,getPopupContainer:m,rootClassName:h}=e,{filterResetToDefaultFilteredValue:g,defaultFilteredValue:_,filterDropdownProps:v={},filterDropdownOpen:y,onFilterDropdownOpenChange:b}=r,[x,S]=C.useState(!1),w=C.useContext(Xb),T=!!(u&&(u.filteredKeys?.length||u.forceFiltered)),E=e=>{S(e),v.onOpenChange?.(e),b?.(e)},D=v.open??y??x,O=u?.filteredKeys,[k,A]=Ud(yL(O)),j=({selectedKeys:e})=>{A(e)},M=(e,{node:t,checked:n})=>{j(s?{selectedKeys:e}:{selectedKeys:n&&t.key?[t.key]:[]})};C.useEffect(()=>{x&&j({selectedKeys:yL(O)})},[O]);let[N,P]=C.useState([]),F=e=>{P(e)},[I,L]=C.useState(``),R=C.useMemo(()=>I.trim().toLowerCase(),[I]),z=e=>{let{value:t}=e.target;L(t)};C.useEffect(()=>{x||L(``)},[x]);let B=e=>{let t=e?.length?e:null;if(t===null&&(!u||!u.filteredKeys)||Ei(t,u?.filteredKeys,!0))return null;d({column:r,key:a,filteredKeys:t})},V=()=>{E(!1),B(k())},H=({confirm:e,closeDropdown:t}={confirm:!1,closeDropdown:!1})=>{e&&B([]),t&&E(!1),L(``),A(g?(_||[]).map(String):[])},U=({closeDropdown:e}={closeDropdown:!0})=>{e&&E(!1),B(k())},W=(e,t)=>{t.source===`trigger`&&(e&&O!==void 0&&A(yL(O)),E(e),!e&&!r.filterDropdown&&o&&V())},ee=q({[`${i}-menu-without-submenu`]:!Kge(r.filters||[])}),te=e=>{e.target.checked?A(gL(r?.filters).map(String)):A([])},ne=({filters:e})=>(e||[]).map((e,t)=>{let n=String(e.value),r={title:e.text,key:e.value===void 0?String(t):n};return e.children&&(r.children=ne({filters:e.children})),r}),re=e=>({...e,text:e.title,value:e.key,children:e.children?.map(re)||[]}),ie,{direction:ae,renderEmpty:G}=C.useContext(si);if(typeof r.filterDropdown==`function`)ie=r.filterDropdown({prefixCls:`${i}-custom`,setSelectedKeys:e=>j({selectedKeys:e}),selectedKeys:k(),confirm:U,clearFilters:H,filters:r.filters,visible:D,close:()=>{E(!1)}});else if(r.filterDropdown)ie=r.filterDropdown;else{let e=k()||[];ie=C.createElement(C.Fragment,null,(()=>{let a=G?.(`Table.filter`)??C.createElement(Qy,{image:Qy.PRESENTED_IMAGE_SIMPLE,description:f.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:`16px 0`}});if((r.filters||[]).length===0)return a;if(c===`tree`)return C.createElement(C.Fragment,null,C.createElement(hL,{filterSearch:l,value:I,onChange:z,tablePrefixCls:t,locale:f}),C.createElement(`div`,{className:`${t}-filter-dropdown-tree`},s?C.createElement(tj,{checked:e.length===gL(r.filters).length,indeterminate:e.length>0&&e.lengthtypeof l==`function`?l(I,re(e)):_L(R,e.title):void 0})));let o=vL({filters:r.filters||[],filterSearch:l,prefixCls:n,filteredKeys:k(),filterMultiple:s,searchValue:I,normalizedSearchValue:R}),u=o.every(e=>e===null);return C.createElement(C.Fragment,null,C.createElement(hL,{filterSearch:l,value:I,onChange:z,tablePrefixCls:t,locale:f}),u?a:C.createElement(nC,{selectable:!0,multiple:s,prefixCls:`${i}-menu`,className:ee,onSelect:j,onDeselect:j,selectedKeys:e,getPopupContainer:m,openKeys:N,onOpenChange:F,items:o}))})(),C.createElement(`div`,{className:`${n}-dropdown-btns`},C.createElement(ng,{type:`link`,size:`small`,disabled:g?Ei((_||[]).map(String),e,!0):e.length===0,onClick:()=>H()},f.filterReset),C.createElement(ng,{type:`primary`,size:`small`,onClick:V},f.filterConfirm)))}r.filterDropdown&&(ie=C.createElement(BS,{selectable:void 0},ie)),ie=C.createElement(Gge,{className:`${n}-dropdown`},ie);let oe=(()=>{let e;return e=typeof r.filterIcon==`function`?r.filterIcon(T):r.filterIcon?r.filterIcon:C.createElement(II,null),C.createElement(`span`,{role:`button`,tabIndex:-1,className:q(`${n}-trigger`,{active:T}),onClick:e=>{e.stopPropagation()}},e)})();if(w)return C.createElement(`div`,{className:`${n}-column`},C.createElement(`span`,{className:`${t}-column-title`},p),oe);let K=fd({trigger:[`click`],placement:ae===`rtl`?`bottomLeft`:`bottomRight`,children:oe,getPopupContainer:m},{...v,rootClassName:q(h,v.rootClassName),open:D,onOpenChange:W,popupRender:()=>typeof v?.dropdownRender==`function`?v.dropdownRender(ie):ie});return C.createElement(`div`,{className:`${n}-column`},C.createElement(`span`,{className:`${t}-column-title`},p),C.createElement(FM,{...K}))},bL=(e,t,n)=>{let r=[];return(e||[]).forEach((e,i)=>{let a=NI(i,n),o=e.filterDropdown!==void 0;if(e.filters||o||`onFilter`in e)if(`filteredValue`in e){let t=e.filteredValue;o||(t=t?.map(String)??t),r.push({column:e,key:MI(e,a),filteredKeys:t,forceFiltered:e.filtered})}else r.push({column:e,key:MI(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered});`children`in e&&(r=[].concat(Qr(r),Qr(bL(e.children,t,a))))}),r};function xL(e,t,n,r,i,a,o,s,c){return n.map((n,l)=>{let u=NI(l,s),{filterOnClose:d=!0,filterMultiple:f=!0,filterMode:p,filterSearch:m}=n,h=n;if(h.filters||h.filterDropdown){let s=MI(h,u),l=r.find(({key:e})=>s===e);h={...h,title:r=>C.createElement(qge,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:h,columnKey:s,filterState:l,filterOnClose:d,filterMultiple:f,filterMode:p,filterSearch:m,triggerFilter:a,locale:i,getPopupContainer:o,rootClassName:c},PI(n.title,r))}}return`children`in h&&(h={...h,children:xL(e,t,h.children,r,i,a,o,u,c)}),h})}var SL=e=>{let t={};return e.forEach(({key:e,filteredKeys:n,column:r})=>{let i=e,{filters:a,filterDropdown:o}=r;o?t[i]=n||null:Array.isArray(n)?t[i]=gL(a).filter(e=>n.includes(String(e))):t[i]=null}),t},CL=(e,t,n)=>t.reduce((e,r)=>{let{column:{onFilter:i,filters:a},filteredKeys:o}=r;if(i&&o&&o.length){let r=gL(a),s=new Map;r.forEach(e=>{let t=String(e);s.has(t)||s.set(t,e)});let c=o.map(e=>{let t=String(e);return s.get(t)??e});return(e=>e.reduce((e,r)=>{let a={...r};return a[n]&&(a[n]=CL(a[n],t,n)),c.some(e=>i(e,a))&&e.push(a),e},[]))(e)}return e},e),wL=e=>e.flatMap(e=>`children`in e?[e].concat(Qr(wL(e.children||[]))):[e]),Jge=e=>{let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:i,getPopupContainer:a,locale:o,rootClassName:s}=e;Or(`Table`);let c=C.useMemo(()=>wL(r||[]),[r]),[l,u]=C.useState(()=>bL(c,!0)),d=C.useMemo(()=>{let e=bL(c,!1);if(e.length===0)return e;let t=!0;if(e.forEach(({filteredKeys:e})=>{e!==void 0&&(t=!1)}),t){let e=(c||[]).map((e,t)=>MI(e,NI(t)));return l.filter(({key:t})=>e.includes(t)).map(t=>{let n=c[e.indexOf(t.key)];return{...t,column:{...t.column,...n},forceFiltered:n.filtered}})}return e},[c,l]),f=C.useMemo(()=>SL(d),[d]),p=e=>{let t=d.filter(({key:t})=>t!==e.key);t.push(e),u(t),i(SL(t),t)};return[e=>xL(t,n,e,d,o,p,a,void 0,s),d,f]},Yge=(e,t,n)=>{let r=C.useRef({});function i(i){if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let i=new Map;function a(e){e.forEach((e,r)=>{let o=n(e,r);i.set(o,e),gd(e)&&t in e&&a(e[t]||[])})}a(e),r.current={data:e,childrenColumnName:t,kvMap:i,getRowKey:n}}return r.current.kvMap?.get(i)}return[i]};function Xge(e,t){let n={current:e.current,pageSize:e.pageSize},r=gd(t)?t:{};return Object.keys(r).forEach(t=>{let r=e[t];typeof r!=`function`&&(n[t]=r)}),n}function TL(e,t,n){let{total:r=0,...i}=gd(n)?n:{},[a,o]=(0,C.useState)(()=>({current:`defaultCurrent`in i?i.defaultCurrent:1,pageSize:`defaultPageSize`in i?i.defaultPageSize:10})),s=fd(a,i,{total:r>0?r:e}),c=Math.ceil((r||e)/s.pageSize);s.current>c&&(s.current=c||1);let l=(e,t)=>{o({current:e??1,pageSize:t||s.pageSize})},u=(e,r)=>{n&&n.onChange?.(e,r),l(e,r),t(e,r||s?.pageSize)};return n===!1?[{},()=>{}]:[{...s,onChange:u},l]}var EL={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z`}}]},name:`caret-down`,theme:`outlined`};function DL(){return DL=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,DL({},e,{ref:t,icon:EL}))),kL={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z`}}]},name:`caret-up`,theme:`outlined`};function AL(){return AL=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,AL({},e,{ref:t,icon:kL}))),ML=`ascend`,NL=`descend`,PL=e=>e.sorter&&typeof e.sorter==`object`&&md(e.sorter.multiple)?e.sorter.multiple:!1,FL=e=>typeof e==`function`?e:gd(e)&&e.compare?e.compare:!1,IL=(e,t)=>t?e[e.indexOf(t)+1]:e[0],LL=(e,t,n)=>{let r=[],i=(e,t)=>{r.push({column:e,key:MI(e,t),multiplePriority:PL(e),sortOrder:e.sortOrder})};return(e||[]).forEach((e,a)=>{let o=NI(a,n);e.children?(`sortOrder`in e&&i(e,o),r=[].concat(Qr(r),Qr(LL(e.children,t,o)))):e.sorter&&(`sortOrder`in e?i(e,o):t&&e.defaultSortOrder&&r.push({column:e,key:MI(e,o),multiplePriority:PL(e),sortOrder:e.defaultSortOrder}))}),r},RL=(e,t,n,r,i,a,o,s,c)=>(t||[]).map((t,l)=>{let u=NI(l,s),d=t;if(d.sorter){let s=d.sortDirections||i,l=d.showSorterTooltip===void 0?o:d.showSorterTooltip,f=MI(d,u),p=n.find(({key:e})=>e===f),m=p?p.sortOrder:null,h=IL(s,m),g;if(t.sortIcon)g=t.sortIcon({sortOrder:m});else{let t=s.includes(ML)&&C.createElement(jL,{className:q(`${e}-column-sorter-up`,{active:m===ML})}),n=s.includes(NL)&&C.createElement(OL,{className:q(`${e}-column-sorter-down`,{active:m===NL})});g=C.createElement(`span`,{className:q(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(t&&n)})},C.createElement(`span`,{className:`${e}-column-sorter-inner`,"aria-hidden":`true`},t,n))}let{cancelSort:_,triggerAsc:v,triggerDesc:y}=a||{},b=_;h===NL?b=y:h===ML&&(b=v);let x=gd(l)?{title:b,...l}:{title:b};d={...d,className:q(d.className,{[`${e}-column-sort`]:m}),title:n=>{let r=`${e}-column-sorters`,i=C.createElement(`span`,{className:`${e}-column-title`},PI(t.title,n)),a=C.createElement(`div`,{className:r},i,g);return l?typeof l!=`boolean`&&l?.target===`sorter-icon`?C.createElement(`div`,{className:q(r,`${r}-tooltip-target-sorter`)},i,C.createElement(nx,{...x},g)):C.createElement(nx,{...x},a):a},onHeaderCell:n=>{let i=t.onHeaderCell?.(n)||{},a=i.onClick,o=i.onKeyDown;i.onClick=e=>{r({column:t,key:f,sortOrder:h,multiplePriority:PL(t)}),a?.(e)},i.onKeyDown=e=>{e.keyCode===Qp.ENTER&&(r({column:t,key:f,sortOrder:h,multiplePriority:PL(t)}),o?.(e))};let s=hge(t.title,{}),l=s?.toString();return m&&(i[`aria-sort`]=m===`ascend`?`ascending`:`descending`),i[`aria-description`]=c?.sortable,i[`aria-label`]=l||``,i.className=q(i.className,`${e}-column-has-sorters`),i.tabIndex=0,t.ellipsis&&(i.title=(s??``).toString()),i}}}return`children`in d&&(d={...d,children:RL(e,d.children,n,r,i,a,o,u,c)}),d}),zL=e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},BL=e=>{let t=e.filter(({sortOrder:e})=>e).map(zL);return t.length===0&&e.length?{...zL(e[e.length-1]),column:void 0,order:void 0,field:void 0,columnKey:void 0}:t.length<=1?t[0]||{}:t},VL=(e,t,n)=>{let r=t.slice().sort((e,t)=>t.multiplePriority-e.multiplePriority),i=e.slice(),a=r.filter(({column:{sorter:e},sortOrder:t})=>FL(e)&&t);return a.length?i.sort((e,t)=>{for(let n=0;n{let r=e[n];return r?{...e,[n]:VL(r,t,n)}:e}):i},HL=e=>{let{prefixCls:t,mergedColumns:n,sortDirections:r,tableLocale:i,showSorterTooltip:a,onSorterChange:o,globalLocale:s}=e,[c,l]=C.useState(()=>LL(n,!0)),u=(e,t)=>{let n=[];return e.forEach((e,r)=>{let i=NI(r,t);if(n.push(MI(e,i)),Array.isArray(e.children)){let t=u(e.children,i);n.push.apply(n,Qr(t))}}),n},d=C.useMemo(()=>{let e=!0,t=LL(n,!1);if(!t.length){let e=u(n);return c.filter(({key:t})=>e.includes(t))}let r=[];function i(t){e?r.push(t):r.push({...t,sortOrder:null})}let a=null;return t.forEach(t=>{a===null?(i(t),t.sortOrder&&(t.multiplePriority===!1?e=!1:a=!0)):(a&&t.multiplePriority!==!1||(e=!1),i(t))}),r},[n,c]),f=C.useMemo(()=>{let e=d.map(({column:e,sortOrder:t})=>({column:e,order:t}));return{sortColumns:e,sortColumn:e[0]?.column,sortOrder:e[0]?.order}},[d]),p=e=>{let t;t=e.multiplePriority===!1||!d.length||d[0].multiplePriority===!1?[e]:[].concat(Qr(d.filter(({key:t})=>t!==e.key)),[e]),l(t),o(BL(t),t)};return[e=>RL(t,e,d,p,r,i,a,void 0,s),d,f,()=>BL(d)]},UL=(e,t)=>e.map(e=>{let n={...e};return n.title=PI(e.title,t),`children`in n&&(n.children=UL(n.children,t)),n}),WL=e=>[C.useCallback(t=>UL(t,e),[e])],GL=aI((e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),KL=pI((e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),qL=e=>{let{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:i,tableHeaderBg:a,tablePaddingVertical:o,tablePaddingHorizontal:s,calc:c}=e,l=`${J(n)} ${r} ${i}`,u=(e,r,i)=>({[`&${t}-${e}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"> table > tbody > tr > th, > table > tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`${J(c(r).mul(-1).equal())} + }`)}});function AP(){return AP=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:t,prefixCls:n,classNames:r={},styles:i={},steps:a,strokeWidth:o,railWidth:s,gapDegree:c=0,gapPosition:l,railColor:u,strokeLinecap:d,style:f,className:p,strokeColor:m,percent:h,loading:g,..._}={...nme,...e},v=Bf(t),y=`${v}-gradient`,b=50-o/2,x=Math.PI*2*b,S=c>0?90+c/2:-90,w=x*((360-c)/360),{count:T,gap:E}=typeof a==`object`?a:{count:a,gap:2},D=jP(h),O=jP(m),k=O.find(e=>e&&typeof e==`object`),A=k&&typeof k==`object`?`butt`:d,{indeterminateStyleProps:j,indeterminateStyleAnimation:M}=ame({id:v,loading:g}),N=kP(x,w,0,100,S,c,l,u,A,o),P=rme(),F=()=>{let e=0;return D.map((t,a)=>{let s=O[a]||O[O.length-1],u=kP(x,w,e,t,S,c,l,s,A,o);return e+=t,C.createElement(ime,{key:a,color:s,ptg:t,radius:b,prefixCls:n,gradientId:y,className:r.track,style:{...u,...j,...i.track},strokeLinecap:A,strokeWidth:o,gapDegree:c,ref:e=>{P[a]=e},size:100})}).reverse()},I=()=>{let e=Math.round(T*(D[0]/100)),t=100/T,a=0;return Array(T).fill(null).map((s,d)=>{let f=d<=e-1?O[0]:u,p=f&&typeof f==`object`?`url(#${y})`:void 0,m=kP(x,w,a,t,S,c,l,f,`butt`,o,E);return a+=(w-m.strokeDashoffset+E)*100/w,C.createElement(`circle`,{key:d,className:q(`${n}-circle-path`,r.track),r:b,cx:50,cy:50,stroke:p,strokeWidth:o,opacity:1,style:{...m,...i.track},ref:e=>{P[d]=e}})})};return C.createElement(`svg`,AP({className:q(`${n}-circle`,r.root,p),viewBox:`0 0 100 100`,style:{...i.root,...f},id:t,role:`presentation`},_),!T&&C.createElement(`circle`,{className:q(`${n}-circle-rail`,r.rail),r:b,cx:50,cy:50,stroke:u,strokeLinecap:A,strokeWidth:s||o,style:{...N,...i.rail}}),T?I():F(),M)};function MP(e){return!e||e<0?0:e>100?100:e}function NP({success:e}){let t;return e&&`percent`in e&&(t=e.percent),t}var sme=({percent:e,success:t})=>{let n=MP(NP({success:t}));return[n,MP(MP(e)-n)]},cme=({success:e={},strokeColor:t})=>{let{strokeColor:n}=e;return[n||Qs.green,t||null]},PP=(e,t,n)=>{let r=-1,i=-1;if(t===`step`){let t=n.steps,a=n.strokeWidth;typeof e==`string`||e===void 0?(r=e===`small`?2:14,i=a??8):md(e)?[r,i]=[e,e]:[r=14,i=8]=Array.isArray(e)?e:[e.width,e.height],r*=t}else if(t===`line`){let t=n?.strokeWidth;typeof e==`string`||e===void 0?i=t||(e===`small`?6:8):md(e)?[r,i]=[e,e]:[r=-1,i=8]=Array.isArray(e)?e:[e.width,e.height]}else (t===`circle`||t===`dashboard`)&&(typeof e==`string`||e===void 0?[r,i]=e===`small`?[60,60]:[120,120]:md(e)?[r,i]=[e,e]:Array.isArray(e)&&(r=e[0]??e[1]??120,i=e[0]??e[1]??120));return[r,i]},lme=3,ume=e=>lme/e*100,FP=[`root`,`body`,`indicator`],dme=e=>{let{prefixCls:t,classNames:n,styles:r,railColor:i,trailColor:a,strokeLinecap:o=`round`,gapPosition:s,gapPlacement:c,gapDegree:l,width:u=120,type:d,children:f,success:p,size:m=u,steps:h}=e,{direction:g}=ui(`progress`),_=i??a,[v,y]=PP(m,`circle`),{strokeWidth:b}=e;b===void 0&&(b=Math.max(ume(v),6));let x={width:v,height:y,fontSize:v*.15+6},S=C.useMemo(()=>{if(l||l===0)return l;if(d===`dashboard`)return 75},[l,d]),w=sme(e),T=C.useMemo(()=>{let e=(c??s)||d===`dashboard`&&`bottom`||void 0,t=g===`rtl`;switch(e){case`start`:return t?`right`:`left`;case`end`:return t?`left`:`right`;default:return e}},[g,c,s,d]),E=Object.prototype.toString.call(e.strokeColor)===`[object Object]`,D=cme({success:p,strokeColor:e.strokeColor}),O=q(`${t}-body`,{[`${t}-circle-gradient`]:E},n.body),k=C.createElement(ome,{steps:h,percent:h?w[1]:w,strokeWidth:b,railWidth:b,strokeColor:h?D[1]:D,strokeLinecap:o,railColor:_,prefixCls:t,gapDegree:S,gapPosition:T,classNames:Cr(n,FP),styles:Cr(r,FP)}),A=v<=20,j=C.createElement(`div`,{className:O,style:{...x,...r.body}},k,!A&&f);return A?C.createElement(px,{title:f},j):j},IP=`--progress-line-stroke-color`,fme=e=>{let t=e?`100%`:`-100%`;return new Ro(`antProgress${e?`RTL`:`LTR`}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:`translateX(0) scaleX(1)`,opacity:0}})},pme=e=>{let{componentCls:t,iconCls:n}=e;return{[t]:{...Yc(e),display:`inline-flex`,"&-rtl":{direction:`rtl`},[`${t}-indicator`]:{color:e.colorText,lineHeight:1,whiteSpace:`nowrap`,verticalAlign:`middle`,wordBreak:`normal`,[n]:{fontSize:e.fontSize}},[`&${t}-status-exception`]:{[`${t}-indicator`]:{color:e.colorError}},[`&${t}-status-success`]:{[`${t}-indicator`]:{color:e.colorSuccess}}}}},mme=e=>{let{componentCls:t}=e;return{[`${t}-line`]:{position:`relative`,width:`100%`,fontSize:e.fontSize,[`${t}-body`]:{display:`inline-flex`,alignItems:`center`,width:`100%`,gap:e.marginXS},[`${t}-rail`]:{flex:`auto`,background:e.remainingColor,borderRadius:e.lineBorderRadius,position:`relative`,width:`100%`,overflow:`hidden`},[`&${t}-status-active`]:{[`${t}-track:after`]:{content:`""`,position:`absolute`,inset:0,backgroundColor:e.colorBgContainer,borderRadius:`inherit`,opacity:0,animationName:fme(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:`infinite`}},[`${t}-track`]:{position:`absolute`,insetInlineStart:0,insetBlock:0,borderRadius:`inherit`,background:e.defaultColor,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,minWidth:`max-content`,display:`flex`,alignItems:`center`,"&-success":{background:e.colorSuccess}},[`&${t}-status-exception`]:{[`${t}-track`]:{background:e.colorError}},[`&${t}-status-success`]:{[`${t}-track`]:{background:e.colorSuccess}},[`${t}-indicator-outer`]:{[`&${t}-indicator-start`]:{order:-1}},[`${t}-body-layout-bottom`]:{flexDirection:`column`,alignItems:`center`,gap:e.marginXXS},[`${t}-indicator${t}-indicator-inner`]:{color:e.colorWhite,paddingInline:e.paddingXXS,width:`100%`,display:`flex`,justifyContent:`center`,[`&${t}-indicator-end`]:{justifyContent:`end`},[`&${t}-indicator-start`]:{justifyContent:`start`},[`&${t}-indicator-bright`]:{color:`rgba(0, 0, 0, 0.45)`}}}}},hme=e=>{let{componentCls:t,iconCls:n}=e;return{[`${t}-circle`]:{[`${t}-circle-rail`]:{stroke:e.remainingColor},[`${t}-body:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-body`]:{position:`relative`,lineHeight:1,backgroundColor:`transparent`},[`${t}-indicator`]:{position:`absolute`,insetBlockStart:`50%`,insetInlineStart:0,width:`100%`,margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:`normal`,textAlign:`center`,transform:`translateY(-50%)`,[n]:{fontSize:e.circleIconFontSize}},[`&${t}-status-exception`]:{[`${t}-body:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}}},[`&${t}-status-success`]:{[`${t}-body:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:`bottom`}}}},gme=e=>{let{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:`inline-block`,"&-body":{display:`flex`,flexDirection:`row`,alignItems:`center`,gap:e.progressStepMarginInlineEnd,[`${t}-indicator`]:{marginInlineStart:e.marginXS}},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},_me=e=>{let{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-indicator ${n}`]:{fontSize:e.fontSizeSM}}}},vme=il(`Progress`,e=>{let t=e.calc(e.marginXXS).div(2).equal(),n=_s(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:`2.4s`});return[pme(n),mme(n),hme(n),gme(n),_me(n)]},e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:`1em`,circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`})),yme=e=>{let t=[];return Object.keys(e).forEach(n=>{let r=Number.parseFloat(n.replace(/%/g,``));Number.isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((e,t)=>e.key-t.key),t.map(({key:e,value:t})=>`${t} ${e}%`).join(`, `)},bme=(e,t)=>{let{from:n=Qs.blue,to:r=Qs.blue,direction:i=t===`rtl`?`to left`:`to right`,...a}=e;if(Object.keys(a).length!==0){let e=`linear-gradient(${i}, ${yme(a)})`;return{background:e,[IP]:e}}let o=`linear-gradient(${i}, ${n}, ${r})`;return{background:o,[IP]:o}},xme=e=>{let{prefixCls:t,classNames:n,styles:r,direction:i,percent:a,size:o,strokeWidth:s,strokeColor:c,strokeLinecap:l=`round`,children:u,railColor:d,trailColor:f,percentPosition:p,success:m}=e,{align:h,type:g}=p,_=d??f,v=l===`square`||l===`butt`?0:void 0,[y,b]=PP(o??[-1,s||(o===`small`?6:8)],`line`,{strokeWidth:s}),x={backgroundColor:_||void 0,borderRadius:v,height:b},S=`${t}-track`,w=c&&typeof c!=`string`?bme(c,i):{[IP]:c,background:c},T={width:`${MP(a)}%`,height:b,borderRadius:v,...w},E=NP(e),D={width:`${MP(E)}%`,height:b,borderRadius:v,backgroundColor:m?.strokeColor};return C.createElement(`div`,{className:q(`${t}-body`,n.body,{[`${t}-body-layout-bottom`]:h===`center`&&g===`outer`}),style:{width:y>0?y:`100%`,...r.body}},C.createElement(`div`,{className:q(`${t}-rail`,n.rail),style:{...x,...r.rail}},C.createElement(`div`,{className:q(S,n.track),style:{...T,...r.track}},g===`inner`&&u),E!==void 0&&C.createElement(`div`,{className:q(S,`${S}-success`,n.track),style:{...D,...r.track}})),g===`outer`&&u)},Sme=e=>{let{classNames:t,styles:n,size:r,steps:i,rounding:a=Math.round,percent:o=0,strokeWidth:s=8,strokeColor:c,railColor:l,trailColor:u,prefixCls:d,children:f}=e,p=a(o/100*i),[m,h]=PP(r??[r===`small`?2:14,s],`step`,{steps:i,strokeWidth:s}),g=m/i,_=Array.from({length:i}),v=l??u;for(let e=0;e{let{prefixCls:n,className:r,rootClassName:i,classNames:a,styles:o,steps:s,strokeColor:c,percent:l=0,size:u=`medium`,showInfo:d=!0,type:f=`line`,status:p,format:m,style:h,percentPosition:g={},..._}=e,{align:v=`end`,type:y=`outer`}=g,b=Array.isArray(c)?c[0]:c,x=typeof c==`string`||Array.isArray(c)?c:void 0,S=C.useMemo(()=>b?new zs(typeof b==`string`?b:Object.values(b)[0]).isLight():!1,[c]),w=C.useMemo(()=>{let t=NP(e);return Number.parseInt(t===void 0?(l??0)?.toString():(t??0)?.toString(),10)},[l,e.success]),T=C.useMemo(()=>!Cme.includes(p)&&w>=100?`success`:p||`normal`,[p,w]),{getPrefixCls:E,direction:D,className:O,style:k,classNames:A,styles:j}=ui(`progress`),M=E(`progress`,n),[N,P]=vme(M),F={...e,percent:l,type:f,size:u,showInfo:d,percentPosition:g},[I,L]=Id([A,a],[j,o],{props:F}),R=f===`line`,z=R&&!s,B=C.useMemo(()=>{if(!d)return null;let t=NP(e),n,r=m||(e=>`${e}%`),i=R&&S&&y===`inner`;return y===`inner`||m||T!==`exception`&&T!==`success`?n=r(MP(l),MP(t)):T===`exception`?n=R?C.createElement(Il,null):C.createElement(zl,null):T===`success`&&(n=R?C.createElement(Nl,null):C.createElement(fb,null)),C.createElement(`span`,{className:q(`${M}-indicator`,{[`${M}-indicator-bright`]:i,[`${M}-indicator-${v}`]:z,[`${M}-indicator-${y}`]:z},I.indicator),style:L.indicator,title:typeof n==`string`?n:void 0},n)},[d,l,w,T,f,M,m,R,S,y,v,z,I.indicator,L.indicator]),V={...e,classNames:I,styles:L},H;f===`line`?H=s?C.createElement(Sme,{...V,strokeColor:x,prefixCls:M,steps:gd(s)?s.count:s},B):C.createElement(xme,{...V,strokeColor:b,prefixCls:M,direction:D,percentPosition:{align:v,type:y}},B):(f===`circle`||f===`dashboard`)&&(H=C.createElement(dme,{...V,strokeColor:b,prefixCls:M,progressStatus:T},B));let U=q(M,`${M}-status-${T}`,{[`${M}-${f===`dashboard`&&`circle`||f}`]:f!==`line`,[`${M}-inline-circle`]:f===`circle`&&PP(u,`circle`)[0]<=20,[`${M}-line`]:z,[`${M}-line-align-${v}`]:z,[`${M}-line-position-${y}`]:z,[`${M}-steps`]:s,[`${M}-show-info`]:d,[`${M}-small`]:u===`small`,[`${M}-rtl`]:D===`rtl`},O,r,i,I.root,N,P);return C.createElement(`div`,{ref:t,style:{...k,...L.root,...h},className:U,role:`progressbar`,"aria-valuenow":w,"aria-valuemin":0,"aria-valuemax":100,...Cr(_,[`railColor`,`trailColor`,`strokeWidth`,`width`,`gapDegree`,`gapPosition`,`gapPlacement`,`strokeLinecap`,`success`])},H)}),wme={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z`}}]},name:`reload`,theme:`outlined`};function RP(){return RP=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,RP({},e,{ref:t,icon:wme}))),Tme={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z`}}]},name:`star`,theme:`filled`};function BP(){return BP=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BP({},e,{ref:t,icon:Tme}))),Dme={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`warning`,theme:`filled`};function VP(){return VP=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,VP({},e,{ref:t,icon:Dme}))),HP=rj,kme=e=>{let{value:t,formatter:n,precision:r,decimalSeparator:i,groupSeparator:a=``,prefixCls:o}=e,s;if(typeof n==`function`)s=n(t);else{let e=String(t),n=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(!n||e===`-`)s=e;else{let e=n[1],t=n[2]||`0`,c=n[4]||``;t=t.replace(/\B(?=(\d{3})+(?!\d))/g,a),md(r)&&(c=c.padEnd(r,`0`).slice(0,r>0?r:0)),c&&=`${i}${c}`,s=[C.createElement(`span`,{key:`int`,className:`${o}-content-value-int`},e,t),c&&C.createElement(`span`,{key:`decimal`,className:`${o}-content-value-decimal`},c)]}}return C.createElement(`span`,{className:`${o}-content-value`},s)},Ame=e=>{let{componentCls:t,marginXXS:n,padding:r,colorTextDescription:i,titleFontSize:a,colorTextHeading:o,contentFontSize:s,fontFamily:c}=e;return{[t]:{...Yc(e),[`${t}-header`]:{paddingBottom:n,[`${t}-title`]:{color:i,fontSize:a}},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:o,fontSize:s,fontFamily:c,[`${t}-content-value`]:{display:`inline-block`,direction:`ltr`},[`${t}-content-prefix, ${t}-content-suffix`]:{display:`inline-block`},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}}}},jme=il(`Statistic`,e=>Ame(_s(e,{})),e=>{let{fontSizeHeading3:t,fontSize:n}=e;return{titleFontSize:n,contentFontSize:t}}),UP=C.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:i,style:a,valueStyle:o,value:s=0,title:c,valueRender:l,prefix:u,suffix:d,loading:f=!1,formatter:p,precision:m,decimalSeparator:h=`.`,groupSeparator:g=`,`,onMouseEnter:_,onMouseLeave:v,styles:y,classNames:b,...x}=e,{getPrefixCls:S,direction:w,className:T,style:E,classNames:D,styles:O}=ui(`statistic`),k=S(`statistic`,n),[A,j]=jme(k),M={...e,decimalSeparator:h,groupSeparator:g,loading:f,value:s},[N,P]=Id([D,b],[O,y],{props:M}),F=C.createElement(kme,{decimalSeparator:h,groupSeparator:g,prefixCls:k,formatter:p,precision:m,value:s}),I=q(k,{[`${k}-rtl`]:w===`rtl`},T,r,i,N.root,A,j),L=q(`${k}-header`,N.header),R=q(`${k}-title`,N.title),z=q(`${k}-content`,N.content),B=q(`${k}-content-prefix`,N.prefix),V=q(`${k}-content-suffix`,N.suffix),H=C.useRef(null);C.useImperativeHandle(t,()=>({nativeElement:H.current}));let U=Hu(x,{aria:!0,data:!0});return C.createElement(`div`,{...U,className:I,style:{...P.root,...E,...a},ref:H,onMouseEnter:_,onMouseLeave:v},c&&C.createElement(`div`,{className:L,style:P.header},C.createElement(`div`,{className:R,style:P.title},c)),C.createElement(av,{paragraph:!1,loading:f,className:`${k}-skeleton`,active:!0},C.createElement(`div`,{className:z,style:{...o,...P.content}},u&&C.createElement(`span`,{className:B,style:P.prefix},u),typeof l==`function`?l(F):F,d&&C.createElement(`span`,{className:V,style:P.suffix},d))))}),Mme=[[`Y`,1e3*60*60*24*365],[`M`,1e3*60*60*24*30],[`D`,1e3*60*60*24],[`H`,1e3*60*60],[`m`,1e3*60],[`s`,1e3],[`S`,1]];function Nme(e,t){let n=e,r=/\[[^\]]*]/g,i=(t.match(r)||[]).map(e=>e.slice(1,-1)),a=t.replace(r,`[]`),o=Mme.reduce((e,[t,r])=>{if(e.includes(t)){let i=Math.floor(n/r);return n-=i*r,e.replace(RegExp(`${t}+`,`g`),e=>{let t=e.length;return i.toString().padStart(t,`0`)})}return e},a),s=0;return o.replace(r,()=>{let e=i[s];return s+=1,e})}function Pme(e,t,n){let{format:r=``}=t,i=new Date(e).getTime(),a=Date.now();return Nme(Math.max(n?i-a:a-i,0),r)}var Fme=1e3/60;function Ime(e){return new Date(e).getTime()}var WP=e=>{let{value:t,format:n=`HH:mm:ss`,onChange:r,onFinish:i,type:a,...o}=e,s=a===`countdown`,[c,l]=C.useState(null),u=Rn(()=>{let e=Date.now(),n=Ime(t);l({});let a=s?n-e:e-n;return r?.(a),s&&n{let e,t=()=>{u()||window.clearInterval(e)},n=()=>{e=window.setInterval(t,Fme)},r=()=>{window.clearInterval(e)};return n(),()=>{r()}},[t,s]),C.useEffect(()=>{l({})},[]);let d=(e,t)=>c?Pme(e,{...t,format:n},s):`-`,f=e=>Fp(e,{title:void 0});return C.createElement(UP,{...o,value:t,valueRender:f,formatter:d})},Lme=C.memo(e=>C.createElement(WP,{...e,type:`countdown`}));UP.Timer=WP,UP.Countdown=Lme;var GP=UP;function Rme(e){let{prefixCls:t,className:n,style:r,status:i}=e,a=`${t}-rail`;return C.createElement(`div`,{className:q(a,`${a}-${i}`,n),style:r})}var zme=C.createContext({}),KP=C.createContext(null);function qP(){return qP=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:n,style:r,children:i,...a}=e,{prefixCls:o,classNames:s,styles:c}=C.useContext(KP),{className:l,style:u}=C.useContext(JP),d=`${o}-item`;return C.createElement(`div`,qP({},Hu(a,!1),{ref:t,className:q(`${d}-icon`,s.itemIcon,l,n),style:{...c.itemIcon,...u,...r}}),i)});function XP(){return XP=Object.assign?Object.assign.bind():function(e){for(var t=1;t{g?.(e),f(c)},N.onKeyDown=e=>{let{which:t}=e;(t===em.ENTER||t===em.SPACE)&&f(c)});let P=w||`wait`,F=ZP(_),I=ZP(v),L=q(p,`${p}-${P}`,{[`${p}-custom`]:S,[`${p}-active`]:s,[`${p}-disabled`]:x===!0,[`${p}-empty-header`]:!F&&!I},T,n.item,D.root),R=C.createElement(YP,null);u&&(R=u(R,{...j,components:{Icon:YP}}));let z=C.createElement(`div`,{className:q(`${p}-wrapper`,n.itemWrapper,D.wrapper),style:{...r.itemWrapper,...O.wrapper}},C.createElement(JP.Provider,{value:{className:D.icon,style:O.icon}},R),C.createElement(`div`,{className:q(`${p}-section`,n.itemSection,D.section),style:{...r.itemSection,...O.section}},C.createElement(`div`,{className:q(`${p}-header`,n.itemHeader,D.header),style:{...r.itemHeader,...O.header}},F&&C.createElement(`div`,{className:q(`${p}-title`,n.itemTitle,D.title),style:{...r.itemTitle,...O.title}},_),I&&C.createElement(`div`,{title:typeof v==`string`?v:void 0,className:q(`${p}-subtitle`,n.itemSubtitle,D.subtitle),style:{...r.itemSubtitle,...O.subtitle}},v),!a&&C.createElement(Rme,{prefixCls:p,className:q(n.itemRail,D.rail),style:{...r.itemRail,...O.rail},status:m?w:o})),ZP(A)&&C.createElement(`div`,{className:q(`${p}-content`,n.itemContent,D.content),style:{...r.itemContent,...O.content}},A))),B=C.createElement(h,XP({},k,N,{className:L,style:{...r.item,...O.root,...E}}),d?d(z):z);return l&&(B=l(B,j)||null),B}function QP(){return QP=Object.assign?Object.assign.bind():function(e){for(var t=1;t(m||[]).filter(Boolean),[m]),T=C.useMemo(()=>w.map(({status:e},t)=>{let n=f+t;return e||(n===d?u:n{p&&d!==e&&p(e)},{root:D=`div`,item:O=`div`}=l||{},k=C.useMemo(()=>({prefixCls:t,classNames:i,styles:a,ItemComponent:O}),[t,i,a,O]),A=(e,n)=>{let r=f+n,o=T[n],s=T[n+1],c={...e,status:o};return C.createElement(Bme,{key:r,prefixCls:t,classNames:i,styles:a,data:c,nextStatus:s,active:r===d,index:r,last:w.length-1===n,iconRender:h,itemRender:g,itemWrapperRender:_,onClick:p&&E})};return C.createElement(D,QP({className:S,style:{...n,...a?.root}},v),C.createElement(KP.Provider,{value:k},w.map(A)))}var Hme=Vme,Ume=C.createContext(null),Wme=e=>{let{prefixCls:t}=e;return C.createElement(`svg`,{className:`${t}-panel-arrow`,viewBox:`0 0 100 100`,xmlns:`http://www.w3.org/2000/svg`,preserveAspectRatio:`none`},C.createElement(`title`,null,`Arrow`),C.createElement(`path`,{d:`M 0 0 L 100 50 L 0 100`}))},Gme=e=>{let{prefixCls:t,rootPrefixCls:n,children:r,percent:i}=e,a=`${t}-item-progress-icon`,o=`${a}-circle`,[,s]=sl(n,`cmp-steps`),c=`calc(${s(`progress-radius`)} * 2 * ${Math.PI*i/100}) 9999`;return C.createElement(C.Fragment,null,C.createElement(`svg`,{className:`${a}-svg`,viewBox:`0 0 100 100`,width:`100%`,height:`100%`,xmlns:`http://www.w3.org/2000/svg`,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":i},C.createElement(`title`,null,`Progress`),C.createElement(`circle`,{className:q(o,`${o}-rail`)}),C.createElement(`circle`,{className:q(o,`${o}-ptg`),strokeDasharray:c,transform:`rotate(-90 50 50)`})),r)},Kme=e=>{let{componentCls:t,antCls:n}=e,r=`${t}-item`,[i,a]=sl(n,`cmp-steps`);return{[`${t}-horizontal`]:{[`> ${r}`]:{flex:`1 1 auto`,minWidth:e.iconSize,[`${r}-rail`]:{[i(`horizontal-rail-margin`)]:`calc(${a(`icon-size-max`)} / 2 + ${a(`item-wrapper-padding-top`)})`,position:`static`,marginTop:a(`horizontal-rail-margin`),width:`auto`,borderBlockStartWidth:a(`rail-size`),flex:1,minWidth:0,alignSelf:`flex-start`,transform:`translateY(-50%)`}}}}},qme=e=>{let{componentCls:t,customIconFontSize:n,motionDurationSlow:r,iconSize:i,lineWidth:a,lineType:o,antCls:s}=e,c=`${t}-item`,[l,u]=sl(s,`cmp-steps`);return{[t]:{[l(`icon-size`)]:i,[l(`icon-border-width`)]:a,[`${c}-icon`]:{width:u(`icon-size`),height:u(`icon-size`),margin:0,flex:`none`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:u(`icon-size`),textAlign:`center`,borderRadius:u(`icon-size`),border:`${u(`icon-border-width`)} ${o} transparent`,transition:[`background-color`,`border`,`color`,`inset`,`transform`].map(e=>`${e} ${r}`).join(`, `),zIndex:1},[`${c}-custom ${c}-icon`]:{background:`none`,border:0,fontSize:n}}}},Jme=e=>{let{componentCls:t,inlineDotSize:n,paddingXS:r,lineWidth:i,antCls:a,calc:o}=e,s=o(r).add(i).equal(),c=`${t}-item`,[l,u]=sl(a,`cmp-steps`);return{[`${t}-inline`]:{[l(`items-offset`)]:`0`,[l(`item-wrapper-padding-top`)]:s,display:`inline-flex`,"&:before":{content:`""`,flex:u(`items-offset`)},[c]:{[l(`title-vertical-row-gap`)]:r,[l(`icon-size`)]:n,[l(`icon-size-active`)]:n,[l(`title-font-size`)]:e.fontSizeSM,[l(`title-line-height`)]:e.lineHeightSM,[l(`item-title-color`)]:e.colorTextSecondary,[l(`subtitle-font-size`)]:e.fontSizeSM,[l(`subtitle-line-height`)]:e.lineHeightSM,[l(`item-subtitle-color`)]:e.colorTextQuaternary,[l(`rail-size`)]:e.lineWidth,[l(`title-horizontal-rail-gap`)]:`0px`,flex:1,"&-wrapper":{paddingInline:e.paddingXXS,marginInline:e.calc(e.marginXXS).div(2).equal(),borderRadius:e.borderRadiusSM,cursor:`pointer`,transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover}},"&-icon":{[`${c}-icon-dot`]:{"&:after":{display:`none`}}},"&-title":{fontWeight:`normal`,whiteSpace:`nowrap`},"&-content":{display:`none`}}}}};function Yme(e){return(e||`--ant-not-exist`).replace(/var\((.*)\)/,`$1`)}var eF=(e,t,n)=>{let{calc:r,componentCls:i,descriptionMaxWidth:a,antCls:o}=e,s=`${i}-item`,[,c]=sl(o,`cmp-steps`);return{[`@container style(${Yme(a)})`]:[{[`${s}-icon`]:{marginInlineStart:r(a).sub(c(`icon-size`)).div(2).equal()},[`${s}-rail`]:{width:`auto`,insetInlineStart:r(a).add(c(`icon-size`)).div(2).add(t).equal(),insetInlineEnd:r(a).sub(c(`icon-size`)).div(2).sub(t).mul(-1).equal()}},n]}},Xme=e=>{let{componentCls:t,descriptionMaxWidth:n,marginXS:r,fontHeightLG:i,margin:a,paddingSM:o,marginXXS:s,antCls:c,calc:l}=e,u=`${t}-item`,[d,f]=sl(c,`cmp-steps`);return{[t]:{[d(`icon-size-max`)]:`max(${f(`icon-size`)}, ${f(`icon-size-active`,f(`icon-size`))})`,[`${u}-icon`]:{marginBlockStart:`calc((${f(`heading-height`)} - ${f(`icon-size`)}) / 2)`}},[`${t}-title-horizontal`]:{[d(`title-horizontal-item-margin`)]:a,[d(`title-horizontal-rail-margin`)]:a,[d(`title-horizontal-title-height`)]:i,[d(`heading-height`)]:`max(${f(`icon-size`)}, ${f(`title-horizontal-title-height`)})`,[`&${t}-horizontal, &${t}-horizontal-alternate`]:{[`${u}:not(:first-child)`]:{marginInlineStart:f(`title-horizontal-item-margin`)},[`${u}:last-child`]:{flex:`0 1 auto`},[`${u}-wrapper`]:{columnGap:e.marginXS}},[`&${t}-vertical`]:{[`${u}-wrapper`]:{columnGap:e.margin},[`${u}-empty-header`]:{[`${u}-header`]:{minHeight:`auto`},[`${u}-content`]:{marginTop:l(f(`heading-height`)).sub(e.fontHeight).div(2).equal()}}},[`${u}-section`]:{flex:1,minWidth:0},[`${u}-header`]:{minHeight:f(`heading-height`)},[`${u}-title`]:{flex:`0 1 auto`},[`${u}-content`]:{maxWidth:n},[`${u}-subtitle`]:{flex:`0 9999 auto`},[`&${t}-horizontal ${u}-rail`]:{[d(`item-wrapper-padding-top`)]:`0px`,flex:`1 1 0%`,marginInlineStart:f(`title-horizontal-rail-margin`)}},[`${t}-title-vertical`]:{[d(`title-vertical-row-gap`)]:o,[d(`title-horizontal-rail-gap`)]:s,[d(`heading-height`)]:f(`icon-size-max`),[`> ${u}`]:{flex:`1 1 0%`,[`${u}-wrapper`]:{flexDirection:`column`,rowGap:f(`title-vertical-row-gap`),alignItems:`center`},[`${u}-section`]:{alignSelf:`stretch`},[`${u}-header`]:{flexDirection:`column`,alignItems:`center`},[`${u}-title, ${u}-subtitle, ${u}-content`]:{textAlign:`center`,maxWidth:`100%`},[`${u}-subtitle`]:{margin:0},[`${u}-rail`]:{position:`absolute`,top:0,width:`calc(100% - ${f(`icon-size`)} - ${f(`title-horizontal-rail-gap`)} * 2)`,insetInlineStart:`calc(50% + ${f(`icon-size`)} / 2 + ${f(`title-horizontal-rail-gap`)})`}},...eF(e,r,{[`${u}:last-child`]:{flex:`none`},[`${u}-icon`]:{alignSelf:`flex-start`},[`${u}-section`]:{width:n}})}}},Zme=e=>{let{componentCls:t,fontSizeIcon:n,navContentMaxWidth:r,navArrowColor:i,colorPrimary:a,motionDurationSlow:o,antCls:s,calc:c}=e,l=`${t}-item`,u=a,[d,f]=sl(s,`cmp-steps`);return{[`${t}${t}-navigation`]:{[l.repeat(4)]:{display:`flex`,justifyContent:`center`,position:`relative`,flex:1,marginInlineStart:0,[`${l}-wrapper`]:{paddingBlock:e.paddingSM},[`${l}-section`]:{maxWidth:r},[`${l}-rail`]:{display:`none`},"&:before":{position:`absolute`,display:`block`,backgroundColor:u,transition:`all ${o}`,transitionTimingFunction:`ease-out`,content:`""`},"&:not(:last-child):after":{position:`absolute`,display:`block`,borderTop:`${J(e.lineWidth)} ${e.lineType} ${i}`,borderBottom:`none`,borderInlineStart:`none`,borderInlineEnd:`${J(e.lineWidth)} ${e.lineType} ${i}`,content:`""`},[`&${l}-active`]:{[d(`item-content-active-color`)]:f(`item-content-color`),[d(`item-icon-active-bg-color`)]:f(`item-icon-bg-color`),[d(`item-icon-active-border-color`)]:f(`item-icon-border-color`),[d(`item-icon-active-text-color`)]:f(`item-icon-text-color`)}},[`&${t}-horizontal`]:{[l]:{"&:before":{bottom:0,insetInlineStart:`50%`,width:0,height:e.lineWidthBold},[`&${l}-active:before`]:{insetInlineStart:0,width:`100%`},"&:not(:last-child):after":{top:`50%`,insetInlineStart:c(n).div(2).mul(-1).add(`100%`).equal(),width:n,height:n,transform:`translateY(-50%) rotate(45deg)`}}},[`&${t}-vertical`]:{[l.repeat(4)]:{[`${l}-content`]:{padding:0},"&:before":{insetInlineEnd:0,top:`50%`,width:e.lineWidthBold,height:0},[`&${l}-active::before`]:{top:0,height:`100%`},"&:not(:last-child):after":{left:{_skip_check_:!0,value:`50%`},top:`100%`,width:c(n).div(3).mul(2).equal(),height:c(n).div(3).mul(2).equal(),transform:`translateY(-50%) translateX(-50%) rotate(135deg)`}}}}}},Qme=e=>{let{componentCls:t,lineWidthBold:n,borderRadius:r,borderRadiusSM:i,motionDurationMid:a,paddingXS:o,lineType:s,paddingSM:c,antCls:l,calc:u}=e,d=`${t}-item`,[f,p]=sl(l,`cmp-steps`),m=`${J(n)} ${s} ${p(`panel-border-color`)}`;return{[`${t}${t}-panel`]:[{[`${d}-rail`]:{display:`none`},[`&${t}-horizontal`]:{alignItems:`stretch`,[d]:{flex:1,margin:0}}},{"&":{[f(`panel-padding`)]:c,[f(`item-border-radius`)]:r,[d]:{[f(`panel-bg-color`)]:p(`item-icon-bg-color`),[f(`panel-border-color`)]:p(`item-icon-border-color`),[f(`panel-active-bg-color`)]:p(`item-icon-active-bg-color`),[f(`panel-active-border-color`)]:p(`item-icon-active-border-color`),[f(`panel-title-height`)]:`calc(${p(`title-font-size`)} * ${p(`title-line-height`)})`,[f(`item-base-height`)]:u(p(`panel-padding`)).mul(2).add(p(`icon-size`)).add(p(`panel-title-height`)).equal(),[f(`item-base-width`)]:`calc(${p(`item-base-height`)} * 0.7071)`,transition:`background-color ${a}`}},[`${d}-icon`]:{display:`none`},[`${d}-header`]:{minHeight:`auto`},[`${t}-panel-arrow`]:{position:`absolute`,top:u(n).mul(-1).equal(),insetInlineStart:`100%`,zIndex:1,height:u(n).mul(2).add(`100%`).equal(),width:p(`item-base-width`),overflow:`visible`,strokeLinecap:`round`,path:{fill:p(`panel-bg-color`),stroke:p(`panel-border-color`),strokeWidth:n,vectorEffect:`non-scaling-stroke`,transition:`fill ${a}`}},[`${d}:last-child ${t}-panel-arrow`]:{display:`none`},[d]:{padding:p(`panel-padding`),background:p(`panel-bg-color`),position:`relative`,borderBlock:m,"&:not(:first-child)":{paddingInlineStart:`calc(${p(`panel-padding`)} + ${p(`item-base-width`)})`},"&:first-child":{borderInlineStart:m,borderStartStartRadius:p(`item-border-radius`),borderEndStartRadius:p(`item-border-radius`)},"&:last-child":{borderInlineEnd:m,borderStartEndRadius:p(`item-border-radius`),borderEndEndRadius:p(`item-border-radius`)},"&-active":{background:p(`panel-active-bg-color`),borderColor:p(`panel-active-border-color`),[`${t}-panel-arrow`]:{path:{fill:p(`panel-active-bg-color`),stroke:p(`panel-active-border-color`)}},[`${d}-title, ${d}-subtitle, ${d}-content`]:{color:p(`item-icon-active-text-color`)}}}},{[`&${t}-small`]:{[f(`panel-padding`)]:o,[f(`item-border-radius`)]:i}},{[`&${t}-filled`]:{[d]:{"&:not(:first-child)":{clipPath:`polygon(${[`${J(n)} 0`,`calc(100% + ${p(`item-base-width`)}) 0`,`calc(100% + ${p(`item-base-width`)}) 100%`,`${J(n)} 100%`,`calc(${p(`item-base-width`)} + ${J(n)}) 50%`].join(`,`)})`}}}},{[`&${t}-outlined`]:{[`${t}-panel-arrow`]:{top:u(n).div(2).mul(-1).equal(),height:u(n).add(`100%`).equal()}}}]}},$me=e=>{let{calc:t,antCls:n,componentCls:r,lineWidthBold:i,motionDurationSlow:a}=e,o=`${r}-item`,[s,c]=sl(n,`cmp-steps`),l=t(i).add(i).equal();return{[`${r}${r}-with-progress`]:{[s(`item-wrapper-padding-top`)]:l,[`${o}${o}-process`]:{[`${o}-icon`]:{position:`relative`}},[`${o}-progress-icon`]:{"&-svg":{[s(`svg-size`)]:t(l).mul(2).add(c(`icon-size`)).equal(),[s(`icon-size-ptg-unitless`)]:`calc(100 / tan(atan2(${c(`svg-size`)}, 1px)))`,fontSize:c(`svg-size`),lineHeight:c(`icon-size-ptg-unitless`),position:`absolute`,inset:t(l).mul(-1).equal(),width:`auto`,height:`auto`},"&-circle":{lineHeight:c(`icon-size-ptg-unitless`),strokeWidth:t(c(`icon-size-ptg-unitless`)).mul(i).equal(),[s(`progress-radius`)]:t(c(`svg-size`)).sub(i).mul(c(`icon-size-ptg-unitless`)).div(2).equal(),r:c(`progress-radius`),fill:`none`,cx:50,cy:50,transition:`all ${a} ease-in-out`,"&-rail":{stroke:e.colorSplit},"&-ptg":{stroke:e.colorPrimary}}}}}},ehe=e=>{let{componentCls:t,iconSize:n,dotSize:r,dotCurrentSize:i,marginXXS:a,lineWidthBold:o,fontSizeSM:s,antCls:c}=e,l=`${t}-item`,[u,d]=sl(c,`cmp-steps`);return{[`${t}${t}-dot`]:{[u(`icon-size-active`)]:i,[u(`icon-size`)]:r,[u(`dot-icon-size`)]:r,[u(`dot-icon-border-width`)]:o,[u(`rail-size`)]:o,[u(`icon-border-width`)]:o,[`${l}-custom ${l}-icon`]:{fontSize:s},[`${l}-icon`]:{position:`relative`,"&:after":{content:`""`,width:n,height:n,display:`block`,position:`absolute`,top:`50%`,left:{_skip_check_:!0,value:`50%`},transform:`translate(-50%, -50%)`}},[`${l}-active ${l}-icon`]:{[u(`icon-size`)]:d(`icon-size-active`)},[`&${t}-horizontal`]:{[`&, &${t}-small`]:eF(e,a)}}}},the=e=>{let{componentCls:t,lineWidthBold:n,antCls:r}=e,i=`${t}-item`,[,a]=sl(r,`cmp-steps`);return{[`${t}${t}-rtl`]:{direction:`rtl`,[`&${t}-navigation${t}-horizontal`]:{[`${i}:after`]:{transform:`translateY(-50%) rotate(-45deg)`}},[`&${t}-panel`]:{[`${t}-panel-arrow`]:{transform:`scaleX(-1)`},[`&${t}-filled`]:{[i]:{"&:not(:first-child)":{clipPath:`polygon(${[`calc(0px - ${a(`item-base-width`)}) 0px`,`calc(100% - ${J(n)}) 0px`,`calc(100% - ${a(`item-base-width`)} - ${J(n)}) 50%`,`calc(100% - ${J(n)}) 100%`,`calc(0px - ${a(`item-base-width`)}) 100%`].join(`,`)})`}}}}}}},nhe=e=>{let{componentCls:t,iconSizeSM:n,fontSize:r,lineHeight:i,marginXS:a,fontHeight:o,marginSM:s,paddingXS:c,antCls:l}=e,[u]=sl(l,`cmp-steps`);return{[`${t}${t}-small`]:{[u(`icon-size`)]:n,[u(`title-horizontal-item-margin`)]:s,[u(`title-vertical-row-gap`)]:c,[u(`title-font-size`)]:r,[u(`title-line-height`)]:i,[u(`title-horizontal-rail-margin`)]:a,[u(`title-horizontal-title-height`)]:o,[`&${t}-horizontal${t}-title-vertical`]:eF(e,a)}}},tF=`wait`,nF=`process`,rF=`finish`,iF=`error`,rhe=e=>{let{componentCls:t,colorTextDisabled:n,colorTextLightSolid:r,colorPrimary:i,colorTextLabel:a,colorError:o,colorErrorHover:s,colorErrorBgFilledHover:c,colorFillTertiary:l,colorErrorBg:u,colorPrimaryBgHover:d,colorPrimaryBg:f,colorText:p,colorTextDescription:m,colorBgContainer:h,colorPrimaryHover:g,lineType:_,antCls:v}=e,y=`${t}-item`,[b,x]=sl(v,`cmp-steps`);return{[t]:[{[y]:{[b(`item-solid-line-color`)]:`#000`,[b(`item-title-color`)]:`#000`,[b(`item-content-color`)]:`#000`,[b(`item-subtitle-color`)]:x(`item-content-color`),[b(`item-icon-custom-color`)]:`#000`,[b(`item-icon-bg-color`)]:`#000`,[b(`item-icon-border-color`)]:`#000`,[b(`item-icon-text-color`)]:`#fff`,[b(`item-icon-dot-color`)]:`#000`,[b(`item-icon-dot-bg-color`)]:x(`item-icon-dot-color`),[b(`item-icon-dot-border-color`)]:x(`item-icon-dot-color`),[b(`item-text-hover-color`)]:`#000`,[b(`item-icon-bg-hover-color`)]:x(`item-icon-bg-color`),[b(`item-icon-border-hover-color`)]:x(`item-icon-border-color`),[b(`item-icon-text-hover-color`)]:x(`item-icon-text-color`),[b(`item-content-active-color`)]:x(`item-content-color`),[b(`item-icon-active-bg-color`)]:x(`item-icon-bg-color`),[b(`item-icon-active-border-color`)]:x(`item-icon-border-color`),[b(`item-icon-active-text-color`)]:x(`item-icon-text-color`),[b(`item-process-rail-line-style`)]:_},[`${y}-rail`]:{borderColor:x(`item-solid-line-color`)},[`${y}-custom ${y}-icon`]:{color:x(`item-icon-custom-color`)},[`${y}-title`]:{color:x(`item-title-color`)},[`${y}-subtitle`]:{color:x(`item-subtitle-color`)},[`${y}-content`]:{color:x(`item-content-color`)},[`${y}-active ${y}-icon`]:{},[`${y}-active ${y}-content`]:{color:x(`item-content-active-color`)},[`${y}[role='button']:not(${y}-active):hover`]:{[`${y}-title, ${y}-content`]:{color:x(`item-text-hover-color`)}},[`&:not(${t}-dot)`]:{[`${y}:not(${y}-custom)`]:{[`${y}-icon`]:{background:x(`item-icon-bg-color`),borderColor:x(`item-icon-border-color`),color:x(`item-icon-text-color`)},[`&[role='button']:not(${y}-active):hover`]:{[`${y}-icon`]:{background:x(`item-icon-bg-hover-color`),borderColor:x(`item-icon-border-hover-color`),color:x(`item-icon-text-hover-color`)}},[`&${y}-active`]:{[`${y}-icon`]:{background:x(`item-icon-active-bg-color`),borderColor:x(`item-icon-active-border-color`),color:x(`item-icon-active-text-color`)}}}},[`&${t}-dot`]:{[`${y}-icon`]:{background:x(`item-icon-dot-bg-color`),borderColor:x(`item-icon-dot-border-color`),color:x(`item-icon-dot-color`),[`&${y}-icon-dot-custom`]:{background:`transparent`,border:`none`}}}},{[`${y}-${tF}`]:{[b(`item-icon-custom-color`)]:n,[b(`item-title-color`)]:m,[b(`item-content-color`)]:m,[b(`item-content-active-color`)]:p,[b(`item-text-hover-color`)]:g},[`${y}-rail-${tF}`]:{[b(`item-solid-line-color`)]:n},[`${y}-${nF}`]:{[b(`item-icon-custom-color`)]:i,[b(`item-title-color`)]:p,[b(`item-content-color`)]:m,[b(`item-content-active-color`)]:p,[b(`item-text-hover-color`)]:g},[`${y}-rail-${nF}`]:{[b(`item-solid-line-color`)]:i,[b(`rail-line-style`)]:x(`item-process-rail-line-style`)},[`${y}-${rF}`]:{[b(`item-icon-custom-color`)]:i,[b(`item-title-color`)]:p,[b(`item-content-color`)]:m,[b(`item-content-active-color`)]:p,[b(`item-text-hover-color`)]:g},[`${y}-rail-${rF}`]:{[b(`item-solid-line-color`)]:i},[`${y}-${iF}`]:{[b(`item-icon-custom-color`)]:o,[b(`item-title-color`)]:o,[b(`item-content-color`)]:o,[b(`item-content-active-color`)]:o,[b(`item-text-hover-color`)]:s},[`${y}-rail-${iF}`]:{[b(`item-solid-line-color`)]:o}},{[`&${t}-filled`]:{[y]:{[b(`item-icon-dot-border-color`)]:`transparent`},[`${y}-${tF}`]:{[b(`item-icon-bg-color`)]:l,[b(`item-icon-border-color`)]:`transparent`,[b(`item-icon-text-color`)]:a,[b(`item-icon-dot-bg-color`)]:n,[b(`item-icon-bg-hover-color`)]:d,[b(`item-icon-border-hover-color`)]:`transparent`,[b(`item-icon-text-hover-color`)]:i,[b(`item-icon-active-bg-color`)]:i,[b(`item-icon-active-border-color`)]:`transparent`,[b(`item-icon-active-text-color`)]:r},[`${y}-${nF}, ${y}-${rF}`]:{[b(`item-icon-bg-color`)]:f,[b(`item-icon-border-color`)]:`transparent`,[b(`item-icon-text-color`)]:i,[b(`item-icon-dot-bg-color`)]:i,[b(`item-icon-bg-hover-color`)]:d,[b(`item-icon-border-hover-color`)]:`transparent`,[b(`item-icon-text-hover-color`)]:i,[b(`item-icon-active-bg-color`)]:i,[b(`item-icon-active-border-color`)]:`transparent`,[b(`item-icon-active-text-color`)]:r},[`${y}-${iF}`]:{[b(`item-icon-bg-color`)]:u,[b(`item-icon-border-color`)]:`transparent`,[b(`item-icon-text-color`)]:o,[b(`item-icon-dot-bg-color`)]:o,[b(`item-icon-bg-hover-color`)]:c,[b(`item-icon-border-hover-color`)]:`transparent`,[b(`item-icon-text-hover-color`)]:o,[b(`item-icon-active-bg-color`)]:o,[b(`item-icon-active-border-color`)]:`transparent`,[b(`item-icon-active-text-color`)]:r}}},{[`&${t}-outlined`]:{[y]:{[b(`item-icon-dot-bg-color`)]:`transparent`},[`${y}-${tF}`]:{[b(`item-icon-bg-color`)]:h,[b(`item-icon-border-color`)]:n,[b(`item-icon-text-color`)]:n,[b(`item-icon-dot-color`)]:n,[b(`item-icon-bg-hover-color`)]:`transparent`,[b(`item-icon-border-hover-color`)]:g,[b(`item-icon-text-hover-color`)]:g,[b(`item-icon-active-bg-color`)]:l},[`${y}-${nF}, ${y}-${rF}`]:{[b(`item-icon-bg-color`)]:h,[b(`item-icon-border-color`)]:i,[b(`item-icon-text-color`)]:i,[b(`item-icon-dot-color`)]:i,[b(`item-icon-bg-hover-color`)]:`transparent`,[b(`item-icon-border-hover-color`)]:g,[b(`item-icon-text-hover-color`)]:g,[b(`item-icon-active-bg-color`)]:f},[`${y}-${iF}`]:{[b(`item-icon-bg-color`)]:h,[b(`item-icon-border-color`)]:o,[b(`item-icon-text-color`)]:o,[b(`item-icon-dot-color`)]:o,[b(`item-icon-bg-hover-color`)]:`transparent`,[b(`item-icon-border-hover-color`)]:s,[b(`item-icon-text-hover-color`)]:s,[b(`item-icon-active-bg-color`)]:u}}}]}},ihe=e=>{let{componentCls:t,marginXXS:n,paddingSM:r,controlHeight:i,antCls:a,calc:o}=e,s=`${t}-item`,[c,l]=sl(a,`cmp-steps`);return{[`${t}-vertical`]:{[c(`vertical-rail-margin`)]:o(n).mul(1.5).equal(),flexDirection:`column`,alignItems:`stretch`,[`> ${s}`]:{minHeight:o(i).mul(1.5).equal(),paddingBottom:r,"&:last-child":{paddingBottom:0},[`${s}-icon`]:{marginInlineStart:`calc((${l(`icon-size-max`)} - ${l(`icon-size`)}) / 2)`},[`${s}-rail`]:{[c(`rail-offset`)]:o(l(`heading-height`)).sub(l(`icon-size`)).div(2).equal(),borderInlineStartWidth:l(`rail-size`),position:`absolute`,top:o(l(`icon-size`)).add(l(`item-wrapper-padding-top`)).add(l(`rail-offset`)).add(l(`vertical-rail-margin`)).equal(),insetInlineStart:o(l(`icon-size-max`)).div(2).equal(),bottom:o(l(`vertical-rail-margin`)).sub(l(`rail-offset`)).equal(),marginInlineStart:`calc(${l(`rail-size`)} / -2)`}}}}},ahe=e=>{let{componentCls:t,antCls:n}=e,r=`${t}-item`,[i,a]=sl(n,`cmp-steps`);return{[t]:{[i(`title-font-size`)]:e.fontSizeLG,[i(`title-line-height`)]:e.lineHeightLG,[i(`subtitle-font-size`)]:e.fontSize,[i(`subtitle-line-height`)]:e.lineHeight,[i(`item-wrapper-padding-top`)]:`0px`,[i(`rail-size`)]:e.lineWidth,[i(`rail-line-style`)]:e.lineType,...Yc(e),display:`flex`,flexWrap:`nowrap`,alignItems:`flex-start`,[r]:{flex:`none`,position:`relative`},[`${r}-wrapper`]:{display:`flex`,flexWrap:`nowrap`,paddingTop:a(`item-wrapper-padding-top`)},[`${r}-header`]:{display:`flex`,flexWrap:`nowrap`,alignItems:`center`},[`${r}-title`]:{color:e.colorText,fontSize:a(`title-font-size`),lineHeight:a(`title-line-height`),wordBreak:`break-word`},[`${r}-subtitle`]:{color:e.colorTextDescription,fontWeight:`normal`,fontSize:a(`subtitle-font-size`),lineHeight:a(`subtitle-line-height`),marginInlineStart:e.marginXS,wordBreak:`break-word`},[`${r}-content`]:{color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:`break-word`},[`${r}-rail`]:{borderStyle:a(`rail-line-style`),borderWidth:0},[`${r}-title, ${r}-subtitle, ${r}-content, ${r}-rail`]:{transition:`all ${e.motionDurationSlow}`},[`&${t}-ellipsis`]:{[`${r}-title, ${r}-subtitle, ${r}-content`]:Jc},[`${r}[role='button']:not(${r}-active):hover`]:{cursor:`pointer`}}}},ohe=il(`Steps`,e=>{let t=_s(e,{inlineDotSize:6});return[ahe(t),qme(t),ihe(t),Kme(t),Xme(t),nhe(t),ehe(t),rhe(t),Zme(t),Qme(t),Jme(t),$me(t),the(t)]},e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:`unset`,descriptionMaxWidth:void 0,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:`transparent`,finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive})),she={itemIcon:Pm},che=e=>{let{size:t,className:n,rootClassName:r,style:i,variant:a=`filled`,type:o,classNames:s,styles:c,direction:l,orientation:u,responsive:d=!0,progressDot:f,labelPlacement:p,titlePlacement:m,ellipsis:h,offset:g=0,items:_,percent:v,current:y=0,onChange:b,iconRender:x,...S}=e,w=C.useContext(Ume),T=ui(`steps`),{getPrefixCls:E,direction:D,className:O,style:k}=T,A,j,M={};w?M={root:w.rootComponent,item:w.itemComponent}:{classNames:A,styles:j}=T;let N=E(),P=E(`steps`,e.prefixCls),F=`${P}-item-icon`,[I,L]=ohe(P),[R]=sl(N,`cmp-steps`),z=Rm(t),B=C.useMemo(()=>(_||[]).filter(Boolean),[_]),{xs:V}=jb(d),H=C.useMemo(()=>o&&o!==`default`?o:f?`dot`:o,[f,o]),U=H===`inline`,W=H===`dot`||H===`inline`,ee=C.useMemo(()=>H===`dot`&&typeof f==`function`?f:void 0,[H,f]),te=C.useMemo(()=>H===`panel`?`horizontal`:d&&V||(u||l)===`vertical`?`vertical`:`horizontal`,[u,l,H,d,V]),ne=C.useMemo(()=>W||te===`vertical`?te===`vertical`?`horizontal`:`vertical`:o===`navigation`?`horizontal`:m||p||`horizontal`,[W,p,te,m,o]),re=U?void 0:v,ie={...e,variant:a,size:z,type:H,orientation:te,titlePlacement:ne,current:y,percent:re,responsive:d,offset:g},[ae,G]=Id([she,A,s],[j,c],{props:ie}),oe=(e,t)=>{let{item:n,index:r,active:i,components:{Icon:a}}=t,{status:o,icon:s}=n,c=null;if(W||s)c=s;else switch(o){case`finish`:c=C.createElement(fb,{className:`${F}-finish`});break;case`error`:c=C.createElement(zl,{className:`${F}-error`});break;default:{let e=C.createElement(`span`,{className:`${F}-number`},t.index+1);o===`process`&&re!==void 0&&(e=C.createElement(Gme,{prefixCls:P,rootPrefixCls:N,percent:re},e)),c=e}}let l=C.createElement(a,null,c);return x?l=x(l,{index:r,active:i,item:n,components:{Icon:a}}):typeof ee==`function`&&(l=ee(l,{index:r,...n})),l},K=(e,t)=>{let n=e;return U&&t.item.content&&(n=C.createElement(px,{destroyOnHidden:!0,title:t.item.content},e)),C.createElement(Lm,{component:`Steps`,disabled:t.item.disabled||!b,colorSource:a===`filled`?`color`:null},n)},se=H===`panel`?e=>C.createElement(C.Fragment,null,e,C.createElement(Wme,{prefixCls:P})):void 0,ce={[R(`items-offset`)]:`${g}`,...k,...i},le=q(O,`${P}-${a}`,{[`${P}-${H}`]:H===`dot`?!1:H,[`${P}-rtl`]:D===`rtl`,[`${P}-dot`]:W,[`${P}-ellipsis`]:h,[`${P}-with-progress`]:re!==void 0,[`${P}-small`]:z===`small`},n,r,I,L);return C.createElement(Hme,{...S,prefixCls:P,className:le,style:ce,classNames:ae,styles:G,orientation:te,titlePlacement:ne,components:M,current:y,items:B,onChange:b,iconRender:oe,itemRender:K,itemWrapperRender:se})};function aF(){return aF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let[h,g]=Wn(r??!1,n);function _(e,t){let n=h;return i||(n=e,g(n),l?.(n,t)),n}function v(e){e.which===em.LEFT?_(!1,e):e.which===em.RIGHT&&_(!0,e),u?.(e)}function y(e){let t=_(!h,e);c?.(t,e)}let b=q(e,t,{[`${e}-checked`]:h,[`${e}-disabled`]:i});return C.createElement(`button`,aF({},p,{type:`button`,role:`switch`,"aria-checked":h,disabled:i,className:b,ref:m,onKeyDown:v,onClick:y}),a,C.createElement(`span`,{className:`${e}-inner`},C.createElement(`span`,{className:q(`${e}-inner-checked`,f?.content),style:d?.content},o),C.createElement(`span`,{className:q(`${e}-inner-unchecked`,f?.content),style:d?.content},s)))});oF.displayName=`Switch`;var lhe=e=>{let{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:i,innerMinMarginSM:a,innerMaxMarginSM:o,handleSizeSM:s,calc:c}=e,l=`${t}-inner`,u=J(c(s).add(c(r).mul(2)).equal()),d=J(c(o).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:i,height:n,lineHeight:J(n),[`${t}-inner`]:{paddingInlineStart:o,paddingInlineEnd:a,[`${l}-checked, ${l}-unchecked`]:{minHeight:n},[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${l}-unchecked`]:{marginTop:c(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:c(c(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:o,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${J(c(s).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:c(e.marginXXS).div(2).equal(),marginInlineEnd:c(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:c(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(e.marginXXS).div(2).equal()}}}}}}},uhe=e=>{let{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:`relative`,top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:`top`},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},dhe=e=>{let{componentCls:t,trackPadding:n,handleBg:r,handleShadow:i,handleSize:a,calc:o}=e,s=`${t}-handle`;return{[t]:{[s]:{position:`absolute`,top:n,insetInlineStart:n,width:a,height:a,transition:`all ${e.switchDuration} ease-in-out`,...fh(),"&::before":{position:`absolute`,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:o(a).div(2).equal(),boxShadow:i,transition:`all ${e.switchDuration} ease-in-out`,content:`""`,...fh()}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${J(o(a).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},fhe=e=>{let{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:i,innerMaxMargin:a,handleSize:o,switchDuration:s,calc:c}=e,l=`${t}-inner`,u=J(c(o).add(c(r).mul(2)).equal()),d=J(c(a).mul(2).equal());return{[t]:{[l]:{display:`block`,overflow:`hidden`,borderRadius:100,height:`100%`,paddingInlineStart:a,paddingInlineEnd:i,transition:[`padding-inline-start`,`padding-inline-end`].map(e=>`${e} ${s} ease-in-out`).join(`, `),...fh(),[`${l}-checked, ${l}-unchecked`]:{display:`block`,color:e.colorTextLightSolid,fontSize:e.fontSizeSM,pointerEvents:`none`,minHeight:n,transition:[`margin-inline-start`,`margin-inline-end`].map(e=>`${e} ${s} ease-in-out`).join(`, `),...fh()},[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${l}-unchecked`]:{marginTop:c(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${l}`]:{paddingInlineStart:i,paddingInlineEnd:a,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:c(r).mul(2).equal(),marginInlineEnd:c(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:c(r).mul(-1).mul(2).equal(),marginInlineEnd:c(r).mul(2).equal()}}}}}},phe=e=>{let{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:{...Yc(e),position:`relative`,display:`inline-block`,boxSizing:`border-box`,minWidth:r,height:n,lineHeight:J(n),verticalAlign:`middle`,background:e.colorTextQuaternary,border:`0`,borderRadius:100,cursor:`pointer`,transition:`all ${e.motionDurationMid}`,userSelect:`none`,...fh(),[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary},...$c(e),[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:`not-allowed`,opacity:e.switchDisabledOpacity,"*":{boxShadow:`none`,cursor:`not-allowed`}},[`&${t}-rtl`]:{direction:`rtl`}}}},mhe=il(`Switch`,e=>{let t=_s(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:`-30%`});return[phe(t),fhe(t),dhe(t),uhe(t),lhe(t)]},e=>{let{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:i}=e,a=t*n,o=r/2,s=a-4,c=o-4;return{trackHeight:a,trackHeightSM:o,trackMinWidth:s*2+8,trackMinWidthSM:c*2+4,trackPadding:2,handleBg:i,handleSize:s,handleSizeSM:c,handleShadow:`0 2px 4px 0 ${new zs(`#00230b`).setA(.2).toRgbString()}`,innerMinMargin:s/2,innerMaxMargin:s+2+4,innerMinMarginSM:c/2,innerMaxMarginSM:c+2+4}}),sF=C.forwardRef((e,t)=>{let{prefixCls:n,size:r,disabled:i,loading:a,className:o,rootClassName:s,style:c,checked:l,value:u,defaultChecked:d,defaultValue:f,onChange:p,styles:m,classNames:h,...g}=e,[_,v]=Wn(d??f??!1,l??u),{getPrefixCls:y,direction:b,className:x,style:S,classNames:w,styles:T}=ui(`switch`),E=C.useContext(Bp),D=(i??E)||a,O=y(`switch`,n),[k,A]=mhe(O),j=Rm(r),M={...e,size:j,disabled:D},[N,P]=Id([w,h],[T,m],{props:M}),F=C.createElement(`div`,{className:q(`${O}-handle`,N.indicator),style:P.indicator},a&&C.createElement(fm,{className:`${O}-loading-icon`})),I=q(x,{[`${O}-small`]:j===`small`,[`${O}-loading`]:a,[`${O}-rtl`]:b===`rtl`},o,s,N.root,k,A),L={...P.root,...S,...c},R=(...e)=>{v(e[0]),p?.(...e)};return C.createElement(Lm,{component:`Switch`,disabled:D},C.createElement(oF,{...g,classNames:N,styles:P,checked:_,onChange:R,prefixCls:O,className:I,style:L,disabled:D,ref:t,loadingIcon:F}))});sF.__ANT_SWITCH=!0;var cF={},lF=`rc-table-internal-hook`;function uF(e){let t=C.createContext(void 0);return{Context:t,Provider:({value:e,children:n})=>{let r=C.useRef(e);r.current=e;let[i]=C.useState(()=>({getValue:()=>r.current,listeners:new Set}));return Vn(()=>{(0,Yf.unstable_batchedUpdates)(()=>{i.listeners.forEach(t=>{t(e)})})},[e]),C.createElement(t.Provider,{value:i},n)},defaultValue:e}}function dF(e,t){let n=Rn(typeof t==`function`?t:e=>{if(t===void 0)return e;if(!Array.isArray(t))return e[t];let n={};return t.forEach(t=>{n[t]=e[t]}),n}),r=C.useContext(e?.Context),{listeners:i,getValue:a}=r||{},o=C.useRef();o.current=n(r?a():e?.defaultValue);let[,s]=C.useState({});return Vn(()=>{if(!r)return;function e(e){let t=n(e);Ei(o.current,t,!0)||s({})}return i.add(e),()=>{i.delete(e)}},[r]),o.current}function fF(){return fF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let s=i?{ref:o}:{},c=C.useRef(0),l=C.useRef(a);return t()===null?((!r||r(l.current,a))&&(c.current+=1),l.current=a,C.createElement(e.Provider,{value:c.current},C.createElement(n,fF({},a,s)))):C.createElement(n,fF({},a,s))};return i?C.forwardRef(a):a}function r(e,n){let r=nr(e),i=(n,i)=>{let a=r?{ref:i}:{};return t(),C.createElement(e,fF({},n,a))};return C.memo(r?C.forwardRef(i):i,n)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var{makeImmutable:hhe,responseImmutable:ghe,useImmutableMark:_he}=pF(),{makeImmutable:mF,responseImmutable:hF,useImmutableMark:vhe}=pF(),gF=uF(),_F=C.createContext({renderWithProps:!1}),yhe=`RC_TABLE_KEY`;function bhe(e){return e==null?[]:Array.isArray(e)?e:[e]}function vF(e){let t=[],n={};return e.forEach(e=>{let{key:r,dataIndex:i}=e||{},a=r||bhe(i).join(`-`)||yhe;for(;n[a];)a=`${a}_next`;n[a]=!0,t.push(a)}),t}function yF(e){return e!=null}function xhe(e){return typeof e==`number`&&!Number.isNaN(e)}function She(e){return e&&typeof e==`object`&&!Array.isArray(e)&&!C.isValidElement(e)}function Che(e,t,n,r,i,a){let o=C.useContext(_F);return qn(()=>{if(yF(r))return[r];let a=or(e,t==null||t===``?[]:Array.isArray(t)?t:[t]),s=a,c;if(i){let t=i(a,e,n);She(t)?(s=t.children,c=t.props,o.renderWithProps=!0):s=t}return[s,c]},[vhe(),e,r,t,i,n],(e,t)=>{if(a){let[,n]=e,[,r]=t;return a(r,n)}return o.renderWithProps?!0:!Ei(e,t,!0)})}function whe(e,t,n,r){let i=e+t-1;return e<=r&&i>=n}function The(e,t){return dF(gF,n=>[whe(e,t||1,n.hoverStartRow,n.hoverEndRow),n.onHover])}function bF(){return bF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let r,i=e===!0?{showTitle:!0}:e;return i&&(i.showTitle||t===`header`)&&(typeof n==`string`||typeof n==`number`?r=n.toString():C.isValidElement(n)&&typeof n.props?.children==`string`&&(r=n.props?.children)),r},xF=C.memo(e=>{let{component:t,children:n,ellipsis:r,scope:i,prefixCls:a,className:o,style:s,align:c,record:l,render:u,dataIndex:d,renderIndex:f,shouldCellUpdate:p,index:m,rowType:h,colSpan:g,rowSpan:_,fixStart:v,fixEnd:y,fixedStartShadow:b,fixedEndShadow:x,offsetFixedStartShadow:S,offsetFixedEndShadow:w,zIndex:T,zIndexReverse:E,appendNode:D,additionalProps:O={},isSticky:k}=e,A=`${a}-cell`,{allColumnsFixedLeft:j,rowHoverable:M}=dF(gF,[`allColumnsFixedLeft`,`rowHoverable`]),[N,P]=Che(l,d,f,n,u,p),F={},I=typeof v==`number`&&!j,L=typeof y==`number`&&!j,[R,z]=dF(gF,({scrollInfo:e})=>{if(!I&&!L)return[!1,!1];let[t,n]=e;return[(I&&b&&t)-S>=1,(L&&x&&n-t)-w>1]});I&&(F.insetInlineStart=v,F[`--z-offset`]=T,F[`--z-offset-reverse`]=E),L&&(F.insetInlineEnd=y,F[`--z-offset`]=T,F[`--z-offset-reverse`]=E);let B=P?.colSpan??O.colSpan??g??1,V=P?.rowSpan??O.rowSpan??_??1,[H,U]=The(m,V),W=Rn(e=>{l&&U(m,m+V-1),O?.onMouseEnter?.(e)}),ee=Rn(e=>{l&&U(-1,-1),O?.onMouseLeave?.(e)});if(B===0||V===0)return null;let te=O.title??Ehe({rowType:h,ellipsis:r,children:N}),ne=q(A,o,{[`${A}-fix`]:I||L,[`${A}-fix-start`]:I,[`${A}-fix-end`]:L,[`${A}-fix-start-shadow`]:b,[`${A}-fix-start-shadow-show`]:b&&R,[`${A}-fix-end-shadow`]:x,[`${A}-fix-end-shadow-show`]:x&&z,[`${A}-ellipsis`]:r,[`${A}-with-append`]:D,[`${A}-fix-sticky`]:(I||L)&&k,[`${A}-row-hover`]:!P&&H},O.className,P?.className),re={};c&&(re.textAlign=c);let ie={...P?.style,...F,...re,...O.style,...s},ae=N;return typeof ae==`object`&&!Array.isArray(ae)&&!C.isValidElement(ae)&&(ae=null),r&&(b||x)&&(ae=C.createElement(`span`,{className:`${A}-content`},ae)),C.createElement(t,bF({},P,O,{className:ne,style:ie,title:te,scope:i,onMouseEnter:M?W:void 0,onMouseLeave:M?ee:void 0,colSpan:B===1?null:B,rowSpan:V===1?null:V}),D,ae)});function SF(e){return e.fixed===`start`}function CF(e){return e.fixed===`end`}function wF(e,t,n,r){let i=n[e]||{},a=n[t]||{},o=null,s=null;SF(i)&&SF(a)?o=r.start[e]:CF(a)&&CF(i)&&(s=r.end[t]);let c=!1,l=!1,u=0,d=0;o!==null&&(c=!n[t+1]||!SF(n[t+1]),u=n.length*2-e,d=n.length+e),s!==null&&(l=!n[e-1]||!CF(n[e-1]),u=t,d=n.length-t);let f=0,p=0;if(c)for(let t=0;tt;--e)CF(n[e])||(p+=r.widths[e]||0);return{fixStart:o,fixEnd:s,fixedStartShadow:c,fixedEndShadow:l,offsetFixedStartShadow:f,offsetFixedEndShadow:p,isSticky:r.isSticky,zIndex:u,zIndexReverse:d}}var TF=C.createContext({});function EF(){return EF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:t,index:n,children:r,colSpan:i=1,rowSpan:a,align:o}=e,{prefixCls:s}=dF(gF,[`prefixCls`]),{scrollColumnIndex:c,stickyOffsets:l,flattenColumns:u}=C.useContext(TF),d=n+i-1+1===c?i+1:i,f=C.useMemo(()=>wF(n,n+d-1,u,l),[n,d,u,l]);return C.createElement(xF,EF({className:t,index:n,component:`td`,prefixCls:s,record:null,dataIndex:null,align:o,colSpan:d,rowSpan:a,render:()=>r},f))},Ohe=e=>{let{children:t,...n}=e;return C.createElement(`tr`,n,t)},DF=e=>{let{children:t}=e;return t};DF.Row=Ohe,DF.Cell=Dhe;var OF=hF(e=>{let{children:t,stickyOffsets:n,flattenColumns:r}=e,i=dF(gF,`prefixCls`),a=r.length-1,o=r[a],s=C.useMemo(()=>({stickyOffsets:n,flattenColumns:r,scrollColumnIndex:o?.scrollbar?a:null}),[o,r,a,n]);return C.createElement(TF.Provider,{value:s},C.createElement(`tfoot`,{className:`${i}-summary`},t))}),kF=DF;function khe(e){return null}function Ahe(e){return null}function AF(e,t,n,r,i,a,o){let s=a(t,o);e.push({record:t,indent:n,index:o,rowKey:s});let c=i?.has(s);if(t&&Array.isArray(t[r])&&c)for(let o=0;o{if(n?.size){let i=[];for(let a=0;a({record:e,indent:0,index:t,rowKey:r(e,t)}))},[e,t,n,r])}function MF(e,t,n,r){let i=dF(gF,[`prefixCls`,`fixedInfoList`,`flattenColumns`,`expandableType`,`expandRowByClick`,`onTriggerExpand`,`rowClassName`,`expandedRowClassName`,`indentSize`,`expandIcon`,`expandedRowRender`,`expandIconColumnIndex`,`expandedKeys`,`childrenColumnName`,`rowExpandable`,`onRow`]),{flattenColumns:a,expandableType:o,expandedKeys:s,childrenColumnName:c,onTriggerExpand:l,rowExpandable:u,onRow:d,expandRowByClick:f,rowClassName:p}=i,m=o===`nest`,h=o===`row`&&(!u||u(e)),g=h||m,_=s&&s.has(t),v=c&&e&&e[c],y=Rn(l),b=d?.(e,n),x=b?.onClick,S=(t,...n)=>{f&&g&&l(e,t),x?.(t,...n)},C;typeof p==`string`?C=p:typeof p==`function`&&(C=p(e,n,r));let w=vF(a);return{...i,columnsKey:w,nestExpandable:m,expanded:_,hasNestChildren:v,record:e,onTriggerExpand:y,rowSupportExpand:h,expandable:g,rowProps:{...b,className:q(C,b?.className),onClick:S}}}var NF=e=>{let{prefixCls:t,children:n,component:r,cellComponent:i,className:a,expanded:o,colSpan:s,isEmpty:c,stickyOffset:l=0}=e,{scrollbarSize:u,fixHeader:d,fixColumn:f,componentWidth:p,horizonScroll:m}=dF(gF,[`scrollbarSize`,`fixHeader`,`fixColumn`,`componentWidth`,`horizonScroll`]),h=n;return(c?m&&p:f)&&(h=C.createElement(`div`,{style:{width:p-l-(d&&!c?u:0),position:`sticky`,left:l,overflow:`hidden`},className:`${t}-expanded-row-fixed`},h)),C.createElement(r,{className:a,style:{display:o?null:`none`}},C.createElement(xF,{component:i,prefixCls:t,colSpan:s},h))};function jhe({prefixCls:e,record:t,onExpand:n,expanded:r,expandable:i}){let a=`${e}-row-expand-icon`;if(!i)return C.createElement(`span`,{className:q(a,`${e}-row-spaced`)});let o=e=>{n(t,e),e.stopPropagation()};return C.createElement(`span`,{className:q(a,{[`${e}-row-expanded`]:r,[`${e}-row-collapsed`]:!r}),onClick:o})}function Mhe(e,t,n){let r=[];function i(e){(e||[]).forEach((e,a)=>{r.push(t(e,a)),i(e[n])})}return i(e),r}function PF(e,t,n,r){return typeof e==`string`?e:typeof e==`function`?e(t,n,r):``}function FF(){return FF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:t,style:n,classNames:r,styles:i,record:a,index:o,renderIndex:s,rowKey:c,rowKeys:l,indent:u=0,rowComponent:d,cellComponent:f,scopeCellComponent:p,expandedRowInfo:m}=e,h=MF(a,c,o,u),{prefixCls:g,flattenColumns:_,expandedRowClassName:v,expandedRowRender:y,rowProps:b,expanded:x,rowSupportExpand:S}=h,w=C.useRef(!1);w.current||=x;let T=PF(v,a,o,u),E=C.createElement(d,FF({},b,{"data-row-key":c,className:q(t,`${g}-row`,`${g}-row-level-${u}`,b?.className,r.row,{[T]:u>=1}),style:{...n,...b?.style,...i.row}}),_.map((e,t)=>{let{render:n,dataIndex:c,className:d}=e,{key:_,fixedInfo:v,appendCellNode:y,additionalCellProps:b}=IF(h,e,t,u,o,l,m?.offset);return C.createElement(xF,FF({className:q(d,r.cell),style:i.cell,ellipsis:e.ellipsis,align:e.align,scope:e.rowScope,component:e.rowScope?p:f,prefixCls:g,key:_,record:a,index:o,renderIndex:s,dataIndex:c,render:n,shouldCellUpdate:e.shouldCellUpdate},v,{appendNode:y,additionalProps:b}))})),D;if(S&&(w.current||x)){let e=y(a,o,u+1,x);D=C.createElement(NF,{expanded:x,className:q(`${g}-expanded-row`,`${g}-expanded-row-level-${u+1}`,T),prefixCls:g,component:d,cellComponent:f,colSpan:m?m.colSpan:_.length,isEmpty:!1,stickyOffset:m?.sticky},e)}return C.createElement(C.Fragment,null,E,D)}),Phe=e=>{let{columnKey:t,onColumnResize:n,title:r}=e,i=C.useRef(null);return Vn(()=>{i.current&&n(t,i.current.offsetWidth)},[]),C.createElement(Gr,{data:t},C.createElement(`td`,{ref:i,style:{paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,height:0}},C.createElement(`div`,{style:{height:0,overflow:`hidden`,fontWeight:`bold`}},r||`\xA0`)))},Fhe=({prefixCls:e,columnsKey:t,onColumnResize:n,columns:r})=>{let i=C.useRef(null),{measureRowRender:a}=dF(gF,[`measureRowRender`]),o=C.createElement(`tr`,{"aria-hidden":`true`,className:`${e}-measure-row`,style:{height:0},ref:i},C.createElement(Gr.Collection,{onBatchResize:e=>{lp(i.current)&&e.forEach(({data:e,size:t})=>{n(e,t.offsetWidth)})}},t.map(e=>{let t=r.find(t=>t.key===e)?.title,i=C.isValidElement(t)?C.cloneElement(t,{ref:null}):t;return C.createElement(Phe,{key:e,columnKey:e,onColumnResize:n,title:i})})));return typeof a==`function`?a(o):o},Ihe=hF(e=>{let{data:t,measureColumnWidth:n}=e,{prefixCls:r,getComponent:i,onColumnResize:a,flattenColumns:o,getRowKey:s,expandedKeys:c,childrenColumnName:l,emptyNode:u,classNames:d,styles:f,expandedRowOffset:p=0,colWidths:m}=dF(gF,[`prefixCls`,`getComponent`,`onColumnResize`,`flattenColumns`,`getRowKey`,`expandedKeys`,`childrenColumnName`,`emptyNode`,`classNames`,`styles`,`expandedRowOffset`,`fixedInfoList`,`colWidths`]),{body:h={}}=d||{},{body:g={}}=f||{},_=jF(t,l,c,s),v=C.useMemo(()=>_.map(e=>e.rowKey),[_]),y=C.useRef({renderWithProps:!1}),b=C.useMemo(()=>{let e=o.length-p,t=0;for(let e=0;e{let{record:n,indent:r,index:i,rowKey:a}=e;return C.createElement(Nhe,{classNames:h,styles:g,key:a,rowKey:a,rowKeys:v,record:n,index:t,renderIndex:i,rowComponent:S,cellComponent:w,scopeCellComponent:T,indent:r,expandedRowInfo:b})}):C.createElement(NF,{expanded:!0,className:`${r}-placeholder`,prefixCls:r,component:S,cellComponent:w,colSpan:o.length,isEmpty:!0},u);let D=vF(o);return C.createElement(_F.Provider,{value:y.current},C.createElement(x,{style:g.wrapper,className:q(`${r}-tbody`,h.wrapper)},n&&C.createElement(Fhe,{prefixCls:r,columnsKey:D,onColumnResize:a,columns:o}),E))}),LF=`RC_TABLE_INTERNAL_COL_DEFINE`;function Lhe(e){let{expandable:t,...n}=e,r;return r=`expandable`in e?{...n,...t}:n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}function RF(){return RF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{colWidths:t,columns:n,columCount:r}=e,{tableLayout:i}=dF(gF,[`tableLayout`]),a=[],o=r||n.length,s=!1;for(let e=o-1;e>=0;--e){let r=t[e],o=n&&n[e],c,l;if(o&&(c=o[LF],i===`auto`&&(l=o.minWidth)),r||l||c||s){let{columnType:t,...n}=c||{};a.unshift(C.createElement(`col`,RF({key:e,style:{width:r,minWidth:l}},n))),s=!0}}return a.length>0?C.createElement(`colgroup`,null,a):null};function Rhe(e,t){return(0,C.useMemo)(()=>{let n=[];for(let r=0;r{let{className:n,style:r,noData:i,columns:a,flattenColumns:o,colWidths:s,colGroup:c,columCount:l,stickyOffsets:u,direction:d,fixHeader:f,stickyTopOffset:p,stickyBottomOffset:m,stickyClassName:h,scrollX:g,tableLayout:_=`fixed`,onScroll:v,maxContentScroll:y,children:b,...x}=e,{prefixCls:S,scrollbarSize:w,isSticky:T,getComponent:E}=dF(gF,[`prefixCls`,`scrollbarSize`,`isSticky`,`getComponent`]),D=E([`header`,`table`],`table`),O=T&&!f?0:w,k=C.useRef(null),A=C.useCallback(e=>{$n(t,e),$n(k,e)},[]);C.useEffect(()=>{function e(e){let{currentTarget:t,deltaX:n}=e;if(n){let{scrollLeft:r,scrollWidth:i,clientWidth:a}=t,o=i-a,s=r+n;d===`rtl`?(s=Math.max(-o,s),s=Math.min(0,s)):(s=Math.min(o,s),s=Math.max(0,s)),v({currentTarget:t,scrollLeft:s}),e.preventDefault()}}let t=k.current;return t?.addEventListener(`wheel`,e,{passive:!1}),()=>{t?.removeEventListener(`wheel`,e)}},[]);let j=o[o.length-1],M={fixed:j?j.fixed:null,scrollbar:!0,onHeaderCell:()=>({className:`${S}-cell-scrollbar`})},N=(0,C.useMemo)(()=>O?[...a,M]:a,[O,a]),P=(0,C.useMemo)(()=>O?[...o,M]:o,[O,o]),F=(0,C.useMemo)(()=>{let{start:e,end:t}=u;return{...u,start:e,end:[...t.map(e=>e+O),0],isSticky:T}},[O,u,T]),I=Rhe(s,l),L=(0,C.useMemo)(()=>{let e=!I||!I.length||I.every(e=>!e);return i||e},[i,I]);return C.createElement(`div`,{style:{overflow:`hidden`,...T?{top:p,bottom:m}:{},...r},ref:A,className:q(n,{[h]:!!h})},C.createElement(D,{style:{tableLayout:_,minWidth:`100%`,width:g}},L?c:C.createElement(zF,{colWidths:[...I,O],columCount:l+1,columns:P}),b({...x,stickyOffsets:F,columns:N,flattenColumns:P})))}),BF=C.memo(zhe);function VF(){return VF=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{cells:t,stickyOffsets:n,flattenColumns:r,rowComponent:i,cellComponent:a,onHeaderRow:o,index:s,classNames:c,styles:l}=e,{prefixCls:u}=dF(gF,[`prefixCls`]),d;o&&(d=o(t.map(e=>e.column),s));let f=vF(t.map(e=>e.column));return C.createElement(i,VF({},d,{className:c.row,style:l.row}),t.map((e,t)=>{let{column:i,colStart:o,colEnd:s,colSpan:c}=e,l=wF(o,s,r,n),d=i?.onHeaderCell?.(i)||{};return C.createElement(xF,VF({},e,{scope:i.title?c>1?`colgroup`:`col`:null,ellipsis:i.ellipsis,align:i.align,component:a,prefixCls:u,key:f[t]},l,{additionalProps:d,rowType:`header`}))}))};function Vhe(e,t,n){let r=[];function i(e,a,o=0){r[o]=r[o]||[];let s=a;return e.filter(Boolean).map(e=>{let a={key:e.key,className:q(e.className,t.cell)||``,style:n.cell,children:e.title,column:e,colStart:s},c=1,l=e.children;return l&&l.length>0&&(c=i(l,s,o+1).reduce((e,t)=>e+t,0),a.hasSubColumns=!0),`colSpan`in e&&({colSpan:c}=e),`rowSpan`in e&&(a.rowSpan=e.rowSpan),a.colSpan=c,a.colEnd=a.colStart+c-1,r[o].push(a),s+=c,c})}i(e,0);let a=r.length;for(let e=0;e{!(`rowSpan`in t)&&!t.hasSubColumns&&(t.rowSpan=a-e)});return r}var HF=hF(e=>{let{stickyOffsets:t,columns:n,flattenColumns:r,onHeaderRow:i}=e,{prefixCls:a,getComponent:o,classNames:s,styles:c}=dF(gF,[`prefixCls`,`getComponent`,`classNames`,`styles`]),{header:l={}}=s||{},{header:u={}}=c||{},d=C.useMemo(()=>Vhe(n,l,u),[n,l,u]),f=o([`header`,`wrapper`],`thead`),p=o([`header`,`row`],`tr`),m=o([`header`,`cell`],`th`);return C.createElement(f,{className:q(`${a}-thead`,l.wrapper),style:u.wrapper},d.map((e,n)=>C.createElement(Bhe,{classNames:l,styles:u,key:n,flattenColumns:r,cells:e,stickyOffsets:t,rowComponent:p,cellComponent:m,onHeaderRow:i,index:n})))});function UF(e,t=``){return typeof t==`number`?t:t.endsWith(`%`)?e*parseFloat(t)/100:null}function Hhe(e,t,n){return C.useMemo(()=>{if(t&&t>0){let r=0,i=0;e.forEach(e=>{let n=UF(t,e.width);n?r+=n:i+=1});let a=Math.max(t,n),o=Math.max(a-r,i),s=i,c=o/i,l=0,u=e.map(e=>{let n={...e},r=UF(t,n.width);if(r)n.width=r;else{let e=Math.floor(c);n.width=s===1?o:e,o-=e,--s}return l+=n.width,n});if(l{let r=Math.floor(t.width*e);t.width=n===u.length-1?o:r,o-=r})}return[u,Math.max(l,a)]}return[e,t]},[e,t,n])}function WF(e){return wr(e).filter(e=>C.isValidElement(e)).map(e=>{let{key:t,props:n}=e,{children:r,...i}=n,a={key:t,...i};return r&&(a.children=WF(r)),a})}function GF(e){return e.filter(e=>e&&typeof e==`object`&&!e.hidden).map(e=>{let t=e.children;return t&&t.length>0?{...e,children:GF(t)}:e})}function KF(e,t=`key`){return e.filter(e=>e&&typeof e==`object`).reduce((e,n,r)=>{let{fixed:i}=n,a=i===!0||i===`left`?`start`:i===`right`?`end`:i,o=`${t}-${r}`,s=n.children;return s&&s.length>0?[...e,...KF(s,o).map(e=>({...e,fixed:e.fixed??a}))]:[...e,{key:o,...n,fixed:a}]},[])}function Uhe({prefixCls:e,columns:t,children:n,expandable:r,expandedKeys:i,columnTitle:a,getRowKey:o,onTriggerExpand:s,expandIcon:c,rowExpandable:l,expandIconColumnIndex:u,expandedRowOffset:d=0,direction:f,expandRowByClick:p,columnWidth:m,fixed:h,scrollWidth:g,clientWidth:_},v){let y=C.useMemo(()=>GF((t||WF(n)||[]).slice()),[t,n]),b=C.useMemo(()=>{if(r){let t=y.slice();if(!t.includes(cF)){let e=u||0,n=e===0&&(h===`right`||h===`end`)?y.length:e;n>=0&&t.splice(n,0,cF)}let n=t.indexOf(cF);t=t.filter((e,t)=>e!==cF||t===n);let r=y[n],f;f=h||(r?r.fixed:null);let g={[LF]:{className:`${e}-expand-icon-col`,columnType:`EXPAND_COLUMN`},title:a,fixed:f,className:`${e}-row-expand-icon-cell`,width:m,render:(t,n,r)=>{let a=o(n,r),u=c({prefixCls:e,expanded:i.has(a),expandable:l?l(n):!0,record:n,onExpand:s});return p?C.createElement(`span`,{onClick:e=>e.stopPropagation()},u):u}};return t.map((e,t)=>{let n=e===cF?g:e;return te!==cF)},[r,y,o,i,c,f,d]),x=C.useMemo(()=>{let e=b;return v&&(e=v(e)),e.length||(e=[{render:()=>null}]),e},[v,b,f]),[S,w]=Hhe(C.useMemo(()=>KF(x),[x,f,g]),g,_);return[x,S,w]}function Whe(e,t,n){let r=Lhe(e),{expandIcon:i,expandedRowKeys:a,defaultExpandedRowKeys:o,defaultExpandAllRows:s,expandedRowRender:c,onExpand:l,onExpandedRowsChange:u,childrenColumnName:d}=r,f=i||jhe,p=d||`children`,m=C.useMemo(()=>c?`row`:e.expandable&&e.internalHooks===`rc-table-internal-hook`&&e.expandable.__PARENT_RENDER_ICON__||t.some(e=>e&&typeof e==`object`&&e[p])?`nest`:!1,[!!c,t]),[h,g]=C.useState(()=>o||(s?Mhe(t,n,p):[])),_=C.useMemo(()=>new Set(a||h||[]),[a,h]);return[r,m,_,f,p,C.useCallback(e=>{let r=n(e,t.indexOf(e)),i,a=_.has(r);a?(_.delete(r),i=[..._]):i=[..._,r],g(i),l&&l(!a,e),u&&u(i)},[n,_,t,l,u])]}function Ghe(e,t){let n=C.useMemo(()=>e.map((n,r)=>wF(r,r,e,t)),[e,t]);return qn(()=>n,[n],(e,t)=>!Ei(e,t))}function Khe(e){let t=(0,C.useRef)(e),[,n]=(0,C.useState)({}),r=(0,C.useRef)(null),i=(0,C.useRef)([]);function a(e){i.current.push(e);let a=Promise.resolve();r.current=a,a.then(()=>{if(r.current===a){let e=i.current,a=t.current;i.current=[],e.forEach(e=>{t.current=e(t.current)}),r.current=null,a!==t.current&&n({})}})}return(0,C.useEffect)(()=>()=>{r.current=null},[]),[t.current,a]}function qhe(e){let t=(0,C.useRef)(e||null),n=(0,C.useRef)(null);function r(){clearTimeout(n.current)}function i(e){t.current=e,r(),n.current=setTimeout(()=>{t.current=null,n.current=void 0},100)}function a(){return t.current}return(0,C.useEffect)(()=>r,[]),[i,a]}function Jhe(){let[e,t]=C.useState(-1),[n,r]=C.useState(-1);return[e,n,C.useCallback((e,n)=>{t(e),r(n)},[])]}var qF=zn()?window:null;function Yhe(e,t){let{offsetHeader:n=0,offsetSummary:r=0,offsetScroll:i=0,getContainer:a=()=>qF}=typeof e==`object`?e:{},o=a()||qF,s=!!e;return C.useMemo(()=>({isSticky:s,stickyClassName:s?`${t}-sticky-holder`:``,offsetHeader:n,offsetSummary:r,offsetScroll:i,container:o}),[s,i,n,r,t,o])}function Xhe(e,t){return(0,C.useMemo)(()=>{let n=t.length,r=(n,r,i)=>{let a=[],o=0;for(let s=n;s!==r;s+=i)a.push(o),t[s].fixed&&(o+=e[s]||0);return a};return{start:r(0,n,1),end:r(n-1,-1,-1).reverse(),widths:e}},[e,t])}var JF=e=>{let{children:t,className:n,style:r}=e;return C.createElement(`div`,{className:n,style:r},t)};function YF(e){let t=Ar(e).getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}var XF=`mouseup`,ZF=`mousemove`,QF=`scroll`,$F=`resize`,Zhe=C.forwardRef((e,t)=>{let{scrollBodyRef:n,onScroll:r,offsetScroll:i,container:a,direction:o}=e,s=dF(gF,`prefixCls`),c=n.current?.scrollWidth||0,l=n.current?.clientWidth||0,u=c&&l/c*l,d=C.useRef(null),[f,p]=Khe({scrollLeft:0,isHiddenScrollBar:!0}),m=C.useRef({delta:0,x:0}),[h,g]=C.useState(!1),_=C.useRef(null);C.useEffect(()=>()=>{ii.cancel(_.current)},[]);let v=()=>{g(!1)},y=e=>{e.persist(),m.current.delta=e.pageX-f.scrollLeft,m.current.x=0,g(!0),e.preventDefault()},b=e=>{let{buttons:t}=e||window?.event;if(!h||t===0){h&&g(!1);return}let n=m.current.x+e.pageX-m.current.x-m.current.delta,i=o===`rtl`;n=Math.max(i?u-l:0,Math.min(i?0:l-u,n)),(!i||Math.abs(n)+Math.abs(u){ii.cancel(_.current),_.current=ii(()=>{if(!n.current)return;let e=YF(n.current).top,t=e+n.current.offsetHeight,r=a===window?document.documentElement.scrollTop+window.innerHeight:YF(a).top+a.clientHeight;t-Af()<=r||e>=r-i?p(e=>({...e,isHiddenScrollBar:!0})):p(e=>({...e,isHiddenScrollBar:!1}))})},S=e=>{p(t=>({...t,scrollLeft:e/c*l||0}))};return C.useImperativeHandle(t,()=>({setScrollLeft:S,checkScrollBarVisible:x})),C.useEffect(()=>(document.body.addEventListener(XF,v,!1),document.body.addEventListener(ZF,b,!1),x(),()=>{document.body.removeEventListener(XF,v),document.body.removeEventListener(ZF,b)}),[u,h]),C.useEffect(()=>{if(n.current){let e=[],t=Ar(n.current);for(;t;)e.push(t),t=t.parentElement;return e.forEach(e=>{e.addEventListener(QF,x,!1)}),window.addEventListener($F,x,!1),window.addEventListener(QF,x,!1),a.addEventListener(QF,x,!1),()=>{e.forEach(e=>{e.removeEventListener(QF,x)}),window.removeEventListener($F,x),window.removeEventListener(QF,x),a.removeEventListener(QF,x)}}},[a]),C.useEffect(()=>{f.isHiddenScrollBar||p(e=>{let t=n.current;return t?{...e,scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}:e})},[f.isHiddenScrollBar]),c<=l||!u||f.isHiddenScrollBar?null:C.createElement(`div`,{style:{height:Af(),width:l,bottom:i},className:`${s}-sticky-scroll`},C.createElement(`div`,{onMouseDown:y,ref:d,className:q(`${s}-sticky-scroll-bar`,{[`${s}-sticky-scroll-bar-active`]:h}),style:{width:`${u}px`,transform:`translate3d(${f.scrollLeft}px, 0, 0)`}}))});function eI(){return eI=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let n={rowKey:`key`,prefixCls:tI,emptyText:ege,...e},{prefixCls:r,className:i,rowClassName:a,style:o,classNames:s,styles:c,data:l,rowKey:u,scroll:d,tableLayout:f,direction:p,title:m,footer:h,summary:g,caption:_,id:v,showHeader:y,components:b,emptyText:x,onRow:S,onHeaderRow:w,measureRowRender:T,onScroll:E,internalHooks:D,transformColumns:O,internalRefs:k,tailor:A,getContainerWidth:j,sticky:M,rowHoverable:N=!0}=n,P=l||Qhe,F=!!P.length,I=D===lF,L=C.useCallback((e,t)=>or(b,e)||t,[b]),R=C.useMemo(()=>typeof u==`function`?u:e=>e&&e[u],[u]),z=L([`body`]),[B,V,H]=Jhe(),[U,W,ee,te,ne,re]=Whe(n,P,R),ie=d?.x,[ae,G]=C.useState(0),[oe,K,se]=Uhe({...n,...U,expandable:!!U.expandedRowRender,columnTitle:U.columnTitle,expandedKeys:ee,getRowKey:R,onTriggerExpand:re,expandIcon:te,expandIconColumnIndex:U.expandIconColumnIndex,direction:p,scrollWidth:I&&A&&typeof ie==`number`?ie:null,clientWidth:ae},I?O:null),ce=se??ie,le=C.useMemo(()=>({columns:oe,flattenColumns:K}),[oe,K]),ue=C.useRef(null),de=C.useRef(null),fe=C.useRef(null),pe=C.useRef(null);C.useImperativeHandle(t,()=>({nativeElement:ue.current,scrollTo:e=>{if(fe.current instanceof HTMLElement){let{index:t,top:n,key:r,offset:i}=e;if(xhe(n))fe.current?.scrollTo({top:n});else{let e=r??R(P[t]),n=fe.current.querySelector(`[data-row-key="${e}"]`);if(n)if(!i)n.scrollIntoView();else{let e=n.offsetTop;fe.current.scrollTo({top:e+i})}}}else fe.current?.scrollTo&&fe.current.scrollTo(e)}}));let me=C.useRef(null),[he,ge]=C.useState(!1),[_e,ve]=C.useState(!1),[ye,be]=C.useState(new Map),xe=vF(K).map(e=>ye.get(e)),Se=C.useMemo(()=>xe,[xe.join(`_`)]),Ce=Xhe(Se,K),we=d&&yF(d.y),Te=d&&yF(ce)||!!U.fixed,Ee=Te&&K.some(({fixed:e})=>e),De=C.useRef(null),{isSticky:Oe,offsetHeader:ke,offsetSummary:Ae,offsetScroll:je,stickyClassName:Me,container:Ne}=Yhe(M,r),Pe=C.useMemo(()=>g?.(P),[g,P]),Fe=(we||Oe)&&C.isValidElement(Pe)&&Pe.type===DF&&Pe.props.fixed,Ie,Le,Re;we&&(Le={overflowY:F?`scroll`:`auto`,maxHeight:d.y}),Te&&(Ie={overflowX:`auto`},we||(Le={overflowY:`hidden`}),Re={width:ce===!0?`auto`:ce,minWidth:`100%`});let ze=C.useCallback((e,t)=>{be(n=>{if(n.get(e)!==t){let r=new Map(n);return r.set(e,t),r}return n})},[]),[Be,Ve]=qhe(null);function He(e,t){t&&(typeof t==`function`?t(e):t.scrollLeft!==e&&(t.scrollLeft=e,t.scrollLeft!==e&&setTimeout(()=>{t.scrollLeft=e},0)))}let[Ue,We]=C.useState([0,0]),Ge=Rn(({currentTarget:e,scrollLeft:t})=>{let n=typeof t==`number`?t:e.scrollLeft,r=e||$he;(!Ve()||Ve()===r)&&(Be(r),He(n,de.current),He(n,fe.current),He(n,me.current),He(n,De.current?.setScrollLeft));let i=e||de.current;if(i){let e=I&&A&&typeof ce==`number`?ce:i.scrollWidth,t=i.clientWidth,r=Math.abs(n);if(We(n=>{let i=[r,e-t];return Ei(n,i)?n:i}),e===t){ge(!1),ve(!1);return}ge(r>0),ve(r{Ge(e),E?.(e)}),qe=()=>{Te&&fe.current?Ge({currentTarget:Ar(fe.current),scrollLeft:fe.current?.scrollLeft}):(ge(!1),ve(!1))},Je=e=>{De.current?.checkScrollBarVisible();let t=e??ue.current?.offsetWidth??0;I&&j&&ue.current&&(t=j(ue.current,t)||t),t!==ae&&(qe(),G(t))};Vn(()=>{Te&&Je()},[Te]);let Ye=C.useRef(!1);C.useEffect(()=>{Ye.current&&qe()},[Te,l,oe.length]),C.useEffect(()=>{Ye.current=!0},[]);let[Xe,Ze]=C.useState(0);Vn(()=>{(!A||!I)&&(fe.current instanceof Element?Ze(jf(fe.current).width):Ze(jf(pe.current).width))},[]),C.useEffect(()=>{I&&k&&(k.body.current=fe.current)});let Qe=C.useCallback(e=>C.createElement(C.Fragment,null,C.createElement(HF,e),Fe===`top`&&C.createElement(OF,e,Pe)),[Fe,Pe]),$e=C.useCallback(e=>C.createElement(OF,e,Pe),[Pe]),et=L([`table`],`table`),tt=C.useMemo(()=>f||(Ee?ce===`max-content`?`auto`:`fixed`:we||Oe||K.some(({ellipsis:e})=>e)?`fixed`:`auto`),[we,Ee,K,f,Oe]),nt,rt={colWidths:Se,columCount:K.length,stickyOffsets:Ce,onHeaderRow:w,fixHeader:we,scroll:d},it=C.useMemo(()=>F?null:typeof x==`function`?x():x,[F,x]),at=C.createElement(Ihe,{data:P,measureColumnWidth:we||Te||Oe}),ot=C.createElement(zF,{colWidths:K.map(({width:e})=>e),columns:K}),st=_==null?void 0:C.createElement(`caption`,{className:`${r}-caption`},_),ct=Hu(n,{data:!0}),lt=Hu(n,{aria:!0});if(we||Oe){let e;typeof z==`function`?(e=z(P,{scrollbarSize:Xe,ref:fe,onScroll:Ge}),rt.colWidths=K.map(({width:e},t)=>{let n=t===K.length-1?e-Xe:e;return typeof n==`number`&&!Number.isNaN(n)?n:0})):e=C.createElement(`div`,{style:{...Ie,...Le},onScroll:Ke,ref:fe,className:`${r}-body`},C.createElement(et,eI({style:{...Re,tableLayout:tt}},lt),st,ot,at,!Fe&&Pe&&C.createElement(OF,{stickyOffsets:Ce,flattenColumns:K},Pe)));let t={noData:!P.length,maxContentScroll:Te&&ce===`max-content`,...rt,...le,direction:p,stickyClassName:Me,scrollX:ce,tableLayout:tt,onScroll:Ge};nt=C.createElement(C.Fragment,null,y!==!1&&C.createElement(BF,eI({},t,{stickyTopOffset:ke,className:`${r}-header`,ref:de,colGroup:ot}),Qe),e,Fe&&Fe!==`top`&&C.createElement(BF,eI({},t,{stickyBottomOffset:Ae,className:`${r}-summary`,ref:me,colGroup:ot}),$e),Oe&&fe.current&&fe.current instanceof Element&&C.createElement(Zhe,{ref:De,offsetScroll:je,scrollBodyRef:fe,onScroll:Ge,container:Ne,direction:p}))}else nt=C.createElement(`div`,{style:{...Ie,...Le,...c?.content},className:q(`${r}-content`,s?.content),onScroll:Ge,ref:fe},C.createElement(et,eI({style:{...Re,tableLayout:tt}},lt),st,ot,y!==!1&&C.createElement(HF,eI({},rt,le)),at,Pe&&C.createElement(OF,{stickyOffsets:Ce,flattenColumns:K},Pe)));let ut={...o};Oe&&(ut[`--columns-count`]=K.length);let dt=C.createElement(`div`,eI({className:q(r,i,{[`${r}-rtl`]:p===`rtl`,[`${r}-fix-start-shadow`]:Te,[`${r}-fix-end-shadow`]:Te,[`${r}-fix-start-shadow-show`]:Te&&he,[`${r}-fix-end-shadow-show`]:Te&&_e,[`${r}-layout-fixed`]:f===`fixed`,[`${r}-fixed-header`]:we,[`${r}-fixed-column`]:Ee,[`${r}-scroll-horizontal`]:Te,[`${r}-has-fix-start`]:K[0]?.fixed,[`${r}-has-fix-end`]:K[K.length-1]?.fixed===`end`}),style:ut,id:v,ref:ue},ct),m&&C.createElement(JF,{className:q(`${r}-title`,s?.title),style:c?.title},m(P)),C.createElement(`div`,{ref:pe,className:q(`${r}-container`,s?.section),style:c?.section},nt),h&&C.createElement(JF,{className:q(`${r}-footer`,s?.footer),style:c?.footer},h(P)));Te&&(dt=C.createElement(Gr,{onResize:({offsetWidth:e})=>Je(e)},dt));let ft=Ghe(K,Ce),pt=C.useMemo(()=>({scrollX:ce,scrollInfo:Ue,classNames:s,styles:c,prefixCls:r,getComponent:L,scrollbarSize:Xe,direction:p,fixedInfoList:ft,isSticky:Oe,componentWidth:ae,fixHeader:we,fixColumn:Ee,horizonScroll:Te,tableLayout:tt,rowClassName:a,expandedRowClassName:U.expandedRowClassName,expandIcon:te,expandableType:W,expandRowByClick:U.expandRowByClick,expandedRowRender:U.expandedRowRender,expandedRowOffset:U.expandedRowOffset,onTriggerExpand:re,expandIconColumnIndex:U.expandIconColumnIndex,indentSize:U.indentSize,allColumnsFixedLeft:K.every(e=>e.fixed===`start`),emptyNode:it,columns:oe,flattenColumns:K,onColumnResize:ze,colWidths:Se,hoverStartRow:B,hoverEndRow:V,onHover:H,rowExpandable:U.rowExpandable,onRow:S,getRowKey:R,expandedKeys:ee,childrenColumnName:ne,rowHoverable:N,measureRowRender:T}),[ce,Ue,s,c,r,L,Xe,p,ft,Oe,ae,we,Ee,Te,tt,a,U.expandedRowClassName,te,W,U.expandRowByClick,U.expandedRowRender,U.expandedRowOffset,re,U.expandIconColumnIndex,U.indentSize,it,oe,K,ze,Se,B,V,H,U.rowExpandable,S,R,ee,ne,N,T]);return C.createElement(gF.Provider,{value:pt},dt)}),nI=e=>mF(tge,e),rI=nI();rI.EXPAND_COLUMN=cF,rI.INTERNAL_HOOKS=lF,rI.Column=khe,rI.ColumnGroup=Ahe,rI.Summary=kF;var iI=uF(null),aI=uF(null);function oI(){return oI=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{rowInfo:t,column:n,colIndex:r,indent:i,index:a,component:o,renderIndex:s,record:c,style:l,className:u,inverse:d,getHeight:f}=e,{render:p,dataIndex:m,className:h,width:g}=n,{columnsOffset:_}=dF(aI,[`columnsOffset`]),{key:v,fixedInfo:y,appendCellNode:b,additionalCellProps:x}=IF(t,n,r,i,a),{style:S,colSpan:w=1,rowSpan:T=1}=x,E=nge(r-1,w,_),D=w>1?g-E:0,O={...S,...l,flex:`0 0 ${E}px`,width:`${E}px`,marginRight:D,pointerEvents:`auto`},k=C.useMemo(()=>d?T<=1:w===0||T===0||T>1,[T,w,d]);k?O.visibility=`hidden`:d&&(O.height=f?.(T));let A=k?()=>null:p,j={};return(T===0||w===0)&&(j.rowSpan=1,j.colSpan=1),C.createElement(xF,oI({className:q(h,u),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:o,prefixCls:t.prefixCls,key:v,record:c,index:a,renderIndex:s,dataIndex:m,render:A,shouldCellUpdate:n.shouldCellUpdate},y,{appendNode:b,additionalProps:{...x,style:O,...j}}))};function sI(){return sI=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{data:n,index:r,className:i,rowKey:a,style:o,extra:s,getHeight:c,...l}=e,{record:u,indent:d,index:f}=n,{scrollX:p,flattenColumns:m,prefixCls:h,fixColumn:g,componentWidth:_}=dF(gF,[`prefixCls`,`flattenColumns`,`fixColumn`,`componentWidth`,`scrollX`]),{getComponent:v}=dF(iI,[`getComponent`]),y=MF(u,a,r,d),b=v([`body`,`row`],`div`),x=v([`body`,`cell`],`div`),{rowSupportExpand:S,expanded:w,rowProps:T,expandedRowRender:E,expandedRowClassName:D}=y,O;if(S&&w){let e=E(u,r,d+1,w),t=PF(D,u,r,d),n={};g&&(n={style:{"--virtual-width":`${_}px`}});let i=`${h}-expanded-row-cell`;O=C.createElement(b,{className:q(`${h}-expanded-row`,`${h}-expanded-row-level-${d+1}`,t)},C.createElement(xF,{component:x,prefixCls:h,className:q(i,{[`${i}-fixed`]:g}),additionalProps:n},e))}let k={...o,width:p};s&&(k.position=`absolute`,k.pointerEvents=`none`);let A=C.createElement(b,sI({},T,l,{"data-row-key":a,ref:S?null:t,className:q(i,`${h}-row`,T?.className,{[`${h}-row-extra`]:s}),style:{...k,...T?.style}}),m.map((e,t)=>C.createElement(rge,{key:t,component:x,rowInfo:y,column:e,colIndex:t,indent:d,index:r,renderIndex:f,record:u,inverse:s,getHeight:c})));return S?C.createElement(`div`,{ref:t},A,O):A})),ige=hF(C.forwardRef((e,t)=>{let{data:n,onScroll:r}=e,{flattenColumns:i,onColumnResize:a,getRowKey:o,expandedKeys:s,prefixCls:c,childrenColumnName:l,scrollX:u,direction:d}=dF(gF,[`flattenColumns`,`onColumnResize`,`getRowKey`,`prefixCls`,`expandedKeys`,`childrenColumnName`,`scrollX`,`direction`]),{sticky:f,scrollY:p,listItemHeight:m,getComponent:h,onScroll:g}=dF(iI),_=C.useRef(null),v=jF(n,l,s,o),y=C.useMemo(()=>{let e=0;return i.map(({width:t,minWidth:n,key:r})=>{let i=Math.max(t||0,n||0);return e+=i,[r,i,e]})},[i]),b=C.useMemo(()=>y.map(e=>e[2]),[y]);C.useEffect(()=>{y.forEach(([e,t])=>{a(e,t)})},[y]),C.useImperativeHandle(t,()=>{let e={scrollTo:e=>{let{offset:t,...n}=e;t?_.current?.scrollTo({...n,offset:t,align:`top`}):_.current?.scrollTo(e)},nativeElement:_.current?.nativeElement};return Object.defineProperty(e,`scrollLeft`,{get:()=>_.current?.getScrollInfo().x||0,set:e=>{_.current?.scrollTo({left:e})}}),Object.defineProperty(e,`scrollTop`,{get:()=>_.current?.getScrollInfo().y||0,set:e=>{_.current?.scrollTo({top:e})}}),e});let x=(e,t)=>{let n=v[t]?.record,{onCell:r}=e;return r?r(n,t)?.rowSpan??1:1},S=e=>{let{start:t,end:n,getSize:r,offsetY:a}=e;if(n<0)return null;let s=i.filter(e=>x(e,t)===0),c=t;for(let e=t;e>=0;--e)if(s=s.filter(t=>x(t,e)===0),!s.length){c=e;break}let l=i.filter(e=>x(e,n)!==1),u=n;for(let e=n;ex(t,e)!==1),!l.length){u=Math.max(e-1,n);break}let d=[];for(let e=c;e<=u;e+=1)v[e]&&i.some(t=>x(t,e)>1)&&d.push(e);return d.map(e=>{let t=v[e],n=o(t.record,e),i=t=>{let i=e+t-1,a=v[i];if(!a||!a.record){let e=Math.min(i,v.length-1),t=v[e],a=r(n,o(t.record,e));return a.bottom-a.top}let s=r(n,o(a.record,i));return s.bottom-s.top},s=r(n);return C.createElement(cI,{key:e,data:t,rowKey:n,index:e,style:{top:-a+s.top},extra:!0,getHeight:i})})},w=C.useMemo(()=>({columnsOffset:b}),[b]),T=`${c}-tbody`,E=h([`body`,`wrapper`]),D={};return f&&(D.position=`sticky`,D.bottom=0,typeof f==`object`&&f.offsetScroll&&(D.bottom=f.offsetScroll)),C.createElement(aI.Provider,{value:w},C.createElement(jy,{fullHeight:!1,ref:_,prefixCls:`${T}-virtual`,styles:{horizontalScrollBar:D},className:T,height:p,itemHeight:m||24,data:v,itemKey:e=>o(e.record),component:E,scrollWidth:u,direction:d,onVirtualScroll:({x:e})=>{r({currentTarget:_.current?.nativeElement,scrollLeft:e})},onScroll:g,extraRender:S},(e,t,n)=>{let r=o(e.record,t);return C.createElement(cI,{data:e,rowKey:r,index:t,style:n.style})}))}));function lI(){return lI=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{ref:n,onScroll:r}=t;return C.createElement(ige,{ref:n,data:e,onScroll:r})},oge=C.forwardRef((e,t)=>{let{data:n,columns:r,scroll:i,sticky:a,prefixCls:o=tI,className:s,listItemHeight:c,components:l,onScroll:u}=e,{x:d,y:f}=i||{};typeof d!=`number`&&(d=1),typeof f!=`number`&&(f=500);let p=Rn((e,t)=>or(l,e)||t),m=Rn(u),h=C.useMemo(()=>({sticky:a,scrollY:f,listItemHeight:c,getComponent:p,onScroll:m}),[a,f,c,p,m]);return C.createElement(iI.Provider,{value:h},C.createElement(rI,lI({},e,{className:q(s,`${o}-virtual`),scroll:{...i,x:d},components:{...l,body:n?.length?age:void 0},columns:r,internalHooks:lF,tailor:!0,ref:t})))}),uI=e=>mF(oge,e);uI();var sge=e=>null,cge=e=>null,dI=C.createContext(null),lge=C.createContext({}),uge=C.memo(({prefixCls:e,level:t,isStart:n,isEnd:r})=>{let i=`${e}-indent-unit`,a=[];for(let e=0;e{let{eventKey:t,className:n,style:r,dragOver:i,dragOverGapTop:a,dragOverGapBottom:o,isLeaf:s,isStart:c,isEnd:l,expanded:u,selected:d,checked:f,halfChecked:p,loading:m,domRef:h,active:g,data:_,onMouseMove:v,selectable:y,treeId:b,...x}=e,S=Rf(b,t),w=C.useContext(dI),{classNames:T,styles:E}=w||{},D=C.useContext(lge),O=C.useRef(null),[k,A]=C.useState(!1),j=!!(w.disabled||e.disabled||D.nodeDisabled?.(_)),M=C.useMemo(()=>!w.checkable||e.checkable===!1?!1:w.checkable,[w.checkable,e.checkable]),N=t=>{j||w.onNodeSelect(t,GA(e))},P=t=>{j||!M||e.disableCheckbox||w.onNodeCheck(t,GA(e),!f)},F=C.useMemo(()=>typeof y==`boolean`?y:w.selectable,[y,w.selectable]),I=t=>{w.onNodeClick(t,GA(e)),F?N(t):P(t)},L=t=>{w.onNodeDoubleClick(t,GA(e))},R=t=>{w.onNodeMouseEnter(t,GA(e))},z=t=>{w.onNodeMouseLeave(t,GA(e))},B=t=>{w.onNodeContextMenu(t,GA(e))},V=C.useMemo(()=>!!(w.draggable&&(!w.draggable.nodeDraggable||w.draggable.nodeDraggable(_))),[w.draggable,_]),H=t=>{t.stopPropagation(),A(!0),w.onNodeDragStart(t,e);try{t.dataTransfer.setData(`text/plain`,``)}catch{}},U=t=>{t.preventDefault(),t.stopPropagation(),w.onNodeDragEnter(t,e)},W=t=>{t.preventDefault(),t.stopPropagation(),w.onNodeDragOver(t,e)},ee=t=>{t.stopPropagation(),w.onNodeDragLeave(t,e)},te=t=>{t.stopPropagation(),A(!1),w.onNodeDragEnd(t,e)},ne=t=>{t.preventDefault(),t.stopPropagation(),A(!1),w.onNodeDrop(t,e)},re=t=>{m||w.onNodeExpand(t,GA(e))},ie=C.useMemo(()=>{let{children:e}=IA(w.keyEntities,t)||{};return!!(e||[]).length},[w.keyEntities,t]),ae=C.useMemo(()=>UA(s,w.loadData,ie,e.loaded),[s,w.loadData,ie,e.loaded]);C.useEffect(()=>{m||typeof w.loadData==`function`&&u&&!ae&&!e.loaded&&w.onNodeLoad(GA(e))},[m,w.loadData,w.onNodeLoad,u,ae,e]);let G=C.useMemo(()=>w.draggable?.icon?C.createElement(`span`,{className:`${w.prefixCls}-draggable-icon`},w.draggable.icon):null,[w.draggable]),oe=t=>{let n=e.switcherIcon||w.switcherIcon;return typeof n==`function`?n({...e,isLeaf:t}):n},K=()=>{if(ae){let e=oe(!0);return e===!1?null:C.createElement(`span`,{className:q(`${w.prefixCls}-switcher`,`${w.prefixCls}-switcher-noop`)},e)}let e=oe(!1);return e===!1?null:C.createElement(`span`,{onClick:re,className:q(`${w.prefixCls}-switcher`,`${w.prefixCls}-switcher_${u?pI:mI}`)},e)},se=C.useMemo(()=>{if(!M)return null;let t=typeof M==`boolean`?null:M;return C.createElement(`span`,{className:q(`${w.prefixCls}-checkbox`,{[`${w.prefixCls}-checkbox-checked`]:f,[`${w.prefixCls}-checkbox-indeterminate`]:!f&&p,[`${w.prefixCls}-checkbox-disabled`]:j||e.disableCheckbox}),onClick:P,role:`checkbox`,"aria-checked":p?`mixed`:f,"aria-disabled":j||e.disableCheckbox,"aria-labelledby":S},t)},[M,f,p,j,e.disableCheckbox,S]),ce=C.useMemo(()=>ae?null:u?pI:mI,[ae,u]),le=C.useMemo(()=>C.createElement(`span`,{className:q(T?.itemIcon,`${w.prefixCls}-iconEle`,`${w.prefixCls}-icon__${ce||`docu`}`,{[`${w.prefixCls}-icon_loading`]:m}),style:E?.itemIcon}),[w.prefixCls,ce,m]),ue=C.useMemo(()=>{let n=!!w.draggable;return!e.disabled&&n&&w.dragOverNodeKey===t?w.dropIndicatorRender({dropPosition:w.dropPosition,dropLevelOffset:w.dropLevelOffset,indent:w.indent,prefixCls:w.prefixCls,direction:w.direction}):null},[w.dropPosition,w.dropLevelOffset,w.indent,w.prefixCls,w.direction,w.draggable,w.dragOverNodeKey,w.dropIndicatorRender]),de=C.useMemo(()=>{let{title:t=dge}=e,n=`${w.prefixCls}-node-content-wrapper`,r;if(w.showIcon){let t=e.icon||w.icon;r=t?C.createElement(`span`,{className:q(T?.itemIcon,`${w.prefixCls}-iconEle`,`${w.prefixCls}-icon__customize`),style:E?.itemIcon},typeof t==`function`?t(e):t):le}else w.loadData&&m&&(r=le);let i;return i=typeof t==`function`?t(_):w.titleRender?w.titleRender(_):t,C.createElement(`span`,{ref:O,title:typeof t==`string`?t:``,className:q(n,`${n}-${ce||`normal`}`,{[`${w.prefixCls}-node-selected`]:!j&&(d||k)}),onMouseEnter:R,onMouseLeave:z,onContextMenu:B,onClick:I,onDoubleClick:L},r,C.createElement(`span`,{className:q(`${w.prefixCls}-title`,T?.itemTitle),style:E?.itemTitle},i),ue)},[w.prefixCls,w.showIcon,e,w.icon,le,w.titleRender,_,ce,R,z,B,I,L]),fe=Hu(x,{aria:!0,data:!0}),{level:pe}=IA(w.keyEntities,t)||{},me=l[l.length-1],he=!j&&V,ge=w.draggingNodeKey===t;return C.createElement(`div`,fI({ref:h,role:`treeitem`,id:S,"aria-expanded":ae?void 0:u,"aria-selected":F&&!j?d:void 0,"aria-checked":M&&!j?p?`mixed`:f:void 0,"aria-disabled":j,className:q(n,`${w.prefixCls}-treenode`,T?.item,{[`${w.prefixCls}-treenode-disabled`]:j,[`${w.prefixCls}-treenode-switcher-${u?`open`:`close`}`]:!s,[`${w.prefixCls}-treenode-checkbox-checked`]:f,[`${w.prefixCls}-treenode-checkbox-indeterminate`]:p,[`${w.prefixCls}-treenode-selected`]:d,[`${w.prefixCls}-treenode-loading`]:m,[`${w.prefixCls}-treenode-active`]:g,[`${w.prefixCls}-treenode-leaf-last`]:me,[`${w.prefixCls}-treenode-draggable`]:V,dragging:ge,"drop-target":w.dropTargetKey===t,"drop-container":w.dropContainerKey===t,"drag-over":!j&&i,"drag-over-gap-top":!j&&a,"drag-over-gap-bottom":!j&&o,"filter-node":w.filterTreeNode?.(GA(e)),[`${w.prefixCls}-treenode-leaf`]:ae}),style:{...r,...E?.item},draggable:he,onDragStart:he?H:void 0,onDragEnter:V?U:void 0,onDragOver:V?W:void 0,onDragLeave:V?ee:void 0,onDrop:V?ne:void 0,onDragEnd:V?te:void 0,onMouseMove:v},fe),C.createElement(uge,{prefixCls:w.prefixCls,level:pe,isStart:c,isEnd:l}),G,K(),se,de)};hI.isTreeNode=1;function gI(e,t){if(!e)return[];let n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function _I(e,t){let n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function vI(e){return e.split(`-`)}function fge(e,t){let n=[],r=IA(t,e);function i(e=[]){e.forEach(({key:e,children:t})=>{n.push(e),i(t)})}return i(r.children),n}function pge(e){if(e.parent){let t=vI(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function mge(e){let t=vI(e.pos);return Number(t[t.length-1])===0}function yI(e,t,n,r,i,a,o,s,c,l){let{clientX:u,clientY:d}=e,{top:f,height:p}=e.target.getBoundingClientRect(),m=((l===`rtl`?-1:1)*((i?.x||0)-u)-12)/r,h=c.filter(e=>s[e]?.children?.length),g=IA(s,n.eventKey);if(de.key===g.key),t=o[e<=0?0:e-1].key;g=IA(s,t)}let _=g.key,v=g,y=g.key,b=0,x=0;if(!h.includes(_))for(let e=0;e-1.5?a({dragNode:S,dropNode:C,dropPosition:1})?b=1:w=!1:a({dragNode:S,dropNode:C,dropPosition:0})?b=0:a({dragNode:S,dropNode:C,dropPosition:1})?b=1:w=!1:a({dragNode:S,dropNode:C,dropPosition:1})?b=1:w=!1,{dropPosition:b,dropLevelOffset:x,dropTargetKey:g.key,dropTargetPos:g.pos,dragOverNodeKey:y,dropContainerKey:b===0?null:g.parent?.key||null,dropAllowed:w}}function bI(e,t){if(!e)return;let{multiple:n}=t;return n?e.slice():e.length?[e[0]]:e}function xI(e){if(!e)return null;let t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(typeof e==`object`)t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return xr(!1,"`checkedKeys` is not an array or an object"),null;return t}function SI(e,t){let n=new Set;function r(e){if(n.has(e))return;let i=IA(t,e);if(!i)return;n.add(e);let{parent:a,node:o}=i;o.disabled||a&&r(a.key)}return(e||[]).forEach(e=>{r(e)}),[...n]}var CI={},wI=`SELECT_ALL`,TI=`SELECT_INVERT`,EI=`SELECT_NONE`,DI=[],OI=(e,t,n=[])=>((t||[]).forEach(t=>{n.push(t),gd(t)&&e in t&&OI(e,t[e],n)}),n),hge=(e,t)=>{let{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:i,getCheckboxProps:a,getTitleCheckboxProps:o,onChange:s,onSelect:c,onSelectAll:l,onSelectInvert:u,onSelectNone:d,onSelectMultiple:f,columnWidth:p,type:m,selections:h,fixed:g,renderCell:_,hideSelectAll:v,checkStrictly:y=!0}=t||{},{prefixCls:b,data:x,pageData:S,getRecordByKey:w,getRowKey:T,expandType:E,childrenColumnName:D,locale:O,getPopupContainer:k}=e,A=Or(`Table`),[j,M]=Ld(e=>e),[N,P]=Wn(i||DI,r),F=N??DI,I=C.useRef(new Map),L=(0,C.useCallback)(e=>{if(n){let t=new Map;e.forEach(e=>{let n=w(e);!n&&I.current.has(e)&&(n=I.current.get(e)),t.set(e,n)}),I.current=t}},[w,n]);C.useEffect(()=>{L(F)},[F,L]);let R=(0,C.useMemo)(()=>OI(D,S),[D,S]),{keyEntities:z}=(0,C.useMemo)(()=>{if(y)return{keyEntities:null};let e=x;if(n){let t=new Set(R.map(T)),n=Array.from(I.current).reduce((e,[n,r])=>t.has(n)?e:e.concat(r),[]);e=[].concat(Qr(e),Qr(n))}return HA(e,{externalGetKey:T,childrenPropName:D})},[x,T,y,D,n,R]),B=(0,C.useMemo)(()=>{let e=new Map;return R.forEach((t,n)=>{let r=T(t,n),i=(a?a(t):null)||{};e.set(r,i)}),e},[R,T,a]),V=(0,C.useCallback)(e=>{let t=T(e),n;return n=B.has(t)?B.get(T(e)):a?a(e):void 0,!!n?.disabled},[B,T]),[H,U]=(0,C.useMemo)(()=>{if(y)return[F,[]];let{checkedKeys:e,halfCheckedKeys:t}=qA(F,!0,z,V);return[e||[],t]},[F,y,z,V]),W=(0,C.useMemo)(()=>{let e=m===`radio`?H.slice(0,1):H;return new Set(e)},[H,m]),ee=(0,C.useMemo)(()=>m===`radio`?new Set:new Set(U),[U,m]);C.useEffect(()=>{t||P(DI)},[!!t]);let te=(0,C.useCallback)((e,t)=>{let r,i;L(e),n?(r=e,i=e.map(e=>I.current.get(e))):(r=[],i=[],e.forEach(e=>{let t=w(e);t!==void 0&&(r.push(e),i.push(t))})),P(r),s?.(r,i,{type:t})},[P,w,s,n]),ne=(0,C.useCallback)((e,t,n,r)=>{if(c){let i=n.map(w);c(w(e),t,i,r)}te(n,`single`)},[c,w,te]),re=(0,C.useMemo)(()=>!h||v?null:(h===!0?[wI,TI,EI]:h).map(e=>e===`SELECT_ALL`?{key:`all`,text:O.selectionAll,onSelect(){te(x.map((e,t)=>T(e,t)).filter(e=>!B.get(e)?.disabled||W.has(e)),`all`)}}:e===`SELECT_INVERT`?{key:`invert`,text:O.selectInvert,onSelect(){let e=new Set(W);S.forEach((t,n)=>{let r=T(t,n);B.get(r)?.disabled||(e.has(r)?e.delete(r):e.add(r))});let t=Array.from(e);u&&(A.deprecated(!1,`onSelectInvert`,`onChange`),u(t)),te(t,`invert`)}}:e===`SELECT_NONE`?{key:`none`,text:O.selectNone,onSelect(){d?.(),te(Array.from(W).filter(e=>B.get(e)?.disabled),`none`)}}:e).map(e=>({...e,onSelect:(...t)=>{e.onSelect?.(...t),M(null)}})),[h,v,O.selectionAll,O.selectInvert,O.selectNone,B,W,x,S,T,u,te]);return[(0,C.useCallback)(e=>{if(!t)return e.filter(e=>e!==CI);let n=Qr(e),r=new Set(W),i=R.map(T).filter(e=>!B.get(e).disabled),a=i.every(e=>r.has(e)),s=i.some(e=>r.has(e)),c=()=>{let e=[];a?i.forEach(t=>{r.delete(t),e.push(t)}):i.forEach(t=>{r.has(t)||(r.add(t),e.push(t))});let t=Array.from(r);l?.(!a,t.map(w),e.map(w)),te(t,`all`),M(null)},u,d;if(m!==`radio`){let e;if(re){let t={getPopupContainer:k,items:re.map((e,t)=>{let{key:n,text:r,onSelect:a}=e;return{key:n??t,onClick:()=>{a?.(i)},label:r}})};e=C.createElement(`div`,{className:`${b}-selection-extra`},C.createElement(MM,{menu:t,getPopupContainer:k},C.createElement(`span`,null,C.createElement(hb,null))))}let t=R.map((e,t)=>{let n=T(e,t),i=B.get(n)||{};return{checked:r.has(n),...i}}).filter(({disabled:e})=>e),n=!!t.length&&t.length===R.length,l=n&&t.every(({checked:e})=>e),f=n&&t.some(({checked:e})=>e),p=o?.()||{},{onChange:m,disabled:h}=p;d=C.createElement(QA,{"aria-label":e?`Custom selection`:`Select all`,...p,checked:n?l:!!R.length&&a,indeterminate:n?!l&&f:!a&&s,onChange:e=>{c(),m?.(e)},disabled:h??(R.length===0||n),skipGroup:!0}),u=!v&&C.createElement(`div`,{className:`${b}-selection`},d,e)}let x;x=m===`radio`?(e,t,n)=>{let i=T(t,n),a=r.has(i),o=B.get(i);return{node:C.createElement(Rk,{...o,checked:a,onClick:e=>{e.stopPropagation(),o?.onClick?.(e)},onChange:e=>{r.has(i)||ne(i,!0,[i],e.nativeEvent),o?.onChange?.(e)}}),checked:a}}:(e,t,n)=>{let a=T(t,n),o=r.has(a),s=ee.has(a),c=B.get(a),l;return l=E===`nest`?s:c?.indeterminate??s,{node:C.createElement(QA,{...c,indeterminate:l,checked:o,skipGroup:!0,onClick:e=>{e.stopPropagation(),c?.onClick?.(e)},onChange:e=>{let{nativeEvent:t}=e,{shiftKey:n}=t,s=i.indexOf(a),l=H.some(e=>i.includes(e));if(n&&y&&l){let e=j(s,i,r),t=Array.from(r);f?.(!o,t.map(w),e.map(w)),te(t,`multiple`)}else{let e=H;if(y){let n=o?gI(e,a):_I(e,a);ne(a,!o,n,t)}else{let{checkedKeys:n,halfCheckedKeys:r}=qA([].concat(Qr(e),[a]),!0,z,V),i=n;if(o){let e=new Set(n);e.delete(a),i=qA(Array.from(e),{checked:!1,halfCheckedKeys:r},z,V).checkedKeys}ne(a,!o,i,t)}}M(o?null:s),c?.onChange?.(e)}}),checked:o}};let S=(e,t,n)=>{let{node:r,checked:i}=x(e,t,n);return _?_(i,t,n,r):r};if(!n.includes(CI))if(n.findIndex(e=>e.RC_TABLE_INTERNAL_COL_DEFINE?.columnType===`EXPAND_COLUMN`)===0){let[e,...t]=n;n=[e,CI].concat(Qr(t))}else n=[CI].concat(Qr(n));let D=n.indexOf(CI);n=n.filter((e,t)=>e!==CI||t===D);let O=n[D-1],A=n[D+1],N=g;N===void 0&&(A?.fixed===void 0?O?.fixed!==void 0&&(N=O.fixed):N=A.fixed),N&&O&&O.RC_TABLE_INTERNAL_COL_DEFINE?.columnType===`EXPAND_COLUMN`&&O.fixed===void 0&&(O.fixed=N);let P=q(`${b}-selection-col`,{[`${b}-selection-col-with-dropdown`]:h&&m===`checkbox`}),F={fixed:N,width:p,className:`${b}-selection-column`,title:t?.columnTitle?typeof t.columnTitle==`function`?t.columnTitle(d):t.columnTitle:u,render:S,onCell:t.onCell,align:t.align,[LF]:{className:P}};return n.map(e=>e===CI?F:e)},[T,R,t,H,W,ee,p,re,E,B,f,ne,V]),W]};function gge(e){return t=>{let{prefixCls:n,onExpand:r,record:i,expanded:a,expandable:o}=t,s=`${n}-row-expand-icon`;return C.createElement(`button`,{type:`button`,onClick:e=>{r(i,e),e.stopPropagation()},className:q(s,{[`${s}-spaced`]:!o,[`${s}-expanded`]:o&&a,[`${s}-collapsed`]:o&&!a}),"aria-label":a?e.collapse:e.expand,"aria-expanded":a})}}function _ge(e){return(t,n)=>{let r=t.querySelector(`.${e}-container`),i=n;if(r){let e=getComputedStyle(r),t=Number.parseInt(e.borderLeftWidth,10),a=Number.parseInt(e.borderRightWidth,10);i=n-t-a}return i}}var kI=(e,t)=>`key`in e&&pd(e.key)?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join(`.`):e.dataIndex:t;function AI(e,t){return t?`${t}-${e}`:`${e}`}var jI=(e,t)=>typeof e==`function`?e(t):e,vge=(e,t)=>{let n=jI(e,t);return Object.prototype.toString.call(n)===`[object Object]`?``:n},yge={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z`}}]},name:`filter`,theme:`filled`};function MI(){return MI=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,MI({},e,{ref:t,icon:yge}))),bge=e=>{let{dropPosition:t,dropLevelOffset:n,indent:r}=e,i={pointerEvents:`none`,position:`absolute`,right:0,backgroundColor:`red`,height:2};switch(t){case-1:i.top=0,i.left=-n*r;break;case 1:i.bottom=0,i.left=-n*r;break;case 0:i.bottom=0,i.left=r;break}return C.createElement(`div`,{style:i})};function xge(e,t){let[n,r]=C.useState(!1);Vn(()=>{if(n)return e(),()=>{t()}},[n]),Vn(()=>(r(!0),()=>{r(!1)}),[])}function PI(){return PI=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:n,style:r,motion:i,motionNodes:a,motionType:o,onMotionStart:s,onMotionEnd:c,active:l,treeNodeRequiredProps:u,...d}=e,[f,p]=C.useState(!0),{prefixCls:m}=C.useContext(dI),h=a&&o!==`hide`;Vn(()=>{a&&h!==f&&p(h)},[a]);let g=()=>{a&&s()},_=C.useRef(!1),v=()=>{a&&!_.current&&(_.current=!0,c())};return xge(g,v),a?C.createElement(Lu,PI({ref:t,visible:f},i,{motionAppear:o===`show`,onVisibleChanged:e=>{h===e&&v()}}),({className:e,style:t},n)=>C.createElement(`div`,{ref:n,className:q(`${m}-treenode-motion`,e),style:t},a.map(e=>{let{data:{...t},title:n,key:r,isStart:i,isEnd:a}=e;delete t.children;let o=WA(r,u);return C.createElement(hI,PI({},t,o,{title:n,active:l,data:e.data,key:r,isStart:i,isEnd:a}))}))):C.createElement(hI,PI({domRef:t,className:n,style:r},d,{active:l}))});function Cge(e=[],t=[]){let n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function i(e,t){let n=new Map;e.forEach(e=>{n.set(e,!0)});let r=t.filter(e=>!n.has(e));return r.length===1?r[0]:null}return ne.key===n)+1],i=t.findIndex(e=>e.key===n);if(r){let e=t.findIndex(e=>e.key===r.key);return t.slice(i+1,e)}return t.slice(i+1)}function II(){return II=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,data:r,selectable:i,checkable:a,expandedKeys:o,selectedKeys:s,checkedKeys:c,loadedKeys:l,loadingKeys:u,halfCheckedKeys:d,keyEntities:f,disabled:p,dragging:m,dragOverNodeKey:h,dropPosition:g,motion:_,height:v,itemHeight:y,virtual:b,scrollWidth:x,focusable:S,activeItem:w,tabIndex:T,onKeyDown:E,onFocus:D,onBlur:O,onMouseDown:k,onMouseUp:A,onActiveChange:j,onListChangeStart:M,onListChangeEnd:N,...P}=e,F=Bf(),I=C.useRef(null),L=C.useRef(null);C.useImperativeHandle(t,()=>({scrollTo:e=>{I.current.scrollTo(e)},getIndentWidth:()=>L.current.offsetWidth}));let[R,z]=C.useState(o),[B,V]=C.useState(r),[H,U]=C.useState(r),[W,ee]=C.useState([]),[te,ne]=C.useState(null),re=C.useRef(r);re.current=r;function ie(){let e=re.current;V(e),U(e),ee([]),ne(null),N()}Vn(()=>{z(o);let e=Cge(R,o);if(e.key!==null)if(e.add){let t=B.findIndex(({key:t})=>t===e.key),n=VI(FI(B,r,e.key),b,v,y),i=B.slice();i.splice(t+1,0,BI),U(i),ee(n),ne(`show`)}else{let t=r.findIndex(({key:t})=>t===e.key),n=VI(FI(r,B,e.key),b,v,y),i=r.slice();i.splice(t+1,0,BI),U(i),ee(n),ne(`hide`)}else B!==r&&(V(r),U(r))},[o,r]),C.useEffect(()=>{m||ie()},[m]);let ae=_?H:r,G={expandedKeys:o,selectedKeys:s,loadedKeys:l,loadingKeys:u,checkedKeys:c,halfCheckedKeys:d,dragOverNodeKey:h,dropPosition:g,keyEntities:f};return C.createElement(C.Fragment,null,C.createElement(`div`,{className:`${n}-treenode`,"aria-hidden":!0,style:{position:`absolute`,pointerEvents:`none`,visibility:`hidden`,height:0,overflow:`hidden`,border:0,padding:0}},C.createElement(`div`,{className:`${n}-indent`},C.createElement(`div`,{ref:L,className:`${n}-indent-unit`}))),C.createElement(jy,II({},P,{data:ae,itemKey:HI,height:v,fullHeight:!1,virtual:b,itemHeight:y,scrollWidth:x,prefixCls:`${n}-list`,ref:I,role:`tree`,tabIndex:S!==!1&&!p?T:void 0,"aria-activedescendant":w?Rf(F,w.key):void 0,onKeyDown:E,onFocus:D,onBlur:O,onMouseDown:k,onMouseUp:A,onVisibleChange:e=>{e.every(e=>HI(e)!==LI)&&ie()}}),e=>{let{pos:t,data:{...n},title:r,key:i,isStart:a,isEnd:o}=e,s=RA(i,t);delete n.key,delete n.children;let c=WA(s,G);return C.createElement(Sge,II({},n,c,{title:r,active:!!w&&i===w.key,pos:t,data:e.data,isStart:a,isEnd:o,motion:_,motionNodes:i===LI?W:null,motionType:te,onMotionStart:M,onMotionEnd:ie,treeNodeRequiredProps:G,treeId:F,onMouseMove:()=>{j(null)}}))}))});function UI(){return UI=Object.assign?Object.assign.bind():function(e){for(var t=1;t!0,expandAction:!1};static TreeNode=hI;destroyed=!1;delayedDragEnterLogic;loadingRetryTimes={};state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],activeKey:null,listChanging:!1,prevProps:null,fieldNames:zA()};dragStartMousePosition=null;dragNodeProps=null;currentMouseOverDroppableNodeKey=null;focusedByMouse=!1;listRef=C.createRef();componentDidMount(){this.destroyed=!1,this.onUpdated()}componentDidUpdate(){this.onUpdated()}onUpdated(){let{activeKey:e,itemScrollOffset:t=0}=this.props;e!==void 0&&e!==this.state.activeKey&&(this.setState({activeKey:e}),e!==null&&this.scrollTo({key:e,offset:t}))}componentWillUnmount(){window.removeEventListener(`dragend`,this.onWindowDragEnd),this.destroyed=!0}static getDerivedStateFromProps(e,t){let{prevProps:n}=t,r={prevProps:e};function i(t){return!n&&e.hasOwnProperty(t)||n&&n[t]!==e[t]}let a,{fieldNames:o}=t;if(i(`fieldNames`)&&(o=zA(e.fieldNames),r.fieldNames=o),i(`treeData`)?{treeData:a}=e:i(`children`)&&(xr(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),a=BA(e.children)),a){r.treeData=a;let e=HA(a,{fieldNames:o});r.keyEntities={[LI]:zI,...e.keyEntities}}let s=r.keyEntities||t.keyEntities;if(i(`expandedKeys`)||n&&i(`autoExpandParent`))r.expandedKeys=e.autoExpandParent||!n&&e.defaultExpandParent?SI(e.expandedKeys,s):e.expandedKeys;else if(!n&&e.defaultExpandAll){let e={...s};delete e[LI];let t=[];Object.keys(e).forEach(n=>{let r=e[n];r.children&&r.children.length&&t.push(r.key)}),r.expandedKeys=t}else !n&&e.defaultExpandedKeys&&(r.expandedKeys=e.autoExpandParent||e.defaultExpandParent?SI(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(r.expandedKeys||delete r.expandedKeys,(a||r.expandedKeys)&&(r.flattenNodes=VA(a||t.treeData,r.expandedKeys||t.expandedKeys,o)),e.selectable&&(i(`selectedKeys`)?r.selectedKeys=bI(e.selectedKeys,e):!n&&e.defaultSelectedKeys&&(r.selectedKeys=bI(e.defaultSelectedKeys,e))),e.checkable){let o;if(i(`checkedKeys`)?o=xI(e.checkedKeys)||{}:!n&&e.defaultCheckedKeys?o=xI(e.defaultCheckedKeys)||{}:a&&(o=xI(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),o){let{checkedKeys:t=[],halfCheckedKeys:n=[]}=o;if(!e.checkStrictly){let e=qA(t,!0,s);({checkedKeys:t,halfCheckedKeys:n}=e)}r.checkedKeys=t,r.halfCheckedKeys=n}}return i(`loadedKeys`)&&(r.loadedKeys=e.loadedKeys),r}onNodeDragStart=(e,t)=>{let{expandedKeys:n,keyEntities:r}=this.state,{onDragStart:i}=this.props,{eventKey:a}=t;this.dragNodeProps=t,this.dragStartMousePosition={x:e.clientX,y:e.clientY};let o=gI(n,a);this.setState({draggingNodeKey:a,dragChildrenKeys:fge(a,r),indent:this.listRef.current.getIndentWidth()}),this.setExpandedKeys(o),window.addEventListener(`dragend`,this.onWindowDragEnd),i?.({event:e,node:GA(t)})};onNodeDragEnter=(e,t)=>{let{expandedKeys:n,keyEntities:r,dragChildrenKeys:i,flattenNodes:a,indent:o}=this.state,{onDragEnter:s,onExpand:c,allowDrop:l,direction:u}=this.props,{pos:d,eventKey:f}=t;if(this.currentMouseOverDroppableNodeKey!==f&&(this.currentMouseOverDroppableNodeKey=f),!this.dragNodeProps){this.resetDragState();return}let{dropPosition:p,dropLevelOffset:m,dropTargetKey:h,dropContainerKey:g,dropTargetPos:_,dropAllowed:v,dragOverNodeKey:y}=yI(e,this.dragNodeProps,t,o,this.dragStartMousePosition,l,a,r,n,u);if(i.includes(h)||!v){this.resetDragState();return}if(this.delayedDragEnterLogic||={},Object.keys(this.delayedDragEnterLogic).forEach(e=>{clearTimeout(this.delayedDragEnterLogic[e])}),this.dragNodeProps.eventKey!==t.eventKey&&(e.persist(),this.delayedDragEnterLogic[d]=window.setTimeout(()=>{if(this.state.draggingNodeKey===null)return;let i=[...n],a=IA(r,t.eventKey);a&&(a.children||[]).length&&(i=_I(n,t.eventKey)),this.props.hasOwnProperty(`expandedKeys`)||this.setExpandedKeys(i),c?.(i,{node:GA(t),expanded:!0,nativeEvent:e.nativeEvent})},800)),this.dragNodeProps.eventKey===h&&m===0){this.resetDragState();return}this.setState({dragOverNodeKey:y,dropPosition:p,dropLevelOffset:m,dropTargetKey:h,dropContainerKey:g,dropTargetPos:_,dropAllowed:v}),s?.({event:e,node:GA(t),expandedKeys:n})};onNodeDragOver=(e,t)=>{let{dragChildrenKeys:n,flattenNodes:r,keyEntities:i,expandedKeys:a,indent:o}=this.state,{onDragOver:s,allowDrop:c,direction:l}=this.props;if(!this.dragNodeProps)return;let{dropPosition:u,dropLevelOffset:d,dropTargetKey:f,dropContainerKey:p,dropTargetPos:m,dropAllowed:h,dragOverNodeKey:g}=yI(e,this.dragNodeProps,t,o,this.dragStartMousePosition,c,r,i,a,l);n.includes(f)||!h||(this.dragNodeProps.eventKey===f&&d===0?this.state.dropPosition===null&&this.state.dropLevelOffset===null&&this.state.dropTargetKey===null&&this.state.dropContainerKey===null&&this.state.dropTargetPos===null&&this.state.dropAllowed===!1&&this.state.dragOverNodeKey===null||this.resetDragState():u===this.state.dropPosition&&d===this.state.dropLevelOffset&&f===this.state.dropTargetKey&&p===this.state.dropContainerKey&&m===this.state.dropTargetPos&&h===this.state.dropAllowed&&g===this.state.dragOverNodeKey||this.setState({dropPosition:u,dropLevelOffset:d,dropTargetKey:f,dropContainerKey:p,dropTargetPos:m,dropAllowed:h,dragOverNodeKey:g}),s?.({event:e,node:GA(t)}))};onNodeDragLeave=(e,t)=>{this.currentMouseOverDroppableNodeKey===t.eventKey&&!e.currentTarget.contains(e.relatedTarget)&&(this.resetDragState(),this.currentMouseOverDroppableNodeKey=null);let{onDragLeave:n}=this.props;n?.({event:e,node:GA(t)})};onWindowDragEnd=e=>{this.onNodeDragEnd(e,null,!0),window.removeEventListener(`dragend`,this.onWindowDragEnd)};onNodeDragEnd=(e,t)=>{let{onDragEnd:n}=this.props;this.setState({dragOverNodeKey:null}),this.cleanDragState(),n?.({event:e,node:GA(t)}),this.dragNodeProps=null,window.removeEventListener(`dragend`,this.onWindowDragEnd)};onNodeDrop=(e,t,n=!1)=>{let{dragChildrenKeys:r,dropPosition:i,dropTargetKey:a,dropTargetPos:o,dropAllowed:s}=this.state;if(!s)return;let{onDrop:c}=this.props;if(this.setState({dragOverNodeKey:null}),this.cleanDragState(),a===null)return;let l={...WA(a,this.getTreeNodeRequiredProps()),active:this.getActiveItem()?.key===a,data:IA(this.state.keyEntities,a).node};xr(!r.includes(a),`Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.`);let u=vI(o),d={event:e,node:GA(l),dragNode:this.dragNodeProps?GA(this.dragNodeProps):null,dragNodesKeys:[this.dragNodeProps.eventKey].concat(r),dropToGap:i!==0,dropPosition:i+Number(u[u.length-1])};n||c?.(d),this.dragNodeProps=null};resetDragState(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}cleanDragState=()=>{let{draggingNodeKey:e}=this.state;e!==null&&this.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),this.dragStartMousePosition=null,this.currentMouseOverDroppableNodeKey=null};triggerExpandActionExpand=(e,t)=>{let{expandedKeys:n,flattenNodes:r}=this.state,{expanded:i,key:a,isLeaf:o}=t;if(o||e.shiftKey||e.metaKey||e.ctrlKey)return;let s=r.filter(e=>e.key===a)[0],c=GA({...WA(a,this.getTreeNodeRequiredProps()),data:s.data});this.setExpandedKeys(i?gI(n,a):_I(n,a)),this.onNodeExpand(e,c)};onNodeClick=(e,t)=>{let{onClick:n,expandAction:r}=this.props;r===`click`&&this.triggerExpandActionExpand(e,t),n?.(e,t)};onNodeDoubleClick=(e,t)=>{let{onDoubleClick:n,expandAction:r}=this.props;r===`doubleClick`&&this.triggerExpandActionExpand(e,t),n?.(e,t)};onNodeSelect=(e,t)=>{let{selectedKeys:n}=this.state,{keyEntities:r,fieldNames:i}=this.state,{onSelect:a,multiple:o}=this.props,{selected:s}=t,c=t[i.key],l=!s;n=l?o?_I(n,c):[c]:gI(n,c);let u=n.map(e=>{let t=IA(r,e);return t?t.node:null}).filter(Boolean);this.setUncontrolledState({selectedKeys:n}),a?.(n,{event:`select`,selected:l,node:t,selectedNodes:u,nativeEvent:e.nativeEvent})};onNodeCheck=(e,t,n)=>{let{keyEntities:r,checkedKeys:i,halfCheckedKeys:a}=this.state,{checkStrictly:o,onCheck:s}=this.props,{key:c}=t,l,u={event:`check`,node:t,checked:n,nativeEvent:e.nativeEvent};if(o){let e=n?_I(i,c):gI(i,c);l={checked:e,halfChecked:gI(a,c)},u.checkedNodes=e.map(e=>IA(r,e)).filter(Boolean).map(e=>e.node),this.setUncontrolledState({checkedKeys:e})}else{let{checkedKeys:e,halfCheckedKeys:t}=qA([...i,c],!0,r);if(!n){let n=new Set(e);n.delete(c),{checkedKeys:e,halfCheckedKeys:t}=qA(Array.from(n),{checked:!1,halfCheckedKeys:t},r)}l=e,u.checkedNodes=[],u.checkedNodesPositions=[],u.halfCheckedKeys=t,e.forEach(e=>{let t=IA(r,e);if(!t)return;let{node:n,pos:i}=t;u.checkedNodes.push(n),u.checkedNodesPositions.push({node:n,pos:i})}),this.setUncontrolledState({checkedKeys:e},!1,{halfCheckedKeys:t})}s?.(l,u)};onNodeLoad=e=>{let{key:t}=e,{keyEntities:n}=this.state;if(IA(n,t)?.children?.length)return;let r=new Promise((n,r)=>{this.setState(({loadedKeys:i=[],loadingKeys:a=[]})=>{let{loadData:o,onLoad:s}=this.props;return!o||i.includes(t)||a.includes(t)?null:(o(e).then(()=>{let{loadedKeys:r}=this.state,i=_I(r,t);s?.(i,{event:`load`,node:e}),this.setUncontrolledState({loadedKeys:i}),this.setState(e=>({loadingKeys:gI(e.loadingKeys,t)})),n()}).catch(e=>{if(this.setState(e=>({loadingKeys:gI(e.loadingKeys,t)})),this.loadingRetryTimes[t]=(this.loadingRetryTimes[t]||0)+1,this.loadingRetryTimes[t]>=Tge){let{loadedKeys:e}=this.state;xr(!1,"Retry for `loadData` many times but still failed. No more retry."),this.setUncontrolledState({loadedKeys:_I(e,t)}),n()}r(e)}),{loadingKeys:_I(a,t)})})});return r.catch(()=>{}),r};onNodeMouseEnter=(e,t)=>{let{onMouseEnter:n}=this.props;n?.({event:e,node:t})};onNodeMouseLeave=(e,t)=>{let{onMouseLeave:n}=this.props;n?.({event:e,node:t})};onNodeContextMenu=(e,t)=>{let{onRightClick:n}=this.props;n&&(e.preventDefault(),n({event:e,node:t}))};onMouseDown=e=>{this.focusedByMouse=!0;let{onMouseDown:t}=this.props;t?.(e)};onMouseUp=e=>{this.focusedByMouse=!1;let{onMouseUp:t}=this.props;t?.(e)};onFocus=(...e)=>{let{onFocus:t,disabled:n}=this.props,{activeKey:r,selectedKeys:i,flattenNodes:a}=this.state;if(!this.focusedByMouse&&!n&&r===null){let e=i.find(e=>a.some(t=>t.key===e));e===void 0?this.onActiveChange(a?.[0]?.key||null):this.onActiveChange(e)}t?.(...e)};onBlur=(...e)=>{this.focusedByMouse=!1;let{onBlur:t}=this.props;this.onActiveChange(null),t?.(...e)};getTreeNodeRequiredProps=()=>{let{expandedKeys:e,selectedKeys:t,loadedKeys:n,loadingKeys:r,checkedKeys:i,halfCheckedKeys:a,dragOverNodeKey:o,dropPosition:s,keyEntities:c}=this.state;return{expandedKeys:e||[],selectedKeys:t||[],loadedKeys:n||[],loadingKeys:r||[],checkedKeys:i||[],halfCheckedKeys:a||[],dragOverNodeKey:o,dropPosition:s,keyEntities:c}};setExpandedKeys=e=>{let{treeData:t,fieldNames:n}=this.state,r=VA(t,e,n);this.setUncontrolledState({expandedKeys:e,flattenNodes:r},!0)};onNodeExpand=(e,t)=>{let{expandedKeys:n}=this.state,{listChanging:r,fieldNames:i}=this.state,{onExpand:a,loadData:o}=this.props,{expanded:s}=t,c=t[i.key];if(r)return;let l=n.includes(c),u=!s;if(xr(s&&l||!s&&!l,`Expand state not sync with index check`),n=u?_I(n,c):gI(n,c),this.setExpandedKeys(n),a?.(n,{node:t,expanded:u,nativeEvent:e.nativeEvent}),u&&o){let e=this.onNodeLoad(t);e&&e.then(()=>{let e=VA(this.state.treeData,n,i);this.setUncontrolledState({flattenNodes:e})}).catch(()=>{let{expandedKeys:e}=this.state,t=gI(e,c);this.setExpandedKeys(t)})}};onListChangeStart=()=>{this.setUncontrolledState({listChanging:!0})};onListChangeEnd=()=>{setTimeout(()=>{this.setUncontrolledState({listChanging:!1})})};onActiveChange=e=>{let{activeKey:t}=this.state,{onActiveChange:n,itemScrollOffset:r=0}=this.props;t!==e&&(this.setState({activeKey:e}),e!==null&&this.scrollTo({key:e,offset:r}),n?.(e))};getActiveItem=()=>{let{activeKey:e,flattenNodes:t}=this.state;return e===null?null:t.find(({key:t})=>t===e)||null};offsetActiveKey=e=>{let{flattenNodes:t,activeKey:n}=this.state,r=t.findIndex(({key:e})=>e===n);r===-1&&e<0&&(r=t.length),r=(r+e+t.length)%t.length;let i=t[r];if(i){let{key:e}=i;this.onActiveChange(e)}else this.onActiveChange(null)};onKeyDown=e=>{let{activeKey:t,expandedKeys:n,checkedKeys:r,flattenNodes:i,keyEntities:a}=this.state,{onKeyDown:o,checkable:s,selectable:c,disabled:l,loadData:u}=this.props;if(l)return;switch(e.key){case`ArrowUp`:this.offsetActiveKey(-1),e.preventDefault();break;case`ArrowDown`:this.offsetActiveKey(1),e.preventDefault();break;case`Home`:this.onActiveChange(i?.[0]?.key),e.preventDefault();break;case`End`:this.onActiveChange(i?.[i.length-1]?.key),e.preventDefault();break}let d=this.getActiveItem();if(d&&d.data){let i=GA({...WA(t,this.getTreeNodeRequiredProps()),data:d.data,active:!0}),o=!!IA(a,t)?.children?.length,l=!UA(d.data.isLeaf,u,o,i.loaded),f=s&&!i.disabled&&i.checkable!==!1&&!i.disableCheckbox,p=!s&&c&&!i.disabled&&i.selectable!==!1;switch(e.key){case`ArrowLeft`:l&&n.includes(t)?this.onNodeExpand({},i):d.parent&&this.onActiveChange(d.parent.key),e.preventDefault();break;case`ArrowRight`:l&&!n.includes(t)?this.onNodeExpand({},i):d.children&&d.children.length&&this.onActiveChange(d.children[0].key),e.preventDefault();break;case`Enter`:l?(e.preventDefault(),this.onNodeExpand({},i)):f?r.includes(t)||(e.preventDefault(),this.onNodeCheck({},i,!0)):p&&!i.selected&&(e.preventDefault(),this.onNodeSelect({},i));break;case` `:f?(e.preventDefault(),this.onNodeCheck({},i,!r.includes(t))):p&&(e.preventDefault(),this.onNodeSelect({},i));break}}o?.(e)};setUncontrolledState=(e,t=!1,n=null)=>{if(!this.destroyed){let r=!1,i=!0,a={};Object.keys(e).forEach(t=>{if(this.props.hasOwnProperty(t)){i=!1;return}r=!0,a[t]=e[t]}),r&&(!t||i)&&this.setState({...a,...n})}};scrollTo=e=>{this.listRef.current.scrollTo(e)};render(){let{flattenNodes:e,keyEntities:t,draggingNodeKey:n,dropLevelOffset:r,dropContainerKey:i,dropTargetKey:a,dropPosition:o,dragOverNodeKey:s,indent:c}=this.state,{prefixCls:l,className:u,style:d,styles:f,classNames:p,showLine:m,focusable:h,tabIndex:g=0,selectable:_,showIcon:v,icon:y,switcherIcon:b,draggable:x,checkable:S,checkStrictly:w,disabled:T,motion:E,loadData:D,filterTreeNode:O,height:k,itemHeight:A,scrollWidth:j,virtual:M,titleRender:N,dropIndicatorRender:P,onContextMenu:F,onScroll:I,direction:L,rootClassName:R,rootStyle:z}=this.props,B=Hu(this.props,{aria:!0,data:!0}),V;x&&(V=typeof x==`object`?x:typeof x==`function`?{nodeDraggable:x}:{});let H={styles:f,classNames:p,prefixCls:l,selectable:_,showIcon:v,icon:y,switcherIcon:b,draggable:V,draggingNodeKey:n,checkable:S,checkStrictly:w,disabled:T,keyEntities:t,dropLevelOffset:r,dropContainerKey:i,dropTargetKey:a,dropPosition:o,dragOverNodeKey:s,indent:c,direction:L,dropIndicatorRender:P,loadData:D,filterTreeNode:O,titleRender:N,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return C.createElement(dI.Provider,{value:H},C.createElement(`div`,{className:q(l,u,R,{[`${l}-show-line`]:m}),style:z},C.createElement(wge,UI({ref:this.listRef,prefixCls:l,style:d,data:e,disabled:T,selectable:_,checkable:!!S,motion:E,dragging:n!==null,height:k,itemHeight:A,virtual:M,focusable:h,tabIndex:g,activeItem:this.getActiveItem(),onFocus:this.onFocus,onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:F,onScroll:I,scrollWidth:j},this.getTreeNodeRequiredProps(),B))))}},Dge={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z`}}]},name:`file`,theme:`outlined`};function WI(){return WI=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,WI({},e,{ref:t,icon:Dge}))),Oge={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z`}}]},name:`folder-open`,theme:`outlined`};function KI(){return KI=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KI({},e,{ref:t,icon:Oge}))),kge={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z`}}]},name:`folder`,theme:`outlined`};function JI(){return JI=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,JI({},e,{ref:t,icon:kge}))),Age={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z`}}]},name:`holder`,theme:`outlined`};function XI(){return XI=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,XI({},e,{ref:t,icon:Age}))),jge=({treeCls:e,treeNodeCls:t,directoryNodeSelectedBg:n,directoryNodeSelectedColor:r,motionDurationMid:i,borderRadius:a,controlItemBgHover:o})=>({[`${e}${e}-directory ${t}`]:{[`${e}-node-content-wrapper`]:{position:`static`,[`&:has(${e}-drop-indicator)`]:{position:`relative`},[`> *:not(${e}-drop-indicator)`]:{position:`relative`},"&:hover":{background:`transparent`},"&:before":{position:`absolute`,inset:0,transition:`background-color ${i}`,content:`""`,borderRadius:a},"&:hover:before":{background:o}},[`${e}-switcher, ${e}-checkbox, ${e}-draggable-icon`]:{zIndex:1},"&-selected":{background:n,borderRadius:a,[`${e}-switcher, ${e}-draggable-icon`]:{color:r},[`${e}-node-content-wrapper`]:{color:r,background:`transparent`,"&, &:hover":{color:r},"&:before, &:hover:before":{background:n}}}}}),Mge=new Ro(`ant-tree-node-fx-do-not-use`,{"0%":{opacity:0},"100%":{opacity:1}}),Nge=(e,t)=>({[`.${e}-switcher-icon`]:{display:`inline-block`,fontSize:10,verticalAlign:`baseline`,svg:{transition:`transform ${t.motionDurationSlow}`}}}),Pge=(e,t)=>({[`.${e}-drop-indicator`]:{position:`absolute`,zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:`none`,"&:after":{position:`absolute`,top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:`transparent`,border:`${J(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:`50%`,content:`""`}}}),Fge=(e,t)=>{let{treeCls:n,treeNodeCls:r,treeNodePadding:i,titleHeight:a,indentSize:o,switcherSize:s,motionDurationMid:c,nodeSelectedBg:l,nodeHoverBg:u,colorTextQuaternary:d,controlItemBgActiveDisabled:f}=t;return{[n]:{...Yc(t),"--rc-virtual-list-scrollbar-bg":t.colorSplit,background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,"&-rtl":{direction:`rtl`},[`&${n}-rtl ${n}-switcher_close ${n}-switcher-icon svg`]:{transform:`rotate(90deg)`},[`${n}-list`]:{"&:focus-visible":{outline:`none`,[`${r}-active ${n}-node-content-wrapper`]:{...Qc(t)}}},[`${n}-list-holder-inner`]:{alignItems:`flex-start`},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:`stretch`,[`${n}-node-content-wrapper`]:{flex:`auto`},[`${r}.dragging:after`]:{position:`absolute`,inset:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:Mge,animationDuration:t.motionDurationSlow,animationPlayState:`running`,animationFillMode:`forwards`,content:`""`,pointerEvents:`none`,borderRadius:t.borderRadius}}},[r]:{display:`flex`,alignItems:`flex-start`,marginBottom:i,lineHeight:J(a),position:`relative`,"&:before":{content:`""`,position:`absolute`,zIndex:1,insetInlineStart:0,width:`100%`,top:`100%`,height:i},[`&-disabled ${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:`not-allowed`,"&:hover":{background:`transparent`}},[`${n}-checkbox-disabled + ${n}-node-selected,&${r}-disabled${r}-selected ${n}-node-content-wrapper`]:{backgroundColor:f},[`${n}-checkbox-disabled`]:{pointerEvents:`unset`},[`&:not(${r}-disabled)`]:{[`${n}-node-content-wrapper`]:{"&:hover":{color:t.nodeHoverColor}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:t.fontWeightStrong},"&-draggable":{cursor:`grab`,[`${n}-draggable-icon`]:{flexShrink:0,width:s,textAlign:`center`,visibility:`visible`,color:d},[`&${r}-disabled ${n}-draggable-icon`]:{visibility:`hidden`}}},[`${n}-indent`]:{alignSelf:`stretch`,whiteSpace:`nowrap`,userSelect:`none`,"&-unit":{display:`inline-block`,width:o}},[`${n}-draggable-icon`]:{visibility:`hidden`},[`${n}-switcher, ${n}-checkbox`]:{marginInlineEnd:t.calc(t.calc(s).sub(t.controlInteractiveSize)).div(2).equal()},[`${n}-checkbox`]:{flexShrink:0,alignSelf:`flex-start`,marginBlockStart:t.calc(t.calc(a).sub(t.controlInteractiveSize)).div(2).equal()},[`${n}-switcher`]:{...Nge(e,t),position:`relative`,flex:`none`,alignSelf:`stretch`,width:s,textAlign:`center`,cursor:`pointer`,userSelect:`none`,transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:`unset`},"&:before":{pointerEvents:`none`,content:`""`,width:s,height:a,position:`absolute`,left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},[`&_close ${n}-switcher-icon svg`]:{transform:`rotate(-90deg)`},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:`relative`,zIndex:1,display:`inline-block`,width:`100%`,height:`100%`,"&:before":{position:`absolute`,top:0,insetInlineEnd:t.calc(s).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:`""`},"&:after":{position:`absolute`,width:t.calc(t.calc(s).div(2).equal()).mul(.8).equal(),height:t.calc(a).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:`""`}}},[`${n}-node-content-wrapper`]:{position:`relative`,minHeight:a,paddingBlock:0,paddingInline:t.paddingXS,background:`transparent`,borderRadius:t.borderRadius,cursor:`pointer`,transition:[`all ${c}`,`border 0s`,`line-height 0s`,`box-shadow 0s`].join(`, `),...Pge(e,t),"&:hover":{backgroundColor:u},[`&${n}-node-selected`]:{color:t.nodeSelectedColor,backgroundColor:l},[`${n}-iconEle`]:{display:`inline-block`,width:s,height:a,textAlign:`center`,verticalAlign:`top`,"&:empty":{display:`none`}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:`transparent`},[`${r}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${t.colorPrimary}`},"&-show-line":{[`${n}-indent-unit`]:{position:`relative`,height:`100%`,"&:before":{position:`absolute`,top:0,insetInlineEnd:t.calc(s).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:`""`},"&-end:before":{display:`none`}},[`${n}-switcher`]:{background:`transparent`,"&-line-icon":{verticalAlign:`-0.15em`}}},[`${r}-leaf-last ${n}-switcher-leaf-line:before`]:{top:`auto !important`,bottom:`auto !important`,height:`${J(t.calc(a).div(2).equal())} !important`}}}},Ige=(e,t,n=!0)=>{let r=`.${e}`,i=_s(t,{treeCls:r,treeNodeCls:`${r}-treenode`,treeNodePadding:t.calc(t.paddingXS).div(2).equal()});return[Fge(e,i),n&&jge(i)].filter(Boolean)},Lge=e=>{let{controlHeightSM:t,controlItemBgHover:n,controlItemBgActive:r}=e,i=t;return{titleHeight:i,switcherSize:i,indentSize:i,nodeHoverBg:n,nodeHoverColor:e.colorText,nodeSelectedBg:r,nodeSelectedColor:e.colorText}},Rge=il(`Tree`,(e,{prefixCls:t})=>[{[e.componentCls]:JA(`${t}-checkbox`,e)},Ige(t,e),nh(e)],e=>{let{colorTextLightSolid:t,colorPrimary:n}=e;return{...Lge(e),directoryNodeSelectedColor:t,directoryNodeSelectedBg:n}}),zge=e=>{let{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:i,direction:a=`ltr`}=e,o=a===`ltr`?`left`:`right`,s=a===`ltr`?`right`:`left`,c={[o]:-n*i+4,[s]:0};switch(t){case-1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[o]=i+4;break}return C.createElement(`div`,{style:c,className:`${r}-drop-indicator`})},Bge={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z`}}]},name:`caret-down`,theme:`filled`};function QI(){return QI=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QI({},e,{ref:t,icon:Bge}))),Vge={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`minus-square`,theme:`outlined`};function eL(){return eL=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,eL({},e,{ref:t,icon:Vge}))),Hge={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`plus-square`,theme:`outlined`};function nL(){return nL=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,nL({},e,{ref:t,icon:Hge}))),Uge=e=>{let{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:i,switcherLoadingIcon:a}=e,{isLeaf:o,expanded:s,loading:c}=r;if(c)return C.isValidElement(a)?a:C.createElement(fm,{className:`${t}-switcher-loading-icon`});let l;if(gd(i)&&(l=i.showLeafIcon),o){if(!i)return null;if(typeof l!=`boolean`&&l){let e=typeof l==`function`?l(r):l,n=`${t}-switcher-line-custom-icon`;return C.isValidElement(e)?Fp(e,{className:q(e.props?.className,n)}):e}return l?C.createElement(GI,{className:`${t}-switcher-line-icon`}):C.createElement(`span`,{className:`${t}-switcher-leaf-line`})}let u=`${t}-switcher-icon`,d=typeof n==`function`?n(r):n;return C.isValidElement(d)?Fp(d,{className:q(d.props?.className,i?`${t}-switcher-line-icon`:u)}):d===void 0?i?s?C.createElement(tL,{className:`${t}-switcher-line-icon`}):C.createElement(rL,{className:`${t}-switcher-line-icon`}):C.createElement($I,{className:u}):d},iL=C.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r,className:i,style:a,classNames:o,styles:s}=ui(`tree`),{virtual:c}=C.useContext(si),{prefixCls:l,className:u,showIcon:d=!1,showLine:f,switcherIcon:p,switcherLoadingIcon:m,blockNode:h=!1,children:g,checkable:_=!1,selectable:v=!0,draggable:y,disabled:b,motion:x,style:S,rootClassName:w,classNames:T,styles:E,icon:D}=e,O=C.useContext(Bp),k=b??O,A=n(`tree`,l),j=n(),M=x??{...Mm(j),motionAppear:!1},N={...e,showIcon:d,blockNode:h,checkable:_,selectable:v,disabled:k,motion:M},[P,F]=Id([o,T],[s,E],{props:N}),I={...N,showLine:!!f,icon:D,dropIndicatorRender:zge},[L,R]=Rge(A),[,z]=qc(),B=z.paddingXS/2+(z.Tree?.titleHeight||z.controlHeightSM),V=C.useMemo(()=>{if(!y)return!1;let e={};switch(typeof y){case`function`:e.nodeDraggable=y;break;case`object`:e={...y};break;default:break}return e.icon!==!1&&(e.icon=e.icon||C.createElement(ZI,null)),e},[y]),H=e=>C.createElement(Uge,{prefixCls:A,switcherIcon:p,switcherLoadingIcon:m,treeNodeProps:e,showLine:f});return C.createElement(Ege,{itemHeight:B,ref:t,virtual:c,...I,prefixCls:A,className:q({[`${A}-icon-hide`]:!d,[`${A}-block-node`]:h,[`${A}-unselectable`]:!v,[`${A}-rtl`]:r===`rtl`,[`${A}-disabled`]:k},i,u,L,R),style:{...a,...S},rootClassName:q(P.root,w),rootStyle:F.root,classNames:P,styles:F,direction:r,checkable:_&&C.createElement(`span`,{className:`${A}-checkbox-inner`}),selectable:v,switcherIcon:H,draggable:V},g)}),aL=0,oL=1,sL=2;function cL(e,t,n){let{key:r,children:i}=n;function a(e){let a=e[r],o=e[i];t(a,e)!==!1&&cL(o||[],t,n)}e.forEach(a)}function Wge({treeData:e,expandedKeys:t,startKey:n,endKey:r,fieldNames:i}){let a=[],o=aL;if(n&&n===r)return[n];if(!n||!r)return[];function s(e){return e===n||e===r}return cL(e,e=>{if(o===sL)return!1;if(s(e)){if(a.push(e),o===aL)o=oL;else if(o===oL)return o=sL,!1}else o===oL&&a.push(e);return t.includes(e)},zA(i)),a}function lL(e,t,n){let r=Qr(t),i=[];return cL(e,(e,t)=>{let n=r.indexOf(e);return n!==-1&&(i.push(t),r.splice(n,1)),!!r.length},zA(n)),i}function Gge(e){let{isLeaf:t,expanded:n}=e;return t?C.createElement(GI,null):n?C.createElement(qI,null):C.createElement(YI,null)}function uL({treeData:e,children:t}){return e||BA(t)}var Kge=C.forwardRef((e,t)=>{let{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:i,...a}=e,o=C.useRef(null),s=C.useRef(null),c=()=>{let{keyEntities:e}=HA(uL(a),{fieldNames:a.fieldNames}),t,o=a.expandedKeys||i||[];return t=n?Object.keys(e):r?SI(o,e):o,t},[l,u]=C.useState(a.selectedKeys||a.defaultSelectedKeys||[]),[d,f]=C.useState(()=>c());C.useEffect(()=>{`selectedKeys`in a&&u(a.selectedKeys)},[a.selectedKeys]),C.useEffect(()=>{`expandedKeys`in a&&f(a.expandedKeys)},[a.expandedKeys]);let p=(e,t)=>(`expandedKeys`in a||f(e),a.onExpand?.(e,t)),m=(e,t)=>{let{multiple:n,fieldNames:r}=a,{node:i,nativeEvent:c}=t,{key:l=``}=i,f=uL(a),p={...t,selected:!0},m=c?.ctrlKey||c?.metaKey,h=c?.shiftKey,g;n&&m?(g=e,o.current=l,s.current=g,p.selectedNodes=lL(f,g,r)):n&&h?(g=Array.from(new Set([].concat(Qr(s.current||[]),Qr(Wge({treeData:f,expandedKeys:d,startKey:l,endKey:o.current,fieldNames:r}))))),p.selectedNodes=lL(f,g,r)):(g=[l],o.current=l,s.current=g,p.selectedNodes=lL(f,g,r)),a.onSelect?.(g,p),`selectedKeys`in a||u(g)},{getPrefixCls:h,direction:g}=C.useContext(si),{prefixCls:_,className:v,showIcon:y=!0,expandAction:b=`click`,...x}=a,S=h(`tree`,_),w=q(`${S}-directory`,{[`${S}-directory-rtl`]:g===`rtl`},v);return C.createElement(iL,{icon:Gge,ref:t,blockNode:!0,...x,showIcon:y,expandAction:b,prefixCls:S,className:w,expandedKeys:d,selectedKeys:l,onSelect:m,onExpand:p})}),dL=iL;dL.DirectoryTree=Kge,dL.TreeNode=hI;var fL=e=>{let{value:t,filterSearch:n,tablePrefixCls:r,locale:i,onChange:a}=e;return n?C.createElement(`div`,{className:`${r}-filter-dropdown-search`},C.createElement(Lj,{prefix:C.createElement(vb,null),placeholder:i.filterSearchPlaceholder,onChange:a,value:t,htmlSize:1,className:`${r}-filter-dropdown-search-input`})):null},qge=e=>{let{keyCode:t}=e;t===em.ENTER&&e.stopPropagation()},Jge=C.forwardRef((e,t)=>C.createElement(`div`,{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:qge,ref:t},e.children));function pL(e){let t=[];return(e||[]).forEach(({value:e,children:n})=>{t.push(e),n&&(t=[].concat(Qr(t),Qr(pL(n))))}),t}function Yge(e){return e.some(({children:e})=>e)}var mL=(e,t)=>typeof t==`string`||md(t)?t.toString().toLowerCase().includes(e):!1,hL=e=>{let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:a,normalizedSearchValue:o,filterSearch:s}=e;return t.map((e,t)=>{let c=String(e.value);if(e.children)return{key:c||t,label:e.text,popupClassName:`${n}-dropdown-submenu`,children:hL({filters:e.children,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:a,normalizedSearchValue:o,filterSearch:s})};let l=i?QA:Rk,u={key:e.value===void 0?t:c,label:C.createElement(C.Fragment,null,C.createElement(l,{checked:r.includes(c)}),C.createElement(`span`,null,e.text))};return o?typeof s==`function`?s(o,e)?u:null:mL(o,e.text)?u:null:u})};function gL(e){return e||[]}var Xge=e=>{let{tablePrefixCls:t,prefixCls:n,column:r,dropdownPrefixCls:i,columnKey:a,filterOnClose:o,filterMultiple:s,filterMode:c=`menu`,filterSearch:l=!1,filterState:u,triggerFilter:d,locale:f,children:p,getPopupContainer:m,rootClassName:h}=e,{filterResetToDefaultFilteredValue:g,defaultFilteredValue:_,filterDropdownProps:v={},filterDropdownOpen:y,onFilterDropdownOpenChange:b}=r,[x,S]=C.useState(!1),w=C.useContext(tx),T=!!(u&&(u.filteredKeys?.length||u.forceFiltered)),E=e=>{S(e),v.onOpenChange?.(e),b?.(e)},D=v.open??y??x,O=u?.filteredKeys,[k,A]=Ud(gL(O)),j=({selectedKeys:e})=>{A(e)},M=(e,{node:t,checked:n})=>{j(s?{selectedKeys:e}:{selectedKeys:n&&t.key?[t.key]:[]})};C.useEffect(()=>{x&&j({selectedKeys:gL(O)})},[O]);let[N,P]=C.useState([]),F=e=>{P(e)},[I,L]=C.useState(``),R=C.useMemo(()=>I.trim().toLowerCase(),[I]),z=e=>{let{value:t}=e.target;L(t)};C.useEffect(()=>{x||L(``)},[x]);let B=e=>{let t=e?.length?e:null;if(t===null&&(!u||!u.filteredKeys)||Ei(t,u?.filteredKeys,!0))return null;d({column:r,key:a,filteredKeys:t})},V=()=>{E(!1),B(k())},H=({confirm:e,closeDropdown:t}={confirm:!1,closeDropdown:!1})=>{e&&B([]),t&&E(!1),L(``),A(g?(_||[]).map(String):[])},U=({closeDropdown:e}={closeDropdown:!0})=>{e&&E(!1),B(k())},W=(e,t)=>{t.source===`trigger`&&(e&&O!==void 0&&A(gL(O)),E(e),!e&&!r.filterDropdown&&o&&V())},ee=q({[`${i}-menu-without-submenu`]:!Yge(r.filters||[])}),te=e=>{e.target.checked?A(pL(r?.filters).map(String)):A([])},ne=({filters:e})=>(e||[]).map((e,t)=>{let n=String(e.value),r={title:e.text,key:e.value===void 0?String(t):n};return e.children&&(r.children=ne({filters:e.children})),r}),re=e=>({...e,text:e.title,value:e.key,children:e.children?.map(re)||[]}),ie,{direction:ae,renderEmpty:G}=C.useContext(si);if(typeof r.filterDropdown==`function`)ie=r.filterDropdown({prefixCls:`${i}-custom`,setSelectedKeys:e=>j({selectedKeys:e}),selectedKeys:k(),confirm:U,clearFilters:H,filters:r.filters,visible:D,close:()=>{E(!1)}});else if(r.filterDropdown)ie=r.filterDropdown;else{let e=k()||[];ie=C.createElement(C.Fragment,null,(()=>{let a=G?.(`Table.filter`)??C.createElement(qy,{image:qy.PRESENTED_IMAGE_SIMPLE,description:f.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:`16px 0`}});if((r.filters||[]).length===0)return a;if(c===`tree`)return C.createElement(C.Fragment,null,C.createElement(fL,{filterSearch:l,value:I,onChange:z,tablePrefixCls:t,locale:f}),C.createElement(`div`,{className:`${t}-filter-dropdown-tree`},s?C.createElement(QA,{checked:e.length===pL(r.filters).length,indeterminate:e.length>0&&e.lengthtypeof l==`function`?l(I,re(e)):mL(R,e.title):void 0})));let o=hL({filters:r.filters||[],filterSearch:l,prefixCls:n,filteredKeys:k(),filterMultiple:s,searchValue:I,normalizedSearchValue:R}),u=o.every(e=>e===null);return C.createElement(C.Fragment,null,C.createElement(fL,{filterSearch:l,value:I,onChange:z,tablePrefixCls:t,locale:f}),u?a:C.createElement(YS,{selectable:!0,multiple:s,prefixCls:`${i}-menu`,className:ee,onSelect:j,onDeselect:j,selectedKeys:e,getPopupContainer:m,openKeys:N,onOpenChange:F,items:o}))})(),C.createElement(`div`,{className:`${n}-dropdown-btns`},C.createElement(tg,{type:`link`,size:`small`,disabled:g?Ei((_||[]).map(String),e,!0):e.length===0,onClick:()=>H()},f.filterReset),C.createElement(tg,{type:`primary`,size:`small`,onClick:V},f.filterConfirm)))}r.filterDropdown&&(ie=C.createElement(VS,{selectable:void 0},ie)),ie=C.createElement(Jge,{className:`${n}-dropdown`},ie);let oe=(()=>{let e;return e=typeof r.filterIcon==`function`?r.filterIcon(T):r.filterIcon?r.filterIcon:C.createElement(NI,null),C.createElement(`span`,{role:`button`,tabIndex:-1,className:q(`${n}-trigger`,{active:T}),onClick:e=>{e.stopPropagation()}},e)})();if(w)return C.createElement(`div`,{className:`${n}-column`},C.createElement(`span`,{className:`${t}-column-title`},p),oe);let K=fd({trigger:[`click`],placement:ae===`rtl`?`bottomLeft`:`bottomRight`,children:oe,getPopupContainer:m},{...v,rootClassName:q(h,v.rootClassName),open:D,onOpenChange:W,popupRender:()=>typeof v?.dropdownRender==`function`?v.dropdownRender(ie):ie});return C.createElement(`div`,{className:`${n}-column`},C.createElement(`span`,{className:`${t}-column-title`},p),C.createElement(MM,{...K}))},_L=(e,t,n)=>{let r=[];return(e||[]).forEach((e,i)=>{let a=AI(i,n),o=e.filterDropdown!==void 0;if(e.filters||o||`onFilter`in e)if(`filteredValue`in e){let t=e.filteredValue;o||(t=t?.map(String)??t),r.push({column:e,key:kI(e,a),filteredKeys:t,forceFiltered:e.filtered})}else r.push({column:e,key:kI(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered});`children`in e&&(r=[].concat(Qr(r),Qr(_L(e.children,t,a))))}),r};function vL(e,t,n,r,i,a,o,s,c){return n.map((n,l)=>{let u=AI(l,s),{filterOnClose:d=!0,filterMultiple:f=!0,filterMode:p,filterSearch:m}=n,h=n;if(h.filters||h.filterDropdown){let s=kI(h,u),l=r.find(({key:e})=>s===e);h={...h,title:r=>C.createElement(Xge,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:h,columnKey:s,filterState:l,filterOnClose:d,filterMultiple:f,filterMode:p,filterSearch:m,triggerFilter:a,locale:i,getPopupContainer:o,rootClassName:c},jI(n.title,r))}}return`children`in h&&(h={...h,children:vL(e,t,h.children,r,i,a,o,u,c)}),h})}var yL=e=>{let t={};return e.forEach(({key:e,filteredKeys:n,column:r})=>{let i=e,{filters:a,filterDropdown:o}=r;o?t[i]=n||null:Array.isArray(n)?t[i]=pL(a).filter(e=>n.includes(String(e))):t[i]=null}),t},bL=(e,t,n)=>t.reduce((e,r)=>{let{column:{onFilter:i,filters:a},filteredKeys:o}=r;if(i&&o&&o.length){let r=pL(a),s=new Map;r.forEach(e=>{let t=String(e);s.has(t)||s.set(t,e)});let c=o.map(e=>{let t=String(e);return s.get(t)??e});return(e=>e.reduce((e,r)=>{let a={...r};return a[n]&&(a[n]=bL(a[n],t,n)),c.some(e=>i(e,a))&&e.push(a),e},[]))(e)}return e},e),xL=e=>e.flatMap(e=>`children`in e?[e].concat(Qr(xL(e.children||[]))):[e]),Zge=e=>{let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:i,getPopupContainer:a,locale:o,rootClassName:s}=e;Or(`Table`);let c=C.useMemo(()=>xL(r||[]),[r]),[l,u]=C.useState(()=>_L(c,!0)),d=C.useMemo(()=>{let e=_L(c,!1);if(e.length===0)return e;let t=!0;if(e.forEach(({filteredKeys:e})=>{e!==void 0&&(t=!1)}),t){let e=(c||[]).map((e,t)=>kI(e,AI(t)));return l.filter(({key:t})=>e.includes(t)).map(t=>{let n=c[e.indexOf(t.key)];return{...t,column:{...t.column,...n},forceFiltered:n.filtered}})}return e},[c,l]),f=C.useMemo(()=>yL(d),[d]),p=e=>{let t=d.filter(({key:t})=>t!==e.key);t.push(e),u(t),i(yL(t),t)};return[e=>vL(t,n,e,d,o,p,a,void 0,s),d,f]},Qge=(e,t,n)=>{let r=C.useRef({});function i(i){if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let i=new Map;function a(e){e.forEach((e,r)=>{let o=n(e,r);i.set(o,e),gd(e)&&t in e&&a(e[t]||[])})}a(e),r.current={data:e,childrenColumnName:t,kvMap:i,getRowKey:n}}return r.current.kvMap?.get(i)}return[i]};function $ge(e,t){let n={current:e.current,pageSize:e.pageSize},r=gd(t)?t:{};return Object.keys(r).forEach(t=>{let r=e[t];typeof r!=`function`&&(n[t]=r)}),n}function e_e(e,t,n){let{total:r=0,...i}=gd(n)?n:{},[a,o]=(0,C.useState)(()=>({current:`defaultCurrent`in i?i.defaultCurrent:1,pageSize:`defaultPageSize`in i?i.defaultPageSize:10})),s=fd(a,i,{total:r>0?r:e}),c=Math.ceil((r||e)/s.pageSize);s.current>c&&(s.current=c||1);let l=(e,t)=>{o({current:e??1,pageSize:t||s.pageSize})},u=(e,r)=>{n&&n.onChange?.(e,r),l(e,r),t(e,r||s?.pageSize)};return n===!1?[{},()=>{}]:[{...s,onChange:u},l]}var t_e={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z`}}]},name:`caret-down`,theme:`outlined`};function SL(){return SL=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SL({},e,{ref:t,icon:t_e}))),n_e={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z`}}]},name:`caret-up`,theme:`outlined`};function wL(){return wL=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,wL({},e,{ref:t,icon:n_e}))),EL=`ascend`,DL=`descend`,OL=e=>e.sorter&&typeof e.sorter==`object`&&md(e.sorter.multiple)?e.sorter.multiple:!1,kL=e=>typeof e==`function`?e:gd(e)&&e.compare?e.compare:!1,AL=(e,t)=>t?e[e.indexOf(t)+1]:e[0],jL=(e,t,n)=>{let r=[],i=(e,t)=>{r.push({column:e,key:kI(e,t),multiplePriority:OL(e),sortOrder:e.sortOrder})};return(e||[]).forEach((e,a)=>{let o=AI(a,n);e.children?(`sortOrder`in e&&i(e,o),r=[].concat(Qr(r),Qr(jL(e.children,t,o)))):e.sorter&&(`sortOrder`in e?i(e,o):t&&e.defaultSortOrder&&r.push({column:e,key:kI(e,o),multiplePriority:OL(e),sortOrder:e.defaultSortOrder}))}),r},ML=(e,t,n,r,i,a,o,s,c)=>(t||[]).map((t,l)=>{let u=AI(l,s),d=t;if(d.sorter){let s=d.sortDirections||i,l=d.showSorterTooltip===void 0?o:d.showSorterTooltip,f=kI(d,u),p=n.find(({key:e})=>e===f),m=p?p.sortOrder:null,h=AL(s,m),g;if(t.sortIcon)g=t.sortIcon({sortOrder:m});else{let t=s.includes(EL)&&C.createElement(TL,{className:q(`${e}-column-sorter-up`,{active:m===EL})}),n=s.includes(DL)&&C.createElement(CL,{className:q(`${e}-column-sorter-down`,{active:m===DL})});g=C.createElement(`span`,{className:q(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(t&&n)})},C.createElement(`span`,{className:`${e}-column-sorter-inner`,"aria-hidden":`true`},t,n))}let{cancelSort:_,triggerAsc:v,triggerDesc:y}=a||{},b=_;h===DL?b=y:h===EL&&(b=v);let x=gd(l)?{title:b,...l}:{title:b};d={...d,className:q(d.className,{[`${e}-column-sort`]:m}),title:n=>{let r=`${e}-column-sorters`,i=C.createElement(`span`,{className:`${e}-column-title`},jI(t.title,n)),a=C.createElement(`div`,{className:r},i,g);return l?typeof l!=`boolean`&&l?.target===`sorter-icon`?C.createElement(`div`,{className:q(r,`${r}-tooltip-target-sorter`)},i,C.createElement(px,{...x},g)):C.createElement(px,{...x},a):a},onHeaderCell:n=>{let i=t.onHeaderCell?.(n)||{},a=i.onClick,o=i.onKeyDown;i.onClick=e=>{r({column:t,key:f,sortOrder:h,multiplePriority:OL(t)}),a?.(e)},i.onKeyDown=e=>{e.keyCode===em.ENTER&&(r({column:t,key:f,sortOrder:h,multiplePriority:OL(t)}),o?.(e))};let s=vge(t.title,{}),l=s?.toString();return m&&(i[`aria-sort`]=m===`ascend`?`ascending`:`descending`),i[`aria-description`]=c?.sortable,i[`aria-label`]=l||``,i.className=q(i.className,`${e}-column-has-sorters`),i.tabIndex=0,t.ellipsis&&(i.title=(s??``).toString()),i}}}return`children`in d&&(d={...d,children:ML(e,d.children,n,r,i,a,o,u,c)}),d}),NL=e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},PL=e=>{let t=e.filter(({sortOrder:e})=>e).map(NL);return t.length===0&&e.length?{...NL(e[e.length-1]),column:void 0,order:void 0,field:void 0,columnKey:void 0}:t.length<=1?t[0]||{}:t},FL=(e,t,n)=>{let r=t.slice().sort((e,t)=>t.multiplePriority-e.multiplePriority),i=e.slice(),a=r.filter(({column:{sorter:e},sortOrder:t})=>kL(e)&&t);return a.length?i.sort((e,t)=>{for(let n=0;n{let r=e[n];return r?{...e,[n]:FL(r,t,n)}:e}):i},IL=e=>{let{prefixCls:t,mergedColumns:n,sortDirections:r,tableLocale:i,showSorterTooltip:a,onSorterChange:o,globalLocale:s}=e,[c,l]=C.useState(()=>jL(n,!0)),u=(e,t)=>{let n=[];return e.forEach((e,r)=>{let i=AI(r,t);if(n.push(kI(e,i)),Array.isArray(e.children)){let t=u(e.children,i);n.push.apply(n,Qr(t))}}),n},d=C.useMemo(()=>{let e=!0,t=jL(n,!1);if(!t.length){let e=u(n);return c.filter(({key:t})=>e.includes(t))}let r=[];function i(t){e?r.push(t):r.push({...t,sortOrder:null})}let a=null;return t.forEach(t=>{a===null?(i(t),t.sortOrder&&(t.multiplePriority===!1?e=!1:a=!0)):(a&&t.multiplePriority!==!1||(e=!1),i(t))}),r},[n,c]),f=C.useMemo(()=>{let e=d.map(({column:e,sortOrder:t})=>({column:e,order:t}));return{sortColumns:e,sortColumn:e[0]?.column,sortOrder:e[0]?.order}},[d]),p=e=>{let t;t=e.multiplePriority===!1||!d.length||d[0].multiplePriority===!1?[e]:[].concat(Qr(d.filter(({key:t})=>t!==e.key)),[e]),l(t),o(PL(t),t)};return[e=>ML(t,e,d,p,r,i,a,void 0,s),d,f,()=>PL(d)]},LL=(e,t)=>e.map(e=>{let n={...e};return n.title=jI(e.title,t),`children`in n&&(n.children=LL(n.children,t)),n}),RL=e=>[C.useCallback(t=>LL(t,e),[e])],zL=nI((e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),BL=uI((e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),VL=e=>{let{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:i,tableHeaderBg:a,tablePaddingVertical:o,tablePaddingHorizontal:s,calc:c}=e,l=`${J(n)} ${r} ${i}`,u=(e,r,i)=>({[`&${t}-${e}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"> table > tbody > tr > th, > table > tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`${J(c(r).mul(-1).equal())} ${J(c(c(i).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:{[`> ${t}-title`]:{border:l,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:l,borderTop:l,[`> ${t}-content, > ${t}-header, > ${t}-body, > ${t}-summary`]:{"> table":{"> thead > tr > th, > thead > tr > td, > tbody > tr > th, > tbody > tr > td, > tfoot > tr > th, > tfoot > tr > td":{borderInlineEnd:l},"> thead":{"> tr:not(:last-child) > th":{borderBottom:l},"> tr > th::before":{backgroundColor:`transparent !important`}},"> thead > tr, > tbody > tr, > tfoot > tr":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:l}},"> tbody > tr > th, > tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`${J(c(o).mul(-1).equal())} ${J(c(c(s).add(n)).mul(-1).equal())}`,"&::after":{position:`absolute`,top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:l,content:`""`}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` > tr${t}-expanded-row, > tr${t}-placeholder - `]:{"> th, > td":{borderInlineEnd:0}}}}},...u(`medium`,e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle),...u(`small`,e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall),[`> ${t}-footer`]:{border:l,borderTop:0}},[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${J(n)} 0 ${J(n)} ${a}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:l}}}},JL=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:{...Jc,wordBreak:`keep-all`,[` + `]:{"> th, > td":{borderInlineEnd:0}}}}},...u(`medium`,e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle),...u(`small`,e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall),[`> ${t}-footer`]:{border:l,borderTop:0}},[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${J(n)} 0 ${J(n)} ${a}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:l}}}},HL=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:{...Jc,wordBreak:`keep-all`,[` &${t}-cell-fix-start-shadow, &${t}-cell-fix-end-shadow - `]:{overflow:`visible`,[`${t}-cell-content`]:{...Jc,display:`block`}},[`${t}-column-title`]:{...Jc,wordBreak:`keep-all`}}}}},YL=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:`center`,color:e.colorTextDisabled,"&:hover > th, &:hover > td":{background:e.colorBgContainer}}}}},XL=e=>{let{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:i,paddingXS:a,lineType:o,tableBorderColor:s,tableExpandIconBg:c,tableExpandColumnWidth:l,borderRadius:u,tablePaddingVertical:d,tablePaddingHorizontal:f,tableExpandedRowBg:p,paddingXXS:m,expandIconMarginTop:h,expandIconSize:g,expandIconHalfInner:_,expandIconScale:v,calc:y}=e,b=`${J(i)} ${o} ${s}`,x=y(m).sub(i).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:l},[`${t}-row-expand-icon-cell`]:{textAlign:`center`,[`${t}-row-expand-icon`]:{display:`inline-flex`,float:`none`,verticalAlign:`sub`}},[`${t}-row-indent`]:{height:1,float:`left`},[`${t}-row-expand-icon`]:{...rl(e),position:`relative`,float:`left`,width:g,height:g,color:`inherit`,lineHeight:J(g),background:c,border:b,borderRadius:u,transform:`scale(${v})`,"&:focus, &:hover, &:active":{borderColor:`currentcolor`},"&::before, &::after":{position:`absolute`,background:`currentcolor`,transition:`transform ${r} ease-out`,content:`""`},"&::before":{top:_,insetInlineEnd:x,insetInlineStart:x,height:i},"&::after":{top:x,bottom:x,insetInlineStart:_,width:i,transform:`rotate(90deg)`},"&-collapsed::before":{transform:`rotate(-180deg)`},"&-collapsed::after":{transform:`rotate(0deg)`},"&-spaced":{"&::before, &::after":{display:`none`,content:`none`},background:`transparent`,border:0,visibility:`hidden`}},[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:h,marginInlineEnd:a},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:p}},[`${n}-descriptions-view`]:{display:`flex`,table:{flex:`auto`,width:`100%`}}},[`${t}-expanded-row-fixed`]:{position:`relative`,margin:`${J(y(d).mul(-1).equal())} ${J(y(f).mul(-1).equal())}`,padding:`${J(d)} ${J(f)}`}}}},ZL=e=>{let{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:i,tableFilterDropdownSearchWidth:a,paddingXXS:o,paddingXS:s,colorText:c,lineWidth:l,lineType:u,tableBorderColor:d,headerIconColor:f,fontSizeSM:p,tablePaddingHorizontal:m,borderRadius:h,motionDurationSlow:g,colorIcon:_,colorPrimary:v,tableHeaderFilterActiveBg:y,colorTextDisabled:b,tableFilterDropdownBg:x,tableFilterDropdownHeight:S,controlItemBgHover:C,controlItemBgActive:w,boxShadowSecondary:T,filterDropdownMenuBg:E,calc:D}=e,O=`${n}-dropdown`,k=`${t}-filter-dropdown`,A=`${n}-tree`,j=`${J(l)} ${u} ${d}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:`flex`,justifyContent:`space-between`},[`${t}-filter-trigger`]:{position:`relative`,display:`flex`,alignItems:`center`,marginBlock:D(o).mul(-1).equal(),marginInline:`${J(o)} ${J(D(m).div(2).mul(-1).equal())}`,padding:`0 ${J(o)}`,color:f,fontSize:p,borderRadius:h,cursor:`pointer`,transition:`all ${g}`,"&:hover":{color:_,background:y},"&.active":{color:v}}}},{[`${n}-dropdown`]:{[k]:{...Yc(e),minWidth:i,backgroundColor:x,borderRadius:h,boxShadow:T,overflow:`hidden`,[`${O}-menu`]:{maxHeight:S,overflowX:`hidden`,border:0,boxShadow:`none`,borderRadius:`unset`,backgroundColor:E,"&:empty::after":{display:`block`,padding:`${J(s)} 0`,color:b,fontSize:p,textAlign:`center`,content:`"Not Found"`}},[`${k}-tree`]:{paddingBlock:`${J(s)} 0`,paddingInline:s,[A]:{padding:0},[`${A}-treenode ${A}-node-content-wrapper:hover`]:{backgroundColor:C},[`${A}-treenode-checkbox-checked ${A}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:w}}},[`${k}-search`]:{padding:s,borderBottom:j,"&-input":{input:{minWidth:a},[r]:{color:b}}},[`${k}-checkall`]:{width:`100%`,marginBottom:o,marginInlineStart:o},[`${k}-btns`]:{display:`flex`,justifyContent:`space-between`,padding:`${J(D(s).sub(l).equal())} ${J(s)}`,overflow:`hidden`,borderTop:j}}}},{[`${n}-dropdown ${k}, ${k}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:s,color:c},"> ul":{maxHeight:`calc(100vh - 130px)`,overflowX:`hidden`,overflowY:`auto`}}}]};function QL({colorSplit:e}){return[{boxShadow:`inset 10px 0 8px -8px ${e}`},{boxShadow:`inset -10px 0 8px -8px ${e}`}]}var $L=e=>{let{componentCls:t,lineWidth:n,motionDurationSlow:r,zIndexTableFixed:i,tableBg:a,calc:o}=e,s=`${t}-cell`,c=`${s}-fix`,l={position:`absolute`,top:0,bottom:o(n).mul(-1).equal(),width:30,transition:`box-shadow ${r}`,content:`""`,pointerEvents:`none`},[u,d]=QL(e);return{[`${t}-wrapper`]:{[`${s}${c}`]:{position:`sticky`},[c]:{zIndex:`calc(var(--z-offset-reverse) + ${i})`,background:a,"&:after":l,"&-start:after":{insetInlineStart:`100%`},"&-end:after":{insetInlineEnd:`100%`},"&-start-shadow-show:after":u,"&-end-shadow-show:after":d},[`${t}-container`]:{position:`relative`,"&:before, &:after":{...l,zIndex:`calc(var(--columns-count) * 2 + ${i} + 1)`},"&:before":{insetInlineStart:0},"&:after":{insetInlineEnd:0}},[`${t}-has-fix-start ${t}-container:before`]:{display:`none`},[`${t}-has-fix-end ${t}-container:after`]:{display:`none`},[`${t}-fix-start-shadow-show ${t}-container:before`]:u,[`${t}-fix-end-shadow-show ${t}-container:after`]:d}}},eR=e=>{let{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${J(r)} 0`},[`${t}-pagination`]:{display:`flex`,flexWrap:`wrap`,rowGap:e.paddingXS,"> *":{flex:`none`},"&-start":{justifyContent:`flex-start`},"&-center":{justifyContent:`center`},"&-end":{justifyContent:`flex-end`}}}}},tR=e=>{let{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${J(n)} ${J(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"&::before":{borderStartStartRadius:n},"&::after":{borderStartEndRadius:n},[`> ${t}-content`]:{borderStartStartRadius:n,borderStartEndRadius:n},"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${J(n)} ${J(n)}`}}}}},nR=e=>{let{componentCls:t}=e,[n,r]=QL(e);return{[`${t}-wrapper-rtl`]:{direction:`rtl`,table:{direction:`rtl`},[`${t}-row-expand-icon`]:{float:`right`,"&::after":{transform:`rotate(-90deg)`},"&-collapsed::before":{transform:`rotate(180deg)`},"&-collapsed::after":{transform:`rotate(0deg)`}},[`${t}-cell-fix`]:{"&-start-shadow-show:after":r,"&-end-shadow-show:after":n},[`${t}-container`]:{[`${t}-row-indent`]:{float:`right`}},[`${t}-fix-start-shadow-show ${t}-container:before`]:r,[`${t}-fix-end-shadow-show ${t}-container:after`]:n}}},rR=e=>{let{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:i,padding:a,paddingXS:o,headerIconColor:s,headerIconHoverColor:c,tableSelectionColumnWidth:l,tableSelectedRowBg:u,tableSelectedRowHoverBg:d,tableRowHoverBg:f,tablePaddingHorizontal:p,calc:m}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:l,[`&${t}-selection-col-with-dropdown`]:{width:m(l).add(i).add(m(a).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:m(l).add(m(o).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:m(l).add(i).add(m(a).div(4)).add(m(o).mul(2)).equal()}},[` + `]:{overflow:`visible`,[`${t}-cell-content`]:{...Jc,display:`block`}},[`${t}-column-title`]:{...Jc,wordBreak:`keep-all`}}}}},UL=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:`center`,color:e.colorTextDisabled,"&:hover > th, &:hover > td":{background:e.colorBgContainer}}}}},WL=e=>{let{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:i,paddingXS:a,lineType:o,tableBorderColor:s,tableExpandIconBg:c,tableExpandColumnWidth:l,borderRadius:u,tablePaddingVertical:d,tablePaddingHorizontal:f,tableExpandedRowBg:p,paddingXXS:m,expandIconMarginTop:h,expandIconSize:g,expandIconHalfInner:_,expandIconScale:v,calc:y}=e,b=`${J(i)} ${o} ${s}`,x=y(m).sub(i).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:l},[`${t}-row-expand-icon-cell`]:{textAlign:`center`,[`${t}-row-expand-icon`]:{display:`inline-flex`,float:`none`,verticalAlign:`sub`}},[`${t}-row-indent`]:{height:1,float:`left`},[`${t}-row-expand-icon`]:{...rl(e),position:`relative`,float:`left`,width:g,height:g,color:`inherit`,lineHeight:J(g),background:c,border:b,borderRadius:u,transform:`scale(${v})`,"&:focus, &:hover, &:active":{borderColor:`currentcolor`},"&::before, &::after":{position:`absolute`,background:`currentcolor`,transition:`transform ${r} ease-out`,content:`""`},"&::before":{top:_,insetInlineEnd:x,insetInlineStart:x,height:i},"&::after":{top:x,bottom:x,insetInlineStart:_,width:i,transform:`rotate(90deg)`},"&-collapsed::before":{transform:`rotate(-180deg)`},"&-collapsed::after":{transform:`rotate(0deg)`},"&-spaced":{"&::before, &::after":{display:`none`,content:`none`},background:`transparent`,border:0,visibility:`hidden`}},[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:h,marginInlineEnd:a},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:p}},[`${n}-descriptions-view`]:{display:`flex`,table:{flex:`auto`,width:`100%`}}},[`${t}-expanded-row-fixed`]:{position:`relative`,margin:`${J(y(d).mul(-1).equal())} ${J(y(f).mul(-1).equal())}`,padding:`${J(d)} ${J(f)}`}}}},GL=e=>{let{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:i,tableFilterDropdownSearchWidth:a,paddingXXS:o,paddingXS:s,colorText:c,lineWidth:l,lineType:u,tableBorderColor:d,headerIconColor:f,fontSizeSM:p,tablePaddingHorizontal:m,borderRadius:h,motionDurationSlow:g,colorIcon:_,colorPrimary:v,tableHeaderFilterActiveBg:y,colorTextDisabled:b,tableFilterDropdownBg:x,tableFilterDropdownHeight:S,controlItemBgHover:C,controlItemBgActive:w,boxShadowSecondary:T,filterDropdownMenuBg:E,calc:D}=e,O=`${n}-dropdown`,k=`${t}-filter-dropdown`,A=`${n}-tree`,j=`${J(l)} ${u} ${d}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:`flex`,justifyContent:`space-between`},[`${t}-filter-trigger`]:{position:`relative`,display:`flex`,alignItems:`center`,marginBlock:D(o).mul(-1).equal(),marginInline:`${J(o)} ${J(D(m).div(2).mul(-1).equal())}`,padding:`0 ${J(o)}`,color:f,fontSize:p,borderRadius:h,cursor:`pointer`,transition:`all ${g}`,"&:hover":{color:_,background:y},"&.active":{color:v}}}},{[`${n}-dropdown`]:{[k]:{...Yc(e),minWidth:i,backgroundColor:x,borderRadius:h,boxShadow:T,overflow:`hidden`,[`${O}-menu`]:{maxHeight:S,overflowX:`hidden`,border:0,boxShadow:`none`,borderRadius:`unset`,backgroundColor:E,"&:empty::after":{display:`block`,padding:`${J(s)} 0`,color:b,fontSize:p,textAlign:`center`,content:`"Not Found"`}},[`${k}-tree`]:{paddingBlock:`${J(s)} 0`,paddingInline:s,[A]:{padding:0},[`${A}-treenode ${A}-node-content-wrapper:hover`]:{backgroundColor:C},[`${A}-treenode-checkbox-checked ${A}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:w}}},[`${k}-search`]:{padding:s,borderBottom:j,"&-input":{input:{minWidth:a},[r]:{color:b}}},[`${k}-checkall`]:{width:`100%`,marginBottom:o,marginInlineStart:o},[`${k}-btns`]:{display:`flex`,justifyContent:`space-between`,padding:`${J(D(s).sub(l).equal())} ${J(s)}`,overflow:`hidden`,borderTop:j}}}},{[`${n}-dropdown ${k}, ${k}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:s,color:c},"> ul":{maxHeight:`calc(100vh - 130px)`,overflowX:`hidden`,overflowY:`auto`}}}]};function KL({colorSplit:e}){return[{boxShadow:`inset 10px 0 8px -8px ${e}`},{boxShadow:`inset -10px 0 8px -8px ${e}`}]}var qL=e=>{let{componentCls:t,lineWidth:n,motionDurationSlow:r,zIndexTableFixed:i,tableBg:a,calc:o}=e,s=`${t}-cell`,c=`${s}-fix`,l={position:`absolute`,top:0,bottom:o(n).mul(-1).equal(),width:30,transition:`box-shadow ${r}`,content:`""`,pointerEvents:`none`},[u,d]=KL(e);return{[`${t}-wrapper`]:{[`${s}${c}`]:{position:`sticky`},[c]:{zIndex:`calc(var(--z-offset-reverse) + ${i})`,background:a,"&:after":l,"&-start:after":{insetInlineStart:`100%`},"&-end:after":{insetInlineEnd:`100%`},"&-start-shadow-show:after":u,"&-end-shadow-show:after":d},[`${t}-container`]:{position:`relative`,"&:before, &:after":{...l,zIndex:`calc(var(--columns-count) * 2 + ${i} + 1)`},"&:before":{insetInlineStart:0},"&:after":{insetInlineEnd:0}},[`${t}-has-fix-start ${t}-container:before`]:{display:`none`},[`${t}-has-fix-end ${t}-container:after`]:{display:`none`},[`${t}-fix-start-shadow-show ${t}-container:before`]:u,[`${t}-fix-end-shadow-show ${t}-container:after`]:d}}},JL=e=>{let{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${J(r)} 0`},[`${t}-pagination`]:{display:`flex`,flexWrap:`wrap`,rowGap:e.paddingXS,"> *":{flex:`none`},"&-start":{justifyContent:`flex-start`},"&-center":{justifyContent:`center`},"&-end":{justifyContent:`flex-end`}}}}},YL=e=>{let{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${J(n)} ${J(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"&::before":{borderStartStartRadius:n},"&::after":{borderStartEndRadius:n},[`> ${t}-content`]:{borderStartStartRadius:n,borderStartEndRadius:n},"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${J(n)} ${J(n)}`}}}}},XL=e=>{let{componentCls:t}=e,[n,r]=KL(e);return{[`${t}-wrapper-rtl`]:{direction:`rtl`,table:{direction:`rtl`},[`${t}-row-expand-icon`]:{float:`right`,"&::after":{transform:`rotate(-90deg)`},"&-collapsed::before":{transform:`rotate(180deg)`},"&-collapsed::after":{transform:`rotate(0deg)`}},[`${t}-cell-fix`]:{"&-start-shadow-show:after":r,"&-end-shadow-show:after":n},[`${t}-container`]:{[`${t}-row-indent`]:{float:`right`}},[`${t}-fix-start-shadow-show ${t}-container:before`]:r,[`${t}-fix-end-shadow-show ${t}-container:after`]:n}}},ZL=e=>{let{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:i,padding:a,paddingXS:o,headerIconColor:s,headerIconHoverColor:c,tableSelectionColumnWidth:l,tableSelectedRowBg:u,tableSelectedRowHoverBg:d,tableRowHoverBg:f,tablePaddingHorizontal:p,calc:m}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:l,[`&${t}-selection-col-with-dropdown`]:{width:m(l).add(i).add(m(a).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:m(l).add(m(o).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:m(l).add(i).add(m(a).div(4)).add(m(o).mul(2)).equal()}},[` table tr th${t}-selection-column, table tr td${t}-selection-column, ${t}-selection-column - `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:`center`,[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:m(e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${t}-selection-column::after`]:{backgroundColor:`transparent !important`},[`${t}-selection`]:{position:`relative`,display:`inline-flex`,flexDirection:`column`},[`${t}-selection-extra`]:{position:`absolute`,top:0,zIndex:1,cursor:`pointer`,transition:`all ${e.motionDurationSlow}`,marginInlineStart:`100%`,paddingInlineStart:J(m(p).div(4).equal()),[r]:{color:s,fontSize:i,verticalAlign:`baseline`,"&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:u,"&-row-hover":{background:d}}},[`> ${t}-cell-row-hover`]:{background:f}}}}}},iR=e=>{let{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,i=(e,i,a,o)=>({[`${t}${t}-${e}`]:{fontSize:o,[` + `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:`center`,[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:m(e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${t}-selection-column::after`]:{backgroundColor:`transparent !important`},[`${t}-selection`]:{position:`relative`,display:`inline-flex`,flexDirection:`column`},[`${t}-selection-extra`]:{position:`absolute`,top:0,zIndex:1,cursor:`pointer`,transition:`all ${e.motionDurationSlow}`,marginInlineStart:`100%`,paddingInlineStart:J(m(p).div(4).equal()),[r]:{color:s,fontSize:i,verticalAlign:`baseline`,"&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:u,"&-row-hover":{background:d}}},[`> ${t}-cell-row-hover`]:{background:f}}}}}},QL=e=>{let{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,i=(e,i,a,o)=>({[`${t}${t}-${e}`]:{fontSize:o,[` ${t}-title, ${t}-footer, ${t}-cell, @@ -347,13 +347,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${t}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{padding:`${J(i)} ${J(a)}`},[`${t}-filter-trigger`]:{marginInlineEnd:J(r(a).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${J(r(i).mul(-1).equal())} ${J(r(a).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:J(r(i).mul(-1).equal()),marginInline:`${J(r(n).sub(a).equal())} ${J(r(a).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:J(r(a).div(4).equal())}}});return{[`${t}-wrapper`]:{...i(`medium`,e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle),...i(`small`,e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall)}}},aR=e=>{let{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:i,headerIconHoverColor:a}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:`none`,cursor:`pointer`,transition:`all ${e.motionDurationSlow}, left 0s`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:`transparent !important`}},"&:focus-visible":{color:e.colorPrimary},[` + `]:{padding:`${J(i)} ${J(a)}`},[`${t}-filter-trigger`]:{marginInlineEnd:J(r(a).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${J(r(i).mul(-1).equal())} ${J(r(a).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:J(r(i).mul(-1).equal()),marginInline:`${J(r(n).sub(a).equal())} ${J(r(a).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:J(r(a).div(4).equal())}}});return{[`${t}-wrapper`]:{...i(`medium`,e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle),...i(`small`,e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall)}}},$L=e=>{let{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:i,headerIconHoverColor:a}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:`none`,cursor:`pointer`,transition:`all ${e.motionDurationSlow}, left 0s`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:`transparent !important`}},"&:focus-visible":{color:e.colorPrimary},[` &${t}-cell-fix-left:hover, &${t}-cell-fix-right:hover - `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:`transparent !important`}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:`relative`,zIndex:1,flex:1,minWidth:0},[`${t}-column-sorters`]:{display:`flex`,flex:`auto`,alignItems:`center`,justifyContent:`space-between`,"&::after":{position:`absolute`,inset:0,width:`100%`,height:`100%`,content:`""`}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:`none`}},[`${t}-column-sorter`]:{marginInlineStart:n,color:i,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:`inline-flex`,flexDirection:`column`,alignItems:`center`},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:`-0.3em`}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:a}}}},oR=e=>{let{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:i,tableScrollThumbSize:a,tableScrollBg:o,stickyScrollBarBorderRadius:s,lineWidth:c,lineType:l,tableBorderColor:u,zIndexTableFixed:d}=e,f=`${J(c)} ${l} ${u}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:`sticky`,zIndex:`calc(var(--columns-count) * 2 + ${d} + 1)`,background:e.colorBgContainer},"&-scroll":{position:`sticky`,bottom:0,height:`${J(a)} !important`,zIndex:`calc(var(--columns-count) * 2 + ${d} + 1)`,display:`flex`,alignItems:`center`,background:o,borderTop:f,opacity:n,"&:hover":{transformOrigin:`center bottom`},"&-bar":{height:a,backgroundColor:r,borderRadius:s,transition:`all ${e.motionDurationSlow}, transform 0s`,position:`absolute`,bottom:0,"&:hover, &-active":{backgroundColor:i}}}}}}},sR=e=>{let{componentCls:t,lineWidth:n,tableBorderColor:r,calc:i}=e,a=`${J(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:`relative`,zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:a}}},[`div${t}-summary`]:{boxShadow:`0 ${J(i(n).mul(-1).equal())} 0 ${r}`}}}},cR=e=>{let{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:i,tableBorderColor:a,calc:o}=e,s=`${J(r)} ${i} ${a}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-tbody-virtual-holder-inner`]:{[` + `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:`transparent !important`}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:`relative`,zIndex:1,flex:1,minWidth:0},[`${t}-column-sorters`]:{display:`flex`,flex:`auto`,alignItems:`center`,justifyContent:`space-between`,"&::after":{position:`absolute`,inset:0,width:`100%`,height:`100%`,content:`""`}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:`none`}},[`${t}-column-sorter`]:{marginInlineStart:n,color:i,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:`inline-flex`,flexDirection:`column`,alignItems:`center`},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:`-0.3em`}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:a}}}},eR=e=>{let{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:i,tableScrollThumbSize:a,tableScrollBg:o,stickyScrollBarBorderRadius:s,lineWidth:c,lineType:l,tableBorderColor:u,zIndexTableFixed:d}=e,f=`${J(c)} ${l} ${u}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:`sticky`,zIndex:`calc(var(--columns-count) * 2 + ${d} + 1)`,background:e.colorBgContainer},"&-scroll":{position:`sticky`,bottom:0,height:`${J(a)} !important`,zIndex:`calc(var(--columns-count) * 2 + ${d} + 1)`,display:`flex`,alignItems:`center`,background:o,borderTop:f,opacity:n,"&:hover":{transformOrigin:`center bottom`},"&-bar":{height:a,backgroundColor:r,borderRadius:s,transition:`all ${e.motionDurationSlow}, transform 0s`,position:`absolute`,bottom:0,"&:hover, &-active":{backgroundColor:i}}}}}}},tR=e=>{let{componentCls:t,lineWidth:n,tableBorderColor:r,calc:i}=e,a=`${J(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:`relative`,zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:a}}},[`div${t}-summary`]:{boxShadow:`0 ${J(i(n).mul(-1).equal())} 0 ${r}`}}}},nR=e=>{let{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:i,tableBorderColor:a,calc:o}=e,s=`${J(r)} ${i} ${a}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-tbody-virtual-holder-inner`]:{[` & > ${t}-row, & > div:not(${t}-row) > ${t}-row - `]:{display:`flex`,boxSizing:`border-box`,width:`100%`}},[`${t}-cell`]:{borderBottom:s,transition:`background-color ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:`sticky`,insetInlineStart:0,overflow:`hidden`,width:`calc(var(--virtual-width) - ${J(r)})`,borderInlineEnd:`none`}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:`""`,insetInline:0,bottom:0,borderBottom:s,position:`absolute`},[`${t}-cell`]:{borderInlineEnd:s,[`&${t}-cell-fix-right-first:before`]:{content:`""`,position:`absolute`,insetBlock:0,insetInlineStart:o(r).mul(-1).equal(),borderInlineStart:s}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:s,borderBottom:s}}}}}},lR=e=>{let{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:i,tableExpandColumnWidth:a,lineWidth:o,lineType:s,tableBorderColor:c,tableFontSize:l,tableBg:u,tableRadius:d,tableHeaderTextColor:f,motionDurationMid:p,tableHeaderBg:m,tableHeaderCellSplitColor:h,tableFooterTextColor:g,tableFooterBg:_,calc:v}=e,y=`${J(o)} ${s} ${c}`;return{[`${t}-wrapper`]:{clear:`both`,maxWidth:`100%`,"--rc-virtual-list-scrollbar-bg":e.tableScrollBg,...Zc(),[t]:{...Yc(e),fontSize:l,background:u,borderRadius:`${J(d)} ${J(d)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`},table:{width:`100%`,textAlign:`start`,borderRadius:`${J(d)} ${J(d)} 0 0`,borderCollapse:`separate`,borderSpacing:0},[` + `]:{display:`flex`,boxSizing:`border-box`,width:`100%`}},[`${t}-cell`]:{borderBottom:s,transition:`background-color ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:`sticky`,insetInlineStart:0,overflow:`hidden`,width:`calc(var(--virtual-width) - ${J(r)})`,borderInlineEnd:`none`}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:`""`,insetInline:0,bottom:0,borderBottom:s,position:`absolute`},[`${t}-cell`]:{borderInlineEnd:s,[`&${t}-cell-fix-right-first:before`]:{content:`""`,position:`absolute`,insetBlock:0,insetInlineStart:o(r).mul(-1).equal(),borderInlineStart:s}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:s,borderBottom:s}}}}}},rR=e=>{let{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:i,tableExpandColumnWidth:a,lineWidth:o,lineType:s,tableBorderColor:c,tableFontSize:l,tableBg:u,tableRadius:d,tableHeaderTextColor:f,motionDurationMid:p,tableHeaderBg:m,tableHeaderCellSplitColor:h,tableFooterTextColor:g,tableFooterBg:_,calc:v}=e,y=`${J(o)} ${s} ${c}`;return{[`${t}-wrapper`]:{clear:`both`,maxWidth:`100%`,"--rc-virtual-list-scrollbar-bg":e.tableScrollBg,...Zc(),[t]:{...Yc(e),fontSize:l,background:u,borderRadius:`${J(d)} ${J(d)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`},table:{width:`100%`,textAlign:`start`,borderRadius:`${J(d)} ${J(d)} 0 0`,borderCollapse:`separate`,borderSpacing:0},[` ${t}-cell, ${t}-thead > tr > th, ${t}-tbody > tr > th, @@ -364,37 +364,37 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho > ${t}-wrapper:only-child, > ${t}-expanded-row-fixed > ${t}-wrapper:only-child `]:{[t]:{marginBlock:J(v(r).mul(-1).equal()),marginInline:`${J(v(a).sub(i).equal())} - ${J(v(i).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:`relative`,color:f,fontWeight:n,textAlign:`start`,background:m,borderBottom:y,transition:`background-color ${p} ease`},[`& > ${t}-measure-cell`]:{paddingBlock:`0 !important`,borderBlock:`0 !important`,[`${t}-measure-cell-content`]:{height:0,overflow:`hidden`,pointerEvents:`none`}}}},[`${t}-footer`]:{padding:`${J(r)} ${J(i)}`,color:g,background:_}}}},uR=e=>{let{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:i,colorFillContent:a,controlItemBgActive:o,controlItemBgActiveHover:s,padding:c,paddingSM:l,paddingXS:u,colorBorderSecondary:d,borderRadiusLG:f,controlHeight:p,colorTextPlaceholder:m,fontSize:h,fontSizeSM:g,lineHeight:_,lineWidth:v,colorIcon:y,colorIconHover:b,opacityLoading:x,controlInteractiveSize:S}=e,C=new zs(i).onBackground(n).toHexString(),w=new zs(a).onBackground(n).toHexString(),T=new zs(t).onBackground(n).toHexString(),E=new zs(y),D=new zs(b),O=S/2-v,k=O*2+v*3;return{headerBg:T,headerColor:r,headerSortActiveBg:C,headerSortHoverBg:w,bodySortBg:T,rowHoverBg:T,rowSelectedBg:o,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:l,cellPaddingInlineMD:u,cellPaddingBlockSM:u,cellPaddingInlineSM:u,borderColor:d,headerBorderRadius:f,footerBg:T,footerColor:r,cellFontSize:h,cellFontSizeMD:h,cellFontSizeSM:h,headerSplitColor:d,fixedHeaderSortActiveBg:C,headerFilterHoverBg:a,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:p,stickyScrollBarBg:m,stickyScrollBarBorderRadius:100,expandIconMarginTop:(h*_-v*3)/2-Math.ceil((g*1.4-v*3)/2),headerIconColor:E.clone().setA(E.a*x).toRgbString(),headerIconHoverColor:D.clone().setA(D.a*x).toRgbString(),expandIconHalfInner:O,expandIconSize:k,expandIconScale:S/k}},dR=2,fR=il(`Table`,e=>{let{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:i,headerBg:a,headerColor:o,headerSortActiveBg:s,headerSortHoverBg:c,bodySortBg:l,rowHoverBg:u,rowSelectedBg:d,rowSelectedHoverBg:f,rowExpandedBg:p,cellPaddingBlock:m,cellPaddingInline:h,cellPaddingBlockMD:g,cellPaddingInlineMD:_,cellPaddingBlockSM:v,cellPaddingInlineSM:y,borderColor:b,footerBg:x,footerColor:S,headerBorderRadius:C,cellFontSize:w,cellFontSizeMD:T,cellFontSizeSM:E,headerSplitColor:D,fixedHeaderSortActiveBg:O,headerFilterHoverBg:k,filterDropdownBg:A,expandIconBg:j,selectionColumnWidth:M,stickyScrollBarBg:N,calc:P}=e,F=_s(e,{tableFontSize:w,tableBg:r,tableRadius:C,tablePaddingVertical:m,tablePaddingHorizontal:h,tablePaddingVerticalMiddle:g,tablePaddingHorizontalMiddle:_,tablePaddingVerticalSmall:v,tablePaddingHorizontalSmall:y,tableBorderColor:b,tableHeaderTextColor:o,tableHeaderBg:a,tableFooterTextColor:S,tableFooterBg:x,tableHeaderCellSplitColor:D,tableHeaderSortBg:s,tableHeaderSortHoverBg:c,tableBodySortBg:l,tableFixedHeaderSortActiveBg:O,tableHeaderFilterActiveBg:k,tableFilterDropdownBg:A,tableRowHoverBg:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:f,zIndexTableFixed:dR,tableFontSizeMiddle:T,tableFontSizeSmall:E,tableSelectionColumnWidth:M,tableExpandIconBg:j,tableExpandColumnWidth:P(i).add(P(e.padding).mul(2)).equal(),tableExpandedRowBg:p,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:N,tableScrollThumbBgHover:t,tableScrollBg:n});return[lR(F),eR(F),sR(F),aR(F),ZL(F),qL(F),tR(F),XL(F),sR(F),YL(F),rR(F),$L(F),oR(F),JL(F),iR(F),nR(F),cR(F)]},uR,{resetFont:!1,unitless:{expandIconScale:!0}}),pR=[],mR=C.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:i,style:a,classNames:o,styles:s,size:c,bordered:l,dropdownPrefixCls:u,dataSource:d,pagination:f,rowSelection:p,rowKey:m,rowClassName:h,columns:g,children:_,childrenColumnName:v,onChange:y,getPopupContainer:b,loading:x,expandIcon:S,expandable:w,expandedRowRender:T,expandIconColumnIndex:E,indentSize:D,scroll:O,sortDirections:k,locale:A,showSorterTooltip:j={target:`full-header`},virtual:M}=e;Or(`Table`);let N=C.useMemo(()=>g||qF(_),[g,_]),P=Nb(C.useMemo(()=>N.some(e=>e.responsive),[N])),F=C.useMemo(()=>{let e=new Set(Object.keys(P).filter(e=>P[e]));return N.filter(t=>!t.responsive||t.responsive.some(t=>e.has(t)))},[N,P]),I=Cr(e,[`className`,`style`,`columns`]),{locale:L=nd,table:R}=C.useContext(si),{getPrefixCls:z,direction:B,renderEmpty:V,getPopupContainer:H,className:U,style:W,classNames:ee,styles:te}=ui(`table`),ne=Pm(e=>c===`middle`?`medium`:c??e),re={...e,size:ne,bordered:l},[ie,ae]=Id([ee,o],[te,s],{props:re},{pagination:{_default:`root`},header:{_default:`wrapper`},body:{_default:`wrapper`}}),G={...L.Table,...A},[oe]=ld(`global`,nd.global),K=d||pR,se=z(`table`,n),ce=z(`dropdown`,u),[,le]=qc(),ue=C.useMemo(()=>gd(p)?{columnWidth:le.Table?.selectionColumnWidth,...p}:p,[p,le.Table?.selectionColumnWidth]),de=xf(se),[fe,pe]=fR(se,de),me={childrenColumnName:v,expandIconColumnIndex:E,...w,expandIcon:w?.expandIcon??R?.expandable?.expandIcon},{childrenColumnName:he=`children`}=me,ge=C.useMemo(()=>K.some(e=>e?.[he])?`nest`:T||w?.expandedRowRender?`row`:null,[he,K]),_e={body:C.useRef(null)},ve=mge(se),ye=C.useRef(null),be=C.useRef(null);Hd(t,()=>({...be.current,nativeElement:ye.current}));let xe=m||R?.rowKey||`key`,Se=O??R?.scroll,Ce=C.useMemo(()=>typeof xe==`function`?xe:e=>e?.[xe],[xe]),[we]=Yge(K,he,Ce),Te={},Ee=(e,t,n=!1)=>{let r={...Te,...e};n&&(Te.resetPagination?.(),r.pagination?.current&&(r.pagination.current=1),f&&f.onChange?.(1,r.pagination?.pageSize)),O&&O.scrollToFirstRowOnChange!==!1&&_e.body.current&&bf(0,{getContainer:()=>_e.body.current}),y?.(r.pagination,r.filters,r.sorter,{currentDataSource:CL(VL(K,r.sorterStates,he),r.filterStates,he),action:t})},[De,Oe,ke,Ae]=HL({prefixCls:se,mergedColumns:F,onSorterChange:(e,t)=>{Ee({sorter:e,sorterStates:t},`sort`,!1)},sortDirections:k||[`ascend`,`descend`],tableLocale:G,showSorterTooltip:j,globalLocale:oe}),je=C.useMemo(()=>VL(K,Oe,he),[he,K,Oe]);Te.sorter=Ae(),Te.sorterStates=Oe;let[Me,Ne,Pe]=Jge({prefixCls:se,locale:G,dropdownPrefixCls:ce,mergedColumns:F,onFilterChange:(e,t)=>{Ee({filters:e,filterStates:t},`filter`,!0)},getPopupContainer:b||H,rootClassName:q(i,de)}),Fe=CL(je,Ne,he);Te.filters=Pe,Te.filterStates=Ne;let[Ie]=WL(C.useMemo(()=>{let e={};return Object.keys(Pe).forEach(t=>{Pe[t]!==null&&(e[t]=Pe[t])}),{...ke,filters:e}},[ke,Pe])),[Le,Re]=TL(Fe.length,(e,t)=>{Ee({pagination:{...Te.pagination,current:e,pageSize:t}},`paginate`)},f);Te.pagination=f===!1?{}:Xge(Le,f),Te.resetPagination=Re;let ze=C.useMemo(()=>{if(f===!1||!Le.pageSize)return Fe;let{current:e=1,total:t,pageSize:n=10}=Le;return Fe.lengthn?Fe.slice((e-1)*n,e*n):Fe:Fe.slice((e-1)*n,e*n)},[!!f,Fe,Le?.current,Le?.pageSize,Le?.total]),[Be,Ve]=fge({prefixCls:se,data:Fe,pageData:ze,getRowKey:Ce,getRecordByKey:we,expandType:ge,childrenColumnName:he,locale:G,getPopupContainer:b||H},ue),He=(e,t,n)=>{let r=typeof h==`function`?h(e,t,n):h;return q({[`${se}-row-selected`]:Ve.has(Ce(e,t))},r)};me.__PARENT_RENDER_ICON__=me.expandIcon,me.expandIcon=me.expandIcon||S||pge(G),ge===`nest`&&me.expandIconColumnIndex===void 0?me.expandIconColumnIndex=+!!ue:me.expandIconColumnIndex>0&&ue&&--me.expandIconColumnIndex,typeof me.indentSize!=`number`&&(me.indentSize=md(D)?D:15);let Ue=C.useCallback(e=>Ie(Be(Me(De(e)))),[De,Me,Be]),We,Ge;if(f!==!1&&Le?.total){let e;e=Le.size?Le.size:ne===`small`||ne===`medium`?`small`:void 0;let t=(t=`end`)=>C.createElement(iP,{...Le,classNames:ie.pagination,styles:ae.pagination,className:q(`${se}-pagination ${se}-pagination-${t}`,Le.className),size:e}),{placement:n,position:r}=Le,i=n??r,a=e=>{let t=e.toLowerCase();return t.includes(`center`)?`center`:t.includes(`left`)||t.includes(`start`)?`start`:`end`};if(Array.isArray(i)){let[e,n]=[`top`,`bottom`].map(e=>i.find(t=>t.includes(e))),r=i.every(e=>`${e}`==`none`);!e&&!n&&!r&&(Ge=t()),e&&(We=t(a(e))),n&&(Ge=t(a(n)))}else Ge=t()}let Ke=C.useMemo(()=>{if(typeof x==`boolean`)return{spinning:x};if(gd(x))return{spinning:!0,...x}},[x]),qe=q(pe,de,`${se}-wrapper`,U,{[`${se}-wrapper-rtl`]:B===`rtl`},r,i,ie.root,fe),Je={...ae.root,...W,...a},Ye=C.useMemo(()=>Ke?.spinning&&K===pR?null:A?.emptyText===void 0?V?.(`Table`)||C.createElement($y,{componentName:`Table`}):A.emptyText,[Ke?.spinning,K,A?.emptyText,V]),Xe=M?KL:GL,Ze={},Qe=C.useMemo(()=>{let{fontSize:e,lineHeight:t,lineWidth:n,padding:r,paddingXS:i,paddingSM:a}=le,o=Math.floor(e*t);switch(ne){case`medium`:return a*2+o+n;case`small`:return i*2+o+n;default:return r*2+o+n}},[le,ne]);return M&&(Ze.listItemHeight=Qe),C.createElement(`div`,{ref:ye,className:qe,style:Je},C.createElement(pP,{spinning:!1,...Ke},We,C.createElement(Xe,{...Ze,...I,scroll:Se,classNames:ie,styles:ae,ref:be,columns:F,direction:B,expandable:me,prefixCls:se,className:q({[`${se}-medium`]:ne===`medium`,[`${se}-small`]:ne===`small`,[`${se}-bordered`]:l,[`${se}-empty`]:K.length===0},pe,de,fe),data:ze,rowKey:Ce,rowClassName:He,emptyText:Ye,internalHooks:fF,internalRefs:_e,transformColumns:Ue,getContainerWidth:ve,measureRowRender:e=>C.createElement(Xb.Provider,{value:!0},C.createElement(Zp,{getPopupContainer:e=>e},e))}),Ge))}),hR=C.forwardRef((e,t)=>{let n=C.useRef(0);return n.current+=1,C.createElement(mR,{...e,ref:t,_renderTimes:n.current})});hR.SELECTION_COLUMN=EI,hR.EXPAND_COLUMN=dF,hR.SELECTION_ALL=DI,hR.SELECTION_INVERT=OI,hR.SELECTION_NONE=kI,hR.Column=ige,hR.ColumnGroup=age,hR.Summary=MF;var gR=hR,_R=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:i,calc:a}=e,o=a(r).sub(n).equal(),s=a(t).sub(n).equal();return{[i]:{...Yc(e),display:`inline-block`,height:`auto`,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:`nowrap`,backgroundColor:e.defaultBg,border:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:`start`,position:`relative`,[`&${i}-rtl`]:{direction:`rtl`},"&, a, a:hover":{color:e.defaultColor},[`${i}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorIcon,cursor:`pointer`,transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},"&-checkable":{backgroundColor:`transparent`,borderColor:`transparent`,cursor:`pointer`,[`&:not(${i}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive},"&-disabled":{cursor:`not-allowed`,[`&:not(${i}-checkable-checked)`]:{color:e.colorTextDisabled,"&:hover":{backgroundColor:`transparent`}},[`&${i}-checkable-checked`]:{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled},"&:hover, &:active":{backgroundColor:e.colorBgContainerDisabled,color:e.colorTextDisabled},[`&:not(${i}-checkable-checked):hover`]:{color:e.colorTextDisabled}},"&-group":{display:`flex`,flexWrap:`wrap`,gap:e.paddingXS}},"&-hidden":{display:`none`},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}},[`&${e.componentCls}-solid`]:{borderColor:`transparent`,color:e.colorTextLightSolid,backgroundColor:e.colorBgSolid,[`&${i}-default`]:{color:e.solidTextColor}},[`${i}-filled`]:{borderColor:`transparent`,backgroundColor:e.tagBorderlessBg},[`&${i}-disabled`]:{color:e.colorTextDisabled,cursor:`not-allowed`,backgroundColor:e.colorBgContainerDisabled,a:{cursor:`not-allowed`,pointerEvents:`none`,color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}},"a&":{"&:hover, &:active":{color:e.colorTextDisabled}},[`&${i}-outlined`]:{borderColor:e.colorBorderDisabled},[`&${i}-solid, &${i}-filled`]:{color:e.colorTextDisabled,[`${i}-close-icon`]:{color:e.colorTextDisabled}},[`${i}-close-icon`]:{cursor:`not-allowed`,color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}}}}},vR=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,i=e.fontSizeSM;return _s(e,{tagFontSize:i,tagLineHeight:J(r(e.lineHeightSM).mul(i).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},yR=e=>{let t=Ph(new gh(e.colorBgSolid),`#fff`)?`#000`:`#fff`;return{defaultBg:new zs(e.colorFillTertiary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText,solidTextColor:t}},bR=il(`Tag`,e=>_R(vR(e)),yR),xR=C.forwardRef((e,t)=>{let{prefixCls:n,style:r,className:i,checked:a,children:o,icon:s,onChange:c,onClick:l,disabled:u,...d}=e,{getPrefixCls:f,tag:p}=C.useContext(si),m=C.useContext(Bp),h=u??m,g=e=>{h||(c?.(!a),l?.(e))},_=f(`tag`,n),[v,y]=bR(_),b=q(_,`${_}-checkable`,{[`${_}-checkable-checked`]:a,[`${_}-checkable-disabled`]:h},p?.className,i,v,y);return C.createElement(`span`,{...d,ref:t,style:{...r,...p?.style},className:b,onClick:g},s,C.createElement(`span`,null,o))}),SR=C.forwardRef((e,t)=>{let{id:n,prefixCls:r,rootClassName:i,className:a,style:o,classNames:s,styles:c,disabled:l,options:u,value:d,defaultValue:f,onChange:p,multiple:m,...h}=e,{getPrefixCls:g,direction:_,className:v,style:y,classNames:b,styles:x}=ui(`tag`),S=g(`tag`,r),w=`${S}-checkable-group`,[T,E]=bR(S,xf(S)),[D,O]=Id([b,s],[x,c],{props:e}),k=(0,C.useMemo)(()=>Array.isArray(u)?u.map(e=>gd(e)?e:{value:e,label:e}):[],[u]),[A,j]=Wn(f,d),M=(e,t)=>{let n=null;if(m){let r=A||[];n=e?[].concat(Qr(r),[t.value]):r.filter(e=>e!==t.value)}else n=e?t.value:null;j(n),p?.(n)},N=C.useRef(null);(0,C.useImperativeHandle)(t,()=>({nativeElement:N.current}));let P=Hu(h,{aria:!0,data:!0});return C.createElement(`div`,{...P,className:q(w,v,i,{[`${w}-disabled`]:l,[`${w}-rtl`]:_===`rtl`},T,E,a,D.root),style:{...y,...O.root,...o},id:n,ref:N},k.map(e=>C.createElement(xR,{key:e.value,className:q(`${w}-item`,D.item),style:O.item,checked:m?(A||[]).includes(e.value):A===e.value,onChange:t=>M(t,e),disabled:l},e.label)))});function CR(e,t){let{color:n,variant:r,bordered:i}=e;return C.useMemo(()=>{let e=n?.endsWith(`-inverse`),a;a=r||(e?`solid`:i===!1?`filled`:t||`filled`);let o=e?n?.replace(`-inverse`,``):n,s=ex(n),c=gie(n),l={};if(!s&&!c&&o)if(a===`solid`)l.backgroundColor=n;else{let e=new zs(o).toHsl();e.l=.95,l.backgroundColor=new zs(e).toHexString(),l.color=n,a===`outlined`&&(l.borderColor=n)}return[a,o,s,c,l]},[n,r,i,t])}var wR=e=>cl(e,(t,{textColor:n,lightBorderColor:r,lightColor:i,darkColor:a})=>({[`${e.componentCls}${e.componentCls}-${t}:not(${e.componentCls}-disabled)`]:{[`&${e.componentCls}-outlined`]:{backgroundColor:i,borderColor:r,color:n},[`&${e.componentCls}-solid`]:{backgroundColor:a,borderColor:a,color:e.colorTextLightSolid},[`&${e.componentCls}-filled`]:{backgroundColor:i,color:n}}})),TR=ol([`Tag`,`preset`],e=>wR(vR(e)),yR);function ER(e){return typeof e==`string`?e.charAt(0).toUpperCase()+e.slice(1):e}var DR=(e,t,n)=>{let r=ER(n);return{[`${e.componentCls}${e.componentCls}-${t}:not(${e.componentCls}-disabled)`]:{[`&${e.componentCls}-outlined`]:{backgroundColor:e[`color${r}Bg`],borderColor:e[`color${r}Border`],color:e[`color${n}`]},[`&${e.componentCls}-solid`]:{backgroundColor:e[`color${n}`],borderColor:e[`color${n}`]},[`&${e.componentCls}-filled`]:{backgroundColor:e[`color${r}Bg`],color:e[`color${n}`]}}}},OR=ol([`Tag`,`status`],e=>{let t=vR(e);return[DR(t,`success`,`Success`),DR(t,`processing`,`Info`),DR(t,`error`,`Error`),DR(t,`warning`,`Warning`)]},yR),kR=C.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:i,style:a,children:o,icon:s,color:c,variant:l,onClose:u,bordered:d,disabled:f,href:p,target:m,styles:h,classNames:g,..._}=e,{getPrefixCls:v,direction:y,className:b,variant:x,style:S,classNames:w,styles:T}=ui(`tag`),[E,D,O,k,A]=CR(e,x),j=O||k,M=C.useContext(Bp),N=f??M,{tag:P}=C.useContext(si),[F,I]=C.useState(!0),L=Cr(_,[`closeIcon`,`closable`]),R={...e,color:D,variant:E,disabled:N},[z,B]=Id([w,g],[T,h],{props:R}),V=C.useMemo(()=>{let e={...B.root,...S,...a};return N||(e={...A,...e}),e},[B.root,S,a,A,N]),H=v(`tag`,n),[U,W]=bR(H),ee=q(H,b,z.root,`${H}-${E}`,{[`${H}-${D}`]:j,[`${H}-hidden`]:!F,[`${H}-rtl`]:y===`rtl`,[`${H}-disabled`]:N},r,i,U,W),te=e=>{N||(e.stopPropagation(),u?.(e),!e.defaultPrevented&&I(!1))},[,ne]=Ed(bd(e),bd(P),{closable:!1,closeIconRender:e=>Pp(e,C.createElement(`span`,{className:`${H}-close-icon`,onClick:te},e),e=>({onClick:t=>{e?.onClick?.(t),te(t)},className:q(e?.className,`${H}-close-icon`)}))}),re=typeof _.onClick==`function`||o&&o.type===`a`,ie=Fp(s,{className:q(C.isValidElement(s)?s.props?.className:void 0,z.icon),style:B.icon}),ae=ie?C.createElement(C.Fragment,null,ie,o&&C.createElement(`span`,{className:z.content,style:B.content},o)):o,G=p?`a`:`span`,oe=C.createElement(G,{...L,ref:t,className:ee,style:V,href:N?void 0:p,target:m,onClick:N?void 0:L.onClick,...p&&N?{"aria-disabled":!0}:{}},ae,ne,O&&C.createElement(TR,{key:`preset`,prefixCls:H}),k&&C.createElement(OR,{key:`status`,prefixCls:H}));return re?C.createElement(Nm,{component:`Tag`},oe):oe});kR.CheckableTag=xR,kR.CheckableTagGroup=SR;var AR={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z`}}]},name:`delete`,theme:`outlined`};function jR(){return jR=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jR({},e,{ref:t,icon:AR}))),NR={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z`}}]},name:`edit`,theme:`outlined`};function PR(){return PR=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PR({},e,{ref:t,icon:NR}))),IR={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z`}}]},name:`enter`,theme:`outlined`};function LR(){return LR=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LR({},e,{ref:t,icon:IR}))),zR=(e,t,n,r)=>{let{titleMarginBottom:i,fontWeightStrong:a}=r;return{marginBottom:i,color:n,fontWeight:a,fontSize:e,lineHeight:t}},BR=e=>{let t=[1,2,3,4,5],n={};return t.forEach(t=>{n[` + ${J(v(i).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:`relative`,color:f,fontWeight:n,textAlign:`start`,background:m,borderBottom:y,transition:`background-color ${p} ease`},[`& > ${t}-measure-cell`]:{paddingBlock:`0 !important`,borderBlock:`0 !important`,[`${t}-measure-cell-content`]:{height:0,overflow:`hidden`,pointerEvents:`none`}}}},[`${t}-footer`]:{padding:`${J(r)} ${J(i)}`,color:g,background:_}}}},iR=e=>{let{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:i,colorFillContent:a,controlItemBgActive:o,controlItemBgActiveHover:s,padding:c,paddingSM:l,paddingXS:u,colorBorderSecondary:d,borderRadiusLG:f,controlHeight:p,colorTextPlaceholder:m,fontSize:h,fontSizeSM:g,lineHeight:_,lineWidth:v,colorIcon:y,colorIconHover:b,opacityLoading:x,controlInteractiveSize:S}=e,C=new zs(i).onBackground(n).toHexString(),w=new zs(a).onBackground(n).toHexString(),T=new zs(t).onBackground(n).toHexString(),E=new zs(y),D=new zs(b),O=S/2-v,k=O*2+v*3;return{headerBg:T,headerColor:r,headerSortActiveBg:C,headerSortHoverBg:w,bodySortBg:T,rowHoverBg:T,rowSelectedBg:o,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:l,cellPaddingInlineMD:u,cellPaddingBlockSM:u,cellPaddingInlineSM:u,borderColor:d,headerBorderRadius:f,footerBg:T,footerColor:r,cellFontSize:h,cellFontSizeMD:h,cellFontSizeSM:h,headerSplitColor:d,fixedHeaderSortActiveBg:C,headerFilterHoverBg:a,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:p,stickyScrollBarBg:m,stickyScrollBarBorderRadius:100,expandIconMarginTop:(h*_-v*3)/2-Math.ceil((g*1.4-v*3)/2),headerIconColor:E.clone().setA(E.a*x).toRgbString(),headerIconHoverColor:D.clone().setA(D.a*x).toRgbString(),expandIconHalfInner:O,expandIconSize:k,expandIconScale:S/k}},aR=2,oR=il(`Table`,e=>{let{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:i,headerBg:a,headerColor:o,headerSortActiveBg:s,headerSortHoverBg:c,bodySortBg:l,rowHoverBg:u,rowSelectedBg:d,rowSelectedHoverBg:f,rowExpandedBg:p,cellPaddingBlock:m,cellPaddingInline:h,cellPaddingBlockMD:g,cellPaddingInlineMD:_,cellPaddingBlockSM:v,cellPaddingInlineSM:y,borderColor:b,footerBg:x,footerColor:S,headerBorderRadius:C,cellFontSize:w,cellFontSizeMD:T,cellFontSizeSM:E,headerSplitColor:D,fixedHeaderSortActiveBg:O,headerFilterHoverBg:k,filterDropdownBg:A,expandIconBg:j,selectionColumnWidth:M,stickyScrollBarBg:N,calc:P}=e,F=_s(e,{tableFontSize:w,tableBg:r,tableRadius:C,tablePaddingVertical:m,tablePaddingHorizontal:h,tablePaddingVerticalMiddle:g,tablePaddingHorizontalMiddle:_,tablePaddingVerticalSmall:v,tablePaddingHorizontalSmall:y,tableBorderColor:b,tableHeaderTextColor:o,tableHeaderBg:a,tableFooterTextColor:S,tableFooterBg:x,tableHeaderCellSplitColor:D,tableHeaderSortBg:s,tableHeaderSortHoverBg:c,tableBodySortBg:l,tableFixedHeaderSortActiveBg:O,tableHeaderFilterActiveBg:k,tableFilterDropdownBg:A,tableRowHoverBg:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:f,zIndexTableFixed:aR,tableFontSizeMiddle:T,tableFontSizeSmall:E,tableSelectionColumnWidth:M,tableExpandIconBg:j,tableExpandColumnWidth:P(i).add(P(e.padding).mul(2)).equal(),tableExpandedRowBg:p,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:N,tableScrollThumbBgHover:t,tableScrollBg:n});return[rR(F),JL(F),tR(F),$L(F),GL(F),VL(F),YL(F),WL(F),tR(F),UL(F),ZL(F),qL(F),eR(F),HL(F),QL(F),XL(F),nR(F)]},iR,{resetFont:!1,unitless:{expandIconScale:!0}}),sR=[],cR=C.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:i,style:a,classNames:o,styles:s,size:c,bordered:l,dropdownPrefixCls:u,dataSource:d,pagination:f,rowSelection:p,rowKey:m,rowClassName:h,columns:g,children:_,childrenColumnName:v,onChange:y,getPopupContainer:b,loading:x,expandIcon:S,expandable:w,expandedRowRender:T,expandIconColumnIndex:E,indentSize:D,scroll:O,sortDirections:k,locale:A,showSorterTooltip:j={target:`full-header`},virtual:M}=e;Or(`Table`);let N=C.useMemo(()=>g||WF(_),[g,_]),P=jb(C.useMemo(()=>N.some(e=>e.responsive),[N])),F=C.useMemo(()=>{let e=new Set(Object.keys(P).filter(e=>P[e]));return N.filter(t=>!t.responsive||t.responsive.some(t=>e.has(t)))},[N,P]),I=Cr(e,[`className`,`style`,`columns`]),{locale:L=nd,table:R}=C.useContext(si),{getPrefixCls:z,direction:B,renderEmpty:V,getPopupContainer:H,className:U,style:W,classNames:ee,styles:te}=ui(`table`),ne=Rm(e=>c===`middle`?`medium`:c??e),re={...e,size:ne,bordered:l},[ie,ae]=Id([ee,o],[te,s],{props:re},{pagination:{_default:`root`},header:{_default:`wrapper`},body:{_default:`wrapper`}}),G={...L.Table,...A},[oe]=ld(`global`,nd.global),K=d||sR,se=z(`table`,n),ce=z(`dropdown`,u),[,le]=qc(),ue=C.useMemo(()=>gd(p)?{columnWidth:le.Table?.selectionColumnWidth,...p}:p,[p,le.Table?.selectionColumnWidth]),de=xf(se),[fe,pe]=oR(se,de),me={childrenColumnName:v,expandIconColumnIndex:E,...w,expandIcon:w?.expandIcon??R?.expandable?.expandIcon},{childrenColumnName:he=`children`}=me,ge=C.useMemo(()=>K.some(e=>e?.[he])?`nest`:T||w?.expandedRowRender?`row`:null,[he,K]),_e={body:C.useRef(null)},ve=_ge(se),ye=C.useRef(null),be=C.useRef(null);Hd(t,()=>({...be.current,nativeElement:ye.current}));let xe=m||R?.rowKey||`key`,Se=O??R?.scroll,Ce=C.useMemo(()=>typeof xe==`function`?xe:e=>e?.[xe],[xe]),[we]=Qge(K,he,Ce),Te={},Ee=(e,t,n=!1)=>{let r={...Te,...e};n&&(Te.resetPagination?.(),r.pagination?.current&&(r.pagination.current=1),f&&f.onChange?.(1,r.pagination?.pageSize)),O&&O.scrollToFirstRowOnChange!==!1&&_e.body.current&&bf(0,{getContainer:()=>_e.body.current}),y?.(r.pagination,r.filters,r.sorter,{currentDataSource:bL(FL(K,r.sorterStates,he),r.filterStates,he),action:t})},[De,Oe,ke,Ae]=IL({prefixCls:se,mergedColumns:F,onSorterChange:(e,t)=>{Ee({sorter:e,sorterStates:t},`sort`,!1)},sortDirections:k||[`ascend`,`descend`],tableLocale:G,showSorterTooltip:j,globalLocale:oe}),je=C.useMemo(()=>FL(K,Oe,he),[he,K,Oe]);Te.sorter=Ae(),Te.sorterStates=Oe;let[Me,Ne,Pe]=Zge({prefixCls:se,locale:G,dropdownPrefixCls:ce,mergedColumns:F,onFilterChange:(e,t)=>{Ee({filters:e,filterStates:t},`filter`,!0)},getPopupContainer:b||H,rootClassName:q(i,de)}),Fe=bL(je,Ne,he);Te.filters=Pe,Te.filterStates=Ne;let[Ie]=RL(C.useMemo(()=>{let e={};return Object.keys(Pe).forEach(t=>{Pe[t]!==null&&(e[t]=Pe[t])}),{...ke,filters:e}},[ke,Pe])),[Le,Re]=e_e(Fe.length,(e,t)=>{Ee({pagination:{...Te.pagination,current:e,pageSize:t}},`paginate`)},f);Te.pagination=f===!1?{}:$ge(Le,f),Te.resetPagination=Re;let ze=C.useMemo(()=>{if(f===!1||!Le.pageSize)return Fe;let{current:e=1,total:t,pageSize:n=10}=Le;return Fe.lengthn?Fe.slice((e-1)*n,e*n):Fe:Fe.slice((e-1)*n,e*n)},[!!f,Fe,Le?.current,Le?.pageSize,Le?.total]),[Be,Ve]=hge({prefixCls:se,data:Fe,pageData:ze,getRowKey:Ce,getRecordByKey:we,expandType:ge,childrenColumnName:he,locale:G,getPopupContainer:b||H},ue),He=(e,t,n)=>{let r=typeof h==`function`?h(e,t,n):h;return q({[`${se}-row-selected`]:Ve.has(Ce(e,t))},r)};me.__PARENT_RENDER_ICON__=me.expandIcon,me.expandIcon=me.expandIcon||S||gge(G),ge===`nest`&&me.expandIconColumnIndex===void 0?me.expandIconColumnIndex=+!!ue:me.expandIconColumnIndex>0&&ue&&--me.expandIconColumnIndex,typeof me.indentSize!=`number`&&(me.indentSize=md(D)?D:15);let Ue=C.useCallback(e=>Ie(Be(Me(De(e)))),[De,Me,Be]),We,Ge;if(f!==!1&&Le?.total){let e;e=Le.size?Le.size:ne===`small`||ne===`medium`?`small`:void 0;let t=(t=`end`)=>C.createElement(tP,{...Le,classNames:ie.pagination,styles:ae.pagination,className:q(`${se}-pagination ${se}-pagination-${t}`,Le.className),size:e}),{placement:n,position:r}=Le,i=n??r,a=e=>{let t=e.toLowerCase();return t.includes(`center`)?`center`:t.includes(`left`)||t.includes(`start`)?`start`:`end`};if(Array.isArray(i)){let[e,n]=[`top`,`bottom`].map(e=>i.find(t=>t.includes(e))),r=i.every(e=>`${e}`==`none`);!e&&!n&&!r&&(Ge=t()),e&&(We=t(a(e))),n&&(Ge=t(a(n)))}else Ge=t()}let Ke=C.useMemo(()=>{if(typeof x==`boolean`)return{spinning:x};if(gd(x))return{spinning:!0,...x}},[x]),qe=q(pe,de,`${se}-wrapper`,U,{[`${se}-wrapper-rtl`]:B===`rtl`},r,i,ie.root,fe),Je={...ae.root,...W,...a},Ye=C.useMemo(()=>Ke?.spinning&&K===sR?null:A?.emptyText===void 0?V?.(`Table`)||C.createElement(Jy,{componentName:`Table`}):A.emptyText,[Ke?.spinning,K,A?.emptyText,V]),Xe=M?BL:zL,Ze={},Qe=C.useMemo(()=>{let{fontSize:e,lineHeight:t,lineWidth:n,padding:r,paddingXS:i,paddingSM:a}=le,o=Math.floor(e*t);switch(ne){case`medium`:return a*2+o+n;case`small`:return i*2+o+n;default:return r*2+o+n}},[le,ne]);return M&&(Ze.listItemHeight=Qe),C.createElement(`div`,{ref:ye,className:qe,style:Je},C.createElement(uP,{spinning:!1,...Ke},We,C.createElement(Xe,{...Ze,...I,scroll:Se,classNames:ie,styles:ae,ref:be,columns:F,direction:B,expandable:me,prefixCls:se,className:q({[`${se}-medium`]:ne===`medium`,[`${se}-small`]:ne===`small`,[`${se}-bordered`]:l,[`${se}-empty`]:K.length===0},pe,de,fe),data:ze,rowKey:Ce,rowClassName:He,emptyText:Ye,internalHooks:lF,internalRefs:_e,transformColumns:Ue,getContainerWidth:ve,measureRowRender:e=>C.createElement(tx.Provider,{value:!0},C.createElement($p,{getPopupContainer:e=>e},e))}),Ge))}),lR=C.forwardRef((e,t)=>{let n=C.useRef(0);return n.current+=1,C.createElement(cR,{...e,ref:t,_renderTimes:n.current})});lR.SELECTION_COLUMN=CI,lR.EXPAND_COLUMN=cF,lR.SELECTION_ALL=wI,lR.SELECTION_INVERT=TI,lR.SELECTION_NONE=EI,lR.Column=sge,lR.ColumnGroup=cge,lR.Summary=kF;var uR=lR,dR=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:i,calc:a}=e,o=a(r).sub(n).equal(),s=a(t).sub(n).equal();return{[i]:{...Yc(e),display:`inline-block`,height:`auto`,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:`nowrap`,backgroundColor:e.defaultBg,border:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:`start`,position:`relative`,[`&${i}-rtl`]:{direction:`rtl`},"&, a, a:hover":{color:e.defaultColor},[`${i}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorIcon,cursor:`pointer`,transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},"&-checkable":{backgroundColor:`transparent`,borderColor:`transparent`,cursor:`pointer`,[`&:not(${i}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive},"&-disabled":{cursor:`not-allowed`,[`&:not(${i}-checkable-checked)`]:{color:e.colorTextDisabled,"&:hover":{backgroundColor:`transparent`}},[`&${i}-checkable-checked`]:{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled},"&:hover, &:active":{backgroundColor:e.colorBgContainerDisabled,color:e.colorTextDisabled},[`&:not(${i}-checkable-checked):hover`]:{color:e.colorTextDisabled}},"&-group":{display:`flex`,flexWrap:`wrap`,gap:e.paddingXS}},"&-hidden":{display:`none`},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}},[`&${e.componentCls}-solid`]:{borderColor:`transparent`,color:e.colorTextLightSolid,backgroundColor:e.colorBgSolid,[`&${i}-default`]:{color:e.solidTextColor}},[`${i}-filled`]:{borderColor:`transparent`,backgroundColor:e.tagBorderlessBg},[`&${i}-disabled`]:{color:e.colorTextDisabled,cursor:`not-allowed`,backgroundColor:e.colorBgContainerDisabled,a:{cursor:`not-allowed`,pointerEvents:`none`,color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}},"a&":{"&:hover, &:active":{color:e.colorTextDisabled}},[`&${i}-outlined`]:{borderColor:e.colorBorderDisabled},[`&${i}-solid, &${i}-filled`]:{color:e.colorTextDisabled,[`${i}-close-icon`]:{color:e.colorTextDisabled}},[`${i}-close-icon`]:{cursor:`not-allowed`,color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}}}}},fR=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,i=e.fontSizeSM;return _s(e,{tagFontSize:i,tagLineHeight:J(r(e.lineHeightSM).mul(i).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},pR=e=>{let t=Wh(new bh(e.colorBgSolid),`#fff`)?`#000`:`#fff`;return{defaultBg:new zs(e.colorFillTertiary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText,solidTextColor:t}},mR=il(`Tag`,e=>dR(fR(e)),pR),hR=C.forwardRef((e,t)=>{let{prefixCls:n,style:r,className:i,checked:a,children:o,icon:s,onChange:c,onClick:l,disabled:u,...d}=e,{getPrefixCls:f,tag:p}=C.useContext(si),m=C.useContext(Bp),h=u??m,g=e=>{h||(c?.(!a),l?.(e))},_=f(`tag`,n),[v,y]=mR(_),b=q(_,`${_}-checkable`,{[`${_}-checkable-checked`]:a,[`${_}-checkable-disabled`]:h},p?.className,i,v,y);return C.createElement(`span`,{...d,ref:t,style:{...r,...p?.style},className:b,onClick:g},s,C.createElement(`span`,null,o))}),gR=C.forwardRef((e,t)=>{let{id:n,prefixCls:r,rootClassName:i,className:a,style:o,classNames:s,styles:c,disabled:l,options:u,value:d,defaultValue:f,onChange:p,multiple:m,...h}=e,{getPrefixCls:g,direction:_,className:v,style:y,classNames:b,styles:x}=ui(`tag`),S=g(`tag`,r),w=`${S}-checkable-group`,[T,E]=mR(S,xf(S)),[D,O]=Id([b,s],[x,c],{props:e}),k=(0,C.useMemo)(()=>Array.isArray(u)?u.map(e=>gd(e)?e:{value:e,label:e}):[],[u]),[A,j]=Wn(f,d),M=(e,t)=>{let n=null;if(m){let r=A||[];n=e?[].concat(Qr(r),[t.value]):r.filter(e=>e!==t.value)}else n=e?t.value:null;j(n),p?.(n)},N=C.useRef(null);(0,C.useImperativeHandle)(t,()=>({nativeElement:N.current}));let P=Hu(h,{aria:!0,data:!0});return C.createElement(`div`,{...P,className:q(w,v,i,{[`${w}-disabled`]:l,[`${w}-rtl`]:_===`rtl`},T,E,a,D.root),style:{...y,...O.root,...o},id:n,ref:N},k.map(e=>C.createElement(hR,{key:e.value,className:q(`${w}-item`,D.item),style:O.item,checked:m?(A||[]).includes(e.value):A===e.value,onChange:t=>M(t,e),disabled:l},e.label)))});function _R(e,t){let{color:n,variant:r,bordered:i}=e;return C.useMemo(()=>{let e=n?.endsWith(`-inverse`),a;a=r||(e?`solid`:i===!1?`filled`:t||`filled`);let o=e?n?.replace(`-inverse`,``):n,s=lx(n),c=ux(n),l={};if(!s&&!c&&o)if(a===`solid`)l.backgroundColor=n;else{let e=new zs(o).toHsl();e.l=.95,l.backgroundColor=new zs(e).toHexString(),l.color=n,a===`outlined`&&(l.borderColor=n)}return[a,o,s,c,l]},[n,r,i,t])}var vR=e=>cl(e,(t,{textColor:n,lightBorderColor:r,lightColor:i,darkColor:a})=>({[`${e.componentCls}${e.componentCls}-${t}:not(${e.componentCls}-disabled)`]:{[`&${e.componentCls}-outlined`]:{backgroundColor:i,borderColor:r,color:n},[`&${e.componentCls}-solid`]:{backgroundColor:a,borderColor:a,color:e.colorTextLightSolid},[`&${e.componentCls}-filled`]:{backgroundColor:i,color:n}}})),yR=ol([`Tag`,`preset`],e=>vR(fR(e)),pR);function bR(e){return typeof e==`string`?e.charAt(0).toUpperCase()+e.slice(1):e}var xR=(e,t,n)=>{let r=bR(n);return{[`${e.componentCls}${e.componentCls}-${t}:not(${e.componentCls}-disabled)`]:{[`&${e.componentCls}-outlined`]:{backgroundColor:e[`color${r}Bg`],borderColor:e[`color${r}Border`],color:e[`color${n}`]},[`&${e.componentCls}-solid`]:{backgroundColor:e[`color${n}`],borderColor:e[`color${n}`]},[`&${e.componentCls}-filled`]:{backgroundColor:e[`color${r}Bg`],color:e[`color${n}`]}}}},SR=ol([`Tag`,`status`],e=>{let t=fR(e);return[xR(t,`success`,`Success`),xR(t,`processing`,`Info`),xR(t,`error`,`Error`),xR(t,`warning`,`Warning`)]},pR),CR=C.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:i,style:a,children:o,icon:s,color:c,variant:l,onClose:u,bordered:d,disabled:f,href:p,target:m,styles:h,classNames:g,..._}=e,{getPrefixCls:v,direction:y,className:b,variant:x,style:S,classNames:w,styles:T}=ui(`tag`),[E,D,O,k,A]=_R(e,x),j=O||k,M=C.useContext(Bp),N=f??M,{tag:P}=C.useContext(si),[F,I]=C.useState(!0),L=Cr(_,[`closeIcon`,`closable`]),R={...e,color:D,variant:E,disabled:N},[z,B]=Id([w,g],[T,h],{props:R}),V=C.useMemo(()=>{let e={...B.root,...S,...a};return N||(e={...A,...e}),e},[B.root,S,a,A,N]),H=v(`tag`,n),[U,W]=mR(H),ee=q(H,b,z.root,`${H}-${E}`,{[`${H}-${D}`]:j,[`${H}-hidden`]:!F,[`${H}-rtl`]:y===`rtl`,[`${H}-disabled`]:N},r,i,U,W),te=e=>{N||(e.stopPropagation(),u?.(e),!e.defaultPrevented&&I(!1))},[,ne]=Ed(bd(e),bd(P),{closable:!1,closeIconRender:e=>Pp(e,C.createElement(`span`,{className:`${H}-close-icon`,onClick:te},e),e=>({onClick:t=>{e?.onClick?.(t),te(t)},className:q(e?.className,`${H}-close-icon`)}))}),re=typeof _.onClick==`function`||o&&o.type===`a`,ie=Fp(s,{className:q(C.isValidElement(s)?s.props?.className:void 0,z.icon),style:B.icon}),ae=ie?C.createElement(C.Fragment,null,ie,o&&C.createElement(`span`,{className:z.content,style:B.content},o)):o,G=p?`a`:`span`,oe=C.createElement(G,{...L,ref:t,className:ee,style:V,href:N?void 0:p,target:m,onClick:N?void 0:L.onClick,...p&&N?{"aria-disabled":!0}:{}},ae,ne,O&&C.createElement(yR,{key:`preset`,prefixCls:H}),k&&C.createElement(SR,{key:`status`,prefixCls:H}));return re?C.createElement(Lm,{component:`Tag`},oe):oe});CR.CheckableTag=hR,CR.CheckableTagGroup=gR;var wR={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z`}}]},name:`delete`,theme:`outlined`};function TR(){return TR=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TR({},e,{ref:t,icon:wR}))),DR={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z`}}]},name:`edit`,theme:`outlined`};function OR(){return OR=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OR({},e,{ref:t,icon:DR}))),AR={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z`}}]},name:`enter`,theme:`outlined`};function jR(){return jR=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jR({},e,{ref:t,icon:AR}))),NR=(e,t,n,r)=>{let{titleMarginBottom:i,fontWeightStrong:a}=r;return{marginBottom:i,color:n,fontWeight:a,fontSize:e,lineHeight:t}},PR=e=>{let t=[1,2,3,4,5],n={};return t.forEach(t=>{n[` h${t}&, div&-h${t}, div&-h${t} > textarea, h${t} - `]=zR(e[`fontSizeHeading${t}`],e[`lineHeightHeading${t}`],e.colorTextHeading,e)}),n},VR=e=>{let{componentCls:t}=e;return{[`&${`${t}-link`}`]:{...rl(e),userSelect:`text`,[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:`not-allowed`,"&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:`none`,[`${t}-actions`]:{pointerEvents:`auto`}}}}}},HR=e=>({code:{margin:`0 0.2em`,paddingInline:`0.4em`,paddingBlock:`0.2em 0.1em`,fontSize:`85%`,fontFamily:e.fontFamilyCode,background:`rgba(150, 150, 150, 0.1)`,border:`1px solid rgba(100, 100, 100, 0.2)`,borderRadius:3},kbd:{margin:`0 0.2em`,paddingInline:`0.4em`,paddingBlock:`0.15em 0.1em`,fontSize:`90%`,fontFamily:e.fontFamilyCode,background:`rgba(150, 150, 150, 0.06)`,border:`1px solid rgba(100, 100, 100, 0.2)`,borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:nc[2]},"u, ins":{textDecoration:`underline`,textDecorationSkipInk:`auto`},"s, del":{textDecoration:`line-through`},strong:{fontWeight:e.fontWeightStrong},"ul, ol":{marginInline:0,marginBlock:`0 1em`,padding:0,li:{marginInline:`20px 0`,marginBlock:0,paddingInline:`4px 0`,paddingBlock:0}},ul:{listStyleType:`circle`,ul:{listStyleType:`disc`}},ol:{listStyleType:`decimal`},"pre, blockquote":{margin:`1em 0`},pre:{padding:`0.4em 0.6em`,whiteSpace:`pre-wrap`,wordWrap:`break-word`,background:`rgba(150, 150, 150, 0.1)`,border:`1px solid rgba(100, 100, 100, 0.2)`,borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:`inline`,margin:0,padding:0,fontSize:`inherit`,fontFamily:`inherit`,background:`transparent`,border:0}},blockquote:{paddingInline:`0.6em 0`,paddingBlock:0,borderInlineStart:`4px solid rgba(100, 100, 100, 0.2)`,opacity:.85}}),UR=e=>{let{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:`relative`,"div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),insetBlockStart:e.calc(r).div(-2).add(1).equal(),marginBottom:e.calc(r).div(2).sub(2).equal()},[`${t}-edit-content-confirm`]:{position:`absolute`,insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorIcon,fontWeight:`normal`,fontSize:e.fontSize,fontStyle:`normal`,pointerEvents:`none`},textarea:{margin:`0!important`,MozTransition:`none`,height:`1em`}}}},WR=e=>({[`${e.componentCls}-copy-success`]:{"&, &:hover, &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),GR=()=>({"a&-ellipsis, span&-ellipsis":{display:`inline-block`,maxWidth:`100%`},"&-ellipsis-single-line":{whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,"a&, span&":{verticalAlign:`bottom`},"> code":{paddingBlock:0,maxWidth:`calc(100% - 1.2em)`,display:`inline-block`,overflow:`hidden`,textOverflow:`ellipsis`,verticalAlign:`bottom`,boxSizing:`content-box`}},"&-ellipsis-multiple-line":{display:`-webkit-box`,overflow:`hidden`,WebkitLineClamp:3,WebkitBoxOrient:`vertical`}}),KR=il(`Typography`,e=>{let{componentCls:t,titleMarginTop:n}=e;return{[t]:{color:e.colorText,wordBreak:`break-word`,lineHeight:e.lineHeight,[`&${t}-secondary, &${t}-link${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success, &${t}-link${t}-success`]:{color:e.colorSuccessText},[`&${t}-warning, &${t}-link${t}-warning`]:{color:e.colorWarningText},[`&${t}-danger, &${t}-link${t}-danger`]:{color:e.colorErrorText,[`&${t}-link:active, &${t}-link:focus`]:{color:e.colorErrorTextActive},[`&${t}-link:hover`]:{color:e.colorErrorTextHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:`not-allowed`,userSelect:`none`},"div&, p":{marginBottom:`1em`},...BR(e),[`& + h1${t}, & + h2${t}, & + h3${t}, & + h4${t}, & + h5${t}`]:{marginTop:n},"div, ul, li, p, h1, h2, h3, h4, h5":{"+ h1, + h2, + h3, + h4, + h5":{marginTop:n}},...HR(e),...VR(e),[`${t}-actions`]:{display:`inline`},[` + `]=NR(e[`fontSizeHeading${t}`],e[`lineHeightHeading${t}`],e.colorTextHeading,e)}),n},FR=e=>{let{componentCls:t}=e;return{[`&${`${t}-link`}`]:{...rl(e),userSelect:`text`,[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:`not-allowed`,"&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:`none`,[`${t}-actions`]:{pointerEvents:`auto`}}}}}},IR=e=>({code:{margin:`0 0.2em`,paddingInline:`0.4em`,paddingBlock:`0.2em 0.1em`,fontSize:`85%`,fontFamily:e.fontFamilyCode,background:`rgba(150, 150, 150, 0.1)`,border:`1px solid rgba(100, 100, 100, 0.2)`,borderRadius:3},kbd:{margin:`0 0.2em`,paddingInline:`0.4em`,paddingBlock:`0.15em 0.1em`,fontSize:`90%`,fontFamily:e.fontFamilyCode,background:`rgba(150, 150, 150, 0.06)`,border:`1px solid rgba(100, 100, 100, 0.2)`,borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:nc[2]},"u, ins":{textDecoration:`underline`,textDecorationSkipInk:`auto`},"s, del":{textDecoration:`line-through`},strong:{fontWeight:e.fontWeightStrong},"ul, ol":{marginInline:0,marginBlock:`0 1em`,padding:0,li:{marginInline:`20px 0`,marginBlock:0,paddingInline:`4px 0`,paddingBlock:0}},ul:{listStyleType:`circle`,ul:{listStyleType:`disc`}},ol:{listStyleType:`decimal`},"pre, blockquote":{margin:`1em 0`},pre:{padding:`0.4em 0.6em`,whiteSpace:`pre-wrap`,wordWrap:`break-word`,background:`rgba(150, 150, 150, 0.1)`,border:`1px solid rgba(100, 100, 100, 0.2)`,borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:`inline`,margin:0,padding:0,fontSize:`inherit`,fontFamily:`inherit`,background:`transparent`,border:0}},blockquote:{paddingInline:`0.6em 0`,paddingBlock:0,borderInlineStart:`4px solid rgba(100, 100, 100, 0.2)`,opacity:.85}}),LR=e=>{let{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:`relative`,"div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),insetBlockStart:e.calc(r).div(-2).add(1).equal(),marginBottom:e.calc(r).div(2).sub(2).equal()},[`${t}-edit-content-confirm`]:{position:`absolute`,insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorIcon,fontWeight:`normal`,fontSize:e.fontSize,fontStyle:`normal`,pointerEvents:`none`},textarea:{margin:`0!important`,MozTransition:`none`,height:`1em`}}}},RR=e=>({[`${e.componentCls}-copy-success`]:{"&, &:hover, &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),zR=()=>({"a&-ellipsis, span&-ellipsis":{display:`inline-block`,maxWidth:`100%`},"&-ellipsis-single-line":{whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,"a&, span&":{verticalAlign:`bottom`},"> code":{paddingBlock:0,maxWidth:`calc(100% - 1.2em)`,display:`inline-block`,overflow:`hidden`,textOverflow:`ellipsis`,verticalAlign:`bottom`,boxSizing:`content-box`}},"&-ellipsis-multiple-line":{display:`-webkit-box`,overflow:`hidden`,WebkitLineClamp:3,WebkitBoxOrient:`vertical`}}),BR=il(`Typography`,e=>{let{componentCls:t,titleMarginTop:n}=e;return{[t]:{color:e.colorText,wordBreak:`break-word`,lineHeight:e.lineHeight,[`&${t}-secondary, &${t}-link${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success, &${t}-link${t}-success`]:{color:e.colorSuccessText},[`&${t}-warning, &${t}-link${t}-warning`]:{color:e.colorWarningText},[`&${t}-danger, &${t}-link${t}-danger`]:{color:e.colorErrorText,[`&${t}-link:active, &${t}-link:focus`]:{color:e.colorErrorTextActive},[`&${t}-link:hover`]:{color:e.colorErrorTextHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:`not-allowed`,userSelect:`none`},"div&, p":{marginBottom:`1em`},...PR(e),[`& + h1${t}, & + h2${t}, & + h3${t}, & + h4${t}, & + h5${t}`]:{marginTop:n},"div, ul, li, p, h1, h2, h3, h4, h5":{"+ h1, + h2, + h3, + h4, + h5":{marginTop:n}},...IR(e),...FR(e),[`${t}-actions`]:{display:`inline`},[` ${t}-expand, ${t}-collapse, ${t}-edit, ${t}-copy - `]:{...rl(e),marginInlineStart:e.marginXXS},...UR(e),...WR(e),...GR(),"&-rtl":{direction:`rtl`}}}},()=>({titleMarginTop:`1.2em`,titleMarginBottom:`0.5em`})),qR=e=>{let{prefixCls:t,"aria-label":n,className:r,style:i,direction:a,maxLength:o,autoSize:s=!0,value:c,onSave:l,onCancel:u,onEnd:d,component:f,enterIcon:p=C.createElement(RR,null)}=e,m=C.useRef(null),h=C.useRef(!1),g=C.useRef(null),[_,v]=C.useState(c);C.useEffect(()=>{v(c)},[c]),C.useEffect(()=>{if(m.current?.resizableTextArea){let{textArea:e}=m.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let y=({target:e})=>{v(e.value.replace(/[\n\r]/g,``))},b=()=>{h.current=!0},x=()=>{h.current=!1},S=({keyCode:e})=>{h.current||(g.current=e)},w=()=>{l(_.trim())},T=({keyCode:e,ctrlKey:t,altKey:n,metaKey:r,shiftKey:i})=>{g.current!==e||h.current||t||n||r||i||(e===Qp.ENTER?(w(),d?.()):e===Qp.ESC&&u())},E=()=>{w()},[D,O]=KR(t),k=q(t,`${t}-edit-content`,{[`${t}-rtl`]:a===`rtl`,[`${t}-${f}`]:!!f},r,D,O);return C.createElement(`div`,{className:k,style:i},C.createElement(VN,{ref:m,maxLength:o,value:_,onChange:y,onKeyDown:S,onKeyUp:T,onCompositionStart:b,onCompositionEnd:x,onBlur:E,"aria-label":n,rows:1,autoSize:s}),p===null?null:Fp(p,{className:`${t}-edit-content-confirm`}))},JR=(e,t)=>{let n=!1,r=r=>{r.stopPropagation(),r.preventDefault(),r.clipboardData?.clearData(),r.clipboardData?.setData(`text/plain`,e),t&&r.clipboardData?.setData(`text/html`,e),n=!0};try{return document.addEventListener(`copy`,r,{capture:!0}),document.execCommand(`copy`),n}catch{return!1}finally{document.removeEventListener(`copy`,r,{capture:!0})}},YR=async(e,t)=>{try{return t?await navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([e],{type:`text/html`}),"text/plain":new Blob([e],{type:`text/plain`})})]):await navigator.clipboard.writeText(e),!0}catch{return!1}};async function XR(e,t){if(typeof e!=`string`)return!1;let n=t?.format===`text/html`;return!!(await YR(e,n)||JR(e,n))}var ZR=({copyConfig:e,children:t})=>{let[n,r]=C.useState(!1),[i,a]=C.useState(!1),o=C.useRef(null),s=()=>{o.current&&clearTimeout(o.current)},c={};return e.format&&(c.format=e.format),C.useEffect(()=>s,[]),{copied:n,copyLoading:i,onClick:Rn(async n=>{n?.preventDefault(),n?.stopPropagation(),a(!0);try{await XR((typeof e.text==`function`?await e.text():e.text)||_P(t,{skipEmpty:!0}).join(``)||``,c),a(!1),r(!0),s(),o.current=setTimeout(()=>{r(!1)},3e3),e.onCopy?.(n)}catch(e){throw a(!1),e}})}};function QR(e,t){return C.useMemo(()=>{let n=!!e;return[n,{...t,...n&&typeof e==`object`?e:null}]},[e])}var $R=e=>{let t=(0,C.useRef)(void 0);return(0,C.useEffect)(()=>{t.current=e}),t.current},ez=(e,t,n)=>(0,C.useMemo)(()=>e===!0?{title:t??n}:(0,C.isValidElement)(e)?{title:e}:gd(e)?{title:t??n,...e}:{title:e},[e,t,n]),tz=C.forwardRef((e,t)=>{let{prefixCls:n,component:r=`article`,className:i,rootClassName:a,children:o,direction:s,style:c,...l}=e,{getPrefixCls:u,direction:d,className:f,style:p}=ui(`typography`),m=s??d,h=u(`typography`,n),[g,_]=KR(h),v=q(h,f,{[`${h}-rtl`]:m===`rtl`},i,a,g,_),y={...p,...c};return C.createElement(r,{className:v,style:y,ref:t,...l},o)}),nz={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z`}}]},name:`copy`,theme:`outlined`};function rz(){return rz=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,rz({},e,{ref:t,icon:nz}))),az=e=>e===!1?[!1,!1]:_P(e);function oz(e,t,n){return e===!0||e===void 0?t:e||n&&t}function sz(e){let t=document.createElement(`em`);e.appendChild(t);let n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return e.removeChild(t),n.left>r.left||r.right>n.right||n.top>r.top||r.bottom>n.bottom}var cz=e=>[`string`,`number`].includes(typeof e),lz=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:i,tooltips:a,icon:o,tabIndex:s,onCopy:c,loading:l}=e,u=az(a),d=az(o),{copied:f,copy:p}=r??{},m=n?f:p,h=oz(u[+!!n],m),g=typeof h==`string`?h:m;return C.createElement(nx,{title:h},C.createElement(`button`,{type:`button`,className:q(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:i}),onClick:c,"aria-label":g,tabIndex:s},n?oz(d[1],C.createElement(_b,null),!0):oz(d[0],l?C.createElement(dm,null):C.createElement(iz,null),!0)))},uz=C.forwardRef(({style:e,children:t},n)=>{let r=C.useRef(null);return C.useImperativeHandle(n,()=>({isExceed:()=>{let e=r.current;return e.scrollHeight>e.clientHeight},getHeight:()=>r.current.clientHeight})),C.createElement(`span`,{"aria-hidden":!0,ref:r,style:{position:`fixed`,display:`block`,left:0,top:0,pointerEvents:`none`,backgroundColor:`rgba(255, 0, 0, 0.65)`,...e}},t)}),dz=e=>e.reduce((e,t)=>e+(cz(t)?String(t).length:1),0);function fz(e,t){let n=0,r=[];for(let i=0;it){let e=t-n;return r.push(String(a).slice(0,e)),r}r.push(a),n=s}return e}var pz=0,mz=1,hz=2,gz=3,_z=4,vz={display:`-webkit-box`,overflow:`hidden`,WebkitBoxOrient:`vertical`};function yz(e){let{enableMeasure:t,width:n,text:r,children:i,rows:a,expanded:o,miscDeps:s,onEllipsis:c}=e,l=C.useMemo(()=>wr(r),[r]),u=C.useMemo(()=>dz(l),[r]),d=C.useMemo(()=>i(l,!1),[r]),[f,p]=C.useState(null),m=C.useRef(null),h=C.useRef(null),g=C.useRef(null),_=C.useRef(null),v=C.useRef(null),[y,b]=C.useState(!1),[x,S]=C.useState(pz),[w,T]=C.useState(0),[E,D]=C.useState(null);Vn(()=>{S(t&&n&&u?mz:pz)},[n,r,a,t,l]),Vn(()=>{if(x===mz)S(hz),D(h.current&&getComputedStyle(h.current).whiteSpace);else if(x===hz){let e=!!g.current?.isExceed();S(e?gz:_z),p(e?[0,u]:null),b(e);let t=g.current?.getHeight()||0,n=a===1?0:_.current?.getHeight()||0,r=v.current?.getHeight()||0;T(Math.max(t,n+r)+1),c(e)}},[x]);let O=f?Math.ceil((f[0]+f[1])/2):0;Vn(()=>{let[e,t]=f||[0,0];if(e!==t){let n=(m.current?.getHeight()||0)>w,r=O;t-e===1&&(r=n?e:t),p(n?[e,r]:[r,t])}},[f,O]);let k=C.useMemo(()=>{if(!t)return i(l,!1);if(x!==gz||!f||f[0]!==f[1]){let e=i(l,!1);return[_z,pz].includes(x)?e:C.createElement(`span`,{style:{...vz,WebkitLineClamp:a}},e)}return i(o?l:fz(l,f[0]),y)},[o,x,f,l].concat(Qr(s))),A={width:n,margin:0,padding:0,whiteSpace:E===`nowrap`?`normal`:`inherit`};return C.createElement(C.Fragment,null,k,x===hz&&C.createElement(C.Fragment,null,C.createElement(uz,{style:{...A,...vz,WebkitLineClamp:a},ref:g},d),C.createElement(uz,{style:{...A,...vz,WebkitLineClamp:a-1},ref:_},d),C.createElement(uz,{style:{...A,...vz,WebkitLineClamp:1},ref:v},i([],!0))),x===gz&&f&&f[0]!==f[1]&&C.createElement(uz,{style:{...A,top:400},ref:m},i(fz(l,O),!0)),x===mz&&C.createElement(`span`,{style:{whiteSpace:`inherit`},ref:h}))}var bz=({enableEllipsis:e,isEllipsis:t,open:n,children:r,tooltipProps:i})=>{if(!i?.title||!e)return r;let a=n&&t;return C.createElement(nx,{open:a,...i},r)};function xz({mark:e,code:t,underline:n,delete:r,strong:i,keyboard:a,italic:o},s){let c=s;function l(e,t){t&&(c=C.createElement(e,{},c))}return l(`strong`,i),l(`u`,n),l(`del`,r),l(`code`,t),l(`mark`,e),l(`kbd`,a),l(`i`,o),c}var Sz=`...`,Cz=[`delete`,`mark`,`code`,`underline`,`strong`,`keyboard`,`italic`],wz=C.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:i,type:a,disabled:o,children:s,ellipsis:c,editable:l,copyable:u,component:d,title:f,onMouseEnter:p,onMouseLeave:m,...h}=e,{getPrefixCls:g,direction:_}=C.useContext(si),[v]=ld(`Text`),y=C.useRef(null),b=C.useRef(null),x=g(`typography`,n),S=Cr(h,Cz),[w,T]=QR(l),[E,D]=Wn(!1,T.editing),{triggerType:O=[`icon`]}=T,k=e=>{e&&T.onStart?.(),D(e)},A=$R(E);Vn(()=>{!E&&A&&b.current?.focus()},[E]);let j=e=>{e?.preventDefault(),k(!0)},M=e=>{T.onChange?.(e),k(!1)},N=()=>{T.onCancel?.(),k(!1)},[P,F]=QR(u),{copied:I,copyLoading:L,onClick:R}=ZR({copyConfig:F,children:s}),[z,B]=C.useState(!1),[V,H]=C.useState(!1),[U,W]=C.useState(!1),[ee,te]=C.useState(!1),[ne,re]=C.useState(!0),[ie,ae]=QR(c,{expandable:!1,symbol:e=>e?v?.collapse:v?.expand}),[G,oe]=Wn(ae.defaultExpanded||!1,ae.expanded),K=ie&&(!G||ae.expandable===`collapsible`),{rows:se=1}=ae,ce=C.useMemo(()=>K&&(ae.suffix!==void 0||ae.onEllipsis||ae.expandable||w||P),[K,ae,w,P]);Vn(()=>{ie&&!ce&&(B(z_(`webkitLineClamp`)),H(z_(`textOverflow`)))},[ce,ie]);let[le,ue]=C.useState(K),de=C.useMemo(()=>ce?!1:se===1?V:z,[ce,V,z]);Vn(()=>{ue(de&&K)},[de,K]);let fe=ez(ae.tooltip,T.text,s),pe=le&&!!fe.title,me=K&&(le?pe&&ee:U),he=K&&se===1&&le,ge=K&&se>1&&le,_e=(e,t)=>{oe(t.expanded),ae.onExpand?.(e,t)},[ve,ye]=C.useState(0),[be,xe]=C.useState(!1),[Se,Ce]=C.useState(!1),we=({offsetWidth:e})=>{ye(e)},Te=e=>{W(e),U!==e&&ae.onEllipsis?.(e)};C.useEffect(()=>{let e=y.current;if(ie&&pe&&e){let t=sz(e);ee!==t&&te(t)}},[ie,pe,s,ge,ne,ve]),C.useEffect(()=>{let e=y.current;if(typeof IntersectionObserver>`u`||!e||!pe||!K)return;let t=new IntersectionObserver(()=>{re(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[pe,K]);let Ee=C.useMemo(()=>{if(!(!ie||le))return[T.text,s,f,fe.title].find(cz)},[ie,le,f,fe.title,me]);if(E)return C.createElement(qR,{value:T.text??(typeof s==`string`?s:``),onSave:M,onCancel:N,onEnd:T.onEnd,prefixCls:x,className:r,style:i,direction:_,component:d,maxLength:T.maxLength,autoSize:T.autoSize,enterIcon:T.enterIcon});let De=()=>{let{expandable:e,symbol:t}=ae;return e?C.createElement(`button`,{type:`button`,key:`expand`,className:`${x}-${G?`collapse`:`expand`}`,onClick:e=>_e(e,{expanded:!G}),"aria-label":G?v.collapse:v?.expand},typeof t==`function`?t(G):t):null},Oe=()=>{if(!w)return;let{icon:e,tooltip:t,tabIndex:n}=T,r=wr(t)[0]||v?.edit,i=typeof r==`string`?r:``;return O.includes(`icon`)?C.createElement(nx,{key:`edit`,title:t===!1?``:r},C.createElement(`button`,{type:`button`,ref:b,className:`${x}-edit`,onClick:j,"aria-label":i,tabIndex:n},e||C.createElement(FR,{role:`button`}))):null},ke=()=>P?C.createElement(lz,{key:`copy`,...F,prefixCls:x,copied:I,locale:v,onCopy:R,loading:L,iconOnly:!pd(s)}):null,Ae=e=>{let t=e&&De(),n=Oe(),r=ke();return!t&&!n&&!r?null:C.createElement(`span`,{key:`operations`,className:`${x}-actions`,onMouseEnter:()=>xe(!0),onMouseLeave:()=>xe(!1)},t,n,r)},je=e=>[e&&!G&&C.createElement(`span`,{"aria-hidden":!0,key:`ellipsis`},Sz),ae.suffix,Ae(e)];return C.createElement(Gr,{onResize:we,disabled:!K},c=>C.createElement(bz,{tooltipProps:fe,enableEllipsis:K,isEllipsis:me,open:Se&&!be},C.createElement(tz,{onMouseEnter:e=>{Ce(!0),p?.(e)},onMouseLeave:e=>{Ce(!1),m?.(e)},className:q({[`${x}-${a}`]:a,[`${x}-disabled`]:o,[`${x}-ellipsis`]:ie,[`${x}-ellipsis-single-line`]:he,[`${x}-ellipsis-multiple-line`]:ge,[`${x}-link`]:d===`a`},r),prefixCls:n,style:{...i,WebkitLineClamp:ge?se:void 0},component:d,ref:er(c,y,t),direction:_,onClick:O.includes(`text`)?j:void 0,"aria-label":Ee?.toString(),title:f,...S},C.createElement(yz,{enableMeasure:K&&!le,text:s,rows:se,width:ve,onEllipsis:Te,expanded:G,miscDeps:[I,G,L,w,P,v].concat(Qr(Cz.map(t=>e[t])))},(t,n)=>xz(e,C.createElement(C.Fragment,null,t.length>0&&n&&!G&&Ee?C.createElement(`span`,{key:`show-content`,"aria-hidden":!0},t):t,je(n)))))))}),Tz=C.forwardRef((e,t)=>{let{ellipsis:n,rel:r,children:i,navigate:a,...o}=e,s={...o,rel:r===void 0&&o.target===`_blank`?`noopener noreferrer`:r};return C.createElement(wz,{...s,ref:t,ellipsis:!!n,component:`a`},i)}),Ez=C.forwardRef((e,t)=>{let{children:n,...r}=e;return C.createElement(wz,{ref:t,...r,component:`div`},n)}),Dz=C.forwardRef((e,t)=>{let{ellipsis:n,children:r,...i}=e,a=C.useMemo(()=>gd(n)?Cr(n,[`expandable`,`rows`]):n,[n]);return C.createElement(wz,{ref:t,...i,ellipsis:a,component:`span`},r)}),Oz=[1,2,3,4,5],kz=C.forwardRef((e,t)=>{let{level:n=1,children:r,...i}=e,a=Oz.includes(n)?`h${n}`:`h1`;return C.createElement(wz,{ref:t,...i,component:a},r)}),Z=tz;Z.Text=Dz,Z.Link=Tz,Z.Title=kz,Z.Paragraph=Ez;var Az=((e,t)=>{if(e&&t){let n=Array.isArray(t)?t:t.split(`,`),r=e.name||``,i=e.type||``,a=i.replace(/\/.*$/,``);return n.some(e=>{let t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if(t.charAt(0)===`.`){let e=r.toLowerCase(),n=t.toLowerCase(),i=[n];return(n===`.jpg`||n===`.jpeg`)&&(i=[`.jpg`,`.jpeg`]),i.some(t=>e.endsWith(t))}return/\/\*$/.test(t)?a===t.replace(/\/.*$/,``):i===t?!0:/^\w+$/.test(t)?(xr(!1,`Upload takes an invalidate 'accept' type '${t}'.Skip for check.`),!0):!1})}return!0});function jz(e,t){let n=`cannot ${e.method} ${e.action} ${t.status}'`,r=Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function Mz(e){let t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function Nz(e){let t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});let n=new FormData;e.data&&Object.keys(e.data).forEach(t=>{let r=e.data[t];if(Array.isArray(r)){r.forEach(e=>{n.append(`${t}[]`,e)});return}n.append(t,r)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(jz(e,t),Mz(t)):e.onSuccess(Mz(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&`withCredentials`in t&&(t.withCredentials=!0);let r=e.headers||{};return r[`X-Requested-With`]!==null&&t.setRequestHeader(`X-Requested-With`,`XMLHttpRequest`),Object.keys(r).forEach(e=>{r[e]!==null&&t.setRequestHeader(e,r[e])}),t.send(n),{abort(){t.abort()}}}var Pz=async(e,t)=>{let n=[],r=[];e.forEach(e=>r.push(e.webkitGetAsEntry()));async function i(e){let t=e.createReader(),n=[];for(;;){let e=await new Promise(e=>{t.readEntries(e,()=>e([]))}),r=e.length;if(!r)break;for(let t=0;t{e.file(r=>{t(r)?(e.fullPath&&!r.webkitRelativePath&&(Object.defineProperties(r,{webkitRelativePath:{writable:!0}}),r.webkitRelativePath=e.fullPath.replace(/^\//,``),Object.defineProperties(r,{webkitRelativePath:{writable:!1}})),n(r)):n(null)})})}let o=async(e,t)=>{if(e){if(e.path=t||``,e.isFile){let t=await a(e);t&&n.push(t)}else if(e.isDirectory){let t=await i(e);r.push(...t)}}},s=0;for(;s{let{accept:n,directory:r}=this.props,i,a;if(typeof n==`string`)a=n;else{let{filter:e,format:t}=n||{};a=t,i=e===`native`?()=>!0:e}return(i||(r||t?e=>Az(e,a):()=>!0))(e)};onChange=e=>{let{files:t}=e.target,n=[...t].filter(e=>this.filterFile(e));this.uploadFiles(n),this.reset()};onClick=e=>{let t=this.fileInput;if(!t)return;let n=e.target,{onClick:r}=this.props;n&&n.tagName===`BUTTON`&&(t.parentNode.focus(),n.blur()),t.click(),r&&r(e)};onKeyDown=e=>{e.key===`Enter`&&this.onClick(e)};onDataTransferFiles=async(e,t)=>{let{multiple:n,directory:r}=this.props,i=[...e.items||[]],a=[...e.files||[]];if((a.length>0||i.some(e=>e.kind===`file`))&&t?.(),r)a=await Pz(Array.prototype.slice.call(i),this.filterFile),this.uploadFiles(a);else{let e=[...a].filter(e=>this.filterFile(e,!0));n===!1&&(e=a.slice(0,1)),this.uploadFiles(e)}};onFilePaste=async e=>{let{pastable:t}=this.props;if(t&&e.type===`paste`){let t=e.clipboardData;return this.onDataTransferFiles(t,()=>{e.preventDefault()})}};onFileDragOver=e=>{e.preventDefault()};onFileDrop=async e=>{if(e.preventDefault(),e.type===`drop`){let t=e.dataTransfer;return this.onDataTransferFiles(t)}};componentDidMount(){this._isMounted=!0;let{pastable:e}=this.props;e&&document.addEventListener(`paste`,this.onFilePaste)}componentWillUnmount(){this._isMounted=!1,this.abort(),document.removeEventListener(`paste`,this.onFilePaste)}componentDidUpdate(e){let{pastable:t}=this.props;t&&!e.pastable?document.addEventListener(`paste`,this.onFilePaste):!t&&e.pastable&&document.removeEventListener(`paste`,this.onFilePaste)}uploadFiles=e=>{let t=[...e],n=t.map(e=>(e.uid=Lz(),this.processFile(e,t)));Promise.all(n).then(e=>{let{onBatchStart:t}=this.props;t?.(e.map(({origin:e,parsedFile:t})=>({file:e,parsedFile:t}))),e.filter(e=>e.parsedFile!==null).forEach(e=>{this.post(e)})})};processFile=async(e,t)=>{let{beforeUpload:n}=this.props,r=e;if(n){try{r=await n(e,t)}catch{r=!1}if(r===!1)return{origin:e,parsedFile:null,action:null,data:null}}let{action:i}=this.props,a;a=typeof i==`function`?await i(e):i;let{data:o}=this.props,s;s=typeof o==`function`?await o(e):o;let c=(typeof r==`object`||typeof r==`string`)&&r?r:e,l;l=c instanceof File?c:new File([c],e.name,{type:e.type});let u=l;return u.uid=e.uid,{origin:e,data:s,parsedFile:u,action:a}};post({data:e,origin:t,action:n,parsedFile:r}){if(!this._isMounted)return;let{onStart:i,customRequest:a,name:o,headers:s,withCredentials:c,method:l}=this.props,{uid:u}=t,d=a||Nz,f={action:n,filename:o,data:e,file:r,headers:s,withCredentials:c,method:l||`post`,onProgress:e=>{let{onProgress:t}=this.props;t?.(e,r)},onSuccess:(e,t)=>{let{onSuccess:n}=this.props;n?.(e,r,t),delete this.reqs[u]},onError:(e,t)=>{let{onError:n}=this.props;n?.(e,t,r),delete this.reqs[u]}};i(t),this.reqs[u]=d(f,{defaultRequest:Nz})}reset(){this.setState({uid:Lz()})}abort(e){let{reqs:t}=this;if(e){let n=e.uid?e.uid:e;t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach(e=>{t[e]&&t[e].abort&&t[e].abort(),delete t[e]})}saveFileInput=e=>{this.fileInput=e};render(){let{component:e,prefixCls:t,className:n,classNames:r={},disabled:i,id:a,name:o,style:s,styles:c={},multiple:l,accept:u,capture:d,children:f,directory:p,openFileDialogOnClick:m,onMouseEnter:h,onMouseLeave:g,hasControlInside:_,...v}=this.props,y=typeof u==`string`?u:u?.format,b=q(t,{[`${t}-disabled`]:i,[n]:n}),x=p?{directory:`directory`,webkitdirectory:`webkitdirectory`}:{},S=i?{}:{onClick:m?this.onClick:()=>{},onKeyDown:m?this.onKeyDown:()=>{},onMouseEnter:h,onMouseLeave:g,onDrop:this.onFileDrop,onDragOver:this.onFileDragOver,tabIndex:_?void 0:`0`};return C.createElement(e,Rz({},S,{className:b,role:_?void 0:`button`,style:s}),C.createElement(`input`,Rz({},Hu(v,{aria:!0,data:!0}),{id:a,name:o,disabled:i,type:`file`,ref:this.saveFileInput,onClick:e=>e.stopPropagation(),key:this.state.uid,style:{display:`none`,...c.input},className:r.input,accept:y},x,{multiple:l,onChange:this.onChange},d==null?{}:{capture:d})),f)}};function Bz(){return Bz=Object.assign?Object.assign.bind():function(e){for(var t=1;t{this.uploader=e};render(){return C.createElement(zz,Bz({},this.props,{ref:this.saveUploader}))}},Uz=e=>{let{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:`relative`,width:`100%`,height:`100%`,textAlign:`center`,background:e.colorFillAlter,border:`${J(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:`pointer`,transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:`table`,width:`100%`,height:`100%`,outline:`none`,borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${J(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:`table-cell`,verticalAlign:`middle`},[` + `]:{...rl(e),marginInlineStart:e.marginXXS},...LR(e),...RR(e),...zR(),"&-rtl":{direction:`rtl`}}}},()=>({titleMarginTop:`1.2em`,titleMarginBottom:`0.5em`})),VR=e=>{let{prefixCls:t,"aria-label":n,className:r,style:i,direction:a,maxLength:o,autoSize:s=!0,value:c,onSave:l,onCancel:u,onEnd:d,component:f,enterIcon:p=C.createElement(MR,null)}=e,m=C.useRef(null),h=C.useRef(!1),g=C.useRef(null),[_,v]=C.useState(c);C.useEffect(()=>{v(c)},[c]),C.useEffect(()=>{if(m.current?.resizableTextArea){let{textArea:e}=m.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let y=({target:e})=>{v(e.value.replace(/[\n\r]/g,``))},b=()=>{h.current=!0},x=()=>{h.current=!1},S=({keyCode:e})=>{h.current||(g.current=e)},w=()=>{l(_.trim())},T=({keyCode:e,ctrlKey:t,altKey:n,metaKey:r,shiftKey:i})=>{g.current!==e||h.current||t||n||r||i||(e===em.ENTER?(w(),d?.()):e===em.ESC&&u())},E=()=>{w()},[D,O]=BR(t),k=q(t,`${t}-edit-content`,{[`${t}-rtl`]:a===`rtl`,[`${t}-${f}`]:!!f},r,D,O);return C.createElement(`div`,{className:k,style:i},C.createElement(RN,{ref:m,maxLength:o,value:_,onChange:y,onKeyDown:S,onKeyUp:T,onCompositionStart:b,onCompositionEnd:x,onBlur:E,"aria-label":n,rows:1,autoSize:s}),p===null?null:Fp(p,{className:`${t}-edit-content-confirm`}))},HR=(e,t)=>{let n=!1,r=r=>{r.stopPropagation(),r.preventDefault(),r.clipboardData?.clearData(),r.clipboardData?.setData(`text/plain`,e),t&&r.clipboardData?.setData(`text/html`,e),n=!0};try{return document.addEventListener(`copy`,r,{capture:!0}),document.execCommand(`copy`),n}catch{return!1}finally{document.removeEventListener(`copy`,r,{capture:!0})}},UR=async(e,t)=>{try{return t?await navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([e],{type:`text/html`}),"text/plain":new Blob([e],{type:`text/plain`})})]):await navigator.clipboard.writeText(e),!0}catch{return!1}};async function WR(e,t){if(typeof e!=`string`)return!1;let n=t?.format===`text/html`;return!!(await UR(e,n)||HR(e,n))}var GR=({copyConfig:e,children:t})=>{let[n,r]=C.useState(!1),[i,a]=C.useState(!1),o=C.useRef(null),s=()=>{o.current&&clearTimeout(o.current)},c={};return e.format&&(c.format=e.format),C.useEffect(()=>s,[]),{copied:n,copyLoading:i,onClick:Rn(async n=>{n?.preventDefault(),n?.stopPropagation(),a(!0);try{await WR((typeof e.text==`function`?await e.text():e.text)||mP(t,{skipEmpty:!0}).join(``)||``,c),a(!1),r(!0),s(),o.current=setTimeout(()=>{r(!1)},3e3),e.onCopy?.(n)}catch(e){throw a(!1),e}})}};function KR(e,t){return C.useMemo(()=>{let n=!!e;return[n,{...t,...n&&typeof e==`object`?e:null}]},[e])}var qR=e=>{let t=(0,C.useRef)(void 0);return(0,C.useEffect)(()=>{t.current=e}),t.current},JR=(e,t,n)=>(0,C.useMemo)(()=>e===!0?{title:t??n}:(0,C.isValidElement)(e)?{title:e}:gd(e)?{title:t??n,...e}:{title:e},[e,t,n]),YR=C.forwardRef((e,t)=>{let{prefixCls:n,component:r=`article`,className:i,rootClassName:a,children:o,direction:s,style:c,...l}=e,{getPrefixCls:u,direction:d,className:f,style:p}=ui(`typography`),m=s??d,h=u(`typography`,n),[g,_]=BR(h),v=q(h,f,{[`${h}-rtl`]:m===`rtl`},i,a,g,_),y={...p,...c};return C.createElement(r,{className:v,style:y,ref:t,...l},o)}),XR={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z`}}]},name:`copy`,theme:`outlined`};function ZR(){return ZR=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,ZR({},e,{ref:t,icon:XR}))),$R=e=>e===!1?[!1,!1]:mP(e);function ez(e,t,n){return e===!0||e===void 0?t:e||n&&t}function tz(e){let t=document.createElement(`em`);e.appendChild(t);let n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return e.removeChild(t),n.left>r.left||r.right>n.right||n.top>r.top||r.bottom>n.bottom}var nz=e=>[`string`,`number`].includes(typeof e),rz=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:i,tooltips:a,icon:o,tabIndex:s,onCopy:c,loading:l}=e,u=$R(a),d=$R(o),{copied:f,copy:p}=r??{},m=n?f:p,h=ez(u[+!!n],m),g=typeof h==`string`?h:m;return C.createElement(px,{title:h},C.createElement(`button`,{type:`button`,className:q(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:i}),onClick:c,"aria-label":g,tabIndex:s},n?ez(d[1],C.createElement(fb,null),!0):ez(d[0],l?C.createElement(fm,null):C.createElement(QR,null),!0)))},iz=C.forwardRef(({style:e,children:t},n)=>{let r=C.useRef(null);return C.useImperativeHandle(n,()=>({isExceed:()=>{let e=r.current;return e.scrollHeight>e.clientHeight},getHeight:()=>r.current.clientHeight})),C.createElement(`span`,{"aria-hidden":!0,ref:r,style:{position:`fixed`,display:`block`,left:0,top:0,pointerEvents:`none`,backgroundColor:`rgba(255, 0, 0, 0.65)`,...e}},t)}),az=e=>e.reduce((e,t)=>e+(nz(t)?String(t).length:1),0);function oz(e,t){let n=0,r=[];for(let i=0;it){let e=t-n;return r.push(String(a).slice(0,e)),r}r.push(a),n=s}return e}var sz=0,cz=1,lz=2,uz=3,dz=4,fz={display:`-webkit-box`,overflow:`hidden`,WebkitBoxOrient:`vertical`};function pz(e){let{enableMeasure:t,width:n,text:r,children:i,rows:a,expanded:o,miscDeps:s,onEllipsis:c}=e,l=C.useMemo(()=>wr(r),[r]),u=C.useMemo(()=>az(l),[r]),d=C.useMemo(()=>i(l,!1),[r]),[f,p]=C.useState(null),m=C.useRef(null),h=C.useRef(null),g=C.useRef(null),_=C.useRef(null),v=C.useRef(null),[y,b]=C.useState(!1),[x,S]=C.useState(sz),[w,T]=C.useState(0),[E,D]=C.useState(null);Vn(()=>{S(t&&n&&u?cz:sz)},[n,r,a,t,l]),Vn(()=>{if(x===cz)S(lz),D(h.current&&getComputedStyle(h.current).whiteSpace);else if(x===lz){let e=!!g.current?.isExceed();S(e?uz:dz),p(e?[0,u]:null),b(e);let t=g.current?.getHeight()||0,n=a===1?0:_.current?.getHeight()||0,r=v.current?.getHeight()||0;T(Math.max(t,n+r)+1),c(e)}},[x]);let O=f?Math.ceil((f[0]+f[1])/2):0;Vn(()=>{let[e,t]=f||[0,0];if(e!==t){let n=(m.current?.getHeight()||0)>w,r=O;t-e===1&&(r=n?e:t),p(n?[e,r]:[r,t])}},[f,O]);let k=C.useMemo(()=>{if(!t)return i(l,!1);if(x!==uz||!f||f[0]!==f[1]){let e=i(l,!1);return[dz,sz].includes(x)?e:C.createElement(`span`,{style:{...fz,WebkitLineClamp:a}},e)}return i(o?l:oz(l,f[0]),y)},[o,x,f,l].concat(Qr(s))),A={width:n,margin:0,padding:0,whiteSpace:E===`nowrap`?`normal`:`inherit`};return C.createElement(C.Fragment,null,k,x===lz&&C.createElement(C.Fragment,null,C.createElement(iz,{style:{...A,...fz,WebkitLineClamp:a},ref:g},d),C.createElement(iz,{style:{...A,...fz,WebkitLineClamp:a-1},ref:_},d),C.createElement(iz,{style:{...A,...fz,WebkitLineClamp:1},ref:v},i([],!0))),x===uz&&f&&f[0]!==f[1]&&C.createElement(iz,{style:{...A,top:400},ref:m},i(oz(l,O),!0)),x===cz&&C.createElement(`span`,{style:{whiteSpace:`inherit`},ref:h}))}var mz=({enableEllipsis:e,isEllipsis:t,open:n,children:r,tooltipProps:i})=>{if(!i?.title||!e)return r;let a=n&&t;return C.createElement(px,{open:a,...i},r)};function hz({mark:e,code:t,underline:n,delete:r,strong:i,keyboard:a,italic:o},s){let c=s;function l(e,t){t&&(c=C.createElement(e,{},c))}return l(`strong`,i),l(`u`,n),l(`del`,r),l(`code`,t),l(`mark`,e),l(`kbd`,a),l(`i`,o),c}var gz=`...`,_z=[`delete`,`mark`,`code`,`underline`,`strong`,`keyboard`,`italic`],vz=C.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:i,type:a,disabled:o,children:s,ellipsis:c,editable:l,copyable:u,component:d,title:f,onMouseEnter:p,onMouseLeave:m,...h}=e,{getPrefixCls:g,direction:_}=C.useContext(si),[v]=ld(`Text`),y=C.useRef(null),b=C.useRef(null),x=g(`typography`,n),S=Cr(h,_z),[w,T]=KR(l),[E,D]=Wn(!1,T.editing),{triggerType:O=[`icon`]}=T,k=e=>{e&&T.onStart?.(),D(e)},A=qR(E);Vn(()=>{!E&&A&&b.current?.focus()},[E]);let j=e=>{e?.preventDefault(),k(!0)},M=e=>{T.onChange?.(e),k(!1)},N=()=>{T.onCancel?.(),k(!1)},[P,F]=KR(u),{copied:I,copyLoading:L,onClick:R}=GR({copyConfig:F,children:s}),[z,B]=C.useState(!1),[V,H]=C.useState(!1),[U,W]=C.useState(!1),[ee,te]=C.useState(!1),[ne,re]=C.useState(!0),[ie,ae]=KR(c,{expandable:!1,symbol:e=>e?v?.collapse:v?.expand}),[G,oe]=Wn(ae.defaultExpanded||!1,ae.expanded),K=ie&&(!G||ae.expandable===`collapsible`),{rows:se=1}=ae,ce=C.useMemo(()=>K&&(ae.suffix!==void 0||ae.onEllipsis||ae.expandable||w||P),[K,ae,w,P]);Vn(()=>{ie&&!ce&&(B(K_(`webkitLineClamp`)),H(K_(`textOverflow`)))},[ce,ie]);let[le,ue]=C.useState(K),de=C.useMemo(()=>ce?!1:se===1?V:z,[ce,V,z]);Vn(()=>{ue(de&&K)},[de,K]);let fe=JR(ae.tooltip,T.text,s),pe=le&&!!fe.title,me=K&&(le?pe&&ee:U),he=K&&se===1&&le,ge=K&&se>1&&le,_e=(e,t)=>{oe(t.expanded),ae.onExpand?.(e,t)},[ve,ye]=C.useState(0),[be,xe]=C.useState(!1),[Se,Ce]=C.useState(!1),we=({offsetWidth:e})=>{ye(e)},Te=e=>{W(e),U!==e&&ae.onEllipsis?.(e)};C.useEffect(()=>{let e=y.current;if(ie&&pe&&e){let t=tz(e);ee!==t&&te(t)}},[ie,pe,s,ge,ne,ve]),C.useEffect(()=>{let e=y.current;if(typeof IntersectionObserver>`u`||!e||!pe||!K)return;let t=new IntersectionObserver(()=>{re(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[pe,K]);let Ee=C.useMemo(()=>{if(!(!ie||le))return[T.text,s,f,fe.title].find(nz)},[ie,le,f,fe.title,me]);if(E)return C.createElement(VR,{value:T.text??(typeof s==`string`?s:``),onSave:M,onCancel:N,onEnd:T.onEnd,prefixCls:x,className:r,style:i,direction:_,component:d,maxLength:T.maxLength,autoSize:T.autoSize,enterIcon:T.enterIcon});let De=()=>{let{expandable:e,symbol:t}=ae;return e?C.createElement(`button`,{type:`button`,key:`expand`,className:`${x}-${G?`collapse`:`expand`}`,onClick:e=>_e(e,{expanded:!G}),"aria-label":G?v.collapse:v?.expand},typeof t==`function`?t(G):t):null},Oe=()=>{if(!w)return;let{icon:e,tooltip:t,tabIndex:n}=T,r=wr(t)[0]||v?.edit,i=typeof r==`string`?r:``;return O.includes(`icon`)?C.createElement(px,{key:`edit`,title:t===!1?``:r},C.createElement(`button`,{type:`button`,ref:b,className:`${x}-edit`,onClick:j,"aria-label":i,tabIndex:n},e||C.createElement(kR,{role:`button`}))):null},ke=()=>P?C.createElement(rz,{key:`copy`,...F,prefixCls:x,copied:I,locale:v,onCopy:R,loading:L,iconOnly:!pd(s)}):null,Ae=e=>{let t=e&&De(),n=Oe(),r=ke();return!t&&!n&&!r?null:C.createElement(`span`,{key:`operations`,className:`${x}-actions`,onMouseEnter:()=>xe(!0),onMouseLeave:()=>xe(!1)},t,n,r)},je=e=>[e&&!G&&C.createElement(`span`,{"aria-hidden":!0,key:`ellipsis`},gz),ae.suffix,Ae(e)];return C.createElement(Gr,{onResize:we,disabled:!K},c=>C.createElement(mz,{tooltipProps:fe,enableEllipsis:K,isEllipsis:me,open:Se&&!be},C.createElement(YR,{onMouseEnter:e=>{Ce(!0),p?.(e)},onMouseLeave:e=>{Ce(!1),m?.(e)},className:q({[`${x}-${a}`]:a,[`${x}-disabled`]:o,[`${x}-ellipsis`]:ie,[`${x}-ellipsis-single-line`]:he,[`${x}-ellipsis-multiple-line`]:ge,[`${x}-link`]:d===`a`},r),prefixCls:n,style:{...i,WebkitLineClamp:ge?se:void 0},component:d,ref:er(c,y,t),direction:_,onClick:O.includes(`text`)?j:void 0,"aria-label":Ee?.toString(),title:f,...S},C.createElement(pz,{enableMeasure:K&&!le,text:s,rows:se,width:ve,onEllipsis:Te,expanded:G,miscDeps:[I,G,L,w,P,v].concat(Qr(_z.map(t=>e[t])))},(t,n)=>hz(e,C.createElement(C.Fragment,null,t.length>0&&n&&!G&&Ee?C.createElement(`span`,{key:`show-content`,"aria-hidden":!0},t):t,je(n)))))))}),yz=C.forwardRef((e,t)=>{let{ellipsis:n,rel:r,children:i,navigate:a,...o}=e,s={...o,rel:r===void 0&&o.target===`_blank`?`noopener noreferrer`:r};return C.createElement(vz,{...s,ref:t,ellipsis:!!n,component:`a`},i)}),bz=C.forwardRef((e,t)=>{let{children:n,...r}=e;return C.createElement(vz,{ref:t,...r,component:`div`},n)}),xz=C.forwardRef((e,t)=>{let{ellipsis:n,children:r,...i}=e,a=C.useMemo(()=>gd(n)?Cr(n,[`expandable`,`rows`]):n,[n]);return C.createElement(vz,{ref:t,...i,ellipsis:a,component:`span`},r)}),Sz=[1,2,3,4,5],Cz=C.forwardRef((e,t)=>{let{level:n=1,children:r,...i}=e,a=Sz.includes(n)?`h${n}`:`h1`;return C.createElement(vz,{ref:t,...i,component:a},r)}),Z=YR;Z.Text=xz,Z.Link=yz,Z.Title=Cz,Z.Paragraph=bz;var wz=((e,t)=>{if(e&&t){let n=Array.isArray(t)?t:t.split(`,`),r=e.name||``,i=e.type||``,a=i.replace(/\/.*$/,``);return n.some(e=>{let t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if(t.charAt(0)===`.`){let e=r.toLowerCase(),n=t.toLowerCase(),i=[n];return(n===`.jpg`||n===`.jpeg`)&&(i=[`.jpg`,`.jpeg`]),i.some(t=>e.endsWith(t))}return/\/\*$/.test(t)?a===t.replace(/\/.*$/,``):i===t?!0:/^\w+$/.test(t)?(xr(!1,`Upload takes an invalidate 'accept' type '${t}'.Skip for check.`),!0):!1})}return!0});function Tz(e,t){let n=`cannot ${e.method} ${e.action} ${t.status}'`,r=Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function Ez(e){let t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function Dz(e){let t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});let n=new FormData;e.data&&Object.keys(e.data).forEach(t=>{let r=e.data[t];if(Array.isArray(r)){r.forEach(e=>{n.append(`${t}[]`,e)});return}n.append(t,r)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(Tz(e,t),Ez(t)):e.onSuccess(Ez(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&`withCredentials`in t&&(t.withCredentials=!0);let r=e.headers||{};return r[`X-Requested-With`]!==null&&t.setRequestHeader(`X-Requested-With`,`XMLHttpRequest`),Object.keys(r).forEach(e=>{r[e]!==null&&t.setRequestHeader(e,r[e])}),t.send(n),{abort(){t.abort()}}}var Oz=async(e,t)=>{let n=[],r=[];e.forEach(e=>r.push(e.webkitGetAsEntry()));async function i(e){let t=e.createReader(),n=[];for(;;){let e=await new Promise(e=>{t.readEntries(e,()=>e([]))}),r=e.length;if(!r)break;for(let t=0;t{e.file(r=>{t(r)?(e.fullPath&&!r.webkitRelativePath&&(Object.defineProperties(r,{webkitRelativePath:{writable:!0}}),r.webkitRelativePath=e.fullPath.replace(/^\//,``),Object.defineProperties(r,{webkitRelativePath:{writable:!1}})),n(r)):n(null)})})}let o=async(e,t)=>{if(e){if(e.path=t||``,e.isFile){let t=await a(e);t&&n.push(t)}else if(e.isDirectory){let t=await i(e);r.push(...t)}}},s=0;for(;s{let{accept:n,directory:r}=this.props,i,a;if(typeof n==`string`)a=n;else{let{filter:e,format:t}=n||{};a=t,i=e===`native`?()=>!0:e}return(i||(r||t?e=>wz(e,a):()=>!0))(e)};onChange=e=>{let{files:t}=e.target,n=[...t].filter(e=>this.filterFile(e));this.uploadFiles(n),this.reset()};onClick=e=>{let t=this.fileInput;if(!t)return;let n=e.target,{onClick:r}=this.props;n&&n.tagName===`BUTTON`&&(t.parentNode.focus(),n.blur()),t.click(),r&&r(e)};onKeyDown=e=>{e.key===`Enter`&&this.onClick(e)};onDataTransferFiles=async(e,t)=>{let{multiple:n,directory:r}=this.props,i=[...e.items||[]],a=[...e.files||[]];if((a.length>0||i.some(e=>e.kind===`file`))&&t?.(),r)a=await Oz(Array.prototype.slice.call(i),this.filterFile),this.uploadFiles(a);else{let e=[...a].filter(e=>this.filterFile(e,!0));n===!1&&(e=a.slice(0,1)),this.uploadFiles(e)}};onFilePaste=async e=>{let{pastable:t}=this.props;if(t&&e.type===`paste`){let t=e.clipboardData;return this.onDataTransferFiles(t,()=>{e.preventDefault()})}};onFileDragOver=e=>{e.preventDefault()};onFileDrop=async e=>{if(e.preventDefault(),e.type===`drop`){let t=e.dataTransfer;return this.onDataTransferFiles(t)}};componentDidMount(){this._isMounted=!0;let{pastable:e}=this.props;e&&document.addEventListener(`paste`,this.onFilePaste)}componentWillUnmount(){this._isMounted=!1,this.abort(),document.removeEventListener(`paste`,this.onFilePaste)}componentDidUpdate(e){let{pastable:t}=this.props;t&&!e.pastable?document.addEventListener(`paste`,this.onFilePaste):!t&&e.pastable&&document.removeEventListener(`paste`,this.onFilePaste)}uploadFiles=e=>{let t=[...e],n=t.map(e=>(e.uid=jz(),this.processFile(e,t)));Promise.all(n).then(e=>{let{onBatchStart:t}=this.props;t?.(e.map(({origin:e,parsedFile:t})=>({file:e,parsedFile:t}))),e.filter(e=>e.parsedFile!==null).forEach(e=>{this.post(e)})})};processFile=async(e,t)=>{let{beforeUpload:n}=this.props,r=e;if(n){try{r=await n(e,t)}catch{r=!1}if(r===!1)return{origin:e,parsedFile:null,action:null,data:null}}let{action:i}=this.props,a;a=typeof i==`function`?await i(e):i;let{data:o}=this.props,s;s=typeof o==`function`?await o(e):o;let c=(typeof r==`object`||typeof r==`string`)&&r?r:e,l;l=c instanceof File?c:new File([c],e.name,{type:e.type});let u=l;return u.uid=e.uid,{origin:e,data:s,parsedFile:u,action:a}};post({data:e,origin:t,action:n,parsedFile:r}){if(!this._isMounted)return;let{onStart:i,customRequest:a,name:o,headers:s,withCredentials:c,method:l}=this.props,{uid:u}=t,d=a||Dz,f={action:n,filename:o,data:e,file:r,headers:s,withCredentials:c,method:l||`post`,onProgress:e=>{let{onProgress:t}=this.props;t?.(e,r)},onSuccess:(e,t)=>{let{onSuccess:n}=this.props;n?.(e,r,t),delete this.reqs[u]},onError:(e,t)=>{let{onError:n}=this.props;n?.(e,t,r),delete this.reqs[u]}};i(t),this.reqs[u]=d(f,{defaultRequest:Dz})}reset(){this.setState({uid:jz()})}abort(e){let{reqs:t}=this;if(e){let n=e.uid?e.uid:e;t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach(e=>{t[e]&&t[e].abort&&t[e].abort(),delete t[e]})}saveFileInput=e=>{this.fileInput=e};render(){let{component:e,prefixCls:t,className:n,classNames:r={},disabled:i,id:a,name:o,style:s,styles:c={},multiple:l,accept:u,capture:d,children:f,directory:p,openFileDialogOnClick:m,onMouseEnter:h,onMouseLeave:g,hasControlInside:_,...v}=this.props,y=typeof u==`string`?u:u?.format,b=q(t,{[`${t}-disabled`]:i,[n]:n}),x=p?{directory:`directory`,webkitdirectory:`webkitdirectory`}:{},S=i?{}:{onClick:m?this.onClick:()=>{},onKeyDown:m?this.onKeyDown:()=>{},onMouseEnter:h,onMouseLeave:g,onDrop:this.onFileDrop,onDragOver:this.onFileDragOver,tabIndex:_?void 0:`0`};return C.createElement(e,Mz({},S,{className:b,role:_?void 0:`button`,style:s}),C.createElement(`input`,Mz({},Hu(v,{aria:!0,data:!0}),{id:a,name:o,disabled:i,type:`file`,ref:this.saveFileInput,onClick:e=>e.stopPropagation(),key:this.state.uid,style:{display:`none`,...c.input},className:r.input,accept:y},x,{multiple:l,onChange:this.onChange},d==null?{}:{capture:d})),f)}};function Pz(){return Pz=Object.assign?Object.assign.bind():function(e){for(var t=1;t{this.uploader=e};render(){return C.createElement(Nz,Pz({},this.props,{ref:this.saveUploader}))}},Lz=e=>{let{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:`relative`,width:`100%`,height:`100%`,textAlign:`center`,background:e.colorFillAlter,border:`${J(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:`pointer`,transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:`table`,width:`100%`,height:`100%`,outline:`none`,borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${J(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:`table-cell`,verticalAlign:`middle`},[` &:not(${t}-disabled):hover, &-hover:not(${t}-disabled) `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${J(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${n}, p${t}-text, p${t}-hint - `]:{color:e.colorTextDisabled}}}}}},Wz=e=>{let{componentCls:t,iconCls:n,fontSize:r,lineHeight:i,motionDurationSlow:a,calc:o}=e,s=`${t}-list-item`,c=`${s}-actions`,l=`${s}-action`;return{[`${t}-wrapper`]:{[`${t}-list`]:{...Zc(),lineHeight:e.lineHeight,[s]:{position:`relative`,height:o(e.lineHeight).mul(r).equal(),marginTop:e.marginXS,fontSize:r,display:`flex`,alignItems:`center`,transition:`background-color ${a}`,borderRadius:e.borderRadiusSM,"&:hover":{backgroundColor:e.controlItemBgHover},[`${s}-name`]:{...Jc,padding:`0 ${J(e.paddingXS)}`,lineHeight:i,flex:`auto`,transition:`all ${a}`},[c]:{whiteSpace:`nowrap`,[l]:{opacity:0},"@media (hover: none), (pointer: coarse)":{[l]:{opacity:1}},[n]:{color:e.actionsColor,transition:`all ${a}`},[` + `]:{color:e.colorTextDisabled}}}}}},Rz=e=>{let{componentCls:t,iconCls:n,fontSize:r,lineHeight:i,motionDurationSlow:a,calc:o}=e,s=`${t}-list-item`,c=`${s}-actions`,l=`${s}-action`;return{[`${t}-wrapper`]:{[`${t}-list`]:{...Zc(),lineHeight:e.lineHeight,[s]:{position:`relative`,height:o(e.lineHeight).mul(r).equal(),marginTop:e.marginXS,fontSize:r,display:`flex`,alignItems:`center`,transition:`background-color ${a}`,borderRadius:e.borderRadiusSM,"&:hover":{backgroundColor:e.controlItemBgHover},[`${s}-name`]:{...Jc,padding:`0 ${J(e.paddingXS)}`,lineHeight:i,flex:`auto`,transition:`all ${a}`},[c]:{whiteSpace:`nowrap`,[l]:{opacity:0},"@media (hover: none), (pointer: coarse)":{[l]:{opacity:1}},[n]:{color:e.actionsColor,transition:`all ${a}`},[` ${l}:focus-visible, &.picture ${l} - `]:{opacity:1}},[`${t}-icon ${n}`]:{color:e.colorIcon,fontSize:r},[`${s}-progress`]:{position:`absolute`,bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:`100%`,paddingInlineStart:o(r).add(e.paddingXS).equal(),fontSize:r,lineHeight:0,pointerEvents:`none`,"> div":{margin:0}}},[`${s}:hover ${l}`]:{opacity:1},[`${s}-error`]:{color:e.colorError,[`${s}-name, ${t}-icon ${n}`]:{color:e.colorError},[c]:{[`${n}, ${n}:hover`]:{color:e.colorError},[l]:{opacity:1}}},[`${t}-list-item-container`]:{transition:[`opacity`,`height`].map(e=>`${e} ${a}`).join(`, `),"&::before":{display:`table`,width:0,height:0,content:`""`}}}}}},Gz=e=>{let{componentCls:t}=e,n=new Ro(`uploadAnimateInlineIn`,{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),r=new Ro(`uploadAnimateInlineOut`,{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),i=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${i}-appear, ${i}-enter, ${i}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:`forwards`},[`${i}-appear, ${i}-enter`]:{animationName:n},[`${i}-leave`]:{animationName:r}}},{[`${t}-wrapper`]:th(e)},n,r]},Kz=e=>{let{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:i,calc:a}=e,o=`${t}-list`,s=`${o}-item`;return{[`${t}-wrapper`]:{[` + `]:{opacity:1}},[`${t}-icon ${n}`]:{color:e.colorIcon,fontSize:r},[`${s}-progress`]:{position:`absolute`,bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:`100%`,paddingInlineStart:o(r).add(e.paddingXS).equal(),fontSize:r,lineHeight:0,pointerEvents:`none`,"> div":{margin:0}}},[`${s}:hover ${l}`]:{opacity:1},[`${s}-error`]:{color:e.colorError,[`${s}-name, ${t}-icon ${n}`]:{color:e.colorError},[c]:{[`${n}, ${n}:hover`]:{color:e.colorError},[l]:{opacity:1}}},[`${t}-list-item-container`]:{transition:[`opacity`,`height`].map(e=>`${e} ${a}`).join(`, `),"&::before":{display:`table`,width:0,height:0,content:`""`}}}}}},zz=e=>{let{componentCls:t}=e,n=new Ro(`uploadAnimateInlineIn`,{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),r=new Ro(`uploadAnimateInlineOut`,{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),i=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${i}-appear, ${i}-enter, ${i}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:`forwards`},[`${i}-appear, ${i}-enter`]:{animationName:n},[`${i}-leave`]:{animationName:r}}},{[`${t}-wrapper`]:ah(e)},n,r]},Bz=e=>{let{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:i,calc:a}=e,o=`${t}-list`,s=`${o}-item`;return{[`${t}-wrapper`]:{[` ${o}${o}-picture, ${o}${o}-picture-card, ${o}${o}-picture-circle - `]:{[s]:{position:`relative`,height:a(r).add(a(e.lineWidth).mul(2)).add(a(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:`transparent`},[`${s}-thumbnail`]:{...Jc,width:r,height:r,lineHeight:J(a(r).add(e.paddingSM).equal()),textAlign:`center`,flex:`none`,[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:`block`,width:`100%`,height:`100%`,overflow:`hidden`}},[`${s}-progress`]:{bottom:a(e.fontSize).mul(e.lineHeight).div(2).add(i).equal(),width:`calc(100% - ${J(a(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:a(r).add(e.paddingXS).equal()}},[`${s}-error`]:{borderColor:e.colorError,[`${s}-thumbnail ${n}`]:{[`svg path[fill='${sc[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${sc.primary}']`]:{fill:e.colorError}}},[`${s}-uploading`]:{borderStyle:`dashed`,[`${s}-name`]:{marginBottom:i}}},[`${o}${o}-picture-circle ${s}`]:{[`&, &::before, ${s}-thumbnail`]:{borderRadius:`50%`}}}}},qz=e=>{let{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:i,calc:a}=e,o=`${t}-list`,s=`${o}-item`,c=e.uploadPicCardSize;return{[` + `]:{[s]:{position:`relative`,height:a(r).add(a(e.lineWidth).mul(2)).add(a(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${J(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:`transparent`},[`${s}-thumbnail`]:{...Jc,width:r,height:r,lineHeight:J(a(r).add(e.paddingSM).equal()),textAlign:`center`,flex:`none`,[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:`block`,width:`100%`,height:`100%`,overflow:`hidden`}},[`${s}-progress`]:{bottom:a(e.fontSize).mul(e.lineHeight).div(2).add(i).equal(),width:`calc(100% - ${J(a(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:a(r).add(e.paddingXS).equal()}},[`${s}-error`]:{borderColor:e.colorError,[`${s}-thumbnail ${n}`]:{[`svg path[fill='${sc[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${sc.primary}']`]:{fill:e.colorError}}},[`${s}-uploading`]:{borderStyle:`dashed`,[`${s}-name`]:{marginBottom:i}}},[`${o}${o}-picture-circle ${s}`]:{[`&, &::before, ${s}-thumbnail`]:{borderRadius:`50%`}}}}},Vz=e=>{let{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:i,calc:a}=e,o=`${t}-list`,s=`${o}-item`,c=e.uploadPicCardSize;return{[` ${t}-wrapper${t}-picture-card-wrapper, ${t}-wrapper${t}-picture-circle-wrapper `]:{...Zc(),display:`block`,[`${t}${t}-select`]:{width:c,height:c,textAlign:`center`,verticalAlign:`top`,backgroundColor:e.colorFillAlter,border:`${J(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:`pointer`,transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:`flex`,alignItems:`center`,justifyContent:`center`,height:`100%`,textAlign:`center`},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${o}${o}-picture-card, ${o}${o}-picture-circle`]:{display:`flex`,flexWrap:`wrap`,"&:not(:empty)":{minHeight:c},"@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},[`${o}-item-container`]:{display:`inline-block`,width:c,height:c,verticalAlign:`top`},"&::after":{display:`none`},"&::before":{display:`none`},[s]:{height:`100%`,margin:0,"&::before":{position:`absolute`,zIndex:1,width:`calc(100% - ${J(a(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${J(a(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:`" "`}},[`${s}:hover`]:{[`&::before, ${s}-actions`]:{opacity:1}},[`${s}-actions`]:{position:`absolute`,insetInlineStart:0,zIndex:10,width:`100%`,whiteSpace:`nowrap`,textAlign:`center`,opacity:0,transition:`all ${e.motionDurationSlow}`,[` ${n}-eye, ${n}-download, ${n}-delete - `]:{zIndex:10,width:r,margin:`0 ${J(e.marginXXS)}`,fontSize:r,cursor:`pointer`,transition:`all ${e.motionDurationSlow}`,color:i,"&:hover":{color:i},svg:{verticalAlign:`baseline`}}},[`${s}-thumbnail, ${s}-thumbnail img`]:{position:`static`,display:`block`,width:`100%`,height:`100%`,objectFit:`contain`},[`${s}-name`]:{display:`none`,textAlign:`center`},[`${s}-file + ${s}-name`]:{position:`absolute`,bottom:e.margin,display:`block`,width:`calc(100% - ${J(a(e.paddingXS).mul(2).equal())})`},[`${s}-uploading`]:{[`&${s}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:`none`}},[`${s}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${J(a(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}},[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:`50%`}}}},Jz=e=>{let{componentCls:t}=e;return{[`${t}-rtl`]:{direction:`rtl`}}},Yz=e=>{let{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:{...Yc(e),[t]:{outline:0,"input[type='file']":{cursor:`pointer`}},[`${t}-select`]:{display:`inline-block`},[`${t}-hidden`]:{display:`none`},[`${t}-disabled`]:{color:n,cursor:`not-allowed`}}}},Xz=il(`Upload`,e=>{let{fontSizeHeading3:t,marginXS:n,lineWidth:r,pictureCardSize:i,calc:a}=e,o=_s(e,{uploadThumbnailSize:a(t).mul(2).equal(),uploadProgressOffset:a(a(n).div(2)).add(r).equal(),uploadPicCardSize:i});return[Yz(o),Uz(o),Kz(o),qz(o),Wz(o),Gz(o),Jz(o),Xm(o)]},e=>({actionsColor:e.colorIcon,pictureCardSize:e.controlHeightLG*2.55})),Zz={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}}]}},name:`file`,theme:`twotone`};function Qz(){return Qz=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Qz({},e,{ref:t,icon:Zz}))),eB={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z`}}]},name:`paper-clip`,theme:`outlined`};function tB(){return tB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tB({},e,{ref:t,icon:eB}))),rB={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z`,fill:e}},{tag:`path`,attrs:{d:`M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z`,fill:t}},{tag:`path`,attrs:{d:`M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z`,fill:t}},{tag:`path`,attrs:{d:`M276 368a28 28 0 1056 0 28 28 0 10-56 0z`,fill:t}},{tag:`path`,attrs:{d:`M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z`,fill:e}}]}},name:`picture`,theme:`twotone`};function iB(){return iB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iB({},e,{ref:t,icon:rB})));function oB(e){return{...e,lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e}}function sB(e,t){let n=Qr(t),r=n.findIndex(({uid:t})=>t===e.uid);return r===-1?n.push(e):n[r]=e,n}function cB(e,t){let n=e.uid===void 0?`name`:`uid`;return t.filter(t=>t[n]===e[n])[0]}function lB(e,t){let n=e.uid===void 0?`name`:`uid`,r=t.filter(t=>t[n]!==e[n]);return r.length===t.length?null:r}var uB=(e=``)=>{let t=e.split(`/`),n=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[``])[0]},dB=e=>e.indexOf(`image/`)===0,fB=e=>{if(e.type&&!e.thumbUrl)return dB(e.type);let t=e.thumbUrl||e.url||``,n=uB(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n)?!0:!(/^data:/.test(t)||n)},pB=200;function mB(e){return new Promise(t=>{if(!e.type||!dB(e.type)){t(``);return}let n=document.createElement(`canvas`);n.width=pB,n.height=pB,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${pB}px; height: ${pB}px; z-index: 9999; display: none;`,document.body.appendChild(n);let r=n.getContext(`2d`),i=new Image;if(i.onload=()=>{let{width:e,height:a}=i,o=pB,s=pB,c=0,l=0;e>a?(s=pB/e*a,l=-(s-o)/2):(o=pB/a*e,c=-(o-s)/2),r.drawImage(i,c,l,o,s);let u=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(i.src),t(u)},i.crossOrigin=`anonymous`,e.type.startsWith(`image/svg+xml`)){let t=new FileReader;t.onload=()=>{t.result&&typeof t.result==`string`&&(i.src=t.result)},t.readAsDataURL(e)}else if(e.type.startsWith(`image/gif`)){let n=new FileReader;n.onload=()=>{n.result&&t(n.result)},n.readAsDataURL(e)}else i.src=window.URL.createObjectURL(e)})}var hB={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z`}}]},name:`download`,theme:`outlined`};function gB(){return gB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gB({},e,{ref:t,icon:hB}))),vB=C.forwardRef(({prefixCls:e,className:t,style:n,classNames:r,styles:i,locale:a,listType:o,file:s,items:c,progress:l,iconRender:u,actionIconRender:d,itemRender:f,isImgUrl:p,showPreviewIcon:m,showRemoveIcon:h,showDownloadIcon:g,previewIcon:_,removeIcon:v,downloadIcon:y,extra:b,onPreview:x,onDownload:S,onClose:w},T)=>{let{status:E}=s,[D,O]=C.useState(E);C.useEffect(()=>{E!==`removed`&&O(E)},[E]);let[k,A]=C.useState(!1);C.useEffect(()=>{let e=setTimeout(()=>{A(!0)},300);return()=>{clearTimeout(e)}},[]);let j=u(s),M=C.createElement(`div`,{className:`${e}-icon`},j);if(o===`picture`||o===`picture-card`||o===`picture-circle`)if(D===`uploading`||!s.thumbUrl&&!s.url){let t=q(`${e}-list-item-thumbnail`,{[`${e}-list-item-file`]:D!==`uploading`});M=C.createElement(`div`,{className:t},j)}else{let t=p?.(s)?C.createElement(`img`,{src:s.thumbUrl||s.url,alt:s.name,className:`${e}-list-item-image`,crossOrigin:s.crossOrigin}):j,n=q(`${e}-list-item-thumbnail`,{[`${e}-list-item-file`]:p&&!p(s)});M=C.createElement(`a`,{className:n,onClick:e=>x(s,e),href:s.url||s.thumbUrl,target:`_blank`,rel:`noopener noreferrer`},t)}let N=q(`${e}-list-item`,`${e}-list-item-${D}`,r?.item),P=typeof s.linkProps==`string`?JSON.parse(s.linkProps):s.linkProps,F=(typeof h==`function`?h(s):h)?d((typeof v==`function`?v(s):v)||C.createElement(MR,null),()=>w(s),e,a.removeFile,!0):null,I=(typeof g==`function`?g(s):g)&&D===`done`?d((typeof y==`function`?y(s):y)||C.createElement(_B,null),()=>S(s),e,a.downloadFile):null,L=o!==`picture-card`&&o!==`picture-circle`&&C.createElement(`span`,{key:`download-delete`,className:q(`${e}-list-item-actions`,{picture:o===`picture`})},I,F),R=typeof b==`function`?b(s):b,z=R&&C.createElement(`span`,{className:`${e}-list-item-extra`},R),B=q(`${e}-list-item-name`),V=s.url?C.createElement(`a`,{key:`view`,target:`_blank`,rel:`noopener noreferrer`,className:B,title:s.name,...P,href:s.url,onClick:e=>x(s,e)},s.name,z):C.createElement(`span`,{key:`view`,className:B,onClick:e=>x(s,e),title:s.name},s.name,z),H=(typeof m==`function`?m(s):m)&&(s.url||s.thumbUrl)?C.createElement(`a`,{href:s.url||s.thumbUrl,target:`_blank`,rel:`noopener noreferrer`,onClick:e=>x(s,e),title:a.previewFile},typeof _==`function`?_(s):_||C.createElement(NN,null)):null,U=(o===`picture-card`||o===`picture-circle`)&&D!==`uploading`&&C.createElement(`span`,{className:`${e}-list-item-actions`},H,D===`done`&&I,F),{getPrefixCls:W}=C.useContext(si),ee=W(),te=C.createElement(`div`,{className:N,style:i?.item},M,V,L,U,k&&C.createElement(Lu,{motionName:`${ee}-fade`,visible:D===`uploading`,motionDeadline:2e3},({className:t})=>{let n=`percent`in s?C.createElement(BP,{type:`line`,percent:s.percent,"aria-label":s[`aria-label`],"aria-labelledby":s[`aria-labelledby`],...l}):null;return C.createElement(`div`,{className:q(`${e}-list-item-progress`,t)},n)})),ne=s.response&&typeof s.response==`string`?s.response:s.error?.statusText||s.error?.message||a.uploadError,re=D===`error`?C.createElement(nx,{title:ne,getPopupContainer:e=>e.parentNode},te):te;return C.createElement(`div`,{className:q(`${e}-list-item-container`,t),style:n,ref:T},f?f(re,s,c,{download:S.bind(null,s),preview:x.bind(null,s),remove:w.bind(null,s)}):re)}),yB=C.forwardRef((e,t)=>{let{listType:n=`text`,previewFile:r=mB,onPreview:i,onDownload:a,onRemove:o,locale:s,iconRender:c,isImageUrl:l=fB,prefixCls:u,items:d=[],showPreviewIcon:f=!0,showRemoveIcon:p=!0,showDownloadIcon:m=!1,removeIcon:h,previewIcon:g,downloadIcon:_,extra:v,progress:y={size:[-1,2],showInfo:!1},appendAction:b,appendActionVisible:x=!0,itemRender:S,disabled:w,classNames:T,styles:E}=e,[,D]=Dd(),[O,k]=C.useState(!1),A=[`picture-card`,`picture-circle`].includes(n);C.useEffect(()=>{n.startsWith(`picture`)&&(d||[]).forEach(e=>{!(e.originFileObj instanceof File||e.originFileObj instanceof Blob)||e.thumbUrl!==void 0||(e.thumbUrl=``,r?.(e.originFileObj).then(t=>{e.thumbUrl=t||``,D()}))})},[n,d,r]),C.useEffect(()=>{k(!0)},[]);let j=(e,t)=>{if(i)return t?.preventDefault(),i(e)},M=e=>{typeof a==`function`?a(e):e.url&&window.open(e.url)},N=e=>{o?.(e)},P=e=>{if(c)return c(e,n);let t=e.status===`uploading`;if(n.startsWith(`picture`)){let r=n===`picture`?C.createElement(dm,null):s.uploading,i=l?.(e)?C.createElement(aB,null):C.createElement($z,null);return t?r:i}return t?C.createElement(dm,null):C.createElement(nB,null)},F=(e,t,n,r,i)=>{let a={type:`text`,size:`small`,title:r,onClick:n=>{t(),C.isValidElement(e)&&e.props.onClick?.(n)},className:`${n}-list-item-action`,disabled:i?w:!1};return C.isValidElement(e)?C.createElement(ng,{...a,icon:Fp(e,{...e.props,onClick:()=>{}})}):C.createElement(ng,{...a},C.createElement(`span`,null,e))};C.useImperativeHandle(t,()=>({handlePreview:j,handleDownload:M}));let{getPrefixCls:I}=C.useContext(si),L=I(`upload`,u),R=I(),z=q(`${L}-list`,`${L}-list-${n}`,T?.list),B=C.useMemo(()=>Cr(Om(R),[`onAppearEnd`,`onEnterEnd`,`onLeaveEnd`]),[R]),V={...A?{}:B,motionDeadline:2e3,motionName:`${L}-${A?`animate-inline`:`animate`}`,keys:Qr(d.map(e=>({key:e.uid,file:e}))),motionAppear:O};return C.createElement(`div`,{className:z,style:E?.list},C.createElement(Iu,{...V,component:!1},({key:e,file:t,className:r,style:i})=>C.createElement(vB,{key:e,locale:s,prefixCls:L,className:r,style:i,classNames:T,styles:E,file:t,items:d,progress:y,listType:n,isImgUrl:l,showPreviewIcon:f,showRemoveIcon:p,showDownloadIcon:m,removeIcon:h,previewIcon:g,downloadIcon:_,extra:v,iconRender:P,actionIconRender:F,itemRender:S,onPreview:j,onDownload:M,onClose:N})),b&&C.createElement(Lu,{...V,visible:x,forceRender:!0},({className:e,style:t})=>Fp(b,n=>({className:q(n.className,e),style:{...t,pointerEvents:e?`none`:void 0,...n.style}}))))}),bB=`__LIST_IGNORE_${Date.now()}__`,xB=C.forwardRef((e,t)=>{let n=ui(`upload`),{fileList:r,defaultFileList:i,onRemove:a,showUploadList:o=!0,listType:s=`text`,onPreview:c,onDownload:l,onChange:u,onDrop:d,previewFile:f,disabled:p,locale:m,iconRender:h,isImageUrl:g,progress:_,prefixCls:v,className:y,type:b=`select`,children:x,style:S,itemRender:w,maxCount:T,data:E={},multiple:D=!1,hasControlInside:O=!0,action:k=``,accept:A=``,supportServerRender:j=!0,rootClassName:M,styles:N,classNames:P}=e,F=C.useContext(Bp),I=p??F,L=e.customRequest||n.customRequest,[R,z]=Wn(i,r),B=R||[],[V,H]=C.useState(`drop`),U=C.useRef(null),W=C.useRef(null);C.useMemo(()=>{let e=Date.now();(r||[]).forEach((t,n)=>{!t.uid&&!Object.isFrozen(t)&&(t.uid=`__AUTO__${e}_${n}__`)})},[r]);let ee=(e,t,n)=>{let r=Qr(t),i=!1;T===1?r=r.slice(-1):T&&(i=r.length>T,r=r.slice(0,T)),(0,Yf.flushSync)(()=>{z(r)});let a={file:e,fileList:r};n&&(a.event=n),(!i||e.status===`removed`||r.some(t=>t.uid===e.uid))&&(0,Yf.flushSync)(()=>{u?.(a)})},te=async(t,n)=>{let{beforeUpload:r}=e,i=t;if(r){let e=await r(t,n);if(e===!1)return!1;if(delete t[bB],e===bB)return Object.defineProperty(t,bB,{value:!0,configurable:!0}),!1;gd(e)&&(i=e)}return i},ne=e=>{let t=e.filter(e=>!e.file[bB]);if(!t.length)return;let n=t.map(e=>oB(e.file)),r=Qr(B);n.forEach(e=>{r=sB(e,r)}),n.forEach((e,n)=>{let i=e;if(t[n].parsedFile)e.status=`uploading`;else{let{originFileObj:t}=e,n;try{n=new File([t],t.name,{type:t.type})}catch{n=new Blob([t],{type:t.type}),n.name=t.name,n.lastModifiedDate=new Date,n.lastModified=new Date().getTime()}n.uid=e.uid,i=n}ee(i,r)})},re=(e,t,n)=>{try{typeof e==`string`&&(e=JSON.parse(e))}catch{}if(!cB(t,B))return;let r=oB(t);r.status=`done`,r.percent=100,r.response=e,r.xhr=n,ee(r,sB(r,B))},ie=(e,t)=>{if(!cB(t,B))return;let n=oB(t);n.status=`uploading`,n.percent=e.percent,ee(n,sB(n,B),e)},ae=(e,t,n)=>{if(!cB(n,B))return;let r=oB(n);r.error=e,r.response=t,r.status=`error`,ee(r,sB(r,B))},G=e=>{let t;Promise.resolve(typeof a==`function`?a(e):a).then(n=>{if(n===!1)return;let r=lB(e,B);r&&(t={...e,status:`removed`},B?.forEach(e=>{let n=t.uid===void 0?`name`:`uid`;e[n]===t[n]&&!Object.isFrozen(e)&&(e.status=`removed`)}),U.current?.abort(t),ee(t,r))})},oe=e=>{H(e.type),e.type===`drop`&&d?.(e)};C.useImperativeHandle(t,()=>({onBatchStart:ne,onSuccess:re,onProgress:ie,onError:ae,fileList:B,upload:U.current,nativeElement:W.current}));let{getPrefixCls:K,direction:se,className:ce,style:le,classNames:ue,styles:de}=ui(`upload`),fe=K(`upload`,v),pe={...e,listType:s,showUploadList:o,type:b,multiple:D,hasControlInside:O,supportServerRender:j,disabled:I},[me,he]=Id([ue,P],[de,N],{props:pe}),ge={onBatchStart:ne,onError:ae,onProgress:ie,onSuccess:re,...e,customRequest:L,data:E,multiple:D,action:k,accept:A,supportServerRender:j,prefixCls:fe,disabled:I,beforeUpload:te,onChange:void 0,hasControlInside:O};delete ge.className,delete ge.style,(!x||I)&&delete ge.id;let _e=`${fe}-wrapper`,[ve,ye]=Xz(fe,_e),[be]=ld(`Upload`,nd.Upload),{showRemoveIcon:xe,showPreviewIcon:Se,showDownloadIcon:Ce,removeIcon:we,previewIcon:Te,downloadIcon:Ee,extra:De}=typeof o==`boolean`?{}:o,Oe=xe===void 0?!I:xe,ke=(e,t)=>o?C.createElement(yB,{classNames:me,styles:he,prefixCls:fe,listType:s,items:B,previewFile:f,onPreview:c,onDownload:l,onRemove:G,showRemoveIcon:Oe,showPreviewIcon:Se,showDownloadIcon:Ce,removeIcon:we,previewIcon:Te,downloadIcon:Ee,iconRender:h,extra:De,locale:{...be,...m},isImageUrl:g,progress:_,appendAction:e,appendActionVisible:t,itemRender:w,disabled:I}):e,Ae=q(_e,y,M,ve,ye,ce,me.root,{[`${fe}-rtl`]:se===`rtl`,[`${fe}-picture-card-wrapper`]:s===`picture-card`,[`${fe}-picture-circle-wrapper`]:s===`picture-circle`}),je={...he.root},Me={...le,...S};if(b===`drag`){let e=q(ve,fe,`${fe}-drag`,{[`${fe}-drag-uploading`]:B.some(e=>e.status===`uploading`),[`${fe}-drag-hover`]:V===`dragover`,[`${fe}-disabled`]:I,[`${fe}-rtl`]:se===`rtl`},me.trigger);return C.createElement(`span`,{className:Ae,ref:W,style:je},C.createElement(`div`,{className:e,style:{...Me,...he.trigger},onDrop:oe,onDragOver:oe,onDragLeave:oe},C.createElement(Hz,{...ge,ref:U,className:`${fe}-btn`},C.createElement(`div`,{className:`${fe}-drag-container`},x))),ke())}let Ne=q(fe,`${fe}-select`,{[`${fe}-disabled`]:I,[`${fe}-hidden`]:!x},me.trigger),Pe=C.createElement(`div`,{className:Ne,style:{...Me,...he.trigger}},C.createElement(Hz,{...ge,ref:U}));return s===`picture-card`||s===`picture-circle`?C.createElement(`span`,{className:Ae,ref:W,style:je},ke(Pe,!!x)):C.createElement(`span`,{className:Ae,ref:W,style:je},Pe,ke())}),SB=C.forwardRef((e,t)=>{let{style:n,height:r,hasControlInside:i=!1,children:a,...o}=e,s={...n,height:r};return C.createElement(xB,{ref:t,hasControlInside:i,...o,style:s,type:`drag`},a)}),CB=xB;CB.Dragger=SB,CB.LIST_IGNORE=bB;var wB=o(((e,t)=>{function n(e){return e&&e.__esModule?e:{default:e}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),TB=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={items_per_page:`条/页`,jump_to:`跳至`,jump_to_confirm:`确定`,page:`页`,prev_page:`上一页`,next_page:`下一页`,prev_5:`向前 5 页`,next_5:`向后 5 页`,prev_3:`向前 3 页`,next_3:`向后 3 页`,page_size:`页码`}})),EB=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.commonLocale=void 0,e.commonLocale={yearFormat:`YYYY`,dayFormat:`D`,cellMeridiemFormat:`A`,monthBeforeYear:!0}})),DB=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var t=EB();function n(e){"@babel/helpers - typeof";return n=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},n(e)}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={placeholder:`请选择时间`,rangePlaceholder:[`开始时间`,`结束时间`]}})),kB=o((e=>{var t=wB().default;Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var n=t(DB()),r=t(OB()),i={lang:{placeholder:`请选择日期`,yearPlaceholder:`请选择年份`,quarterPlaceholder:`请选择季度`,monthPlaceholder:`请选择月份`,weekPlaceholder:`请选择周`,rangePlaceholder:[`开始日期`,`结束日期`],rangeYearPlaceholder:[`开始年份`,`结束年份`],rangeMonthPlaceholder:[`开始月份`,`结束月份`],rangeQuarterPlaceholder:[`开始季度`,`结束季度`],rangeWeekPlaceholder:[`开始周`,`结束周`],...n.default},timePickerLocale:{...r.default}};i.lang.ok=`确定`,e.default=i})),AB=o((e=>{var t=wB().default;Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default=t(kB()).default})),jB=o((e=>{var t=wB().default;Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var n=t(TB()),r=t(AB()),i=t(kB()),a=t(OB()),o="${label}不是一个有效的${type}";e.default={locale:`zh-cn`,Pagination:n.default,DatePicker:i.default,TimePicker:a.default,Calendar:r.default,global:{placeholder:`请选择`,close:`关闭`,sortable:`可排序`},Table:{filterTitle:`筛选`,filterConfirm:`确定`,filterReset:`重置`,filterEmptyText:`无筛选项`,filterCheckAll:`全选`,filterSearchPlaceholder:`在筛选项中搜索`,emptyText:`暂无数据`,selectAll:`全选当页`,selectInvert:`反选当页`,selectNone:`清空所有`,selectionAll:`全选所有`,sortTitle:`排序`,expand:`展开行`,collapse:`关闭行`,triggerDesc:`点击降序`,triggerAsc:`点击升序`,cancelSort:`取消排序`},Modal:{okText:`确定`,cancelText:`取消`,justOkText:`知道了`},Tour:{Next:`下一步`,Previous:`上一步`,Finish:`结束导览`},Popconfirm:{cancelText:`取消`,okText:`确定`},Transfer:{titles:[``,``],searchPlaceholder:`请输入搜索内容`,itemUnit:`项`,itemsUnit:`项`,remove:`删除`,selectCurrent:`全选当页`,removeCurrent:`删除当页`,selectAll:`全选所有`,deselectAll:`取消全选`,removeAll:`删除全部`,selectInvert:`反选当页`},Upload:{uploading:`文件上传中`,removeFile:`删除文件`,uploadError:`上传错误`,previewFile:`预览文件`,downloadFile:`下载文件`},Empty:{description:`暂无数据`},Icon:{icon:`图标`},Text:{edit:`编辑`,copy:`复制`,copied:`复制成功`,expand:`展开`,collapse:`收起`},Form:{optional:`(可选)`,defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:o,method:o,array:o,object:o,number:o,date:o,boolean:o,integer:o,float:o,regexp:o,email:o,url:o,hex:o},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},QRCode:{expired:`二维码过期`,refresh:`点击刷新`,scanned:`已扫描`},ColorPicker:{presetEmpty:`暂无`,transparent:`无色`,singleColor:`单色`,gradientColor:`渐变色`}}})),MB=o(((e,t)=>{t.exports=jB()})),NB={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM648.3 426.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V752c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 018.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z`}}]},name:`account-book`,theme:`filled`};function PB(){return PB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PB({},e,{ref:t,icon:NB}))),IB={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 00-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z`}}]},name:`account-book`,theme:`outlined`};function LB(){return LB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LB({},e,{ref:t,icon:IB}))),zB={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v584h656V256H712v48zm-65.6 121.8l-89.3 164.1h49.1c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4v33.7h65.4c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4V752c0 4.4-3.6 8-8 8h-41.3c-4.4 0-8-3.6-8-8v-53.8h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8h65.1v-33.7h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8H467l-89.3-164c-2.1-3.9-.7-8.8 3.2-10.9 1.1-.7 2.5-1 3.8-1h46a8 8 0 017.1 4.4l73.4 145.4h2.8l73.4-145.4c1.3-2.7 4.1-4.4 7.1-4.4h45c4.5 0 8 3.6 7.9 8 0 1.3-.4 2.6-1 3.8z`,fill:t}},{tag:`path`,attrs:{d:`M639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 00-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z`,fill:e}},{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584z`,fill:e}}]}},name:`account-book`,theme:`twotone`};function BB(){return BB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BB({},e,{ref:t,icon:zB}))),HB={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M952 474H829.8C812.5 327.6 696.4 211.5 550 194.2V72c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v122.2C327.6 211.5 211.5 327.6 194.2 474H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h122.2C211.5 696.4 327.6 812.5 474 829.8V952c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V829.8C696.4 812.5 812.5 696.4 829.8 550H952c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM512 756c-134.8 0-244-109.2-244-244s109.2-244 244-244 244 109.2 244 244-109.2 244-244 244z`}},{tag:`path`,attrs:{d:`M512 392c-32.1 0-62.1 12.4-84.8 35.2-22.7 22.7-35.2 52.7-35.2 84.8s12.5 62.1 35.2 84.8C449.9 619.4 480 632 512 632s62.1-12.5 84.8-35.2C619.4 574.1 632 544 632 512s-12.5-62.1-35.2-84.8A118.57 118.57 0 00512 392z`}}]},name:`aim`,theme:`outlined`};function UB(){return UB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UB({},e,{ref:t,icon:HB}))),GB={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 244c176.18 0 319 142.82 319 319v233a32 32 0 01-32 32H225a32 32 0 01-32-32V563c0-176.18 142.82-319 319-319zM484 68h56a8 8 0 018 8v96a8 8 0 01-8 8h-56a8 8 0 01-8-8V76a8 8 0 018-8zM177.25 191.66a8 8 0 0111.32 0l67.88 67.88a8 8 0 010 11.31l-39.6 39.6a8 8 0 01-11.31 0l-67.88-67.88a8 8 0 010-11.31l39.6-39.6zm669.6 0l39.6 39.6a8 8 0 010 11.3l-67.88 67.9a8 8 0 01-11.32 0l-39.6-39.6a8 8 0 010-11.32l67.89-67.88a8 8 0 0111.31 0zM192 892h640a32 32 0 0132 32v24a8 8 0 01-8 8H168a8 8 0 01-8-8v-24a32 32 0 0132-32zm148-317v253h64V575h-64z`}}]},name:`alert`,theme:`filled`};function KB(){return KB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KB({},e,{ref:t,icon:GB}))),JB={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M193 796c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563zm-48.1-252.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM832 892H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8z`}}]},name:`alert`,theme:`outlined`};function YB(){return YB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YB({},e,{ref:t,icon:JB}))),ZB={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M340 585c0-5.5 4.5-10 10-10h44c5.5 0 10 4.5 10 10v171h355V563c0-136.4-110.6-247-247-247S265 426.6 265 563v193h75V585z`,fill:t}},{tag:`path`,attrs:{d:`M216.9 310.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8zm348 712H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zm-639-96c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563z`,fill:e}}]}},name:`alert`,theme:`twotone`};function QB(){return QB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QB({},e,{ref:t,icon:ZB}))),eV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M602.9 669.8c-37.2 2.6-33.6-17.3-11.5-46.2 50.4-67.2 143.7-158.5 147.9-225.2 5.8-86.6-81.3-113.4-171-113.4-62.4 1.6-127 18.9-171 34.6-151.6 53.5-246.6 137.5-306.9 232-62.4 93.4-43 183.2 91.8 185.8 101.8-4.2 170.5-32.5 239.7-68.2.5 0-192.5 55.1-263.9 14.7-7.9-4.2-15.7-10-17.8-26.2 0-33.1 54.6-67.7 86.6-78.7v-56.7c64.5 22.6 140.6 16.3 205.7-32 2.1 5.8 4.2 13.1 3.7 21h11c2.6-22.6-12.6-44.6-37.8-46.2 7.3 5.8 12.6 10.5 15.2 14.7l-1 1-.5.5c-83.9 58.8-165.3 31.5-173.1 29.9l46.7-45.7-13.1-33.1c92.9-32.5 169.5-56.2 296.9-78.7l-28.5-23 14.7-8.9c75.5 21 126.4 36.7 123.8 76.6-1 6.8-3.7 14.7-7.9 23.1C660.1 466.1 594 538 567.2 569c-17.3 20.5-34.6 39.4-46.7 58.3-13.6 19.4-20.5 37.3-21 53.5 2.6 131.8 391.4-61.9 468-112.9-111.7 47.8-232.9 93.5-364.6 101.9zm85-302.9c2.8 5.2 4.1 11.6 4.1 19.1-.1-6.8-1.4-13.3-4.1-19.1z`}}]},name:`alibaba`,theme:`outlined`};function tV(){return tV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tV({},e,{ref:t,icon:eV}))),rV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M264 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm496 424c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496zm144 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`align-center`,theme:`outlined`};function iV(){return iV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iV({},e,{ref:t,icon:rV}))),oV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M120 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 424h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm784 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`align-left`,theme:`outlined`};function sV(){return sV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sV({},e,{ref:t,icon:oV}))),lV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M904 158H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 424H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 212H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`align-right`,theme:`outlined`};function uV(){return uV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uV({},e,{ref:t,icon:lV}))),fV={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64c247.42 0 448 200.58 448 448S759.42 960 512 960 64 759.42 64 512 264.58 64 512 64m32.5 168c-69.67 0-86.06 16.84-86.72 39.08l-.02 1.43v46.62H291.45c-9.92 0-14.28 23.05-14.27 39.3 0 2.7 2.08 4.93 4.77 4.93h175.81v58.3h-116.5c-9.96 0-14.3 23.76-14.27 39.47a4.77 4.77 0 004.77 4.76h233.45c-4.53 41.06-15.43 77.59-30.72 109.32l-1.22 2.5-.32-.28c-60.24-28.47-120.43-52.57-194.4-52.57l-2.62.01c-84.98 1.11-144.71 56.5-145.91 127.04l-.02 1.22.02 2.13c1.24 70.4 63.56 126.45 148.52 126.45 61.25 0 116.38-16.85 163.46-45.02a138.58 138.58 0 0014.07-7.96 345.6 345.6 0 0050.3-41.16l9.45 6.35 12.46 8.32c57.53 38.26 113.76 72.62 169.86 79.27a142.62 142.62 0 0018.31 1.16c43.02 0 55-52.68 57.39-95.51l.14-2.84c.4-8.46-6.2-15.6-14.65-15.86-75.46-2.37-136.45-22.05-192-46.11l-6.27-2.75c35.15-56.8 56.66-121.81 57.15-186.66l.09-1.08c.4-5.51-4-10.2-9.52-10.2H549.33v-58.3h165.73c9.92 0 14.28-22.12 14.27-39.31a4.85 4.85 0 00-4.78-4.92H549.32v-82.35a4.8 4.8 0 00-4.83-4.78M328 583.85c54.63 0 107.08 22.41 158.1 52.19l5.76 3.4c-103.57 119.84-247.17 95.9-261.72 26.37a66.89 66.89 0 01-1.14-9.83l-.06-2.34.02-.9c.97-40.12 45.33-68.9 99.04-68.9`}}]},name:`alipay-circle`,theme:`filled`};function pV(){return pV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pV({},e,{ref:t,icon:fV}))),hV={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64c247.42 0 448 200.58 448 448S759.42 960 512 960 64 759.42 64 512 264.58 64 512 64m32.5 168c-69.67 0-86.06 16.84-86.72 39.08l-.02 1.43v46.62H291.45c-9.92 0-14.28 23.05-14.27 39.3 0 2.7 2.08 4.93 4.77 4.93h175.81v58.3h-116.5c-9.96 0-14.3 23.76-14.27 39.47a4.77 4.77 0 004.77 4.76h233.45c-4.53 41.06-15.43 77.59-30.72 109.32l-1.22 2.5-.32-.28c-60.24-28.47-120.43-52.57-194.4-52.57l-2.62.01c-84.98 1.11-144.71 56.5-145.91 127.04l-.02 1.22.02 2.13c1.24 70.4 63.56 126.45 148.52 126.45 61.25 0 116.38-16.85 163.46-45.02a138.58 138.58 0 0014.07-7.96 345.6 345.6 0 0050.3-41.16l9.45 6.35 12.46 8.32c57.53 38.26 113.76 72.62 169.86 79.27a142.62 142.62 0 0018.31 1.16c43.02 0 55-52.68 57.39-95.51l.14-2.84c.4-8.46-6.2-15.6-14.65-15.86-75.46-2.37-136.45-22.05-192-46.11l-6.27-2.75c35.15-56.8 56.66-121.81 57.15-186.66l.09-1.08c.4-5.51-4-10.2-9.52-10.2H549.33v-58.3h165.73c9.92 0 14.28-22.12 14.27-39.31a4.85 4.85 0 00-4.78-4.92H549.32v-82.35a4.8 4.8 0 00-4.83-4.78M328 583.85c54.63 0 107.08 22.41 158.1 52.19l5.76 3.4c-103.57 119.84-247.17 95.9-261.72 26.37a66.89 66.89 0 01-1.14-9.83l-.06-2.34.02-.9c.97-40.12 45.33-68.9 99.04-68.9`}}]},name:`alipay-circle`,theme:`outlined`};function gV(){return gV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gV({},e,{ref:t,icon:hV}))),vV={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M557.2 129a6.68 6.68 0 016.72 6.65V250.2h243.8a6.74 6.74 0 016.65 6.84c.02 23.92-6.05 54.69-19.85 54.69H563.94v81.1h166.18c7.69 0 13.8 6.51 13.25 14.18l-.11 1.51c-.7 90.2-30.63 180.64-79.52 259.65l8.71 3.82c77.3 33.48 162.15 60.85 267.15 64.14a21.08 21.08 0 0120.38 22.07l-.2 3.95c-3.34 59.57-20 132.85-79.85 132.85-8.8 0-17.29-.55-25.48-1.61-78.04-9.25-156.28-57.05-236.32-110.27l-17.33-11.57-13.15-8.83a480.83 480.83 0 01-69.99 57.25 192.8 192.8 0 01-19.57 11.08c-65.51 39.18-142.21 62.6-227.42 62.62-118.2 0-204.92-77.97-206.64-175.9l-.03-2.95.03-1.7c1.66-98.12 84.77-175.18 203-176.72l3.64-.03c102.92 0 186.66 33.54 270.48 73.14l.44.38 1.7-3.47c21.27-44.14 36.44-94.95 42.74-152.06h-324.8a6.64 6.64 0 01-6.63-6.62c-.04-21.86 6-54.91 19.85-54.91h162.1v-81.1H191.92a6.71 6.71 0 01-6.64-6.85c-.01-22.61 6.06-54.68 19.86-54.68h231.4v-64.85l.02-1.99c.9-30.93 23.72-54.36 120.64-54.36M256.9 619c-74.77 0-136.53 39.93-137.88 95.6l-.02 1.26.08 3.24a92.55 92.55 0 001.58 13.64c20.26 96.5 220.16 129.71 364.34-36.59l-8.03-4.72C405.95 650.11 332.94 619 256.9 619`}}]},name:`alipay`,theme:`outlined`};function yV(){return yV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yV({},e,{ref:t,icon:vV}))),xV={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M894.6 116.54a30.9 30.9 0 0112.86 12.85c2.96 5.54 4.54 11.04 4.54 26.2V868.4c0 15.16-1.58 20.66-4.54 26.2a30.9 30.9 0 01-12.85 12.85c-5.54 2.96-11.04 4.54-26.2 4.54H155.6c-15.16 0-20.66-1.58-26.2-4.54a30.9 30.9 0 01-12.85-12.85c-2.92-5.47-4.5-10.9-4.54-25.59V155.6c0-15.16 1.58-20.66 4.54-26.2a30.9 30.9 0 0112.85-12.85c5.47-2.92 10.9-4.5 25.59-4.54H868.4c15.16 0 20.66 1.58 26.2 4.54M541 262c-62.2 0-76.83 15.04-77.42 34.9l-.02 1.27v41.62H315.08c-8.86 0-12.75 20.59-12.74 35.1a4.3 4.3 0 004.26 4.4h156.97v52.05H359.56c-8.9 0-12.77 21.22-12.75 35.25a4.26 4.26 0 004.26 4.25h208.44c-4.04 36.66-13.78 69.27-27.43 97.6l-1.09 2.23-.28-.25c-53.8-25.42-107.53-46.94-173.58-46.94l-2.33.01c-75.88 1-129.21 50.45-130.28 113.43l-.02 1.1.02 1.89c1.1 62.85 56.75 112.9 132.6 112.9 54.7 0 103.91-15.04 145.95-40.2a123.73 123.73 0 0012.56-7.1 308.6 308.6 0 0044.92-36.75l8.44 5.67 11.12 7.43c51.36 34.15 101.57 64.83 151.66 70.77a127.34 127.34 0 0016.35 1.04c38.4 0 49.1-47.04 51.24-85.28l.13-2.53a13.53 13.53 0 00-13.08-14.17c-67.39-2.1-121.84-19.68-171.44-41.17l-5.6-2.44c31.39-50.72 50.6-108.77 51.04-166.67l.07-.96a8.51 8.51 0 00-8.5-9.1H545.33v-52.06H693.3c8.86 0 12.75-19.75 12.75-35.1-.01-2.4-1.87-4.4-4.27-4.4H545.32v-73.52a4.29 4.29 0 00-4.31-4.27m-193.3 314.15c48.77 0 95.6 20.01 141.15 46.6l5.15 3.04c-92.48 107-220.69 85.62-233.68 23.54a59.72 59.72 0 01-1.02-8.78l-.05-2.08.01-.81c.87-35.82 40.48-61.51 88.44-61.51`}}]},name:`alipay-square`,theme:`filled`};function SV(){return SV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SV({},e,{ref:t,icon:xV}))),wV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 00-120.5-81.2A375.65 375.65 0 00519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 00-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0029.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-325.2 79c0 20.4-16.6 37.1-37.1 37.1-20.4 0-37.1-16.7-37.1-37.1v-55.1c0-20.4 16.6-37.1 37.1-37.1 20.4 0 37.1 16.6 37.1 37.1v55.1zm175.2 0c0 20.4-16.6 37.1-37.1 37.1S644 476.8 644 456.4v-55.1c0-20.4 16.7-37.1 37.1-37.1 20.4 0 37.1 16.6 37.1 37.1v55.1z`}}]},name:`aliwangwang`,theme:`filled`};function TV(){return TV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TV({},e,{ref:t,icon:wV}))),DV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 00-120.5-81.2A375.65 375.65 0 00519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 00-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10.1 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0029.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-66.4 266.5a307.08 307.08 0 01-65.9 98c-28.4 28.5-61.3 50.7-97.7 65.9h-.1c-38 16-78.3 24.2-119.9 24.2a306.51 306.51 0 01-217.5-90.2c-28.4-28.5-50.6-61.4-65.8-97.8v-.1c-16-37.8-24.1-78.2-24.1-119.9 0-55.4 14.8-109.7 42.8-157l13.2-22.1-9.5-23.9L206 192c14.9.6 35.9 2.1 59.7 5.6 43.8 6.5 82.5 17.5 114.9 32.6l19 8.9 19.9-6.8c31.5-10.8 64.8-16.2 98.9-16.2a306.51 306.51 0 01217.5 90.2c28.4 28.5 50.6 61.4 65.8 97.8l.1.1.1.1c16 37.6 24.1 78 24.2 119.8-.1 41.7-8.3 82-24.3 119.8zM681.1 364.2c-20.4 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.6 37.1 37.1 37.1s37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1zm-175.2 0c-20.5 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.7 37.1 37.1 37.1 20.5 0 37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1z`}}]},name:`aliwangwang`,theme:`outlined`};function OV(){return OV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OV({},e,{ref:t,icon:DV}))),AV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M959.2 383.9c-.3-82.1-66.9-148.6-149.1-148.6H575.9l21.6 85.2 201 43.7a42.58 42.58 0 0132.9 39.7c.1.5.1 216.1 0 216.6a42.58 42.58 0 01-32.9 39.7l-201 43.7-21.6 85.3h234.2c82.1 0 148.8-66.5 149.1-148.6V383.9zM225.5 660.4a42.58 42.58 0 01-32.9-39.7c-.1-.6-.1-216.1 0-216.6.8-19.4 14.6-35.5 32.9-39.7l201-43.7 21.6-85.2H213.8c-82.1 0-148.8 66.4-149.1 148.6V641c.3 82.1 67 148.6 149.1 148.6H448l-21.6-85.3-200.9-43.9zm200.9-158.8h171v21.3h-171z`}}]},name:`aliyun`,theme:`outlined`};function jV(){return jV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jV({},e,{ref:t,icon:AV}))),NV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M485 467.5c-11.6 4.9-20.9 12.2-27.8 22-6.9 9.8-10.4 21.6-10.4 35.5 0 17.8 7.5 31.5 22.4 41.2 14.1 9.1 28.9 11.4 44.4 6.8 17.9-5.2 30-17.9 36.4-38.1 3-9.3 4.5-19.7 4.5-31.3v-50.2c-12.6.4-24.4 1.6-35.5 3.7-11.1 2.1-22.4 5.6-34 10.4zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm35.8 262.7c-7.2-10.9-20.1-16.4-38.7-16.4-1.3 0-3 .1-5.3.3-2.2.2-6.6 1.5-12.9 3.7a79.4 79.4 0 00-17.9 9.1c-5.5 3.8-11.5 10-18 18.4-6.4 8.5-11.5 18.4-15.3 29.8l-94-8.4c0-12.4 2.4-24.7 7-36.9 4.7-12.2 11.8-23.9 21.4-35 9.6-11.2 21.1-21 34.5-29.4 13.4-8.5 29.6-15.2 48.4-20.3 18.9-5.1 39.1-7.6 60.9-7.6 21.3 0 40.6 2.6 57.8 7.7 17.2 5.2 31.1 11.5 41.4 19.1a117 117 0 0125.9 25.7c6.9 9.6 11.7 18.5 14.4 26.7 2.7 8.2 4 15.7 4 22.8v182.5c0 6.4 1.4 13 4.3 19.8 2.9 6.8 6.3 12.8 10.2 18 3.9 5.2 7.9 9.9 12 14.3 4.1 4.3 7.6 7.7 10.6 9.9l4.1 3.4-72.5 69.4c-8.5-7.7-16.9-15.4-25.2-23.4-8.3-8-14.5-14-18.5-18.1l-6.1-6.2c-2.4-2.3-5-5.7-8-10.2-8.1 12.2-18.5 22.8-31.1 31.8-12.7 9-26.3 15.6-40.7 19.7-14.5 4.1-29.4 6.5-44.7 7.1-15.3.6-30-1.5-43.9-6.5-13.9-5-26.5-11.7-37.6-20.3-11.1-8.6-19.9-20.2-26.5-35-6.6-14.8-9.9-31.5-9.9-50.4 0-17.4 3-33.3 8.9-47.7 6-14.5 13.6-26.5 23-36.1 9.4-9.6 20.7-18.2 34-25.7s26.4-13.4 39.2-17.7c12.8-4.2 26.6-7.8 41.5-10.7 14.9-2.9 27.6-4.8 38.2-5.7 10.6-.9 21.2-1.6 31.8-2v-39.4c0-13.5-2.3-23.5-6.7-30.1zm180.5 379.6c-2.8 3.3-7.5 7.8-14.1 13.5s-16.8 12.7-30.5 21.1c-13.7 8.4-28.8 16-45 22.9-16.3 6.9-36.3 12.9-60.1 18-23.7 5.1-48.2 7.6-73.3 7.6-25.4 0-50.7-3.2-76.1-9.6-25.4-6.4-47.6-14.3-66.8-23.7-19.1-9.4-37.6-20.2-55.1-32.2-17.6-12.1-31.7-22.9-42.4-32.5-10.6-9.6-19.6-18.7-26.8-27.1-1.7-1.9-2.8-3.6-3.2-5.1-.4-1.5-.3-2.8.3-3.7.6-.9 1.5-1.6 2.6-2.2a7.42 7.42 0 017.4.8c40.9 24.2 72.9 41.3 95.9 51.4 82.9 36.4 168 45.7 255.3 27.9 40.5-8.3 82.1-22.2 124.9-41.8 3.2-1.2 6-1.5 8.3-.9 2.3.6 3.5 2.4 3.5 5.4 0 2.8-1.6 6.3-4.8 10.2zm59.9-29c-1.8 11.1-4.9 21.6-9.1 31.8-7.2 17.1-16.3 30-27.1 38.4-3.6 2.9-6.4 3.8-8.3 2.8-1.9-1-1.9-3.5 0-7.4 4.5-9.3 9.2-21.8 14.2-37.7 5-15.8 5.7-26 2.1-30.5-1.1-1.5-2.7-2.6-5-3.6-2.2-.9-5.1-1.5-8.6-1.9s-6.7-.6-9.4-.8c-2.8-.2-6.5-.2-11.2 0-4.7.2-8 .4-10.1.6a874.4 874.4 0 01-17.1 1.5c-1.3.2-2.7.4-4.1.5-1.5.1-2.7.2-3.5.3l-2.7.3c-1 .1-1.7.2-2.2.2h-3.2l-1-.2-.6-.5-.5-.9c-1.3-3.3 3.7-7.4 15-12.4s22.3-8.1 32.9-9.3c9.8-1.5 21.3-1.5 34.5-.3s21.3 3.7 24.3 7.4c2.3 3.5 2.5 10.7.7 21.7z`}}]},name:`amazon-circle`,theme:`filled`};function PV(){return PV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PV({},e,{ref:t,icon:NV}))),IV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M825 768.9c-3.3-.9-7.3-.4-11.9 1.3-61.6 28.2-121.5 48.3-179.7 60.2C507.7 856 385.2 842.6 266 790.3c-33.1-14.6-79.1-39.2-138-74a9.36 9.36 0 00-5.3-2c-2-.1-3.7.1-5.3.9-1.6.8-2.8 1.8-3.7 3.1-.9 1.3-1.1 3.1-.4 5.4.6 2.2 2.1 4.7 4.6 7.4 10.4 12.2 23.3 25.2 38.6 39s35.6 29.4 60.9 46.8c25.3 17.4 51.8 32.9 79.3 46.4 27.6 13.5 59.6 24.9 96.1 34.1s73 13.8 109.4 13.8c36.2 0 71.4-3.7 105.5-10.9 34.2-7.3 63-15.9 86.5-25.9 23.4-9.9 45-21 64.8-33 19.8-12 34.4-22.2 43.9-30.3 9.5-8.2 16.3-14.6 20.2-19.4 4.6-5.7 6.9-10.6 6.9-14.9.1-4.5-1.7-7.1-5-7.9zM527.4 348.1c-15.2 1.3-33.5 4.1-55 8.3-21.5 4.1-41.4 9.3-59.8 15.4s-37.2 14.6-56.3 25.4c-19.2 10.8-35.5 23.2-49 37s-24.5 31.1-33.1 52c-8.6 20.8-12.9 43.7-12.9 68.7 0 27.1 4.7 51.2 14.3 72.5 9.5 21.3 22.2 38 38.2 50.4 15.9 12.4 34 22.1 54 29.2 20 7.1 41.2 10.3 63.2 9.4 22-.9 43.5-4.3 64.4-10.3 20.8-5.9 40.4-15.4 58.6-28.3 18.2-12.9 33.1-28.2 44.8-45.7 4.3 6.6 8.1 11.5 11.5 14.7l8.7 8.9c5.8 5.9 14.7 14.6 26.7 26.1 11.9 11.5 24.1 22.7 36.3 33.7l104.4-99.9-6-4.9c-4.3-3.3-9.4-8-15.2-14.3-5.8-6.2-11.6-13.1-17.2-20.5-5.7-7.4-10.6-16.1-14.7-25.9-4.1-9.8-6.2-19.3-6.2-28.5V258.7c0-10.1-1.9-21-5.7-32.8-3.9-11.7-10.7-24.5-20.7-38.3-10-13.8-22.4-26.2-37.2-37-14.9-10.8-34.7-20-59.6-27.4-24.8-7.4-52.6-11.1-83.2-11.1-31.3 0-60.4 3.7-87.6 10.9-27.1 7.3-50.3 17-69.7 29.2-19.3 12.2-35.9 26.3-49.7 42.4-13.8 16.1-24.1 32.9-30.8 50.4-6.7 17.5-10.1 35.2-10.1 53.1L408 310c5.5-16.4 12.9-30.6 22-42.8 9.2-12.2 17.9-21 25.8-26.5 8-5.5 16.6-9.9 25.7-13.2 9.2-3.3 15.4-5 18.6-5.4 3.2-.3 5.7-.4 7.6-.4 26.7 0 45.2 7.9 55.6 23.6 6.5 9.5 9.7 23.9 9.7 43.3v56.6c-15.2.6-30.4 1.6-45.6 2.9zM573.1 500c0 16.6-2.2 31.7-6.5 45-9.2 29.1-26.7 47.4-52.4 54.8-22.4 6.6-43.7 3.3-63.9-9.8-21.5-14-32.2-33.8-32.2-59.3 0-19.9 5-36.9 15-51.1 10-14.1 23.3-24.7 40-31.7s33-12 49-14.9c15.9-3 33-4.8 51-5.4V500zm335.2 218.9c-4.3-5.4-15.9-8.9-34.9-10.7-19-1.8-35.5-1.7-49.7.4-15.3 1.8-31.1 6.2-47.3 13.4-16.3 7.1-23.4 13.1-21.6 17.8l.7 1.3.9.7 1.4.2h4.6c.8 0 1.8-.1 3.2-.2 1.4-.1 2.7-.3 3.9-.4 1.2-.1 2.9-.3 5.1-.4 2.1-.1 4.1-.4 6-.7.3 0 3.7-.3 10.3-.9 6.6-.6 11.4-1 14.3-1.3 2.9-.3 7.8-.6 14.5-.9 6.7-.3 12.1-.3 16.1 0 4 .3 8.5.7 13.6 1.1 5.1.4 9.2 1.3 12.4 2.7 3.2 1.3 5.6 3 7.1 5.1 5.2 6.6 4.2 21.2-3 43.9s-14 40.8-20.4 54.2c-2.8 5.7-2.8 9.2 0 10.7s6.7.1 11.9-4c15.6-12.2 28.6-30.6 39.1-55.3 6.1-14.6 10.5-29.8 13.1-45.7 2.4-15.9 2-26.2-1.3-31z`}}]},name:`amazon`,theme:`outlined`};function LV(){return LV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LV({},e,{ref:t,icon:IV}))),zV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM547.8 326.7c-7.2-10.9-20.1-16.4-38.7-16.4-1.3 0-3 .1-5.3.3-2.2.2-6.6 1.5-12.9 3.7a79.4 79.4 0 00-17.9 9.1c-5.5 3.8-11.5 10-18 18.4-6.4 8.5-11.5 18.4-15.3 29.8l-94-8.4c0-12.4 2.4-24.7 7-36.9s11.8-23.9 21.4-35c9.6-11.2 21.1-21 34.5-29.4 13.4-8.5 29.6-15.2 48.4-20.3 18.9-5.1 39.1-7.6 60.9-7.6 21.3 0 40.6 2.6 57.8 7.7 17.2 5.2 31.1 11.5 41.4 19.1a117 117 0 0125.9 25.7c6.9 9.6 11.7 18.5 14.4 26.7 2.7 8.2 4 15.7 4 22.8v182.5c0 6.4 1.4 13 4.3 19.8 2.9 6.8 6.3 12.8 10.2 18 3.9 5.2 7.9 9.9 12 14.3 4.1 4.3 7.6 7.7 10.6 9.9l4.1 3.4-72.5 69.4c-8.5-7.7-16.9-15.4-25.2-23.4-8.3-8-14.5-14-18.5-18.1l-6.1-6.2c-2.4-2.3-5-5.7-8-10.2-8.1 12.2-18.5 22.8-31.1 31.8-12.7 9-26.3 15.6-40.7 19.7-14.5 4.1-29.4 6.5-44.7 7.1-15.3.6-30-1.5-43.9-6.5-13.9-5-26.5-11.7-37.6-20.3-11.1-8.6-19.9-20.2-26.5-35-6.6-14.8-9.9-31.5-9.9-50.4 0-17.4 3-33.3 8.9-47.7 6-14.5 13.6-26.5 23-36.1 9.4-9.6 20.7-18.2 34-25.7s26.4-13.4 39.2-17.7c12.8-4.2 26.6-7.8 41.5-10.7 14.9-2.9 27.6-4.8 38.2-5.7 10.6-.9 21.2-1.6 31.8-2v-39.4c0-13.5-2.3-23.5-6.7-30.1zm180.5 379.6c-2.8 3.3-7.5 7.8-14.1 13.5s-16.8 12.7-30.5 21.1c-13.7 8.4-28.8 16-45 22.9-16.3 6.9-36.3 12.9-60.1 18-23.7 5.1-48.2 7.6-73.3 7.6-25.4 0-50.7-3.2-76.1-9.6-25.4-6.4-47.6-14.3-66.8-23.7-19.1-9.4-37.6-20.2-55.1-32.2-17.6-12.1-31.7-22.9-42.4-32.5-10.6-9.6-19.6-18.7-26.8-27.1-1.7-1.9-2.8-3.6-3.2-5.1-.4-1.5-.3-2.8.3-3.7.6-.9 1.5-1.6 2.6-2.2a7.42 7.42 0 017.4.8c40.9 24.2 72.9 41.3 95.9 51.4 82.9 36.4 168 45.7 255.3 27.9 40.5-8.3 82.1-22.2 124.9-41.8 3.2-1.2 6-1.5 8.3-.9 2.3.6 3.5 2.4 3.5 5.4 0 2.8-1.6 6.3-4.8 10.2zm59.9-29c-1.8 11.1-4.9 21.6-9.1 31.8-7.2 17.1-16.3 30-27.1 38.4-3.6 2.9-6.4 3.8-8.3 2.8-1.9-1-1.9-3.5 0-7.4 4.5-9.3 9.2-21.8 14.2-37.7 5-15.8 5.7-26 2.1-30.5-1.1-1.5-2.7-2.6-5-3.6-2.2-.9-5.1-1.5-8.6-1.9s-6.7-.6-9.4-.8c-2.8-.2-6.5-.2-11.2 0-4.7.2-8 .4-10.1.6a874.4 874.4 0 01-17.1 1.5c-1.3.2-2.7.4-4.1.5-1.5.1-2.7.2-3.5.3l-2.7.3c-1 .1-1.7.2-2.2.2h-3.2l-1-.2-.6-.5-.5-.9c-1.3-3.3 3.7-7.4 15-12.4s22.3-8.1 32.9-9.3c9.8-1.5 21.3-1.5 34.5-.3s21.3 3.7 24.3 7.4c2.3 3.5 2.5 10.7.7 21.7zM485 467.5c-11.6 4.9-20.9 12.2-27.8 22-6.9 9.8-10.4 21.6-10.4 35.5 0 17.8 7.5 31.5 22.4 41.2 14.1 9.1 28.9 11.4 44.4 6.8 17.9-5.2 30-17.9 36.4-38.1 3-9.3 4.5-19.7 4.5-31.3v-50.2c-12.6.4-24.4 1.6-35.5 3.7-11.1 2.1-22.4 5.6-34 10.4z`}}]},name:`amazon-square`,theme:`filled`};function BV(){return BV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BV({},e,{ref:t,icon:zV}))),HV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M270.1 741.7c0 23.4 19.1 42.5 42.6 42.5h48.7v120.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V784.1h85v120.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V784.1h48.7c23.5 0 42.6-19.1 42.6-42.5V346.4h-486v395.3zm357.1-600.1l44.9-65c2.6-3.8 2-8.9-1.5-11.4-3.5-2.4-8.5-1.2-11.1 2.6l-46.6 67.6c-30.7-12.1-64.9-18.8-100.8-18.8-35.9 0-70.1 6.7-100.8 18.8l-46.6-67.5c-2.6-3.8-7.6-5.1-11.1-2.6-3.5 2.4-4.1 7.4-1.5 11.4l44.9 65c-71.4 33.2-121.4 96.1-127.8 169.6h486c-6.6-73.6-56.7-136.5-128-169.7zM409.5 244.1a26.9 26.9 0 1126.9-26.9 26.97 26.97 0 01-26.9 26.9zm208.4 0a26.9 26.9 0 1126.9-26.9 26.97 26.97 0 01-26.9 26.9zm223.4 100.7c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V400.1c.1-30.6-24.3-55.3-54.6-55.3zm-658.6 0c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V400.1c0-30.6-24.5-55.3-54.6-55.3z`}}]},name:`android`,theme:`filled`};function UV(){return UV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UV({},e,{ref:t,icon:HV}))),GV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M448.3 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32-13.4 32-31.9.1-18.4-13.4-31.9-32-31.9zm393.9 96.4c-13.8-13.8-32.7-21.5-53.2-21.5-3.9 0-7.4.4-10.7 1v-1h-3.6c-5.5-30.6-18.6-60.5-38.1-87.4-18.7-25.7-43-47.9-70.8-64.9l25.1-35.8v-3.3c0-.8.4-2.3.7-3.8.6-2.4 1.4-5.5 1.4-8.9 0-18.5-13.5-31.9-32-31.9-9.8 0-19.5 5.7-25.9 15.4l-29.3 42.1c-30-9.8-62.4-15-93.8-15-31.3 0-63.7 5.2-93.8 15L389 79.4c-6.6-9.6-16.1-15.4-26-15.4-18.6 0-32 13.4-32 31.9 0 6.2 2.5 12.8 6.7 17.4l22.6 32.3c-28.7 17-53.5 39.4-72.2 65.1-19.4 26.9-32 56.8-36.7 87.4h-5.5v1c-3.2-.6-6.7-1-10.7-1-20.3 0-39.2 7.5-53.1 21.3-13.8 13.8-21.5 32.6-21.5 53v235c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 3.9 0 7.4-.4 10.7-1v93.5c0 29.2 23.9 53.1 53.2 53.1H331v58.3c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-58.2H544v58.1c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.4 0 39.2-7.5 53.1-21.6 13.8-13.8 21.5-32.6 21.5-53v-58.2h31.9c29.3 0 53.2-23.8 53.2-53.1v-91.4c3.2.6 6.7 1 10.7 1 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-235c-.1-20.3-7.6-39-21.4-52.9zM246 609.6c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zm131.1-396.8c37.5-27.3 85.3-42.3 135-42.3s97.5 15.1 135 42.5c32.4 23.7 54.2 54.2 62.7 87.5H314.4c8.5-33.4 30.5-64 62.7-87.7zm39.3 674.7c-.6 5.6-4.4 8.7-10.5 8.7-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1zm202.3 8.7c-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1c-.6 5.6-4.3 8.7-10.5 8.7zm95.8-132.6H309.9V364h404.6v399.6zm85.2-154c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zM576.1 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32.1-13.4 32.1-32-.1-18.6-13.4-31.8-32.1-31.8z`}}]},name:`android`,theme:`outlined`};function KV(){return KV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KV({},e,{ref:t,icon:GV}))),JV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M378.9 738c-3.1 0-6.1-.5-8.8-1.5l4.4 30.7h26.3l-15.5-29.9c-2.1.5-4.2.7-6.4.7zm421-291.2c-12.6 0-24.8 1.5-36.5 4.2-21.4-38.4-62.3-64.3-109.3-64.3-6.9 0-13.6.6-20.2 1.6-35.4-77.4-113.4-131.1-203.9-131.1-112.3 0-205.3 82.6-221.6 190.4C127.3 455.5 64 523.8 64 607c0 88.4 71.6 160.1 160 160.2h50l13.2-27.6c-26.2-8.3-43.3-29-39.1-48.8 4.6-21.6 32.8-33.9 63.1-27.5 22.9 4.9 40.4 19.1 45.5 35.1a26.1 26.1 0 0122.1-12.4h.2c-.8-3.2-1.2-6.5-1.2-9.9 0-20.1 14.8-36.7 34.1-39.6v-25.4c0-4.4 3.6-8 8-8s8 3.6 8 8v26.3c4.6 1.2 8.8 3.2 12.6 5.8l19.5-21.4c3-3.3 8-3.5 11.3-.5 3.3 3 3.5 8 .5 11.3l-20 22-.2.2a40 40 0 01-46.9 59.2c-.4 5.6-2.6 10.7-6 14.8l20 38.4H804v-.1c86.5-2.2 156-73 156-160.1 0-88.5-71.7-160.2-160.1-160.2zM338.2 737.2l-4.3 30h24.4l-5.9-41.5c-3.5 4.6-8.3 8.5-14.2 11.5zM797.5 305a48 48 0 1096 0 48 48 0 10-96 0zm-65.7 61.3a24 24 0 1048 0 24 24 0 10-48 0zM303.4 742.9l-11.6 24.3h26l3.5-24.7c-5.7.8-11.7 1-17.9.4z`}}]},name:`ant-cloud`,theme:`outlined`};function YV(){return YV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YV({},e,{ref:t,icon:JV}))),ZV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M716.3 313.8c19-18.9 19-49.7 0-68.6l-69.9-69.9.1.1c-18.5-18.5-50.3-50.3-95.3-95.2-21.2-20.7-55.5-20.5-76.5.5L80.9 474.2a53.84 53.84 0 000 76.4L474.6 944a54.14 54.14 0 0076.5 0l165.1-165c19-18.9 19-49.7 0-68.6a48.7 48.7 0 00-68.7 0l-125 125.2c-5.2 5.2-13.3 5.2-18.5 0L189.5 521.4c-5.2-5.2-5.2-13.3 0-18.5l314.4-314.2c.4-.4.9-.7 1.3-1.1 5.2-4.1 12.4-3.7 17.2 1.1l125.2 125.1c19 19 49.8 19 68.7 0zM408.6 514.4a106.3 106.2 0 10212.6 0 106.3 106.2 0 10-212.6 0zm536.2-38.6L821.9 353.5c-19-18.9-49.8-18.9-68.7.1a48.4 48.4 0 000 68.6l83 82.9c5.2 5.2 5.2 13.3 0 18.5l-81.8 81.7a48.4 48.4 0 000 68.6 48.7 48.7 0 0068.7 0l121.8-121.7a53.93 53.93 0 00-.1-76.4z`}}]},name:`ant-design`,theme:`outlined`};function QV(){return QV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QV({},e,{ref:t,icon:ZV}))),eH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M908 640H804V488c0-4.4-3.6-8-8-8H548v-96h108c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h108v96H228c-4.4 0-8 3.6-8 8v152H116c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16H292v-88h440v88H620c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16zm-564 76v168H176V716h168zm84-408V140h168v168H428zm420 576H680V716h168v168z`}}]},name:`apartment`,theme:`outlined`};function tH(){return tH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tH({},e,{ref:t,icon:eH}))),rH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 68.9-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2z`}}]},name:`api`,theme:`filled`};function iH(){return iH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iH({},e,{ref:t,icon:rH}))),oH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z`}}]},name:`api`,theme:`outlined`};function sH(){return sH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sH({},e,{ref:t,icon:oH}))),lH={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M148.2 674.6zm106.7-92.3c-25 25-38.7 58.1-38.7 93.4s13.8 68.5 38.7 93.4c25 25 58.1 38.7 93.4 38.7 35.3 0 68.5-13.8 93.4-38.7l59.4-59.4-186.8-186.8-59.4 59.4zm420.8-366.1c-35.3 0-68.5 13.8-93.4 38.7l-59.4 59.4 186.8 186.8 59.4-59.4c24.9-25 38.7-58.1 38.7-93.4s-13.8-68.5-38.7-93.4c-25-25-58.1-38.7-93.4-38.7z`,fill:t}},{tag:`path`,attrs:{d:`M578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2a199.45 199.45 0 00-58.6 140.4c-.2 39.5 11.2 79.1 34.3 113.1l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7-24.9-24.9-38.7-58.1-38.7-93.4s13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4zm476-620.3l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7s68.4 13.7 93.4 38.7c24.9 24.9 38.7 58.1 38.7 93.4s-13.8 68.4-38.7 93.4z`,fill:e}}]}},name:`api`,theme:`twotone`};function uH(){return uH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uH({},e,{ref:t,icon:lH}))),fH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z`}}]},name:`apple`,theme:`filled`};function pH(){return pH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pH({},e,{ref:t,icon:fH}))),hH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-10.6 267c-14.3 19.9-28.7 35.6-41.9 45.7-10.5 8-18.6 11.4-24 11.6-9-.1-17.7-2.3-34.7-8.8-1.2-.5-2.5-1-4.2-1.6l-4.4-1.7c-17.4-6.7-27.8-10.3-41.1-13.8-18.6-4.8-37.1-7.4-56.9-7.4-20.2 0-39.2 2.5-58.1 7.2-13.9 3.5-25.6 7.4-42.7 13.8-.7.3-8.1 3.1-10.2 3.9-3.5 1.3-6.2 2.3-8.7 3.2-10.4 3.6-17 5.1-22.9 5.2-.7 0-1.3-.1-1.8-.2-1.1-.2-2.5-.6-4.1-1.3-4.5-1.8-9.9-5.1-16-9.8-14-10.9-29.4-28-45.1-49.9-27.5-38.6-53.5-89.8-66-125.7-15.4-44.8-23-87.7-23-128.6 0-60.2 17.8-106 48.4-137.1 26.3-26.6 61.7-41.5 97.8-42.3 5.9.1 14.5 1.5 25.4 4.5 8.6 2.3 18 5.4 30.7 9.9 3.8 1.4 16.9 6.1 18.5 6.7 7.7 2.8 13.5 4.8 19.2 6.6 18.2 5.8 32.3 9 47.6 9 15.5 0 28.8-3.3 47.7-9.8 7.1-2.4 32.9-12 37.5-13.6 25.6-9.1 44.5-14 60.8-15.2 4.8-.4 9.1-.4 13.2-.1 22.7 1.8 42.1 6.3 58.6 13.8-37.6 43.4-57 96.5-56.9 158.4-.3 14.7.9 31.7 5.1 51.8 6.4 30.5 18.6 60.7 37.9 89 14.7 21.5 32.9 40.9 54.7 57.8-11.5 23.7-25.6 48.2-40.4 68.8zm-94.5-572c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z`}}]},name:`apple`,theme:`outlined`};function gH(){return gH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gH({},e,{ref:t,icon:hH}))),vH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}}]},name:`appstore-add`,theme:`outlined`};function yH(){return yH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yH({},e,{ref:t,icon:vH}))),xH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zM464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16z`}}]},name:`appstore`,theme:`filled`};function SH(){return SH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SH({},e,{ref:t,icon:xH}))),wH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z`}}]},name:`appstore`,theme:`outlined`};function TH(){return TH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TH({},e,{ref:t,icon:wH}))),DH={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm52-668H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z`,fill:e}},{tag:`path`,attrs:{d:`M212 212h200v200H212zm400 0h200v200H612zM212 612h200v200H212zm400 0h200v200H612z`,fill:t}}]}},name:`appstore`,theme:`twotone`};function OH(){return OH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OH({},e,{ref:t,icon:DH}))),AH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-616-64h536c4.4 0 8-3.6 8-8V284c0-7.2-8.7-10.7-13.7-5.7L592 488.6l-125.4-124a8.03 8.03 0 00-11.3 0l-189 189.6a7.87 7.87 0 00-2.3 5.6V720c0 4.4 3.6 8 8 8z`}}]},name:`area-chart`,theme:`outlined`};function jH(){return jH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jH({},e,{ref:t,icon:AH}))),NH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z`}}]},name:`arrow-down`,theme:`outlined`};function PH(){return PH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PH({},e,{ref:t,icon:NH}))),IH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`arrow-left`,theme:`outlined`};function LH(){return LH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LH({},e,{ref:t,icon:IH}))),zH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z`}}]},name:`arrow-right`,theme:`outlined`};function BH(){return BH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BH({},e,{ref:t,icon:zH}))),HH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z`}}]},name:`arrow-up`,theme:`outlined`};function UH(){return UH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UH({},e,{ref:t,icon:HH}))),GH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z`}}]},name:`arrows-alt`,theme:`outlined`};function KH(){return KH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KH({},e,{ref:t,icon:GH}))),JH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm330-170c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1z`}}]},name:`audio`,theme:`filled`};function YH(){return YH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YH({},e,{ref:t,icon:JH}))),ZH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z`}},{tag:`path`,attrs:{d:`M833 446h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254-63 0-120.7-23-165-61l-54 54a334.01 334.01 0 00179 81v102H326c-13.9 0-24.9 14.3-25 32v36c.1 4.4 2.9 8 6 8h408c3.2 0 6-3.6 6-8v-36c0-17.7-11-32-25-32H547V782c165.3-17.9 294-157.9 294-328 0-4.4-3.6-8-8-8zm13.1-377.7l-43.5-41.9a8 8 0 00-11.2.1l-129 129C634.3 101.2 577 64 511 64c-93.9 0-170 75.3-170 168v224c0 6.7.4 13.3 1.2 19.8l-68 68A252.33 252.33 0 01258 454c-.2-4.4-3.8-8-8-8h-60c-4.4 0-8 3.6-8 8 0 53 12.5 103 34.6 147.4l-137 137a8.03 8.03 0 000 11.3l42.7 42.7c3.1 3.1 8.2 3.1 11.3 0L846.2 79.8l.1-.1c3.1-3.2 3-8.3-.2-11.4zM417 401V232c0-50.6 41.9-92 94-92 46 0 84.1 32.3 92.3 74.7L417 401z`}}]},name:`audio-muted`,theme:`outlined`};function QH(){return QH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QH({},e,{ref:t,icon:ZH}))),eU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z`}}]},name:`audio`,theme:`outlined`};function tU(){return tU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tU({},e,{ref:t,icon:eU}))),rU={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 552c54.3 0 98-43.2 98-96V232c0-52.8-43.7-96-98-96s-98 43.2-98 96v224c0 52.8 43.7 96 98 96z`,fill:t}},{tag:`path`,attrs:{d:`M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1z`,fill:e}},{tag:`path`,attrs:{d:`M512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-98-392c0-52.8 43.7-96 98-96s98 43.2 98 96v224c0 52.8-43.7 96-98 96s-98-43.2-98-96V232z`,fill:e}}]}},name:`audio`,theme:`twotone`};function iU(){return iU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iU({},e,{ref:t,icon:rU}))),oU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M296 250c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 144H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 458H208V148h560v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm440-88H728v-36.6c46.3-13.8 80-56.6 80-107.4 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 50.7 33.7 93.6 80 107.4V764H520c-8.8 0-16 7.2-16 16v152c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V780c0-8.8-7.2-16-16-16zM646 620c0-27.6 22.4-50 50-50s50 22.4 50 50-22.4 50-50 50-50-22.4-50-50zm180 266H566v-60h260v60z`}}]},name:`audit`,theme:`outlined`};function sU(){return sU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sU({},e,{ref:t,icon:oU}))),lU={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9zm320 0L518.2 498a18.6 18.6 0 00-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9z`}}]},name:`backward`,theme:`filled`};function uU(){return uU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uU({},e,{ref:t,icon:lU}))),fU={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9zm320 0L518.2 498a18.6 18.6 0 00-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9z`}}]},name:`backward`,theme:`outlined`};function pU(){return pU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pU({},e,{ref:t,icon:fU}))),hU={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M250.02 547.04c92.37-19.8 79.77-130.07 76.95-154.18-4.56-37.2-48.26-102.16-107.63-97.02-74.7 6.7-85.65 114.58-85.65 114.58-10.04 49.88 24.2 156.43 116.33 136.62m84.7 214.14c10.28 38.7 43.95 40.43 43.95 40.43H427V683.55h-51.74c-23.22 6.96-34.5 25.1-36.98 32.8-2.74 7.8-8.71 27.6-3.57 44.83m169.07-531.1c0-72.42-41.13-131.08-92.2-131.08-50.92 0-92.21 58.66-92.21 131.07 0 72.5 41.3 131.16 92.2 131.16 51.08 0 92.21-58.66 92.21-131.16m248.1 9.1c8.86-54.92-35.08-118.88-83.34-129.82-48.34-11.1-108.7 66.28-114.18 116.74-6.55 61.72 8.79 123.28 76.86 132.06 68.16 8.87 112.03-63.87 120.65-118.97m46.35 433.02s-105.47-81.53-167-169.6c-83.4-129.91-201.98-77.05-241.62-11.02-39.47 66.03-101 107.87-109.7 118.9-8.87 10.93-127.36 74.8-101.07 191.55 26.28 116.65 118.73 114.5 118.73 114.5s68.08 6.7 147.1-10.94C523.7 888.03 591.7 910 591.7 910s184.57 61.72 235.07-57.18c50.41-118.97-28.53-180.61-28.53-180.61M362.42 849.17c-51.83-10.36-72.47-45.65-75.13-51.7-2.57-6.13-17.24-34.55-9.45-82.85 22.39-72.41 86.23-77.63 86.23-77.63h63.85v-78.46l54.4.82.08 289.82zm205.38-.83c-53.56-13.75-56.05-51.78-56.05-51.78V643.95l56.05-.92v137.12c3.4 14.59 21.65 17.32 21.65 17.32h56.88V643.95h59.62v204.39zm323.84-397.72c0-26.35-21.89-105.72-103.15-105.72-81.43 0-92.29 74.9-92.29 127.84 0 50.54 4.31 121.13 105.4 118.8 101.15-2.15 90.04-114.41 90.04-140.92`}}]},name:`baidu`,theme:`outlined`};function gU(){return gU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gU({},e,{ref:t,icon:hU}))),vU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM381 836H264V462h117v374zm189 0H453V462h117v374zm190 0H642V462h118v374z`}}]},name:`bank`,theme:`filled`};function yU(){return yU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yU({},e,{ref:t,icon:vU}))),xU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM512 196.7l271.1 197.2H240.9L512 196.7zM264 462h117v374H264V462zm189 0h117v374H453V462zm307 374H642V462h118v374z`}}]},name:`bank`,theme:`outlined`};function SU(){return SU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SU({},e,{ref:t,icon:xU}))),wU={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M240.9 393.9h542.2L512 196.7z`,fill:t}},{tag:`path`,attrs:{d:`M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM381 836H264V462h117v374zm189 0H453V462h117v374zm190 0H642V462h118v374zM240.9 393.9L512 196.7l271.1 197.2H240.9z`,fill:e}}]}},name:`bank`,theme:`twotone`};function TU(){return TU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TU({},e,{ref:t,icon:wU}))),DU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-600-80h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z`}}]},name:`bar-chart`,theme:`outlined`};function OU(){return OU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OU({},e,{ref:t,icon:DU}))),AU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M120 160H72c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zm833 0h-48c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zM200 736h112c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8H200c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm321 0h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm126 0h178c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8H647c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm-255 0h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm-79 64H201c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm257 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm256 0H648c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h178c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-385 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}}]},name:`barcode`,theme:`outlined`};function jU(){return jU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jU({},e,{ref:t,icon:AU}))),NU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M420.3 470.3c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1a50.5 50.5 0 0017.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm86.5 286.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7z`}}]},name:`behance-circle`,theme:`filled`};function PU(){return PU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PU({},e,{ref:t,icon:NU}))),IU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M634 294.3h199.5v48.4H634zM434.1 485.8c44.1-21.1 67.2-53.2 67.2-102.8 0-98.1-73-121.9-157.3-121.9H112v492.4h238.5c89.4 0 173.3-43 173.3-143 0-61.8-29.2-107.5-89.7-124.7zM220.2 345.1h101.5c39.1 0 74.2 10.9 74.2 56.3 0 41.8-27.3 58.6-66 58.6H220.2V345.1zm115.5 324.8H220.1V534.3H338c47.6 0 77.7 19.9 77.7 70.3 0 49.6-35.9 65.3-80 65.3zm575.8-89.5c0-105.5-61.7-193.4-173.3-193.4-108.5 0-182.3 81.7-182.3 188.8 0 111 69.9 187.2 182.3 187.2 85.1 0 140.2-38.3 166.7-120h-86.3c-9.4 30.5-47.6 46.5-77.3 46.5-57.4 0-87.4-33.6-87.4-90.7h256.9c.3-5.9.7-12.1.7-18.4zM653.9 537c3.1-46.9 34.4-76.2 81.2-76.2 49.2 0 73.8 28.9 78.1 76.2H653.9z`}}]},name:`behance`,theme:`outlined`};function LU(){return LU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LU({},e,{ref:t,icon:IU}))),zU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM598.5 350.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7zm-248.5-10.1c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1s12.7-3.8 17.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8z`}}]},name:`behance-square`,theme:`filled`};function BU(){return BU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BU({},e,{ref:t,icon:zU}))),HU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM598.5 350.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7zm-248.5-10.1c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1s12.7-3.8 17.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8z`}}]},name:`behance-square`,theme:`outlined`};function UU(){return UU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UU({},e,{ref:t,icon:HU}))),GU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M816 768h-24V428c0-141.1-104.3-257.8-240-277.2V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.8C336.3 170.2 232 286.9 232 428v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48z`}}]},name:`bell`,theme:`filled`};function KU(){return KU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KU({},e,{ref:t,icon:GU}))),JU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z`}}]},name:`bell`,theme:`outlined`};function YU(){return YU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YU({},e,{ref:t,icon:JU}))),ZU={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 220c-55.6 0-107.8 21.6-147.1 60.9S304 372.4 304 428v340h416V428c0-55.6-21.6-107.8-60.9-147.1S567.6 220 512 220zm280 208c0-141.1-104.3-257.8-240-277.2v.1c135.7 19.4 240 136 240 277.1zM472 150.9v-.1C336.3 170.2 232 286.9 232 428c0-141.1 104.3-257.7 240-277.1z`,fill:t}},{tag:`path`,attrs:{d:`M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zm208-120H304V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340z`,fill:e}}]}},name:`bell`,theme:`twotone`};function QU(){return QU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QU({},e,{ref:t,icon:ZU}))),eW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M766.4 744.3c43.7 0 79.4-36.2 79.4-80.5 0-53.5-79.4-140.8-79.4-140.8S687 610.3 687 663.8c0 44.3 35.7 80.5 79.4 80.5zm-377.1-44.1c7.1 7.1 18.6 7.1 25.6 0l256.1-256c7.1-7.1 7.1-18.6 0-25.6l-256-256c-.6-.6-1.3-1.2-2-1.7l-78.2-78.2a9.11 9.11 0 00-12.8 0l-48 48a9.11 9.11 0 000 12.8l67.2 67.2-207.8 207.9c-7.1 7.1-7.1 18.6 0 25.6l255.9 256zm12.9-448.6l178.9 178.9H223.4l178.8-178.9zM904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z`}}]},name:`bg-colors`,theme:`outlined`};function tW(){return tW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tW({},e,{ref:t,icon:eW}))),rW={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M310.13 596.45c-8-4.46-16.5-8.43-25-11.9a273.55 273.55 0 00-26.99-7.44c-2.5-.99-2.5 1-2.5 1.49 0 7.93.5 18.84 1.5 27.77 1 7.44 2 15.37 4 22.8 0 .5 0 1 .5 1.5 1 .99 2 1.48 3 .49 8-4.46 16-8.43 23-13.39 7.5-5.45 15.5-11.9 22-18.35 1.5-1.48 0-2.47.5-2.97m323.95-11.9a273.55 273.55 0 00-27-7.44c-2.5-.99-2.5 1-2.5 1.49 0 7.93.5 18.84 1.5 27.77 1 7.43 2 15.37 4 22.8 0 .5 0 1 .5 1.5 1 .99 2 1.48 3 .49 8-4.46 16-8.43 23-13.39 7.5-5.45 15.5-11.9 22-18.35 2-1.48.5-2.47.5-2.97-7.5-4.46-16.5-8.43-25-11.9`}},{tag:`path`,attrs:{d:`M741.5 112H283c-94.5 0-171 76.5-171 171.5v458c.5 94 77 170.5 171 170.5h458c94.5 0 171-76.5 171-170.5v-458c.5-95-76-171.5-170.5-171.5m95 343.5H852v48h-15.5zM741 454l2 43-13.5 1.5-5-44.5zm-23.5 0l4 45.5L707 501l-6.5-47.5h17zM487 455.5h15v48h-15zm-96-1.5l2 43-13.5 1.5-5-44.5zm-23.5 0l4 45.5-14.5 2-6-47.5zM364 603c-20.5 65.5-148 59.5-159.5 57.5-9-161.5-23-196.5-34.5-275.5l54.5-22.5c1 71.5 9 185 9 185s108.5-15.5 132 47c.5 3 0 6-1.5 8.5m20.5 35.5l-23.5-124h35.5l13 123zm44.5-8l-27-235 33.5-1.5 21 236H429zm34-175h17.5v48H467zm41 190h-26.5l-9.5-126h36zm210-43C693.5 668 566 662 554.5 660c-9-161-23-196-34.5-275l54.5-22.5c1 71.5 9 185 9 185S692 532 715.5 594c.5 3 0 6-1.5 8.5m19.5 36l-23-124H746l13 123zm45.5-8l-27.5-235L785 394l21 236h-27zm33.5-175H830v48h-13zm41 190H827l-9.5-126h36z`}}]},name:`bilibili`,theme:`filled`};function iW(){return iW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iW({},e,{ref:t,icon:rW}))),oW={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M235.52 616.57c16.73-.74 32.28-1.77 47.69-2.07 66.8-1.18 132.4 6.81 194.76 32 30.5 12.3 59.98 26.52 86.5 46.51 21.76 16.45 26.5 36.9 16.58 67.11-6.22 18.67-18.66 32.74-34.36 45.04-37.03 28.88-75.83 54.96-120.41 69.62A595.87 595.87 0 01330 898.04c-42.8 6.67-86.2 9.63-129.45 13.63-8.88.89-17.92-.3-26.8-.3-4.6 0-5.78-2.37-5.93-6.37-1.18-19.7-2.07-39.55-3.85-59.25a2609.47 2609.47 0 00-7.7-76.3c-4-35.4-8.44-70.66-12.89-105.92-4.59-37.18-9.33-74.21-13.77-111.4-4.44-36.3-8.44-72.73-13.18-109.03-5.34-41.48-11.26-82.96-16.89-124.44-6.66-49.03-15.85-97.62-28.43-145.47-.6-2.07 1.18-6.67 2.96-7.26 41.91-16.89 83.98-33.33 125.89-50.07 13.92-5.63 15.1-7.26 15.25 10.37.15 75.1.45 150.21 1.63 225.32.6 39.11 2.08 78.22 4.74 117.18 3.26 47.55 8.3 95.1 12.6 142.66 0 2.07.88 4 1.33 5.19m83.68 218.06a74372.3 74372.3 0 00114.78-86.96c-4.74-6.82-109.3-47.85-133.89-53.33 6.22 46.37 12.59 92.59 19.1 140.29m434.13-14.39c-19.94-202.14-36.78-406.5-75.32-609.67 12.55-1.48 25.1-3.25 37.8-4.3 14.63-1.32 29.4-1.92 44.01-3.1 12.26-1.04 16.84 2.22 17.58 14.22 2.21 32.13 4.13 64.26 6.35 96.4 2.95 43.39 6.05 86.92 9.15 130.31 2.22 31.25 4.14 62.64 6.65 93.89 2.8 34.2 5.9 68.27 9 102.47 2.22 25.18 4.3 50.5 6.8 75.68 2.66 27.24 5.61 54.49 8.42 81.74.74 7.85 1.62 15.7 2.21 23.54.3 4.3-2.06 4.89-6.05 4.45-21.7-2.23-43.42-3.85-66.6-5.63M572 527.15c17.62-2.51 34.64-5.32 51.66-7.25 12.29-1.48 24.72-1.63 37.01-2.81 6.66-.6 10.95 1.77 11.99 8.29 2.81 17.32 5.77 34.79 7.85 52.26 3.4 29.02 6.07 58.18 9.17 87.2 2.67 25.46 5.33 50.78 8.3 76.24 3.25 27.24 6.8 54.33 10.2 81.42 1.04 8 1.78 16.14 2.82 24.88a9507.1 9507.1 0 00-74.76 9.62C614.93 747.15 593.61 638.19 572 527.15m382 338.83c-24.08 0-47.28.14-70.47-.3-1.93 0-5.35-3.4-5.5-5.48-3.57-37.05-6.69-73.96-9.96-111l-9.37-103.16c-3.27-35.42-6.39-70.84-9.66-106.26-.15-2.07-.6-4-1.04-7.11 8.62-1.04 16.8-2.67 25.12-2.67 22.45 0 44.9.6 67.5 1.19 5.8.14 8.32 4 8.62 9.33.75 11.12 1.79 22.08 1.79 33.2.14 52.17-.15 104.48.3 156.65.44 41.65 1.78 83.44 2.67 125.08zM622.07 480c-5.3-42.57-10.62-84.1-16.07-127.4 13.86-.16 27.71-.6 41.42-.6 4.57 0 6.64 2.51 7.08 7.54 3.69 38.72 7.52 77.45 11.5 117.65-14.3.74-29.04 1.78-43.93 2.81M901 364.07c11.94 0 24.62-.15 37.45 0 6.42.14 9.55 2.67 9.55 10.24-.45 36.22-.15 72.45-.15 108.53V491c-15.37-.74-30.14-1.49-46.7-2.23-.15-41.12-.15-82.4-.15-124.7M568.57 489c-7.43-41.2-15-82.1-22.57-124.02 13.51-2.07 27.02-4.29 40.39-5.9 5.94-.75 4.9 4.42 5.2 7.67 1.63 13.88 2.81 27.6 4.3 41.49 2.37 21.7 4.75 43.4 6.98 64.96.3 2.8 0 5.76 0 8.86-11.29 2.36-22.57 4.58-34.3 6.94M839 365.16c12.72 0 25.43.15 38-.15 5.69-.15 7.78 1.04 7.63 7.56-.44 17.36.15 34.7.3 52.2.15 21.51 0 43.17 0 64.52-12.86 1.34-24.09 2.37-36.2 3.71-3.15-41.97-6.44-83.8-9.73-127.84`}}]},name:`bilibili`,theme:`outlined`};function sW(){return sW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sW({},e,{ref:t,icon:oW}))),lW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M856 376H648V168c0-8.8-7.2-16-16-16H168c-8.8 0-16 7.2-16 16v464c0 8.8 7.2 16 16 16h208v208c0 8.8 7.2 16 16 16h464c8.8 0 16-7.2 16-16V392c0-8.8-7.2-16-16-16zm-480 16v188H220V220h360v156H392c-8.8 0-16 7.2-16 16zm204 52v136H444V444h136zm224 360H444V648h188c8.8 0 16-7.2 16-16V444h156v360z`}}]},name:`block`,theme:`outlined`};function uW(){return uW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uW({},e,{ref:t,icon:lW}))),fW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M697.8 481.4c33.6-35 54.2-82.3 54.2-134.3v-10.2C752 229.3 663.9 142 555.3 142H259.4c-15.1 0-27.4 12.3-27.4 27.4v679.1c0 16.3 13.2 29.5 29.5 29.5h318.7c117 0 211.8-94.2 211.8-210.5v-11c0-73-37.4-137.3-94.2-175.1zM328 238h224.7c57.1 0 103.3 44.4 103.3 99.3v9.5c0 54.8-46.3 99.3-103.3 99.3H328V238zm366.6 429.4c0 62.9-51.7 113.9-115.5 113.9H328V542.7h251.1c63.8 0 115.5 51 115.5 113.9v10.8z`}}]},name:`bold`,theme:`outlined`};function pW(){return pW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pW({},e,{ref:t,icon:fW}))),hW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM668 345.9L621.5 312 572 347.4V124h96v221.9z`}}]},name:`book`,theme:`filled`};function gW(){return gW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gW({},e,{ref:t,icon:hW}))),vW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z`}}]},name:`book`,theme:`outlined`};function yW(){return yW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yW({},e,{ref:t,icon:vW}))),xW={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zM232 888V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752H232z`,fill:e}},{tag:`path`,attrs:{d:`M668 345.9V136h-96v211.4l49.5-35.4z`,fill:t}},{tag:`path`,attrs:{d:`M727.9 136v296.5c0 8.8-7.2 16-16 16-3.4 0-6.7-1.1-9.4-3.1L621.1 386l-83.8 59.9a15.9 15.9 0 01-22.3-3.7c-2-2.7-3-6-3-9.3V136H232v752h559.9V136h-64z`,fill:t}}]}},name:`book`,theme:`twotone`};function SW(){return SW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SW({},e,{ref:t,icon:xW}))),wW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 808H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-720-94h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-498h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-166h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm166 166h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm222-72h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388-404h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388 426h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388-404h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z`}}]},name:`border-bottom`,theme:`outlined`};function TW(){return TW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TW({},e,{ref:t,icon:wW}))),DW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M540 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm664 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`border-horizontal`,theme:`outlined`};function OW(){return OW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OW({},e,{ref:t,icon:DW}))),AW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 476H548V144h-72v332H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v332h72V548h324c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-664h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM650 216h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-592h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-166 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-426h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 260h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`border-inner`,theme:`outlined`};function jW(){return jW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jW({},e,{ref:t,icon:AW}))),NW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M208 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM540 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`border-left`,theme:`outlined`};function PW(){return PW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PW({},e,{ref:t,icon:NW}))),IW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM484 366h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM302 548h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm364 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-182 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 182h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z`}}]},name:`border-outer`,theme:`outlined`};function LW(){return LW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LW({},e,{ref:t,icon:IW}))),zW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`border`,theme:`outlined`};function BW(){return BW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BW({},e,{ref:t,icon:zW}))),HW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`border-right`,theme:`outlined`};function UW(){return UW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UW({},e,{ref:t,icon:HW}))),GW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 144H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332-498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`border-top`,theme:`outlined`};function KW(){return KW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KW({},e,{ref:t,icon:GW}))),JW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 476H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-664h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM650 216h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-592h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-166 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM208 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM152 382h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM208 642h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`border-verticle`,theme:`outlined`};function YW(){return YW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YW({},e,{ref:t,icon:JW}))),ZW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M117 368h231v64H117zm559 0h241v64H676zm-264 0h200v64H412zm0 224h200v64H412zm264 0h241v64H676zm-559 0h231v64H117zm295-160V179h-64v666h64V592zm264-64V179h-64v666h64V432z`}}]},name:`borderless-table`,theme:`outlined`};function QW(){return QW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QW({},e,{ref:t,icon:ZW}))),eG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H448v432h344c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-728 80v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h152V296H232c-4.4 0-8 3.6-8 8z`}}]},name:`box-plot`,theme:`filled`};function tG(){return tG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tG({},e,{ref:t,icon:eG}))),rG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H232c-4.4 0-8 3.6-8 8v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h560c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zM296 368h88v288h-88V368zm432 288H448V368h280v288z`}}]},name:`box-plot`,theme:`outlined`};function iG(){return iG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iG({},e,{ref:t,icon:rG}))),oG={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M296 368h88v288h-88zm152 0h280v288H448z`,fill:t}},{tag:`path`,attrs:{d:`M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H232c-4.4 0-8 3.6-8 8v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h560c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zM384 656h-88V368h88v288zm344 0H448V368h280v288z`,fill:e}}]}},name:`box-plot`,theme:`twotone`};function sG(){return sG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sG({},e,{ref:t,icon:oG}))),lG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`branches`,theme:`outlined`};function uG(){return uG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uG({},e,{ref:t,icon:lG}))),fG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M304 280h416c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 00-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 00-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z`}},{tag:`path`,attrs:{d:`M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 01-63 63H232a63 63 0 01-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0022.7 49c24.3 41.5 59 76.2 100.5 100.5 28.9 16.9 61 28.8 95.3 34.5 4.4 0 8-3.6 8-8V484c0-4.4 3.6-8 8-8h60c4.4 0 8 3.6 8 8v464.2c0 4.4 3.6 8 8 8 34.3-5.7 66.4-17.6 95.3-34.5a281.38 281.38 0 00123.2-149.5A120.4 120.4 0 01836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`bug`,theme:`filled`};function pG(){return pG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pG({},e,{ref:t,icon:fG}))),hG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M304 280h56c4.4 0 8-3.6 8-8 0-28.3 5.9-53.2 17.1-73.5 10.6-19.4 26-34.8 45.4-45.4C450.9 142 475.7 136 504 136h16c28.3 0 53.2 5.9 73.5 17.1 19.4 10.6 34.8 26 45.4 45.4C650 218.9 656 243.7 656 272c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 00-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 00-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z`}},{tag:`path`,attrs:{d:`M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 01-63 63H232a63 63 0 01-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0022.7 49c24.3 41.5 59 76.2 100.5 100.5S460.5 960 512 960s99.8-13.9 141.3-38.2a281.38 281.38 0 00123.2-149.5A120 120 0 01836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM716 680c0 36.8-9.7 72-27.8 102.9-17.7 30.3-43 55.6-73.3 73.3C584 874.3 548.8 884 512 884s-72-9.7-102.9-27.8c-30.3-17.7-55.6-43-73.3-73.3A202.75 202.75 0 01308 680V412h408v268z`}}]},name:`bug`,theme:`outlined`};function gG(){return gG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gG({},e,{ref:t,icon:hG}))),vG={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308zm484 172v96c0 6.5-.22 12.95-.66 19.35C859.94 728.64 908 796.7 908 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-44.24-23.94-82.89-59.57-103.7a278.63 278.63 0 01-22.66 49.02 281.39 281.39 0 01-100.45 100.45C611.84 946.07 563.55 960 512 960s-99.84-13.93-141.32-38.23a281.39 281.39 0 01-100.45-100.45 278.63 278.63 0 01-22.66-49.02A119.95 119.95 0 00188 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-79.3 48.07-147.36 116.66-176.65A284.12 284.12 0 01232 680v-96H84a8 8 0 01-8-8v-56a8 8 0 018-8h148V412c-76.77 0-139-62.23-139-139a8 8 0 018-8h60a8 8 0 018 8 63 63 0 0063 63h560a63 63 0 0063-63 8 8 0 018-8h60a8 8 0 018 8c0 76.77-62.23 139-139 139v100h148a8 8 0 018 8v56a8 8 0 01-8 8H792zM368 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-40.04 8.78-76.75 25.9-108.07a184.57 184.57 0 0174.03-74.03C427.25 72.78 463.96 64 504 64h16c40.04 0 76.75 8.78 108.07 25.9a184.57 184.57 0 0174.03 74.03C719.22 195.25 728 231.96 728 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-28.33-5.94-53.15-17.08-73.53a112.56 112.56 0 00-45.39-45.4C573.15 141.95 548.33 136 520 136h-16c-28.33 0-53.15 5.94-73.53 17.08a112.56 112.56 0 00-45.4 45.39C373.95 218.85 368 243.67 368 272z`,fill:e}},{tag:`path`,attrs:{d:`M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308z`,fill:t}}]}},name:`bug`,theme:`twotone`};function yG(){return yG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yG({},e,{ref:t,icon:vG}))),xG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zM612 746H412V546h200v200zm268-268H680V278h200v200z`}}]},name:`build`,theme:`filled`};function SG(){return SG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SG({},e,{ref:t,icon:xG}))),wG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zm-504 68h200v200H412V278zm-68 468H144V546h200v200zm268 0H412V546h200v200zm268-268H680V278h200v200z`}}]},name:`build`,theme:`outlined`};function TG(){return TG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TG({},e,{ref:t,icon:wG}))),DG={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M144 546h200v200H144zm268-268h200v200H412z`,fill:t}},{tag:`path`,attrs:{d:`M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zM344 746H144V546h200v200zm268 0H412V546h200v200zm0-268H412V278h200v200zm268 0H680V278h200v200z`,fill:e}}]}},name:`build`,theme:`twotone`};function OG(){return OG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OG({},e,{ref:t,icon:DG}))),AG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M348 676.1C250 619.4 184 513.4 184 392c0-181.1 146.9-328 328-328s328 146.9 328 328c0 121.4-66 227.4-164 284.1V792c0 17.7-14.3 32-32 32H380c-17.7 0-32-14.3-32-32V676.1zM392 888h240c4.4 0 8 3.6 8 8v32c0 17.7-14.3 32-32 32H416c-17.7 0-32-14.3-32-32v-32c0-4.4 3.6-8 8-8z`}}]},name:`bulb`,theme:`filled`};function jG(){return jG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jG({},e,{ref:t,icon:AG}))),NG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z`}}]},name:`bulb`,theme:`outlined`};function PG(){return PG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PG({},e,{ref:t,icon:NG}))),IG={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 136c-141.4 0-256 114.6-256 256 0 92.5 49.4 176.3 128.1 221.8l35.9 20.8V752h184V634.6l35.9-20.8C718.6 568.3 768 484.5 768 392c0-141.4-114.6-256-256-256z`,fill:t}},{tag:`path`,attrs:{d:`M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z`,fill:e}}]}},name:`bulb`,theme:`twotone`};function LG(){return LG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LG({},e,{ref:t,icon:IG}))),zG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM440.2 765h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 01-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zm7.8-382c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48zm328 369c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-104c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-265c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48z`}}]},name:`calculator`,theme:`filled`};function BG(){return BG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BG({},e,{ref:t,icon:zG}))),HG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M251.2 387H320v68.8c0 1.8 1.8 3.2 4 3.2h48c2.2 0 4-1.4 4-3.3V387h68.8c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H376v-68.8c0-1.8-1.8-3.2-4-3.2h-48c-2.2 0-4 1.4-4 3.2V331h-68.8c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm328 0h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 265h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 104h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm-195.7-81l61.2-74.9c4.3-5.2.7-13.1-5.9-13.1H388c-2.3 0-4.5 1-5.9 2.9l-34 41.6-34-41.6a7.85 7.85 0 00-5.9-2.9h-50.9c-6.6 0-10.2 7.9-5.9 13.1l61.2 74.9-62.7 76.8c-4.4 5.2-.8 13.1 5.8 13.1h50.8c2.3 0 4.5-1 5.9-2.9l35.5-43.5 35.5 43.5c1.5 1.8 3.7 2.9 5.9 2.9h50.8c6.6 0 10.2-7.9 5.9-13.1L383.5 675zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-36 732H180V180h664v664z`}}]},name:`calculator`,theme:`outlined`};function UG(){return UG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UG({},e,{ref:t,icon:HG}))),GG={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm256.2-75h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 01-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zM576 335c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zm0 265c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zm0 104c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zM248 335c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48z`,fill:t}},{tag:`path`,attrs:{d:`M383.5 675l61.3-74.8c4.3-5.2.7-13.1-5.9-13.1h-50.8c-2.3 0-4.4 1-5.9 2.9l-34 41.6-34-41.6a7.69 7.69 0 00-5.9-2.9h-50.9c-6.6 0-10.2 7.9-5.9 13.1l61.2 74.9-62.7 76.8c-4.4 5.2-.8 13.1 5.8 13.1h50.8c2.3 0 4.4-1 5.9-2.9l35.5-43.5 35.5 43.5c1.4 1.8 3.7 2.9 5.9 2.9h50.8c6.6 0 10.2-7.9 6-13.2L383.5 675zM251.2 387H320v68.8c0 1.8 1.8 3.2 4 3.2h48c2.2 0 4-1.4 4-3.3V387h68.8c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H376v-68.8c0-1.8-1.8-3.2-4-3.2h-48c-2.2 0-4 1.4-4 3.2V331h-68.8c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm328 369h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0-104h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0-265h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4z`,fill:e}}]}},name:`calculator`,theme:`twotone`};function KG(){return KG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KG({},e,{ref:t,icon:GG}))),JG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M112 880c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V460H112v420zm768-696H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v176h800V216c0-17.7-14.3-32-32-32z`}}]},name:`calendar`,theme:`filled`};function YG(){return YG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YG({},e,{ref:t,icon:JG}))),ZG={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v136h656V256H712v48z`,fill:t}},{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zm0-448H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136z`,fill:e}}]}},name:`calendar`,theme:`twotone`};function QG(){return QG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QG({},e,{ref:t,icon:ZG}))),eK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 260H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 260H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V340c0-44.2-35.8-80-80-80zM512 716c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160zm-96-160a96 96 0 10192 0 96 96 0 10-192 0z`}}]},name:`camera`,theme:`filled`};function tK(){return tK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tK({},e,{ref:t,icon:eK}))),rK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456zM512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z`}}]},name:`camera`,theme:`outlined`};function iK(){return iK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iK({},e,{ref:t,icon:rK}))),oK={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 320H677.2l-17.1-47.8-22.9-64.2H386.7l-22.9 64.2-17.1 47.8H160c-4.4 0-8 3.6-8 8v456c0 4.4 3.6 8 8 8h704c4.4 0 8-3.6 8-8V328c0-4.4-3.6-8-8-8zM512 704c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160z`,fill:t}},{tag:`path`,attrs:{d:`M512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z`,fill:e}},{tag:`path`,attrs:{d:`M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456z`,fill:e}}]}},name:`camera`,theme:`twotone`};function sK(){return sK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sK({},e,{ref:t,icon:oK}))),lK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M959 413.4L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM264 621c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm388 75c0 4.4-3.6 8-8 8H380c-4.4 0-8-3.6-8-8v-84c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v36h168v-36c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v84zm108-75c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zM220 418l72.7-199.9.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220z`}}]},name:`car`,theme:`filled`};function uK(){return uK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uK({},e,{ref:t,icon:lK}))),fK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M380 704h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8zm340-123a40 40 0 1080 0 40 40 0 10-80 0zm239-167.6L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM840 517v237H184V517l15.6-43h624.8l15.6 43zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM224 581a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`car`,theme:`outlined`};function pK(){return pK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pK({},e,{ref:t,icon:fK}))),hK={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M199.6 474L184 517v237h656V517l-15.6-43H199.6zM264 621c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm388 75c0 4.4-3.6 8-8 8H380c-4.4 0-8-3.6-8-8v-84c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v36h168v-36c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v84zm108-75c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z`,fill:t}},{tag:`path`,attrs:{d:`M720 581a40 40 0 1080 0 40 40 0 10-80 0z`,fill:e}},{tag:`path`,attrs:{d:`M959 413.4L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM840 754H184V517l15.6-43h624.8l15.6 43v237z`,fill:e}},{tag:`path`,attrs:{d:`M224 581a40 40 0 1080 0 40 40 0 10-80 0zm420 23h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`car`,theme:`twotone`};function gK(){return gK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gK({},e,{ref:t,icon:hK}))),vK={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z`}}]},name:`caret-left`,theme:`filled`};function yK(){return yK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yK({},e,{ref:t,icon:vK}))),xK={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z`}}]},name:`caret-left`,theme:`outlined`};function SK(){return SK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SK({},e,{ref:t,icon:xK}))),wK={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z`}}]},name:`caret-right`,theme:`filled`};function TK(){return TK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TK({},e,{ref:t,icon:wK}))),DK={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z`}}]},name:`caret-right`,theme:`outlined`};function OK(){return OK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OK({},e,{ref:t,icon:DK}))),AK={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z`}}]},name:`caret-up`,theme:`filled`};function jK(){return jK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jK({},e,{ref:t,icon:AK}))),NK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM694.5 432.7L481.9 725.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.1 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.8-6.6 13-6.6H688c6.5.1 10.3 7.5 6.5 12.8z`}}]},name:`carry-out`,theme:`filled`};function PK(){return PK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PK({},e,{ref:t,icon:NK}))),IK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM688 420h-55.2c-5.1 0-10 2.5-13 6.6L468.9 634.4l-64.7-89c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.4 0-12.8-6.5-12.8z`}}]},name:`carry-out`,theme:`outlined`};function LK(){return LK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LK({},e,{ref:t,icon:IK}))),zK={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584z`,fill:e}},{tag:`path`,attrs:{d:`M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v584h656V256H712v48zm-17.5 128.8L481.9 725.5a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.2 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.9-6.6 13-6.6H688c6.5 0 10.3 7.4 6.5 12.8z`,fill:t}},{tag:`path`,attrs:{d:`M688 420h-55.2c-5.1 0-10 2.5-13 6.6L468.9 634.4l-64.7-89c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.4 0-12.8-6.5-12.8z`,fill:e}}]}},name:`carry-out`,theme:`twotone`};function BK(){return BK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BK({},e,{ref:t,icon:zK}))),HK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`check-circle`,theme:`outlined`};function UK(){return UK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UK({},e,{ref:t,icon:HK}))),GK={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z`,fill:t}},{tag:`path`,attrs:{d:`M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z`,fill:e}}]}},name:`check-circle`,theme:`twotone`};function KK(){return KK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KK({},e,{ref:t,icon:GK}))),JK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM695.5 365.7l-210.6 292a31.8 31.8 0 01-51.7 0L308.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H689c6.5 0 10.3 7.4 6.5 12.7z`}}]},name:`check-square`,theme:`filled`};function YK(){return YK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YK({},e,{ref:t,icon:JK}))),ZK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M433.1 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7H642c-10.2 0-19.9 4.9-25.9 13.3L459 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H315c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`check-square`,theme:`outlined`};function QK(){return QK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QK({},e,{ref:t,icon:ZK}))),eq={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm130-367.8h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H688c6.5 0 10.3 7.4 6.5 12.7l-210.6 292a31.8 31.8 0 01-51.7 0L307.5 484.9c-3.8-5.3 0-12.7 6.5-12.7z`,fill:t}},{tag:`path`,attrs:{d:`M432.2 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7h-46.9c-10.3 0-19.9 5-25.9 13.3L458 584.3l-71.2-98.8c-6-8.4-15.7-13.3-25.9-13.3H314c-6.5 0-10.3 7.4-6.5 12.7l124.7 172.8z`,fill:e}}]}},name:`check-square`,theme:`twotone`};function tq(){return tq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tq({},e,{ref:t,icon:eq}))),rq={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M371.8 512c0 77.5 62.7 140.2 140.2 140.2S652.2 589.5 652.2 512 589.5 371.8 512 371.8 371.8 434.4 371.8 512zM900 362.4l-234.3 12.1c63.6 74.3 64.6 181.5 11.1 263.7l-188 289.2c78 4.2 158.4-12.9 231.2-55.2 180-104 253-322.1 180-509.8zM320.3 591.9L163.8 284.1A415.35 415.35 0 0096 512c0 208 152.3 380.3 351.4 410.8l106.9-209.4c-96.6 18.2-189.9-34.8-234-121.5zm218.5-285.5l344.4 18.1C848 254.7 792.6 194 719.8 151.7 653.9 113.6 581.5 95.5 510.5 96c-122.5.5-242.2 55.2-322.1 154.5l128.2 196.9c32-91.9 124.8-146.7 222.2-141z`}}]},name:`chrome`,theme:`filled`};function iq(){return iq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iq({},e,{ref:t,icon:rq}))),Zge={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 512.3v-.3c0-229.8-186.2-416-416-416S96 282.2 96 512v.4c0 229.8 186.2 416 416 416s416-186.2 416-416v-.3.2zm-6.7-74.6l.6 3.3-.6-3.3zM676.7 638.2c53.5-82.2 52.5-189.4-11.1-263.7l162.4-8.4c20.5 44.4 32 93.8 32 145.9 0 185.2-144.6 336.6-327.1 347.4l143.8-221.2zM512 652.3c-77.5 0-140.2-62.7-140.2-140.2 0-77.7 62.7-140.2 140.2-140.2S652.2 434.5 652.2 512 589.5 652.3 512 652.3zm369.2-331.7l-3-5.7 3 5.7zM512 164c121.3 0 228.2 62.1 290.4 156.2l-263.6-13.9c-97.5-5.7-190.2 49.2-222.3 141.1L227.8 311c63.1-88.9 166.9-147 284.2-147zM102.5 585.8c26 145 127.1 264 261.6 315.1C229.6 850 128.5 731 102.5 585.8zM164 512c0-55.9 13.2-108.7 36.6-155.5l119.7 235.4c44.1 86.7 137.4 139.7 234 121.6l-74 145.1C302.9 842.5 164 693.5 164 512zm324.7 415.4c4 .2 8 .4 12 .5-4-.2-8-.3-12-.5z`}}]},name:`chrome`,theme:`outlined`};function oq(){return oq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,oq({},e,{ref:t,icon:Zge}))),$ge={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-63.6 656c-103 0-162.4-68.6-162.4-182.6v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-4-46.1-37.6-77.6-87-77.6-61.1 0-95.6 45.4-95.6 126.9v49.3c0 80.3 34.5 125.1 95.6 125.1 49.3 0 82.8-29.5 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z`}}]},name:`ci-circle`,theme:`filled`};function sq(){return sq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sq({},e,{ref:t,icon:$ge}))),t_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm218-572.1h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z`}}]},name:`ci-circle`,theme:`outlined`};function cq(){return cq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,cq({},e,{ref:t,icon:t_e}))),r_e={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-63.5 522.8c49.3 0 82.8-29.4 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5C345.4 720 286 651.4 286 537.4v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-3.9-46.1-37.5-77.6-87-77.6-61.1 0-95.6 45.4-95.7 126.8v49.3c0 80.3 34.5 125.2 95.6 125.2zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z`,fill:t}},{tag:`path`,attrs:{d:`M730 311.9h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z`,fill:e}}]}},name:`ci-circle`,theme:`twotone`};function lq(){return lq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,lq({},e,{ref:t,icon:r_e}))),a_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm218-572.1h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z`}}]},name:`ci`,theme:`outlined`};function uq(){return uq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uq({},e,{ref:t,icon:a_e}))),s_e={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-63.5 522.8c49.3 0 82.8-29.4 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5C345.4 720 286 651.4 286 537.4v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-3.9-46.1-37.5-77.6-87-77.6-61.1 0-95.6 45.4-95.7 126.8v49.3c0 80.3 34.5 125.2 95.6 125.2zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z`,fill:t}},{tag:`path`,attrs:{d:`M730 311.9h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z`,fill:e}}]}},name:`ci`,theme:`twotone`};function dq(){return dq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,dq({},e,{ref:t,icon:s_e}))),l_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z`}}]},name:`clear`,theme:`outlined`};function fq(){return fq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,fq({},e,{ref:t,icon:l_e}))),d_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm176.5 585.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z`}}]},name:`clock-circle`,theme:`filled`};function pq(){return pq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pq({},e,{ref:t,icon:d_e}))),p_e={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm176.5 509.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z`,fill:t}},{tag:`path`,attrs:{d:`M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.6-3.6 1.8-8.6-1.8-11.1z`,fill:e}}]}},name:`clock-circle`,theme:`twotone`};function mq(){return mq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,mq({},e,{ref:t,icon:p_e}))),h_e={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z`}}]},name:`close-circle`,theme:`outlined`};function hq(){return hq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,hq({},e,{ref:t,icon:h_e}))),g_e={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm171.8 527.1c1.2 1.5 1.9 3.3 1.9 5.2 0 4.5-3.6 8-8 8l-66-.3-99.3-118.4-99.3 118.5-66.1.3c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2L471 512.3l-130.1-155a8.32 8.32 0 01-1.9-5.2c0-4.5 3.6-8 8-8l66.1.3 99.3 118.4 99.4-118.5 66-.3c4.4 0 8 3.6 8 8 0 1.9-.6 3.8-1.8 5.2l-130.1 155 129.9 154.9z`,fill:t}},{tag:`path`,attrs:{d:`M685.8 352c0-4.4-3.6-8-8-8l-66 .3-99.4 118.5-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155-130.1 154.9a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3 99.3-118.5L611.7 680l66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.9 512.2l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z`,fill:e}}]}},name:`close-circle`,theme:`twotone`};function _q(){return _q=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_q({},e,{ref:t,icon:g_e}))),v_e={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112c17.7 0 32 14.3 32 32v736c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32zM639.98 338.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z`}}]},name:`close-square`,theme:`filled`};function vq(){return vq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,vq({},e,{ref:t,icon:v_e}))),b_e={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112c17.7 0 32 14.3 32 32v736c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32zm-40 72H184v656h656V184zM640.01 338.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z`}}]},name:`close-square`,theme:`outlined`};function yq(){return yq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yq({},e,{ref:t,icon:b_e}))),S_e={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm163.9-473.9A7.95 7.95 0 01354 353h58.9c4.7 0 9.2 2.1 12.3 5.7L512 462.2l86.8-103.5c3-3.6 7.5-5.7 12.3-5.7H670c6.8 0 10.5 7.9 6.1 13.1L553.8 512l122.3 145.9c4.4 5.2.7 13.1-6.1 13.1h-58.9c-4.7 0-9.2-2.1-12.3-5.7L512 561.8l-86.8 103.5c-3 3.6-7.5 5.7-12.3 5.7H354c-6.8 0-10.5-7.9-6.1-13.1L470.2 512 347.9 366.1z`,fill:t}},{tag:`path`,attrs:{d:`M354 671h58.9c4.8 0 9.3-2.1 12.3-5.7L512 561.8l86.8 103.5c3.1 3.6 7.6 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.3-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.8 0-9.3 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3.1-3.6-7.6-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z`,fill:e}}]}},name:`close-square`,theme:`twotone`};function bq(){return bq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,bq({},e,{ref:t,icon:S_e}))),w_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z`}},{tag:`path`,attrs:{d:`M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z`}}]},name:`cloud-download`,theme:`outlined`};function xq(){return xq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,xq({},e,{ref:t,icon:w_e}))),E_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3z`}}]},name:`cloud`,theme:`filled`};function Sq(){return Sq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Sq({},e,{ref:t,icon:E_e}))),O_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z`}}]},name:`cloud`,theme:`outlined`};function Cq(){return Cq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Cq({},e,{ref:t,icon:O_e}))),k_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z`}},{tag:`path`,attrs:{d:`M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z`}},{tag:`path`,attrs:{d:`M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z`}}]},name:`cloud-server`,theme:`outlined`};function Tq(){return Tq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Tq({},e,{ref:t,icon:k_e}))),A_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z`}},{tag:`path`,attrs:{d:`M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 003 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 00-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z`}}]},name:`cloud-sync`,theme:`outlined`};function Dq(){return Dq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Dq({},e,{ref:t,icon:A_e}))),M_e={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M791.9 492l-37.8-10-13.8-36.5c-8.6-22.7-20.6-44.1-35.7-63.4a245.73 245.73 0 00-52.4-49.9c-41.1-28.9-89.5-44.2-140-44.2s-98.9 15.3-140 44.2a245.6 245.6 0 00-52.4 49.9 240.47 240.47 0 00-35.7 63.4l-13.9 36.6-37.9 9.9a125.7 125.7 0 00-66.1 43.7A123.1 123.1 0 00140 612c0 33.1 12.9 64.3 36.3 87.7 23.4 23.4 54.5 36.3 87.6 36.3h496.2c33.1 0 64.2-12.9 87.6-36.3A123.3 123.3 0 00884 612c0-56.2-37.8-105.5-92.1-120z`,fill:t}},{tag:`path`,attrs:{d:`M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z`,fill:e}}]}},name:`cloud`,theme:`twotone`};function Oq(){return Oq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Oq({},e,{ref:t,icon:M_e}))),P_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z`}},{tag:`path`,attrs:{d:`M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z`}}]},name:`cloud-upload`,theme:`outlined`};function kq(){return kq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,kq({},e,{ref:t,icon:P_e}))),I_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888 680h-54V540H546v-92h238c8.8 0 16-7.2 16-16V168c0-8.8-7.2-16-16-16H240c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h238v92H190v140h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8h-54v-72h220v72h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8h-54v-72h220v72h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8zM256 805.3c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zm288 0c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zM288 384V216h448v168H288zm544 421.3c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zM360 300a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`cluster`,theme:`outlined`};function Aq(){return Aq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Aq({},e,{ref:t,icon:I_e}))),R_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM513.1 518.1l-192 161c-5.2 4.4-13.1.7-13.1-6.1v-62.7c0-2.3 1.1-4.6 2.9-6.1L420.7 512l-109.8-92.2a7.63 7.63 0 01-2.9-6.1V351c0-6.8 7.9-10.5 13.1-6.1l192 160.9c3.9 3.2 3.9 9.1 0 12.3zM716 673c0 4.4-3.4 8-7.5 8h-185c-4.1 0-7.5-3.6-7.5-8v-48c0-4.4 3.4-8 7.5-8h185c4.1 0 7.5 3.6 7.5 8v48z`}}]},name:`code`,theme:`filled`};function jq(){return jq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jq({},e,{ref:t,icon:R_e}))),B_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`code`,theme:`outlined`};function Mq(){return Mq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Mq({},e,{ref:t,icon:B_e}))),V_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm243.7 589.2L512 794 268.3 653.2V371.8l110-63.6-.4-.2h.2L512 231l134 77h-.2l-.3.2 110.1 63.6v281.4zM307.9 536.7l87.6 49.9V681l96.7 55.9V524.8L307.9 418.4zm203.9-151.8L418 331l-91.1 52.6 185.2 107 185.2-106.9-91.4-52.8zm20 352l97.3-56.2v-94.1l87-49.5V418.5L531.8 525z`}}]},name:`code-sandbox-circle`,theme:`filled`};function Pq(){return Pq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Pq({},e,{ref:t,icon:V_e}))),U_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M709.6 210l.4-.2h.2L512 96 313.9 209.8h-.2l.7.3L151.5 304v416L512 928l360.5-208V304l-162.9-94zM482.7 843.6L339.6 761V621.4L210 547.8V372.9l272.7 157.3v313.4zM238.2 321.5l134.7-77.8 138.9 79.7 139.1-79.9 135.2 78-273.9 158-274-158zM814 548.3l-128.8 73.1v139.1l-143.9 83V530.4L814 373.1v175.2z`}}]},name:`code-sandbox`,theme:`outlined`};function Fq(){return Fq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Fq({},e,{ref:t,icon:U_e}))),G_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M307.9 536.7l87.6 49.9V681l96.7 55.9V524.8L307.9 418.4zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM755.7 653.2L512 794 268.3 653.2V371.8l110-63.6-.4-.2h.2L512 231l134 77h-.2l-.3.2 110.1 63.6v281.4zm-223.9 83.7l97.3-56.2v-94.1l87-49.5V418.5L531.8 525zm-20-352L418 331l-91.1 52.6 185.2 107 185.2-106.9-91.4-52.8z`}}]},name:`code-sandbox-square`,theme:`filled`};function Iq(){return Iq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Iq({},e,{ref:t,icon:G_e}))),q_e={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm339.5-223h185c4.1 0 7.5 3.6 7.5 8v48c0 4.4-3.4 8-7.5 8h-185c-4.1 0-7.5-3.6-7.5-8v-48c0-4.4 3.4-8 7.5-8zM308 610.3c0-2.3 1.1-4.6 2.9-6.1L420.7 512l-109.8-92.2a7.63 7.63 0 01-2.9-6.1V351c0-6.8 7.9-10.5 13.1-6.1l192 160.9c3.9 3.2 3.9 9.1 0 12.3l-192 161c-5.2 4.4-13.1.7-13.1-6.1v-62.7z`,fill:t}},{tag:`path`,attrs:{d:`M321.1 679.1l192-161c3.9-3.2 3.9-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48z`,fill:e}}]}},name:`code`,theme:`twotone`};function Lq(){return Lq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Lq({},e,{ref:t,icon:q_e}))),Y_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M488.1 414.7V303.4L300.9 428l83.6 55.8zm254.1 137.7v-79.8l-59.8 39.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm278 533c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-254.1 13.3v111.3L723.1 597l-83.6-55.8zM281.8 472.6v79.8l59.8-39.9zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zM723.1 428L535.9 303.4v111.3l103.6 69.1zM384.5 541.2L300.9 597l187.2 124.6V610.3l-103.6-69.1z`}}]},name:`codepen-circle`,theme:`filled`};function Rq(){return Rq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Rq({},e,{ref:t,icon:Y_e}))),Z_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M488.1 414.7V303.4L300.9 428l83.6 55.8zm254.1 137.7v-79.8l-59.8 39.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm278 533c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-254.1 13.3v111.3L723.1 597l-83.6-55.8zM281.8 472.6v79.8l59.8-39.9zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zM723.1 428L535.9 303.4v111.3l103.6 69.1zM384.5 541.2L300.9 597l187.2 124.6V610.3l-103.6-69.1z`}}]},name:`codepen-circle`,theme:`outlined`};function zq(){return zq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,zq({},e,{ref:t,icon:Z_e}))),$_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M911.7 385.3l-.3-1.5c-.2-1-.3-1.9-.6-2.9-.2-.6-.4-1.1-.5-1.7-.3-.8-.5-1.7-.9-2.5-.2-.6-.5-1.1-.8-1.7-.4-.8-.8-1.5-1.2-2.3-.3-.5-.6-1.1-1-1.6-.8-1.2-1.7-2.4-2.6-3.6-.5-.6-1.1-1.3-1.7-1.9-.4-.5-.9-.9-1.4-1.3-.6-.6-1.3-1.1-1.9-1.6-.5-.4-1-.8-1.6-1.2-.2-.1-.4-.3-.6-.4L531.1 117.8a34.3 34.3 0 00-38.1 0L127.3 361.3c-.2.1-.4.3-.6.4-.5.4-1 .8-1.6 1.2-.7.5-1.3 1.1-1.9 1.6-.5.4-.9.9-1.4 1.3-.6.6-1.2 1.2-1.7 1.9-1 1.1-1.8 2.3-2.6 3.6-.3.5-.7 1-1 1.6-.4.7-.8 1.5-1.2 2.3-.3.5-.5 1.1-.8 1.7-.3.8-.6 1.7-.9 2.5-.2.6-.4 1.1-.5 1.7-.2.9-.4 1.9-.6 2.9l-.3 1.5c-.2 1.5-.3 3-.3 4.5v243.5c0 1.5.1 3 .3 4.5l.3 1.5.6 2.9c.2.6.3 1.1.5 1.7.3.9.6 1.7.9 2.5.2.6.5 1.1.8 1.7.4.8.7 1.5 1.2 2.3.3.5.6 1.1 1 1.6.5.7.9 1.4 1.5 2.1l1.2 1.5c.5.6 1.1 1.3 1.7 1.9.4.5.9.9 1.4 1.3.6.6 1.3 1.1 1.9 1.6.5.4 1 .8 1.6 1.2.2.1.4.3.6.4L493 905.7c5.6 3.8 12.3 5.8 19.1 5.8 6.6 0 13.3-1.9 19.1-5.8l365.6-243.5c.2-.1.4-.3.6-.4.5-.4 1-.8 1.6-1.2.7-.5 1.3-1.1 1.9-1.6.5-.4.9-.9 1.4-1.3.6-.6 1.2-1.2 1.7-1.9l1.2-1.5 1.5-2.1c.3-.5.7-1 1-1.6.4-.8.8-1.5 1.2-2.3.3-.5.5-1.1.8-1.7.3-.8.6-1.7.9-2.5.2-.5.4-1.1.5-1.7.3-.9.4-1.9.6-2.9l.3-1.5c.2-1.5.3-3 .3-4.5V389.8c-.3-1.5-.4-3-.6-4.5zM546.4 210.5l269.4 179.4-120.3 80.4-149-99.6V210.5zm-68.8 0v160.2l-149 99.6-120.3-80.4 269.3-179.4zM180.7 454.1l86 57.5-86 57.5v-115zm296.9 358.5L208.3 633.2l120.3-80.4 149 99.6v160.2zM512 592.8l-121.6-81.2L512 430.3l121.6 81.2L512 592.8zm34.4 219.8V652.4l149-99.6 120.3 80.4-269.3 179.4zM843.3 569l-86-57.5 86-57.5v115z`}}]},name:`codepen`,theme:`outlined`};function Bq(){return Bq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Bq({},e,{ref:t,icon:$_e}))),tve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M723.1 428L535.9 303.4v111.3l103.6 69.1zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zm23.9 154.2v111.3L723.1 597l-83.6-55.8zm-151.4-69.1L300.9 597l187.2 124.6V610.3l-103.6-69.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-90 485c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-47.8-44.6v-79.8l-59.8 39.9zm-460.4-79.8v79.8l59.8-39.9zm206.3-57.9V303.4L300.9 428l83.6 55.8z`}}]},name:`codepen-square`,theme:`filled`};function Vq(){return Vq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Vq({},e,{ref:t,icon:tve}))),rve={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M275 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm613 144H768c0-39.8-32.2-72-72-72H200c-39.8 0-72 32.2-72 72v248c0 3.4.2 6.7.7 9.9-.5 7-.7 14-.7 21.1 0 176.7 143.3 320 320 320 160.1 0 292.7-117.5 316.3-271H888c39.8 0 72-32.2 72-72V497c0-39.8-32.2-72-72-72zM696 681h-1.1c.7 7.6 1.1 15.2 1.1 23 0 137-111 248-248 248S200 841 200 704c0-7.8.4-15.4 1.1-23H200V425h496v256zm192-8H776V497h112v176zM613 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm-170 0c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36z`}}]},name:`coffee`,theme:`outlined`};function Hq(){return Hq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Hq({},e,{ref:t,icon:rve}))),ive={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z`}}]},name:`column-height`,theme:`outlined`};function Wq(){return Wq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Wq({},e,{ref:t,icon:ive}))),ove={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M180 176h-60c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8zm724 0h-60c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8zM785.3 504.3L657.7 403.6a7.23 7.23 0 00-11.7 5.7V476H378v-62.8c0-6-7-9.4-11.7-5.7L238.7 508.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h268v62.8c0 6 7 9.4 11.7 5.7l127.5-100.8c3.8-2.9 3.8-8.5.2-11.4z`}}]},name:`column-width`,theme:`outlined`};function Gq(){return Gq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Gq({},e,{ref:t,icon:ove}))),cve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z`}},{tag:`path`,attrs:{d:`M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z`}},{tag:`path`,attrs:{d:`M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z`}}]},name:`comment`,theme:`outlined`};function Kq(){return Kq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Kq({},e,{ref:t,icon:cve}))),uve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM327.3 702.4c-2 .9-4.4 0-5.3-2.1-.4-1-.4-2.2 0-3.2l98.7-225.5 132.1 132.1-225.5 98.7zm375.1-375.1l-98.7 225.5-132.1-132.1L697.1 322c2-.9 4.4 0 5.3 2.1.4 1 .4 2.1 0 3.2z`}}]},name:`compass`,theme:`filled`};function qq(){return qq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,qq({},e,{ref:t,icon:uve}))),fve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm198.4-588.1a32 32 0 00-24.5.5L414.9 415 296.4 686c-3.6 8.2-3.6 17.5 0 25.7 3.4 7.8 9.7 13.9 17.7 17 3.8 1.5 7.7 2.2 11.7 2.2 4.4 0 8.7-.9 12.8-2.7l271-118.6 118.5-271a32.06 32.06 0 00-17.7-42.7zM576.8 534.4l26.2 26.2-42.4 42.4-26.2-26.2L380 644.4 447.5 490 422 464.4l42.4-42.4 25.5 25.5L644.4 380l-67.6 154.4zM464.4 422L422 464.4l25.5 25.6 86.9 86.8 26.2 26.2 42.4-42.4-26.2-26.2-86.8-86.9z`}}]},name:`compass`,theme:`outlined`};function Jq(){return Jq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Jq({},e,{ref:t,icon:fve}))),pve={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM327.6 701.7c-2 .9-4.4 0-5.3-2.1-.4-1-.4-2.2 0-3.2L421 470.9 553.1 603l-225.5 98.7zm375.1-375.1L604 552.1 471.9 420l225.5-98.7c2-.9 4.4 0 5.3 2.1.4 1 .4 2.1 0 3.2z`,fill:t}},{tag:`path`,attrs:{d:`M322.3 696.4c-.4 1-.4 2.2 0 3.2.9 2.1 3.3 3 5.3 2.1L553.1 603 421 470.9l-98.7 225.5zm375.1-375.1L471.9 420 604 552.1l98.7-225.5c.4-1.1.4-2.2 0-3.2-.9-2.1-3.3-3-5.3-2.1z`,fill:e}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}}]}},name:`compass`,theme:`twotone`};function Xq(){return Xq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Xq({},e,{ref:t,icon:pve}))),hve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M326 664H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h174v176c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V696c0-17.7-14.3-32-32-32zm16-576h-48c-8.8 0-16 7.2-16 16v176H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h222c17.7 0 32-14.3 32-32V104c0-8.8-7.2-16-16-16zm578 576H698c-17.7 0-32 14.3-32 32v224c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V744h174c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zm0-384H746V104c0-8.8-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16v224c0 17.7 14.3 32 32 32h222c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16z`}}]},name:`compress`,theme:`outlined`};function Zq(){return Zq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Zq({},e,{ref:t,icon:hve}))),_ve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M301.3 496.7c-23.8 0-40.2-10.5-41.6-26.9H205c.9 43.4 36.9 70.3 93.9 70.3 59.1 0 95-28.4 95-75.5 0-35.8-20-55.9-64.5-64.5l-29.1-5.6c-23.8-4.7-33.8-11.9-33.8-24.2 0-15 13.3-24.5 33.4-24.5 20.1 0 35.3 11.1 36.6 27h53c-.9-41.7-37.5-70.3-90.3-70.3-54.4 0-89.7 28.9-89.7 73 0 35.5 21.2 58 62.5 65.8l29.7 5.9c25.8 5.2 35.6 11.9 35.6 24.4.1 14.7-14.5 25.1-36 25.1z`}},{tag:`path`,attrs:{d:`M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z`}},{tag:`path`,attrs:{d:`M828.5 486.7h-95.8V308.5h-57.4V534h153.2zm-298.6 53.4c14.1 0 27.2-2 39.1-5.8l13.3 20.3h53.3L607.9 511c21.1-20 33-51.1 33-89.8 0-73.3-43.3-118.8-110.9-118.8s-111.2 45.3-111.2 118.8c-.1 73.7 43 118.9 111.1 118.9zm0-190c31.6 0 52.7 27.7 52.7 71.1 0 16.7-3.6 30.6-10 40.5l-5.2-6.9h-48.8L542 491c-3.9.9-8 1.4-12.2 1.4-31.7 0-52.8-27.5-52.8-71.2.1-43.6 21.2-71.1 52.9-71.1z`}}]},name:`console-sql`,theme:`outlined`};function Qq(){return Qq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Qq({},e,{ref:t,icon:_ve}))),yve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zM661 736h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.6-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H363a8 8 0 01-8-8.4c2.8-53.3 32-99.7 74.6-126.1a111.8 111.8 0 01-29.1-75.5c0-61.9 49.9-112 111.4-112 61.5 0 111.4 50.1 111.4 112 0 29.1-11 55.5-29.1 75.5 42.7 26.5 71.8 72.8 74.6 126.1.4 4.6-3.2 8.4-7.8 8.4zM512 474c-28.5 0-51.7 23.3-51.7 52s23.2 52 51.7 52c28.5 0 51.7-23.3 51.7-52s-23.2-52-51.7-52z`}}]},name:`contacts`,theme:`filled`};function $q(){return $q=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$q({},e,{ref:t,icon:yve}))),xve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M594.3 601.5a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1 8 8 0 008 8.4H407c4.2 0 7.6-3.3 7.9-7.5 3.8-50.6 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H661a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.7-126.1zM512 578c-28.5 0-51.7-23.3-51.7-52s23.2-52 51.7-52 51.7 23.3 51.7 52-23.2 52-51.7 52zm416-354H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z`}}]},name:`contacts`,theme:`outlined`};function eJ(){return eJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,eJ({},e,{ref:t,icon:xve}))),Cve={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M460.3 526a51.7 52 0 10103.4 0 51.7 52 0 10-103.4 0z`,fill:t}},{tag:`path`,attrs:{d:`M768 352c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H548v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H328v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H136v496h752V296H768v56zM661 736h-43.8c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 39.9-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5h-43.9a8 8 0 01-8-8.4c2.8-53.3 31.9-99.6 74.6-126.1-18.1-20-29.1-46.4-29.1-75.5 0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.6-29.1 75.5 42.7 26.4 71.9 72.8 74.7 126.1a8 8 0 01-8 8.4z`,fill:t}},{tag:`path`,attrs:{d:`M594.3 601.5a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1 8 8 0 008 8.4H407c4.2 0 7.6-3.3 7.9-7.5 3.8-50.6 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H661a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.7-126.1zM512 578c-28.5 0-51.7-23.3-51.7-52s23.2-52 51.7-52 51.7 23.3 51.7 52-23.2 52-51.7 52z`,fill:e}},{tag:`path`,attrs:{d:`M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z`,fill:e}}]}},name:`contacts`,theme:`twotone`};function tJ(){return tJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tJ({},e,{ref:t,icon:Cve}))),Tve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v529c0-.6.4-1 1-1h219.3l5.2 24.7C397.6 708.5 450.8 752 512 752s114.4-43.5 126.4-103.3l5.2-24.7H863c.6 0 1 .4 1 1V96c0-17.7-14.3-32-32-32zM712 493c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48zm0-160c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48zm151 354H694.1c-11.6 32.8-32 62.3-59.1 84.7-34.5 28.6-78.2 44.3-123 44.3s-88.5-15.8-123-44.3a194.02 194.02 0 01-59.1-84.7H161c-.6 0-1-.4-1-1v242c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V686c0 .6-.4 1-1 1z`}}]},name:`container`,theme:`filled`};function nJ(){return nJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,nJ({},e,{ref:t,icon:Tve}))),Dve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v-63H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v752zM320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 160h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}}]},name:`container`,theme:`outlined`};function rJ(){return rJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,rJ({},e,{ref:t,icon:Dve}))),kve={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M635 771.7c-34.5 28.6-78.2 44.3-123 44.3s-88.5-15.8-123-44.3a194.02 194.02 0 01-59.1-84.7H232v201h560V687h-97.9c-11.6 32.8-32 62.3-59.1 84.7z`,fill:t}},{tag:`path`,attrs:{d:`M320 501h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`,fill:e}},{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v201zm0-264H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v488z`,fill:e}},{tag:`path`,attrs:{d:`M320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`,fill:e}}]}},name:`container`,theme:`twotone`};function iJ(){return iJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iJ({},e,{ref:t,icon:kve}))),jve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM404 683v77c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-77c-41.7-13.6-72-52.8-72-99s30.3-85.5 72-99V264c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v221c41.7 13.6 72 52.8 72 99s-30.3 85.5-72 99zm279.6-143.9c.2 0 .3-.1.4-.1v221c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V539c.2 0 .3.1.4.1-42-13.4-72.4-52.7-72.4-99.1 0-46.4 30.4-85.7 72.4-99.1-.2 0-.3.1-.4.1v-77c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v77c-.2 0-.3-.1-.4-.1 42 13.4 72.4 52.7 72.4 99.1 0 46.4-30.4 85.7-72.4 99.1zM616 440a36 36 0 1072 0 36 36 0 10-72 0zM403.4 566.5l-1.5-2.4c0-.1-.1-.1-.1-.2l-.9-1.2c-.1-.1-.2-.2-.2-.3-1-1.3-2-2.5-3.2-3.6l-.2-.2c-.4-.4-.8-.8-1.2-1.1-.8-.8-1.7-1.5-2.6-2.1h-.1l-1.2-.9c-.1-.1-.3-.2-.4-.3-1.2-.8-2.5-1.6-3.9-2.2-.2-.1-.5-.2-.7-.4-.4-.2-.7-.3-1.1-.5-.3-.1-.7-.3-1-.4-.5-.2-1-.4-1.5-.5-.4-.1-.9-.3-1.3-.4l-.9-.3-1.4-.3c-.2-.1-.5-.1-.7-.2-.7-.1-1.4-.3-2.1-.4-.2 0-.4 0-.6-.1-.6-.1-1.1-.1-1.7-.2-.2 0-.4 0-.7-.1-.8 0-1.5-.1-2.3-.1s-1.5 0-2.3.1c-.2 0-.4 0-.7.1-.6 0-1.2.1-1.7.2-.2 0-.4 0-.6.1-.7.1-1.4.2-2.1.4-.2.1-.5.1-.7.2l-1.4.3-.9.3c-.4.1-.9.3-1.3.4-.5.2-1 .4-1.5.5-.3.1-.7.3-1 .4-.4.2-.7.3-1.1.5-.2.1-.5.2-.7.4-1.3.7-2.6 1.4-3.9 2.2-.1.1-.3.2-.4.3l-1.2.9h-.1c-.9.7-1.8 1.4-2.6 2.1-.4.4-.8.7-1.2 1.1l-.2.2a54.8 54.8 0 00-3.2 3.6c-.1.1-.2.2-.2.3l-.9 1.2c0 .1-.1.1-.1.2l-1.5 2.4c-.1.2-.2.3-.3.5-2.7 5.1-4.3 10.9-4.3 17s1.6 12 4.3 17c.1.2.2.3.3.5l1.5 2.4c0 .1.1.1.1.2l.9 1.2c.1.1.2.2.2.3 1 1.3 2 2.5 3.2 3.6l.2.2c.4.4.8.8 1.2 1.1.8.8 1.7 1.5 2.6 2.1h.1l1.2.9c.1.1.3.2.4.3 1.2.8 2.5 1.6 3.9 2.2.2.1.5.2.7.4.4.2.7.3 1.1.5.3.1.7.3 1 .4.5.2 1 .4 1.5.5.4.1.9.3 1.3.4l.9.3 1.4.3c.2.1.5.1.7.2.7.1 1.4.3 2.1.4.2 0 .4 0 .6.1.6.1 1.1.1 1.7.2.2 0 .4 0 .7.1.8 0 1.5.1 2.3.1s1.5 0 2.3-.1c.2 0 .4 0 .7-.1.6 0 1.2-.1 1.7-.2.2 0 .4 0 .6-.1.7-.1 1.4-.2 2.1-.4.2-.1.5-.1.7-.2l1.4-.3.9-.3c.4-.1.9-.3 1.3-.4.5-.2 1-.4 1.5-.5.3-.1.7-.3 1-.4.4-.2.7-.3 1.1-.5.2-.1.5-.2.7-.4 1.3-.7 2.6-1.4 3.9-2.2.1-.1.3-.2.4-.3l1.2-.9h.1c.9-.7 1.8-1.4 2.6-2.1.4-.4.8-.7 1.2-1.1l.2-.2c1.1-1.1 2.2-2.4 3.2-3.6.1-.1.2-.2.2-.3l.9-1.2c0-.1.1-.1.1-.2l1.5-2.4c.1-.2.2-.3.3-.5 2.7-5.1 4.3-10.9 4.3-17s-1.6-12-4.3-17c-.1-.2-.2-.4-.3-.5z`}}]},name:`control`,theme:`filled`};function aJ(){return aJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,aJ({},e,{ref:t,icon:jve}))),Nve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8s0 .1.1.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8 0 0 0 .1-.1.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7zM620 539v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8v.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8v.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7z`}}]},name:`control`,theme:`outlined`};function oJ(){return oJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,oJ({},e,{ref:t,icon:Nve}))),Fve={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M616 440a36 36 0 1072 0 36 36 0 10-72 0zM340.4 601.5l1.5 2.4c0 .1.1.1.1.2l.9 1.2c.1.1.2.2.2.3 1 1.3 2 2.5 3.2 3.6l.2.2c.4.4.8.8 1.2 1.1.8.8 1.7 1.5 2.6 2.1h.1l1.2.9c.1.1.3.2.4.3 1.2.8 2.5 1.6 3.9 2.2.2.1.5.2.7.4.4.2.7.3 1.1.5.3.1.7.3 1 .4.5.2 1 .4 1.5.5.4.1.9.3 1.3.4l.9.3 1.4.3c.2.1.5.1.7.2.7.1 1.4.3 2.1.4.2 0 .4 0 .6.1.6.1 1.1.1 1.7.2.2 0 .4 0 .7.1.8 0 1.5.1 2.3.1s1.5 0 2.3-.1c.2 0 .4 0 .7-.1.6 0 1.2-.1 1.7-.2.2 0 .4 0 .6-.1.7-.1 1.4-.2 2.1-.4.2-.1.5-.1.7-.2l1.4-.3.9-.3c.4-.1.9-.3 1.3-.4.5-.2 1-.4 1.5-.5.3-.1.7-.3 1-.4.4-.2.7-.3 1.1-.5.2-.1.5-.2.7-.4 1.3-.7 2.6-1.4 3.9-2.2.1-.1.3-.2.4-.3l1.2-.9h.1c.9-.7 1.8-1.4 2.6-2.1.4-.4.8-.7 1.2-1.1l.2-.2c1.1-1.1 2.2-2.4 3.2-3.6.1-.1.2-.2.2-.3l.9-1.2c0-.1.1-.1.1-.2l1.5-2.4c.1-.2.2-.3.3-.5 2.7-5.1 4.3-10.9 4.3-17s-1.6-12-4.3-17c-.1-.2-.2-.4-.3-.5l-1.5-2.4c0-.1-.1-.1-.1-.2l-.9-1.2c-.1-.1-.2-.2-.2-.3-1-1.3-2-2.5-3.2-3.6l-.2-.2c-.4-.4-.8-.8-1.2-1.1-.8-.8-1.7-1.5-2.6-2.1h-.1l-1.2-.9c-.1-.1-.3-.2-.4-.3-1.2-.8-2.5-1.6-3.9-2.2-.2-.1-.5-.2-.7-.4-.4-.2-.7-.3-1.1-.5-.3-.1-.7-.3-1-.4-.5-.2-1-.4-1.5-.5-.4-.1-.9-.3-1.3-.4l-.9-.3-1.4-.3c-.2-.1-.5-.1-.7-.2-.7-.1-1.4-.3-2.1-.4-.2 0-.4 0-.6-.1-.6-.1-1.1-.1-1.7-.2-.2 0-.4 0-.7-.1-.8 0-1.5-.1-2.3-.1s-1.5 0-2.3.1c-.2 0-.4 0-.7.1-.6 0-1.2.1-1.7.2-.2 0-.4 0-.6.1-.7.1-1.4.2-2.1.4-.2.1-.5.1-.7.2l-1.4.3-.9.3c-.4.1-.9.3-1.3.4-.5.2-1 .4-1.5.5-.3.1-.7.3-1 .4-.4.2-.7.3-1.1.5-.2.1-.5.2-.7.4-1.3.7-2.6 1.4-3.9 2.2-.1.1-.3.2-.4.3l-1.2.9h-.1c-.9.7-1.8 1.4-2.6 2.1-.4.4-.8.7-1.2 1.1l-.2.2a54.8 54.8 0 00-3.2 3.6c-.1.1-.2.2-.2.3l-.9 1.2c0 .1-.1.1-.1.2l-1.5 2.4c-.1.2-.2.3-.3.5-2.7 5.1-4.3 10.9-4.3 17s1.6 12 4.3 17c.1.2.2.3.3.5z`,fill:t}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm436.4-499.1c-.2 0-.3.1-.4.1v-77c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v77c-.2 0-.3-.1-.4-.1 42 13.4 72.4 52.7 72.4 99.1 0 46.4-30.4 85.7-72.4 99.1.2 0 .3-.1.4-.1v221c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V539c.2 0 .3.1.4.1-42-13.4-72.4-52.7-72.4-99.1 0-46.4 30.4-85.7 72.4-99.1zM340 485V264c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v221c41.7 13.6 72 52.8 72 99s-30.3 85.5-72 99v77c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-77c-41.7-13.6-72-52.8-72-99s30.3-85.5 72-99z`,fill:t}},{tag:`path`,attrs:{d:`M340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c41.7-13.5 72-52.8 72-99s-30.3-85.4-72-99V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c-41.7 13.5-72 52.8-72 99s30.3 85.4 72 99zm.1-116c.1-.2.2-.3.3-.5l1.5-2.4c0-.1.1-.1.1-.2l.9-1.2c0-.1.1-.2.2-.3 1-1.2 2.1-2.5 3.2-3.6l.2-.2c.4-.4.8-.7 1.2-1.1.8-.7 1.7-1.4 2.6-2.1h.1l1.2-.9c.1-.1.3-.2.4-.3 1.3-.8 2.6-1.5 3.9-2.2.2-.2.5-.3.7-.4.4-.2.7-.3 1.1-.5.3-.1.7-.3 1-.4.5-.1 1-.3 1.5-.5.4-.1.9-.3 1.3-.4l.9-.3 1.4-.3c.2-.1.5-.1.7-.2.7-.2 1.4-.3 2.1-.4.2-.1.4-.1.6-.1.5-.1 1.1-.2 1.7-.2.3-.1.5-.1.7-.1.8-.1 1.5-.1 2.3-.1s1.5.1 2.3.1c.3.1.5.1.7.1.6.1 1.1.1 1.7.2.2.1.4.1.6.1.7.1 1.4.3 2.1.4.2.1.5.1.7.2l1.4.3.9.3c.4.1.9.3 1.3.4.5.1 1 .3 1.5.5.3.1.7.3 1 .4.4.2.7.3 1.1.5.2.2.5.3.7.4 1.4.6 2.7 1.4 3.9 2.2.1.1.3.2.4.3l1.2.9h.1c.9.6 1.8 1.3 2.6 2.1.4.3.8.7 1.2 1.1l.2.2c1.2 1.1 2.2 2.3 3.2 3.6 0 .1.1.2.2.3l.9 1.2c0 .1.1.1.1.2l1.5 2.4A36.03 36.03 0 01408 584c0 6.1-1.6 11.9-4.3 17-.1.2-.2.3-.3.5l-1.5 2.4c0 .1-.1.1-.1.2l-.9 1.2c0 .1-.1.2-.2.3-1 1.2-2.1 2.5-3.2 3.6l-.2.2c-.4.4-.8.7-1.2 1.1-.8.7-1.7 1.4-2.6 2.1h-.1l-1.2.9c-.1.1-.3.2-.4.3-1.3.8-2.6 1.5-3.9 2.2-.2.2-.5.3-.7.4-.4.2-.7.3-1.1.5-.3.1-.7.3-1 .4-.5.1-1 .3-1.5.5-.4.1-.9.3-1.3.4l-.9.3-1.4.3c-.2.1-.5.1-.7.2-.7.2-1.4.3-2.1.4-.2.1-.4.1-.6.1-.5.1-1.1.2-1.7.2-.3.1-.5.1-.7.1-.8.1-1.5.1-2.3.1s-1.5-.1-2.3-.1c-.3-.1-.5-.1-.7-.1-.6-.1-1.1-.1-1.7-.2-.2-.1-.4-.1-.6-.1-.7-.1-1.4-.3-2.1-.4-.2-.1-.5-.1-.7-.2l-1.4-.3-.9-.3c-.4-.1-.9-.3-1.3-.4-.5-.1-1-.3-1.5-.5-.3-.1-.7-.3-1-.4-.4-.2-.7-.3-1.1-.5-.2-.2-.5-.3-.7-.4-1.4-.6-2.7-1.4-3.9-2.2-.1-.1-.3-.2-.4-.3l-1.2-.9h-.1c-.9-.6-1.8-1.3-2.6-2.1-.4-.3-.8-.7-1.2-1.1l-.2-.2c-1.2-1.1-2.2-2.3-3.2-3.6 0-.1-.1-.2-.2-.3l-.9-1.2c0-.1-.1-.1-.1-.2l-1.5-2.4c-.1-.2-.2-.3-.3-.5-2.7-5-4.3-10.9-4.3-17s1.6-11.9 4.3-17zm280.3-27.9c-.1 0-.2-.1-.4-.1v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-.1 0-.2.1-.4.1 42-13.4 72.4-52.7 72.4-99.1 0-46.4-30.4-85.7-72.4-99.1.1 0 .2.1.4.1v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c.1 0 .2-.1.4-.1-42 13.4-72.4 52.7-72.4 99.1 0 46.4 30.4 85.7 72.4 99.1zM652 404c19.9 0 36 16.1 36 36s-16.1 36-36 36-36-16.1-36-36 16.1-36 36-36z`,fill:e}}]}},name:`control`,theme:`twotone`};function sJ(){return sJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sJ({},e,{ref:t,icon:Fve}))),Lve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM382 896h-.2L232 746.2v-.2h150v150z`}}]},name:`copy`,theme:`filled`};function cJ(){return cJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,cJ({},e,{ref:t,icon:Lve}))),zve={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M232 706h142c22.1 0 40 17.9 40 40v142h250V264H232v442z`,fill:t}},{tag:`path`,attrs:{d:`M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32z`,fill:e}},{tag:`path`,attrs:{d:`M704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z`,fill:e}}]}},name:`copy`,theme:`twotone`};function lJ(){return lJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,lJ({},e,{ref:t,icon:zve}))),Vve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm5.4 670c-110 0-173.4-73.2-173.4-194.9v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.6-3.2-8-7.4-4-49.5-40-83.4-93-83.4-65.3 0-102.1 48.5-102.1 135.5v52.6c0 85.7 36.9 133.6 102.1 133.6 52.8 0 88.7-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4z`}}]},name:`copyright-circle`,theme:`filled`};function uJ(){return uJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uJ({},e,{ref:t,icon:Vve}))),Uve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z`}}]},name:`copyright-circle`,theme:`outlined`};function dJ(){return dJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,dJ({},e,{ref:t,icon:Uve}))),Gve={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm5.5 533c52.9 0 88.8-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4C407.4 734 344 660.8 344 539.1v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.7-3.2-8-7.4-4-49.6-40-83.4-93-83.4-65.2 0-102.1 48.5-102.2 135.5v52.6c0 85.7 36.8 133.6 102.1 133.6z`,fill:t}},{tag:`path`,attrs:{d:`M517.6 351.3c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z`,fill:e}}]}},name:`copyright-circle`,theme:`twotone`};function fJ(){return fJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,fJ({},e,{ref:t,icon:Gve}))),qve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z`}}]},name:`copyright`,theme:`outlined`};function pJ(){return pJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pJ({},e,{ref:t,icon:qve}))),Yve={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm5.5 533c52.9 0 88.8-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4C407.4 734 344 660.8 344 539.1v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.7-3.2-8-7.4-4-49.6-40-83.4-93-83.4-65.2 0-102.1 48.5-102.2 135.5v52.6c0 85.7 36.8 133.6 102.1 133.6z`,fill:t}},{tag:`path`,attrs:{d:`M517.6 351.3c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z`,fill:e}}]}},name:`copyright`,theme:`twotone`};function mJ(){return mJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,mJ({},e,{ref:t,icon:Yve}))),Zve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v160h896V192c0-17.7-14.3-32-32-32zM64 832c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V440H64v392zm579-184c0-4.4 3.6-8 8-8h165c4.4 0 8 3.6 8 8v72c0 4.4-3.6 8-8 8H651c-4.4 0-8-3.6-8-8v-72z`}}]},name:`credit-card`,theme:`filled`};function hJ(){return hJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,hJ({},e,{ref:t,icon:Zve}))),$ve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-792 72h752v120H136V232zm752 560H136V440h752v352zm-237-64h165c4.4 0 8-3.6 8-8v-72c0-4.4-3.6-8-8-8H651c-4.4 0-8 3.6-8 8v72c0 4.4 3.6 8 8 8z`}}]},name:`credit-card`,theme:`outlined`};function gJ(){return gJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gJ({},e,{ref:t,icon:$ve}))),tye={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M136 792h752V440H136v352zm507-144c0-4.4 3.6-8 8-8h165c4.4 0 8 3.6 8 8v72c0 4.4-3.6 8-8 8H651c-4.4 0-8-3.6-8-8v-72zM136 232h752v120H136z`,fill:t}},{tag:`path`,attrs:{d:`M651 728h165c4.4 0 8-3.6 8-8v-72c0-4.4-3.6-8-8-8H651c-4.4 0-8 3.6-8 8v72c0 4.4 3.6 8 8 8z`,fill:e}},{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V440h752v352zm0-440H136V232h752v120z`,fill:e}}]}},name:`credit-card`,theme:`twotone`};function _J(){return _J=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_J({},e,{ref:t,icon:tye}))),rye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zM512 734.2c-62.1 0-112.6-50.5-112.6-112.6S449.9 509 512 509s112.6 50.5 112.6 112.6S574.1 734.2 512 734.2zm0-160.9c-26.6 0-48.2 21.6-48.2 48.3 0 26.6 21.6 48.3 48.2 48.3s48.2-21.6 48.2-48.3c0-26.6-21.6-48.3-48.2-48.3z`}}]},name:`crown`,theme:`filled`};function vJ(){return vJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,vJ({},e,{ref:t,icon:rye}))),aye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zm-126 534.1H250.3l-53.8-409.4 139.8 86.1L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4zM512 509c-62.1 0-112.6 50.5-112.6 112.6S449.9 734.2 512 734.2s112.6-50.5 112.6-112.6S574.1 509 512 509zm0 160.9c-26.6 0-48.2-21.6-48.2-48.3 0-26.6 21.6-48.3 48.2-48.3s48.2 21.6 48.2 48.3c0 26.6-21.6 48.3-48.2 48.3z`}}]},name:`crown`,theme:`outlined`};function yJ(){return yJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yJ({},e,{ref:t,icon:aye}))),oye={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M911.9 283.9v.5L835.5 865c-1 8-7.9 14-15.9 14H204.5c-8.1 0-14.9-6.1-16-14l-76.4-580.6v-.6 1.6L188.5 866c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.1-.5.1-1 0-1.5z`,fill:t}},{tag:`path`,attrs:{d:`M773.6 810.6l53.9-409.4-139.8 86.1L512 252.9 336.3 487.3l-139.8-86.1 53.8 409.4h523.3zm-374.2-189c0-62.1 50.5-112.6 112.6-112.6s112.6 50.5 112.6 112.6v1c0 62.1-50.5 112.6-112.6 112.6s-112.6-50.5-112.6-112.6v-1z`,fill:t}},{tag:`path`,attrs:{d:`M512 734.2c61.9 0 112.3-50.2 112.6-112.1v-.5c0-62.1-50.5-112.6-112.6-112.6s-112.6 50.5-112.6 112.6v.5c.3 61.9 50.7 112.1 112.6 112.1zm0-160.9c26.6 0 48.2 21.6 48.2 48.3 0 26.6-21.6 48.3-48.2 48.3s-48.2-21.6-48.2-48.3c0-26.6 21.6-48.3 48.2-48.3z`,fill:e}},{tag:`path`,attrs:{d:`M188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6v-.5c.3-6.4-6.7-10.8-12.3-7.4L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.5-3.4-12.6.9-12.2 7.3v.6L188.5 865zm147.8-377.7L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4H250.3l-53.8-409.4 139.8 86.1z`,fill:e}}]}},name:`crown`,theme:`twotone`};function xJ(){return xJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,xJ({},e,{ref:t,icon:oye}))),cye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384z`}}]},name:`customer-service`,theme:`filled`};function SJ(){return SJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SJ({},e,{ref:t,icon:cye}))),uye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384zM328 632v192H200V632h128zm496 192H696V632h128v192z`}}]},name:`customer-service`,theme:`outlined`};function CJ(){return CJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,CJ({},e,{ref:t,icon:uye}))),fye={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M696 632h128v192H696zm-496 0h128v192H200z`,fill:t}},{tag:`path`,attrs:{d:`M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384zM328 632v192H200V632h128zm496 192H696V632h128v192z`,fill:e}}]}},name:`customer-service`,theme:`twotone`};function wJ(){return wJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,wJ({},e,{ref:t,icon:fye}))),mye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M112 476h160v72H112zm320 0h160v72H432zm320 0h160v72H752z`}}]},name:`dash`,theme:`outlined`};function TJ(){return TJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TJ({},e,{ref:t,icon:mye}))),gye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM482 232c0-4.4 3.6-8 8-8h44c4.4 0 8 3.6 8 8v80c0 4.4-3.6 8-8 8h-44c-4.4 0-8-3.6-8-8v-80zM270 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44zm90.7-204.5l-31.1 31.1a8.03 8.03 0 01-11.3 0L261.7 352a8.03 8.03 0 010-11.3l31.1-31.1c3.1-3.1 8.2-3.1 11.3 0l56.6 56.6c3.1 3.1 3.1 8.2 0 11.3zm291.1 83.6l-84.5 84.5c5 18.7.2 39.4-14.5 54.1a55.95 55.95 0 01-79.2 0 55.95 55.95 0 010-79.2 55.87 55.87 0 0154.1-14.5l84.5-84.5c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3c3.1 3.1 3.1 8.1 0 11.3zm43-52.4l-31.1-31.1a8.03 8.03 0 010-11.3l56.6-56.6c3.1-3.1 8.2-3.1 11.3 0l31.1 31.1c3.1 3.1 3.1 8.2 0 11.3l-56.6 56.6a8.03 8.03 0 01-11.3 0zM846 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44z`}}]},name:`dashboard`,theme:`filled`};function EJ(){return EJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,EJ({},e,{ref:t,icon:gye}))),vye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276zM623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z`}}]},name:`dashboard`,theme:`outlined`};function DJ(){return DJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,DJ({},e,{ref:t,icon:vye}))),yye={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 188c-99.3 0-192.7 38.7-263 109-70.3 70.2-109 163.6-109 263 0 105.6 44.5 205.5 122.6 276h498.8A371.12 371.12 0 00884 560c0-99.3-38.7-192.7-109-263-70.2-70.3-163.6-109-263-109zm-30 44c0-4.4 3.6-8 8-8h44c4.4 0 8 3.6 8 8v80c0 4.4-3.6 8-8 8h-44c-4.4 0-8-3.6-8-8v-80zM270 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44zm90.7-204.4l-31.1 31.1a8.03 8.03 0 01-11.3 0l-56.6-56.6a8.03 8.03 0 010-11.3l31.1-31.1c3.1-3.1 8.2-3.1 11.3 0l56.6 56.6c3.1 3.1 3.1 8.2 0 11.3zm291.1 83.5l-84.5 84.5c5 18.7.2 39.4-14.5 54.1a55.95 55.95 0 01-79.2 0 55.95 55.95 0 010-79.2 55.87 55.87 0 0154.1-14.5l84.5-84.5c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3c3.1 3.1 3.1 8.2 0 11.3zm43-52.4l-31.1-31.1a8.03 8.03 0 010-11.3l56.6-56.6c3.1-3.1 8.2-3.1 11.3 0l31.1 31.1c3.1 3.1 3.1 8.2 0 11.3l-56.6 56.6a8.03 8.03 0 01-11.3 0zM846 538v44c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8z`,fill:t}},{tag:`path`,attrs:{d:`M623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8z`,fill:e}},{tag:`path`,attrs:{d:`M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276z`,fill:e}},{tag:`path`,attrs:{d:`M762.7 340.8l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zM750 538v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zM304.1 309.7a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`dashboard`,theme:`twotone`};function kJ(){return kJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,kJ({},e,{ref:t,icon:yye}))),xye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v224h704V96c0-17.7-14.3-32-32-32zM288 232c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zM160 928c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V704H160v224zm128-136c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM160 640h704V384H160v256zm128-168c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z`}}]},name:`database`,theme:`filled`};function AJ(){return AJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,AJ({},e,{ref:t,icon:xye}))),Cye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`database`,theme:`outlined`};function jJ(){return jJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jJ({},e,{ref:t,icon:Cye}))),wye={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M232 616h560V408H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 888h560V680H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 344h560V136H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z`,fill:t}},{tag:`path`,attrs:{d:`M304 512a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0-544a40 40 0 1080 0 40 40 0 10-80 0z`,fill:e}},{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z`,fill:e}}]}},name:`database`,theme:`twotone`};function NJ(){return NJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,NJ({},e,{ref:t,icon:wye}))),Eye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M651.1 641.9a7.84 7.84 0 00-5.1-1.9h-54.7c-2.4 0-4.6 1.1-6.1 2.9L512 730.7l-73.1-87.8a8.1 8.1 0 00-6.1-2.9H378c-1.9 0-3.7.7-5.1 1.9a7.97 7.97 0 00-1 11.3L474.2 776 371.8 898.9a8.06 8.06 0 006.1 13.2h54.7c2.4 0 4.6-1.1 6.1-2.9l73.1-87.8 73.1 87.8a8.1 8.1 0 006.1 2.9h55c1.9 0 3.7-.7 5.1-1.9 3.4-2.8 3.9-7.9 1-11.3L549.8 776l102.4-122.9c2.8-3.4 2.3-8.4-1.1-11.2zM472 544h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8zM350 386H184V136c0-3.3-2.7-6-6-6h-60c-3.3 0-6 2.7-6 6v292c0 16.6 13.4 30 30 30h208c3.3 0 6-2.7 6-6v-60c0-3.3-2.7-6-6-6zm556-256h-60c-3.3 0-6 2.7-6 6v250H674c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6h208c16.6 0 30-13.4 30-30V136c0-3.3-2.7-6-6-6z`}}]},name:`delete-column`,theme:`outlined`};function PJ(){return PJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PJ({},e,{ref:t,icon:Eye}))),Oye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-200 0H360v-72h304v72z`}}]},name:`delete`,theme:`filled`};function FJ(){return FJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,FJ({},e,{ref:t,icon:Oye}))),Aye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M819.8 512l102.4-122.9a8.06 8.06 0 00-6.1-13.2h-54.7c-2.4 0-4.6 1.1-6.1 2.9L782 466.7l-73.1-87.8a8.1 8.1 0 00-6.1-2.9H648c-1.9 0-3.7.7-5.1 1.9a7.97 7.97 0 00-1 11.3L744.2 512 641.8 634.9a8.06 8.06 0 006.1 13.2h54.7c2.4 0 4.6-1.1 6.1-2.9l73.1-87.8 73.1 87.8a8.1 8.1 0 006.1 2.9h55c1.9 0 3.7-.7 5.1-1.9 3.4-2.8 3.9-7.9 1-11.3L819.8 512zM536 464H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h416c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-84 204h-60c-3.3 0-6 2.7-6 6v166H136c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6h292c16.6 0 30-13.4 30-30V674c0-3.3-2.7-6-6-6zM136 184h250v166c0 3.3 2.7 6 6 6h60c3.3 0 6-2.7 6-6V142c0-16.6-13.4-30-30-30H136c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6z`}}]},name:`delete-row`,theme:`outlined`};function IJ(){return IJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,IJ({},e,{ref:t,icon:Aye}))),Mye={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M292.7 840h438.6l24.2-512h-487z`,fill:t}},{tag:`path`,attrs:{d:`M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z`,fill:e}}]}},name:`delete`,theme:`twotone`};function LJ(){return LJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LJ({},e,{ref:t,icon:Mye}))),Pye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z`}}]},name:`delivered-procedure`,theme:`outlined`};function RJ(){return RJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,RJ({},e,{ref:t,icon:Pye}))),Iye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z`}}]},name:`deployment-unit`,theme:`outlined`};function zJ(){return zJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,zJ({},e,{ref:t,icon:Iye}))),Rye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z`}}]},name:`desktop`,theme:`outlined`};function BJ(){return BJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BJ({},e,{ref:t,icon:Rye}))),Bye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.2 306.6L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23zM553.4 201.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM568 753c0 3.8-3.4 7-7.5 7h-225c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7h225c4.1 0 7.5 3.2 7.5 7v42zm0-220c0 3.8-3.4 7-7.5 7H476v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V540h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H420v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1V484h84.5c4.1 0 7.5 3.1 7.5 7v42z`}}]},name:`diff`,theme:`filled`};function VJ(){return VJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,VJ({},e,{ref:t,icon:Bye}))),Hye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M476 399.1c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1V484h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H420v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V540h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H476v-84.9zM560.5 704h-225c-4.1 0-7.5 3.2-7.5 7v42c0 3.8 3.4 7 7.5 7h225c4.1 0 7.5-3.2 7.5-7v-42c0-3.8-3.4-7-7.5-7zm-7.1-502.6c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM664 888H232V264h282.2L664 413.8V888zm190.2-581.4L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23z`}}]},name:`diff`,theme:`outlined`};function HJ(){return HJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,HJ({},e,{ref:t,icon:Hye}))),Wye={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M232 264v624h432V413.8L514.2 264H232zm336 489c0 3.8-3.4 7-7.5 7h-225c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7h225c4.1 0 7.5 3.2 7.5 7v42zm0-262v42c0 3.8-3.4 7-7.5 7H476v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V540h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H420v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1V484h84.5c4.1 0 7.5 3.1 7.5 7z`,fill:t}},{tag:`path`,attrs:{d:`M854.2 306.6L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23z`,fill:e}},{tag:`path`,attrs:{d:`M553.4 201.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM664 888H232V264h282.2L664 413.8V888z`,fill:e}},{tag:`path`,attrs:{d:`M476 399.1c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1V484h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H420v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V540h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H476v-84.9zM560.5 704h-225c-4.1 0-7.5 3.2-7.5 7v42c0 3.8 3.4 7 7.5 7h225c4.1 0 7.5-3.2 7.5-7v-42c0-3.8-3.4-7-7.5-7z`,fill:e}}]}},name:`diff`,theme:`twotone`};function UJ(){return UJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UJ({},e,{ref:t,icon:Wye}))),Kye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z`}}]},name:`dingding`,theme:`outlined`};function WJ(){return WJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,WJ({},e,{ref:t,icon:Kye}))),Jye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm227 385.3c-1 4.2-3.5 10.4-7 17.8h.1l-.4.7c-20.3 43.1-73.1 127.7-73.1 127.7s-.1-.2-.3-.5l-15.5 26.8h74.5L575.1 810l32.3-128h-58.6l20.4-84.7c-16.5 3.9-35.9 9.4-59 16.8 0 0-31.2 18.2-89.9-35 0 0-39.6-34.7-16.6-43.4 9.8-3.7 47.4-8.4 77-12.3 40-5.4 64.6-8.2 64.6-8.2S422 517 392.7 512.5c-29.3-4.6-66.4-53.1-74.3-95.8 0 0-12.2-23.4 26.3-12.3 38.5 11.1 197.9 43.2 197.9 43.2s-207.4-63.3-221.2-78.7c-13.8-15.4-40.6-84.2-37.1-126.5 0 0 1.5-10.5 12.4-7.7 0 0 153.3 69.7 258.1 107.9 104.8 37.9 195.9 57.3 184.2 106.7z`}}]},name:`dingtalk-circle`,theme:`filled`};function GJ(){return GJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,GJ({},e,{ref:t,icon:Jye}))),Xye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z`}}]},name:`dingtalk`,theme:`outlined`};function KJ(){return KJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KJ({},e,{ref:t,icon:Xye}))),Qye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM739 449.3c-1 4.2-3.5 10.4-7 17.8h.1l-.4.7c-20.3 43.1-73.1 127.7-73.1 127.7s-.1-.2-.3-.5l-15.5 26.8h74.5L575.1 810l32.3-128h-58.6l20.4-84.7c-16.5 3.9-35.9 9.4-59 16.8 0 0-31.2 18.2-89.9-35 0 0-39.6-34.7-16.6-43.4 9.8-3.7 47.4-8.4 77-12.3 40-5.4 64.6-8.2 64.6-8.2S422 517 392.7 512.5c-29.3-4.6-66.4-53.1-74.3-95.8 0 0-12.2-23.4 26.3-12.3 38.5 11.1 197.9 43.2 197.9 43.2s-207.4-63.3-221.2-78.7c-13.8-15.4-40.6-84.2-37.1-126.5 0 0 1.5-10.5 12.4-7.7 0 0 153.3 69.7 258.1 107.9 104.8 37.9 195.9 57.3 184.2 106.7z`}}]},name:`dingtalk-square`,theme:`filled`};function qJ(){return qJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,qJ({},e,{ref:t,icon:Qye}))),ebe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832.6 191.4c-84.6-84.6-221.5-84.6-306 0l-96.9 96.9 51 51 96.9-96.9c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204l-96.9 96.9 51.1 51.1 96.9-96.9c84.4-84.6 84.4-221.5-.1-306.1zM446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l96.9-96.9-51.1-51.1-96.9 96.9c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l96.9-96.9-51-51-96.8 97zM260.3 209.4a8.03 8.03 0 00-11.3 0L209.4 249a8.03 8.03 0 000 11.3l554.4 554.4c3.1 3.1 8.2 3.1 11.3 0l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3L260.3 209.4z`}}]},name:`disconnect`,theme:`outlined`};function JJ(){return JJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,JJ({},e,{ref:t,icon:ebe}))),nbe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M811.15 87c51.16 0 92.41 41.36 94.85 90.03V960l-97.4-82.68-53.48-48.67-58.35-50.85 24.37 80.2H210.41c-51 0-92.41-38.74-92.41-90.06V177.21c0-48.67 41.48-90.1 92.6-90.1h600.3zM588.16 294.1h-1.09l-7.34 7.28c75.38 21.8 111.85 55.86 111.85 55.86-48.58-24.28-92.36-36.42-136.14-41.32-31.64-4.91-63.28-2.33-90 0h-7.28c-17.09 0-53.45 7.27-102.18 26.7-16.98 7.39-26.72 12.22-26.72 12.22s36.43-36.42 116.72-55.86l-4.9-4.9s-60.8-2.33-126.44 46.15c0 0-65.64 114.26-65.64 255.13 0 0 36.36 63.24 136.11 65.64 0 0 14.55-19.37 29.27-36.42-56-17-77.82-51.02-77.82-51.02s4.88 2.4 12.19 7.27h2.18c1.09 0 1.6.54 2.18 1.09v.21c.58.59 1.09 1.1 2.18 1.1 12 4.94 24 9.8 33.82 14.53a297.58 297.58 0 0065.45 19.48c33.82 4.9 72.59 7.27 116.73 0 21.82-4.9 43.64-9.7 65.46-19.44 14.18-7.27 31.63-14.54 50.8-26.79 0 0-21.82 34.02-80.19 51.03 12 16.94 28.91 36.34 28.91 36.34 99.79-2.18 138.55-65.42 140.73-62.73 0-140.65-66-255.13-66-255.13-59.45-44.12-115.09-45.8-124.91-45.8l2.04-.72zM595 454c25.46 0 46 21.76 46 48.41 0 26.83-20.65 48.59-46 48.59s-46-21.76-46-48.37c.07-26.84 20.75-48.52 46-48.52zm-165.85 0c25.35 0 45.85 21.76 45.85 48.41 0 26.83-20.65 48.59-46 48.59s-46-21.76-46-48.37c0-26.84 20.65-48.52 46-48.52z`}}]},name:`discord`,theme:`filled`};function YJ(){return YJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YJ({},e,{ref:t,icon:nbe}))),ibe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M405 158l-25 3s-112.13 12.26-194.02 78.02h-.96l-1.02.96c-18.37 16.9-26.37 37.67-39 68.04a982.08 982.08 0 00-38 112C83.27 505.87 64 609.87 64 705v8l4 8c29.63 52 82.24 85.12 131 108 48.74 22.88 90.89 35 120 36l19.02.99 9.98-17 35-62c37.13 8.38 79.88 14 129 14 49.12 0 91.87-5.62 129-14l35 62 10.02 17 18.97-1c29.12-.98 71.27-13.11 120-36 48.77-22.87 101.38-56 131.01-108l4-8v-8c0-95.13-19.26-199.13-43-284.98a982.08 982.08 0 00-38-112c-12.63-30.4-20.63-51.14-39-68l-1-1.03h-1.02C756.16 173.26 644 161.01 644 161.01L619 158l-9.02 23s-9.24 23.37-14.97 50.02a643.04 643.04 0 00-83.01-6.01c-17.12 0-46.72 1.12-83 6.01a359.85 359.85 0 00-15.02-50.01zm-44 73.02c1.37 4.48 2.74 8.36 4 12-41.38 10.24-85.51 25.86-126 50.98l34 54.02C356 296.5 475.22 289 512 289c36.74 0 156 7.49 239 59L785 294c-40.49-25.12-84.62-40.74-126-51 1.26-3.62 2.63-7.5 4-12 29.86 6 86.89 19.77 134 57.02-.26.12 12 18.62 23 44.99 11.26 27.13 23.74 63.26 35 104 21.64 78.11 38.63 173.25 40 256.99-20.15 30.75-57.5 58.5-97.02 77.02A311.8 311.8 0 01720 795.98l-16-26.97c9.5-3.52 18.88-7.36 27-11.01 49.26-21.63 76-45 76-45l-42-48s-18 16.52-60 35.02C663.03 718.52 598.87 737 512 737s-151-18.5-193-37c-42-18.49-60-35-60-35l-42 48s26.74 23.36 76 44.99a424.47 424.47 0 0027 11l-16 27.02a311.8 311.8 0 01-78.02-25.03c-39.48-18.5-76.86-46.24-96.96-76.99 1.35-83.74 18.34-178.88 40-257A917.22 917.22 0 01204 333c11-26.36 23.26-44.86 23-44.98 47.11-37.25 104.14-51.01 134-57m39 217.99c-24.74 0-46.62 14.11-60 32-13.38 17.89-20 39.87-20 64s6.62 46.11 20 64c13.38 17.89 35.26 32 60 32 24.74 0 46.62-14.11 60-32 13.38-17.89 20-39.87 20-64s-6.62-46.11-20-64c-13.38-17.89-35.26-32-60-32m224 0c-24.74 0-46.62 14.11-60 32-13.38 17.89-20 39.87-20 64s6.62 46.11 20 64c13.38 17.89 35.26 32 60 32 24.74 0 46.62-14.11 60-32 13.38-17.89 20-39.87 20-64s-6.62-46.11-20-64c-13.38-17.89-35.26-32-60-32m-224 64c1.76 0 4 .64 8 6.01 4 5.35 8 14.72 8 25.99 0 11.26-4 20.64-8 26.01-4 5.35-6.24 5.99-8 5.99-1.76 0-4-.64-8-6.02a44.83 44.83 0 01-8-25.98c0-11.27 4-20.64 8-26.02 4-5.34 6.24-5.98 8-5.98m224 0c1.76 0 4 .64 8 6.01 4 5.35 8 14.72 8 25.99 0 11.26-4 20.64-8 26.01-4 5.35-6.24 5.99-8 5.99-1.76 0-4-.64-8-6.02a44.83 44.83 0 01-8-25.98c0-11.27 4-20.64 8-26.02 4-5.34 6.24-5.98 8-5.98`}}]},name:`discord`,theme:`outlined`};function XJ(){return XJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,XJ({},e,{ref:t,icon:ibe}))),obe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H273v428h.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM112 132v364c0 17.7 14.3 32 32 32h65V100h-65c-17.7 0-32 14.3-32 32z`}}]},name:`dislike`,theme:`filled`};function ZJ(){return ZJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,ZJ({},e,{ref:t,icon:obe}))),cbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z`}}]},name:`dislike`,theme:`outlined`};function QJ(){return QJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QJ({},e,{ref:t,icon:cbe}))),ube={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M273 100.1v428h.3l-.3-428zM820.4 525l-21.9-19 14-25.5a56.2 56.2 0 006.9-27.3c0-16.5-7.1-32.2-19.6-43l-21.9-19 13.9-25.4a56.2 56.2 0 006.9-27.3c0-16.5-7.1-32.2-19.6-43l-21.9-19 13.9-25.4a56.2 56.2 0 006.9-27.3c0-22.4-13.2-42.6-33.6-51.8H345v345.2c18.6 67.2 46.4 168 83.5 302.5a44.28 44.28 0 0042.2 32.3c7.5.1 15-2.2 21.1-6.7 9.9-7.4 15.2-18.6 14.6-30.5l-9.6-198.4h314.4C829 605.5 840 587.1 840 568c0-16.5-7.1-32.2-19.6-43z`,fill:t}},{tag:`path`,attrs:{d:`M112 132v364c0 17.7 14.3 32 32 32h65V100h-65c-17.7 0-32 14.3-32 32zm773.9 358.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H273l.3 428 85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zm-74.7 126.1H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3c-37.1-134.4-64.9-235.2-83.5-302.5V172h399.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z`,fill:e}}]}},name:`dislike`,theme:`twotone`};function $J(){return $J=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$J({},e,{ref:t,icon:ube}))),fbe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M555.88 488.24h-92.62v-82.79h92.62zm0-286.24h-92.62v85.59h92.62zm109.45 203.45H572.7v82.79h92.62zm-218.9-101.02h-92.61v84.18h92.6zm109.45 0h-92.61v84.18h92.6zm388.69 140.3c-19.65-14.02-67.36-18.23-102.44-11.22-4.2-33.67-23.85-63.14-57.53-89.8l-19.65-12.62-12.62 19.64c-25.26 39.29-32.28 103.83-5.62 145.92-12.63 7.02-36.48 15.44-67.35 15.44H67.56c-12.63 71.56 8.42 164.16 61.74 227.3C181.22 801.13 259.8 832 360.83 832c220.3 0 384.48-101.02 460.25-286.24 29.47 0 95.42 0 127.7-63.14 1.4-2.8 9.82-18.24 11.22-23.85zm-717.04-39.28h-92.61v82.79h92.6zm109.45 0h-92.61v82.79h92.6zm109.45 0h-92.61v82.79h92.6zM336.98 304.43h-92.61v84.19h92.6z`}}]},name:`docker`,theme:`outlined`};function eY(){return eY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,eY({},e,{ref:t,icon:fbe}))),mbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm22.3 665.2l.2 31.7c0 4.4-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4C401.3 723 359.5 672.4 355 617.4c-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.7 29.8 55.4 74.1 61.3V533.9l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-72.9 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.9 46.9 125.9 109.2.5 4.7-3.2 8.8-8 8.8h-44.9c-4 0-7.4-3-7.9-6.9-4-29.2-27.4-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 108.9 116.4 0 75.3-56 117.3-134.3 124.1zM426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-36.9 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.8-.6-5.6-1.3-8.8-2.2V677c42.6-3.8 72-27.2 72-66.4 0-30.7-15.9-50.7-63.2-65.1z`}}]},name:`dollar-circle`,theme:`filled`};function tY(){return tY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tY({},e,{ref:t,icon:mbe}))),gbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm47.7-395.2l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z`}}]},name:`dollar-circle`,theme:`outlined`};function nY(){return nY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,nY({},e,{ref:t,icon:gbe}))),vbe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-37 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.9-.6-5.7-1.3-8.8-2.2V677c42.6-3.8 72-27.3 72-66.4 0-30.7-15.9-50.7-63.2-65.1z`,fill:t}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm22.4 589.2l.2 31.7c0 4.5-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4c-89-6.5-130.7-57.1-135.2-112.1-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.8 29.9 55.4 74.1 61.3V534l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-73 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.8 46.9 125.9 109.2a8.1 8.1 0 01-8 8.8h-44.9c-4 0-7.4-2.9-7.9-6.9-4-29.2-27.5-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 109 116.4 0 75.2-56 117.1-134.3 124z`,fill:t}},{tag:`path`,attrs:{d:`M559.7 488.8l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z`,fill:e}}]}},name:`dollar-circle`,theme:`twotone`};function rY(){return rY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,rY({},e,{ref:t,icon:vbe}))),bbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm47.7-395.2l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z`}}]},name:`dollar`,theme:`outlined`};function iY(){return iY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iY({},e,{ref:t,icon:bbe}))),xbe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-37 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.9-.6-5.7-1.3-8.8-2.2V677c42.6-3.8 72-27.3 72-66.4 0-30.7-15.9-50.7-63.2-65.1z`,fill:t}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm22.4 589.2l.2 31.7c0 4.5-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4c-89-6.5-130.7-57.1-135.2-112.1-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.8 29.9 55.4 74.1 61.3V534l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-73 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.8 46.9 125.9 109.2a8.1 8.1 0 01-8 8.8h-44.9c-4 0-7.4-2.9-7.9-6.9-4-29.2-27.5-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 109 116.4 0 75.2-56 117.1-134.3 124z`,fill:t}},{tag:`path`,attrs:{d:`M559.7 488.8l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z`,fill:e}}]}},name:`dollar`,theme:`twotone`};function oY(){return oY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,oY({},e,{ref:t,icon:xbe}))),Cbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`dot-chart`,theme:`outlined`};function sY(){return sY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sY({},e,{ref:t,icon:Cbe}))),Tbe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`g`,attrs:{"fill-opacity":`.88`},children:[{tag:`path`,attrs:{d:`M101.28 662c-10.65 0-19.53-3.3-26.63-9.89-7.1-6.6-10.65-14.7-10.65-24.32 0-9.89 3.65-18 10.96-24.31 7.3-6.32 16.42-9.48 27.35-9.48 11.06 0 20.1 3.2 27.14 9.58 7.03 6.39 10.55 14.46 10.55 24.21 0 10.03-3.58 18.24-10.76 24.63-7.17 6.39-16.49 9.58-27.96 9.58M458 657h-66.97l-121.4-185.35c-7.13-10.84-12.06-19-14.8-24.48h-.82c1.1 10.42 1.65 26.33 1.65 47.72V657H193V362h71.49l116.89 179.6a423.23 423.23 0 0114.79 24.06h.82c-1.1-6.86-1.64-20.37-1.64-40.53V362H458zM702 657H525V362h170.2v54.1H591.49v65.63H688v53.9h-96.52v67.47H702zM960 416.1h-83.95V657h-66.5V416.1H726V362h234z`}}]}]},name:`dot-net`,theme:`outlined`};function cY(){return cY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,cY({},e,{ref:t,icon:Tbe}))),Dbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm184.5 353.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7H381c10.2 0 19.9 4.9 25.9 13.2L512 563.6l105.2-145.4c6-8.3 15.6-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.5 12.7z`}}]},name:`down-circle`,theme:`filled`};function lY(){return lY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,lY({},e,{ref:t,icon:Dbe}))),kbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`down-circle`,theme:`outlined`};function uY(){return uY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uY({},e,{ref:t,icon:kbe}))),jbe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm184.4 277.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.3 0 19.9 4.9 25.9 13.2L512 563.6l105.2-145.4c6-8.3 15.7-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.4 12.7z`,fill:t}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z`,fill:e}}]}},name:`down-circle`,theme:`twotone`};function dY(){return dY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,dY({},e,{ref:t,icon:jbe}))),Nbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM696.5 412.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7H381c10.2 0 19.9 4.9 25.9 13.2L512 558.6l105.2-145.4c6-8.3 15.6-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.5 12.7z`}}]},name:`down-square`,theme:`filled`};function fY(){return fY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,fY({},e,{ref:t,icon:Nbe}))),Fbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M505.5 658.7c3.2 4.4 9.7 4.4 12.9 0l178-246c3.8-5.3 0-12.7-6.5-12.7H643c-10.2 0-19.9 4.9-25.9 13.2L512 558.6 406.8 413.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`down-square`,theme:`outlined`};function pY(){return pY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pY({},e,{ref:t,icon:Fbe}))),Lbe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm150-440h46.9c10.3 0 19.9 4.9 25.9 13.2L512 558.6l105.2-145.4c6-8.3 15.7-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.4 12.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7z`,fill:t}},{tag:`path`,attrs:{d:`M505.5 658.7c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 558.6 406.8 413.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246z`,fill:e}}]}},name:`down-square`,theme:`twotone`};function mY(){return mY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,mY({},e,{ref:t,icon:Lbe}))),zbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z`}}]},name:`drag`,theme:`outlined`};function hY(){return hY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,hY({},e,{ref:t,icon:zbe}))),Vbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M675.1 328.3a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6zm47.7-11.9c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 736c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm53.1-346.2c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm30.6 82.5c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4z`}}]},name:`dribbble-circle`,theme:`filled`};function gY(){return gY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gY({},e,{ref:t,icon:Vbe}))),Ube={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 96C282.6 96 96 282.6 96 512s186.6 416 416 416 416-186.6 416-416S741.4 96 512 96zm275.1 191.8c49.5 60.5 79.5 137.5 80.2 221.4-11.7-2.5-129.2-26.3-247.4-11.4-2.5-6.1-5-12.2-7.6-18.3-7.4-17.3-15.3-34.6-23.6-51.5C720 374.3 779.6 298 787.1 287.8zM512 157.2c90.3 0 172.8 33.9 235.5 89.5-6.4 9.1-59.9 81-186.2 128.4-58.2-107-122.7-194.8-132.6-208 27.3-6.6 55.2-9.9 83.3-9.9zM360.9 191c9.4 12.8 72.9 100.9 131.7 205.5C326.4 440.6 180 440 164.1 439.8c23.1-110.3 97.4-201.9 196.8-248.8zM156.7 512.5c0-3.6.1-7.3.2-10.9 15.5.3 187.7 2.5 365.2-50.6 10.2 19.9 19.9 40.1 28.8 60.3-4.7 1.3-9.4 2.7-14 4.2C353.6 574.9 256.1 736.4 248 750.1c-56.7-63-91.3-146.3-91.3-237.6zM512 867.8c-82.2 0-157.9-28-218.1-75 6.4-13.1 78.3-152 278.7-221.9l2.3-.8c49.9 129.6 70.5 238.3 75.8 269.5A350.46 350.46 0 01512 867.8zm198.5-60.7c-3.6-21.6-22.5-125.6-69-253.3C752.9 536 850.7 565.2 862.8 569c-15.8 98.8-72.5 184.2-152.3 238.1z`}}]},name:`dribbble`,theme:`outlined`};function _Y(){return _Y=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_Y({},e,{ref:t,icon:Ube}))),Gbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm66.5 21.8c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM512 800c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm89.7-259.1c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zm-72.5-26.4c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4zm145.9-186.2a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6z`}}]},name:`dribbble-square`,theme:`filled`};function vY(){return vY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,vY({},e,{ref:t,icon:Gbe}))),qbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm66.5 21.8c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM512 800c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm89.7-259.1c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zm-72.5-26.4c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4zm145.9-186.2a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6z`}}]},name:`dribbble-square`,theme:`outlined`};function yY(){return yY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yY({},e,{ref:t,icon:qbe}))),Ybe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M663.8 455.5zm-151.5-93.8l-151.8 93.8 151.8 93.9 151.5-93.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm151.2 595.5L512.6 750l-151-90.5v-33.1l45.4 29.4 105.6-87.7 105.6 87.7 45.1-29.4v33.1zm-45.6-22.4l-105.3-87.7L407 637.1l-151-99.2 104.5-82.4L256 371.2 407 274l105.3 87.7L617.6 274 768 372.1l-104.2 83.5L768 539l-150.4 98.1z`}}]},name:`dropbox-circle`,theme:`filled`};function bY(){return bY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,bY({},e,{ref:t,icon:Ybe}))),Zbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M64 556.9l264.2 173.5L512.5 577 246.8 412.7zm896-290.3zm0 0L696.8 95 512.5 248.5l265.2 164.2L512.5 577l184.3 153.4L960 558.8 777.7 412.7zM513 609.8L328.2 763.3l-79.4-51.5v57.8L513 928l263.7-158.4v-57.8l-78.9 51.5zM328.2 95L64 265.1l182.8 147.6 265.7-164.2zM64 556.9z`}}]},name:`dropbox`,theme:`outlined`};function xY(){return xY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,xY({},e,{ref:t,icon:Zbe}))),$be={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM663.2 659.5L512.6 750l-151-90.5v-33.1l45.4 29.4 105.6-87.7 105.6 87.7 45.1-29.4v33.1zm-45.6-22.4l-105.3-87.7L407 637.1l-151-99.2 104.5-82.4L256 371.2 407 274l105.3 87.7L617.6 274 768 372.1l-104.2 83.5L768 539l-150.4 98.1zM512.3 361.7l-151.8 93.8 151.8 93.9 151.5-93.9zm151.5 93.8z`}}]},name:`dropbox-square`,theme:`filled`};function SY(){return SY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SY({},e,{ref:t,icon:$be}))),txe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z`}}]},name:`edit`,theme:`filled`};function CY(){return CY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,CY({},e,{ref:t,icon:txe}))),rxe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M761.1 288.3L687.8 215 325.1 577.6l-15.6 89 88.9-15.7z`,fill:t}},{tag:`path`,attrs:{d:`M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89z`,fill:e}}]}},name:`edit`,theme:`twotone`};function wY(){return wY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,wY({},e,{ref:t,icon:rxe}))),axe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 327c-29.9 0-58 11.6-79.2 32.8A111.6 111.6 0 00400 439c0 29.9 11.7 58 32.8 79.2A111.6 111.6 0 00512 551c29.9 0 58-11.7 79.2-32.8C612.4 497 624 468.9 624 439c0-29.9-11.6-58-32.8-79.2S541.9 327 512 327zm342.6-37.9a362.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 615c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z`}}]},name:`environment`,theme:`filled`};function TY(){return TY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TY({},e,{ref:t,icon:axe}))),sxe={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`};function EY(){return EY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,EY({},e,{ref:t,icon:sxe}))),lxe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M724.4 224.9C667.7 169.5 592.3 139 512 139s-155.7 30.5-212.4 85.8C243.1 280 212 353.2 212 431.1c0 241.3 234.1 407.2 300 449.1 65.9-41.9 300-207.8 300-449.1 0-77.9-31.1-151.1-87.6-206.2zM512 615c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z`,fill:t}},{tag:`path`,attrs:{d:`M512 263c-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.8S624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z`,fill:e}},{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.1z`,fill:e}}]}},name:`environment`,theme:`twotone`};function DY(){return DY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,DY({},e,{ref:t,icon:lxe}))),dxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm63.5 375.8c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8h-136c-.3 4.4-.3 9.1-.3 13.8v36h136.2c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H444.9c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.2 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.3 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H344c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.8.3-12.8H344c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.7c19.7-94.2 92-149.9 198.6-149.9 20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346h.1c0 5.1-4.6 8.8-9.6 7.8-14.7-2.9-31.8-4.4-51.7-4.4-65.4 0-110.4 33.5-127.6 90.4h128.4z`}}]},name:`euro-circle`,theme:`filled`};function OY(){return OY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OY({},e,{ref:t,icon:dxe}))),pxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm117.7-588.6c-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H344c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H344c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H439.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H447.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8z`}}]},name:`euro-circle`,theme:`outlined`};function kY(){return kY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,kY({},e,{ref:t,icon:pxe}))),hxe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm117.1 581.1c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.4 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.7.3-12.8H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.8C388.5 345.7 460.7 290 567.4 290c20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346a8 8 0 01-9.6 7.8c-14.6-2.9-31.8-4.4-51.7-4.4-65.3 0-110.4 33.5-127.6 90.4h128.3c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8H432.5c-.3 4.4-.3 9.1-.3 13.8v36h136.4c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H438c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.3 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8z`,fill:t}},{tag:`path`,attrs:{d:`M619.6 670.5c-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H432.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H440.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H337c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H337c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8z`,fill:e}}]}},name:`euro-circle`,theme:`twotone`};function AY(){return AY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,AY({},e,{ref:t,icon:hxe}))),_xe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm117.7-588.6c-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H344c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H344c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H439.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H447.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8z`}}]},name:`euro`,theme:`outlined`};function jY(){return jY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jY({},e,{ref:t,icon:_xe}))),yxe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm117.1 581.1c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.4 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.7.3-12.8H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.8C388.5 345.7 460.7 290 567.4 290c20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346a8 8 0 01-9.6 7.8c-14.6-2.9-31.8-4.4-51.7-4.4-65.3 0-110.4 33.5-127.6 90.4h128.3c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8H432.5c-.3 4.4-.3 9.1-.3 13.8v36h136.4c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H438c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.3 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8z`,fill:t}},{tag:`path`,attrs:{d:`M619.6 670.5c-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H432.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H440.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H337c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H337c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8z`,fill:e}}]}},name:`euro`,theme:`twotone`};function MY(){return MY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,MY({},e,{ref:t,icon:yxe}))),xxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5zM640 812a32 32 0 1064 0 32 32 0 10-64 0zm12-64h40c4.4 0 8-3.6 8-8V628c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v112c0 4.4 3.6 8 8 8zM440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`exception`,theme:`outlined`};function NY(){return NY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,NY({},e,{ref:t,icon:xxe}))),Cxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z`}}]},name:`exclamation-circle`,theme:`outlined`};function PY(){return PY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PY({},e,{ref:t,icon:Cxe}))),wxe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-32 156c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`,fill:t}},{tag:`path`,attrs:{d:`M488 576h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8zm-24 112a48 48 0 1096 0 48 48 0 10-96 0z`,fill:e}}]}},name:`exclamation-circle`,theme:`twotone`};function IY(){return IY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,IY({},e,{ref:t,icon:wxe}))),Exe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M448 804a64 64 0 10128 0 64 64 0 10-128 0zm32-168h64c4.4 0 8-3.6 8-8V164c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z`}}]},name:`exclamation`,theme:`outlined`};function LY(){return LY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LY({},e,{ref:t,icon:Exe}))),Oxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z`}}]},name:`expand-alt`,theme:`outlined`};function RY(){return RY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,RY({},e,{ref:t,icon:Oxe}))),zY={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M342 88H120c-17.7 0-32 14.3-32 32v224c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V168h174c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zm578 576h-48c-8.8 0-16 7.2-16 16v176H682c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h222c17.7 0 32-14.3 32-32V680c0-8.8-7.2-16-16-16zM342 856H168V680c0-8.8-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16v224c0 17.7 14.3 32 32 32h222c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zM904 88H682c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h174v176c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V120c0-17.7-14.3-32-32-32z`}}]},name:`expand`,theme:`outlined`};function BY(){return BY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BY({},e,{ref:t,icon:zY}))),jxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M218.9 636.3l42.6 26.6c.1.1.3.2.4.3l12.7 8 .3.3a186.9 186.9 0 0094.1 25.1c44.9 0 87.2-15.7 121-43.8a256.27 256.27 0 01164.9-59.9c52.3 0 102.2 15.7 144.6 44.5l7.9 5-111.6-289V179.8h63.5c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8H264.7c-4.4 0-8 3.6-8 8v51.9c0 4.4 3.6 8 8 8h63.5v173.6L218.9 636.3zm333-203.1c22 0 39.9 17.9 39.9 39.9S573.9 513 551.9 513 512 495.1 512 473.1s17.9-39.9 39.9-39.9zM878 825.1l-29.9-77.4-85.7-53.5-.1.1c-.7-.5-1.5-1-2.2-1.5l-8.1-5-.3-.3c-29-17.5-62.3-26.8-97-26.8-44.9 0-87.2 15.7-121 43.8a256.27 256.27 0 01-164.9 59.9c-53 0-103.5-16.1-146.2-45.6l-28.9-18.1L146 825.1c-2.8 7.4-4.3 15.2-4.3 23 0 35.2 28.6 63.8 63.8 63.8h612.9c7.9 0 15.7-1.5 23-4.3a63.6 63.6 0 0036.6-82.5z`}}]},name:`experiment`,theme:`filled`};function VY(){return VY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,VY({},e,{ref:t,icon:jxe}))),Nxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 472a40 40 0 1080 0 40 40 0 10-80 0zm367 352.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.7-107.8c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1L813.5 844h-603z`}}]},name:`experiment`,theme:`outlined`};function HY(){return HY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,HY({},e,{ref:t,icon:Nxe}))),Pxe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M551.9 513c19.6 0 35.9-14.2 39.3-32.8A40.02 40.02 0 01552 512a40 40 0 01-40-39.4v.5c0 22 17.9 39.9 39.9 39.9zM752 687.8l-.3-.3c-29-17.5-62.3-26.8-97-26.8-44.9 0-87.2 15.7-121 43.8a256.27 256.27 0 01-164.9 59.9c-41.2 0-81-9.8-116.7-28L210.5 844h603l-59.9-155.2-1.6-1z`,fill:t}},{tag:`path`,attrs:{d:`M879 824.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.6-107.6.1-.2c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1l.6 1.6L813.5 844h-603z`,fill:e}},{tag:`path`,attrs:{d:`M552 512c19.3 0 35.4-13.6 39.2-31.8.6-2.7.8-5.4.8-8.2 0-22.1-17.9-40-40-40s-40 17.9-40 40v.6a40 40 0 0040 39.4z`,fill:e}}]}},name:`experiment`,theme:`twotone`};function WY(){return WY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,WY({},e,{ref:t,icon:Pxe}))),Ixe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z`}}]},name:`export`,theme:`outlined`};function GY(){return GY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,GY({},e,{ref:t,icon:Ixe}))),Rxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M396 512a112 112 0 10224 0 112 112 0 10-224 0zm546.2-25.8C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM508 688c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z`}}]},name:`eye`,theme:`filled`};function KY(){return KY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KY({},e,{ref:t,icon:Rxe}))),Bxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M508 624a112 112 0 00112-112c0-3.28-.15-6.53-.43-9.74L498.26 623.57c3.21.28 6.45.43 9.74.43zm370.72-458.44L836 122.88a8 8 0 00-11.31 0L715.37 232.23Q624.91 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.7 119.43 136.55 191.45L112.56 835a8 8 0 000 11.31L155.25 889a8 8 0 0011.31 0l712.16-712.12a8 8 0 000-11.32zM332 512a176 176 0 01258.88-155.28l-48.62 48.62a112.08 112.08 0 00-140.92 140.92l-48.62 48.62A175.09 175.09 0 01332 512z`}},{tag:`path`,attrs:{d:`M942.2 486.2Q889.4 375 816.51 304.85L672.37 449A176.08 176.08 0 01445 676.37L322.74 798.63Q407.82 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5z`}}]},name:`eye-invisible`,theme:`filled`};function qY(){return qY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,qY({},e,{ref:t,icon:Bxe}))),Hxe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M254.89 758.85l125.57-125.57a176 176 0 01248.82-248.82L757 256.72Q651.69 186.07 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q69.27 145.91 173.09 221.05zM942.2 486.2Q889.46 375.11 816.7 305L672.48 449.27a176.09 176.09 0 01-227.22 227.21L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5z`,fill:t}},{tag:`path`,attrs:{d:`M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zM878.63 165.56L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z`,fill:e}},{tag:`path`,attrs:{d:`M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z`,fill:e}}]}},name:`eye-invisible`,theme:`twotone`};function JY(){return JY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,JY({},e,{ref:t,icon:Hxe}))),Wxe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M81.8 537.8a60.3 60.3 0 010-51.5C176.6 286.5 319.8 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c-192.1 0-335.4-100.5-430.2-300.2z`,fill:t}},{tag:`path`,attrs:{d:`M512 258c-161.3 0-279.4 81.8-362.7 254C232.6 684.2 350.7 766 512 766c161.4 0 279.5-81.8 362.7-254C791.4 339.8 673.3 258 512 258zm-4 430c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z`,fill:t}},{tag:`path`,attrs:{d:`M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258s279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766z`,fill:e}},{tag:`path`,attrs:{d:`M508 336c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z`,fill:e}}]}},name:`eye`,theme:`twotone`};function YY(){return YY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YY({},e,{ref:t,icon:Wxe}))),Kxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-92.4 233.5h-63.9c-50.1 0-59.8 23.8-59.8 58.8v77.1h119.6l-15.6 120.7h-104V912H539.2V602.2H434.9V481.4h104.3v-89c0-103.3 63.1-159.6 155.3-159.6 44.2 0 82.1 3.3 93.2 4.8v107.9z`}}]},name:`facebook`,theme:`filled`};function XY(){return XY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,XY({},e,{ref:t,icon:Kxe}))),Jxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-32 736H663.9V602.2h104l15.6-120.7H663.9v-77.1c0-35 9.7-58.8 59.8-58.8h63.9v-108c-11.1-1.5-49-4.8-93.2-4.8-92.2 0-155.3 56.3-155.3 159.6v89H434.9v120.7h104.3V848H176V176h672v672z`}}]},name:`facebook`,theme:`outlined`};function ZY(){return ZY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,ZY({},e,{ref:t,icon:Jxe}))),Xxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M925.9 804l-24-199.2c-.8-6.6-8.9-9.4-13.6-4.7L829 659.5 557.7 388.3c-6.3-6.2-16.4-6.2-22.6 0L433.3 490 156.6 213.3a8.03 8.03 0 00-11.3 0l-45 45.2a8.03 8.03 0 000 11.3L422 591.7c6.2 6.3 16.4 6.3 22.6 0L546.4 490l226.1 226-59.3 59.3a8.01 8.01 0 004.7 13.6l199.2 24c5.1.7 9.5-3.7 8.8-8.9z`}}]},name:`fall`,theme:`outlined`};function QY(){return QY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QY({},e,{ref:t,icon:Xxe}))),Qxe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M517.6 273.5L230.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm320 0L550.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm-620-25.5h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z`}}]},name:`fast-backward`,theme:`filled`};function $Y(){return $Y=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$Y({},e,{ref:t,icon:Qxe}))),eSe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M517.6 273.5L230.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm320 0L550.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm-620-25.5h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z`}}]},name:`fast-backward`,theme:`outlined`};function eX(){return eX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,eX({},e,{ref:t,icon:eSe}))),nSe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M793.8 499.3L506.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.6c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8a16.14 16.14 0 000-25.4zm-320 0L186.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.5c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8c4.1-3.2 6.2-8 6.2-12.7 0-4.6-2.1-9.4-6.2-12.6zM857.6 248h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z`}}]},name:`fast-forward`,theme:`filled`};function tX(){return tX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tX({},e,{ref:t,icon:nSe}))),iSe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M793.8 499.3L506.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.6c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8a16.14 16.14 0 000-25.4zm-320 0L186.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.5c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8c4.1-3.2 6.2-8 6.2-12.7 0-4.6-2.1-9.4-6.2-12.6zM857.6 248h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z`}}]},name:`fast-forward`,theme:`outlined`};function nX(){return nX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,nX({},e,{ref:t,icon:iSe}))),oSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M600 395.4h91V649h79V267c0-4.4-3.6-8-8-8h-48.2c-3.7 0-7 2.6-7.7 6.3-2.6 12.1-6.9 22.3-12.9 30.9a86.14 86.14 0 01-26.3 24.4c-10.3 6.2-22 10.5-35 12.9-10.4 1.9-21 3-32 3.1a8 8 0 00-7.9 8v42.8c0 4.4 3.6 8 8 8zM871 702H567c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM443.9 312.7c-16.1-19-34.4-32.4-55.2-40.4-21.3-8.2-44.1-12.3-68.4-12.3-23.9 0-46.4 4.1-67.7 12.3-20.8 8-39 21.4-54.8 40.3-15.9 19.1-28.7 44.7-38.3 77-9.6 32.5-14.5 73-14.5 121.5 0 49.9 4.9 91.4 14.5 124.4 9.6 32.8 22.4 58.7 38.3 77.7 15.8 18.9 34 32.3 54.8 40.3 21.3 8.2 43.8 12.3 67.7 12.3 24.4 0 47.2-4.1 68.4-12.3 20.8-8 39.2-21.4 55.2-40.4 16.1-19 29-44.9 38.6-77.7 9.6-33 14.5-74.5 14.5-124.4 0-48.4-4.9-88.9-14.5-121.5-9.5-32.1-22.4-57.7-38.6-76.8zm-29.5 251.7c-1 21.4-4.2 42-9.5 61.9-5.5 20.7-14.5 38.5-27 53.4-13.6 16.3-33.2 24.3-57.6 24.3-24 0-43.2-8.1-56.7-24.4-12.2-14.8-21.1-32.6-26.6-53.3-5.3-19.9-8.5-40.6-9.5-61.9-1-20.8-1.5-38.5-1.5-53.2 0-8.8.1-19.4.4-31.8.2-12.7 1.1-25.8 2.6-39.2 1.5-13.6 4-27.1 7.6-40.5 3.7-13.8 8.8-26.3 15.4-37.4 6.9-11.6 15.8-21.1 26.7-28.3 11.4-7.6 25.3-11.3 41.5-11.3 16.1 0 30.1 3.7 41.7 11.2a87.94 87.94 0 0127.4 28.2c6.9 11.2 12.1 23.8 15.6 37.7 3.3 13.2 5.8 26.6 7.5 40.1 1.8 13.5 2.8 26.6 3 39.4.2 12.4.4 23 .4 31.8.1 14.8-.4 32.5-1.4 53.3z`}}]},name:`field-binary`,theme:`outlined`};function rX(){return rX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,rX({},e,{ref:t,icon:oSe}))),cSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M508 280h-63.3c-3.3 0-6 2.7-6 6v340.2H433L197.4 282.6c-1.1-1.6-3-2.6-4.9-2.6H126c-3.3 0-6 2.7-6 6v464c0 3.3 2.7 6 6 6h62.7c3.3 0 6-2.7 6-6V405.1h5.7l238.2 348.3c1.1 1.6 3 2.6 5 2.6H508c3.3 0 6-2.7 6-6V286c0-3.3-2.7-6-6-6zm378 413H582c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-152.2-63c52.9 0 95.2-17.2 126.2-51.7 29.4-32.9 44-75.8 44-128.8 0-53.1-14.6-96.5-44-129.3-30.9-34.8-73.2-52.2-126.2-52.2-53.7 0-95.9 17.5-126.3 52.8-29.2 33.1-43.4 75.9-43.4 128.7 0 52.4 14.3 95.2 43.5 128.3 30.6 34.7 73 52.2 126.2 52.2zm-71.5-263.7c16.9-20.6 40.3-30.9 71.4-30.9 31.5 0 54.8 9.6 71 29.1 16.4 20.3 24.9 48.6 24.9 84.9 0 36.3-8.4 64.1-24.8 83.9-16.5 19.4-40 29.2-71.1 29.2-31.2 0-55-10.3-71.4-30.4-16.3-20.1-24.5-47.3-24.5-82.6.1-35.8 8.2-63 24.5-83.2z`}}]},name:`field-number`,theme:`outlined`};function iX(){return iX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iX({},e,{ref:t,icon:cSe}))),uSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M875.6 515.9c2.1.8 4.4-.3 5.2-2.4.2-.4.2-.9.2-1.4v-58.3c0-1.8-1.1-3.3-2.8-3.8-6-1.8-17.2-3-27.2-3-32.9 0-61.7 16.7-73.5 41.2v-28.6c0-4.4-3.6-8-8-8H717c-4.4 0-8 3.6-8 8V729c0 4.4 3.6 8 8 8h54.8c4.4 0 8-3.6 8-8V572.7c0-36.2 26.1-60.2 65.1-60.2 10.4.1 26.6 1.8 30.7 3.4zm-537-40.5l-54.7-12.6c-61.2-14.2-87.7-34.8-87.7-70.7 0-44.6 39.1-73.5 96.9-73.5 52.8 0 91.4 26.5 99.9 68.9h70C455.9 311.6 387.6 259 293.4 259c-103.3 0-171 55.5-171 139 0 68.6 38.6 109.5 122.2 128.5l61.6 14.3c63.6 14.9 91.6 37.1 91.6 75.1 0 44.1-43.5 75.2-102.5 75.2-60.6 0-104.5-27.2-112.8-70.5H111c7.2 79.9 75.6 130.4 179.1 130.4C402.3 751 471 695.2 471 605.3c0-70.2-38.6-108.5-132.4-129.9zM841 729a36 36 0 1072 0 36 36 0 10-72 0zM653 457.8h-51.4V396c0-4.4-3.6-8-8-8h-54.7c-4.4 0-8 3.6-8 8v61.8H495c-4.4 0-8 3.6-8 8v42.3c0 4.4 3.6 8 8 8h35.9v147.5c0 56.2 27.4 79.4 93.1 79.4 11.7 0 23.6-1.2 33.8-3.1 1.9-.3 3.2-2 3.2-3.9v-49.3c0-2.2-1.8-4-4-4h-.4c-4.9.5-6.2.6-8.3.8-4.1.3-7.8.5-12.6.5-24.1 0-34.1-10.3-34.1-35.6V516.1H653c4.4 0 8-3.6 8-8v-42.3c0-4.4-3.6-8-8-8z`}}]},name:`field-string`,theme:`outlined`};function aX(){return aX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,aX({},e,{ref:t,icon:uSe}))),fSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M945 412H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h256c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM811 548H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h122c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM477.3 322.5H434c-6.2 0-11.2 5-11.2 11.2v248c0 3.6 1.7 6.9 4.6 9l148.9 108.6c5 3.6 12 2.6 15.6-2.4l25.7-35.1v-.1c3.6-5 2.5-12-2.5-15.6l-126.7-91.6V333.7c.1-6.2-5-11.2-11.1-11.2z`}},{tag:`path`,attrs:{d:`M804.8 673.9H747c-5.6 0-10.9 2.9-13.9 7.7a321 321 0 01-44.5 55.7 317.17 317.17 0 01-101.3 68.3c-39.3 16.6-81 25-124 25-43.1 0-84.8-8.4-124-25-37.9-16-72-39-101.3-68.3s-52.3-63.4-68.3-101.3c-16.6-39.2-25-80.9-25-124 0-43.1 8.4-84.7 25-124 16-37.9 39-72 68.3-101.3 29.3-29.3 63.4-52.3 101.3-68.3 39.2-16.6 81-25 124-25 43.1 0 84.8 8.4 124 25 37.9 16 72 39 101.3 68.3a321 321 0 0144.5 55.7c3 4.8 8.3 7.7 13.9 7.7h57.8c6.9 0 11.3-7.2 8.2-13.3-65.2-129.7-197.4-214-345-215.7-216.1-2.7-395.6 174.2-396 390.1C71.6 727.5 246.9 903 463.2 903c149.5 0 283.9-84.6 349.8-215.8a9.18 9.18 0 00-8.2-13.3z`}}]},name:`field-time`,theme:`outlined`};function oX(){return oX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,oX({},e,{ref:t,icon:fSe}))),mSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M480 580H372a8 8 0 00-8 8v48a8 8 0 008 8h108v108a8 8 0 008 8h48a8 8 0 008-8V644h108a8 8 0 008-8v-48a8 8 0 00-8-8H544V472a8 8 0 00-8-8h-48a8 8 0 00-8 8v108zm374.6-291.3c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z`}}]},name:`file-add`,theme:`filled`};function sX(){return sX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sX({},e,{ref:t,icon:mSe}))),gSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z`}}]},name:`file-add`,theme:`outlined`};function cX(){return cX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,cX({},e,{ref:t,icon:gSe}))),vSe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm126 236v48c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V644H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V472c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z`,fill:e}}]}},name:`file-add`,theme:`twotone`};function lX(){return lX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,lX({},e,{ref:t,icon:vSe}))),bSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5zM761 656h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-23.1-31.9a7.92 7.92 0 00-6.5-3.3H573c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.9-5.3.1-12.7-6.4-12.7zM440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`file-done`,theme:`outlined`};function uX(){return uX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uX({},e,{ref:t,icon:bSe}))),SSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM575.34 477.84l-61.22 102.3L452.3 477.8a12 12 0 00-10.27-5.79h-38.44a12 12 0 00-6.4 1.85 12 12 0 00-3.75 16.56l82.34 130.42-83.45 132.78a12 12 0 00-1.84 6.39 12 12 0 0012 12h34.46a12 12 0 0010.21-5.7l62.7-101.47 62.3 101.45a12 12 0 0010.23 5.72h37.48a12 12 0 006.48-1.9 12 12 0 003.62-16.58l-83.83-130.55 85.3-132.47a12 12 0 001.9-6.5 12 12 0 00-12-12h-35.7a12 12 0 00-10.29 5.84z`}}]},name:`file-excel`,theme:`filled`};function dX(){return dX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,dX({},e,{ref:t,icon:SSe}))),wSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z`}}]},name:`file-excel`,theme:`outlined`};function fX(){return fX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,fX({},e,{ref:t,icon:wSe}))),ESe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm51.6 120h35.7a12.04 12.04 0 0110.1 18.5L546.1 623l84 130.4c3.6 5.6 2 13-3.6 16.6-2 1.2-4.2 1.9-6.5 1.9h-37.5c-4.1 0-8-2.1-10.2-5.7L510 664.8l-62.7 101.5c-2.2 3.5-6 5.7-10.2 5.7h-34.5a12.04 12.04 0 01-10.2-18.4l83.4-132.8-82.3-130.4c-3.6-5.7-1.9-13.1 3.7-16.6 1.9-1.3 4.1-1.9 6.4-1.9H442c4.2 0 8.1 2.2 10.3 5.8l61.8 102.4 61.2-102.3c2.2-3.6 6.1-5.8 10.3-5.8z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z`,fill:e}}]}},name:`file-excel`,theme:`twotone`};function pX(){return pX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pX({},e,{ref:t,icon:ESe}))),OSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM512 784a40 40 0 100-80 40 40 0 000 80zm32-152V448a8 8 0 00-8-8h-48a8 8 0 00-8 8v184a8 8 0 008 8h48a8 8 0 008-8z`}}]},name:`file-exclamation`,theme:`filled`};function mX(){return mX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,mX({},e,{ref:t,icon:OSe}))),ASe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM472 744a40 40 0 1080 0 40 40 0 10-80 0zm16-104h48c4.4 0 8-3.6 8-8V448c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8z`}}]},name:`file-exclamation`,theme:`outlined`};function hX(){return hX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,hX({},e,{ref:t,icon:ASe}))),MSe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-54 96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V448zm32 336c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M488 640h48c4.4 0 8-3.6 8-8V448c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm-16 104a40 40 0 1080 0 40 40 0 10-80 0z`,fill:e}}]}},name:`file-exclamation`,theme:`twotone`};function gX(){return gX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gX({},e,{ref:t,icon:MSe}))),PSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z`}}]},name:`file`,theme:`filled`};function _X(){return _X=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_X({},e,{ref:t,icon:PSe}))),ISe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M551.5 490.5H521c-4.6 0-8.4 3.7-8.4 8.4V720c0 4.6 3.7 8.4 8.4 8.4h30.5c4.6 0 8.4-3.7 8.4-8.4V498.9c-.1-4.6-3.8-8.4-8.4-8.4zM477.3 600h-88.1c-4.6 0-8.4 3.7-8.4 8.4v23.8c0 4.6 3.7 8.4 8.4 8.4h47.6v.7c-.6 29.9-23 49.8-56.5 49.8-39.2 0-63.6-30.7-63.6-81.4 0-50.1 23.9-80.6 62.3-80.6 28.1 0 47.5 13.5 55.4 38.3l.9 2.8h49.2l-.7-4.6C475.9 515.9 434.7 484 379 484c-68.8 0-113 49.4-113 125.9 0 77.5 43.7 126.1 113.6 126.1 64.4 0 106-40.3 106-102.9v-24.8c0-4.6-3.7-8.3-8.3-8.3z`}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`}},{tag:`path`,attrs:{d:`M608.2 727.8h32.3c4.6 0 8.4-3.7 8.4-8.4v-84.8h87.8c4.6 0 8.4-3.7 8.4-8.4v-25.5c0-4.6-3.7-8.4-8.4-8.4h-87.8v-58.9h96.8c4.6 0 8.4-3.7 8.4-8.4v-26.8c0-4.6-3.7-8.4-8.4-8.4H608.2c-4.6 0-8.4 3.7-8.4 8.4v221.1c0 4.8 3.8 8.5 8.4 8.5z`}}]},name:`file-gif`,theme:`outlined`};function vX(){return vX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,vX({},e,{ref:t,icon:ISe}))),RSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM400 402c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0112.6 0l41.1 52.4 77.8-99.2a8 8 0 0112.6 0l136.5 174c4.3 5.2.5 12.9-6.1 12.9zm-94-370V137.8L790.2 326H602z`}}]},name:`file-image`,theme:`filled`};function yX(){return yX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yX({},e,{ref:t,icon:RSe}))),BSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 00-12.6 0l-99.8 127.2a7.98 7.98 0 006.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 00-12.7 0zM360 442a40 40 0 1080 0 40 40 0 10-80 0zm494.6-153.4L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z`}}]},name:`file-image`,theme:`outlined`};function bX(){return bX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,bX({},e,{ref:t,icon:BSe}))),VSe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-134 50c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328.1c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0112.6 0l41.1 52.4 77.8-99.2a8.1 8.1 0 0112.7 0l136.5 174c4.1 5.2.4 12.9-6.3 12.9z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 00-12.6 0l-99.8 127.2a7.98 7.98 0 006.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 00-12.7 0zM360 442a40 40 0 1080 0 40 40 0 10-80 0z`,fill:e}}]}},name:`file-image`,theme:`twotone`};function SX(){return SX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SX({},e,{ref:t,icon:VSe}))),USe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M874.6 301.8L596.8 21.3c-4.5-4.5-9.4-8.3-14.7-11.5-1.4-.8-2.8-1.6-4.3-2.3-.9-.5-1.9-.9-2.8-1.3-9-4-18.9-6.2-29-6.2H201c-39.8 0-73 32.2-73 72v880c0 39.8 33.2 72 73 72h623c39.8 0 71-32.2 71-72V352.5c0-19-7-37.2-20.4-50.7zM583 110.4L783.8 312H583V110.4zM823 952H200V72h311v240c0 39.8 33.2 72 73 72h239v568zM350 696.5c0 24.2-7.5 31.4-21.9 31.4-9 0-18.4-5.8-24.8-18.5L272.9 732c13.4 22.9 32.3 34.2 61.3 34.2 41.6 0 60.8-29.9 60.8-66.2V577h-45v119.5zM501.3 577H437v186h44v-62h21.6c39.1 0 73.1-19.6 73.1-63.6 0-45.8-33.5-60.4-74.4-60.4zm-.8 89H481v-53h18.2c21.5 0 33.4 6.2 33.4 24.9 0 18.1-10.5 28.1-32.1 28.1zm182.5-9v36h30v30.1c-4 2.9-11 4.7-17.7 4.7-34.3 0-50.7-21.4-50.7-58.2 0-36.1 19.7-57.4 47.1-57.4 15.3 0 25 6.2 34 14.4l23.7-28.3c-12.7-12.8-32.1-24.2-59.2-24.2-49.6 0-91.1 35.3-91.1 97 0 62.7 40 95.1 91.5 95.1 25.9 0 49.2-10.2 61.5-22.6V657H683z`}}]},name:`file-jpg`,theme:`outlined`};function CX(){return CX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,CX({},e,{ref:t,icon:USe}))),GSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.97a16 16 0 0014.62 9.5h24.06a16 16 0 0014.63-9.51l59.1-133.35V758a16 16 0 0016.01 16H641a16 16 0 0016-16V486a16 16 0 00-16-16h-34.75a16 16 0 00-14.67 9.62L512.1 662.2l-79.48-182.59a16 16 0 00-14.67-9.61H383a16 16 0 00-16 16v272a16 16 0 0016 16h27.13a16 16 0 0016-16V600.93z`}}]},name:`file-markdown`,theme:`filled`};function wX(){return wX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,wX({},e,{ref:t,icon:GSe}))),qSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0011 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z`}}]},name:`file-markdown`,theme:`outlined`};function TX(){return TX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TX({},e,{ref:t,icon:qSe}))),YSe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm72.3 122H641c6.6 0 12 5.4 12 12v272c0 6.6-5.4 12-12 12h-27.2c-6.6 0-12-5.4-12-12V581.7L535 732.3c-2 4.3-6.3 7.1-11 7.1h-24.1a12 12 0 01-11-7.1l-66.8-150.2V758c0 6.6-5.4 12-12 12H383c-6.6 0-12-5.4-12-12V486c0-6.6 5.4-12 12-12h35c4.8 0 9.1 2.8 11 7.2l83.2 191 83.1-191c1.9-4.4 6.2-7.2 11-7.2z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0011 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z`,fill:e}}]}},name:`file-markdown`,theme:`twotone`};function EX(){return EX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,EX({},e,{ref:t,icon:YSe}))),ZSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM633.22 637.26c-15.18-.5-31.32.67-49.65 2.96-24.3-14.99-40.66-35.58-52.28-65.83l1.07-4.38 1.24-5.18c4.3-18.13 6.61-31.36 7.3-44.7.52-10.07-.04-19.36-1.83-27.97-3.3-18.59-16.45-29.46-33.02-30.13-15.45-.63-29.65 8-33.28 21.37-5.91 21.62-2.45 50.07 10.08 98.59-15.96 38.05-37.05 82.66-51.2 107.54-18.89 9.74-33.6 18.6-45.96 28.42-16.3 12.97-26.48 26.3-29.28 40.3-1.36 6.49.69 14.97 5.36 21.92 5.3 7.88 13.28 13 22.85 13.74 24.15 1.87 53.83-23.03 86.6-79.26 3.29-1.1 6.77-2.26 11.02-3.7l11.9-4.02c7.53-2.54 12.99-4.36 18.39-6.11 23.4-7.62 41.1-12.43 57.2-15.17 27.98 14.98 60.32 24.8 82.1 24.8 17.98 0 30.13-9.32 34.52-23.99 3.85-12.88.8-27.82-7.48-36.08-8.56-8.41-24.3-12.43-45.65-13.12zM385.23 765.68v-.36l.13-.34a54.86 54.86 0 015.6-10.76c4.28-6.58 10.17-13.5 17.47-20.87 3.92-3.95 8-7.8 12.79-12.12 1.07-.96 7.91-7.05 9.19-8.25l11.17-10.4-8.12 12.93c-12.32 19.64-23.46 33.78-33 43-3.51 3.4-6.6 5.9-9.1 7.51a16.43 16.43 0 01-2.61 1.42c-.41.17-.77.27-1.13.3a2.2 2.2 0 01-1.12-.15 2.07 2.07 0 01-1.27-1.91zM511.17 547.4l-2.26 4-1.4-4.38c-3.1-9.83-5.38-24.64-6.01-38-.72-15.2.49-24.32 5.29-24.32 6.74 0 9.83 10.8 10.07 27.05.22 14.28-2.03 29.14-5.7 35.65zm-5.81 58.46l1.53-4.05 2.09 3.8c11.69 21.24 26.86 38.96 43.54 51.31l3.6 2.66-4.39.9c-16.33 3.38-31.54 8.46-52.34 16.85 2.17-.88-21.62 8.86-27.64 11.17l-5.25 2.01 2.8-4.88c12.35-21.5 23.76-47.32 36.05-79.77zm157.62 76.26c-7.86 3.1-24.78.33-54.57-12.39l-7.56-3.22 8.2-.6c23.3-1.73 39.8-.45 49.42 3.07 4.1 1.5 6.83 3.39 8.04 5.55a4.64 4.64 0 01-1.36 6.31 6.7 6.7 0 01-2.17 1.28z`}}]},name:`file-pdf`,theme:`filled`};function DX(){return DX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,DX({},e,{ref:t,icon:ZSe}))),$Se={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z`}}]},name:`file-pdf`,theme:`outlined`};function OX(){return OX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OX({},e,{ref:t,icon:$Se}))),eCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M509.2 490.8c-.7-1.3-1.4-1.9-2.2-2-2.9 3.3-2.2 31.5 2.7 51.4 4-13.6 4.7-40.5-.5-49.4zm-1.6 120.5c-7.7 20-18.8 47.3-32.1 71.4 4-1.6 8.1-3.3 12.3-5 17.6-7.2 37.3-15.3 58.9-20.2-14.9-11.8-28.4-27.7-39.1-46.2z`,fill:t}},{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm55 287.6c16.1-1.9 30.6-2.8 44.3-2.3 12.8.4 23.6 2 32 5.1.2.1.3.1.5.2.4.2.8.3 1.2.5.5.2 1.1.4 1.6.7.1.1.3.1.4.2 4.1 1.8 7.5 4 10.1 6.6 9.1 9.1 11.8 26.1 6.2 39.6-3.2 7.7-11.7 20.5-33.3 20.5-21.8 0-53.9-9.7-82.1-24.8-25.5 4.3-53.7 13.9-80.9 23.1-5.8 2-11.8 4-17.6 5.9-38 65.2-66.5 79.4-84.1 79.4-4.2 0-7.8-.9-10.8-2-6.9-2.6-12.8-8-16.5-15-.9-1.7-1.6-3.4-2.2-5.2-1.6-4.8-2.1-9.6-1.3-13.6l.6-2.7c.1-.2.1-.4.2-.6.2-.7.4-1.4.7-2.1 0-.1.1-.2.1-.3 4.1-11.9 13.6-23.4 27.7-34.6 12.3-9.8 27.1-18.7 45.9-28.4 15.9-28 37.6-75.1 51.2-107.4-10.8-41.8-16.7-74.6-10.1-98.6.9-3.3 2.5-6.4 4.6-9.1.2-.2.3-.4.5-.6.1-.1.1-.2.2-.2 6.3-7.5 16.9-11.9 28.1-11.5 16.6.7 29.7 11.5 33 30.1 1.7 8 2.2 16.5 1.9 25.7v.7c0 .5 0 1-.1 1.5-.7 13.3-3 26.6-7.3 44.7-.4 1.6-.8 3.2-1.2 5.2l-1 4.1-.1.3c.1.2.1.3.2.5l1.8 4.5c.1.3.3.7.4 1 .7 1.6 1.4 3.3 2.1 4.8v.1c8.7 18.8 19.7 33.4 33.9 45.1 4.3 3.5 8.9 6.7 13.9 9.8 1.8-.5 3.5-.7 5.3-.9z`,fill:t}},{tag:`path`,attrs:{d:`M391.5 761c5.7-4.4 16.2-14.5 30.1-34.7-10.3 9.4-23.4 22.4-30.1 34.7zm270.9-83l.2-.3h.2c.6-.4.5-.7.4-.9-.1-.1-4.5-9.3-45.1-7.4 35.3 13.9 43.5 9.1 44.3 8.6z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M535.9 585.3c-.8-1.7-1.5-3.3-2.2-4.9-.1-.3-.3-.7-.4-1l-1.8-4.5c-.1-.2-.1-.3-.2-.5l.1-.3.2-1.1c4-16.3 8.6-35.3 9.4-54.4v-.7c.3-8.6-.2-17.2-2-25.6-3.8-21.3-19.5-29.6-32.9-30.2-11.3-.5-21.8 4-28.1 11.4-.1.1-.1.2-.2.2-.2.2-.4.4-.5.6-2.1 2.7-3.7 5.8-4.6 9.1-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.4-51.2 107.4v.1c-27.7 14.3-64.1 35.8-73.6 62.9 0 .1-.1.2-.1.3-.2.7-.5 1.4-.7 2.1-.1.2-.1.4-.2.6-.2.9-.5 1.8-.6 2.7-.9 4-.4 8.8 1.3 13.6.6 1.8 1.3 3.5 2.2 5.2 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-2.6-2.6-6-4.8-10.1-6.6-.1-.1-.3-.1-.4-.2-.5-.2-1.1-.4-1.6-.7-.4-.2-.8-.3-1.2-.5-.2-.1-.3-.1-.5-.2-16.2-5.8-41.7-6.7-76.3-2.8l-5.3.6c-5-3-9.6-6.3-13.9-9.8-14.2-11.3-25.1-25.8-33.8-44.7zM391.5 761c6.7-12.3 19.8-25.3 30.1-34.7-13.9 20.2-24.4 30.3-30.1 34.7zM507 488.8c.8.1 1.5.7 2.2 2 5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4zm-19.2 188.9c-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4 10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2zm175.4-.9c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4z`,fill:e}}]}},name:`file-pdf`,theme:`twotone`};function AX(){return AX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,AX({},e,{ref:t,icon:eCe}))),nCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM468.53 760v-91.54h59.27c60.57 0 100.2-39.65 100.2-98.12 0-58.22-39.58-98.34-99.98-98.34H424a12 12 0 00-12 12v276a12 12 0 0012 12h32.53a12 12 0 0012-12zm0-139.33h34.9c47.82 0 67.19-12.93 67.19-50.33 0-32.05-18.12-50.12-49.87-50.12h-52.22v100.45z`}}]},name:`file-ppt`,theme:`filled`};function jX(){return jX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jX({},e,{ref:t,icon:nCe}))),iCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M424 476c-4.4 0-8 3.6-8 8v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.3c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1zm280-281.7L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z`}}]},name:`file-ppt`,theme:`outlined`};function MX(){return MX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,MX({},e,{ref:t,icon:iCe}))),oCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464.5 516.2v108.4h38.9c44.7 0 71.2-10.9 71.2-54.3 0-34.4-20.1-54.1-53.9-54.1h-56.2z`,fill:t}},{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm90 218.4c0 55.2-36.8 94.1-96.2 94.1h-63.3V760c0 4.4-3.6 8-8 8H424c-4.4 0-8-3.6-8-8V484c0-4.4 3.6-8 8-8v.1h104c59.7 0 96 39.8 96 94.3z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M424 476.1c-4.4-.1-8 3.5-8 7.9v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.2c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1z`,fill:e}}]}},name:`file-ppt`,theme:`twotone`};function NX(){return NX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,NX({},e,{ref:t,icon:oCe}))),cCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M644.7 669.2a7.92 7.92 0 00-6.5-3.3H594c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.8-5.3 0-12.7-6.5-12.7h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-22.9-31.9zM688 306v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 458H208V148h560v296c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h312c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm402.6-320.8l-192-66.7c-.9-.3-1.7-.4-2.6-.4s-1.8.1-2.6.4l-192 66.7a7.96 7.96 0 00-5.4 7.5v251.1c0 2.5 1.1 4.8 3.1 6.3l192 150.2c1.4 1.1 3.2 1.7 4.9 1.7s3.5-.6 4.9-1.7l192-150.2c1.9-1.5 3.1-3.8 3.1-6.3V538.7c0-3.4-2.2-6.4-5.4-7.5zM826 763.7L688 871.6 550 763.7V577l138-48 138 48v186.7z`}}]},name:`file-protect`,theme:`outlined`};function PX(){return PX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PX({},e,{ref:t,icon:cCe}))),uCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 000-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z`}}]},name:`file-search`,theme:`outlined`};function FX(){return FX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,FX({},e,{ref:t,icon:uCe}))),fCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M296 256c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm192 200v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8zm-48 396H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm104.1-115.6c1.8-34.5 16.2-66.8 40.8-91.4 26.2-26.2 62-41 99.1-41 37.4 0 72.6 14.6 99.1 41 3.2 3.2 6.3 6.6 9.2 10.1L769.2 673a8 8 0 003 14.1l93.3 22.5c5 1.2 9.8-2.6 9.9-7.7l.6-95.4a8 8 0 00-12.9-6.4l-20.3 15.8C805.4 569.6 748.1 540 684 540c-109.9 0-199.6 86.9-204 195.7-.2 4.5 3.5 8.3 8 8.3h48.1c4.3 0 7.8-3.3 8-7.6zM880 744h-48.1c-4.3 0-7.8 3.3-8 7.6-1.8 34.5-16.2 66.8-40.8 91.4-26.2 26.2-62 41-99.1 41-37.4 0-72.6-14.6-99.1-41-3.2-3.2-6.3-6.6-9.2-10.1l23.1-17.9a8 8 0 00-3-14.1l-93.3-22.5c-5-1.2-9.8 2.6-9.9 7.7l-.6 95.4a8 8 0 0012.9 6.4l20.3-15.8C562.6 918.4 619.9 948 684 948c109.9 0 199.6-86.9 204-195.7.2-4.5-3.5-8.3-8-8.3z`}}]},name:`file-sync`,theme:`outlined`};function IX(){return IX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,IX({},e,{ref:t,icon:fCe}))),mCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM320 482a8 8 0 00-8 8v48a8 8 0 008 8h384a8 8 0 008-8v-48a8 8 0 00-8-8H320zm0 136a8 8 0 00-8 8v48a8 8 0 008 8h184a8 8 0 008-8v-48a8 8 0 00-8-8H320z`}}]},name:`file-text`,theme:`filled`};function LX(){return LX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LX({},e,{ref:t,icon:mCe}))),gCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-22 322c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm200-184v48c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8zm192 128H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`file-text`,theme:`twotone`};function RX(){return RX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,RX({},e,{ref:t,icon:gCe}))),vCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM402 549c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103zm110 227a32 32 0 100-64 32 32 0 000 64z`}}]},name:`file-unknown`,theme:`filled`};function zX(){return zX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,zX({},e,{ref:t,icon:vCe}))),bCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM402 549c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103zm78 195a32 32 0 1064 0 32 32 0 10-64 0z`}}]},name:`file-unknown`,theme:`outlined`};function BX(){return BX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BX({},e,{ref:t,icon:bCe}))),SCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-22 424c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm110-228.4c.7 44.9-29.7 84.5-74.3 98.9-5.7 1.8-9.7 7.3-9.7 13.3V672c0 5.5-4.5 10-10 10h-32c-5.5 0-10-4.5-10-10v-32c.2-19.8 15.4-37.3 34.7-40.1C549 596.2 570 574.3 570 549c0-28.1-25.8-51.5-58-51.5s-58 23.4-58 51.6c0 5.2-4.4 9.4-9.8 9.4h-32.4c-5.4 0-9.8-4.1-9.8-9.5 0-57.4 50.1-103.7 111.5-103 59.3.8 107.7 46.1 108.5 101.6z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M480 744a32 32 0 1064 0 32 32 0 10-64 0zm-78-195c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103z`,fill:e}}]}},name:`file-unknown`,theme:`twotone`};function VX(){return VX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,VX({},e,{ref:t,icon:SCe}))),wCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM512 566.1l52.81 197a12 12 0 0011.6 8.9h31.77a12 12 0 0011.6-8.88l74.37-276a12 12 0 00.4-3.12 12 12 0 00-12-12h-35.57a12 12 0 00-11.7 9.31l-45.78 199.1-49.76-199.32A12 12 0 00528.1 472h-32.2a12 12 0 00-11.64 9.1L434.6 680.01 388.5 481.3a12 12 0 00-11.68-9.29h-35.39a12 12 0 00-3.11.41 12 12 0 00-8.47 14.7l74.17 276A12 12 0 00415.6 772h31.99a12 12 0 0011.59-8.9l52.81-197z`}}]},name:`file-word`,theme:`filled`};function HX(){return HX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,HX({},e,{ref:t,icon:wCe}))),ECe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM528.1 472h-32.2c-5.5 0-10.3 3.7-11.6 9.1L434.6 680l-46.1-198.7c-1.3-5.4-6.1-9.3-11.7-9.3h-35.4a12.02 12.02 0 00-11.6 15.1l74.2 276c1.4 5.2 6.2 8.9 11.6 8.9h32c5.4 0 10.2-3.6 11.6-8.9l52.8-197 52.8 197c1.4 5.2 6.2 8.9 11.6 8.9h31.8c5.4 0 10.2-3.6 11.6-8.9l74.4-276a12.04 12.04 0 00-11.6-15.1H647c-5.6 0-10.4 3.9-11.7 9.3l-45.8 199.1-49.8-199.3c-1.3-5.4-6.1-9.1-11.6-9.1z`}}]},name:`file-word`,theme:`outlined`};function UX(){return UX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UX({},e,{ref:t,icon:ECe}))),OCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm101.3 129.3c1.3-5.4 6.1-9.3 11.7-9.3h35.6a12.04 12.04 0 0111.6 15.1l-74.4 276c-1.4 5.3-6.2 8.9-11.6 8.9h-31.8c-5.4 0-10.2-3.7-11.6-8.9l-52.8-197-52.8 197c-1.4 5.3-6.2 8.9-11.6 8.9h-32c-5.4 0-10.2-3.7-11.6-8.9l-74.2-276a12.02 12.02 0 0111.6-15.1h35.4c5.6 0 10.4 3.9 11.7 9.3L434.6 680l49.7-198.9c1.3-5.4 6.1-9.1 11.6-9.1h32.2c5.5 0 10.3 3.7 11.6 9.1l49.8 199.3 45.8-199.1z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M528.1 472h-32.2c-5.5 0-10.3 3.7-11.6 9.1L434.6 680l-46.1-198.7c-1.3-5.4-6.1-9.3-11.7-9.3h-35.4a12.02 12.02 0 00-11.6 15.1l74.2 276c1.4 5.2 6.2 8.9 11.6 8.9h32c5.4 0 10.2-3.6 11.6-8.9l52.8-197 52.8 197c1.4 5.2 6.2 8.9 11.6 8.9h31.8c5.4 0 10.2-3.6 11.6-8.9l74.4-276a12.04 12.04 0 00-11.6-15.1H647c-5.6 0-10.4 3.9-11.7 9.3l-45.8 199.1-49.8-199.3c-1.3-5.4-6.1-9.1-11.6-9.1z`,fill:e}}]}},name:`file-word`,theme:`twotone`};function WX(){return WX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,WX({},e,{ref:t,icon:OCe}))),ACe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM296 136v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm0 64v160h128V584H296zm48 48h32v64h-32v-64z`}}]},name:`file-zip`,theme:`filled`};function GX(){return GX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,GX({},e,{ref:t,icon:ACe}))),MCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M296 392h64v64h-64zm0 190v160h128V582h-64v-62h-64v62zm80 48v64h-32v-64h32zm-16-302h64v64h-64zm-64-64h64v64h-64zm64 192h64v64h-64zm0-256h64v64h-64zm494.6 88.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h64v64h64v-64h174v216a42 42 0 0042 42h216v494z`}}]},name:`file-zip`,theme:`outlined`};function KX(){return KX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KX({},e,{ref:t,icon:MCe}))),PCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M344 630h32v2h-32z`,fill:t}},{tag:`path`,attrs:{d:`M534 352V136H360v64h64v64h-64v64h64v64h-64v64h64v64h-64v62h64v160H296V520h64v-64h-64v-64h64v-64h-64v-64h64v-64h-64v-64h-64v752h560V394H576a42 42 0 01-42-42z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h64v64h64v-64h174v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M296 392h64v64h-64zm0-128h64v64h-64zm0 318v160h128V582h-64v-62h-64v62zm48 50v-2h32v64h-32v-62zm16-432h64v64h-64zm0 256h64v64h-64zm0-128h64v64h-64z`,fill:e}}]}},name:`file-zip`,theme:`twotone`};function qX(){return qX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,qX({},e,{ref:t,icon:PCe}))),ICe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z`}}]},name:`filter`,theme:`outlined`};function JX(){return JX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,JX({},e,{ref:t,icon:ICe}))),LCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M420.6 798h182.9V642H420.6zM411 561.4l9.5 16.6h183l9.5-16.6L811.3 226H212.7z`,fill:t}},{tag:`path`,attrs:{d:`M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.5 798H420.6V642h182.9v156zm9.5-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z`,fill:e}}]}},name:`filter`,theme:`twotone`};function XX(){return XX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,XX({},e,{ref:t,icon:LCe}))),zCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9z`}}]},name:`fire`,theme:`filled`};function ZX(){return ZX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,ZX({},e,{ref:t,icon:zCe}))),VCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z`}}]},name:`fire`,theme:`outlined`};function QX(){return QX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QX({},e,{ref:t,icon:VCe}))),HCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M737 438.6c-9.6 15.5-21.1 30.7-34.4 45.6a73.1 73.1 0 01-51 24.4 73.36 73.36 0 01-53.4-18.8 74.01 74.01 0 01-24.4-59.8c3-47.4-12.4-103.1-45.8-165.7-16.9-31.4-37.1-58.2-61.2-80.4a240 240 0 01-12.1 46.5 354.26 354.26 0 01-58.2 101 349.6 349.6 0 01-58.6 56.8c-34 26.1-62 60-80.8 97.9a275.96 275.96 0 00-29.1 124c0 74.9 29.5 145.3 83 198.4 53.7 53.2 125 82.4 201 82.4s147.3-29.2 201-82.4c53.5-53 83-123.5 83-198.4 0-39.2-8.1-77.3-24-113.1-9.3-21-21-40.5-35-58.4z`,fill:t}},{tag:`path`,attrs:{d:`M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z`,fill:e}}]}},name:`fire`,theme:`twotone`};function eZ(){return eZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,eZ({},e,{ref:t,icon:HCe}))),WCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32z`}}]},name:`flag`,theme:`filled`};function tZ(){return tZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tZ({},e,{ref:t,icon:WCe}))),KCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z`}}]},name:`flag`,theme:`outlined`};function nZ(){return nZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,nZ({},e,{ref:t,icon:KCe}))),qCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M184 232h368v336H184z`,fill:t}},{tag:`path`,attrs:{d:`M624 632c0 4.4-3.6 8-8 8H504v73h336V377H624v255z`,fill:t}},{tag:`path`,attrs:{d:`M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z`,fill:e}}]}},name:`flag`,theme:`twotone`};function iZ(){return iZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iZ({},e,{ref:t,icon:qCe}))),YCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM632 577c0 3.8-3.4 7-7.5 7H540v84.9c0 3.9-3.2 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V584h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7H484v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.8 0 7 3.2 7 7.1V528h84.5c4.1 0 7.5 3.2 7.5 7v42z`}}]},name:`folder-add`,theme:`filled`};function aZ(){return aZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,aZ({},e,{ref:t,icon:YCe}))),ZCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z`}}]},name:`folder-add`,theme:`outlined`};function oZ(){return oZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,oZ({},e,{ref:t,icon:ZCe}))),$Ce={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M372.5 256H184v512h656V370.4H492.1L372.5 256zM540 443.1V528h84.5c4.1 0 7.5 3.1 7.5 7v42c0 3.8-3.4 7-7.5 7H540v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V584h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H484v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1z`,fill:t}},{tag:`path`,attrs:{d:`M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z`,fill:e}},{tag:`path`,attrs:{d:`M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1z`,fill:e}}]}},name:`folder-add`,theme:`twotone`};function sZ(){return sZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sZ({},e,{ref:t,icon:$Ce}))),twe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32z`}}]},name:`folder`,theme:`filled`};function cZ(){return cZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,cZ({},e,{ref:t,icon:twe}))),rwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zm-180 0H238c-13 0-24.8 7.9-29.7 20L136 643.2V256h188.5l119.6 114.4H748V444z`}}]},name:`folder-open`,theme:`filled`};function lZ(){return lZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,lZ({},e,{ref:t,icon:rwe}))),awe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M159 768h612.3l103.4-256H262.3z`,fill:t}},{tag:`path`,attrs:{d:`M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z`,fill:e}}]}},name:`folder-open`,theme:`twotone`};function uZ(){return uZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uZ({},e,{ref:t,icon:awe}))),swe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z`,fill:e}},{tag:`path`,attrs:{d:`M372.5 256H184v512h656V370.4H492.1z`,fill:t}}]}},name:`folder`,theme:`twotone`};function dZ(){return dZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,dZ({},e,{ref:t,icon:swe}))),lwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M309.1 554.3a42.92 42.92 0 000 36.4C353.3 684 421.6 732 512.5 732s159.2-48.1 203.4-141.3c5.4-11.5 5.4-24.8.1-36.3l-.1-.1-.1-.1C671.7 461 603.4 413 512.5 413s-159.2 48.1-203.4 141.3zM512.5 477c62.1 0 107.4 30 141.1 95.5C620 638 574.6 668 512.5 668s-107.4-30-141.1-95.5c33.7-65.5 79-95.5 141.1-95.5z`}},{tag:`path`,attrs:{d:`M457 573a56 56 0 10112 0 56 56 0 10-112 0z`}},{tag:`path`,attrs:{d:`M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z`}}]},name:`folder-view`,theme:`outlined`};function fZ(){return fZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,fZ({},e,{ref:t,icon:lwe}))),dwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-650.3-80h85c4.2 0 8-2.7 9.3-6.8l53.7-166h219.2l53.2 166c1.3 4 5 6.8 9.3 6.8h89.1c1.1 0 2.2-.2 3.2-.5a9.7 9.7 0 006-12.4L573.6 118.6a9.9 9.9 0 00-9.2-6.6H462.1c-4.2 0-7.9 2.6-9.2 6.6L244.5 723.1c-.4 1-.5 2.1-.5 3.2-.1 5.3 4.3 9.7 9.7 9.7zm255.9-516.1h4.1l83.8 263.8H424.9l84.7-263.8z`}}]},name:`font-colors`,theme:`outlined`};function pZ(){return pZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pZ({},e,{ref:t,icon:dwe}))),pwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M920 416H616c-4.4 0-8 3.6-8 8v112c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-56h60v320h-46c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h164c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-46V480h60v56c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V424c0-4.4-3.6-8-8-8zM656 296V168c0-4.4-3.6-8-8-8H104c-4.4 0-8 3.6-8 8v128c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-64h168v560h-92c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-92V232h168v64c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8z`}}]},name:`font-size`,theme:`outlined`};function mZ(){return mZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,mZ({},e,{ref:t,icon:pwe}))),mwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M752 100c-61.8 0-112 50.2-112 112 0 47.7 29.9 88.5 72 104.6v27.6L512 601.4 312 344.2v-27.6c42.1-16.1 72-56.9 72-104.6 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 50.6 33.8 93.5 80 107.3v34.4c0 9.7 3.3 19.3 9.3 27L476 672.3v33.6c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-33.6l226.7-291.6c6-7.7 9.3-17.3 9.3-27v-34.4c46.2-13.8 80-56.7 80-107.3 0-61.8-50.2-112-112-112zM224 212a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm336 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm192-552a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`fork`,theme:`outlined`};function gZ(){return gZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gZ({},e,{ref:t,icon:mwe}))),gwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z`}},{tag:`path`,attrs:{d:`M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z`}}]},name:`form`,theme:`outlined`};function _Z(){return _Z=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_Z({},e,{ref:t,icon:gwe}))),vwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M840 192h-56v-72c0-13.3-10.7-24-24-24H168c-13.3 0-24 10.7-24 24v272c0 13.3 10.7 24 24 24h592c13.3 0 24-10.7 24-24V256h32v200H465c-22.1 0-40 17.9-40 40v136h-44c-4.4 0-8 3.6-8 8v228c0 1.1.2 2.2.6 3.1-.4 1.6-.6 3.2-.6 4.9 0 46.4 37.6 84 84 84s84-37.6 84-84c0-1.7-.2-3.3-.6-4.9.4-1 .6-2 .6-3.1V640c0-4.4-3.6-8-8-8h-44V520h351c22.1 0 40-17.9 40-40V232c0-22.1-17.9-40-40-40z`}}]},name:`format-painter`,theme:`filled`};function vZ(){return vZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,vZ({},e,{ref:t,icon:vwe}))),bwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M840 192h-56v-72c0-13.3-10.7-24-24-24H168c-13.3 0-24 10.7-24 24v272c0 13.3 10.7 24 24 24h592c13.3 0 24-10.7 24-24V256h32v200H465c-22.1 0-40 17.9-40 40v136h-44c-4.4 0-8 3.6-8 8v228c0 .6.1 1.3.2 1.9A83.99 83.99 0 00457 960c46.4 0 84-37.6 84-84 0-2.1-.1-4.1-.2-6.1.1-.6.2-1.2.2-1.9V640c0-4.4-3.6-8-8-8h-44V520h351c22.1 0 40-17.9 40-40V232c0-22.1-17.9-40-40-40zM720 352H208V160h512v192zM477 876c0 11-9 20-20 20s-20-9-20-20V696h40v180z`}}]},name:`format-painter`,theme:`outlined`};function yZ(){return yZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yZ({},e,{ref:t,icon:bwe}))),Swe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28zm-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14 0-5.2-2.1-10.4-6.2-14z`}}]},name:`forward`,theme:`filled`};function bZ(){return bZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,bZ({},e,{ref:t,icon:Swe}))),wwe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28zm-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14 0-5.2-2.1-10.4-6.2-14z`}}]},name:`forward`,theme:`outlined`};function xZ(){return xZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,xZ({},e,{ref:t,icon:wwe}))),Ewe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm376 272h-48.1c-4.2 0-7.8-3.2-8.1-7.4C604 636.1 562.5 597 512 597s-92.1 39.1-95.8 88.6c-.3 4.2-3.9 7.4-8.1 7.4H360a8 8 0 01-8-8.4c4.4-84.3 74.5-151.6 160-151.6s155.6 67.3 160 151.6a8 8 0 01-8 8.4zm24-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`frown`,theme:`filled`};function SZ(){return SZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SZ({},e,{ref:t,icon:Ewe}))),Owe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM512 533c-85.5 0-155.6 67.3-160 151.6a8 8 0 008 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4C420 636.1 461.5 597 512 597s92.1 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 008-8.4C667.6 600.3 597.5 533 512 533z`}}]},name:`frown`,theme:`outlined`};function CZ(){return CZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,CZ({},e,{ref:t,icon:Owe}))),Awe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm376 272h-48.1c-4.2 0-7.8-3.2-8.1-7.4C604 636.1 562.5 597 512 597s-92.1 39.1-95.8 88.6c-.3 4.2-3.9 7.4-8.1 7.4H360a8 8 0 01-8-8.4c4.4-84.3 74.5-151.6 160-151.6s155.6 67.3 160 151.6a8 8 0 01-8 8.4zm24-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`,fill:t}},{tag:`path`,attrs:{d:`M288 421a48 48 0 1096 0 48 48 0 10-96 0zm224 112c-85.5 0-155.6 67.3-160 151.6a8 8 0 008 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4 3.7-49.5 45.3-88.6 95.8-88.6s92 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 008-8.4C667.6 600.3 597.5 533 512 533zm128-112a48 48 0 1096 0 48 48 0 10-96 0z`,fill:e}}]}},name:`frown`,theme:`twotone`};function wZ(){return wZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,wZ({},e,{ref:t,icon:Awe}))),Mwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z`}}]},name:`fullscreen-exit`,theme:`outlined`};function TZ(){return TZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TZ({},e,{ref:t,icon:Mwe}))),Pwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z`}}]},name:`fullscreen`,theme:`outlined`};function EZ(){return EZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,EZ({},e,{ref:t,icon:Pwe}))),Iwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M841 370c3-3.3 2.7-8.3-.6-11.3a8.24 8.24 0 00-5.3-2.1h-72.6c-2.4 0-4.6 1-6.1 2.8L633.5 504.6a7.96 7.96 0 01-13.4-1.9l-63.5-141.3a7.9 7.9 0 00-7.3-4.7H380.7l.9-4.7 8-42.3c10.5-55.4 38-81.4 85.8-81.4 18.6 0 35.5 1.7 48.8 4.7l14.1-66.8c-22.6-4.7-35.2-6.1-54.9-6.1-103.3 0-156.4 44.3-175.9 147.3l-9.4 49.4h-97.6c-3.8 0-7.1 2.7-7.8 6.4L181.9 415a8.07 8.07 0 007.8 9.7H284l-89 429.9a8.07 8.07 0 007.8 9.7H269c3.8 0 7.1-2.7 7.8-6.4l89.7-433.1h135.8l68.2 139.1c1.4 2.9 1 6.4-1.2 8.8l-180.6 203c-2.9 3.3-2.6 8.4.7 11.3 1.5 1.3 3.4 2 5.3 2h72.7c2.4 0 4.6-1 6.1-2.8l123.7-146.7c2.8-3.4 7.9-3.8 11.3-1 .9.8 1.6 1.7 2.1 2.8L676.4 784c1.3 2.8 4.1 4.7 7.3 4.7h64.6a8.02 8.02 0 007.2-11.5l-95.2-198.9c-1.4-2.9-.9-6.4 1.3-8.8L841 370z`}}]},name:`function`,theme:`outlined`};function DZ(){return DZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,DZ({},e,{ref:t,icon:Iwe}))),Rwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M926 164H94c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V196c0-17.7-14.3-32-32-32zm-92.3 194.4l-297 297.2a8.03 8.03 0 01-11.3 0L410.9 541.1 238.4 713.7a8.03 8.03 0 01-11.3 0l-36.8-36.8a8.03 8.03 0 010-11.3l214.9-215c3.1-3.1 8.2-3.1 11.3 0L531 565l254.5-254.6c3.1-3.1 8.2-3.1 11.3 0l36.8 36.8c3.2 3 3.2 8.1.1 11.2z`}}]},name:`fund`,theme:`filled`};function OZ(){return OZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OZ({},e,{ref:t,icon:Rwe}))),Bwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M926 164H94c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V196c0-17.7-14.3-32-32-32zm-40 632H134V236h752v560zm-658.9-82.3c3.1 3.1 8.2 3.1 11.3 0l172.5-172.5 114.4 114.5c3.1 3.1 8.2 3.1 11.3 0l297-297.2c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L531 565 416.6 450.5a8.03 8.03 0 00-11.3 0l-214.9 215a8.03 8.03 0 000 11.3l36.7 36.9z`}}]},name:`fund`,theme:`outlined`};function kZ(){return kZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,kZ({},e,{ref:t,icon:Bwe}))),Hwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M312.1 591.5c3.1 3.1 8.2 3.1 11.3 0l101.8-101.8 86.1 86.2c3.1 3.1 8.2 3.1 11.3 0l226.3-226.5c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L517 485.3l-86.1-86.2a8.03 8.03 0 00-11.3 0L275.3 543.4a8.03 8.03 0 000 11.3l36.8 36.8z`}},{tag:`path`,attrs:{d:`M904 160H548V96c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H120c-17.7 0-32 14.3-32 32v520c0 17.7 14.3 32 32 32h356.4v32L311.6 884.1a7.92 7.92 0 00-2.3 11l30.3 47.2v.1c2.4 3.7 7.4 4.7 11.1 2.3L512 838.9l161.3 105.8c3.7 2.4 8.7 1.4 11.1-2.3v-.1l30.3-47.2a8 8 0 00-2.3-11L548 776.3V744h356c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 512H160V232h704v440z`}}]},name:`fund-projection-screen`,theme:`outlined`};function AZ(){return AZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,AZ({},e,{ref:t,icon:Hwe}))),Wwe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560z`,fill:e}},{tag:`path`,attrs:{d:`M136 792h752V232H136v560zm56.4-130.5l214.9-215c3.1-3.1 8.2-3.1 11.3 0L533 561l254.5-254.6c3.1-3.1 8.2-3.1 11.3 0l36.8 36.8c3.1 3.1 3.1 8.2 0 11.3l-297 297.2a8.03 8.03 0 01-11.3 0L412.9 537.2 240.4 709.7a8.03 8.03 0 01-11.3 0l-36.7-36.9a8.03 8.03 0 010-11.3z`,fill:t}},{tag:`path`,attrs:{d:`M229.1 709.7c3.1 3.1 8.2 3.1 11.3 0l172.5-172.5 114.4 114.5c3.1 3.1 8.2 3.1 11.3 0l297-297.2c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L533 561 418.6 446.5a8.03 8.03 0 00-11.3 0l-214.9 215a8.03 8.03 0 000 11.3l36.7 36.9z`,fill:e}}]}},name:`fund`,theme:`twotone`};function jZ(){return jZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jZ({},e,{ref:t,icon:Wwe}))),Kwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M956 686.5l-.1-.1-.1-.1C911.7 593 843.4 545 752.5 545s-159.2 48.1-203.4 141.3v.1a42.92 42.92 0 000 36.4C593.3 816 661.6 864 752.5 864s159.2-48.1 203.4-141.3c5.4-11.5 5.4-24.8.1-36.2zM752.5 800c-62.1 0-107.4-30-141.1-95.5C645 639 690.4 609 752.5 609c62.1 0 107.4 30 141.1 95.5C860 770 814.6 800 752.5 800z`}},{tag:`path`,attrs:{d:`M697 705a56 56 0 10112 0 56 56 0 10-112 0zM136 232h704v253h72V192c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v520c0 17.7 14.3 32 32 32h352v-72H136V232z`}},{tag:`path`,attrs:{d:`M724.9 338.1l-36.8-36.8a8.03 8.03 0 00-11.3 0L493 485.3l-86.1-86.2a8.03 8.03 0 00-11.3 0L251.3 543.4a8.03 8.03 0 000 11.3l36.8 36.8c3.1 3.1 8.2 3.1 11.3 0l101.8-101.8 86.1 86.2c3.1 3.1 8.2 3.1 11.3 0l226.3-226.5c3.2-3.1 3.2-8.2 0-11.3z`}}]},name:`fund-view`,theme:`outlined`};function MZ(){return MZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,MZ({},e,{ref:t,icon:Kwe}))),Jwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M336.7 586h350.6l84.9-148H251.8zm543.4-432H143.9c-24.5 0-39.8 26.7-27.5 48L215 374h594l98.7-172c12.2-21.3-3.1-48-27.6-48zM349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V650H349v188z`}}]},name:`funnel-plot`,theme:`filled`};function NZ(){return NZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,NZ({},e,{ref:t,icon:Jwe}))),Xwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 607.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V607.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V650h182.9v148zm9.6-226.6l-8.4 14.6H419.3l-8.4-14.6L334.4 438h355.2L613 571.4zM726.3 374H297.7l-85-148h598.6l-85 148z`}}]},name:`funnel-plot`,theme:`outlined`};function PZ(){return PZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PZ({},e,{ref:t,icon:Xwe}))),Qwe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M420.6 798h182.9V650H420.6zM297.7 374h428.6l85-148H212.7zm113.2 197.4l8.4 14.6h185.3l8.4-14.6L689.6 438H334.4z`,fill:t}},{tag:`path`,attrs:{d:`M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 607.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V607.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.5 798H420.6V650h182.9v148zm9.5-226.6l-8.4 14.6H419.3l-8.4-14.6L334.4 438h355.2L613 571.4zM726.3 374H297.7l-85-148h598.6l-85 148z`,fill:e}}]}},name:`funnel-plot`,theme:`twotone`};function FZ(){return FZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,FZ({},e,{ref:t,icon:Qwe}))),eTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 392c8.8 0 16-7.2 16-16V192c0-8.8-7.2-16-16-16H744c-8.8 0-16 7.2-16 16v56H296v-56c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v184c0 8.8 7.2 16 16 16h56v240H96c-8.8 0-16 7.2-16 16v184c0 8.8 7.2 16 16 16h184c8.8 0 16-7.2 16-16v-56h432v56c0 8.8 7.2 16 16 16h184c8.8 0 16-7.2 16-16V648c0-8.8-7.2-16-16-16h-56V392h56zM792 240h88v88h-88v-88zm-648 88v-88h88v88h-88zm88 456h-88v-88h88v88zm648-88v88h-88v-88h88zm-80-64h-56c-8.8 0-16 7.2-16 16v56H296v-56c0-8.8-7.2-16-16-16h-56V392h56c8.8 0 16-7.2 16-16v-56h432v56c0 8.8 7.2 16 16 16h56v240z`}}]},name:`gateway`,theme:`outlined`};function IZ(){return IZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,IZ({},e,{ref:t,icon:eTe}))),nTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M944 299H692c-4.4 0-8 3.6-8 8v406c0 4.4 3.6 8 8 8h59.2c4.4 0 8-3.6 8-8V549.9h168.2c4.4 0 8-3.6 8-8V495c0-4.4-3.6-8-8-8H759.2V364.2H944c4.4 0 8-3.6 8-8V307c0-4.4-3.6-8-8-8zm-356 1h-56c-4.4 0-8 3.6-8 8v406c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V308c0-4.4-3.6-8-8-8zM452 500.9H290.5c-4.4 0-8 3.6-8 8v43.7c0 4.4 3.6 8 8 8h94.9l-.3 8.9c-1.2 58.8-45.6 98.5-110.9 98.5-76.2 0-123.9-59.7-123.9-156.7 0-95.8 46.8-155.2 121.5-155.2 54.8 0 93.1 26.9 108.5 75.4h76.2c-13.6-87.2-86-143.4-184.7-143.4C150 288 72 375.2 72 511.9 72 650.2 149.1 736 273 736c114.1 0 187-70.7 187-181.6v-45.5c0-4.4-3.6-8-8-8z`}}]},name:`gif`,theme:`outlined`};function LZ(){return LZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LZ({},e,{ref:t,icon:nTe}))),iTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M160 894c0 17.7 14.3 32 32 32h286V550H160v344zm386 32h286c17.7 0 32-14.3 32-32V550H546v376zm334-616H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v140h366V310h68v172h366V342c0-17.7-14.3-32-32-32zm-402-4h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70 70 31.4 70 70v70zm138 0h-70v-70c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70z`}}]},name:`gift`,theme:`filled`};function RZ(){return RZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,RZ({},e,{ref:t,icon:iTe}))),oTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 310H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v200c0 4.4 3.6 8 8 8h40v344c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V550h40c4.4 0 8-3.6 8-8V342c0-17.7-14.3-32-32-32zm-334-74c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70h-70v-70zm-138-70c38.6 0 70 31.4 70 70v70h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70zM180 482V378h298v104H180zm48 68h250v308H228V550zm568 308H546V550h250v308zm48-376H546V378h298v104z`}}]},name:`gift`,theme:`outlined`};function zZ(){return zZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,zZ({},e,{ref:t,icon:oTe}))),sTe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M546 378h298v104H546zM228 550h250v308H228zm-48-172h298v104H180zm366 172h250v308H546z`,fill:t}},{tag:`path`,attrs:{d:`M880 310H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v200c0 4.4 3.6 8 8 8h40v344c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V550h40c4.4 0 8-3.6 8-8V342c0-17.7-14.3-32-32-32zM478 858H228V550h250v308zm0-376H180V378h298v104zm0-176h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70 70 31.4 70 70v70zm68-70c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70h-70v-70zm250 622H546V550h250v308zm48-376H546V378h298v104z`,fill:e}}]}},name:`gift`,theme:`twotone`};function VZ(){return VZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,VZ({},e,{ref:t,icon:sTe}))),lTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z`}}]},name:`github`,theme:`filled`};function HZ(){return HZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,HZ({},e,{ref:t,icon:lTe}))),dTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z`}}]},name:`github`,theme:`outlined`};function UZ(){return UZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UZ({},e,{ref:t,icon:dTe}))),pTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M910.5 553.2l-109-370.8c-6.8-20.4-23.1-34.1-44.9-34.1s-39.5 12.3-46.3 32.7l-72.2 215.4H386.2L314 181.1c-6.8-20.4-24.5-32.7-46.3-32.7s-39.5 13.6-44.9 34.1L113.9 553.2c-4.1 13.6 1.4 28.6 12.3 36.8l385.4 289 386.7-289c10.8-8.1 16.3-23.1 12.2-36.8z`}}]},name:`gitlab`,theme:`filled`};function WZ(){return WZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,WZ({},e,{ref:t,icon:pTe}))),hTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M913.9 552.2L805 181.4v-.1c-7.6-22.9-25.7-36.5-48.3-36.5-23.4 0-42.5 13.5-49.7 35.2l-71.4 213H388.8l-71.4-213c-7.2-21.7-26.3-35.2-49.7-35.2-23.1 0-42.5 14.8-48.4 36.6L110.5 552.2c-4.4 14.7 1.2 31.4 13.5 40.7l368.5 276.4c2.6 3.6 6.2 6.3 10.4 7.8l8.6 6.4 8.5-6.4c4.9-1.7 9-4.7 11.9-8.9l368.4-275.4c12.4-9.2 18-25.9 13.6-40.6zM751.7 193.4c1-1.8 2.9-1.9 3.5-1.9 1.1 0 2.5.3 3.4 3L818 394.3H684.5l67.2-200.9zm-487.4 1c.9-2.6 2.3-2.9 3.4-2.9 2.7 0 2.9.1 3.4 1.7l67.3 201.2H206.5l57.8-200zM158.8 558.7l28.2-97.3 202.4 270.2-230.6-172.9zm73.9-116.4h122.1l90.8 284.3-212.9-284.3zM512.9 776L405.7 442.3H620L512.9 776zm157.9-333.7h119.5L580 723.1l90.8-280.8zm-40.7 293.9l207.3-276.7 29.5 99.2-236.8 177.5z`}}]},name:`gitlab`,theme:`outlined`};function GZ(){return GZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,GZ({},e,{ref:t,icon:hTe}))),_Te={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z`}}]},name:`global`,theme:`outlined`};function KZ(){return KZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KZ({},e,{ref:t,icon:_Te}))),vTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M905.9 806.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zm-470.2-248c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8z`}}]},name:`gold`,theme:`filled`};function JZ(){return JZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,JZ({},e,{ref:t,icon:vTe}))),bTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8zm91.2-196h159.5l20.7 128h-201l20.8-128zm2.5 282.7c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM196.5 748l20.7-128h159.5l20.7 128H196.5zm709.4 58.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zM626.5 748l20.7-128h159.5l20.7 128H626.5z`}}]},name:`gold`,theme:`outlined`};function YZ(){return YZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YZ({},e,{ref:t,icon:bTe}))),STe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M435.7 558.7c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM196.5 748l20.7-128h159.5l20.7 128H196.5zm709.4 58.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zM626.5 748l20.7-128h159.5l20.7 128H626.5zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8zm91.2-196h159.5l20.7 128h-201l20.8-128z`,fill:e}},{tag:`path`,attrs:{d:`M592.7 276H433.2l-20.8 128h201zM217.2 620l-20.7 128h200.9l-20.7-128zm430 0l-20.7 128h200.9l-20.7-128z`,fill:t}}]}},name:`gold`,theme:`twotone`};function XZ(){return XZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,XZ({},e,{ref:t,icon:STe}))),wTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M905.9 806.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zm-470.2-248c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8z`}}]},name:`golden`,theme:`filled`};function ZZ(){return ZZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,ZZ({},e,{ref:t,icon:wTe}))),ETe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm167 633.6C638.4 735 583 757 516.9 757c-95.7 0-178.5-54.9-218.8-134.9C281.5 589 272 551.6 272 512s9.5-77 26.1-110.1c40.3-80.1 123.1-135 218.8-135 66 0 121.4 24.3 163.9 63.8L610.6 401c-25.4-24.3-57.7-36.6-93.6-36.6-63.8 0-117.8 43.1-137.1 101-4.9 14.7-7.7 30.4-7.7 46.6s2.8 31.9 7.7 46.6c19.3 57.9 73.3 101 137 101 33 0 61-8.7 82.9-23.4 26-17.4 43.2-43.3 48.9-74H516.9v-94.8h230.7c2.9 16.1 4.4 32.8 4.4 50.1 0 74.7-26.7 137.4-73 180.1z`}}]},name:`google-circle`,theme:`filled`};function QZ(){return QZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QZ({},e,{ref:t,icon:ETe}))),OTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M881 442.4H519.7v148.5h206.4c-8.9 48-35.9 88.6-76.6 115.8-34.4 23-78.3 36.6-129.9 36.6-99.9 0-184.4-67.5-214.6-158.2-7.6-23-12-47.6-12-72.9s4.4-49.9 12-72.9c30.3-90.6 114.8-158.1 214.7-158.1 56.3 0 106.8 19.4 146.6 57.4l110-110.1c-66.5-62-153.2-100-256.6-100-149.9 0-279.6 86-342.7 211.4-26 51.8-40.8 110.4-40.8 172.4S151 632.8 177 684.6C240.1 810 369.8 896 519.7 896c103.6 0 190.4-34.4 253.8-93 72.5-66.8 114.4-165.2 114.4-282.1 0-27.2-2.4-53.3-6.9-78.5z`}}]},name:`google`,theme:`outlined`};function $Z(){return $Z=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$Z({},e,{ref:t,icon:OTe}))),ATe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm36.5 558.8c-43.9 61.8-132.1 79.8-200.9 53.3-69-26.3-118-99.2-112.1-173.5 1.5-90.9 85.2-170.6 176.1-167.5 43.6-2 84.6 16.9 118 43.6-14.3 16.2-29 31.8-44.8 46.3-40.1-27.7-97.2-35.6-137.3-3.6-57.4 39.7-60 133.4-4.8 176.1 53.7 48.7 155.2 24.5 170.1-50.1-33.6-.5-67.4 0-101-1.1-.1-20.1-.2-40.1-.1-60.2 56.2-.2 112.5-.3 168.8.2 3.3 47.3-3 97.5-32 136.5zM791 536.5c-16.8.2-33.6.3-50.4.4-.2 16.8-.3 33.6-.3 50.4H690c-.2-16.8-.2-33.5-.3-50.3-16.8-.2-33.6-.3-50.4-.5v-50.1c16.8-.2 33.6-.3 50.4-.3.1-16.8.3-33.6.4-50.4h50.2l.3 50.4c16.8.2 33.6.2 50.4.3v50.1z`}}]},name:`google-plus-circle`,theme:`filled`};function eQ(){return eQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,eQ({},e,{ref:t,icon:ATe}))),MTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M879.5 470.4c-.3-27-.4-54.2-.5-81.3h-80.8c-.3 27-.5 54.1-.7 81.3-27.2.1-54.2.3-81.2.6v80.9c27 .3 54.2.5 81.2.8.3 27 .3 54.1.5 81.1h80.9c.1-27 .3-54.1.5-81.3 27.2-.3 54.2-.4 81.2-.7v-80.9c-26.9-.2-54.1-.2-81.1-.5zm-530 .4c-.1 32.3 0 64.7.1 97 54.2 1.8 108.5 1 162.7 1.8-23.9 120.3-187.4 159.3-273.9 80.7-89-68.9-84.8-220 7.7-284 64.7-51.6 156.6-38.9 221.3 5.8 25.4-23.5 49.2-48.7 72.1-74.7-53.8-42.9-119.8-73.5-190-70.3-146.6-4.9-281.3 123.5-283.7 270.2-9.4 119.9 69.4 237.4 180.6 279.8 110.8 42.7 252.9 13.6 323.7-86 46.7-62.9 56.8-143.9 51.3-220-90.7-.7-181.3-.6-271.9-.3z`}}]},name:`google-plus`,theme:`outlined`};function tQ(){return tQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tQ({},e,{ref:t,icon:MTe}))),PTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM548.5 622.8c-43.9 61.8-132.1 79.8-200.9 53.3-69-26.3-118-99.2-112.1-173.5 1.5-90.9 85.2-170.6 176.1-167.5 43.6-2 84.6 16.9 118 43.6-14.3 16.2-29 31.8-44.8 46.3-40.1-27.7-97.2-35.6-137.3-3.6-57.4 39.7-60 133.4-4.8 176.1 53.7 48.7 155.2 24.5 170.1-50.1-33.6-.5-67.4 0-101-1.1-.1-20.1-.2-40.1-.1-60.2 56.2-.2 112.5-.3 168.8.2 3.3 47.3-3 97.5-32 136.5zM791 536.5c-16.8.2-33.6.3-50.4.4-.2 16.8-.3 33.6-.3 50.4H690c-.2-16.8-.2-33.5-.3-50.3-16.8-.2-33.6-.3-50.4-.5v-50.1c16.8-.2 33.6-.3 50.4-.3.1-16.8.3-33.6.4-50.4h50.2l.3 50.4c16.8.2 33.6.2 50.4.3v50.1z`}}]},name:`google-plus-square`,theme:`filled`};function nQ(){return nQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,nQ({},e,{ref:t,icon:PTe}))),ITe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM679 697.6C638.4 735 583 757 516.9 757c-95.7 0-178.5-54.9-218.8-134.9A245.02 245.02 0 01272 512c0-39.6 9.5-77 26.1-110.1 40.3-80.1 123.1-135 218.8-135 66 0 121.4 24.3 163.9 63.8L610.6 401c-25.4-24.3-57.7-36.6-93.6-36.6-63.8 0-117.8 43.1-137.1 101-4.9 14.7-7.7 30.4-7.7 46.6s2.8 31.9 7.7 46.6c19.3 57.9 73.3 101 137 101 33 0 61-8.7 82.9-23.4 26-17.4 43.2-43.3 48.9-74H516.9v-94.8h230.7c2.9 16.1 4.4 32.8 4.4 50.1 0 74.7-26.7 137.4-73 180.1z`}}]},name:`google-square`,theme:`filled`};function rQ(){return rQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,rQ({},e,{ref:t,icon:ITe}))),RTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M912 820.1V203.9c28-9.9 48-36.6 48-67.9 0-39.8-32.2-72-72-72-31.3 0-58 20-67.9 48H203.9C194 84 167.3 64 136 64c-39.8 0-72 32.2-72 72 0 31.3 20 58 48 67.9v616.2C84 830 64 856.7 64 888c0 39.8 32.2 72 72 72 31.3 0 58-20 67.9-48h616.2c9.9 28 36.6 48 67.9 48 39.8 0 72-32.2 72-72 0-31.3-20-58-48-67.9zM888 112c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 912c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0-752c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm704 680H184V184h656v656zm48 72c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z`}},{tag:`path`,attrs:{d:`M288 474h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16zm56-136h336v64H344v-64zm-56 420h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16zm56-136h336v64H344v-64z`}}]},name:`group`,theme:`outlined`};function iQ(){return iQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iQ({},e,{ref:t,icon:RTe}))),BTe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M511.5 65C719.99 65 889 234.01 889 442.5S719.99 820 511.5 820 134 650.99 134 442.5 303.01 65 511.5 65m0 64C338.36 129 198 269.36 198 442.5S338.36 756 511.5 756 825 615.64 825 442.5 684.64 129 511.5 129M745 889v72H278v-72z`}}]},name:`harmony-o-s`,theme:`outlined`};function aQ(){return aQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,aQ({},e,{ref:t,icon:BTe}))),HTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v224h704V96c0-17.7-14.3-32-32-32zM456 216c0 4.4-3.6 8-8 8H264c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zM160 928c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V704H160v224zm576-136c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM160 640h704V384H160v256zm96-152c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H264c-4.4 0-8-3.6-8-8v-48z`}}]},name:`hdd`,theme:`filled`};function oQ(){return oQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,oQ({},e,{ref:t,icon:HTe}))),WTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM496 208H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 244a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`hdd`,theme:`outlined`};function sQ(){return sQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sQ({},e,{ref:t,icon:WTe}))),KTe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M232 888h560V680H232v208zm448-140c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 616h560V408H232v208zm72-128c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H312c-4.4 0-8-3.6-8-8v-48zm-72-144h560V136H232v208zm72-128c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H312c-4.4 0-8-3.6-8-8v-48z`,fill:t}},{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z`,fill:e}},{tag:`path`,attrs:{d:`M312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-272h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 516a40 40 0 1080 0 40 40 0 10-80 0z`,fill:e}}]}},name:`hdd`,theme:`twotone`};function cQ(){return cQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,cQ({},e,{ref:t,icon:KTe}))),JTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z`}}]},name:`heart`,theme:`filled`};function lQ(){return lQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,lQ({},e,{ref:t,icon:JTe}))),XTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z`}}]},name:`heart`,theme:`outlined`};function uQ(){return uQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uQ({},e,{ref:t,icon:XTe}))),ZTe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z`,fill:e}},{tag:`path`,attrs:{d:`M679.7 201c-73.1 0-136.5 40.8-167.7 100.4C480.8 241.8 417.4 201 344.3 201c-104 0-188.3 82.6-188.3 184.5 0 201.2 356 429.3 356 429.3s356-228.1 356-429.3C868 283.6 783.7 201 679.7 201z`,fill:t}}]}},name:`heart`,theme:`twotone`};function fQ(){return fQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,fQ({},e,{ref:t,icon:ZTe}))),$Te={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-790.4-23.9L512 231.9 858.7 832H165.3zm319-474.1l-228 394c-12.3 21.3 3.1 48 27.7 48h455.8c24.7 0 40.1-26.7 27.7-48L539.7 358c-6.2-10.7-17-16-27.7-16-10.8 0-21.6 5.3-27.7 16zm214 386H325.7L512 422l186.3 322zm-214-194.1l-57 98.4C415 669.5 430.4 696 455 696h114c24.6 0 39.9-26.5 27.7-47.7l-57-98.4c-6.1-10.6-16.9-15.9-27.7-15.9s-21.5 5.3-27.7 15.9zm57.1 98.4h-58.7l29.4-50.7 29.3 50.7z`}}]},name:`heat-map`,theme:`outlined`};function pQ(){return pQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pQ({},e,{ref:t,icon:$Te}))),tEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M957.6 507.4L603.2 158.2a7.9 7.9 0 00-11.2 0L353.3 393.4a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2z`}}]},name:`highlight`,theme:`filled`};function mQ(){return mQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,mQ({},e,{ref:t,icon:tEe}))),rEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M957.6 507.4L603.2 158.2a7.9 7.9 0 00-11.2 0L353.3 393.4a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.2H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.2l68.6-67.6 171.4 168.9-68.6 67.6zM713.1 658L450.3 399.1 597.6 254l262.8 259-147.3 145z`}}]},name:`highlight`,theme:`outlined`};function hQ(){return hQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,hQ({},e,{ref:t,icon:rEe}))),iEe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M229.6 796.3h160.2l54.3-54.1-80.1-78.9zm220.7-397.1l262.8 258.9 147.3-145-262.8-259zm-77.1 166.1l171.4 168.9 68.6-67.6-171.4-168.9z`,fill:t}},{tag:`path`,attrs:{d:`M957.6 507.5L603.2 158.3a7.9 7.9 0 00-11.2 0L353.3 393.5a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8v55.2c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6L539 830a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.3H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.3l68.6-67.6 171.4 168.9-68.6 67.6zm168.5-76.1L450.3 399.2l147.3-145.1 262.8 259-147.3 145z`,fill:e}}]}},name:`highlight`,theme:`twotone`};function _Q(){return _Q=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_Q({},e,{ref:t,icon:iEe}))),oEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z`}}]},name:`history`,theme:`outlined`};function vQ(){return vQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,vQ({},e,{ref:t,icon:oEe}))),sEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M946.5 505L534.6 93.4a31.93 31.93 0 00-45.2 0L77.5 505c-12 12-18.8 28.3-18.8 45.3 0 35.3 28.7 64 64 64h43.4V908c0 17.7 14.3 32 32 32H448V716h112v224h265.9c17.7 0 32-14.3 32-32V614.3h43.4c17 0 33.3-6.7 45.3-18.8 24.9-25 24.9-65.5-.1-90.5z`}}]},name:`home`,theme:`filled`};function bQ(){return bQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,bQ({},e,{ref:t,icon:sEe}))),lEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z`}}]},name:`home`,theme:`outlined`};function xQ(){return xQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,xQ({},e,{ref:t,icon:lEe}))),uEe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512.1 172.6l-370 369.7h96V868H392V640c0-22.1 17.9-40 40-40h160c22.1 0 40 17.9 40 40v228h153.9V542.3H882L535.2 195.7l-23.1-23.1zm434.5 422.9c-6 6-13.1 10.8-20.8 13.9 7.7-3.2 14.8-7.9 20.8-13.9zm-887-34.7c5 30.3 31.4 53.5 63.1 53.5h.9c-31.9 0-58.9-23-64-53.5zm-.9-10.5v-1.9 1.9zm.1-2.6c.1-3.1.5-6.1 1-9.1-.6 2.9-.9 6-1 9.1z`,fill:t}},{tag:`path`,attrs:{d:`M951 510c0-.1-.1-.1-.1-.2l-1.8-2.1c-.1-.1-.2-.3-.4-.4-.7-.8-1.5-1.6-2.2-2.4L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.6 63.6 0 00-16 26.6l-.6 2.1-.3 1.1-.3 1.2c-.2.7-.3 1.4-.4 2.1 0 .1 0 .3-.1.4-.6 3-.9 6-1 9.1v3.3c0 .5 0 1 .1 1.5 0 .5 0 .9.1 1.4 0 .5.1 1 .1 1.5 0 .6.1 1.2.2 1.8 0 .3.1.6.1.9l.3 2.5v.1c5.1 30.5 32.2 53.5 64 53.5h42.5V940h691.7V614.3h43.4c8.6 0 16.9-1.7 24.5-4.9s14.7-7.9 20.8-13.9a63.6 63.6 0 0018.7-45.3c0-14.7-5-28.8-14.3-40.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z`,fill:e}}]}},name:`home`,theme:`twotone`};function CQ(){return CQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,CQ({},e,{ref:t,icon:uEe}))),fEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194z`}}]},name:`hourglass`,theme:`filled`};function wQ(){return wQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,wQ({},e,{ref:t,icon:fEe}))),mEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194zm-72 388v134H354V706c0-42.2 16.4-81.9 46.3-111.7C430.1 564.4 469.8 548 512 548s81.9 16.4 111.7 46.3C653.6 624.1 670 663.8 670 706zm0-388c0 42.2-16.4 81.9-46.3 111.7C593.9 459.6 554.2 476 512 476s-81.9-16.4-111.7-46.3A156.63 156.63 0 01354 318V184h316v134z`}}]},name:`hourglass`,theme:`outlined`};function TQ(){return TQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TQ({},e,{ref:t,icon:mEe}))),gEe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 548c-42.2 0-81.9 16.4-111.7 46.3A156.63 156.63 0 00354 706v134h316V706c0-42.2-16.4-81.9-46.3-111.7A156.63 156.63 0 00512 548zM354 318c0 42.2 16.4 81.9 46.3 111.7C430.1 459.6 469.8 476 512 476s81.9-16.4 111.7-46.3C653.6 399.9 670 360.2 670 318V184H354v134z`,fill:t}},{tag:`path`,attrs:{d:`M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194zm-72 388v134H354V706c0-42.2 16.4-81.9 46.3-111.7C430.1 564.4 469.8 548 512 548s81.9 16.4 111.7 46.3C653.6 624.1 670 663.8 670 706zm0-388c0 42.2-16.4 81.9-46.3 111.7C593.9 459.6 554.2 476 512 476s-81.9-16.4-111.7-46.3A156.63 156.63 0 01354 318V184h316v134z`,fill:e}}]}},name:`hourglass`,theme:`twotone`};function EQ(){return EQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,EQ({},e,{ref:t,icon:gEe}))),vEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M145.2 96l66 746.6L512 928l299.6-85.4L878.9 96H145.2zm595 177.1l-4.8 47.2-1.7 19.5H382.3l8.2 94.2h335.1l-3.3 24.3-21.2 242.2-1.7 16.2-187 51.6v.3h-1.2l-.3.1v-.1h-.1l-188.6-52L310.8 572h91.1l6.5 73.2 102.4 27.7h.4l102-27.6 11.4-118.6H510.9v-.1H306l-22.8-253.5-1.7-24.3h460.3l-1.6 24.3z`}}]},name:`html5`,theme:`filled`};function DQ(){return DQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,DQ({},e,{ref:t,icon:vEe}))),bEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2zM281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z`}}]},name:`html5`,theme:`outlined`};function OQ(){return OQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OQ({},e,{ref:t,icon:bEe}))),SEe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2z`,fill:e}},{tag:`path`,attrs:{d:`M209.9 155.4l56.7 641.2 245.2 69.6 244.1-69.6 57.8-641.2H209.9zm530.4 117.9l-4.8 47.2-1.7 19.5H381.7l8.2 94.2H511v-.2h214.7l-3.2 24.3-21.2 242.2-1.7 16.3-187.7 51.7v.4h-1.7l-188.6-52-11.3-144.7h91l6.5 73.2 102.4 27.7h.8v-.2l102.4-27.7 11.4-118.5H511.9v.1H305.4l-22.7-253.5L281 249h461l-1.7 24.3z`,fill:t}},{tag:`path`,attrs:{d:`M281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z`,fill:e}}]}},name:`html5`,theme:`twotone`};function kQ(){return kQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,kQ({},e,{ref:t,icon:SEe}))),wEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M373 411c-28.5 0-51.7 23.3-51.7 52s23.2 52 51.7 52 51.7-23.3 51.7-52-23.2-52-51.7-52zm555-251H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM608 420c0-4.4 1-8 2.3-8h123.4c1.3 0 2.3 3.6 2.3 8v48c0 4.4-1 8-2.3 8H610.3c-1.3 0-2.3-3.6-2.3-8v-48zm-86 253h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H224a8 8 0 01-8-8.4c2.8-53.3 32-99.7 74.6-126.1a111.8 111.8 0 01-29.1-75.5c0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.5-29.1 75.5 42.7 26.5 71.8 72.8 74.6 126.1.4 4.6-3.2 8.4-7.8 8.4zm278.9-53H615.1c-3.9 0-7.1-3.6-7.1-8v-48c0-4.4 3.2-8 7.1-8h185.7c3.9 0 7.1 3.6 7.1 8v48h.1c0 4.4-3.2 8-7.1 8z`}}]},name:`idcard`,theme:`filled`};function AQ(){return AQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,AQ({},e,{ref:t,icon:wEe}))),EEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560zM610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z`}}]},name:`idcard`,theme:`outlined`};function jQ(){return jQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jQ({},e,{ref:t,icon:EEe}))),DEe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560z`,fill:e}},{tag:`path`,attrs:{d:`M136 792h752V232H136v560zm472-372c0-4.4 1-8 2.3-8h123.4c1.3 0 2.3 3.6 2.3 8v48c0 4.4-1 8-2.3 8H610.3c-1.3 0-2.3-3.6-2.3-8v-48zm0 144c0-4.4 3.2-8 7.1-8h185.7c3.9 0 7.1 3.6 7.1 8v48c0 4.4-3.2 8-7.1 8H615.1c-3.9 0-7.1-3.6-7.1-8v-48zM216.2 664.6c2.8-53.3 31.9-99.6 74.6-126.1-18.1-20-29.1-46.4-29.1-75.5 0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.6-29.1 75.5 42.6 26.4 71.8 72.8 74.6 126.1a8 8 0 01-8 8.4h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H224c-4.6 0-8.2-3.8-7.8-8.4z`,fill:t}},{tag:`path`,attrs:{d:`M321.3 463a51.7 52 0 10103.4 0 51.7 52 0 10-103.4 0z`,fill:t}},{tag:`path`,attrs:{d:`M610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z`,fill:e}}]}},name:`idcard`,theme:`twotone`};function NQ(){return NQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,NQ({},e,{ref:t,icon:DEe}))),kEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M693.6 284.4c-24 0-51.1 11.7-72.6 22 46.3 18 86 57.3 112.3 99.6 7.1-18.9 14.6-47.9 14.6-67.9 0-32-22.8-53.7-54.3-53.7zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm253.9 492.9H437.1c0 100.4 144.3 136 196.8 47.4h120.8c-32.6 91.7-119.7 146-216.8 146-35.1 0-70.3-.1-101.7-15.6-87.4 44.5-180.3 56.6-180.3-42 0-45.8 23.2-107.1 44-145C335 484 381.3 422.8 435.6 374.5c-43.7 18.9-91.1 66.3-122 101.2 25.9-112.8 129.5-193.6 237.1-186.5 130-59.8 209.7-34.1 209.7 38.6 0 27.4-10.6 63.3-21.4 87.9 25.2 45.5 33.3 97.6 26.9 141.2zM540.5 399.1c-53.7 0-102 39.7-104 94.9h208c-2-55.1-50.6-94.9-104-94.9zM320.6 602.9c-73 152.4 11.5 172.2 100.3 123.3-46.6-27.5-82.6-72.2-100.3-123.3z`}}]},name:`ie-circle`,theme:`filled`};function PQ(){return PQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PQ({},e,{ref:t,icon:kEe}))),jEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M852.6 367.6c16.3-36.9 32.1-90.7 32.1-131.8 0-109.1-119.5-147.6-314.5-57.9-161.4-10.8-316.8 110.5-355.6 279.7 46.3-52.3 117.4-123.4 183-151.7C316.1 378.3 246.7 470 194 565.6c-31.1 56.9-66 148.8-66 217.5 0 147.9 139.3 129.8 270.4 63 47.1 23.1 99.8 23.4 152.5 23.4 145.7 0 276.4-81.4 325.2-219H694.9c-78.8 132.9-295.2 79.5-295.2-71.2h493.2c9.6-65.4-2.5-143.6-40.3-211.7zM224.8 648.3c26.6 76.7 80.6 143.8 150.4 185-133.1 73.4-259.9 43.6-150.4-185zm174-163.3c3-82.7 75.4-142.3 156-142.3 80.1 0 153 59.6 156 142.3h-312zm276.8-281.4c32.1-15.4 72.8-33 108.8-33 47.1 0 81.4 32.6 81.4 80.6 0 30-11.1 73.5-21.9 101.8-39.3-63.5-98.9-122.4-168.3-149.4z`}}]},name:`ie`,theme:`outlined`};function FQ(){return FQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,FQ({},e,{ref:t,icon:jEe}))),NEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM765.9 556.9H437.1c0 100.4 144.3 136 196.8 47.4h120.8c-32.6 91.7-119.7 146-216.8 146-35.1 0-70.3-.1-101.7-15.6-87.4 44.5-180.3 56.6-180.3-42 0-45.8 23.2-107.1 44-145C335 484 381.3 422.8 435.6 374.5c-43.7 18.9-91.1 66.3-122 101.2 25.9-112.8 129.5-193.6 237.1-186.5 130-59.8 209.7-34.1 209.7 38.6 0 27.4-10.6 63.3-21.4 87.9 25.2 45.5 33.3 97.6 26.9 141.2zm-72.3-272.5c-24 0-51.1 11.7-72.6 22 46.3 18 86 57.3 112.3 99.6 7.1-18.9 14.6-47.9 14.6-67.9 0-32-22.8-53.7-54.3-53.7zM540.5 399.1c-53.7 0-102 39.7-104 94.9h208c-2-55.1-50.6-94.9-104-94.9zM320.6 602.9c-73 152.4 11.5 172.2 100.3 123.3-46.6-27.5-82.6-72.2-100.3-123.3z`}}]},name:`ie-square`,theme:`filled`};function IQ(){return IQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,IQ({},e,{ref:t,icon:NEe}))),FEe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM653.3 424.6l52.2 52.2a8.01 8.01 0 01-4.7 13.6l-179.4 21c-5.1.6-9.5-3.7-8.9-8.9l21-179.4c.8-6.6 8.9-9.4 13.6-4.7l52.4 52.4 256.2-256.2c3.1-3.1 8.2-3.1 11.3 0l42.4 42.4c3.1 3.1 3.1 8.2 0 11.3L653.3 424.6z`}}]},name:`import`,theme:`outlined`};function LQ(){return LQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LQ({},e,{ref:t,icon:FEe}))),LEe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z`}}]},name:`inbox`,theme:`outlined`};function RQ(){return RQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,RQ({},e,{ref:t,icon:LEe}))),zEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z`}}]},name:`info-circle`,theme:`outlined`};function zQ(){return zQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,zQ({},e,{ref:t,icon:zEe}))),VEe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm32 588c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`,fill:t}},{tag:`path`,attrs:{d:`M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`info-circle`,theme:`twotone`};function BQ(){return BQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BQ({},e,{ref:t,icon:VEe}))),UEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M448 224a64 64 0 10128 0 64 64 0 10-128 0zm96 168h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V400c0-4.4-3.6-8-8-8z`}}]},name:`info`,theme:`outlined`};function VQ(){return VQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,VQ({},e,{ref:t,icon:UEe}))),GEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M878.7 336H145.3c-18.4 0-33.3 14.3-33.3 32v464c0 17.7 14.9 32 33.3 32h733.3c18.4 0 33.3-14.3 33.3-32V368c.1-17.7-14.8-32-33.2-32zM360 792H184V632h176v160zm0-224H184V408h176v160zm240 224H424V632h176v160zm0-224H424V408h176v160zm240 224H664V632h176v160zm0-224H664V408h176v160zm64-408H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z`}}]},name:`insert-row-above`,theme:`outlined`};function HQ(){return HQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,HQ({},e,{ref:t,icon:GEe}))),qEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M904 768H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-25.3-608H145.3c-18.4 0-33.3 14.3-33.3 32v464c0 17.7 14.9 32 33.3 32h733.3c18.4 0 33.3-14.3 33.3-32V192c.1-17.7-14.8-32-33.2-32zM360 616H184V456h176v160zm0-224H184V232h176v160zm240 224H424V456h176v160zm0-224H424V232h176v160zm240 224H664V456h176v160zm0-224H664V232h176v160z`}}]},name:`insert-row-below`,theme:`outlined`};function UQ(){return UQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UQ({},e,{ref:t,icon:qEe}))),YEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M248 112h-80c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8zm584 0H368c-17.7 0-32 14.9-32 33.3v733.3c0 18.4 14.3 33.3 32 33.3h464c17.7 0 32-14.9 32-33.3V145.3c0-18.4-14.3-33.3-32-33.3zM568 840H408V664h160v176zm0-240H408V424h160v176zm0-240H408V184h160v176zm224 480H632V664h160v176zm0-240H632V424h160v176zm0-240H632V184h160v176z`}}]},name:`insert-row-left`,theme:`outlined`};function WQ(){return WQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,WQ({},e,{ref:t,icon:YEe}))),ZEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M856 112h-80c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8zm-200 0H192c-17.7 0-32 14.9-32 33.3v733.3c0 18.4 14.3 33.3 32 33.3h464c17.7 0 32-14.9 32-33.3V145.3c0-18.4-14.3-33.3-32-33.3zM392 840H232V664h160v176zm0-240H232V424h160v176zm0-240H232V184h160v176zm224 480H456V664h160v176zm0-240H456V424h160v176zm0-240H456V184h160v176z`}}]},name:`insert-row-right`,theme:`outlined`};function GQ(){return GQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,GQ({},e,{ref:t,icon:ZEe}))),$Ee={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 378.7c-73.4 0-133.3 59.9-133.3 133.3S438.6 645.3 512 645.3 645.3 585.4 645.3 512 585.4 378.7 512 378.7zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zM512 717.1c-113.5 0-205.1-91.6-205.1-205.1S398.5 306.9 512 306.9 717.1 398.5 717.1 512 625.5 717.1 512 717.1zm213.5-370.7c-26.5 0-47.9-21.4-47.9-47.9s21.4-47.9 47.9-47.9 47.9 21.4 47.9 47.9a47.84 47.84 0 01-47.9 47.9z`}}]},name:`instagram`,theme:`filled`};function KQ(){return KQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KQ({},e,{ref:t,icon:$Ee}))),tDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 306.9c-113.5 0-205.1 91.6-205.1 205.1S398.5 717.1 512 717.1 717.1 625.5 717.1 512 625.5 306.9 512 306.9zm0 338.4c-73.4 0-133.3-59.9-133.3-133.3S438.6 378.7 512 378.7 645.3 438.6 645.3 512 585.4 645.3 512 645.3zm213.5-394.6c-26.5 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9 47.9-21.3 47.9-47.9a47.84 47.84 0 00-47.9-47.9zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zm-88 235.8c-7.3 18.2-16.1 31.8-30.2 45.8-14.1 14.1-27.6 22.9-45.8 30.2C695.2 844.7 570.3 840 512 840c-58.3 0-183.3 4.7-235.9-16.1-18.2-7.3-31.8-16.1-45.8-30.2-14.1-14.1-22.9-27.6-30.2-45.8C179.3 695.2 184 570.3 184 512c0-58.3-4.7-183.3 16.1-235.9 7.3-18.2 16.1-31.8 30.2-45.8s27.6-22.9 45.8-30.2C328.7 179.3 453.7 184 512 184s183.3-4.7 235.9 16.1c18.2 7.3 31.8 16.1 45.8 30.2 14.1 14.1 22.9 27.6 30.2 45.8C844.7 328.7 840 453.7 840 512c0 58.3 4.7 183.2-16.2 235.8z`}}]},name:`instagram`,theme:`outlined`};function qQ(){return qQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,qQ({},e,{ref:t,icon:tDe}))),rDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M519.9 358.8h97.9v41.6h-97.9zm347-188.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM411.3 656h-.2c0 4.4-3.6 8-8 8h-37.3c-4.4 0-8-3.6-8-8V471.4c-7.7 9.2-15.4 17.9-23.1 26a6.04 6.04 0 01-10.2-2.4l-13.2-43.5c-.6-2-.2-4.1 1.2-5.6 37-43.4 64.7-95.1 82.2-153.6 1.1-3.5 5-5.3 8.4-3.7l38.6 18.3c2.7 1.3 4.1 4.4 3.2 7.2a429.2 429.2 0 01-33.6 79V656zm296.5-49.2l-26.3 35.3a5.92 5.92 0 01-8.9.7c-30.6-29.3-56.8-65.2-78.1-106.9V656c0 4.4-3.6 8-8 8h-36.2c-4.4 0-8-3.6-8-8V536c-22 44.7-49 80.8-80.6 107.6a5.9 5.9 0 01-8.9-1.4L430 605.7a6 6 0 011.6-8.1c28.6-20.3 51.9-45.2 71-76h-55.1c-4.4 0-8-3.6-8-8V478c0-4.4 3.6-8 8-8h94.9v-18.6h-65.9c-4.4 0-8-3.6-8-8V316c0-4.4 3.6-8 8-8h184.7c4.4 0 8 3.6 8 8v127.2c0 4.4-3.6 8-8 8h-66.7v18.6h98.8c4.4 0 8 3.6 8 8v35.6c0 4.4-3.6 8-8 8h-59c18.1 29.1 41.8 54.3 72.3 76.9 2.6 2.1 3.2 5.9 1.2 8.5z`}}]},name:`insurance`,theme:`filled`};function JQ(){return JQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,JQ({},e,{ref:t,icon:rDe}))),aDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M441.6 306.8L403 288.6a6.1 6.1 0 00-8.4 3.7c-17.5 58.5-45.2 110.1-82.2 153.6a6.05 6.05 0 00-1.2 5.6l13.2 43.5c1.3 4.4 7 5.7 10.2 2.4 7.7-8.1 15.4-16.9 23.1-26V656c0 4.4 3.6 8 8 8H403c4.4 0 8-3.6 8-8V393.1a429.2 429.2 0 0033.6-79c1-2.9-.3-6-3-7.3zm26.8 9.2v127.2c0 4.4 3.6 8 8 8h65.9v18.6h-94.9c-4.4 0-8 3.6-8 8v35.6c0 4.4 3.6 8 8 8h55.1c-19.1 30.8-42.4 55.7-71 76a6 6 0 00-1.6 8.1l22.8 36.5c1.9 3.1 6.2 3.8 8.9 1.4 31.6-26.8 58.7-62.9 80.6-107.6v120c0 4.4 3.6 8 8 8h36.2c4.4 0 8-3.6 8-8V536c21.3 41.7 47.5 77.5 78.1 106.9 2.6 2.5 6.8 2.1 8.9-.7l26.3-35.3c2-2.7 1.4-6.5-1.2-8.4-30.5-22.6-54.2-47.8-72.3-76.9h59c4.4 0 8-3.6 8-8V478c0-4.4-3.6-8-8-8h-98.8v-18.6h66.7c4.4 0 8-3.6 8-8V316c0-4.4-3.6-8-8-8H476.4c-4.4 0-8 3.6-8 8zm51.5 42.8h97.9v41.6h-97.9v-41.6zm347-188.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z`}}]},name:`insurance`,theme:`outlined`};function YQ(){return YQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YQ({},e,{ref:t,icon:aDe}))),sDe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z`,fill:e}},{tag:`path`,attrs:{d:`M521.9 358.8h97.9v41.6h-97.9z`,fill:t}},{tag:`path`,attrs:{d:`M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM413.3 656h-.2c0 4.4-3.6 8-8 8h-37.3c-4.4 0-8-3.6-8-8V471.4c-7.7 9.2-15.4 17.9-23.1 26a6.04 6.04 0 01-10.2-2.4l-13.2-43.5c-.6-2-.2-4.1 1.2-5.6 37-43.4 64.7-95.1 82.2-153.6 1.1-3.5 5-5.3 8.4-3.7l38.6 18.3c2.7 1.3 4.1 4.4 3.2 7.2a429.2 429.2 0 01-33.6 79V656zm257.9-340v127.2c0 4.4-3.6 8-8 8h-66.7v18.6h98.8c4.4 0 8 3.6 8 8v35.6c0 4.4-3.6 8-8 8h-59c18.1 29.1 41.8 54.3 72.3 76.9 2.6 2.1 3.2 5.9 1.2 8.5l-26.3 35.3a5.92 5.92 0 01-8.9.7c-30.6-29.3-56.8-65.2-78.1-106.9V656c0 4.4-3.6 8-8 8h-36.2c-4.4 0-8-3.6-8-8V536c-22 44.7-49 80.8-80.6 107.6a6.38 6.38 0 01-4.8 1.4c-1.7-.3-3.2-1.3-4.1-2.8L432 605.7a6 6 0 011.6-8.1c28.6-20.3 51.9-45.2 71-76h-55.1c-4.4 0-8-3.6-8-8V478c0-4.4 3.6-8 8-8h94.9v-18.6h-65.9c-4.4 0-8-3.6-8-8V316c0-4.4 3.6-8 8-8h184.7c4.4 0 8 3.6 8 8z`,fill:t}},{tag:`path`,attrs:{d:`M443.7 306.9l-38.6-18.3c-3.4-1.6-7.3.2-8.4 3.7-17.5 58.5-45.2 110.2-82.2 153.6a5.7 5.7 0 00-1.2 5.6l13.2 43.5c1.4 4.5 7 5.8 10.2 2.4 7.7-8.1 15.4-16.8 23.1-26V656c0 4.4 3.6 8 8 8h37.3c4.4 0 8-3.6 8-8h.2V393.1a429.2 429.2 0 0033.6-79c.9-2.8-.5-5.9-3.2-7.2zm26.8 9.1v127.4c0 4.4 3.6 8 8 8h65.9V470h-94.9c-4.4 0-8 3.6-8 8v35.6c0 4.4 3.6 8 8 8h55.1c-19.1 30.8-42.4 55.7-71 76a6 6 0 00-1.6 8.1l22.8 36.5c.9 1.5 2.4 2.5 4.1 2.8 1.7.3 3.5-.2 4.8-1.4 31.6-26.8 58.6-62.9 80.6-107.6v120c0 4.4 3.6 8 8 8h36.2c4.4 0 8-3.6 8-8V535.9c21.3 41.7 47.5 77.6 78.1 106.9 2.6 2.5 6.7 2.2 8.9-.7l26.3-35.3c2-2.6 1.4-6.4-1.2-8.5-30.5-22.6-54.2-47.8-72.3-76.9h59c4.4 0 8-3.6 8-8v-35.6c0-4.4-3.6-8-8-8h-98.8v-18.6h66.7c4.4 0 8-3.6 8-8V316c0-4.4-3.6-8-8-8H478.5c-4.4 0-8 3.6-8 8zm51.4 42.8h97.9v41.6h-97.9v-41.6z`,fill:e}}]}},name:`insurance`,theme:`twotone`};function XQ(){return XQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,XQ({},e,{ref:t,icon:sDe}))),lDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM726 585.7c0 55.3-44.7 100.1-99.7 100.1H420.6v53.4c0 5.7-6.5 8.8-10.9 5.3l-109.1-85.7c-3.5-2.7-3.5-8 0-10.7l109.1-85.7c4.4-3.5 10.9-.3 10.9 5.3v53.4h205.7c19.6 0 35.5-16 35.5-35.6v-78.9c0-3.7 3-6.8 6.8-6.8h50.7c3.7 0 6.8 3 6.8 6.8v79.1zm-2.6-209.9l-109.1 85.7c-4.4 3.5-10.9.3-10.9-5.3v-53.4H397.7c-19.6 0-35.5 16-35.5 35.6v78.9c0 3.7-3 6.8-6.8 6.8h-50.7c-3.7 0-6.8-3-6.8-6.8v-78.9c0-55.3 44.7-100.1 99.7-100.1h205.7v-53.4c0-5.7 6.5-8.8 10.9-5.3l109.1 85.7c3.6 2.5 3.6 7.8.1 10.5z`}}]},name:`interaction`,theme:`filled`};function ZQ(){return ZQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,ZQ({},e,{ref:t,icon:lDe}))),dDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM304.8 524h50.7c3.7 0 6.8-3 6.8-6.8v-78.9c0-19.7 15.9-35.6 35.5-35.6h205.7v53.4c0 5.7 6.5 8.8 10.9 5.3l109.1-85.7c3.5-2.7 3.5-8 0-10.7l-109.1-85.7c-4.4-3.5-10.9-.3-10.9 5.3V338H397.7c-55.1 0-99.7 44.8-99.7 100.1V517c0 4 3 7 6.8 7zm-4.2 134.9l109.1 85.7c4.4 3.5 10.9.3 10.9-5.3v-53.4h205.7c55.1 0 99.7-44.8 99.7-100.1v-78.9c0-3.7-3-6.8-6.8-6.8h-50.7c-3.7 0-6.8 3-6.8 6.8v78.9c0 19.7-15.9 35.6-35.5 35.6H420.6V568c0-5.7-6.5-8.8-10.9-5.3l-109.1 85.7c-3.5 2.5-3.5 7.8 0 10.5z`}}]},name:`interaction`,theme:`outlined`};function QQ(){return QQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QQ({},e,{ref:t,icon:dDe}))),pDe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm114-401.9c0-55.3 44.6-100.1 99.7-100.1h205.8v-53.4c0-5.6 6.5-8.8 10.9-5.3L723.5 365c3.5 2.7 3.5 8 0 10.7l-109.1 85.7c-4.4 3.5-10.9.4-10.9-5.3v-53.4H397.8c-19.6 0-35.5 15.9-35.5 35.6v78.9c0 3.8-3.1 6.8-6.8 6.8h-50.7c-3.8 0-6.8-3-6.8-7v-78.9zm2.6 210.3l109.1-85.7c4.4-3.5 10.9-.4 10.9 5.3v53.4h205.6c19.6 0 35.5-15.9 35.5-35.6v-78.9c0-3.8 3.1-6.8 6.8-6.8h50.7c3.8 0 6.8 3.1 6.8 6.8v78.9c0 55.3-44.6 100.1-99.7 100.1H420.6v53.4c0 5.6-6.5 8.8-10.9 5.3l-109.1-85.7c-3.5-2.7-3.5-8 0-10.5z`,fill:t}},{tag:`path`,attrs:{d:`M304.8 524h50.7c3.7 0 6.8-3 6.8-6.8v-78.9c0-19.7 15.9-35.6 35.5-35.6h205.7v53.4c0 5.7 6.5 8.8 10.9 5.3l109.1-85.7c3.5-2.7 3.5-8 0-10.7l-109.1-85.7c-4.4-3.5-10.9-.3-10.9 5.3V338H397.7c-55.1 0-99.7 44.8-99.7 100.1V517c0 4 3 7 6.8 7zm-4.2 134.9l109.1 85.7c4.4 3.5 10.9.3 10.9-5.3v-53.4h205.7c55.1 0 99.7-44.8 99.7-100.1v-78.9c0-3.7-3-6.8-6.8-6.8h-50.7c-3.7 0-6.8 3-6.8 6.8v78.9c0 19.7-15.9 35.6-35.5 35.6H420.6V568c0-5.7-6.5-8.8-10.9-5.3l-109.1 85.7c-3.5 2.5-3.5 7.8 0 10.5z`,fill:e}}]}},name:`interaction`,theme:`twotone`};function $Q(){return $Q=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$Q({},e,{ref:t,icon:pDe}))),hDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 688a48 48 0 1096 0 48 48 0 10-96 0zm72-112c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48zm400-188h-59.3c-2.6 0-5 1.2-6.5 3.3L763.7 538.1l-49.9-68.8a7.92 7.92 0 00-6.5-3.3H648c-6.5 0-10.3 7.4-6.5 12.7l109.2 150.7a16.1 16.1 0 0026 0l165.8-228.7c3.8-5.3 0-12.7-6.5-12.7zm-44 306h-64.2c-5.5 0-10.6 2.9-13.6 7.5a352.2 352.2 0 01-49.8 62.2A355.92 355.92 0 01651.1 840a355 355 0 01-138.7 27.9c-48.1 0-94.8-9.4-138.7-27.9a355.92 355.92 0 01-113.3-76.3A353.06 353.06 0 01184 650.5c-18.6-43.8-28-90.5-28-138.5s9.4-94.7 28-138.5c17.9-42.4 43.6-80.5 76.4-113.2 32.8-32.7 70.9-58.4 113.3-76.3a355 355 0 01138.7-27.9c48.1 0 94.8 9.4 138.7 27.9 42.4 17.9 80.5 43.6 113.3 76.3 19 19 35.6 39.8 49.8 62.2 2.9 4.7 8.1 7.5 13.6 7.5H892c6 0 9.8-6.3 7.2-11.6C828.8 178.5 684.7 82 517.7 80 278.9 77.2 80.5 272.5 80 511.2 79.5 750.1 273.3 944 512.4 944c169.2 0 315.6-97 386.7-238.4A8 8 0 00892 694z`}}]},name:`issues-close`,theme:`outlined`};function e$(){return e$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,e$({},e,{ref:t,icon:hDe}))),_De={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M798 160H366c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h181.2l-156 544H229c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8H474.4l156-544H798c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z`}}]},name:`italic`,theme:`outlined`};function t$(){return t$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,t$({},e,{ref:t,icon:_De}))),yDe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M394.68 756.99s-34.33 19.95 24.34 26.6c71.1 8.05 107.35 7 185.64-7.87 0 0 20.66 12.94 49.38 24.14-175.47 75.08-397.18-4.37-259.36-42.87m-21.37-98.17s-38.35 28.35 20.32 34.47c75.83 7.88 135.9 8.4 239.57-11.55 0 0 14.36 14.53 36.95 22.4-212.43 62.13-448.84 5.08-296.84-45.32m180.73-166.43c43.26 49.7-11.38 94.5-11.38 94.5s109.8-56.7 59.37-127.57c-47.11-66.15-83.19-99.05 112.25-212.27.18 0-306.82 76.65-160.24 245.35m232.22 337.04s25.4 20.82-27.85 37.1c-101.4 30.62-421.7 39.9-510.66 1.22-32.05-13.82 28.02-33.25 46.93-37.27 19.62-4.2 31-3.5 31-3.5-35.55-25.03-229.94 49.17-98.77 70.35 357.6 58.1 652.16-26.08 559.35-67.9m-375.12-272.3s-163.04 38.68-57.79 52.68c44.48 5.95 133.1 4.55 215.58-2.28 67.42-5.6 135.2-17.85 135.2-17.85s-23.82 10.15-40.98 21.88c-165.5 43.57-485.1 23.27-393.16-21.18 77.93-37.45 141.15-33.25 141.15-33.25M703.6 720.42c168.3-87.33 90.37-171.33 36.08-159.95-13.31 2.8-19.27 5.25-19.27 5.25s4.9-7.7 14.36-11.03C842.12 516.9 924.78 666 700.1 724.97c0-.18 2.63-2.45 3.5-4.55M602.03 64s93.16 93.1-88.44 236.25c-145.53 114.8-33.27 180.42 0 255.14-84.94-76.65-147.28-144.02-105.42-206.84C469.63 256.67 639.68 211.87 602.03 64M427.78 957.19C589.24 967.5 837.22 951.4 843 875.1c0 0-11.2 28.88-133.44 51.98-137.83 25.9-307.87 22.92-408.57 6.3 0-.18 20.66 16.97 126.79 23.8`}}]},name:`java`,theme:`outlined`};function n$(){return n$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,n$({},e,{ref:t,icon:yDe}))),xDe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M416 176H255.54v425.62c0 105.3-36.16 134.71-99.1 134.71-29.5 0-56.05-5.05-76.72-12.14L63 848.79C92.48 858.91 137.73 865 173.13 865 317.63 865 416 797.16 416 602.66zm349.49-16C610.26 160 512 248.13 512 364.6c0 100.32 75.67 163.13 185.7 203.64 79.57 28.36 111.03 53.7 111.03 95.22 0 45.57-36.36 74.96-105.13 74.96-63.87 0-121.85-21.31-161.15-42.58v-.04L512 822.43C549.36 843.73 619.12 865 694.74 865 876.52 865 961 767.75 961 653.3c0-97.25-54.04-160.04-170.94-204.63-86.47-34.44-122.81-53.67-122.81-97.23 0-34.45 31.45-65.84 96.3-65.84 63.83 0 107.73 21.45 133.3 34.64l38.34-128.19C895.1 174.46 841.11 160 765.5 160`}}]},name:`java-script`,theme:`outlined`};function r$(){return r$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,r$({},e,{ref:t,icon:xDe}))),CDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5l-41.1 41.1-62.3-62.3a8.15 8.15 0 00-11.4 0l-39.8 39.8a8.15 8.15 0 000 11.4l62.3 62.3-44.9 44.9-62.3-62.3a8.15 8.15 0 00-11.4 0l-39.8 39.8a8.15 8.15 0 000 11.4l62.3 62.3-65.3 65.3a8.03 8.03 0 000 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6A304.06 304.06 0 00608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644c-60.9 0-118.2-23.7-161.2-66.8-43.1-43-66.8-100.3-66.8-161.2 0-60.9 23.7-118.2 66.8-161.2 43-43.1 100.3-66.8 161.2-66.8 60.9 0 118.2 23.7 161.2 66.8 43.1 43 66.8 100.3 66.8 161.2 0 60.9-23.7 118.2-66.8 161.2z`}}]},name:`key`,theme:`outlined`};function i$(){return i$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,i$({},e,{ref:t,icon:CDe}))),TDe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M511.99 111a61.55 61.55 0 00-26.8 6.13l-271.3 131a61.71 61.71 0 00-33.32 41.85L113.53 584.5a61.77 61.77 0 0011.86 52.06L313.2 872.71a61.68 61.68 0 0048.26 23.27h301.05a61.68 61.68 0 0048.26-23.27l187.81-236.12v-.03a61.73 61.73 0 0011.9-52.03v-.03L843.4 289.98v-.04a61.72 61.72 0 00-33.3-41.8l-271.28-131a17.43 17.43 0 00-.03-.04 61.76 61.76 0 00-26.8-6.1m0 35.1c3.94 0 7.87.87 11.55 2.64l271.3 131a26.54 26.54 0 0114.36 18.02l67.04 294.52a26.56 26.56 0 01-5.1 22.45L683.31 850.88a26.51 26.51 0 01-20.8 10H361.45a26.45 26.45 0 01-20.77-10L152.88 614.73a26.59 26.59 0 01-5.14-22.45l67.07-294.49a26.51 26.51 0 0114.32-18.02v-.04l271.3-131A26.52 26.52 0 01512 146.1m-.14 73.82c-2.48 0-4.99.5-7.4 1.51-9.65 4.21-14.22 15.44-10.01 25.09 4.04 9.48 5.42 18.94 6.48 28.41.35 4.92.55 9.66.37 14.4.53 4.74-1.94 9.48-5.45 14.22-3.68 4.74-4.03 9.49-4.55 14.23-48.16 4.72-91.51 25.83-124.65 57.54l-.31-.17c-4.04-2.63-7.88-5.27-14.02-5.45-5.79-.35-11.06-1.4-14.4-4.9-3.68-2.8-7.35-5.95-10.69-9.29-6.84-6.67-13.36-13.87-18.1-23a19.66 19.66 0 00-11.58-9.5 19.27 19.27 0 00-23.68 13.17c-2.98 10 2.98 20.7 13.16 23.51 9.83 2.99 18.08 7.9 26.15 13.16a127.38 127.38 0 0111.24 8.6c4.04 2.64 6.13 7.55 7.71 13.17 1.16 5.62 4.39 8.88 7.54 12.03a209.26 209.26 0 00-37.08 142.61c-3.94 1.38-7.83 2.88-11.17 6.82-3.86 4.39-8.08 7.88-12.82 8.23a94.03 94.03 0 01-14.02 2.64c-9.47 1.23-19.13 1.93-29.13-.17a19.53 19.53 0 00-14.74 3.32c-8.6 5.97-10.52 17.9-4.56 26.5a19.13 19.13 0 0026.67 4.59c8.42-5.97 17.37-9.32 26.5-12.3 4.55-1.41 9.13-2.62 13.87-3.5 4.56-1.58 9.64-.2 15.08 2.09 4.52 2.33 8.52 2.15 12.48 1.75 15.44 50.08 49.22 92.03 93.32 118.52-1.5 4.21-2.92 8.6-1.57 14.15 1.05 5.8 1.22 11.25-1.24 15.29a172.58 172.58 0 01-6.3 12.78c-4.92 8.07-10.17 16.15-17.9 23.17a18.97 18.97 0 00-6.33 13.5 19.06 19.06 0 0018.43 19.68A19.21 19.21 0 00409 787.88c.17-10.35 2.97-19.46 6.13-28.59 1.58-4.38 3.52-8.77 5.62-12.99 1.58-4.56 5.78-7.92 10.87-10.72 5.07-2.62 7.35-6.32 9.63-10.22a209.09 209.09 0 0070.74 12.51c25.26 0 49.4-4.72 71.87-12.92 2.37 4.06 4.82 7.91 9.9 10.63 5.1 2.98 9.29 6.16 10.87 10.72 2.1 4.4 3.87 8.78 5.45 13.17 3.15 9.12 5.78 18.23 6.13 28.58 0 5.09 2.1 10.02 6.14 13.71a19.32 19.32 0 0027.04-1.23 19.32 19.32 0 00-1.24-27.05c-7.72-6.84-12.98-15.09-17.72-23.34-2.28-4.03-4.37-8.4-6.3-12.6-2.46-4.22-2.3-9.5-1.06-15.3 1.4-5.96-.18-10.34-1.58-14.9l-.14-.45c43.76-26.75 77.09-68.83 92.2-118.9l.58.04c4.91.35 9.64.85 14.9-2.13 5.27-2.46 10.56-3.87 15.12-2.47 4.56.7 9.29 1.76 13.85 2.99 9.12 2.63 18.27 5.79 26.87 11.58a19.5 19.5 0 0014.73 2.64 18.99 18.99 0 0014.57-22.62 19.11 19.11 0 00-22.82-14.57c-10.18 2.28-19.66 1.9-29.3 1.03-4.75-.53-9.32-1.2-14.06-2.26-4.74-.35-8.92-3.5-12.96-7.71-4.03-4.74-8.6-5.97-13.16-7.37l-.3-.1c.6-6.51.99-13.08.99-19.75 0-43.5-13.28-83.99-35.99-117.6 3.33-3.5 6.7-6.82 7.92-12.78 1.58-5.61 3.68-10.53 7.71-13.16 3.51-3.16 7.38-5.96 11.24-8.77 7.9-5.27 16.16-10.36 25.98-13.16a18.5 18.5 0 0011.55-9.67 18.8 18.8 0 00-8.22-25.6 18.84 18.84 0 00-25.64 8.22c-4.74 9.13-11.22 16.33-17.89 23-3.51 3.34-7 6.51-10.7 9.5-3.33 3.5-8.6 4.55-14.39 4.9-6.14.17-10.01 2.99-14.05 5.62a210 210 0 00-127.4-60.02c-.52-4.73-.87-9.48-4.55-14.22-3.51-4.74-5.98-9.48-5.45-14.22-.17-4.74.03-9.48.38-14.4 1.05-9.47 2.44-18.94 6.48-28.41 1.93-4.56 2.1-10 0-15.08a19.23 19.23 0 00-17.69-11.52m-25.16 133.91l-.85 6.75c-2.46 18.96-4.21 38.08-5.97 57.04a876 876 0 00-2.64 30.2c-8.6-6.15-17.2-12.66-26.32-18.45-15.79-10.7-31.6-21.42-47.91-31.6l-5.52-3.43a174.43 174.43 0 0189.21-40.5m50.59 0a174.38 174.38 0 0192.16 43.21l-5.86 3.7c-16.14 10.35-31.74 21.07-47.54 31.77a491.28 491.28 0 00-18.44 13 7.3 7.3 0 01-11.58-5.46c-.53-7.54-1.22-14.9-1.92-22.45-1.75-18.95-3.5-38.08-5.96-57.03zm-173 78.82l5.58 5.83c13.33 13.86 26.86 27.2 40.54 40.71 5.8 5.8 11.58 11.26 17.55 16.7a7.19 7.19 0 01-2.81 12.27c-8.6 2.63-17.21 5.07-25.8 7.88-18.08 5.97-36.32 11.6-54.4 18.1l-7.95 2.77c-.17-3.2-.48-6.37-.48-9.63 0-34.92 10.27-67.33 27.76-94.63m297.52 3.46a174.67 174.67 0 0125.67 91.17c0 2.93-.3 5.78-.44 8.67l-6.24-1.98c-18.25-5.97-36.48-11.09-54.9-16.35a900.54 900.54 0 00-35.82-9.63c8.95-8.6 18.27-17.04 26.87-25.81 13.51-13.51 27-27.02 40.17-41.06zM501.12 492.2h21.39c3.33 0 6.5 1.58 8.26 4.04l13.67 17.2a10.65 10.65 0 012.13 8.57l-4.94 21.25c-.52 3.34-2.81 5.96-5.62 7.54l-19.64 9.12a9.36 9.36 0 01-9.11 0l-19.67-9.12c-2.81-1.58-5.27-4.2-5.63-7.54l-4.9-21.25c-.52-2.98.2-6.28 2.13-8.56l13.67-17.2a10.25 10.25 0 018.26-4.05m-63.37 83.7c5.44-.88 9.85 4.57 7.75 9.66a784.28 784.28 0 00-9.5 26.15 1976.84 1976.84 0 00-18.78 54.22l-2.4 7.54a175.26 175.26 0 01-68-87.3l9.33-.78c19.13-1.76 37.9-4.06 57.03-6.34 8.25-.88 16.33-2.1 24.57-3.16m151.63 2.47c8.24.88 16.32 1.77 24.57 2.47 19.13 1.75 38.07 3.5 57.2 4.73l6.1.34a175.25 175.25 0 01-66.6 86.58l-1.98-6.38c-5.79-18.25-12.1-36.32-18.23-54.22a951.58 951.58 0 00-8.6-23.85 7.16 7.16 0 017.54-9.67m-76.1 34.62c2.5 0 5.01 1.26 6.42 3.8a526.47 526.47 0 0012.13 21.77c9.48 16.5 18.92 33.17 29.1 49.32l4.15 6.71a176.03 176.03 0 01-53.1 8.2 176.14 176.14 0 01-51.57-7.72l4.38-7.02c10.18-16.15 19.83-32.66 29.48-49.15a451.58 451.58 0 0012.65-22.1 7.2 7.2 0 016.37-3.81`}}]},name:`kubernetes`,theme:`outlined`};function a$(){return a$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,a$({},e,{ref:t,icon:TDe}))),DDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z`}}]},name:`laptop`,theme:`outlined`};function o$(){return o$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,o$({},e,{ref:t,icon:DDe}))),ODe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M384 912h496c17.7 0 32-14.3 32-32V340H384v572zm496-800H384v164h528V144c0-17.7-14.3-32-32-32zm-768 32v736c0 17.7 14.3 32 32 32h176V112H144c-17.7 0-32 14.3-32 32z`}}]},name:`layout`,theme:`filled`};function c$(){return c$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,c$({},e,{ref:t,icon:ODe}))),ADe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-696 72h136v656H184V184zm656 656H384V384h456v456zM384 320V184h456v136H384z`}}]},name:`layout`,theme:`outlined`};function l$(){return l$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,l$({},e,{ref:t,icon:ADe}))),MDe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M384 185h456v136H384zm-200 0h136v656H184zm696-73H144c-17.7 0-32 14.3-32 32v1c0-17.7 14.3-32 32-32h736c17.7 0 32 14.3 32 32v-1c0-17.7-14.3-32-32-32zM384 385h456v456H384z`,fill:t}},{tag:`path`,attrs:{d:`M880 113H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V145c0-17.7-14.3-32-32-32zM320 841H184V185h136v656zm520 0H384V385h456v456zm0-520H384V185h456v136z`,fill:e}}]}},name:`layout`,theme:`twotone`};function u$(){return u$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,u$({},e,{ref:t,icon:MDe}))),PDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm104 316.9c0 10.2-4.9 19.9-13.2 25.9L457.4 512l145.4 105.2c8.3 6 13.2 15.6 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178a8 8 0 0112.7 6.5v46.8z`}}]},name:`left-circle`,theme:`filled`};function d$(){return d$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,d$({},e,{ref:t,icon:PDe}))),IDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`left-circle`,theme:`outlined`};function f$(){return f$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,f$({},e,{ref:t,icon:IDe}))),RDe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm104 240.9c0 10.3-4.9 19.9-13.2 25.9L457.4 512l145.4 105.1c8.3 6 13.2 15.7 13.2 25.9v46.9c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178c5.3-3.8 12.7 0 12.7 6.5v46.9z`,fill:t}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z`,fill:e}}]}},name:`left-circle`,theme:`twotone`};function p$(){return p$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,p$({},e,{ref:t,icon:RDe}))),BDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM624 380.9c0 10.2-4.9 19.9-13.2 25.9L465.4 512l145.4 105.2c8.3 6 13.2 15.6 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178c5.3-3.8 12.7 0 12.7 6.5v46.8z`}}]},name:`left-square`,theme:`filled`};function m$(){return m$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,m$({},e,{ref:t,icon:BDe}))),HDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M365.3 518.5l246 178c5.3 3.8 12.7 0 12.7-6.5v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a8.05 8.05 0 000 13z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`left-square`,theme:`outlined`};function h$(){return h$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,h$({},e,{ref:t,icon:HDe}))),WDe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm181.3-334.5l246-178c5.3-3.8 12.7 0 12.7 6.5v46.9c0 10.3-4.9 19.9-13.2 25.9L465.4 512l145.4 105.2c8.3 6 13.2 15.7 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.4l-246-178a7.95 7.95 0 010-12.9z`,fill:t}},{tag:`path`,attrs:{d:`M365.3 518.4l246 178c5.3 3.9 12.7.1 12.7-6.4v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a7.95 7.95 0 000 12.9z`,fill:e}}]}},name:`left-square`,theme:`twotone`};function g$(){return g$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,g$({},e,{ref:t,icon:WDe}))),KDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311h-.3v428h472.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32z`}}]},name:`like`,theme:`filled`};function _$(){return _$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_$({},e,{ref:t,icon:KDe}))),JDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z`}}]},name:`like`,theme:`outlined`};function v$(){return v$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,v$({},e,{ref:t,icon:JDe}))),XDe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M273 495.9v428l.3-428zm538.2-88.3H496.8l9.6-198.4c.6-11.9-4.7-23.1-14.6-30.5-6.1-4.5-13.6-6.8-21.1-6.7-19.6.1-36.9 13.4-42.2 32.3-37.1 134.4-64.9 235.2-83.5 302.5V852h399.4a56.85 56.85 0 0033.6-51.8c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0019.6-43c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0019.6-43c0-9.7-2.3-18.9-6.9-27.3l-14-25.5 21.9-19a56.76 56.76 0 0019.6-43c0-19.1-11-37.5-28.8-48.4z`,fill:t}},{tag:`path`,attrs:{d:`M112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32zm773.9 5.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.5-65.5-111a67.67 67.67 0 00-34.3-9.3H572.3l6-122.9c1.5-29.7-9-57.9-29.5-79.4a106.4 106.4 0 00-77.9-33.4c-52 0-98 35-111.8 85.1l-85.8 310.8-.3 428h472.1c9.3 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37zM820.4 499l-21.9 19 14 25.5a56.2 56.2 0 016.9 27.3c0 16.5-7.1 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.1 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H345V506.8c18.6-67.2 46.4-168 83.5-302.5a44.28 44.28 0 0142.2-32.3c7.5-.1 15 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.1 32.2-19.6 43z`,fill:e}}]}},name:`like`,theme:`twotone`};function y$(){return y$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,y$({},e,{ref:t,icon:XDe}))),QDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM305.8 637.7c3.1 3.1 8.1 3.1 11.3 0l138.3-137.6L583 628.5c3.1 3.1 8.2 3.1 11.3 0l275.4-275.3c3.1-3.1 3.1-8.2 0-11.3l-39.6-39.6a8.03 8.03 0 00-11.3 0l-230 229.9L461.4 404a8.03 8.03 0 00-11.3 0L266.3 586.7a8.03 8.03 0 000 11.3l39.5 39.7z`}}]},name:`line-chart`,theme:`outlined`};function b$(){return b$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,b$({},e,{ref:t,icon:QDe}))),$De={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M648 160H104c-4.4 0-8 3.6-8 8v128c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-64h168v560h-92c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-92V232h168v64c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zm272.8 546H856V318h64.8c6 0 9.4-7 5.7-11.7L825.7 178.7a7.14 7.14 0 00-11.3 0L713.6 306.3a7.23 7.23 0 005.7 11.7H784v388h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5a7.2 7.2 0 00-5.6-11.7z`}}]},name:`line-height`,theme:`outlined`};function S$(){return S$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,S$({},e,{ref:t,icon:$De}))),tOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M904 476H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`line`,theme:`outlined`};function C$(){return C$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,C$({},e,{ref:t,icon:tOe}))),rOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z`}}]},name:`link`,theme:`outlined`};function w$(){return w$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,w$({},e,{ref:t,icon:rOe}))),iOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM349.3 793.7H230.6V411.9h118.7v381.8zm-59.3-434a68.8 68.8 0 1168.8-68.8c-.1 38-30.9 68.8-68.8 68.8zm503.7 434H675.1V608c0-44.3-.8-101.2-61.7-101.2-61.7 0-71.2 48.2-71.2 98v188.9H423.7V411.9h113.8v52.2h1.6c15.8-30 54.5-61.7 112.3-61.7 120.2 0 142.3 79.1 142.3 181.9v209.4z`}}]},name:`linkedin`,theme:`filled`};function E$(){return E$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,E$({},e,{ref:t,icon:iOe}))),oOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M847.7 112H176.3c-35.5 0-64.3 28.8-64.3 64.3v671.4c0 35.5 28.8 64.3 64.3 64.3h671.4c35.5 0 64.3-28.8 64.3-64.3V176.3c0-35.5-28.8-64.3-64.3-64.3zm0 736c-447.8-.1-671.7-.2-671.7-.3.1-447.8.2-671.7.3-671.7 447.8.1 671.7.2 671.7.3-.1 447.8-.2 671.7-.3 671.7zM230.6 411.9h118.7v381.8H230.6zm59.4-52.2c37.9 0 68.8-30.8 68.8-68.8a68.8 68.8 0 10-137.6 0c-.1 38 30.7 68.8 68.8 68.8zm252.3 245.1c0-49.8 9.5-98 71.2-98 60.8 0 61.7 56.9 61.7 101.2v185.7h118.6V584.3c0-102.8-22.2-181.9-142.3-181.9-57.7 0-96.4 31.7-112.3 61.7h-1.6v-52.2H423.7v381.8h118.6V604.8z`}}]},name:`linkedin`,theme:`outlined`};function D$(){return D$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,D$({},e,{ref:t,icon:oOe}))),cOe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M530.8 64c-5.79 0-11.76.3-17.88.78-157.8 12.44-115.95 179.45-118.34 235.11-2.88 40.8-11.2 72.95-39.24 112.78-33.03 39.23-79.4 102.66-101.39 168.77-10.37 31.06-15.3 62.87-10.71 92.92a15.83 15.83 0 00-4.14 5.04c-9.7 10-16.76 22.43-24.72 31.32-7.42 7.43-18.1 9.96-29.75 14.93-11.68 5.08-24.56 10.04-32.25 25.42a49.7 49.7 0 00-4.93 22.43c0 7.43 1 14.97 2.05 20.01 2.17 14.9 4.33 27.22 1.46 36.21-9.26 25.39-10.42 42.79-3.92 55.44 6.5 12.47 19.97 17.51 35.05 22.44 30.28 7.46 71.3 5.04 103.6 22.36 34.56 17.43 69.66 25.05 97.65 17.54a66.01 66.01 0 0045.1-35.27c21.91-.12 45.92-10.05 84.37-12.47 26.09-2.17 58.75 9.97 96.23 7.43.94 5.04 2.36 7.43 4.26 12.47l.11.1c14.6 29.05 41.55 42.27 70.33 39.99 28.78-2.24 59.43-20.01 84.26-48.76 23.55-28.55 62.83-40.46 88.77-56.1 12.99-7.43 23.48-17.51 24.23-31.85.86-14.93-7.43-30.3-26.66-51.4v-3.62l-.1-.11c-6.35-7.47-9.34-19.98-12.63-34.57-3.17-14.97-6.8-29.34-18.36-39.05h-.11c-2.2-2.02-4.6-2.5-7.02-5.04a13.33 13.33 0 00-7.1-2.39c16.1-47.7 9.86-95.2-6.45-137.9-19.9-52.63-54.7-98.48-81.2-130.02-29.71-37.52-58.83-73.06-58.27-125.77 1-80.33 8.85-228.95-132.3-229.17m19.75 127.11h.48c7.95 0 14.79 2.31 21.8 7.4 7.13 5.03 12.32 12.39 16.4 19.89 3.91 9.67 5.89 17.13 6.19 27.03 0-.75.22-1.5.22-2.2v3.88a3.21 3.21 0 01-.15-.79l-.15-.9a67.46 67.46 0 01-5.6 26.36 35.58 35.58 0 01-7.95 12.5 26.5 26.5 0 00-3.28-1.56c-3.92-1.68-7.43-2.39-10.64-4.96a48.98 48.98 0 00-8.18-2.47c1.83-2.2 5.42-4.96 6.8-7.39a44.22 44.22 0 003.28-15v-.72a45.17 45.17 0 00-2.27-14.93c-1.68-5.04-3.77-7.5-6.84-12.47-3.13-2.46-6.23-4.92-9.96-4.92h-.6c-3.47 0-6.57 1.12-9.78 4.92a29.86 29.86 0 00-7.65 12.47 44.05 44.05 0 00-3.36 14.93v.71c.07 3.33.3 6.69.74 9.97-7.2-2.5-16.35-5.04-22.66-7.54-.37-2.46-.6-4.94-.67-7.43v-.75a66.15 66.15 0 015.6-28.7 40.45 40.45 0 0116.05-19.9 36.77 36.77 0 0122.18-7.43m-110.58 2.2h1.35c5.3 0 10.08 1.8 14.9 5.04a51.6 51.6 0 0112.83 17.36c3.36 7.43 5.27 14.97 5.72 24.9v.15c.26 5 .22 7.5-.08 9.93v2.99c-1.12.26-2.09.67-3.1.9-5.67 2.05-10.23 5.03-14.67 7.46.45-3.32.49-6.68.11-9.97v-.56c-.44-4.96-1.45-7.43-3.06-12.43a22.88 22.88 0 00-6.2-9.97 9.26 9.26 0 00-6.83-2.39h-.78c-2.65.23-4.85 1.53-6.94 4.93a20.6 20.6 0 00-4.48 10.08 35.24 35.24 0 00-.86 12.36v.52c.45 5.04 1.38 7.5 3.02 12.47 1.68 5 3.62 7.46 6.16 10 .41.34.79.67 1.27.9-2.61 2.13-4.37 2.61-6.57 5.08a11.39 11.39 0 01-4.89 2.53 97.84 97.84 0 01-10.27-15 66.15 66.15 0 01-5.78-24.9 65.67 65.67 0 012.98-24.94 53.38 53.38 0 0110.57-19.97c4.78-4.97 9.7-7.47 15.6-7.47M491.15 257c12.36 0 27.33 2.43 45.36 14.9 10.94 7.46 19.52 10.04 39.31 17.47h.11c9.52 5.07 15.12 9.93 17.84 14.9v-4.9a21.32 21.32 0 01.6 17.55c-4.59 11.6-19.26 24.04-39.72 31.47v.07c-10 5.04-18.7 12.43-28.93 17.36-10.3 5.04-21.95 10.9-37.78 9.97a42.52 42.52 0 01-16.72-2.5 133.12 133.12 0 01-12.02-7.4c-7.28-5.04-13.55-12.39-22.85-17.36v-.18h-.19c-14.93-9.19-22.99-19.12-25.6-26.54-2.58-10-.19-17.51 7.2-22.4 8.36-5.04 14.19-10.12 18.03-12.55 3.88-2.76 5.34-3.8 6.57-4.89h.08v-.1c6.3-7.55 16.27-17.52 31.32-22.44a68.65 68.65 0 0117.4-2.43m104.48 80c13.4 52.9 44.69 129.72 64.8 166.98 10.68 19.93 31.93 61.93 41.15 112.89 5.82-.19 12.28.67 19.15 2.39 24.11-62.38-20.39-129.43-40.66-148.06-8.25-7.5-8.66-12.5-4.59-12.5 21.99 19.93 50.96 58.68 61.45 102.92 4.81 19.97 5.93 41.21.78 62.34 2.5 1.05 5.04 2.28 7.65 2.5 38.53 19.94 52.75 35.02 45.92 57.38v-1.6c-2.27-.12-4.48 0-6.75 0h-.56c5.63-17.44-6.8-30.8-39.76-45.7-34.16-14.93-61.45-12.54-66.11 17.36-.27 1.6-.45 2.46-.64 5.04-2.54.86-5.19 1.98-7.8 2.39-16.05 10-24.71 24.97-29.6 44.31-4.86 19.9-6.35 43.16-7.66 69.77v.11c-.78 12.47-6.38 31.29-11.9 50.44-56 40.01-133.65 57.41-199.69 12.46a98.74 98.74 0 00-15-19.9 54.13 54.13 0 00-10.27-12.46c6.8 0 12.62-1.08 17.36-2.5a22.96 22.96 0 0011.72-12.47c4.03-9.97 0-26.02-12.88-43.42C398.87 730.24 377 710.53 345 690.9c-23.51-14.89-36.8-32.47-42.93-52.1-6.16-19.94-5.33-40.51-.56-61.42 9.15-39.94 32.6-78.77 47.56-103.14 4-2.43 1.38 5.04-15.23 36.36-14.78 28.03-42.6 93.21-4.55 143.87a303.27 303.27 0 0124.15-107.36c21.06-47.71 65.07-130.81 68.54-196.66 1.8 1.34 8.1 5.04 10.79 7.54 8.14 4.96 14.18 12.43 22.02 17.36 7.88 7.5 17.81 12.5 32.7 12.5 1.46.12 2.8.23 4.15.23 15.34 0 27.21-5 37.18-10 10.83-5 19.45-12.48 27.63-14.94h.18c17.44-5.04 31.21-15 39.01-26.13m81.6 334.4c1.39 22.44 12.81 46.48 32.93 51.41 21.95 5 53.53-12.43 66.86-28.56l7.88-.33c11.76-.3 21.54.37 31.62 9.97l.1.1c7.77 7.44 11.4 19.83 14.6 32.7 3.18 14.98 5.75 29.13 15.27 39.8 18.15 19.68 24.08 33.82 23.75 42.56l.1-.22v.67l-.1-.45c-.56 9.78-6.91 14.78-18.6 22.21-23.51 14.97-65.17 26.58-91.72 58.61-23.07 27.51-51.18 42.52-76 44.46-24.79 1.98-46.18-7.46-58.76-33.52l-.19-.11c-7.84-14.97-4.48-38.27 2.1-63.1 6.56-24.93 15.97-50.2 17.28-70.85 1.38-26.65 2.83-49.83 7.28-67.71 4.48-17.36 11.5-29.76 23.93-36.74l1.68-.82zm-403.72 1.84h.37c1.98 0 3.92.18 5.86.52 14.04 2.05 26.35 12.43 38.19 28.07l33.97 62.12.11.11c9.07 19.9 28.15 39.72 44.39 61.15 16.2 22.32 28.74 42.22 27.21 58.61v.22c-2.13 27.78-17.88 42.86-42 48.3-24.07 5.05-56.74.08-89.4-17.31-36.14-20.01-79.07-17.51-106.66-22.48-13.77-2.46-22.8-7.5-26.99-14.97-4.14-7.42-4.21-22.43 4.6-45.91v-.11l.07-.12c4.37-12.46 1.12-28.1-1-41.77-2.06-14.97-3.1-26.47 1.6-35.09 5.97-12.47 14.78-14.9 25.72-19.9 11.01-5.04 23.93-7.54 34.2-17.5h.07v-.12c9.55-10 16.61-22.43 24.93-31.28 7.1-7.5 14.19-12.54 24.75-12.54M540.76 334.5c-16.24 7.5-35.27 19.97-55.54 19.97-20.24 0-36.21-9.97-47.75-17.4-5.79-5-10.45-10-13.96-12.5-6.12-5-5.38-12.47-2.76-12.47 4.07.6 4.81 5.04 7.43 7.5 3.58 2.47 8.02 7.43 13.47 12.43 10.86 7.47 25.39 17.44 43.53 17.44 18.1 0 39.3-9.97 52.19-17.4 7.28-5.04 16.6-12.47 24.19-17.43 5.82-5.12 5.56-10 10.41-10 4.82.6 1.27 5-5.48 12.42a302.3 302.3 0 01-25.76 17.47v-.03zm-40.39-59.13v-.83c-.22-.7.49-1.56 1.09-1.86 2.76-1.6 6.72-1.01 9.7.15 2.35 0 5.97 2.5 5.6 5.04-.22 1.83-3.17 2.46-5.04 2.46-2.05 0-3.43-1.6-5.26-2.54-1.94-.67-5.45-.3-6.09-2.42m-20.57 0c-.74 2.16-4.22 1.82-6.2 2.46-1.75.93-3.2 2.54-5.18 2.54-1.9 0-4.9-.71-5.12-2.54-.33-2.47 3.29-4.97 5.6-4.97 3.03-1.15 6.87-1.75 9.67-.18.71.33 1.35 1.12 1.12 1.86v.79h.11z`}}]},name:`linux`,theme:`outlined`};function O$(){return O$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,O$({},e,{ref:t,icon:cOe}))),uOe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 1024c-69.1 0-136.2-13.5-199.3-40.2C251.7 958 197 921 150 874c-47-47-84-101.7-109.8-162.7C13.5 648.2 0 581.1 0 512c0-19.9 16.1-36 36-36s36 16.1 36 36c0 59.4 11.6 117 34.6 171.3 22.2 52.4 53.9 99.5 94.3 139.9 40.4 40.4 87.5 72.2 139.9 94.3C395 940.4 452.6 952 512 952c59.4 0 117-11.6 171.3-34.6 52.4-22.2 99.5-53.9 139.9-94.3 40.4-40.4 72.2-87.5 94.3-139.9C940.4 629 952 571.4 952 512c0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.2C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3s-13.5 136.2-40.2 199.3C958 772.3 921 827 874 874c-47 47-101.8 83.9-162.7 109.7-63.1 26.8-130.2 40.3-199.3 40.3z`}}]},name:`loading-3-quarters`,theme:`outlined`};function k$(){return k$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,k$({},e,{ref:t,icon:uOe}))),fOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM540 701v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 1156 0zm152-237H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224z`}}]},name:`lock`,theme:`filled`};function A$(){return A$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,A$({},e,{ref:t,icon:fOe}))),mOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z`}}]},name:`lock`,theme:`outlined`};function j$(){return j$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,j$({},e,{ref:t,icon:mOe}))),hOe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304z`,fill:e}},{tag:`path`,attrs:{d:`M232 840h560V536H232v304zm280-226a48.01 48.01 0 0128 87v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 0128-87z`,fill:t}},{tag:`path`,attrs:{d:`M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z`,fill:e}}]}},name:`lock`,theme:`twotone`};function N$(){return N$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,N$({},e,{ref:t,icon:hOe}))),_Oe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M521.7 82c-152.5-.4-286.7 78.5-363.4 197.7-3.4 5.3.4 12.3 6.7 12.3h70.3c4.8 0 9.3-2.1 12.3-5.8 7-8.5 14.5-16.7 22.4-24.5 32.6-32.5 70.5-58.1 112.7-75.9 43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 32.6 32.5 58.1 70.4 76 112.5C865.7 417.8 875 464.1 875 512c0 47.9-9.4 94.2-27.8 137.8-17.8 42.1-43.4 80-76 112.5s-70.5 58.1-112.7 75.9A352.8 352.8 0 01520.6 866c-47.9 0-94.3-9.4-137.9-27.8A353.84 353.84 0 01270 762.3c-7.9-7.9-15.3-16.1-22.4-24.5-3-3.7-7.6-5.8-12.3-5.8H165c-6.3 0-10.2 7-6.7 12.3C234.9 863.2 368.5 942 520.6 942c236.2 0 428-190.1 430.4-425.6C953.4 277.1 761.3 82.6 521.7 82zM395.02 624v-76h-314c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h314v-76c0-6.7 7.8-10.5 13-6.3l141.9 112a8 8 0 010 12.6l-141.9 112c-5.2 4.1-13 .4-13-6.3z`}}]},name:`login`,theme:`outlined`};function P$(){return P$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,P$({},e,{ref:t,icon:_Oe}))),yOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z`}}]},name:`logout`,theme:`outlined`};function F$(){return F$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,F$({},e,{ref:t,icon:yOe}))),bOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M624 672a48.01 48.01 0 0096 0c0-26.5-21.5-48-48-48h-48v48zm96-320a48.01 48.01 0 00-96 0v48h48c26.5 0 48-21.5 48-48z`}},{tag:`path`,attrs:{d:`M928 64H96c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM672 560c61.9 0 112 50.1 112 112s-50.1 112-112 112-112-50.1-112-112v-48h-96v48c0 61.9-50.1 112-112 112s-112-50.1-112-112 50.1-112 112-112h48v-96h-48c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112v48h96v-48c0-61.9 50.1-112 112-112s112 50.1 112 112-50.1 112-112 112h-48v96h48z`}},{tag:`path`,attrs:{d:`M464 464h96v96h-96zM352 304a48.01 48.01 0 000 96h48v-48c0-26.5-21.5-48-48-48zm-48 368a48.01 48.01 0 0096 0v-48h-48c-26.5 0-48 21.5-48 48z`}}]},name:`mac-command`,theme:`filled`};function L$(){return L$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,L$({},e,{ref:t,icon:bOe}))),SOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}},{tag:`path`,attrs:{d:`M370.8 554.4c-54.6 0-98.8 44.2-98.8 98.8s44.2 98.8 98.8 98.8 98.8-44.2 98.8-98.8v-42.4h84.7v42.4c0 54.6 44.2 98.8 98.8 98.8s98.8-44.2 98.8-98.8-44.2-98.8-98.8-98.8h-42.4v-84.7h42.4c54.6 0 98.8-44.2 98.8-98.8 0-54.6-44.2-98.8-98.8-98.8s-98.8 44.2-98.8 98.8v42.4h-84.7v-42.4c0-54.6-44.2-98.8-98.8-98.8S272 316.2 272 370.8s44.2 98.8 98.8 98.8h42.4v84.7h-42.4zm42.4 98.8c0 23.4-19 42.4-42.4 42.4s-42.4-19-42.4-42.4 19-42.4 42.4-42.4h42.4v42.4zm197.6-282.4c0-23.4 19-42.4 42.4-42.4s42.4 19 42.4 42.4-19 42.4-42.4 42.4h-42.4v-42.4zm0 240h42.4c23.4 0 42.4 19 42.4 42.4s-19 42.4-42.4 42.4-42.4-19-42.4-42.4v-42.4zM469.6 469.6h84.7v84.7h-84.7v-84.7zm-98.8-56.4c-23.4 0-42.4-19-42.4-42.4s19-42.4 42.4-42.4 42.4 19 42.4 42.4v42.4h-42.4z`}}]},name:`mac-command`,theme:`outlined`};function R$(){return R$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,R$({},e,{ref:t,icon:SOe}))),wOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-80.8 108.9L531.7 514.4c-7.8 6.1-18.7 6.1-26.5 0L189.6 268.9A7.2 7.2 0 01194 256h648.8a7.2 7.2 0 014.4 12.9z`}}]},name:`mail`,theme:`filled`};function z$(){return z$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,z$({},e,{ref:t,icon:wOe}))),EOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z`}}]},name:`mail`,theme:`outlined`};function B$(){return B$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,B$({},e,{ref:t,icon:EOe}))),DOe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M477.5 536.3L135.9 270.7l-27.5-21.4 27.6 21.5V792h752V270.8L546.2 536.3a55.99 55.99 0 01-68.7 0z`,fill:t}},{tag:`path`,attrs:{d:`M876.3 198.8l39.3 50.5-27.6 21.5 27.7-21.5-39.3-50.5z`,fill:t}},{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-94.5 72.1L512 482 190.5 232.1h643zm54.5 38.7V792H136V270.8l-27.6-21.5 27.5 21.4 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5h.1l39.3 50.5-27.7 21.5z`,fill:e}}]}},name:`mail`,theme:`twotone`};function H$(){return H$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,H$({},e,{ref:t,icon:DOe}))),kOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M874 120H622c-3.3 0-6 2.7-6 6v56c0 3.3 2.7 6 6 6h160.4L583.1 387.3c-50-38.5-111-59.3-175.1-59.3-76.9 0-149.3 30-203.6 84.4S120 539.1 120 616s30 149.3 84.4 203.6C258.7 874 331.1 904 408 904s149.3-30 203.6-84.4C666 765.3 696 692.9 696 616c0-64.1-20.8-124.9-59.2-174.9L836 241.9V402c0 3.3 2.7 6 6 6h56c3.3 0 6-2.7 6-6V150c0-16.5-13.5-30-30-30zM408 828c-116.9 0-212-95.1-212-212s95.1-212 212-212 212 95.1 212 212-95.1 212-212 212z`}}]},name:`man`,theme:`outlined`};function U$(){return U$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,U$({},e,{ref:t,icon:kOe}))),jOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM660 628c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V636H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V464c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8v48zm4-372H360v-72h304v72z`}}]},name:`medicine-box`,theme:`filled`};function W$(){return W$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,W$({},e,{ref:t,icon:jOe}))),NOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840zM652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}}]},name:`medicine-box`,theme:`outlined`};function G$(){return G$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,G$({},e,{ref:t,icon:NOe}))),POe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M244.3 328L184 513.4V840h656V513.4L779.7 328H244.3zM660 628c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V636H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V464c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8v48z`,fill:t}},{tag:`path`,attrs:{d:`M652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`,fill:e}},{tag:`path`,attrs:{d:`M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840z`,fill:e}}]}},name:`medicine-box`,theme:`twotone`};function q$(){return q$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,q$({},e,{ref:t,icon:POe}))),IOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm256 253.7l-40.8 39.1c-3.6 2.7-5.3 7.1-4.6 11.4v287.7c-.7 4.4 1 8.8 4.6 11.4l40 39.1v8.7H566.4v-8.3l41.3-40.1c4.1-4.1 4.1-5.3 4.1-11.4V422.5l-115 291.6h-15.5L347.5 422.5V618c-1.2 8.2 1.7 16.5 7.5 22.4l53.8 65.1v8.7H256v-8.7l53.8-65.1a26.1 26.1 0 007-22.4V392c.7-6.3-1.7-12.4-6.5-16.7l-47.8-57.6V309H411l114.6 251.5 100.9-251.3H768v8.5z`}}]},name:`medium-circle`,theme:`filled`};function J$(){return J$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,J$({},e,{ref:t,icon:IOe}))),ROe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M834.7 279.8l61.3-58.9V208H683.7L532.4 586.4 360.3 208H137.7v12.9l71.6 86.6c7 6.4 10.6 15.8 9.7 25.2V673c2.2 12.3-1.7 24.8-10.3 33.7L128 805v12.7h228.6v-12.9l-80.6-98a39.99 39.99 0 01-11.1-33.7V378.7l200.7 439.2h23.3l172.6-439.2v349.9c0 9.2 0 11.1-6 17.2l-62.1 60.3V819h301.2v-12.9l-59.9-58.9c-5.2-4-7.9-10.7-6.8-17.2V297a18.1 18.1 0 016.8-17.2z`}}]},name:`medium`,theme:`outlined`};function Y$(){return Y$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Y$({},e,{ref:t,icon:ROe}))),BOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM768 317.7l-40.8 39.1c-3.6 2.7-5.3 7.1-4.6 11.4v287.7c-.7 4.4 1 8.8 4.6 11.4l40 39.1v8.7H566.4v-8.3l41.3-40.1c4.1-4.1 4.1-5.3 4.1-11.4V422.5l-115 291.6h-15.5L347.5 422.5V618c-1.2 8.2 1.7 16.5 7.5 22.4l53.8 65.1v8.7H256v-8.7l53.8-65.1a26.1 26.1 0 007-22.4V392c.7-6.3-1.7-12.4-6.5-16.7l-47.8-57.6V309H411l114.6 251.5 100.9-251.3H768v8.5z`}}]},name:`medium-square`,theme:`filled`};function X$(){return X$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,X$({},e,{ref:t,icon:BOe}))),HOe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M517.2 590.55c0 3.55 0 4.36 2.4 6.55l13.43 13.25v.57h-59.57v-25.47a41.44 41.44 0 01-39.5 27.65c-30.61 0-52.84-24.25-52.84-68.87 0-41.8 23.99-69.69 57.65-69.69a35.15 35.15 0 0134.61 21.67v-56.19a6.99 6.99 0 00-2.71-6.79l-12.8-12.45v-.56l59.33-7.04v177.37zm-43.74-8.09v-83.83a22.2 22.2 0 00-17.74-8.4c-14.48 0-28.47 13.25-28.47 52.62 0 36.86 12.07 49.88 27.1 49.88a23.91 23.91 0 0019.11-10.27zm83.23 28.46V497.74a7.65 7.65 0 00-2.4-6.79l-13.19-13.74v-.57h59.56v114.8c0 3.55 0 4.36 2.4 6.54l13.12 12.45v.57l-59.49-.08zm-2.16-175.67c0-13.4 10.74-24.25 23.99-24.25 13.25 0 23.98 10.86 23.98 24.25 0 13.4-10.73 24.25-23.98 24.25s-23.99-10.85-23.99-24.25zm206.83 155.06c0 3.55 0 4.6 2.4 6.79l13.43 13.25v.57h-59.88V581.9a43.4 43.4 0 01-41.01 31.2c-26.55 0-40.78-19.56-40.78-56.59 0-17.86 0-37.43.56-59.41a6.91 6.91 0 00-2.4-6.55L620.5 477.2v-.57h59.09v73.81c0 24.25 3.51 40.42 18.54 40.42a23.96 23.96 0 0019.35-12.2v-80.85a7.65 7.65 0 00-2.4-6.79l-13.27-13.82v-.57h59.56V590.3zm202.76 20.6c0-4.36.8-59.97.8-72.75 0-24.25-3.76-40.98-20.63-40.98a26.7 26.7 0 00-21.19 11.64 99.68 99.68 0 012.4 23.04c0 16.81-.56 38.23-.8 59.66a6.91 6.91 0 002.4 6.55l13.43 12.45v.56h-60.12c0-4.04.8-59.98.8-72.76 0-24.65-3.76-40.98-20.39-40.98-8.2.3-15.68 4.8-19.83 11.96v82.46c0 3.56 0 4.37 2.4 6.55l13.11 12.45v.56h-59.48V498.15a7.65 7.65 0 00-2.4-6.8l-13.19-14.14v-.57H841v28.78c5.53-19 23.13-31.76 42.7-30.96 19.82 0 33.26 11.16 38.93 32.34a46.41 46.41 0 0144.77-32.34c26.55 0 41.58 19.8 41.58 57.23 0 17.87-.56 38.24-.8 59.66a6.5 6.5 0 002.72 6.55l13.11 12.45v.57h-59.88zM215.87 593.3l17.66 17.05v.57h-89.62v-.57l17.99-17.05a6.91 6.91 0 002.4-6.55V477.69c0-4.6 0-10.83.8-16.16L104.66 613.1h-.72l-62.6-139.45c-1.37-3.47-1.77-3.72-2.65-6.06v91.43a32.08 32.08 0 002.96 17.87l25.19 33.46v.57H0v-.57l25.18-33.55a32.16 32.16 0 002.96-17.78V457.97A19.71 19.71 0 0024 444.15L6.16 420.78v-.56h63.96l53.56 118.1 47.17-118.1h62.6v.56l-17.58 19.8a6.99 6.99 0 00-2.72 6.8v139.37a6.5 6.5 0 002.72 6.55zm70.11-54.65v.56c0 34.6 17.67 48.5 38.38 48.5a43.5 43.5 0 0040.77-24.97h.56c-7.2 34.2-28.14 50.36-59.48 50.36-33.82 0-65.72-20.61-65.72-68.39 0-50.2 31.98-70.25 67.32-70.25 28.46 0 58.76 13.58 58.76 57.24v6.95h-80.59zm0-6.95h39.42v-7.04c0-35.57-7.28-45.03-18.23-45.03-13.27 0-21.35 14.15-21.35 52.07h.16z`}}]},name:`medium-workmark`,theme:`outlined`};function Z$(){return Z$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Z$({},e,{ref:t,icon:HOe}))),WOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm384 200c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v48zm16-152a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`meh`,theme:`filled`};function Q$(){return Q$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Q$({},e,{ref:t,icon:WOe}))),KOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 565H360c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}}]},name:`meh`,theme:`outlined`};function $$(){return $$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$$({},e,{ref:t,icon:KOe}))),JOe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm384 200c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v48zm16-152a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`,fill:t}},{tag:`path`,attrs:{d:`M288 421a48 48 0 1096 0 48 48 0 10-96 0zm376 144H360c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-24-144a48 48 0 1096 0 48 48 0 10-96 0z`,fill:e}}]}},name:`meh`,theme:`twotone`};function e1(){return e1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,e1({},e,{ref:t,icon:JOe}))),XOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 000 13.8z`}}]},name:`menu-fold`,theme:`outlined`};function t1(){return t1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,t1({},e,{ref:t,icon:XOe}))),QOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z`}}]},name:`menu`,theme:`outlined`};function n1(){return n1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,n1({},e,{ref:t,icon:QOe}))),$Oe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 000-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0014.4 7z`}}]},name:`menu-unfold`,theme:`outlined`};function i1(){return i1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,i1({},e,{ref:t,icon:$Oe}))),tke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M482.2 508.4L331.3 389c-3-2.4-7.3-.2-7.3 3.6V478H184V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H144c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H184V546h140v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4a4.5 4.5 0 000-7.2zM880 116H596c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H700v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4a4.52 4.52 0 000 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h140v294H636V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z`}}]},name:`merge-cells`,theme:`outlined`};function a1(){return a1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,a1({},e,{ref:t,icon:tke}))),rke={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M284 924c61.86 0 112-50.14 112-112 0-49.26-31.8-91.1-76-106.09V421.63l386.49 126.55.01 95.92C661 658.34 628 700.8 628 751c0 61.86 50.14 112 112 112s112-50.14 112-112c0-48.33-30.6-89.5-73.5-105.2l-.01-113.04a50.73 50.73 0 00-34.95-48.2L320 345.85V318.1c43.64-14.8 75.2-55.78 75.99-104.24L396 212c0-61.86-50.14-112-112-112s-112 50.14-112 112c0 49.26 31.8 91.1 76 106.09V705.9c-44.2 15-76 56.83-76 106.09 0 61.86 50.14 112 112 112`}}]},name:`merge`,theme:`filled`};function o1(){return o1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,o1({},e,{ref:t,icon:rke}))),ake={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M248 752h72V264h-72z`}},{tag:`path`,attrs:{d:`M740 863c61.86 0 112-50.14 112-112 0-48.33-30.6-89.5-73.5-105.2l-.01-113.04a50.73 50.73 0 00-34.95-48.2l-434.9-142.41-22.4 68.42 420.25 137.61.01 95.92C661 658.34 628 700.8 628 751c0 61.86 50.14 112 112 112m-456 61c61.86 0 112-50.14 112-112s-50.14-112-112-112-112 50.14-112 112 50.14 112 112 112m456-125a48 48 0 110-96 48 48 0 010 96m-456 61a48 48 0 110-96 48 48 0 010 96m0-536c61.86 0 112-50.14 112-112s-50.14-112-112-112-112 50.14-112 112 50.14 112 112 112m0-64a48 48 0 110-96 48 48 0 010 96`}}]},name:`merge`,theme:`outlined`};function s1(){return s1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,s1({},e,{ref:t,icon:ake}))),ske={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M924.3 338.4a447.57 447.57 0 00-96.1-143.3 443.09 443.09 0 00-143-96.3A443.91 443.91 0 00512 64h-2c-60.5.3-119 12.3-174.1 35.9a444.08 444.08 0 00-141.7 96.5 445 445 0 00-95 142.8A449.89 449.89 0 0065 514.1c.3 69.4 16.9 138.3 47.9 199.9v152c0 25.4 20.6 46 45.9 46h151.8a447.72 447.72 0 00199.5 48h2.1c59.8 0 117.7-11.6 172.3-34.3A443.2 443.2 0 00827 830.5c41.2-40.9 73.6-88.7 96.3-142 23.5-55.2 35.5-113.9 35.8-174.5.2-60.9-11.6-120-34.8-175.6zM312.4 560c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.4 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48z`}}]},name:`message`,theme:`filled`};function c1(){return c1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,c1({},e,{ref:t,icon:ske}))),lke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z`}}]},name:`message`,theme:`outlined`};function l1(){return l1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,l1({},e,{ref:t,icon:lke}))),uke={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M775.3 248.9a369.62 369.62 0 00-119-80A370.2 370.2 0 00512.1 140h-1.7c-99.7.4-193 39.4-262.8 109.9-69.9 70.5-108 164.1-107.6 263.8.3 60.3 15.3 120.2 43.5 173.1l4.5 8.4V836h140.8l8.4 4.5c52.9 28.2 112.8 43.2 173.1 43.5h1.7c99 0 192-38.2 262.1-107.6 70.4-69.8 109.5-163.1 110.1-262.7.2-50.6-9.5-99.6-28.9-145.8a370.15 370.15 0 00-80-119zM312 560a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`,fill:t}},{tag:`path`,attrs:{d:`M664 512a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0z`,fill:e}},{tag:`path`,attrs:{d:`M925.2 338.4c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z`,fill:e}},{tag:`path`,attrs:{d:`M464 512a48 48 0 1096 0 48 48 0 10-96 0z`,fill:e}}]}},name:`message`,theme:`twotone`};function d1(){return d1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,d1({},e,{ref:t,icon:uke}))),fke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z`}}]},name:`minus-circle`,theme:`filled`};function f1(){return f1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,f1({},e,{ref:t,icon:fke}))),mke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`minus-circle`,theme:`outlined`};function p1(){return p1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,p1({},e,{ref:t,icon:mke}))),hke={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm192 396c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z`,fill:t}},{tag:`path`,attrs:{d:`M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`minus-circle`,theme:`twotone`};function h1(){return h1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,h1({},e,{ref:t,icon:hke}))),_ke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM704 536c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z`}}]},name:`minus-square`,theme:`filled`};function g1(){return g1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,g1({},e,{ref:t,icon:_ke}))),yke={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm136-352c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48z`,fill:t}},{tag:`path`,attrs:{d:`M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`,fill:e}}]}},name:`minus-square`,theme:`twotone`};function _1(){return _1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_1({},e,{ref:t,icon:yke}))),xke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zM512 824c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z`}}]},name:`mobile`,theme:`filled`};function v1(){return v1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,v1({},e,{ref:t,icon:xke}))),Cke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`mobile`,theme:`outlined`};function y1(){return y1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,y1({},e,{ref:t,icon:Cke}))),wke={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M744 64H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H288V136h448v752z`,fill:e}},{tag:`path`,attrs:{d:`M288 888h448V136H288v752zm224-142c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z`,fill:t}},{tag:`path`,attrs:{d:`M472 786a40 40 0 1080 0 40 40 0 10-80 0z`,fill:e}}]}},name:`mobile`,theme:`twotone`};function x1(){return x1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,x1({},e,{ref:t,icon:wke}))),Eke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M911.5 699.7a8 8 0 00-10.3-4.8L840 717.2V179c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V762c0 3.3 2.1 6.3 5.3 7.5L501 909.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zm-243.8-377L564 514.3h57.6c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3v39h76.3c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3V703c0 4.4-3.6 8-8 8h-49.9c-4.4 0-8-3.6-8-8v-63.4h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h76v-39h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h57L356.5 322.8c-2.1-3.8-.7-8.7 3.2-10.8 1.2-.7 2.5-1 3.8-1h55.7a8 8 0 017.1 4.4L511 484.2h3.3L599 315.4c1.3-2.7 4.1-4.4 7.1-4.4h54.5c4.4 0 8 3.6 8.1 7.9 0 1.3-.4 2.6-1 3.8z`}}]},name:`money-collect`,theme:`filled`};function S1(){return S1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,S1({},e,{ref:t,icon:Eke}))),Oke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M911.5 700.7a8 8 0 00-10.3-4.8L840 718.2V180c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V763c0 3.3 2.1 6.3 5.3 7.5L501 910.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zM512 837.5l-256-93.1V184h512v560.4l-256 93.1zM660.6 312h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.6-1.2 1-2.5 1-3.8-.1-4.3-3.7-7.9-8.1-7.9z`}}]},name:`money-collect`,theme:`outlined`};function C1(){return C1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,C1({},e,{ref:t,icon:Oke}))),Ake={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M256 744.4l256 93.1 256-93.1V184H256v560.4zM359.7 313c1.2-.7 2.5-1 3.8-1h55.7a8 8 0 017.1 4.4L511 485.2h3.3L599 316.4c1.3-2.7 4.1-4.4 7.1-4.4h54.5c4.4 0 8 3.6 8.1 7.9 0 1.3-.4 2.6-1 3.8L564 515.3h57.6c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3v39h76.3c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3V704c0 4.4-3.6 8-8 8h-49.9c-4.4 0-8-3.6-8-8v-63.4h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h76v-39h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h57L356.5 323.8c-2.1-3.8-.7-8.7 3.2-10.8z`,fill:t}},{tag:`path`,attrs:{d:`M911.5 700.7a8 8 0 00-10.3-4.8L840 718.2V180c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V763c0 3.3 2.1 6.3 5.3 7.5L501 910.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zM768 744.4l-256 93.1-256-93.1V184h512v560.4z`,fill:e}},{tag:`path`,attrs:{d:`M460.4 515.4h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.6-1.2 1-2.5 1-3.8-.1-4.3-3.7-7.9-8.1-7.9h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6z`,fill:e}}]}},name:`money-collect`,theme:`twotone`};function w1(){return w1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,w1({},e,{ref:t,icon:Ake}))),Mke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M692.8 412.7l.2-.2-34.6-44.3a7.97 7.97 0 00-11.2-1.4l-50.4 39.3-70.5-90.1a7.97 7.97 0 00-11.2-1.4l-37.9 29.7a7.97 7.97 0 00-1.4 11.2l70.5 90.2-.2.1 34.6 44.3c2.7 3.5 7.7 4.1 11.2 1.4l50.4-39.3 64.1 82c2.7 3.5 7.7 4.1 11.2 1.4l37.9-29.6c3.5-2.7 4.1-7.7 1.4-11.2l-64.1-82.1zM608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5L114.3 856.1a8.03 8.03 0 000 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6C473 696.1 537.7 720 608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644s-118.2-23.7-161.2-66.8C403.7 534.2 380 476.9 380 416s23.7-118.2 66.8-161.2c43-43.1 100.3-66.8 161.2-66.8s118.2 23.7 161.2 66.8c43.1 43 66.8 100.3 66.8 161.2s-23.7 118.2-66.8 161.2z`}}]},name:`monitor`,theme:`outlined`};function T1(){return T1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,T1({},e,{ref:t,icon:Mke}))),Nke={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01z`}}]},name:`moon`,theme:`filled`};function D1(){return D1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,D1({},e,{ref:t,icon:Nke}))),Fke={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01zm-81.15 79.75l-4.11 1.36C271.1 237.94 176 364.09 176 511.5 176 697.34 326.66 848 512.5 848c148.28 0 274.94-96.2 319.45-230.41l.63-1.93-.11.07a307.06 307.06 0 01-159.73 46.26L670 662c-170.1 0-308-137.9-308-308 0-58.6 16.48-114.54 46.27-162.47z`}}]},name:`moon`,theme:`outlined`};function O1(){return O1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,O1({},e,{ref:t,icon:Fke}))),Lke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`more`,theme:`outlined`};function k1(){return k1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,k1({},e,{ref:t,icon:Lke}))),Rke={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M771.91 115a31.65 31.65 0 00-17.42 5.27L400 351.97H236a16 16 0 00-16 16v288.06a16 16 0 0016 16h164l354.5 231.7a31.66 31.66 0 0017.42 5.27c16.65 0 32.08-13.25 32.08-32.06V147.06c0-18.8-15.44-32.06-32.09-32.06`}}]},name:`muted`,theme:`filled`};function j1(){return j1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,j1({},e,{ref:t,icon:Rke}))),Bke={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M771.91 115a31.65 31.65 0 00-17.42 5.27L400 351.97H236a16 16 0 00-16 16v288.06a16 16 0 0016 16h164l354.5 231.7a31.66 31.66 0 0017.42 5.27c16.65 0 32.08-13.25 32.08-32.06V147.06c0-18.8-15.44-32.06-32.09-32.06M732 221v582L439.39 611.75l-17.95-11.73H292V423.98h129.44l17.95-11.73z`}}]},name:`muted`,theme:`outlined`};function M1(){return M1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,M1({},e,{ref:t,icon:Bke}))),Hke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM451.7 313.7l172.5 136.2c6.3 5.1 15.8.5 15.8-7.7V344h264c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H640v-98.2c0-8.1-9.4-12.8-15.8-7.7L451.7 298.3a9.9 9.9 0 000 15.4z`}}]},name:`node-collapse`,theme:`outlined`};function N1(){return N1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,N1({},e,{ref:t,icon:Hke}))),Wke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM456 344h264v98.2c0 8.1 9.5 12.8 15.8 7.7l172.5-136.2c5-3.9 5-11.4 0-15.3L735.8 162.1c-6.4-5.1-15.8-.5-15.8 7.7V268H456c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8z`}}]},name:`node-expand`,theme:`outlined`};function P1(){return P1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,P1({},e,{ref:t,icon:Wke}))),Kke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M843.5 737.4c-12.4-75.2-79.2-129.1-155.3-125.4S550.9 676 546 752c-153.5-4.8-208-40.7-199.1-113.7 3.3-27.3 19.8-41.9 50.1-49 18.4-4.3 38.8-4.9 57.3-3.2 1.7.2 3.5.3 5.2.5 11.3 2.7 22.8 5 34.3 6.8 34.1 5.6 68.8 8.4 101.8 6.6 92.8-5 156-45.9 159.2-132.7 3.1-84.1-54.7-143.7-147.9-183.6-29.9-12.8-61.6-22.7-93.3-30.2-14.3-3.4-26.3-5.7-35.2-7.2-7.9-75.9-71.5-133.8-147.8-134.4-76.3-.6-140.9 56.1-150.1 131.9s40 146.3 114.2 163.9c74.2 17.6 149.9-23.3 175.7-95.1 9.4 1.7 18.7 3.6 28 5.8 28.2 6.6 56.4 15.4 82.4 26.6 70.7 30.2 109.3 70.1 107.5 119.9-1.6 44.6-33.6 65.2-96.2 68.6-27.5 1.5-57.6-.9-87.3-5.8-8.3-1.4-15.9-2.8-22.6-4.3-3.9-.8-6.6-1.5-7.8-1.8l-3.1-.6c-2.2-.3-5.9-.8-10.7-1.3-25-2.3-52.1-1.5-78.5 4.6-55.2 12.9-93.9 47.2-101.1 105.8-15.7 126.2 78.6 184.7 276 188.9 29.1 70.4 106.4 107.9 179.6 87 73.3-20.9 119.3-93.4 106.9-168.6zM329.1 345.2a83.3 83.3 0 11.01-166.61 83.3 83.3 0 01-.01 166.61zM695.6 845a83.3 83.3 0 11.01-166.61A83.3 83.3 0 01695.6 845z`}}]},name:`node-index`,theme:`outlined`};function F1(){return F1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,F1({},e,{ref:t,icon:Kke}))),Jke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.6c-3.7 11.6-5.6 23.9-5.6 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1z`}}]},name:`notification`,theme:`filled`};function I1(){return I1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,I1({},e,{ref:t,icon:Jke}))),Xke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z`}}]},name:`notification`,theme:`outlined`};function L1(){return L1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,L1({},e,{ref:t,icon:Xke}))),Qke={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M229.6 678.1c-3.7 11.6-5.6 23.9-5.6 36.4 0-12.5 2-24.8 5.7-36.4h-.1zm76.3-260.2H184v188.2h121.9l12.9 5.2L840 820.7V203.3L318.8 412.7z`,fill:t}},{tag:`path`,attrs:{d:`M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z`,fill:e}}]}},name:`notification`,theme:`twotone`};function R1(){return R1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,R1({},e,{ref:t,icon:Qke}))),eAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 394c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H400V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v236H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h228v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h164c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V394h164zM628 630H400V394h228v236z`}}]},name:`number`,theme:`outlined`};function z1(){return z1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,z1({},e,{ref:t,icon:eAe}))),nAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M316 672h60c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8zm196-50c22.1 0 40-17.9 40-39 0-23.1-17.9-41-40-41s-40 17.9-40 41c0 21.1 17.9 39 40 39zm0-140c22.1 0 40-17.9 40-39 0-23.1-17.9-41-40-41s-40 17.9-40 41c0 21.1 17.9 39 40 39z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}},{tag:`path`,attrs:{d:`M648 672h60c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8z`}}]},name:`one-to-one`,theme:`outlined`};function B1(){return B1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,B1({},e,{ref:t,icon:nAe}))),iAe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M475.6 112c-74.03 0-139.72 42.38-172.92 104.58v237.28l92.27 56.48 3.38-235.7 189-127.45A194.33 194.33 0 00475.6 112m202.9 62.25c-13.17 0-26.05 1.76-38.8 4.36L453.2 304.36l-1.37 96.15 186.58-125.25 231.22 137.28a195.5 195.5 0 004.87-42.33c0-108.04-87.93-195.96-195.99-195.96M247.34 266C167.34 290.7 109 365.22 109 453.2c0 27.92 5.9 54.83 16.79 79.36l245.48 139.77 90.58-56.12-214.5-131.38zm392.88 74.67l-72.7 48.85L771.5 517.58 797.3 753C867.41 723.11 916 653.97 916 573.1c0-27.55-5.86-54.12-16.57-78.53zm-123 82.6l-66.36 44.56-1.05 76.12 64.7 39.66 69.54-43.04-1.84-76.48zm121.2 76.12l5.87 248.34L443 866.9A195.65 195.65 0 00567.84 912c79.22 0 147.8-46.52 178.62-114.99L719.4 550.22zm-52.86 105.3L372.43 736.68 169.56 621.15a195.35 195.35 0 00-5.22 44.16c0 102.94 79.84 187.41 180.81 195.18L588.2 716.6z`}}]},name:`open-a-i`,theme:`filled`};function V1(){return V1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,V1({},e,{ref:t,icon:iAe}))),oAe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M482.88 128c-84.35 0-156.58 52.8-185.68 126.98-60.89 8.13-115.3 43.63-146.6 97.84-42.16 73-32.55 161.88 17.14 224.16-23.38 56.75-19.85 121.6 11.42 175.78 42.18 73.02 124.1 109.15 202.94 97.23C419.58 898.63 477.51 928 540.12 928c84.35 0 156.58-52.8 185.68-126.98 60.89-8.13 115.3-43.62 146.6-97.84 42.16-73 32.55-161.88-17.14-224.16 23.38-56.75 19.85-121.6-11.42-175.78-42.18-73.02-124.1-109.15-202.94-97.23C603.42 157.38 545.49 128 482.88 128m0 61.54c35.6 0 68.97 13.99 94.22 37.74-1.93 1.03-3.92 1.84-5.83 2.94l-136.68 78.91a46.11 46.11 0 00-23.09 39.78l-.84 183.6-65.72-38.34V327.4c0-76 61.9-137.86 137.94-137.86m197.7 75.9c44.19 3.14 86.16 27.44 109.92 68.57 17.8 30.8 22.38 66.7 14.43 100.42-1.88-1.17-3.6-2.49-5.53-3.6l-136.73-78.91a46.23 46.23 0 00-46-.06l-159.47 91.1.36-76.02 144.5-83.41a137.19 137.19 0 0178.53-18.09m-396.92 55.4c-.07 2.2-.3 4.35-.3 6.56v157.75a46.19 46.19 0 0022.91 39.9l158.68 92.5-66.02 37.67-144.55-83.35c-65.86-38-88.47-122.53-50.45-188.34 17.78-30.78 46.55-52.69 79.73-62.68m340.4 79.93l144.54 83.35c65.86 38 88.47 122.53 50.45 188.34-17.78 30.78-46.55 52.69-79.73 62.68.07-2.19.3-4.34.3-6.55V570.85a46.19 46.19 0 00-22.9-39.9l-158.69-92.5zM511.8 464.84l54.54 31.79-.3 63.22-54.84 31.31-54.54-31.85.3-63.16zm100.54 58.65l65.72 38.35V728.6c0 76-61.9 137.86-137.94 137.86-35.6 0-68.97-13.99-94.22-37.74 1.93-1.03 3.92-1.84 5.83-2.94l136.68-78.9a46.11 46.11 0 0023.09-39.8zm-46.54 89.55l-.36 76.02-144.5 83.41c-65.85 38-150.42 15.34-188.44-50.48-17.8-30.8-22.38-66.7-14.43-100.42 1.88 1.17 3.6 2.5 5.53 3.6l136.74 78.91a46.23 46.23 0 0046 .06z`}}]},name:`open-a-i`,theme:`outlined`};function H1(){return H1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,H1({},e,{ref:t,icon:oAe}))),cAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M920 760H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-568H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM216 712H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h72.4v20.5h-35.7c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h35.7V838H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4V716c0-2.2-1.8-4-4-4zM100 188h38v120c0 2.2 1.8 4 4 4h40c2.2 0 4-1.8 4-4V152c0-4.4-3.6-8-8-8h-78c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4zm116 240H100c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4h68.4l-70.3 77.7a8.3 8.3 0 00-2.1 5.4V592c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4v-36c0-2.2-1.8-4-4-4h-68.4l70.3-77.7a8.3 8.3 0 002.1-5.4V432c0-2.2-1.8-4-4-4z`}}]},name:`ordered-list`,theme:`outlined`};function U1(){return U1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,U1({},e,{ref:t,icon:cAe}))),uAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M640.6 429.8h257.1c7.9 0 14.3-6.4 14.3-14.3V158.3c0-7.9-6.4-14.3-14.3-14.3H640.6c-7.9 0-14.3 6.4-14.3 14.3v92.9H490.6c-3.9 0-7.1 3.2-7.1 7.1v221.5h-85.7v-96.5c0-7.9-6.4-14.3-14.3-14.3H126.3c-7.9 0-14.3 6.4-14.3 14.3v257.2c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3V544h85.7v221.5c0 3.9 3.2 7.1 7.1 7.1h135.7v92.9c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3v-257c0-7.9-6.4-14.3-14.3-14.3h-257c-7.9 0-14.3 6.4-14.3 14.3v100h-78.6v-393h78.6v100c0 7.9 6.4 14.3 14.3 14.3zm53.5-217.9h150V362h-150V211.9zM329.9 587h-150V437h150v150zm364.2 75.1h150v150.1h-150V662.1z`}}]},name:`partition`,theme:`outlined`};function W1(){return W1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,W1({},e,{ref:t,icon:uAe}))),fAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-80 600c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z`}}]},name:`pause-circle`,theme:`filled`};function G1(){return G1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,G1({},e,{ref:t,icon:fAe}))),mAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z`}}]},name:`pause-circle`,theme:`outlined`};function K1(){return K1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,K1({},e,{ref:t,icon:mAe}))),gAe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-80 524c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z`,fill:t}},{tag:`path`,attrs:{d:`M424 352h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`pause-circle`,theme:`twotone`};function q1(){return q1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,q1({},e,{ref:t,icon:gAe}))),vAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M304 176h80v672h-80zm408 0h-64c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8z`}}]},name:`pause`,theme:`outlined`};function J1(){return J1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,J1({},e,{ref:t,icon:vAe}))),bAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm166.6 246.8L567.5 515.6h62c4.4 0 8 3.6 8 8v29.9c0 4.4-3.6 8-8 8h-82V603h82c4.4 0 8 3.6 8 8v29.9c0 4.4-3.6 8-8 8h-82V717c0 4.4-3.6 8-8 8h-54.3c-4.4 0-8-3.6-8-8v-68.1h-81.7c-4.4 0-8-3.6-8-8V611c0-4.4 3.6-8 8-8h81.7v-41.5h-81.7c-4.4 0-8-3.6-8-8v-29.9c0-4.4 3.6-8 8-8h61.4L345.4 310.8a8.07 8.07 0 017-11.9h60.7c3 0 5.8 1.7 7.1 4.4l90.6 180h3.4l90.6-180a8 8 0 017.1-4.4h59.5c4.4 0 8 3.6 8 8 .2 1.4-.2 2.7-.8 3.9z`}}]},name:`pay-circle`,theme:`filled`};function Y1(){return Y1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Y1({},e,{ref:t,icon:bAe}))),SAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm159.6-585h-59.5c-3 0-5.8 1.7-7.1 4.4l-90.6 180H511l-90.6-180a8 8 0 00-7.1-4.4h-60.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9L457 515.7h-61.4c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V603h-81.7c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V717c0 4.4 3.6 8 8 8h54.3c4.4 0 8-3.6 8-8v-68.1h82c4.4 0 8-3.6 8-8V611c0-4.4-3.6-8-8-8h-82v-41.5h82c4.4 0 8-3.6 8-8v-29.9c0-4.4-3.6-8-8-8h-62l111.1-204.8c.6-1.2 1-2.5 1-3.8-.1-4.4-3.7-8-8.1-8z`}}]},name:`pay-circle`,theme:`outlined`};function X1(){return X1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,X1({},e,{ref:t,icon:SAe}))),CAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M855.7 210.8l-42.4-42.4a8.03 8.03 0 00-11.3 0L168.3 801.9a8.03 8.03 0 000 11.3l42.4 42.4c3.1 3.1 8.2 3.1 11.3 0L855.6 222c3.2-3 3.2-8.1.1-11.2zM304 448c79.4 0 144-64.6 144-144s-64.6-144-144-144-144 64.6-144 144 64.6 144 144 144zm0-216c39.7 0 72 32.3 72 72s-32.3 72-72 72-72-32.3-72-72 32.3-72 72-72zm416 344c-79.4 0-144 64.6-144 144s64.6 144 144 144 144-64.6 144-144-64.6-144-144-144zm0 216c-39.7 0-72-32.3-72-72s32.3-72 72-72 72 32.3 72 72-32.3 72-72 72z`}}]},name:`percentage`,theme:`outlined`};function Q1(){return Q1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Q1({},e,{ref:t,icon:CAe}))),TAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M885.6 230.2L779.1 123.8a80.83 80.83 0 00-57.3-23.8c-21.7 0-42.1 8.5-57.4 23.8L549.8 238.4a80.83 80.83 0 00-23.8 57.3c0 21.7 8.5 42.1 23.8 57.4l83.8 83.8A393.82 393.82 0 01553.1 553 395.34 395.34 0 01437 633.8L353.2 550a80.83 80.83 0 00-57.3-23.8c-21.7 0-42.1 8.5-57.4 23.8L123.8 664.5a80.89 80.89 0 00-23.8 57.4c0 21.7 8.5 42.1 23.8 57.4l106.3 106.3c24.4 24.5 58.1 38.4 92.7 38.4 7.3 0 14.3-.6 21.2-1.8 134.8-22.2 268.5-93.9 376.4-201.7C828.2 612.8 899.8 479.2 922.3 344c6.8-41.3-6.9-83.8-36.7-113.8z`}}]},name:`phone`,theme:`filled`};function $1(){return $1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$1({},e,{ref:t,icon:TAe}))),DAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z`}}]},name:`phone`,theme:`outlined`};function e0(){return e0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,e0({},e,{ref:t,icon:DAe}))),OAe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M721.7 184.9L610.9 295.8l120.8 120.7-8 21.6A481.29 481.29 0 01438 723.9l-21.6 8-.9-.9-119.8-120-110.8 110.9 104.5 104.5c10.8 10.7 26 15.7 40.8 13.2 117.9-19.5 235.4-82.9 330.9-178.4s158.9-213.1 178.4-331c2.5-14.8-2.5-30-13.3-40.8L721.7 184.9z`,fill:t}},{tag:`path`,attrs:{d:`M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z`,fill:e}}]}},name:`phone`,theme:`twotone`};function n0(){return n0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,n0({},e,{ref:t,icon:OAe}))),AAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM848 660c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H176c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h672zM232 436h560v152H232V436z`}}]},name:`pic-center`,theme:`outlined`};function r0(){return r0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,r0({},e,{ref:t,icon:AAe}))),MAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM608 660c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h512zM152 436h400v152H152V436zm552 210c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H712c-4.4 0-8 3.6-8 8v56zm8-204h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H712c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z`}}]},name:`pic-left`,theme:`outlined`};function i0(){return i0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,i0({},e,{ref:t,icon:MAe}))),PAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-24 500c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H416c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h512zM472 436h400v152H472V436zM80 646c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H88c-4.4 0-8 3.6-8 8v56zm8-204h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H88c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z`}}]},name:`pic-right`,theme:`outlined`};function a0(){return a0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,a0({},e,{ref:t,icon:PAe}))),IAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM338 304c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm513.9 437.1a8.11 8.11 0 01-5.2 1.9H177.2c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2l170.3-202c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l99.4 118 158.1-187.5c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l229.6 271.6c2.6 3.3 2.2 8.4-1.2 11.2z`}}]},name:`picture`,theme:`filled`};function o0(){return o0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,o0({},e,{ref:t,icon:IAe}))),RAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z`}}]},name:`picture`,theme:`outlined`};function s0(){return s0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,s0({},e,{ref:t,icon:RAe}))),zAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M863.1 518.5H505.5V160.9c0-4.4-3.6-8-8-8h-26a398.57 398.57 0 00-282.5 117 397.47 397.47 0 00-85.6 127C82.6 446.2 72 498.5 72 552.5S82.6 658.7 103.4 708c20.1 47.5 48.9 90.3 85.6 127 36.7 36.7 79.4 65.5 127 85.6a396.64 396.64 0 00155.6 31.5 398.57 398.57 0 00282.5-117c36.7-36.7 65.5-79.4 85.6-127a396.64 396.64 0 0031.5-155.6v-26c-.1-4.4-3.7-8-8.1-8zM951 463l-2.6-28.2c-8.5-92-49.3-178.8-115.1-244.3A398.5 398.5 0 00588.4 75.6L560.1 73c-4.7-.4-8.7 3.2-8.7 7.9v383.7c0 4.4 3.6 8 8 8l383.6-1c4.7-.1 8.4-4 8-8.6z`}}]},name:`pie-chart`,theme:`filled`};function l0(){return l0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,l0({},e,{ref:t,icon:zAe}))),VAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552a398.46 398.46 0 00117.1 282.8c36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952a398.46 398.46 0 00282.8-117.1c36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552c0-88.7 34.5-172.1 97.2-234.8 54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8zM952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-4.7-.4-8.7 3.2-8.7 7.9V464c0 4.4 3.6 8 8 8l384-1c4.7 0 8.4-4 8-8.6zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z`}}]},name:`pie-chart`,theme:`outlined`};function u0(){return u0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,u0({},e,{ref:t,icon:VAe}))),HAe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M316.2 920.5c-47.6-20.1-90.4-49-127.1-85.7a398.19 398.19 0 01-85.7-127.1A397.12 397.12 0 0172 552.2v.2a398.57 398.57 0 00117 282.5c36.7 36.7 79.4 65.5 127 85.6A396.64 396.64 0 00471.6 952c27 0 53.6-2.7 79.7-7.9-25.9 5.2-52.4 7.8-79.3 7.8-54 .1-106.4-10.5-155.8-31.4zM560 472c-4.4 0-8-3.6-8-8V79.9c0-1.3.3-2.5.9-3.6-.9 1.3-1.5 2.9-1.5 4.6v383.7c0 4.4 3.6 8 8 8l383.6-1c1.6 0 3.1-.5 4.4-1.3-1 .5-2.2.7-3.4.7l-384 1z`,fill:t}},{tag:`path`,attrs:{d:`M619.8 147.6v256.6l256.4-.7c-13-62.5-44.3-120.5-90-166.1a332.24 332.24 0 00-166.4-89.8z`,fill:t}},{tag:`path`,attrs:{d:`M438 221.7c-75.9 7.6-146.2 40.9-200.8 95.5C174.5 379.9 140 463.3 140 552s34.5 172.1 97.2 234.8c62.3 62.3 145.1 96.8 233.2 97.2 88.2.4 172.7-34.1 235.3-96.2C761 733 794.6 662.3 802.3 586H438V221.7z`,fill:t}},{tag:`path`,attrs:{d:`M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552v.2c0 53.9 10.6 106.2 31.4 155.5 20.1 47.6 49 90.4 85.7 127.1 36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952c26.9 0 53.4-2.6 79.3-7.8 26.1-5.3 51.7-13.1 76.4-23.6 47.6-20.1 90.4-49 127.1-85.7 36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552s34.5-172.1 97.2-234.8c54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8z`,fill:e}},{tag:`path`,attrs:{d:`M952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-3.4-.3-6.4 1.5-7.8 4.3a8.7 8.7 0 00-.9 3.6V464c0 4.4 3.6 8 8 8l384-1c1.2 0 2.3-.3 3.4-.7a8.1 8.1 0 004.6-7.9zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z`,fill:e}}]}},name:`pie-chart`,theme:`twotone`};function f0(){return f0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,f0({},e,{ref:t,icon:HAe}))),WAe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.97 64 64 264.97 64 512c0 192.53 122.08 357.04 292.88 420.28-4.92-43.86-4.14-115.68 3.97-150.46 7.6-32.66 49.11-208.16 49.11-208.16s-12.53-25.1-12.53-62.16c0-58.24 33.74-101.7 75.77-101.7 35.74 0 52.97 26.83 52.97 58.98 0 35.96-22.85 89.66-34.7 139.43-9.87 41.7 20.91 75.7 62.02 75.7 74.43 0 131.64-78.5 131.64-191.77 0-100.27-72.03-170.38-174.9-170.38-119.15 0-189.08 89.38-189.08 181.75 0 35.98 13.85 74.58 31.16 95.58 3.42 4.16 3.92 7.78 2.9 12-3.17 13.22-10.22 41.67-11.63 47.5-1.82 7.68-6.07 9.28-14 5.59-52.3-24.36-85-100.81-85-162.25 0-132.1 95.96-253.43 276.71-253.43 145.29 0 258.18 103.5 258.18 241.88 0 144.34-91.02 260.49-217.31 260.49-42.44 0-82.33-22.05-95.97-48.1 0 0-21 79.96-26.1 99.56-8.82 33.9-46.55 104.13-65.49 136.03A446.16 446.16 0 00512 960c247.04 0 448-200.97 448-448S759.04 64 512 64`}}]},name:`pinterest`,theme:`filled`};function p0(){return p0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,p0({},e,{ref:t,icon:WAe}))),KAe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.8 64 64 264.8 64 512s200.8 448 448 448 448-200.8 448-448S759.2 64 512 64m0 38.96c226.14 0 409.04 182.9 409.04 409.04 0 226.14-182.9 409.04-409.04 409.04-41.37 0-81.27-6.19-118.89-17.57 16.76-28.02 38.4-68.06 46.99-101.12 5.1-19.6 26.1-99.56 26.1-99.56 13.64 26.04 53.5 48.09 95.94 48.09 126.3 0 217.34-116.15 217.34-260.49 0-138.37-112.91-241.88-258.2-241.88-180.75 0-276.69 121.32-276.69 253.4 0 61.44 32.68 137.91 85 162.26 7.92 3.7 12.17 2.1 14-5.59 1.4-5.83 8.46-34.25 11.63-47.48 1.02-4.22.53-7.86-2.89-12.02-17.31-21-31.2-59.58-31.2-95.56 0-92.38 69.94-181.78 189.08-181.78 102.88 0 174.93 70.13 174.93 170.4 0 113.28-57.2 191.78-131.63 191.78-41.11 0-71.89-34-62.02-75.7 11.84-49.78 34.7-103.49 34.7-139.44 0-32.15-17.25-58.97-53-58.97-42.02 0-75.78 43.45-75.78 101.7 0 37.06 12.56 62.16 12.56 62.16s-41.51 175.5-49.12 208.17c-7.62 32.64-5.58 76.6-2.43 109.34C208.55 830.52 102.96 683.78 102.96 512c0-226.14 182.9-409.04 409.04-409.04`}}]},name:`pinterest`,theme:`outlined`};function m0(){return m0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,m0({},e,{ref:t,icon:KAe}))),JAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z`}}]},name:`play-circle`,theme:`filled`};function h0(){return h0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,h0({},e,{ref:t,icon:JAe}))),XAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z`}}]},name:`play-circle`,theme:`outlined`};function g0(){return g0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,g0({},e,{ref:t,icon:XAe}))),ZAe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm164.1 378.2L457.7 677.1a8.02 8.02 0 01-12.7-6.5V353a8 8 0 0112.7-6.5l218.4 158.8a7.9 7.9 0 010 12.9z`,fill:t}},{tag:`path`,attrs:{d:`M676.1 505.3L457.7 346.5A8 8 0 00445 353v317.6a8.02 8.02 0 0012.7 6.5l218.4-158.9a7.9 7.9 0 000-12.9z`,fill:e}}]}},name:`play-circle`,theme:`twotone`};function v0(){return v0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,v0({},e,{ref:t,icon:ZAe}))),$Ae={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM641.7 520.8L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6z`}}]},name:`play-square`,theme:`filled`};function y0(){return y0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,y0({},e,{ref:t,icon:$Ae}))),tje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M442.3 677.6l199.4-156.7a11.3 11.3 0 000-17.7L442.3 346.4c-7.4-5.8-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.7 18.3 8.9z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`play-square`,theme:`outlined`};function b0(){return b0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,b0({},e,{ref:t,icon:tje}))),rje={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm240-484.7c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3z`,fill:t}},{tag:`path`,attrs:{d:`M442.3 677.6l199.4-156.8a11.2 11.2 0 000-17.6L442.3 346.5c-7.4-5.9-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.6 18.3 8.8z`,fill:e}}]}},name:`play-square`,theme:`twotone`};function x0(){return x0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,x0({},e,{ref:t,icon:rje}))),aje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z`}}]},name:`plus-circle`,theme:`filled`};function S0(){return S0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,S0({},e,{ref:t,icon:aje}))),sje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`plus-circle`,theme:`outlined`};function C0(){return C0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,C0({},e,{ref:t,icon:sje}))),lje={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm192 396c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z`,fill:t}},{tag:`path`,attrs:{d:`M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`plus-circle`,theme:`twotone`};function w0(){return w0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,w0({},e,{ref:t,icon:lje}))),dje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM704 536c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z`}}]},name:`plus-square`,theme:`filled`};function T0(){return T0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,T0({},e,{ref:t,icon:dje}))),pje={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm136-352c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48z`,fill:t}},{tag:`path`,attrs:{d:`M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`,fill:e}}]}},name:`plus-square`,theme:`twotone`};function E0(){return E0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,E0({},e,{ref:t,icon:pje}))),hje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm146 658c0 4.4-3.6 8-8 8H376.2c-4.4 0-8-3.6-8-8v-38.5c0-3.7 2.5-6.9 6.1-7.8 44-10.9 72.8-49 72.8-94.2 0-14.7-2.5-29.4-5.9-44.2H374c-4.4 0-8-3.6-8-8v-30c0-4.4 3.6-8 8-8h53.7c-7.8-25.1-14.6-50.7-14.6-77.1 0-75.8 58.6-120.3 151.5-120.3 26.5 0 51.4 5.5 70.3 12.7 3.1 1.2 5.2 4.2 5.2 7.5v39.5a8 8 0 01-10.6 7.6c-17.9-6.4-39-10.5-60.4-10.5-53.3 0-87.3 26.6-87.3 70.2 0 24.7 6.2 47.9 13.4 70.5h112c4.4 0 8 3.6 8 8v30c0 4.4-3.6 8-8 8h-98.6c3.1 13.2 5.3 26.9 5.3 41 0 40.7-16.5 73.9-43.9 91.1v4.7h180c4.4 0 8 3.6 8 8V722z`}}]},name:`pound-circle`,theme:`filled`};function D0(){return D0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,D0({},e,{ref:t,icon:hje}))),_je={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm138-209.8H469.8v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.9-5.3-41H607c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8H495c-7.2-22.6-13.4-45.7-13.4-70.5 0-43.5 34-70.2 87.3-70.2 21.5 0 42.5 4.1 60.4 10.5 5.2 1.9 10.6-2 10.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.8-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.3 6.9 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.1c3.4 14.7 5.9 29.4 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8V722c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z`}}]},name:`pound-circle`,theme:`outlined`};function O0(){return O0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,O0({},e,{ref:t,icon:_je}))),yje={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm146 582.1c0 4.4-3.6 8-8 8H376.2c-4.4 0-8-3.6-8-8v-38.5c0-3.7 2.5-6.9 6.1-7.8 44-10.9 72.8-49 72.8-94.2 0-14.7-2.5-29.4-5.9-44.2H374c-4.4 0-8-3.6-8-8v-30c0-4.4 3.6-8 8-8h53.7c-7.8-25.1-14.6-50.7-14.6-77.1 0-75.8 58.6-120.3 151.5-120.3 26.5 0 51.4 5.5 70.3 12.7 3.1 1.2 5.2 4.2 5.2 7.5v39.5a8 8 0 01-10.6 7.6c-17.9-6.4-39-10.5-60.4-10.5-53.3 0-87.3 26.6-87.3 70.2 0 24.7 6.2 47.9 13.4 70.5h112c4.4 0 8 3.6 8 8v30c0 4.4-3.6 8-8 8h-98.6c3.1 13.2 5.3 26.9 5.3 41 0 40.7-16.5 73.9-43.9 91.1v4.7h180c4.4 0 8 3.6 8 8v39.8z`,fill:t}},{tag:`path`,attrs:{d:`M650 674.3H470v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.8-5.3-41h98.6c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8h-112c-7.2-22.6-13.4-45.8-13.4-70.5 0-43.6 34-70.2 87.3-70.2 21.4 0 42.5 4.1 60.4 10.5a8 8 0 0010.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.9-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.4 6.8 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.2c3.4 14.8 5.9 29.5 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8v38.5c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`pound-circle`,theme:`twotone`};function k0(){return k0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,k0({},e,{ref:t,icon:yje}))),xje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm138-209.8H469.8v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.9-5.3-41H607c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8H495c-7.2-22.6-13.4-45.7-13.4-70.5 0-43.5 34-70.2 87.3-70.2 21.5 0 42.5 4.1 60.4 10.5 5.2 1.9 10.6-2 10.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.8-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.3 6.9 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.1c3.4 14.7 5.9 29.4 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8V722c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z`}}]},name:`pound`,theme:`outlined`};function A0(){return A0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,A0({},e,{ref:t,icon:xje}))),Cje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z`}}]},name:`poweroff`,theme:`outlined`};function j0(){return j0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,j0({},e,{ref:t,icon:Cje}))),Tje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M732 120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v148h440V120zm120 212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM664 844H360V568h304v276zm164-360c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v40z`}}]},name:`printer`,theme:`filled`};function M0(){return M0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,M0({},e,{ref:t,icon:Tje}))),Dje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M820 436h-40c-4.4 0-8 3.6-8 8v40c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-40c0-4.4-3.6-8-8-8zm32-104H732V120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM360 180h304v152H360V180zm304 664H360V568h304v276zm200-140H732V500H292v204H160V412c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v292z`}}]},name:`printer`,theme:`outlined`};function N0(){return N0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,N0({},e,{ref:t,icon:Dje}))),kje={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M360 180h304v152H360zm492 220H172c-6.6 0-12 5.4-12 12v292h132V500h440v204h132V412c0-6.6-5.4-12-12-12zm-24 84c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v40z`,fill:t}},{tag:`path`,attrs:{d:`M852 332H732V120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM360 180h304v152H360V180zm304 664H360V568h304v276zm200-140H732V500H292v204H160V412c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v292z`,fill:e}},{tag:`path`,attrs:{d:`M820 436h-40c-4.4 0-8 3.6-8 8v40c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-40c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`printer`,theme:`twotone`};function P0(){return P0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,P0({},e,{ref:t,icon:kje}))),jje={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M160 144h304a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V160a16 16 0 0116-16m564.31-25.33l181.02 181.02a16 16 0 010 22.62L724.31 503.33a16 16 0 01-22.62 0L520.67 322.31a16 16 0 010-22.62l181.02-181.02a16 16 0 0122.62 0M160 544h304a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V560a16 16 0 0116-16m400 0h304a16 16 0 0116 16v304a16 16 0 01-16 16H560a16 16 0 01-16-16V560a16 16 0 0116-16`}}]},name:`product`,theme:`filled`};function F0(){return F0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,F0({},e,{ref:t,icon:jje}))),Nje={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 144a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V160a16 16 0 0116-16zm-52 68H212v200h200zm493.33 87.69a16 16 0 010 22.62L724.31 503.33a16 16 0 01-22.62 0L520.67 322.31a16 16 0 010-22.62l181.02-181.02a16 16 0 0122.62 0zm-84.85 11.3L713 203.53 605.52 311 713 418.48zM464 544a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H212v200h200zm452-68a16 16 0 0116 16v304a16 16 0 01-16 16H560a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H612v200h200z`}}]},name:`product`,theme:`outlined`};function I0(){return I0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,I0({},e,{ref:t,icon:Nje}))),Fje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM380 696c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm0-144c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm0-144c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm304 272c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-144c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-144c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48z`}}]},name:`profile`,theme:`filled`};function L0(){return L0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,L0({},e,{ref:t,icon:Fje}))),Lje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM492 400h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zM340 368a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`profile`,theme:`outlined`};function R0(){return R0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,R0({},e,{ref:t,icon:Lje}))),zje={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm300-496c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zM380 328c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z`,fill:t}},{tag:`path`,attrs:{d:`M340 656a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm152 320h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`,fill:e}}]}},name:`profile`,theme:`twotone`};function z0(){return z0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,z0({},e,{ref:t,icon:zje}))),Vje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM368 744c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v464zm192-280c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v184zm192 72c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v256z`}}]},name:`project`,theme:`filled`};function B0(){return B0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,B0({},e,{ref:t,icon:Vje}))),Uje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M280 752h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8zm192-280h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm192 72h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v256c0 4.4 3.6 8 8 8zm216-432H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`project`,theme:`outlined`};function V0(){return V0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,V0({},e,{ref:t,icon:Uje}))),Wje={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm472-560c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v256c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280zm-192 0c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280zm-192 0c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v464c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280z`,fill:t}},{tag:`path`,attrs:{d:`M280 752h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8zm192-280h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm192 72h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v256c0 4.4 3.6 8 8 8z`,fill:e}}]}},name:`project`,theme:`twotone`};function U0(){return U0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,U0({},e,{ref:t,icon:Wje}))),Kje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM648.3 332.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V658c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 018.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z`}}]},name:`property-safety`,theme:`filled`};function W0(){return W0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,W0({},e,{ref:t,icon:Kje}))),Jje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM430.5 318h-46c-1.7 0-3.3.4-4.8 1.2a10.1 10.1 0 00-4 13.6l88 161.1h-45.2c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1v29.7h-63.1c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1V658c0 5.5 4.5 10 10 10h41.3c5.5 0 10-4.5 10-10v-51.8h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-63.4v-29.7h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-45.7l87.7-161.1a10.05 10.05 0 00-8.8-14.8h-45c-3.8 0-7.2 2.1-8.9 5.5l-73.2 144.3-72.9-144.3c-1.7-3.4-5.2-5.5-9-5.5z`}}]},name:`property-safety`,theme:`outlined`};function G0(){return G0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,G0({},e,{ref:t,icon:Jje}))),Xje={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z`,fill:e}},{tag:`path`,attrs:{d:`M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM593.9 318h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V658c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8H418c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7H418c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3L585 323.5a10 10 0 018.9-5.5z`,fill:t}},{tag:`path`,attrs:{d:`M438.9 323.5a9.88 9.88 0 00-8.9-5.5h-46c-1.7 0-3.3.4-4.8 1.2-4.9 2.7-6.6 8.8-4 13.6l88 161.1H418c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1v29.7H418c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1V658c0 5.5 4.5 10 10 10h41.3c5.5 0 10-4.5 10-10v-51.8h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-63.4v-29.7h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-45.7l87.7-161.1c.8-1.5 1.2-3.1 1.1-4.8 0-5.5-4.5-10-10-10h-45a10 10 0 00-8.9 5.5l-73.2 144.3-72.9-144.3z`,fill:e}}]}},name:`property-safety`,theme:`twotone`};function K0(){return K0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,K0({},e,{ref:t,icon:Xje}))),Qje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M788 705.9V192c0-8.8-7.2-16-16-16H602v-68.8c0-6-7-9.4-11.7-5.7L462.7 202.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V240h114v465.9c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c.1-49.2-31.7-91-75.9-106.1zM752 860a48.01 48.01 0 010-96 48.01 48.01 0 010 96zM384 212c0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1V318.1c44.2-15.1 76-56.9 76-106.1zm-160 0a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0z`}}]},name:`pull-request`,theme:`outlined`};function q0(){return q0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,q0({},e,{ref:t,icon:Qje}))),eMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3-15.4 12.3-16.6 35.4-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8z`}}]},name:`pushpin`,theme:`filled`};function J0(){return J0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,J0({},e,{ref:t,icon:eMe}))),nMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3a33.23 33.23 0 00-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8zM666.2 549.3l-24.5 24.5 3.8 34.4a259.92 259.92 0 01-30.4 153.9L262 408.8c12.9-7.1 26.3-13.1 40.3-17.9 27.2-9.4 55.7-14.1 84.7-14.1 9.6 0 19.3.5 28.9 1.6l34.4 3.8 24.5-24.5L608.5 224 800 415.5 666.2 549.3z`}}]},name:`pushpin`,theme:`outlined`};function Y0(){return Y0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Y0({},e,{ref:t,icon:nMe}))),iMe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M474.8 357.7l-24.5 24.5-34.4-3.8c-9.6-1.1-19.3-1.6-28.9-1.6-29 0-57.5 4.7-84.7 14.1-14 4.8-27.4 10.8-40.3 17.9l353.1 353.3a259.92 259.92 0 0030.4-153.9l-3.8-34.4 24.5-24.5L800 415.5 608.5 224 474.8 357.7z`,fill:t}},{tag:`path`,attrs:{d:`M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3a33.23 33.23 0 00-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8zM666.2 549.3l-24.5 24.5 3.8 34.4a259.92 259.92 0 01-30.4 153.9L262 408.8c12.9-7.1 26.3-13.1 40.3-17.9 27.2-9.4 55.7-14.1 84.7-14.1 9.6 0 19.3.5 28.9 1.6l34.4 3.8 24.5-24.5L608.5 224 800 415.5 666.2 549.3z`,fill:e}}]}},name:`pushpin`,theme:`twotone`};function X0(){return X0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,X0({},e,{ref:t,icon:iMe}))),oMe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M555 790.5a28.5 28.5 0 1057 0 28.5 28.5 0 00-57 0m-143-557a28.5 28.5 0 1057 0 28.5 28.5 0 00-57 0`}},{tag:`path`,attrs:{d:`M821.52 297.71H726.3v-95.23c0-49.9-40.58-90.48-90.48-90.48H388.19c-49.9 0-90.48 40.57-90.48 90.48v95.23h-95.23c-49.9 0-90.48 40.58-90.48 90.48v247.62c0 49.9 40.57 90.48 90.48 90.48h95.23v95.23c0 49.9 40.58 90.48 90.48 90.48h247.62c49.9 0 90.48-40.57 90.48-90.48V726.3h95.23c49.9 0 90.48-40.58 90.48-90.48V388.19c0-49.9-40.57-90.48-90.48-90.48M202.48 669.14a33.37 33.37 0 01-33.34-33.33V388.19a33.37 33.37 0 0133.34-33.33h278.57a28.53 28.53 0 0028.57-28.57 28.53 28.53 0 00-28.57-28.58h-126.2v-95.23a33.37 33.37 0 0133.34-33.34h247.62a33.37 33.37 0 0133.33 33.34v256.47a24.47 24.47 0 01-24.47 24.48H379.33c-45.04 0-81.62 36.66-81.62 81.62v104.1zm652.38-33.33a33.37 33.37 0 01-33.34 33.33H542.95a28.53 28.53 0 00-28.57 28.57 28.53 28.53 0 0028.57 28.58h126.2v95.23a33.37 33.37 0 01-33.34 33.34H388.19a33.37 33.37 0 01-33.33-33.34V565.05a24.47 24.47 0 0124.47-24.48h265.34c45.04 0 81.62-36.67 81.62-81.62v-104.1h95.23a33.37 33.37 0 0133.34 33.34z`}}]},name:`python`,theme:`outlined`};function Z0(){return Z0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Z0({},e,{ref:t,icon:oMe}))),cMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm210.5 612.4c-11.5 1.4-44.9-52.7-44.9-52.7 0 31.3-16.2 72.2-51.1 101.8 16.9 5.2 54.9 19.2 45.9 34.4-7.3 12.3-125.6 7.9-159.8 4-34.2 3.8-152.5 8.3-159.8-4-9.1-15.2 28.9-29.2 45.8-34.4-35-29.5-51.1-70.4-51.1-101.8 0 0-33.4 54.1-44.9 52.7-5.4-.7-12.4-29.6 9.4-99.7 10.3-33 22-60.5 40.2-105.8-3.1-116.9 45.3-215 160.4-215 113.9 0 163.3 96.1 160.4 215 18.1 45.2 29.9 72.8 40.2 105.8 21.7 70.1 14.6 99.1 9.3 99.7z`}}]},name:`qq-circle`,theme:`filled`};function Q0(){return Q0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Q0({},e,{ref:t,icon:cMe}))),uMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M824.8 613.2c-16-51.4-34.4-94.6-62.7-165.3C766.5 262.2 689.3 112 511.5 112 331.7 112 256.2 265.2 261 447.9c-28.4 70.8-46.7 113.7-62.7 165.3-34 109.5-23 154.8-14.6 155.8 18 2.2 70.1-82.4 70.1-82.4 0 49 25.2 112.9 79.8 159-26.4 8.1-85.7 29.9-71.6 53.8 11.4 19.3 196.2 12.3 249.5 6.3 53.3 6 238.1 13 249.5-6.3 14.1-23.8-45.3-45.7-71.6-53.8 54.6-46.2 79.8-110.1 79.8-159 0 0 52.1 84.6 70.1 82.4 8.5-1.1 19.5-46.4-14.5-155.8z`}}]},name:`qq`,theme:`outlined`};function $0(){return $0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$0({},e,{ref:t,icon:uMe}))),fMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM722.5 676.4c-11.5 1.4-44.9-52.7-44.9-52.7 0 31.3-16.2 72.2-51.1 101.8 16.9 5.2 54.9 19.2 45.9 34.4-7.3 12.3-125.6 7.9-159.8 4-34.2 3.8-152.5 8.3-159.8-4-9.1-15.2 28.9-29.2 45.8-34.4-35-29.5-51.1-70.4-51.1-101.8 0 0-33.4 54.1-44.9 52.7-5.4-.7-12.4-29.6 9.4-99.7 10.3-33 22-60.5 40.2-105.8-3.1-116.9 45.3-215 160.4-215 113.9 0 163.3 96.1 160.4 215 18.1 45.2 29.9 72.8 40.2 105.8 21.7 70.1 14.6 99.1 9.3 99.7z`}}]},name:`qq-square`,theme:`filled`};function e2(){return e2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,e2({},e,{ref:t,icon:fMe}))),mMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M468 128H160c-17.7 0-32 14.3-32 32v308c0 4.4 3.6 8 8 8h332c4.4 0 8-3.6 8-8V136c0-4.4-3.6-8-8-8zm-56 284H192V192h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm194 210H136c-4.4 0-8 3.6-8 8v308c0 17.7 14.3 32 32 32h308c4.4 0 8-3.6 8-8V556c0-4.4-3.6-8-8-8zm-56 284H192V612h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm590-630H556c-4.4 0-8 3.6-8 8v332c0 4.4 3.6 8 8 8h332c4.4 0 8-3.6 8-8V160c0-17.7-14.3-32-32-32zm-32 284H612V192h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm194 210h-48c-4.4 0-8 3.6-8 8v134h-78V556c0-4.4-3.6-8-8-8H556c-4.4 0-8 3.6-8 8v332c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h78v102c0 4.4 3.6 8 8 8h190c4.4 0 8-3.6 8-8V556c0-4.4-3.6-8-8-8zM746 832h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm142 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}}]},name:`qrcode`,theme:`outlined`};function t2(){return t2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,t2({},e,{ref:t,icon:mMe}))),gMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 708c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z`}}]},name:`question-circle`,theme:`filled`};function n2(){return n2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,n2({},e,{ref:t,icon:gMe}))),vMe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm0 632c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z`,fill:t}},{tag:`path`,attrs:{d:`M472 732a40 40 0 1080 0 40 40 0 10-80 0zm151.6-415.3C593.6 290.5 554 276 512 276s-81.6 14.4-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.2 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5 0-39.3-17.2-76-48.4-103.3z`,fill:e}}]}},name:`question-circle`,theme:`twotone`};function r2(){return r2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,r2({},e,{ref:t,icon:vMe}))),bMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M764 280.9c-14-30.6-33.9-58.1-59.3-81.6C653.1 151.4 584.6 125 512 125s-141.1 26.4-192.7 74.2c-25.4 23.6-45.3 51-59.3 81.7-14.6 32-22 65.9-22 100.9v27c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-27c0-99.5 88.6-180.4 197.6-180.4s197.6 80.9 197.6 180.4c0 40.8-14.5 79.2-42 111.2-27.2 31.7-65.6 54.4-108.1 64-24.3 5.5-46.2 19.2-61.7 38.8a110.85 110.85 0 00-23.9 68.6v31.4c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-31.4c0-15.7 10.9-29.5 26-32.9 58.4-13.2 111.4-44.7 149.3-88.7 19.1-22.3 34-47.1 44.3-74 10.7-27.9 16.1-57.2 16.1-87 0-35-7.4-69-22-100.9zM512 787c-30.9 0-56 25.1-56 56s25.1 56 56 56 56-25.1 56-56-25.1-56-56-56z`}}]},name:`question`,theme:`outlined`};function i2(){return i2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,i2({},e,{ref:t,icon:bMe}))),SMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M926.8 397.1l-396-288a31.81 31.81 0 00-37.6 0l-396 288a31.99 31.99 0 00-11.6 35.8l151.3 466a32 32 0 0030.4 22.1h489.5c13.9 0 26.1-8.9 30.4-22.1l151.3-466c4.2-13.2-.5-27.6-11.7-35.8zM838.6 417l-98.5 32-200-144.7V199.9L838.6 417zM466 567.2l-89.1 122.3-55.2-169.2L466 567.2zm-116.3-96.8L484 373.3v140.8l-134.3-43.7zM512 599.2l93.9 128.9H418.1L512 599.2zm28.1-225.9l134.2 97.1L540.1 514V373.3zM558 567.2l144.3-46.9-55.2 169.2L558 567.2zm-74-367.3v104.4L283.9 449l-98.5-32L484 199.9zM169.3 470.8l86.5 28.1 80.4 246.4-53.8 73.9-113.1-348.4zM327.1 853l50.3-69h269.3l50.3 69H327.1zm414.5-33.8l-53.8-73.9 80.4-246.4 86.5-28.1-113.1 348.4z`}}]},name:`radar-chart`,theme:`outlined`};function a2(){return a2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,a2({},e,{ref:t,icon:SMe}))),wMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M712 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm2-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM136 374h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-174h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm752 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-230 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 624H358c-87.3 0-158-70.7-158-158V484c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v182c0 127 103 230 230 230h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`radius-bottomleft`,theme:`outlined`};function o2(){return o2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,o2({},e,{ref:t,icon:wMe}))),EMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M368 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-58-624h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm578 102h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm292 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm174 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 276h-56c-4.4 0-8 3.6-8 8v182c0 87.3-70.7 158-158 158H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c127 0 230-103 230-230V484c0-4.4-3.6-8-8-8z`}}]},name:`radius-bottomright`,theme:`outlined`};function s2(){return s2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,s2({},e,{ref:t,icon:EMe}))),OMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M396 140h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-44 684h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm524-204h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 344h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm320 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm160 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm140-284c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V370c0-127-103-230-230-230H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h170c87.3 0 158 70.7 158 158v170zM236 96H92c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8h144c4.4 0 8-3.6 8-8V104c0-4.4-3.6-8-8-8zm-48 101.6c0 1.3-1.1 2.4-2.4 2.4h-43.2c-1.3 0-2.4-1.1-2.4-2.4v-43.2c0-1.3 1.1-2.4 2.4-2.4h43.2c1.3 0 2.4 1.1 2.4 2.4v43.2zM920 780H776c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8h144c4.4 0 8-3.6 8-8V788c0-4.4-3.6-8-8-8zm-48 101.6c0 1.3-1.1 2.4-2.4 2.4h-43.2c-1.3 0-2.4-1.1-2.4-2.4v-43.2c0-1.3 1.1-2.4 2.4-2.4h43.2c1.3 0 2.4 1.1 2.4 2.4v43.2z`}}]},name:`radius-setting`,theme:`outlined`};function c2(){return c2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,c2({},e,{ref:t,icon:OMe}))),AMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M656 200h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm58 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 650h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm696-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-174 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm174-696H358c-127 0-230 103-230 230v182c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V358c0-87.3 70.7-158 158-158h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`radius-upleft`,theme:`outlined`};function l2(){return l2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,l2({},e,{ref:t,icon:AMe}))),MMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M368 128h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-2 696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm522-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 128h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm174 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-48-696H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c87.3 0 158 70.7 158 158v182c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V358c0-127-103-230-230-230z`}}]},name:`radius-upright`,theme:`outlined`};function u2(){return u2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,u2({},e,{ref:t,icon:MMe}))),PMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 161H699.2c-49.1 0-97.1 14.1-138.4 40.7L512 233l-48.8-31.3A255.2 255.2 0 00324.8 161H96c-17.7 0-32 14.3-32 32v568c0 17.7 14.3 32 32 32h228.8c49.1 0 97.1 14.1 138.4 40.7l44.4 28.6c1.3.8 2.8 1.3 4.3 1.3s3-.4 4.3-1.3l44.4-28.6C602 807.1 650.1 793 699.2 793H928c17.7 0 32-14.3 32-32V193c0-17.7-14.3-32-32-32zM404 553.5c0 4.1-3.2 7.5-7.1 7.5H211.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm0-140c0 4.1-3.2 7.5-7.1 7.5H211.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm416 140c0 4.1-3.2 7.5-7.1 7.5H627.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm0-140c0 4.1-3.2 7.5-7.1 7.5H627.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45z`}}]},name:`read`,theme:`filled`};function d2(){return d2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,d2({},e,{ref:t,icon:PMe}))),IMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 161H699.2c-49.1 0-97.1 14.1-138.4 40.7L512 233l-48.8-31.3A255.2 255.2 0 00324.8 161H96c-17.7 0-32 14.3-32 32v568c0 17.7 14.3 32 32 32h228.8c49.1 0 97.1 14.1 138.4 40.7l44.4 28.6c1.3.8 2.8 1.3 4.3 1.3s3-.4 4.3-1.3l44.4-28.6C602 807.1 650.1 793 699.2 793H928c17.7 0 32-14.3 32-32V193c0-17.7-14.3-32-32-32zM324.8 721H136V233h188.8c35.4 0 69.8 10.1 99.5 29.2l48.8 31.3 6.9 4.5v462c-47.6-25.6-100.8-39-155.2-39zm563.2 0H699.2c-54.4 0-107.6 13.4-155.2 39V298l6.9-4.5 48.8-31.3c29.7-19.1 64.1-29.2 99.5-29.2H888v488zM396.9 361H211.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5zm223.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c0-4.1-3.2-7.5-7.1-7.5H627.1c-3.9 0-7.1 3.4-7.1 7.5zM396.9 501H211.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5zm416 0H627.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5z`}}]},name:`read`,theme:`outlined`};function f2(){return f2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,f2({},e,{ref:t,icon:IMe}))),LMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M676 623c-18.8 0-34 15.2-34 34s15.2 34 34 34 34-15.2 34-34-15.2-34-34-34zm204-455H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zM448 848H176V616h272v232zm0-296H176v-88h272v88zm20-272v-48h72v-56h64v56h72v48H468zm180 168v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8zm28 301c-50.8 0-92-41.2-92-92s41.2-92 92-92 92 41.2 92 92-41.2 92-92 92zm92-245c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v96zm-92 61c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34z`}}]},name:`reconciliation`,theme:`filled`};function m2(){return m2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,m2({},e,{ref:t,icon:LMe}))),zMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M676 565c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34zm204-523H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zm-412 64h72v-56h64v56h72v48H468v-48zm-20 616H176V616h272v232zm0-296H176v-88h272v88zm392 240H512V432c0-17.7-14.3-32-32-32H304V240h100v104h336V240h100v552zM704 408v96c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-96c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zM592 512h48c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z`}}]},name:`reconciliation`,theme:`outlined`};function h2(){return h2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,h2({},e,{ref:t,icon:zMe}))),VMe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M740 344H404V240H304v160h176c17.7 0 32 14.3 32 32v360h328V240H740v104zM584 448c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56zm92 301c-50.8 0-92-41.2-92-92s41.2-92 92-92 92 41.2 92 92-41.2 92-92 92zm92-341v96c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8z`,fill:t}},{tag:`path`,attrs:{d:`M642 657a34 34 0 1068 0 34 34 0 10-68 0z`,fill:t}},{tag:`path`,attrs:{d:`M592 512h48c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm112-104v96c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-96c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z`,fill:e}},{tag:`path`,attrs:{d:`M880 168H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zm-412 64h72v-56h64v56h72v48H468v-48zm-20 616H176V616h272v232zm0-296H176v-88h272v88zm392 240H512V432c0-17.7-14.3-32-32-32H304V240h100v104h336V240h100v552z`,fill:e}},{tag:`path`,attrs:{d:`M676 565c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34z`,fill:e}}]}},name:`reconciliation`,theme:`twotone`};function g2(){return g2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,g2({},e,{ref:t,icon:VMe}))),UMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM647 470.4l-87.2 161h45.9c4.6 0 8.4 3.8 8.4 8.4v25.1c0 4.6-3.8 8.4-8.4 8.4h-63.3v28.6h63.3c4.6 0 8.4 3.8 8.4 8.4v25c.2 4.6-3.6 8.5-8.2 8.5h-63.3v49.9c0 4.6-3.8 8.4-8.4 8.4h-43.7c-4.6 0-8.4-3.8-8.4-8.4v-49.9h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h63v-28.6h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h45.4l-87.5-161c-2.2-4.1-.7-9.1 3.4-11.4 1.3-.6 2.6-1 3.9-1h48.8c3.2 0 6.1 1.8 7.5 4.6l71.9 141.8 71.9-141.9a8.5 8.5 0 017.5-4.6h47.8c4.6 0 8.4 3.8 8.4 8.4-.1 1.5-.5 2.9-1.1 4.1zM512.6 323L289 148h446L512.6 323z`}}]},name:`red-envelope`,theme:`filled`};function _2(){return _2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_2({},e,{ref:t,icon:UMe}))),GMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M440.6 462.6a8.38 8.38 0 00-7.5-4.6h-48.8c-1.3 0-2.6.4-3.9 1a8.4 8.4 0 00-3.4 11.4l87.4 161.1H419c-4.6 0-8.4 3.8-8.4 8.4V665c0 4.6 3.8 8.4 8.4 8.4h63V702h-63c-4.6 0-8.4 3.8-8.4 8.4v25.1c0 4.6 3.8 8.4 8.4 8.4h63v49.9c0 4.6 3.8 8.4 8.4 8.4h43.7c4.6 0 8.4-3.8 8.4-8.4v-49.9h63.3c4.7 0 8.4-3.8 8.2-8.5v-25c0-4.6-3.8-8.4-8.4-8.4h-63.3v-28.6h63.3c4.6 0 8.4-3.8 8.4-8.4v-25.1c0-4.6-3.8-8.4-8.4-8.4h-45.9l87.2-161a8.45 8.45 0 00-7.4-12.4h-47.8c-3.1 0-6 1.8-7.5 4.6l-71.9 141.9-71.7-142zM832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V193.1l260.3 204.1c11.6 9.1 27.9 9.1 39.5 0L792 193.1V888zm0-751.3h-31.7L512 331.3 263.7 136.7H232v-.7h560v.7z`}}]},name:`red-envelope`,theme:`outlined`};function v2(){return v2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,v2({},e,{ref:t,icon:GMe}))),qMe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V193.1l260.3 204.1c11.6 9.1 27.9 9.1 39.5 0L792 193.1V888zm0-751.3h-31.7L512 331.3 263.7 136.7H232v-.7h560v.7z`,fill:e}},{tag:`path`,attrs:{d:`M492.3 397.2L232 193.1V888h560V193.1L531.8 397.2a31.99 31.99 0 01-39.5 0zm99.4 60.9h47.8a8.45 8.45 0 017.4 12.4l-87.2 161h45.9c4.6 0 8.4 3.8 8.4 8.4V665c0 4.6-3.8 8.4-8.4 8.4h-63.3V702h63.3c4.6 0 8.4 3.8 8.4 8.4v25c.2 4.7-3.5 8.5-8.2 8.5h-63.3v49.9c0 4.6-3.8 8.4-8.4 8.4h-43.7c-4.6 0-8.4-3.8-8.4-8.4v-49.9h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h63v-28.6h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h45.4L377 470.4a8.4 8.4 0 013.4-11.4c1.3-.6 2.6-1 3.9-1h48.8c3.2 0 6.1 1.8 7.5 4.6l71.7 142 71.9-141.9a8.6 8.6 0 017.5-4.6z`,fill:t}},{tag:`path`,attrs:{d:`M232 136.7h31.7L512 331.3l248.3-194.6H792v-.7H232z`,fill:t}},{tag:`path`,attrs:{d:`M440.6 462.6a8.38 8.38 0 00-7.5-4.6h-48.8c-1.3 0-2.6.4-3.9 1a8.4 8.4 0 00-3.4 11.4l87.4 161.1H419c-4.6 0-8.4 3.8-8.4 8.4V665c0 4.6 3.8 8.4 8.4 8.4h63V702h-63c-4.6 0-8.4 3.8-8.4 8.4v25.1c0 4.6 3.8 8.4 8.4 8.4h63v49.9c0 4.6 3.8 8.4 8.4 8.4h43.7c4.6 0 8.4-3.8 8.4-8.4v-49.9h63.3c4.7 0 8.4-3.8 8.2-8.5v-25c0-4.6-3.8-8.4-8.4-8.4h-63.3v-28.6h63.3c4.6 0 8.4-3.8 8.4-8.4v-25.1c0-4.6-3.8-8.4-8.4-8.4h-45.9l87.2-161a8.45 8.45 0 00-7.4-12.4h-47.8c-3.1 0-6 1.8-7.5 4.6l-71.9 141.9-71.7-142z`,fill:e}}]}},name:`red-envelope`,theme:`twotone`};function y2(){return y2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,y2({},e,{ref:t,icon:qMe}))),YMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M584 548a36 36 0 1072 0 36 36 0 10-72 0zm144-108a35.9 35.9 0 00-32.5 20.6c18.8 14.3 34.4 30.7 45.9 48.8A35.98 35.98 0 00728 440zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm245 477.9c4.6 13.5 7 27.6 7 42.1 0 99.4-112.8 180-252 180s-252-80.6-252-180c0-14.5 2.4-28.6 7-42.1A72.01 72.01 0 01296 404c27.1 0 50.6 14.9 62.9 37 36.2-19.8 80.2-32.8 128.1-36.1l58.4-131.1c4.3-9.8 15.2-14.8 25.5-11.8l91.6 26.5a54.03 54.03 0 01101.6 25.6c0 29.8-24.2 54-54 54-23.5 0-43.5-15.1-50.9-36.1L577 308.3l-43 96.5c49.1 3 94.2 16.1 131.2 36.3 12.3-22.1 35.8-37 62.9-37 39.8 0 72 32.2 72 72-.1 29.3-17.8 54.6-43.1 65.8zm-171.3 83c-14.9 11.7-44.3 24.3-73.7 24.3s-58.9-12.6-73.7-24.3c-9.3-7.3-22.7-5.7-30 3.6-7.3 9.3-5.7 22.7 3.6 30 25.7 20.4 65 33.5 100.1 33.5 35.1 0 74.4-13.1 100.2-33.5 9.3-7.3 10.9-20.8 3.6-30a21.46 21.46 0 00-30.1-3.6zM296 440a35.98 35.98 0 00-13.4 69.4c11.5-18.1 27.1-34.5 45.9-48.8A35.9 35.9 0 00296 440zm72 108a36 36 0 1072 0 36 36 0 10-72 0z`}}]},name:`reddit-circle`,theme:`filled`};function b2(){return b2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,b2({},e,{ref:t,icon:YMe}))),ZMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M288 568a56 56 0 10112 0 56 56 0 10-112 0zm338.7 119.7c-23.1 18.2-68.9 37.8-114.7 37.8s-91.6-19.6-114.7-37.8c-14.4-11.3-35.3-8.9-46.7 5.5s-8.9 35.3 5.5 46.7C396.3 771.6 457.5 792 512 792s115.7-20.4 155.9-52.1a33.25 33.25 0 10-41.2-52.2zM960 456c0-61.9-50.1-112-112-112-42.1 0-78.7 23.2-97.9 57.6-57.6-31.5-127.7-51.8-204.1-56.5L612.9 195l127.9 36.9c11.5 32.6 42.6 56.1 79.2 56.1 46.4 0 84-37.6 84-84s-37.6-84-84-84c-32 0-59.8 17.9-74 44.2L603.5 123a33.2 33.2 0 00-39.6 18.4l-90.8 203.9c-74.5 5.2-142.9 25.4-199.2 56.2A111.94 111.94 0 00176 344c-61.9 0-112 50.1-112 112 0 45.8 27.5 85.1 66.8 102.5-7.1 21-10.8 43-10.8 65.5 0 154.6 175.5 280 392 280s392-125.4 392-280c0-22.6-3.8-44.5-10.8-65.5C932.5 541.1 960 501.8 960 456zM820 172.5a31.5 31.5 0 110 63 31.5 31.5 0 010-63zM120 456c0-30.9 25.1-56 56-56a56 56 0 0150.6 32.1c-29.3 22.2-53.5 47.8-71.5 75.9a56.23 56.23 0 01-35.1-52zm392 381.5c-179.8 0-325.5-95.6-325.5-213.5S332.2 410.5 512 410.5 837.5 506.1 837.5 624 691.8 837.5 512 837.5zM868.8 508c-17.9-28.1-42.2-53.7-71.5-75.9 9-18.9 28.3-32.1 50.6-32.1 30.9 0 56 25.1 56 56 .1 23.5-14.5 43.7-35.1 52zM624 568a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`reddit`,theme:`outlined`};function x2(){return x2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,x2({},e,{ref:t,icon:ZMe}))),$Me={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M296 440a35.98 35.98 0 00-13.4 69.4c11.5-18.1 27.1-34.5 45.9-48.8A35.9 35.9 0 00296 440zm289.7 184.9c-14.9 11.7-44.3 24.3-73.7 24.3s-58.9-12.6-73.7-24.3c-9.3-7.3-22.7-5.7-30 3.6-7.3 9.3-5.7 22.7 3.6 30 25.7 20.4 65 33.5 100.1 33.5 35.1 0 74.4-13.1 100.2-33.5 9.3-7.3 10.9-20.8 3.6-30a21.46 21.46 0 00-30.1-3.6zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM757 541.9c4.6 13.5 7 27.6 7 42.1 0 99.4-112.8 180-252 180s-252-80.6-252-180c0-14.5 2.4-28.6 7-42.1A72.01 72.01 0 01296 404c27.1 0 50.6 14.9 62.9 37 36.2-19.8 80.2-32.8 128.1-36.1l58.4-131.1c4.3-9.8 15.2-14.8 25.5-11.8l91.6 26.5a54.03 54.03 0 01101.6 25.6c0 29.8-24.2 54-54 54-23.5 0-43.5-15.1-50.9-36.1L577 308.3l-43 96.5c49.1 3 94.2 16.1 131.2 36.3 12.3-22.1 35.8-37 62.9-37 39.8 0 72 32.2 72 72-.1 29.3-17.8 54.6-43.1 65.8zM584 548a36 36 0 1072 0 36 36 0 10-72 0zm144-108a35.9 35.9 0 00-32.5 20.6c18.8 14.3 34.4 30.7 45.9 48.8A35.98 35.98 0 00728 440zM368 548a36 36 0 1072 0 36 36 0 10-72 0z`}}]},name:`reddit-square`,theme:`filled`};function S2(){return S2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,S2({},e,{ref:t,icon:$Me}))),tNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z`}}]},name:`redo`,theme:`outlined`};function C2(){return C2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,C2({},e,{ref:t,icon:tNe}))),rNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zM508 704c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zM291 256l22.4-76h397.2l22.4 76H291zm137 304a80 80 0 10160 0 80 80 0 10-160 0z`}}]},name:`rest`,theme:`filled`};function w2(){return w2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,w2({},e,{ref:t,icon:rNe}))),aNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z`}},{tag:`path`,attrs:{d:`M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z`}}]},name:`rest`,theme:`outlined`};function T2(){return T2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,T2({},e,{ref:t,icon:aNe}))),oNe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M326.4 844h363.2l44.3-520H282l44.4 520zM508 416c79.5 0 144 64.5 144 144s-64.5 144-144 144-144-64.5-144-144 64.5-144 144-144z`,fill:t}},{tag:`path`,attrs:{d:`M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z`,fill:e}},{tag:`path`,attrs:{d:`M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z`,fill:e}}]}},name:`rest`,theme:`twotone`};function D2(){return D2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,D2({},e,{ref:t,icon:oNe}))),cNe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M136 552h63.6c4.4 0 8-3.6 8-8V288.7h528.6v72.6c0 1.9.6 3.7 1.8 5.2a8.3 8.3 0 0011.7 1.4L893 255.4c4.3-5 3.6-10.3 0-13.2L749.7 129.8a8.22 8.22 0 00-5.2-1.8c-4.6 0-8.4 3.8-8.4 8.4V209H199.7c-39.5 0-71.7 32.2-71.7 71.8V544c0 4.4 3.6 8 8 8zm752-80h-63.6c-4.4 0-8 3.6-8 8v255.3H287.8v-72.6c0-1.9-.6-3.7-1.8-5.2a8.3 8.3 0 00-11.7-1.4L131 768.6c-4.3 5-3.6 10.3 0 13.2l143.3 112.4c1.5 1.2 3.3 1.8 5.2 1.8 4.6 0 8.4-3.8 8.4-8.4V815h536.6c39.5 0 71.7-32.2 71.7-71.8V480c-.2-4.4-3.8-8-8.2-8z`}}]},name:`retweet`,theme:`outlined`};function O2(){return O2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,O2({},e,{ref:t,icon:cNe}))),uNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm154.7 454.5l-246 178c-5.3 3.8-12.7 0-12.7-6.5v-46.9c0-10.2 4.9-19.9 13.2-25.9L566.6 512 421.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.8 0 13z`}}]},name:`right-circle`,theme:`filled`};function k2(){return k2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,k2({},e,{ref:t,icon:uNe}))),fNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M666.7 505.5l-246-178A8 8 0 00408 334v46.9c0 10.2 4.9 19.9 13.2 25.9L566.6 512 421.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.8 0-13z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`right-circle`,theme:`outlined`};function A2(){return A2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,A2({},e,{ref:t,icon:fNe}))),mNe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm154.7 378.4l-246 178c-5.3 3.8-12.7 0-12.7-6.5V643c0-10.2 4.9-19.9 13.2-25.9L566.6 512 421.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.7 0 12.9z`,fill:t}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M666.7 505.5l-246-178c-5.3-3.8-12.7 0-12.7 6.5v46.9c0 10.3 4.9 19.9 13.2 25.9L566.6 512 421.2 617.1c-8.3 6-13.2 15.7-13.2 25.9v46.9c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.7 0-12.9z`,fill:e}}]}},name:`right-circle`,theme:`twotone`};function j2(){return j2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,j2({},e,{ref:t,icon:mNe}))),gNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM658.7 518.5l-246 178c-5.3 3.8-12.7 0-12.7-6.5v-46.9c0-10.2 4.9-19.9 13.2-25.9L558.6 512 413.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.8 0 13z`}}]},name:`right-square`,theme:`filled`};function M2(){return M2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,M2({},e,{ref:t,icon:gNe}))),vNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M412.7 696.5l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5V381c0 10.2 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`right-square`,theme:`outlined`};function N2(){return N2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,N2({},e,{ref:t,icon:vNe}))),bNe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm216-196.9c0-10.2 4.9-19.9 13.2-25.9L558.6 512 413.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.7 0 12.9l-246 178c-5.3 3.9-12.7.1-12.7-6.4v-46.9z`,fill:t}},{tag:`path`,attrs:{d:`M412.7 696.4l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5v46.9c0 10.3 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.7-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.4z`,fill:e}}]}},name:`right-square`,theme:`twotone`};function P2(){return P2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,P2({},e,{ref:t,icon:bNe}))),SNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M917 211.1l-199.2 24c-6.6.8-9.4 8.9-4.7 13.6l59.3 59.3-226 226-101.8-101.7c-6.3-6.3-16.4-6.2-22.6 0L100.3 754.1a8.03 8.03 0 000 11.3l45 45.2c3.1 3.1 8.2 3.1 11.3 0L433.3 534 535 635.7c6.3 6.2 16.4 6.2 22.6 0L829 364.5l59.3 59.3a8.01 8.01 0 0013.6-4.7l24-199.2c.7-5.1-3.7-9.5-8.9-8.8z`}}]},name:`rise`,theme:`outlined`};function F2(){return F2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,F2({},e,{ref:t,icon:SNe}))),wNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM300 328c0-33.1 26.9-60 60-60s60 26.9 60 60-26.9 60-60 60-60-26.9-60-60zm372 248c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-60c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v60zm-8-188c-33.1 0-60-26.9-60-60s26.9-60 60-60 60 26.9 60 60-26.9 60-60 60zm135 476H225c-13.8 0-25 14.3-25 32v56c0 4.4 2.8 8 6.2 8h611.5c3.4 0 6.2-3.6 6.2-8v-56c.1-17.7-11.1-32-24.9-32z`}}]},name:`robot`,theme:`filled`};function I2(){return I2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,I2({},e,{ref:t,icon:wNe}))),ENe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`robot`,theme:`outlined`};function L2(){return L2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,L2({},e,{ref:t,icon:ENe}))),DNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8L864 736zM512 352a48.01 48.01 0 010 96 48.01 48.01 0 010-96zm116.1 432.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5s-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5z`}}]},name:`rocket`,theme:`filled`};function z2(){return z2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,z2({},e,{ref:t,icon:DNe}))),kNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8H864zM762.3 621.4c9.4 14.6 17 30.3 22.5 46.6H700V558.7a211.6 211.6 0 0162.3 62.7zM388 483.1V318.8l124-147 124 147V668H388V483.1zM239.2 668c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668h-84.8zm388.9 116.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5-38.3 0-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM464 400a48 48 0 1096 0 48 48 0 10-96 0z`}}]},name:`rocket`,theme:`outlined`};function B2(){return B2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,B2({},e,{ref:t,icon:kNe}))),ANe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M261.7 621.4c-9.4 14.6-17 30.3-22.5 46.6H324V558.7c-24.8 16.2-46 37.5-62.3 62.7zM700 558.7V668h84.8c-5.5-16.3-13.1-32-22.5-46.6a211.6 211.6 0 00-62.3-62.7zm-64-239.9l-124-147-124 147V668h248V318.8zM512 448a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`,fill:t}},{tag:`path`,attrs:{d:`M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8L864 736zm-540-68h-84.8c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668zm64-184.9V318.8l124-147 124 147V668H388V483.1zm240.1 301.1c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5s-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM700 668V558.7a211.6 211.6 0 0162.3 62.7c9.4 14.6 17 30.3 22.5 46.6H700z`,fill:e}},{tag:`path`,attrs:{d:`M464 400a48 48 0 1096 0 48 48 0 10-96 0z`,fill:e}}]}},name:`rocket`,theme:`twotone`};function H2(){return H2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,H2({},e,{ref:t,icon:ANe}))),MNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z`}}]},name:`rollback`,theme:`outlined`};function U2(){return U2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,U2({},e,{ref:t,icon:MNe}))),NNe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M509.81 112.02c-.73.05-1.46.12-2.2.21h-4.32l-3.4 1.7a36.33 36.33 0 00-8.88 4.4l-145.96 73.02-153.7 153.7-72.65 145.24a36.33 36.33 0 00-4.9 9.86l-1.56 3.12v3.98a36.33 36.33 0 000 8.3v298.23l6.88 9.5a198.7 198.7 0 0020.58 24.42c37.86 37.85 87.66 57.16 142.62 62.01a36.34 36.34 0 0011.57 1.77h575.75c3.14.54 6.34.66 9.51.36a36.34 36.34 0 002.56-.35h29.8v-29.95a36.33 36.33 0 000-11.92V293.88a36.33 36.33 0 00-1.78-11.57c-4.84-54.95-24.16-104.75-62.01-142.62h-.07v-.07a203.92 203.92 0 00-24.27-20.43l-9.58-6.96H515.14a36.34 36.34 0 00-5.32-.21M643 184.89h145.96c2.47 2.08 5.25 4.06 7.45 6.25 26.59 26.63 40.97 64.74 42.3 111.18zM510.31 190l65.71 39.38-25.47 156.1-64.36 64.36-100.7 100.69L229.4 576l-39.38-65.7 61.1-122.26 136.94-136.95zm132.76 79.61l123.19 73.94-138.09 17.24zM821.9 409.82c-21.21 68.25-62.66 142.58-122.4 211.88l-65.85-188.4zm-252.54 59.6l53.64 153.56-153.55-53.65 68.12-68.12zm269.5 81.04v237L738.44 687.04c40.1-43.74 73.73-89.83 100.4-136.59m-478.04 77.7l-17.24 138.08-73.94-123.18zm72.52 5.46l188.32 65.85c-69.28 59.71-143.57 101.2-211.8 122.4zM184.9 643l117.43 195.7c-46.5-1.33-84.63-15.74-111.26-42.37-2.16-2.16-4.11-4.93-6.17-7.38zm502.17 95.43l100.4 100.4h-237c46.77-26.67 92.86-60.3 136.6-100.4`}}]},name:`ruby`,theme:`outlined`};function G2(){return G2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,G2({},e,{ref:t,icon:NNe}))),FNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM694.5 340.7L481.9 633.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.1 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.8-6.6 13-6.6H688c6.5.1 10.3 7.5 6.5 12.8z`}}]},name:`safety-certificate`,theme:`filled`};function K2(){return K2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,K2({},e,{ref:t,icon:FNe}))),LNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zm-405.8-201c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z`}}]},name:`safety-certificate`,theme:`outlined`};function q2(){return q2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,q2({},e,{ref:t,icon:LNe}))),zNe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z`,fill:e}},{tag:`path`,attrs:{d:`M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM632.8 328H688c6.5 0 10.3 7.4 6.5 12.7L481.9 633.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.2 0 10 2.5 13 6.6l64.7 89.1 150.9-207.8c3-4.1 7.9-6.6 13-6.6z`,fill:t}},{tag:`path`,attrs:{d:`M404.2 453.3c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z`,fill:e}}]}},name:`safety-certificate`,theme:`twotone`};function J2(){return J2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,J2({},e,{ref:t,icon:zNe}))),VNe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64L128 192v384c0 212.1 171.9 384 384 384s384-171.9 384-384V192L512 64zm312 512c0 172.3-139.7 312-312 312S200 748.3 200 576V246l312-110 312 110v330z`}},{tag:`path`,attrs:{d:`M378.4 475.1a35.91 35.91 0 00-50.9 0 35.91 35.91 0 000 50.9l129.4 129.4 2.1 2.1a33.98 33.98 0 0048.1 0L730.6 434a33.98 33.98 0 000-48.1l-2.8-2.8a33.98 33.98 0 00-48.1 0L483 579.7 378.4 475.1z`}}]},name:`safety`,theme:`outlined`};function Y2(){return Y2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Y2({},e,{ref:t,icon:VNe}))),HNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 176h256v112H384V176zm128 554c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zm0-224c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80z`}}]},name:`save`,theme:`filled`};function Z2(){return Z2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Z2({},e,{ref:t,icon:HNe}))),WNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z`}}]},name:`save`,theme:`outlined`};function Q2(){return Q2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Q2({},e,{ref:t,icon:WNe}))),GNe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M704 320c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V184H184v656h656V341.8l-136-136V320zM512 730c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144z`,fill:t}},{tag:`path`,attrs:{d:`M512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z`,fill:e}},{tag:`path`,attrs:{d:`M893.3 293.3L730.7 130.7c-.7-.7-1.4-1.3-2.1-2-.1-.1-.3-.2-.4-.3-.7-.7-1.5-1.3-2.2-1.9a64 64 0 00-22-11.7V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840z`,fill:e}}]}},name:`save`,theme:`twotone`};function e4(){return e4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,e4({},e,{ref:t,icon:GNe}))),qNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M136 384h56c4.4 0 8-3.6 8-8V200h176c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-37.6 0-68 30.4-68 68v180c0 4.4 3.6 8 8 8zm512-184h176v176c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V196c0-37.6-30.4-68-68-68H648c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM376 824H200V648c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v180c0 37.6 30.4 68 68 68h180c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm512-184h-56c-4.4 0-8 3.6-8 8v176H648c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h180c37.6 0 68-30.4 68-68V648c0-4.4-3.6-8-8-8zm16-164H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`scan`,theme:`outlined`};function t4(){return t4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,t4({},e,{ref:t,icon:qNe}))),YNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zM424 688c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-136c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm374.5-91.3l-165 228.7a15.9 15.9 0 01-25.8 0L493.5 531.2c-3.8-5.3 0-12.7 6.5-12.7h54.9c5.1 0 9.9 2.5 12.9 6.6l52.8 73.1 103.7-143.7c3-4.2 7.8-6.6 12.9-6.6H792c6.5.1 10.3 7.5 6.5 12.8z`}}]},name:`schedule`,theme:`filled`};function n4(){return n4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,n4({},e,{ref:t,icon:YNe}))),ZNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496zM416 496H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm0 136H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm308.2-177.4L620.6 598.3l-52.8-73.1c-3-4.2-7.8-6.6-12.9-6.6H500c-6.5 0-10.3 7.4-6.5 12.7l114.1 158.2a15.9 15.9 0 0025.8 0l165-228.7c3.8-5.3 0-12.7-6.5-12.7H737c-5-.1-9.8 2.4-12.8 6.5z`}}]},name:`schedule`,theme:`outlined`};function r4(){return r4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,r4({},e,{ref:t,icon:ZNe}))),$Ne={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M768 352c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H548v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H328v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H136v496h752V296H768v56zM424 688c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-136c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm374.4-91.2l-165 228.7a15.9 15.9 0 01-25.8 0L493.5 531.3c-3.8-5.3 0-12.7 6.5-12.7h54.9c5.1 0 9.9 2.4 12.9 6.6l52.8 73.1 103.6-143.7c3-4.1 7.8-6.6 12.8-6.5h54.9c6.5 0 10.3 7.4 6.5 12.7z`,fill:t}},{tag:`path`,attrs:{d:`M724.2 454.6L620.6 598.3l-52.8-73.1c-3-4.2-7.8-6.6-12.9-6.6H500c-6.5 0-10.3 7.4-6.5 12.7l114.1 158.2a15.9 15.9 0 0025.8 0l165-228.7c3.8-5.3 0-12.7-6.5-12.7H737c-5-.1-9.8 2.4-12.8 6.5zM416 496H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`,fill:e}},{tag:`path`,attrs:{d:`M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z`,fill:e}},{tag:`path`,attrs:{d:`M416 632H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`schedule`,theme:`twotone`};function i4(){return i4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,i4({},e,{ref:t,icon:$Ne}))),tPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M567.1 512l318.5-319.3c5-5 1.5-13.7-5.6-13.7h-90.5c-2.1 0-4.2.8-5.6 2.3l-273.3 274-90.2-90.5c12.5-22.1 19.7-47.6 19.7-74.8 0-83.9-68.1-152-152-152s-152 68.1-152 152 68.1 152 152 152c27.7 0 53.6-7.4 75.9-20.3l90 90.3-90.1 90.3A151.04 151.04 0 00288 582c-83.9 0-152 68.1-152 152s68.1 152 152 152 152-68.1 152-152c0-27.2-7.2-52.7-19.7-74.8l90.2-90.5 273.3 274c1.5 1.5 3.5 2.3 5.6 2.3H880c7.1 0 10.7-8.6 5.6-13.7L567.1 512zM288 370c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80zm0 444c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z`}}]},name:`scissor`,theme:`outlined`};function a4(){return a4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,a4({},e,{ref:t,icon:tPe}))),rPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM626.8 554c-48.5 48.5-123 55.2-178.6 20.1l-77.5 77.5a8.03 8.03 0 01-11.3 0l-34-34a8.03 8.03 0 010-11.3l77.5-77.5c-35.1-55.7-28.4-130.1 20.1-178.6 56.3-56.3 147.5-56.3 203.8 0 56.3 56.3 56.3 147.5 0 203.8zm-158.54-45.27a80.1 80.1 0 10113.27-113.28 80.1 80.1 0 10-113.27 113.28z`}}]},name:`security-scan`,theme:`filled`};function o4(){return o4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,o4({},e,{ref:t,icon:rPe}))),aPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM402.9 528.8l-77.5 77.5a8.03 8.03 0 000 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.7 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 123-20.1 178.6zm65.4-133.3c31.3-31.3 82-31.3 113.2 0 31.3 31.3 31.3 82 0 113.2-31.3 31.3-82 31.3-113.2 0s-31.3-81.9 0-113.2z`}}]},name:`security-scan`,theme:`outlined`};function s4(){return s4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,s4({},e,{ref:t,icon:aPe}))),oPe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z`,fill:e}},{tag:`path`,attrs:{d:`M460.7 451.1a80.1 80.1 0 10160.2 0 80.1 80.1 0 10-160.2 0z`,fill:t}},{tag:`path`,attrs:{d:`M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zm428.7 122.5c56.3 56.3 56.3 147.5 0 203.8-48.5 48.5-123 55.2-178.6 20.1l-77.5 77.5a8.03 8.03 0 01-11.3 0l-34-34a8.03 8.03 0 010-11.3l77.5-77.5c-35.1-55.7-28.4-130.1 20.1-178.6 56.3-56.3 147.5-56.3 203.8 0z`,fill:t}},{tag:`path`,attrs:{d:`M418.8 527.8l-77.5 77.5a8.03 8.03 0 000 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.6 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 122.9-20.1 178.6zm65.4-133.3a80.1 80.1 0 01113.3 0 80.1 80.1 0 010 113.3c-31.3 31.3-82 31.3-113.3 0s-31.3-82 0-113.3z`,fill:e}}]}},name:`security-scan`,theme:`twotone`};function l4(){return l4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,l4({},e,{ref:t,icon:oPe}))),cPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h360c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H184V184h656v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM653.3 599.4l52.2-52.2a8.01 8.01 0 00-4.7-13.6l-179.4-21c-5.1-.6-9.5 3.7-8.9 8.9l21 179.4c.8 6.6 8.9 9.4 13.6 4.7l52.4-52.4 256.2 256.2c3.1 3.1 8.2 3.1 11.3 0l42.4-42.4c3.1-3.1 3.1-8.2 0-11.3L653.3 599.4z`}}]},name:`select`,theme:`outlined`};function u4(){return u4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,u4({},e,{ref:t,icon:cPe}))),uPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z`}}]},name:`send`,theme:`outlined`};function d4(){return d4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,d4({},e,{ref:t,icon:uPe}))),dPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512.5 390.6c-29.9 0-57.9 11.6-79.1 32.8-21.1 21.2-32.8 49.2-32.8 79.1 0 29.9 11.7 57.9 32.8 79.1 21.2 21.1 49.2 32.8 79.1 32.8 29.9 0 57.9-11.7 79.1-32.8 21.1-21.2 32.8-49.2 32.8-79.1 0-29.9-11.7-57.9-32.8-79.1a110.96 110.96 0 00-79.1-32.8zm412.3 235.5l-65.4-55.9c3.1-19 4.7-38.4 4.7-57.7s-1.6-38.8-4.7-57.7l65.4-55.9a32.03 32.03 0 009.3-35.2l-.9-2.6a442.5 442.5 0 00-79.6-137.7l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.2 28.9c-30-24.6-63.4-44-99.6-57.5l-15.7-84.9a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52-9.4-106.8-9.4-158.8 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.3a353.44 353.44 0 00-98.9 57.3l-81.8-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a445.93 445.93 0 00-79.6 137.7l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.2 56.5c-3.1 18.8-4.6 38-4.6 57 0 19.2 1.5 38.4 4.6 57l-66 56.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.3 44.8 96.8 79.6 137.7l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.8-29.1c29.8 24.5 63 43.9 98.9 57.3l15.8 85.3a32.05 32.05 0 0025.8 25.7l2.7.5a448.27 448.27 0 00158.8 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c4.3-12.4.6-26.3-9.5-35zm-412.3 52.2c-97.1 0-175.8-78.7-175.8-175.8s78.7-175.8 175.8-175.8 175.8 78.7 175.8 175.8-78.7 175.8-175.8 175.8z`}}]},name:`setting`,theme:`filled`};function p4(){return p4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,p4({},e,{ref:t,icon:dPe}))),pPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-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 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z`}}]},name:`setting`,theme:`outlined`};function m4(){return m4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,m4({},e,{ref:t,icon:pPe}))),mPe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M859.3 569.7l.2.1c3.1-18.9 4.6-38.2 4.6-57.3 0-17.1-1.3-34.3-3.7-51.1 2.4 16.7 3.6 33.6 3.6 50.5 0 19.4-1.6 38.8-4.7 57.8zM99 398.1c-.5-.4-.9-.8-1.4-1.3.7.7 1.4 1.4 2.2 2.1l65.5 55.9v-.1L99 398.1zm536.6-216h.1l-15.5-83.8c-.2-1-.4-1.9-.7-2.8.1.5.3 1.1.4 1.6l15.7 85zm54 546.5l31.4-25.8 92.8 32.9c17-22.9 31.3-47.5 42.6-73.6l-74.7-63.9 6.6-40.1c2.5-15.1 3.8-30.6 3.8-46.1s-1.3-31-3.8-46.1l-6.5-39.9 74.7-63.9c-11.4-26-25.6-50.7-42.6-73.6l-92.8 32.9-31.4-25.8c-23.9-19.6-50.6-35-79.3-45.8l-38.1-14.3-17.9-97a377.5 377.5 0 00-85 0l-17.9 97.2-37.9 14.3c-28.5 10.8-55 26.2-78.7 45.7l-31.4 25.9-93.4-33.2c-17 22.9-31.3 47.5-42.6 73.6l75.5 64.5-6.5 40c-2.5 14.9-3.7 30.2-3.7 45.5 0 15.2 1.3 30.6 3.7 45.5l6.5 40-75.5 64.5c11.4 26 25.6 50.7 42.6 73.6l93.4-33.2 31.4 25.9c23.7 19.5 50.2 34.9 78.7 45.7l37.8 14.5 17.9 97.2c28.2 3.2 56.9 3.2 85 0l17.9-97 38.1-14.3c28.8-10.8 55.4-26.2 79.3-45.8zm-177.1-50.3c-30.5 0-59.2-7.8-84.3-21.5C373.3 627 336 568.9 336 502c0-97.2 78.8-176 176-176 66.9 0 125 37.3 154.8 92.2 13.7 25 21.5 53.7 21.5 84.3 0 97.1-78.7 175.8-175.8 175.8zM207.2 812.8c-5.5 1.9-11.2 2.3-16.6 1.2 5.7 1.2 11.7 1 17.5-1l81.4-29c-.1-.1-.3-.2-.4-.3l-81.9 29.1zm717.6-414.7l-65.5 56c0 .2.1.5.1.7l65.4-55.9c7.1-6.1 11.1-14.9 11.2-24-.3 8.8-4.3 17.3-11.2 23.2z`,fill:t}},{tag:`path`,attrs:{d:`M935.8 646.6c.5 4.7 0 9.5-1.7 14.1l-.9 2.6a446.02 446.02 0 01-79.7 137.9l-1.8 2.1a32 32 0 01-35.1 9.5l-81.3-28.9a350 350 0 01-99.7 57.6l-15.7 85a32.05 32.05 0 01-25.8 25.7l-2.7.5a445.2 445.2 0 01-79.2 7.1h.3c26.7 0 53.4-2.4 79.4-7.1l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c1.6-4.7 2.1-9.7 1.5-14.5z`,fill:t}},{tag:`path`,attrs:{d:`M688 502c0-30.3-7.7-58.9-21.2-83.8C637 363.3 578.9 326 512 326c-97.2 0-176 78.8-176 176 0 66.9 37.3 125 92.2 154.8 24.9 13.5 53.4 21.2 83.8 21.2 97.2 0 176-78.8 176-176zm-288 0c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502z`,fill:e}},{tag:`path`,attrs:{d:`M594.1 952.2a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c1.7-4.6 2.2-9.4 1.7-14.1-.9-7.9-4.7-15.4-11-20.9l-65.3-55.9-.2-.1c3.1-19 4.7-38.4 4.7-57.8 0-16.9-1.2-33.9-3.6-50.5-.3-2.2-.7-4.4-1-6.6 0-.2-.1-.5-.1-.7l65.5-56c6.9-5.9 10.9-14.4 11.2-23.2.1-4-.5-8.1-1.9-12l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.4-44-99.6-57.6h-.1l-15.7-85c-.1-.5-.2-1.1-.4-1.6a32.08 32.08 0 00-25.4-24.1l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6a32.09 32.09 0 007.9 33.9c.5.4.9.9 1.4 1.3l66.3 56.6v.1c-3.1 18.8-4.6 37.9-4.6 57 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1c4.9 5.7 11.4 9.4 18.5 10.7 5.4 1 11.1.7 16.6-1.2l81.9-29.1c.1.1.3.2.4.3 29.7 24.3 62.8 43.6 98.6 57.1l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5c26.1 4.7 52.8 7.1 79.5 7.1h.3c26.6 0 53.3-2.4 79.2-7.1l2.7-.5zm-39.8-66.5a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97z`,fill:e}}]}},name:`setting`,theme:`twotone`};function g4(){return g4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,g4({},e,{ref:t,icon:mPe}))),gPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M324 666a48 48 0 1096 0 48 48 0 10-96 0zm616.7-309.6L667.6 83.2C655.2 70.9 638.7 64 621.1 64s-34.1 6.8-46.5 19.2L83.3 574.5a65.85 65.85 0 000 93.1l273.2 273.2c12.3 12.3 28.9 19.2 46.5 19.2s34.1-6.8 46.5-19.2l491.3-491.3c25.6-25.7 25.6-67.5-.1-93.1zM403 880.1L143.9 621l477.2-477.2 259 259.2L403 880.1zM152.8 373.7a7.9 7.9 0 0011.2 0L373.7 164a7.9 7.9 0 000-11.2l-38.4-38.4a7.9 7.9 0 00-11.2 0L114.3 323.9a7.9 7.9 0 000 11.2l38.5 38.6zm718.6 276.6a7.9 7.9 0 00-11.2 0L650.3 860.1a7.9 7.9 0 000 11.2l38.4 38.4a7.9 7.9 0 0011.2 0L909.7 700a7.9 7.9 0 000-11.2l-38.3-38.5z`}}]},name:`shake`,theme:`outlined`};function _4(){return _4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_4({},e,{ref:t,icon:gPe}))),vPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z`}}]},name:`share-alt`,theme:`outlined`};function v4(){return v4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,v4({},e,{ref:t,icon:vPe}))),bPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h274V736h128v176h274c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zm-72 568H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 3-1.3 6-2.6 9-4v242.2zm0-568.1H214v-88h596v88z`}}]},name:`shop`,theme:`filled`};function y4(){return y4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,y4({},e,{ref:t,icon:bPe}))),SPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h676c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zM214 184h596v88H214v-88zm362 656.1H448V736h128v104.1zm234 0H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 3-1.3 6-2.6 9-4v242.2zm30-404.4c0 59.8-49 108.3-109.3 108.3-40.8 0-76.4-22.1-95.2-54.9-2.9-5-8.1-8.1-13.9-8.1h-.6c-5.7 0-11 3.1-13.9 8.1A109.24 109.24 0 01512 544c-40.7 0-76.2-22-95-54.7-3-5.1-8.4-8.3-14.3-8.3s-11.4 3.2-14.3 8.3a109.63 109.63 0 01-95.1 54.7C233 544 184 495.5 184 435.7v-91.2c0-.3.2-.5.5-.5h655c.3 0 .5.2.5.5v91.2z`}}]},name:`shop`,theme:`outlined`};function b4(){return b4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,b4({},e,{ref:t,icon:SPe}))),wPe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M839.5 344h-655c-.3 0-.5.2-.5.5v91.2c0 59.8 49 108.3 109.3 108.3 40.7 0 76.2-22 95.1-54.7 2.9-5.1 8.4-8.3 14.3-8.3s11.3 3.2 14.3 8.3c18.8 32.7 54.3 54.7 95 54.7 40.8 0 76.4-22.1 95.1-54.9 2.9-5 8.2-8.1 13.9-8.1h.6c5.8 0 11 3.1 13.9 8.1 18.8 32.8 54.4 54.9 95.2 54.9C791 544 840 495.5 840 435.7v-91.2c0-.3-.2-.5-.5-.5z`,fill:t}},{tag:`path`,attrs:{d:`M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h676c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zM214 184h596v88H214v-88zm362 656.1H448V736h128v104.1zm234.4 0H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c3-1.3 6-2.6 9-4v242.2zM840 435.7c0 59.8-49 108.3-109.3 108.3-40.8 0-76.4-22.1-95.2-54.9-2.9-5-8.1-8.1-13.9-8.1h-.6c-5.7 0-11 3.1-13.9 8.1A109.24 109.24 0 01512 544c-40.7 0-76.2-22-95-54.7-3-5.1-8.4-8.3-14.3-8.3s-11.4 3.2-14.3 8.3a109.63 109.63 0 01-95.1 54.7C233 544 184 495.5 184 435.7v-91.2c0-.3.2-.5.5-.5h655c.3 0 .5.2.5.5v91.2z`,fill:e}}]}},name:`shop`,theme:`twotone`};function x4(){return x4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,x4({},e,{ref:t,icon:wPe}))),EPe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M922.9 701.9H327.4l29.9-60.9 496.8-.9c16.8 0 31.2-12 34.2-28.6l68.8-385.1c1.8-10.1-.9-20.5-7.5-28.4a34.99 34.99 0 00-26.6-12.5l-632-2.1-5.4-25.4c-3.4-16.2-18-28-34.6-28H96.5a35.3 35.3 0 100 70.6h125.9L246 312.8l58.1 281.3-74.8 122.1a34.96 34.96 0 00-3 36.8c6 11.9 18.1 19.4 31.5 19.4h62.8a102.43 102.43 0 00-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7h161.1a102.43 102.43 0 00-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7H923c19.4 0 35.3-15.8 35.3-35.3a35.42 35.42 0 00-35.4-35.2zM305.7 253l575.8 1.9-56.4 315.8-452.3.8L305.7 253zm96.9 612.7c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 01-31.6 31.6zm325.1 0c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 01-31.6 31.6z`}}]},name:`shopping-cart`,theme:`outlined`};function S4(){return S4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,S4({},e,{ref:t,icon:EPe}))),DPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-208 0H400v-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16z`}}]},name:`shopping`,theme:`filled`};function w4(){return w4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,w4({},e,{ref:t,icon:DPe}))),kPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-432-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16H400v-16zm392 544H232V384h96v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h224v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h96v456z`}}]},name:`shopping`,theme:`outlined`};function T4(){return T4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,T4({},e,{ref:t,icon:kPe}))),APe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M696 472c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-88H400v88c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-88h-96v456h560V384h-96v88z`,fill:t}},{tag:`path`,attrs:{d:`M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-432-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16H400v-16zm392 544H232V384h96v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h224v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h96v456z`,fill:e}}]}},name:`shopping`,theme:`twotone`};function D4(){return D4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,D4({},e,{ref:t,icon:APe}))),MPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M881.7 187.4l-45.1-45.1a8.03 8.03 0 00-11.3 0L667.8 299.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L576.1 439c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 157.6-157.6c3-3 3-8.1-.1-11.2zM439 576.1l-189.2 23.5c-6.6.8-9.3 8.9-4.7 13.5l54.7 54.7-157.5 157.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l157.6-157.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L447.9 585a7.9 7.9 0 00-8.9-8.9z`}}]},name:`shrink`,theme:`outlined`};function O4(){return O4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,O4({},e,{ref:t,icon:MPe}))),PPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M584 352H440c-17.7 0-32 14.3-32 32v544c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V384c0-17.7-14.3-32-32-32zM892 64H748c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM276 640H132c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V672c0-17.7-14.3-32-32-32z`}}]},name:`signal`,theme:`filled`};function k4(){return k4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,k4({},e,{ref:t,icon:PPe}))),IPe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M145.71 752c2 0 4-.2 5.98-.5L319.9 722c1.99-.4 3.88-1.3 5.28-2.8l423.91-423.87a9.93 9.93 0 000-14.06L582.88 114.9C581 113 578.5 112 575.82 112s-5.18 1-7.08 2.9L144.82 538.76c-1.5 1.5-2.4 3.29-2.8 5.28l-29.5 168.17a33.59 33.59 0 009.37 29.81c6.58 6.48 14.95 9.97 23.82 9.97m453.12-184.07c27.69-14.81 57.29-20.85 85.54-15.52 32.37 6.1 59.72 26.53 78.96 59.4 29.97 51.22 21.64 102.34-18.48 144.26-17.58 18.36-41.07 35.01-70 50.3l-.3.15.86.26a147.88 147.88 0 0041.54 6.2l1.17.01c61.07 0 100.98-22.1 125.28-67.87a36 36 0 0163.6 33.76C869.7 849.1 804.9 885 718.12 885c-47.69 0-91.94-15.03-128.19-41.36l-1.05-.78-1.36.47c-46.18 16-98.74 29.95-155.37 41.94l-2.24.47a1931.1 1931.1 0 01-139.16 23.96 36 36 0 11-9.5-71.38 1860.1 1860.1 0 00133.84-23.04c42.8-9 83-19.13 119.35-30.34l.24-.08-.44-.69c-16.46-26.45-25.86-55.43-26.14-83.24v-1.3c0-49.9 39.55-104.32 90.73-131.7M671 623.17c-10.74-2.03-24.1.7-38.22 8.26-29.55 15.8-52.7 47.64-52.7 68.2 0 18.2 8.9 40.14 24.71 59.73l.24.3 1.22-.52c39.17-16.58 68.49-34.27 85.93-52.18l.64-.67c18.74-19.57 21.39-35.84 8.36-58.1-9.06-15.47-19.03-22.92-30.18-25.02`}}]},name:`signature`,theme:`filled`};function A4(){return A4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,A4({},e,{ref:t,icon:IPe}))),RPe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M145.71 752c2 0 4-.2 5.98-.5L319.9 722c1.99-.4 3.88-1.3 5.28-2.8l423.91-423.87a9.93 9.93 0 000-14.06L582.88 114.9C581 113 578.5 112 575.82 112s-5.18 1-7.08 2.9L144.82 538.76c-1.5 1.5-2.4 3.29-2.8 5.28l-29.5 168.17a33.59 33.59 0 009.37 29.81c6.58 6.48 14.95 9.97 23.82 9.97m51.75-85.43l15.65-88.92 362.7-362.67 73.28 73.27-362.7 362.67zm401.37-98.64c27.69-14.81 57.29-20.85 85.54-15.52 32.37 6.1 59.72 26.53 78.96 59.4 29.97 51.22 21.64 102.34-18.48 144.26-17.58 18.36-41.07 35.01-70 50.3l-.3.15.86.26a147.88 147.88 0 0041.54 6.2l1.17.01c61.07 0 100.98-22.1 125.28-67.87a36 36 0 0163.6 33.76C869.7 849.1 804.9 885 718.12 885c-47.69 0-91.94-15.03-128.19-41.36l-1.05-.78-1.36.47c-46.18 16-98.74 29.95-155.37 41.94l-2.24.47a1931.1 1931.1 0 01-139.16 23.96 36 36 0 11-9.5-71.38 1860.1 1860.1 0 00133.84-23.04c42.8-9 83-19.13 119.35-30.34l.24-.08-.44-.69c-16.46-26.45-25.86-55.43-26.14-83.24v-1.3c0-49.9 39.55-104.32 90.73-131.7M671 623.17c-10.74-2.03-24.1.7-38.22 8.26-29.55 15.8-52.7 47.64-52.7 68.2 0 18.2 8.9 40.14 24.71 59.73l.24.3 1.22-.52c39.17-16.58 68.49-34.27 85.93-52.18l.64-.67c18.74-19.57 21.39-35.84 8.36-58.1-9.06-15.47-19.03-22.92-30.18-25.02`}}]},name:`signature`,theme:`outlined`};function j4(){return j4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,j4({},e,{ref:t,icon:RPe}))),BPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M672 432c-120.3 0-219.9 88.5-237.3 204H320c-15.5 0-28-12.5-28-28V244h291c14.2 35.2 48.7 60 89 60 53 0 96-43 96-96s-43-96-96-96c-40.3 0-74.8 24.8-89 60H112v72h108v364c0 55.2 44.8 100 100 100h114.7c17.4 115.5 117 204 237.3 204 132.5 0 240-107.5 240-240S804.5 432 672 432zm128 266c0 4.4-3.6 8-8 8h-86v86c0 4.4-3.6 8-8 8h-52c-4.4 0-8-3.6-8-8v-86h-86c-4.4 0-8-3.6-8-8v-52c0-4.4 3.6-8 8-8h86v-86c0-4.4 3.6-8 8-8h52c4.4 0 8 3.6 8 8v86h86c4.4 0 8 3.6 8 8v52z`}}]},name:`sisternode`,theme:`outlined`};function M4(){return M4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,M4({},e,{ref:t,icon:BPe}))),HPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M582.3 625.6l147.9-166.3h-63.4zm90-202.3h62.5l-92.1-115.1zm-274.7 36L512 684.5l114.4-225.2zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm286.7 380.2L515.8 762.3c-1 1.1-2.4 1.7-3.8 1.7s-2.8-.6-3.8-1.7L225.3 444.2a5.14 5.14 0 01-.2-6.6L365.6 262c1-1.2 2.4-1.9 4-1.9h284.6c1.6 0 3 .7 4 1.9l140.5 175.6a4.9 4.9 0 010 6.6zm-190.5-20.9L512 326.1l-96.2 97.2zM420.3 301.1l-23.1 89.8 88.8-89.8zm183.4 0H538l88.8 89.8zm-222.4 7.1l-92.1 115.1h62.5zm-87.5 151.1l147.9 166.3-84.5-166.3z`}}]},name:`sketch-circle`,theme:`filled`};function N4(){return N4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,N4({},e,{ref:t,icon:HPe}))),WPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M925.6 405.1l-203-253.7a6.5 6.5 0 00-5-2.4H306.4c-1.9 0-3.8.9-5 2.4l-203 253.7a6.5 6.5 0 00.2 8.3l408.6 459.5c1.2 1.4 3 2.1 4.8 2.1 1.8 0 3.5-.8 4.8-2.1l408.6-459.5a6.5 6.5 0 00.2-8.3zM645.2 206.4l34.4 133.9-132.5-133.9h98.1zm8.2 178.5H370.6L512 242l141.4 142.9zM378.8 206.4h98.1L344.3 340.3l34.5-133.9zm-53.4 7l-44.1 171.5h-93.1l137.2-171.5zM194.6 434.9H289l125.8 247.7-220.2-247.7zM512 763.4L345.1 434.9h333.7L512 763.4zm97.1-80.8L735 434.9h94.4L609.1 682.6zm133.6-297.7l-44.1-171.5 137.2 171.5h-93.1z`}}]},name:`sketch`,theme:`outlined`};function P4(){return P4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,P4({},e,{ref:t,icon:WPe}))),GPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M608.2 423.3L512 326.1l-96.2 97.2zm-25.9 202.3l147.9-166.3h-63.4zm90-202.3h62.5l-92.1-115.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-81.3 332.2L515.8 762.3c-1 1.1-2.4 1.7-3.8 1.7s-2.8-.6-3.8-1.7L225.3 444.2a5.14 5.14 0 01-.2-6.6L365.6 262c1-1.2 2.4-1.9 4-1.9h284.6c1.6 0 3 .7 4 1.9l140.5 175.6a4.9 4.9 0 010 6.6zm-401.1 15.1L512 684.5l114.4-225.2zm-16.3-151.1l-92.1 115.1h62.5zm-87.5 151.1l147.9 166.3-84.5-166.3zm126.5-158.2l-23.1 89.8 88.8-89.8zm183.4 0H538l88.8 89.8z`}}]},name:`sketch-square`,theme:`filled`};function I4(){return I4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,I4({},e,{ref:t,icon:GPe}))),qPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44z`}}]},name:`skin`,theme:`filled`};function L4(){return L4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,L4({},e,{ref:t,icon:qPe}))),YPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44zm-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842v196z`}}]},name:`skin`,theme:`outlined`};function R4(){return R4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,R4({},e,{ref:t,icon:YPe}))),XPe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 318c-79.2 0-148.5-48.8-176.7-120H182v196h119v432h422V394h119V198H688.7c-28.2 71.2-97.5 120-176.7 120z`,fill:t}},{tag:`path`,attrs:{d:`M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44zm-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842v196z`,fill:e}}]}},name:`skin`,theme:`twotone`};function B4(){return B4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,B4({},e,{ref:t,icon:XPe}))),QPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M883.7 578.6c4.1-22.5 6.3-45.5 6.3-68.5 0-51-10-100.5-29.7-147-19-45-46.3-85.4-81-120.1a375.79 375.79 0 00-120.1-80.9c-46.6-19.7-96-29.7-147-29.7-24 0-48.1 2.3-71.5 6.8A225.1 225.1 0 00335.6 113c-59.7 0-115.9 23.3-158.1 65.5A222.25 222.25 0 00112 336.6c0 38 9.8 75.4 28.1 108.4-3.7 21.4-5.7 43.3-5.7 65.1 0 51 10 100.5 29.7 147 19 45 46.2 85.4 80.9 120.1 34.7 34.7 75.1 61.9 120.1 80.9 46.6 19.7 96 29.7 147 29.7 22.2 0 44.4-2 66.2-5.9 33.5 18.9 71.3 29 110 29 59.7 0 115.9-23.2 158.1-65.5 42.3-42.2 65.5-98.4 65.5-158.1.1-38-9.7-75.5-28.2-108.7zm-370 162.9c-134.2 0-194.2-66-194.2-115.4 0-25.4 18.7-43.1 44.5-43.1 57.4 0 42.6 82.5 149.7 82.5 54.9 0 85.2-29.8 85.2-60.3 0-18.3-9-38.7-45.2-47.6l-119.4-29.8c-96.1-24.1-113.6-76.1-113.6-124.9 0-101.4 95.5-139.5 185.2-139.5 82.6 0 180 45.7 180 106.5 0 26.1-22.6 41.2-48.4 41.2-49 0-40-67.8-138.7-67.8-49 0-76.1 22.2-76.1 53.9s38.7 41.8 72.3 49.5l88.4 19.6c96.8 21.6 121.3 78.1 121.3 131.3 0 82.3-63.3 143.9-191 143.9z`}}]},name:`skype`,theme:`filled`};function V4(){return V4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,V4({},e,{ref:t,icon:QPe}))),eFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M883.7 578.6c4.1-22.5 6.3-45.5 6.3-68.5 0-51-10-100.5-29.7-147-19-45-46.3-85.4-81-120.1a375.79 375.79 0 00-120.1-80.9c-46.6-19.7-96-29.7-147-29.7-24 0-48.1 2.3-71.5 6.8A225.1 225.1 0 00335.6 113c-59.7 0-115.9 23.3-158.1 65.5A222.25 222.25 0 00112 336.6c0 38 9.8 75.4 28.1 108.4-3.7 21.4-5.7 43.3-5.7 65.1 0 51 10 100.5 29.7 147 19 45 46.2 85.4 80.9 120.1 34.7 34.7 75.1 61.9 120.1 80.9 46.6 19.7 96 29.7 147 29.7 22.2 0 44.4-2 66.2-5.9 33.5 18.9 71.3 29 110 29 59.7 0 115.9-23.2 158.1-65.5 42.3-42.2 65.5-98.4 65.5-158.1.1-38-9.7-75.5-28.2-108.7zm-88.1 216C766.9 823.4 729 839 688.4 839c-26.1 0-51.8-6.8-74.6-19.7l-22.5-12.7-25.5 4.5c-17.8 3.2-35.8 4.8-53.6 4.8-41.4 0-81.3-8.1-119.1-24.1-36.3-15.3-69-37.3-97.2-65.5a304.29 304.29 0 01-65.5-97.1c-16-37.7-24-77.6-24-119 0-17.4 1.6-35.2 4.6-52.8l4.4-25.1L203 410a151.02 151.02 0 01-19.1-73.4c0-40.6 15.7-78.5 44.4-107.2C257.1 200.7 295 185 335.6 185a153 153 0 0171.4 17.9l22.4 11.8 24.8-4.8c18.9-3.6 38.4-5.5 58-5.5 41.4 0 81.3 8.1 119 24 36.5 15.4 69.1 37.4 97.2 65.5 28.2 28.1 50.2 60.8 65.6 97.2 16 37.7 24 77.6 24 119 0 18.4-1.7 37-5.1 55.5l-4.7 25.5 12.6 22.6c12.6 22.5 19.2 48 19.2 73.7 0 40.7-15.7 78.5-44.4 107.2zM583.4 466.2L495 446.6c-33.6-7.7-72.3-17.8-72.3-49.5s27.1-53.9 76.1-53.9c98.7 0 89.7 67.8 138.7 67.8 25.8 0 48.4-15.2 48.4-41.2 0-60.8-97.4-106.5-180-106.5-89.7 0-185.2 38.1-185.2 139.5 0 48.8 17.4 100.8 113.6 124.9l119.4 29.8c36.1 8.9 45.2 29.2 45.2 47.6 0 30.5-30.3 60.3-85.2 60.3-107.2 0-92.3-82.5-149.7-82.5-25.8 0-44.5 17.8-44.5 43.1 0 49.4 60 115.4 194.2 115.4 127.7 0 191-61.5 191-144 0-53.1-24.5-109.6-121.3-131.2z`}}]},name:`skype`,theme:`outlined`};function H4(){return H4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,H4({},e,{ref:t,icon:eFe}))),nFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm83.7-50.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM579.3 765c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134c-13.3 0-26.1-5.3-35.6-14.8S529 593.6 529 580.2c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z`}}]},name:`slack-circle`,theme:`filled`};function U4(){return U4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,U4({},e,{ref:t,icon:nFe}))),iFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M409.4 128c-42.4 0-76.7 34.4-76.7 76.8 0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5h76.7v-76.8c0-42.3-34.3-76.7-76.7-76.8zm0 204.8H204.7c-42.4 0-76.7 34.4-76.7 76.8s34.4 76.8 76.7 76.8h204.6c42.4 0 76.7-34.4 76.7-76.8.1-42.4-34.3-76.8-76.6-76.8zM614 486.4c42.4 0 76.8-34.4 76.7-76.8V204.8c0-42.4-34.3-76.8-76.7-76.8-42.4 0-76.7 34.4-76.7 76.8v204.8c0 42.5 34.3 76.8 76.7 76.8zm281.4-76.8c0-42.4-34.4-76.8-76.7-76.8S742 367.2 742 409.6v76.8h76.7c42.3 0 76.7-34.4 76.7-76.8zm-76.8 128H614c-42.4 0-76.7 34.4-76.7 76.8 0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5h204.6c42.4 0 76.7-34.4 76.7-76.8.1-42.4-34.3-76.7-76.7-76.8zM614 742.4h-76.7v76.8c0 42.4 34.4 76.8 76.7 76.8 42.4 0 76.8-34.4 76.7-76.8.1-42.4-34.3-76.7-76.7-76.8zM409.4 537.6c-42.4 0-76.7 34.4-76.7 76.8v204.8c0 42.4 34.4 76.8 76.7 76.8 42.4 0 76.8-34.4 76.7-76.8V614.4c0-20.3-8.1-39.9-22.4-54.3a76.92 76.92 0 00-54.3-22.5zM128 614.4c0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5c42.4 0 76.8-34.4 76.7-76.8v-76.8h-76.7c-42.3 0-76.7 34.4-76.7 76.8z`}}]},name:`slack`,theme:`outlined`};function W4(){return W4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,W4({},e,{ref:t,icon:iFe}))),oFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM529 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm134 403.2c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z`}}]},name:`slack-square`,theme:`filled`};function G4(){return G4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,G4({},e,{ref:t,icon:oFe}))),cFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM529 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm134 403.2c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z`}}]},name:`slack-square`,theme:`outlined`};function K4(){return K4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,K4({},e,{ref:t,icon:cFe}))),uFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-584-72h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm292 180h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8z`}}]},name:`sliders`,theme:`filled`};function q4(){return q4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,q4({},e,{ref:t,icon:uFe}))),fFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440zm644-436h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74z`}}]},name:`sliders`,theme:`outlined`};function J4(){return J4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,J4({},e,{ref:t,icon:fFe}))),mFe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M180 292h80v440h-80zm369 180h-74a3 3 0 00-3 3v74a3 3 0 003 3h74a3 3 0 003-3v-74a3 3 0 00-3-3zm215-108h80v296h-80z`,fill:t}},{tag:`path`,attrs:{d:`M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74zM320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440z`,fill:e}}]}},name:`sliders`,theme:`twotone`};function Y4(){return Y4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Y4({},e,{ref:t,icon:mFe}))),gFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M112 476h72v72h-72zm182 0h72v72h-72zm364 0h72v72h-72zm182 0h72v72h-72zm-364 0h72v72h-72z`}}]},name:`small-dash`,theme:`outlined`};function X4(){return X4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,X4({},e,{ref:t,icon:gFe}))),vFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm224 272c-85.5 0-155.6-67.3-160-151.6a8 8 0 018-8.4h48.1c4.2 0 7.8 3.2 8.1 7.4C420 589.9 461.5 629 512 629s92.1-39.1 95.8-88.6c.3-4.2 3.9-7.4 8.1-7.4H664a8 8 0 018 8.4C667.6 625.7 597.5 693 512 693zm176-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`smile`,theme:`filled`};function Z4(){return Z4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Z4({},e,{ref:t,icon:vFe}))),bFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z`}}]},name:`smile`,theme:`outlined`};function Q4(){return Q4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Q4({},e,{ref:t,icon:bFe}))),xFe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm224 272c-85.5 0-155.6-67.3-160-151.6a8 8 0 018-8.4h48.1c4.2 0 7.8 3.2 8.1 7.4C420 589.9 461.5 629 512 629s92.1-39.1 95.8-88.6c.3-4.2 3.9-7.4 8.1-7.4H664a8 8 0 018 8.4C667.6 625.7 597.5 693 512 693zm176-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`,fill:t}},{tag:`path`,attrs:{d:`M288 421a48 48 0 1096 0 48 48 0 10-96 0zm376 112h-48.1c-4.2 0-7.8 3.2-8.1 7.4-3.7 49.5-45.3 88.6-95.8 88.6s-92-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4zm-24-112a48 48 0 1096 0 48 48 0 10-96 0z`,fill:e}}]}},name:`smile`,theme:`twotone`};function e3(){return e3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,e3({},e,{ref:t,icon:xFe}))),CFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 486H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z`}}]},name:`snippets`,theme:`filled`};function t3(){return t3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,t3({},e,{ref:t,icon:CFe}))),TFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 888H232V336h218v174c0 22.1 17.9 40 40 40h174v338zm0-402H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z`}}]},name:`snippets`,theme:`outlined`};function n3(){return n3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,n3({},e,{ref:t,icon:TFe}))),DFe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M450 510V336H232v552h432V550H490c-22.1 0-40-17.9-40-40z`,fill:t}},{tag:`path`,attrs:{d:`M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 888H232V336h218v174c0 22.1 17.9 40 40 40h174v338zm0-402H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z`,fill:e}}]}},name:`snippets`,theme:`twotone`};function r3(){return r3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,r3({},e,{ref:t,icon:DFe}))),kFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z`}}]},name:`solution`,theme:`outlined`};function i3(){return i3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,i3({},e,{ref:t,icon:kFe}))),AFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M839.6 433.8L749 150.5a9.24 9.24 0 00-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 00-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 00-9.2-9.3zM416 702h-76V172c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v530h-76c-6.7 0-10.5 7.8-6.3 13l112 141.9a8 8 0 0012.6 0l112-141.9c4.1-5.2.4-13-6.3-13z`}}]},name:`sort-ascending`,theme:`outlined`};function o3(){return o3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,o3({},e,{ref:t,icon:AFe}))),MFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M839.6 433.8L749 150.5a9.24 9.24 0 00-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 00-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 00-9.2-9.3zM310.3 167.1a8 8 0 00-12.6 0L185.7 309c-4.2 5.3-.4 13 6.3 13h76v530c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V322h76c6.7 0 10.5-7.8 6.3-13l-112-141.9z`}}]},name:`sort-descending`,theme:`outlined`};function s3(){return s3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,s3({},e,{ref:t,icon:MFe}))),PFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M892.1 737.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344zm174 132H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zM625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1z`}}]},name:`sound`,theme:`filled`};function c3(){return c3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,c3({},e,{ref:t,icon:PFe}))),IFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z`}}]},name:`sound`,theme:`outlined`};function l3(){return l3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,l3({},e,{ref:t,icon:IFe}))),LFe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M275.4 424H146v176h129.4l18 11.7L586 803V221L293.3 412.3z`,fill:t}},{tag:`path`,attrs:{d:`M892.1 737.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM934 476H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344zM625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582z`,fill:e}}]}},name:`sound`,theme:`twotone`};function d3(){return d3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,d3({},e,{ref:t,icon:LFe}))),zFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M938.2 508.4L787.3 389c-3-2.4-7.3-.2-7.3 3.6V478H636V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H596c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H636V546h144v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4a4.5 4.5 0 000-7.2zM428 116H144c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H244v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4a4.52 4.52 0 000 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h144v294H184V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z`}}]},name:`split-cells`,theme:`outlined`};function f3(){return f3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,f3({},e,{ref:t,icon:zFe}))),VFe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M721.42 695.17c0-12.45-5.84-22.36-17.5-29.75-75.06-44.73-161.98-67.09-260.75-67.09-51.73 0-107.53 6.61-167.42 19.84-16.33 3.5-24.5 13.6-24.5 30.33 0 7.78 2.63 14.49 7.88 20.13 5.25 5.63 12.15 8.45 20.7 8.45 1.95 0 9.14-1.55 21.59-4.66 51.33-10.5 98.58-15.75 141.75-15.75 87.89 0 165.08 20.02 231.58 60.08 7.39 4.28 13.8 6.42 19.25 6.42 7.39 0 13.8-2.63 19.25-7.88 5.44-5.25 8.17-11.96 8.17-20.12m56-125.42c0-15.56-6.8-27.42-20.42-35.58-92.17-54.84-198.72-82.25-319.67-82.25-59.5 0-118.41 8.16-176.75 24.5-18.66 5.05-28 17.5-28 37.33 0 9.72 3.4 17.99 10.21 24.8 6.8 6.8 15.07 10.2 24.8 10.2 2.72 0 9.91-1.56 21.58-4.67a558.27 558.27 0 01146.41-19.25c108.5 0 203.4 24.11 284.67 72.34 9.33 5.05 16.72 7.58 22.17 7.58 9.72 0 17.98-3.4 24.79-10.2 6.8-6.81 10.2-15.08 10.2-24.8m63-144.67c0-18.27-7.77-31.89-23.33-40.83-49-28.39-105.97-49.88-170.91-64.46-64.95-14.58-131.64-21.87-200.09-21.87-79.33 0-150.1 9.14-212.33 27.41a46.3 46.3 0 00-22.46 14.88c-6.03 7.2-9.04 16.62-9.04 28.29 0 12.06 3.99 22.17 11.96 30.33 7.97 8.17 17.98 12.25 30.04 12.25 4.28 0 12.06-1.55 23.33-4.66 51.73-14.4 111.42-21.59 179.09-21.59 61.83 0 122.01 6.61 180.54 19.84 58.53 13.22 107.82 31.7 147.87 55.41 8.17 4.67 15.95 7 23.34 7 11.27 0 21.1-3.98 29.46-11.96 8.36-7.97 12.54-17.98 12.54-30.04M960 512c0 81.28-20.03 156.24-60.08 224.88-40.06 68.63-94.4 122.98-163.04 163.04C668.24 939.97 593.27 960 512 960s-156.24-20.03-224.88-60.08c-68.63-40.06-122.98-94.4-163.04-163.04C84.03 668.24 64 593.27 64 512s20.03-156.24 60.08-224.88c40.06-68.63 94.4-122.98 163.05-163.04C355.75 84.03 430.73 64 512 64c81.28 0 156.24 20.03 224.88 60.08 68.63 40.06 122.98 94.4 163.04 163.05C939.97 355.75 960 430.73 960 512`}}]},name:`spotify`,theme:`filled`};function p3(){return p3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,p3({},e,{ref:t,icon:VFe}))),UFe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.52 64 64 264.52 64 512s200.52 448 448 448 448-200.52 448-448S759.48 64 512 64m0 74.66a371.86 371.86 0 01264.43 108.91A371.86 371.86 0 01885.33 512a371.86 371.86 0 01-108.9 264.43A371.86 371.86 0 01512 885.33a371.86 371.86 0 01-264.43-108.9A371.86 371.86 0 01138.67 512a371.86 371.86 0 01108.9-264.43A371.86 371.86 0 01512 138.67M452.49 316c-72.61 0-135.9 6.72-196 25.68-15.9 3.18-29.16 15.16-29.16 37.34 0 22.14 16.35 41.7 38.5 38.45 9.48 0 15.9-3.47 22.17-3.47 50.59-12.7 107.63-18.67 164.49-18.67 110.55 0 224 24.64 299.82 68.85 9.49 3.2 12.7 6.98 22.18 6.98 22.18 0 37.63-16.32 40.84-38.5 0-18.96-9.48-31.06-22.17-37.33C698.36 341.65 572.52 316 452.49 316M442 454.84c-66.34 0-113.6 9.49-161.02 22.18-15.72 6.23-24.49 16.05-24.49 34.98 0 15.76 12.54 31.51 31.51 31.51 6.42 0 9.18-.3 18.67-3.51 34.72-9.48 82.4-15.16 133.02-15.16 104.23 0 194.95 25.39 261.33 66.5 6.23 3.2 12.7 5.82 22.14 5.82 18.96 0 31.5-16.06 31.5-34.98 0-12.7-5.97-25.24-18.66-31.51-82.13-50.59-186.52-75.83-294-75.83m10.49 136.5c-53.65 0-104.53 5.97-155.16 18.66-12.69 3.21-22.17 12.24-22.17 28 0 12.7 9.93 25.68 25.68 25.68 3.21 0 12.4-3.5 18.67-3.5a581.73 581.73 0 01129.5-15.2c78.9 0 151.06 18.97 211.17 53.69 6.42 3.2 13.55 5.82 19.82 5.82 12.7 0 24.79-9.48 28-22.14 0-15.9-6.87-21.76-16.35-28-69.55-41.14-150.8-63.02-239.16-63.02`}}]},name:`spotify`,theme:`outlined`};function m3(){return m3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,m3({},e,{ref:t,icon:UFe}))),GFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z`}}]},name:`star`,theme:`outlined`};function h3(){return h3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,h3({},e,{ref:t,icon:GFe}))),KFe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512.5 190.4l-94.4 191.3-211.2 30.7 152.8 149-36.1 210.3 188.9-99.3 188.9 99.2-36.1-210.3 152.8-148.9-211.2-30.7z`,fill:t}},{tag:`path`,attrs:{d:`M908.6 352.8l-253.9-36.9L541.2 85.8c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L370.3 315.9l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1L239 839.4a31.95 31.95 0 0046.4 33.7l227.1-119.4 227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM665.3 561.3l36.1 210.3-188.9-99.2-188.9 99.3 36.1-210.3-152.8-149 211.2-30.7 94.4-191.3 94.4 191.3 211.2 30.7-152.8 148.9z`,fill:e}}]}},name:`star`,theme:`twotone`};function _3(){return _3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_3({},e,{ref:t,icon:KFe}))),JFe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8`}}]},name:`step-backward`,theme:`filled`};function v3(){return v3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,v3({},e,{ref:t,icon:JFe}))),XFe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8`}}]},name:`step-backward`,theme:`outlined`};function y3(){return y3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,y3({},e,{ref:t,icon:XFe}))),QFe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8`}}]},name:`step-forward`,theme:`filled`};function b3(){return b3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,b3({},e,{ref:t,icon:QFe}))),eIe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8`}}]},name:`step-forward`,theme:`outlined`};function x3(){return x3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,x3({},e,{ref:t,icon:eIe}))),nIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M904 747H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM165.7 621.8l39.7 39.5c3.1 3.1 8.2 3.1 11.3 0l234.7-233.9 97.6 97.3a32.11 32.11 0 0045.2 0l264.2-263.2c3.1-3.1 3.1-8.2 0-11.3l-39.7-39.6a8.03 8.03 0 00-11.3 0l-235.7 235-97.7-97.3a32.11 32.11 0 00-45.2 0L165.7 610.5a7.94 7.94 0 000 11.3z`}}]},name:`stock`,theme:`outlined`};function S3(){return S3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,S3({},e,{ref:t,icon:nIe}))),iIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm234.8 736.5L223.5 277.2c16-19.7 34-37.7 53.7-53.7l523.3 523.3c-16 19.6-34 37.7-53.7 53.7z`}}]},name:`stop`,theme:`filled`};function C3(){return C3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,C3({},e,{ref:t,icon:iIe}))),oIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z`}}]},name:`stop`,theme:`outlined`};function w3(){return w3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,w3({},e,{ref:t,icon:oIe}))),sIe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm288.5 682.8L277.7 224C258 240 240 258 224 277.7l522.8 522.8C682.8 852.7 601 884 512 884c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372c0 89-31.3 170.8-83.5 234.8z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372c89 0 170.8-31.3 234.8-83.5L224 277.7c16-19.7 34-37.7 53.7-53.7l522.8 522.8C852.7 682.8 884 601 884 512c0-205.4-166.6-372-372-372z`,fill:t}}]}},name:`stop`,theme:`twotone`};function E3(){return E3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,E3({},e,{ref:t,icon:sIe}))),lIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M952 474H569.9c-10-2-20.5-4-31.6-6-15.9-2.9-22.2-4.1-30.8-5.8-51.3-10-82.2-20-106.8-34.2-35.1-20.5-52.2-48.3-52.2-85.1 0-37 15.2-67.7 44-89 28.4-21 68.8-32.1 116.8-32.1 54.8 0 97.1 14.4 125.8 42.8 14.6 14.4 25.3 32.1 31.8 52.6 1.3 4.1 2.8 10 4.3 17.8.9 4.8 5.2 8.2 9.9 8.2h72.8c5.6 0 10.1-4.6 10.1-10.1v-1c-.7-6.8-1.3-12.1-2-16-7.3-43.5-28-81.7-59.7-110.3-44.4-40.5-109.7-61.8-188.7-61.8-72.3 0-137.4 18.1-183.3 50.9-25.6 18.4-45.4 41.2-58.6 67.7-13.5 27.1-20.3 58.4-20.3 92.9 0 29.5 5.7 54.5 17.3 76.5 8.3 15.7 19.6 29.5 34.1 42H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h433.2c2.1.4 3.9.8 5.9 1.2 30.9 6.2 49.5 10.4 66.6 15.2 23 6.5 40.6 13.3 55.2 21.5 35.8 20.2 53.3 49.2 53.3 89 0 35.3-15.5 66.8-43.6 88.8-30.5 23.9-75.6 36.4-130.5 36.4-43.7 0-80.7-8.5-110.2-25-29.1-16.3-49.1-39.8-59.7-69.5-.8-2.2-1.7-5.2-2.7-9-1.2-4.4-5.3-7.5-9.7-7.5h-79.7c-5.6 0-10.1 4.6-10.1 10.1v1c.2 2.3.4 4.2.6 5.7 6.5 48.8 30.3 88.8 70.7 118.8 47.1 34.8 113.4 53.2 191.8 53.2 84.2 0 154.8-19.8 204.2-57.3 25-18.9 44.2-42.2 57.1-69 13-27.1 19.7-57.9 19.7-91.5 0-31.8-5.8-58.4-17.8-81.4-5.8-11.2-13.1-21.5-21.8-30.8H952c4.4 0 8-3.6 8-8v-60a8 8 0 00-8-7.9z`}}]},name:`strikethrough`,theme:`outlined`};function D3(){return D3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,D3({},e,{ref:t,icon:lIe}))),dIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M688 240c-138 0-252 102.8-269.6 236H249a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h169.3C436 681.2 550 784 688 784c150.2 0 272-121.8 272-272S838.2 240 688 240zm128 298c0 4.4-3.6 8-8 8h-86v86c0 4.4-3.6 8-8 8h-52c-4.4 0-8-3.6-8-8v-86h-86c-4.4 0-8-3.6-8-8v-52c0-4.4 3.6-8 8-8h86v-86c0-4.4 3.6-8 8-8h52c4.4 0 8 3.6 8 8v86h86c4.4 0 8 3.6 8 8v52z`}}]},name:`subnode`,theme:`outlined`};function O3(){return O3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,O3({},e,{ref:t,icon:dIe}))),pIe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z`}}]},name:`sun`,theme:`filled`};function k3(){return k3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,k3({},e,{ref:t,icon:pIe}))),hIe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234m0 72c-89.47 0-162 72.53-162 162s72.53 162 162 162 162-72.53 162-162-72.53-162-162-162M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z`}}]},name:`sun`,theme:`outlined`};function A3(){return A3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,A3({},e,{ref:t,icon:hIe}))),_Ie={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 572H266.8l144.3-183c4.1-5.2.4-13-6.3-13H340c-9.8 0-19.1 4.5-25.1 12.2l-164 208c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`swap-left`,theme:`outlined`};function j3(){return j3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,j3({},e,{ref:t,icon:_Ie}))),yIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zM596 606c0 4.4-3.6 8-8 8H308c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h280c4.4 0 8 3.6 8 8v48zm284-494H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32z`}}]},name:`switcher`,theme:`filled`};function M3(){return M3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,M3({},e,{ref:t,icon:yIe}))),xIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zm-40 600H184V312h528v528zm168-728H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM300 550h296v64H300z`}}]},name:`switcher`,theme:`outlined`};function N3(){return N3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,N3({},e,{ref:t,icon:xIe}))),CIe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M184 840h528V312H184v528zm116-290h296v64H300v-64z`,fill:t}},{tag:`path`,attrs:{d:`M880 112H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32z`,fill:e}},{tag:`path`,attrs:{d:`M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zm-40 600H184V312h528v528z`,fill:e}},{tag:`path`,attrs:{d:`M300 550h296v64H300z`,fill:e}}]}},name:`switcher`,theme:`twotone`};function P3(){return P3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,P3({},e,{ref:t,icon:CIe}))),TIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z`}}]},name:`sync`,theme:`outlined`};function F3(){return F3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,F3({},e,{ref:t,icon:TIe}))),DIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 208H676V232h212v136zm0 224H676V432h212v160zM412 432h200v160H412V432zm200-64H412V232h200v136zm-476 64h212v160H136V432zm0-200h212v136H136V232zm0 424h212v136H136V656zm276 0h200v136H412V656zm476 136H676V656h212v136z`}}]},name:`table`,theme:`outlined`};function I3(){return I3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,I3({},e,{ref:t,icon:DIe}))),kIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zM512 824c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z`}}]},name:`tablet`,theme:`filled`};function L3(){return L3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,L3({},e,{ref:t,icon:kIe}))),jIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H232V136h560v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`tablet`,theme:`outlined`};function R3(){return R3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,R3({},e,{ref:t,icon:jIe}))),NIe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H232V136h560v752z`,fill:e}},{tag:`path`,attrs:{d:`M232 888h560V136H232v752zm280-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z`,fill:t}},{tag:`path`,attrs:{d:`M472 784a40 40 0 1080 0 40 40 0 10-80 0z`,fill:e}}]}},name:`tablet`,theme:`twotone`};function z3(){return z3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,z3({},e,{ref:t,icon:NIe}))),FIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM699 387c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64z`}}]},name:`tag`,theme:`filled`};function B3(){return B3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,B3({},e,{ref:t,icon:FIe}))),LIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7zM680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z`}}]},name:`tag`,theme:`outlined`};function V3(){return V3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,V3({},e,{ref:t,icon:LIe}))),RIe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M589 164.6L189.3 564.3l270.4 270.4L859.4 435 836 188l-247-23.4zM680 432c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88z`,fill:t}},{tag:`path`,attrs:{d:`M680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z`,fill:e}},{tag:`path`,attrs:{d:`M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8a9.9 9.9 0 007.1 2.9c2.7 0 5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7z`,fill:e}}]}},name:`tag`,theme:`twotone`};function U3(){return U3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,U3({},e,{ref:t,icon:RIe}))),BIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm122.7-533.4c18.7-18.7 49.1-18.7 67.9 0 18.7 18.7 18.7 49.1 0 67.9-18.7 18.7-49.1 18.7-67.9 0-18.7-18.7-18.7-49.1 0-67.9zm283.8 282.9l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z`}}]},name:`tags`,theme:`filled`};function W3(){return W3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,W3({},e,{ref:t,icon:BIe}))),HIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm62.6-651.7l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9zm60.16 186.23a48 48 0 1067.88-67.89 48 48 0 10-67.88 67.89zM889.7 539.8l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z`}}]},name:`tags`,theme:`outlined`};function G3(){return G3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,G3({},e,{ref:t,icon:HIe}))),WIe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M477.5 694l311.9-311.8-19-224.6-224.6-19-311.9 311.9L477.5 694zm116-415.5a47.81 47.81 0 0133.9-33.9c16.6-4.4 34.2.3 46.4 12.4a47.93 47.93 0 0112.4 46.4 47.81 47.81 0 01-33.9 33.9c-16.6 4.4-34.2-.3-46.4-12.4a48.3 48.3 0 01-12.4-46.4z`,fill:t}},{tag:`path`,attrs:{d:`M476.6 792.6c-1.7-.2-3.4-1-4.7-2.3L137.7 456.1a8.03 8.03 0 010-11.3L515.9 66.6c1.2-1.3 2.9-2.1 4.7-2.3h-.4c-2.3-.2-4.7.6-6.3 2.3L135.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c1.8 1.9 4.3 2.6 6.7 2.3z`,fill:t}},{tag:`path`,attrs:{d:`M889.7 539.8l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3zM652.3 337.3a47.81 47.81 0 0033.9-33.9c4.4-16.6-.3-34.2-12.4-46.4a47.93 47.93 0 00-46.4-12.4 47.81 47.81 0 00-33.9 33.9c-4.4 16.6.3 34.2 12.4 46.4a48.3 48.3 0 0046.4 12.4z`,fill:e}},{tag:`path`,attrs:{d:`M137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c1.3 1.3 2.9 2.1 4.7 2.3 2.4.3 4.8-.5 6.6-2.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3h-1.6c-1.8.2-3.4 1-4.7 2.3L137.7 444.8zm408.1-306.2l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9z`,fill:e}}]}},name:`tags`,theme:`twotone`};function K3(){return K3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,K3({},e,{ref:t,icon:WIe}))),KIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z`}}]},name:`taobao-circle`,theme:`filled`};function q3(){return q3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,q3({},e,{ref:t,icon:KIe}))),JIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z`}}]},name:`taobao-circle`,theme:`outlined`};function J3(){return J3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,J3({},e,{ref:t,icon:JIe}))),XIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M168.5 273.7a68.7 68.7 0 10137.4 0 68.7 68.7 0 10-137.4 0zm730 79.2s-23.7-184.4-426.9-70.1c17.3-30 25.6-49.5 25.6-49.5L396.4 205s-40.6 132.6-113 194.4c0 0 70.1 40.6 69.4 39.4 20.1-20.1 38.2-40.6 53.7-60.4 16.1-7 31.5-13.6 46.7-19.8-18.6 33.5-48.7 83.8-78.8 115.6l42.4 37s28.8-27.7 60.4-61.2h36v61.8H372.9v49.5h140.3v118.5c-1.7 0-3.6 0-5.4-.2-15.4-.7-39.5-3.3-49-18.2-11.5-18.1-3-51.5-2.4-71.9h-97l-3.4 1.8s-35.5 159.1 102.3 155.5c129.1 3.6 203-36 238.6-63.1l14.2 52.6 79.6-33.2-53.9-131.9-64.6 20.1 12.1 45.2c-16.6 12.4-35.6 21.7-56.2 28.4V561.3h137.1v-49.5H628.1V450h137.6v-49.5H521.3c17.6-21.4 31.5-41.1 35-53.6l-42.5-11.6c182.8-65.5 284.5-54.2 283.6 53.2v282.8s10.8 97.1-100.4 90.1l-60.2-12.9-14.2 57.1S882.5 880 903.7 680.2c21.3-200-5.2-327.3-5.2-327.3zm-707.4 18.3l-45.4 69.7 83.6 52.1s56 28.5 29.4 81.9C233.8 625.5 112 736.3 112 736.3l109 68.1c75.4-163.7 70.5-142 89.5-200.7 19.5-60.1 23.7-105.9-9.4-139.1-42.4-42.6-47-46.6-110-93.4z`}}]},name:`taobao`,theme:`outlined`};function Y3(){return Y3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Y3({},e,{ref:t,icon:XIe}))),QIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z`}}]},name:`taobao-square`,theme:`filled`};function X3(){return X3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,X3({},e,{ref:t,icon:QIe}))),eLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z`}}]},name:`team`,theme:`outlined`};function Z3(){return Z3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Z3({},e,{ref:t,icon:eLe}))),tLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7z`}}]},name:`thunderbolt`,theme:`filled`};function $3(){return $3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$3({},e,{ref:t,icon:tLe}))),rLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z`}}]},name:`thunderbolt`,theme:`outlined`};function e6(){return e6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,e6({},e,{ref:t,icon:rLe}))),iLe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M695.4 164.1H470.8L281.2 491.5h157.4l-60.3 241 319.8-305.1h-211z`,fill:t}},{tag:`path`,attrs:{d:`M848.1 359.3H627.8L825.9 109c4.1-5.3.4-13-6.3-13H436.1c-2.8 0-5.5 1.5-6.9 4L170.1 547.5c-3.1 5.3.7 12 6.9 12h174.4L262 917.1c-1.9 7.8 7.5 13.3 13.3 7.7L853.6 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.3 732.5l60.3-241H281.2l189.6-327.4h224.6L487.1 427.4h211L378.3 732.5z`,fill:e}}]}},name:`thunderbolt`,theme:`twotone`};function n6(){return n6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,n6({},e,{ref:t,icon:iLe}))),oLe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 224.96C912 162.57 861.42 112 799.04 112H224.96C162.57 112 112 162.57 112 224.96v574.08C112 861.43 162.58 912 224.96 912h574.08C861.42 912 912 861.43 912 799.04zM774.76 460.92c-51.62.57-99.71-15.03-141.94-43.93v202.87a192.3 192.3 0 01-149 187.85c-119.06 27.17-219.86-58.95-232.57-161.83-13.3-102.89 52.32-193.06 152.89-213.29 19.65-4.04 49.2-4.04 64.46-.57v108.66c-4.7-1.15-9.09-2.31-13.71-2.89-39.3-6.94-77.37 12.72-92.98 48.55-15.6 35.84-5.16 77.45 26.63 101.73 26.59 20.8 56.09 23.7 86.14 9.82 30.06-13.29 46.21-37.56 49.68-70.5.58-4.63.54-9.84.54-15.04V222.21c0-10.99.09-10.5 11.07-10.5h86.12c6.36 0 8.67.9 9.25 8.43 4.62 67.04 55.53 124.14 120.84 132.81 6.94 1.16 14.37 1.62 22.58 2.2z`}}]},name:`tik-tok`,theme:`filled`};function r6(){return r6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,r6({},e,{ref:t,icon:oLe}))),cLe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M530.01 112.67c43.67-.67 87-.34 130.33-.67 2.67 51 21 103 58.33 139 37.33 37 90 54 141.33 59.66V445c-48-1.67-96.33-11.67-140-32.34-19-8.66-36.66-19.66-54-31-.33 97.33.34 194.67-.66 291.67-2.67 46.66-18 93-45 131.33-43.66 64-119.32 105.66-196.99 107-47.66 2.66-95.33-10.34-136-34.34C220.04 837.66 172.7 765 165.7 687c-.67-16.66-1-33.33-.34-49.66 6-63.34 37.33-124 86-165.34 55.33-48 132.66-71 204.99-57.33.67 49.34-1.33 98.67-1.33 148-33-10.67-71.67-7.67-100.67 12.33-21 13.67-37 34.67-45.33 58.34-7 17-5 35.66-4.66 53.66 8 54.67 60.66 100.67 116.66 95.67 37.33-.34 73-22 92.33-53.67 6.33-11 13.33-22.33 13.66-35.33 3.34-59.67 2-119 2.34-178.66.33-134.34-.34-268.33.66-402.33`}}]},name:`tik-tok`,theme:`outlined`};function i6(){return i6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,i6({},e,{ref:t,icon:cLe}))),uLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M885 780H165c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM400 325.7h73.9V664c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V325.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 171a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13z`}}]},name:`to-top`,theme:`outlined`};function a6(){return a6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,a6({},e,{ref:t,icon:uLe}))),fLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M865.3 244.7c-.3-.3-61.1 59.8-182.1 180.6l-84.9-84.9 180.9-180.9c-95.2-57.3-217.5-42.6-296.8 36.7A244.42 244.42 0 00419 432l1.8 6.7-283.5 283.4c-6.2 6.2-6.2 16.4 0 22.6l141.4 141.4c6.2 6.2 16.4 6.2 22.6 0l283.3-283.3 6.7 1.8c83.7 22.3 173.6-.9 236-63.3 79.4-79.3 94.1-201.6 38-296.6z`}}]},name:`tool`,theme:`filled`};function o6(){return o6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,o6({},e,{ref:t,icon:fLe}))),mLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z`}}]},name:`tool`,theme:`outlined`};function s6(){return s6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,s6({},e,{ref:t,icon:mLe}))),hLe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M706.8 488.7a32.05 32.05 0 01-45.3 0L537 364.2a32.05 32.05 0 010-45.3l132.9-132.8a184.2 184.2 0 00-144 53.5c-58.1 58.1-69.3 145.3-33.6 214.6L439.5 507c-.1 0-.1-.1-.1-.1L209.3 737l79.2 79.2 274-274.1.1.1 8.8-8.8c69.3 35.7 156.5 24.5 214.6-33.6 39.2-39.1 57.3-92.1 53.6-143.9L706.8 488.7z`,fill:t}},{tag:`path`,attrs:{d:`M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z`,fill:e}}]}},name:`tool`,theme:`twotone`};function l6(){return l6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,l6({},e,{ref:t,icon:hLe}))),_Le={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm164.7 660.2c-1.1.5-2.3.8-3.5.8h-62c-3.1 0-5.9-1.8-7.2-4.6l-74.6-159.2h-88.7V717c0 4.4-3.6 8-8 8H378c-4.4 0-8-3.6-8-8V307c0-4.4 3.6-8 8-8h155.6c98.8 0 144.2 59.9 144.2 131.1 0 70.2-43.6 106.4-78.4 119.2l80.8 164.2c2.1 3.9.4 8.7-3.5 10.7zM523.9 357h-83.4v148H522c53 0 82.8-25.6 82.8-72.4 0-50.3-32.9-75.6-80.9-75.6z`}}]},name:`trademark-circle`,theme:`filled`};function u6(){return u6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,u6({},e,{ref:t,icon:_Le}))),yLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm87.5-334.7c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.5-131.1-144.2-131.1H378c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.5c4.4 0 8-3.6 8-8V561.2h88.7l74.6 159.2c1.3 2.8 4.1 4.6 7.2 4.6h62a7.9 7.9 0 007.1-11.5l-80.6-164.2zM522 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.5 0 46.9-29.8 72.5-82.8 72.5z`}}]},name:`trademark-circle`,theme:`outlined`};function d6(){return d6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,d6({},e,{ref:t,icon:yLe}))),xLe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm170.7 584.2c-1.1.5-2.3.8-3.5.8h-62c-3.1 0-5.9-1.8-7.2-4.6l-74.6-159.2h-88.7V717c0 4.4-3.6 8-8 8H384c-4.4 0-8-3.6-8-8V307c0-4.4 3.6-8 8-8h155.6c98.8 0 144.2 59.9 144.2 131.1 0 70.2-43.6 106.4-78.4 119.2l80.8 164.2c2.1 3.9.4 8.7-3.5 10.7z`,fill:t}},{tag:`path`,attrs:{d:`M529.9 357h-83.4v148H528c53 0 82.8-25.6 82.8-72.4 0-50.3-32.9-75.6-80.9-75.6z`,fill:t}},{tag:`path`,attrs:{d:`M605.4 549.3c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.4-131.1-144.2-131.1H384c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.7c4.4 0 8-3.6 8-8V561.2h88.7L610 720.4c1.3 2.8 4.1 4.6 7.2 4.6h62c1.2 0 2.4-.3 3.5-.8 3.9-2 5.6-6.8 3.5-10.7l-80.8-164.2zM528 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.6 0 46.8-29.8 72.4-82.8 72.4z`,fill:e}}]}},name:`trademark-circle`,theme:`twotone`};function f6(){return f6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,f6({},e,{ref:t,icon:xLe}))),CLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm87.5-334.7c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.5-131.1-144.2-131.1H378c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.5c4.4 0 8-3.6 8-8V561.2h88.7l74.6 159.2c1.3 2.8 4.1 4.6 7.2 4.6h62a7.9 7.9 0 007.1-11.5l-80.6-164.2zM522 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.5 0 46.9-29.8 72.5-82.8 72.5z`}}]},name:`trademark`,theme:`outlined`};function p6(){return p6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,p6({},e,{ref:t,icon:CLe}))),TLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M668.6 320c0-4.4-3.6-8-8-8h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.5-1.1.9-2.4.9-3.7zM157.9 504.2a352.7 352.7 0 01103.5-242.4c32.5-32.5 70.3-58.1 112.4-75.9 43.6-18.4 89.9-27.8 137.6-27.8 47.8 0 94.1 9.3 137.6 27.8 42.1 17.8 79.9 43.4 112.4 75.9 10 10 19.3 20.5 27.9 31.4l-50 39.1a8 8 0 003 14.1l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3l-47.8 37.4C770.7 146.3 648.6 82 511.5 82 277 82 86.3 270.1 82 503.8a8 8 0 008 8.2h60c4.3 0 7.8-3.5 7.9-7.8zM934 512h-60c-4.3 0-7.9 3.5-8 7.8a352.7 352.7 0 01-103.5 242.4 352.57 352.57 0 01-112.4 75.9c-43.6 18.4-89.9 27.8-137.6 27.8s-94.1-9.3-137.6-27.8a352.57 352.57 0 01-112.4-75.9c-10-10-19.3-20.5-27.9-31.4l49.9-39.1a8 8 0 00-3-14.1l-156.8-38.3c-5-1.2-9.9 2.6-9.9 7.7l-.8 161.7c0 6.7 7.7 10.5 12.9 6.3l47.8-37.4C253.3 877.7 375.4 942 512.5 942 747 942 937.7 753.9 942 520.2a8 8 0 00-8-8.2z`}}]},name:`transaction`,theme:`outlined`};function m6(){return m6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,m6({},e,{ref:t,icon:TLe}))),DLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M140 188h584v164h76V144c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h544v-76H140V188z`}},{tag:`path`,attrs:{d:`M414.3 256h-60.6c-3.4 0-6.4 2.2-7.6 5.4L219 629.4c-.3.8-.4 1.7-.4 2.6 0 4.4 3.6 8 8 8h55.1c3.4 0 6.4-2.2 7.6-5.4L322 540h196.2L422 261.4a8.42 8.42 0 00-7.7-5.4zm12.4 228h-85.5L384 360.2 426.7 484zM936 528H800v-93c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v93H592c-13.3 0-24 10.7-24 24v176c0 13.3 10.7 24 24 24h136v152c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V752h136c13.3 0 24-10.7 24-24V552c0-13.3-10.7-24-24-24zM728 680h-88v-80h88v80zm160 0h-88v-80h88v80z`}}]},name:`translation`,theme:`outlined`};function h6(){return h6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,h6({},e,{ref:t,icon:DLe}))),kLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.6 630.2 359 721.8 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.8 758.4 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM248 439.6c-37.1-11.9-64-46.7-64-87.6V232h64v207.6zM840 352c0 41-26.9 75.8-64 87.6V232h64v120z`}}]},name:`trophy`,theme:`filled`};function g6(){return g6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,g6({},e,{ref:t,icon:kLe}))),jLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.7 758.3 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM184 352V232h64v207.6a91.99 91.99 0 01-64-87.6zm520 128c0 49.1-19.1 95.4-53.9 130.1-34.8 34.8-81 53.9-130.1 53.9h-16c-49.1 0-95.4-19.1-130.1-53.9-34.8-34.8-53.9-81-53.9-130.1V184h384v296zm136-128c0 41-26.9 75.8-64 87.6V232h64v120z`}}]},name:`trophy`,theme:`outlined`};function _6(){return _6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_6({},e,{ref:t,icon:jLe}))),MLe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M320 480c0 49.1 19.1 95.3 53.9 130.1 34.7 34.8 81 53.9 130.1 53.9h16c49.1 0 95.3-19.1 130.1-53.9 34.8-34.7 53.9-81 53.9-130.1V184H320v296zM184 352c0 41 26.9 75.8 64 87.6-37.1-11.9-64-46.7-64-87.6zm364 382.5C665 721.8 758.4 630.2 773.8 514 758.3 630.2 665 721.7 548 734.5zM250.2 514C265.6 630.2 359 721.8 476 734.5 359 721.7 265.7 630.2 250.2 514z`,fill:t}},{tag:`path`,attrs:{d:`M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.7 758.3 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM248 439.6a91.99 91.99 0 01-64-87.6V232h64v207.6zM704 480c0 49.1-19.1 95.4-53.9 130.1-34.8 34.8-81 53.9-130.1 53.9h-16c-49.1 0-95.4-19.1-130.1-53.9-34.8-34.8-53.9-81-53.9-130.1V184h384v296zm136-128c0 41-26.9 75.8-64 87.6V232h64v120z`,fill:e}}]}},name:`trophy`,theme:`twotone`};function y6(){return y6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,y6({},e,{ref:t,icon:MLe}))),PLe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640m93.63-192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448H332a12 12 0 00-12 12v40a12 12 0 0012 12h168a12 12 0 0012-12v-40a12 12 0 00-12-12M308 320H204a12 12 0 00-12 12v40a12 12 0 0012 12h104a12 12 0 0012-12v-40a12 12 0 00-12-12`}}]},name:`truck`,theme:`filled`};function b6(){return b6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,b6({},e,{ref:t,icon:PLe}))),ILe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640M576 256H128v384h17.12c22.13-38.26 63.5-64 110.88-64 47.38 0 88.75 25.74 110.88 64H576zm221.63 192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448a12 12 0 0112 12v40a12 12 0 01-12 12H332a12 12 0 01-12-12v-40a12 12 0 0112-12zM308 320a12 12 0 0112 12v40a12 12 0 01-12 12H204a12 12 0 01-12-12v-40a12 12 0 0112-12z`}}]},name:`truck`,theme:`outlined`};function x6(){return x6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,x6({},e,{ref:t,icon:ILe}))),LLe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`filter`,attrs:{filterUnits:`objectBoundingBox`,height:`102.3%`,id:`a`,width:`102.3%`,x:`-1.2%`,y:`-1.2%`},children:[{tag:`feOffset`,attrs:{dy:`2`,in:`SourceAlpha`,result:`shadowOffsetOuter1`}},{tag:`feGaussianBlur`,attrs:{in:`shadowOffsetOuter1`,result:`shadowBlurOuter1`,stdDeviation:`2`}},{tag:`feColorMatrix`,attrs:{in:`shadowBlurOuter1`,result:`shadowMatrixOuter1`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0`}},{tag:`feMerge`,attrs:{},children:[{tag:`feMergeNode`,attrs:{in:`shadowMatrixOuter1`}},{tag:`feMergeNode`,attrs:{in:`SourceGraphic`}}]}]}]},{tag:`g`,attrs:{filter:`url(#a)`,transform:`translate(9 9)`},children:[{tag:`path`,attrs:{d:`M185.14 112L128 254.86V797.7h171.43V912H413.7L528 797.71h142.86l200-200V112zm314.29 428.57H413.7V310.21h85.72zm200 0H613.7V310.21h85.72z`}}]}]},name:`twitch`,theme:`filled`};function C6(){return C6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,C6({},e,{ref:t,icon:LLe}))),zLe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M166.13 112L114 251.17v556.46h191.2V912h104.4l104.23-104.4h156.5L879 599V112zm69.54 69.5H809.5v382.63L687.77 685.87H496.5L392.27 790.1V685.87h-156.6zM427 529.4h69.5V320.73H427zm191.17 0h69.53V320.73h-69.53z`}}]},name:`twitch`,theme:`outlined`};function w6(){return w6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,w6({},e,{ref:t,icon:zLe}))),VLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm215.3 337.7c.3 4.7.3 9.6.3 14.4 0 146.8-111.8 315.9-316.1 315.9-63 0-121.4-18.3-170.6-49.8 9 1 17.6 1.4 26.8 1.4 52 0 99.8-17.6 137.9-47.4-48.8-1-89.8-33-103.8-77 17.1 2.5 32.5 2.5 50.1-2a111 111 0 01-88.9-109v-1.4c14.7 8.3 32 13.4 50.1 14.1a111.13 111.13 0 01-49.5-92.4c0-20.7 5.4-39.6 15.1-56a315.28 315.28 0 00229 116.1C492 353.1 548.4 292 616.2 292c32 0 60.8 13.4 81.1 35 25.1-4.7 49.1-14.1 70.5-26.7-8.3 25.7-25.7 47.4-48.8 61.1 22.4-2.4 44-8.6 64-17.3-15.1 22.2-34 41.9-55.7 57.6z`}}]},name:`twitter-circle`,theme:`filled`};function T6(){return T6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,T6({},e,{ref:t,icon:VLe}))),ULe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 254.3c-30.6 13.2-63.9 22.7-98.2 26.4a170.1 170.1 0 0075-94 336.64 336.64 0 01-108.2 41.2A170.1 170.1 0 00672 174c-94.5 0-170.5 76.6-170.5 170.6 0 13.2 1.6 26.4 4.2 39.1-141.5-7.4-267.7-75-351.6-178.5a169.32 169.32 0 00-23.2 86.1c0 59.2 30.1 111.4 76 142.1a172 172 0 01-77.1-21.7v2.1c0 82.9 58.6 151.6 136.7 167.4a180.6 180.6 0 01-44.9 5.8c-11.1 0-21.6-1.1-32.2-2.6C211 652 273.9 701.1 348.8 702.7c-58.6 45.9-132 72.9-211.7 72.9-14.3 0-27.5-.5-41.2-2.1C171.5 822 261.2 850 357.8 850 671.4 850 843 590.2 843 364.7c0-7.4 0-14.8-.5-22.2 33.2-24.3 62.3-54.4 85.5-88.2z`}}]},name:`twitter`,theme:`outlined`};function E6(){return E6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,E6({},e,{ref:t,icon:ULe}))),GLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM727.3 401.7c.3 4.7.3 9.6.3 14.4 0 146.8-111.8 315.9-316.1 315.9-63 0-121.4-18.3-170.6-49.8 9 1 17.6 1.4 26.8 1.4 52 0 99.8-17.6 137.9-47.4-48.8-1-89.8-33-103.8-77 17.1 2.5 32.5 2.5 50.1-2a111 111 0 01-88.9-109v-1.4c14.7 8.3 32 13.4 50.1 14.1a111.13 111.13 0 01-49.5-92.4c0-20.7 5.4-39.6 15.1-56a315.28 315.28 0 00229 116.1C492 353.1 548.4 292 616.2 292c32 0 60.8 13.4 81.1 35 25.1-4.7 49.1-14.1 70.5-26.7-8.3 25.7-25.7 47.4-48.8 61.1 22.4-2.4 44-8.6 64-17.3-15.1 22.2-34 41.9-55.7 57.6z`}}]},name:`twitter-square`,theme:`filled`};function D6(){return D6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,D6({},e,{ref:t,icon:GLe}))),qLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M824 804H200c-4.4 0-8 3.4-8 7.6v60.8c0 4.2 3.6 7.6 8 7.6h624c4.4 0 8-3.4 8-7.6v-60.8c0-4.2-3.6-7.6-8-7.6zm-312-76c69.4 0 134.6-27.1 183.8-76.2C745 602.7 772 537.4 772 468V156c0-6.6-5.4-12-12-12h-60c-6.6 0-12 5.4-12 12v312c0 97-79 176-176 176s-176-79-176-176V156c0-6.6-5.4-12-12-12h-60c-6.6 0-12 5.4-12 12v312c0 69.4 27.1 134.6 76.2 183.8C377.3 701 442.6 728 512 728z`}}]},name:`underline`,theme:`outlined`};function O6(){return O6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,O6({},e,{ref:t,icon:qLe}))),YLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M511.4 124C290.5 124.3 112 303 112 523.9c0 128 60.2 242 153.8 315.2l-37.5 48c-4.1 5.3-.3 13 6.3 12.9l167-.8c5.2 0 9-4.9 7.7-9.9L369.8 727a8 8 0 00-14.1-3L315 776.1c-10.2-8-20-16.7-29.3-26a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-7.5 7.5-15.3 14.5-23.4 21.2a7.93 7.93 0 00-1.2 11.1l39.4 50.5c2.8 3.5 7.9 4.1 11.4 1.3C854.5 760.8 912 649.1 912 523.9c0-221.1-179.4-400.2-400.6-399.9z`}}]},name:`undo`,theme:`outlined`};function k6(){return k6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,k6({},e,{ref:t,icon:YLe}))),XLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M736 550H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208 130c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zM736 266H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208-194c39.8 0 72-32.2 72-72s-32.2-72-72-72-72 32.2-72 72 32.2 72 72 72zm0-96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 64c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0 656c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z`}}]},name:`ungroup`,theme:`outlined`};function j6(){return j6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,j6({},e,{ref:t,icon:XLe}))),QLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM540 701v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 1156 0z`}}]},name:`unlock`,theme:`filled`};function M6(){return M6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,M6({},e,{ref:t,icon:QLe}))),eRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zm-40 376H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z`}}]},name:`unlock`,theme:`outlined`};function N6(){return N6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,N6({},e,{ref:t,icon:eRe}))),nRe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M232 840h560V536H232v304zm280-226a48.01 48.01 0 0128 87v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 0128-87z`,fill:t}},{tag:`path`,attrs:{d:`M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z`,fill:e}},{tag:`path`,attrs:{d:`M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zm-40 376H232V536h560v304z`,fill:e}}]}},name:`unlock`,theme:`twotone`};function P6(){return P6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,P6({},e,{ref:t,icon:nRe}))),iRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`unordered-list`,theme:`outlined`};function F6(){return F6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,F6({},e,{ref:t,icon:iRe}))),oRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm178 555h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 460.4 406.8 605.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z`}}]},name:`up-circle`,theme:`filled`};function I6(){return I6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,I6({},e,{ref:t,icon:oRe}))),cRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M518.5 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7H381c10.2 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`up-circle`,theme:`outlined`};function L6(){return L6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,L6({},e,{ref:t,icon:cRe}))),uRe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm178 479h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 460.4 406.8 605.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z`,fill:t}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M518.4 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7h46.9c10.3 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.7 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.4-12.7l-178-246z`,fill:e}}]}},name:`up-circle`,theme:`twotone`};function R6(){return R6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,R6({},e,{ref:t,icon:uRe}))),fRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM690 624h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 465.4 406.8 610.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z`}}]},name:`up-square`,theme:`filled`};function z6(){return z6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,z6({},e,{ref:t,icon:fRe}))),mRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M334 624h46.9c10.2 0 19.9-4.9 25.9-13.2L512 465.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246a7.95 7.95 0 00-12.9 0l-178 246A7.96 7.96 0 00334 624z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`up-square`,theme:`outlined`};function B6(){return B6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,B6({},e,{ref:t,icon:mRe}))),gRe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm143.5-228.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 465.4 406.8 610.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7z`,fill:t}},{tag:`path`,attrs:{d:`M334 624h46.9c10.3 0 19.9-4.9 25.9-13.2L512 465.4l105.2 145.4c6 8.3 15.7 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.4-12.7l-178-246a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7z`,fill:e}}]}},name:`up-square`,theme:`twotone`};function V6(){return V6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,V6({},e,{ref:t,icon:gRe}))),vRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z`}}]},name:`upload`,theme:`outlined`};function H6(){return H6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,H6({},e,{ref:t,icon:vRe}))),yRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M408 312h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm352 120V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zm-72 0H336V184h352v248zM568 312h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}}]},name:`usb`,theme:`filled`};function W6(){return W6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,W6({},e,{ref:t,icon:yRe}))),xRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M760 432V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V548c0-24.3 21.6-44 48.1-44h495.8c26.5 0 48.1 19.7 48.1 44v356c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zm-424 0V184h352v248H336zm120-184h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm160 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}}]},name:`usb`,theme:`outlined`};function G6(){return G6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,G6({},e,{ref:t,icon:xRe}))),CRe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M759.9 504H264.1c-26.5 0-48.1 19.7-48.1 44v292h592V548c0-24.3-21.6-44-48.1-44z`,fill:t}},{tag:`path`,attrs:{d:`M456 248h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm160 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`,fill:e}},{tag:`path`,attrs:{d:`M760 432V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zM336 184h352v248H336V184zm472 656H216V548c0-24.3 21.6-44 48.1-44h495.8c26.5 0 48.1 19.7 48.1 44v292z`,fill:e}}]}},name:`usb`,theme:`twotone`};function K6(){return K6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,K6({},e,{ref:t,icon:CRe}))),TRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`user-add`,theme:`outlined`};function q6(){return q6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,q6({},e,{ref:t,icon:TRe}))),DRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M678.3 655.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 518 759.6 444.7 759.6 362c0-137-110.8-248-247.5-248S264.7 225 264.7 362c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 901.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 641.2 432.2 610 512.2 610c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 534c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 362c0-45.9 17.9-89.1 50.3-121.6S466.3 190 512.2 190s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 362c0 45.9-17.9 89.1-50.3 121.6C601.1 516.1 558 534 512.2 534zM880 772H640c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h240c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`user-delete`,theme:`outlined`};function J6(){return J6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,J6({},e,{ref:t,icon:DRe}))),kRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z`}}]},name:`user`,theme:`outlined`};function Y6(){return Y6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Y6({},e,{ref:t,icon:kRe}))),ARe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M759 335c0-137-111-248-248-248S263 198 263 335c0 82.8 40.6 156.2 103 201.2-.4.2-.7.3-.9.4-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00136 874.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C356 614.2 431 583 511 583c137 0 248-111 248-248zM511 507c-95 0-172-77-172-172s77-172 172-172 172 77 172 172-77 172-172 172zm105 221h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H703.5l47.2-60.1a8.1 8.1 0 001.7-4.9c0-4.4-3.6-8-8-8h-72.6c-4.9 0-9.5 2.3-12.6 6.1l-68.5 87.1c-4.4 5.6-6.8 12.6-6.8 19.8.1 17.7 14.4 32 32.1 32zm240 64H592c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h176.5l-47.2 60.1a8.1 8.1 0 00-1.7 4.9c0 4.4 3.6 8 8 8h72.6c4.9 0 9.5-2.3 12.6-6.1l68.5-87.1c4.4-5.6 6.8-12.6 6.8-19.8-.1-17.7-14.4-32-32.1-32z`}}]},name:`user-switch`,theme:`outlined`};function Z6(){return Z6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Z6({},e,{ref:t,icon:ARe}))),MRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z`}}]},name:`usergroup-add`,theme:`outlined`};function Q6(){return Q6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Q6({},e,{ref:t,icon:MRe}))),PRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888 784H664c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7zM824 484c0-109.4-87.9-198.3-196.9-200C516.3 282.3 424 373.2 424 484c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 754.6 326 826.8 324 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 707.7 563 684 624 684c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 598.7 658.2 612 624 612s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z`}}]},name:`usergroup-delete`,theme:`outlined`};function $6(){return $6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$6({},e,{ref:t,icon:PRe}))),IRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M447.8 588.8l-7.3-32.5c-.2-1-.6-1.9-1.1-2.7a7.94 7.94 0 00-11.1-2.2L405 567V411c0-4.4-3.6-8-8-8h-81c-4.4 0-8 3.6-8 8v36c0 4.4 3.6 8 8 8h37v192.4a8 8 0 0012.7 6.5l79-56.8c2.6-1.9 3.8-5.1 3.1-8.3zm-56.7-216.6l.2.2c3.2 3 8.3 2.8 11.3-.5l24.1-26.2a8.1 8.1 0 00-.3-11.2l-53.7-52.1a8 8 0 00-11.2.1l-24.7 24.7c-3.1 3.1-3.1 8.2.1 11.3l54.2 53.7z`}},{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z`}},{tag:`path`,attrs:{d:`M452 297v36c0 4.4 3.6 8 8 8h108v274h-38V405c0-4.4-3.6-8-8-8h-35c-4.4 0-8 3.6-8 8v210h-31c-4.4 0-8 3.6-8 8v37c0 4.4 3.6 8 8 8h244c4.4 0 8-3.6 8-8v-37c0-4.4-3.6-8-8-8h-72V493h58c4.4 0 8-3.6 8-8v-35c0-4.4-3.6-8-8-8h-58V341h63c4.4 0 8-3.6 8-8v-36c0-4.4-3.6-8-8-8H460c-4.4 0-8 3.6-8 8z`}}]},name:`verified`,theme:`outlined`};function e8(){return e8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,e8({},e,{ref:t,icon:IRe}))),RRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M859.9 780H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM505.7 669a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V176c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8z`}}]},name:`vertical-align-bottom`,theme:`outlined`};function t8(){return t8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,t8({},e,{ref:t,icon:RRe}))),BRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M859.9 474H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zm-353.6-74.7c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H550V104c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v156h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.6zm11.4 225.4a7.14 7.14 0 00-11.3 0L405.6 752.3a7.23 7.23 0 005.7 11.7H474v156c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V764h62.8c6 0 9.4-7 5.7-11.7L517.7 624.7z`}}]},name:`vertical-align-middle`,theme:`outlined`};function n8(){return n8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,n8({},e,{ref:t,icon:BRe}))),HRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M762 164h-64c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V172c0-4.4-3.6-8-8-8zm-508 0v72.4c0 9.5 4.2 18.4 11.4 24.5L564.6 512 265.4 763.1c-7.2 6.1-11.4 15-11.4 24.5V860c0 6.8 7.9 10.5 13.1 6.1L689 512 267.1 157.9A7.95 7.95 0 00254 164z`}}]},name:`vertical-left`,theme:`outlined`};function r8(){return r8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,r8({},e,{ref:t,icon:HRe}))),WRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M326 164h-64c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V172c0-4.4-3.6-8-8-8zm444 72.4V164c0-6.8-7.9-10.5-13.1-6.1L335 512l421.9 354.1c5.2 4.4 13.1.7 13.1-6.1v-72.4c0-9.4-4.2-18.4-11.4-24.5L459.4 512l299.2-251.1c7.2-6.1 11.4-15.1 11.4-24.5z`}}]},name:`vertical-right`,theme:`outlined`};function i8(){return i8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,i8({},e,{ref:t,icon:WRe}))),KRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M368 724H252V608c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v116H72c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h116v116c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V788h116c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}},{tag:`path`,attrs:{d:`M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v352h72V232h576v560H448v72h272c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM888 625l-104-59.8V458.9L888 399v226z`}},{tag:`path`,attrs:{d:`M320 360c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h112z`}}]},name:`video-camera-add`,theme:`outlined`};function a8(){return a8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,a8({},e,{ref:t,icon:KRe}))),JRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM328 352c0 4.4-3.6 8-8 8H208c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h112c4.4 0 8 3.6 8 8v48zm560 273l-104-59.8V458.9L888 399v226z`}}]},name:`video-camera`,theme:`filled`};function o8(){return o8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,o8({},e,{ref:t,icon:JRe}))),XRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226zM208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}}]},name:`video-camera`,theme:`outlined`};function s8(){return s8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,s8({},e,{ref:t,icon:XRe}))),ZRe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M136 792h576V232H136v560zm64-488c0-4.4 3.6-8 8-8h112c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H208c-4.4 0-8-3.6-8-8v-48z`,fill:t}},{tag:`path`,attrs:{d:`M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226z`,fill:e}},{tag:`path`,attrs:{d:`M208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`,fill:e}}]}},name:`video-camera`,theme:`twotone`};function l8(){return l8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,l8({},e,{ref:t,icon:ZRe}))),$Re={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-32 464H528V448h320v128zm-268-64a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`wallet`,theme:`filled`};function u8(){return u8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,u8({},e,{ref:t,icon:$Re}))),tze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 464H528V448h312v128zm0 264H184V184h656v200H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200zM580 512a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`wallet`,theme:`outlined`};function d8(){return d8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,d8({},e,{ref:t,icon:tze}))),nze={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 464H528V448h312v128zm0-192H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200H184V184h656v200z`,fill:e}},{tag:`path`,attrs:{d:`M528 576h312V448H528v128zm92-104c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z`,fill:t}},{tag:`path`,attrs:{d:`M580 512a40 40 0 1080 0 40 40 0 10-80 0z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V640H496c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32h344V184H184v656z`,fill:t}}]}},name:`wallet`,theme:`twotone`};function p8(){return p8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,p8({},e,{ref:t,icon:nze}))),ize={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z`}}]},name:`warning`,theme:`outlined`};function m8(){return m8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,m8({},e,{ref:t,icon:ize}))),oze={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z`,fill:e}},{tag:`path`,attrs:{d:`M172.2 828.1h679.6L512 239.9 172.2 828.1zM560 720a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm-16-304v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8z`,fill:t}},{tag:`path`,attrs:{d:`M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z`,fill:e}}]}},name:`warning`,theme:`twotone`};function h8(){return h8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,h8({},e,{ref:t,icon:oze}))),cze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z`}}]},name:`wechat`,theme:`filled`};function g8(){return g8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,g8({},e,{ref:t,icon:cze}))),uze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z`}}]},name:`wechat`,theme:`outlined`};function _8(){return _8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_8({},e,{ref:t,icon:uze}))),dze={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M805.33 112H218.67C159.76 112 112 159.76 112 218.67v586.66C112 864.24 159.76 912 218.67 912h586.66C864.24 912 912 864.24 912 805.33V218.67C912 159.76 864.24 112 805.33 112m-98.17 417.86a102.13 102.13 0 0028.1 52.46l2.13 2.06c.41.27.8.57 1.16.9l.55.64.2.02a7.96 7.96 0 01-.98 10.82 7.96 7.96 0 01-10.85-.18c-1.1-1.05-2.14-2.14-3.24-3.24a102.49 102.49 0 00-53.82-28.36l-2-.27c-.66-.12-1.34-.39-1.98-.39a33.27 33.27 0 1140.37-37.66c.17 1.09.36 2.16.36 3.2m-213.1 153.82a276.78 276.78 0 01-61.7.17 267.3 267.3 0 01-44.67-8.6l-68.44 34.4c-.33.24-.77.43-1.15.71h-.27a18.29 18.29 0 01-27.52-15.9c.03-.59.1-1.17.2-1.74.13-1.97.6-3.9 1.37-5.72l2.75-11.15 9.56-39.56a277.57 277.57 0 01-49.25-54.67A185.99 185.99 0 01223.1 478.1a182.42 182.42 0 0119.08-81.04 203.98 203.98 0 0137.19-52.32c38.91-39.94 93.26-65.52 153.1-72.03a278.25 278.25 0 0130.17-1.64c10.5.03 20.99.65 31.42 1.86 59.58 6.79 113.65 32.48 152.26 72.36a202.96 202.96 0 0137 52.48 182.3 182.3 0 0118.17 94.67c-.52-.57-1.02-1.2-1.57-1.76a33.26 33.26 0 00-40.84-4.8c.22-2.26.22-4.54.22-6.79a143.64 143.64 0 00-14.76-63.38 164.07 164.07 0 00-29.68-42.15c-31.78-32.76-76.47-53.95-125.89-59.55a234.37 234.37 0 00-51.67-.14c-49.61 5.41-94.6 26.45-126.57 59.26a163.63 163.63 0 00-29.82 41.95 143.44 143.44 0 00-15.12 63.93 147.16 147.16 0 0025.29 81.51 170.5 170.5 0 0024.93 29.4 172.31 172.31 0 0017.56 14.75 17.6 17.6 0 016.35 19.62l-6.49 24.67-1.86 7.14-1.62 6.45a2.85 2.85 0 002.77 2.88 3.99 3.99 0 001.93-.68l43.86-25.93 1.44-.78a23.2 23.2 0 0118.24-1.84 227.38 227.38 0 0033.87 7.12l5.22.69a227.26 227.26 0 0051.67-.14 226.58 226.58 0 0042.75-9.07 33.2 33.2 0 0022.72 34.76 269.27 269.27 0 01-60.37 14.12m89.07-24.87a33.33 33.33 0 01-33.76-18.75 33.32 33.32 0 016.64-38.03 33.16 33.16 0 0118.26-9.31c1.07-.14 2.19-.36 3.24-.36a102.37 102.37 0 0052.47-28.05l2.2-2.33a10.21 10.21 0 011.57-1.68v-.03a7.97 7.97 0 1110.64 11.81l-3.24 3.24a102.44 102.44 0 00-28.56 53.74c-.09.63-.28 1.35-.28 2l-.39 2.01a33.3 33.3 0 01-28.79 25.74m94.44 93.87a33.3 33.3 0 01-36.18-24.25 28 28 0 01-1.1-6.73 102.4 102.4 0 00-28.15-52.39l-2.3-2.25a7.2 7.2 0 01-1.11-.9l-.54-.6h-.03v.05a7.96 7.96 0 01.96-10.82 7.96 7.96 0 0110.85.18l3.22 3.24a102.29 102.29 0 0053.8 28.35l2 .28a33.27 33.27 0 11-1.42 65.84m113.67-103.34a32.84 32.84 0 01-18.28 9.31 26.36 26.36 0 01-3.24.36 102.32 102.32 0 00-52.44 28.1 49.57 49.57 0 00-3.14 3.41l-.68.56h.02l.09.05a7.94 7.94 0 11-10.6-11.81l3.23-3.24a102.05 102.05 0 0028.37-53.7 33.26 33.26 0 1162.4-12.1 33.21 33.21 0 01-5.73 39.06`}}]},name:`wechat-work`,theme:`filled`};function y8(){return y8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,y8({},e,{ref:t,icon:dze}))),pze={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M909.78 729.59a135.87 135.87 0 00-47.04 19.04 114.24 114.24 0 01-51.4 31.08 76.29 76.29 0 0124.45-45.42 169.3 169.3 0 0023.4-55.02 50.41 50.41 0 1150.6 50.32zm-92.21-120.76a168.83 168.83 0 00-54.81-23.68 50.41 50.41 0 01-50.4-50.42 50.41 50.41 0 11100.8 0 137.5 137.5 0 0018.82 47.2 114.8 114.8 0 0130.76 51.66 76.08 76.08 0 01-45.02-24.76h-.19zm-83.04-177.71c-15.19-127.33-146.98-227.1-306.44-227.1-169.87 0-308.09 113.1-308.09 252.2A235.81 235.81 0 00230.06 647.6a311.28 311.28 0 0033.6 21.59L250 723.76c4.93 2.31 9.7 4.78 14.75 6.9l69-34.5c10.07 2.61 20.68 4.3 31.2 6.08 6.73 1.2 13.45 2.43 20.35 3.25a354.83 354.83 0 00128.81-7.4 248.88 248.88 0 0010.15 55.06 425.64 425.64 0 01-96.17 11.24 417.98 417.98 0 01-86.4-9.52L216.52 817.4a27.62 27.62 0 01-29.98-3.14 28.02 28.02 0 01-9.67-28.61l22.4-90.24A292.26 292.26 0 0164 456.21C64 285.98 227 148 428.09 148c190.93 0 347.29 124.53 362.52 282.82a244.97 244.97 0 00-26.47-2.62c-9.9.38-19.79 1.31-29.6 2.88zm-116.3 198.81a135.76 135.76 0 0047.05-19.04 114.24 114.24 0 0151.45-31 76.47 76.47 0 01-24.5 45.34 169.48 169.48 0 00-23.4 55.05 50.41 50.41 0 01-100.8.23 50.41 50.41 0 0150.2-50.58m90.8 121.32a168.6 168.6 0 0054.66 23.9 50.44 50.44 0 0135.64 86.08 50.38 50.38 0 01-86.04-35.66 136.74 136.74 0 00-18.67-47.28 114.71 114.71 0 01-30.54-51.8 76 76 0 0144.95 25.06z`}}]},name:`wechat-work`,theme:`outlined`};function b8(){return b8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,b8({},e,{ref:t,icon:pze}))),hze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-44.4 672C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-93-32.2c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zm34.9-14.5c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z`}}]},name:`weibo-circle`,theme:`filled`};function x8(){return x8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,x8({},e,{ref:t,icon:hze}))),_ze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-44.4 672C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-93-32.2c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zm34.9-14.5c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z`}}]},name:`weibo-circle`,theme:`outlined`};function S8(){return S8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,S8({},e,{ref:t,icon:_ze}))),yze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M457.3 543c-68.1-17.7-145 16.2-174.6 76.2-30.1 61.2-1 129.1 67.8 151.3 71.2 23 155.2-12.2 184.4-78.3 28.7-64.6-7.2-131-77.6-149.2zm-52 156.2c-13.8 22.1-43.5 31.7-65.8 21.6-22-10-28.5-35.7-14.6-57.2 13.7-21.4 42.3-31 64.4-21.7 22.4 9.5 29.6 35 16 57.3zm45.5-58.5c-5 8.6-16.1 12.7-24.7 9.1-8.5-3.5-11.2-13.1-6.4-21.5 5-8.4 15.6-12.4 24.1-9.1 8.7 3.2 11.8 12.9 7 21.5zm334.5-197.2c15 4.8 31-3.4 35.9-18.3 11.8-36.6 4.4-78.4-23.2-109a111.39 111.39 0 00-106-34.3 28.45 28.45 0 00-21.9 33.8 28.39 28.39 0 0033.8 21.8c18.4-3.9 38.3 1.8 51.9 16.7a54.2 54.2 0 0111.3 53.3 28.45 28.45 0 0018.2 36zm99.8-206c-56.7-62.9-140.4-86.9-217.7-70.5a32.98 32.98 0 00-25.4 39.3 33.12 33.12 0 0039.3 25.5c55-11.7 114.4 5.4 154.8 50.1 40.3 44.7 51.2 105.7 34 159.1-5.6 17.4 3.9 36 21.3 41.7 17.4 5.6 36-3.9 41.6-21.2v-.1c24.1-75.4 8.9-161.1-47.9-223.9zM729 499c-12.2-3.6-20.5-6.1-14.1-22.1 13.8-34.7 15.2-64.7.3-86-28-40.1-104.8-37.9-192.8-1.1 0 0-27.6 12.1-20.6-9.8 13.5-43.5 11.5-79.9-9.6-101-47.7-47.8-174.6 1.8-283.5 110.6C127.3 471.1 80 557.5 80 632.2 80 775.1 263.2 862 442.5 862c235 0 391.3-136.5 391.3-245 0-65.5-55.2-102.6-104.8-118zM443 810.8c-143 14.1-266.5-50.5-275.8-144.5-9.3-93.9 99.2-181.5 242.2-195.6 143-14.2 266.5 50.5 275.8 144.4C694.4 709 586 796.6 443 810.8z`}}]},name:`weibo`,theme:`outlined`};function C8(){return C8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,C8({},e,{ref:t,icon:yze}))),xze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M433.6 595.1c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM467.6 736C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-58.1-46.7c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z`}}]},name:`weibo-square`,theme:`filled`};function w8(){return w8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,w8({},e,{ref:t,icon:xze}))),Cze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M433.6 595.1c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM467.6 736C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-58.1-46.7c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z`}}]},name:`weibo-square`,theme:`outlined`};function T8(){return T8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,T8({},e,{ref:t,icon:Cze}))),Tze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M713.5 599.9c-10.9-5.6-65.2-32.2-75.3-35.8-10.1-3.8-17.5-5.6-24.8 5.6-7.4 11.1-28.4 35.8-35 43.3-6.4 7.4-12.9 8.3-23.8 2.8-64.8-32.4-107.3-57.8-150-131.1-11.3-19.5 11.3-18.1 32.4-60.2 3.6-7.4 1.8-13.7-1-19.3-2.8-5.6-24.8-59.8-34-81.9-8.9-21.5-18.1-18.5-24.8-18.9-6.4-.4-13.7-.4-21.1-.4-7.4 0-19.3 2.8-29.4 13.7-10.1 11.1-38.6 37.8-38.6 92s39.5 106.7 44.9 114.1c5.6 7.4 77.7 118.6 188.4 166.5 70 30.2 97.4 32.8 132.4 27.6 21.3-3.2 65.2-26.6 74.3-52.5 9.1-25.8 9.1-47.9 6.4-52.5-2.7-4.9-10.1-7.7-21-13z`}},{tag:`path`,attrs:{d:`M925.2 338.4c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z`}}]},name:`whats-app`,theme:`outlined`};function E8(){return E8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,E8({},e,{ref:t,icon:Tze}))),Dze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z`}}]},name:`wifi`,theme:`outlined`};function D8(){return D8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,D8({},e,{ref:t,icon:Dze}))),kze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M523.8 191.4v288.9h382V128.1zm0 642.2l382 62.2v-352h-382zM120.1 480.2H443V201.9l-322.9 53.5zm0 290.4L443 823.2V543.8H120.1z`}}]},name:`windows`,theme:`filled`};function O8(){return O8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,O8({},e,{ref:t,icon:kze}))),jze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M120.1 770.6L443 823.2V543.8H120.1v226.8zm63.4-163.5h196.2v141.6l-196.2-31.9V607.1zm340.3 226.5l382 62.2v-352h-382v289.8zm63.4-226.5h255.3v214.4l-255.3-41.6V607.1zm-63.4-415.7v288.8h382V128.1l-382 63.3zm318.7 225.5H587.3V245l255.3-42.3v214.2zm-722.4 63.3H443V201.9l-322.9 53.5v224.8zM183.5 309l196.2-32.5v140.4H183.5V309z`}}]},name:`windows`,theme:`outlined`};function k8(){return k8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,k8({},e,{ref:t,icon:jze}))),Nze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M712.8 548.8c53.6-53.6 83.2-125 83.2-200.8 0-75.9-29.5-147.2-83.2-200.8C659.2 93.6 587.8 64 512 64s-147.2 29.5-200.8 83.2C257.6 200.9 228 272.1 228 348c0 63.8 20.9 124.4 59.4 173.9 7.3 9.4 15.2 18.3 23.7 26.9 8.5 8.5 17.5 16.4 26.8 23.7 39.6 30.8 86.3 50.4 136.1 57V736H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h114v140c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V812h114c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H550V629.5c61.5-8.2 118.2-36.1 162.8-80.7zM512 556c-55.6 0-107.7-21.6-147.1-60.9C325.6 455.8 304 403.6 304 348s21.6-107.7 60.9-147.1C404.2 161.5 456.4 140 512 140s107.7 21.6 147.1 60.9C698.4 240.2 720 292.4 720 348s-21.6 107.7-60.9 147.1C619.7 534.4 567.6 556 512 556z`}}]},name:`woman`,theme:`outlined`};function A8(){return A8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,A8({},e,{ref:t,icon:Nze}))),Fze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`g`,attrs:{"fill-rule":`evenodd`},children:[{tag:`path`,attrs:{d:`M823.11 912H200.9A88.9 88.9 0 01112 823.11V200.9A88.9 88.9 0 01200.89 112H823.1A88.9 88.9 0 01912 200.89V823.1A88.9 88.9 0 01823.11 912`}},{tag:`path`,attrs:{d:`M740 735H596.94L286 291h143.06zm-126.01-37.65h56.96L412 328.65h-56.96z`,"fill-rule":`nonzero`}},{tag:`path`,attrs:{d:`M331.3 735L491 549.73 470.11 522 286 735zM521 460.39L541.21 489 715 289h-44.67z`,"fill-rule":`nonzero`}}]}]},name:`x`,theme:`filled`};function j8(){return j8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,j8({},e,{ref:t,icon:Fze}))),Lze={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M921 912L601.11 445.75l.55.43L890.08 112H793.7L558.74 384 372.15 112H119.37l298.65 435.31-.04-.04L103 912h96.39L460.6 609.38 668.2 912zM333.96 184.73l448.83 654.54H706.4L257.2 184.73z`}}]},name:`x`,theme:`outlined`};function M8(){return M8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,M8({},e,{ref:t,icon:Lze}))),zze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M937.3 231H824.7c-15.5 0-27.7 12.6-27.1 28.1l13.1 366h84.4l65.4-366.4c2.7-15.2-7.8-27.7-23.2-27.7zm-77.4 450.4h-14.1c-27.1 0-49.2 22.2-49.2 49.3v14.1c0 27.1 22.2 49.3 49.2 49.3h14.1c27.1 0 49.2-22.2 49.2-49.3v-14.1c0-27.1-22.2-49.3-49.2-49.3zM402.6 231C216.2 231 65 357 65 512.5S216.2 794 402.6 794s337.6-126 337.6-281.5S589.1 231 402.6 231zm225.2 225.2h-65.3L458.9 559.8v65.3h84.4v56.3H318.2v-56.3h84.4v-65.3L242.9 399.9h-37v-56.3h168.5v56.3h-37l93.4 93.5 28.1-28.1V400h168.8v56.2z`}}]},name:`yahoo`,theme:`filled`};function N8(){return N8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,N8({},e,{ref:t,icon:zze}))),Vze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M859.9 681.4h-14.1c-27.1 0-49.2 22.2-49.2 49.3v14.1c0 27.1 22.2 49.3 49.2 49.3h14.1c27.1 0 49.2-22.2 49.2-49.3v-14.1c0-27.1-22.2-49.3-49.2-49.3zM402.6 231C216.2 231 65 357 65 512.5S216.2 794 402.6 794s337.6-126 337.6-281.5S589.1 231 402.6 231zm0 507C245.1 738 121 634.6 121 512.5c0-62.3 32.3-119.7 84.9-161v48.4h37l159.8 159.9v65.3h-84.4v56.3h225.1v-56.3H459v-65.3l103.5-103.6h65.3v-56.3H459v65.3l-28.1 28.1-93.4-93.5h37v-56.3H216.4c49.4-35 114.3-56.6 186.2-56.6 157.6 0 281.6 103.4 281.6 225.5S560.2 738 402.6 738zm534.7-507H824.7c-15.5 0-27.7 12.6-27.1 28.1l13.1 366h84.4l65.4-366.4c2.7-15.2-7.8-27.7-23.2-27.7z`}}]},name:`yahoo`,theme:`outlined`};function P8(){return P8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,P8({},e,{ref:t,icon:Vze}))),Uze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M941.3 296.1a112.3 112.3 0 00-79.2-79.3C792.2 198 512 198 512 198s-280.2 0-350.1 18.7A112.12 112.12 0 0082.7 296C64 366 64 512 64 512s0 146 18.7 215.9c10.3 38.6 40.7 69 79.2 79.3C231.8 826 512 826 512 826s280.2 0 350.1-18.8c38.6-10.3 68.9-40.7 79.2-79.3C960 658 960 512 960 512s0-146-18.7-215.9zM423 646V378l232 133-232 135z`}}]},name:`youtube`,theme:`filled`};function F8(){return F8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,F8({},e,{ref:t,icon:Uze}))),Gze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M960 509.2c0-2.2 0-4.7-.1-7.6-.1-8.1-.3-17.2-.5-26.9-.8-27.9-2.2-55.7-4.4-81.9-3-36.1-7.4-66.2-13.4-88.8a139.52 139.52 0 00-98.3-98.5c-28.3-7.6-83.7-12.3-161.7-15.2-37.1-1.4-76.8-2.3-116.5-2.8-13.9-.2-26.8-.3-38.4-.4h-29.4c-11.6.1-24.5.2-38.4.4-39.7.5-79.4 1.4-116.5 2.8-78 3-133.5 7.7-161.7 15.2A139.35 139.35 0 0082.4 304C76.3 326.6 72 356.7 69 392.8c-2.2 26.2-3.6 54-4.4 81.9-.3 9.7-.4 18.8-.5 26.9 0 2.9-.1 5.4-.1 7.6v5.6c0 2.2 0 4.7.1 7.6.1 8.1.3 17.2.5 26.9.8 27.9 2.2 55.7 4.4 81.9 3 36.1 7.4 66.2 13.4 88.8 12.8 47.9 50.4 85.7 98.3 98.5 28.2 7.6 83.7 12.3 161.7 15.2 37.1 1.4 76.8 2.3 116.5 2.8 13.9.2 26.8.3 38.4.4h29.4c11.6-.1 24.5-.2 38.4-.4 39.7-.5 79.4-1.4 116.5-2.8 78-3 133.5-7.7 161.7-15.2 47.9-12.8 85.5-50.5 98.3-98.5 6.1-22.6 10.4-52.7 13.4-88.8 2.2-26.2 3.6-54 4.4-81.9.3-9.7.4-18.8.5-26.9 0-2.9.1-5.4.1-7.6v-5.6zm-72 5.2c0 2.1 0 4.4-.1 7.1-.1 7.8-.3 16.4-.5 25.7-.7 26.6-2.1 53.2-4.2 77.9-2.7 32.2-6.5 58.6-11.2 76.3-6.2 23.1-24.4 41.4-47.4 47.5-21 5.6-73.9 10.1-145.8 12.8-36.4 1.4-75.6 2.3-114.7 2.8-13.7.2-26.4.3-37.8.3h-28.6l-37.8-.3c-39.1-.5-78.2-1.4-114.7-2.8-71.9-2.8-124.9-7.2-145.8-12.8-23-6.2-41.2-24.4-47.4-47.5-4.7-17.7-8.5-44.1-11.2-76.3-2.1-24.7-3.4-51.3-4.2-77.9-.3-9.3-.4-18-.5-25.7 0-2.7-.1-5.1-.1-7.1v-4.8c0-2.1 0-4.4.1-7.1.1-7.8.3-16.4.5-25.7.7-26.6 2.1-53.2 4.2-77.9 2.7-32.2 6.5-58.6 11.2-76.3 6.2-23.1 24.4-41.4 47.4-47.5 21-5.6 73.9-10.1 145.8-12.8 36.4-1.4 75.6-2.3 114.7-2.8 13.7-.2 26.4-.3 37.8-.3h28.6l37.8.3c39.1.5 78.2 1.4 114.7 2.8 71.9 2.8 124.9 7.2 145.8 12.8 23 6.2 41.2 24.4 47.4 47.5 4.7 17.7 8.5 44.1 11.2 76.3 2.1 24.7 3.4 51.3 4.2 77.9.3 9.3.4 18 .5 25.7 0 2.7.1 5.1.1 7.1v4.8zM423 646l232-135-232-133z`}}]},name:`youtube`,theme:`outlined`};function I8(){return I8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,I8({},e,{ref:t,icon:Gze}))),qze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.9-8.1-195-3-195-3s87.4 55.6 52.4 154.7c-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6z`}}]},name:`yuque`,theme:`filled`};function L8(){return L8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,L8({},e,{ref:t,icon:qze}))),Yze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.8-8.1-194.9-3-195-3 .1 0 87.4 55.6 52.4 154.7-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6zm-204.1 334c-10.6 0-26.2.1-46.8.3l-23.6.2-17.8 15.5c-47.1 41-104.4 71.5-171.4 87.6-52.5 12.6-110 16.2-172.7 9.6 18-20.5 36.5-41.6 55.4-63.1 92-104.6 173.8-197.5 236.9-268.5l1.4-1.4 1.3-1.5c4.1-4.6 20.6-23.3 24.7-28.1 9.7-11.1 17.3-19.9 24.5-28.6 30.7-36.7 52.2-67.8 69-102.2l1.6-3.3 1.2-3.4c13.7-38.8 15.4-76.9 6.2-112.8 22.5.7 46.5 1.9 71.7 3.6 33.3 2.3 55.5 12.9 71.1 29.2 5.8 6 10.2 12.5 13.4 18.7 1 2 1.7 3.6 2.3 5l5 17.7c-15.7 34.5-19.9 73.3-11.4 107.2 3 11.8 6.9 22.4 12.3 34.4 2.1 4.7 9.5 20.1 11 23.3 10.3 22.7 15.4 43 16.7 78.7 3.3 94.6-82.7 181.9-182 181.9z`}}]},name:`yuque`,theme:`outlined`};function R8(){return R8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,R8({},e,{ref:t,icon:Yze}))),Zze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-90.7 477.8l-.1 1.5c-1.5 20.4-6.3 43.9-12.9 67.6l24-18.1 71 80.7c9.2 33-3.3 63.1-3.3 63.1l-95.7-111.9v-.1c-8.9 29-20.1 57.3-33.3 84.7-22.6 45.7-55.2 54.7-89.5 57.7-34.4 3-23.3-5.3-23.3-5.3 68-55.5 78-87.8 96.8-123.1 11.9-22.3 20.4-64.3 25.3-96.8H264.1s4.8-31.2 19.2-41.7h101.6c.6-15.3-1.3-102.8-2-131.4h-49.4c-9.2 45-41 56.7-48.1 60.1-7 3.4-23.6 7.1-21.1 0 2.6-7.1 27-46.2 43.2-110.7 16.3-64.6 63.9-62 63.9-62-12.8 22.5-22.4 73.6-22.4 73.6h159.7c10.1 0 10.6 39 10.6 39h-90.8c-.7 22.7-2.8 83.8-5 131.4H519s12.2 15.4 12.2 41.7H421.3zm346.5 167h-87.6l-69.5 46.6-16.4-46.6h-40.1V321.5h213.6v387.3zM408.2 611s0-.1 0 0zm216 94.3l56.8-38.1h45.6-.1V364.7H596.7v302.5h14.1z`}}]},name:`zhihu-circle`,theme:`filled`};function z8(){return z8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,z8({},e,{ref:t,icon:Zze}))),$ze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M564.7 230.1V803h60l25.2 71.4L756.3 803h131.5V230.1H564.7zm247.7 497h-59.9l-75.1 50.4-17.8-50.4h-18V308.3h170.7v418.8zM526.1 486.9H393.3c2.1-44.9 4.3-104.3 6.6-172.9h130.9l-.1-8.1c0-.6-.2-14.7-2.3-29.1-2.1-15-6.6-34.9-21-34.9H287.8c4.4-20.6 15.7-69.7 29.4-93.8l6.4-11.2-12.9-.7c-.8 0-19.6-.9-41.4 10.6-35.7 19-51.7 56.4-58.7 84.4-18.4 73.1-44.6 123.9-55.7 145.6-3.3 6.4-5.3 10.2-6.2 12.8-1.8 4.9-.8 9.8 2.8 13 10.5 9.5 38.2-2.9 38.5-3 .6-.3 1.3-.6 2.2-1 13.9-6.3 55.1-25 69.8-84.5h56.7c.7 32.2 3.1 138.4 2.9 172.9h-141l-2.1 1.5c-23.1 16.9-30.5 63.2-30.8 65.2l-1.4 9.2h167c-12.3 78.3-26.5 113.4-34 127.4-3.7 7-7.3 14-10.7 20.8-21.3 42.2-43.4 85.8-126.3 153.6-3.6 2.8-7 8-4.8 13.7 2.4 6.3 9.3 9.1 24.6 9.1 5.4 0 11.8-.3 19.4-1 49.9-4.4 100.8-18 135.1-87.6 17-35.1 31.7-71.7 43.9-108.9L497 850l5-12c.8-1.9 19-46.3 5.1-95.9l-.5-1.8-108.1-123-22 16.6c6.4-26.1 10.6-49.9 12.5-71.1h158.7v-8c0-40.1-18.5-63.9-19.2-64.9l-2.4-3z`}}]},name:`zhihu`,theme:`outlined`};function B8(){return B8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,B8({},e,{ref:t,icon:$ze}))),tBe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM432.3 592.8l71 80.7c9.2 33-3.3 63.1-3.3 63.1l-95.7-111.9v-.1c-8.9 29-20.1 57.3-33.3 84.7-22.6 45.7-55.2 54.7-89.5 57.7-34.4 3-23.3-5.3-23.3-5.3 68-55.5 78-87.8 96.8-123.1 11.9-22.3 20.4-64.3 25.3-96.8H264.1s4.8-31.2 19.2-41.7h101.6c.6-15.3-1.3-102.8-2-131.4h-49.4c-9.2 45-41 56.7-48.1 60.1-7 3.4-23.6 7.1-21.1 0 2.6-7.1 27-46.2 43.2-110.7 16.3-64.6 63.9-62 63.9-62-12.8 22.5-22.4 73.6-22.4 73.6h159.7c10.1 0 10.6 39 10.6 39h-90.8c-.7 22.7-2.8 83.8-5 131.4H519s12.2 15.4 12.2 41.7h-110l-.1 1.5c-1.5 20.4-6.3 43.9-12.9 67.6l24.1-18.1zm335.5 116h-87.6l-69.5 46.6-16.4-46.6h-40.1V321.5h213.6v387.3zM408.2 611s0-.1 0 0zm216 94.3l56.8-38.1h45.6-.1V364.7H596.7v302.5h14.1z`}}]},name:`zhihu-square`,theme:`filled`};function V8(){return V8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,V8({},e,{ref:t,icon:tBe}))),H8=l(MB(),1);function U8(){return U8=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:n,component:r,viewBox:i,spin:a,rotate:o,tabIndex:s,onClick:c,children:l,...u}=e,d=C.useRef(null),f=tr(d,t);gl(!!(r||l),"Should have `component` prop or `children`."),wl(d);let{prefixCls:p=`anticon`,rootClassName:m}=C.useContext(dl),h=q(m,p,{[`${p}-spin`]:!!a&&!!r},n),g=q({[`${p}-spin`]:!!a}),_=o?{msTransform:`rotate(${o}deg)`,transform:`rotate(${o}deg)`}:void 0,v={...Sl,className:g,style:_,viewBox:i};i||delete v.viewBox;let y=()=>r?C.createElement(r,v,l):l?(gl(!!i||C.Children.count(l)===1&&C.isValidElement(l)&&C.Children.only(l).type===`use`,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),C.createElement(`svg`,U8({},v,{viewBox:i}),l)):null,b=s;return b===void 0&&c&&(b=-1),C.createElement(`span`,U8({role:`img`},u,{ref:f,tabIndex:b,onClick:c,className:h}),y())});function G8(){return G8=Object.assign?Object.assign.bind():function(e){for(var t=1;tt+1&&(r.onload=()=>{q8(e,t+1)},r.onerror=()=>{q8(e,t+1)}),K8.add(n),document.body.appendChild(r)}}function iBe(e={}){let{scriptUrl:t,extraCommonProps:n={}}=e;t&&typeof document<`u`&&typeof window<`u`&&typeof document.createElement==`function`&&q8(Array.isArray(t)?t.reverse():[t]);let r=C.forwardRef((e,t)=>{let{type:r,children:i,...a}=e,o=null;return e.type&&(o=C.createElement(`use`,{xlinkHref:`#${r}`})),i&&(o=i),C.createElement(W8,G8({},n,a,{ref:t}),o)});return r.displayName=`Iconfont`,r}var aBe=s({AccountBookFilled:()=>FB,AccountBookOutlined:()=>RB,AccountBookTwoTone:()=>VB,AimOutlined:()=>WB,AlertFilled:()=>qB,AlertOutlined:()=>XB,AlertTwoTone:()=>$B,AlibabaOutlined:()=>nV,AlignCenterOutlined:()=>aV,AlignLeftOutlined:()=>cV,AlignRightOutlined:()=>dV,AlipayCircleFilled:()=>mV,AlipayCircleOutlined:()=>_V,AlipayOutlined:()=>bV,AlipaySquareFilled:()=>CV,AliwangwangFilled:()=>EV,AliwangwangOutlined:()=>kV,AliyunOutlined:()=>MV,AmazonCircleFilled:()=>FV,AmazonOutlined:()=>RV,AmazonSquareFilled:()=>VV,AndroidFilled:()=>WV,AndroidOutlined:()=>qV,AntCloudOutlined:()=>XV,AntDesignOutlined:()=>$V,ApartmentOutlined:()=>nH,ApiFilled:()=>aH,ApiOutlined:()=>cH,ApiTwoTone:()=>dH,AppleFilled:()=>mH,AppleOutlined:()=>_H,AppstoreAddOutlined:()=>bH,AppstoreFilled:()=>CH,AppstoreOutlined:()=>EH,AppstoreTwoTone:()=>kH,AreaChartOutlined:()=>MH,ArrowDownOutlined:()=>FH,ArrowLeftOutlined:()=>RH,ArrowRightOutlined:()=>VH,ArrowUpOutlined:()=>WH,ArrowsAltOutlined:()=>qH,AudioFilled:()=>XH,AudioMutedOutlined:()=>$H,AudioOutlined:()=>nU,AudioTwoTone:()=>aU,AuditOutlined:()=>cU,BackwardFilled:()=>dU,BackwardOutlined:()=>mU,BaiduOutlined:()=>_U,BankFilled:()=>bU,BankOutlined:()=>CU,BankTwoTone:()=>EU,BarChartOutlined:()=>kU,BarcodeOutlined:()=>MU,BarsOutlined:()=>xS,BehanceCircleFilled:()=>FU,BehanceOutlined:()=>RU,BehanceSquareFilled:()=>VU,BehanceSquareOutlined:()=>WU,BellFilled:()=>qU,BellOutlined:()=>XU,BellTwoTone:()=>$U,BgColorsOutlined:()=>nW,BilibiliFilled:()=>aW,BilibiliOutlined:()=>cW,BlockOutlined:()=>dW,BoldOutlined:()=>mW,BookFilled:()=>_W,BookOutlined:()=>bW,BookTwoTone:()=>CW,BorderBottomOutlined:()=>EW,BorderHorizontalOutlined:()=>kW,BorderInnerOutlined:()=>MW,BorderLeftOutlined:()=>FW,BorderOuterOutlined:()=>RW,BorderOutlined:()=>VW,BorderRightOutlined:()=>WW,BorderTopOutlined:()=>qW,BorderVerticleOutlined:()=>XW,BorderlessTableOutlined:()=>$W,BoxPlotFilled:()=>nG,BoxPlotOutlined:()=>aG,BoxPlotTwoTone:()=>cG,BranchesOutlined:()=>dG,BugFilled:()=>mG,BugOutlined:()=>_G,BugTwoTone:()=>bG,BuildFilled:()=>CG,BuildOutlined:()=>EG,BuildTwoTone:()=>kG,BulbFilled:()=>MG,BulbOutlined:()=>FG,BulbTwoTone:()=>RG,CalculatorFilled:()=>VG,CalculatorOutlined:()=>WG,CalculatorTwoTone:()=>qG,CalendarFilled:()=>XG,CalendarOutlined:()=>sM,CalendarTwoTone:()=>$G,CameraFilled:()=>nK,CameraOutlined:()=>aK,CameraTwoTone:()=>cK,CarFilled:()=>dK,CarOutlined:()=>mK,CarTwoTone:()=>_K,CaretDownFilled:()=>nL,CaretDownOutlined:()=>OL,CaretLeftFilled:()=>bK,CaretLeftOutlined:()=>CK,CaretRightFilled:()=>EK,CaretRightOutlined:()=>kK,CaretUpFilled:()=>MK,CaretUpOutlined:()=>jL,CarryOutFilled:()=>FK,CarryOutOutlined:()=>RK,CarryOutTwoTone:()=>VK,CheckCircleFilled:()=>Nl,CheckCircleOutlined:()=>WK,CheckCircleTwoTone:()=>qK,CheckOutlined:()=>_b,CheckSquareFilled:()=>XK,CheckSquareOutlined:()=>$K,CheckSquareTwoTone:()=>nq,ChromeFilled:()=>aq,ChromeOutlined:()=>Qge,CiCircleFilled:()=>e_e,CiCircleOutlined:()=>n_e,CiCircleTwoTone:()=>i_e,CiOutlined:()=>o_e,CiTwoTone:()=>c_e,ClearOutlined:()=>u_e,ClockCircleFilled:()=>f_e,ClockCircleOutlined:()=>lM,ClockCircleTwoTone:()=>m_e,CloseCircleFilled:()=>Il,CloseCircleOutlined:()=>gq,CloseCircleTwoTone:()=>__e,CloseOutlined:()=>zl,CloseSquareFilled:()=>y_e,CloseSquareOutlined:()=>x_e,CloseSquareTwoTone:()=>C_e,CloudDownloadOutlined:()=>T_e,CloudFilled:()=>D_e,CloudOutlined:()=>wq,CloudServerOutlined:()=>Eq,CloudSyncOutlined:()=>j_e,CloudTwoTone:()=>N_e,CloudUploadOutlined:()=>F_e,ClusterOutlined:()=>L_e,CodeFilled:()=>z_e,CodeOutlined:()=>Nq,CodeSandboxCircleFilled:()=>H_e,CodeSandboxOutlined:()=>W_e,CodeSandboxSquareFilled:()=>K_e,CodeTwoTone:()=>J_e,CodepenCircleFilled:()=>X_e,CodepenCircleOutlined:()=>Q_e,CodepenOutlined:()=>eve,CodepenSquareFilled:()=>nve,CoffeeOutlined:()=>Uq,ColumnHeightOutlined:()=>ave,ColumnWidthOutlined:()=>sve,CommentOutlined:()=>lve,CompassFilled:()=>dve,CompassOutlined:()=>Yq,CompassTwoTone:()=>mve,CompressOutlined:()=>gve,ConsoleSqlOutlined:()=>vve,ContactsFilled:()=>bve,ContactsOutlined:()=>Sve,ContactsTwoTone:()=>wve,ContainerFilled:()=>Eve,ContainerOutlined:()=>Ove,ContainerTwoTone:()=>Ave,ControlFilled:()=>Mve,ControlOutlined:()=>Pve,ControlTwoTone:()=>Ive,CopyFilled:()=>Rve,CopyOutlined:()=>iz,CopyTwoTone:()=>Bve,CopyrightCircleFilled:()=>Hve,CopyrightCircleOutlined:()=>Wve,CopyrightCircleTwoTone:()=>Kve,CopyrightOutlined:()=>Jve,CopyrightTwoTone:()=>Xve,CreditCardFilled:()=>Qve,CreditCardOutlined:()=>eye,CreditCardTwoTone:()=>nye,CrownFilled:()=>iye,CrownOutlined:()=>bJ,CrownTwoTone:()=>sye,CustomerServiceFilled:()=>lye,CustomerServiceOutlined:()=>dye,CustomerServiceTwoTone:()=>pye,DashOutlined:()=>hye,DashboardFilled:()=>_ye,DashboardOutlined:()=>OJ,DashboardTwoTone:()=>bye,DatabaseFilled:()=>Sye,DatabaseOutlined:()=>MJ,DatabaseTwoTone:()=>Tye,DeleteColumnOutlined:()=>Dye,DeleteFilled:()=>kye,DeleteOutlined:()=>MR,DeleteRowOutlined:()=>jye,DeleteTwoTone:()=>Nye,DeliveredProcedureOutlined:()=>Fye,DeploymentUnitOutlined:()=>Lye,DesktopOutlined:()=>zye,DiffFilled:()=>Vye,DiffOutlined:()=>Uye,DiffTwoTone:()=>Gye,DingdingOutlined:()=>qye,DingtalkCircleFilled:()=>Yye,DingtalkOutlined:()=>Zye,DingtalkSquareFilled:()=>$ye,DisconnectOutlined:()=>tbe,DiscordFilled:()=>rbe,DiscordOutlined:()=>abe,DislikeFilled:()=>sbe,DislikeOutlined:()=>lbe,DislikeTwoTone:()=>dbe,DockerOutlined:()=>pbe,DollarCircleFilled:()=>hbe,DollarCircleOutlined:()=>_be,DollarCircleTwoTone:()=>ybe,DollarOutlined:()=>aY,DollarTwoTone:()=>Sbe,DotChartOutlined:()=>wbe,DotNetOutlined:()=>Ebe,DoubleLeftOutlined:()=>qN,DoubleRightOutlined:()=>YN,DownCircleFilled:()=>Obe,DownCircleOutlined:()=>Abe,DownCircleTwoTone:()=>Mbe,DownOutlined:()=>bb,DownSquareFilled:()=>Pbe,DownSquareOutlined:()=>Ibe,DownSquareTwoTone:()=>Rbe,DownloadOutlined:()=>_B,DragOutlined:()=>Bbe,DribbbleCircleFilled:()=>Hbe,DribbbleOutlined:()=>Wbe,DribbbleSquareFilled:()=>Kbe,DribbbleSquareOutlined:()=>Jbe,DropboxCircleFilled:()=>Xbe,DropboxOutlined:()=>Qbe,DropboxSquareFilled:()=>exe,EditFilled:()=>nxe,EditOutlined:()=>FR,EditTwoTone:()=>ixe,EllipsisOutlined:()=>FS,EnterOutlined:()=>RR,EnvironmentFilled:()=>oxe,EnvironmentOutlined:()=>cxe,EnvironmentTwoTone:()=>uxe,EuroCircleFilled:()=>fxe,EuroCircleOutlined:()=>mxe,EuroCircleTwoTone:()=>gxe,EuroOutlined:()=>vxe,EuroTwoTone:()=>bxe,ExceptionOutlined:()=>Sxe,ExclamationCircleFilled:()=>Hl,ExclamationCircleOutlined:()=>FY,ExclamationCircleTwoTone:()=>Txe,ExclamationOutlined:()=>Dxe,ExpandAltOutlined:()=>kxe,ExpandOutlined:()=>Axe,ExperimentFilled:()=>Mxe,ExperimentOutlined:()=>UY,ExperimentTwoTone:()=>Fxe,ExportOutlined:()=>Lxe,EyeFilled:()=>zxe,EyeInvisibleFilled:()=>Vxe,EyeInvisibleOutlined:()=>jN,EyeInvisibleTwoTone:()=>Uxe,EyeOutlined:()=>NN,EyeTwoTone:()=>Gxe,FacebookFilled:()=>qxe,FacebookOutlined:()=>Yxe,FallOutlined:()=>Zxe,FastBackwardFilled:()=>$xe,FastBackwardOutlined:()=>tSe,FastForwardFilled:()=>rSe,FastForwardOutlined:()=>aSe,FieldBinaryOutlined:()=>sSe,FieldNumberOutlined:()=>lSe,FieldStringOutlined:()=>dSe,FieldTimeOutlined:()=>pSe,FileAddFilled:()=>hSe,FileAddOutlined:()=>_Se,FileAddTwoTone:()=>ySe,FileDoneOutlined:()=>xSe,FileExcelFilled:()=>CSe,FileExcelOutlined:()=>TSe,FileExcelTwoTone:()=>DSe,FileExclamationFilled:()=>kSe,FileExclamationOutlined:()=>jSe,FileExclamationTwoTone:()=>NSe,FileFilled:()=>FSe,FileGifOutlined:()=>LSe,FileImageFilled:()=>zSe,FileImageOutlined:()=>xX,FileImageTwoTone:()=>HSe,FileJpgOutlined:()=>WSe,FileMarkdownFilled:()=>KSe,FileMarkdownOutlined:()=>JSe,FileMarkdownTwoTone:()=>XSe,FileOutlined:()=>JI,FilePdfFilled:()=>QSe,FilePdfOutlined:()=>kX,FilePdfTwoTone:()=>tCe,FilePptFilled:()=>rCe,FilePptOutlined:()=>aCe,FilePptTwoTone:()=>sCe,FileProtectOutlined:()=>lCe,FileSearchOutlined:()=>dCe,FileSyncOutlined:()=>pCe,FileTextFilled:()=>hCe,FileTextOutlined:()=>LM,FileTextTwoTone:()=>_Ce,FileTwoTone:()=>$z,FileUnknownFilled:()=>yCe,FileUnknownOutlined:()=>xCe,FileUnknownTwoTone:()=>CCe,FileWordFilled:()=>TCe,FileWordOutlined:()=>DCe,FileWordTwoTone:()=>kCe,FileZipFilled:()=>jCe,FileZipOutlined:()=>NCe,FileZipTwoTone:()=>FCe,FilterFilled:()=>II,FilterOutlined:()=>YX,FilterTwoTone:()=>RCe,FireFilled:()=>BCe,FireOutlined:()=>$X,FireTwoTone:()=>UCe,FlagFilled:()=>GCe,FlagOutlined:()=>rZ,FlagTwoTone:()=>JCe,FolderAddFilled:()=>XCe,FolderAddOutlined:()=>QCe,FolderAddTwoTone:()=>ewe,FolderFilled:()=>nwe,FolderOpenFilled:()=>iwe,FolderOpenOutlined:()=>XI,FolderOpenTwoTone:()=>owe,FolderOutlined:()=>QI,FolderTwoTone:()=>cwe,FolderViewOutlined:()=>uwe,FontColorsOutlined:()=>fwe,FontSizeOutlined:()=>hZ,ForkOutlined:()=>hwe,FormOutlined:()=>_we,FormatPainterFilled:()=>ywe,FormatPainterOutlined:()=>xwe,ForwardFilled:()=>Cwe,ForwardOutlined:()=>Twe,FrownFilled:()=>Dwe,FrownOutlined:()=>kwe,FrownTwoTone:()=>jwe,FullscreenExitOutlined:()=>Nwe,FullscreenOutlined:()=>Fwe,FunctionOutlined:()=>Lwe,FundFilled:()=>zwe,FundOutlined:()=>Vwe,FundProjectionScreenOutlined:()=>Uwe,FundTwoTone:()=>Gwe,FundViewOutlined:()=>qwe,FunnelPlotFilled:()=>Ywe,FunnelPlotOutlined:()=>Zwe,FunnelPlotTwoTone:()=>$we,GatewayOutlined:()=>tTe,GifOutlined:()=>rTe,GiftFilled:()=>aTe,GiftOutlined:()=>BZ,GiftTwoTone:()=>cTe,GithubFilled:()=>uTe,GithubOutlined:()=>fTe,GitlabFilled:()=>mTe,GitlabOutlined:()=>gTe,GlobalOutlined:()=>qZ,GoldFilled:()=>yTe,GoldOutlined:()=>xTe,GoldTwoTone:()=>CTe,GoldenFilled:()=>TTe,GoogleCircleFilled:()=>DTe,GoogleOutlined:()=>kTe,GooglePlusCircleFilled:()=>jTe,GooglePlusOutlined:()=>NTe,GooglePlusSquareFilled:()=>FTe,GoogleSquareFilled:()=>LTe,GroupOutlined:()=>zTe,HarmonyOSOutlined:()=>VTe,HddFilled:()=>UTe,HddOutlined:()=>GTe,HddTwoTone:()=>qTe,HeartFilled:()=>YTe,HeartOutlined:()=>dQ,HeartTwoTone:()=>QTe,HeatMapOutlined:()=>eEe,HighlightFilled:()=>nEe,HighlightOutlined:()=>gQ,HighlightTwoTone:()=>aEe,HistoryOutlined:()=>yQ,HolderOutlined:()=>eL,HomeFilled:()=>cEe,HomeOutlined:()=>SQ,HomeTwoTone:()=>dEe,HourglassFilled:()=>pEe,HourglassOutlined:()=>hEe,HourglassTwoTone:()=>_Ee,Html5Filled:()=>yEe,Html5Outlined:()=>xEe,Html5TwoTone:()=>CEe,IconProvider:()=>oBe,IdcardFilled:()=>TEe,IdcardOutlined:()=>MQ,IdcardTwoTone:()=>OEe,IeCircleFilled:()=>AEe,IeOutlined:()=>MEe,IeSquareFilled:()=>PEe,ImportOutlined:()=>IEe,InboxOutlined:()=>REe,InfoCircleFilled:()=>Gl,InfoCircleOutlined:()=>BEe,InfoCircleTwoTone:()=>HEe,InfoOutlined:()=>WEe,InsertRowAboveOutlined:()=>KEe,InsertRowBelowOutlined:()=>JEe,InsertRowLeftOutlined:()=>XEe,InsertRowRightOutlined:()=>QEe,InstagramFilled:()=>eDe,InstagramOutlined:()=>nDe,InsuranceFilled:()=>iDe,InsuranceOutlined:()=>oDe,InsuranceTwoTone:()=>cDe,InteractionFilled:()=>uDe,InteractionOutlined:()=>fDe,InteractionTwoTone:()=>mDe,IssuesCloseOutlined:()=>gDe,ItalicOutlined:()=>vDe,JavaOutlined:()=>bDe,JavaScriptOutlined:()=>SDe,KeyOutlined:()=>wDe,KubernetesOutlined:()=>EDe,LaptopOutlined:()=>s$,LayoutFilled:()=>kDe,LayoutOutlined:()=>jDe,LayoutTwoTone:()=>NDe,LeftCircleFilled:()=>FDe,LeftCircleOutlined:()=>LDe,LeftCircleTwoTone:()=>zDe,LeftOutlined:()=>fx,LeftSquareFilled:()=>VDe,LeftSquareOutlined:()=>UDe,LeftSquareTwoTone:()=>GDe,LikeFilled:()=>qDe,LikeOutlined:()=>YDe,LikeTwoTone:()=>ZDe,LineChartOutlined:()=>x$,LineHeightOutlined:()=>eOe,LineOutlined:()=>nOe,LinkOutlined:()=>T$,LinkedinFilled:()=>aOe,LinkedinOutlined:()=>sOe,LinuxOutlined:()=>lOe,Loading3QuartersOutlined:()=>dOe,LoadingOutlined:()=>dm,LockFilled:()=>pOe,LockOutlined:()=>M$,LockTwoTone:()=>gOe,LoginOutlined:()=>vOe,LogoutOutlined:()=>I$,MacCommandFilled:()=>xOe,MacCommandOutlined:()=>COe,MailFilled:()=>TOe,MailOutlined:()=>V$,MailTwoTone:()=>OOe,ManOutlined:()=>AOe,MedicineBoxFilled:()=>MOe,MedicineBoxOutlined:()=>K$,MedicineBoxTwoTone:()=>FOe,MediumCircleFilled:()=>LOe,MediumOutlined:()=>zOe,MediumSquareFilled:()=>VOe,MediumWorkmarkOutlined:()=>UOe,MehFilled:()=>GOe,MehOutlined:()=>qOe,MehTwoTone:()=>YOe,MenuFoldOutlined:()=>ZOe,MenuOutlined:()=>r1,MenuUnfoldOutlined:()=>eke,MergeCellsOutlined:()=>nke,MergeFilled:()=>ike,MergeOutlined:()=>oke,MessageFilled:()=>cke,MessageOutlined:()=>u1,MessageTwoTone:()=>dke,MinusCircleFilled:()=>pke,MinusCircleOutlined:()=>m1,MinusCircleTwoTone:()=>gke,MinusOutlined:()=>lj,MinusSquareFilled:()=>vke,MinusSquareOutlined:()=>iL,MinusSquareTwoTone:()=>bke,MobileFilled:()=>Ske,MobileOutlined:()=>b1,MobileTwoTone:()=>Tke,MoneyCollectFilled:()=>Dke,MoneyCollectOutlined:()=>kke,MoneyCollectTwoTone:()=>jke,MonitorOutlined:()=>E1,MoonFilled:()=>Pke,MoonOutlined:()=>Ike,MoreOutlined:()=>A1,MutedFilled:()=>zke,MutedOutlined:()=>Vke,NodeCollapseOutlined:()=>Uke,NodeExpandOutlined:()=>Gke,NodeIndexOutlined:()=>qke,NotificationFilled:()=>Yke,NotificationOutlined:()=>Zke,NotificationTwoTone:()=>$ke,NumberOutlined:()=>tAe,OneToOneOutlined:()=>rAe,OpenAIFilled:()=>aAe,OpenAIOutlined:()=>sAe,OrderedListOutlined:()=>lAe,PaperClipOutlined:()=>nB,PartitionOutlined:()=>dAe,PauseCircleFilled:()=>pAe,PauseCircleOutlined:()=>hAe,PauseCircleTwoTone:()=>_Ae,PauseOutlined:()=>yAe,PayCircleFilled:()=>xAe,PayCircleOutlined:()=>Z1,PercentageOutlined:()=>wAe,PhoneFilled:()=>EAe,PhoneOutlined:()=>t0,PhoneTwoTone:()=>kAe,PicCenterOutlined:()=>jAe,PicLeftOutlined:()=>NAe,PicRightOutlined:()=>FAe,PictureFilled:()=>LAe,PictureOutlined:()=>c0,PictureTwoTone:()=>aB,PieChartFilled:()=>BAe,PieChartOutlined:()=>d0,PieChartTwoTone:()=>UAe,PinterestFilled:()=>GAe,PinterestOutlined:()=>qAe,PlayCircleFilled:()=>YAe,PlayCircleOutlined:()=>_0,PlayCircleTwoTone:()=>QAe,PlaySquareFilled:()=>eje,PlaySquareOutlined:()=>nje,PlaySquareTwoTone:()=>ije,PlusCircleFilled:()=>oje,PlusCircleOutlined:()=>cje,PlusCircleTwoTone:()=>uje,PlusOutlined:()=>pA,PlusSquareFilled:()=>fje,PlusSquareOutlined:()=>oL,PlusSquareTwoTone:()=>mje,PoundCircleFilled:()=>gje,PoundCircleOutlined:()=>vje,PoundCircleTwoTone:()=>bje,PoundOutlined:()=>Sje,PoweroffOutlined:()=>wje,PrinterFilled:()=>Eje,PrinterOutlined:()=>Oje,PrinterTwoTone:()=>Aje,ProductFilled:()=>Mje,ProductOutlined:()=>Pje,ProfileFilled:()=>Ije,ProfileOutlined:()=>Rje,ProfileTwoTone:()=>Bje,ProjectFilled:()=>Hje,ProjectOutlined:()=>H0,ProjectTwoTone:()=>Gje,PropertySafetyFilled:()=>qje,PropertySafetyOutlined:()=>Yje,PropertySafetyTwoTone:()=>Zje,PullRequestOutlined:()=>$je,PushpinFilled:()=>tMe,PushpinOutlined:()=>rMe,PushpinTwoTone:()=>aMe,PythonOutlined:()=>sMe,QqCircleFilled:()=>lMe,QqOutlined:()=>dMe,QqSquareFilled:()=>pMe,QrcodeOutlined:()=>hMe,QuestionCircleFilled:()=>_Me,QuestionCircleOutlined:()=>JM,QuestionCircleTwoTone:()=>yMe,QuestionOutlined:()=>xMe,RadarChartOutlined:()=>CMe,RadiusBottomleftOutlined:()=>TMe,RadiusBottomrightOutlined:()=>DMe,RadiusSettingOutlined:()=>kMe,RadiusUpleftOutlined:()=>jMe,RadiusUprightOutlined:()=>NMe,ReadFilled:()=>FMe,ReadOutlined:()=>p2,ReconciliationFilled:()=>RMe,ReconciliationOutlined:()=>BMe,ReconciliationTwoTone:()=>HMe,RedEnvelopeFilled:()=>WMe,RedEnvelopeOutlined:()=>KMe,RedEnvelopeTwoTone:()=>JMe,RedditCircleFilled:()=>XMe,RedditOutlined:()=>QMe,RedditSquareFilled:()=>eNe,RedoOutlined:()=>nNe,ReloadOutlined:()=>HP,RestFilled:()=>iNe,RestOutlined:()=>E2,RestTwoTone:()=>sNe,RetweetOutlined:()=>lNe,RightCircleFilled:()=>dNe,RightCircleOutlined:()=>pNe,RightCircleTwoTone:()=>hNe,RightOutlined:()=>vh,RightSquareFilled:()=>_Ne,RightSquareOutlined:()=>yNe,RightSquareTwoTone:()=>xNe,RiseOutlined:()=>CNe,RobotFilled:()=>TNe,RobotOutlined:()=>R2,RocketFilled:()=>ONe,RocketOutlined:()=>V2,RocketTwoTone:()=>jNe,RollbackOutlined:()=>W2,RotateLeftOutlined:()=>gN,RotateRightOutlined:()=>vN,RubyOutlined:()=>PNe,SafetyCertificateFilled:()=>INe,SafetyCertificateOutlined:()=>RNe,SafetyCertificateTwoTone:()=>BNe,SafetyOutlined:()=>X2,SaveFilled:()=>UNe,SaveOutlined:()=>$2,SaveTwoTone:()=>KNe,ScanOutlined:()=>JNe,ScheduleFilled:()=>XNe,ScheduleOutlined:()=>QNe,ScheduleTwoTone:()=>ePe,ScissorOutlined:()=>nPe,SearchOutlined:()=>Cb,SecurityScanFilled:()=>iPe,SecurityScanOutlined:()=>c4,SecurityScanTwoTone:()=>sPe,SelectOutlined:()=>lPe,SendOutlined:()=>f4,SettingFilled:()=>fPe,SettingOutlined:()=>h4,SettingTwoTone:()=>hPe,ShakeOutlined:()=>_Pe,ShareAltOutlined:()=>yPe,ShopFilled:()=>xPe,ShopOutlined:()=>CPe,ShopTwoTone:()=>TPe,ShoppingCartOutlined:()=>C4,ShoppingFilled:()=>OPe,ShoppingOutlined:()=>E4,ShoppingTwoTone:()=>jPe,ShrinkOutlined:()=>NPe,SignalFilled:()=>FPe,SignatureFilled:()=>LPe,SignatureOutlined:()=>zPe,SisternodeOutlined:()=>VPe,SketchCircleFilled:()=>UPe,SketchOutlined:()=>F4,SketchSquareFilled:()=>KPe,SkinFilled:()=>JPe,SkinOutlined:()=>z4,SkinTwoTone:()=>ZPe,SkypeFilled:()=>$Pe,SkypeOutlined:()=>tFe,SlackCircleFilled:()=>rFe,SlackOutlined:()=>aFe,SlackSquareFilled:()=>sFe,SlackSquareOutlined:()=>lFe,SlidersFilled:()=>dFe,SlidersOutlined:()=>pFe,SlidersTwoTone:()=>hFe,SmallDashOutlined:()=>_Fe,SmileFilled:()=>yFe,SmileOutlined:()=>$4,SmileTwoTone:()=>SFe,SnippetsFilled:()=>wFe,SnippetsOutlined:()=>EFe,SnippetsTwoTone:()=>OFe,SolutionOutlined:()=>a3,SortAscendingOutlined:()=>jFe,SortDescendingOutlined:()=>NFe,SoundFilled:()=>FFe,SoundOutlined:()=>u3,SoundTwoTone:()=>RFe,SplitCellsOutlined:()=>BFe,SpotifyFilled:()=>HFe,SpotifyOutlined:()=>WFe,StarFilled:()=>Cme,StarOutlined:()=>g3,StarTwoTone:()=>qFe,StepBackwardFilled:()=>YFe,StepBackwardOutlined:()=>ZFe,StepForwardFilled:()=>$Fe,StepForwardOutlined:()=>tIe,StockOutlined:()=>rIe,StopFilled:()=>aIe,StopOutlined:()=>T3,StopTwoTone:()=>cIe,StrikethroughOutlined:()=>uIe,SubnodeOutlined:()=>fIe,SunFilled:()=>mIe,SunOutlined:()=>gIe,SwapLeftOutlined:()=>vIe,SwapOutlined:()=>bN,SwapRightOutlined:()=>tM,SwitcherFilled:()=>bIe,SwitcherOutlined:()=>SIe,SwitcherTwoTone:()=>wIe,SyncOutlined:()=>EIe,TableOutlined:()=>OIe,TabletFilled:()=>AIe,TabletOutlined:()=>MIe,TabletTwoTone:()=>PIe,TagFilled:()=>IIe,TagOutlined:()=>H3,TagTwoTone:()=>zIe,TagsFilled:()=>VIe,TagsOutlined:()=>UIe,TagsTwoTone:()=>GIe,TaobaoCircleFilled:()=>qIe,TaobaoCircleOutlined:()=>YIe,TaobaoOutlined:()=>ZIe,TaobaoSquareFilled:()=>$Ie,TeamOutlined:()=>Q3,ThunderboltFilled:()=>nLe,ThunderboltOutlined:()=>t6,ThunderboltTwoTone:()=>aLe,TikTokFilled:()=>sLe,TikTokOutlined:()=>lLe,ToTopOutlined:()=>dLe,ToolFilled:()=>pLe,ToolOutlined:()=>c6,ToolTwoTone:()=>gLe,TrademarkCircleFilled:()=>vLe,TrademarkCircleOutlined:()=>bLe,TrademarkCircleTwoTone:()=>SLe,TrademarkOutlined:()=>wLe,TransactionOutlined:()=>ELe,TranslationOutlined:()=>OLe,TrophyFilled:()=>ALe,TrophyOutlined:()=>v6,TrophyTwoTone:()=>NLe,TruckFilled:()=>FLe,TruckOutlined:()=>S6,TwitchFilled:()=>RLe,TwitchOutlined:()=>BLe,TwitterCircleFilled:()=>HLe,TwitterOutlined:()=>WLe,TwitterSquareFilled:()=>KLe,UnderlineOutlined:()=>JLe,UndoOutlined:()=>A6,UngroupOutlined:()=>ZLe,UnlockFilled:()=>$Le,UnlockOutlined:()=>tRe,UnlockTwoTone:()=>rRe,UnorderedListOutlined:()=>aRe,UpCircleFilled:()=>sRe,UpCircleOutlined:()=>lRe,UpCircleTwoTone:()=>dRe,UpOutlined:()=>dj,UpSquareFilled:()=>pRe,UpSquareOutlined:()=>hRe,UpSquareTwoTone:()=>_Re,UploadOutlined:()=>U6,UsbFilled:()=>bRe,UsbOutlined:()=>SRe,UsbTwoTone:()=>wRe,UserAddOutlined:()=>ERe,UserDeleteOutlined:()=>ORe,UserOutlined:()=>X6,UserSwitchOutlined:()=>jRe,UsergroupAddOutlined:()=>NRe,UsergroupDeleteOutlined:()=>FRe,VerifiedOutlined:()=>LRe,VerticalAlignBottomOutlined:()=>zRe,VerticalAlignMiddleOutlined:()=>VRe,VerticalAlignTopOutlined:()=>Cie,VerticalLeftOutlined:()=>URe,VerticalRightOutlined:()=>GRe,VideoCameraAddOutlined:()=>qRe,VideoCameraFilled:()=>YRe,VideoCameraOutlined:()=>c8,VideoCameraTwoTone:()=>QRe,WalletFilled:()=>eze,WalletOutlined:()=>f8,WalletTwoTone:()=>rze,WarningFilled:()=>Tme,WarningOutlined:()=>aze,WarningTwoTone:()=>sze,WechatFilled:()=>lze,WechatOutlined:()=>v8,WechatWorkFilled:()=>fze,WechatWorkOutlined:()=>mze,WeiboCircleFilled:()=>gze,WeiboCircleOutlined:()=>vze,WeiboOutlined:()=>bze,WeiboSquareFilled:()=>Sze,WeiboSquareOutlined:()=>wze,WhatsAppOutlined:()=>Eze,WifiOutlined:()=>Oze,WindowsFilled:()=>Aze,WindowsOutlined:()=>Mze,WomanOutlined:()=>Pze,XFilled:()=>Ize,XOutlined:()=>Rze,YahooFilled:()=>Bze,YahooOutlined:()=>Hze,YoutubeFilled:()=>Wze,YoutubeOutlined:()=>Kze,YuqueFilled:()=>Jze,YuqueOutlined:()=>Xze,ZhihuCircleFilled:()=>Qze,ZhihuOutlined:()=>eBe,ZhihuSquareFilled:()=>nBe,ZoomInOutlined:()=>SN,ZoomOutOutlined:()=>wN,createFromIconfontCN:()=>iBe,default:()=>W8,getTwoToneColor:()=>Al,setTwoToneColor:()=>kl}),oBe=dl.Provider,J8=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},sBe=(e=>e?J8(e):J8),cBe=e=>e;function lBe(e,t=cBe){let n=C.useSyncExternalStore(e.subscribe,C.useCallback(()=>t(e.getState()),[e,t]),C.useCallback(()=>t(e.getInitialState()),[e,t]));return C.useDebugValue(n),n}var Y8=e=>{let t=sBe(e),n=e=>lBe(t,e);return Object.assign(n,t),n},uBe=(e=>e?Y8(e):Y8),X8=`AES-GCM`,Z8=12,Q8=128;function $8(){return typeof window<`u`&&typeof crypto<`u`&&crypto.subtle!==void 0}async function e5(){throw Error(`VITE_ENCRYPTION_KEY not configured`)}async function dBe(e){if(!$8())throw Error(`Encryption not available in non-secure context`);let t=await e5(),n=crypto.getRandomValues(new Uint8Array(Z8)),r=new TextEncoder().encode(e),i=await crypto.subtle.encrypt({name:X8,iv:n,tagLength:Q8},t,r),a=new Uint8Array(i),o=new Uint8Array(n.length+a.length);return o.set(n),o.set(a,n.length),btoa(String.fromCharCode(...o))}async function fBe(e){if(!$8())throw Error(`Decryption not available in non-secure context`);let t=await e5(),n=Uint8Array.from(atob(e),e=>e.charCodeAt(0)),r=n.slice(0,Z8),i=n.slice(Z8),a=await crypto.subtle.decrypt({name:X8,iv:r,tagLength:Q8},t,i);return new TextDecoder().decode(a)}var pBe=`http://ceshi.apiforeign.minzhong.cn`,t5=!1;function mBe(e){return e.replace(/_([a-z])/g,(e,t)=>t.toUpperCase())}function n5(e){return Array.isArray(e)?e.map(n5):typeof e==`object`&&e?e instanceof File||e instanceof Blob||e instanceof FormData?e:Object.fromEntries(Object.entries(e).map(([e,t])=>[mBe(e),n5(t)])):e}function hBe(){return localStorage.getItem(`auth_token`)}function gBe(e){localStorage.setItem(`auth_token`,e)}function r5(){localStorage.removeItem(`auth_token`)}async function _Be(e){try{return await fBe(e)}catch{return null}}async function i5(e,t={}){let{method:n=`GET`,body:r,auth:i=!0,encryptBody:a=t5}=t,o=typeof FormData<`u`&&r instanceof FormData,s={};if(o||(s[`Content-Type`]=`application/json`),i){let e=hBe();e&&(s.Authorization=`Bearer ${e}`)}let c;if(r!==void 0)if(o)c=r;else{let e=JSON.stringify(r);a?(s[`X-Encrypted`]=`true`,c=JSON.stringify({data:await dBe(e)})):c=e}let l=await fetch(`${pBe}/api${e}`,{method:n,headers:s,body:c});if(l.status===204)return;let u=await l.text();if(!u)return;let d;try{d=JSON.parse(u)}catch{throw Error(`响应解析失败 (${l.status})`)}if(d&&typeof d.data==`string`&&a&&!o){let e=await _Be(d.data);e!==null&&(d=JSON.parse(e))}if(!l.ok){let e=d?.detail||d?.message||`请求失败 (${l.status})`,t=typeof e==`string`?e:JSON.stringify(e);throw l.status===401&&(r5(),window.location.pathname!==`/login`&&(window.location.href=`/login`)),Error(t)}return n5(d)}var a5={get:(e,t=!0)=>i5(e,{auth:t}),post:(e,t,n=!0)=>i5(e,{method:`POST`,body:t,auth:n,encryptBody:t instanceof FormData?!1:t5}),put:(e,t,n=!0)=>i5(e,{method:`PUT`,body:t,auth:n,encryptBody:t instanceof FormData?!1:t5}),delete:(e,t=!0)=>i5(e,{method:`DELETE`,auth:t})};async function vBe(e,t,n,r){let i=await a5.post(`/auth/admin-login`,{username:e,password:t,captcha_token:n,remember_me:r||!1},!1);return gBe(i.accessToken),i.user}async function yBe(){await a5.post(`/auth/logout`),r5()}async function bBe(){try{return await a5.get(`/auth/me`)}catch{return null}}async function o5(e,t){let n={};e&&(n.start_date=e),t&&(n.end_date=t);let r=new URLSearchParams(n).toString();return a5.get(`/admin/stats${r?`?${r}`:``}`)}async function s5(e=1,t=20,n,r,i,a){let o=new URLSearchParams;return o.set(`page`,String(e)),o.set(`page_size`,String(t)),n&&o.set(`search`,n),r&&o.set(`user_type`,r),i&&o.set(`frontend_user_kind`,i),a&&o.set(`team_id`,a),a5.get(`/admin/users?${o.toString()}`)}async function xBe(e,t){return a5.put(`/admin/users/${e}/frontend-kind`,{frontend_user_kind:t})}async function SBe(e,t){return a5.put(`/admin/users/${e}/team`,{team_id:t})}async function CBe(e){let t=new URLSearchParams;f5(t,`page`,e?.page),f5(t,`page_size`,e?.pageSize),f5(t,`keyword`,e?.keyword),f5(t,`status`,e?.status);let n=t.toString()?`?${t}`:``;return a5.get(`/admin/teams${n}`)}async function c5(e=!0){return a5.get(`/admin/teams/options?include_disabled=${e?`true`:`false`}`)}async function wBe(e){let t={name:e.name,code:e.code||null,description:e.description||null,status:e.status||`active`,sort_order:e.sort_order??0};return e.id?a5.put(`/admin/teams/${e.id}`,t):a5.post(`/admin/teams`,t)}async function TBe(e){await a5.delete(`/admin/teams/${e}`)}async function EBe(e,t){return a5.put(`/admin/teams/${e}/manager`,{user_id:t})}async function DBe(e,t=1,n=50){let r=new URLSearchParams;return r.set(`page`,String(t)),r.set(`page_size`,String(n)),r.set(`user_type`,`frontend`),r.set(`team_id`,e),a5.get(`/admin/users?${r.toString()}`)}async function OBe(e,t,n){await a5.post(`/admin/users/${e}/credits`,{amount:t,description:n})}async function kBe(e,t){await a5.put(`/admin/users/${e}/status`,{is_active:t})}async function ABe(){return a5.get(`/admin/model-configs`)}async function l5(e){return e.id?a5.put(`/admin/model-configs/${e.id}`,e):a5.post(`/admin/model-configs`,e)}async function jBe(e){await a5.delete(`/admin/model-configs/${e}`)}async function u5(){return a5.get(`/admin/system-configs`)}async function d5(e,t){await a5.put(`/admin/system-configs/${e}`,{value:t})}async function MBe(){return a5.get(`/admin/resource-capacity/global`)}async function NBe(e){return a5.put(`/admin/resource-capacity/global`,{enabled:e.enabled,limit_value:e.limitValue??null,limit_unit:e.limitUnit??null})}async function PBe(e){return a5.get(`/admin/users/${e}/resource-capacity`)}async function FBe(e,t){return a5.put(`/admin/users/${e}/resource-capacity`,{enabled:t.enabled,limit_value:t.limitValue??null,limit_unit:t.limitUnit??null})}async function IBe(e){return a5.delete(`/admin/users/${e}/resource-capacity`)}async function LBe(e,t){let n=new FormData;n.append(`file`,e),n.append(`config_key`,t);let r=localStorage.getItem(`auth_token`),i=await fetch(`http://ceshi.apiforeign.minzhong.cn/api/admin/upload-pdf`,{method:`POST`,headers:r?{Authorization:`Bearer ${r}`}:{},body:n});if(!i.ok){let e=await i.text();throw Error(e||`上传失败`)}return i.json()}async function RBe(e){let t=new FormData;t.append(`file`,e);let n=localStorage.getItem(`auth_token`),r=await fetch(`http://ceshi.apiforeign.minzhong.cn/api/admin/upload-logo`,{method:`POST`,headers:n?{Authorization:`Bearer ${n}`}:{},body:t});if(!r.ok){let e=await r.text();throw Error(e||`上传失败`)}return r.json()}function f5(e,t,n){n!=null&&String(n)!==``&&e.set(t,String(n))}async function p5(e){let t=new URLSearchParams;f5(t,`page`,e?.page),f5(t,`page_size`,e?.pageSize),f5(t,`user_id`,e?.userId),f5(t,`user_name`,e?.userName),f5(t,`user_type`,e?.userType),f5(t,`frontend_user_kind`,e?.frontendUserKind),f5(t,`team_id`,e?.teamId),f5(t,`record_type`,e?.recordType||e?.type),f5(t,`credit_subject`,e?.creditSubject),f5(t,`media_type`,e?.mediaType),f5(t,`charge_kind`,e?.chargeKind),f5(t,`source_module`,e?.sourceModule),f5(t,`source_step_code`,e?.sourceStepCode),f5(t,`billing_scene`,e?.billingScene),f5(t,`start_date`,e?.startDate),f5(t,`end_date`,e?.endDate);let n=t.toString()?`?${t}`:``;return a5.get(`/admin/credit-records${n}`)}async function zBe(){return a5.get(`/admin/industry-configs`)}async function m5(e){return e.id?a5.put(`/admin/industry-configs/${e.id}`,e):a5.post(`/admin/industry-configs`,e)}async function BBe(e){await a5.delete(`/admin/industry-configs/${e}`)}async function VBe(){return a5.get(`/admin/video-engines`)}async function h5(e){return e.id?a5.put(`/admin/video-engines/${e.id}`,e):a5.post(`/admin/video-engines`,e)}async function HBe(e){await a5.delete(`/admin/video-engines/${e}`)}async function UBe(){return a5.get(`/admin/image-engines`)}async function g5(e){return e.id?a5.put(`/admin/image-engines/${e.id}`,e):a5.post(`/admin/image-engines`,e)}async function WBe(e){await a5.delete(`/admin/image-engines/${e}`)}async function GBe(){return a5.get(`/admin/credit-ratios`)}async function _5(e){return e.id?a5.put(`/admin/credit-ratios/${e.id}`,e):a5.post(`/admin/credit-ratios`,e)}async function KBe(e){await a5.delete(`/admin/credit-ratios/${e}`)}async function qBe(){return a5.get(`/admin/payment-configs`)}async function JBe(e){await a5.put(`/admin/payment-configs/batch`,e)}async function YBe(e){let t=new URLSearchParams;e?.paymentMethod&&t.set(`payment_method`,e.paymentMethod),e?.status&&t.set(`status`,e.status),e?.startDate&&t.set(`start_date`,e.startDate),e?.endDate&&t.set(`end_date`,e.endDate);let n=t.toString(),r=n?`/admin/payment-stats?${n}`:`/admin/payment-stats`;return a5.get(r)}async function XBe(e){let t=new URLSearchParams;return e?.method&&t.set(`payment_method`,e.method),e?.status&&t.set(`status`,e.status),e?.startDate&&t.set(`start_date`,e.startDate),e?.endDate&&t.set(`end_date`,e.endDate),e?.page&&t.set(`page`,String(e.page)),e?.pageSize&&t.set(`page_size`,String(e.pageSize)),a5.get(`/admin/payment-orders?${t.toString()}`)}async function ZBe(e){await a5.post(`/admin/payment-orders/${e}/refund`)}async function QBe(e=1,t=20){let n=new URLSearchParams;return n.set(`page`,String(e)),n.set(`page_size`,String(t)),a5.get(`/admin/notifications?${n.toString()}`)}async function $Be(e){await a5.post(`/admin/notifications`,e)}async function eVe(e){await a5.delete(`/admin/notifications/${e}`)}async function tVe(e){return a5.get(`/admin/notifications/${e}/read-users`)}async function v5(){return a5.get(`/admin/menu-configs`)}async function y5(e){return e.id?a5.put(`/admin/menu-configs/${e.id}`,e):a5.post(`/admin/menu-configs`,e)}async function nVe(e){await a5.delete(`/admin/menu-configs/${e}`)}async function rVe(e){return a5.post(`/admin/users`,e)}async function iVe(e,t){await a5.put(`/admin/users/${e}/menus`,{allowed_menus:t})}async function aVe(e,t){await a5.put(`/admin/users/${e}/reset-password`,{new_password:t})}async function oVe(e,t){await a5.post(`/admin/change-password`,{old_password:e,new_password:t})}async function b5(){return a5.get(`/auth/site-info`,!1)}async function sVe(){return a5.get(`/admin/recharge-packages`)}async function x5(e){return e.id?a5.put(`/admin/recharge-packages/${e.id}`,e):a5.post(`/admin/recharge-packages`,e)}async function cVe(e){await a5.delete(`/admin/recharge-packages/${e}`)}async function lVe(e){let t=e?`?page=${e}`:``;return a5.get(`/admin/operation-logs${t}`)}async function uVe(e){let t=e?`?page=${e}`:``;return a5.get(`/admin/user-oauth-apps/list${t}`)}async function dVe(e){return a5.post(`/admin/user-oauth-apps/create`,e)}async function S5(e){return a5.get(`/admin/user-oauth-apps/read/${e}`)}async function fVe(e,t){return a5.post(`/admin/user-oauth-apps/update/${e}`,t)}async function pVe(e){await a5.get(`/admin/user-oauth-apps/delete/${e}`)}async function mVe(e){let t=new URLSearchParams;e?.page&&t.set(`page`,String(e.page)),e?.page_size&&t.set(`page_size`,String(e.page_size)),e?.type_name&&t.set(`type_name`,e.type_name),e?.open_type&&t.set(`open_type`,String(e.open_type));let n=t.toString();return a5.get(`/open-type/list${n?`?${n}`:``}`)}async function C5(e){return a5.get(`/open-type/select/${e}`)}async function hVe(e){return a5.post(`/open-type/create`,e)}async function gVe(e,t){return a5.put(`/open-type/update/${e}`,t)}async function _Ve(e){await a5.delete(`/open-type/delete/${e}`)}async function w5(){return a5.get(`/open-type/open_type_all`)}async function vVe(e){let t=new URLSearchParams;e?.userId&&t.set(`user_id`,e.userId),e?.status&&t.set(`status`,e.status),e?.page&&t.set(`page`,String(e.page)),e?.pageSize&&t.set(`page_size`,String(e.pageSize));let n=t.toString();return a5.get(`/admin/generation-records${n?`?${n}`:``}`)}async function yVe(e,t,n){await a5.put(`/admin/generation-records/${e}/status`,{status:t,video_url:n})}async function bVe(e,t,n,r){await a5.post(`/admin/generation-records/${e}/generate`,{aspect_ratio:t,resolution:n,image_size:r})}async function xVe(){return a5.get(`/generation-ai/engines`)}async function SVe(e){let t=new URLSearchParams;e?.genType&&t.set(`gen_type`,e.genType),e?.status&&t.set(`status`,e.status),e?.page&&t.set(`page`,String(e.page)),e?.pageSize&&t.set(`page_size`,String(e.pageSize)),e?.userId&&t.set(`user_id`,e.userId),e?.userName&&t.set(`user_name`,e.userName),e?.engineId&&t.set(`engine_id`,e.engineId),e?.createdStart&&t.set(`created_start`,e.createdStart),e?.createdEnd&&t.set(`created_end`,e.createdEnd);let n=t.toString();return a5.get(`/generation-ai/tasks${n?`?${n}`:``}`)}function T5(e,t,n){n==null||String(n).trim()===``||e.set(t,String(n))}async function CVe(e){let t=new URLSearchParams;T5(t,`status`,e?.status),T5(t,`keyword`,e?.keyword),T5(t,`user_id`,e?.userId),T5(t,`user_name`,e?.userName),T5(t,`created_start`,e?.createdStart),T5(t,`created_end`,e?.createdEnd),T5(t,`page`,e?.page),T5(t,`page_size`,e?.pageSize);let n=t.toString();return a5.get(`/hot-opening-replications/tasks${n?`?${n}`:``}`)}async function wVe(e){return a5.get(`/hot-opening-replications/tasks/${e}`)}async function TVe(e){let t=new URLSearchParams;T5(t,`status`,e?.status),T5(t,`analysis_status`,e?.analysisStatus),T5(t,`split_status`,e?.splitStatus),T5(t,`keyword`,e?.keyword),T5(t,`user_id`,e?.userId),T5(t,`user_name`,e?.userName),T5(t,`created_start`,e?.createdStart),T5(t,`created_end`,e?.createdEnd),T5(t,`page`,e?.page),T5(t,`page_size`,e?.pageSize);let n=t.toString();return a5.get(`/shot-replications/task-sets${n?`?${n}`:``}`)}async function EVe(e){return a5.get(`/shot-replications/task-sets/${e}`)}async function DVe(e,t){let n=new URLSearchParams;T5(n,`source_mode`,t?.sourceMode),T5(n,`split_status`,t?.splitStatus),T5(n,`analysis_status`,t?.analysisStatus),T5(n,`replicate_status`,t?.replicateStatus),T5(n,`page`,t?.page),T5(n,`page_size`,t?.pageSize);let r=n.toString();return a5.get(`/shot-replications/task-sets/${e}/segments${r?`?${r}`:``}`)}async function OVe(e){return a5.get(`/shot-replications/segments/${e}`)}async function kVe(e){return a5.get(`/shot-replications/projects/${e}`)}async function AVe(){return a5.get(`/admin/video-prompt-schema-config`)}async function jVe(e){return a5.put(`/admin/video-prompt-schema-config`,e)}async function MVe(){return a5.post(`/admin/video-prompt-schema-config/reset-default`)}async function NVe(){return a5.get(`/admin/video-prompt-schema-config/export`)}async function PVe(e){return a5.post(`/admin/video-prompt-schema-config/import`,e)}async function FVe(e){return a5.post(`/admin/video-prompt-schema-config/preview`,e)}async function IVe(e){return a5.post(`/user-oauth/request_oauth`,e)}async function LVe(e){let t=new URLSearchParams;return e.account_userid&&t.set(`account_userid`,e.account_userid),e.open_type!==void 0&&t.set(`open_type`,String(e.open_type)),e.account_id&&t.set(`account_id`,e.account_id),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),a5.get(`/user-oauth/oauth_list?${t.toString()}`)}async function E5(e){let t=new FormData;t.append(`file`,e);let n=localStorage.getItem(`auth_token`),r=await fetch(`http://ceshi.apiforeign.minzhong.cn/api/generation-records/upload-image`,{method:`POST`,headers:n?{Authorization:`Bearer ${n}`}:{},body:t});if(!r.ok)throw Error(`图片上传失败`);let i=await r.json();return{url:i.url,filename:i.filename}}async function D5(){return a5.get(`/material-consumption/fields`)}async function RVe(e){let t=new URLSearchParams;return e.advertiser_id&&t.set(`advertiser_id`,e.advertiser_id),e.user_id&&t.set(`user_id`,e.user_id),e.consume_date!==void 0&&t.set(`consume_date`,e.consume_date[0]+`,`+e.consume_date[1]),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),a5.get(`/material-consumption/admin/list?${t.toString()}`)}async function zVe(){return a5.get(`/admin/home-material/config`)}async function BVe(e){return a5.put(`/admin/home-material/config`,{enabled:e.enabled,title:e.title,subtitle:e.subtitle,show_original_in_admin:e.showOriginalInAdmin})}async function O5(e){let t=new URLSearchParams;f5(t,`page`,e?.page),f5(t,`page_size`,e?.pageSize),f5(t,`keyword`,e?.keyword),f5(t,`is_active`,e?.isActive);let n=t.toString()?`?${t}`:``;return a5.get(`/admin/home-material/categories${n}`)}async function VVe(e){let t={name:e.name,key:e.key,description:e.description||null,icon:e.icon||null,is_active:e.is_active,sort_order:e.sort_order};return e.id?a5.put(`/admin/home-material/categories/${e.id}`,t):a5.post(`/admin/home-material/categories`,t)}async function HVe(e){await a5.delete(`/admin/home-material/categories/${e}`)}async function k5(e){let t=new URLSearchParams;f5(t,`page`,e?.page),f5(t,`page_size`,e?.pageSize),f5(t,`is_active`,e?.isActive);let n=t.toString()?`?${t}`:``;return a5.get(`/admin/home-material/watermarks${n}`)}async function UVe(e,t,n=!1){let r=new FormData;return r.append(`file`,e),t&&r.append(`name`,t),r.append(`is_default`,String(n)),a5.post(`/admin/home-material/watermarks`,r)}async function WVe(e,t){return a5.put(`/admin/home-material/watermarks/${e}`,t)}async function GVe(e){await a5.delete(`/admin/home-material/watermarks/${e}`)}async function KVe(e){let t=new URLSearchParams;f5(t,`page`,e?.page),f5(t,`page_size`,e?.pageSize),f5(t,`category_id`,e?.categoryId),f5(t,`media_type`,e?.mediaType),f5(t,`status`,e?.status),f5(t,`is_active`,e?.isActive),f5(t,`keyword`,e?.keyword);let n=t.toString()?`?${t}`:``;return a5.get(`/admin/home-material/assets${n}`)}async function qVe(e){return a5.get(`/admin/home-material/assets/${e}/status`)}function JVe(e){return e?{text:e.text,opacity_level:e.opacityLevel,font_size_px:e.fontSizePx,color:e.color,rotate_deg:e.rotateDeg,gap_x:e.gapX,gap_y:e.gapY,staggered:e.staggered}:null}async function YVe(e){let t=new FormData;if(t.append(`category_id`,e.categoryId),t.append(`file`,e.file),t.append(`media_type`,e.mediaType),e.title&&e.title.trim()&&t.append(`title`,e.title.trim()),t.append(`watermark_type`,e.watermarkType),e.watermarkType===`image`)e.watermarkId&&t.append(`watermark_id`,e.watermarkId),e.watermarkFile&&t.append(`watermark_file`,e.watermarkFile),t.append(`opacity_level`,String(e.opacityLevel)),t.append(`position`,e.position),e.customXRatio!==void 0&&e.customXRatio!==null&&t.append(`custom_x_ratio`,String(e.customXRatio)),e.customYRatio!==void 0&&e.customYRatio!==null&&t.append(`custom_y_ratio`,String(e.customYRatio)),t.append(`size_mode`,e.sizeMode),e.widthRatio!==void 0&&e.widthRatio!==null&&t.append(`width_ratio`,String(e.widthRatio)),e.widthPx!==void 0&&e.widthPx!==null&&t.append(`width_px`,String(e.widthPx)),t.append(`margin_x`,String(e.marginX)),t.append(`margin_y`,String(e.marginY));else{let n=JVe(e.textWatermark);n&&(t.append(`text_watermark_text`,n.text),t.append(`text_watermark_opacity_level`,String(n.opacity_level)),t.append(`text_watermark_font_size_px`,String(n.font_size_px)),t.append(`text_watermark_color`,n.color),t.append(`text_watermark_rotate_deg`,String(n.rotate_deg)),t.append(`text_watermark_gap_x`,String(n.gap_x)),t.append(`text_watermark_gap_y`,String(n.gap_y)),t.append(`text_watermark_staggered`,String(n.staggered)))}return t.append(`is_active`,String(e.isActive)),t.append(`sort_order`,String(e.sortOrder)),t.append(`wait`,String(!!e.wait)),t.append(`wait_timeout_seconds`,String(e.waitTimeoutSeconds??30)),a5.post(`/admin/home-material/assets`,t)}async function XVe(e){return a5.post(`/admin/home-material/text-watermark-preview`,e)}async function ZVe(e,t){return a5.post(`/admin/home-material/assets/${e}/regenerate-watermark`,t)}async function QVe(e){await a5.delete(`/admin/home-material/assets/${e}`)}async function $Ve(e){let t=new URLSearchParams;return e.id&&t.set(`id`,e.id),e.phone&&t.set(`phone`,e.phone),e.account_id&&t.set(`account_id`,e.account_id),e.account_userid&&t.set(`account_userid`,e.account_userid),e.created_at!==void 0&&t.set(`created_at`,e.created_at[0]+`,`+e.created_at[1]),e.appid&&t.set(`appid`,e.appid),e.open_type!==void 0&&t.set(`open_type`,String(e.open_type)),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),a5.get(`/material-admin/oauth-list?${t.toString()}`)}async function eHe(e){let t=new URLSearchParams;return e.id&&t.set(`id`,e.id),e.phone&&t.set(`phone`,e.phone),e.resource_type&&t.set(`resource_type`,e.resource_type),e.advertiser_id&&t.set(`advertiser_id`,e.advertiser_id),e.material_id&&t.set(`material_id`,e.material_id),e.upload_id&&t.set(`upload_id`,e.upload_id),e.created_at!==void 0&&t.set(`created_at`,e.created_at[0]+`,`+e.created_at[1]),e.status&&t.set(`status`,e.status),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),a5.get(`/material-admin/material-list?${t.toString()}`)}async function tHe(e){let t=new URLSearchParams;return e.id&&t.set(`id`,e.id),e.phone&&t.set(`phone`,e.phone),e.created_at!==void 0&&t.set(`created_at`,e.created_at[0]+`,`+e.created_at[1]),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),a5.get(`/material-admin/pre-test-template-list?${t.toString()}`)}async function nHe(e={}){let t=new URLSearchParams;return t.set(`page`,String(e.page||1)),t.set(`page_size`,String(e.pageSize||20)),e.userId&&t.set(`user_id`,e.userId),e.keyword&&t.set(`keyword`,e.keyword),e.status&&t.set(`status`,e.status),a5.get(`/admin/private-portrait/projects?${t.toString()}`)}async function rHe(e={}){let t=new URLSearchParams;return t.set(`page`,String(e.page||1)),t.set(`page_size`,String(e.pageSize||20)),e.userId&&t.set(`user_id`,e.userId),e.projectId&&t.set(`project_id`,e.projectId),e.keyword&&t.set(`keyword`,e.keyword),e.status&&t.set(`status`,e.status),a5.get(`/admin/private-portrait/assets?${t.toString()}`)}async function iHe(e){return a5.get(`/admin/private-portrait/users/${e}/config`)}async function aHe(e,t){return a5.put(`/admin/private-portrait/users/${e}/config`,{private_portrait_image_limit:t})}var A5=uBe(e=>({user:null,loading:!0,login:async(t,n,r)=>{e({user:await vBe(t,n,void 0,r)})},logout:async()=>{await yBe(),e({user:null})},checkAuth:async()=>{try{if(!localStorage.getItem(`auth_token`)){e({user:null,loading:!1});return}e({user:await bBe(),loading:!1})}catch(t){(t?.message?.includes(`401`)||t?.message?.includes(`Unauthorized`))&&localStorage.removeItem(`auth_token`),e({user:null,loading:!1})}}})),oHe=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),Q=o(((e,t)=>{t.exports=oHe()}))(),{Sider:sHe,Content:cHe}=GN,j5={HomeOutlined:(0,Q.jsx)(SQ,{}),PlayCircleOutlined:(0,Q.jsx)(_0,{}),WalletOutlined:(0,Q.jsx)(f8,{}),RobotOutlined:(0,Q.jsx)(R2,{}),SettingOutlined:(0,Q.jsx)(h4,{}),BellOutlined:(0,Q.jsx)(XU,{}),UserOutlined:(0,Q.jsx)(X6,{}),AppstoreOutlined:(0,Q.jsx)(EH,{}),FileTextOutlined:(0,Q.jsx)(LM,{}),StarOutlined:(0,Q.jsx)(g3,{}),HeartOutlined:(0,Q.jsx)(dQ,{}),CameraOutlined:(0,Q.jsx)(aK,{}),DashboardOutlined:(0,Q.jsx)(OJ,{}),CalculatorOutlined:(0,Q.jsx)(WG,{}),DollarOutlined:(0,Q.jsx)(aY,{}),GiftOutlined:(0,Q.jsx)(BZ,{}),ThunderboltOutlined:(0,Q.jsx)(t6,{}),FireOutlined:(0,Q.jsx)($X,{}),CloudOutlined:(0,Q.jsx)(wq,{}),SmileOutlined:(0,Q.jsx)($4,{}),TrophyOutlined:(0,Q.jsx)(v6,{}),RocketOutlined:(0,Q.jsx)(V2,{}),BulbOutlined:(0,Q.jsx)(FG,{}),CodeOutlined:(0,Q.jsx)(Nq,{}),PictureOutlined:(0,Q.jsx)(c0,{}),VideoCameraOutlined:(0,Q.jsx)(c8,{}),AudioOutlined:(0,Q.jsx)(nU,{}),MailOutlined:(0,Q.jsx)(V$,{}),PhoneOutlined:(0,Q.jsx)(t0,{}),GlobalOutlined:(0,Q.jsx)(qZ,{}),ShoppingCartOutlined:(0,Q.jsx)(C4,{}),TeamOutlined:(0,Q.jsx)(Q3,{}),BarChartOutlined:(0,Q.jsx)(kU,{}),PieChartOutlined:(0,Q.jsx)(d0,{}),LineChartOutlined:(0,Q.jsx)(x$,{}),SecurityScanOutlined:(0,Q.jsx)(c4,{}),ApiOutlined:(0,Q.jsx)(cH,{}),DatabaseOutlined:(0,Q.jsx)(MJ,{}),CloudServerOutlined:(0,Q.jsx)(Eq,{}),MenuOutlined:(0,Q.jsx)(r1,{}),PlusOutlined:(0,Q.jsx)(pA,{}),EditOutlined:(0,Q.jsx)(FR,{}),DeleteOutlined:(0,Q.jsx)(MR,{}),LockOutlined:(0,Q.jsx)(M$,{}),LogoutOutlined:(0,Q.jsx)(I$,{})},lHe=()=>{let e=Ze(),t=Je(),{user:n,loading:r,logout:i}=A5(),[a,o]=(0,C.useState)([]),[s,c]=(0,C.useState)(!1),[l]=X.useForm(),[u,d]=(0,C.useState)(()=>{let e=localStorage.getItem(`siteInfo`);return e&&JSON.parse(e).siteName||`管理后台`}),[f,p]=(0,C.useState)(()=>{let e=localStorage.getItem(`siteInfo`);return e&&JSON.parse(e).siteLogo||``});if((0,C.useEffect)(()=>{b5().then(e=>{let t=e.siteName||`管理后台`,n=e.siteLogo||``;if(d(t),p(n),document.title=t===`管理后台`?t:t+` - 管理后台`,localStorage.setItem(`siteInfo`,JSON.stringify({siteName:t,siteLogo:n})),n){let e=document.querySelector(`link[rel="icon"]`);e||(e=document.createElement(`link`),e.rel=`icon`,document.head.appendChild(e)),e.href=n,e.type=`image/png`}}).catch(()=>{})},[]),(0,C.useEffect)(()=>{v5().then(e=>{let t=e.filter(e=>{let t=e.menu_target??e.menuTarget??`admin`;return(e.is_active??e.isActive??!0)&&(t===`admin`||t===`both`)}),r=!!(n?.isAdmin??n?.is_admin);if(n&&!r){let e=n.allowedMenus??n?.allowed_menus;if(e&&Array.isArray(e)&&e.length>0){let n=new Set(e);t=t.filter(e=>(e.menu_type??e.menuType)===`group`?t.some(t=>(t.parent_id??t.parentId)===e.id&&n.has(t.path)):n.has(e.path))}else t=[]}o(t)}).catch(()=>{})},[n]),r)return(0,Q.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,alignItems:`center`,height:`100vh`},children:(0,Q.jsx)(pP,{size:`large`})});if(!n)return(0,Q.jsx)(Tt,{to:`/admin/login`,replace:!0});let m={};a.filter(e=>(e.menu_type??e.menuType)!==`group`&&(e.parent_id??e.parentId)).forEach(e=>{let t=e.parent_id??e.parentId;m[t]||(m[t]=[]),m[t].push(e)});let h=[...a].sort((e,t)=>(e.sort_order??e.sortOrder??0)-(t.sort_order??t.sortOrder??0)),g=[];h.forEach(e=>{let t=e.menu_type??e.menuType,n=e.parent_id??e.parentId;if(t===`group`){let t=(m[e.id]||[]).sort((e,t)=>(e.sort_order??e.sortOrder??0)-(t.sort_order??t.sortOrder??0)).map(e=>({key:e.path,icon:j5[e.icon]||void 0,label:e.label}));t.length>0&&g.push({key:`group-${e.id}`,icon:j5[e.icon]||void 0,label:e.label,children:t})}else n||g.push({key:e.path,icon:j5[e.icon]||void 0,label:e.label})});let _=!!(n?.isAdmin??n?.is_admin);g.length===0&&_&&g.push({key:`/`,icon:(0,Q.jsx)(OJ,{}),label:`数据概览`},{key:`/users`,icon:(0,Q.jsx)(X6,{}),label:`用户管理`});let v=t.pathname,y=[];g.forEach(e=>{e.children?e.children.forEach(e=>y.push(e.key)):y.push(e.key)}),y.includes(v)||(v=y.find(e=>v.startsWith(e))||`/`);let b=[];return g.forEach(e=>{e.children&&e.children.some(e=>e.key===v)&&b.push(e.key)}),(0,Q.jsxs)(GN,{style:{minHeight:`100vh`,background:`#f1f5f9`},children:[(0,Q.jsxs)(sHe,{width:240,theme:`light`,style:{position:`fixed`,left:16,top:16,bottom:16,width:240,background:`linear-gradient(180deg, #ffffff 0%, #f8fafc 100%)`,borderRadius:`20px`,boxShadow:`0 4px 32px rgba(0, 0, 0, 0.06), 0 1px 8px rgba(0, 0, 0, 0.04)`,border:`1px solid rgba(0, 0, 0, 0.06)`,zIndex:100},children:[(0,Q.jsxs)(`div`,{style:{height:80,display:`flex`,alignItems:`center`,justifyContent:`center`,gap:12,background:`linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.04) 100%)`},children:[(0,Q.jsx)(`div`,{style:{width:42,height:42,borderRadius:14,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.35)`,overflow:`hidden`},children:f?(0,Q.jsx)(`img`,{src:f,alt:`logo`,style:{width:28,height:28,objectFit:`contain`}}):(0,Q.jsx)(t6,{style:{fontSize:20,color:`#ffffff`}})}),(0,Q.jsx)(`span`,{style:{color:`#1e293b`,fontSize:17,fontWeight:700,letterSpacing:-.02,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:u})]}),(0,Q.jsx)(`div`,{style:{overflowY:`auto`,maxHeight:`calc(100vh - 200px)`,paddingRight:8},children:(0,Q.jsx)(nC,{mode:`inline`,selectedKeys:[v],defaultOpenKeys:b,items:g,style:{background:`transparent`,border:`none`,paddingTop:8,marginTop:8},onClick:({key:t})=>{t.startsWith(`group-`)||e(t)},theme:`light`})}),(0,Q.jsx)(`div`,{style:{position:`absolute`,bottom:16,left:16,right:16,padding:12,background:`linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%)`,borderRadius:12,border:`1px solid rgba(0, 0, 0, 0.06)`},children:(0,Q.jsx)(FM,{menu:{items:[{key:`user`,icon:(0,Q.jsx)(X6,{}),label:n?.username,disabled:!0},{type:`divider`},{key:`changePwd`,icon:(0,Q.jsx)(M$,{}),label:`修改密码`},{key:`logout`,icon:(0,Q.jsx)(I$,{}),label:`退出登录`,danger:!0}],onClick:({key:t})=>{t===`logout`&&(i(),e(`/login`)),t===`changePwd`&&(c(!0),l.resetFields())}},placement:`topRight`,arrow:!0,children:(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10,cursor:`pointer`,padding:`8px 12px`,borderRadius:12,transition:`all 0.25s ease`,background:`transparent`},onMouseEnter:e=>{e.currentTarget.style.background=`#ffffff`,e.currentTarget.style.boxShadow=`0 4px 12px rgba(0, 0, 0, 0.08)`},onMouseLeave:e=>{e.currentTarget.style.background=`transparent`,e.currentTarget.style.boxShadow=`none`},children:[(0,Q.jsx)(lx,{size:32,icon:(0,Q.jsx)(X6,{}),style:{background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`}}),(0,Q.jsxs)(`div`,{style:{flex:1,overflow:`hidden`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:13,fontWeight:600,color:`#1e293b`,display:`block`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:n?.username}),(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:_?`管理员`:`普通用户`})]})]})})})]}),(0,Q.jsxs)(GN,{style:{marginLeft:272,marginTop:16,marginRight:16,marginBottom:16,background:`transparent`},children:[(0,Q.jsx)(`div`,{style:{height:72,background:`#ffffff`,borderRadius:`16px 16px 0 0`,boxShadow:`0 2px 12px rgba(0, 0, 0, 0.04)`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:`0 32px`,fontFamily:`var(--font-sans)`,border:`1px solid rgba(0, 0, 0, 0.06)`,borderBottom:`none`},children:(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:18,color:`#1e293b`,fontWeight:600},children:g.find(e=>e.key===v)?.label||g.flatMap(e=>e.children||[]).find(e=>e.key===v)?.label||`管理后台`})}),(0,Q.jsx)(cHe,{style:{padding:32,background:`#ffffff`,borderRadius:`0 0 16px 16px`,boxShadow:`0 4px 24px rgba(0, 0, 0, 0.06)`,overflow:`auto`,border:`1px solid rgba(0, 0, 0, 0.06)`,borderTop:`none`},children:g.length===0&&!_?(0,Q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,height:`60vh`,color:`#94a3b8`},children:[(0,Q.jsx)(M$,{style:{fontSize:48,marginBottom:16,color:`#cbd5e1`}}),(0,Q.jsx)(`div`,{style:{fontSize:16,fontWeight:600,color:`#64748b`},children:`暂无任何权限`}),(0,Q.jsx)(`div`,{style:{fontSize:13,marginTop:8},children:`请联系管理员配置菜单权限`})]}):(0,Q.jsx)(Et,{})})]}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(M$,{}),`修改密码`]}),open:s,onOk:async()=>{try{let e=await l.validateFields();if(e.newPassword!==e.confirmPassword){wP.error(`两次输入的密码不一致`);return}await oVe(e.oldPassword,e.newPassword),wP.success(`密码修改成功`),c(!1),l.resetFields()}catch(e){if(e?.errorFields)return;wP.error(e?.message||`修改失败`)}},onCancel:()=>{c(!1),l.resetFields()},okText:`确认修改`,cancelText:`取消`,width:420,children:(0,Q.jsxs)(X,{form:l,layout:`vertical`,style:{marginTop:16},children:[(0,Q.jsx)(X.Item,{name:`oldPassword`,label:`原密码`,rules:[{required:!0,message:`请输入原密码`}],children:(0,Q.jsx)(HN.Password,{placeholder:`请输入原密码`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`newPassword`,label:`新密码`,rules:[{required:!0,min:6,message:`密码至少6位`}],children:(0,Q.jsx)(HN.Password,{placeholder:`请输入新密码(至少6位)`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`confirmPassword`,label:`确认新密码`,rules:[{required:!0,message:`请再次输入新密码`}],children:(0,Q.jsx)(HN.Password,{placeholder:`请再次输入新密码`,size:`large`})})]})})]})},uHe={1:`巨量`,2:`磁力`,3:`巨量星图`,4:`服务单`,5:`腾讯`},M5=e=>{if(!e)return``;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},dHe=()=>{let{message:e}=Iv.useApp(),[t,n]=(0,C.useState)([]),[r,i]=(0,C.useState)(!1),[a,o]=(0,C.useState)(!1),[s,c]=(0,C.useState)(!1),[l,u]=(0,C.useState)(void 0),[d,f]=(0,C.useState)(1),[p,m]=(0,C.useState)(10),[h,g]=(0,C.useState)(0),[_,v]=(0,C.useState)({account_userid:``,open_type:void 0,account_id:``}),[y,b]=(0,C.useState)({}),[x,S]=(0,C.useState)([]);(0,C.useEffect)(()=>{T(),w()},[]);let w=async()=>{try{let e=(await w5()).data||[],t={},n=[];e.forEach(e=>{t[e.openType]=e.typeName,n.push({value:e.openType,label:e.typeName})}),b(t),S(n)}catch(e){console.error(`加载开户方式列表失败:`,e)}},T=async(t=1,r=10,i=_)=>{o(!0);try{let e=await LVe({page:t,page_size:r,account_userid:i.account_userid||void 0,open_type:i.open_type,account_id:i.account_id||void 0});e?(e.data&&n(e.data.data||e.data),e.pagination&&(g(e.pagination.total||0),f(e.pagination.page||1),m(e.pagination.pageSize||10))):n(e||[])}catch{e.error(`获取授权列表失败`)}finally{o(!1)}},E=()=>{c(!0)},D=async()=>{if(!l){e.warning(`请选择开户方式`);return}i(!0);try{let t=await IVe({open_type:l});t.authUrl?window.open(t.authUrl,`_blank`):e.error(`获取授权链接失败`)}catch{e.error(`请求授权失败`)}finally{i(!1),c(!1),u(void 0)}},O=[{title:`ID`,dataIndex:`id`,key:`id`},{title:`授权账户ID`,dataIndex:`accountId`,key:`accountId`,width:160},{title:`授权账户名称`,dataIndex:`accountName`,key:`accountName`},{title:`授权账户角色`,dataIndex:`accountRole`,key:`accountRole`,render:e=>({ADVERTISER:`客户`,CUSTOMER_ADMIN:`普通版工作台-管理员`,CUSTOMER_OPERATOR:`普通版工作台-协作者`,AGENT:`代理商`,CHILD_AGENT:`二级代理商`,PLATFORM_ROLE_STAR:`星图账户`,PLATFORM_ROLE_SHOP_ACCOUNT:`抖音店铺账户`,PLATFORM_ROLE_QIANCHUAN_AGENT:`千川代理商`,PLATFORM_ROLE_STAR_AGENT:`星图代理商`,PLATFORM_ROLE_AWEME:`抖音号`,PLATFORM_ROLE_STAR_MCN:`星图MCN机构`,PLATFORM_ROLE_STAR_ISV:`星图服务商`,AGENT_SYSTEM_ACCOUNT:`代理商系统账户`,PLATFORM_ROLE_LOCAL_AGENT:`本地推代理商`,PLATFORM_ROLE_YUNTU_BRAND_ISV_ADMIN:`云图品牌服务商管理员`,PLATFORM_ROLE_LIFE:`抖音来客账户`,PLATFORM_ROLE_ENTERPRISE_BP_ADMIN:`升级版工作台管理员`,PLATFORM_ROLE_ENTERPRISE_BP_OPERATOR:`升级版工作台协作者`})[e]||e},{title:`授权账户用户ID`,dataIndex:`accountUserid`,key:`accountUserid`,render:e=>(0,Q.jsx)(`span`,{style:{color:e?`#1e293b`:`#94a3b8`},children:e||`-`})},{title:`授权账户用户名`,dataIndex:`accountUsername`,key:`accountUsername`},{title:`授权应用ID`,dataIndex:`appid`,key:`appid`},{title:`是否敏感物料授权`,dataIndex:`materialAuthStatus`,key:`materialAuthStatus`,width:100,render:e=>(0,Q.jsx)(kR,{color:e?`green`:`default`,children:e?`是`:`否`})},{title:`开户方式`,dataIndex:`openType`,key:`openType`,render:e=>(0,Q.jsx)(`span`,{style:{color:`#1e293b`},children:y[e]||e})},{title:`平台端口`,dataIndex:`portType`,key:`portType`,ellipsis:!0,render:e=>(0,Q.jsx)(`span`,{style:{color:`#1e293b`},children:uHe[e]||e})},{title:`用户id`,dataIndex:`userId`,key:`userId`},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:160,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:M5(e)})},{title:`更新时间`,dataIndex:`updatedAt`,key:`updatedAt`,width:160,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:M5(e)})}],k=t.map((e,t)=>({...e,index:t+1,key:e.id}));return(0,Q.jsxs)(`div`,{style:{minHeight:`94vh`},children:[(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(M$,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`授权管理`})]}),(0,Q.jsx)(cC,{type:`primary`,size:`medium`,icon:(0,Q.jsx)(pA,{}),onClick:E,loading:r,style:{borderRadius:8,fontSize:14,fontWeight:500},children:`点击授权`})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12,marginBottom:16},children:[(0,Q.jsx)(HN,{placeholder:`账号用户ID`,value:_.account_userid,onChange:e=>v(t=>({...t,account_userid:e.target.value})),style:{width:180},onPressEnter:()=>{f(1),T(1,p)}}),(0,Q.jsx)(Ob,{placeholder:`开户方式`,value:_.open_type,onChange:e=>v(t=>({...t,open_type:e})),style:{width:140},options:x}),(0,Q.jsx)(HN,{placeholder:`账号ID`,value:_.account_id,onChange:e=>v(t=>({...t,account_id:e.target.value})),style:{width:180},onPressEnter:()=>{f(1),T(1,p)}}),(0,Q.jsx)(cC,{type:`primary`,size:`medium`,onClick:()=>{f(1),T(1,p)},children:`搜索`}),(0,Q.jsx)(cC,{size:`medium`,onClick:()=>{v({account_userid:``,open_type:void 0,account_id:``}),f(1),T(1,p)},children:`重置`})]}),(0,Q.jsx)(gR,{dataSource:k,columns:O,loading:a,rowKey:`id`,bordered:!1,scroll:{x:`max-content`},pagination:{current:d,pageSize:p,total:h,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{f(e),m(t),T(e,t)},size:`small`}})]}),(0,Q.jsx)(EP,{title:`选择开户方式`,open:s,onOk:D,onCancel:()=>{c(!1),u(void 0)},okText:`确认授权`,cancelText:`取消`,confirmLoading:r,children:(0,Q.jsx)(Ob,{placeholder:`请选择开户方式`,value:l,onChange:e=>u(e),style:{width:`100%`},options:x})})]})},{RangePicker:fHe}=pM,N5=e=>e.replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),pHe=()=>{Ze();let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(0),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(!1),[c,l]=(0,C.useState)([]),[u,d]=(0,C.useState)([]),[f,p]=(0,C.useState)(``),[m,h]=(0,C.useState)(1),[g,_]=(0,C.useState)(10),[v,y]=(0,C.useState)(``),[b,x]=(0,C.useState)(``),[S,w]=(0,C.useState)();(0,C.useEffect)(()=>{E(),T()},[m,g,S]);let T=async()=>{a(!0);try{let e=await RVe({advertiser_id:v||void 0,user_id:b||void 0,consume_date:S,page:m,page_size:g});t(e.data||[]),r(e.pagination?.total||0)}catch{wP.error(`加载数据失败`)}finally{a(!1)}},E=async()=>{try{let e=((await D5()).data||[]).map(e=>({name:N5(e.field),description:e.description}));l(e);let t=localStorage.getItem(`consumeColumns`);d(t?JSON.parse(t):e.map(e=>e.name))}catch{wP.error(`加载表头字段失败`)}},D=e.map((e,t)=>({...e,index:t+1,key:e.id})),O=()=>{h(1),T()},k=()=>{y(``),x(``),w(void 0),h(1),T()},A=u.map(e=>c.find(t=>t.name===e)).filter(e=>!!e).map(e=>({title:e.description,dataIndex:e.name,key:e.name,ellipsis:!0}));return(0,Q.jsxs)(`div`,{style:{minHeight:`94vh`},children:[(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(aY,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`消耗记录`})]}),(0,Q.jsx)(NM,{children:(0,Q.jsx)(cC,{icon:(0,Q.jsx)(h4,{}),onClick:()=>s(!0),children:`自定义表头`})})]}),(0,Q.jsx)(`div`,{style:{marginBottom:16},children:(0,Q.jsxs)(NM,{wrap:!0,children:[(0,Q.jsx)(HN,{placeholder:`广告主ID`,value:v,onChange:e=>y(e.target.value),style:{width:200}}),(0,Q.jsx)(HN,{placeholder:`用户ID`,value:b,onChange:e=>x(e.target.value),style:{width:200}}),(0,Q.jsx)(fHe,{value:S?[(0,mC.default)(S[0]),(0,mC.default)(S[1])]:void 0,onChange:e=>{e&&e[0]&&e[1]?w([e[0].format(`YYYY-MM-DD`),e[1].format(`YYYY-MM-DD`)]):w(void 0)}}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(Cb,{}),onClick:O,children:`搜索`}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(HP,{}),onClick:k,children:`重置`})]})}),(0,Q.jsx)(gR,{dataSource:D,columns:A,loading:i,rowKey:`id`,bordered:!1,scroll:{x:`max-content`},pagination:{current:m,pageSize:g,total:n,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,size:`small`,onChange:(e,t)=>{h(e),_(t)}}})]}),(0,Q.jsx)(EP,{title:`自定义表头`,open:o,onOk:()=>{localStorage.setItem(`consumeColumns`,JSON.stringify(u)),wP.success(`表头设置已保存`),s(!1)},onCancel:()=>{s(!1),p(``)},okText:`确定`,cancelText:`取消`,width:800,children:(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:20,height:400},children:[(0,Q.jsxs)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`},children:[(0,Q.jsx)(HN,{placeholder:`搜索指标...`,value:f,allowClear:!0,onChange:e=>p(e.target.value),style:{marginBottom:8}}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12,marginBottom:12,display:`block`},children:`输入指标名称进行搜索`}),(0,Q.jsxs)(`div`,{style:{flex:1,overflowY:`auto`,border:`1px solid #f0f0f5`,borderRadius:8,padding:12},children:[(0,Q.jsx)(`div`,{style:{marginBottom:16},children:(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14,color:`#1e293b`},children:`任务详情指标`})}),(0,Q.jsx)(tj,{checked:u.length===c.length&&c.length>0,indeterminate:u.length>0&&u.length{e.target.checked?d(c.map(e=>e.name)):d([])},style:{marginBottom:12},children:`全选`}),(0,Q.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`1fr 1fr`,gap:8},children:c.filter(e=>e.description.toLowerCase().includes(f.toLowerCase())||e.name.toLowerCase().includes(f.toLowerCase())).map(e=>(0,Q.jsx)(tj,{checked:u.includes(e.name),onChange:t=>{t.target.checked?d(t=>[...t,e.name]):d(t=>t.filter(t=>t!==e.name))},children:e.description},e.name))})]})]}),(0,Q.jsxs)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:12},children:[(0,Q.jsxs)(Z.Text,{strong:!0,style:{fontSize:14,color:`#1e293b`},children:[`已添加(`,u.length,`)`]}),(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(cC,{size:`small`,onClick:()=>d([]),disabled:u.length===0,children:`清空`}),(0,Q.jsx)(cC,{size:`small`,onClick:async()=>{try{let e=((await D5()).data||[]).map(e=>({name:N5(e.field),description:e.description}));l(e),d(e.map(e=>e.name)),localStorage.removeItem(`consumeColumns`),wP.success(`表头字段已更新`)}catch{wP.error(`更新表头字段失败`)}},children:`更新表头字段`})]})]}),(0,Q.jsx)(`div`,{style:{flex:1,overflowY:`auto`,border:`1px solid #f0f0f5`,borderRadius:8,padding:12},children:u.length===0?(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:14,textAlign:`center`,display:`block`,padding:`40px 0`},children:`暂无已选指标`}):(0,Q.jsx)(`div`,{children:u.map((e,t)=>{let n=c.find(t=>t.name===e);return(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,padding:`8px 12px`,borderBottom:`1px solid #f0f0f5`,cursor:`move`,userSelect:`none`},draggable:!0,onDragStart:e=>{e.dataTransfer.setData(`index`,String(t))},onDragOver:e=>{e.preventDefault()},onDrop:e=>{let n=parseInt(e.dataTransfer.getData(`index`)),r=t;if(n!==r){let e=[...u],[t]=e.splice(n,1);e.splice(r,0,t),d(e)}},children:[(0,Q.jsx)(Z.Text,{children:n?.description||e}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:t+1})]},e)})})})]})]})})]})},mHe=()=>{let e=Ze(),{login:t}=A5(),[n,r]=(0,C.useState)(!1),i=(()=>{try{let e=localStorage.getItem(`siteInfo`);if(e){let t=JSON.parse(e);return{siteName:t.siteName||`VideoGen.AI`,siteLogo:t.siteLogo||``}}}catch{}return{siteName:`VideoGen.AI`,siteLogo:``}})(),[a,o]=(0,C.useState)(i.siteName),[s,c]=(0,C.useState)(i.siteLogo);return(0,C.useEffect)(()=>{b5().then(e=>{o(e.siteName),c(e.siteLogo)}).catch(()=>{})},[]),(0,Q.jsxs)(`div`,{style:{minHeight:`100vh`,display:`flex`,alignItems:`center`,justifyContent:`center`,backgroundImage:`url(/backimage.png)`,backgroundSize:`cover`,backgroundPosition:`center`,backgroundRepeat:`no-repeat`,backgroundAttachment:`fixed`,position:`relative`,overflow:`hidden`},children:[(0,Q.jsx)(`div`,{style:{position:`absolute`,inset:0,background:`linear-gradient(135deg, rgba(240,244,255,0.9) 0%, rgba(232,236,248,0.85) 40%, rgba(240,240,255,0.9) 70%, rgba(248,249,255,0.95) 100%)`}}),(0,Q.jsx)(`div`,{style:{position:`absolute`,width:500,height:500,borderRadius:`50%`,background:`radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%)`,top:-150,right:-100,filter:`blur(40px)`}}),(0,Q.jsx)(`div`,{style:{position:`absolute`,width:400,height:400,borderRadius:`50%`,background:`radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%)`,bottom:-100,left:-80,filter:`blur(50px)`}}),(0,Q.jsxs)(RA,{variant:`outlined`,style:{width:440,borderRadius:20,boxShadow:`0 20px 60px rgba(0,0,0,0.08)`,border:`1px solid #e2e8f0`,background:`#fff`,zIndex:1},styles:{body:{padding:`36px 28px`}},children:[(0,Q.jsxs)(`div`,{style:{textAlign:`center`,marginBottom:28},children:[(0,Q.jsx)(`div`,{style:{width:52,height:52,borderRadius:14,margin:`0 auto 16px`,display:`flex`,alignItems:`center`,justifyContent:`center`,background:s?`transparent`:`linear-gradient(135deg, #6366f1, #8b5cf6)`,boxShadow:s?`none`:`0 8px 24px rgba(99,102,241,0.25)`},children:s?(0,Q.jsx)(`img`,{src:s,alt:`logo`,style:{width:`100%`,height:`100%`,borderRadius:14,objectFit:`contain`}}):(0,Q.jsx)(t6,{style:{fontSize:26,color:`#fff`}})}),(0,Q.jsxs)(Z.Title,{level:3,style:{margin:0,color:`#1e293b`,fontWeight:700},children:[a,(0,Q.jsx)(`span`,{style:{color:`#6366f1`},children:`.AI`})]}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:14,color:`#94a3b8`},children:`管理后台`})]}),(0,Q.jsxs)(X,{onFinish:async n=>{r(!0);try{await t(n.username,n.password,n.rememberMe),wP.success(`登录成功`),e(`/`)}catch(e){let t=e?.message||`登录失败`;wP.error(t)}finally{r(!1)}},layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`username`,rules:[{required:!0,message:`请输入用户名`}],children:(0,Q.jsx)(HN,{placeholder:`用户名`,size:`large`,prefix:(0,Q.jsx)(X6,{style:{color:`#94a3b8`,marginRight:8}}),style:{background:`#fff`,border:`1.5px solid #e2e8f0`,color:`#1e293b`,height:48,borderRadius:10,fontSize:14}})}),(0,Q.jsx)(X.Item,{name:`password`,rules:[{required:!0,message:`请输入密码`}],children:(0,Q.jsx)(HN.Password,{placeholder:`密码`,size:`large`,prefix:(0,Q.jsx)(M$,{style:{color:`#94a3b8`,marginRight:8}}),style:{background:`#fff`,border:`1.5px solid #e2e8f0`,color:`#1e293b`,height:48,borderRadius:10,fontSize:14}})}),(0,Q.jsx)(X.Item,{name:`rememberMe`,valuePropName:`checked`,style:{marginBottom:12},children:(0,Q.jsx)(tj,{children:`记住我的登录状态`})}),(0,Q.jsx)(X.Item,{style:{marginBottom:8},children:(0,Q.jsx)(cC,{type:`primary`,htmlType:`submit`,loading:n,block:!0,size:`large`,style:{height:48,borderRadius:10,fontSize:16,fontWeight:600,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,boxShadow:`0 8px 24px rgba(99,102,241,0.25)`},children:`登录管理后台`})})]})]})]})};o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(lC()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_zh_cn=r(n.dayjs)})(e,(function(e){function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`zh-cn`,weekdays:`星期日_星期一_星期二_星期三_星期四_星期五_星期六`.split(`_`),weekdaysShort:`周日_周一_周二_周三_周四_周五_周六`.split(`_`),weekdaysMin:`日_一_二_三_四_五_六`.split(`_`),months:`一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月`.split(`_`),monthsShort:`1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月`.split(`_`),ordinal:function(e,t){return t===`W`?e+`周`:e+`日`},weekStart:1,yearStart:4,formats:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`YYYY/MM/DD`,LL:`YYYY年M月D日`,LLL:`YYYY年M月D日Ah点mm分`,LLLL:`YYYY年M月D日ddddAh点mm分`,l:`YYYY/M/D`,ll:`YYYY年M月D日`,lll:`YYYY年M月D日 HH:mm`,llll:`YYYY年M月D日dddd HH:mm`},relativeTime:{future:`%s内`,past:`%s前`,s:`几秒`,m:`1 分钟`,mm:`%d 分钟`,h:`1 小时`,hh:`%d 小时`,d:`1 天`,dd:`%d 天`,M:`1 个月`,MM:`%d 个月`,y:`1 年`,yy:`%d 年`},meridiem:function(e,t){var n=100*e+t;return n<600?`凌晨`:n<900?`早上`:n<1100?`上午`:n<1300?`中午`:n<1800?`下午`:`晚上`}};return n.default.locale(r,null,!0),r}))}))(),mC.default.locale(`zh-cn`);var hHe=()=>{let[e,t]=(0,C.useState)(null),[n,r]=(0,C.useState)(!0),[i,a]=(0,C.useState)([(0,mC.default)().startOf(`day`),(0,mC.default)()]),[o,s]=(0,C.useState)(`数据概览`),c=async()=>{r(!0);try{t(await o5(i[0]?.format(`YYYY-MM-DD`)||void 0,i[1]?.format(`YYYY-MM-DD`)||void 0))}catch{}r(!1)},l=async()=>{try{let e=(await u5()).find(e=>e.key===`site_name`);if(e){let t=`${e.value} 管理后台`;s(t),document.title=t}}catch{s(`数据概览`),document.title=`数据概览`}};(0,C.useEffect)(()=>{c(),l()},[]);let u=()=>{let e=[(0,mC.default)().startOf(`day`),(0,mC.default)()];a(e),m(e)},d=()=>{let e=(0,mC.default)().subtract(1,`day`),t=[e.startOf(`day`),e.endOf(`day`)];a(t),m(t)},f=()=>{let e=[(0,mC.default)().startOf(`week`),(0,mC.default)()];a(e),m(e)},p=()=>{let e=[(0,mC.default)().startOf(`month`),(0,mC.default)()];a(e),m(e)},m=e=>{let n=e[0]?.format(`YYYY-MM-DD`)||void 0,i=e[1]?.format(`YYYY-MM-DD`)||void 0;r(!0),o5(n,i).then(e=>{t(e),r(!1)}).catch(()=>{r(!1)})},h=e=>{e&&(a([e[0],e[1]]),m([e[0],e[1]]))},g=e?[{title:`用户数量`,value:e.totalUsers,lastPeriodValue:e.lastPeriodUsers,icon:(0,Q.jsx)(X6,{}),gradient:`linear-gradient(135deg, #667eea 0%, #764ba2 100%)`,prefix:``,suffix:`位用户`,description:`平台注册用户总数`},{title:`总项目数`,value:e.totalProjects,lastPeriodValue:e.lastPeriodProjects,icon:(0,Q.jsx)(H0,{}),gradient:`linear-gradient(135deg, #00d4ff 0%, #0099cc 100%)`,prefix:``,suffix:`个项目`,description:`创建的项目总数`},{title:`项目记录`,value:e.totalRecords,lastPeriodValue:e.lastPeriodRecords,icon:(0,Q.jsx)(LM,{}),gradient:`linear-gradient(135deg, #10b981 0%, #059669 100%)`,prefix:``,suffix:`条记录`,description:`项目记录总数`},{title:`创作记录`,value:e.totalGenerations,lastPeriodValue:e.lastPeriodGenerations,icon:(0,Q.jsx)(_0,{}),gradient:`linear-gradient(135deg, #f59e0b 0%, #d97706 100%)`,prefix:``,suffix:`次创作`,description:`AI创作记录总数`}]:[],_=e?[{title:`支付宝收入`,value:e.todayAlipayRevenue,icon:(0,Q.jsx)(f8,{}),gradient:`linear-gradient(135deg, #22c55e 0%, #16a34a 100%)`,prefix:`¥`,suffix:``,description:`支付宝收款`,tag:`支付宝`},{title:`微信收入`,value:e.todayWechatRevenue,icon:(0,Q.jsx)(aY,{}),gradient:`linear-gradient(135deg, #3b82f6 0%, #2563eb 100%)`,prefix:`¥`,suffix:``,description:`微信收款`,tag:`微信支付`},{title:`总收入`,value:e.totalRevenue,lastPeriodValue:e.lastPeriodRevenue,icon:(0,Q.jsx)(WH,{}),gradient:`linear-gradient(135deg, #ec4899 0%, #be185d 100%)`,prefix:`¥`,suffix:``,description:`平台总收入`,tag:`总收入`},{title:`消耗积分`,value:e.creditsConsumedToday,lastPeriodValue:e.lastPeriodCreditsConsumed,icon:(0,Q.jsx)(aY,{}),gradient:`linear-gradient(135deg, #ef4444 0%, #dc2626 100%)`,prefix:``,suffix:`积分`,description:`用户消耗积分`,tag:`积分消耗`}]:[],v=({title:e,value:t,lastPeriodValue:r,icon:i,gradient:a,prefix:o=``,suffix:s=``,description:c,tag:l})=>{let u=r!==void 0&&r>0?((t-r)/r*100).toFixed(1):null,d=u!==null&&parseFloat(u)>=0;return(0,Q.jsx)(RA,{bordered:!1,loading:n,hoverable:!0,style:{borderRadius:16,border:`1px solid rgba(0,0,0,0.04)`,background:`#ffffff`,boxShadow:`0 4px 20px rgba(0,0,0,0.05)`,transition:`all 0.3s ease`,overflow:`hidden`},children:(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16,padding:`16px 0`},children:[(0,Q.jsx)(`div`,{style:{width:52,height:52,borderRadius:14,background:a,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:24,color:`#fff`,flexShrink:0,boxShadow:`0 8px 24px rgba(0,0,0,0.1)`},children:i}),(0,Q.jsxs)(`div`,{style:{flex:1,minWidth:0},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:4},children:[(0,Q.jsx)(Z.Text,{style:{color:`#64748b`,fontSize:13},children:e}),l&&(0,Q.jsx)(`span`,{style:{fontSize:10,padding:`2px 8px`,borderRadius:10,background:`rgba(99,102,241,0.1)`,color:`#6366f1`,fontWeight:500},children:l})]}),(0,Q.jsxs)(`div`,{style:{fontSize:28,fontWeight:800,color:`#1e293b`,letterSpacing:-.5,marginBottom:2},children:[o,typeof t==`number`?t.toLocaleString():t,s]}),c&&(0,Q.jsx)(Z.Text,{style:{color:`#94a3b8`,fontSize:11},children:c}),u!==null&&r!==void 0&&(0,Q.jsxs)(`div`,{style:{marginTop:8,paddingTop:8,borderTop:`1px solid #f1f5f9`,display:`flex`,alignItems:`center`,gap:8},children:[(0,Q.jsxs)(Z.Text,{style:{color:`#94a3b8`,fontSize:11},children:[`上一周期: `,o,r.toLocaleString(),s]}),(0,Q.jsxs)(`span`,{style:{fontSize:11,fontWeight:500,color:d?`#10b981`:`#ef4444`,display:`flex`,alignItems:`center`,gap:2},children:[d?`↑`:`↓`,` `,Math.abs(parseFloat(u)),`%`]})]})]})]})})};return(0,Q.jsxs)(`div`,{style:{padding:0},children:[(0,Q.jsxs)(`div`,{style:{background:`linear-gradient(135deg, #667eea 0%, #764ba2 100%)`,padding:`24px 24px 32px`,borderRadius:0,marginBottom:-24,position:`relative`,overflow:`hidden`},children:[(0,Q.jsx)(`div`,{style:{position:`absolute`,top:-50,right:-50,width:200,height:200,background:`rgba(255,255,255,0.1)`,borderRadius:`50%`}}),(0,Q.jsx)(`div`,{style:{position:`absolute`,bottom:-30,left:-30,width:150,height:150,background:`rgba(255,255,255,0.08)`,borderRadius:`50%`}}),(0,Q.jsxs)(`div`,{style:{position:`relative`,zIndex:1},children:[(0,Q.jsx)(Z.Title,{level:2,style:{color:`#fff`,marginBottom:4,fontWeight:700},children:o}),(0,Q.jsx)(Z.Text,{style:{color:`rgba(255,255,255,0.8)`,fontSize:14},children:`欢迎回来,查看平台运营数据统计`})]})]}),(0,Q.jsxs)(`div`,{style:{marginTop:40},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,alignItems:`center`,gap:12,flexWrap:`wrap`,marginBottom:16},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(cC,{type:!i[0]||!i[1]||i[0]?.isSame((0,mC.default)().startOf(`day`))&&i[1]?.isSame((0,mC.default)(),`day`)?`primary`:`default`,size:`small`,onClick:u,children:`今日`}),(0,Q.jsx)(cC,{type:`default`,size:`small`,onClick:d,children:`昨日`}),(0,Q.jsx)(cC,{type:`default`,size:`small`,onClick:f,children:`本周`}),(0,Q.jsx)(cC,{type:`default`,size:`small`,onClick:p,children:`本月`})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,background:`#fff`,border:`1px solid #e2e8f0`,padding:`6px 12px`,borderRadius:8,boxShadow:`0 1px 2px rgba(0,0,0,0.05)`},children:[(0,Q.jsx)(sM,{style:{color:`#64748b`,fontSize:14}}),(0,Q.jsx)(pM.RangePicker,{value:i,onChange:h,placeholder:[`开始日期`,`结束日期`],size:`small`})]})]}),(0,Q.jsxs)(`div`,{style:{marginBottom:16,paddingLeft:4},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{color:`#1e293b`,fontSize:15},children:`核心数据`}),(0,Q.jsx)(Z.Text,{style:{color:`#94a3b8`,fontSize:12,marginLeft:8},children:`平台基础运营指标`})]}),(0,Q.jsx)(GP,{gutter:[16,16],children:g.map(e=>(0,Q.jsx)(sj,{xs:12,sm:8,lg:6,children:(0,Q.jsx)(v,{...e})},e.title))})]}),(0,Q.jsxs)(`div`,{style:{marginTop:24},children:[(0,Q.jsxs)(`div`,{style:{marginBottom:16,paddingLeft:4},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{color:`#1e293b`,fontSize:15},children:`财务统计`}),(0,Q.jsx)(Z.Text,{style:{color:`#94a3b8`,fontSize:12,marginLeft:8},children:`收入与消耗数据`})]}),(0,Q.jsx)(GP,{gutter:[16,16],children:_.map(e=>(0,Q.jsx)(sj,{xs:12,sm:8,lg:6,children:(0,Q.jsx)(v,{...e})},e.title))})]})]})};function P5(e){if(!e)return`-`;let t=e.trim();t.includes(`T`)||(t=t.replace(` `,`T`));let n=t.indexOf(`.`);return n>0&&(t=t.slice(0,n)),t=t.replace(/[+-]\d{2}:?\d{0,2}$/,``).replace(/Z$/,``),t.replace(`T`,` `).slice(0,16)}var F5=e=>e instanceof Error?e:Error(typeof e==`string`?e:`上传失败`),I5=e=>{if(e instanceof File)return e;throw Error(`请选择有效图片文件`)},gHe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(0),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(1),[c,l]=(0,C.useState)(20),[u,d]=(0,C.useState)(!1),[f,p]=(0,C.useState)(!1),[m,h]=(0,C.useState)(!1),[g,_]=(0,C.useState)(null),[v,y]=(0,C.useState)(``),[b,x]=(0,C.useState)(``),[S]=X.useForm(),[w]=X.useForm(),T=async(e,n)=>{a(!0);try{let i=await mVe({page:e||o,page_size:n||c});t(i.data||[]),r(i.pagination.total||0)}catch{wP.error(`加载开户方式列表失败`)}finally{a(!1)}};(0,C.useEffect)(()=>{T()},[]);let E=async()=>{try{let e=await S.validateFields(),t=v,n=t.startsWith(`http`)?t.replace(/^https?:\/\/[^/]+/,``):t;await hVe({open_type:e.open_type,type_name:e.type_name,description:e.description,thumb:n}),wP.success(`创建成功`),d(!1),S.resetFields(),y(``),T()}catch(e){wP.error(e?.message||`创建失败`)}},D=async e=>{try{_((await C5(e)).data||{}),p(!0)}catch(e){wP.error(e?.message||`获取详情失败`)}},O=async e=>{try{let t=await C5(e),n=t.data?.thumb||``,r=n.startsWith(`http`)?n:`http://ceshi.apiforeign.minzhong.cn${n}`;_(t.data||{}),x(r),h(!0)}catch(e){wP.error(e?.message||`获取详情失败`)}},k=async()=>{if(g)try{let e=await w.validateFields(),t=b,n=t.startsWith(`http`)?t.replace(/^https?:\/\/[^/]+/,``):t;await gVe(g.id,{open_type:e.open_type,type_name:e.type_name,description:e.description,thumb:n}),wP.success(`更新成功`),h(!1),w.resetFields(),_(null),x(``),T()}catch(e){wP.error(e?.message||`更新失败`)}},A=e=>{EP.confirm({title:`确认删除`,content:`确定要删除这个开户方式吗?`,okText:`删除`,okType:`danger`,cancelText:`取消`,onOk:async()=>{try{await _Ve(e),wP.success(`删除成功`),T()}catch(e){wP.error(e?.message||`删除失败`)}}})};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(yQ,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`平台开户方式管理`})]}),(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(pA,{}),onClick:()=>d(!0),children:`新增`}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(HP,{}),onClick:()=>T(),children:`刷新`})]})]}),(0,Q.jsx)(gR,{columns:[{title:`ID`,dataIndex:`id`,width:100,render:e=>(0,Q.jsx)(Z.Text,{children:e})},{title:`开户类型`,dataIndex:`openType`,width:100,render:e=>(0,Q.jsx)(Z.Text,{children:e})},{title:`类型名称`,dataIndex:`typeName`,width:150,render:e=>(0,Q.jsx)(Z.Text,{strong:!0,children:e})},{title:`描述`,dataIndex:`description`,width:250,ellipsis:!0,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:e})},{title:`缩略图`,dataIndex:`thumb`,width:120,render:e=>e?(0,Q.jsx)(`img`,{src:e.startsWith(`http`)?e:`http://ceshi.apiforeign.minzhong.cn${e}`,alt:`thumb`,style:{width:`100%`,height:48,display:`block`}}):`-`},{title:`创建时间`,dataIndex:`createdAt`,width:160,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:P5(e)})},{title:`更新时间`,dataIndex:`updatedAt`,width:160,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:P5(e)})},{title:`操作`,width:240,render:(e,t)=>(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(cC,{icon:(0,Q.jsx)(NN,{}),size:`small`,onClick:()=>D(t.id),children:`详情`}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(FR,{}),size:`small`,onClick:()=>O(t.id),children:`更新`}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(MR,{}),size:`small`,danger:!0,onClick:()=>A(t.id),children:`删除`})]})}],dataSource:e,rowKey:`id`,loading:i,pagination:{current:o,pageSize:c,total:n,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{s(e),l(t),T(e,t)}},scroll:{x:1e3}})]}),(0,Q.jsx)(EP,{title:`新增开户方式`,open:u,onOk:E,onCancel:()=>{d(!1),S.resetFields(),y(``)},mask:{closable:!1},okText:`创建`,cancelText:`取消`,width:600,children:(0,Q.jsxs)(X,{form:S,layout:`vertical`,children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`open_type`,label:`开户方式Id`,style:{flex:1},rules:[{required:!0,message:`请输入开户方式Id`}],children:(0,Q.jsx)(jj,{style:{width:`100%`},min:1,placeholder:`请输入开户方式Id`})}),(0,Q.jsx)(X.Item,{name:`type_name`,label:`类型名称`,style:{flex:1},rules:[{required:!0,message:`请输入类型名称`},{max:100,message:`类型名称不能超过100个字符`}],children:(0,Q.jsx)(HN,{style:{width:`100%`},placeholder:`请输入类型名称`})})]}),(0,Q.jsx)(X.Item,{name:`description`,label:`描述`,rules:[{required:!0,message:`请输入描述`}],children:(0,Q.jsx)(HN.TextArea,{placeholder:`请输入描述`,rows:4})}),(0,Q.jsx)(X.Item,{label:`缩略图`,children:(0,Q.jsx)(CB,{listType:`picture-card`,fileList:v?[{uid:`1`,name:`thumb`,status:`done`,url:v}]:[],customRequest:async({file:e,onSuccess:t,onError:n})=>{try{let n=await E5(I5(e)),r=n.url.startsWith(`http`)?n.url:`http://ceshi.apiforeign.minzhong.cn${n.url}`;y(r),t?.({url:r})}catch(e){n?.(F5(e))}},onRemove:()=>y(``),children:!v&&(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(U6,{style:{fontSize:24,color:`#999`}}),(0,Q.jsx)(`div`,{style:{marginTop:8},children:`上传图片`})]})})})]})}),(0,Q.jsx)(EP,{title:`开户方式详情`,open:f,onOk:()=>p(!1),onCancel:()=>{p(!1),_(null)},mask:{closable:!1},okText:`关闭`,cancelText:`取消`,width:520,children:g&&(0,Q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:16},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12,padding:16,background:`#f8fafc`,borderRadius:8},children:[(0,Q.jsx)(`div`,{style:{width:80,height:48,borderRadius:6,overflow:`hidden`,background:g.thumb?`transparent`:`#e2e8f0`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:g.thumb?(0,Q.jsx)(`img`,{src:g.thumb.startsWith(`http`)?g.thumb:`http://ceshi.apiforeign.minzhong.cn${g.thumb}`,alt:`thumb`,style:{width:`100%`,height:`100%`,display:`block`}}):(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:`暂无图片`})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`div`,{style:{fontSize:16,fontWeight:600},children:g.typeName}),(0,Q.jsxs)(`div`,{style:{fontSize:12,color:`#64748b`,marginTop:4},children:[`开户类型: `,g.openType]})]})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:12},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,Q.jsx)(Z.Text,{type:`secondary`,style:{width:80,flexShrink:0},children:`ID`}),(0,Q.jsx)(Z.Text,{children:g.id})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,Q.jsx)(Z.Text,{type:`secondary`,style:{width:80,flexShrink:0},children:`开户类型`}),(0,Q.jsx)(Z.Text,{children:g.openType})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,Q.jsx)(Z.Text,{type:`secondary`,style:{width:80,flexShrink:0},children:`类型名称`}),(0,Q.jsx)(Z.Text,{children:g.typeName})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:4},children:[(0,Q.jsx)(Z.Text,{type:`secondary`,style:{width:80},children:`描述`}),(0,Q.jsx)(`div`,{style:{padding:12,background:`#f8fafc`,borderRadius:6,fontSize:13,lineHeight:1.6},children:g.description||`-`})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,Q.jsx)(Z.Text,{type:`secondary`,style:{width:80,flexShrink:0},children:`创建时间`}),(0,Q.jsx)(Z.Text,{children:P5(g.createdAt)})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,Q.jsx)(Z.Text,{type:`secondary`,style:{width:80,flexShrink:0},children:`更新时间`}),(0,Q.jsx)(Z.Text,{children:P5(g.updatedAt)})]})]})]})}),(0,Q.jsx)(EP,{title:`更新开户方式`,open:m,onOk:k,onCancel:()=>{h(!1),w.resetFields(),_(null)},afterOpenChange:e=>{e&&g&&w.setFieldsValue({open_type:g.openType,type_name:g.typeName,description:g.description})},mask:{closable:!1},okText:`更新`,cancelText:`取消`,width:600,children:(0,Q.jsxs)(X,{form:w,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`open_type`,label:`开户类型`,rules:[{required:!0,message:`请输入开户类型`}],children:(0,Q.jsx)(jj,{min:1,placeholder:`请输入开户类型编号`})}),(0,Q.jsx)(X.Item,{name:`type_name`,label:`类型名称`,rules:[{required:!0,message:`请输入类型名称`},{max:100,message:`类型名称不能超过100个字符`}],children:(0,Q.jsx)(HN,{placeholder:`请输入类型名称`})}),(0,Q.jsx)(X.Item,{name:`description`,label:`描述`,rules:[{required:!0,message:`请输入描述`}],children:(0,Q.jsx)(HN.TextArea,{placeholder:`请输入描述`,rows:4})}),(0,Q.jsx)(X.Item,{label:`缩略图`,children:(0,Q.jsx)(CB,{listType:`picture-card`,fileList:b?[{uid:`1`,name:`thumb`,status:`done`,url:b}]:[],customRequest:async({file:e,onSuccess:t,onError:n})=>{try{let n=await E5(I5(e)),r=n.url.startsWith(`http`)?n.url:`http://ceshi.apiforeign.minzhong.cn${n.url}`;x(r),t?.({url:r})}catch(e){n?.(F5(e))}},onRemove:()=>x(``),children:!b&&(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(U6,{style:{fontSize:24,color:`#999`}}),(0,Q.jsx)(`div`,{style:{marginTop:8},children:`上传图片`})]})})})]})})]})},_He=`__none__`,vHe=[{value:`MB`,label:`MB(1024 × 1024 字节)`},{value:`GB`,label:`GB(1024 × 1024 × 1024 字节)`},{value:`TB`,label:`TB(1024 × 1024 × 1024 × 1024 字节)`}];function L5(e){if(e==null)return`-`;let t=Number(e||0);if(t<1024)return`${t} B`;let n=[`KB`,`MB`,`GB`,`TB`,`PB`],r=t,i=-1;do r/=1024,i+=1;while(r>=1024&&i=100?0:r>=10?1:2)} ${n[i]}`}function R5(e){return!e||!e.enabled?`未开启`:e.source===`user`?`个人`:e.source===`global`?`全局`:`未开启`}var yHe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!0),[i,a]=(0,C.useState)(``),[o,s]=(0,C.useState)(`frontend`),[c,l]=(0,C.useState)(``),[u,d]=(0,C.useState)(``),[f,p]=(0,C.useState)([]),[m,h]=(0,C.useState)({open:!1,user:null}),[g,_]=(0,C.useState)(!1),[v,y]=(0,C.useState)(`frontend`),[b,x]=(0,C.useState)({open:!1,user:null}),[S,w]=(0,C.useState)([]),[T,E]=(0,C.useState)([]),[D,O]=(0,C.useState)({open:!1,user:null}),[k,A]=(0,C.useState)({open:!1,user:null,detail:null}),[j,M]=(0,C.useState)({open:!1,user:null}),[N,P]=(0,C.useState)({open:!1,user:null,config:null}),[F,I]=(0,C.useState)(!1),[L,R]=(0,C.useState)(!1),[z,B]=(0,C.useState)(!1),[V,H]=(0,C.useState)(!1),[U,W]=(0,C.useState)(!1),[ee]=X.useForm(),[te]=X.useForm(),[ne]=X.useForm(),[re]=X.useForm(),[ie]=X.useForm(),[ae]=X.useForm(),[G,oe]=(0,C.useState)(1),[K,se]=(0,C.useState)(20),[ce,le]=(0,C.useState)(0),[ue,de]=(0,C.useState)([]),[fe]=X.useForm(),[pe,me]=(0,C.useState)(!1),he=async()=>{r(!0);try{let e=await s5(G,K,i||void 0,o,o===`frontend`&&c||void 0,o===`frontend`&&u||void 0);t(e.items||[]),le(e.total||0)}catch{}r(!1)};(0,C.useEffect)(()=>{he()},[G,K,i,o,c,u]),(0,C.useEffect)(()=>{c5(!0).then(p).catch(()=>{})},[]),(0,C.useEffect)(()=>{(async()=>{try{let e=(await u5()).filter(e=>e.key.startsWith(`user_`)&&e.key.includes(`credits`));de(e);let t={};e.forEach(e=>{t[e.key]=e.value}),fe.setFieldsValue(t)}catch{}})()},[]);let ge=(e,t)=>{oe(e),se(t)},_e=()=>he(),ve=async()=>{try{let e=await ee.validateFields(),{user:t}=m;if(!t)return;await OBe(t.id,e.amount,e.description),wP.success(`已${e.amount>0?`增加`:`扣除`} ${Math.abs(e.amount)} 积分`),h({open:!1,user:null}),ee.resetFields(),he()}catch{}},ye=async e=>{await kBe(e.id,!e.isActive),wP.success(e.isActive?`已禁用该用户`:`已启用该用户`),he()},be=async()=>{try{let e=await te.validateFields(),t=e.user_type||`frontend`;await rVe({username:t===`admin`?e.username:void 0,password:e.password,email:e.email||void 0,phone:t===`frontend`?e.phone:e.phone||void 0,credits:e.credits||0,user_type:t,frontend_user_kind:e.frontend_user_kind||`external`,private_portrait_image_limit:t===`frontend`?Number(e.private_portrait_image_limit??5):0}),wP.success(`用户创建成功`),_(!1),te.resetFields(),y(`frontend`),he()}catch{}},xe=async e=>{try{let t=await v5(),n=e.userType===`admin`;w(t.filter(e=>{let t=e.menu_target??e.menuTarget??`frontend`;return n?t===`admin`||t===`both`:t===`frontend`||t===`both`})),E(e.allowedMenus||[]),x({open:!0,user:e})}catch{wP.error(`加载菜单失败`)}},Se=async e=>{I(!0),A({open:!0,user:e,detail:null});try{let t=await PBe(e.id),n=t.userConfig;re.setFieldsValue({enabled:n?.enabled??!1,limitValue:n?.limitValue??t.effective.limitValue??t.globalConfig.limitValue??`1.000`,limitUnit:n?.limitUnit??t.effective.limitUnit??t.globalConfig.limitUnit??`GB`}),A({open:!0,user:e,detail:t})}catch(e){wP.error(e?.message||`加载容量配置失败`),A({open:!1,user:null,detail:null})}finally{I(!1)}},Ce=async()=>{let{user:e}=k;if(e)try{let t=await re.validateFields();R(!0),await FBe(e.id,{enabled:!!t.enabled,limitValue:String(t.limitValue??`1.000`),limitUnit:t.limitUnit||`GB`}),wP.success(`用户容量配置已保存`),A({open:!1,user:null,detail:null}),re.resetFields(),he()}catch(e){wP.error(e?.message||`保存失败`)}finally{R(!1)}},we=async()=>{let{user:e}=k;if(e)try{R(!0),await IBe(e.id),wP.success(`已恢复为全局容量配置`),A({open:!1,user:null,detail:null}),re.resetFields(),he()}catch(e){wP.error(e?.message||`恢复失败`)}finally{R(!1)}},Te=async e=>{H(!0),P({open:!0,user:e,config:null}),ae.setFieldsValue({privatePortraitImageLimit:e.privatePortraitImageLimit??5});try{let t=await iHe(e.id);ae.setFieldsValue({privatePortraitImageLimit:t.imageLimit}),P({open:!0,user:e,config:t})}catch(e){wP.error(e?.message||`加载真人素材库配置失败`),P({open:!1,user:null,config:null})}finally{H(!1)}},Ee=async()=>{let{user:e}=N;if(e)try{let t=await ae.validateFields(),n=Number(t.privatePortraitImageLimit??0);W(!0);let r=await aHe(e.id,n);wP.success(n>0?`真人素材库已开启,限制 ${n} 张`:`真人素材库已关闭`),P({open:!1,user:null,config:r}),ae.resetFields(),he()}catch(e){if(e?.errorFields)return;wP.error(e?.message||`保存真人素材库配置失败`)}finally{W(!1)}},De=e=>{ie.setFieldsValue({teamId:e.teamId||``}),M({open:!0,user:e})},Oe=async()=>{let{user:e}=j;if(e)try{let t=await ie.validateFields();B(!0),await SBe(e.id,t.teamId||null),wP.success(`用户团队已更新`),M({open:!1,user:null}),ie.resetFields(),he()}catch(e){if(e?.errorFields)return;wP.error(e?.message||`保存团队失败`)}finally{B(!1)}},ke=S.filter(e=>(e.menu_type??e.menuType)===`group`),Ae=S.filter(e=>(e.menu_type??e.menuType)!==`group`),je={};Ae.filter(e=>e.parent_id??e.parentId).forEach(e=>{let t=e.parent_id??e.parentId;je[t]||(je[t]=[]),je[t].push(e)});let Me=Ae.filter(e=>!(e.parent_id??e.parentId)),Ne=async()=>{let{user:e}=b;if(e)try{await iVe(e.id,T.length>0?T:null),wP.success(`菜单权限已更新`),x({open:!1,user:null}),he()}catch(e){wP.error(e?.message||`保存失败`)}},Pe=async()=>{try{let e=await ne.validateFields(),{user:t}=D;if(!t)return;await aVe(t.id,e.newPassword),wP.success(`已重置 ${t.username} 的密码`),O({open:!1,user:null}),ne.resetFields()}catch{}},Fe=async(e,t)=>{try{await xBe(e.id,t),wP.success(t===`internal`?`已设为前台内部用户`:`已设为前台外部用户`),he()}catch(e){wP.error(e?.message||`设置失败`)}},Ie=o===`admin`,Le=[{title:`用户`,key:`user`,width:200,render:(e,t)=>(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,background:t.isAdmin?`linear-gradient(135deg, #f59e0b, #f97316)`:`linear-gradient(135deg, #6366f1, #8b5cf6)`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#fff`,fontSize:13,fontWeight:700},children:t.username.charAt(0).toUpperCase()}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`div`,{style:{fontWeight:600},children:[t.username,t.isAdmin&&(0,Q.jsx)(kR,{color:`orange`,style:{marginLeft:6,fontSize:10},children:`管理员`})]}),(0,Q.jsx)(`div`,{style:{color:`#94a3b8`,fontSize:12},children:t.email})]})]})},...Ie?[]:[{title:`积分余额`,dataIndex:`credits`,width:120,sorter:(e,t)=>e.credits-t.credits,render:e=>(0,Q.jsx)(Z.Text,{strong:!0,style:{color:e>0?`#10b981`:`#ef4444`,fontSize:15},children:e.toLocaleString()})}],{title:`手机号`,dataIndex:`phone`,width:130,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,children:e||`-`})},...Ie?[]:[{title:`前台归类`,dataIndex:`frontendUserKind`,width:110,render:e=>(0,Q.jsx)(kR,{color:e===`internal`?`geekblue`:`default`,children:e===`internal`?`内部用户`:`外部用户`})}],...Ie?[]:[{title:`团队`,dataIndex:`teamName`,width:140,render:e=>e?(0,Q.jsx)(kR,{color:`blue`,children:e}):(0,Q.jsx)(Z.Text,{type:`secondary`,children:`未分配`})}],...Ie?[]:[{title:`真人素材库`,dataIndex:`privatePortraitImageLimit`,width:150,render:e=>{let t=Number(e||0);return t>0?(0,Q.jsxs)(kR,{color:`purple`,children:[`开启:`,t,` 张`]}):(0,Q.jsx)(kR,{children:`未开启`})}}],...Ie?[]:[{title:`资源容量`,dataIndex:`resourceCapacity`,width:230,render:e=>{let t=L5(e?.usedBytes||0);if(!e||!e.enabled)return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(NM,{size:6,style:{marginBottom:4},children:[(0,Q.jsx)(kR,{children:`未开启`}),(0,Q.jsxs)(Z.Text,{type:`secondary`,style:{fontSize:12},children:[`已用 `,t]})]}),(0,Q.jsx)(BP,{percent:0,size:`small`,showInfo:!1})]});let n=Math.min(Number(e.usagePercent||0),100);return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(NM,{size:6,style:{marginBottom:4},children:[(0,Q.jsx)(kR,{color:e.source===`user`?`blue`:`purple`,children:R5(e)}),e.exceeded&&(0,Q.jsx)(kR,{color:`red`,children:`已超额`})]}),(0,Q.jsx)(BP,{percent:n,size:`small`,status:e.exceeded?`exception`:`active`}),(0,Q.jsxs)(Z.Text,{type:`secondary`,style:{fontSize:12},children:[t,` / `,L5(e.totalBytes),`,可用 `,L5(e.availableBytes)]})]})}}],{title:`状态`,dataIndex:`isActive`,width:80,render:e=>(0,Q.jsx)(kR,{color:e?`green`:`red`,children:e?`正常`:`禁用`})},{title:`注册时间`,dataIndex:`createdAt`,width:120,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:P5(e)})},{title:`最后登录`,dataIndex:`lastLoginAt`,width:140,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:P5(e)})},{title:`操作`,key:`action`,width:540,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(NM,{size:4,wrap:!0,children:[!Ie&&(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(f8,{}),onClick:()=>{h({open:!0,user:t}),ee.resetFields()},children:`调整积分`}),!Ie&&(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(MJ,{}),onClick:()=>Se(t),children:`容量设置`}),!Ie&&(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(c0,{}),onClick:()=>Te(t),children:`真人素材`}),!Ie&&(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(Q3,{}),onClick:()=>De(t),children:`团队设置`}),!Ie&&t.frontendUserKind!==`internal`&&(0,Q.jsx)(cC,{type:`link`,size:`small`,onClick:()=>Fe(t,`internal`),children:`设为内部`}),!Ie&&t.frontendUserKind===`internal`&&(0,Q.jsx)(cC,{type:`link`,size:`small`,onClick:()=>Fe(t,`external`),children:`取消内部`}),(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(r1,{}),onClick:()=>xe(t),children:`菜单权限`}),(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(M$,{}),onClick:()=>{O({open:!0,user:t}),ne.resetFields()},children:`重置密码`}),(0,Q.jsx)(kP,{title:t.isActive?`确定禁用该用户?`:`确定启用该用户?`,onConfirm:()=>ye(t),children:(0,Q.jsx)(cC,{type:`link`,size:`small`,danger:t.isActive,icon:t.isActive?(0,Q.jsx)(T3,{}):(0,Q.jsx)(WK,{}),children:t.isActive?`禁用`:`启用`})})]})}];return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,Q.jsx)(HN,{placeholder:`搜索用户名或手机号`,prefix:(0,Q.jsx)(Cb,{style:{color:`#94a3b8`}}),value:i,onChange:e=>a(e.target.value),onPressEnter:_e,style:{width:280,borderRadius:8},allowClear:!0}),!Ie&&(0,Q.jsx)(Ob,{value:c,onChange:e=>{oe(1),l(e)},style:{width:140},options:[{value:``,label:`全部前台用户`},{value:`internal`,label:`内部用户`},{value:`external`,label:`外部用户`}]}),!Ie&&(0,Q.jsx)(Ob,{value:u,onChange:e=>{oe(1),d(e)},style:{width:170},options:[{value:``,label:`全部团队`},{value:_He,label:`未分配团队`},...f.map(e=>({value:e.id,label:e.status===`disabled`?`${e.name}(禁用)`:e.name}))]}),(0,Q.jsx)(cC,{type:`primary`,onClick:_e,style:{borderRadius:8},children:`搜索`})]}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(pA,{}),onClick:()=>{y(o),te.setFieldsValue({user_type:o}),_(!0)},style:{borderRadius:8},children:`创建用户`})]}),(0,Q.jsx)(IA,{activeKey:o,onChange:e=>{s(e),l(``),d(``),oe(1)},items:[{key:`frontend`,label:`前台用户`},{key:`admin`,label:`后台用户`}]}),(0,Q.jsx)(gR,{columns:Le,dataSource:e,rowKey:`id`,loading:n,pagination:{current:G,pageSize:K,total:ce,onChange:ge,showSizeChanger:!0,showTotal:e=>`共 ${e} 个用户`},scroll:{x:1280}})]}),(0,Q.jsxs)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(f8,{}),`调整积分 - `,m.user?.username]}),open:m.open,onOk:ve,onCancel:()=>{h({open:!1,user:null}),ee.resetFields()},okText:`确认`,cancelText:`取消`,width:440,children:[(0,Q.jsxs)(`div`,{style:{marginBottom:16,padding:`12px 16px`,background:`#f8fafc`,borderRadius:8},children:[(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:`当前积分:`}),(0,Q.jsx)(`span`,{style:{fontWeight:800,fontSize:18,color:`#6366f1`},children:m.user?.credits.toLocaleString()})]}),(0,Q.jsxs)(X,{form:ee,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`amount`,label:`积分变动`,rules:[{required:!0,message:`请输入积分数量`}],children:(0,Q.jsx)(jj,{style:{width:`100%`},size:`large`,placeholder:`正数增加,负数扣除`,formatter:e=>`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,`,`)})}),(0,Q.jsx)(X.Item,{name:`description`,label:`原因`,rules:[{required:!0,message:`请输入调整原因`}],children:(0,Q.jsx)(HN.TextArea,{rows:2,placeholder:`请输入调整原因`,size:`large`})})]})]}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(Q3,{}),`团队设置 - `,j.user?.username]}),open:j.open,confirmLoading:z,onOk:Oe,onCancel:()=>{M({open:!1,user:null}),ie.resetFields()},okText:`保存`,cancelText:`取消`,width:460,children:(0,Q.jsx)(X,{form:ie,layout:`vertical`,style:{marginTop:16},children:(0,Q.jsx)(X.Item,{name:`teamId`,label:`所属团队`,extra:`团队归属独立于前台内部/外部归类,不会改变用户内外部设置。`,children:(0,Q.jsx)(Ob,{size:`large`,allowClear:!0,placeholder:`未分配团队`,options:[{value:``,label:`未分配团队`},...f.filter(e=>e.status===`active`||e.id===j.user?.teamId).map(e=>({value:e.id,label:e.status===`disabled`?`${e.name}(禁用)`:e.name}))]})})})}),(0,Q.jsxs)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(MJ,{}),`容量设置 - `,k.user?.username]}),open:k.open,confirmLoading:L,onOk:Ce,onCancel:()=>{A({open:!1,user:null,detail:null}),re.resetFields()},okText:`保存个人配置`,cancelText:`取消`,width:560,children:[(0,Q.jsx)(RA,{loading:F,variant:`outlined`,style:{marginBottom:16},children:(0,Q.jsxs)(NM,{direction:`vertical`,size:6,style:{width:`100%`},children:[(0,Q.jsxs)(Z.Text,{type:`secondary`,children:[`当前生效来源:`,R5(k.detail?.effective),k.detail?.effective.hasUserConfig?`(已单独设置)`:`(未单独设置)`]}),(0,Q.jsxs)(Z.Text,{children:[`已用:`,L5(k.detail?.effective.usedBytes),`; 总量:`,L5(k.detail?.effective.totalBytes),`; 可用:`,L5(k.detail?.effective.availableBytes)]}),k.detail?.effective.enabled&&(0,Q.jsx)(BP,{percent:Math.min(Number(k.detail.effective.usagePercent||0),100),status:k.detail.effective.exceeded?`exception`:`active`})]})}),(0,Q.jsxs)(X,{form:re,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`enabled`,label:`启用个人容量限制`,valuePropName:`checked`,extra:`保存后会生成用户个人配置,优先级高于全局;关闭并保存表示该用户个人明确不限制,不再走全局。`,children:(0,Q.jsx)(uF,{checkedChildren:`开启`,unCheckedChildren:`关闭`})}),(0,Q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`1fr 180px`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`limitValue`,label:`容量数值`,rules:[{required:!0,message:`请输入容量数值`}],extra:`最小为1,不能为负数,最多支持3位小数。`,children:(0,Q.jsx)(jj,{min:1,precision:3,style:{width:`100%`},size:`large`,placeholder:`例如 10.500`})}),(0,Q.jsx)(X.Item,{name:`limitUnit`,label:`容量单位`,rules:[{required:!0,message:`请选择容量单位`}],extra:`MB / GB / TB 固定枚举`,children:(0,Q.jsx)(Ob,{size:`large`,options:vHe})})]})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginTop:8},children:[(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:`恢复全局设置会删除该用户个人配置,让用户重新按全局规则判断。`}),(0,Q.jsx)(kP,{title:`确定恢复为全局容量配置?`,onConfirm:we,disabled:!k.detail?.hasUserConfig,children:(0,Q.jsx)(cC,{disabled:!k.detail?.hasUserConfig,loading:L,children:`恢复全局设置`})})]})]}),(0,Q.jsxs)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(c0,{}),`真人素材库设置 - `,N.user?.username]}),open:N.open,confirmLoading:U,onOk:Ee,onCancel:()=>{P({open:!1,user:null,config:null}),ae.resetFields()},okText:`保存`,cancelText:`取消`,width:520,children:[(0,Q.jsx)(RA,{loading:V,variant:`outlined`,style:{marginBottom:16},children:(0,Q.jsxs)(NM,{direction:`vertical`,size:6,style:{width:`100%`},children:[(0,Q.jsxs)(Z.Text,{children:[`当前状态:`,N.config?.enabled?(0,Q.jsx)(kR,{color:`purple`,children:`已开启`}):(0,Q.jsx)(kR,{children:`未开启`})]}),(0,Q.jsxs)(Z.Text,{type:`secondary`,children:[`已用:`,N.config?.usedImageCount??`-`,` 张; 剩余:`,N.config?.enabled?N.config.remainingImageCount:0,` 张`]})]})}),(0,Q.jsx)(X,{form:ae,layout:`vertical`,children:(0,Q.jsx)(X.Item,{name:`privatePortraitImageLimit`,label:`真人素材库图片上限`,extra:`0 表示关闭真人素材库;大于 0 表示开启,并限制该用户所有真人素材图片总量。`,rules:[{required:!0,message:`请输入真人素材库图片上限`}],children:(0,Q.jsx)(jj,{min:0,max:9999,precision:0,style:{width:`100%`},size:`large`})})})]}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(X6,{}),`创建用户`]}),open:g,onOk:be,onCancel:()=>{_(!1),te.resetFields(),y(`frontend`)},okText:`创建`,cancelText:`取消`,width:480,children:(0,Q.jsxs)(X,{form:te,layout:`vertical`,style:{marginTop:16},onValuesChange:e=>{e.user_type&&y(e.user_type)},children:[(0,Q.jsx)(X.Item,{name:`user_type`,label:`用户类型`,initialValue:`frontend`,rules:[{required:!0}],children:(0,Q.jsx)(Ob,{size:`large`,options:[{value:`frontend`,label:`前端用户`},{value:`admin`,label:`后台管理员`}]})}),v===`frontend`&&(0,Q.jsx)(X.Item,{name:`frontend_user_kind`,label:`前台归类`,initialValue:`external`,children:(0,Q.jsx)(Ob,{size:`large`,options:[{value:`external`,label:`外部用户`},{value:`internal`,label:`内部用户`}]})}),v===`frontend`?(0,Q.jsx)(X.Item,{name:`phone`,label:`手机号`,rules:[{required:!0,message:`请输入手机号`},{pattern:/^1\d{10}$/,message:`请输入正确的手机号`}],children:(0,Q.jsx)(HN,{placeholder:`请输入手机号`,maxLength:11,size:`large`})}):(0,Q.jsx)(X.Item,{name:`username`,label:`用户名`,rules:[{required:!0,message:`请输入用户名`}],children:(0,Q.jsx)(HN,{placeholder:`请输入用户名`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`password`,label:`密码`,rules:[{required:!0,min:6,message:`密码至少6位`}],children:(0,Q.jsx)(HN.Password,{placeholder:`请输入密码(至少6位)`,size:`large`})}),v===`frontend`&&(0,Q.jsx)(X.Item,{name:`credits`,label:`初始积分`,initialValue:0,children:(0,Q.jsx)(jj,{min:0,style:{width:`100%`},size:`large`})}),v===`frontend`&&(0,Q.jsx)(X.Item,{name:`private_portrait_image_limit`,label:`真人素材库图片上限`,initialValue:5,extra:`0 表示关闭真人素材库;大于 0 表示开启并限制该用户所有真人素材图片总量。`,rules:[{required:!0,message:`请输入真人素材库图片上限`}],children:(0,Q.jsx)(jj,{min:0,max:9999,precision:0,style:{width:`100%`},size:`large`})}),(0,Q.jsx)(X.Item,{name:`email`,label:`邮箱`,children:(0,Q.jsx)(HN,{placeholder:`选填`,size:`large`})})]})}),(0,Q.jsxs)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(r1,{}),`菜单权限 - `,b.user?.username,` (`,b.user?.userType===`admin`?`后台菜单`:`前台菜单`,`)`]}),open:b.open,onOk:Ne,onCancel:()=>{x({open:!1,user:null})},okText:`保存`,cancelText:`取消`,width:520,children:[(0,Q.jsx)(`div`,{style:{marginBottom:12},children:(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:13},children:`勾选该用户可访问的菜单,不勾选则显示全部菜单`})}),(0,Q.jsx)(`div`,{style:{padding:`12px 16px`,background:`#f8fafc`,borderRadius:8,maxHeight:400,overflow:`auto`},children:(0,Q.jsx)(tj.Group,{value:T,onChange:e=>E(e),children:(0,Q.jsxs)(NM,{direction:`vertical`,size:8,style:{width:`100%`},children:[Me.map(e=>(0,Q.jsxs)(tj,{value:e.path,style:{width:`100%`},children:[e.label,(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12,marginLeft:8},children:e.path})]},e.path)),ke.map(e=>{let t=je[e.id]||[];return t.length===0?null:(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`div`,{style:{fontWeight:600,fontSize:13,color:`#6366f1`,marginBottom:4,marginTop:4},children:e.label}),(0,Q.jsx)(NM,{direction:`vertical`,size:4,style:{paddingLeft:12,width:`100%`},children:t.map(e=>(0,Q.jsxs)(tj,{value:e.path,style:{width:`100%`},children:[e.label,(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12,marginLeft:8},children:e.path})]},e.path))})]},e.id)})]})})})]}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(M$,{}),`重置密码 - `,D.user?.username]}),open:D.open,onOk:Pe,onCancel:()=>{O({open:!1,user:null}),ne.resetFields()},okText:`确认重置`,cancelText:`取消`,width:420,children:(0,Q.jsx)(X,{form:ne,layout:`vertical`,style:{marginTop:16},children:(0,Q.jsx)(X.Item,{name:`newPassword`,label:`新密码`,rules:[{required:!0,min:6,message:`密码至少6位`}],children:(0,Q.jsx)(HN.Password,{placeholder:`请输入新密码(至少6位)`,size:`large`})})})})]})},bHe=[{value:``,label:`全部状态`},{value:`active`,label:`启用`},{value:`disabled`,label:`禁用`}],xHe=[{value:`active`,label:`启用`},{value:`disabled`,label:`禁用`}];function SHe(e){return e===`active`?`启用`:e===`disabled`?`禁用`:e||`-`}var CHe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(1),[c,l]=(0,C.useState)(20),[u,d]=(0,C.useState)(0),[f,p]=(0,C.useState)(``),[m,h]=(0,C.useState)(``),[g,_]=(0,C.useState)({open:!1,item:null}),[v]=X.useForm(),[y,b]=(0,C.useState)({open:!1,team:null}),[x,S]=(0,C.useState)([]),[w,T]=(0,C.useState)(!1),[E,D]=(0,C.useState)(null),[O,k]=(0,C.useState)({open:!1,team:null}),[A,j]=(0,C.useState)([]),[M,N]=(0,C.useState)(!1),P=(0,C.useMemo)(()=>({page:o,pageSize:c,keyword:f||void 0,status:m||void 0}),[o,c,f,m]),F=async()=>{r(!0);try{let e=await CBe(P);t(e.items||[]),d(e.total||0)}catch(e){wP.error(e?.message||`加载团队列表失败`)}finally{r(!1)}};(0,C.useEffect)(()=>{F()},[P]);let I=()=>{v.resetFields(),v.setFieldsValue({status:`active`,sortOrder:0}),_({open:!0,item:null})},L=e=>{v.setFieldsValue({name:e.name,code:e.code||``,description:e.description||``,status:e.status||`active`,sortOrder:e.sortOrder||0}),_({open:!0,item:e})},R=async()=>{try{let e=await v.validateFields();a(!0),await wBe({id:g.item?.id,name:e.name,code:e.code||null,description:e.description||null,status:e.status||`active`,sort_order:e.sortOrder||0}),wP.success(g.item?`团队已更新`:`团队已创建`),_({open:!1,item:null}),v.resetFields(),F()}catch(e){if(e?.errorFields)return;wP.error(e?.message||`保存失败`)}finally{a(!1)}},z=async e=>{try{await TBe(e.id),wP.success(`团队已删除`),F()}catch(e){wP.error(e?.message||`删除失败`)}},B=async e=>{try{return(await DBe(e)).items||[]}catch(e){return wP.error(e?.message||`加载成员失败`),[]}},V=async e=>{b({open:!0,team:e}),D(e.managerId||null),T(!0),S(await B(e.id)),T(!1)},H=async e=>{k({open:!0,team:e}),N(!0),j(await B(e.id)),N(!1)};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16,flexWrap:`wrap`,gap:12},children:[(0,Q.jsxs)(NM,{wrap:!0,children:[(0,Q.jsx)(HN,{placeholder:`搜索团队名称/编码/备注`,prefix:(0,Q.jsx)(Cb,{style:{color:`#94a3b8`}}),value:f,onChange:e=>{s(1),p(e.target.value)},onPressEnter:F,style:{width:260},allowClear:!0}),(0,Q.jsx)(Ob,{value:m,onChange:e=>{s(1),h(e)},style:{width:130},options:bHe}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(HP,{}),onClick:F,children:`刷新`})]}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(pA,{}),onClick:I,children:`新增团队`})]}),(0,Q.jsx)(gR,{columns:[{title:`团队名称`,dataIndex:`name`,width:220,render:(e,t)=>(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,background:`rgba(99,102,241,0.1)`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#6366f1`},children:(0,Q.jsx)(Q3,{})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,children:e}),(0,Q.jsx)(`div`,{style:{fontSize:12,color:`#94a3b8`},children:t.code||`-`})]})]})},{title:`状态`,dataIndex:`status`,width:100,render:e=>(0,Q.jsx)(kR,{color:e===`active`?`green`:`default`,children:SHe(e)})},{title:`成员数`,dataIndex:`memberCount`,width:100,render:e=>(0,Q.jsx)(Z.Text,{strong:!0,children:Number(e||0).toLocaleString()})},{title:`管理人`,key:`manager`,width:140,render:(e,t)=>(0,Q.jsx)(Z.Text,{style:{fontSize:13},children:t.managerName||(0,Q.jsx)(`span`,{style:{color:`#94a3b8`},children:`未设置`})})},{title:`排序`,dataIndex:`sortOrder`,width:90,render:e=>e??0},{title:`备注`,dataIndex:`description`,ellipsis:!0,render:e=>e||`-`},{title:`创建时间`,dataIndex:`createdAt`,width:160,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:P5(e)})},{title:`操作`,key:`action`,width:230,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(NM,{size:4,children:[(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(X6,{}),onClick:()=>H(t),children:`成员`}),(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(h4,{}),onClick:()=>V(t),children:`管理人`}),(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(FR,{}),onClick:()=>L(t),children:`编辑`}),(0,Q.jsx)(kP,{title:`确定删除该团队?`,description:t.memberCount>0?`该团队下仍有成员,后端会拒绝删除。`:`删除后团队不再出现在设置下拉中。`,onConfirm:()=>z(t),children:(0,Q.jsx)(cC,{type:`link`,size:`small`,danger:!0,icon:(0,Q.jsx)(MR,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:n,pagination:{current:o,pageSize:c,total:u,onChange:(e,t)=>{s(e),l(t)},showSizeChanger:!0,showTotal:e=>`共 ${e} 个团队`},scroll:{x:1100}})]}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(Q3,{}),g.item?`编辑团队`:`新增团队`]}),open:g.open,confirmLoading:i,onOk:R,onCancel:()=>{_({open:!1,item:null}),v.resetFields()},okText:`保存`,cancelText:`取消`,width:520,children:(0,Q.jsxs)(X,{form:v,layout:`vertical`,style:{marginTop:16},children:[(0,Q.jsx)(X.Item,{name:`name`,label:`团队名称`,rules:[{required:!0,message:`请输入团队名称`}],children:(0,Q.jsx)(HN,{maxLength:128,placeholder:`请输入团队名称`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`code`,label:`团队编码`,extra:`选填,用于内部标识或后续外部系统对接。`,children:(0,Q.jsx)(HN,{maxLength:64,placeholder:`例如 sales_a`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`status`,label:`状态`,rules:[{required:!0,message:`请选择状态`}],children:(0,Q.jsx)(Ob,{size:`large`,options:xHe})}),(0,Q.jsx)(X.Item,{name:`sortOrder`,label:`排序`,initialValue:0,children:(0,Q.jsx)(jj,{min:0,max:999999,precision:0,style:{width:`100%`},size:`large`})}),(0,Q.jsx)(X.Item,{name:`description`,label:`备注`,children:(0,Q.jsx)(HN.TextArea,{rows:3,maxLength:512,placeholder:`选填`})})]})}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(X6,{}),`设置团队管理人`]}),open:y.open,confirmLoading:w,onOk:async()=>{if(y.team)try{T(!0),await EBe(y.team.id,E),wP.success(E?`已设置管理人`:`已取消管理人`),b({open:!1,team:null}),F()}catch(e){wP.error(e?.message||`设置失败`)}finally{T(!1)}},onCancel:()=>{b({open:!1,team:null}),D(null)},okText:`保存`,cancelText:`取消`,width:480,children:(0,Q.jsxs)(`div`,{style:{marginTop:16},children:[(0,Q.jsxs)(Z.Text,{style:{fontSize:13,color:`#64748b`,display:`block`,marginBottom:8},children:[`团队:`,y.team?.name||`-`]}),(0,Q.jsx)(Z.Text,{style:{fontSize:13,color:`#64748b`,display:`block`,marginBottom:12},children:`选择该团队的一名成员作为管理人。管理人可在前台管理团队成员和分配积分。`}),(0,Q.jsx)(Ob,{style:{width:`100%`},placeholder:`选择管理人(可清空取消)`,value:E,onChange:e=>D(e||null),allowClear:!0,loading:w,optionFilterProp:`label`,options:x.map(e=>({value:e.id,label:`${e.username}${e.phone?` (${e.phone})`:``}`})),showSearch:!0})]})}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(X6,{}),`团队成员 - `,O.team?.name]}),open:O.open,onCancel:()=>k({open:!1,team:null}),footer:null,width:600,children:(0,Q.jsx)(`div`,{style:{marginTop:8},children:O.team&&(0,Q.jsx)(gR,{size:`small`,rowKey:`id`,loading:M,dataSource:A,pagination:!1,scroll:{y:400},columns:[{title:`用户名`,dataIndex:`username`,width:140,render:e=>(0,Q.jsx)(Z.Text,{strong:!0,children:e})},{title:`手机号`,dataIndex:`phone`,width:130,render:e=>e||`-`},{title:`积分`,dataIndex:`credits`,width:100,render:e=>(0,Q.jsx)(Z.Text,{style:{color:`#6366f1`},children:(e??0).toFixed(2)})},{title:`状态`,dataIndex:`isActive`,width:80,render:e=>(0,Q.jsx)(kR,{color:e?`green`:`red`,children:e?`启用`:`禁用`})}],locale:{emptyText:`该团队暂无成员`}})})})]})},wHe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!0),[i,a]=(0,C.useState)({open:!1,model:null}),[o]=X.useForm(),s=async()=>{r(!0);try{t(await ABe())}catch{}r(!1)};(0,C.useEffect)(()=>{s()},[]);let c=async()=>{try{let e=await o.validateFields(),t={name:e.name,provider:e.provider,model_name:e.modelName,api_base:e.apiBase,api_key:e.apiKey,weight:e.weight,max_tokens:e.maxTokens,temperature:e.temperature,is_active:e.isActive??!0,priority:e.priority??0};i.model?.id?await l5({id:i.model.id,...t}):await l5(t),wP.success(i.model?.id?`模型配置已更新`:`模型配置已添加`),a({open:!1,model:null}),o.resetFields(),s()}catch(e){if(e?.errorFields)return;wP.error(e?.message||`保存失败`)}},l=async e=>{try{await jBe(e),wP.success(`模型配置已删除`),s()}catch(e){wP.error(e?.message||`删除失败`)}},u=e=>{a({open:!0,model:e||null}),e?o.setFieldsValue(e):(o.resetFields(),o.setFieldsValue({provider:`sdk`,weight:1,maxTokens:4096,temperature:.7,isActive:!0,priority:0}))};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(Z.Text,{type:`secondary`,children:[`共 `,e.length,` 个模型配置,按权重进行加权随机调度`]}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(pA,{}),onClick:()=>u(),style:{borderRadius:8},children:`添加模型`})]}),(0,Q.jsx)(gR,{columns:[{title:`模型名称`,dataIndex:`name`,width:150,render:(e,t)=>(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,background:t.isActive?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`linear-gradient(135deg, #94a3b8, #cbd5e1)`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#fff`,fontSize:14},children:(0,Q.jsx)(R2,{})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`div`,{style:{fontWeight:600},children:e}),(0,Q.jsx)(`div`,{style:{color:`#94a3b8`,fontSize:12},children:t.modelName})]})]})},{title:`提供商`,dataIndex:`provider`,width:140,render:e=>(0,Q.jsx)(kR,{color:e===`mock`?`default`:`blue`,children:{sdk:`SDK模式`,openai_compatible:`OpenAI兼容`,mock:`Mock模式`}[e]||e})},{title:`API地址`,dataIndex:`apiBase`,width:200,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},ellipsis:!0,children:e||`-`})},{title:`权重`,dataIndex:`weight`,width:80,sorter:(e,t)=>e.weight-t.weight},{title:`Max Tokens`,dataIndex:`maxTokens`,width:100},{title:`Temperature`,dataIndex:`temperature`,width:100,render:e=>e.toFixed(1)},{title:`状态`,dataIndex:`isActive`,width:80,render:e=>(0,Q.jsx)(kR,{color:e?`green`:`default`,children:e?`启用`:`停用`})},{title:`操作`,key:`action`,width:150,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(NM,{size:4,children:[(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(FR,{}),onClick:()=>u(t),children:`编辑`}),(0,Q.jsx)(kP,{title:`确定删除该模型配置?`,onConfirm:()=>l(t.id),children:(0,Q.jsx)(cC,{type:`link`,size:`small`,danger:!0,icon:(0,Q.jsx)(MR,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:n,pagination:!1,scroll:{x:900}})]}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(R2,{}),i.model?.id?`编辑模型`:`添加模型`]}),open:i.open,onOk:c,onCancel:()=>{a({open:!1,model:null}),o.resetFields()},okText:`确认`,cancelText:`取消`,width:560,children:(0,Q.jsxs)(X,{form:o,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`name`,label:`显示名称`,rules:[{required:!0,message:`请输入模型名称`}],children:(0,Q.jsx)(HN,{placeholder:`例如:GPT-4o`,size:`large`})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`provider`,label:`提供商`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(Ob,{size:`large`,options:[{value:`sdk`,label:`SDK模式`},{value:`openai_compatible`,label:`OpenAI兼容`},{value:`mock`,label:`Mock模式`}]})}),(0,Q.jsx)(X.Item,{name:`modelName`,label:`模型标识`,style:{flex:1},rules:[{required:!0,message:`请输入模型标识`}],children:(0,Q.jsx)(HN,{placeholder:`例如:gpt-4o`,size:`large`})})]}),(0,Q.jsx)(X.Item,{name:`apiBase`,label:`API地址`,children:(0,Q.jsx)(HN,{placeholder:`https://api.openai.com/v1`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`apiKey`,label:`API Key`,children:(0,Q.jsx)(HN.Password,{placeholder:`sk-****`,size:`large`})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`weight`,label:`权重`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(jj,{min:0,max:10,style:{width:`100%`},size:`large`})}),(0,Q.jsx)(X.Item,{name:`maxTokens`,label:`Max Tokens`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(jj,{min:256,max:128e3,style:{width:`100%`},size:`large`})}),(0,Q.jsx)(X.Item,{name:`temperature`,label:`Temperature`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(jj,{min:0,max:2,step:.1,style:{width:`100%`},size:`large`})})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`priority`,label:`优先级`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(jj,{min:0,max:10,style:{width:`100%`},size:`large`})}),(0,Q.jsx)(X.Item,{name:`isActive`,label:`启用`,valuePropName:`checked`,style:{flex:1,paddingTop:30},children:(0,Q.jsx)(uF,{})})]})]})})]})},THe=[{value:`MB`,label:`MB(1024 × 1024 字节)`},{value:`GB`,label:`GB(1024 × 1024 × 1024 字节)`},{value:`TB`,label:`TB(1024 × 1024 × 1024 × 1024 字节)`}],EHe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!0),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(``),[c]=X.useForm();(0,C.useEffect)(()=>{l()},[]);let l=async()=>{r(!0);try{let[e,n]=await Promise.all([u5(),MBe()]);t(e);let r={};e.forEach(e=>{r[e.key]=e.value}),r.resource_capacity_enabled=n.enabled,r.resource_capacity_limit_value=n.limitValue||`1.000`,r.resource_capacity_limit_unit=n.limitUnit||`GB`,c.setFieldsValue(r)}catch(e){wP.error(e?.message||`加载配置失败`)}finally{r(!1)}},u=async()=>{try{let t=await c.validateFields();a(!0);for(let n of e){let e=t[n.key];e!==void 0&&String(e)!==n.value&&await d5(n.id,String(e??``))}await NBe({enabled:!!t.resource_capacity_enabled,limitValue:String(t.resource_capacity_limit_value??`1.000`),limitUnit:t.resource_capacity_limit_unit||`GB`}),wP.success(`系统配置已保存`),await l()}catch(e){wP.error(e?.message||`保存失败`)}finally{a(!1)}},d=async(n,r)=>{s(r);try{let i=await LBe(n,r);t(e=>e.map(e=>e.key===r?{...e,value:i.url}:e)),c.setFieldsValue({[r]:i.url});let a=e.find(e=>e.key===r);a&&await d5(a.id,i.url),wP.success(`PDF上传成功并已保存`)}catch{wP.error(`上传失败`)}finally{s(``)}return!1},f=async e=>{s(`site_logo`);try{let n=await RBe(e);t(e=>e.map(e=>e.key===`site_logo`?{...e,value:n.url}:e)),c.setFieldsValue({site_logo:n.url}),wP.success(`Logo上传成功`)}catch{wP.error(`上传失败`)}finally{s(``)}return!1},p={站点信息:e.filter(e=>e.key.startsWith(`site_`)),协议配置:e.filter(e=>e.key===`user_agreement_privacy_url`),"SEO 设置":e.filter(e=>e.key.startsWith(`seo_`)),用户积分配置:e.filter(e=>e.key.startsWith(`user_`)&&e.key.includes(`credits`)),其他配置:e.filter(e=>e.key===`operation_manual`)},m=e=>({site_name:`平台显示名称,将展示在页面标题和导航栏`,site_logo:`平台Logo图片URL,建议尺寸 200x40px`,site_copyright:`显示在前台登录页底部的版权信息,例如:© 2024 民众智创 版权所有`,user_agreement_privacy_url:`用户登录时需同意的用户协议及隐私政策PDF文件`,seo_title:`搜索引擎结果中显示的标题`,seo_description:`搜索引擎结果中显示的描述文字,建议150字以内`,seo_keywords:`用逗号分隔的关键词列表`,user_register_credits:`用户注册时赠送的初始积分,默认100`,user_login_credits:`用户每日登录赠送的积分数量`,user_login_credits_enabled:`是否启用每日登录赠送积分功能`,operation_manual:`操作手册链接,前台用户菜单将展示该入口,点击跳转此链接`})[e.key]||e.description||``,h=({config:e})=>{let n=e.value&&e.value.startsWith(`/uploads/`),r=n?`http://ceshi.apiforeign.minzhong.cn${e.value}`:``;return(0,Q.jsxs)(`div`,{style:{padding:`16px`,borderRadius:10,border:`1px solid #f0f0f5`,background:`#fafbfc`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:12},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(U6,{style:{color:`#6366f1`,fontSize:18}}),(0,Q.jsx)(Z.Text,{strong:!0,children:`网站Logo`})]}),(0,Q.jsxs)(NM,{children:[n&&(0,Q.jsx)(cC,{size:`small`,danger:!0,onClick:()=>{t(e=>e.map(e=>e.key===`site_logo`?{...e,value:``}:e)),c.setFieldsValue({site_logo:``}),wP.success(`Logo已移除`)},children:`移除`}),(0,Q.jsx)(CB,{accept:`image/*`,showUploadList:!1,beforeUpload:f,children:(0,Q.jsx)(cC,{size:`small`,type:`primary`,icon:(0,Q.jsx)(U6,{}),loading:o===`site_logo`,children:n?`重新上传`:`上传Logo`})})]})]}),n?(0,Q.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,Q.jsx)(`img`,{src:r,alt:`Logo预览`,style:{maxWidth:200,maxHeight:80,objectFit:`contain`,border:`1px solid #e2e8f0`,borderRadius:8,padding:8}}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12,display:`block`,marginTop:8},children:`建议尺寸:200x40px,支持 PNG、JPG 格式`})]}):(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:`尚未上传Logo,将使用系统默认Logo`})]})},g=({config:e})=>{let t=e.key===`user_agreement_privacy_url`?`用户协议及隐私政策`:`协议文件`,n=e.value&&e.value.startsWith(`/uploads/`);return(0,Q.jsxs)(`div`,{style:{padding:`16px`,borderRadius:10,border:`1px solid #f0f0f5`,background:`#fafbfc`,marginBottom:12},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:8},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(kX,{style:{color:`#ef4444`,fontSize:18}}),(0,Q.jsx)(Z.Text,{strong:!0,children:t})]}),(0,Q.jsxs)(NM,{children:[n&&(0,Q.jsx)(cC,{size:`small`,icon:(0,Q.jsx)(NN,{}),onClick:()=>window.open(`http://ceshi.apiforeign.minzhong.cn${e.value}`,`_blank`),children:`预览`}),(0,Q.jsx)(CB,{accept:`.pdf`,showUploadList:!1,beforeUpload:t=>d(t,e.key),children:(0,Q.jsx)(cC,{size:`small`,type:`primary`,icon:(0,Q.jsx)(U6,{}),loading:o===e.key,children:n?`重新上传`:`上传PDF`})})]})]}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:n?`已上传: ${e.value}`:`尚未上传,前台将不显示对应链接`})]})},_=e=>e.key===`site_logo`?(0,Q.jsx)(h,{config:e}):e.key===`seo_description`?(0,Q.jsx)(HN.TextArea,{rows:3,placeholder:e.description,size:`large`}):e.key===`seo_keywords`?(0,Q.jsx)(HN,{placeholder:`关键词1, 关键词2, 关键词3`,size:`large`}):e.key===`user_login_credits_enabled`?(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,Q.jsx)(uF,{defaultChecked:e.value===`true`}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:13},children:e.value===`true`?`已启用`:`已禁用`})]}):e.key===`user_register_credits`||e.key===`user_login_credits`?(0,Q.jsx)(HN,{type:`number`,min:0,placeholder:e.description,size:`large`}):(0,Q.jsx)(HN,{placeholder:e.description,size:`large`});return n?(0,Q.jsx)(RA,{loading:!0,variant:`outlined`,style:{borderRadius:12}}):(0,Q.jsxs)(`div`,{style:{maxWidth:720},children:[(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`,marginBottom:16},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12,marginBottom:24},children:[(0,Q.jsx)(`div`,{style:{width:44,height:44,borderRadius:10,background:`rgba(99,102,241,0.08)`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:20,color:`#6366f1`},children:(0,Q.jsx)(h4,{})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Title,{level:4,style:{margin:0},children:`系统设置`}),(0,Q.jsx)(Z.Text,{type:`secondary`,children:`管理站点基础信息、协议文件和SEO配置`})]})]}),(0,Q.jsxs)(X,{form:c,layout:`vertical`,children:[Object.entries(p).map(([e,t])=>(0,Q.jsxs)(`div`,{style:{marginBottom:24},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14,display:`block`,marginBottom:12,paddingBottom:8,borderBottom:`1px solid #f0f0f5`},children:e}),e===`协议配置`?t.map(e=>(0,Q.jsx)(g,{config:e},e.id)):t.map(e=>(0,Q.jsx)(X.Item,{name:e.key,label:(0,Q.jsx)(`span`,{style:{fontWeight:500},children:e.description}),extra:m(e),children:_(e)},e.id))]},e)),(0,Q.jsxs)(`div`,{style:{marginBottom:4},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14,display:`block`,marginBottom:12,paddingBottom:8,borderBottom:`1px solid #f0f0f5`},children:`资源空间管控`}),(0,Q.jsxs)(`div`,{style:{padding:16,border:`1px solid #f0f0f5`,borderRadius:10,background:`#fafbfc`},children:[(0,Q.jsxs)(NM,{align:`start`,style:{marginBottom:16},children:[(0,Q.jsx)(MJ,{style:{color:`#6366f1`,fontSize:18,marginTop:2}}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,children:`全局生成资源容量上限`}),(0,Q.jsx)(`div`,{style:{color:`#64748b`,fontSize:13,marginTop:4},children:`开启后会按用户当前有效资源占用量进行提交前拦截;用户个人配置存在时优先级高于全局配置。`})]})]}),(0,Q.jsx)(X.Item,{name:`resource_capacity_enabled`,label:`启用全局容量管控`,valuePropName:`checked`,extra:`关闭时全局不限制;若用户设置了个人配置,则仍按用户个人配置优先判断。`,children:(0,Q.jsx)(uF,{checkedChildren:`开启`,unCheckedChildren:`关闭`})}),(0,Q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`1fr 180px`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`resource_capacity_limit_value`,label:`容量数值`,extra:`最小为1,不能为负数,最多支持3位小数。`,rules:[{required:!0,message:`请输入容量数值`}],children:(0,Q.jsx)(jj,{min:1,precision:3,style:{width:`100%`},size:`large`,placeholder:`例如 10.500`})}),(0,Q.jsx)(X.Item,{name:`resource_capacity_limit_unit`,label:`容量单位`,extra:`MB / GB / TB 固定枚举`,rules:[{required:!0,message:`请选择容量单位`}],children:(0,Q.jsx)(Ob,{size:`large`,options:THe})})]})]})]})]})]}),(0,Q.jsx)(`div`,{style:{display:`flex`,justifyContent:`flex-end`},children:(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)($2,{}),onClick:u,loading:i,size:`large`,style:{borderRadius:8,minWidth:140},children:`保存配置`})})]})},DHe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)([]),[o,s]=(0,C.useState)(!1),[c]=X.useForm(),[l,u]=(0,C.useState)({open:!1,notifId:``,title:``}),[d,f]=(0,C.useState)([]),[p,m]=(0,C.useState)(!1),[h,g]=(0,C.useState)(1),[_,v]=(0,C.useState)(10),[y,b]=(0,C.useState)(0),x=async()=>{r(!0);try{let e=await QBe(h,_),n=(await s5(1,1e3)).items||[],r={};n.forEach(e=>{r[e.id]=e.username}),t((e.items||[]).map(e=>({id:e.id,title:e.title,content:e.content,type:e.type,targetUserId:e.userId||null,target:e.userId?r[e.userId]||e.userId:`全部用户`,createdAt:e.createdAt}))),b(e.total||0),a(n.map(e=>({id:e.id,username:e.username})))}catch{wP.error(`加载通知列表失败`)}finally{r(!1)}};(0,C.useEffect)(()=>{x()},[h,_]);let S=(e,t)=>{g(e),v(t)},w=async()=>{try{let e=await c.validateFields();await $Be({title:e.title,content:e.content,type:e.type||`system`,target_user_id:e.target_user_id||void 0}),wP.success(`消息已发送`),s(!1),c.resetFields(),x()}catch{}},T=async e=>{try{await eVe(e),wP.success(`已删除`),x()}catch(e){wP.error(e?.message||`删除失败`)}},E=async(e,t)=>{u({open:!0,notifId:e,title:t}),m(!0);try{f((await tVe(e)).items||[])}catch{wP.error(`加载已读列表失败`)}finally{m(!1)}},D=e=>{switch(e){case`system`:return`blue`;case`credit`:return`orange`;case`promo`:return`purple`;default:return`default`}};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(XU,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`消息推送管理`}),(0,Q.jsxs)(kR,{color:`purple`,children:[`共 `,y,` 条消息`]})]}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(pA,{}),onClick:()=>s(!0),style:{borderRadius:8},children:`发送新消息`})]}),(0,Q.jsx)(gR,{columns:[{title:`标题`,dataIndex:`title`,width:200,render:e=>(0,Q.jsx)(Z.Text,{strong:!0,children:e})},{title:`内容`,dataIndex:`content`,ellipsis:!0},{title:`类型`,dataIndex:`type`,width:80,render:e=>(0,Q.jsx)(kR,{color:D(e),children:{system:`系统`,credit:`积分`,promo:`活动`}[e]||e})},{title:`发送目标`,dataIndex:`target`,width:120,render:e=>(0,Q.jsx)(kR,{color:e===`全部用户`?`green`:`blue`,children:e})},{title:`发送时间`,dataIndex:`createdAt`,width:160,render:e=>P5(e)},{title:`操作`,key:`action`,width:180,render:(e,t)=>(0,Q.jsxs)(NM,{size:4,children:[(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(NN,{}),onClick:()=>E(t.id,t.title),children:`已读`}),(0,Q.jsx)(kP,{title:`确定删除该消息?`,onConfirm:()=>T(t.id),children:(0,Q.jsx)(cC,{type:`link`,danger:!0,size:`small`,icon:(0,Q.jsx)(MR,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:n,pagination:{current:h,pageSize:_,total:y,onChange:S,showSizeChanger:!0,showTotal:e=>`共 ${e} 条消息`},scroll:{x:900}})]}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(f4,{}),`发送消息`]}),open:o,onOk:w,onCancel:()=>{s(!1),c.resetFields()},okText:`发送`,cancelText:`取消`,width:520,children:(0,Q.jsxs)(X,{form:c,layout:`vertical`,style:{marginTop:16},children:[(0,Q.jsx)(X.Item,{name:`title`,label:`消息标题`,rules:[{required:!0,message:`请输入标题`}],children:(0,Q.jsx)(HN,{placeholder:`请输入消息标题`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`content`,label:`消息内容`,rules:[{required:!0,message:`请输入内容`}],children:(0,Q.jsx)(HN.TextArea,{rows:4,placeholder:`请输入消息内容`,size:`large`})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`type`,label:`消息类型`,style:{flex:1},initialValue:`system`,rules:[{required:!0}],children:(0,Q.jsx)(Ob,{size:`large`,options:[{value:`system`,label:`系统通知`},{value:`credit`,label:`积分通知`},{value:`promo`,label:`活动通知`}]})}),(0,Q.jsx)(X.Item,{name:`target_user_id`,label:`发送目标`,style:{flex:1},extra:`留空则发送给全部用户`,children:(0,Q.jsx)(Ob,{size:`large`,allowClear:!0,placeholder:`全部用户`,options:i.map(e=>({value:e.id,label:e.username}))})})]})]})}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(Q3,{}),`已读用户 — `,l.title]}),open:l.open,onCancel:()=>{u({open:!1,notifId:``,title:``}),f([])},footer:null,width:480,children:p?(0,Q.jsx)(`div`,{style:{textAlign:`center`,padding:40},children:`加载中...`}):d.length===0?(0,Q.jsx)(Qy,{description:`暂无用户已读`,style:{padding:`40px 0`}}):(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`div`,{style:{marginBottom:12,color:`#64748b`,fontSize:13},children:[`共 `,d.length,` 人已读`]}),(0,Q.jsx)(gR,{dataSource:d,rowKey:`userId`,pagination:!1,size:`small`,columns:[{title:`用户名`,dataIndex:`username`,render:e=>(0,Q.jsx)(Z.Text,{strong:!0,children:e})},{title:`已读时间`,dataIndex:`readAt`,width:180,render:e=>P5(e)}]})]})})]})},OHe=o(((e,t)=>{var n={version:`1.15.0`};n[437]=(function(){for(var e=`\0\x07\b + `]:{zIndex:10,width:r,margin:`0 ${J(e.marginXXS)}`,fontSize:r,cursor:`pointer`,transition:`all ${e.motionDurationSlow}`,color:i,"&:hover":{color:i},svg:{verticalAlign:`baseline`}}},[`${s}-thumbnail, ${s}-thumbnail img`]:{position:`static`,display:`block`,width:`100%`,height:`100%`,objectFit:`contain`},[`${s}-name`]:{display:`none`,textAlign:`center`},[`${s}-file + ${s}-name`]:{position:`absolute`,bottom:e.margin,display:`block`,width:`calc(100% - ${J(a(e.paddingXS).mul(2).equal())})`},[`${s}-uploading`]:{[`&${s}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:`none`}},[`${s}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${J(a(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}},[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:`50%`}}}},Hz=e=>{let{componentCls:t}=e;return{[`${t}-rtl`]:{direction:`rtl`}}},Uz=e=>{let{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:{...Yc(e),[t]:{outline:0,"input[type='file']":{cursor:`pointer`}},[`${t}-select`]:{display:`inline-block`},[`${t}-hidden`]:{display:`none`},[`${t}-disabled`]:{color:n,cursor:`not-allowed`}}}},Wz=il(`Upload`,e=>{let{fontSizeHeading3:t,marginXS:n,lineWidth:r,pictureCardSize:i,calc:a}=e,o=_s(e,{uploadThumbnailSize:a(t).mul(2).equal(),uploadProgressOffset:a(a(n).div(2)).add(r).equal(),uploadPicCardSize:i});return[Uz(o),Lz(o),Bz(o),Vz(o),Rz(o),zz(o),Hz(o),nh(o)]},e=>({actionsColor:e.colorIcon,pictureCardSize:e.controlHeightLG*2.55})),Gz={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}}]}},name:`file`,theme:`twotone`};function Kz(){return Kz=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Kz({},e,{ref:t,icon:Gz}))),Jz={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z`}}]},name:`paper-clip`,theme:`outlined`};function Yz(){return Yz=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Yz({},e,{ref:t,icon:Jz}))),Zz={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z`,fill:e}},{tag:`path`,attrs:{d:`M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z`,fill:t}},{tag:`path`,attrs:{d:`M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z`,fill:t}},{tag:`path`,attrs:{d:`M276 368a28 28 0 1056 0 28 28 0 10-56 0z`,fill:t}},{tag:`path`,attrs:{d:`M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z`,fill:e}}]}},name:`picture`,theme:`twotone`};function Qz(){return Qz=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Qz({},e,{ref:t,icon:Zz})));function eB(e){return{...e,lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e}}function tB(e,t){let n=Qr(t),r=n.findIndex(({uid:t})=>t===e.uid);return r===-1?n.push(e):n[r]=e,n}function nB(e,t){let n=e.uid===void 0?`name`:`uid`;return t.filter(t=>t[n]===e[n])[0]}function rB(e,t){let n=e.uid===void 0?`name`:`uid`,r=t.filter(t=>t[n]!==e[n]);return r.length===t.length?null:r}var iB=(e=``)=>{let t=e.split(`/`),n=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[``])[0]},aB=e=>e.indexOf(`image/`)===0,oB=e=>{if(e.type&&!e.thumbUrl)return aB(e.type);let t=e.thumbUrl||e.url||``,n=iB(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n)?!0:!(/^data:/.test(t)||n)},sB=200;function cB(e){return new Promise(t=>{if(!e.type||!aB(e.type)){t(``);return}let n=document.createElement(`canvas`);n.width=sB,n.height=sB,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${sB}px; height: ${sB}px; z-index: 9999; display: none;`,document.body.appendChild(n);let r=n.getContext(`2d`),i=new Image;if(i.onload=()=>{let{width:e,height:a}=i,o=sB,s=sB,c=0,l=0;e>a?(s=sB/e*a,l=-(s-o)/2):(o=sB/a*e,c=-(o-s)/2),r.drawImage(i,c,l,o,s);let u=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(i.src),t(u)},i.crossOrigin=`anonymous`,e.type.startsWith(`image/svg+xml`)){let t=new FileReader;t.onload=()=>{t.result&&typeof t.result==`string`&&(i.src=t.result)},t.readAsDataURL(e)}else if(e.type.startsWith(`image/gif`)){let n=new FileReader;n.onload=()=>{n.result&&t(n.result)},n.readAsDataURL(e)}else i.src=window.URL.createObjectURL(e)})}var lB={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z`}}]},name:`download`,theme:`outlined`};function uB(){return uB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uB({},e,{ref:t,icon:lB}))),fB=C.forwardRef(({prefixCls:e,className:t,style:n,classNames:r,styles:i,locale:a,listType:o,file:s,items:c,progress:l,iconRender:u,actionIconRender:d,itemRender:f,isImgUrl:p,showPreviewIcon:m,showRemoveIcon:h,showDownloadIcon:g,previewIcon:_,removeIcon:v,downloadIcon:y,extra:b,onPreview:x,onDownload:S,onClose:w},T)=>{let{status:E}=s,[D,O]=C.useState(E);C.useEffect(()=>{E!==`removed`&&O(E)},[E]);let[k,A]=C.useState(!1);C.useEffect(()=>{let e=setTimeout(()=>{A(!0)},300);return()=>{clearTimeout(e)}},[]);let j=u(s),M=C.createElement(`div`,{className:`${e}-icon`},j);if(o===`picture`||o===`picture-card`||o===`picture-circle`)if(D===`uploading`||!s.thumbUrl&&!s.url){let t=q(`${e}-list-item-thumbnail`,{[`${e}-list-item-file`]:D!==`uploading`});M=C.createElement(`div`,{className:t},j)}else{let t=p?.(s)?C.createElement(`img`,{src:s.thumbUrl||s.url,alt:s.name,className:`${e}-list-item-image`,crossOrigin:s.crossOrigin}):j,n=q(`${e}-list-item-thumbnail`,{[`${e}-list-item-file`]:p&&!p(s)});M=C.createElement(`a`,{className:n,onClick:e=>x(s,e),href:s.url||s.thumbUrl,target:`_blank`,rel:`noopener noreferrer`},t)}let N=q(`${e}-list-item`,`${e}-list-item-${D}`,r?.item),P=typeof s.linkProps==`string`?JSON.parse(s.linkProps):s.linkProps,F=(typeof h==`function`?h(s):h)?d((typeof v==`function`?v(s):v)||C.createElement(ER,null),()=>w(s),e,a.removeFile,!0):null,I=(typeof g==`function`?g(s):g)&&D===`done`?d((typeof y==`function`?y(s):y)||C.createElement(dB,null),()=>S(s),e,a.downloadFile):null,L=o!==`picture-card`&&o!==`picture-circle`&&C.createElement(`span`,{key:`download-delete`,className:q(`${e}-list-item-actions`,{picture:o===`picture`})},I,F),R=typeof b==`function`?b(s):b,z=R&&C.createElement(`span`,{className:`${e}-list-item-extra`},R),B=q(`${e}-list-item-name`),V=s.url?C.createElement(`a`,{key:`view`,target:`_blank`,rel:`noopener noreferrer`,className:B,title:s.name,...P,href:s.url,onClick:e=>x(s,e)},s.name,z):C.createElement(`span`,{key:`view`,className:B,onClick:e=>x(s,e),title:s.name},s.name,z),H=(typeof m==`function`?m(s):m)&&(s.url||s.thumbUrl)?C.createElement(`a`,{href:s.url||s.thumbUrl,target:`_blank`,rel:`noopener noreferrer`,onClick:e=>x(s,e),title:a.previewFile},typeof _==`function`?_(s):_||C.createElement(AN,null)):null,U=(o===`picture-card`||o===`picture-circle`)&&D!==`uploading`&&C.createElement(`span`,{className:`${e}-list-item-actions`},H,D===`done`&&I,F),{getPrefixCls:W}=C.useContext(si),ee=W(),te=C.createElement(`div`,{className:N,style:i?.item},M,V,L,U,k&&C.createElement(Lu,{motionName:`${ee}-fade`,visible:D===`uploading`,motionDeadline:2e3},({className:t})=>{let n=`percent`in s?C.createElement(LP,{type:`line`,percent:s.percent,"aria-label":s[`aria-label`],"aria-labelledby":s[`aria-labelledby`],...l}):null;return C.createElement(`div`,{className:q(`${e}-list-item-progress`,t)},n)})),ne=s.response&&typeof s.response==`string`?s.response:s.error?.statusText||s.error?.message||a.uploadError,re=D===`error`?C.createElement(px,{title:ne,getPopupContainer:e=>e.parentNode},te):te;return C.createElement(`div`,{className:q(`${e}-list-item-container`,t),style:n,ref:T},f?f(re,s,c,{download:S.bind(null,s),preview:x.bind(null,s),remove:w.bind(null,s)}):re)}),pB=C.forwardRef((e,t)=>{let{listType:n=`text`,previewFile:r=cB,onPreview:i,onDownload:a,onRemove:o,locale:s,iconRender:c,isImageUrl:l=oB,prefixCls:u,items:d=[],showPreviewIcon:f=!0,showRemoveIcon:p=!0,showDownloadIcon:m=!1,removeIcon:h,previewIcon:g,downloadIcon:_,extra:v,progress:y={size:[-1,2],showInfo:!1},appendAction:b,appendActionVisible:x=!0,itemRender:S,disabled:w,classNames:T,styles:E}=e,[,D]=Dd(),[O,k]=C.useState(!1),A=[`picture-card`,`picture-circle`].includes(n);C.useEffect(()=>{n.startsWith(`picture`)&&(d||[]).forEach(e=>{!(e.originFileObj instanceof File||e.originFileObj instanceof Blob)||e.thumbUrl!==void 0||(e.thumbUrl=``,r?.(e.originFileObj).then(t=>{e.thumbUrl=t||``,D()}))})},[n,d,r]),C.useEffect(()=>{k(!0)},[]);let j=(e,t)=>{if(i)return t?.preventDefault(),i(e)},M=e=>{typeof a==`function`?a(e):e.url&&window.open(e.url)},N=e=>{o?.(e)},P=e=>{if(c)return c(e,n);let t=e.status===`uploading`;if(n.startsWith(`picture`)){let r=n===`picture`?C.createElement(fm,null):s.uploading,i=l?.(e)?C.createElement($z,null):C.createElement(qz,null);return t?r:i}return t?C.createElement(fm,null):C.createElement(Xz,null)},F=(e,t,n,r,i)=>{let a={type:`text`,size:`small`,title:r,onClick:n=>{t(),C.isValidElement(e)&&e.props.onClick?.(n)},className:`${n}-list-item-action`,disabled:i?w:!1};return C.isValidElement(e)?C.createElement(tg,{...a,icon:Fp(e,{...e.props,onClick:()=>{}})}):C.createElement(tg,{...a},C.createElement(`span`,null,e))};C.useImperativeHandle(t,()=>({handlePreview:j,handleDownload:M}));let{getPrefixCls:I}=C.useContext(si),L=I(`upload`,u),R=I(),z=q(`${L}-list`,`${L}-list-${n}`,T?.list),B=C.useMemo(()=>Cr(Mm(R),[`onAppearEnd`,`onEnterEnd`,`onLeaveEnd`]),[R]),V={...A?{}:B,motionDeadline:2e3,motionName:`${L}-${A?`animate-inline`:`animate`}`,keys:Qr(d.map(e=>({key:e.uid,file:e}))),motionAppear:O};return C.createElement(`div`,{className:z,style:E?.list},C.createElement(Iu,{...V,component:!1},({key:e,file:t,className:r,style:i})=>C.createElement(fB,{key:e,locale:s,prefixCls:L,className:r,style:i,classNames:T,styles:E,file:t,items:d,progress:y,listType:n,isImgUrl:l,showPreviewIcon:f,showRemoveIcon:p,showDownloadIcon:m,removeIcon:h,previewIcon:g,downloadIcon:_,extra:v,iconRender:P,actionIconRender:F,itemRender:S,onPreview:j,onDownload:M,onClose:N})),b&&C.createElement(Lu,{...V,visible:x,forceRender:!0},({className:e,style:t})=>Fp(b,n=>({className:q(n.className,e),style:{...t,pointerEvents:e?`none`:void 0,...n.style}}))))}),mB=`__LIST_IGNORE_${Date.now()}__`,hB=C.forwardRef((e,t)=>{let n=ui(`upload`),{fileList:r,defaultFileList:i,onRemove:a,showUploadList:o=!0,listType:s=`text`,onPreview:c,onDownload:l,onChange:u,onDrop:d,previewFile:f,disabled:p,locale:m,iconRender:h,isImageUrl:g,progress:_,prefixCls:v,className:y,type:b=`select`,children:x,style:S,itemRender:w,maxCount:T,data:E={},multiple:D=!1,hasControlInside:O=!0,action:k=``,accept:A=``,supportServerRender:j=!0,rootClassName:M,styles:N,classNames:P}=e,F=C.useContext(Bp),I=p??F,L=e.customRequest||n.customRequest,[R,z]=Wn(i,r),B=R||[],[V,H]=C.useState(`drop`),U=C.useRef(null),W=C.useRef(null);C.useMemo(()=>{let e=Date.now();(r||[]).forEach((t,n)=>{!t.uid&&!Object.isFrozen(t)&&(t.uid=`__AUTO__${e}_${n}__`)})},[r]);let ee=(e,t,n)=>{let r=Qr(t),i=!1;T===1?r=r.slice(-1):T&&(i=r.length>T,r=r.slice(0,T)),(0,Yf.flushSync)(()=>{z(r)});let a={file:e,fileList:r};n&&(a.event=n),(!i||e.status===`removed`||r.some(t=>t.uid===e.uid))&&(0,Yf.flushSync)(()=>{u?.(a)})},te=async(t,n)=>{let{beforeUpload:r}=e,i=t;if(r){let e=await r(t,n);if(e===!1)return!1;if(delete t[mB],e===mB)return Object.defineProperty(t,mB,{value:!0,configurable:!0}),!1;gd(e)&&(i=e)}return i},ne=e=>{let t=e.filter(e=>!e.file[mB]);if(!t.length)return;let n=t.map(e=>eB(e.file)),r=Qr(B);n.forEach(e=>{r=tB(e,r)}),n.forEach((e,n)=>{let i=e;if(t[n].parsedFile)e.status=`uploading`;else{let{originFileObj:t}=e,n;try{n=new File([t],t.name,{type:t.type})}catch{n=new Blob([t],{type:t.type}),n.name=t.name,n.lastModifiedDate=new Date,n.lastModified=new Date().getTime()}n.uid=e.uid,i=n}ee(i,r)})},re=(e,t,n)=>{try{typeof e==`string`&&(e=JSON.parse(e))}catch{}if(!nB(t,B))return;let r=eB(t);r.status=`done`,r.percent=100,r.response=e,r.xhr=n,ee(r,tB(r,B))},ie=(e,t)=>{if(!nB(t,B))return;let n=eB(t);n.status=`uploading`,n.percent=e.percent,ee(n,tB(n,B),e)},ae=(e,t,n)=>{if(!nB(n,B))return;let r=eB(n);r.error=e,r.response=t,r.status=`error`,ee(r,tB(r,B))},G=e=>{let t;Promise.resolve(typeof a==`function`?a(e):a).then(n=>{if(n===!1)return;let r=rB(e,B);r&&(t={...e,status:`removed`},B?.forEach(e=>{let n=t.uid===void 0?`name`:`uid`;e[n]===t[n]&&!Object.isFrozen(e)&&(e.status=`removed`)}),U.current?.abort(t),ee(t,r))})},oe=e=>{H(e.type),e.type===`drop`&&d?.(e)};C.useImperativeHandle(t,()=>({onBatchStart:ne,onSuccess:re,onProgress:ie,onError:ae,fileList:B,upload:U.current,nativeElement:W.current}));let{getPrefixCls:K,direction:se,className:ce,style:le,classNames:ue,styles:de}=ui(`upload`),fe=K(`upload`,v),pe={...e,listType:s,showUploadList:o,type:b,multiple:D,hasControlInside:O,supportServerRender:j,disabled:I},[me,he]=Id([ue,P],[de,N],{props:pe}),ge={onBatchStart:ne,onError:ae,onProgress:ie,onSuccess:re,...e,customRequest:L,data:E,multiple:D,action:k,accept:A,supportServerRender:j,prefixCls:fe,disabled:I,beforeUpload:te,onChange:void 0,hasControlInside:O};delete ge.className,delete ge.style,(!x||I)&&delete ge.id;let _e=`${fe}-wrapper`,[ve,ye]=Wz(fe,_e),[be]=ld(`Upload`,nd.Upload),{showRemoveIcon:xe,showPreviewIcon:Se,showDownloadIcon:Ce,removeIcon:we,previewIcon:Te,downloadIcon:Ee,extra:De}=typeof o==`boolean`?{}:o,Oe=xe===void 0?!I:xe,ke=(e,t)=>o?C.createElement(pB,{classNames:me,styles:he,prefixCls:fe,listType:s,items:B,previewFile:f,onPreview:c,onDownload:l,onRemove:G,showRemoveIcon:Oe,showPreviewIcon:Se,showDownloadIcon:Ce,removeIcon:we,previewIcon:Te,downloadIcon:Ee,iconRender:h,extra:De,locale:{...be,...m},isImageUrl:g,progress:_,appendAction:e,appendActionVisible:t,itemRender:w,disabled:I}):e,Ae=q(_e,y,M,ve,ye,ce,me.root,{[`${fe}-rtl`]:se===`rtl`,[`${fe}-picture-card-wrapper`]:s===`picture-card`,[`${fe}-picture-circle-wrapper`]:s===`picture-circle`}),je={...he.root},Me={...le,...S};if(b===`drag`){let e=q(ve,fe,`${fe}-drag`,{[`${fe}-drag-uploading`]:B.some(e=>e.status===`uploading`),[`${fe}-drag-hover`]:V===`dragover`,[`${fe}-disabled`]:I,[`${fe}-rtl`]:se===`rtl`},me.trigger);return C.createElement(`span`,{className:Ae,ref:W,style:je},C.createElement(`div`,{className:e,style:{...Me,...he.trigger},onDrop:oe,onDragOver:oe,onDragLeave:oe},C.createElement(Iz,{...ge,ref:U,className:`${fe}-btn`},C.createElement(`div`,{className:`${fe}-drag-container`},x))),ke())}let Ne=q(fe,`${fe}-select`,{[`${fe}-disabled`]:I,[`${fe}-hidden`]:!x},me.trigger),Pe=C.createElement(`div`,{className:Ne,style:{...Me,...he.trigger}},C.createElement(Iz,{...ge,ref:U}));return s===`picture-card`||s===`picture-circle`?C.createElement(`span`,{className:Ae,ref:W,style:je},ke(Pe,!!x)):C.createElement(`span`,{className:Ae,ref:W,style:je},Pe,ke())}),gB=C.forwardRef((e,t)=>{let{style:n,height:r,hasControlInside:i=!1,children:a,...o}=e,s={...n,height:r};return C.createElement(hB,{ref:t,hasControlInside:i,...o,style:s,type:`drag`},a)}),_B=hB;_B.Dragger=gB,_B.LIST_IGNORE=mB;var vB=o(((e,t)=>{function n(e){return e&&e.__esModule?e:{default:e}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),yB=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={items_per_page:`条/页`,jump_to:`跳至`,jump_to_confirm:`确定`,page:`页`,prev_page:`上一页`,next_page:`下一页`,prev_5:`向前 5 页`,next_5:`向后 5 页`,prev_3:`向前 3 页`,next_3:`向后 3 页`,page_size:`页码`}})),bB=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.commonLocale=void 0,e.commonLocale={yearFormat:`YYYY`,dayFormat:`D`,cellMeridiemFormat:`A`,monthBeforeYear:!0}})),xB=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var t=bB();function n(e){"@babel/helpers - typeof";return n=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},n(e)}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={placeholder:`请选择时间`,rangePlaceholder:[`开始时间`,`结束时间`]}})),CB=o((e=>{var t=vB().default;Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var n=t(xB()),r=t(SB()),i={lang:{placeholder:`请选择日期`,yearPlaceholder:`请选择年份`,quarterPlaceholder:`请选择季度`,monthPlaceholder:`请选择月份`,weekPlaceholder:`请选择周`,rangePlaceholder:[`开始日期`,`结束日期`],rangeYearPlaceholder:[`开始年份`,`结束年份`],rangeMonthPlaceholder:[`开始月份`,`结束月份`],rangeQuarterPlaceholder:[`开始季度`,`结束季度`],rangeWeekPlaceholder:[`开始周`,`结束周`],...n.default},timePickerLocale:{...r.default}};i.lang.ok=`确定`,e.default=i})),wB=o((e=>{var t=vB().default;Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default=t(CB()).default})),TB=o((e=>{var t=vB().default;Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var n=t(yB()),r=t(wB()),i=t(CB()),a=t(SB()),o="${label}不是一个有效的${type}";e.default={locale:`zh-cn`,Pagination:n.default,DatePicker:i.default,TimePicker:a.default,Calendar:r.default,global:{placeholder:`请选择`,close:`关闭`,sortable:`可排序`},Table:{filterTitle:`筛选`,filterConfirm:`确定`,filterReset:`重置`,filterEmptyText:`无筛选项`,filterCheckAll:`全选`,filterSearchPlaceholder:`在筛选项中搜索`,emptyText:`暂无数据`,selectAll:`全选当页`,selectInvert:`反选当页`,selectNone:`清空所有`,selectionAll:`全选所有`,sortTitle:`排序`,expand:`展开行`,collapse:`关闭行`,triggerDesc:`点击降序`,triggerAsc:`点击升序`,cancelSort:`取消排序`},Modal:{okText:`确定`,cancelText:`取消`,justOkText:`知道了`},Tour:{Next:`下一步`,Previous:`上一步`,Finish:`结束导览`},Popconfirm:{cancelText:`取消`,okText:`确定`},Transfer:{titles:[``,``],searchPlaceholder:`请输入搜索内容`,itemUnit:`项`,itemsUnit:`项`,remove:`删除`,selectCurrent:`全选当页`,removeCurrent:`删除当页`,selectAll:`全选所有`,deselectAll:`取消全选`,removeAll:`删除全部`,selectInvert:`反选当页`},Upload:{uploading:`文件上传中`,removeFile:`删除文件`,uploadError:`上传错误`,previewFile:`预览文件`,downloadFile:`下载文件`},Empty:{description:`暂无数据`},Icon:{icon:`图标`},Text:{edit:`编辑`,copy:`复制`,copied:`复制成功`,expand:`展开`,collapse:`收起`},Form:{optional:`(可选)`,defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:o,method:o,array:o,object:o,number:o,date:o,boolean:o,integer:o,float:o,regexp:o,email:o,url:o,hex:o},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},QRCode:{expired:`二维码过期`,refresh:`点击刷新`,scanned:`已扫描`},ColorPicker:{presetEmpty:`暂无`,transparent:`无色`,singleColor:`单色`,gradientColor:`渐变色`}}})),EB=o(((e,t)=>{t.exports=TB()})),DB={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM648.3 426.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V752c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 018.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z`}}]},name:`account-book`,theme:`filled`};function OB(){return OB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OB({},e,{ref:t,icon:DB}))),AB={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 00-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z`}}]},name:`account-book`,theme:`outlined`};function jB(){return jB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jB({},e,{ref:t,icon:AB}))),NB={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v584h656V256H712v48zm-65.6 121.8l-89.3 164.1h49.1c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4v33.7h65.4c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4V752c0 4.4-3.6 8-8 8h-41.3c-4.4 0-8-3.6-8-8v-53.8h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8h65.1v-33.7h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8H467l-89.3-164c-2.1-3.9-.7-8.8 3.2-10.9 1.1-.7 2.5-1 3.8-1h46a8 8 0 017.1 4.4l73.4 145.4h2.8l73.4-145.4c1.3-2.7 4.1-4.4 7.1-4.4h45c4.5 0 8 3.6 7.9 8 0 1.3-.4 2.6-1 3.8z`,fill:t}},{tag:`path`,attrs:{d:`M639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 00-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z`,fill:e}},{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584z`,fill:e}}]}},name:`account-book`,theme:`twotone`};function PB(){return PB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PB({},e,{ref:t,icon:NB}))),IB={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M952 474H829.8C812.5 327.6 696.4 211.5 550 194.2V72c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v122.2C327.6 211.5 211.5 327.6 194.2 474H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h122.2C211.5 696.4 327.6 812.5 474 829.8V952c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V829.8C696.4 812.5 812.5 696.4 829.8 550H952c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM512 756c-134.8 0-244-109.2-244-244s109.2-244 244-244 244 109.2 244 244-109.2 244-244 244z`}},{tag:`path`,attrs:{d:`M512 392c-32.1 0-62.1 12.4-84.8 35.2-22.7 22.7-35.2 52.7-35.2 84.8s12.5 62.1 35.2 84.8C449.9 619.4 480 632 512 632s62.1-12.5 84.8-35.2C619.4 574.1 632 544 632 512s-12.5-62.1-35.2-84.8A118.57 118.57 0 00512 392z`}}]},name:`aim`,theme:`outlined`};function LB(){return LB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LB({},e,{ref:t,icon:IB}))),zB={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 244c176.18 0 319 142.82 319 319v233a32 32 0 01-32 32H225a32 32 0 01-32-32V563c0-176.18 142.82-319 319-319zM484 68h56a8 8 0 018 8v96a8 8 0 01-8 8h-56a8 8 0 01-8-8V76a8 8 0 018-8zM177.25 191.66a8 8 0 0111.32 0l67.88 67.88a8 8 0 010 11.31l-39.6 39.6a8 8 0 01-11.31 0l-67.88-67.88a8 8 0 010-11.31l39.6-39.6zm669.6 0l39.6 39.6a8 8 0 010 11.3l-67.88 67.9a8 8 0 01-11.32 0l-39.6-39.6a8 8 0 010-11.32l67.89-67.88a8 8 0 0111.31 0zM192 892h640a32 32 0 0132 32v24a8 8 0 01-8 8H168a8 8 0 01-8-8v-24a32 32 0 0132-32zm148-317v253h64V575h-64z`}}]},name:`alert`,theme:`filled`};function BB(){return BB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BB({},e,{ref:t,icon:zB}))),HB={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M193 796c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563zm-48.1-252.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM832 892H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8z`}}]},name:`alert`,theme:`outlined`};function UB(){return UB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UB({},e,{ref:t,icon:HB}))),GB={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M340 585c0-5.5 4.5-10 10-10h44c5.5 0 10 4.5 10 10v171h355V563c0-136.4-110.6-247-247-247S265 426.6 265 563v193h75V585z`,fill:t}},{tag:`path`,attrs:{d:`M216.9 310.5l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3l-67.9-67.9a8.03 8.03 0 00-11.3 0l-39.6 39.6a8.03 8.03 0 000 11.3l67.9 67.9c3.1 3.1 8.1 3.1 11.3 0zm669.6-79.2l-39.6-39.6a8.03 8.03 0 00-11.3 0l-67.9 67.9a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l67.9-67.9c3.1-3.2 3.1-8.2 0-11.3zM484 180h56c4.4 0 8-3.6 8-8V76c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v96c0 4.4 3.6 8 8 8zm348 712H192c-17.7 0-32 14.3-32 32v24c0 4.4 3.6 8 8 8h688c4.4 0 8-3.6 8-8v-24c0-17.7-14.3-32-32-32zm-639-96c0 17.7 14.3 32 32 32h574c17.7 0 32-14.3 32-32V563c0-176.2-142.8-319-319-319S193 386.8 193 563v233zm72-233c0-136.4 110.6-247 247-247s247 110.6 247 247v193H404V585c0-5.5-4.5-10-10-10h-44c-5.5 0-10 4.5-10 10v171h-75V563z`,fill:e}}]}},name:`alert`,theme:`twotone`};function KB(){return KB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KB({},e,{ref:t,icon:GB}))),JB={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M602.9 669.8c-37.2 2.6-33.6-17.3-11.5-46.2 50.4-67.2 143.7-158.5 147.9-225.2 5.8-86.6-81.3-113.4-171-113.4-62.4 1.6-127 18.9-171 34.6-151.6 53.5-246.6 137.5-306.9 232-62.4 93.4-43 183.2 91.8 185.8 101.8-4.2 170.5-32.5 239.7-68.2.5 0-192.5 55.1-263.9 14.7-7.9-4.2-15.7-10-17.8-26.2 0-33.1 54.6-67.7 86.6-78.7v-56.7c64.5 22.6 140.6 16.3 205.7-32 2.1 5.8 4.2 13.1 3.7 21h11c2.6-22.6-12.6-44.6-37.8-46.2 7.3 5.8 12.6 10.5 15.2 14.7l-1 1-.5.5c-83.9 58.8-165.3 31.5-173.1 29.9l46.7-45.7-13.1-33.1c92.9-32.5 169.5-56.2 296.9-78.7l-28.5-23 14.7-8.9c75.5 21 126.4 36.7 123.8 76.6-1 6.8-3.7 14.7-7.9 23.1C660.1 466.1 594 538 567.2 569c-17.3 20.5-34.6 39.4-46.7 58.3-13.6 19.4-20.5 37.3-21 53.5 2.6 131.8 391.4-61.9 468-112.9-111.7 47.8-232.9 93.5-364.6 101.9zm85-302.9c2.8 5.2 4.1 11.6 4.1 19.1-.1-6.8-1.4-13.3-4.1-19.1z`}}]},name:`alibaba`,theme:`outlined`};function YB(){return YB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YB({},e,{ref:t,icon:JB}))),ZB={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M264 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm496 424c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496zm144 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`align-center`,theme:`outlined`};function QB(){return QB=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QB({},e,{ref:t,icon:ZB}))),eV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M120 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 424h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm784 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`align-left`,theme:`outlined`};function tV(){return tV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tV({},e,{ref:t,icon:eV}))),rV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M904 158H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 424H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 212H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`align-right`,theme:`outlined`};function iV(){return iV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iV({},e,{ref:t,icon:rV}))),oV={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64c247.42 0 448 200.58 448 448S759.42 960 512 960 64 759.42 64 512 264.58 64 512 64m32.5 168c-69.67 0-86.06 16.84-86.72 39.08l-.02 1.43v46.62H291.45c-9.92 0-14.28 23.05-14.27 39.3 0 2.7 2.08 4.93 4.77 4.93h175.81v58.3h-116.5c-9.96 0-14.3 23.76-14.27 39.47a4.77 4.77 0 004.77 4.76h233.45c-4.53 41.06-15.43 77.59-30.72 109.32l-1.22 2.5-.32-.28c-60.24-28.47-120.43-52.57-194.4-52.57l-2.62.01c-84.98 1.11-144.71 56.5-145.91 127.04l-.02 1.22.02 2.13c1.24 70.4 63.56 126.45 148.52 126.45 61.25 0 116.38-16.85 163.46-45.02a138.58 138.58 0 0014.07-7.96 345.6 345.6 0 0050.3-41.16l9.45 6.35 12.46 8.32c57.53 38.26 113.76 72.62 169.86 79.27a142.62 142.62 0 0018.31 1.16c43.02 0 55-52.68 57.39-95.51l.14-2.84c.4-8.46-6.2-15.6-14.65-15.86-75.46-2.37-136.45-22.05-192-46.11l-6.27-2.75c35.15-56.8 56.66-121.81 57.15-186.66l.09-1.08c.4-5.51-4-10.2-9.52-10.2H549.33v-58.3h165.73c9.92 0 14.28-22.12 14.27-39.31a4.85 4.85 0 00-4.78-4.92H549.32v-82.35a4.8 4.8 0 00-4.83-4.78M328 583.85c54.63 0 107.08 22.41 158.1 52.19l5.76 3.4c-103.57 119.84-247.17 95.9-261.72 26.37a66.89 66.89 0 01-1.14-9.83l-.06-2.34.02-.9c.97-40.12 45.33-68.9 99.04-68.9`}}]},name:`alipay-circle`,theme:`filled`};function sV(){return sV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sV({},e,{ref:t,icon:oV}))),lV={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64c247.42 0 448 200.58 448 448S759.42 960 512 960 64 759.42 64 512 264.58 64 512 64m32.5 168c-69.67 0-86.06 16.84-86.72 39.08l-.02 1.43v46.62H291.45c-9.92 0-14.28 23.05-14.27 39.3 0 2.7 2.08 4.93 4.77 4.93h175.81v58.3h-116.5c-9.96 0-14.3 23.76-14.27 39.47a4.77 4.77 0 004.77 4.76h233.45c-4.53 41.06-15.43 77.59-30.72 109.32l-1.22 2.5-.32-.28c-60.24-28.47-120.43-52.57-194.4-52.57l-2.62.01c-84.98 1.11-144.71 56.5-145.91 127.04l-.02 1.22.02 2.13c1.24 70.4 63.56 126.45 148.52 126.45 61.25 0 116.38-16.85 163.46-45.02a138.58 138.58 0 0014.07-7.96 345.6 345.6 0 0050.3-41.16l9.45 6.35 12.46 8.32c57.53 38.26 113.76 72.62 169.86 79.27a142.62 142.62 0 0018.31 1.16c43.02 0 55-52.68 57.39-95.51l.14-2.84c.4-8.46-6.2-15.6-14.65-15.86-75.46-2.37-136.45-22.05-192-46.11l-6.27-2.75c35.15-56.8 56.66-121.81 57.15-186.66l.09-1.08c.4-5.51-4-10.2-9.52-10.2H549.33v-58.3h165.73c9.92 0 14.28-22.12 14.27-39.31a4.85 4.85 0 00-4.78-4.92H549.32v-82.35a4.8 4.8 0 00-4.83-4.78M328 583.85c54.63 0 107.08 22.41 158.1 52.19l5.76 3.4c-103.57 119.84-247.17 95.9-261.72 26.37a66.89 66.89 0 01-1.14-9.83l-.06-2.34.02-.9c.97-40.12 45.33-68.9 99.04-68.9`}}]},name:`alipay-circle`,theme:`outlined`};function uV(){return uV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uV({},e,{ref:t,icon:lV}))),fV={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M557.2 129a6.68 6.68 0 016.72 6.65V250.2h243.8a6.74 6.74 0 016.65 6.84c.02 23.92-6.05 54.69-19.85 54.69H563.94v81.1h166.18c7.69 0 13.8 6.51 13.25 14.18l-.11 1.51c-.7 90.2-30.63 180.64-79.52 259.65l8.71 3.82c77.3 33.48 162.15 60.85 267.15 64.14a21.08 21.08 0 0120.38 22.07l-.2 3.95c-3.34 59.57-20 132.85-79.85 132.85-8.8 0-17.29-.55-25.48-1.61-78.04-9.25-156.28-57.05-236.32-110.27l-17.33-11.57-13.15-8.83a480.83 480.83 0 01-69.99 57.25 192.8 192.8 0 01-19.57 11.08c-65.51 39.18-142.21 62.6-227.42 62.62-118.2 0-204.92-77.97-206.64-175.9l-.03-2.95.03-1.7c1.66-98.12 84.77-175.18 203-176.72l3.64-.03c102.92 0 186.66 33.54 270.48 73.14l.44.38 1.7-3.47c21.27-44.14 36.44-94.95 42.74-152.06h-324.8a6.64 6.64 0 01-6.63-6.62c-.04-21.86 6-54.91 19.85-54.91h162.1v-81.1H191.92a6.71 6.71 0 01-6.64-6.85c-.01-22.61 6.06-54.68 19.86-54.68h231.4v-64.85l.02-1.99c.9-30.93 23.72-54.36 120.64-54.36M256.9 619c-74.77 0-136.53 39.93-137.88 95.6l-.02 1.26.08 3.24a92.55 92.55 0 001.58 13.64c20.26 96.5 220.16 129.71 364.34-36.59l-8.03-4.72C405.95 650.11 332.94 619 256.9 619`}}]},name:`alipay`,theme:`outlined`};function pV(){return pV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pV({},e,{ref:t,icon:fV}))),hV={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M894.6 116.54a30.9 30.9 0 0112.86 12.85c2.96 5.54 4.54 11.04 4.54 26.2V868.4c0 15.16-1.58 20.66-4.54 26.2a30.9 30.9 0 01-12.85 12.85c-5.54 2.96-11.04 4.54-26.2 4.54H155.6c-15.16 0-20.66-1.58-26.2-4.54a30.9 30.9 0 01-12.85-12.85c-2.92-5.47-4.5-10.9-4.54-25.59V155.6c0-15.16 1.58-20.66 4.54-26.2a30.9 30.9 0 0112.85-12.85c5.47-2.92 10.9-4.5 25.59-4.54H868.4c15.16 0 20.66 1.58 26.2 4.54M541 262c-62.2 0-76.83 15.04-77.42 34.9l-.02 1.27v41.62H315.08c-8.86 0-12.75 20.59-12.74 35.1a4.3 4.3 0 004.26 4.4h156.97v52.05H359.56c-8.9 0-12.77 21.22-12.75 35.25a4.26 4.26 0 004.26 4.25h208.44c-4.04 36.66-13.78 69.27-27.43 97.6l-1.09 2.23-.28-.25c-53.8-25.42-107.53-46.94-173.58-46.94l-2.33.01c-75.88 1-129.21 50.45-130.28 113.43l-.02 1.1.02 1.89c1.1 62.85 56.75 112.9 132.6 112.9 54.7 0 103.91-15.04 145.95-40.2a123.73 123.73 0 0012.56-7.1 308.6 308.6 0 0044.92-36.75l8.44 5.67 11.12 7.43c51.36 34.15 101.57 64.83 151.66 70.77a127.34 127.34 0 0016.35 1.04c38.4 0 49.1-47.04 51.24-85.28l.13-2.53a13.53 13.53 0 00-13.08-14.17c-67.39-2.1-121.84-19.68-171.44-41.17l-5.6-2.44c31.39-50.72 50.6-108.77 51.04-166.67l.07-.96a8.51 8.51 0 00-8.5-9.1H545.33v-52.06H693.3c8.86 0 12.75-19.75 12.75-35.1-.01-2.4-1.87-4.4-4.27-4.4H545.32v-73.52a4.29 4.29 0 00-4.31-4.27m-193.3 314.15c48.77 0 95.6 20.01 141.15 46.6l5.15 3.04c-92.48 107-220.69 85.62-233.68 23.54a59.72 59.72 0 01-1.02-8.78l-.05-2.08.01-.81c.87-35.82 40.48-61.51 88.44-61.51`}}]},name:`alipay-square`,theme:`filled`};function gV(){return gV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gV({},e,{ref:t,icon:hV}))),vV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 00-120.5-81.2A375.65 375.65 0 00519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 00-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0029.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-325.2 79c0 20.4-16.6 37.1-37.1 37.1-20.4 0-37.1-16.7-37.1-37.1v-55.1c0-20.4 16.6-37.1 37.1-37.1 20.4 0 37.1 16.6 37.1 37.1v55.1zm175.2 0c0 20.4-16.6 37.1-37.1 37.1S644 476.8 644 456.4v-55.1c0-20.4 16.7-37.1 37.1-37.1 20.4 0 37.1 16.6 37.1 37.1v55.1z`}}]},name:`aliwangwang`,theme:`filled`};function yV(){return yV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yV({},e,{ref:t,icon:vV}))),xV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868.2 377.4c-18.9-45.1-46.3-85.6-81.2-120.6a377.26 377.26 0 00-120.5-81.2A375.65 375.65 0 00519 145.8c-41.9 0-82.9 6.7-121.9 20C306 123.3 200.8 120 170.6 120c-2.2 0-7.4 0-9.4.2-11.9.4-22.8 6.5-29.2 16.4-6.5 9.9-7.7 22.4-3.4 33.5l64.3 161.6a378.59 378.59 0 00-52.8 193.2c0 51.4 10 101 29.8 147.6 18.9 45 46.2 85.6 81.2 120.5 34.7 34.8 75.4 62.1 120.5 81.2C418.3 894 467.9 904 519 904c51.3 0 100.9-10.1 147.7-29.8 44.9-18.9 85.5-46.3 120.4-81.2 34.7-34.8 62.1-75.4 81.2-120.6a376.5 376.5 0 0029.8-147.6c-.2-51.2-10.1-100.8-29.9-147.4zm-66.4 266.5a307.08 307.08 0 01-65.9 98c-28.4 28.5-61.3 50.7-97.7 65.9h-.1c-38 16-78.3 24.2-119.9 24.2a306.51 306.51 0 01-217.5-90.2c-28.4-28.5-50.6-61.4-65.8-97.8v-.1c-16-37.8-24.1-78.2-24.1-119.9 0-55.4 14.8-109.7 42.8-157l13.2-22.1-9.5-23.9L206 192c14.9.6 35.9 2.1 59.7 5.6 43.8 6.5 82.5 17.5 114.9 32.6l19 8.9 19.9-6.8c31.5-10.8 64.8-16.2 98.9-16.2a306.51 306.51 0 01217.5 90.2c28.4 28.5 50.6 61.4 65.8 97.8l.1.1.1.1c16 37.6 24.1 78 24.2 119.8-.1 41.7-8.3 82-24.3 119.8zM681.1 364.2c-20.4 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.6 37.1 37.1 37.1s37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1zm-175.2 0c-20.5 0-37.1 16.7-37.1 37.1v55.1c0 20.4 16.7 37.1 37.1 37.1 20.5 0 37.1-16.7 37.1-37.1v-55.1c0-20.5-16.7-37.1-37.1-37.1z`}}]},name:`aliwangwang`,theme:`outlined`};function SV(){return SV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SV({},e,{ref:t,icon:xV}))),wV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M959.2 383.9c-.3-82.1-66.9-148.6-149.1-148.6H575.9l21.6 85.2 201 43.7a42.58 42.58 0 0132.9 39.7c.1.5.1 216.1 0 216.6a42.58 42.58 0 01-32.9 39.7l-201 43.7-21.6 85.3h234.2c82.1 0 148.8-66.5 149.1-148.6V383.9zM225.5 660.4a42.58 42.58 0 01-32.9-39.7c-.1-.6-.1-216.1 0-216.6.8-19.4 14.6-35.5 32.9-39.7l201-43.7 21.6-85.2H213.8c-82.1 0-148.8 66.4-149.1 148.6V641c.3 82.1 67 148.6 149.1 148.6H448l-21.6-85.3-200.9-43.9zm200.9-158.8h171v21.3h-171z`}}]},name:`aliyun`,theme:`outlined`};function TV(){return TV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TV({},e,{ref:t,icon:wV}))),DV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M485 467.5c-11.6 4.9-20.9 12.2-27.8 22-6.9 9.8-10.4 21.6-10.4 35.5 0 17.8 7.5 31.5 22.4 41.2 14.1 9.1 28.9 11.4 44.4 6.8 17.9-5.2 30-17.9 36.4-38.1 3-9.3 4.5-19.7 4.5-31.3v-50.2c-12.6.4-24.4 1.6-35.5 3.7-11.1 2.1-22.4 5.6-34 10.4zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm35.8 262.7c-7.2-10.9-20.1-16.4-38.7-16.4-1.3 0-3 .1-5.3.3-2.2.2-6.6 1.5-12.9 3.7a79.4 79.4 0 00-17.9 9.1c-5.5 3.8-11.5 10-18 18.4-6.4 8.5-11.5 18.4-15.3 29.8l-94-8.4c0-12.4 2.4-24.7 7-36.9 4.7-12.2 11.8-23.9 21.4-35 9.6-11.2 21.1-21 34.5-29.4 13.4-8.5 29.6-15.2 48.4-20.3 18.9-5.1 39.1-7.6 60.9-7.6 21.3 0 40.6 2.6 57.8 7.7 17.2 5.2 31.1 11.5 41.4 19.1a117 117 0 0125.9 25.7c6.9 9.6 11.7 18.5 14.4 26.7 2.7 8.2 4 15.7 4 22.8v182.5c0 6.4 1.4 13 4.3 19.8 2.9 6.8 6.3 12.8 10.2 18 3.9 5.2 7.9 9.9 12 14.3 4.1 4.3 7.6 7.7 10.6 9.9l4.1 3.4-72.5 69.4c-8.5-7.7-16.9-15.4-25.2-23.4-8.3-8-14.5-14-18.5-18.1l-6.1-6.2c-2.4-2.3-5-5.7-8-10.2-8.1 12.2-18.5 22.8-31.1 31.8-12.7 9-26.3 15.6-40.7 19.7-14.5 4.1-29.4 6.5-44.7 7.1-15.3.6-30-1.5-43.9-6.5-13.9-5-26.5-11.7-37.6-20.3-11.1-8.6-19.9-20.2-26.5-35-6.6-14.8-9.9-31.5-9.9-50.4 0-17.4 3-33.3 8.9-47.7 6-14.5 13.6-26.5 23-36.1 9.4-9.6 20.7-18.2 34-25.7s26.4-13.4 39.2-17.7c12.8-4.2 26.6-7.8 41.5-10.7 14.9-2.9 27.6-4.8 38.2-5.7 10.6-.9 21.2-1.6 31.8-2v-39.4c0-13.5-2.3-23.5-6.7-30.1zm180.5 379.6c-2.8 3.3-7.5 7.8-14.1 13.5s-16.8 12.7-30.5 21.1c-13.7 8.4-28.8 16-45 22.9-16.3 6.9-36.3 12.9-60.1 18-23.7 5.1-48.2 7.6-73.3 7.6-25.4 0-50.7-3.2-76.1-9.6-25.4-6.4-47.6-14.3-66.8-23.7-19.1-9.4-37.6-20.2-55.1-32.2-17.6-12.1-31.7-22.9-42.4-32.5-10.6-9.6-19.6-18.7-26.8-27.1-1.7-1.9-2.8-3.6-3.2-5.1-.4-1.5-.3-2.8.3-3.7.6-.9 1.5-1.6 2.6-2.2a7.42 7.42 0 017.4.8c40.9 24.2 72.9 41.3 95.9 51.4 82.9 36.4 168 45.7 255.3 27.9 40.5-8.3 82.1-22.2 124.9-41.8 3.2-1.2 6-1.5 8.3-.9 2.3.6 3.5 2.4 3.5 5.4 0 2.8-1.6 6.3-4.8 10.2zm59.9-29c-1.8 11.1-4.9 21.6-9.1 31.8-7.2 17.1-16.3 30-27.1 38.4-3.6 2.9-6.4 3.8-8.3 2.8-1.9-1-1.9-3.5 0-7.4 4.5-9.3 9.2-21.8 14.2-37.7 5-15.8 5.7-26 2.1-30.5-1.1-1.5-2.7-2.6-5-3.6-2.2-.9-5.1-1.5-8.6-1.9s-6.7-.6-9.4-.8c-2.8-.2-6.5-.2-11.2 0-4.7.2-8 .4-10.1.6a874.4 874.4 0 01-17.1 1.5c-1.3.2-2.7.4-4.1.5-1.5.1-2.7.2-3.5.3l-2.7.3c-1 .1-1.7.2-2.2.2h-3.2l-1-.2-.6-.5-.5-.9c-1.3-3.3 3.7-7.4 15-12.4s22.3-8.1 32.9-9.3c9.8-1.5 21.3-1.5 34.5-.3s21.3 3.7 24.3 7.4c2.3 3.5 2.5 10.7.7 21.7z`}}]},name:`amazon-circle`,theme:`filled`};function OV(){return OV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OV({},e,{ref:t,icon:DV}))),AV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M825 768.9c-3.3-.9-7.3-.4-11.9 1.3-61.6 28.2-121.5 48.3-179.7 60.2C507.7 856 385.2 842.6 266 790.3c-33.1-14.6-79.1-39.2-138-74a9.36 9.36 0 00-5.3-2c-2-.1-3.7.1-5.3.9-1.6.8-2.8 1.8-3.7 3.1-.9 1.3-1.1 3.1-.4 5.4.6 2.2 2.1 4.7 4.6 7.4 10.4 12.2 23.3 25.2 38.6 39s35.6 29.4 60.9 46.8c25.3 17.4 51.8 32.9 79.3 46.4 27.6 13.5 59.6 24.9 96.1 34.1s73 13.8 109.4 13.8c36.2 0 71.4-3.7 105.5-10.9 34.2-7.3 63-15.9 86.5-25.9 23.4-9.9 45-21 64.8-33 19.8-12 34.4-22.2 43.9-30.3 9.5-8.2 16.3-14.6 20.2-19.4 4.6-5.7 6.9-10.6 6.9-14.9.1-4.5-1.7-7.1-5-7.9zM527.4 348.1c-15.2 1.3-33.5 4.1-55 8.3-21.5 4.1-41.4 9.3-59.8 15.4s-37.2 14.6-56.3 25.4c-19.2 10.8-35.5 23.2-49 37s-24.5 31.1-33.1 52c-8.6 20.8-12.9 43.7-12.9 68.7 0 27.1 4.7 51.2 14.3 72.5 9.5 21.3 22.2 38 38.2 50.4 15.9 12.4 34 22.1 54 29.2 20 7.1 41.2 10.3 63.2 9.4 22-.9 43.5-4.3 64.4-10.3 20.8-5.9 40.4-15.4 58.6-28.3 18.2-12.9 33.1-28.2 44.8-45.7 4.3 6.6 8.1 11.5 11.5 14.7l8.7 8.9c5.8 5.9 14.7 14.6 26.7 26.1 11.9 11.5 24.1 22.7 36.3 33.7l104.4-99.9-6-4.9c-4.3-3.3-9.4-8-15.2-14.3-5.8-6.2-11.6-13.1-17.2-20.5-5.7-7.4-10.6-16.1-14.7-25.9-4.1-9.8-6.2-19.3-6.2-28.5V258.7c0-10.1-1.9-21-5.7-32.8-3.9-11.7-10.7-24.5-20.7-38.3-10-13.8-22.4-26.2-37.2-37-14.9-10.8-34.7-20-59.6-27.4-24.8-7.4-52.6-11.1-83.2-11.1-31.3 0-60.4 3.7-87.6 10.9-27.1 7.3-50.3 17-69.7 29.2-19.3 12.2-35.9 26.3-49.7 42.4-13.8 16.1-24.1 32.9-30.8 50.4-6.7 17.5-10.1 35.2-10.1 53.1L408 310c5.5-16.4 12.9-30.6 22-42.8 9.2-12.2 17.9-21 25.8-26.5 8-5.5 16.6-9.9 25.7-13.2 9.2-3.3 15.4-5 18.6-5.4 3.2-.3 5.7-.4 7.6-.4 26.7 0 45.2 7.9 55.6 23.6 6.5 9.5 9.7 23.9 9.7 43.3v56.6c-15.2.6-30.4 1.6-45.6 2.9zM573.1 500c0 16.6-2.2 31.7-6.5 45-9.2 29.1-26.7 47.4-52.4 54.8-22.4 6.6-43.7 3.3-63.9-9.8-21.5-14-32.2-33.8-32.2-59.3 0-19.9 5-36.9 15-51.1 10-14.1 23.3-24.7 40-31.7s33-12 49-14.9c15.9-3 33-4.8 51-5.4V500zm335.2 218.9c-4.3-5.4-15.9-8.9-34.9-10.7-19-1.8-35.5-1.7-49.7.4-15.3 1.8-31.1 6.2-47.3 13.4-16.3 7.1-23.4 13.1-21.6 17.8l.7 1.3.9.7 1.4.2h4.6c.8 0 1.8-.1 3.2-.2 1.4-.1 2.7-.3 3.9-.4 1.2-.1 2.9-.3 5.1-.4 2.1-.1 4.1-.4 6-.7.3 0 3.7-.3 10.3-.9 6.6-.6 11.4-1 14.3-1.3 2.9-.3 7.8-.6 14.5-.9 6.7-.3 12.1-.3 16.1 0 4 .3 8.5.7 13.6 1.1 5.1.4 9.2 1.3 12.4 2.7 3.2 1.3 5.6 3 7.1 5.1 5.2 6.6 4.2 21.2-3 43.9s-14 40.8-20.4 54.2c-2.8 5.7-2.8 9.2 0 10.7s6.7.1 11.9-4c15.6-12.2 28.6-30.6 39.1-55.3 6.1-14.6 10.5-29.8 13.1-45.7 2.4-15.9 2-26.2-1.3-31z`}}]},name:`amazon`,theme:`outlined`};function jV(){return jV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jV({},e,{ref:t,icon:AV}))),NV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM547.8 326.7c-7.2-10.9-20.1-16.4-38.7-16.4-1.3 0-3 .1-5.3.3-2.2.2-6.6 1.5-12.9 3.7a79.4 79.4 0 00-17.9 9.1c-5.5 3.8-11.5 10-18 18.4-6.4 8.5-11.5 18.4-15.3 29.8l-94-8.4c0-12.4 2.4-24.7 7-36.9s11.8-23.9 21.4-35c9.6-11.2 21.1-21 34.5-29.4 13.4-8.5 29.6-15.2 48.4-20.3 18.9-5.1 39.1-7.6 60.9-7.6 21.3 0 40.6 2.6 57.8 7.7 17.2 5.2 31.1 11.5 41.4 19.1a117 117 0 0125.9 25.7c6.9 9.6 11.7 18.5 14.4 26.7 2.7 8.2 4 15.7 4 22.8v182.5c0 6.4 1.4 13 4.3 19.8 2.9 6.8 6.3 12.8 10.2 18 3.9 5.2 7.9 9.9 12 14.3 4.1 4.3 7.6 7.7 10.6 9.9l4.1 3.4-72.5 69.4c-8.5-7.7-16.9-15.4-25.2-23.4-8.3-8-14.5-14-18.5-18.1l-6.1-6.2c-2.4-2.3-5-5.7-8-10.2-8.1 12.2-18.5 22.8-31.1 31.8-12.7 9-26.3 15.6-40.7 19.7-14.5 4.1-29.4 6.5-44.7 7.1-15.3.6-30-1.5-43.9-6.5-13.9-5-26.5-11.7-37.6-20.3-11.1-8.6-19.9-20.2-26.5-35-6.6-14.8-9.9-31.5-9.9-50.4 0-17.4 3-33.3 8.9-47.7 6-14.5 13.6-26.5 23-36.1 9.4-9.6 20.7-18.2 34-25.7s26.4-13.4 39.2-17.7c12.8-4.2 26.6-7.8 41.5-10.7 14.9-2.9 27.6-4.8 38.2-5.7 10.6-.9 21.2-1.6 31.8-2v-39.4c0-13.5-2.3-23.5-6.7-30.1zm180.5 379.6c-2.8 3.3-7.5 7.8-14.1 13.5s-16.8 12.7-30.5 21.1c-13.7 8.4-28.8 16-45 22.9-16.3 6.9-36.3 12.9-60.1 18-23.7 5.1-48.2 7.6-73.3 7.6-25.4 0-50.7-3.2-76.1-9.6-25.4-6.4-47.6-14.3-66.8-23.7-19.1-9.4-37.6-20.2-55.1-32.2-17.6-12.1-31.7-22.9-42.4-32.5-10.6-9.6-19.6-18.7-26.8-27.1-1.7-1.9-2.8-3.6-3.2-5.1-.4-1.5-.3-2.8.3-3.7.6-.9 1.5-1.6 2.6-2.2a7.42 7.42 0 017.4.8c40.9 24.2 72.9 41.3 95.9 51.4 82.9 36.4 168 45.7 255.3 27.9 40.5-8.3 82.1-22.2 124.9-41.8 3.2-1.2 6-1.5 8.3-.9 2.3.6 3.5 2.4 3.5 5.4 0 2.8-1.6 6.3-4.8 10.2zm59.9-29c-1.8 11.1-4.9 21.6-9.1 31.8-7.2 17.1-16.3 30-27.1 38.4-3.6 2.9-6.4 3.8-8.3 2.8-1.9-1-1.9-3.5 0-7.4 4.5-9.3 9.2-21.8 14.2-37.7 5-15.8 5.7-26 2.1-30.5-1.1-1.5-2.7-2.6-5-3.6-2.2-.9-5.1-1.5-8.6-1.9s-6.7-.6-9.4-.8c-2.8-.2-6.5-.2-11.2 0-4.7.2-8 .4-10.1.6a874.4 874.4 0 01-17.1 1.5c-1.3.2-2.7.4-4.1.5-1.5.1-2.7.2-3.5.3l-2.7.3c-1 .1-1.7.2-2.2.2h-3.2l-1-.2-.6-.5-.5-.9c-1.3-3.3 3.7-7.4 15-12.4s22.3-8.1 32.9-9.3c9.8-1.5 21.3-1.5 34.5-.3s21.3 3.7 24.3 7.4c2.3 3.5 2.5 10.7.7 21.7zM485 467.5c-11.6 4.9-20.9 12.2-27.8 22-6.9 9.8-10.4 21.6-10.4 35.5 0 17.8 7.5 31.5 22.4 41.2 14.1 9.1 28.9 11.4 44.4 6.8 17.9-5.2 30-17.9 36.4-38.1 3-9.3 4.5-19.7 4.5-31.3v-50.2c-12.6.4-24.4 1.6-35.5 3.7-11.1 2.1-22.4 5.6-34 10.4z`}}]},name:`amazon-square`,theme:`filled`};function PV(){return PV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PV({},e,{ref:t,icon:NV}))),IV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M270.1 741.7c0 23.4 19.1 42.5 42.6 42.5h48.7v120.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V784.1h85v120.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V784.1h48.7c23.5 0 42.6-19.1 42.6-42.5V346.4h-486v395.3zm357.1-600.1l44.9-65c2.6-3.8 2-8.9-1.5-11.4-3.5-2.4-8.5-1.2-11.1 2.6l-46.6 67.6c-30.7-12.1-64.9-18.8-100.8-18.8-35.9 0-70.1 6.7-100.8 18.8l-46.6-67.5c-2.6-3.8-7.6-5.1-11.1-2.6-3.5 2.4-4.1 7.4-1.5 11.4l44.9 65c-71.4 33.2-121.4 96.1-127.8 169.6h486c-6.6-73.6-56.7-136.5-128-169.7zM409.5 244.1a26.9 26.9 0 1126.9-26.9 26.97 26.97 0 01-26.9 26.9zm208.4 0a26.9 26.9 0 1126.9-26.9 26.97 26.97 0 01-26.9 26.9zm223.4 100.7c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V400.1c.1-30.6-24.3-55.3-54.6-55.3zm-658.6 0c-30.2 0-54.6 24.8-54.6 55.4v216.4c0 30.5 24.5 55.4 54.6 55.4 30.2 0 54.6-24.8 54.6-55.4V400.1c0-30.6-24.5-55.3-54.6-55.3z`}}]},name:`android`,theme:`filled`};function LV(){return LV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LV({},e,{ref:t,icon:IV}))),zV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M448.3 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32-13.4 32-31.9.1-18.4-13.4-31.9-32-31.9zm393.9 96.4c-13.8-13.8-32.7-21.5-53.2-21.5-3.9 0-7.4.4-10.7 1v-1h-3.6c-5.5-30.6-18.6-60.5-38.1-87.4-18.7-25.7-43-47.9-70.8-64.9l25.1-35.8v-3.3c0-.8.4-2.3.7-3.8.6-2.4 1.4-5.5 1.4-8.9 0-18.5-13.5-31.9-32-31.9-9.8 0-19.5 5.7-25.9 15.4l-29.3 42.1c-30-9.8-62.4-15-93.8-15-31.3 0-63.7 5.2-93.8 15L389 79.4c-6.6-9.6-16.1-15.4-26-15.4-18.6 0-32 13.4-32 31.9 0 6.2 2.5 12.8 6.7 17.4l22.6 32.3c-28.7 17-53.5 39.4-72.2 65.1-19.4 26.9-32 56.8-36.7 87.4h-5.5v1c-3.2-.6-6.7-1-10.7-1-20.3 0-39.2 7.5-53.1 21.3-13.8 13.8-21.5 32.6-21.5 53v235c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 3.9 0 7.4-.4 10.7-1v93.5c0 29.2 23.9 53.1 53.2 53.1H331v58.3c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-58.2H544v58.1c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.4 0 39.2-7.5 53.1-21.6 13.8-13.8 21.5-32.6 21.5-53v-58.2h31.9c29.3 0 53.2-23.8 53.2-53.1v-91.4c3.2.6 6.7 1 10.7 1 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-235c-.1-20.3-7.6-39-21.4-52.9zM246 609.6c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zm131.1-396.8c37.5-27.3 85.3-42.3 135-42.3s97.5 15.1 135 42.5c32.4 23.7 54.2 54.2 62.7 87.5H314.4c8.5-33.4 30.5-64 62.7-87.7zm39.3 674.7c-.6 5.6-4.4 8.7-10.5 8.7-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1zm202.3 8.7c-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1c-.6 5.6-4.3 8.7-10.5 8.7zm95.8-132.6H309.9V364h404.6v399.6zm85.2-154c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zM576.1 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32.1-13.4 32.1-32-.1-18.6-13.4-31.8-32.1-31.8z`}}]},name:`android`,theme:`outlined`};function BV(){return BV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BV({},e,{ref:t,icon:zV}))),HV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M378.9 738c-3.1 0-6.1-.5-8.8-1.5l4.4 30.7h26.3l-15.5-29.9c-2.1.5-4.2.7-6.4.7zm421-291.2c-12.6 0-24.8 1.5-36.5 4.2-21.4-38.4-62.3-64.3-109.3-64.3-6.9 0-13.6.6-20.2 1.6-35.4-77.4-113.4-131.1-203.9-131.1-112.3 0-205.3 82.6-221.6 190.4C127.3 455.5 64 523.8 64 607c0 88.4 71.6 160.1 160 160.2h50l13.2-27.6c-26.2-8.3-43.3-29-39.1-48.8 4.6-21.6 32.8-33.9 63.1-27.5 22.9 4.9 40.4 19.1 45.5 35.1a26.1 26.1 0 0122.1-12.4h.2c-.8-3.2-1.2-6.5-1.2-9.9 0-20.1 14.8-36.7 34.1-39.6v-25.4c0-4.4 3.6-8 8-8s8 3.6 8 8v26.3c4.6 1.2 8.8 3.2 12.6 5.8l19.5-21.4c3-3.3 8-3.5 11.3-.5 3.3 3 3.5 8 .5 11.3l-20 22-.2.2a40 40 0 01-46.9 59.2c-.4 5.6-2.6 10.7-6 14.8l20 38.4H804v-.1c86.5-2.2 156-73 156-160.1 0-88.5-71.7-160.2-160.1-160.2zM338.2 737.2l-4.3 30h24.4l-5.9-41.5c-3.5 4.6-8.3 8.5-14.2 11.5zM797.5 305a48 48 0 1096 0 48 48 0 10-96 0zm-65.7 61.3a24 24 0 1048 0 24 24 0 10-48 0zM303.4 742.9l-11.6 24.3h26l3.5-24.7c-5.7.8-11.7 1-17.9.4z`}}]},name:`ant-cloud`,theme:`outlined`};function UV(){return UV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UV({},e,{ref:t,icon:HV}))),GV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M716.3 313.8c19-18.9 19-49.7 0-68.6l-69.9-69.9.1.1c-18.5-18.5-50.3-50.3-95.3-95.2-21.2-20.7-55.5-20.5-76.5.5L80.9 474.2a53.84 53.84 0 000 76.4L474.6 944a54.14 54.14 0 0076.5 0l165.1-165c19-18.9 19-49.7 0-68.6a48.7 48.7 0 00-68.7 0l-125 125.2c-5.2 5.2-13.3 5.2-18.5 0L189.5 521.4c-5.2-5.2-5.2-13.3 0-18.5l314.4-314.2c.4-.4.9-.7 1.3-1.1 5.2-4.1 12.4-3.7 17.2 1.1l125.2 125.1c19 19 49.8 19 68.7 0zM408.6 514.4a106.3 106.2 0 10212.6 0 106.3 106.2 0 10-212.6 0zm536.2-38.6L821.9 353.5c-19-18.9-49.8-18.9-68.7.1a48.4 48.4 0 000 68.6l83 82.9c5.2 5.2 5.2 13.3 0 18.5l-81.8 81.7a48.4 48.4 0 000 68.6 48.7 48.7 0 0068.7 0l121.8-121.7a53.93 53.93 0 00-.1-76.4z`}}]},name:`ant-design`,theme:`outlined`};function KV(){return KV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KV({},e,{ref:t,icon:GV}))),JV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M908 640H804V488c0-4.4-3.6-8-8-8H548v-96h108c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h108v96H228c-4.4 0-8 3.6-8 8v152H116c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16H292v-88h440v88H620c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16zm-564 76v168H176V716h168zm84-408V140h168v168H428zm420 576H680V716h168v168z`}}]},name:`apartment`,theme:`outlined`};function YV(){return YV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YV({},e,{ref:t,icon:JV}))),ZV={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 68.9-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2z`}}]},name:`api`,theme:`filled`};function QV(){return QV=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QV({},e,{ref:t,icon:ZV}))),eH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z`}}]},name:`api`,theme:`outlined`};function tH(){return tH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tH({},e,{ref:t,icon:eH}))),rH={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M148.2 674.6zm106.7-92.3c-25 25-38.7 58.1-38.7 93.4s13.8 68.5 38.7 93.4c25 25 58.1 38.7 93.4 38.7 35.3 0 68.5-13.8 93.4-38.7l59.4-59.4-186.8-186.8-59.4 59.4zm420.8-366.1c-35.3 0-68.5 13.8-93.4 38.7l-59.4 59.4 186.8 186.8 59.4-59.4c24.9-25 38.7-58.1 38.7-93.4s-13.8-68.5-38.7-93.4c-25-25-58.1-38.7-93.4-38.7z`,fill:t}},{tag:`path`,attrs:{d:`M578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2a199.45 199.45 0 00-58.6 140.4c-.2 39.5 11.2 79.1 34.3 113.1l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7-24.9-24.9-38.7-58.1-38.7-93.4s13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4zm476-620.3l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7s68.4 13.7 93.4 38.7c24.9 24.9 38.7 58.1 38.7 93.4s-13.8 68.4-38.7 93.4z`,fill:e}}]}},name:`api`,theme:`twotone`};function iH(){return iH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iH({},e,{ref:t,icon:rH}))),oH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z`}}]},name:`apple`,theme:`filled`};function sH(){return sH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sH({},e,{ref:t,icon:oH}))),lH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-10.6 267c-14.3 19.9-28.7 35.6-41.9 45.7-10.5 8-18.6 11.4-24 11.6-9-.1-17.7-2.3-34.7-8.8-1.2-.5-2.5-1-4.2-1.6l-4.4-1.7c-17.4-6.7-27.8-10.3-41.1-13.8-18.6-4.8-37.1-7.4-56.9-7.4-20.2 0-39.2 2.5-58.1 7.2-13.9 3.5-25.6 7.4-42.7 13.8-.7.3-8.1 3.1-10.2 3.9-3.5 1.3-6.2 2.3-8.7 3.2-10.4 3.6-17 5.1-22.9 5.2-.7 0-1.3-.1-1.8-.2-1.1-.2-2.5-.6-4.1-1.3-4.5-1.8-9.9-5.1-16-9.8-14-10.9-29.4-28-45.1-49.9-27.5-38.6-53.5-89.8-66-125.7-15.4-44.8-23-87.7-23-128.6 0-60.2 17.8-106 48.4-137.1 26.3-26.6 61.7-41.5 97.8-42.3 5.9.1 14.5 1.5 25.4 4.5 8.6 2.3 18 5.4 30.7 9.9 3.8 1.4 16.9 6.1 18.5 6.7 7.7 2.8 13.5 4.8 19.2 6.6 18.2 5.8 32.3 9 47.6 9 15.5 0 28.8-3.3 47.7-9.8 7.1-2.4 32.9-12 37.5-13.6 25.6-9.1 44.5-14 60.8-15.2 4.8-.4 9.1-.4 13.2-.1 22.7 1.8 42.1 6.3 58.6 13.8-37.6 43.4-57 96.5-56.9 158.4-.3 14.7.9 31.7 5.1 51.8 6.4 30.5 18.6 60.7 37.9 89 14.7 21.5 32.9 40.9 54.7 57.8-11.5 23.7-25.6 48.2-40.4 68.8zm-94.5-572c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z`}}]},name:`apple`,theme:`outlined`};function uH(){return uH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uH({},e,{ref:t,icon:lH}))),fH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}}]},name:`appstore-add`,theme:`outlined`};function pH(){return pH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pH({},e,{ref:t,icon:fH}))),hH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zM464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm0 400H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16z`}}]},name:`appstore`,theme:`filled`};function gH(){return gH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gH({},e,{ref:t,icon:hH}))),vH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z`}}]},name:`appstore`,theme:`outlined`};function yH(){return yH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yH({},e,{ref:t,icon:vH}))),xH={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 144H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm52-668H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z`,fill:e}},{tag:`path`,attrs:{d:`M212 212h200v200H212zm400 0h200v200H612zM212 612h200v200H212zm400 0h200v200H612z`,fill:t}}]}},name:`appstore`,theme:`twotone`};function SH(){return SH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SH({},e,{ref:t,icon:xH}))),wH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-616-64h536c4.4 0 8-3.6 8-8V284c0-7.2-8.7-10.7-13.7-5.7L592 488.6l-125.4-124a8.03 8.03 0 00-11.3 0l-189 189.6a7.87 7.87 0 00-2.3 5.6V720c0 4.4 3.6 8 8 8z`}}]},name:`area-chart`,theme:`outlined`};function TH(){return TH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TH({},e,{ref:t,icon:wH}))),DH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z`}}]},name:`arrow-down`,theme:`outlined`};function OH(){return OH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OH({},e,{ref:t,icon:DH}))),AH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`arrow-left`,theme:`outlined`};function jH(){return jH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jH({},e,{ref:t,icon:AH}))),NH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z`}}]},name:`arrow-right`,theme:`outlined`};function PH(){return PH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PH({},e,{ref:t,icon:NH}))),IH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z`}}]},name:`arrow-up`,theme:`outlined`};function LH(){return LH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LH({},e,{ref:t,icon:IH}))),zH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z`}}]},name:`arrows-alt`,theme:`outlined`};function BH(){return BH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BH({},e,{ref:t,icon:zH}))),HH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm330-170c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1z`}}]},name:`audio`,theme:`filled`};function UH(){return UH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UH({},e,{ref:t,icon:HH}))),GH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M682 455V311l-76 76v68c-.1 50.7-42 92.1-94 92a95.8 95.8 0 01-52-15l-54 55c29.1 22.4 65.9 36 106 36 93.8 0 170-75.1 170-168z`}},{tag:`path`,attrs:{d:`M833 446h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254-63 0-120.7-23-165-61l-54 54a334.01 334.01 0 00179 81v102H326c-13.9 0-24.9 14.3-25 32v36c.1 4.4 2.9 8 6 8h408c3.2 0 6-3.6 6-8v-36c0-17.7-11-32-25-32H547V782c165.3-17.9 294-157.9 294-328 0-4.4-3.6-8-8-8zm13.1-377.7l-43.5-41.9a8 8 0 00-11.2.1l-129 129C634.3 101.2 577 64 511 64c-93.9 0-170 75.3-170 168v224c0 6.7.4 13.3 1.2 19.8l-68 68A252.33 252.33 0 01258 454c-.2-4.4-3.8-8-8-8h-60c-4.4 0-8 3.6-8 8 0 53 12.5 103 34.6 147.4l-137 137a8.03 8.03 0 000 11.3l42.7 42.7c3.1 3.1 8.2 3.1 11.3 0L846.2 79.8l.1-.1c3.1-3.2 3-8.3-.2-11.4zM417 401V232c0-50.6 41.9-92 94-92 46 0 84.1 32.3 92.3 74.7L417 401z`}}]},name:`audio-muted`,theme:`outlined`};function KH(){return KH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KH({},e,{ref:t,icon:GH}))),JH={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z`}}]},name:`audio`,theme:`outlined`};function YH(){return YH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YH({},e,{ref:t,icon:JH}))),ZH={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 552c54.3 0 98-43.2 98-96V232c0-52.8-43.7-96-98-96s-98 43.2-98 96v224c0 52.8 43.7 96 98 96z`,fill:t}},{tag:`path`,attrs:{d:`M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1z`,fill:e}},{tag:`path`,attrs:{d:`M512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-98-392c0-52.8 43.7-96 98-96s98 43.2 98 96v224c0 52.8-43.7 96-98 96s-98-43.2-98-96V232z`,fill:e}}]}},name:`audio`,theme:`twotone`};function QH(){return QH=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QH({},e,{ref:t,icon:ZH}))),eU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M296 250c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 144H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 458H208V148h560v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm440-88H728v-36.6c46.3-13.8 80-56.6 80-107.4 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 50.7 33.7 93.6 80 107.4V764H520c-8.8 0-16 7.2-16 16v152c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V780c0-8.8-7.2-16-16-16zM646 620c0-27.6 22.4-50 50-50s50 22.4 50 50-22.4 50-50 50-50-22.4-50-50zm180 266H566v-60h260v60z`}}]},name:`audit`,theme:`outlined`};function tU(){return tU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tU({},e,{ref:t,icon:eU}))),rU={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9zm320 0L518.2 498a18.6 18.6 0 00-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9z`}}]},name:`backward`,theme:`filled`};function iU(){return iU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iU({},e,{ref:t,icon:rU}))),oU={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M485.6 249.9L198.2 498c-8.3 7.1-8.3 20.8 0 27.9l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9zm320 0L518.2 498a18.6 18.6 0 00-6.2 14c0 5.2 2.1 10.4 6.2 14l287.4 248.2c10.7 9.2 26.4.9 26.4-14V263.8c0-14.8-15.7-23.2-26.4-13.9z`}}]},name:`backward`,theme:`outlined`};function sU(){return sU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sU({},e,{ref:t,icon:oU}))),lU={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M250.02 547.04c92.37-19.8 79.77-130.07 76.95-154.18-4.56-37.2-48.26-102.16-107.63-97.02-74.7 6.7-85.65 114.58-85.65 114.58-10.04 49.88 24.2 156.43 116.33 136.62m84.7 214.14c10.28 38.7 43.95 40.43 43.95 40.43H427V683.55h-51.74c-23.22 6.96-34.5 25.1-36.98 32.8-2.74 7.8-8.71 27.6-3.57 44.83m169.07-531.1c0-72.42-41.13-131.08-92.2-131.08-50.92 0-92.21 58.66-92.21 131.07 0 72.5 41.3 131.16 92.2 131.16 51.08 0 92.21-58.66 92.21-131.16m248.1 9.1c8.86-54.92-35.08-118.88-83.34-129.82-48.34-11.1-108.7 66.28-114.18 116.74-6.55 61.72 8.79 123.28 76.86 132.06 68.16 8.87 112.03-63.87 120.65-118.97m46.35 433.02s-105.47-81.53-167-169.6c-83.4-129.91-201.98-77.05-241.62-11.02-39.47 66.03-101 107.87-109.7 118.9-8.87 10.93-127.36 74.8-101.07 191.55 26.28 116.65 118.73 114.5 118.73 114.5s68.08 6.7 147.1-10.94C523.7 888.03 591.7 910 591.7 910s184.57 61.72 235.07-57.18c50.41-118.97-28.53-180.61-28.53-180.61M362.42 849.17c-51.83-10.36-72.47-45.65-75.13-51.7-2.57-6.13-17.24-34.55-9.45-82.85 22.39-72.41 86.23-77.63 86.23-77.63h63.85v-78.46l54.4.82.08 289.82zm205.38-.83c-53.56-13.75-56.05-51.78-56.05-51.78V643.95l56.05-.92v137.12c3.4 14.59 21.65 17.32 21.65 17.32h56.88V643.95h59.62v204.39zm323.84-397.72c0-26.35-21.89-105.72-103.15-105.72-81.43 0-92.29 74.9-92.29 127.84 0 50.54 4.31 121.13 105.4 118.8 101.15-2.15 90.04-114.41 90.04-140.92`}}]},name:`baidu`,theme:`outlined`};function uU(){return uU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uU({},e,{ref:t,icon:lU}))),fU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM381 836H264V462h117v374zm189 0H453V462h117v374zm190 0H642V462h118v374z`}}]},name:`bank`,theme:`filled`};function pU(){return pU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pU({},e,{ref:t,icon:fU}))),hU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM512 196.7l271.1 197.2H240.9L512 196.7zM264 462h117v374H264V462zm189 0h117v374H453V462zm307 374H642V462h118v374z`}}]},name:`bank`,theme:`outlined`};function gU(){return gU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gU({},e,{ref:t,icon:hU}))),vU={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M240.9 393.9h542.2L512 196.7z`,fill:t}},{tag:`path`,attrs:{d:`M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM381 836H264V462h117v374zm189 0H453V462h117v374zm190 0H642V462h118v374zM240.9 393.9L512 196.7l271.1 197.2H240.9z`,fill:e}}]}},name:`bank`,theme:`twotone`};function yU(){return yU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yU({},e,{ref:t,icon:vU}))),xU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-600-80h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z`}}]},name:`bar-chart`,theme:`outlined`};function SU(){return SU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SU({},e,{ref:t,icon:xU}))),wU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M120 160H72c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zm833 0h-48c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zM200 736h112c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8H200c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm321 0h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm126 0h178c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8H647c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm-255 0h48c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8zm-79 64H201c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm257 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm256 0H648c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h178c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-385 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}}]},name:`barcode`,theme:`outlined`};function TU(){return TU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TU({},e,{ref:t,icon:wU}))),DU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M420.3 470.3c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1a50.5 50.5 0 0017.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm86.5 286.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7z`}}]},name:`behance-circle`,theme:`filled`};function OU(){return OU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OU({},e,{ref:t,icon:DU}))),AU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M634 294.3h199.5v48.4H634zM434.1 485.8c44.1-21.1 67.2-53.2 67.2-102.8 0-98.1-73-121.9-157.3-121.9H112v492.4h238.5c89.4 0 173.3-43 173.3-143 0-61.8-29.2-107.5-89.7-124.7zM220.2 345.1h101.5c39.1 0 74.2 10.9 74.2 56.3 0 41.8-27.3 58.6-66 58.6H220.2V345.1zm115.5 324.8H220.1V534.3H338c47.6 0 77.7 19.9 77.7 70.3 0 49.6-35.9 65.3-80 65.3zm575.8-89.5c0-105.5-61.7-193.4-173.3-193.4-108.5 0-182.3 81.7-182.3 188.8 0 111 69.9 187.2 182.3 187.2 85.1 0 140.2-38.3 166.7-120h-86.3c-9.4 30.5-47.6 46.5-77.3 46.5-57.4 0-87.4-33.6-87.4-90.7h256.9c.3-5.9.7-12.1.7-18.4zM653.9 537c3.1-46.9 34.4-76.2 81.2-76.2 49.2 0 73.8 28.9 78.1 76.2H653.9z`}}]},name:`behance`,theme:`outlined`};function jU(){return jU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jU({},e,{ref:t,icon:AU}))),NU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM598.5 350.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7zm-248.5-10.1c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1s12.7-3.8 17.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8z`}}]},name:`behance-square`,theme:`filled`};function PU(){return PU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PU({},e,{ref:t,icon:NU}))),IU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM598.5 350.9h138.4v33.7H598.5v-33.7zM512 628.8a89.52 89.52 0 01-27 31c-11.8 8.2-24.9 14.2-38.8 17.7a167.4 167.4 0 01-44.6 5.7H236V342.1h161c16.3 0 31.1 1.5 44.6 4.3 13.4 2.8 24.8 7.6 34.4 14.1 9.5 6.5 17 15.2 22.3 26 5.2 10.7 7.9 24.1 7.9 40 0 17.2-3.9 31.4-11.7 42.9-7.9 11.5-19.3 20.8-34.8 28.1 21.1 6 36.6 16.7 46.8 31.7 10.4 15.2 15.5 33.4 15.5 54.8 0 17.4-3.3 32.3-10 44.8zM790.8 576H612.4c0 19.4 6.7 38 16.8 48 10.2 9.9 24.8 14.9 43.9 14.9 13.8 0 25.5-3.5 35.5-10.4 9.9-6.9 15.9-14.2 18.1-21.8h59.8c-9.6 29.7-24.2 50.9-44 63.7-19.6 12.8-43.6 19.2-71.5 19.2-19.5 0-37-3.2-52.7-9.3-15.1-5.9-28.7-14.9-39.9-26.5a121.2 121.2 0 01-25.1-41.2c-6.1-16.9-9.1-34.7-8.9-52.6 0-18.5 3.1-35.7 9.1-51.7 11.5-31.1 35.4-56 65.9-68.9 16.3-6.8 33.8-10.2 51.5-10 21 0 39.2 4 55 12.2a111.6 111.6 0 0138.6 32.8c10.1 13.7 17.2 29.3 21.7 46.9 4.3 17.3 5.8 35.5 4.6 54.7zm-122-95.6c-10.8 0-19.9 1.9-26.9 5.6-7 3.7-12.8 8.3-17.2 13.6a48.4 48.4 0 00-9.1 17.4c-1.6 5.3-2.7 10.7-3.1 16.2H723c-1.6-17.3-7.6-30.1-15.6-39.1-8.4-8.9-21.9-13.7-38.6-13.7zm-248.5-10.1c8.7-6.3 12.9-16.7 12.9-31 .3-6.8-1.1-13.5-4.1-19.6-2.7-4.9-6.7-9-11.6-11.9a44.8 44.8 0 00-16.6-6c-6.4-1.2-12.9-1.8-19.3-1.7h-70.3v79.7h76.1c13.1.1 24.2-3.1 32.9-9.5zm11.8 72c-9.8-7.5-22.9-11.2-39.2-11.2h-81.8v94h80.2c7.5 0 14.4-.7 21.1-2.1s12.7-3.8 17.8-7.2c5.1-3.3 9.2-7.8 12.3-13.6 3-5.8 4.5-13.2 4.5-22.1 0-17.7-5-30.2-14.9-37.8z`}}]},name:`behance-square`,theme:`outlined`};function LU(){return LU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LU({},e,{ref:t,icon:IU}))),zU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M816 768h-24V428c0-141.1-104.3-257.8-240-277.2V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.8C336.3 170.2 232 286.9 232 428v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48z`}}]},name:`bell`,theme:`filled`};function BU(){return BU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BU({},e,{ref:t,icon:zU}))),HU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z`}}]},name:`bell`,theme:`outlined`};function UU(){return UU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UU({},e,{ref:t,icon:HU}))),GU={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 220c-55.6 0-107.8 21.6-147.1 60.9S304 372.4 304 428v340h416V428c0-55.6-21.6-107.8-60.9-147.1S567.6 220 512 220zm280 208c0-141.1-104.3-257.8-240-277.2v.1c135.7 19.4 240 136 240 277.1zM472 150.9v-.1C336.3 170.2 232 286.9 232 428c0-141.1 104.3-257.7 240-277.1z`,fill:t}},{tag:`path`,attrs:{d:`M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zm208-120H304V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340z`,fill:e}}]}},name:`bell`,theme:`twotone`};function KU(){return KU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KU({},e,{ref:t,icon:GU}))),JU={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M766.4 744.3c43.7 0 79.4-36.2 79.4-80.5 0-53.5-79.4-140.8-79.4-140.8S687 610.3 687 663.8c0 44.3 35.7 80.5 79.4 80.5zm-377.1-44.1c7.1 7.1 18.6 7.1 25.6 0l256.1-256c7.1-7.1 7.1-18.6 0-25.6l-256-256c-.6-.6-1.3-1.2-2-1.7l-78.2-78.2a9.11 9.11 0 00-12.8 0l-48 48a9.11 9.11 0 000 12.8l67.2 67.2-207.8 207.9c-7.1 7.1-7.1 18.6 0 25.6l255.9 256zm12.9-448.6l178.9 178.9H223.4l178.8-178.9zM904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z`}}]},name:`bg-colors`,theme:`outlined`};function YU(){return YU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YU({},e,{ref:t,icon:JU}))),ZU={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M310.13 596.45c-8-4.46-16.5-8.43-25-11.9a273.55 273.55 0 00-26.99-7.44c-2.5-.99-2.5 1-2.5 1.49 0 7.93.5 18.84 1.5 27.77 1 7.44 2 15.37 4 22.8 0 .5 0 1 .5 1.5 1 .99 2 1.48 3 .49 8-4.46 16-8.43 23-13.39 7.5-5.45 15.5-11.9 22-18.35 1.5-1.48 0-2.47.5-2.97m323.95-11.9a273.55 273.55 0 00-27-7.44c-2.5-.99-2.5 1-2.5 1.49 0 7.93.5 18.84 1.5 27.77 1 7.43 2 15.37 4 22.8 0 .5 0 1 .5 1.5 1 .99 2 1.48 3 .49 8-4.46 16-8.43 23-13.39 7.5-5.45 15.5-11.9 22-18.35 2-1.48.5-2.47.5-2.97-7.5-4.46-16.5-8.43-25-11.9`}},{tag:`path`,attrs:{d:`M741.5 112H283c-94.5 0-171 76.5-171 171.5v458c.5 94 77 170.5 171 170.5h458c94.5 0 171-76.5 171-170.5v-458c.5-95-76-171.5-170.5-171.5m95 343.5H852v48h-15.5zM741 454l2 43-13.5 1.5-5-44.5zm-23.5 0l4 45.5L707 501l-6.5-47.5h17zM487 455.5h15v48h-15zm-96-1.5l2 43-13.5 1.5-5-44.5zm-23.5 0l4 45.5-14.5 2-6-47.5zM364 603c-20.5 65.5-148 59.5-159.5 57.5-9-161.5-23-196.5-34.5-275.5l54.5-22.5c1 71.5 9 185 9 185s108.5-15.5 132 47c.5 3 0 6-1.5 8.5m20.5 35.5l-23.5-124h35.5l13 123zm44.5-8l-27-235 33.5-1.5 21 236H429zm34-175h17.5v48H467zm41 190h-26.5l-9.5-126h36zm210-43C693.5 668 566 662 554.5 660c-9-161-23-196-34.5-275l54.5-22.5c1 71.5 9 185 9 185S692 532 715.5 594c.5 3 0 6-1.5 8.5m19.5 36l-23-124H746l13 123zm45.5-8l-27.5-235L785 394l21 236h-27zm33.5-175H830v48h-13zm41 190H827l-9.5-126h36z`}}]},name:`bilibili`,theme:`filled`};function QU(){return QU=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QU({},e,{ref:t,icon:ZU}))),eW={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M235.52 616.57c16.73-.74 32.28-1.77 47.69-2.07 66.8-1.18 132.4 6.81 194.76 32 30.5 12.3 59.98 26.52 86.5 46.51 21.76 16.45 26.5 36.9 16.58 67.11-6.22 18.67-18.66 32.74-34.36 45.04-37.03 28.88-75.83 54.96-120.41 69.62A595.87 595.87 0 01330 898.04c-42.8 6.67-86.2 9.63-129.45 13.63-8.88.89-17.92-.3-26.8-.3-4.6 0-5.78-2.37-5.93-6.37-1.18-19.7-2.07-39.55-3.85-59.25a2609.47 2609.47 0 00-7.7-76.3c-4-35.4-8.44-70.66-12.89-105.92-4.59-37.18-9.33-74.21-13.77-111.4-4.44-36.3-8.44-72.73-13.18-109.03-5.34-41.48-11.26-82.96-16.89-124.44-6.66-49.03-15.85-97.62-28.43-145.47-.6-2.07 1.18-6.67 2.96-7.26 41.91-16.89 83.98-33.33 125.89-50.07 13.92-5.63 15.1-7.26 15.25 10.37.15 75.1.45 150.21 1.63 225.32.6 39.11 2.08 78.22 4.74 117.18 3.26 47.55 8.3 95.1 12.6 142.66 0 2.07.88 4 1.33 5.19m83.68 218.06a74372.3 74372.3 0 00114.78-86.96c-4.74-6.82-109.3-47.85-133.89-53.33 6.22 46.37 12.59 92.59 19.1 140.29m434.13-14.39c-19.94-202.14-36.78-406.5-75.32-609.67 12.55-1.48 25.1-3.25 37.8-4.3 14.63-1.32 29.4-1.92 44.01-3.1 12.26-1.04 16.84 2.22 17.58 14.22 2.21 32.13 4.13 64.26 6.35 96.4 2.95 43.39 6.05 86.92 9.15 130.31 2.22 31.25 4.14 62.64 6.65 93.89 2.8 34.2 5.9 68.27 9 102.47 2.22 25.18 4.3 50.5 6.8 75.68 2.66 27.24 5.61 54.49 8.42 81.74.74 7.85 1.62 15.7 2.21 23.54.3 4.3-2.06 4.89-6.05 4.45-21.7-2.23-43.42-3.85-66.6-5.63M572 527.15c17.62-2.51 34.64-5.32 51.66-7.25 12.29-1.48 24.72-1.63 37.01-2.81 6.66-.6 10.95 1.77 11.99 8.29 2.81 17.32 5.77 34.79 7.85 52.26 3.4 29.02 6.07 58.18 9.17 87.2 2.67 25.46 5.33 50.78 8.3 76.24 3.25 27.24 6.8 54.33 10.2 81.42 1.04 8 1.78 16.14 2.82 24.88a9507.1 9507.1 0 00-74.76 9.62C614.93 747.15 593.61 638.19 572 527.15m382 338.83c-24.08 0-47.28.14-70.47-.3-1.93 0-5.35-3.4-5.5-5.48-3.57-37.05-6.69-73.96-9.96-111l-9.37-103.16c-3.27-35.42-6.39-70.84-9.66-106.26-.15-2.07-.6-4-1.04-7.11 8.62-1.04 16.8-2.67 25.12-2.67 22.45 0 44.9.6 67.5 1.19 5.8.14 8.32 4 8.62 9.33.75 11.12 1.79 22.08 1.79 33.2.14 52.17-.15 104.48.3 156.65.44 41.65 1.78 83.44 2.67 125.08zM622.07 480c-5.3-42.57-10.62-84.1-16.07-127.4 13.86-.16 27.71-.6 41.42-.6 4.57 0 6.64 2.51 7.08 7.54 3.69 38.72 7.52 77.45 11.5 117.65-14.3.74-29.04 1.78-43.93 2.81M901 364.07c11.94 0 24.62-.15 37.45 0 6.42.14 9.55 2.67 9.55 10.24-.45 36.22-.15 72.45-.15 108.53V491c-15.37-.74-30.14-1.49-46.7-2.23-.15-41.12-.15-82.4-.15-124.7M568.57 489c-7.43-41.2-15-82.1-22.57-124.02 13.51-2.07 27.02-4.29 40.39-5.9 5.94-.75 4.9 4.42 5.2 7.67 1.63 13.88 2.81 27.6 4.3 41.49 2.37 21.7 4.75 43.4 6.98 64.96.3 2.8 0 5.76 0 8.86-11.29 2.36-22.57 4.58-34.3 6.94M839 365.16c12.72 0 25.43.15 38-.15 5.69-.15 7.78 1.04 7.63 7.56-.44 17.36.15 34.7.3 52.2.15 21.51 0 43.17 0 64.52-12.86 1.34-24.09 2.37-36.2 3.71-3.15-41.97-6.44-83.8-9.73-127.84`}}]},name:`bilibili`,theme:`outlined`};function tW(){return tW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tW({},e,{ref:t,icon:eW}))),rW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M856 376H648V168c0-8.8-7.2-16-16-16H168c-8.8 0-16 7.2-16 16v464c0 8.8 7.2 16 16 16h208v208c0 8.8 7.2 16 16 16h464c8.8 0 16-7.2 16-16V392c0-8.8-7.2-16-16-16zm-480 16v188H220V220h360v156H392c-8.8 0-16 7.2-16 16zm204 52v136H444V444h136zm224 360H444V648h188c8.8 0 16-7.2 16-16V444h156v360z`}}]},name:`block`,theme:`outlined`};function iW(){return iW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iW({},e,{ref:t,icon:rW}))),oW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M697.8 481.4c33.6-35 54.2-82.3 54.2-134.3v-10.2C752 229.3 663.9 142 555.3 142H259.4c-15.1 0-27.4 12.3-27.4 27.4v679.1c0 16.3 13.2 29.5 29.5 29.5h318.7c117 0 211.8-94.2 211.8-210.5v-11c0-73-37.4-137.3-94.2-175.1zM328 238h224.7c57.1 0 103.3 44.4 103.3 99.3v9.5c0 54.8-46.3 99.3-103.3 99.3H328V238zm366.6 429.4c0 62.9-51.7 113.9-115.5 113.9H328V542.7h251.1c63.8 0 115.5 51 115.5 113.9v10.8z`}}]},name:`bold`,theme:`outlined`};function sW(){return sW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sW({},e,{ref:t,icon:oW}))),lW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM668 345.9L621.5 312 572 347.4V124h96v221.9z`}}]},name:`book`,theme:`filled`};function uW(){return uW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uW({},e,{ref:t,icon:lW}))),fW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z`}}]},name:`book`,theme:`outlined`};function pW(){return pW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pW({},e,{ref:t,icon:fW}))),hW={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zM232 888V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752H232z`,fill:e}},{tag:`path`,attrs:{d:`M668 345.9V136h-96v211.4l49.5-35.4z`,fill:t}},{tag:`path`,attrs:{d:`M727.9 136v296.5c0 8.8-7.2 16-16 16-3.4 0-6.7-1.1-9.4-3.1L621.1 386l-83.8 59.9a15.9 15.9 0 01-22.3-3.7c-2-2.7-3-6-3-9.3V136H232v752h559.9V136h-64z`,fill:t}}]}},name:`book`,theme:`twotone`};function gW(){return gW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gW({},e,{ref:t,icon:hW}))),vW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 808H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-720-94h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-498h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-166h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm166 166h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm222-72h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388-404h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388 426h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388-404h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z`}}]},name:`border-bottom`,theme:`outlined`};function yW(){return yW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yW({},e,{ref:t,icon:vW}))),xW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M540 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-664 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm664 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`border-horizontal`,theme:`outlined`};function SW(){return SW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SW({},e,{ref:t,icon:xW}))),wW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 476H548V144h-72v332H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v332h72V548h324c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-664h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM650 216h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-592h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-166 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-426h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 260h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`border-inner`,theme:`outlined`};function TW(){return TW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TW({},e,{ref:t,icon:wW}))),DW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M208 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM540 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`border-left`,theme:`outlined`};function OW(){return OW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OW({},e,{ref:t,icon:DW}))),AW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM484 366h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM302 548h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm364 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-182 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 182h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z`}}]},name:`border-outer`,theme:`outlined`};function jW(){return jW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jW({},e,{ref:t,icon:AW}))),NW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`border`,theme:`outlined`};function PW(){return PW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PW({},e,{ref:t,icon:NW}))),IW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 144h-56c-4.4 0-8 3.6-8 8v720c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V152c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-498 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm498 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM374 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`border-right`,theme:`outlined`};function LW(){return LW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LW({},e,{ref:t,icon:IW}))),zW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 144H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332-498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`border-top`,theme:`outlined`};function BW(){return BW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BW({},e,{ref:t,icon:zW}))),HW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 476H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-664h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM650 216h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm56 592h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-56-592h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-166 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM208 808h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM152 382h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM208 642h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`border-verticle`,theme:`outlined`};function UW(){return UW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UW({},e,{ref:t,icon:HW}))),GW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M117 368h231v64H117zm559 0h241v64H676zm-264 0h200v64H412zm0 224h200v64H412zm264 0h241v64H676zm-559 0h231v64H117zm295-160V179h-64v666h64V592zm264-64V179h-64v666h64V432z`}}]},name:`borderless-table`,theme:`outlined`};function KW(){return KW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KW({},e,{ref:t,icon:GW}))),JW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H448v432h344c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-728 80v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h152V296H232c-4.4 0-8 3.6-8 8z`}}]},name:`box-plot`,theme:`filled`};function YW(){return YW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YW({},e,{ref:t,icon:JW}))),ZW={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H232c-4.4 0-8 3.6-8 8v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h560c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zM296 368h88v288h-88V368zm432 288H448V368h280v288z`}}]},name:`box-plot`,theme:`outlined`};function QW(){return QW=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QW({},e,{ref:t,icon:ZW}))),eG={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M296 368h88v288h-88zm152 0h280v288H448z`,fill:t}},{tag:`path`,attrs:{d:`M952 224h-52c-4.4 0-8 3.6-8 8v248h-92V304c0-4.4-3.6-8-8-8H232c-4.4 0-8 3.6-8 8v176h-92V232c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V548h92v172c0 4.4 3.6 8 8 8h560c4.4 0 8-3.6 8-8V548h92v244c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zM384 656h-88V368h88v288zm344 0H448V368h280v288z`,fill:e}}]}},name:`box-plot`,theme:`twotone`};function tG(){return tG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tG({},e,{ref:t,icon:eG}))),rG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`branches`,theme:`outlined`};function iG(){return iG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iG({},e,{ref:t,icon:rG}))),oG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M304 280h416c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 00-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 00-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z`}},{tag:`path`,attrs:{d:`M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 01-63 63H232a63 63 0 01-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0022.7 49c24.3 41.5 59 76.2 100.5 100.5 28.9 16.9 61 28.8 95.3 34.5 4.4 0 8-3.6 8-8V484c0-4.4 3.6-8 8-8h60c4.4 0 8 3.6 8 8v464.2c0 4.4 3.6 8 8 8 34.3-5.7 66.4-17.6 95.3-34.5a281.38 281.38 0 00123.2-149.5A120.4 120.4 0 01836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`bug`,theme:`filled`};function sG(){return sG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sG({},e,{ref:t,icon:oG}))),lG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M304 280h56c4.4 0 8-3.6 8-8 0-28.3 5.9-53.2 17.1-73.5 10.6-19.4 26-34.8 45.4-45.4C450.9 142 475.7 136 504 136h16c28.3 0 53.2 5.9 73.5 17.1 19.4 10.6 34.8 26 45.4 45.4C650 218.9 656 243.7 656 272c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-40-8.8-76.7-25.9-108.1a184.31 184.31 0 00-74-74C596.7 72.8 560 64 520 64h-16c-40 0-76.7 8.8-108.1 25.9a184.31 184.31 0 00-74 74C304.8 195.3 296 232 296 272c0 4.4 3.6 8 8 8z`}},{tag:`path`,attrs:{d:`M940 512H792V412c76.8 0 139-62.2 139-139 0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8a63 63 0 01-63 63H232a63 63 0 01-63-63c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 76.8 62.2 139 139 139v100H84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h148v96c0 6.5.2 13 .7 19.3C164.1 728.6 116 796.7 116 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-44.2 23.9-82.9 59.6-103.7a273 273 0 0022.7 49c24.3 41.5 59 76.2 100.5 100.5S460.5 960 512 960s99.8-13.9 141.3-38.2a281.38 281.38 0 00123.2-149.5A120 120 0 01836 876c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8 0-79.3-48.1-147.4-116.7-176.7.4-6.4.7-12.8.7-19.3v-96h148c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM716 680c0 36.8-9.7 72-27.8 102.9-17.7 30.3-43 55.6-73.3 73.3C584 874.3 548.8 884 512 884s-72-9.7-102.9-27.8c-30.3-17.7-55.6-43-73.3-73.3A202.75 202.75 0 01308 680V412h408v268z`}}]},name:`bug`,theme:`outlined`};function uG(){return uG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uG({},e,{ref:t,icon:lG}))),fG={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308zm484 172v96c0 6.5-.22 12.95-.66 19.35C859.94 728.64 908 796.7 908 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-44.24-23.94-82.89-59.57-103.7a278.63 278.63 0 01-22.66 49.02 281.39 281.39 0 01-100.45 100.45C611.84 946.07 563.55 960 512 960s-99.84-13.93-141.32-38.23a281.39 281.39 0 01-100.45-100.45 278.63 278.63 0 01-22.66-49.02A119.95 119.95 0 00188 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-79.3 48.07-147.36 116.66-176.65A284.12 284.12 0 01232 680v-96H84a8 8 0 01-8-8v-56a8 8 0 018-8h148V412c-76.77 0-139-62.23-139-139a8 8 0 018-8h60a8 8 0 018 8 63 63 0 0063 63h560a63 63 0 0063-63 8 8 0 018-8h60a8 8 0 018 8c0 76.77-62.23 139-139 139v100h148a8 8 0 018 8v56a8 8 0 01-8 8H792zM368 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-40.04 8.78-76.75 25.9-108.07a184.57 184.57 0 0174.03-74.03C427.25 72.78 463.96 64 504 64h16c40.04 0 76.75 8.78 108.07 25.9a184.57 184.57 0 0174.03 74.03C719.22 195.25 728 231.96 728 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-28.33-5.94-53.15-17.08-73.53a112.56 112.56 0 00-45.39-45.4C573.15 141.95 548.33 136 520 136h-16c-28.33 0-53.15 5.94-73.53 17.08a112.56 112.56 0 00-45.4 45.39C373.95 218.85 368 243.67 368 272z`,fill:e}},{tag:`path`,attrs:{d:`M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308z`,fill:t}}]}},name:`bug`,theme:`twotone`};function pG(){return pG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pG({},e,{ref:t,icon:fG}))),hG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zM612 746H412V546h200v200zm268-268H680V278h200v200z`}}]},name:`build`,theme:`filled`};function gG(){return gG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gG({},e,{ref:t,icon:hG}))),vG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zm-504 68h200v200H412V278zm-68 468H144V546h200v200zm268 0H412V546h200v200zm268-268H680V278h200v200z`}}]},name:`build`,theme:`outlined`};function yG(){return yG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yG({},e,{ref:t,icon:vG}))),xG={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M144 546h200v200H144zm268-268h200v200H412z`,fill:t}},{tag:`path`,attrs:{d:`M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zM344 746H144V546h200v200zm268 0H412V546h200v200zm0-268H412V278h200v200zm268 0H680V278h200v200z`,fill:e}}]}},name:`build`,theme:`twotone`};function SG(){return SG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SG({},e,{ref:t,icon:xG}))),wG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M348 676.1C250 619.4 184 513.4 184 392c0-181.1 146.9-328 328-328s328 146.9 328 328c0 121.4-66 227.4-164 284.1V792c0 17.7-14.3 32-32 32H380c-17.7 0-32-14.3-32-32V676.1zM392 888h240c4.4 0 8 3.6 8 8v32c0 17.7-14.3 32-32 32H416c-17.7 0-32-14.3-32-32v-32c0-4.4 3.6-8 8-8z`}}]},name:`bulb`,theme:`filled`};function TG(){return TG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TG({},e,{ref:t,icon:wG}))),DG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z`}}]},name:`bulb`,theme:`outlined`};function OG(){return OG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OG({},e,{ref:t,icon:DG}))),AG={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 136c-141.4 0-256 114.6-256 256 0 92.5 49.4 176.3 128.1 221.8l35.9 20.8V752h184V634.6l35.9-20.8C718.6 568.3 768 484.5 768 392c0-141.4-114.6-256-256-256z`,fill:t}},{tag:`path`,attrs:{d:`M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z`,fill:e}}]}},name:`bulb`,theme:`twotone`};function jG(){return jG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jG({},e,{ref:t,icon:AG}))),NG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM440.2 765h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 01-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zm7.8-382c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48zm328 369c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-104c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-265c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48z`}}]},name:`calculator`,theme:`filled`};function PG(){return PG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PG({},e,{ref:t,icon:NG}))),IG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M251.2 387H320v68.8c0 1.8 1.8 3.2 4 3.2h48c2.2 0 4-1.4 4-3.3V387h68.8c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H376v-68.8c0-1.8-1.8-3.2-4-3.2h-48c-2.2 0-4 1.4-4 3.2V331h-68.8c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm328 0h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 265h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 104h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm-195.7-81l61.2-74.9c4.3-5.2.7-13.1-5.9-13.1H388c-2.3 0-4.5 1-5.9 2.9l-34 41.6-34-41.6a7.85 7.85 0 00-5.9-2.9h-50.9c-6.6 0-10.2 7.9-5.9 13.1l61.2 74.9-62.7 76.8c-4.4 5.2-.8 13.1 5.8 13.1h50.8c2.3 0 4.5-1 5.9-2.9l35.5-43.5 35.5 43.5c1.5 1.8 3.7 2.9 5.9 2.9h50.8c6.6 0 10.2-7.9 5.9-13.1L383.5 675zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-36 732H180V180h664v664z`}}]},name:`calculator`,theme:`outlined`};function LG(){return LG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LG({},e,{ref:t,icon:IG}))),zG={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm256.2-75h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 01-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zM576 335c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zm0 265c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zm0 104c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48zM248 335c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48z`,fill:t}},{tag:`path`,attrs:{d:`M383.5 675l61.3-74.8c4.3-5.2.7-13.1-5.9-13.1h-50.8c-2.3 0-4.4 1-5.9 2.9l-34 41.6-34-41.6a7.69 7.69 0 00-5.9-2.9h-50.9c-6.6 0-10.2 7.9-5.9 13.1l61.2 74.9-62.7 76.8c-4.4 5.2-.8 13.1 5.8 13.1h50.8c2.3 0 4.4-1 5.9-2.9l35.5-43.5 35.5 43.5c1.4 1.8 3.7 2.9 5.9 2.9h50.8c6.6 0 10.2-7.9 6-13.2L383.5 675zM251.2 387H320v68.8c0 1.8 1.8 3.2 4 3.2h48c2.2 0 4-1.4 4-3.3V387h68.8c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H376v-68.8c0-1.8-1.8-3.2-4-3.2h-48c-2.2 0-4 1.4-4 3.2V331h-68.8c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm328 369h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0-104h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0-265h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4z`,fill:e}}]}},name:`calculator`,theme:`twotone`};function BG(){return BG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BG({},e,{ref:t,icon:zG}))),HG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M112 880c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V460H112v420zm768-696H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v176h800V216c0-17.7-14.3-32-32-32z`}}]},name:`calendar`,theme:`filled`};function UG(){return UG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UG({},e,{ref:t,icon:HG}))),GG={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v136h656V256H712v48z`,fill:t}},{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zm0-448H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136z`,fill:e}}]}},name:`calendar`,theme:`twotone`};function KG(){return KG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KG({},e,{ref:t,icon:GG}))),JG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 260H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 260H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V340c0-44.2-35.8-80-80-80zM512 716c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160zm-96-160a96 96 0 10192 0 96 96 0 10-192 0z`}}]},name:`camera`,theme:`filled`};function YG(){return YG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YG({},e,{ref:t,icon:JG}))),ZG={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456zM512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z`}}]},name:`camera`,theme:`outlined`};function QG(){return QG=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QG({},e,{ref:t,icon:ZG}))),eK={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 320H677.2l-17.1-47.8-22.9-64.2H386.7l-22.9 64.2-17.1 47.8H160c-4.4 0-8 3.6-8 8v456c0 4.4 3.6 8 8 8h704c4.4 0 8-3.6 8-8V328c0-4.4-3.6-8-8-8zM512 704c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160z`,fill:t}},{tag:`path`,attrs:{d:`M512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z`,fill:e}},{tag:`path`,attrs:{d:`M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456z`,fill:e}}]}},name:`camera`,theme:`twotone`};function tK(){return tK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tK({},e,{ref:t,icon:eK}))),rK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M959 413.4L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM264 621c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm388 75c0 4.4-3.6 8-8 8H380c-4.4 0-8-3.6-8-8v-84c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v36h168v-36c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v84zm108-75c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zM220 418l72.7-199.9.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220z`}}]},name:`car`,theme:`filled`};function iK(){return iK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iK({},e,{ref:t,icon:rK}))),oK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M380 704h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8zm340-123a40 40 0 1080 0 40 40 0 10-80 0zm239-167.6L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM840 517v237H184V517l15.6-43h624.8l15.6 43zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM224 581a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`car`,theme:`outlined`};function sK(){return sK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sK({},e,{ref:t,icon:oK}))),lK={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M199.6 474L184 517v237h656V517l-15.6-43H199.6zM264 621c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm388 75c0 4.4-3.6 8-8 8H380c-4.4 0-8-3.6-8-8v-84c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v36h168v-36c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v84zm108-75c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z`,fill:t}},{tag:`path`,attrs:{d:`M720 581a40 40 0 1080 0 40 40 0 10-80 0z`,fill:e}},{tag:`path`,attrs:{d:`M959 413.4L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM840 754H184V517l15.6-43h624.8l15.6 43v237z`,fill:e}},{tag:`path`,attrs:{d:`M224 581a40 40 0 1080 0 40 40 0 10-80 0zm420 23h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`car`,theme:`twotone`};function uK(){return uK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uK({},e,{ref:t,icon:lK}))),fK={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z`}}]},name:`caret-left`,theme:`filled`};function pK(){return pK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pK({},e,{ref:t,icon:fK}))),hK={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z`}}]},name:`caret-left`,theme:`outlined`};function gK(){return gK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gK({},e,{ref:t,icon:hK}))),vK={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z`}}]},name:`caret-right`,theme:`filled`};function yK(){return yK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yK({},e,{ref:t,icon:vK}))),xK={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z`}}]},name:`caret-right`,theme:`outlined`};function SK(){return SK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SK({},e,{ref:t,icon:xK}))),wK={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z`}}]},name:`caret-up`,theme:`filled`};function TK(){return TK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TK({},e,{ref:t,icon:wK}))),DK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zM694.5 432.7L481.9 725.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.1 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.8-6.6 13-6.6H688c6.5.1 10.3 7.5 6.5 12.8z`}}]},name:`carry-out`,theme:`filled`};function OK(){return OK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OK({},e,{ref:t,icon:DK}))),AK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM688 420h-55.2c-5.1 0-10 2.5-13 6.6L468.9 634.4l-64.7-89c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.4 0-12.8-6.5-12.8z`}}]},name:`carry-out`,theme:`outlined`};function jK(){return jK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jK({},e,{ref:t,icon:AK}))),NK={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584z`,fill:e}},{tag:`path`,attrs:{d:`M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v584h656V256H712v48zm-17.5 128.8L481.9 725.5a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.2 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.9-6.6 13-6.6H688c6.5 0 10.3 7.4 6.5 12.8z`,fill:t}},{tag:`path`,attrs:{d:`M688 420h-55.2c-5.1 0-10 2.5-13 6.6L468.9 634.4l-64.7-89c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.4 0-12.8-6.5-12.8z`,fill:e}}]}},name:`carry-out`,theme:`twotone`};function PK(){return PK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PK({},e,{ref:t,icon:NK}))),IK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`check-circle`,theme:`outlined`};function LK(){return LK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LK({},e,{ref:t,icon:IK}))),zK={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z`,fill:t}},{tag:`path`,attrs:{d:`M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z`,fill:e}}]}},name:`check-circle`,theme:`twotone`};function BK(){return BK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BK({},e,{ref:t,icon:zK}))),HK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM695.5 365.7l-210.6 292a31.8 31.8 0 01-51.7 0L308.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H689c6.5 0 10.3 7.4 6.5 12.7z`}}]},name:`check-square`,theme:`filled`};function UK(){return UK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UK({},e,{ref:t,icon:HK}))),GK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M433.1 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7H642c-10.2 0-19.9 4.9-25.9 13.3L459 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H315c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`check-square`,theme:`outlined`};function KK(){return KK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KK({},e,{ref:t,icon:GK}))),JK={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm130-367.8h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H688c6.5 0 10.3 7.4 6.5 12.7l-210.6 292a31.8 31.8 0 01-51.7 0L307.5 484.9c-3.8-5.3 0-12.7 6.5-12.7z`,fill:t}},{tag:`path`,attrs:{d:`M432.2 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7h-46.9c-10.3 0-19.9 5-25.9 13.3L458 584.3l-71.2-98.8c-6-8.4-15.7-13.3-25.9-13.3H314c-6.5 0-10.3 7.4-6.5 12.7l124.7 172.8z`,fill:e}}]}},name:`check-square`,theme:`twotone`};function YK(){return YK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YK({},e,{ref:t,icon:JK}))),ZK={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M371.8 512c0 77.5 62.7 140.2 140.2 140.2S652.2 589.5 652.2 512 589.5 371.8 512 371.8 371.8 434.4 371.8 512zM900 362.4l-234.3 12.1c63.6 74.3 64.6 181.5 11.1 263.7l-188 289.2c78 4.2 158.4-12.9 231.2-55.2 180-104 253-322.1 180-509.8zM320.3 591.9L163.8 284.1A415.35 415.35 0 0096 512c0 208 152.3 380.3 351.4 410.8l106.9-209.4c-96.6 18.2-189.9-34.8-234-121.5zm218.5-285.5l344.4 18.1C848 254.7 792.6 194 719.8 151.7 653.9 113.6 581.5 95.5 510.5 96c-122.5.5-242.2 55.2-322.1 154.5l128.2 196.9c32-91.9 124.8-146.7 222.2-141z`}}]},name:`chrome`,theme:`filled`};function QK(){return QK=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QK({},e,{ref:t,icon:ZK}))),r_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 512.3v-.3c0-229.8-186.2-416-416-416S96 282.2 96 512v.4c0 229.8 186.2 416 416 416s416-186.2 416-416v-.3.2zm-6.7-74.6l.6 3.3-.6-3.3zM676.7 638.2c53.5-82.2 52.5-189.4-11.1-263.7l162.4-8.4c20.5 44.4 32 93.8 32 145.9 0 185.2-144.6 336.6-327.1 347.4l143.8-221.2zM512 652.3c-77.5 0-140.2-62.7-140.2-140.2 0-77.7 62.7-140.2 140.2-140.2S652.2 434.5 652.2 512 589.5 652.3 512 652.3zm369.2-331.7l-3-5.7 3 5.7zM512 164c121.3 0 228.2 62.1 290.4 156.2l-263.6-13.9c-97.5-5.7-190.2 49.2-222.3 141.1L227.8 311c63.1-88.9 166.9-147 284.2-147zM102.5 585.8c26 145 127.1 264 261.6 315.1C229.6 850 128.5 731 102.5 585.8zM164 512c0-55.9 13.2-108.7 36.6-155.5l119.7 235.4c44.1 86.7 137.4 139.7 234 121.6l-74 145.1C302.9 842.5 164 693.5 164 512zm324.7 415.4c4 .2 8 .4 12 .5-4-.2-8-.3-12-.5z`}}]},name:`chrome`,theme:`outlined`};function eq(){return eq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,eq({},e,{ref:t,icon:r_e}))),a_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-63.6 656c-103 0-162.4-68.6-162.4-182.6v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-4-46.1-37.6-77.6-87-77.6-61.1 0-95.6 45.4-95.6 126.9v49.3c0 80.3 34.5 125.1 95.6 125.1 49.3 0 82.8-29.5 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z`}}]},name:`ci-circle`,theme:`filled`};function tq(){return tq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tq({},e,{ref:t,icon:a_e}))),s_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm218-572.1h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z`}}]},name:`ci-circle`,theme:`outlined`};function nq(){return nq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,nq({},e,{ref:t,icon:s_e}))),l_e={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-63.5 522.8c49.3 0 82.8-29.4 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5C345.4 720 286 651.4 286 537.4v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-3.9-46.1-37.5-77.6-87-77.6-61.1 0-95.6 45.4-95.7 126.8v49.3c0 80.3 34.5 125.2 95.6 125.2zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z`,fill:t}},{tag:`path`,attrs:{d:`M730 311.9h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z`,fill:e}}]}},name:`ci-circle`,theme:`twotone`};function rq(){return rq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,rq({},e,{ref:t,icon:l_e}))),d_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm218-572.1h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z`}}]},name:`ci`,theme:`outlined`};function iq(){return iq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iq({},e,{ref:t,icon:d_e}))),p_e={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-63.5 522.8c49.3 0 82.8-29.4 87-72.4.4-4.1 3.8-7.3 8-7.3h52.7c2.4 0 4.4 2 4.4 4.4 0 77.4-64.3 132.5-152.3 132.5C345.4 720 286 651.4 286 537.4v-49C286 373.5 345.4 304 448.3 304c88.3 0 152.3 56.9 152.3 138.1 0 2.4-2 4.4-4.4 4.4h-52.6c-4.2 0-7.6-3.2-8-7.4-3.9-46.1-37.5-77.6-87-77.6-61.1 0-95.6 45.4-95.7 126.8v49.3c0 80.3 34.5 125.2 95.6 125.2zM738 704.1c0 4.4-3.6 8-8 8h-50.4c-4.4 0-8-3.6-8-8V319.9c0-4.4 3.6-8 8-8H730c4.4 0 8 3.6 8 8v384.2z`,fill:t}},{tag:`path`,attrs:{d:`M730 311.9h-50.4c-4.4 0-8 3.6-8 8v384.2c0 4.4 3.6 8 8 8H730c4.4 0 8-3.6 8-8V319.9c0-4.4-3.6-8-8-8zm-281.4 49.6c49.5 0 83.1 31.5 87 77.6.4 4.2 3.8 7.4 8 7.4h52.6c2.4 0 4.4-2 4.4-4.4 0-81.2-64-138.1-152.3-138.1C345.4 304 286 373.5 286 488.4v49c0 114 59.4 182.6 162.3 182.6 88 0 152.3-55.1 152.3-132.5 0-2.4-2-4.4-4.4-4.4h-52.7c-4.2 0-7.6 3.2-8 7.3-4.2 43-37.7 72.4-87 72.4-61.1 0-95.6-44.9-95.6-125.2v-49.3c.1-81.4 34.6-126.8 95.7-126.8z`,fill:e}}]}},name:`ci`,theme:`twotone`};function aq(){return aq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,aq({},e,{ref:t,icon:p_e}))),h_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z`}}]},name:`clear`,theme:`outlined`};function oq(){return oq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,oq({},e,{ref:t,icon:h_e}))),__e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm176.5 585.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z`}}]},name:`clock-circle`,theme:`filled`};function sq(){return sq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sq({},e,{ref:t,icon:__e}))),y_e={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm176.5 509.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z`,fill:t}},{tag:`path`,attrs:{d:`M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.6-3.6 1.8-8.6-1.8-11.1z`,fill:e}}]}},name:`clock-circle`,theme:`twotone`};function cq(){return cq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,cq({},e,{ref:t,icon:y_e}))),x_e={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z`}}]},name:`close-circle`,theme:`outlined`};function lq(){return lq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,lq({},e,{ref:t,icon:x_e}))),S_e={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm171.8 527.1c1.2 1.5 1.9 3.3 1.9 5.2 0 4.5-3.6 8-8 8l-66-.3-99.3-118.4-99.3 118.5-66.1.3c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2L471 512.3l-130.1-155a8.32 8.32 0 01-1.9-5.2c0-4.5 3.6-8 8-8l66.1.3 99.3 118.4 99.4-118.5 66-.3c4.4 0 8 3.6 8 8 0 1.9-.6 3.8-1.8 5.2l-130.1 155 129.9 154.9z`,fill:t}},{tag:`path`,attrs:{d:`M685.8 352c0-4.4-3.6-8-8-8l-66 .3-99.4 118.5-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155-130.1 154.9a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3 99.3-118.5L611.7 680l66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.9 512.2l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z`,fill:e}}]}},name:`close-circle`,theme:`twotone`};function dq(){return dq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,dq({},e,{ref:t,icon:S_e}))),w_e={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112c17.7 0 32 14.3 32 32v736c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32zM639.98 338.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z`}}]},name:`close-square`,theme:`filled`};function fq(){return fq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,fq({},e,{ref:t,icon:w_e}))),E_e={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112c17.7 0 32 14.3 32 32v736c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32zm-40 72H184v656h656V184zM640.01 338.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z`}}]},name:`close-square`,theme:`outlined`};function pq(){return pq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pq({},e,{ref:t,icon:E_e}))),O_e={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm163.9-473.9A7.95 7.95 0 01354 353h58.9c4.7 0 9.2 2.1 12.3 5.7L512 462.2l86.8-103.5c3-3.6 7.5-5.7 12.3-5.7H670c6.8 0 10.5 7.9 6.1 13.1L553.8 512l122.3 145.9c4.4 5.2.7 13.1-6.1 13.1h-58.9c-4.7 0-9.2-2.1-12.3-5.7L512 561.8l-86.8 103.5c-3 3.6-7.5 5.7-12.3 5.7H354c-6.8 0-10.5-7.9-6.1-13.1L470.2 512 347.9 366.1z`,fill:t}},{tag:`path`,attrs:{d:`M354 671h58.9c4.8 0 9.3-2.1 12.3-5.7L512 561.8l86.8 103.5c3.1 3.6 7.6 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.3-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.8 0-9.3 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3.1-3.6-7.6-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z`,fill:e}}]}},name:`close-square`,theme:`twotone`};function mq(){return mq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,mq({},e,{ref:t,icon:O_e}))),A_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M624 706.3h-74.1V464c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v242.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.7a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9z`}},{tag:`path`,attrs:{d:`M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z`}}]},name:`cloud-download`,theme:`outlined`};function hq(){return hq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,hq({},e,{ref:t,icon:A_e}))),M_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3z`}}]},name:`cloud`,theme:`filled`};function gq(){return gq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gq({},e,{ref:t,icon:M_e}))),P_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z`}}]},name:`cloud`,theme:`outlined`};function _q(){return _q=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_q({},e,{ref:t,icon:P_e}))),F_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z`}},{tag:`path`,attrs:{d:`M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z`}},{tag:`path`,attrs:{d:`M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z`}}]},name:`cloud-server`,theme:`outlined`};function yq(){return yq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yq({},e,{ref:t,icon:F_e}))),I_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z`}},{tag:`path`,attrs:{d:`M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 003 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 00-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z`}}]},name:`cloud-sync`,theme:`outlined`};function xq(){return xq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,xq({},e,{ref:t,icon:I_e}))),R_e={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M791.9 492l-37.8-10-13.8-36.5c-8.6-22.7-20.6-44.1-35.7-63.4a245.73 245.73 0 00-52.4-49.9c-41.1-28.9-89.5-44.2-140-44.2s-98.9 15.3-140 44.2a245.6 245.6 0 00-52.4 49.9 240.47 240.47 0 00-35.7 63.4l-13.9 36.6-37.9 9.9a125.7 125.7 0 00-66.1 43.7A123.1 123.1 0 00140 612c0 33.1 12.9 64.3 36.3 87.7 23.4 23.4 54.5 36.3 87.6 36.3h496.2c33.1 0 64.2-12.9 87.6-36.3A123.3 123.3 0 00884 612c0-56.2-37.8-105.5-92.1-120z`,fill:t}},{tag:`path`,attrs:{d:`M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z`,fill:e}}]}},name:`cloud`,theme:`twotone`};function Sq(){return Sq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Sq({},e,{ref:t,icon:R_e}))),B_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z`}},{tag:`path`,attrs:{d:`M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z`}}]},name:`cloud-upload`,theme:`outlined`};function Cq(){return Cq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Cq({},e,{ref:t,icon:B_e}))),H_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888 680h-54V540H546v-92h238c8.8 0 16-7.2 16-16V168c0-8.8-7.2-16-16-16H240c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h238v92H190v140h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8h-54v-72h220v72h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8h-54v-72h220v72h-54c-4.4 0-8 3.6-8 8v176c0 4.4 3.6 8 8 8h176c4.4 0 8-3.6 8-8V688c0-4.4-3.6-8-8-8zM256 805.3c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zm288 0c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zM288 384V216h448v168H288zm544 421.3c0 1.5-1.2 2.7-2.7 2.7h-58.7c-1.5 0-2.7-1.2-2.7-2.7v-58.7c0-1.5 1.2-2.7 2.7-2.7h58.7c1.5 0 2.7 1.2 2.7 2.7v58.7zM360 300a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`cluster`,theme:`outlined`};function wq(){return wq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,wq({},e,{ref:t,icon:H_e}))),W_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM513.1 518.1l-192 161c-5.2 4.4-13.1.7-13.1-6.1v-62.7c0-2.3 1.1-4.6 2.9-6.1L420.7 512l-109.8-92.2a7.63 7.63 0 01-2.9-6.1V351c0-6.8 7.9-10.5 13.1-6.1l192 160.9c3.9 3.2 3.9 9.1 0 12.3zM716 673c0 4.4-3.4 8-7.5 8h-185c-4.1 0-7.5-3.6-7.5-8v-48c0-4.4 3.4-8 7.5-8h185c4.1 0 7.5 3.6 7.5 8v48z`}}]},name:`code`,theme:`filled`};function Tq(){return Tq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Tq({},e,{ref:t,icon:W_e}))),K_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`code`,theme:`outlined`};function Eq(){return Eq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Eq({},e,{ref:t,icon:K_e}))),q_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm243.7 589.2L512 794 268.3 653.2V371.8l110-63.6-.4-.2h.2L512 231l134 77h-.2l-.3.2 110.1 63.6v281.4zM307.9 536.7l87.6 49.9V681l96.7 55.9V524.8L307.9 418.4zm203.9-151.8L418 331l-91.1 52.6 185.2 107 185.2-106.9-91.4-52.8zm20 352l97.3-56.2v-94.1l87-49.5V418.5L531.8 525z`}}]},name:`code-sandbox-circle`,theme:`filled`};function Oq(){return Oq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Oq({},e,{ref:t,icon:q_e}))),Y_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M709.6 210l.4-.2h.2L512 96 313.9 209.8h-.2l.7.3L151.5 304v416L512 928l360.5-208V304l-162.9-94zM482.7 843.6L339.6 761V621.4L210 547.8V372.9l272.7 157.3v313.4zM238.2 321.5l134.7-77.8 138.9 79.7 139.1-79.9 135.2 78-273.9 158-274-158zM814 548.3l-128.8 73.1v139.1l-143.9 83V530.4L814 373.1v175.2z`}}]},name:`code-sandbox`,theme:`outlined`};function kq(){return kq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,kq({},e,{ref:t,icon:Y_e}))),Z_e={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M307.9 536.7l87.6 49.9V681l96.7 55.9V524.8L307.9 418.4zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM755.7 653.2L512 794 268.3 653.2V371.8l110-63.6-.4-.2h.2L512 231l134 77h-.2l-.3.2 110.1 63.6v281.4zm-223.9 83.7l97.3-56.2v-94.1l87-49.5V418.5L531.8 525zm-20-352L418 331l-91.1 52.6 185.2 107 185.2-106.9-91.4-52.8z`}}]},name:`code-sandbox-square`,theme:`filled`};function Aq(){return Aq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Aq({},e,{ref:t,icon:Z_e}))),$_e={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm339.5-223h185c4.1 0 7.5 3.6 7.5 8v48c0 4.4-3.4 8-7.5 8h-185c-4.1 0-7.5-3.6-7.5-8v-48c0-4.4 3.4-8 7.5-8zM308 610.3c0-2.3 1.1-4.6 2.9-6.1L420.7 512l-109.8-92.2a7.63 7.63 0 01-2.9-6.1V351c0-6.8 7.9-10.5 13.1-6.1l192 160.9c3.9 3.2 3.9 9.1 0 12.3l-192 161c-5.2 4.4-13.1.7-13.1-6.1v-62.7z`,fill:t}},{tag:`path`,attrs:{d:`M321.1 679.1l192-161c3.9-3.2 3.9-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48z`,fill:e}}]}},name:`code`,theme:`twotone`};function jq(){return jq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jq({},e,{ref:t,icon:$_e}))),tve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M488.1 414.7V303.4L300.9 428l83.6 55.8zm254.1 137.7v-79.8l-59.8 39.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm278 533c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-254.1 13.3v111.3L723.1 597l-83.6-55.8zM281.8 472.6v79.8l59.8-39.9zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zM723.1 428L535.9 303.4v111.3l103.6 69.1zM384.5 541.2L300.9 597l187.2 124.6V610.3l-103.6-69.1z`}}]},name:`codepen-circle`,theme:`filled`};function Mq(){return Mq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Mq({},e,{ref:t,icon:tve}))),rve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M488.1 414.7V303.4L300.9 428l83.6 55.8zm254.1 137.7v-79.8l-59.8 39.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm278 533c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-254.1 13.3v111.3L723.1 597l-83.6-55.8zM281.8 472.6v79.8l59.8-39.9zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zM723.1 428L535.9 303.4v111.3l103.6 69.1zM384.5 541.2L300.9 597l187.2 124.6V610.3l-103.6-69.1z`}}]},name:`codepen-circle`,theme:`outlined`};function Nq(){return Nq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Nq({},e,{ref:t,icon:rve}))),ave={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M911.7 385.3l-.3-1.5c-.2-1-.3-1.9-.6-2.9-.2-.6-.4-1.1-.5-1.7-.3-.8-.5-1.7-.9-2.5-.2-.6-.5-1.1-.8-1.7-.4-.8-.8-1.5-1.2-2.3-.3-.5-.6-1.1-1-1.6-.8-1.2-1.7-2.4-2.6-3.6-.5-.6-1.1-1.3-1.7-1.9-.4-.5-.9-.9-1.4-1.3-.6-.6-1.3-1.1-1.9-1.6-.5-.4-1-.8-1.6-1.2-.2-.1-.4-.3-.6-.4L531.1 117.8a34.3 34.3 0 00-38.1 0L127.3 361.3c-.2.1-.4.3-.6.4-.5.4-1 .8-1.6 1.2-.7.5-1.3 1.1-1.9 1.6-.5.4-.9.9-1.4 1.3-.6.6-1.2 1.2-1.7 1.9-1 1.1-1.8 2.3-2.6 3.6-.3.5-.7 1-1 1.6-.4.7-.8 1.5-1.2 2.3-.3.5-.5 1.1-.8 1.7-.3.8-.6 1.7-.9 2.5-.2.6-.4 1.1-.5 1.7-.2.9-.4 1.9-.6 2.9l-.3 1.5c-.2 1.5-.3 3-.3 4.5v243.5c0 1.5.1 3 .3 4.5l.3 1.5.6 2.9c.2.6.3 1.1.5 1.7.3.9.6 1.7.9 2.5.2.6.5 1.1.8 1.7.4.8.7 1.5 1.2 2.3.3.5.6 1.1 1 1.6.5.7.9 1.4 1.5 2.1l1.2 1.5c.5.6 1.1 1.3 1.7 1.9.4.5.9.9 1.4 1.3.6.6 1.3 1.1 1.9 1.6.5.4 1 .8 1.6 1.2.2.1.4.3.6.4L493 905.7c5.6 3.8 12.3 5.8 19.1 5.8 6.6 0 13.3-1.9 19.1-5.8l365.6-243.5c.2-.1.4-.3.6-.4.5-.4 1-.8 1.6-1.2.7-.5 1.3-1.1 1.9-1.6.5-.4.9-.9 1.4-1.3.6-.6 1.2-1.2 1.7-1.9l1.2-1.5 1.5-2.1c.3-.5.7-1 1-1.6.4-.8.8-1.5 1.2-2.3.3-.5.5-1.1.8-1.7.3-.8.6-1.7.9-2.5.2-.5.4-1.1.5-1.7.3-.9.4-1.9.6-2.9l.3-1.5c.2-1.5.3-3 .3-4.5V389.8c-.3-1.5-.4-3-.6-4.5zM546.4 210.5l269.4 179.4-120.3 80.4-149-99.6V210.5zm-68.8 0v160.2l-149 99.6-120.3-80.4 269.3-179.4zM180.7 454.1l86 57.5-86 57.5v-115zm296.9 358.5L208.3 633.2l120.3-80.4 149 99.6v160.2zM512 592.8l-121.6-81.2L512 430.3l121.6 81.2L512 592.8zm34.4 219.8V652.4l149-99.6 120.3 80.4-269.3 179.4zM843.3 569l-86-57.5 86-57.5v115z`}}]},name:`codepen`,theme:`outlined`};function Pq(){return Pq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Pq({},e,{ref:t,icon:ave}))),sve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M723.1 428L535.9 303.4v111.3l103.6 69.1zM512 456.1l-84.5 56.4 84.5 56.4 84.5-56.4zm23.9 154.2v111.3L723.1 597l-83.6-55.8zm-151.4-69.1L300.9 597l187.2 124.6V610.3l-103.6-69.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-90 485c0 1.1-.1 2.1-.2 3.1 0 .4-.1.7-.2 1a14.16 14.16 0 01-.8 3.2c-.2.6-.4 1.2-.6 1.7-.2.4-.4.8-.5 1.2-.3.5-.5 1.1-.8 1.6-.2.4-.4.7-.7 1.1-.3.5-.7 1-1 1.5-.3.4-.5.7-.8 1-.4.4-.8.9-1.2 1.3-.3.3-.6.6-1 .9-.4.4-.9.8-1.4 1.1-.4.3-.7.6-1.1.8-.1.1-.3.2-.4.3L525.2 786c-4 2.7-8.6 4-13.2 4-4.7 0-9.3-1.4-13.3-4L244.6 616.9c-.1-.1-.3-.2-.4-.3l-1.1-.8c-.5-.4-.9-.7-1.3-1.1-.3-.3-.6-.6-1-.9-.4-.4-.8-.8-1.2-1.3a7 7 0 01-.8-1c-.4-.5-.7-1-1-1.5-.2-.4-.5-.7-.7-1.1-.3-.5-.6-1.1-.8-1.6-.2-.4-.4-.8-.5-1.2-.2-.6-.4-1.2-.6-1.7-.1-.4-.3-.8-.4-1.2-.2-.7-.3-1.3-.4-2-.1-.3-.1-.7-.2-1-.1-1-.2-2.1-.2-3.1V427.9c0-1 .1-2.1.2-3.1.1-.3.1-.7.2-1a14.16 14.16 0 01.8-3.2c.2-.6.4-1.2.6-1.7.2-.4.4-.8.5-1.2.2-.5.5-1.1.8-1.6.2-.4.4-.7.7-1.1.6-.9 1.2-1.7 1.8-2.5.4-.4.8-.9 1.2-1.3.3-.3.6-.6 1-.9.4-.4.9-.8 1.3-1.1.4-.3.7-.6 1.1-.8.1-.1.3-.2.4-.3L498.7 239c8-5.3 18.5-5.3 26.5 0l254.1 169.1c.1.1.3.2.4.3l1.1.8 1.4 1.1c.3.3.6.6 1 .9.4.4.8.8 1.2 1.3.7.8 1.3 1.6 1.8 2.5.2.4.5.7.7 1.1.3.5.6 1 .8 1.6.2.4.4.8.5 1.2.2.6.4 1.2.6 1.7.1.4.3.8.4 1.2.2.7.3 1.3.4 2 .1.3.1.7.2 1 .1 1 .2 2.1.2 3.1V597zm-47.8-44.6v-79.8l-59.8 39.9zm-460.4-79.8v79.8l59.8-39.9zm206.3-57.9V303.4L300.9 428l83.6 55.8z`}}]},name:`codepen-square`,theme:`filled`};function Fq(){return Fq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Fq({},e,{ref:t,icon:sve}))),lve={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M275 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm613 144H768c0-39.8-32.2-72-72-72H200c-39.8 0-72 32.2-72 72v248c0 3.4.2 6.7.7 9.9-.5 7-.7 14-.7 21.1 0 176.7 143.3 320 320 320 160.1 0 292.7-117.5 316.3-271H888c39.8 0 72-32.2 72-72V497c0-39.8-32.2-72-72-72zM696 681h-1.1c.7 7.6 1.1 15.2 1.1 23 0 137-111 248-248 248S200 841 200 704c0-7.8.4-15.4 1.1-23H200V425h496v256zm192-8H776V497h112v176zM613 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm-170 0c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36z`}}]},name:`coffee`,theme:`outlined`};function Iq(){return Iq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Iq({},e,{ref:t,icon:lve}))),uve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z`}}]},name:`column-height`,theme:`outlined`};function Rq(){return Rq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Rq({},e,{ref:t,icon:uve}))),fve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M180 176h-60c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8zm724 0h-60c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8zM785.3 504.3L657.7 403.6a7.23 7.23 0 00-11.7 5.7V476H378v-62.8c0-6-7-9.4-11.7-5.7L238.7 508.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h268v62.8c0 6 7 9.4 11.7 5.7l127.5-100.8c3.8-2.9 3.8-8.5.2-11.4z`}}]},name:`column-width`,theme:`outlined`};function zq(){return zq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,zq({},e,{ref:t,icon:fve}))),mve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z`}},{tag:`path`,attrs:{d:`M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z`}},{tag:`path`,attrs:{d:`M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z`}}]},name:`comment`,theme:`outlined`};function Bq(){return Bq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Bq({},e,{ref:t,icon:mve}))),gve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM327.3 702.4c-2 .9-4.4 0-5.3-2.1-.4-1-.4-2.2 0-3.2l98.7-225.5 132.1 132.1-225.5 98.7zm375.1-375.1l-98.7 225.5-132.1-132.1L697.1 322c2-.9 4.4 0 5.3 2.1.4 1 .4 2.1 0 3.2z`}}]},name:`compass`,theme:`filled`};function Vq(){return Vq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Vq({},e,{ref:t,icon:gve}))),vve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm198.4-588.1a32 32 0 00-24.5.5L414.9 415 296.4 686c-3.6 8.2-3.6 17.5 0 25.7 3.4 7.8 9.7 13.9 17.7 17 3.8 1.5 7.7 2.2 11.7 2.2 4.4 0 8.7-.9 12.8-2.7l271-118.6 118.5-271a32.06 32.06 0 00-17.7-42.7zM576.8 534.4l26.2 26.2-42.4 42.4-26.2-26.2L380 644.4 447.5 490 422 464.4l42.4-42.4 25.5 25.5L644.4 380l-67.6 154.4zM464.4 422L422 464.4l25.5 25.6 86.9 86.8 26.2 26.2 42.4-42.4-26.2-26.2-86.8-86.9z`}}]},name:`compass`,theme:`outlined`};function Hq(){return Hq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Hq({},e,{ref:t,icon:vve}))),yve={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM327.6 701.7c-2 .9-4.4 0-5.3-2.1-.4-1-.4-2.2 0-3.2L421 470.9 553.1 603l-225.5 98.7zm375.1-375.1L604 552.1 471.9 420l225.5-98.7c2-.9 4.4 0 5.3 2.1.4 1 .4 2.1 0 3.2z`,fill:t}},{tag:`path`,attrs:{d:`M322.3 696.4c-.4 1-.4 2.2 0 3.2.9 2.1 3.3 3 5.3 2.1L553.1 603 421 470.9l-98.7 225.5zm375.1-375.1L471.9 420 604 552.1l98.7-225.5c.4-1.1.4-2.2 0-3.2-.9-2.1-3.3-3-5.3-2.1z`,fill:e}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}}]}},name:`compass`,theme:`twotone`};function Wq(){return Wq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Wq({},e,{ref:t,icon:yve}))),xve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M326 664H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h174v176c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V696c0-17.7-14.3-32-32-32zm16-576h-48c-8.8 0-16 7.2-16 16v176H104c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h222c17.7 0 32-14.3 32-32V104c0-8.8-7.2-16-16-16zm578 576H698c-17.7 0-32 14.3-32 32v224c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V744h174c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zm0-384H746V104c0-8.8-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16v224c0 17.7 14.3 32 32 32h222c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16z`}}]},name:`compress`,theme:`outlined`};function Gq(){return Gq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Gq({},e,{ref:t,icon:xve}))),Cve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M301.3 496.7c-23.8 0-40.2-10.5-41.6-26.9H205c.9 43.4 36.9 70.3 93.9 70.3 59.1 0 95-28.4 95-75.5 0-35.8-20-55.9-64.5-64.5l-29.1-5.6c-23.8-4.7-33.8-11.9-33.8-24.2 0-15 13.3-24.5 33.4-24.5 20.1 0 35.3 11.1 36.6 27h53c-.9-41.7-37.5-70.3-90.3-70.3-54.4 0-89.7 28.9-89.7 73 0 35.5 21.2 58 62.5 65.8l29.7 5.9c25.8 5.2 35.6 11.9 35.6 24.4.1 14.7-14.5 25.1-36 25.1z`}},{tag:`path`,attrs:{d:`M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z`}},{tag:`path`,attrs:{d:`M828.5 486.7h-95.8V308.5h-57.4V534h153.2zm-298.6 53.4c14.1 0 27.2-2 39.1-5.8l13.3 20.3h53.3L607.9 511c21.1-20 33-51.1 33-89.8 0-73.3-43.3-118.8-110.9-118.8s-111.2 45.3-111.2 118.8c-.1 73.7 43 118.9 111.1 118.9zm0-190c31.6 0 52.7 27.7 52.7 71.1 0 16.7-3.6 30.6-10 40.5l-5.2-6.9h-48.8L542 491c-3.9.9-8 1.4-12.2 1.4-31.7 0-52.8-27.5-52.8-71.2.1-43.6 21.2-71.1 52.9-71.1z`}}]},name:`console-sql`,theme:`outlined`};function Kq(){return Kq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Kq({},e,{ref:t,icon:Cve}))),Tve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zM661 736h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.6-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H363a8 8 0 01-8-8.4c2.8-53.3 32-99.7 74.6-126.1a111.8 111.8 0 01-29.1-75.5c0-61.9 49.9-112 111.4-112 61.5 0 111.4 50.1 111.4 112 0 29.1-11 55.5-29.1 75.5 42.7 26.5 71.8 72.8 74.6 126.1.4 4.6-3.2 8.4-7.8 8.4zM512 474c-28.5 0-51.7 23.3-51.7 52s23.2 52 51.7 52c28.5 0 51.7-23.3 51.7-52s-23.2-52-51.7-52z`}}]},name:`contacts`,theme:`filled`};function qq(){return qq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,qq({},e,{ref:t,icon:Tve}))),Dve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M594.3 601.5a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1 8 8 0 008 8.4H407c4.2 0 7.6-3.3 7.9-7.5 3.8-50.6 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H661a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.7-126.1zM512 578c-28.5 0-51.7-23.3-51.7-52s23.2-52 51.7-52 51.7 23.3 51.7 52-23.2 52-51.7 52zm416-354H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z`}}]},name:`contacts`,theme:`outlined`};function Jq(){return Jq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Jq({},e,{ref:t,icon:Dve}))),kve={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M460.3 526a51.7 52 0 10103.4 0 51.7 52 0 10-103.4 0z`,fill:t}},{tag:`path`,attrs:{d:`M768 352c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H548v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H328v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H136v496h752V296H768v56zM661 736h-43.8c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 39.9-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5h-43.9a8 8 0 01-8-8.4c2.8-53.3 31.9-99.6 74.6-126.1-18.1-20-29.1-46.4-29.1-75.5 0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.6-29.1 75.5 42.7 26.4 71.9 72.8 74.7 126.1a8 8 0 01-8 8.4z`,fill:t}},{tag:`path`,attrs:{d:`M594.3 601.5a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1 8 8 0 008 8.4H407c4.2 0 7.6-3.3 7.9-7.5 3.8-50.6 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H661a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.7-126.1zM512 578c-28.5 0-51.7-23.3-51.7-52s23.2-52 51.7-52 51.7 23.3 51.7 52-23.2 52-51.7 52z`,fill:e}},{tag:`path`,attrs:{d:`M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z`,fill:e}}]}},name:`contacts`,theme:`twotone`};function Yq(){return Yq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Yq({},e,{ref:t,icon:kve}))),jve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v529c0-.6.4-1 1-1h219.3l5.2 24.7C397.6 708.5 450.8 752 512 752s114.4-43.5 126.4-103.3l5.2-24.7H863c.6 0 1 .4 1 1V96c0-17.7-14.3-32-32-32zM712 493c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48zm0-160c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48zm151 354H694.1c-11.6 32.8-32 62.3-59.1 84.7-34.5 28.6-78.2 44.3-123 44.3s-88.5-15.8-123-44.3a194.02 194.02 0 01-59.1-84.7H161c-.6 0-1-.4-1-1v242c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V686c0 .6-.4 1-1 1z`}}]},name:`container`,theme:`filled`};function Xq(){return Xq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Xq({},e,{ref:t,icon:jve}))),Nve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v-63H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v752zM320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 160h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}}]},name:`container`,theme:`outlined`};function Zq(){return Zq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Zq({},e,{ref:t,icon:Nve}))),Fve={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M635 771.7c-34.5 28.6-78.2 44.3-123 44.3s-88.5-15.8-123-44.3a194.02 194.02 0 01-59.1-84.7H232v201h560V687h-97.9c-11.6 32.8-32 62.3-59.1 84.7z`,fill:t}},{tag:`path`,attrs:{d:`M320 501h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`,fill:e}},{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v201zm0-264H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v488z`,fill:e}},{tag:`path`,attrs:{d:`M320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`,fill:e}}]}},name:`container`,theme:`twotone`};function Qq(){return Qq=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Qq({},e,{ref:t,icon:Fve}))),Lve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM404 683v77c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-77c-41.7-13.6-72-52.8-72-99s30.3-85.5 72-99V264c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v221c41.7 13.6 72 52.8 72 99s-30.3 85.5-72 99zm279.6-143.9c.2 0 .3-.1.4-.1v221c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V539c.2 0 .3.1.4.1-42-13.4-72.4-52.7-72.4-99.1 0-46.4 30.4-85.7 72.4-99.1-.2 0-.3.1-.4.1v-77c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v77c-.2 0-.3-.1-.4-.1 42 13.4 72.4 52.7 72.4 99.1 0 46.4-30.4 85.7-72.4 99.1zM616 440a36 36 0 1072 0 36 36 0 10-72 0zM403.4 566.5l-1.5-2.4c0-.1-.1-.1-.1-.2l-.9-1.2c-.1-.1-.2-.2-.2-.3-1-1.3-2-2.5-3.2-3.6l-.2-.2c-.4-.4-.8-.8-1.2-1.1-.8-.8-1.7-1.5-2.6-2.1h-.1l-1.2-.9c-.1-.1-.3-.2-.4-.3-1.2-.8-2.5-1.6-3.9-2.2-.2-.1-.5-.2-.7-.4-.4-.2-.7-.3-1.1-.5-.3-.1-.7-.3-1-.4-.5-.2-1-.4-1.5-.5-.4-.1-.9-.3-1.3-.4l-.9-.3-1.4-.3c-.2-.1-.5-.1-.7-.2-.7-.1-1.4-.3-2.1-.4-.2 0-.4 0-.6-.1-.6-.1-1.1-.1-1.7-.2-.2 0-.4 0-.7-.1-.8 0-1.5-.1-2.3-.1s-1.5 0-2.3.1c-.2 0-.4 0-.7.1-.6 0-1.2.1-1.7.2-.2 0-.4 0-.6.1-.7.1-1.4.2-2.1.4-.2.1-.5.1-.7.2l-1.4.3-.9.3c-.4.1-.9.3-1.3.4-.5.2-1 .4-1.5.5-.3.1-.7.3-1 .4-.4.2-.7.3-1.1.5-.2.1-.5.2-.7.4-1.3.7-2.6 1.4-3.9 2.2-.1.1-.3.2-.4.3l-1.2.9h-.1c-.9.7-1.8 1.4-2.6 2.1-.4.4-.8.7-1.2 1.1l-.2.2a54.8 54.8 0 00-3.2 3.6c-.1.1-.2.2-.2.3l-.9 1.2c0 .1-.1.1-.1.2l-1.5 2.4c-.1.2-.2.3-.3.5-2.7 5.1-4.3 10.9-4.3 17s1.6 12 4.3 17c.1.2.2.3.3.5l1.5 2.4c0 .1.1.1.1.2l.9 1.2c.1.1.2.2.2.3 1 1.3 2 2.5 3.2 3.6l.2.2c.4.4.8.8 1.2 1.1.8.8 1.7 1.5 2.6 2.1h.1l1.2.9c.1.1.3.2.4.3 1.2.8 2.5 1.6 3.9 2.2.2.1.5.2.7.4.4.2.7.3 1.1.5.3.1.7.3 1 .4.5.2 1 .4 1.5.5.4.1.9.3 1.3.4l.9.3 1.4.3c.2.1.5.1.7.2.7.1 1.4.3 2.1.4.2 0 .4 0 .6.1.6.1 1.1.1 1.7.2.2 0 .4 0 .7.1.8 0 1.5.1 2.3.1s1.5 0 2.3-.1c.2 0 .4 0 .7-.1.6 0 1.2-.1 1.7-.2.2 0 .4 0 .6-.1.7-.1 1.4-.2 2.1-.4.2-.1.5-.1.7-.2l1.4-.3.9-.3c.4-.1.9-.3 1.3-.4.5-.2 1-.4 1.5-.5.3-.1.7-.3 1-.4.4-.2.7-.3 1.1-.5.2-.1.5-.2.7-.4 1.3-.7 2.6-1.4 3.9-2.2.1-.1.3-.2.4-.3l1.2-.9h.1c.9-.7 1.8-1.4 2.6-2.1.4-.4.8-.7 1.2-1.1l.2-.2c1.1-1.1 2.2-2.4 3.2-3.6.1-.1.2-.2.2-.3l.9-1.2c0-.1.1-.1.1-.2l1.5-2.4c.1-.2.2-.3.3-.5 2.7-5.1 4.3-10.9 4.3-17s-1.6-12-4.3-17c-.1-.2-.2-.4-.3-.5z`}}]},name:`control`,theme:`filled`};function $q(){return $q=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$q({},e,{ref:t,icon:Lve}))),zve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8s0 .1.1.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8 0 0 0 .1-.1.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7zM620 539v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-10.1 3.3-20.8 5-32 5s-21.9-1.8-32-5zm64-198v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c10.1-3.3 20.8-5 32-5s21.9 1.8 32 5zm-64 198c10.1 3.3 20.8 5 32 5s21.9-1.8 32-5c41.8-13.5 72-52.7 72-99s-30.2-85.5-72-99c-10.1-3.3-20.8-5-32-5s-21.9 1.8-32 5c-41.8 13.5-72 52.7-72 99s30.2 85.5 72 99zm.1-115.7c.3-.6.7-1.2 1-1.8v-.1l1.2-1.8c.1-.2.2-.3.3-.5.3-.5.7-.9 1-1.4.1-.1.2-.3.3-.4.5-.6.9-1.1 1.4-1.6l.3-.3 1.2-1.2.4-.4c.5-.5 1-.9 1.6-1.4.6-.5 1.1-.9 1.7-1.3.2-.1.3-.2.5-.3.5-.3.9-.7 1.4-1 .1-.1.3-.2.4-.3.6-.4 1.2-.7 1.9-1.1.1-.1.3-.1.4-.2.5-.3 1-.5 1.6-.8l.6-.3c.7-.3 1.3-.6 2-.8.7-.3 1.4-.5 2.1-.7.2-.1.4-.1.6-.2.6-.2 1.1-.3 1.7-.4.2 0 .3-.1.5-.1.7-.2 1.5-.3 2.2-.4.2 0 .3 0 .5-.1.6-.1 1.2-.1 1.8-.2h.6c.8 0 1.5-.1 2.3-.1s1.5 0 2.3.1h.6c.6 0 1.2.1 1.8.2.2 0 .3 0 .5.1.7.1 1.5.2 2.2.4.2 0 .3.1.5.1.6.1 1.2.3 1.7.4.2.1.4.1.6.2.7.2 1.4.4 2.1.7.7.2 1.3.5 2 .8l.6.3c.5.2 1.1.5 1.6.8.1.1.3.1.4.2.6.3 1.3.7 1.9 1.1.1.1.3.2.4.3.5.3 1 .6 1.4 1 .2.1.3.2.5.3.6.4 1.2.9 1.7 1.3s1.1.9 1.6 1.4l.4.4 1.2 1.2.3.3c.5.5 1 1.1 1.4 1.6.1.1.2.3.3.4.4.4.7.9 1 1.4.1.2.2.3.3.5l1.2 1.8v.1a36.18 36.18 0 015.1 18.5c0 6-1.5 11.7-4.1 16.7-.3.6-.7 1.2-1 1.8v.1l-1.2 1.8c-.1.2-.2.3-.3.5-.3.5-.7.9-1 1.4-.1.1-.2.3-.3.4-.5.6-.9 1.1-1.4 1.6l-.3.3-1.2 1.2-.4.4c-.5.5-1 .9-1.6 1.4-.6.5-1.1.9-1.7 1.3-.2.1-.3.2-.5.3-.5.3-.9.7-1.4 1-.1.1-.3.2-.4.3-.6.4-1.2.7-1.9 1.1-.1.1-.3.1-.4.2-.5.3-1 .5-1.6.8l-.6.3c-.7.3-1.3.6-2 .8-.7.3-1.4.5-2.1.7-.2.1-.4.1-.6.2-.6.2-1.1.3-1.7.4-.2 0-.3.1-.5.1-.7.2-1.5.3-2.2.4-.2 0-.3 0-.5.1-.6.1-1.2.1-1.8.2h-.6c-.8 0-1.5.1-2.3.1s-1.5 0-2.3-.1h-.6c-.6 0-1.2-.1-1.8-.2-.2 0-.3 0-.5-.1-.7-.1-1.5-.2-2.2-.4-.2 0-.3-.1-.5-.1-.6-.1-1.2-.3-1.7-.4-.2-.1-.4-.1-.6-.2-.7-.2-1.4-.4-2.1-.7-.7-.2-1.3-.5-2-.8l-.6-.3c-.5-.2-1.1-.5-1.6-.8-.1-.1-.3-.1-.4-.2-.6-.3-1.3-.7-1.9-1.1-.1-.1-.3-.2-.4-.3-.5-.3-1-.6-1.4-1-.2-.1-.3-.2-.5-.3-.6-.4-1.2-.9-1.7-1.3s-1.1-.9-1.6-1.4l-.4-.4-1.2-1.2-.3-.3c-.5-.5-1-1.1-1.4-1.6-.1-.1-.2-.3-.3-.4-.4-.4-.7-.9-1-1.4-.1-.2-.2-.3-.3-.5l-1.2-1.8v-.1c-.4-.6-.7-1.2-1-1.8-2.6-5-4.1-10.7-4.1-16.7s1.5-11.7 4.1-16.7z`}}]},name:`control`,theme:`outlined`};function eJ(){return eJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,eJ({},e,{ref:t,icon:zve}))),Vve={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M616 440a36 36 0 1072 0 36 36 0 10-72 0zM340.4 601.5l1.5 2.4c0 .1.1.1.1.2l.9 1.2c.1.1.2.2.2.3 1 1.3 2 2.5 3.2 3.6l.2.2c.4.4.8.8 1.2 1.1.8.8 1.7 1.5 2.6 2.1h.1l1.2.9c.1.1.3.2.4.3 1.2.8 2.5 1.6 3.9 2.2.2.1.5.2.7.4.4.2.7.3 1.1.5.3.1.7.3 1 .4.5.2 1 .4 1.5.5.4.1.9.3 1.3.4l.9.3 1.4.3c.2.1.5.1.7.2.7.1 1.4.3 2.1.4.2 0 .4 0 .6.1.6.1 1.1.1 1.7.2.2 0 .4 0 .7.1.8 0 1.5.1 2.3.1s1.5 0 2.3-.1c.2 0 .4 0 .7-.1.6 0 1.2-.1 1.7-.2.2 0 .4 0 .6-.1.7-.1 1.4-.2 2.1-.4.2-.1.5-.1.7-.2l1.4-.3.9-.3c.4-.1.9-.3 1.3-.4.5-.2 1-.4 1.5-.5.3-.1.7-.3 1-.4.4-.2.7-.3 1.1-.5.2-.1.5-.2.7-.4 1.3-.7 2.6-1.4 3.9-2.2.1-.1.3-.2.4-.3l1.2-.9h.1c.9-.7 1.8-1.4 2.6-2.1.4-.4.8-.7 1.2-1.1l.2-.2c1.1-1.1 2.2-2.4 3.2-3.6.1-.1.2-.2.2-.3l.9-1.2c0-.1.1-.1.1-.2l1.5-2.4c.1-.2.2-.3.3-.5 2.7-5.1 4.3-10.9 4.3-17s-1.6-12-4.3-17c-.1-.2-.2-.4-.3-.5l-1.5-2.4c0-.1-.1-.1-.1-.2l-.9-1.2c-.1-.1-.2-.2-.2-.3-1-1.3-2-2.5-3.2-3.6l-.2-.2c-.4-.4-.8-.8-1.2-1.1-.8-.8-1.7-1.5-2.6-2.1h-.1l-1.2-.9c-.1-.1-.3-.2-.4-.3-1.2-.8-2.5-1.6-3.9-2.2-.2-.1-.5-.2-.7-.4-.4-.2-.7-.3-1.1-.5-.3-.1-.7-.3-1-.4-.5-.2-1-.4-1.5-.5-.4-.1-.9-.3-1.3-.4l-.9-.3-1.4-.3c-.2-.1-.5-.1-.7-.2-.7-.1-1.4-.3-2.1-.4-.2 0-.4 0-.6-.1-.6-.1-1.1-.1-1.7-.2-.2 0-.4 0-.7-.1-.8 0-1.5-.1-2.3-.1s-1.5 0-2.3.1c-.2 0-.4 0-.7.1-.6 0-1.2.1-1.7.2-.2 0-.4 0-.6.1-.7.1-1.4.2-2.1.4-.2.1-.5.1-.7.2l-1.4.3-.9.3c-.4.1-.9.3-1.3.4-.5.2-1 .4-1.5.5-.3.1-.7.3-1 .4-.4.2-.7.3-1.1.5-.2.1-.5.2-.7.4-1.3.7-2.6 1.4-3.9 2.2-.1.1-.3.2-.4.3l-1.2.9h-.1c-.9.7-1.8 1.4-2.6 2.1-.4.4-.8.7-1.2 1.1l-.2.2a54.8 54.8 0 00-3.2 3.6c-.1.1-.2.2-.2.3l-.9 1.2c0 .1-.1.1-.1.2l-1.5 2.4c-.1.2-.2.3-.3.5-2.7 5.1-4.3 10.9-4.3 17s1.6 12 4.3 17c.1.2.2.3.3.5z`,fill:t}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm436.4-499.1c-.2 0-.3.1-.4.1v-77c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v77c-.2 0-.3-.1-.4-.1 42 13.4 72.4 52.7 72.4 99.1 0 46.4-30.4 85.7-72.4 99.1.2 0 .3-.1.4-.1v221c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V539c.2 0 .3.1.4.1-42-13.4-72.4-52.7-72.4-99.1 0-46.4 30.4-85.7 72.4-99.1zM340 485V264c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v221c41.7 13.6 72 52.8 72 99s-30.3 85.5-72 99v77c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-77c-41.7-13.6-72-52.8-72-99s30.3-85.5 72-99z`,fill:t}},{tag:`path`,attrs:{d:`M340 683v77c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-77c41.7-13.5 72-52.8 72-99s-30.3-85.4-72-99V264c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v221c-41.7 13.5-72 52.8-72 99s30.3 85.4 72 99zm.1-116c.1-.2.2-.3.3-.5l1.5-2.4c0-.1.1-.1.1-.2l.9-1.2c0-.1.1-.2.2-.3 1-1.2 2.1-2.5 3.2-3.6l.2-.2c.4-.4.8-.7 1.2-1.1.8-.7 1.7-1.4 2.6-2.1h.1l1.2-.9c.1-.1.3-.2.4-.3 1.3-.8 2.6-1.5 3.9-2.2.2-.2.5-.3.7-.4.4-.2.7-.3 1.1-.5.3-.1.7-.3 1-.4.5-.1 1-.3 1.5-.5.4-.1.9-.3 1.3-.4l.9-.3 1.4-.3c.2-.1.5-.1.7-.2.7-.2 1.4-.3 2.1-.4.2-.1.4-.1.6-.1.5-.1 1.1-.2 1.7-.2.3-.1.5-.1.7-.1.8-.1 1.5-.1 2.3-.1s1.5.1 2.3.1c.3.1.5.1.7.1.6.1 1.1.1 1.7.2.2.1.4.1.6.1.7.1 1.4.3 2.1.4.2.1.5.1.7.2l1.4.3.9.3c.4.1.9.3 1.3.4.5.1 1 .3 1.5.5.3.1.7.3 1 .4.4.2.7.3 1.1.5.2.2.5.3.7.4 1.4.6 2.7 1.4 3.9 2.2.1.1.3.2.4.3l1.2.9h.1c.9.6 1.8 1.3 2.6 2.1.4.3.8.7 1.2 1.1l.2.2c1.2 1.1 2.2 2.3 3.2 3.6 0 .1.1.2.2.3l.9 1.2c0 .1.1.1.1.2l1.5 2.4A36.03 36.03 0 01408 584c0 6.1-1.6 11.9-4.3 17-.1.2-.2.3-.3.5l-1.5 2.4c0 .1-.1.1-.1.2l-.9 1.2c0 .1-.1.2-.2.3-1 1.2-2.1 2.5-3.2 3.6l-.2.2c-.4.4-.8.7-1.2 1.1-.8.7-1.7 1.4-2.6 2.1h-.1l-1.2.9c-.1.1-.3.2-.4.3-1.3.8-2.6 1.5-3.9 2.2-.2.2-.5.3-.7.4-.4.2-.7.3-1.1.5-.3.1-.7.3-1 .4-.5.1-1 .3-1.5.5-.4.1-.9.3-1.3.4l-.9.3-1.4.3c-.2.1-.5.1-.7.2-.7.2-1.4.3-2.1.4-.2.1-.4.1-.6.1-.5.1-1.1.2-1.7.2-.3.1-.5.1-.7.1-.8.1-1.5.1-2.3.1s-1.5-.1-2.3-.1c-.3-.1-.5-.1-.7-.1-.6-.1-1.1-.1-1.7-.2-.2-.1-.4-.1-.6-.1-.7-.1-1.4-.3-2.1-.4-.2-.1-.5-.1-.7-.2l-1.4-.3-.9-.3c-.4-.1-.9-.3-1.3-.4-.5-.1-1-.3-1.5-.5-.3-.1-.7-.3-1-.4-.4-.2-.7-.3-1.1-.5-.2-.2-.5-.3-.7-.4-1.4-.6-2.7-1.4-3.9-2.2-.1-.1-.3-.2-.4-.3l-1.2-.9h-.1c-.9-.6-1.8-1.3-2.6-2.1-.4-.3-.8-.7-1.2-1.1l-.2-.2c-1.2-1.1-2.2-2.3-3.2-3.6 0-.1-.1-.2-.2-.3l-.9-1.2c0-.1-.1-.1-.1-.2l-1.5-2.4c-.1-.2-.2-.3-.3-.5-2.7-5-4.3-10.9-4.3-17s1.6-11.9 4.3-17zm280.3-27.9c-.1 0-.2-.1-.4-.1v221c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V539c-.1 0-.2.1-.4.1 42-13.4 72.4-52.7 72.4-99.1 0-46.4-30.4-85.7-72.4-99.1.1 0 .2.1.4.1v-77c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v77c.1 0 .2-.1.4-.1-42 13.4-72.4 52.7-72.4 99.1 0 46.4 30.4 85.7 72.4 99.1zM652 404c19.9 0 36 16.1 36 36s-16.1 36-36 36-36-16.1-36-36 16.1-36 36-36z`,fill:e}}]}},name:`control`,theme:`twotone`};function tJ(){return tJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tJ({},e,{ref:t,icon:Vve}))),Uve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM382 896h-.2L232 746.2v-.2h150v150z`}}]},name:`copy`,theme:`filled`};function nJ(){return nJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,nJ({},e,{ref:t,icon:Uve}))),Gve={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M232 706h142c22.1 0 40 17.9 40 40v142h250V264H232v442z`,fill:t}},{tag:`path`,attrs:{d:`M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32z`,fill:e}},{tag:`path`,attrs:{d:`M704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z`,fill:e}}]}},name:`copy`,theme:`twotone`};function rJ(){return rJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,rJ({},e,{ref:t,icon:Gve}))),qve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm5.4 670c-110 0-173.4-73.2-173.4-194.9v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.6-3.2-8-7.4-4-49.5-40-83.4-93-83.4-65.3 0-102.1 48.5-102.1 135.5v52.6c0 85.7 36.9 133.6 102.1 133.6 52.8 0 88.7-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4z`}}]},name:`copyright-circle`,theme:`filled`};function iJ(){return iJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iJ({},e,{ref:t,icon:qve}))),Yve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z`}}]},name:`copyright-circle`,theme:`outlined`};function aJ(){return aJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,aJ({},e,{ref:t,icon:Yve}))),Zve={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm5.5 533c52.9 0 88.8-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4C407.4 734 344 660.8 344 539.1v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.7-3.2-8-7.4-4-49.6-40-83.4-93-83.4-65.2 0-102.1 48.5-102.2 135.5v52.6c0 85.7 36.8 133.6 102.1 133.6z`,fill:t}},{tag:`path`,attrs:{d:`M517.6 351.3c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z`,fill:e}}]}},name:`copyright-circle`,theme:`twotone`};function oJ(){return oJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,oJ({},e,{ref:t,icon:Zve}))),$ve={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z`}}]},name:`copyright`,theme:`outlined`};function sJ(){return sJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sJ({},e,{ref:t,icon:$ve}))),tye={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm5.5 533c52.9 0 88.8-31.7 93-77.8.4-4.1 3.8-7.3 8-7.3h56.8c2.6 0 4.7 2.1 4.7 4.7 0 82.6-68.7 141.4-162.7 141.4C407.4 734 344 660.8 344 539.1v-52.3C344 364.2 407.4 290 517.3 290c94.3 0 162.7 60.7 162.7 147.4 0 2.6-2.1 4.7-4.7 4.7h-56.7c-4.2 0-7.7-3.2-8-7.4-4-49.6-40-83.4-93-83.4-65.2 0-102.1 48.5-102.2 135.5v52.6c0 85.7 36.8 133.6 102.1 133.6z`,fill:t}},{tag:`path`,attrs:{d:`M517.6 351.3c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z`,fill:e}}]}},name:`copyright`,theme:`twotone`};function cJ(){return cJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,cJ({},e,{ref:t,icon:tye}))),rye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v160h896V192c0-17.7-14.3-32-32-32zM64 832c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V440H64v392zm579-184c0-4.4 3.6-8 8-8h165c4.4 0 8 3.6 8 8v72c0 4.4-3.6 8-8 8H651c-4.4 0-8-3.6-8-8v-72z`}}]},name:`credit-card`,theme:`filled`};function lJ(){return lJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,lJ({},e,{ref:t,icon:rye}))),aye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-792 72h752v120H136V232zm752 560H136V440h752v352zm-237-64h165c4.4 0 8-3.6 8-8v-72c0-4.4-3.6-8-8-8H651c-4.4 0-8 3.6-8 8v72c0 4.4 3.6 8 8 8z`}}]},name:`credit-card`,theme:`outlined`};function uJ(){return uJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uJ({},e,{ref:t,icon:aye}))),sye={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M136 792h752V440H136v352zm507-144c0-4.4 3.6-8 8-8h165c4.4 0 8 3.6 8 8v72c0 4.4-3.6 8-8 8H651c-4.4 0-8-3.6-8-8v-72zM136 232h752v120H136z`,fill:t}},{tag:`path`,attrs:{d:`M651 728h165c4.4 0 8-3.6 8-8v-72c0-4.4-3.6-8-8-8H651c-4.4 0-8 3.6-8 8v72c0 4.4 3.6 8 8 8z`,fill:e}},{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V440h752v352zm0-440H136V232h752v120z`,fill:e}}]}},name:`credit-card`,theme:`twotone`};function dJ(){return dJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,dJ({},e,{ref:t,icon:sye}))),lye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zM512 734.2c-62.1 0-112.6-50.5-112.6-112.6S449.9 509 512 509s112.6 50.5 112.6 112.6S574.1 734.2 512 734.2zm0-160.9c-26.6 0-48.2 21.6-48.2 48.3 0 26.6 21.6 48.3 48.2 48.3s48.2-21.6 48.2-48.3c0-26.6-21.6-48.3-48.2-48.3z`}}]},name:`crown`,theme:`filled`};function fJ(){return fJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,fJ({},e,{ref:t,icon:lye}))),dye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zm-126 534.1H250.3l-53.8-409.4 139.8 86.1L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4zM512 509c-62.1 0-112.6 50.5-112.6 112.6S449.9 734.2 512 734.2s112.6-50.5 112.6-112.6S574.1 509 512 509zm0 160.9c-26.6 0-48.2-21.6-48.2-48.3 0-26.6 21.6-48.3 48.2-48.3s48.2 21.6 48.2 48.3c0 26.6-21.6 48.3-48.2 48.3z`}}]},name:`crown`,theme:`outlined`};function pJ(){return pJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pJ({},e,{ref:t,icon:dye}))),fye={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M911.9 283.9v.5L835.5 865c-1 8-7.9 14-15.9 14H204.5c-8.1 0-14.9-6.1-16-14l-76.4-580.6v-.6 1.6L188.5 866c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.1-.5.1-1 0-1.5z`,fill:t}},{tag:`path`,attrs:{d:`M773.6 810.6l53.9-409.4-139.8 86.1L512 252.9 336.3 487.3l-139.8-86.1 53.8 409.4h523.3zm-374.2-189c0-62.1 50.5-112.6 112.6-112.6s112.6 50.5 112.6 112.6v1c0 62.1-50.5 112.6-112.6 112.6s-112.6-50.5-112.6-112.6v-1z`,fill:t}},{tag:`path`,attrs:{d:`M512 734.2c61.9 0 112.3-50.2 112.6-112.1v-.5c0-62.1-50.5-112.6-112.6-112.6s-112.6 50.5-112.6 112.6v.5c.3 61.9 50.7 112.1 112.6 112.1zm0-160.9c26.6 0 48.2 21.6 48.2 48.3 0 26.6-21.6 48.3-48.2 48.3s-48.2-21.6-48.2-48.3c0-26.6 21.6-48.3 48.2-48.3z`,fill:e}},{tag:`path`,attrs:{d:`M188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6v-.5c.3-6.4-6.7-10.8-12.3-7.4L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.5-3.4-12.6.9-12.2 7.3v.6L188.5 865zm147.8-377.7L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4H250.3l-53.8-409.4 139.8 86.1z`,fill:e}}]}},name:`crown`,theme:`twotone`};function hJ(){return hJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,hJ({},e,{ref:t,icon:fye}))),mye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384z`}}]},name:`customer-service`,theme:`filled`};function gJ(){return gJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gJ({},e,{ref:t,icon:mye}))),gye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384zM328 632v192H200V632h128zm496 192H696V632h128v192z`}}]},name:`customer-service`,theme:`outlined`};function _J(){return _J=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_J({},e,{ref:t,icon:gye}))),vye={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M696 632h128v192H696zm-496 0h128v192H200z`,fill:t}},{tag:`path`,attrs:{d:`M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384zM328 632v192H200V632h128zm496 192H696V632h128v192z`,fill:e}}]}},name:`customer-service`,theme:`twotone`};function vJ(){return vJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,vJ({},e,{ref:t,icon:vye}))),bye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M112 476h160v72H112zm320 0h160v72H432zm320 0h160v72H752z`}}]},name:`dash`,theme:`outlined`};function yJ(){return yJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yJ({},e,{ref:t,icon:bye}))),Sye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM482 232c0-4.4 3.6-8 8-8h44c4.4 0 8 3.6 8 8v80c0 4.4-3.6 8-8 8h-44c-4.4 0-8-3.6-8-8v-80zM270 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44zm90.7-204.5l-31.1 31.1a8.03 8.03 0 01-11.3 0L261.7 352a8.03 8.03 0 010-11.3l31.1-31.1c3.1-3.1 8.2-3.1 11.3 0l56.6 56.6c3.1 3.1 3.1 8.2 0 11.3zm291.1 83.6l-84.5 84.5c5 18.7.2 39.4-14.5 54.1a55.95 55.95 0 01-79.2 0 55.95 55.95 0 010-79.2 55.87 55.87 0 0154.1-14.5l84.5-84.5c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3c3.1 3.1 3.1 8.1 0 11.3zm43-52.4l-31.1-31.1a8.03 8.03 0 010-11.3l56.6-56.6c3.1-3.1 8.2-3.1 11.3 0l31.1 31.1c3.1 3.1 3.1 8.2 0 11.3l-56.6 56.6a8.03 8.03 0 01-11.3 0zM846 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44z`}}]},name:`dashboard`,theme:`filled`};function bJ(){return bJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,bJ({},e,{ref:t,icon:Sye}))),wye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276zM623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z`}}]},name:`dashboard`,theme:`outlined`};function xJ(){return xJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,xJ({},e,{ref:t,icon:wye}))),Tye={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 188c-99.3 0-192.7 38.7-263 109-70.3 70.2-109 163.6-109 263 0 105.6 44.5 205.5 122.6 276h498.8A371.12 371.12 0 00884 560c0-99.3-38.7-192.7-109-263-70.2-70.3-163.6-109-263-109zm-30 44c0-4.4 3.6-8 8-8h44c4.4 0 8 3.6 8 8v80c0 4.4-3.6 8-8 8h-44c-4.4 0-8-3.6-8-8v-80zM270 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44zm90.7-204.4l-31.1 31.1a8.03 8.03 0 01-11.3 0l-56.6-56.6a8.03 8.03 0 010-11.3l31.1-31.1c3.1-3.1 8.2-3.1 11.3 0l56.6 56.6c3.1 3.1 3.1 8.2 0 11.3zm291.1 83.5l-84.5 84.5c5 18.7.2 39.4-14.5 54.1a55.95 55.95 0 01-79.2 0 55.95 55.95 0 010-79.2 55.87 55.87 0 0154.1-14.5l84.5-84.5c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3c3.1 3.1 3.1 8.2 0 11.3zm43-52.4l-31.1-31.1a8.03 8.03 0 010-11.3l56.6-56.6c3.1-3.1 8.2-3.1 11.3 0l31.1 31.1c3.1 3.1 3.1 8.2 0 11.3l-56.6 56.6a8.03 8.03 0 01-11.3 0zM846 538v44c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8z`,fill:t}},{tag:`path`,attrs:{d:`M623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8z`,fill:e}},{tag:`path`,attrs:{d:`M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276z`,fill:e}},{tag:`path`,attrs:{d:`M762.7 340.8l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zM750 538v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zM304.1 309.7a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`dashboard`,theme:`twotone`};function CJ(){return CJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,CJ({},e,{ref:t,icon:Tye}))),Dye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v224h704V96c0-17.7-14.3-32-32-32zM288 232c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zM160 928c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V704H160v224zm128-136c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM160 640h704V384H160v256zm128-168c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z`}}]},name:`database`,theme:`filled`};function wJ(){return wJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,wJ({},e,{ref:t,icon:Dye}))),kye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`database`,theme:`outlined`};function TJ(){return TJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TJ({},e,{ref:t,icon:kye}))),Aye={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M232 616h560V408H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 888h560V680H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 344h560V136H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z`,fill:t}},{tag:`path`,attrs:{d:`M304 512a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0-544a40 40 0 1080 0 40 40 0 10-80 0z`,fill:e}},{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z`,fill:e}}]}},name:`database`,theme:`twotone`};function DJ(){return DJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,DJ({},e,{ref:t,icon:Aye}))),Mye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M651.1 641.9a7.84 7.84 0 00-5.1-1.9h-54.7c-2.4 0-4.6 1.1-6.1 2.9L512 730.7l-73.1-87.8a8.1 8.1 0 00-6.1-2.9H378c-1.9 0-3.7.7-5.1 1.9a7.97 7.97 0 00-1 11.3L474.2 776 371.8 898.9a8.06 8.06 0 006.1 13.2h54.7c2.4 0 4.6-1.1 6.1-2.9l73.1-87.8 73.1 87.8a8.1 8.1 0 006.1 2.9h55c1.9 0 3.7-.7 5.1-1.9 3.4-2.8 3.9-7.9 1-11.3L549.8 776l102.4-122.9c2.8-3.4 2.3-8.4-1.1-11.2zM472 544h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8zM350 386H184V136c0-3.3-2.7-6-6-6h-60c-3.3 0-6 2.7-6 6v292c0 16.6 13.4 30 30 30h208c3.3 0 6-2.7 6-6v-60c0-3.3-2.7-6-6-6zm556-256h-60c-3.3 0-6 2.7-6 6v250H674c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6h208c16.6 0 30-13.4 30-30V136c0-3.3-2.7-6-6-6z`}}]},name:`delete-column`,theme:`outlined`};function OJ(){return OJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OJ({},e,{ref:t,icon:Mye}))),Pye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-200 0H360v-72h304v72z`}}]},name:`delete`,theme:`filled`};function kJ(){return kJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,kJ({},e,{ref:t,icon:Pye}))),Iye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M819.8 512l102.4-122.9a8.06 8.06 0 00-6.1-13.2h-54.7c-2.4 0-4.6 1.1-6.1 2.9L782 466.7l-73.1-87.8a8.1 8.1 0 00-6.1-2.9H648c-1.9 0-3.7.7-5.1 1.9a7.97 7.97 0 00-1 11.3L744.2 512 641.8 634.9a8.06 8.06 0 006.1 13.2h54.7c2.4 0 4.6-1.1 6.1-2.9l73.1-87.8 73.1 87.8a8.1 8.1 0 006.1 2.9h55c1.9 0 3.7-.7 5.1-1.9 3.4-2.8 3.9-7.9 1-11.3L819.8 512zM536 464H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h416c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-84 204h-60c-3.3 0-6 2.7-6 6v166H136c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6h292c16.6 0 30-13.4 30-30V674c0-3.3-2.7-6-6-6zM136 184h250v166c0 3.3 2.7 6 6 6h60c3.3 0 6-2.7 6-6V142c0-16.6-13.4-30-30-30H136c-3.3 0-6 2.7-6 6v60c0 3.3 2.7 6 6 6z`}}]},name:`delete-row`,theme:`outlined`};function AJ(){return AJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,AJ({},e,{ref:t,icon:Iye}))),Rye={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M292.7 840h438.6l24.2-512h-487z`,fill:t}},{tag:`path`,attrs:{d:`M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z`,fill:e}}]}},name:`delete`,theme:`twotone`};function jJ(){return jJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jJ({},e,{ref:t,icon:Rye}))),Bye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z`}}]},name:`delivered-procedure`,theme:`outlined`};function MJ(){return MJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,MJ({},e,{ref:t,icon:Bye}))),Hye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z`}}]},name:`deployment-unit`,theme:`outlined`};function NJ(){return NJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,NJ({},e,{ref:t,icon:Hye}))),Wye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z`}}]},name:`desktop`,theme:`outlined`};function PJ(){return PJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PJ({},e,{ref:t,icon:Wye}))),Kye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.2 306.6L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23zM553.4 201.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM568 753c0 3.8-3.4 7-7.5 7h-225c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7h225c4.1 0 7.5 3.2 7.5 7v42zm0-220c0 3.8-3.4 7-7.5 7H476v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V540h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H420v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1V484h84.5c4.1 0 7.5 3.1 7.5 7v42z`}}]},name:`diff`,theme:`filled`};function FJ(){return FJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,FJ({},e,{ref:t,icon:Kye}))),Jye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M476 399.1c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1V484h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H420v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V540h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H476v-84.9zM560.5 704h-225c-4.1 0-7.5 3.2-7.5 7v42c0 3.8 3.4 7 7.5 7h225c4.1 0 7.5-3.2 7.5-7v-42c0-3.8-3.4-7-7.5-7zm-7.1-502.6c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM664 888H232V264h282.2L664 413.8V888zm190.2-581.4L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23z`}}]},name:`diff`,theme:`outlined`};function IJ(){return IJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,IJ({},e,{ref:t,icon:Jye}))),Xye={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M232 264v624h432V413.8L514.2 264H232zm336 489c0 3.8-3.4 7-7.5 7h-225c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7h225c4.1 0 7.5 3.2 7.5 7v42zm0-262v42c0 3.8-3.4 7-7.5 7H476v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V540h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H420v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1V484h84.5c4.1 0 7.5 3.1 7.5 7z`,fill:t}},{tag:`path`,attrs:{d:`M854.2 306.6L611.3 72.9c-6-5.7-13.9-8.9-22.2-8.9H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h277l219 210.6V824c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V329.6c0-8.7-3.5-17-9.8-23z`,fill:e}},{tag:`path`,attrs:{d:`M553.4 201.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v704c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32V397.3c0-8.5-3.4-16.6-9.4-22.6L553.4 201.4zM664 888H232V264h282.2L664 413.8V888z`,fill:e}},{tag:`path`,attrs:{d:`M476 399.1c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1V484h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H420v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V540h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H476v-84.9zM560.5 704h-225c-4.1 0-7.5 3.2-7.5 7v42c0 3.8 3.4 7 7.5 7h225c4.1 0 7.5-3.2 7.5-7v-42c0-3.8-3.4-7-7.5-7z`,fill:e}}]}},name:`diff`,theme:`twotone`};function LJ(){return LJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LJ({},e,{ref:t,icon:Xye}))),Qye={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z`}}]},name:`dingding`,theme:`outlined`};function RJ(){return RJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,RJ({},e,{ref:t,icon:Qye}))),ebe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm227 385.3c-1 4.2-3.5 10.4-7 17.8h.1l-.4.7c-20.3 43.1-73.1 127.7-73.1 127.7s-.1-.2-.3-.5l-15.5 26.8h74.5L575.1 810l32.3-128h-58.6l20.4-84.7c-16.5 3.9-35.9 9.4-59 16.8 0 0-31.2 18.2-89.9-35 0 0-39.6-34.7-16.6-43.4 9.8-3.7 47.4-8.4 77-12.3 40-5.4 64.6-8.2 64.6-8.2S422 517 392.7 512.5c-29.3-4.6-66.4-53.1-74.3-95.8 0 0-12.2-23.4 26.3-12.3 38.5 11.1 197.9 43.2 197.9 43.2s-207.4-63.3-221.2-78.7c-13.8-15.4-40.6-84.2-37.1-126.5 0 0 1.5-10.5 12.4-7.7 0 0 153.3 69.7 258.1 107.9 104.8 37.9 195.9 57.3 184.2 106.7z`}}]},name:`dingtalk-circle`,theme:`filled`};function zJ(){return zJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,zJ({},e,{ref:t,icon:ebe}))),nbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z`}}]},name:`dingtalk`,theme:`outlined`};function BJ(){return BJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BJ({},e,{ref:t,icon:nbe}))),ibe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM739 449.3c-1 4.2-3.5 10.4-7 17.8h.1l-.4.7c-20.3 43.1-73.1 127.7-73.1 127.7s-.1-.2-.3-.5l-15.5 26.8h74.5L575.1 810l32.3-128h-58.6l20.4-84.7c-16.5 3.9-35.9 9.4-59 16.8 0 0-31.2 18.2-89.9-35 0 0-39.6-34.7-16.6-43.4 9.8-3.7 47.4-8.4 77-12.3 40-5.4 64.6-8.2 64.6-8.2S422 517 392.7 512.5c-29.3-4.6-66.4-53.1-74.3-95.8 0 0-12.2-23.4 26.3-12.3 38.5 11.1 197.9 43.2 197.9 43.2s-207.4-63.3-221.2-78.7c-13.8-15.4-40.6-84.2-37.1-126.5 0 0 1.5-10.5 12.4-7.7 0 0 153.3 69.7 258.1 107.9 104.8 37.9 195.9 57.3 184.2 106.7z`}}]},name:`dingtalk-square`,theme:`filled`};function VJ(){return VJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,VJ({},e,{ref:t,icon:ibe}))),obe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832.6 191.4c-84.6-84.6-221.5-84.6-306 0l-96.9 96.9 51 51 96.9-96.9c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204l-96.9 96.9 51.1 51.1 96.9-96.9c84.4-84.6 84.4-221.5-.1-306.1zM446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l96.9-96.9-51.1-51.1-96.9 96.9c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l96.9-96.9-51-51-96.8 97zM260.3 209.4a8.03 8.03 0 00-11.3 0L209.4 249a8.03 8.03 0 000 11.3l554.4 554.4c3.1 3.1 8.2 3.1 11.3 0l39.6-39.6c3.1-3.1 3.1-8.2 0-11.3L260.3 209.4z`}}]},name:`disconnect`,theme:`outlined`};function HJ(){return HJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,HJ({},e,{ref:t,icon:obe}))),cbe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M811.15 87c51.16 0 92.41 41.36 94.85 90.03V960l-97.4-82.68-53.48-48.67-58.35-50.85 24.37 80.2H210.41c-51 0-92.41-38.74-92.41-90.06V177.21c0-48.67 41.48-90.1 92.6-90.1h600.3zM588.16 294.1h-1.09l-7.34 7.28c75.38 21.8 111.85 55.86 111.85 55.86-48.58-24.28-92.36-36.42-136.14-41.32-31.64-4.91-63.28-2.33-90 0h-7.28c-17.09 0-53.45 7.27-102.18 26.7-16.98 7.39-26.72 12.22-26.72 12.22s36.43-36.42 116.72-55.86l-4.9-4.9s-60.8-2.33-126.44 46.15c0 0-65.64 114.26-65.64 255.13 0 0 36.36 63.24 136.11 65.64 0 0 14.55-19.37 29.27-36.42-56-17-77.82-51.02-77.82-51.02s4.88 2.4 12.19 7.27h2.18c1.09 0 1.6.54 2.18 1.09v.21c.58.59 1.09 1.1 2.18 1.1 12 4.94 24 9.8 33.82 14.53a297.58 297.58 0 0065.45 19.48c33.82 4.9 72.59 7.27 116.73 0 21.82-4.9 43.64-9.7 65.46-19.44 14.18-7.27 31.63-14.54 50.8-26.79 0 0-21.82 34.02-80.19 51.03 12 16.94 28.91 36.34 28.91 36.34 99.79-2.18 138.55-65.42 140.73-62.73 0-140.65-66-255.13-66-255.13-59.45-44.12-115.09-45.8-124.91-45.8l2.04-.72zM595 454c25.46 0 46 21.76 46 48.41 0 26.83-20.65 48.59-46 48.59s-46-21.76-46-48.37c.07-26.84 20.75-48.52 46-48.52zm-165.85 0c25.35 0 45.85 21.76 45.85 48.41 0 26.83-20.65 48.59-46 48.59s-46-21.76-46-48.37c0-26.84 20.65-48.52 46-48.52z`}}]},name:`discord`,theme:`filled`};function UJ(){return UJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UJ({},e,{ref:t,icon:cbe}))),ube={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M405 158l-25 3s-112.13 12.26-194.02 78.02h-.96l-1.02.96c-18.37 16.9-26.37 37.67-39 68.04a982.08 982.08 0 00-38 112C83.27 505.87 64 609.87 64 705v8l4 8c29.63 52 82.24 85.12 131 108 48.74 22.88 90.89 35 120 36l19.02.99 9.98-17 35-62c37.13 8.38 79.88 14 129 14 49.12 0 91.87-5.62 129-14l35 62 10.02 17 18.97-1c29.12-.98 71.27-13.11 120-36 48.77-22.87 101.38-56 131.01-108l4-8v-8c0-95.13-19.26-199.13-43-284.98a982.08 982.08 0 00-38-112c-12.63-30.4-20.63-51.14-39-68l-1-1.03h-1.02C756.16 173.26 644 161.01 644 161.01L619 158l-9.02 23s-9.24 23.37-14.97 50.02a643.04 643.04 0 00-83.01-6.01c-17.12 0-46.72 1.12-83 6.01a359.85 359.85 0 00-15.02-50.01zm-44 73.02c1.37 4.48 2.74 8.36 4 12-41.38 10.24-85.51 25.86-126 50.98l34 54.02C356 296.5 475.22 289 512 289c36.74 0 156 7.49 239 59L785 294c-40.49-25.12-84.62-40.74-126-51 1.26-3.62 2.63-7.5 4-12 29.86 6 86.89 19.77 134 57.02-.26.12 12 18.62 23 44.99 11.26 27.13 23.74 63.26 35 104 21.64 78.11 38.63 173.25 40 256.99-20.15 30.75-57.5 58.5-97.02 77.02A311.8 311.8 0 01720 795.98l-16-26.97c9.5-3.52 18.88-7.36 27-11.01 49.26-21.63 76-45 76-45l-42-48s-18 16.52-60 35.02C663.03 718.52 598.87 737 512 737s-151-18.5-193-37c-42-18.49-60-35-60-35l-42 48s26.74 23.36 76 44.99a424.47 424.47 0 0027 11l-16 27.02a311.8 311.8 0 01-78.02-25.03c-39.48-18.5-76.86-46.24-96.96-76.99 1.35-83.74 18.34-178.88 40-257A917.22 917.22 0 01204 333c11-26.36 23.26-44.86 23-44.98 47.11-37.25 104.14-51.01 134-57m39 217.99c-24.74 0-46.62 14.11-60 32-13.38 17.89-20 39.87-20 64s6.62 46.11 20 64c13.38 17.89 35.26 32 60 32 24.74 0 46.62-14.11 60-32 13.38-17.89 20-39.87 20-64s-6.62-46.11-20-64c-13.38-17.89-35.26-32-60-32m224 0c-24.74 0-46.62 14.11-60 32-13.38 17.89-20 39.87-20 64s6.62 46.11 20 64c13.38 17.89 35.26 32 60 32 24.74 0 46.62-14.11 60-32 13.38-17.89 20-39.87 20-64s-6.62-46.11-20-64c-13.38-17.89-35.26-32-60-32m-224 64c1.76 0 4 .64 8 6.01 4 5.35 8 14.72 8 25.99 0 11.26-4 20.64-8 26.01-4 5.35-6.24 5.99-8 5.99-1.76 0-4-.64-8-6.02a44.83 44.83 0 01-8-25.98c0-11.27 4-20.64 8-26.02 4-5.34 6.24-5.98 8-5.98m224 0c1.76 0 4 .64 8 6.01 4 5.35 8 14.72 8 25.99 0 11.26-4 20.64-8 26.01-4 5.35-6.24 5.99-8 5.99-1.76 0-4-.64-8-6.02a44.83 44.83 0 01-8-25.98c0-11.27 4-20.64 8-26.02 4-5.34 6.24-5.98 8-5.98`}}]},name:`discord`,theme:`outlined`};function WJ(){return WJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,WJ({},e,{ref:t,icon:ube}))),fbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H273v428h.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM112 132v364c0 17.7 14.3 32 32 32h65V100h-65c-17.7 0-32 14.3-32 32z`}}]},name:`dislike`,theme:`filled`};function GJ(){return GJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,GJ({},e,{ref:t,icon:fbe}))),mbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z`}}]},name:`dislike`,theme:`outlined`};function KJ(){return KJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KJ({},e,{ref:t,icon:mbe}))),gbe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M273 100.1v428h.3l-.3-428zM820.4 525l-21.9-19 14-25.5a56.2 56.2 0 006.9-27.3c0-16.5-7.1-32.2-19.6-43l-21.9-19 13.9-25.4a56.2 56.2 0 006.9-27.3c0-16.5-7.1-32.2-19.6-43l-21.9-19 13.9-25.4a56.2 56.2 0 006.9-27.3c0-22.4-13.2-42.6-33.6-51.8H345v345.2c18.6 67.2 46.4 168 83.5 302.5a44.28 44.28 0 0042.2 32.3c7.5.1 15-2.2 21.1-6.7 9.9-7.4 15.2-18.6 14.6-30.5l-9.6-198.4h314.4C829 605.5 840 587.1 840 568c0-16.5-7.1-32.2-19.6-43z`,fill:t}},{tag:`path`,attrs:{d:`M112 132v364c0 17.7 14.3 32 32 32h65V100h-65c-17.7 0-32 14.3-32 32zm773.9 358.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H273l.3 428 85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zm-74.7 126.1H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3c-37.1-134.4-64.9-235.2-83.5-302.5V172h399.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z`,fill:e}}]}},name:`dislike`,theme:`twotone`};function qJ(){return qJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,qJ({},e,{ref:t,icon:gbe}))),vbe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M555.88 488.24h-92.62v-82.79h92.62zm0-286.24h-92.62v85.59h92.62zm109.45 203.45H572.7v82.79h92.62zm-218.9-101.02h-92.61v84.18h92.6zm109.45 0h-92.61v84.18h92.6zm388.69 140.3c-19.65-14.02-67.36-18.23-102.44-11.22-4.2-33.67-23.85-63.14-57.53-89.8l-19.65-12.62-12.62 19.64c-25.26 39.29-32.28 103.83-5.62 145.92-12.63 7.02-36.48 15.44-67.35 15.44H67.56c-12.63 71.56 8.42 164.16 61.74 227.3C181.22 801.13 259.8 832 360.83 832c220.3 0 384.48-101.02 460.25-286.24 29.47 0 95.42 0 127.7-63.14 1.4-2.8 9.82-18.24 11.22-23.85zm-717.04-39.28h-92.61v82.79h92.6zm109.45 0h-92.61v82.79h92.6zm109.45 0h-92.61v82.79h92.6zM336.98 304.43h-92.61v84.19h92.6z`}}]},name:`docker`,theme:`outlined`};function JJ(){return JJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,JJ({},e,{ref:t,icon:vbe}))),bbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm22.3 665.2l.2 31.7c0 4.4-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4C401.3 723 359.5 672.4 355 617.4c-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.7 29.8 55.4 74.1 61.3V533.9l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-72.9 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.9 46.9 125.9 109.2.5 4.7-3.2 8.8-8 8.8h-44.9c-4 0-7.4-3-7.9-6.9-4-29.2-27.4-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 108.9 116.4 0 75.3-56 117.3-134.3 124.1zM426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-36.9 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.8-.6-5.6-1.3-8.8-2.2V677c42.6-3.8 72-27.2 72-66.4 0-30.7-15.9-50.7-63.2-65.1z`}}]},name:`dollar-circle`,theme:`filled`};function YJ(){return YJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YJ({},e,{ref:t,icon:bbe}))),Sbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm47.7-395.2l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z`}}]},name:`dollar-circle`,theme:`outlined`};function XJ(){return XJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,XJ({},e,{ref:t,icon:Sbe}))),wbe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-37 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.9-.6-5.7-1.3-8.8-2.2V677c42.6-3.8 72-27.3 72-66.4 0-30.7-15.9-50.7-63.2-65.1z`,fill:t}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm22.4 589.2l.2 31.7c0 4.5-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4c-89-6.5-130.7-57.1-135.2-112.1-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.8 29.9 55.4 74.1 61.3V534l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-73 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.8 46.9 125.9 109.2a8.1 8.1 0 01-8 8.8h-44.9c-4 0-7.4-2.9-7.9-6.9-4-29.2-27.5-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 109 116.4 0 75.2-56 117.1-134.3 124z`,fill:t}},{tag:`path`,attrs:{d:`M559.7 488.8l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z`,fill:e}}]}},name:`dollar-circle`,theme:`twotone`};function ZJ(){return ZJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,ZJ({},e,{ref:t,icon:wbe}))),Ebe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm47.7-395.2l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z`}}]},name:`dollar`,theme:`outlined`};function QJ(){return QJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QJ({},e,{ref:t,icon:Ebe}))),Dbe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M426.6 410.3c0 25.4 15.7 45.1 49.5 57.3 4.7 1.9 9.4 3.4 15 5v-124c-37 4.7-64.5 25.4-64.5 61.7zm116.5 135.2c-2.9-.6-5.7-1.3-8.8-2.2V677c42.6-3.8 72-27.3 72-66.4 0-30.7-15.9-50.7-63.2-65.1z`,fill:t}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm22.4 589.2l.2 31.7c0 4.5-3.6 8.1-8 8.1h-28.4c-4.4 0-8-3.6-8-8v-31.4c-89-6.5-130.7-57.1-135.2-112.1-.4-4.7 3.3-8.7 8-8.7h46.2c3.9 0 7.3 2.8 7.9 6.6 5.1 31.8 29.9 55.4 74.1 61.3V534l-24.7-6.3c-52.3-12.5-102.1-45.1-102.1-112.7 0-73 55.4-112.1 126.2-119v-33c0-4.4 3.6-8 8-8h28.1c4.4 0 8 3.6 8 8v32.7c68.5 6.9 119.8 46.9 125.9 109.2a8.1 8.1 0 01-8 8.8h-44.9c-4 0-7.4-2.9-7.9-6.9-4-29.2-27.5-53-65.5-58.2v134.3l25.4 5.9c64.8 16 108.9 47 109 116.4 0 75.2-56 117.1-134.3 124z`,fill:t}},{tag:`path`,attrs:{d:`M559.7 488.8l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z`,fill:e}}]}},name:`dollar`,theme:`twotone`};function eY(){return eY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,eY({},e,{ref:t,icon:Dbe}))),kbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`dot-chart`,theme:`outlined`};function tY(){return tY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tY({},e,{ref:t,icon:kbe}))),jbe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`g`,attrs:{"fill-opacity":`.88`},children:[{tag:`path`,attrs:{d:`M101.28 662c-10.65 0-19.53-3.3-26.63-9.89-7.1-6.6-10.65-14.7-10.65-24.32 0-9.89 3.65-18 10.96-24.31 7.3-6.32 16.42-9.48 27.35-9.48 11.06 0 20.1 3.2 27.14 9.58 7.03 6.39 10.55 14.46 10.55 24.21 0 10.03-3.58 18.24-10.76 24.63-7.17 6.39-16.49 9.58-27.96 9.58M458 657h-66.97l-121.4-185.35c-7.13-10.84-12.06-19-14.8-24.48h-.82c1.1 10.42 1.65 26.33 1.65 47.72V657H193V362h71.49l116.89 179.6a423.23 423.23 0 0114.79 24.06h.82c-1.1-6.86-1.64-20.37-1.64-40.53V362H458zM702 657H525V362h170.2v54.1H591.49v65.63H688v53.9h-96.52v67.47H702zM960 416.1h-83.95V657h-66.5V416.1H726V362h234z`}}]}]},name:`dot-net`,theme:`outlined`};function nY(){return nY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,nY({},e,{ref:t,icon:jbe}))),Nbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm184.5 353.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7H381c10.2 0 19.9 4.9 25.9 13.2L512 563.6l105.2-145.4c6-8.3 15.6-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.5 12.7z`}}]},name:`down-circle`,theme:`filled`};function rY(){return rY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,rY({},e,{ref:t,icon:Nbe}))),Fbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`down-circle`,theme:`outlined`};function iY(){return iY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iY({},e,{ref:t,icon:Fbe}))),Lbe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm184.4 277.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.3 0 19.9 4.9 25.9 13.2L512 563.6l105.2-145.4c6-8.3 15.7-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.4 12.7z`,fill:t}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z`,fill:e}}]}},name:`down-circle`,theme:`twotone`};function aY(){return aY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,aY({},e,{ref:t,icon:Lbe}))),zbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM696.5 412.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7H381c10.2 0 19.9 4.9 25.9 13.2L512 558.6l105.2-145.4c6-8.3 15.6-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.5 12.7z`}}]},name:`down-square`,theme:`filled`};function oY(){return oY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,oY({},e,{ref:t,icon:zbe}))),Vbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M505.5 658.7c3.2 4.4 9.7 4.4 12.9 0l178-246c3.8-5.3 0-12.7-6.5-12.7H643c-10.2 0-19.9 4.9-25.9 13.2L512 558.6 406.8 413.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`down-square`,theme:`outlined`};function sY(){return sY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sY({},e,{ref:t,icon:Vbe}))),Ube={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm150-440h46.9c10.3 0 19.9 4.9 25.9 13.2L512 558.6l105.2-145.4c6-8.3 15.7-13.2 25.9-13.2H690c6.5 0 10.3 7.4 6.4 12.7l-178 246a7.95 7.95 0 01-12.9 0l-178-246c-3.8-5.3 0-12.7 6.5-12.7z`,fill:t}},{tag:`path`,attrs:{d:`M505.5 658.7c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 558.6 406.8 413.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246z`,fill:e}}]}},name:`down-square`,theme:`twotone`};function cY(){return cY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,cY({},e,{ref:t,icon:Ube}))),Gbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z`}}]},name:`drag`,theme:`outlined`};function lY(){return lY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,lY({},e,{ref:t,icon:Gbe}))),qbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M675.1 328.3a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6zm47.7-11.9c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 736c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm53.1-346.2c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm30.6 82.5c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4z`}}]},name:`dribbble-circle`,theme:`filled`};function uY(){return uY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uY({},e,{ref:t,icon:qbe}))),Ybe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 96C282.6 96 96 282.6 96 512s186.6 416 416 416 416-186.6 416-416S741.4 96 512 96zm275.1 191.8c49.5 60.5 79.5 137.5 80.2 221.4-11.7-2.5-129.2-26.3-247.4-11.4-2.5-6.1-5-12.2-7.6-18.3-7.4-17.3-15.3-34.6-23.6-51.5C720 374.3 779.6 298 787.1 287.8zM512 157.2c90.3 0 172.8 33.9 235.5 89.5-6.4 9.1-59.9 81-186.2 128.4-58.2-107-122.7-194.8-132.6-208 27.3-6.6 55.2-9.9 83.3-9.9zM360.9 191c9.4 12.8 72.9 100.9 131.7 205.5C326.4 440.6 180 440 164.1 439.8c23.1-110.3 97.4-201.9 196.8-248.8zM156.7 512.5c0-3.6.1-7.3.2-10.9 15.5.3 187.7 2.5 365.2-50.6 10.2 19.9 19.9 40.1 28.8 60.3-4.7 1.3-9.4 2.7-14 4.2C353.6 574.9 256.1 736.4 248 750.1c-56.7-63-91.3-146.3-91.3-237.6zM512 867.8c-82.2 0-157.9-28-218.1-75 6.4-13.1 78.3-152 278.7-221.9l2.3-.8c49.9 129.6 70.5 238.3 75.8 269.5A350.46 350.46 0 01512 867.8zm198.5-60.7c-3.6-21.6-22.5-125.6-69-253.3C752.9 536 850.7 565.2 862.8 569c-15.8 98.8-72.5 184.2-152.3 238.1z`}}]},name:`dribbble`,theme:`outlined`};function dY(){return dY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,dY({},e,{ref:t,icon:Ybe}))),Zbe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm66.5 21.8c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM512 800c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm89.7-259.1c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zm-72.5-26.4c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4zm145.9-186.2a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6z`}}]},name:`dribbble-square`,theme:`filled`};function fY(){return fY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,fY({},e,{ref:t,icon:Zbe}))),$be={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M498.6 432c-40.8-72.5-84.7-133.4-91.2-142.3-68.8 32.5-120.3 95.9-136.2 172.2 11 .2 112.4.7 227.4-29.9zm66.5 21.8c5.7 11.7 11.2 23.6 16.3 35.6 1.8 4.2 3.6 8.4 5.3 12.7 81.8-10.3 163.2 6.2 171.3 7.9-.5-58.1-21.3-111.4-55.5-153.3-5.3 7.1-46.5 60-137.4 97.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM512 800c-158.8 0-288-129.2-288-288s129.2-288 288-288 288 129.2 288 288-129.2 288-288 288zm89.7-259.1c32.2 88.4 45.3 160.4 47.8 175.4 55.2-37.3 94.5-96.4 105.4-164.9-8.4-2.6-76.1-22.8-153.2-10.5zm-72.5-26.4c3.2-1 6.4-2 9.7-2.9-6.2-14-12.9-28-19.9-41.7-122.8 36.8-242.1 35.2-252.8 35-.1 2.5-.1 5-.1 7.5 0 63.2 23.9 120.9 63.2 164.5 5.5-9.6 73-121.4 199.9-162.4zm145.9-186.2a245.2 245.2 0 00-220.8-55.1c6.8 9.1 51.5 69.9 91.8 144 87.5-32.8 124.5-82.6 129-88.9zM554 552.8c-138.7 48.3-188.6 144.6-193 153.6 41.7 32.5 94.1 51.9 151 51.9 34.1 0 66.6-6.9 96.1-19.5-3.7-21.6-17.9-96.8-52.5-186.6l-1.6.6z`}}]},name:`dribbble-square`,theme:`outlined`};function pY(){return pY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pY({},e,{ref:t,icon:$be}))),txe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M663.8 455.5zm-151.5-93.8l-151.8 93.8 151.8 93.9 151.5-93.9zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm151.2 595.5L512.6 750l-151-90.5v-33.1l45.4 29.4 105.6-87.7 105.6 87.7 45.1-29.4v33.1zm-45.6-22.4l-105.3-87.7L407 637.1l-151-99.2 104.5-82.4L256 371.2 407 274l105.3 87.7L617.6 274 768 372.1l-104.2 83.5L768 539l-150.4 98.1z`}}]},name:`dropbox-circle`,theme:`filled`};function mY(){return mY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,mY({},e,{ref:t,icon:txe}))),rxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M64 556.9l264.2 173.5L512.5 577 246.8 412.7zm896-290.3zm0 0L696.8 95 512.5 248.5l265.2 164.2L512.5 577l184.3 153.4L960 558.8 777.7 412.7zM513 609.8L328.2 763.3l-79.4-51.5v57.8L513 928l263.7-158.4v-57.8l-78.9 51.5zM328.2 95L64 265.1l182.8 147.6 265.7-164.2zM64 556.9z`}}]},name:`dropbox`,theme:`outlined`};function hY(){return hY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,hY({},e,{ref:t,icon:rxe}))),axe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM663.2 659.5L512.6 750l-151-90.5v-33.1l45.4 29.4 105.6-87.7 105.6 87.7 45.1-29.4v33.1zm-45.6-22.4l-105.3-87.7L407 637.1l-151-99.2 104.5-82.4L256 371.2 407 274l105.3 87.7L617.6 274 768 372.1l-104.2 83.5L768 539l-150.4 98.1zM512.3 361.7l-151.8 93.8 151.8 93.9 151.5-93.9zm151.5 93.8z`}}]},name:`dropbox-square`,theme:`filled`};function gY(){return gY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gY({},e,{ref:t,icon:axe}))),sxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z`}}]},name:`edit`,theme:`filled`};function _Y(){return _Y=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_Y({},e,{ref:t,icon:sxe}))),lxe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M761.1 288.3L687.8 215 325.1 577.6l-15.6 89 88.9-15.7z`,fill:t}},{tag:`path`,attrs:{d:`M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89z`,fill:e}}]}},name:`edit`,theme:`twotone`};function vY(){return vY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,vY({},e,{ref:t,icon:lxe}))),dxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 327c-29.9 0-58 11.6-79.2 32.8A111.6 111.6 0 00400 439c0 29.9 11.7 58 32.8 79.2A111.6 111.6 0 00512 551c29.9 0 58-11.7 79.2-32.8C612.4 497 624 468.9 624 439c0-29.9-11.6-58-32.8-79.2S541.9 327 512 327zm342.6-37.9a362.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 615c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z`}}]},name:`environment`,theme:`filled`};function yY(){return yY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yY({},e,{ref:t,icon:dxe}))),pxe={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`};function bY(){return bY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,bY({},e,{ref:t,icon:pxe}))),hxe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M724.4 224.9C667.7 169.5 592.3 139 512 139s-155.7 30.5-212.4 85.8C243.1 280 212 353.2 212 431.1c0 241.3 234.1 407.2 300 449.1 65.9-41.9 300-207.8 300-449.1 0-77.9-31.1-151.1-87.6-206.2zM512 615c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z`,fill:t}},{tag:`path`,attrs:{d:`M512 263c-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.8S624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z`,fill:e}},{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.1z`,fill:e}}]}},name:`environment`,theme:`twotone`};function xY(){return xY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,xY({},e,{ref:t,icon:hxe}))),_xe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm63.5 375.8c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8h-136c-.3 4.4-.3 9.1-.3 13.8v36h136.2c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H444.9c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.2 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.3 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H344c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.8.3-12.8H344c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.7c19.7-94.2 92-149.9 198.6-149.9 20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346h.1c0 5.1-4.6 8.8-9.6 7.8-14.7-2.9-31.8-4.4-51.7-4.4-65.4 0-110.4 33.5-127.6 90.4h128.4z`}}]},name:`euro-circle`,theme:`filled`};function SY(){return SY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SY({},e,{ref:t,icon:_xe}))),yxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm117.7-588.6c-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H344c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H344c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H439.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H447.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8z`}}]},name:`euro-circle`,theme:`outlined`};function CY(){return CY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,CY({},e,{ref:t,icon:yxe}))),xxe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm117.1 581.1c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.4 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.7.3-12.8H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.8C388.5 345.7 460.7 290 567.4 290c20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346a8 8 0 01-9.6 7.8c-14.6-2.9-31.8-4.4-51.7-4.4-65.3 0-110.4 33.5-127.6 90.4h128.3c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8H432.5c-.3 4.4-.3 9.1-.3 13.8v36h136.4c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H438c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.3 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8z`,fill:t}},{tag:`path`,attrs:{d:`M619.6 670.5c-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H432.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H440.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H337c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H337c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8z`,fill:e}}]}},name:`euro-circle`,theme:`twotone`};function wY(){return wY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,wY({},e,{ref:t,icon:xxe}))),Cxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm117.7-588.6c-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H344c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H344c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H439.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H447.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8z`}}]},name:`euro`,theme:`outlined`};function TY(){return TY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TY({},e,{ref:t,icon:Cxe}))),Txe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm117.1 581.1c0 3.8-2.7 7-6.4 7.8-15.9 3.4-34.4 5.1-55.3 5.1-109.8 0-183-58.8-200.2-158H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h26.1v-36.9c0-4.4 0-8.7.3-12.8H337c-4.4 0-8-3.6-8-8v-27.2c0-4.4 3.6-8 8-8h31.8C388.5 345.7 460.7 290 567.4 290c20.9 0 39.4 1.9 55.3 5.4 3.7.8 6.3 4 6.3 7.8V346a8 8 0 01-9.6 7.8c-14.6-2.9-31.8-4.4-51.7-4.4-65.3 0-110.4 33.5-127.6 90.4h128.3c4.4 0 8 3.6 8 8V475c0 4.4-3.6 8-8 8H432.5c-.3 4.4-.3 9.1-.3 13.8v36h136.4c4.4 0 8 3.6 8 8V568c0 4.4-3.6 8-8 8H438c15.3 62 61.3 98.6 129.8 98.6 19.9 0 37.1-1.3 51.8-4.1 4.9-1 9.5 2.8 9.5 7.8v42.8z`,fill:t}},{tag:`path`,attrs:{d:`M619.6 670.5c-14.7 2.8-31.9 4.1-51.8 4.1-68.5 0-114.5-36.6-129.8-98.6h130.6c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H432.2v-36c0-4.7 0-9.4.3-13.8h135.9c4.4 0 8-3.6 8-8v-27.2c0-4.4-3.6-8-8-8H440.1c17.2-56.9 62.3-90.4 127.6-90.4 19.9 0 37.1 1.5 51.7 4.4a8 8 0 009.6-7.8v-42.8c0-3.8-2.6-7-6.3-7.8-15.9-3.5-34.4-5.4-55.3-5.4-106.7 0-178.9 55.7-198.6 149.9H337c-4.4 0-8 3.6-8 8v27.2c0 4.4 3.6 8 8 8h26.4c-.3 4.1-.3 8.4-.3 12.8v36.9H337c-4.4 0-8 3.6-8 8V568c0 4.4 3.6 8 8 8h30.2c17.2 99.2 90.4 158 200.2 158 20.9 0 39.4-1.7 55.3-5.1 3.7-.8 6.4-4 6.4-7.8v-42.8c0-5-4.6-8.8-9.5-7.8z`,fill:e}}]}},name:`euro`,theme:`twotone`};function EY(){return EY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,EY({},e,{ref:t,icon:Txe}))),Dxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5zM640 812a32 32 0 1064 0 32 32 0 10-64 0zm12-64h40c4.4 0 8-3.6 8-8V628c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v112c0 4.4 3.6 8 8 8zM440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`exception`,theme:`outlined`};function DY(){return DY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,DY({},e,{ref:t,icon:Dxe}))),kxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z`}}]},name:`exclamation-circle`,theme:`outlined`};function OY(){return OY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OY({},e,{ref:t,icon:kxe}))),Axe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-32 156c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`,fill:t}},{tag:`path`,attrs:{d:`M488 576h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8zm-24 112a48 48 0 1096 0 48 48 0 10-96 0z`,fill:e}}]}},name:`exclamation-circle`,theme:`twotone`};function AY(){return AY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,AY({},e,{ref:t,icon:Axe}))),Mxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M448 804a64 64 0 10128 0 64 64 0 10-128 0zm32-168h64c4.4 0 8-3.6 8-8V164c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z`}}]},name:`exclamation`,theme:`outlined`};function jY(){return jY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jY({},e,{ref:t,icon:Mxe}))),Pxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z`}}]},name:`expand-alt`,theme:`outlined`};function MY(){return MY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,MY({},e,{ref:t,icon:Pxe}))),Ixe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M342 88H120c-17.7 0-32 14.3-32 32v224c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V168h174c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zm578 576h-48c-8.8 0-16 7.2-16 16v176H682c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h222c17.7 0 32-14.3 32-32V680c0-8.8-7.2-16-16-16zM342 856H168V680c0-8.8-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16v224c0 17.7 14.3 32 32 32h222c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zM904 88H682c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h174v176c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V120c0-17.7-14.3-32-32-32z`}}]},name:`expand`,theme:`outlined`};function NY(){return NY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,NY({},e,{ref:t,icon:Ixe}))),Rxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M218.9 636.3l42.6 26.6c.1.1.3.2.4.3l12.7 8 .3.3a186.9 186.9 0 0094.1 25.1c44.9 0 87.2-15.7 121-43.8a256.27 256.27 0 01164.9-59.9c52.3 0 102.2 15.7 144.6 44.5l7.9 5-111.6-289V179.8h63.5c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8H264.7c-4.4 0-8 3.6-8 8v51.9c0 4.4 3.6 8 8 8h63.5v173.6L218.9 636.3zm333-203.1c22 0 39.9 17.9 39.9 39.9S573.9 513 551.9 513 512 495.1 512 473.1s17.9-39.9 39.9-39.9zM878 825.1l-29.9-77.4-85.7-53.5-.1.1c-.7-.5-1.5-1-2.2-1.5l-8.1-5-.3-.3c-29-17.5-62.3-26.8-97-26.8-44.9 0-87.2 15.7-121 43.8a256.27 256.27 0 01-164.9 59.9c-53 0-103.5-16.1-146.2-45.6l-28.9-18.1L146 825.1c-2.8 7.4-4.3 15.2-4.3 23 0 35.2 28.6 63.8 63.8 63.8h612.9c7.9 0 15.7-1.5 23-4.3a63.6 63.6 0 0036.6-82.5z`}}]},name:`experiment`,theme:`filled`};function PY(){return PY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PY({},e,{ref:t,icon:Rxe}))),Bxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 472a40 40 0 1080 0 40 40 0 10-80 0zm367 352.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.7-107.8c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1L813.5 844h-603z`}}]},name:`experiment`,theme:`outlined`};function FY(){return FY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,FY({},e,{ref:t,icon:Bxe}))),Vxe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M551.9 513c19.6 0 35.9-14.2 39.3-32.8A40.02 40.02 0 01552 512a40 40 0 01-40-39.4v.5c0 22 17.9 39.9 39.9 39.9zM752 687.8l-.3-.3c-29-17.5-62.3-26.8-97-26.8-44.9 0-87.2 15.7-121 43.8a256.27 256.27 0 01-164.9 59.9c-41.2 0-81-9.8-116.7-28L210.5 844h603l-59.9-155.2-1.6-1z`,fill:t}},{tag:`path`,attrs:{d:`M879 824.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.6-107.6.1-.2c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1l.6 1.6L813.5 844h-603z`,fill:e}},{tag:`path`,attrs:{d:`M552 512c19.3 0 35.4-13.6 39.2-31.8.6-2.7.8-5.4.8-8.2 0-22.1-17.9-40-40-40s-40 17.9-40 40v.6a40 40 0 0040 39.4z`,fill:e}}]}},name:`experiment`,theme:`twotone`};function LY(){return LY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LY({},e,{ref:t,icon:Vxe}))),Uxe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z`}}]},name:`export`,theme:`outlined`};function RY(){return RY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,RY({},e,{ref:t,icon:Uxe}))),Gxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M396 512a112 112 0 10224 0 112 112 0 10-224 0zm546.2-25.8C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM508 688c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z`}}]},name:`eye`,theme:`filled`};function zY(){return zY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,zY({},e,{ref:t,icon:Gxe}))),qxe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M508 624a112 112 0 00112-112c0-3.28-.15-6.53-.43-9.74L498.26 623.57c3.21.28 6.45.43 9.74.43zm370.72-458.44L836 122.88a8 8 0 00-11.31 0L715.37 232.23Q624.91 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.7 119.43 136.55 191.45L112.56 835a8 8 0 000 11.31L155.25 889a8 8 0 0011.31 0l712.16-712.12a8 8 0 000-11.32zM332 512a176 176 0 01258.88-155.28l-48.62 48.62a112.08 112.08 0 00-140.92 140.92l-48.62 48.62A175.09 175.09 0 01332 512z`}},{tag:`path`,attrs:{d:`M942.2 486.2Q889.4 375 816.51 304.85L672.37 449A176.08 176.08 0 01445 676.37L322.74 798.63Q407.82 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5z`}}]},name:`eye-invisible`,theme:`filled`};function BY(){return BY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BY({},e,{ref:t,icon:qxe}))),Yxe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M254.89 758.85l125.57-125.57a176 176 0 01248.82-248.82L757 256.72Q651.69 186.07 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q69.27 145.91 173.09 221.05zM942.2 486.2Q889.46 375.11 816.7 305L672.48 449.27a176.09 176.09 0 01-227.22 227.21L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5z`,fill:t}},{tag:`path`,attrs:{d:`M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zM878.63 165.56L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z`,fill:e}},{tag:`path`,attrs:{d:`M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z`,fill:e}}]}},name:`eye-invisible`,theme:`twotone`};function VY(){return VY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,VY({},e,{ref:t,icon:Yxe}))),Zxe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M81.8 537.8a60.3 60.3 0 010-51.5C176.6 286.5 319.8 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c-192.1 0-335.4-100.5-430.2-300.2z`,fill:t}},{tag:`path`,attrs:{d:`M512 258c-161.3 0-279.4 81.8-362.7 254C232.6 684.2 350.7 766 512 766c161.4 0 279.5-81.8 362.7-254C791.4 339.8 673.3 258 512 258zm-4 430c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z`,fill:t}},{tag:`path`,attrs:{d:`M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258s279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766z`,fill:e}},{tag:`path`,attrs:{d:`M508 336c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z`,fill:e}}]}},name:`eye`,theme:`twotone`};function HY(){return HY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,HY({},e,{ref:t,icon:Zxe}))),$xe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-92.4 233.5h-63.9c-50.1 0-59.8 23.8-59.8 58.8v77.1h119.6l-15.6 120.7h-104V912H539.2V602.2H434.9V481.4h104.3v-89c0-103.3 63.1-159.6 155.3-159.6 44.2 0 82.1 3.3 93.2 4.8v107.9z`}}]},name:`facebook`,theme:`filled`};function UY(){return UY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UY({},e,{ref:t,icon:$xe}))),tSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-32 736H663.9V602.2h104l15.6-120.7H663.9v-77.1c0-35 9.7-58.8 59.8-58.8h63.9v-108c-11.1-1.5-49-4.8-93.2-4.8-92.2 0-155.3 56.3-155.3 159.6v89H434.9v120.7h104.3V848H176V176h672v672z`}}]},name:`facebook`,theme:`outlined`};function WY(){return WY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,WY({},e,{ref:t,icon:tSe}))),rSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M925.9 804l-24-199.2c-.8-6.6-8.9-9.4-13.6-4.7L829 659.5 557.7 388.3c-6.3-6.2-16.4-6.2-22.6 0L433.3 490 156.6 213.3a8.03 8.03 0 00-11.3 0l-45 45.2a8.03 8.03 0 000 11.3L422 591.7c6.2 6.3 16.4 6.3 22.6 0L546.4 490l226.1 226-59.3 59.3a8.01 8.01 0 004.7 13.6l199.2 24c5.1.7 9.5-3.7 8.8-8.9z`}}]},name:`fall`,theme:`outlined`};function GY(){return GY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,GY({},e,{ref:t,icon:rSe}))),aSe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M517.6 273.5L230.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm320 0L550.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm-620-25.5h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z`}}]},name:`fast-backward`,theme:`filled`};function KY(){return KY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KY({},e,{ref:t,icon:aSe}))),sSe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M517.6 273.5L230.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm320 0L550.2 499.3a16.14 16.14 0 000 25.4l287.4 225.8c10.7 8.4 26.4.8 26.4-12.7V286.2c0-13.5-15.7-21.1-26.4-12.7zm-620-25.5h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z`}}]},name:`fast-backward`,theme:`outlined`};function qY(){return qY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,qY({},e,{ref:t,icon:sSe}))),lSe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M793.8 499.3L506.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.6c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8a16.14 16.14 0 000-25.4zm-320 0L186.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.5c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8c4.1-3.2 6.2-8 6.2-12.7 0-4.6-2.1-9.4-6.2-12.6zM857.6 248h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z`}}]},name:`fast-forward`,theme:`filled`};function JY(){return JY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,JY({},e,{ref:t,icon:lSe}))),dSe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M793.8 499.3L506.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.6c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8a16.14 16.14 0 000-25.4zm-320 0L186.4 273.5c-10.7-8.4-26.4-.8-26.4 12.7v451.5c0 13.5 15.7 21.1 26.4 12.7l287.4-225.8c4.1-3.2 6.2-8 6.2-12.7 0-4.6-2.1-9.4-6.2-12.6zM857.6 248h-51.2c-3.5 0-6.4 2.7-6.4 6v516c0 3.3 2.9 6 6.4 6h51.2c3.5 0 6.4-2.7 6.4-6V254c0-3.3-2.9-6-6.4-6z`}}]},name:`fast-forward`,theme:`outlined`};function YY(){return YY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YY({},e,{ref:t,icon:dSe}))),pSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M600 395.4h91V649h79V267c0-4.4-3.6-8-8-8h-48.2c-3.7 0-7 2.6-7.7 6.3-2.6 12.1-6.9 22.3-12.9 30.9a86.14 86.14 0 01-26.3 24.4c-10.3 6.2-22 10.5-35 12.9-10.4 1.9-21 3-32 3.1a8 8 0 00-7.9 8v42.8c0 4.4 3.6 8 8 8zM871 702H567c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM443.9 312.7c-16.1-19-34.4-32.4-55.2-40.4-21.3-8.2-44.1-12.3-68.4-12.3-23.9 0-46.4 4.1-67.7 12.3-20.8 8-39 21.4-54.8 40.3-15.9 19.1-28.7 44.7-38.3 77-9.6 32.5-14.5 73-14.5 121.5 0 49.9 4.9 91.4 14.5 124.4 9.6 32.8 22.4 58.7 38.3 77.7 15.8 18.9 34 32.3 54.8 40.3 21.3 8.2 43.8 12.3 67.7 12.3 24.4 0 47.2-4.1 68.4-12.3 20.8-8 39.2-21.4 55.2-40.4 16.1-19 29-44.9 38.6-77.7 9.6-33 14.5-74.5 14.5-124.4 0-48.4-4.9-88.9-14.5-121.5-9.5-32.1-22.4-57.7-38.6-76.8zm-29.5 251.7c-1 21.4-4.2 42-9.5 61.9-5.5 20.7-14.5 38.5-27 53.4-13.6 16.3-33.2 24.3-57.6 24.3-24 0-43.2-8.1-56.7-24.4-12.2-14.8-21.1-32.6-26.6-53.3-5.3-19.9-8.5-40.6-9.5-61.9-1-20.8-1.5-38.5-1.5-53.2 0-8.8.1-19.4.4-31.8.2-12.7 1.1-25.8 2.6-39.2 1.5-13.6 4-27.1 7.6-40.5 3.7-13.8 8.8-26.3 15.4-37.4 6.9-11.6 15.8-21.1 26.7-28.3 11.4-7.6 25.3-11.3 41.5-11.3 16.1 0 30.1 3.7 41.7 11.2a87.94 87.94 0 0127.4 28.2c6.9 11.2 12.1 23.8 15.6 37.7 3.3 13.2 5.8 26.6 7.5 40.1 1.8 13.5 2.8 26.6 3 39.4.2 12.4.4 23 .4 31.8.1 14.8-.4 32.5-1.4 53.3z`}}]},name:`field-binary`,theme:`outlined`};function XY(){return XY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,XY({},e,{ref:t,icon:pSe}))),hSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M508 280h-63.3c-3.3 0-6 2.7-6 6v340.2H433L197.4 282.6c-1.1-1.6-3-2.6-4.9-2.6H126c-3.3 0-6 2.7-6 6v464c0 3.3 2.7 6 6 6h62.7c3.3 0 6-2.7 6-6V405.1h5.7l238.2 348.3c1.1 1.6 3 2.6 5 2.6H508c3.3 0 6-2.7 6-6V286c0-3.3-2.7-6-6-6zm378 413H582c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-152.2-63c52.9 0 95.2-17.2 126.2-51.7 29.4-32.9 44-75.8 44-128.8 0-53.1-14.6-96.5-44-129.3-30.9-34.8-73.2-52.2-126.2-52.2-53.7 0-95.9 17.5-126.3 52.8-29.2 33.1-43.4 75.9-43.4 128.7 0 52.4 14.3 95.2 43.5 128.3 30.6 34.7 73 52.2 126.2 52.2zm-71.5-263.7c16.9-20.6 40.3-30.9 71.4-30.9 31.5 0 54.8 9.6 71 29.1 16.4 20.3 24.9 48.6 24.9 84.9 0 36.3-8.4 64.1-24.8 83.9-16.5 19.4-40 29.2-71.1 29.2-31.2 0-55-10.3-71.4-30.4-16.3-20.1-24.5-47.3-24.5-82.6.1-35.8 8.2-63 24.5-83.2z`}}]},name:`field-number`,theme:`outlined`};function ZY(){return ZY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,ZY({},e,{ref:t,icon:hSe}))),_Se={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M875.6 515.9c2.1.8 4.4-.3 5.2-2.4.2-.4.2-.9.2-1.4v-58.3c0-1.8-1.1-3.3-2.8-3.8-6-1.8-17.2-3-27.2-3-32.9 0-61.7 16.7-73.5 41.2v-28.6c0-4.4-3.6-8-8-8H717c-4.4 0-8 3.6-8 8V729c0 4.4 3.6 8 8 8h54.8c4.4 0 8-3.6 8-8V572.7c0-36.2 26.1-60.2 65.1-60.2 10.4.1 26.6 1.8 30.7 3.4zm-537-40.5l-54.7-12.6c-61.2-14.2-87.7-34.8-87.7-70.7 0-44.6 39.1-73.5 96.9-73.5 52.8 0 91.4 26.5 99.9 68.9h70C455.9 311.6 387.6 259 293.4 259c-103.3 0-171 55.5-171 139 0 68.6 38.6 109.5 122.2 128.5l61.6 14.3c63.6 14.9 91.6 37.1 91.6 75.1 0 44.1-43.5 75.2-102.5 75.2-60.6 0-104.5-27.2-112.8-70.5H111c7.2 79.9 75.6 130.4 179.1 130.4C402.3 751 471 695.2 471 605.3c0-70.2-38.6-108.5-132.4-129.9zM841 729a36 36 0 1072 0 36 36 0 10-72 0zM653 457.8h-51.4V396c0-4.4-3.6-8-8-8h-54.7c-4.4 0-8 3.6-8 8v61.8H495c-4.4 0-8 3.6-8 8v42.3c0 4.4 3.6 8 8 8h35.9v147.5c0 56.2 27.4 79.4 93.1 79.4 11.7 0 23.6-1.2 33.8-3.1 1.9-.3 3.2-2 3.2-3.9v-49.3c0-2.2-1.8-4-4-4h-.4c-4.9.5-6.2.6-8.3.8-4.1.3-7.8.5-12.6.5-24.1 0-34.1-10.3-34.1-35.6V516.1H653c4.4 0 8-3.6 8-8v-42.3c0-4.4-3.6-8-8-8z`}}]},name:`field-string`,theme:`outlined`};function QY(){return QY=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QY({},e,{ref:t,icon:_Se}))),ySe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M945 412H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h256c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM811 548H689c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h122c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM477.3 322.5H434c-6.2 0-11.2 5-11.2 11.2v248c0 3.6 1.7 6.9 4.6 9l148.9 108.6c5 3.6 12 2.6 15.6-2.4l25.7-35.1v-.1c3.6-5 2.5-12-2.5-15.6l-126.7-91.6V333.7c.1-6.2-5-11.2-11.1-11.2z`}},{tag:`path`,attrs:{d:`M804.8 673.9H747c-5.6 0-10.9 2.9-13.9 7.7a321 321 0 01-44.5 55.7 317.17 317.17 0 01-101.3 68.3c-39.3 16.6-81 25-124 25-43.1 0-84.8-8.4-124-25-37.9-16-72-39-101.3-68.3s-52.3-63.4-68.3-101.3c-16.6-39.2-25-80.9-25-124 0-43.1 8.4-84.7 25-124 16-37.9 39-72 68.3-101.3 29.3-29.3 63.4-52.3 101.3-68.3 39.2-16.6 81-25 124-25 43.1 0 84.8 8.4 124 25 37.9 16 72 39 101.3 68.3a321 321 0 0144.5 55.7c3 4.8 8.3 7.7 13.9 7.7h57.8c6.9 0 11.3-7.2 8.2-13.3-65.2-129.7-197.4-214-345-215.7-216.1-2.7-395.6 174.2-396 390.1C71.6 727.5 246.9 903 463.2 903c149.5 0 283.9-84.6 349.8-215.8a9.18 9.18 0 00-8.2-13.3z`}}]},name:`field-time`,theme:`outlined`};function $Y(){return $Y=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$Y({},e,{ref:t,icon:ySe}))),xSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M480 580H372a8 8 0 00-8 8v48a8 8 0 008 8h108v108a8 8 0 008 8h48a8 8 0 008-8V644h108a8 8 0 008-8v-48a8 8 0 00-8-8H544V472a8 8 0 00-8-8h-48a8 8 0 00-8 8v108zm374.6-291.3c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z`}}]},name:`file-add`,theme:`filled`};function eX(){return eX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,eX({},e,{ref:t,icon:xSe}))),CSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z`}}]},name:`file-add`,theme:`outlined`};function tX(){return tX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tX({},e,{ref:t,icon:CSe}))),TSe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm126 236v48c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V644H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V472c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z`,fill:e}}]}},name:`file-add`,theme:`twotone`};function nX(){return nX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,nX({},e,{ref:t,icon:TSe}))),DSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5zM761 656h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-23.1-31.9a7.92 7.92 0 00-6.5-3.3H573c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.9-5.3.1-12.7-6.4-12.7zM440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`file-done`,theme:`outlined`};function rX(){return rX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,rX({},e,{ref:t,icon:DSe}))),kSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM575.34 477.84l-61.22 102.3L452.3 477.8a12 12 0 00-10.27-5.79h-38.44a12 12 0 00-6.4 1.85 12 12 0 00-3.75 16.56l82.34 130.42-83.45 132.78a12 12 0 00-1.84 6.39 12 12 0 0012 12h34.46a12 12 0 0010.21-5.7l62.7-101.47 62.3 101.45a12 12 0 0010.23 5.72h37.48a12 12 0 006.48-1.9 12 12 0 003.62-16.58l-83.83-130.55 85.3-132.47a12 12 0 001.9-6.5 12 12 0 00-12-12h-35.7a12 12 0 00-10.29 5.84z`}}]},name:`file-excel`,theme:`filled`};function iX(){return iX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iX({},e,{ref:t,icon:kSe}))),jSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z`}}]},name:`file-excel`,theme:`outlined`};function aX(){return aX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,aX({},e,{ref:t,icon:jSe}))),NSe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm51.6 120h35.7a12.04 12.04 0 0110.1 18.5L546.1 623l84 130.4c3.6 5.6 2 13-3.6 16.6-2 1.2-4.2 1.9-6.5 1.9h-37.5c-4.1 0-8-2.1-10.2-5.7L510 664.8l-62.7 101.5c-2.2 3.5-6 5.7-10.2 5.7h-34.5a12.04 12.04 0 01-10.2-18.4l83.4-132.8-82.3-130.4c-3.6-5.7-1.9-13.1 3.7-16.6 1.9-1.3 4.1-1.9 6.4-1.9H442c4.2 0 8.1 2.2 10.3 5.8l61.8 102.4 61.2-102.3c2.2-3.6 6.1-5.8 10.3-5.8z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z`,fill:e}}]}},name:`file-excel`,theme:`twotone`};function oX(){return oX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,oX({},e,{ref:t,icon:NSe}))),FSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM512 784a40 40 0 100-80 40 40 0 000 80zm32-152V448a8 8 0 00-8-8h-48a8 8 0 00-8 8v184a8 8 0 008 8h48a8 8 0 008-8z`}}]},name:`file-exclamation`,theme:`filled`};function sX(){return sX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sX({},e,{ref:t,icon:FSe}))),LSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM472 744a40 40 0 1080 0 40 40 0 10-80 0zm16-104h48c4.4 0 8-3.6 8-8V448c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8z`}}]},name:`file-exclamation`,theme:`outlined`};function cX(){return cX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,cX({},e,{ref:t,icon:LSe}))),zSe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-54 96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V448zm32 336c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M488 640h48c4.4 0 8-3.6 8-8V448c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm-16 104a40 40 0 1080 0 40 40 0 10-80 0z`,fill:e}}]}},name:`file-exclamation`,theme:`twotone`};function lX(){return lX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,lX({},e,{ref:t,icon:zSe}))),VSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z`}}]},name:`file`,theme:`filled`};function uX(){return uX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uX({},e,{ref:t,icon:VSe}))),USe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M551.5 490.5H521c-4.6 0-8.4 3.7-8.4 8.4V720c0 4.6 3.7 8.4 8.4 8.4h30.5c4.6 0 8.4-3.7 8.4-8.4V498.9c-.1-4.6-3.8-8.4-8.4-8.4zM477.3 600h-88.1c-4.6 0-8.4 3.7-8.4 8.4v23.8c0 4.6 3.7 8.4 8.4 8.4h47.6v.7c-.6 29.9-23 49.8-56.5 49.8-39.2 0-63.6-30.7-63.6-81.4 0-50.1 23.9-80.6 62.3-80.6 28.1 0 47.5 13.5 55.4 38.3l.9 2.8h49.2l-.7-4.6C475.9 515.9 434.7 484 379 484c-68.8 0-113 49.4-113 125.9 0 77.5 43.7 126.1 113.6 126.1 64.4 0 106-40.3 106-102.9v-24.8c0-4.6-3.7-8.3-8.3-8.3z`}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`}},{tag:`path`,attrs:{d:`M608.2 727.8h32.3c4.6 0 8.4-3.7 8.4-8.4v-84.8h87.8c4.6 0 8.4-3.7 8.4-8.4v-25.5c0-4.6-3.7-8.4-8.4-8.4h-87.8v-58.9h96.8c4.6 0 8.4-3.7 8.4-8.4v-26.8c0-4.6-3.7-8.4-8.4-8.4H608.2c-4.6 0-8.4 3.7-8.4 8.4v221.1c0 4.8 3.8 8.5 8.4 8.5z`}}]},name:`file-gif`,theme:`outlined`};function dX(){return dX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,dX({},e,{ref:t,icon:USe}))),GSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM400 402c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0112.6 0l41.1 52.4 77.8-99.2a8 8 0 0112.6 0l136.5 174c4.3 5.2.5 12.9-6.1 12.9zm-94-370V137.8L790.2 326H602z`}}]},name:`file-image`,theme:`filled`};function fX(){return fX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,fX({},e,{ref:t,icon:GSe}))),qSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 00-12.6 0l-99.8 127.2a7.98 7.98 0 006.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 00-12.7 0zM360 442a40 40 0 1080 0 40 40 0 10-80 0zm494.6-153.4L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z`}}]},name:`file-image`,theme:`outlined`};function pX(){return pX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pX({},e,{ref:t,icon:qSe}))),JSe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-134 50c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328.1c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0112.6 0l41.1 52.4 77.8-99.2a8.1 8.1 0 0112.7 0l136.5 174c4.1 5.2.4 12.9-6.3 12.9z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M553.1 509.1l-77.8 99.2-41.1-52.4a8 8 0 00-12.6 0l-99.8 127.2a7.98 7.98 0 006.3 12.9H696c6.7 0 10.4-7.7 6.3-12.9l-136.5-174a8.1 8.1 0 00-12.7 0zM360 442a40 40 0 1080 0 40 40 0 10-80 0z`,fill:e}}]}},name:`file-image`,theme:`twotone`};function hX(){return hX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,hX({},e,{ref:t,icon:JSe}))),XSe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M874.6 301.8L596.8 21.3c-4.5-4.5-9.4-8.3-14.7-11.5-1.4-.8-2.8-1.6-4.3-2.3-.9-.5-1.9-.9-2.8-1.3-9-4-18.9-6.2-29-6.2H201c-39.8 0-73 32.2-73 72v880c0 39.8 33.2 72 73 72h623c39.8 0 71-32.2 71-72V352.5c0-19-7-37.2-20.4-50.7zM583 110.4L783.8 312H583V110.4zM823 952H200V72h311v240c0 39.8 33.2 72 73 72h239v568zM350 696.5c0 24.2-7.5 31.4-21.9 31.4-9 0-18.4-5.8-24.8-18.5L272.9 732c13.4 22.9 32.3 34.2 61.3 34.2 41.6 0 60.8-29.9 60.8-66.2V577h-45v119.5zM501.3 577H437v186h44v-62h21.6c39.1 0 73.1-19.6 73.1-63.6 0-45.8-33.5-60.4-74.4-60.4zm-.8 89H481v-53h18.2c21.5 0 33.4 6.2 33.4 24.9 0 18.1-10.5 28.1-32.1 28.1zm182.5-9v36h30v30.1c-4 2.9-11 4.7-17.7 4.7-34.3 0-50.7-21.4-50.7-58.2 0-36.1 19.7-57.4 47.1-57.4 15.3 0 25 6.2 34 14.4l23.7-28.3c-12.7-12.8-32.1-24.2-59.2-24.2-49.6 0-91.1 35.3-91.1 97 0 62.7 40 95.1 91.5 95.1 25.9 0 49.2-10.2 61.5-22.6V657H683z`}}]},name:`file-jpg`,theme:`outlined`};function gX(){return gX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gX({},e,{ref:t,icon:XSe}))),QSe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.97a16 16 0 0014.62 9.5h24.06a16 16 0 0014.63-9.51l59.1-133.35V758a16 16 0 0016.01 16H641a16 16 0 0016-16V486a16 16 0 00-16-16h-34.75a16 16 0 00-14.67 9.62L512.1 662.2l-79.48-182.59a16 16 0 00-14.67-9.61H383a16 16 0 00-16 16v272a16 16 0 0016 16h27.13a16 16 0 0016-16V600.93z`}}]},name:`file-markdown`,theme:`filled`};function _X(){return _X=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_X({},e,{ref:t,icon:QSe}))),eCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0011 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z`}}]},name:`file-markdown`,theme:`outlined`};function vX(){return vX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,vX({},e,{ref:t,icon:eCe}))),nCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm72.3 122H641c6.6 0 12 5.4 12 12v272c0 6.6-5.4 12-12 12h-27.2c-6.6 0-12-5.4-12-12V581.7L535 732.3c-2 4.3-6.3 7.1-11 7.1h-24.1a12 12 0 01-11-7.1l-66.8-150.2V758c0 6.6-5.4 12-12 12H383c-6.6 0-12-5.4-12-12V486c0-6.6 5.4-12 12-12h35c4.8 0 9.1 2.8 11 7.2l83.2 191 83.1-191c1.9-4.4 6.2-7.2 11-7.2z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M429 481.2c-1.9-4.4-6.2-7.2-11-7.2h-35c-6.6 0-12 5.4-12 12v272c0 6.6 5.4 12 12 12h27.1c6.6 0 12-5.4 12-12V582.1l66.8 150.2a12 12 0 0011 7.1H524c4.7 0 9-2.8 11-7.1l66.8-150.6V758c0 6.6 5.4 12 12 12H641c6.6 0 12-5.4 12-12V486c0-6.6-5.4-12-12-12h-34.7c-4.8 0-9.1 2.8-11 7.2l-83.1 191-83.2-191z`,fill:e}}]}},name:`file-markdown`,theme:`twotone`};function yX(){return yX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yX({},e,{ref:t,icon:nCe}))),iCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM633.22 637.26c-15.18-.5-31.32.67-49.65 2.96-24.3-14.99-40.66-35.58-52.28-65.83l1.07-4.38 1.24-5.18c4.3-18.13 6.61-31.36 7.3-44.7.52-10.07-.04-19.36-1.83-27.97-3.3-18.59-16.45-29.46-33.02-30.13-15.45-.63-29.65 8-33.28 21.37-5.91 21.62-2.45 50.07 10.08 98.59-15.96 38.05-37.05 82.66-51.2 107.54-18.89 9.74-33.6 18.6-45.96 28.42-16.3 12.97-26.48 26.3-29.28 40.3-1.36 6.49.69 14.97 5.36 21.92 5.3 7.88 13.28 13 22.85 13.74 24.15 1.87 53.83-23.03 86.6-79.26 3.29-1.1 6.77-2.26 11.02-3.7l11.9-4.02c7.53-2.54 12.99-4.36 18.39-6.11 23.4-7.62 41.1-12.43 57.2-15.17 27.98 14.98 60.32 24.8 82.1 24.8 17.98 0 30.13-9.32 34.52-23.99 3.85-12.88.8-27.82-7.48-36.08-8.56-8.41-24.3-12.43-45.65-13.12zM385.23 765.68v-.36l.13-.34a54.86 54.86 0 015.6-10.76c4.28-6.58 10.17-13.5 17.47-20.87 3.92-3.95 8-7.8 12.79-12.12 1.07-.96 7.91-7.05 9.19-8.25l11.17-10.4-8.12 12.93c-12.32 19.64-23.46 33.78-33 43-3.51 3.4-6.6 5.9-9.1 7.51a16.43 16.43 0 01-2.61 1.42c-.41.17-.77.27-1.13.3a2.2 2.2 0 01-1.12-.15 2.07 2.07 0 01-1.27-1.91zM511.17 547.4l-2.26 4-1.4-4.38c-3.1-9.83-5.38-24.64-6.01-38-.72-15.2.49-24.32 5.29-24.32 6.74 0 9.83 10.8 10.07 27.05.22 14.28-2.03 29.14-5.7 35.65zm-5.81 58.46l1.53-4.05 2.09 3.8c11.69 21.24 26.86 38.96 43.54 51.31l3.6 2.66-4.39.9c-16.33 3.38-31.54 8.46-52.34 16.85 2.17-.88-21.62 8.86-27.64 11.17l-5.25 2.01 2.8-4.88c12.35-21.5 23.76-47.32 36.05-79.77zm157.62 76.26c-7.86 3.1-24.78.33-54.57-12.39l-7.56-3.22 8.2-.6c23.3-1.73 39.8-.45 49.42 3.07 4.1 1.5 6.83 3.39 8.04 5.55a4.64 4.64 0 01-1.36 6.31 6.7 6.7 0 01-2.17 1.28z`}}]},name:`file-pdf`,theme:`filled`};function bX(){return bX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,bX({},e,{ref:t,icon:iCe}))),oCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z`}}]},name:`file-pdf`,theme:`outlined`};function xX(){return xX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,xX({},e,{ref:t,icon:oCe}))),sCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M509.2 490.8c-.7-1.3-1.4-1.9-2.2-2-2.9 3.3-2.2 31.5 2.7 51.4 4-13.6 4.7-40.5-.5-49.4zm-1.6 120.5c-7.7 20-18.8 47.3-32.1 71.4 4-1.6 8.1-3.3 12.3-5 17.6-7.2 37.3-15.3 58.9-20.2-14.9-11.8-28.4-27.7-39.1-46.2z`,fill:t}},{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm55 287.6c16.1-1.9 30.6-2.8 44.3-2.3 12.8.4 23.6 2 32 5.1.2.1.3.1.5.2.4.2.8.3 1.2.5.5.2 1.1.4 1.6.7.1.1.3.1.4.2 4.1 1.8 7.5 4 10.1 6.6 9.1 9.1 11.8 26.1 6.2 39.6-3.2 7.7-11.7 20.5-33.3 20.5-21.8 0-53.9-9.7-82.1-24.8-25.5 4.3-53.7 13.9-80.9 23.1-5.8 2-11.8 4-17.6 5.9-38 65.2-66.5 79.4-84.1 79.4-4.2 0-7.8-.9-10.8-2-6.9-2.6-12.8-8-16.5-15-.9-1.7-1.6-3.4-2.2-5.2-1.6-4.8-2.1-9.6-1.3-13.6l.6-2.7c.1-.2.1-.4.2-.6.2-.7.4-1.4.7-2.1 0-.1.1-.2.1-.3 4.1-11.9 13.6-23.4 27.7-34.6 12.3-9.8 27.1-18.7 45.9-28.4 15.9-28 37.6-75.1 51.2-107.4-10.8-41.8-16.7-74.6-10.1-98.6.9-3.3 2.5-6.4 4.6-9.1.2-.2.3-.4.5-.6.1-.1.1-.2.2-.2 6.3-7.5 16.9-11.9 28.1-11.5 16.6.7 29.7 11.5 33 30.1 1.7 8 2.2 16.5 1.9 25.7v.7c0 .5 0 1-.1 1.5-.7 13.3-3 26.6-7.3 44.7-.4 1.6-.8 3.2-1.2 5.2l-1 4.1-.1.3c.1.2.1.3.2.5l1.8 4.5c.1.3.3.7.4 1 .7 1.6 1.4 3.3 2.1 4.8v.1c8.7 18.8 19.7 33.4 33.9 45.1 4.3 3.5 8.9 6.7 13.9 9.8 1.8-.5 3.5-.7 5.3-.9z`,fill:t}},{tag:`path`,attrs:{d:`M391.5 761c5.7-4.4 16.2-14.5 30.1-34.7-10.3 9.4-23.4 22.4-30.1 34.7zm270.9-83l.2-.3h.2c.6-.4.5-.7.4-.9-.1-.1-4.5-9.3-45.1-7.4 35.3 13.9 43.5 9.1 44.3 8.6z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M535.9 585.3c-.8-1.7-1.5-3.3-2.2-4.9-.1-.3-.3-.7-.4-1l-1.8-4.5c-.1-.2-.1-.3-.2-.5l.1-.3.2-1.1c4-16.3 8.6-35.3 9.4-54.4v-.7c.3-8.6-.2-17.2-2-25.6-3.8-21.3-19.5-29.6-32.9-30.2-11.3-.5-21.8 4-28.1 11.4-.1.1-.1.2-.2.2-.2.2-.4.4-.5.6-2.1 2.7-3.7 5.8-4.6 9.1-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.4-51.2 107.4v.1c-27.7 14.3-64.1 35.8-73.6 62.9 0 .1-.1.2-.1.3-.2.7-.5 1.4-.7 2.1-.1.2-.1.4-.2.6-.2.9-.5 1.8-.6 2.7-.9 4-.4 8.8 1.3 13.6.6 1.8 1.3 3.5 2.2 5.2 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-2.6-2.6-6-4.8-10.1-6.6-.1-.1-.3-.1-.4-.2-.5-.2-1.1-.4-1.6-.7-.4-.2-.8-.3-1.2-.5-.2-.1-.3-.1-.5-.2-16.2-5.8-41.7-6.7-76.3-2.8l-5.3.6c-5-3-9.6-6.3-13.9-9.8-14.2-11.3-25.1-25.8-33.8-44.7zM391.5 761c6.7-12.3 19.8-25.3 30.1-34.7-13.9 20.2-24.4 30.3-30.1 34.7zM507 488.8c.8.1 1.5.7 2.2 2 5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4zm-19.2 188.9c-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4 10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2zm175.4-.9c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4z`,fill:e}}]}},name:`file-pdf`,theme:`twotone`};function CX(){return CX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,CX({},e,{ref:t,icon:sCe}))),lCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM468.53 760v-91.54h59.27c60.57 0 100.2-39.65 100.2-98.12 0-58.22-39.58-98.34-99.98-98.34H424a12 12 0 00-12 12v276a12 12 0 0012 12h32.53a12 12 0 0012-12zm0-139.33h34.9c47.82 0 67.19-12.93 67.19-50.33 0-32.05-18.12-50.12-49.87-50.12h-52.22v100.45z`}}]},name:`file-ppt`,theme:`filled`};function wX(){return wX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,wX({},e,{ref:t,icon:lCe}))),dCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M424 476c-4.4 0-8 3.6-8 8v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.3c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1zm280-281.7L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z`}}]},name:`file-ppt`,theme:`outlined`};function TX(){return TX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TX({},e,{ref:t,icon:dCe}))),pCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464.5 516.2v108.4h38.9c44.7 0 71.2-10.9 71.2-54.3 0-34.4-20.1-54.1-53.9-54.1h-56.2z`,fill:t}},{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm90 218.4c0 55.2-36.8 94.1-96.2 94.1h-63.3V760c0 4.4-3.6 8-8 8H424c-4.4 0-8-3.6-8-8V484c0-4.4 3.6-8 8-8v.1h104c59.7 0 96 39.8 96 94.3z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M424 476.1c-4.4-.1-8 3.5-8 7.9v276c0 4.4 3.6 8 8 8h32.5c4.4 0 8-3.6 8-8v-95.5h63.3c59.4 0 96.2-38.9 96.2-94.1 0-54.5-36.3-94.3-96-94.3H424zm150.6 94.2c0 43.4-26.5 54.3-71.2 54.3h-38.9V516.2h56.2c33.8 0 53.9 19.7 53.9 54.1z`,fill:e}}]}},name:`file-ppt`,theme:`twotone`};function EX(){return EX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,EX({},e,{ref:t,icon:pCe}))),hCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M644.7 669.2a7.92 7.92 0 00-6.5-3.3H594c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.8-5.3 0-12.7-6.5-12.7h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-22.9-31.9zM688 306v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 458H208V148h560v296c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h312c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm402.6-320.8l-192-66.7c-.9-.3-1.7-.4-2.6-.4s-1.8.1-2.6.4l-192 66.7a7.96 7.96 0 00-5.4 7.5v251.1c0 2.5 1.1 4.8 3.1 6.3l192 150.2c1.4 1.1 3.2 1.7 4.9 1.7s3.5-.6 4.9-1.7l192-150.2c1.9-1.5 3.1-3.8 3.1-6.3V538.7c0-3.4-2.2-6.4-5.4-7.5zM826 763.7L688 871.6 550 763.7V577l138-48 138 48v186.7z`}}]},name:`file-protect`,theme:`outlined`};function DX(){return DX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,DX({},e,{ref:t,icon:hCe}))),_Ce={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 000-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z`}}]},name:`file-search`,theme:`outlined`};function OX(){return OX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OX({},e,{ref:t,icon:_Ce}))),yCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M296 256c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm192 200v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8zm-48 396H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm104.1-115.6c1.8-34.5 16.2-66.8 40.8-91.4 26.2-26.2 62-41 99.1-41 37.4 0 72.6 14.6 99.1 41 3.2 3.2 6.3 6.6 9.2 10.1L769.2 673a8 8 0 003 14.1l93.3 22.5c5 1.2 9.8-2.6 9.9-7.7l.6-95.4a8 8 0 00-12.9-6.4l-20.3 15.8C805.4 569.6 748.1 540 684 540c-109.9 0-199.6 86.9-204 195.7-.2 4.5 3.5 8.3 8 8.3h48.1c4.3 0 7.8-3.3 8-7.6zM880 744h-48.1c-4.3 0-7.8 3.3-8 7.6-1.8 34.5-16.2 66.8-40.8 91.4-26.2 26.2-62 41-99.1 41-37.4 0-72.6-14.6-99.1-41-3.2-3.2-6.3-6.6-9.2-10.1l23.1-17.9a8 8 0 00-3-14.1l-93.3-22.5c-5-1.2-9.8 2.6-9.9 7.7l-.6 95.4a8 8 0 0012.9 6.4l20.3-15.8C562.6 918.4 619.9 948 684 948c109.9 0 199.6-86.9 204-195.7.2-4.5-3.5-8.3-8-8.3z`}}]},name:`file-sync`,theme:`outlined`};function kX(){return kX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,kX({},e,{ref:t,icon:yCe}))),xCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM320 482a8 8 0 00-8 8v48a8 8 0 008 8h384a8 8 0 008-8v-48a8 8 0 00-8-8H320zm0 136a8 8 0 00-8 8v48a8 8 0 008 8h184a8 8 0 008-8v-48a8 8 0 00-8-8H320z`}}]},name:`file-text`,theme:`filled`};function AX(){return AX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,AX({},e,{ref:t,icon:xCe}))),CCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-22 322c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm200-184v48c0 4.4-3.6 8-8 8H320c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8zm192 128H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`file-text`,theme:`twotone`};function jX(){return jX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jX({},e,{ref:t,icon:CCe}))),TCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM402 549c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103zm110 227a32 32 0 100-64 32 32 0 000 64z`}}]},name:`file-unknown`,theme:`filled`};function MX(){return MX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,MX({},e,{ref:t,icon:TCe}))),DCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM402 549c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103zm78 195a32 32 0 1064 0 32 32 0 10-64 0z`}}]},name:`file-unknown`,theme:`outlined`};function NX(){return NX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,NX({},e,{ref:t,icon:DCe}))),kCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm-22 424c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm110-228.4c.7 44.9-29.7 84.5-74.3 98.9-5.7 1.8-9.7 7.3-9.7 13.3V672c0 5.5-4.5 10-10 10h-32c-5.5 0-10-4.5-10-10v-32c.2-19.8 15.4-37.3 34.7-40.1C549 596.2 570 574.3 570 549c0-28.1-25.8-51.5-58-51.5s-58 23.4-58 51.6c0 5.2-4.4 9.4-9.8 9.4h-32.4c-5.4 0-9.8-4.1-9.8-9.5 0-57.4 50.1-103.7 111.5-103 59.3.8 107.7 46.1 108.5 101.6z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M480 744a32 32 0 1064 0 32 32 0 10-64 0zm-78-195c0 5.4 4.4 9.5 9.8 9.5h32.4c5.4 0 9.8-4.2 9.8-9.4 0-28.2 25.8-51.6 58-51.6s58 23.4 58 51.5c0 25.3-21 47.2-49.3 50.9-19.3 2.8-34.5 20.3-34.7 40.1v32c0 5.5 4.5 10 10 10h32c5.5 0 10-4.5 10-10v-12.2c0-6 4-11.5 9.7-13.3 44.6-14.4 75-54 74.3-98.9-.8-55.5-49.2-100.8-108.5-101.6-61.4-.7-111.5 45.6-111.5 103z`,fill:e}}]}},name:`file-unknown`,theme:`twotone`};function PX(){return PX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PX({},e,{ref:t,icon:kCe}))),jCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM512 566.1l52.81 197a12 12 0 0011.6 8.9h31.77a12 12 0 0011.6-8.88l74.37-276a12 12 0 00.4-3.12 12 12 0 00-12-12h-35.57a12 12 0 00-11.7 9.31l-45.78 199.1-49.76-199.32A12 12 0 00528.1 472h-32.2a12 12 0 00-11.64 9.1L434.6 680.01 388.5 481.3a12 12 0 00-11.68-9.29h-35.39a12 12 0 00-3.11.41 12 12 0 00-8.47 14.7l74.17 276A12 12 0 00415.6 772h31.99a12 12 0 0011.59-8.9l52.81-197z`}}]},name:`file-word`,theme:`filled`};function FX(){return FX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,FX({},e,{ref:t,icon:jCe}))),NCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM528.1 472h-32.2c-5.5 0-10.3 3.7-11.6 9.1L434.6 680l-46.1-198.7c-1.3-5.4-6.1-9.3-11.7-9.3h-35.4a12.02 12.02 0 00-11.6 15.1l74.2 276c1.4 5.2 6.2 8.9 11.6 8.9h32c5.4 0 10.2-3.6 11.6-8.9l52.8-197 52.8 197c1.4 5.2 6.2 8.9 11.6 8.9h31.8c5.4 0 10.2-3.6 11.6-8.9l74.4-276a12.04 12.04 0 00-11.6-15.1H647c-5.6 0-10.4 3.9-11.7 9.3l-45.8 199.1-49.8-199.3c-1.3-5.4-6.1-9.1-11.6-9.1z`}}]},name:`file-word`,theme:`outlined`};function IX(){return IX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,IX({},e,{ref:t,icon:NCe}))),FCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm101.3 129.3c1.3-5.4 6.1-9.3 11.7-9.3h35.6a12.04 12.04 0 0111.6 15.1l-74.4 276c-1.4 5.3-6.2 8.9-11.6 8.9h-31.8c-5.4 0-10.2-3.7-11.6-8.9l-52.8-197-52.8 197c-1.4 5.3-6.2 8.9-11.6 8.9h-32c-5.4 0-10.2-3.7-11.6-8.9l-74.2-276a12.02 12.02 0 0111.6-15.1h35.4c5.6 0 10.4 3.9 11.7 9.3L434.6 680l49.7-198.9c1.3-5.4 6.1-9.1 11.6-9.1h32.2c5.5 0 10.3 3.7 11.6 9.1l49.8 199.3 45.8-199.1z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M528.1 472h-32.2c-5.5 0-10.3 3.7-11.6 9.1L434.6 680l-46.1-198.7c-1.3-5.4-6.1-9.3-11.7-9.3h-35.4a12.02 12.02 0 00-11.6 15.1l74.2 276c1.4 5.2 6.2 8.9 11.6 8.9h32c5.4 0 10.2-3.6 11.6-8.9l52.8-197 52.8 197c1.4 5.2 6.2 8.9 11.6 8.9h31.8c5.4 0 10.2-3.6 11.6-8.9l74.4-276a12.04 12.04 0 00-11.6-15.1H647c-5.6 0-10.4 3.9-11.7 9.3l-45.8 199.1-49.8-199.3c-1.3-5.4-6.1-9.1-11.6-9.1z`,fill:e}}]}},name:`file-word`,theme:`twotone`};function LX(){return LX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LX({},e,{ref:t,icon:FCe}))),LCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM296 136v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm0 64v160h128V584H296zm48 48h32v64h-32v-64z`}}]},name:`file-zip`,theme:`filled`};function RX(){return RX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,RX({},e,{ref:t,icon:LCe}))),zCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M296 392h64v64h-64zm0 190v160h128V582h-64v-62h-64v62zm80 48v64h-32v-64h32zm-16-302h64v64h-64zm-64-64h64v64h-64zm64 192h64v64h-64zm0-256h64v64h-64zm494.6 88.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h64v64h64v-64h174v216a42 42 0 0042 42h216v494z`}}]},name:`file-zip`,theme:`outlined`};function zX(){return zX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,zX({},e,{ref:t,icon:zCe}))),VCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M344 630h32v2h-32z`,fill:t}},{tag:`path`,attrs:{d:`M534 352V136H360v64h64v64h-64v64h64v64h-64v64h64v64h-64v62h64v160H296V520h64v-64h-64v-64h64v-64h-64v-64h64v-64h-64v-64h-64v752h560V394H576a42 42 0 01-42-42z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h64v64h64v-64h174v216a42 42 0 0042 42h216v494z`,fill:e}},{tag:`path`,attrs:{d:`M296 392h64v64h-64zm0-128h64v64h-64zm0 318v160h128V582h-64v-62h-64v62zm48 50v-2h32v64h-32v-62zm16-432h64v64h-64zm0 256h64v64h-64zm0-128h64v64h-64z`,fill:e}}]}},name:`file-zip`,theme:`twotone`};function BX(){return BX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BX({},e,{ref:t,icon:VCe}))),UCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z`}}]},name:`filter`,theme:`outlined`};function VX(){return VX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,VX({},e,{ref:t,icon:UCe}))),WCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M420.6 798h182.9V642H420.6zM411 561.4l9.5 16.6h183l9.5-16.6L811.3 226H212.7z`,fill:t}},{tag:`path`,attrs:{d:`M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.5 798H420.6V642h182.9v156zm9.5-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z`,fill:e}}]}},name:`filter`,theme:`twotone`};function UX(){return UX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UX({},e,{ref:t,icon:WCe}))),KCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9z`}}]},name:`fire`,theme:`filled`};function WX(){return WX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,WX({},e,{ref:t,icon:KCe}))),JCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z`}}]},name:`fire`,theme:`outlined`};function GX(){return GX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,GX({},e,{ref:t,icon:JCe}))),YCe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M737 438.6c-9.6 15.5-21.1 30.7-34.4 45.6a73.1 73.1 0 01-51 24.4 73.36 73.36 0 01-53.4-18.8 74.01 74.01 0 01-24.4-59.8c3-47.4-12.4-103.1-45.8-165.7-16.9-31.4-37.1-58.2-61.2-80.4a240 240 0 01-12.1 46.5 354.26 354.26 0 01-58.2 101 349.6 349.6 0 01-58.6 56.8c-34 26.1-62 60-80.8 97.9a275.96 275.96 0 00-29.1 124c0 74.9 29.5 145.3 83 198.4 53.7 53.2 125 82.4 201 82.4s147.3-29.2 201-82.4c53.5-53 83-123.5 83-198.4 0-39.2-8.1-77.3-24-113.1-9.3-21-21-40.5-35-58.4z`,fill:t}},{tag:`path`,attrs:{d:`M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z`,fill:e}}]}},name:`fire`,theme:`twotone`};function qX(){return qX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,qX({},e,{ref:t,icon:YCe}))),ZCe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32z`}}]},name:`flag`,theme:`filled`};function JX(){return JX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,JX({},e,{ref:t,icon:ZCe}))),$Ce={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z`}}]},name:`flag`,theme:`outlined`};function YX(){return YX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YX({},e,{ref:t,icon:$Ce}))),ewe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M184 232h368v336H184z`,fill:t}},{tag:`path`,attrs:{d:`M624 632c0 4.4-3.6 8-8 8H504v73h336V377H624v255z`,fill:t}},{tag:`path`,attrs:{d:`M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z`,fill:e}}]}},name:`flag`,theme:`twotone`};function ZX(){return ZX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,ZX({},e,{ref:t,icon:ewe}))),nwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM632 577c0 3.8-3.4 7-7.5 7H540v84.9c0 3.9-3.2 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V584h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.8 3.4-7 7.5-7H484v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.8 0 7 3.2 7 7.1V528h84.5c4.1 0 7.5 3.2 7.5 7v42z`}}]},name:`folder-add`,theme:`filled`};function QX(){return QX=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QX({},e,{ref:t,icon:nwe}))),iwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z`}}]},name:`folder-add`,theme:`outlined`};function $X(){return $X=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$X({},e,{ref:t,icon:iwe}))),owe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M372.5 256H184v512h656V370.4H492.1L372.5 256zM540 443.1V528h84.5c4.1 0 7.5 3.1 7.5 7v42c0 3.8-3.4 7-7.5 7H540v84.9c0 3.9-3.1 7.1-7 7.1h-42c-3.8 0-7-3.2-7-7.1V584h-84.5c-4.1 0-7.5-3.2-7.5-7v-42c0-3.9 3.4-7 7.5-7H484v-84.9c0-3.9 3.2-7.1 7-7.1h42c3.9 0 7 3.2 7 7.1z`,fill:t}},{tag:`path`,attrs:{d:`M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z`,fill:e}},{tag:`path`,attrs:{d:`M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1z`,fill:e}}]}},name:`folder-add`,theme:`twotone`};function eZ(){return eZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,eZ({},e,{ref:t,icon:owe}))),cwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32z`}}]},name:`folder`,theme:`filled`};function tZ(){return tZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tZ({},e,{ref:t,icon:cwe}))),uwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zm-180 0H238c-13 0-24.8 7.9-29.7 20L136 643.2V256h188.5l119.6 114.4H748V444z`}}]},name:`folder-open`,theme:`filled`};function nZ(){return nZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,nZ({},e,{ref:t,icon:uwe}))),fwe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M159 768h612.3l103.4-256H262.3z`,fill:t}},{tag:`path`,attrs:{d:`M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z`,fill:e}}]}},name:`folder-open`,theme:`twotone`};function rZ(){return rZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,rZ({},e,{ref:t,icon:fwe}))),mwe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z`,fill:e}},{tag:`path`,attrs:{d:`M372.5 256H184v512h656V370.4H492.1z`,fill:t}}]}},name:`folder`,theme:`twotone`};function iZ(){return iZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,iZ({},e,{ref:t,icon:mwe}))),gwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M309.1 554.3a42.92 42.92 0 000 36.4C353.3 684 421.6 732 512.5 732s159.2-48.1 203.4-141.3c5.4-11.5 5.4-24.8.1-36.3l-.1-.1-.1-.1C671.7 461 603.4 413 512.5 413s-159.2 48.1-203.4 141.3zM512.5 477c62.1 0 107.4 30 141.1 95.5C620 638 574.6 668 512.5 668s-107.4-30-141.1-95.5c33.7-65.5 79-95.5 141.1-95.5z`}},{tag:`path`,attrs:{d:`M457 573a56 56 0 10112 0 56 56 0 10-112 0z`}},{tag:`path`,attrs:{d:`M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z`}}]},name:`folder-view`,theme:`outlined`};function aZ(){return aZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,aZ({},e,{ref:t,icon:gwe}))),vwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M904 816H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-650.3-80h85c4.2 0 8-2.7 9.3-6.8l53.7-166h219.2l53.2 166c1.3 4 5 6.8 9.3 6.8h89.1c1.1 0 2.2-.2 3.2-.5a9.7 9.7 0 006-12.4L573.6 118.6a9.9 9.9 0 00-9.2-6.6H462.1c-4.2 0-7.9 2.6-9.2 6.6L244.5 723.1c-.4 1-.5 2.1-.5 3.2-.1 5.3 4.3 9.7 9.7 9.7zm255.9-516.1h4.1l83.8 263.8H424.9l84.7-263.8z`}}]},name:`font-colors`,theme:`outlined`};function oZ(){return oZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,oZ({},e,{ref:t,icon:vwe}))),bwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M920 416H616c-4.4 0-8 3.6-8 8v112c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-56h60v320h-46c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h164c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-46V480h60v56c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V424c0-4.4-3.6-8-8-8zM656 296V168c0-4.4-3.6-8-8-8H104c-4.4 0-8 3.6-8 8v128c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-64h168v560h-92c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-92V232h168v64c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8z`}}]},name:`font-size`,theme:`outlined`};function sZ(){return sZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sZ({},e,{ref:t,icon:bwe}))),xwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M752 100c-61.8 0-112 50.2-112 112 0 47.7 29.9 88.5 72 104.6v27.6L512 601.4 312 344.2v-27.6c42.1-16.1 72-56.9 72-104.6 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 50.6 33.8 93.5 80 107.3v34.4c0 9.7 3.3 19.3 9.3 27L476 672.3v33.6c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-33.6l226.7-291.6c6-7.7 9.3-17.3 9.3-27v-34.4c46.2-13.8 80-56.7 80-107.3 0-61.8-50.2-112-112-112zM224 212a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm336 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm192-552a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`fork`,theme:`outlined`};function lZ(){return lZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,lZ({},e,{ref:t,icon:xwe}))),Cwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z`}},{tag:`path`,attrs:{d:`M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z`}}]},name:`form`,theme:`outlined`};function uZ(){return uZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uZ({},e,{ref:t,icon:Cwe}))),Twe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M840 192h-56v-72c0-13.3-10.7-24-24-24H168c-13.3 0-24 10.7-24 24v272c0 13.3 10.7 24 24 24h592c13.3 0 24-10.7 24-24V256h32v200H465c-22.1 0-40 17.9-40 40v136h-44c-4.4 0-8 3.6-8 8v228c0 1.1.2 2.2.6 3.1-.4 1.6-.6 3.2-.6 4.9 0 46.4 37.6 84 84 84s84-37.6 84-84c0-1.7-.2-3.3-.6-4.9.4-1 .6-2 .6-3.1V640c0-4.4-3.6-8-8-8h-44V520h351c22.1 0 40-17.9 40-40V232c0-22.1-17.9-40-40-40z`}}]},name:`format-painter`,theme:`filled`};function dZ(){return dZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,dZ({},e,{ref:t,icon:Twe}))),Dwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M840 192h-56v-72c0-13.3-10.7-24-24-24H168c-13.3 0-24 10.7-24 24v272c0 13.3 10.7 24 24 24h592c13.3 0 24-10.7 24-24V256h32v200H465c-22.1 0-40 17.9-40 40v136h-44c-4.4 0-8 3.6-8 8v228c0 .6.1 1.3.2 1.9A83.99 83.99 0 00457 960c46.4 0 84-37.6 84-84 0-2.1-.1-4.1-.2-6.1.1-.6.2-1.2.2-1.9V640c0-4.4-3.6-8-8-8h-44V520h351c22.1 0 40-17.9 40-40V232c0-22.1-17.9-40-40-40zM720 352H208V160h512v192zM477 876c0 11-9 20-20 20s-20-9-20-20V696h40v180z`}}]},name:`format-painter`,theme:`outlined`};function fZ(){return fZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,fZ({},e,{ref:t,icon:Dwe}))),kwe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28zm-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14 0-5.2-2.1-10.4-6.2-14z`}}]},name:`forward`,theme:`filled`};function pZ(){return pZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pZ({},e,{ref:t,icon:kwe}))),jwe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M825.8 498L538.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L825.8 526c8.3-7.2 8.3-20.8 0-28zm-320 0L218.4 249.9c-10.7-9.2-26.4-.9-26.4 14v496.3c0 14.9 15.7 23.2 26.4 14L505.8 526c4.1-3.6 6.2-8.8 6.2-14 0-5.2-2.1-10.4-6.2-14z`}}]},name:`forward`,theme:`outlined`};function mZ(){return mZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,mZ({},e,{ref:t,icon:jwe}))),Nwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm376 272h-48.1c-4.2 0-7.8-3.2-8.1-7.4C604 636.1 562.5 597 512 597s-92.1 39.1-95.8 88.6c-.3 4.2-3.9 7.4-8.1 7.4H360a8 8 0 01-8-8.4c4.4-84.3 74.5-151.6 160-151.6s155.6 67.3 160 151.6a8 8 0 01-8 8.4zm24-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`frown`,theme:`filled`};function hZ(){return hZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,hZ({},e,{ref:t,icon:Nwe}))),Fwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM512 533c-85.5 0-155.6 67.3-160 151.6a8 8 0 008 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4C420 636.1 461.5 597 512 597s92.1 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 008-8.4C667.6 600.3 597.5 533 512 533z`}}]},name:`frown`,theme:`outlined`};function gZ(){return gZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gZ({},e,{ref:t,icon:Fwe}))),Lwe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm376 272h-48.1c-4.2 0-7.8-3.2-8.1-7.4C604 636.1 562.5 597 512 597s-92.1 39.1-95.8 88.6c-.3 4.2-3.9 7.4-8.1 7.4H360a8 8 0 01-8-8.4c4.4-84.3 74.5-151.6 160-151.6s155.6 67.3 160 151.6a8 8 0 01-8 8.4zm24-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`,fill:t}},{tag:`path`,attrs:{d:`M288 421a48 48 0 1096 0 48 48 0 10-96 0zm224 112c-85.5 0-155.6 67.3-160 151.6a8 8 0 008 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4 3.7-49.5 45.3-88.6 95.8-88.6s92 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 008-8.4C667.6 600.3 597.5 533 512 533zm128-112a48 48 0 1096 0 48 48 0 10-96 0z`,fill:e}}]}},name:`frown`,theme:`twotone`};function _Z(){return _Z=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_Z({},e,{ref:t,icon:Lwe}))),zwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z`}}]},name:`fullscreen-exit`,theme:`outlined`};function vZ(){return vZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,vZ({},e,{ref:t,icon:zwe}))),Vwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z`}}]},name:`fullscreen`,theme:`outlined`};function yZ(){return yZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yZ({},e,{ref:t,icon:Vwe}))),Uwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M841 370c3-3.3 2.7-8.3-.6-11.3a8.24 8.24 0 00-5.3-2.1h-72.6c-2.4 0-4.6 1-6.1 2.8L633.5 504.6a7.96 7.96 0 01-13.4-1.9l-63.5-141.3a7.9 7.9 0 00-7.3-4.7H380.7l.9-4.7 8-42.3c10.5-55.4 38-81.4 85.8-81.4 18.6 0 35.5 1.7 48.8 4.7l14.1-66.8c-22.6-4.7-35.2-6.1-54.9-6.1-103.3 0-156.4 44.3-175.9 147.3l-9.4 49.4h-97.6c-3.8 0-7.1 2.7-7.8 6.4L181.9 415a8.07 8.07 0 007.8 9.7H284l-89 429.9a8.07 8.07 0 007.8 9.7H269c3.8 0 7.1-2.7 7.8-6.4l89.7-433.1h135.8l68.2 139.1c1.4 2.9 1 6.4-1.2 8.8l-180.6 203c-2.9 3.3-2.6 8.4.7 11.3 1.5 1.3 3.4 2 5.3 2h72.7c2.4 0 4.6-1 6.1-2.8l123.7-146.7c2.8-3.4 7.9-3.8 11.3-1 .9.8 1.6 1.7 2.1 2.8L676.4 784c1.3 2.8 4.1 4.7 7.3 4.7h64.6a8.02 8.02 0 007.2-11.5l-95.2-198.9c-1.4-2.9-.9-6.4 1.3-8.8L841 370z`}}]},name:`function`,theme:`outlined`};function bZ(){return bZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,bZ({},e,{ref:t,icon:Uwe}))),Gwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M926 164H94c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V196c0-17.7-14.3-32-32-32zm-92.3 194.4l-297 297.2a8.03 8.03 0 01-11.3 0L410.9 541.1 238.4 713.7a8.03 8.03 0 01-11.3 0l-36.8-36.8a8.03 8.03 0 010-11.3l214.9-215c3.1-3.1 8.2-3.1 11.3 0L531 565l254.5-254.6c3.1-3.1 8.2-3.1 11.3 0l36.8 36.8c3.2 3 3.2 8.1.1 11.2z`}}]},name:`fund`,theme:`filled`};function xZ(){return xZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,xZ({},e,{ref:t,icon:Gwe}))),qwe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M926 164H94c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V196c0-17.7-14.3-32-32-32zm-40 632H134V236h752v560zm-658.9-82.3c3.1 3.1 8.2 3.1 11.3 0l172.5-172.5 114.4 114.5c3.1 3.1 8.2 3.1 11.3 0l297-297.2c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L531 565 416.6 450.5a8.03 8.03 0 00-11.3 0l-214.9 215a8.03 8.03 0 000 11.3l36.7 36.9z`}}]},name:`fund`,theme:`outlined`};function SZ(){return SZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SZ({},e,{ref:t,icon:qwe}))),Ywe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M312.1 591.5c3.1 3.1 8.2 3.1 11.3 0l101.8-101.8 86.1 86.2c3.1 3.1 8.2 3.1 11.3 0l226.3-226.5c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L517 485.3l-86.1-86.2a8.03 8.03 0 00-11.3 0L275.3 543.4a8.03 8.03 0 000 11.3l36.8 36.8z`}},{tag:`path`,attrs:{d:`M904 160H548V96c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H120c-17.7 0-32 14.3-32 32v520c0 17.7 14.3 32 32 32h356.4v32L311.6 884.1a7.92 7.92 0 00-2.3 11l30.3 47.2v.1c2.4 3.7 7.4 4.7 11.1 2.3L512 838.9l161.3 105.8c3.7 2.4 8.7 1.4 11.1-2.3v-.1l30.3-47.2a8 8 0 00-2.3-11L548 776.3V744h356c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 512H160V232h704v440z`}}]},name:`fund-projection-screen`,theme:`outlined`};function CZ(){return CZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,CZ({},e,{ref:t,icon:Ywe}))),Zwe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560z`,fill:e}},{tag:`path`,attrs:{d:`M136 792h752V232H136v560zm56.4-130.5l214.9-215c3.1-3.1 8.2-3.1 11.3 0L533 561l254.5-254.6c3.1-3.1 8.2-3.1 11.3 0l36.8 36.8c3.1 3.1 3.1 8.2 0 11.3l-297 297.2a8.03 8.03 0 01-11.3 0L412.9 537.2 240.4 709.7a8.03 8.03 0 01-11.3 0l-36.7-36.9a8.03 8.03 0 010-11.3z`,fill:t}},{tag:`path`,attrs:{d:`M229.1 709.7c3.1 3.1 8.2 3.1 11.3 0l172.5-172.5 114.4 114.5c3.1 3.1 8.2 3.1 11.3 0l297-297.2c3.1-3.1 3.1-8.2 0-11.3l-36.8-36.8a8.03 8.03 0 00-11.3 0L533 561 418.6 446.5a8.03 8.03 0 00-11.3 0l-214.9 215a8.03 8.03 0 000 11.3l36.7 36.9z`,fill:e}}]}},name:`fund`,theme:`twotone`};function wZ(){return wZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,wZ({},e,{ref:t,icon:Zwe}))),$we={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M956 686.5l-.1-.1-.1-.1C911.7 593 843.4 545 752.5 545s-159.2 48.1-203.4 141.3v.1a42.92 42.92 0 000 36.4C593.3 816 661.6 864 752.5 864s159.2-48.1 203.4-141.3c5.4-11.5 5.4-24.8.1-36.2zM752.5 800c-62.1 0-107.4-30-141.1-95.5C645 639 690.4 609 752.5 609c62.1 0 107.4 30 141.1 95.5C860 770 814.6 800 752.5 800z`}},{tag:`path`,attrs:{d:`M697 705a56 56 0 10112 0 56 56 0 10-112 0zM136 232h704v253h72V192c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v520c0 17.7 14.3 32 32 32h352v-72H136V232z`}},{tag:`path`,attrs:{d:`M724.9 338.1l-36.8-36.8a8.03 8.03 0 00-11.3 0L493 485.3l-86.1-86.2a8.03 8.03 0 00-11.3 0L251.3 543.4a8.03 8.03 0 000 11.3l36.8 36.8c3.1 3.1 8.2 3.1 11.3 0l101.8-101.8 86.1 86.2c3.1 3.1 8.2 3.1 11.3 0l226.3-226.5c3.2-3.1 3.2-8.2 0-11.3z`}}]},name:`fund-view`,theme:`outlined`};function TZ(){return TZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,TZ({},e,{ref:t,icon:$we}))),tTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M336.7 586h350.6l84.9-148H251.8zm543.4-432H143.9c-24.5 0-39.8 26.7-27.5 48L215 374h594l98.7-172c12.2-21.3-3.1-48-27.6-48zM349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V650H349v188z`}}]},name:`funnel-plot`,theme:`filled`};function EZ(){return EZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,EZ({},e,{ref:t,icon:tTe}))),rTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 607.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V607.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V650h182.9v148zm9.6-226.6l-8.4 14.6H419.3l-8.4-14.6L334.4 438h355.2L613 571.4zM726.3 374H297.7l-85-148h598.6l-85 148z`}}]},name:`funnel-plot`,theme:`outlined`};function DZ(){return DZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,DZ({},e,{ref:t,icon:rTe}))),aTe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M420.6 798h182.9V650H420.6zM297.7 374h428.6l85-148H212.7zm113.2 197.4l8.4 14.6h185.3l8.4-14.6L689.6 438H334.4z`,fill:t}},{tag:`path`,attrs:{d:`M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 607.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V607.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.5 798H420.6V650h182.9v148zm9.5-226.6l-8.4 14.6H419.3l-8.4-14.6L334.4 438h355.2L613 571.4zM726.3 374H297.7l-85-148h598.6l-85 148z`,fill:e}}]}},name:`funnel-plot`,theme:`twotone`};function OZ(){return OZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OZ({},e,{ref:t,icon:aTe}))),sTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 392c8.8 0 16-7.2 16-16V192c0-8.8-7.2-16-16-16H744c-8.8 0-16 7.2-16 16v56H296v-56c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v184c0 8.8 7.2 16 16 16h56v240H96c-8.8 0-16 7.2-16 16v184c0 8.8 7.2 16 16 16h184c8.8 0 16-7.2 16-16v-56h432v56c0 8.8 7.2 16 16 16h184c8.8 0 16-7.2 16-16V648c0-8.8-7.2-16-16-16h-56V392h56zM792 240h88v88h-88v-88zm-648 88v-88h88v88h-88zm88 456h-88v-88h88v88zm648-88v88h-88v-88h88zm-80-64h-56c-8.8 0-16 7.2-16 16v56H296v-56c0-8.8-7.2-16-16-16h-56V392h56c8.8 0 16-7.2 16-16v-56h432v56c0 8.8 7.2 16 16 16h56v240z`}}]},name:`gateway`,theme:`outlined`};function kZ(){return kZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,kZ({},e,{ref:t,icon:sTe}))),lTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M944 299H692c-4.4 0-8 3.6-8 8v406c0 4.4 3.6 8 8 8h59.2c4.4 0 8-3.6 8-8V549.9h168.2c4.4 0 8-3.6 8-8V495c0-4.4-3.6-8-8-8H759.2V364.2H944c4.4 0 8-3.6 8-8V307c0-4.4-3.6-8-8-8zm-356 1h-56c-4.4 0-8 3.6-8 8v406c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V308c0-4.4-3.6-8-8-8zM452 500.9H290.5c-4.4 0-8 3.6-8 8v43.7c0 4.4 3.6 8 8 8h94.9l-.3 8.9c-1.2 58.8-45.6 98.5-110.9 98.5-76.2 0-123.9-59.7-123.9-156.7 0-95.8 46.8-155.2 121.5-155.2 54.8 0 93.1 26.9 108.5 75.4h76.2c-13.6-87.2-86-143.4-184.7-143.4C150 288 72 375.2 72 511.9 72 650.2 149.1 736 273 736c114.1 0 187-70.7 187-181.6v-45.5c0-4.4-3.6-8-8-8z`}}]},name:`gif`,theme:`outlined`};function AZ(){return AZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,AZ({},e,{ref:t,icon:lTe}))),dTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M160 894c0 17.7 14.3 32 32 32h286V550H160v344zm386 32h286c17.7 0 32-14.3 32-32V550H546v376zm334-616H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v140h366V310h68v172h366V342c0-17.7-14.3-32-32-32zm-402-4h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70 70 31.4 70 70v70zm138 0h-70v-70c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70z`}}]},name:`gift`,theme:`filled`};function jZ(){return jZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jZ({},e,{ref:t,icon:dTe}))),pTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 310H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v200c0 4.4 3.6 8 8 8h40v344c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V550h40c4.4 0 8-3.6 8-8V342c0-17.7-14.3-32-32-32zm-334-74c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70h-70v-70zm-138-70c38.6 0 70 31.4 70 70v70h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70zM180 482V378h298v104H180zm48 68h250v308H228V550zm568 308H546V550h250v308zm48-376H546V378h298v104z`}}]},name:`gift`,theme:`outlined`};function MZ(){return MZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,MZ({},e,{ref:t,icon:pTe}))),mTe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M546 378h298v104H546zM228 550h250v308H228zm-48-172h298v104H180zm366 172h250v308H546z`,fill:t}},{tag:`path`,attrs:{d:`M880 310H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v200c0 4.4 3.6 8 8 8h40v344c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V550h40c4.4 0 8-3.6 8-8V342c0-17.7-14.3-32-32-32zM478 858H228V550h250v308zm0-376H180V378h298v104zm0-176h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70 70 31.4 70 70v70zm68-70c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70h-70v-70zm250 622H546V550h250v308zm48-376H546V378h298v104z`,fill:e}}]}},name:`gift`,theme:`twotone`};function PZ(){return PZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PZ({},e,{ref:t,icon:mTe}))),gTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z`}}]},name:`github`,theme:`filled`};function FZ(){return FZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,FZ({},e,{ref:t,icon:gTe}))),vTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z`}}]},name:`github`,theme:`outlined`};function IZ(){return IZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,IZ({},e,{ref:t,icon:vTe}))),bTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M910.5 553.2l-109-370.8c-6.8-20.4-23.1-34.1-44.9-34.1s-39.5 12.3-46.3 32.7l-72.2 215.4H386.2L314 181.1c-6.8-20.4-24.5-32.7-46.3-32.7s-39.5 13.6-44.9 34.1L113.9 553.2c-4.1 13.6 1.4 28.6 12.3 36.8l385.4 289 386.7-289c10.8-8.1 16.3-23.1 12.2-36.8z`}}]},name:`gitlab`,theme:`filled`};function LZ(){return LZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LZ({},e,{ref:t,icon:bTe}))),STe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M913.9 552.2L805 181.4v-.1c-7.6-22.9-25.7-36.5-48.3-36.5-23.4 0-42.5 13.5-49.7 35.2l-71.4 213H388.8l-71.4-213c-7.2-21.7-26.3-35.2-49.7-35.2-23.1 0-42.5 14.8-48.4 36.6L110.5 552.2c-4.4 14.7 1.2 31.4 13.5 40.7l368.5 276.4c2.6 3.6 6.2 6.3 10.4 7.8l8.6 6.4 8.5-6.4c4.9-1.7 9-4.7 11.9-8.9l368.4-275.4c12.4-9.2 18-25.9 13.6-40.6zM751.7 193.4c1-1.8 2.9-1.9 3.5-1.9 1.1 0 2.5.3 3.4 3L818 394.3H684.5l67.2-200.9zm-487.4 1c.9-2.6 2.3-2.9 3.4-2.9 2.7 0 2.9.1 3.4 1.7l67.3 201.2H206.5l57.8-200zM158.8 558.7l28.2-97.3 202.4 270.2-230.6-172.9zm73.9-116.4h122.1l90.8 284.3-212.9-284.3zM512.9 776L405.7 442.3H620L512.9 776zm157.9-333.7h119.5L580 723.1l90.8-280.8zm-40.7 293.9l207.3-276.7 29.5 99.2-236.8 177.5z`}}]},name:`gitlab`,theme:`outlined`};function RZ(){return RZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,RZ({},e,{ref:t,icon:STe}))),wTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z`}}]},name:`global`,theme:`outlined`};function zZ(){return zZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,zZ({},e,{ref:t,icon:wTe}))),TTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M905.9 806.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zm-470.2-248c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8z`}}]},name:`gold`,theme:`filled`};function VZ(){return VZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,VZ({},e,{ref:t,icon:TTe}))),DTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8zm91.2-196h159.5l20.7 128h-201l20.8-128zm2.5 282.7c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM196.5 748l20.7-128h159.5l20.7 128H196.5zm709.4 58.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zM626.5 748l20.7-128h159.5l20.7 128H626.5z`}}]},name:`gold`,theme:`outlined`};function HZ(){return HZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,HZ({},e,{ref:t,icon:DTe}))),kTe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M435.7 558.7c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM196.5 748l20.7-128h159.5l20.7 128H196.5zm709.4 58.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zM626.5 748l20.7-128h159.5l20.7 128H626.5zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8zm91.2-196h159.5l20.7 128h-201l20.8-128z`,fill:e}},{tag:`path`,attrs:{d:`M592.7 276H433.2l-20.8 128h201zM217.2 620l-20.7 128h200.9l-20.7-128zm430 0l-20.7 128h200.9l-20.7-128z`,fill:t}}]}},name:`gold`,theme:`twotone`};function UZ(){return UZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UZ({},e,{ref:t,icon:kTe}))),jTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M905.9 806.7l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H596.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.3-.7 7.3-4.8 6.6-9.2zm-470.2-248c-.6-3.9-4-6.7-7.9-6.7H166.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248zM342 472h342c.4 0 .9 0 1.3-.1 4.4-.7 7.3-4.8 6.6-9.2l-40.2-248c-.6-3.9-4-6.7-7.9-6.7H382.2c-3.9 0-7.3 2.8-7.9 6.7l-40.2 248c-.1.4-.1.9-.1 1.3 0 4.4 3.6 8 8 8z`}}]},name:`golden`,theme:`filled`};function WZ(){return WZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,WZ({},e,{ref:t,icon:jTe}))),NTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm167 633.6C638.4 735 583 757 516.9 757c-95.7 0-178.5-54.9-218.8-134.9C281.5 589 272 551.6 272 512s9.5-77 26.1-110.1c40.3-80.1 123.1-135 218.8-135 66 0 121.4 24.3 163.9 63.8L610.6 401c-25.4-24.3-57.7-36.6-93.6-36.6-63.8 0-117.8 43.1-137.1 101-4.9 14.7-7.7 30.4-7.7 46.6s2.8 31.9 7.7 46.6c19.3 57.9 73.3 101 137 101 33 0 61-8.7 82.9-23.4 26-17.4 43.2-43.3 48.9-74H516.9v-94.8h230.7c2.9 16.1 4.4 32.8 4.4 50.1 0 74.7-26.7 137.4-73 180.1z`}}]},name:`google-circle`,theme:`filled`};function GZ(){return GZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,GZ({},e,{ref:t,icon:NTe}))),FTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M881 442.4H519.7v148.5h206.4c-8.9 48-35.9 88.6-76.6 115.8-34.4 23-78.3 36.6-129.9 36.6-99.9 0-184.4-67.5-214.6-158.2-7.6-23-12-47.6-12-72.9s4.4-49.9 12-72.9c30.3-90.6 114.8-158.1 214.7-158.1 56.3 0 106.8 19.4 146.6 57.4l110-110.1c-66.5-62-153.2-100-256.6-100-149.9 0-279.6 86-342.7 211.4-26 51.8-40.8 110.4-40.8 172.4S151 632.8 177 684.6C240.1 810 369.8 896 519.7 896c103.6 0 190.4-34.4 253.8-93 72.5-66.8 114.4-165.2 114.4-282.1 0-27.2-2.4-53.3-6.9-78.5z`}}]},name:`google`,theme:`outlined`};function KZ(){return KZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KZ({},e,{ref:t,icon:FTe}))),LTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm36.5 558.8c-43.9 61.8-132.1 79.8-200.9 53.3-69-26.3-118-99.2-112.1-173.5 1.5-90.9 85.2-170.6 176.1-167.5 43.6-2 84.6 16.9 118 43.6-14.3 16.2-29 31.8-44.8 46.3-40.1-27.7-97.2-35.6-137.3-3.6-57.4 39.7-60 133.4-4.8 176.1 53.7 48.7 155.2 24.5 170.1-50.1-33.6-.5-67.4 0-101-1.1-.1-20.1-.2-40.1-.1-60.2 56.2-.2 112.5-.3 168.8.2 3.3 47.3-3 97.5-32 136.5zM791 536.5c-16.8.2-33.6.3-50.4.4-.2 16.8-.3 33.6-.3 50.4H690c-.2-16.8-.2-33.5-.3-50.3-16.8-.2-33.6-.3-50.4-.5v-50.1c16.8-.2 33.6-.3 50.4-.3.1-16.8.3-33.6.4-50.4h50.2l.3 50.4c16.8.2 33.6.2 50.4.3v50.1z`}}]},name:`google-plus-circle`,theme:`filled`};function qZ(){return qZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,qZ({},e,{ref:t,icon:LTe}))),zTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M879.5 470.4c-.3-27-.4-54.2-.5-81.3h-80.8c-.3 27-.5 54.1-.7 81.3-27.2.1-54.2.3-81.2.6v80.9c27 .3 54.2.5 81.2.8.3 27 .3 54.1.5 81.1h80.9c.1-27 .3-54.1.5-81.3 27.2-.3 54.2-.4 81.2-.7v-80.9c-26.9-.2-54.1-.2-81.1-.5zm-530 .4c-.1 32.3 0 64.7.1 97 54.2 1.8 108.5 1 162.7 1.8-23.9 120.3-187.4 159.3-273.9 80.7-89-68.9-84.8-220 7.7-284 64.7-51.6 156.6-38.9 221.3 5.8 25.4-23.5 49.2-48.7 72.1-74.7-53.8-42.9-119.8-73.5-190-70.3-146.6-4.9-281.3 123.5-283.7 270.2-9.4 119.9 69.4 237.4 180.6 279.8 110.8 42.7 252.9 13.6 323.7-86 46.7-62.9 56.8-143.9 51.3-220-90.7-.7-181.3-.6-271.9-.3z`}}]},name:`google-plus`,theme:`outlined`};function JZ(){return JZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,JZ({},e,{ref:t,icon:zTe}))),VTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM548.5 622.8c-43.9 61.8-132.1 79.8-200.9 53.3-69-26.3-118-99.2-112.1-173.5 1.5-90.9 85.2-170.6 176.1-167.5 43.6-2 84.6 16.9 118 43.6-14.3 16.2-29 31.8-44.8 46.3-40.1-27.7-97.2-35.6-137.3-3.6-57.4 39.7-60 133.4-4.8 176.1 53.7 48.7 155.2 24.5 170.1-50.1-33.6-.5-67.4 0-101-1.1-.1-20.1-.2-40.1-.1-60.2 56.2-.2 112.5-.3 168.8.2 3.3 47.3-3 97.5-32 136.5zM791 536.5c-16.8.2-33.6.3-50.4.4-.2 16.8-.3 33.6-.3 50.4H690c-.2-16.8-.2-33.5-.3-50.3-16.8-.2-33.6-.3-50.4-.5v-50.1c16.8-.2 33.6-.3 50.4-.3.1-16.8.3-33.6.4-50.4h50.2l.3 50.4c16.8.2 33.6.2 50.4.3v50.1z`}}]},name:`google-plus-square`,theme:`filled`};function YZ(){return YZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YZ({},e,{ref:t,icon:VTe}))),UTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM679 697.6C638.4 735 583 757 516.9 757c-95.7 0-178.5-54.9-218.8-134.9A245.02 245.02 0 01272 512c0-39.6 9.5-77 26.1-110.1 40.3-80.1 123.1-135 218.8-135 66 0 121.4 24.3 163.9 63.8L610.6 401c-25.4-24.3-57.7-36.6-93.6-36.6-63.8 0-117.8 43.1-137.1 101-4.9 14.7-7.7 30.4-7.7 46.6s2.8 31.9 7.7 46.6c19.3 57.9 73.3 101 137 101 33 0 61-8.7 82.9-23.4 26-17.4 43.2-43.3 48.9-74H516.9v-94.8h230.7c2.9 16.1 4.4 32.8 4.4 50.1 0 74.7-26.7 137.4-73 180.1z`}}]},name:`google-square`,theme:`filled`};function XZ(){return XZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,XZ({},e,{ref:t,icon:UTe}))),GTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M912 820.1V203.9c28-9.9 48-36.6 48-67.9 0-39.8-32.2-72-72-72-31.3 0-58 20-67.9 48H203.9C194 84 167.3 64 136 64c-39.8 0-72 32.2-72 72 0 31.3 20 58 48 67.9v616.2C84 830 64 856.7 64 888c0 39.8 32.2 72 72 72 31.3 0 58-20 67.9-48h616.2c9.9 28 36.6 48 67.9 48 39.8 0 72-32.2 72-72 0-31.3-20-58-48-67.9zM888 112c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 912c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0-752c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm704 680H184V184h656v656zm48 72c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z`}},{tag:`path`,attrs:{d:`M288 474h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16zm56-136h336v64H344v-64zm-56 420h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16zm56-136h336v64H344v-64z`}}]},name:`group`,theme:`outlined`};function ZZ(){return ZZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,ZZ({},e,{ref:t,icon:GTe}))),qTe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M511.5 65C719.99 65 889 234.01 889 442.5S719.99 820 511.5 820 134 650.99 134 442.5 303.01 65 511.5 65m0 64C338.36 129 198 269.36 198 442.5S338.36 756 511.5 756 825 615.64 825 442.5 684.64 129 511.5 129M745 889v72H278v-72z`}}]},name:`harmony-o-s`,theme:`outlined`};function QZ(){return QZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QZ({},e,{ref:t,icon:qTe}))),YTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v224h704V96c0-17.7-14.3-32-32-32zM456 216c0 4.4-3.6 8-8 8H264c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zM160 928c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V704H160v224zm576-136c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM160 640h704V384H160v256zm96-152c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H264c-4.4 0-8-3.6-8-8v-48z`}}]},name:`hdd`,theme:`filled`};function $Z(){return $Z=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$Z({},e,{ref:t,icon:YTe}))),ZTe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM496 208H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 244a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`hdd`,theme:`outlined`};function eQ(){return eQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,eQ({},e,{ref:t,icon:ZTe}))),$Te={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M232 888h560V680H232v208zm448-140c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 616h560V408H232v208zm72-128c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H312c-4.4 0-8-3.6-8-8v-48zm-72-144h560V136H232v208zm72-128c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H312c-4.4 0-8-3.6-8-8v-48z`,fill:t}},{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z`,fill:e}},{tag:`path`,attrs:{d:`M312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-272h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 516a40 40 0 1080 0 40 40 0 10-80 0z`,fill:e}}]}},name:`hdd`,theme:`twotone`};function tQ(){return tQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,tQ({},e,{ref:t,icon:$Te}))),tEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z`}}]},name:`heart`,theme:`filled`};function nQ(){return nQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,nQ({},e,{ref:t,icon:tEe}))),rEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z`}}]},name:`heart`,theme:`outlined`};function rQ(){return rQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,rQ({},e,{ref:t,icon:rEe}))),iEe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z`,fill:e}},{tag:`path`,attrs:{d:`M679.7 201c-73.1 0-136.5 40.8-167.7 100.4C480.8 241.8 417.4 201 344.3 201c-104 0-188.3 82.6-188.3 184.5 0 201.2 356 429.3 356 429.3s356-228.1 356-429.3C868 283.6 783.7 201 679.7 201z`,fill:t}}]}},name:`heart`,theme:`twotone`};function aQ(){return aQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,aQ({},e,{ref:t,icon:iEe}))),oEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-790.4-23.9L512 231.9 858.7 832H165.3zm319-474.1l-228 394c-12.3 21.3 3.1 48 27.7 48h455.8c24.7 0 40.1-26.7 27.7-48L539.7 358c-6.2-10.7-17-16-27.7-16-10.8 0-21.6 5.3-27.7 16zm214 386H325.7L512 422l186.3 322zm-214-194.1l-57 98.4C415 669.5 430.4 696 455 696h114c24.6 0 39.9-26.5 27.7-47.7l-57-98.4c-6.1-10.6-16.9-15.9-27.7-15.9s-21.5 5.3-27.7 15.9zm57.1 98.4h-58.7l29.4-50.7 29.3 50.7z`}}]},name:`heat-map`,theme:`outlined`};function oQ(){return oQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,oQ({},e,{ref:t,icon:oEe}))),cEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M957.6 507.4L603.2 158.2a7.9 7.9 0 00-11.2 0L353.3 393.4a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2z`}}]},name:`highlight`,theme:`filled`};function sQ(){return sQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,sQ({},e,{ref:t,icon:cEe}))),uEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M957.6 507.4L603.2 158.2a7.9 7.9 0 00-11.2 0L353.3 393.4a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.2H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.2l68.6-67.6 171.4 168.9-68.6 67.6zM713.1 658L450.3 399.1 597.6 254l262.8 259-147.3 145z`}}]},name:`highlight`,theme:`outlined`};function cQ(){return cQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,cQ({},e,{ref:t,icon:uEe}))),dEe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M229.6 796.3h160.2l54.3-54.1-80.1-78.9zm220.7-397.1l262.8 258.9 147.3-145-262.8-259zm-77.1 166.1l171.4 168.9 68.6-67.6-171.4-168.9z`,fill:t}},{tag:`path`,attrs:{d:`M957.6 507.5L603.2 158.3a7.9 7.9 0 00-11.2 0L353.3 393.5a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8v55.2c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6L539 830a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.3H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.3l68.6-67.6 171.4 168.9-68.6 67.6zm168.5-76.1L450.3 399.2l147.3-145.1 262.8 259-147.3 145z`,fill:e}}]}},name:`highlight`,theme:`twotone`};function uQ(){return uQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,uQ({},e,{ref:t,icon:dEe}))),pEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z`}}]},name:`history`,theme:`outlined`};function dQ(){return dQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,dQ({},e,{ref:t,icon:pEe}))),mEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M946.5 505L534.6 93.4a31.93 31.93 0 00-45.2 0L77.5 505c-12 12-18.8 28.3-18.8 45.3 0 35.3 28.7 64 64 64h43.4V908c0 17.7 14.3 32 32 32H448V716h112v224h265.9c17.7 0 32-14.3 32-32V614.3h43.4c17 0 33.3-6.7 45.3-18.8 24.9-25 24.9-65.5-.1-90.5z`}}]},name:`home`,theme:`filled`};function pQ(){return pQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,pQ({},e,{ref:t,icon:mEe}))),gEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z`}}]},name:`home`,theme:`outlined`};function mQ(){return mQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,mQ({},e,{ref:t,icon:gEe}))),_Ee={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512.1 172.6l-370 369.7h96V868H392V640c0-22.1 17.9-40 40-40h160c22.1 0 40 17.9 40 40v228h153.9V542.3H882L535.2 195.7l-23.1-23.1zm434.5 422.9c-6 6-13.1 10.8-20.8 13.9 7.7-3.2 14.8-7.9 20.8-13.9zm-887-34.7c5 30.3 31.4 53.5 63.1 53.5h.9c-31.9 0-58.9-23-64-53.5zm-.9-10.5v-1.9 1.9zm.1-2.6c.1-3.1.5-6.1 1-9.1-.6 2.9-.9 6-1 9.1z`,fill:t}},{tag:`path`,attrs:{d:`M951 510c0-.1-.1-.1-.1-.2l-1.8-2.1c-.1-.1-.2-.3-.4-.4-.7-.8-1.5-1.6-2.2-2.4L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.6 63.6 0 00-16 26.6l-.6 2.1-.3 1.1-.3 1.2c-.2.7-.3 1.4-.4 2.1 0 .1 0 .3-.1.4-.6 3-.9 6-1 9.1v3.3c0 .5 0 1 .1 1.5 0 .5 0 .9.1 1.4 0 .5.1 1 .1 1.5 0 .6.1 1.2.2 1.8 0 .3.1.6.1.9l.3 2.5v.1c5.1 30.5 32.2 53.5 64 53.5h42.5V940h691.7V614.3h43.4c8.6 0 16.9-1.7 24.5-4.9s14.7-7.9 20.8-13.9a63.6 63.6 0 0018.7-45.3c0-14.7-5-28.8-14.3-40.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z`,fill:e}}]}},name:`home`,theme:`twotone`};function gQ(){return gQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,gQ({},e,{ref:t,icon:_Ee}))),yEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194z`}}]},name:`hourglass`,theme:`filled`};function _Q(){return _Q=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_Q({},e,{ref:t,icon:yEe}))),xEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194zm-72 388v134H354V706c0-42.2 16.4-81.9 46.3-111.7C430.1 564.4 469.8 548 512 548s81.9 16.4 111.7 46.3C653.6 624.1 670 663.8 670 706zm0-388c0 42.2-16.4 81.9-46.3 111.7C593.9 459.6 554.2 476 512 476s-81.9-16.4-111.7-46.3A156.63 156.63 0 01354 318V184h316v134z`}}]},name:`hourglass`,theme:`outlined`};function vQ(){return vQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,vQ({},e,{ref:t,icon:xEe}))),CEe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 548c-42.2 0-81.9 16.4-111.7 46.3A156.63 156.63 0 00354 706v134h316V706c0-42.2-16.4-81.9-46.3-111.7A156.63 156.63 0 00512 548zM354 318c0 42.2 16.4 81.9 46.3 111.7C430.1 459.6 469.8 476 512 476s81.9-16.4 111.7-46.3C653.6 399.9 670 360.2 670 318V184H354v134z`,fill:t}},{tag:`path`,attrs:{d:`M742 318V184h86c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h86v134c0 81.5 42.4 153.2 106.4 194-64 40.8-106.4 112.5-106.4 194v134h-86c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h632c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-86V706c0-81.5-42.4-153.2-106.4-194 64-40.8 106.4-112.5 106.4-194zm-72 388v134H354V706c0-42.2 16.4-81.9 46.3-111.7C430.1 564.4 469.8 548 512 548s81.9 16.4 111.7 46.3C653.6 624.1 670 663.8 670 706zm0-388c0 42.2-16.4 81.9-46.3 111.7C593.9 459.6 554.2 476 512 476s-81.9-16.4-111.7-46.3A156.63 156.63 0 01354 318V184h316v134z`,fill:e}}]}},name:`hourglass`,theme:`twotone`};function yQ(){return yQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,yQ({},e,{ref:t,icon:CEe}))),TEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M145.2 96l66 746.6L512 928l299.6-85.4L878.9 96H145.2zm595 177.1l-4.8 47.2-1.7 19.5H382.3l8.2 94.2h335.1l-3.3 24.3-21.2 242.2-1.7 16.2-187 51.6v.3h-1.2l-.3.1v-.1h-.1l-188.6-52L310.8 572h91.1l6.5 73.2 102.4 27.7h.4l102-27.6 11.4-118.6H510.9v-.1H306l-22.8-253.5-1.7-24.3h460.3l-1.6 24.3z`}}]},name:`html5`,theme:`filled`};function bQ(){return bQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,bQ({},e,{ref:t,icon:TEe}))),DEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2zM281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z`}}]},name:`html5`,theme:`outlined`};function xQ(){return xQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,xQ({},e,{ref:t,icon:DEe}))),kEe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2z`,fill:e}},{tag:`path`,attrs:{d:`M209.9 155.4l56.7 641.2 245.2 69.6 244.1-69.6 57.8-641.2H209.9zm530.4 117.9l-4.8 47.2-1.7 19.5H381.7l8.2 94.2H511v-.2h214.7l-3.2 24.3-21.2 242.2-1.7 16.3-187.7 51.7v.4h-1.7l-188.6-52-11.3-144.7h91l6.5 73.2 102.4 27.7h.8v-.2l102.4-27.7 11.4-118.5H511.9v.1H305.4l-22.7-253.5L281 249h461l-1.7 24.3z`,fill:t}},{tag:`path`,attrs:{d:`M281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z`,fill:e}}]}},name:`html5`,theme:`twotone`};function SQ(){return SQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,SQ({},e,{ref:t,icon:kEe}))),jEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M373 411c-28.5 0-51.7 23.3-51.7 52s23.2 52 51.7 52 51.7-23.3 51.7-52-23.2-52-51.7-52zm555-251H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM608 420c0-4.4 1-8 2.3-8h123.4c1.3 0 2.3 3.6 2.3 8v48c0 4.4-1 8-2.3 8H610.3c-1.3 0-2.3-3.6-2.3-8v-48zm-86 253h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H224a8 8 0 01-8-8.4c2.8-53.3 32-99.7 74.6-126.1a111.8 111.8 0 01-29.1-75.5c0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.5-29.1 75.5 42.7 26.5 71.8 72.8 74.6 126.1.4 4.6-3.2 8.4-7.8 8.4zm278.9-53H615.1c-3.9 0-7.1-3.6-7.1-8v-48c0-4.4 3.2-8 7.1-8h185.7c3.9 0 7.1 3.6 7.1 8v48h.1c0 4.4-3.2 8-7.1 8z`}}]},name:`idcard`,theme:`filled`};function CQ(){return CQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,CQ({},e,{ref:t,icon:jEe}))),NEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560zM610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z`}}]},name:`idcard`,theme:`outlined`};function wQ(){return wQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,wQ({},e,{ref:t,icon:NEe}))),PEe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560z`,fill:e}},{tag:`path`,attrs:{d:`M136 792h752V232H136v560zm472-372c0-4.4 1-8 2.3-8h123.4c1.3 0 2.3 3.6 2.3 8v48c0 4.4-1 8-2.3 8H610.3c-1.3 0-2.3-3.6-2.3-8v-48zm0 144c0-4.4 3.2-8 7.1-8h185.7c3.9 0 7.1 3.6 7.1 8v48c0 4.4-3.2 8-7.1 8H615.1c-3.9 0-7.1-3.6-7.1-8v-48zM216.2 664.6c2.8-53.3 31.9-99.6 74.6-126.1-18.1-20-29.1-46.4-29.1-75.5 0-61.9 49.9-112 111.4-112s111.4 50.1 111.4 112c0 29.1-11 55.6-29.1 75.5 42.6 26.4 71.8 72.8 74.6 126.1a8 8 0 01-8 8.4h-43.9c-4.2 0-7.6-3.3-7.9-7.5-3.8-50.5-46-90.5-97.2-90.5s-93.4 40-97.2 90.5c-.3 4.2-3.7 7.5-7.9 7.5H224c-4.6 0-8.2-3.8-7.8-8.4z`,fill:t}},{tag:`path`,attrs:{d:`M321.3 463a51.7 52 0 10103.4 0 51.7 52 0 10-103.4 0z`,fill:t}},{tag:`path`,attrs:{d:`M610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z`,fill:e}}]}},name:`idcard`,theme:`twotone`};function EQ(){return EQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,EQ({},e,{ref:t,icon:PEe}))),IEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M693.6 284.4c-24 0-51.1 11.7-72.6 22 46.3 18 86 57.3 112.3 99.6 7.1-18.9 14.6-47.9 14.6-67.9 0-32-22.8-53.7-54.3-53.7zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm253.9 492.9H437.1c0 100.4 144.3 136 196.8 47.4h120.8c-32.6 91.7-119.7 146-216.8 146-35.1 0-70.3-.1-101.7-15.6-87.4 44.5-180.3 56.6-180.3-42 0-45.8 23.2-107.1 44-145C335 484 381.3 422.8 435.6 374.5c-43.7 18.9-91.1 66.3-122 101.2 25.9-112.8 129.5-193.6 237.1-186.5 130-59.8 209.7-34.1 209.7 38.6 0 27.4-10.6 63.3-21.4 87.9 25.2 45.5 33.3 97.6 26.9 141.2zM540.5 399.1c-53.7 0-102 39.7-104 94.9h208c-2-55.1-50.6-94.9-104-94.9zM320.6 602.9c-73 152.4 11.5 172.2 100.3 123.3-46.6-27.5-82.6-72.2-100.3-123.3z`}}]},name:`ie-circle`,theme:`filled`};function DQ(){return DQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,DQ({},e,{ref:t,icon:IEe}))),REe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M852.6 367.6c16.3-36.9 32.1-90.7 32.1-131.8 0-109.1-119.5-147.6-314.5-57.9-161.4-10.8-316.8 110.5-355.6 279.7 46.3-52.3 117.4-123.4 183-151.7C316.1 378.3 246.7 470 194 565.6c-31.1 56.9-66 148.8-66 217.5 0 147.9 139.3 129.8 270.4 63 47.1 23.1 99.8 23.4 152.5 23.4 145.7 0 276.4-81.4 325.2-219H694.9c-78.8 132.9-295.2 79.5-295.2-71.2h493.2c9.6-65.4-2.5-143.6-40.3-211.7zM224.8 648.3c26.6 76.7 80.6 143.8 150.4 185-133.1 73.4-259.9 43.6-150.4-185zm174-163.3c3-82.7 75.4-142.3 156-142.3 80.1 0 153 59.6 156 142.3h-312zm276.8-281.4c32.1-15.4 72.8-33 108.8-33 47.1 0 81.4 32.6 81.4 80.6 0 30-11.1 73.5-21.9 101.8-39.3-63.5-98.9-122.4-168.3-149.4z`}}]},name:`ie`,theme:`outlined`};function OQ(){return OQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,OQ({},e,{ref:t,icon:REe}))),BEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM765.9 556.9H437.1c0 100.4 144.3 136 196.8 47.4h120.8c-32.6 91.7-119.7 146-216.8 146-35.1 0-70.3-.1-101.7-15.6-87.4 44.5-180.3 56.6-180.3-42 0-45.8 23.2-107.1 44-145C335 484 381.3 422.8 435.6 374.5c-43.7 18.9-91.1 66.3-122 101.2 25.9-112.8 129.5-193.6 237.1-186.5 130-59.8 209.7-34.1 209.7 38.6 0 27.4-10.6 63.3-21.4 87.9 25.2 45.5 33.3 97.6 26.9 141.2zm-72.3-272.5c-24 0-51.1 11.7-72.6 22 46.3 18 86 57.3 112.3 99.6 7.1-18.9 14.6-47.9 14.6-67.9 0-32-22.8-53.7-54.3-53.7zM540.5 399.1c-53.7 0-102 39.7-104 94.9h208c-2-55.1-50.6-94.9-104-94.9zM320.6 602.9c-73 152.4 11.5 172.2 100.3 123.3-46.6-27.5-82.6-72.2-100.3-123.3z`}}]},name:`ie-square`,theme:`filled`};function kQ(){return kQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,kQ({},e,{ref:t,icon:BEe}))),HEe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM653.3 424.6l52.2 52.2a8.01 8.01 0 01-4.7 13.6l-179.4 21c-5.1.6-9.5-3.7-8.9-8.9l21-179.4c.8-6.6 8.9-9.4 13.6-4.7l52.4 52.4 256.2-256.2c3.1-3.1 8.2-3.1 11.3 0l42.4 42.4c3.1 3.1 3.1 8.2 0 11.3L653.3 424.6z`}}]},name:`import`,theme:`outlined`};function AQ(){return AQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,AQ({},e,{ref:t,icon:HEe}))),WEe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z`}}]},name:`inbox`,theme:`outlined`};function jQ(){return jQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,jQ({},e,{ref:t,icon:WEe}))),KEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z`}}]},name:`info-circle`,theme:`outlined`};function MQ(){return MQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,MQ({},e,{ref:t,icon:KEe}))),JEe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm32 588c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`,fill:t}},{tag:`path`,attrs:{d:`M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`info-circle`,theme:`twotone`};function NQ(){return NQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,NQ({},e,{ref:t,icon:JEe}))),XEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M448 224a64 64 0 10128 0 64 64 0 10-128 0zm96 168h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V400c0-4.4-3.6-8-8-8z`}}]},name:`info`,theme:`outlined`};function PQ(){return PQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,PQ({},e,{ref:t,icon:XEe}))),QEe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M878.7 336H145.3c-18.4 0-33.3 14.3-33.3 32v464c0 17.7 14.9 32 33.3 32h733.3c18.4 0 33.3-14.3 33.3-32V368c.1-17.7-14.8-32-33.2-32zM360 792H184V632h176v160zm0-224H184V408h176v160zm240 224H424V632h176v160zm0-224H424V408h176v160zm240 224H664V632h176v160zm0-224H664V408h176v160zm64-408H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8z`}}]},name:`insert-row-above`,theme:`outlined`};function FQ(){return FQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,FQ({},e,{ref:t,icon:QEe}))),eDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M904 768H120c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8zm-25.3-608H145.3c-18.4 0-33.3 14.3-33.3 32v464c0 17.7 14.9 32 33.3 32h733.3c18.4 0 33.3-14.3 33.3-32V192c.1-17.7-14.8-32-33.2-32zM360 616H184V456h176v160zm0-224H184V232h176v160zm240 224H424V456h176v160zm0-224H424V232h176v160zm240 224H664V456h176v160zm0-224H664V232h176v160z`}}]},name:`insert-row-below`,theme:`outlined`};function IQ(){return IQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,IQ({},e,{ref:t,icon:eDe}))),nDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M248 112h-80c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8zm584 0H368c-17.7 0-32 14.9-32 33.3v733.3c0 18.4 14.3 33.3 32 33.3h464c17.7 0 32-14.9 32-33.3V145.3c0-18.4-14.3-33.3-32-33.3zM568 840H408V664h160v176zm0-240H408V424h160v176zm0-240H408V184h160v176zm224 480H632V664h160v176zm0-240H632V424h160v176zm0-240H632V184h160v176z`}}]},name:`insert-row-left`,theme:`outlined`};function LQ(){return LQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,LQ({},e,{ref:t,icon:nDe}))),iDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M856 112h-80c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V120c0-4.4-3.6-8-8-8zm-200 0H192c-17.7 0-32 14.9-32 33.3v733.3c0 18.4 14.3 33.3 32 33.3h464c17.7 0 32-14.9 32-33.3V145.3c0-18.4-14.3-33.3-32-33.3zM392 840H232V664h160v176zm0-240H232V424h160v176zm0-240H232V184h160v176zm224 480H456V664h160v176zm0-240H456V424h160v176zm0-240H456V184h160v176z`}}]},name:`insert-row-right`,theme:`outlined`};function RQ(){return RQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,RQ({},e,{ref:t,icon:iDe}))),oDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 378.7c-73.4 0-133.3 59.9-133.3 133.3S438.6 645.3 512 645.3 645.3 585.4 645.3 512 585.4 378.7 512 378.7zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zM512 717.1c-113.5 0-205.1-91.6-205.1-205.1S398.5 306.9 512 306.9 717.1 398.5 717.1 512 625.5 717.1 512 717.1zm213.5-370.7c-26.5 0-47.9-21.4-47.9-47.9s21.4-47.9 47.9-47.9 47.9 21.4 47.9 47.9a47.84 47.84 0 01-47.9 47.9z`}}]},name:`instagram`,theme:`filled`};function zQ(){return zQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,zQ({},e,{ref:t,icon:oDe}))),cDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 306.9c-113.5 0-205.1 91.6-205.1 205.1S398.5 717.1 512 717.1 717.1 625.5 717.1 512 625.5 306.9 512 306.9zm0 338.4c-73.4 0-133.3-59.9-133.3-133.3S438.6 378.7 512 378.7 645.3 438.6 645.3 512 585.4 645.3 512 645.3zm213.5-394.6c-26.5 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9 47.9-21.3 47.9-47.9a47.84 47.84 0 00-47.9-47.9zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zm-88 235.8c-7.3 18.2-16.1 31.8-30.2 45.8-14.1 14.1-27.6 22.9-45.8 30.2C695.2 844.7 570.3 840 512 840c-58.3 0-183.3 4.7-235.9-16.1-18.2-7.3-31.8-16.1-45.8-30.2-14.1-14.1-22.9-27.6-30.2-45.8C179.3 695.2 184 570.3 184 512c0-58.3-4.7-183.3 16.1-235.9 7.3-18.2 16.1-31.8 30.2-45.8s27.6-22.9 45.8-30.2C328.7 179.3 453.7 184 512 184s183.3-4.7 235.9 16.1c18.2 7.3 31.8 16.1 45.8 30.2 14.1 14.1 22.9 27.6 30.2 45.8C844.7 328.7 840 453.7 840 512c0 58.3 4.7 183.2-16.2 235.8z`}}]},name:`instagram`,theme:`outlined`};function BQ(){return BQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,BQ({},e,{ref:t,icon:cDe}))),uDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M519.9 358.8h97.9v41.6h-97.9zm347-188.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM411.3 656h-.2c0 4.4-3.6 8-8 8h-37.3c-4.4 0-8-3.6-8-8V471.4c-7.7 9.2-15.4 17.9-23.1 26a6.04 6.04 0 01-10.2-2.4l-13.2-43.5c-.6-2-.2-4.1 1.2-5.6 37-43.4 64.7-95.1 82.2-153.6 1.1-3.5 5-5.3 8.4-3.7l38.6 18.3c2.7 1.3 4.1 4.4 3.2 7.2a429.2 429.2 0 01-33.6 79V656zm296.5-49.2l-26.3 35.3a5.92 5.92 0 01-8.9.7c-30.6-29.3-56.8-65.2-78.1-106.9V656c0 4.4-3.6 8-8 8h-36.2c-4.4 0-8-3.6-8-8V536c-22 44.7-49 80.8-80.6 107.6a5.9 5.9 0 01-8.9-1.4L430 605.7a6 6 0 011.6-8.1c28.6-20.3 51.9-45.2 71-76h-55.1c-4.4 0-8-3.6-8-8V478c0-4.4 3.6-8 8-8h94.9v-18.6h-65.9c-4.4 0-8-3.6-8-8V316c0-4.4 3.6-8 8-8h184.7c4.4 0 8 3.6 8 8v127.2c0 4.4-3.6 8-8 8h-66.7v18.6h98.8c4.4 0 8 3.6 8 8v35.6c0 4.4-3.6 8-8 8h-59c18.1 29.1 41.8 54.3 72.3 76.9 2.6 2.1 3.2 5.9 1.2 8.5z`}}]},name:`insurance`,theme:`filled`};function VQ(){return VQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,VQ({},e,{ref:t,icon:uDe}))),fDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M441.6 306.8L403 288.6a6.1 6.1 0 00-8.4 3.7c-17.5 58.5-45.2 110.1-82.2 153.6a6.05 6.05 0 00-1.2 5.6l13.2 43.5c1.3 4.4 7 5.7 10.2 2.4 7.7-8.1 15.4-16.9 23.1-26V656c0 4.4 3.6 8 8 8H403c4.4 0 8-3.6 8-8V393.1a429.2 429.2 0 0033.6-79c1-2.9-.3-6-3-7.3zm26.8 9.2v127.2c0 4.4 3.6 8 8 8h65.9v18.6h-94.9c-4.4 0-8 3.6-8 8v35.6c0 4.4 3.6 8 8 8h55.1c-19.1 30.8-42.4 55.7-71 76a6 6 0 00-1.6 8.1l22.8 36.5c1.9 3.1 6.2 3.8 8.9 1.4 31.6-26.8 58.7-62.9 80.6-107.6v120c0 4.4 3.6 8 8 8h36.2c4.4 0 8-3.6 8-8V536c21.3 41.7 47.5 77.5 78.1 106.9 2.6 2.5 6.8 2.1 8.9-.7l26.3-35.3c2-2.7 1.4-6.5-1.2-8.4-30.5-22.6-54.2-47.8-72.3-76.9h59c4.4 0 8-3.6 8-8V478c0-4.4-3.6-8-8-8h-98.8v-18.6h66.7c4.4 0 8-3.6 8-8V316c0-4.4-3.6-8-8-8H476.4c-4.4 0-8 3.6-8 8zm51.5 42.8h97.9v41.6h-97.9v-41.6zm347-188.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z`}}]},name:`insurance`,theme:`outlined`};function HQ(){return HQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,HQ({},e,{ref:t,icon:fDe}))),mDe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z`,fill:e}},{tag:`path`,attrs:{d:`M521.9 358.8h97.9v41.6h-97.9z`,fill:t}},{tag:`path`,attrs:{d:`M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM413.3 656h-.2c0 4.4-3.6 8-8 8h-37.3c-4.4 0-8-3.6-8-8V471.4c-7.7 9.2-15.4 17.9-23.1 26a6.04 6.04 0 01-10.2-2.4l-13.2-43.5c-.6-2-.2-4.1 1.2-5.6 37-43.4 64.7-95.1 82.2-153.6 1.1-3.5 5-5.3 8.4-3.7l38.6 18.3c2.7 1.3 4.1 4.4 3.2 7.2a429.2 429.2 0 01-33.6 79V656zm257.9-340v127.2c0 4.4-3.6 8-8 8h-66.7v18.6h98.8c4.4 0 8 3.6 8 8v35.6c0 4.4-3.6 8-8 8h-59c18.1 29.1 41.8 54.3 72.3 76.9 2.6 2.1 3.2 5.9 1.2 8.5l-26.3 35.3a5.92 5.92 0 01-8.9.7c-30.6-29.3-56.8-65.2-78.1-106.9V656c0 4.4-3.6 8-8 8h-36.2c-4.4 0-8-3.6-8-8V536c-22 44.7-49 80.8-80.6 107.6a6.38 6.38 0 01-4.8 1.4c-1.7-.3-3.2-1.3-4.1-2.8L432 605.7a6 6 0 011.6-8.1c28.6-20.3 51.9-45.2 71-76h-55.1c-4.4 0-8-3.6-8-8V478c0-4.4 3.6-8 8-8h94.9v-18.6h-65.9c-4.4 0-8-3.6-8-8V316c0-4.4 3.6-8 8-8h184.7c4.4 0 8 3.6 8 8z`,fill:t}},{tag:`path`,attrs:{d:`M443.7 306.9l-38.6-18.3c-3.4-1.6-7.3.2-8.4 3.7-17.5 58.5-45.2 110.2-82.2 153.6a5.7 5.7 0 00-1.2 5.6l13.2 43.5c1.4 4.5 7 5.8 10.2 2.4 7.7-8.1 15.4-16.8 23.1-26V656c0 4.4 3.6 8 8 8h37.3c4.4 0 8-3.6 8-8h.2V393.1a429.2 429.2 0 0033.6-79c.9-2.8-.5-5.9-3.2-7.2zm26.8 9.1v127.4c0 4.4 3.6 8 8 8h65.9V470h-94.9c-4.4 0-8 3.6-8 8v35.6c0 4.4 3.6 8 8 8h55.1c-19.1 30.8-42.4 55.7-71 76a6 6 0 00-1.6 8.1l22.8 36.5c.9 1.5 2.4 2.5 4.1 2.8 1.7.3 3.5-.2 4.8-1.4 31.6-26.8 58.6-62.9 80.6-107.6v120c0 4.4 3.6 8 8 8h36.2c4.4 0 8-3.6 8-8V535.9c21.3 41.7 47.5 77.6 78.1 106.9 2.6 2.5 6.7 2.2 8.9-.7l26.3-35.3c2-2.6 1.4-6.4-1.2-8.5-30.5-22.6-54.2-47.8-72.3-76.9h59c4.4 0 8-3.6 8-8v-35.6c0-4.4-3.6-8-8-8h-98.8v-18.6h66.7c4.4 0 8-3.6 8-8V316c0-4.4-3.6-8-8-8H478.5c-4.4 0-8 3.6-8 8zm51.4 42.8h97.9v41.6h-97.9v-41.6z`,fill:e}}]}},name:`insurance`,theme:`twotone`};function UQ(){return UQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,UQ({},e,{ref:t,icon:mDe}))),gDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM726 585.7c0 55.3-44.7 100.1-99.7 100.1H420.6v53.4c0 5.7-6.5 8.8-10.9 5.3l-109.1-85.7c-3.5-2.7-3.5-8 0-10.7l109.1-85.7c4.4-3.5 10.9-.3 10.9 5.3v53.4h205.7c19.6 0 35.5-16 35.5-35.6v-78.9c0-3.7 3-6.8 6.8-6.8h50.7c3.7 0 6.8 3 6.8 6.8v79.1zm-2.6-209.9l-109.1 85.7c-4.4 3.5-10.9.3-10.9-5.3v-53.4H397.7c-19.6 0-35.5 16-35.5 35.6v78.9c0 3.7-3 6.8-6.8 6.8h-50.7c-3.7 0-6.8-3-6.8-6.8v-78.9c0-55.3 44.7-100.1 99.7-100.1h205.7v-53.4c0-5.7 6.5-8.8 10.9-5.3l109.1 85.7c3.6 2.5 3.6 7.8.1 10.5z`}}]},name:`interaction`,theme:`filled`};function WQ(){return WQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,WQ({},e,{ref:t,icon:gDe}))),vDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM304.8 524h50.7c3.7 0 6.8-3 6.8-6.8v-78.9c0-19.7 15.9-35.6 35.5-35.6h205.7v53.4c0 5.7 6.5 8.8 10.9 5.3l109.1-85.7c3.5-2.7 3.5-8 0-10.7l-109.1-85.7c-4.4-3.5-10.9-.3-10.9 5.3V338H397.7c-55.1 0-99.7 44.8-99.7 100.1V517c0 4 3 7 6.8 7zm-4.2 134.9l109.1 85.7c4.4 3.5 10.9.3 10.9-5.3v-53.4h205.7c55.1 0 99.7-44.8 99.7-100.1v-78.9c0-3.7-3-6.8-6.8-6.8h-50.7c-3.7 0-6.8 3-6.8 6.8v78.9c0 19.7-15.9 35.6-35.5 35.6H420.6V568c0-5.7-6.5-8.8-10.9-5.3l-109.1 85.7c-3.5 2.5-3.5 7.8 0 10.5z`}}]},name:`interaction`,theme:`outlined`};function GQ(){return GQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,GQ({},e,{ref:t,icon:vDe}))),bDe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm114-401.9c0-55.3 44.6-100.1 99.7-100.1h205.8v-53.4c0-5.6 6.5-8.8 10.9-5.3L723.5 365c3.5 2.7 3.5 8 0 10.7l-109.1 85.7c-4.4 3.5-10.9.4-10.9-5.3v-53.4H397.8c-19.6 0-35.5 15.9-35.5 35.6v78.9c0 3.8-3.1 6.8-6.8 6.8h-50.7c-3.8 0-6.8-3-6.8-7v-78.9zm2.6 210.3l109.1-85.7c4.4-3.5 10.9-.4 10.9 5.3v53.4h205.6c19.6 0 35.5-15.9 35.5-35.6v-78.9c0-3.8 3.1-6.8 6.8-6.8h50.7c3.8 0 6.8 3.1 6.8 6.8v78.9c0 55.3-44.6 100.1-99.7 100.1H420.6v53.4c0 5.6-6.5 8.8-10.9 5.3l-109.1-85.7c-3.5-2.7-3.5-8 0-10.5z`,fill:t}},{tag:`path`,attrs:{d:`M304.8 524h50.7c3.7 0 6.8-3 6.8-6.8v-78.9c0-19.7 15.9-35.6 35.5-35.6h205.7v53.4c0 5.7 6.5 8.8 10.9 5.3l109.1-85.7c3.5-2.7 3.5-8 0-10.7l-109.1-85.7c-4.4-3.5-10.9-.3-10.9 5.3V338H397.7c-55.1 0-99.7 44.8-99.7 100.1V517c0 4 3 7 6.8 7zm-4.2 134.9l109.1 85.7c4.4 3.5 10.9.3 10.9-5.3v-53.4h205.7c55.1 0 99.7-44.8 99.7-100.1v-78.9c0-3.7-3-6.8-6.8-6.8h-50.7c-3.7 0-6.8 3-6.8 6.8v78.9c0 19.7-15.9 35.6-35.5 35.6H420.6V568c0-5.7-6.5-8.8-10.9-5.3l-109.1 85.7c-3.5 2.5-3.5 7.8 0 10.5z`,fill:e}}]}},name:`interaction`,theme:`twotone`};function KQ(){return KQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,KQ({},e,{ref:t,icon:bDe}))),SDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 688a48 48 0 1096 0 48 48 0 10-96 0zm72-112c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48zm400-188h-59.3c-2.6 0-5 1.2-6.5 3.3L763.7 538.1l-49.9-68.8a7.92 7.92 0 00-6.5-3.3H648c-6.5 0-10.3 7.4-6.5 12.7l109.2 150.7a16.1 16.1 0 0026 0l165.8-228.7c3.8-5.3 0-12.7-6.5-12.7zm-44 306h-64.2c-5.5 0-10.6 2.9-13.6 7.5a352.2 352.2 0 01-49.8 62.2A355.92 355.92 0 01651.1 840a355 355 0 01-138.7 27.9c-48.1 0-94.8-9.4-138.7-27.9a355.92 355.92 0 01-113.3-76.3A353.06 353.06 0 01184 650.5c-18.6-43.8-28-90.5-28-138.5s9.4-94.7 28-138.5c17.9-42.4 43.6-80.5 76.4-113.2 32.8-32.7 70.9-58.4 113.3-76.3a355 355 0 01138.7-27.9c48.1 0 94.8 9.4 138.7 27.9 42.4 17.9 80.5 43.6 113.3 76.3 19 19 35.6 39.8 49.8 62.2 2.9 4.7 8.1 7.5 13.6 7.5H892c6 0 9.8-6.3 7.2-11.6C828.8 178.5 684.7 82 517.7 80 278.9 77.2 80.5 272.5 80 511.2 79.5 750.1 273.3 944 512.4 944c169.2 0 315.6-97 386.7-238.4A8 8 0 00892 694z`}}]},name:`issues-close`,theme:`outlined`};function qQ(){return qQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,qQ({},e,{ref:t,icon:SDe}))),wDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M798 160H366c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h181.2l-156 544H229c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8H474.4l156-544H798c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z`}}]},name:`italic`,theme:`outlined`};function JQ(){return JQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,JQ({},e,{ref:t,icon:wDe}))),EDe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M394.68 756.99s-34.33 19.95 24.34 26.6c71.1 8.05 107.35 7 185.64-7.87 0 0 20.66 12.94 49.38 24.14-175.47 75.08-397.18-4.37-259.36-42.87m-21.37-98.17s-38.35 28.35 20.32 34.47c75.83 7.88 135.9 8.4 239.57-11.55 0 0 14.36 14.53 36.95 22.4-212.43 62.13-448.84 5.08-296.84-45.32m180.73-166.43c43.26 49.7-11.38 94.5-11.38 94.5s109.8-56.7 59.37-127.57c-47.11-66.15-83.19-99.05 112.25-212.27.18 0-306.82 76.65-160.24 245.35m232.22 337.04s25.4 20.82-27.85 37.1c-101.4 30.62-421.7 39.9-510.66 1.22-32.05-13.82 28.02-33.25 46.93-37.27 19.62-4.2 31-3.5 31-3.5-35.55-25.03-229.94 49.17-98.77 70.35 357.6 58.1 652.16-26.08 559.35-67.9m-375.12-272.3s-163.04 38.68-57.79 52.68c44.48 5.95 133.1 4.55 215.58-2.28 67.42-5.6 135.2-17.85 135.2-17.85s-23.82 10.15-40.98 21.88c-165.5 43.57-485.1 23.27-393.16-21.18 77.93-37.45 141.15-33.25 141.15-33.25M703.6 720.42c168.3-87.33 90.37-171.33 36.08-159.95-13.31 2.8-19.27 5.25-19.27 5.25s4.9-7.7 14.36-11.03C842.12 516.9 924.78 666 700.1 724.97c0-.18 2.63-2.45 3.5-4.55M602.03 64s93.16 93.1-88.44 236.25c-145.53 114.8-33.27 180.42 0 255.14-84.94-76.65-147.28-144.02-105.42-206.84C469.63 256.67 639.68 211.87 602.03 64M427.78 957.19C589.24 967.5 837.22 951.4 843 875.1c0 0-11.2 28.88-133.44 51.98-137.83 25.9-307.87 22.92-408.57 6.3 0-.18 20.66 16.97 126.79 23.8`}}]},name:`java`,theme:`outlined`};function YQ(){return YQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,YQ({},e,{ref:t,icon:EDe}))),ODe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M416 176H255.54v425.62c0 105.3-36.16 134.71-99.1 134.71-29.5 0-56.05-5.05-76.72-12.14L63 848.79C92.48 858.91 137.73 865 173.13 865 317.63 865 416 797.16 416 602.66zm349.49-16C610.26 160 512 248.13 512 364.6c0 100.32 75.67 163.13 185.7 203.64 79.57 28.36 111.03 53.7 111.03 95.22 0 45.57-36.36 74.96-105.13 74.96-63.87 0-121.85-21.31-161.15-42.58v-.04L512 822.43C549.36 843.73 619.12 865 694.74 865 876.52 865 961 767.75 961 653.3c0-97.25-54.04-160.04-170.94-204.63-86.47-34.44-122.81-53.67-122.81-97.23 0-34.45 31.45-65.84 96.3-65.84 63.83 0 107.73 21.45 133.3 34.64l38.34-128.19C895.1 174.46 841.11 160 765.5 160`}}]},name:`java-script`,theme:`outlined`};function XQ(){return XQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,XQ({},e,{ref:t,icon:ODe}))),ADe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5l-41.1 41.1-62.3-62.3a8.15 8.15 0 00-11.4 0l-39.8 39.8a8.15 8.15 0 000 11.4l62.3 62.3-44.9 44.9-62.3-62.3a8.15 8.15 0 00-11.4 0l-39.8 39.8a8.15 8.15 0 000 11.4l62.3 62.3-65.3 65.3a8.03 8.03 0 000 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6A304.06 304.06 0 00608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644c-60.9 0-118.2-23.7-161.2-66.8-43.1-43-66.8-100.3-66.8-161.2 0-60.9 23.7-118.2 66.8-161.2 43-43.1 100.3-66.8 161.2-66.8 60.9 0 118.2 23.7 161.2 66.8 43.1 43 66.8 100.3 66.8 161.2 0 60.9-23.7 118.2-66.8 161.2z`}}]},name:`key`,theme:`outlined`};function ZQ(){return ZQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,ZQ({},e,{ref:t,icon:ADe}))),MDe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M511.99 111a61.55 61.55 0 00-26.8 6.13l-271.3 131a61.71 61.71 0 00-33.32 41.85L113.53 584.5a61.77 61.77 0 0011.86 52.06L313.2 872.71a61.68 61.68 0 0048.26 23.27h301.05a61.68 61.68 0 0048.26-23.27l187.81-236.12v-.03a61.73 61.73 0 0011.9-52.03v-.03L843.4 289.98v-.04a61.72 61.72 0 00-33.3-41.8l-271.28-131a17.43 17.43 0 00-.03-.04 61.76 61.76 0 00-26.8-6.1m0 35.1c3.94 0 7.87.87 11.55 2.64l271.3 131a26.54 26.54 0 0114.36 18.02l67.04 294.52a26.56 26.56 0 01-5.1 22.45L683.31 850.88a26.51 26.51 0 01-20.8 10H361.45a26.45 26.45 0 01-20.77-10L152.88 614.73a26.59 26.59 0 01-5.14-22.45l67.07-294.49a26.51 26.51 0 0114.32-18.02v-.04l271.3-131A26.52 26.52 0 01512 146.1m-.14 73.82c-2.48 0-4.99.5-7.4 1.51-9.65 4.21-14.22 15.44-10.01 25.09 4.04 9.48 5.42 18.94 6.48 28.41.35 4.92.55 9.66.37 14.4.53 4.74-1.94 9.48-5.45 14.22-3.68 4.74-4.03 9.49-4.55 14.23-48.16 4.72-91.51 25.83-124.65 57.54l-.31-.17c-4.04-2.63-7.88-5.27-14.02-5.45-5.79-.35-11.06-1.4-14.4-4.9-3.68-2.8-7.35-5.95-10.69-9.29-6.84-6.67-13.36-13.87-18.1-23a19.66 19.66 0 00-11.58-9.5 19.27 19.27 0 00-23.68 13.17c-2.98 10 2.98 20.7 13.16 23.51 9.83 2.99 18.08 7.9 26.15 13.16a127.38 127.38 0 0111.24 8.6c4.04 2.64 6.13 7.55 7.71 13.17 1.16 5.62 4.39 8.88 7.54 12.03a209.26 209.26 0 00-37.08 142.61c-3.94 1.38-7.83 2.88-11.17 6.82-3.86 4.39-8.08 7.88-12.82 8.23a94.03 94.03 0 01-14.02 2.64c-9.47 1.23-19.13 1.93-29.13-.17a19.53 19.53 0 00-14.74 3.32c-8.6 5.97-10.52 17.9-4.56 26.5a19.13 19.13 0 0026.67 4.59c8.42-5.97 17.37-9.32 26.5-12.3 4.55-1.41 9.13-2.62 13.87-3.5 4.56-1.58 9.64-.2 15.08 2.09 4.52 2.33 8.52 2.15 12.48 1.75 15.44 50.08 49.22 92.03 93.32 118.52-1.5 4.21-2.92 8.6-1.57 14.15 1.05 5.8 1.22 11.25-1.24 15.29a172.58 172.58 0 01-6.3 12.78c-4.92 8.07-10.17 16.15-17.9 23.17a18.97 18.97 0 00-6.33 13.5 19.06 19.06 0 0018.43 19.68A19.21 19.21 0 00409 787.88c.17-10.35 2.97-19.46 6.13-28.59 1.58-4.38 3.52-8.77 5.62-12.99 1.58-4.56 5.78-7.92 10.87-10.72 5.07-2.62 7.35-6.32 9.63-10.22a209.09 209.09 0 0070.74 12.51c25.26 0 49.4-4.72 71.87-12.92 2.37 4.06 4.82 7.91 9.9 10.63 5.1 2.98 9.29 6.16 10.87 10.72 2.1 4.4 3.87 8.78 5.45 13.17 3.15 9.12 5.78 18.23 6.13 28.58 0 5.09 2.1 10.02 6.14 13.71a19.32 19.32 0 0027.04-1.23 19.32 19.32 0 00-1.24-27.05c-7.72-6.84-12.98-15.09-17.72-23.34-2.28-4.03-4.37-8.4-6.3-12.6-2.46-4.22-2.3-9.5-1.06-15.3 1.4-5.96-.18-10.34-1.58-14.9l-.14-.45c43.76-26.75 77.09-68.83 92.2-118.9l.58.04c4.91.35 9.64.85 14.9-2.13 5.27-2.46 10.56-3.87 15.12-2.47 4.56.7 9.29 1.76 13.85 2.99 9.12 2.63 18.27 5.79 26.87 11.58a19.5 19.5 0 0014.73 2.64 18.99 18.99 0 0014.57-22.62 19.11 19.11 0 00-22.82-14.57c-10.18 2.28-19.66 1.9-29.3 1.03-4.75-.53-9.32-1.2-14.06-2.26-4.74-.35-8.92-3.5-12.96-7.71-4.03-4.74-8.6-5.97-13.16-7.37l-.3-.1c.6-6.51.99-13.08.99-19.75 0-43.5-13.28-83.99-35.99-117.6 3.33-3.5 6.7-6.82 7.92-12.78 1.58-5.61 3.68-10.53 7.71-13.16 3.51-3.16 7.38-5.96 11.24-8.77 7.9-5.27 16.16-10.36 25.98-13.16a18.5 18.5 0 0011.55-9.67 18.8 18.8 0 00-8.22-25.6 18.84 18.84 0 00-25.64 8.22c-4.74 9.13-11.22 16.33-17.89 23-3.51 3.34-7 6.51-10.7 9.5-3.33 3.5-8.6 4.55-14.39 4.9-6.14.17-10.01 2.99-14.05 5.62a210 210 0 00-127.4-60.02c-.52-4.73-.87-9.48-4.55-14.22-3.51-4.74-5.98-9.48-5.45-14.22-.17-4.74.03-9.48.38-14.4 1.05-9.47 2.44-18.94 6.48-28.41 1.93-4.56 2.1-10 0-15.08a19.23 19.23 0 00-17.69-11.52m-25.16 133.91l-.85 6.75c-2.46 18.96-4.21 38.08-5.97 57.04a876 876 0 00-2.64 30.2c-8.6-6.15-17.2-12.66-26.32-18.45-15.79-10.7-31.6-21.42-47.91-31.6l-5.52-3.43a174.43 174.43 0 0189.21-40.5m50.59 0a174.38 174.38 0 0192.16 43.21l-5.86 3.7c-16.14 10.35-31.74 21.07-47.54 31.77a491.28 491.28 0 00-18.44 13 7.3 7.3 0 01-11.58-5.46c-.53-7.54-1.22-14.9-1.92-22.45-1.75-18.95-3.5-38.08-5.96-57.03zm-173 78.82l5.58 5.83c13.33 13.86 26.86 27.2 40.54 40.71 5.8 5.8 11.58 11.26 17.55 16.7a7.19 7.19 0 01-2.81 12.27c-8.6 2.63-17.21 5.07-25.8 7.88-18.08 5.97-36.32 11.6-54.4 18.1l-7.95 2.77c-.17-3.2-.48-6.37-.48-9.63 0-34.92 10.27-67.33 27.76-94.63m297.52 3.46a174.67 174.67 0 0125.67 91.17c0 2.93-.3 5.78-.44 8.67l-6.24-1.98c-18.25-5.97-36.48-11.09-54.9-16.35a900.54 900.54 0 00-35.82-9.63c8.95-8.6 18.27-17.04 26.87-25.81 13.51-13.51 27-27.02 40.17-41.06zM501.12 492.2h21.39c3.33 0 6.5 1.58 8.26 4.04l13.67 17.2a10.65 10.65 0 012.13 8.57l-4.94 21.25c-.52 3.34-2.81 5.96-5.62 7.54l-19.64 9.12a9.36 9.36 0 01-9.11 0l-19.67-9.12c-2.81-1.58-5.27-4.2-5.63-7.54l-4.9-21.25c-.52-2.98.2-6.28 2.13-8.56l13.67-17.2a10.25 10.25 0 018.26-4.05m-63.37 83.7c5.44-.88 9.85 4.57 7.75 9.66a784.28 784.28 0 00-9.5 26.15 1976.84 1976.84 0 00-18.78 54.22l-2.4 7.54a175.26 175.26 0 01-68-87.3l9.33-.78c19.13-1.76 37.9-4.06 57.03-6.34 8.25-.88 16.33-2.1 24.57-3.16m151.63 2.47c8.24.88 16.32 1.77 24.57 2.47 19.13 1.75 38.07 3.5 57.2 4.73l6.1.34a175.25 175.25 0 01-66.6 86.58l-1.98-6.38c-5.79-18.25-12.1-36.32-18.23-54.22a951.58 951.58 0 00-8.6-23.85 7.16 7.16 0 017.54-9.67m-76.1 34.62c2.5 0 5.01 1.26 6.42 3.8a526.47 526.47 0 0012.13 21.77c9.48 16.5 18.92 33.17 29.1 49.32l4.15 6.71a176.03 176.03 0 01-53.1 8.2 176.14 176.14 0 01-51.57-7.72l4.38-7.02c10.18-16.15 19.83-32.66 29.48-49.15a451.58 451.58 0 0012.65-22.1 7.2 7.2 0 016.37-3.81`}}]},name:`kubernetes`,theme:`outlined`};function QQ(){return QQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,QQ({},e,{ref:t,icon:MDe}))),PDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z`}}]},name:`laptop`,theme:`outlined`};function $Q(){return $Q=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$Q({},e,{ref:t,icon:PDe}))),FDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M384 912h496c17.7 0 32-14.3 32-32V340H384v572zm496-800H384v164h528V144c0-17.7-14.3-32-32-32zm-768 32v736c0 17.7 14.3 32 32 32h176V112H144c-17.7 0-32 14.3-32 32z`}}]},name:`layout`,theme:`filled`};function t$(){return t$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,t$({},e,{ref:t,icon:FDe}))),LDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-696 72h136v656H184V184zm656 656H384V384h456v456zM384 320V184h456v136H384z`}}]},name:`layout`,theme:`outlined`};function n$(){return n$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,n$({},e,{ref:t,icon:LDe}))),zDe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M384 185h456v136H384zm-200 0h136v656H184zm696-73H144c-17.7 0-32 14.3-32 32v1c0-17.7 14.3-32 32-32h736c17.7 0 32 14.3 32 32v-1c0-17.7-14.3-32-32-32zM384 385h456v456H384z`,fill:t}},{tag:`path`,attrs:{d:`M880 113H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V145c0-17.7-14.3-32-32-32zM320 841H184V185h136v656zm520 0H384V385h456v456zm0-520H384V185h456v136z`,fill:e}}]}},name:`layout`,theme:`twotone`};function r$(){return r$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,r$({},e,{ref:t,icon:zDe}))),VDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm104 316.9c0 10.2-4.9 19.9-13.2 25.9L457.4 512l145.4 105.2c8.3 6 13.2 15.6 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178a8 8 0 0112.7 6.5v46.8z`}}]},name:`left-circle`,theme:`filled`};function i$(){return i$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,i$({},e,{ref:t,icon:VDe}))),UDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`left-circle`,theme:`outlined`};function a$(){return a$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,a$({},e,{ref:t,icon:UDe}))),GDe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm104 240.9c0 10.3-4.9 19.9-13.2 25.9L457.4 512l145.4 105.1c8.3 6 13.2 15.7 13.2 25.9v46.9c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178c5.3-3.8 12.7 0 12.7 6.5v46.9z`,fill:t}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z`,fill:e}}]}},name:`left-circle`,theme:`twotone`};function o$(){return o$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,o$({},e,{ref:t,icon:GDe}))),qDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM624 380.9c0 10.2-4.9 19.9-13.2 25.9L465.4 512l145.4 105.2c8.3 6 13.2 15.6 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 010-12.9l246-178c5.3-3.8 12.7 0 12.7 6.5v46.8z`}}]},name:`left-square`,theme:`filled`};function s$(){return s$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,s$({},e,{ref:t,icon:qDe}))),YDe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M365.3 518.5l246 178c5.3 3.8 12.7 0 12.7-6.5v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a8.05 8.05 0 000 13z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`left-square`,theme:`outlined`};function c$(){return c$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,c$({},e,{ref:t,icon:YDe}))),ZDe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm181.3-334.5l246-178c5.3-3.8 12.7 0 12.7 6.5v46.9c0 10.3-4.9 19.9-13.2 25.9L465.4 512l145.4 105.2c8.3 6 13.2 15.7 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.4l-246-178a7.95 7.95 0 010-12.9z`,fill:t}},{tag:`path`,attrs:{d:`M365.3 518.4l246 178c5.3 3.9 12.7.1 12.7-6.4v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a7.95 7.95 0 000 12.9z`,fill:e}}]}},name:`left-square`,theme:`twotone`};function l$(){return l$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,l$({},e,{ref:t,icon:ZDe}))),$De={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311h-.3v428h472.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32z`}}]},name:`like`,theme:`filled`};function u$(){return u$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,u$({},e,{ref:t,icon:$De}))),tOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z`}}]},name:`like`,theme:`outlined`};function d$(){return d$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,d$({},e,{ref:t,icon:tOe}))),rOe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M273 495.9v428l.3-428zm538.2-88.3H496.8l9.6-198.4c.6-11.9-4.7-23.1-14.6-30.5-6.1-4.5-13.6-6.8-21.1-6.7-19.6.1-36.9 13.4-42.2 32.3-37.1 134.4-64.9 235.2-83.5 302.5V852h399.4a56.85 56.85 0 0033.6-51.8c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0019.6-43c0-9.7-2.3-18.9-6.9-27.3l-13.9-25.4 21.9-19a56.76 56.76 0 0019.6-43c0-9.7-2.3-18.9-6.9-27.3l-14-25.5 21.9-19a56.76 56.76 0 0019.6-43c0-19.1-11-37.5-28.8-48.4z`,fill:t}},{tag:`path`,attrs:{d:`M112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32zm773.9 5.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.5-65.5-111a67.67 67.67 0 00-34.3-9.3H572.3l6-122.9c1.5-29.7-9-57.9-29.5-79.4a106.4 106.4 0 00-77.9-33.4c-52 0-98 35-111.8 85.1l-85.8 310.8-.3 428h472.1c9.3 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37zM820.4 499l-21.9 19 14 25.5a56.2 56.2 0 016.9 27.3c0 16.5-7.1 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.1 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H345V506.8c18.6-67.2 46.4-168 83.5-302.5a44.28 44.28 0 0142.2-32.3c7.5-.1 15 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.1 32.2-19.6 43z`,fill:e}}]}},name:`like`,theme:`twotone`};function f$(){return f$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,f$({},e,{ref:t,icon:rOe}))),aOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM305.8 637.7c3.1 3.1 8.1 3.1 11.3 0l138.3-137.6L583 628.5c3.1 3.1 8.2 3.1 11.3 0l275.4-275.3c3.1-3.1 3.1-8.2 0-11.3l-39.6-39.6a8.03 8.03 0 00-11.3 0l-230 229.9L461.4 404a8.03 8.03 0 00-11.3 0L266.3 586.7a8.03 8.03 0 000 11.3l39.5 39.7z`}}]},name:`line-chart`,theme:`outlined`};function p$(){return p$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,p$({},e,{ref:t,icon:aOe}))),oOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M648 160H104c-4.4 0-8 3.6-8 8v128c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-64h168v560h-92c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-92V232h168v64c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V168c0-4.4-3.6-8-8-8zm272.8 546H856V318h64.8c6 0 9.4-7 5.7-11.7L825.7 178.7a7.14 7.14 0 00-11.3 0L713.6 306.3a7.23 7.23 0 005.7 11.7H784v388h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5a7.2 7.2 0 00-5.6-11.7z`}}]},name:`line-height`,theme:`outlined`};function h$(){return h$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,h$({},e,{ref:t,icon:oOe}))),cOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M904 476H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`line`,theme:`outlined`};function g$(){return g$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,g$({},e,{ref:t,icon:cOe}))),uOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z`}}]},name:`link`,theme:`outlined`};function _$(){return _$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_$({},e,{ref:t,icon:uOe}))),dOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM349.3 793.7H230.6V411.9h118.7v381.8zm-59.3-434a68.8 68.8 0 1168.8-68.8c-.1 38-30.9 68.8-68.8 68.8zm503.7 434H675.1V608c0-44.3-.8-101.2-61.7-101.2-61.7 0-71.2 48.2-71.2 98v188.9H423.7V411.9h113.8v52.2h1.6c15.8-30 54.5-61.7 112.3-61.7 120.2 0 142.3 79.1 142.3 181.9v209.4z`}}]},name:`linkedin`,theme:`filled`};function y$(){return y$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,y$({},e,{ref:t,icon:dOe}))),pOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M847.7 112H176.3c-35.5 0-64.3 28.8-64.3 64.3v671.4c0 35.5 28.8 64.3 64.3 64.3h671.4c35.5 0 64.3-28.8 64.3-64.3V176.3c0-35.5-28.8-64.3-64.3-64.3zm0 736c-447.8-.1-671.7-.2-671.7-.3.1-447.8.2-671.7.3-671.7 447.8.1 671.7.2 671.7.3-.1 447.8-.2 671.7-.3 671.7zM230.6 411.9h118.7v381.8H230.6zm59.4-52.2c37.9 0 68.8-30.8 68.8-68.8a68.8 68.8 0 10-137.6 0c-.1 38 30.7 68.8 68.8 68.8zm252.3 245.1c0-49.8 9.5-98 71.2-98 60.8 0 61.7 56.9 61.7 101.2v185.7h118.6V584.3c0-102.8-22.2-181.9-142.3-181.9-57.7 0-96.4 31.7-112.3 61.7h-1.6v-52.2H423.7v381.8h118.6V604.8z`}}]},name:`linkedin`,theme:`outlined`};function b$(){return b$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,b$({},e,{ref:t,icon:pOe}))),hOe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M530.8 64c-5.79 0-11.76.3-17.88.78-157.8 12.44-115.95 179.45-118.34 235.11-2.88 40.8-11.2 72.95-39.24 112.78-33.03 39.23-79.4 102.66-101.39 168.77-10.37 31.06-15.3 62.87-10.71 92.92a15.83 15.83 0 00-4.14 5.04c-9.7 10-16.76 22.43-24.72 31.32-7.42 7.43-18.1 9.96-29.75 14.93-11.68 5.08-24.56 10.04-32.25 25.42a49.7 49.7 0 00-4.93 22.43c0 7.43 1 14.97 2.05 20.01 2.17 14.9 4.33 27.22 1.46 36.21-9.26 25.39-10.42 42.79-3.92 55.44 6.5 12.47 19.97 17.51 35.05 22.44 30.28 7.46 71.3 5.04 103.6 22.36 34.56 17.43 69.66 25.05 97.65 17.54a66.01 66.01 0 0045.1-35.27c21.91-.12 45.92-10.05 84.37-12.47 26.09-2.17 58.75 9.97 96.23 7.43.94 5.04 2.36 7.43 4.26 12.47l.11.1c14.6 29.05 41.55 42.27 70.33 39.99 28.78-2.24 59.43-20.01 84.26-48.76 23.55-28.55 62.83-40.46 88.77-56.1 12.99-7.43 23.48-17.51 24.23-31.85.86-14.93-7.43-30.3-26.66-51.4v-3.62l-.1-.11c-6.35-7.47-9.34-19.98-12.63-34.57-3.17-14.97-6.8-29.34-18.36-39.05h-.11c-2.2-2.02-4.6-2.5-7.02-5.04a13.33 13.33 0 00-7.1-2.39c16.1-47.7 9.86-95.2-6.45-137.9-19.9-52.63-54.7-98.48-81.2-130.02-29.71-37.52-58.83-73.06-58.27-125.77 1-80.33 8.85-228.95-132.3-229.17m19.75 127.11h.48c7.95 0 14.79 2.31 21.8 7.4 7.13 5.03 12.32 12.39 16.4 19.89 3.91 9.67 5.89 17.13 6.19 27.03 0-.75.22-1.5.22-2.2v3.88a3.21 3.21 0 01-.15-.79l-.15-.9a67.46 67.46 0 01-5.6 26.36 35.58 35.58 0 01-7.95 12.5 26.5 26.5 0 00-3.28-1.56c-3.92-1.68-7.43-2.39-10.64-4.96a48.98 48.98 0 00-8.18-2.47c1.83-2.2 5.42-4.96 6.8-7.39a44.22 44.22 0 003.28-15v-.72a45.17 45.17 0 00-2.27-14.93c-1.68-5.04-3.77-7.5-6.84-12.47-3.13-2.46-6.23-4.92-9.96-4.92h-.6c-3.47 0-6.57 1.12-9.78 4.92a29.86 29.86 0 00-7.65 12.47 44.05 44.05 0 00-3.36 14.93v.71c.07 3.33.3 6.69.74 9.97-7.2-2.5-16.35-5.04-22.66-7.54-.37-2.46-.6-4.94-.67-7.43v-.75a66.15 66.15 0 015.6-28.7 40.45 40.45 0 0116.05-19.9 36.77 36.77 0 0122.18-7.43m-110.58 2.2h1.35c5.3 0 10.08 1.8 14.9 5.04a51.6 51.6 0 0112.83 17.36c3.36 7.43 5.27 14.97 5.72 24.9v.15c.26 5 .22 7.5-.08 9.93v2.99c-1.12.26-2.09.67-3.1.9-5.67 2.05-10.23 5.03-14.67 7.46.45-3.32.49-6.68.11-9.97v-.56c-.44-4.96-1.45-7.43-3.06-12.43a22.88 22.88 0 00-6.2-9.97 9.26 9.26 0 00-6.83-2.39h-.78c-2.65.23-4.85 1.53-6.94 4.93a20.6 20.6 0 00-4.48 10.08 35.24 35.24 0 00-.86 12.36v.52c.45 5.04 1.38 7.5 3.02 12.47 1.68 5 3.62 7.46 6.16 10 .41.34.79.67 1.27.9-2.61 2.13-4.37 2.61-6.57 5.08a11.39 11.39 0 01-4.89 2.53 97.84 97.84 0 01-10.27-15 66.15 66.15 0 01-5.78-24.9 65.67 65.67 0 012.98-24.94 53.38 53.38 0 0110.57-19.97c4.78-4.97 9.7-7.47 15.6-7.47M491.15 257c12.36 0 27.33 2.43 45.36 14.9 10.94 7.46 19.52 10.04 39.31 17.47h.11c9.52 5.07 15.12 9.93 17.84 14.9v-4.9a21.32 21.32 0 01.6 17.55c-4.59 11.6-19.26 24.04-39.72 31.47v.07c-10 5.04-18.7 12.43-28.93 17.36-10.3 5.04-21.95 10.9-37.78 9.97a42.52 42.52 0 01-16.72-2.5 133.12 133.12 0 01-12.02-7.4c-7.28-5.04-13.55-12.39-22.85-17.36v-.18h-.19c-14.93-9.19-22.99-19.12-25.6-26.54-2.58-10-.19-17.51 7.2-22.4 8.36-5.04 14.19-10.12 18.03-12.55 3.88-2.76 5.34-3.8 6.57-4.89h.08v-.1c6.3-7.55 16.27-17.52 31.32-22.44a68.65 68.65 0 0117.4-2.43m104.48 80c13.4 52.9 44.69 129.72 64.8 166.98 10.68 19.93 31.93 61.93 41.15 112.89 5.82-.19 12.28.67 19.15 2.39 24.11-62.38-20.39-129.43-40.66-148.06-8.25-7.5-8.66-12.5-4.59-12.5 21.99 19.93 50.96 58.68 61.45 102.92 4.81 19.97 5.93 41.21.78 62.34 2.5 1.05 5.04 2.28 7.65 2.5 38.53 19.94 52.75 35.02 45.92 57.38v-1.6c-2.27-.12-4.48 0-6.75 0h-.56c5.63-17.44-6.8-30.8-39.76-45.7-34.16-14.93-61.45-12.54-66.11 17.36-.27 1.6-.45 2.46-.64 5.04-2.54.86-5.19 1.98-7.8 2.39-16.05 10-24.71 24.97-29.6 44.31-4.86 19.9-6.35 43.16-7.66 69.77v.11c-.78 12.47-6.38 31.29-11.9 50.44-56 40.01-133.65 57.41-199.69 12.46a98.74 98.74 0 00-15-19.9 54.13 54.13 0 00-10.27-12.46c6.8 0 12.62-1.08 17.36-2.5a22.96 22.96 0 0011.72-12.47c4.03-9.97 0-26.02-12.88-43.42C398.87 730.24 377 710.53 345 690.9c-23.51-14.89-36.8-32.47-42.93-52.1-6.16-19.94-5.33-40.51-.56-61.42 9.15-39.94 32.6-78.77 47.56-103.14 4-2.43 1.38 5.04-15.23 36.36-14.78 28.03-42.6 93.21-4.55 143.87a303.27 303.27 0 0124.15-107.36c21.06-47.71 65.07-130.81 68.54-196.66 1.8 1.34 8.1 5.04 10.79 7.54 8.14 4.96 14.18 12.43 22.02 17.36 7.88 7.5 17.81 12.5 32.7 12.5 1.46.12 2.8.23 4.15.23 15.34 0 27.21-5 37.18-10 10.83-5 19.45-12.48 27.63-14.94h.18c17.44-5.04 31.21-15 39.01-26.13m81.6 334.4c1.39 22.44 12.81 46.48 32.93 51.41 21.95 5 53.53-12.43 66.86-28.56l7.88-.33c11.76-.3 21.54.37 31.62 9.97l.1.1c7.77 7.44 11.4 19.83 14.6 32.7 3.18 14.98 5.75 29.13 15.27 39.8 18.15 19.68 24.08 33.82 23.75 42.56l.1-.22v.67l-.1-.45c-.56 9.78-6.91 14.78-18.6 22.21-23.51 14.97-65.17 26.58-91.72 58.61-23.07 27.51-51.18 42.52-76 44.46-24.79 1.98-46.18-7.46-58.76-33.52l-.19-.11c-7.84-14.97-4.48-38.27 2.1-63.1 6.56-24.93 15.97-50.2 17.28-70.85 1.38-26.65 2.83-49.83 7.28-67.71 4.48-17.36 11.5-29.76 23.93-36.74l1.68-.82zm-403.72 1.84h.37c1.98 0 3.92.18 5.86.52 14.04 2.05 26.35 12.43 38.19 28.07l33.97 62.12.11.11c9.07 19.9 28.15 39.72 44.39 61.15 16.2 22.32 28.74 42.22 27.21 58.61v.22c-2.13 27.78-17.88 42.86-42 48.3-24.07 5.05-56.74.08-89.4-17.31-36.14-20.01-79.07-17.51-106.66-22.48-13.77-2.46-22.8-7.5-26.99-14.97-4.14-7.42-4.21-22.43 4.6-45.91v-.11l.07-.12c4.37-12.46 1.12-28.1-1-41.77-2.06-14.97-3.1-26.47 1.6-35.09 5.97-12.47 14.78-14.9 25.72-19.9 11.01-5.04 23.93-7.54 34.2-17.5h.07v-.12c9.55-10 16.61-22.43 24.93-31.28 7.1-7.5 14.19-12.54 24.75-12.54M540.76 334.5c-16.24 7.5-35.27 19.97-55.54 19.97-20.24 0-36.21-9.97-47.75-17.4-5.79-5-10.45-10-13.96-12.5-6.12-5-5.38-12.47-2.76-12.47 4.07.6 4.81 5.04 7.43 7.5 3.58 2.47 8.02 7.43 13.47 12.43 10.86 7.47 25.39 17.44 43.53 17.44 18.1 0 39.3-9.97 52.19-17.4 7.28-5.04 16.6-12.47 24.19-17.43 5.82-5.12 5.56-10 10.41-10 4.82.6 1.27 5-5.48 12.42a302.3 302.3 0 01-25.76 17.47v-.03zm-40.39-59.13v-.83c-.22-.7.49-1.56 1.09-1.86 2.76-1.6 6.72-1.01 9.7.15 2.35 0 5.97 2.5 5.6 5.04-.22 1.83-3.17 2.46-5.04 2.46-2.05 0-3.43-1.6-5.26-2.54-1.94-.67-5.45-.3-6.09-2.42m-20.57 0c-.74 2.16-4.22 1.82-6.2 2.46-1.75.93-3.2 2.54-5.18 2.54-1.9 0-4.9-.71-5.12-2.54-.33-2.47 3.29-4.97 5.6-4.97 3.03-1.15 6.87-1.75 9.67-.18.71.33 1.35 1.12 1.12 1.86v.79h.11z`}}]},name:`linux`,theme:`outlined`};function x$(){return x$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,x$({},e,{ref:t,icon:hOe}))),_Oe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 1024c-69.1 0-136.2-13.5-199.3-40.2C251.7 958 197 921 150 874c-47-47-84-101.7-109.8-162.7C13.5 648.2 0 581.1 0 512c0-19.9 16.1-36 36-36s36 16.1 36 36c0 59.4 11.6 117 34.6 171.3 22.2 52.4 53.9 99.5 94.3 139.9 40.4 40.4 87.5 72.2 139.9 94.3C395 940.4 452.6 952 512 952c59.4 0 117-11.6 171.3-34.6 52.4-22.2 99.5-53.9 139.9-94.3 40.4-40.4 72.2-87.5 94.3-139.9C940.4 629 952 571.4 952 512c0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.2C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3s-13.5 136.2-40.2 199.3C958 772.3 921 827 874 874c-47 47-101.8 83.9-162.7 109.7-63.1 26.8-130.2 40.3-199.3 40.3z`}}]},name:`loading-3-quarters`,theme:`outlined`};function S$(){return S$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,S$({},e,{ref:t,icon:_Oe}))),yOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM540 701v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 1156 0zm152-237H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224z`}}]},name:`lock`,theme:`filled`};function C$(){return C$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,C$({},e,{ref:t,icon:yOe}))),xOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z`}}]},name:`lock`,theme:`outlined`};function w$(){return w$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,w$({},e,{ref:t,icon:xOe}))),SOe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304z`,fill:e}},{tag:`path`,attrs:{d:`M232 840h560V536H232v304zm280-226a48.01 48.01 0 0128 87v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 0128-87z`,fill:t}},{tag:`path`,attrs:{d:`M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z`,fill:e}}]}},name:`lock`,theme:`twotone`};function E$(){return E$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,E$({},e,{ref:t,icon:SOe}))),wOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M521.7 82c-152.5-.4-286.7 78.5-363.4 197.7-3.4 5.3.4 12.3 6.7 12.3h70.3c4.8 0 9.3-2.1 12.3-5.8 7-8.5 14.5-16.7 22.4-24.5 32.6-32.5 70.5-58.1 112.7-75.9 43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 32.6 32.5 58.1 70.4 76 112.5C865.7 417.8 875 464.1 875 512c0 47.9-9.4 94.2-27.8 137.8-17.8 42.1-43.4 80-76 112.5s-70.5 58.1-112.7 75.9A352.8 352.8 0 01520.6 866c-47.9 0-94.3-9.4-137.9-27.8A353.84 353.84 0 01270 762.3c-7.9-7.9-15.3-16.1-22.4-24.5-3-3.7-7.6-5.8-12.3-5.8H165c-6.3 0-10.2 7-6.7 12.3C234.9 863.2 368.5 942 520.6 942c236.2 0 428-190.1 430.4-425.6C953.4 277.1 761.3 82.6 521.7 82zM395.02 624v-76h-314c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h314v-76c0-6.7 7.8-10.5 13-6.3l141.9 112a8 8 0 010 12.6l-141.9 112c-5.2 4.1-13 .4-13-6.3z`}}]},name:`login`,theme:`outlined`};function D$(){return D$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,D$({},e,{ref:t,icon:wOe}))),EOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z`}}]},name:`logout`,theme:`outlined`};function O$(){return O$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,O$({},e,{ref:t,icon:EOe}))),DOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M624 672a48.01 48.01 0 0096 0c0-26.5-21.5-48-48-48h-48v48zm96-320a48.01 48.01 0 00-96 0v48h48c26.5 0 48-21.5 48-48z`}},{tag:`path`,attrs:{d:`M928 64H96c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM672 560c61.9 0 112 50.1 112 112s-50.1 112-112 112-112-50.1-112-112v-48h-96v48c0 61.9-50.1 112-112 112s-112-50.1-112-112 50.1-112 112-112h48v-96h-48c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112v48h96v-48c0-61.9 50.1-112 112-112s112 50.1 112 112-50.1 112-112 112h-48v96h48z`}},{tag:`path`,attrs:{d:`M464 464h96v96h-96zM352 304a48.01 48.01 0 000 96h48v-48c0-26.5-21.5-48-48-48zm-48 368a48.01 48.01 0 0096 0v-48h-48c-26.5 0-48 21.5-48 48z`}}]},name:`mac-command`,theme:`filled`};function A$(){return A$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,A$({},e,{ref:t,icon:DOe}))),kOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}},{tag:`path`,attrs:{d:`M370.8 554.4c-54.6 0-98.8 44.2-98.8 98.8s44.2 98.8 98.8 98.8 98.8-44.2 98.8-98.8v-42.4h84.7v42.4c0 54.6 44.2 98.8 98.8 98.8s98.8-44.2 98.8-98.8-44.2-98.8-98.8-98.8h-42.4v-84.7h42.4c54.6 0 98.8-44.2 98.8-98.8 0-54.6-44.2-98.8-98.8-98.8s-98.8 44.2-98.8 98.8v42.4h-84.7v-42.4c0-54.6-44.2-98.8-98.8-98.8S272 316.2 272 370.8s44.2 98.8 98.8 98.8h42.4v84.7h-42.4zm42.4 98.8c0 23.4-19 42.4-42.4 42.4s-42.4-19-42.4-42.4 19-42.4 42.4-42.4h42.4v42.4zm197.6-282.4c0-23.4 19-42.4 42.4-42.4s42.4 19 42.4 42.4-19 42.4-42.4 42.4h-42.4v-42.4zm0 240h42.4c23.4 0 42.4 19 42.4 42.4s-19 42.4-42.4 42.4-42.4-19-42.4-42.4v-42.4zM469.6 469.6h84.7v84.7h-84.7v-84.7zm-98.8-56.4c-23.4 0-42.4-19-42.4-42.4s19-42.4 42.4-42.4 42.4 19 42.4 42.4v42.4h-42.4z`}}]},name:`mac-command`,theme:`outlined`};function j$(){return j$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,j$({},e,{ref:t,icon:kOe}))),jOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-80.8 108.9L531.7 514.4c-7.8 6.1-18.7 6.1-26.5 0L189.6 268.9A7.2 7.2 0 01194 256h648.8a7.2 7.2 0 014.4 12.9z`}}]},name:`mail`,theme:`filled`};function M$(){return M$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,M$({},e,{ref:t,icon:jOe}))),NOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z`}}]},name:`mail`,theme:`outlined`};function N$(){return N$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,N$({},e,{ref:t,icon:NOe}))),POe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M477.5 536.3L135.9 270.7l-27.5-21.4 27.6 21.5V792h752V270.8L546.2 536.3a55.99 55.99 0 01-68.7 0z`,fill:t}},{tag:`path`,attrs:{d:`M876.3 198.8l39.3 50.5-27.6 21.5 27.7-21.5-39.3-50.5z`,fill:t}},{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-94.5 72.1L512 482 190.5 232.1h643zm54.5 38.7V792H136V270.8l-27.6-21.5 27.5 21.4 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5h.1l39.3 50.5-27.7 21.5z`,fill:e}}]}},name:`mail`,theme:`twotone`};function F$(){return F$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,F$({},e,{ref:t,icon:POe}))),IOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M874 120H622c-3.3 0-6 2.7-6 6v56c0 3.3 2.7 6 6 6h160.4L583.1 387.3c-50-38.5-111-59.3-175.1-59.3-76.9 0-149.3 30-203.6 84.4S120 539.1 120 616s30 149.3 84.4 203.6C258.7 874 331.1 904 408 904s149.3-30 203.6-84.4C666 765.3 696 692.9 696 616c0-64.1-20.8-124.9-59.2-174.9L836 241.9V402c0 3.3 2.7 6 6 6h56c3.3 0 6-2.7 6-6V150c0-16.5-13.5-30-30-30zM408 828c-116.9 0-212-95.1-212-212s95.1-212 212-212 212 95.1 212 212-95.1 212-212 212z`}}]},name:`man`,theme:`outlined`};function I$(){return I$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,I$({},e,{ref:t,icon:IOe}))),ROe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM660 628c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V636H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V464c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8v48zm4-372H360v-72h304v72z`}}]},name:`medicine-box`,theme:`filled`};function L$(){return L$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,L$({},e,{ref:t,icon:ROe}))),BOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840zM652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}}]},name:`medicine-box`,theme:`outlined`};function R$(){return R$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,R$({},e,{ref:t,icon:BOe}))),VOe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M244.3 328L184 513.4V840h656V513.4L779.7 328H244.3zM660 628c0 4.4-3.6 8-8 8H544v108c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V636H372c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h108V464c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v108h108c4.4 0 8 3.6 8 8v48z`,fill:t}},{tag:`path`,attrs:{d:`M652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`,fill:e}},{tag:`path`,attrs:{d:`M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840z`,fill:e}}]}},name:`medicine-box`,theme:`twotone`};function B$(){return B$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,B$({},e,{ref:t,icon:VOe}))),UOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm256 253.7l-40.8 39.1c-3.6 2.7-5.3 7.1-4.6 11.4v287.7c-.7 4.4 1 8.8 4.6 11.4l40 39.1v8.7H566.4v-8.3l41.3-40.1c4.1-4.1 4.1-5.3 4.1-11.4V422.5l-115 291.6h-15.5L347.5 422.5V618c-1.2 8.2 1.7 16.5 7.5 22.4l53.8 65.1v8.7H256v-8.7l53.8-65.1a26.1 26.1 0 007-22.4V392c.7-6.3-1.7-12.4-6.5-16.7l-47.8-57.6V309H411l114.6 251.5 100.9-251.3H768v8.5z`}}]},name:`medium-circle`,theme:`filled`};function V$(){return V$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,V$({},e,{ref:t,icon:UOe}))),GOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M834.7 279.8l61.3-58.9V208H683.7L532.4 586.4 360.3 208H137.7v12.9l71.6 86.6c7 6.4 10.6 15.8 9.7 25.2V673c2.2 12.3-1.7 24.8-10.3 33.7L128 805v12.7h228.6v-12.9l-80.6-98a39.99 39.99 0 01-11.1-33.7V378.7l200.7 439.2h23.3l172.6-439.2v349.9c0 9.2 0 11.1-6 17.2l-62.1 60.3V819h301.2v-12.9l-59.9-58.9c-5.2-4-7.9-10.7-6.8-17.2V297a18.1 18.1 0 016.8-17.2z`}}]},name:`medium`,theme:`outlined`};function H$(){return H$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,H$({},e,{ref:t,icon:GOe}))),qOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM768 317.7l-40.8 39.1c-3.6 2.7-5.3 7.1-4.6 11.4v287.7c-.7 4.4 1 8.8 4.6 11.4l40 39.1v8.7H566.4v-8.3l41.3-40.1c4.1-4.1 4.1-5.3 4.1-11.4V422.5l-115 291.6h-15.5L347.5 422.5V618c-1.2 8.2 1.7 16.5 7.5 22.4l53.8 65.1v8.7H256v-8.7l53.8-65.1a26.1 26.1 0 007-22.4V392c.7-6.3-1.7-12.4-6.5-16.7l-47.8-57.6V309H411l114.6 251.5 100.9-251.3H768v8.5z`}}]},name:`medium-square`,theme:`filled`};function U$(){return U$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,U$({},e,{ref:t,icon:qOe}))),YOe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M517.2 590.55c0 3.55 0 4.36 2.4 6.55l13.43 13.25v.57h-59.57v-25.47a41.44 41.44 0 01-39.5 27.65c-30.61 0-52.84-24.25-52.84-68.87 0-41.8 23.99-69.69 57.65-69.69a35.15 35.15 0 0134.61 21.67v-56.19a6.99 6.99 0 00-2.71-6.79l-12.8-12.45v-.56l59.33-7.04v177.37zm-43.74-8.09v-83.83a22.2 22.2 0 00-17.74-8.4c-14.48 0-28.47 13.25-28.47 52.62 0 36.86 12.07 49.88 27.1 49.88a23.91 23.91 0 0019.11-10.27zm83.23 28.46V497.74a7.65 7.65 0 00-2.4-6.79l-13.19-13.74v-.57h59.56v114.8c0 3.55 0 4.36 2.4 6.54l13.12 12.45v.57l-59.49-.08zm-2.16-175.67c0-13.4 10.74-24.25 23.99-24.25 13.25 0 23.98 10.86 23.98 24.25 0 13.4-10.73 24.25-23.98 24.25s-23.99-10.85-23.99-24.25zm206.83 155.06c0 3.55 0 4.6 2.4 6.79l13.43 13.25v.57h-59.88V581.9a43.4 43.4 0 01-41.01 31.2c-26.55 0-40.78-19.56-40.78-56.59 0-17.86 0-37.43.56-59.41a6.91 6.91 0 00-2.4-6.55L620.5 477.2v-.57h59.09v73.81c0 24.25 3.51 40.42 18.54 40.42a23.96 23.96 0 0019.35-12.2v-80.85a7.65 7.65 0 00-2.4-6.79l-13.27-13.82v-.57h59.56V590.3zm202.76 20.6c0-4.36.8-59.97.8-72.75 0-24.25-3.76-40.98-20.63-40.98a26.7 26.7 0 00-21.19 11.64 99.68 99.68 0 012.4 23.04c0 16.81-.56 38.23-.8 59.66a6.91 6.91 0 002.4 6.55l13.43 12.45v.56h-60.12c0-4.04.8-59.98.8-72.76 0-24.65-3.76-40.98-20.39-40.98-8.2.3-15.68 4.8-19.83 11.96v82.46c0 3.56 0 4.37 2.4 6.55l13.11 12.45v.56h-59.48V498.15a7.65 7.65 0 00-2.4-6.8l-13.19-14.14v-.57H841v28.78c5.53-19 23.13-31.76 42.7-30.96 19.82 0 33.26 11.16 38.93 32.34a46.41 46.41 0 0144.77-32.34c26.55 0 41.58 19.8 41.58 57.23 0 17.87-.56 38.24-.8 59.66a6.5 6.5 0 002.72 6.55l13.11 12.45v.57h-59.88zM215.87 593.3l17.66 17.05v.57h-89.62v-.57l17.99-17.05a6.91 6.91 0 002.4-6.55V477.69c0-4.6 0-10.83.8-16.16L104.66 613.1h-.72l-62.6-139.45c-1.37-3.47-1.77-3.72-2.65-6.06v91.43a32.08 32.08 0 002.96 17.87l25.19 33.46v.57H0v-.57l25.18-33.55a32.16 32.16 0 002.96-17.78V457.97A19.71 19.71 0 0024 444.15L6.16 420.78v-.56h63.96l53.56 118.1 47.17-118.1h62.6v.56l-17.58 19.8a6.99 6.99 0 00-2.72 6.8v139.37a6.5 6.5 0 002.72 6.55zm70.11-54.65v.56c0 34.6 17.67 48.5 38.38 48.5a43.5 43.5 0 0040.77-24.97h.56c-7.2 34.2-28.14 50.36-59.48 50.36-33.82 0-65.72-20.61-65.72-68.39 0-50.2 31.98-70.25 67.32-70.25 28.46 0 58.76 13.58 58.76 57.24v6.95h-80.59zm0-6.95h39.42v-7.04c0-35.57-7.28-45.03-18.23-45.03-13.27 0-21.35 14.15-21.35 52.07h.16z`}}]},name:`medium-workmark`,theme:`outlined`};function W$(){return W$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,W$({},e,{ref:t,icon:YOe}))),ZOe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm384 200c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v48zm16-152a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`meh`,theme:`filled`};function G$(){return G$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,G$({},e,{ref:t,icon:ZOe}))),$Oe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 565H360c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}}]},name:`meh`,theme:`outlined`};function K$(){return K$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,K$({},e,{ref:t,icon:$Oe}))),tke={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm384 200c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v48zm16-152a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`,fill:t}},{tag:`path`,attrs:{d:`M288 421a48 48 0 1096 0 48 48 0 10-96 0zm376 144H360c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-24-144a48 48 0 1096 0 48 48 0 10-96 0z`,fill:e}}]}},name:`meh`,theme:`twotone`};function q$(){return q$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,q$({},e,{ref:t,icon:tke}))),rke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 000 13.8z`}}]},name:`menu-fold`,theme:`outlined`};function J$(){return J$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,J$({},e,{ref:t,icon:rke}))),ake={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z`}}]},name:`menu`,theme:`outlined`};function Y$(){return Y$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Y$({},e,{ref:t,icon:ake}))),oke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 000-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0014.4 7z`}}]},name:`menu-unfold`,theme:`outlined`};function Z$(){return Z$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Z$({},e,{ref:t,icon:oke}))),cke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M482.2 508.4L331.3 389c-3-2.4-7.3-.2-7.3 3.6V478H184V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H144c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H184V546h140v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4a4.5 4.5 0 000-7.2zM880 116H596c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H700v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4a4.52 4.52 0 000 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h140v294H636V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z`}}]},name:`merge-cells`,theme:`outlined`};function Q$(){return Q$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Q$({},e,{ref:t,icon:cke}))),uke={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M284 924c61.86 0 112-50.14 112-112 0-49.26-31.8-91.1-76-106.09V421.63l386.49 126.55.01 95.92C661 658.34 628 700.8 628 751c0 61.86 50.14 112 112 112s112-50.14 112-112c0-48.33-30.6-89.5-73.5-105.2l-.01-113.04a50.73 50.73 0 00-34.95-48.2L320 345.85V318.1c43.64-14.8 75.2-55.78 75.99-104.24L396 212c0-61.86-50.14-112-112-112s-112 50.14-112 112c0 49.26 31.8 91.1 76 106.09V705.9c-44.2 15-76 56.83-76 106.09 0 61.86 50.14 112 112 112`}}]},name:`merge`,theme:`filled`};function $$(){return $$=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$$({},e,{ref:t,icon:uke}))),fke={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M248 752h72V264h-72z`}},{tag:`path`,attrs:{d:`M740 863c61.86 0 112-50.14 112-112 0-48.33-30.6-89.5-73.5-105.2l-.01-113.04a50.73 50.73 0 00-34.95-48.2l-434.9-142.41-22.4 68.42 420.25 137.61.01 95.92C661 658.34 628 700.8 628 751c0 61.86 50.14 112 112 112m-456 61c61.86 0 112-50.14 112-112s-50.14-112-112-112-112 50.14-112 112 50.14 112 112 112m456-125a48 48 0 110-96 48 48 0 010 96m-456 61a48 48 0 110-96 48 48 0 010 96m0-536c61.86 0 112-50.14 112-112s-50.14-112-112-112-112 50.14-112 112 50.14 112 112 112m0-64a48 48 0 110-96 48 48 0 010 96`}}]},name:`merge`,theme:`outlined`};function e1(){return e1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,e1({},e,{ref:t,icon:fke}))),mke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M924.3 338.4a447.57 447.57 0 00-96.1-143.3 443.09 443.09 0 00-143-96.3A443.91 443.91 0 00512 64h-2c-60.5.3-119 12.3-174.1 35.9a444.08 444.08 0 00-141.7 96.5 445 445 0 00-95 142.8A449.89 449.89 0 0065 514.1c.3 69.4 16.9 138.3 47.9 199.9v152c0 25.4 20.6 46 45.9 46h151.8a447.72 447.72 0 00199.5 48h2.1c59.8 0 117.7-11.6 172.3-34.3A443.2 443.2 0 00827 830.5c41.2-40.9 73.6-88.7 96.3-142 23.5-55.2 35.5-113.9 35.8-174.5.2-60.9-11.6-120-34.8-175.6zM312.4 560c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.4 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48z`}}]},name:`message`,theme:`filled`};function t1(){return t1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,t1({},e,{ref:t,icon:mke}))),gke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z`}}]},name:`message`,theme:`outlined`};function n1(){return n1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,n1({},e,{ref:t,icon:gke}))),_ke={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M775.3 248.9a369.62 369.62 0 00-119-80A370.2 370.2 0 00512.1 140h-1.7c-99.7.4-193 39.4-262.8 109.9-69.9 70.5-108 164.1-107.6 263.8.3 60.3 15.3 120.2 43.5 173.1l4.5 8.4V836h140.8l8.4 4.5c52.9 28.2 112.8 43.2 173.1 43.5h1.7c99 0 192-38.2 262.1-107.6 70.4-69.8 109.5-163.1 110.1-262.7.2-50.6-9.5-99.6-28.9-145.8a370.15 370.15 0 00-80-119zM312 560a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`,fill:t}},{tag:`path`,attrs:{d:`M664 512a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0z`,fill:e}},{tag:`path`,attrs:{d:`M925.2 338.4c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z`,fill:e}},{tag:`path`,attrs:{d:`M464 512a48 48 0 1096 0 48 48 0 10-96 0z`,fill:e}}]}},name:`message`,theme:`twotone`};function i1(){return i1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,i1({},e,{ref:t,icon:_ke}))),yke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z`}}]},name:`minus-circle`,theme:`filled`};function a1(){return a1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,a1({},e,{ref:t,icon:yke}))),xke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`minus-circle`,theme:`outlined`};function o1(){return o1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,o1({},e,{ref:t,icon:xke}))),Ske={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm192 396c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z`,fill:t}},{tag:`path`,attrs:{d:`M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`minus-circle`,theme:`twotone`};function c1(){return c1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,c1({},e,{ref:t,icon:Ske}))),wke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM704 536c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z`}}]},name:`minus-square`,theme:`filled`};function l1(){return l1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,l1({},e,{ref:t,icon:wke}))),Eke={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm136-352c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48z`,fill:t}},{tag:`path`,attrs:{d:`M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`,fill:e}}]}},name:`minus-square`,theme:`twotone`};function u1(){return u1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,u1({},e,{ref:t,icon:Eke}))),Oke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zM512 824c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z`}}]},name:`mobile`,theme:`filled`};function d1(){return d1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,d1({},e,{ref:t,icon:Oke}))),Ake={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`mobile`,theme:`outlined`};function f1(){return f1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,f1({},e,{ref:t,icon:Ake}))),jke={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M744 64H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H288V136h448v752z`,fill:e}},{tag:`path`,attrs:{d:`M288 888h448V136H288v752zm224-142c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z`,fill:t}},{tag:`path`,attrs:{d:`M472 786a40 40 0 1080 0 40 40 0 10-80 0z`,fill:e}}]}},name:`mobile`,theme:`twotone`};function m1(){return m1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,m1({},e,{ref:t,icon:jke}))),Nke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M911.5 699.7a8 8 0 00-10.3-4.8L840 717.2V179c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V762c0 3.3 2.1 6.3 5.3 7.5L501 909.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zm-243.8-377L564 514.3h57.6c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3v39h76.3c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3V703c0 4.4-3.6 8-8 8h-49.9c-4.4 0-8-3.6-8-8v-63.4h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h76v-39h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h57L356.5 322.8c-2.1-3.8-.7-8.7 3.2-10.8 1.2-.7 2.5-1 3.8-1h55.7a8 8 0 017.1 4.4L511 484.2h3.3L599 315.4c1.3-2.7 4.1-4.4 7.1-4.4h54.5c4.4 0 8 3.6 8.1 7.9 0 1.3-.4 2.6-1 3.8z`}}]},name:`money-collect`,theme:`filled`};function h1(){return h1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,h1({},e,{ref:t,icon:Nke}))),Fke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M911.5 700.7a8 8 0 00-10.3-4.8L840 718.2V180c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V763c0 3.3 2.1 6.3 5.3 7.5L501 910.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zM512 837.5l-256-93.1V184h512v560.4l-256 93.1zM660.6 312h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.6-1.2 1-2.5 1-3.8-.1-4.3-3.7-7.9-8.1-7.9z`}}]},name:`money-collect`,theme:`outlined`};function g1(){return g1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,g1({},e,{ref:t,icon:Fke}))),Lke={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M256 744.4l256 93.1 256-93.1V184H256v560.4zM359.7 313c1.2-.7 2.5-1 3.8-1h55.7a8 8 0 017.1 4.4L511 485.2h3.3L599 316.4c1.3-2.7 4.1-4.4 7.1-4.4h54.5c4.4 0 8 3.6 8.1 7.9 0 1.3-.4 2.6-1 3.8L564 515.3h57.6c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3v39h76.3c4.4 0 8 3.6 8 8v27.1c0 4.4-3.6 8-8 8h-76.3V704c0 4.4-3.6 8-8 8h-49.9c-4.4 0-8-3.6-8-8v-63.4h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h76v-39h-76c-4.4 0-8-3.6-8-8v-27.1c0-4.4 3.6-8 8-8h57L356.5 323.8c-2.1-3.8-.7-8.7 3.2-10.8z`,fill:t}},{tag:`path`,attrs:{d:`M911.5 700.7a8 8 0 00-10.3-4.8L840 718.2V180c0-37.6-30.4-68-68-68H252c-37.6 0-68 30.4-68 68v538.2l-61.3-22.3c-.9-.3-1.8-.5-2.7-.5-4.4 0-8 3.6-8 8V763c0 3.3 2.1 6.3 5.3 7.5L501 910.1c7.1 2.6 14.8 2.6 21.9 0l383.8-139.5c3.2-1.2 5.3-4.2 5.3-7.5v-59.6c0-1-.2-1.9-.5-2.8zM768 744.4l-256 93.1-256-93.1V184h512v560.4z`,fill:e}},{tag:`path`,attrs:{d:`M460.4 515.4h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.6-1.2 1-2.5 1-3.8-.1-4.3-3.7-7.9-8.1-7.9h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6z`,fill:e}}]}},name:`money-collect`,theme:`twotone`};function _1(){return _1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_1({},e,{ref:t,icon:Lke}))),zke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M692.8 412.7l.2-.2-34.6-44.3a7.97 7.97 0 00-11.2-1.4l-50.4 39.3-70.5-90.1a7.97 7.97 0 00-11.2-1.4l-37.9 29.7a7.97 7.97 0 00-1.4 11.2l70.5 90.2-.2.1 34.6 44.3c2.7 3.5 7.7 4.1 11.2 1.4l50.4-39.3 64.1 82c2.7 3.5 7.7 4.1 11.2 1.4l37.9-29.6c3.5-2.7 4.1-7.7 1.4-11.2l-64.1-82.1zM608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5L114.3 856.1a8.03 8.03 0 000 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6C473 696.1 537.7 720 608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644s-118.2-23.7-161.2-66.8C403.7 534.2 380 476.9 380 416s23.7-118.2 66.8-161.2c43-43.1 100.3-66.8 161.2-66.8s118.2 23.7 161.2 66.8c43.1 43 66.8 100.3 66.8 161.2s-23.7 118.2-66.8 161.2z`}}]},name:`monitor`,theme:`outlined`};function v1(){return v1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,v1({},e,{ref:t,icon:zke}))),Bke={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01z`}}]},name:`moon`,theme:`filled`};function b1(){return b1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,b1({},e,{ref:t,icon:Bke}))),Hke={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01zm-81.15 79.75l-4.11 1.36C271.1 237.94 176 364.09 176 511.5 176 697.34 326.66 848 512.5 848c148.28 0 274.94-96.2 319.45-230.41l.63-1.93-.11.07a307.06 307.06 0 01-159.73 46.26L670 662c-170.1 0-308-137.9-308-308 0-58.6 16.48-114.54 46.27-162.47z`}}]},name:`moon`,theme:`outlined`};function x1(){return x1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,x1({},e,{ref:t,icon:Hke}))),Wke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`more`,theme:`outlined`};function S1(){return S1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,S1({},e,{ref:t,icon:Wke}))),Gke={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M771.91 115a31.65 31.65 0 00-17.42 5.27L400 351.97H236a16 16 0 00-16 16v288.06a16 16 0 0016 16h164l354.5 231.7a31.66 31.66 0 0017.42 5.27c16.65 0 32.08-13.25 32.08-32.06V147.06c0-18.8-15.44-32.06-32.09-32.06`}}]},name:`muted`,theme:`filled`};function w1(){return w1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,w1({},e,{ref:t,icon:Gke}))),qke={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M771.91 115a31.65 31.65 0 00-17.42 5.27L400 351.97H236a16 16 0 00-16 16v288.06a16 16 0 0016 16h164l354.5 231.7a31.66 31.66 0 0017.42 5.27c16.65 0 32.08-13.25 32.08-32.06V147.06c0-18.8-15.44-32.06-32.09-32.06M732 221v582L439.39 611.75l-17.95-11.73H292V423.98h129.44l17.95-11.73z`}}]},name:`muted`,theme:`outlined`};function T1(){return T1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,T1({},e,{ref:t,icon:qke}))),Yke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM451.7 313.7l172.5 136.2c6.3 5.1 15.8.5 15.8-7.7V344h264c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H640v-98.2c0-8.1-9.4-12.8-15.8-7.7L451.7 298.3a9.9 9.9 0 000 15.4z`}}]},name:`node-collapse`,theme:`outlined`};function E1(){return E1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,E1({},e,{ref:t,icon:Yke}))),Zke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM456 344h264v98.2c0 8.1 9.5 12.8 15.8 7.7l172.5-136.2c5-3.9 5-11.4 0-15.3L735.8 162.1c-6.4-5.1-15.8-.5-15.8 7.7V268H456c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8z`}}]},name:`node-expand`,theme:`outlined`};function D1(){return D1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,D1({},e,{ref:t,icon:Zke}))),$ke={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M843.5 737.4c-12.4-75.2-79.2-129.1-155.3-125.4S550.9 676 546 752c-153.5-4.8-208-40.7-199.1-113.7 3.3-27.3 19.8-41.9 50.1-49 18.4-4.3 38.8-4.9 57.3-3.2 1.7.2 3.5.3 5.2.5 11.3 2.7 22.8 5 34.3 6.8 34.1 5.6 68.8 8.4 101.8 6.6 92.8-5 156-45.9 159.2-132.7 3.1-84.1-54.7-143.7-147.9-183.6-29.9-12.8-61.6-22.7-93.3-30.2-14.3-3.4-26.3-5.7-35.2-7.2-7.9-75.9-71.5-133.8-147.8-134.4-76.3-.6-140.9 56.1-150.1 131.9s40 146.3 114.2 163.9c74.2 17.6 149.9-23.3 175.7-95.1 9.4 1.7 18.7 3.6 28 5.8 28.2 6.6 56.4 15.4 82.4 26.6 70.7 30.2 109.3 70.1 107.5 119.9-1.6 44.6-33.6 65.2-96.2 68.6-27.5 1.5-57.6-.9-87.3-5.8-8.3-1.4-15.9-2.8-22.6-4.3-3.9-.8-6.6-1.5-7.8-1.8l-3.1-.6c-2.2-.3-5.9-.8-10.7-1.3-25-2.3-52.1-1.5-78.5 4.6-55.2 12.9-93.9 47.2-101.1 105.8-15.7 126.2 78.6 184.7 276 188.9 29.1 70.4 106.4 107.9 179.6 87 73.3-20.9 119.3-93.4 106.9-168.6zM329.1 345.2a83.3 83.3 0 11.01-166.61 83.3 83.3 0 01-.01 166.61zM695.6 845a83.3 83.3 0 11.01-166.61A83.3 83.3 0 01695.6 845z`}}]},name:`node-index`,theme:`outlined`};function O1(){return O1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,O1({},e,{ref:t,icon:$ke}))),tAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.6c-3.7 11.6-5.6 23.9-5.6 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1z`}}]},name:`notification`,theme:`filled`};function k1(){return k1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,k1({},e,{ref:t,icon:tAe}))),rAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z`}}]},name:`notification`,theme:`outlined`};function A1(){return A1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,A1({},e,{ref:t,icon:rAe}))),aAe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M229.6 678.1c-3.7 11.6-5.6 23.9-5.6 36.4 0-12.5 2-24.8 5.7-36.4h-.1zm76.3-260.2H184v188.2h121.9l12.9 5.2L840 820.7V203.3L318.8 412.7z`,fill:t}},{tag:`path`,attrs:{d:`M880 112c-3.8 0-7.7.7-11.6 2.3L292 345.9H128c-8.8 0-16 7.4-16 16.6v299c0 9.2 7.2 16.6 16 16.6h101.7c-3.7 11.6-5.7 23.9-5.7 36.4 0 65.9 53.8 119.5 120 119.5 55.4 0 102.1-37.6 115.9-88.4l408.6 164.2c3.9 1.5 7.8 2.3 11.6 2.3 16.9 0 32-14.2 32-33.2V145.2C912 126.2 897 112 880 112zM344 762.3c-26.5 0-48-21.4-48-47.8 0-11.2 3.9-21.9 11-30.4l84.9 34.1c-2 24.6-22.7 44.1-47.9 44.1zm496 58.4L318.8 611.3l-12.9-5.2H184V417.9h121.9l12.9-5.2L840 203.3v617.4z`,fill:e}}]}},name:`notification`,theme:`twotone`};function j1(){return j1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,j1({},e,{ref:t,icon:aAe}))),sAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 394c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H400V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v236H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h228v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h164c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V394h164zM628 630H400V394h228v236z`}}]},name:`number`,theme:`outlined`};function M1(){return M1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,M1({},e,{ref:t,icon:sAe}))),lAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M316 672h60c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8zm196-50c22.1 0 40-17.9 40-39 0-23.1-17.9-41-40-41s-40 17.9-40 41c0 21.1 17.9 39 40 39zm0-140c22.1 0 40-17.9 40-39 0-23.1-17.9-41-40-41s-40 17.9-40 41c0 21.1 17.9 39 40 39z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}},{tag:`path`,attrs:{d:`M648 672h60c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8z`}}]},name:`one-to-one`,theme:`outlined`};function N1(){return N1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,N1({},e,{ref:t,icon:lAe}))),dAe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M475.6 112c-74.03 0-139.72 42.38-172.92 104.58v237.28l92.27 56.48 3.38-235.7 189-127.45A194.33 194.33 0 00475.6 112m202.9 62.25c-13.17 0-26.05 1.76-38.8 4.36L453.2 304.36l-1.37 96.15 186.58-125.25 231.22 137.28a195.5 195.5 0 004.87-42.33c0-108.04-87.93-195.96-195.99-195.96M247.34 266C167.34 290.7 109 365.22 109 453.2c0 27.92 5.9 54.83 16.79 79.36l245.48 139.77 90.58-56.12-214.5-131.38zm392.88 74.67l-72.7 48.85L771.5 517.58 797.3 753C867.41 723.11 916 653.97 916 573.1c0-27.55-5.86-54.12-16.57-78.53zm-123 82.6l-66.36 44.56-1.05 76.12 64.7 39.66 69.54-43.04-1.84-76.48zm121.2 76.12l5.87 248.34L443 866.9A195.65 195.65 0 00567.84 912c79.22 0 147.8-46.52 178.62-114.99L719.4 550.22zm-52.86 105.3L372.43 736.68 169.56 621.15a195.35 195.35 0 00-5.22 44.16c0 102.94 79.84 187.41 180.81 195.18L588.2 716.6z`}}]},name:`open-a-i`,theme:`filled`};function P1(){return P1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,P1({},e,{ref:t,icon:dAe}))),pAe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M482.88 128c-84.35 0-156.58 52.8-185.68 126.98-60.89 8.13-115.3 43.63-146.6 97.84-42.16 73-32.55 161.88 17.14 224.16-23.38 56.75-19.85 121.6 11.42 175.78 42.18 73.02 124.1 109.15 202.94 97.23C419.58 898.63 477.51 928 540.12 928c84.35 0 156.58-52.8 185.68-126.98 60.89-8.13 115.3-43.62 146.6-97.84 42.16-73 32.55-161.88-17.14-224.16 23.38-56.75 19.85-121.6-11.42-175.78-42.18-73.02-124.1-109.15-202.94-97.23C603.42 157.38 545.49 128 482.88 128m0 61.54c35.6 0 68.97 13.99 94.22 37.74-1.93 1.03-3.92 1.84-5.83 2.94l-136.68 78.91a46.11 46.11 0 00-23.09 39.78l-.84 183.6-65.72-38.34V327.4c0-76 61.9-137.86 137.94-137.86m197.7 75.9c44.19 3.14 86.16 27.44 109.92 68.57 17.8 30.8 22.38 66.7 14.43 100.42-1.88-1.17-3.6-2.49-5.53-3.6l-136.73-78.91a46.23 46.23 0 00-46-.06l-159.47 91.1.36-76.02 144.5-83.41a137.19 137.19 0 0178.53-18.09m-396.92 55.4c-.07 2.2-.3 4.35-.3 6.56v157.75a46.19 46.19 0 0022.91 39.9l158.68 92.5-66.02 37.67-144.55-83.35c-65.86-38-88.47-122.53-50.45-188.34 17.78-30.78 46.55-52.69 79.73-62.68m340.4 79.93l144.54 83.35c65.86 38 88.47 122.53 50.45 188.34-17.78 30.78-46.55 52.69-79.73 62.68.07-2.19.3-4.34.3-6.55V570.85a46.19 46.19 0 00-22.9-39.9l-158.69-92.5zM511.8 464.84l54.54 31.79-.3 63.22-54.84 31.31-54.54-31.85.3-63.16zm100.54 58.65l65.72 38.35V728.6c0 76-61.9 137.86-137.94 137.86-35.6 0-68.97-13.99-94.22-37.74 1.93-1.03 3.92-1.84 5.83-2.94l136.68-78.9a46.11 46.11 0 0023.09-39.8zm-46.54 89.55l-.36 76.02-144.5 83.41c-65.85 38-150.42 15.34-188.44-50.48-17.8-30.8-22.38-66.7-14.43-100.42 1.88 1.17 3.6 2.5 5.53 3.6l136.74 78.91a46.23 46.23 0 0046 .06z`}}]},name:`open-a-i`,theme:`outlined`};function F1(){return F1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,F1({},e,{ref:t,icon:pAe}))),hAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M920 760H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-568H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H336c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM216 712H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h72.4v20.5h-35.7c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h35.7V838H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4V716c0-2.2-1.8-4-4-4zM100 188h38v120c0 2.2 1.8 4 4 4h40c2.2 0 4-1.8 4-4V152c0-4.4-3.6-8-8-8h-78c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4zm116 240H100c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4h68.4l-70.3 77.7a8.3 8.3 0 00-2.1 5.4V592c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4v-36c0-2.2-1.8-4-4-4h-68.4l70.3-77.7a8.3 8.3 0 002.1-5.4V432c0-2.2-1.8-4-4-4z`}}]},name:`ordered-list`,theme:`outlined`};function I1(){return I1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,I1({},e,{ref:t,icon:hAe}))),_Ae={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M640.6 429.8h257.1c7.9 0 14.3-6.4 14.3-14.3V158.3c0-7.9-6.4-14.3-14.3-14.3H640.6c-7.9 0-14.3 6.4-14.3 14.3v92.9H490.6c-3.9 0-7.1 3.2-7.1 7.1v221.5h-85.7v-96.5c0-7.9-6.4-14.3-14.3-14.3H126.3c-7.9 0-14.3 6.4-14.3 14.3v257.2c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3V544h85.7v221.5c0 3.9 3.2 7.1 7.1 7.1h135.7v92.9c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3v-257c0-7.9-6.4-14.3-14.3-14.3h-257c-7.9 0-14.3 6.4-14.3 14.3v100h-78.6v-393h78.6v100c0 7.9 6.4 14.3 14.3 14.3zm53.5-217.9h150V362h-150V211.9zM329.9 587h-150V437h150v150zm364.2 75.1h150v150.1h-150V662.1z`}}]},name:`partition`,theme:`outlined`};function L1(){return L1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,L1({},e,{ref:t,icon:_Ae}))),yAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-80 600c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z`}}]},name:`pause-circle`,theme:`filled`};function R1(){return R1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,R1({},e,{ref:t,icon:yAe}))),xAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z`}}]},name:`pause-circle`,theme:`outlined`};function z1(){return z1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,z1({},e,{ref:t,icon:xAe}))),CAe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm-80 524c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z`,fill:t}},{tag:`path`,attrs:{d:`M424 352h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`pause-circle`,theme:`twotone`};function B1(){return B1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,B1({},e,{ref:t,icon:CAe}))),TAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M304 176h80v672h-80zm408 0h-64c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8z`}}]},name:`pause`,theme:`outlined`};function V1(){return V1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,V1({},e,{ref:t,icon:TAe}))),DAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm166.6 246.8L567.5 515.6h62c4.4 0 8 3.6 8 8v29.9c0 4.4-3.6 8-8 8h-82V603h82c4.4 0 8 3.6 8 8v29.9c0 4.4-3.6 8-8 8h-82V717c0 4.4-3.6 8-8 8h-54.3c-4.4 0-8-3.6-8-8v-68.1h-81.7c-4.4 0-8-3.6-8-8V611c0-4.4 3.6-8 8-8h81.7v-41.5h-81.7c-4.4 0-8-3.6-8-8v-29.9c0-4.4 3.6-8 8-8h61.4L345.4 310.8a8.07 8.07 0 017-11.9h60.7c3 0 5.8 1.7 7.1 4.4l90.6 180h3.4l90.6-180a8 8 0 017.1-4.4h59.5c4.4 0 8 3.6 8 8 .2 1.4-.2 2.7-.8 3.9z`}}]},name:`pay-circle`,theme:`filled`};function H1(){return H1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,H1({},e,{ref:t,icon:DAe}))),kAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm159.6-585h-59.5c-3 0-5.8 1.7-7.1 4.4l-90.6 180H511l-90.6-180a8 8 0 00-7.1-4.4h-60.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9L457 515.7h-61.4c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V603h-81.7c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V717c0 4.4 3.6 8 8 8h54.3c4.4 0 8-3.6 8-8v-68.1h82c4.4 0 8-3.6 8-8V611c0-4.4-3.6-8-8-8h-82v-41.5h82c4.4 0 8-3.6 8-8v-29.9c0-4.4-3.6-8-8-8h-62l111.1-204.8c.6-1.2 1-2.5 1-3.8-.1-4.4-3.7-8-8.1-8z`}}]},name:`pay-circle`,theme:`outlined`};function U1(){return U1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,U1({},e,{ref:t,icon:kAe}))),AAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M855.7 210.8l-42.4-42.4a8.03 8.03 0 00-11.3 0L168.3 801.9a8.03 8.03 0 000 11.3l42.4 42.4c3.1 3.1 8.2 3.1 11.3 0L855.6 222c3.2-3 3.2-8.1.1-11.2zM304 448c79.4 0 144-64.6 144-144s-64.6-144-144-144-144 64.6-144 144 64.6 144 144 144zm0-216c39.7 0 72 32.3 72 72s-32.3 72-72 72-72-32.3-72-72 32.3-72 72-72zm416 344c-79.4 0-144 64.6-144 144s64.6 144 144 144 144-64.6 144-144-64.6-144-144-144zm0 216c-39.7 0-72-32.3-72-72s32.3-72 72-72 72 32.3 72 72-32.3 72-72 72z`}}]},name:`percentage`,theme:`outlined`};function G1(){return G1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,G1({},e,{ref:t,icon:AAe}))),MAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M885.6 230.2L779.1 123.8a80.83 80.83 0 00-57.3-23.8c-21.7 0-42.1 8.5-57.4 23.8L549.8 238.4a80.83 80.83 0 00-23.8 57.3c0 21.7 8.5 42.1 23.8 57.4l83.8 83.8A393.82 393.82 0 01553.1 553 395.34 395.34 0 01437 633.8L353.2 550a80.83 80.83 0 00-57.3-23.8c-21.7 0-42.1 8.5-57.4 23.8L123.8 664.5a80.89 80.89 0 00-23.8 57.4c0 21.7 8.5 42.1 23.8 57.4l106.3 106.3c24.4 24.5 58.1 38.4 92.7 38.4 7.3 0 14.3-.6 21.2-1.8 134.8-22.2 268.5-93.9 376.4-201.7C828.2 612.8 899.8 479.2 922.3 344c6.8-41.3-6.9-83.8-36.7-113.8z`}}]},name:`phone`,theme:`filled`};function K1(){return K1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,K1({},e,{ref:t,icon:MAe}))),PAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z`}}]},name:`phone`,theme:`outlined`};function q1(){return q1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,q1({},e,{ref:t,icon:PAe}))),FAe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M721.7 184.9L610.9 295.8l120.8 120.7-8 21.6A481.29 481.29 0 01438 723.9l-21.6 8-.9-.9-119.8-120-110.8 110.9 104.5 104.5c10.8 10.7 26 15.7 40.8 13.2 117.9-19.5 235.4-82.9 330.9-178.4s158.9-213.1 178.4-331c2.5-14.8-2.5-30-13.3-40.8L721.7 184.9z`,fill:t}},{tag:`path`,attrs:{d:`M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z`,fill:e}}]}},name:`phone`,theme:`twotone`};function Y1(){return Y1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Y1({},e,{ref:t,icon:FAe}))),LAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM848 660c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H176c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h672zM232 436h560v152H232V436z`}}]},name:`pic-center`,theme:`outlined`};function X1(){return X1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,X1({},e,{ref:t,icon:LAe}))),zAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM608 660c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h512zM152 436h400v152H152V436zm552 210c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H712c-4.4 0-8 3.6-8 8v56zm8-204h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H712c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z`}}]},name:`pic-left`,theme:`outlined`};function Z1(){return Z1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Z1({},e,{ref:t,icon:zAe}))),VAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M952 792H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-632H72c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h880c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-24 500c8.8 0 16-7.2 16-16V380c0-8.8-7.2-16-16-16H416c-8.8 0-16 7.2-16 16v264c0 8.8 7.2 16 16 16h512zM472 436h400v152H472V436zM80 646c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H88c-4.4 0-8 3.6-8 8v56zm8-204h224c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H88c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z`}}]},name:`pic-right`,theme:`outlined`};function Q1(){return Q1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Q1({},e,{ref:t,icon:VAe}))),UAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zM338 304c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm513.9 437.1a8.11 8.11 0 01-5.2 1.9H177.2c-4.4 0-8-3.6-8-8 0-1.9.7-3.7 1.9-5.2l170.3-202c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l99.4 118 158.1-187.5c2.8-3.4 7.9-3.8 11.3-1 .3.3.7.6 1 1l229.6 271.6c2.6 3.3 2.2 8.4-1.2 11.2z`}}]},name:`picture`,theme:`filled`};function $1(){return $1=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$1({},e,{ref:t,icon:UAe}))),GAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z`}}]},name:`picture`,theme:`outlined`};function e0(){return e0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,e0({},e,{ref:t,icon:GAe}))),KAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M863.1 518.5H505.5V160.9c0-4.4-3.6-8-8-8h-26a398.57 398.57 0 00-282.5 117 397.47 397.47 0 00-85.6 127C82.6 446.2 72 498.5 72 552.5S82.6 658.7 103.4 708c20.1 47.5 48.9 90.3 85.6 127 36.7 36.7 79.4 65.5 127 85.6a396.64 396.64 0 00155.6 31.5 398.57 398.57 0 00282.5-117c36.7-36.7 65.5-79.4 85.6-127a396.64 396.64 0 0031.5-155.6v-26c-.1-4.4-3.7-8-8.1-8zM951 463l-2.6-28.2c-8.5-92-49.3-178.8-115.1-244.3A398.5 398.5 0 00588.4 75.6L560.1 73c-4.7-.4-8.7 3.2-8.7 7.9v383.7c0 4.4 3.6 8 8 8l383.6-1c4.7-.1 8.4-4 8-8.6z`}}]},name:`pie-chart`,theme:`filled`};function n0(){return n0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,n0({},e,{ref:t,icon:KAe}))),JAe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552a398.46 398.46 0 00117.1 282.8c36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952a398.46 398.46 0 00282.8-117.1c36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552c0-88.7 34.5-172.1 97.2-234.8 54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8zM952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-4.7-.4-8.7 3.2-8.7 7.9V464c0 4.4 3.6 8 8 8l384-1c4.7 0 8.4-4 8-8.6zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z`}}]},name:`pie-chart`,theme:`outlined`};function r0(){return r0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,r0({},e,{ref:t,icon:JAe}))),YAe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M316.2 920.5c-47.6-20.1-90.4-49-127.1-85.7a398.19 398.19 0 01-85.7-127.1A397.12 397.12 0 0172 552.2v.2a398.57 398.57 0 00117 282.5c36.7 36.7 79.4 65.5 127 85.6A396.64 396.64 0 00471.6 952c27 0 53.6-2.7 79.7-7.9-25.9 5.2-52.4 7.8-79.3 7.8-54 .1-106.4-10.5-155.8-31.4zM560 472c-4.4 0-8-3.6-8-8V79.9c0-1.3.3-2.5.9-3.6-.9 1.3-1.5 2.9-1.5 4.6v383.7c0 4.4 3.6 8 8 8l383.6-1c1.6 0 3.1-.5 4.4-1.3-1 .5-2.2.7-3.4.7l-384 1z`,fill:t}},{tag:`path`,attrs:{d:`M619.8 147.6v256.6l256.4-.7c-13-62.5-44.3-120.5-90-166.1a332.24 332.24 0 00-166.4-89.8z`,fill:t}},{tag:`path`,attrs:{d:`M438 221.7c-75.9 7.6-146.2 40.9-200.8 95.5C174.5 379.9 140 463.3 140 552s34.5 172.1 97.2 234.8c62.3 62.3 145.1 96.8 233.2 97.2 88.2.4 172.7-34.1 235.3-96.2C761 733 794.6 662.3 802.3 586H438V221.7z`,fill:t}},{tag:`path`,attrs:{d:`M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552v.2c0 53.9 10.6 106.2 31.4 155.5 20.1 47.6 49 90.4 85.7 127.1 36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952c26.9 0 53.4-2.6 79.3-7.8 26.1-5.3 51.7-13.1 76.4-23.6 47.6-20.1 90.4-49 127.1-85.7 36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552s34.5-172.1 97.2-234.8c54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8z`,fill:e}},{tag:`path`,attrs:{d:`M952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-3.4-.3-6.4 1.5-7.8 4.3a8.7 8.7 0 00-.9 3.6V464c0 4.4 3.6 8 8 8l384-1c1.2 0 2.3-.3 3.4-.7a8.1 8.1 0 004.6-7.9zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z`,fill:e}}]}},name:`pie-chart`,theme:`twotone`};function a0(){return a0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,a0({},e,{ref:t,icon:YAe}))),ZAe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.97 64 64 264.97 64 512c0 192.53 122.08 357.04 292.88 420.28-4.92-43.86-4.14-115.68 3.97-150.46 7.6-32.66 49.11-208.16 49.11-208.16s-12.53-25.1-12.53-62.16c0-58.24 33.74-101.7 75.77-101.7 35.74 0 52.97 26.83 52.97 58.98 0 35.96-22.85 89.66-34.7 139.43-9.87 41.7 20.91 75.7 62.02 75.7 74.43 0 131.64-78.5 131.64-191.77 0-100.27-72.03-170.38-174.9-170.38-119.15 0-189.08 89.38-189.08 181.75 0 35.98 13.85 74.58 31.16 95.58 3.42 4.16 3.92 7.78 2.9 12-3.17 13.22-10.22 41.67-11.63 47.5-1.82 7.68-6.07 9.28-14 5.59-52.3-24.36-85-100.81-85-162.25 0-132.1 95.96-253.43 276.71-253.43 145.29 0 258.18 103.5 258.18 241.88 0 144.34-91.02 260.49-217.31 260.49-42.44 0-82.33-22.05-95.97-48.1 0 0-21 79.96-26.1 99.56-8.82 33.9-46.55 104.13-65.49 136.03A446.16 446.16 0 00512 960c247.04 0 448-200.97 448-448S759.04 64 512 64`}}]},name:`pinterest`,theme:`filled`};function o0(){return o0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,o0({},e,{ref:t,icon:ZAe}))),$Ae={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.8 64 64 264.8 64 512s200.8 448 448 448 448-200.8 448-448S759.2 64 512 64m0 38.96c226.14 0 409.04 182.9 409.04 409.04 0 226.14-182.9 409.04-409.04 409.04-41.37 0-81.27-6.19-118.89-17.57 16.76-28.02 38.4-68.06 46.99-101.12 5.1-19.6 26.1-99.56 26.1-99.56 13.64 26.04 53.5 48.09 95.94 48.09 126.3 0 217.34-116.15 217.34-260.49 0-138.37-112.91-241.88-258.2-241.88-180.75 0-276.69 121.32-276.69 253.4 0 61.44 32.68 137.91 85 162.26 7.92 3.7 12.17 2.1 14-5.59 1.4-5.83 8.46-34.25 11.63-47.48 1.02-4.22.53-7.86-2.89-12.02-17.31-21-31.2-59.58-31.2-95.56 0-92.38 69.94-181.78 189.08-181.78 102.88 0 174.93 70.13 174.93 170.4 0 113.28-57.2 191.78-131.63 191.78-41.11 0-71.89-34-62.02-75.7 11.84-49.78 34.7-103.49 34.7-139.44 0-32.15-17.25-58.97-53-58.97-42.02 0-75.78 43.45-75.78 101.7 0 37.06 12.56 62.16 12.56 62.16s-41.51 175.5-49.12 208.17c-7.62 32.64-5.58 76.6-2.43 109.34C208.55 830.52 102.96 683.78 102.96 512c0-226.14 182.9-409.04 409.04-409.04`}}]},name:`pinterest`,theme:`outlined`};function s0(){return s0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,s0({},e,{ref:t,icon:$Ae}))),tje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z`}}]},name:`play-circle`,theme:`filled`};function c0(){return c0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,c0({},e,{ref:t,icon:tje}))),rje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z`}}]},name:`play-circle`,theme:`outlined`};function l0(){return l0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,l0({},e,{ref:t,icon:rje}))),ije={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm164.1 378.2L457.7 677.1a8.02 8.02 0 01-12.7-6.5V353a8 8 0 0112.7-6.5l218.4 158.8a7.9 7.9 0 010 12.9z`,fill:t}},{tag:`path`,attrs:{d:`M676.1 505.3L457.7 346.5A8 8 0 00445 353v317.6a8.02 8.02 0 0012.7 6.5l218.4-158.9a7.9 7.9 0 000-12.9z`,fill:e}}]}},name:`play-circle`,theme:`twotone`};function d0(){return d0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,d0({},e,{ref:t,icon:ije}))),oje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM641.7 520.8L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6z`}}]},name:`play-square`,theme:`filled`};function f0(){return f0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,f0({},e,{ref:t,icon:oje}))),cje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M442.3 677.6l199.4-156.7a11.3 11.3 0 000-17.7L442.3 346.4c-7.4-5.8-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.7 18.3 8.9z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`play-square`,theme:`outlined`};function p0(){return p0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,p0({},e,{ref:t,icon:cje}))),uje={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm240-484.7c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3z`,fill:t}},{tag:`path`,attrs:{d:`M442.3 677.6l199.4-156.8a11.2 11.2 0 000-17.6L442.3 346.5c-7.4-5.9-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.6 18.3 8.8z`,fill:e}}]}},name:`play-square`,theme:`twotone`};function m0(){return m0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,m0({},e,{ref:t,icon:uje}))),fje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z`}}]},name:`plus-circle`,theme:`filled`};function h0(){return h0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,h0({},e,{ref:t,icon:fje}))),mje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`plus-circle`,theme:`outlined`};function g0(){return g0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,g0({},e,{ref:t,icon:mje}))),gje={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm192 396c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z`,fill:t}},{tag:`path`,attrs:{d:`M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`plus-circle`,theme:`twotone`};function _0(){return _0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_0({},e,{ref:t,icon:gje}))),vje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM704 536c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z`}}]},name:`plus-square`,theme:`filled`};function v0(){return v0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,v0({},e,{ref:t,icon:vje}))),bje={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm136-352c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48z`,fill:t}},{tag:`path`,attrs:{d:`M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`,fill:e}}]}},name:`plus-square`,theme:`twotone`};function y0(){return y0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,y0({},e,{ref:t,icon:bje}))),Sje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm146 658c0 4.4-3.6 8-8 8H376.2c-4.4 0-8-3.6-8-8v-38.5c0-3.7 2.5-6.9 6.1-7.8 44-10.9 72.8-49 72.8-94.2 0-14.7-2.5-29.4-5.9-44.2H374c-4.4 0-8-3.6-8-8v-30c0-4.4 3.6-8 8-8h53.7c-7.8-25.1-14.6-50.7-14.6-77.1 0-75.8 58.6-120.3 151.5-120.3 26.5 0 51.4 5.5 70.3 12.7 3.1 1.2 5.2 4.2 5.2 7.5v39.5a8 8 0 01-10.6 7.6c-17.9-6.4-39-10.5-60.4-10.5-53.3 0-87.3 26.6-87.3 70.2 0 24.7 6.2 47.9 13.4 70.5h112c4.4 0 8 3.6 8 8v30c0 4.4-3.6 8-8 8h-98.6c3.1 13.2 5.3 26.9 5.3 41 0 40.7-16.5 73.9-43.9 91.1v4.7h180c4.4 0 8 3.6 8 8V722z`}}]},name:`pound-circle`,theme:`filled`};function b0(){return b0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,b0({},e,{ref:t,icon:Sje}))),wje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm138-209.8H469.8v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.9-5.3-41H607c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8H495c-7.2-22.6-13.4-45.7-13.4-70.5 0-43.5 34-70.2 87.3-70.2 21.5 0 42.5 4.1 60.4 10.5 5.2 1.9 10.6-2 10.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.8-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.3 6.9 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.1c3.4 14.7 5.9 29.4 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8V722c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z`}}]},name:`pound-circle`,theme:`outlined`};function x0(){return x0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,x0({},e,{ref:t,icon:wje}))),Eje={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm146 582.1c0 4.4-3.6 8-8 8H376.2c-4.4 0-8-3.6-8-8v-38.5c0-3.7 2.5-6.9 6.1-7.8 44-10.9 72.8-49 72.8-94.2 0-14.7-2.5-29.4-5.9-44.2H374c-4.4 0-8-3.6-8-8v-30c0-4.4 3.6-8 8-8h53.7c-7.8-25.1-14.6-50.7-14.6-77.1 0-75.8 58.6-120.3 151.5-120.3 26.5 0 51.4 5.5 70.3 12.7 3.1 1.2 5.2 4.2 5.2 7.5v39.5a8 8 0 01-10.6 7.6c-17.9-6.4-39-10.5-60.4-10.5-53.3 0-87.3 26.6-87.3 70.2 0 24.7 6.2 47.9 13.4 70.5h112c4.4 0 8 3.6 8 8v30c0 4.4-3.6 8-8 8h-98.6c3.1 13.2 5.3 26.9 5.3 41 0 40.7-16.5 73.9-43.9 91.1v4.7h180c4.4 0 8 3.6 8 8v39.8z`,fill:t}},{tag:`path`,attrs:{d:`M650 674.3H470v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.8-5.3-41h98.6c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8h-112c-7.2-22.6-13.4-45.8-13.4-70.5 0-43.6 34-70.2 87.3-70.2 21.4 0 42.5 4.1 60.4 10.5a8 8 0 0010.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.9-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.4 6.8 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.2c3.4 14.8 5.9 29.5 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8v38.5c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`pound-circle`,theme:`twotone`};function S0(){return S0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,S0({},e,{ref:t,icon:Eje}))),Oje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm138-209.8H469.8v-4.7c27.4-17.2 43.9-50.4 43.9-91.1 0-14.1-2.2-27.9-5.3-41H607c4.4 0 8-3.6 8-8v-30c0-4.4-3.6-8-8-8H495c-7.2-22.6-13.4-45.7-13.4-70.5 0-43.5 34-70.2 87.3-70.2 21.5 0 42.5 4.1 60.4 10.5 5.2 1.9 10.6-2 10.6-7.6v-39.5c0-3.3-2.1-6.3-5.2-7.5-18.8-7.2-43.8-12.7-70.3-12.7-92.9 0-151.5 44.5-151.5 120.3 0 26.3 6.9 52 14.6 77.1H374c-4.4 0-8 3.6-8 8v30c0 4.4 3.6 8 8 8h67.1c3.4 14.7 5.9 29.4 5.9 44.2 0 45.2-28.8 83.3-72.8 94.2-3.6.9-6.1 4.1-6.1 7.8V722c0 4.4 3.6 8 8 8H650c4.4 0 8-3.6 8-8v-39.8c0-4.4-3.6-8-8-8z`}}]},name:`pound`,theme:`outlined`};function C0(){return C0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,C0({},e,{ref:t,icon:Oje}))),Aje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z`}}]},name:`poweroff`,theme:`outlined`};function w0(){return w0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,w0({},e,{ref:t,icon:Aje}))),Mje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M732 120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v148h440V120zm120 212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM664 844H360V568h304v276zm164-360c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v40z`}}]},name:`printer`,theme:`filled`};function T0(){return T0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,T0({},e,{ref:t,icon:Mje}))),Pje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M820 436h-40c-4.4 0-8 3.6-8 8v40c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-40c0-4.4-3.6-8-8-8zm32-104H732V120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM360 180h304v152H360V180zm304 664H360V568h304v276zm200-140H732V500H292v204H160V412c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v292z`}}]},name:`printer`,theme:`outlined`};function E0(){return E0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,E0({},e,{ref:t,icon:Pje}))),Ije={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M360 180h304v152H360zm492 220H172c-6.6 0-12 5.4-12 12v292h132V500h440v204h132V412c0-6.6-5.4-12-12-12zm-24 84c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8 3.6 8 8v40z`,fill:t}},{tag:`path`,attrs:{d:`M852 332H732V120c0-4.4-3.6-8-8-8H300c-4.4 0-8 3.6-8 8v212H172c-44.2 0-80 35.8-80 80v328c0 17.7 14.3 32 32 32h168v132c0 4.4 3.6 8 8 8h424c4.4 0 8-3.6 8-8V772h168c17.7 0 32-14.3 32-32V412c0-44.2-35.8-80-80-80zM360 180h304v152H360V180zm304 664H360V568h304v276zm200-140H732V500H292v204H160V412c0-6.6 5.4-12 12-12h680c6.6 0 12 5.4 12 12v292z`,fill:e}},{tag:`path`,attrs:{d:`M820 436h-40c-4.4 0-8 3.6-8 8v40c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-40c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`printer`,theme:`twotone`};function D0(){return D0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,D0({},e,{ref:t,icon:Ije}))),Rje={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M160 144h304a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V160a16 16 0 0116-16m564.31-25.33l181.02 181.02a16 16 0 010 22.62L724.31 503.33a16 16 0 01-22.62 0L520.67 322.31a16 16 0 010-22.62l181.02-181.02a16 16 0 0122.62 0M160 544h304a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V560a16 16 0 0116-16m400 0h304a16 16 0 0116 16v304a16 16 0 01-16 16H560a16 16 0 01-16-16V560a16 16 0 0116-16`}}]},name:`product`,theme:`filled`};function O0(){return O0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,O0({},e,{ref:t,icon:Rje}))),Bje={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 144a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V160a16 16 0 0116-16zm-52 68H212v200h200zm493.33 87.69a16 16 0 010 22.62L724.31 503.33a16 16 0 01-22.62 0L520.67 322.31a16 16 0 010-22.62l181.02-181.02a16 16 0 0122.62 0zm-84.85 11.3L713 203.53 605.52 311 713 418.48zM464 544a16 16 0 0116 16v304a16 16 0 01-16 16H160a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H212v200h200zm452-68a16 16 0 0116 16v304a16 16 0 01-16 16H560a16 16 0 01-16-16V560a16 16 0 0116-16zm-52 68H612v200h200z`}}]},name:`product`,theme:`outlined`};function k0(){return k0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,k0({},e,{ref:t,icon:Bje}))),Hje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM380 696c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm0-144c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm0-144c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm304 272c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-144c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-144c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48z`}}]},name:`profile`,theme:`filled`};function A0(){return A0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,A0({},e,{ref:t,icon:Hje}))),Wje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM492 400h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zM340 368a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`profile`,theme:`outlined`};function j0(){return j0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,j0({},e,{ref:t,icon:Wje}))),Kje={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm300-496c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zM380 328c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z`,fill:t}},{tag:`path`,attrs:{d:`M340 656a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm152 320h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`,fill:e}}]}},name:`profile`,theme:`twotone`};function M0(){return M0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,M0({},e,{ref:t,icon:Kje}))),Jje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM368 744c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v464zm192-280c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v184zm192 72c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v256z`}}]},name:`project`,theme:`filled`};function N0(){return N0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,N0({},e,{ref:t,icon:Jje}))),Xje={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M280 752h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8zm192-280h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm192 72h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v256c0 4.4 3.6 8 8 8zm216-432H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`project`,theme:`outlined`};function P0(){return P0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,P0({},e,{ref:t,icon:Xje}))),Zje={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm472-560c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v256c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280zm-192 0c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280zm-192 0c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v464c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8V280z`,fill:t}},{tag:`path`,attrs:{d:`M280 752h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8zm192-280h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v184c0 4.4 3.6 8 8 8zm192 72h80c4.4 0 8-3.6 8-8V280c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8v256c0 4.4 3.6 8 8 8z`,fill:e}}]}},name:`project`,theme:`twotone`};function I0(){return I0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,I0({},e,{ref:t,icon:Zje}))),$je={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM648.3 332.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V658c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7h-63.1c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3 73.2-144.3a10 10 0 018.9-5.5h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8z`}}]},name:`property-safety`,theme:`filled`};function L0(){return L0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,L0({},e,{ref:t,icon:$je}))),tMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM430.5 318h-46c-1.7 0-3.3.4-4.8 1.2a10.1 10.1 0 00-4 13.6l88 161.1h-45.2c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1v29.7h-63.1c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1V658c0 5.5 4.5 10 10 10h41.3c5.5 0 10-4.5 10-10v-51.8h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-63.4v-29.7h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-45.7l87.7-161.1a10.05 10.05 0 00-8.8-14.8h-45c-3.8 0-7.2 2.1-8.9 5.5l-73.2 144.3-72.9-144.3c-1.7-3.4-5.2-5.5-9-5.5z`}}]},name:`property-safety`,theme:`outlined`};function R0(){return R0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,R0({},e,{ref:t,icon:tMe}))),rMe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z`,fill:e}},{tag:`path`,attrs:{d:`M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM593.9 318h45c5.5 0 10 4.5 10 10 .1 1.7-.3 3.3-1.1 4.8l-87.7 161.1h45.7c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4v29.7h63.4c5.5 0 10 4.5 10 10v21.3c0 5.5-4.5 10-10 10h-63.4V658c0 5.5-4.5 10-10 10h-41.3c-5.5 0-10-4.5-10-10v-51.8H418c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h63.1v-29.7H418c-5.5 0-10-4.5-10-10v-21.3c0-5.5 4.5-10 10-10h45.2l-88-161.1c-2.6-4.8-.9-10.9 4-13.6 1.5-.8 3.1-1.2 4.8-1.2h46c3.8 0 7.2 2.1 8.9 5.5l72.9 144.3L585 323.5a10 10 0 018.9-5.5z`,fill:t}},{tag:`path`,attrs:{d:`M438.9 323.5a9.88 9.88 0 00-8.9-5.5h-46c-1.7 0-3.3.4-4.8 1.2-4.9 2.7-6.6 8.8-4 13.6l88 161.1H418c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1v29.7H418c-5.5 0-10 4.5-10 10v21.3c0 5.5 4.5 10 10 10h63.1V658c0 5.5 4.5 10 10 10h41.3c5.5 0 10-4.5 10-10v-51.8h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-63.4v-29.7h63.4c5.5 0 10-4.5 10-10v-21.3c0-5.5-4.5-10-10-10h-45.7l87.7-161.1c.8-1.5 1.2-3.1 1.1-4.8 0-5.5-4.5-10-10-10h-45a10 10 0 00-8.9 5.5l-73.2 144.3-72.9-144.3z`,fill:e}}]}},name:`property-safety`,theme:`twotone`};function z0(){return z0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,z0({},e,{ref:t,icon:rMe}))),aMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M788 705.9V192c0-8.8-7.2-16-16-16H602v-68.8c0-6-7-9.4-11.7-5.7L462.7 202.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V240h114v465.9c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c.1-49.2-31.7-91-75.9-106.1zM752 860a48.01 48.01 0 010-96 48.01 48.01 0 010 96zM384 212c0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1V318.1c44.2-15.1 76-56.9 76-106.1zm-160 0a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0z`}}]},name:`pull-request`,theme:`outlined`};function B0(){return B0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,B0({},e,{ref:t,icon:aMe}))),sMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3-15.4 12.3-16.6 35.4-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8z`}}]},name:`pushpin`,theme:`filled`};function V0(){return V0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,V0({},e,{ref:t,icon:sMe}))),lMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3a33.23 33.23 0 00-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8zM666.2 549.3l-24.5 24.5 3.8 34.4a259.92 259.92 0 01-30.4 153.9L262 408.8c12.9-7.1 26.3-13.1 40.3-17.9 27.2-9.4 55.7-14.1 84.7-14.1 9.6 0 19.3.5 28.9 1.6l34.4 3.8 24.5-24.5L608.5 224 800 415.5 666.2 549.3z`}}]},name:`pushpin`,theme:`outlined`};function H0(){return H0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,H0({},e,{ref:t,icon:lMe}))),dMe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M474.8 357.7l-24.5 24.5-34.4-3.8c-9.6-1.1-19.3-1.6-28.9-1.6-29 0-57.5 4.7-84.7 14.1-14 4.8-27.4 10.8-40.3 17.9l353.1 353.3a259.92 259.92 0 0030.4-153.9l-3.8-34.4 24.5-24.5L800 415.5 608.5 224 474.8 357.7z`,fill:t}},{tag:`path`,attrs:{d:`M878.3 392.1L631.9 145.7c-6.5-6.5-15-9.7-23.5-9.7s-17 3.2-23.5 9.7L423.8 306.9c-12.2-1.4-24.5-2-36.8-2-73.2 0-146.4 24.1-206.5 72.3a33.23 33.23 0 00-2.7 49.4l181.7 181.7-215.4 215.2a15.8 15.8 0 00-4.6 9.8l-3.4 37.2c-.9 9.4 6.6 17.4 15.9 17.4.5 0 1 0 1.5-.1l37.2-3.4c3.7-.3 7.2-2 9.8-4.6l215.4-215.4 181.7 181.7c6.5 6.5 15 9.7 23.5 9.7 9.7 0 19.3-4.2 25.9-12.4 56.3-70.3 79.7-158.3 70.2-243.4l161.1-161.1c12.9-12.8 12.9-33.8 0-46.8zM666.2 549.3l-24.5 24.5 3.8 34.4a259.92 259.92 0 01-30.4 153.9L262 408.8c12.9-7.1 26.3-13.1 40.3-17.9 27.2-9.4 55.7-14.1 84.7-14.1 9.6 0 19.3.5 28.9 1.6l34.4 3.8 24.5-24.5L608.5 224 800 415.5 666.2 549.3z`,fill:e}}]}},name:`pushpin`,theme:`twotone`};function U0(){return U0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,U0({},e,{ref:t,icon:dMe}))),pMe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M555 790.5a28.5 28.5 0 1057 0 28.5 28.5 0 00-57 0m-143-557a28.5 28.5 0 1057 0 28.5 28.5 0 00-57 0`}},{tag:`path`,attrs:{d:`M821.52 297.71H726.3v-95.23c0-49.9-40.58-90.48-90.48-90.48H388.19c-49.9 0-90.48 40.57-90.48 90.48v95.23h-95.23c-49.9 0-90.48 40.58-90.48 90.48v247.62c0 49.9 40.57 90.48 90.48 90.48h95.23v95.23c0 49.9 40.58 90.48 90.48 90.48h247.62c49.9 0 90.48-40.57 90.48-90.48V726.3h95.23c49.9 0 90.48-40.58 90.48-90.48V388.19c0-49.9-40.57-90.48-90.48-90.48M202.48 669.14a33.37 33.37 0 01-33.34-33.33V388.19a33.37 33.37 0 0133.34-33.33h278.57a28.53 28.53 0 0028.57-28.57 28.53 28.53 0 00-28.57-28.58h-126.2v-95.23a33.37 33.37 0 0133.34-33.34h247.62a33.37 33.37 0 0133.33 33.34v256.47a24.47 24.47 0 01-24.47 24.48H379.33c-45.04 0-81.62 36.66-81.62 81.62v104.1zm652.38-33.33a33.37 33.37 0 01-33.34 33.33H542.95a28.53 28.53 0 00-28.57 28.57 28.53 28.53 0 0028.57 28.58h126.2v95.23a33.37 33.37 0 01-33.34 33.34H388.19a33.37 33.37 0 01-33.33-33.34V565.05a24.47 24.47 0 0124.47-24.48h265.34c45.04 0 81.62-36.67 81.62-81.62v-104.1h95.23a33.37 33.37 0 0133.34 33.34z`}}]},name:`python`,theme:`outlined`};function W0(){return W0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,W0({},e,{ref:t,icon:pMe}))),hMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm210.5 612.4c-11.5 1.4-44.9-52.7-44.9-52.7 0 31.3-16.2 72.2-51.1 101.8 16.9 5.2 54.9 19.2 45.9 34.4-7.3 12.3-125.6 7.9-159.8 4-34.2 3.8-152.5 8.3-159.8-4-9.1-15.2 28.9-29.2 45.8-34.4-35-29.5-51.1-70.4-51.1-101.8 0 0-33.4 54.1-44.9 52.7-5.4-.7-12.4-29.6 9.4-99.7 10.3-33 22-60.5 40.2-105.8-3.1-116.9 45.3-215 160.4-215 113.9 0 163.3 96.1 160.4 215 18.1 45.2 29.9 72.8 40.2 105.8 21.7 70.1 14.6 99.1 9.3 99.7z`}}]},name:`qq-circle`,theme:`filled`};function G0(){return G0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,G0({},e,{ref:t,icon:hMe}))),_Me={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M824.8 613.2c-16-51.4-34.4-94.6-62.7-165.3C766.5 262.2 689.3 112 511.5 112 331.7 112 256.2 265.2 261 447.9c-28.4 70.8-46.7 113.7-62.7 165.3-34 109.5-23 154.8-14.6 155.8 18 2.2 70.1-82.4 70.1-82.4 0 49 25.2 112.9 79.8 159-26.4 8.1-85.7 29.9-71.6 53.8 11.4 19.3 196.2 12.3 249.5 6.3 53.3 6 238.1 13 249.5-6.3 14.1-23.8-45.3-45.7-71.6-53.8 54.6-46.2 79.8-110.1 79.8-159 0 0 52.1 84.6 70.1 82.4 8.5-1.1 19.5-46.4-14.5-155.8z`}}]},name:`qq`,theme:`outlined`};function K0(){return K0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,K0({},e,{ref:t,icon:_Me}))),yMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM722.5 676.4c-11.5 1.4-44.9-52.7-44.9-52.7 0 31.3-16.2 72.2-51.1 101.8 16.9 5.2 54.9 19.2 45.9 34.4-7.3 12.3-125.6 7.9-159.8 4-34.2 3.8-152.5 8.3-159.8-4-9.1-15.2 28.9-29.2 45.8-34.4-35-29.5-51.1-70.4-51.1-101.8 0 0-33.4 54.1-44.9 52.7-5.4-.7-12.4-29.6 9.4-99.7 10.3-33 22-60.5 40.2-105.8-3.1-116.9 45.3-215 160.4-215 113.9 0 163.3 96.1 160.4 215 18.1 45.2 29.9 72.8 40.2 105.8 21.7 70.1 14.6 99.1 9.3 99.7z`}}]},name:`qq-square`,theme:`filled`};function q0(){return q0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,q0({},e,{ref:t,icon:yMe}))),xMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M468 128H160c-17.7 0-32 14.3-32 32v308c0 4.4 3.6 8 8 8h332c4.4 0 8-3.6 8-8V136c0-4.4-3.6-8-8-8zm-56 284H192V192h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm194 210H136c-4.4 0-8 3.6-8 8v308c0 17.7 14.3 32 32 32h308c4.4 0 8-3.6 8-8V556c0-4.4-3.6-8-8-8zm-56 284H192V612h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm590-630H556c-4.4 0-8 3.6-8 8v332c0 4.4 3.6 8 8 8h332c4.4 0 8-3.6 8-8V160c0-17.7-14.3-32-32-32zm-32 284H612V192h220v220zm-138-74h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm194 210h-48c-4.4 0-8 3.6-8 8v134h-78V556c0-4.4-3.6-8-8-8H556c-4.4 0-8 3.6-8 8v332c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h78v102c0 4.4 3.6 8 8 8h190c4.4 0 8-3.6 8-8V556c0-4.4-3.6-8-8-8zM746 832h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm142 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}}]},name:`qrcode`,theme:`outlined`};function J0(){return J0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,J0({},e,{ref:t,icon:xMe}))),CMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 708c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z`}}]},name:`question-circle`,theme:`filled`};function Y0(){return Y0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Y0({},e,{ref:t,icon:CMe}))),TMe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm0 632c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z`,fill:t}},{tag:`path`,attrs:{d:`M472 732a40 40 0 1080 0 40 40 0 10-80 0zm151.6-415.3C593.6 290.5 554 276 512 276s-81.6 14.4-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.2 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5 0-39.3-17.2-76-48.4-103.3z`,fill:e}}]}},name:`question-circle`,theme:`twotone`};function X0(){return X0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,X0({},e,{ref:t,icon:TMe}))),DMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M764 280.9c-14-30.6-33.9-58.1-59.3-81.6C653.1 151.4 584.6 125 512 125s-141.1 26.4-192.7 74.2c-25.4 23.6-45.3 51-59.3 81.7-14.6 32-22 65.9-22 100.9v27c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-27c0-99.5 88.6-180.4 197.6-180.4s197.6 80.9 197.6 180.4c0 40.8-14.5 79.2-42 111.2-27.2 31.7-65.6 54.4-108.1 64-24.3 5.5-46.2 19.2-61.7 38.8a110.85 110.85 0 00-23.9 68.6v31.4c0 6.2 5 11.2 11.2 11.2h54c6.2 0 11.2-5 11.2-11.2v-31.4c0-15.7 10.9-29.5 26-32.9 58.4-13.2 111.4-44.7 149.3-88.7 19.1-22.3 34-47.1 44.3-74 10.7-27.9 16.1-57.2 16.1-87 0-35-7.4-69-22-100.9zM512 787c-30.9 0-56 25.1-56 56s25.1 56 56 56 56-25.1 56-56-25.1-56-56-56z`}}]},name:`question`,theme:`outlined`};function Z0(){return Z0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Z0({},e,{ref:t,icon:DMe}))),kMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M926.8 397.1l-396-288a31.81 31.81 0 00-37.6 0l-396 288a31.99 31.99 0 00-11.6 35.8l151.3 466a32 32 0 0030.4 22.1h489.5c13.9 0 26.1-8.9 30.4-22.1l151.3-466c4.2-13.2-.5-27.6-11.7-35.8zM838.6 417l-98.5 32-200-144.7V199.9L838.6 417zM466 567.2l-89.1 122.3-55.2-169.2L466 567.2zm-116.3-96.8L484 373.3v140.8l-134.3-43.7zM512 599.2l93.9 128.9H418.1L512 599.2zm28.1-225.9l134.2 97.1L540.1 514V373.3zM558 567.2l144.3-46.9-55.2 169.2L558 567.2zm-74-367.3v104.4L283.9 449l-98.5-32L484 199.9zM169.3 470.8l86.5 28.1 80.4 246.4-53.8 73.9-113.1-348.4zM327.1 853l50.3-69h269.3l50.3 69H327.1zm414.5-33.8l-53.8-73.9 80.4-246.4 86.5-28.1-113.1 348.4z`}}]},name:`radar-chart`,theme:`outlined`};function Q0(){return Q0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Q0({},e,{ref:t,icon:kMe}))),jMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M712 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm2-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM136 374h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-174h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm752 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-230 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 624H358c-87.3 0-158-70.7-158-158V484c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v182c0 127 103 230 230 230h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`radius-bottomleft`,theme:`outlined`};function $0(){return $0=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$0({},e,{ref:t,icon:jMe}))),NMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M368 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-58-624h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm578 102h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm292 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm174 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 276h-56c-4.4 0-8 3.6-8 8v182c0 87.3-70.7 158-158 158H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c127 0 230-103 230-230V484c0-4.4-3.6-8-8-8z`}}]},name:`radius-bottomright`,theme:`outlined`};function e2(){return e2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,e2({},e,{ref:t,icon:NMe}))),FMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M396 140h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-44 684h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm524-204h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 344h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 160h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm320 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm160 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm140-284c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V370c0-127-103-230-230-230H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h170c87.3 0 158 70.7 158 158v170zM236 96H92c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8h144c4.4 0 8-3.6 8-8V104c0-4.4-3.6-8-8-8zm-48 101.6c0 1.3-1.1 2.4-2.4 2.4h-43.2c-1.3 0-2.4-1.1-2.4-2.4v-43.2c0-1.3 1.1-2.4 2.4-2.4h43.2c1.3 0 2.4 1.1 2.4 2.4v43.2zM920 780H776c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8h144c4.4 0 8-3.6 8-8V788c0-4.4-3.6-8-8-8zm-48 101.6c0 1.3-1.1 2.4-2.4 2.4h-43.2c-1.3 0-2.4-1.1-2.4-2.4v-43.2c0-1.3 1.1-2.4 2.4-2.4h43.2c1.3 0 2.4 1.1 2.4 2.4v43.2z`}}]},name:`radius-setting`,theme:`outlined`};function t2(){return t2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,t2({},e,{ref:t,icon:FMe}))),LMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M656 200h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm58 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 650h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm696-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-174 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm174-696H358c-127 0-230 103-230 230v182c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V358c0-87.3 70.7-158 158-158h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`radius-upleft`,theme:`outlined`};function n2(){return n2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,n2({},e,{ref:t,icon:LMe}))),zMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M368 128h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-2 696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm522-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 128h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm174 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-48-696H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c87.3 0 158 70.7 158 158v182c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V358c0-127-103-230-230-230z`}}]},name:`radius-upright`,theme:`outlined`};function r2(){return r2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,r2({},e,{ref:t,icon:zMe}))),VMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 161H699.2c-49.1 0-97.1 14.1-138.4 40.7L512 233l-48.8-31.3A255.2 255.2 0 00324.8 161H96c-17.7 0-32 14.3-32 32v568c0 17.7 14.3 32 32 32h228.8c49.1 0 97.1 14.1 138.4 40.7l44.4 28.6c1.3.8 2.8 1.3 4.3 1.3s3-.4 4.3-1.3l44.4-28.6C602 807.1 650.1 793 699.2 793H928c17.7 0 32-14.3 32-32V193c0-17.7-14.3-32-32-32zM404 553.5c0 4.1-3.2 7.5-7.1 7.5H211.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm0-140c0 4.1-3.2 7.5-7.1 7.5H211.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm416 140c0 4.1-3.2 7.5-7.1 7.5H627.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45zm0-140c0 4.1-3.2 7.5-7.1 7.5H627.1c-3.9 0-7.1-3.4-7.1-7.5v-45c0-4.1 3.2-7.5 7.1-7.5h185.7c3.9 0 7.1 3.4 7.1 7.5v45z`}}]},name:`read`,theme:`filled`};function i2(){return i2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,i2({},e,{ref:t,icon:VMe}))),UMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 161H699.2c-49.1 0-97.1 14.1-138.4 40.7L512 233l-48.8-31.3A255.2 255.2 0 00324.8 161H96c-17.7 0-32 14.3-32 32v568c0 17.7 14.3 32 32 32h228.8c49.1 0 97.1 14.1 138.4 40.7l44.4 28.6c1.3.8 2.8 1.3 4.3 1.3s3-.4 4.3-1.3l44.4-28.6C602 807.1 650.1 793 699.2 793H928c17.7 0 32-14.3 32-32V193c0-17.7-14.3-32-32-32zM324.8 721H136V233h188.8c35.4 0 69.8 10.1 99.5 29.2l48.8 31.3 6.9 4.5v462c-47.6-25.6-100.8-39-155.2-39zm563.2 0H699.2c-54.4 0-107.6 13.4-155.2 39V298l6.9-4.5 48.8-31.3c29.7-19.1 64.1-29.2 99.5-29.2H888v488zM396.9 361H211.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5zm223.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c0-4.1-3.2-7.5-7.1-7.5H627.1c-3.9 0-7.1 3.4-7.1 7.5zM396.9 501H211.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5zm416 0H627.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5z`}}]},name:`read`,theme:`outlined`};function a2(){return a2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,a2({},e,{ref:t,icon:UMe}))),WMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M676 623c-18.8 0-34 15.2-34 34s15.2 34 34 34 34-15.2 34-34-15.2-34-34-34zm204-455H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zM448 848H176V616h272v232zm0-296H176v-88h272v88zm20-272v-48h72v-56h64v56h72v48H468zm180 168v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8zm28 301c-50.8 0-92-41.2-92-92s41.2-92 92-92 92 41.2 92 92-41.2 92-92 92zm92-245c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v96zm-92 61c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34z`}}]},name:`reconciliation`,theme:`filled`};function s2(){return s2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,s2({},e,{ref:t,icon:WMe}))),KMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M676 565c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34zm204-523H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zm-412 64h72v-56h64v56h72v48H468v-48zm-20 616H176V616h272v232zm0-296H176v-88h272v88zm392 240H512V432c0-17.7-14.3-32-32-32H304V240h100v104h336V240h100v552zM704 408v96c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-96c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zM592 512h48c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z`}}]},name:`reconciliation`,theme:`outlined`};function c2(){return c2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,c2({},e,{ref:t,icon:KMe}))),JMe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M740 344H404V240H304v160h176c17.7 0 32 14.3 32 32v360h328V240H740v104zM584 448c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56zm92 301c-50.8 0-92-41.2-92-92s41.2-92 92-92 92 41.2 92 92-41.2 92-92 92zm92-341v96c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-96c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8z`,fill:t}},{tag:`path`,attrs:{d:`M642 657a34 34 0 1068 0 34 34 0 10-68 0z`,fill:t}},{tag:`path`,attrs:{d:`M592 512h48c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm112-104v96c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-96c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z`,fill:e}},{tag:`path`,attrs:{d:`M880 168H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zm-412 64h72v-56h64v56h72v48H468v-48zm-20 616H176V616h272v232zm0-296H176v-88h272v88zm392 240H512V432c0-17.7-14.3-32-32-32H304V240h100v104h336V240h100v552z`,fill:e}},{tag:`path`,attrs:{d:`M676 565c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34z`,fill:e}}]}},name:`reconciliation`,theme:`twotone`};function l2(){return l2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,l2({},e,{ref:t,icon:JMe}))),XMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM647 470.4l-87.2 161h45.9c4.6 0 8.4 3.8 8.4 8.4v25.1c0 4.6-3.8 8.4-8.4 8.4h-63.3v28.6h63.3c4.6 0 8.4 3.8 8.4 8.4v25c.2 4.6-3.6 8.5-8.2 8.5h-63.3v49.9c0 4.6-3.8 8.4-8.4 8.4h-43.7c-4.6 0-8.4-3.8-8.4-8.4v-49.9h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h63v-28.6h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h45.4l-87.5-161c-2.2-4.1-.7-9.1 3.4-11.4 1.3-.6 2.6-1 3.9-1h48.8c3.2 0 6.1 1.8 7.5 4.6l71.9 141.8 71.9-141.9a8.5 8.5 0 017.5-4.6h47.8c4.6 0 8.4 3.8 8.4 8.4-.1 1.5-.5 2.9-1.1 4.1zM512.6 323L289 148h446L512.6 323z`}}]},name:`red-envelope`,theme:`filled`};function u2(){return u2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,u2({},e,{ref:t,icon:XMe}))),QMe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M440.6 462.6a8.38 8.38 0 00-7.5-4.6h-48.8c-1.3 0-2.6.4-3.9 1a8.4 8.4 0 00-3.4 11.4l87.4 161.1H419c-4.6 0-8.4 3.8-8.4 8.4V665c0 4.6 3.8 8.4 8.4 8.4h63V702h-63c-4.6 0-8.4 3.8-8.4 8.4v25.1c0 4.6 3.8 8.4 8.4 8.4h63v49.9c0 4.6 3.8 8.4 8.4 8.4h43.7c4.6 0 8.4-3.8 8.4-8.4v-49.9h63.3c4.7 0 8.4-3.8 8.2-8.5v-25c0-4.6-3.8-8.4-8.4-8.4h-63.3v-28.6h63.3c4.6 0 8.4-3.8 8.4-8.4v-25.1c0-4.6-3.8-8.4-8.4-8.4h-45.9l87.2-161a8.45 8.45 0 00-7.4-12.4h-47.8c-3.1 0-6 1.8-7.5 4.6l-71.9 141.9-71.7-142zM832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V193.1l260.3 204.1c11.6 9.1 27.9 9.1 39.5 0L792 193.1V888zm0-751.3h-31.7L512 331.3 263.7 136.7H232v-.7h560v.7z`}}]},name:`red-envelope`,theme:`outlined`};function d2(){return d2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,d2({},e,{ref:t,icon:QMe}))),eNe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V193.1l260.3 204.1c11.6 9.1 27.9 9.1 39.5 0L792 193.1V888zm0-751.3h-31.7L512 331.3 263.7 136.7H232v-.7h560v.7z`,fill:e}},{tag:`path`,attrs:{d:`M492.3 397.2L232 193.1V888h560V193.1L531.8 397.2a31.99 31.99 0 01-39.5 0zm99.4 60.9h47.8a8.45 8.45 0 017.4 12.4l-87.2 161h45.9c4.6 0 8.4 3.8 8.4 8.4V665c0 4.6-3.8 8.4-8.4 8.4h-63.3V702h63.3c4.6 0 8.4 3.8 8.4 8.4v25c.2 4.7-3.5 8.5-8.2 8.5h-63.3v49.9c0 4.6-3.8 8.4-8.4 8.4h-43.7c-4.6 0-8.4-3.8-8.4-8.4v-49.9h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h63v-28.6h-63c-4.6 0-8.4-3.8-8.4-8.4v-25.1c0-4.6 3.8-8.4 8.4-8.4h45.4L377 470.4a8.4 8.4 0 013.4-11.4c1.3-.6 2.6-1 3.9-1h48.8c3.2 0 6.1 1.8 7.5 4.6l71.7 142 71.9-141.9a8.6 8.6 0 017.5-4.6z`,fill:t}},{tag:`path`,attrs:{d:`M232 136.7h31.7L512 331.3l248.3-194.6H792v-.7H232z`,fill:t}},{tag:`path`,attrs:{d:`M440.6 462.6a8.38 8.38 0 00-7.5-4.6h-48.8c-1.3 0-2.6.4-3.9 1a8.4 8.4 0 00-3.4 11.4l87.4 161.1H419c-4.6 0-8.4 3.8-8.4 8.4V665c0 4.6 3.8 8.4 8.4 8.4h63V702h-63c-4.6 0-8.4 3.8-8.4 8.4v25.1c0 4.6 3.8 8.4 8.4 8.4h63v49.9c0 4.6 3.8 8.4 8.4 8.4h43.7c4.6 0 8.4-3.8 8.4-8.4v-49.9h63.3c4.7 0 8.4-3.8 8.2-8.5v-25c0-4.6-3.8-8.4-8.4-8.4h-63.3v-28.6h63.3c4.6 0 8.4-3.8 8.4-8.4v-25.1c0-4.6-3.8-8.4-8.4-8.4h-45.9l87.2-161a8.45 8.45 0 00-7.4-12.4h-47.8c-3.1 0-6 1.8-7.5 4.6l-71.9 141.9-71.7-142z`,fill:e}}]}},name:`red-envelope`,theme:`twotone`};function f2(){return f2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,f2({},e,{ref:t,icon:eNe}))),nNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M584 548a36 36 0 1072 0 36 36 0 10-72 0zm144-108a35.9 35.9 0 00-32.5 20.6c18.8 14.3 34.4 30.7 45.9 48.8A35.98 35.98 0 00728 440zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm245 477.9c4.6 13.5 7 27.6 7 42.1 0 99.4-112.8 180-252 180s-252-80.6-252-180c0-14.5 2.4-28.6 7-42.1A72.01 72.01 0 01296 404c27.1 0 50.6 14.9 62.9 37 36.2-19.8 80.2-32.8 128.1-36.1l58.4-131.1c4.3-9.8 15.2-14.8 25.5-11.8l91.6 26.5a54.03 54.03 0 01101.6 25.6c0 29.8-24.2 54-54 54-23.5 0-43.5-15.1-50.9-36.1L577 308.3l-43 96.5c49.1 3 94.2 16.1 131.2 36.3 12.3-22.1 35.8-37 62.9-37 39.8 0 72 32.2 72 72-.1 29.3-17.8 54.6-43.1 65.8zm-171.3 83c-14.9 11.7-44.3 24.3-73.7 24.3s-58.9-12.6-73.7-24.3c-9.3-7.3-22.7-5.7-30 3.6-7.3 9.3-5.7 22.7 3.6 30 25.7 20.4 65 33.5 100.1 33.5 35.1 0 74.4-13.1 100.2-33.5 9.3-7.3 10.9-20.8 3.6-30a21.46 21.46 0 00-30.1-3.6zM296 440a35.98 35.98 0 00-13.4 69.4c11.5-18.1 27.1-34.5 45.9-48.8A35.9 35.9 0 00296 440zm72 108a36 36 0 1072 0 36 36 0 10-72 0z`}}]},name:`reddit-circle`,theme:`filled`};function p2(){return p2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,p2({},e,{ref:t,icon:nNe}))),iNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M288 568a56 56 0 10112 0 56 56 0 10-112 0zm338.7 119.7c-23.1 18.2-68.9 37.8-114.7 37.8s-91.6-19.6-114.7-37.8c-14.4-11.3-35.3-8.9-46.7 5.5s-8.9 35.3 5.5 46.7C396.3 771.6 457.5 792 512 792s115.7-20.4 155.9-52.1a33.25 33.25 0 10-41.2-52.2zM960 456c0-61.9-50.1-112-112-112-42.1 0-78.7 23.2-97.9 57.6-57.6-31.5-127.7-51.8-204.1-56.5L612.9 195l127.9 36.9c11.5 32.6 42.6 56.1 79.2 56.1 46.4 0 84-37.6 84-84s-37.6-84-84-84c-32 0-59.8 17.9-74 44.2L603.5 123a33.2 33.2 0 00-39.6 18.4l-90.8 203.9c-74.5 5.2-142.9 25.4-199.2 56.2A111.94 111.94 0 00176 344c-61.9 0-112 50.1-112 112 0 45.8 27.5 85.1 66.8 102.5-7.1 21-10.8 43-10.8 65.5 0 154.6 175.5 280 392 280s392-125.4 392-280c0-22.6-3.8-44.5-10.8-65.5C932.5 541.1 960 501.8 960 456zM820 172.5a31.5 31.5 0 110 63 31.5 31.5 0 010-63zM120 456c0-30.9 25.1-56 56-56a56 56 0 0150.6 32.1c-29.3 22.2-53.5 47.8-71.5 75.9a56.23 56.23 0 01-35.1-52zm392 381.5c-179.8 0-325.5-95.6-325.5-213.5S332.2 410.5 512 410.5 837.5 506.1 837.5 624 691.8 837.5 512 837.5zM868.8 508c-17.9-28.1-42.2-53.7-71.5-75.9 9-18.9 28.3-32.1 50.6-32.1 30.9 0 56 25.1 56 56 .1 23.5-14.5 43.7-35.1 52zM624 568a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`reddit`,theme:`outlined`};function m2(){return m2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,m2({},e,{ref:t,icon:iNe}))),oNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M296 440a35.98 35.98 0 00-13.4 69.4c11.5-18.1 27.1-34.5 45.9-48.8A35.9 35.9 0 00296 440zm289.7 184.9c-14.9 11.7-44.3 24.3-73.7 24.3s-58.9-12.6-73.7-24.3c-9.3-7.3-22.7-5.7-30 3.6-7.3 9.3-5.7 22.7 3.6 30 25.7 20.4 65 33.5 100.1 33.5 35.1 0 74.4-13.1 100.2-33.5 9.3-7.3 10.9-20.8 3.6-30a21.46 21.46 0 00-30.1-3.6zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM757 541.9c4.6 13.5 7 27.6 7 42.1 0 99.4-112.8 180-252 180s-252-80.6-252-180c0-14.5 2.4-28.6 7-42.1A72.01 72.01 0 01296 404c27.1 0 50.6 14.9 62.9 37 36.2-19.8 80.2-32.8 128.1-36.1l58.4-131.1c4.3-9.8 15.2-14.8 25.5-11.8l91.6 26.5a54.03 54.03 0 01101.6 25.6c0 29.8-24.2 54-54 54-23.5 0-43.5-15.1-50.9-36.1L577 308.3l-43 96.5c49.1 3 94.2 16.1 131.2 36.3 12.3-22.1 35.8-37 62.9-37 39.8 0 72 32.2 72 72-.1 29.3-17.8 54.6-43.1 65.8zM584 548a36 36 0 1072 0 36 36 0 10-72 0zm144-108a35.9 35.9 0 00-32.5 20.6c18.8 14.3 34.4 30.7 45.9 48.8A35.98 35.98 0 00728 440zM368 548a36 36 0 1072 0 36 36 0 10-72 0z`}}]},name:`reddit-square`,theme:`filled`};function h2(){return h2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,h2({},e,{ref:t,icon:oNe}))),cNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z`}}]},name:`redo`,theme:`outlined`};function g2(){return g2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,g2({},e,{ref:t,icon:cNe}))),uNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zM508 704c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zM291 256l22.4-76h397.2l22.4 76H291zm137 304a80 80 0 10160 0 80 80 0 10-160 0z`}}]},name:`rest`,theme:`filled`};function _2(){return _2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_2({},e,{ref:t,icon:uNe}))),fNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z`}},{tag:`path`,attrs:{d:`M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z`}}]},name:`rest`,theme:`outlined`};function v2(){return v2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,v2({},e,{ref:t,icon:fNe}))),pNe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M326.4 844h363.2l44.3-520H282l44.4 520zM508 416c79.5 0 144 64.5 144 144s-64.5 144-144 144-144-64.5-144-144 64.5-144 144-144z`,fill:t}},{tag:`path`,attrs:{d:`M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z`,fill:e}},{tag:`path`,attrs:{d:`M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z`,fill:e}}]}},name:`rest`,theme:`twotone`};function b2(){return b2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,b2({},e,{ref:t,icon:pNe}))),hNe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M136 552h63.6c4.4 0 8-3.6 8-8V288.7h528.6v72.6c0 1.9.6 3.7 1.8 5.2a8.3 8.3 0 0011.7 1.4L893 255.4c4.3-5 3.6-10.3 0-13.2L749.7 129.8a8.22 8.22 0 00-5.2-1.8c-4.6 0-8.4 3.8-8.4 8.4V209H199.7c-39.5 0-71.7 32.2-71.7 71.8V544c0 4.4 3.6 8 8 8zm752-80h-63.6c-4.4 0-8 3.6-8 8v255.3H287.8v-72.6c0-1.9-.6-3.7-1.8-5.2a8.3 8.3 0 00-11.7-1.4L131 768.6c-4.3 5-3.6 10.3 0 13.2l143.3 112.4c1.5 1.2 3.3 1.8 5.2 1.8 4.6 0 8.4-3.8 8.4-8.4V815h536.6c39.5 0 71.7-32.2 71.7-71.8V480c-.2-4.4-3.8-8-8.2-8z`}}]},name:`retweet`,theme:`outlined`};function x2(){return x2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,x2({},e,{ref:t,icon:hNe}))),_Ne={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm154.7 454.5l-246 178c-5.3 3.8-12.7 0-12.7-6.5v-46.9c0-10.2 4.9-19.9 13.2-25.9L566.6 512 421.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.8 0 13z`}}]},name:`right-circle`,theme:`filled`};function S2(){return S2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,S2({},e,{ref:t,icon:_Ne}))),yNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M666.7 505.5l-246-178A8 8 0 00408 334v46.9c0 10.2 4.9 19.9 13.2 25.9L566.6 512 421.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.8 0-13z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`right-circle`,theme:`outlined`};function C2(){return C2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,C2({},e,{ref:t,icon:yNe}))),xNe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm154.7 378.4l-246 178c-5.3 3.8-12.7 0-12.7-6.5V643c0-10.2 4.9-19.9 13.2-25.9L566.6 512 421.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.7 0 12.9z`,fill:t}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M666.7 505.5l-246-178c-5.3-3.8-12.7 0-12.7 6.5v46.9c0 10.3 4.9 19.9 13.2 25.9L566.6 512 421.2 617.1c-8.3 6-13.2 15.7-13.2 25.9v46.9c0 6.5 7.4 10.3 12.7 6.5l246-178c4.4-3.2 4.4-9.7 0-12.9z`,fill:e}}]}},name:`right-circle`,theme:`twotone`};function w2(){return w2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,w2({},e,{ref:t,icon:xNe}))),CNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM658.7 518.5l-246 178c-5.3 3.8-12.7 0-12.7-6.5v-46.9c0-10.2 4.9-19.9 13.2-25.9L558.6 512 413.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.8 0 13z`}}]},name:`right-square`,theme:`filled`};function T2(){return T2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,T2({},e,{ref:t,icon:CNe}))),TNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M412.7 696.5l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5V381c0 10.2 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`right-square`,theme:`outlined`};function E2(){return E2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,E2({},e,{ref:t,icon:TNe}))),DNe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm216-196.9c0-10.2 4.9-19.9 13.2-25.9L558.6 512 413.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.7 0 12.9l-246 178c-5.3 3.9-12.7.1-12.7-6.4v-46.9z`,fill:t}},{tag:`path`,attrs:{d:`M412.7 696.4l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5v46.9c0 10.3 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.7-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.4z`,fill:e}}]}},name:`right-square`,theme:`twotone`};function D2(){return D2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,D2({},e,{ref:t,icon:DNe}))),kNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M917 211.1l-199.2 24c-6.6.8-9.4 8.9-4.7 13.6l59.3 59.3-226 226-101.8-101.7c-6.3-6.3-16.4-6.2-22.6 0L100.3 754.1a8.03 8.03 0 000 11.3l45 45.2c3.1 3.1 8.2 3.1 11.3 0L433.3 534 535 635.7c6.3 6.2 16.4 6.2 22.6 0L829 364.5l59.3 59.3a8.01 8.01 0 0013.6-4.7l24-199.2c.7-5.1-3.7-9.5-8.9-8.8z`}}]},name:`rise`,theme:`outlined`};function O2(){return O2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,O2({},e,{ref:t,icon:kNe}))),jNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM300 328c0-33.1 26.9-60 60-60s60 26.9 60 60-26.9 60-60 60-60-26.9-60-60zm372 248c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-60c0-4.4 3.6-8 8-8h304c4.4 0 8 3.6 8 8v60zm-8-188c-33.1 0-60-26.9-60-60s26.9-60 60-60 60 26.9 60 60-26.9 60-60 60zm135 476H225c-13.8 0-25 14.3-25 32v56c0 4.4 2.8 8 6.2 8h611.5c3.4 0 6.2-3.6 6.2-8v-56c.1-17.7-11.1-32-24.9-32z`}}]},name:`robot`,theme:`filled`};function k2(){return k2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,k2({},e,{ref:t,icon:jNe}))),NNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`robot`,theme:`outlined`};function A2(){return A2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,A2({},e,{ref:t,icon:NNe}))),PNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8L864 736zM512 352a48.01 48.01 0 010 96 48.01 48.01 0 010-96zm116.1 432.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5s-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5z`}}]},name:`rocket`,theme:`filled`};function M2(){return M2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,M2({},e,{ref:t,icon:PNe}))),INe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8H864zM762.3 621.4c9.4 14.6 17 30.3 22.5 46.6H700V558.7a211.6 211.6 0 0162.3 62.7zM388 483.1V318.8l124-147 124 147V668H388V483.1zM239.2 668c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668h-84.8zm388.9 116.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5-38.3 0-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM464 400a48 48 0 1096 0 48 48 0 10-96 0z`}}]},name:`rocket`,theme:`outlined`};function N2(){return N2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,N2({},e,{ref:t,icon:INe}))),LNe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M261.7 621.4c-9.4 14.6-17 30.3-22.5 46.6H324V558.7c-24.8 16.2-46 37.5-62.3 62.7zM700 558.7V668h84.8c-5.5-16.3-13.1-32-22.5-46.6a211.6 211.6 0 00-62.3-62.7zm-64-239.9l-124-147-124 147V668h248V318.8zM512 448a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`,fill:t}},{tag:`path`,attrs:{d:`M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8L864 736zm-540-68h-84.8c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668zm64-184.9V318.8l124-147 124 147V668H388V483.1zm240.1 301.1c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5s-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM700 668V558.7a211.6 211.6 0 0162.3 62.7c9.4 14.6 17 30.3 22.5 46.6H700z`,fill:e}},{tag:`path`,attrs:{d:`M464 400a48 48 0 1096 0 48 48 0 10-96 0z`,fill:e}}]}},name:`rocket`,theme:`twotone`};function F2(){return F2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,F2({},e,{ref:t,icon:LNe}))),zNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z`}}]},name:`rollback`,theme:`outlined`};function I2(){return I2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,I2({},e,{ref:t,icon:zNe}))),BNe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M509.81 112.02c-.73.05-1.46.12-2.2.21h-4.32l-3.4 1.7a36.33 36.33 0 00-8.88 4.4l-145.96 73.02-153.7 153.7-72.65 145.24a36.33 36.33 0 00-4.9 9.86l-1.56 3.12v3.98a36.33 36.33 0 000 8.3v298.23l6.88 9.5a198.7 198.7 0 0020.58 24.42c37.86 37.85 87.66 57.16 142.62 62.01a36.34 36.34 0 0011.57 1.77h575.75c3.14.54 6.34.66 9.51.36a36.34 36.34 0 002.56-.35h29.8v-29.95a36.33 36.33 0 000-11.92V293.88a36.33 36.33 0 00-1.78-11.57c-4.84-54.95-24.16-104.75-62.01-142.62h-.07v-.07a203.92 203.92 0 00-24.27-20.43l-9.58-6.96H515.14a36.34 36.34 0 00-5.32-.21M643 184.89h145.96c2.47 2.08 5.25 4.06 7.45 6.25 26.59 26.63 40.97 64.74 42.3 111.18zM510.31 190l65.71 39.38-25.47 156.1-64.36 64.36-100.7 100.69L229.4 576l-39.38-65.7 61.1-122.26 136.94-136.95zm132.76 79.61l123.19 73.94-138.09 17.24zM821.9 409.82c-21.21 68.25-62.66 142.58-122.4 211.88l-65.85-188.4zm-252.54 59.6l53.64 153.56-153.55-53.65 68.12-68.12zm269.5 81.04v237L738.44 687.04c40.1-43.74 73.73-89.83 100.4-136.59m-478.04 77.7l-17.24 138.08-73.94-123.18zm72.52 5.46l188.32 65.85c-69.28 59.71-143.57 101.2-211.8 122.4zM184.9 643l117.43 195.7c-46.5-1.33-84.63-15.74-111.26-42.37-2.16-2.16-4.11-4.93-6.17-7.38zm502.17 95.43l100.4 100.4h-237c46.77-26.67 92.86-60.3 136.6-100.4`}}]},name:`ruby`,theme:`outlined`};function R2(){return R2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,R2({},e,{ref:t,icon:BNe}))),HNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM694.5 340.7L481.9 633.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.1 0 10 2.5 13 6.6l64.7 89 150.9-207.8c3-4.1 7.8-6.6 13-6.6H688c6.5.1 10.3 7.5 6.5 12.8z`}}]},name:`safety-certificate`,theme:`filled`};function z2(){return z2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,z2({},e,{ref:t,icon:HNe}))),WNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zm-405.8-201c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z`}}]},name:`safety-certificate`,theme:`outlined`};function B2(){return B2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,B2({},e,{ref:t,icon:WNe}))),KNe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z`,fill:e}},{tag:`path`,attrs:{d:`M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM632.8 328H688c6.5 0 10.3 7.4 6.5 12.7L481.9 633.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.2 0 10 2.5 13 6.6l64.7 89.1 150.9-207.8c3-4.1 7.9-6.6 13-6.6z`,fill:t}},{tag:`path`,attrs:{d:`M404.2 453.3c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z`,fill:e}}]}},name:`safety-certificate`,theme:`twotone`};function V2(){return V2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,V2({},e,{ref:t,icon:KNe}))),JNe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64L128 192v384c0 212.1 171.9 384 384 384s384-171.9 384-384V192L512 64zm312 512c0 172.3-139.7 312-312 312S200 748.3 200 576V246l312-110 312 110v330z`}},{tag:`path`,attrs:{d:`M378.4 475.1a35.91 35.91 0 00-50.9 0 35.91 35.91 0 000 50.9l129.4 129.4 2.1 2.1a33.98 33.98 0 0048.1 0L730.6 434a33.98 33.98 0 000-48.1l-2.8-2.8a33.98 33.98 0 00-48.1 0L483 579.7 378.4 475.1z`}}]},name:`safety`,theme:`outlined`};function H2(){return H2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,H2({},e,{ref:t,icon:JNe}))),YNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 176h256v112H384V176zm128 554c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144zm0-224c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80z`}}]},name:`save`,theme:`filled`};function W2(){return W2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,W2({},e,{ref:t,icon:YNe}))),ZNe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z`}}]},name:`save`,theme:`outlined`};function G2(){return G2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,G2({},e,{ref:t,icon:ZNe}))),QNe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M704 320c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V184H184v656h656V341.8l-136-136V320zM512 730c-79.5 0-144-64.5-144-144s64.5-144 144-144 144 64.5 144 144-64.5 144-144 144z`,fill:t}},{tag:`path`,attrs:{d:`M512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z`,fill:e}},{tag:`path`,attrs:{d:`M893.3 293.3L730.7 130.7c-.7-.7-1.4-1.3-2.1-2-.1-.1-.3-.2-.4-.3-.7-.7-1.5-1.3-2.2-1.9a64 64 0 00-22-11.7V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840z`,fill:e}}]}},name:`save`,theme:`twotone`};function q2(){return q2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,q2({},e,{ref:t,icon:QNe}))),ePe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M136 384h56c4.4 0 8-3.6 8-8V200h176c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H196c-37.6 0-68 30.4-68 68v180c0 4.4 3.6 8 8 8zm512-184h176v176c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V196c0-37.6-30.4-68-68-68H648c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM376 824H200V648c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v180c0 37.6 30.4 68 68 68h180c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm512-184h-56c-4.4 0-8 3.6-8 8v176H648c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h180c37.6 0 68-30.4 68-68V648c0-4.4-3.6-8-8-8zm16-164H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`scan`,theme:`outlined`};function J2(){return J2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,J2({},e,{ref:t,icon:ePe}))),nPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zM424 688c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-136c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm374.5-91.3l-165 228.7a15.9 15.9 0 01-25.8 0L493.5 531.2c-3.8-5.3 0-12.7 6.5-12.7h54.9c5.1 0 9.9 2.5 12.9 6.6l52.8 73.1 103.7-143.7c3-4.2 7.8-6.6 12.9-6.6H792c6.5.1 10.3 7.5 6.5 12.8z`}}]},name:`schedule`,theme:`filled`};function Y2(){return Y2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Y2({},e,{ref:t,icon:nPe}))),iPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496zM416 496H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm0 136H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm308.2-177.4L620.6 598.3l-52.8-73.1c-3-4.2-7.8-6.6-12.9-6.6H500c-6.5 0-10.3 7.4-6.5 12.7l114.1 158.2a15.9 15.9 0 0025.8 0l165-228.7c3.8-5.3 0-12.7-6.5-12.7H737c-5-.1-9.8 2.4-12.8 6.5z`}}]},name:`schedule`,theme:`outlined`};function X2(){return X2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,X2({},e,{ref:t,icon:iPe}))),oPe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M768 352c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H548v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H328v56c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-56H136v496h752V296H768v56zM424 688c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm0-136c0 4.4-3.6 8-8 8H232c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48zm374.4-91.2l-165 228.7a15.9 15.9 0 01-25.8 0L493.5 531.3c-3.8-5.3 0-12.7 6.5-12.7h54.9c5.1 0 9.9 2.4 12.9 6.6l52.8 73.1 103.6-143.7c3-4.1 7.8-6.6 12.8-6.5h54.9c6.5 0 10.3 7.4 6.5 12.7z`,fill:t}},{tag:`path`,attrs:{d:`M724.2 454.6L620.6 598.3l-52.8-73.1c-3-4.2-7.8-6.6-12.9-6.6H500c-6.5 0-10.3 7.4-6.5 12.7l114.1 158.2a15.9 15.9 0 0025.8 0l165-228.7c3.8-5.3 0-12.7-6.5-12.7H737c-5-.1-9.8 2.4-12.8 6.5zM416 496H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`,fill:e}},{tag:`path`,attrs:{d:`M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496z`,fill:e}},{tag:`path`,attrs:{d:`M416 632H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`,fill:e}}]}},name:`schedule`,theme:`twotone`};function Z2(){return Z2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Z2({},e,{ref:t,icon:oPe}))),cPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M567.1 512l318.5-319.3c5-5 1.5-13.7-5.6-13.7h-90.5c-2.1 0-4.2.8-5.6 2.3l-273.3 274-90.2-90.5c12.5-22.1 19.7-47.6 19.7-74.8 0-83.9-68.1-152-152-152s-152 68.1-152 152 68.1 152 152 152c27.7 0 53.6-7.4 75.9-20.3l90 90.3-90.1 90.3A151.04 151.04 0 00288 582c-83.9 0-152 68.1-152 152s68.1 152 152 152 152-68.1 152-152c0-27.2-7.2-52.7-19.7-74.8l90.2-90.5 273.3 274c1.5 1.5 3.5 2.3 5.6 2.3H880c7.1 0 10.7-8.6 5.6-13.7L567.1 512zM288 370c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80zm0 444c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z`}}]},name:`scissor`,theme:`outlined`};function Q2(){return Q2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Q2({},e,{ref:t,icon:cPe}))),uPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM626.8 554c-48.5 48.5-123 55.2-178.6 20.1l-77.5 77.5a8.03 8.03 0 01-11.3 0l-34-34a8.03 8.03 0 010-11.3l77.5-77.5c-35.1-55.7-28.4-130.1 20.1-178.6 56.3-56.3 147.5-56.3 203.8 0 56.3 56.3 56.3 147.5 0 203.8zm-158.54-45.27a80.1 80.1 0 10113.27-113.28 80.1 80.1 0 10-113.27 113.28z`}}]},name:`security-scan`,theme:`filled`};function $2(){return $2=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$2({},e,{ref:t,icon:uPe}))),fPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM402.9 528.8l-77.5 77.5a8.03 8.03 0 000 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.7 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 123-20.1 178.6zm65.4-133.3c31.3-31.3 82-31.3 113.2 0 31.3 31.3 31.3 82 0 113.2-31.3 31.3-82 31.3-113.2 0s-31.3-81.9 0-113.2z`}}]},name:`security-scan`,theme:`outlined`};function e4(){return e4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,e4({},e,{ref:t,icon:fPe}))),pPe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z`,fill:e}},{tag:`path`,attrs:{d:`M460.7 451.1a80.1 80.1 0 10160.2 0 80.1 80.1 0 10-160.2 0z`,fill:t}},{tag:`path`,attrs:{d:`M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zm428.7 122.5c56.3 56.3 56.3 147.5 0 203.8-48.5 48.5-123 55.2-178.6 20.1l-77.5 77.5a8.03 8.03 0 01-11.3 0l-34-34a8.03 8.03 0 010-11.3l77.5-77.5c-35.1-55.7-28.4-130.1 20.1-178.6 56.3-56.3 147.5-56.3 203.8 0z`,fill:t}},{tag:`path`,attrs:{d:`M418.8 527.8l-77.5 77.5a8.03 8.03 0 000 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.6 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 122.9-20.1 178.6zm65.4-133.3a80.1 80.1 0 01113.3 0 80.1 80.1 0 010 113.3c-31.3 31.3-82 31.3-113.3 0s-31.3-82 0-113.3z`,fill:e}}]}},name:`security-scan`,theme:`twotone`};function n4(){return n4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,n4({},e,{ref:t,icon:pPe}))),hPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h360c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H184V184h656v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM653.3 599.4l52.2-52.2a8.01 8.01 0 00-4.7-13.6l-179.4-21c-5.1-.6-9.5 3.7-8.9 8.9l21 179.4c.8 6.6 8.9 9.4 13.6 4.7l52.4-52.4 256.2 256.2c3.1 3.1 8.2 3.1 11.3 0l42.4-42.4c3.1-3.1 3.1-8.2 0-11.3L653.3 599.4z`}}]},name:`select`,theme:`outlined`};function r4(){return r4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,r4({},e,{ref:t,icon:hPe}))),_Pe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z`}}]},name:`send`,theme:`outlined`};function i4(){return i4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,i4({},e,{ref:t,icon:_Pe}))),vPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512.5 390.6c-29.9 0-57.9 11.6-79.1 32.8-21.1 21.2-32.8 49.2-32.8 79.1 0 29.9 11.7 57.9 32.8 79.1 21.2 21.1 49.2 32.8 79.1 32.8 29.9 0 57.9-11.7 79.1-32.8 21.1-21.2 32.8-49.2 32.8-79.1 0-29.9-11.7-57.9-32.8-79.1a110.96 110.96 0 00-79.1-32.8zm412.3 235.5l-65.4-55.9c3.1-19 4.7-38.4 4.7-57.7s-1.6-38.8-4.7-57.7l65.4-55.9a32.03 32.03 0 009.3-35.2l-.9-2.6a442.5 442.5 0 00-79.6-137.7l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.2 28.9c-30-24.6-63.4-44-99.6-57.5l-15.7-84.9a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52-9.4-106.8-9.4-158.8 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.3a353.44 353.44 0 00-98.9 57.3l-81.8-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a445.93 445.93 0 00-79.6 137.7l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.2 56.5c-3.1 18.8-4.6 38-4.6 57 0 19.2 1.5 38.4 4.6 57l-66 56.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.3 44.8 96.8 79.6 137.7l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.8-29.1c29.8 24.5 63 43.9 98.9 57.3l15.8 85.3a32.05 32.05 0 0025.8 25.7l2.7.5a448.27 448.27 0 00158.8 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c4.3-12.4.6-26.3-9.5-35zm-412.3 52.2c-97.1 0-175.8-78.7-175.8-175.8s78.7-175.8 175.8-175.8 175.8 78.7 175.8 175.8-78.7 175.8-175.8 175.8z`}}]},name:`setting`,theme:`filled`};function o4(){return o4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,o4({},e,{ref:t,icon:vPe}))),bPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-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 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z`}}]},name:`setting`,theme:`outlined`};function s4(){return s4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,s4({},e,{ref:t,icon:bPe}))),xPe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M859.3 569.7l.2.1c3.1-18.9 4.6-38.2 4.6-57.3 0-17.1-1.3-34.3-3.7-51.1 2.4 16.7 3.6 33.6 3.6 50.5 0 19.4-1.6 38.8-4.7 57.8zM99 398.1c-.5-.4-.9-.8-1.4-1.3.7.7 1.4 1.4 2.2 2.1l65.5 55.9v-.1L99 398.1zm536.6-216h.1l-15.5-83.8c-.2-1-.4-1.9-.7-2.8.1.5.3 1.1.4 1.6l15.7 85zm54 546.5l31.4-25.8 92.8 32.9c17-22.9 31.3-47.5 42.6-73.6l-74.7-63.9 6.6-40.1c2.5-15.1 3.8-30.6 3.8-46.1s-1.3-31-3.8-46.1l-6.5-39.9 74.7-63.9c-11.4-26-25.6-50.7-42.6-73.6l-92.8 32.9-31.4-25.8c-23.9-19.6-50.6-35-79.3-45.8l-38.1-14.3-17.9-97a377.5 377.5 0 00-85 0l-17.9 97.2-37.9 14.3c-28.5 10.8-55 26.2-78.7 45.7l-31.4 25.9-93.4-33.2c-17 22.9-31.3 47.5-42.6 73.6l75.5 64.5-6.5 40c-2.5 14.9-3.7 30.2-3.7 45.5 0 15.2 1.3 30.6 3.7 45.5l6.5 40-75.5 64.5c11.4 26 25.6 50.7 42.6 73.6l93.4-33.2 31.4 25.9c23.7 19.5 50.2 34.9 78.7 45.7l37.8 14.5 17.9 97.2c28.2 3.2 56.9 3.2 85 0l17.9-97 38.1-14.3c28.8-10.8 55.4-26.2 79.3-45.8zm-177.1-50.3c-30.5 0-59.2-7.8-84.3-21.5C373.3 627 336 568.9 336 502c0-97.2 78.8-176 176-176 66.9 0 125 37.3 154.8 92.2 13.7 25 21.5 53.7 21.5 84.3 0 97.1-78.7 175.8-175.8 175.8zM207.2 812.8c-5.5 1.9-11.2 2.3-16.6 1.2 5.7 1.2 11.7 1 17.5-1l81.4-29c-.1-.1-.3-.2-.4-.3l-81.9 29.1zm717.6-414.7l-65.5 56c0 .2.1.5.1.7l65.4-55.9c7.1-6.1 11.1-14.9 11.2-24-.3 8.8-4.3 17.3-11.2 23.2z`,fill:t}},{tag:`path`,attrs:{d:`M935.8 646.6c.5 4.7 0 9.5-1.7 14.1l-.9 2.6a446.02 446.02 0 01-79.7 137.9l-1.8 2.1a32 32 0 01-35.1 9.5l-81.3-28.9a350 350 0 01-99.7 57.6l-15.7 85a32.05 32.05 0 01-25.8 25.7l-2.7.5a445.2 445.2 0 01-79.2 7.1h.3c26.7 0 53.4-2.4 79.4-7.1l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c1.6-4.7 2.1-9.7 1.5-14.5z`,fill:t}},{tag:`path`,attrs:{d:`M688 502c0-30.3-7.7-58.9-21.2-83.8C637 363.3 578.9 326 512 326c-97.2 0-176 78.8-176 176 0 66.9 37.3 125 92.2 154.8 24.9 13.5 53.4 21.2 83.8 21.2 97.2 0 176-78.8 176-176zm-288 0c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502z`,fill:e}},{tag:`path`,attrs:{d:`M594.1 952.2a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c1.7-4.6 2.2-9.4 1.7-14.1-.9-7.9-4.7-15.4-11-20.9l-65.3-55.9-.2-.1c3.1-19 4.7-38.4 4.7-57.8 0-16.9-1.2-33.9-3.6-50.5-.3-2.2-.7-4.4-1-6.6 0-.2-.1-.5-.1-.7l65.5-56c6.9-5.9 10.9-14.4 11.2-23.2.1-4-.5-8.1-1.9-12l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.4-44-99.6-57.6h-.1l-15.7-85c-.1-.5-.2-1.1-.4-1.6a32.08 32.08 0 00-25.4-24.1l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6a32.09 32.09 0 007.9 33.9c.5.4.9.9 1.4 1.3l66.3 56.6v.1c-3.1 18.8-4.6 37.9-4.6 57 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1c4.9 5.7 11.4 9.4 18.5 10.7 5.4 1 11.1.7 16.6-1.2l81.9-29.1c.1.1.3.2.4.3 29.7 24.3 62.8 43.6 98.6 57.1l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5c26.1 4.7 52.8 7.1 79.5 7.1h.3c26.6 0 53.3-2.4 79.2-7.1l2.7-.5zm-39.8-66.5a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97z`,fill:e}}]}},name:`setting`,theme:`twotone`};function l4(){return l4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,l4({},e,{ref:t,icon:xPe}))),CPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M324 666a48 48 0 1096 0 48 48 0 10-96 0zm616.7-309.6L667.6 83.2C655.2 70.9 638.7 64 621.1 64s-34.1 6.8-46.5 19.2L83.3 574.5a65.85 65.85 0 000 93.1l273.2 273.2c12.3 12.3 28.9 19.2 46.5 19.2s34.1-6.8 46.5-19.2l491.3-491.3c25.6-25.7 25.6-67.5-.1-93.1zM403 880.1L143.9 621l477.2-477.2 259 259.2L403 880.1zM152.8 373.7a7.9 7.9 0 0011.2 0L373.7 164a7.9 7.9 0 000-11.2l-38.4-38.4a7.9 7.9 0 00-11.2 0L114.3 323.9a7.9 7.9 0 000 11.2l38.5 38.6zm718.6 276.6a7.9 7.9 0 00-11.2 0L650.3 860.1a7.9 7.9 0 000 11.2l38.4 38.4a7.9 7.9 0 0011.2 0L909.7 700a7.9 7.9 0 000-11.2l-38.3-38.5z`}}]},name:`shake`,theme:`outlined`};function u4(){return u4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,u4({},e,{ref:t,icon:CPe}))),TPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z`}}]},name:`share-alt`,theme:`outlined`};function d4(){return d4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,d4({},e,{ref:t,icon:TPe}))),DPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h274V736h128v176h274c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zm-72 568H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 3-1.3 6-2.6 9-4v242.2zm0-568.1H214v-88h596v88z`}}]},name:`shop`,theme:`filled`};function f4(){return f4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,f4({},e,{ref:t,icon:DPe}))),kPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h676c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zM214 184h596v88H214v-88zm362 656.1H448V736h128v104.1zm234 0H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 3-1.3 6-2.6 9-4v242.2zm30-404.4c0 59.8-49 108.3-109.3 108.3-40.8 0-76.4-22.1-95.2-54.9-2.9-5-8.1-8.1-13.9-8.1h-.6c-5.7 0-11 3.1-13.9 8.1A109.24 109.24 0 01512 544c-40.7 0-76.2-22-95-54.7-3-5.1-8.4-8.3-14.3-8.3s-11.4 3.2-14.3 8.3a109.63 109.63 0 01-95.1 54.7C233 544 184 495.5 184 435.7v-91.2c0-.3.2-.5.5-.5h655c.3 0 .5.2.5.5v91.2z`}}]},name:`shop`,theme:`outlined`};function p4(){return p4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,p4({},e,{ref:t,icon:kPe}))),jPe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M839.5 344h-655c-.3 0-.5.2-.5.5v91.2c0 59.8 49 108.3 109.3 108.3 40.7 0 76.2-22 95.1-54.7 2.9-5.1 8.4-8.3 14.3-8.3s11.3 3.2 14.3 8.3c18.8 32.7 54.3 54.7 95 54.7 40.8 0 76.4-22.1 95.1-54.9 2.9-5 8.2-8.1 13.9-8.1h.6c5.8 0 11 3.1 13.9 8.1 18.8 32.8 54.4 54.9 95.2 54.9C791 544 840 495.5 840 435.7v-91.2c0-.3-.2-.5-.5-.5z`,fill:t}},{tag:`path`,attrs:{d:`M882 272.1V144c0-17.7-14.3-32-32-32H174c-17.7 0-32 14.3-32 32v128.1c-16.7 1-30 14.9-30 31.9v131.7a177 177 0 0014.4 70.4c4.3 10.2 9.6 19.8 15.6 28.9v345c0 17.6 14.3 32 32 32h676c17.7 0 32-14.3 32-32V535a175 175 0 0015.6-28.9c9.5-22.3 14.4-46 14.4-70.4V304c0-17-13.3-30.9-30-31.9zM214 184h596v88H214v-88zm362 656.1H448V736h128v104.1zm234.4 0H640V704c0-17.7-14.3-32-32-32H416c-17.7 0-32 14.3-32 32v136.1H214V597.9c2.9 1.4 5.9 2.8 9 4 22.3 9.4 46 14.1 70.4 14.1 24.4 0 48-4.7 70.4-14.1 13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c13.8-5.8 26.8-13.2 38.7-22.1.2-.1.4-.1.6 0a180.4 180.4 0 0038.7 22.1c22.3 9.4 46 14.1 70.4 14.1s48-4.7 70.4-14.1c3-1.3 6-2.6 9-4v242.2zM840 435.7c0 59.8-49 108.3-109.3 108.3-40.8 0-76.4-22.1-95.2-54.9-2.9-5-8.1-8.1-13.9-8.1h-.6c-5.7 0-11 3.1-13.9 8.1A109.24 109.24 0 01512 544c-40.7 0-76.2-22-95-54.7-3-5.1-8.4-8.3-14.3-8.3s-11.4 3.2-14.3 8.3a109.63 109.63 0 01-95.1 54.7C233 544 184 495.5 184 435.7v-91.2c0-.3.2-.5.5-.5h655c.3 0 .5.2.5.5v91.2z`,fill:e}}]}},name:`shop`,theme:`twotone`};function m4(){return m4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,m4({},e,{ref:t,icon:jPe}))),NPe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M922.9 701.9H327.4l29.9-60.9 496.8-.9c16.8 0 31.2-12 34.2-28.6l68.8-385.1c1.8-10.1-.9-20.5-7.5-28.4a34.99 34.99 0 00-26.6-12.5l-632-2.1-5.4-25.4c-3.4-16.2-18-28-34.6-28H96.5a35.3 35.3 0 100 70.6h125.9L246 312.8l58.1 281.3-74.8 122.1a34.96 34.96 0 00-3 36.8c6 11.9 18.1 19.4 31.5 19.4h62.8a102.43 102.43 0 00-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7h161.1a102.43 102.43 0 00-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7H923c19.4 0 35.3-15.8 35.3-35.3a35.42 35.42 0 00-35.4-35.2zM305.7 253l575.8 1.9-56.4 315.8-452.3.8L305.7 253zm96.9 612.7c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 01-31.6 31.6zm325.1 0c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 01-31.6 31.6z`}}]},name:`shopping-cart`,theme:`outlined`};function h4(){return h4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,h4({},e,{ref:t,icon:NPe}))),PPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-208 0H400v-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16z`}}]},name:`shopping`,theme:`filled`};function _4(){return _4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_4({},e,{ref:t,icon:PPe}))),IPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-432-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16H400v-16zm392 544H232V384h96v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h224v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h96v456z`}}]},name:`shopping`,theme:`outlined`};function v4(){return v4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,v4({},e,{ref:t,icon:IPe}))),LPe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M696 472c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-88H400v88c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-88h-96v456h560V384h-96v88z`,fill:t}},{tag:`path`,attrs:{d:`M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-432-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16H400v-16zm392 544H232V384h96v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h224v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h96v456z`,fill:e}}]}},name:`shopping`,theme:`twotone`};function b4(){return b4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,b4({},e,{ref:t,icon:LPe}))),zPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M881.7 187.4l-45.1-45.1a8.03 8.03 0 00-11.3 0L667.8 299.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L576.1 439c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 157.6-157.6c3-3 3-8.1-.1-11.2zM439 576.1l-189.2 23.5c-6.6.8-9.3 8.9-4.7 13.5l54.7 54.7-157.5 157.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l157.6-157.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L447.9 585a7.9 7.9 0 00-8.9-8.9z`}}]},name:`shrink`,theme:`outlined`};function x4(){return x4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,x4({},e,{ref:t,icon:zPe}))),VPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M584 352H440c-17.7 0-32 14.3-32 32v544c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V384c0-17.7-14.3-32-32-32zM892 64H748c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM276 640H132c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h144c17.7 0 32-14.3 32-32V672c0-17.7-14.3-32-32-32z`}}]},name:`signal`,theme:`filled`};function S4(){return S4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,S4({},e,{ref:t,icon:VPe}))),UPe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M145.71 752c2 0 4-.2 5.98-.5L319.9 722c1.99-.4 3.88-1.3 5.28-2.8l423.91-423.87a9.93 9.93 0 000-14.06L582.88 114.9C581 113 578.5 112 575.82 112s-5.18 1-7.08 2.9L144.82 538.76c-1.5 1.5-2.4 3.29-2.8 5.28l-29.5 168.17a33.59 33.59 0 009.37 29.81c6.58 6.48 14.95 9.97 23.82 9.97m453.12-184.07c27.69-14.81 57.29-20.85 85.54-15.52 32.37 6.1 59.72 26.53 78.96 59.4 29.97 51.22 21.64 102.34-18.48 144.26-17.58 18.36-41.07 35.01-70 50.3l-.3.15.86.26a147.88 147.88 0 0041.54 6.2l1.17.01c61.07 0 100.98-22.1 125.28-67.87a36 36 0 0163.6 33.76C869.7 849.1 804.9 885 718.12 885c-47.69 0-91.94-15.03-128.19-41.36l-1.05-.78-1.36.47c-46.18 16-98.74 29.95-155.37 41.94l-2.24.47a1931.1 1931.1 0 01-139.16 23.96 36 36 0 11-9.5-71.38 1860.1 1860.1 0 00133.84-23.04c42.8-9 83-19.13 119.35-30.34l.24-.08-.44-.69c-16.46-26.45-25.86-55.43-26.14-83.24v-1.3c0-49.9 39.55-104.32 90.73-131.7M671 623.17c-10.74-2.03-24.1.7-38.22 8.26-29.55 15.8-52.7 47.64-52.7 68.2 0 18.2 8.9 40.14 24.71 59.73l.24.3 1.22-.52c39.17-16.58 68.49-34.27 85.93-52.18l.64-.67c18.74-19.57 21.39-35.84 8.36-58.1-9.06-15.47-19.03-22.92-30.18-25.02`}}]},name:`signature`,theme:`filled`};function C4(){return C4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,C4({},e,{ref:t,icon:UPe}))),GPe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M145.71 752c2 0 4-.2 5.98-.5L319.9 722c1.99-.4 3.88-1.3 5.28-2.8l423.91-423.87a9.93 9.93 0 000-14.06L582.88 114.9C581 113 578.5 112 575.82 112s-5.18 1-7.08 2.9L144.82 538.76c-1.5 1.5-2.4 3.29-2.8 5.28l-29.5 168.17a33.59 33.59 0 009.37 29.81c6.58 6.48 14.95 9.97 23.82 9.97m51.75-85.43l15.65-88.92 362.7-362.67 73.28 73.27-362.7 362.67zm401.37-98.64c27.69-14.81 57.29-20.85 85.54-15.52 32.37 6.1 59.72 26.53 78.96 59.4 29.97 51.22 21.64 102.34-18.48 144.26-17.58 18.36-41.07 35.01-70 50.3l-.3.15.86.26a147.88 147.88 0 0041.54 6.2l1.17.01c61.07 0 100.98-22.1 125.28-67.87a36 36 0 0163.6 33.76C869.7 849.1 804.9 885 718.12 885c-47.69 0-91.94-15.03-128.19-41.36l-1.05-.78-1.36.47c-46.18 16-98.74 29.95-155.37 41.94l-2.24.47a1931.1 1931.1 0 01-139.16 23.96 36 36 0 11-9.5-71.38 1860.1 1860.1 0 00133.84-23.04c42.8-9 83-19.13 119.35-30.34l.24-.08-.44-.69c-16.46-26.45-25.86-55.43-26.14-83.24v-1.3c0-49.9 39.55-104.32 90.73-131.7M671 623.17c-10.74-2.03-24.1.7-38.22 8.26-29.55 15.8-52.7 47.64-52.7 68.2 0 18.2 8.9 40.14 24.71 59.73l.24.3 1.22-.52c39.17-16.58 68.49-34.27 85.93-52.18l.64-.67c18.74-19.57 21.39-35.84 8.36-58.1-9.06-15.47-19.03-22.92-30.18-25.02`}}]},name:`signature`,theme:`outlined`};function w4(){return w4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,w4({},e,{ref:t,icon:GPe}))),qPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M672 432c-120.3 0-219.9 88.5-237.3 204H320c-15.5 0-28-12.5-28-28V244h291c14.2 35.2 48.7 60 89 60 53 0 96-43 96-96s-43-96-96-96c-40.3 0-74.8 24.8-89 60H112v72h108v364c0 55.2 44.8 100 100 100h114.7c17.4 115.5 117 204 237.3 204 132.5 0 240-107.5 240-240S804.5 432 672 432zm128 266c0 4.4-3.6 8-8 8h-86v86c0 4.4-3.6 8-8 8h-52c-4.4 0-8-3.6-8-8v-86h-86c-4.4 0-8-3.6-8-8v-52c0-4.4 3.6-8 8-8h86v-86c0-4.4 3.6-8 8-8h52c4.4 0 8 3.6 8 8v86h86c4.4 0 8 3.6 8 8v52z`}}]},name:`sisternode`,theme:`outlined`};function T4(){return T4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,T4({},e,{ref:t,icon:qPe}))),YPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M582.3 625.6l147.9-166.3h-63.4zm90-202.3h62.5l-92.1-115.1zm-274.7 36L512 684.5l114.4-225.2zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm286.7 380.2L515.8 762.3c-1 1.1-2.4 1.7-3.8 1.7s-2.8-.6-3.8-1.7L225.3 444.2a5.14 5.14 0 01-.2-6.6L365.6 262c1-1.2 2.4-1.9 4-1.9h284.6c1.6 0 3 .7 4 1.9l140.5 175.6a4.9 4.9 0 010 6.6zm-190.5-20.9L512 326.1l-96.2 97.2zM420.3 301.1l-23.1 89.8 88.8-89.8zm183.4 0H538l88.8 89.8zm-222.4 7.1l-92.1 115.1h62.5zm-87.5 151.1l147.9 166.3-84.5-166.3z`}}]},name:`sketch-circle`,theme:`filled`};function E4(){return E4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,E4({},e,{ref:t,icon:YPe}))),ZPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M925.6 405.1l-203-253.7a6.5 6.5 0 00-5-2.4H306.4c-1.9 0-3.8.9-5 2.4l-203 253.7a6.5 6.5 0 00.2 8.3l408.6 459.5c1.2 1.4 3 2.1 4.8 2.1 1.8 0 3.5-.8 4.8-2.1l408.6-459.5a6.5 6.5 0 00.2-8.3zM645.2 206.4l34.4 133.9-132.5-133.9h98.1zm8.2 178.5H370.6L512 242l141.4 142.9zM378.8 206.4h98.1L344.3 340.3l34.5-133.9zm-53.4 7l-44.1 171.5h-93.1l137.2-171.5zM194.6 434.9H289l125.8 247.7-220.2-247.7zM512 763.4L345.1 434.9h333.7L512 763.4zm97.1-80.8L735 434.9h94.4L609.1 682.6zm133.6-297.7l-44.1-171.5 137.2 171.5h-93.1z`}}]},name:`sketch`,theme:`outlined`};function D4(){return D4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,D4({},e,{ref:t,icon:ZPe}))),QPe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M608.2 423.3L512 326.1l-96.2 97.2zm-25.9 202.3l147.9-166.3h-63.4zm90-202.3h62.5l-92.1-115.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-81.3 332.2L515.8 762.3c-1 1.1-2.4 1.7-3.8 1.7s-2.8-.6-3.8-1.7L225.3 444.2a5.14 5.14 0 01-.2-6.6L365.6 262c1-1.2 2.4-1.9 4-1.9h284.6c1.6 0 3 .7 4 1.9l140.5 175.6a4.9 4.9 0 010 6.6zm-401.1 15.1L512 684.5l114.4-225.2zm-16.3-151.1l-92.1 115.1h62.5zm-87.5 151.1l147.9 166.3-84.5-166.3zm126.5-158.2l-23.1 89.8 88.8-89.8zm183.4 0H538l88.8 89.8z`}}]},name:`sketch-square`,theme:`filled`};function k4(){return k4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,k4({},e,{ref:t,icon:QPe}))),eFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44z`}}]},name:`skin`,theme:`filled`};function A4(){return A4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,A4({},e,{ref:t,icon:eFe}))),nFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44zm-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842v196z`}}]},name:`skin`,theme:`outlined`};function j4(){return j4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,j4({},e,{ref:t,icon:nFe}))),rFe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 318c-79.2 0-148.5-48.8-176.7-120H182v196h119v432h422V394h119V198H688.7c-28.2 71.2-97.5 120-176.7 120z`,fill:t}},{tag:`path`,attrs:{d:`M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44zm-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842v196z`,fill:e}}]}},name:`skin`,theme:`twotone`};function N4(){return N4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,N4({},e,{ref:t,icon:rFe}))),aFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M883.7 578.6c4.1-22.5 6.3-45.5 6.3-68.5 0-51-10-100.5-29.7-147-19-45-46.3-85.4-81-120.1a375.79 375.79 0 00-120.1-80.9c-46.6-19.7-96-29.7-147-29.7-24 0-48.1 2.3-71.5 6.8A225.1 225.1 0 00335.6 113c-59.7 0-115.9 23.3-158.1 65.5A222.25 222.25 0 00112 336.6c0 38 9.8 75.4 28.1 108.4-3.7 21.4-5.7 43.3-5.7 65.1 0 51 10 100.5 29.7 147 19 45 46.2 85.4 80.9 120.1 34.7 34.7 75.1 61.9 120.1 80.9 46.6 19.7 96 29.7 147 29.7 22.2 0 44.4-2 66.2-5.9 33.5 18.9 71.3 29 110 29 59.7 0 115.9-23.2 158.1-65.5 42.3-42.2 65.5-98.4 65.5-158.1.1-38-9.7-75.5-28.2-108.7zm-370 162.9c-134.2 0-194.2-66-194.2-115.4 0-25.4 18.7-43.1 44.5-43.1 57.4 0 42.6 82.5 149.7 82.5 54.9 0 85.2-29.8 85.2-60.3 0-18.3-9-38.7-45.2-47.6l-119.4-29.8c-96.1-24.1-113.6-76.1-113.6-124.9 0-101.4 95.5-139.5 185.2-139.5 82.6 0 180 45.7 180 106.5 0 26.1-22.6 41.2-48.4 41.2-49 0-40-67.8-138.7-67.8-49 0-76.1 22.2-76.1 53.9s38.7 41.8 72.3 49.5l88.4 19.6c96.8 21.6 121.3 78.1 121.3 131.3 0 82.3-63.3 143.9-191 143.9z`}}]},name:`skype`,theme:`filled`};function P4(){return P4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,P4({},e,{ref:t,icon:aFe}))),sFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M883.7 578.6c4.1-22.5 6.3-45.5 6.3-68.5 0-51-10-100.5-29.7-147-19-45-46.3-85.4-81-120.1a375.79 375.79 0 00-120.1-80.9c-46.6-19.7-96-29.7-147-29.7-24 0-48.1 2.3-71.5 6.8A225.1 225.1 0 00335.6 113c-59.7 0-115.9 23.3-158.1 65.5A222.25 222.25 0 00112 336.6c0 38 9.8 75.4 28.1 108.4-3.7 21.4-5.7 43.3-5.7 65.1 0 51 10 100.5 29.7 147 19 45 46.2 85.4 80.9 120.1 34.7 34.7 75.1 61.9 120.1 80.9 46.6 19.7 96 29.7 147 29.7 22.2 0 44.4-2 66.2-5.9 33.5 18.9 71.3 29 110 29 59.7 0 115.9-23.2 158.1-65.5 42.3-42.2 65.5-98.4 65.5-158.1.1-38-9.7-75.5-28.2-108.7zm-88.1 216C766.9 823.4 729 839 688.4 839c-26.1 0-51.8-6.8-74.6-19.7l-22.5-12.7-25.5 4.5c-17.8 3.2-35.8 4.8-53.6 4.8-41.4 0-81.3-8.1-119.1-24.1-36.3-15.3-69-37.3-97.2-65.5a304.29 304.29 0 01-65.5-97.1c-16-37.7-24-77.6-24-119 0-17.4 1.6-35.2 4.6-52.8l4.4-25.1L203 410a151.02 151.02 0 01-19.1-73.4c0-40.6 15.7-78.5 44.4-107.2C257.1 200.7 295 185 335.6 185a153 153 0 0171.4 17.9l22.4 11.8 24.8-4.8c18.9-3.6 38.4-5.5 58-5.5 41.4 0 81.3 8.1 119 24 36.5 15.4 69.1 37.4 97.2 65.5 28.2 28.1 50.2 60.8 65.6 97.2 16 37.7 24 77.6 24 119 0 18.4-1.7 37-5.1 55.5l-4.7 25.5 12.6 22.6c12.6 22.5 19.2 48 19.2 73.7 0 40.7-15.7 78.5-44.4 107.2zM583.4 466.2L495 446.6c-33.6-7.7-72.3-17.8-72.3-49.5s27.1-53.9 76.1-53.9c98.7 0 89.7 67.8 138.7 67.8 25.8 0 48.4-15.2 48.4-41.2 0-60.8-97.4-106.5-180-106.5-89.7 0-185.2 38.1-185.2 139.5 0 48.8 17.4 100.8 113.6 124.9l119.4 29.8c36.1 8.9 45.2 29.2 45.2 47.6 0 30.5-30.3 60.3-85.2 60.3-107.2 0-92.3-82.5-149.7-82.5-25.8 0-44.5 17.8-44.5 43.1 0 49.4 60 115.4 194.2 115.4 127.7 0 191-61.5 191-144 0-53.1-24.5-109.6-121.3-131.2z`}}]},name:`skype`,theme:`outlined`};function F4(){return F4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,F4({},e,{ref:t,icon:sFe}))),lFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm83.7-50.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM579.3 765c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134c-13.3 0-26.1-5.3-35.6-14.8S529 593.6 529 580.2c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z`}}]},name:`slack-circle`,theme:`filled`};function I4(){return I4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,I4({},e,{ref:t,icon:lFe}))),dFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M409.4 128c-42.4 0-76.7 34.4-76.7 76.8 0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5h76.7v-76.8c0-42.3-34.3-76.7-76.7-76.8zm0 204.8H204.7c-42.4 0-76.7 34.4-76.7 76.8s34.4 76.8 76.7 76.8h204.6c42.4 0 76.7-34.4 76.7-76.8.1-42.4-34.3-76.8-76.6-76.8zM614 486.4c42.4 0 76.8-34.4 76.7-76.8V204.8c0-42.4-34.3-76.8-76.7-76.8-42.4 0-76.7 34.4-76.7 76.8v204.8c0 42.5 34.3 76.8 76.7 76.8zm281.4-76.8c0-42.4-34.4-76.8-76.7-76.8S742 367.2 742 409.6v76.8h76.7c42.3 0 76.7-34.4 76.7-76.8zm-76.8 128H614c-42.4 0-76.7 34.4-76.7 76.8 0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5h204.6c42.4 0 76.7-34.4 76.7-76.8.1-42.4-34.3-76.7-76.7-76.8zM614 742.4h-76.7v76.8c0 42.4 34.4 76.8 76.7 76.8 42.4 0 76.8-34.4 76.7-76.8.1-42.4-34.3-76.7-76.7-76.8zM409.4 537.6c-42.4 0-76.7 34.4-76.7 76.8v204.8c0 42.4 34.4 76.8 76.7 76.8 42.4 0 76.8-34.4 76.7-76.8V614.4c0-20.3-8.1-39.9-22.4-54.3a76.92 76.92 0 00-54.3-22.5zM128 614.4c0 20.3 8.1 39.9 22.4 54.3a76.74 76.74 0 0054.3 22.5c42.4 0 76.8-34.4 76.7-76.8v-76.8h-76.7c-42.3 0-76.7 34.4-76.7 76.8z`}}]},name:`slack`,theme:`outlined`};function L4(){return L4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,L4({},e,{ref:t,icon:dFe}))),pFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM529 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm134 403.2c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z`}}]},name:`slack-square`,theme:`filled`};function R4(){return R4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,R4({},e,{ref:t,icon:pFe}))),hFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM529 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V311.4zM361.5 580.2c0 27.8-22.5 50.4-50.3 50.4a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h50.3v50.4zm134 134.4c0 27.8-22.5 50.4-50.3 50.4-27.8 0-50.3-22.6-50.3-50.4V580.2c0-27.8 22.5-50.4 50.3-50.4a50.35 50.35 0 0150.3 50.4v134.4zm-50.2-218.4h-134c-27.8 0-50.3-22.6-50.3-50.4 0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4-.1 27.9-22.6 50.4-50.3 50.4zm0-134.4c-13.3 0-26.1-5.3-35.6-14.8S395 324.8 395 311.4c0-27.8 22.5-50.4 50.3-50.4 27.8 0 50.3 22.6 50.3 50.4v50.4h-50.3zm134 403.2c-27.8 0-50.3-22.6-50.3-50.4v-50.4h50.3c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm134-134.4h-134a50.35 50.35 0 01-50.3-50.4c0-27.8 22.5-50.4 50.3-50.4h134c27.8 0 50.3 22.6 50.3 50.4 0 27.8-22.5 50.4-50.3 50.4zm0-134.4H663v-50.4c0-27.8 22.5-50.4 50.3-50.4s50.3 22.6 50.3 50.4c0 27.8-22.5 50.4-50.3 50.4z`}}]},name:`slack-square`,theme:`outlined`};function z4(){return z4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,z4({},e,{ref:t,icon:hFe}))),_Fe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-584-72h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm292 180h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8z`}}]},name:`sliders`,theme:`filled`};function B4(){return B4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,B4({},e,{ref:t,icon:_Fe}))),yFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440zm644-436h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74z`}}]},name:`sliders`,theme:`outlined`};function V4(){return V4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,V4({},e,{ref:t,icon:yFe}))),xFe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M180 292h80v440h-80zm369 180h-74a3 3 0 00-3 3v74a3 3 0 003 3h74a3 3 0 003-3v-74a3 3 0 00-3-3zm215-108h80v296h-80z`,fill:t}},{tag:`path`,attrs:{d:`M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74zM320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440z`,fill:e}}]}},name:`sliders`,theme:`twotone`};function H4(){return H4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,H4({},e,{ref:t,icon:xFe}))),CFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M112 476h72v72h-72zm182 0h72v72h-72zm364 0h72v72h-72zm182 0h72v72h-72zm-364 0h72v72h-72z`}}]},name:`small-dash`,theme:`outlined`};function U4(){return U4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,U4({},e,{ref:t,icon:CFe}))),TFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm224 272c-85.5 0-155.6-67.3-160-151.6a8 8 0 018-8.4h48.1c4.2 0 7.8 3.2 8.1 7.4C420 589.9 461.5 629 512 629s92.1-39.1 95.8-88.6c.3-4.2 3.9-7.4 8.1-7.4H664a8 8 0 018 8.4C667.6 625.7 597.5 693 512 693zm176-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`smile`,theme:`filled`};function W4(){return W4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,W4({},e,{ref:t,icon:TFe}))),DFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z`}}]},name:`smile`,theme:`outlined`};function G4(){return G4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,G4({},e,{ref:t,icon:DFe}))),OFe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zM288 421a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm224 272c-85.5 0-155.6-67.3-160-151.6a8 8 0 018-8.4h48.1c4.2 0 7.8 3.2 8.1 7.4C420 589.9 461.5 629 512 629s92.1-39.1 95.8-88.6c.3-4.2 3.9-7.4 8.1-7.4H664a8 8 0 018 8.4C667.6 625.7 597.5 693 512 693zm176-224a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`,fill:t}},{tag:`path`,attrs:{d:`M288 421a48 48 0 1096 0 48 48 0 10-96 0zm376 112h-48.1c-4.2 0-7.8 3.2-8.1 7.4-3.7 49.5-45.3 88.6-95.8 88.6s-92-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4zm-24-112a48 48 0 1096 0 48 48 0 10-96 0z`,fill:e}}]}},name:`smile`,theme:`twotone`};function q4(){return q4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,q4({},e,{ref:t,icon:OFe}))),AFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 486H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z`}}]},name:`snippets`,theme:`filled`};function J4(){return J4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,J4({},e,{ref:t,icon:AFe}))),MFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 888H232V336h218v174c0 22.1 17.9 40 40 40h174v338zm0-402H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z`}}]},name:`snippets`,theme:`outlined`};function Y4(){return Y4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Y4({},e,{ref:t,icon:MFe}))),PFe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M450 510V336H232v552h432V550H490c-22.1 0-40-17.9-40-40z`,fill:t}},{tag:`path`,attrs:{d:`M832 112H724V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H500V72c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v40H320c-17.7 0-32 14.3-32 32v120h-96c-17.7 0-32 14.3-32 32v632c0 17.7 14.3 32 32 32h512c17.7 0 32-14.3 32-32v-96h96c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM664 888H232V336h218v174c0 22.1 17.9 40 40 40h174v338zm0-402H514V336h.2L664 485.8v.2zm128 274h-56V456L544 264H360v-80h68v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h152v32c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-32h68v576z`,fill:e}}]}},name:`snippets`,theme:`twotone`};function X4(){return X4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,X4({},e,{ref:t,icon:PFe}))),IFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z`}}]},name:`solution`,theme:`outlined`};function Z4(){return Z4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Z4({},e,{ref:t,icon:IFe}))),LFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M839.6 433.8L749 150.5a9.24 9.24 0 00-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 00-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 00-9.2-9.3zM416 702h-76V172c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v530h-76c-6.7 0-10.5 7.8-6.3 13l112 141.9a8 8 0 0012.6 0l112-141.9c4.1-5.2.4-13-6.3-13z`}}]},name:`sort-ascending`,theme:`outlined`};function $4(){return $4=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$4({},e,{ref:t,icon:LFe}))),zFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M839.6 433.8L749 150.5a9.24 9.24 0 00-8.9-6.5h-77.4c-4.1 0-7.6 2.6-8.9 6.5l-91.3 283.3c-.3.9-.5 1.9-.5 2.9 0 5.1 4.2 9.3 9.3 9.3h56.4c4.2 0 7.8-2.8 9-6.8l17.5-61.6h89l17.3 61.5c1.1 4 4.8 6.8 9 6.8h61.2c1 0 1.9-.1 2.8-.4 2.4-.8 4.3-2.4 5.5-4.6 1.1-2.2 1.3-4.7.6-7.1zM663.3 325.5l32.8-116.9h6.3l32.1 116.9h-71.2zm143.5 492.9H677.2v-.4l132.6-188.9c1.1-1.6 1.7-3.4 1.7-5.4v-36.4c0-5.1-4.2-9.3-9.3-9.3h-204c-5.1 0-9.3 4.2-9.3 9.3v43c0 5.1 4.2 9.3 9.3 9.3h122.6v.4L587.7 828.9a9.35 9.35 0 00-1.7 5.4v36.4c0 5.1 4.2 9.3 9.3 9.3h211.4c5.1 0 9.3-4.2 9.3-9.3v-43a9.2 9.2 0 00-9.2-9.3zM310.3 167.1a8 8 0 00-12.6 0L185.7 309c-4.2 5.3-.4 13 6.3 13h76v530c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V322h76c6.7 0 10.5-7.8 6.3-13l-112-141.9z`}}]},name:`sort-descending`,theme:`outlined`};function e3(){return e3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,e3({},e,{ref:t,icon:zFe}))),VFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M892.1 737.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344zm174 132H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zM625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1z`}}]},name:`sound`,theme:`filled`};function t3(){return t3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,t3({},e,{ref:t,icon:VFe}))),UFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z`}}]},name:`sound`,theme:`outlined`};function n3(){return n3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,n3({},e,{ref:t,icon:UFe}))),WFe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M275.4 424H146v176h129.4l18 11.7L586 803V221L293.3 412.3z`,fill:t}},{tag:`path`,attrs:{d:`M892.1 737.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM934 476H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344zM625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582z`,fill:e}}]}},name:`sound`,theme:`twotone`};function i3(){return i3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,i3({},e,{ref:t,icon:WFe}))),KFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M938.2 508.4L787.3 389c-3-2.4-7.3-.2-7.3 3.6V478H636V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H596c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H636V546h144v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4a4.5 4.5 0 000-7.2zM428 116H144c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H244v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4a4.52 4.52 0 000 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h144v294H184V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z`}}]},name:`split-cells`,theme:`outlined`};function a3(){return a3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,a3({},e,{ref:t,icon:KFe}))),JFe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M721.42 695.17c0-12.45-5.84-22.36-17.5-29.75-75.06-44.73-161.98-67.09-260.75-67.09-51.73 0-107.53 6.61-167.42 19.84-16.33 3.5-24.5 13.6-24.5 30.33 0 7.78 2.63 14.49 7.88 20.13 5.25 5.63 12.15 8.45 20.7 8.45 1.95 0 9.14-1.55 21.59-4.66 51.33-10.5 98.58-15.75 141.75-15.75 87.89 0 165.08 20.02 231.58 60.08 7.39 4.28 13.8 6.42 19.25 6.42 7.39 0 13.8-2.63 19.25-7.88 5.44-5.25 8.17-11.96 8.17-20.12m56-125.42c0-15.56-6.8-27.42-20.42-35.58-92.17-54.84-198.72-82.25-319.67-82.25-59.5 0-118.41 8.16-176.75 24.5-18.66 5.05-28 17.5-28 37.33 0 9.72 3.4 17.99 10.21 24.8 6.8 6.8 15.07 10.2 24.8 10.2 2.72 0 9.91-1.56 21.58-4.67a558.27 558.27 0 01146.41-19.25c108.5 0 203.4 24.11 284.67 72.34 9.33 5.05 16.72 7.58 22.17 7.58 9.72 0 17.98-3.4 24.79-10.2 6.8-6.81 10.2-15.08 10.2-24.8m63-144.67c0-18.27-7.77-31.89-23.33-40.83-49-28.39-105.97-49.88-170.91-64.46-64.95-14.58-131.64-21.87-200.09-21.87-79.33 0-150.1 9.14-212.33 27.41a46.3 46.3 0 00-22.46 14.88c-6.03 7.2-9.04 16.62-9.04 28.29 0 12.06 3.99 22.17 11.96 30.33 7.97 8.17 17.98 12.25 30.04 12.25 4.28 0 12.06-1.55 23.33-4.66 51.73-14.4 111.42-21.59 179.09-21.59 61.83 0 122.01 6.61 180.54 19.84 58.53 13.22 107.82 31.7 147.87 55.41 8.17 4.67 15.95 7 23.34 7 11.27 0 21.1-3.98 29.46-11.96 8.36-7.97 12.54-17.98 12.54-30.04M960 512c0 81.28-20.03 156.24-60.08 224.88-40.06 68.63-94.4 122.98-163.04 163.04C668.24 939.97 593.27 960 512 960s-156.24-20.03-224.88-60.08c-68.63-40.06-122.98-94.4-163.04-163.04C84.03 668.24 64 593.27 64 512s20.03-156.24 60.08-224.88c40.06-68.63 94.4-122.98 163.05-163.04C355.75 84.03 430.73 64 512 64c81.28 0 156.24 20.03 224.88 60.08 68.63 40.06 122.98 94.4 163.04 163.05C939.97 355.75 960 430.73 960 512`}}]},name:`spotify`,theme:`filled`};function o3(){return o3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,o3({},e,{ref:t,icon:JFe}))),XFe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.52 64 64 264.52 64 512s200.52 448 448 448 448-200.52 448-448S759.48 64 512 64m0 74.66a371.86 371.86 0 01264.43 108.91A371.86 371.86 0 01885.33 512a371.86 371.86 0 01-108.9 264.43A371.86 371.86 0 01512 885.33a371.86 371.86 0 01-264.43-108.9A371.86 371.86 0 01138.67 512a371.86 371.86 0 01108.9-264.43A371.86 371.86 0 01512 138.67M452.49 316c-72.61 0-135.9 6.72-196 25.68-15.9 3.18-29.16 15.16-29.16 37.34 0 22.14 16.35 41.7 38.5 38.45 9.48 0 15.9-3.47 22.17-3.47 50.59-12.7 107.63-18.67 164.49-18.67 110.55 0 224 24.64 299.82 68.85 9.49 3.2 12.7 6.98 22.18 6.98 22.18 0 37.63-16.32 40.84-38.5 0-18.96-9.48-31.06-22.17-37.33C698.36 341.65 572.52 316 452.49 316M442 454.84c-66.34 0-113.6 9.49-161.02 22.18-15.72 6.23-24.49 16.05-24.49 34.98 0 15.76 12.54 31.51 31.51 31.51 6.42 0 9.18-.3 18.67-3.51 34.72-9.48 82.4-15.16 133.02-15.16 104.23 0 194.95 25.39 261.33 66.5 6.23 3.2 12.7 5.82 22.14 5.82 18.96 0 31.5-16.06 31.5-34.98 0-12.7-5.97-25.24-18.66-31.51-82.13-50.59-186.52-75.83-294-75.83m10.49 136.5c-53.65 0-104.53 5.97-155.16 18.66-12.69 3.21-22.17 12.24-22.17 28 0 12.7 9.93 25.68 25.68 25.68 3.21 0 12.4-3.5 18.67-3.5a581.73 581.73 0 01129.5-15.2c78.9 0 151.06 18.97 211.17 53.69 6.42 3.2 13.55 5.82 19.82 5.82 12.7 0 24.79-9.48 28-22.14 0-15.9-6.87-21.76-16.35-28-69.55-41.14-150.8-63.02-239.16-63.02`}}]},name:`spotify`,theme:`outlined`};function s3(){return s3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,s3({},e,{ref:t,icon:XFe}))),QFe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z`}}]},name:`star`,theme:`outlined`};function c3(){return c3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,c3({},e,{ref:t,icon:QFe}))),$Fe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512.5 190.4l-94.4 191.3-211.2 30.7 152.8 149-36.1 210.3 188.9-99.3 188.9 99.2-36.1-210.3 152.8-148.9-211.2-30.7z`,fill:t}},{tag:`path`,attrs:{d:`M908.6 352.8l-253.9-36.9L541.2 85.8c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L370.3 315.9l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1L239 839.4a31.95 31.95 0 0046.4 33.7l227.1-119.4 227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM665.3 561.3l36.1 210.3-188.9-99.2-188.9 99.3 36.1-210.3-152.8-149 211.2-30.7 94.4-191.3 94.4 191.3 211.2 30.7-152.8 148.9z`,fill:e}}]}},name:`star`,theme:`twotone`};function u3(){return u3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,u3({},e,{ref:t,icon:$Fe}))),tIe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8`}}]},name:`step-backward`,theme:`filled`};function d3(){return d3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,d3({},e,{ref:t,icon:tIe}))),rIe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8`}}]},name:`step-backward`,theme:`outlined`};function f3(){return f3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,f3({},e,{ref:t,icon:rIe}))),aIe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8`}}]},name:`step-forward`,theme:`filled`};function p3(){return p3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,p3({},e,{ref:t,icon:aIe}))),sIe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8`}}]},name:`step-forward`,theme:`outlined`};function m3(){return m3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,m3({},e,{ref:t,icon:sIe}))),lIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M904 747H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM165.7 621.8l39.7 39.5c3.1 3.1 8.2 3.1 11.3 0l234.7-233.9 97.6 97.3a32.11 32.11 0 0045.2 0l264.2-263.2c3.1-3.1 3.1-8.2 0-11.3l-39.7-39.6a8.03 8.03 0 00-11.3 0l-235.7 235-97.7-97.3a32.11 32.11 0 00-45.2 0L165.7 610.5a7.94 7.94 0 000 11.3z`}}]},name:`stock`,theme:`outlined`};function h3(){return h3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,h3({},e,{ref:t,icon:lIe}))),dIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm234.8 736.5L223.5 277.2c16-19.7 34-37.7 53.7-53.7l523.3 523.3c-16 19.6-34 37.7-53.7 53.7z`}}]},name:`stop`,theme:`filled`};function g3(){return g3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,g3({},e,{ref:t,icon:dIe}))),pIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z`}}]},name:`stop`,theme:`outlined`};function _3(){return _3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_3({},e,{ref:t,icon:pIe}))),mIe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm288.5 682.8L277.7 224C258 240 240 258 224 277.7l522.8 522.8C682.8 852.7 601 884 512 884c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372c0 89-31.3 170.8-83.5 234.8z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372c89 0 170.8-31.3 234.8-83.5L224 277.7c16-19.7 34-37.7 53.7-53.7l522.8 522.8C852.7 682.8 884 601 884 512c0-205.4-166.6-372-372-372z`,fill:t}}]}},name:`stop`,theme:`twotone`};function y3(){return y3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,y3({},e,{ref:t,icon:mIe}))),gIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M952 474H569.9c-10-2-20.5-4-31.6-6-15.9-2.9-22.2-4.1-30.8-5.8-51.3-10-82.2-20-106.8-34.2-35.1-20.5-52.2-48.3-52.2-85.1 0-37 15.2-67.7 44-89 28.4-21 68.8-32.1 116.8-32.1 54.8 0 97.1 14.4 125.8 42.8 14.6 14.4 25.3 32.1 31.8 52.6 1.3 4.1 2.8 10 4.3 17.8.9 4.8 5.2 8.2 9.9 8.2h72.8c5.6 0 10.1-4.6 10.1-10.1v-1c-.7-6.8-1.3-12.1-2-16-7.3-43.5-28-81.7-59.7-110.3-44.4-40.5-109.7-61.8-188.7-61.8-72.3 0-137.4 18.1-183.3 50.9-25.6 18.4-45.4 41.2-58.6 67.7-13.5 27.1-20.3 58.4-20.3 92.9 0 29.5 5.7 54.5 17.3 76.5 8.3 15.7 19.6 29.5 34.1 42H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h433.2c2.1.4 3.9.8 5.9 1.2 30.9 6.2 49.5 10.4 66.6 15.2 23 6.5 40.6 13.3 55.2 21.5 35.8 20.2 53.3 49.2 53.3 89 0 35.3-15.5 66.8-43.6 88.8-30.5 23.9-75.6 36.4-130.5 36.4-43.7 0-80.7-8.5-110.2-25-29.1-16.3-49.1-39.8-59.7-69.5-.8-2.2-1.7-5.2-2.7-9-1.2-4.4-5.3-7.5-9.7-7.5h-79.7c-5.6 0-10.1 4.6-10.1 10.1v1c.2 2.3.4 4.2.6 5.7 6.5 48.8 30.3 88.8 70.7 118.8 47.1 34.8 113.4 53.2 191.8 53.2 84.2 0 154.8-19.8 204.2-57.3 25-18.9 44.2-42.2 57.1-69 13-27.1 19.7-57.9 19.7-91.5 0-31.8-5.8-58.4-17.8-81.4-5.8-11.2-13.1-21.5-21.8-30.8H952c4.4 0 8-3.6 8-8v-60a8 8 0 00-8-7.9z`}}]},name:`strikethrough`,theme:`outlined`};function b3(){return b3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,b3({},e,{ref:t,icon:gIe}))),vIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M688 240c-138 0-252 102.8-269.6 236H249a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h169.3C436 681.2 550 784 688 784c150.2 0 272-121.8 272-272S838.2 240 688 240zm128 298c0 4.4-3.6 8-8 8h-86v86c0 4.4-3.6 8-8 8h-52c-4.4 0-8-3.6-8-8v-86h-86c-4.4 0-8-3.6-8-8v-52c0-4.4 3.6-8 8-8h86v-86c0-4.4 3.6-8 8-8h52c4.4 0 8 3.6 8 8v86h86c4.4 0 8 3.6 8 8v52z`}}]},name:`subnode`,theme:`outlined`};function x3(){return x3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,x3({},e,{ref:t,icon:vIe}))),bIe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z`}}]},name:`sun`,theme:`filled`};function S3(){return S3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,S3({},e,{ref:t,icon:bIe}))),SIe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234m0 72c-89.47 0-162 72.53-162 162s72.53 162 162 162 162-72.53 162-162-72.53-162-162-162M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z`}}]},name:`sun`,theme:`outlined`};function C3(){return C3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,C3({},e,{ref:t,icon:SIe}))),wIe={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 572H266.8l144.3-183c4.1-5.2.4-13-6.3-13H340c-9.8 0-19.1 4.5-25.1 12.2l-164 208c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`swap-left`,theme:`outlined`};function w3(){return w3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,w3({},e,{ref:t,icon:wIe}))),EIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zM596 606c0 4.4-3.6 8-8 8H308c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h280c4.4 0 8 3.6 8 8v48zm284-494H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32z`}}]},name:`switcher`,theme:`filled`};function T3(){return T3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,T3({},e,{ref:t,icon:EIe}))),OIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zm-40 600H184V312h528v528zm168-728H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32zM300 550h296v64H300z`}}]},name:`switcher`,theme:`outlined`};function E3(){return E3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,E3({},e,{ref:t,icon:OIe}))),AIe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M184 840h528V312H184v528zm116-290h296v64H300v-64z`,fill:t}},{tag:`path`,attrs:{d:`M880 112H264c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h576v576c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V144c0-17.7-14.3-32-32-32z`,fill:e}},{tag:`path`,attrs:{d:`M752 240H144c-17.7 0-32 14.3-32 32v608c0 17.7 14.3 32 32 32h608c17.7 0 32-14.3 32-32V272c0-17.7-14.3-32-32-32zm-40 600H184V312h528v528z`,fill:e}},{tag:`path`,attrs:{d:`M300 550h296v64H300z`,fill:e}}]}},name:`switcher`,theme:`twotone`};function D3(){return D3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,D3({},e,{ref:t,icon:AIe}))),MIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z`}}]},name:`sync`,theme:`outlined`};function O3(){return O3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,O3({},e,{ref:t,icon:MIe}))),PIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 208H676V232h212v136zm0 224H676V432h212v160zM412 432h200v160H412V432zm200-64H412V232h200v136zm-476 64h212v160H136V432zm0-200h212v136H136V232zm0 424h212v136H136V656zm276 0h200v136H412V656zm476 136H676V656h212v136z`}}]},name:`table`,theme:`outlined`};function k3(){return k3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,k3({},e,{ref:t,icon:PIe}))),IIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zM512 824c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40z`}}]},name:`tablet`,theme:`filled`};function A3(){return A3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,A3({},e,{ref:t,icon:IIe}))),RIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H232V136h560v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`tablet`,theme:`outlined`};function j3(){return j3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,j3({},e,{ref:t,icon:RIe}))),BIe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M800 64H224c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zm-8 824H232V136h560v752z`,fill:e}},{tag:`path`,attrs:{d:`M232 888h560V136H232v752zm280-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z`,fill:t}},{tag:`path`,attrs:{d:`M472 784a40 40 0 1080 0 40 40 0 10-80 0z`,fill:e}}]}},name:`tablet`,theme:`twotone`};function M3(){return M3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,M3({},e,{ref:t,icon:BIe}))),HIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM699 387c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64z`}}]},name:`tag`,theme:`filled`};function N3(){return N3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,N3({},e,{ref:t,icon:HIe}))),WIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7zM680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z`}}]},name:`tag`,theme:`outlined`};function P3(){return P3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,P3({},e,{ref:t,icon:WIe}))),GIe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M589 164.6L189.3 564.3l270.4 270.4L859.4 435 836 188l-247-23.4zM680 432c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88z`,fill:t}},{tag:`path`,attrs:{d:`M680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z`,fill:e}},{tag:`path`,attrs:{d:`M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8a9.9 9.9 0 007.1 2.9c2.7 0 5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7z`,fill:e}}]}},name:`tag`,theme:`twotone`};function I3(){return I3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,I3({},e,{ref:t,icon:GIe}))),qIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm122.7-533.4c18.7-18.7 49.1-18.7 67.9 0 18.7 18.7 18.7 49.1 0 67.9-18.7 18.7-49.1 18.7-67.9 0-18.7-18.7-18.7-49.1 0-67.9zm283.8 282.9l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z`}}]},name:`tags`,theme:`filled`};function L3(){return L3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,L3({},e,{ref:t,icon:qIe}))),YIe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm62.6-651.7l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9zm60.16 186.23a48 48 0 1067.88-67.89 48 48 0 10-67.88 67.89zM889.7 539.8l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z`}}]},name:`tags`,theme:`outlined`};function R3(){return R3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,R3({},e,{ref:t,icon:YIe}))),ZIe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M477.5 694l311.9-311.8-19-224.6-224.6-19-311.9 311.9L477.5 694zm116-415.5a47.81 47.81 0 0133.9-33.9c16.6-4.4 34.2.3 46.4 12.4a47.93 47.93 0 0112.4 46.4 47.81 47.81 0 01-33.9 33.9c-16.6 4.4-34.2-.3-46.4-12.4a48.3 48.3 0 01-12.4-46.4z`,fill:t}},{tag:`path`,attrs:{d:`M476.6 792.6c-1.7-.2-3.4-1-4.7-2.3L137.7 456.1a8.03 8.03 0 010-11.3L515.9 66.6c1.2-1.3 2.9-2.1 4.7-2.3h-.4c-2.3-.2-4.7.6-6.3 2.3L135.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c1.8 1.9 4.3 2.6 6.7 2.3z`,fill:t}},{tag:`path`,attrs:{d:`M889.7 539.8l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3zM652.3 337.3a47.81 47.81 0 0033.9-33.9c4.4-16.6-.3-34.2-12.4-46.4a47.93 47.93 0 00-46.4-12.4 47.81 47.81 0 00-33.9 33.9c-4.4 16.6.3 34.2 12.4 46.4a48.3 48.3 0 0046.4 12.4z`,fill:e}},{tag:`path`,attrs:{d:`M137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c1.3 1.3 2.9 2.1 4.7 2.3 2.4.3 4.8-.5 6.6-2.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3h-1.6c-1.8.2-3.4 1-4.7 2.3L137.7 444.8zm408.1-306.2l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9z`,fill:e}}]}},name:`tags`,theme:`twotone`};function z3(){return z3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,z3({},e,{ref:t,icon:ZIe}))),$Ie={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z`}}]},name:`taobao-circle`,theme:`filled`};function B3(){return B3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,B3({},e,{ref:t,icon:$Ie}))),tLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z`}}]},name:`taobao-circle`,theme:`outlined`};function V3(){return V3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,V3({},e,{ref:t,icon:tLe}))),rLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M168.5 273.7a68.7 68.7 0 10137.4 0 68.7 68.7 0 10-137.4 0zm730 79.2s-23.7-184.4-426.9-70.1c17.3-30 25.6-49.5 25.6-49.5L396.4 205s-40.6 132.6-113 194.4c0 0 70.1 40.6 69.4 39.4 20.1-20.1 38.2-40.6 53.7-60.4 16.1-7 31.5-13.6 46.7-19.8-18.6 33.5-48.7 83.8-78.8 115.6l42.4 37s28.8-27.7 60.4-61.2h36v61.8H372.9v49.5h140.3v118.5c-1.7 0-3.6 0-5.4-.2-15.4-.7-39.5-3.3-49-18.2-11.5-18.1-3-51.5-2.4-71.9h-97l-3.4 1.8s-35.5 159.1 102.3 155.5c129.1 3.6 203-36 238.6-63.1l14.2 52.6 79.6-33.2-53.9-131.9-64.6 20.1 12.1 45.2c-16.6 12.4-35.6 21.7-56.2 28.4V561.3h137.1v-49.5H628.1V450h137.6v-49.5H521.3c17.6-21.4 31.5-41.1 35-53.6l-42.5-11.6c182.8-65.5 284.5-54.2 283.6 53.2v282.8s10.8 97.1-100.4 90.1l-60.2-12.9-14.2 57.1S882.5 880 903.7 680.2c21.3-200-5.2-327.3-5.2-327.3zm-707.4 18.3l-45.4 69.7 83.6 52.1s56 28.5 29.4 81.9C233.8 625.5 112 736.3 112 736.3l109 68.1c75.4-163.7 70.5-142 89.5-200.7 19.5-60.1 23.7-105.9-9.4-139.1-42.4-42.6-47-46.6-110-93.4z`}}]},name:`taobao`,theme:`outlined`};function H3(){return H3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,H3({},e,{ref:t,icon:rLe}))),aLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM315.7 291.5c27.3 0 49.5 22.1 49.5 49.4s-22.1 49.4-49.5 49.4a49.4 49.4 0 110-98.8zM366.9 578c-13.6 42.3-10.2 26.7-64.4 144.5l-78.5-49s87.7-79.8 105.6-116.2c19.2-38.4-21.1-58.9-21.1-58.9l-60.2-37.5 32.7-50.2c45.4 33.7 48.7 36.6 79.2 67.2 23.8 23.9 20.7 56.8 6.7 100.1zm427.2 55c-15.3 143.8-202.4 90.3-202.4 90.3l10.2-41.1 43.3 9.3c80 5 72.3-64.9 72.3-64.9V423c.6-77.3-72.6-85.4-204.2-38.3l30.6 8.3c-2.5 9-12.5 23.2-25.2 38.6h176v35.6h-99.1v44.5h98.7v35.7h-98.7V622c14.9-4.8 28.6-11.5 40.5-20.5l-8.7-32.5 46.5-14.4 38.8 94.9-57.3 23.9-10.2-37.8c-25.6 19.5-78.8 48-171.8 45.4-99.2 2.6-73.7-112-73.7-112l2.5-1.3H472c-.5 14.7-6.6 38.7 1.7 51.8 6.8 10.8 24.2 12.6 35.3 13.1 1.3.1 2.6.1 3.9.1v-85.3h-101v-35.7h101v-44.5H487c-22.7 24.1-43.5 44.1-43.5 44.1l-30.6-26.7c21.7-22.9 43.3-59.1 56.8-83.2-10.9 4.4-22 9.2-33.6 14.2-11.2 14.3-24.2 29-38.7 43.5.5.8-50-28.4-50-28.4 52.2-44.4 81.4-139.9 81.4-139.9l72.5 20.4s-5.9 14-18.4 35.6c290.3-82.3 307.4 50.5 307.4 50.5s19.1 91.8 3.8 235.7z`}}]},name:`taobao-square`,theme:`filled`};function U3(){return U3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,U3({},e,{ref:t,icon:aLe}))),sLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z`}}]},name:`team`,theme:`outlined`};function W3(){return W3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,W3({},e,{ref:t,icon:sLe}))),cLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7z`}}]},name:`thunderbolt`,theme:`filled`};function K3(){return K3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,K3({},e,{ref:t,icon:cLe}))),uLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z`}}]},name:`thunderbolt`,theme:`outlined`};function q3(){return q3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,q3({},e,{ref:t,icon:uLe}))),dLe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M695.4 164.1H470.8L281.2 491.5h157.4l-60.3 241 319.8-305.1h-211z`,fill:t}},{tag:`path`,attrs:{d:`M848.1 359.3H627.8L825.9 109c4.1-5.3.4-13-6.3-13H436.1c-2.8 0-5.5 1.5-6.9 4L170.1 547.5c-3.1 5.3.7 12 6.9 12h174.4L262 917.1c-1.9 7.8 7.5 13.3 13.3 7.7L853.6 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.3 732.5l60.3-241H281.2l189.6-327.4h224.6L487.1 427.4h211L378.3 732.5z`,fill:e}}]}},name:`thunderbolt`,theme:`twotone`};function Y3(){return Y3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Y3({},e,{ref:t,icon:dLe}))),pLe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 224.96C912 162.57 861.42 112 799.04 112H224.96C162.57 112 112 162.57 112 224.96v574.08C112 861.43 162.58 912 224.96 912h574.08C861.42 912 912 861.43 912 799.04zM774.76 460.92c-51.62.57-99.71-15.03-141.94-43.93v202.87a192.3 192.3 0 01-149 187.85c-119.06 27.17-219.86-58.95-232.57-161.83-13.3-102.89 52.32-193.06 152.89-213.29 19.65-4.04 49.2-4.04 64.46-.57v108.66c-4.7-1.15-9.09-2.31-13.71-2.89-39.3-6.94-77.37 12.72-92.98 48.55-15.6 35.84-5.16 77.45 26.63 101.73 26.59 20.8 56.09 23.7 86.14 9.82 30.06-13.29 46.21-37.56 49.68-70.5.58-4.63.54-9.84.54-15.04V222.21c0-10.99.09-10.5 11.07-10.5h86.12c6.36 0 8.67.9 9.25 8.43 4.62 67.04 55.53 124.14 120.84 132.81 6.94 1.16 14.37 1.62 22.58 2.2z`}}]},name:`tik-tok`,theme:`filled`};function X3(){return X3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,X3({},e,{ref:t,icon:pLe}))),hLe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M530.01 112.67c43.67-.67 87-.34 130.33-.67 2.67 51 21 103 58.33 139 37.33 37 90 54 141.33 59.66V445c-48-1.67-96.33-11.67-140-32.34-19-8.66-36.66-19.66-54-31-.33 97.33.34 194.67-.66 291.67-2.67 46.66-18 93-45 131.33-43.66 64-119.32 105.66-196.99 107-47.66 2.66-95.33-10.34-136-34.34C220.04 837.66 172.7 765 165.7 687c-.67-16.66-1-33.33-.34-49.66 6-63.34 37.33-124 86-165.34 55.33-48 132.66-71 204.99-57.33.67 49.34-1.33 98.67-1.33 148-33-10.67-71.67-7.67-100.67 12.33-21 13.67-37 34.67-45.33 58.34-7 17-5 35.66-4.66 53.66 8 54.67 60.66 100.67 116.66 95.67 37.33-.34 73-22 92.33-53.67 6.33-11 13.33-22.33 13.66-35.33 3.34-59.67 2-119 2.34-178.66.33-134.34-.34-268.33.66-402.33`}}]},name:`tik-tok`,theme:`outlined`};function Z3(){return Z3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Z3({},e,{ref:t,icon:hLe}))),_Le={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M885 780H165c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM400 325.7h73.9V664c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V325.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 171a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13z`}}]},name:`to-top`,theme:`outlined`};function Q3(){return Q3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Q3({},e,{ref:t,icon:_Le}))),yLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M865.3 244.7c-.3-.3-61.1 59.8-182.1 180.6l-84.9-84.9 180.9-180.9c-95.2-57.3-217.5-42.6-296.8 36.7A244.42 244.42 0 00419 432l1.8 6.7-283.5 283.4c-6.2 6.2-6.2 16.4 0 22.6l141.4 141.4c6.2 6.2 16.4 6.2 22.6 0l283.3-283.3 6.7 1.8c83.7 22.3 173.6-.9 236-63.3 79.4-79.3 94.1-201.6 38-296.6z`}}]},name:`tool`,theme:`filled`};function $3(){return $3=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$3({},e,{ref:t,icon:yLe}))),xLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z`}}]},name:`tool`,theme:`outlined`};function e6(){return e6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,e6({},e,{ref:t,icon:xLe}))),SLe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M706.8 488.7a32.05 32.05 0 01-45.3 0L537 364.2a32.05 32.05 0 010-45.3l132.9-132.8a184.2 184.2 0 00-144 53.5c-58.1 58.1-69.3 145.3-33.6 214.6L439.5 507c-.1 0-.1-.1-.1-.1L209.3 737l79.2 79.2 274-274.1.1.1 8.8-8.8c69.3 35.7 156.5 24.5 214.6-33.6 39.2-39.1 57.3-92.1 53.6-143.9L706.8 488.7z`,fill:t}},{tag:`path`,attrs:{d:`M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z`,fill:e}}]}},name:`tool`,theme:`twotone`};function n6(){return n6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,n6({},e,{ref:t,icon:SLe}))),wLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm164.7 660.2c-1.1.5-2.3.8-3.5.8h-62c-3.1 0-5.9-1.8-7.2-4.6l-74.6-159.2h-88.7V717c0 4.4-3.6 8-8 8H378c-4.4 0-8-3.6-8-8V307c0-4.4 3.6-8 8-8h155.6c98.8 0 144.2 59.9 144.2 131.1 0 70.2-43.6 106.4-78.4 119.2l80.8 164.2c2.1 3.9.4 8.7-3.5 10.7zM523.9 357h-83.4v148H522c53 0 82.8-25.6 82.8-72.4 0-50.3-32.9-75.6-80.9-75.6z`}}]},name:`trademark-circle`,theme:`filled`};function r6(){return r6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,r6({},e,{ref:t,icon:wLe}))),ELe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm87.5-334.7c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.5-131.1-144.2-131.1H378c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.5c4.4 0 8-3.6 8-8V561.2h88.7l74.6 159.2c1.3 2.8 4.1 4.6 7.2 4.6h62a7.9 7.9 0 007.1-11.5l-80.6-164.2zM522 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.5 0 46.9-29.8 72.5-82.8 72.5z`}}]},name:`trademark-circle`,theme:`outlined`};function i6(){return i6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,i6({},e,{ref:t,icon:ELe}))),OLe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm170.7 584.2c-1.1.5-2.3.8-3.5.8h-62c-3.1 0-5.9-1.8-7.2-4.6l-74.6-159.2h-88.7V717c0 4.4-3.6 8-8 8H384c-4.4 0-8-3.6-8-8V307c0-4.4 3.6-8 8-8h155.6c98.8 0 144.2 59.9 144.2 131.1 0 70.2-43.6 106.4-78.4 119.2l80.8 164.2c2.1 3.9.4 8.7-3.5 10.7z`,fill:t}},{tag:`path`,attrs:{d:`M529.9 357h-83.4v148H528c53 0 82.8-25.6 82.8-72.4 0-50.3-32.9-75.6-80.9-75.6z`,fill:t}},{tag:`path`,attrs:{d:`M605.4 549.3c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.4-131.1-144.2-131.1H384c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.7c4.4 0 8-3.6 8-8V561.2h88.7L610 720.4c1.3 2.8 4.1 4.6 7.2 4.6h62c1.2 0 2.4-.3 3.5-.8 3.9-2 5.6-6.8 3.5-10.7l-80.8-164.2zM528 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.6 0 46.8-29.8 72.4-82.8 72.4z`,fill:e}}]}},name:`trademark-circle`,theme:`twotone`};function a6(){return a6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,a6({},e,{ref:t,icon:OLe}))),ALe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm87.5-334.7c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.5-131.1-144.2-131.1H378c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.5c4.4 0 8-3.6 8-8V561.2h88.7l74.6 159.2c1.3 2.8 4.1 4.6 7.2 4.6h62a7.9 7.9 0 007.1-11.5l-80.6-164.2zM522 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.5 0 46.9-29.8 72.5-82.8 72.5z`}}]},name:`trademark`,theme:`outlined`};function o6(){return o6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,o6({},e,{ref:t,icon:ALe}))),MLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M668.6 320c0-4.4-3.6-8-8-8h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 00-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.5-1.1.9-2.4.9-3.7zM157.9 504.2a352.7 352.7 0 01103.5-242.4c32.5-32.5 70.3-58.1 112.4-75.9 43.6-18.4 89.9-27.8 137.6-27.8 47.8 0 94.1 9.3 137.6 27.8 42.1 17.8 79.9 43.4 112.4 75.9 10 10 19.3 20.5 27.9 31.4l-50 39.1a8 8 0 003 14.1l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3l-47.8 37.4C770.7 146.3 648.6 82 511.5 82 277 82 86.3 270.1 82 503.8a8 8 0 008 8.2h60c4.3 0 7.8-3.5 7.9-7.8zM934 512h-60c-4.3 0-7.9 3.5-8 7.8a352.7 352.7 0 01-103.5 242.4 352.57 352.57 0 01-112.4 75.9c-43.6 18.4-89.9 27.8-137.6 27.8s-94.1-9.3-137.6-27.8a352.57 352.57 0 01-112.4-75.9c-10-10-19.3-20.5-27.9-31.4l49.9-39.1a8 8 0 00-3-14.1l-156.8-38.3c-5-1.2-9.9 2.6-9.9 7.7l-.8 161.7c0 6.7 7.7 10.5 12.9 6.3l47.8-37.4C253.3 877.7 375.4 942 512.5 942 747 942 937.7 753.9 942 520.2a8 8 0 00-8-8.2z`}}]},name:`transaction`,theme:`outlined`};function s6(){return s6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,s6({},e,{ref:t,icon:MLe}))),PLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M140 188h584v164h76V144c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h544v-76H140V188z`}},{tag:`path`,attrs:{d:`M414.3 256h-60.6c-3.4 0-6.4 2.2-7.6 5.4L219 629.4c-.3.8-.4 1.7-.4 2.6 0 4.4 3.6 8 8 8h55.1c3.4 0 6.4-2.2 7.6-5.4L322 540h196.2L422 261.4a8.42 8.42 0 00-7.7-5.4zm12.4 228h-85.5L384 360.2 426.7 484zM936 528H800v-93c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v93H592c-13.3 0-24 10.7-24 24v176c0 13.3 10.7 24 24 24h136v152c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V752h136c13.3 0 24-10.7 24-24V552c0-13.3-10.7-24-24-24zM728 680h-88v-80h88v80zm160 0h-88v-80h88v80z`}}]},name:`translation`,theme:`outlined`};function c6(){return c6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,c6({},e,{ref:t,icon:PLe}))),ILe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.6 630.2 359 721.8 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.8 758.4 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM248 439.6c-37.1-11.9-64-46.7-64-87.6V232h64v207.6zM840 352c0 41-26.9 75.8-64 87.6V232h64v120z`}}]},name:`trophy`,theme:`filled`};function l6(){return l6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,l6({},e,{ref:t,icon:ILe}))),RLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.7 758.3 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM184 352V232h64v207.6a91.99 91.99 0 01-64-87.6zm520 128c0 49.1-19.1 95.4-53.9 130.1-34.8 34.8-81 53.9-130.1 53.9h-16c-49.1 0-95.4-19.1-130.1-53.9-34.8-34.8-53.9-81-53.9-130.1V184h384v296zm136-128c0 41-26.9 75.8-64 87.6V232h64v120z`}}]},name:`trophy`,theme:`outlined`};function u6(){return u6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,u6({},e,{ref:t,icon:RLe}))),zLe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M320 480c0 49.1 19.1 95.3 53.9 130.1 34.7 34.8 81 53.9 130.1 53.9h16c49.1 0 95.3-19.1 130.1-53.9 34.8-34.7 53.9-81 53.9-130.1V184H320v296zM184 352c0 41 26.9 75.8 64 87.6-37.1-11.9-64-46.7-64-87.6zm364 382.5C665 721.8 758.4 630.2 773.8 514 758.3 630.2 665 721.7 548 734.5zM250.2 514C265.6 630.2 359 721.8 476 734.5 359 721.7 265.7 630.2 250.2 514z`,fill:t}},{tag:`path`,attrs:{d:`M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.7 758.3 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM248 439.6a91.99 91.99 0 01-64-87.6V232h64v207.6zM704 480c0 49.1-19.1 95.4-53.9 130.1-34.8 34.8-81 53.9-130.1 53.9h-16c-49.1 0-95.4-19.1-130.1-53.9-34.8-34.8-53.9-81-53.9-130.1V184h384v296zm136-128c0 41-26.9 75.8-64 87.6V232h64v120z`,fill:e}}]}},name:`trophy`,theme:`twotone`};function f6(){return f6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,f6({},e,{ref:t,icon:zLe}))),VLe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640m93.63-192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448H332a12 12 0 00-12 12v40a12 12 0 0012 12h168a12 12 0 0012-12v-40a12 12 0 00-12-12M308 320H204a12 12 0 00-12 12v40a12 12 0 0012 12h104a12 12 0 0012-12v-40a12 12 0 00-12-12`}}]},name:`truck`,theme:`filled`};function p6(){return p6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,p6({},e,{ref:t,icon:VLe}))),ULe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640M576 256H128v384h17.12c22.13-38.26 63.5-64 110.88-64 47.38 0 88.75 25.74 110.88 64H576zm221.63 192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448a12 12 0 0112 12v40a12 12 0 01-12 12H332a12 12 0 01-12-12v-40a12 12 0 0112-12zM308 320a12 12 0 0112 12v40a12 12 0 01-12 12H204a12 12 0 01-12-12v-40a12 12 0 0112-12z`}}]},name:`truck`,theme:`outlined`};function m6(){return m6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,m6({},e,{ref:t,icon:ULe}))),WLe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`filter`,attrs:{filterUnits:`objectBoundingBox`,height:`102.3%`,id:`a`,width:`102.3%`,x:`-1.2%`,y:`-1.2%`},children:[{tag:`feOffset`,attrs:{dy:`2`,in:`SourceAlpha`,result:`shadowOffsetOuter1`}},{tag:`feGaussianBlur`,attrs:{in:`shadowOffsetOuter1`,result:`shadowBlurOuter1`,stdDeviation:`2`}},{tag:`feColorMatrix`,attrs:{in:`shadowBlurOuter1`,result:`shadowMatrixOuter1`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0`}},{tag:`feMerge`,attrs:{},children:[{tag:`feMergeNode`,attrs:{in:`shadowMatrixOuter1`}},{tag:`feMergeNode`,attrs:{in:`SourceGraphic`}}]}]}]},{tag:`g`,attrs:{filter:`url(#a)`,transform:`translate(9 9)`},children:[{tag:`path`,attrs:{d:`M185.14 112L128 254.86V797.7h171.43V912H413.7L528 797.71h142.86l200-200V112zm314.29 428.57H413.7V310.21h85.72zm200 0H613.7V310.21h85.72z`}}]}]},name:`twitch`,theme:`filled`};function g6(){return g6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,g6({},e,{ref:t,icon:WLe}))),KLe={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M166.13 112L114 251.17v556.46h191.2V912h104.4l104.23-104.4h156.5L879 599V112zm69.54 69.5H809.5v382.63L687.77 685.87H496.5L392.27 790.1V685.87h-156.6zM427 529.4h69.5V320.73H427zm191.17 0h69.53V320.73h-69.53z`}}]},name:`twitch`,theme:`outlined`};function _6(){return _6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_6({},e,{ref:t,icon:KLe}))),JLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm215.3 337.7c.3 4.7.3 9.6.3 14.4 0 146.8-111.8 315.9-316.1 315.9-63 0-121.4-18.3-170.6-49.8 9 1 17.6 1.4 26.8 1.4 52 0 99.8-17.6 137.9-47.4-48.8-1-89.8-33-103.8-77 17.1 2.5 32.5 2.5 50.1-2a111 111 0 01-88.9-109v-1.4c14.7 8.3 32 13.4 50.1 14.1a111.13 111.13 0 01-49.5-92.4c0-20.7 5.4-39.6 15.1-56a315.28 315.28 0 00229 116.1C492 353.1 548.4 292 616.2 292c32 0 60.8 13.4 81.1 35 25.1-4.7 49.1-14.1 70.5-26.7-8.3 25.7-25.7 47.4-48.8 61.1 22.4-2.4 44-8.6 64-17.3-15.1 22.2-34 41.9-55.7 57.6z`}}]},name:`twitter-circle`,theme:`filled`};function v6(){return v6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,v6({},e,{ref:t,icon:JLe}))),XLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 254.3c-30.6 13.2-63.9 22.7-98.2 26.4a170.1 170.1 0 0075-94 336.64 336.64 0 01-108.2 41.2A170.1 170.1 0 00672 174c-94.5 0-170.5 76.6-170.5 170.6 0 13.2 1.6 26.4 4.2 39.1-141.5-7.4-267.7-75-351.6-178.5a169.32 169.32 0 00-23.2 86.1c0 59.2 30.1 111.4 76 142.1a172 172 0 01-77.1-21.7v2.1c0 82.9 58.6 151.6 136.7 167.4a180.6 180.6 0 01-44.9 5.8c-11.1 0-21.6-1.1-32.2-2.6C211 652 273.9 701.1 348.8 702.7c-58.6 45.9-132 72.9-211.7 72.9-14.3 0-27.5-.5-41.2-2.1C171.5 822 261.2 850 357.8 850 671.4 850 843 590.2 843 364.7c0-7.4 0-14.8-.5-22.2 33.2-24.3 62.3-54.4 85.5-88.2z`}}]},name:`twitter`,theme:`outlined`};function y6(){return y6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,y6({},e,{ref:t,icon:XLe}))),QLe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM727.3 401.7c.3 4.7.3 9.6.3 14.4 0 146.8-111.8 315.9-316.1 315.9-63 0-121.4-18.3-170.6-49.8 9 1 17.6 1.4 26.8 1.4 52 0 99.8-17.6 137.9-47.4-48.8-1-89.8-33-103.8-77 17.1 2.5 32.5 2.5 50.1-2a111 111 0 01-88.9-109v-1.4c14.7 8.3 32 13.4 50.1 14.1a111.13 111.13 0 01-49.5-92.4c0-20.7 5.4-39.6 15.1-56a315.28 315.28 0 00229 116.1C492 353.1 548.4 292 616.2 292c32 0 60.8 13.4 81.1 35 25.1-4.7 49.1-14.1 70.5-26.7-8.3 25.7-25.7 47.4-48.8 61.1 22.4-2.4 44-8.6 64-17.3-15.1 22.2-34 41.9-55.7 57.6z`}}]},name:`twitter-square`,theme:`filled`};function b6(){return b6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,b6({},e,{ref:t,icon:QLe}))),eRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M824 804H200c-4.4 0-8 3.4-8 7.6v60.8c0 4.2 3.6 7.6 8 7.6h624c4.4 0 8-3.4 8-7.6v-60.8c0-4.2-3.6-7.6-8-7.6zm-312-76c69.4 0 134.6-27.1 183.8-76.2C745 602.7 772 537.4 772 468V156c0-6.6-5.4-12-12-12h-60c-6.6 0-12 5.4-12 12v312c0 97-79 176-176 176s-176-79-176-176V156c0-6.6-5.4-12-12-12h-60c-6.6 0-12 5.4-12 12v312c0 69.4 27.1 134.6 76.2 183.8C377.3 701 442.6 728 512 728z`}}]},name:`underline`,theme:`outlined`};function x6(){return x6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,x6({},e,{ref:t,icon:eRe}))),nRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M511.4 124C290.5 124.3 112 303 112 523.9c0 128 60.2 242 153.8 315.2l-37.5 48c-4.1 5.3-.3 13 6.3 12.9l167-.8c5.2 0 9-4.9 7.7-9.9L369.8 727a8 8 0 00-14.1-3L315 776.1c-10.2-8-20-16.7-29.3-26a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-7.5 7.5-15.3 14.5-23.4 21.2a7.93 7.93 0 00-1.2 11.1l39.4 50.5c2.8 3.5 7.9 4.1 11.4 1.3C854.5 760.8 912 649.1 912 523.9c0-221.1-179.4-400.2-400.6-399.9z`}}]},name:`undo`,theme:`outlined`};function S6(){return S6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,S6({},e,{ref:t,icon:nRe}))),rRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M736 550H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V566c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208 130c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zM736 266H288c-8.8 0-16 7.2-16 16v176c0 8.8 7.2 16 16 16h448c8.8 0 16-7.2 16-16V282c0-8.8-7.2-16-16-16zm-56 136H344v-64h336v64zm208-194c39.8 0 72-32.2 72-72s-32.2-72-72-72-72 32.2-72 72 32.2 72 72 72zm0-96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM136 64c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0 656c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24z`}}]},name:`ungroup`,theme:`outlined`};function w6(){return w6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,w6({},e,{ref:t,icon:rRe}))),aRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM540 701v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 1156 0z`}}]},name:`unlock`,theme:`filled`};function T6(){return T6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,T6({},e,{ref:t,icon:aRe}))),sRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zm-40 376H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z`}}]},name:`unlock`,theme:`outlined`};function E6(){return E6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,E6({},e,{ref:t,icon:sRe}))),lRe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M232 840h560V536H232v304zm280-226a48.01 48.01 0 0128 87v53c0 4.4-3.6 8-8 8h-40c-4.4 0-8-3.6-8-8v-53a48.01 48.01 0 0128-87z`,fill:t}},{tag:`path`,attrs:{d:`M484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z`,fill:e}},{tag:`path`,attrs:{d:`M832 464H332V240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v68c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-68c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zm-40 376H232V536h560v304z`,fill:e}}]}},name:`unlock`,theme:`twotone`};function D6(){return D6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,D6({},e,{ref:t,icon:lRe}))),dRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`unordered-list`,theme:`outlined`};function O6(){return O6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,O6({},e,{ref:t,icon:dRe}))),pRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm178 555h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 460.4 406.8 605.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z`}}]},name:`up-circle`,theme:`filled`};function k6(){return k6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,k6({},e,{ref:t,icon:pRe}))),hRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M518.5 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7H381c10.2 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`up-circle`,theme:`outlined`};function A6(){return A6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,A6({},e,{ref:t,icon:hRe}))),_Re={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm178 479h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 460.4 406.8 605.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z`,fill:t}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`,fill:e}},{tag:`path`,attrs:{d:`M518.4 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7h46.9c10.3 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.7 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.4-12.7l-178-246z`,fill:e}}]}},name:`up-circle`,theme:`twotone`};function j6(){return j6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,j6({},e,{ref:t,icon:_Re}))),yRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM690 624h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 465.4 406.8 610.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7z`}}]},name:`up-square`,theme:`filled`};function M6(){return M6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,M6({},e,{ref:t,icon:yRe}))),xRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M334 624h46.9c10.2 0 19.9-4.9 25.9-13.2L512 465.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246a7.95 7.95 0 00-12.9 0l-178 246A7.96 7.96 0 00334 624z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`up-square`,theme:`outlined`};function N6(){return N6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,N6({},e,{ref:t,icon:xRe}))),CRe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V184H184v656zm143.5-228.7l178-246c3.2-4.4 9.7-4.4 12.9 0l178 246c3.9 5.3.1 12.7-6.4 12.7h-46.9c-10.2 0-19.9-4.9-25.9-13.2L512 465.4 406.8 610.8c-6 8.3-15.6 13.2-25.9 13.2H334c-6.5 0-10.3-7.4-6.5-12.7z`,fill:t}},{tag:`path`,attrs:{d:`M334 624h46.9c10.3 0 19.9-4.9 25.9-13.2L512 465.4l105.2 145.4c6 8.3 15.7 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.4-12.7l-178-246a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7z`,fill:e}}]}},name:`up-square`,theme:`twotone`};function P6(){return P6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,P6({},e,{ref:t,icon:CRe}))),TRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z`}}]},name:`upload`,theme:`outlined`};function F6(){return F6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,F6({},e,{ref:t,icon:TRe}))),ERe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M408 312h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm352 120V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zm-72 0H336V184h352v248zM568 312h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}}]},name:`usb`,theme:`filled`};function L6(){return L6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,L6({},e,{ref:t,icon:ERe}))),ORe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M760 432V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V548c0-24.3 21.6-44 48.1-44h495.8c26.5 0 48.1 19.7 48.1 44v356c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zm-424 0V184h352v248H336zm120-184h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm160 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}}]},name:`usb`,theme:`outlined`};function R6(){return R6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,R6({},e,{ref:t,icon:ORe}))),ARe={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M759.9 504H264.1c-26.5 0-48.1 19.7-48.1 44v292h592V548c0-24.3-21.6-44-48.1-44z`,fill:t}},{tag:`path`,attrs:{d:`M456 248h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm160 0h-48c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`,fill:e}},{tag:`path`,attrs:{d:`M760 432V144c0-17.7-14.3-32-32-32H296c-17.7 0-32 14.3-32 32v288c-66.2 0-120 52.1-120 116v356c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8V548c0-63.9-53.8-116-120-116zM336 184h352v248H336V184zm472 656H216V548c0-24.3 21.6-44 48.1-44h495.8c26.5 0 48.1 19.7 48.1 44v292z`,fill:e}}]}},name:`usb`,theme:`twotone`};function z6(){return z6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,z6({},e,{ref:t,icon:ARe}))),MRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`user-add`,theme:`outlined`};function B6(){return B6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,B6({},e,{ref:t,icon:MRe}))),PRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M678.3 655.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 518 759.6 444.7 759.6 362c0-137-110.8-248-247.5-248S264.7 225 264.7 362c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 901.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 641.2 432.2 610 512.2 610c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 534c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 362c0-45.9 17.9-89.1 50.3-121.6S466.3 190 512.2 190s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 362c0 45.9-17.9 89.1-50.3 121.6C601.1 516.1 558 534 512.2 534zM880 772H640c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h240c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`user-delete`,theme:`outlined`};function V6(){return V6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,V6({},e,{ref:t,icon:PRe}))),IRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z`}}]},name:`user`,theme:`outlined`};function H6(){return H6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,H6({},e,{ref:t,icon:IRe}))),LRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M759 335c0-137-111-248-248-248S263 198 263 335c0 82.8 40.6 156.2 103 201.2-.4.2-.7.3-.9.4-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00136 874.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C356 614.2 431 583 511 583c137 0 248-111 248-248zM511 507c-95 0-172-77-172-172s77-172 172-172 172 77 172 172-77 172-172 172zm105 221h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H703.5l47.2-60.1a8.1 8.1 0 001.7-4.9c0-4.4-3.6-8-8-8h-72.6c-4.9 0-9.5 2.3-12.6 6.1l-68.5 87.1c-4.4 5.6-6.8 12.6-6.8 19.8.1 17.7 14.4 32 32.1 32zm240 64H592c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h176.5l-47.2 60.1a8.1 8.1 0 00-1.7 4.9c0 4.4 3.6 8 8 8h72.6c4.9 0 9.5-2.3 12.6-6.1l68.5-87.1c4.4-5.6 6.8-12.6 6.8-19.8-.1-17.7-14.4-32-32.1-32z`}}]},name:`user-switch`,theme:`outlined`};function W6(){return W6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,W6({},e,{ref:t,icon:LRe}))),zRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z`}}]},name:`usergroup-add`,theme:`outlined`};function G6(){return G6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,G6({},e,{ref:t,icon:zRe}))),VRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888 784H664c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7zM824 484c0-109.4-87.9-198.3-196.9-200C516.3 282.3 424 373.2 424 484c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 754.6 326 826.8 324 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 707.7 563 684 624 684c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 598.7 658.2 612 624 612s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z`}}]},name:`usergroup-delete`,theme:`outlined`};function K6(){return K6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,K6({},e,{ref:t,icon:VRe}))),URe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M447.8 588.8l-7.3-32.5c-.2-1-.6-1.9-1.1-2.7a7.94 7.94 0 00-11.1-2.2L405 567V411c0-4.4-3.6-8-8-8h-81c-4.4 0-8 3.6-8 8v36c0 4.4 3.6 8 8 8h37v192.4a8 8 0 0012.7 6.5l79-56.8c2.6-1.9 3.8-5.1 3.1-8.3zm-56.7-216.6l.2.2c3.2 3 8.3 2.8 11.3-.5l24.1-26.2a8.1 8.1 0 00-.3-11.2l-53.7-52.1a8 8 0 00-11.2.1l-24.7 24.7c-3.1 3.1-3.1 8.2.1 11.3l54.2 53.7z`}},{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z`}},{tag:`path`,attrs:{d:`M452 297v36c0 4.4 3.6 8 8 8h108v274h-38V405c0-4.4-3.6-8-8-8h-35c-4.4 0-8 3.6-8 8v210h-31c-4.4 0-8 3.6-8 8v37c0 4.4 3.6 8 8 8h244c4.4 0 8-3.6 8-8v-37c0-4.4-3.6-8-8-8h-72V493h58c4.4 0 8-3.6 8-8v-35c0-4.4-3.6-8-8-8h-58V341h63c4.4 0 8-3.6 8-8v-36c0-4.4-3.6-8-8-8H460c-4.4 0-8 3.6-8 8z`}}]},name:`verified`,theme:`outlined`};function q6(){return q6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,q6({},e,{ref:t,icon:URe}))),GRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M859.9 780H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM505.7 669a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V176c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8z`}}]},name:`vertical-align-bottom`,theme:`outlined`};function J6(){return J6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,J6({},e,{ref:t,icon:GRe}))),qRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M859.9 474H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zm-353.6-74.7c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H550V104c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v156h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.6zm11.4 225.4a7.14 7.14 0 00-11.3 0L405.6 752.3a7.23 7.23 0 005.7 11.7H474v156c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V764h62.8c6 0 9.4-7 5.7-11.7L517.7 624.7z`}}]},name:`vertical-align-middle`,theme:`outlined`};function Y6(){return Y6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Y6({},e,{ref:t,icon:qRe}))),YRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M762 164h-64c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V172c0-4.4-3.6-8-8-8zm-508 0v72.4c0 9.5 4.2 18.4 11.4 24.5L564.6 512 265.4 763.1c-7.2 6.1-11.4 15-11.4 24.5V860c0 6.8 7.9 10.5 13.1 6.1L689 512 267.1 157.9A7.95 7.95 0 00254 164z`}}]},name:`vertical-left`,theme:`outlined`};function X6(){return X6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,X6({},e,{ref:t,icon:YRe}))),ZRe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M326 164h-64c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V172c0-4.4-3.6-8-8-8zm444 72.4V164c0-6.8-7.9-10.5-13.1-6.1L335 512l421.9 354.1c5.2 4.4 13.1.7 13.1-6.1v-72.4c0-9.4-4.2-18.4-11.4-24.5L459.4 512l299.2-251.1c7.2-6.1 11.4-15.1 11.4-24.5z`}}]},name:`vertical-right`,theme:`outlined`};function Z6(){return Z6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Z6({},e,{ref:t,icon:ZRe}))),$Re={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M368 724H252V608c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v116H72c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h116v116c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V788h116c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}},{tag:`path`,attrs:{d:`M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v352h72V232h576v560H448v72h272c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM888 625l-104-59.8V458.9L888 399v226z`}},{tag:`path`,attrs:{d:`M320 360c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h112z`}}]},name:`video-camera-add`,theme:`outlined`};function Q6(){return Q6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,Q6({},e,{ref:t,icon:$Re}))),tze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM328 352c0 4.4-3.6 8-8 8H208c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h112c4.4 0 8 3.6 8 8v48zm560 273l-104-59.8V458.9L888 399v226z`}}]},name:`video-camera`,theme:`filled`};function $6(){return $6=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,$6({},e,{ref:t,icon:tze}))),rze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226zM208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}}]},name:`video-camera`,theme:`outlined`};function e8(){return e8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,e8({},e,{ref:t,icon:rze}))),ize={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M136 792h576V232H136v560zm64-488c0-4.4 3.6-8 8-8h112c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H208c-4.4 0-8-3.6-8-8v-48z`,fill:t}},{tag:`path`,attrs:{d:`M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226z`,fill:e}},{tag:`path`,attrs:{d:`M208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`,fill:e}}]}},name:`video-camera`,theme:`twotone`};function n8(){return n8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,n8({},e,{ref:t,icon:ize}))),oze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-32 464H528V448h320v128zm-268-64a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`wallet`,theme:`filled`};function r8(){return r8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,r8({},e,{ref:t,icon:oze}))),cze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 464H528V448h312v128zm0 264H184V184h656v200H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200zM580 512a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`wallet`,theme:`outlined`};function i8(){return i8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,i8({},e,{ref:t,icon:cze}))),lze={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 464H528V448h312v128zm0-192H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200H184V184h656v200z`,fill:e}},{tag:`path`,attrs:{d:`M528 576h312V448H528v128zm92-104c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z`,fill:t}},{tag:`path`,attrs:{d:`M580 512a40 40 0 1080 0 40 40 0 10-80 0z`,fill:e}},{tag:`path`,attrs:{d:`M184 840h656V640H496c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32h344V184H184v656z`,fill:t}}]}},name:`wallet`,theme:`twotone`};function o8(){return o8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,o8({},e,{ref:t,icon:lze}))),dze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z`}}]},name:`warning`,theme:`outlined`};function s8(){return s8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,s8({},e,{ref:t,icon:dze}))),pze={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z`,fill:e}},{tag:`path`,attrs:{d:`M172.2 828.1h679.6L512 239.9 172.2 828.1zM560 720a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm-16-304v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8z`,fill:t}},{tag:`path`,attrs:{d:`M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8z`,fill:e}}]}},name:`warning`,theme:`twotone`};function c8(){return c8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,c8({},e,{ref:t,icon:pze}))),hze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z`}}]},name:`wechat`,theme:`filled`};function l8(){return l8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,l8({},e,{ref:t,icon:hze}))),_ze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z`}}]},name:`wechat`,theme:`outlined`};function u8(){return u8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,u8({},e,{ref:t,icon:_ze}))),vze={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M805.33 112H218.67C159.76 112 112 159.76 112 218.67v586.66C112 864.24 159.76 912 218.67 912h586.66C864.24 912 912 864.24 912 805.33V218.67C912 159.76 864.24 112 805.33 112m-98.17 417.86a102.13 102.13 0 0028.1 52.46l2.13 2.06c.41.27.8.57 1.16.9l.55.64.2.02a7.96 7.96 0 01-.98 10.82 7.96 7.96 0 01-10.85-.18c-1.1-1.05-2.14-2.14-3.24-3.24a102.49 102.49 0 00-53.82-28.36l-2-.27c-.66-.12-1.34-.39-1.98-.39a33.27 33.27 0 1140.37-37.66c.17 1.09.36 2.16.36 3.2m-213.1 153.82a276.78 276.78 0 01-61.7.17 267.3 267.3 0 01-44.67-8.6l-68.44 34.4c-.33.24-.77.43-1.15.71h-.27a18.29 18.29 0 01-27.52-15.9c.03-.59.1-1.17.2-1.74.13-1.97.6-3.9 1.37-5.72l2.75-11.15 9.56-39.56a277.57 277.57 0 01-49.25-54.67A185.99 185.99 0 01223.1 478.1a182.42 182.42 0 0119.08-81.04 203.98 203.98 0 0137.19-52.32c38.91-39.94 93.26-65.52 153.1-72.03a278.25 278.25 0 0130.17-1.64c10.5.03 20.99.65 31.42 1.86 59.58 6.79 113.65 32.48 152.26 72.36a202.96 202.96 0 0137 52.48 182.3 182.3 0 0118.17 94.67c-.52-.57-1.02-1.2-1.57-1.76a33.26 33.26 0 00-40.84-4.8c.22-2.26.22-4.54.22-6.79a143.64 143.64 0 00-14.76-63.38 164.07 164.07 0 00-29.68-42.15c-31.78-32.76-76.47-53.95-125.89-59.55a234.37 234.37 0 00-51.67-.14c-49.61 5.41-94.6 26.45-126.57 59.26a163.63 163.63 0 00-29.82 41.95 143.44 143.44 0 00-15.12 63.93 147.16 147.16 0 0025.29 81.51 170.5 170.5 0 0024.93 29.4 172.31 172.31 0 0017.56 14.75 17.6 17.6 0 016.35 19.62l-6.49 24.67-1.86 7.14-1.62 6.45a2.85 2.85 0 002.77 2.88 3.99 3.99 0 001.93-.68l43.86-25.93 1.44-.78a23.2 23.2 0 0118.24-1.84 227.38 227.38 0 0033.87 7.12l5.22.69a227.26 227.26 0 0051.67-.14 226.58 226.58 0 0042.75-9.07 33.2 33.2 0 0022.72 34.76 269.27 269.27 0 01-60.37 14.12m89.07-24.87a33.33 33.33 0 01-33.76-18.75 33.32 33.32 0 016.64-38.03 33.16 33.16 0 0118.26-9.31c1.07-.14 2.19-.36 3.24-.36a102.37 102.37 0 0052.47-28.05l2.2-2.33a10.21 10.21 0 011.57-1.68v-.03a7.97 7.97 0 1110.64 11.81l-3.24 3.24a102.44 102.44 0 00-28.56 53.74c-.09.63-.28 1.35-.28 2l-.39 2.01a33.3 33.3 0 01-28.79 25.74m94.44 93.87a33.3 33.3 0 01-36.18-24.25 28 28 0 01-1.1-6.73 102.4 102.4 0 00-28.15-52.39l-2.3-2.25a7.2 7.2 0 01-1.11-.9l-.54-.6h-.03v.05a7.96 7.96 0 01.96-10.82 7.96 7.96 0 0110.85.18l3.22 3.24a102.29 102.29 0 0053.8 28.35l2 .28a33.27 33.27 0 11-1.42 65.84m113.67-103.34a32.84 32.84 0 01-18.28 9.31 26.36 26.36 0 01-3.24.36 102.32 102.32 0 00-52.44 28.1 49.57 49.57 0 00-3.14 3.41l-.68.56h.02l.09.05a7.94 7.94 0 11-10.6-11.81l3.23-3.24a102.05 102.05 0 0028.37-53.7 33.26 33.26 0 1162.4-12.1 33.21 33.21 0 01-5.73 39.06`}}]},name:`wechat-work`,theme:`filled`};function f8(){return f8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,f8({},e,{ref:t,icon:vze}))),bze={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M909.78 729.59a135.87 135.87 0 00-47.04 19.04 114.24 114.24 0 01-51.4 31.08 76.29 76.29 0 0124.45-45.42 169.3 169.3 0 0023.4-55.02 50.41 50.41 0 1150.6 50.32zm-92.21-120.76a168.83 168.83 0 00-54.81-23.68 50.41 50.41 0 01-50.4-50.42 50.41 50.41 0 11100.8 0 137.5 137.5 0 0018.82 47.2 114.8 114.8 0 0130.76 51.66 76.08 76.08 0 01-45.02-24.76h-.19zm-83.04-177.71c-15.19-127.33-146.98-227.1-306.44-227.1-169.87 0-308.09 113.1-308.09 252.2A235.81 235.81 0 00230.06 647.6a311.28 311.28 0 0033.6 21.59L250 723.76c4.93 2.31 9.7 4.78 14.75 6.9l69-34.5c10.07 2.61 20.68 4.3 31.2 6.08 6.73 1.2 13.45 2.43 20.35 3.25a354.83 354.83 0 00128.81-7.4 248.88 248.88 0 0010.15 55.06 425.64 425.64 0 01-96.17 11.24 417.98 417.98 0 01-86.4-9.52L216.52 817.4a27.62 27.62 0 01-29.98-3.14 28.02 28.02 0 01-9.67-28.61l22.4-90.24A292.26 292.26 0 0164 456.21C64 285.98 227 148 428.09 148c190.93 0 347.29 124.53 362.52 282.82a244.97 244.97 0 00-26.47-2.62c-9.9.38-19.79 1.31-29.6 2.88zm-116.3 198.81a135.76 135.76 0 0047.05-19.04 114.24 114.24 0 0151.45-31 76.47 76.47 0 01-24.5 45.34 169.48 169.48 0 00-23.4 55.05 50.41 50.41 0 01-100.8.23 50.41 50.41 0 0150.2-50.58m90.8 121.32a168.6 168.6 0 0054.66 23.9 50.44 50.44 0 0135.64 86.08 50.38 50.38 0 01-86.04-35.66 136.74 136.74 0 00-18.67-47.28 114.71 114.71 0 01-30.54-51.8 76 76 0 0144.95 25.06z`}}]},name:`wechat-work`,theme:`outlined`};function p8(){return p8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,p8({},e,{ref:t,icon:bze}))),Sze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-44.4 672C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-93-32.2c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zm34.9-14.5c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z`}}]},name:`weibo-circle`,theme:`filled`};function m8(){return m8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,m8({},e,{ref:t,icon:Sze}))),wze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-44.4 672C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-93-32.2c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zm34.9-14.5c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z`}}]},name:`weibo-circle`,theme:`outlined`};function h8(){return h8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,h8({},e,{ref:t,icon:wze}))),Eze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M457.3 543c-68.1-17.7-145 16.2-174.6 76.2-30.1 61.2-1 129.1 67.8 151.3 71.2 23 155.2-12.2 184.4-78.3 28.7-64.6-7.2-131-77.6-149.2zm-52 156.2c-13.8 22.1-43.5 31.7-65.8 21.6-22-10-28.5-35.7-14.6-57.2 13.7-21.4 42.3-31 64.4-21.7 22.4 9.5 29.6 35 16 57.3zm45.5-58.5c-5 8.6-16.1 12.7-24.7 9.1-8.5-3.5-11.2-13.1-6.4-21.5 5-8.4 15.6-12.4 24.1-9.1 8.7 3.2 11.8 12.9 7 21.5zm334.5-197.2c15 4.8 31-3.4 35.9-18.3 11.8-36.6 4.4-78.4-23.2-109a111.39 111.39 0 00-106-34.3 28.45 28.45 0 00-21.9 33.8 28.39 28.39 0 0033.8 21.8c18.4-3.9 38.3 1.8 51.9 16.7a54.2 54.2 0 0111.3 53.3 28.45 28.45 0 0018.2 36zm99.8-206c-56.7-62.9-140.4-86.9-217.7-70.5a32.98 32.98 0 00-25.4 39.3 33.12 33.12 0 0039.3 25.5c55-11.7 114.4 5.4 154.8 50.1 40.3 44.7 51.2 105.7 34 159.1-5.6 17.4 3.9 36 21.3 41.7 17.4 5.6 36-3.9 41.6-21.2v-.1c24.1-75.4 8.9-161.1-47.9-223.9zM729 499c-12.2-3.6-20.5-6.1-14.1-22.1 13.8-34.7 15.2-64.7.3-86-28-40.1-104.8-37.9-192.8-1.1 0 0-27.6 12.1-20.6-9.8 13.5-43.5 11.5-79.9-9.6-101-47.7-47.8-174.6 1.8-283.5 110.6C127.3 471.1 80 557.5 80 632.2 80 775.1 263.2 862 442.5 862c235 0 391.3-136.5 391.3-245 0-65.5-55.2-102.6-104.8-118zM443 810.8c-143 14.1-266.5-50.5-275.8-144.5-9.3-93.9 99.2-181.5 242.2-195.6 143-14.2 266.5 50.5 275.8 144.4C694.4 709 586 796.6 443 810.8z`}}]},name:`weibo`,theme:`outlined`};function g8(){return g8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,g8({},e,{ref:t,icon:Eze}))),Oze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M433.6 595.1c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM467.6 736C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-58.1-46.7c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z`}}]},name:`weibo-square`,theme:`filled`};function _8(){return _8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,_8({},e,{ref:t,icon:Oze}))),Aze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M433.6 595.1c-14.2-5.9-32.4.2-41.2 13.9-8.8 13.8-4.7 30.2 9.3 36.6 14.3 6.5 33.2.3 42-13.8 8.8-14.3 4.2-30.6-10.1-36.7zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM467.6 736C353.1 736 236 680.4 236 588.9c0-47.8 30.2-103.1 82.3-155.3 69.5-69.6 150.6-101.4 181.1-70.8 13.5 13.5 14.8 36.8 6.1 64.6-4.5 14 13.1 6.3 13.1 6.3 56.2-23.6 105.2-25 123.1.7 9.6 13.7 8.6 32.8-.2 55.1-4.1 10.2 1.3 11.8 9 14.1 31.7 9.8 66.9 33.6 66.9 75.5.2 69.5-99.7 156.9-249.8 156.9zm207.3-290.8a34.9 34.9 0 00-7.2-34.1 34.68 34.68 0 00-33.1-10.7 18.24 18.24 0 01-7.6-35.7c24.1-5.1 50.1 2.3 67.7 21.9 17.7 19.6 22.4 46.3 14.9 69.8a18.13 18.13 0 01-22.9 11.7 18.18 18.18 0 01-11.8-22.9zm106 34.3s0 .1 0 0a21.1 21.1 0 01-26.6 13.7 21.19 21.19 0 01-13.6-26.7c11-34.2 4-73.2-21.7-101.8a104.04 104.04 0 00-98.9-32.1 21.14 21.14 0 01-25.1-16.3 21.07 21.07 0 0116.2-25.1c49.4-10.5 102.8 4.8 139.1 45.1 36.3 40.2 46.1 95.1 30.6 143.2zm-334.5 6.1c-91.4 9-160.7 65.1-154.7 125.2 5.9 60.1 84.8 101.5 176.2 92.5 91.4-9.1 160.7-65.1 154.7-125.3-5.9-60.1-84.8-101.5-176.2-92.4zm80.2 141.7c-18.7 42.3-72.3 64.8-117.8 50.1-43.9-14.2-62.5-57.7-43.3-96.8 18.9-38.4 68-60.1 111.5-48.8 45 11.7 68 54.2 49.6 95.5zm-58.1-46.7c-5.4-2.2-12.2.5-15.4 5.8-3.1 5.4-1.4 11.5 4.1 13.8 5.5 2.3 12.6-.3 15.8-5.8 3-5.6 1-11.8-4.5-13.8z`}}]},name:`weibo-square`,theme:`outlined`};function v8(){return v8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,v8({},e,{ref:t,icon:Aze}))),Mze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M713.5 599.9c-10.9-5.6-65.2-32.2-75.3-35.8-10.1-3.8-17.5-5.6-24.8 5.6-7.4 11.1-28.4 35.8-35 43.3-6.4 7.4-12.9 8.3-23.8 2.8-64.8-32.4-107.3-57.8-150-131.1-11.3-19.5 11.3-18.1 32.4-60.2 3.6-7.4 1.8-13.7-1-19.3-2.8-5.6-24.8-59.8-34-81.9-8.9-21.5-18.1-18.5-24.8-18.9-6.4-.4-13.7-.4-21.1-.4-7.4 0-19.3 2.8-29.4 13.7-10.1 11.1-38.6 37.8-38.6 92s39.5 106.7 44.9 114.1c5.6 7.4 77.7 118.6 188.4 166.5 70 30.2 97.4 32.8 132.4 27.6 21.3-3.2 65.2-26.6 74.3-52.5 9.1-25.8 9.1-47.9 6.4-52.5-2.7-4.9-10.1-7.7-21-13z`}},{tag:`path`,attrs:{d:`M925.2 338.4c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z`}}]},name:`whats-app`,theme:`outlined`};function y8(){return y8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,y8({},e,{ref:t,icon:Mze}))),Pze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z`}}]},name:`wifi`,theme:`outlined`};function b8(){return b8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,b8({},e,{ref:t,icon:Pze}))),Ize={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M523.8 191.4v288.9h382V128.1zm0 642.2l382 62.2v-352h-382zM120.1 480.2H443V201.9l-322.9 53.5zm0 290.4L443 823.2V543.8H120.1z`}}]},name:`windows`,theme:`filled`};function x8(){return x8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,x8({},e,{ref:t,icon:Ize}))),Rze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M120.1 770.6L443 823.2V543.8H120.1v226.8zm63.4-163.5h196.2v141.6l-196.2-31.9V607.1zm340.3 226.5l382 62.2v-352h-382v289.8zm63.4-226.5h255.3v214.4l-255.3-41.6V607.1zm-63.4-415.7v288.8h382V128.1l-382 63.3zm318.7 225.5H587.3V245l255.3-42.3v214.2zm-722.4 63.3H443V201.9l-322.9 53.5v224.8zM183.5 309l196.2-32.5v140.4H183.5V309z`}}]},name:`windows`,theme:`outlined`};function S8(){return S8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,S8({},e,{ref:t,icon:Rze}))),Bze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M712.8 548.8c53.6-53.6 83.2-125 83.2-200.8 0-75.9-29.5-147.2-83.2-200.8C659.2 93.6 587.8 64 512 64s-147.2 29.5-200.8 83.2C257.6 200.9 228 272.1 228 348c0 63.8 20.9 124.4 59.4 173.9 7.3 9.4 15.2 18.3 23.7 26.9 8.5 8.5 17.5 16.4 26.8 23.7 39.6 30.8 86.3 50.4 136.1 57V736H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h114v140c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V812h114c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H550V629.5c61.5-8.2 118.2-36.1 162.8-80.7zM512 556c-55.6 0-107.7-21.6-147.1-60.9C325.6 455.8 304 403.6 304 348s21.6-107.7 60.9-147.1C404.2 161.5 456.4 140 512 140s107.7 21.6 147.1 60.9C698.4 240.2 720 292.4 720 348s-21.6 107.7-60.9 147.1C619.7 534.4 567.6 556 512 556z`}}]},name:`woman`,theme:`outlined`};function C8(){return C8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,C8({},e,{ref:t,icon:Bze}))),Hze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`g`,attrs:{"fill-rule":`evenodd`},children:[{tag:`path`,attrs:{d:`M823.11 912H200.9A88.9 88.9 0 01112 823.11V200.9A88.9 88.9 0 01200.89 112H823.1A88.9 88.9 0 01912 200.89V823.1A88.9 88.9 0 01823.11 912`}},{tag:`path`,attrs:{d:`M740 735H596.94L286 291h143.06zm-126.01-37.65h56.96L412 328.65h-56.96z`,"fill-rule":`nonzero`}},{tag:`path`,attrs:{d:`M331.3 735L491 549.73 470.11 522 286 735zM521 460.39L541.21 489 715 289h-44.67z`,"fill-rule":`nonzero`}}]}]},name:`x`,theme:`filled`};function w8(){return w8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,w8({},e,{ref:t,icon:Hze}))),Wze={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M921 912L601.11 445.75l.55.43L890.08 112H793.7L558.74 384 372.15 112H119.37l298.65 435.31-.04-.04L103 912h96.39L460.6 609.38 668.2 912zM333.96 184.73l448.83 654.54H706.4L257.2 184.73z`}}]},name:`x`,theme:`outlined`};function T8(){return T8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,T8({},e,{ref:t,icon:Wze}))),Kze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M937.3 231H824.7c-15.5 0-27.7 12.6-27.1 28.1l13.1 366h84.4l65.4-366.4c2.7-15.2-7.8-27.7-23.2-27.7zm-77.4 450.4h-14.1c-27.1 0-49.2 22.2-49.2 49.3v14.1c0 27.1 22.2 49.3 49.2 49.3h14.1c27.1 0 49.2-22.2 49.2-49.3v-14.1c0-27.1-22.2-49.3-49.2-49.3zM402.6 231C216.2 231 65 357 65 512.5S216.2 794 402.6 794s337.6-126 337.6-281.5S589.1 231 402.6 231zm225.2 225.2h-65.3L458.9 559.8v65.3h84.4v56.3H318.2v-56.3h84.4v-65.3L242.9 399.9h-37v-56.3h168.5v56.3h-37l93.4 93.5 28.1-28.1V400h168.8v56.2z`}}]},name:`yahoo`,theme:`filled`};function E8(){return E8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,E8({},e,{ref:t,icon:Kze}))),Jze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M859.9 681.4h-14.1c-27.1 0-49.2 22.2-49.2 49.3v14.1c0 27.1 22.2 49.3 49.2 49.3h14.1c27.1 0 49.2-22.2 49.2-49.3v-14.1c0-27.1-22.2-49.3-49.2-49.3zM402.6 231C216.2 231 65 357 65 512.5S216.2 794 402.6 794s337.6-126 337.6-281.5S589.1 231 402.6 231zm0 507C245.1 738 121 634.6 121 512.5c0-62.3 32.3-119.7 84.9-161v48.4h37l159.8 159.9v65.3h-84.4v56.3h225.1v-56.3H459v-65.3l103.5-103.6h65.3v-56.3H459v65.3l-28.1 28.1-93.4-93.5h37v-56.3H216.4c49.4-35 114.3-56.6 186.2-56.6 157.6 0 281.6 103.4 281.6 225.5S560.2 738 402.6 738zm534.7-507H824.7c-15.5 0-27.7 12.6-27.1 28.1l13.1 366h84.4l65.4-366.4c2.7-15.2-7.8-27.7-23.2-27.7z`}}]},name:`yahoo`,theme:`outlined`};function D8(){return D8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,D8({},e,{ref:t,icon:Jze}))),Xze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M941.3 296.1a112.3 112.3 0 00-79.2-79.3C792.2 198 512 198 512 198s-280.2 0-350.1 18.7A112.12 112.12 0 0082.7 296C64 366 64 512 64 512s0 146 18.7 215.9c10.3 38.6 40.7 69 79.2 79.3C231.8 826 512 826 512 826s280.2 0 350.1-18.8c38.6-10.3 68.9-40.7 79.2-79.3C960 658 960 512 960 512s0-146-18.7-215.9zM423 646V378l232 133-232 135z`}}]},name:`youtube`,theme:`filled`};function O8(){return O8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,O8({},e,{ref:t,icon:Xze}))),Qze={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M960 509.2c0-2.2 0-4.7-.1-7.6-.1-8.1-.3-17.2-.5-26.9-.8-27.9-2.2-55.7-4.4-81.9-3-36.1-7.4-66.2-13.4-88.8a139.52 139.52 0 00-98.3-98.5c-28.3-7.6-83.7-12.3-161.7-15.2-37.1-1.4-76.8-2.3-116.5-2.8-13.9-.2-26.8-.3-38.4-.4h-29.4c-11.6.1-24.5.2-38.4.4-39.7.5-79.4 1.4-116.5 2.8-78 3-133.5 7.7-161.7 15.2A139.35 139.35 0 0082.4 304C76.3 326.6 72 356.7 69 392.8c-2.2 26.2-3.6 54-4.4 81.9-.3 9.7-.4 18.8-.5 26.9 0 2.9-.1 5.4-.1 7.6v5.6c0 2.2 0 4.7.1 7.6.1 8.1.3 17.2.5 26.9.8 27.9 2.2 55.7 4.4 81.9 3 36.1 7.4 66.2 13.4 88.8 12.8 47.9 50.4 85.7 98.3 98.5 28.2 7.6 83.7 12.3 161.7 15.2 37.1 1.4 76.8 2.3 116.5 2.8 13.9.2 26.8.3 38.4.4h29.4c11.6-.1 24.5-.2 38.4-.4 39.7-.5 79.4-1.4 116.5-2.8 78-3 133.5-7.7 161.7-15.2 47.9-12.8 85.5-50.5 98.3-98.5 6.1-22.6 10.4-52.7 13.4-88.8 2.2-26.2 3.6-54 4.4-81.9.3-9.7.4-18.8.5-26.9 0-2.9.1-5.4.1-7.6v-5.6zm-72 5.2c0 2.1 0 4.4-.1 7.1-.1 7.8-.3 16.4-.5 25.7-.7 26.6-2.1 53.2-4.2 77.9-2.7 32.2-6.5 58.6-11.2 76.3-6.2 23.1-24.4 41.4-47.4 47.5-21 5.6-73.9 10.1-145.8 12.8-36.4 1.4-75.6 2.3-114.7 2.8-13.7.2-26.4.3-37.8.3h-28.6l-37.8-.3c-39.1-.5-78.2-1.4-114.7-2.8-71.9-2.8-124.9-7.2-145.8-12.8-23-6.2-41.2-24.4-47.4-47.5-4.7-17.7-8.5-44.1-11.2-76.3-2.1-24.7-3.4-51.3-4.2-77.9-.3-9.3-.4-18-.5-25.7 0-2.7-.1-5.1-.1-7.1v-4.8c0-2.1 0-4.4.1-7.1.1-7.8.3-16.4.5-25.7.7-26.6 2.1-53.2 4.2-77.9 2.7-32.2 6.5-58.6 11.2-76.3 6.2-23.1 24.4-41.4 47.4-47.5 21-5.6 73.9-10.1 145.8-12.8 36.4-1.4 75.6-2.3 114.7-2.8 13.7-.2 26.4-.3 37.8-.3h28.6l37.8.3c39.1.5 78.2 1.4 114.7 2.8 71.9 2.8 124.9 7.2 145.8 12.8 23 6.2 41.2 24.4 47.4 47.5 4.7 17.7 8.5 44.1 11.2 76.3 2.1 24.7 3.4 51.3 4.2 77.9.3 9.3.4 18 .5 25.7 0 2.7.1 5.1.1 7.1v4.8zM423 646l232-135-232-133z`}}]},name:`youtube`,theme:`outlined`};function k8(){return k8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,k8({},e,{ref:t,icon:Qze}))),eBe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.9-8.1-195-3-195-3s87.4 55.6 52.4 154.7c-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6z`}}]},name:`yuque`,theme:`filled`};function A8(){return A8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,A8({},e,{ref:t,icon:eBe}))),nBe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 370.6c-9.9-39.4 9.9-102.2 73.4-124.4l-67.9-3.6s-25.7-90-143.6-98c-117.8-8.1-194.9-3-195-3 .1 0 87.4 55.6 52.4 154.7-25.6 52.5-65.8 95.6-108.8 144.7-1.3 1.3-2.5 2.6-3.5 3.7C319.4 605 96 860 96 860c245.9 64.4 410.7-6.3 508.2-91.1 20.5-.2 35.9-.3 46.3-.3 135.8 0 250.6-117.6 245.9-248.4-3.2-89.9-31.9-110.2-41.8-149.6zm-204.1 334c-10.6 0-26.2.1-46.8.3l-23.6.2-17.8 15.5c-47.1 41-104.4 71.5-171.4 87.6-52.5 12.6-110 16.2-172.7 9.6 18-20.5 36.5-41.6 55.4-63.1 92-104.6 173.8-197.5 236.9-268.5l1.4-1.4 1.3-1.5c4.1-4.6 20.6-23.3 24.7-28.1 9.7-11.1 17.3-19.9 24.5-28.6 30.7-36.7 52.2-67.8 69-102.2l1.6-3.3 1.2-3.4c13.7-38.8 15.4-76.9 6.2-112.8 22.5.7 46.5 1.9 71.7 3.6 33.3 2.3 55.5 12.9 71.1 29.2 5.8 6 10.2 12.5 13.4 18.7 1 2 1.7 3.6 2.3 5l5 17.7c-15.7 34.5-19.9 73.3-11.4 107.2 3 11.8 6.9 22.4 12.3 34.4 2.1 4.7 9.5 20.1 11 23.3 10.3 22.7 15.4 43 16.7 78.7 3.3 94.6-82.7 181.9-182 181.9z`}}]},name:`yuque`,theme:`outlined`};function j8(){return j8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,j8({},e,{ref:t,icon:nBe}))),iBe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-90.7 477.8l-.1 1.5c-1.5 20.4-6.3 43.9-12.9 67.6l24-18.1 71 80.7c9.2 33-3.3 63.1-3.3 63.1l-95.7-111.9v-.1c-8.9 29-20.1 57.3-33.3 84.7-22.6 45.7-55.2 54.7-89.5 57.7-34.4 3-23.3-5.3-23.3-5.3 68-55.5 78-87.8 96.8-123.1 11.9-22.3 20.4-64.3 25.3-96.8H264.1s4.8-31.2 19.2-41.7h101.6c.6-15.3-1.3-102.8-2-131.4h-49.4c-9.2 45-41 56.7-48.1 60.1-7 3.4-23.6 7.1-21.1 0 2.6-7.1 27-46.2 43.2-110.7 16.3-64.6 63.9-62 63.9-62-12.8 22.5-22.4 73.6-22.4 73.6h159.7c10.1 0 10.6 39 10.6 39h-90.8c-.7 22.7-2.8 83.8-5 131.4H519s12.2 15.4 12.2 41.7H421.3zm346.5 167h-87.6l-69.5 46.6-16.4-46.6h-40.1V321.5h213.6v387.3zM408.2 611s0-.1 0 0zm216 94.3l56.8-38.1h45.6-.1V364.7H596.7v302.5h14.1z`}}]},name:`zhihu-circle`,theme:`filled`};function M8(){return M8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,M8({},e,{ref:t,icon:iBe}))),oBe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M564.7 230.1V803h60l25.2 71.4L756.3 803h131.5V230.1H564.7zm247.7 497h-59.9l-75.1 50.4-17.8-50.4h-18V308.3h170.7v418.8zM526.1 486.9H393.3c2.1-44.9 4.3-104.3 6.6-172.9h130.9l-.1-8.1c0-.6-.2-14.7-2.3-29.1-2.1-15-6.6-34.9-21-34.9H287.8c4.4-20.6 15.7-69.7 29.4-93.8l6.4-11.2-12.9-.7c-.8 0-19.6-.9-41.4 10.6-35.7 19-51.7 56.4-58.7 84.4-18.4 73.1-44.6 123.9-55.7 145.6-3.3 6.4-5.3 10.2-6.2 12.8-1.8 4.9-.8 9.8 2.8 13 10.5 9.5 38.2-2.9 38.5-3 .6-.3 1.3-.6 2.2-1 13.9-6.3 55.1-25 69.8-84.5h56.7c.7 32.2 3.1 138.4 2.9 172.9h-141l-2.1 1.5c-23.1 16.9-30.5 63.2-30.8 65.2l-1.4 9.2h167c-12.3 78.3-26.5 113.4-34 127.4-3.7 7-7.3 14-10.7 20.8-21.3 42.2-43.4 85.8-126.3 153.6-3.6 2.8-7 8-4.8 13.7 2.4 6.3 9.3 9.1 24.6 9.1 5.4 0 11.8-.3 19.4-1 49.9-4.4 100.8-18 135.1-87.6 17-35.1 31.7-71.7 43.9-108.9L497 850l5-12c.8-1.9 19-46.3 5.1-95.9l-.5-1.8-108.1-123-22 16.6c6.4-26.1 10.6-49.9 12.5-71.1h158.7v-8c0-40.1-18.5-63.9-19.2-64.9l-2.4-3z`}}]},name:`zhihu`,theme:`outlined`};function N8(){return N8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,N8({},e,{ref:t,icon:oBe}))),cBe={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM432.3 592.8l71 80.7c9.2 33-3.3 63.1-3.3 63.1l-95.7-111.9v-.1c-8.9 29-20.1 57.3-33.3 84.7-22.6 45.7-55.2 54.7-89.5 57.7-34.4 3-23.3-5.3-23.3-5.3 68-55.5 78-87.8 96.8-123.1 11.9-22.3 20.4-64.3 25.3-96.8H264.1s4.8-31.2 19.2-41.7h101.6c.6-15.3-1.3-102.8-2-131.4h-49.4c-9.2 45-41 56.7-48.1 60.1-7 3.4-23.6 7.1-21.1 0 2.6-7.1 27-46.2 43.2-110.7 16.3-64.6 63.9-62 63.9-62-12.8 22.5-22.4 73.6-22.4 73.6h159.7c10.1 0 10.6 39 10.6 39h-90.8c-.7 22.7-2.8 83.8-5 131.4H519s12.2 15.4 12.2 41.7h-110l-.1 1.5c-1.5 20.4-6.3 43.9-12.9 67.6l24.1-18.1zm335.5 116h-87.6l-69.5 46.6-16.4-46.6h-40.1V321.5h213.6v387.3zM408.2 611s0-.1 0 0zm216 94.3l56.8-38.1h45.6-.1V364.7H596.7v302.5h14.1z`}}]},name:`zhihu-square`,theme:`filled`};function P8(){return P8=Object.assign?Object.assign.bind():function(e){for(var t=1;tC.createElement(Y,P8({},e,{ref:t,icon:cBe}))),F8=l(EB(),1);function I8(){return I8=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:n,component:r,viewBox:i,spin:a,rotate:o,tabIndex:s,onClick:c,children:l,...u}=e,d=C.useRef(null),f=tr(d,t);gl(!!(r||l),"Should have `component` prop or `children`."),wl(d);let{prefixCls:p=`anticon`,rootClassName:m}=C.useContext(dl),h=q(m,p,{[`${p}-spin`]:!!a&&!!r},n),g=q({[`${p}-spin`]:!!a}),_=o?{msTransform:`rotate(${o}deg)`,transform:`rotate(${o}deg)`}:void 0,v={...Sl,className:g,style:_,viewBox:i};i||delete v.viewBox;let y=()=>r?C.createElement(r,v,l):l?(gl(!!i||C.Children.count(l)===1&&C.isValidElement(l)&&C.Children.only(l).type===`use`,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),C.createElement(`svg`,I8({},v,{viewBox:i}),l)):null,b=s;return b===void 0&&c&&(b=-1),C.createElement(`span`,I8({role:`img`},u,{ref:f,tabIndex:b,onClick:c,className:h}),y())});function R8(){return R8=Object.assign?Object.assign.bind():function(e){for(var t=1;tt+1&&(r.onload=()=>{B8(e,t+1)},r.onerror=()=>{B8(e,t+1)}),z8.add(n),document.body.appendChild(r)}}function dBe(e={}){let{scriptUrl:t,extraCommonProps:n={}}=e;t&&typeof document<`u`&&typeof window<`u`&&typeof document.createElement==`function`&&B8(Array.isArray(t)?t.reverse():[t]);let r=C.forwardRef((e,t)=>{let{type:r,children:i,...a}=e,o=null;return e.type&&(o=C.createElement(`use`,{xlinkHref:`#${r}`})),i&&(o=i),C.createElement(L8,R8({},n,a,{ref:t}),o)});return r.displayName=`Iconfont`,r}var fBe=s({AccountBookFilled:()=>kB,AccountBookOutlined:()=>MB,AccountBookTwoTone:()=>FB,AimOutlined:()=>RB,AlertFilled:()=>VB,AlertOutlined:()=>WB,AlertTwoTone:()=>qB,AlibabaOutlined:()=>XB,AlignCenterOutlined:()=>$B,AlignLeftOutlined:()=>nV,AlignRightOutlined:()=>aV,AlipayCircleFilled:()=>cV,AlipayCircleOutlined:()=>dV,AlipayOutlined:()=>mV,AlipaySquareFilled:()=>_V,AliwangwangFilled:()=>bV,AliwangwangOutlined:()=>CV,AliyunOutlined:()=>EV,AmazonCircleFilled:()=>kV,AmazonOutlined:()=>MV,AmazonSquareFilled:()=>FV,AndroidFilled:()=>RV,AndroidOutlined:()=>VV,AntCloudOutlined:()=>WV,AntDesignOutlined:()=>qV,ApartmentOutlined:()=>XV,ApiFilled:()=>$V,ApiOutlined:()=>nH,ApiTwoTone:()=>aH,AppleFilled:()=>cH,AppleOutlined:()=>dH,AppstoreAddOutlined:()=>mH,AppstoreFilled:()=>_H,AppstoreOutlined:()=>bH,AppstoreTwoTone:()=>CH,AreaChartOutlined:()=>EH,ArrowDownOutlined:()=>kH,ArrowLeftOutlined:()=>MH,ArrowRightOutlined:()=>FH,ArrowUpOutlined:()=>RH,ArrowsAltOutlined:()=>VH,AudioFilled:()=>WH,AudioMutedOutlined:()=>qH,AudioOutlined:()=>XH,AudioTwoTone:()=>$H,AuditOutlined:()=>nU,BackwardFilled:()=>aU,BackwardOutlined:()=>cU,BaiduOutlined:()=>dU,BankFilled:()=>mU,BankOutlined:()=>_U,BankTwoTone:()=>bU,BarChartOutlined:()=>CU,BarcodeOutlined:()=>EU,BarsOutlined:()=>DS,BehanceCircleFilled:()=>kU,BehanceOutlined:()=>MU,BehanceSquareFilled:()=>FU,BehanceSquareOutlined:()=>RU,BellFilled:()=>VU,BellOutlined:()=>WU,BellTwoTone:()=>qU,BgColorsOutlined:()=>XU,BilibiliFilled:()=>$U,BilibiliOutlined:()=>nW,BlockOutlined:()=>aW,BoldOutlined:()=>cW,BookFilled:()=>dW,BookOutlined:()=>mW,BookTwoTone:()=>_W,BorderBottomOutlined:()=>bW,BorderHorizontalOutlined:()=>CW,BorderInnerOutlined:()=>EW,BorderLeftOutlined:()=>kW,BorderOuterOutlined:()=>MW,BorderOutlined:()=>FW,BorderRightOutlined:()=>RW,BorderTopOutlined:()=>VW,BorderVerticleOutlined:()=>WW,BorderlessTableOutlined:()=>qW,BoxPlotFilled:()=>XW,BoxPlotOutlined:()=>$W,BoxPlotTwoTone:()=>nG,BranchesOutlined:()=>aG,BugFilled:()=>cG,BugOutlined:()=>dG,BugTwoTone:()=>mG,BuildFilled:()=>_G,BuildOutlined:()=>bG,BuildTwoTone:()=>CG,BulbFilled:()=>EG,BulbOutlined:()=>kG,BulbTwoTone:()=>MG,CalculatorFilled:()=>FG,CalculatorOutlined:()=>RG,CalculatorTwoTone:()=>VG,CalendarFilled:()=>WG,CalendarOutlined:()=>iM,CalendarTwoTone:()=>qG,CameraFilled:()=>XG,CameraOutlined:()=>$G,CameraTwoTone:()=>nK,CarFilled:()=>aK,CarOutlined:()=>cK,CarTwoTone:()=>dK,CaretDownFilled:()=>$I,CaretDownOutlined:()=>CL,CaretLeftFilled:()=>mK,CaretLeftOutlined:()=>_K,CaretRightFilled:()=>bK,CaretRightOutlined:()=>CK,CaretUpFilled:()=>EK,CaretUpOutlined:()=>TL,CarryOutFilled:()=>kK,CarryOutOutlined:()=>MK,CarryOutTwoTone:()=>FK,CheckCircleFilled:()=>Nl,CheckCircleOutlined:()=>RK,CheckCircleTwoTone:()=>VK,CheckOutlined:()=>fb,CheckSquareFilled:()=>WK,CheckSquareOutlined:()=>qK,CheckSquareTwoTone:()=>XK,ChromeFilled:()=>$K,ChromeOutlined:()=>i_e,CiCircleFilled:()=>o_e,CiCircleOutlined:()=>c_e,CiCircleTwoTone:()=>u_e,CiOutlined:()=>f_e,CiTwoTone:()=>m_e,ClearOutlined:()=>g_e,ClockCircleFilled:()=>v_e,ClockCircleOutlined:()=>oM,ClockCircleTwoTone:()=>b_e,CloseCircleFilled:()=>Il,CloseCircleOutlined:()=>uq,CloseCircleTwoTone:()=>C_e,CloseOutlined:()=>zl,CloseSquareFilled:()=>T_e,CloseSquareOutlined:()=>D_e,CloseSquareTwoTone:()=>k_e,CloudDownloadOutlined:()=>j_e,CloudFilled:()=>N_e,CloudOutlined:()=>vq,CloudServerOutlined:()=>bq,CloudSyncOutlined:()=>L_e,CloudTwoTone:()=>z_e,CloudUploadOutlined:()=>V_e,ClusterOutlined:()=>U_e,CodeFilled:()=>G_e,CodeOutlined:()=>Dq,CodeSandboxCircleFilled:()=>J_e,CodeSandboxOutlined:()=>X_e,CodeSandboxSquareFilled:()=>Q_e,CodeTwoTone:()=>eve,CodepenCircleFilled:()=>nve,CodepenCircleOutlined:()=>ive,CodepenOutlined:()=>ove,CodepenSquareFilled:()=>cve,CoffeeOutlined:()=>Lq,ColumnHeightOutlined:()=>dve,ColumnWidthOutlined:()=>pve,CommentOutlined:()=>hve,CompassFilled:()=>_ve,CompassOutlined:()=>Uq,CompassTwoTone:()=>bve,CompressOutlined:()=>Sve,ConsoleSqlOutlined:()=>wve,ContactsFilled:()=>Eve,ContactsOutlined:()=>Ove,ContactsTwoTone:()=>Ave,ContainerFilled:()=>Mve,ContainerOutlined:()=>Pve,ContainerTwoTone:()=>Ive,ControlFilled:()=>Rve,ControlOutlined:()=>Bve,ControlTwoTone:()=>Hve,CopyFilled:()=>Wve,CopyOutlined:()=>QR,CopyTwoTone:()=>Kve,CopyrightCircleFilled:()=>Jve,CopyrightCircleOutlined:()=>Xve,CopyrightCircleTwoTone:()=>Qve,CopyrightOutlined:()=>eye,CopyrightTwoTone:()=>nye,CreditCardFilled:()=>iye,CreditCardOutlined:()=>oye,CreditCardTwoTone:()=>cye,CrownFilled:()=>uye,CrownOutlined:()=>mJ,CrownTwoTone:()=>pye,CustomerServiceFilled:()=>hye,CustomerServiceOutlined:()=>_ye,CustomerServiceTwoTone:()=>yye,DashOutlined:()=>xye,DashboardFilled:()=>Cye,DashboardOutlined:()=>SJ,DashboardTwoTone:()=>Eye,DatabaseFilled:()=>Oye,DatabaseOutlined:()=>EJ,DatabaseTwoTone:()=>jye,DeleteColumnOutlined:()=>Nye,DeleteFilled:()=>Fye,DeleteOutlined:()=>ER,DeleteRowOutlined:()=>Lye,DeleteTwoTone:()=>zye,DeliveredProcedureOutlined:()=>Vye,DeploymentUnitOutlined:()=>Uye,DesktopOutlined:()=>Gye,DiffFilled:()=>qye,DiffOutlined:()=>Yye,DiffTwoTone:()=>Zye,DingdingOutlined:()=>$ye,DingtalkCircleFilled:()=>tbe,DingtalkOutlined:()=>rbe,DingtalkSquareFilled:()=>abe,DisconnectOutlined:()=>sbe,DiscordFilled:()=>lbe,DiscordOutlined:()=>dbe,DislikeFilled:()=>pbe,DislikeOutlined:()=>hbe,DislikeTwoTone:()=>_be,DockerOutlined:()=>ybe,DollarCircleFilled:()=>xbe,DollarCircleOutlined:()=>Cbe,DollarCircleTwoTone:()=>Tbe,DollarOutlined:()=>$J,DollarTwoTone:()=>Obe,DotChartOutlined:()=>Abe,DotNetOutlined:()=>Mbe,DoubleLeftOutlined:()=>WN,DoubleRightOutlined:()=>KN,DownCircleFilled:()=>Pbe,DownCircleOutlined:()=>Ibe,DownCircleTwoTone:()=>Rbe,DownOutlined:()=>hb,DownSquareFilled:()=>Bbe,DownSquareOutlined:()=>Hbe,DownSquareTwoTone:()=>Wbe,DownloadOutlined:()=>dB,DragOutlined:()=>Kbe,DribbbleCircleFilled:()=>Jbe,DribbbleOutlined:()=>Xbe,DribbbleSquareFilled:()=>Qbe,DribbbleSquareOutlined:()=>exe,DropboxCircleFilled:()=>nxe,DropboxOutlined:()=>ixe,DropboxSquareFilled:()=>oxe,EditFilled:()=>cxe,EditOutlined:()=>kR,EditTwoTone:()=>uxe,EllipsisOutlined:()=>IS,EnterOutlined:()=>MR,EnvironmentFilled:()=>fxe,EnvironmentOutlined:()=>mxe,EnvironmentTwoTone:()=>gxe,EuroCircleFilled:()=>vxe,EuroCircleOutlined:()=>bxe,EuroCircleTwoTone:()=>Sxe,EuroOutlined:()=>wxe,EuroTwoTone:()=>Exe,ExceptionOutlined:()=>Oxe,ExclamationCircleFilled:()=>Hl,ExclamationCircleOutlined:()=>kY,ExclamationCircleTwoTone:()=>jxe,ExclamationOutlined:()=>Nxe,ExpandAltOutlined:()=>Fxe,ExpandOutlined:()=>Lxe,ExperimentFilled:()=>zxe,ExperimentOutlined:()=>IY,ExperimentTwoTone:()=>Hxe,ExportOutlined:()=>Wxe,EyeFilled:()=>Kxe,EyeInvisibleFilled:()=>Jxe,EyeInvisibleOutlined:()=>ON,EyeInvisibleTwoTone:()=>Xxe,EyeOutlined:()=>AN,EyeTwoTone:()=>Qxe,FacebookFilled:()=>eSe,FacebookOutlined:()=>nSe,FallOutlined:()=>iSe,FastBackwardFilled:()=>oSe,FastBackwardOutlined:()=>cSe,FastForwardFilled:()=>uSe,FastForwardOutlined:()=>fSe,FieldBinaryOutlined:()=>mSe,FieldNumberOutlined:()=>gSe,FieldStringOutlined:()=>vSe,FieldTimeOutlined:()=>bSe,FileAddFilled:()=>SSe,FileAddOutlined:()=>wSe,FileAddTwoTone:()=>ESe,FileDoneOutlined:()=>OSe,FileExcelFilled:()=>ASe,FileExcelOutlined:()=>MSe,FileExcelTwoTone:()=>PSe,FileExclamationFilled:()=>ISe,FileExclamationOutlined:()=>RSe,FileExclamationTwoTone:()=>BSe,FileFilled:()=>HSe,FileGifOutlined:()=>WSe,FileImageFilled:()=>KSe,FileImageOutlined:()=>mX,FileImageTwoTone:()=>YSe,FileJpgOutlined:()=>ZSe,FileMarkdownFilled:()=>$Se,FileMarkdownOutlined:()=>tCe,FileMarkdownTwoTone:()=>rCe,FileOutlined:()=>GI,FilePdfFilled:()=>aCe,FilePdfOutlined:()=>SX,FilePdfTwoTone:()=>cCe,FilePptFilled:()=>uCe,FilePptOutlined:()=>fCe,FilePptTwoTone:()=>mCe,FileProtectOutlined:()=>gCe,FileSearchOutlined:()=>vCe,FileSyncOutlined:()=>bCe,FileTextFilled:()=>SCe,FileTextOutlined:()=>PM,FileTextTwoTone:()=>wCe,FileTwoTone:()=>qz,FileUnknownFilled:()=>ECe,FileUnknownOutlined:()=>OCe,FileUnknownTwoTone:()=>ACe,FileWordFilled:()=>MCe,FileWordOutlined:()=>PCe,FileWordTwoTone:()=>ICe,FileZipFilled:()=>RCe,FileZipOutlined:()=>BCe,FileZipTwoTone:()=>HCe,FilterFilled:()=>NI,FilterOutlined:()=>HX,FilterTwoTone:()=>GCe,FireFilled:()=>qCe,FireOutlined:()=>KX,FireTwoTone:()=>XCe,FlagFilled:()=>QCe,FlagOutlined:()=>XX,FlagTwoTone:()=>twe,FolderAddFilled:()=>rwe,FolderAddOutlined:()=>awe,FolderAddTwoTone:()=>swe,FolderFilled:()=>lwe,FolderOpenFilled:()=>dwe,FolderOpenOutlined:()=>qI,FolderOpenTwoTone:()=>pwe,FolderOutlined:()=>YI,FolderTwoTone:()=>hwe,FolderViewOutlined:()=>_we,FontColorsOutlined:()=>ywe,FontSizeOutlined:()=>cZ,ForkOutlined:()=>Swe,FormOutlined:()=>wwe,FormatPainterFilled:()=>Ewe,FormatPainterOutlined:()=>Owe,ForwardFilled:()=>Awe,ForwardOutlined:()=>Mwe,FrownFilled:()=>Pwe,FrownOutlined:()=>Iwe,FrownTwoTone:()=>Rwe,FullscreenExitOutlined:()=>Bwe,FullscreenOutlined:()=>Hwe,FunctionOutlined:()=>Wwe,FundFilled:()=>Kwe,FundOutlined:()=>Jwe,FundProjectionScreenOutlined:()=>Xwe,FundTwoTone:()=>Qwe,FundViewOutlined:()=>eTe,FunnelPlotFilled:()=>nTe,FunnelPlotOutlined:()=>iTe,FunnelPlotTwoTone:()=>oTe,GatewayOutlined:()=>cTe,GifOutlined:()=>uTe,GiftFilled:()=>fTe,GiftOutlined:()=>NZ,GiftTwoTone:()=>hTe,GithubFilled:()=>_Te,GithubOutlined:()=>yTe,GitlabFilled:()=>xTe,GitlabOutlined:()=>CTe,GlobalOutlined:()=>BZ,GoldFilled:()=>ETe,GoldOutlined:()=>OTe,GoldTwoTone:()=>ATe,GoldenFilled:()=>MTe,GoogleCircleFilled:()=>PTe,GoogleOutlined:()=>ITe,GooglePlusCircleFilled:()=>RTe,GooglePlusOutlined:()=>BTe,GooglePlusSquareFilled:()=>HTe,GoogleSquareFilled:()=>WTe,GroupOutlined:()=>KTe,HarmonyOSOutlined:()=>JTe,HddFilled:()=>XTe,HddOutlined:()=>QTe,HddTwoTone:()=>eEe,HeartFilled:()=>nEe,HeartOutlined:()=>iQ,HeartTwoTone:()=>aEe,HeatMapOutlined:()=>sEe,HighlightFilled:()=>lEe,HighlightOutlined:()=>lQ,HighlightTwoTone:()=>fEe,HistoryOutlined:()=>fQ,HolderOutlined:()=>ZI,HomeFilled:()=>hEe,HomeOutlined:()=>hQ,HomeTwoTone:()=>vEe,HourglassFilled:()=>bEe,HourglassOutlined:()=>SEe,HourglassTwoTone:()=>wEe,Html5Filled:()=>EEe,Html5Outlined:()=>OEe,Html5TwoTone:()=>AEe,IconProvider:()=>pBe,IdcardFilled:()=>MEe,IdcardOutlined:()=>TQ,IdcardTwoTone:()=>FEe,IeCircleFilled:()=>LEe,IeOutlined:()=>zEe,IeSquareFilled:()=>VEe,ImportOutlined:()=>UEe,InboxOutlined:()=>GEe,InfoCircleFilled:()=>Gl,InfoCircleOutlined:()=>qEe,InfoCircleTwoTone:()=>YEe,InfoOutlined:()=>ZEe,InsertRowAboveOutlined:()=>$Ee,InsertRowBelowOutlined:()=>tDe,InsertRowLeftOutlined:()=>rDe,InsertRowRightOutlined:()=>aDe,InstagramFilled:()=>sDe,InstagramOutlined:()=>lDe,InsuranceFilled:()=>dDe,InsuranceOutlined:()=>pDe,InsuranceTwoTone:()=>hDe,InteractionFilled:()=>_De,InteractionOutlined:()=>yDe,InteractionTwoTone:()=>xDe,IssuesCloseOutlined:()=>CDe,ItalicOutlined:()=>TDe,JavaOutlined:()=>DDe,JavaScriptOutlined:()=>kDe,KeyOutlined:()=>jDe,KubernetesOutlined:()=>NDe,LaptopOutlined:()=>e$,LayoutFilled:()=>IDe,LayoutOutlined:()=>RDe,LayoutTwoTone:()=>BDe,LeftCircleFilled:()=>HDe,LeftCircleOutlined:()=>WDe,LeftCircleTwoTone:()=>KDe,LeftOutlined:()=>Tx,LeftSquareFilled:()=>JDe,LeftSquareOutlined:()=>XDe,LeftSquareTwoTone:()=>QDe,LikeFilled:()=>eOe,LikeOutlined:()=>nOe,LikeTwoTone:()=>iOe,LineChartOutlined:()=>m$,LineHeightOutlined:()=>sOe,LineOutlined:()=>lOe,LinkOutlined:()=>v$,LinkedinFilled:()=>fOe,LinkedinOutlined:()=>mOe,LinuxOutlined:()=>gOe,Loading3QuartersOutlined:()=>vOe,LoadingOutlined:()=>fm,LockFilled:()=>bOe,LockOutlined:()=>T$,LockTwoTone:()=>COe,LoginOutlined:()=>TOe,LogoutOutlined:()=>k$,MacCommandFilled:()=>OOe,MacCommandOutlined:()=>AOe,MailFilled:()=>MOe,MailOutlined:()=>P$,MailTwoTone:()=>FOe,ManOutlined:()=>LOe,MedicineBoxFilled:()=>zOe,MedicineBoxOutlined:()=>z$,MedicineBoxTwoTone:()=>HOe,MediumCircleFilled:()=>WOe,MediumOutlined:()=>KOe,MediumSquareFilled:()=>JOe,MediumWorkmarkOutlined:()=>XOe,MehFilled:()=>QOe,MehOutlined:()=>eke,MehTwoTone:()=>nke,MenuFoldOutlined:()=>ike,MenuOutlined:()=>X$,MenuUnfoldOutlined:()=>ske,MergeCellsOutlined:()=>lke,MergeFilled:()=>dke,MergeOutlined:()=>pke,MessageFilled:()=>hke,MessageOutlined:()=>r1,MessageTwoTone:()=>vke,MinusCircleFilled:()=>bke,MinusCircleOutlined:()=>s1,MinusCircleTwoTone:()=>Cke,MinusOutlined:()=>oj,MinusSquareFilled:()=>Tke,MinusSquareOutlined:()=>tL,MinusSquareTwoTone:()=>Dke,MobileFilled:()=>kke,MobileOutlined:()=>p1,MobileTwoTone:()=>Mke,MoneyCollectFilled:()=>Pke,MoneyCollectOutlined:()=>Ike,MoneyCollectTwoTone:()=>Rke,MonitorOutlined:()=>y1,MoonFilled:()=>Vke,MoonOutlined:()=>Uke,MoreOutlined:()=>C1,MutedFilled:()=>Kke,MutedOutlined:()=>Jke,NodeCollapseOutlined:()=>Xke,NodeExpandOutlined:()=>Qke,NodeIndexOutlined:()=>eAe,NotificationFilled:()=>nAe,NotificationOutlined:()=>iAe,NotificationTwoTone:()=>oAe,NumberOutlined:()=>cAe,OneToOneOutlined:()=>uAe,OpenAIFilled:()=>fAe,OpenAIOutlined:()=>mAe,OrderedListOutlined:()=>gAe,PaperClipOutlined:()=>Xz,PartitionOutlined:()=>vAe,PauseCircleFilled:()=>bAe,PauseCircleOutlined:()=>SAe,PauseCircleTwoTone:()=>wAe,PauseOutlined:()=>EAe,PayCircleFilled:()=>OAe,PayCircleOutlined:()=>W1,PercentageOutlined:()=>jAe,PhoneFilled:()=>NAe,PhoneOutlined:()=>J1,PhoneTwoTone:()=>IAe,PicCenterOutlined:()=>RAe,PicLeftOutlined:()=>BAe,PicRightOutlined:()=>HAe,PictureFilled:()=>WAe,PictureOutlined:()=>t0,PictureTwoTone:()=>$z,PieChartFilled:()=>qAe,PieChartOutlined:()=>i0,PieChartTwoTone:()=>XAe,PinterestFilled:()=>QAe,PinterestOutlined:()=>eje,PlayCircleFilled:()=>nje,PlayCircleOutlined:()=>u0,PlayCircleTwoTone:()=>aje,PlaySquareFilled:()=>sje,PlaySquareOutlined:()=>lje,PlaySquareTwoTone:()=>dje,PlusCircleFilled:()=>pje,PlusCircleOutlined:()=>hje,PlusCircleTwoTone:()=>_je,PlusOutlined:()=>uA,PlusSquareFilled:()=>yje,PlusSquareOutlined:()=>rL,PlusSquareTwoTone:()=>xje,PoundCircleFilled:()=>Cje,PoundCircleOutlined:()=>Tje,PoundCircleTwoTone:()=>Dje,PoundOutlined:()=>kje,PoweroffOutlined:()=>jje,PrinterFilled:()=>Nje,PrinterOutlined:()=>Fje,PrinterTwoTone:()=>Lje,ProductFilled:()=>zje,ProductOutlined:()=>Vje,ProfileFilled:()=>Uje,ProfileOutlined:()=>Gje,ProfileTwoTone:()=>qje,ProjectFilled:()=>Yje,ProjectOutlined:()=>F0,ProjectTwoTone:()=>Qje,PropertySafetyFilled:()=>eMe,PropertySafetyOutlined:()=>nMe,PropertySafetyTwoTone:()=>iMe,PullRequestOutlined:()=>oMe,PushpinFilled:()=>cMe,PushpinOutlined:()=>uMe,PushpinTwoTone:()=>fMe,PythonOutlined:()=>mMe,QqCircleFilled:()=>gMe,QqOutlined:()=>vMe,QqSquareFilled:()=>bMe,QrcodeOutlined:()=>SMe,QuestionCircleFilled:()=>wMe,QuestionCircleOutlined:()=>GM,QuestionCircleTwoTone:()=>EMe,QuestionOutlined:()=>OMe,RadarChartOutlined:()=>AMe,RadiusBottomleftOutlined:()=>MMe,RadiusBottomrightOutlined:()=>PMe,RadiusSettingOutlined:()=>IMe,RadiusUpleftOutlined:()=>RMe,RadiusUprightOutlined:()=>BMe,ReadFilled:()=>HMe,ReadOutlined:()=>o2,ReconciliationFilled:()=>GMe,ReconciliationOutlined:()=>qMe,ReconciliationTwoTone:()=>YMe,RedEnvelopeFilled:()=>ZMe,RedEnvelopeOutlined:()=>$Me,RedEnvelopeTwoTone:()=>tNe,RedditCircleFilled:()=>rNe,RedditOutlined:()=>aNe,RedditSquareFilled:()=>sNe,RedoOutlined:()=>lNe,ReloadOutlined:()=>zP,RestFilled:()=>dNe,RestOutlined:()=>y2,RestTwoTone:()=>mNe,RetweetOutlined:()=>gNe,RightCircleFilled:()=>vNe,RightCircleOutlined:()=>bNe,RightCircleTwoTone:()=>SNe,RightOutlined:()=>Ch,RightSquareFilled:()=>wNe,RightSquareOutlined:()=>ENe,RightSquareTwoTone:()=>ONe,RiseOutlined:()=>ANe,RobotFilled:()=>MNe,RobotOutlined:()=>j2,RocketFilled:()=>FNe,RocketOutlined:()=>P2,RocketTwoTone:()=>RNe,RollbackOutlined:()=>L2,RotateLeftOutlined:()=>pN,RotateRightOutlined:()=>hN,RubyOutlined:()=>VNe,SafetyCertificateFilled:()=>UNe,SafetyCertificateOutlined:()=>GNe,SafetyCertificateTwoTone:()=>qNe,SafetyOutlined:()=>U2,SaveFilled:()=>XNe,SaveOutlined:()=>K2,SaveTwoTone:()=>$Ne,ScanOutlined:()=>tPe,ScheduleFilled:()=>rPe,ScheduleOutlined:()=>aPe,ScheduleTwoTone:()=>sPe,ScissorOutlined:()=>lPe,SearchOutlined:()=>vb,SecurityScanFilled:()=>dPe,SecurityScanOutlined:()=>t4,SecurityScanTwoTone:()=>mPe,SelectOutlined:()=>gPe,SendOutlined:()=>a4,SettingFilled:()=>yPe,SettingOutlined:()=>c4,SettingTwoTone:()=>SPe,ShakeOutlined:()=>wPe,ShareAltOutlined:()=>EPe,ShopFilled:()=>OPe,ShopOutlined:()=>APe,ShopTwoTone:()=>MPe,ShoppingCartOutlined:()=>g4,ShoppingFilled:()=>FPe,ShoppingOutlined:()=>y4,ShoppingTwoTone:()=>RPe,ShrinkOutlined:()=>BPe,SignalFilled:()=>HPe,SignatureFilled:()=>WPe,SignatureOutlined:()=>KPe,SisternodeOutlined:()=>JPe,SketchCircleFilled:()=>XPe,SketchOutlined:()=>O4,SketchSquareFilled:()=>$Pe,SkinFilled:()=>tFe,SkinOutlined:()=>M4,SkinTwoTone:()=>iFe,SkypeFilled:()=>oFe,SkypeOutlined:()=>cFe,SlackCircleFilled:()=>uFe,SlackOutlined:()=>fFe,SlackSquareFilled:()=>mFe,SlackSquareOutlined:()=>gFe,SlidersFilled:()=>vFe,SlidersOutlined:()=>bFe,SlidersTwoTone:()=>SFe,SmallDashOutlined:()=>wFe,SmileFilled:()=>EFe,SmileOutlined:()=>K4,SmileTwoTone:()=>kFe,SnippetsFilled:()=>jFe,SnippetsOutlined:()=>NFe,SnippetsTwoTone:()=>FFe,SolutionOutlined:()=>Q4,SortAscendingOutlined:()=>RFe,SortDescendingOutlined:()=>BFe,SoundFilled:()=>HFe,SoundOutlined:()=>r3,SoundTwoTone:()=>GFe,SplitCellsOutlined:()=>qFe,SpotifyFilled:()=>YFe,SpotifyOutlined:()=>ZFe,StarFilled:()=>Eme,StarOutlined:()=>l3,StarTwoTone:()=>eIe,StepBackwardFilled:()=>nIe,StepBackwardOutlined:()=>iIe,StepForwardFilled:()=>oIe,StepForwardOutlined:()=>cIe,StockOutlined:()=>uIe,StopFilled:()=>fIe,StopOutlined:()=>v3,StopTwoTone:()=>hIe,StrikethroughOutlined:()=>_Ie,SubnodeOutlined:()=>yIe,SunFilled:()=>xIe,SunOutlined:()=>CIe,SwapLeftOutlined:()=>TIe,SwapOutlined:()=>_N,SwapRightOutlined:()=>Qj,SwitcherFilled:()=>DIe,SwitcherOutlined:()=>kIe,SwitcherTwoTone:()=>jIe,SyncOutlined:()=>NIe,TableOutlined:()=>FIe,TabletFilled:()=>LIe,TabletOutlined:()=>zIe,TabletTwoTone:()=>VIe,TagFilled:()=>UIe,TagOutlined:()=>F3,TagTwoTone:()=>KIe,TagsFilled:()=>JIe,TagsOutlined:()=>XIe,TagsTwoTone:()=>QIe,TaobaoCircleFilled:()=>eLe,TaobaoCircleOutlined:()=>nLe,TaobaoOutlined:()=>iLe,TaobaoSquareFilled:()=>oLe,TeamOutlined:()=>G3,ThunderboltFilled:()=>lLe,ThunderboltOutlined:()=>J3,ThunderboltTwoTone:()=>fLe,TikTokFilled:()=>mLe,TikTokOutlined:()=>gLe,ToTopOutlined:()=>vLe,ToolFilled:()=>bLe,ToolOutlined:()=>t6,ToolTwoTone:()=>CLe,TrademarkCircleFilled:()=>TLe,TrademarkCircleOutlined:()=>DLe,TrademarkCircleTwoTone:()=>kLe,TrademarkOutlined:()=>jLe,TransactionOutlined:()=>NLe,TranslationOutlined:()=>FLe,TrophyFilled:()=>LLe,TrophyOutlined:()=>d6,TrophyTwoTone:()=>BLe,TruckFilled:()=>HLe,TruckOutlined:()=>h6,TwitchFilled:()=>GLe,TwitchOutlined:()=>qLe,TwitterCircleFilled:()=>YLe,TwitterOutlined:()=>ZLe,TwitterSquareFilled:()=>$Le,UnderlineOutlined:()=>tRe,UndoOutlined:()=>C6,UngroupOutlined:()=>iRe,UnlockFilled:()=>oRe,UnlockOutlined:()=>cRe,UnlockTwoTone:()=>uRe,UnorderedListOutlined:()=>fRe,UpCircleFilled:()=>mRe,UpCircleOutlined:()=>gRe,UpCircleTwoTone:()=>vRe,UpOutlined:()=>cj,UpSquareFilled:()=>bRe,UpSquareOutlined:()=>SRe,UpSquareTwoTone:()=>wRe,UploadOutlined:()=>I6,UsbFilled:()=>DRe,UsbOutlined:()=>kRe,UsbTwoTone:()=>jRe,UserAddOutlined:()=>NRe,UserDeleteOutlined:()=>FRe,UserOutlined:()=>U6,UserSwitchOutlined:()=>RRe,UsergroupAddOutlined:()=>BRe,UsergroupDeleteOutlined:()=>HRe,VerifiedOutlined:()=>WRe,VerticalAlignBottomOutlined:()=>KRe,VerticalAlignMiddleOutlined:()=>JRe,VerticalAlignTopOutlined:()=>uie,VerticalLeftOutlined:()=>XRe,VerticalRightOutlined:()=>QRe,VideoCameraAddOutlined:()=>eze,VideoCameraFilled:()=>nze,VideoCameraOutlined:()=>t8,VideoCameraTwoTone:()=>aze,WalletFilled:()=>sze,WalletOutlined:()=>a8,WalletTwoTone:()=>uze,WarningFilled:()=>Ome,WarningOutlined:()=>fze,WarningTwoTone:()=>mze,WechatFilled:()=>gze,WechatOutlined:()=>d8,WechatWorkFilled:()=>yze,WechatWorkOutlined:()=>xze,WeiboCircleFilled:()=>Cze,WeiboCircleOutlined:()=>Tze,WeiboOutlined:()=>Dze,WeiboSquareFilled:()=>kze,WeiboSquareOutlined:()=>jze,WhatsAppOutlined:()=>Nze,WifiOutlined:()=>Fze,WindowsFilled:()=>Lze,WindowsOutlined:()=>zze,WomanOutlined:()=>Vze,XFilled:()=>Uze,XOutlined:()=>Gze,YahooFilled:()=>qze,YahooOutlined:()=>Yze,YoutubeFilled:()=>Zze,YoutubeOutlined:()=>$ze,YuqueFilled:()=>tBe,YuqueOutlined:()=>rBe,ZhihuCircleFilled:()=>aBe,ZhihuOutlined:()=>sBe,ZhihuSquareFilled:()=>lBe,ZoomInOutlined:()=>yN,ZoomOutOutlined:()=>xN,createFromIconfontCN:()=>dBe,default:()=>L8,getTwoToneColor:()=>Al,setTwoToneColor:()=>kl}),pBe=dl.Provider,V8=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},mBe=(e=>e?V8(e):V8),hBe=e=>e;function gBe(e,t=hBe){let n=C.useSyncExternalStore(e.subscribe,C.useCallback(()=>t(e.getState()),[e,t]),C.useCallback(()=>t(e.getInitialState()),[e,t]));return C.useDebugValue(n),n}var H8=e=>{let t=mBe(e),n=e=>gBe(t,e);return Object.assign(n,t),n},_Be=(e=>e?H8(e):H8),U8=`AES-GCM`,W8=12,G8=128;function K8(){return typeof window<`u`&&typeof crypto<`u`&&crypto.subtle!==void 0}async function q8(){throw Error(`VITE_ENCRYPTION_KEY not configured`)}async function vBe(e){if(!K8())throw Error(`Encryption not available in non-secure context`);let t=await q8(),n=crypto.getRandomValues(new Uint8Array(W8)),r=new TextEncoder().encode(e),i=await crypto.subtle.encrypt({name:U8,iv:n,tagLength:G8},t,r),a=new Uint8Array(i),o=new Uint8Array(n.length+a.length);return o.set(n),o.set(a,n.length),btoa(String.fromCharCode(...o))}async function yBe(e){if(!K8())throw Error(`Decryption not available in non-secure context`);let t=await q8(),n=Uint8Array.from(atob(e),e=>e.charCodeAt(0)),r=n.slice(0,W8),i=n.slice(W8),a=await crypto.subtle.decrypt({name:U8,iv:r,tagLength:G8},t,i);return new TextDecoder().decode(a)}var bBe=`http://ceshi.apiforeign.minzhong.cn`,J8=!1;function xBe(e){return e.replace(/_([a-z])/g,(e,t)=>t.toUpperCase())}function Y8(e){return Array.isArray(e)?e.map(Y8):typeof e==`object`&&e?e instanceof File||e instanceof Blob||e instanceof FormData?e:Object.fromEntries(Object.entries(e).map(([e,t])=>[xBe(e),Y8(t)])):e}function SBe(){return localStorage.getItem(`auth_token`)}function CBe(e){localStorage.setItem(`auth_token`,e)}function X8(){localStorage.removeItem(`auth_token`)}async function wBe(e){try{return await yBe(e)}catch{return null}}async function Z8(e,t={}){let{method:n=`GET`,body:r,auth:i=!0,encryptBody:a=J8}=t,o=typeof FormData<`u`&&r instanceof FormData,s={};if(o||(s[`Content-Type`]=`application/json`),i){let e=SBe();e&&(s.Authorization=`Bearer ${e}`)}let c;if(r!==void 0)if(o)c=r;else{let e=JSON.stringify(r);a?(s[`X-Encrypted`]=`true`,c=JSON.stringify({data:await vBe(e)})):c=e}let l=await fetch(`${bBe}/api${e}`,{method:n,headers:s,body:c});if(l.status===204)return;let u=await l.text();if(!u)return;let d;try{d=JSON.parse(u)}catch{throw Error(`响应解析失败 (${l.status})`)}if(d&&typeof d.data==`string`&&a&&!o){let e=await wBe(d.data);e!==null&&(d=JSON.parse(e))}if(!l.ok){let e=d?.detail||d?.message||`请求失败 (${l.status})`,t=typeof e==`string`?e:JSON.stringify(e);throw l.status===401&&(X8(),window.location.pathname!==`/login`&&(window.location.href=`/login`)),Error(t)}return Y8(d)}var Q8={get:(e,t=!0)=>Z8(e,{auth:t}),post:(e,t,n=!0)=>Z8(e,{method:`POST`,body:t,auth:n,encryptBody:t instanceof FormData?!1:J8}),put:(e,t,n=!0)=>Z8(e,{method:`PUT`,body:t,auth:n,encryptBody:t instanceof FormData?!1:J8}),delete:(e,t=!0)=>Z8(e,{method:`DELETE`,auth:t})};async function TBe(e,t,n,r){let i=await Q8.post(`/auth/admin-login`,{username:e,password:t,captcha_token:n,remember_me:r||!1},!1);return CBe(i.accessToken),i.user}async function EBe(){await Q8.post(`/auth/logout`),X8()}async function DBe(){try{return await Q8.get(`/auth/me`)}catch{return null}}async function $8(e,t){let n={};e&&(n.start_date=e),t&&(n.end_date=t);let r=new URLSearchParams(n).toString();return Q8.get(`/admin/stats${r?`?${r}`:``}`)}async function e5(e=1,t=20,n,r,i,a){let o=new URLSearchParams;return o.set(`page`,String(e)),o.set(`page_size`,String(t)),n&&o.set(`search`,n),r&&o.set(`user_type`,r),i&&o.set(`frontend_user_kind`,i),a&&o.set(`team_id`,a),Q8.get(`/admin/users?${o.toString()}`)}async function OBe(e,t){return Q8.put(`/admin/users/${e}/frontend-kind`,{frontend_user_kind:t})}async function kBe(e,t){return Q8.put(`/admin/users/${e}/team`,{team_id:t})}async function ABe(e){let t=new URLSearchParams;a5(t,`page`,e?.page),a5(t,`page_size`,e?.pageSize),a5(t,`keyword`,e?.keyword),a5(t,`status`,e?.status);let n=t.toString()?`?${t}`:``;return Q8.get(`/admin/teams${n}`)}async function t5(e=!0){return Q8.get(`/admin/teams/options?include_disabled=${e?`true`:`false`}`)}async function jBe(e){let t={name:e.name,code:e.code||null,description:e.description||null,status:e.status||`active`,sort_order:e.sort_order??0};return e.id?Q8.put(`/admin/teams/${e.id}`,t):Q8.post(`/admin/teams`,t)}async function MBe(e){await Q8.delete(`/admin/teams/${e}`)}async function NBe(e,t){return Q8.put(`/admin/teams/${e}/manager`,{user_id:t})}async function PBe(e,t=1,n=50){let r=new URLSearchParams;return r.set(`page`,String(t)),r.set(`page_size`,String(n)),r.set(`user_type`,`frontend`),r.set(`team_id`,e),Q8.get(`/admin/users?${r.toString()}`)}async function FBe(e,t,n){await Q8.post(`/admin/users/${e}/credits`,{amount:t,description:n})}async function IBe(e,t){await Q8.put(`/admin/users/${e}/status`,{is_active:t})}async function LBe(){return Q8.get(`/admin/model-configs`)}async function n5(e){return e.id?Q8.put(`/admin/model-configs/${e.id}`,e):Q8.post(`/admin/model-configs`,e)}async function RBe(e){await Q8.delete(`/admin/model-configs/${e}`)}async function r5(){return Q8.get(`/admin/system-configs`)}async function i5(e,t){await Q8.put(`/admin/system-configs/${e}`,{value:t})}async function zBe(){return Q8.get(`/admin/resource-capacity/global`)}async function BBe(e){return Q8.put(`/admin/resource-capacity/global`,{enabled:e.enabled,limit_value:e.limitValue??null,limit_unit:e.limitUnit??null})}async function VBe(e){return Q8.get(`/admin/users/${e}/resource-capacity`)}async function HBe(e,t){return Q8.put(`/admin/users/${e}/resource-capacity`,{enabled:t.enabled,limit_value:t.limitValue??null,limit_unit:t.limitUnit??null})}async function UBe(e){return Q8.delete(`/admin/users/${e}/resource-capacity`)}async function WBe(e,t){let n=new FormData;n.append(`file`,e),n.append(`config_key`,t);let r=localStorage.getItem(`auth_token`),i=await fetch(`http://ceshi.apiforeign.minzhong.cn/api/admin/upload-pdf`,{method:`POST`,headers:r?{Authorization:`Bearer ${r}`}:{},body:n});if(!i.ok){let e=await i.text();throw Error(e||`上传失败`)}return i.json()}async function GBe(e){let t=new FormData;t.append(`file`,e);let n=localStorage.getItem(`auth_token`),r=await fetch(`http://ceshi.apiforeign.minzhong.cn/api/admin/upload-logo`,{method:`POST`,headers:n?{Authorization:`Bearer ${n}`}:{},body:t});if(!r.ok){let e=await r.text();throw Error(e||`上传失败`)}return r.json()}function a5(e,t,n){n!=null&&String(n)!==``&&e.set(t,String(n))}async function o5(e){let t=new URLSearchParams;a5(t,`page`,e?.page),a5(t,`page_size`,e?.pageSize),a5(t,`user_id`,e?.userId),a5(t,`user_name`,e?.userName),a5(t,`user_type`,e?.userType),a5(t,`frontend_user_kind`,e?.frontendUserKind),a5(t,`team_id`,e?.teamId),a5(t,`record_type`,e?.recordType||e?.type),a5(t,`credit_subject`,e?.creditSubject),a5(t,`media_type`,e?.mediaType),a5(t,`charge_kind`,e?.chargeKind),a5(t,`source_module`,e?.sourceModule),a5(t,`source_step_code`,e?.sourceStepCode),a5(t,`billing_scene`,e?.billingScene),a5(t,`start_date`,e?.startDate),a5(t,`end_date`,e?.endDate);let n=t.toString()?`?${t}`:``;return Q8.get(`/admin/credit-records${n}`)}async function KBe(){return Q8.get(`/admin/industry-configs`)}async function s5(e){return e.id?Q8.put(`/admin/industry-configs/${e.id}`,e):Q8.post(`/admin/industry-configs`,e)}async function qBe(e){await Q8.delete(`/admin/industry-configs/${e}`)}async function JBe(){return Q8.get(`/admin/video-engines`)}async function c5(e){return e.id?Q8.put(`/admin/video-engines/${e.id}`,e):Q8.post(`/admin/video-engines`,e)}async function YBe(e){await Q8.delete(`/admin/video-engines/${e}`)}async function XBe(){return Q8.get(`/admin/image-engines`)}async function l5(e){return e.id?Q8.put(`/admin/image-engines/${e.id}`,e):Q8.post(`/admin/image-engines`,e)}async function ZBe(e){await Q8.delete(`/admin/image-engines/${e}`)}async function QBe(){return Q8.get(`/admin/credit-ratios`)}async function u5(e){return e.id?Q8.put(`/admin/credit-ratios/${e.id}`,e):Q8.post(`/admin/credit-ratios`,e)}async function $Be(e){await Q8.delete(`/admin/credit-ratios/${e}`)}async function eVe(){return Q8.get(`/admin/payment-configs`)}async function tVe(e){await Q8.put(`/admin/payment-configs/batch`,e)}async function nVe(e){let t=new URLSearchParams;e?.paymentMethod&&t.set(`payment_method`,e.paymentMethod),e?.status&&t.set(`status`,e.status),e?.startDate&&t.set(`start_date`,e.startDate),e?.endDate&&t.set(`end_date`,e.endDate);let n=t.toString(),r=n?`/admin/payment-stats?${n}`:`/admin/payment-stats`;return Q8.get(r)}async function rVe(e){let t=new URLSearchParams;return e?.method&&t.set(`payment_method`,e.method),e?.status&&t.set(`status`,e.status),e?.startDate&&t.set(`start_date`,e.startDate),e?.endDate&&t.set(`end_date`,e.endDate),e?.page&&t.set(`page`,String(e.page)),e?.pageSize&&t.set(`page_size`,String(e.pageSize)),Q8.get(`/admin/payment-orders?${t.toString()}`)}async function iVe(e){await Q8.post(`/admin/payment-orders/${e}/refund`)}async function aVe(e=1,t=20){let n=new URLSearchParams;return n.set(`page`,String(e)),n.set(`page_size`,String(t)),Q8.get(`/admin/notifications?${n.toString()}`)}async function oVe(e){await Q8.post(`/admin/notifications`,e)}async function sVe(e){await Q8.delete(`/admin/notifications/${e}`)}async function cVe(e){return Q8.get(`/admin/notifications/${e}/read-users`)}async function d5(){return Q8.get(`/admin/menu-configs`)}async function f5(e){return e.id?Q8.put(`/admin/menu-configs/${e.id}`,e):Q8.post(`/admin/menu-configs`,e)}async function lVe(e){await Q8.delete(`/admin/menu-configs/${e}`)}async function uVe(e){return Q8.post(`/admin/users`,e)}async function dVe(e,t){await Q8.put(`/admin/users/${e}/menus`,{allowed_menus:t})}async function fVe(e,t){await Q8.put(`/admin/users/${e}/reset-password`,{new_password:t})}async function pVe(e,t){await Q8.post(`/admin/change-password`,{old_password:e,new_password:t})}async function p5(){return Q8.get(`/auth/site-info`,!1)}async function mVe(){return Q8.get(`/admin/recharge-packages`)}async function m5(e){return e.id?Q8.put(`/admin/recharge-packages/${e.id}`,e):Q8.post(`/admin/recharge-packages`,e)}async function hVe(e){await Q8.delete(`/admin/recharge-packages/${e}`)}async function gVe(e){let t=e?`?page=${e}`:``;return Q8.get(`/admin/operation-logs${t}`)}async function _Ve(e){let t=e?`?page=${e}`:``;return Q8.get(`/admin/user-oauth-apps/list${t}`)}async function vVe(e){return Q8.post(`/admin/user-oauth-apps/create`,e)}async function h5(e){return Q8.get(`/admin/user-oauth-apps/read/${e}`)}async function yVe(e,t){return Q8.post(`/admin/user-oauth-apps/update/${e}`,t)}async function bVe(e){await Q8.get(`/admin/user-oauth-apps/delete/${e}`)}async function xVe(e){let t=new URLSearchParams;e?.page&&t.set(`page`,String(e.page)),e?.page_size&&t.set(`page_size`,String(e.page_size)),e?.type_name&&t.set(`type_name`,e.type_name),e?.open_type&&t.set(`open_type`,String(e.open_type));let n=t.toString();return Q8.get(`/open-type/list${n?`?${n}`:``}`)}async function g5(e){return Q8.get(`/open-type/select/${e}`)}async function SVe(e){return Q8.post(`/open-type/create`,e)}async function CVe(e,t){return Q8.put(`/open-type/update/${e}`,t)}async function wVe(e){await Q8.delete(`/open-type/delete/${e}`)}async function _5(){return Q8.get(`/open-type/open_type_all`)}async function TVe(e){let t=new URLSearchParams;e?.userId&&t.set(`user_id`,e.userId),e?.status&&t.set(`status`,e.status),e?.page&&t.set(`page`,String(e.page)),e?.pageSize&&t.set(`page_size`,String(e.pageSize));let n=t.toString();return Q8.get(`/admin/generation-records${n?`?${n}`:``}`)}async function EVe(e,t,n){await Q8.put(`/admin/generation-records/${e}/status`,{status:t,video_url:n})}async function DVe(e,t,n,r){await Q8.post(`/admin/generation-records/${e}/generate`,{aspect_ratio:t,resolution:n,image_size:r})}async function OVe(){return Q8.get(`/generation-ai/engines`)}async function kVe(e){let t=new URLSearchParams;e?.genType&&t.set(`gen_type`,e.genType),e?.status&&t.set(`status`,e.status),e?.page&&t.set(`page`,String(e.page)),e?.pageSize&&t.set(`page_size`,String(e.pageSize)),e?.userId&&t.set(`user_id`,e.userId),e?.userName&&t.set(`user_name`,e.userName),e?.engineId&&t.set(`engine_id`,e.engineId),e?.createdStart&&t.set(`created_start`,e.createdStart),e?.createdEnd&&t.set(`created_end`,e.createdEnd);let n=t.toString();return Q8.get(`/generation-ai/tasks${n?`?${n}`:``}`)}function v5(e,t,n){n==null||String(n).trim()===``||e.set(t,String(n))}async function AVe(e){let t=new URLSearchParams;v5(t,`status`,e?.status),v5(t,`keyword`,e?.keyword),v5(t,`user_id`,e?.userId),v5(t,`user_name`,e?.userName),v5(t,`created_start`,e?.createdStart),v5(t,`created_end`,e?.createdEnd),v5(t,`page`,e?.page),v5(t,`page_size`,e?.pageSize);let n=t.toString();return Q8.get(`/hot-opening-replications/tasks${n?`?${n}`:``}`)}async function jVe(e){return Q8.get(`/hot-opening-replications/tasks/${e}`)}async function MVe(e){let t=new URLSearchParams;v5(t,`status`,e?.status),v5(t,`analysis_status`,e?.analysisStatus),v5(t,`split_status`,e?.splitStatus),v5(t,`keyword`,e?.keyword),v5(t,`user_id`,e?.userId),v5(t,`user_name`,e?.userName),v5(t,`created_start`,e?.createdStart),v5(t,`created_end`,e?.createdEnd),v5(t,`page`,e?.page),v5(t,`page_size`,e?.pageSize);let n=t.toString();return Q8.get(`/shot-replications/task-sets${n?`?${n}`:``}`)}async function NVe(e){return Q8.get(`/shot-replications/task-sets/${e}`)}async function PVe(e,t){let n=new URLSearchParams;v5(n,`source_mode`,t?.sourceMode),v5(n,`split_status`,t?.splitStatus),v5(n,`analysis_status`,t?.analysisStatus),v5(n,`replicate_status`,t?.replicateStatus),v5(n,`page`,t?.page),v5(n,`page_size`,t?.pageSize);let r=n.toString();return Q8.get(`/shot-replications/task-sets/${e}/segments${r?`?${r}`:``}`)}async function FVe(e){return Q8.get(`/shot-replications/segments/${e}`)}async function IVe(e){return Q8.get(`/shot-replications/projects/${e}`)}async function LVe(){return Q8.get(`/admin/video-prompt-schema-config`)}async function RVe(e){return Q8.put(`/admin/video-prompt-schema-config`,e)}async function zVe(){return Q8.post(`/admin/video-prompt-schema-config/reset-default`)}async function BVe(){return Q8.get(`/admin/video-prompt-schema-config/export`)}async function VVe(e){return Q8.post(`/admin/video-prompt-schema-config/import`,e)}async function HVe(e){return Q8.post(`/admin/video-prompt-schema-config/preview`,e)}async function UVe(e){return Q8.post(`/user-oauth/request_oauth`,e)}async function WVe(e){let t=new URLSearchParams;return e.account_userid&&t.set(`account_userid`,e.account_userid),e.open_type!==void 0&&t.set(`open_type`,String(e.open_type)),e.account_id&&t.set(`account_id`,e.account_id),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),Q8.get(`/user-oauth/oauth_list?${t.toString()}`)}async function y5(e){let t=new FormData;t.append(`file`,e);let n=localStorage.getItem(`auth_token`),r=await fetch(`http://ceshi.apiforeign.minzhong.cn/api/generation-records/upload-image`,{method:`POST`,headers:n?{Authorization:`Bearer ${n}`}:{},body:t});if(!r.ok)throw Error(`图片上传失败`);let i=await r.json();return{url:i.url,filename:i.filename}}async function b5(){return Q8.get(`/material-consumption/fields`)}async function GVe(e){let t=new URLSearchParams;return e.advertiser_id&&t.set(`advertiser_id`,e.advertiser_id),e.user_id&&t.set(`user_id`,e.user_id),e.consume_date!==void 0&&t.set(`consume_date`,e.consume_date[0]+`,`+e.consume_date[1]),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),Q8.get(`/material-consumption/admin/list?${t.toString()}`)}async function KVe(){return Q8.get(`/admin/home-material/config`)}async function qVe(e){return Q8.put(`/admin/home-material/config`,{enabled:e.enabled,title:e.title,subtitle:e.subtitle,show_original_in_admin:e.showOriginalInAdmin})}async function x5(e){let t=new URLSearchParams;a5(t,`page`,e?.page),a5(t,`page_size`,e?.pageSize),a5(t,`keyword`,e?.keyword),a5(t,`is_active`,e?.isActive);let n=t.toString()?`?${t}`:``;return Q8.get(`/admin/home-material/categories${n}`)}async function JVe(e){let t={name:e.name,key:e.key,description:e.description||null,icon:e.icon||null,is_active:e.is_active,sort_order:e.sort_order};return e.id?Q8.put(`/admin/home-material/categories/${e.id}`,t):Q8.post(`/admin/home-material/categories`,t)}async function YVe(e){await Q8.delete(`/admin/home-material/categories/${e}`)}async function S5(e){let t=new URLSearchParams;a5(t,`page`,e?.page),a5(t,`page_size`,e?.pageSize),a5(t,`is_active`,e?.isActive);let n=t.toString()?`?${t}`:``;return Q8.get(`/admin/home-material/watermarks${n}`)}async function XVe(e,t,n=!1){let r=new FormData;return r.append(`file`,e),t&&r.append(`name`,t),r.append(`is_default`,String(n)),Q8.post(`/admin/home-material/watermarks`,r)}async function ZVe(e,t){return Q8.put(`/admin/home-material/watermarks/${e}`,t)}async function QVe(e){await Q8.delete(`/admin/home-material/watermarks/${e}`)}async function $Ve(e){let t=new URLSearchParams;a5(t,`page`,e?.page),a5(t,`page_size`,e?.pageSize),a5(t,`category_id`,e?.categoryId),a5(t,`media_type`,e?.mediaType),a5(t,`status`,e?.status),a5(t,`is_active`,e?.isActive),a5(t,`keyword`,e?.keyword);let n=t.toString()?`?${t}`:``;return Q8.get(`/admin/home-material/assets${n}`)}async function eHe(e){return Q8.get(`/admin/home-material/assets/${e}/status`)}function tHe(e){return e?{text:e.text,opacity_level:e.opacityLevel,font_size_px:e.fontSizePx,color:e.color,rotate_deg:e.rotateDeg,gap_x:e.gapX,gap_y:e.gapY,staggered:e.staggered}:null}async function nHe(e){let t=new FormData;if(t.append(`category_id`,e.categoryId),t.append(`file`,e.file),t.append(`media_type`,e.mediaType),e.title&&e.title.trim()&&t.append(`title`,e.title.trim()),t.append(`watermark_type`,e.watermarkType),e.watermarkType===`image`)e.watermarkId&&t.append(`watermark_id`,e.watermarkId),e.watermarkFile&&t.append(`watermark_file`,e.watermarkFile),t.append(`opacity_level`,String(e.opacityLevel)),t.append(`position`,e.position),e.customXRatio!==void 0&&e.customXRatio!==null&&t.append(`custom_x_ratio`,String(e.customXRatio)),e.customYRatio!==void 0&&e.customYRatio!==null&&t.append(`custom_y_ratio`,String(e.customYRatio)),t.append(`size_mode`,e.sizeMode),e.widthRatio!==void 0&&e.widthRatio!==null&&t.append(`width_ratio`,String(e.widthRatio)),e.widthPx!==void 0&&e.widthPx!==null&&t.append(`width_px`,String(e.widthPx)),t.append(`margin_x`,String(e.marginX)),t.append(`margin_y`,String(e.marginY));else{let n=tHe(e.textWatermark);n&&(t.append(`text_watermark_text`,n.text),t.append(`text_watermark_opacity_level`,String(n.opacity_level)),t.append(`text_watermark_font_size_px`,String(n.font_size_px)),t.append(`text_watermark_color`,n.color),t.append(`text_watermark_rotate_deg`,String(n.rotate_deg)),t.append(`text_watermark_gap_x`,String(n.gap_x)),t.append(`text_watermark_gap_y`,String(n.gap_y)),t.append(`text_watermark_staggered`,String(n.staggered)))}return t.append(`is_active`,String(e.isActive)),t.append(`sort_order`,String(e.sortOrder)),t.append(`wait`,String(!!e.wait)),t.append(`wait_timeout_seconds`,String(e.waitTimeoutSeconds??30)),Q8.post(`/admin/home-material/assets`,t)}async function rHe(e){return Q8.post(`/admin/home-material/text-watermark-preview`,e)}async function iHe(e,t){return Q8.post(`/admin/home-material/assets/${e}/regenerate-watermark`,t)}async function aHe(e){await Q8.delete(`/admin/home-material/assets/${e}`)}async function oHe(e){let t=new URLSearchParams;return e.id&&t.set(`id`,e.id),e.phone&&t.set(`phone`,e.phone),e.account_id&&t.set(`account_id`,e.account_id),e.account_userid&&t.set(`account_userid`,e.account_userid),e.created_at!==void 0&&t.set(`created_at`,e.created_at[0]+`,`+e.created_at[1]),e.appid&&t.set(`appid`,e.appid),e.open_type!==void 0&&t.set(`open_type`,String(e.open_type)),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),Q8.get(`/material-admin/oauth-list?${t.toString()}`)}async function sHe(e){let t=new URLSearchParams;return e.id&&t.set(`id`,e.id),e.phone&&t.set(`phone`,e.phone),e.resource_type&&t.set(`resource_type`,e.resource_type),e.advertiser_id&&t.set(`advertiser_id`,e.advertiser_id),e.material_id&&t.set(`material_id`,e.material_id),e.upload_id&&t.set(`upload_id`,e.upload_id),e.created_at!==void 0&&t.set(`created_at`,e.created_at[0]+`,`+e.created_at[1]),e.status&&t.set(`status`,e.status),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),Q8.get(`/material-admin/material-list?${t.toString()}`)}async function cHe(e){let t=new URLSearchParams;return e.id&&t.set(`id`,e.id),e.phone&&t.set(`phone`,e.phone),e.created_at!==void 0&&t.set(`created_at`,e.created_at[0]+`,`+e.created_at[1]),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),Q8.get(`/material-admin/pre-test-template-list?${t.toString()}`)}async function lHe(e={}){let t=new URLSearchParams;return t.set(`page`,String(e.page||1)),t.set(`page_size`,String(e.pageSize||20)),e.userId&&t.set(`user_id`,e.userId),e.libraryType&&t.set(`library_type`,e.libraryType),e.keyword&&t.set(`keyword`,e.keyword),e.status&&t.set(`status`,e.status),Q8.get(`/admin/private-portrait/projects?${t.toString()}`)}async function uHe(e={}){let t=new URLSearchParams;return t.set(`page`,String(e.page||1)),t.set(`page_size`,String(e.pageSize||20)),e.userId&&t.set(`user_id`,e.userId),e.projectId&&t.set(`project_id`,e.projectId),e.libraryType&&t.set(`library_type`,e.libraryType),e.assetType&&t.set(`asset_type`,e.assetType),e.keyword&&t.set(`keyword`,e.keyword),e.status&&t.set(`status`,e.status),Q8.get(`/admin/private-portrait/assets?${t.toString()}`)}async function dHe(e){return Q8.get(`/admin/private-portrait/users/${e}/config`)}async function fHe(e,t){return Q8.put(`/admin/private-portrait/users/${e}/config`,{private_portrait_asset_limit:t})}var C5=_Be(e=>({user:null,loading:!0,login:async(t,n,r)=>{e({user:await TBe(t,n,void 0,r)})},logout:async()=>{await EBe(),e({user:null})},checkAuth:async()=>{try{if(!localStorage.getItem(`auth_token`)){e({user:null,loading:!1});return}e({user:await DBe(),loading:!1})}catch(t){(t?.message?.includes(`401`)||t?.message?.includes(`Unauthorized`))&&localStorage.removeItem(`auth_token`),e({user:null,loading:!1})}}})),pHe=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),Q=o(((e,t)=>{t.exports=pHe()}))(),{Sider:mHe,Content:hHe}=HN,w5={HomeOutlined:(0,Q.jsx)(hQ,{}),PlayCircleOutlined:(0,Q.jsx)(u0,{}),WalletOutlined:(0,Q.jsx)(a8,{}),RobotOutlined:(0,Q.jsx)(j2,{}),SettingOutlined:(0,Q.jsx)(c4,{}),BellOutlined:(0,Q.jsx)(WU,{}),UserOutlined:(0,Q.jsx)(U6,{}),AppstoreOutlined:(0,Q.jsx)(bH,{}),FileTextOutlined:(0,Q.jsx)(PM,{}),StarOutlined:(0,Q.jsx)(l3,{}),HeartOutlined:(0,Q.jsx)(iQ,{}),CameraOutlined:(0,Q.jsx)($G,{}),DashboardOutlined:(0,Q.jsx)(SJ,{}),CalculatorOutlined:(0,Q.jsx)(RG,{}),DollarOutlined:(0,Q.jsx)($J,{}),GiftOutlined:(0,Q.jsx)(NZ,{}),ThunderboltOutlined:(0,Q.jsx)(J3,{}),FireOutlined:(0,Q.jsx)(KX,{}),CloudOutlined:(0,Q.jsx)(vq,{}),SmileOutlined:(0,Q.jsx)(K4,{}),TrophyOutlined:(0,Q.jsx)(d6,{}),RocketOutlined:(0,Q.jsx)(P2,{}),BulbOutlined:(0,Q.jsx)(kG,{}),CodeOutlined:(0,Q.jsx)(Dq,{}),PictureOutlined:(0,Q.jsx)(t0,{}),VideoCameraOutlined:(0,Q.jsx)(t8,{}),AudioOutlined:(0,Q.jsx)(XH,{}),MailOutlined:(0,Q.jsx)(P$,{}),PhoneOutlined:(0,Q.jsx)(J1,{}),GlobalOutlined:(0,Q.jsx)(BZ,{}),ShoppingCartOutlined:(0,Q.jsx)(g4,{}),TeamOutlined:(0,Q.jsx)(G3,{}),BarChartOutlined:(0,Q.jsx)(CU,{}),PieChartOutlined:(0,Q.jsx)(i0,{}),LineChartOutlined:(0,Q.jsx)(m$,{}),SecurityScanOutlined:(0,Q.jsx)(t4,{}),ApiOutlined:(0,Q.jsx)(nH,{}),DatabaseOutlined:(0,Q.jsx)(EJ,{}),CloudServerOutlined:(0,Q.jsx)(bq,{}),MenuOutlined:(0,Q.jsx)(X$,{}),PlusOutlined:(0,Q.jsx)(uA,{}),EditOutlined:(0,Q.jsx)(kR,{}),DeleteOutlined:(0,Q.jsx)(ER,{}),LockOutlined:(0,Q.jsx)(T$,{}),LogoutOutlined:(0,Q.jsx)(k$,{})},gHe=()=>{let e=Ze(),t=Je(),{user:n,loading:r,logout:i}=C5(),[a,o]=(0,C.useState)([]),[s,c]=(0,C.useState)(!1),[l]=X.useForm(),[u,d]=(0,C.useState)(()=>{let e=localStorage.getItem(`siteInfo`);return e&&JSON.parse(e).siteName||`管理后台`}),[f,p]=(0,C.useState)(()=>{let e=localStorage.getItem(`siteInfo`);return e&&JSON.parse(e).siteLogo||``});if((0,C.useEffect)(()=>{p5().then(e=>{let t=e.siteName||`管理后台`,n=e.siteLogo||``;if(d(t),p(n),document.title=t===`管理后台`?t:t+` - 管理后台`,localStorage.setItem(`siteInfo`,JSON.stringify({siteName:t,siteLogo:n})),n){let e=document.querySelector(`link[rel="icon"]`);e||(e=document.createElement(`link`),e.rel=`icon`,document.head.appendChild(e)),e.href=n,e.type=`image/png`}}).catch(()=>{})},[]),(0,C.useEffect)(()=>{d5().then(e=>{let t=e.filter(e=>{let t=e.menu_target??e.menuTarget??`admin`;return(e.is_active??e.isActive??!0)&&(t===`admin`||t===`both`)}),r=!!(n?.isAdmin??n?.is_admin);if(n&&!r){let e=n.allowedMenus??n?.allowed_menus;if(e&&Array.isArray(e)&&e.length>0){let n=new Set(e);t=t.filter(e=>(e.menu_type??e.menuType)===`group`?t.some(t=>(t.parent_id??t.parentId)===e.id&&n.has(t.path)):n.has(e.path))}else t=[]}o(t)}).catch(()=>{})},[n]),r)return(0,Q.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,alignItems:`center`,height:`100vh`},children:(0,Q.jsx)(uP,{size:`large`})});if(!n)return(0,Q.jsx)(Tt,{to:`/admin/login`,replace:!0});let m={};a.filter(e=>(e.menu_type??e.menuType)!==`group`&&(e.parent_id??e.parentId)).forEach(e=>{let t=e.parent_id??e.parentId;m[t]||(m[t]=[]),m[t].push(e)});let h=[...a].sort((e,t)=>(e.sort_order??e.sortOrder??0)-(t.sort_order??t.sortOrder??0)),g=[];h.forEach(e=>{let t=e.menu_type??e.menuType,n=e.parent_id??e.parentId;if(t===`group`){let t=(m[e.id]||[]).sort((e,t)=>(e.sort_order??e.sortOrder??0)-(t.sort_order??t.sortOrder??0)).map(e=>({key:e.path,icon:w5[e.icon]||void 0,label:e.label}));t.length>0&&g.push({key:`group-${e.id}`,icon:w5[e.icon]||void 0,label:e.label,children:t})}else n||g.push({key:e.path,icon:w5[e.icon]||void 0,label:e.label})});let _=!!(n?.isAdmin??n?.is_admin);g.length===0&&_&&g.push({key:`/`,icon:(0,Q.jsx)(SJ,{}),label:`数据概览`},{key:`/users`,icon:(0,Q.jsx)(U6,{}),label:`用户管理`});let v=t.pathname,y=[];g.forEach(e=>{e.children?e.children.forEach(e=>y.push(e.key)):y.push(e.key)}),y.includes(v)||(v=y.find(e=>v.startsWith(e))||`/`);let b=[];return g.forEach(e=>{e.children&&e.children.some(e=>e.key===v)&&b.push(e.key)}),(0,Q.jsxs)(HN,{style:{minHeight:`100vh`,background:`#f1f5f9`},children:[(0,Q.jsxs)(mHe,{width:240,theme:`light`,style:{position:`fixed`,left:16,top:16,bottom:16,width:240,background:`linear-gradient(180deg, #ffffff 0%, #f8fafc 100%)`,borderRadius:`20px`,boxShadow:`0 4px 32px rgba(0, 0, 0, 0.06), 0 1px 8px rgba(0, 0, 0, 0.04)`,border:`1px solid rgba(0, 0, 0, 0.06)`,zIndex:100},children:[(0,Q.jsxs)(`div`,{style:{height:80,display:`flex`,alignItems:`center`,justifyContent:`center`,gap:12,background:`linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.04) 100%)`},children:[(0,Q.jsx)(`div`,{style:{width:42,height:42,borderRadius:14,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.35)`,overflow:`hidden`},children:f?(0,Q.jsx)(`img`,{src:f,alt:`logo`,style:{width:28,height:28,objectFit:`contain`}}):(0,Q.jsx)(J3,{style:{fontSize:20,color:`#ffffff`}})}),(0,Q.jsx)(`span`,{style:{color:`#1e293b`,fontSize:17,fontWeight:700,letterSpacing:-.02,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:u})]}),(0,Q.jsx)(`div`,{style:{overflowY:`auto`,maxHeight:`calc(100vh - 200px)`,paddingRight:8},children:(0,Q.jsx)(YS,{mode:`inline`,selectedKeys:[v],defaultOpenKeys:b,items:g,style:{background:`transparent`,border:`none`,paddingTop:8,marginTop:8},onClick:({key:t})=>{t.startsWith(`group-`)||e(t)},theme:`light`})}),(0,Q.jsx)(`div`,{style:{position:`absolute`,bottom:16,left:16,right:16,padding:12,background:`linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%)`,borderRadius:12,border:`1px solid rgba(0, 0, 0, 0.06)`},children:(0,Q.jsx)(MM,{menu:{items:[{key:`user`,icon:(0,Q.jsx)(U6,{}),label:n?.username,disabled:!0},{type:`divider`},{key:`changePwd`,icon:(0,Q.jsx)(T$,{}),label:`修改密码`},{key:`logout`,icon:(0,Q.jsx)(k$,{}),label:`退出登录`,danger:!0}],onClick:({key:t})=>{t===`logout`&&(i(),e(`/login`)),t===`changePwd`&&(c(!0),l.resetFields())}},placement:`topRight`,arrow:!0,children:(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10,cursor:`pointer`,padding:`8px 12px`,borderRadius:12,transition:`all 0.25s ease`,background:`transparent`},onMouseEnter:e=>{e.currentTarget.style.background=`#ffffff`,e.currentTarget.style.boxShadow=`0 4px 12px rgba(0, 0, 0, 0.08)`},onMouseLeave:e=>{e.currentTarget.style.background=`transparent`,e.currentTarget.style.boxShadow=`none`},children:[(0,Q.jsx)(Sx,{size:32,icon:(0,Q.jsx)(U6,{}),style:{background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`}}),(0,Q.jsxs)(`div`,{style:{flex:1,overflow:`hidden`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:13,fontWeight:600,color:`#1e293b`,display:`block`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:n?.username}),(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:_?`管理员`:`普通用户`})]})]})})})]}),(0,Q.jsxs)(HN,{style:{marginLeft:272,marginTop:16,marginRight:16,marginBottom:16,background:`transparent`},children:[(0,Q.jsx)(`div`,{style:{height:72,background:`#ffffff`,borderRadius:`16px 16px 0 0`,boxShadow:`0 2px 12px rgba(0, 0, 0, 0.04)`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:`0 32px`,fontFamily:`var(--font-sans)`,border:`1px solid rgba(0, 0, 0, 0.06)`,borderBottom:`none`},children:(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:18,color:`#1e293b`,fontWeight:600},children:g.find(e=>e.key===v)?.label||g.flatMap(e=>e.children||[]).find(e=>e.key===v)?.label||`管理后台`})}),(0,Q.jsx)(hHe,{style:{padding:32,background:`#ffffff`,borderRadius:`0 0 16px 16px`,boxShadow:`0 4px 24px rgba(0, 0, 0, 0.06)`,overflow:`auto`,border:`1px solid rgba(0, 0, 0, 0.06)`,borderTop:`none`},children:g.length===0&&!_?(0,Q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,height:`60vh`,color:`#94a3b8`},children:[(0,Q.jsx)(T$,{style:{fontSize:48,marginBottom:16,color:`#cbd5e1`}}),(0,Q.jsx)(`div`,{style:{fontSize:16,fontWeight:600,color:`#64748b`},children:`暂无任何权限`}),(0,Q.jsx)(`div`,{style:{fontSize:13,marginTop:8},children:`请联系管理员配置菜单权限`})]}):(0,Q.jsx)(Et,{})})]}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(T$,{}),`修改密码`]}),open:s,onOk:async()=>{try{let e=await l.validateFields();if(e.newPassword!==e.confirmPassword){xP.error(`两次输入的密码不一致`);return}await pVe(e.oldPassword,e.newPassword),xP.success(`密码修改成功`),c(!1),l.resetFields()}catch(e){if(e?.errorFields)return;xP.error(e?.message||`修改失败`)}},onCancel:()=>{c(!1),l.resetFields()},okText:`确认修改`,cancelText:`取消`,width:420,children:(0,Q.jsxs)(X,{form:l,layout:`vertical`,style:{marginTop:16},children:[(0,Q.jsx)(X.Item,{name:`oldPassword`,label:`原密码`,rules:[{required:!0,message:`请输入原密码`}],children:(0,Q.jsx)(zN.Password,{placeholder:`请输入原密码`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`newPassword`,label:`新密码`,rules:[{required:!0,min:6,message:`密码至少6位`}],children:(0,Q.jsx)(zN.Password,{placeholder:`请输入新密码(至少6位)`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`confirmPassword`,label:`确认新密码`,rules:[{required:!0,message:`请再次输入新密码`}],children:(0,Q.jsx)(zN.Password,{placeholder:`请再次输入新密码`,size:`large`})})]})})]})},_He={1:`巨量`,2:`磁力`,3:`巨量星图`,4:`服务单`,5:`腾讯`},T5=e=>{if(!e)return``;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},vHe=()=>{let{message:e}=Lv.useApp(),[t,n]=(0,C.useState)([]),[r,i]=(0,C.useState)(!1),[a,o]=(0,C.useState)(!1),[s,c]=(0,C.useState)(!1),[l,u]=(0,C.useState)(void 0),[d,f]=(0,C.useState)(1),[p,m]=(0,C.useState)(10),[h,g]=(0,C.useState)(0),[_,v]=(0,C.useState)({account_userid:``,open_type:void 0,account_id:``}),[y,b]=(0,C.useState)({}),[x,S]=(0,C.useState)([]);(0,C.useEffect)(()=>{T(),w()},[]);let w=async()=>{try{let e=(await _5()).data||[],t={},n=[];e.forEach(e=>{t[e.openType]=e.typeName,n.push({value:e.openType,label:e.typeName})}),b(t),S(n)}catch(e){console.error(`加载开户方式列表失败:`,e)}},T=async(t=1,r=10,i=_)=>{o(!0);try{let e=await WVe({page:t,page_size:r,account_userid:i.account_userid||void 0,open_type:i.open_type,account_id:i.account_id||void 0});e?(e.data&&n(e.data.data||e.data),e.pagination&&(g(e.pagination.total||0),f(e.pagination.page||1),m(e.pagination.pageSize||10))):n(e||[])}catch{e.error(`获取授权列表失败`)}finally{o(!1)}},E=()=>{c(!0)},D=async()=>{if(!l){e.warning(`请选择开户方式`);return}i(!0);try{let t=await UVe({open_type:l});t.authUrl?window.open(t.authUrl,`_blank`):e.error(`获取授权链接失败`)}catch{e.error(`请求授权失败`)}finally{i(!1),c(!1),u(void 0)}},O=[{title:`ID`,dataIndex:`id`,key:`id`},{title:`授权账户ID`,dataIndex:`accountId`,key:`accountId`,width:160},{title:`授权账户名称`,dataIndex:`accountName`,key:`accountName`},{title:`授权账户角色`,dataIndex:`accountRole`,key:`accountRole`,render:e=>({ADVERTISER:`客户`,CUSTOMER_ADMIN:`普通版工作台-管理员`,CUSTOMER_OPERATOR:`普通版工作台-协作者`,AGENT:`代理商`,CHILD_AGENT:`二级代理商`,PLATFORM_ROLE_STAR:`星图账户`,PLATFORM_ROLE_SHOP_ACCOUNT:`抖音店铺账户`,PLATFORM_ROLE_QIANCHUAN_AGENT:`千川代理商`,PLATFORM_ROLE_STAR_AGENT:`星图代理商`,PLATFORM_ROLE_AWEME:`抖音号`,PLATFORM_ROLE_STAR_MCN:`星图MCN机构`,PLATFORM_ROLE_STAR_ISV:`星图服务商`,AGENT_SYSTEM_ACCOUNT:`代理商系统账户`,PLATFORM_ROLE_LOCAL_AGENT:`本地推代理商`,PLATFORM_ROLE_YUNTU_BRAND_ISV_ADMIN:`云图品牌服务商管理员`,PLATFORM_ROLE_LIFE:`抖音来客账户`,PLATFORM_ROLE_ENTERPRISE_BP_ADMIN:`升级版工作台管理员`,PLATFORM_ROLE_ENTERPRISE_BP_OPERATOR:`升级版工作台协作者`})[e]||e},{title:`授权账户用户ID`,dataIndex:`accountUserid`,key:`accountUserid`,render:e=>(0,Q.jsx)(`span`,{style:{color:e?`#1e293b`:`#94a3b8`},children:e||`-`})},{title:`授权账户用户名`,dataIndex:`accountUsername`,key:`accountUsername`},{title:`授权应用ID`,dataIndex:`appid`,key:`appid`},{title:`是否敏感物料授权`,dataIndex:`materialAuthStatus`,key:`materialAuthStatus`,width:100,render:e=>(0,Q.jsx)(CR,{color:e?`green`:`default`,children:e?`是`:`否`})},{title:`开户方式`,dataIndex:`openType`,key:`openType`,render:e=>(0,Q.jsx)(`span`,{style:{color:`#1e293b`},children:y[e]||e})},{title:`平台端口`,dataIndex:`portType`,key:`portType`,ellipsis:!0,render:e=>(0,Q.jsx)(`span`,{style:{color:`#1e293b`},children:_He[e]||e})},{title:`用户id`,dataIndex:`userId`,key:`userId`},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:160,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:T5(e)})},{title:`更新时间`,dataIndex:`updatedAt`,key:`updatedAt`,width:160,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:T5(e)})}],k=t.map((e,t)=>({...e,index:t+1,key:e.id}));return(0,Q.jsxs)(`div`,{style:{minHeight:`94vh`},children:[(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(T$,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`授权管理`})]}),(0,Q.jsx)(ZS,{type:`primary`,size:`medium`,icon:(0,Q.jsx)(uA,{}),onClick:E,loading:r,style:{borderRadius:8,fontSize:14,fontWeight:500},children:`点击授权`})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12,marginBottom:16},children:[(0,Q.jsx)(zN,{placeholder:`账号用户ID`,value:_.account_userid,onChange:e=>v(t=>({...t,account_userid:e.target.value})),style:{width:180},onPressEnter:()=>{f(1),T(1,p)}}),(0,Q.jsx)(Cb,{placeholder:`开户方式`,value:_.open_type,onChange:e=>v(t=>({...t,open_type:e})),style:{width:140},options:x}),(0,Q.jsx)(zN,{placeholder:`账号ID`,value:_.account_id,onChange:e=>v(t=>({...t,account_id:e.target.value})),style:{width:180},onPressEnter:()=>{f(1),T(1,p)}}),(0,Q.jsx)(ZS,{type:`primary`,size:`medium`,onClick:()=>{f(1),T(1,p)},children:`搜索`}),(0,Q.jsx)(ZS,{size:`medium`,onClick:()=>{v({account_userid:``,open_type:void 0,account_id:``}),f(1),T(1,p)},children:`重置`})]}),(0,Q.jsx)(uR,{dataSource:k,columns:O,loading:a,rowKey:`id`,bordered:!1,scroll:{x:`max-content`},pagination:{current:d,pageSize:p,total:h,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{f(e),m(t),T(e,t)},size:`small`}})]}),(0,Q.jsx)(CP,{title:`选择开户方式`,open:s,onOk:D,onCancel:()=>{c(!1),u(void 0)},okText:`确认授权`,cancelText:`取消`,confirmLoading:r,children:(0,Q.jsx)(Cb,{placeholder:`请选择开户方式`,value:l,onChange:e=>u(e),style:{width:`100%`},options:x})})]})},{RangePicker:yHe}=uM,E5=e=>e.replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),bHe=()=>{Ze();let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(0),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(!1),[c,l]=(0,C.useState)([]),[u,d]=(0,C.useState)([]),[f,p]=(0,C.useState)(``),[m,h]=(0,C.useState)(1),[g,_]=(0,C.useState)(10),[v,y]=(0,C.useState)(``),[b,x]=(0,C.useState)(``),[S,w]=(0,C.useState)();(0,C.useEffect)(()=>{E(),T()},[m,g,S]);let T=async()=>{a(!0);try{let e=await GVe({advertiser_id:v||void 0,user_id:b||void 0,consume_date:S,page:m,page_size:g});t(e.data||[]),r(e.pagination?.total||0)}catch{xP.error(`加载数据失败`)}finally{a(!1)}},E=async()=>{try{let e=((await b5()).data||[]).map(e=>({name:E5(e.field),description:e.description}));l(e);let t=localStorage.getItem(`consumeColumns`);d(t?JSON.parse(t):e.map(e=>e.name))}catch{xP.error(`加载表头字段失败`)}},D=e.map((e,t)=>({...e,index:t+1,key:e.id})),O=()=>{h(1),T()},k=()=>{y(``),x(``),w(void 0),h(1),T()},A=u.map(e=>c.find(t=>t.name===e)).filter(e=>!!e).map(e=>({title:e.description,dataIndex:e.name,key:e.name,ellipsis:!0}));return(0,Q.jsxs)(`div`,{style:{minHeight:`94vh`},children:[(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)($J,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`消耗记录`})]}),(0,Q.jsx)(AM,{children:(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(c4,{}),onClick:()=>s(!0),children:`自定义表头`})})]}),(0,Q.jsx)(`div`,{style:{marginBottom:16},children:(0,Q.jsxs)(AM,{wrap:!0,children:[(0,Q.jsx)(zN,{placeholder:`广告主ID`,value:v,onChange:e=>y(e.target.value),style:{width:200}}),(0,Q.jsx)(zN,{placeholder:`用户ID`,value:b,onChange:e=>x(e.target.value),style:{width:200}}),(0,Q.jsx)(yHe,{value:S?[(0,$S.default)(S[0]),(0,$S.default)(S[1])]:void 0,onChange:e=>{e&&e[0]&&e[1]?w([e[0].format(`YYYY-MM-DD`),e[1].format(`YYYY-MM-DD`)]):w(void 0)}}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(vb,{}),onClick:O,children:`搜索`}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(zP,{}),onClick:k,children:`重置`})]})}),(0,Q.jsx)(uR,{dataSource:D,columns:A,loading:i,rowKey:`id`,bordered:!1,scroll:{x:`max-content`},pagination:{current:m,pageSize:g,total:n,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,size:`small`,onChange:(e,t)=>{h(e),_(t)}}})]}),(0,Q.jsx)(CP,{title:`自定义表头`,open:o,onOk:()=>{localStorage.setItem(`consumeColumns`,JSON.stringify(u)),xP.success(`表头设置已保存`),s(!1)},onCancel:()=>{s(!1),p(``)},okText:`确定`,cancelText:`取消`,width:800,children:(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:20,height:400},children:[(0,Q.jsxs)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`},children:[(0,Q.jsx)(zN,{placeholder:`搜索指标...`,value:f,allowClear:!0,onChange:e=>p(e.target.value),style:{marginBottom:8}}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12,marginBottom:12,display:`block`},children:`输入指标名称进行搜索`}),(0,Q.jsxs)(`div`,{style:{flex:1,overflowY:`auto`,border:`1px solid #f0f0f5`,borderRadius:8,padding:12},children:[(0,Q.jsx)(`div`,{style:{marginBottom:16},children:(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14,color:`#1e293b`},children:`任务详情指标`})}),(0,Q.jsx)(QA,{checked:u.length===c.length&&c.length>0,indeterminate:u.length>0&&u.length{e.target.checked?d(c.map(e=>e.name)):d([])},style:{marginBottom:12},children:`全选`}),(0,Q.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`1fr 1fr`,gap:8},children:c.filter(e=>e.description.toLowerCase().includes(f.toLowerCase())||e.name.toLowerCase().includes(f.toLowerCase())).map(e=>(0,Q.jsx)(QA,{checked:u.includes(e.name),onChange:t=>{t.target.checked?d(t=>[...t,e.name]):d(t=>t.filter(t=>t!==e.name))},children:e.description},e.name))})]})]}),(0,Q.jsxs)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:12},children:[(0,Q.jsxs)(Z.Text,{strong:!0,style:{fontSize:14,color:`#1e293b`},children:[`已添加(`,u.length,`)`]}),(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(ZS,{size:`small`,onClick:()=>d([]),disabled:u.length===0,children:`清空`}),(0,Q.jsx)(ZS,{size:`small`,onClick:async()=>{try{let e=((await b5()).data||[]).map(e=>({name:E5(e.field),description:e.description}));l(e),d(e.map(e=>e.name)),localStorage.removeItem(`consumeColumns`),xP.success(`表头字段已更新`)}catch{xP.error(`更新表头字段失败`)}},children:`更新表头字段`})]})]}),(0,Q.jsx)(`div`,{style:{flex:1,overflowY:`auto`,border:`1px solid #f0f0f5`,borderRadius:8,padding:12},children:u.length===0?(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:14,textAlign:`center`,display:`block`,padding:`40px 0`},children:`暂无已选指标`}):(0,Q.jsx)(`div`,{children:u.map((e,t)=>{let n=c.find(t=>t.name===e);return(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,padding:`8px 12px`,borderBottom:`1px solid #f0f0f5`,cursor:`move`,userSelect:`none`},draggable:!0,onDragStart:e=>{e.dataTransfer.setData(`index`,String(t))},onDragOver:e=>{e.preventDefault()},onDrop:e=>{let n=parseInt(e.dataTransfer.getData(`index`)),r=t;if(n!==r){let e=[...u],[t]=e.splice(n,1);e.splice(r,0,t),d(e)}},children:[(0,Q.jsx)(Z.Text,{children:n?.description||e}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:t+1})]},e)})})})]})]})})]})},xHe=()=>{let e=Ze(),{login:t}=C5(),[n,r]=(0,C.useState)(!1),i=(()=>{try{let e=localStorage.getItem(`siteInfo`);if(e){let t=JSON.parse(e);return{siteName:t.siteName||`VideoGen.AI`,siteLogo:t.siteLogo||``}}}catch{}return{siteName:`VideoGen.AI`,siteLogo:``}})(),[a,o]=(0,C.useState)(i.siteName),[s,c]=(0,C.useState)(i.siteLogo);return(0,C.useEffect)(()=>{p5().then(e=>{o(e.siteName),c(e.siteLogo)}).catch(()=>{})},[]),(0,Q.jsxs)(`div`,{style:{minHeight:`100vh`,display:`flex`,alignItems:`center`,justifyContent:`center`,backgroundImage:`url(/backimage.png)`,backgroundSize:`cover`,backgroundPosition:`center`,backgroundRepeat:`no-repeat`,backgroundAttachment:`fixed`,position:`relative`,overflow:`hidden`},children:[(0,Q.jsx)(`div`,{style:{position:`absolute`,inset:0,background:`linear-gradient(135deg, rgba(240,244,255,0.9) 0%, rgba(232,236,248,0.85) 40%, rgba(240,240,255,0.9) 70%, rgba(248,249,255,0.95) 100%)`}}),(0,Q.jsx)(`div`,{style:{position:`absolute`,width:500,height:500,borderRadius:`50%`,background:`radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%)`,top:-150,right:-100,filter:`blur(40px)`}}),(0,Q.jsx)(`div`,{style:{position:`absolute`,width:400,height:400,borderRadius:`50%`,background:`radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%)`,bottom:-100,left:-80,filter:`blur(50px)`}}),(0,Q.jsxs)(FA,{variant:`outlined`,style:{width:440,borderRadius:20,boxShadow:`0 20px 60px rgba(0,0,0,0.08)`,border:`1px solid #e2e8f0`,background:`#fff`,zIndex:1},styles:{body:{padding:`36px 28px`}},children:[(0,Q.jsxs)(`div`,{style:{textAlign:`center`,marginBottom:28},children:[(0,Q.jsx)(`div`,{style:{width:52,height:52,borderRadius:14,margin:`0 auto 16px`,display:`flex`,alignItems:`center`,justifyContent:`center`,background:s?`transparent`:`linear-gradient(135deg, #6366f1, #8b5cf6)`,boxShadow:s?`none`:`0 8px 24px rgba(99,102,241,0.25)`},children:s?(0,Q.jsx)(`img`,{src:s,alt:`logo`,style:{width:`100%`,height:`100%`,borderRadius:14,objectFit:`contain`}}):(0,Q.jsx)(J3,{style:{fontSize:26,color:`#fff`}})}),(0,Q.jsxs)(Z.Title,{level:3,style:{margin:0,color:`#1e293b`,fontWeight:700},children:[a,(0,Q.jsx)(`span`,{style:{color:`#6366f1`},children:`.AI`})]}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:14,color:`#94a3b8`},children:`管理后台`})]}),(0,Q.jsxs)(X,{onFinish:async n=>{r(!0);try{await t(n.username,n.password,n.rememberMe),xP.success(`登录成功`),e(`/`)}catch(e){let t=e?.message||`登录失败`;xP.error(t)}finally{r(!1)}},layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`username`,rules:[{required:!0,message:`请输入用户名`}],children:(0,Q.jsx)(zN,{placeholder:`用户名`,size:`large`,prefix:(0,Q.jsx)(U6,{style:{color:`#94a3b8`,marginRight:8}}),style:{background:`#fff`,border:`1.5px solid #e2e8f0`,color:`#1e293b`,height:48,borderRadius:10,fontSize:14}})}),(0,Q.jsx)(X.Item,{name:`password`,rules:[{required:!0,message:`请输入密码`}],children:(0,Q.jsx)(zN.Password,{placeholder:`密码`,size:`large`,prefix:(0,Q.jsx)(T$,{style:{color:`#94a3b8`,marginRight:8}}),style:{background:`#fff`,border:`1.5px solid #e2e8f0`,color:`#1e293b`,height:48,borderRadius:10,fontSize:14}})}),(0,Q.jsx)(X.Item,{name:`rememberMe`,valuePropName:`checked`,style:{marginBottom:12},children:(0,Q.jsx)(QA,{children:`记住我的登录状态`})}),(0,Q.jsx)(X.Item,{style:{marginBottom:8},children:(0,Q.jsx)(ZS,{type:`primary`,htmlType:`submit`,loading:n,block:!0,size:`large`,style:{height:48,borderRadius:10,fontSize:16,fontWeight:600,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,boxShadow:`0 8px 24px rgba(99,102,241,0.25)`},children:`登录管理后台`})})]})]})]})};o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(QS()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_zh_cn=r(n.dayjs)})(e,(function(e){function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`zh-cn`,weekdays:`星期日_星期一_星期二_星期三_星期四_星期五_星期六`.split(`_`),weekdaysShort:`周日_周一_周二_周三_周四_周五_周六`.split(`_`),weekdaysMin:`日_一_二_三_四_五_六`.split(`_`),months:`一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月`.split(`_`),monthsShort:`1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月`.split(`_`),ordinal:function(e,t){return t===`W`?e+`周`:e+`日`},weekStart:1,yearStart:4,formats:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`YYYY/MM/DD`,LL:`YYYY年M月D日`,LLL:`YYYY年M月D日Ah点mm分`,LLLL:`YYYY年M月D日ddddAh点mm分`,l:`YYYY/M/D`,ll:`YYYY年M月D日`,lll:`YYYY年M月D日 HH:mm`,llll:`YYYY年M月D日dddd HH:mm`},relativeTime:{future:`%s内`,past:`%s前`,s:`几秒`,m:`1 分钟`,mm:`%d 分钟`,h:`1 小时`,hh:`%d 小时`,d:`1 天`,dd:`%d 天`,M:`1 个月`,MM:`%d 个月`,y:`1 年`,yy:`%d 年`},meridiem:function(e,t){var n=100*e+t;return n<600?`凌晨`:n<900?`早上`:n<1100?`上午`:n<1300?`中午`:n<1800?`下午`:`晚上`}};return n.default.locale(r,null,!0),r}))}))(),$S.default.locale(`zh-cn`);var SHe=()=>{let[e,t]=(0,C.useState)(null),[n,r]=(0,C.useState)(!0),[i,a]=(0,C.useState)([(0,$S.default)().startOf(`day`),(0,$S.default)()]),[o,s]=(0,C.useState)(`数据概览`),c=async()=>{r(!0);try{t(await $8(i[0]?.format(`YYYY-MM-DD`)||void 0,i[1]?.format(`YYYY-MM-DD`)||void 0))}catch{}r(!1)},l=async()=>{try{let e=(await r5()).find(e=>e.key===`site_name`);if(e){let t=`${e.value} 管理后台`;s(t),document.title=t}}catch{s(`数据概览`),document.title=`数据概览`}};(0,C.useEffect)(()=>{c(),l()},[]);let u=()=>{let e=[(0,$S.default)().startOf(`day`),(0,$S.default)()];a(e),m(e)},d=()=>{let e=(0,$S.default)().subtract(1,`day`),t=[e.startOf(`day`),e.endOf(`day`)];a(t),m(t)},f=()=>{let e=[(0,$S.default)().startOf(`week`),(0,$S.default)()];a(e),m(e)},p=()=>{let e=[(0,$S.default)().startOf(`month`),(0,$S.default)()];a(e),m(e)},m=e=>{let n=e[0]?.format(`YYYY-MM-DD`)||void 0,i=e[1]?.format(`YYYY-MM-DD`)||void 0;r(!0),$8(n,i).then(e=>{t(e),r(!1)}).catch(()=>{r(!1)})},h=e=>{e&&(a([e[0],e[1]]),m([e[0],e[1]]))},g=e?[{title:`用户数量`,value:e.totalUsers,lastPeriodValue:e.lastPeriodUsers,icon:(0,Q.jsx)(U6,{}),gradient:`linear-gradient(135deg, #667eea 0%, #764ba2 100%)`,prefix:``,suffix:`位用户`,description:`平台注册用户总数`},{title:`总项目数`,value:e.totalProjects,lastPeriodValue:e.lastPeriodProjects,icon:(0,Q.jsx)(F0,{}),gradient:`linear-gradient(135deg, #00d4ff 0%, #0099cc 100%)`,prefix:``,suffix:`个项目`,description:`创建的项目总数`},{title:`项目记录`,value:e.totalRecords,lastPeriodValue:e.lastPeriodRecords,icon:(0,Q.jsx)(PM,{}),gradient:`linear-gradient(135deg, #10b981 0%, #059669 100%)`,prefix:``,suffix:`条记录`,description:`项目记录总数`},{title:`创作记录`,value:e.totalGenerations,lastPeriodValue:e.lastPeriodGenerations,icon:(0,Q.jsx)(u0,{}),gradient:`linear-gradient(135deg, #f59e0b 0%, #d97706 100%)`,prefix:``,suffix:`次创作`,description:`AI创作记录总数`}]:[],_=e?[{title:`支付宝收入`,value:e.todayAlipayRevenue,icon:(0,Q.jsx)(a8,{}),gradient:`linear-gradient(135deg, #22c55e 0%, #16a34a 100%)`,prefix:`¥`,suffix:``,description:`支付宝收款`,tag:`支付宝`},{title:`微信收入`,value:e.todayWechatRevenue,icon:(0,Q.jsx)($J,{}),gradient:`linear-gradient(135deg, #3b82f6 0%, #2563eb 100%)`,prefix:`¥`,suffix:``,description:`微信收款`,tag:`微信支付`},{title:`总收入`,value:e.totalRevenue,lastPeriodValue:e.lastPeriodRevenue,icon:(0,Q.jsx)(RH,{}),gradient:`linear-gradient(135deg, #ec4899 0%, #be185d 100%)`,prefix:`¥`,suffix:``,description:`平台总收入`,tag:`总收入`},{title:`消耗积分`,value:e.creditsConsumedToday,lastPeriodValue:e.lastPeriodCreditsConsumed,icon:(0,Q.jsx)($J,{}),gradient:`linear-gradient(135deg, #ef4444 0%, #dc2626 100%)`,prefix:``,suffix:`积分`,description:`用户消耗积分`,tag:`积分消耗`}]:[],v=({title:e,value:t,lastPeriodValue:r,icon:i,gradient:a,prefix:o=``,suffix:s=``,description:c,tag:l})=>{let u=r!==void 0&&r>0?((t-r)/r*100).toFixed(1):null,d=u!==null&&parseFloat(u)>=0;return(0,Q.jsx)(FA,{bordered:!1,loading:n,hoverable:!0,style:{borderRadius:16,border:`1px solid rgba(0,0,0,0.04)`,background:`#ffffff`,boxShadow:`0 4px 20px rgba(0,0,0,0.05)`,transition:`all 0.3s ease`,overflow:`hidden`},children:(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16,padding:`16px 0`},children:[(0,Q.jsx)(`div`,{style:{width:52,height:52,borderRadius:14,background:a,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:24,color:`#fff`,flexShrink:0,boxShadow:`0 8px 24px rgba(0,0,0,0.1)`},children:i}),(0,Q.jsxs)(`div`,{style:{flex:1,minWidth:0},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:4},children:[(0,Q.jsx)(Z.Text,{style:{color:`#64748b`,fontSize:13},children:e}),l&&(0,Q.jsx)(`span`,{style:{fontSize:10,padding:`2px 8px`,borderRadius:10,background:`rgba(99,102,241,0.1)`,color:`#6366f1`,fontWeight:500},children:l})]}),(0,Q.jsxs)(`div`,{style:{fontSize:28,fontWeight:800,color:`#1e293b`,letterSpacing:-.5,marginBottom:2},children:[o,typeof t==`number`?t.toLocaleString():t,s]}),c&&(0,Q.jsx)(Z.Text,{style:{color:`#94a3b8`,fontSize:11},children:c}),u!==null&&r!==void 0&&(0,Q.jsxs)(`div`,{style:{marginTop:8,paddingTop:8,borderTop:`1px solid #f1f5f9`,display:`flex`,alignItems:`center`,gap:8},children:[(0,Q.jsxs)(Z.Text,{style:{color:`#94a3b8`,fontSize:11},children:[`上一周期: `,o,r.toLocaleString(),s]}),(0,Q.jsxs)(`span`,{style:{fontSize:11,fontWeight:500,color:d?`#10b981`:`#ef4444`,display:`flex`,alignItems:`center`,gap:2},children:[d?`↑`:`↓`,` `,Math.abs(parseFloat(u)),`%`]})]})]})]})})};return(0,Q.jsxs)(`div`,{style:{padding:0},children:[(0,Q.jsxs)(`div`,{style:{background:`linear-gradient(135deg, #667eea 0%, #764ba2 100%)`,padding:`24px 24px 32px`,borderRadius:0,marginBottom:-24,position:`relative`,overflow:`hidden`},children:[(0,Q.jsx)(`div`,{style:{position:`absolute`,top:-50,right:-50,width:200,height:200,background:`rgba(255,255,255,0.1)`,borderRadius:`50%`}}),(0,Q.jsx)(`div`,{style:{position:`absolute`,bottom:-30,left:-30,width:150,height:150,background:`rgba(255,255,255,0.08)`,borderRadius:`50%`}}),(0,Q.jsxs)(`div`,{style:{position:`relative`,zIndex:1},children:[(0,Q.jsx)(Z.Title,{level:2,style:{color:`#fff`,marginBottom:4,fontWeight:700},children:o}),(0,Q.jsx)(Z.Text,{style:{color:`rgba(255,255,255,0.8)`,fontSize:14},children:`欢迎回来,查看平台运营数据统计`})]})]}),(0,Q.jsxs)(`div`,{style:{marginTop:40},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,alignItems:`center`,gap:12,flexWrap:`wrap`,marginBottom:16},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(ZS,{type:!i[0]||!i[1]||i[0]?.isSame((0,$S.default)().startOf(`day`))&&i[1]?.isSame((0,$S.default)(),`day`)?`primary`:`default`,size:`small`,onClick:u,children:`今日`}),(0,Q.jsx)(ZS,{type:`default`,size:`small`,onClick:d,children:`昨日`}),(0,Q.jsx)(ZS,{type:`default`,size:`small`,onClick:f,children:`本周`}),(0,Q.jsx)(ZS,{type:`default`,size:`small`,onClick:p,children:`本月`})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,background:`#fff`,border:`1px solid #e2e8f0`,padding:`6px 12px`,borderRadius:8,boxShadow:`0 1px 2px rgba(0,0,0,0.05)`},children:[(0,Q.jsx)(iM,{style:{color:`#64748b`,fontSize:14}}),(0,Q.jsx)(uM.RangePicker,{value:i,onChange:h,placeholder:[`开始日期`,`结束日期`],size:`small`})]})]}),(0,Q.jsxs)(`div`,{style:{marginBottom:16,paddingLeft:4},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{color:`#1e293b`,fontSize:15},children:`核心数据`}),(0,Q.jsx)(Z.Text,{style:{color:`#94a3b8`,fontSize:12,marginLeft:8},children:`平台基础运营指标`})]}),(0,Q.jsx)(HP,{gutter:[16,16],children:g.map(e=>(0,Q.jsx)(ij,{xs:12,sm:8,lg:6,children:(0,Q.jsx)(v,{...e})},e.title))})]}),(0,Q.jsxs)(`div`,{style:{marginTop:24},children:[(0,Q.jsxs)(`div`,{style:{marginBottom:16,paddingLeft:4},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{color:`#1e293b`,fontSize:15},children:`财务统计`}),(0,Q.jsx)(Z.Text,{style:{color:`#94a3b8`,fontSize:12,marginLeft:8},children:`收入与消耗数据`})]}),(0,Q.jsx)(HP,{gutter:[16,16],children:_.map(e=>(0,Q.jsx)(ij,{xs:12,sm:8,lg:6,children:(0,Q.jsx)(v,{...e})},e.title))})]})]})};function D5(e){if(!e)return`-`;let t=e.trim();t.includes(`T`)||(t=t.replace(` `,`T`));let n=t.indexOf(`.`);return n>0&&(t=t.slice(0,n)),t=t.replace(/[+-]\d{2}:?\d{0,2}$/,``).replace(/Z$/,``),t.replace(`T`,` `).slice(0,16)}var O5=e=>e instanceof Error?e:Error(typeof e==`string`?e:`上传失败`),k5=e=>{if(e instanceof File)return e;throw Error(`请选择有效图片文件`)},CHe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(0),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(1),[c,l]=(0,C.useState)(20),[u,d]=(0,C.useState)(!1),[f,p]=(0,C.useState)(!1),[m,h]=(0,C.useState)(!1),[g,_]=(0,C.useState)(null),[v,y]=(0,C.useState)(``),[b,x]=(0,C.useState)(``),[S]=X.useForm(),[w]=X.useForm(),T=async(e,n)=>{a(!0);try{let i=await xVe({page:e||o,page_size:n||c});t(i.data||[]),r(i.pagination.total||0)}catch{xP.error(`加载开户方式列表失败`)}finally{a(!1)}};(0,C.useEffect)(()=>{T()},[]);let E=async()=>{try{let e=await S.validateFields(),t=v,n=t.startsWith(`http`)?t.replace(/^https?:\/\/[^/]+/,``):t;await SVe({open_type:e.open_type,type_name:e.type_name,description:e.description,thumb:n}),xP.success(`创建成功`),d(!1),S.resetFields(),y(``),T()}catch(e){xP.error(e?.message||`创建失败`)}},D=async e=>{try{_((await g5(e)).data||{}),p(!0)}catch(e){xP.error(e?.message||`获取详情失败`)}},O=async e=>{try{let t=await g5(e),n=t.data?.thumb||``,r=n.startsWith(`http`)?n:`http://ceshi.apiforeign.minzhong.cn${n}`;_(t.data||{}),x(r),h(!0)}catch(e){xP.error(e?.message||`获取详情失败`)}},k=async()=>{if(g)try{let e=await w.validateFields(),t=b,n=t.startsWith(`http`)?t.replace(/^https?:\/\/[^/]+/,``):t;await CVe(g.id,{open_type:e.open_type,type_name:e.type_name,description:e.description,thumb:n}),xP.success(`更新成功`),h(!1),w.resetFields(),_(null),x(``),T()}catch(e){xP.error(e?.message||`更新失败`)}},A=e=>{CP.confirm({title:`确认删除`,content:`确定要删除这个开户方式吗?`,okText:`删除`,okType:`danger`,cancelText:`取消`,onOk:async()=>{try{await wVe(e),xP.success(`删除成功`),T()}catch(e){xP.error(e?.message||`删除失败`)}}})};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(fQ,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`平台开户方式管理`})]}),(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(uA,{}),onClick:()=>d(!0),children:`新增`}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(zP,{}),onClick:()=>T(),children:`刷新`})]})]}),(0,Q.jsx)(uR,{columns:[{title:`ID`,dataIndex:`id`,width:100,render:e=>(0,Q.jsx)(Z.Text,{children:e})},{title:`开户类型`,dataIndex:`openType`,width:100,render:e=>(0,Q.jsx)(Z.Text,{children:e})},{title:`类型名称`,dataIndex:`typeName`,width:150,render:e=>(0,Q.jsx)(Z.Text,{strong:!0,children:e})},{title:`描述`,dataIndex:`description`,width:250,ellipsis:!0,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:e})},{title:`缩略图`,dataIndex:`thumb`,width:120,render:e=>e?(0,Q.jsx)(`img`,{src:e.startsWith(`http`)?e:`http://ceshi.apiforeign.minzhong.cn${e}`,alt:`thumb`,style:{width:`100%`,height:48,display:`block`}}):`-`},{title:`创建时间`,dataIndex:`createdAt`,width:160,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:D5(e)})},{title:`更新时间`,dataIndex:`updatedAt`,width:160,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:D5(e)})},{title:`操作`,width:240,render:(e,t)=>(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(AN,{}),size:`small`,onClick:()=>D(t.id),children:`详情`}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(kR,{}),size:`small`,onClick:()=>O(t.id),children:`更新`}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(ER,{}),size:`small`,danger:!0,onClick:()=>A(t.id),children:`删除`})]})}],dataSource:e,rowKey:`id`,loading:i,pagination:{current:o,pageSize:c,total:n,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{s(e),l(t),T(e,t)}},scroll:{x:1e3}})]}),(0,Q.jsx)(CP,{title:`新增开户方式`,open:u,onOk:E,onCancel:()=>{d(!1),S.resetFields(),y(``)},mask:{closable:!1},okText:`创建`,cancelText:`取消`,width:600,children:(0,Q.jsxs)(X,{form:S,layout:`vertical`,children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`open_type`,label:`开户方式Id`,style:{flex:1},rules:[{required:!0,message:`请输入开户方式Id`}],children:(0,Q.jsx)(Oj,{style:{width:`100%`},min:1,placeholder:`请输入开户方式Id`})}),(0,Q.jsx)(X.Item,{name:`type_name`,label:`类型名称`,style:{flex:1},rules:[{required:!0,message:`请输入类型名称`},{max:100,message:`类型名称不能超过100个字符`}],children:(0,Q.jsx)(zN,{style:{width:`100%`},placeholder:`请输入类型名称`})})]}),(0,Q.jsx)(X.Item,{name:`description`,label:`描述`,rules:[{required:!0,message:`请输入描述`}],children:(0,Q.jsx)(zN.TextArea,{placeholder:`请输入描述`,rows:4})}),(0,Q.jsx)(X.Item,{label:`缩略图`,children:(0,Q.jsx)(_B,{listType:`picture-card`,fileList:v?[{uid:`1`,name:`thumb`,status:`done`,url:v}]:[],customRequest:async({file:e,onSuccess:t,onError:n})=>{try{let n=await y5(k5(e)),r=n.url.startsWith(`http`)?n.url:`http://ceshi.apiforeign.minzhong.cn${n.url}`;y(r),t?.({url:r})}catch(e){n?.(O5(e))}},onRemove:()=>y(``),children:!v&&(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(I6,{style:{fontSize:24,color:`#999`}}),(0,Q.jsx)(`div`,{style:{marginTop:8},children:`上传图片`})]})})})]})}),(0,Q.jsx)(CP,{title:`开户方式详情`,open:f,onOk:()=>p(!1),onCancel:()=>{p(!1),_(null)},mask:{closable:!1},okText:`关闭`,cancelText:`取消`,width:520,children:g&&(0,Q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:16},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12,padding:16,background:`#f8fafc`,borderRadius:8},children:[(0,Q.jsx)(`div`,{style:{width:80,height:48,borderRadius:6,overflow:`hidden`,background:g.thumb?`transparent`:`#e2e8f0`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:g.thumb?(0,Q.jsx)(`img`,{src:g.thumb.startsWith(`http`)?g.thumb:`http://ceshi.apiforeign.minzhong.cn${g.thumb}`,alt:`thumb`,style:{width:`100%`,height:`100%`,display:`block`}}):(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:`暂无图片`})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`div`,{style:{fontSize:16,fontWeight:600},children:g.typeName}),(0,Q.jsxs)(`div`,{style:{fontSize:12,color:`#64748b`,marginTop:4},children:[`开户类型: `,g.openType]})]})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:12},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,Q.jsx)(Z.Text,{type:`secondary`,style:{width:80,flexShrink:0},children:`ID`}),(0,Q.jsx)(Z.Text,{children:g.id})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,Q.jsx)(Z.Text,{type:`secondary`,style:{width:80,flexShrink:0},children:`开户类型`}),(0,Q.jsx)(Z.Text,{children:g.openType})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,Q.jsx)(Z.Text,{type:`secondary`,style:{width:80,flexShrink:0},children:`类型名称`}),(0,Q.jsx)(Z.Text,{children:g.typeName})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:4},children:[(0,Q.jsx)(Z.Text,{type:`secondary`,style:{width:80},children:`描述`}),(0,Q.jsx)(`div`,{style:{padding:12,background:`#f8fafc`,borderRadius:6,fontSize:13,lineHeight:1.6},children:g.description||`-`})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,Q.jsx)(Z.Text,{type:`secondary`,style:{width:80,flexShrink:0},children:`创建时间`}),(0,Q.jsx)(Z.Text,{children:D5(g.createdAt)})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,Q.jsx)(Z.Text,{type:`secondary`,style:{width:80,flexShrink:0},children:`更新时间`}),(0,Q.jsx)(Z.Text,{children:D5(g.updatedAt)})]})]})]})}),(0,Q.jsx)(CP,{title:`更新开户方式`,open:m,onOk:k,onCancel:()=>{h(!1),w.resetFields(),_(null)},afterOpenChange:e=>{e&&g&&w.setFieldsValue({open_type:g.openType,type_name:g.typeName,description:g.description})},mask:{closable:!1},okText:`更新`,cancelText:`取消`,width:600,children:(0,Q.jsxs)(X,{form:w,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`open_type`,label:`开户类型`,rules:[{required:!0,message:`请输入开户类型`}],children:(0,Q.jsx)(Oj,{min:1,placeholder:`请输入开户类型编号`})}),(0,Q.jsx)(X.Item,{name:`type_name`,label:`类型名称`,rules:[{required:!0,message:`请输入类型名称`},{max:100,message:`类型名称不能超过100个字符`}],children:(0,Q.jsx)(zN,{placeholder:`请输入类型名称`})}),(0,Q.jsx)(X.Item,{name:`description`,label:`描述`,rules:[{required:!0,message:`请输入描述`}],children:(0,Q.jsx)(zN.TextArea,{placeholder:`请输入描述`,rows:4})}),(0,Q.jsx)(X.Item,{label:`缩略图`,children:(0,Q.jsx)(_B,{listType:`picture-card`,fileList:b?[{uid:`1`,name:`thumb`,status:`done`,url:b}]:[],customRequest:async({file:e,onSuccess:t,onError:n})=>{try{let n=await y5(k5(e)),r=n.url.startsWith(`http`)?n.url:`http://ceshi.apiforeign.minzhong.cn${n.url}`;x(r),t?.({url:r})}catch(e){n?.(O5(e))}},onRemove:()=>x(``),children:!b&&(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(I6,{style:{fontSize:24,color:`#999`}}),(0,Q.jsx)(`div`,{style:{marginTop:8},children:`上传图片`})]})})})]})})]})},wHe=`__none__`,THe=[{value:`MB`,label:`MB(1024 × 1024 字节)`},{value:`GB`,label:`GB(1024 × 1024 × 1024 字节)`},{value:`TB`,label:`TB(1024 × 1024 × 1024 × 1024 字节)`}];function A5(e){if(e==null)return`-`;let t=Number(e||0);if(t<1024)return`${t} B`;let n=[`KB`,`MB`,`GB`,`TB`,`PB`],r=t,i=-1;do r/=1024,i+=1;while(r>=1024&&i=100?0:r>=10?1:2)} ${n[i]}`}function j5(e){return!e||!e.enabled?`未开启`:e.source===`user`?`个人`:e.source===`global`?`全局`:`未开启`}var EHe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!0),[i,a]=(0,C.useState)(``),[o,s]=(0,C.useState)(`frontend`),[c,l]=(0,C.useState)(``),[u,d]=(0,C.useState)(``),[f,p]=(0,C.useState)([]),[m,h]=(0,C.useState)({open:!1,user:null}),[g,_]=(0,C.useState)(!1),[v,y]=(0,C.useState)(`frontend`),[b,x]=(0,C.useState)({open:!1,user:null}),[S,w]=(0,C.useState)([]),[T,E]=(0,C.useState)([]),[D,O]=(0,C.useState)({open:!1,user:null}),[k,A]=(0,C.useState)({open:!1,user:null,detail:null}),[j,M]=(0,C.useState)({open:!1,user:null}),[N,P]=(0,C.useState)({open:!1,user:null,config:null}),[F,I]=(0,C.useState)(!1),[L,R]=(0,C.useState)(!1),[z,B]=(0,C.useState)(!1),[V,H]=(0,C.useState)(!1),[U,W]=(0,C.useState)(!1),[ee]=X.useForm(),[te]=X.useForm(),[ne]=X.useForm(),[re]=X.useForm(),[ie]=X.useForm(),[ae]=X.useForm(),[G,oe]=(0,C.useState)(1),[K,se]=(0,C.useState)(20),[ce,le]=(0,C.useState)(0),[ue,de]=(0,C.useState)([]),[fe]=X.useForm(),[pe,me]=(0,C.useState)(!1),he=async()=>{r(!0);try{let e=await e5(G,K,i||void 0,o,o===`frontend`&&c||void 0,o===`frontend`&&u||void 0);t(e.items||[]),le(e.total||0)}catch{}r(!1)};(0,C.useEffect)(()=>{he()},[G,K,i,o,c,u]),(0,C.useEffect)(()=>{t5(!0).then(p).catch(()=>{})},[]),(0,C.useEffect)(()=>{(async()=>{try{let e=(await r5()).filter(e=>e.key.startsWith(`user_`)&&e.key.includes(`credits`));de(e);let t={};e.forEach(e=>{t[e.key]=e.value}),fe.setFieldsValue(t)}catch{}})()},[]);let ge=(e,t)=>{oe(e),se(t)},_e=()=>he(),ve=async()=>{try{let e=await ee.validateFields(),{user:t}=m;if(!t)return;await FBe(t.id,e.amount,e.description),xP.success(`已${e.amount>0?`增加`:`扣除`} ${Math.abs(e.amount)} 积分`),h({open:!1,user:null}),ee.resetFields(),he()}catch{}},ye=async e=>{await IBe(e.id,!e.isActive),xP.success(e.isActive?`已禁用该用户`:`已启用该用户`),he()},be=async()=>{try{let e=await te.validateFields(),t=e.user_type||`frontend`;await uVe({username:t===`admin`?e.username:void 0,password:e.password,email:e.email||void 0,phone:t===`frontend`?e.phone:e.phone||void 0,credits:e.credits||0,user_type:t,frontend_user_kind:e.frontend_user_kind||`external`,private_portrait_asset_limit:t===`frontend`?Number(e.private_portrait_asset_limit??5):0}),xP.success(`用户创建成功`),_(!1),te.resetFields(),y(`frontend`),he()}catch{}},xe=async e=>{try{let t=await d5(),n=e.userType===`admin`;w(t.filter(e=>{let t=e.menu_target??e.menuTarget??`frontend`;return n?t===`admin`||t===`both`:t===`frontend`||t===`both`})),E(e.allowedMenus||[]),x({open:!0,user:e})}catch{xP.error(`加载菜单失败`)}},Se=async e=>{I(!0),A({open:!0,user:e,detail:null});try{let t=await VBe(e.id),n=t.userConfig;re.setFieldsValue({enabled:n?.enabled??!1,limitValue:n?.limitValue??t.effective.limitValue??t.globalConfig.limitValue??`1.000`,limitUnit:n?.limitUnit??t.effective.limitUnit??t.globalConfig.limitUnit??`GB`}),A({open:!0,user:e,detail:t})}catch(e){xP.error(e?.message||`加载容量配置失败`),A({open:!1,user:null,detail:null})}finally{I(!1)}},Ce=async()=>{let{user:e}=k;if(e)try{let t=await re.validateFields();R(!0),await HBe(e.id,{enabled:!!t.enabled,limitValue:String(t.limitValue??`1.000`),limitUnit:t.limitUnit||`GB`}),xP.success(`用户容量配置已保存`),A({open:!1,user:null,detail:null}),re.resetFields(),he()}catch(e){xP.error(e?.message||`保存失败`)}finally{R(!1)}},we=async()=>{let{user:e}=k;if(e)try{R(!0),await UBe(e.id),xP.success(`已恢复为全局容量配置`),A({open:!1,user:null,detail:null}),re.resetFields(),he()}catch(e){xP.error(e?.message||`恢复失败`)}finally{R(!1)}},Te=async e=>{H(!0),P({open:!0,user:e,config:null}),ae.setFieldsValue({privatePortraitAssetLimit:e.privatePortraitAssetLimit??5});try{let t=await dHe(e.id);ae.setFieldsValue({privatePortraitAssetLimit:t.assetLimit}),P({open:!0,user:e,config:t})}catch(e){xP.error(e?.message||`加载私域人像素材库配置失败`),P({open:!1,user:null,config:null})}finally{H(!1)}},Ee=async()=>{let{user:e}=N;if(e)try{let t=await ae.validateFields(),n=Number(t.privatePortraitAssetLimit??0);W(!0);let r=await fHe(e.id,n);xP.success(n>0?`私域人像素材库已开启,限制 ${n} 个`:`私域人像素材库已关闭`),P({open:!1,user:null,config:r}),ae.resetFields(),he()}catch(e){if(e?.errorFields)return;xP.error(e?.message||`保存私域人像素材库配置失败`)}finally{W(!1)}},De=e=>{ie.setFieldsValue({teamId:e.teamId||``}),M({open:!0,user:e})},Oe=async()=>{let{user:e}=j;if(e)try{let t=await ie.validateFields();B(!0),await kBe(e.id,t.teamId||null),xP.success(`用户团队已更新`),M({open:!1,user:null}),ie.resetFields(),he()}catch(e){if(e?.errorFields)return;xP.error(e?.message||`保存团队失败`)}finally{B(!1)}},ke=S.filter(e=>(e.menu_type??e.menuType)===`group`),Ae=S.filter(e=>(e.menu_type??e.menuType)!==`group`),je={};Ae.filter(e=>e.parent_id??e.parentId).forEach(e=>{let t=e.parent_id??e.parentId;je[t]||(je[t]=[]),je[t].push(e)});let Me=Ae.filter(e=>!(e.parent_id??e.parentId)),Ne=async()=>{let{user:e}=b;if(e)try{await dVe(e.id,T.length>0?T:null),xP.success(`菜单权限已更新`),x({open:!1,user:null}),he()}catch(e){xP.error(e?.message||`保存失败`)}},Pe=async()=>{try{let e=await ne.validateFields(),{user:t}=D;if(!t)return;await fVe(t.id,e.newPassword),xP.success(`已重置 ${t.username} 的密码`),O({open:!1,user:null}),ne.resetFields()}catch{}},Fe=async(e,t)=>{try{await OBe(e.id,t),xP.success(t===`internal`?`已设为前台内部用户`:`已设为前台外部用户`),he()}catch(e){xP.error(e?.message||`设置失败`)}},Ie=o===`admin`,Le=[{title:`用户`,key:`user`,width:200,render:(e,t)=>(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,background:t.isAdmin?`linear-gradient(135deg, #f59e0b, #f97316)`:`linear-gradient(135deg, #6366f1, #8b5cf6)`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#fff`,fontSize:13,fontWeight:700},children:t.username.charAt(0).toUpperCase()}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`div`,{style:{fontWeight:600},children:[t.username,t.isAdmin&&(0,Q.jsx)(CR,{color:`orange`,style:{marginLeft:6,fontSize:10},children:`管理员`})]}),(0,Q.jsx)(`div`,{style:{color:`#94a3b8`,fontSize:12},children:t.email})]})]})},...Ie?[]:[{title:`积分余额`,dataIndex:`credits`,width:120,sorter:(e,t)=>e.credits-t.credits,render:e=>(0,Q.jsx)(Z.Text,{strong:!0,style:{color:e>0?`#10b981`:`#ef4444`,fontSize:15},children:e.toLocaleString()})}],{title:`手机号`,dataIndex:`phone`,width:130,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,children:e||`-`})},...Ie?[]:[{title:`前台归类`,dataIndex:`frontendUserKind`,width:110,render:e=>(0,Q.jsx)(CR,{color:e===`internal`?`geekblue`:`default`,children:e===`internal`?`内部用户`:`外部用户`})}],...Ie?[]:[{title:`团队`,dataIndex:`teamName`,width:140,render:e=>e?(0,Q.jsx)(CR,{color:`blue`,children:e}):(0,Q.jsx)(Z.Text,{type:`secondary`,children:`未分配`})}],...Ie?[]:[{title:`私域人像素材库`,dataIndex:`privatePortraitAssetLimit`,width:150,render:e=>{let t=Number(e||0);return t>0?(0,Q.jsxs)(CR,{color:`purple`,children:[`开启:`,t,` 个`]}):(0,Q.jsx)(CR,{children:`未开启`})}}],...Ie?[]:[{title:`资源容量`,dataIndex:`resourceCapacity`,width:230,render:e=>{let t=A5(e?.usedBytes||0);if(!e||!e.enabled)return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(AM,{size:6,style:{marginBottom:4},children:[(0,Q.jsx)(CR,{children:`未开启`}),(0,Q.jsxs)(Z.Text,{type:`secondary`,style:{fontSize:12},children:[`已用 `,t]})]}),(0,Q.jsx)(LP,{percent:0,size:`small`,showInfo:!1})]});let n=Math.min(Number(e.usagePercent||0),100);return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(AM,{size:6,style:{marginBottom:4},children:[(0,Q.jsx)(CR,{color:e.source===`user`?`blue`:`purple`,children:j5(e)}),e.exceeded&&(0,Q.jsx)(CR,{color:`red`,children:`已超额`})]}),(0,Q.jsx)(LP,{percent:n,size:`small`,status:e.exceeded?`exception`:`active`}),(0,Q.jsxs)(Z.Text,{type:`secondary`,style:{fontSize:12},children:[t,` / `,A5(e.totalBytes),`,可用 `,A5(e.availableBytes)]})]})}}],{title:`状态`,dataIndex:`isActive`,width:80,render:e=>(0,Q.jsx)(CR,{color:e?`green`:`red`,children:e?`正常`:`禁用`})},{title:`注册时间`,dataIndex:`createdAt`,width:120,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:D5(e)})},{title:`最后登录`,dataIndex:`lastLoginAt`,width:140,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:D5(e)})},{title:`操作`,key:`action`,width:540,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(AM,{size:4,wrap:!0,children:[!Ie&&(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(a8,{}),onClick:()=>{h({open:!0,user:t}),ee.resetFields()},children:`调整积分`}),!Ie&&(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(EJ,{}),onClick:()=>Se(t),children:`容量设置`}),!Ie&&(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(t0,{}),onClick:()=>Te(t),children:`私域人像素材`}),!Ie&&(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(G3,{}),onClick:()=>De(t),children:`团队设置`}),!Ie&&t.frontendUserKind!==`internal`&&(0,Q.jsx)(ZS,{type:`link`,size:`small`,onClick:()=>Fe(t,`internal`),children:`设为内部`}),!Ie&&t.frontendUserKind===`internal`&&(0,Q.jsx)(ZS,{type:`link`,size:`small`,onClick:()=>Fe(t,`external`),children:`取消内部`}),(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(X$,{}),onClick:()=>xe(t),children:`菜单权限`}),(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(T$,{}),onClick:()=>{O({open:!0,user:t}),ne.resetFields()},children:`重置密码`}),(0,Q.jsx)(EP,{title:t.isActive?`确定禁用该用户?`:`确定启用该用户?`,onConfirm:()=>ye(t),children:(0,Q.jsx)(ZS,{type:`link`,size:`small`,danger:t.isActive,icon:t.isActive?(0,Q.jsx)(v3,{}):(0,Q.jsx)(RK,{}),children:t.isActive?`禁用`:`启用`})})]})}];return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,Q.jsx)(zN,{placeholder:`搜索用户名或手机号`,prefix:(0,Q.jsx)(vb,{style:{color:`#94a3b8`}}),value:i,onChange:e=>a(e.target.value),onPressEnter:_e,style:{width:280,borderRadius:8},allowClear:!0}),!Ie&&(0,Q.jsx)(Cb,{value:c,onChange:e=>{oe(1),l(e)},style:{width:140},options:[{value:``,label:`全部前台用户`},{value:`internal`,label:`内部用户`},{value:`external`,label:`外部用户`}]}),!Ie&&(0,Q.jsx)(Cb,{value:u,onChange:e=>{oe(1),d(e)},style:{width:170},options:[{value:``,label:`全部团队`},{value:wHe,label:`未分配团队`},...f.map(e=>({value:e.id,label:e.status===`disabled`?`${e.name}(禁用)`:e.name}))]}),(0,Q.jsx)(ZS,{type:`primary`,onClick:_e,style:{borderRadius:8},children:`搜索`})]}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(uA,{}),onClick:()=>{y(o),te.setFieldsValue({user_type:o}),_(!0)},style:{borderRadius:8},children:`创建用户`})]}),(0,Q.jsx)(NA,{activeKey:o,onChange:e=>{s(e),l(``),d(``),oe(1)},items:[{key:`frontend`,label:`前台用户`},{key:`admin`,label:`后台用户`}]}),(0,Q.jsx)(uR,{columns:Le,dataSource:e,rowKey:`id`,loading:n,pagination:{current:G,pageSize:K,total:ce,onChange:ge,showSizeChanger:!0,showTotal:e=>`共 ${e} 个用户`},scroll:{x:1280}})]}),(0,Q.jsxs)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(a8,{}),`调整积分 - `,m.user?.username]}),open:m.open,onOk:ve,onCancel:()=>{h({open:!1,user:null}),ee.resetFields()},okText:`确认`,cancelText:`取消`,width:440,children:[(0,Q.jsxs)(`div`,{style:{marginBottom:16,padding:`12px 16px`,background:`#f8fafc`,borderRadius:8},children:[(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:`当前积分:`}),(0,Q.jsx)(`span`,{style:{fontWeight:800,fontSize:18,color:`#6366f1`},children:m.user?.credits.toLocaleString()})]}),(0,Q.jsxs)(X,{form:ee,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`amount`,label:`积分变动`,rules:[{required:!0,message:`请输入积分数量`}],children:(0,Q.jsx)(Oj,{style:{width:`100%`},size:`large`,placeholder:`正数增加,负数扣除`,formatter:e=>`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,`,`)})}),(0,Q.jsx)(X.Item,{name:`description`,label:`原因`,rules:[{required:!0,message:`请输入调整原因`}],children:(0,Q.jsx)(zN.TextArea,{rows:2,placeholder:`请输入调整原因`,size:`large`})})]})]}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(G3,{}),`团队设置 - `,j.user?.username]}),open:j.open,confirmLoading:z,onOk:Oe,onCancel:()=>{M({open:!1,user:null}),ie.resetFields()},okText:`保存`,cancelText:`取消`,width:460,children:(0,Q.jsx)(X,{form:ie,layout:`vertical`,style:{marginTop:16},children:(0,Q.jsx)(X.Item,{name:`teamId`,label:`所属团队`,extra:`团队归属独立于前台内部/外部归类,不会改变用户内外部设置。`,children:(0,Q.jsx)(Cb,{size:`large`,allowClear:!0,placeholder:`未分配团队`,options:[{value:``,label:`未分配团队`},...f.filter(e=>e.status===`active`||e.id===j.user?.teamId).map(e=>({value:e.id,label:e.status===`disabled`?`${e.name}(禁用)`:e.name}))]})})})}),(0,Q.jsxs)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(EJ,{}),`容量设置 - `,k.user?.username]}),open:k.open,confirmLoading:L,onOk:Ce,onCancel:()=>{A({open:!1,user:null,detail:null}),re.resetFields()},okText:`保存个人配置`,cancelText:`取消`,width:560,children:[(0,Q.jsx)(FA,{loading:F,variant:`outlined`,style:{marginBottom:16},children:(0,Q.jsxs)(AM,{direction:`vertical`,size:6,style:{width:`100%`},children:[(0,Q.jsxs)(Z.Text,{type:`secondary`,children:[`当前生效来源:`,j5(k.detail?.effective),k.detail?.effective.hasUserConfig?`(已单独设置)`:`(未单独设置)`]}),(0,Q.jsxs)(Z.Text,{children:[`已用:`,A5(k.detail?.effective.usedBytes),`; 总量:`,A5(k.detail?.effective.totalBytes),`; 可用:`,A5(k.detail?.effective.availableBytes)]}),k.detail?.effective.enabled&&(0,Q.jsx)(LP,{percent:Math.min(Number(k.detail.effective.usagePercent||0),100),status:k.detail.effective.exceeded?`exception`:`active`})]})}),(0,Q.jsxs)(X,{form:re,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`enabled`,label:`启用个人容量限制`,valuePropName:`checked`,extra:`保存后会生成用户个人配置,优先级高于全局;关闭并保存表示该用户个人明确不限制,不再走全局。`,children:(0,Q.jsx)(sF,{checkedChildren:`开启`,unCheckedChildren:`关闭`})}),(0,Q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`1fr 180px`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`limitValue`,label:`容量数值`,rules:[{required:!0,message:`请输入容量数值`}],extra:`最小为1,不能为负数,最多支持3位小数。`,children:(0,Q.jsx)(Oj,{min:1,precision:3,style:{width:`100%`},size:`large`,placeholder:`例如 10.500`})}),(0,Q.jsx)(X.Item,{name:`limitUnit`,label:`容量单位`,rules:[{required:!0,message:`请选择容量单位`}],extra:`MB / GB / TB 固定枚举`,children:(0,Q.jsx)(Cb,{size:`large`,options:THe})})]})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginTop:8},children:[(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:`恢复全局设置会删除该用户个人配置,让用户重新按全局规则判断。`}),(0,Q.jsx)(EP,{title:`确定恢复为全局容量配置?`,onConfirm:we,disabled:!k.detail?.hasUserConfig,children:(0,Q.jsx)(ZS,{disabled:!k.detail?.hasUserConfig,loading:L,children:`恢复全局设置`})})]})]}),(0,Q.jsxs)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(t0,{}),`私域人像素材库设置 - `,N.user?.username]}),open:N.open,confirmLoading:U,onOk:Ee,onCancel:()=>{P({open:!1,user:null,config:null}),ae.resetFields()},okText:`保存`,cancelText:`取消`,width:520,children:[(0,Q.jsx)(FA,{loading:V,variant:`outlined`,style:{marginBottom:16},children:(0,Q.jsxs)(AM,{direction:`vertical`,size:6,style:{width:`100%`},children:[(0,Q.jsxs)(Z.Text,{children:[`当前状态:`,N.config?.enabled?(0,Q.jsx)(CR,{color:`purple`,children:`已开启`}):(0,Q.jsx)(CR,{children:`未开启`})]}),(0,Q.jsxs)(Z.Text,{type:`secondary`,children:[`已用:`,N.config?.usedAssetCount??`-`,` 个; 剩余:`,N.config?.enabled?N.config.remainingAssetCount:0,` 个`]})]})}),(0,Q.jsx)(X,{form:ae,layout:`vertical`,children:(0,Q.jsx)(X.Item,{name:`privatePortraitAssetLimit`,label:`私域人像素材总量上限`,extra:`0 表示关闭私域人像素材库;大于 0 表示开启,并限制该用户所有私域人像素材总量。`,rules:[{required:!0,message:`请输入私域人像素材总量上限`}],children:(0,Q.jsx)(Oj,{min:0,max:9999,precision:0,style:{width:`100%`},size:`large`})})})]}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(U6,{}),`创建用户`]}),open:g,onOk:be,onCancel:()=>{_(!1),te.resetFields(),y(`frontend`)},okText:`创建`,cancelText:`取消`,width:480,children:(0,Q.jsxs)(X,{form:te,layout:`vertical`,style:{marginTop:16},onValuesChange:e=>{e.user_type&&y(e.user_type)},children:[(0,Q.jsx)(X.Item,{name:`user_type`,label:`用户类型`,initialValue:`frontend`,rules:[{required:!0}],children:(0,Q.jsx)(Cb,{size:`large`,options:[{value:`frontend`,label:`前端用户`},{value:`admin`,label:`后台管理员`}]})}),v===`frontend`&&(0,Q.jsx)(X.Item,{name:`frontend_user_kind`,label:`前台归类`,initialValue:`external`,children:(0,Q.jsx)(Cb,{size:`large`,options:[{value:`external`,label:`外部用户`},{value:`internal`,label:`内部用户`}]})}),v===`frontend`?(0,Q.jsx)(X.Item,{name:`phone`,label:`手机号`,rules:[{required:!0,message:`请输入手机号`},{pattern:/^1\d{10}$/,message:`请输入正确的手机号`}],children:(0,Q.jsx)(zN,{placeholder:`请输入手机号`,maxLength:11,size:`large`})}):(0,Q.jsx)(X.Item,{name:`username`,label:`用户名`,rules:[{required:!0,message:`请输入用户名`}],children:(0,Q.jsx)(zN,{placeholder:`请输入用户名`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`password`,label:`密码`,rules:[{required:!0,min:6,message:`密码至少6位`}],children:(0,Q.jsx)(zN.Password,{placeholder:`请输入密码(至少6位)`,size:`large`})}),v===`frontend`&&(0,Q.jsx)(X.Item,{name:`credits`,label:`初始积分`,initialValue:0,children:(0,Q.jsx)(Oj,{min:0,style:{width:`100%`},size:`large`})}),v===`frontend`&&(0,Q.jsx)(X.Item,{name:`private_portrait_asset_limit`,label:`私域人像素材总量上限`,initialValue:5,extra:`0 表示关闭私域人像素材库;大于 0 表示开启并限制该用户所有私域人像素材总量。`,rules:[{required:!0,message:`请输入私域人像素材总量上限`}],children:(0,Q.jsx)(Oj,{min:0,max:9999,precision:0,style:{width:`100%`},size:`large`})}),(0,Q.jsx)(X.Item,{name:`email`,label:`邮箱`,children:(0,Q.jsx)(zN,{placeholder:`选填`,size:`large`})})]})}),(0,Q.jsxs)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(X$,{}),`菜单权限 - `,b.user?.username,` (`,b.user?.userType===`admin`?`后台菜单`:`前台菜单`,`)`]}),open:b.open,onOk:Ne,onCancel:()=>{x({open:!1,user:null})},okText:`保存`,cancelText:`取消`,width:520,children:[(0,Q.jsx)(`div`,{style:{marginBottom:12},children:(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:13},children:`勾选该用户可访问的菜单,不勾选则显示全部菜单`})}),(0,Q.jsx)(`div`,{style:{padding:`12px 16px`,background:`#f8fafc`,borderRadius:8,maxHeight:400,overflow:`auto`},children:(0,Q.jsx)(QA.Group,{value:T,onChange:e=>E(e),children:(0,Q.jsxs)(AM,{direction:`vertical`,size:8,style:{width:`100%`},children:[Me.map(e=>(0,Q.jsxs)(QA,{value:e.path,style:{width:`100%`},children:[e.label,(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12,marginLeft:8},children:e.path})]},e.path)),ke.map(e=>{let t=je[e.id]||[];return t.length===0?null:(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`div`,{style:{fontWeight:600,fontSize:13,color:`#6366f1`,marginBottom:4,marginTop:4},children:e.label}),(0,Q.jsx)(AM,{direction:`vertical`,size:4,style:{paddingLeft:12,width:`100%`},children:t.map(e=>(0,Q.jsxs)(QA,{value:e.path,style:{width:`100%`},children:[e.label,(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12,marginLeft:8},children:e.path})]},e.path))})]},e.id)})]})})})]}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(T$,{}),`重置密码 - `,D.user?.username]}),open:D.open,onOk:Pe,onCancel:()=>{O({open:!1,user:null}),ne.resetFields()},okText:`确认重置`,cancelText:`取消`,width:420,children:(0,Q.jsx)(X,{form:ne,layout:`vertical`,style:{marginTop:16},children:(0,Q.jsx)(X.Item,{name:`newPassword`,label:`新密码`,rules:[{required:!0,min:6,message:`密码至少6位`}],children:(0,Q.jsx)(zN.Password,{placeholder:`请输入新密码(至少6位)`,size:`large`})})})})]})},DHe=[{value:``,label:`全部状态`},{value:`active`,label:`启用`},{value:`disabled`,label:`禁用`}],OHe=[{value:`active`,label:`启用`},{value:`disabled`,label:`禁用`}];function kHe(e){return e===`active`?`启用`:e===`disabled`?`禁用`:e||`-`}var AHe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(1),[c,l]=(0,C.useState)(20),[u,d]=(0,C.useState)(0),[f,p]=(0,C.useState)(``),[m,h]=(0,C.useState)(``),[g,_]=(0,C.useState)({open:!1,item:null}),[v]=X.useForm(),[y,b]=(0,C.useState)({open:!1,team:null}),[x,S]=(0,C.useState)([]),[w,T]=(0,C.useState)(!1),[E,D]=(0,C.useState)(null),[O,k]=(0,C.useState)({open:!1,team:null}),[A,j]=(0,C.useState)([]),[M,N]=(0,C.useState)(!1),P=(0,C.useMemo)(()=>({page:o,pageSize:c,keyword:f||void 0,status:m||void 0}),[o,c,f,m]),F=async()=>{r(!0);try{let e=await ABe(P);t(e.items||[]),d(e.total||0)}catch(e){xP.error(e?.message||`加载团队列表失败`)}finally{r(!1)}};(0,C.useEffect)(()=>{F()},[P]);let I=()=>{v.resetFields(),v.setFieldsValue({status:`active`,sortOrder:0}),_({open:!0,item:null})},L=e=>{v.setFieldsValue({name:e.name,code:e.code||``,description:e.description||``,status:e.status||`active`,sortOrder:e.sortOrder||0}),_({open:!0,item:e})},R=async()=>{try{let e=await v.validateFields();a(!0),await jBe({id:g.item?.id,name:e.name,code:e.code||null,description:e.description||null,status:e.status||`active`,sort_order:e.sortOrder||0}),xP.success(g.item?`团队已更新`:`团队已创建`),_({open:!1,item:null}),v.resetFields(),F()}catch(e){if(e?.errorFields)return;xP.error(e?.message||`保存失败`)}finally{a(!1)}},z=async e=>{try{await MBe(e.id),xP.success(`团队已删除`),F()}catch(e){xP.error(e?.message||`删除失败`)}},B=async e=>{try{return(await PBe(e)).items||[]}catch(e){return xP.error(e?.message||`加载成员失败`),[]}},V=async e=>{b({open:!0,team:e}),D(e.managerId||null),T(!0),S(await B(e.id)),T(!1)},H=async e=>{k({open:!0,team:e}),N(!0),j(await B(e.id)),N(!1)};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16,flexWrap:`wrap`,gap:12},children:[(0,Q.jsxs)(AM,{wrap:!0,children:[(0,Q.jsx)(zN,{placeholder:`搜索团队名称/编码/备注`,prefix:(0,Q.jsx)(vb,{style:{color:`#94a3b8`}}),value:f,onChange:e=>{s(1),p(e.target.value)},onPressEnter:F,style:{width:260},allowClear:!0}),(0,Q.jsx)(Cb,{value:m,onChange:e=>{s(1),h(e)},style:{width:130},options:DHe}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(zP,{}),onClick:F,children:`刷新`})]}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(uA,{}),onClick:I,children:`新增团队`})]}),(0,Q.jsx)(uR,{columns:[{title:`团队名称`,dataIndex:`name`,width:220,render:(e,t)=>(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,background:`rgba(99,102,241,0.1)`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#6366f1`},children:(0,Q.jsx)(G3,{})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,children:e}),(0,Q.jsx)(`div`,{style:{fontSize:12,color:`#94a3b8`},children:t.code||`-`})]})]})},{title:`状态`,dataIndex:`status`,width:100,render:e=>(0,Q.jsx)(CR,{color:e===`active`?`green`:`default`,children:kHe(e)})},{title:`成员数`,dataIndex:`memberCount`,width:100,render:e=>(0,Q.jsx)(Z.Text,{strong:!0,children:Number(e||0).toLocaleString()})},{title:`管理人`,key:`manager`,width:140,render:(e,t)=>(0,Q.jsx)(Z.Text,{style:{fontSize:13},children:t.managerName||(0,Q.jsx)(`span`,{style:{color:`#94a3b8`},children:`未设置`})})},{title:`排序`,dataIndex:`sortOrder`,width:90,render:e=>e??0},{title:`备注`,dataIndex:`description`,ellipsis:!0,render:e=>e||`-`},{title:`创建时间`,dataIndex:`createdAt`,width:160,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:D5(e)})},{title:`操作`,key:`action`,width:230,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(AM,{size:4,children:[(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(U6,{}),onClick:()=>H(t),children:`成员`}),(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(c4,{}),onClick:()=>V(t),children:`管理人`}),(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(kR,{}),onClick:()=>L(t),children:`编辑`}),(0,Q.jsx)(EP,{title:`确定删除该团队?`,description:t.memberCount>0?`该团队下仍有成员,后端会拒绝删除。`:`删除后团队不再出现在设置下拉中。`,onConfirm:()=>z(t),children:(0,Q.jsx)(ZS,{type:`link`,size:`small`,danger:!0,icon:(0,Q.jsx)(ER,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:n,pagination:{current:o,pageSize:c,total:u,onChange:(e,t)=>{s(e),l(t)},showSizeChanger:!0,showTotal:e=>`共 ${e} 个团队`},scroll:{x:1100}})]}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(G3,{}),g.item?`编辑团队`:`新增团队`]}),open:g.open,confirmLoading:i,onOk:R,onCancel:()=>{_({open:!1,item:null}),v.resetFields()},okText:`保存`,cancelText:`取消`,width:520,children:(0,Q.jsxs)(X,{form:v,layout:`vertical`,style:{marginTop:16},children:[(0,Q.jsx)(X.Item,{name:`name`,label:`团队名称`,rules:[{required:!0,message:`请输入团队名称`}],children:(0,Q.jsx)(zN,{maxLength:128,placeholder:`请输入团队名称`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`code`,label:`团队编码`,extra:`选填,用于内部标识或后续外部系统对接。`,children:(0,Q.jsx)(zN,{maxLength:64,placeholder:`例如 sales_a`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`status`,label:`状态`,rules:[{required:!0,message:`请选择状态`}],children:(0,Q.jsx)(Cb,{size:`large`,options:OHe})}),(0,Q.jsx)(X.Item,{name:`sortOrder`,label:`排序`,initialValue:0,children:(0,Q.jsx)(Oj,{min:0,max:999999,precision:0,style:{width:`100%`},size:`large`})}),(0,Q.jsx)(X.Item,{name:`description`,label:`备注`,children:(0,Q.jsx)(zN.TextArea,{rows:3,maxLength:512,placeholder:`选填`})})]})}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(U6,{}),`设置团队管理人`]}),open:y.open,confirmLoading:w,onOk:async()=>{if(y.team)try{T(!0),await NBe(y.team.id,E),xP.success(E?`已设置管理人`:`已取消管理人`),b({open:!1,team:null}),F()}catch(e){xP.error(e?.message||`设置失败`)}finally{T(!1)}},onCancel:()=>{b({open:!1,team:null}),D(null)},okText:`保存`,cancelText:`取消`,width:480,children:(0,Q.jsxs)(`div`,{style:{marginTop:16},children:[(0,Q.jsxs)(Z.Text,{style:{fontSize:13,color:`#64748b`,display:`block`,marginBottom:8},children:[`团队:`,y.team?.name||`-`]}),(0,Q.jsx)(Z.Text,{style:{fontSize:13,color:`#64748b`,display:`block`,marginBottom:12},children:`选择该团队的一名成员作为管理人。管理人可在前台管理团队成员和分配积分。`}),(0,Q.jsx)(Cb,{style:{width:`100%`},placeholder:`选择管理人(可清空取消)`,value:E,onChange:e=>D(e||null),allowClear:!0,loading:w,optionFilterProp:`label`,options:x.map(e=>({value:e.id,label:`${e.username}${e.phone?` (${e.phone})`:``}`})),showSearch:!0})]})}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(U6,{}),`团队成员 - `,O.team?.name]}),open:O.open,onCancel:()=>k({open:!1,team:null}),footer:null,width:600,children:(0,Q.jsx)(`div`,{style:{marginTop:8},children:O.team&&(0,Q.jsx)(uR,{size:`small`,rowKey:`id`,loading:M,dataSource:A,pagination:!1,scroll:{y:400},columns:[{title:`用户名`,dataIndex:`username`,width:140,render:e=>(0,Q.jsx)(Z.Text,{strong:!0,children:e})},{title:`手机号`,dataIndex:`phone`,width:130,render:e=>e||`-`},{title:`积分`,dataIndex:`credits`,width:100,render:e=>(0,Q.jsx)(Z.Text,{style:{color:`#6366f1`},children:(e??0).toFixed(2)})},{title:`状态`,dataIndex:`isActive`,width:80,render:e=>(0,Q.jsx)(CR,{color:e?`green`:`red`,children:e?`启用`:`禁用`})}],locale:{emptyText:`该团队暂无成员`}})})})]})},jHe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!0),[i,a]=(0,C.useState)({open:!1,model:null}),[o]=X.useForm(),s=async()=>{r(!0);try{t(await LBe())}catch{}r(!1)};(0,C.useEffect)(()=>{s()},[]);let c=async()=>{try{let e=await o.validateFields(),t={name:e.name,provider:e.provider,model_name:e.modelName,api_base:e.apiBase,api_key:e.apiKey,weight:e.weight,max_tokens:e.maxTokens,temperature:e.temperature,is_active:e.isActive??!0,priority:e.priority??0};i.model?.id?await n5({id:i.model.id,...t}):await n5(t),xP.success(i.model?.id?`模型配置已更新`:`模型配置已添加`),a({open:!1,model:null}),o.resetFields(),s()}catch(e){if(e?.errorFields)return;xP.error(e?.message||`保存失败`)}},l=async e=>{try{await RBe(e),xP.success(`模型配置已删除`),s()}catch(e){xP.error(e?.message||`删除失败`)}},u=e=>{a({open:!0,model:e||null}),e?o.setFieldsValue(e):(o.resetFields(),o.setFieldsValue({provider:`sdk`,weight:1,maxTokens:4096,temperature:.7,isActive:!0,priority:0}))};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(Z.Text,{type:`secondary`,children:[`共 `,e.length,` 个模型配置,按权重进行加权随机调度`]}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(uA,{}),onClick:()=>u(),style:{borderRadius:8},children:`添加模型`})]}),(0,Q.jsx)(uR,{columns:[{title:`模型名称`,dataIndex:`name`,width:150,render:(e,t)=>(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,background:t.isActive?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`linear-gradient(135deg, #94a3b8, #cbd5e1)`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#fff`,fontSize:14},children:(0,Q.jsx)(j2,{})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`div`,{style:{fontWeight:600},children:e}),(0,Q.jsx)(`div`,{style:{color:`#94a3b8`,fontSize:12},children:t.modelName})]})]})},{title:`提供商`,dataIndex:`provider`,width:140,render:e=>(0,Q.jsx)(CR,{color:e===`mock`?`default`:`blue`,children:{sdk:`SDK模式`,openai_compatible:`OpenAI兼容`,mock:`Mock模式`}[e]||e})},{title:`API地址`,dataIndex:`apiBase`,width:200,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},ellipsis:!0,children:e||`-`})},{title:`权重`,dataIndex:`weight`,width:80,sorter:(e,t)=>e.weight-t.weight},{title:`Max Tokens`,dataIndex:`maxTokens`,width:100},{title:`Temperature`,dataIndex:`temperature`,width:100,render:e=>e.toFixed(1)},{title:`状态`,dataIndex:`isActive`,width:80,render:e=>(0,Q.jsx)(CR,{color:e?`green`:`default`,children:e?`启用`:`停用`})},{title:`操作`,key:`action`,width:150,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(AM,{size:4,children:[(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(kR,{}),onClick:()=>u(t),children:`编辑`}),(0,Q.jsx)(EP,{title:`确定删除该模型配置?`,onConfirm:()=>l(t.id),children:(0,Q.jsx)(ZS,{type:`link`,size:`small`,danger:!0,icon:(0,Q.jsx)(ER,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:n,pagination:!1,scroll:{x:900}})]}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(j2,{}),i.model?.id?`编辑模型`:`添加模型`]}),open:i.open,onOk:c,onCancel:()=>{a({open:!1,model:null}),o.resetFields()},okText:`确认`,cancelText:`取消`,width:560,children:(0,Q.jsxs)(X,{form:o,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`name`,label:`显示名称`,rules:[{required:!0,message:`请输入模型名称`}],children:(0,Q.jsx)(zN,{placeholder:`例如:GPT-4o`,size:`large`})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`provider`,label:`提供商`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(Cb,{size:`large`,options:[{value:`sdk`,label:`SDK模式`},{value:`openai_compatible`,label:`OpenAI兼容`},{value:`mock`,label:`Mock模式`}]})}),(0,Q.jsx)(X.Item,{name:`modelName`,label:`模型标识`,style:{flex:1},rules:[{required:!0,message:`请输入模型标识`}],children:(0,Q.jsx)(zN,{placeholder:`例如:gpt-4o`,size:`large`})})]}),(0,Q.jsx)(X.Item,{name:`apiBase`,label:`API地址`,children:(0,Q.jsx)(zN,{placeholder:`https://api.openai.com/v1`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`apiKey`,label:`API Key`,children:(0,Q.jsx)(zN.Password,{placeholder:`sk-****`,size:`large`})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`weight`,label:`权重`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(Oj,{min:0,max:10,style:{width:`100%`},size:`large`})}),(0,Q.jsx)(X.Item,{name:`maxTokens`,label:`Max Tokens`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(Oj,{min:256,max:128e3,style:{width:`100%`},size:`large`})}),(0,Q.jsx)(X.Item,{name:`temperature`,label:`Temperature`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(Oj,{min:0,max:2,step:.1,style:{width:`100%`},size:`large`})})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`priority`,label:`优先级`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(Oj,{min:0,max:10,style:{width:`100%`},size:`large`})}),(0,Q.jsx)(X.Item,{name:`isActive`,label:`启用`,valuePropName:`checked`,style:{flex:1,paddingTop:30},children:(0,Q.jsx)(sF,{})})]})]})})]})},MHe=[{value:`MB`,label:`MB(1024 × 1024 字节)`},{value:`GB`,label:`GB(1024 × 1024 × 1024 字节)`},{value:`TB`,label:`TB(1024 × 1024 × 1024 × 1024 字节)`}],NHe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!0),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(``),[c]=X.useForm();(0,C.useEffect)(()=>{l()},[]);let l=async()=>{r(!0);try{let[e,n]=await Promise.all([r5(),zBe()]);t(e);let r={};e.forEach(e=>{r[e.key]=e.value}),r.resource_capacity_enabled=n.enabled,r.resource_capacity_limit_value=n.limitValue||`1.000`,r.resource_capacity_limit_unit=n.limitUnit||`GB`,c.setFieldsValue(r)}catch(e){xP.error(e?.message||`加载配置失败`)}finally{r(!1)}},u=async()=>{try{let t=await c.validateFields();a(!0);for(let n of e){let e=t[n.key];e!==void 0&&String(e)!==n.value&&await i5(n.id,String(e??``))}await BBe({enabled:!!t.resource_capacity_enabled,limitValue:String(t.resource_capacity_limit_value??`1.000`),limitUnit:t.resource_capacity_limit_unit||`GB`}),xP.success(`系统配置已保存`),await l()}catch(e){xP.error(e?.message||`保存失败`)}finally{a(!1)}},d=async(n,r)=>{s(r);try{let i=await WBe(n,r);t(e=>e.map(e=>e.key===r?{...e,value:i.url}:e)),c.setFieldsValue({[r]:i.url});let a=e.find(e=>e.key===r);a&&await i5(a.id,i.url),xP.success(`PDF上传成功并已保存`)}catch{xP.error(`上传失败`)}finally{s(``)}return!1},f=async e=>{s(`site_logo`);try{let n=await GBe(e);t(e=>e.map(e=>e.key===`site_logo`?{...e,value:n.url}:e)),c.setFieldsValue({site_logo:n.url}),xP.success(`Logo上传成功`)}catch{xP.error(`上传失败`)}finally{s(``)}return!1},p={站点信息:e.filter(e=>e.key.startsWith(`site_`)),协议配置:e.filter(e=>e.key===`user_agreement_privacy_url`),"SEO 设置":e.filter(e=>e.key.startsWith(`seo_`)),用户积分配置:e.filter(e=>e.key.startsWith(`user_`)&&e.key.includes(`credits`)),其他配置:e.filter(e=>e.key===`operation_manual`)},m=e=>({site_name:`平台显示名称,将展示在页面标题和导航栏`,site_logo:`平台Logo图片URL,建议尺寸 200x40px`,site_copyright:`显示在前台登录页底部的版权信息,例如:© 2024 民众智创 版权所有`,user_agreement_privacy_url:`用户登录时需同意的用户协议及隐私政策PDF文件`,seo_title:`搜索引擎结果中显示的标题`,seo_description:`搜索引擎结果中显示的描述文字,建议150字以内`,seo_keywords:`用逗号分隔的关键词列表`,user_register_credits:`用户注册时赠送的初始积分,默认100`,user_login_credits:`用户每日登录赠送的积分数量`,user_login_credits_enabled:`是否启用每日登录赠送积分功能`,operation_manual:`操作手册链接,前台用户菜单将展示该入口,点击跳转此链接`})[e.key]||e.description||``,h=({config:e})=>{let n=e.value&&e.value.startsWith(`/uploads/`),r=n?`http://ceshi.apiforeign.minzhong.cn${e.value}`:``;return(0,Q.jsxs)(`div`,{style:{padding:`16px`,borderRadius:10,border:`1px solid #f0f0f5`,background:`#fafbfc`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:12},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(I6,{style:{color:`#6366f1`,fontSize:18}}),(0,Q.jsx)(Z.Text,{strong:!0,children:`网站Logo`})]}),(0,Q.jsxs)(AM,{children:[n&&(0,Q.jsx)(ZS,{size:`small`,danger:!0,onClick:()=>{t(e=>e.map(e=>e.key===`site_logo`?{...e,value:``}:e)),c.setFieldsValue({site_logo:``}),xP.success(`Logo已移除`)},children:`移除`}),(0,Q.jsx)(_B,{accept:`image/*`,showUploadList:!1,beforeUpload:f,children:(0,Q.jsx)(ZS,{size:`small`,type:`primary`,icon:(0,Q.jsx)(I6,{}),loading:o===`site_logo`,children:n?`重新上传`:`上传Logo`})})]})]}),n?(0,Q.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,Q.jsx)(`img`,{src:r,alt:`Logo预览`,style:{maxWidth:200,maxHeight:80,objectFit:`contain`,border:`1px solid #e2e8f0`,borderRadius:8,padding:8}}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12,display:`block`,marginTop:8},children:`建议尺寸:200x40px,支持 PNG、JPG 格式`})]}):(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:`尚未上传Logo,将使用系统默认Logo`})]})},g=({config:e})=>{let t=e.key===`user_agreement_privacy_url`?`用户协议及隐私政策`:`协议文件`,n=e.value&&e.value.startsWith(`/uploads/`);return(0,Q.jsxs)(`div`,{style:{padding:`16px`,borderRadius:10,border:`1px solid #f0f0f5`,background:`#fafbfc`,marginBottom:12},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:8},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(SX,{style:{color:`#ef4444`,fontSize:18}}),(0,Q.jsx)(Z.Text,{strong:!0,children:t})]}),(0,Q.jsxs)(AM,{children:[n&&(0,Q.jsx)(ZS,{size:`small`,icon:(0,Q.jsx)(AN,{}),onClick:()=>window.open(`http://ceshi.apiforeign.minzhong.cn${e.value}`,`_blank`),children:`预览`}),(0,Q.jsx)(_B,{accept:`.pdf`,showUploadList:!1,beforeUpload:t=>d(t,e.key),children:(0,Q.jsx)(ZS,{size:`small`,type:`primary`,icon:(0,Q.jsx)(I6,{}),loading:o===e.key,children:n?`重新上传`:`上传PDF`})})]})]}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:n?`已上传: ${e.value}`:`尚未上传,前台将不显示对应链接`})]})},_=e=>e.key===`site_logo`?(0,Q.jsx)(h,{config:e}):e.key===`seo_description`?(0,Q.jsx)(zN.TextArea,{rows:3,placeholder:e.description,size:`large`}):e.key===`seo_keywords`?(0,Q.jsx)(zN,{placeholder:`关键词1, 关键词2, 关键词3`,size:`large`}):e.key===`user_login_credits_enabled`?(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,Q.jsx)(sF,{defaultChecked:e.value===`true`}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:13},children:e.value===`true`?`已启用`:`已禁用`})]}):e.key===`user_register_credits`||e.key===`user_login_credits`?(0,Q.jsx)(zN,{type:`number`,min:0,placeholder:e.description,size:`large`}):(0,Q.jsx)(zN,{placeholder:e.description,size:`large`});return n?(0,Q.jsx)(FA,{loading:!0,variant:`outlined`,style:{borderRadius:12}}):(0,Q.jsxs)(`div`,{style:{maxWidth:720},children:[(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`,marginBottom:16},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12,marginBottom:24},children:[(0,Q.jsx)(`div`,{style:{width:44,height:44,borderRadius:10,background:`rgba(99,102,241,0.08)`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:20,color:`#6366f1`},children:(0,Q.jsx)(c4,{})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Title,{level:4,style:{margin:0},children:`系统设置`}),(0,Q.jsx)(Z.Text,{type:`secondary`,children:`管理站点基础信息、协议文件和SEO配置`})]})]}),(0,Q.jsxs)(X,{form:c,layout:`vertical`,children:[Object.entries(p).map(([e,t])=>(0,Q.jsxs)(`div`,{style:{marginBottom:24},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14,display:`block`,marginBottom:12,paddingBottom:8,borderBottom:`1px solid #f0f0f5`},children:e}),e===`协议配置`?t.map(e=>(0,Q.jsx)(g,{config:e},e.id)):t.map(e=>(0,Q.jsx)(X.Item,{name:e.key,label:(0,Q.jsx)(`span`,{style:{fontWeight:500},children:e.description}),extra:m(e),children:_(e)},e.id))]},e)),(0,Q.jsxs)(`div`,{style:{marginBottom:4},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14,display:`block`,marginBottom:12,paddingBottom:8,borderBottom:`1px solid #f0f0f5`},children:`资源空间管控`}),(0,Q.jsxs)(`div`,{style:{padding:16,border:`1px solid #f0f0f5`,borderRadius:10,background:`#fafbfc`},children:[(0,Q.jsxs)(AM,{align:`start`,style:{marginBottom:16},children:[(0,Q.jsx)(EJ,{style:{color:`#6366f1`,fontSize:18,marginTop:2}}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,children:`全局生成资源容量上限`}),(0,Q.jsx)(`div`,{style:{color:`#64748b`,fontSize:13,marginTop:4},children:`开启后会按用户当前有效资源占用量进行提交前拦截;用户个人配置存在时优先级高于全局配置。`})]})]}),(0,Q.jsx)(X.Item,{name:`resource_capacity_enabled`,label:`启用全局容量管控`,valuePropName:`checked`,extra:`关闭时全局不限制;若用户设置了个人配置,则仍按用户个人配置优先判断。`,children:(0,Q.jsx)(sF,{checkedChildren:`开启`,unCheckedChildren:`关闭`})}),(0,Q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`1fr 180px`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`resource_capacity_limit_value`,label:`容量数值`,extra:`最小为1,不能为负数,最多支持3位小数。`,rules:[{required:!0,message:`请输入容量数值`}],children:(0,Q.jsx)(Oj,{min:1,precision:3,style:{width:`100%`},size:`large`,placeholder:`例如 10.500`})}),(0,Q.jsx)(X.Item,{name:`resource_capacity_limit_unit`,label:`容量单位`,extra:`MB / GB / TB 固定枚举`,rules:[{required:!0,message:`请选择容量单位`}],children:(0,Q.jsx)(Cb,{size:`large`,options:MHe})})]})]})]})]})]}),(0,Q.jsx)(`div`,{style:{display:`flex`,justifyContent:`flex-end`},children:(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(K2,{}),onClick:u,loading:i,size:`large`,style:{borderRadius:8,minWidth:140},children:`保存配置`})})]})},PHe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)([]),[o,s]=(0,C.useState)(!1),[c]=X.useForm(),[l,u]=(0,C.useState)({open:!1,notifId:``,title:``}),[d,f]=(0,C.useState)([]),[p,m]=(0,C.useState)(!1),[h,g]=(0,C.useState)(1),[_,v]=(0,C.useState)(10),[y,b]=(0,C.useState)(0),x=async()=>{r(!0);try{let e=await aVe(h,_),n=(await e5(1,1e3)).items||[],r={};n.forEach(e=>{r[e.id]=e.username}),t((e.items||[]).map(e=>({id:e.id,title:e.title,content:e.content,type:e.type,targetUserId:e.userId||null,target:e.userId?r[e.userId]||e.userId:`全部用户`,createdAt:e.createdAt}))),b(e.total||0),a(n.map(e=>({id:e.id,username:e.username})))}catch{xP.error(`加载通知列表失败`)}finally{r(!1)}};(0,C.useEffect)(()=>{x()},[h,_]);let S=(e,t)=>{g(e),v(t)},w=async()=>{try{let e=await c.validateFields();await oVe({title:e.title,content:e.content,type:e.type||`system`,target_user_id:e.target_user_id||void 0}),xP.success(`消息已发送`),s(!1),c.resetFields(),x()}catch{}},T=async e=>{try{await sVe(e),xP.success(`已删除`),x()}catch(e){xP.error(e?.message||`删除失败`)}},E=async(e,t)=>{u({open:!0,notifId:e,title:t}),m(!0);try{f((await cVe(e)).items||[])}catch{xP.error(`加载已读列表失败`)}finally{m(!1)}},D=e=>{switch(e){case`system`:return`blue`;case`credit`:return`orange`;case`promo`:return`purple`;default:return`default`}};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(WU,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`消息推送管理`}),(0,Q.jsxs)(CR,{color:`purple`,children:[`共 `,y,` 条消息`]})]}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(uA,{}),onClick:()=>s(!0),style:{borderRadius:8},children:`发送新消息`})]}),(0,Q.jsx)(uR,{columns:[{title:`标题`,dataIndex:`title`,width:200,render:e=>(0,Q.jsx)(Z.Text,{strong:!0,children:e})},{title:`内容`,dataIndex:`content`,ellipsis:!0},{title:`类型`,dataIndex:`type`,width:80,render:e=>(0,Q.jsx)(CR,{color:D(e),children:{system:`系统`,credit:`积分`,promo:`活动`}[e]||e})},{title:`发送目标`,dataIndex:`target`,width:120,render:e=>(0,Q.jsx)(CR,{color:e===`全部用户`?`green`:`blue`,children:e})},{title:`发送时间`,dataIndex:`createdAt`,width:160,render:e=>D5(e)},{title:`操作`,key:`action`,width:180,render:(e,t)=>(0,Q.jsxs)(AM,{size:4,children:[(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(AN,{}),onClick:()=>E(t.id,t.title),children:`已读`}),(0,Q.jsx)(EP,{title:`确定删除该消息?`,onConfirm:()=>T(t.id),children:(0,Q.jsx)(ZS,{type:`link`,danger:!0,size:`small`,icon:(0,Q.jsx)(ER,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:n,pagination:{current:h,pageSize:_,total:y,onChange:S,showSizeChanger:!0,showTotal:e=>`共 ${e} 条消息`},scroll:{x:900}})]}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(a4,{}),`发送消息`]}),open:o,onOk:w,onCancel:()=>{s(!1),c.resetFields()},okText:`发送`,cancelText:`取消`,width:520,children:(0,Q.jsxs)(X,{form:c,layout:`vertical`,style:{marginTop:16},children:[(0,Q.jsx)(X.Item,{name:`title`,label:`消息标题`,rules:[{required:!0,message:`请输入标题`}],children:(0,Q.jsx)(zN,{placeholder:`请输入消息标题`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`content`,label:`消息内容`,rules:[{required:!0,message:`请输入内容`}],children:(0,Q.jsx)(zN.TextArea,{rows:4,placeholder:`请输入消息内容`,size:`large`})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`type`,label:`消息类型`,style:{flex:1},initialValue:`system`,rules:[{required:!0}],children:(0,Q.jsx)(Cb,{size:`large`,options:[{value:`system`,label:`系统通知`},{value:`credit`,label:`积分通知`},{value:`promo`,label:`活动通知`}]})}),(0,Q.jsx)(X.Item,{name:`target_user_id`,label:`发送目标`,style:{flex:1},extra:`留空则发送给全部用户`,children:(0,Q.jsx)(Cb,{size:`large`,allowClear:!0,placeholder:`全部用户`,options:i.map(e=>({value:e.id,label:e.username}))})})]})]})}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(G3,{}),`已读用户 — `,l.title]}),open:l.open,onCancel:()=>{u({open:!1,notifId:``,title:``}),f([])},footer:null,width:480,children:p?(0,Q.jsx)(`div`,{style:{textAlign:`center`,padding:40},children:`加载中...`}):d.length===0?(0,Q.jsx)(qy,{description:`暂无用户已读`,style:{padding:`40px 0`}}):(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`div`,{style:{marginBottom:12,color:`#64748b`,fontSize:13},children:[`共 `,d.length,` 人已读`]}),(0,Q.jsx)(uR,{dataSource:d,rowKey:`userId`,pagination:!1,size:`small`,columns:[{title:`用户名`,dataIndex:`username`,render:e=>(0,Q.jsx)(Z.Text,{strong:!0,children:e})},{title:`已读时间`,dataIndex:`readAt`,width:180,render:e=>D5(e)}]})]})})]})},FHe=o(((e,t)=>{var n={version:`1.15.0`};n[437]=(function(){for(var e=`\0\x07\b \v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■\xA0`,t=[],n={},r=0;r!=e.length;++r)e.charCodeAt(r)!==65533&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}})(),n[620]=(function(){for(var e=`\0\x07\b \v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàąçêëèïîćÄĄĘęłôöĆûùŚÖܢ٥śƒŹŻóÓńŃźż¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■\xA0`,t=[],n={},r=0;r!=e.length;++r)e.charCodeAt(r)!==65533&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}})(),n[737]=(function(){for(var e=`\0\x07\b \v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■\xA0`,t=[],n={},r=0;r!=e.length;++r)e.charCodeAt(r)!==65533&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}})(),n[850]=(function(){for(var e=`\0\x07\b @@ -426,7 +426,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho \v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»…\xA0ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ`,t=[],n={},r=0;r!=e.length;++r)e.charCodeAt(r)!==65533&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}})(),n[10079]=(function(){for(var e=`\0\x07\b \v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»…\xA0ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ`,t=[],n={},r=0;r!=e.length;++r)e.charCodeAt(r)!==65533&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}})(),n[10081]=(function(){for(var e=`\0\x07\b \v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»…\xA0ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ`,t=[],n={},r=0;r!=e.length;++r)e.charCodeAt(r)!==65533&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}})(),n[28591]=(function(){for(var e=`\0\x07\b -\v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ\xA0¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ`,t=[],n={},r=0;r!=e.length;++r)e.charCodeAt(r)!==65533&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}})(),t!==void 0&&t.exports&&typeof DO_NOT_EXPORT_CODEPAGE>`u`&&(t.exports=n),(function(e,r){if(n===void 0)if(u!==void 0){var i=n;t!==void 0&&t.exports&&typeof DO_NOT_EXPORT_CODEPAGE>`u`?t.exports=r(i):e.cptable=r(i)}else throw Error(`cptable not found`);else n=r(n)})(e,function(e){var t={1200:`utf16le`,1201:`utf16be`,12e3:`utf32le`,12001:`utf32be`,16969:`utf64le`,20127:`ascii`,65e3:`utf7`,65001:`utf8`},n=[874,1250,1251,1252,1253,1254,1255,1256,1e4],r=[932,936,949,950],i=[65001],a={},o={},s={},c={},l=function(e){return String.fromCharCode(e)},u=function(e){return e.charCodeAt(0)},d=typeof Buffer<`u`,f=function(){};if(d){var p=!Buffer.from;if(!p)try{Buffer.from(`foo`,`utf8`)}catch{p=!0}f=p?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer),Buffer.allocUnsafe||(Buffer.allocUnsafe=function(e){return new Buffer(e)});var m=1024,h=Buffer.allocUnsafe(m),g=function(e){for(var t=Buffer.allocUnsafe(65536),n=0;n<65536;++n)t[n]=0;for(var r=Object.keys(e),i=r.length,a=0,o=r[a];a>10&1023)],i[o++]=n[56320+(c&1023)]));i=i.slice(0,o)}else for(i=Buffer.allocUnsafe(r),a=0;a>8}return function(e){var t=e.length,n=0,i=0;if(2*t>m&&(m=2*t,h=Buffer.allocUnsafe(m)),Buffer.isBuffer(e))for(n=0;n>8}return function(e,t){var n=e.length,i=Buffer.allocUnsafe(2*n),a=0,o=0,s=0,c=0,l=0;if(typeof e==`string`){for(a=c=0;a0&&(i[c++]=r[o]);i=i.slice(0,c)}else if(Buffer.isBuffer(e)){for(a=c=0;a0&&(i[c++]=r[o])):(s=o-65536,o=2*(55296+(s>>10&1023)),i[c++]=r[o+1]||r[o],r[o+1]>0&&(i[c++]=r[o]),o=2*(56320+(s&1023)),i[c++]=r[o+1]||r[o],r[o+1]>0&&(i[c++]=r[o]));i=i.slice(0,c)}else for(a=c=0;a0&&(i[c++]=r[o]);return!t||t===`buf`?i:t===`arr`?[].slice.call(i):i.toString(`binary`)}},b=function(t){var n=e[t].dec,r=Buffer.allocUnsafe(131072),i=0,a,o=0,s=0,c=0;for(c=0;c<65536;++c)r[2*c]=255,r[2*c+1]=253;for(i=0;i>8);return function(e){var t=e.length,n=Buffer.allocUnsafe(2*t),i=0,a=0,o=0;if(Buffer.isBuffer(e))for(i=0;im&&(m=4*n,h=Buffer.allocUnsafe(m));var a=0;n>=3&&t[0]==239&&t[1]==187&&t[2]==191&&(a=3);for(var o=1,s=0,c=0;a>8):(r-=65536,i=55296+(r>>10&1023),r=56320+(r&1023),h[s++]=i&255,h[s++]=i>>>8,h[s++]=r&255,h[s++]=r>>>8&255);return h.slice(0,s).toString(`ucs2`)},o[65001]=function(e,t){if(d&&Buffer.isBuffer(e))return!t||t===`buf`?e:t===`arr`?[].slice.call(e):e.toString(`binary`);var n=e.length,r=0,i=0,a=0,o=typeof e==`string`;4*n>m&&(m=4*n,h=Buffer.allocUnsafe(m));for(var s=0;s>6),h[a++]=128+(r&63)):r>=55296&&r<=57343?(r-=55296,++s,i=(o?e.charCodeAt(s):e[s].charCodeAt(0))-56320+(r<<10),h[a++]=240+(i>>>18&7),h[a++]=144+(i>>>12&63),h[a++]=128+(i>>>6&63),h[a++]=128+(i&63)):(h[a++]=224+(r>>12),h[a++]=128+(r>>6&63),h[a++]=128+(r&63));return!t||t===`buf`?h.slice(0,a):t===`arr`?[].slice.call(h,0,a):h.slice(0,a).toString(`binary`)}}var x=function(){if(d){if(s[n[0]])return;var t=0,l=0;for(t=0;t=3&&i[0]==239&&i[1]==187&&i[2]==191&&(p=3);p>10&1023),f=56320+(f&1023),c[h++]=String.fromCharCode(g),c[h++]=String.fromCharCode(f));break;case`ascii`:if(d&&Buffer.isBuffer(i))return i.toString(y);for(p=0;p=2&&i[0]==255&&i[1]==254&&(p=2),d&&Buffer.isBuffer(i))return i.toString(y);for(m=2;p+1=2&&i[0]==254&&i[1]==255&&(p=2),m=2;p+1=4&&i[0]==255&&i[1]==254&&i[2]===0&&i[3]===0&&(p=4),m=4;p65535?(f-=65536,c[h++]=String.fromCharCode(55296+(f>>10&1023)),c[h++]=String.fromCharCode(56320+(f&1023))):c[h++]=String.fromCharCode(f);break;case`utf32be`:for(o>=4&&i[3]==255&&i[2]==254&&i[1]===0&&i[0]===0&&(p=4),m=4;p65535?(f-=65536,c[h++]=String.fromCharCode(55296+(f>>10&1023)),c[h++]=String.fromCharCode(56320+(f&1023))):c[h++]=String.fromCharCode(f);break;case`utf7`:for(o>=4&&i[0]==43&&i[1]==47&&i[2]==118&&(o>=5&&i[3]==56&&i[4]==45?p=5:(i[3]==56||i[3]==57||i[3]==43||i[3]==47)&&(p=4));p>4,x.push(C),k=T.indexOf(String.fromCharCode(i[p+ j++])),!(k===-1||(w=(O&15)<<4|k>>2,x.push(w),A=T.indexOf(String.fromCharCode(i[p+ j++])),A===-1)));)E=(k&3)<<6|A,A<64&&x.push(E);for(S=n(1201,x),j=0;j255?(s[m]=u>>8,s[++m]=u&255):s[m]=u&255;else if(v=t[r])switch(v){case`utf8`:if(d&&y){s=f(i,v),m=s.length;break}for(p=0;p>6),s[++m]=128+(u&63)):u>=55296&&u<=57343?(u-=55296,h=(y?i.charCodeAt(++p):i[++p].charCodeAt(0))-56320+(u<<10),s[m]=240+(h>>>18&7),s[++m]=144+(h>>>12&63),s[++m]=128+(h>>>6&63),s[++m]=128+(h&63)):(s[m]=224+(u>>12),s[++m]=128+(u>>6&63),s[++m]=128+(u&63));break;case`ascii`:if(d&&typeof i==`string`){s=f(i,v),m=s.length;break}for(p=0;p>8;break;case`utf16be`:for(p=0;p>8,s[m++]=u&255;break;case`utf32le`:for(p=0;p=55296&&u<=57343&&(u=65536+(u-55296<<10)+(i[++p].charCodeAt(0)-56320)),s[m++]=u&255,u>>=8,s[m++]=u&255,u>>=8,s[m++]=u&255,u>>=8,s[m++]=u&255;break;case`utf32be`:for(p=0;p=55296&&u<=57343&&(u=65536+(u-55296<<10)+(i[++p].charCodeAt(0)-56320)),s[m+3]=u&255,u>>=8,s[m+2]=u&255,u>>=8,s[m+1]=u&255,u>>=8,s[m]=u&255,m+=4;break;case`utf7`:for(p=0;p-1){s[m++]=b.charCodeAt(0);continue}var x=n(1201,b);s[m++]=43,s[m++]=T.charCodeAt(x[0]>>2),s[m++]=T.charCodeAt(((x[0]&3)<<4)+((x[1]||0)>>4)),s[m++]=T.charCodeAt(((x[1]&15)<<2)+((x[2]||0)>>6)),s[m++]=45}break;default:throw Error(`Unsupported magic: `+r+` `+t[r])}else throw Error(`Unrecognized CP: `+r);return s=s.slice(0,m),d?!a||a===`buf`?s:a===`arr`?[].slice.call(s):s.toString(`binary`):a==`str`?s.map(l).join(``):s},hascp:function(n){return!!(e[n]||t[n])},magic:t,cache:w},e})})),z5=o(((e,t)=>{t.exports={}})),B5=l(o(((e,t)=>{var n={};function r(e){e.version=`0.18.5`,e.style_version=`1.2.0`;var n,r=1200,i=1252;typeof cptable<`u`?n=cptable:t!==void 0&&u!==void 0&&(n=OHe());var a=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],o={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},s=function(e){a.indexOf(e)!=-1&&(i=o[0]=e)},c=function(e){s(r=e)};function l(){c(1200),s(1252)}function d(e){for(var t=[],n=0,r=e.length;n>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join(``)}var p=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return t==255&&n==254?function(e){for(var t=[],n=0;n>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n)+(e.charCodeAt(2*n+1)<<8));return t.join(``)}(e.slice(2)):t==254&&n==255?f(e.slice(2)):t==65279?e.slice(1):e},m=function(e){return String.fromCharCode(e)},h=function(e){return String.fromCharCode(e)};n!==void 0&&(c=function(e){s(r=e)},p=function(e){return e.charCodeAt(0)===255&&e.charCodeAt(1)===254?n.utils.decode(1200,d(e.slice(2))):e},m=function(e){return r===1200?String.fromCharCode(e):n.utils.decode(r,[255&e,e>>8])[0]},h=function(e){return n.utils.decode(i,[e])[0]});var g=null,_=!0,v=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`;function y(e){for(var t,n,r,i,a,o=``,s=0,c=0,l=0;l>2,a=(3&t)<<4|(n=e.charCodeAt(l++))>>4,s=(15&n)<<2|(r=e.charCodeAt(l++))>>6,c=63&r,isNaN(n)?s=c=64:isNaN(r)&&(c=64),o+=v.charAt(i)+v.charAt(a)+v.charAt(s)+v.charAt(c);return o}function b(e){var t,n,r,i,a,o,s=``;e=e.replace(/[^\w\+\/\=]/g,``);for(var c=0;c>4,s+=String.fromCharCode(t),n=(15&i)<<4|(a=v.indexOf(e.charAt(c++)))>>2,a!==64&&(s+=String.fromCharCode(n)),r=(3&a)<<6|(o=v.indexOf(e.charAt(c++))),o!==64&&(s+=String.fromCharCode(r));return s}var x=typeof Buffer<`u`&&typeof process<`u`&&process.versions!==void 0&&!!process.versions.node,S=function(){if(typeof Buffer>`u`)return function(){};var e=!Buffer.from;if(!e)try{Buffer.from(`foo`,`utf8`)}catch{e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}();function C(e){return x?Buffer.alloc?Buffer.alloc(e):new Buffer(e):new(typeof Uint8Array<`u`?Uint8Array:Array)(e)}function w(e){return x?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):new(typeof Uint8Array<`u`?Uint8Array:Array)(e)}var T=function(e){return x?S(e,`binary`):e.split(``).map(function(e){return 255&e.charCodeAt(0)})};function E(e){if(typeof ArrayBuffer>`u`)return T(e);for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r!=e.length;++r)n[r]=255&e.charCodeAt(r);return t}function D(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join(``);for(var t=[],n=0;n`u`)throw Error(`Unsupported`);if(e instanceof ArrayBuffer)return O(new Uint8Array(e));for(var t=Array(e.length),n=0;n`u`)return[].concat.apply([],e.map(function(e){return Array.isArray(e)?e:[].slice.call(e)}));for(var t=0,n=0,t=0;t=7+t&&(32|e.charCodeAt(t))==103&&(32|e.charCodeAt(t+1))==101&&(32|e.charCodeAt(t+2))==110&&(32|e.charCodeAt(t+3))==101&&(32|e.charCodeAt(t+4))==114&&(32|e.charCodeAt(t+5))==97&&(32|e.charCodeAt(t+6))==108}var z=[[`Sun`,`Sunday`],[`Mon`,`Monday`],[`Tue`,`Tuesday`],[`Wed`,`Wednesday`],[`Thu`,`Thursday`],[`Fri`,`Friday`],[`Sat`,`Saturday`]],B=[[`J`,`Jan`,`January`],[`F`,`Feb`,`February`],[`M`,`Mar`,`March`],[`A`,`Apr`,`April`],[`M`,`May`,`May`],[`J`,`Jun`,`June`],[`J`,`Jul`,`July`],[`A`,`Aug`,`August`],[`S`,`Sep`,`September`],[`O`,`Oct`,`October`],[`N`,`Nov`,`November`],[`D`,`Dec`,`December`]],V={0:`General`,1:`0`,2:`0.00`,3:`#,##0`,4:`#,##0.00`,9:`0%`,10:`0.00%`,11:`0.00E+00`,12:`# ?/?`,13:`# ??/??`,14:`m/d/yy`,15:`d-mmm-yy`,16:`d-mmm`,17:`mmm-yy`,18:`h:mm AM/PM`,19:`h:mm:ss AM/PM`,20:`h:mm`,21:`h:mm:ss`,22:`m/d/yy h:mm`,37:`#,##0 ;(#,##0)`,38:`#,##0 ;[Red](#,##0)`,39:`#,##0.00;(#,##0.00)`,40:`#,##0.00;[Red](#,##0.00)`,45:`mm:ss`,46:`[h]:mm:ss`,47:`mmss.0`,48:`##0.0E+0`,49:`@`,56:`"上午/下午 "hh"時"mm"分"ss"秒 "`},H={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},U={5:`"$"#,##0_);\\("$"#,##0\\)`,63:`"$"#,##0_);\\("$"#,##0\\)`,6:`"$"#,##0_);[Red]\\("$"#,##0\\)`,64:`"$"#,##0_);[Red]\\("$"#,##0\\)`,7:`"$"#,##0.00_);\\("$"#,##0.00\\)`,65:`"$"#,##0.00_);\\("$"#,##0.00\\)`,8:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,66:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,41:`_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)`,42:`_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)`,43:`_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)`,44:`_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)`};function W(e,t,n){for(var r=e<0?-1:1,i=e*r,a=0,o=1,s=0,c=1,l=0,u=0,d=Math.floor(i);l(e<0?12:11)||a===`0`||a===`-0`?e.toPrecision(6):a;return ae((a=a.toUpperCase()).indexOf(`E`)==-1?a:a.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,`$1E`).replace(/(E[+-])(\d)$/,`$10$2`))}function oe(e,t){switch(typeof e){case`string`:return e;case`boolean`:return e?`TRUE`:`FALSE`;case`number`:return(0|e)===e?e.toString(10):G(e);case`undefined`:return``;case`object`:if(e==null)return``;if(e instanceof Date)return we(14,ie(e,t&&t.date1904),t)}throw Error(`unsupported value in General format: `+e)}function K(e){if(e.length<=3)return e;for(var t=e.length%3,n=e.substr(0,t);t!=e.length;t+=3)n+=(0t.length?i:fe(t.substr(0,t.length-i.length))+i;if(a=t.match(ce))return d=a,s=f,c=p,l=parseInt(d[4],10),u=Math.round(s*l),s=Math.floor(u/l),c+(s===0?``:``+s)+` `+((u-=s*l)==0?Qe(` `,d[1].length+1+d[4].length):P(u,d[1].length)+d[2]+`/`+d[3]+N(l,d[4].length));if(t.match(/^#+0+$/))return p+L(f,t.length-t.indexOf(`0`));if(a=t.match(le))return i=pe(n,a[1].length).replace(/^([^\.]+)$/,`$1.`+fe(a[1])).replace(/\.$/,`.`+fe(a[1])).replace(/\.(\d*)$/,function(e,t){return`.`+t+Qe(`0`,fe(a[1]).length-t.length)}),t.indexOf(`0.`)===-1?i.replace(/^0\./,`.`):i;if(t=t.replace(/^#+([0.])/,`$1`),a=t.match(/^(0*)\.(#*)$/))return p+pe(f,a[2].length).replace(/\.(\d*[1-9])0*$/,`.$1`).replace(/^(-?\d*)$/,`$1.`).replace(/^0\./,a[1].length?`0.`:`.`);if(a=t.match(/^#{1,3},##0(\.?)$/))return p+K(L(f,0));if(a=t.match(/^#,##0\.([#0]*0)$/))return n<0?`-`+he(e,t,-n):K(``+(Math.floor(n)+(d=n,+((m=a[1].length)<(``+Math.round((d-Math.floor(d))*10**m)).length))))+`.`+N(me(n,a[1].length),a[1].length);if(a=t.match(/^#,#*,#0/))return he(e,t.replace(/^#,#*,/,``),n);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=M(he(e,t.replace(/[\\-]/g,``),n)),o=0,M(M(t.replace(/\\/g,``)).replace(/[0#]/g,function(e){return ot.length?s:fe(t.substr(0,t.length-s.length))+s;if(c=t.match(ce))return d+((f=u)===0?``:``+f)+Qe(` `,(f=c)[1].length+2+f[4].length);if(t.match(/^#+0+$/))return d+N(u,t.length-t.indexOf(`0`));if(c=t.match(le))return s=(s=(``+n).replace(/^([^\.]+)$/,`$1.`+fe(c[1])).replace(/\.$/,`.`+fe(c[1]))).replace(/\.(\d*)$/,function(e,t){return`.`+t+Qe(`0`,fe(c[1]).length-t.length)}),t.indexOf(`0.`)===-1?s.replace(/^0\./,`.`):s;if(t=t.replace(/^#+([0.])/,`$1`),c=t.match(/^(0*)\.(#*)$/))return d+(``+u).replace(/\.(\d*[1-9])0*$/,`.$1`).replace(/^(-?\d*)$/,`$1.`).replace(/^0\./,c[1].length?`0.`:`.`);if(c=t.match(/^#{1,3},##0(\.?)$/))return d+K(``+u);if(c=t.match(/^#,##0\.([#0]*0)$/))return n<0?`-`+ge(e,t,-n):K(``+n)+`.`+Qe(`0`,c[1].length);if(c=t.match(/^#,#*,#0/))return ge(e,t.replace(/^#,#*,/,``),n);if(c=t.match(/^([0#]+)(\\?-([0#]+))+$/))return s=M(ge(e,t.replace(/[\\-]/g,``),n)),l=0,M(M(t.replace(/\\/g,``)).replace(/[0#]/g,function(e){return l=€acfijklopqrtuvwxzP`.indexOf(u)===-1)throw Error(`unrecognized character `+u+` in `+e);s[s.length]={t:`t`,v:u},++l}var h,g=0,_=0;for(l=s.length-1,d=`t`;0<=l;--l)switch(s[l].t){case`h`:case`H`:s[l].t=f,d=`h`,g<1&&(g=1);break;case`s`:(h=s[l].v.match(/\.0+$/))&&(_=Math.max(_,h[0].length-1)),g<3&&(g=3);case`d`:case`y`:case`M`:case`e`:d=s[l].t;break;case`m`:d===`s`&&(s[l].t=`M`,g<2&&(g=2));break;case`X`:break;case`Z`:(g=(g=g<1&&s[l].v.match(/[Hh]/)?1:g)<2&&s[l].v.match(/[Mm]/)?2:g)<3&&s[l].v.match(/[Ss]/)&&(g=3)}switch(g){case 0:break;case 1:.5<=i.u&&(i.u=0,++i.S),60<=i.S&&(i.S=0,++i.M),60<=i.M&&(i.M=0,++i.H);break;case 2:.5<=i.u&&(i.u=0,++i.S),60<=i.S&&(i.S=0,++i.M)}var v,y=``;for(l=0;l=s[l].v.length-1?(v-=s[l].v.length,s[l].v=x.substr(v+1,s[l].v.length)):v<0?s[l].v=``:(s[l].v=x.substr(0,v+1),v=-1),s[l].t=`t`,w=l);0<=v&&w[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Se(e,t){if(t!=null){var n=parseFloat(t[2]);switch(t[1]){case`=`:if(e==n)return 1;break;case`>`:if(n`:if(e!=n)return 1;break;case`>=`:if(n<=e)return 1;break;case`<=`:if(e<=n)return 1}}}function Ce(e,t){var n=function(e){for(var t=[],n=!1,r=0,i=0;r]/)==null&&n[1].match(/\[[=<>]/)==null?[r,a]:(e=n[0].match(xe),a=n[1].match(xe),Se(t,e)?[r,n[0]]:Se(t,a)?[r,n[1]]:[r,n[e!=null&&a!=null?2:1]])}function we(e,t,n){n??={};var r=``;switch(typeof e){case`string`:r=e==`m/d/yy`&&n.dateNF?n.dateNF:e;break;case`number`:(r=(r=e==14&&n.dateNF?n.dateNF:(n.table==null?V:n.table)[e])??(n.table&&n.table[H[e]]||V[H[e]]))??(r=U[e]||`General`)}if(R(r,0))return oe(t,n);var i=Ce(r,t=t instanceof Date?ie(t,n.date1904):t);if(R(i[1]))return oe(t,n);if(!0===t)t=`TRUE`;else if(!1===t)t=`FALSE`;else if(t===``||t==null)return``;return be(i[1],t,n,i[0])}function Te(e,t){if(typeof t!=`number`){t=+t||-1;for(var n=0;n<392;++n)if(V[n]!=null){if(V[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return V[t]=e,t}function Ee(e){for(var t=0;t!=392;++t)e[t]!==void 0&&Te(e[t],t)}function De(){var e;(e||={})[0]=`General`,e[1]=`0`,e[2]=`0.00`,e[3]=`#,##0`,e[4]=`#,##0.00`,e[9]=`0%`,e[10]=`0.00%`,e[11]=`0.00E+00`,e[12]=`# ?/?`,e[13]=`# ??/??`,e[14]=`m/d/yy`,e[15]=`d-mmm-yy`,e[16]=`d-mmm`,e[17]=`mmm-yy`,e[18]=`h:mm AM/PM`,e[19]=`h:mm:ss AM/PM`,e[20]=`h:mm`,e[21]=`h:mm:ss`,e[22]=`m/d/yy h:mm`,e[37]=`#,##0 ;(#,##0)`,e[38]=`#,##0 ;[Red](#,##0)`,e[39]=`#,##0.00;(#,##0.00)`,e[40]=`#,##0.00;[Red](#,##0.00)`,e[45]=`mm:ss`,e[46]=`[h]:mm:ss`,e[47]=`mmss.0`,e[48]=`##0.0E+0`,e[49]=`@`,e[56]=`"上午/下午 "hh"時"mm"分"ss"秒 "`,V=e}var Oe={format:we,load:Te,_table:V,load_table:Ee,parse_date_code:ee,is_date:ye,get_table:function(){return Oe._table=V}},ke={5:`"$"#,##0_);\\("$"#,##0\\)`,6:`"$"#,##0_);[Red]\\("$"#,##0\\)`,7:`"$"#,##0.00_);\\("$"#,##0.00\\)`,8:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,23:`General`,24:`General`,25:`General`,26:`General`,27:`m/d/yy`,28:`m/d/yy`,29:`m/d/yy`,30:`m/d/yy`,31:`m/d/yy`,32:`h:mm:ss`,33:`h:mm:ss`,34:`h:mm:ss`,35:`h:mm:ss`,36:`m/d/yy`,41:`_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)`,42:`_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)`,43:`_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)`,44:`_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)`,50:`m/d/yy`,51:`m/d/yy`,52:`m/d/yy`,53:`m/d/yy`,54:`m/d/yy`,55:`m/d/yy`,56:`m/d/yy`,57:`m/d/yy`,58:`m/d/yy`,59:`0`,60:`0.00`,61:`#,##0`,62:`#,##0.00`,63:`"$"#,##0_);\\("$"#,##0\\)`,64:`"$"#,##0_);[Red]\\("$"#,##0\\)`,65:`"$"#,##0.00_);\\("$"#,##0.00\\)`,66:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,67:`0%`,68:`0.00%`,69:`# ?/?`,70:`# ??/??`,71:`m/d/yy`,72:`m/d/yy`,73:`d-mmm-yy`,74:`d-mmm`,75:`mmm-yy`,76:`h:mm`,77:`h:mm:ss`,78:`m/d/yy h:mm`,79:`mm:ss`,80:`[h]:mm:ss`,81:`mmss.0`},Ae=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g,je,Me=function(){var e={};e.version=`1.2.0`;var t=function(){for(var e=0,t=Array(256),n=0;n!=256;++n)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=n)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[n]=e;return typeof Int32Array<`u`?new Int32Array(t):t}(),n=function(e){for(var t=0,n=0,r=0,i=new(typeof Int32Array<`u`?Int32Array:Array)(4096),r=0;r!=256;++r)i[r]=e[r];for(r=0;r!=256;++r)for(n=e[r],t=256+r;t<4096;t+=256)n=i[t]=n>>>8^e[255&n];var a=[];for(r=1;r!=16;++r)a[r-1]=typeof Int32Array<`u`?i.subarray(256*r,256*r+256):i.slice(256*r,256*r+256);return a}(t),r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],l=n[6],u=n[7],d=n[8],f=n[9],p=n[10],m=n[11],h=n[12],g=n[13],_=n[14];return e.table=t,e.bstr=function(e,n){for(var r=-1^n,i=0,a=e.length;i>>8^t[255&(r^e.charCodeAt(i++))];return~r},e.buf=function(e,n){for(var v=-1^n,y=e.length-15,b=0;b>8&255]^h[e[b++]^v>>16&255]^m[e[b++]^v>>>24]^p[e[b++]]^f[e[b++]]^d[e[b++]]^u[e[b++]]^l[e[b++]]^c[e[b++]]^s[e[b++]]^o[e[b++]]^a[e[b++]]^i[e[b++]]^r[e[b++]]^t[e[b++]];for(y+=15;b>>8^t[255&(v^e[b++])];return~v},e.str=function(e,n){for(var r,i=-1^n,a=0,o=e.length,s=0;a>>8^t[255&(i^s)]:s<2048?(i=i>>>8^t[255&(i^(192|s>>6&31))])>>>8^t[255&(i^(128|63&s))]:55296<=s&&s<57344?(s=64+(1023&s),r=1023&e.charCodeAt(a++),(i=(i=(i=i>>>8^t[255&(i^(240|s>>8&7))])>>>8^t[255&(i^(128|s>>2&63))])>>>8^t[255&(i^(128|r>>6&15|(3&s)<<4))])>>>8^t[255&(i^(128|63&r))]):(i=(i=i>>>8^t[255&(i^(224|s>>12&15))])>>>8^t[255&(i^(128|s>>6&63))])>>>8^t[255&(i^(128|63&s))];return~i},e}(),Ne=function(){var e,t={};function n(e){if(e.charAt(e.length-1)==`/`)return e.slice(0,-1).indexOf(`/`)===-1?e:n(e.slice(0,-1));var t=e.lastIndexOf(`/`);return t===-1?e:e.slice(0,t+1)}function r(e){if(e.charAt(e.length-1)==`/`)return r(e.slice(0,-1));var t=e.lastIndexOf(`/`);return t===-1?e:e.slice(t+1)}function i(e){Un(e,0);for(var t,n={};e.l<=e.length-4;){var r=e.read_shift(2),i=e.read_shift(2),a=e.l+i,o={};r===21589&&(1&(t=e.read_shift(1))&&(o.mtime=e.read_shift(4)),5?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ\xA0¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ`,t=[],n={},r=0;r!=e.length;++r)e.charCodeAt(r)!==65533&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}})(),t!==void 0&&t.exports&&typeof DO_NOT_EXPORT_CODEPAGE>`u`&&(t.exports=n),(function(e,r){if(n===void 0)if(u!==void 0){var i=n;t!==void 0&&t.exports&&typeof DO_NOT_EXPORT_CODEPAGE>`u`?t.exports=r(i):e.cptable=r(i)}else throw Error(`cptable not found`);else n=r(n)})(e,function(e){var t={1200:`utf16le`,1201:`utf16be`,12e3:`utf32le`,12001:`utf32be`,16969:`utf64le`,20127:`ascii`,65e3:`utf7`,65001:`utf8`},n=[874,1250,1251,1252,1253,1254,1255,1256,1e4],r=[932,936,949,950],i=[65001],a={},o={},s={},c={},l=function(e){return String.fromCharCode(e)},u=function(e){return e.charCodeAt(0)},d=typeof Buffer<`u`,f=function(){};if(d){var p=!Buffer.from;if(!p)try{Buffer.from(`foo`,`utf8`)}catch{p=!0}f=p?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer),Buffer.allocUnsafe||(Buffer.allocUnsafe=function(e){return new Buffer(e)});var m=1024,h=Buffer.allocUnsafe(m),g=function(e){for(var t=Buffer.allocUnsafe(65536),n=0;n<65536;++n)t[n]=0;for(var r=Object.keys(e),i=r.length,a=0,o=r[a];a>10&1023)],i[o++]=n[56320+(c&1023)]));i=i.slice(0,o)}else for(i=Buffer.allocUnsafe(r),a=0;a>8}return function(e){var t=e.length,n=0,i=0;if(2*t>m&&(m=2*t,h=Buffer.allocUnsafe(m)),Buffer.isBuffer(e))for(n=0;n>8}return function(e,t){var n=e.length,i=Buffer.allocUnsafe(2*n),a=0,o=0,s=0,c=0,l=0;if(typeof e==`string`){for(a=c=0;a0&&(i[c++]=r[o]);i=i.slice(0,c)}else if(Buffer.isBuffer(e)){for(a=c=0;a0&&(i[c++]=r[o])):(s=o-65536,o=2*(55296+(s>>10&1023)),i[c++]=r[o+1]||r[o],r[o+1]>0&&(i[c++]=r[o]),o=2*(56320+(s&1023)),i[c++]=r[o+1]||r[o],r[o+1]>0&&(i[c++]=r[o]));i=i.slice(0,c)}else for(a=c=0;a0&&(i[c++]=r[o]);return!t||t===`buf`?i:t===`arr`?[].slice.call(i):i.toString(`binary`)}},b=function(t){var n=e[t].dec,r=Buffer.allocUnsafe(131072),i=0,a,o=0,s=0,c=0;for(c=0;c<65536;++c)r[2*c]=255,r[2*c+1]=253;for(i=0;i>8);return function(e){var t=e.length,n=Buffer.allocUnsafe(2*t),i=0,a=0,o=0;if(Buffer.isBuffer(e))for(i=0;im&&(m=4*n,h=Buffer.allocUnsafe(m));var a=0;n>=3&&t[0]==239&&t[1]==187&&t[2]==191&&(a=3);for(var o=1,s=0,c=0;a>8):(r-=65536,i=55296+(r>>10&1023),r=56320+(r&1023),h[s++]=i&255,h[s++]=i>>>8,h[s++]=r&255,h[s++]=r>>>8&255);return h.slice(0,s).toString(`ucs2`)},o[65001]=function(e,t){if(d&&Buffer.isBuffer(e))return!t||t===`buf`?e:t===`arr`?[].slice.call(e):e.toString(`binary`);var n=e.length,r=0,i=0,a=0,o=typeof e==`string`;4*n>m&&(m=4*n,h=Buffer.allocUnsafe(m));for(var s=0;s>6),h[a++]=128+(r&63)):r>=55296&&r<=57343?(r-=55296,++s,i=(o?e.charCodeAt(s):e[s].charCodeAt(0))-56320+(r<<10),h[a++]=240+(i>>>18&7),h[a++]=144+(i>>>12&63),h[a++]=128+(i>>>6&63),h[a++]=128+(i&63)):(h[a++]=224+(r>>12),h[a++]=128+(r>>6&63),h[a++]=128+(r&63));return!t||t===`buf`?h.slice(0,a):t===`arr`?[].slice.call(h,0,a):h.slice(0,a).toString(`binary`)}}var x=function(){if(d){if(s[n[0]])return;var t=0,l=0;for(t=0;t=3&&i[0]==239&&i[1]==187&&i[2]==191&&(p=3);p>10&1023),f=56320+(f&1023),c[h++]=String.fromCharCode(g),c[h++]=String.fromCharCode(f));break;case`ascii`:if(d&&Buffer.isBuffer(i))return i.toString(y);for(p=0;p=2&&i[0]==255&&i[1]==254&&(p=2),d&&Buffer.isBuffer(i))return i.toString(y);for(m=2;p+1=2&&i[0]==254&&i[1]==255&&(p=2),m=2;p+1=4&&i[0]==255&&i[1]==254&&i[2]===0&&i[3]===0&&(p=4),m=4;p65535?(f-=65536,c[h++]=String.fromCharCode(55296+(f>>10&1023)),c[h++]=String.fromCharCode(56320+(f&1023))):c[h++]=String.fromCharCode(f);break;case`utf32be`:for(o>=4&&i[3]==255&&i[2]==254&&i[1]===0&&i[0]===0&&(p=4),m=4;p65535?(f-=65536,c[h++]=String.fromCharCode(55296+(f>>10&1023)),c[h++]=String.fromCharCode(56320+(f&1023))):c[h++]=String.fromCharCode(f);break;case`utf7`:for(o>=4&&i[0]==43&&i[1]==47&&i[2]==118&&(o>=5&&i[3]==56&&i[4]==45?p=5:(i[3]==56||i[3]==57||i[3]==43||i[3]==47)&&(p=4));p>4,x.push(C),k=T.indexOf(String.fromCharCode(i[p+ j++])),!(k===-1||(w=(O&15)<<4|k>>2,x.push(w),A=T.indexOf(String.fromCharCode(i[p+ j++])),A===-1)));)E=(k&3)<<6|A,A<64&&x.push(E);for(S=n(1201,x),j=0;j255?(s[m]=u>>8,s[++m]=u&255):s[m]=u&255;else if(v=t[r])switch(v){case`utf8`:if(d&&y){s=f(i,v),m=s.length;break}for(p=0;p>6),s[++m]=128+(u&63)):u>=55296&&u<=57343?(u-=55296,h=(y?i.charCodeAt(++p):i[++p].charCodeAt(0))-56320+(u<<10),s[m]=240+(h>>>18&7),s[++m]=144+(h>>>12&63),s[++m]=128+(h>>>6&63),s[++m]=128+(h&63)):(s[m]=224+(u>>12),s[++m]=128+(u>>6&63),s[++m]=128+(u&63));break;case`ascii`:if(d&&typeof i==`string`){s=f(i,v),m=s.length;break}for(p=0;p>8;break;case`utf16be`:for(p=0;p>8,s[m++]=u&255;break;case`utf32le`:for(p=0;p=55296&&u<=57343&&(u=65536+(u-55296<<10)+(i[++p].charCodeAt(0)-56320)),s[m++]=u&255,u>>=8,s[m++]=u&255,u>>=8,s[m++]=u&255,u>>=8,s[m++]=u&255;break;case`utf32be`:for(p=0;p=55296&&u<=57343&&(u=65536+(u-55296<<10)+(i[++p].charCodeAt(0)-56320)),s[m+3]=u&255,u>>=8,s[m+2]=u&255,u>>=8,s[m+1]=u&255,u>>=8,s[m]=u&255,m+=4;break;case`utf7`:for(p=0;p-1){s[m++]=b.charCodeAt(0);continue}var x=n(1201,b);s[m++]=43,s[m++]=T.charCodeAt(x[0]>>2),s[m++]=T.charCodeAt(((x[0]&3)<<4)+((x[1]||0)>>4)),s[m++]=T.charCodeAt(((x[1]&15)<<2)+((x[2]||0)>>6)),s[m++]=45}break;default:throw Error(`Unsupported magic: `+r+` `+t[r])}else throw Error(`Unrecognized CP: `+r);return s=s.slice(0,m),d?!a||a===`buf`?s:a===`arr`?[].slice.call(s):s.toString(`binary`):a==`str`?s.map(l).join(``):s},hascp:function(n){return!!(e[n]||t[n])},magic:t,cache:w},e})})),M5=o(((e,t)=>{t.exports={}})),N5=l(o(((e,t)=>{var n={};function r(e){e.version=`0.18.5`,e.style_version=`1.2.0`;var n,r=1200,i=1252;typeof cptable<`u`?n=cptable:t!==void 0&&u!==void 0&&(n=FHe());var a=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],o={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},s=function(e){a.indexOf(e)!=-1&&(i=o[0]=e)},c=function(e){s(r=e)};function l(){c(1200),s(1252)}function d(e){for(var t=[],n=0,r=e.length;n>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join(``)}var p=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return t==255&&n==254?function(e){for(var t=[],n=0;n>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n)+(e.charCodeAt(2*n+1)<<8));return t.join(``)}(e.slice(2)):t==254&&n==255?f(e.slice(2)):t==65279?e.slice(1):e},m=function(e){return String.fromCharCode(e)},h=function(e){return String.fromCharCode(e)};n!==void 0&&(c=function(e){s(r=e)},p=function(e){return e.charCodeAt(0)===255&&e.charCodeAt(1)===254?n.utils.decode(1200,d(e.slice(2))):e},m=function(e){return r===1200?String.fromCharCode(e):n.utils.decode(r,[255&e,e>>8])[0]},h=function(e){return n.utils.decode(i,[e])[0]});var g=null,_=!0,v=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`;function y(e){for(var t,n,r,i,a,o=``,s=0,c=0,l=0;l>2,a=(3&t)<<4|(n=e.charCodeAt(l++))>>4,s=(15&n)<<2|(r=e.charCodeAt(l++))>>6,c=63&r,isNaN(n)?s=c=64:isNaN(r)&&(c=64),o+=v.charAt(i)+v.charAt(a)+v.charAt(s)+v.charAt(c);return o}function b(e){var t,n,r,i,a,o,s=``;e=e.replace(/[^\w\+\/\=]/g,``);for(var c=0;c>4,s+=String.fromCharCode(t),n=(15&i)<<4|(a=v.indexOf(e.charAt(c++)))>>2,a!==64&&(s+=String.fromCharCode(n)),r=(3&a)<<6|(o=v.indexOf(e.charAt(c++))),o!==64&&(s+=String.fromCharCode(r));return s}var x=typeof Buffer<`u`&&typeof process<`u`&&process.versions!==void 0&&!!process.versions.node,S=function(){if(typeof Buffer>`u`)return function(){};var e=!Buffer.from;if(!e)try{Buffer.from(`foo`,`utf8`)}catch{e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}();function C(e){return x?Buffer.alloc?Buffer.alloc(e):new Buffer(e):new(typeof Uint8Array<`u`?Uint8Array:Array)(e)}function w(e){return x?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):new(typeof Uint8Array<`u`?Uint8Array:Array)(e)}var T=function(e){return x?S(e,`binary`):e.split(``).map(function(e){return 255&e.charCodeAt(0)})};function E(e){if(typeof ArrayBuffer>`u`)return T(e);for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r!=e.length;++r)n[r]=255&e.charCodeAt(r);return t}function D(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join(``);for(var t=[],n=0;n`u`)throw Error(`Unsupported`);if(e instanceof ArrayBuffer)return O(new Uint8Array(e));for(var t=Array(e.length),n=0;n`u`)return[].concat.apply([],e.map(function(e){return Array.isArray(e)?e:[].slice.call(e)}));for(var t=0,n=0,t=0;t=7+t&&(32|e.charCodeAt(t))==103&&(32|e.charCodeAt(t+1))==101&&(32|e.charCodeAt(t+2))==110&&(32|e.charCodeAt(t+3))==101&&(32|e.charCodeAt(t+4))==114&&(32|e.charCodeAt(t+5))==97&&(32|e.charCodeAt(t+6))==108}var z=[[`Sun`,`Sunday`],[`Mon`,`Monday`],[`Tue`,`Tuesday`],[`Wed`,`Wednesday`],[`Thu`,`Thursday`],[`Fri`,`Friday`],[`Sat`,`Saturday`]],B=[[`J`,`Jan`,`January`],[`F`,`Feb`,`February`],[`M`,`Mar`,`March`],[`A`,`Apr`,`April`],[`M`,`May`,`May`],[`J`,`Jun`,`June`],[`J`,`Jul`,`July`],[`A`,`Aug`,`August`],[`S`,`Sep`,`September`],[`O`,`Oct`,`October`],[`N`,`Nov`,`November`],[`D`,`Dec`,`December`]],V={0:`General`,1:`0`,2:`0.00`,3:`#,##0`,4:`#,##0.00`,9:`0%`,10:`0.00%`,11:`0.00E+00`,12:`# ?/?`,13:`# ??/??`,14:`m/d/yy`,15:`d-mmm-yy`,16:`d-mmm`,17:`mmm-yy`,18:`h:mm AM/PM`,19:`h:mm:ss AM/PM`,20:`h:mm`,21:`h:mm:ss`,22:`m/d/yy h:mm`,37:`#,##0 ;(#,##0)`,38:`#,##0 ;[Red](#,##0)`,39:`#,##0.00;(#,##0.00)`,40:`#,##0.00;[Red](#,##0.00)`,45:`mm:ss`,46:`[h]:mm:ss`,47:`mmss.0`,48:`##0.0E+0`,49:`@`,56:`"上午/下午 "hh"時"mm"分"ss"秒 "`},H={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},U={5:`"$"#,##0_);\\("$"#,##0\\)`,63:`"$"#,##0_);\\("$"#,##0\\)`,6:`"$"#,##0_);[Red]\\("$"#,##0\\)`,64:`"$"#,##0_);[Red]\\("$"#,##0\\)`,7:`"$"#,##0.00_);\\("$"#,##0.00\\)`,65:`"$"#,##0.00_);\\("$"#,##0.00\\)`,8:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,66:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,41:`_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)`,42:`_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)`,43:`_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)`,44:`_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)`};function W(e,t,n){for(var r=e<0?-1:1,i=e*r,a=0,o=1,s=0,c=1,l=0,u=0,d=Math.floor(i);l(e<0?12:11)||a===`0`||a===`-0`?e.toPrecision(6):a;return ae((a=a.toUpperCase()).indexOf(`E`)==-1?a:a.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,`$1E`).replace(/(E[+-])(\d)$/,`$10$2`))}function oe(e,t){switch(typeof e){case`string`:return e;case`boolean`:return e?`TRUE`:`FALSE`;case`number`:return(0|e)===e?e.toString(10):G(e);case`undefined`:return``;case`object`:if(e==null)return``;if(e instanceof Date)return we(14,ie(e,t&&t.date1904),t)}throw Error(`unsupported value in General format: `+e)}function K(e){if(e.length<=3)return e;for(var t=e.length%3,n=e.substr(0,t);t!=e.length;t+=3)n+=(0t.length?i:fe(t.substr(0,t.length-i.length))+i;if(a=t.match(ce))return d=a,s=f,c=p,l=parseInt(d[4],10),u=Math.round(s*l),s=Math.floor(u/l),c+(s===0?``:``+s)+` `+((u-=s*l)==0?Qe(` `,d[1].length+1+d[4].length):P(u,d[1].length)+d[2]+`/`+d[3]+N(l,d[4].length));if(t.match(/^#+0+$/))return p+L(f,t.length-t.indexOf(`0`));if(a=t.match(le))return i=pe(n,a[1].length).replace(/^([^\.]+)$/,`$1.`+fe(a[1])).replace(/\.$/,`.`+fe(a[1])).replace(/\.(\d*)$/,function(e,t){return`.`+t+Qe(`0`,fe(a[1]).length-t.length)}),t.indexOf(`0.`)===-1?i.replace(/^0\./,`.`):i;if(t=t.replace(/^#+([0.])/,`$1`),a=t.match(/^(0*)\.(#*)$/))return p+pe(f,a[2].length).replace(/\.(\d*[1-9])0*$/,`.$1`).replace(/^(-?\d*)$/,`$1.`).replace(/^0\./,a[1].length?`0.`:`.`);if(a=t.match(/^#{1,3},##0(\.?)$/))return p+K(L(f,0));if(a=t.match(/^#,##0\.([#0]*0)$/))return n<0?`-`+he(e,t,-n):K(``+(Math.floor(n)+(d=n,+((m=a[1].length)<(``+Math.round((d-Math.floor(d))*10**m)).length))))+`.`+N(me(n,a[1].length),a[1].length);if(a=t.match(/^#,#*,#0/))return he(e,t.replace(/^#,#*,/,``),n);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=M(he(e,t.replace(/[\\-]/g,``),n)),o=0,M(M(t.replace(/\\/g,``)).replace(/[0#]/g,function(e){return ot.length?s:fe(t.substr(0,t.length-s.length))+s;if(c=t.match(ce))return d+((f=u)===0?``:``+f)+Qe(` `,(f=c)[1].length+2+f[4].length);if(t.match(/^#+0+$/))return d+N(u,t.length-t.indexOf(`0`));if(c=t.match(le))return s=(s=(``+n).replace(/^([^\.]+)$/,`$1.`+fe(c[1])).replace(/\.$/,`.`+fe(c[1]))).replace(/\.(\d*)$/,function(e,t){return`.`+t+Qe(`0`,fe(c[1]).length-t.length)}),t.indexOf(`0.`)===-1?s.replace(/^0\./,`.`):s;if(t=t.replace(/^#+([0.])/,`$1`),c=t.match(/^(0*)\.(#*)$/))return d+(``+u).replace(/\.(\d*[1-9])0*$/,`.$1`).replace(/^(-?\d*)$/,`$1.`).replace(/^0\./,c[1].length?`0.`:`.`);if(c=t.match(/^#{1,3},##0(\.?)$/))return d+K(``+u);if(c=t.match(/^#,##0\.([#0]*0)$/))return n<0?`-`+ge(e,t,-n):K(``+n)+`.`+Qe(`0`,c[1].length);if(c=t.match(/^#,#*,#0/))return ge(e,t.replace(/^#,#*,/,``),n);if(c=t.match(/^([0#]+)(\\?-([0#]+))+$/))return s=M(ge(e,t.replace(/[\\-]/g,``),n)),l=0,M(M(t.replace(/\\/g,``)).replace(/[0#]/g,function(e){return l=€acfijklopqrtuvwxzP`.indexOf(u)===-1)throw Error(`unrecognized character `+u+` in `+e);s[s.length]={t:`t`,v:u},++l}var h,g=0,_=0;for(l=s.length-1,d=`t`;0<=l;--l)switch(s[l].t){case`h`:case`H`:s[l].t=f,d=`h`,g<1&&(g=1);break;case`s`:(h=s[l].v.match(/\.0+$/))&&(_=Math.max(_,h[0].length-1)),g<3&&(g=3);case`d`:case`y`:case`M`:case`e`:d=s[l].t;break;case`m`:d===`s`&&(s[l].t=`M`,g<2&&(g=2));break;case`X`:break;case`Z`:(g=(g=g<1&&s[l].v.match(/[Hh]/)?1:g)<2&&s[l].v.match(/[Mm]/)?2:g)<3&&s[l].v.match(/[Ss]/)&&(g=3)}switch(g){case 0:break;case 1:.5<=i.u&&(i.u=0,++i.S),60<=i.S&&(i.S=0,++i.M),60<=i.M&&(i.M=0,++i.H);break;case 2:.5<=i.u&&(i.u=0,++i.S),60<=i.S&&(i.S=0,++i.M)}var v,y=``;for(l=0;l=s[l].v.length-1?(v-=s[l].v.length,s[l].v=x.substr(v+1,s[l].v.length)):v<0?s[l].v=``:(s[l].v=x.substr(0,v+1),v=-1),s[l].t=`t`,w=l);0<=v&&w[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Se(e,t){if(t!=null){var n=parseFloat(t[2]);switch(t[1]){case`=`:if(e==n)return 1;break;case`>`:if(n`:if(e!=n)return 1;break;case`>=`:if(n<=e)return 1;break;case`<=`:if(e<=n)return 1}}}function Ce(e,t){var n=function(e){for(var t=[],n=!1,r=0,i=0;r]/)==null&&n[1].match(/\[[=<>]/)==null?[r,a]:(e=n[0].match(xe),a=n[1].match(xe),Se(t,e)?[r,n[0]]:Se(t,a)?[r,n[1]]:[r,n[e!=null&&a!=null?2:1]])}function we(e,t,n){n??={};var r=``;switch(typeof e){case`string`:r=e==`m/d/yy`&&n.dateNF?n.dateNF:e;break;case`number`:(r=(r=e==14&&n.dateNF?n.dateNF:(n.table==null?V:n.table)[e])??(n.table&&n.table[H[e]]||V[H[e]]))??(r=U[e]||`General`)}if(R(r,0))return oe(t,n);var i=Ce(r,t=t instanceof Date?ie(t,n.date1904):t);if(R(i[1]))return oe(t,n);if(!0===t)t=`TRUE`;else if(!1===t)t=`FALSE`;else if(t===``||t==null)return``;return be(i[1],t,n,i[0])}function Te(e,t){if(typeof t!=`number`){t=+t||-1;for(var n=0;n<392;++n)if(V[n]!=null){if(V[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return V[t]=e,t}function Ee(e){for(var t=0;t!=392;++t)e[t]!==void 0&&Te(e[t],t)}function De(){var e;(e||={})[0]=`General`,e[1]=`0`,e[2]=`0.00`,e[3]=`#,##0`,e[4]=`#,##0.00`,e[9]=`0%`,e[10]=`0.00%`,e[11]=`0.00E+00`,e[12]=`# ?/?`,e[13]=`# ??/??`,e[14]=`m/d/yy`,e[15]=`d-mmm-yy`,e[16]=`d-mmm`,e[17]=`mmm-yy`,e[18]=`h:mm AM/PM`,e[19]=`h:mm:ss AM/PM`,e[20]=`h:mm`,e[21]=`h:mm:ss`,e[22]=`m/d/yy h:mm`,e[37]=`#,##0 ;(#,##0)`,e[38]=`#,##0 ;[Red](#,##0)`,e[39]=`#,##0.00;(#,##0.00)`,e[40]=`#,##0.00;[Red](#,##0.00)`,e[45]=`mm:ss`,e[46]=`[h]:mm:ss`,e[47]=`mmss.0`,e[48]=`##0.0E+0`,e[49]=`@`,e[56]=`"上午/下午 "hh"時"mm"分"ss"秒 "`,V=e}var Oe={format:we,load:Te,_table:V,load_table:Ee,parse_date_code:ee,is_date:ye,get_table:function(){return Oe._table=V}},ke={5:`"$"#,##0_);\\("$"#,##0\\)`,6:`"$"#,##0_);[Red]\\("$"#,##0\\)`,7:`"$"#,##0.00_);\\("$"#,##0.00\\)`,8:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,23:`General`,24:`General`,25:`General`,26:`General`,27:`m/d/yy`,28:`m/d/yy`,29:`m/d/yy`,30:`m/d/yy`,31:`m/d/yy`,32:`h:mm:ss`,33:`h:mm:ss`,34:`h:mm:ss`,35:`h:mm:ss`,36:`m/d/yy`,41:`_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)`,42:`_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)`,43:`_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)`,44:`_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)`,50:`m/d/yy`,51:`m/d/yy`,52:`m/d/yy`,53:`m/d/yy`,54:`m/d/yy`,55:`m/d/yy`,56:`m/d/yy`,57:`m/d/yy`,58:`m/d/yy`,59:`0`,60:`0.00`,61:`#,##0`,62:`#,##0.00`,63:`"$"#,##0_);\\("$"#,##0\\)`,64:`"$"#,##0_);[Red]\\("$"#,##0\\)`,65:`"$"#,##0.00_);\\("$"#,##0.00\\)`,66:`"$"#,##0.00_);[Red]\\("$"#,##0.00\\)`,67:`0%`,68:`0.00%`,69:`# ?/?`,70:`# ??/??`,71:`m/d/yy`,72:`m/d/yy`,73:`d-mmm-yy`,74:`d-mmm`,75:`mmm-yy`,76:`h:mm`,77:`h:mm:ss`,78:`m/d/yy h:mm`,79:`mm:ss`,80:`[h]:mm:ss`,81:`mmss.0`},Ae=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g,je,Me=function(){var e={};e.version=`1.2.0`;var t=function(){for(var e=0,t=Array(256),n=0;n!=256;++n)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=n)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[n]=e;return typeof Int32Array<`u`?new Int32Array(t):t}(),n=function(e){for(var t=0,n=0,r=0,i=new(typeof Int32Array<`u`?Int32Array:Array)(4096),r=0;r!=256;++r)i[r]=e[r];for(r=0;r!=256;++r)for(n=e[r],t=256+r;t<4096;t+=256)n=i[t]=n>>>8^e[255&n];var a=[];for(r=1;r!=16;++r)a[r-1]=typeof Int32Array<`u`?i.subarray(256*r,256*r+256):i.slice(256*r,256*r+256);return a}(t),r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],l=n[6],u=n[7],d=n[8],f=n[9],p=n[10],m=n[11],h=n[12],g=n[13],_=n[14];return e.table=t,e.bstr=function(e,n){for(var r=-1^n,i=0,a=e.length;i>>8^t[255&(r^e.charCodeAt(i++))];return~r},e.buf=function(e,n){for(var v=-1^n,y=e.length-15,b=0;b>8&255]^h[e[b++]^v>>16&255]^m[e[b++]^v>>>24]^p[e[b++]]^f[e[b++]]^d[e[b++]]^u[e[b++]]^l[e[b++]]^c[e[b++]]^s[e[b++]]^o[e[b++]]^a[e[b++]]^i[e[b++]]^r[e[b++]]^t[e[b++]];for(y+=15;b>>8^t[255&(v^e[b++])];return~v},e.str=function(e,n){for(var r,i=-1^n,a=0,o=e.length,s=0;a>>8^t[255&(i^s)]:s<2048?(i=i>>>8^t[255&(i^(192|s>>6&31))])>>>8^t[255&(i^(128|63&s))]:55296<=s&&s<57344?(s=64+(1023&s),r=1023&e.charCodeAt(a++),(i=(i=(i=i>>>8^t[255&(i^(240|s>>8&7))])>>>8^t[255&(i^(128|s>>2&63))])>>>8^t[255&(i^(128|r>>6&15|(3&s)<<4))])>>>8^t[255&(i^(128|63&r))]):(i=(i=i>>>8^t[255&(i^(224|s>>12&15))])>>>8^t[255&(i^(128|s>>6&63))])>>>8^t[255&(i^(128|63&s))];return~i},e}(),Ne=function(){var e,t={};function n(e){if(e.charAt(e.length-1)==`/`)return e.slice(0,-1).indexOf(`/`)===-1?e:n(e.slice(0,-1));var t=e.lastIndexOf(`/`);return t===-1?e:e.slice(0,t+1)}function r(e){if(e.charAt(e.length-1)==`/`)return r(e.slice(0,-1));var t=e.lastIndexOf(`/`);return t===-1?e:e.slice(t+1)}function i(e){Un(e,0);for(var t,n={};e.l<=e.length-4;){var r=e.read_shift(2),i=e.read_shift(2),a=e.l+i,o={};r===21589&&(1&(t=e.read_shift(1))&&(o.mtime=e.read_shift(4)),5>>2)-1;if(s){for(var l=0;l=f.length?-1:u,u=o+1;u=f.length?-1:u,m.type=1}else n(e.FullPaths[o+1]||``)==n(h)&&(m.R=o+1),m.type=2}}}function u(e,t){var n=t||{};if(n.fileType==`mad`)return function(e,t){for(var n=t||{},r=n.boundary||`SheetJS`,i=[`MIME-Version: 1.0`,`Content-Type: multipart/related; boundary="`+(r=`------=`+r).slice(2)+`"`,``,``,``],a=e.FullPaths[0],o=a,s=e.FileIndex[0],c=1;c>>1,e.write_shift(2,n),n=(n=(n=t.getFullYear()-1980)<<4|t.getMonth()+1)<<5|t.getDate(),e.write_shift(2,n)}(i,m.mt):i.write_shift(4,0),i.write_shift(-4,8&o?0:h[u]),i.write_shift(4,8&o?0:y.length),i.write_shift(4,8&o?0:m.content.length),i.write_shift(2,v.length),i.write_shift(2,0),l+=i.length,n.push(i),l+=v.length,n.push(v),l+=y.length,n.push(y),8&o&&((i=Gn(12)).write_shift(-4,h[u]),i.write_shift(4,y.length),i.write_shift(4,m.content.length),l+=i.l,n.push(i)),(i=Gn(46)).write_shift(4,33639248),i.write_shift(2,0),i.write_shift(2,20),i.write_shift(2,o),i.write_shift(2,a),i.write_shift(4,0),i.write_shift(-4,h[u]),i.write_shift(4,y.length),i.write_shift(4,m.content.length),i.write_shift(2,v.length),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(4,0),i.write_shift(4,_),g+=i.l,r.push(i),g+=v.length,r.push(v),++u}return(i=Gn(22)).write_shift(4,101010256),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(2,u),i.write_shift(2,u),i.write_shift(4,g),i.write_shift(4,l),i.write_shift(2,0),k([k(n),k(r),i])}(e,n);for(var r=function(e){for(var t=0,n=0,r=0;r>6:n+=i+511>>9)}for(var a=e.FullPaths.length+3>>2,o=t+127>>7,s=(t+7>>3)+n+a+o,c=s+127>>7,l=c<=109?0:Math.ceil((c-109)/127);c>7;)l=++c<=109?0:Math.ceil((c-109)/127);return a=[1,l,c,o,a,n,t,0],e.FileIndex[0].size=t<<6,a[7]=(e.FileIndex[0].start=a[0]+a[1]+a[2]+a[3]+a[4]+a[5])+(a[6]+7>>3),a}(e),i=Gn(r[7]<<9),a=0,o=0,a=0;a<8;++a)i.write_shift(1,h[a]);for(a=0;a<8;++a)i.write_shift(2,0);for(i.write_shift(2,62),i.write_shift(2,3),i.write_shift(2,65534),i.write_shift(2,9),i.write_shift(2,6),a=0;a<3;++a)i.write_shift(2,0);for(i.write_shift(4,0),i.write_shift(4,r[2]),i.write_shift(4,r[0]+r[1]+r[2]+r[3]-1),i.write_shift(4,0),i.write_shift(4,4096),i.write_shift(4,r[3]?r[0]+r[1]+r[2]-1:p),i.write_shift(4,r[3]),i.write_shift(-4,r[1]?r[0]-1:p),i.write_shift(4,r[1]),a=0;a<109;++a)i.write_shift(-4,a>9)));for(s(r[6]+7>>3);511&i.l;)i.write_shift(-4,_.ENDOFCHAIN);for(c=o=a=0;c>6)));for(;511&i.l;)i.write_shift(-4,_.ENDOFCHAIN);for(a=0;a>16|M>>8|M);function I(e,t){var n=7&t,t=t>>>3;return(e[t]|(n<=5?0:e[1+t]<<8))>>>n&7}function L(e,t){var n=7&t,t=t>>>3;return(e[t]|(n<=3?0:e[1+t]<<8))>>>n&31}function R(e,t){var n=7&t,t=t>>>3;return(e[t]|(n<=1?0:e[1+t]<<8))>>>n&127}function z(e,t,n){var r=7&t,i=t>>>3,a=(1<>>r;return n<8-r?t&a:(t|=e[1+i]<<8-r,n<16-r?t&a:(t|=e[2+i]<<16-r,n<24-r?t&a:(t|=e[3+i]<<24-r)&a))}function B(e,t,n){var r=7&t,i=t>>>3;return r<=5?e[i]|=(7&n)<>8-r),t+3}function V(e,t,n){var r=t>>>3;return n<<=7&t,e[r]|=255&n,n>>>=8,e[1+r]=n,t+8}function H(e,t,n){var r=t>>>3;return n<<=7&t,e[r]|=255&n,n>>>=8,e[1+r]=255&n,e[2+r]=n>>>8,t+16}function U(e,t){var n=e.length,r=t<2*n?2*n:t+5,i=0;if(t<=n)return e;if(x){var a=w(r);if(e.copy)e.copy(a);else for(;i>>8-p:(m=m<<8|P[f>>8&255],p<=16?m>>>16-p:(m=m<<8|P[f>>16&255])>>>24-p))>>i-d,o=(1<>1)-1:(V(n,i,3),V(n,i+=5,P[l-23]>>5),i+=3);var f=l<8?0:l-4>>2;0>3),i-=3;var p=l<4?0:l-2>>1;0>>3]|=f,i=p+1),i=V(n,i,P[l]),o[c]=32767&a,++a}i=V(n,i,0)-1}}return n.l=(i+7)/8|0,n.l})(t,n)}}();function ae(e){var t=Gn(50+Math.floor(1.1*e.length)),e=ie(e,t);return t.slice(0,e)}var G=N?new Uint16Array(32768):W(32768),oe=N?new Uint16Array(32768):W(32768),K=N?new Uint16Array(128):W(128),se=1,ce=1;function le(e,t){if(e[0]==3&&!(3&e[1]))return[C(t),2];for(var n=0,r=0,i=w(t||1<<18),a=0,o=i.length>>>0,s=0,c=0;!(1&r);)if(r=I(e,n),n+=3,r>>>1)for(c=r>>1==1?(s=9,5):(n=function(e,t){var n,r,i,a=L(e,t)+257,o=L(e,t+=5)+1,s=(i=7&(r=t+=5),4+(((n=e)[r>>>=3]|(i<=4?0:n[1+r]<<8))>>>i&15));t+=4;for(var c=0,l=N?new Uint8Array(19):W(19),u=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],d=1,f=N?new Uint8Array(8):W(8),p=N?new Uint8Array(8):W(8),m=l.length,h=0;h>8-_;for(var v=(1<<7-_)-1;0<=v;--v)K[g|v<<_]=7&_|h<<3}for(var y,b,x,S=[],d=1;S.length>>=3){case 16:for(c=3+(x=void 0,x=7&(b=t),((y=e)[b>>>=3]|(x<=6?0:y[1+b]<<8))>>>x&3),t+=2,g=S[S.length-1];0>>1==1?te:G)[l];if(n+=15&u,!((u>>>=4)>>>8&255))i[a++]=u;else{if(u==256)break;var d=(u-=257)<8?0:u-4>>2;5>>1==1?ne:oe)[l]);var l=(u>>>=4)<4?0:u-2>>1,p=O[u];for(0>>3]|e[1+(n>>>3)]<<8;if(n+=32,0>>3],n+=8}return t?[i,n+7>>>3]:[i.slice(0,a),n+7>>>3]}function ue(e,t){return t=le(e.slice(e.l||0),t),e.l+=t[1],t[0]}function de(e,t){if(!e)throw Error(t);typeof console<`u`&&console.error(t)}function fe(e,t){var n=e;Un(n,0);var r={FileIndex:[],FullPaths:[]};c(r,{root:t.root});for(var a=n.length-4;(n[a]!=80||n[a+1]!=75||n[a+2]!=5||n[a+3]!=6)&&0<=a;)--a;n.l=a+4,n.l+=4;var o=n.read_shift(2);for(n.l+=6,t=n.read_shift(4),n.l=t,a=0;a>>=5);return n>>>=4,r.setMilliseconds(0),r.setFullYear(1980+n),r.setMonth(e-1),r.setDate(i),e=31&t,i=63&(t>>>=5),t>>>=6,r.setHours(t),r.setMinutes(i),r.setSeconds(e<<1),r}(e);if(8257&o)throw Error(`Unsupported ZIP encryption`);e.read_shift(4);for(var l,u=e.read_shift(4),f=e.read_shift(4),p=e.read_shift(2),m=e.read_shift(2),h=``,g=0;g`u`)throw Error(`Unsupported`);return new Uint8Array(e)}(e):e}function Fe(e,t,n){if(je!==void 0&&je.writeFileSync)return n?je.writeFileSync(e,t,n):je.writeFileSync(e,t);if(typeof Deno<`u`){if(n&&typeof t==`string`)switch(n){case`utf8`:t=new TextEncoder(n).encode(t);break;case`binary`:t=E(t);break;default:throw Error(`Unsupported encoding `+n)}return Deno.writeFileSync(e,t)}var r=n==`utf8`?Kt(t):t;if(typeof IE_SaveFile<`u`)return IE_SaveFile(r,e);if(typeof Blob<`u`){if(r=new Blob([Pe(r)],{type:`application/octet-stream`}),typeof navigator<`u`&&navigator.msSaveBlob)return navigator.msSaveBlob(r,e);if(typeof saveAs<`u`)return saveAs(r,e);if(typeof URL<`u`&&typeof document<`u`&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(r);if(typeof chrome==`object`&&typeof(chrome.downloads||{}).download==`function`)return URL.revokeObjectURL&&typeof setTimeout<`u`&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),chrome.downloads.download({url:i,filename:e,saveAs:!0});if(r=document.createElement(`a`),r.download!=null)return r.download=e,r.href=i,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL&&typeof setTimeout<`u`&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),i}}if(typeof $<`u`&&typeof File<`u`&&typeof Folder<`u`)try{var a=File(e);return a.open(`w`),a.encoding=`binary`,Array.isArray(t)&&(t=D(t)),a.write(t),a.close(),t}catch(e){if(!e.message||!e.message.match(/onstruct/))throw e}throw Error(`cannot save file `+e)}function Ie(e){for(var t=Object.keys(e),n=[],r=0;r>6&31,i[n++]=128|63&s):55296<=s&&s<57344?(s=64+(1023&s),o=1023&e.charCodeAt(++a),i[n++]=240|s>>8&7,i[n++]=128|s>>2&63,i[n++]=128|o>>6&15|(3&s)<<4,i[n++]=128|63&o):(i[n++]=224|s>>12&15,i[n++]=128|s>>6&63,i[n++]=128|63&s),r\r +`)}(e,n);if(l(e),n.fileType===`zip`)return function(e,t){var t=t||{},n=[],r=[],i=Gn(1),a=t.compression?8:0,o=0,s=0,c=0,l=0,u=0,f=e.FullPaths[0],p=f,m=e.FileIndex[0],h=[],g=0;for(s=1;s>>1,e.write_shift(2,n),n=(n=(n=t.getFullYear()-1980)<<4|t.getMonth()+1)<<5|t.getDate(),e.write_shift(2,n)}(i,m.mt):i.write_shift(4,0),i.write_shift(-4,8&o?0:h[u]),i.write_shift(4,8&o?0:y.length),i.write_shift(4,8&o?0:m.content.length),i.write_shift(2,v.length),i.write_shift(2,0),l+=i.length,n.push(i),l+=v.length,n.push(v),l+=y.length,n.push(y),8&o&&((i=Gn(12)).write_shift(-4,h[u]),i.write_shift(4,y.length),i.write_shift(4,m.content.length),l+=i.l,n.push(i)),(i=Gn(46)).write_shift(4,33639248),i.write_shift(2,0),i.write_shift(2,20),i.write_shift(2,o),i.write_shift(2,a),i.write_shift(4,0),i.write_shift(-4,h[u]),i.write_shift(4,y.length),i.write_shift(4,m.content.length),i.write_shift(2,v.length),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(4,0),i.write_shift(4,_),g+=i.l,r.push(i),g+=v.length,r.push(v),++u}return(i=Gn(22)).write_shift(4,101010256),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(2,u),i.write_shift(2,u),i.write_shift(4,g),i.write_shift(4,l),i.write_shift(2,0),k([k(n),k(r),i])}(e,n);for(var r=function(e){for(var t=0,n=0,r=0;r>6:n+=i+511>>9)}for(var a=e.FullPaths.length+3>>2,o=t+127>>7,s=(t+7>>3)+n+a+o,c=s+127>>7,l=c<=109?0:Math.ceil((c-109)/127);c>7;)l=++c<=109?0:Math.ceil((c-109)/127);return a=[1,l,c,o,a,n,t,0],e.FileIndex[0].size=t<<6,a[7]=(e.FileIndex[0].start=a[0]+a[1]+a[2]+a[3]+a[4]+a[5])+(a[6]+7>>3),a}(e),i=Gn(r[7]<<9),a=0,o=0,a=0;a<8;++a)i.write_shift(1,h[a]);for(a=0;a<8;++a)i.write_shift(2,0);for(i.write_shift(2,62),i.write_shift(2,3),i.write_shift(2,65534),i.write_shift(2,9),i.write_shift(2,6),a=0;a<3;++a)i.write_shift(2,0);for(i.write_shift(4,0),i.write_shift(4,r[2]),i.write_shift(4,r[0]+r[1]+r[2]+r[3]-1),i.write_shift(4,0),i.write_shift(4,4096),i.write_shift(4,r[3]?r[0]+r[1]+r[2]-1:p),i.write_shift(4,r[3]),i.write_shift(-4,r[1]?r[0]-1:p),i.write_shift(4,r[1]),a=0;a<109;++a)i.write_shift(-4,a>9)));for(s(r[6]+7>>3);511&i.l;)i.write_shift(-4,_.ENDOFCHAIN);for(c=o=a=0;c>6)));for(;511&i.l;)i.write_shift(-4,_.ENDOFCHAIN);for(a=0;a>16|M>>8|M);function I(e,t){var n=7&t,t=t>>>3;return(e[t]|(n<=5?0:e[1+t]<<8))>>>n&7}function L(e,t){var n=7&t,t=t>>>3;return(e[t]|(n<=3?0:e[1+t]<<8))>>>n&31}function R(e,t){var n=7&t,t=t>>>3;return(e[t]|(n<=1?0:e[1+t]<<8))>>>n&127}function z(e,t,n){var r=7&t,i=t>>>3,a=(1<>>r;return n<8-r?t&a:(t|=e[1+i]<<8-r,n<16-r?t&a:(t|=e[2+i]<<16-r,n<24-r?t&a:(t|=e[3+i]<<24-r)&a))}function B(e,t,n){var r=7&t,i=t>>>3;return r<=5?e[i]|=(7&n)<>8-r),t+3}function V(e,t,n){var r=t>>>3;return n<<=7&t,e[r]|=255&n,n>>>=8,e[1+r]=n,t+8}function H(e,t,n){var r=t>>>3;return n<<=7&t,e[r]|=255&n,n>>>=8,e[1+r]=255&n,e[2+r]=n>>>8,t+16}function U(e,t){var n=e.length,r=t<2*n?2*n:t+5,i=0;if(t<=n)return e;if(x){var a=w(r);if(e.copy)e.copy(a);else for(;i>>8-p:(m=m<<8|P[f>>8&255],p<=16?m>>>16-p:(m=m<<8|P[f>>16&255])>>>24-p))>>i-d,o=(1<>1)-1:(V(n,i,3),V(n,i+=5,P[l-23]>>5),i+=3);var f=l<8?0:l-4>>2;0>3),i-=3;var p=l<4?0:l-2>>1;0>>3]|=f,i=p+1),i=V(n,i,P[l]),o[c]=32767&a,++a}i=V(n,i,0)-1}}return n.l=(i+7)/8|0,n.l})(t,n)}}();function ae(e){var t=Gn(50+Math.floor(1.1*e.length)),e=ie(e,t);return t.slice(0,e)}var G=N?new Uint16Array(32768):W(32768),oe=N?new Uint16Array(32768):W(32768),K=N?new Uint16Array(128):W(128),se=1,ce=1;function le(e,t){if(e[0]==3&&!(3&e[1]))return[C(t),2];for(var n=0,r=0,i=w(t||1<<18),a=0,o=i.length>>>0,s=0,c=0;!(1&r);)if(r=I(e,n),n+=3,r>>>1)for(c=r>>1==1?(s=9,5):(n=function(e,t){var n,r,i,a=L(e,t)+257,o=L(e,t+=5)+1,s=(i=7&(r=t+=5),4+(((n=e)[r>>>=3]|(i<=4?0:n[1+r]<<8))>>>i&15));t+=4;for(var c=0,l=N?new Uint8Array(19):W(19),u=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],d=1,f=N?new Uint8Array(8):W(8),p=N?new Uint8Array(8):W(8),m=l.length,h=0;h>8-_;for(var v=(1<<7-_)-1;0<=v;--v)K[g|v<<_]=7&_|h<<3}for(var y,b,x,S=[],d=1;S.length>>=3){case 16:for(c=3+(x=void 0,x=7&(b=t),((y=e)[b>>>=3]|(x<=6?0:y[1+b]<<8))>>>x&3),t+=2,g=S[S.length-1];0>>1==1?te:G)[l];if(n+=15&u,!((u>>>=4)>>>8&255))i[a++]=u;else{if(u==256)break;var d=(u-=257)<8?0:u-4>>2;5>>1==1?ne:oe)[l]);var l=(u>>>=4)<4?0:u-2>>1,p=O[u];for(0>>3]|e[1+(n>>>3)]<<8;if(n+=32,0>>3],n+=8}return t?[i,n+7>>>3]:[i.slice(0,a),n+7>>>3]}function ue(e,t){return t=le(e.slice(e.l||0),t),e.l+=t[1],t[0]}function de(e,t){if(!e)throw Error(t);typeof console<`u`&&console.error(t)}function fe(e,t){var n=e;Un(n,0);var r={FileIndex:[],FullPaths:[]};c(r,{root:t.root});for(var a=n.length-4;(n[a]!=80||n[a+1]!=75||n[a+2]!=5||n[a+3]!=6)&&0<=a;)--a;n.l=a+4,n.l+=4;var o=n.read_shift(2);for(n.l+=6,t=n.read_shift(4),n.l=t,a=0;a>>=5);return n>>>=4,r.setMilliseconds(0),r.setFullYear(1980+n),r.setMonth(e-1),r.setDate(i),e=31&t,i=63&(t>>>=5),t>>>=6,r.setHours(t),r.setMinutes(i),r.setSeconds(e<<1),r}(e);if(8257&o)throw Error(`Unsupported ZIP encryption`);e.read_shift(4);for(var l,u=e.read_shift(4),f=e.read_shift(4),p=e.read_shift(2),m=e.read_shift(2),h=``,g=0;g`u`)throw Error(`Unsupported`);return new Uint8Array(e)}(e):e}function Fe(e,t,n){if(je!==void 0&&je.writeFileSync)return n?je.writeFileSync(e,t,n):je.writeFileSync(e,t);if(typeof Deno<`u`){if(n&&typeof t==`string`)switch(n){case`utf8`:t=new TextEncoder(n).encode(t);break;case`binary`:t=E(t);break;default:throw Error(`Unsupported encoding `+n)}return Deno.writeFileSync(e,t)}var r=n==`utf8`?Kt(t):t;if(typeof IE_SaveFile<`u`)return IE_SaveFile(r,e);if(typeof Blob<`u`){if(r=new Blob([Pe(r)],{type:`application/octet-stream`}),typeof navigator<`u`&&navigator.msSaveBlob)return navigator.msSaveBlob(r,e);if(typeof saveAs<`u`)return saveAs(r,e);if(typeof URL<`u`&&typeof document<`u`&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(r);if(typeof chrome==`object`&&typeof(chrome.downloads||{}).download==`function`)return URL.revokeObjectURL&&typeof setTimeout<`u`&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),chrome.downloads.download({url:i,filename:e,saveAs:!0});if(r=document.createElement(`a`),r.download!=null)return r.download=e,r.href=i,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL&&typeof setTimeout<`u`&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),i}}if(typeof $<`u`&&typeof File<`u`&&typeof Folder<`u`)try{var a=File(e);return a.open(`w`),a.encoding=`binary`,Array.isArray(t)&&(t=D(t)),a.write(t),a.close(),t}catch(e){if(!e.message||!e.message.match(/onstruct/))throw e}throw Error(`cannot save file `+e)}function Ie(e){for(var t=Object.keys(e),n=[],r=0;r>6&31,i[n++]=128|63&s):55296<=s&&s<57344?(s=64+(1023&s),o=1023&e.charCodeAt(++a),i[n++]=240|s>>8&7,i[n++]=128|s>>2&63,i[n++]=128|o>>6&15|(3&s)<<4,i[n++]=128|63&o):(i[n++]=224|s>>12&15,i[n++]=128|s>>6&63,i[n++]=128|63&s),r\r `,gt=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,_t=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,vt=ht.match(_t)?_t:/<[^>]*>/g,yt=/<\w*:/,bt=/<(\/?)\w+:/;function xt(e,t,n){for(var r={},i=0,a=0;i!==e.length&&(a=e.charCodeAt(i))!==32&&a!==10&&a!==13;++i);if(t||(r[0]=e.slice(0,i)),i===e.length)return r;var o,s,c,l=e.match(gt),u=0,d=0,f=``,p=``;if(l)for(d=0;d!=l.length;++d){for(p=l[d],a=0;a!=p.length&&p.charCodeAt(a)!==61;++a);for(f=p.slice(0,a).trim();p.charCodeAt(a+1)==32;)++a;for(s=+((i=p.charCodeAt(a+1))==34||i==39),o=p.slice(a+1+s,p.length-s),u=0;u!=f.length&&f.charCodeAt(u)!==58;++u);u===f.length?(r[f=0`,"<":`<`,"&":`&`},Et=Re(Tt),Dt=(Ct=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,wt=/_x([\da-fA-F]{4})_/gi,function e(t){var n=t+``,r=n.indexOf(``),e(n.slice(0,r))+n.slice(r+9,t)+e(n.slice(t+3)))}),Ot=/[&<>'"]/g,kt=/[\u0000-\u0008\u000b-\u001f]/g;function At(e){return(e+``).replace(Ot,function(e){return Et[e]}).replace(kt,function(e){return`_x`+(`000`+e.charCodeAt(0).toString(16)).slice(-4)+`_`})}function jt(e){return At(e).replace(/ /g,`_x0020_`)}var Mt=/[\u0000-\u001f]/g;function Nt(e){return(e+``).replace(Ot,function(e){return Et[e]}).replace(/\n/g,`
`).replace(Mt,function(e){return`&#x`+(`000`+e.charCodeAt(0).toString(16)).slice(-4)+`;`})}var Pt,Ft=(Pt=/&#(\d+);/g,function(e){return e.replace(Pt,It)});function It(e,t){return String.fromCharCode(parseInt(t,10))}function Lt(e){switch(e){case 1:case!0:case`1`:case`true`:case`TRUE`:return!0;default:return!1}}function Rt(e){for(var t,n,r,i,a=``,o=0,s=0;o>>10&1023)),a+=String.fromCharCode(56320+(1023&i)))));return a}function zt(e){for(var t,n,r=C(2*e.length),i=1,a=0,o=0,s=0;s>>10&1023),t=56320+(1023&t)),o!==0&&(r[a++]=255&o,r[a++]=o>>>8,o=0),r[a++]=t%256,r[a++]=t>>>8;return r.slice(0,a).toString(`ucs2`)}function Bt(e){return S(e,`binary`).toString(`utf8`)}var Vt,Ht,Ut,Wt=`foo bar baz☃🍣`,Gt=x&&(Bt(Wt)==Rt(Wt)?Bt:zt(Wt)==Rt(Wt)&&zt)||Rt,Kt=x?function(e){return S(e,`utf8`).toString(`binary`)}:function(e){for(var t,n=[],r=0,i=0;r>6))),n.push(String.fromCharCode(128+(63&i)));break;case 55296<=i&&i<57344:i-=55296,t=e.charCodeAt(r++)-56320+(i<<10),n.push(String.fromCharCode(240+(t>>18&7))),n.push(String.fromCharCode(144+(t>>12&63))),n.push(String.fromCharCode(128+(t>>6&63))),n.push(String.fromCharCode(128+(63&t)));break;default:n.push(String.fromCharCode(224+(i>>12))),n.push(String.fromCharCode(128+(i>>6&63))),n.push(String.fromCharCode(128+(63&i)))}return n.join(``)},qt=(Vt={},function(e,t){var n=e+`|`+(t||``);return Vt[n]||(Vt[n]=RegExp(`<(?:\\w+:)?`+e+`(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)`,t||``))}),Jt=(Ht=[[`nbsp`,` `],[`middot`,`·`],[`quot`,`"`],[`apos`,`'`],[`gt`,`>`],[`lt`,`<`],[`amp`,`&`]].map(function(e){return[RegExp(`&`+e[0]+`;`,`ig`),e[1]]}),function(e){for(var t=e.replace(/^[\t\n\r ]+/,``).replace(/[\t\n\r ]+$/,``).replace(/>\s+/g,`>`).replace(/\s+/g,` `).replace(/<[^>]*>/g,``),n=0;n([\\s\\S]*?)`,`g`):Ut[e]}),Xt=/<\/?(?:vt:)?variant>/g,Zt=/<(?:vt:)([^>]*)>([\s\S]*)`+t+``}function tn(e){return Ie(e).map(function(t){return` `+t+`="`+e[t]+`"`}).join(``)}function nn(e,t,n){return`<`+e+(n==null?``:tn(n))+(t==null?`/`:(t.match($t)?` xml:space="preserve"`:``)+`>`+t+``}function rn(e,t){try{return e.toISOString().replace(/\.\d*/,``)}catch(e){if(t)throw e}return``}function an(e){if(x&&Buffer.isBuffer(e))return e.toString(`utf8`);if(typeof e==`string`)return e;if(typeof Uint8Array<`u`&&e instanceof Uint8Array)return Gt(D(O(e)));throw Error(`Bad input format: expected Buffer or string`)}var on=/<(\/?)([^\s?>:\/]+)(?:[\s?:\/][^>]*)?>/gm,sn={CORE_PROPS:`http://schemas.openxmlformats.org/package/2006/metadata/core-properties`,CUST_PROPS:`http://schemas.openxmlformats.org/officeDocument/2006/custom-properties`,EXT_PROPS:`http://schemas.openxmlformats.org/officeDocument/2006/extended-properties`,CT:`http://schemas.openxmlformats.org/package/2006/content-types`,RELS:`http://schemas.openxmlformats.org/package/2006/relationships`,TCMNT:`http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments`,dc:`http://purl.org/dc/elements/1.1/`,dcterms:`http://purl.org/dc/terms/`,dcmitype:`http://purl.org/dc/dcmitype/`,mx:`http://schemas.microsoft.com/office/mac/excel/2008/main`,r:`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,sjs:`http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties`,vt:`http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes`,xsi:`http://www.w3.org/2001/XMLSchema-instance`,xsd:`http://www.w3.org/2001/XMLSchema`},cn=[`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,`http://purl.oclc.org/ooxml/spreadsheetml/main`,`http://schemas.microsoft.com/office/excel/2006/main`,`http://schemas.microsoft.com/office/excel/2006/2`],ln={o:`urn:schemas-microsoft-com:office:office`,x:`urn:schemas-microsoft-com:office:excel`,ss:`urn:schemas-microsoft-com:office:spreadsheet`,dt:`uuid:C2F41010-65B3-11d1-A29F-00AA00C14882`,mv:`http://macVmlSchemaUri`,v:`urn:schemas-microsoft-com:vml`,html:`http://www.w3.org/TR/REC-html40`};function un(e){for(var t=[],n=0;n>>7),r=((127&e[t+7])<<4)+(e[t+6]>>>4&15),i=15&e[t+6],a=5;0<=a;--a)i=256*i+e[t+a];return r==2047?i==0?1/0*n:NaN:(r==0?r=-1022:(r-=1023,i+=2**52),n*2**(r-52)*i)}var bn=x?function(e){return 0>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24&255},zn=function(e,t,n){e[n]=255&t,e[n+1]=t>>8&255,e[n+2]=t>>16&255,e[n+3]=t>>24&255},Bn=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255};function Vn(e,t,r){var a=0,o=0;if(r===`dbcs`){for(o=0;o!=t.length;++o)Bn(this,t.charCodeAt(o),this.l+2*o);a=2*t.length}else if(r===`sbcs`){if(n!==void 0&&i==874)for(o=0;o!=t.length;++o){var s=n.utils.encode(i,t.charAt(o));this[this.l+o]=s[0]}else for(t=t.replace(/[^\x00-\x7F]/g,`_`),o=0;o!=t.length;++o)this[this.l+o]=255&t.charCodeAt(o);a=t.length}else{if(r===`hex`){for(;o>8}for(;this.l>>=8,this[this.l+1]=255&t;break;case 3:a=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:a=4,Rn(this,t,this.l);break;case 8:if(a=8,r===`f`){(function(e,t,n){var r=(t<0||1/t==-1/0)<<7,i=0,a=0,o=r?-t:t;isFinite(o)?o==0?i=a=0:(i=Math.floor(Math.log(o)/Math.LN2),a=o*2**(52-i),i<=-1023&&(!isFinite(a)||a<2**52)?i=-1022:(a-=2**52,i+=1023)):(i=2047,a=isNaN(t)?26985:0);for(var s=0;s<=5;++s,a/=256)e[n+s]=255&a;e[n+6]=(15&i)<<4|15&a,e[n+7]=i>>4|r})(this,t,this.l);break}case 16:break;case-4:a=4,zn(this,t,this.l)}}return this.l+=a,this}function Hn(e,t){var n=Sn(this,this.l,e.length>>1);if(n!==e)throw Error(t+`Expected `+e+` saw `+n);this.l+=e.length>>1}function Un(e,t){e.l=t,e.read_shift=Ln,e.chk=Hn,e.write_shift=Vn}function Wn(e,t){e.l+=t}function Gn(e){return e=C(e),Un(e,0),e}function Kn(e,t,n){if(e){Un(e,e.l||0);for(var r,i=e.length,a=0;e.la.l&&((a=a.slice(0,a.l)).l=a.length),0>7));for(var o=0;o!=4;++o){if(!(128<=r)){a.write_shift(1,r);break}a.write_shift(1,128+(127&r)),r>>=7}0p&&(l.s.r=p),l.s.c>m&&(l.s.c=m),l.e.r>2,n?t/100:t}function jr(e,t){t??=Gn(4);var n=0,r=0,i=100*e;if(e==(0|e)&&-536870912<=e&&e<1<<29?r=1:i==(0|i)&&-536870912<=i&&i<1<<29&&(n=r=1),!r)throw Error(`unsupported RkNumber `+e);t.write_shift(-4,((n?i:e)<<2)+(n+2))}function Mr(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var Nr=Mr,Pr=function(e,t){return(t||=Gn(16)).write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t};function Fr(e){if(e.length-e.l<8)throw`XLS Xnum Buffer underflow`;return e.read_shift(8,`f`)}function Ir(e,t){return(t||Gn(8)).write_shift(8,e,`f`)}function Lr(e,t){if(t||=Gn(8),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;e.index==null?e.theme==null?(t.write_shift(1,5),t.write_shift(1,0)):(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,2),t.write_shift(1,e.index));var n=e.tint||0;return 0>16&255,e>>8&255,255&e]})),Jr={0:`#NULL!`,7:`#DIV/0!`,15:`#VALUE!`,23:`#REF!`,29:`#NAME?`,36:`#NUM!`,42:`#N/A`,43:`#GETTING_DATA`,255:`#WTF?`},Yr={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},Xr={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":`workbooks`,"application/vnd.ms-excel.sheet.macroEnabled.main+xml":`workbooks`,"application/vnd.ms-excel.sheet.binary.macroEnabled.main":`workbooks`,"application/vnd.ms-excel.addin.macroEnabled.main+xml":`workbooks`,"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":`workbooks`,"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":`sheets`,"application/vnd.ms-excel.worksheet":`sheets`,"application/vnd.ms-excel.binIndexWs":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":`charts`,"application/vnd.ms-excel.chartsheet":`charts`,"application/vnd.ms-excel.macrosheet+xml":`macros`,"application/vnd.ms-excel.macrosheet":`macros`,"application/vnd.ms-excel.intlmacrosheet":`TODO`,"application/vnd.ms-excel.binIndexMs":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":`dialogs`,"application/vnd.ms-excel.dialogsheet":`dialogs`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":`strs`,"application/vnd.ms-excel.sharedStrings":`strs`,"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":`styles`,"application/vnd.ms-excel.styles":`styles`,"application/vnd.openxmlformats-package.core-properties+xml":`coreprops`,"application/vnd.openxmlformats-officedocument.custom-properties+xml":`custprops`,"application/vnd.openxmlformats-officedocument.extended-properties+xml":`extprops`,"application/vnd.openxmlformats-officedocument.customXmlProperties+xml":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":`comments`,"application/vnd.ms-excel.comments":`comments`,"application/vnd.ms-excel.threadedcomments+xml":`threadedcomments`,"application/vnd.ms-excel.person+xml":`people`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":`metadata`,"application/vnd.ms-excel.sheetMetadata":`metadata`,"application/vnd.ms-excel.pivotTable":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":`TODO`,"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":`TODO`,"application/vnd.ms-office.chartcolorstyle+xml":`TODO`,"application/vnd.ms-office.chartstyle+xml":`TODO`,"application/vnd.ms-office.chartex+xml":`TODO`,"application/vnd.ms-excel.calcChain":`calcchains`,"application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":`calcchains`,"application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":`TODO`,"application/vnd.ms-office.activeX":`TODO`,"application/vnd.ms-office.activeX+xml":`TODO`,"application/vnd.ms-excel.attachedToolbars":`TODO`,"application/vnd.ms-excel.connections":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":`TODO`,"application/vnd.ms-excel.externalLink":`links`,"application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":`links`,"application/vnd.ms-excel.pivotCacheDefinition":`TODO`,"application/vnd.ms-excel.pivotCacheRecords":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":`TODO`,"application/vnd.ms-excel.queryTable":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":`TODO`,"application/vnd.ms-excel.userNames":`TODO`,"application/vnd.ms-excel.revisionHeaders":`TODO`,"application/vnd.ms-excel.revisionLog":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":`TODO`,"application/vnd.ms-excel.tableSingleCells":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":`TODO`,"application/vnd.ms-excel.slicer":`TODO`,"application/vnd.ms-excel.slicerCache":`TODO`,"application/vnd.ms-excel.slicer+xml":`TODO`,"application/vnd.ms-excel.slicerCache+xml":`TODO`,"application/vnd.ms-excel.wsSortMap":`TODO`,"application/vnd.ms-excel.table":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":`TODO`,"application/vnd.openxmlformats-officedocument.theme+xml":`themes`,"application/vnd.openxmlformats-officedocument.themeOverride+xml":`TODO`,"application/vnd.ms-excel.Timeline+xml":`TODO`,"application/vnd.ms-excel.TimelineCache+xml":`TODO`,"application/vnd.ms-office.vbaProject":`vba`,"application/vnd.ms-office.vbaProjectSignature":`TODO`,"application/vnd.ms-office.volatileDependencies":`TODO`,"application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":`TODO`,"application/vnd.ms-excel.controlproperties+xml":`TODO`,"application/vnd.openxmlformats-officedocument.model+data":`TODO`,"application/vnd.ms-excel.Survey+xml":`TODO`,"application/vnd.openxmlformats-officedocument.drawing+xml":`drawings`,"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":`TODO`,"application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":`TODO`,"application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":`TODO`,"application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":`TODO`,"application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":`TODO`,"application/vnd.openxmlformats-officedocument.vmlDrawing":`TODO`,"application/vnd.openxmlformats-package.relationships+xml":`rels`,"application/vnd.openxmlformats-officedocument.oleObject":`TODO`,"image/png":`TODO`,sheet:`js`},Zr={workbooks:{xlsx:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml`,xlsm:`application/vnd.ms-excel.sheet.macroEnabled.main+xml`,xlsb:`application/vnd.ms-excel.sheet.binary.macroEnabled.main`,xlam:`application/vnd.ms-excel.addin.macroEnabled.main+xml`,xltx:`application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml`},strs:{xlsx:`application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml`,xlsb:`application/vnd.ms-excel.sharedStrings`},comments:{xlsx:`application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml`,xlsb:`application/vnd.ms-excel.comments`},sheets:{xlsx:`application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml`,xlsb:`application/vnd.ms-excel.worksheet`},charts:{xlsx:`application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml`,xlsb:`application/vnd.ms-excel.chartsheet`},dialogs:{xlsx:`application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml`,xlsb:`application/vnd.ms-excel.dialogsheet`},macros:{xlsx:`application/vnd.ms-excel.macrosheet+xml`,xlsb:`application/vnd.ms-excel.macrosheet`},metadata:{xlsx:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml`,xlsb:`application/vnd.ms-excel.sheetMetadata`},styles:{xlsx:`application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml`,xlsb:`application/vnd.ms-excel.styles`}};function Qr(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:``}}function $r(e,t){var n,r=function(e){for(var t=[],n=Ie(e),r=0;r!==n.length;++r)t[e[n[r]]]??(t[e[n[r]]]=[]),t[e[n[r]]].push(n[r]);return t}(Xr),i=[];i[i.length]=ht,i[i.length]=nn(`Types`,null,{xmlns:sn.CT,"xmlns:xsd":sn.xsd,"xmlns:xsi":sn.xsi}),i=i.concat([[`xml`,`application/xml`],[`bin`,`application/vnd.ms-excel.sheet.binary.macroEnabled.main`],[`vml`,`application/vnd.openxmlformats-officedocument.vmlDrawing`],[`data`,`application/vnd.openxmlformats-officedocument.model+data`],[`bmp`,`image/bmp`],[`png`,`image/png`],[`gif`,`image/gif`],[`emf`,`image/x-emf`],[`wmf`,`image/x-wmf`],[`jpg`,`image/jpeg`],[`jpeg`,`image/jpeg`],[`tif`,`image/tiff`],[`tiff`,`image/tiff`],[`pdf`,`application/pdf`],[`rels`,`application/vnd.openxmlformats-package.relationships+xml`]].map(function(e){return nn(`Default`,null,{Extension:e[0],ContentType:e[1]})}));function a(r){e[r]&&0`,i[1]=i[1].replace(`/>`,`>`)),i.join(``)}var ei={WB:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,SHEET:`http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,HLINK:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink`,VML:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing`,XPATH:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath`,XMISS:`http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing`,XLINK:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink`,CXML:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml`,CXMLP:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps`,CMNT:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments`,CORE_PROPS:`http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties`,EXT_PROPS:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties`,CUST_PROPS:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties`,SST:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings`,STY:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles`,THEME:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme`,CHART:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart`,CHARTEX:`http://schemas.microsoft.com/office/2014/relationships/chartEx`,CS:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet`,WS:[`http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet`,`http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet`],DS:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet`,MS:`http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet`,IMG:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,DRAW:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,XLMETA:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata`,TCMNT:`http://schemas.microsoft.com/office/2017/10/relationships/threadedComment`,PEOPLE:`http://schemas.microsoft.com/office/2017/10/relationships/person`,VBA:`http://schemas.microsoft.com/office/2006/relationships/vbaProject`};function ti(e){var t=e.lastIndexOf(`/`);return e.slice(0,t+1)+`_rels/`+e.slice(t+1)+`.rels`}function ni(e,t){var n={"!id":{}};if(!e)return n;t.charAt(0)!==`/`&&(t=`/`+t);var r={};return(e.match(vt)||[]).forEach(function(e){var i,a=xt(e);a[0]===``,t[1]=t[1].replace(`/>`,`>`)),t.join(``)}function ii(e,t,n,r,i,a){if(i||={},e[`!id`]||={},e[`!idx`]||=1,t<0)for(t=e[`!idx`];e[`!id`][`rId`+t];++t);if(e[`!idx`]=t+1,i.Id=`rId`+t,i.Type=r,i.Target=n,a?i.TargetMode=a:-1<[ei.HLINK,ei.XPATH,ei.XMISS].indexOf(i.Type)&&(i.TargetMode=`External`),e[`!id`][i.Id])throw Error(`Cannot rewrite rId `+t);return e[`!id`][i.Id]=i,e[(`/`+i.Target).replace(`//`,`/`)]=i,t}var ai=`application/vnd.oasis.opendocument.spreadsheet`;function oi(e,t,n){return[` `,` @@ -530,19 +530,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `);break;case``:l=!0;break;case``:l=!1;break;case``:case``:case``:break;case``:l=!1;break;default:if(!l&&o.WTF)throw Error(`unrecognized `+n[0]+` in threaded comments`)}return e}),s)))}),_&&_.length&&oc(g,_,!0,c.people||[])}catch(e){if(c.WTF)throw e}var v,h}function Gd(e){return e.charAt(0)==`/`?e.slice(1):e}function Kd(e,t){if(De(),Vd(t||={}),ot(e,`META-INF/manifest.xml`)||ot(e,`objectdata.xml`))return ld(e,t);if(ot(e,`Index/Document.iwa`)){if(typeof Uint8Array>`u`)throw Error(`NUMBERS file parsing requires Uint8Array support`);if(e.FileIndex)return Rd(e);var n=Ne.utils.cfb_new();return ut(e).forEach(function(t){dt(n,t,function e(t,n,r){if(!r)return at(st(t,n));if(!n)return null;try{return e(t,n)}catch{return null}}(e,t))}),Rd(n)}if(!ot(e,`[Content_Types].xml`))throw ot(e,`index.xml.gz`)?Error(`Unsupported NUMBERS 08 file`):ot(e,`index.xml`)?Error(`Unsupported NUMBERS 09 file`):Error(`Unsupported ZIP file`);var r,i,a=ut(e),o=function(e){var t=Qr();if(!e||!e.match)return t;var n={};if((e.match(vt)||[]).forEach(function(e){var r=xt(e);switch(r[0].replace(yt,`<`)){case`]*>([\\s\\S]*?)`));n&&0`:r=null;break;default:if(o.indexOf(``),l=c[0].slice(4),u=c[1];switch(l){case`lpstr`:case`bstr`:case`lpwstr`:n[r]=Dt(u);break;case`bool`:n[r]=Lt(u);break;case`i1`:case`i2`:case`i4`:case`i8`:case`int`:case`uint`:n[r]=parseInt(u,10);break;case`r4`:case`r8`:case`decimal`:n[r]=parseFloat(u);break;case`filetime`:case`date`:n[r]=Ye(u);break;case`cy`:case`error`:n[r]=Dt(u);break;default:if(l.slice(-1)==`/`)break;t.WTF&&typeof console<`u`&&console.warn(`Unexpected`,o,l,c)}}else if(o.slice(0,2)!==``:break;case``:break;case``:case``:case``:break;case``:O=!1;break;default:if(!O&&E.WTF)throw Error(`unrecognized `+t[0]+` in threaded comments`)}return e}),D)),k&&=Ud(k,p.Sheets);var A=+!!ct(e,`xl/worksheets/sheet.xml`,!0);e:for(b=0;b!=m.Worksheets;++b){var j=`sheet`;if(k&&k[b]?(v=`xl/`+k[b][1].replace(/[\/]?xl\//,``),ot(e,v)||(v=k[b][1]),ot(e,v)||(v=T.replace(/_rels\/.*$/,``)+k[b][1]),j=k[b][2]):v=(v=`xl/worksheets/sheet`+(b+1-A)+`.`+w).replace(/sheet0\./,`sheet.`),y=v.replace(/^(.*)(\/)([^\/]*)$/,`$1/_rels/$3.rels`),t&&t.sheets!=null)switch(typeof t.sheets){case`number`:if(b!=t.sheets)continue e;break;case`string`:if(m.SheetNames[b].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var M=!1,N=0;N!=t.sheets.length;++N)typeof t.sheets[N]==`number`&&t.sheets[N]==b&&(M=1),typeof t.sheets[N]==`string`&&t.sheets[N].toLowerCase()==m.SheetNames[b].toLowerCase()&&(M=1);if(!M)continue e}}Wd(e,v,y,m.SheetNames[b],b,x,r,j,t,p,c,l)}return _={Directory:o,Workbook:p,Props:m,Custprops:g,Deps:h,Sheets:r,SheetNames:m.SheetNames,Strings:el,Styles:l,Themes:c,SSF:Ze(V)},t&&t.bookFiles&&(e.files?(_.keys=a,_.files=e.files):(_.keys=[],_.files={},e.FullPaths.forEach(function(t,n){t=t.replace(/^Root Entry[\/]/,``),_.keys.push(t),_.files[t]=e.FileIndex[n]}))),t&&t.bookVBA&&(0/,`>`)];return e.forEach(function(e){var i=``;(e[1]||[]).forEach(function(a,o){var s;a.T?(a.a&&t.indexOf(a.a)==-1&&t.push(a.a),s={ref:e[0],id:`{54EE7951-7262-4200-6969-`+(`000000000000`+ n.tcid++).slice(-12)+`}`},o==0?i=s.id:s.parentId=i,a.ID=s.id,a.a&&(s.personId=`{54EE7950-7262-4200-6969-`+(`000000000000`+t.indexOf(a.a)).slice(-12)+`}`),r.push(nn(`threadedComment`,en(`text`,a.t||``),s))):delete a.ID})}),r.push(``),r.join(``)}(f,d,t)),i.threadedcomments.push(m),ii(g,-1,`../threadedComments/threadedComment`+s+`.`+n,ei.TCMNT)),dt(a,m=`xl/comments`+s+`.`+n,sc(f)),i.comments.push(m),ii(g,-1,`../comments`+s+`.`+n,ei.CMNT),p=!0),_[`!legacy`]&&p&&dt(a,`xl/drawings/vmlDrawing`+s+`.vml`,ac(s,_[`!comments`])),delete _[`!comments`],delete _[`!legacy`]),g[`!id`].rId1&&dt(a,ti(o),ri(g))}return t.Strings!=null&&0/,`>`)],r.forEach(function(e,t){u.push(nn(`person`,null,{displayName:e,id:`{54EE7950-7262-4200-6969-`+(`000000000000`+t).slice(-12)+`}`,userId:e,providerId:`None`}))}),u.push(``),u.join(``))),i.people.push(o),ii(t.wbrels,-1,`persons/person.xml`,ei.PEOPLE)),dt(a,`[Content_Types].xml`,$r(i,t)),dt(a,`_rels/.rels`,ri(t.rels)),dt(a,`xl/_rels/workbook.xml.rels`,ri(t.wbrels)),delete t.revssf,delete t.ssf,a}function Xd(e,t){var n=``;switch((t||{}).type||`base64`){case`buffer`:return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case`base64`:n=b(e.slice(0,12));break;case`binary`:n=e;break;case`array`:return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw Error(`Unrecognized type `+(t&&t.type||`undefined`))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}function Zd(e,t){var n=0;e:for(;n`u`||x||(r.type=`array`)),r.type==`string`&&(d=!0,r.type=`binary`,r.codepage=65001,u=(f=e).match(/[^\x00-\x7F]/)?Kt(f):f),r.type==`array`&&typeof Uint8Array<`u`&&e instanceof Uint8Array&&typeof ArrayBuffer<`u`){var f=new ArrayBuffer(3),f=new Uint8Array(f);if(f.foo=`bar`,!f.foo)return(r=Ze(r)).type=`array`,$d(O(u),r)}switch((i=Xd(u,r))[0]){case 208:if(i[1]===207&&i[2]===17&&i[3]===224&&i[4]===161&&i[5]===177&&i[6]===26&&i[7]===225)return s=Ne.read(u,r),c=r,(Ne.find(s,`EncryptedPackage`)?qd:Iu)(s,c);break;case 9:if(i[1]<=8)return Iu(u,r);break;case 60:return Cu(u,r);case 73:if(i[1]===73&&i[2]===42&&i[3]===0)throw Error(`TIFF Image File is not a spreadsheet`);if(i[1]===68)return function(e,t){var n=t||{},r=!!n.WTF;n.WTF=!0;try{var i=Ra.to_workbook(e,n);return n.WTF=r,i}catch(i){if(n.WTF=r,!i.message.match(/SYLK bad record ID/)&&r)throw i;return to.to_workbook(e,t)}}(u,r);break;case 84:if(i[1]===65&&i[2]===66&&i[3]===76)return Va.to_workbook(u,r);break;case 80:return i[1]===75&&i[2]<9&&i[3]<9?(o=c=u,(a=(a=r)||{}).type||(a.type=x&&Buffer.isBuffer(c)?`buffer`:`base64`),Kd(pt(o,a),a)):Qd(e,u,r,d);case 239:return i[3]===60?Cu(u,r):Qd(e,u,r,d);case 255:if(i[1]===254)return o=u,(a=r).type==`base64`&&(o=b(o)),o=n.utils.decode(1200,o.slice(2),`str`),a.type=`binary`,Zd(o,a);if(i[1]===0&&i[2]===2&&i[3]===0)return fo.to_workbook(u,r);break;case 0:if(i[1]===0&&(2<=i[2]&&i[3]===0||i[2]===0&&(i[3]===8||i[3]===9)))return fo.to_workbook(u,r);break;case 3:case 131:case 139:case 140:return Ma.to_workbook(u,r);case 123:if(i[1]===92&&i[2]===114&&i[3]===116)return rs.to_workbook(u,r);break;case 10:case 13:case 32:return function(e,t){var n=``,r=Xd(e,t);switch(t.type){case`base64`:n=b(e);break;case`binary`:n=e;break;case`buffer`:n=e.toString(`binary`);break;case`array`:n=Xe(e);break;default:throw Error(`Unrecognized type `+t.type)}return r[0]==239&&r[1]==187&&r[2]==191&&(n=Gt(n)),t.type=`binary`,Zd(n,t)}(u,r);case 137:if(i[1]===80&&i[2]===78&&i[3]===71)throw Error(`PNG Image File is not a spreadsheet`)}return-1t)return t;throw Error(`Cannot find sheet # `+t)}if(typeof t!=`string`)throw Error(`Cannot find sheet |`+t+`|`);if(-1<(e=e.SheetNames.indexOf(t)))return e;throw Error(`Cannot find sheet name |`+t+`|`)}(e,t),e.Workbook.Sheets[t]||(e.Workbook.Sheets[t]={}),n){case 0:case 1:case 2:break;default:throw Error(`Bad sheet visibility setting `+n)}e.Workbook.Sheets[t].Hidden=n},cell_set_number_format:function(e,t){return e.z=t,e},cell_set_hyperlink:bf,cell_set_internal_link:function(e,t,n){return bf(e,`#`+t,n)},cell_add_comment:function(e,t,n){e.c||=[],e.c.push({t,a:n||`SheetJS`})},sheet_set_array_formula:function(e,t,n,r){for(var i=typeof t==`string`?sr(t):t,a=typeof t==`string`?t:or(t),o=i.s.r;o<=i.e.r;++o)for(var s=i.s.c;s<=i.e.c;++s){var c=_f(e,o,s);c.t=`n`,c.F=a,delete c.v,o==i.s.r&&s==i.s.c&&(c.f=n,r&&(c.D=!0))}return e},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};function Sf(e){xf=e}var fa={to_json:function(e,t){var n=xf({objectMode:!0});if(e==null||e[`!ref`]==null)return n.push(null),n;var r,i={t:`n`,v:0},a=0,o=1,s=[],c=``,l={s:{r:0,c:0},e:{r:0,c:0}},u=t||{},d=u.range==null?e[`!ref`]:u.range;switch(u.header===1?a=1:u.header===`A`?a=2:Array.isArray(u.header)&&(a=3),typeof d){case`string`:l=sr(d);break;case`number`:(l=sr(e[`!ref`])).s.r=d;break;default:l=d}0a.e.r)return s||(s=!0,n.push(``+i)),n.push(null);for(;o<=a.e.r;){n.push($u(e,a,o,r)),++o;break}},n},to_csv:function(e,t){var n=xf(),r=t??{};if(e==null||e[`!ref`]==null)return n.push(null),n;var i=sr(e[`!ref`]),a=r.FS===void 0?`,`:r.FS,o=a.charCodeAt(0),s=r.RS===void 0?` -`:r.RS,c=s.charCodeAt(0),l=RegExp((a==`|`?`\\|`:a)+`+$`),u=``,d=[];r.dense=Array.isArray(e);for(var f=r.skipHidden&&e[`!cols`]||[],p=r.skipHidden&&e[`!rows`]||[],m=i.s.c;m<=i.e.c;++m)(f[m]||{}).hidden||(d[m]=nr(m));var h=i.s.r,g=!1,_=0;return n._read=function(){if(!g)return g=!0,n.push(``);for(;h<=i.e.r;)if(++h,!(p[h-1]||{}).hidden&&(u=pf(e,i,h-1,d,o,c,a,r),u!=null&&((u=r.strip?u.replace(l,``):u)||!1!==r.blankrows)))return n.push((_++?s:``)+u);return n.push(null)},n},set_readable:Sf},Cf=function(){function e(t,n,r){return this instanceof e?(this.tagName=t,this._attributes=n||{},this._children=r||[],this._prefix=``,this):new e(t,n,r)}return e.prototype.createElement=function(){return new e(arguments)},e.prototype.children=function(){return this._children},e.prototype.append=function(e){return this._children.push(e),this},e.prototype.prefix=function(e){return arguments.length==0?this._prefix:(this._prefix=e,this)},e.prototype.attr=function(e,t){if(t==null)return delete this._attributes[e],this;if(arguments.length==0)return this._attributes;if(typeof e==`string`&&arguments.length==1)return this._attributes.attr[e];if(typeof e==`object`&&arguments.length==1)for(var n in e)this._attributes[n]=e[n];else arguments.length==2&&typeof e==`string`&&(this._attributes[e]=t);return this},e.prototype.escapeAttributeValue=function(e){return`"`+e.replace(/\"/g,`"`)+`"`},e.prototype.toXml=function(e){var t=(e||=this)._prefix;if(t+=`<`+e.tagName,e._attributes)for(var n in e._attributes)t+=` `+n+`=`+this.escapeAttributeValue(``+e._attributes[n]);if(e._children&&0`;for(var r=0;r`}else t+=`/>`;return t},e}(),wf=function(e){var t,n=164,r={0:`General`,1:`0`,2:`0.00`,3:`#,##0`,4:`#,##0.00`,9:`0%`,10:`0.00%`,11:`0.00E+00`,12:`# ?/?`,13:`# ??/??`,14:`m/d/yy`,15:`d-mmm-yy`,16:`d-mmm`,17:`mmm-yy`,18:`h:mm AM/PM`,19:`h:mm:ss AM/PM`,20:`h:mm`,21:`h:mm:ss`,22:`m/d/yy h:mm`,37:`#,##0 ;(#,##0)`,38:`#,##0 ;[Red](#,##0)`,39:`#,##0.00;(#,##0.00)`,40:`#,##0.00;[Red](#,##0.00)`,45:`mm:ss`,46:`[h]:mm:ss`,47:`mmss.0`,48:`##0.0E+0`,49:`@`,56:`"上午/下午 "hh"時"mm"分"ss"秒 "`},i={};for(t in r)i[r[t]]=t;var a={};return{initialize:function(e){this.$fonts=Cf(`fonts`).attr(`count`,0).attr(`x14ac:knownFonts`,`1`),this.$fills=Cf(`fills`).attr(`count`,0),this.$borders=Cf(`borders`).attr(`count`,0),this.$numFmts=Cf(`numFmts`).attr(`count`,0),this.$cellStyleXfs=Cf(`cellStyleXfs`),this.$xf=Cf(`xf`).attr(`numFmtId`,0).attr(`fontId`,0).attr(`fillId`,0).attr(`borderId`,0),this.$cellXfs=Cf(`cellXfs`).attr(`count`,0),this.$cellStyles=Cf(`cellStyles`).append(Cf(`cellStyle`).attr(`name`,`Normal`).attr(`xfId`,0).attr(`builtinId`,0)),this.$dxfs=Cf(`dxfs`).attr(`count`,`0`),this.$tableStyles=Cf(`tableStyles`).attr(`count`,`0`).attr(`defaultTableStyle`,`TableStyleMedium9`).attr(`defaultPivotStyle`,`PivotStyleMedium4`),this.$styles=Cf(`styleSheet`).attr(`xmlns:mc`,`http://schemas.openxmlformats.org/markup-compatibility/2006`).attr(`xmlns:x14ac`,`http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac`).attr(`xmlns`,`http://schemas.openxmlformats.org/spreadsheetml/2006/main`).attr(`mc:Ignorable`,`x14ac`).prefix(``).append(this.$numFmts).append(this.$fonts).append(this.$fills).append(this.$borders).append(this.$cellStyleXfs.append(this.$xf)).append(this.$cellXfs).append(this.$cellStyles).append(this.$dxfs).append(this.$tableStyles);var t=e.defaultCellStyle||{};return t.font||={name:`Calibri`,sz:`11`},t.font.name||(t.font.name=`Calibri`),t.font.sz||(t.font.sz=11),t.fill||={patternType:`none`,fgColor:{}},t.border||={},t.numFmt||=0,this.defaultStyle=t,e=JSON.parse(JSON.stringify(t)),e.fill={patternType:`gray125`,fgColor:{}},this.addStyles([t,e]),this},addStyle:function(e){var t=JSON.stringify(e),n=a[t];return n==null?(n=this._addXf(e),a[t]=n):n=a[t],n},addStyles:function(e){var t=this;return e.map(function(e){return t.addStyle(e)})},_duckTypeStyle:function(e){return typeof e==`object`&&(e.patternFill||e.fgColor)?{fill:e}:e.font||e.numFmt||e.border||e.fill?e:this._getStyleCSS(e)},_getStyleCSS:function(e){return e},_addXf:function(e){var t=this._addFont(e.font),n=this._addFill(e.fill),r=this._addBorder(e.border),i=this._addNumFmt(e.numFmt),a=Cf(`xf`).attr(`numFmtId`,i).attr(`fontId`,t).attr(`fillId`,n).attr(`borderId`,r).attr(`xfId`,`0`);return 0/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`),e=Cf(`numFmt`).attr(`numFmtId`,++n).attr(`formatCode`,e),this.$numFmts.append(e),e=this.$numFmts.children().length,this.$numFmts.attr(`count`,e),n)},_addFill:function(e){if(!e)return 0;var t,n=Cf(`patternFill`).attr(`patternType`,e.patternType||`solid`);return e.fgColor&&(t=Cf(`fgColor`),e.fgColor.rgb?(e.fgColor.rgb.length==6&&(e.fgColor.rgb=`FF`+e.fgColor.rgb),t.attr(`rgb`,e.fgColor.rgb),n.append(t)):e.fgColor.theme&&(t.attr(`theme`,e.fgColor.theme),e.fgColor.tint&&t.attr(`tint`,e.fgColor.tint),n.append(t)),e.bgColor||={indexed:`64`}),e.bgColor&&(e=Cf(`bgColor`).attr(e.bgColor),n.append(e)),n=Cf(`fill`).append(n),this.$fills.append(n),n=this.$fills.children().length,this.$fills.attr(`count`,n),n-1},_getSubBorder:function(e,t){var n=Cf(e);return t&&(n.attr(`style`,t.style||`medium`),t.color&&(e=Cf(`color`),t.color.auto?e.attr(`auto`,t.color.auto):t.color.rgb?e.attr(`rgb`,t.color.rgb):(t.color.theme||t.color.tint)&&(e.attr(`theme`,t.color.theme||`1`),e.attr(`tint`,t.color.tint||`0`)),n.append(e))),n},_addBorder:function(e){if(!e)return 0;var t=this,n=Cf(`border`).attr(`diagonalUp`,e.diagonalUp).attr(`diagonalDown`,e.diagonalDown);[`left`,`right`,`top`,`bottom`,`diagonal`].forEach(function(r){n.append(t._getSubBorder(r,e[r]))}),this.$borders.append(n);var r=this.$borders.children().length;return this.$borders.attr(`count`,r),r-1},toXml:function(){return this.$styles.toXml()}}.initialize(e||{})};Iu!==void 0&&(e.parse_xlscfb=Iu),e.parse_zip=Kd,e.read=$d,e.readFile=ef,e.readFileSync=ef,e.write=sf,e.writeFile=lf,e.writeFileSync=lf,e.writeFileAsync=function(e,t,n,r){var i=n||{};return i.type=`file`,i.file=e,cf(i),i.type=`buffer`,r instanceof Function||(r=n),je.writeFile(e,sf(t,i),r)},e.utils=Da,e.writeXLSX=of,e.writeFileXLSX=function(e,t,n){return(n||={}).type=`file`,n.file=t,cf(n),of(e,n)},e.SSF=Oe,fa!==void 0&&(e.stream=fa),Ne!==void 0&&(e.CFB=Ne),u===void 0||((fa=z5())||{}).Readable&&Sf(fa.Readable)}if(e===void 0?t!==void 0&&t.exports?r(t.exports):typeof define==`function`&&define.amd?define(`xlsx`,function(){return n.version||r(n),n}):r(n):r(e),typeof window<`u`&&!window.XLSX)try{window.XLSX=n}catch{}}))(),1),V5={top:{style:`thin`,color:{rgb:`000000`}},right:{style:`thin`,color:{rgb:`000000`}},bottom:{style:`thin`,color:{rgb:`000000`}},left:{style:`thin`,color:{rgb:`000000`}}},H5={vertical:`center`,wrapText:!0},kHe={font:{bold:!0,sz:16,color:{rgb:`FFFFFF`}},fill:{fgColor:{rgb:`111827`}},alignment:{...H5,horizontal:`center`},border:V5},AHe={font:{bold:!0,color:{rgb:`111827`}},fill:{fgColor:{rgb:`F3F4F6`}},alignment:{...H5,horizontal:`center`},border:V5},jHe={font:{color:{rgb:`111827`}},fill:{fgColor:{rgb:`FFFFFF`}},alignment:{...H5,horizontal:`left`},border:V5},MHe={font:{bold:!0,color:{rgb:`FFFFFF`}},fill:{fgColor:{rgb:`374151`}},alignment:{...H5,horizontal:`center`},border:V5},NHe={font:{color:{rgb:`111827`}},fill:{fgColor:{rgb:`FFFFFF`}},alignment:{...H5,horizontal:`left`},border:V5};function U5(e){return e??``}function W5(e){if(e==null)return 0;let t=(e instanceof Date?e.toISOString():String(e)).split(/\r?\n/);return Math.max(...t.map(e=>Array.from(e).reduce((e,t)=>e+(t.charCodeAt(0)>255?2:1),0)),0)}function G5(e,t,n){return Math.min(n,Math.max(t,e))}function PHe(e,t){let n=Math.max(t.length,...e.map(e=>e.length));return Array.from({length:n},(n,r)=>{let i=t[r];if(i?.width)return{wch:i.width};let a=e.reduce((e,t)=>Math.max(e,W5(t[r])),W5(i?.title)),o=i?.minWidth??10,s=i?.maxWidth??42;return{wch:G5(Math.ceil(a*1.15)+2,o,s)}})}function FHe(e,t,n=20){return G5(n+(e.reduce((e,n,r)=>{let i=Math.max(8,t[r]?.wch||12),a=(n==null?``:String(n)).split(/\r?\n/).reduce((e,t)=>e+Math.max(1,Math.ceil(W5(t)/Math.max(8,i-2))),0);return Math.max(e,a)},1)-1)*16,n,120)}function K5(e,t,n){e.s={...t,alignment:{...t.alignment},border:V5},n&&(e.z=n)}function q5(e){return typeof e==`number`&&Number.isFinite(e)}function IHe(e){let{filename:t,sheetName:n,title:r,metadataRows:i=[],summaryRows:a=[],columns:o,rows:s}=e,c=Math.max(1,o.length),l=[],u=-1,d=-1;r&&(u=l.length,l.push([r,...Array.from({length:c-1},()=>``)])),i.forEach(e=>l.push(e.map(U5))),a.forEach(e=>l.push(e.map(U5))),(i.length||a.length)&&l.push(Array.from({length:c},()=>``)),d=l.length,l.push(o.map(e=>e.title)),s.forEach((e,t)=>{l.push(o.map(n=>U5(n.render(e,t))))});let f=B5.utils.aoa_to_sheet(l),p=B5.utils.decode_range(f[`!ref`]||`A1:A1`),m=PHe(l,o);f[`!cols`]=m,f[`!rows`]=l.map((e,t)=>t===u?{hpt:34}:t===d?{hpt:28}:e.every(e=>e===``)?{hpt:10}:{hpt:FHe(e,m)}),u>=0&&c>1&&(f[`!merges`]=f[`!merges`]||[],f[`!merges`].push({s:{r:u,c:0},e:{r:u,c:c-1}})),f[`!autofilter`]={ref:B5.utils.encode_range({s:{r:d,c:0},e:{r:Math.max(d,l.length-1),c:c-1}})};for(let e=p.s.r;e<=p.e.r;e+=1)for(let t=p.s.c;t<=p.e.c;t+=1){let n=B5.utils.encode_cell({r:e,c:t}),r=f[n]||{t:`s`,v:``};if(f[n]=r,e===u){K5(r,kHe);continue}if(e===d){K5(r,MHe);continue}if(e{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(J5),[i,a]=(0,C.useState)(0),[o,s]=(0,C.useState)(!1),[c,l]=(0,C.useState)(!1),[u,d]=(0,C.useState)(``),[f,p]=(0,C.useState)(1),[m,h]=(0,C.useState)(10),[g,_]=(0,C.useState)(``),[v,y]=(0,C.useState)(``),[b,x]=(0,C.useState)([]),[S,w]=(0,C.useState)(``),[T,E]=(0,C.useState)(``),[D,O]=(0,C.useState)(``),[k,A]=(0,C.useState)(``),[j,M]=(0,C.useState)(``),[N,P]=(0,C.useState)(``),[F,I]=(0,C.useState)(``),[L,R]=(0,C.useState)(``),[z,B]=(0,C.useState)([null,null]),V=(0,C.useMemo)(()=>({page:f,pageSize:m,userName:L||void 0,teamId:v||void 0,recordType:S||void 0,creditSubject:T||void 0,mediaType:D||void 0,chargeKind:k||void 0,sourceModule:j||void 0,sourceStepCode:N||void 0,billingScene:F||void 0,startDate:z[0]?.format(`YYYY-MM-DD`),endDate:z[1]?.format(`YYYY-MM-DD`),...qHe(g)}),[f,m,L,v,S,T,D,k,j,N,F,z,g]),H=async()=>{s(!0);try{let e=await p5(V);t(e.items||[]),a(e.total||0),r(e.summary||J5)}catch(e){wP.error(e?.message||`加载积分记录失败`)}finally{s(!1)}};(0,C.useEffect)(()=>{H()},[V]),(0,C.useEffect)(()=>{c5(!0).then(x).catch(()=>{})},[]);let U=()=>{_(``),y(``),w(``),E(``),O(``),A(``),M(``),P(``),I(``),R(``),B([null,null]),p(1)},W=async()=>{l(!0),d(`准备导出...`);try{let e={...V,page:1,pageSize:500},t=await p5(e),n=[...t.items||[]],r=t.summary||J5,i=t.total||0,a=Math.max(1,Math.ceil(i/500));d(`正在获取 ${n.length} / ${i}`);for(let t=2;t<=a;t+=1){let r=await p5({...e,page:t});n.push(...r.items||[]),d(`正在获取 ${Math.min(n.length,i)} / ${i}`)}IHe({filename:`积分流水_${(0,mC.default)().format(`YYYYMMDD_HHmmss`)}.xlsx`,sheetName:`积分流水`,title:`积分流水汇总`,metadataRows:[[`筛选时间`,`${z[0]?.format(`YYYY-MM-DD`)||`不限`} 至 ${z[1]?.format(`YYYY-MM-DD`)||`不限`}`],[`导出时间`,(0,mC.default)().format(`YYYY-MM-DD HH:mm:ss`)],[`导出条数`,i]],summaryRows:[[`总充值`,r.totalRecharge],[`总消费`,r.totalConsume],[`总回退`,r.totalRefund],[`交易笔数`,r.transactionCount],[`生成条数`,r.generationCount],[`生成尝试次数`,r.generationAttemptCount],[`图片生成条数`,r.imageGenerationCount],[`视频生成条数`,r.videoGenerationCount],[`图片消费积分`,r.imageConsume],[`视频消费积分`,r.videoConsume],[`提词消费积分`,r.textConsume],[`视频分析积分`,r.analysisConsume],[`总 Token`,r.totalTokens],[`输入 Token`,r.inputTokens],[`输出 Token`,r.outputTokens]],columns:[{title:`时间`,maxWidth:22,render:e=>P5(e.createdAt||``)},{title:`用户`,minWidth:12,maxWidth:20,render:e=>e.username||`-`},{title:`手机号`,minWidth:13,maxWidth:18,render:e=>e.phone||`-`},{title:`用户类型`,maxWidth:16,render:e=>e.userTypeLabel||`-`},{title:`前台归类`,maxWidth:18,render:e=>e.frontendUserKindLabel||`-`},{title:`归属团队`,maxWidth:20,render:e=>e.teamNameSnapshot||`未分配团队`},{title:`流水类型`,maxWidth:14,align:`center`,render:e=>e.recordTypeLabel||e.type||`-`},{title:`积分类型`,maxWidth:20,render:e=>e.creditSubjectLabel||`-`},{title:`扣费子类`,maxWidth:22,render:e=>e.chargeKindLabel||`-`},{title:`模块`,maxWidth:20,render:e=>e.sourceModuleLabel||`-`},{title:`模块步骤`,maxWidth:22,render:e=>e.sourceStepCodeLabel||`-`},{title:`计费场景`,maxWidth:32,render:e=>e.billingSceneLabel||`-`},{title:`媒体类型`,maxWidth:12,align:`center`,render:e=>e.mediaTypeLabel||`-`},{title:`变动积分`,minWidth:12,maxWidth:14,align:`right`,numFmt:`#,##0.00`,render:e=>e.amount},{title:`变动后余额`,minWidth:12,maxWidth:14,align:`right`,numFmt:`#,##0.00`,render:e=>e.balanceAfter},{title:`实际 Token`,minWidth:12,maxWidth:14,align:`right`,numFmt:`#,##0`,render:e=>e.totalTokens||0},{title:`输入 Token`,minWidth:12,maxWidth:14,align:`right`,numFmt:`#,##0`,render:e=>e.inputTokens||0},{title:`输出 Token`,minWidth:12,maxWidth:14,align:`right`,numFmt:`#,##0`,render:e=>e.outputTokens||0},{title:`执行类型`,maxWidth:18,render:e=>X5(e.engineType)},{title:`执行配置`,maxWidth:28,render:e=>e.engineName||`-`},{title:`供应商`,maxWidth:18,render:e=>e.engineProvider||`-`},{title:`模型版本`,maxWidth:26,render:e=>e.engineModelName||`-`},{title:`关联状态`,maxWidth:14,align:`center`,render:e=>e.ownerDeleted?`关联已删除`:`正常`},{title:`说明`,minWidth:18,maxWidth:42,render:e=>e.description||``},{title:`业务归属类型`,maxWidth:18,render:e=>e.ownerType||``},{title:`业务归属ID`,maxWidth:28,render:e=>e.ownerId||``},{title:`BizKey`,maxWidth:36,render:e=>e.bizKey||``}],rows:n}),wP.success(`Excel 已导出`)}catch(e){wP.error(e?.message||`导出失败`)}finally{l(!1),d(``)}},ee=[{title:`用户`,dataIndex:`username`,width:130,fixed:`left`,render:(e,t)=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,children:e||`-`}),(0,Q.jsx)(`div`,{style:{fontSize:12,color:`#94a3b8`},children:t.phone||`-`})]})},{title:`用户类型`,dataIndex:`userTypeLabel`,width:120,render:(e,t)=>(0,Q.jsx)(kR,{color:t.userType===`admin`?`orange`:`blue`,children:t.userTypeLabel||`-`})},{title:`归属团队`,dataIndex:`teamNameSnapshot`,width:130,render:e=>e?(0,Q.jsx)(kR,{color:`blue`,children:e}):(0,Q.jsx)(Z.Text,{type:`secondary`,children:`未分配`})},{title:`流水类型`,dataIndex:`recordType`,width:100,render:(e,t)=>{let n=RHe[e]||{text:t.recordTypeLabel||e||`-`,color:`default`,icon:null};return(0,Q.jsx)(kR,{color:n.color,icon:n.icon,children:n.text})}},{title:`积分类型`,dataIndex:`creditSubjectLabel`,width:150,render:e=>(0,Q.jsx)(kR,{children:e||`-`})},{title:`模块`,dataIndex:`sourceModuleLabel`,width:130,render:e=>e||`-`},{title:`步骤/场景`,key:`scene`,width:210,render:(e,t)=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`div`,{children:t.billingSceneLabel||`-`}),(0,Q.jsx)(`div`,{style:{fontSize:12,color:`#94a3b8`},children:t.sourceStepCodeLabel||`-`})]})},{title:`媒体`,dataIndex:`mediaTypeLabel`,width:80,render:e=>e?(0,Q.jsx)(kR,{color:`purple`,children:e}):`-`},{title:`变动积分`,dataIndex:`amount`,width:120,sorter:(e,t)=>e.amount-t.amount,render:e=>(0,Q.jsxs)(Z.Text,{strong:!0,style:{color:e>0?`#10b981`:`#ef4444`},children:[e>0?`+`:``,Y5(e)]})},{title:`余额`,dataIndex:`balanceAfter`,width:110,render:e=>Y5(e)},{title:`Token`,key:`tokens`,width:140,render:(e,t)=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`b`,{children:Y5(t.totalTokens)}),(0,Q.jsxs)(`div`,{style:{fontSize:12,color:`#94a3b8`},children:[`入 `,Y5(t.inputTokens),` / 出 `,Y5(t.outputTokens)]})]})},{title:`执行配置`,key:`engine`,width:230,render:(e,t)=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(kR,{color:t.engineType===`model`?`geekblue`:t.engineType===`image`?`purple`:t.engineType===`video`?`cyan`:`default`,children:X5(t.engineType)}),(0,Q.jsx)(`div`,{children:t.engineName||`-`}),(0,Q.jsx)(`div`,{style:{fontSize:12,color:`#94a3b8`},children:[t.engineProvider,t.engineModelName].filter(Boolean).join(` / `)||`-`})]})},{title:`关联状态`,dataIndex:`ownerDeleted`,width:100,render:e=>(0,Q.jsx)(kR,{color:e?`red`:`green`,children:e?`已删除`:`正常`})},{title:`说明`,dataIndex:`description`,width:240,ellipsis:!0},{title:`时间`,dataIndex:`createdAt`,width:160,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:P5(e)})}];return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(4, minmax(0, 1fr))`,gap:16,marginBottom:16},children:[(0,Q.jsx)(RA,{bordered:!1,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(WH,{style:{color:`#10b981`,fontSize:22}}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`div`,{style:{color:`#94a3b8`},children:`总充值`}),(0,Q.jsxs)(`div`,{style:{fontSize:22,fontWeight:800,color:`#10b981`},children:[`+`,Y5(n.totalRecharge)]})]})]})}),(0,Q.jsx)(RA,{bordered:!1,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(FH,{style:{color:`#ef4444`,fontSize:22}}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`div`,{style:{color:`#94a3b8`},children:`总消费`}),(0,Q.jsxs)(`div`,{style:{fontSize:22,fontWeight:800,color:`#ef4444`},children:[`-`,Y5(n.totalConsume)]})]})]})}),(0,Q.jsx)(RA,{bordered:!1,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(W2,{style:{color:`#3b82f6`,fontSize:22}}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`div`,{style:{color:`#94a3b8`},children:`总回退`}),(0,Q.jsxs)(`div`,{style:{fontSize:22,fontWeight:800,color:`#3b82f6`},children:[`+`,Y5(n.totalRefund)]})]})]})}),(0,Q.jsx)(RA,{bordered:!1,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(f8,{style:{color:`#6366f1`,fontSize:22}}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`div`,{style:{color:`#94a3b8`},children:`交易 / 生成`}),(0,Q.jsxs)(`div`,{style:{fontSize:22,fontWeight:800},children:[Y5(n.transactionCount),` / `,Y5(n.generationCount)]})]})]})})]}),(0,Q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(4, minmax(0, 1fr))`,gap:16,marginBottom:16},children:[(0,Q.jsxs)(RA,{size:`small`,bordered:!1,children:[`图片生成:`,Y5(n.imageGenerationCount),` 条 / `,Y5(n.imageConsume),` 积分`]}),(0,Q.jsxs)(RA,{size:`small`,bordered:!1,children:[`视频生成:`,Y5(n.videoGenerationCount),` 条 / `,Y5(n.videoConsume),` 积分`]}),(0,Q.jsxs)(RA,{size:`small`,bordered:!1,children:[`提词消费:`,Y5(n.textConsume),` 积分`]}),(0,Q.jsxs)(RA,{size:`small`,bordered:!1,children:[`视频分析:`,Y5(n.analysisConsume),` 积分`]})]}),(0,Q.jsxs)(RA,{bordered:!1,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16,flexWrap:`wrap`,gap:12},children:[(0,Q.jsxs)(NM,{wrap:!0,children:[(0,Q.jsx)(Ob,{value:g,onChange:e=>{p(1),_(e)},style:{width:150},options:zHe}),(0,Q.jsx)(Ob,{value:v,onChange:e=>{p(1),y(e)},style:{width:170},options:[{value:``,label:`全部团队`},{value:LHe,label:`未分配团队`},...b.map(e=>({value:e.id,label:e.status===`disabled`?`${e.name}(禁用)`:e.name}))]}),(0,Q.jsx)(Ob,{value:S,onChange:e=>{p(1),w(e)},style:{width:130},options:BHe}),(0,Q.jsx)(Ob,{value:T,onChange:e=>{p(1),E(e)},style:{width:180},options:VHe}),(0,Q.jsx)(Ob,{value:D,onChange:e=>{p(1),O(e)},style:{width:110},options:HHe}),(0,Q.jsx)(Ob,{value:k,onChange:e=>{p(1),A(e)},style:{width:150},options:UHe}),(0,Q.jsx)(Ob,{value:j,onChange:e=>{p(1),M(e)},style:{width:150},options:WHe}),(0,Q.jsx)(Ob,{value:N,onChange:e=>{p(1),P(e)},style:{width:150},options:GHe}),(0,Q.jsx)(Ob,{value:F,onChange:e=>{p(1),I(e)},style:{width:220},options:KHe}),(0,Q.jsx)(HN,{placeholder:`用户名/手机号/邮箱`,value:L,onChange:e=>{p(1),R(e.target.value)},style:{width:180},allowClear:!0}),(0,Q.jsx)(pM.RangePicker,{value:z,onChange:e=>{p(1),B(e?[e[0],e[1]]:[null,null])},placeholder:[`开始日期`,`结束日期`],style:{width:250}})]}),(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(cC,{onClick:U,children:`重置`}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(HP,{}),onClick:H,children:`刷新`}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(_B,{}),loading:c,onClick:W,children:`下载 Excel`})]})]}),u&&(0,Q.jsx)(`div`,{style:{marginBottom:12,color:`#6366f1`},children:u}),(0,Q.jsx)(gR,{columns:ee,dataSource:e,rowKey:`id`,loading:o,pagination:{current:f,pageSize:m,total:i,onChange:(e,t)=>{p(e),h(t)},showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`},scroll:{x:2050}})]})]})},YHe=()=>{let[e,t]=(0,C.useState)(!1),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(!1),[c,l]=(0,C.useState)(180),[u]=X.useForm(),d=async()=>{try{let e=await qBe(),t={};e.forEach(e=>{t[e.key]=e.value}),u.setFieldsValue({wechat_appid:t.payment_wechat_appid||``,wechat_mch_id:t.payment_wechat_mch_id||``,wechat_private_key:t.payment_wechat_private_key||``,wechat_cert_serial_no:t.payment_wechat_cert_serial_no||``,wechat_api_v3_key:t.payment_wechat_api_v3_key||``,wechat_notify_url:t.payment_wechat_notify_url||``,wechat_public_key:t.payment_wechat_public_key||``,wechat_public_key_id:t.payment_wechat_public_key_id||``,alipay_app_id:t.payment_alipay_app_id||``,alipay_private_key:t.payment_alipay_private_key||``,alipay_public_key:t.payment_alipay_public_key||``,alipay_notify_url:t.payment_alipay_notify_url||``,alipay_gateway:t.payment_alipay_gateway||``,order_timeout:t.payment_order_timeout||`180`}),r(t.payment_wechat_enabled===`true`),a(t.payment_alipay_enabled===`true`),s(t.payment_mock===`true`),l(parseInt(t.payment_order_timeout||`180`,10))}catch{wP.error(`加载支付配置失败`)}};return(0,C.useEffect)(()=>{d()},[]),(0,Q.jsxs)(`div`,{style:{maxWidth:`100%`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:24,flexWrap:`wrap`,marginBottom:24},children:[(0,Q.jsx)(`div`,{style:{flex:`1 1 400px`,minWidth:400},children:(0,Q.jsx)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,Q.jsx)(`div`,{style:{width:40,height:40,borderRadius:10,background:`rgba(99,102,241,0.08)`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:20,color:`#6366f1`},children:(0,Q.jsx)(lM,{})}),(0,Q.jsx)(`div`,{children:(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14},children:`订单超时时间`})})]}),(0,Q.jsx)(X,{form:u,layout:`inline`,children:(0,Q.jsx)(X.Item,{name:`order_timeout`,style:{margin:0},children:(0,Q.jsxs)(NM.Compact,{style:{width:140},children:[(0,Q.jsx)(jj,{min:30,max:86400,placeholder:`180`,style:{width:`100%`},size:`middle`}),(0,Q.jsx)(Z.Text,{children:`秒`})]})})})]})})}),(0,Q.jsx)(`div`,{style:{flex:`1 1 400px`,minWidth:400},children:(0,Q.jsx)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`,background:o?`#fff7e6`:`#fafbff`},children:(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,Q.jsx)(`div`,{style:{width:40,height:40,borderRadius:10,background:o?`rgba(245,158,11,0.15)`:`rgba(99,102,241,0.08)`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:20,color:o?`#f59e0b`:`#6366f1`},children:(0,Q.jsx)(aY,{})}),(0,Q.jsx)(`div`,{children:(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14},children:`模拟支付模式`})})]}),(0,Q.jsx)(uF,{checked:o,onChange:s,checkedChildren:`已开启`,unCheckedChildren:`已关闭`})]})})})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:24,flexWrap:`wrap`},children:[(0,Q.jsx)(`div`,{style:{flex:`1 1 400px`,minWidth:400},children:(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:20},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,Q.jsx)(`div`,{style:{width:44,height:44,borderRadius:10,background:`rgba(7,193,96,0.08)`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:22,color:`#07c160`},children:(0,Q.jsx)(v8,{})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Title,{level:5,style:{margin:0},children:`微信支付`}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:`微信商户号支付配置`})]})]}),(0,Q.jsx)(uF,{checked:n,onChange:r,checkedChildren:`已启用`,unCheckedChildren:`未启用`})]}),(0,Q.jsxs)(X,{form:u,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`wechat_appid`,label:`AppID`,children:(0,Q.jsx)(HN,{placeholder:`微信支付 AppID`,size:`large`,disabled:!n})}),(0,Q.jsx)(X.Item,{name:`wechat_mch_id`,label:`商户号 (MchID)`,children:(0,Q.jsx)(HN,{placeholder:`微信支付商户号`,size:`large`,disabled:!n})}),(0,Q.jsx)(X.Item,{name:`wechat_private_key`,label:`商户私钥`,extra:` +`:r.RS,c=s.charCodeAt(0),l=RegExp((a==`|`?`\\|`:a)+`+$`),u=``,d=[];r.dense=Array.isArray(e);for(var f=r.skipHidden&&e[`!cols`]||[],p=r.skipHidden&&e[`!rows`]||[],m=i.s.c;m<=i.e.c;++m)(f[m]||{}).hidden||(d[m]=nr(m));var h=i.s.r,g=!1,_=0;return n._read=function(){if(!g)return g=!0,n.push(``);for(;h<=i.e.r;)if(++h,!(p[h-1]||{}).hidden&&(u=pf(e,i,h-1,d,o,c,a,r),u!=null&&((u=r.strip?u.replace(l,``):u)||!1!==r.blankrows)))return n.push((_++?s:``)+u);return n.push(null)},n},set_readable:Sf},Cf=function(){function e(t,n,r){return this instanceof e?(this.tagName=t,this._attributes=n||{},this._children=r||[],this._prefix=``,this):new e(t,n,r)}return e.prototype.createElement=function(){return new e(arguments)},e.prototype.children=function(){return this._children},e.prototype.append=function(e){return this._children.push(e),this},e.prototype.prefix=function(e){return arguments.length==0?this._prefix:(this._prefix=e,this)},e.prototype.attr=function(e,t){if(t==null)return delete this._attributes[e],this;if(arguments.length==0)return this._attributes;if(typeof e==`string`&&arguments.length==1)return this._attributes.attr[e];if(typeof e==`object`&&arguments.length==1)for(var n in e)this._attributes[n]=e[n];else arguments.length==2&&typeof e==`string`&&(this._attributes[e]=t);return this},e.prototype.escapeAttributeValue=function(e){return`"`+e.replace(/\"/g,`"`)+`"`},e.prototype.toXml=function(e){var t=(e||=this)._prefix;if(t+=`<`+e.tagName,e._attributes)for(var n in e._attributes)t+=` `+n+`=`+this.escapeAttributeValue(``+e._attributes[n]);if(e._children&&0`;for(var r=0;r`}else t+=`/>`;return t},e}(),wf=function(e){var t,n=164,r={0:`General`,1:`0`,2:`0.00`,3:`#,##0`,4:`#,##0.00`,9:`0%`,10:`0.00%`,11:`0.00E+00`,12:`# ?/?`,13:`# ??/??`,14:`m/d/yy`,15:`d-mmm-yy`,16:`d-mmm`,17:`mmm-yy`,18:`h:mm AM/PM`,19:`h:mm:ss AM/PM`,20:`h:mm`,21:`h:mm:ss`,22:`m/d/yy h:mm`,37:`#,##0 ;(#,##0)`,38:`#,##0 ;[Red](#,##0)`,39:`#,##0.00;(#,##0.00)`,40:`#,##0.00;[Red](#,##0.00)`,45:`mm:ss`,46:`[h]:mm:ss`,47:`mmss.0`,48:`##0.0E+0`,49:`@`,56:`"上午/下午 "hh"時"mm"分"ss"秒 "`},i={};for(t in r)i[r[t]]=t;var a={};return{initialize:function(e){this.$fonts=Cf(`fonts`).attr(`count`,0).attr(`x14ac:knownFonts`,`1`),this.$fills=Cf(`fills`).attr(`count`,0),this.$borders=Cf(`borders`).attr(`count`,0),this.$numFmts=Cf(`numFmts`).attr(`count`,0),this.$cellStyleXfs=Cf(`cellStyleXfs`),this.$xf=Cf(`xf`).attr(`numFmtId`,0).attr(`fontId`,0).attr(`fillId`,0).attr(`borderId`,0),this.$cellXfs=Cf(`cellXfs`).attr(`count`,0),this.$cellStyles=Cf(`cellStyles`).append(Cf(`cellStyle`).attr(`name`,`Normal`).attr(`xfId`,0).attr(`builtinId`,0)),this.$dxfs=Cf(`dxfs`).attr(`count`,`0`),this.$tableStyles=Cf(`tableStyles`).attr(`count`,`0`).attr(`defaultTableStyle`,`TableStyleMedium9`).attr(`defaultPivotStyle`,`PivotStyleMedium4`),this.$styles=Cf(`styleSheet`).attr(`xmlns:mc`,`http://schemas.openxmlformats.org/markup-compatibility/2006`).attr(`xmlns:x14ac`,`http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac`).attr(`xmlns`,`http://schemas.openxmlformats.org/spreadsheetml/2006/main`).attr(`mc:Ignorable`,`x14ac`).prefix(``).append(this.$numFmts).append(this.$fonts).append(this.$fills).append(this.$borders).append(this.$cellStyleXfs.append(this.$xf)).append(this.$cellXfs).append(this.$cellStyles).append(this.$dxfs).append(this.$tableStyles);var t=e.defaultCellStyle||{};return t.font||={name:`Calibri`,sz:`11`},t.font.name||(t.font.name=`Calibri`),t.font.sz||(t.font.sz=11),t.fill||={patternType:`none`,fgColor:{}},t.border||={},t.numFmt||=0,this.defaultStyle=t,e=JSON.parse(JSON.stringify(t)),e.fill={patternType:`gray125`,fgColor:{}},this.addStyles([t,e]),this},addStyle:function(e){var t=JSON.stringify(e),n=a[t];return n==null?(n=this._addXf(e),a[t]=n):n=a[t],n},addStyles:function(e){var t=this;return e.map(function(e){return t.addStyle(e)})},_duckTypeStyle:function(e){return typeof e==`object`&&(e.patternFill||e.fgColor)?{fill:e}:e.font||e.numFmt||e.border||e.fill?e:this._getStyleCSS(e)},_getStyleCSS:function(e){return e},_addXf:function(e){var t=this._addFont(e.font),n=this._addFill(e.fill),r=this._addBorder(e.border),i=this._addNumFmt(e.numFmt),a=Cf(`xf`).attr(`numFmtId`,i).attr(`fontId`,t).attr(`fillId`,n).attr(`borderId`,r).attr(`xfId`,`0`);return 0/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`),e=Cf(`numFmt`).attr(`numFmtId`,++n).attr(`formatCode`,e),this.$numFmts.append(e),e=this.$numFmts.children().length,this.$numFmts.attr(`count`,e),n)},_addFill:function(e){if(!e)return 0;var t,n=Cf(`patternFill`).attr(`patternType`,e.patternType||`solid`);return e.fgColor&&(t=Cf(`fgColor`),e.fgColor.rgb?(e.fgColor.rgb.length==6&&(e.fgColor.rgb=`FF`+e.fgColor.rgb),t.attr(`rgb`,e.fgColor.rgb),n.append(t)):e.fgColor.theme&&(t.attr(`theme`,e.fgColor.theme),e.fgColor.tint&&t.attr(`tint`,e.fgColor.tint),n.append(t)),e.bgColor||={indexed:`64`}),e.bgColor&&(e=Cf(`bgColor`).attr(e.bgColor),n.append(e)),n=Cf(`fill`).append(n),this.$fills.append(n),n=this.$fills.children().length,this.$fills.attr(`count`,n),n-1},_getSubBorder:function(e,t){var n=Cf(e);return t&&(n.attr(`style`,t.style||`medium`),t.color&&(e=Cf(`color`),t.color.auto?e.attr(`auto`,t.color.auto):t.color.rgb?e.attr(`rgb`,t.color.rgb):(t.color.theme||t.color.tint)&&(e.attr(`theme`,t.color.theme||`1`),e.attr(`tint`,t.color.tint||`0`)),n.append(e))),n},_addBorder:function(e){if(!e)return 0;var t=this,n=Cf(`border`).attr(`diagonalUp`,e.diagonalUp).attr(`diagonalDown`,e.diagonalDown);[`left`,`right`,`top`,`bottom`,`diagonal`].forEach(function(r){n.append(t._getSubBorder(r,e[r]))}),this.$borders.append(n);var r=this.$borders.children().length;return this.$borders.attr(`count`,r),r-1},toXml:function(){return this.$styles.toXml()}}.initialize(e||{})};Iu!==void 0&&(e.parse_xlscfb=Iu),e.parse_zip=Kd,e.read=$d,e.readFile=ef,e.readFileSync=ef,e.write=sf,e.writeFile=lf,e.writeFileSync=lf,e.writeFileAsync=function(e,t,n,r){var i=n||{};return i.type=`file`,i.file=e,cf(i),i.type=`buffer`,r instanceof Function||(r=n),je.writeFile(e,sf(t,i),r)},e.utils=Da,e.writeXLSX=of,e.writeFileXLSX=function(e,t,n){return(n||={}).type=`file`,n.file=t,cf(n),of(e,n)},e.SSF=Oe,fa!==void 0&&(e.stream=fa),Ne!==void 0&&(e.CFB=Ne),u===void 0||((fa=M5())||{}).Readable&&Sf(fa.Readable)}if(e===void 0?t!==void 0&&t.exports?r(t.exports):typeof define==`function`&&define.amd?define(`xlsx`,function(){return n.version||r(n),n}):r(n):r(e),typeof window<`u`&&!window.XLSX)try{window.XLSX=n}catch{}}))(),1),P5={top:{style:`thin`,color:{rgb:`000000`}},right:{style:`thin`,color:{rgb:`000000`}},bottom:{style:`thin`,color:{rgb:`000000`}},left:{style:`thin`,color:{rgb:`000000`}}},F5={vertical:`center`,wrapText:!0},IHe={font:{bold:!0,sz:16,color:{rgb:`FFFFFF`}},fill:{fgColor:{rgb:`111827`}},alignment:{...F5,horizontal:`center`},border:P5},LHe={font:{bold:!0,color:{rgb:`111827`}},fill:{fgColor:{rgb:`F3F4F6`}},alignment:{...F5,horizontal:`center`},border:P5},RHe={font:{color:{rgb:`111827`}},fill:{fgColor:{rgb:`FFFFFF`}},alignment:{...F5,horizontal:`left`},border:P5},zHe={font:{bold:!0,color:{rgb:`FFFFFF`}},fill:{fgColor:{rgb:`374151`}},alignment:{...F5,horizontal:`center`},border:P5},BHe={font:{color:{rgb:`111827`}},fill:{fgColor:{rgb:`FFFFFF`}},alignment:{...F5,horizontal:`left`},border:P5};function I5(e){return e??``}function L5(e){if(e==null)return 0;let t=(e instanceof Date?e.toISOString():String(e)).split(/\r?\n/);return Math.max(...t.map(e=>Array.from(e).reduce((e,t)=>e+(t.charCodeAt(0)>255?2:1),0)),0)}function R5(e,t,n){return Math.min(n,Math.max(t,e))}function VHe(e,t){let n=Math.max(t.length,...e.map(e=>e.length));return Array.from({length:n},(n,r)=>{let i=t[r];if(i?.width)return{wch:i.width};let a=e.reduce((e,t)=>Math.max(e,L5(t[r])),L5(i?.title)),o=i?.minWidth??10,s=i?.maxWidth??42;return{wch:R5(Math.ceil(a*1.15)+2,o,s)}})}function HHe(e,t,n=20){return R5(n+(e.reduce((e,n,r)=>{let i=Math.max(8,t[r]?.wch||12),a=(n==null?``:String(n)).split(/\r?\n/).reduce((e,t)=>e+Math.max(1,Math.ceil(L5(t)/Math.max(8,i-2))),0);return Math.max(e,a)},1)-1)*16,n,120)}function z5(e,t,n){e.s={...t,alignment:{...t.alignment},border:P5},n&&(e.z=n)}function B5(e){return typeof e==`number`&&Number.isFinite(e)}function UHe(e){let{filename:t,sheetName:n,title:r,metadataRows:i=[],summaryRows:a=[],columns:o,rows:s}=e,c=Math.max(1,o.length),l=[],u=-1,d=-1;r&&(u=l.length,l.push([r,...Array.from({length:c-1},()=>``)])),i.forEach(e=>l.push(e.map(I5))),a.forEach(e=>l.push(e.map(I5))),(i.length||a.length)&&l.push(Array.from({length:c},()=>``)),d=l.length,l.push(o.map(e=>e.title)),s.forEach((e,t)=>{l.push(o.map(n=>I5(n.render(e,t))))});let f=N5.utils.aoa_to_sheet(l),p=N5.utils.decode_range(f[`!ref`]||`A1:A1`),m=VHe(l,o);f[`!cols`]=m,f[`!rows`]=l.map((e,t)=>t===u?{hpt:34}:t===d?{hpt:28}:e.every(e=>e===``)?{hpt:10}:{hpt:HHe(e,m)}),u>=0&&c>1&&(f[`!merges`]=f[`!merges`]||[],f[`!merges`].push({s:{r:u,c:0},e:{r:u,c:c-1}})),f[`!autofilter`]={ref:N5.utils.encode_range({s:{r:d,c:0},e:{r:Math.max(d,l.length-1),c:c-1}})};for(let e=p.s.r;e<=p.e.r;e+=1)for(let t=p.s.c;t<=p.e.c;t+=1){let n=N5.utils.encode_cell({r:e,c:t}),r=f[n]||{t:`s`,v:``};if(f[n]=r,e===u){z5(r,IHe);continue}if(e===d){z5(r,zHe);continue}if(e{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(V5),[i,a]=(0,C.useState)(0),[o,s]=(0,C.useState)(!1),[c,l]=(0,C.useState)(!1),[u,d]=(0,C.useState)(``),[f,p]=(0,C.useState)(1),[m,h]=(0,C.useState)(10),[g,_]=(0,C.useState)(``),[v,y]=(0,C.useState)(``),[b,x]=(0,C.useState)([]),[S,w]=(0,C.useState)(``),[T,E]=(0,C.useState)(``),[D,O]=(0,C.useState)(``),[k,A]=(0,C.useState)(``),[j,M]=(0,C.useState)(``),[N,P]=(0,C.useState)(``),[F,I]=(0,C.useState)(``),[L,R]=(0,C.useState)(``),[z,B]=(0,C.useState)([null,null]),V=(0,C.useMemo)(()=>({page:f,pageSize:m,userName:L||void 0,teamId:v||void 0,recordType:S||void 0,creditSubject:T||void 0,mediaType:D||void 0,chargeKind:k||void 0,sourceModule:j||void 0,sourceStepCode:N||void 0,billingScene:F||void 0,startDate:z[0]?.format(`YYYY-MM-DD`),endDate:z[1]?.format(`YYYY-MM-DD`),...eUe(g)}),[f,m,L,v,S,T,D,k,j,N,F,z,g]),H=async()=>{s(!0);try{let e=await o5(V);t(e.items||[]),a(e.total||0),r(e.summary||V5)}catch(e){xP.error(e?.message||`加载积分记录失败`)}finally{s(!1)}};(0,C.useEffect)(()=>{H()},[V]),(0,C.useEffect)(()=>{t5(!0).then(x).catch(()=>{})},[]);let U=()=>{_(``),y(``),w(``),E(``),O(``),A(``),M(``),P(``),I(``),R(``),B([null,null]),p(1)},W=async()=>{l(!0),d(`准备导出...`);try{let e={...V,page:1,pageSize:500},t=await o5(e),n=[...t.items||[]],r=t.summary||V5,i=t.total||0,a=Math.max(1,Math.ceil(i/500));d(`正在获取 ${n.length} / ${i}`);for(let t=2;t<=a;t+=1){let r=await o5({...e,page:t});n.push(...r.items||[]),d(`正在获取 ${Math.min(n.length,i)} / ${i}`)}UHe({filename:`积分流水_${(0,$S.default)().format(`YYYYMMDD_HHmmss`)}.xlsx`,sheetName:`积分流水`,title:`积分流水汇总`,metadataRows:[[`筛选时间`,`${z[0]?.format(`YYYY-MM-DD`)||`不限`} 至 ${z[1]?.format(`YYYY-MM-DD`)||`不限`}`],[`导出时间`,(0,$S.default)().format(`YYYY-MM-DD HH:mm:ss`)],[`导出条数`,i]],summaryRows:[[`总充值`,r.totalRecharge],[`总消费`,r.totalConsume],[`总回退`,r.totalRefund],[`交易笔数`,r.transactionCount],[`生成条数`,r.generationCount],[`生成尝试次数`,r.generationAttemptCount],[`图片生成条数`,r.imageGenerationCount],[`视频生成条数`,r.videoGenerationCount],[`图片消费积分`,r.imageConsume],[`视频消费积分`,r.videoConsume],[`提词消费积分`,r.textConsume],[`视频分析积分`,r.analysisConsume],[`总 Token`,r.totalTokens],[`输入 Token`,r.inputTokens],[`输出 Token`,r.outputTokens]],columns:[{title:`时间`,maxWidth:22,render:e=>D5(e.createdAt||``)},{title:`用户`,minWidth:12,maxWidth:20,render:e=>e.username||`-`},{title:`手机号`,minWidth:13,maxWidth:18,render:e=>e.phone||`-`},{title:`用户类型`,maxWidth:16,render:e=>e.userTypeLabel||`-`},{title:`前台归类`,maxWidth:18,render:e=>e.frontendUserKindLabel||`-`},{title:`归属团队`,maxWidth:20,render:e=>e.teamNameSnapshot||`未分配团队`},{title:`流水类型`,maxWidth:14,align:`center`,render:e=>e.recordTypeLabel||e.type||`-`},{title:`积分类型`,maxWidth:20,render:e=>e.creditSubjectLabel||`-`},{title:`扣费子类`,maxWidth:22,render:e=>e.chargeKindLabel||`-`},{title:`模块`,maxWidth:20,render:e=>e.sourceModuleLabel||`-`},{title:`模块步骤`,maxWidth:22,render:e=>e.sourceStepCodeLabel||`-`},{title:`计费场景`,maxWidth:32,render:e=>e.billingSceneLabel||`-`},{title:`媒体类型`,maxWidth:12,align:`center`,render:e=>e.mediaTypeLabel||`-`},{title:`变动积分`,minWidth:12,maxWidth:14,align:`right`,numFmt:`#,##0.00`,render:e=>e.amount},{title:`变动后余额`,minWidth:12,maxWidth:14,align:`right`,numFmt:`#,##0.00`,render:e=>e.balanceAfter},{title:`实际 Token`,minWidth:12,maxWidth:14,align:`right`,numFmt:`#,##0`,render:e=>e.totalTokens||0},{title:`输入 Token`,minWidth:12,maxWidth:14,align:`right`,numFmt:`#,##0`,render:e=>e.inputTokens||0},{title:`输出 Token`,minWidth:12,maxWidth:14,align:`right`,numFmt:`#,##0`,render:e=>e.outputTokens||0},{title:`执行类型`,maxWidth:18,render:e=>U5(e.engineType)},{title:`执行配置`,maxWidth:28,render:e=>e.engineName||`-`},{title:`供应商`,maxWidth:18,render:e=>e.engineProvider||`-`},{title:`模型版本`,maxWidth:26,render:e=>e.engineModelName||`-`},{title:`关联状态`,maxWidth:14,align:`center`,render:e=>e.ownerDeleted?`关联已删除`:`正常`},{title:`说明`,minWidth:18,maxWidth:42,render:e=>e.description||``},{title:`业务归属类型`,maxWidth:18,render:e=>e.ownerType||``},{title:`业务归属ID`,maxWidth:28,render:e=>e.ownerId||``},{title:`BizKey`,maxWidth:36,render:e=>e.bizKey||``}],rows:n}),xP.success(`Excel 已导出`)}catch(e){xP.error(e?.message||`导出失败`)}finally{l(!1),d(``)}},ee=[{title:`用户`,dataIndex:`username`,width:130,fixed:`left`,render:(e,t)=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,children:e||`-`}),(0,Q.jsx)(`div`,{style:{fontSize:12,color:`#94a3b8`},children:t.phone||`-`})]})},{title:`用户类型`,dataIndex:`userTypeLabel`,width:120,render:(e,t)=>(0,Q.jsx)(CR,{color:t.userType===`admin`?`orange`:`blue`,children:t.userTypeLabel||`-`})},{title:`归属团队`,dataIndex:`teamNameSnapshot`,width:130,render:e=>e?(0,Q.jsx)(CR,{color:`blue`,children:e}):(0,Q.jsx)(Z.Text,{type:`secondary`,children:`未分配`})},{title:`流水类型`,dataIndex:`recordType`,width:100,render:(e,t)=>{let n=GHe[e]||{text:t.recordTypeLabel||e||`-`,color:`default`,icon:null};return(0,Q.jsx)(CR,{color:n.color,icon:n.icon,children:n.text})}},{title:`积分类型`,dataIndex:`creditSubjectLabel`,width:150,render:e=>(0,Q.jsx)(CR,{children:e||`-`})},{title:`模块`,dataIndex:`sourceModuleLabel`,width:130,render:e=>e||`-`},{title:`步骤/场景`,key:`scene`,width:210,render:(e,t)=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`div`,{children:t.billingSceneLabel||`-`}),(0,Q.jsx)(`div`,{style:{fontSize:12,color:`#94a3b8`},children:t.sourceStepCodeLabel||`-`})]})},{title:`媒体`,dataIndex:`mediaTypeLabel`,width:80,render:e=>e?(0,Q.jsx)(CR,{color:`purple`,children:e}):`-`},{title:`变动积分`,dataIndex:`amount`,width:120,sorter:(e,t)=>e.amount-t.amount,render:e=>(0,Q.jsxs)(Z.Text,{strong:!0,style:{color:e>0?`#10b981`:`#ef4444`},children:[e>0?`+`:``,H5(e)]})},{title:`余额`,dataIndex:`balanceAfter`,width:110,render:e=>H5(e)},{title:`Token`,key:`tokens`,width:140,render:(e,t)=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`b`,{children:H5(t.totalTokens)}),(0,Q.jsxs)(`div`,{style:{fontSize:12,color:`#94a3b8`},children:[`入 `,H5(t.inputTokens),` / 出 `,H5(t.outputTokens)]})]})},{title:`执行配置`,key:`engine`,width:230,render:(e,t)=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(CR,{color:t.engineType===`model`?`geekblue`:t.engineType===`image`?`purple`:t.engineType===`video`?`cyan`:`default`,children:U5(t.engineType)}),(0,Q.jsx)(`div`,{children:t.engineName||`-`}),(0,Q.jsx)(`div`,{style:{fontSize:12,color:`#94a3b8`},children:[t.engineProvider,t.engineModelName].filter(Boolean).join(` / `)||`-`})]})},{title:`关联状态`,dataIndex:`ownerDeleted`,width:100,render:e=>(0,Q.jsx)(CR,{color:e?`red`:`green`,children:e?`已删除`:`正常`})},{title:`说明`,dataIndex:`description`,width:240,ellipsis:!0},{title:`时间`,dataIndex:`createdAt`,width:160,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:D5(e)})}];return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(4, minmax(0, 1fr))`,gap:16,marginBottom:16},children:[(0,Q.jsx)(FA,{bordered:!1,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(RH,{style:{color:`#10b981`,fontSize:22}}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`div`,{style:{color:`#94a3b8`},children:`总充值`}),(0,Q.jsxs)(`div`,{style:{fontSize:22,fontWeight:800,color:`#10b981`},children:[`+`,H5(n.totalRecharge)]})]})]})}),(0,Q.jsx)(FA,{bordered:!1,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(kH,{style:{color:`#ef4444`,fontSize:22}}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`div`,{style:{color:`#94a3b8`},children:`总消费`}),(0,Q.jsxs)(`div`,{style:{fontSize:22,fontWeight:800,color:`#ef4444`},children:[`-`,H5(n.totalConsume)]})]})]})}),(0,Q.jsx)(FA,{bordered:!1,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(L2,{style:{color:`#3b82f6`,fontSize:22}}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`div`,{style:{color:`#94a3b8`},children:`总回退`}),(0,Q.jsxs)(`div`,{style:{fontSize:22,fontWeight:800,color:`#3b82f6`},children:[`+`,H5(n.totalRefund)]})]})]})}),(0,Q.jsx)(FA,{bordered:!1,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(a8,{style:{color:`#6366f1`,fontSize:22}}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`div`,{style:{color:`#94a3b8`},children:`交易 / 生成`}),(0,Q.jsxs)(`div`,{style:{fontSize:22,fontWeight:800},children:[H5(n.transactionCount),` / `,H5(n.generationCount)]})]})]})})]}),(0,Q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(4, minmax(0, 1fr))`,gap:16,marginBottom:16},children:[(0,Q.jsxs)(FA,{size:`small`,bordered:!1,children:[`图片生成:`,H5(n.imageGenerationCount),` 条 / `,H5(n.imageConsume),` 积分`]}),(0,Q.jsxs)(FA,{size:`small`,bordered:!1,children:[`视频生成:`,H5(n.videoGenerationCount),` 条 / `,H5(n.videoConsume),` 积分`]}),(0,Q.jsxs)(FA,{size:`small`,bordered:!1,children:[`提词消费:`,H5(n.textConsume),` 积分`]}),(0,Q.jsxs)(FA,{size:`small`,bordered:!1,children:[`视频分析:`,H5(n.analysisConsume),` 积分`]})]}),(0,Q.jsxs)(FA,{bordered:!1,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16,flexWrap:`wrap`,gap:12},children:[(0,Q.jsxs)(AM,{wrap:!0,children:[(0,Q.jsx)(Cb,{value:g,onChange:e=>{p(1),_(e)},style:{width:150},options:KHe}),(0,Q.jsx)(Cb,{value:v,onChange:e=>{p(1),y(e)},style:{width:170},options:[{value:``,label:`全部团队`},{value:WHe,label:`未分配团队`},...b.map(e=>({value:e.id,label:e.status===`disabled`?`${e.name}(禁用)`:e.name}))]}),(0,Q.jsx)(Cb,{value:S,onChange:e=>{p(1),w(e)},style:{width:130},options:qHe}),(0,Q.jsx)(Cb,{value:T,onChange:e=>{p(1),E(e)},style:{width:180},options:JHe}),(0,Q.jsx)(Cb,{value:D,onChange:e=>{p(1),O(e)},style:{width:110},options:YHe}),(0,Q.jsx)(Cb,{value:k,onChange:e=>{p(1),A(e)},style:{width:150},options:XHe}),(0,Q.jsx)(Cb,{value:j,onChange:e=>{p(1),M(e)},style:{width:150},options:ZHe}),(0,Q.jsx)(Cb,{value:N,onChange:e=>{p(1),P(e)},style:{width:150},options:QHe}),(0,Q.jsx)(Cb,{value:F,onChange:e=>{p(1),I(e)},style:{width:220},options:$He}),(0,Q.jsx)(zN,{placeholder:`用户名/手机号/邮箱`,value:L,onChange:e=>{p(1),R(e.target.value)},style:{width:180},allowClear:!0}),(0,Q.jsx)(uM.RangePicker,{value:z,onChange:e=>{p(1),B(e?[e[0],e[1]]:[null,null])},placeholder:[`开始日期`,`结束日期`],style:{width:250}})]}),(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(ZS,{onClick:U,children:`重置`}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(zP,{}),onClick:H,children:`刷新`}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(dB,{}),loading:c,onClick:W,children:`下载 Excel`})]})]}),u&&(0,Q.jsx)(`div`,{style:{marginBottom:12,color:`#6366f1`},children:u}),(0,Q.jsx)(uR,{columns:ee,dataSource:e,rowKey:`id`,loading:o,pagination:{current:f,pageSize:m,total:i,onChange:(e,t)=>{p(e),h(t)},showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`},scroll:{x:2050}})]})]})},nUe=()=>{let[e,t]=(0,C.useState)(!1),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(!1),[c,l]=(0,C.useState)(180),[u]=X.useForm(),d=async()=>{try{let e=await eVe(),t={};e.forEach(e=>{t[e.key]=e.value}),u.setFieldsValue({wechat_appid:t.payment_wechat_appid||``,wechat_mch_id:t.payment_wechat_mch_id||``,wechat_private_key:t.payment_wechat_private_key||``,wechat_cert_serial_no:t.payment_wechat_cert_serial_no||``,wechat_api_v3_key:t.payment_wechat_api_v3_key||``,wechat_notify_url:t.payment_wechat_notify_url||``,wechat_public_key:t.payment_wechat_public_key||``,wechat_public_key_id:t.payment_wechat_public_key_id||``,alipay_app_id:t.payment_alipay_app_id||``,alipay_private_key:t.payment_alipay_private_key||``,alipay_public_key:t.payment_alipay_public_key||``,alipay_notify_url:t.payment_alipay_notify_url||``,alipay_gateway:t.payment_alipay_gateway||``,order_timeout:t.payment_order_timeout||`180`}),r(t.payment_wechat_enabled===`true`),a(t.payment_alipay_enabled===`true`),s(t.payment_mock===`true`),l(parseInt(t.payment_order_timeout||`180`,10))}catch{xP.error(`加载支付配置失败`)}};return(0,C.useEffect)(()=>{d()},[]),(0,Q.jsxs)(`div`,{style:{maxWidth:`100%`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:24,flexWrap:`wrap`,marginBottom:24},children:[(0,Q.jsx)(`div`,{style:{flex:`1 1 400px`,minWidth:400},children:(0,Q.jsx)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,Q.jsx)(`div`,{style:{width:40,height:40,borderRadius:10,background:`rgba(99,102,241,0.08)`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:20,color:`#6366f1`},children:(0,Q.jsx)(oM,{})}),(0,Q.jsx)(`div`,{children:(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14},children:`订单超时时间`})})]}),(0,Q.jsx)(X,{form:u,layout:`inline`,children:(0,Q.jsx)(X.Item,{name:`order_timeout`,style:{margin:0},children:(0,Q.jsxs)(AM.Compact,{style:{width:140},children:[(0,Q.jsx)(Oj,{min:30,max:86400,placeholder:`180`,style:{width:`100%`},size:`middle`}),(0,Q.jsx)(Z.Text,{children:`秒`})]})})})]})})}),(0,Q.jsx)(`div`,{style:{flex:`1 1 400px`,minWidth:400},children:(0,Q.jsx)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`,background:o?`#fff7e6`:`#fafbff`},children:(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,Q.jsx)(`div`,{style:{width:40,height:40,borderRadius:10,background:o?`rgba(245,158,11,0.15)`:`rgba(99,102,241,0.08)`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:20,color:o?`#f59e0b`:`#6366f1`},children:(0,Q.jsx)($J,{})}),(0,Q.jsx)(`div`,{children:(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14},children:`模拟支付模式`})})]}),(0,Q.jsx)(sF,{checked:o,onChange:s,checkedChildren:`已开启`,unCheckedChildren:`已关闭`})]})})})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:24,flexWrap:`wrap`},children:[(0,Q.jsx)(`div`,{style:{flex:`1 1 400px`,minWidth:400},children:(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:20},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,Q.jsx)(`div`,{style:{width:44,height:44,borderRadius:10,background:`rgba(7,193,96,0.08)`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:22,color:`#07c160`},children:(0,Q.jsx)(d8,{})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Title,{level:5,style:{margin:0},children:`微信支付`}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:`微信商户号支付配置`})]})]}),(0,Q.jsx)(sF,{checked:n,onChange:r,checkedChildren:`已启用`,unCheckedChildren:`未启用`})]}),(0,Q.jsxs)(X,{form:u,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`wechat_appid`,label:`AppID`,children:(0,Q.jsx)(zN,{placeholder:`微信支付 AppID`,size:`large`,disabled:!n})}),(0,Q.jsx)(X.Item,{name:`wechat_mch_id`,label:`商户号 (MchID)`,children:(0,Q.jsx)(zN,{placeholder:`微信支付商户号`,size:`large`,disabled:!n})}),(0,Q.jsx)(X.Item,{name:`wechat_private_key`,label:`商户私钥`,extra:` ⚠️ 重要:请填写 apiclient_key.pem 的内容,不是 apiclient_cert.pem! 内容应该以 -----BEGIN PRIVATE KEY----- 或 -----BEGIN RSA PRIVATE KEY----- 开头 - `,children:(0,Q.jsx)(HN.TextArea,{rows:4,placeholder:`\r + `,children:(0,Q.jsx)(zN.TextArea,{rows:4,placeholder:`\r -----BEGIN PRIVATE KEY-----\r ...这里是私钥内容...\r -----END PRIVATE KEY-----\r - `,disabled:!n})}),(0,Q.jsx)(X.Item,{name:`wechat_cert_serial_no`,label:`商户证书序列号`,extra:`从 apiclient_cert.pem 中提取的证书序列号`,children:(0,Q.jsx)(HN,{placeholder:`商户证书序列号`,size:`large`,disabled:!n})}),(0,Q.jsx)(X.Item,{name:`wechat_api_v3_key`,label:`API v3 密钥`,children:(0,Q.jsx)(HN.Password,{placeholder:`API v3 密钥`,size:`large`,disabled:!n})}),(0,Q.jsx)(X.Item,{name:`wechat_notify_url`,label:`回调地址`,children:(0,Q.jsx)(HN,{placeholder:`https://yourdomain.com/api/payments/wechat/callback`,size:`large`,disabled:!n})}),(0,Q.jsx)(X.Item,{name:`wechat_public_key`,label:`微信平台公钥(可选)`,children:(0,Q.jsx)(HN.TextArea,{rows:3,placeholder:`微信支付平台公钥内容`,disabled:!n})}),(0,Q.jsx)(X.Item,{name:`wechat_public_key_id`,label:`微信平台公钥ID(可选)`,children:(0,Q.jsx)(HN,{placeholder:`平台公钥ID`,size:`large`,disabled:!n})})]})]})}),(0,Q.jsx)(`div`,{style:{flex:`1 1 400px`,minWidth:400},children:(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:20},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,Q.jsx)(`div`,{style:{width:44,height:44,borderRadius:10,background:`rgba(0,122,255,0.08)`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:22,color:`#007aff`},children:(0,Q.jsx)(_V,{})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Title,{level:5,style:{margin:0},children:`支付宝`}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:`支付宝应用支付配置`})]})]}),(0,Q.jsx)(uF,{checked:i,onChange:a,checkedChildren:`已启用`,unCheckedChildren:`未启用`})]}),(0,Q.jsxs)(X,{form:u,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`alipay_app_id`,label:`AppID`,children:(0,Q.jsx)(HN,{placeholder:`支付宝应用AppID`,size:`large`,disabled:!i})}),(0,Q.jsx)(X.Item,{name:`alipay_private_key`,label:`应用私钥`,extra:`支付宝应用私钥(PKCS8格式),不需要添加头部和尾部标记`,children:(0,Q.jsx)(HN.TextArea,{rows:4,placeholder:`\r + `,disabled:!n})}),(0,Q.jsx)(X.Item,{name:`wechat_cert_serial_no`,label:`商户证书序列号`,extra:`从 apiclient_cert.pem 中提取的证书序列号`,children:(0,Q.jsx)(zN,{placeholder:`商户证书序列号`,size:`large`,disabled:!n})}),(0,Q.jsx)(X.Item,{name:`wechat_api_v3_key`,label:`API v3 密钥`,children:(0,Q.jsx)(zN.Password,{placeholder:`API v3 密钥`,size:`large`,disabled:!n})}),(0,Q.jsx)(X.Item,{name:`wechat_notify_url`,label:`回调地址`,children:(0,Q.jsx)(zN,{placeholder:`https://yourdomain.com/api/payments/wechat/callback`,size:`large`,disabled:!n})}),(0,Q.jsx)(X.Item,{name:`wechat_public_key`,label:`微信平台公钥(可选)`,children:(0,Q.jsx)(zN.TextArea,{rows:3,placeholder:`微信支付平台公钥内容`,disabled:!n})}),(0,Q.jsx)(X.Item,{name:`wechat_public_key_id`,label:`微信平台公钥ID(可选)`,children:(0,Q.jsx)(zN,{placeholder:`平台公钥ID`,size:`large`,disabled:!n})})]})]})}),(0,Q.jsx)(`div`,{style:{flex:`1 1 400px`,minWidth:400},children:(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:20},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,Q.jsx)(`div`,{style:{width:44,height:44,borderRadius:10,background:`rgba(0,122,255,0.08)`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:22,color:`#007aff`},children:(0,Q.jsx)(dV,{})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Title,{level:5,style:{margin:0},children:`支付宝`}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:`支付宝应用支付配置`})]})]}),(0,Q.jsx)(sF,{checked:i,onChange:a,checkedChildren:`已启用`,unCheckedChildren:`未启用`})]}),(0,Q.jsxs)(X,{form:u,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`alipay_app_id`,label:`AppID`,children:(0,Q.jsx)(zN,{placeholder:`支付宝应用AppID`,size:`large`,disabled:!i})}),(0,Q.jsx)(X.Item,{name:`alipay_private_key`,label:`应用私钥`,extra:`支付宝应用私钥(PKCS8格式),不需要添加头部和尾部标记`,children:(0,Q.jsx)(zN.TextArea,{rows:4,placeholder:`\r MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC...\r - `,disabled:!i})}),(0,Q.jsx)(X.Item,{name:`alipay_public_key`,label:`支付宝公钥`,extra:`从支付宝开放平台获取的支付宝公钥`,children:(0,Q.jsx)(HN.TextArea,{rows:4,placeholder:`\r + `,disabled:!i})}),(0,Q.jsx)(X.Item,{name:`alipay_public_key`,label:`支付宝公钥`,extra:`从支付宝开放平台获取的支付宝公钥`,children:(0,Q.jsx)(zN.TextArea,{rows:4,placeholder:`\r MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...\r - `,disabled:!i})}),(0,Q.jsx)(X.Item,{name:`alipay_gateway`,label:`网关地址`,children:(0,Q.jsx)(HN,{placeholder:`https://openapi.alipay.com/gateway.do`,size:`large`,disabled:!i})}),(0,Q.jsx)(X.Item,{name:`alipay_notify_url`,label:`回调地址`,children:(0,Q.jsx)(HN,{placeholder:`https://yourdomain.com/api/payments/alipay/callback`,size:`large`,disabled:!i})})]})]})})]}),(0,Q.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,marginTop:24},children:(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)($2,{}),onClick:async()=>{try{let e=await u.validateFields();t(!0),await JBe({payment_mock:String(o),payment_wechat_enabled:String(n),payment_wechat_appid:e.wechat_appid||``,payment_wechat_mch_id:e.wechat_mch_id||``,payment_wechat_private_key:e.wechat_private_key||``,payment_wechat_cert_serial_no:e.wechat_cert_serial_no||``,payment_wechat_api_v3_key:e.wechat_api_v3_key||``,payment_wechat_notify_url:e.wechat_notify_url||``,payment_wechat_public_key:e.wechat_public_key||``,payment_wechat_public_key_id:e.wechat_public_key_id||``,payment_alipay_enabled:String(i),payment_alipay_app_id:e.alipay_app_id||``,payment_alipay_private_key:e.alipay_private_key||``,payment_alipay_public_key:e.alipay_public_key||``,payment_alipay_notify_url:e.alipay_notify_url||``,payment_alipay_gateway:e.alipay_gateway||``,payment_order_timeout:String(e.order_timeout||180)}),wP.success(`支付配置已保存`),d()}catch{wP.error(`保存失败`)}finally{t(!1)}},loading:e,size:`large`,style:{borderRadius:8,minWidth:160,height:44,fontSize:15},children:`保存配置`})})]})},{Option:Z5}=Ob,{RangePicker:XHe}=pM,ZHe=()=>{let[e,t]=(0,C.useState)(!1),[n,r]=(0,C.useState)(null),[i,a]=(0,C.useState)(1),[o,s]=(0,C.useState)(10),[c,l]=(0,C.useState)(0),[u,d]=(0,C.useState)({startDate:(0,mC.default)().format(`YYYY-MM-DD`),endDate:(0,mC.default)().format(`YYYY-MM-DD`)}),f=async()=>{try{t(!0);let[e,n]=await Promise.all([YBe(u),XBe({...u,page:i,pageSize:o})]);r({...e,recent:n.items||[]}),l(n.total)}catch{wP.error(`加载支付统计失败`)}finally{t(!1)}};(0,C.useEffect)(()=>{f()},[u,i,o]);let p=(e,t)=>{a(e),s(t)},m=()=>{d({startDate:(0,mC.default)().format(`YYYY-MM-DD`),endDate:(0,mC.default)().format(`YYYY-MM-DD`)})},h=async e=>{try{t(!0),await ZBe(e),wP.success(`退款成功`),await f()}catch(e){wP.error(e?.response?.data?.detail||`退款失败`)}finally{t(!1)}},g=e=>{e&&e.length===2&&d(t=>({...t,startDate:e[0].format(`YYYY-MM-DD`),endDate:e[1].format(`YYYY-MM-DD`)}))},_={paid:{color:`green`,label:`已支付`,icon:(0,Q.jsx)(WK,{})},pending:{color:`gold`,label:`待支付`,icon:(0,Q.jsx)(lM,{})},cancelled:{color:`default`,label:`已取消`,icon:(0,Q.jsx)(gq,{})},refunded:{color:`red`,label:`已退款`,icon:(0,Q.jsx)(A6,{})}},v={alipay:{color:`blue`,label:`支付宝`},wechat:{color:`green`,label:`微信`}},y=[{title:`订单号`,dataIndex:`orderNo`,key:`orderNo`,width:200},{title:`用户`,dataIndex:`username`,key:`username`,width:120},{title:`支付方式`,dataIndex:`paymentMethod`,key:`paymentMethod`,width:100,render:e=>{let t=v[e]||{color:`default`,label:e};return(0,Q.jsx)(kR,{color:t.color,children:t.label})}},{title:`金额`,dataIndex:`amount`,key:`amount`,width:100,render:e=>(0,Q.jsxs)(Z.Text,{strong:!0,style:{color:`#10b981`},children:[`¥`,e.toFixed(2)]})},{title:`积分`,dataIndex:`credits`,key:`credits`,width:80},{title:`状态`,dataIndex:`status`,key:`status`,width:100,render:e=>{let t=_[e]||{color:`default`,label:e,icon:null};return(0,Q.jsx)(kR,{color:t.color,icon:t.icon,children:t.label})}},{title:`支付宝交易号`,dataIndex:`tradeNo`,key:`tradeNo`,width:200,render:e=>e||`-`},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:160,render:e=>(0,Q.jsx)(`span`,{className:`date-display`,style:{color:`#94a3b8`},children:e?P5(e):`-`})},{title:`支付时间`,dataIndex:`paidAt`,key:`paidAt`,width:160,render:e=>(0,Q.jsx)(`span`,{className:`date-display`,style:{color:`#94a3b8`},children:e?P5(e):`-`})},{title:`操作`,key:`action`,width:120,render:(e,t)=>t.status===`paid`?(0,Q.jsx)(kP,{title:`确认要退款该订单吗?`,description:`退款后积分会扣除,金额会原路返回`,onConfirm:()=>h(t.orderNo),okText:`确认`,cancelText:`取消`,children:(0,Q.jsx)(cC,{type:`link`,danger:!0,size:`small`,icon:(0,Q.jsx)(A6,{}),children:`退款`})}):null}];if(!n)return(0,Q.jsx)(`div`,{style:{padding:24,color:`#94a3b8`},children:`加载中…`});let b=n.byStatus?.paid||{count:0,amount:0},x=n.byStatus?.pending||{count:0,amount:0},S=n.byStatus?.cancelled||{count:0,amount:0},w=n.byStatus?.refunded||{count:0,amount:0},T=b.count+x.count+S.count+w.count,E=n.month||{count:0,amount:0};return(0,Q.jsx)(Zp,{locale:H8.default,children:(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(GP,{gutter:[16,16],style:{marginBottom:24},children:[(0,Q.jsx)(sj,{xs:24,sm:12,lg:12,children:(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsx)(JP,{title:`今日收入`,value:n.today.paidAmount,precision:2,prefix:(0,Q.jsx)(aY,{style:{color:`#10b981`}}),suffix:`元`,valueStyle:{color:`#10b981`,fontWeight:700}}),(0,Q.jsxs)(Z.Text,{type:`secondary`,style:{fontSize:12},children:[n.today.paidCount,` 笔订单`]})]})}),(0,Q.jsx)(sj,{xs:24,sm:12,lg:12,children:(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsx)(JP,{title:`本月累计`,value:E.paidAmount,precision:2,prefix:(0,Q.jsx)(aY,{style:{color:`#6366f1`}}),suffix:`元`,valueStyle:{color:`#6366f1`,fontWeight:700}}),(0,Q.jsxs)(Z.Text,{type:`secondary`,style:{fontSize:12},children:[E.paidCount,` 笔订单`]})]})})]}),(0,Q.jsx)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`,marginBottom:16},title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(aY,{}),`订单状态分布`]}),children:(0,Q.jsx)(GP,{gutter:16,children:[`paid`,`pending`,`cancelled`,`refunded`].map(e=>{let t=n.byStatus?.[e]||{count:0,amount:0},r=_[e],i=T>0?(t.count/T*100).toFixed(1):`0.0`;return(0,Q.jsx)(sj,{span:6,children:(0,Q.jsxs)(`div`,{style:{padding:16,borderRadius:10,background:`#fafbff`,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(kR,{color:r.color,icon:r.icon,children:r.label}),(0,Q.jsxs)(Z.Text,{type:`secondary`,style:{fontSize:12},children:[i,`%`]})]}),(0,Q.jsxs)(`div`,{style:{marginTop:8,fontSize:20,fontWeight:700},children:[t.count,` `,(0,Q.jsx)(`span`,{style:{fontSize:13,color:`#94a3b8`,fontWeight:400},children:`笔`})]}),(0,Q.jsxs)(`div`,{style:{fontSize:13,color:`#64748b`,marginTop:4},children:[`¥`,t.amount.toFixed(2)]})]})},e)})})}),(0,Q.jsxs)(RA,{bordered:!1,style:{borderRadius:12,border:`1px solid #f0f0f5`},title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(aY,{}),`订单列表`]}),children:[(0,Q.jsxs)(GP,{gutter:[16,16],align:`middle`,style:{marginBottom:24},children:[(0,Q.jsxs)(sj,{xs:24,sm:12,md:6,children:[(0,Q.jsx)(`span`,{style:{marginRight:8},children:`支付方式:`}),(0,Q.jsxs)(Ob,{placeholder:`全部`,allowClear:!0,style:{width:150},value:u.paymentMethod,onChange:e=>d(t=>({...t,paymentMethod:e})),children:[(0,Q.jsx)(Z5,{value:`alipay`,children:`支付宝`}),(0,Q.jsx)(Z5,{value:`wechat`,children:`微信`})]})]}),(0,Q.jsxs)(sj,{xs:24,sm:12,md:6,children:[(0,Q.jsx)(`span`,{style:{marginRight:8},children:`状态:`}),(0,Q.jsxs)(Ob,{placeholder:`全部`,allowClear:!0,style:{width:150},value:u.status,onChange:e=>d(t=>({...t,status:e})),children:[(0,Q.jsx)(Z5,{value:`paid`,children:`已支付`}),(0,Q.jsx)(Z5,{value:`pending`,children:`待支付`}),(0,Q.jsx)(Z5,{value:`cancelled`,children:`已取消`}),(0,Q.jsx)(Z5,{value:`refunded`,children:`已退款`})]})]}),(0,Q.jsxs)(sj,{xs:24,sm:12,md:8,children:[(0,Q.jsx)(`span`,{style:{marginRight:8},children:`日期范围:`}),(0,Q.jsx)(XHe,{value:[(0,mC.default)(u.startDate),(0,mC.default)(u.endDate)],onChange:g})]}),(0,Q.jsx)(sj,{xs:24,sm:12,md:4,children:(0,Q.jsx)(cC,{icon:(0,Q.jsx)(HP,{}),onClick:m,children:`重置`})})]}),(0,Q.jsx)(gR,{columns:y,dataSource:n.recent||[],rowKey:`id`,loading:e,pagination:{current:i,pageSize:o,total:c,onChange:p,showSizeChanger:!0,showTotal:e=>`共 ${e} 条`},scroll:{x:1e3},size:`middle`})]})]})})},Q5=[{name:`ShoppingCartOutlined`,label:`购物`,component:(0,Q.jsx)(C4,{})},{name:`BookOutlined`,label:`书籍`,component:(0,Q.jsx)(bW,{})},{name:`HomeOutlined`,label:`房产`,component:(0,Q.jsx)(SQ,{})},{name:`FireOutlined`,label:`火`,component:(0,Q.jsx)($X,{})},{name:`RocketOutlined`,label:`科技`,component:(0,Q.jsx)(V2,{})},{name:`SkinOutlined`,label:`时尚`,component:(0,Q.jsx)(z4,{})},{name:`CompassOutlined`,label:`指南`,component:(0,Q.jsx)(Yq,{})},{name:`HeartOutlined`,label:`健康`,component:(0,Q.jsx)(dQ,{})},{name:`CarOutlined`,label:`汽车`,component:(0,Q.jsx)(mK,{})},{name:`CameraOutlined`,label:`相机`,component:(0,Q.jsx)(aK,{})},{name:`CloudOutlined`,label:`云`,component:(0,Q.jsx)(wq,{})},{name:`StarOutlined`,label:`星`,component:(0,Q.jsx)(g3,{})},{name:`TrophyOutlined`,label:`奖杯`,component:(0,Q.jsx)(v6,{})},{name:`ThunderboltOutlined`,label:`闪电`,component:(0,Q.jsx)(t6,{})},{name:`BulbOutlined`,label:`灯泡`,component:(0,Q.jsx)(FG,{})},{name:`CoffeeOutlined`,label:`咖啡`,component:(0,Q.jsx)(Uq,{})},{name:`CrownOutlined`,label:`皇冠`,component:(0,Q.jsx)(bJ,{})},{name:`DashboardOutlined`,label:`仪表`,component:(0,Q.jsx)(OJ,{})},{name:`FlagOutlined`,label:`旗帜`,component:(0,Q.jsx)(rZ,{})},{name:`GlobalOutlined`,label:`全球`,component:(0,Q.jsx)(qZ,{})},{name:`GiftOutlined`,label:`礼物`,component:(0,Q.jsx)(BZ,{})},{name:`LaptopOutlined`,label:`笔记本`,component:(0,Q.jsx)(s$,{})},{name:`MobileOutlined`,label:`手机`,component:(0,Q.jsx)(b1,{})},{name:`MonitorOutlined`,label:`显示器`,component:(0,Q.jsx)(E1,{})},{name:`PayCircleOutlined`,label:`支付`,component:(0,Q.jsx)(Z1,{})},{name:`PictureOutlined`,label:`图片`,component:(0,Q.jsx)(c0,{})},{name:`PlayCircleOutlined`,label:`播放`,component:(0,Q.jsx)(_0,{})},{name:`SafetyOutlined`,label:`安全`,component:(0,Q.jsx)(X2,{})},{name:`ShoppingOutlined`,label:`商店`,component:(0,Q.jsx)(E4,{})},{name:`SmileOutlined`,label:`笑脸`,component:(0,Q.jsx)($4,{})},{name:`SoundOutlined`,label:`声音`,component:(0,Q.jsx)(u3,{})},{name:`TagOutlined`,label:`标签`,component:(0,Q.jsx)(H3,{})},{name:`TeamOutlined`,label:`团队`,component:(0,Q.jsx)(Q3,{})},{name:`ToolOutlined`,label:`工具`,component:(0,Q.jsx)(c6,{})},{name:`TruckOutlined`,label:`物流`,component:(0,Q.jsx)(S6,{})},{name:`VideoCameraOutlined`,label:`视频`,component:(0,Q.jsx)(c8,{})},{name:`WalletOutlined`,label:`钱包`,component:(0,Q.jsx)(f8,{})},{name:`BankOutlined`,label:`银行`,component:(0,Q.jsx)(CU,{})},{name:`BuildOutlined`,label:`建筑`,component:(0,Q.jsx)(EG,{})},{name:`ExperimentOutlined`,label:`实验`,component:(0,Q.jsx)(UY,{})},{name:`HighlightOutlined`,label:`高亮`,component:(0,Q.jsx)(gQ,{})},{name:`IdcardOutlined`,label:`名片`,component:(0,Q.jsx)(MQ,{})},{name:`MedicineBoxOutlined`,label:`医药`,component:(0,Q.jsx)(K$,{})},{name:`ReadOutlined`,label:`阅读`,component:(0,Q.jsx)(p2,{})},{name:`RestOutlined`,label:`休息`,component:(0,Q.jsx)(E2,{})},{name:`SketchOutlined`,label:`钻石`,component:(0,Q.jsx)(F4,{})},{name:`SolutionOutlined`,label:`方案`,component:(0,Q.jsx)(a3,{})}],QHe=Object.fromEntries(Q5.map(e=>[e.name,e.component]));function $5(e){return QHe[e]||(0,Q.jsx)(EH,{})}function $He(e){try{let t=typeof e==`string`?JSON.parse(e):e;if(!Array.isArray(t))return{skillItems:[],optionGroups:[]};let n=[],r=[];for(let e of t)e&&e.type===`option_group`&&e.name&&Array.isArray(e.options)?r.push({name:e.name,options:e.options}):e&&e.key&&e.label&&n.push({key:e.key,label:e.label});return{skillItems:n,optionGroups:r}}catch{return{skillItems:[],optionGroups:[]}}}var eUe=({value:e,onChange:t})=>{let n=Q5.find(t=>t.name===e);return(0,Q.jsx)(FM,{trigger:[`click`],dropdownRender:()=>(0,Q.jsx)(`div`,{style:{background:`#fff`,borderRadius:12,padding:12,width:360,boxShadow:`0 12px 40px rgba(0,0,0,0.15)`,border:`1px solid #f0f0f5`},children:(0,Q.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(8, 1fr)`,gap:4},children:Q5.map(n=>(0,Q.jsx)(`div`,{onMouseDown:e=>{e.preventDefault(),e.stopPropagation(),t?.(n.name)},title:n.label,style:{width:40,height:40,borderRadius:8,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,fontSize:18,transition:`all 0.15s`,background:e===n.name?`#6366f1`:`transparent`,color:e===n.name?`#fff`:`#64748b`,border:e===n.name?`none`:`1px solid transparent`},onMouseEnter:t=>{e!==n.name&&(t.currentTarget.style.background=`#f1f5f9`)},onMouseLeave:t=>{e!==n.name&&(t.currentTarget.style.background=`transparent`)},children:n.component},n.name))})}),children:(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,padding:`8px 12px`,borderRadius:8,border:`1px solid #d9d9d9`,cursor:`pointer`,height:40},children:[e?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`span`,{style:{fontSize:18,color:`#6366f1`},children:$5(e)}),(0,Q.jsx)(`span`,{style:{color:`#64748b`,fontSize:13},children:n?.label||e})]}):(0,Q.jsx)(`span`,{style:{color:`#bfbfbf`,fontSize:13},children:`选择图标`}),(0,Q.jsx)(bb,{style:{fontSize:10,color:`#bfbfbf`,marginLeft:`auto`}})]})})},tUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)({open:!1,item:null}),[c]=X.useForm(),l=async()=>{r(!0);try{t((await zBe()).map(e=>{let{skillItems:t,optionGroups:n}=$He(e.skills);return{id:e.id,key:e.key,label:e.label,icon:e.icon||``,description:e.description||``,skills:JSON.stringify(t),optionGroups:n,isActive:e.is_active??e.isActive??!0,sortOrder:e.sort_order??e.sortOrder??0}}))}catch{wP.error(`加载行业配置失败`)}finally{r(!1)}};(0,C.useEffect)(()=>{l()},[]);let u=async()=>{try{let e=await c.validateFields();a(!0);let t=[];e.skills_wentutujie?.trim()&&t.push({type:`skill`,key:`文图理解生成视频提示词`,label:e.skills_wentutujie.trim()}),e.skills_wentutujie_image?.trim()&&t.push({type:`skill`,key:`文图理解生成图片提示词`,label:e.skills_wentutujie_image.trim()});let n=(e.optionGroups||[]).filter(e=>e?.name?.trim()).map(e=>({name:e.name.trim(),options:(e.options||[]).filter(e=>e?.trim())})).filter(e=>e.options.length>0);for(let e of n)t.push({type:`option_group`,name:e.name,options:e.options});let r={key:e.key,label:e.label,icon:e.icon||``,description:e.description||``,skills:t,is_active:e.is_active??!0,sort_order:e.sort_order??0};o.item?.id?(await m5({id:o.item.id,...r}),wP.success(`已更新`)):(await m5(r),wP.success(`已添加`)),s({open:!1,item:null}),c.resetFields(),l()}catch(e){if(e?.errorFields)return;wP.error(e?.message||`保存失败`)}finally{a(!1)}},d=async e=>{try{await BBe(e),wP.success(`已删除`),l()}catch(e){wP.error(e?.message||`删除失败`)}},f=e=>{s({open:!0,item:e||null});let t=``,n=``,r=[];if(e){try{let r=JSON.parse(e.skills);if(Array.isArray(r))for(let e of r)(e.key===`文图理解生成视频提示词`||e.key===`文图理解`)&&(t=e.label||``),e.key===`文图理解生成图片提示词`&&(n=e.label||``)}catch{}r=e.optionGroups.length>0?e.optionGroups:[{name:``,options:[]}]}e?c.setFieldsValue({key:e.key,label:e.label,icon:e.icon||``,description:e.description,skills_wentutujie:t,skills_wentutujie_image:n,optionGroups:r,is_active:e.isActive,sort_order:e.sortOrder}):(c.resetFields(),c.setFieldsValue({is_active:!0,sort_order:0,optionGroups:[{name:``,options:[]}]}))};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(RA,{style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(EH,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`行业与技能配置`}),(0,Q.jsxs)(kR,{color:`purple`,children:[e.length,` 个行业`]})]}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(pA,{}),onClick:()=>f(),style:{borderRadius:8},children:`添加行业`})]}),(0,Q.jsx)(gR,{columns:[{title:`行业`,key:`industry`,width:180,render:(e,t)=>(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:[(0,Q.jsx)(`div`,{style:{width:36,height:36,borderRadius:10,background:`#f1f5f9`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:18,color:`#6366f1`,flexShrink:0},children:$5(t.icon)}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,children:t.label}),(0,Q.jsx)(`div`,{style:{color:`#94a3b8`,fontSize:12},children:t.key})]})]})},{title:`描述`,dataIndex:`description`,ellipsis:!0},{title:`选项配置`,key:`optionGroups`,width:260,render:(e,t)=>!t.optionGroups||t.optionGroups.length===0?(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#cbd5e1`},children:`未配置`}):(0,Q.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:4},children:t.optionGroups.map((e,t)=>(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6},children:[(0,Q.jsx)(kR,{color:`blue`,style:{margin:0,fontSize:11},children:e.name}),(0,Q.jsxs)(Z.Text,{style:{fontSize:11,color:`#64748b`},children:[e.options.slice(0,3).join(`、`),e.options.length>3?`...${e.options.length}项`:``]})]},t))})},{title:`文图理解生成视频提示词`,dataIndex:`skills`,ellipsis:!0,render:e=>{try{let t=JSON.parse(e);if(Array.isArray(t)){let e=t.find(e=>e.key===`文图理解生成视频提示词`||e.key===`文图理解`);if(e)return(0,Q.jsx)(Z.Text,{ellipsis:!0,style:{fontSize:12},children:e.label})}}catch{}return(0,Q.jsx)(`span`,{style:{color:`#bfbfbf`},children:`-`})}},{title:`文图理解生成图片提示词`,dataIndex:`skills`,ellipsis:!0,render:e=>{try{let t=JSON.parse(e);if(Array.isArray(t)){let e=t.find(e=>e.key===`文图理解生成图片提示词`);if(e)return(0,Q.jsx)(Z.Text,{ellipsis:!0,style:{fontSize:12},children:e.label})}}catch{}return(0,Q.jsx)(`span`,{style:{color:`#bfbfbf`},children:`-`})}},{title:`状态`,dataIndex:`isActive`,width:80,render:e=>(0,Q.jsx)(kR,{color:e?`green`:`default`,children:e?`启用`:`停用`})},{title:`操作`,key:`action`,width:150,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(NM,{size:4,children:[(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(FR,{}),onClick:()=>f(t),children:`编辑`}),(0,Q.jsx)(kP,{title:`确定删除该行业?`,onConfirm:()=>d(t.id),children:(0,Q.jsx)(cC,{type:`link`,size:`small`,danger:!0,icon:(0,Q.jsx)(MR,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:n,pagination:!1,scroll:{x:900}})]}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(EH,{}),o.item?`编辑行业`:`添加行业`]}),open:o.open,onOk:u,onCancel:()=>{s({open:!1,item:null}),c.resetFields()},okText:`保存`,cancelText:`取消`,width:640,confirmLoading:i,children:(0,Q.jsxs)(X,{form:c,layout:`vertical`,style:{marginTop:16},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`key`,label:`行业标识`,style:{flex:1},rules:[{required:!0,message:`请输入标识`}],children:(0,Q.jsx)(HN,{placeholder:`例如:ecommerce`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`label`,label:`行业名称`,style:{flex:1},rules:[{required:!0,message:`请输入名称`}],children:(0,Q.jsx)(HN,{placeholder:`例如:电商`,size:`large`})})]}),(0,Q.jsx)(X.Item,{name:`icon`,label:`行业图标`,children:(0,Q.jsx)(eUe,{})}),(0,Q.jsx)(X.Item,{name:`description`,label:`行业描述`,children:(0,Q.jsx)(HN.TextArea,{rows:2,placeholder:`行业描述`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`skills_wentutujie`,label:`文图理解生成视频提示词`,extra:`用于LLM优化视频提示词的系统指令,根据行业特点引导AI理解文案与画面的关系`,children:(0,Q.jsx)(HN.TextArea,{rows:3,placeholder:`请输入文图理解生成视频提示词,例如: -你是一位专业的电商视频文案专家,擅长将产品卖点转化为视觉语言`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`skills_wentutujie_image`,label:`文图理解生成图片提示词`,extra:`用于LLM优化图片提示词的系统指令,根据行业特点引导AI理解文案与画面的关系`,children:(0,Q.jsx)(HN.TextArea,{rows:3,placeholder:`请输入文图理解生成图片提示词,例如: -你是一位专业的电商图片文案专家,擅长将产品卖点转化为图片生成提示词`,size:`large`})}),(0,Q.jsxs)(`div`,{style:{marginBottom:8},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:13},children:`行业选项配置`}),(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,marginLeft:8},children:`添加选项组,每组包含名称和多个选项,前台将显示为下拉选择`})]}),(0,Q.jsx)(X.List,{name:`optionGroups`,children:(e,{add:t,remove:n})=>(0,Q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8,marginBottom:16},children:[e.map(({key:e,name:t,...r})=>(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:8,alignItems:`flex-start`,padding:`10px 12px`,borderRadius:10,background:`#f8f9fc`,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`,gap:8},children:[(0,Q.jsx)(X.Item,{...r,name:[t,`name`],label:`选项名称`,style:{marginBottom:0},rules:[{required:!0,message:`请输入选项名称`}],children:(0,Q.jsx)(HN,{placeholder:`例如:视频风格`,size:`middle`,style:{borderRadius:8}})}),(0,Q.jsx)(X.Item,{...r,name:[t,`options`],label:`选项内容`,style:{marginBottom:0},children:(0,Q.jsx)(Ob,{mode:`tags`,size:`middle`,placeholder:`输入选项后回车添加`,style:{borderRadius:8},tokenSeparators:[`,`,`,`,`、`]})})]}),(0,Q.jsx)(m1,{onClick:()=>n(t),style:{color:`#ef4444`,fontSize:16,marginTop:34,cursor:`pointer`,flexShrink:0}})]},e)),(0,Q.jsx)(cC,{type:`dashed`,onClick:()=>t(),block:!0,icon:(0,Q.jsx)(pA,{}),style:{borderRadius:8,height:36},children:`添加选项组`})]})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`is_active`,label:`启用状态`,valuePropName:`checked`,initialValue:!0,style:{flex:1},children:(0,Q.jsx)(uF,{})}),(0,Q.jsx)(X.Item,{name:`sort_order`,label:`排序`,initialValue:0,style:{flex:1},children:(0,Q.jsx)(HN,{type:`number`,size:`large`})})]})]})})]})};function e7(e){if(Array.isArray(e))return e;if(typeof e==`string`)try{return JSON.parse(e)}catch{return[]}return[]}var nUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)({open:!1,engine:null}),[o]=X.useForm(),s=async()=>{r(!0);try{t((await VBe()).map(e=>({...e,supportedRatios:e7(e.supportedRatios),supportedResolutions:e7(e.supportedResolutions),supportedDurations:e7(e.supportedDurations)})))}catch{wP.error(`加载视频引擎失败`)}finally{r(!1)}};(0,C.useEffect)(()=>{s()},[]);let c=async()=>{try{let e=await o.validateFields(),t={name:e.name,provider:e.provider,api_base:e.apiBase,api_key:e.apiKey,model_name:e.modelName,supported_ratios:JSON.stringify(e.supportedRatios||[]),supported_resolutions:JSON.stringify(e.supportedResolutions||[]),supported_durations:JSON.stringify(e.supportedDurations||[]),max_duration:e.maxDuration??15,max_image_count:e.maxImageCount??2,max_video_count:e.maxVideoCount??0,max_audio_count:e.maxAudioCount??0,supports_first_last_frame:e.supportsFirstLastFrame??!1,supports_universal_reference:e.supportsUniversalReference??!0,is_active:e.isActive??!0,priority:e.priority??0};i.engine?(await h5({id:i.engine.id,...t}),wP.success(`已更新`)):(await h5(t),wP.success(`已添加`)),a({open:!1,engine:null}),o.resetFields(),s()}catch(e){if(e?.errorFields)return;wP.error(e?.message||`保存失败`)}},l=async e=>{try{await HBe(e),wP.success(`已删除`),s()}catch{wP.error(`删除失败`)}},u=e=>{a({open:!0,engine:e||null}),e?o.setFieldsValue(e):(o.resetFields(),o.setFieldsValue({isActive:!0,priority:0,maxDuration:15,maxImageCount:2,maxVideoCount:0,maxAudioCount:0,supportsFirstLastFrame:!1,supportsUniversalReference:!0,supportedRatios:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],supportedResolutions:[`480p`,`720p`,`1080p`],supportedDurations:[4,5,6,7,8,9,10,11,12,13,14,15]}))};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(_0,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`视频引擎配置`}),(0,Q.jsxs)(kR,{color:`purple`,children:[e.length,` 个引擎`]})]}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(pA,{}),onClick:()=>u(),style:{borderRadius:8},children:`添加引擎`})]}),(0,Q.jsx)(gR,{columns:[{title:`引擎名称`,key:`name`,width:180,render:(e,t)=>(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:[(0,Q.jsx)(`div`,{style:{width:36,height:36,borderRadius:8,background:t.isActive?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`linear-gradient(135deg, #94a3b8, #cbd5e1)`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#fff`,fontSize:16},children:(0,Q.jsx)(_0,{})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,children:t.name}),(0,Q.jsx)(`div`,{style:{color:`#94a3b8`,fontSize:12},children:t.provider})]})]})},{title:`支持比例`,dataIndex:`supportedRatios`,width:200,render:e=>(0,Q.jsx)(NM,{size:2,wrap:!0,children:e.map(e=>(0,Q.jsx)(kR,{children:e},e))})},{title:`支持分辨率`,dataIndex:`supportedResolutions`,width:150,render:e=>(0,Q.jsx)(NM,{size:2,wrap:!0,children:e.map(e=>(0,Q.jsx)(kR,{color:`blue`,children:e},e))})},{title:`支持时长`,dataIndex:`supportedDurations`,width:120,render:e=>(0,Q.jsx)(kR,{color:`orange`,children:e?.length?`${Math.min(...e)}-${Math.max(...e)}s`:`-`})},{title:`最大图片`,dataIndex:`maxImageCount`,width:100,render:e=>(0,Q.jsxs)(kR,{color:`purple`,children:[e,` 张`]})},{title:`最大视频`,dataIndex:`maxVideoCount`,width:100,render:e=>(0,Q.jsxs)(kR,{color:`cyan`,children:[e,` 个`]})},{title:`最大音频`,dataIndex:`maxAudioCount`,width:100,render:e=>(0,Q.jsxs)(kR,{color:e>0?`geekblue`:`default`,children:[e||0,` 段`]})},{title:`首尾帧`,dataIndex:`supportsFirstLastFrame`,width:90,render:e=>(0,Q.jsx)(kR,{color:e?`green`:`default`,children:e?`支持`:`不支持`})},{title:`全能参考`,dataIndex:`supportsUniversalReference`,width:100,render:e=>(0,Q.jsx)(kR,{color:e?`purple`:`default`,children:e?`支持`:`不支持`})},{title:`状态`,dataIndex:`isActive`,width:80,render:e=>(0,Q.jsx)(kR,{color:e?`green`:`default`,children:e?`启用`:`停用`})},{title:`操作`,key:`action`,width:150,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(NM,{size:4,children:[(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(FR,{}),onClick:()=>u(t),children:`编辑`}),(0,Q.jsx)(kP,{title:`确定删除?`,onConfirm:()=>l(t.id),children:(0,Q.jsx)(cC,{type:`link`,size:`small`,danger:!0,icon:(0,Q.jsx)(MR,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:n,pagination:!1,scroll:{x:1200}})]}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(_0,{}),i.engine?`编辑引擎`:`添加引擎`]}),open:i.open,onOk:c,onCancel:()=>{a({open:!1,engine:null}),o.resetFields()},okText:`保存`,cancelText:`取消`,width:620,children:(0,Q.jsxs)(X,{form:o,layout:`vertical`,style:{marginTop:16},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`name`,label:`引擎名称`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(HN,{placeholder:`Seedance 2.0`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`provider`,label:`提供商`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(Ob,{size:`large`,options:[{value:`ark`,label:`火山引擎 (Ark)`}]})})]}),(0,Q.jsx)(X.Item,{name:`apiBase`,label:`API基础地址`,rules:[{required:!0}],children:(0,Q.jsx)(HN,{placeholder:`https://ark.cn-beijing.volces.com/api/v3`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`apiKey`,label:`API Key`,children:(0,Q.jsx)(HN.Password,{placeholder:`sk-****`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`modelName`,label:`模型名称`,children:(0,Q.jsx)(HN,{placeholder:`doubao-seedance-2-0-260128`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`supportedRatios`,label:`支持比例`,children:(0,Q.jsx)(Ob,{mode:`multiple`,size:`large`,options:[{value:`16:9`,label:`16:9 (横屏)`},{value:`4:3`,label:`4:3 (标准)`},{value:`1:1`,label:`1:1 (方形)`},{value:`3:4`,label:`3:4 (竖版)`},{value:`9:16`,label:`9:16 (竖屏)`},{value:`21:9`,label:`21:9 (超宽)`}]})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`supportedResolutions`,label:`支持分辨率`,style:{flex:1},children:(0,Q.jsx)(Ob,{mode:`multiple`,size:`large`,options:[{value:`480p`},{value:`720p`},{value:`1080p`}]})}),(0,Q.jsx)(X.Item,{name:`supportedDurations`,label:`支持时长(秒)`,style:{flex:1},children:(0,Q.jsx)(Ob,{mode:`multiple`,size:`large`,options:Array.from({length:12},(e,t)=>({value:t+4,label:`${t+4}秒`}))})})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`maxDuration`,label:`最大时长(秒)`,style:{flex:1},children:(0,Q.jsx)(HN,{type:`number`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`maxImageCount`,label:`最大图片数量`,style:{flex:1},children:(0,Q.jsx)(HN,{type:`number`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`maxVideoCount`,label:`最大视频数量`,style:{flex:1},children:(0,Q.jsx)(HN,{type:`number`,size:`large`})})]}),(0,Q.jsx)(`div`,{style:{display:`flex`,gap:16},children:(0,Q.jsx)(X.Item,{name:`maxAudioCount`,label:`最大参考音频数`,style:{flex:1},extra:`0 表示不支持音频参考,最大 3 段`,rules:[{validator:(e,t)=>{let n=Number(t??0);return!Number.isInteger(n)||n<0||n>3?Promise.reject(Error(`最大参考音频数必须为 0-3 的整数`)):Promise.resolve()}}],children:(0,Q.jsx)(HN,{type:`number`,size:`large`,min:0,max:3})})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`supportsFirstLastFrame`,label:`首尾帧模式`,valuePropName:`checked`,style:{paddingTop:30,flex:1},children:(0,Q.jsx)(uF,{checkedChildren:`支持`,unCheckedChildren:`不支持`})}),(0,Q.jsx)(X.Item,{name:`supportsUniversalReference`,label:`全能参考模式`,valuePropName:`checked`,style:{paddingTop:30,flex:1},children:(0,Q.jsx)(uF,{checkedChildren:`支持`,unCheckedChildren:`不支持`})}),(0,Q.jsx)(X.Item,{name:`isActive`,label:`启用状态`,valuePropName:`checked`,style:{paddingTop:30,flex:1},children:(0,Q.jsx)(uF,{})})]}),(0,Q.jsx)(`div`,{style:{display:`flex`,gap:16},children:(0,Q.jsx)(X.Item,{name:`priority`,label:`优先级`,style:{flex:1},children:(0,Q.jsx)(Ob,{size:`large`,options:[{value:0,label:`0 (默认)`},{value:1,label:`1`},{value:2,label:`2`},{value:3,label:`3`},{value:5,label:`5`},{value:10,label:`10 (最高)`}]})})})]})})]})};function rUe(e){if(Array.isArray(e))return e;if(typeof e==`string`)try{return JSON.parse(e)}catch{return[]}return[]}function iUe(e){if(e&&typeof e==`object`&&!Array.isArray(e))return e;if(typeof e==`string`)try{let t=JSON.parse(e);return t&&typeof t==`object`&&!Array.isArray(t)?t:{}}catch{return{}}return{}}var t7={"2K":{"1:1":`2048×2048`,"4:3":`2304×1728`,"3:4":`1728×2304`,"16:9":`2560×1440`,"9:16":`1600×2848`,"3:2":`2496×1664`,"2:3":`1664×2496`,"21:9":`3024×1296`},"4K":{"1:1":`4096×4096`,"4:3":`4608×3456`,"3:4":`3520×4704`,"16:9":`5404×3040`,"9:16":`3040×5504`,"3:2":`4992×3328`,"2:3":`3328×4992`,"21:9":`6197×2656`}},n7=[`1:1`,`4:3`,`3:4`,`16:9`,`9:16`,`3:2`,`2:3`,`21:9`],aUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)({open:!1,engine:null}),[o]=X.useForm(),s=async()=>{r(!0);try{t((await UBe()).map(e=>({...e,supportedModels:rUe(e.supportedModels),supportedSizes:iUe(e.supportedSizes)})))}catch{wP.error(`加载图片引擎失败`)}finally{r(!1)}};(0,C.useEffect)(()=>{s()},[]);let c=async()=>{try{let e=await o.validateFields(),t={};for(let n of[`2K`,`4K`]){let r=e[`size_${n}`]||[];if(r.length>0){t[n]={};for(let e of r)t[n][e]=t7[n]?.[e]||e}}let n={name:e.name,provider:e.provider,api_base:e.apiBase,api_key:e.apiKey,model_name:e.modelName,supported_models:JSON.stringify(e.supportedModels||[]),supported_sizes:JSON.stringify(t),default_size:e.defaultSize||`2K`,max_image_count:e.maxImageCount??0,generate_url:e.generateUrl||``,is_active:e.isActive??!0,priority:e.priority??0};i.engine?(await g5({id:i.engine.id,...n}),wP.success(`已更新`)):(await g5(n),wP.success(`已添加`)),a({open:!1,engine:null}),o.resetFields(),s()}catch(e){if(e?.errorFields)return;wP.error(e?.message||`保存失败`)}},l=async e=>{try{await WBe(e),wP.success(`已删除`),s()}catch{wP.error(`删除失败`)}},u=e=>{if(a({open:!0,engine:e||null}),e){let t={};for(let n of[`2K`,`4K`])t[`size_${n}`]=Object.keys(e.supportedSizes?.[n]||{});o.setFieldsValue({...e,...t})}else o.resetFields(),o.setFieldsValue({isActive:!0,priority:0,supportedModels:[`doubao-seedream-5-0-260128`],defaultSize:`2K`,maxImageCount:0,size_2K:n7,size_4K:n7})};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(RA,{style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(c0,{style:{fontSize:18,color:`#10b981`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`图片引擎配置`}),(0,Q.jsxs)(kR,{color:`green`,children:[e.length,` 个引擎`]})]}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(pA,{}),onClick:()=>u(),style:{borderRadius:8},children:`添加引擎`})]}),(0,Q.jsx)(gR,{columns:[{title:`引擎名称`,key:`name`,width:180,render:(e,t)=>(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:[(0,Q.jsx)(`div`,{style:{width:36,height:36,borderRadius:8,background:t.isActive?`linear-gradient(135deg, #10b981, #059669)`:`linear-gradient(135deg, #94a3b8, #cbd5e1)`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#fff`,fontSize:16},children:(0,Q.jsx)(c0,{})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,children:t.name}),(0,Q.jsx)(`div`,{style:{color:`#94a3b8`,fontSize:12},children:t.modelName})]})]})},{title:`2K 支持比例`,key:`sizes_2k`,width:260,render:(e,t)=>{let n=Object.keys(t.supportedSizes?.[`2K`]||{});return n.length===0?(0,Q.jsx)(`span`,{style:{color:`#bfbfbf`},children:`-`}):(0,Q.jsx)(NM,{size:2,wrap:!0,children:n.map(e=>(0,Q.jsxs)(kR,{color:`blue`,children:[e,` `,t.supportedSizes[`2K`][e]]},e))})}},{title:`4K 支持比例`,key:`sizes_4k`,width:260,render:(e,t)=>{let n=Object.keys(t.supportedSizes?.[`4K`]||{});return n.length===0?(0,Q.jsx)(`span`,{style:{color:`#bfbfbf`},children:`-`}):(0,Q.jsx)(NM,{size:2,wrap:!0,children:n.map(e=>(0,Q.jsxs)(kR,{color:`purple`,children:[e,` `,t.supportedSizes[`4K`][e]]},e))})}},{title:`最大图片`,dataIndex:`maxImageCount`,width:100,render:e=>(0,Q.jsxs)(kR,{color:`purple`,children:[e,` 张`]})},{title:`状态`,dataIndex:`isActive`,width:80,render:e=>(0,Q.jsx)(kR,{color:e?`green`:`default`,children:e?`启用`:`停用`})},{title:`操作`,key:`action`,width:150,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(NM,{size:4,children:[(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(FR,{}),onClick:()=>u(t),children:`编辑`}),(0,Q.jsx)(kP,{title:`确定删除?`,onConfirm:()=>l(t.id),children:(0,Q.jsx)(cC,{type:`link`,size:`small`,danger:!0,icon:(0,Q.jsx)(MR,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:n,pagination:!1,scroll:{x:1e3}})]}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(c0,{}),i.engine?`编辑引擎`:`添加引擎`]}),open:i.open,onOk:c,onCancel:()=>{a({open:!1,engine:null}),o.resetFields()},okText:`保存`,cancelText:`取消`,width:680,children:(0,Q.jsxs)(X,{form:o,layout:`vertical`,style:{marginTop:16},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`name`,label:`引擎名称`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(HN,{placeholder:`豆包文生图`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`provider`,label:`提供商`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(Ob,{size:`large`,options:[{value:`ark`,label:`火山引擎 (Ark)`}]})})]}),(0,Q.jsx)(X.Item,{name:`apiBase`,label:`API基础地址`,rules:[{required:!0}],children:(0,Q.jsx)(HN,{placeholder:`https://ark.cn-beijing.volces.com/api/v3`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`apiKey`,label:`API Key`,children:(0,Q.jsx)(HN.Password,{placeholder:`sk-****`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`modelName`,label:`默认模型`,children:(0,Q.jsx)(HN,{placeholder:`doubao-seedream-5-0-260128`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`supportedModels`,label:`支持模型列表`,children:(0,Q.jsx)(Ob,{mode:`tags`,size:`large`,placeholder:`输入模型ID后回车添加`,tokenSeparators:[`,`,`,`],options:[{value:`doubao-seedream-5-0-260128`}]})}),(0,Q.jsxs)(`div`,{style:{background:`#f8f9fc`,borderRadius:10,padding:16,marginBottom:8},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14},children:`尺寸配置`}),(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,marginLeft:8},children:`勾选每个档位支持的比例,前台选择后传对应像素值给SDK`})]}),[`2K`,`4K`].map(e=>(0,Q.jsxs)(`div`,{style:{background:`#fafbfc`,borderRadius:10,padding:`12px 16px`,marginBottom:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:13,color:e===`2K`?`#3b82f6`:`#8b5cf6`},children:e}),(0,Q.jsx)(X.Item,{name:`size_${e}`,style:{marginTop:8,marginBottom:0},children:(0,Q.jsx)(tj.Group,{style:{width:`100%`},children:(0,Q.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(4, 1fr)`,gap:`6px 0`},children:n7.map(t=>(0,Q.jsxs)(tj,{value:t,style:{fontSize:12},children:[t,` `,(0,Q.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:11},children:t7[e]?.[t]})]},t))})})})]},e)),(0,Q.jsx)(X.Item,{name:`defaultSize`,label:`默认尺寸档位`,children:(0,Q.jsx)(Ob,{size:`large`,options:[{value:`2K`,label:`2K`},{value:`4K`,label:`4K`}]})}),(0,Q.jsx)(X.Item,{name:`maxImageCount`,label:`最大图片数量`,children:(0,Q.jsx)(HN,{type:`number`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`generateUrl`,label:`生成接口地址`,children:(0,Q.jsx)(HN,{placeholder:`https://ark.cn-beijing.volces.com/api/v3/images/generations`,size:`large`})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`priority`,label:`优先级`,children:(0,Q.jsx)(Ob,{size:`large`,options:[{value:0,label:`0 (默认)`},{value:1,label:`1`},{value:2,label:`2`},{value:3,label:`3`},{value:5,label:`5`},{value:10,label:`10 (最高)`}]})}),(0,Q.jsx)(X.Item,{name:`isActive`,label:`启用状态`,valuePropName:`checked`,style:{paddingTop:30},children:(0,Q.jsx)(uF,{})})]})]})})]})},oUe=[`2K`,`4K`],sUe=[`480p`,`720p`,`1080p`],cUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)([]),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)({open:!1,ratio:null}),[c]=X.useForm(),[l,u]=(0,C.useState)(10),[d,f]=(0,C.useState)(null),[p,m]=(0,C.useState)(!1),h=X.useWatch(`genType`,c)||`video`,g=X.useWatch(`modelConfigId`,c),_=async()=>{a(!0);try{let[e,n,i]=await Promise.all([GBe(),u5(),xVe()]),a=(i?.engine?.image||[]).map(e=>({...e,genType:`image`})),o=(i?.engine?.video||[]).map(e=>({...e,genType:`video`}));t(e),r([...o,...a]);let s=n.find(e=>e.key===`text_credits_per_1000_tokens`);s&&(u(Number(s.value)||10),f({id:s.id}))}catch{wP.error(`加载积分比例失败`)}finally{a(!1)}};(0,C.useEffect)(()=>{_()},[]);let v=(0,C.useMemo)(()=>n.filter(e=>e.genType===h).map(e=>({value:e.id,label:`${e.name}${e.modelName?`(${e.modelName})`:``}`})),[n,h]),y=(0,C.useMemo)(()=>n.find(e=>e.id===g&&e.genType===h),[n,h,g]),b=(0,C.useMemo)(()=>{if(h===`image`){let e=y?.supportedSizes?Object.keys(y.supportedSizes):[];return(e.length?e:oUe).map(e=>({value:e,label:e}))}let e=y?.supportedResolutions||[];return(e.length?e:sUe).map(e=>({value:e,label:e}))},[h,y]),x=(e,t)=>n.find(n=>n.id===e&&(!t||n.genType===t))?.name||e,S=async()=>{try{let e=await c.validateFields(),t={model_config_id:e.modelConfigId,gen_type:e.genType,resolution:e.resolution,ratio:e.ratio,base_credits:e.baseCredits,per_second_credits:e.genType===`image`?0:e.perSecondCredits||0};e.genType===`video`&&(t.input_video_ratio=e.inputVideoRatio??1,t.input_video_base_credits=e.inputVideoBaseCredits??0,t.input_video_per_second_credits=e.inputVideoPerSecondCredits??0),o.ratio?(await _5({id:o.ratio.id,...t}),wP.success(`已更新`)):(await _5(t),wP.success(`已添加`)),s({open:!1,ratio:null}),c.resetFields(),_()}catch(e){if(e?.errorFields)return;wP.error(e?.message||`保存失败`)}},w=async e=>{try{await KBe(e),wP.success(`已删除`),_()}catch{wP.error(`删除失败`)}},T=async()=>{if(d){m(!0);try{await d5(d.id,String(l)),wP.success(`文字积分费率已更新`)}catch(e){wP.error(e?.message||`保存失败`)}finally{m(!1)}}},E=e=>{s({open:!0,ratio:e||null}),e?c.setFieldsValue({modelConfigId:e.modelConfigId,genType:e.genType===`image`?`image`:`video`,resolution:e.resolution,ratio:e.ratio,baseCredits:e.baseCredits,perSecondCredits:e.perSecondCredits,inputVideoRatio:e.inputVideoRatio,inputVideoBaseCredits:e.inputVideoBaseCredits,inputVideoPerSecondCredits:e.inputVideoPerSecondCredits}):(c.resetFields(),c.setFieldsValue({genType:`video`,ratio:1,baseCredits:60,perSecondCredits:2,inputVideoRatio:1,inputVideoBaseCredits:0,inputVideoPerSecondCredits:.5}))};return(0,Q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:16},children:[(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:16},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(hZ,{style:{fontSize:18,color:`#f59e0b`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`文字积分费率`})]}),(0,Q.jsx)(cC,{type:`primary`,loading:p,onClick:T,style:{borderRadius:8},children:`保存`})]}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{display:`block`,marginBottom:16,fontSize:13},children:`文字积分计算公式:ceil(总token数 x 费率 / 1000),最低1积分`}),(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:[(0,Q.jsx)(Z.Text,{children:`每1000 token消耗积分:`}),(0,Q.jsxs)(NM.Compact,{style:{width:160},children:[(0,Q.jsx)(jj,{min:0,max:1e3,step:.01,value:l,onChange:e=>u(e||0),size:`large`,style:{width:`100%`}}),(0,Q.jsx)(Z.Text,{children:`积分`})]}),(0,Q.jsxs)(Z.Text,{type:`secondary`,style:{fontSize:12},children:[`示例:1000 token = `,l,` 积分,500 token = `,(500*l/1e3).toFixed(4),` 积分`]})]})]}),(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(WG,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`积分比例配置`}),(0,Q.jsxs)(kR,{color:`purple`,children:[e.length,` 条规则`]})]}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(pA,{}),onClick:()=>E(),style:{borderRadius:8},children:`添加比例`})]}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{display:`block`,marginBottom:16,fontSize:13},children:`视频积分公式:(基础积分 + 每秒积分 x 视频时长) x 模型倍率;图片积分公式:基础积分 x 模型倍率`}),(0,Q.jsx)(gR,{columns:[{title:`类型`,dataIndex:`genType`,width:80,render:e=>(0,Q.jsx)(kR,{color:e===`image`?`cyan`:`orange`,children:e===`image`?`图片`:`视频`})},{title:`引擎`,dataIndex:`modelConfigId`,width:180,render:(e,t)=>(0,Q.jsx)(kR,{color:t.genType===`image`?`cyan`:`purple`,children:x(e,t.genType)})},{title:`分辨率/尺寸`,dataIndex:`resolution`,width:110,render:e=>(0,Q.jsx)(kR,{color:{"480p":`blue`,"720p":`blue`,"1080p":`blue`,"4K":`green`,"2K":`green`}[e]||`default`,children:e})},{title:`倍率`,dataIndex:`ratio`,width:100,sorter:(e,t)=>e.ratio-t.ratio,render:e=>(0,Q.jsxs)(Z.Text,{strong:!0,style:{color:e>=2?`#ef4444`:e>=1.5?`#f59e0b`:`#10b981`},children:[`x`,e]})},{title:`基础积分`,dataIndex:`baseCredits`,width:100,render:e=>(0,Q.jsxs)(Z.Text,{children:[e,` 积分`]})},{title:`每秒积分`,dataIndex:`perSecondCredits`,width:100,render:(e,t)=>(0,Q.jsx)(Z.Text,{children:t.genType===`image`?`-`:`${e} 积分/秒`})},{title:`视频倍率`,dataIndex:`inputVideoRatio`,width:100,render:(e,t)=>(0,Q.jsx)(Z.Text,{children:t.genType===`image`?`-`:(0,Q.jsxs)(`span`,{style:{color:e>=2?`#ef4444`:e>=1.5?`#f59e0b`:`#10b981`},children:[`x`,e]})})},{title:`视频基础积分`,dataIndex:`inputVideoBaseCredits`,width:110,render:(e,t)=>(0,Q.jsx)(Z.Text,{children:t.genType===`image`?`-`:`${e} 积分`})},{title:`视频每秒积分`,dataIndex:`inputVideoPerSecondCredits`,width:110,render:(e,t)=>(0,Q.jsx)(Z.Text,{children:t.genType===`image`?`-`:`${e} 积分/秒`})},{title:`示例计算(视频15秒,上传视频15秒)`,key:`example`,width:140,render:(e,t)=>{let n;return t.genType===`image`?n=Math.round(t.baseCredits*t.ratio):(n=Math.round((t.baseCredits+t.perSecondCredits*15)*t.ratio),t.inputVideoRatio&&t.inputVideoPerSecondCredits&&(n+=Math.round((t.inputVideoBaseCredits+t.inputVideoPerSecondCredits*15)*t.inputVideoRatio))),(0,Q.jsxs)(Z.Text,{strong:!0,style:{color:`#6366f1`},children:[n,` 积分`]})}},{title:`操作`,key:`action`,width:150,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(NM,{size:4,children:[(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(FR,{}),onClick:()=>E(t),children:`编辑`}),(0,Q.jsx)(kP,{title:`确定删除?`,onConfirm:()=>w(t.id),children:(0,Q.jsx)(cC,{type:`link`,size:`small`,danger:!0,icon:(0,Q.jsx)(MR,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:i,pagination:!1,scroll:{x:1180}})]}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(WG,{}),o.ratio?`编辑比例`:`添加比例`]}),open:o.open,onOk:S,onCancel:()=>{s({open:!1,ratio:null}),c.resetFields()},okText:`保存`,cancelText:`取消`,width:520,children:(0,Q.jsxs)(X,{form:c,layout:`vertical`,style:{marginTop:16},children:[(0,Q.jsx)(X.Item,{name:`genType`,label:`生成类型`,rules:[{required:!0,message:`请选择生成类型`}],children:(0,Q.jsx)(Ob,{size:`large`,options:[{value:`video`,label:`视频`},{value:`image`,label:`图片`}],onChange:()=>{c.setFieldsValue({modelConfigId:void 0,resolution:void 0})}})}),(0,Q.jsx)(X.Item,{name:`modelConfigId`,label:`引擎`,rules:[{required:!0,message:`请选择引擎`}],children:(0,Q.jsx)(Ob,{size:`large`,placeholder:`请选择引擎`,options:v,showSearch:!0,optionFilterProp:`label`,onChange:()=>c.setFieldsValue({resolution:void 0})})}),(0,Q.jsx)(X.Item,{name:`resolution`,label:h===`image`?`图片尺寸`:`分辨率`,rules:[{required:!0,message:h===`image`?`请选择图片尺寸`:`请选择分辨率`}],children:(0,Q.jsx)(Ob,{size:`large`,placeholder:h===`image`?`请选择图片尺寸`:`请选择分辨率`,options:b})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`ratio`,label:`倍率`,style:{flex:1},rules:[{required:!0,message:`请输入倍率`}],children:(0,Q.jsx)(jj,{min:.1,max:10,step:.1,style:{width:`100%`},size:`large`})}),(0,Q.jsx)(X.Item,{name:`baseCredits`,label:`基础积分`,style:{flex:1},rules:[{required:!0,message:`请输入基础积分`}],children:(0,Q.jsx)(jj,{min:0,max:1e3,style:{width:`100%`},size:`large`})}),h!==`image`&&(0,Q.jsx)(X.Item,{name:`perSecondCredits`,label:`每秒积分`,style:{flex:1},rules:[{required:!0,message:`请输入每秒积分`}],children:(0,Q.jsx)(jj,{min:0,max:100,style:{width:`100%`},size:`large`})})]}),h!==`image`&&(0,Q.jsxs)(`div`,{style:{marginTop:8,padding:`12px 16px`,backgroundColor:`#f5f5ff`,borderRadius:8,border:`1px solid #e0e0ff`},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{display:`block`,marginBottom:8,color:`#4f46e5`},children:`传入视频价格`}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`inputVideoRatio`,label:`倍率`,style:{flex:1,marginBottom:0},rules:[{required:!0,message:`请输入传入视频倍率`}],children:(0,Q.jsx)(jj,{min:0,max:10,step:.1,style:{width:`100%`},size:`large`})}),(0,Q.jsx)(X.Item,{name:`inputVideoBaseCredits`,label:`基础积分`,style:{flex:1,marginBottom:0},rules:[{required:!0,message:`请输入传入视频基础积分`}],children:(0,Q.jsx)(jj,{min:0,max:500,style:{width:`100%`},size:`large`})}),(0,Q.jsx)(X.Item,{name:`inputVideoPerSecondCredits`,label:`每秒积分`,style:{flex:1,marginBottom:0},rules:[{required:!0,message:`请输入传入视频每秒积分`}],children:(0,Q.jsx)(jj,{min:0,max:50,style:{width:`100%`},size:`large`})})]})]})]})})]})},r7={HomeOutlined:(0,Q.jsx)(SQ,{}),PlayCircleOutlined:(0,Q.jsx)(_0,{}),WalletOutlined:(0,Q.jsx)(f8,{}),RobotOutlined:(0,Q.jsx)(R2,{}),SettingOutlined:(0,Q.jsx)(h4,{}),BellOutlined:(0,Q.jsx)(XU,{}),UserOutlined:(0,Q.jsx)(X6,{}),AppstoreOutlined:(0,Q.jsx)(EH,{}),FileTextOutlined:(0,Q.jsx)(LM,{}),StarOutlined:(0,Q.jsx)(g3,{}),HeartOutlined:(0,Q.jsx)(dQ,{}),CameraOutlined:(0,Q.jsx)(aK,{}),DashboardOutlined:(0,Q.jsx)(OJ,{}),CalculatorOutlined:(0,Q.jsx)(WG,{}),DollarOutlined:(0,Q.jsx)(aY,{}),GiftOutlined:(0,Q.jsx)(BZ,{}),ThunderboltOutlined:(0,Q.jsx)(t6,{}),FireOutlined:(0,Q.jsx)($X,{}),CloudOutlined:(0,Q.jsx)(wq,{}),SmileOutlined:(0,Q.jsx)($4,{}),TrophyOutlined:(0,Q.jsx)(v6,{}),RocketOutlined:(0,Q.jsx)(V2,{}),BulbOutlined:(0,Q.jsx)(FG,{}),CodeOutlined:(0,Q.jsx)(Nq,{}),PictureOutlined:(0,Q.jsx)(c0,{}),VideoCameraOutlined:(0,Q.jsx)(c8,{}),AudioOutlined:(0,Q.jsx)(nU,{}),MailOutlined:(0,Q.jsx)(V$,{}),PhoneOutlined:(0,Q.jsx)(t0,{}),GlobalOutlined:(0,Q.jsx)(qZ,{}),ShoppingCartOutlined:(0,Q.jsx)(C4,{}),TeamOutlined:(0,Q.jsx)(Q3,{}),BarChartOutlined:(0,Q.jsx)(kU,{}),PieChartOutlined:(0,Q.jsx)(d0,{}),LineChartOutlined:(0,Q.jsx)(x$,{}),SecurityScanOutlined:(0,Q.jsx)(c4,{}),ApiOutlined:(0,Q.jsx)(cH,{}),DatabaseOutlined:(0,Q.jsx)(MJ,{}),CloudServerOutlined:(0,Q.jsx)(Eq,{}),MenuOutlined:(0,Q.jsx)(r1,{})},lUe=Object.keys(r7).map(e=>({value:e,label:(0,Q.jsxs)(`span`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[r7[e],` `,e.replace(`Outlined`,``)]})})),uUe={page:`blue`,group:`purple`},dUe={page:`页面`,group:`分组`},fUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!0),[i,a]=(0,C.useState)(`frontend`),[o,s]=(0,C.useState)({open:!1,menu:null}),[c]=X.useForm(),l=async()=>{r(!0);try{t(await v5())}catch{}r(!1)};(0,C.useEffect)(()=>{l()},[]);let u=async()=>{try{let e=await c.validateFields(),t={label:e.label,path:e.path||``,icon:e.icon||``,sort_order:e.sortOrder??0,is_active:e.isActive??!0,parent_id:e.parentId||null,menu_type:e.menuType||`page`,menu_target:e.menuTarget||`frontend`,is_default:e.isDefault??!1};o.menu?.id?await y5({...t,id:o.menu.id}):await y5(t),wP.success(o.menu?.id?`菜单已更新`:`菜单已添加`),s({open:!1,menu:null}),c.resetFields(),l()}catch{}},d=async e=>{try{await nVe(e),wP.success(`菜单已删除`),l()}catch(e){wP.error(e?.message||`删除失败`)}},f=t=>{s({open:!0,menu:t||null}),t?c.setFieldsValue({label:t.label,path:t.path,icon:t.icon,sortOrder:t.sortOrder??0,isActive:t.isActive??!0,parentId:t.parentId??``,menuType:t.menuType??`page`,menuTarget:t.menuTarget??`frontend`,isDefault:t.isDefault??!1}):(c.resetFields(),c.setFieldsValue({icon:`HomeOutlined`,sortOrder:e.length,isActive:!0,menuType:`page`,menuTarget:i,isDefault:!1}))},p=e.filter(e=>{let t=e.menuTarget??`frontend`;return t===i||t===`both`}),m=[{value:``,label:`顶级菜单`},...p.filter(e=>e.menuType===`group`).map(e=>({value:e.id,label:e.label}))],h=[],g=p.filter(e=>!e.parentId),_={};p.filter(e=>e.parentId).forEach(e=>{let t=e.parentId;_[t]||(_[t]=[]),_[t].push(e)}),g.sort((e,t)=>(e.sortOrder??0)-(t.sortOrder??0)).forEach(e=>{h.push({...e,_depth:0}),(_[e.id]||[]).sort((e,t)=>(e.sortOrder??0)-(t.sortOrder??0)).forEach(e=>{h.push({...e,_depth:1})})});let v=[{title:`排序`,dataIndex:`sortOrder`,width:60},{title:`菜单名称`,key:`label`,width:180,render:(e,t)=>(0,Q.jsxs)(`span`,{style:{paddingLeft:t._depth*20,fontWeight:t._depth===0?600:400},children:[t._depth===1&&(0,Q.jsx)(`span`,{style:{color:`#cbd5e1`,marginRight:4},children:`└`}),t.label]})},{title:`路由路径`,dataIndex:`path`,width:160,render:e=>e||(0,Q.jsx)(Z.Text,{type:`secondary`,children:`-`})},{title:`图标`,dataIndex:`icon`,width:100,render:e=>e&&r7[e]?(0,Q.jsx)(`span`,{style:{fontSize:16,color:`#6366f1`},children:r7[e]}):`-`},{title:`类型`,dataIndex:`menuType`,width:80,render:e=>(0,Q.jsx)(kR,{color:uUe[e]||`default`,children:dUe[e]||e})},{title:`状态`,dataIndex:`isActive`,width:70,render:e=>(0,Q.jsx)(`span`,{style:{color:e?`#22c55e`:`#94a3b8`},children:e?`启用`:`停用`})},...i===`frontend`?[{title:`默认显示`,dataIndex:`isDefault`,width:80,render:e=>e?(0,Q.jsx)(kR,{color:`green`,children:`默认`}):(0,Q.jsx)(Z.Text,{type:`secondary`,children:`-`})}]:[],{title:`操作`,key:`action`,width:150,render:(e,t)=>(0,Q.jsxs)(NM,{size:4,children:[(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(FR,{}),onClick:()=>f(t),children:`编辑`}),(0,Q.jsx)(kP,{title:`确定删除该菜单?`,onConfirm:()=>d(t.id),children:(0,Q.jsx)(cC,{type:`link`,size:`small`,danger:!0,icon:(0,Q.jsx)(MR,{}),children:`删除`})})]})}];return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(r1,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`菜单配置`})]}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(pA,{}),onClick:()=>f(),style:{borderRadius:8},children:`添加菜单`})]}),(0,Q.jsx)(IA,{activeKey:i,onChange:a,items:[{key:`frontend`,label:`前台菜单`},{key:`admin`,label:`后台菜单`}]}),(0,Q.jsx)(gR,{columns:v,dataSource:h,rowKey:`id`,loading:n,pagination:!1,scroll:{x:900}})]}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(r1,{}),o.menu?.id?`编辑菜单`:`添加菜单`]}),open:o.open,onOk:u,onCancel:()=>{s({open:!1,menu:null}),c.resetFields()},okText:`确认`,cancelText:`取消`,width:520,children:(0,Q.jsxs)(X,{form:c,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`label`,label:`菜单名称`,rules:[{required:!0,message:`请输入菜单名称`}],children:(0,Q.jsx)(HN,{placeholder:`例如:我的项目`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`path`,label:`路由路径`,tooltip:`分组类型可留空`,children:(0,Q.jsx)(HN,{placeholder:`例如:/projects(分组可留空)`,size:`large`})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`menuType`,label:`菜单类型`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(Ob,{size:`large`,options:[{value:`page`,label:`页面`},{value:`group`,label:`分组`}]})}),(0,Q.jsx)(X.Item,{name:`menuTarget`,label:`适用端`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(Ob,{size:`large`,options:[{value:`frontend`,label:`前台`},{value:`admin`,label:`后台`},{value:`both`,label:`两者`}]})})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`icon`,label:`图标`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(Ob,{size:`large`,options:lUe})}),(0,Q.jsx)(X.Item,{name:`sortOrder`,label:`排序`,style:{flex:1},children:(0,Q.jsx)(jj,{min:0,max:100,style:{width:`100%`},size:`large`,placeholder:`默认0`})})]}),(0,Q.jsx)(X.Item,{name:`parentId`,label:`上级菜单`,children:(0,Q.jsx)(Ob,{size:`large`,options:m,allowClear:!0,placeholder:`顶级菜单`})}),(0,Q.jsx)(X.Item,{name:`isActive`,label:`启用`,valuePropName:`checked`,children:(0,Q.jsx)(uF,{})}),(0,Q.jsx)(X.Item,{noStyle:!0,shouldUpdate:(e,t)=>e.menuTarget!==t.menuTarget,children:({getFieldValue:e})=>e(`menuTarget`)===`admin`?null:(0,Q.jsx)(X.Item,{name:`isDefault`,label:`新用户默认显示`,valuePropName:`checked`,tooltip:`开启后,新注册用户默认显示此菜单`,children:(0,Q.jsx)(uF,{})})})]})})]})},pUe={normal:`blue`,gift:`green`,promo:`purple`},mUe={normal:`常规`,gift:`赠送`,promo:`促销`},hUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)({open:!1,item:null}),[o]=X.useForm(),s=async()=>{r(!0);try{t((await sVe()).map(e=>({id:e.id,name:e.name,credits:e.credits,price:e.price,bonusCredits:e.bonus_credits??e.bonusCredits??0,totalCredits:e.total_credits??e.totalCredits??e.credits,description:e.description,packageType:e.package_type??e.packageType??`normal`,isGift:e.is_gift??e.isGift??!1,isActive:e.is_active??e.isActive??!0,sortOrder:e.sort_order??e.sortOrder??0})))}catch{wP.error(`加载充值套餐失败`)}finally{r(!1)}};(0,C.useEffect)(()=>{s()},[]);let c=async()=>{try{let e=await o.validateFields(),t={name:e.name,credits:e.credits,price:e.price,bonus_credits:e.bonusCredits||0,description:e.description||null,package_type:e.packageType||`normal`,is_gift:e.isGift||!1,is_active:e.isActive??!0,sort_order:e.sortOrder??0};i.item?.id?(await x5({id:i.item.id,...t}),wP.success(`已更新`)):(await x5(t),wP.success(`已添加`)),a({open:!1,item:null}),o.resetFields(),s()}catch{}},l=async e=>{try{await cVe(e),wP.success(`已删除`),s()}catch(e){wP.error(e?.message||`删除失败`)}},u=e=>{a({open:!0,item:e||null}),e?o.setFieldsValue({name:e.name,credits:e.credits,price:e.price,bonusCredits:e.bonusCredits,description:e.description,packageType:e.packageType,isGift:e.isGift,isActive:e.isActive,sortOrder:e.sortOrder}):(o.resetFields(),o.setFieldsValue({isActive:!0,sortOrder:0,packageType:`normal`,bonusCredits:0,isGift:!1}))};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(BZ,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`充值套餐管理`}),(0,Q.jsxs)(kR,{color:`purple`,children:[e.length,` 个套餐`]})]}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(pA,{}),onClick:()=>u(),style:{borderRadius:8},children:`添加套餐`})]}),(0,Q.jsx)(gR,{columns:[{title:`套餐名称`,key:`name`,width:160,render:(e,t)=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,children:t.name}),t.description&&(0,Q.jsx)(`div`,{style:{color:`#94a3b8`,fontSize:12},children:t.description})]})},{title:`基础积分`,dataIndex:`credits`,width:100,render:e=>(0,Q.jsx)(Z.Text,{children:e.toLocaleString()})},{title:`赠送积分`,dataIndex:`bonusCredits`,width:100,render:e=>e>0?(0,Q.jsxs)(kR,{color:`green`,children:[`+`,e.toLocaleString()]}):(0,Q.jsx)(Z.Text,{type:`secondary`,children:`-`})},{title:`总积分`,key:`total`,width:100,render:(e,t)=>(0,Q.jsx)(Z.Text,{strong:!0,style:{color:`#6366f1`},children:(t.credits+t.bonusCredits).toLocaleString()})},{title:`价格(元)`,dataIndex:`price`,width:100,render:e=>(0,Q.jsxs)(Z.Text,{strong:!0,children:[`¥`,e]})},{title:`类型`,dataIndex:`packageType`,width:80,render:e=>(0,Q.jsx)(kR,{color:pUe[e]||`default`,children:mUe[e]||e})},{title:`状态`,dataIndex:`isActive`,width:80,render:e=>(0,Q.jsx)(kR,{color:e?`green`:`default`,children:e?`启用`:`停用`})},{title:`操作`,key:`action`,width:150,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(NM,{size:4,children:[(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(FR,{}),onClick:()=>u(t),children:`编辑`}),(0,Q.jsx)(kP,{title:`确定删除?`,onConfirm:()=>l(t.id),children:(0,Q.jsx)(cC,{type:`link`,size:`small`,danger:!0,icon:(0,Q.jsx)(MR,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:n,pagination:!1,scroll:{x:900}})]}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(BZ,{}),i.item?`编辑套餐`:`添加套餐`]}),open:i.open,onOk:c,onCancel:()=>{a({open:!1,item:null}),o.resetFields()},okText:`保存`,cancelText:`取消`,width:520,children:(0,Q.jsxs)(X,{form:o,layout:`vertical`,style:{marginTop:16},children:[(0,Q.jsx)(X.Item,{name:`name`,label:`套餐名称`,rules:[{required:!0,message:`请输入套餐名称`}],children:(0,Q.jsx)(HN,{placeholder:`例如:进阶包`,size:`large`})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`credits`,label:`基础积分`,rules:[{required:!0,message:`请输入积分`}],style:{flex:1},children:(0,Q.jsx)(jj,{min:1,placeholder:`2000`,size:`large`,style:{width:`100%`}})}),(0,Q.jsx)(X.Item,{name:`price`,label:`价格(元)`,rules:[{required:!0,message:`请输入价格`}],style:{flex:1},children:(0,Q.jsx)(jj,{min:.01,step:1,placeholder:`168`,size:`large`,style:{width:`100%`}})})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`bonusCredits`,label:`赠送积分`,initialValue:0,style:{flex:1},children:(0,Q.jsx)(jj,{min:0,placeholder:`0`,size:`large`,style:{width:`100%`}})}),(0,Q.jsx)(X.Item,{name:`packageType`,label:`套餐类型`,initialValue:`normal`,style:{flex:1},children:(0,Q.jsx)(Ob,{size:`large`,options:[{value:`normal`,label:`常规`},{value:`gift`,label:`赠送`},{value:`promo`,label:`促销`}]})})]}),(0,Q.jsx)(X.Item,{name:`description`,label:`描述`,children:(0,Q.jsx)(HN,{placeholder:`套餐描述(可选)`,size:`large`})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`isActive`,label:`启用状态`,valuePropName:`checked`,initialValue:!0,style:{flex:1},children:(0,Q.jsx)(uF,{})}),(0,Q.jsx)(X.Item,{name:`isGift`,label:`是否赠送`,valuePropName:`checked`,initialValue:!1,style:{flex:1},children:(0,Q.jsx)(uF,{})}),(0,Q.jsx)(X.Item,{name:`sortOrder`,label:`排序`,initialValue:0,style:{flex:1},children:(0,Q.jsx)(jj,{size:`large`,style:{width:`100%`}})})]})]})})]})},gUe={POST:`green`,PUT:`blue`,DELETE:`red`},_Ue=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(0),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(1),c=async e=>{a(!0);try{let n=await lVe(e||o);t(n.items||[]),r(n.total||0)}catch{wP.error(`加载操作日志失败`)}finally{a(!1)}};return(0,C.useEffect)(()=>{c()},[]),(0,Q.jsx)(`div`,{children:(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(yQ,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`操作日志`})]}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(HP,{}),onClick:()=>c(),children:`刷新`})]}),(0,Q.jsx)(gR,{columns:[{title:`操作人`,dataIndex:`username`,width:120,render:e=>(0,Q.jsx)(Z.Text,{strong:!0,children:e})},{title:`操作`,dataIndex:`action`,width:160,render:e=>(0,Q.jsx)(Z.Text,{children:e})},{title:`方法`,dataIndex:`method`,width:80,render:e=>(0,Q.jsx)(kR,{color:gUe[e]||`default`,children:e})},{title:`路径`,dataIndex:`path`,width:220,ellipsis:!0,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:e})},{title:`时间`,dataIndex:`createdAt`,width:160,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:P5(e)})}],dataSource:e,rowKey:`id`,loading:i,pagination:{current:o,pageSize:20,total:n,showTotal:e=>`共 ${e} 条记录`,onChange:e=>{s(e),c(e)}},scroll:{x:800}})]})})},vUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(0),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(1),[c,l]=(0,C.useState)(!1),[u,d]=(0,C.useState)(!1),[f,p]=(0,C.useState)(!1),[m,h]=(0,C.useState)(null),[g]=X.useForm(),[_]=X.useForm(),v=async e=>{a(!0);try{let n=await uVe(e||o);t(n.items||[]),r(n.total||0)}catch{wP.error(`加载应用管理列表失败`)}finally{a(!1)}},y=async()=>{try{let e=await g.validateFields();await dVe({app_id:e.app_id,secret:e.secret,open_type:e.open_type,max_count:e.max_count,auth_url:e.auth_url,company:e.company}),wP.success(`创建成功`),l(!1),g.resetFields(),v()}catch(e){wP.error(e?.message||`创建失败`)}},b=async e=>{try{h(await S5(e)),d(!0)}catch(e){wP.error(e?.message||`获取详情失败`)}},x=async e=>{try{let t=await S5(e);h(t),_.setFieldsValue({appId:t.appId,secret:t.secret,openType:t.openType,maxCount:t.maxCount,authUrl:t.authUrl,company:t.company}),p(!0)}catch(e){wP.error(e?.message||`获取详情失败`)}},S=async()=>{if(m)try{let e=await _.validateFields();await fVe(m.id,{app_id:e.app_id,secret:e.secret,open_type:e.open_type,count:e.count,auth_url:e.auth_url,company:e.company}),wP.success(`更新成功`),p(!1),_.resetFields(),v()}catch(e){wP.error(e?.message||`更新失败`)}},w=e=>{EP.confirm({title:`确认删除`,content:`确定要删除这个应用管理吗?`,okText:`删除`,okType:`danger`,cancelText:`取消`,onOk:async()=>{try{await pVe(e),wP.success(`删除成功`),v()}catch(e){wP.error(e?.message||`删除失败`)}}})};return(0,C.useEffect)(()=>{v()},[]),(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(r1,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`应用管理列表`})]}),(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(cC,{icon:(0,Q.jsx)(HP,{}),onClick:()=>v(),children:`刷新`}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(pA,{}),onClick:()=>l(!0),children:`创建`})]})]}),(0,Q.jsx)(gR,{columns:[{title:`ID`,dataIndex:`id`,width:120,render:e=>(0,Q.jsx)(Z.Text,{children:e})},{title:`应用ID`,dataIndex:`appId`,width:120,render:e=>(0,Q.jsx)(Z.Text,{children:e})},{title:`应用密钥`,dataIndex:`secret`,width:120,render:e=>{if(!e)return`-`;let t=e.length>12?`${e.slice(0,6)}...${e.slice(-4)}`:e;return(0,Q.jsx)(nx,{title:e,placement:`topLeft`,children:(0,Q.jsx)(Z.Text,{style:{fontSize:12},children:t})})}},{title:`开户方式`,dataIndex:`openType`,width:90,render:e=>(0,Q.jsx)(Z.Text,{children:{1:`千川`,2:`广告`,3:`本地推`,4:`星图`,5:`快手代理商`,6:`巨量星图`,7:`巨量服务单`,8:`腾讯服务单`,9:`腾讯营销K2`,10:`腾讯营销K3`}[e]||e})},{title:`归属公司`,dataIndex:`company`,width:120,render:e=>(0,Q.jsx)(Z.Text,{children:e})},{title:`授权次数`,dataIndex:`maxCount`,width:90,render:e=>(0,Q.jsx)(Z.Text,{children:e})},{title:`状态`,dataIndex:`status`,width:80,render:e=>(0,Q.jsx)(kR,{color:e===1?`green`:`red`,children:e===1?`正常`:`禁用`})},{title:`授权URL`,dataIndex:`authUrl`,width:200,render:e=>e?(0,Q.jsx)(nx,{title:e,placement:`topLeft`,children:(0,Q.jsx)(Z.Text,{style:{fontSize:12},ellipsis:!0,children:e.length>30?`${e.slice(0,27)}...`:e})}):`-`},{title:`创建人`,dataIndex:`createBy`,width:120,render:e=>(0,Q.jsx)(Z.Text,{children:e})},{title:`创建时间`,dataIndex:`createdAt`,width:160,render:e=>(0,Q.jsx)(Z.Text,{children:P5(e)})},{title:`更新时间`,dataIndex:`updatedAt`,width:160,render:e=>(0,Q.jsx)(Z.Text,{children:P5(e)})},{title:`操作`,width:120,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(cC,{icon:(0,Q.jsx)(NN,{}),size:`small`,onClick:()=>b(t.id),children:`详情`}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(FR,{}),size:`small`,onClick:()=>x(t.id),children:`更新`}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(MR,{}),size:`small`,danger:!0,onClick:()=>w(t.id),children:`删除`})]})}],dataSource:e,rowKey:`id`,loading:i,pagination:{current:o,pageSize:20,total:n,showTotal:e=>`共 ${e} 条记录`,onChange:e=>{s(e),v(e)}},scroll:{x:`max-content`}})]}),(0,Q.jsx)(EP,{title:`创建应用管理`,open:c,onOk:y,onCancel:()=>{l(!1),g.resetFields()},okText:`创建`,cancelText:`取消`,width:600,children:(0,Q.jsxs)(X,{form:g,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`app_id`,label:`应用ID`,rules:[{required:!0,message:`请输入应用ID`},{max:64,message:`应用ID不能超过64个字符`}],children:(0,Q.jsx)(HN,{placeholder:`请输入应用ID`})}),(0,Q.jsx)(X.Item,{name:`secret`,label:`应用密钥`,rules:[{required:!0,message:`请输入应用密钥`},{max:256,message:`应用密钥不能超过256个字符`}],children:(0,Q.jsx)(HN,{placeholder:`请输入应用密钥`})}),(0,Q.jsx)(X.Item,{name:`open_type`,label:`开户方式`,rules:[{required:!0,message:`请选择开户方式`}],children:(0,Q.jsxs)(Ob,{placeholder:`请选择开户方式`,children:[(0,Q.jsx)(Ob.Option,{value:1,children:`千川`}),(0,Q.jsx)(Ob.Option,{value:2,children:`广告`}),(0,Q.jsx)(Ob.Option,{value:3,children:`本地推`}),(0,Q.jsx)(Ob.Option,{value:4,children:`星图`}),(0,Q.jsx)(Ob.Option,{value:5,children:`快手代理商`}),(0,Q.jsx)(Ob.Option,{value:6,children:`巨量星图`}),(0,Q.jsx)(Ob.Option,{value:7,children:`巨量服务单`}),(0,Q.jsx)(Ob.Option,{value:8,children:`腾讯服务单`}),(0,Q.jsx)(Ob.Option,{value:9,children:`腾讯营销K2`}),(0,Q.jsx)(Ob.Option,{value:10,children:`腾讯营销K3`})]})}),(0,Q.jsx)(X.Item,{name:`max_count`,label:`最大授权用户数`,initialValue:100,children:(0,Q.jsx)(jj,{min:1,placeholder:`应用最大可以授权多少个用户`})}),(0,Q.jsx)(X.Item,{name:`auth_url`,label:`应用授权链接`,children:(0,Q.jsx)(HN,{placeholder:`请输入应用授权链接`})}),(0,Q.jsx)(X.Item,{name:`company`,label:`应用归属公司名称`,rules:[{max:256,message:`公司名称不能超过256个字符`}],children:(0,Q.jsx)(HN,{placeholder:`请输入应用归属公司名称`})})]})}),(0,Q.jsx)(EP,{title:`应用管理详情`,open:u,onCancel:()=>{d(!1),h(null)},okText:`关闭`,cancelText:`取消`,width:600,children:m&&(0,Q.jsxs)(`div`,{style:{lineHeight:`2`},children:[(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`ID:`}),` `,m.id]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`应用ID:`}),` `,m.appId]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`应用密钥:`}),` `,m.secret]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`开户方式:`}),` `,{1:`千川`,2:`广告`,3:`本地推`,4:`星图`,5:`快手代理商`,6:`巨量星图`,7:`巨量服务单`,8:`腾讯服务单`,9:`腾讯营销K2`,10:`腾讯营销K3`}[m.openType]||m.openType]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`归属公司:`}),` `,m.company||`-`]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`授权次数:`}),` `,m.maxCount]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`状态:`}),` `,m.status===1?`正常`:`禁用`]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`授权URL:`}),` `,m.authUrl||`-`]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`创建人:`}),` `,m.createBy]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`创建时间:`}),` `,P5(m.createdAt)]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`更新时间:`}),` `,P5(m.updatedAt)]})]})}),(0,Q.jsx)(EP,{title:`更新应用管理`,open:f,onOk:S,onCancel:()=>{p(!1),_.resetFields(),h(null)},okText:`更新`,cancelText:`取消`,width:600,children:(0,Q.jsxs)(X,{form:_,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`appId`,label:`应用ID`,rules:[{required:!0,message:`请输入应用ID`},{max:64,message:`应用ID不能超过64个字符`}],children:(0,Q.jsx)(HN,{placeholder:`请输入应用ID`})}),(0,Q.jsx)(X.Item,{name:`secret`,label:`应用密钥`,rules:[{required:!0,message:`请输入应用密钥`},{max:256,message:`应用密钥不能超过256个字符`}],children:(0,Q.jsx)(HN,{placeholder:`请输入应用密钥`})}),(0,Q.jsx)(X.Item,{name:`openType`,label:`开户方式`,rules:[{required:!0,message:`请选择开户方式`}],children:(0,Q.jsxs)(Ob,{placeholder:`请选择开户方式`,children:[(0,Q.jsx)(Ob.Option,{value:1,children:`千川`}),(0,Q.jsx)(Ob.Option,{value:2,children:`广告`}),(0,Q.jsx)(Ob.Option,{value:3,children:`本地推`}),(0,Q.jsx)(Ob.Option,{value:4,children:`星图`}),(0,Q.jsx)(Ob.Option,{value:5,children:`快手代理商`}),(0,Q.jsx)(Ob.Option,{value:6,children:`巨量星图`}),(0,Q.jsx)(Ob.Option,{value:7,children:`巨量服务单`}),(0,Q.jsx)(Ob.Option,{value:8,children:`腾讯服务单`}),(0,Q.jsx)(Ob.Option,{value:9,children:`腾讯营销K2`}),(0,Q.jsx)(Ob.Option,{value:10,children:`腾讯营销K3`})]})}),(0,Q.jsx)(X.Item,{name:`maxCount`,label:`最大授权用户数`,children:(0,Q.jsx)(jj,{min:1,placeholder:`应用最大可以授权多少个用户`})}),(0,Q.jsx)(X.Item,{name:`authUrl`,label:`应用授权链接`,children:(0,Q.jsx)(HN,{placeholder:`请输入应用授权链接`})}),(0,Q.jsx)(X.Item,{name:`company`,label:`应用归属公司名称`,rules:[{max:256,message:`公司名称不能超过256个字符`}],children:(0,Q.jsx)(HN,{placeholder:`请输入应用归属公司名称`})})]})})]})},i7=`http://ceshi.apiforeign.minzhong.cn`.replace(/\/api\/?$/i,``).replace(/\/$/,``),a7={image:`empty`,video:`empty`,videoCover:`empty`,references:{}},o7={optimizing:{color:`processing`,text:`优化中`,icon:(0,Q.jsx)(dm,{spin:!0})},prompt_optimized:{color:`processing`,text:`待生成`,icon:(0,Q.jsx)(lM,{})},generating:{color:`warning`,text:`生成中`,icon:(0,Q.jsx)(dm,{spin:!0})},completed:{color:`success`,text:`已完成`,icon:(0,Q.jsx)(WK,{})},failed:{color:`error`,text:`失败`,icon:(0,Q.jsx)(gq,{})}},s7={image:{text:`图片`,color:`purple`,icon:(0,Q.jsx)(xX,{})},video:{text:`视频`,color:`geekblue`,icon:(0,Q.jsx)(c8,{})}},yUe=e=>/^(https?:)?\/\//i.test(e)||/^(blob|data):/i.test(e),c7=e=>!!e&&/^blob:/i.test(e.trim()),l7=e=>{if(!e)return``;let t=String(e).trim();return t?yUe(t)?t:i7?`${i7}${t.startsWith(`/`)?t:`/${t}`}`:t.startsWith(`/`)?t:`/${t}`:``},bUe=e=>e?e.length>12?`${e.slice(0,8)}...`:e:`-`,u7=e=>e?P5(e):`-`,xUe=e=>e==null||e===``,d7=e=>{if(!e||c7(e))return!1;try{let t=new URL(l7(e),window.location.origin),n=t.searchParams.get(`exp`)||t.searchParams.get(`expires`)||t.searchParams.get(`expire`)||t.searchParams.get(`expires_at`)||t.searchParams.get(`x-expires`);if(!n)return!1;let r=Number(n);if(!Number.isFinite(r))return!1;let i=r>1e10?r:r*1e3;return Date.now()>=i}catch{return!1}},f7=e=>e?c7(e)||d7(e)?`invalid`:`checking`:`empty`,p7=e=>{let t=e.url||e.mediaUrl||e.fileUrl;return typeof t==`string`&&t.trim()?t.trim():void 0},SUe=e=>{let t=String(e.type||e.mediaType||e.mimeType||``).toLowerCase(),n=p7(e)?.toLowerCase()||``;return t.includes(`video`)||/\.(mp4|mov|webm|m4v)(\?|$)/i.test(n)?`video`:t.includes(`image`)||/\.(png|jpe?g|webp|gif|bmp|svg)(\?|$)/i.test(n)?`image`:t||`unknown`},m7=(e,t)=>`${t}-${p7(e)||`empty`}`,h7=(e,t=`资源`)=>c7(e)?`本地临时素材已失效`:d7(e)?`${t}链接已超时,请刷新列表或重新搜索后再查看`:`${t}加载失败,请刷新列表或重新搜索后再查看`,g7=({text:e,minHeight:t=240,compact:n=!1,action:r})=>(0,Q.jsxs)(`div`,{style:{width:`100%`,minHeight:n?void 0:t,height:n?`100%`:void 0,borderRadius:n?10:12,background:`#f8f9fc`,border:`1px dashed #cbd5e1`,color:`#64748b`,display:`flex`,alignItems:`center`,justifyContent:`center`,flexDirection:`column`,gap:n?4:10,textAlign:`center`},children:[(0,Q.jsx)(Z.Text,{style:{color:`#64748b`,fontSize:n?11:13},children:e}),r]}),_7=({label:e,value:t})=>(0,Q.jsxs)(`div`,{style:{flex:1,minWidth:120},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:e}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14},children:xUe(t)?`-`:t})]}),CUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(0),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(1),[c]=(0,C.useState)(20),[l,u]=(0,C.useState)(``),[d,f]=(0,C.useState)(``),[p,m]=(0,C.useState)(0),[h,g]=(0,C.useState)(null),[_,v]=(0,C.useState)(a7),[y,b]=(0,C.useState)(!1),x=(0,C.useRef)(null),[S,w]=(0,C.useState)(null),[T,E]=(0,C.useState)(null),D=(0,C.useCallback)(async()=>{a(!0);try{let e=await vVe({userId:d.trim()||void 0,status:l||void 0,page:o,pageSize:c});t((e.items||[]).map(e=>({id:e.id,userId:e.userId,username:e.username,projectId:e.projectId,projectName:e.projectName,industry:e.industry,originalPrompt:e.originalPrompt,optimizedPrompt:e.optimizedPrompt,duration:e.duration,aspectRatio:e.aspectRatio,resolution:e.resolution,status:e.status,videoUrl:e.videoUrl,videoCoverUrl:e.videoCoverUrl,references:e.references,creditsCost:e.creditsCost||0,textCreditsCost:e.textCreditsCost||0,textTokensUsed:e.textTokensUsed||0,videoTokensUsed:e.videoTokensUsed||0,errorMessage:e.errorMessage,createdAt:e.createdAt,generatedAt:e.generatedAt,genType:e.genType,imageSize:e.imageSize,imageUrl:e.imageUrl,imageTokensUsed:e.imageTokensUsed||0,imageProportion:e.imageProportion,imagePx:e.imagePx}))),r(e.total||0)}catch{wP.error(`加载记录失败`)}finally{a(!1)}},[l,d,o,c]);(0,C.useEffect)(()=>{D()},[D,p]),(0,C.useEffect)(()=>{if(!h){v(a7);return}let e=(h.references||[]).reduce((e,t,n)=>{let r=p7(t);return e[m7(t,n)]=f7(r),e},{});x.current&&(x.current.pause(),x.current.currentTime=0),b(!1),v({image:f7(h.imageUrl),video:f7(h.videoUrl),videoCover:f7(h.videoCoverUrl),references:e})},[h]);let O=()=>{s(1),m(e=>e+1)},k=(0,C.useCallback)(e=>{g(e)},[]),A=()=>{x.current&&x.current.pause(),b(!1),g(null)},j=e=>{v(t=>({...t,...e}))},M=(e,t)=>{v(n=>({...n,references:{...n.references,[e]:t}}))},N=(e,t=`素材`)=>{if(!e){wP.warning(`${t}链接为空,暂无法查看`);return}if(c7(e)){wP.warning(`本地临时素材已失效,暂无法查看`);return}if(d7(e)){wP.warning(`${t}链接已超时,请刷新列表或重新搜索后再查看`);return}window.open(l7(e),`_blank`,`noopener,noreferrer`)},P=()=>{if(h?.videoUrl){if(d7(h.videoUrl)){j({video:`invalid`}),wP.warning(`视频链接已超时,请刷新列表或重新搜索后再查看`);return}b(!0),window.setTimeout(()=>{x.current?.play().catch(()=>{b(!1),j({video:`invalid`}),wP.warning(`视频播放失败,请确认资源链接是否仍然有效`)})},0)}},F=async(e,t,n)=>{w(e);try{await yVe(e,t,n),wP.success(`状态已更新`),D()}catch(e){wP.error(e?.message||`更新失败`)}finally{w(null)}},I=async()=>{if(T){w(T.record.id);try{await bVe(T.record.id,T.ratio,T.resolution,T.image_size),wP.success(`已提交${T.record.genType===`video`?`视频`:`图片`}生成`),E(null),D()}catch(e){wP.error(e?.message||`生成失败`)}finally{w(null)}}},L=(0,C.useMemo)(()=>[{title:`用户`,key:`user`,width:120,render:(e,t)=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:13},children:t.username||`未知用户`}),(0,Q.jsx)(`div`,{style:{fontSize:11,color:`#94a3b8`},children:bUe(t.userId)})]})},{title:`项目`,dataIndex:`projectName`,width:120,ellipsis:!0,render:e=>(0,Q.jsx)(Z.Text,{style:{fontSize:13},children:e||`-`})},{title:`行业`,dataIndex:`industry`,width:100,ellipsis:!0,render:e=>(0,Q.jsx)(kR,{color:`cyan`,children:e||`-`})},{title:`类型`,dataIndex:`genType`,width:90,ellipsis:!0,render:e=>{let t=s7[e]||{text:e||`-`,color:`default`,icon:null};return(0,Q.jsx)(kR,{color:t.color,icon:t.icon,children:t.text})}},{title:`提示词`,key:`prompt`,ellipsis:!0,render:(e,t)=>(0,Q.jsx)(nx,{title:t.originalPrompt,placement:`topLeft`,children:(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#475569`},ellipsis:!0,children:t.originalPrompt||`-`})})},{title:`参数`,key:`params`,width:160,render:(e,t)=>t.genType===`video`?t.duration||t.aspectRatio||t.resolution?(0,Q.jsxs)(NM,{size:4,wrap:!0,children:[t.duration?(0,Q.jsxs)(kR,{children:[t.duration,`s`]}):null,t.aspectRatio?(0,Q.jsx)(kR,{children:t.aspectRatio}):null,t.resolution?(0,Q.jsx)(kR,{children:t.resolution}):null]}):(0,Q.jsx)(kR,{color:`default`,children:`待配置`}):t.imageSize||t.imageProportion||t.imagePx?(0,Q.jsxs)(NM,{size:4,wrap:!0,children:[t.imageSize?(0,Q.jsx)(kR,{children:t.imageSize}):null,t.imageProportion?(0,Q.jsx)(kR,{children:t.imageProportion}):null,t.imagePx?(0,Q.jsx)(kR,{children:t.imagePx}):null]}):(0,Q.jsx)(kR,{color:`default`,children:`待配置`})},{title:`积分`,key:`credits`,width:120,render:(e,t)=>(0,Q.jsxs)(`div`,{style:{fontSize:12},children:[t.textCreditsCost>0?(0,Q.jsxs)(`div`,{style:{color:`#f59e0b`},children:[`文字: `,t.textCreditsCost]}):null,t.creditsCost>0?(0,Q.jsxs)(`div`,{style:{color:`#6366f1`},children:[t.genType===`video`?`视频`:`图片`,`: `,t.creditsCost]}):null,t.textCreditsCost===0&&t.creditsCost===0?(0,Q.jsx)(Z.Text,{style:{color:`#94a3b8`},children:`0`}):null]})},{title:`状态`,dataIndex:`status`,width:90,render:e=>{let t=o7[e]||{color:`default`,text:e||`-`,icon:null};return(0,Q.jsx)(kR,{color:t.color,icon:t.icon,children:t.text})}},{title:`时间`,key:`time`,width:150,render:(e,t)=>(0,Q.jsxs)(`div`,{style:{fontSize:12,color:`#94a3b8`},children:[(0,Q.jsx)(`div`,{children:u7(t.createdAt)}),t.generatedAt?(0,Q.jsxs)(`div`,{style:{color:`#10b981`},children:[`生成: `,u7(t.generatedAt)]}):null]})},{title:`操作`,key:`action`,width:150,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(NM,{size:4,wrap:!0,children:[(0,Q.jsx)(cC,{size:`small`,icon:(0,Q.jsx)(NN,{}),onClick:()=>k(t),children:`详情`}),t.status===`generating`?(0,Q.jsx)(cC,{size:`small`,danger:!0,loading:S===t.id,onClick:()=>{EP.confirm({title:`确认操作`,icon:(0,Q.jsx)(FY,{}),content:`确定将此记录标记为失败?`,onOk:()=>F(t.id,`failed`)})},children:`标记失败`}):null,t.status===`failed`?(0,Q.jsx)(cC,{size:`small`,type:`primary`,danger:!0,loading:S===t.id,onClick:()=>E({record:t,ratio:t.aspectRatio||`16:9`,resolution:t.resolution||`720p`,image_size:t.imageSize||`2K`}),children:`重试生成`}):null,t.status===`prompt_optimized`?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(cC,{size:`small`,type:`primary`,loading:S===t.id,onClick:()=>E({record:t,ratio:t.aspectRatio||`16:9`,resolution:t.resolution||`720p`,image_size:t.imageSize||`2K`}),style:{background:`#6366f1`,border:`none`},children:[`生成`,t.genType===`video`?`视频`:`图片`]}),(0,Q.jsx)(cC,{size:`small`,danger:!0,loading:S===t.id,onClick:()=>{EP.confirm({title:`确认操作`,icon:(0,Q.jsx)(FY,{}),content:`确定将此记录标记为失败?`,onOk:()=>F(t.id,`failed`)})},children:`标记失败`})]}):null]})}],[k,S]),R=h?s7[h.genType||``]||{text:h.genType||`-`,color:`default`,icon:null}:null,z=h?o7[h.status]||{color:`default`,text:h.status||`-`,icon:null}:null,B=()=>{if(!h||h.genType!==`image`||h.status!==`completed`)return null;if(!h.imageUrl)return(0,Q.jsx)(g7,{text:`此图片任务暂无结果图片`,minHeight:260});if(_.image===`invalid`)return(0,Q.jsx)(g7,{text:h7(h.imageUrl,`图片`),minHeight:260});let e=l7(h.imageUrl);return(0,Q.jsxs)(`div`,{title:`点击新页面查看图片`,onClick:()=>N(h.imageUrl,`生成图片`),style:{position:`relative`,width:`100%`,minHeight:260,borderRadius:12,background:`#f8f9fc`,border:`1px solid #e2e8f0`,overflow:`hidden`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`},children:[(0,Q.jsx)(`img`,{src:e,alt:`生成图片`,onLoad:()=>j({image:`valid`}),onError:()=>j({image:`invalid`}),style:{display:_.image===`valid`?`block`:`none`,width:`100%`,maxHeight:560,objectFit:`contain`,background:`#fff`}},`${h.id}-${e}`),_.image===`checking`?(0,Q.jsx)(g7,{text:`图片加载检测中...`,minHeight:260}):null]})},V=()=>{if(!h||y||_.video===`invalid`)return null;let e=h.videoUrl?(0,Q.jsx)(cC,{type:`primary`,shape:`circle`,size:`large`,icon:(0,Q.jsx)(_0,{}),onClick:P,style:{boxShadow:`0 8px 20px rgba(15,23,42,0.25)`}}):null;if(!h.videoCoverUrl)return(0,Q.jsx)(`div`,{style:{position:`absolute`,inset:0,borderRadius:12,overflow:`hidden`,background:`#f8f9fc`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,Q.jsx)(g7,{text:`此视频无封面`,minHeight:340,action:e})});if(_.videoCover===`invalid`)return(0,Q.jsx)(g7,{text:h7(h.videoCoverUrl,`视频封面`),minHeight:340,action:e});let t=l7(h.videoCoverUrl);return(0,Q.jsxs)(`div`,{style:{position:`absolute`,inset:0,borderRadius:12,overflow:`hidden`,background:`#f8f9fc`,border:`1px solid #e2e8f0`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:[(0,Q.jsx)(`img`,{src:t,alt:`视频封面`,onLoad:()=>j({videoCover:`valid`}),onError:()=>j({videoCover:`invalid`}),style:{display:_.videoCover===`valid`?`block`:`none`,width:`100%`,height:`100%`,objectFit:`contain`,background:`#000`}},`${h.id}-cover-${t}`),_.videoCover===`checking`?(0,Q.jsx)(g7,{text:`视频封面加载检测中...`,minHeight:340,action:e}):null,_.videoCover===`valid`?(0,Q.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`rgba(15,23,42,0.18)`},children:e}):null]})},H=()=>{if(!h||h.genType!==`video`||h.status!==`completed`)return null;if(!h.videoUrl)return(0,Q.jsx)(g7,{text:`此视频任务暂无结果视频`,minHeight:340});if(_.video===`invalid`)return(0,Q.jsx)(g7,{text:h7(h.videoUrl,`视频`),minHeight:340});let e=l7(h.videoUrl);return(0,Q.jsxs)(`div`,{style:{position:`relative`,width:`100%`,height:340,borderRadius:12,background:`#000`,overflow:`hidden`,border:`1px solid #e2e8f0`},children:[(0,Q.jsx)(`video`,{ref:x,src:e,preload:`metadata`,controls:y,onLoadedMetadata:()=>j({video:`valid`}),onCanPlay:()=>j({video:`valid`}),onPlaying:()=>{b(!0),j({video:`valid`})},onPause:()=>b(!1),onEnded:()=>b(!1),onError:()=>{b(!1),j({video:`invalid`})},style:{width:`100%`,height:`100%`,objectFit:`contain`,background:`#000`,opacity:+!!y,pointerEvents:y?`auto`:`none`}},`${h.id}-${e}`),V()]})},U=(e,t)=>{let n=p7(e),r=SUe(e),i=m7(e,t),a=_.references[i]||f7(n),o=r===`image`,s=r===`video`,c=typeof e.name==`string`&&e.name?e.name:`参考素材 ${t+1}`;if(!n)return(0,Q.jsxs)(`div`,{style:{width:94},children:[(0,Q.jsx)(`div`,{style:{width:94,height:94},children:(0,Q.jsx)(g7,{text:`无链接`,compact:!0})}),(0,Q.jsx)(Z.Text,{ellipsis:!0,style:{display:`block`,marginTop:4,fontSize:11,color:`#94a3b8`},children:c})]},i);if(a===`invalid`)return(0,Q.jsxs)(`div`,{style:{width:94},children:[(0,Q.jsx)(`div`,{style:{width:94,height:94},children:(0,Q.jsx)(g7,{text:c7(n)?`本地临时素材已失效`:`素材不可访问`,compact:!0})}),(0,Q.jsx)(nx,{title:c,children:(0,Q.jsx)(Z.Text,{ellipsis:!0,style:{display:`block`,marginTop:4,fontSize:11,color:`#94a3b8`},children:c})})]},i);let l=l7(n);return(0,Q.jsxs)(`div`,{style:{width:94},children:[(0,Q.jsxs)(`div`,{role:`button`,tabIndex:0,title:`点击新页面查看素材`,onClick:()=>N(n,s?`视频素材`:o?`图片素材`:`素材`),onKeyDown:e=>{e.key===`Enter`&&N(n,s?`视频素材`:o?`图片素材`:`素材`)},style:{width:94,height:94,borderRadius:10,overflow:`hidden`,border:`1px solid #e2e8f0`,background:`#f8f9fc`,position:`relative`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`},children:[o?(0,Q.jsx)(`img`,{src:l,alt:c,onLoad:()=>M(i,`valid`),onError:()=>M(i,`invalid`),style:{display:a===`valid`?`block`:`none`,width:`100%`,height:`100%`,objectFit:`cover`}}):null,s?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`video`,{src:l,preload:`metadata`,onLoadedMetadata:()=>M(i,`valid`),onError:()=>M(i,`invalid`),style:{display:`none`}}),(0,Q.jsxs)(`div`,{style:{color:`#64748b`,fontSize:12,textAlign:`center`},children:[(0,Q.jsx)(_0,{style:{fontSize:18}}),(0,Q.jsx)(`div`,{children:`视频素材`}),(0,Q.jsx)(`div`,{style:{fontSize:10,color:`#94a3b8`,marginTop:2},children:`点击查看`})]})]}):null,!o&&!s?(0,Q.jsxs)(`div`,{style:{color:`#64748b`,fontSize:12,textAlign:`center`},children:[`文件素材`,(0,Q.jsx)(`div`,{style:{fontSize:10,color:`#94a3b8`,marginTop:2},children:`点击查看`})]}):null,a===`checking`&&o?(0,Q.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`#f8f9fc`},children:(0,Q.jsx)(dm,{style:{color:`#6366f1`}})}):null]}),(0,Q.jsx)(nx,{title:c,children:(0,Q.jsx)(Z.Text,{ellipsis:!0,style:{display:`block`,marginTop:4,fontSize:11,color:`#94a3b8`},children:c})})]},i)};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16,flexWrap:`wrap`,gap:12},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(c8,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`生成记录管理`}),(0,Q.jsxs)(kR,{color:`purple`,children:[n,` 条记录`]})]}),(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(Ob,{placeholder:`状态筛选`,allowClear:!0,style:{width:120},value:l||void 0,onChange:e=>{u(e||``),s(1)},options:[{value:`optimizing`,label:`优化中`},{value:`prompt_optimized`,label:`待生成`},{value:`generating`,label:`生成中`},{value:`completed`,label:`已完成`},{value:`failed`,label:`失败`}]}),(0,Q.jsx)(HN,{placeholder:`用户ID搜索`,prefix:(0,Q.jsx)(Cb,{style:{color:`#94a3b8`}}),style:{width:200},value:d,onChange:e=>f(e.target.value),onPressEnter:O,allowClear:!0}),(0,Q.jsx)(cC,{type:`primary`,onClick:O,style:{borderRadius:8},children:`搜索`})]})]}),(0,Q.jsx)(gR,{columns:L,dataSource:e,rowKey:`id`,loading:i,scroll:{x:1120},pagination:{current:o,pageSize:c,total:n,onChange:s,showSizeChanger:!1,showTotal:e=>`共 ${e} 条`}})]}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[h?.genType===`video`?(0,Q.jsx)(c8,{}):(0,Q.jsx)(xX,{}),(0,Q.jsx)(`span`,{children:`生成记录详情`})]}),open:!!h,onCancel:A,footer:null,width:900,destroyOnClose:!0,children:h?(0,Q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:16,marginTop:16},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,flexWrap:`wrap`},children:[(0,Q.jsxs)(`div`,{style:{flex:1,minWidth:150,padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`用户`}),(0,Q.jsx)(Z.Text,{strong:!0,children:h.username||`-`})]}),(0,Q.jsxs)(`div`,{style:{flex:1,minWidth:150,padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`项目`}),(0,Q.jsx)(Z.Text,{strong:!0,children:h.projectName||`-`})]}),(0,Q.jsxs)(`div`,{style:{flex:1,minWidth:150,padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`类型 / 状态`}),(0,Q.jsxs)(NM,{size:4,wrap:!0,children:[R?(0,Q.jsx)(kR,{color:R.color,icon:R.icon,children:R.text}):null,z?(0,Q.jsx)(kR,{color:z.color,icon:z.icon,children:z.text}):null]})]})]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:6},children:`原始提示词`}),(0,Q.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`,border:`1px solid #f0f0f5`},children:(0,Q.jsx)(Z.Text,{style:{fontSize:13,color:`#475569`,lineHeight:1.7},children:h.originalPrompt||`-`})})]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:6},children:`优化后提示词`}),(0,Q.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`rgba(99,102,241,0.02)`,border:`1px solid rgba(99,102,241,0.1)`},children:(0,Q.jsx)(Z.Text,{style:{fontSize:13,color:`#1a1a2e`,lineHeight:1.7},children:h.optimizedPrompt||`-`})})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,padding:12,borderRadius:10,background:`#f8f9fc`,flexWrap:`wrap`},children:[(0,Q.jsx)(_7,{label:`文字积分`,value:(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{color:`#f59e0b`},children:h.textCreditsCost||0}),(0,Q.jsxs)(Z.Text,{style:{fontSize:11,color:`#94a3b8`},children:[` (`,h.textTokensUsed||0,` tokens)`]})]})}),(0,Q.jsx)(_7,{label:`${h.genType===`image`?`图片`:`视频`}积分`,value:(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{color:`#6366f1`},children:h.creditsCost||0}),h.genType===`video`&&h.videoTokensUsed?(0,Q.jsxs)(Z.Text,{style:{fontSize:11,color:`#94a3b8`},children:[` (`,h.videoTokensUsed,` tokens)`]}):null,h.genType===`image`&&h.imageTokensUsed?(0,Q.jsxs)(Z.Text,{style:{fontSize:11,color:`#94a3b8`},children:[` (`,h.imageTokensUsed,` tokens)`]}):null]})}),(0,Q.jsx)(_7,{label:`总积分`,value:(h.textCreditsCost||0)+(h.creditsCost||0)})]}),h.genType===`video`?h.duration||h.aspectRatio||h.resolution?(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,padding:12,borderRadius:10,background:`#f8f9fc`,flexWrap:`wrap`},children:[(0,Q.jsx)(_7,{label:`时长`,value:h.duration?`${h.duration}秒`:`-`}),(0,Q.jsx)(_7,{label:`比例`,value:h.aspectRatio||`-`}),(0,Q.jsx)(_7,{label:`分辨率`,value:h.resolution||`-`})]}):(0,Q.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`,textAlign:`center`},children:(0,Q.jsx)(kR,{color:`default`,children:`视频参数待用户配置`})}):null,h.genType===`image`?h.imageSize||h.imageProportion||h.imagePx?(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,padding:12,borderRadius:10,background:`#f8f9fc`,flexWrap:`wrap`},children:[(0,Q.jsx)(_7,{label:`尺寸`,value:h.imagePx||`-`}),(0,Q.jsx)(_7,{label:`比例`,value:h.imageProportion||`-`}),(0,Q.jsx)(_7,{label:`分辨率`,value:h.imageSize||`-`})]}):(0,Q.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`,textAlign:`center`},children:(0,Q.jsx)(kR,{color:`default`,children:`图片参数待用户配置`})}):null,!h?.references||h.references.length===0?null:(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:6},children:`参考内容`}),(0,Q.jsx)(`div`,{style:{display:`flex`,gap:10,flexWrap:`wrap`},children:h.references.map((e,t)=>U(e,t))})]}),h.status===`completed`?(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:6},children:h.genType===`video`?`生成视频`:`生成图片`}),h.genType===`video`?H():B()]}):null,h.status===`failed`&&h.errorMessage?(0,Q.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`rgba(239,68,68,0.04)`,border:`1px solid rgba(239,68,68,0.15)`},children:(0,Q.jsxs)(Z.Text,{style:{fontSize:12,color:`#ef4444`},children:[`错误信息: `,h.errorMessage]})}):null,(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,fontSize:12,color:`#94a3b8`,flexWrap:`wrap`},children:[(0,Q.jsxs)(`span`,{children:[`创建: `,u7(h.createdAt)]}),(0,Q.jsxs)(`span`,{children:[`生成: `,u7(h.generatedAt)]})]})]}):(0,Q.jsx)(Qy,{description:`暂无详情`})}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[T&&(T.record.genType===`video`?(0,Q.jsx)(_0,{}):(0,Q.jsx)(xX,{})),T&&(T.record.genType===`video`?`生成视频`:`生成图片`)]}),open:!!T,onCancel:()=>E(null),onOk:I,okText:`提交生成`,cancelText:`取消`,confirmLoading:T?S===T.record.id:!1,width:420,children:T?(0,Q.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:16,marginTop:16},children:T.record.genType===`video`?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`时长`}),(0,Q.jsxs)(Z.Text,{strong:!0,children:[T.record.duration||5,`s`]})]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#64748b`,display:`block`,marginBottom:6},children:`画面比例`}),(0,Q.jsx)(Ob,{value:T.ratio,onChange:e=>E(t=>t?{...t,ratio:e}:null),style:{width:`100%`},options:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`].map(e=>({value:e,label:e}))})]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#64748b`,display:`block`,marginBottom:6},children:`分辨率`}),(0,Q.jsx)(Ob,{value:T.resolution,onChange:e=>E(t=>t?{...t,resolution:e}:null),style:{width:`100%`},options:[`480p`,`720p`,`1080p`].map(e=>({value:e,label:e}))})]})]}):(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`尺寸`}),(0,Q.jsx)(Z.Text,{strong:!0,children:T.record.imagePx||`-`})]}),(0,Q.jsxs)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`比例`}),(0,Q.jsx)(Z.Text,{strong:!0,children:T.record.imageProportion||`-`})]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#64748b`,display:`block`,marginBottom:6},children:`分辨率`}),(0,Q.jsx)(Ob,{value:T.image_size,onChange:e=>E(t=>t?{...t,image_size:e}:null),style:{width:`100%`},options:[`2K`,`4K`].map(e=>({value:e,label:e}))})]})]})}):null})]})},{RangePicker:wUe}=pM,v7=`http://ceshi.apiforeign.minzhong.cn`.replace(/\/api\/?$/i,``).replace(/\/$/,``),y7=20,b7=e=>e&&(e.name||e.modelName||e.id)||null,x7={image:`empty`,video:`empty`,videoCover:`empty`,references:{}},S7={pending:{color:`default`,text:`待处理`,icon:(0,Q.jsx)(lM,{})},generating:{color:`warning`,text:`生成中`,icon:(0,Q.jsx)(dm,{spin:!0})},completed:{color:`success`,text:`已完成`,icon:(0,Q.jsx)(WK,{})},failed:{color:`error`,text:`失败`,icon:(0,Q.jsx)(gq,{})}},C7={timeout:`任务超时`,queued:`已入队`,preparing:`准备中`,creating_provider_task:`创建任务中`,waiting_remote:`等待生成`,result_ready:`结果就绪`,downloading:`下载中`,done:`完成`,download_failed:`下载失败`,polling:`轮询中`,failed:`失败`},w7={image:{text:`图片`,color:`purple`,icon:(0,Q.jsx)(xX,{})},video:{text:`视频`,color:`geekblue`,icon:(0,Q.jsx)(c8,{})}},TUe=e=>/^(https?:)?\/\//i.test(e)||/^(blob|data):/i.test(e),T7=e=>!!e&&/^blob:/i.test(e.trim()),E7=e=>{if(!e)return``;let t=String(e).trim();return t?TUe(t)?t:v7?`${v7}${t.startsWith(`/`)?t:`/${t}`}`:t.startsWith(`/`)?t:`/${t}`:``},EUe=e=>e?e.length>12?`${e.slice(0,8)}...`:e:`-`,D7=e=>e?P5(e):`-`,DUe=e=>e==null||e===``,O7=e=>{if(!e||T7(e))return!1;try{let t=new URL(E7(e),window.location.origin),n=t.searchParams.get(`exp`)||t.searchParams.get(`expires`)||t.searchParams.get(`expire`)||t.searchParams.get(`expires_at`)||t.searchParams.get(`x-expires`);if(!n)return!1;let r=Number(n);if(!Number.isFinite(r))return!1;let i=r>1e10?r:r*1e3;return Date.now()>=i}catch{return!1}},k7=e=>e?T7(e)||O7(e)?`invalid`:`checking`:`empty`,A7=e=>{let t=e.url||e.mediaUrl||e.fileUrl;return typeof t==`string`&&t.trim()?t.trim():void 0},j7=e=>{let t=String(e.type||e.mediaType||e.mimeType||``).toLowerCase(),n=A7(e)?.toLowerCase()||``;return t.includes(`video`)||/\.(mp4|mov|webm|m4v)(\?|$)/i.test(n)?`video`:t.includes(`image`)||/\.(png|jpe?g|webp|gif|bmp|svg)(\?|$)/i.test(n)?`image`:t||`unknown`},M7=(e,t)=>`${t}-${A7(e)||`empty`}`,N7=(e,t=`资源`)=>T7(e)?`本地临时素材已失效`:O7(e)?`${t}链接已超时,请刷新列表或重新搜索后再查看`:`${t}加载失败,请刷新列表或重新搜索后再查看`,P7=({text:e,minHeight:t=240,compact:n=!1,action:r})=>(0,Q.jsxs)(`div`,{style:{width:`100%`,minHeight:n?void 0:t,height:n?`100%`:void 0,borderRadius:n?10:12,background:`#f8f9fc`,border:`1px dashed #cbd5e1`,color:`#64748b`,display:`flex`,alignItems:`center`,justifyContent:`center`,flexDirection:`column`,gap:n?4:10,textAlign:`center`},children:[(0,Q.jsx)(Z.Text,{style:{color:`#64748b`,fontSize:n?11:13},children:e}),r]}),F7=({label:e,value:t})=>(0,Q.jsxs)(`div`,{style:{flex:1,minWidth:120},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:e}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14},children:DUe(t)?`-`:t})]}),I7=()=>(0,mC.default)().startOf(`day`),L7=()=>(0,mC.default)().endOf(`day`),OUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(0),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(1),[c,l]=(0,C.useState)(``),[u,d]=(0,C.useState)(``),[f,p]=(0,C.useState)(``),[m,h]=(0,C.useState)(``),[g,_]=(0,C.useState)(``),[v,y]=(0,C.useState)(``),[b,x]=(0,C.useState)(``),[S,w]=(0,C.useState)(``),[T,E]=(0,C.useState)([I7(),L7()]),[D,O]=(0,C.useState)([I7(),L7()]),[k,A]=(0,C.useState)(0),[j,M]=(0,C.useState)(null),[N,P]=(0,C.useState)(x7),[F,I]=(0,C.useState)(!1),L=(0,C.useRef)(null),[R,z]=(0,C.useState)(null),B=(0,C.useCallback)(async()=>{a(!0);try{let e=await SVe({genType:u||void 0,status:c||void 0,userId:v||void 0,userName:b||void 0,engineId:S||void 0,createdStart:D?.[0]?.format?.(`YYYY-MM-DDTHH:mm:ss`),createdEnd:D?.[1]?.format?.(`YYYY-MM-DDTHH:mm:ss`),page:o,pageSize:y7});t(e.items||[]),r(e.total||0)}catch(e){wP.error(e?.message||`加载创作记录失败`)}finally{a(!1)}},[u,c,o,v,b,S,D]);(0,C.useEffect)(()=>{B()},[B,k]),(0,C.useEffect)(()=>{if(!j){P(x7);return}let e=(j.mediaReferences||[]).reduce((e,t,n)=>{let r=A7(t);return e[M7(t,n)]=k7(r),e},{});L.current&&(L.current.pause(),L.current.currentTime=0),I(!1),P({image:k7(j.imageUrl),video:k7(j.videoUrl),videoCover:k7(j.videoCoverUrl),references:e})},[j]);let V=()=>{s(1),y(m.trim()),x(g.trim()),w(f),O(T),A(e=>e+1)},H=()=>{l(``),d(``),p(``),h(``),_(``),y(``),x(``),w(``);let e=[I7(),L7()];E(e),O(e),s(1),A(e=>e+1)},U=(0,C.useCallback)(e=>{M(e)},[]),W=()=>{L.current&&L.current.pause(),I(!1),M(null)},ee=e=>{P(t=>({...t,...e}))},te=(e,t)=>{P(n=>({...n,references:{...n.references,[e]:t}}))},ne=()=>{if(j?.videoUrl){if(O7(j.videoUrl)){ee({video:`invalid`}),wP.warning(`视频链接已超时,请刷新列表或重新搜索后再查看`);return}I(!0),window.setTimeout(()=>{L.current?.play().catch(()=>{I(!1),ee({video:`invalid`}),wP.warning(`视频播放失败,请确认资源链接是否仍然有效`)})},0)}},re=(e,t=`素材`)=>{if(!e){wP.warning(`${t}链接为空,暂无法查看`);return}if(T7(e)){wP.warning(`本地临时素材已失效,暂无法查看`);return}if(O7(e)){wP.warning(`${t}链接已超时,请刷新列表或重新搜索后再查看`);return}window.open(E7(e),`_blank`,`noopener,noreferrer`)},ie=(e,t,n)=>{if(T7(e)){wP.warning(`本地临时素材已失效,暂无法查看`);return}if(O7(e)){wP.warning(`链接已超时,请刷新列表或重新搜索后再查看`);return}z({url:E7(e),type:t,title:n})},ae=()=>z(null),G=(0,C.useMemo)(()=>[{title:`用户`,key:`user`,width:150,render:(e,t)=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:13},children:t.userName||`未知用户`}),(0,Q.jsx)(`div`,{style:{fontSize:11,color:`#94a3b8`},children:EUe(t.userId)})]})},{title:`类型`,dataIndex:`genType`,width:90,render:e=>{let t=w7[e]||{text:e||`-`,color:`default`,icon:null};return(0,Q.jsx)(kR,{color:t.color,icon:t.icon,children:t.text})}},{title:`引擎`,key:`engine`,width:160,render:(e,t)=>{let n=b7(t.engineSnapshot);return(0,Q.jsx)(nx,{title:t.engineId||`未知引擎`,placement:`topLeft`,children:(0,Q.jsx)(kR,{icon:(0,Q.jsx)(R2,{}),color:`cyan`,children:n||t.engineId||`-`})})}},{title:`附件`,key:`references`,width:100,render:(e,t)=>{let n=t.mediaReferences||[];return n.length===0?(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`},children:`无`}):(0,Q.jsx)(NM,{size:2,wrap:!0,children:n.map((e,t)=>{let n=A7(e),r=j7(e),i=typeof e.name==`string`&&e.name?e.name:`附件 ${t+1}`;return n?(0,Q.jsx)(nx,{title:i,children:(0,Q.jsx)(cC,{size:`small`,type:`text`,icon:r===`video`?(0,Q.jsx)(c8,{style:{color:`#6366f1`}}):r===`audio`?(0,Q.jsx)(nU,{style:{color:`#f59e0b`}}):(0,Q.jsx)(xX,{style:{color:`#8b5cf6`}}),style:{width:28,height:28,padding:0},onClick:e=>{e.stopPropagation(),ie(n,r===`video`?`video`:`image`,i)}})},t):null})})}},{title:`结果`,key:`result`,width:90,render:(e,t)=>t.status===`completed`?t.genType===`video`&&t.videoUrl?(0,Q.jsx)(cC,{size:`small`,icon:(0,Q.jsx)(_0,{}),type:`link`,style:{padding:0},onClick:e=>{e.stopPropagation(),ie(t.videoUrl,`video`,`生成视频`)},children:`看视频`}):t.genType===`image`&&t.imageUrl?(0,Q.jsx)(cC,{size:`small`,icon:(0,Q.jsx)(xX,{}),type:`link`,style:{padding:0},onClick:e=>{e.stopPropagation(),ie(t.imageUrl,`image`,`生成图片`)},children:`看图片`}):(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`},children:`无`}):(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`},children:`-`})},{title:`提示词`,key:`prompt`,ellipsis:!0,render:(e,t)=>(0,Q.jsx)(nx,{title:t.originalPrompt,placement:`topLeft`,children:(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#475569`},ellipsis:!0,children:t.originalPrompt||`-`})})},{title:`参数`,key:`params`,width:180,render:(e,t)=>t.genType===`video`?t.duration||t.aspectRatio||t.resolution?(0,Q.jsxs)(NM,{size:4,wrap:!0,children:[t.duration?(0,Q.jsxs)(kR,{children:[t.duration,`s`]}):null,t.aspectRatio?(0,Q.jsx)(kR,{children:t.aspectRatio}):null,t.resolution?(0,Q.jsx)(kR,{children:t.resolution}):null]}):(0,Q.jsx)(kR,{color:`default`,children:`无参数`}):t.imageSize||t.imageProportion||t.imagePx?(0,Q.jsxs)(NM,{size:4,wrap:!0,children:[t.imageSize?(0,Q.jsx)(kR,{children:t.imageSize}):null,t.imageProportion?(0,Q.jsx)(kR,{children:t.imageProportion}):null,t.imagePx?(0,Q.jsx)(kR,{children:t.imagePx}):null]}):(0,Q.jsx)(kR,{color:`default`,children:`无参数`})},{title:`积分`,key:`credits`,width:130,render:(e,t)=>(0,Q.jsxs)(`div`,{style:{fontSize:12},children:[(0,Q.jsxs)(`div`,{style:{color:`#6366f1`},children:[`总: `,t.creditsCost||0]}),t.textCreditsCost>0?(0,Q.jsxs)(`div`,{style:{color:`#f59e0b`},children:[`文字: `,t.textCreditsCost]}):null]})},{title:`状态`,dataIndex:`status`,width:100,render:e=>{let t=S7[e]||{color:`default`,text:e||`-`,icon:null};return(0,Q.jsx)(kR,{color:t.color,icon:t.icon,children:t.text})}},{title:`阶段`,dataIndex:`pipelineStage`,width:120,render:e=>(0,Q.jsx)(kR,{color:`blue`,children:C7[e]||e||`-`})},{title:`时间`,key:`time`,width:170,render:(e,t)=>(0,Q.jsxs)(`div`,{style:{fontSize:12,color:`#94a3b8`},children:[(0,Q.jsx)(`div`,{children:D7(t.createdAt)}),t.generatedAt?(0,Q.jsxs)(`div`,{style:{color:`#10b981`},children:[`生成: `,D7(t.generatedAt)]}):null]})},{title:`操作`,key:`action`,width:90,fixed:`right`,render:(e,t)=>(0,Q.jsx)(cC,{size:`small`,icon:(0,Q.jsx)(NN,{}),onClick:()=>U(t),children:`详情`})}],[U]),oe=j?w7[j.genType]||{text:j.genType||`-`,color:`default`,icon:null}:null,K=j?S7[j.status]||{color:`default`,text:j.status||`-`,icon:null}:null,se=()=>{if(!j||j.genType!==`image`||j.status!==`completed`)return null;if(!j.imageUrl)return(0,Q.jsx)(P7,{text:`此图片任务暂无结果图片`,minHeight:260});if(N.image===`invalid`)return(0,Q.jsx)(P7,{text:N7(j.imageUrl,`图片`),minHeight:260});let e=E7(j.imageUrl);return(0,Q.jsxs)(`div`,{style:{position:`relative`,width:`100%`,minHeight:260,borderRadius:12,background:`#f8f9fc`,border:`1px solid #e2e8f0`,overflow:`hidden`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:[(0,Q.jsx)(`img`,{src:e,alt:`生成图片`,onLoad:()=>ee({image:`valid`}),onError:()=>ee({image:`invalid`}),style:{display:N.image===`valid`?`block`:`none`,width:`100%`,maxHeight:560,objectFit:`contain`,background:`#fff`}},`${j.id}-${e}`),N.image===`checking`?(0,Q.jsx)(P7,{text:`图片加载检测中...`,minHeight:260}):null]})},ce=()=>{if(!j||F||N.video===`invalid`)return null;let e=j.videoUrl?(0,Q.jsx)(cC,{type:`primary`,shape:`circle`,size:`large`,icon:(0,Q.jsx)(_0,{}),onClick:ne,style:{boxShadow:`0 8px 20px rgba(15,23,42,0.25)`}}):null;if(!j.videoCoverUrl)return(0,Q.jsx)(`div`,{style:{position:`absolute`,inset:0,borderRadius:12,overflow:`hidden`,background:`#f8f9fc`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,Q.jsx)(P7,{text:`此视频无封面`,minHeight:340,action:e})});if(N.videoCover===`invalid`)return(0,Q.jsx)(P7,{text:N7(j.videoCoverUrl,`视频封面`),minHeight:340,action:e});let t=E7(j.videoCoverUrl);return(0,Q.jsxs)(`div`,{style:{position:`absolute`,inset:0,borderRadius:12,overflow:`hidden`,background:`#f8f9fc`,border:`1px solid #e2e8f0`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:[(0,Q.jsx)(`img`,{src:t,alt:`视频封面`,onLoad:()=>ee({videoCover:`valid`}),onError:()=>ee({videoCover:`invalid`}),style:{display:N.videoCover===`valid`?`block`:`none`,width:`100%`,height:`100%`,objectFit:`contain`,background:`#000`}},`${j.id}-cover-${t}`),N.videoCover===`checking`?(0,Q.jsx)(P7,{text:`视频封面加载检测中...`,minHeight:340,action:e}):null,N.videoCover===`valid`?(0,Q.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`rgba(15,23,42,0.18)`},children:e}):null]})},le=()=>{if(!j||j.genType!==`video`||j.status!==`completed`)return null;if(!j.videoUrl)return(0,Q.jsx)(P7,{text:`此视频任务暂无结果视频`,minHeight:340});if(N.video===`invalid`)return(0,Q.jsx)(P7,{text:N7(j.videoUrl,`视频`),minHeight:340});let e=E7(j.videoUrl);return(0,Q.jsxs)(`div`,{style:{position:`relative`,width:`100%`,height:340,borderRadius:12,background:`#000`,overflow:`hidden`,border:`1px solid #e2e8f0`},children:[(0,Q.jsx)(`video`,{ref:L,src:e,preload:`metadata`,controls:F,onLoadedMetadata:()=>ee({video:`valid`}),onCanPlay:()=>ee({video:`valid`}),onPlaying:()=>{I(!0),ee({video:`valid`})},onPause:()=>I(!1),onEnded:()=>I(!1),onError:()=>{I(!1),ee({video:`invalid`})},style:{width:`100%`,height:`100%`,objectFit:`contain`,background:`#000`,opacity:+!!F,pointerEvents:F?`auto`:`none`}},`${j.id}-${e}`),ce()]})},ue=(e,t)=>{let n=A7(e),r=j7(e),i=M7(e,t),a=N.references[i]||k7(n),o=r===`image`,s=r===`video`,c=typeof e.name==`string`&&e.name?e.name:`参考素材 ${t+1}`;if(!n)return(0,Q.jsxs)(`div`,{style:{width:94},children:[(0,Q.jsx)(`div`,{style:{width:94,height:94},children:(0,Q.jsx)(P7,{text:`无链接`,compact:!0})}),(0,Q.jsx)(Z.Text,{ellipsis:!0,style:{display:`block`,marginTop:4,fontSize:11,color:`#94a3b8`},children:c})]},i);if(a===`invalid`)return(0,Q.jsxs)(`div`,{style:{width:94},children:[(0,Q.jsx)(`div`,{style:{width:94,height:94},children:(0,Q.jsx)(P7,{text:T7(n)?`本地临时素材已失效`:`素材不可访问`,compact:!0})}),(0,Q.jsx)(nx,{title:c,children:(0,Q.jsx)(Z.Text,{ellipsis:!0,style:{display:`block`,marginTop:4,fontSize:11,color:`#94a3b8`},children:c})})]},i);let l=E7(n);return(0,Q.jsxs)(`div`,{style:{width:94},children:[(0,Q.jsxs)(`div`,{role:`button`,tabIndex:0,title:`点击新页面查看素材`,onClick:()=>re(n,s?`视频素材`:o?`图片素材`:`素材`),onKeyDown:e=>{e.key===`Enter`&&re(n,s?`视频素材`:o?`图片素材`:`素材`)},style:{width:94,height:94,borderRadius:10,overflow:`hidden`,border:`1px solid #e2e8f0`,background:`#f8f9fc`,position:`relative`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`},children:[o?(0,Q.jsx)(`img`,{src:l,alt:c,onLoad:()=>te(i,`valid`),onError:()=>te(i,`invalid`),style:{display:a===`valid`?`block`:`none`,width:`100%`,height:`100%`,objectFit:`cover`}}):null,s?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`video`,{src:l,preload:`metadata`,onLoadedMetadata:()=>te(i,`valid`),onError:()=>te(i,`invalid`),style:{display:`none`}}),(0,Q.jsxs)(`div`,{style:{color:`#64748b`,fontSize:12,textAlign:`center`},children:[(0,Q.jsx)(_0,{style:{fontSize:18}}),(0,Q.jsx)(`div`,{children:`视频素材`}),(0,Q.jsx)(`div`,{style:{fontSize:10,color:`#94a3b8`,marginTop:2},children:`点击查看`})]})]}):null,!o&&!s?(0,Q.jsxs)(`div`,{style:{color:`#64748b`,fontSize:12,textAlign:`center`},children:[`文件素材`,(0,Q.jsx)(`div`,{style:{fontSize:10,color:`#94a3b8`,marginTop:2},children:`点击查看`})]}):null,a===`checking`&&o?(0,Q.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`#f8f9fc`},children:(0,Q.jsx)(dm,{style:{color:`#6366f1`}})}):null]}),(0,Q.jsx)(nx,{title:c,children:(0,Q.jsx)(Z.Text,{ellipsis:!0,style:{display:`block`,marginTop:4,fontSize:11,color:`#94a3b8`},children:c})})]},i)};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16,flexWrap:`wrap`,gap:12},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(_0,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`创作记录管理`}),(0,Q.jsxs)(kR,{color:`purple`,children:[n,` 条记录`]})]}),(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(Ob,{allowClear:!0,placeholder:`状态筛选`,value:c||void 0,style:{width:140},onChange:e=>{l(e||``),s(1)},options:[{value:`generating`,label:`生成中`},{value:`completed`,label:`已完成`},{value:`failed`,label:`失败`}]}),(0,Q.jsx)(Ob,{allowClear:!0,placeholder:`类型筛选`,value:u||void 0,style:{width:120},onChange:e=>{d(e||``),s(1)},options:[{value:`image`,label:`图片`},{value:`video`,label:`视频`}]}),(0,Q.jsx)(Ob,{allowClear:!0,showSearch:!0,placeholder:`引擎筛选`,value:f||void 0,style:{width:180},onChange:e=>{p(e||``),s(1),w(e||``)},optionFilterProp:`label`,options:Array.from(new Map(e.filter(e=>e.engineId).map(e=>[e.engineId,{value:e.engineId,label:b7(e.engineSnapshot)||e.engineId}])).values())}),(0,Q.jsx)(wUe,{value:T,onChange:e=>{e&&e[0]&&e[1]?E([e[0].startOf(`day`),e[1].endOf(`day`)]):E(e)},placeholder:[`开始日期`,`结束日期`]}),(0,Q.jsx)(HN,{placeholder:`用户ID搜索`,prefix:(0,Q.jsx)(Cb,{style:{color:`#94a3b8`}}),style:{width:150},value:m,onChange:e=>h(e.target.value),onPressEnter:V,allowClear:!0}),(0,Q.jsx)(HN,{placeholder:`用户名搜索`,prefix:(0,Q.jsx)(Cb,{style:{color:`#94a3b8`}}),style:{width:150},value:g,onChange:e=>_(e.target.value),onPressEnter:V,allowClear:!0}),(0,Q.jsx)(cC,{type:`primary`,onClick:V,style:{borderRadius:8},children:`搜索`}),(0,Q.jsx)(cC,{onClick:H,style:{borderRadius:8},children:`重置`})]})]}),(0,Q.jsx)(gR,{rowKey:`id`,loading:i,columns:G,dataSource:e,scroll:{x:1650},pagination:{current:o,pageSize:y7,total:n,showSizeChanger:!1,showTotal:e=>`共 ${e} 条`,onChange:e=>s(e)}})]}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[j?.genType===`video`?(0,Q.jsx)(c8,{}):(0,Q.jsx)(xX,{}),(0,Q.jsx)(`span`,{children:`创作记录详情`})]}),open:!!j,onCancel:W,footer:null,width:900,destroyOnClose:!0,children:j?(0,Q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:16,marginTop:12},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12,flexWrap:`wrap`},children:[oe?(0,Q.jsx)(kR,{color:oe.color,icon:oe.icon,children:oe.text}):null,K?(0,Q.jsx)(kR,{color:K.color,icon:K.icon,children:K.text}):null,j.pipelineStage?(0,Q.jsx)(kR,{color:`blue`,children:C7[j.pipelineStage]||j.pipelineStage}):null]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,padding:12,borderRadius:10,background:`#f8f9fc`,flexWrap:`wrap`},children:[(0,Q.jsx)(F7,{label:`用户名称`,value:j.userName||`未知用户`}),(0,Q.jsx)(F7,{label:`用户ID`,value:j.userId||`-`}),(0,Q.jsx)(F7,{label:`任务ID`,value:j.id})]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:6},children:`原始提示词`}),(0,Q.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`,lineHeight:1.6},children:j.originalPrompt||`-`})]}),j.genType===`video`?(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,padding:12,borderRadius:10,background:`#f8f9fc`,flexWrap:`wrap`},children:[(0,Q.jsx)(F7,{label:`时长`,value:j.duration?`${j.duration}秒`:`-`}),(0,Q.jsx)(F7,{label:`画面比例`,value:j.aspectRatio||`-`}),(0,Q.jsx)(F7,{label:`分辨率`,value:j.resolution||`-`})]}):(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,padding:12,borderRadius:10,background:`#f8f9fc`,flexWrap:`wrap`},children:[(0,Q.jsx)(F7,{label:`图片档位`,value:j.imageSize||`-`}),(0,Q.jsx)(F7,{label:`图片比例`,value:j.imageProportion||`-`}),(0,Q.jsx)(F7,{label:`像素尺寸`,value:j.imagePx||`-`})]}),j.engineSnapshot?(0,Q.jsxs)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:8},children:`引擎快照`}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,flexWrap:`wrap`},children:[(0,Q.jsx)(F7,{label:`引擎名称`,value:j.engineSnapshot.name||`-`}),(0,Q.jsx)(F7,{label:`服务商`,value:j.engineSnapshot.provider||`-`}),(0,Q.jsx)(F7,{label:`模型`,value:j.engineSnapshot.modelName||`-`}),(0,Q.jsx)(F7,{label:`引擎ID`,value:j.engineSnapshot.id||j.engineId||`-`})]})]}):null,(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,padding:12,borderRadius:10,background:`#f8f9fc`,flexWrap:`wrap`},children:[(0,Q.jsx)(F7,{label:`总积分`,value:(0,Q.jsx)(Z.Text,{strong:!0,style:{color:`#6366f1`},children:j.creditsCost||0})}),(0,Q.jsx)(F7,{label:`文字积分`,value:`${j.textCreditsCost||0} (${j.textTokensUsed||0} tokens)`}),(0,Q.jsx)(F7,{label:`图片 tokens`,value:j.imageTokensUsed??0}),(0,Q.jsx)(F7,{label:`视频 tokens`,value:j.videoTokensUsed??0})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,padding:12,borderRadius:10,background:`#f8f9fc`,flexWrap:`wrap`},children:[(0,Q.jsx)(F7,{label:`第三方任务ID`,value:j.providerTaskId||j.seedanceTaskId||`-`}),(0,Q.jsx)(F7,{label:`轮询次数`,value:j.pollCount??0}),(0,Q.jsx)(F7,{label:`重试次数`,value:j.retryCount??0})]}),!j?.mediaReferences||j.mediaReferences.length===0?null:(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:6},children:`参考内容`}),(0,Q.jsx)(`div`,{style:{display:`flex`,gap:10,flexWrap:`wrap`},children:j.mediaReferences.map((e,t)=>ue(e,t))})]}),j.mediaReferences&&j.mediaReferences.length>0?(0,Q.jsxs)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:8},children:`附件快速查看(点击新窗口打开)`}),(0,Q.jsx)(NM,{size:8,wrap:!0,children:j.mediaReferences.map((e,t)=>{let n=A7(e),r=j7(e),i=typeof e.name==`string`&&e.name?e.name:`附件 ${t+1}`;return n?(0,Q.jsx)(cC,{size:`small`,icon:r===`video`?(0,Q.jsx)(_0,{}):(0,Q.jsx)(T$,{}),onClick:()=>ie(n,r===`video`?`video`:`image`,i),children:i},t):null})})]}):null,j.status===`completed`?(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:6},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`},children:j.genType===`video`?`生成视频`:`生成图片`}),j.genType===`video`&&j.videoUrl?(0,Q.jsx)(cC,{size:`small`,type:`link`,icon:(0,Q.jsx)(_0,{}),onClick:()=>ie(j.videoUrl,`video`,`生成视频`),style:{padding:0},children:`弹窗播放`}):null,j.genType===`image`&&j.imageUrl?(0,Q.jsx)(cC,{size:`small`,type:`link`,icon:(0,Q.jsx)(xX,{}),onClick:()=>ie(j.imageUrl,`image`,`生成图片`),style:{padding:0},children:`弹窗查看`}):null]}),j.genType===`video`?le():se()]}):null,j.status===`failed`&&j.errorMessage?(0,Q.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`rgba(239,68,68,0.04)`,border:`1px solid rgba(239,68,68,0.15)`},children:(0,Q.jsxs)(Z.Text,{style:{fontSize:12,color:`#ef4444`},children:[`错误信息: `,j.errorMessage]})}):null,(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,fontSize:12,color:`#94a3b8`,flexWrap:`wrap`},children:[(0,Q.jsxs)(`span`,{children:[`创建: `,D7(j.createdAt)]}),(0,Q.jsxs)(`span`,{children:[`生成: `,D7(j.generatedAt)]})]})]}):(0,Q.jsx)(Qy,{description:`暂无详情`})}),(0,Q.jsx)(EP,{title:R?.title||`资源预览`,open:!!R,onCancel:ae,footer:null,width:R?.type===`video`?800:600,destroyOnHidden:!0,children:R?R.type===`video`?(0,Q.jsx)(`video`,{src:R.url,controls:!0,autoPlay:!0,style:{width:`100%`,maxHeight:600,background:`#000`,borderRadius:8}},R.url):(0,Q.jsx)(`img`,{src:R.url,alt:R.title,style:{width:`100%`,maxHeight:600,objectFit:`contain`,borderRadius:8}}):null})]})},R7=20,kUe=[{value:`pending`,label:`已创建`},{value:`waiting_user`,label:`等待用户操作`},{value:`processing`,label:`处理中`},{value:`completed`,label:`已完成`},{value:`failed`,label:`失败`},{value:`cancelled`,label:`已取消`}],AUe={pending:{color:`default`,text:`已创建`},waiting_user:{color:`processing`,text:`等待用户操作`},processing:{color:`warning`,text:`处理中`},completed:{color:`success`,text:`已完成`},failed:{color:`error`,text:`失败`},cancelled:{color:`default`,text:`已取消`}},jUe={material_input:`素材输入`,image_prompt_optimize:`图片 AI 提词`,image_generate:`图片生成`,video_prompt_optimize:`视频 AI 提词`,video_generate:`视频生成`},z7=e=>e?P5(e):`-`,B7=e=>e?e.length>16?`${e.slice(0,10)}...`:e:`-`,MUe=({status:e})=>{if(!e)return(0,Q.jsx)(kR,{children:`-`});let t=AUe[e]||{color:`blue`,text:e};return(0,Q.jsx)(kR,{color:t.color,children:t.text})},NUe=()=>{let e=Ze(),[t,n]=(0,C.useState)([]),[r,i]=(0,C.useState)(0),[a,o]=(0,C.useState)(!1),[s,c]=(0,C.useState)(1),[l,u]=(0,C.useState)(``),[d,f]=(0,C.useState)(``),[p,m]=(0,C.useState)(``),[h,g]=(0,C.useState)(``),[_,v]=(0,C.useState)(null),[y,b]=(0,C.useState)(``),[x,S]=(0,C.useState)(``),[w,T]=(0,C.useState)(``),[E,D]=(0,C.useState)(null),[O,k]=(0,C.useState)(0),A=(0,C.useCallback)(async()=>{o(!0);try{let e=await CVe({status:l||void 0,keyword:y||void 0,userId:x||void 0,userName:w||void 0,createdStart:E?.[0]?.toISOString?.(),createdEnd:E?.[1]?.toISOString?.(),page:s,pageSize:R7});n(e.items||[]),i(e.total||0)}catch(e){wP.error(e?.message||`加载爆款开头复刻任务失败`)}finally{o(!1)}},[s,E,y,x,w,l]);(0,C.useEffect)(()=>{A()},[A,O]);let j=()=>{b(d.trim()),S(p.trim()),T(h.trim()),D(_),c(1)};return(0,Q.jsx)(`div`,{style:{padding:24},children:(0,Q.jsx)(RA,{children:(0,Q.jsxs)(NM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(NM,{align:`center`,style:{justifyContent:`space-between`,width:`100%`},children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Title,{level:3,style:{marginBottom:4},children:`爆款开头复刻`}),(0,Q.jsx)(Z.Text,{type:`secondary`,children:`只读排查页面:查看任务列表、素材、步骤详情和生成结果。`})]}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(HP,{}),onClick:()=>k(e=>e+1),children:`刷新`})]}),(0,Q.jsxs)(NM,{wrap:!0,children:[(0,Q.jsx)(Ob,{allowClear:!0,placeholder:`任务状态`,style:{width:160},value:l||void 0,onChange:e=>{u(e||``),c(1)},options:kUe}),(0,Q.jsx)(HN,{allowClear:!0,prefix:(0,Q.jsx)(Cb,{}),placeholder:`关键词:标题/项目名/核心点`,style:{width:260},value:d,onChange:e=>f(e.target.value),onPressEnter:j}),(0,Q.jsx)(HN,{allowClear:!0,placeholder:`用户ID(管理员)`,style:{width:190},value:p,onChange:e=>m(e.target.value),onPressEnter:j}),(0,Q.jsx)(HN,{allowClear:!0,placeholder:`用户名(管理员)`,style:{width:230},value:h,onChange:e=>g(e.target.value),onPressEnter:j}),(0,Q.jsx)(pM.RangePicker,{showTime:!0,value:_,onChange:v,placeholder:[`创建开始`,`创建结束`]}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(Cb,{}),onClick:j,children:`搜索`}),(0,Q.jsx)(cC,{onClick:()=>{u(``),f(``),m(``),g(``),v(null),b(``),S(``),T(``),D(null),c(1),k(e=>e+1)},children:`重置`})]}),(0,Q.jsx)(gR,{rowKey:`id`,loading:a,dataSource:t,pagination:{current:s,pageSize:R7,total:r,showSizeChanger:!1,showTotal:e=>`共 ${e} 条`,onChange:c},scroll:{x:1380},columns:[{title:`项目ID`,dataIndex:`id`,width:150,render:e=>(0,Q.jsx)(nx,{title:e,children:B7(e)})},{title:`用户`,width:180,render:(e,t)=>(0,Q.jsxs)(NM,{direction:`vertical`,size:0,children:[(0,Q.jsx)(Z.Text,{children:t.userName||`-`}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:B7(t.userId)})]})},{title:`项目信息`,width:260,render:(e,t)=>(0,Q.jsxs)(NM,{direction:`vertical`,size:2,children:[(0,Q.jsx)(Z.Text,{strong:!0,children:t.title||t.targetProjectName||`-`}),(0,Q.jsxs)(Z.Text,{type:`secondary`,ellipsis:!0,style:{maxWidth:240},children:[`素材:`,t.sourceProjectName||`-`]}),(0,Q.jsxs)(Z.Text,{type:`secondary`,ellipsis:!0,style:{maxWidth:240},children:[`核心:`,t.coreContentPoint||`-`]})]})},{title:`状态`,dataIndex:`status`,width:130,render:e=>(0,Q.jsx)(MUe,{status:e})},{title:`当前步骤`,dataIndex:`currentStepCode`,width:140,render:e=>jUe[e]||e||`-`},{title:`图片结果`,dataIndex:`finalImageUrl`,width:90,render:e=>e?(0,Q.jsx)(kR,{color:`success`,children:`有`}):(0,Q.jsx)(kR,{children:`无`})},{title:`视频结果`,dataIndex:`finalVideoUrl`,width:90,render:e=>e?(0,Q.jsx)(kR,{color:`success`,children:`有`}):(0,Q.jsx)(kR,{children:`无`})},{title:`错误信息`,dataIndex:`errorMessage`,width:220,ellipsis:!0,render:e=>e||`-`},{title:`创建时间`,dataIndex:`createdAt`,width:170,render:z7},{title:`更新时间`,dataIndex:`updatedAt`,width:170,render:z7},{title:`操作`,fixed:`right`,width:110,render:(t,n)=>(0,Q.jsx)(cC,{type:`link`,icon:(0,Q.jsx)(NN,{}),onClick:()=>e(`/hot-opening-replications/${n.id}`),children:`详情`})}]})]})})})},V7=({value:e,maxHeight:t=420})=>e==null||e===``?(0,Q.jsx)(Qy,{image:Qy.PRESENTED_IMAGE_SIMPLE,description:`暂无 JSON 数据`}):(0,Q.jsx)(`pre`,{style:{margin:0,padding:12,maxHeight:t,overflow:`auto`,background:`#0f172a`,color:`#e2e8f0`,borderRadius:8,fontSize:12,lineHeight:1.6},children:JSON.stringify(e,null,2)}),PUe=({input:e,output:t,raw:n,inputLabel:r=`查看 input_json`,outputLabel:i=`查看 output_json`,rawLabel:a=`查看原始 JSON`})=>{let o=[];return e!==void 0&&o.push({key:`input`,label:r,children:(0,Q.jsx)(V7,{value:e})}),t!==void 0&&o.push({key:`output`,label:i,children:(0,Q.jsx)(V7,{value:t})}),n!==void 0&&o.push({key:`raw`,label:a,children:(0,Q.jsx)(V7,{value:n})}),o.length?(0,Q.jsx)(Mh,{size:`small`,style:{marginTop:12},items:o}):null},FUe=`http://ceshi.apiforeign.minzhong.cn`.replace(/\/api\/?$/i,``).replace(/\/$/,``);function IUe(e){if(!e)return``;let t=String(e).trim();return t?/^(https?:)?\/\//i.test(t)||/^(blob|data):/i.test(t)?t:`${FUe}${t.startsWith(`/`)?t:`/${t}`}`:``}var H7=({url:e,type:t,height:n=260,emptyDescription:r=`暂无资源`,errorDescription:i=`资源加载失败,可能文件不存在、签名过期或访问权限受限。`})=>{let a=(0,C.useMemo)(()=>IUe(e),[e]),[o,s]=(0,C.useState)(!1);(0,C.useEffect)(()=>{s(!1)},[a]);let c=a?(0,Q.jsxs)(NM,{wrap:!0,style:{marginTop:8},children:[(0,Q.jsx)(cC,{size:`small`,icon:(0,Q.jsx)(iz,{}),onClick:async()=>{if(a)try{await navigator.clipboard.writeText(a),wP.success(`资源地址已复制`)}catch{wP.error(`复制失败,请手动复制`)}},children:`复制地址`}),(0,Q.jsx)(cC,{size:`small`,icon:(0,Q.jsx)(T$,{}),onClick:()=>window.open(a,`_blank`,`noopener,noreferrer`),children:`新窗口打开`}),(0,Q.jsx)(Z.Text,{copyable:{text:a},type:`secondary`,style:{maxWidth:460},ellipsis:!0,children:a})]}):null;return a?(0,Q.jsxs)(`div`,{children:[o?(0,Q.jsx)(cf,{type:`warning`,showIcon:!0,message:`资源预览失败`,description:i,style:{marginBottom:8}}):null,t===`image`?(0,Q.jsx)(ON,{src:a,onError:()=>s(!0),style:{width:`100%`,maxHeight:n,objectFit:`contain`,borderRadius:12,background:`#f8fafc`,border:`1px solid #f1f5f9`},fallback:``,preview:!o}):(0,Q.jsx)(`video`,{src:a,controls:!0,preload:`metadata`,onError:()=>s(!0),style:{width:`100%`,maxHeight:n,borderRadius:12,background:`#0f172a`,border:`1px solid #f1f5f9`}}),c]}):(0,Q.jsx)(`div`,{children:(0,Q.jsx)(`div`,{style:{height:n,borderRadius:12,border:`1px dashed #cbd5e1`,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`#f8fafc`},children:(0,Q.jsx)(Qy,{image:Qy.PRESENTED_IMAGE_SIMPLE,description:r})})})},U7={pending:{text:`待处理`,color:`default`},waiting_user:{text:`等待用户操作`,color:`processing`},processing:{text:`处理中`,color:`warning`},completed:{text:`已完成`,color:`success`},failed:{text:`失败`,color:`error`},cancelled:{text:`已取消`,color:`default`},canceled:{text:`已取消`,color:`default`},timeout:{text:`已超时`,color:`error`},queued:{text:`已入队`,color:`processing`},preparing:{text:`准备中`,color:`processing`},creating_provider_task:{text:`创建远端任务`,color:`processing`},waiting_remote:{text:`等待远端结果`,color:`processing`},polling:{text:`轮询远端结果`,color:`processing`},result_ready:{text:`结果已就绪`,color:`success`},downloading:{text:`下载中`,color:`processing`},done:{text:`已完成`,color:`success`},download_failed:{text:`下载失败`,color:`error`},retry_waiting:{text:`等待重试`,color:`orange`},pending_analysis:{text:`等待分析`,color:`default`},analyzing:{text:`分析中`,color:`processing`},analysis_completed:{text:`分析完成`,color:`success`},analysis_failed:{text:`分析失败`,color:`error`},splitting:{text:`拆镜中`,color:`warning`},split_completed:{text:`拆镜完成`,color:`success`},partial_failed:{text:`部分失败`,color:`orange`},none:{text:`未拆镜`,color:`default`},not_required:{text:`无需处理`,color:`default`},not_started:{text:`未开始`,color:`default`},project_created:{text:`已创建项目`,color:`processing`},true:{text:`是`,color:`success`},false:{text:`否`,color:`default`}},W7={material_input:`素材输入`,image_prompt_optimize:`图片 AI 提词`,image_generate:`图片生成`,video_prompt_optimize:`视频 AI 提词`,video_generate:`视频生成`},G7={hot_opening_replicate:`爆款开头复刻`,shot_replicate:`拆镜复刻`},K7={ai_suggestion:{text:`AI 建议`,color:`purple`},custom:{text:`自定义`,color:`cyan`},original:{text:`原视频`,color:`blue`}};function q7(e){return e?G7[e]||e:`-`}function J7(e){return e?W7[e]||e:`-`}function LUe(e){return e?U7[e]?.text||W7[e]||G7[e]||K7[e]?.text||e:`-`}function RUe(e){return e?U7[e]?.color||K7[e]?.color||`blue`:`default`}var Y7=({status:e,tooltipRaw:t=!0})=>{if(e==null||e===``)return(0,Q.jsx)(kR,{children:`-`});let n=String(e),r=LUe(n),i=(0,Q.jsx)(kR,{color:RUe(n),children:r});return!t||r===n?i:(0,Q.jsx)(nx,{title:n,children:i})};function X7(e){return!!e&&typeof e==`object`&&!Array.isArray(e)}function Z7(e,...t){for(let n of t){let t=e[n];if(t!=null&&String(t).trim()!==``)return String(t)}return``}function Q7(e,t,...n){for(let t of n){let n=e[t];if(n===!0||n===!1)return n;if(n===`true`)return!0;if(n===`false`)return!1}return t}function zUe(e,...t){for(let n of t){let t=e[n];if(typeof t==`number`&&Number.isFinite(t)&&t>0)return t;if(typeof t==`string`&&t.trim()){let e=Number(t);if(Number.isFinite(e)&&e>0)return e}}}function $7(e){if(!X7(e))return null;let t=Z7(e,`key`);return t?{key:t,label:Z7(e,`label`)||t,type:Z7(e,`type`)||void 0,enabled:Q7(e,!0,`enabled`),editable:Q7(e,!0,`editable`),maxLength:zUe(e,`maxLength`,`max_length`)}:null}function e9(e){if(!X7(e))return null;let t=e.data;return X7(t)?t:Array.isArray(e.sections)?e:null}function BUe(e){return!!e9(e)}function VUe(e){let t=e9(e);return(Array.isArray(t?.sections)?t.sections:[]).map(e=>{let t=$7(e);if(!t||!X7(e))return null;let n=Array.isArray(e.children)?e.children.map($7).filter(Boolean):[],r=Array.isArray(e.itemFields)?e.itemFields.map($7).filter(Boolean):Array.isArray(e.item_fields)?e.item_fields.map($7).filter(Boolean):[];return{...t,contentKey:Z7(e,`contentKey`,`content_key`)||void 0,children:n,itemFields:r}}).filter(e=>!!e&&e.enabled)}function HUe(e){return X7(e)?Object.entries(e).filter(([e])=>![`schemaVersion`,`schemaUsage`,`schema_version`,`schema_usage`].includes(e)).map(([e,t])=>Array.isArray(t)&&t.every(X7)?{key:e,label:e,type:`flow`,enabled:!0,editable:!1,itemFields:Array.from(new Set(t.flatMap(e=>Object.keys(e)))).filter(e=>e!==`时间段`).map(e=>({key:e,label:e,enabled:!0,editable:!1})),children:[]}:X7(t)?{key:e,label:e,type:`object`,enabled:!0,editable:!1,children:Object.keys(t).map(e=>({key:e,label:e,enabled:!0,editable:!1})),itemFields:[]}:{key:e,label:e,type:`text`,enabled:!0,editable:!1,children:[],itemFields:[]}):[]}var t9=e=>!!e&&typeof e==`object`&&!Array.isArray(e),n9=e=>typeof e==`string`&&e.length>80,r9=e=>e==null||e===``?(0,Q.jsx)(Z.Text,{type:`secondary`,children:`-`}):typeof e==`boolean`?e?`是`:`否`:typeof e==`number`?e:typeof e==`string`?(0,Q.jsx)(Z.Paragraph,{style:{marginBottom:0,whiteSpace:`pre-wrap`},children:e}):(0,Q.jsx)(V7,{value:e,maxHeight:220}),i9=e=>e?(0,Q.jsx)(kR,{color:`processing`,children:`可编辑`}):(0,Q.jsx)(kR,{color:`default`,children:`只读`}),a9=(e,t)=>e[t],UUe=(e,t)=>{let n=a9(e,t.key);if(!t9(n))return(0,Q.jsx)(V7,{value:n??{},maxHeight:220});let r=t.children.filter(e=>e.enabled);return r.length?(0,Q.jsx)(_M,{size:`small`,column:2,bordered:!0,children:r.map(e=>(0,Q.jsx)(_M.Item,{label:(0,Q.jsxs)(NM,{size:4,children:[e.label,i9(e.editable)]}),span:n9(n[e.key])||t9(n[e.key])||Array.isArray(n[e.key])?2:1,children:r9(n[e.key])},e.key))}):(0,Q.jsx)(V7,{value:n,maxHeight:220})},WUe=(e,t)=>{let n=e.itemFields.filter(e=>e.enabled);return n.length?[{key:`时间段`,label:`时间段`,enabled:!0,editable:!1},...n]:Array.from(new Set(t.flatMap(e=>Object.keys(e)))).map(e=>({key:e,label:e,enabled:!0,editable:!1}))},GUe=(e,t)=>{let n=a9(e,t.key);if(!Array.isArray(n)||!n.every(t9))return(0,Q.jsx)(V7,{value:n??[],maxHeight:260});let r=n,i=WUe(t,r);return(0,Q.jsx)(gR,{size:`small`,rowKey:(e,n)=>`${t.key}-${n}`,columns:i.map(e=>({title:(0,Q.jsxs)(NM,{size:4,children:[e.label,i9(e.editable)]}),dataIndex:e.key,key:e.key,width:n9(r.find(t=>t[e.key])?.[e.key])?320:160,render:e=>r9(e)})),dataSource:r,pagination:!1,scroll:{x:Math.max(900,i.length*180)},tableLayout:`fixed`})},KUe=(e,t)=>r9(a9(e,t.key)),qUe=({schema:e,finalPrompt:t,schemaConfigSnapshot:n,schemaConfigSource:r,schemaConfigVersion:i,schemaConfigIsFallback:a})=>{let o=!!e&&Object.keys(e).length>0;if(!o&&!t)return(0,Q.jsx)(Qy,{description:`暂无视频提词 schema`});let s=o?e:{},c=BUe(n),l=(c?VUe(n):HUe(s)).filter(e=>e.key in s).map(e=>({key:e.key,label:(0,Q.jsxs)(NM,{size:8,wrap:!0,children:[(0,Q.jsx)(`span`,{children:e.label}),i9(e.editable),c?null:(0,Q.jsx)(kR,{color:`warning`,children:`管理后台兜底展示`})]}),children:e.type===`object`?UUe(s,e):e.type===`flow`?GUe(s,e):KUe(s,e)}));return(0,Q.jsxs)(NM,{direction:`vertical`,size:12,style:{width:`100%`},children:[(0,Q.jsx)(RA,{size:`small`,title:`Schema 配置来源`,children:(0,Q.jsxs)(_M,{size:`small`,column:3,bordered:!0,children:[(0,Q.jsx)(_M.Item,{label:`来源`,children:r||n?.source||(c?`-`:`viewer_fallback`)}),(0,Q.jsx)(_M.Item,{label:`版本`,children:i||n?.version||`-`}),(0,Q.jsx)(_M.Item,{label:`历史兜底`,children:a||!c?(0,Q.jsx)(kR,{color:`warning`,children:`是`}):(0,Q.jsx)(kR,{color:`success`,children:`否`})})]})}),t?(0,Q.jsx)(RA,{size:`small`,title:`最终视频提示词`,children:(0,Q.jsx)(Z.Paragraph,{style:{whiteSpace:`pre-wrap`,marginBottom:0},children:t})}):null,l.length?(0,Q.jsx)(Mh,{size:`small`,items:l}):o?(0,Q.jsx)(RA,{size:`small`,title:`视频提词 Schema`,children:(0,Q.jsx)(V7,{value:s,maxHeight:360})}):null,o?(0,Q.jsx)(Mh,{size:`small`,items:[{key:`raw_schema`,label:`原始 JSON / 历史脏字段排查`,children:(0,Q.jsx)(V7,{value:s,maxHeight:420})}]}):null]})},JUe=[`material_input`,`image_prompt_optimize`,`image_generate`,`video_prompt_optimize`,`video_generate`],YUe={material_input:`参考素材、项目名称和核心内容点`,image_prompt_optimize:`图片 AI 提词优化结果`,image_generate:`图片引擎、生成参数和结果图`,video_prompt_optimize:`视频 JSON schema、动作流程和最终提词`,video_generate:`视频引擎、生成参数、封面和结果视频`},o9=e=>e?P5(e):`-`,s9=e=>e?e.length>18?`${e.slice(0,10)}...${e.slice(-4)}`:e:`-`,XUe=({text:e=`-`})=>(0,Q.jsx)(Z.Text,{type:`secondary`,children:e}),c9=({step:e})=>e?(0,Q.jsx)(PUe,{input:e.input,output:e.output}):null,l9=({index:e,stepCode:t,step:n,current:r})=>(0,Q.jsxs)(NM,{wrap:!0,size:8,children:[(0,Q.jsx)(Z.Text,{strong:!0,children:`第${e}步:${J7(t)}`}),(0,Q.jsx)(Y7,{status:n?.status||`not_started`}),r?(0,Q.jsx)(kR,{color:`blue`,children:`当前步骤`}):null,(0,Q.jsx)(Z.Text,{type:`secondary`,children:YUe[t]||t}),n?.updatedAt?(0,Q.jsxs)(Z.Text,{type:`secondary`,children:[`更新时间:`,o9(n.updatedAt)]}):null,n?.chatTaskId?(0,Q.jsx)(nx,{title:n.chatTaskId,children:(0,Q.jsxs)(kR,{children:[`Chat:`,s9(n.chatTaskId)]})}):null]}),ZUe=(e,t)=>{if(!e)return[];let n=new Set;return n.add(`material_input`),e.currentStepCode&&n.add(e.currentStepCode),Object.values(t).forEach(e=>{(e.status===`failed`||e.errorMessage)&&n.add(e.stepCode)}),e.errorMessage&&n.add(e.currentStepCode||`material_input`),Array.from(n)},u9=(e,t=`错误信息`)=>e?(0,Q.jsx)(cf,{type:`error`,showIcon:!0,message:t,description:e,style:{marginTop:12,marginBottom:12}}):null,QUe=(e,t=`暂无提词`)=>e?(0,Q.jsx)(Z.Paragraph,{style:{whiteSpace:`pre-wrap`,marginBottom:0},children:e}):(0,Q.jsx)(XUe,{text:t}),d9=({moduleType:e=`shot_replicate`})=>{let{projectId:t}=tt(),n=Ze(),[r,i]=(0,C.useState)(null),[a,o]=(0,C.useState)(!1),s=(0,C.useCallback)(async()=>{if(t){o(!0);try{i(e===`hot_opening_replicate`?await wVe(t):await kVe(t))}catch(e){wP.error(e?.message||`加载复刻项目详情失败`)}finally{o(!1)}}},[e,t]);(0,C.useEffect)(()=>{s()},[s]);let c=(0,C.useMemo)(()=>{let e={};return(r?.steps||[]).forEach(t=>{e[t.stepCode]=t}),e},[r]),l=r?.module||e,u=q7(l),d=(0,C.useMemo)(()=>JUe.map(e=>{let t=c[e],n=`wait`;return t?.status===`completed`?n=`finish`:t?.status===`processing`?n=`process`:t?.status===`failed`&&(n=`error`),{title:J7(e),description:t?(0,Q.jsx)(Y7,{status:t.status}):`未创建`,status:n}}),[c]),f=(0,C.useMemo)(()=>ZUe(r,c),[r,c]);if(a&&!r)return(0,Q.jsx)(`div`,{style:{padding:64,textAlign:`center`},children:(0,Q.jsx)(pP,{size:`large`})});if(!r)return(0,Q.jsx)(RA,{style:{margin:24},children:(0,Q.jsx)(Qy,{description:`未找到复刻项目详情`})});let p=c.material_input,m=c.image_prompt_optimize,h=c.image_generate,g=c.video_prompt_optimize,_=c.video_generate,v=r.imageGeneration?.resultImageUrl||r.finalImageUrl,y=r.videoGeneration?.resultVideoCoverUrl||r.finalVideoCoverUrl,b=r.videoGeneration?.resultVideoUrl||r.finalVideoUrl,x=[{key:`material_input`,label:(0,Q.jsx)(l9,{index:1,stepCode:`material_input`,step:p,current:r.currentStepCode===`material_input`}),children:(0,Q.jsxs)(NM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(_M,{column:2,bordered:!0,size:`small`,children:[(0,Q.jsx)(_M.Item,{label:`模块类型`,children:(0,Q.jsx)(Y7,{status:l})}),(0,Q.jsx)(_M.Item,{label:`素材步骤ID`,children:r.material?.materialStepId||`-`}),(0,Q.jsx)(_M.Item,{label:`参考素材项目名`,children:r.material?.sourceProjectName||`-`}),(0,Q.jsx)(_M.Item,{label:`生成项目名称`,children:r.material?.targetProjectName||`-`}),(0,Q.jsx)(_M.Item,{label:`核心内容点`,span:2,children:r.material?.coreContentPoint||`-`})]}),(0,Q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fit, minmax(320px, 1fr))`,gap:16},children:[(0,Q.jsx)(RA,{size:`small`,title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(_0,{}),`素材视频`]}),children:(0,Q.jsx)(H7,{type:`video`,url:r.material?.materialVideoUrl,emptyDescription:`暂无素材视频`})}),(0,Q.jsx)(RA,{size:`small`,title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(xX,{}),`素材图片`]}),children:(0,Q.jsx)(H7,{type:`image`,url:r.material?.materialImageUrl,emptyDescription:`暂无素材图片`})})]}),u9(p?.errorMessage),(0,Q.jsx)(c9,{step:p})]})},{key:`image_prompt_optimize`,label:(0,Q.jsx)(l9,{index:2,stepCode:`image_prompt_optimize`,step:m,current:r.currentStepCode===`image_prompt_optimize`}),children:(0,Q.jsxs)(NM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(_M,{column:2,bordered:!0,size:`small`,children:[(0,Q.jsx)(_M.Item,{label:`提词步骤ID`,children:r.imageGeneration?.promptStepId||`-`}),(0,Q.jsx)(_M.Item,{label:`步骤状态`,children:(0,Q.jsx)(Y7,{status:m?.status||r.imageGeneration?.status})}),(0,Q.jsx)(_M.Item,{label:`图片提示词`,span:2,children:QUe(r.imageGeneration?.prompt,`暂无图片提示词`)})]}),u9(m?.errorMessage||r.imageGeneration?.errorMessage),(0,Q.jsx)(c9,{step:m})]})},{key:`image_generate`,label:(0,Q.jsx)(l9,{index:3,stepCode:`image_generate`,step:h,current:r.currentStepCode===`image_generate`}),children:(0,Q.jsxs)(NM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(_M,{column:3,bordered:!0,size:`small`,children:[(0,Q.jsx)(_M.Item,{label:`生成步骤ID`,children:r.imageGeneration?.generateStepId||`-`}),(0,Q.jsx)(_M.Item,{label:`Chat任务ID`,children:r.imageGeneration?.chatTaskId||`-`}),(0,Q.jsx)(_M.Item,{label:`状态`,children:(0,Q.jsx)(Y7,{status:r.imageGeneration?.status||h?.status})}),(0,Q.jsx)(_M.Item,{label:`图片引擎ID`,children:r.imageGeneration?.engineId||`-`}),(0,Q.jsx)(_M.Item,{label:`图片引擎名称`,children:r.imageGeneration?.engineName||`-`}),(0,Q.jsx)(_M.Item,{label:`生成参数`,span:3,children:(0,Q.jsx)(V7,{value:r.imageGeneration?.params||{},maxHeight:160})})]}),u9(r.imageGeneration?.errorMessage||h?.errorMessage),(0,Q.jsx)(RA,{size:`small`,title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(xX,{}),`图片结果`]}),children:(0,Q.jsx)(H7,{type:`image`,url:v,height:360,emptyDescription:h?.status===`failed`||r.imageGeneration?.errorMessage?`图片生成失败,未返回图片地址`:`暂无图片结果`,errorDescription:`图片资源加载失败,可能图片文件不存在、签名过期或访问权限受限。`})}),(0,Q.jsx)(c9,{step:h})]})},{key:`video_prompt_optimize`,label:(0,Q.jsx)(l9,{index:4,stepCode:`video_prompt_optimize`,step:g,current:r.currentStepCode===`video_prompt_optimize`}),children:(0,Q.jsxs)(NM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(_M,{column:3,bordered:!0,size:`small`,children:[(0,Q.jsx)(_M.Item,{label:`提词步骤ID`,children:r.videoGeneration?.promptStepId||`-`}),(0,Q.jsx)(_M.Item,{label:`步骤状态`,children:(0,Q.jsx)(Y7,{status:g?.status})}),(0,Q.jsx)(_M.Item,{label:`提词参数`,span:3,children:(0,Q.jsx)(V7,{value:r.videoGeneration?.promptParams||{},maxHeight:160})})]}),u9(g?.errorMessage||r.videoGeneration?.errorMessage),(0,Q.jsx)(qUe,{schema:r.videoGeneration?.promptSchema,finalPrompt:r.videoGeneration?.finalPrompt,schemaConfigSnapshot:r.videoGeneration?.schemaConfigSnapshot,schemaConfigSource:r.videoGeneration?.schemaConfigSource,schemaConfigVersion:r.videoGeneration?.schemaConfigVersion,schemaConfigIsFallback:r.videoGeneration?.schemaConfigIsFallback}),(0,Q.jsx)(c9,{step:g})]})},{key:`video_generate`,label:(0,Q.jsx)(l9,{index:5,stepCode:`video_generate`,step:_,current:r.currentStepCode===`video_generate`}),children:(0,Q.jsxs)(NM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(_M,{column:3,bordered:!0,size:`small`,children:[(0,Q.jsx)(_M.Item,{label:`生成步骤ID`,children:r.videoGeneration?.generateStepId||`-`}),(0,Q.jsx)(_M.Item,{label:`Chat任务ID`,children:r.videoGeneration?.chatTaskId||`-`}),(0,Q.jsx)(_M.Item,{label:`状态`,children:(0,Q.jsx)(Y7,{status:r.videoGeneration?.status||_?.status})}),(0,Q.jsx)(_M.Item,{label:`视频引擎ID`,children:r.videoGeneration?.engineId||`-`}),(0,Q.jsx)(_M.Item,{label:`视频引擎名称`,children:r.videoGeneration?.engineName||`-`}),(0,Q.jsx)(_M.Item,{label:`生成参数`,span:3,children:(0,Q.jsx)(V7,{value:r.videoGeneration?.params||{},maxHeight:160})})]}),u9(r.videoGeneration?.errorMessage||_?.errorMessage),(0,Q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fit, minmax(320px, 1fr))`,gap:16},children:[(0,Q.jsx)(RA,{size:`small`,title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(xX,{}),`视频封面`]}),children:(0,Q.jsx)(H7,{type:`image`,url:y,emptyDescription:_?.status===`failed`||r.videoGeneration?.errorMessage?`视频生成失败,未返回封面`:`暂无视频封面`,errorDescription:`视频封面加载失败,可能文件不存在、签名过期或访问权限受限。`})}),(0,Q.jsx)(RA,{size:`small`,title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(c8,{}),`最终视频`]}),children:(0,Q.jsx)(H7,{type:`video`,url:b,emptyDescription:_?.status===`failed`||r.videoGeneration?.errorMessage?`视频生成失败,未返回视频地址`:`暂无最终视频`,errorDescription:`视频资源加载失败,可能文件不存在、签名过期或访问权限受限。`})})]}),(0,Q.jsx)(c9,{step:_})]})}];return(0,Q.jsx)(`div`,{style:{padding:24},children:(0,Q.jsxs)(NM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(NM,{wrap:!0,style:{justifyContent:`space-between`,width:`100%`},children:[(0,Q.jsxs)(NM,{wrap:!0,children:[(0,Q.jsx)(cC,{icon:(0,Q.jsx)(RH,{}),onClick:()=>n(-1),children:`返回`}),(0,Q.jsxs)(Z.Title,{level:3,style:{margin:0},children:[u,`项目详情`]}),(0,Q.jsx)(Y7,{status:r.status}),r.module&&r.module!==e?(0,Q.jsxs)(kR,{color:`gold`,children:[`接口模块:`,q7(r.module)]}):null]}),(0,Q.jsx)(cC,{onClick:s,loading:a,children:`刷新`})]}),(0,Q.jsx)(RA,{children:(0,Q.jsxs)(_M,{title:`基础信息`,column:3,bordered:!0,size:`small`,children:[(0,Q.jsx)(_M.Item,{label:`项目ID`,children:r.id}),(0,Q.jsx)(_M.Item,{label:`模块类型`,children:(0,Q.jsx)(Y7,{status:l})}),(0,Q.jsx)(_M.Item,{label:`用户ID`,children:r.userId||`-`}),(0,Q.jsx)(_M.Item,{label:`用户名`,children:r.userName||`-`}),(0,Q.jsx)(_M.Item,{label:`标题`,children:r.title||`-`}),(0,Q.jsx)(_M.Item,{label:`当前步骤`,children:(0,Q.jsx)(nx,{title:r.currentStepCode||``,children:J7(r.currentStepCode)})}),(0,Q.jsx)(_M.Item,{label:`状态`,children:(0,Q.jsx)(Y7,{status:r.status})}),(0,Q.jsx)(_M.Item,{label:`创建时间`,children:o9(r.createdAt)}),(0,Q.jsx)(_M.Item,{label:`更新时间`,children:o9(r.updatedAt)}),(0,Q.jsx)(_M.Item,{label:`完成时间`,children:o9(r.completedAt)}),r.errorMessage?(0,Q.jsx)(_M.Item,{label:`错误信息`,span:3,children:(0,Q.jsx)(cf,{type:`error`,showIcon:!0,message:r.errorMessage})}):null]})}),(0,Q.jsx)(RA,{title:`步骤进度`,children:(0,Q.jsx)(ahe,{items:d})}),(0,Q.jsx)(RA,{title:`最终结果预览`,children:(0,Q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fit, minmax(280px, 1fr))`,gap:16},children:[(0,Q.jsx)(RA,{size:`small`,title:`最终图片`,children:(0,Q.jsx)(H7,{type:`image`,url:r.finalImageUrl||r.imageGeneration?.resultImageUrl,height:220,emptyDescription:`暂无最终图片`})}),(0,Q.jsx)(RA,{size:`small`,title:`最终视频封面`,children:(0,Q.jsx)(H7,{type:`image`,url:r.finalVideoCoverUrl||r.videoGeneration?.resultVideoCoverUrl,height:220,emptyDescription:`暂无最终视频封面`})}),(0,Q.jsx)(RA,{size:`small`,title:`最终视频`,children:(0,Q.jsx)(H7,{type:`video`,url:r.finalVideoUrl||r.videoGeneration?.resultVideoUrl,height:220,emptyDescription:`暂无最终视频`})})]})}),(0,Q.jsx)(Mh,{defaultActiveKey:f,items:x}),(0,Q.jsx)(Mh,{items:[{key:`steps-table`,label:`完整步骤列表`,children:(0,Q.jsx)(gR,{rowKey:`id`,size:`small`,pagination:!1,dataSource:r.steps||[],scroll:{x:1100},columns:[{title:`序号`,dataIndex:`stepIndex`,width:70},{title:`步骤`,dataIndex:`stepCode`,width:160,render:e=>(0,Q.jsx)(nx,{title:e,children:J7(e)})},{title:`状态`,dataIndex:`status`,width:120,render:e=>(0,Q.jsx)(Y7,{status:e})},{title:`版本`,dataIndex:`version`,width:70},{title:`当前有效`,dataIndex:`isCurrent`,width:90,render:e=>e?(0,Q.jsx)(kR,{color:`success`,children:`是`}):(0,Q.jsx)(kR,{children:`否`})},{title:`Chat任务`,dataIndex:`chatTaskId`,width:160,render:e=>(0,Q.jsx)(nx,{title:e||``,children:s9(e)})},{title:`创建时间`,dataIndex:`createdAt`,width:170,render:o9},{title:`完成时间`,dataIndex:`completedAt`,width:170,render:o9},{title:`错误`,dataIndex:`errorMessage`,ellipsis:!0,render:e=>e||`-`}]})},{key:`raw-detail`,label:`完整详情原始 JSON`,children:(0,Q.jsx)(V7,{value:r,maxHeight:520})}]})]})})},$Ue=()=>(0,Q.jsx)(d9,{moduleType:`hot_opening_replicate`}),f9=20,eWe=[{value:`pending_analysis`,label:`等待分析`},{value:`analyzing`,label:`分析中`},{value:`analysis_completed`,label:`分析完成`},{value:`analysis_failed`,label:`分析失败`},{value:`splitting`,label:`拆镜中`},{value:`split_completed`,label:`拆镜完成`},{value:`partial_failed`,label:`部分失败`},{value:`failed`,label:`失败`}],tWe=[{value:`pending`,label:`待分析`},{value:`processing`,label:`分析中`},{value:`completed`,label:`分析完成`},{value:`failed`,label:`分析失败`}],nWe=[{value:`none`,label:`未拆镜`},{value:`pending`,label:`待拆镜`},{value:`processing`,label:`拆镜中`},{value:`completed`,label:`拆镜完成`},{value:`failed`,label:`拆镜失败`},{value:`retry_waiting`,label:`等待重试`}],rWe={pending_analysis:{color:`default`,text:`等待分析`},analyzing:{color:`processing`,text:`分析中`},analysis_completed:{color:`success`,text:`分析完成`},analysis_failed:{color:`error`,text:`分析失败`},splitting:{color:`warning`,text:`拆镜中`},split_completed:{color:`success`,text:`拆镜完成`},partial_failed:{color:`orange`,text:`部分失败`},failed:{color:`error`,text:`失败`},none:{color:`default`,text:`未拆镜`},pending:{color:`default`,text:`待处理`},processing:{color:`warning`,text:`处理中`},completed:{color:`success`,text:`完成`},retry_waiting:{color:`orange`,text:`等待重试`}},p9=e=>e?P5(e):`-`,m9=e=>e?e.length>16?`${e.slice(0,10)}...`:e:`-`,h9=({status:e})=>{if(!e)return(0,Q.jsx)(kR,{children:`-`});let t=rWe[e]||{color:`blue`,text:e};return(0,Q.jsx)(kR,{color:t.color,children:t.text})},iWe=()=>{let e=Ze(),[t,n]=(0,C.useState)([]),[r,i]=(0,C.useState)(0),[a,o]=(0,C.useState)(!1),[s,c]=(0,C.useState)(1),[l,u]=(0,C.useState)(``),[d,f]=(0,C.useState)(``),[p,m]=(0,C.useState)(``),[h,g]=(0,C.useState)(``),[_,v]=(0,C.useState)(``),[y,b]=(0,C.useState)(``),[x,S]=(0,C.useState)(null),[w,T]=(0,C.useState)(``),[E,D]=(0,C.useState)(``),[O,k]=(0,C.useState)(``),[A,j]=(0,C.useState)(null),[M,N]=(0,C.useState)(0),P=(0,C.useCallback)(async()=>{o(!0);try{let e=await TVe({status:l||void 0,analysisStatus:d||void 0,splitStatus:p||void 0,keyword:w||void 0,userId:E||void 0,userName:O||void 0,createdStart:A?.[0]?.toISOString?.(),createdEnd:A?.[1]?.toISOString?.(),page:s,pageSize:f9});n(e.items||[]),i(e.total||0)}catch(e){wP.error(e?.message||`加载拆镜复刻任务失败`)}finally{o(!1)}},[d,s,A,w,E,O,p,l]);(0,C.useEffect)(()=>{P()},[P,M]);let F=()=>{T(h.trim()),D(_.trim()),k(y.trim()),j(x),c(1)};return(0,Q.jsx)(`div`,{style:{padding:24},children:(0,Q.jsx)(RA,{children:(0,Q.jsxs)(NM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(NM,{align:`center`,style:{justifyContent:`space-between`,width:`100%`},children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Title,{level:3,style:{marginBottom:4},children:`拆镜复刻`}),(0,Q.jsx)(Z.Text,{type:`secondary`,children:`只读排查页面:查看拆镜总任务、AI 分析结果、切片列表和关联复刻项目。`})]}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(HP,{}),onClick:()=>N(e=>e+1),children:`刷新`})]}),(0,Q.jsxs)(NM,{wrap:!0,children:[(0,Q.jsx)(Ob,{allowClear:!0,placeholder:`总任务状态`,style:{width:150},value:l||void 0,onChange:e=>{u(e||``),c(1)},options:eWe}),(0,Q.jsx)(Ob,{allowClear:!0,placeholder:`分析状态`,style:{width:140},value:d||void 0,onChange:e=>{f(e||``),c(1)},options:tWe}),(0,Q.jsx)(Ob,{allowClear:!0,placeholder:`拆镜状态`,style:{width:140},value:p||void 0,onChange:e=>{m(e||``),c(1)},options:nWe}),(0,Q.jsx)(HN,{allowClear:!0,prefix:(0,Q.jsx)(Cb,{}),placeholder:`关键词:标题/内容/分类/受众`,style:{width:260},value:h,onChange:e=>g(e.target.value),onPressEnter:F}),(0,Q.jsx)(HN,{allowClear:!0,placeholder:`用户ID(管理员)`,style:{width:190},value:_,onChange:e=>v(e.target.value),onPressEnter:F}),(0,Q.jsx)(HN,{allowClear:!0,placeholder:`用户名(管理员)`,style:{width:230},value:y,onChange:e=>b(e.target.value),onPressEnter:F}),(0,Q.jsx)(pM.RangePicker,{showTime:!0,value:x,onChange:S,placeholder:[`创建开始`,`创建结束`]}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(Cb,{}),onClick:F,children:`搜索`}),(0,Q.jsx)(cC,{onClick:()=>{u(``),f(``),m(``),g(``),v(``),b(``),S(null),T(``),D(``),k(``),j(null),c(1),N(e=>e+1)},children:`重置`})]}),(0,Q.jsx)(gR,{rowKey:`id`,loading:a,dataSource:t,pagination:{current:s,pageSize:f9,total:r,showSizeChanger:!1,showTotal:e=>`共 ${e} 条`,onChange:c},scroll:{x:1500},columns:[{title:`任务集ID`,dataIndex:`id`,width:150,render:e=>(0,Q.jsx)(nx,{title:e,children:m9(e)})},{title:`用户`,width:180,render:(e,t)=>(0,Q.jsxs)(NM,{direction:`vertical`,size:0,children:[(0,Q.jsx)(Z.Text,{children:t.userName||`-`}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:m9(t.userId)})]})},{title:`任务信息`,width:300,render:(e,t)=>(0,Q.jsxs)(NM,{direction:`vertical`,size:2,children:[(0,Q.jsx)(Z.Text,{strong:!0,children:t.title||`-`}),(0,Q.jsxs)(Z.Text,{type:`secondary`,ellipsis:!0,style:{maxWidth:280},children:[`分类:`,t.originalVideoCategory||`-`]}),(0,Q.jsxs)(Z.Text,{type:`secondary`,ellipsis:!0,style:{maxWidth:280},children:[`受众:`,t.originalVideoAudience||`-`]})]})},{title:`总状态`,dataIndex:`status`,width:120,render:e=>(0,Q.jsx)(h9,{status:e})},{title:`分析状态`,dataIndex:`analysisStatus`,width:110,render:e=>(0,Q.jsx)(h9,{status:e})},{title:`拆镜状态`,dataIndex:`splitStatus`,width:110,render:e=>(0,Q.jsx)(h9,{status:e})},{title:`切片进度`,width:180,render:(e,t)=>{let n=t.segmentCount||0,r=t.completedSegmentCount||0;return(0,Q.jsx)(BP,{size:`small`,percent:n?Math.round(r/n*100):0,format:()=>`${r}/${n}`})}},{title:`失败片段`,dataIndex:`failedSegmentCount`,width:90,render:e=>e?(0,Q.jsx)(kR,{color:`error`,children:e}):(0,Q.jsx)(kR,{children:`0`})},{title:`视频时长`,dataIndex:`videoDurationSeconds`,width:100,render:e=>`${Number(e||0).toFixed(1)}s`},{title:`创建时间`,dataIndex:`createdAt`,width:170,render:p9},{title:`更新时间`,dataIndex:`updatedAt`,width:170,render:p9},{title:`操作`,fixed:`right`,width:120,render:(t,n)=>(0,Q.jsx)(cC,{type:`link`,icon:(0,Q.jsx)(NN,{}),onClick:()=>e(`/shot-replications/task-sets/${n.id}`),children:`查看切片`})}]})]})})})},aWe=`http://ceshi.apiforeign.minzhong.cn`.replace(/\/api\/?$/i,``).replace(/\/$/,``),g9=20,oWe=[{value:`ai_suggestion`,label:`AI 建议`},{value:`custom`,label:`自定义`}],sWe=[{value:`none`,label:`未拆镜`},{value:`pending`,label:`待拆镜`},{value:`processing`,label:`拆镜中`},{value:`completed`,label:`拆镜完成`},{value:`failed`,label:`拆镜失败`},{value:`retry_waiting`,label:`等待重试`}],cWe=[{value:`not_required`,label:`无需分析`},{value:`pending`,label:`待分析`},{value:`processing`,label:`分析中`},{value:`completed`,label:`分析完成`},{value:`failed`,label:`分析失败`}],lWe=[{value:`not_started`,label:`未复刻`},{value:`project_created`,label:`已创建项目`},{value:`processing`,label:`复刻中`},{value:`completed`,label:`复刻完成`},{value:`failed`,label:`复刻失败`}],uWe={pending_analysis:{color:`default`,text:`等待分析`},analyzing:{color:`processing`,text:`分析中`},analysis_completed:{color:`success`,text:`分析完成`},analysis_failed:{color:`error`,text:`分析失败`},splitting:{color:`warning`,text:`拆镜中`},split_completed:{color:`success`,text:`拆镜完成`},partial_failed:{color:`orange`,text:`部分失败`},failed:{color:`error`,text:`失败`},none:{color:`default`,text:`未拆镜`},pending:{color:`default`,text:`待处理`},processing:{color:`warning`,text:`处理中`},completed:{color:`success`,text:`完成`},retry_waiting:{color:`orange`,text:`等待重试`},not_required:{color:`default`,text:`无需分析`},not_started:{color:`default`,text:`未复刻`},project_created:{color:`processing`,text:`已创建项目`}},dWe=e=>{if(!e)return``;let t=String(e).trim();return t?/^(https?:)?\/\//i.test(t)||/^(blob|data):/i.test(t)?t:`${aWe}${t.startsWith(`/`)?t:`/${t}`}`:``},_9=e=>e?P5(e):`-`,v9=e=>e?e.length>16?`${e.slice(0,10)}...`:e:`-`,y9=({status:e})=>{if(!e)return(0,Q.jsx)(kR,{children:`-`});let t=uWe[e]||{color:`blue`,text:e};return(0,Q.jsx)(kR,{color:t.color,children:t.text})},b9=({value:e,maxHeight:t=420})=>(0,Q.jsx)(`pre`,{style:{margin:0,padding:12,maxHeight:t,overflow:`auto`,background:`#0f172a`,color:`#e2e8f0`,borderRadius:8,fontSize:12,lineHeight:1.6},children:JSON.stringify(e??{},null,2)}),x9=({url:e,height:t=280})=>e?(0,Q.jsx)(`video`,{src:dWe(e),controls:!0,preload:`metadata`,style:{width:`100%`,maxHeight:t,borderRadius:12,background:`#0f172a`}}):(0,Q.jsx)(Qy,{description:`暂无视频`,image:Qy.PRESENTED_IMAGE_SIMPLE}),fWe=({items:e=[]})=>(0,Q.jsx)(gR,{rowKey:`index`,size:`small`,pagination:!1,dataSource:e,scroll:{x:!0},columns:[{title:`序号`,dataIndex:`index`,width:70},{title:`时间节点`,dataIndex:`timeNode`,width:120},{title:`开始`,dataIndex:`startSecond`,width:80,render:e=>`${Number(e||0).toFixed(2)}s`},{title:`结束`,dataIndex:`endSecond`,width:80,render:e=>`${Number(e||0).toFixed(2)}s`},{title:`内容`,dataIndex:`content`,ellipsis:!0},{title:`分类`,dataIndex:`category`,width:140},{title:`受众`,dataIndex:`audience`,ellipsis:!0}]}),pWe=()=>{let{taskSetId:e}=tt(),t=Ze(),[n,r]=(0,C.useState)(null),[i,a]=(0,C.useState)([]),[o,s]=(0,C.useState)(0),[c,l]=(0,C.useState)(1),[u,d]=(0,C.useState)(!1),[f,p]=(0,C.useState)(!1),[m,h]=(0,C.useState)(0),[g,_]=(0,C.useState)(``),[v,y]=(0,C.useState)(``),[b,x]=(0,C.useState)(``),[S,w]=(0,C.useState)(``),[T,E]=(0,C.useState)(!1),[D,O]=(0,C.useState)(null),k=(0,C.useCallback)(async()=>{if(e){d(!0);try{r(await EVe(e))}catch(e){wP.error(e?.message||`加载拆镜任务详情失败`)}finally{d(!1)}}},[e]),A=(0,C.useCallback)(async()=>{if(e){p(!0);try{let t=await DVe(e,{sourceMode:g||void 0,splitStatus:v||void 0,analysisStatus:b||void 0,replicateStatus:S||void 0,page:c,pageSize:g9});a(t.items||[]),s(t.total||0)}catch(e){wP.error(e?.message||`加载拆镜片段失败`)}finally{p(!1)}}},[b,c,S,g,v,e]);(0,C.useEffect)(()=>{k()},[k,m]),(0,C.useEffect)(()=>{A()},[A,m]);let j=async e=>{E(!0),O(null);try{O(await OVe(e))}catch(e){wP.error(e?.message||`加载片段详情失败`)}};return u&&!n?(0,Q.jsx)(`div`,{style:{padding:64,textAlign:`center`},children:(0,Q.jsx)(pP,{size:`large`})}):n?(0,Q.jsxs)(`div`,{style:{padding:24},children:[(0,Q.jsxs)(NM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(NM,{style:{justifyContent:`space-between`,width:`100%`},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(cC,{icon:(0,Q.jsx)(RH,{}),onClick:()=>t(`/shot-replications`),children:`返回列表`}),(0,Q.jsx)(Z.Title,{level:3,style:{margin:0},children:`拆镜任务详情`}),(0,Q.jsx)(y9,{status:n.status})]}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(HP,{}),onClick:()=>h(e=>e+1),children:`刷新`})]}),(0,Q.jsx)(RA,{children:(0,Q.jsxs)(_M,{title:`总任务信息`,column:3,bordered:!0,size:`small`,children:[(0,Q.jsx)(_M.Item,{label:`任务集ID`,children:n.id}),(0,Q.jsx)(_M.Item,{label:`用户ID`,children:n.userId||`-`}),(0,Q.jsx)(_M.Item,{label:`用户名`,children:n.userName||`-`}),(0,Q.jsx)(_M.Item,{label:`标题`,children:n.title||`-`}),(0,Q.jsxs)(_M.Item,{label:`视频时长`,children:[Number(n.videoDurationSeconds||0).toFixed(2),`s`]}),(0,Q.jsx)(_M.Item,{label:`总状态`,children:(0,Q.jsx)(y9,{status:n.status})}),(0,Q.jsx)(_M.Item,{label:`分析状态`,children:(0,Q.jsx)(y9,{status:n.analysisStatus})}),(0,Q.jsx)(_M.Item,{label:`拆镜状态`,children:(0,Q.jsx)(y9,{status:n.splitStatus})}),(0,Q.jsxs)(_M.Item,{label:`片段数量`,children:[n.completedSegmentCount,`/`,n.segmentCount,`,失败 `,n.failedSegmentCount]}),(0,Q.jsx)(_M.Item,{label:`原视频分类`,children:n.originalVideoCategory||`-`}),(0,Q.jsx)(_M.Item,{label:`创建时间`,children:_9(n.createdAt)}),(0,Q.jsx)(_M.Item,{label:`更新时间`,children:_9(n.updatedAt)}),(0,Q.jsx)(_M.Item,{label:`原视频内容`,span:3,children:n.originalVideoContent||`-`}),(0,Q.jsx)(_M.Item,{label:`原视频受众`,span:3,children:n.originalVideoAudience||`-`}),n.analysisErrorMessage?(0,Q.jsx)(_M.Item,{label:`分析错误`,span:3,children:(0,Q.jsx)(cf,{type:`error`,message:n.analysisErrorMessage})}):null,n.splitErrorMessage?(0,Q.jsx)(_M.Item,{label:`拆镜错误`,span:3,children:(0,Q.jsx)(cf,{type:`error`,message:n.splitErrorMessage})}):null]})}),(0,Q.jsx)(RA,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(_0,{}),`原视频预览`]}),children:(0,Q.jsx)(x9,{url:n.videoUrl,height:360})}),(0,Q.jsxs)(RA,{title:`AI 建议拆镜列表`,children:[n.aiSuggestions?.length?(0,Q.jsx)(fWe,{items:n.aiSuggestions}):(0,Q.jsx)(Qy,{description:`暂无 AI 建议拆镜`}),(0,Q.jsx)(Mh,{size:`small`,ghost:!0,style:{marginTop:12},items:[{key:`raw`,label:`查看原视频分析完整 JSON`,children:(0,Q.jsx)(b9,{value:n.analysisResultJson})}]})]}),(0,Q.jsxs)(RA,{title:`片段列表`,children:[(0,Q.jsxs)(NM,{wrap:!0,style:{marginBottom:16},children:[(0,Q.jsx)(Ob,{allowClear:!0,placeholder:`片段来源`,style:{width:140},value:g||void 0,options:oWe,onChange:e=>{_(e||``),l(1)}}),(0,Q.jsx)(Ob,{allowClear:!0,placeholder:`切割状态`,style:{width:140},value:v||void 0,options:sWe,onChange:e=>{y(e||``),l(1)}}),(0,Q.jsx)(Ob,{allowClear:!0,placeholder:`分析状态`,style:{width:140},value:b||void 0,options:cWe,onChange:e=>{x(e||``),l(1)}}),(0,Q.jsx)(Ob,{allowClear:!0,placeholder:`复刻状态`,style:{width:150},value:S||void 0,options:lWe,onChange:e=>{w(e||``),l(1)}}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(Cb,{}),onClick:()=>h(e=>e+1),children:`筛选`}),(0,Q.jsx)(cC,{onClick:()=>{_(``),y(``),x(``),w(``),l(1),h(e=>e+1)},children:`重置`})]}),(0,Q.jsx)(gR,{rowKey:`id`,loading:f,dataSource:i,pagination:{current:c,pageSize:g9,total:o,showSizeChanger:!1,showTotal:e=>`共 ${e} 条`,onChange:l},scroll:{x:1550},columns:[{title:`片段ID`,dataIndex:`id`,width:150,render:e=>(0,Q.jsx)(nx,{title:e,children:v9(e)})},{title:`序号`,dataIndex:`segmentIndex`,width:70},{title:`来源`,dataIndex:`sourceMode`,width:100,render:e=>e===`ai_suggestion`?(0,Q.jsx)(kR,{color:`purple`,children:`AI建议`}):(0,Q.jsx)(kR,{color:`cyan`,children:`自定义`})},{title:`时间节点`,dataIndex:`timeNode`,width:130},{title:`时长`,dataIndex:`durationSeconds`,width:90,render:e=>`${Number(e||0).toFixed(2)}s`},{title:`切割`,dataIndex:`splitStatus`,width:100,render:e=>(0,Q.jsx)(y9,{status:e})},{title:`分析`,dataIndex:`analysisStatus`,width:100,render:e=>(0,Q.jsx)(y9,{status:e})},{title:`复刻`,dataIndex:`replicateStatus`,width:110,render:e=>(0,Q.jsx)(y9,{status:e})},{title:`片段内容`,dataIndex:`segmentContent`,width:260,ellipsis:!0,render:e=>e||`-`},{title:`分类`,dataIndex:`segmentCategory`,width:120,render:e=>e||`-`},{title:`关联项目`,width:220,render:(e,n)=>n.moduleProjectId?(0,Q.jsxs)(NM,{direction:`vertical`,size:0,children:[(0,Q.jsx)(cC,{type:`link`,style:{padding:0},onClick:()=>t(`/shot-replications/projects/${n.moduleProjectId}`),children:v9(n.moduleProjectId)}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:n.moduleProjectTitle||J7(n.moduleProjectCurrentStepCode)}),(0,Q.jsx)(y9,{status:n.moduleProjectStatus})]}):(0,Q.jsx)(kR,{children:`未创建`})},{title:`错误`,dataIndex:`splitLastError`,width:220,ellipsis:!0,render:(e,t)=>e||t.analysisErrorMessage||`-`},{title:`创建时间`,dataIndex:`createdAt`,width:170,render:_9},{title:`操作`,fixed:`right`,width:100,render:(e,t)=>(0,Q.jsx)(cC,{type:`link`,icon:(0,Q.jsx)(NN,{}),onClick:()=>j(t.id),children:`详情`})}]})]})]}),(0,Q.jsx)(Mde,{title:`片段详情`,width:720,open:T,onClose:()=>E(!1),destroyOnClose:!0,children:D?(0,Q.jsxs)(NM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(_M,{column:2,bordered:!0,size:`small`,children:[(0,Q.jsx)(_M.Item,{label:`片段ID`,span:2,children:D.id}),(0,Q.jsx)(_M.Item,{label:`时间节点`,children:D.timeNode}),(0,Q.jsxs)(_M.Item,{label:`时长`,children:[Number(D.durationSeconds||0).toFixed(2),`s`]}),(0,Q.jsx)(_M.Item,{label:`切割状态`,children:(0,Q.jsx)(y9,{status:D.splitStatus})}),(0,Q.jsx)(_M.Item,{label:`分析状态`,children:(0,Q.jsx)(y9,{status:D.analysisStatus})}),(0,Q.jsx)(_M.Item,{label:`复刻状态`,children:(0,Q.jsx)(y9,{status:D.replicateStatus})}),(0,Q.jsx)(_M.Item,{label:`关联项目`,children:D.moduleProjectId?(0,Q.jsx)(cC,{type:`link`,onClick:()=>t(`/shot-replications/projects/${D.moduleProjectId}`),children:D.moduleProjectId}):`-`}),(0,Q.jsx)(_M.Item,{label:`片段内容`,span:2,children:D.segmentContent||`-`}),(0,Q.jsx)(_M.Item,{label:`片段分类`,children:D.segmentCategory||`-`}),(0,Q.jsx)(_M.Item,{label:`片段受众`,children:D.segmentAudience||`-`})]}),(0,Q.jsx)(RA,{size:`small`,title:`片段视频`,children:(0,Q.jsx)(x9,{url:D.segmentVideoUrl,height:300})}),D.splitLastError?(0,Q.jsx)(cf,{type:`error`,message:`切割错误`,description:D.splitLastError}):null,D.analysisErrorMessage?(0,Q.jsx)(cf,{type:`error`,message:`分析错误`,description:D.analysisErrorMessage}):null,(0,Q.jsx)(Mh,{size:`small`,items:[{key:`analysis`,label:`片段分析 JSON`,children:(0,Q.jsx)(b9,{value:D.analysisJson})},{key:`suggestion`,label:`AI 建议原始 JSON`,children:(0,Q.jsx)(b9,{value:D.aiSuggestionJson})}]})]}):(0,Q.jsx)(pP,{})})]}):(0,Q.jsx)(RA,{style:{margin:24},children:(0,Q.jsx)(Qy,{description:`未找到拆镜任务详情`})})},{Title:mWe,Text:S9,Paragraph:hWe}=Z,{TextArea:C9}=HN,w9=[{label:`对象`,value:`object`},{label:`数组`,value:`array`},{label:`字符串`,value:`string`},{label:`数字`,value:`number`},{label:`布尔`,value:`boolean`},{label:`流程数组`,value:`flow`}],T9=`画面属性`,gWe=new Set([`视频时长`,`视频比例`,`清晰度`,`帧率`,`推荐分辨率`]);function E9(e,t){return e===T9&&!!t&&gWe.has(t)}function D9(e){return e===T9}function _We(e){return JSON.parse(JSON.stringify(e??null))}function O9(e,t,n,r){return!e||typeof e!=`object`?r:e[t]===void 0?e[n]===void 0?r:e[n]:e[t]}function vWe(e){return{key:String(e?.key||e?.label||`新流程字段`),label:String(e?.label||e?.key||`新流程字段`),enabled:e?.enabled??!0,editable:e?.editable??!0,maxLength:Number(O9(e,`maxLength`,`max_length`,800)||800),value:e?.value??``}}function k9(e){let t=String(e?.type||`string`),n={key:String(e?.key||e?.label||`新字段`),label:String(e?.label||e?.key||`新字段`),type:t,enabled:e?.enabled??!0,editable:e?.editable??!0,maxLength:Number(O9(e,`maxLength`,`max_length`,t===`flow`?800:1e3)||(t===`flow`?800:1e3))};if(t===`object`)n.children=Array.isArray(e?.children)?e.children.map(k9):[];else if(t===`flow`){n.contentKey=String(O9(e,`contentKey`,`content_key`,e?.key===`镜头流程`?`镜头内容`:`动作内容`));let t=O9(e,`contentAliases`,`content_aliases`,[]);n.contentAliases=Array.isArray(t)?t.map(e=>String(e)).filter(Boolean):[];let r=O9(e,`itemFields`,`item_fields`,[]);n.itemFields=Array.isArray(r)&&r.length>0?r.map(vWe):[{key:n.contentKey,label:n.contentKey,enabled:!0,editable:!0,maxLength:n.maxLength||800,value:``}]}else n.value=e?.value??(t===`array`?[]:t===`boolean`?!1:t===`number`?0:`无`);return n}function yWe(e){let t=Array.isArray(e?.segments)?e.segments:[],n=Array.isArray(e?.ratios)?e.ratios:[];return{minDuration:Number(O9(e,`minDuration`,`min_duration`,1)||1),maxDuration:Number(O9(e,`maxDuration`,`max_duration`,5)||5),ratios:n.map(e=>Number(e||0)),segments:t.map(e=>({stage:String(e?.stage||`新阶段`),description:String(e?.description||e?.desc||`阶段说明`)}))}}function A9(e){let t=Array.isArray(e?.sections)?e.sections:[],n=Array.isArray(e?.timePlanRules)?e.timePlanRules:Array.isArray(e?.time_plan_rules)?e.time_plan_rules:[];return{version:e?.version||`video_prompt_schema_config_v1`,enabled:e?.enabled??!0,sections:t.map(k9),timePlanRules:n.map(yWe)}}function j9(e,t){let n=D9(e.key),r=E9(t,e.key),i={key:e.key,label:e.label,type:r?`string`:e.type,enabled:n||r?!0:!!e.enabled,editable:r?!1:!!e.editable,max_length:e.maxLength};return e.type===`object`?i.children=(e.children||[]).map(t=>j9(t,e.key)):e.type===`flow`?(i.content_key=e.contentKey,i.content_aliases=e.contentAliases||[],i.item_fields=(e.itemFields||[]).map(e=>({key:e.key,label:e.label,enabled:!!e.enabled,editable:!!e.editable,max_length:e.maxLength,value:e.value??``}))):i.value=e.value,i}function M9(e,t){return{version:e.version,enabled:t,sections:(e.sections||[]).map(e=>j9(e)),time_plan_rules:(e.timePlanRules||[]).map(e=>({min_duration:e.minDuration,max_duration:e.maxDuration,ratios:e.ratios||[],segments:(e.segments||[]).map(e=>({stage:e.stage,description:e.description}))}))}}function N9(e){return e?.runtimeSchema||e?.runtime_schema||{}}function P9(e){let t=e?.timePlan||e?.time_plan||N9(e)?.动态时间规划||[];return Array.isArray(t)?t:[]}function bWe(e){return e?.schemaConfigSnapshot||e?.schema_config_snapshot||{}}function xWe(e,t){let n=new Blob([JSON.stringify(t,null,2)],{type:`application/json;charset=utf-8`}),r=URL.createObjectURL(n),i=document.createElement(`a`);i.href=r,i.download=e,i.click(),URL.revokeObjectURL(r)}var F9=(e=`string`)=>({key:`新字段`,label:`新字段`,type:e,enabled:!0,editable:!0,maxLength:e===`flow`?800:1e3,value:e===`array`?[]:e===`boolean`?!1:e===`number`?0:`无`,children:e===`object`?[]:void 0,contentKey:e===`flow`?`动作内容`:void 0,contentAliases:e===`flow`?[`动作内容`,`动作`,`动作说明`,`内容`,`说明`]:void 0,itemFields:e===`flow`?[{key:`动作内容`,label:`动作内容`,enabled:!0,editable:!0,maxLength:800,value:``}]:void 0}),SWe=()=>({minDuration:1,maxDuration:5,ratios:[.2,.4,.4],segments:[{stage:`开场吸引`,description:`快速吸引注意力`},{stage:`核心展示`,description:`展示主体动作、核心卖点或主要视觉内容`},{stage:`收尾引导`,description:`给出行动引导并稳定落版`}]}),CWe=()=>{let[e,t]=(0,C.useState)(!1),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)(!0),[o,s]=(0,C.useState)(!1),[c,l]=(0,C.useState)(null),[u,d]=(0,C.useState)(null),[f,p]=(0,C.useState)(!1),[m,h]=(0,C.useState)(null),[g]=X.useForm(),_=(0,C.useRef)(null),v=c?.sections||[],y=c?.timePlanRules||[],b=async()=>{t(!0);try{let e=await AVe();a(!!(e.isEnabled??e.is_enabled??e.data?.enabled??!1)),s(!!(e.usingDefault??e.using_default??!1)),l(A9(e.data)),d(A9(e.defaultData??e.default_data))}catch(e){wP.error(e?.message||`加载失败`)}finally{t(!1)}};(0,C.useEffect)(()=>{b()},[]);let x=e=>{l(t=>{let n=A9(_We(t));return e(n),n})},S=async()=>{if(c){r(!0);try{let e=await jVe({is_enabled:i,data:M9(c,i)});l(A9(e.data)),a(!!(e.isEnabled??e.is_enabled??e.data?.enabled??!1)),s(!!(e.usingDefault??e.using_default??!1)),wP.success(`保存成功`)}catch(e){wP.error(e?.message||`保存失败`)}finally{r(!1)}}},w=async()=>{r(!0);try{let e=await MVe();l(A9(e.data)),d(A9(e.defaultData??e.default_data)),a(!!(e.isEnabled??e.is_enabled??e.data?.enabled??!1)),s(!!(e.usingDefault??e.using_default??!1)),wP.success(`已恢复默认配置`)}catch(e){wP.error(e?.message||`恢复默认失败`)}finally{r(!1)}},T=async()=>{try{xWe(`video_prompt_schema_config.json`,await NVe())}catch(e){wP.error(e?.message||`导出失败`)}},E=async e=>{let t=e.target.files?.[0];if(e.target.value=``,t)try{let e=await t.text(),n=JSON.parse(e),r=n.data||n,o=await PVe({is_enabled:!!(n.isEnabled??n.is_enabled??i),data:r});l(A9(o.data)),a(!!(o.isEnabled??o.is_enabled??o.data?.enabled??!1)),s(!!(o.usingDefault??o.using_default??!1)),wP.success(`导入成功`)}catch(e){wP.error(e?.message||`导入失败,请检查 JSON 格式`)}},D=()=>{g.setFieldsValue({duration:8,aspectRatio:`9:16`,resolution:`1080p`,frameRate:`30fps`}),h(null),p(!0)},O=async()=>{if(!c)return;let e=await g.validateFields();try{h(await FVe({is_enabled:i,data:M9(c,i),duration:Number(e.duration||8),aspect_ratio:e.aspectRatio,resolution:e.resolution,frame_rate:e.frameRate}))}catch(e){wP.error(e?.message||`预览失败`)}},k=()=>{x(e=>{e.sections.push(F9(`object`))})},A=(e,t)=>{x(n=>{let r=n.sections[e];D9(r?.key)&&(delete t.key,delete t.type,delete t.enabled),n.sections[e]={...n.sections[e],...t},t.type===`object`&&(n.sections[e].children=n.sections[e].children||[]),t.type===`flow`&&(n.sections[e].contentKey=n.sections[e].contentKey||`动作内容`,n.sections[e].contentAliases=n.sections[e].contentAliases||[`动作内容`,`动作`,`动作说明`,`内容`,`说明`],n.sections[e].itemFields=n.sections[e].itemFields||[{key:`动作内容`,label:`动作内容`,enabled:!0,editable:!0,maxLength:800,value:``}])})},j=e=>{x(t=>{t.sections.splice(e,1)})},M=e=>{x(t=>{let n=t.sections[e];n.children=n.children||[],n.children.push(F9(`string`))})},N=(e,t,n)=>{x(r=>{let i=r.sections[e],a=i.children||[],o=a[t];E9(i?.key,o?.key)&&(delete n.key,delete n.type,delete n.enabled,n.editable=!1),a[t]={...a[t],...n},r.sections[e].children=a})},P=(e,t)=>{x(n=>{n.sections[e].children?.splice(t,1)})},F=e=>{x(t=>{let n=t.sections[e];n.itemFields=n.itemFields||[],n.itemFields.push({key:`新流程字段`,label:`新流程字段`,enabled:!0,editable:!0,maxLength:800,value:``})})},I=(e,t,n)=>{x(r=>{let i=r.sections[e].itemFields||[];i[t]={...i[t],...n},r.sections[e].itemFields=i})},L=(e,t)=>{x(n=>{n.sections[e].itemFields?.splice(t,1)})},R=()=>{x(e=>{e.timePlanRules.push(SWe())})},z=(e,t)=>{x(n=>{n.timePlanRules[e]={...n.timePlanRules[e],...t}})},B=e=>{x(t=>{t.timePlanRules.splice(e,1)})},V=(e,t,n)=>{x(r=>{let i=r.timePlanRules[e];n.ratio!==void 0&&(i.ratios[t]=Number(n.ratio||0)),n.stage!==void 0&&(i.segments[t].stage=n.stage),n.description!==void 0&&(i.segments[t].description=n.description)})},H=e=>{x(t=>{let n=t.timePlanRules[e];n.ratios.push(1),n.segments.push({stage:`新阶段`,description:`阶段说明`})})},U=(e,t)=>{x(n=>{let r=n.timePlanRules[e];r.ratios.splice(t,1),r.segments.splice(t,1)})},W=(0,C.useMemo)(()=>v.map((e,t)=>({key:`section-${t}`,label:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(S9,{strong:!0,children:e.label||e.key||`未命名分组`}),e.key&&e.key!==e.label&&(0,Q.jsxs)(kR,{color:`blue`,children:[`key: `,e.key]}),(0,Q.jsx)(kR,{children:e.type}),D9(e.key)&&(0,Q.jsx)(kR,{color:`red`,children:`系统锁定`}),!e.enabled&&!D9(e.key)&&(0,Q.jsx)(kR,{color:`default`,children:`已禁用`})]}),children:(0,Q.jsxs)(NM,{direction:`vertical`,style:{width:`100%`},size:`middle`,children:[(0,Q.jsxs)(GP,{gutter:12,align:`middle`,children:[(0,Q.jsx)(sj,{span:4,children:(0,Q.jsx)(HN,{addonBefore:`key`,value:e.key,maxLength:64,placeholder:`传给 AI 的字段名`,disabled:D9(e.key),onChange:e=>A(t,{key:e.target.value})})}),(0,Q.jsx)(sj,{span:4,children:(0,Q.jsx)(HN,{addonBefore:`label`,value:e.label,maxLength:64,placeholder:`后台显示名称`,onChange:e=>A(t,{label:e.target.value})})}),(0,Q.jsx)(sj,{span:4,children:(0,Q.jsx)(Ob,{value:e.type,options:w9,style:{width:`100%`},disabled:D9(e.key),onChange:e=>A(t,{type:e})})}),(0,Q.jsx)(sj,{span:3,children:(0,Q.jsxs)(NM,{children:[`启用`,(0,Q.jsx)(uF,{checked:D9(e.key)?!0:e.enabled,disabled:D9(e.key),onChange:e=>A(t,{enabled:e})})]})}),(0,Q.jsx)(sj,{span:3,children:(0,Q.jsxs)(NM,{children:[`可编辑`,(0,Q.jsx)(uF,{checked:e.editable,onChange:e=>A(t,{editable:e})})]})}),(0,Q.jsx)(sj,{span:4,children:(0,Q.jsx)(jj,{min:1,max:2e4,value:e.maxLength,addonBefore:`长度`,style:{width:`100%`},onChange:e=>A(t,{maxLength:Number(e||1e3)})})}),(0,Q.jsx)(sj,{span:2,style:{textAlign:`right`},children:(0,Q.jsx)(kP,{title:`确认删除该分组?`,disabled:D9(e.key),onConfirm:()=>j(t),children:(0,Q.jsx)(cC,{danger:!0,icon:(0,Q.jsx)(MR,{}),disabled:D9(e.key)})})})]}),e.type===`object`&&(0,Q.jsx)(RA,{size:`small`,title:`对象字段`,extra:(0,Q.jsx)(cC,{size:`small`,icon:(0,Q.jsx)(pA,{}),onClick:()=>M(t),children:`新增字段`}),children:(0,Q.jsx)(NM,{direction:`vertical`,style:{width:`100%`},children:(e.children||[]).map((n,r)=>(0,Q.jsxs)(GP,{gutter:8,align:`middle`,children:[(0,Q.jsx)(sj,{span:4,children:(0,Q.jsx)(HN,{addonBefore:`key`,value:n.key,maxLength:64,placeholder:`传给 AI 的字段名`,disabled:E9(e.key,n.key),onChange:e=>N(t,r,{key:e.target.value})})}),(0,Q.jsx)(sj,{span:4,children:(0,Q.jsx)(HN,{addonBefore:`label`,value:n.label,maxLength:64,placeholder:`后台显示名称`,onChange:e=>N(t,r,{label:e.target.value})})}),(0,Q.jsx)(sj,{span:3,children:(0,Q.jsx)(Ob,{value:n.type,options:w9.filter(e=>e.value!==`object`&&e.value!==`flow`),style:{width:`100%`},disabled:E9(e.key,n.key),onChange:e=>N(t,r,{type:e})})}),(0,Q.jsx)(sj,{span:2,children:(0,Q.jsxs)(NM,{children:[`启用`,(0,Q.jsx)(uF,{checked:E9(e.key,n.key)?!0:n.enabled,disabled:E9(e.key,n.key),onChange:e=>N(t,r,{enabled:e})})]})}),(0,Q.jsx)(sj,{span:2,children:(0,Q.jsxs)(NM,{children:[`编辑`,(0,Q.jsx)(uF,{checked:E9(e.key,n.key)?!1:n.editable,disabled:E9(e.key,n.key),onChange:e=>N(t,r,{editable:e})})]})}),(0,Q.jsx)(sj,{span:3,children:(0,Q.jsx)(jj,{min:1,max:2e4,value:n.maxLength,addonBefore:`长度`,style:{width:`100%`},onChange:e=>N(t,r,{maxLength:Number(e||1e3)})})}),(0,Q.jsx)(sj,{span:5,children:(0,Q.jsx)(HN,{value:Array.isArray(n.value)?n.value.join(`/`):String(n.value??``),maxLength:n.maxLength||1e3,placeholder:`默认值`,onChange:e=>N(t,r,{value:n.type===`array`?e.target.value.split(`/`).filter(Boolean):e.target.value})})}),(0,Q.jsx)(sj,{span:1,style:{textAlign:`right`},children:(0,Q.jsx)(cC,{danger:!0,size:`small`,icon:(0,Q.jsx)(MR,{}),disabled:E9(e.key,n.key),onClick:()=>P(t,r)})})]},`child-${t}-${r}`))})}),e.type===`flow`&&(0,Q.jsxs)(RA,{size:`small`,title:`流程数组对象字段`,extra:(0,Q.jsx)(cC,{size:`small`,icon:(0,Q.jsx)(pA,{}),onClick:()=>F(t),children:`新增流程字段`}),children:[(0,Q.jsxs)(GP,{gutter:12,style:{marginBottom:12},children:[(0,Q.jsx)(sj,{span:6,children:(0,Q.jsx)(HN,{addonBefore:`内容字段`,value:e.contentKey,maxLength:64,onChange:e=>A(t,{contentKey:e.target.value})})}),(0,Q.jsx)(sj,{span:18,children:(0,Q.jsx)(HN,{addonBefore:`别名 / 分隔`,value:(e.contentAliases||[]).join(`/`),onChange:e=>A(t,{contentAliases:e.target.value.split(`/`).map(e=>e.trim()).filter(Boolean)})})})]}),(0,Q.jsx)(NM,{direction:`vertical`,style:{width:`100%`},children:(e.itemFields||[]).map((e,n)=>(0,Q.jsxs)(GP,{gutter:8,align:`middle`,children:[(0,Q.jsx)(sj,{span:5,children:(0,Q.jsx)(HN,{addonBefore:`key`,value:e.key,maxLength:64,placeholder:`流程对象字段名`,onChange:e=>I(t,n,{key:e.target.value})})}),(0,Q.jsx)(sj,{span:5,children:(0,Q.jsx)(HN,{addonBefore:`label`,value:e.label,maxLength:64,placeholder:`后台显示名称`,onChange:e=>I(t,n,{label:e.target.value})})}),(0,Q.jsx)(sj,{span:3,children:(0,Q.jsxs)(NM,{children:[`启用`,(0,Q.jsx)(uF,{checked:e.enabled,onChange:e=>I(t,n,{enabled:e})})]})}),(0,Q.jsx)(sj,{span:3,children:(0,Q.jsxs)(NM,{children:[`编辑`,(0,Q.jsx)(uF,{checked:e.editable,onChange:e=>I(t,n,{editable:e})})]})}),(0,Q.jsx)(sj,{span:4,children:(0,Q.jsx)(jj,{min:1,max:2e4,value:e.maxLength,addonBefore:`长度`,style:{width:`100%`},onChange:e=>I(t,n,{maxLength:Number(e||800)})})}),(0,Q.jsx)(sj,{span:3,children:(0,Q.jsx)(HN,{value:String(e.value??``),maxLength:e.maxLength||800,placeholder:`默认值`,onChange:e=>I(t,n,{value:e.target.value})})}),(0,Q.jsx)(sj,{span:1,style:{textAlign:`right`},children:(0,Q.jsx)(cC,{danger:!0,size:`small`,icon:(0,Q.jsx)(MR,{}),onClick:()=>L(t,n)})})]},`flow-${t}-${n}`))})]}),e.type!==`object`&&e.type!==`flow`&&(0,Q.jsx)(RA,{size:`small`,title:`默认值`,children:(0,Q.jsx)(C9,{rows:3,value:Array.isArray(e.value)?e.value.join(` + `,disabled:!i})}),(0,Q.jsx)(X.Item,{name:`alipay_gateway`,label:`网关地址`,children:(0,Q.jsx)(zN,{placeholder:`https://openapi.alipay.com/gateway.do`,size:`large`,disabled:!i})}),(0,Q.jsx)(X.Item,{name:`alipay_notify_url`,label:`回调地址`,children:(0,Q.jsx)(zN,{placeholder:`https://yourdomain.com/api/payments/alipay/callback`,size:`large`,disabled:!i})})]})]})})]}),(0,Q.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,marginTop:24},children:(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(K2,{}),onClick:async()=>{try{let e=await u.validateFields();t(!0),await tVe({payment_mock:String(o),payment_wechat_enabled:String(n),payment_wechat_appid:e.wechat_appid||``,payment_wechat_mch_id:e.wechat_mch_id||``,payment_wechat_private_key:e.wechat_private_key||``,payment_wechat_cert_serial_no:e.wechat_cert_serial_no||``,payment_wechat_api_v3_key:e.wechat_api_v3_key||``,payment_wechat_notify_url:e.wechat_notify_url||``,payment_wechat_public_key:e.wechat_public_key||``,payment_wechat_public_key_id:e.wechat_public_key_id||``,payment_alipay_enabled:String(i),payment_alipay_app_id:e.alipay_app_id||``,payment_alipay_private_key:e.alipay_private_key||``,payment_alipay_public_key:e.alipay_public_key||``,payment_alipay_notify_url:e.alipay_notify_url||``,payment_alipay_gateway:e.alipay_gateway||``,payment_order_timeout:String(e.order_timeout||180)}),xP.success(`支付配置已保存`),d()}catch{xP.error(`保存失败`)}finally{t(!1)}},loading:e,size:`large`,style:{borderRadius:8,minWidth:160,height:44,fontSize:15},children:`保存配置`})})]})},{Option:W5}=Cb,{RangePicker:rUe}=uM,iUe=()=>{let[e,t]=(0,C.useState)(!1),[n,r]=(0,C.useState)(null),[i,a]=(0,C.useState)(1),[o,s]=(0,C.useState)(10),[c,l]=(0,C.useState)(0),[u,d]=(0,C.useState)({startDate:(0,$S.default)().format(`YYYY-MM-DD`),endDate:(0,$S.default)().format(`YYYY-MM-DD`)}),f=async()=>{try{t(!0);let[e,n]=await Promise.all([nVe(u),rVe({...u,page:i,pageSize:o})]);r({...e,recent:n.items||[]}),l(n.total)}catch{xP.error(`加载支付统计失败`)}finally{t(!1)}};(0,C.useEffect)(()=>{f()},[u,i,o]);let p=(e,t)=>{a(e),s(t)},m=()=>{d({startDate:(0,$S.default)().format(`YYYY-MM-DD`),endDate:(0,$S.default)().format(`YYYY-MM-DD`)})},h=async e=>{try{t(!0),await iVe(e),xP.success(`退款成功`),await f()}catch(e){xP.error(e?.response?.data?.detail||`退款失败`)}finally{t(!1)}},g=e=>{e&&e.length===2&&d(t=>({...t,startDate:e[0].format(`YYYY-MM-DD`),endDate:e[1].format(`YYYY-MM-DD`)}))},_={paid:{color:`green`,label:`已支付`,icon:(0,Q.jsx)(RK,{})},pending:{color:`gold`,label:`待支付`,icon:(0,Q.jsx)(oM,{})},cancelled:{color:`default`,label:`已取消`,icon:(0,Q.jsx)(uq,{})},refunded:{color:`red`,label:`已退款`,icon:(0,Q.jsx)(C6,{})}},v={alipay:{color:`blue`,label:`支付宝`},wechat:{color:`green`,label:`微信`}},y=[{title:`订单号`,dataIndex:`orderNo`,key:`orderNo`,width:200},{title:`用户`,dataIndex:`username`,key:`username`,width:120},{title:`支付方式`,dataIndex:`paymentMethod`,key:`paymentMethod`,width:100,render:e=>{let t=v[e]||{color:`default`,label:e};return(0,Q.jsx)(CR,{color:t.color,children:t.label})}},{title:`金额`,dataIndex:`amount`,key:`amount`,width:100,render:e=>(0,Q.jsxs)(Z.Text,{strong:!0,style:{color:`#10b981`},children:[`¥`,e.toFixed(2)]})},{title:`积分`,dataIndex:`credits`,key:`credits`,width:80},{title:`状态`,dataIndex:`status`,key:`status`,width:100,render:e=>{let t=_[e]||{color:`default`,label:e,icon:null};return(0,Q.jsx)(CR,{color:t.color,icon:t.icon,children:t.label})}},{title:`支付宝交易号`,dataIndex:`tradeNo`,key:`tradeNo`,width:200,render:e=>e||`-`},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:160,render:e=>(0,Q.jsx)(`span`,{className:`date-display`,style:{color:`#94a3b8`},children:e?D5(e):`-`})},{title:`支付时间`,dataIndex:`paidAt`,key:`paidAt`,width:160,render:e=>(0,Q.jsx)(`span`,{className:`date-display`,style:{color:`#94a3b8`},children:e?D5(e):`-`})},{title:`操作`,key:`action`,width:120,render:(e,t)=>t.status===`paid`?(0,Q.jsx)(EP,{title:`确认要退款该订单吗?`,description:`退款后积分会扣除,金额会原路返回`,onConfirm:()=>h(t.orderNo),okText:`确认`,cancelText:`取消`,children:(0,Q.jsx)(ZS,{type:`link`,danger:!0,size:`small`,icon:(0,Q.jsx)(C6,{}),children:`退款`})}):null}];if(!n)return(0,Q.jsx)(`div`,{style:{padding:24,color:`#94a3b8`},children:`加载中…`});let b=n.byStatus?.paid||{count:0,amount:0},x=n.byStatus?.pending||{count:0,amount:0},S=n.byStatus?.cancelled||{count:0,amount:0},w=n.byStatus?.refunded||{count:0,amount:0},T=b.count+x.count+S.count+w.count,E=n.month||{count:0,amount:0};return(0,Q.jsx)($p,{locale:F8.default,children:(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(HP,{gutter:[16,16],style:{marginBottom:24},children:[(0,Q.jsx)(ij,{xs:24,sm:12,lg:12,children:(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsx)(GP,{title:`今日收入`,value:n.today.paidAmount,precision:2,prefix:(0,Q.jsx)($J,{style:{color:`#10b981`}}),suffix:`元`,valueStyle:{color:`#10b981`,fontWeight:700}}),(0,Q.jsxs)(Z.Text,{type:`secondary`,style:{fontSize:12},children:[n.today.paidCount,` 笔订单`]})]})}),(0,Q.jsx)(ij,{xs:24,sm:12,lg:12,children:(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsx)(GP,{title:`本月累计`,value:E.paidAmount,precision:2,prefix:(0,Q.jsx)($J,{style:{color:`#6366f1`}}),suffix:`元`,valueStyle:{color:`#6366f1`,fontWeight:700}}),(0,Q.jsxs)(Z.Text,{type:`secondary`,style:{fontSize:12},children:[E.paidCount,` 笔订单`]})]})})]}),(0,Q.jsx)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`,marginBottom:16},title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)($J,{}),`订单状态分布`]}),children:(0,Q.jsx)(HP,{gutter:16,children:[`paid`,`pending`,`cancelled`,`refunded`].map(e=>{let t=n.byStatus?.[e]||{count:0,amount:0},r=_[e],i=T>0?(t.count/T*100).toFixed(1):`0.0`;return(0,Q.jsx)(ij,{span:6,children:(0,Q.jsxs)(`div`,{style:{padding:16,borderRadius:10,background:`#fafbff`,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(CR,{color:r.color,icon:r.icon,children:r.label}),(0,Q.jsxs)(Z.Text,{type:`secondary`,style:{fontSize:12},children:[i,`%`]})]}),(0,Q.jsxs)(`div`,{style:{marginTop:8,fontSize:20,fontWeight:700},children:[t.count,` `,(0,Q.jsx)(`span`,{style:{fontSize:13,color:`#94a3b8`,fontWeight:400},children:`笔`})]}),(0,Q.jsxs)(`div`,{style:{fontSize:13,color:`#64748b`,marginTop:4},children:[`¥`,t.amount.toFixed(2)]})]})},e)})})}),(0,Q.jsxs)(FA,{bordered:!1,style:{borderRadius:12,border:`1px solid #f0f0f5`},title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)($J,{}),`订单列表`]}),children:[(0,Q.jsxs)(HP,{gutter:[16,16],align:`middle`,style:{marginBottom:24},children:[(0,Q.jsxs)(ij,{xs:24,sm:12,md:6,children:[(0,Q.jsx)(`span`,{style:{marginRight:8},children:`支付方式:`}),(0,Q.jsxs)(Cb,{placeholder:`全部`,allowClear:!0,style:{width:150},value:u.paymentMethod,onChange:e=>d(t=>({...t,paymentMethod:e})),children:[(0,Q.jsx)(W5,{value:`alipay`,children:`支付宝`}),(0,Q.jsx)(W5,{value:`wechat`,children:`微信`})]})]}),(0,Q.jsxs)(ij,{xs:24,sm:12,md:6,children:[(0,Q.jsx)(`span`,{style:{marginRight:8},children:`状态:`}),(0,Q.jsxs)(Cb,{placeholder:`全部`,allowClear:!0,style:{width:150},value:u.status,onChange:e=>d(t=>({...t,status:e})),children:[(0,Q.jsx)(W5,{value:`paid`,children:`已支付`}),(0,Q.jsx)(W5,{value:`pending`,children:`待支付`}),(0,Q.jsx)(W5,{value:`cancelled`,children:`已取消`}),(0,Q.jsx)(W5,{value:`refunded`,children:`已退款`})]})]}),(0,Q.jsxs)(ij,{xs:24,sm:12,md:8,children:[(0,Q.jsx)(`span`,{style:{marginRight:8},children:`日期范围:`}),(0,Q.jsx)(rUe,{value:[(0,$S.default)(u.startDate),(0,$S.default)(u.endDate)],onChange:g})]}),(0,Q.jsx)(ij,{xs:24,sm:12,md:4,children:(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(zP,{}),onClick:m,children:`重置`})})]}),(0,Q.jsx)(uR,{columns:y,dataSource:n.recent||[],rowKey:`id`,loading:e,pagination:{current:i,pageSize:o,total:c,onChange:p,showSizeChanger:!0,showTotal:e=>`共 ${e} 条`},scroll:{x:1e3},size:`middle`})]})]})})},G5=[{name:`ShoppingCartOutlined`,label:`购物`,component:(0,Q.jsx)(g4,{})},{name:`BookOutlined`,label:`书籍`,component:(0,Q.jsx)(mW,{})},{name:`HomeOutlined`,label:`房产`,component:(0,Q.jsx)(hQ,{})},{name:`FireOutlined`,label:`火`,component:(0,Q.jsx)(KX,{})},{name:`RocketOutlined`,label:`科技`,component:(0,Q.jsx)(P2,{})},{name:`SkinOutlined`,label:`时尚`,component:(0,Q.jsx)(M4,{})},{name:`CompassOutlined`,label:`指南`,component:(0,Q.jsx)(Uq,{})},{name:`HeartOutlined`,label:`健康`,component:(0,Q.jsx)(iQ,{})},{name:`CarOutlined`,label:`汽车`,component:(0,Q.jsx)(cK,{})},{name:`CameraOutlined`,label:`相机`,component:(0,Q.jsx)($G,{})},{name:`CloudOutlined`,label:`云`,component:(0,Q.jsx)(vq,{})},{name:`StarOutlined`,label:`星`,component:(0,Q.jsx)(l3,{})},{name:`TrophyOutlined`,label:`奖杯`,component:(0,Q.jsx)(d6,{})},{name:`ThunderboltOutlined`,label:`闪电`,component:(0,Q.jsx)(J3,{})},{name:`BulbOutlined`,label:`灯泡`,component:(0,Q.jsx)(kG,{})},{name:`CoffeeOutlined`,label:`咖啡`,component:(0,Q.jsx)(Lq,{})},{name:`CrownOutlined`,label:`皇冠`,component:(0,Q.jsx)(mJ,{})},{name:`DashboardOutlined`,label:`仪表`,component:(0,Q.jsx)(SJ,{})},{name:`FlagOutlined`,label:`旗帜`,component:(0,Q.jsx)(XX,{})},{name:`GlobalOutlined`,label:`全球`,component:(0,Q.jsx)(BZ,{})},{name:`GiftOutlined`,label:`礼物`,component:(0,Q.jsx)(NZ,{})},{name:`LaptopOutlined`,label:`笔记本`,component:(0,Q.jsx)(e$,{})},{name:`MobileOutlined`,label:`手机`,component:(0,Q.jsx)(p1,{})},{name:`MonitorOutlined`,label:`显示器`,component:(0,Q.jsx)(y1,{})},{name:`PayCircleOutlined`,label:`支付`,component:(0,Q.jsx)(W1,{})},{name:`PictureOutlined`,label:`图片`,component:(0,Q.jsx)(t0,{})},{name:`PlayCircleOutlined`,label:`播放`,component:(0,Q.jsx)(u0,{})},{name:`SafetyOutlined`,label:`安全`,component:(0,Q.jsx)(U2,{})},{name:`ShoppingOutlined`,label:`商店`,component:(0,Q.jsx)(y4,{})},{name:`SmileOutlined`,label:`笑脸`,component:(0,Q.jsx)(K4,{})},{name:`SoundOutlined`,label:`声音`,component:(0,Q.jsx)(r3,{})},{name:`TagOutlined`,label:`标签`,component:(0,Q.jsx)(F3,{})},{name:`TeamOutlined`,label:`团队`,component:(0,Q.jsx)(G3,{})},{name:`ToolOutlined`,label:`工具`,component:(0,Q.jsx)(t6,{})},{name:`TruckOutlined`,label:`物流`,component:(0,Q.jsx)(h6,{})},{name:`VideoCameraOutlined`,label:`视频`,component:(0,Q.jsx)(t8,{})},{name:`WalletOutlined`,label:`钱包`,component:(0,Q.jsx)(a8,{})},{name:`BankOutlined`,label:`银行`,component:(0,Q.jsx)(_U,{})},{name:`BuildOutlined`,label:`建筑`,component:(0,Q.jsx)(bG,{})},{name:`ExperimentOutlined`,label:`实验`,component:(0,Q.jsx)(IY,{})},{name:`HighlightOutlined`,label:`高亮`,component:(0,Q.jsx)(lQ,{})},{name:`IdcardOutlined`,label:`名片`,component:(0,Q.jsx)(TQ,{})},{name:`MedicineBoxOutlined`,label:`医药`,component:(0,Q.jsx)(z$,{})},{name:`ReadOutlined`,label:`阅读`,component:(0,Q.jsx)(o2,{})},{name:`RestOutlined`,label:`休息`,component:(0,Q.jsx)(y2,{})},{name:`SketchOutlined`,label:`钻石`,component:(0,Q.jsx)(O4,{})},{name:`SolutionOutlined`,label:`方案`,component:(0,Q.jsx)(Q4,{})}],aUe=Object.fromEntries(G5.map(e=>[e.name,e.component]));function K5(e){return aUe[e]||(0,Q.jsx)(bH,{})}function oUe(e){try{let t=typeof e==`string`?JSON.parse(e):e;if(!Array.isArray(t))return{skillItems:[],optionGroups:[]};let n=[],r=[];for(let e of t)e&&e.type===`option_group`&&e.name&&Array.isArray(e.options)?r.push({name:e.name,options:e.options}):e&&e.key&&e.label&&n.push({key:e.key,label:e.label});return{skillItems:n,optionGroups:r}}catch{return{skillItems:[],optionGroups:[]}}}var sUe=({value:e,onChange:t})=>{let n=G5.find(t=>t.name===e);return(0,Q.jsx)(MM,{trigger:[`click`],dropdownRender:()=>(0,Q.jsx)(`div`,{style:{background:`#fff`,borderRadius:12,padding:12,width:360,boxShadow:`0 12px 40px rgba(0,0,0,0.15)`,border:`1px solid #f0f0f5`},children:(0,Q.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(8, 1fr)`,gap:4},children:G5.map(n=>(0,Q.jsx)(`div`,{onMouseDown:e=>{e.preventDefault(),e.stopPropagation(),t?.(n.name)},title:n.label,style:{width:40,height:40,borderRadius:8,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,fontSize:18,transition:`all 0.15s`,background:e===n.name?`#6366f1`:`transparent`,color:e===n.name?`#fff`:`#64748b`,border:e===n.name?`none`:`1px solid transparent`},onMouseEnter:t=>{e!==n.name&&(t.currentTarget.style.background=`#f1f5f9`)},onMouseLeave:t=>{e!==n.name&&(t.currentTarget.style.background=`transparent`)},children:n.component},n.name))})}),children:(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,padding:`8px 12px`,borderRadius:8,border:`1px solid #d9d9d9`,cursor:`pointer`,height:40},children:[e?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`span`,{style:{fontSize:18,color:`#6366f1`},children:K5(e)}),(0,Q.jsx)(`span`,{style:{color:`#64748b`,fontSize:13},children:n?.label||e})]}):(0,Q.jsx)(`span`,{style:{color:`#bfbfbf`,fontSize:13},children:`选择图标`}),(0,Q.jsx)(hb,{style:{fontSize:10,color:`#bfbfbf`,marginLeft:`auto`}})]})})},cUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)({open:!1,item:null}),[c]=X.useForm(),l=async()=>{r(!0);try{t((await KBe()).map(e=>{let{skillItems:t,optionGroups:n}=oUe(e.skills);return{id:e.id,key:e.key,label:e.label,icon:e.icon||``,description:e.description||``,skills:JSON.stringify(t),optionGroups:n,isActive:e.is_active??e.isActive??!0,sortOrder:e.sort_order??e.sortOrder??0}}))}catch{xP.error(`加载行业配置失败`)}finally{r(!1)}};(0,C.useEffect)(()=>{l()},[]);let u=async()=>{try{let e=await c.validateFields();a(!0);let t=[];e.skills_wentutujie?.trim()&&t.push({type:`skill`,key:`文图理解生成视频提示词`,label:e.skills_wentutujie.trim()}),e.skills_wentutujie_image?.trim()&&t.push({type:`skill`,key:`文图理解生成图片提示词`,label:e.skills_wentutujie_image.trim()});let n=(e.optionGroups||[]).filter(e=>e?.name?.trim()).map(e=>({name:e.name.trim(),options:(e.options||[]).filter(e=>e?.trim())})).filter(e=>e.options.length>0);for(let e of n)t.push({type:`option_group`,name:e.name,options:e.options});let r={key:e.key,label:e.label,icon:e.icon||``,description:e.description||``,skills:t,is_active:e.is_active??!0,sort_order:e.sort_order??0};o.item?.id?(await s5({id:o.item.id,...r}),xP.success(`已更新`)):(await s5(r),xP.success(`已添加`)),s({open:!1,item:null}),c.resetFields(),l()}catch(e){if(e?.errorFields)return;xP.error(e?.message||`保存失败`)}finally{a(!1)}},d=async e=>{try{await qBe(e),xP.success(`已删除`),l()}catch(e){xP.error(e?.message||`删除失败`)}},f=e=>{s({open:!0,item:e||null});let t=``,n=``,r=[];if(e){try{let r=JSON.parse(e.skills);if(Array.isArray(r))for(let e of r)(e.key===`文图理解生成视频提示词`||e.key===`文图理解`)&&(t=e.label||``),e.key===`文图理解生成图片提示词`&&(n=e.label||``)}catch{}r=e.optionGroups.length>0?e.optionGroups:[{name:``,options:[]}]}e?c.setFieldsValue({key:e.key,label:e.label,icon:e.icon||``,description:e.description,skills_wentutujie:t,skills_wentutujie_image:n,optionGroups:r,is_active:e.isActive,sort_order:e.sortOrder}):(c.resetFields(),c.setFieldsValue({is_active:!0,sort_order:0,optionGroups:[{name:``,options:[]}]}))};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(FA,{style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(bH,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`行业与技能配置`}),(0,Q.jsxs)(CR,{color:`purple`,children:[e.length,` 个行业`]})]}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(uA,{}),onClick:()=>f(),style:{borderRadius:8},children:`添加行业`})]}),(0,Q.jsx)(uR,{columns:[{title:`行业`,key:`industry`,width:180,render:(e,t)=>(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:[(0,Q.jsx)(`div`,{style:{width:36,height:36,borderRadius:10,background:`#f1f5f9`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:18,color:`#6366f1`,flexShrink:0},children:K5(t.icon)}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,children:t.label}),(0,Q.jsx)(`div`,{style:{color:`#94a3b8`,fontSize:12},children:t.key})]})]})},{title:`描述`,dataIndex:`description`,ellipsis:!0},{title:`选项配置`,key:`optionGroups`,width:260,render:(e,t)=>!t.optionGroups||t.optionGroups.length===0?(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#cbd5e1`},children:`未配置`}):(0,Q.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:4},children:t.optionGroups.map((e,t)=>(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6},children:[(0,Q.jsx)(CR,{color:`blue`,style:{margin:0,fontSize:11},children:e.name}),(0,Q.jsxs)(Z.Text,{style:{fontSize:11,color:`#64748b`},children:[e.options.slice(0,3).join(`、`),e.options.length>3?`...${e.options.length}项`:``]})]},t))})},{title:`文图理解生成视频提示词`,dataIndex:`skills`,ellipsis:!0,render:e=>{try{let t=JSON.parse(e);if(Array.isArray(t)){let e=t.find(e=>e.key===`文图理解生成视频提示词`||e.key===`文图理解`);if(e)return(0,Q.jsx)(Z.Text,{ellipsis:!0,style:{fontSize:12},children:e.label})}}catch{}return(0,Q.jsx)(`span`,{style:{color:`#bfbfbf`},children:`-`})}},{title:`文图理解生成图片提示词`,dataIndex:`skills`,ellipsis:!0,render:e=>{try{let t=JSON.parse(e);if(Array.isArray(t)){let e=t.find(e=>e.key===`文图理解生成图片提示词`);if(e)return(0,Q.jsx)(Z.Text,{ellipsis:!0,style:{fontSize:12},children:e.label})}}catch{}return(0,Q.jsx)(`span`,{style:{color:`#bfbfbf`},children:`-`})}},{title:`状态`,dataIndex:`isActive`,width:80,render:e=>(0,Q.jsx)(CR,{color:e?`green`:`default`,children:e?`启用`:`停用`})},{title:`操作`,key:`action`,width:150,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(AM,{size:4,children:[(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(kR,{}),onClick:()=>f(t),children:`编辑`}),(0,Q.jsx)(EP,{title:`确定删除该行业?`,onConfirm:()=>d(t.id),children:(0,Q.jsx)(ZS,{type:`link`,size:`small`,danger:!0,icon:(0,Q.jsx)(ER,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:n,pagination:!1,scroll:{x:900}})]}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(bH,{}),o.item?`编辑行业`:`添加行业`]}),open:o.open,onOk:u,onCancel:()=>{s({open:!1,item:null}),c.resetFields()},okText:`保存`,cancelText:`取消`,width:640,confirmLoading:i,children:(0,Q.jsxs)(X,{form:c,layout:`vertical`,style:{marginTop:16},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`key`,label:`行业标识`,style:{flex:1},rules:[{required:!0,message:`请输入标识`}],children:(0,Q.jsx)(zN,{placeholder:`例如:ecommerce`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`label`,label:`行业名称`,style:{flex:1},rules:[{required:!0,message:`请输入名称`}],children:(0,Q.jsx)(zN,{placeholder:`例如:电商`,size:`large`})})]}),(0,Q.jsx)(X.Item,{name:`icon`,label:`行业图标`,children:(0,Q.jsx)(sUe,{})}),(0,Q.jsx)(X.Item,{name:`description`,label:`行业描述`,children:(0,Q.jsx)(zN.TextArea,{rows:2,placeholder:`行业描述`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`skills_wentutujie`,label:`文图理解生成视频提示词`,extra:`用于LLM优化视频提示词的系统指令,根据行业特点引导AI理解文案与画面的关系`,children:(0,Q.jsx)(zN.TextArea,{rows:3,placeholder:`请输入文图理解生成视频提示词,例如: +你是一位专业的电商视频文案专家,擅长将产品卖点转化为视觉语言`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`skills_wentutujie_image`,label:`文图理解生成图片提示词`,extra:`用于LLM优化图片提示词的系统指令,根据行业特点引导AI理解文案与画面的关系`,children:(0,Q.jsx)(zN.TextArea,{rows:3,placeholder:`请输入文图理解生成图片提示词,例如: +你是一位专业的电商图片文案专家,擅长将产品卖点转化为图片生成提示词`,size:`large`})}),(0,Q.jsxs)(`div`,{style:{marginBottom:8},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:13},children:`行业选项配置`}),(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,marginLeft:8},children:`添加选项组,每组包含名称和多个选项,前台将显示为下拉选择`})]}),(0,Q.jsx)(X.List,{name:`optionGroups`,children:(e,{add:t,remove:n})=>(0,Q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8,marginBottom:16},children:[e.map(({key:e,name:t,...r})=>(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:8,alignItems:`flex-start`,padding:`10px 12px`,borderRadius:10,background:`#f8f9fc`,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`,gap:8},children:[(0,Q.jsx)(X.Item,{...r,name:[t,`name`],label:`选项名称`,style:{marginBottom:0},rules:[{required:!0,message:`请输入选项名称`}],children:(0,Q.jsx)(zN,{placeholder:`例如:视频风格`,size:`middle`,style:{borderRadius:8}})}),(0,Q.jsx)(X.Item,{...r,name:[t,`options`],label:`选项内容`,style:{marginBottom:0},children:(0,Q.jsx)(Cb,{mode:`tags`,size:`middle`,placeholder:`输入选项后回车添加`,style:{borderRadius:8},tokenSeparators:[`,`,`,`,`、`]})})]}),(0,Q.jsx)(s1,{onClick:()=>n(t),style:{color:`#ef4444`,fontSize:16,marginTop:34,cursor:`pointer`,flexShrink:0}})]},e)),(0,Q.jsx)(ZS,{type:`dashed`,onClick:()=>t(),block:!0,icon:(0,Q.jsx)(uA,{}),style:{borderRadius:8,height:36},children:`添加选项组`})]})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`is_active`,label:`启用状态`,valuePropName:`checked`,initialValue:!0,style:{flex:1},children:(0,Q.jsx)(sF,{})}),(0,Q.jsx)(X.Item,{name:`sort_order`,label:`排序`,initialValue:0,style:{flex:1},children:(0,Q.jsx)(zN,{type:`number`,size:`large`})})]})]})})]})};function q5(e){if(Array.isArray(e))return e;if(typeof e==`string`)try{return JSON.parse(e)}catch{return[]}return[]}var lUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)({open:!1,engine:null}),[o]=X.useForm(),s=async()=>{r(!0);try{t((await JBe()).map(e=>({...e,supportedRatios:q5(e.supportedRatios),supportedResolutions:q5(e.supportedResolutions),supportedDurations:q5(e.supportedDurations)})))}catch{xP.error(`加载视频引擎失败`)}finally{r(!1)}};(0,C.useEffect)(()=>{s()},[]);let c=async()=>{try{let e=await o.validateFields(),t={name:e.name,provider:e.provider,api_base:e.apiBase,api_key:e.apiKey,model_name:e.modelName,supported_ratios:JSON.stringify(e.supportedRatios||[]),supported_resolutions:JSON.stringify(e.supportedResolutions||[]),supported_durations:JSON.stringify(e.supportedDurations||[]),max_duration:e.maxDuration??15,max_image_count:e.maxImageCount??2,max_video_count:e.maxVideoCount??0,max_audio_count:e.maxAudioCount??0,supports_first_last_frame:e.supportsFirstLastFrame??!1,supports_universal_reference:e.supportsUniversalReference??!0,is_active:e.isActive??!0,priority:e.priority??0};i.engine?(await c5({id:i.engine.id,...t}),xP.success(`已更新`)):(await c5(t),xP.success(`已添加`)),a({open:!1,engine:null}),o.resetFields(),s()}catch(e){if(e?.errorFields)return;xP.error(e?.message||`保存失败`)}},l=async e=>{try{await YBe(e),xP.success(`已删除`),s()}catch{xP.error(`删除失败`)}},u=e=>{a({open:!0,engine:e||null}),e?o.setFieldsValue(e):(o.resetFields(),o.setFieldsValue({isActive:!0,priority:0,maxDuration:15,maxImageCount:2,maxVideoCount:0,maxAudioCount:0,supportsFirstLastFrame:!1,supportsUniversalReference:!0,supportedRatios:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],supportedResolutions:[`480p`,`720p`,`1080p`],supportedDurations:[4,5,6,7,8,9,10,11,12,13,14,15]}))};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(u0,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`视频引擎配置`}),(0,Q.jsxs)(CR,{color:`purple`,children:[e.length,` 个引擎`]})]}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(uA,{}),onClick:()=>u(),style:{borderRadius:8},children:`添加引擎`})]}),(0,Q.jsx)(uR,{columns:[{title:`引擎名称`,key:`name`,width:180,render:(e,t)=>(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:[(0,Q.jsx)(`div`,{style:{width:36,height:36,borderRadius:8,background:t.isActive?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`linear-gradient(135deg, #94a3b8, #cbd5e1)`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#fff`,fontSize:16},children:(0,Q.jsx)(u0,{})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,children:t.name}),(0,Q.jsx)(`div`,{style:{color:`#94a3b8`,fontSize:12},children:t.provider})]})]})},{title:`支持比例`,dataIndex:`supportedRatios`,width:200,render:e=>(0,Q.jsx)(AM,{size:2,wrap:!0,children:e.map(e=>(0,Q.jsx)(CR,{children:e},e))})},{title:`支持分辨率`,dataIndex:`supportedResolutions`,width:150,render:e=>(0,Q.jsx)(AM,{size:2,wrap:!0,children:e.map(e=>(0,Q.jsx)(CR,{color:`blue`,children:e},e))})},{title:`支持时长`,dataIndex:`supportedDurations`,width:120,render:e=>(0,Q.jsx)(CR,{color:`orange`,children:e?.length?`${Math.min(...e)}-${Math.max(...e)}s`:`-`})},{title:`最大图片`,dataIndex:`maxImageCount`,width:100,render:e=>(0,Q.jsxs)(CR,{color:`purple`,children:[e,` 张`]})},{title:`最大视频`,dataIndex:`maxVideoCount`,width:100,render:e=>(0,Q.jsxs)(CR,{color:`cyan`,children:[e,` 个`]})},{title:`最大音频`,dataIndex:`maxAudioCount`,width:100,render:e=>(0,Q.jsxs)(CR,{color:e>0?`geekblue`:`default`,children:[e||0,` 段`]})},{title:`首尾帧`,dataIndex:`supportsFirstLastFrame`,width:90,render:e=>(0,Q.jsx)(CR,{color:e?`green`:`default`,children:e?`支持`:`不支持`})},{title:`全能参考`,dataIndex:`supportsUniversalReference`,width:100,render:e=>(0,Q.jsx)(CR,{color:e?`purple`:`default`,children:e?`支持`:`不支持`})},{title:`状态`,dataIndex:`isActive`,width:80,render:e=>(0,Q.jsx)(CR,{color:e?`green`:`default`,children:e?`启用`:`停用`})},{title:`操作`,key:`action`,width:150,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(AM,{size:4,children:[(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(kR,{}),onClick:()=>u(t),children:`编辑`}),(0,Q.jsx)(EP,{title:`确定删除?`,onConfirm:()=>l(t.id),children:(0,Q.jsx)(ZS,{type:`link`,size:`small`,danger:!0,icon:(0,Q.jsx)(ER,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:n,pagination:!1,scroll:{x:1200}})]}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(u0,{}),i.engine?`编辑引擎`:`添加引擎`]}),open:i.open,onOk:c,onCancel:()=>{a({open:!1,engine:null}),o.resetFields()},okText:`保存`,cancelText:`取消`,width:620,children:(0,Q.jsxs)(X,{form:o,layout:`vertical`,style:{marginTop:16},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`name`,label:`引擎名称`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(zN,{placeholder:`Seedance 2.0`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`provider`,label:`提供商`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(Cb,{size:`large`,options:[{value:`ark`,label:`火山引擎 (Ark)`}]})})]}),(0,Q.jsx)(X.Item,{name:`apiBase`,label:`API基础地址`,rules:[{required:!0}],children:(0,Q.jsx)(zN,{placeholder:`https://ark.cn-beijing.volces.com/api/v3`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`apiKey`,label:`API Key`,children:(0,Q.jsx)(zN.Password,{placeholder:`sk-****`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`modelName`,label:`模型名称`,children:(0,Q.jsx)(zN,{placeholder:`doubao-seedance-2-0-260128`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`supportedRatios`,label:`支持比例`,children:(0,Q.jsx)(Cb,{mode:`multiple`,size:`large`,options:[{value:`16:9`,label:`16:9 (横屏)`},{value:`4:3`,label:`4:3 (标准)`},{value:`1:1`,label:`1:1 (方形)`},{value:`3:4`,label:`3:4 (竖版)`},{value:`9:16`,label:`9:16 (竖屏)`},{value:`21:9`,label:`21:9 (超宽)`}]})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`supportedResolutions`,label:`支持分辨率`,style:{flex:1},children:(0,Q.jsx)(Cb,{mode:`multiple`,size:`large`,options:[{value:`480p`},{value:`720p`},{value:`1080p`}]})}),(0,Q.jsx)(X.Item,{name:`supportedDurations`,label:`支持时长(秒)`,style:{flex:1},children:(0,Q.jsx)(Cb,{mode:`multiple`,size:`large`,options:Array.from({length:12},(e,t)=>({value:t+4,label:`${t+4}秒`}))})})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`maxDuration`,label:`最大时长(秒)`,style:{flex:1},children:(0,Q.jsx)(zN,{type:`number`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`maxImageCount`,label:`最大图片数量`,style:{flex:1},children:(0,Q.jsx)(zN,{type:`number`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`maxVideoCount`,label:`最大视频数量`,style:{flex:1},children:(0,Q.jsx)(zN,{type:`number`,size:`large`})})]}),(0,Q.jsx)(`div`,{style:{display:`flex`,gap:16},children:(0,Q.jsx)(X.Item,{name:`maxAudioCount`,label:`最大参考音频数`,style:{flex:1},extra:`0 表示不支持音频参考,最大 3 段`,rules:[{validator:(e,t)=>{let n=Number(t??0);return!Number.isInteger(n)||n<0||n>3?Promise.reject(Error(`最大参考音频数必须为 0-3 的整数`)):Promise.resolve()}}],children:(0,Q.jsx)(zN,{type:`number`,size:`large`,min:0,max:3})})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`supportsFirstLastFrame`,label:`首尾帧模式`,valuePropName:`checked`,style:{paddingTop:30,flex:1},children:(0,Q.jsx)(sF,{checkedChildren:`支持`,unCheckedChildren:`不支持`})}),(0,Q.jsx)(X.Item,{name:`supportsUniversalReference`,label:`全能参考模式`,valuePropName:`checked`,style:{paddingTop:30,flex:1},children:(0,Q.jsx)(sF,{checkedChildren:`支持`,unCheckedChildren:`不支持`})}),(0,Q.jsx)(X.Item,{name:`isActive`,label:`启用状态`,valuePropName:`checked`,style:{paddingTop:30,flex:1},children:(0,Q.jsx)(sF,{})})]}),(0,Q.jsx)(`div`,{style:{display:`flex`,gap:16},children:(0,Q.jsx)(X.Item,{name:`priority`,label:`优先级`,style:{flex:1},children:(0,Q.jsx)(Cb,{size:`large`,options:[{value:0,label:`0 (默认)`},{value:1,label:`1`},{value:2,label:`2`},{value:3,label:`3`},{value:5,label:`5`},{value:10,label:`10 (最高)`}]})})})]})})]})};function uUe(e){if(Array.isArray(e))return e;if(typeof e==`string`)try{return JSON.parse(e)}catch{return[]}return[]}function dUe(e){if(e&&typeof e==`object`&&!Array.isArray(e))return e;if(typeof e==`string`)try{let t=JSON.parse(e);return t&&typeof t==`object`&&!Array.isArray(t)?t:{}}catch{return{}}return{}}var J5={"2K":{"1:1":`2048×2048`,"4:3":`2304×1728`,"3:4":`1728×2304`,"16:9":`2560×1440`,"9:16":`1600×2848`,"3:2":`2496×1664`,"2:3":`1664×2496`,"21:9":`3024×1296`},"4K":{"1:1":`4096×4096`,"4:3":`4608×3456`,"3:4":`3520×4704`,"16:9":`5404×3040`,"9:16":`3040×5504`,"3:2":`4992×3328`,"2:3":`3328×4992`,"21:9":`6197×2656`}},Y5=[`1:1`,`4:3`,`3:4`,`16:9`,`9:16`,`3:2`,`2:3`,`21:9`],fUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)({open:!1,engine:null}),[o]=X.useForm(),s=async()=>{r(!0);try{t((await XBe()).map(e=>({...e,supportedModels:uUe(e.supportedModels),supportedSizes:dUe(e.supportedSizes)})))}catch{xP.error(`加载图片引擎失败`)}finally{r(!1)}};(0,C.useEffect)(()=>{s()},[]);let c=async()=>{try{let e=await o.validateFields(),t={};for(let n of[`2K`,`4K`]){let r=e[`size_${n}`]||[];if(r.length>0){t[n]={};for(let e of r)t[n][e]=J5[n]?.[e]||e}}let n={name:e.name,provider:e.provider,api_base:e.apiBase,api_key:e.apiKey,model_name:e.modelName,supported_models:JSON.stringify(e.supportedModels||[]),supported_sizes:JSON.stringify(t),default_size:e.defaultSize||`2K`,max_image_count:e.maxImageCount??0,generate_url:e.generateUrl||``,is_active:e.isActive??!0,priority:e.priority??0};i.engine?(await l5({id:i.engine.id,...n}),xP.success(`已更新`)):(await l5(n),xP.success(`已添加`)),a({open:!1,engine:null}),o.resetFields(),s()}catch(e){if(e?.errorFields)return;xP.error(e?.message||`保存失败`)}},l=async e=>{try{await ZBe(e),xP.success(`已删除`),s()}catch{xP.error(`删除失败`)}},u=e=>{if(a({open:!0,engine:e||null}),e){let t={};for(let n of[`2K`,`4K`])t[`size_${n}`]=Object.keys(e.supportedSizes?.[n]||{});o.setFieldsValue({...e,...t})}else o.resetFields(),o.setFieldsValue({isActive:!0,priority:0,supportedModels:[`doubao-seedream-5-0-260128`],defaultSize:`2K`,maxImageCount:0,size_2K:Y5,size_4K:Y5})};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(FA,{style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(t0,{style:{fontSize:18,color:`#10b981`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`图片引擎配置`}),(0,Q.jsxs)(CR,{color:`green`,children:[e.length,` 个引擎`]})]}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(uA,{}),onClick:()=>u(),style:{borderRadius:8},children:`添加引擎`})]}),(0,Q.jsx)(uR,{columns:[{title:`引擎名称`,key:`name`,width:180,render:(e,t)=>(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:[(0,Q.jsx)(`div`,{style:{width:36,height:36,borderRadius:8,background:t.isActive?`linear-gradient(135deg, #10b981, #059669)`:`linear-gradient(135deg, #94a3b8, #cbd5e1)`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#fff`,fontSize:16},children:(0,Q.jsx)(t0,{})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,children:t.name}),(0,Q.jsx)(`div`,{style:{color:`#94a3b8`,fontSize:12},children:t.modelName})]})]})},{title:`2K 支持比例`,key:`sizes_2k`,width:260,render:(e,t)=>{let n=Object.keys(t.supportedSizes?.[`2K`]||{});return n.length===0?(0,Q.jsx)(`span`,{style:{color:`#bfbfbf`},children:`-`}):(0,Q.jsx)(AM,{size:2,wrap:!0,children:n.map(e=>(0,Q.jsxs)(CR,{color:`blue`,children:[e,` `,t.supportedSizes[`2K`][e]]},e))})}},{title:`4K 支持比例`,key:`sizes_4k`,width:260,render:(e,t)=>{let n=Object.keys(t.supportedSizes?.[`4K`]||{});return n.length===0?(0,Q.jsx)(`span`,{style:{color:`#bfbfbf`},children:`-`}):(0,Q.jsx)(AM,{size:2,wrap:!0,children:n.map(e=>(0,Q.jsxs)(CR,{color:`purple`,children:[e,` `,t.supportedSizes[`4K`][e]]},e))})}},{title:`最大图片`,dataIndex:`maxImageCount`,width:100,render:e=>(0,Q.jsxs)(CR,{color:`purple`,children:[e,` 张`]})},{title:`状态`,dataIndex:`isActive`,width:80,render:e=>(0,Q.jsx)(CR,{color:e?`green`:`default`,children:e?`启用`:`停用`})},{title:`操作`,key:`action`,width:150,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(AM,{size:4,children:[(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(kR,{}),onClick:()=>u(t),children:`编辑`}),(0,Q.jsx)(EP,{title:`确定删除?`,onConfirm:()=>l(t.id),children:(0,Q.jsx)(ZS,{type:`link`,size:`small`,danger:!0,icon:(0,Q.jsx)(ER,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:n,pagination:!1,scroll:{x:1e3}})]}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(t0,{}),i.engine?`编辑引擎`:`添加引擎`]}),open:i.open,onOk:c,onCancel:()=>{a({open:!1,engine:null}),o.resetFields()},okText:`保存`,cancelText:`取消`,width:680,children:(0,Q.jsxs)(X,{form:o,layout:`vertical`,style:{marginTop:16},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`name`,label:`引擎名称`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(zN,{placeholder:`豆包文生图`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`provider`,label:`提供商`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(Cb,{size:`large`,options:[{value:`ark`,label:`火山引擎 (Ark)`}]})})]}),(0,Q.jsx)(X.Item,{name:`apiBase`,label:`API基础地址`,rules:[{required:!0}],children:(0,Q.jsx)(zN,{placeholder:`https://ark.cn-beijing.volces.com/api/v3`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`apiKey`,label:`API Key`,children:(0,Q.jsx)(zN.Password,{placeholder:`sk-****`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`modelName`,label:`默认模型`,children:(0,Q.jsx)(zN,{placeholder:`doubao-seedream-5-0-260128`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`supportedModels`,label:`支持模型列表`,children:(0,Q.jsx)(Cb,{mode:`tags`,size:`large`,placeholder:`输入模型ID后回车添加`,tokenSeparators:[`,`,`,`],options:[{value:`doubao-seedream-5-0-260128`}]})}),(0,Q.jsxs)(`div`,{style:{background:`#f8f9fc`,borderRadius:10,padding:16,marginBottom:8},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14},children:`尺寸配置`}),(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,marginLeft:8},children:`勾选每个档位支持的比例,前台选择后传对应像素值给SDK`})]}),[`2K`,`4K`].map(e=>(0,Q.jsxs)(`div`,{style:{background:`#fafbfc`,borderRadius:10,padding:`12px 16px`,marginBottom:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:13,color:e===`2K`?`#3b82f6`:`#8b5cf6`},children:e}),(0,Q.jsx)(X.Item,{name:`size_${e}`,style:{marginTop:8,marginBottom:0},children:(0,Q.jsx)(QA.Group,{style:{width:`100%`},children:(0,Q.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(4, 1fr)`,gap:`6px 0`},children:Y5.map(t=>(0,Q.jsxs)(QA,{value:t,style:{fontSize:12},children:[t,` `,(0,Q.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:11},children:J5[e]?.[t]})]},t))})})})]},e)),(0,Q.jsx)(X.Item,{name:`defaultSize`,label:`默认尺寸档位`,children:(0,Q.jsx)(Cb,{size:`large`,options:[{value:`2K`,label:`2K`},{value:`4K`,label:`4K`}]})}),(0,Q.jsx)(X.Item,{name:`maxImageCount`,label:`最大图片数量`,children:(0,Q.jsx)(zN,{type:`number`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`generateUrl`,label:`生成接口地址`,children:(0,Q.jsx)(zN,{placeholder:`https://ark.cn-beijing.volces.com/api/v3/images/generations`,size:`large`})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`priority`,label:`优先级`,children:(0,Q.jsx)(Cb,{size:`large`,options:[{value:0,label:`0 (默认)`},{value:1,label:`1`},{value:2,label:`2`},{value:3,label:`3`},{value:5,label:`5`},{value:10,label:`10 (最高)`}]})}),(0,Q.jsx)(X.Item,{name:`isActive`,label:`启用状态`,valuePropName:`checked`,style:{paddingTop:30},children:(0,Q.jsx)(sF,{})})]})]})})]})},pUe=[`2K`,`4K`],mUe=[`480p`,`720p`,`1080p`],hUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)([]),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)({open:!1,ratio:null}),[c]=X.useForm(),[l,u]=(0,C.useState)(10),[d,f]=(0,C.useState)(null),[p,m]=(0,C.useState)(!1),h=X.useWatch(`genType`,c)||`video`,g=X.useWatch(`modelConfigId`,c),_=async()=>{a(!0);try{let[e,n,i]=await Promise.all([QBe(),r5(),OVe()]),a=(i?.engine?.image||[]).map(e=>({...e,genType:`image`})),o=(i?.engine?.video||[]).map(e=>({...e,genType:`video`}));t(e),r([...o,...a]);let s=n.find(e=>e.key===`text_credits_per_1000_tokens`);s&&(u(Number(s.value)||10),f({id:s.id}))}catch{xP.error(`加载积分比例失败`)}finally{a(!1)}};(0,C.useEffect)(()=>{_()},[]);let v=(0,C.useMemo)(()=>n.filter(e=>e.genType===h).map(e=>({value:e.id,label:`${e.name}${e.modelName?`(${e.modelName})`:``}`})),[n,h]),y=(0,C.useMemo)(()=>n.find(e=>e.id===g&&e.genType===h),[n,h,g]),b=(0,C.useMemo)(()=>{if(h===`image`){let e=y?.supportedSizes?Object.keys(y.supportedSizes):[];return(e.length?e:pUe).map(e=>({value:e,label:e}))}let e=y?.supportedResolutions||[];return(e.length?e:mUe).map(e=>({value:e,label:e}))},[h,y]),x=(e,t)=>n.find(n=>n.id===e&&(!t||n.genType===t))?.name||e,S=async()=>{try{let e=await c.validateFields(),t={model_config_id:e.modelConfigId,gen_type:e.genType,resolution:e.resolution,ratio:e.ratio,base_credits:e.baseCredits,per_second_credits:e.genType===`image`?0:e.perSecondCredits||0};e.genType===`video`&&(t.input_video_ratio=e.inputVideoRatio??1,t.input_video_base_credits=e.inputVideoBaseCredits??0,t.input_video_per_second_credits=e.inputVideoPerSecondCredits??0),o.ratio?(await u5({id:o.ratio.id,...t}),xP.success(`已更新`)):(await u5(t),xP.success(`已添加`)),s({open:!1,ratio:null}),c.resetFields(),_()}catch(e){if(e?.errorFields)return;xP.error(e?.message||`保存失败`)}},w=async e=>{try{await $Be(e),xP.success(`已删除`),_()}catch{xP.error(`删除失败`)}},T=async()=>{if(d){m(!0);try{await i5(d.id,String(l)),xP.success(`文字积分费率已更新`)}catch(e){xP.error(e?.message||`保存失败`)}finally{m(!1)}}},E=e=>{s({open:!0,ratio:e||null}),e?c.setFieldsValue({modelConfigId:e.modelConfigId,genType:e.genType===`image`?`image`:`video`,resolution:e.resolution,ratio:e.ratio,baseCredits:e.baseCredits,perSecondCredits:e.perSecondCredits,inputVideoRatio:e.inputVideoRatio,inputVideoBaseCredits:e.inputVideoBaseCredits,inputVideoPerSecondCredits:e.inputVideoPerSecondCredits}):(c.resetFields(),c.setFieldsValue({genType:`video`,ratio:1,baseCredits:60,perSecondCredits:2,inputVideoRatio:1,inputVideoBaseCredits:0,inputVideoPerSecondCredits:.5}))};return(0,Q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:16},children:[(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:16},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(cZ,{style:{fontSize:18,color:`#f59e0b`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`文字积分费率`})]}),(0,Q.jsx)(ZS,{type:`primary`,loading:p,onClick:T,style:{borderRadius:8},children:`保存`})]}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{display:`block`,marginBottom:16,fontSize:13},children:`文字积分计算公式:ceil(总token数 x 费率 / 1000),最低1积分`}),(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:[(0,Q.jsx)(Z.Text,{children:`每1000 token消耗积分:`}),(0,Q.jsxs)(AM.Compact,{style:{width:160},children:[(0,Q.jsx)(Oj,{min:0,max:1e3,step:.01,value:l,onChange:e=>u(e||0),size:`large`,style:{width:`100%`}}),(0,Q.jsx)(Z.Text,{children:`积分`})]}),(0,Q.jsxs)(Z.Text,{type:`secondary`,style:{fontSize:12},children:[`示例:1000 token = `,l,` 积分,500 token = `,(500*l/1e3).toFixed(4),` 积分`]})]})]}),(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(RG,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`积分比例配置`}),(0,Q.jsxs)(CR,{color:`purple`,children:[e.length,` 条规则`]})]}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(uA,{}),onClick:()=>E(),style:{borderRadius:8},children:`添加比例`})]}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{display:`block`,marginBottom:16,fontSize:13},children:`视频积分公式:(基础积分 + 每秒积分 x 视频时长) x 模型倍率;图片积分公式:基础积分 x 模型倍率`}),(0,Q.jsx)(uR,{columns:[{title:`类型`,dataIndex:`genType`,width:80,render:e=>(0,Q.jsx)(CR,{color:e===`image`?`cyan`:`orange`,children:e===`image`?`图片`:`视频`})},{title:`引擎`,dataIndex:`modelConfigId`,width:180,render:(e,t)=>(0,Q.jsx)(CR,{color:t.genType===`image`?`cyan`:`purple`,children:x(e,t.genType)})},{title:`分辨率/尺寸`,dataIndex:`resolution`,width:110,render:e=>(0,Q.jsx)(CR,{color:{"480p":`blue`,"720p":`blue`,"1080p":`blue`,"4K":`green`,"2K":`green`}[e]||`default`,children:e})},{title:`倍率`,dataIndex:`ratio`,width:100,sorter:(e,t)=>e.ratio-t.ratio,render:e=>(0,Q.jsxs)(Z.Text,{strong:!0,style:{color:e>=2?`#ef4444`:e>=1.5?`#f59e0b`:`#10b981`},children:[`x`,e]})},{title:`基础积分`,dataIndex:`baseCredits`,width:100,render:e=>(0,Q.jsxs)(Z.Text,{children:[e,` 积分`]})},{title:`每秒积分`,dataIndex:`perSecondCredits`,width:100,render:(e,t)=>(0,Q.jsx)(Z.Text,{children:t.genType===`image`?`-`:`${e} 积分/秒`})},{title:`视频倍率`,dataIndex:`inputVideoRatio`,width:100,render:(e,t)=>(0,Q.jsx)(Z.Text,{children:t.genType===`image`?`-`:(0,Q.jsxs)(`span`,{style:{color:e>=2?`#ef4444`:e>=1.5?`#f59e0b`:`#10b981`},children:[`x`,e]})})},{title:`视频基础积分`,dataIndex:`inputVideoBaseCredits`,width:110,render:(e,t)=>(0,Q.jsx)(Z.Text,{children:t.genType===`image`?`-`:`${e} 积分`})},{title:`视频每秒积分`,dataIndex:`inputVideoPerSecondCredits`,width:110,render:(e,t)=>(0,Q.jsx)(Z.Text,{children:t.genType===`image`?`-`:`${e} 积分/秒`})},{title:`示例计算(视频15秒,上传视频15秒)`,key:`example`,width:140,render:(e,t)=>{let n;return t.genType===`image`?n=Math.round(t.baseCredits*t.ratio):(n=Math.round((t.baseCredits+t.perSecondCredits*15)*t.ratio),t.inputVideoRatio&&t.inputVideoPerSecondCredits&&(n+=Math.round((t.inputVideoBaseCredits+t.inputVideoPerSecondCredits*15)*t.inputVideoRatio))),(0,Q.jsxs)(Z.Text,{strong:!0,style:{color:`#6366f1`},children:[n,` 积分`]})}},{title:`操作`,key:`action`,width:150,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(AM,{size:4,children:[(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(kR,{}),onClick:()=>E(t),children:`编辑`}),(0,Q.jsx)(EP,{title:`确定删除?`,onConfirm:()=>w(t.id),children:(0,Q.jsx)(ZS,{type:`link`,size:`small`,danger:!0,icon:(0,Q.jsx)(ER,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:i,pagination:!1,scroll:{x:1180}})]}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(RG,{}),o.ratio?`编辑比例`:`添加比例`]}),open:o.open,onOk:S,onCancel:()=>{s({open:!1,ratio:null}),c.resetFields()},okText:`保存`,cancelText:`取消`,width:520,children:(0,Q.jsxs)(X,{form:c,layout:`vertical`,style:{marginTop:16},children:[(0,Q.jsx)(X.Item,{name:`genType`,label:`生成类型`,rules:[{required:!0,message:`请选择生成类型`}],children:(0,Q.jsx)(Cb,{size:`large`,options:[{value:`video`,label:`视频`},{value:`image`,label:`图片`}],onChange:()=>{c.setFieldsValue({modelConfigId:void 0,resolution:void 0})}})}),(0,Q.jsx)(X.Item,{name:`modelConfigId`,label:`引擎`,rules:[{required:!0,message:`请选择引擎`}],children:(0,Q.jsx)(Cb,{size:`large`,placeholder:`请选择引擎`,options:v,showSearch:!0,optionFilterProp:`label`,onChange:()=>c.setFieldsValue({resolution:void 0})})}),(0,Q.jsx)(X.Item,{name:`resolution`,label:h===`image`?`图片尺寸`:`分辨率`,rules:[{required:!0,message:h===`image`?`请选择图片尺寸`:`请选择分辨率`}],children:(0,Q.jsx)(Cb,{size:`large`,placeholder:h===`image`?`请选择图片尺寸`:`请选择分辨率`,options:b})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`ratio`,label:`倍率`,style:{flex:1},rules:[{required:!0,message:`请输入倍率`}],children:(0,Q.jsx)(Oj,{min:.1,max:10,step:.1,style:{width:`100%`},size:`large`})}),(0,Q.jsx)(X.Item,{name:`baseCredits`,label:`基础积分`,style:{flex:1},rules:[{required:!0,message:`请输入基础积分`}],children:(0,Q.jsx)(Oj,{min:0,max:1e3,style:{width:`100%`},size:`large`})}),h!==`image`&&(0,Q.jsx)(X.Item,{name:`perSecondCredits`,label:`每秒积分`,style:{flex:1},rules:[{required:!0,message:`请输入每秒积分`}],children:(0,Q.jsx)(Oj,{min:0,max:100,style:{width:`100%`},size:`large`})})]}),h!==`image`&&(0,Q.jsxs)(`div`,{style:{marginTop:8,padding:`12px 16px`,backgroundColor:`#f5f5ff`,borderRadius:8,border:`1px solid #e0e0ff`},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{display:`block`,marginBottom:8,color:`#4f46e5`},children:`传入视频价格`}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`inputVideoRatio`,label:`倍率`,style:{flex:1,marginBottom:0},rules:[{required:!0,message:`请输入传入视频倍率`}],children:(0,Q.jsx)(Oj,{min:0,max:10,step:.1,style:{width:`100%`},size:`large`})}),(0,Q.jsx)(X.Item,{name:`inputVideoBaseCredits`,label:`基础积分`,style:{flex:1,marginBottom:0},rules:[{required:!0,message:`请输入传入视频基础积分`}],children:(0,Q.jsx)(Oj,{min:0,max:500,style:{width:`100%`},size:`large`})}),(0,Q.jsx)(X.Item,{name:`inputVideoPerSecondCredits`,label:`每秒积分`,style:{flex:1,marginBottom:0},rules:[{required:!0,message:`请输入传入视频每秒积分`}],children:(0,Q.jsx)(Oj,{min:0,max:50,style:{width:`100%`},size:`large`})})]})]})]})})]})},X5={HomeOutlined:(0,Q.jsx)(hQ,{}),PlayCircleOutlined:(0,Q.jsx)(u0,{}),WalletOutlined:(0,Q.jsx)(a8,{}),RobotOutlined:(0,Q.jsx)(j2,{}),SettingOutlined:(0,Q.jsx)(c4,{}),BellOutlined:(0,Q.jsx)(WU,{}),UserOutlined:(0,Q.jsx)(U6,{}),AppstoreOutlined:(0,Q.jsx)(bH,{}),FileTextOutlined:(0,Q.jsx)(PM,{}),StarOutlined:(0,Q.jsx)(l3,{}),HeartOutlined:(0,Q.jsx)(iQ,{}),CameraOutlined:(0,Q.jsx)($G,{}),DashboardOutlined:(0,Q.jsx)(SJ,{}),CalculatorOutlined:(0,Q.jsx)(RG,{}),DollarOutlined:(0,Q.jsx)($J,{}),GiftOutlined:(0,Q.jsx)(NZ,{}),ThunderboltOutlined:(0,Q.jsx)(J3,{}),FireOutlined:(0,Q.jsx)(KX,{}),CloudOutlined:(0,Q.jsx)(vq,{}),SmileOutlined:(0,Q.jsx)(K4,{}),TrophyOutlined:(0,Q.jsx)(d6,{}),RocketOutlined:(0,Q.jsx)(P2,{}),BulbOutlined:(0,Q.jsx)(kG,{}),CodeOutlined:(0,Q.jsx)(Dq,{}),PictureOutlined:(0,Q.jsx)(t0,{}),VideoCameraOutlined:(0,Q.jsx)(t8,{}),AudioOutlined:(0,Q.jsx)(XH,{}),MailOutlined:(0,Q.jsx)(P$,{}),PhoneOutlined:(0,Q.jsx)(J1,{}),GlobalOutlined:(0,Q.jsx)(BZ,{}),ShoppingCartOutlined:(0,Q.jsx)(g4,{}),TeamOutlined:(0,Q.jsx)(G3,{}),BarChartOutlined:(0,Q.jsx)(CU,{}),PieChartOutlined:(0,Q.jsx)(i0,{}),LineChartOutlined:(0,Q.jsx)(m$,{}),SecurityScanOutlined:(0,Q.jsx)(t4,{}),ApiOutlined:(0,Q.jsx)(nH,{}),DatabaseOutlined:(0,Q.jsx)(EJ,{}),CloudServerOutlined:(0,Q.jsx)(bq,{}),MenuOutlined:(0,Q.jsx)(X$,{})},gUe=Object.keys(X5).map(e=>({value:e,label:(0,Q.jsxs)(`span`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[X5[e],` `,e.replace(`Outlined`,``)]})})),_Ue={page:`blue`,group:`purple`},vUe={page:`页面`,group:`分组`},yUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!0),[i,a]=(0,C.useState)(`frontend`),[o,s]=(0,C.useState)({open:!1,menu:null}),[c]=X.useForm(),l=async()=>{r(!0);try{t(await d5())}catch{}r(!1)};(0,C.useEffect)(()=>{l()},[]);let u=async()=>{try{let e=await c.validateFields(),t={label:e.label,path:e.path||``,icon:e.icon||``,sort_order:e.sortOrder??0,is_active:e.isActive??!0,parent_id:e.parentId||null,menu_type:e.menuType||`page`,menu_target:e.menuTarget||`frontend`,is_default:e.isDefault??!1};o.menu?.id?await f5({...t,id:o.menu.id}):await f5(t),xP.success(o.menu?.id?`菜单已更新`:`菜单已添加`),s({open:!1,menu:null}),c.resetFields(),l()}catch{}},d=async e=>{try{await lVe(e),xP.success(`菜单已删除`),l()}catch(e){xP.error(e?.message||`删除失败`)}},f=t=>{s({open:!0,menu:t||null}),t?c.setFieldsValue({label:t.label,path:t.path,icon:t.icon,sortOrder:t.sortOrder??0,isActive:t.isActive??!0,parentId:t.parentId??``,menuType:t.menuType??`page`,menuTarget:t.menuTarget??`frontend`,isDefault:t.isDefault??!1}):(c.resetFields(),c.setFieldsValue({icon:`HomeOutlined`,sortOrder:e.length,isActive:!0,menuType:`page`,menuTarget:i,isDefault:!1}))},p=e.filter(e=>{let t=e.menuTarget??`frontend`;return t===i||t===`both`}),m=[{value:``,label:`顶级菜单`},...p.filter(e=>e.menuType===`group`).map(e=>({value:e.id,label:e.label}))],h=[],g=p.filter(e=>!e.parentId),_={};p.filter(e=>e.parentId).forEach(e=>{let t=e.parentId;_[t]||(_[t]=[]),_[t].push(e)}),g.sort((e,t)=>(e.sortOrder??0)-(t.sortOrder??0)).forEach(e=>{h.push({...e,_depth:0}),(_[e.id]||[]).sort((e,t)=>(e.sortOrder??0)-(t.sortOrder??0)).forEach(e=>{h.push({...e,_depth:1})})});let v=[{title:`排序`,dataIndex:`sortOrder`,width:60},{title:`菜单名称`,key:`label`,width:180,render:(e,t)=>(0,Q.jsxs)(`span`,{style:{paddingLeft:t._depth*20,fontWeight:t._depth===0?600:400},children:[t._depth===1&&(0,Q.jsx)(`span`,{style:{color:`#cbd5e1`,marginRight:4},children:`└`}),t.label]})},{title:`路由路径`,dataIndex:`path`,width:160,render:e=>e||(0,Q.jsx)(Z.Text,{type:`secondary`,children:`-`})},{title:`图标`,dataIndex:`icon`,width:100,render:e=>e&&X5[e]?(0,Q.jsx)(`span`,{style:{fontSize:16,color:`#6366f1`},children:X5[e]}):`-`},{title:`类型`,dataIndex:`menuType`,width:80,render:e=>(0,Q.jsx)(CR,{color:_Ue[e]||`default`,children:vUe[e]||e})},{title:`状态`,dataIndex:`isActive`,width:70,render:e=>(0,Q.jsx)(`span`,{style:{color:e?`#22c55e`:`#94a3b8`},children:e?`启用`:`停用`})},...i===`frontend`?[{title:`默认显示`,dataIndex:`isDefault`,width:80,render:e=>e?(0,Q.jsx)(CR,{color:`green`,children:`默认`}):(0,Q.jsx)(Z.Text,{type:`secondary`,children:`-`})}]:[],{title:`操作`,key:`action`,width:150,render:(e,t)=>(0,Q.jsxs)(AM,{size:4,children:[(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(kR,{}),onClick:()=>f(t),children:`编辑`}),(0,Q.jsx)(EP,{title:`确定删除该菜单?`,onConfirm:()=>d(t.id),children:(0,Q.jsx)(ZS,{type:`link`,size:`small`,danger:!0,icon:(0,Q.jsx)(ER,{}),children:`删除`})})]})}];return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(X$,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`菜单配置`})]}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(uA,{}),onClick:()=>f(),style:{borderRadius:8},children:`添加菜单`})]}),(0,Q.jsx)(NA,{activeKey:i,onChange:a,items:[{key:`frontend`,label:`前台菜单`},{key:`admin`,label:`后台菜单`}]}),(0,Q.jsx)(uR,{columns:v,dataSource:h,rowKey:`id`,loading:n,pagination:!1,scroll:{x:900}})]}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(X$,{}),o.menu?.id?`编辑菜单`:`添加菜单`]}),open:o.open,onOk:u,onCancel:()=>{s({open:!1,menu:null}),c.resetFields()},okText:`确认`,cancelText:`取消`,width:520,children:(0,Q.jsxs)(X,{form:c,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`label`,label:`菜单名称`,rules:[{required:!0,message:`请输入菜单名称`}],children:(0,Q.jsx)(zN,{placeholder:`例如:我的项目`,size:`large`})}),(0,Q.jsx)(X.Item,{name:`path`,label:`路由路径`,tooltip:`分组类型可留空`,children:(0,Q.jsx)(zN,{placeholder:`例如:/projects(分组可留空)`,size:`large`})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`menuType`,label:`菜单类型`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(Cb,{size:`large`,options:[{value:`page`,label:`页面`},{value:`group`,label:`分组`}]})}),(0,Q.jsx)(X.Item,{name:`menuTarget`,label:`适用端`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(Cb,{size:`large`,options:[{value:`frontend`,label:`前台`},{value:`admin`,label:`后台`},{value:`both`,label:`两者`}]})})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`icon`,label:`图标`,style:{flex:1},rules:[{required:!0}],children:(0,Q.jsx)(Cb,{size:`large`,options:gUe})}),(0,Q.jsx)(X.Item,{name:`sortOrder`,label:`排序`,style:{flex:1},children:(0,Q.jsx)(Oj,{min:0,max:100,style:{width:`100%`},size:`large`,placeholder:`默认0`})})]}),(0,Q.jsx)(X.Item,{name:`parentId`,label:`上级菜单`,children:(0,Q.jsx)(Cb,{size:`large`,options:m,allowClear:!0,placeholder:`顶级菜单`})}),(0,Q.jsx)(X.Item,{name:`isActive`,label:`启用`,valuePropName:`checked`,children:(0,Q.jsx)(sF,{})}),(0,Q.jsx)(X.Item,{noStyle:!0,shouldUpdate:(e,t)=>e.menuTarget!==t.menuTarget,children:({getFieldValue:e})=>e(`menuTarget`)===`admin`?null:(0,Q.jsx)(X.Item,{name:`isDefault`,label:`新用户默认显示`,valuePropName:`checked`,tooltip:`开启后,新注册用户默认显示此菜单`,children:(0,Q.jsx)(sF,{})})})]})})]})},bUe={normal:`blue`,gift:`green`,promo:`purple`},xUe={normal:`常规`,gift:`赠送`,promo:`促销`},SUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)({open:!1,item:null}),[o]=X.useForm(),s=async()=>{r(!0);try{t((await mVe()).map(e=>({id:e.id,name:e.name,credits:e.credits,price:e.price,bonusCredits:e.bonus_credits??e.bonusCredits??0,totalCredits:e.total_credits??e.totalCredits??e.credits,description:e.description,packageType:e.package_type??e.packageType??`normal`,isGift:e.is_gift??e.isGift??!1,isActive:e.is_active??e.isActive??!0,sortOrder:e.sort_order??e.sortOrder??0})))}catch{xP.error(`加载充值套餐失败`)}finally{r(!1)}};(0,C.useEffect)(()=>{s()},[]);let c=async()=>{try{let e=await o.validateFields(),t={name:e.name,credits:e.credits,price:e.price,bonus_credits:e.bonusCredits||0,description:e.description||null,package_type:e.packageType||`normal`,is_gift:e.isGift||!1,is_active:e.isActive??!0,sort_order:e.sortOrder??0};i.item?.id?(await m5({id:i.item.id,...t}),xP.success(`已更新`)):(await m5(t),xP.success(`已添加`)),a({open:!1,item:null}),o.resetFields(),s()}catch{}},l=async e=>{try{await hVe(e),xP.success(`已删除`),s()}catch(e){xP.error(e?.message||`删除失败`)}},u=e=>{a({open:!0,item:e||null}),e?o.setFieldsValue({name:e.name,credits:e.credits,price:e.price,bonusCredits:e.bonusCredits,description:e.description,packageType:e.packageType,isGift:e.isGift,isActive:e.isActive,sortOrder:e.sortOrder}):(o.resetFields(),o.setFieldsValue({isActive:!0,sortOrder:0,packageType:`normal`,bonusCredits:0,isGift:!1}))};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(NZ,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`充值套餐管理`}),(0,Q.jsxs)(CR,{color:`purple`,children:[e.length,` 个套餐`]})]}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(uA,{}),onClick:()=>u(),style:{borderRadius:8},children:`添加套餐`})]}),(0,Q.jsx)(uR,{columns:[{title:`套餐名称`,key:`name`,width:160,render:(e,t)=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,children:t.name}),t.description&&(0,Q.jsx)(`div`,{style:{color:`#94a3b8`,fontSize:12},children:t.description})]})},{title:`基础积分`,dataIndex:`credits`,width:100,render:e=>(0,Q.jsx)(Z.Text,{children:e.toLocaleString()})},{title:`赠送积分`,dataIndex:`bonusCredits`,width:100,render:e=>e>0?(0,Q.jsxs)(CR,{color:`green`,children:[`+`,e.toLocaleString()]}):(0,Q.jsx)(Z.Text,{type:`secondary`,children:`-`})},{title:`总积分`,key:`total`,width:100,render:(e,t)=>(0,Q.jsx)(Z.Text,{strong:!0,style:{color:`#6366f1`},children:(t.credits+t.bonusCredits).toLocaleString()})},{title:`价格(元)`,dataIndex:`price`,width:100,render:e=>(0,Q.jsxs)(Z.Text,{strong:!0,children:[`¥`,e]})},{title:`类型`,dataIndex:`packageType`,width:80,render:e=>(0,Q.jsx)(CR,{color:bUe[e]||`default`,children:xUe[e]||e})},{title:`状态`,dataIndex:`isActive`,width:80,render:e=>(0,Q.jsx)(CR,{color:e?`green`:`default`,children:e?`启用`:`停用`})},{title:`操作`,key:`action`,width:150,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(AM,{size:4,children:[(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(kR,{}),onClick:()=>u(t),children:`编辑`}),(0,Q.jsx)(EP,{title:`确定删除?`,onConfirm:()=>l(t.id),children:(0,Q.jsx)(ZS,{type:`link`,size:`small`,danger:!0,icon:(0,Q.jsx)(ER,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:n,pagination:!1,scroll:{x:900}})]}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(NZ,{}),i.item?`编辑套餐`:`添加套餐`]}),open:i.open,onOk:c,onCancel:()=>{a({open:!1,item:null}),o.resetFields()},okText:`保存`,cancelText:`取消`,width:520,children:(0,Q.jsxs)(X,{form:o,layout:`vertical`,style:{marginTop:16},children:[(0,Q.jsx)(X.Item,{name:`name`,label:`套餐名称`,rules:[{required:!0,message:`请输入套餐名称`}],children:(0,Q.jsx)(zN,{placeholder:`例如:进阶包`,size:`large`})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`credits`,label:`基础积分`,rules:[{required:!0,message:`请输入积分`}],style:{flex:1},children:(0,Q.jsx)(Oj,{min:1,placeholder:`2000`,size:`large`,style:{width:`100%`}})}),(0,Q.jsx)(X.Item,{name:`price`,label:`价格(元)`,rules:[{required:!0,message:`请输入价格`}],style:{flex:1},children:(0,Q.jsx)(Oj,{min:.01,step:1,placeholder:`168`,size:`large`,style:{width:`100%`}})})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`bonusCredits`,label:`赠送积分`,initialValue:0,style:{flex:1},children:(0,Q.jsx)(Oj,{min:0,placeholder:`0`,size:`large`,style:{width:`100%`}})}),(0,Q.jsx)(X.Item,{name:`packageType`,label:`套餐类型`,initialValue:`normal`,style:{flex:1},children:(0,Q.jsx)(Cb,{size:`large`,options:[{value:`normal`,label:`常规`},{value:`gift`,label:`赠送`},{value:`promo`,label:`促销`}]})})]}),(0,Q.jsx)(X.Item,{name:`description`,label:`描述`,children:(0,Q.jsx)(zN,{placeholder:`套餐描述(可选)`,size:`large`})}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,Q.jsx)(X.Item,{name:`isActive`,label:`启用状态`,valuePropName:`checked`,initialValue:!0,style:{flex:1},children:(0,Q.jsx)(sF,{})}),(0,Q.jsx)(X.Item,{name:`isGift`,label:`是否赠送`,valuePropName:`checked`,initialValue:!1,style:{flex:1},children:(0,Q.jsx)(sF,{})}),(0,Q.jsx)(X.Item,{name:`sortOrder`,label:`排序`,initialValue:0,style:{flex:1},children:(0,Q.jsx)(Oj,{size:`large`,style:{width:`100%`}})})]})]})})]})},CUe={POST:`green`,PUT:`blue`,DELETE:`red`},wUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(0),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(1),c=async e=>{a(!0);try{let n=await gVe(e||o);t(n.items||[]),r(n.total||0)}catch{xP.error(`加载操作日志失败`)}finally{a(!1)}};return(0,C.useEffect)(()=>{c()},[]),(0,Q.jsx)(`div`,{children:(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(fQ,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`操作日志`})]}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(zP,{}),onClick:()=>c(),children:`刷新`})]}),(0,Q.jsx)(uR,{columns:[{title:`操作人`,dataIndex:`username`,width:120,render:e=>(0,Q.jsx)(Z.Text,{strong:!0,children:e})},{title:`操作`,dataIndex:`action`,width:160,render:e=>(0,Q.jsx)(Z.Text,{children:e})},{title:`方法`,dataIndex:`method`,width:80,render:e=>(0,Q.jsx)(CR,{color:CUe[e]||`default`,children:e})},{title:`路径`,dataIndex:`path`,width:220,ellipsis:!0,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:e})},{title:`时间`,dataIndex:`createdAt`,width:160,render:e=>(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:D5(e)})}],dataSource:e,rowKey:`id`,loading:i,pagination:{current:o,pageSize:20,total:n,showTotal:e=>`共 ${e} 条记录`,onChange:e=>{s(e),c(e)}},scroll:{x:800}})]})})},TUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(0),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(1),[c,l]=(0,C.useState)(!1),[u,d]=(0,C.useState)(!1),[f,p]=(0,C.useState)(!1),[m,h]=(0,C.useState)(null),[g]=X.useForm(),[_]=X.useForm(),v=async e=>{a(!0);try{let n=await _Ve(e||o);t(n.items||[]),r(n.total||0)}catch{xP.error(`加载应用管理列表失败`)}finally{a(!1)}},y=async()=>{try{let e=await g.validateFields();await vVe({app_id:e.app_id,secret:e.secret,open_type:e.open_type,max_count:e.max_count,auth_url:e.auth_url,company:e.company}),xP.success(`创建成功`),l(!1),g.resetFields(),v()}catch(e){xP.error(e?.message||`创建失败`)}},b=async e=>{try{h(await h5(e)),d(!0)}catch(e){xP.error(e?.message||`获取详情失败`)}},x=async e=>{try{let t=await h5(e);h(t),_.setFieldsValue({appId:t.appId,secret:t.secret,openType:t.openType,maxCount:t.maxCount,authUrl:t.authUrl,company:t.company}),p(!0)}catch(e){xP.error(e?.message||`获取详情失败`)}},S=async()=>{if(m)try{let e=await _.validateFields();await yVe(m.id,{app_id:e.app_id,secret:e.secret,open_type:e.open_type,count:e.count,auth_url:e.auth_url,company:e.company}),xP.success(`更新成功`),p(!1),_.resetFields(),v()}catch(e){xP.error(e?.message||`更新失败`)}},w=e=>{CP.confirm({title:`确认删除`,content:`确定要删除这个应用管理吗?`,okText:`删除`,okType:`danger`,cancelText:`取消`,onOk:async()=>{try{await bVe(e),xP.success(`删除成功`),v()}catch(e){xP.error(e?.message||`删除失败`)}}})};return(0,C.useEffect)(()=>{v()},[]),(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(X$,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`应用管理列表`})]}),(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(zP,{}),onClick:()=>v(),children:`刷新`}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(uA,{}),onClick:()=>l(!0),children:`创建`})]})]}),(0,Q.jsx)(uR,{columns:[{title:`ID`,dataIndex:`id`,width:120,render:e=>(0,Q.jsx)(Z.Text,{children:e})},{title:`应用ID`,dataIndex:`appId`,width:120,render:e=>(0,Q.jsx)(Z.Text,{children:e})},{title:`应用密钥`,dataIndex:`secret`,width:120,render:e=>{if(!e)return`-`;let t=e.length>12?`${e.slice(0,6)}...${e.slice(-4)}`:e;return(0,Q.jsx)(px,{title:e,placement:`topLeft`,children:(0,Q.jsx)(Z.Text,{style:{fontSize:12},children:t})})}},{title:`开户方式`,dataIndex:`openType`,width:90,render:e=>(0,Q.jsx)(Z.Text,{children:{1:`千川`,2:`广告`,3:`本地推`,4:`星图`,5:`快手代理商`,6:`巨量星图`,7:`巨量服务单`,8:`腾讯服务单`,9:`腾讯营销K2`,10:`腾讯营销K3`}[e]||e})},{title:`归属公司`,dataIndex:`company`,width:120,render:e=>(0,Q.jsx)(Z.Text,{children:e})},{title:`授权次数`,dataIndex:`maxCount`,width:90,render:e=>(0,Q.jsx)(Z.Text,{children:e})},{title:`状态`,dataIndex:`status`,width:80,render:e=>(0,Q.jsx)(CR,{color:e===1?`green`:`red`,children:e===1?`正常`:`禁用`})},{title:`授权URL`,dataIndex:`authUrl`,width:200,render:e=>e?(0,Q.jsx)(px,{title:e,placement:`topLeft`,children:(0,Q.jsx)(Z.Text,{style:{fontSize:12},ellipsis:!0,children:e.length>30?`${e.slice(0,27)}...`:e})}):`-`},{title:`创建人`,dataIndex:`createBy`,width:120,render:e=>(0,Q.jsx)(Z.Text,{children:e})},{title:`创建时间`,dataIndex:`createdAt`,width:160,render:e=>(0,Q.jsx)(Z.Text,{children:D5(e)})},{title:`更新时间`,dataIndex:`updatedAt`,width:160,render:e=>(0,Q.jsx)(Z.Text,{children:D5(e)})},{title:`操作`,width:120,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(AN,{}),size:`small`,onClick:()=>b(t.id),children:`详情`}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(kR,{}),size:`small`,onClick:()=>x(t.id),children:`更新`}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(ER,{}),size:`small`,danger:!0,onClick:()=>w(t.id),children:`删除`})]})}],dataSource:e,rowKey:`id`,loading:i,pagination:{current:o,pageSize:20,total:n,showTotal:e=>`共 ${e} 条记录`,onChange:e=>{s(e),v(e)}},scroll:{x:`max-content`}})]}),(0,Q.jsx)(CP,{title:`创建应用管理`,open:c,onOk:y,onCancel:()=>{l(!1),g.resetFields()},okText:`创建`,cancelText:`取消`,width:600,children:(0,Q.jsxs)(X,{form:g,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`app_id`,label:`应用ID`,rules:[{required:!0,message:`请输入应用ID`},{max:64,message:`应用ID不能超过64个字符`}],children:(0,Q.jsx)(zN,{placeholder:`请输入应用ID`})}),(0,Q.jsx)(X.Item,{name:`secret`,label:`应用密钥`,rules:[{required:!0,message:`请输入应用密钥`},{max:256,message:`应用密钥不能超过256个字符`}],children:(0,Q.jsx)(zN,{placeholder:`请输入应用密钥`})}),(0,Q.jsx)(X.Item,{name:`open_type`,label:`开户方式`,rules:[{required:!0,message:`请选择开户方式`}],children:(0,Q.jsxs)(Cb,{placeholder:`请选择开户方式`,children:[(0,Q.jsx)(Cb.Option,{value:1,children:`千川`}),(0,Q.jsx)(Cb.Option,{value:2,children:`广告`}),(0,Q.jsx)(Cb.Option,{value:3,children:`本地推`}),(0,Q.jsx)(Cb.Option,{value:4,children:`星图`}),(0,Q.jsx)(Cb.Option,{value:5,children:`快手代理商`}),(0,Q.jsx)(Cb.Option,{value:6,children:`巨量星图`}),(0,Q.jsx)(Cb.Option,{value:7,children:`巨量服务单`}),(0,Q.jsx)(Cb.Option,{value:8,children:`腾讯服务单`}),(0,Q.jsx)(Cb.Option,{value:9,children:`腾讯营销K2`}),(0,Q.jsx)(Cb.Option,{value:10,children:`腾讯营销K3`})]})}),(0,Q.jsx)(X.Item,{name:`max_count`,label:`最大授权用户数`,initialValue:100,children:(0,Q.jsx)(Oj,{min:1,placeholder:`应用最大可以授权多少个用户`})}),(0,Q.jsx)(X.Item,{name:`auth_url`,label:`应用授权链接`,children:(0,Q.jsx)(zN,{placeholder:`请输入应用授权链接`})}),(0,Q.jsx)(X.Item,{name:`company`,label:`应用归属公司名称`,rules:[{max:256,message:`公司名称不能超过256个字符`}],children:(0,Q.jsx)(zN,{placeholder:`请输入应用归属公司名称`})})]})}),(0,Q.jsx)(CP,{title:`应用管理详情`,open:u,onCancel:()=>{d(!1),h(null)},okText:`关闭`,cancelText:`取消`,width:600,children:m&&(0,Q.jsxs)(`div`,{style:{lineHeight:`2`},children:[(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`ID:`}),` `,m.id]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`应用ID:`}),` `,m.appId]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`应用密钥:`}),` `,m.secret]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`开户方式:`}),` `,{1:`千川`,2:`广告`,3:`本地推`,4:`星图`,5:`快手代理商`,6:`巨量星图`,7:`巨量服务单`,8:`腾讯服务单`,9:`腾讯营销K2`,10:`腾讯营销K3`}[m.openType]||m.openType]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`归属公司:`}),` `,m.company||`-`]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`授权次数:`}),` `,m.maxCount]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`状态:`}),` `,m.status===1?`正常`:`禁用`]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`授权URL:`}),` `,m.authUrl||`-`]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`创建人:`}),` `,m.createBy]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`创建时间:`}),` `,D5(m.createdAt)]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`strong`,{children:`更新时间:`}),` `,D5(m.updatedAt)]})]})}),(0,Q.jsx)(CP,{title:`更新应用管理`,open:f,onOk:S,onCancel:()=>{p(!1),_.resetFields(),h(null)},okText:`更新`,cancelText:`取消`,width:600,children:(0,Q.jsxs)(X,{form:_,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`appId`,label:`应用ID`,rules:[{required:!0,message:`请输入应用ID`},{max:64,message:`应用ID不能超过64个字符`}],children:(0,Q.jsx)(zN,{placeholder:`请输入应用ID`})}),(0,Q.jsx)(X.Item,{name:`secret`,label:`应用密钥`,rules:[{required:!0,message:`请输入应用密钥`},{max:256,message:`应用密钥不能超过256个字符`}],children:(0,Q.jsx)(zN,{placeholder:`请输入应用密钥`})}),(0,Q.jsx)(X.Item,{name:`openType`,label:`开户方式`,rules:[{required:!0,message:`请选择开户方式`}],children:(0,Q.jsxs)(Cb,{placeholder:`请选择开户方式`,children:[(0,Q.jsx)(Cb.Option,{value:1,children:`千川`}),(0,Q.jsx)(Cb.Option,{value:2,children:`广告`}),(0,Q.jsx)(Cb.Option,{value:3,children:`本地推`}),(0,Q.jsx)(Cb.Option,{value:4,children:`星图`}),(0,Q.jsx)(Cb.Option,{value:5,children:`快手代理商`}),(0,Q.jsx)(Cb.Option,{value:6,children:`巨量星图`}),(0,Q.jsx)(Cb.Option,{value:7,children:`巨量服务单`}),(0,Q.jsx)(Cb.Option,{value:8,children:`腾讯服务单`}),(0,Q.jsx)(Cb.Option,{value:9,children:`腾讯营销K2`}),(0,Q.jsx)(Cb.Option,{value:10,children:`腾讯营销K3`})]})}),(0,Q.jsx)(X.Item,{name:`maxCount`,label:`最大授权用户数`,children:(0,Q.jsx)(Oj,{min:1,placeholder:`应用最大可以授权多少个用户`})}),(0,Q.jsx)(X.Item,{name:`authUrl`,label:`应用授权链接`,children:(0,Q.jsx)(zN,{placeholder:`请输入应用授权链接`})}),(0,Q.jsx)(X.Item,{name:`company`,label:`应用归属公司名称`,rules:[{max:256,message:`公司名称不能超过256个字符`}],children:(0,Q.jsx)(zN,{placeholder:`请输入应用归属公司名称`})})]})})]})},Z5=`http://ceshi.apiforeign.minzhong.cn`.replace(/\/api\/?$/i,``).replace(/\/$/,``),Q5={image:`empty`,video:`empty`,videoCover:`empty`,references:{}},$5={optimizing:{color:`processing`,text:`优化中`,icon:(0,Q.jsx)(fm,{spin:!0})},prompt_optimized:{color:`processing`,text:`待生成`,icon:(0,Q.jsx)(oM,{})},generating:{color:`warning`,text:`生成中`,icon:(0,Q.jsx)(fm,{spin:!0})},completed:{color:`success`,text:`已完成`,icon:(0,Q.jsx)(RK,{})},failed:{color:`error`,text:`失败`,icon:(0,Q.jsx)(uq,{})}},e7={image:{text:`图片`,color:`purple`,icon:(0,Q.jsx)(mX,{})},video:{text:`视频`,color:`geekblue`,icon:(0,Q.jsx)(t8,{})}},EUe=e=>/^(https?:)?\/\//i.test(e)||/^(blob|data):/i.test(e),t7=e=>!!e&&/^blob:/i.test(e.trim()),n7=e=>{if(!e)return``;let t=String(e).trim();return t?EUe(t)?t:Z5?`${Z5}${t.startsWith(`/`)?t:`/${t}`}`:t.startsWith(`/`)?t:`/${t}`:``},DUe=e=>e?e.length>12?`${e.slice(0,8)}...`:e:`-`,r7=e=>e?D5(e):`-`,OUe=e=>e==null||e===``,i7=e=>{if(!e||t7(e))return!1;try{let t=new URL(n7(e),window.location.origin),n=t.searchParams.get(`exp`)||t.searchParams.get(`expires`)||t.searchParams.get(`expire`)||t.searchParams.get(`expires_at`)||t.searchParams.get(`x-expires`);if(!n)return!1;let r=Number(n);if(!Number.isFinite(r))return!1;let i=r>1e10?r:r*1e3;return Date.now()>=i}catch{return!1}},a7=e=>e?t7(e)||i7(e)?`invalid`:`checking`:`empty`,o7=e=>{let t=e.url||e.mediaUrl||e.fileUrl;return typeof t==`string`&&t.trim()?t.trim():void 0},kUe=e=>{let t=String(e.type||e.mediaType||e.mimeType||``).toLowerCase(),n=o7(e)?.toLowerCase()||``;return t.includes(`video`)||/\.(mp4|mov|webm|m4v)(\?|$)/i.test(n)?`video`:t.includes(`image`)||/\.(png|jpe?g|webp|gif|bmp|svg)(\?|$)/i.test(n)?`image`:t||`unknown`},s7=(e,t)=>`${t}-${o7(e)||`empty`}`,c7=(e,t=`资源`)=>t7(e)?`本地临时素材已失效`:i7(e)?`${t}链接已超时,请刷新列表或重新搜索后再查看`:`${t}加载失败,请刷新列表或重新搜索后再查看`,l7=({text:e,minHeight:t=240,compact:n=!1,action:r})=>(0,Q.jsxs)(`div`,{style:{width:`100%`,minHeight:n?void 0:t,height:n?`100%`:void 0,borderRadius:n?10:12,background:`#f8f9fc`,border:`1px dashed #cbd5e1`,color:`#64748b`,display:`flex`,alignItems:`center`,justifyContent:`center`,flexDirection:`column`,gap:n?4:10,textAlign:`center`},children:[(0,Q.jsx)(Z.Text,{style:{color:`#64748b`,fontSize:n?11:13},children:e}),r]}),u7=({label:e,value:t})=>(0,Q.jsxs)(`div`,{style:{flex:1,minWidth:120},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:e}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14},children:OUe(t)?`-`:t})]}),AUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(0),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(1),[c]=(0,C.useState)(20),[l,u]=(0,C.useState)(``),[d,f]=(0,C.useState)(``),[p,m]=(0,C.useState)(0),[h,g]=(0,C.useState)(null),[_,v]=(0,C.useState)(Q5),[y,b]=(0,C.useState)(!1),x=(0,C.useRef)(null),[S,w]=(0,C.useState)(null),[T,E]=(0,C.useState)(null),D=(0,C.useCallback)(async()=>{a(!0);try{let e=await TVe({userId:d.trim()||void 0,status:l||void 0,page:o,pageSize:c});t((e.items||[]).map(e=>({id:e.id,userId:e.userId,username:e.username,projectId:e.projectId,projectName:e.projectName,industry:e.industry,originalPrompt:e.originalPrompt,optimizedPrompt:e.optimizedPrompt,duration:e.duration,aspectRatio:e.aspectRatio,resolution:e.resolution,status:e.status,videoUrl:e.videoUrl,videoCoverUrl:e.videoCoverUrl,references:e.references,creditsCost:e.creditsCost||0,textCreditsCost:e.textCreditsCost||0,textTokensUsed:e.textTokensUsed||0,videoTokensUsed:e.videoTokensUsed||0,errorMessage:e.errorMessage,createdAt:e.createdAt,generatedAt:e.generatedAt,genType:e.genType,imageSize:e.imageSize,imageUrl:e.imageUrl,imageTokensUsed:e.imageTokensUsed||0,imageProportion:e.imageProportion,imagePx:e.imagePx}))),r(e.total||0)}catch{xP.error(`加载记录失败`)}finally{a(!1)}},[l,d,o,c]);(0,C.useEffect)(()=>{D()},[D,p]),(0,C.useEffect)(()=>{if(!h){v(Q5);return}let e=(h.references||[]).reduce((e,t,n)=>{let r=o7(t);return e[s7(t,n)]=a7(r),e},{});x.current&&(x.current.pause(),x.current.currentTime=0),b(!1),v({image:a7(h.imageUrl),video:a7(h.videoUrl),videoCover:a7(h.videoCoverUrl),references:e})},[h]);let O=()=>{s(1),m(e=>e+1)},k=(0,C.useCallback)(e=>{g(e)},[]),A=()=>{x.current&&x.current.pause(),b(!1),g(null)},j=e=>{v(t=>({...t,...e}))},M=(e,t)=>{v(n=>({...n,references:{...n.references,[e]:t}}))},N=(e,t=`素材`)=>{if(!e){xP.warning(`${t}链接为空,暂无法查看`);return}if(t7(e)){xP.warning(`本地临时素材已失效,暂无法查看`);return}if(i7(e)){xP.warning(`${t}链接已超时,请刷新列表或重新搜索后再查看`);return}window.open(n7(e),`_blank`,`noopener,noreferrer`)},P=()=>{if(h?.videoUrl){if(i7(h.videoUrl)){j({video:`invalid`}),xP.warning(`视频链接已超时,请刷新列表或重新搜索后再查看`);return}b(!0),window.setTimeout(()=>{x.current?.play().catch(()=>{b(!1),j({video:`invalid`}),xP.warning(`视频播放失败,请确认资源链接是否仍然有效`)})},0)}},F=async(e,t,n)=>{w(e);try{await EVe(e,t,n),xP.success(`状态已更新`),D()}catch(e){xP.error(e?.message||`更新失败`)}finally{w(null)}},I=async()=>{if(T){w(T.record.id);try{await DVe(T.record.id,T.ratio,T.resolution,T.image_size),xP.success(`已提交${T.record.genType===`video`?`视频`:`图片`}生成`),E(null),D()}catch(e){xP.error(e?.message||`生成失败`)}finally{w(null)}}},L=(0,C.useMemo)(()=>[{title:`用户`,key:`user`,width:120,render:(e,t)=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:13},children:t.username||`未知用户`}),(0,Q.jsx)(`div`,{style:{fontSize:11,color:`#94a3b8`},children:DUe(t.userId)})]})},{title:`项目`,dataIndex:`projectName`,width:120,ellipsis:!0,render:e=>(0,Q.jsx)(Z.Text,{style:{fontSize:13},children:e||`-`})},{title:`行业`,dataIndex:`industry`,width:100,ellipsis:!0,render:e=>(0,Q.jsx)(CR,{color:`cyan`,children:e||`-`})},{title:`类型`,dataIndex:`genType`,width:90,ellipsis:!0,render:e=>{let t=e7[e]||{text:e||`-`,color:`default`,icon:null};return(0,Q.jsx)(CR,{color:t.color,icon:t.icon,children:t.text})}},{title:`提示词`,key:`prompt`,ellipsis:!0,render:(e,t)=>(0,Q.jsx)(px,{title:t.originalPrompt,placement:`topLeft`,children:(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#475569`},ellipsis:!0,children:t.originalPrompt||`-`})})},{title:`参数`,key:`params`,width:160,render:(e,t)=>t.genType===`video`?t.duration||t.aspectRatio||t.resolution?(0,Q.jsxs)(AM,{size:4,wrap:!0,children:[t.duration?(0,Q.jsxs)(CR,{children:[t.duration,`s`]}):null,t.aspectRatio?(0,Q.jsx)(CR,{children:t.aspectRatio}):null,t.resolution?(0,Q.jsx)(CR,{children:t.resolution}):null]}):(0,Q.jsx)(CR,{color:`default`,children:`待配置`}):t.imageSize||t.imageProportion||t.imagePx?(0,Q.jsxs)(AM,{size:4,wrap:!0,children:[t.imageSize?(0,Q.jsx)(CR,{children:t.imageSize}):null,t.imageProportion?(0,Q.jsx)(CR,{children:t.imageProportion}):null,t.imagePx?(0,Q.jsx)(CR,{children:t.imagePx}):null]}):(0,Q.jsx)(CR,{color:`default`,children:`待配置`})},{title:`积分`,key:`credits`,width:120,render:(e,t)=>(0,Q.jsxs)(`div`,{style:{fontSize:12},children:[t.textCreditsCost>0?(0,Q.jsxs)(`div`,{style:{color:`#f59e0b`},children:[`文字: `,t.textCreditsCost]}):null,t.creditsCost>0?(0,Q.jsxs)(`div`,{style:{color:`#6366f1`},children:[t.genType===`video`?`视频`:`图片`,`: `,t.creditsCost]}):null,t.textCreditsCost===0&&t.creditsCost===0?(0,Q.jsx)(Z.Text,{style:{color:`#94a3b8`},children:`0`}):null]})},{title:`状态`,dataIndex:`status`,width:90,render:e=>{let t=$5[e]||{color:`default`,text:e||`-`,icon:null};return(0,Q.jsx)(CR,{color:t.color,icon:t.icon,children:t.text})}},{title:`时间`,key:`time`,width:150,render:(e,t)=>(0,Q.jsxs)(`div`,{style:{fontSize:12,color:`#94a3b8`},children:[(0,Q.jsx)(`div`,{children:r7(t.createdAt)}),t.generatedAt?(0,Q.jsxs)(`div`,{style:{color:`#10b981`},children:[`生成: `,r7(t.generatedAt)]}):null]})},{title:`操作`,key:`action`,width:150,fixed:`right`,render:(e,t)=>(0,Q.jsxs)(AM,{size:4,wrap:!0,children:[(0,Q.jsx)(ZS,{size:`small`,icon:(0,Q.jsx)(AN,{}),onClick:()=>k(t),children:`详情`}),t.status===`generating`?(0,Q.jsx)(ZS,{size:`small`,danger:!0,loading:S===t.id,onClick:()=>{CP.confirm({title:`确认操作`,icon:(0,Q.jsx)(kY,{}),content:`确定将此记录标记为失败?`,onOk:()=>F(t.id,`failed`)})},children:`标记失败`}):null,t.status===`failed`?(0,Q.jsx)(ZS,{size:`small`,type:`primary`,danger:!0,loading:S===t.id,onClick:()=>E({record:t,ratio:t.aspectRatio||`16:9`,resolution:t.resolution||`720p`,image_size:t.imageSize||`2K`}),children:`重试生成`}):null,t.status===`prompt_optimized`?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(ZS,{size:`small`,type:`primary`,loading:S===t.id,onClick:()=>E({record:t,ratio:t.aspectRatio||`16:9`,resolution:t.resolution||`720p`,image_size:t.imageSize||`2K`}),style:{background:`#6366f1`,border:`none`},children:[`生成`,t.genType===`video`?`视频`:`图片`]}),(0,Q.jsx)(ZS,{size:`small`,danger:!0,loading:S===t.id,onClick:()=>{CP.confirm({title:`确认操作`,icon:(0,Q.jsx)(kY,{}),content:`确定将此记录标记为失败?`,onOk:()=>F(t.id,`failed`)})},children:`标记失败`})]}):null]})}],[k,S]),R=h?e7[h.genType||``]||{text:h.genType||`-`,color:`default`,icon:null}:null,z=h?$5[h.status]||{color:`default`,text:h.status||`-`,icon:null}:null,B=()=>{if(!h||h.genType!==`image`||h.status!==`completed`)return null;if(!h.imageUrl)return(0,Q.jsx)(l7,{text:`此图片任务暂无结果图片`,minHeight:260});if(_.image===`invalid`)return(0,Q.jsx)(l7,{text:c7(h.imageUrl,`图片`),minHeight:260});let e=n7(h.imageUrl);return(0,Q.jsxs)(`div`,{title:`点击新页面查看图片`,onClick:()=>N(h.imageUrl,`生成图片`),style:{position:`relative`,width:`100%`,minHeight:260,borderRadius:12,background:`#f8f9fc`,border:`1px solid #e2e8f0`,overflow:`hidden`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`},children:[(0,Q.jsx)(`img`,{src:e,alt:`生成图片`,onLoad:()=>j({image:`valid`}),onError:()=>j({image:`invalid`}),style:{display:_.image===`valid`?`block`:`none`,width:`100%`,maxHeight:560,objectFit:`contain`,background:`#fff`}},`${h.id}-${e}`),_.image===`checking`?(0,Q.jsx)(l7,{text:`图片加载检测中...`,minHeight:260}):null]})},V=()=>{if(!h||y||_.video===`invalid`)return null;let e=h.videoUrl?(0,Q.jsx)(ZS,{type:`primary`,shape:`circle`,size:`large`,icon:(0,Q.jsx)(u0,{}),onClick:P,style:{boxShadow:`0 8px 20px rgba(15,23,42,0.25)`}}):null;if(!h.videoCoverUrl)return(0,Q.jsx)(`div`,{style:{position:`absolute`,inset:0,borderRadius:12,overflow:`hidden`,background:`#f8f9fc`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,Q.jsx)(l7,{text:`此视频无封面`,minHeight:340,action:e})});if(_.videoCover===`invalid`)return(0,Q.jsx)(l7,{text:c7(h.videoCoverUrl,`视频封面`),minHeight:340,action:e});let t=n7(h.videoCoverUrl);return(0,Q.jsxs)(`div`,{style:{position:`absolute`,inset:0,borderRadius:12,overflow:`hidden`,background:`#f8f9fc`,border:`1px solid #e2e8f0`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:[(0,Q.jsx)(`img`,{src:t,alt:`视频封面`,onLoad:()=>j({videoCover:`valid`}),onError:()=>j({videoCover:`invalid`}),style:{display:_.videoCover===`valid`?`block`:`none`,width:`100%`,height:`100%`,objectFit:`contain`,background:`#000`}},`${h.id}-cover-${t}`),_.videoCover===`checking`?(0,Q.jsx)(l7,{text:`视频封面加载检测中...`,minHeight:340,action:e}):null,_.videoCover===`valid`?(0,Q.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`rgba(15,23,42,0.18)`},children:e}):null]})},H=()=>{if(!h||h.genType!==`video`||h.status!==`completed`)return null;if(!h.videoUrl)return(0,Q.jsx)(l7,{text:`此视频任务暂无结果视频`,minHeight:340});if(_.video===`invalid`)return(0,Q.jsx)(l7,{text:c7(h.videoUrl,`视频`),minHeight:340});let e=n7(h.videoUrl);return(0,Q.jsxs)(`div`,{style:{position:`relative`,width:`100%`,height:340,borderRadius:12,background:`#000`,overflow:`hidden`,border:`1px solid #e2e8f0`},children:[(0,Q.jsx)(`video`,{ref:x,src:e,preload:`metadata`,controls:y,onLoadedMetadata:()=>j({video:`valid`}),onCanPlay:()=>j({video:`valid`}),onPlaying:()=>{b(!0),j({video:`valid`})},onPause:()=>b(!1),onEnded:()=>b(!1),onError:()=>{b(!1),j({video:`invalid`})},style:{width:`100%`,height:`100%`,objectFit:`contain`,background:`#000`,opacity:+!!y,pointerEvents:y?`auto`:`none`}},`${h.id}-${e}`),V()]})},U=(e,t)=>{let n=o7(e),r=kUe(e),i=s7(e,t),a=_.references[i]||a7(n),o=r===`image`,s=r===`video`,c=typeof e.name==`string`&&e.name?e.name:`参考素材 ${t+1}`;if(!n)return(0,Q.jsxs)(`div`,{style:{width:94},children:[(0,Q.jsx)(`div`,{style:{width:94,height:94},children:(0,Q.jsx)(l7,{text:`无链接`,compact:!0})}),(0,Q.jsx)(Z.Text,{ellipsis:!0,style:{display:`block`,marginTop:4,fontSize:11,color:`#94a3b8`},children:c})]},i);if(a===`invalid`)return(0,Q.jsxs)(`div`,{style:{width:94},children:[(0,Q.jsx)(`div`,{style:{width:94,height:94},children:(0,Q.jsx)(l7,{text:t7(n)?`本地临时素材已失效`:`素材不可访问`,compact:!0})}),(0,Q.jsx)(px,{title:c,children:(0,Q.jsx)(Z.Text,{ellipsis:!0,style:{display:`block`,marginTop:4,fontSize:11,color:`#94a3b8`},children:c})})]},i);let l=n7(n);return(0,Q.jsxs)(`div`,{style:{width:94},children:[(0,Q.jsxs)(`div`,{role:`button`,tabIndex:0,title:`点击新页面查看素材`,onClick:()=>N(n,s?`视频素材`:o?`图片素材`:`素材`),onKeyDown:e=>{e.key===`Enter`&&N(n,s?`视频素材`:o?`图片素材`:`素材`)},style:{width:94,height:94,borderRadius:10,overflow:`hidden`,border:`1px solid #e2e8f0`,background:`#f8f9fc`,position:`relative`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`},children:[o?(0,Q.jsx)(`img`,{src:l,alt:c,onLoad:()=>M(i,`valid`),onError:()=>M(i,`invalid`),style:{display:a===`valid`?`block`:`none`,width:`100%`,height:`100%`,objectFit:`cover`}}):null,s?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`video`,{src:l,preload:`metadata`,onLoadedMetadata:()=>M(i,`valid`),onError:()=>M(i,`invalid`),style:{display:`none`}}),(0,Q.jsxs)(`div`,{style:{color:`#64748b`,fontSize:12,textAlign:`center`},children:[(0,Q.jsx)(u0,{style:{fontSize:18}}),(0,Q.jsx)(`div`,{children:`视频素材`}),(0,Q.jsx)(`div`,{style:{fontSize:10,color:`#94a3b8`,marginTop:2},children:`点击查看`})]})]}):null,!o&&!s?(0,Q.jsxs)(`div`,{style:{color:`#64748b`,fontSize:12,textAlign:`center`},children:[`文件素材`,(0,Q.jsx)(`div`,{style:{fontSize:10,color:`#94a3b8`,marginTop:2},children:`点击查看`})]}):null,a===`checking`&&o?(0,Q.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`#f8f9fc`},children:(0,Q.jsx)(fm,{style:{color:`#6366f1`}})}):null]}),(0,Q.jsx)(px,{title:c,children:(0,Q.jsx)(Z.Text,{ellipsis:!0,style:{display:`block`,marginTop:4,fontSize:11,color:`#94a3b8`},children:c})})]},i)};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16,flexWrap:`wrap`,gap:12},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(t8,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`生成记录管理`}),(0,Q.jsxs)(CR,{color:`purple`,children:[n,` 条记录`]})]}),(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(Cb,{placeholder:`状态筛选`,allowClear:!0,style:{width:120},value:l||void 0,onChange:e=>{u(e||``),s(1)},options:[{value:`optimizing`,label:`优化中`},{value:`prompt_optimized`,label:`待生成`},{value:`generating`,label:`生成中`},{value:`completed`,label:`已完成`},{value:`failed`,label:`失败`}]}),(0,Q.jsx)(zN,{placeholder:`用户ID搜索`,prefix:(0,Q.jsx)(vb,{style:{color:`#94a3b8`}}),style:{width:200},value:d,onChange:e=>f(e.target.value),onPressEnter:O,allowClear:!0}),(0,Q.jsx)(ZS,{type:`primary`,onClick:O,style:{borderRadius:8},children:`搜索`})]})]}),(0,Q.jsx)(uR,{columns:L,dataSource:e,rowKey:`id`,loading:i,scroll:{x:1120},pagination:{current:o,pageSize:c,total:n,onChange:s,showSizeChanger:!1,showTotal:e=>`共 ${e} 条`}})]}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[h?.genType===`video`?(0,Q.jsx)(t8,{}):(0,Q.jsx)(mX,{}),(0,Q.jsx)(`span`,{children:`生成记录详情`})]}),open:!!h,onCancel:A,footer:null,width:900,destroyOnClose:!0,children:h?(0,Q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:16,marginTop:16},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,flexWrap:`wrap`},children:[(0,Q.jsxs)(`div`,{style:{flex:1,minWidth:150,padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`用户`}),(0,Q.jsx)(Z.Text,{strong:!0,children:h.username||`-`})]}),(0,Q.jsxs)(`div`,{style:{flex:1,minWidth:150,padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`项目`}),(0,Q.jsx)(Z.Text,{strong:!0,children:h.projectName||`-`})]}),(0,Q.jsxs)(`div`,{style:{flex:1,minWidth:150,padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`类型 / 状态`}),(0,Q.jsxs)(AM,{size:4,wrap:!0,children:[R?(0,Q.jsx)(CR,{color:R.color,icon:R.icon,children:R.text}):null,z?(0,Q.jsx)(CR,{color:z.color,icon:z.icon,children:z.text}):null]})]})]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:6},children:`原始提示词`}),(0,Q.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`,border:`1px solid #f0f0f5`},children:(0,Q.jsx)(Z.Text,{style:{fontSize:13,color:`#475569`,lineHeight:1.7},children:h.originalPrompt||`-`})})]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:6},children:`优化后提示词`}),(0,Q.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`rgba(99,102,241,0.02)`,border:`1px solid rgba(99,102,241,0.1)`},children:(0,Q.jsx)(Z.Text,{style:{fontSize:13,color:`#1a1a2e`,lineHeight:1.7},children:h.optimizedPrompt||`-`})})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,padding:12,borderRadius:10,background:`#f8f9fc`,flexWrap:`wrap`},children:[(0,Q.jsx)(u7,{label:`文字积分`,value:(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{color:`#f59e0b`},children:h.textCreditsCost||0}),(0,Q.jsxs)(Z.Text,{style:{fontSize:11,color:`#94a3b8`},children:[` (`,h.textTokensUsed||0,` tokens)`]})]})}),(0,Q.jsx)(u7,{label:`${h.genType===`image`?`图片`:`视频`}积分`,value:(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{color:`#6366f1`},children:h.creditsCost||0}),h.genType===`video`&&h.videoTokensUsed?(0,Q.jsxs)(Z.Text,{style:{fontSize:11,color:`#94a3b8`},children:[` (`,h.videoTokensUsed,` tokens)`]}):null,h.genType===`image`&&h.imageTokensUsed?(0,Q.jsxs)(Z.Text,{style:{fontSize:11,color:`#94a3b8`},children:[` (`,h.imageTokensUsed,` tokens)`]}):null]})}),(0,Q.jsx)(u7,{label:`总积分`,value:(h.textCreditsCost||0)+(h.creditsCost||0)})]}),h.genType===`video`?h.duration||h.aspectRatio||h.resolution?(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,padding:12,borderRadius:10,background:`#f8f9fc`,flexWrap:`wrap`},children:[(0,Q.jsx)(u7,{label:`时长`,value:h.duration?`${h.duration}秒`:`-`}),(0,Q.jsx)(u7,{label:`比例`,value:h.aspectRatio||`-`}),(0,Q.jsx)(u7,{label:`分辨率`,value:h.resolution||`-`})]}):(0,Q.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`,textAlign:`center`},children:(0,Q.jsx)(CR,{color:`default`,children:`视频参数待用户配置`})}):null,h.genType===`image`?h.imageSize||h.imageProportion||h.imagePx?(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,padding:12,borderRadius:10,background:`#f8f9fc`,flexWrap:`wrap`},children:[(0,Q.jsx)(u7,{label:`尺寸`,value:h.imagePx||`-`}),(0,Q.jsx)(u7,{label:`比例`,value:h.imageProportion||`-`}),(0,Q.jsx)(u7,{label:`分辨率`,value:h.imageSize||`-`})]}):(0,Q.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`,textAlign:`center`},children:(0,Q.jsx)(CR,{color:`default`,children:`图片参数待用户配置`})}):null,!h?.references||h.references.length===0?null:(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:6},children:`参考内容`}),(0,Q.jsx)(`div`,{style:{display:`flex`,gap:10,flexWrap:`wrap`},children:h.references.map((e,t)=>U(e,t))})]}),h.status===`completed`?(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:6},children:h.genType===`video`?`生成视频`:`生成图片`}),h.genType===`video`?H():B()]}):null,h.status===`failed`&&h.errorMessage?(0,Q.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`rgba(239,68,68,0.04)`,border:`1px solid rgba(239,68,68,0.15)`},children:(0,Q.jsxs)(Z.Text,{style:{fontSize:12,color:`#ef4444`},children:[`错误信息: `,h.errorMessage]})}):null,(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,fontSize:12,color:`#94a3b8`,flexWrap:`wrap`},children:[(0,Q.jsxs)(`span`,{children:[`创建: `,r7(h.createdAt)]}),(0,Q.jsxs)(`span`,{children:[`生成: `,r7(h.generatedAt)]})]})]}):(0,Q.jsx)(qy,{description:`暂无详情`})}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[T&&(T.record.genType===`video`?(0,Q.jsx)(u0,{}):(0,Q.jsx)(mX,{})),T&&(T.record.genType===`video`?`生成视频`:`生成图片`)]}),open:!!T,onCancel:()=>E(null),onOk:I,okText:`提交生成`,cancelText:`取消`,confirmLoading:T?S===T.record.id:!1,width:420,children:T?(0,Q.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:16,marginTop:16},children:T.record.genType===`video`?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`时长`}),(0,Q.jsxs)(Z.Text,{strong:!0,children:[T.record.duration||5,`s`]})]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#64748b`,display:`block`,marginBottom:6},children:`画面比例`}),(0,Q.jsx)(Cb,{value:T.ratio,onChange:e=>E(t=>t?{...t,ratio:e}:null),style:{width:`100%`},options:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`].map(e=>({value:e,label:e}))})]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#64748b`,display:`block`,marginBottom:6},children:`分辨率`}),(0,Q.jsx)(Cb,{value:T.resolution,onChange:e=>E(t=>t?{...t,resolution:e}:null),style:{width:`100%`},options:[`480p`,`720p`,`1080p`].map(e=>({value:e,label:e}))})]})]}):(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`尺寸`}),(0,Q.jsx)(Z.Text,{strong:!0,children:T.record.imagePx||`-`})]}),(0,Q.jsxs)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`比例`}),(0,Q.jsx)(Z.Text,{strong:!0,children:T.record.imageProportion||`-`})]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#64748b`,display:`block`,marginBottom:6},children:`分辨率`}),(0,Q.jsx)(Cb,{value:T.image_size,onChange:e=>E(t=>t?{...t,image_size:e}:null),style:{width:`100%`},options:[`2K`,`4K`].map(e=>({value:e,label:e}))})]})]})}):null})]})},{RangePicker:jUe}=uM,d7=`http://ceshi.apiforeign.minzhong.cn`.replace(/\/api\/?$/i,``).replace(/\/$/,``),f7=20,p7=e=>e&&(e.name||e.modelName||e.id)||null,m7={image:`empty`,video:`empty`,videoCover:`empty`,references:{}},h7={pending:{color:`default`,text:`待处理`,icon:(0,Q.jsx)(oM,{})},generating:{color:`warning`,text:`生成中`,icon:(0,Q.jsx)(fm,{spin:!0})},completed:{color:`success`,text:`已完成`,icon:(0,Q.jsx)(RK,{})},failed:{color:`error`,text:`失败`,icon:(0,Q.jsx)(uq,{})}},g7={timeout:`任务超时`,queued:`已入队`,preparing:`准备中`,creating_provider_task:`创建任务中`,waiting_remote:`等待生成`,result_ready:`结果就绪`,downloading:`下载中`,done:`完成`,download_failed:`下载失败`,polling:`轮询中`,failed:`失败`},_7={image:{text:`图片`,color:`purple`,icon:(0,Q.jsx)(mX,{})},video:{text:`视频`,color:`geekblue`,icon:(0,Q.jsx)(t8,{})}},MUe=e=>/^(https?:)?\/\//i.test(e)||/^(blob|data):/i.test(e),v7=e=>!!e&&/^blob:/i.test(e.trim()),y7=e=>{if(!e)return``;let t=String(e).trim();return t?MUe(t)?t:d7?`${d7}${t.startsWith(`/`)?t:`/${t}`}`:t.startsWith(`/`)?t:`/${t}`:``},NUe=e=>e?e.length>12?`${e.slice(0,8)}...`:e:`-`,b7=e=>e?D5(e):`-`,PUe=e=>e==null||e===``,x7=e=>{if(!e||v7(e))return!1;try{let t=new URL(y7(e),window.location.origin),n=t.searchParams.get(`exp`)||t.searchParams.get(`expires`)||t.searchParams.get(`expire`)||t.searchParams.get(`expires_at`)||t.searchParams.get(`x-expires`);if(!n)return!1;let r=Number(n);if(!Number.isFinite(r))return!1;let i=r>1e10?r:r*1e3;return Date.now()>=i}catch{return!1}},S7=e=>e?v7(e)||x7(e)?`invalid`:`checking`:`empty`,C7=e=>{let t=e.url||e.mediaUrl||e.fileUrl;return typeof t==`string`&&t.trim()?t.trim():void 0},w7=e=>{let t=String(e.type||e.mediaType||e.mimeType||``).toLowerCase(),n=C7(e)?.toLowerCase()||``;return t.includes(`video`)||/\.(mp4|mov|webm|m4v)(\?|$)/i.test(n)?`video`:t.includes(`image`)||/\.(png|jpe?g|webp|gif|bmp|svg)(\?|$)/i.test(n)?`image`:t||`unknown`},T7=(e,t)=>`${t}-${C7(e)||`empty`}`,E7=(e,t=`资源`)=>v7(e)?`本地临时素材已失效`:x7(e)?`${t}链接已超时,请刷新列表或重新搜索后再查看`:`${t}加载失败,请刷新列表或重新搜索后再查看`,D7=({text:e,minHeight:t=240,compact:n=!1,action:r})=>(0,Q.jsxs)(`div`,{style:{width:`100%`,minHeight:n?void 0:t,height:n?`100%`:void 0,borderRadius:n?10:12,background:`#f8f9fc`,border:`1px dashed #cbd5e1`,color:`#64748b`,display:`flex`,alignItems:`center`,justifyContent:`center`,flexDirection:`column`,gap:n?4:10,textAlign:`center`},children:[(0,Q.jsx)(Z.Text,{style:{color:`#64748b`,fontSize:n?11:13},children:e}),r]}),O7=({label:e,value:t})=>(0,Q.jsxs)(`div`,{style:{flex:1,minWidth:120},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:e}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14},children:PUe(t)?`-`:t})]}),k7=()=>(0,$S.default)().startOf(`day`),A7=()=>(0,$S.default)().endOf(`day`),FUe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(0),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(1),[c,l]=(0,C.useState)(``),[u,d]=(0,C.useState)(``),[f,p]=(0,C.useState)(``),[m,h]=(0,C.useState)(``),[g,_]=(0,C.useState)(``),[v,y]=(0,C.useState)(``),[b,x]=(0,C.useState)(``),[S,w]=(0,C.useState)(``),[T,E]=(0,C.useState)([k7(),A7()]),[D,O]=(0,C.useState)([k7(),A7()]),[k,A]=(0,C.useState)(0),[j,M]=(0,C.useState)(null),[N,P]=(0,C.useState)(m7),[F,I]=(0,C.useState)(!1),L=(0,C.useRef)(null),[R,z]=(0,C.useState)(null),B=(0,C.useCallback)(async()=>{a(!0);try{let e=await kVe({genType:u||void 0,status:c||void 0,userId:v||void 0,userName:b||void 0,engineId:S||void 0,createdStart:D?.[0]?.format?.(`YYYY-MM-DDTHH:mm:ss`),createdEnd:D?.[1]?.format?.(`YYYY-MM-DDTHH:mm:ss`),page:o,pageSize:f7});t(e.items||[]),r(e.total||0)}catch(e){xP.error(e?.message||`加载创作记录失败`)}finally{a(!1)}},[u,c,o,v,b,S,D]);(0,C.useEffect)(()=>{B()},[B,k]),(0,C.useEffect)(()=>{if(!j){P(m7);return}let e=(j.mediaReferences||[]).reduce((e,t,n)=>{let r=C7(t);return e[T7(t,n)]=S7(r),e},{});L.current&&(L.current.pause(),L.current.currentTime=0),I(!1),P({image:S7(j.imageUrl),video:S7(j.videoUrl),videoCover:S7(j.videoCoverUrl),references:e})},[j]);let V=()=>{s(1),y(m.trim()),x(g.trim()),w(f),O(T),A(e=>e+1)},H=()=>{l(``),d(``),p(``),h(``),_(``),y(``),x(``),w(``);let e=[k7(),A7()];E(e),O(e),s(1),A(e=>e+1)},U=(0,C.useCallback)(e=>{M(e)},[]),W=()=>{L.current&&L.current.pause(),I(!1),M(null)},ee=e=>{P(t=>({...t,...e}))},te=(e,t)=>{P(n=>({...n,references:{...n.references,[e]:t}}))},ne=()=>{if(j?.videoUrl){if(x7(j.videoUrl)){ee({video:`invalid`}),xP.warning(`视频链接已超时,请刷新列表或重新搜索后再查看`);return}I(!0),window.setTimeout(()=>{L.current?.play().catch(()=>{I(!1),ee({video:`invalid`}),xP.warning(`视频播放失败,请确认资源链接是否仍然有效`)})},0)}},re=(e,t=`素材`)=>{if(!e){xP.warning(`${t}链接为空,暂无法查看`);return}if(v7(e)){xP.warning(`本地临时素材已失效,暂无法查看`);return}if(x7(e)){xP.warning(`${t}链接已超时,请刷新列表或重新搜索后再查看`);return}window.open(y7(e),`_blank`,`noopener,noreferrer`)},ie=(e,t,n)=>{if(v7(e)){xP.warning(`本地临时素材已失效,暂无法查看`);return}if(x7(e)){xP.warning(`链接已超时,请刷新列表或重新搜索后再查看`);return}z({url:y7(e),type:t,title:n})},ae=()=>z(null),G=(0,C.useMemo)(()=>[{title:`用户`,key:`user`,width:150,render:(e,t)=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:13},children:t.userName||`未知用户`}),(0,Q.jsx)(`div`,{style:{fontSize:11,color:`#94a3b8`},children:NUe(t.userId)})]})},{title:`类型`,dataIndex:`genType`,width:90,render:e=>{let t=_7[e]||{text:e||`-`,color:`default`,icon:null};return(0,Q.jsx)(CR,{color:t.color,icon:t.icon,children:t.text})}},{title:`引擎`,key:`engine`,width:160,render:(e,t)=>{let n=p7(t.engineSnapshot);return(0,Q.jsx)(px,{title:t.engineId||`未知引擎`,placement:`topLeft`,children:(0,Q.jsx)(CR,{icon:(0,Q.jsx)(j2,{}),color:`cyan`,children:n||t.engineId||`-`})})}},{title:`附件`,key:`references`,width:100,render:(e,t)=>{let n=t.mediaReferences||[];return n.length===0?(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`},children:`无`}):(0,Q.jsx)(AM,{size:2,wrap:!0,children:n.map((e,t)=>{let n=C7(e),r=w7(e),i=typeof e.name==`string`&&e.name?e.name:`附件 ${t+1}`;return n?(0,Q.jsx)(px,{title:i,children:(0,Q.jsx)(ZS,{size:`small`,type:`text`,icon:r===`video`?(0,Q.jsx)(t8,{style:{color:`#6366f1`}}):r===`audio`?(0,Q.jsx)(XH,{style:{color:`#f59e0b`}}):(0,Q.jsx)(mX,{style:{color:`#8b5cf6`}}),style:{width:28,height:28,padding:0},onClick:e=>{e.stopPropagation(),ie(n,r===`video`?`video`:`image`,i)}})},t):null})})}},{title:`结果`,key:`result`,width:90,render:(e,t)=>t.status===`completed`?t.genType===`video`&&t.videoUrl?(0,Q.jsx)(ZS,{size:`small`,icon:(0,Q.jsx)(u0,{}),type:`link`,style:{padding:0},onClick:e=>{e.stopPropagation(),ie(t.videoUrl,`video`,`生成视频`)},children:`看视频`}):t.genType===`image`&&t.imageUrl?(0,Q.jsx)(ZS,{size:`small`,icon:(0,Q.jsx)(mX,{}),type:`link`,style:{padding:0},onClick:e=>{e.stopPropagation(),ie(t.imageUrl,`image`,`生成图片`)},children:`看图片`}):(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`},children:`无`}):(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`},children:`-`})},{title:`提示词`,key:`prompt`,ellipsis:!0,render:(e,t)=>(0,Q.jsx)(px,{title:t.originalPrompt,placement:`topLeft`,children:(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#475569`},ellipsis:!0,children:t.originalPrompt||`-`})})},{title:`参数`,key:`params`,width:180,render:(e,t)=>t.genType===`video`?t.duration||t.aspectRatio||t.resolution?(0,Q.jsxs)(AM,{size:4,wrap:!0,children:[t.duration?(0,Q.jsxs)(CR,{children:[t.duration,`s`]}):null,t.aspectRatio?(0,Q.jsx)(CR,{children:t.aspectRatio}):null,t.resolution?(0,Q.jsx)(CR,{children:t.resolution}):null]}):(0,Q.jsx)(CR,{color:`default`,children:`无参数`}):t.imageSize||t.imageProportion||t.imagePx?(0,Q.jsxs)(AM,{size:4,wrap:!0,children:[t.imageSize?(0,Q.jsx)(CR,{children:t.imageSize}):null,t.imageProportion?(0,Q.jsx)(CR,{children:t.imageProportion}):null,t.imagePx?(0,Q.jsx)(CR,{children:t.imagePx}):null]}):(0,Q.jsx)(CR,{color:`default`,children:`无参数`})},{title:`积分`,key:`credits`,width:130,render:(e,t)=>(0,Q.jsxs)(`div`,{style:{fontSize:12},children:[(0,Q.jsxs)(`div`,{style:{color:`#6366f1`},children:[`总: `,t.creditsCost||0]}),t.textCreditsCost>0?(0,Q.jsxs)(`div`,{style:{color:`#f59e0b`},children:[`文字: `,t.textCreditsCost]}):null]})},{title:`状态`,dataIndex:`status`,width:100,render:e=>{let t=h7[e]||{color:`default`,text:e||`-`,icon:null};return(0,Q.jsx)(CR,{color:t.color,icon:t.icon,children:t.text})}},{title:`阶段`,dataIndex:`pipelineStage`,width:120,render:e=>(0,Q.jsx)(CR,{color:`blue`,children:g7[e]||e||`-`})},{title:`时间`,key:`time`,width:170,render:(e,t)=>(0,Q.jsxs)(`div`,{style:{fontSize:12,color:`#94a3b8`},children:[(0,Q.jsx)(`div`,{children:b7(t.createdAt)}),t.generatedAt?(0,Q.jsxs)(`div`,{style:{color:`#10b981`},children:[`生成: `,b7(t.generatedAt)]}):null]})},{title:`操作`,key:`action`,width:90,fixed:`right`,render:(e,t)=>(0,Q.jsx)(ZS,{size:`small`,icon:(0,Q.jsx)(AN,{}),onClick:()=>U(t),children:`详情`})}],[U]),oe=j?_7[j.genType]||{text:j.genType||`-`,color:`default`,icon:null}:null,K=j?h7[j.status]||{color:`default`,text:j.status||`-`,icon:null}:null,se=()=>{if(!j||j.genType!==`image`||j.status!==`completed`)return null;if(!j.imageUrl)return(0,Q.jsx)(D7,{text:`此图片任务暂无结果图片`,minHeight:260});if(N.image===`invalid`)return(0,Q.jsx)(D7,{text:E7(j.imageUrl,`图片`),minHeight:260});let e=y7(j.imageUrl);return(0,Q.jsxs)(`div`,{style:{position:`relative`,width:`100%`,minHeight:260,borderRadius:12,background:`#f8f9fc`,border:`1px solid #e2e8f0`,overflow:`hidden`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:[(0,Q.jsx)(`img`,{src:e,alt:`生成图片`,onLoad:()=>ee({image:`valid`}),onError:()=>ee({image:`invalid`}),style:{display:N.image===`valid`?`block`:`none`,width:`100%`,maxHeight:560,objectFit:`contain`,background:`#fff`}},`${j.id}-${e}`),N.image===`checking`?(0,Q.jsx)(D7,{text:`图片加载检测中...`,minHeight:260}):null]})},ce=()=>{if(!j||F||N.video===`invalid`)return null;let e=j.videoUrl?(0,Q.jsx)(ZS,{type:`primary`,shape:`circle`,size:`large`,icon:(0,Q.jsx)(u0,{}),onClick:ne,style:{boxShadow:`0 8px 20px rgba(15,23,42,0.25)`}}):null;if(!j.videoCoverUrl)return(0,Q.jsx)(`div`,{style:{position:`absolute`,inset:0,borderRadius:12,overflow:`hidden`,background:`#f8f9fc`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,Q.jsx)(D7,{text:`此视频无封面`,minHeight:340,action:e})});if(N.videoCover===`invalid`)return(0,Q.jsx)(D7,{text:E7(j.videoCoverUrl,`视频封面`),minHeight:340,action:e});let t=y7(j.videoCoverUrl);return(0,Q.jsxs)(`div`,{style:{position:`absolute`,inset:0,borderRadius:12,overflow:`hidden`,background:`#f8f9fc`,border:`1px solid #e2e8f0`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:[(0,Q.jsx)(`img`,{src:t,alt:`视频封面`,onLoad:()=>ee({videoCover:`valid`}),onError:()=>ee({videoCover:`invalid`}),style:{display:N.videoCover===`valid`?`block`:`none`,width:`100%`,height:`100%`,objectFit:`contain`,background:`#000`}},`${j.id}-cover-${t}`),N.videoCover===`checking`?(0,Q.jsx)(D7,{text:`视频封面加载检测中...`,minHeight:340,action:e}):null,N.videoCover===`valid`?(0,Q.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`rgba(15,23,42,0.18)`},children:e}):null]})},le=()=>{if(!j||j.genType!==`video`||j.status!==`completed`)return null;if(!j.videoUrl)return(0,Q.jsx)(D7,{text:`此视频任务暂无结果视频`,minHeight:340});if(N.video===`invalid`)return(0,Q.jsx)(D7,{text:E7(j.videoUrl,`视频`),minHeight:340});let e=y7(j.videoUrl);return(0,Q.jsxs)(`div`,{style:{position:`relative`,width:`100%`,height:340,borderRadius:12,background:`#000`,overflow:`hidden`,border:`1px solid #e2e8f0`},children:[(0,Q.jsx)(`video`,{ref:L,src:e,preload:`metadata`,controls:F,onLoadedMetadata:()=>ee({video:`valid`}),onCanPlay:()=>ee({video:`valid`}),onPlaying:()=>{I(!0),ee({video:`valid`})},onPause:()=>I(!1),onEnded:()=>I(!1),onError:()=>{I(!1),ee({video:`invalid`})},style:{width:`100%`,height:`100%`,objectFit:`contain`,background:`#000`,opacity:+!!F,pointerEvents:F?`auto`:`none`}},`${j.id}-${e}`),ce()]})},ue=(e,t)=>{let n=C7(e),r=w7(e),i=T7(e,t),a=N.references[i]||S7(n),o=r===`image`,s=r===`video`,c=typeof e.name==`string`&&e.name?e.name:`参考素材 ${t+1}`;if(!n)return(0,Q.jsxs)(`div`,{style:{width:94},children:[(0,Q.jsx)(`div`,{style:{width:94,height:94},children:(0,Q.jsx)(D7,{text:`无链接`,compact:!0})}),(0,Q.jsx)(Z.Text,{ellipsis:!0,style:{display:`block`,marginTop:4,fontSize:11,color:`#94a3b8`},children:c})]},i);if(a===`invalid`)return(0,Q.jsxs)(`div`,{style:{width:94},children:[(0,Q.jsx)(`div`,{style:{width:94,height:94},children:(0,Q.jsx)(D7,{text:v7(n)?`本地临时素材已失效`:`素材不可访问`,compact:!0})}),(0,Q.jsx)(px,{title:c,children:(0,Q.jsx)(Z.Text,{ellipsis:!0,style:{display:`block`,marginTop:4,fontSize:11,color:`#94a3b8`},children:c})})]},i);let l=y7(n);return(0,Q.jsxs)(`div`,{style:{width:94},children:[(0,Q.jsxs)(`div`,{role:`button`,tabIndex:0,title:`点击新页面查看素材`,onClick:()=>re(n,s?`视频素材`:o?`图片素材`:`素材`),onKeyDown:e=>{e.key===`Enter`&&re(n,s?`视频素材`:o?`图片素材`:`素材`)},style:{width:94,height:94,borderRadius:10,overflow:`hidden`,border:`1px solid #e2e8f0`,background:`#f8f9fc`,position:`relative`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`},children:[o?(0,Q.jsx)(`img`,{src:l,alt:c,onLoad:()=>te(i,`valid`),onError:()=>te(i,`invalid`),style:{display:a===`valid`?`block`:`none`,width:`100%`,height:`100%`,objectFit:`cover`}}):null,s?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`video`,{src:l,preload:`metadata`,onLoadedMetadata:()=>te(i,`valid`),onError:()=>te(i,`invalid`),style:{display:`none`}}),(0,Q.jsxs)(`div`,{style:{color:`#64748b`,fontSize:12,textAlign:`center`},children:[(0,Q.jsx)(u0,{style:{fontSize:18}}),(0,Q.jsx)(`div`,{children:`视频素材`}),(0,Q.jsx)(`div`,{style:{fontSize:10,color:`#94a3b8`,marginTop:2},children:`点击查看`})]})]}):null,!o&&!s?(0,Q.jsxs)(`div`,{style:{color:`#64748b`,fontSize:12,textAlign:`center`},children:[`文件素材`,(0,Q.jsx)(`div`,{style:{fontSize:10,color:`#94a3b8`,marginTop:2},children:`点击查看`})]}):null,a===`checking`&&o?(0,Q.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`#f8f9fc`},children:(0,Q.jsx)(fm,{style:{color:`#6366f1`}})}):null]}),(0,Q.jsx)(px,{title:c,children:(0,Q.jsx)(Z.Text,{ellipsis:!0,style:{display:`block`,marginTop:4,fontSize:11,color:`#94a3b8`},children:c})})]},i)};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16,flexWrap:`wrap`,gap:12},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(u0,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`创作记录管理`}),(0,Q.jsxs)(CR,{color:`purple`,children:[n,` 条记录`]})]}),(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(Cb,{allowClear:!0,placeholder:`状态筛选`,value:c||void 0,style:{width:140},onChange:e=>{l(e||``),s(1)},options:[{value:`generating`,label:`生成中`},{value:`completed`,label:`已完成`},{value:`failed`,label:`失败`}]}),(0,Q.jsx)(Cb,{allowClear:!0,placeholder:`类型筛选`,value:u||void 0,style:{width:120},onChange:e=>{d(e||``),s(1)},options:[{value:`image`,label:`图片`},{value:`video`,label:`视频`}]}),(0,Q.jsx)(Cb,{allowClear:!0,showSearch:!0,placeholder:`引擎筛选`,value:f||void 0,style:{width:180},onChange:e=>{p(e||``),s(1),w(e||``)},optionFilterProp:`label`,options:Array.from(new Map(e.filter(e=>e.engineId).map(e=>[e.engineId,{value:e.engineId,label:p7(e.engineSnapshot)||e.engineId}])).values())}),(0,Q.jsx)(jUe,{value:T,onChange:e=>{e&&e[0]&&e[1]?E([e[0].startOf(`day`),e[1].endOf(`day`)]):E(e)},placeholder:[`开始日期`,`结束日期`]}),(0,Q.jsx)(zN,{placeholder:`用户ID搜索`,prefix:(0,Q.jsx)(vb,{style:{color:`#94a3b8`}}),style:{width:150},value:m,onChange:e=>h(e.target.value),onPressEnter:V,allowClear:!0}),(0,Q.jsx)(zN,{placeholder:`用户名搜索`,prefix:(0,Q.jsx)(vb,{style:{color:`#94a3b8`}}),style:{width:150},value:g,onChange:e=>_(e.target.value),onPressEnter:V,allowClear:!0}),(0,Q.jsx)(ZS,{type:`primary`,onClick:V,style:{borderRadius:8},children:`搜索`}),(0,Q.jsx)(ZS,{onClick:H,style:{borderRadius:8},children:`重置`})]})]}),(0,Q.jsx)(uR,{rowKey:`id`,loading:i,columns:G,dataSource:e,scroll:{x:1650},pagination:{current:o,pageSize:f7,total:n,showSizeChanger:!1,showTotal:e=>`共 ${e} 条`,onChange:e=>s(e)}})]}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[j?.genType===`video`?(0,Q.jsx)(t8,{}):(0,Q.jsx)(mX,{}),(0,Q.jsx)(`span`,{children:`创作记录详情`})]}),open:!!j,onCancel:W,footer:null,width:900,destroyOnClose:!0,children:j?(0,Q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:16,marginTop:12},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12,flexWrap:`wrap`},children:[oe?(0,Q.jsx)(CR,{color:oe.color,icon:oe.icon,children:oe.text}):null,K?(0,Q.jsx)(CR,{color:K.color,icon:K.icon,children:K.text}):null,j.pipelineStage?(0,Q.jsx)(CR,{color:`blue`,children:g7[j.pipelineStage]||j.pipelineStage}):null]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,padding:12,borderRadius:10,background:`#f8f9fc`,flexWrap:`wrap`},children:[(0,Q.jsx)(O7,{label:`用户名称`,value:j.userName||`未知用户`}),(0,Q.jsx)(O7,{label:`用户ID`,value:j.userId||`-`}),(0,Q.jsx)(O7,{label:`任务ID`,value:j.id})]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:6},children:`原始提示词`}),(0,Q.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`,lineHeight:1.6},children:j.originalPrompt||`-`})]}),j.genType===`video`?(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,padding:12,borderRadius:10,background:`#f8f9fc`,flexWrap:`wrap`},children:[(0,Q.jsx)(O7,{label:`时长`,value:j.duration?`${j.duration}秒`:`-`}),(0,Q.jsx)(O7,{label:`画面比例`,value:j.aspectRatio||`-`}),(0,Q.jsx)(O7,{label:`分辨率`,value:j.resolution||`-`})]}):(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,padding:12,borderRadius:10,background:`#f8f9fc`,flexWrap:`wrap`},children:[(0,Q.jsx)(O7,{label:`图片档位`,value:j.imageSize||`-`}),(0,Q.jsx)(O7,{label:`图片比例`,value:j.imageProportion||`-`}),(0,Q.jsx)(O7,{label:`像素尺寸`,value:j.imagePx||`-`})]}),j.engineSnapshot?(0,Q.jsxs)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:8},children:`引擎快照`}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,flexWrap:`wrap`},children:[(0,Q.jsx)(O7,{label:`引擎名称`,value:j.engineSnapshot.name||`-`}),(0,Q.jsx)(O7,{label:`服务商`,value:j.engineSnapshot.provider||`-`}),(0,Q.jsx)(O7,{label:`模型`,value:j.engineSnapshot.modelName||`-`}),(0,Q.jsx)(O7,{label:`引擎ID`,value:j.engineSnapshot.id||j.engineId||`-`})]})]}):null,(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,padding:12,borderRadius:10,background:`#f8f9fc`,flexWrap:`wrap`},children:[(0,Q.jsx)(O7,{label:`总积分`,value:(0,Q.jsx)(Z.Text,{strong:!0,style:{color:`#6366f1`},children:j.creditsCost||0})}),(0,Q.jsx)(O7,{label:`文字积分`,value:`${j.textCreditsCost||0} (${j.textTokensUsed||0} tokens)`}),(0,Q.jsx)(O7,{label:`图片 tokens`,value:j.imageTokensUsed??0}),(0,Q.jsx)(O7,{label:`视频 tokens`,value:j.videoTokensUsed??0})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,padding:12,borderRadius:10,background:`#f8f9fc`,flexWrap:`wrap`},children:[(0,Q.jsx)(O7,{label:`第三方任务ID`,value:j.providerTaskId||j.seedanceTaskId||`-`}),(0,Q.jsx)(O7,{label:`轮询次数`,value:j.pollCount??0}),(0,Q.jsx)(O7,{label:`重试次数`,value:j.retryCount??0})]}),!j?.mediaReferences||j.mediaReferences.length===0?null:(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:6},children:`参考内容`}),(0,Q.jsx)(`div`,{style:{display:`flex`,gap:10,flexWrap:`wrap`},children:j.mediaReferences.map((e,t)=>ue(e,t))})]}),j.mediaReferences&&j.mediaReferences.length>0?(0,Q.jsxs)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:8},children:`附件快速查看(点击新窗口打开)`}),(0,Q.jsx)(AM,{size:8,wrap:!0,children:j.mediaReferences.map((e,t)=>{let n=C7(e),r=w7(e),i=typeof e.name==`string`&&e.name?e.name:`附件 ${t+1}`;return n?(0,Q.jsx)(ZS,{size:`small`,icon:r===`video`?(0,Q.jsx)(u0,{}):(0,Q.jsx)(v$,{}),onClick:()=>ie(n,r===`video`?`video`:`image`,i),children:i},t):null})})]}):null,j.status===`completed`?(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:6},children:[(0,Q.jsx)(Z.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`},children:j.genType===`video`?`生成视频`:`生成图片`}),j.genType===`video`&&j.videoUrl?(0,Q.jsx)(ZS,{size:`small`,type:`link`,icon:(0,Q.jsx)(u0,{}),onClick:()=>ie(j.videoUrl,`video`,`生成视频`),style:{padding:0},children:`弹窗播放`}):null,j.genType===`image`&&j.imageUrl?(0,Q.jsx)(ZS,{size:`small`,type:`link`,icon:(0,Q.jsx)(mX,{}),onClick:()=>ie(j.imageUrl,`image`,`生成图片`),style:{padding:0},children:`弹窗查看`}):null]}),j.genType===`video`?le():se()]}):null,j.status===`failed`&&j.errorMessage?(0,Q.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`rgba(239,68,68,0.04)`,border:`1px solid rgba(239,68,68,0.15)`},children:(0,Q.jsxs)(Z.Text,{style:{fontSize:12,color:`#ef4444`},children:[`错误信息: `,j.errorMessage]})}):null,(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:16,fontSize:12,color:`#94a3b8`,flexWrap:`wrap`},children:[(0,Q.jsxs)(`span`,{children:[`创建: `,b7(j.createdAt)]}),(0,Q.jsxs)(`span`,{children:[`生成: `,b7(j.generatedAt)]})]})]}):(0,Q.jsx)(qy,{description:`暂无详情`})}),(0,Q.jsx)(CP,{title:R?.title||`资源预览`,open:!!R,onCancel:ae,footer:null,width:R?.type===`video`?800:600,destroyOnHidden:!0,children:R?R.type===`video`?(0,Q.jsx)(`video`,{src:R.url,controls:!0,autoPlay:!0,style:{width:`100%`,maxHeight:600,background:`#000`,borderRadius:8}},R.url):(0,Q.jsx)(`img`,{src:R.url,alt:R.title,style:{width:`100%`,maxHeight:600,objectFit:`contain`,borderRadius:8}}):null})]})},j7=20,IUe=[{value:`pending`,label:`已创建`},{value:`waiting_user`,label:`等待用户操作`},{value:`processing`,label:`处理中`},{value:`completed`,label:`已完成`},{value:`failed`,label:`失败`},{value:`cancelled`,label:`已取消`}],LUe={pending:{color:`default`,text:`已创建`},waiting_user:{color:`processing`,text:`等待用户操作`},processing:{color:`warning`,text:`处理中`},completed:{color:`success`,text:`已完成`},failed:{color:`error`,text:`失败`},cancelled:{color:`default`,text:`已取消`}},RUe={material_input:`素材输入`,image_prompt_optimize:`图片 AI 提词`,image_generate:`图片生成`,video_prompt_optimize:`视频 AI 提词`,video_generate:`视频生成`},M7=e=>e?D5(e):`-`,N7=e=>e?e.length>16?`${e.slice(0,10)}...`:e:`-`,zUe=({status:e})=>{if(!e)return(0,Q.jsx)(CR,{children:`-`});let t=LUe[e]||{color:`blue`,text:e};return(0,Q.jsx)(CR,{color:t.color,children:t.text})},BUe=()=>{let e=Ze(),[t,n]=(0,C.useState)([]),[r,i]=(0,C.useState)(0),[a,o]=(0,C.useState)(!1),[s,c]=(0,C.useState)(1),[l,u]=(0,C.useState)(``),[d,f]=(0,C.useState)(``),[p,m]=(0,C.useState)(``),[h,g]=(0,C.useState)(``),[_,v]=(0,C.useState)(null),[y,b]=(0,C.useState)(``),[x,S]=(0,C.useState)(``),[w,T]=(0,C.useState)(``),[E,D]=(0,C.useState)(null),[O,k]=(0,C.useState)(0),A=(0,C.useCallback)(async()=>{o(!0);try{let e=await AVe({status:l||void 0,keyword:y||void 0,userId:x||void 0,userName:w||void 0,createdStart:E?.[0]?.toISOString?.(),createdEnd:E?.[1]?.toISOString?.(),page:s,pageSize:j7});n(e.items||[]),i(e.total||0)}catch(e){xP.error(e?.message||`加载爆款开头复刻任务失败`)}finally{o(!1)}},[s,E,y,x,w,l]);(0,C.useEffect)(()=>{A()},[A,O]);let j=()=>{b(d.trim()),S(p.trim()),T(h.trim()),D(_),c(1)};return(0,Q.jsx)(`div`,{style:{padding:24},children:(0,Q.jsx)(FA,{children:(0,Q.jsxs)(AM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(AM,{align:`center`,style:{justifyContent:`space-between`,width:`100%`},children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Title,{level:3,style:{marginBottom:4},children:`爆款开头复刻`}),(0,Q.jsx)(Z.Text,{type:`secondary`,children:`只读排查页面:查看任务列表、素材、步骤详情和生成结果。`})]}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(zP,{}),onClick:()=>k(e=>e+1),children:`刷新`})]}),(0,Q.jsxs)(AM,{wrap:!0,children:[(0,Q.jsx)(Cb,{allowClear:!0,placeholder:`任务状态`,style:{width:160},value:l||void 0,onChange:e=>{u(e||``),c(1)},options:IUe}),(0,Q.jsx)(zN,{allowClear:!0,prefix:(0,Q.jsx)(vb,{}),placeholder:`关键词:标题/项目名/核心点`,style:{width:260},value:d,onChange:e=>f(e.target.value),onPressEnter:j}),(0,Q.jsx)(zN,{allowClear:!0,placeholder:`用户ID(管理员)`,style:{width:190},value:p,onChange:e=>m(e.target.value),onPressEnter:j}),(0,Q.jsx)(zN,{allowClear:!0,placeholder:`用户名(管理员)`,style:{width:230},value:h,onChange:e=>g(e.target.value),onPressEnter:j}),(0,Q.jsx)(uM.RangePicker,{showTime:!0,value:_,onChange:v,placeholder:[`创建开始`,`创建结束`]}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(vb,{}),onClick:j,children:`搜索`}),(0,Q.jsx)(ZS,{onClick:()=>{u(``),f(``),m(``),g(``),v(null),b(``),S(``),T(``),D(null),c(1),k(e=>e+1)},children:`重置`})]}),(0,Q.jsx)(uR,{rowKey:`id`,loading:a,dataSource:t,pagination:{current:s,pageSize:j7,total:r,showSizeChanger:!1,showTotal:e=>`共 ${e} 条`,onChange:c},scroll:{x:1380},columns:[{title:`项目ID`,dataIndex:`id`,width:150,render:e=>(0,Q.jsx)(px,{title:e,children:N7(e)})},{title:`用户`,width:180,render:(e,t)=>(0,Q.jsxs)(AM,{direction:`vertical`,size:0,children:[(0,Q.jsx)(Z.Text,{children:t.userName||`-`}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:N7(t.userId)})]})},{title:`项目信息`,width:260,render:(e,t)=>(0,Q.jsxs)(AM,{direction:`vertical`,size:2,children:[(0,Q.jsx)(Z.Text,{strong:!0,children:t.title||t.targetProjectName||`-`}),(0,Q.jsxs)(Z.Text,{type:`secondary`,ellipsis:!0,style:{maxWidth:240},children:[`素材:`,t.sourceProjectName||`-`]}),(0,Q.jsxs)(Z.Text,{type:`secondary`,ellipsis:!0,style:{maxWidth:240},children:[`核心:`,t.coreContentPoint||`-`]})]})},{title:`状态`,dataIndex:`status`,width:130,render:e=>(0,Q.jsx)(zUe,{status:e})},{title:`当前步骤`,dataIndex:`currentStepCode`,width:140,render:e=>RUe[e]||e||`-`},{title:`图片结果`,dataIndex:`finalImageUrl`,width:90,render:e=>e?(0,Q.jsx)(CR,{color:`success`,children:`有`}):(0,Q.jsx)(CR,{children:`无`})},{title:`视频结果`,dataIndex:`finalVideoUrl`,width:90,render:e=>e?(0,Q.jsx)(CR,{color:`success`,children:`有`}):(0,Q.jsx)(CR,{children:`无`})},{title:`错误信息`,dataIndex:`errorMessage`,width:220,ellipsis:!0,render:e=>e||`-`},{title:`创建时间`,dataIndex:`createdAt`,width:170,render:M7},{title:`更新时间`,dataIndex:`updatedAt`,width:170,render:M7},{title:`操作`,fixed:`right`,width:110,render:(t,n)=>(0,Q.jsx)(ZS,{type:`link`,icon:(0,Q.jsx)(AN,{}),onClick:()=>e(`/hot-opening-replications/${n.id}`),children:`详情`})}]})]})})})},P7=({value:e,maxHeight:t=420})=>e==null||e===``?(0,Q.jsx)(qy,{image:qy.PRESENTED_IMAGE_SIMPLE,description:`暂无 JSON 数据`}):(0,Q.jsx)(`pre`,{style:{margin:0,padding:12,maxHeight:t,overflow:`auto`,background:`#0f172a`,color:`#e2e8f0`,borderRadius:8,fontSize:12,lineHeight:1.6},children:JSON.stringify(e,null,2)}),VUe=({input:e,output:t,raw:n,inputLabel:r=`查看 input_json`,outputLabel:i=`查看 output_json`,rawLabel:a=`查看原始 JSON`})=>{let o=[];return e!==void 0&&o.push({key:`input`,label:r,children:(0,Q.jsx)(P7,{value:e})}),t!==void 0&&o.push({key:`output`,label:i,children:(0,Q.jsx)(P7,{value:t})}),n!==void 0&&o.push({key:`raw`,label:a,children:(0,Q.jsx)(P7,{value:n})}),o.length?(0,Q.jsx)(Hh,{size:`small`,style:{marginTop:12},items:o}):null},HUe=`http://ceshi.apiforeign.minzhong.cn`.replace(/\/api\/?$/i,``).replace(/\/$/,``);function UUe(e){if(!e)return``;let t=String(e).trim();return t?/^(https?:)?\/\//i.test(t)||/^(blob|data):/i.test(t)?t:`${HUe}${t.startsWith(`/`)?t:`/${t}`}`:``}var F7=({url:e,type:t,height:n=260,emptyDescription:r=`暂无资源`,errorDescription:i=`资源加载失败,可能文件不存在、签名过期或访问权限受限。`})=>{let a=(0,C.useMemo)(()=>UUe(e),[e]),[o,s]=(0,C.useState)(!1);(0,C.useEffect)(()=>{s(!1)},[a]);let c=a?(0,Q.jsxs)(AM,{wrap:!0,style:{marginTop:8},children:[(0,Q.jsx)(ZS,{size:`small`,icon:(0,Q.jsx)(QR,{}),onClick:async()=>{if(a)try{await navigator.clipboard.writeText(a),xP.success(`资源地址已复制`)}catch{xP.error(`复制失败,请手动复制`)}},children:`复制地址`}),(0,Q.jsx)(ZS,{size:`small`,icon:(0,Q.jsx)(v$,{}),onClick:()=>window.open(a,`_blank`,`noopener,noreferrer`),children:`新窗口打开`}),(0,Q.jsx)(Z.Text,{copyable:{text:a},type:`secondary`,style:{maxWidth:460},ellipsis:!0,children:a})]}):null;return a?(0,Q.jsxs)(`div`,{children:[o?(0,Q.jsx)(cf,{type:`warning`,showIcon:!0,message:`资源预览失败`,description:i,style:{marginBottom:8}}):null,t===`image`?(0,Q.jsx)(TN,{src:a,onError:()=>s(!0),style:{width:`100%`,maxHeight:n,objectFit:`contain`,borderRadius:12,background:`#f8fafc`,border:`1px solid #f1f5f9`},fallback:``,preview:!o}):(0,Q.jsx)(`video`,{src:a,controls:!0,preload:`metadata`,onError:()=>s(!0),style:{width:`100%`,maxHeight:n,borderRadius:12,background:`#0f172a`,border:`1px solid #f1f5f9`}}),c]}):(0,Q.jsx)(`div`,{children:(0,Q.jsx)(`div`,{style:{height:n,borderRadius:12,border:`1px dashed #cbd5e1`,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`#f8fafc`},children:(0,Q.jsx)(qy,{image:qy.PRESENTED_IMAGE_SIMPLE,description:r})})})},I7={pending:{text:`待处理`,color:`default`},waiting_user:{text:`等待用户操作`,color:`processing`},processing:{text:`处理中`,color:`warning`},completed:{text:`已完成`,color:`success`},failed:{text:`失败`,color:`error`},cancelled:{text:`已取消`,color:`default`},canceled:{text:`已取消`,color:`default`},timeout:{text:`已超时`,color:`error`},queued:{text:`已入队`,color:`processing`},preparing:{text:`准备中`,color:`processing`},creating_provider_task:{text:`创建远端任务`,color:`processing`},waiting_remote:{text:`等待远端结果`,color:`processing`},polling:{text:`轮询远端结果`,color:`processing`},result_ready:{text:`结果已就绪`,color:`success`},downloading:{text:`下载中`,color:`processing`},done:{text:`已完成`,color:`success`},download_failed:{text:`下载失败`,color:`error`},retry_waiting:{text:`等待重试`,color:`orange`},pending_analysis:{text:`等待分析`,color:`default`},analyzing:{text:`分析中`,color:`processing`},analysis_completed:{text:`分析完成`,color:`success`},analysis_failed:{text:`分析失败`,color:`error`},splitting:{text:`拆镜中`,color:`warning`},split_completed:{text:`拆镜完成`,color:`success`},partial_failed:{text:`部分失败`,color:`orange`},none:{text:`未拆镜`,color:`default`},not_required:{text:`无需处理`,color:`default`},not_started:{text:`未开始`,color:`default`},project_created:{text:`已创建项目`,color:`processing`},true:{text:`是`,color:`success`},false:{text:`否`,color:`default`}},L7={material_input:`素材输入`,image_prompt_optimize:`图片 AI 提词`,image_generate:`图片生成`,video_prompt_optimize:`视频 AI 提词`,video_generate:`视频生成`},R7={hot_opening_replicate:`爆款开头复刻`,shot_replicate:`拆镜复刻`},z7={ai_suggestion:{text:`AI 建议`,color:`purple`},custom:{text:`自定义`,color:`cyan`},original:{text:`原视频`,color:`blue`}};function B7(e){return e?R7[e]||e:`-`}function V7(e){return e?L7[e]||e:`-`}function WUe(e){return e?I7[e]?.text||L7[e]||R7[e]||z7[e]?.text||e:`-`}function GUe(e){return e?I7[e]?.color||z7[e]?.color||`blue`:`default`}var H7=({status:e,tooltipRaw:t=!0})=>{if(e==null||e===``)return(0,Q.jsx)(CR,{children:`-`});let n=String(e),r=WUe(n),i=(0,Q.jsx)(CR,{color:GUe(n),children:r});return!t||r===n?i:(0,Q.jsx)(px,{title:n,children:i})};function U7(e){return!!e&&typeof e==`object`&&!Array.isArray(e)}function W7(e,...t){for(let n of t){let t=e[n];if(t!=null&&String(t).trim()!==``)return String(t)}return``}function G7(e,t,...n){for(let t of n){let n=e[t];if(n===!0||n===!1)return n;if(n===`true`)return!0;if(n===`false`)return!1}return t}function KUe(e,...t){for(let n of t){let t=e[n];if(typeof t==`number`&&Number.isFinite(t)&&t>0)return t;if(typeof t==`string`&&t.trim()){let e=Number(t);if(Number.isFinite(e)&&e>0)return e}}}function K7(e){if(!U7(e))return null;let t=W7(e,`key`);return t?{key:t,label:W7(e,`label`)||t,type:W7(e,`type`)||void 0,enabled:G7(e,!0,`enabled`),editable:G7(e,!0,`editable`),maxLength:KUe(e,`maxLength`,`max_length`)}:null}function q7(e){if(!U7(e))return null;let t=e.data;return U7(t)?t:Array.isArray(e.sections)?e:null}function qUe(e){return!!q7(e)}function JUe(e){let t=q7(e);return(Array.isArray(t?.sections)?t.sections:[]).map(e=>{let t=K7(e);if(!t||!U7(e))return null;let n=Array.isArray(e.children)?e.children.map(K7).filter(Boolean):[],r=Array.isArray(e.itemFields)?e.itemFields.map(K7).filter(Boolean):Array.isArray(e.item_fields)?e.item_fields.map(K7).filter(Boolean):[];return{...t,contentKey:W7(e,`contentKey`,`content_key`)||void 0,children:n,itemFields:r}}).filter(e=>!!e&&e.enabled)}function YUe(e){return U7(e)?Object.entries(e).filter(([e])=>![`schemaVersion`,`schemaUsage`,`schema_version`,`schema_usage`].includes(e)).map(([e,t])=>Array.isArray(t)&&t.every(U7)?{key:e,label:e,type:`flow`,enabled:!0,editable:!1,itemFields:Array.from(new Set(t.flatMap(e=>Object.keys(e)))).filter(e=>e!==`时间段`).map(e=>({key:e,label:e,enabled:!0,editable:!1})),children:[]}:U7(t)?{key:e,label:e,type:`object`,enabled:!0,editable:!1,children:Object.keys(t).map(e=>({key:e,label:e,enabled:!0,editable:!1})),itemFields:[]}:{key:e,label:e,type:`text`,enabled:!0,editable:!1,children:[],itemFields:[]}):[]}var J7=e=>!!e&&typeof e==`object`&&!Array.isArray(e),Y7=e=>typeof e==`string`&&e.length>80,X7=e=>e==null||e===``?(0,Q.jsx)(Z.Text,{type:`secondary`,children:`-`}):typeof e==`boolean`?e?`是`:`否`:typeof e==`number`?e:typeof e==`string`?(0,Q.jsx)(Z.Paragraph,{style:{marginBottom:0,whiteSpace:`pre-wrap`},children:e}):(0,Q.jsx)(P7,{value:e,maxHeight:220}),Z7=e=>e?(0,Q.jsx)(CR,{color:`processing`,children:`可编辑`}):(0,Q.jsx)(CR,{color:`default`,children:`只读`}),Q7=(e,t)=>e[t],XUe=(e,t)=>{let n=Q7(e,t.key);if(!J7(n))return(0,Q.jsx)(P7,{value:n??{},maxHeight:220});let r=t.children.filter(e=>e.enabled);return r.length?(0,Q.jsx)(mM,{size:`small`,column:2,bordered:!0,children:r.map(e=>(0,Q.jsx)(mM.Item,{label:(0,Q.jsxs)(AM,{size:4,children:[e.label,Z7(e.editable)]}),span:Y7(n[e.key])||J7(n[e.key])||Array.isArray(n[e.key])?2:1,children:X7(n[e.key])},e.key))}):(0,Q.jsx)(P7,{value:n,maxHeight:220})},ZUe=(e,t)=>{let n=e.itemFields.filter(e=>e.enabled);return n.length?[{key:`时间段`,label:`时间段`,enabled:!0,editable:!1},...n]:Array.from(new Set(t.flatMap(e=>Object.keys(e)))).map(e=>({key:e,label:e,enabled:!0,editable:!1}))},QUe=(e,t)=>{let n=Q7(e,t.key);if(!Array.isArray(n)||!n.every(J7))return(0,Q.jsx)(P7,{value:n??[],maxHeight:260});let r=n,i=ZUe(t,r);return(0,Q.jsx)(uR,{size:`small`,rowKey:(e,n)=>`${t.key}-${n}`,columns:i.map(e=>({title:(0,Q.jsxs)(AM,{size:4,children:[e.label,Z7(e.editable)]}),dataIndex:e.key,key:e.key,width:Y7(r.find(t=>t[e.key])?.[e.key])?320:160,render:e=>X7(e)})),dataSource:r,pagination:!1,scroll:{x:Math.max(900,i.length*180)},tableLayout:`fixed`})},$Ue=(e,t)=>X7(Q7(e,t.key)),eWe=({schema:e,finalPrompt:t,schemaConfigSnapshot:n,schemaConfigSource:r,schemaConfigVersion:i,schemaConfigIsFallback:a})=>{let o=!!e&&Object.keys(e).length>0;if(!o&&!t)return(0,Q.jsx)(qy,{description:`暂无视频提词 schema`});let s=o?e:{},c=qUe(n),l=(c?JUe(n):YUe(s)).filter(e=>e.key in s).map(e=>({key:e.key,label:(0,Q.jsxs)(AM,{size:8,wrap:!0,children:[(0,Q.jsx)(`span`,{children:e.label}),Z7(e.editable),c?null:(0,Q.jsx)(CR,{color:`warning`,children:`管理后台兜底展示`})]}),children:e.type===`object`?XUe(s,e):e.type===`flow`?QUe(s,e):$Ue(s,e)}));return(0,Q.jsxs)(AM,{direction:`vertical`,size:12,style:{width:`100%`},children:[(0,Q.jsx)(FA,{size:`small`,title:`Schema 配置来源`,children:(0,Q.jsxs)(mM,{size:`small`,column:3,bordered:!0,children:[(0,Q.jsx)(mM.Item,{label:`来源`,children:r||n?.source||(c?`-`:`viewer_fallback`)}),(0,Q.jsx)(mM.Item,{label:`版本`,children:i||n?.version||`-`}),(0,Q.jsx)(mM.Item,{label:`历史兜底`,children:a||!c?(0,Q.jsx)(CR,{color:`warning`,children:`是`}):(0,Q.jsx)(CR,{color:`success`,children:`否`})})]})}),t?(0,Q.jsx)(FA,{size:`small`,title:`最终视频提示词`,children:(0,Q.jsx)(Z.Paragraph,{style:{whiteSpace:`pre-wrap`,marginBottom:0},children:t})}):null,l.length?(0,Q.jsx)(Hh,{size:`small`,items:l}):o?(0,Q.jsx)(FA,{size:`small`,title:`视频提词 Schema`,children:(0,Q.jsx)(P7,{value:s,maxHeight:360})}):null,o?(0,Q.jsx)(Hh,{size:`small`,items:[{key:`raw_schema`,label:`原始 JSON / 历史脏字段排查`,children:(0,Q.jsx)(P7,{value:s,maxHeight:420})}]}):null]})},tWe=[`material_input`,`image_prompt_optimize`,`image_generate`,`video_prompt_optimize`,`video_generate`],nWe={material_input:`参考素材、项目名称和核心内容点`,image_prompt_optimize:`图片 AI 提词优化结果`,image_generate:`图片引擎、生成参数和结果图`,video_prompt_optimize:`视频 JSON schema、动作流程和最终提词`,video_generate:`视频引擎、生成参数、封面和结果视频`},$7=e=>e?D5(e):`-`,e9=e=>e?e.length>18?`${e.slice(0,10)}...${e.slice(-4)}`:e:`-`,rWe=({text:e=`-`})=>(0,Q.jsx)(Z.Text,{type:`secondary`,children:e}),t9=({step:e})=>e?(0,Q.jsx)(VUe,{input:e.input,output:e.output}):null,n9=({index:e,stepCode:t,step:n,current:r})=>(0,Q.jsxs)(AM,{wrap:!0,size:8,children:[(0,Q.jsx)(Z.Text,{strong:!0,children:`第${e}步:${V7(t)}`}),(0,Q.jsx)(H7,{status:n?.status||`not_started`}),r?(0,Q.jsx)(CR,{color:`blue`,children:`当前步骤`}):null,(0,Q.jsx)(Z.Text,{type:`secondary`,children:nWe[t]||t}),n?.updatedAt?(0,Q.jsxs)(Z.Text,{type:`secondary`,children:[`更新时间:`,$7(n.updatedAt)]}):null,n?.chatTaskId?(0,Q.jsx)(px,{title:n.chatTaskId,children:(0,Q.jsxs)(CR,{children:[`Chat:`,e9(n.chatTaskId)]})}):null]}),iWe=(e,t)=>{if(!e)return[];let n=new Set;return n.add(`material_input`),e.currentStepCode&&n.add(e.currentStepCode),Object.values(t).forEach(e=>{(e.status===`failed`||e.errorMessage)&&n.add(e.stepCode)}),e.errorMessage&&n.add(e.currentStepCode||`material_input`),Array.from(n)},r9=(e,t=`错误信息`)=>e?(0,Q.jsx)(cf,{type:`error`,showIcon:!0,message:t,description:e,style:{marginTop:12,marginBottom:12}}):null,aWe=(e,t=`暂无提词`)=>e?(0,Q.jsx)(Z.Paragraph,{style:{whiteSpace:`pre-wrap`,marginBottom:0},children:e}):(0,Q.jsx)(rWe,{text:t}),i9=({moduleType:e=`shot_replicate`})=>{let{projectId:t}=tt(),n=Ze(),[r,i]=(0,C.useState)(null),[a,o]=(0,C.useState)(!1),s=(0,C.useCallback)(async()=>{if(t){o(!0);try{i(e===`hot_opening_replicate`?await jVe(t):await IVe(t))}catch(e){xP.error(e?.message||`加载复刻项目详情失败`)}finally{o(!1)}}},[e,t]);(0,C.useEffect)(()=>{s()},[s]);let c=(0,C.useMemo)(()=>{let e={};return(r?.steps||[]).forEach(t=>{e[t.stepCode]=t}),e},[r]),l=r?.module||e,u=B7(l),d=(0,C.useMemo)(()=>tWe.map(e=>{let t=c[e],n=`wait`;return t?.status===`completed`?n=`finish`:t?.status===`processing`?n=`process`:t?.status===`failed`&&(n=`error`),{title:V7(e),description:t?(0,Q.jsx)(H7,{status:t.status}):`未创建`,status:n}}),[c]),f=(0,C.useMemo)(()=>iWe(r,c),[r,c]);if(a&&!r)return(0,Q.jsx)(`div`,{style:{padding:64,textAlign:`center`},children:(0,Q.jsx)(uP,{size:`large`})});if(!r)return(0,Q.jsx)(FA,{style:{margin:24},children:(0,Q.jsx)(qy,{description:`未找到复刻项目详情`})});let p=c.material_input,m=c.image_prompt_optimize,h=c.image_generate,g=c.video_prompt_optimize,_=c.video_generate,v=r.imageGeneration?.resultImageUrl||r.finalImageUrl,y=r.videoGeneration?.resultVideoCoverUrl||r.finalVideoCoverUrl,b=r.videoGeneration?.resultVideoUrl||r.finalVideoUrl,x=[{key:`material_input`,label:(0,Q.jsx)(n9,{index:1,stepCode:`material_input`,step:p,current:r.currentStepCode===`material_input`}),children:(0,Q.jsxs)(AM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(mM,{column:2,bordered:!0,size:`small`,children:[(0,Q.jsx)(mM.Item,{label:`模块类型`,children:(0,Q.jsx)(H7,{status:l})}),(0,Q.jsx)(mM.Item,{label:`素材步骤ID`,children:r.material?.materialStepId||`-`}),(0,Q.jsx)(mM.Item,{label:`参考素材项目名`,children:r.material?.sourceProjectName||`-`}),(0,Q.jsx)(mM.Item,{label:`生成项目名称`,children:r.material?.targetProjectName||`-`}),(0,Q.jsx)(mM.Item,{label:`核心内容点`,span:2,children:r.material?.coreContentPoint||`-`})]}),(0,Q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fit, minmax(320px, 1fr))`,gap:16},children:[(0,Q.jsx)(FA,{size:`small`,title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(u0,{}),`素材视频`]}),children:(0,Q.jsx)(F7,{type:`video`,url:r.material?.materialVideoUrl,emptyDescription:`暂无素材视频`})}),(0,Q.jsx)(FA,{size:`small`,title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(mX,{}),`素材图片`]}),children:(0,Q.jsx)(F7,{type:`image`,url:r.material?.materialImageUrl,emptyDescription:`暂无素材图片`})})]}),r9(p?.errorMessage),(0,Q.jsx)(t9,{step:p})]})},{key:`image_prompt_optimize`,label:(0,Q.jsx)(n9,{index:2,stepCode:`image_prompt_optimize`,step:m,current:r.currentStepCode===`image_prompt_optimize`}),children:(0,Q.jsxs)(AM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(mM,{column:2,bordered:!0,size:`small`,children:[(0,Q.jsx)(mM.Item,{label:`提词步骤ID`,children:r.imageGeneration?.promptStepId||`-`}),(0,Q.jsx)(mM.Item,{label:`步骤状态`,children:(0,Q.jsx)(H7,{status:m?.status||r.imageGeneration?.status})}),(0,Q.jsx)(mM.Item,{label:`图片提示词`,span:2,children:aWe(r.imageGeneration?.prompt,`暂无图片提示词`)})]}),r9(m?.errorMessage||r.imageGeneration?.errorMessage),(0,Q.jsx)(t9,{step:m})]})},{key:`image_generate`,label:(0,Q.jsx)(n9,{index:3,stepCode:`image_generate`,step:h,current:r.currentStepCode===`image_generate`}),children:(0,Q.jsxs)(AM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(mM,{column:3,bordered:!0,size:`small`,children:[(0,Q.jsx)(mM.Item,{label:`生成步骤ID`,children:r.imageGeneration?.generateStepId||`-`}),(0,Q.jsx)(mM.Item,{label:`Chat任务ID`,children:r.imageGeneration?.chatTaskId||`-`}),(0,Q.jsx)(mM.Item,{label:`状态`,children:(0,Q.jsx)(H7,{status:r.imageGeneration?.status||h?.status})}),(0,Q.jsx)(mM.Item,{label:`图片引擎ID`,children:r.imageGeneration?.engineId||`-`}),(0,Q.jsx)(mM.Item,{label:`图片引擎名称`,children:r.imageGeneration?.engineName||`-`}),(0,Q.jsx)(mM.Item,{label:`生成参数`,span:3,children:(0,Q.jsx)(P7,{value:r.imageGeneration?.params||{},maxHeight:160})})]}),r9(r.imageGeneration?.errorMessage||h?.errorMessage),(0,Q.jsx)(FA,{size:`small`,title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(mX,{}),`图片结果`]}),children:(0,Q.jsx)(F7,{type:`image`,url:v,height:360,emptyDescription:h?.status===`failed`||r.imageGeneration?.errorMessage?`图片生成失败,未返回图片地址`:`暂无图片结果`,errorDescription:`图片资源加载失败,可能图片文件不存在、签名过期或访问权限受限。`})}),(0,Q.jsx)(t9,{step:h})]})},{key:`video_prompt_optimize`,label:(0,Q.jsx)(n9,{index:4,stepCode:`video_prompt_optimize`,step:g,current:r.currentStepCode===`video_prompt_optimize`}),children:(0,Q.jsxs)(AM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(mM,{column:3,bordered:!0,size:`small`,children:[(0,Q.jsx)(mM.Item,{label:`提词步骤ID`,children:r.videoGeneration?.promptStepId||`-`}),(0,Q.jsx)(mM.Item,{label:`步骤状态`,children:(0,Q.jsx)(H7,{status:g?.status})}),(0,Q.jsx)(mM.Item,{label:`提词参数`,span:3,children:(0,Q.jsx)(P7,{value:r.videoGeneration?.promptParams||{},maxHeight:160})})]}),r9(g?.errorMessage||r.videoGeneration?.errorMessage),(0,Q.jsx)(eWe,{schema:r.videoGeneration?.promptSchema,finalPrompt:r.videoGeneration?.finalPrompt,schemaConfigSnapshot:r.videoGeneration?.schemaConfigSnapshot,schemaConfigSource:r.videoGeneration?.schemaConfigSource,schemaConfigVersion:r.videoGeneration?.schemaConfigVersion,schemaConfigIsFallback:r.videoGeneration?.schemaConfigIsFallback}),(0,Q.jsx)(t9,{step:g})]})},{key:`video_generate`,label:(0,Q.jsx)(n9,{index:5,stepCode:`video_generate`,step:_,current:r.currentStepCode===`video_generate`}),children:(0,Q.jsxs)(AM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(mM,{column:3,bordered:!0,size:`small`,children:[(0,Q.jsx)(mM.Item,{label:`生成步骤ID`,children:r.videoGeneration?.generateStepId||`-`}),(0,Q.jsx)(mM.Item,{label:`Chat任务ID`,children:r.videoGeneration?.chatTaskId||`-`}),(0,Q.jsx)(mM.Item,{label:`状态`,children:(0,Q.jsx)(H7,{status:r.videoGeneration?.status||_?.status})}),(0,Q.jsx)(mM.Item,{label:`视频引擎ID`,children:r.videoGeneration?.engineId||`-`}),(0,Q.jsx)(mM.Item,{label:`视频引擎名称`,children:r.videoGeneration?.engineName||`-`}),(0,Q.jsx)(mM.Item,{label:`生成参数`,span:3,children:(0,Q.jsx)(P7,{value:r.videoGeneration?.params||{},maxHeight:160})})]}),r9(r.videoGeneration?.errorMessage||_?.errorMessage),(0,Q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fit, minmax(320px, 1fr))`,gap:16},children:[(0,Q.jsx)(FA,{size:`small`,title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(mX,{}),`视频封面`]}),children:(0,Q.jsx)(F7,{type:`image`,url:y,emptyDescription:_?.status===`failed`||r.videoGeneration?.errorMessage?`视频生成失败,未返回封面`:`暂无视频封面`,errorDescription:`视频封面加载失败,可能文件不存在、签名过期或访问权限受限。`})}),(0,Q.jsx)(FA,{size:`small`,title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(t8,{}),`最终视频`]}),children:(0,Q.jsx)(F7,{type:`video`,url:b,emptyDescription:_?.status===`failed`||r.videoGeneration?.errorMessage?`视频生成失败,未返回视频地址`:`暂无最终视频`,errorDescription:`视频资源加载失败,可能文件不存在、签名过期或访问权限受限。`})})]}),(0,Q.jsx)(t9,{step:_})]})}];return(0,Q.jsx)(`div`,{style:{padding:24},children:(0,Q.jsxs)(AM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(AM,{wrap:!0,style:{justifyContent:`space-between`,width:`100%`},children:[(0,Q.jsxs)(AM,{wrap:!0,children:[(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(MH,{}),onClick:()=>n(-1),children:`返回`}),(0,Q.jsxs)(Z.Title,{level:3,style:{margin:0},children:[u,`项目详情`]}),(0,Q.jsx)(H7,{status:r.status}),r.module&&r.module!==e?(0,Q.jsxs)(CR,{color:`gold`,children:[`接口模块:`,B7(r.module)]}):null]}),(0,Q.jsx)(ZS,{onClick:s,loading:a,children:`刷新`})]}),(0,Q.jsx)(FA,{children:(0,Q.jsxs)(mM,{title:`基础信息`,column:3,bordered:!0,size:`small`,children:[(0,Q.jsx)(mM.Item,{label:`项目ID`,children:r.id}),(0,Q.jsx)(mM.Item,{label:`模块类型`,children:(0,Q.jsx)(H7,{status:l})}),(0,Q.jsx)(mM.Item,{label:`用户ID`,children:r.userId||`-`}),(0,Q.jsx)(mM.Item,{label:`用户名`,children:r.userName||`-`}),(0,Q.jsx)(mM.Item,{label:`标题`,children:r.title||`-`}),(0,Q.jsx)(mM.Item,{label:`当前步骤`,children:(0,Q.jsx)(px,{title:r.currentStepCode||``,children:V7(r.currentStepCode)})}),(0,Q.jsx)(mM.Item,{label:`状态`,children:(0,Q.jsx)(H7,{status:r.status})}),(0,Q.jsx)(mM.Item,{label:`创建时间`,children:$7(r.createdAt)}),(0,Q.jsx)(mM.Item,{label:`更新时间`,children:$7(r.updatedAt)}),(0,Q.jsx)(mM.Item,{label:`完成时间`,children:$7(r.completedAt)}),r.errorMessage?(0,Q.jsx)(mM.Item,{label:`错误信息`,span:3,children:(0,Q.jsx)(cf,{type:`error`,showIcon:!0,message:r.errorMessage})}):null]})}),(0,Q.jsx)(FA,{title:`步骤进度`,children:(0,Q.jsx)(che,{items:d})}),(0,Q.jsx)(FA,{title:`最终结果预览`,children:(0,Q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fit, minmax(280px, 1fr))`,gap:16},children:[(0,Q.jsx)(FA,{size:`small`,title:`最终图片`,children:(0,Q.jsx)(F7,{type:`image`,url:r.finalImageUrl||r.imageGeneration?.resultImageUrl,height:220,emptyDescription:`暂无最终图片`})}),(0,Q.jsx)(FA,{size:`small`,title:`最终视频封面`,children:(0,Q.jsx)(F7,{type:`image`,url:r.finalVideoCoverUrl||r.videoGeneration?.resultVideoCoverUrl,height:220,emptyDescription:`暂无最终视频封面`})}),(0,Q.jsx)(FA,{size:`small`,title:`最终视频`,children:(0,Q.jsx)(F7,{type:`video`,url:r.finalVideoUrl||r.videoGeneration?.resultVideoUrl,height:220,emptyDescription:`暂无最终视频`})})]})}),(0,Q.jsx)(Hh,{defaultActiveKey:f,items:x}),(0,Q.jsx)(Hh,{items:[{key:`steps-table`,label:`完整步骤列表`,children:(0,Q.jsx)(uR,{rowKey:`id`,size:`small`,pagination:!1,dataSource:r.steps||[],scroll:{x:1100},columns:[{title:`序号`,dataIndex:`stepIndex`,width:70},{title:`步骤`,dataIndex:`stepCode`,width:160,render:e=>(0,Q.jsx)(px,{title:e,children:V7(e)})},{title:`状态`,dataIndex:`status`,width:120,render:e=>(0,Q.jsx)(H7,{status:e})},{title:`版本`,dataIndex:`version`,width:70},{title:`当前有效`,dataIndex:`isCurrent`,width:90,render:e=>e?(0,Q.jsx)(CR,{color:`success`,children:`是`}):(0,Q.jsx)(CR,{children:`否`})},{title:`Chat任务`,dataIndex:`chatTaskId`,width:160,render:e=>(0,Q.jsx)(px,{title:e||``,children:e9(e)})},{title:`创建时间`,dataIndex:`createdAt`,width:170,render:$7},{title:`完成时间`,dataIndex:`completedAt`,width:170,render:$7},{title:`错误`,dataIndex:`errorMessage`,ellipsis:!0,render:e=>e||`-`}]})},{key:`raw-detail`,label:`完整详情原始 JSON`,children:(0,Q.jsx)(P7,{value:r,maxHeight:520})}]})]})})},oWe=()=>(0,Q.jsx)(i9,{moduleType:`hot_opening_replicate`}),a9=20,sWe=[{value:`pending_analysis`,label:`等待分析`},{value:`analyzing`,label:`分析中`},{value:`analysis_completed`,label:`分析完成`},{value:`analysis_failed`,label:`分析失败`},{value:`splitting`,label:`拆镜中`},{value:`split_completed`,label:`拆镜完成`},{value:`partial_failed`,label:`部分失败`},{value:`failed`,label:`失败`}],cWe=[{value:`pending`,label:`待分析`},{value:`processing`,label:`分析中`},{value:`completed`,label:`分析完成`},{value:`failed`,label:`分析失败`}],lWe=[{value:`none`,label:`未拆镜`},{value:`pending`,label:`待拆镜`},{value:`processing`,label:`拆镜中`},{value:`completed`,label:`拆镜完成`},{value:`failed`,label:`拆镜失败`},{value:`retry_waiting`,label:`等待重试`}],uWe={pending_analysis:{color:`default`,text:`等待分析`},analyzing:{color:`processing`,text:`分析中`},analysis_completed:{color:`success`,text:`分析完成`},analysis_failed:{color:`error`,text:`分析失败`},splitting:{color:`warning`,text:`拆镜中`},split_completed:{color:`success`,text:`拆镜完成`},partial_failed:{color:`orange`,text:`部分失败`},failed:{color:`error`,text:`失败`},none:{color:`default`,text:`未拆镜`},pending:{color:`default`,text:`待处理`},processing:{color:`warning`,text:`处理中`},completed:{color:`success`,text:`完成`},retry_waiting:{color:`orange`,text:`等待重试`}},o9=e=>e?D5(e):`-`,s9=e=>e?e.length>16?`${e.slice(0,10)}...`:e:`-`,c9=({status:e})=>{if(!e)return(0,Q.jsx)(CR,{children:`-`});let t=uWe[e]||{color:`blue`,text:e};return(0,Q.jsx)(CR,{color:t.color,children:t.text})},dWe=()=>{let e=Ze(),[t,n]=(0,C.useState)([]),[r,i]=(0,C.useState)(0),[a,o]=(0,C.useState)(!1),[s,c]=(0,C.useState)(1),[l,u]=(0,C.useState)(``),[d,f]=(0,C.useState)(``),[p,m]=(0,C.useState)(``),[h,g]=(0,C.useState)(``),[_,v]=(0,C.useState)(``),[y,b]=(0,C.useState)(``),[x,S]=(0,C.useState)(null),[w,T]=(0,C.useState)(``),[E,D]=(0,C.useState)(``),[O,k]=(0,C.useState)(``),[A,j]=(0,C.useState)(null),[M,N]=(0,C.useState)(0),P=(0,C.useCallback)(async()=>{o(!0);try{let e=await MVe({status:l||void 0,analysisStatus:d||void 0,splitStatus:p||void 0,keyword:w||void 0,userId:E||void 0,userName:O||void 0,createdStart:A?.[0]?.toISOString?.(),createdEnd:A?.[1]?.toISOString?.(),page:s,pageSize:a9});n(e.items||[]),i(e.total||0)}catch(e){xP.error(e?.message||`加载拆镜复刻任务失败`)}finally{o(!1)}},[d,s,A,w,E,O,p,l]);(0,C.useEffect)(()=>{P()},[P,M]);let F=()=>{T(h.trim()),D(_.trim()),k(y.trim()),j(x),c(1)};return(0,Q.jsx)(`div`,{style:{padding:24},children:(0,Q.jsx)(FA,{children:(0,Q.jsxs)(AM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(AM,{align:`center`,style:{justifyContent:`space-between`,width:`100%`},children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Title,{level:3,style:{marginBottom:4},children:`拆镜复刻`}),(0,Q.jsx)(Z.Text,{type:`secondary`,children:`只读排查页面:查看拆镜总任务、AI 分析结果、切片列表和关联复刻项目。`})]}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(zP,{}),onClick:()=>N(e=>e+1),children:`刷新`})]}),(0,Q.jsxs)(AM,{wrap:!0,children:[(0,Q.jsx)(Cb,{allowClear:!0,placeholder:`总任务状态`,style:{width:150},value:l||void 0,onChange:e=>{u(e||``),c(1)},options:sWe}),(0,Q.jsx)(Cb,{allowClear:!0,placeholder:`分析状态`,style:{width:140},value:d||void 0,onChange:e=>{f(e||``),c(1)},options:cWe}),(0,Q.jsx)(Cb,{allowClear:!0,placeholder:`拆镜状态`,style:{width:140},value:p||void 0,onChange:e=>{m(e||``),c(1)},options:lWe}),(0,Q.jsx)(zN,{allowClear:!0,prefix:(0,Q.jsx)(vb,{}),placeholder:`关键词:标题/内容/分类/受众`,style:{width:260},value:h,onChange:e=>g(e.target.value),onPressEnter:F}),(0,Q.jsx)(zN,{allowClear:!0,placeholder:`用户ID(管理员)`,style:{width:190},value:_,onChange:e=>v(e.target.value),onPressEnter:F}),(0,Q.jsx)(zN,{allowClear:!0,placeholder:`用户名(管理员)`,style:{width:230},value:y,onChange:e=>b(e.target.value),onPressEnter:F}),(0,Q.jsx)(uM.RangePicker,{showTime:!0,value:x,onChange:S,placeholder:[`创建开始`,`创建结束`]}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(vb,{}),onClick:F,children:`搜索`}),(0,Q.jsx)(ZS,{onClick:()=>{u(``),f(``),m(``),g(``),v(``),b(``),S(null),T(``),D(``),k(``),j(null),c(1),N(e=>e+1)},children:`重置`})]}),(0,Q.jsx)(uR,{rowKey:`id`,loading:a,dataSource:t,pagination:{current:s,pageSize:a9,total:r,showSizeChanger:!1,showTotal:e=>`共 ${e} 条`,onChange:c},scroll:{x:1500},columns:[{title:`任务集ID`,dataIndex:`id`,width:150,render:e=>(0,Q.jsx)(px,{title:e,children:s9(e)})},{title:`用户`,width:180,render:(e,t)=>(0,Q.jsxs)(AM,{direction:`vertical`,size:0,children:[(0,Q.jsx)(Z.Text,{children:t.userName||`-`}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:s9(t.userId)})]})},{title:`任务信息`,width:300,render:(e,t)=>(0,Q.jsxs)(AM,{direction:`vertical`,size:2,children:[(0,Q.jsx)(Z.Text,{strong:!0,children:t.title||`-`}),(0,Q.jsxs)(Z.Text,{type:`secondary`,ellipsis:!0,style:{maxWidth:280},children:[`分类:`,t.originalVideoCategory||`-`]}),(0,Q.jsxs)(Z.Text,{type:`secondary`,ellipsis:!0,style:{maxWidth:280},children:[`受众:`,t.originalVideoAudience||`-`]})]})},{title:`总状态`,dataIndex:`status`,width:120,render:e=>(0,Q.jsx)(c9,{status:e})},{title:`分析状态`,dataIndex:`analysisStatus`,width:110,render:e=>(0,Q.jsx)(c9,{status:e})},{title:`拆镜状态`,dataIndex:`splitStatus`,width:110,render:e=>(0,Q.jsx)(c9,{status:e})},{title:`切片进度`,width:180,render:(e,t)=>{let n=t.segmentCount||0,r=t.completedSegmentCount||0;return(0,Q.jsx)(LP,{size:`small`,percent:n?Math.round(r/n*100):0,format:()=>`${r}/${n}`})}},{title:`失败片段`,dataIndex:`failedSegmentCount`,width:90,render:e=>e?(0,Q.jsx)(CR,{color:`error`,children:e}):(0,Q.jsx)(CR,{children:`0`})},{title:`视频时长`,dataIndex:`videoDurationSeconds`,width:100,render:e=>`${Number(e||0).toFixed(1)}s`},{title:`创建时间`,dataIndex:`createdAt`,width:170,render:o9},{title:`更新时间`,dataIndex:`updatedAt`,width:170,render:o9},{title:`操作`,fixed:`right`,width:120,render:(t,n)=>(0,Q.jsx)(ZS,{type:`link`,icon:(0,Q.jsx)(AN,{}),onClick:()=>e(`/shot-replications/task-sets/${n.id}`),children:`查看切片`})}]})]})})})},fWe=`http://ceshi.apiforeign.minzhong.cn`.replace(/\/api\/?$/i,``).replace(/\/$/,``),l9=20,pWe=[{value:`ai_suggestion`,label:`AI 建议`},{value:`custom`,label:`自定义`}],mWe=[{value:`none`,label:`未拆镜`},{value:`pending`,label:`待拆镜`},{value:`processing`,label:`拆镜中`},{value:`completed`,label:`拆镜完成`},{value:`failed`,label:`拆镜失败`},{value:`retry_waiting`,label:`等待重试`}],hWe=[{value:`not_required`,label:`无需分析`},{value:`pending`,label:`待分析`},{value:`processing`,label:`分析中`},{value:`completed`,label:`分析完成`},{value:`failed`,label:`分析失败`}],gWe=[{value:`not_started`,label:`未复刻`},{value:`project_created`,label:`已创建项目`},{value:`processing`,label:`复刻中`},{value:`completed`,label:`复刻完成`},{value:`failed`,label:`复刻失败`}],_We={pending_analysis:{color:`default`,text:`等待分析`},analyzing:{color:`processing`,text:`分析中`},analysis_completed:{color:`success`,text:`分析完成`},analysis_failed:{color:`error`,text:`分析失败`},splitting:{color:`warning`,text:`拆镜中`},split_completed:{color:`success`,text:`拆镜完成`},partial_failed:{color:`orange`,text:`部分失败`},failed:{color:`error`,text:`失败`},none:{color:`default`,text:`未拆镜`},pending:{color:`default`,text:`待处理`},processing:{color:`warning`,text:`处理中`},completed:{color:`success`,text:`完成`},retry_waiting:{color:`orange`,text:`等待重试`},not_required:{color:`default`,text:`无需分析`},not_started:{color:`default`,text:`未复刻`},project_created:{color:`processing`,text:`已创建项目`}},vWe=e=>{if(!e)return``;let t=String(e).trim();return t?/^(https?:)?\/\//i.test(t)||/^(blob|data):/i.test(t)?t:`${fWe}${t.startsWith(`/`)?t:`/${t}`}`:``},u9=e=>e?D5(e):`-`,d9=e=>e?e.length>16?`${e.slice(0,10)}...`:e:`-`,f9=({status:e})=>{if(!e)return(0,Q.jsx)(CR,{children:`-`});let t=_We[e]||{color:`blue`,text:e};return(0,Q.jsx)(CR,{color:t.color,children:t.text})},p9=({value:e,maxHeight:t=420})=>(0,Q.jsx)(`pre`,{style:{margin:0,padding:12,maxHeight:t,overflow:`auto`,background:`#0f172a`,color:`#e2e8f0`,borderRadius:8,fontSize:12,lineHeight:1.6},children:JSON.stringify(e??{},null,2)}),m9=({url:e,height:t=280})=>e?(0,Q.jsx)(`video`,{src:vWe(e),controls:!0,preload:`metadata`,style:{width:`100%`,maxHeight:t,borderRadius:12,background:`#0f172a`}}):(0,Q.jsx)(qy,{description:`暂无视频`,image:qy.PRESENTED_IMAGE_SIMPLE}),yWe=({items:e=[]})=>(0,Q.jsx)(uR,{rowKey:`index`,size:`small`,pagination:!1,dataSource:e,scroll:{x:!0},columns:[{title:`序号`,dataIndex:`index`,width:70},{title:`时间节点`,dataIndex:`timeNode`,width:120},{title:`开始`,dataIndex:`startSecond`,width:80,render:e=>`${Number(e||0).toFixed(2)}s`},{title:`结束`,dataIndex:`endSecond`,width:80,render:e=>`${Number(e||0).toFixed(2)}s`},{title:`内容`,dataIndex:`content`,ellipsis:!0},{title:`分类`,dataIndex:`category`,width:140},{title:`受众`,dataIndex:`audience`,ellipsis:!0}]}),bWe=()=>{let{taskSetId:e}=tt(),t=Ze(),[n,r]=(0,C.useState)(null),[i,a]=(0,C.useState)([]),[o,s]=(0,C.useState)(0),[c,l]=(0,C.useState)(1),[u,d]=(0,C.useState)(!1),[f,p]=(0,C.useState)(!1),[m,h]=(0,C.useState)(0),[g,_]=(0,C.useState)(``),[v,y]=(0,C.useState)(``),[b,x]=(0,C.useState)(``),[S,w]=(0,C.useState)(``),[T,E]=(0,C.useState)(!1),[D,O]=(0,C.useState)(null),k=(0,C.useCallback)(async()=>{if(e){d(!0);try{r(await NVe(e))}catch(e){xP.error(e?.message||`加载拆镜任务详情失败`)}finally{d(!1)}}},[e]),A=(0,C.useCallback)(async()=>{if(e){p(!0);try{let t=await PVe(e,{sourceMode:g||void 0,splitStatus:v||void 0,analysisStatus:b||void 0,replicateStatus:S||void 0,page:c,pageSize:l9});a(t.items||[]),s(t.total||0)}catch(e){xP.error(e?.message||`加载拆镜片段失败`)}finally{p(!1)}}},[b,c,S,g,v,e]);(0,C.useEffect)(()=>{k()},[k,m]),(0,C.useEffect)(()=>{A()},[A,m]);let j=async e=>{E(!0),O(null);try{O(await FVe(e))}catch(e){xP.error(e?.message||`加载片段详情失败`)}};return u&&!n?(0,Q.jsx)(`div`,{style:{padding:64,textAlign:`center`},children:(0,Q.jsx)(uP,{size:`large`})}):n?(0,Q.jsxs)(`div`,{style:{padding:24},children:[(0,Q.jsxs)(AM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(AM,{style:{justifyContent:`space-between`,width:`100%`},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(MH,{}),onClick:()=>t(`/shot-replications`),children:`返回列表`}),(0,Q.jsx)(Z.Title,{level:3,style:{margin:0},children:`拆镜任务详情`}),(0,Q.jsx)(f9,{status:n.status})]}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(zP,{}),onClick:()=>h(e=>e+1),children:`刷新`})]}),(0,Q.jsx)(FA,{children:(0,Q.jsxs)(mM,{title:`总任务信息`,column:3,bordered:!0,size:`small`,children:[(0,Q.jsx)(mM.Item,{label:`任务集ID`,children:n.id}),(0,Q.jsx)(mM.Item,{label:`用户ID`,children:n.userId||`-`}),(0,Q.jsx)(mM.Item,{label:`用户名`,children:n.userName||`-`}),(0,Q.jsx)(mM.Item,{label:`标题`,children:n.title||`-`}),(0,Q.jsxs)(mM.Item,{label:`视频时长`,children:[Number(n.videoDurationSeconds||0).toFixed(2),`s`]}),(0,Q.jsx)(mM.Item,{label:`总状态`,children:(0,Q.jsx)(f9,{status:n.status})}),(0,Q.jsx)(mM.Item,{label:`分析状态`,children:(0,Q.jsx)(f9,{status:n.analysisStatus})}),(0,Q.jsx)(mM.Item,{label:`拆镜状态`,children:(0,Q.jsx)(f9,{status:n.splitStatus})}),(0,Q.jsxs)(mM.Item,{label:`片段数量`,children:[n.completedSegmentCount,`/`,n.segmentCount,`,失败 `,n.failedSegmentCount]}),(0,Q.jsx)(mM.Item,{label:`原视频分类`,children:n.originalVideoCategory||`-`}),(0,Q.jsx)(mM.Item,{label:`创建时间`,children:u9(n.createdAt)}),(0,Q.jsx)(mM.Item,{label:`更新时间`,children:u9(n.updatedAt)}),(0,Q.jsx)(mM.Item,{label:`原视频内容`,span:3,children:n.originalVideoContent||`-`}),(0,Q.jsx)(mM.Item,{label:`原视频受众`,span:3,children:n.originalVideoAudience||`-`}),n.analysisErrorMessage?(0,Q.jsx)(mM.Item,{label:`分析错误`,span:3,children:(0,Q.jsx)(cf,{type:`error`,message:n.analysisErrorMessage})}):null,n.splitErrorMessage?(0,Q.jsx)(mM.Item,{label:`拆镜错误`,span:3,children:(0,Q.jsx)(cf,{type:`error`,message:n.splitErrorMessage})}):null]})}),(0,Q.jsx)(FA,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(u0,{}),`原视频预览`]}),children:(0,Q.jsx)(m9,{url:n.videoUrl,height:360})}),(0,Q.jsxs)(FA,{title:`AI 建议拆镜列表`,children:[n.aiSuggestions?.length?(0,Q.jsx)(yWe,{items:n.aiSuggestions}):(0,Q.jsx)(qy,{description:`暂无 AI 建议拆镜`}),(0,Q.jsx)(Hh,{size:`small`,ghost:!0,style:{marginTop:12},items:[{key:`raw`,label:`查看原视频分析完整 JSON`,children:(0,Q.jsx)(p9,{value:n.analysisResultJson})}]})]}),(0,Q.jsxs)(FA,{title:`片段列表`,children:[(0,Q.jsxs)(AM,{wrap:!0,style:{marginBottom:16},children:[(0,Q.jsx)(Cb,{allowClear:!0,placeholder:`片段来源`,style:{width:140},value:g||void 0,options:pWe,onChange:e=>{_(e||``),l(1)}}),(0,Q.jsx)(Cb,{allowClear:!0,placeholder:`切割状态`,style:{width:140},value:v||void 0,options:mWe,onChange:e=>{y(e||``),l(1)}}),(0,Q.jsx)(Cb,{allowClear:!0,placeholder:`分析状态`,style:{width:140},value:b||void 0,options:hWe,onChange:e=>{x(e||``),l(1)}}),(0,Q.jsx)(Cb,{allowClear:!0,placeholder:`复刻状态`,style:{width:150},value:S||void 0,options:gWe,onChange:e=>{w(e||``),l(1)}}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(vb,{}),onClick:()=>h(e=>e+1),children:`筛选`}),(0,Q.jsx)(ZS,{onClick:()=>{_(``),y(``),x(``),w(``),l(1),h(e=>e+1)},children:`重置`})]}),(0,Q.jsx)(uR,{rowKey:`id`,loading:f,dataSource:i,pagination:{current:c,pageSize:l9,total:o,showSizeChanger:!1,showTotal:e=>`共 ${e} 条`,onChange:l},scroll:{x:1550},columns:[{title:`片段ID`,dataIndex:`id`,width:150,render:e=>(0,Q.jsx)(px,{title:e,children:d9(e)})},{title:`序号`,dataIndex:`segmentIndex`,width:70},{title:`来源`,dataIndex:`sourceMode`,width:100,render:e=>e===`ai_suggestion`?(0,Q.jsx)(CR,{color:`purple`,children:`AI建议`}):(0,Q.jsx)(CR,{color:`cyan`,children:`自定义`})},{title:`时间节点`,dataIndex:`timeNode`,width:130},{title:`时长`,dataIndex:`durationSeconds`,width:90,render:e=>`${Number(e||0).toFixed(2)}s`},{title:`切割`,dataIndex:`splitStatus`,width:100,render:e=>(0,Q.jsx)(f9,{status:e})},{title:`分析`,dataIndex:`analysisStatus`,width:100,render:e=>(0,Q.jsx)(f9,{status:e})},{title:`复刻`,dataIndex:`replicateStatus`,width:110,render:e=>(0,Q.jsx)(f9,{status:e})},{title:`片段内容`,dataIndex:`segmentContent`,width:260,ellipsis:!0,render:e=>e||`-`},{title:`分类`,dataIndex:`segmentCategory`,width:120,render:e=>e||`-`},{title:`关联项目`,width:220,render:(e,n)=>n.moduleProjectId?(0,Q.jsxs)(AM,{direction:`vertical`,size:0,children:[(0,Q.jsx)(ZS,{type:`link`,style:{padding:0},onClick:()=>t(`/shot-replications/projects/${n.moduleProjectId}`),children:d9(n.moduleProjectId)}),(0,Q.jsx)(Z.Text,{type:`secondary`,style:{fontSize:12},children:n.moduleProjectTitle||V7(n.moduleProjectCurrentStepCode)}),(0,Q.jsx)(f9,{status:n.moduleProjectStatus})]}):(0,Q.jsx)(CR,{children:`未创建`})},{title:`错误`,dataIndex:`splitLastError`,width:220,ellipsis:!0,render:(e,t)=>e||t.analysisErrorMessage||`-`},{title:`创建时间`,dataIndex:`createdAt`,width:170,render:u9},{title:`操作`,fixed:`right`,width:100,render:(e,t)=>(0,Q.jsx)(ZS,{type:`link`,icon:(0,Q.jsx)(AN,{}),onClick:()=>j(t.id),children:`详情`})}]})]})]}),(0,Q.jsx)(Fde,{title:`片段详情`,width:720,open:T,onClose:()=>E(!1),destroyOnClose:!0,children:D?(0,Q.jsxs)(AM,{direction:`vertical`,size:16,style:{width:`100%`},children:[(0,Q.jsxs)(mM,{column:2,bordered:!0,size:`small`,children:[(0,Q.jsx)(mM.Item,{label:`片段ID`,span:2,children:D.id}),(0,Q.jsx)(mM.Item,{label:`时间节点`,children:D.timeNode}),(0,Q.jsxs)(mM.Item,{label:`时长`,children:[Number(D.durationSeconds||0).toFixed(2),`s`]}),(0,Q.jsx)(mM.Item,{label:`切割状态`,children:(0,Q.jsx)(f9,{status:D.splitStatus})}),(0,Q.jsx)(mM.Item,{label:`分析状态`,children:(0,Q.jsx)(f9,{status:D.analysisStatus})}),(0,Q.jsx)(mM.Item,{label:`复刻状态`,children:(0,Q.jsx)(f9,{status:D.replicateStatus})}),(0,Q.jsx)(mM.Item,{label:`关联项目`,children:D.moduleProjectId?(0,Q.jsx)(ZS,{type:`link`,onClick:()=>t(`/shot-replications/projects/${D.moduleProjectId}`),children:D.moduleProjectId}):`-`}),(0,Q.jsx)(mM.Item,{label:`片段内容`,span:2,children:D.segmentContent||`-`}),(0,Q.jsx)(mM.Item,{label:`片段分类`,children:D.segmentCategory||`-`}),(0,Q.jsx)(mM.Item,{label:`片段受众`,children:D.segmentAudience||`-`})]}),(0,Q.jsx)(FA,{size:`small`,title:`片段视频`,children:(0,Q.jsx)(m9,{url:D.segmentVideoUrl,height:300})}),D.splitLastError?(0,Q.jsx)(cf,{type:`error`,message:`切割错误`,description:D.splitLastError}):null,D.analysisErrorMessage?(0,Q.jsx)(cf,{type:`error`,message:`分析错误`,description:D.analysisErrorMessage}):null,(0,Q.jsx)(Hh,{size:`small`,items:[{key:`analysis`,label:`片段分析 JSON`,children:(0,Q.jsx)(p9,{value:D.analysisJson})},{key:`suggestion`,label:`AI 建议原始 JSON`,children:(0,Q.jsx)(p9,{value:D.aiSuggestionJson})}]})]}):(0,Q.jsx)(uP,{})})]}):(0,Q.jsx)(FA,{style:{margin:24},children:(0,Q.jsx)(qy,{description:`未找到拆镜任务详情`})})},{Title:xWe,Text:h9,Paragraph:SWe}=Z,{TextArea:g9}=zN,_9=[{label:`对象`,value:`object`},{label:`数组`,value:`array`},{label:`字符串`,value:`string`},{label:`数字`,value:`number`},{label:`布尔`,value:`boolean`},{label:`流程数组`,value:`flow`}],v9=`画面属性`,CWe=new Set([`视频时长`,`视频比例`,`清晰度`,`帧率`,`推荐分辨率`]);function y9(e,t){return e===v9&&!!t&&CWe.has(t)}function b9(e){return e===v9}function wWe(e){return JSON.parse(JSON.stringify(e??null))}function x9(e,t,n,r){return!e||typeof e!=`object`?r:e[t]===void 0?e[n]===void 0?r:e[n]:e[t]}function TWe(e){return{key:String(e?.key||e?.label||`新流程字段`),label:String(e?.label||e?.key||`新流程字段`),enabled:e?.enabled??!0,editable:e?.editable??!0,maxLength:Number(x9(e,`maxLength`,`max_length`,800)||800),value:e?.value??``}}function S9(e){let t=String(e?.type||`string`),n={key:String(e?.key||e?.label||`新字段`),label:String(e?.label||e?.key||`新字段`),type:t,enabled:e?.enabled??!0,editable:e?.editable??!0,maxLength:Number(x9(e,`maxLength`,`max_length`,t===`flow`?800:1e3)||(t===`flow`?800:1e3))};if(t===`object`)n.children=Array.isArray(e?.children)?e.children.map(S9):[];else if(t===`flow`){n.contentKey=String(x9(e,`contentKey`,`content_key`,e?.key===`镜头流程`?`镜头内容`:`动作内容`));let t=x9(e,`contentAliases`,`content_aliases`,[]);n.contentAliases=Array.isArray(t)?t.map(e=>String(e)).filter(Boolean):[];let r=x9(e,`itemFields`,`item_fields`,[]);n.itemFields=Array.isArray(r)&&r.length>0?r.map(TWe):[{key:n.contentKey,label:n.contentKey,enabled:!0,editable:!0,maxLength:n.maxLength||800,value:``}]}else n.value=e?.value??(t===`array`?[]:t===`boolean`?!1:t===`number`?0:`无`);return n}function EWe(e){let t=Array.isArray(e?.segments)?e.segments:[],n=Array.isArray(e?.ratios)?e.ratios:[];return{minDuration:Number(x9(e,`minDuration`,`min_duration`,1)||1),maxDuration:Number(x9(e,`maxDuration`,`max_duration`,5)||5),ratios:n.map(e=>Number(e||0)),segments:t.map(e=>({stage:String(e?.stage||`新阶段`),description:String(e?.description||e?.desc||`阶段说明`)}))}}function C9(e){let t=Array.isArray(e?.sections)?e.sections:[],n=Array.isArray(e?.timePlanRules)?e.timePlanRules:Array.isArray(e?.time_plan_rules)?e.time_plan_rules:[];return{version:e?.version||`video_prompt_schema_config_v1`,enabled:e?.enabled??!0,sections:t.map(S9),timePlanRules:n.map(EWe)}}function w9(e,t){let n=b9(e.key),r=y9(t,e.key),i={key:e.key,label:e.label,type:r?`string`:e.type,enabled:n||r?!0:!!e.enabled,editable:r?!1:!!e.editable,max_length:e.maxLength};return e.type===`object`?i.children=(e.children||[]).map(t=>w9(t,e.key)):e.type===`flow`?(i.content_key=e.contentKey,i.content_aliases=e.contentAliases||[],i.item_fields=(e.itemFields||[]).map(e=>({key:e.key,label:e.label,enabled:!!e.enabled,editable:!!e.editable,max_length:e.maxLength,value:e.value??``}))):i.value=e.value,i}function T9(e,t){return{version:e.version,enabled:t,sections:(e.sections||[]).map(e=>w9(e)),time_plan_rules:(e.timePlanRules||[]).map(e=>({min_duration:e.minDuration,max_duration:e.maxDuration,ratios:e.ratios||[],segments:(e.segments||[]).map(e=>({stage:e.stage,description:e.description}))}))}}function E9(e){return e?.runtimeSchema||e?.runtime_schema||{}}function D9(e){let t=e?.timePlan||e?.time_plan||E9(e)?.动态时间规划||[];return Array.isArray(t)?t:[]}function DWe(e){return e?.schemaConfigSnapshot||e?.schema_config_snapshot||{}}function OWe(e,t){let n=new Blob([JSON.stringify(t,null,2)],{type:`application/json;charset=utf-8`}),r=URL.createObjectURL(n),i=document.createElement(`a`);i.href=r,i.download=e,i.click(),URL.revokeObjectURL(r)}var O9=(e=`string`)=>({key:`新字段`,label:`新字段`,type:e,enabled:!0,editable:!0,maxLength:e===`flow`?800:1e3,value:e===`array`?[]:e===`boolean`?!1:e===`number`?0:`无`,children:e===`object`?[]:void 0,contentKey:e===`flow`?`动作内容`:void 0,contentAliases:e===`flow`?[`动作内容`,`动作`,`动作说明`,`内容`,`说明`]:void 0,itemFields:e===`flow`?[{key:`动作内容`,label:`动作内容`,enabled:!0,editable:!0,maxLength:800,value:``}]:void 0}),kWe=()=>({minDuration:1,maxDuration:5,ratios:[.2,.4,.4],segments:[{stage:`开场吸引`,description:`快速吸引注意力`},{stage:`核心展示`,description:`展示主体动作、核心卖点或主要视觉内容`},{stage:`收尾引导`,description:`给出行动引导并稳定落版`}]}),AWe=()=>{let[e,t]=(0,C.useState)(!1),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)(!0),[o,s]=(0,C.useState)(!1),[c,l]=(0,C.useState)(null),[u,d]=(0,C.useState)(null),[f,p]=(0,C.useState)(!1),[m,h]=(0,C.useState)(null),[g]=X.useForm(),_=(0,C.useRef)(null),v=c?.sections||[],y=c?.timePlanRules||[],b=async()=>{t(!0);try{let e=await LVe();a(!!(e.isEnabled??e.is_enabled??e.data?.enabled??!1)),s(!!(e.usingDefault??e.using_default??!1)),l(C9(e.data)),d(C9(e.defaultData??e.default_data))}catch(e){xP.error(e?.message||`加载失败`)}finally{t(!1)}};(0,C.useEffect)(()=>{b()},[]);let x=e=>{l(t=>{let n=C9(wWe(t));return e(n),n})},S=async()=>{if(c){r(!0);try{let e=await RVe({is_enabled:i,data:T9(c,i)});l(C9(e.data)),a(!!(e.isEnabled??e.is_enabled??e.data?.enabled??!1)),s(!!(e.usingDefault??e.using_default??!1)),xP.success(`保存成功`)}catch(e){xP.error(e?.message||`保存失败`)}finally{r(!1)}}},w=async()=>{r(!0);try{let e=await zVe();l(C9(e.data)),d(C9(e.defaultData??e.default_data)),a(!!(e.isEnabled??e.is_enabled??e.data?.enabled??!1)),s(!!(e.usingDefault??e.using_default??!1)),xP.success(`已恢复默认配置`)}catch(e){xP.error(e?.message||`恢复默认失败`)}finally{r(!1)}},T=async()=>{try{OWe(`video_prompt_schema_config.json`,await BVe())}catch(e){xP.error(e?.message||`导出失败`)}},E=async e=>{let t=e.target.files?.[0];if(e.target.value=``,t)try{let e=await t.text(),n=JSON.parse(e),r=n.data||n,o=await VVe({is_enabled:!!(n.isEnabled??n.is_enabled??i),data:r});l(C9(o.data)),a(!!(o.isEnabled??o.is_enabled??o.data?.enabled??!1)),s(!!(o.usingDefault??o.using_default??!1)),xP.success(`导入成功`)}catch(e){xP.error(e?.message||`导入失败,请检查 JSON 格式`)}},D=()=>{g.setFieldsValue({duration:8,aspectRatio:`9:16`,resolution:`1080p`,frameRate:`30fps`}),h(null),p(!0)},O=async()=>{if(!c)return;let e=await g.validateFields();try{h(await HVe({is_enabled:i,data:T9(c,i),duration:Number(e.duration||8),aspect_ratio:e.aspectRatio,resolution:e.resolution,frame_rate:e.frameRate}))}catch(e){xP.error(e?.message||`预览失败`)}},k=()=>{x(e=>{e.sections.push(O9(`object`))})},A=(e,t)=>{x(n=>{let r=n.sections[e];b9(r?.key)&&(delete t.key,delete t.type,delete t.enabled),n.sections[e]={...n.sections[e],...t},t.type===`object`&&(n.sections[e].children=n.sections[e].children||[]),t.type===`flow`&&(n.sections[e].contentKey=n.sections[e].contentKey||`动作内容`,n.sections[e].contentAliases=n.sections[e].contentAliases||[`动作内容`,`动作`,`动作说明`,`内容`,`说明`],n.sections[e].itemFields=n.sections[e].itemFields||[{key:`动作内容`,label:`动作内容`,enabled:!0,editable:!0,maxLength:800,value:``}])})},j=e=>{x(t=>{t.sections.splice(e,1)})},M=e=>{x(t=>{let n=t.sections[e];n.children=n.children||[],n.children.push(O9(`string`))})},N=(e,t,n)=>{x(r=>{let i=r.sections[e],a=i.children||[],o=a[t];y9(i?.key,o?.key)&&(delete n.key,delete n.type,delete n.enabled,n.editable=!1),a[t]={...a[t],...n},r.sections[e].children=a})},P=(e,t)=>{x(n=>{n.sections[e].children?.splice(t,1)})},F=e=>{x(t=>{let n=t.sections[e];n.itemFields=n.itemFields||[],n.itemFields.push({key:`新流程字段`,label:`新流程字段`,enabled:!0,editable:!0,maxLength:800,value:``})})},I=(e,t,n)=>{x(r=>{let i=r.sections[e].itemFields||[];i[t]={...i[t],...n},r.sections[e].itemFields=i})},L=(e,t)=>{x(n=>{n.sections[e].itemFields?.splice(t,1)})},R=()=>{x(e=>{e.timePlanRules.push(kWe())})},z=(e,t)=>{x(n=>{n.timePlanRules[e]={...n.timePlanRules[e],...t}})},B=e=>{x(t=>{t.timePlanRules.splice(e,1)})},V=(e,t,n)=>{x(r=>{let i=r.timePlanRules[e];n.ratio!==void 0&&(i.ratios[t]=Number(n.ratio||0)),n.stage!==void 0&&(i.segments[t].stage=n.stage),n.description!==void 0&&(i.segments[t].description=n.description)})},H=e=>{x(t=>{let n=t.timePlanRules[e];n.ratios.push(1),n.segments.push({stage:`新阶段`,description:`阶段说明`})})},U=(e,t)=>{x(n=>{let r=n.timePlanRules[e];r.ratios.splice(t,1),r.segments.splice(t,1)})},W=(0,C.useMemo)(()=>v.map((e,t)=>({key:`section-${t}`,label:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(h9,{strong:!0,children:e.label||e.key||`未命名分组`}),e.key&&e.key!==e.label&&(0,Q.jsxs)(CR,{color:`blue`,children:[`key: `,e.key]}),(0,Q.jsx)(CR,{children:e.type}),b9(e.key)&&(0,Q.jsx)(CR,{color:`red`,children:`系统锁定`}),!e.enabled&&!b9(e.key)&&(0,Q.jsx)(CR,{color:`default`,children:`已禁用`})]}),children:(0,Q.jsxs)(AM,{direction:`vertical`,style:{width:`100%`},size:`middle`,children:[(0,Q.jsxs)(HP,{gutter:12,align:`middle`,children:[(0,Q.jsx)(ij,{span:4,children:(0,Q.jsx)(zN,{addonBefore:`key`,value:e.key,maxLength:64,placeholder:`传给 AI 的字段名`,disabled:b9(e.key),onChange:e=>A(t,{key:e.target.value})})}),(0,Q.jsx)(ij,{span:4,children:(0,Q.jsx)(zN,{addonBefore:`label`,value:e.label,maxLength:64,placeholder:`后台显示名称`,onChange:e=>A(t,{label:e.target.value})})}),(0,Q.jsx)(ij,{span:4,children:(0,Q.jsx)(Cb,{value:e.type,options:_9,style:{width:`100%`},disabled:b9(e.key),onChange:e=>A(t,{type:e})})}),(0,Q.jsx)(ij,{span:3,children:(0,Q.jsxs)(AM,{children:[`启用`,(0,Q.jsx)(sF,{checked:b9(e.key)?!0:e.enabled,disabled:b9(e.key),onChange:e=>A(t,{enabled:e})})]})}),(0,Q.jsx)(ij,{span:3,children:(0,Q.jsxs)(AM,{children:[`可编辑`,(0,Q.jsx)(sF,{checked:e.editable,onChange:e=>A(t,{editable:e})})]})}),(0,Q.jsx)(ij,{span:4,children:(0,Q.jsx)(Oj,{min:1,max:2e4,value:e.maxLength,addonBefore:`长度`,style:{width:`100%`},onChange:e=>A(t,{maxLength:Number(e||1e3)})})}),(0,Q.jsx)(ij,{span:2,style:{textAlign:`right`},children:(0,Q.jsx)(EP,{title:`确认删除该分组?`,disabled:b9(e.key),onConfirm:()=>j(t),children:(0,Q.jsx)(ZS,{danger:!0,icon:(0,Q.jsx)(ER,{}),disabled:b9(e.key)})})})]}),e.type===`object`&&(0,Q.jsx)(FA,{size:`small`,title:`对象字段`,extra:(0,Q.jsx)(ZS,{size:`small`,icon:(0,Q.jsx)(uA,{}),onClick:()=>M(t),children:`新增字段`}),children:(0,Q.jsx)(AM,{direction:`vertical`,style:{width:`100%`},children:(e.children||[]).map((n,r)=>(0,Q.jsxs)(HP,{gutter:8,align:`middle`,children:[(0,Q.jsx)(ij,{span:4,children:(0,Q.jsx)(zN,{addonBefore:`key`,value:n.key,maxLength:64,placeholder:`传给 AI 的字段名`,disabled:y9(e.key,n.key),onChange:e=>N(t,r,{key:e.target.value})})}),(0,Q.jsx)(ij,{span:4,children:(0,Q.jsx)(zN,{addonBefore:`label`,value:n.label,maxLength:64,placeholder:`后台显示名称`,onChange:e=>N(t,r,{label:e.target.value})})}),(0,Q.jsx)(ij,{span:3,children:(0,Q.jsx)(Cb,{value:n.type,options:_9.filter(e=>e.value!==`object`&&e.value!==`flow`),style:{width:`100%`},disabled:y9(e.key,n.key),onChange:e=>N(t,r,{type:e})})}),(0,Q.jsx)(ij,{span:2,children:(0,Q.jsxs)(AM,{children:[`启用`,(0,Q.jsx)(sF,{checked:y9(e.key,n.key)?!0:n.enabled,disabled:y9(e.key,n.key),onChange:e=>N(t,r,{enabled:e})})]})}),(0,Q.jsx)(ij,{span:2,children:(0,Q.jsxs)(AM,{children:[`编辑`,(0,Q.jsx)(sF,{checked:y9(e.key,n.key)?!1:n.editable,disabled:y9(e.key,n.key),onChange:e=>N(t,r,{editable:e})})]})}),(0,Q.jsx)(ij,{span:3,children:(0,Q.jsx)(Oj,{min:1,max:2e4,value:n.maxLength,addonBefore:`长度`,style:{width:`100%`},onChange:e=>N(t,r,{maxLength:Number(e||1e3)})})}),(0,Q.jsx)(ij,{span:5,children:(0,Q.jsx)(zN,{value:Array.isArray(n.value)?n.value.join(`/`):String(n.value??``),maxLength:n.maxLength||1e3,placeholder:`默认值`,onChange:e=>N(t,r,{value:n.type===`array`?e.target.value.split(`/`).filter(Boolean):e.target.value})})}),(0,Q.jsx)(ij,{span:1,style:{textAlign:`right`},children:(0,Q.jsx)(ZS,{danger:!0,size:`small`,icon:(0,Q.jsx)(ER,{}),disabled:y9(e.key,n.key),onClick:()=>P(t,r)})})]},`child-${t}-${r}`))})}),e.type===`flow`&&(0,Q.jsxs)(FA,{size:`small`,title:`流程数组对象字段`,extra:(0,Q.jsx)(ZS,{size:`small`,icon:(0,Q.jsx)(uA,{}),onClick:()=>F(t),children:`新增流程字段`}),children:[(0,Q.jsxs)(HP,{gutter:12,style:{marginBottom:12},children:[(0,Q.jsx)(ij,{span:6,children:(0,Q.jsx)(zN,{addonBefore:`内容字段`,value:e.contentKey,maxLength:64,onChange:e=>A(t,{contentKey:e.target.value})})}),(0,Q.jsx)(ij,{span:18,children:(0,Q.jsx)(zN,{addonBefore:`别名 / 分隔`,value:(e.contentAliases||[]).join(`/`),onChange:e=>A(t,{contentAliases:e.target.value.split(`/`).map(e=>e.trim()).filter(Boolean)})})})]}),(0,Q.jsx)(AM,{direction:`vertical`,style:{width:`100%`},children:(e.itemFields||[]).map((e,n)=>(0,Q.jsxs)(HP,{gutter:8,align:`middle`,children:[(0,Q.jsx)(ij,{span:5,children:(0,Q.jsx)(zN,{addonBefore:`key`,value:e.key,maxLength:64,placeholder:`流程对象字段名`,onChange:e=>I(t,n,{key:e.target.value})})}),(0,Q.jsx)(ij,{span:5,children:(0,Q.jsx)(zN,{addonBefore:`label`,value:e.label,maxLength:64,placeholder:`后台显示名称`,onChange:e=>I(t,n,{label:e.target.value})})}),(0,Q.jsx)(ij,{span:3,children:(0,Q.jsxs)(AM,{children:[`启用`,(0,Q.jsx)(sF,{checked:e.enabled,onChange:e=>I(t,n,{enabled:e})})]})}),(0,Q.jsx)(ij,{span:3,children:(0,Q.jsxs)(AM,{children:[`编辑`,(0,Q.jsx)(sF,{checked:e.editable,onChange:e=>I(t,n,{editable:e})})]})}),(0,Q.jsx)(ij,{span:4,children:(0,Q.jsx)(Oj,{min:1,max:2e4,value:e.maxLength,addonBefore:`长度`,style:{width:`100%`},onChange:e=>I(t,n,{maxLength:Number(e||800)})})}),(0,Q.jsx)(ij,{span:3,children:(0,Q.jsx)(zN,{value:String(e.value??``),maxLength:e.maxLength||800,placeholder:`默认值`,onChange:e=>I(t,n,{value:e.target.value})})}),(0,Q.jsx)(ij,{span:1,style:{textAlign:`right`},children:(0,Q.jsx)(ZS,{danger:!0,size:`small`,icon:(0,Q.jsx)(ER,{}),onClick:()=>L(t,n)})})]},`flow-${t}-${n}`))})]}),e.type!==`object`&&e.type!==`flow`&&(0,Q.jsx)(FA,{size:`small`,title:`默认值`,children:(0,Q.jsx)(g9,{rows:3,value:Array.isArray(e.value)?e.value.join(` `):String(e.value??``),maxLength:e.maxLength||1e3,showCount:!0,onChange:n=>A(t,{value:e.type===`array`?n.target.value.split(` -`).filter(Boolean):n.target.value})})})]})})),[v]);return e||!c?(0,Q.jsx)(pP,{}):(0,Q.jsxs)(`div`,{style:{padding:24},children:[(0,Q.jsx)(RA,{children:(0,Q.jsxs)(NM,{direction:`vertical`,style:{width:`100%`},size:`large`,children:[(0,Q.jsxs)(GP,{justify:`space-between`,align:`middle`,children:[(0,Q.jsxs)(sj,{children:[(0,Q.jsx)(mWe,{level:3,style:{margin:0},children:`视频提词 Schema 配置`}),(0,Q.jsx)(hWe,{type:`secondary`,style:{marginBottom:0},children:`配置会被爆款开头复刻和拆镜复刻第 4 步视频 AI 提词共同复用。传给 AI 时只保留纯键值 schema,不携带显示名、启用、可编辑等管理字段。`})]}),(0,Q.jsx)(sj,{children:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(S9,{children:`启用自定义配置`}),(0,Q.jsx)(uF,{checked:i,onChange:a}),o&&(0,Q.jsx)(kR,{color:`orange`,children:`当前使用默认配置兜底`}),u&&(0,Q.jsxs)(kR,{children:[`默认分组 `,u.sections.length]})]})})]}),(0,Q.jsx)(cf,{type:`info`,showIcon:!0,message:`长度限制策略`,description:`只对管理后台字段和用户可编辑字段做长度校验,不会自动裁剪 AI 生成结果或第 5 步最终视频 prompt。若供应商因为 prompt 过长拒绝,会按真实失败进入现有日志/退款/重试流程。`}),(0,Q.jsx)(cf,{type:`warning`,showIcon:!0,message:`预览说明`,description:`预览会跟随右上角「启用自定义配置」开关。关闭时会按默认 CLIENT_SCHEMA_V1 兜底预览;打开后才会按当前页面编辑的 sections 和秒数切片规则预览。`}),(0,Q.jsxs)(NM,{wrap:!0,children:[(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)($2,{}),loading:n,onClick:S,children:`保存配置`}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(NN,{}),onClick:D,children:`预览运行时 Schema`}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(_B,{}),onClick:T,children:`导出 JSON`}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(U6,{}),onClick:()=>_.current?.click(),children:`导入 JSON`}),(0,Q.jsx)(kP,{title:`确认恢复默认配置?`,description:`会用 CLIENT_SCHEMA_V1 生成的默认配置覆盖当前配置。`,onConfirm:w,children:(0,Q.jsx)(cC,{icon:(0,Q.jsx)(HP,{}),children:`恢复默认`})}),(0,Q.jsx)(`input`,{ref:_,type:`file`,accept:`application/json,.json`,style:{display:`none`},onChange:E})]}),(0,Q.jsx)(IA,{items:[{key:`fields`,label:`Schema 字段配置`,children:(0,Q.jsxs)(NM,{direction:`vertical`,style:{width:`100%`},size:`middle`,children:[(0,Q.jsx)(cf,{type:`warning`,showIcon:!0,message:`字段说明`,description:`key 是最终传给 AI 和保存到 prompt_schema 的真实字段名,例如「素材理解」「动作流程」;label 只用于管理后台显示,帮助运营/管理员理解这个字段,不会传给 AI;启用关闭后该字段不会进入运行时 schema;可编辑关闭后用户在第 4 步修改时不能改这个字段。「画面属性」里的视频时长、视频比例、清晰度、帧率、推荐分辨率属于系统锁定参数,不能改 key、不能禁用、不能开放用户编辑。`}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(pA,{}),onClick:k,children:`新增一级分组`}),(0,Q.jsx)(Mh,{items:W})]})},{key:`time`,label:`秒数切片规则`,children:(0,Q.jsxs)(NM,{direction:`vertical`,style:{width:`100%`},size:`middle`,children:[(0,Q.jsx)(cf,{type:`info`,showIcon:!0,message:`切片规则说明`,description:`这里决定指定视频时长会被拆成几段,以及每段的阶段名称和说明。运行时会同步生成「动态时间规划」「动作流程」「镜头流程」三个数组,三者时间段保持一致。`}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(pA,{}),onClick:R,children:`新增秒数规则`}),y.map((e,t)=>(0,Q.jsxs)(RA,{size:`small`,title:`${e.minDuration}-${e.maxDuration} 秒:${e.segments.length} 段`,extra:(0,Q.jsx)(cC,{danger:!0,size:`small`,icon:(0,Q.jsx)(MR,{}),onClick:()=>B(t),children:`删除规则`}),children:[(0,Q.jsxs)(GP,{gutter:12,style:{marginBottom:12},children:[(0,Q.jsx)(sj,{span:4,children:(0,Q.jsx)(jj,{min:1,value:e.minDuration,addonBefore:`最小秒`,style:{width:`100%`},onChange:e=>z(t,{minDuration:Number(e||1)})})}),(0,Q.jsx)(sj,{span:4,children:(0,Q.jsx)(jj,{min:1,value:e.maxDuration,addonBefore:`最大秒`,style:{width:`100%`},onChange:e=>z(t,{maxDuration:Number(e||1)})})}),(0,Q.jsx)(sj,{span:16,children:(0,Q.jsx)(cC,{size:`small`,icon:(0,Q.jsx)(pA,{}),onClick:()=>H(t),children:`新增片段`})})]}),(0,Q.jsx)(NM,{direction:`vertical`,style:{width:`100%`},children:e.segments.map((n,r)=>(0,Q.jsxs)(GP,{gutter:8,align:`middle`,children:[(0,Q.jsx)(sj,{span:3,children:(0,Q.jsx)(jj,{min:.01,step:.01,value:e.ratios[r],addonBefore:`比例`,style:{width:`100%`},onChange:e=>V(t,r,{ratio:Number(e||.01)})})}),(0,Q.jsx)(sj,{span:5,children:(0,Q.jsx)(HN,{value:n.stage,maxLength:64,placeholder:`阶段`,onChange:e=>V(t,r,{stage:e.target.value})})}),(0,Q.jsx)(sj,{span:15,children:(0,Q.jsx)(HN,{value:n.description,maxLength:300,placeholder:`说明`,onChange:e=>V(t,r,{description:e.target.value})})}),(0,Q.jsx)(sj,{span:1,children:(0,Q.jsx)(cC,{danger:!0,size:`small`,icon:(0,Q.jsx)(MR,{}),onClick:()=>U(t,r)})})]},r))})]},t))]})},{key:`json`,label:`JSON 高级查看`,children:(0,Q.jsx)(C9,{rows:24,value:JSON.stringify(M9(c,i),null,2),readOnly:!0})}]})]})}),(0,Q.jsxs)(EP,{title:`预览运行时 Schema`,open:f,onCancel:()=>p(!1),width:980,footer:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(cC,{onClick:()=>p(!1),children:`关闭`}),(0,Q.jsx)(cC,{type:`primary`,onClick:O,children:`生成预览`})]}),children:[(0,Q.jsxs)(X,{form:g,layout:`inline`,style:{marginBottom:16},children:[(0,Q.jsx)(X.Item,{name:`duration`,label:`时长`,rules:[{required:!0}],children:(0,Q.jsx)(jj,{min:1,max:3600})}),(0,Q.jsx)(X.Item,{name:`aspectRatio`,label:`比例`,rules:[{required:!0}],children:(0,Q.jsx)(HN,{})}),(0,Q.jsx)(X.Item,{name:`resolution`,label:`清晰度`,rules:[{required:!0}],children:(0,Q.jsx)(HN,{})}),(0,Q.jsx)(X.Item,{name:`frameRate`,label:`帧率`,rules:[{required:!0}],children:(0,Q.jsx)(HN,{})})]}),(0,Q.jsx)(lue,{}),m?(0,Q.jsx)(IA,{items:[{key:`runtime`,label:`运行时 Schema`,children:(0,Q.jsx)(C9,{rows:24,value:JSON.stringify(N9(m),null,2),readOnly:!0})},{key:`timePlan`,label:`动态时间规划(${P9(m).length} 段)`,children:(0,Q.jsx)(C9,{rows:24,value:JSON.stringify(P9(m),null,2),readOnly:!0})},{key:`snapshot`,label:`配置快照`,children:(0,Q.jsx)(C9,{rows:24,value:JSON.stringify(bWe(m),null,2),readOnly:!0})}]}):(0,Q.jsx)(cf,{type:`info`,showIcon:!0,message:`点击生成预览后,可以看到传给 AI 的纯 schema、动态时间规划和本次配置快照。`})]})]})},wWe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(0),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(1),[c,l]=(0,C.useState)(10),[u,d]=(0,C.useState)(null),[f,p]=(0,C.useState)(null),[m,h]=(0,C.useState)(!1),{user:g}=A5(),_=async()=>{if(g?.isAdmin){a(!0);try{let e=new URLSearchParams;e.set(`page`,String(o)),e.set(`page_size`,String(c)),u!==null&&e.set(`is_handled`,String(u));let n=await a5.get(`/contact/requests?${e.toString()}`);t(n.items),r(n.total)}catch(e){wP.error(e?.message||`获取失败`)}finally{a(!1)}}};(0,C.useEffect)(()=>{_()},[o,c,u]);let v=async e=>{try{await a5.put(`/contact/requests/${e}/handle`),wP.success(`已标记为处理`),_()}catch(e){wP.error(e?.message||`操作失败`)}},y=async e=>{try{await a5.delete(`/contact/requests/${e}`),wP.success(`已删除`),_()}catch(e){wP.error(e?.message||`删除失败`)}},b=e=>{p(e),h(!0)};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(RA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(u1,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`联系请求管理`}),(0,Q.jsxs)(kR,{color:`purple`,children:[`共 `,n,` 条记录`]})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:8},children:[(0,Q.jsx)(cC,{type:u===null?`primary`:`default`,onClick:()=>d(null),icon:(0,Q.jsx)(YX,{}),size:`small`,children:`全部`}),(0,Q.jsx)(cC,{type:u===!1?`primary`:`default`,onClick:()=>d(!1),size:`small`,children:`待处理`}),(0,Q.jsx)(cC,{type:u===!0?`primary`:`default`,onClick:()=>d(!0),size:`small`,children:`已处理`})]})]}),i?(0,Q.jsx)(`div`,{style:{textAlign:`center`,padding:40},children:`加载中...`}):e.length===0?(0,Q.jsx)(Qy,{description:`暂无联系请求`,style:{padding:`40px 0`}}):(0,Q.jsx)(gR,{columns:[{title:`姓名`,dataIndex:`name`,key:`name`,width:100,render:e=>(0,Q.jsx)(Z.Text,{strong:!0,children:e})},{title:`手机号`,dataIndex:`phone`,key:`phone`,width:120},{title:`公司名称`,dataIndex:`companyName`,key:`companyName`,width:150,ellipsis:!0},{title:`行业`,dataIndex:`industry`,key:`industry`,width:120},{title:`状态`,dataIndex:`isHandled`,key:`isHandled`,width:80,render:e=>(0,Q.jsx)(kR,{color:e?`green`:`orange`,children:e?`已处理`:`待处理`})},{title:`提交时间`,dataIndex:`createdAt`,key:`createdAt`,width:160,render:e=>P5(e)},{title:`操作`,key:`actions`,width:180,render:(e,t)=>(0,Q.jsxs)(NM,{size:4,children:[(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(NN,{}),onClick:()=>b(t),children:`查看`}),!t.isHandled&&(0,Q.jsx)(cC,{type:`link`,size:`small`,icon:(0,Q.jsx)(_b,{}),onClick:()=>v(t.id),children:`标记处理`}),(0,Q.jsx)(kP,{title:`确定删除该记录?`,onConfirm:()=>y(t.id),children:(0,Q.jsx)(cC,{type:`link`,danger:!0,size:`small`,icon:(0,Q.jsx)(MR,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:i,pagination:{current:o,pageSize:c,total:n,onChange:(e,t)=>{s(e),l(t)},showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`},scroll:{x:900}})]}),(0,Q.jsx)(EP,{title:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(NN,{}),`联系请求详情`]}),open:m,onCancel:()=>h(!1),footer:null,width:500,children:f&&(0,Q.jsxs)(`div`,{style:{padding:8},children:[(0,Q.jsxs)(`div`,{style:{marginBottom:16},children:[(0,Q.jsxs)(Z.Title,{level:4,style:{marginBottom:16},children:[f.name,(0,Q.jsx)(kR,{color:f.isHandled?`green`:`orange`,style:{marginLeft:12},children:f.isHandled?`已处理`:`待处理`})]}),(0,Q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`120px 1fr`,gap:12},children:[(0,Q.jsx)(Z.Text,{style:{color:`#64748b`},children:`手机号:`}),(0,Q.jsx)(Z.Text,{children:f.phone}),(0,Q.jsx)(Z.Text,{style:{color:`#64748b`},children:`公司名称:`}),(0,Q.jsx)(Z.Text,{children:f.companyName}),(0,Q.jsx)(Z.Text,{style:{color:`#64748b`},children:`行业:`}),(0,Q.jsx)(Z.Text,{children:f.industry}),(0,Q.jsx)(Z.Text,{style:{color:`#64748b`},children:`提交时间:`}),(0,Q.jsx)(Z.Text,{children:P5(f.createdAt)}),f.message&&(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(Z.Text,{style:{color:`#64748b`},children:`留言:`}),(0,Q.jsx)(Z.Text,{children:f.message})]})]})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[!f.isHandled&&(0,Q.jsx)(cC,{type:`primary`,onClick:()=>{v(f.id),h(!1)},icon:(0,Q.jsx)(_b,{}),children:`标记为已处理`}),(0,Q.jsx)(cC,{onClick:()=>h(!1),children:`关闭`})]})]})})]})},I9=`http://ceshi.apiforeign.minzhong.cn`.replace(/\/$/,``).replace(/\/api\/?$/i,``).replace(/\/$/,``),TWe=e=>/^(https?:)?\/\//i.test(e)||/^(blob|data):/i.test(e),L9=e=>{if(!e)return``;let t=String(e).trim();return t?TWe(t)?t:I9?`${I9}${t.startsWith(`/`)?t:`/${t}`}`:t.startsWith(`/`)?t:`/${t}`:``},EWe=360,R9=280;function z9(e,t,n){return Number.isFinite(e)?Math.min(n,Math.max(t,e)):t}function DWe(e,t){let n=Math.max(0,e);if(!n)return{width:0,height:R9};if(!t?.width||!t?.height)return{width:n,height:R9};let r=Math.min(n/t.width,EWe/t.height);return{width:Math.max(1,Math.round(t.width*r)),height:Math.max(1,Math.round(t.height*r))}}function OWe(e,t){if(e.sizeMode===`px`&&e.widthPx)return z9(e.widthPx,1,Math.max(1,t));let n=z9(e.widthRatio??.18,.01,1);return Math.max(1,t*n)}function kWe(e){let t=e.marginX??24,n=e.marginY??24;switch(e.position){case`top_left`:return{left:t,top:n};case`top_center`:return{left:`50%`,top:n,transform:`translateX(-50%)`};case`top_right`:return{right:t,top:n};case`middle_left`:return{left:t,top:`50%`,transform:`translateY(-50%)`};case`center`:return{left:`50%`,top:`50%`,transform:`translate(-50%, -50%)`};case`middle_right`:return{right:t,top:`50%`,transform:`translateY(-50%)`};case`bottom_left`:return{left:t,bottom:n};case`bottom_center`:return{left:`50%`,bottom:n,transform:`translateX(-50%)`};default:return{right:t,bottom:n}}}function AWe(e){let t=e.textWatermark;return!t||!t.text?.trim()?null:{text:t.text.trim(),opacity_level:t.opacityLevel,font_size_px:t.fontSizePx,color:t.color,rotate_deg:t.rotateDeg,gap_x:t.gapX,gap_y:t.gapY,staggered:t.staggered}}var jWe=({mediaUrl:e,mediaType:t=`image`,watermarkUrl:n,config:r,onChange:i})=>{let a=(0,C.useRef)(null),o=(0,C.useRef)(null),s=(0,C.useRef)(null),c=(0,C.useRef)({x:0,y:0}),l=(0,C.useRef)(0),[u,d]=(0,C.useState)(0),[f,p]=(0,C.useState)(null),[m,h]=(0,C.useState)({width:0,height:0}),[g,_]=(0,C.useState)(!1),[v,y]=(0,C.useState)(``),[b,x]=(0,C.useState)(!1),[S,w]=(0,C.useState)(``),T=(0,C.useMemo)(()=>L9(e),[e]),E=(0,C.useMemo)(()=>L9(n),[n]),D=(0,C.useMemo)(()=>DWe(u,f),[u,f]),O=(0,C.useMemo)(()=>OWe(r,D.width),[r,D.width]),k=r.watermarkType===`repeated_text`;(0,C.useLayoutEffect)(()=>{if(!a.current)return;let e=()=>d(a.current?.clientWidth||0);e();let t=new ResizeObserver(e);return t.observe(a.current),()=>t.disconnect()},[]),(0,C.useLayoutEffect)(()=>{if(!s.current)return;let e=()=>{let e=s.current?.getBoundingClientRect();e&&h({width:e.width,height:e.height})};e();let t=new ResizeObserver(e);return t.observe(s.current),()=>t.disconnect()},[E,O]),(0,C.useEffect)(()=>{p(null),y(``),w(``)},[T,t]),(0,C.useEffect)(()=>{if(!k){y(``),x(!1),w(``);return}let e=AWe(r);if(!f?.width||!f.height||!e){y(``);return}let t=++l.current;x(!0),w(``);let n=window.setTimeout(async()=>{try{let n=await XVe({width:f.width,height:f.height,text_watermark:e});l.current===t&&y(n.previewLayerDataUrl)}catch(e){l.current===t&&(y(``),w(e instanceof Error?e.message:`文字水印预览生成失败`))}finally{l.current===t&&x(!1)}},300);return()=>window.clearTimeout(n)},[r,k,f]),(0,C.useEffect)(()=>{let e=e=>{if(!g||!o.current||!i||k)return;let t=o.current.getBoundingClientRect(),n=m.width||O,r=m.height||1,a=Math.max(1,t.width-n),s=Math.max(1,t.height-r),l=z9(e.clientX-t.left-c.current.x,0,a),u=z9(e.clientY-t.top-c.current.y,0,s);i({position:`custom`,customXRatio:Number((l/a).toFixed(4)),customYRatio:Number((u/s).toFixed(4))})},t=()=>_(!1);return window.addEventListener(`pointermove`,e),window.addEventListener(`pointerup`,t),window.addEventListener(`pointercancel`,t),()=>{window.removeEventListener(`pointermove`,e),window.removeEventListener(`pointerup`,t),window.removeEventListener(`pointercancel`,t)}},[g,k,i,m.height,m.width,O]);let A=(0,C.useMemo)(()=>{if(r.position!==`custom`)return kWe(r);let e=m.width||O,t=m.height||1,n=Math.max(0,D.width-e),i=Math.max(0,D.height-t),a=z9(r.customXRatio??.5,0,1),o=z9(r.customYRatio??.5,0,1);return{left:n*a,top:i*o,transform:`none`}},[r,D.height,D.width,m.height,m.width,O]);return(0,Q.jsx)(`div`,{ref:a,style:{position:`relative`,width:`100%`,minHeight:Math.max(R9,D.height),background:`#0f172a`,borderRadius:12,overflow:`hidden`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`},children:T?(0,Q.jsxs)(`div`,{ref:o,style:{position:`relative`,width:D.width||`100%`,height:D.height||R9,maxWidth:`100%`,overflow:`hidden`,background:`#000`},children:[t===`video`?(0,Q.jsx)(`video`,{src:T,controls:!0,onLoadedMetadata:e=>{let t=e.currentTarget;t.videoWidth&&t.videoHeight&&p({width:t.videoWidth,height:t.videoHeight})},style:{width:`100%`,height:`100%`,objectFit:`fill`,display:`block`}}):(0,Q.jsx)(`img`,{src:T,alt:`素材预览`,onLoad:e=>{let t=e.currentTarget;t.naturalWidth&&t.naturalHeight&&p({width:t.naturalWidth,height:t.naturalHeight})},style:{width:`100%`,height:`100%`,objectFit:`fill`,display:`block`}}),k&&v&&(0,Q.jsx)(`img`,{src:v,alt:`重复文字水印预览`,draggable:!1,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,objectFit:`fill`,zIndex:2,pointerEvents:`none`,userSelect:`none`}}),k&&(b||S)&&(0,Q.jsx)(`div`,{style:{position:`absolute`,left:12,bottom:12,zIndex:3,padding:`6px 10px`,borderRadius:8,background:`rgba(15, 23, 42, 0.82)`,color:`#e2e8f0`,fontSize:12},children:b?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(pP,{size:`small`}),` 正在生成精准预览...`]}):S}),!k&&E&&(0,Q.jsx)(`img`,{ref:s,src:E,alt:`水印预览`,draggable:!1,onLoad:e=>{let t=e.currentTarget.getBoundingClientRect();h({width:t.width,height:t.height})},onPointerDown:e=>{if(!i)return;e.preventDefault();let t=e.currentTarget.getBoundingClientRect();c.current={x:e.clientX-t.left,y:e.clientY-t.top},_(!0)},style:{position:`absolute`,zIndex:2,cursor:i?`move`:`default`,width:O,opacity:(r.opacityLevel??6)/10,userSelect:`none`,touchAction:`none`,pointerEvents:i?`auto`:`none`,...A}})]}):(0,Q.jsx)(`span`,{children:`上传素材后可预览水印效果`})})},MWe=[{label:`左上角`,value:`top_left`},{label:`顶部居中`,value:`top_center`},{label:`右上角`,value:`top_right`},{label:`左侧居中`,value:`middle_left`},{label:`正中间`,value:`center`},{label:`右侧居中`,value:`middle_right`},{label:`左下角`,value:`bottom_left`},{label:`底部居中`,value:`bottom_center`},{label:`右下角`,value:`bottom_right`},{label:`拖拽自定义`,value:`custom`}],B9={text:`民众普康 AI`,opacityLevel:2,fontSizePx:28,color:`#ffffff`,rotateDeg:-30,gapX:220,gapY:140,staggered:!0},V9=({value:e,onChange:t,watermarks:n,mediaUrl:r,mediaType:i})=>{let a=n=>t({...e,...n}),o=t=>{a({textWatermark:{...B9,...e.textWatermark||{},...t}})},s=n.find(t=>t.id===e.watermarkId)?.fileUrl,c={...B9,...e.textWatermark||{}};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(X,{layout:`vertical`,children:[(0,Q.jsx)(X.Item,{label:`水印类型`,required:!0,children:(0,Q.jsxs)(Vk.Group,{value:e.watermarkType||`image`,onChange:e=>{let t=e.target.value;a({watermarkType:t,textWatermark:t===`repeated_text`?c:null})},children:[(0,Q.jsx)(Vk.Button,{value:`image`,children:`图片水印`}),(0,Q.jsx)(Vk.Button,{value:`repeated_text`,children:`重复文字水印`})]})}),e.watermarkType===`repeated_text`?(0,Q.jsxs)(GP,{gutter:16,children:[(0,Q.jsx)(sj,{span:24,children:(0,Q.jsx)(X.Item,{label:`水印文字`,required:!0,extra:`字体由后端固定开源可商用字体渲染,前端预览层和最终生成使用同一后端渲染逻辑。`,children:(0,Q.jsx)(HN,{maxLength:64,showCount:!0,value:c.text,onChange:e=>o({text:e.target.value}),placeholder:`请输入重复水印文字`})})}),(0,Q.jsx)(sj,{span:12,children:(0,Q.jsx)(X.Item,{label:`文字透明度:${c.opacityLevel}/10`,required:!0,children:(0,Q.jsx)($j,{min:1,max:10,step:1,value:c.opacityLevel,onChange:e=>o({opacityLevel:e})})})}),(0,Q.jsx)(sj,{span:12,children:(0,Q.jsx)(X.Item,{label:`字号(px)`,required:!0,children:(0,Q.jsx)(jj,{min:8,max:160,style:{width:`100%`},value:c.fontSizePx,onChange:e=>o({fontSizePx:Number(e||28)})})})}),(0,Q.jsx)(sj,{span:12,children:(0,Q.jsx)(X.Item,{label:`文字颜色`,required:!0,children:(0,Q.jsx)(HN,{value:c.color,onChange:e=>o({color:e.target.value||`#ffffff`}),placeholder:`#ffffff`})})}),(0,Q.jsx)(sj,{span:12,children:(0,Q.jsx)(X.Item,{label:`旋转角度`,required:!0,children:(0,Q.jsx)(jj,{min:-90,max:90,style:{width:`100%`},value:c.rotateDeg,onChange:e=>o({rotateDeg:Number(e??-30)})})})}),(0,Q.jsx)(sj,{span:12,children:(0,Q.jsx)(X.Item,{label:`横向间距`,required:!0,children:(0,Q.jsx)(jj,{min:20,max:2e3,style:{width:`100%`},value:c.gapX,onChange:e=>o({gapX:Number(e||220)})})})}),(0,Q.jsx)(sj,{span:12,children:(0,Q.jsx)(X.Item,{label:`纵向间距`,required:!0,children:(0,Q.jsx)(jj,{min:20,max:2e3,style:{width:`100%`},value:c.gapY,onChange:e=>o({gapY:Number(e||140)})})})}),(0,Q.jsx)(sj,{span:12,children:(0,Q.jsx)(X.Item,{label:`交错排列`,valuePropName:`checked`,children:(0,Q.jsx)(uF,{checked:c.staggered,onChange:e=>o({staggered:e})})})})]}):(0,Q.jsxs)(GP,{gutter:16,children:[(0,Q.jsx)(sj,{span:12,children:(0,Q.jsx)(X.Item,{label:`水印图片`,required:!0,children:(0,Q.jsx)(Ob,{placeholder:`请选择水印`,value:e.watermarkId||void 0,onChange:e=>a({watermarkId:e}),options:n.map(e=>({label:`${e.name}${e.isDefault?`(默认)`:``}`,value:e.id}))})})}),(0,Q.jsx)(sj,{span:12,children:(0,Q.jsx)(X.Item,{label:`透明度:${e.opacityLevel}/10`,required:!0,children:(0,Q.jsx)($j,{min:1,max:10,step:1,value:e.opacityLevel,onChange:e=>a({opacityLevel:e})})})}),(0,Q.jsx)(sj,{span:12,children:(0,Q.jsx)(X.Item,{label:`水印位置`,required:!0,children:(0,Q.jsx)(Ob,{value:e.position,onChange:e=>a({position:e}),options:MWe})})}),(0,Q.jsx)(sj,{span:12,children:(0,Q.jsx)(X.Item,{label:`大小模式`,required:!0,children:(0,Q.jsx)(Ob,{value:e.sizeMode,onChange:e=>a({sizeMode:e}),options:[{label:`按素材宽度比例`,value:`ratio`},{label:`固定像素宽度`,value:`px`}]})})}),e.sizeMode===`ratio`?(0,Q.jsx)(sj,{span:12,children:(0,Q.jsx)(X.Item,{label:`水印宽度比例`,required:!0,children:(0,Q.jsx)(jj,{min:.01,max:1,step:.01,style:{width:`100%`},value:e.widthRatio??.18,onChange:e=>a({widthRatio:Number(e||.18)})})})}):(0,Q.jsx)(sj,{span:12,children:(0,Q.jsx)(X.Item,{label:`水印宽度(px)`,required:!0,children:(0,Q.jsx)(jj,{min:1,max:1e4,style:{width:`100%`},value:e.widthPx??200,onChange:e=>a({widthPx:Number(e||200)})})})}),(0,Q.jsx)(sj,{span:6,children:(0,Q.jsx)(X.Item,{label:`横向边距`,children:(0,Q.jsx)(jj,{min:0,max:2e3,style:{width:`100%`},value:e.marginX,onChange:e=>a({marginX:Number(e||0)})})})}),(0,Q.jsx)(sj,{span:6,children:(0,Q.jsx)(X.Item,{label:`纵向边距`,children:(0,Q.jsx)(jj,{min:0,max:2e3,style:{width:`100%`},value:e.marginY,onChange:e=>a({marginY:Number(e||0)})})})})]})]}),(0,Q.jsx)(jWe,{mediaUrl:r,mediaType:i,watermarkUrl:s,config:e,onChange:e=>a(e)})]})},H9={draft:{text:`草稿`,color:`default`},processing:{text:`处理中`,color:`processing`},success:{text:`成功`,color:`success`},failed:{text:`失败`,color:`error`}},U9={text:`民众普康 AI`,opacityLevel:2,fontSizePx:28,color:`#ffffff`,rotateDeg:-30,gapX:220,gapY:140,staggered:!0},NWe={watermarkType:`image`,watermarkId:null,opacityLevel:6,position:`bottom_right`,customXRatio:null,customYRatio:null,sizeMode:`ratio`,widthRatio:.18,widthPx:null,marginX:24,marginY:24,textWatermark:U9};function PWe(e){return{text:e?.text||U9.text,opacityLevel:e?.opacityLevel??e?.opacity_level??U9.opacityLevel,fontSizePx:e?.fontSizePx??e?.font_size_px??U9.fontSizePx,color:e?.color||U9.color,rotateDeg:e?.rotateDeg??e?.rotate_deg??U9.rotateDeg,gapX:e?.gapX??e?.gap_x??U9.gapX,gapY:e?.gapY??e?.gap_y??U9.gapY,staggered:e?.staggered??U9.staggered}}function W9(e,t){let n=e||{},r=n.watermarkType||n.watermark_type||`image`;return{watermarkType:r,watermarkId:r===`repeated_text`?null:n.watermarkId||n.watermark_id||t||null,opacityLevel:n.opacityLevel||n.opacity_level||6,position:n.position||`bottom_right`,customXRatio:n.customXRatio??n.custom_x_ratio??null,customYRatio:n.customYRatio??n.custom_y_ratio??null,sizeMode:n.sizeMode||n.size_mode||`ratio`,widthRatio:n.widthRatio??n.width_ratio??.18,widthPx:n.widthPx??n.width_px??null,marginX:n.marginX??n.margin_x??24,marginY:n.marginY??n.margin_y??24,textWatermark:PWe(n.textWatermark||n.text_watermark)}}function G9(e){return e.watermarkType===`repeated_text`?!!e.textWatermark?.text?.trim():!!e.watermarkId}var FWe=({categories:e,watermarks:t,reloadKey:n})=>{let[r,i]=(0,C.useState)([]),[a,o]=(0,C.useState)(0),[s,c]=(0,C.useState)(!1),[l,u]=(0,C.useState)({page:1,pageSize:20}),[d,f]=(0,C.useState)(null),[p,m]=(0,C.useState)(null),[h,g]=(0,C.useState)(NWe),[_,v]=(0,C.useState)(!1),y=async()=>{c(!0);try{let e=await KVe(l);i(e.items),o(e.total)}finally{c(!1)}};(0,C.useEffect)(()=>{y()},[l,n]),(0,C.useEffect)(()=>{let e=r.filter(e=>e.status===`processing`);if(e.length===0)return;let t=window.setInterval(async()=>{(await Promise.all(e.map(e=>qVe(e.id).catch(()=>null)))).some(e=>e&&e.status!==`processing`)&&y()},2500);return()=>window.clearInterval(t)},[r]);let b=e=>{m(e),g(W9(e.watermarkConfig,e.watermarkId))},x=e=>e.mediaType===`image`?L9(e.watermarkedUrl||e.originalUrl):L9(e.coverUrl||``),S=e=>L9(e.watermarkedUrl||e.originalUrl),w=e=>{EP.confirm({title:`确认删除该素材?`,content:e.title||e.id,okText:`删除`,okButtonProps:{danger:!0},cancelText:`取消`,async onOk(){await QVe(e.id),wP.success(`删除成功`),await y()}})};return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(NM,{style:{marginBottom:16},wrap:!0,children:[(0,Q.jsx)(Ob,{allowClear:!0,style:{width:180},placeholder:`行业`,value:l.categoryId,onChange:e=>u(t=>({...t,categoryId:e,page:1})),options:e.map(e=>({label:e.name,value:e.id}))}),(0,Q.jsx)(Ob,{allowClear:!0,style:{width:140},placeholder:`素材类型`,value:l.mediaType,onChange:e=>u(t=>({...t,mediaType:e,page:1})),options:[{label:`图片`,value:`image`},{label:`视频`,value:`video`}]}),(0,Q.jsx)(Ob,{allowClear:!0,style:{width:140},placeholder:`处理状态`,value:l.status,onChange:e=>u(t=>({...t,status:e,page:1})),options:Object.entries(H9).map(([e,t])=>({value:e,label:t.text}))}),(0,Q.jsx)(cC,{onClick:y,children:`刷新`})]}),(0,Q.jsx)(gR,{rowKey:`id`,loading:s,dataSource:r,pagination:{current:l.page,pageSize:l.pageSize,total:a,onChange:(e,t)=>u(n=>({...n,page:e,pageSize:t}))},scroll:{x:1180},columns:[{title:`预览`,width:110,render:(e,t)=>{let n=x(t);if(t.mediaType===`image`)return n?(0,Q.jsx)(ON,{width:86,height:64,style:{objectFit:`cover`,borderRadius:6},src:n}):`-`;let r=S(t),i=L9(t.coverUrl||``);return r?(0,Q.jsx)(`video`,{src:r,poster:i||void 0,muted:!0,preload:`metadata`,style:{width:100,height:64,objectFit:`cover`,borderRadius:6,background:`#000`}}):`-`}},{title:`标题`,dataIndex:`title`,render:e=>e||(0,Q.jsx)(`span`,{style:{color:`#999`},children:`未命名素材`})},{title:`行业`,dataIndex:`categoryName`},{title:`类型`,dataIndex:`mediaType`,render:e=>e===`image`?`图片`:`视频`},{title:`状态`,dataIndex:`status`,render:e=>(0,Q.jsx)(kR,{color:H9[e]?.color,children:H9[e]?.text||e})},{title:`水印`,render:(e,t)=>W9(t.watermarkConfig,t.watermarkId).watermarkType===`repeated_text`?`重复文字水印`:t.watermarkName||`图片水印`},{title:`排序`,dataIndex:`sortOrder`},{title:`错误`,dataIndex:`errorMessage`,ellipsis:!0},{title:`操作`,width:150,align:`center`,render:(e,t)=>(0,Q.jsxs)(NM,{size:8,children:[(0,Q.jsx)(cC,{size:`small`,onClick:()=>f(t),children:`查看`}),(0,Q.jsx)(FM,{trigger:[`click`],menu:{items:[{key:`regenerate`,icon:(0,Q.jsx)(HP,{}),label:`重新生成水印`},{key:`delete`,icon:(0,Q.jsx)(MR,{}),label:`删除素材`,danger:!0}],onClick:({key:e})=>{e===`regenerate`&&b(t),e===`delete`&&w(t)}},children:(0,Q.jsx)(cC,{size:`small`,icon:(0,Q.jsx)(A1,{}),children:`更多`})})]})}]}),(0,Q.jsx)(EP,{title:`素材详情`,open:!!d,onCancel:()=>f(null),footer:null,width:900,destroyOnHidden:!0,children:d&&(0,Q.jsxs)(NM,{direction:`vertical`,style:{width:`100%`},size:`large`,children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`b`,{children:`原素材:`}),d.originalUrl?L9(d.originalUrl):`-`]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`b`,{children:`水印素材:`}),d.watermarkedUrl?L9(d.watermarkedUrl):`-`]}),d.mediaType===`image`?(0,Q.jsx)(ON,{src:L9(d.watermarkedUrl||d.originalUrl)}):(0,Q.jsx)(`video`,{src:S(d),poster:L9(d.coverUrl||``)||void 0,controls:!0,style:{width:`100%`,background:`#000`}})]})}),(0,Q.jsx)(EP,{title:`重新生成水印`,open:!!p,onCancel:()=>!_&&m(null),onOk:async()=>{if(!(!p||_)){if(!G9(h)){wP.warning(h.watermarkType===`repeated_text`?`请输入重复文字水印内容`:`请选择水印图片`);return}v(!0);try{await ZVe(p.id,{watermark_type:h.watermarkType,watermark_id:h.watermarkType===`image`?h.watermarkId:null,opacity_level:h.opacityLevel,position:h.position,custom_x_ratio:h.customXRatio,custom_y_ratio:h.customYRatio,size_mode:h.sizeMode,width_ratio:h.widthRatio,width_px:h.widthPx,margin_x:h.marginX,margin_y:h.marginY,text_watermark:h.watermarkType===`repeated_text`&&h.textWatermark?{text:h.textWatermark.text,opacity_level:h.textWatermark.opacityLevel,font_size_px:h.textWatermark.fontSizePx,color:h.textWatermark.color,rotate_deg:h.textWatermark.rotateDeg,gap_x:h.textWatermark.gapX,gap_y:h.textWatermark.gapY,staggered:h.textWatermark.staggered}:null,wait:!1}),wP.success(`已提交重新生成`),m(null),await y()}finally{v(!1)}}},confirmLoading:_,okButtonProps:{disabled:_||!G9(h)},cancelButtonProps:{disabled:_},width:980,destroyOnHidden:!0,children:p&&(0,Q.jsx)(V9,{value:h,onChange:g,watermarks:t,mediaUrl:L9(p.originalUrl||p.watermarkedUrl),mediaType:p.mediaType})})]})},IWe=aBe,LWe=[{label:`通用应用`,value:`AppstoreOutlined`},{label:`图片素材`,value:`PictureOutlined`},{label:`视频素材`,value:`VideoCameraOutlined`},{label:`电商购物`,value:`ShoppingOutlined`},{label:`门店商铺`,value:`ShopOutlined`},{label:`美妆护肤`,value:`SkinOutlined`},{label:`餐饮食品`,value:`CoffeeOutlined`},{label:`家居生活`,value:`HomeOutlined`},{label:`汽车出行`,value:`CarOutlined`},{label:`医疗健康`,value:`MedicineBoxOutlined`},{label:`教育培训`,value:`BookOutlined`},{label:`数码科技`,value:`LaptopOutlined`},{label:`旅游定位`,value:`EnvironmentOutlined`},{label:`摄影影像`,value:`CameraOutlined`},{label:`礼品活动`,value:`GiftOutlined`},{label:`热门爆款`,value:`FireOutlined`},{label:`品牌服务`,value:`CustomerServiceOutlined`},{label:`营销增长`,value:`RocketOutlined`},{label:`机构企业`,value:`BankOutlined`},{label:`娱乐休闲`,value:`SmileOutlined`}];function K9(e,t){if(!e)return(0,Q.jsx)(`span`,{style:{color:`#999`},children:`未设置`});let n=IWe[e];return(0,Q.jsxs)(NM,{size:6,children:[n?(0,Q.jsx)(n,{}):null,(0,Q.jsx)(`span`,{children:t||e}),(0,Q.jsx)(`span`,{style:{color:`#999`},children:e})]})}var RWe=({onChanged:e})=>{let[t,n]=(0,C.useState)([]),[r,i]=(0,C.useState)(0),[a,o]=(0,C.useState)(!1),[s,c]=(0,C.useState)(1),[l,u]=(0,C.useState)(!1),[d,f]=(0,C.useState)(null),[p]=X.useForm(),m=async()=>{o(!0);try{let e=await O5({page:s,pageSize:20});n(e.items),i(e.total)}finally{o(!1)}};(0,C.useEffect)(()=>{m()},[s]);let h=e=>{f(e||null),p.setFieldsValue(e?{name:e.name,key:e.key,description:e.description,icon:e.icon,is_active:e.isActive,sort_order:e.sortOrder}:{is_active:!0,sort_order:0}),u(!0)};return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(`div`,{style:{marginBottom:16,display:`flex`,justifyContent:`space-between`},children:[(0,Q.jsx)(`div`,{}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(pA,{}),onClick:()=>h(),children:`新增行业`})]}),(0,Q.jsx)(gR,{rowKey:`id`,loading:a,dataSource:t,pagination:{current:s,total:r,pageSize:20,onChange:c},columns:[{title:`行业名称`,dataIndex:`name`},{title:`Key`,dataIndex:`key`},{title:`图标`,dataIndex:`icon`,render:e=>K9(e)},{title:`启用`,dataIndex:`isActive`,render:e=>e?`启用`:`禁用`},{title:`素材数`,dataIndex:`assetCount`},{title:`图片/视频`,render:(e,t)=>`${t.imageCount}/${t.videoCount}`},{title:`排序`,dataIndex:`sortOrder`},{title:`操作`,render:(t,n)=>(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(cC,{size:`small`,icon:(0,Q.jsx)(FR,{}),onClick:()=>h(n),children:`编辑`}),(0,Q.jsx)(kP,{title:`确认删除该行业?`,onConfirm:async()=>{await HVe(n.id),wP.success(`删除成功`),await m(),e?.()},children:(0,Q.jsx)(cC,{size:`small`,danger:!0,icon:(0,Q.jsx)(MR,{}),children:`删除`})})]})}]}),(0,Q.jsx)(EP,{title:d?`编辑行业`:`新增行业`,open:l,onOk:async()=>{await VVe({...await p.validateFields(),id:d?.id}),wP.success(`保存成功`),u(!1),await m(),e?.()},onCancel:()=>u(!1),destroyOnHidden:!0,children:(0,Q.jsxs)(X,{form:p,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`name`,label:`行业名称`,rules:[{required:!0,message:`请输入行业名称`}],children:(0,Q.jsx)(HN,{})}),(0,Q.jsx)(X.Item,{name:`key`,label:`行业Key`,rules:[{required:!0,message:`请输入行业Key`},{pattern:/^[A-Za-z0-9_-]+$/,message:`只允许字母、数字、下划线、中划线`}],children:(0,Q.jsx)(HN,{})}),(0,Q.jsx)(X.Item,{name:`description`,label:`描述`,children:(0,Q.jsx)(HN.TextArea,{rows:3})}),(0,Q.jsx)(X.Item,{name:`icon`,label:`图标`,children:(0,Q.jsx)(Ob,{allowClear:!0,showSearch:!0,placeholder:`请选择行业图标`,optionFilterProp:`searchText`,filterOption:(e,t)=>{let n=String(t?.searchText||``).toLowerCase(),r=String(t?.value||``).toLowerCase(),i=e.toLowerCase();return n.includes(i)||r.includes(i)},options:LWe.map(e=>({value:e.value,searchText:`${e.label} ${e.value}`,label:K9(e.value,e.label)}))})}),(0,Q.jsx)(X.Item,{name:`sort_order`,label:`排序`,children:(0,Q.jsx)(jj,{min:0,style:{width:`100%`}})}),(0,Q.jsx)(X.Item,{name:`is_active`,label:`启用`,valuePropName:`checked`,children:(0,Q.jsx)(uF,{})})]})})]})},q9={watermarkType:`image`,watermarkId:null,opacityLevel:6,position:`bottom_right`,customXRatio:null,customYRatio:null,sizeMode:`ratio`,widthRatio:.18,widthPx:null,marginX:24,marginY:24,textWatermark:{text:`民众普康 AI`,opacityLevel:2,fontSizePx:28,color:`#ffffff`,rotateDeg:-30,gapX:220,gapY:140,staggered:!0}};function zWe(e){return e.watermarkType===`repeated_text`?!!e.textWatermark?.text?.trim():!!e.watermarkId}var BWe=({open:e,onClose:t,categories:n,watermarks:r,onSuccess:i})=>{let[a]=X.useForm(),[o,s]=(0,C.useState)(null),[c,l]=(0,C.useState)([]),[u,d]=(0,C.useState)(`image`),[f,p]=(0,C.useState)(q9),[m,h]=(0,C.useState)(!1),[g,_]=(0,C.useState)(``),v=()=>{s(null),l([]),d(`image`),_(``),h(!1)};(0,C.useEffect)(()=>{if(e){v();let e=r.find(e=>e.isDefault)||r[0];p({...q9,watermarkId:e?.id||null}),a.setFieldsValue({media_type:`image`,is_active:!0,sort_order:0,title:void 0})}},[e,r,a]),(0,C.useEffect)(()=>()=>{g.startsWith(`blob:`)&&URL.revokeObjectURL(g)},[g]);let y=(0,C.useMemo)(()=>g||void 0,[g]),b=e=>{let t=e.type.startsWith(`image/`),n=e.type.startsWith(`video/`);if(u===`image`&&!t)return wP.warning(`当前素材类型为图片,请选择图片文件`),CB.LIST_IGNORE;if(u===`video`&&!n)return wP.warning(`当前素材类型为视频,请选择视频文件`),CB.LIST_IGNORE;g.startsWith(`blob:`)&&URL.revokeObjectURL(g);let r=URL.createObjectURL(e);return s(e),_(r),l([{uid:e.name,name:e.name,status:`done`,originFileObj:e}]),!1},x=()=>{s(null),l([]),g.startsWith(`blob:`)&&URL.revokeObjectURL(g),_(``)};return(0,Q.jsxs)(EP,{title:`上传首页素材`,open:e,onCancel:()=>{m||t()},onOk:async()=>{if(m)return;let e=await a.validateFields();if(!o){wP.warning(`请选择素材文件`);return}if(f.watermarkType===`image`&&!f.watermarkId){wP.warning(`请选择水印图片`);return}if(f.watermarkType===`repeated_text`&&!f.textWatermark?.text?.trim()){wP.warning(`请输入重复文字水印内容`);return}h(!0);try{let n=await YVe({categoryId:e.category_id,file:o,mediaType:u,title:e.title?.trim()||null,watermarkType:f.watermarkType,watermarkId:f.watermarkType===`image`?f.watermarkId:null,opacityLevel:f.opacityLevel,position:f.position,customXRatio:f.customXRatio,customYRatio:f.customYRatio,sizeMode:f.sizeMode,widthRatio:f.widthRatio,widthPx:f.widthPx,marginX:f.marginX,marginY:f.marginY,textWatermark:f.watermarkType===`repeated_text`?f.textWatermark:null,isActive:e.is_active,sortOrder:e.sort_order,wait:!1});wP.success(n.message||`已提交水印处理`),i(),t()}finally{h(!1)}},confirmLoading:m,okButtonProps:{disabled:m||!o||!zWe(f)},cancelButtonProps:{disabled:m},width:980,destroyOnHidden:!0,children:[(0,Q.jsxs)(X,{form:a,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`category_id`,label:`行业`,rules:[{required:!0,message:`请选择行业`}],children:(0,Q.jsx)(Ob,{options:n.map(e=>({label:e.name,value:e.id})),disabled:m})}),(0,Q.jsx)(X.Item,{name:`media_type`,label:`素材类型`,rules:[{required:!0}],children:(0,Q.jsx)(Ob,{value:u,onChange:e=>{d(e),x()},disabled:m,options:[{label:`图片`,value:`image`},{label:`视频`,value:`video`}]})}),(0,Q.jsx)(X.Item,{label:`素材文件`,required:!0,children:(0,Q.jsx)(CB,{beforeUpload:e=>b(e),onRemove:x,fileList:c,maxCount:1,accept:u===`image`?`image/*`:`video/*`,disabled:m,children:(0,Q.jsxs)(cC,{icon:(0,Q.jsx)(U6,{}),loading:m,disabled:m,children:[`选择`,u===`image`?`图片`:`视频`]})})}),(0,Q.jsx)(X.Item,{name:`title`,label:`素材标题`,extra:`选填;不填时后台显示“未命名素材”,不会再自动使用文件名作为标题。`,children:(0,Q.jsx)(HN,{disabled:m})}),(0,Q.jsx)(X.Item,{name:`sort_order`,label:`排序`,children:(0,Q.jsx)(jj,{min:0,style:{width:`100%`},disabled:m})}),(0,Q.jsx)(X.Item,{name:`is_active`,label:`前台展示`,valuePropName:`checked`,children:(0,Q.jsx)(uF,{disabled:m})})]}),(0,Q.jsx)(V9,{value:f,onChange:p,watermarks:r,mediaUrl:y,mediaType:u})]})},VWe=({open:e=!0,onClose:t,embedded:n=!1,onChanged:r})=>{let[i,a]=(0,C.useState)([]),[o,s]=(0,C.useState)(!1),[c,l]=(0,C.useState)(!1),[u,d]=(0,C.useState)(null),[f,p]=(0,C.useState)(null),[m,h]=(0,C.useState)([]),[g,_]=(0,C.useState)(``),[v,y]=(0,C.useState)(!1),[b]=X.useForm(),x=async()=>{s(!0);try{a((await k5({page:1,pageSize:200})).items)}finally{s(!1)}};(0,C.useEffect)(()=>{e&&x()},[e]),(0,C.useEffect)(()=>()=>{g.startsWith(`blob:`)&&URL.revokeObjectURL(g)},[g]);let S=()=>{p(null),h([]),_(``),y(!1)},w=()=>{d(null),S(),b.setFieldsValue({name:``,is_default:!1,is_active:!0}),l(!0)},T=e=>{d(e),S(),_(L9(e.fileUrl)),b.setFieldsValue({name:e.name,is_default:e.isDefault,is_active:e.isActive}),l(!0)},E=()=>{v||(l(!1),S())},D=e=>{if(!e.type.startsWith(`image/`))return wP.warning(`请选择图片文件`),CB.LIST_IGNORE;g.startsWith(`blob:`)&&URL.revokeObjectURL(g);let t=URL.createObjectURL(e);return p(e),_(t),h([{uid:e.name,name:e.name,status:`done`,originFileObj:e}]),!1},O=(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(`div`,{style:{marginBottom:16,display:`flex`,justifyContent:`space-between`},children:[(0,Q.jsx)(`div`,{}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(pA,{}),onClick:w,children:`上传水印`})]}),(0,Q.jsx)(gR,{rowKey:`id`,loading:o,dataSource:i,pagination:{pageSize:20},columns:[{title:`预览`,dataIndex:`fileUrl`,render:e=>(0,Q.jsx)(ON,{width:80,src:L9(e)})},{title:`名称`,dataIndex:`name`},{title:`尺寸`,render:(e,t)=>t.width&&t.height?`${t.width}×${t.height}`:`-`},{title:`默认`,dataIndex:`isDefault`,render:e=>e?`是`:`否`},{title:`启用`,dataIndex:`isActive`,render:e=>e?`启用`:`禁用`},{title:`操作`,render:(e,t)=>(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(cC,{size:`small`,icon:(0,Q.jsx)(FR,{}),onClick:()=>T(t),children:`编辑`}),(0,Q.jsx)(kP,{title:`确认删除该水印?`,onConfirm:async()=>{await GVe(t.id),wP.success(`删除成功`),await x(),r?.()},children:(0,Q.jsx)(cC,{size:`small`,danger:!0,icon:(0,Q.jsx)(MR,{}),children:`删除`})})]})}]}),(0,Q.jsx)(EP,{title:u?`编辑水印`:`上传水印`,open:c,onOk:async()=>{if(v)return;let e=await b.validateFields();if(!u&&!f){wP.warning(`请选择水印图片`);return}y(!0);try{u?await WVe(u.id,{name:e.name,is_default:e.is_default,is_active:e.is_active}):f&&await UVe(f,e.name,e.is_default),wP.success(`保存成功`),l(!1),S(),await x(),r?.()}finally{y(!1)}},onCancel:E,confirmLoading:v,okButtonProps:{disabled:v||!u&&!f},cancelButtonProps:{disabled:v},destroyOnHidden:!0,children:(0,Q.jsxs)(X,{form:b,layout:`vertical`,children:[!u&&(0,Q.jsxs)(X.Item,{label:`水印图片`,required:!0,children:[(0,Q.jsx)(CB,{beforeUpload:e=>D(e),onRemove:()=>{p(null),h([]),g.startsWith(`blob:`)&&URL.revokeObjectURL(g),_(``)},fileList:m,maxCount:1,accept:`image/png,image/jpeg,image/webp`,disabled:v,children:(0,Q.jsx)(cC,{icon:(0,Q.jsx)(U6,{}),loading:v,disabled:v,children:`选择图片`})}),g&&(0,Q.jsx)(`div`,{style:{marginTop:12},children:(0,Q.jsx)(ON,{src:g,alt:`水印预览`,width:180,style:{maxHeight:120,objectFit:`contain`,background:`#0f172a`,borderRadius:8,padding:8}})})]}),u&&g&&(0,Q.jsx)(X.Item,{label:`当前水印`,children:(0,Q.jsx)(ON,{src:g,alt:`当前水印`,width:180,style:{maxHeight:120,objectFit:`contain`,background:`#0f172a`,borderRadius:8,padding:8}})}),(0,Q.jsx)(X.Item,{name:`name`,label:`水印名称`,rules:[{required:!0,message:`请输入水印名称`}],children:(0,Q.jsx)(HN,{disabled:v})}),(0,Q.jsx)(X.Item,{name:`is_default`,label:`默认水印`,valuePropName:`checked`,children:(0,Q.jsx)(uF,{disabled:v})}),(0,Q.jsx)(X.Item,{name:`is_active`,label:`启用`,valuePropName:`checked`,children:(0,Q.jsx)(uF,{disabled:v})})]})})]});return n?O:(0,Q.jsx)(EP,{title:`水印库`,open:e,onCancel:t,footer:null,width:900,destroyOnHidden:!0,children:O})},HWe=()=>{let[e]=X.useForm(),[t,n]=(0,C.useState)(!1),[r,i]=(0,C.useState)([]),[a,o]=(0,C.useState)([]),[s,c]=(0,C.useState)(!1),[l,u]=(0,C.useState)(0),d=async()=>{let[e,t]=await Promise.all([O5({page:1,pageSize:200}),k5({page:1,pageSize:200,isActive:!0})]);i(e.items),o(t.items)},f=async()=>{n(!0);try{let t=await zVe();e.setFieldsValue(t)}finally{n(!1)}};(0,C.useEffect)(()=>{f(),d()},[]);let p=async()=>{await BVe(await e.validateFields()),wP.success(`配置已保存`)},m=async()=>{await d(),u(e=>e+1)};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(RA,{style:{marginBottom:16},loading:t,children:(0,Q.jsxs)(X,{form:e,layout:`inline`,initialValues:{enabled:!1,title:`行业素材案例`,subtitle:`精选图片与视频素材展示`,showOriginalInAdmin:!0},children:[(0,Q.jsx)(X.Item,{name:`enabled`,label:`首页展示`,valuePropName:`checked`,children:(0,Q.jsx)(uF,{})}),(0,Q.jsx)(X.Item,{name:`title`,label:`标题`,rules:[{required:!0,message:`请输入标题`}],children:(0,Q.jsx)(HN,{style:{width:220}})}),(0,Q.jsx)(X.Item,{name:`subtitle`,label:`副标题`,children:(0,Q.jsx)(HN,{style:{width:320}})}),(0,Q.jsx)(X.Item,{name:`showOriginalInAdmin`,label:`后台展示原素材`,valuePropName:`checked`,children:(0,Q.jsx)(uF,{})}),(0,Q.jsx)(X.Item,{children:(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)($2,{}),onClick:p,children:`保存配置`})})]})}),(0,Q.jsx)(RA,{title:`首页素材行业装修`,extra:(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(cC,{onClick:m,children:`刷新`}),(0,Q.jsx)(cC,{type:`primary`,icon:(0,Q.jsx)(pA,{}),onClick:()=>c(!0),children:`上传素材`})]}),children:(0,Q.jsx)(IA,{items:[{key:`assets`,label:`素材管理`,children:(0,Q.jsx)(FWe,{categories:r,watermarks:a,reloadKey:l})},{key:`categories`,label:`行业类别`,children:(0,Q.jsx)(RWe,{onChanged:m})},{key:`watermarks`,label:`水印库`,children:(0,Q.jsx)(VWe,{embedded:!0,onChanged:m})}]})}),(0,Q.jsx)(BWe,{open:s,onClose:()=>c(!1),categories:r,watermarks:a,onSuccess:m})]})},J9=e=>{if(!e)return``;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},{Text:UWe}=Z,WWe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)(1),[o,s]=(0,C.useState)(10),[c,l]=(0,C.useState)(0),[u,d]=(0,C.useState)(``),[f,p]=(0,C.useState)(``),[m,h]=(0,C.useState)(),g=[{title:`序号`,dataIndex:`index`,key:`index`,width:60,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:e})},{title:`ID`,dataIndex:`id`,key:`id`},{title:`手机号`,dataIndex:`phone`,key:`phone`,width:150},{title:`受众年龄`,dataIndex:`audienceAge`,key:`audienceAge`,width:100},{title:`受众性别`,dataIndex:`audienceGender`,key:`audienceGender`,width:100},{title:`受众网络`,dataIndex:`audienceNetwork`,key:`audienceNetwork`,width:100},{title:`受众区域`,dataIndex:`audienceRegion`,key:`audienceRegion`,width:100},{title:`预算`,dataIndex:`budget`,key:`budget`,width:100},{title:`成本上限`,dataIndex:`costCap`,key:`costCap`,width:100},{title:`CPA预算`,dataIndex:`cpaBid`,key:`cpaBid`,width:100},{title:`CPC预算`,dataIndex:`cpcBid`,key:`cpcBid`,width:100},{title:`客户名称`,dataIndex:`cusName`,key:`cusName`,width:150},{title:`外部操作`,dataIndex:`externalAction`,key:`externalAction`,width:100},{title:`名称`,dataIndex:`name`,key:`name`,width:150},{title:`名称`,dataIndex:`nobid`,key:`nobid`,width:150},{title:`备注`,dataIndex:`note`,key:`note`,width:150},{title:`平台`,dataIndex:`platform`,key:`platform`,width:100},{title:`定价类型`,dataIndex:`pricingType`,key:`pricingType`,width:100},{title:`目标成本`,dataIndex:`targetCost`,key:`targetCost`,width:100},{title:`用户ID`,dataIndex:`userId`,key:`userId`,width:100},{title:`用户手机号`,dataIndex:`userPhone`,key:`userPhone`,width:150},{title:`是否默认`,dataIndex:`isDefault`,key:`isDefault`,width:100,render:e=>(0,Q.jsx)(kR,{color:e?`green`:`red`,children:e?`是`:`否`})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:180,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:J9(e)})},{title:`更新时间`,dataIndex:`updatedAt`,key:`updatedAt`,width:180,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:J9(e)})}],_=async()=>{r(!0);try{let e=await tHe({id:u||void 0,phone:f||void 0,created_at:m?[m[0].format(`YYYY-MM-DD`),m[1].format(`YYYY-MM-DD`)]:void 0,page:i,page_size:o});t((e.data||[]).map((e,t)=>({...e,index:(i-1)*o+t+1}))),l(e.pagination.total||0)}catch(e){console.error(`加载数据失败:`,e)}finally{r(!1)}};(0,C.useEffect)(()=>{_()},[i,o]);let v=(e,t)=>{a(e),s(t)},y=()=>{a(1),_()};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,Q.jsx)(LM,{style:{color:`#6366f1`,fontSize:16}}),(0,Q.jsx)(UWe,{strong:!0,style:{fontSize:16},children:`素材前测模板`})]}),(0,Q.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:16},children:(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12,alignItems:`center`},children:[(0,Q.jsx)(HN,{placeholder:`ID`,value:u,onChange:e=>d(e.target.value),style:{width:160},allowClear:!0,onPressEnter:y}),(0,Q.jsx)(HN,{placeholder:`手机号`,value:f,onChange:e=>p(e.target.value),style:{width:160},allowClear:!0,onPressEnter:y}),(0,Q.jsx)(pM.RangePicker,{placeholder:[`开始日期`,`结束日期`],value:m,onChange:e=>{e&&e[0]&&e[1]?h([e[0],e[1]]):h(void 0)},style:{width:260}}),(0,Q.jsx)(cC,{type:`primary`,onClick:y,children:`搜索`})]})}),(0,Q.jsxs)(`div`,{style:{background:`#fff`,borderRadius:16,boxShadow:`0 4px 20px rgba(0,0,0,0.04)`,overflow:`hidden`},children:[(0,Q.jsx)(gR,{dataSource:e,columns:g,loading:n,pagination:!1,rowKey:`id`,bordered:!1,scroll:{x:`max-content`},onRow:()=>({style:{cursor:`pointer`,transition:`background-color 0.15s`},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=`#f8fafc`},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=`transparent`}})}),(0,Q.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,Q.jsx)(iP,{current:i,pageSize:o,total:c,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,pageSizeOptions:[`10`,`20`,`50`,`100`],onChange:v,size:`small`})})]})]})},Y9=e=>{if(!e)return``;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},{Text:GWe}=Z,KWe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)(1),[o,s]=(0,C.useState)(10),[c,l]=(0,C.useState)(0),[u,d]=(0,C.useState)(``),[f,p]=(0,C.useState)(``),[m,h]=(0,C.useState)({}),[g,_]=(0,C.useState)([]),[v,y]=(0,C.useState)(void 0),b=[{title:`序号`,dataIndex:`index`,key:`index`,width:60,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:e})},{title:`ID`,dataIndex:`id`,key:`id`},{title:`前台用户ID`,dataIndex:`userId`,key:`userId`},{title:`前台用户手机号`,dataIndex:`userPhone`,key:`userPhone`},{title:`授权应用ID`,dataIndex:`appid`,key:`appid`},{title:`授权绑定账户ID`,dataIndex:`accountId`,key:`accountId`},{title:`授权绑定账户名称`,dataIndex:`accountName`,key:`accountName`},{title:`授权绑定账户角色`,dataIndex:`accountRole`,key:`accountRole`,render:e=>({ADVERTISER:`客户`,CUSTOMER_ADMIN:`普通版工作台-管理员`,CUSTOMER_OPERATOR:`普通版工作台-协作者`,AGENT:`代理商`,CHILD_AGENT:`二级代理商`,PLATFORM_ROLE_STAR:`星图账户`,PLATFORM_ROLE_SHOP_ACCOUNT:`抖音店铺账户`,PLATFORM_ROLE_QIANCHUAN_AGENT:`千川代理商`,PLATFORM_ROLE_STAR_AGENT:`星图代理商`,PLATFORM_ROLE_AWEME:`抖音号`,PLATFORM_ROLE_STAR_MCN:`星图MCN机构`,PLATFORM_ROLE_STAR_ISV:`星图服务商`,AGENT_SYSTEM_ACCOUNT:`代理商系统账户`,PLATFORM_ROLE_LOCAL_AGENT:`本地推代理商`,PLATFORM_ROLE_YUNTU_BRAND_ISV_ADMIN:`云图品牌服务商管理员`,PLATFORM_ROLE_LIFE:`抖音来客账户`,PLATFORM_ROLE_ENTERPRISE_BP_ADMIN:`升级版工作台管理员`,PLATFORM_ROLE_ENTERPRISE_BP_OPERATOR:`升级版工作台协作者`})[e]||e},{title:`授权登录账户用户ID`,dataIndex:`accountUserid`,key:`accountUserid`},{title:`授权登录账户用户名`,dataIndex:`accountUsername`,key:`accountUsername`},{title:`开户方式`,dataIndex:`openType`,key:`openType`,width:120,render:e=>(0,Q.jsx)(`span`,{style:{color:`#1e293b`},children:m[e]||e})},{title:`平台端口`,dataIndex:`portType`,key:`portType`,render:e=>({1:`巨量`,2:`磁力`,3:`巨量星图`,4:`服务单`,5:`腾讯`})[e]||e},{title:`授权刷新Token`,dataIndex:`refreshToken`,key:`refreshToken`},{title:`刷新Token过期时间`,dataIndex:`refreshTokenExpired`,key:`refreshTokenExpired`,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:Y9(e)})},{title:`授权Token`,dataIndex:`accessToken`,key:`accessToken`},{title:`Token过期时间`,dataIndex:`accessTokenExpired`,key:`accessTokenExpired`,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:Y9(e)})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:180,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:Y9(e)})},{title:`更新时间`,dataIndex:`updatedAt`,key:`updatedAt`,width:180,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:Y9(e)})}],x=async()=>{try{let e=(await w5()).data||[],t={},n=[];e.forEach(e=>{t[e.openType]=e.typeName,n.push({value:e.openType,label:e.typeName})}),h(t),_(n)}catch(e){console.error(`加载开户方式列表失败:`,e)}},S=async()=>{r(!0);try{let e=await $Ve({account_id:u||void 0,account_userid:f||void 0,open_type:v,page:i,page_size:o});t((e.data||[]).map((e,t)=>({...e,index:(i-1)*o+t+1}))),l(e.pagination?.total||0)}catch(e){console.error(`加载数据失败:`,e)}finally{r(!1)}};(0,C.useEffect)(()=>{x(),S()},[i,o]);let w=()=>{a(1),S()};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,Q.jsx)(M$,{style:{color:`#6366f1`,fontSize:16}}),(0,Q.jsx)(GWe,{strong:!0,style:{fontSize:16},children:`投放平台授权列表`})]}),(0,Q.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:16},children:(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12,alignItems:`center`},children:[(0,Q.jsx)(HN,{placeholder:`授权绑定账户ID`,value:u,onChange:e=>d(e.target.value),style:{width:180},allowClear:!0,prefix:(0,Q.jsx)(Cb,{}),onPressEnter:w}),(0,Q.jsx)(HN,{placeholder:`授权登录账户用户ID`,value:f,onChange:e=>p(e.target.value),style:{width:180},allowClear:!0,prefix:(0,Q.jsx)(Cb,{}),onPressEnter:w}),(0,Q.jsx)(Ob,{placeholder:`开户方式`,value:v,onChange:e=>y(e),style:{width:140},allowClear:!0,options:g}),(0,Q.jsx)(cC,{type:`primary`,onClick:w,children:`搜索`})]})}),(0,Q.jsx)(`div`,{style:{background:`#fff`,borderRadius:12,boxShadow:`0 1px 3px rgba(0,0,0,0.05)`},children:(0,Q.jsx)(gR,{dataSource:e,columns:b,loading:n,rowKey:`id`,bordered:!1,scroll:{x:`max-content`},pagination:{current:i,pageSize:o,total:c,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{a(e),s(t)}}})})]})},X9=[{key:`is_ad_high_quality_material`,label:`AD优质`,noLabel:`AD非优质素材`,unknownLabel:`AD未知`,yesColor:`green`,noColor:`red`,unknownColor:`default`},{key:`is_ecp_high_quality_material`,label:`千川优质`,noLabel:`千川非优质素材`,unknownLabel:`千川未知`,yesColor:`green`,noColor:`red`,unknownColor:`default`},{key:`is_local_high_quality_material`,label:`本地推优质`,noLabel:`本地推非优质`,unknownLabel:`本地推未知`,yesColor:`green`,noColor:`red`,unknownColor:`default`},{key:`is_inefficient_material`,label:`低效`,noLabel:`非低效`,unknownLabel:`是否低效未知`,yesColor:`red`,noColor:`green`,unknownColor:`default`},{key:`is_first_publish_material`,label:`首发`,noLabel:`非首发`,unknownLabel:`是否首发未知`,yesColor:`blue`,noColor:`default`,unknownColor:`default`}],qWe=({preResult:e})=>{let[t,n]=(0,C.useState)(null),[r,i]=(0,C.useState)(!1);if(C.useEffect(()=>{if(!e){n(null),i(!1);return}try{n(JSON.parse(e)),i(!1)}catch{n(null),i(!0)}},[e]),!e||r||!t)return(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:`-`});let a=e=>{let n=X9.find(t=>t.key===e);if(!n)return null;let r=t[e],i=r===`YES`,a=r===`NO`;if(r===`UNKNOWN`)return null;let o,s;return i?(o=n.label,s=n.yesColor):a&&(o=n.noLabel,s=n.noColor),{tag:(0,Q.jsx)(kR,{color:s,style:{marginRight:6,fontSize:12,borderRadius:4},children:o},e),detail:{label:n.label.replace(`优质`,`优质素材`),value:o,color:s}}};return(0,Q.jsx)(sx,{content:(0,Q.jsxs)(`div`,{style:{maxWidth:500,padding:`8px 0`},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14,display:`block`,marginBottom:12,color:`#1e293b`},children:`前测结果详情`}),(0,Q.jsxs)(_M,{column:1,size:`small`,style:{marginBottom:12},children:[(0,Q.jsx)(_M.Item,{label:`视频ID`,labelStyle:{fontWeight:500,color:`#64748b`},contentStyle:{color:`#1e293b`},children:t.video_id}),(0,Q.jsx)(_M.Item,{label:`广告主ID`,labelStyle:{fontWeight:500,color:`#64748b`},contentStyle:{color:`#1e293b`},children:t.advertiser_id}),(0,Q.jsx)(_M.Item,{label:`素材ID`,labelStyle:{fontWeight:500,color:`#64748b`},contentStyle:{color:`#1e293b`},children:t.material_id})]}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:12,color:`#64748b`,display:`block`,marginBottom:8},children:`质量评估`}),(0,Q.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:8,marginBottom:12},children:X9.map(e=>{let n=t[e.key],r=n===`YES`,i=n===`NO`;if(n===`UNKNOWN`)return null;let a,o;return r?(a=e.label,o=e.yesColor):i&&(a=e.noLabel,o=e.noColor),(0,Q.jsx)(kR,{color:o,style:{fontSize:12,borderRadius:4},children:a},e.key)})}),t.not_ad_high_quality_reason&&t.not_ad_high_quality_reason.length>0&&(0,Q.jsxs)(`div`,{style:{marginBottom:12},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:12,color:`#ef4444`,display:`block`,marginBottom:8},children:`AD非优质原因`}),(0,Q.jsx)(gP,{dataSource:t.not_ad_high_quality_reason,renderItem:(e,t)=>(0,Q.jsxs)(gP.Item,{style:{padding:`4px 0`,fontSize:12,color:`#64748b`},children:[t+1,`. `,e]},t),size:`small`})]}),t.not_ecp_high_quality_reason&&t.not_ecp_high_quality_reason.length>0&&(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:12,color:`#ef4444`,display:`block`,marginBottom:8},children:`千川非优质原因`}),(0,Q.jsx)(gP,{dataSource:t.not_ecp_high_quality_reason,renderItem:(e,t)=>(0,Q.jsxs)(gP.Item,{style:{padding:`4px 0`,fontSize:12,color:`#64748b`},children:[t+1,`. `,e]},t),size:`small`})]})]}),title:null,trigger:`hover`,placement:`topLeft`,overlayStyle:{borderRadius:12,boxShadow:`0 8px 24px rgba(0,0,0,0.12)`},children:(0,Q.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,alignItems:`center`,gap:4},children:X9.map(e=>a(e.key)?.tag)})})},Z9=e=>{if(!e)return``;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},{Text:JWe}=Z,YWe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)(1),[o,s]=(0,C.useState)(10),[c,l]=(0,C.useState)(0),[u,d]=(0,C.useState)(``),[f,p]=(0,C.useState)(``),[m,h]=(0,C.useState)(``),g=[{title:`序号`,dataIndex:`index`,key:`index`,width:60,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:e})},{title:`ID`,dataIndex:`id`,key:`id`},{title:`广告主账户ID`,dataIndex:`advertiserId`,key:`advertiserId`},{title:`备注`,dataIndex:`note`,key:`note`,width:200,render:e=>(0,Q.jsx)(HN.TextArea,{value:e||``,readOnly:!0,autoSize:{minRows:1,maxRows:4},style:{color:`#94a3b8`,resize:`none`,border:`none`,background:`transparent`,padding:0},placeholder:`-`})},{title:`授权ID`,dataIndex:`oauthId`,key:`oauthId`},{title:`预测试结果`,dataIndex:`preResult`,key:`preResult`,width:120,render:e=>(0,Q.jsx)(qWe,{preResult:e})},{title:`预测试模板ID`,dataIndex:`preTestTemplateId`,key:`preTestTemplateId`},{title:`目标标ID`,dataIndex:`targetId`,key:`targetId`},{title:`目标表`,dataIndex:`targetTable`,key:`targetTable`},{title:`任务ID`,dataIndex:`taskId`,key:`taskId`},{title:`用户ID`,dataIndex:`userId`,key:`userId`},{title:`素材ID`,dataIndex:`materialId`,key:`materialId`,width:180},{title:`上传ID`,dataIndex:`uploadId`,key:`uploadId`,render:e=>{if(!e)return`-`;let t=e.length>12?`${e.slice(0,6)}...${e.slice(-4)}`:e;return(0,Q.jsx)(nx,{title:e,placement:`topLeft`,children:(0,Q.jsx)(Z.Text,{style:{fontSize:12},children:t})})}},{title:`资源类型`,dataIndex:`resourceType`,key:`resourceType`,width:100,render:e=>(0,Q.jsx)(kR,{color:e===`video`?`blue`:`green`,children:e===`video`?`视频`:`图片`})},{title:`状态`,dataIndex:`status`,key:`status`,width:100,render:e=>(0,Q.jsx)(kR,{color:e===`SUCCESS`?`green`:e===`PENDING`?`orange`:`red`,children:e===`SUCCESS`?`成功`:e===`PENDING`?`处理中`:`失败`})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:180,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:Z9(e)})},{title:`更新时间`,dataIndex:`updatedAt`,key:`updatedAt`,width:180,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:Z9(e)})}],_=async()=>{r(!0);try{let e=await eHe({material_id:u||void 0,upload_id:f||void 0,resource_type:m||void 0,page:i,page_size:o});t((e.data||[]).map((e,t)=>({...e,index:(i-1)*o+t+1}))),l(e.pagination?.total||0)}catch(e){console.error(`加载数据失败:`,e)}finally{r(!1)}};(0,C.useEffect)(()=>{_()},[i,o]);let v=()=>{a(1),_()};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,Q.jsx)(LM,{style:{color:`#6366f1`,fontSize:16}}),(0,Q.jsx)(JWe,{strong:!0,style:{fontSize:16},children:`素材ID列表`})]}),(0,Q.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:16},children:(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12,alignItems:`center`},children:[(0,Q.jsx)(HN,{placeholder:`素材ID`,value:u,onChange:e=>d(e.target.value),style:{width:160},allowClear:!0,onPressEnter:v}),(0,Q.jsx)(HN,{placeholder:`上传ID`,value:f,onChange:e=>p(e.target.value),style:{width:160},allowClear:!0,onPressEnter:v}),(0,Q.jsx)(HN,{placeholder:`文件名`,value:m,onChange:e=>h(e.target.value),style:{width:140},allowClear:!0,onPressEnter:v}),(0,Q.jsx)(Ob,{placeholder:`资源类型`,value:m,onChange:e=>h(e),style:{width:120},allowClear:!0,options:[{value:`image`,label:`图片`},{value:`video`,label:`视频`}]}),(0,Q.jsx)(cC,{type:`primary`,onClick:v,children:`搜索`})]})}),(0,Q.jsxs)(`div`,{style:{background:`#fff`,borderRadius:12,boxShadow:`0 1px 3px rgba(0,0,0,0.05)`},children:[(0,Q.jsx)(gR,{dataSource:e,columns:g,loading:n,pagination:!1,rowKey:`id`,bordered:!1,scroll:{x:`max-content`}}),(0,Q.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,Q.jsx)(iP,{current:i,pageSize:o,total:c,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{a(e),s(t)},size:`small`})})]})]})},{Title:XWe,Text:Q9}=Z,$9=e=>e===`Active`||e===`active`?`green`:e===`Processing`?`blue`:e===`Failed`||e===`failed`||e===`delete_failed`?`red`:(e?.includes(`deleted`),`default`),ZWe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)([]),[i,a]=(0,C.useState)(0),[o,s]=(0,C.useState)(0),[c,l]=(0,C.useState)(!1),[u,d]=(0,C.useState)(!1),[f,p]=(0,C.useState)(``),[m,h]=(0,C.useState)(),[g,_]=(0,C.useState)(1),[v,y]=(0,C.useState)(1),b=async()=>{l(!0);try{let e=await nHe({keyword:f.trim()||void 0,page:g,pageSize:20});t(e.items||[]),a(e.total||0)}catch(e){wP.error(e?.message||`加载真人素材项目失败`)}finally{l(!1)}},x=async()=>{d(!0);try{let e=await rHe({projectId:m,keyword:f.trim()||void 0,page:v,pageSize:20});r(e.items||[]),s(e.total||0)}catch(e){wP.error(e?.message||`加载真人素材失败`)}finally{d(!1)}};return(0,C.useEffect)(()=>{b()},[g]),(0,C.useEffect)(()=>{x()},[m,v]),(0,Q.jsxs)(`div`,{style:{padding:24},children:[(0,Q.jsxs)(NM,{style:{width:`100%`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(XWe,{level:3,style:{margin:0},children:`真人素材库`}),(0,Q.jsx)(Q9,{type:`secondary`,children:`只读排查页:查看用户项目组、Asset Group 与 Asset 状态。`})]}),(0,Q.jsxs)(NM,{children:[(0,Q.jsx)(HN,{allowClear:!0,prefix:(0,Q.jsx)(Cb,{}),placeholder:`搜索项目/素材`,value:f,onChange:e=>p(e.target.value),onPressEnter:()=>{_(1),y(1),b(),x()},style:{width:260}}),(0,Q.jsx)(cC,{icon:(0,Q.jsx)(HP,{}),onClick:()=>{b(),x()},children:`刷新`})]})]}),(0,Q.jsx)(RA,{title:`真人素材项目组`,style:{marginBottom:16},children:(0,Q.jsx)(gR,{rowKey:`id`,columns:[{title:`项目名称`,dataIndex:`name`,width:180,render:(e,t)=>(0,Q.jsx)(cC,{type:`link`,onClick:()=>{h(t.id),y(1)},children:e})},{title:`用户ID`,dataIndex:`userId`,width:170,render:e=>(0,Q.jsx)(Q9,{code:!0,children:e||`-`})},{title:`状态`,dataIndex:`status`,width:100,render:e=>(0,Q.jsx)(kR,{color:$9(e),children:e})},{title:`ProjectName`,dataIndex:`remoteProjectName`,width:240,render:e=>(0,Q.jsx)(Q9,{code:!0,copyable:!0,children:e||`-`})},{title:`素材数`,dataIndex:`assetCount`,width:100},{title:`Active`,dataIndex:`activeAssetCount`,width:100},{title:`创建时间`,dataIndex:`createdAt`,width:170,render:e=>e||`-`}],dataSource:e,loading:c,pagination:{current:g,pageSize:20,total:i,onChange:_},size:`small`,scroll:{x:900}})}),(0,Q.jsx)(RA,{title:m?`项目素材明细`:`全部素材明细`,extra:m?(0,Q.jsx)(cC,{size:`small`,onClick:()=>h(void 0),children:`查看全部`}):null,children:(0,Q.jsx)(gR,{rowKey:`id`,columns:[{title:`素材`,dataIndex:`name`,width:180,render:(e,t)=>e||t.remoteAssetId||`-`},{title:`用户ID`,dataIndex:`userId`,width:170,render:e=>(0,Q.jsx)(Q9,{code:!0,children:e||`-`})},{title:`本地项目`,dataIndex:`projectName`,width:160},{title:`AssetId`,dataIndex:`remoteAssetId`,width:240,render:e=>(0,Q.jsx)(Q9,{code:!0,copyable:!0,children:e})},{title:`GroupId`,dataIndex:`remoteGroupId`,width:240,render:e=>(0,Q.jsx)(Q9,{code:!0,copyable:!0,children:e})},{title:`ProjectName`,dataIndex:`remoteProjectName`,width:240,render:e=>(0,Q.jsx)(Q9,{code:!0,copyable:!0,children:e||`-`})},{title:`类型`,dataIndex:`assetType`,width:90},{title:`状态`,dataIndex:`status`,width:110,render:e=>(0,Q.jsx)(kR,{color:$9(e),children:e})},{title:`错误`,dataIndex:`errorMessage`,width:240,ellipsis:!0,render:e=>e||`-`},{title:`创建时间`,dataIndex:`createdAt`,width:170,render:e=>e||`-`}],dataSource:n,loading:u,pagination:{current:v,pageSize:20,total:o,onChange:y},size:`small`,scroll:{x:1600}})})]})},QWe=({children:e})=>{let{user:t,loading:n,checkAuth:r}=A5();return(0,C.useEffect)(()=>{!localStorage.getItem(`auth_token`)&&!n&&!t&&(window.location.href=`/login`)},[t,n]),n?(0,Q.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,alignItems:`center`,height:`100vh`},children:(0,Q.jsx)(pP,{size:`large`})}):t?(0,Q.jsx)(Q.Fragment,{children:e}):(window.location.href=`/login`,null)};(0,v.createRoot)(document.getElementById(`root`)).render((0,Q.jsx)(()=>{let{checkAuth:e}=A5();return(0,C.useEffect)(()=>{e()},[]),(0,Q.jsx)(Zp,{locale:H8.default,theme:{token:{colorPrimary:`#6366f1`,borderRadius:8},components:{Button:{controlHeight:36,controlHeightLG:44},Card:{boxShadow:`0 1px 3px rgba(0,0,0,0.04)`},Table:{headerBg:`#fafbfc`}}},children:(0,Q.jsx)(Iv,{children:(0,Q.jsx)(_n,{children:(0,Q.jsxs)(kt,{children:[(0,Q.jsx)(Dt,{path:`/login`,element:(0,Q.jsx)(mHe,{})}),(0,Q.jsxs)(Dt,{path:`/`,element:(0,Q.jsx)(QWe,{children:(0,Q.jsx)(lHe,{})}),children:[(0,Q.jsx)(Dt,{index:!0,element:(0,Q.jsx)(hHe,{})}),(0,Q.jsx)(Dt,{path:`users`,element:(0,Q.jsx)(yHe,{})}),(0,Q.jsx)(Dt,{path:`teams`,element:(0,Q.jsx)(CHe,{})}),(0,Q.jsx)(Dt,{path:`credit-records`,element:(0,Q.jsx)(JHe,{})}),(0,Q.jsx)(Dt,{path:`models`,element:(0,Q.jsx)(wHe,{})}),(0,Q.jsx)(Dt,{path:`credit-ratios`,element:(0,Q.jsx)(cUe,{})}),(0,Q.jsx)(Dt,{path:`video-engines`,element:(0,Q.jsx)(nUe,{})}),(0,Q.jsx)(Dt,{path:`image-engines`,element:(0,Q.jsx)(aUe,{})}),(0,Q.jsx)(Dt,{path:`industries`,element:(0,Q.jsx)(tUe,{})}),(0,Q.jsx)(Dt,{path:`menu-configs`,element:(0,Q.jsx)(fUe,{})}),(0,Q.jsx)(Dt,{path:`recharge-packages`,element:(0,Q.jsx)(hUe,{})}),(0,Q.jsx)(Dt,{path:`payment`,element:(0,Q.jsx)(YHe,{})}),(0,Q.jsx)(Dt,{path:`payment-stats`,element:(0,Q.jsx)(ZHe,{})}),(0,Q.jsx)(Dt,{path:`settings`,element:(0,Q.jsx)(EHe,{})}),(0,Q.jsx)(Dt,{path:`video-prompt-schema-config`,element:(0,Q.jsx)(CWe,{})}),(0,Q.jsx)(Dt,{path:`notifications`,element:(0,Q.jsx)(DHe,{})}),(0,Q.jsx)(Dt,{path:`oauthapp-list`,element:(0,Q.jsx)(vUe,{})}),(0,Q.jsx)(Dt,{path:`operation-logs`,element:(0,Q.jsx)(_Ue,{})}),(0,Q.jsx)(Dt,{path:`generation-records`,element:(0,Q.jsx)(CUe,{})}),(0,Q.jsx)(Dt,{path:`generation-ai`,element:(0,Q.jsx)(OUe,{})}),(0,Q.jsx)(Dt,{path:`hot-opening-replications`,element:(0,Q.jsx)(NUe,{})}),(0,Q.jsx)(Dt,{path:`hot-opening-replications/:projectId`,element:(0,Q.jsx)($Ue,{})}),(0,Q.jsx)(Dt,{path:`shot-replications`,element:(0,Q.jsx)(iWe,{})}),(0,Q.jsx)(Dt,{path:`shot-replications/task-sets/:taskSetId`,element:(0,Q.jsx)(pWe,{})}),(0,Q.jsx)(Dt,{path:`shot-replications/projects/:projectId`,element:(0,Q.jsx)(d9,{moduleType:`shot_replicate`})}),(0,Q.jsx)(Dt,{path:`authoriza`,element:(0,Q.jsx)(dHe,{})}),(0,Q.jsx)(Dt,{path:`consume`,element:(0,Q.jsx)(pHe,{})}),(0,Q.jsx)(Dt,{path:`platform`,element:(0,Q.jsx)(gHe,{})}),(0,Q.jsx)(Dt,{path:`contact-requests`,element:(0,Q.jsx)(wWe,{})}),(0,Q.jsx)(Dt,{path:`home-materials`,element:(0,Q.jsx)(HWe,{})}),(0,Q.jsx)(Dt,{path:`pretest-templates`,element:(0,Q.jsx)(WWe,{})}),(0,Q.jsx)(Dt,{path:`oauth-list`,element:(0,Q.jsx)(KWe,{})}),(0,Q.jsx)(Dt,{path:`material-list`,element:(0,Q.jsx)(YWe,{})}),(0,Q.jsx)(Dt,{path:`private-portrait-projects`,element:(0,Q.jsx)(ZWe,{})})]}),(0,Q.jsx)(Dt,{path:`*`,element:(0,Q.jsx)(Tt,{to:`/`,replace:!0})})]})})})})},{})); \ No newline at end of file +`).filter(Boolean):n.target.value})})})]})})),[v]);return e||!c?(0,Q.jsx)(uP,{}):(0,Q.jsxs)(`div`,{style:{padding:24},children:[(0,Q.jsx)(FA,{children:(0,Q.jsxs)(AM,{direction:`vertical`,style:{width:`100%`},size:`large`,children:[(0,Q.jsxs)(HP,{justify:`space-between`,align:`middle`,children:[(0,Q.jsxs)(ij,{children:[(0,Q.jsx)(xWe,{level:3,style:{margin:0},children:`视频提词 Schema 配置`}),(0,Q.jsx)(SWe,{type:`secondary`,style:{marginBottom:0},children:`配置会被爆款开头复刻和拆镜复刻第 4 步视频 AI 提词共同复用。传给 AI 时只保留纯键值 schema,不携带显示名、启用、可编辑等管理字段。`})]}),(0,Q.jsx)(ij,{children:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(h9,{children:`启用自定义配置`}),(0,Q.jsx)(sF,{checked:i,onChange:a}),o&&(0,Q.jsx)(CR,{color:`orange`,children:`当前使用默认配置兜底`}),u&&(0,Q.jsxs)(CR,{children:[`默认分组 `,u.sections.length]})]})})]}),(0,Q.jsx)(cf,{type:`info`,showIcon:!0,message:`长度限制策略`,description:`只对管理后台字段和用户可编辑字段做长度校验,不会自动裁剪 AI 生成结果或第 5 步最终视频 prompt。若供应商因为 prompt 过长拒绝,会按真实失败进入现有日志/退款/重试流程。`}),(0,Q.jsx)(cf,{type:`warning`,showIcon:!0,message:`预览说明`,description:`预览会跟随右上角「启用自定义配置」开关。关闭时会按默认 CLIENT_SCHEMA_V1 兜底预览;打开后才会按当前页面编辑的 sections 和秒数切片规则预览。`}),(0,Q.jsxs)(AM,{wrap:!0,children:[(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(K2,{}),loading:n,onClick:S,children:`保存配置`}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(AN,{}),onClick:D,children:`预览运行时 Schema`}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(dB,{}),onClick:T,children:`导出 JSON`}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(I6,{}),onClick:()=>_.current?.click(),children:`导入 JSON`}),(0,Q.jsx)(EP,{title:`确认恢复默认配置?`,description:`会用 CLIENT_SCHEMA_V1 生成的默认配置覆盖当前配置。`,onConfirm:w,children:(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(zP,{}),children:`恢复默认`})}),(0,Q.jsx)(`input`,{ref:_,type:`file`,accept:`application/json,.json`,style:{display:`none`},onChange:E})]}),(0,Q.jsx)(NA,{items:[{key:`fields`,label:`Schema 字段配置`,children:(0,Q.jsxs)(AM,{direction:`vertical`,style:{width:`100%`},size:`middle`,children:[(0,Q.jsx)(cf,{type:`warning`,showIcon:!0,message:`字段说明`,description:`key 是最终传给 AI 和保存到 prompt_schema 的真实字段名,例如「素材理解」「动作流程」;label 只用于管理后台显示,帮助运营/管理员理解这个字段,不会传给 AI;启用关闭后该字段不会进入运行时 schema;可编辑关闭后用户在第 4 步修改时不能改这个字段。「画面属性」里的视频时长、视频比例、清晰度、帧率、推荐分辨率属于系统锁定参数,不能改 key、不能禁用、不能开放用户编辑。`}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(uA,{}),onClick:k,children:`新增一级分组`}),(0,Q.jsx)(Hh,{items:W})]})},{key:`time`,label:`秒数切片规则`,children:(0,Q.jsxs)(AM,{direction:`vertical`,style:{width:`100%`},size:`middle`,children:[(0,Q.jsx)(cf,{type:`info`,showIcon:!0,message:`切片规则说明`,description:`这里决定指定视频时长会被拆成几段,以及每段的阶段名称和说明。运行时会同步生成「动态时间规划」「动作流程」「镜头流程」三个数组,三者时间段保持一致。`}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(uA,{}),onClick:R,children:`新增秒数规则`}),y.map((e,t)=>(0,Q.jsxs)(FA,{size:`small`,title:`${e.minDuration}-${e.maxDuration} 秒:${e.segments.length} 段`,extra:(0,Q.jsx)(ZS,{danger:!0,size:`small`,icon:(0,Q.jsx)(ER,{}),onClick:()=>B(t),children:`删除规则`}),children:[(0,Q.jsxs)(HP,{gutter:12,style:{marginBottom:12},children:[(0,Q.jsx)(ij,{span:4,children:(0,Q.jsx)(Oj,{min:1,value:e.minDuration,addonBefore:`最小秒`,style:{width:`100%`},onChange:e=>z(t,{minDuration:Number(e||1)})})}),(0,Q.jsx)(ij,{span:4,children:(0,Q.jsx)(Oj,{min:1,value:e.maxDuration,addonBefore:`最大秒`,style:{width:`100%`},onChange:e=>z(t,{maxDuration:Number(e||1)})})}),(0,Q.jsx)(ij,{span:16,children:(0,Q.jsx)(ZS,{size:`small`,icon:(0,Q.jsx)(uA,{}),onClick:()=>H(t),children:`新增片段`})})]}),(0,Q.jsx)(AM,{direction:`vertical`,style:{width:`100%`},children:e.segments.map((n,r)=>(0,Q.jsxs)(HP,{gutter:8,align:`middle`,children:[(0,Q.jsx)(ij,{span:3,children:(0,Q.jsx)(Oj,{min:.01,step:.01,value:e.ratios[r],addonBefore:`比例`,style:{width:`100%`},onChange:e=>V(t,r,{ratio:Number(e||.01)})})}),(0,Q.jsx)(ij,{span:5,children:(0,Q.jsx)(zN,{value:n.stage,maxLength:64,placeholder:`阶段`,onChange:e=>V(t,r,{stage:e.target.value})})}),(0,Q.jsx)(ij,{span:15,children:(0,Q.jsx)(zN,{value:n.description,maxLength:300,placeholder:`说明`,onChange:e=>V(t,r,{description:e.target.value})})}),(0,Q.jsx)(ij,{span:1,children:(0,Q.jsx)(ZS,{danger:!0,size:`small`,icon:(0,Q.jsx)(ER,{}),onClick:()=>U(t,r)})})]},r))})]},t))]})},{key:`json`,label:`JSON 高级查看`,children:(0,Q.jsx)(g9,{rows:24,value:JSON.stringify(T9(c,i),null,2),readOnly:!0})}]})]})}),(0,Q.jsxs)(CP,{title:`预览运行时 Schema`,open:f,onCancel:()=>p(!1),width:980,footer:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(ZS,{onClick:()=>p(!1),children:`关闭`}),(0,Q.jsx)(ZS,{type:`primary`,onClick:O,children:`生成预览`})]}),children:[(0,Q.jsxs)(X,{form:g,layout:`inline`,style:{marginBottom:16},children:[(0,Q.jsx)(X.Item,{name:`duration`,label:`时长`,rules:[{required:!0}],children:(0,Q.jsx)(Oj,{min:1,max:3600})}),(0,Q.jsx)(X.Item,{name:`aspectRatio`,label:`比例`,rules:[{required:!0}],children:(0,Q.jsx)(zN,{})}),(0,Q.jsx)(X.Item,{name:`resolution`,label:`清晰度`,rules:[{required:!0}],children:(0,Q.jsx)(zN,{})}),(0,Q.jsx)(X.Item,{name:`frameRate`,label:`帧率`,rules:[{required:!0}],children:(0,Q.jsx)(zN,{})})]}),(0,Q.jsx)(fue,{}),m?(0,Q.jsx)(NA,{items:[{key:`runtime`,label:`运行时 Schema`,children:(0,Q.jsx)(g9,{rows:24,value:JSON.stringify(E9(m),null,2),readOnly:!0})},{key:`timePlan`,label:`动态时间规划(${D9(m).length} 段)`,children:(0,Q.jsx)(g9,{rows:24,value:JSON.stringify(D9(m),null,2),readOnly:!0})},{key:`snapshot`,label:`配置快照`,children:(0,Q.jsx)(g9,{rows:24,value:JSON.stringify(DWe(m),null,2),readOnly:!0})}]}):(0,Q.jsx)(cf,{type:`info`,showIcon:!0,message:`点击生成预览后,可以看到传给 AI 的纯 schema、动态时间规划和本次配置快照。`})]})]})},jWe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(0),[i,a]=(0,C.useState)(!1),[o,s]=(0,C.useState)(1),[c,l]=(0,C.useState)(10),[u,d]=(0,C.useState)(null),[f,p]=(0,C.useState)(null),[m,h]=(0,C.useState)(!1),{user:g}=C5(),_=async()=>{if(g?.isAdmin){a(!0);try{let e=new URLSearchParams;e.set(`page`,String(o)),e.set(`page_size`,String(c)),u!==null&&e.set(`is_handled`,String(u));let n=await Q8.get(`/contact/requests?${e.toString()}`);t(n.items),r(n.total)}catch(e){xP.error(e?.message||`获取失败`)}finally{a(!1)}}};(0,C.useEffect)(()=>{_()},[o,c,u]);let v=async e=>{try{await Q8.put(`/contact/requests/${e}/handle`),xP.success(`已标记为处理`),_()}catch(e){xP.error(e?.message||`操作失败`)}},y=async e=>{try{await Q8.delete(`/contact/requests/${e}`),xP.success(`已删除`),_()}catch(e){xP.error(e?.message||`删除失败`)}},b=e=>{p(e),h(!0)};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(FA,{variant:`outlined`,style:{borderRadius:12,border:`1px solid #f0f0f5`},children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(r1,{style:{fontSize:18,color:`#6366f1`}}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:16},children:`联系请求管理`}),(0,Q.jsxs)(CR,{color:`purple`,children:[`共 `,n,` 条记录`]})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:8},children:[(0,Q.jsx)(ZS,{type:u===null?`primary`:`default`,onClick:()=>d(null),icon:(0,Q.jsx)(HX,{}),size:`small`,children:`全部`}),(0,Q.jsx)(ZS,{type:u===!1?`primary`:`default`,onClick:()=>d(!1),size:`small`,children:`待处理`}),(0,Q.jsx)(ZS,{type:u===!0?`primary`:`default`,onClick:()=>d(!0),size:`small`,children:`已处理`})]})]}),i?(0,Q.jsx)(`div`,{style:{textAlign:`center`,padding:40},children:`加载中...`}):e.length===0?(0,Q.jsx)(qy,{description:`暂无联系请求`,style:{padding:`40px 0`}}):(0,Q.jsx)(uR,{columns:[{title:`姓名`,dataIndex:`name`,key:`name`,width:100,render:e=>(0,Q.jsx)(Z.Text,{strong:!0,children:e})},{title:`手机号`,dataIndex:`phone`,key:`phone`,width:120},{title:`公司名称`,dataIndex:`companyName`,key:`companyName`,width:150,ellipsis:!0},{title:`行业`,dataIndex:`industry`,key:`industry`,width:120},{title:`状态`,dataIndex:`isHandled`,key:`isHandled`,width:80,render:e=>(0,Q.jsx)(CR,{color:e?`green`:`orange`,children:e?`已处理`:`待处理`})},{title:`提交时间`,dataIndex:`createdAt`,key:`createdAt`,width:160,render:e=>D5(e)},{title:`操作`,key:`actions`,width:180,render:(e,t)=>(0,Q.jsxs)(AM,{size:4,children:[(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(AN,{}),onClick:()=>b(t),children:`查看`}),!t.isHandled&&(0,Q.jsx)(ZS,{type:`link`,size:`small`,icon:(0,Q.jsx)(fb,{}),onClick:()=>v(t.id),children:`标记处理`}),(0,Q.jsx)(EP,{title:`确定删除该记录?`,onConfirm:()=>y(t.id),children:(0,Q.jsx)(ZS,{type:`link`,danger:!0,size:`small`,icon:(0,Q.jsx)(ER,{}),children:`删除`})})]})}],dataSource:e,rowKey:`id`,loading:i,pagination:{current:o,pageSize:c,total:n,onChange:(e,t)=>{s(e),l(t)},showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`},scroll:{x:900}})]}),(0,Q.jsx)(CP,{title:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(AN,{}),`联系请求详情`]}),open:m,onCancel:()=>h(!1),footer:null,width:500,children:f&&(0,Q.jsxs)(`div`,{style:{padding:8},children:[(0,Q.jsxs)(`div`,{style:{marginBottom:16},children:[(0,Q.jsxs)(Z.Title,{level:4,style:{marginBottom:16},children:[f.name,(0,Q.jsx)(CR,{color:f.isHandled?`green`:`orange`,style:{marginLeft:12},children:f.isHandled?`已处理`:`待处理`})]}),(0,Q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`120px 1fr`,gap:12},children:[(0,Q.jsx)(Z.Text,{style:{color:`#64748b`},children:`手机号:`}),(0,Q.jsx)(Z.Text,{children:f.phone}),(0,Q.jsx)(Z.Text,{style:{color:`#64748b`},children:`公司名称:`}),(0,Q.jsx)(Z.Text,{children:f.companyName}),(0,Q.jsx)(Z.Text,{style:{color:`#64748b`},children:`行业:`}),(0,Q.jsx)(Z.Text,{children:f.industry}),(0,Q.jsx)(Z.Text,{style:{color:`#64748b`},children:`提交时间:`}),(0,Q.jsx)(Z.Text,{children:D5(f.createdAt)}),f.message&&(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(Z.Text,{style:{color:`#64748b`},children:`留言:`}),(0,Q.jsx)(Z.Text,{children:f.message})]})]})]}),(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[!f.isHandled&&(0,Q.jsx)(ZS,{type:`primary`,onClick:()=>{v(f.id),h(!1)},icon:(0,Q.jsx)(fb,{}),children:`标记为已处理`}),(0,Q.jsx)(ZS,{onClick:()=>h(!1),children:`关闭`})]})]})})]})},k9=`http://ceshi.apiforeign.minzhong.cn`.replace(/\/$/,``).replace(/\/api\/?$/i,``).replace(/\/$/,``),MWe=e=>/^(https?:)?\/\//i.test(e)||/^(blob|data):/i.test(e),A9=e=>{if(!e)return``;let t=String(e).trim();return t?MWe(t)?t:k9?`${k9}${t.startsWith(`/`)?t:`/${t}`}`:t.startsWith(`/`)?t:`/${t}`:``},NWe=360,j9=280;function M9(e,t,n){return Number.isFinite(e)?Math.min(n,Math.max(t,e)):t}function PWe(e,t){let n=Math.max(0,e);if(!n)return{width:0,height:j9};if(!t?.width||!t?.height)return{width:n,height:j9};let r=Math.min(n/t.width,NWe/t.height);return{width:Math.max(1,Math.round(t.width*r)),height:Math.max(1,Math.round(t.height*r))}}function FWe(e,t){if(e.sizeMode===`px`&&e.widthPx)return M9(e.widthPx,1,Math.max(1,t));let n=M9(e.widthRatio??.18,.01,1);return Math.max(1,t*n)}function IWe(e){let t=e.marginX??24,n=e.marginY??24;switch(e.position){case`top_left`:return{left:t,top:n};case`top_center`:return{left:`50%`,top:n,transform:`translateX(-50%)`};case`top_right`:return{right:t,top:n};case`middle_left`:return{left:t,top:`50%`,transform:`translateY(-50%)`};case`center`:return{left:`50%`,top:`50%`,transform:`translate(-50%, -50%)`};case`middle_right`:return{right:t,top:`50%`,transform:`translateY(-50%)`};case`bottom_left`:return{left:t,bottom:n};case`bottom_center`:return{left:`50%`,bottom:n,transform:`translateX(-50%)`};default:return{right:t,bottom:n}}}function LWe(e){let t=e.textWatermark;return!t||!t.text?.trim()?null:{text:t.text.trim(),opacity_level:t.opacityLevel,font_size_px:t.fontSizePx,color:t.color,rotate_deg:t.rotateDeg,gap_x:t.gapX,gap_y:t.gapY,staggered:t.staggered}}var RWe=({mediaUrl:e,mediaType:t=`image`,watermarkUrl:n,config:r,onChange:i})=>{let a=(0,C.useRef)(null),o=(0,C.useRef)(null),s=(0,C.useRef)(null),c=(0,C.useRef)({x:0,y:0}),l=(0,C.useRef)(0),[u,d]=(0,C.useState)(0),[f,p]=(0,C.useState)(null),[m,h]=(0,C.useState)({width:0,height:0}),[g,_]=(0,C.useState)(!1),[v,y]=(0,C.useState)(``),[b,x]=(0,C.useState)(!1),[S,w]=(0,C.useState)(``),T=(0,C.useMemo)(()=>A9(e),[e]),E=(0,C.useMemo)(()=>A9(n),[n]),D=(0,C.useMemo)(()=>PWe(u,f),[u,f]),O=(0,C.useMemo)(()=>FWe(r,D.width),[r,D.width]),k=r.watermarkType===`repeated_text`;(0,C.useLayoutEffect)(()=>{if(!a.current)return;let e=()=>d(a.current?.clientWidth||0);e();let t=new ResizeObserver(e);return t.observe(a.current),()=>t.disconnect()},[]),(0,C.useLayoutEffect)(()=>{if(!s.current)return;let e=()=>{let e=s.current?.getBoundingClientRect();e&&h({width:e.width,height:e.height})};e();let t=new ResizeObserver(e);return t.observe(s.current),()=>t.disconnect()},[E,O]),(0,C.useEffect)(()=>{p(null),y(``),w(``)},[T,t]),(0,C.useEffect)(()=>{if(!k){y(``),x(!1),w(``);return}let e=LWe(r);if(!f?.width||!f.height||!e){y(``);return}let t=++l.current;x(!0),w(``);let n=window.setTimeout(async()=>{try{let n=await rHe({width:f.width,height:f.height,text_watermark:e});l.current===t&&y(n.previewLayerDataUrl)}catch(e){l.current===t&&(y(``),w(e instanceof Error?e.message:`文字水印预览生成失败`))}finally{l.current===t&&x(!1)}},300);return()=>window.clearTimeout(n)},[r,k,f]),(0,C.useEffect)(()=>{let e=e=>{if(!g||!o.current||!i||k)return;let t=o.current.getBoundingClientRect(),n=m.width||O,r=m.height||1,a=Math.max(1,t.width-n),s=Math.max(1,t.height-r),l=M9(e.clientX-t.left-c.current.x,0,a),u=M9(e.clientY-t.top-c.current.y,0,s);i({position:`custom`,customXRatio:Number((l/a).toFixed(4)),customYRatio:Number((u/s).toFixed(4))})},t=()=>_(!1);return window.addEventListener(`pointermove`,e),window.addEventListener(`pointerup`,t),window.addEventListener(`pointercancel`,t),()=>{window.removeEventListener(`pointermove`,e),window.removeEventListener(`pointerup`,t),window.removeEventListener(`pointercancel`,t)}},[g,k,i,m.height,m.width,O]);let A=(0,C.useMemo)(()=>{if(r.position!==`custom`)return IWe(r);let e=m.width||O,t=m.height||1,n=Math.max(0,D.width-e),i=Math.max(0,D.height-t),a=M9(r.customXRatio??.5,0,1),o=M9(r.customYRatio??.5,0,1);return{left:n*a,top:i*o,transform:`none`}},[r,D.height,D.width,m.height,m.width,O]);return(0,Q.jsx)(`div`,{ref:a,style:{position:`relative`,width:`100%`,minHeight:Math.max(j9,D.height),background:`#0f172a`,borderRadius:12,overflow:`hidden`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`},children:T?(0,Q.jsxs)(`div`,{ref:o,style:{position:`relative`,width:D.width||`100%`,height:D.height||j9,maxWidth:`100%`,overflow:`hidden`,background:`#000`},children:[t===`video`?(0,Q.jsx)(`video`,{src:T,controls:!0,onLoadedMetadata:e=>{let t=e.currentTarget;t.videoWidth&&t.videoHeight&&p({width:t.videoWidth,height:t.videoHeight})},style:{width:`100%`,height:`100%`,objectFit:`fill`,display:`block`}}):(0,Q.jsx)(`img`,{src:T,alt:`素材预览`,onLoad:e=>{let t=e.currentTarget;t.naturalWidth&&t.naturalHeight&&p({width:t.naturalWidth,height:t.naturalHeight})},style:{width:`100%`,height:`100%`,objectFit:`fill`,display:`block`}}),k&&v&&(0,Q.jsx)(`img`,{src:v,alt:`重复文字水印预览`,draggable:!1,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,objectFit:`fill`,zIndex:2,pointerEvents:`none`,userSelect:`none`}}),k&&(b||S)&&(0,Q.jsx)(`div`,{style:{position:`absolute`,left:12,bottom:12,zIndex:3,padding:`6px 10px`,borderRadius:8,background:`rgba(15, 23, 42, 0.82)`,color:`#e2e8f0`,fontSize:12},children:b?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(uP,{size:`small`}),` 正在生成精准预览...`]}):S}),!k&&E&&(0,Q.jsx)(`img`,{ref:s,src:E,alt:`水印预览`,draggable:!1,onLoad:e=>{let t=e.currentTarget.getBoundingClientRect();h({width:t.width,height:t.height})},onPointerDown:e=>{if(!i)return;e.preventDefault();let t=e.currentTarget.getBoundingClientRect();c.current={x:e.clientX-t.left,y:e.clientY-t.top},_(!0)},style:{position:`absolute`,zIndex:2,cursor:i?`move`:`default`,width:O,opacity:(r.opacityLevel??6)/10,userSelect:`none`,touchAction:`none`,pointerEvents:i?`auto`:`none`,...A}})]}):(0,Q.jsx)(`span`,{children:`上传素材后可预览水印效果`})})},zWe=[{label:`左上角`,value:`top_left`},{label:`顶部居中`,value:`top_center`},{label:`右上角`,value:`top_right`},{label:`左侧居中`,value:`middle_left`},{label:`正中间`,value:`center`},{label:`右侧居中`,value:`middle_right`},{label:`左下角`,value:`bottom_left`},{label:`底部居中`,value:`bottom_center`},{label:`右下角`,value:`bottom_right`},{label:`拖拽自定义`,value:`custom`}],N9={text:`民众普康 AI`,opacityLevel:2,fontSizePx:28,color:`#ffffff`,rotateDeg:-30,gapX:220,gapY:140,staggered:!0},P9=({value:e,onChange:t,watermarks:n,mediaUrl:r,mediaType:i})=>{let a=n=>t({...e,...n}),o=t=>{a({textWatermark:{...N9,...e.textWatermark||{},...t}})},s=n.find(t=>t.id===e.watermarkId)?.fileUrl,c={...N9,...e.textWatermark||{}};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(X,{layout:`vertical`,children:[(0,Q.jsx)(X.Item,{label:`水印类型`,required:!0,children:(0,Q.jsxs)(Rk.Group,{value:e.watermarkType||`image`,onChange:e=>{let t=e.target.value;a({watermarkType:t,textWatermark:t===`repeated_text`?c:null})},children:[(0,Q.jsx)(Rk.Button,{value:`image`,children:`图片水印`}),(0,Q.jsx)(Rk.Button,{value:`repeated_text`,children:`重复文字水印`})]})}),e.watermarkType===`repeated_text`?(0,Q.jsxs)(HP,{gutter:16,children:[(0,Q.jsx)(ij,{span:24,children:(0,Q.jsx)(X.Item,{label:`水印文字`,required:!0,extra:`字体由后端固定开源可商用字体渲染,前端预览层和最终生成使用同一后端渲染逻辑。`,children:(0,Q.jsx)(zN,{maxLength:64,showCount:!0,value:c.text,onChange:e=>o({text:e.target.value}),placeholder:`请输入重复水印文字`})})}),(0,Q.jsx)(ij,{span:12,children:(0,Q.jsx)(X.Item,{label:`文字透明度:${c.opacityLevel}/10`,required:!0,children:(0,Q.jsx)(Xj,{min:1,max:10,step:1,value:c.opacityLevel,onChange:e=>o({opacityLevel:e})})})}),(0,Q.jsx)(ij,{span:12,children:(0,Q.jsx)(X.Item,{label:`字号(px)`,required:!0,children:(0,Q.jsx)(Oj,{min:8,max:160,style:{width:`100%`},value:c.fontSizePx,onChange:e=>o({fontSizePx:Number(e||28)})})})}),(0,Q.jsx)(ij,{span:12,children:(0,Q.jsx)(X.Item,{label:`文字颜色`,required:!0,children:(0,Q.jsx)(zN,{value:c.color,onChange:e=>o({color:e.target.value||`#ffffff`}),placeholder:`#ffffff`})})}),(0,Q.jsx)(ij,{span:12,children:(0,Q.jsx)(X.Item,{label:`旋转角度`,required:!0,children:(0,Q.jsx)(Oj,{min:-90,max:90,style:{width:`100%`},value:c.rotateDeg,onChange:e=>o({rotateDeg:Number(e??-30)})})})}),(0,Q.jsx)(ij,{span:12,children:(0,Q.jsx)(X.Item,{label:`横向间距`,required:!0,children:(0,Q.jsx)(Oj,{min:20,max:2e3,style:{width:`100%`},value:c.gapX,onChange:e=>o({gapX:Number(e||220)})})})}),(0,Q.jsx)(ij,{span:12,children:(0,Q.jsx)(X.Item,{label:`纵向间距`,required:!0,children:(0,Q.jsx)(Oj,{min:20,max:2e3,style:{width:`100%`},value:c.gapY,onChange:e=>o({gapY:Number(e||140)})})})}),(0,Q.jsx)(ij,{span:12,children:(0,Q.jsx)(X.Item,{label:`交错排列`,valuePropName:`checked`,children:(0,Q.jsx)(sF,{checked:c.staggered,onChange:e=>o({staggered:e})})})})]}):(0,Q.jsxs)(HP,{gutter:16,children:[(0,Q.jsx)(ij,{span:12,children:(0,Q.jsx)(X.Item,{label:`水印图片`,required:!0,children:(0,Q.jsx)(Cb,{placeholder:`请选择水印`,value:e.watermarkId||void 0,onChange:e=>a({watermarkId:e}),options:n.map(e=>({label:`${e.name}${e.isDefault?`(默认)`:``}`,value:e.id}))})})}),(0,Q.jsx)(ij,{span:12,children:(0,Q.jsx)(X.Item,{label:`透明度:${e.opacityLevel}/10`,required:!0,children:(0,Q.jsx)(Xj,{min:1,max:10,step:1,value:e.opacityLevel,onChange:e=>a({opacityLevel:e})})})}),(0,Q.jsx)(ij,{span:12,children:(0,Q.jsx)(X.Item,{label:`水印位置`,required:!0,children:(0,Q.jsx)(Cb,{value:e.position,onChange:e=>a({position:e}),options:zWe})})}),(0,Q.jsx)(ij,{span:12,children:(0,Q.jsx)(X.Item,{label:`大小模式`,required:!0,children:(0,Q.jsx)(Cb,{value:e.sizeMode,onChange:e=>a({sizeMode:e}),options:[{label:`按素材宽度比例`,value:`ratio`},{label:`固定像素宽度`,value:`px`}]})})}),e.sizeMode===`ratio`?(0,Q.jsx)(ij,{span:12,children:(0,Q.jsx)(X.Item,{label:`水印宽度比例`,required:!0,children:(0,Q.jsx)(Oj,{min:.01,max:1,step:.01,style:{width:`100%`},value:e.widthRatio??.18,onChange:e=>a({widthRatio:Number(e||.18)})})})}):(0,Q.jsx)(ij,{span:12,children:(0,Q.jsx)(X.Item,{label:`水印宽度(px)`,required:!0,children:(0,Q.jsx)(Oj,{min:1,max:1e4,style:{width:`100%`},value:e.widthPx??200,onChange:e=>a({widthPx:Number(e||200)})})})}),(0,Q.jsx)(ij,{span:6,children:(0,Q.jsx)(X.Item,{label:`横向边距`,children:(0,Q.jsx)(Oj,{min:0,max:2e3,style:{width:`100%`},value:e.marginX,onChange:e=>a({marginX:Number(e||0)})})})}),(0,Q.jsx)(ij,{span:6,children:(0,Q.jsx)(X.Item,{label:`纵向边距`,children:(0,Q.jsx)(Oj,{min:0,max:2e3,style:{width:`100%`},value:e.marginY,onChange:e=>a({marginY:Number(e||0)})})})})]})]}),(0,Q.jsx)(RWe,{mediaUrl:r,mediaType:i,watermarkUrl:s,config:e,onChange:e=>a(e)})]})},F9={draft:{text:`草稿`,color:`default`},processing:{text:`处理中`,color:`processing`},success:{text:`成功`,color:`success`},failed:{text:`失败`,color:`error`}},I9={text:`民众普康 AI`,opacityLevel:2,fontSizePx:28,color:`#ffffff`,rotateDeg:-30,gapX:220,gapY:140,staggered:!0},BWe={watermarkType:`image`,watermarkId:null,opacityLevel:6,position:`bottom_right`,customXRatio:null,customYRatio:null,sizeMode:`ratio`,widthRatio:.18,widthPx:null,marginX:24,marginY:24,textWatermark:I9};function VWe(e){return{text:e?.text||I9.text,opacityLevel:e?.opacityLevel??e?.opacity_level??I9.opacityLevel,fontSizePx:e?.fontSizePx??e?.font_size_px??I9.fontSizePx,color:e?.color||I9.color,rotateDeg:e?.rotateDeg??e?.rotate_deg??I9.rotateDeg,gapX:e?.gapX??e?.gap_x??I9.gapX,gapY:e?.gapY??e?.gap_y??I9.gapY,staggered:e?.staggered??I9.staggered}}function L9(e,t){let n=e||{},r=n.watermarkType||n.watermark_type||`image`;return{watermarkType:r,watermarkId:r===`repeated_text`?null:n.watermarkId||n.watermark_id||t||null,opacityLevel:n.opacityLevel||n.opacity_level||6,position:n.position||`bottom_right`,customXRatio:n.customXRatio??n.custom_x_ratio??null,customYRatio:n.customYRatio??n.custom_y_ratio??null,sizeMode:n.sizeMode||n.size_mode||`ratio`,widthRatio:n.widthRatio??n.width_ratio??.18,widthPx:n.widthPx??n.width_px??null,marginX:n.marginX??n.margin_x??24,marginY:n.marginY??n.margin_y??24,textWatermark:VWe(n.textWatermark||n.text_watermark)}}function R9(e){return e.watermarkType===`repeated_text`?!!e.textWatermark?.text?.trim():!!e.watermarkId}var HWe=({categories:e,watermarks:t,reloadKey:n})=>{let[r,i]=(0,C.useState)([]),[a,o]=(0,C.useState)(0),[s,c]=(0,C.useState)(!1),[l,u]=(0,C.useState)({page:1,pageSize:20}),[d,f]=(0,C.useState)(null),[p,m]=(0,C.useState)(null),[h,g]=(0,C.useState)(BWe),[_,v]=(0,C.useState)(!1),y=async()=>{c(!0);try{let e=await $Ve(l);i(e.items),o(e.total)}finally{c(!1)}};(0,C.useEffect)(()=>{y()},[l,n]),(0,C.useEffect)(()=>{let e=r.filter(e=>e.status===`processing`);if(e.length===0)return;let t=window.setInterval(async()=>{(await Promise.all(e.map(e=>eHe(e.id).catch(()=>null)))).some(e=>e&&e.status!==`processing`)&&y()},2500);return()=>window.clearInterval(t)},[r]);let b=e=>{m(e),g(L9(e.watermarkConfig,e.watermarkId))},x=e=>e.mediaType===`image`?A9(e.watermarkedUrl||e.originalUrl):A9(e.coverUrl||``),S=e=>A9(e.watermarkedUrl||e.originalUrl),w=e=>{CP.confirm({title:`确认删除该素材?`,content:e.title||e.id,okText:`删除`,okButtonProps:{danger:!0},cancelText:`取消`,async onOk(){await aHe(e.id),xP.success(`删除成功`),await y()}})};return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(AM,{style:{marginBottom:16},wrap:!0,children:[(0,Q.jsx)(Cb,{allowClear:!0,style:{width:180},placeholder:`行业`,value:l.categoryId,onChange:e=>u(t=>({...t,categoryId:e,page:1})),options:e.map(e=>({label:e.name,value:e.id}))}),(0,Q.jsx)(Cb,{allowClear:!0,style:{width:140},placeholder:`素材类型`,value:l.mediaType,onChange:e=>u(t=>({...t,mediaType:e,page:1})),options:[{label:`图片`,value:`image`},{label:`视频`,value:`video`}]}),(0,Q.jsx)(Cb,{allowClear:!0,style:{width:140},placeholder:`处理状态`,value:l.status,onChange:e=>u(t=>({...t,status:e,page:1})),options:Object.entries(F9).map(([e,t])=>({value:e,label:t.text}))}),(0,Q.jsx)(ZS,{onClick:y,children:`刷新`})]}),(0,Q.jsx)(uR,{rowKey:`id`,loading:s,dataSource:r,pagination:{current:l.page,pageSize:l.pageSize,total:a,onChange:(e,t)=>u(n=>({...n,page:e,pageSize:t}))},scroll:{x:1180},columns:[{title:`预览`,width:110,render:(e,t)=>{let n=x(t);if(t.mediaType===`image`)return n?(0,Q.jsx)(TN,{width:86,height:64,style:{objectFit:`cover`,borderRadius:6},src:n}):`-`;let r=S(t),i=A9(t.coverUrl||``);return r?(0,Q.jsx)(`video`,{src:r,poster:i||void 0,muted:!0,preload:`metadata`,style:{width:100,height:64,objectFit:`cover`,borderRadius:6,background:`#000`}}):`-`}},{title:`标题`,dataIndex:`title`,render:e=>e||(0,Q.jsx)(`span`,{style:{color:`#999`},children:`未命名素材`})},{title:`行业`,dataIndex:`categoryName`},{title:`类型`,dataIndex:`mediaType`,render:e=>e===`image`?`图片`:`视频`},{title:`状态`,dataIndex:`status`,render:e=>(0,Q.jsx)(CR,{color:F9[e]?.color,children:F9[e]?.text||e})},{title:`水印`,render:(e,t)=>L9(t.watermarkConfig,t.watermarkId).watermarkType===`repeated_text`?`重复文字水印`:t.watermarkName||`图片水印`},{title:`排序`,dataIndex:`sortOrder`},{title:`错误`,dataIndex:`errorMessage`,ellipsis:!0},{title:`操作`,width:150,align:`center`,render:(e,t)=>(0,Q.jsxs)(AM,{size:8,children:[(0,Q.jsx)(ZS,{size:`small`,onClick:()=>f(t),children:`查看`}),(0,Q.jsx)(MM,{trigger:[`click`],menu:{items:[{key:`regenerate`,icon:(0,Q.jsx)(zP,{}),label:`重新生成水印`},{key:`delete`,icon:(0,Q.jsx)(ER,{}),label:`删除素材`,danger:!0}],onClick:({key:e})=>{e===`regenerate`&&b(t),e===`delete`&&w(t)}},children:(0,Q.jsx)(ZS,{size:`small`,icon:(0,Q.jsx)(C1,{}),children:`更多`})})]})}]}),(0,Q.jsx)(CP,{title:`素材详情`,open:!!d,onCancel:()=>f(null),footer:null,width:900,destroyOnHidden:!0,children:d&&(0,Q.jsxs)(AM,{direction:`vertical`,style:{width:`100%`},size:`large`,children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`b`,{children:`原素材:`}),d.originalUrl?A9(d.originalUrl):`-`]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`b`,{children:`水印素材:`}),d.watermarkedUrl?A9(d.watermarkedUrl):`-`]}),d.mediaType===`image`?(0,Q.jsx)(TN,{src:A9(d.watermarkedUrl||d.originalUrl)}):(0,Q.jsx)(`video`,{src:S(d),poster:A9(d.coverUrl||``)||void 0,controls:!0,style:{width:`100%`,background:`#000`}})]})}),(0,Q.jsx)(CP,{title:`重新生成水印`,open:!!p,onCancel:()=>!_&&m(null),onOk:async()=>{if(!(!p||_)){if(!R9(h)){xP.warning(h.watermarkType===`repeated_text`?`请输入重复文字水印内容`:`请选择水印图片`);return}v(!0);try{await iHe(p.id,{watermark_type:h.watermarkType,watermark_id:h.watermarkType===`image`?h.watermarkId:null,opacity_level:h.opacityLevel,position:h.position,custom_x_ratio:h.customXRatio,custom_y_ratio:h.customYRatio,size_mode:h.sizeMode,width_ratio:h.widthRatio,width_px:h.widthPx,margin_x:h.marginX,margin_y:h.marginY,text_watermark:h.watermarkType===`repeated_text`&&h.textWatermark?{text:h.textWatermark.text,opacity_level:h.textWatermark.opacityLevel,font_size_px:h.textWatermark.fontSizePx,color:h.textWatermark.color,rotate_deg:h.textWatermark.rotateDeg,gap_x:h.textWatermark.gapX,gap_y:h.textWatermark.gapY,staggered:h.textWatermark.staggered}:null,wait:!1}),xP.success(`已提交重新生成`),m(null),await y()}finally{v(!1)}}},confirmLoading:_,okButtonProps:{disabled:_||!R9(h)},cancelButtonProps:{disabled:_},width:980,destroyOnHidden:!0,children:p&&(0,Q.jsx)(P9,{value:h,onChange:g,watermarks:t,mediaUrl:A9(p.originalUrl||p.watermarkedUrl),mediaType:p.mediaType})})]})},UWe=fBe,WWe=[{label:`通用应用`,value:`AppstoreOutlined`},{label:`图片素材`,value:`PictureOutlined`},{label:`视频素材`,value:`VideoCameraOutlined`},{label:`电商购物`,value:`ShoppingOutlined`},{label:`门店商铺`,value:`ShopOutlined`},{label:`美妆护肤`,value:`SkinOutlined`},{label:`餐饮食品`,value:`CoffeeOutlined`},{label:`家居生活`,value:`HomeOutlined`},{label:`汽车出行`,value:`CarOutlined`},{label:`医疗健康`,value:`MedicineBoxOutlined`},{label:`教育培训`,value:`BookOutlined`},{label:`数码科技`,value:`LaptopOutlined`},{label:`旅游定位`,value:`EnvironmentOutlined`},{label:`摄影影像`,value:`CameraOutlined`},{label:`礼品活动`,value:`GiftOutlined`},{label:`热门爆款`,value:`FireOutlined`},{label:`品牌服务`,value:`CustomerServiceOutlined`},{label:`营销增长`,value:`RocketOutlined`},{label:`机构企业`,value:`BankOutlined`},{label:`娱乐休闲`,value:`SmileOutlined`}];function z9(e,t){if(!e)return(0,Q.jsx)(`span`,{style:{color:`#999`},children:`未设置`});let n=UWe[e];return(0,Q.jsxs)(AM,{size:6,children:[n?(0,Q.jsx)(n,{}):null,(0,Q.jsx)(`span`,{children:t||e}),(0,Q.jsx)(`span`,{style:{color:`#999`},children:e})]})}var GWe=({onChanged:e})=>{let[t,n]=(0,C.useState)([]),[r,i]=(0,C.useState)(0),[a,o]=(0,C.useState)(!1),[s,c]=(0,C.useState)(1),[l,u]=(0,C.useState)(!1),[d,f]=(0,C.useState)(null),[p]=X.useForm(),m=async()=>{o(!0);try{let e=await x5({page:s,pageSize:20});n(e.items),i(e.total)}finally{o(!1)}};(0,C.useEffect)(()=>{m()},[s]);let h=e=>{f(e||null),p.setFieldsValue(e?{name:e.name,key:e.key,description:e.description,icon:e.icon,is_active:e.isActive,sort_order:e.sortOrder}:{is_active:!0,sort_order:0}),u(!0)};return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(`div`,{style:{marginBottom:16,display:`flex`,justifyContent:`space-between`},children:[(0,Q.jsx)(`div`,{}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(uA,{}),onClick:()=>h(),children:`新增行业`})]}),(0,Q.jsx)(uR,{rowKey:`id`,loading:a,dataSource:t,pagination:{current:s,total:r,pageSize:20,onChange:c},columns:[{title:`行业名称`,dataIndex:`name`},{title:`Key`,dataIndex:`key`},{title:`图标`,dataIndex:`icon`,render:e=>z9(e)},{title:`启用`,dataIndex:`isActive`,render:e=>e?`启用`:`禁用`},{title:`素材数`,dataIndex:`assetCount`},{title:`图片/视频`,render:(e,t)=>`${t.imageCount}/${t.videoCount}`},{title:`排序`,dataIndex:`sortOrder`},{title:`操作`,render:(t,n)=>(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(ZS,{size:`small`,icon:(0,Q.jsx)(kR,{}),onClick:()=>h(n),children:`编辑`}),(0,Q.jsx)(EP,{title:`确认删除该行业?`,onConfirm:async()=>{await YVe(n.id),xP.success(`删除成功`),await m(),e?.()},children:(0,Q.jsx)(ZS,{size:`small`,danger:!0,icon:(0,Q.jsx)(ER,{}),children:`删除`})})]})}]}),(0,Q.jsx)(CP,{title:d?`编辑行业`:`新增行业`,open:l,onOk:async()=>{await JVe({...await p.validateFields(),id:d?.id}),xP.success(`保存成功`),u(!1),await m(),e?.()},onCancel:()=>u(!1),destroyOnHidden:!0,children:(0,Q.jsxs)(X,{form:p,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`name`,label:`行业名称`,rules:[{required:!0,message:`请输入行业名称`}],children:(0,Q.jsx)(zN,{})}),(0,Q.jsx)(X.Item,{name:`key`,label:`行业Key`,rules:[{required:!0,message:`请输入行业Key`},{pattern:/^[A-Za-z0-9_-]+$/,message:`只允许字母、数字、下划线、中划线`}],children:(0,Q.jsx)(zN,{})}),(0,Q.jsx)(X.Item,{name:`description`,label:`描述`,children:(0,Q.jsx)(zN.TextArea,{rows:3})}),(0,Q.jsx)(X.Item,{name:`icon`,label:`图标`,children:(0,Q.jsx)(Cb,{allowClear:!0,showSearch:!0,placeholder:`请选择行业图标`,optionFilterProp:`searchText`,filterOption:(e,t)=>{let n=String(t?.searchText||``).toLowerCase(),r=String(t?.value||``).toLowerCase(),i=e.toLowerCase();return n.includes(i)||r.includes(i)},options:WWe.map(e=>({value:e.value,searchText:`${e.label} ${e.value}`,label:z9(e.value,e.label)}))})}),(0,Q.jsx)(X.Item,{name:`sort_order`,label:`排序`,children:(0,Q.jsx)(Oj,{min:0,style:{width:`100%`}})}),(0,Q.jsx)(X.Item,{name:`is_active`,label:`启用`,valuePropName:`checked`,children:(0,Q.jsx)(sF,{})})]})})]})},B9={watermarkType:`image`,watermarkId:null,opacityLevel:6,position:`bottom_right`,customXRatio:null,customYRatio:null,sizeMode:`ratio`,widthRatio:.18,widthPx:null,marginX:24,marginY:24,textWatermark:{text:`民众普康 AI`,opacityLevel:2,fontSizePx:28,color:`#ffffff`,rotateDeg:-30,gapX:220,gapY:140,staggered:!0}};function KWe(e){return e.watermarkType===`repeated_text`?!!e.textWatermark?.text?.trim():!!e.watermarkId}var qWe=({open:e,onClose:t,categories:n,watermarks:r,onSuccess:i})=>{let[a]=X.useForm(),[o,s]=(0,C.useState)(null),[c,l]=(0,C.useState)([]),[u,d]=(0,C.useState)(`image`),[f,p]=(0,C.useState)(B9),[m,h]=(0,C.useState)(!1),[g,_]=(0,C.useState)(``),v=()=>{s(null),l([]),d(`image`),_(``),h(!1)};(0,C.useEffect)(()=>{if(e){v();let e=r.find(e=>e.isDefault)||r[0];p({...B9,watermarkId:e?.id||null}),a.setFieldsValue({media_type:`image`,is_active:!0,sort_order:0,title:void 0})}},[e,r,a]),(0,C.useEffect)(()=>()=>{g.startsWith(`blob:`)&&URL.revokeObjectURL(g)},[g]);let y=(0,C.useMemo)(()=>g||void 0,[g]),b=e=>{let t=e.type.startsWith(`image/`),n=e.type.startsWith(`video/`);if(u===`image`&&!t)return xP.warning(`当前素材类型为图片,请选择图片文件`),_B.LIST_IGNORE;if(u===`video`&&!n)return xP.warning(`当前素材类型为视频,请选择视频文件`),_B.LIST_IGNORE;g.startsWith(`blob:`)&&URL.revokeObjectURL(g);let r=URL.createObjectURL(e);return s(e),_(r),l([{uid:e.name,name:e.name,status:`done`,originFileObj:e}]),!1},x=()=>{s(null),l([]),g.startsWith(`blob:`)&&URL.revokeObjectURL(g),_(``)};return(0,Q.jsxs)(CP,{title:`上传首页素材`,open:e,onCancel:()=>{m||t()},onOk:async()=>{if(m)return;let e=await a.validateFields();if(!o){xP.warning(`请选择素材文件`);return}if(f.watermarkType===`image`&&!f.watermarkId){xP.warning(`请选择水印图片`);return}if(f.watermarkType===`repeated_text`&&!f.textWatermark?.text?.trim()){xP.warning(`请输入重复文字水印内容`);return}h(!0);try{let n=await nHe({categoryId:e.category_id,file:o,mediaType:u,title:e.title?.trim()||null,watermarkType:f.watermarkType,watermarkId:f.watermarkType===`image`?f.watermarkId:null,opacityLevel:f.opacityLevel,position:f.position,customXRatio:f.customXRatio,customYRatio:f.customYRatio,sizeMode:f.sizeMode,widthRatio:f.widthRatio,widthPx:f.widthPx,marginX:f.marginX,marginY:f.marginY,textWatermark:f.watermarkType===`repeated_text`?f.textWatermark:null,isActive:e.is_active,sortOrder:e.sort_order,wait:!1});xP.success(n.message||`已提交水印处理`),i(),t()}finally{h(!1)}},confirmLoading:m,okButtonProps:{disabled:m||!o||!KWe(f)},cancelButtonProps:{disabled:m},width:980,destroyOnHidden:!0,children:[(0,Q.jsxs)(X,{form:a,layout:`vertical`,children:[(0,Q.jsx)(X.Item,{name:`category_id`,label:`行业`,rules:[{required:!0,message:`请选择行业`}],children:(0,Q.jsx)(Cb,{options:n.map(e=>({label:e.name,value:e.id})),disabled:m})}),(0,Q.jsx)(X.Item,{name:`media_type`,label:`素材类型`,rules:[{required:!0}],children:(0,Q.jsx)(Cb,{value:u,onChange:e=>{d(e),x()},disabled:m,options:[{label:`图片`,value:`image`},{label:`视频`,value:`video`}]})}),(0,Q.jsx)(X.Item,{label:`素材文件`,required:!0,children:(0,Q.jsx)(_B,{beforeUpload:e=>b(e),onRemove:x,fileList:c,maxCount:1,accept:u===`image`?`image/*`:`video/*`,disabled:m,children:(0,Q.jsxs)(ZS,{icon:(0,Q.jsx)(I6,{}),loading:m,disabled:m,children:[`选择`,u===`image`?`图片`:`视频`]})})}),(0,Q.jsx)(X.Item,{name:`title`,label:`素材标题`,extra:`选填;不填时后台显示“未命名素材”,不会再自动使用文件名作为标题。`,children:(0,Q.jsx)(zN,{disabled:m})}),(0,Q.jsx)(X.Item,{name:`sort_order`,label:`排序`,children:(0,Q.jsx)(Oj,{min:0,style:{width:`100%`},disabled:m})}),(0,Q.jsx)(X.Item,{name:`is_active`,label:`前台展示`,valuePropName:`checked`,children:(0,Q.jsx)(sF,{disabled:m})})]}),(0,Q.jsx)(P9,{value:f,onChange:p,watermarks:r,mediaUrl:y,mediaType:u})]})},JWe=({open:e=!0,onClose:t,embedded:n=!1,onChanged:r})=>{let[i,a]=(0,C.useState)([]),[o,s]=(0,C.useState)(!1),[c,l]=(0,C.useState)(!1),[u,d]=(0,C.useState)(null),[f,p]=(0,C.useState)(null),[m,h]=(0,C.useState)([]),[g,_]=(0,C.useState)(``),[v,y]=(0,C.useState)(!1),[b]=X.useForm(),x=async()=>{s(!0);try{a((await S5({page:1,pageSize:200})).items)}finally{s(!1)}};(0,C.useEffect)(()=>{e&&x()},[e]),(0,C.useEffect)(()=>()=>{g.startsWith(`blob:`)&&URL.revokeObjectURL(g)},[g]);let S=()=>{p(null),h([]),_(``),y(!1)},w=()=>{d(null),S(),b.setFieldsValue({name:``,is_default:!1,is_active:!0}),l(!0)},T=e=>{d(e),S(),_(A9(e.fileUrl)),b.setFieldsValue({name:e.name,is_default:e.isDefault,is_active:e.isActive}),l(!0)},E=()=>{v||(l(!1),S())},D=e=>{if(!e.type.startsWith(`image/`))return xP.warning(`请选择图片文件`),_B.LIST_IGNORE;g.startsWith(`blob:`)&&URL.revokeObjectURL(g);let t=URL.createObjectURL(e);return p(e),_(t),h([{uid:e.name,name:e.name,status:`done`,originFileObj:e}]),!1},O=(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(`div`,{style:{marginBottom:16,display:`flex`,justifyContent:`space-between`},children:[(0,Q.jsx)(`div`,{}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(uA,{}),onClick:w,children:`上传水印`})]}),(0,Q.jsx)(uR,{rowKey:`id`,loading:o,dataSource:i,pagination:{pageSize:20},columns:[{title:`预览`,dataIndex:`fileUrl`,render:e=>(0,Q.jsx)(TN,{width:80,src:A9(e)})},{title:`名称`,dataIndex:`name`},{title:`尺寸`,render:(e,t)=>t.width&&t.height?`${t.width}×${t.height}`:`-`},{title:`默认`,dataIndex:`isDefault`,render:e=>e?`是`:`否`},{title:`启用`,dataIndex:`isActive`,render:e=>e?`启用`:`禁用`},{title:`操作`,render:(e,t)=>(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(ZS,{size:`small`,icon:(0,Q.jsx)(kR,{}),onClick:()=>T(t),children:`编辑`}),(0,Q.jsx)(EP,{title:`确认删除该水印?`,onConfirm:async()=>{await QVe(t.id),xP.success(`删除成功`),await x(),r?.()},children:(0,Q.jsx)(ZS,{size:`small`,danger:!0,icon:(0,Q.jsx)(ER,{}),children:`删除`})})]})}]}),(0,Q.jsx)(CP,{title:u?`编辑水印`:`上传水印`,open:c,onOk:async()=>{if(v)return;let e=await b.validateFields();if(!u&&!f){xP.warning(`请选择水印图片`);return}y(!0);try{u?await ZVe(u.id,{name:e.name,is_default:e.is_default,is_active:e.is_active}):f&&await XVe(f,e.name,e.is_default),xP.success(`保存成功`),l(!1),S(),await x(),r?.()}finally{y(!1)}},onCancel:E,confirmLoading:v,okButtonProps:{disabled:v||!u&&!f},cancelButtonProps:{disabled:v},destroyOnHidden:!0,children:(0,Q.jsxs)(X,{form:b,layout:`vertical`,children:[!u&&(0,Q.jsxs)(X.Item,{label:`水印图片`,required:!0,children:[(0,Q.jsx)(_B,{beforeUpload:e=>D(e),onRemove:()=>{p(null),h([]),g.startsWith(`blob:`)&&URL.revokeObjectURL(g),_(``)},fileList:m,maxCount:1,accept:`image/png,image/jpeg,image/webp`,disabled:v,children:(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(I6,{}),loading:v,disabled:v,children:`选择图片`})}),g&&(0,Q.jsx)(`div`,{style:{marginTop:12},children:(0,Q.jsx)(TN,{src:g,alt:`水印预览`,width:180,style:{maxHeight:120,objectFit:`contain`,background:`#0f172a`,borderRadius:8,padding:8}})})]}),u&&g&&(0,Q.jsx)(X.Item,{label:`当前水印`,children:(0,Q.jsx)(TN,{src:g,alt:`当前水印`,width:180,style:{maxHeight:120,objectFit:`contain`,background:`#0f172a`,borderRadius:8,padding:8}})}),(0,Q.jsx)(X.Item,{name:`name`,label:`水印名称`,rules:[{required:!0,message:`请输入水印名称`}],children:(0,Q.jsx)(zN,{disabled:v})}),(0,Q.jsx)(X.Item,{name:`is_default`,label:`默认水印`,valuePropName:`checked`,children:(0,Q.jsx)(sF,{disabled:v})}),(0,Q.jsx)(X.Item,{name:`is_active`,label:`启用`,valuePropName:`checked`,children:(0,Q.jsx)(sF,{disabled:v})})]})})]});return n?O:(0,Q.jsx)(CP,{title:`水印库`,open:e,onCancel:t,footer:null,width:900,destroyOnHidden:!0,children:O})},YWe=()=>{let[e]=X.useForm(),[t,n]=(0,C.useState)(!1),[r,i]=(0,C.useState)([]),[a,o]=(0,C.useState)([]),[s,c]=(0,C.useState)(!1),[l,u]=(0,C.useState)(0),d=async()=>{let[e,t]=await Promise.all([x5({page:1,pageSize:200}),S5({page:1,pageSize:200,isActive:!0})]);i(e.items),o(t.items)},f=async()=>{n(!0);try{let t=await KVe();e.setFieldsValue(t)}finally{n(!1)}};(0,C.useEffect)(()=>{f(),d()},[]);let p=async()=>{await qVe(await e.validateFields()),xP.success(`配置已保存`)},m=async()=>{await d(),u(e=>e+1)};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(FA,{style:{marginBottom:16},loading:t,children:(0,Q.jsxs)(X,{form:e,layout:`inline`,initialValues:{enabled:!1,title:`行业素材案例`,subtitle:`精选图片与视频素材展示`,showOriginalInAdmin:!0},children:[(0,Q.jsx)(X.Item,{name:`enabled`,label:`首页展示`,valuePropName:`checked`,children:(0,Q.jsx)(sF,{})}),(0,Q.jsx)(X.Item,{name:`title`,label:`标题`,rules:[{required:!0,message:`请输入标题`}],children:(0,Q.jsx)(zN,{style:{width:220}})}),(0,Q.jsx)(X.Item,{name:`subtitle`,label:`副标题`,children:(0,Q.jsx)(zN,{style:{width:320}})}),(0,Q.jsx)(X.Item,{name:`showOriginalInAdmin`,label:`后台展示原素材`,valuePropName:`checked`,children:(0,Q.jsx)(sF,{})}),(0,Q.jsx)(X.Item,{children:(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(K2,{}),onClick:p,children:`保存配置`})})]})}),(0,Q.jsx)(FA,{title:`首页素材行业装修`,extra:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(ZS,{onClick:m,children:`刷新`}),(0,Q.jsx)(ZS,{type:`primary`,icon:(0,Q.jsx)(uA,{}),onClick:()=>c(!0),children:`上传素材`})]}),children:(0,Q.jsx)(NA,{items:[{key:`assets`,label:`素材管理`,children:(0,Q.jsx)(HWe,{categories:r,watermarks:a,reloadKey:l})},{key:`categories`,label:`行业类别`,children:(0,Q.jsx)(GWe,{onChanged:m})},{key:`watermarks`,label:`水印库`,children:(0,Q.jsx)(JWe,{embedded:!0,onChanged:m})}]})}),(0,Q.jsx)(qWe,{open:s,onClose:()=>c(!1),categories:r,watermarks:a,onSuccess:m})]})},V9=e=>{if(!e)return``;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},{Text:XWe}=Z,ZWe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)(1),[o,s]=(0,C.useState)(10),[c,l]=(0,C.useState)(0),[u,d]=(0,C.useState)(``),[f,p]=(0,C.useState)(``),[m,h]=(0,C.useState)(),g=[{title:`序号`,dataIndex:`index`,key:`index`,width:60,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:e})},{title:`ID`,dataIndex:`id`,key:`id`},{title:`手机号`,dataIndex:`phone`,key:`phone`,width:150},{title:`受众年龄`,dataIndex:`audienceAge`,key:`audienceAge`,width:100},{title:`受众性别`,dataIndex:`audienceGender`,key:`audienceGender`,width:100},{title:`受众网络`,dataIndex:`audienceNetwork`,key:`audienceNetwork`,width:100},{title:`受众区域`,dataIndex:`audienceRegion`,key:`audienceRegion`,width:100},{title:`预算`,dataIndex:`budget`,key:`budget`,width:100},{title:`成本上限`,dataIndex:`costCap`,key:`costCap`,width:100},{title:`CPA预算`,dataIndex:`cpaBid`,key:`cpaBid`,width:100},{title:`CPC预算`,dataIndex:`cpcBid`,key:`cpcBid`,width:100},{title:`客户名称`,dataIndex:`cusName`,key:`cusName`,width:150},{title:`外部操作`,dataIndex:`externalAction`,key:`externalAction`,width:100},{title:`名称`,dataIndex:`name`,key:`name`,width:150},{title:`名称`,dataIndex:`nobid`,key:`nobid`,width:150},{title:`备注`,dataIndex:`note`,key:`note`,width:150},{title:`平台`,dataIndex:`platform`,key:`platform`,width:100},{title:`定价类型`,dataIndex:`pricingType`,key:`pricingType`,width:100},{title:`目标成本`,dataIndex:`targetCost`,key:`targetCost`,width:100},{title:`用户ID`,dataIndex:`userId`,key:`userId`,width:100},{title:`用户手机号`,dataIndex:`userPhone`,key:`userPhone`,width:150},{title:`是否默认`,dataIndex:`isDefault`,key:`isDefault`,width:100,render:e=>(0,Q.jsx)(CR,{color:e?`green`:`red`,children:e?`是`:`否`})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:180,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:V9(e)})},{title:`更新时间`,dataIndex:`updatedAt`,key:`updatedAt`,width:180,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:V9(e)})}],_=async()=>{r(!0);try{let e=await cHe({id:u||void 0,phone:f||void 0,created_at:m?[m[0].format(`YYYY-MM-DD`),m[1].format(`YYYY-MM-DD`)]:void 0,page:i,page_size:o});t((e.data||[]).map((e,t)=>({...e,index:(i-1)*o+t+1}))),l(e.pagination.total||0)}catch(e){console.error(`加载数据失败:`,e)}finally{r(!1)}};(0,C.useEffect)(()=>{_()},[i,o]);let v=(e,t)=>{a(e),s(t)},y=()=>{a(1),_()};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,Q.jsx)(PM,{style:{color:`#6366f1`,fontSize:16}}),(0,Q.jsx)(XWe,{strong:!0,style:{fontSize:16},children:`素材前测模板`})]}),(0,Q.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:16},children:(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12,alignItems:`center`},children:[(0,Q.jsx)(zN,{placeholder:`ID`,value:u,onChange:e=>d(e.target.value),style:{width:160},allowClear:!0,onPressEnter:y}),(0,Q.jsx)(zN,{placeholder:`手机号`,value:f,onChange:e=>p(e.target.value),style:{width:160},allowClear:!0,onPressEnter:y}),(0,Q.jsx)(uM.RangePicker,{placeholder:[`开始日期`,`结束日期`],value:m,onChange:e=>{e&&e[0]&&e[1]?h([e[0],e[1]]):h(void 0)},style:{width:260}}),(0,Q.jsx)(ZS,{type:`primary`,onClick:y,children:`搜索`})]})}),(0,Q.jsxs)(`div`,{style:{background:`#fff`,borderRadius:16,boxShadow:`0 4px 20px rgba(0,0,0,0.04)`,overflow:`hidden`},children:[(0,Q.jsx)(uR,{dataSource:e,columns:g,loading:n,pagination:!1,rowKey:`id`,bordered:!1,scroll:{x:`max-content`},onRow:()=>({style:{cursor:`pointer`,transition:`background-color 0.15s`},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=`#f8fafc`},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=`transparent`}})}),(0,Q.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,Q.jsx)(tP,{current:i,pageSize:o,total:c,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,pageSizeOptions:[`10`,`20`,`50`,`100`],onChange:v,size:`small`})})]})]})},H9=e=>{if(!e)return``;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},{Text:QWe}=Z,$We=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)(1),[o,s]=(0,C.useState)(10),[c,l]=(0,C.useState)(0),[u,d]=(0,C.useState)(``),[f,p]=(0,C.useState)(``),[m,h]=(0,C.useState)({}),[g,_]=(0,C.useState)([]),[v,y]=(0,C.useState)(void 0),b=[{title:`序号`,dataIndex:`index`,key:`index`,width:60,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:e})},{title:`ID`,dataIndex:`id`,key:`id`},{title:`前台用户ID`,dataIndex:`userId`,key:`userId`},{title:`前台用户手机号`,dataIndex:`userPhone`,key:`userPhone`},{title:`授权应用ID`,dataIndex:`appid`,key:`appid`},{title:`授权绑定账户ID`,dataIndex:`accountId`,key:`accountId`},{title:`授权绑定账户名称`,dataIndex:`accountName`,key:`accountName`},{title:`授权绑定账户角色`,dataIndex:`accountRole`,key:`accountRole`,render:e=>({ADVERTISER:`客户`,CUSTOMER_ADMIN:`普通版工作台-管理员`,CUSTOMER_OPERATOR:`普通版工作台-协作者`,AGENT:`代理商`,CHILD_AGENT:`二级代理商`,PLATFORM_ROLE_STAR:`星图账户`,PLATFORM_ROLE_SHOP_ACCOUNT:`抖音店铺账户`,PLATFORM_ROLE_QIANCHUAN_AGENT:`千川代理商`,PLATFORM_ROLE_STAR_AGENT:`星图代理商`,PLATFORM_ROLE_AWEME:`抖音号`,PLATFORM_ROLE_STAR_MCN:`星图MCN机构`,PLATFORM_ROLE_STAR_ISV:`星图服务商`,AGENT_SYSTEM_ACCOUNT:`代理商系统账户`,PLATFORM_ROLE_LOCAL_AGENT:`本地推代理商`,PLATFORM_ROLE_YUNTU_BRAND_ISV_ADMIN:`云图品牌服务商管理员`,PLATFORM_ROLE_LIFE:`抖音来客账户`,PLATFORM_ROLE_ENTERPRISE_BP_ADMIN:`升级版工作台管理员`,PLATFORM_ROLE_ENTERPRISE_BP_OPERATOR:`升级版工作台协作者`})[e]||e},{title:`授权登录账户用户ID`,dataIndex:`accountUserid`,key:`accountUserid`},{title:`授权登录账户用户名`,dataIndex:`accountUsername`,key:`accountUsername`},{title:`开户方式`,dataIndex:`openType`,key:`openType`,width:120,render:e=>(0,Q.jsx)(`span`,{style:{color:`#1e293b`},children:m[e]||e})},{title:`平台端口`,dataIndex:`portType`,key:`portType`,render:e=>({1:`巨量`,2:`磁力`,3:`巨量星图`,4:`服务单`,5:`腾讯`})[e]||e},{title:`授权刷新Token`,dataIndex:`refreshToken`,key:`refreshToken`},{title:`刷新Token过期时间`,dataIndex:`refreshTokenExpired`,key:`refreshTokenExpired`,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:H9(e)})},{title:`授权Token`,dataIndex:`accessToken`,key:`accessToken`},{title:`Token过期时间`,dataIndex:`accessTokenExpired`,key:`accessTokenExpired`,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:H9(e)})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:180,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:H9(e)})},{title:`更新时间`,dataIndex:`updatedAt`,key:`updatedAt`,width:180,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:H9(e)})}],x=async()=>{try{let e=(await _5()).data||[],t={},n=[];e.forEach(e=>{t[e.openType]=e.typeName,n.push({value:e.openType,label:e.typeName})}),h(t),_(n)}catch(e){console.error(`加载开户方式列表失败:`,e)}},S=async()=>{r(!0);try{let e=await oHe({account_id:u||void 0,account_userid:f||void 0,open_type:v,page:i,page_size:o});t((e.data||[]).map((e,t)=>({...e,index:(i-1)*o+t+1}))),l(e.pagination?.total||0)}catch(e){console.error(`加载数据失败:`,e)}finally{r(!1)}};(0,C.useEffect)(()=>{x(),S()},[i,o]);let w=()=>{a(1),S()};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,Q.jsx)(T$,{style:{color:`#6366f1`,fontSize:16}}),(0,Q.jsx)(QWe,{strong:!0,style:{fontSize:16},children:`投放平台授权列表`})]}),(0,Q.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:16},children:(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12,alignItems:`center`},children:[(0,Q.jsx)(zN,{placeholder:`授权绑定账户ID`,value:u,onChange:e=>d(e.target.value),style:{width:180},allowClear:!0,prefix:(0,Q.jsx)(vb,{}),onPressEnter:w}),(0,Q.jsx)(zN,{placeholder:`授权登录账户用户ID`,value:f,onChange:e=>p(e.target.value),style:{width:180},allowClear:!0,prefix:(0,Q.jsx)(vb,{}),onPressEnter:w}),(0,Q.jsx)(Cb,{placeholder:`开户方式`,value:v,onChange:e=>y(e),style:{width:140},allowClear:!0,options:g}),(0,Q.jsx)(ZS,{type:`primary`,onClick:w,children:`搜索`})]})}),(0,Q.jsx)(`div`,{style:{background:`#fff`,borderRadius:12,boxShadow:`0 1px 3px rgba(0,0,0,0.05)`},children:(0,Q.jsx)(uR,{dataSource:e,columns:b,loading:n,rowKey:`id`,bordered:!1,scroll:{x:`max-content`},pagination:{current:i,pageSize:o,total:c,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{a(e),s(t)}}})})]})},U9=[{key:`is_ad_high_quality_material`,label:`AD优质`,noLabel:`AD非优质素材`,unknownLabel:`AD未知`,yesColor:`green`,noColor:`red`,unknownColor:`default`},{key:`is_ecp_high_quality_material`,label:`千川优质`,noLabel:`千川非优质素材`,unknownLabel:`千川未知`,yesColor:`green`,noColor:`red`,unknownColor:`default`},{key:`is_local_high_quality_material`,label:`本地推优质`,noLabel:`本地推非优质`,unknownLabel:`本地推未知`,yesColor:`green`,noColor:`red`,unknownColor:`default`},{key:`is_inefficient_material`,label:`低效`,noLabel:`非低效`,unknownLabel:`是否低效未知`,yesColor:`red`,noColor:`green`,unknownColor:`default`},{key:`is_first_publish_material`,label:`首发`,noLabel:`非首发`,unknownLabel:`是否首发未知`,yesColor:`blue`,noColor:`default`,unknownColor:`default`}],eGe=({preResult:e})=>{let[t,n]=(0,C.useState)(null),[r,i]=(0,C.useState)(!1);if(C.useEffect(()=>{if(!e){n(null),i(!1);return}try{n(JSON.parse(e)),i(!1)}catch{n(null),i(!0)}},[e]),!e||r||!t)return(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:`-`});let a=e=>{let n=U9.find(t=>t.key===e);if(!n)return null;let r=t[e],i=r===`YES`,a=r===`NO`;if(r===`UNKNOWN`)return null;let o,s;return i?(o=n.label,s=n.yesColor):a&&(o=n.noLabel,s=n.noColor),{tag:(0,Q.jsx)(CR,{color:s,style:{marginRight:6,fontSize:12,borderRadius:4},children:o},e),detail:{label:n.label.replace(`优质`,`优质素材`),value:o,color:s}}};return(0,Q.jsx)(bx,{content:(0,Q.jsxs)(`div`,{style:{maxWidth:500,padding:`8px 0`},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:14,display:`block`,marginBottom:12,color:`#1e293b`},children:`前测结果详情`}),(0,Q.jsxs)(mM,{column:1,size:`small`,style:{marginBottom:12},children:[(0,Q.jsx)(mM.Item,{label:`视频ID`,labelStyle:{fontWeight:500,color:`#64748b`},contentStyle:{color:`#1e293b`},children:t.video_id}),(0,Q.jsx)(mM.Item,{label:`广告主ID`,labelStyle:{fontWeight:500,color:`#64748b`},contentStyle:{color:`#1e293b`},children:t.advertiser_id}),(0,Q.jsx)(mM.Item,{label:`素材ID`,labelStyle:{fontWeight:500,color:`#64748b`},contentStyle:{color:`#1e293b`},children:t.material_id})]}),(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:12,color:`#64748b`,display:`block`,marginBottom:8},children:`质量评估`}),(0,Q.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:8,marginBottom:12},children:U9.map(e=>{let n=t[e.key],r=n===`YES`,i=n===`NO`;if(n===`UNKNOWN`)return null;let a,o;return r?(a=e.label,o=e.yesColor):i&&(a=e.noLabel,o=e.noColor),(0,Q.jsx)(CR,{color:o,style:{fontSize:12,borderRadius:4},children:a},e.key)})}),t.not_ad_high_quality_reason&&t.not_ad_high_quality_reason.length>0&&(0,Q.jsxs)(`div`,{style:{marginBottom:12},children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:12,color:`#ef4444`,display:`block`,marginBottom:8},children:`AD非优质原因`}),(0,Q.jsx)(pP,{dataSource:t.not_ad_high_quality_reason,renderItem:(e,t)=>(0,Q.jsxs)(pP.Item,{style:{padding:`4px 0`,fontSize:12,color:`#64748b`},children:[t+1,`. `,e]},t),size:`small`})]}),t.not_ecp_high_quality_reason&&t.not_ecp_high_quality_reason.length>0&&(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(Z.Text,{strong:!0,style:{fontSize:12,color:`#ef4444`,display:`block`,marginBottom:8},children:`千川非优质原因`}),(0,Q.jsx)(pP,{dataSource:t.not_ecp_high_quality_reason,renderItem:(e,t)=>(0,Q.jsxs)(pP.Item,{style:{padding:`4px 0`,fontSize:12,color:`#64748b`},children:[t+1,`. `,e]},t),size:`small`})]})]}),title:null,trigger:`hover`,placement:`topLeft`,overlayStyle:{borderRadius:12,boxShadow:`0 8px 24px rgba(0,0,0,0.12)`},children:(0,Q.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,alignItems:`center`,gap:4},children:U9.map(e=>a(e.key)?.tag)})})},W9=e=>{if(!e)return``;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},{Text:tGe}=Z,G9=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)(!1),[i,a]=(0,C.useState)(1),[o,s]=(0,C.useState)(10),[c,l]=(0,C.useState)(0),[u,d]=(0,C.useState)(``),[f,p]=(0,C.useState)(``),[m,h]=(0,C.useState)(``),g=[{title:`序号`,dataIndex:`index`,key:`index`,width:60,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:e})},{title:`ID`,dataIndex:`id`,key:`id`},{title:`广告主账户ID`,dataIndex:`advertiserId`,key:`advertiserId`},{title:`备注`,dataIndex:`note`,key:`note`,width:200,render:e=>(0,Q.jsx)(zN.TextArea,{value:e||``,readOnly:!0,autoSize:{minRows:1,maxRows:4},style:{color:`#94a3b8`,resize:`none`,border:`none`,background:`transparent`,padding:0},placeholder:`-`})},{title:`授权ID`,dataIndex:`oauthId`,key:`oauthId`},{title:`预测试结果`,dataIndex:`preResult`,key:`preResult`,width:120,render:e=>(0,Q.jsx)(eGe,{preResult:e})},{title:`预测试模板ID`,dataIndex:`preTestTemplateId`,key:`preTestTemplateId`},{title:`目标标ID`,dataIndex:`targetId`,key:`targetId`},{title:`目标表`,dataIndex:`targetTable`,key:`targetTable`},{title:`任务ID`,dataIndex:`taskId`,key:`taskId`},{title:`用户ID`,dataIndex:`userId`,key:`userId`},{title:`素材ID`,dataIndex:`materialId`,key:`materialId`,width:180},{title:`上传ID`,dataIndex:`uploadId`,key:`uploadId`,render:e=>{if(!e)return`-`;let t=e.length>12?`${e.slice(0,6)}...${e.slice(-4)}`:e;return(0,Q.jsx)(px,{title:e,placement:`topLeft`,children:(0,Q.jsx)(Z.Text,{style:{fontSize:12},children:t})})}},{title:`资源类型`,dataIndex:`resourceType`,key:`resourceType`,width:100,render:e=>(0,Q.jsx)(CR,{color:e===`video`?`blue`:`green`,children:e===`video`?`视频`:`图片`})},{title:`状态`,dataIndex:`status`,key:`status`,width:100,render:e=>(0,Q.jsx)(CR,{color:e===`SUCCESS`?`green`:e===`PENDING`?`orange`:`red`,children:e===`SUCCESS`?`成功`:e===`PENDING`?`处理中`:`失败`})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:180,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:W9(e)})},{title:`更新时间`,dataIndex:`updatedAt`,key:`updatedAt`,width:180,render:e=>(0,Q.jsx)(`span`,{style:{color:`#64748b`},children:W9(e)})}],_=async()=>{r(!0);try{let e=await sHe({material_id:u||void 0,upload_id:f||void 0,resource_type:m||void 0,page:i,page_size:o});t((e.data||[]).map((e,t)=>({...e,index:(i-1)*o+t+1}))),l(e.pagination?.total||0)}catch(e){console.error(`加载数据失败:`,e)}finally{r(!1)}};(0,C.useEffect)(()=>{_()},[i,o]);let v=()=>{a(1),_()};return(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,Q.jsx)(PM,{style:{color:`#6366f1`,fontSize:16}}),(0,Q.jsx)(tGe,{strong:!0,style:{fontSize:16},children:`素材ID列表`})]}),(0,Q.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:16},children:(0,Q.jsxs)(`div`,{style:{display:`flex`,gap:12,alignItems:`center`},children:[(0,Q.jsx)(zN,{placeholder:`素材ID`,value:u,onChange:e=>d(e.target.value),style:{width:160},allowClear:!0,onPressEnter:v}),(0,Q.jsx)(zN,{placeholder:`上传ID`,value:f,onChange:e=>p(e.target.value),style:{width:160},allowClear:!0,onPressEnter:v}),(0,Q.jsx)(zN,{placeholder:`文件名`,value:m,onChange:e=>h(e.target.value),style:{width:140},allowClear:!0,onPressEnter:v}),(0,Q.jsx)(Cb,{placeholder:`资源类型`,value:m,onChange:e=>h(e),style:{width:120},allowClear:!0,options:[{value:`image`,label:`图片`},{value:`video`,label:`视频`}]}),(0,Q.jsx)(ZS,{type:`primary`,onClick:v,children:`搜索`})]})}),(0,Q.jsxs)(`div`,{style:{background:`#fff`,borderRadius:12,boxShadow:`0 1px 3px rgba(0,0,0,0.05)`},children:[(0,Q.jsx)(uR,{dataSource:e,columns:g,loading:n,pagination:!1,rowKey:`id`,bordered:!1,scroll:{x:`max-content`}}),(0,Q.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,Q.jsx)(tP,{current:i,pageSize:o,total:c,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{a(e),s(t)},size:`small`})})]})]})},{Title:nGe,Text:K9}=Z,q9=20,rGe=[{label:`全部素材库`,value:``},{label:`真人认证`,value:`real_person`},{label:`虚拟人像`,value:`aigc_virtual`}],iGe=[{label:`全部类型`,value:``},{label:`图片`,value:`Image`},{label:`视频`,value:`Video`}],aGe=[{label:`全部项目状态`,value:``},{label:`可用`,value:`active`},{label:`认证中`,value:`validating`},{label:`认证失败`,value:`validate_failed`},{label:`创建远端组中`,value:`creating_remote_group`},{label:`创建远端组失败`,value:`create_group_failed`},{label:`已删除`,value:`deleted`}],oGe=[{label:`全部素材状态`,value:``},{label:`创建中`,value:`creating`},{label:`处理中`,value:`Processing`},{label:`可用`,value:`Active`},{label:`失败`,value:`Failed`},{label:`本地已删`,value:`local_deleted`},{label:`远端已删`,value:`remote_deleted`},{label:`删除失败`,value:`delete_failed`}],J9=e=>e===`real_person`?`真人认证`:e===`aigc_virtual`?`虚拟人像`:e||`-`,Y9=e=>e===`real_person`?`purple`:e===`aigc_virtual`?`cyan`:`default`,X9=e=>e===`Active`||e===`active`?`green`:e===`Processing`||e===`creating_remote_group`||e===`validating`||e===`creating`?`blue`:e===`Failed`||e===`failed`||e===`delete_failed`||e===`validate_failed`||e===`create_group_failed`?`red`:(e?.includes(`deleted`),`default`),sGe=e=>e===`Image`?`图片`:e===`Video`?`视频`:e||`-`,Z9=(e,t=10)=>e?e.length<=t*2+3?e:`${e.slice(0,t)}...${e.slice(-t)}`:`-`,Q9=async e=>{e&&(await navigator.clipboard?.writeText(e),xP.success(`已复制`))},$9=e=>{if(!e)return``;let t=String(e).trim();return!t||t.startsWith(`asset://`)?``:A9(t)},cGe=({asset:e})=>{let t=$9(e.displayUrl||e.previewUrl||e.remoteUrl||e.sourceUrl),n=$9(e.videoCoverUrl||e.previewUrl||e.displayUrl||e.sourceUrl);return e.assetType===`Video`?(0,Q.jsxs)(`div`,{style:{width:72,height:52,borderRadius:10,overflow:`hidden`,background:`#f5f3ff`,display:`flex`,alignItems:`center`,justifyContent:`center`,position:`relative`},children:[n?(0,Q.jsx)(`img`,{src:n,style:{width:`100%`,height:`100%`,objectFit:`cover`}}):(0,Q.jsx)(u0,{style:{fontSize:24,color:`#8b5cf6`}}),t?(0,Q.jsx)(`a`,{href:t,target:`_blank`,rel:`noreferrer`,style:{position:`absolute`,inset:0}}):null,(0,Q.jsx)(u0,{style:{position:`absolute`,color:`#fff`,fontSize:22,filter:`drop-shadow(0 1px 3px rgba(0,0,0,.45))`}})]}):t?(0,Q.jsx)(TN,{width:72,height:52,src:t,style:{objectFit:`cover`,borderRadius:10}}):(0,Q.jsx)(`div`,{style:{width:72,height:52,borderRadius:10,background:`#f5f5f5`}})},lGe=()=>{let[e,t]=(0,C.useState)([]),[n,r]=(0,C.useState)([]),[i,a]=(0,C.useState)(0),[o,s]=(0,C.useState)(0),[c,l]=(0,C.useState)(!1),[u,d]=(0,C.useState)(!1),[f,p]=(0,C.useState)(``),[m,h]=(0,C.useState)(``),[g,_]=(0,C.useState)(``),[v,y]=(0,C.useState)(``),[b,x]=(0,C.useState)(``),[S,w]=(0,C.useState)(),[T,E]=(0,C.useState)(1),[D,O]=(0,C.useState)(1),k=(0,C.useMemo)(()=>({keyword:f.trim()||void 0,libraryType:m||void 0,assetType:g||void 0,projectStatus:v||void 0,assetStatus:b||void 0}),[f,m,g,v,b]),A=async()=>{l(!0);try{let e=await lHe({keyword:k.keyword,libraryType:k.libraryType,status:k.projectStatus,page:T,pageSize:q9});t(e.items||[]),a(e.total||0)}catch(e){xP.error(e?.message||`加载私域人像素材项目失败`)}finally{l(!1)}},j=async()=>{d(!0);try{let e=await uHe({projectId:S,keyword:k.keyword,libraryType:k.libraryType,assetType:k.assetType,status:k.assetStatus,page:D,pageSize:q9});r(e.items||[]),s(e.total||0)}catch(e){xP.error(e?.message||`加载私域人像素材失败`)}finally{d(!1)}};(0,C.useEffect)(()=>{A()},[T,k.libraryType,k.projectStatus]),(0,C.useEffect)(()=>{j()},[S,D,k.libraryType,k.assetType,k.assetStatus]);let M=()=>{E(1),O(1),setTimeout(()=>{A(),j()},0)},N=()=>{p(``),h(``),_(``),y(``),x(``),w(void 0),E(1),O(1)},P=(0,C.useMemo)(()=>e.reduce((e,t)=>(e.asset+=t.assetCount||0,e.image+=t.imageAssetCount||0,e.video+=t.videoAssetCount||0,e.active+=t.activeAssetCount||0,e),{asset:0,image:0,video:0,active:0}),[e]),F=[{title:`项目名称`,dataIndex:`name`,width:200,fixed:`left`,render:(e,t)=>(0,Q.jsx)(ZS,{type:`link`,onClick:()=>{w(t.id),O(1)},children:e})},{title:`类型`,dataIndex:`libraryType`,width:110,render:e=>(0,Q.jsx)(CR,{color:Y9(e),children:J9(e)})},{title:`用户ID`,dataIndex:`userId`,width:170,render:e=>(0,Q.jsx)(K9,{code:!0,copyable:!!e,children:e||`-`})},{title:`状态`,dataIndex:`status`,width:130,render:e=>(0,Q.jsx)(CR,{color:X9(e),children:e})},{title:`素材`,width:170,render:(e,t)=>(0,Q.jsxs)(AM,{size:4,children:[(0,Q.jsxs)(CR,{children:[`总 `,t.assetCount||0]}),(0,Q.jsxs)(CR,{color:`blue`,children:[`图 `,t.imageAssetCount||0]}),(0,Q.jsxs)(CR,{color:`geekblue`,children:[`视 `,t.videoAssetCount||0]})]})},{title:`Active`,dataIndex:`activeAssetCount`,width:90},{title:`ProjectName`,dataIndex:`remoteProjectName`,width:180,render:e=>(0,Q.jsx)(K9,{code:!0,copyable:!!e,children:e||`-`})},{title:`创建时间`,dataIndex:`createdAt`,width:170,render:D5},{title:`更新时间`,dataIndex:`updatedAt`,width:170,render:D5}],I=[{title:`预览`,width:100,fixed:`left`,render:(e,t)=>(0,Q.jsx)(cGe,{asset:t})},{title:`素材名称`,dataIndex:`name`,width:180,render:(e,t)=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(K9,{strong:!0,children:e||`未命名素材`}),(0,Q.jsx)(`br`,{}),(0,Q.jsx)(K9,{type:`secondary`,children:sGe(t.assetType)})]})},{title:`库类型`,dataIndex:`libraryType`,width:110,render:e=>(0,Q.jsx)(CR,{color:Y9(e),children:J9(e)})},{title:`用户ID`,dataIndex:`userId`,width:170,render:e=>(0,Q.jsx)(K9,{code:!0,copyable:!!e,children:e||`-`})},{title:`本地项目`,dataIndex:`projectName`,width:160,render:e=>e||`-`},{title:`状态`,dataIndex:`status`,width:120,render:e=>(0,Q.jsx)(CR,{color:X9(e),children:e})},{title:`AssetId`,dataIndex:`remoteAssetId`,width:190,render:e=>(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(K9,{code:!0,children:Z9(e)}),e?(0,Q.jsx)(ZS,{size:`small`,type:`text`,icon:(0,Q.jsx)(QR,{}),onClick:()=>Q9(e)}):null]})},{title:`GroupId`,dataIndex:`remoteGroupId`,width:190,render:e=>(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(K9,{code:!0,children:Z9(e)}),e?(0,Q.jsx)(ZS,{size:`small`,type:`text`,icon:(0,Q.jsx)(QR,{}),onClick:()=>Q9(e)}):null]})},{title:`轮询`,width:160,render:(e,t)=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(K9,{children:[`次数:`,t.pollCount||0]}),(0,Q.jsx)(`br`,{}),(0,Q.jsxs)(K9,{type:`secondary`,children:[`下次:`,D5(t.nextPollAt)]})]})},{title:`错误`,dataIndex:`errorMessage`,width:240,ellipsis:!0,render:e=>e?(0,Q.jsx)(px,{title:e,children:(0,Q.jsx)(K9,{type:`danger`,children:e})}):`-`},{title:`创建时间`,dataIndex:`createdAt`,width:170,render:D5}];return(0,Q.jsxs)(`div`,{style:{padding:24,background:`#f7f7fb`,minHeight:`100%`},children:[(0,Q.jsxs)(AM,{style:{width:`100%`,justifyContent:`space-between`,marginBottom:16},align:`start`,children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(nGe,{level:3,style:{margin:0},children:`私域人像素材库`}),(0,Q.jsx)(K9,{type:`secondary`,children:`统一查看真人认证素材与虚拟人像素材,支持图片/视频资产状态排查。`})]}),(0,Q.jsxs)(AM,{wrap:!0,children:[(0,Q.jsx)(zN,{allowClear:!0,prefix:(0,Q.jsx)(vb,{}),placeholder:`搜索项目/素材`,value:f,onChange:e=>p(e.target.value),onPressEnter:M,style:{width:240}}),(0,Q.jsx)(Cb,{value:m,onChange:e=>{h(e),E(1),O(1)},options:rGe,style:{width:150}}),(0,Q.jsx)(Cb,{value:g,onChange:e=>{_(e),O(1)},options:iGe,style:{width:130}}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(vb,{}),type:`primary`,onClick:M,children:`查询`}),(0,Q.jsx)(ZS,{onClick:N,children:`重置`}),(0,Q.jsx)(ZS,{icon:(0,Q.jsx)(zP,{}),onClick:()=>{A(),j()},children:`刷新`})]})]}),(0,Q.jsxs)(AM,{size:16,wrap:!0,style:{marginBottom:16},children:[(0,Q.jsx)(FA,{style:{width:180},children:(0,Q.jsx)(GP,{title:`项目数`,value:i})}),(0,Q.jsx)(FA,{style:{width:180},children:(0,Q.jsx)(GP,{title:`当前页素材`,value:P.asset})}),(0,Q.jsx)(FA,{style:{width:180},children:(0,Q.jsx)(GP,{title:`图片`,value:P.image})}),(0,Q.jsx)(FA,{style:{width:180},children:(0,Q.jsx)(GP,{title:`视频`,value:P.video})}),(0,Q.jsx)(FA,{style:{width:180},children:(0,Q.jsx)(GP,{title:`Active`,value:P.active})})]}),(0,Q.jsx)(FA,{title:`项目组`,style:{marginBottom:16,borderRadius:14},extra:(0,Q.jsx)(Cb,{value:v,onChange:e=>{y(e),E(1)},options:aGe,style:{width:180}}),children:(0,Q.jsx)(uR,{rowKey:`id`,columns:F,dataSource:e,loading:c,pagination:{current:T,pageSize:q9,total:i,onChange:E},size:`small`,scroll:{x:1350}})}),(0,Q.jsx)(FA,{title:S?`项目素材明细`:`全部素材明细`,style:{borderRadius:14},extra:(0,Q.jsxs)(AM,{children:[(0,Q.jsx)(Cb,{value:b,onChange:e=>{x(e),O(1)},options:oGe,style:{width:170}}),S?(0,Q.jsx)(ZS,{size:`small`,onClick:()=>w(void 0),children:`查看全部`}):null]}),children:(0,Q.jsx)(uR,{rowKey:`id`,columns:I,dataSource:n,loading:u,pagination:{current:D,pageSize:q9,total:o,onChange:O},size:`small`,scroll:{x:1700}})})]})},uGe=({children:e})=>{let{user:t,loading:n,checkAuth:r}=C5();return(0,C.useEffect)(()=>{!localStorage.getItem(`auth_token`)&&!n&&!t&&(window.location.href=`/login`)},[t,n]),n?(0,Q.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,alignItems:`center`,height:`100vh`},children:(0,Q.jsx)(uP,{size:`large`})}):t?(0,Q.jsx)(Q.Fragment,{children:e}):(window.location.href=`/login`,null)};(0,v.createRoot)(document.getElementById(`root`)).render((0,Q.jsx)(()=>{let{checkAuth:e}=C5();return(0,C.useEffect)(()=>{e()},[]),(0,Q.jsx)($p,{locale:F8.default,theme:{token:{colorPrimary:`#6366f1`,borderRadius:8},components:{Button:{controlHeight:36,controlHeightLG:44},Card:{boxShadow:`0 1px 3px rgba(0,0,0,0.04)`},Table:{headerBg:`#fafbfc`}}},children:(0,Q.jsx)(Lv,{children:(0,Q.jsx)(_n,{children:(0,Q.jsxs)(kt,{children:[(0,Q.jsx)(Dt,{path:`/login`,element:(0,Q.jsx)(xHe,{})}),(0,Q.jsxs)(Dt,{path:`/`,element:(0,Q.jsx)(uGe,{children:(0,Q.jsx)(gHe,{})}),children:[(0,Q.jsx)(Dt,{index:!0,element:(0,Q.jsx)(SHe,{})}),(0,Q.jsx)(Dt,{path:`users`,element:(0,Q.jsx)(EHe,{})}),(0,Q.jsx)(Dt,{path:`teams`,element:(0,Q.jsx)(AHe,{})}),(0,Q.jsx)(Dt,{path:`credit-records`,element:(0,Q.jsx)(tUe,{})}),(0,Q.jsx)(Dt,{path:`models`,element:(0,Q.jsx)(jHe,{})}),(0,Q.jsx)(Dt,{path:`credit-ratios`,element:(0,Q.jsx)(hUe,{})}),(0,Q.jsx)(Dt,{path:`video-engines`,element:(0,Q.jsx)(lUe,{})}),(0,Q.jsx)(Dt,{path:`image-engines`,element:(0,Q.jsx)(fUe,{})}),(0,Q.jsx)(Dt,{path:`industries`,element:(0,Q.jsx)(cUe,{})}),(0,Q.jsx)(Dt,{path:`menu-configs`,element:(0,Q.jsx)(yUe,{})}),(0,Q.jsx)(Dt,{path:`recharge-packages`,element:(0,Q.jsx)(SUe,{})}),(0,Q.jsx)(Dt,{path:`payment`,element:(0,Q.jsx)(nUe,{})}),(0,Q.jsx)(Dt,{path:`payment-stats`,element:(0,Q.jsx)(iUe,{})}),(0,Q.jsx)(Dt,{path:`settings`,element:(0,Q.jsx)(NHe,{})}),(0,Q.jsx)(Dt,{path:`video-prompt-schema-config`,element:(0,Q.jsx)(AWe,{})}),(0,Q.jsx)(Dt,{path:`notifications`,element:(0,Q.jsx)(PHe,{})}),(0,Q.jsx)(Dt,{path:`oauthapp-list`,element:(0,Q.jsx)(TUe,{})}),(0,Q.jsx)(Dt,{path:`operation-logs`,element:(0,Q.jsx)(wUe,{})}),(0,Q.jsx)(Dt,{path:`generation-records`,element:(0,Q.jsx)(AUe,{})}),(0,Q.jsx)(Dt,{path:`generation-ai`,element:(0,Q.jsx)(FUe,{})}),(0,Q.jsx)(Dt,{path:`hot-opening-replications`,element:(0,Q.jsx)(BUe,{})}),(0,Q.jsx)(Dt,{path:`hot-opening-replications/:projectId`,element:(0,Q.jsx)(oWe,{})}),(0,Q.jsx)(Dt,{path:`shot-replications`,element:(0,Q.jsx)(dWe,{})}),(0,Q.jsx)(Dt,{path:`shot-replications/task-sets/:taskSetId`,element:(0,Q.jsx)(bWe,{})}),(0,Q.jsx)(Dt,{path:`shot-replications/projects/:projectId`,element:(0,Q.jsx)(i9,{moduleType:`shot_replicate`})}),(0,Q.jsx)(Dt,{path:`authoriza`,element:(0,Q.jsx)(vHe,{})}),(0,Q.jsx)(Dt,{path:`consume`,element:(0,Q.jsx)(bHe,{})}),(0,Q.jsx)(Dt,{path:`platform`,element:(0,Q.jsx)(CHe,{})}),(0,Q.jsx)(Dt,{path:`contact-requests`,element:(0,Q.jsx)(jWe,{})}),(0,Q.jsx)(Dt,{path:`home-materials`,element:(0,Q.jsx)(YWe,{})}),(0,Q.jsx)(Dt,{path:`pretest-templates`,element:(0,Q.jsx)(ZWe,{})}),(0,Q.jsx)(Dt,{path:`oauth-list`,element:(0,Q.jsx)($We,{})}),(0,Q.jsx)(Dt,{path:`material-list`,element:(0,Q.jsx)(G9,{})}),(0,Q.jsx)(Dt,{path:`private-portrait-projects`,element:(0,Q.jsx)(lGe,{})})]}),(0,Q.jsx)(Dt,{path:`*`,element:(0,Q.jsx)(Tt,{to:`/`,replace:!0})})]})})})})},{})); \ No newline at end of file diff --git a/video-gen-admin/dist/index.html b/video-gen-admin/dist/index.html index 25b0feb1..e1d641e3 100644 --- a/video-gen-admin/dist/index.html +++ b/video-gen-admin/dist/index.html @@ -1,37 +1,37 @@ - - - - - - - - - - 后台管理 - - + + + + + + + + + + 后台管理 + + - - -
- - + + +
+ + diff --git a/video-gen-admin/src/api/index.ts b/video-gen-admin/src/api/index.ts index ede895ca..fea31823 100644 --- a/video-gen-admin/src/api/index.ts +++ b/video-gen-admin/src/api/index.ts @@ -448,7 +448,7 @@ export async function deleteMenuConfig(id: string): Promise { // ── User Creation ─────────────────────────────────────── -export async function createUser(data: { username?: string; password: string; email?: string; phone?: string; credits: number; user_type: string; frontend_user_kind?: string; allowed_menus?: string[] | null; private_portrait_image_limit?: number }): Promise { +export async function createUser(data: { username?: string; password: string; email?: string; phone?: string; credits: number; user_type: string; frontend_user_kind?: string; allowed_menus?: string[] | null; private_portrait_asset_limit?: number }): Promise { return api.post('/admin/users', data); } @@ -1017,22 +1017,25 @@ export async function getPreTestTemplateList(params: PreTestTemplateListParams): } // ── Private Portrait Admin ──────────────────────────────── -export async function adminGetPrivatePortraitProjects(params: { userId?: string; keyword?: string; status?: string; page?: number; pageSize?: number } = {}): Promise { +export async function adminGetPrivatePortraitProjects(params: { userId?: string; libraryType?: string; keyword?: string; status?: string; page?: number; pageSize?: number } = {}): Promise { const query = new URLSearchParams(); query.set('page', String(params.page || 1)); query.set('page_size', String(params.pageSize || 20)); if (params.userId) query.set('user_id', params.userId); + if (params.libraryType) query.set('library_type', params.libraryType); if (params.keyword) query.set('keyword', params.keyword); if (params.status) query.set('status', params.status); return api.get(`/admin/private-portrait/projects?${query.toString()}`); } -export async function adminGetPrivatePortraitAssets(params: { userId?: string; projectId?: string; keyword?: string; status?: string; page?: number; pageSize?: number } = {}): Promise { +export async function adminGetPrivatePortraitAssets(params: { userId?: string; projectId?: string; libraryType?: string; assetType?: string; keyword?: string; status?: string; page?: number; pageSize?: number } = {}): Promise { const query = new URLSearchParams(); query.set('page', String(params.page || 1)); query.set('page_size', String(params.pageSize || 20)); if (params.userId) query.set('user_id', params.userId); if (params.projectId) query.set('project_id', params.projectId); + if (params.libraryType) query.set('library_type', params.libraryType); + if (params.assetType) query.set('asset_type', params.assetType); if (params.keyword) query.set('keyword', params.keyword); if (params.status) query.set('status', params.status); return api.get(`/admin/private-portrait/assets?${query.toString()}`); @@ -1044,5 +1047,5 @@ export async function adminGetPrivatePortraitConfig(userId: string): Promise { - return api.put(`/admin/private-portrait/users/${userId}/config`, { private_portrait_image_limit: limit }); + return api.put(`/admin/private-portrait/users/${userId}/config`, { private_portrait_asset_limit: limit }); } diff --git a/video-gen-admin/src/pages/AdminPrivatePortraitProjects.tsx b/video-gen-admin/src/pages/AdminPrivatePortraitProjects.tsx index 64caa200..6928d6c7 100644 --- a/video-gen-admin/src/pages/AdminPrivatePortraitProjects.tsx +++ b/video-gen-admin/src/pages/AdminPrivatePortraitProjects.tsx @@ -1,20 +1,110 @@ -import React, { useEffect, useState } from 'react'; -import { Button, Card, Input, Space, Table, Tag, Typography, message } from 'antd'; +import React, { useEffect, useMemo, useState } from 'react'; +import { Button, Card, Image, Input, Select, Space, Statistic, Table, Tag, Tooltip, Typography, message } from 'antd'; import type { ColumnsType } from 'antd/es/table'; -import { ReloadOutlined, SearchOutlined } from '@ant-design/icons'; +import { CopyOutlined, PlayCircleOutlined, ReloadOutlined, SearchOutlined } from '@ant-design/icons'; import { adminGetPrivatePortraitAssets, adminGetPrivatePortraitProjects } from '../api'; import type { PrivatePortraitAsset, PrivatePortraitProject } from '../types'; +import { formatDate } from '../utils/formatDate'; +import { apiUrl } from '../utils/resourceUrl'; const { Title, Text } = Typography; +const PAGE_SIZE = 20; + +const LIBRARY_OPTIONS = [ + { label: '全部素材库', value: '' }, + { label: '真人认证', value: 'real_person' }, + { label: '虚拟人像', value: 'aigc_virtual' }, +]; + +const ASSET_TYPE_OPTIONS = [ + { label: '全部类型', value: '' }, + { label: '图片', value: 'Image' }, + { label: '视频', value: 'Video' }, +]; + +const PROJECT_STATUS_OPTIONS = [ + { label: '全部项目状态', value: '' }, + { label: '可用', value: 'active' }, + { label: '认证中', value: 'validating' }, + { label: '认证失败', value: 'validate_failed' }, + { label: '创建远端组中', value: 'creating_remote_group' }, + { label: '创建远端组失败', value: 'create_group_failed' }, + { label: '已删除', value: 'deleted' }, +]; + +const ASSET_STATUS_OPTIONS = [ + { label: '全部素材状态', value: '' }, + { label: '创建中', value: 'creating' }, + { label: '处理中', value: 'Processing' }, + { label: '可用', value: 'Active' }, + { label: '失败', value: 'Failed' }, + { label: '本地已删', value: 'local_deleted' }, + { label: '远端已删', value: 'remote_deleted' }, + { label: '删除失败', value: 'delete_failed' }, +]; + +const libraryLabel = (value?: string | null) => { + if (value === 'real_person') return '真人认证'; + if (value === 'aigc_virtual') return '虚拟人像'; + return value || '-'; +}; + +const libraryColor = (value?: string | null) => { + if (value === 'real_person') return 'purple'; + if (value === 'aigc_virtual') return 'cyan'; + return 'default'; +}; + const statusColor = (status?: string) => { if (status === 'Active' || status === 'active') return 'green'; - if (status === 'Processing') return 'blue'; - if (status === 'Failed' || status === 'failed' || status === 'delete_failed') return 'red'; + if (status === 'Processing' || status === 'creating_remote_group' || status === 'validating' || status === 'creating') return 'blue'; + if (status === 'Failed' || status === 'failed' || status === 'delete_failed' || status === 'validate_failed' || status === 'create_group_failed') return 'red'; if (status?.includes('deleted')) return 'default'; return 'default'; }; +const assetTypeLabel = (value?: string | null) => { + if (value === 'Image') return '图片'; + if (value === 'Video') return '视频'; + return value || '-'; +}; + +const shortId = (value?: string | null, keep = 10) => { + if (!value) return '-'; + if (value.length <= keep * 2 + 3) return value; + return `${value.slice(0, keep)}...${value.slice(-keep)}`; +}; + +const copyText = async (value?: string | null) => { + if (!value) return; + await navigator.clipboard?.writeText(value); + message.success('已复制'); +}; + +const toPreviewUrl = (value?: string | null) => { + if (!value) return ''; + const trimmed = String(value).trim(); + if (!trimmed || trimmed.startsWith('asset://')) return ''; + return apiUrl(trimmed); +}; + +const PreviewCell: React.FC<{ asset: PrivatePortraitAsset }> = ({ asset }) => { + const url = toPreviewUrl(asset.displayUrl || asset.previewUrl || asset.remoteUrl || asset.sourceUrl); + const cover = toPreviewUrl(asset.videoCoverUrl || asset.previewUrl || asset.displayUrl || asset.sourceUrl); + if (asset.assetType === 'Video') { + return ( +
+ {cover ? : } + {url ? : null} + +
+ ); + } + if (url) return ; + return
; +}; + const AdminPrivatePortraitProjects: React.FC = () => { const [projects, setProjects] = useState([]); const [assets, setAssets] = useState([]); @@ -23,18 +113,36 @@ const AdminPrivatePortraitProjects: React.FC = () => { const [loadingProjects, setLoadingProjects] = useState(false); const [loadingAssets, setLoadingAssets] = useState(false); const [keyword, setKeyword] = useState(''); + const [libraryType, setLibraryType] = useState(''); + const [assetType, setAssetType] = useState(''); + const [projectStatus, setProjectStatus] = useState(''); + const [assetStatus, setAssetStatus] = useState(''); const [selectedProjectId, setSelectedProjectId] = useState(); const [projectPage, setProjectPage] = useState(1); const [assetPage, setAssetPage] = useState(1); + const filters = useMemo(() => ({ + keyword: keyword.trim() || undefined, + libraryType: libraryType || undefined, + assetType: assetType || undefined, + projectStatus: projectStatus || undefined, + assetStatus: assetStatus || undefined, + }), [keyword, libraryType, assetType, projectStatus, assetStatus]); + const loadProjects = async () => { setLoadingProjects(true); try { - const res = await adminGetPrivatePortraitProjects({ keyword: keyword.trim() || undefined, page: projectPage, pageSize: 20 }); + const res = await adminGetPrivatePortraitProjects({ + keyword: filters.keyword, + libraryType: filters.libraryType, + status: filters.projectStatus, + page: projectPage, + pageSize: PAGE_SIZE, + }); setProjects(res.items || []); setProjectTotal(res.total || 0); } catch (err: any) { - message.error(err?.message || '加载真人素材项目失败'); + message.error(err?.message || '加载私域人像素材项目失败'); } finally { setLoadingProjects(false); } @@ -43,88 +151,111 @@ const AdminPrivatePortraitProjects: React.FC = () => { const loadAssets = async () => { setLoadingAssets(true); try { - const res = await adminGetPrivatePortraitAssets({ projectId: selectedProjectId, keyword: keyword.trim() || undefined, page: assetPage, pageSize: 20 }); + const res = await adminGetPrivatePortraitAssets({ + projectId: selectedProjectId, + keyword: filters.keyword, + libraryType: filters.libraryType, + assetType: filters.assetType, + status: filters.assetStatus, + page: assetPage, + pageSize: PAGE_SIZE, + }); setAssets(res.items || []); setAssetTotal(res.total || 0); } catch (err: any) { - message.error(err?.message || '加载真人素材失败'); + message.error(err?.message || '加载私域人像素材失败'); } finally { setLoadingAssets(false); } }; - useEffect(() => { loadProjects(); }, [projectPage]); - useEffect(() => { loadAssets(); }, [selectedProjectId, assetPage]); + useEffect(() => { loadProjects(); }, [projectPage, filters.libraryType, filters.projectStatus]); + useEffect(() => { loadAssets(); }, [selectedProjectId, assetPage, filters.libraryType, filters.assetType, filters.assetStatus]); + + const searchAll = () => { + setProjectPage(1); + setAssetPage(1); + setTimeout(() => { loadProjects(); loadAssets(); }, 0); + }; + + const resetFilters = () => { + setKeyword(''); + setLibraryType(''); + setAssetType(''); + setProjectStatus(''); + setAssetStatus(''); + setSelectedProjectId(undefined); + setProjectPage(1); + setAssetPage(1); + }; + + const projectSummary = useMemo(() => { + return projects.reduce((acc, item) => { + acc.asset += item.assetCount || 0; + acc.image += item.imageAssetCount || 0; + acc.video += item.videoAssetCount || 0; + acc.active += item.activeAssetCount || 0; + return acc; + }, { asset: 0, image: 0, video: 0, active: 0 }); + }, [projects]); const projectColumns: ColumnsType = [ - { title: '项目名称', dataIndex: 'name', width: 180, render: (v, r) => }, - { title: '用户ID', dataIndex: 'userId', width: 170, render: (v) => {v || '-'} }, - { title: '状态', dataIndex: 'status', width: 100, render: (v) => {v} }, - { title: 'ProjectName', dataIndex: 'remoteProjectName', width: 240, render: (v) => {v || '-'} }, - { title: '素材数', dataIndex: 'assetCount', width: 100 }, - { title: 'Active', dataIndex: 'activeAssetCount', width: 100 }, - { title: '创建时间', dataIndex: 'createdAt', width: 170, render: (v) => v || '-' }, + { title: '项目名称', dataIndex: 'name', width: 200, fixed: 'left', render: (v, r) => }, + { title: '类型', dataIndex: 'libraryType', width: 110, render: (v) => {libraryLabel(v)} }, + { title: '用户ID', dataIndex: 'userId', width: 170, render: (v) => {v || '-'} }, + { title: '状态', dataIndex: 'status', width: 130, render: (v) => {v} }, + { title: '素材', width: 170, render: (_, r) => 总 {r.assetCount || 0}图 {r.imageAssetCount || 0}视 {r.videoAssetCount || 0} }, + { title: 'Active', dataIndex: 'activeAssetCount', width: 90 }, + { title: 'ProjectName', dataIndex: 'remoteProjectName', width: 180, render: (v) => {v || '-'} }, + { title: '创建时间', dataIndex: 'createdAt', width: 170, render: formatDate }, + { title: '更新时间', dataIndex: 'updatedAt', width: 170, render: formatDate }, ]; const assetColumns: ColumnsType = [ - { title: '素材', dataIndex: 'name', width: 180, render: (v, r) => v || r.remoteAssetId || '-' }, - { title: '用户ID', dataIndex: 'userId', width: 170, render: (v) => {v || '-'} }, - { title: '本地项目', dataIndex: 'projectName', width: 160 }, - { title: 'AssetId', dataIndex: 'remoteAssetId', width: 240, render: (v) => {v} }, - { title: 'GroupId', dataIndex: 'remoteGroupId', width: 240, render: (v) => {v} }, - { title: 'ProjectName', dataIndex: 'remoteProjectName', width: 240, render: (v) => {v || '-'} }, - { title: '类型', dataIndex: 'assetType', width: 90 }, - { title: '状态', dataIndex: 'status', width: 110, render: (v) => {v} }, - { title: '错误', dataIndex: 'errorMessage', width: 240, ellipsis: true, render: (v) => v || '-' }, - { title: '创建时间', dataIndex: 'createdAt', width: 170, render: (v) => v || '-' }, + { title: '预览', width: 100, fixed: 'left', render: (_, r) => }, + { title: '素材名称', dataIndex: 'name', width: 180, render: (v, r) =>
{v || '未命名素材'}
{assetTypeLabel(r.assetType)}
}, + { title: '库类型', dataIndex: 'libraryType', width: 110, render: (v) => {libraryLabel(v)} }, + { title: '用户ID', dataIndex: 'userId', width: 170, render: (v) => {v || '-'} }, + { title: '本地项目', dataIndex: 'projectName', width: 160, render: (v) => v || '-' }, + { title: '状态', dataIndex: 'status', width: 120, render: (v) => {v} }, + { title: 'AssetId', dataIndex: 'remoteAssetId', width: 190, render: (v) => {shortId(v)}{v ? + - - + + + + + + + + + { setProjectStatus(v); setProjectPage(1); }} options={PROJECT_STATUS_OPTIONS} style={{ width: 180 }} />}> +
- setSelectedProjectId(undefined)}>查看全部 : null} - > -
+
); diff --git a/video-gen-admin/src/pages/AdminUsers.tsx b/video-gen-admin/src/pages/AdminUsers.tsx index 1bbefd5c..29d4e20e 100644 --- a/video-gen-admin/src/pages/AdminUsers.tsx +++ b/video-gen-admin/src/pages/AdminUsers.tsx @@ -189,7 +189,7 @@ const AdminUsers: React.FC = () => { credits: values.credits || 0, user_type: userType, frontend_user_kind: values.frontend_user_kind || 'external', - private_portrait_image_limit: userType === 'frontend' ? Number(values.private_portrait_image_limit ?? 5) : 0, + private_portrait_asset_limit: userType === 'frontend' ? Number(values.private_portrait_asset_limit ?? 5) : 0, }); message.success('用户创建成功'); setCreateModal(false); @@ -276,13 +276,13 @@ const AdminUsers: React.FC = () => { const openPortraitModal = async (user: AdminUser) => { setPortraitLoading(true); setPortraitModal({ open: true, user, config: null }); - portraitForm.setFieldsValue({ privatePortraitImageLimit: user.privatePortraitImageLimit ?? 5 }); + portraitForm.setFieldsValue({ privatePortraitAssetLimit: user.privatePortraitAssetLimit ?? 5 }); try { const config = await adminGetPrivatePortraitConfig(user.id); - portraitForm.setFieldsValue({ privatePortraitImageLimit: config.imageLimit }); + portraitForm.setFieldsValue({ privatePortraitAssetLimit: config.assetLimit }); setPortraitModal({ open: true, user, config }); } catch (e: any) { - message.error(e?.message || '加载真人素材库配置失败'); + message.error(e?.message || '加载私域人像素材库配置失败'); setPortraitModal({ open: false, user: null, config: null }); } finally { setPortraitLoading(false); @@ -294,16 +294,16 @@ const AdminUsers: React.FC = () => { if (!user) return; try { const values = await portraitForm.validateFields(); - const limit = Number(values.privatePortraitImageLimit ?? 0); + const limit = Number(values.privatePortraitAssetLimit ?? 0); setPortraitSaving(true); const config = await adminUpdatePrivatePortraitConfig(user.id, limit); - message.success(limit > 0 ? `真人素材库已开启,限制 ${limit} 张` : '真人素材库已关闭'); + message.success(limit > 0 ? `私域人像素材库已开启,限制 ${limit} 个` : '私域人像素材库已关闭'); setPortraitModal({ open: false, user: null, config }); portraitForm.resetFields(); load(); } catch (e: any) { if (e?.errorFields) return; - message.error(e?.message || '保存真人素材库配置失败'); + message.error(e?.message || '保存私域人像素材库配置失败'); } finally { setPortraitSaving(false); } @@ -424,10 +424,10 @@ const AdminUsers: React.FC = () => { render: (v: string | null | undefined) => v ? {v} : 未分配, }] : []), ...(!isAdminTab ? [{ - title: '真人素材库', dataIndex: 'privatePortraitImageLimit', width: 150, + title: '私域人像素材库', dataIndex: 'privatePortraitAssetLimit', width: 150, render: (v: number) => { const limit = Number(v || 0); - return limit > 0 ? 开启:{limit} 张 : 未开启; + return limit > 0 ? 开启:{limit} 个 : 未开启; }, }] : []), ...(!isAdminTab ? [{ @@ -493,7 +493,7 @@ const AdminUsers: React.FC = () => { {!isAdminTab && ( )} {!isAdminTab && ( @@ -784,7 +784,7 @@ const AdminUsers: React.FC = () => { 真人素材库设置 - {portraitModal.user?.username}} + title={私域人像素材库设置 - {portraitModal.user?.username}} open={portraitModal.open} confirmLoading={portraitSaving} onOk={handleSavePortraitConfig} @@ -797,17 +797,17 @@ const AdminUsers: React.FC = () => { 当前状态:{portraitModal.config?.enabled ? 已开启 : 未开启} - 已用:{portraitModal.config?.usedImageCount ?? '-'} 张; - 剩余:{portraitModal.config?.enabled ? portraitModal.config.remainingImageCount : 0} 张 + 已用:{portraitModal.config?.usedAssetCount ?? '-'} 个; + 剩余:{portraitModal.config?.enabled ? portraitModal.config.remainingAssetCount : 0} 个
@@ -857,11 +857,11 @@ const AdminUsers: React.FC = () => { )} {createType === 'frontend' && ( diff --git a/video-gen-admin/src/types/index.ts b/video-gen-admin/src/types/index.ts index c65d0fff..5e4df066 100644 --- a/video-gen-admin/src/types/index.ts +++ b/video-gen-admin/src/types/index.ts @@ -8,7 +8,7 @@ export interface User { userType: string; allowedMenus?: string[] | null; resourceCapacity?: ResourceCapacityUsage | null; - privatePortraitImageLimit: number; + privatePortraitAssetLimit: number; } export interface CreditRecord { @@ -194,7 +194,7 @@ export interface AdminUser { lastLoginAt?: string; allowedMenus?: string[] | null; resourceCapacity?: ResourceCapacityUsage | null; - privatePortraitImageLimit: number; + privatePortraitAssetLimit: number; } export interface AdminStats { @@ -1125,14 +1125,20 @@ export interface HomeMaterialTextWatermarkPreviewResponse { export interface PrivatePortraitConfig { enabled: boolean; - imageLimit: number; - usedImageCount: number; - remainingImageCount: number; + assetLimit: number; + usedAssetCount: number; + remainingAssetCount: number; + supportedAssetTypes?: string[]; + unsupportedAssetTypes?: string[]; + imageLimit?: number; + usedImageCount?: number; + remainingImageCount?: number; } export interface PrivatePortraitProject { id: string; userId?: string | null; + libraryType: string; name: string; nameSlug?: string | null; remoteProjectName?: string | null; @@ -1140,7 +1146,11 @@ export interface PrivatePortraitProject { status: string; assetGroupCount: number; assetCount: number; + imageAssetCount?: number; + videoAssetCount?: number; activeAssetCount: number; + activeImageAssetCount?: number; + activeVideoAssetCount?: number; lastUsedAt?: string | null; createdAt?: string | null; updatedAt?: string | null; @@ -1174,6 +1184,7 @@ export interface PrivatePortraitAsset { projectId: string; projectName?: string | null; groupId: string; + libraryType: string; remoteGroupId: string; remoteAssetId?: string | null; remoteProjectName?: string | null; @@ -1181,7 +1192,13 @@ export interface PrivatePortraitAsset { name?: string | null; sourceUrl: string; previewUrl?: string | null; + displayUrl?: string | null; + providerUrl?: string | null; remoteUrl?: string | null; + videoDuration?: number | null; + videoCoverUrl?: string | null; + fileSize?: number | null; + mimeType?: string | null; status: string; pollCount: number; remoteDeleteStatus: string; @@ -1201,9 +1218,14 @@ export interface PrivatePortraitSelectableAsset { id: string; projectId: string; projectName: string; + libraryType: string; name?: string | null; assetType: string; previewUrl?: string | null; + displayUrl?: string | null; + providerUrl?: string | null; + videoDuration?: number | null; + videoCoverUrl?: string | null; status: string; createdAt?: string | null; } diff --git a/video-gen-api/.env b/video-gen-api/.env index 44f7ccca..52bd0930 100644 --- a/video-gen-api/.env +++ b/video-gen-api/.env @@ -57,6 +57,10 @@ VIDEO_COVER_WIDTH=600 VIDEO_COVER_TIMEOUT_SECONDS=15 VIDEO_COVER_FORMAT=png +# VOLC +VOLC_ACCESS_KEY_ID=AKLTYWY5Yjc5YjM3N2IwNDc3M2I3NTU2YjlmNTczYzQzMmM +VOLC_SECRET_ACCESS_KEY=TXpjM01HUTFZMlV5TUdKbE5Ea3lNRGhqTUdSak16UTFOV0ptTW1SaE5XRQ== + # VOLC_SMS VOLC_SMS_ACCESS_KEY_ID=AKLTYWY5Yjc5YjM3N2IwNDc3M2I3NTU2YjlmNTczYzQzMmM VOLC_SMS_SECRET_ACCESS_KEY=TXpjM01HUTFZMlV5TUdKbE5Ea3lNRGhqTUdSak16UTFOV0ptTW1SaE5XRQ== diff --git a/video-gen-api/alembic/versions/cd7688999204_rename_private_portrait_asset_limit_and_.py b/video-gen-api/alembic/versions/cd7688999204_rename_private_portrait_asset_limit_and_.py new file mode 100644 index 00000000..c9ea4f14 --- /dev/null +++ b/video-gen-api/alembic/versions/cd7688999204_rename_private_portrait_asset_limit_and_.py @@ -0,0 +1,202 @@ +"""rename private portrait asset limit and add library type + +Revision ID: cd7688999204 +Revises: e7038d02c355 +Create Date: 2026-07-07 13:21:49.612465 +""" +from typing import Sequence, Union + +from alembic import op +import sqlalchemy as sa + + +# revision identifiers, used by Alembic. +revision: str = "cd7688999204" +down_revision: Union[str, None] = "e7038d02c355" +branch_labels: Union[str, Sequence[str], None] = None +depends_on: Union[str, Sequence[str], None] = None + + +def upgrade() -> None: + # 1. users 字段改名:必须 rename,保留原有用户额度数据 + op.alter_column( + "users", + "private_portrait_image_limit", + new_column_name="private_portrait_asset_limit", + existing_type=sa.Integer(), + existing_nullable=False, + existing_server_default=sa.text("5"), + comment="私域人像素材总量限制,真人/虚拟共用,图片/视频共用,0 表示关闭", + existing_comment="私域真人图片素材数量限制,0表示关闭", + ) + + # 2. private_portrait_asset_groups + op.add_column( + "private_portrait_asset_groups", + sa.Column( + "library_type", + sa.String(length=32), + server_default="real_person", + nullable=False, + comment="素材库类型:real_person 真人认证;aigc_virtual 虚拟人像", + ), + ) + op.create_index( + "idx_private_portrait_asset_groups_library_type", + "private_portrait_asset_groups", + ["library_type"], + unique=False, + ) + op.create_index( + "idx_private_portrait_asset_groups_user_library", + "private_portrait_asset_groups", + ["user_id", "library_type"], + unique=False, + ) + + # 3. private_portrait_assets + op.add_column( + "private_portrait_assets", + sa.Column( + "library_type", + sa.String(length=32), + server_default="real_person", + nullable=False, + comment="素材库类型:real_person 真人认证;aigc_virtual 虚拟人像", + ), + ) + op.add_column( + "private_portrait_assets", + sa.Column("video_duration", sa.Float(), nullable=True, comment="视频素材时长,秒"), + ) + op.add_column( + "private_portrait_assets", + sa.Column("video_cover_url", sa.Text(), nullable=True, comment="视频素材封面预览地址"), + ) + op.add_column( + "private_portrait_assets", + sa.Column("file_size", sa.Integer(), nullable=True, comment="素材文件大小,字节"), + ) + op.add_column( + "private_portrait_assets", + sa.Column("mime_type", sa.String(length=128), nullable=True, comment="素材 MIME 类型"), + ) + + # 如果 private_portrait_assets.asset_type 已经存在索引,这条要删除 + op.create_index( + "idx_private_portrait_assets_asset_type", + "private_portrait_assets", + ["asset_type"], + unique=False, + ) + op.create_index( + "idx_private_portrait_assets_library_type", + "private_portrait_assets", + ["library_type"], + unique=False, + ) + op.create_index( + "idx_private_portrait_assets_user_library_status_created", + "private_portrait_assets", + ["user_id", "library_type", "status", "created_at"], + unique=False, + ) + + # 4. private_portrait_projects + op.add_column( + "private_portrait_projects", + sa.Column( + "library_type", + sa.String(length=32), + server_default="real_person", + nullable=False, + comment="素材库类型:real_person 真人认证;aigc_virtual 虚拟人像", + ), + ) + op.add_column( + "private_portrait_projects", + sa.Column("image_asset_count", sa.Integer(), server_default="0", nullable=False, comment="图片素材数量"), + ) + op.add_column( + "private_portrait_projects", + sa.Column("video_asset_count", sa.Integer(), server_default="0", nullable=False, comment="视频素材数量"), + ) + op.add_column( + "private_portrait_projects", + sa.Column("active_image_asset_count", sa.Integer(), server_default="0", nullable=False, comment="可用图片素材数量"), + ) + op.add_column( + "private_portrait_projects", + sa.Column("active_video_asset_count", sa.Integer(), server_default="0", nullable=False, comment="可用视频素材数量"), + ) + op.create_index( + "idx_private_portrait_projects_library_type", + "private_portrait_projects", + ["library_type"], + unique=False, + ) + op.create_index( + "idx_private_portrait_projects_user_library_status_created", + "private_portrait_projects", + ["user_id", "library_type", "status", "created_at"], + unique=False, + ) + + +def downgrade() -> None: + # 1. users 字段反向改名:保留数据 + op.alter_column( + "users", + "private_portrait_asset_limit", + new_column_name="private_portrait_image_limit", + existing_type=sa.Integer(), + existing_nullable=False, + existing_server_default=sa.text("5"), + comment="私域真人图片素材数量限制,0表示关闭", + existing_comment="私域人像素材总量限制,真人/虚拟共用,图片/视频共用,0 表示关闭", + ) + + # 2. private_portrait_projects + op.drop_index( + "idx_private_portrait_projects_user_library_status_created", + table_name="private_portrait_projects", + ) + op.drop_index( + "idx_private_portrait_projects_library_type", + table_name="private_portrait_projects", + ) + op.drop_column("private_portrait_projects", "active_video_asset_count") + op.drop_column("private_portrait_projects", "active_image_asset_count") + op.drop_column("private_portrait_projects", "video_asset_count") + op.drop_column("private_portrait_projects", "image_asset_count") + op.drop_column("private_portrait_projects", "library_type") + + # 3. private_portrait_assets + op.drop_index( + "idx_private_portrait_assets_user_library_status_created", + table_name="private_portrait_assets", + ) + op.drop_index( + "idx_private_portrait_assets_library_type", + table_name="private_portrait_assets", + ) + op.drop_index( + "idx_private_portrait_assets_asset_type", + table_name="private_portrait_assets", + ) + op.drop_column("private_portrait_assets", "mime_type") + op.drop_column("private_portrait_assets", "file_size") + op.drop_column("private_portrait_assets", "video_cover_url") + op.drop_column("private_portrait_assets", "video_duration") + op.drop_column("private_portrait_assets", "library_type") + + # 4. private_portrait_asset_groups + op.drop_index( + "idx_private_portrait_asset_groups_user_library", + table_name="private_portrait_asset_groups", + ) + op.drop_index( + "idx_private_portrait_asset_groups_library_type", + table_name="private_portrait_asset_groups", + ) + op.drop_column("private_portrait_asset_groups", "library_type") \ No newline at end of file diff --git a/video-gen-api/app/api/admin/private_portrait.py b/video-gen-api/app/api/admin/private_portrait.py index 7b640c4e..0d97e2ad 100644 --- a/video-gen-api/app/api/admin/private_portrait.py +++ b/video-gen-api/app/api/admin/private_portrait.py @@ -10,127 +10,59 @@ from app.dependencies import get_admin_user, get_db from app.models.user import User from app.schemas.private_portrait import ( PrivatePortraitAdminConfigUpdate, + PrivatePortraitAdminStatsOut, PrivatePortraitAssetListOut, PrivatePortraitConfigOut, PrivatePortraitProjectListOut, ) from app.services.operation_log import log_operation -from app.services.private_portrait.asset_service import ( - asset_to_out, - get_user_private_portrait_config, - list_assets, - set_user_private_portrait_limit, -) -from app.services.private_portrait.project_service import list_projects, project_to_out +from app.services.private_portrait.admin.asset_query_service import admin_list_assets +from app.services.private_portrait.admin.project_query_service import admin_list_projects +from app.services.private_portrait.admin.stats_query_service import admin_get_private_portrait_stats +from app.services.private_portrait.quota_service import get_user_private_portrait_config, set_user_private_portrait_limit -router = APIRouter(prefix="/admin/private-portrait", tags=["admin-private-portrait"]) +router = APIRouter(prefix="/admin/private-portrait", tags=["管理后台-私域人像素材库"]) def _json_detail(data: dict[str, Any]) -> str: return json.dumps(data, ensure_ascii=False, default=str) -@router.get("/users/{user_id}/config", response_model=PrivatePortraitConfigOut) -async def admin_get_private_portrait_config( - user_id: str, - admin: User = Depends(get_admin_user), - db: AsyncSession = Depends(get_db), -): +@router.get("/users/{user_id}/config", response_model=PrivatePortraitConfigOut, summary="管理后台:查看用户私域人像素材额度") +async def admin_get_private_portrait_config(user_id: str, admin: User = Depends(get_admin_user), db: AsyncSession = Depends(get_db)): config = await get_user_private_portrait_config(db, user_id=user_id) - await log_operation( - db, - admin.id, - admin.username, - "查看真人素材库配置", - "GET", - f"/admin/private-portrait/users/{user_id}/config", - detail=_json_detail({"target_user_id": user_id, "config": config.model_dump(mode="json")}), - ) + await log_operation(db, admin.id, admin.username, "查看私域人像素材库配置", "GET", f"/admin/private-portrait/users/{user_id}/config", detail=_json_detail({"target_user_id": user_id, "config": config.model_dump(mode="json")})) return config -@router.put("/users/{user_id}/config", response_model=PrivatePortraitConfigOut) -async def admin_update_private_portrait_config( - user_id: str, - payload: PrivatePortraitAdminConfigUpdate, - admin: User = Depends(get_admin_user), - db: AsyncSession = Depends(get_db), -): +@router.put("/users/{user_id}/config", response_model=PrivatePortraitConfigOut, summary="管理后台:设置用户私域人像素材总量") +async def admin_update_private_portrait_config(user_id: str, payload: PrivatePortraitAdminConfigUpdate, admin: User = Depends(get_admin_user), db: AsyncSession = Depends(get_db)): before = await get_user_private_portrait_config(db, user_id=user_id) - await set_user_private_portrait_limit(db, user_id=user_id, limit=payload.private_portrait_image_limit) + await set_user_private_portrait_limit(db, user_id=user_id, limit=payload.private_portrait_asset_limit) after = await get_user_private_portrait_config(db, user_id=user_id) - await log_operation( - db, - admin.id, - admin.username, - f"设置真人素材库数量限制:{before.image_limit} -> {after.image_limit}", - "PUT", - f"/admin/private-portrait/users/{user_id}/config", - detail=_json_detail( - { - "target_user_id": user_id, - "before": before.model_dump(mode="json"), - "after": after.model_dump(mode="json"), - } - ), - ) + await log_operation(db, admin.id, admin.username, f"设置私域人像素材总量限制:{before.asset_limit} -> {after.asset_limit}", "PUT", f"/admin/private-portrait/users/{user_id}/config", detail=_json_detail({"target_user_id": user_id, "before": before.model_dump(mode="json"), "after": after.model_dump(mode="json")})) + await db.commit() return after -@router.get("/projects", response_model=PrivatePortraitProjectListOut) -async def admin_list_private_portrait_projects( - page: int = Query(1, ge=1), - page_size: int = Query(20, ge=1, le=100), - user_id: str | None = Query(None), - keyword: str | None = Query(None), - status: str | None = Query(None), - admin: User = Depends(get_admin_user), - db: AsyncSession = Depends(get_db), -): - items, total = await list_projects(db, user_id=user_id, page=page, page_size=page_size, keyword=keyword, status=status) - await log_operation( - db, - admin.id, - admin.username, - "查看真人素材项目列表", - "GET", - "/admin/private-portrait/projects", - detail=_json_detail( - { - "filters": {"user_id": user_id, "keyword": keyword, "status": status, "page": page, "page_size": page_size}, - "total": total, - "returned_count": len(items), - } - ), - ) - return PrivatePortraitProjectListOut(items=[project_to_out(item, include_user=True) for item in items], total=total, page=page, page_size=page_size) +@router.get("/stats", response_model=PrivatePortraitAdminStatsOut, summary="管理后台:私域人像素材统计") +async def admin_get_private_portrait_stats_api(user_id: str | None = Query(None), library_type: str | None = Query(None), admin: User = Depends(get_admin_user), db: AsyncSession = Depends(get_db)): + stats = await admin_get_private_portrait_stats(db, user_id=user_id, library_type=library_type) + await log_operation(db, admin.id, admin.username, "查看私域人像素材统计", "GET", "/admin/private-portrait/stats", detail=_json_detail({"filters": {"user_id": user_id, "library_type": library_type}, "stats": stats.model_dump(mode="json")})) + return stats -@router.get("/assets", response_model=PrivatePortraitAssetListOut) -async def admin_list_private_portrait_assets( - page: int = Query(1, ge=1), - page_size: int = Query(20, ge=1, le=100), - user_id: str | None = Query(None), - project_id: str | None = Query(None), - keyword: str | None = Query(None), - status: str | None = Query(None), - admin: User = Depends(get_admin_user), - db: AsyncSession = Depends(get_db), -): - assets, total, project_name_map = await list_assets(db, user_id=user_id, project_id=project_id, status=status, keyword=keyword, page=page, page_size=page_size) - await log_operation( - db, - admin.id, - admin.username, - "查看真人素材列表", - "GET", - "/admin/private-portrait/assets", - detail=_json_detail( - { - "filters": {"user_id": user_id, "project_id": project_id, "keyword": keyword, "status": status, "page": page, "page_size": page_size}, - "total": total, - "returned_count": len(assets), - } - ), - ) - return PrivatePortraitAssetListOut(items=[asset_to_out(asset, project_name=project_name_map.get(asset.project_id), include_user=True) for asset in assets], total=total, page=page, page_size=page_size) +@router.get("/projects", response_model=PrivatePortraitProjectListOut, summary="管理后台:查询私域人像项目列表") +async def admin_list_private_portrait_projects(page: int = Query(1, ge=1), page_size: int = Query(20, ge=1, le=100), user_id: str | None = Query(None), library_type: str | None = Query(None), keyword: str | None = Query(None), status: str | None = Query(None), admin: User = Depends(get_admin_user), db: AsyncSession = Depends(get_db)): + items, total = await admin_list_projects(db, user_id=user_id, library_type=library_type, page=page, page_size=page_size, keyword=keyword, status=status) + await log_operation(db, admin.id, admin.username, "查看私域人像素材项目列表", "GET", "/admin/private-portrait/projects", detail=_json_detail({"filters": {"user_id": user_id, "library_type": library_type, "keyword": keyword, "status": status, "page": page, "page_size": page_size}, "total": total, "returned_count": len(items)})) + await db.commit() + return PrivatePortraitProjectListOut(items=items, total=total, page=page, page_size=page_size) + + +@router.get("/assets", response_model=PrivatePortraitAssetListOut, summary="管理后台:查询私域人像素材列表") +async def admin_list_private_portrait_assets(page: int = Query(1, ge=1), page_size: int = Query(20, ge=1, le=100), user_id: str | None = Query(None), project_id: str | None = Query(None), library_type: str | None = Query(None), asset_type: str | None = Query(None), keyword: str | None = Query(None), status: str | None = Query(None), admin: User = Depends(get_admin_user), db: AsyncSession = Depends(get_db)): + items, total = await admin_list_assets(db, user_id=user_id, project_id=project_id, library_type=library_type, asset_type=asset_type, status=status, keyword=keyword, page=page, page_size=page_size) + await log_operation(db, admin.id, admin.username, "查看私域人像素材列表", "GET", "/admin/private-portrait/assets", detail=_json_detail({"filters": {"user_id": user_id, "project_id": project_id, "library_type": library_type, "asset_type": asset_type, "keyword": keyword, "status": status, "page": page, "page_size": page_size}, "total": total, "returned_count": len(items)})) + await db.commit() + return PrivatePortraitAssetListOut(items=items, total=total, page=page, page_size=page_size) diff --git a/video-gen-api/app/api/v1/__init__.py b/video-gen-api/app/api/v1/__init__.py index 77f2119a..f64d0a74 100644 --- a/video-gen-api/app/api/v1/__init__.py +++ b/video-gen-api/app/api/v1/__init__.py @@ -33,6 +33,7 @@ from app.api.v1.home_materials import router as home_materials_router from app.api.admin import router as admin_module_router from app.api.v1.material_admin import router as material_admin_router from app.api.v1.private_portrait import router as private_portrait_router +from app.api.v1.private_portrait_virtual import router as private_portrait_virtual_router api_router = APIRouter() api_router.include_router(auth_router) @@ -67,4 +68,5 @@ api_router.include_router(team_router) api_router.include_router(home_materials_router) api_router.include_router(admin_module_router) api_router.include_router(material_admin_router) -api_router.include_router(private_portrait_router) \ No newline at end of file +api_router.include_router(private_portrait_router) +api_router.include_router(private_portrait_virtual_router) diff --git a/video-gen-api/app/api/v1/admin.py b/video-gen-api/app/api/v1/admin.py index 5d2e8a8f..beac3cd3 100644 --- a/video-gen-api/app/api/v1/admin.py +++ b/video-gen-api/app/api/v1/admin.py @@ -174,7 +174,7 @@ async def create_user( user_type=req.user_type, frontend_user_kind=req.frontend_user_kind if req.user_type == "frontend" else FrontendUserKind.EXTERNAL.value, allowed_menus=req.allowed_menus, - private_portrait_image_limit=req.private_portrait_image_limit, + private_portrait_asset_limit=req.private_portrait_asset_limit, ) user.credits = round(user.credits, 2) db.add(user) @@ -192,7 +192,7 @@ async def create_user( "username": username, "user_type": req.user_type, "frontend_user_kind": user.frontend_user_kind, - "private_portrait_image_limit": user.private_portrait_image_limit, + "private_portrait_asset_limit": user.private_portrait_asset_limit, "credits": user.credits, "phone": user.phone, "email": user.email, diff --git a/video-gen-api/app/api/v1/private_portrait.py b/video-gen-api/app/api/v1/private_portrait.py index b3c24c74..994fecb8 100644 --- a/video-gen-api/app/api/v1/private_portrait.py +++ b/video-gen-api/app/api/v1/private_portrait.py @@ -9,9 +9,11 @@ from sqlalchemy.ext.asyncio import AsyncSession from app.dependencies import get_current_user, get_db from app.enums.private_portrait import ( + PrivatePortraitAssetType, PrivatePortraitEventSource, PrivatePortraitEventStatus, PrivatePortraitEventType, + PrivatePortraitLibraryType, PrivatePortraitProjectStatus, PrivatePortraitRemoteDeleteStatus, ) @@ -20,6 +22,7 @@ from app.models.user import User from app.schemas.private_portrait import ( PrivatePortraitAssetCreate, PrivatePortraitAssetListOut, + PrivatePortraitAssetOut, PrivatePortraitDeleteOut, PrivatePortraitConfigOut, PrivatePortraitProjectCreate, @@ -30,13 +33,13 @@ from app.schemas.private_portrait import ( PrivatePortraitSelectableAssetListOut, PrivatePortraitValidateSessionCreate, PrivatePortraitValidateSessionOut, + PrivatePortraitEnumMetaOut, + build_private_portrait_enum_meta, ) from app.services.operation_log_service import log_operation_error, log_operation_event from app.services.private_portrait.asset_service import ( DOMAIN, asset_to_out, - create_asset, - create_validate_session, get_user_private_portrait_config, get_validate_session, handle_validate_callback, @@ -47,100 +50,102 @@ from app.services.private_portrait.asset_service import ( validate_session_to_out, ) from app.services.private_portrait.project_service import ( - create_project, get_user_project, list_projects, project_to_out, refresh_project_counters, soft_delete_project, - update_project, +) +from app.services.private_portrait.real_person.service import ( + create_real_person_asset, + create_real_person_project, + create_real_person_validate_session, + update_real_person_project, ) -router = APIRouter(tags=["private-portrait"]) +router = APIRouter(tags=["私域真人素材库"]) def _log_task_dispatch_failed(*, task_name: str, user_id: str | None = None, project_id: str | None = None, asset_id: str | None = None, exc: BaseException) -> None: - log_operation_error( - domain=DOMAIN, - event_type=PrivatePortraitEventType.TASK_DISPATCH_FAILED.value, - source=PrivatePortraitEventSource.API.value, - user_id=user_id, - project_id=project_id, - asset_id=asset_id, - exc=exc, - detail={"task_name": task_name}, - ) + log_operation_error(domain=DOMAIN, event_type=PrivatePortraitEventType.TASK_DISPATCH_FAILED.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project_id, asset_id=asset_id, exc=exc, detail={"task_name": task_name}) def _log_task_dispatch_success(*, task_name: str, user_id: str | None = None, project_id: str | None = None, asset_id: str | None = None) -> None: - log_operation_event( - domain=DOMAIN, - event_type=PrivatePortraitEventType.TASK_DISPATCH_SUCCESS.value, - event_status=PrivatePortraitEventStatus.SUCCESS.value, - source=PrivatePortraitEventSource.API.value, - user_id=user_id, - project_id=project_id, - asset_id=asset_id, - detail={"task_name": task_name}, - ) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.TASK_DISPATCH_SUCCESS.value, event_status=PrivatePortraitEventStatus.SUCCESS.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project_id, asset_id=asset_id, detail={"task_name": task_name}) -@router.get("/private-portrait/config", response_model=PrivatePortraitConfigOut) +@router.get( + "/private-portrait/config", + response_model=PrivatePortraitConfigOut, + summary="获取当前用户私域人像素材额度配置", + description="返回私域人像素材总量限制。额度由真人认证素材库与虚拟人像素材库共用,图片和视频共用,Audio 暂未开放。", +) async def get_my_private_portrait_config(current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): return await get_user_private_portrait_config(db, user_id=current_user.id) -@router.post("/private-portrait/projects", response_model=PrivatePortraitProjectCreateWithValidateOut) +@router.get( + "/private-portrait/meta/enums", + response_model=PrivatePortraitEnumMetaOut, + summary="获取私域人像素材库枚举说明", + description="给前端展示状态、类型、素材库类型使用。Audio 仅作为火山支持项展示,当前业务不开放上传。", +) +async def get_private_portrait_enum_meta(): + return build_private_portrait_enum_meta() + + +@router.post( + "/private-portrait/projects", + response_model=PrivatePortraitProjectCreateWithValidateOut, + summary="创建真人认证素材项目并生成认证会话", + description="创建本地真人素材项目,随后调用火山 CreateVisualValidateSession 返回 H5Link。用户完成认证后,回调会创建本地 Asset Group 映射。", +) async def create_private_portrait_project(payload: PrivatePortraitProjectCreate, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): - project = await create_project(db, user_id=current_user.id, payload=payload) - session = await create_validate_session( - db, - user_id=current_user.id, - project_id=project.id, - callback_redirect_url=payload.callback_redirect_url, - ) - out = PrivatePortraitProjectCreateWithValidateOut( - project=project_to_out(project), - validate_session=validate_session_to_out(session), - poll_interval_ms=2000, - ) + project = await create_real_person_project(db, user_id=current_user.id, payload=payload) + session = await create_real_person_validate_session(db, user_id=current_user.id, project_id=project.id, callback_redirect_url=payload.callback_redirect_url) + out = PrivatePortraitProjectCreateWithValidateOut(project=project_to_out(project), validate_session=validate_session_to_out(session), poll_interval_ms=2000) await db.commit() return out -@router.get("/private-portrait/projects", response_model=PrivatePortraitProjectListOut) +@router.get( + "/private-portrait/projects", + response_model=PrivatePortraitProjectListOut, + summary="查询当前用户真人认证素材项目列表", + description="只返回 library_type=real_person 的项目。默认查询 active 项目,可用 status 覆盖。", +) async def list_private_portrait_projects( - page: int = Query(1, ge=1), - page_size: int = Query(20, ge=1, le=100), - keyword: str | None = Query(None), - status: str | None = Query(None), + page: int = Query(1, ge=1, description="页码,从 1 开始。"), + page_size: int = Query(20, ge=1, le=100, description="每页数量,最大 100。"), + keyword: str | None = Query(None, description="项目名称模糊搜索。"), + status: str | None = Query(None, description="项目状态,不传默认 active。"), current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db), ): query_status = status or PrivatePortraitProjectStatus.ACTIVE.value - items, total = await list_projects(db, user_id=current_user.id, page=page, page_size=page_size, keyword=keyword, status=query_status) + items, total = await list_projects(db, user_id=current_user.id, page=page, page_size=page_size, keyword=keyword, status=query_status, library_type=PrivatePortraitLibraryType.REAL_PERSON.value) await refresh_project_counters(db, [item.id for item in items]) await db.commit() - items, total = await list_projects(db, user_id=current_user.id, page=page, page_size=page_size, keyword=keyword, status=query_status) + items, total = await list_projects(db, user_id=current_user.id, page=page, page_size=page_size, keyword=keyword, status=query_status, library_type=PrivatePortraitLibraryType.REAL_PERSON.value) return PrivatePortraitProjectListOut(items=[project_to_out(item) for item in items], total=total, page=page, page_size=page_size) -@router.get("/private-portrait/projects/{project_id}", response_model=PrivatePortraitProjectOut) +@router.get("/private-portrait/projects/{project_id}", response_model=PrivatePortraitProjectOut, summary="获取真人认证素材项目详情") async def get_private_portrait_project(project_id: str, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): - return project_to_out(await get_user_project(db, user_id=current_user.id, project_id=project_id)) + return project_to_out(await get_user_project(db, user_id=current_user.id, project_id=project_id, library_type=PrivatePortraitLibraryType.REAL_PERSON.value)) -@router.put("/private-portrait/projects/{project_id}", response_model=PrivatePortraitProjectOut) +@router.put("/private-portrait/projects/{project_id}", response_model=PrivatePortraitProjectOut, summary="更新真人认证素材项目") async def update_private_portrait_project(project_id: str, payload: PrivatePortraitProjectUpdate, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): - project = await update_project(db, user_id=current_user.id, project_id=project_id, payload=payload) + project = await update_real_person_project(db, user_id=current_user.id, project_id=project_id, payload=payload) out = project_to_out(project) await db.commit() return out -@router.delete("/private-portrait/projects/{project_id}", response_model=PrivatePortraitDeleteOut) +@router.delete("/private-portrait/projects/{project_id}", response_model=PrivatePortraitDeleteOut, summary="删除真人认证素材项目") async def delete_private_portrait_project(project_id: str, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): - project = await soft_delete_project(db, user_id=current_user.id, project_id=project_id) + project = await soft_delete_project(db, user_id=current_user.id, project_id=project_id, library_type=PrivatePortraitLibraryType.REAL_PERSON.value) project_id_snapshot = project.id await db.commit() try: @@ -153,30 +158,26 @@ async def delete_private_portrait_project(project_id: str, current_user: User = return PrivatePortraitDeleteOut(success=True, remote_delete_status=PrivatePortraitRemoteDeleteStatus.PENDING.value) -@router.post("/private-portrait/projects/{project_id}/validate-sessions", response_model=PrivatePortraitValidateSessionOut) +@router.post("/private-portrait/projects/{project_id}/validate-sessions", response_model=PrivatePortraitValidateSessionOut, summary="重新创建真人认证会话") async def create_private_portrait_validate_session(project_id: str, payload: PrivatePortraitValidateSessionCreate, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): - session = await create_validate_session(db, user_id=current_user.id, project_id=project_id, callback_redirect_url=payload.callback_redirect_url) + session = await create_real_person_validate_session(db, user_id=current_user.id, project_id=project_id, callback_redirect_url=payload.callback_redirect_url) out = validate_session_to_out(session) await db.commit() return out -@router.get("/private-portrait/validate-sessions/{session_id}", response_model=PrivatePortraitValidateSessionOut) +@router.get("/private-portrait/validate-sessions/{session_id}", response_model=PrivatePortraitValidateSessionOut, summary="查询真人认证会话状态") async def get_private_portrait_validate_session(session_id: str, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): return validate_session_to_out(await get_validate_session(db, user_id=current_user.id, session_id=session_id)) -@router.get("/private-portrait/validate-callback") +@router.get("/private-portrait/validate-callback", summary="火山真人认证回调入口") async def private_portrait_validate_callback(session_id: str, request: Request, redirect_url: str | None = None, db: AsyncSession = Depends(get_db)): params = dict(request.query_params) params.pop("session_id", None) params.pop("redirect_url", None) session = await handle_validate_callback(db, session_id=session_id, query_params=params) - redirect_params = { - "session_id": session.id, - "status": session.status, - "resultCode": session.result_code or "", - } + redirect_params = {"session_id": session.id, "status": session.status, "resultCode": session.result_code or ""} if session.remote_group_id: redirect_params["remote_group_id"] = session.remote_group_id response = {"session_id": session.id, "status": session.status, "resultCode": session.result_code, "remote_group_id": session.remote_group_id} @@ -188,9 +189,9 @@ async def private_portrait_validate_callback(session_id: str, request: Request, return response -@router.post("/private-portrait/projects/{project_id}/assets") +@router.post("/private-portrait/projects/{project_id}/assets", response_model=PrivatePortraitAssetOut, summary="上传真人认证素材", description="当前支持 Image / Video。Audio 暂不开放。CreateAsset 是异步接口,返回后需要轮询到 Active 才可用于生成。") async def create_private_portrait_asset(project_id: str, payload: PrivatePortraitAssetCreate, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): - asset = await create_asset(db, user_id=current_user.id, project_id=project_id, payload=payload) + asset = await create_real_person_asset(db, user_id=current_user.id, project_id=project_id, payload=payload) asset_id_snapshot = asset.id project_id_snapshot = asset.project_id out = asset_to_out(asset) @@ -205,32 +206,34 @@ async def create_private_portrait_asset(project_id: str, payload: PrivatePortrai return out -@router.get("/private-portrait/projects/{project_id}/assets", response_model=PrivatePortraitAssetListOut) -async def list_private_portrait_assets(project_id: str, page: int = Query(1, ge=1), page_size: int = Query(20, ge=1, le=100), status: str | None = Query(None), keyword: str | None = Query(None), current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): - assets, total, project_name_map = await list_assets(db, user_id=current_user.id, project_id=project_id, status=status, keyword=keyword, page=page, page_size=page_size) +@router.get("/private-portrait/projects/{project_id}/assets", response_model=PrivatePortraitAssetListOut, summary="查询真人认证素材列表") +async def list_private_portrait_assets(project_id: str, page: int = Query(1, ge=1), page_size: int = Query(20, ge=1, le=100), status: str | None = Query(None), keyword: str | None = Query(None), asset_type: str | None = Query(None), current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): + assets, total, project_name_map = await list_assets(db, user_id=current_user.id, project_id=project_id, status=status, keyword=keyword, page=page, page_size=page_size, library_type=PrivatePortraitLibraryType.REAL_PERSON.value, asset_type=asset_type) return PrivatePortraitAssetListOut(items=[asset_to_out(asset, project_name=project_name_map.get(asset.project_id)) for asset in assets], total=total, page=page, page_size=page_size) -@router.get("/private-portrait/assets/{asset_id}") +@router.get("/private-portrait/assets/{asset_id}", summary="获取真人认证素材详情") async def get_private_portrait_asset(asset_id: str, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): - asset = (await db.execute(select(PrivatePortraitAsset).where(PrivatePortraitAsset.id == asset_id, PrivatePortraitAsset.user_id == current_user.id).limit(1))).scalar_one_or_none() + asset = (await db.execute(select(PrivatePortraitAsset).where(PrivatePortraitAsset.id == asset_id, PrivatePortraitAsset.user_id == current_user.id, PrivatePortraitAsset.library_type == PrivatePortraitLibraryType.REAL_PERSON.value).limit(1))).scalar_one_or_none() if not asset: - raise HTTPException(status_code=404, detail="真人素材不存在") + raise HTTPException(status_code=404, detail="私域人像素材不存在") project = (await db.execute(select(PrivatePortraitProject).where(PrivatePortraitProject.id == asset.project_id).limit(1))).scalar_one_or_none() return asset_to_out(asset, project_name=project.name if project else None) -@router.post("/private-portrait/assets/{asset_id}/sync") +@router.post("/private-portrait/assets/{asset_id}/sync", summary="同步真人认证素材状态") async def sync_private_portrait_asset(asset_id: str, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): asset = await sync_asset_status(db, user_id=current_user.id, asset_id=asset_id) + if asset.library_type != PrivatePortraitLibraryType.REAL_PERSON.value: + raise HTTPException(status_code=404, detail="私域人像素材不存在") out = asset_to_out(asset) await db.commit() return out -@router.delete("/private-portrait/assets/{asset_id}", response_model=PrivatePortraitDeleteOut) +@router.delete("/private-portrait/assets/{asset_id}", response_model=PrivatePortraitDeleteOut, summary="删除真人认证素材") async def delete_private_portrait_asset(asset_id: str, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): - asset = await soft_delete_asset(db, user_id=current_user.id, asset_id=asset_id) + asset = await soft_delete_asset(db, user_id=current_user.id, asset_id=asset_id, library_type=PrivatePortraitLibraryType.REAL_PERSON.value) asset_id_snapshot = asset.id project_id_snapshot = asset.project_id await db.commit() @@ -244,7 +247,7 @@ async def delete_private_portrait_asset(asset_id: str, current_user: User = Depe return PrivatePortraitDeleteOut(success=True, remote_delete_status=PrivatePortraitRemoteDeleteStatus.PENDING.value) -@router.get("/private-portrait/selectable-assets", response_model=PrivatePortraitSelectableAssetListOut) -async def list_private_portrait_selectable_assets(page: int = Query(1, ge=1), page_size: int = Query(20, ge=1, le=100), project_id: str | None = Query(None), keyword: str | None = Query(None), current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): - items, total = await list_selectable_assets(db, user_id=current_user.id, project_id=project_id, keyword=keyword, page=page, page_size=page_size) +@router.get("/private-portrait/selectable-assets", response_model=PrivatePortraitSelectableAssetListOut, summary="查询可用于生成的真人认证素材") +async def list_private_portrait_selectable_assets(page: int = Query(1, ge=1), page_size: int = Query(20, ge=1, le=100), project_id: str | None = Query(None), keyword: str | None = Query(None), asset_type: str | None = Query(None, description="Image 或 Video,不传查全部。"), current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): + items, total = await list_selectable_assets(db, user_id=current_user.id, project_id=project_id, keyword=keyword, page=page, page_size=page_size, library_type=PrivatePortraitLibraryType.REAL_PERSON.value, asset_type=asset_type) return PrivatePortraitSelectableAssetListOut(items=items, total=total, page=page, page_size=page_size) diff --git a/video-gen-api/app/api/v1/private_portrait_virtual.py b/video-gen-api/app/api/v1/private_portrait_virtual.py new file mode 100644 index 00000000..a50c725c --- /dev/null +++ b/video-gen-api/app/api/v1/private_portrait_virtual.py @@ -0,0 +1,179 @@ +from __future__ import annotations + +from fastapi import APIRouter, Depends, HTTPException, Query +from sqlalchemy import select +from sqlalchemy.ext.asyncio import AsyncSession + +from app.dependencies import get_current_user, get_db +from app.enums.private_portrait import ( + PrivatePortraitEventSource, + PrivatePortraitEventStatus, + PrivatePortraitEventType, + PrivatePortraitLibraryType, + PrivatePortraitProjectStatus, + PrivatePortraitRemoteDeleteStatus, +) +from app.models.private_portrait import PrivatePortraitAsset, PrivatePortraitProject +from app.models.user import User +from app.schemas.private_portrait import ( + PrivatePortraitAssetCreate, + PrivatePortraitAssetListOut, + PrivatePortraitAssetOut, + PrivatePortraitConfigOut, + PrivatePortraitDeleteOut, + PrivatePortraitEnumMetaOut, + PrivatePortraitProjectListOut, + PrivatePortraitProjectOut, + PrivatePortraitProjectUpdate, + PrivatePortraitSelectableAssetListOut, + PrivatePortraitVirtualProjectCreate, + build_private_portrait_enum_meta, +) +from app.services.operation_log_service import log_operation_error, log_operation_event +from app.services.private_portrait.asset_service import ( + DOMAIN, + asset_to_out, + get_user_private_portrait_config, + list_assets, + list_selectable_assets, + soft_delete_asset, + sync_asset_status, +) +from app.services.private_portrait.project_service import ( + get_user_project, + list_projects, + project_to_out, + refresh_project_counters, + soft_delete_project, +) +from app.services.private_portrait.virtual.service import create_virtual_asset, create_virtual_project, update_virtual_project + +router = APIRouter(tags=["私域虚拟人像素材库"]) + + +def _log_task_dispatch_failed(*, task_name: str, user_id: str | None = None, project_id: str | None = None, asset_id: str | None = None, exc: BaseException) -> None: + log_operation_error(domain=DOMAIN, event_type=PrivatePortraitEventType.TASK_DISPATCH_FAILED.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project_id, asset_id=asset_id, exc=exc, detail={"task_name": task_name}) + + +def _log_task_dispatch_success(*, task_name: str, user_id: str | None = None, project_id: str | None = None, asset_id: str | None = None) -> None: + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.TASK_DISPATCH_SUCCESS.value, event_status=PrivatePortraitEventStatus.SUCCESS.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project_id, asset_id=asset_id, detail={"task_name": task_name}) + + +@router.get("/private-portrait/virtual/config", response_model=PrivatePortraitConfigOut, summary="获取虚拟人像素材库额度配置", description="额度与真人认证素材库共用;图片/视频共用;Audio 暂不开放。") +async def get_my_virtual_private_portrait_config(current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): + return await get_user_private_portrait_config(db, user_id=current_user.id) + + +@router.get("/private-portrait/virtual-meta/enums", response_model=PrivatePortraitEnumMetaOut, summary="获取虚拟人像素材库枚举说明") +async def get_virtual_private_portrait_enum_meta(): + return build_private_portrait_enum_meta() + + +@router.post("/private-portrait/virtual-projects", response_model=PrivatePortraitProjectOut, summary="创建虚拟人像项目组", description="创建本地虚拟人像项目,并同步调用火山 CreateAssetGroup,GroupType=AIGC。ProjectName 必须与后续生成 API Key 所属项目一致,默认使用 default。") +async def create_private_portrait_virtual_project(payload: PrivatePortraitVirtualProjectCreate, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): + project = await create_virtual_project(db, user_id=current_user.id, payload=payload) + out = project_to_out(project) + await db.commit() + return out + + +@router.get("/private-portrait/virtual-projects", response_model=PrivatePortraitProjectListOut, summary="查询当前用户虚拟人像项目列表") +async def list_private_portrait_virtual_projects(page: int = Query(1, ge=1), page_size: int = Query(20, ge=1, le=100), keyword: str | None = Query(None), status: str | None = Query(None), current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): + query_status = status or PrivatePortraitProjectStatus.ACTIVE.value + items, total = await list_projects(db, user_id=current_user.id, page=page, page_size=page_size, keyword=keyword, status=query_status, library_type=PrivatePortraitLibraryType.AIGC_VIRTUAL.value) + await refresh_project_counters(db, [item.id for item in items]) + await db.commit() + items, total = await list_projects(db, user_id=current_user.id, page=page, page_size=page_size, keyword=keyword, status=query_status, library_type=PrivatePortraitLibraryType.AIGC_VIRTUAL.value) + return PrivatePortraitProjectListOut(items=[project_to_out(item) for item in items], total=total, page=page, page_size=page_size) + + +@router.get("/private-portrait/virtual-projects/{project_id}", response_model=PrivatePortraitProjectOut, summary="获取虚拟人像项目详情") +async def get_private_portrait_virtual_project(project_id: str, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): + return project_to_out(await get_user_project(db, user_id=current_user.id, project_id=project_id, library_type=PrivatePortraitLibraryType.AIGC_VIRTUAL.value)) + + +@router.put("/private-portrait/virtual-projects/{project_id}", response_model=PrivatePortraitProjectOut, summary="更新虚拟人像项目") +async def update_private_portrait_virtual_project(project_id: str, payload: PrivatePortraitProjectUpdate, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): + project = await update_virtual_project(db, user_id=current_user.id, project_id=project_id, payload=payload) + out = project_to_out(project) + await db.commit() + return out + + +@router.delete("/private-portrait/virtual-projects/{project_id}", response_model=PrivatePortraitDeleteOut, summary="删除虚拟人像项目") +async def delete_private_portrait_virtual_project(project_id: str, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): + project = await soft_delete_project(db, user_id=current_user.id, project_id=project_id, library_type=PrivatePortraitLibraryType.AIGC_VIRTUAL.value) + project_id_snapshot = project.id + await db.commit() + try: + from app.tasks.private_portrait_asset_tasks import delete_private_portrait_project_remote + + delete_private_portrait_project_remote.delay(project_id_snapshot) + _log_task_dispatch_success(task_name="private_portrait.delete_project_remote", user_id=current_user.id, project_id=project_id_snapshot) + except Exception as exc: + _log_task_dispatch_failed(task_name="private_portrait.delete_project_remote", user_id=current_user.id, project_id=project_id_snapshot, exc=exc) + return PrivatePortraitDeleteOut(success=True, remote_delete_status=PrivatePortraitRemoteDeleteStatus.PENDING.value) + + +@router.post("/private-portrait/virtual-projects/{project_id}/assets", response_model=PrivatePortraitAssetOut, summary="上传虚拟人像素材", description="当前支持 Image / Video。Audio 暂不开放。CreateAsset 是异步接口,返回后需要轮询到 Active 才可用于生成。") +async def create_private_portrait_virtual_asset(project_id: str, payload: PrivatePortraitAssetCreate, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): + asset = await create_virtual_asset(db, user_id=current_user.id, project_id=project_id, payload=payload) + asset_id_snapshot = asset.id + project_id_snapshot = asset.project_id + out = asset_to_out(asset) + await db.commit() + try: + from app.tasks.private_portrait_asset_tasks import poll_private_portrait_asset_status + + poll_private_portrait_asset_status.delay(asset_id_snapshot) + _log_task_dispatch_success(task_name="private_portrait.poll_asset_status", user_id=current_user.id, project_id=project_id_snapshot, asset_id=asset_id_snapshot) + except Exception as exc: + _log_task_dispatch_failed(task_name="private_portrait.poll_asset_status", user_id=current_user.id, project_id=project_id_snapshot, asset_id=asset_id_snapshot, exc=exc) + return out + + +@router.get("/private-portrait/virtual-projects/{project_id}/assets", response_model=PrivatePortraitAssetListOut, summary="查询虚拟人像素材列表") +async def list_private_portrait_virtual_assets(project_id: str, page: int = Query(1, ge=1), page_size: int = Query(20, ge=1, le=100), status: str | None = Query(None), keyword: str | None = Query(None), asset_type: str | None = Query(None), current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): + assets, total, project_name_map = await list_assets(db, user_id=current_user.id, project_id=project_id, status=status, keyword=keyword, page=page, page_size=page_size, library_type=PrivatePortraitLibraryType.AIGC_VIRTUAL.value, asset_type=asset_type) + return PrivatePortraitAssetListOut(items=[asset_to_out(asset, project_name=project_name_map.get(asset.project_id)) for asset in assets], total=total, page=page, page_size=page_size) + + +@router.get("/private-portrait/virtual-assets/{asset_id}", response_model=PrivatePortraitAssetOut, summary="获取虚拟人像素材详情") +async def get_private_portrait_virtual_asset(asset_id: str, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): + asset = (await db.execute(select(PrivatePortraitAsset).where(PrivatePortraitAsset.id == asset_id, PrivatePortraitAsset.user_id == current_user.id, PrivatePortraitAsset.library_type == PrivatePortraitLibraryType.AIGC_VIRTUAL.value).limit(1))).scalar_one_or_none() + if not asset: + raise HTTPException(status_code=404, detail="虚拟人像素材不存在") + project = (await db.execute(select(PrivatePortraitProject).where(PrivatePortraitProject.id == asset.project_id).limit(1))).scalar_one_or_none() + return asset_to_out(asset, project_name=project.name if project else None) + + +@router.post("/private-portrait/virtual-assets/{asset_id}/sync", response_model=PrivatePortraitAssetOut, summary="同步虚拟人像素材状态") +async def sync_private_portrait_virtual_asset(asset_id: str, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): + asset = await sync_asset_status(db, user_id=current_user.id, asset_id=asset_id) + if asset.library_type != PrivatePortraitLibraryType.AIGC_VIRTUAL.value: + raise HTTPException(status_code=404, detail="虚拟人像素材不存在") + out = asset_to_out(asset) + await db.commit() + return out + + +@router.delete("/private-portrait/virtual-assets/{asset_id}", response_model=PrivatePortraitDeleteOut, summary="删除虚拟人像素材") +async def delete_private_portrait_virtual_asset(asset_id: str, current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): + asset = await soft_delete_asset(db, user_id=current_user.id, asset_id=asset_id, library_type=PrivatePortraitLibraryType.AIGC_VIRTUAL.value) + asset_id_snapshot = asset.id + project_id_snapshot = asset.project_id + await db.commit() + try: + from app.tasks.private_portrait_asset_tasks import delete_private_portrait_asset_remote + + delete_private_portrait_asset_remote.delay(asset_id_snapshot) + _log_task_dispatch_success(task_name="private_portrait.delete_asset_remote", user_id=current_user.id, project_id=project_id_snapshot, asset_id=asset_id_snapshot) + except Exception as exc: + _log_task_dispatch_failed(task_name="private_portrait.delete_asset_remote", user_id=current_user.id, project_id=project_id_snapshot, asset_id=asset_id_snapshot, exc=exc) + return PrivatePortraitDeleteOut(success=True, remote_delete_status=PrivatePortraitRemoteDeleteStatus.PENDING.value) + + +@router.get("/private-portrait/virtual-selectable-assets", response_model=PrivatePortraitSelectableAssetListOut, summary="查询可用于生成的虚拟人像素材") +async def list_private_portrait_virtual_selectable_assets(page: int = Query(1, ge=1), page_size: int = Query(20, ge=1, le=100), project_id: str | None = Query(None), keyword: str | None = Query(None), asset_type: str | None = Query(None, description="Image 或 Video,不传查全部。"), current_user: User = Depends(get_current_user), db: AsyncSession = Depends(get_db)): + items, total = await list_selectable_assets(db, user_id=current_user.id, project_id=project_id, keyword=keyword, page=page, page_size=page_size, library_type=PrivatePortraitLibraryType.AIGC_VIRTUAL.value, asset_type=asset_type) + return PrivatePortraitSelectableAssetListOut(items=items, total=total, page=page, page_size=page_size) diff --git a/video-gen-api/app/config.py b/video-gen-api/app/config.py index 9ded341f..cdcef903 100644 --- a/video-gen-api/app/config.py +++ b/video-gen-api/app/config.py @@ -37,6 +37,10 @@ class Settings(BaseSettings): SMS_TEMPLATE_CODE: str = "SMS_001" SMS_MOCK: bool = True + # 火山引擎配置。 + VOLC_ACCESS_KEY_ID: str = "" + VOLC_SECRET_ACCESS_KEY: str = "" + # 火山引擎短信配置。 # SmsAccount=消息组ID,TemplateID=模板ID,Sign=短信签名内容。 VOLC_SMS_ACCESS_KEY_ID: str = "" diff --git a/video-gen-api/app/enums/private_portrait.py b/video-gen-api/app/enums/private_portrait.py index c9d7cf4a..87239082 100644 --- a/video-gen-api/app/enums/private_portrait.py +++ b/video-gen-api/app/enums/private_portrait.py @@ -2,14 +2,18 @@ from __future__ import annotations from enum import Enum -# 用户真人素材图片默认上限。users.private_portrait_image_limit = 0 表示关闭模块;>0 表示启用并限制总量。 -PRIVATE_PORTRAIT_DEFAULT_IMAGE_LIMIT = 5 +# 用户私域人像素材默认上限。users.private_portrait_asset_limit = 0 表示关闭模块;>0 表示启用并限制总素材量。 +# 统计口径:真人 + 虚拟;图片 + 视频。音频当前业务暂不开放。 +PRIVATE_PORTRAIT_DEFAULT_ASSET_LIMIT = 5 -# 火山 Ark 私域真人素材 ProjectName:火山侧项目空间固定使用 default,并快照到各业务表 remote_project_name。 +# 火山 Ark 私域素材 ProjectName:火山侧项目空间固定使用 default,并快照到各业务表 remote_project_name。 # 用户/项目隔离依赖本地 project_id 和火山返回的 Asset Group ID,不再动态拼接 ProjectName。 PRIVATE_PORTRAIT_REMOTE_PROJECT_NAME = "default" -PRIVATE_PORTRAIT_GROUP_TYPE = "LivenessFace" +PRIVATE_PORTRAIT_REAL_PERSON_GROUP_TYPE = "LivenessFace" +PRIVATE_PORTRAIT_VIRTUAL_GROUP_TYPE = "AIGC" +# 兼容旧代码导入,默认代表真人认证素材组类型。 +PRIVATE_PORTRAIT_GROUP_TYPE = PRIVATE_PORTRAIT_REAL_PERSON_GROUP_TYPE PRIVATE_PORTRAIT_VERIFY_TYPE = "real_time" PRIVATE_PORTRAIT_SUCCESS_RESULT_CODE = "10000" PRIVATE_PORTRAIT_ASSET_URI_PREFIX = "asset://" @@ -20,7 +24,9 @@ ARK_PRIVATE_PORTRAIT_REGION = "cn-beijing" ARK_PRIVATE_PORTRAIT_HOST = "ark.cn-beijing.volcengineapi.com" PRIVATE_PORTRAIT_ASSET_POLL_INTERVAL_SECONDS = 20 +PRIVATE_PORTRAIT_VIDEO_ASSET_POLL_INTERVAL_SECONDS = 30 PRIVATE_PORTRAIT_ASSET_POLL_MAX_COUNT = 60 +PRIVATE_PORTRAIT_VIDEO_ASSET_POLL_MAX_COUNT = 120 PRIVATE_PORTRAIT_ASSET_POLL_BATCH_SIZE = 50 PRIVATE_PORTRAIT_REMOTE_DELETE_RECOVERY_BATCH_SIZE = 50 PRIVATE_PORTRAIT_VALIDATE_TOKEN_EXPIRE_MINUTES = 30 @@ -29,6 +35,7 @@ PRIVATE_PORTRAIT_VALIDATE_TOKEN_EXPIRE_MINUTES = 30 PRIVATE_PORTRAIT_ACTION_QPS_LIMITS: dict[str, int] = { "CreateVisualValidateSession": 3, "GetVisualValidateResult": 3, + "CreateAssetGroup": 10, "CreateAsset": 1, "ListAssetGroups": 10, "ListAssets": 10, @@ -44,6 +51,7 @@ PRIVATE_PORTRAIT_ACTION_QPS_LIMITS: dict[str, int] = { class ArkPrivatePortraitAction(str, Enum): CREATE_VISUAL_VALIDATE_SESSION = "CreateVisualValidateSession" GET_VISUAL_VALIDATE_RESULT = "GetVisualValidateResult" + CREATE_ASSET_GROUP = "CreateAssetGroup" CREATE_ASSET = "CreateAsset" GET_ASSET = "GetAsset" LIST_ASSETS = "ListAssets" @@ -55,10 +63,17 @@ class ArkPrivatePortraitAction(str, Enum): DELETE_ASSET_GROUP = "DeleteAssetGroup" +class PrivatePortraitLibraryType(str, Enum): + REAL_PERSON = "real_person" + AIGC_VIRTUAL = "aigc_virtual" + + class PrivatePortraitProjectStatus(str, Enum): VALIDATING = "validating" ACTIVE = "active" VALIDATE_FAILED = "validate_failed" + CREATING_REMOTE_GROUP = "creating_remote_group" + CREATE_GROUP_FAILED = "create_group_failed" DELETED = "deleted" @@ -72,6 +87,7 @@ class PrivatePortraitValidateSessionStatus(str, Enum): class PrivatePortraitAssetGroupStatus(str, Enum): + CREATING = "creating" ACTIVE = "active" LOCAL_DELETED = "local_deleted" REMOTE_DELETED = "remote_deleted" @@ -92,7 +108,13 @@ class PrivatePortraitAssetStatus(str, Enum): class PrivatePortraitAssetType(str, Enum): IMAGE = "Image" VIDEO = "Video" - AUDIO = "Audio" + AUDIO = "Audio" # 火山支持,但当前业务暂不开放。 + + +PRIVATE_PORTRAIT_ENABLED_ASSET_TYPES = { + PrivatePortraitAssetType.IMAGE.value, + PrivatePortraitAssetType.VIDEO.value, +} class PrivatePortraitRemoteDeleteStatus(str, Enum): @@ -125,9 +147,19 @@ class PrivatePortraitEventSource(str, Enum): class PrivatePortraitEventType(str, Enum): + QUOTA_CHECK_START = "QUOTA_CHECK_START" + QUOTA_CHECK_PASS = "QUOTA_CHECK_PASS" + QUOTA_CHECK_DENY = "QUOTA_CHECK_DENY" + PROJECT_CREATE = "PROJECT_CREATE" PROJECT_UPDATE = "PROJECT_UPDATE" PROJECT_DELETE = "PROJECT_DELETE" + + VIRTUAL_PROJECT_CREATE_START = "VIRTUAL_PROJECT_CREATE_START" + VIRTUAL_ASSET_GROUP_CREATE_REMOTE_START = "VIRTUAL_ASSET_GROUP_CREATE_REMOTE_START" + VIRTUAL_ASSET_GROUP_CREATE_REMOTE_SUCCESS = "VIRTUAL_ASSET_GROUP_CREATE_REMOTE_SUCCESS" + VIRTUAL_ASSET_GROUP_CREATE_REMOTE_FAILED = "VIRTUAL_ASSET_GROUP_CREATE_REMOTE_FAILED" + VALIDATE_SESSION_CREATE = "VALIDATE_SESSION_CREATE" VALIDATE_SESSION_CREATE_FAILED = "VALIDATE_SESSION_CREATE_FAILED" VALIDATE_CALLBACK_RECEIVED = "VALIDATE_CALLBACK_RECEIVED" @@ -163,7 +195,6 @@ class PrivatePortraitEventType(str, Enum): PROJECT_DELETE_REMOTE_SUCCESS = "PROJECT_DELETE_REMOTE_SUCCESS" PROJECT_DELETE_REMOTE_FAILED = "PROJECT_DELETE_REMOTE_FAILED" - TASK_DISPATCH_SUCCESS = "TASK_DISPATCH_SUCCESS" TASK_DISPATCH_FAILED = "TASK_DISPATCH_FAILED" diff --git a/video-gen-api/app/models/private_portrait/asset.py b/video-gen-api/app/models/private_portrait/asset.py index f4395fe7..cd35f40e 100644 --- a/video-gen-api/app/models/private_portrait/asset.py +++ b/video-gen-api/app/models/private_portrait/asset.py @@ -2,12 +2,13 @@ from __future__ import annotations from datetime import datetime -from sqlalchemy import DateTime, ForeignKey, Index, Integer, String, Text, text +from sqlalchemy import DateTime, Float, ForeignKey, Index, Integer, String, Text, text from sqlalchemy.orm import Mapped, mapped_column from app.enums.private_portrait import ( PrivatePortraitAssetStatus, PrivatePortraitAssetType, + PrivatePortraitLibraryType, PrivatePortraitRemoteDeleteStatus, ) from app.models.base import Base, SoftDeleteMixin, TimestampMixin @@ -19,10 +20,13 @@ class PrivatePortraitAsset(Base, TimestampMixin, SoftDeleteMixin): __tablename__ = "private_portrait_assets" __table_args__ = ( Index("uq_private_portrait_assets_remote_asset_id", "remote_asset_id", unique=True), + Index("idx_private_portrait_assets_user_library_status_created", "user_id", "library_type", "status", "created_at"), Index("idx_private_portrait_assets_user_status_created", "user_id", "status", "created_at"), Index("idx_private_portrait_assets_project_status_created", "project_id", "status", "created_at"), Index("idx_private_portrait_assets_group_status_created", "group_id", "status", "created_at"), Index("idx_private_portrait_assets_remote_project_name", "remote_project_name"), + Index("idx_private_portrait_assets_library_type", "library_type"), + Index("idx_private_portrait_assets_asset_type", "asset_type"), Index( "idx_private_portrait_assets_next_poll_status", "next_poll_at", @@ -36,6 +40,13 @@ class PrivatePortraitAsset(Base, TimestampMixin, SoftDeleteMixin): user_id: Mapped[str] = mapped_column(String(32), ForeignKey("users.id", ondelete="CASCADE"), nullable=False, index=True) project_id: Mapped[str] = mapped_column(String(32), ForeignKey("private_portrait_projects.id", ondelete="CASCADE"), nullable=False, index=True) group_id: Mapped[str] = mapped_column(String(32), ForeignKey("private_portrait_asset_groups.id", ondelete="CASCADE"), nullable=False, index=True) + library_type: Mapped[str] = mapped_column( + String(32), + nullable=False, + default=PrivatePortraitLibraryType.REAL_PERSON.value, + server_default=PrivatePortraitLibraryType.REAL_PERSON.value, + index=True, + ) remote_group_id: Mapped[str] = mapped_column(String(128), nullable=False, index=True) remote_asset_id: Mapped[str | None] = mapped_column(String(128), nullable=True, index=True) remote_project_name: Mapped[str] = mapped_column(String(256), nullable=False, index=True) @@ -45,6 +56,10 @@ class PrivatePortraitAsset(Base, TimestampMixin, SoftDeleteMixin): preview_url: Mapped[str | None] = mapped_column(Text, nullable=True) remote_url: Mapped[str | None] = mapped_column(Text, nullable=True) remote_url_expired_at: Mapped[datetime | None] = mapped_column(DateTime(timezone=True), nullable=True) + video_duration: Mapped[float | None] = mapped_column(Float, nullable=True, comment="视频素材时长,秒") + video_cover_url: Mapped[str | None] = mapped_column(Text, nullable=True, comment="视频素材封面预览地址") + file_size: Mapped[int | None] = mapped_column(Integer, nullable=True, comment="素材文件大小,字节") + mime_type: Mapped[str | None] = mapped_column(String(128), nullable=True) status: Mapped[str] = mapped_column( String(32), nullable=False, diff --git a/video-gen-api/app/models/private_portrait/asset_group.py b/video-gen-api/app/models/private_portrait/asset_group.py index 0130136a..dcec31da 100644 --- a/video-gen-api/app/models/private_portrait/asset_group.py +++ b/video-gen-api/app/models/private_portrait/asset_group.py @@ -6,8 +6,9 @@ from sqlalchemy import DateTime, ForeignKey, Index, String, Text, text from sqlalchemy.orm import Mapped, mapped_column from app.enums.private_portrait import ( - PRIVATE_PORTRAIT_GROUP_TYPE, + PRIVATE_PORTRAIT_REAL_PERSON_GROUP_TYPE, PrivatePortraitAssetGroupStatus, + PrivatePortraitLibraryType, PrivatePortraitRemoteDeleteStatus, ) from app.models.base import Base, SoftDeleteMixin, TimestampMixin @@ -20,9 +21,11 @@ class PrivatePortraitAssetGroup(Base, TimestampMixin, SoftDeleteMixin): __table_args__ = ( Index("uq_private_portrait_asset_groups_remote_group_id", "remote_group_id", unique=True), Index("idx_private_portrait_asset_groups_user_project", "user_id", "project_id"), + Index("idx_private_portrait_asset_groups_user_library", "user_id", "library_type"), Index("idx_private_portrait_asset_groups_project_status", "project_id", "status"), Index("idx_private_portrait_asset_groups_remote_delete_status", "remote_delete_status"), Index("idx_private_portrait_asset_groups_remote_project_name", "remote_project_name"), + Index("idx_private_portrait_asset_groups_library_type", "library_type"), Index( "uq_private_portrait_asset_groups_one_active_project", "project_id", @@ -34,10 +37,17 @@ class PrivatePortraitAssetGroup(Base, TimestampMixin, SoftDeleteMixin): id: Mapped[str] = mapped_column(String(32), primary_key=True) user_id: Mapped[str] = mapped_column(String(32), ForeignKey("users.id", ondelete="CASCADE"), nullable=False, index=True) project_id: Mapped[str] = mapped_column(String(32), ForeignKey("private_portrait_projects.id", ondelete="CASCADE"), nullable=False, index=True) + library_type: Mapped[str] = mapped_column( + String(32), + nullable=False, + default=PrivatePortraitLibraryType.REAL_PERSON.value, + server_default=PrivatePortraitLibraryType.REAL_PERSON.value, + index=True, + ) remote_group_id: Mapped[str] = mapped_column(String(128), nullable=False, index=True) remote_group_name: Mapped[str | None] = mapped_column(String(128), nullable=True, index=True) remote_project_name: Mapped[str] = mapped_column(String(256), nullable=False, index=True) - group_type: Mapped[str] = mapped_column(String(32), nullable=False, default=PRIVATE_PORTRAIT_GROUP_TYPE, server_default=PRIVATE_PORTRAIT_GROUP_TYPE) + group_type: Mapped[str] = mapped_column(String(32), nullable=False, default=PRIVATE_PORTRAIT_REAL_PERSON_GROUP_TYPE, server_default=PRIVATE_PORTRAIT_REAL_PERSON_GROUP_TYPE) status: Mapped[str] = mapped_column( String(32), nullable=False, diff --git a/video-gen-api/app/models/private_portrait/project.py b/video-gen-api/app/models/private_portrait/project.py index ab919281..2ee3a013 100644 --- a/video-gen-api/app/models/private_portrait/project.py +++ b/video-gen-api/app/models/private_portrait/project.py @@ -5,15 +5,16 @@ from datetime import datetime from sqlalchemy import DateTime, ForeignKey, Index, Integer, String, Text, text from sqlalchemy.orm import Mapped, mapped_column -from app.enums.private_portrait import PrivatePortraitProjectStatus +from app.enums.private_portrait import PrivatePortraitLibraryType, PrivatePortraitProjectStatus from app.models.base import Base, SoftDeleteMixin, TimestampMixin class PrivatePortraitProject(Base, TimestampMixin, SoftDeleteMixin): - """用户本地真人素材项目组。remote_project_name 是火山 ProjectName 快照。""" + """用户本地私域人像素材项目组。remote_project_name 是火山 ProjectName 快照。""" __tablename__ = "private_portrait_projects" __table_args__ = ( + Index("idx_private_portrait_projects_user_library_status_created", "user_id", "library_type", "status", "created_at"), Index("idx_private_portrait_projects_user_status_created", "user_id", "status", "created_at"), Index( "idx_private_portrait_projects_user_deleted", @@ -22,10 +23,19 @@ class PrivatePortraitProject(Base, TimestampMixin, SoftDeleteMixin): postgresql_where=text("deleted_at IS NULL"), ), Index("idx_private_portrait_projects_remote_project_name", "remote_project_name"), + Index("idx_private_portrait_projects_library_type", "library_type"), ) id: Mapped[str] = mapped_column(String(32), primary_key=True) user_id: Mapped[str] = mapped_column(String(32), ForeignKey("users.id", ondelete="CASCADE"), nullable=False, index=True) + library_type: Mapped[str] = mapped_column( + String(32), + nullable=False, + default=PrivatePortraitLibraryType.REAL_PERSON.value, + server_default=PrivatePortraitLibraryType.REAL_PERSON.value, + index=True, + comment="素材库类型:real_person 真人认证;aigc_virtual 虚拟人像", + ) name: Mapped[str] = mapped_column(String(128), nullable=False, index=True, comment="用户展示项目名") name_slug: Mapped[str] = mapped_column(String(128), nullable=False, index=True, comment="项目名安全 slug") remote_project_name: Mapped[str] = mapped_column(String(256), nullable=False, index=True, comment="火山 ProjectName 快照") @@ -39,5 +49,9 @@ class PrivatePortraitProject(Base, TimestampMixin, SoftDeleteMixin): ) asset_group_count: Mapped[int] = mapped_column(Integer, nullable=False, default=0, server_default="0") asset_count: Mapped[int] = mapped_column(Integer, nullable=False, default=0, server_default="0") + image_asset_count: Mapped[int] = mapped_column(Integer, nullable=False, default=0, server_default="0") + video_asset_count: Mapped[int] = mapped_column(Integer, nullable=False, default=0, server_default="0") active_asset_count: Mapped[int] = mapped_column(Integer, nullable=False, default=0, server_default="0") + active_image_asset_count: Mapped[int] = mapped_column(Integer, nullable=False, default=0, server_default="0") + active_video_asset_count: Mapped[int] = mapped_column(Integer, nullable=False, default=0, server_default="0") last_used_at: Mapped[datetime | None] = mapped_column(DateTime(timezone=True), nullable=True) diff --git a/video-gen-api/app/models/user.py b/video-gen-api/app/models/user.py index 40f2110f..06ef1d87 100644 --- a/video-gen-api/app/models/user.py +++ b/video-gen-api/app/models/user.py @@ -39,8 +39,8 @@ class User(Base, TimestampMixin): ) allowed_menus: Mapped[list | None] = mapped_column(JSON, nullable=True) - # 真人素材库图片总量限制。0 表示关闭真人素材模块;>0 表示启用并限制用户所有真人素材图片总量。 - private_portrait_image_limit: Mapped[int] = mapped_column( + # 私域人像素材总量限制。0 表示关闭模块;>0 表示启用并限制真人/虚拟、图片/视频素材总量。 + private_portrait_asset_limit: Mapped[int] = mapped_column( Integer, default=5, server_default="5", nullable=False ) diff --git a/video-gen-api/app/schemas/admin.py b/video-gen-api/app/schemas/admin.py index 230135d4..fc4b0854 100644 --- a/video-gen-api/app/schemas/admin.py +++ b/video-gen-api/app/schemas/admin.py @@ -58,7 +58,7 @@ class AdminUserOut(BaseModel): last_login_at: NaiveDatetimeOptional = None allowed_menus: list | None = None resource_capacity: ResourceCapacityUsageOut | None = None - private_portrait_image_limit: int = 5 + private_portrait_asset_limit: int = 5 model_config = {"from_attributes": True} @@ -72,7 +72,7 @@ class CreateUserRequest(BaseModel): user_type: str = Field(default="frontend", pattern="^(frontend|admin)$") frontend_user_kind: str = Field(default="external", pattern="^(internal|external)$") allowed_menus: list | None = None - private_portrait_image_limit: int = Field(default=5, ge=0, le=9999) + private_portrait_asset_limit: int = Field(default=5, ge=0, le=9999, description="私域人像素材总量限制,真人/虚拟、图片/视频共用,0 表示关闭") class UpdateFrontendUserKindRequest(BaseModel): diff --git a/video-gen-api/app/schemas/private_portrait.py b/video-gen-api/app/schemas/private_portrait.py index 8135b72a..c74b193e 100644 --- a/video-gen-api/app/schemas/private_portrait.py +++ b/video-gen-api/app/schemas/private_portrait.py @@ -4,36 +4,67 @@ from typing import Any from pydantic import BaseModel, Field, field_validator -from app.enums.private_portrait import PrivatePortraitAssetType +from app.enums.private_portrait import ( + PRIVATE_PORTRAIT_ENABLED_ASSET_TYPES, + PrivatePortraitAssetStatus, + PrivatePortraitAssetType, + PrivatePortraitLibraryType, + PrivatePortraitProjectStatus, +) from app.schemas.common import NaiveDatetimeOptional +class PrivatePortraitEnumItem(BaseModel): + value: str + label: str + description: str | None = None + + +class PrivatePortraitEnumMetaOut(BaseModel): + library_types: list[PrivatePortraitEnumItem] + asset_types: list[PrivatePortraitEnumItem] + project_statuses: list[PrivatePortraitEnumItem] + asset_statuses: list[PrivatePortraitEnumItem] + + class PrivatePortraitConfigOut(BaseModel): - enabled: bool - image_limit: int - used_image_count: int - remaining_image_count: int + enabled: bool = Field(..., description="是否启用私域人像素材库。asset_limit > 0 表示启用。") + asset_limit: int = Field(..., description="私域人像素材总量限制:真人/虚拟共用,图片/视频共用,0 表示关闭。") + used_asset_count: int = Field(..., description="当前占用额度的素材数量。统计 creating/Processing/Active 的 Image/Video。") + remaining_asset_count: int = Field(..., description="剩余可上传素材数量。") + supported_asset_types: list[str] = Field(default_factory=lambda: [PrivatePortraitAssetType.IMAGE.value, PrivatePortraitAssetType.VIDEO.value], description="当前业务开放的素材类型。") + unsupported_asset_types: list[str] = Field(default_factory=lambda: [PrivatePortraitAssetType.AUDIO.value], description="火山支持但当前业务暂不开放的素材类型。") + # 兼容旧前端,后续确认无引用后可移除。 + image_limit: int | None = Field(None, description="兼容旧字段:请改用 asset_limit。") + used_image_count: int | None = Field(None, description="兼容旧字段:请改用 used_asset_count。") + remaining_image_count: int | None = Field(None, description="兼容旧字段:请改用 remaining_asset_count。") class PrivatePortraitAdminConfigUpdate(BaseModel): - private_portrait_image_limit: int = Field(..., ge=0, le=9999, description="0 表示关闭真人素材模块;>0 表示启用并限制图片总量") + private_portrait_asset_limit: int = Field(..., ge=0, le=9999, description="私域人像素材总量限制。0 表示关闭;>0 表示启用并限制真人/虚拟、图片/视频素材总量。") class PrivatePortraitProjectCreate(BaseModel): - name: str = Field(..., min_length=1, max_length=128) - description: str | None = Field(None, max_length=2000) - callback_redirect_url: str | None = Field(None, description="项目创建时真人认证完成后的手机端提示页地址") + name: str = Field(..., min_length=1, max_length=128, description="项目组名称。") + description: str | None = Field(None, max_length=2000, description="项目组描述。") + callback_redirect_url: str | None = Field(None, description="仅真人认证使用:认证完成后的手机端提示页地址。") + + +class PrivatePortraitVirtualProjectCreate(BaseModel): + name: str = Field(..., min_length=1, max_length=128, description="虚拟人像素材项目组名称。创建后会同步创建火山 Asset Group。") + description: str | None = Field(None, max_length=2000, description="虚拟人像素材项目组描述,会同步到火山 Asset Group。") class PrivatePortraitProjectUpdate(BaseModel): - name: str | None = Field(None, min_length=1, max_length=128) - description: str | None = Field(None, max_length=2000) - status: str | None = None + name: str | None = Field(None, min_length=1, max_length=128, description="项目组名称。") + description: str | None = Field(None, max_length=2000, description="项目组描述。") + status: str | None = Field(None, description="项目状态。普通前端不建议手动变更,仅管理/排查使用。") class PrivatePortraitProjectOut(BaseModel): id: str user_id: str | None = None + library_type: str = Field(default=PrivatePortraitLibraryType.REAL_PERSON.value) name: str name_slug: str | None = None remote_project_name: str | None = None @@ -41,7 +72,11 @@ class PrivatePortraitProjectOut(BaseModel): status: str asset_group_count: int = 0 asset_count: int = 0 + image_asset_count: int = 0 + video_asset_count: int = 0 active_asset_count: int = 0 + active_image_asset_count: int = 0 + active_video_asset_count: int = 0 last_used_at: NaiveDatetimeOptional = None created_at: NaiveDatetimeOptional = None updated_at: NaiveDatetimeOptional = None @@ -81,18 +116,17 @@ class PrivatePortraitValidateSessionOut(BaseModel): model_config = {"from_attributes": True} - - class PrivatePortraitProjectCreateWithValidateOut(BaseModel): project: PrivatePortraitProjectOut validate_session: PrivatePortraitValidateSessionOut - poll_interval_ms: int = Field(default=2000, description="PC 端轮询认证状态的建议间隔,单位毫秒") + poll_interval_ms: int = Field(default=2000, description="PC 端轮询认证状态的建议间隔,单位毫秒。") class PrivatePortraitAssetGroupOut(BaseModel): id: str user_id: str | None = None project_id: str + library_type: str remote_group_id: str remote_group_name: str | None = None remote_project_name: str @@ -108,16 +142,22 @@ class PrivatePortraitAssetGroupOut(BaseModel): class PrivatePortraitAssetCreate(BaseModel): - url: str = Field(..., min_length=1, description="已上传到本系统且可公网访问的素材 URL") - asset_type: str = Field(default=PrivatePortraitAssetType.IMAGE.value) - name: str | None = Field(None, max_length=256) + url: str = Field(..., min_length=1, description="已上传到本系统且可公网访问的素材 URL。支持图片/视频,后端会转换公网地址后调用火山 CreateAsset。") + asset_type: str = Field(default=PrivatePortraitAssetType.IMAGE.value, description="素材类型。当前业务仅开放 Image / Video,Audio 暂不开放。") + name: str | None = Field(None, max_length=256, description="素材名称,仅用于检索和管理。") + video_duration: float | None = Field(None, ge=0, description="视频素材时长,单位秒。图片可为空。") + video_cover_url: str | None = Field(None, description="视频封面预览地址。图片可为空。") + file_size: int | None = Field(None, ge=0, description="文件大小,字节。") + mime_type: str | None = Field(None, max_length=128, description="素材 MIME 类型。") @field_validator("asset_type") @classmethod def validate_asset_type(cls, v: str) -> str: value = v or PrivatePortraitAssetType.IMAGE.value if value not in {item.value for item in PrivatePortraitAssetType}: - raise ValueError("asset_type 仅支持 Image/Video/Audio") + raise ValueError("asset_type 仅支持 Image/Video,Audio 暂未开放") + if value not in PRIVATE_PORTRAIT_ENABLED_ASSET_TYPES: + raise ValueError("Audio 暂未开放,当前仅支持 Image/Video") return value @@ -127,6 +167,7 @@ class PrivatePortraitAssetOut(BaseModel): project_id: str project_name: str | None = None group_id: str + library_type: str remote_group_id: str remote_asset_id: str | None = None remote_project_name: str | None = None @@ -134,10 +175,16 @@ class PrivatePortraitAssetOut(BaseModel): name: str | None = None source_url: str preview_url: str | None = None + display_url: str | None = None + provider_url: str | None = None remote_url: str | None = None remote_url_expired_at: NaiveDatetimeOptional = None + video_duration: float | None = None + video_cover_url: str | None = None + file_size: int | None = None + mime_type: str | None = None status: str - moderation: dict[str, Any] | None = None + moderation: Any = None last_poll_at: NaiveDatetimeOptional = None next_poll_at: NaiveDatetimeOptional = None poll_count: int = 0 @@ -162,10 +209,15 @@ class PrivatePortraitSelectableAssetOut(BaseModel): id: str project_id: str project_name: str + library_type: str name: str | None = None asset_type: str preview_url: str | None = None - status: str + display_url: str | None = None + provider_url: str | None = None + video_duration: float | None = None + video_cover_url: str | None = None + status: str = PrivatePortraitAssetStatus.ACTIVE.value created_at: NaiveDatetimeOptional = None @@ -178,4 +230,32 @@ class PrivatePortraitSelectableAssetListOut(BaseModel): class PrivatePortraitDeleteOut(BaseModel): success: bool = True - remote_delete_status: str | None = None + remote_delete_status: str + + +class PrivatePortraitAdminStatsOut(BaseModel): + total_projects: int = 0 + total_assets: int = 0 + image_assets: int = 0 + video_assets: int = 0 + active_assets: int = 0 + processing_assets: int = 0 + failed_assets: int = 0 + real_person_assets: int = 0 + virtual_assets: int = 0 + + +def build_private_portrait_enum_meta() -> PrivatePortraitEnumMetaOut: + return PrivatePortraitEnumMetaOut( + library_types=[ + PrivatePortraitEnumItem(value=PrivatePortraitLibraryType.REAL_PERSON.value, label="真人认证素材库", description="需要用户扫码完成真人授权认证后才能上传素材。"), + PrivatePortraitEnumItem(value=PrivatePortraitLibraryType.AIGC_VIRTUAL.value, label="私域虚拟人像素材库", description="通过火山 CreateAssetGroup/CreateAsset 入库的虚拟人像素材。"), + ], + asset_types=[ + PrivatePortraitEnumItem(value=PrivatePortraitAssetType.IMAGE.value, label="图片", description="当前开放。"), + PrivatePortraitEnumItem(value=PrivatePortraitAssetType.VIDEO.value, label="视频", description="当前开放,处理时间通常比图片更长。"), + PrivatePortraitEnumItem(value=PrivatePortraitAssetType.AUDIO.value, label="音频", description="火山支持但当前业务暂不开放。"), + ], + project_statuses=[PrivatePortraitEnumItem(value=item.value, label=item.value) for item in PrivatePortraitProjectStatus], + asset_statuses=[PrivatePortraitEnumItem(value=item.value, label=item.value) for item in PrivatePortraitAssetStatus], + ) diff --git a/video-gen-api/app/schemas/user.py b/video-gen-api/app/schemas/user.py index 63b8d57a..ada58f2a 100644 --- a/video-gen-api/app/schemas/user.py +++ b/video-gen-api/app/schemas/user.py @@ -15,7 +15,7 @@ class UserOut(BaseModel): allowed_menus: list | None = None must_set_password: bool = False resource_capacity: ResourceCapacityUsageOut | None = None - private_portrait_image_limit: int = 5 + private_portrait_asset_limit: int = 5 team_id: str | None = None team_name: str | None = None is_team_manager: bool = False diff --git a/video-gen-api/app/services/private_portrait/admin/__init__.py b/video-gen-api/app/services/private_portrait/admin/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/video-gen-api/app/services/private_portrait/admin/asset_query_service.py b/video-gen-api/app/services/private_portrait/admin/asset_query_service.py new file mode 100644 index 00000000..57a47228 --- /dev/null +++ b/video-gen-api/app/services/private_portrait/admin/asset_query_service.py @@ -0,0 +1,21 @@ +from __future__ import annotations + +from sqlalchemy.ext.asyncio import AsyncSession + +from app.services.private_portrait.asset_service import asset_to_out, list_assets + + +async def admin_list_assets( + db: AsyncSession, + *, + user_id: str | None = None, + project_id: str | None = None, + library_type: str | None = None, + asset_type: str | None = None, + keyword: str | None = None, + status: str | None = None, + page: int = 1, + page_size: int = 20, +): + assets, total, project_name_map = await list_assets(db, user_id=user_id, project_id=project_id, status=status, keyword=keyword, page=page, page_size=page_size, library_type=library_type, asset_type=asset_type) + return [asset_to_out(asset, project_name=project_name_map.get(asset.project_id), include_user=True) for asset in assets], total diff --git a/video-gen-api/app/services/private_portrait/admin/project_query_service.py b/video-gen-api/app/services/private_portrait/admin/project_query_service.py new file mode 100644 index 00000000..cc67f7e8 --- /dev/null +++ b/video-gen-api/app/services/private_portrait/admin/project_query_service.py @@ -0,0 +1,54 @@ +from __future__ import annotations + +from sqlalchemy import select +from sqlalchemy.ext.asyncio import AsyncSession + +from app.models.private_portrait import PrivatePortraitProject +from app.services.private_portrait.project_service import list_projects, project_to_out, refresh_project_counters + + +async def _reload_projects_by_ids(db: AsyncSession, project_ids: list[str]) -> list[PrivatePortraitProject]: + """Reload projects after counter refresh to avoid async expired-attribute lazy load. + + refresh_project_counters() uses bulk UPDATE. In SQLAlchemy async ORM, previously + loaded ORM instances may become expired after a bulk update. Accessing expired + scalar attributes outside greenlet context triggers MissingGreenlet. Reloading + with populate_existing=True refreshes the identity-map objects during the awaited + execute call, and keeps the original pagination order. + """ + if not project_ids: + return [] + result = await db.execute( + select(PrivatePortraitProject) + .where(PrivatePortraitProject.id.in_(project_ids)) + .execution_options(populate_existing=True) + ) + project_map = {project.id: project for project in result.scalars().all()} + return [project_map[project_id] for project_id in project_ids if project_id in project_map] + + +async def admin_list_projects( + db: AsyncSession, + *, + user_id: str | None = None, + library_type: str | None = None, + keyword: str | None = None, + status: str | None = None, + page: int = 1, + page_size: int = 20, +): + items, total = await list_projects( + db, + user_id=user_id, + page=page, + page_size=page_size, + keyword=keyword, + status=status, + library_type=library_type, + ) + project_ids = [item.id for item in items] + await refresh_project_counters(db, project_ids) + + # Bulk UPDATE may expire loaded ORM instances. Re-query before DTO conversion. + items = await _reload_projects_by_ids(db, project_ids) + return [project_to_out(item, include_user=True) for item in items], total diff --git a/video-gen-api/app/services/private_portrait/admin/stats_query_service.py b/video-gen-api/app/services/private_portrait/admin/stats_query_service.py new file mode 100644 index 00000000..242fd4cb --- /dev/null +++ b/video-gen-api/app/services/private_portrait/admin/stats_query_service.py @@ -0,0 +1,45 @@ +from __future__ import annotations + +from sqlalchemy import func, select +from sqlalchemy.ext.asyncio import AsyncSession + +from app.enums.private_portrait import PrivatePortraitAssetStatus, PrivatePortraitAssetType, PrivatePortraitLibraryType +from app.models.private_portrait import PrivatePortraitAsset, PrivatePortraitProject +from app.schemas.private_portrait import PrivatePortraitAdminStatsOut + + +async def admin_get_private_portrait_stats(db: AsyncSession, *, user_id: str | None = None, library_type: str | None = None) -> PrivatePortraitAdminStatsOut: + project_filters = [PrivatePortraitProject.deleted_at.is_(None)] + asset_filters = [PrivatePortraitAsset.deleted_at.is_(None)] + if user_id: + project_filters.append(PrivatePortraitProject.user_id == user_id) + asset_filters.append(PrivatePortraitAsset.user_id == user_id) + if library_type: + project_filters.append(PrivatePortraitProject.library_type == library_type) + asset_filters.append(PrivatePortraitAsset.library_type == library_type) + + total_projects = (await db.execute(select(func.count(PrivatePortraitProject.id)).where(*project_filters))).scalar_one() + rows = await db.execute( + select(PrivatePortraitAsset.library_type, PrivatePortraitAsset.asset_type, PrivatePortraitAsset.status, func.count(PrivatePortraitAsset.id)) + .where(*asset_filters) + .group_by(PrivatePortraitAsset.library_type, PrivatePortraitAsset.asset_type, PrivatePortraitAsset.status) + ) + stats = PrivatePortraitAdminStatsOut(total_projects=int(total_projects or 0)) + for lib, asset_type, status, count in rows.all(): + n = int(count or 0) + stats.total_assets += n + if asset_type == PrivatePortraitAssetType.IMAGE.value: + stats.image_assets += n + elif asset_type == PrivatePortraitAssetType.VIDEO.value: + stats.video_assets += n + if status == PrivatePortraitAssetStatus.ACTIVE.value: + stats.active_assets += n + elif status == PrivatePortraitAssetStatus.PROCESSING.value: + stats.processing_assets += n + elif status == PrivatePortraitAssetStatus.FAILED.value: + stats.failed_assets += n + if lib == PrivatePortraitLibraryType.REAL_PERSON.value: + stats.real_person_assets += n + elif lib == PrivatePortraitLibraryType.AIGC_VIRTUAL.value: + stats.virtual_assets += n + return stats diff --git a/video-gen-api/app/services/private_portrait/ark_client.py b/video-gen-api/app/services/private_portrait/ark_client.py index 59ae84ff..2d25ea2c 100644 --- a/video-gen-api/app/services/private_portrait/ark_client.py +++ b/video-gen-api/app/services/private_portrait/ark_client.py @@ -51,11 +51,11 @@ def _remote_error_http_status(code: str) -> int: class ArkPrivateAssetClient: - """火山 Ark 私域真人人像素材 API Client。只做 AK/SK 鉴权调用与响应标准化。""" + """火山 Ark 私域可信素材 Asset API Client。只做 AK/SK 鉴权调用与响应标准化。""" - def __init__(self, *, ak: str | None = None, sk: str | None = None, for_celery: bool = False): - self.ak = ak or settings.VOLC_SMS_ACCESS_KEY_ID - self.sk = sk or settings.VOLC_SMS_SECRET_ACCESS_KEY + def __init__(self, *, for_celery: bool = False): + self.ak = settings.VOLC_ACCESS_KEY_ID + self.sk = settings.VOLC_SECRET_ACCESS_KEY self.for_celery = for_celery if not self.ak or not self.sk: raise ArkPrivateAssetClientError("火山 AK/SK 未配置:VOLC_SMS_ACCESS_KEY_ID / VOLC_SMS_SECRET_ACCESS_KEY") @@ -66,6 +66,12 @@ class ArkPrivateAssetClient: async def get_visual_validate_result(self, *, project_name: str, byted_token: str) -> dict[str, Any]: return await self._call(ArkPrivatePortraitAction.GET_VISUAL_VALIDATE_RESULT, {"BytedToken": byted_token, "ProjectName": project_name}) + async def create_asset_group(self, *, project_name: str, name: str, description: str | None = None, group_type: str = "AIGC") -> dict[str, Any]: + payload: dict[str, Any] = {"Name": name, "GroupType": group_type, "ProjectName": project_name} + if description: + payload["Description"] = description + return await self._call(ArkPrivatePortraitAction.CREATE_ASSET_GROUP, payload) + async def create_asset(self, *, project_name: str, group_id: str, url: str, asset_type: str, name: str | None = None) -> dict[str, Any]: payload: dict[str, Any] = {"GroupId": group_id, "URL": url, "AssetType": asset_type, "ProjectName": project_name} if name: diff --git a/video-gen-api/app/services/private_portrait/asset_service.py b/video-gen-api/app/services/private_portrait/asset_service.py index 1424a807..e5adf6a3 100644 --- a/video-gen-api/app/services/private_portrait/asset_service.py +++ b/video-gen-api/app/services/private_portrait/asset_service.py @@ -6,33 +6,42 @@ from typing import Any from urllib.parse import urlencode from fastapi import HTTPException -from sqlalchemy import and_, func, select, update +from sqlalchemy import func, select from sqlalchemy.ext.asyncio import AsyncSession from app.config import settings from app.enums.private_portrait import ( PRIVATE_PORTRAIT_ASSET_POLL_INTERVAL_SECONDS, PRIVATE_PORTRAIT_ASSET_POLL_MAX_COUNT, - PRIVATE_PORTRAIT_DEFAULT_IMAGE_LIMIT, - PRIVATE_PORTRAIT_GROUP_TYPE, + PRIVATE_PORTRAIT_ASSET_URI_PREFIX, + PRIVATE_PORTRAIT_ENABLED_ASSET_TYPES, + PRIVATE_PORTRAIT_REAL_PERSON_GROUP_TYPE, PRIVATE_PORTRAIT_SUCCESS_RESULT_CODE, PRIVATE_PORTRAIT_VALIDATE_TOKEN_EXPIRE_MINUTES, + PRIVATE_PORTRAIT_VIDEO_ASSET_POLL_INTERVAL_SECONDS, + PRIVATE_PORTRAIT_VIDEO_ASSET_POLL_MAX_COUNT, PrivatePortraitAssetGroupStatus, PrivatePortraitAssetStatus, PrivatePortraitAssetType, PrivatePortraitEventSource, PrivatePortraitEventStatus, PrivatePortraitEventType, + PrivatePortraitLibraryType, PrivatePortraitProjectStatus, PrivatePortraitRemoteDeleteStatus, PrivatePortraitValidateSessionStatus, ) from app.models.private_portrait import PrivatePortraitAsset, PrivatePortraitAssetGroup, PrivatePortraitProject, PrivatePortraitValidateSession -from app.models.user import User -from app.schemas.private_portrait import PrivatePortraitAssetCreate, PrivatePortraitAssetOut, PrivatePortraitConfigOut, PrivatePortraitSelectableAssetOut, PrivatePortraitValidateSessionOut +from app.schemas.private_portrait import PrivatePortraitAssetCreate, PrivatePortraitAssetOut, PrivatePortraitSelectableAssetOut, PrivatePortraitValidateSessionOut from app.services.operation_log_service import log_operation_error, log_operation_event from app.services.private_portrait.ark_client import ArkPrivateAssetClient from app.services.private_portrait.project_service import get_user_project, refresh_project_counters +from app.services.private_portrait.quota_service import ( + count_user_counting_assets, + ensure_private_portrait_asset_quota_available, + get_user_private_portrait_config, + set_user_private_portrait_limit, +) from app.utils.id_gen import generate_id DOMAIN = "private_portrait" @@ -53,7 +62,6 @@ def _loads(data: str | None) -> Any: return None - def _exception_message(exc: Exception) -> str: if isinstance(exc, HTTPException): detail = exc.detail @@ -65,7 +73,7 @@ def _exception_message(exc: Exception) -> str: def _public_url(url: str) -> str: - if url.startswith(("http://", "https://")): + if url.startswith(("http://", "https://", PRIVATE_PORTRAIT_ASSET_URI_PREFIX)): return url return f"{settings.BASE_URL.rstrip('/')}/{url.lstrip('/')}" @@ -83,36 +91,31 @@ def _remote_group_name(user_id: str, project_name: str) -> str: return f"{user_id}-{safe_name}"[:128] -async def get_user_private_portrait_config(db: AsyncSession, *, user_id: str) -> PrivatePortraitConfigOut: - user = (await db.execute(select(User).where(User.id == user_id).limit(1))).scalar_one_or_none() - if not user: - raise HTTPException(status_code=404, detail="用户不存在") - limit = int(getattr(user, "private_portrait_image_limit", PRIVATE_PORTRAIT_DEFAULT_IMAGE_LIMIT) or 0) - used = await count_user_counting_image_assets(db, user_id=user_id) - return PrivatePortraitConfigOut(enabled=limit > 0, image_limit=limit, used_image_count=used, remaining_image_count=max(0, limit - used) if limit > 0 else 0) +def _asset_display_url(asset: PrivatePortraitAsset) -> str | None: + return asset.preview_url or asset.remote_url or asset.source_url or None -async def set_user_private_portrait_limit(db: AsyncSession, *, user_id: str, limit: int) -> User: - user = (await db.execute(select(User).where(User.id == user_id).limit(1))).scalar_one_or_none() - if not user: - raise HTTPException(status_code=404, detail="用户不存在") - user.private_portrait_image_limit = max(0, int(limit)) - await db.flush() - return user +def _provider_url(asset: PrivatePortraitAsset) -> str | None: + return f"{PRIVATE_PORTRAIT_ASSET_URI_PREFIX}{asset.remote_asset_id}" if asset.remote_asset_id else None -async def count_user_counting_image_assets(db: AsyncSession, *, user_id: str) -> int: - statuses = [PrivatePortraitAssetStatus.CREATING.value, PrivatePortraitAssetStatus.PROCESSING.value, PrivatePortraitAssetStatus.ACTIVE.value] - total = (await db.execute(select(func.count(PrivatePortraitAsset.id)).where(PrivatePortraitAsset.user_id == user_id, PrivatePortraitAsset.asset_type == PrivatePortraitAssetType.IMAGE.value, PrivatePortraitAsset.deleted_at.is_(None), PrivatePortraitAsset.status.in_(statuses)))).scalar_one() - return int(total or 0) +def _poll_interval_seconds(asset_type: str) -> int: + if asset_type == PrivatePortraitAssetType.VIDEO.value: + return PRIVATE_PORTRAIT_VIDEO_ASSET_POLL_INTERVAL_SECONDS + return PRIVATE_PORTRAIT_ASSET_POLL_INTERVAL_SECONDS -async def _lock_user_for_upload(db: AsyncSession, *, user_id: str) -> User: - # 锁 users 行,避免并发绕过用户总量限制。SQLite 会忽略 FOR UPDATE,不影响本地开发。 - user = (await db.execute(select(User).where(User.id == user_id).with_for_update().limit(1))).scalar_one_or_none() - if not user: - raise HTTPException(status_code=404, detail="用户不存在") - return user +def _poll_max_count(asset_type: str) -> int: + if asset_type == PrivatePortraitAssetType.VIDEO.value: + return PRIVATE_PORTRAIT_VIDEO_ASSET_POLL_MAX_COUNT + return PRIVATE_PORTRAIT_ASSET_POLL_MAX_COUNT + + +def _assert_enabled_asset_type(asset_type: str) -> None: + if asset_type not in {item.value for item in PrivatePortraitAssetType}: + raise HTTPException(status_code=400, detail="asset_type 仅支持 Image/Video,Audio 暂未开放") + if asset_type not in PRIVATE_PORTRAIT_ENABLED_ASSET_TYPES: + raise HTTPException(status_code=400, detail="Audio 暂未开放,当前仅支持 Image/Video") def validate_session_to_out(session: PrivatePortraitValidateSession, *, include_user: bool = False) -> PrivatePortraitValidateSessionOut: @@ -137,12 +140,14 @@ def validate_session_to_out(session: PrivatePortraitValidateSession, *, include_ def asset_to_out(asset: PrivatePortraitAsset, *, project_name: str | None = None, include_user: bool = False) -> PrivatePortraitAssetOut: + display_url = _asset_display_url(asset) return PrivatePortraitAssetOut( id=asset.id, user_id=asset.user_id if include_user else None, project_id=asset.project_id, project_name=project_name, group_id=asset.group_id, + library_type=asset.library_type, remote_group_id=asset.remote_group_id, remote_asset_id=asset.remote_asset_id, remote_project_name=asset.remote_project_name, @@ -150,8 +155,14 @@ def asset_to_out(asset: PrivatePortraitAsset, *, project_name: str | None = None name=asset.name, source_url=asset.source_url, preview_url=asset.preview_url, + display_url=display_url, + provider_url=_provider_url(asset), remote_url=asset.remote_url, remote_url_expired_at=asset.remote_url_expired_at, + video_duration=asset.video_duration, + video_cover_url=asset.video_cover_url, + file_size=asset.file_size, + mime_type=asset.mime_type, status=asset.status, moderation=_loads(asset.moderation_json), last_poll_at=asset.last_poll_at, @@ -166,15 +177,18 @@ def asset_to_out(asset: PrivatePortraitAsset, *, project_name: str | None = None ) -async def _get_existing_active_group(db: AsyncSession, *, project_id: str) -> PrivatePortraitAssetGroup | None: +async def _get_existing_active_group(db: AsyncSession, *, project_id: str, library_type: str | None = None) -> PrivatePortraitAssetGroup | None: + filters = [ + PrivatePortraitAssetGroup.project_id == project_id, + PrivatePortraitAssetGroup.status == PrivatePortraitAssetGroupStatus.ACTIVE.value, + PrivatePortraitAssetGroup.deleted_at.is_(None), + ] + if library_type: + filters.append(PrivatePortraitAssetGroup.library_type == library_type) return ( await db.execute( select(PrivatePortraitAssetGroup) - .where( - PrivatePortraitAssetGroup.project_id == project_id, - PrivatePortraitAssetGroup.status == PrivatePortraitAssetGroupStatus.ACTIVE.value, - PrivatePortraitAssetGroup.deleted_at.is_(None), - ) + .where(*filters) .order_by(PrivatePortraitAssetGroup.created_at.desc()) .limit(1) ) @@ -182,7 +196,9 @@ async def _get_existing_active_group(db: AsyncSession, *, project_id: str) -> Pr async def _ensure_project_can_validate(db: AsyncSession, *, project: PrivatePortraitProject) -> PrivatePortraitValidateSession | None: - active_group = await _get_existing_active_group(db, project_id=project.id) + if project.library_type != PrivatePortraitLibraryType.REAL_PERSON.value: + raise HTTPException(status_code=400, detail="虚拟人像项目不支持真人认证") + active_group = await _get_existing_active_group(db, project_id=project.id, library_type=project.library_type) if active_group or project.status == PrivatePortraitProjectStatus.ACTIVE.value: raise HTTPException(status_code=409, detail="该真人素材项目已完成认证,不能重复认证") @@ -206,12 +222,7 @@ async def _ensure_project_can_validate(db: AsyncSession, *, project: PrivatePort select(PrivatePortraitValidateSession) .where( PrivatePortraitValidateSession.project_id == project.id, - PrivatePortraitValidateSession.status.in_( - [ - PrivatePortraitValidateSessionStatus.CREATED.value, - PrivatePortraitValidateSessionStatus.CALLBACK_SUCCESS.value, - ] - ), + PrivatePortraitValidateSession.status.in_([PrivatePortraitValidateSessionStatus.CREATED.value, PrivatePortraitValidateSessionStatus.CALLBACK_SUCCESS.value]), PrivatePortraitValidateSession.expired_at.is_not(None), PrivatePortraitValidateSession.expired_at > now, ) @@ -223,7 +234,7 @@ async def _ensure_project_can_validate(db: AsyncSession, *, project: PrivatePort async def create_validate_session(db: AsyncSession, *, user_id: str, project_id: str, callback_redirect_url: str | None = None) -> PrivatePortraitValidateSession: - project = await get_user_project(db, user_id=user_id, project_id=project_id) + project = await get_user_project(db, user_id=user_id, project_id=project_id, library_type=PrivatePortraitLibraryType.REAL_PERSON.value) reusable_session = await _ensure_project_can_validate(db, project=project) if reusable_session: return reusable_session @@ -246,10 +257,8 @@ async def create_validate_session(db: AsyncSession, *, user_id: str, project_id: session.h5_link = resp.get("H5Link") or resp.get("h5Link") session.raw_response_json = _json(resp) await db.flush() - # created_at / updated_at 来自数据库默认值或 onupdate,flush 后可能处于 expired 状态。 - # 在 async SQLAlchemy 下,响应转换时同步读取 expired 字段会触发 MissingGreenlet。 await db.refresh(session) - log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.VALIDATE_SESSION_CREATE.value, event_status=PrivatePortraitEventStatus.SUCCESS.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project.id, session_id=session.id, detail={"remote_project_name": project.remote_project_name}) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.VALIDATE_SESSION_CREATE.value, event_status=PrivatePortraitEventStatus.SUCCESS.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project.id, session_id=session.id, detail={"remote_project_name": project.remote_project_name, "library_type": project.library_type}) return session except Exception as exc: session.status = PrivatePortraitValidateSessionStatus.FAILED.value @@ -259,6 +268,7 @@ async def create_validate_session(db: AsyncSession, *, user_id: str, project_id: log_operation_error(domain=DOMAIN, event_type=PrivatePortraitEventType.VALIDATE_SESSION_CREATE_FAILED.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project.id, session_id=session.id, exc=exc) raise + async def get_validate_session(db: AsyncSession, *, user_id: str | None, session_id: str) -> PrivatePortraitValidateSession: filters = [PrivatePortraitValidateSession.id == session_id] if user_id is not None: @@ -304,7 +314,7 @@ async def handle_validate_callback(db: AsyncSession, *, session_id: str, query_p raise HTTPException(status_code=400, detail=session.error_message) try: - existing_group = await _get_existing_active_group(db, project_id=session.project_id) + existing_group = await _get_existing_active_group(db, project_id=session.project_id, library_type=PrivatePortraitLibraryType.REAL_PERSON.value) if existing_group: session.remote_group_id = existing_group.remote_group_id session.status = PrivatePortraitValidateSessionStatus.GROUP_ACTIVE.value @@ -330,10 +340,11 @@ async def handle_validate_callback(db: AsyncSession, *, session_id: str, query_p id=generate_id(), user_id=session.user_id, project_id=session.project_id, + library_type=PrivatePortraitLibraryType.REAL_PERSON.value, remote_group_id=group_id, remote_group_name=remote_group_name, remote_project_name=session.remote_project_name, - group_type=PRIVATE_PORTRAIT_GROUP_TYPE, + group_type=PRIVATE_PORTRAIT_REAL_PERSON_GROUP_TYPE, status=PrivatePortraitAssetGroupStatus.ACTIVE.value, raw_response_json=_json(resp), ) @@ -347,7 +358,7 @@ async def handle_validate_callback(db: AsyncSession, *, session_id: str, query_p await refresh_project_counters(db, [session.project_id]) await db.flush() await db.refresh(session) - log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.VALIDATE_GET_RESULT_SUCCESS.value, event_status=PrivatePortraitEventStatus.SUCCESS.value, source=PrivatePortraitEventSource.CALLBACK.value, user_id=session.user_id, project_id=session.project_id, session_id=session.id, group_id=group.id, detail={"remote_group_id": group_id, "remote_project_name": session.remote_project_name}) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.VALIDATE_GET_RESULT_SUCCESS.value, event_status=PrivatePortraitEventStatus.SUCCESS.value, source=PrivatePortraitEventSource.CALLBACK.value, user_id=session.user_id, project_id=session.project_id, session_id=session.id, group_id=group.id, detail={"remote_group_id": group_id, "remote_project_name": session.remote_project_name, "library_type": PrivatePortraitLibraryType.REAL_PERSON.value}) return session except Exception as exc: session.status = PrivatePortraitValidateSessionStatus.FAILED.value @@ -358,51 +369,67 @@ async def handle_validate_callback(db: AsyncSession, *, session_id: str, query_p log_operation_error(domain=DOMAIN, event_type=PrivatePortraitEventType.VALIDATE_GET_RESULT_FAILED.value, source=PrivatePortraitEventSource.CALLBACK.value, user_id=session.user_id, project_id=session.project_id, session_id=session.id, exc=exc) raise -async def get_project_active_group(db: AsyncSession, *, user_id: str, project_id: str) -> PrivatePortraitAssetGroup: - project = await get_user_project(db, user_id=user_id, project_id=project_id) + +async def get_project_active_group(db: AsyncSession, *, user_id: str, project_id: str, library_type: str | None = None) -> PrivatePortraitAssetGroup: + project = await get_user_project(db, user_id=user_id, project_id=project_id, library_type=library_type) if project.status != PrivatePortraitProjectStatus.ACTIVE.value: - raise HTTPException(status_code=400, detail="请先完成真人授权认证,再上传素材") - result = await db.execute(select(PrivatePortraitAssetGroup).where(PrivatePortraitAssetGroup.user_id == user_id, PrivatePortraitAssetGroup.project_id == project_id, PrivatePortraitAssetGroup.status == PrivatePortraitAssetGroupStatus.ACTIVE.value, PrivatePortraitAssetGroup.deleted_at.is_(None)).order_by(PrivatePortraitAssetGroup.created_at.desc()).limit(1)) + detail = "请先完成真人授权认证,再上传素材" if project.library_type == PrivatePortraitLibraryType.REAL_PERSON.value else "虚拟人像素材组尚未创建成功,不能上传素材" + raise HTTPException(status_code=400, detail=detail) + result = await db.execute( + select(PrivatePortraitAssetGroup) + .where( + PrivatePortraitAssetGroup.user_id == user_id, + PrivatePortraitAssetGroup.project_id == project_id, + PrivatePortraitAssetGroup.library_type == project.library_type, + PrivatePortraitAssetGroup.status == PrivatePortraitAssetGroupStatus.ACTIVE.value, + PrivatePortraitAssetGroup.deleted_at.is_(None), + ) + .order_by(PrivatePortraitAssetGroup.created_at.desc()) + .limit(1) + ) group = result.scalar_one_or_none() if not group: - raise HTTPException(status_code=400, detail="请先完成真人授权认证,再上传素材") + raise HTTPException(status_code=400, detail="项目没有可用的远程素材组") return group -async def create_asset(db: AsyncSession, *, user_id: str, project_id: str, payload: PrivatePortraitAssetCreate) -> PrivatePortraitAsset: - project = await get_user_project(db, user_id=user_id, project_id=project_id) +async def create_asset( + db: AsyncSession, + *, + user_id: str, + project_id: str, + payload: PrivatePortraitAssetCreate, + library_type: str | None = None, +) -> PrivatePortraitAsset: + _assert_enabled_asset_type(payload.asset_type) + project = await get_user_project(db, user_id=user_id, project_id=project_id, library_type=library_type) if project.status != PrivatePortraitProjectStatus.ACTIVE.value: - raise HTTPException(status_code=400, detail="项目正在真人认证或认证未通过,不能上传素材") - if payload.asset_type != PrivatePortraitAssetType.IMAGE.value: - raise HTTPException(status_code=400, detail="第一版真人素材库仅开放 Image 图片素材") - user = await _lock_user_for_upload(db, user_id=user_id) - limit = int(getattr(user, "private_portrait_image_limit", PRIVATE_PORTRAIT_DEFAULT_IMAGE_LIMIT) or 0) - if limit <= 0: - log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_CREATE_REJECT_DISABLED.value, event_status=PrivatePortraitEventStatus.FAILED.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project_id, message="用户真人素材模块未启用") - raise HTTPException(status_code=403, detail="真人素材库未启用") - current_count = await count_user_counting_image_assets(db, user_id=user_id) - if current_count >= limit: - log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_CREATE_REJECT_MAX_LIMIT.value, event_status=PrivatePortraitEventStatus.FAILED.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project_id, detail={"current_count": current_count, "limit": limit}) - raise HTTPException(status_code=400, detail=f"你的真人素材库最多可上传 {limit} 张图片,请删除已有素材后再上传") + raise HTTPException(status_code=400, detail="项目未激活,不能上传素材") - group = await get_project_active_group(db, user_id=user_id, project_id=project.id) + limit, current_count = await ensure_private_portrait_asset_quota_available(db, user_id=user_id, project_id=project_id, library_type=project.library_type, asset_type=payload.asset_type) + group = await get_project_active_group(db, user_id=user_id, project_id=project.id, library_type=project.library_type) public_url = _public_url(payload.url) asset = PrivatePortraitAsset( id=generate_id(), user_id=user_id, project_id=project.id, group_id=group.id, + library_type=project.library_type, remote_group_id=group.remote_group_id, remote_project_name=project.remote_project_name, asset_type=payload.asset_type, name=payload.name, source_url=public_url, preview_url=payload.url, + video_duration=payload.video_duration, + video_cover_url=payload.video_cover_url, + file_size=payload.file_size, + mime_type=payload.mime_type, status=PrivatePortraitAssetStatus.CREATING.value, ) db.add(asset) await db.flush() - log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_CREATE_START.value, event_status=PrivatePortraitEventStatus.PENDING.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project.id, group_id=group.id, asset_id=asset.id, detail={"limit": limit, "current_count": current_count, "remote_project_name": project.remote_project_name}) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_CREATE_START.value, event_status=PrivatePortraitEventStatus.PENDING.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project.id, group_id=group.id, asset_id=asset.id, detail={"asset_limit": limit, "used_asset_count": current_count, "library_type": project.library_type, "asset_type": payload.asset_type, "remote_project_name": project.remote_project_name}) try: remote_resp = await ArkPrivateAssetClient().create_asset(project_name=project.remote_project_name, group_id=group.remote_group_id, url=public_url, asset_type=payload.asset_type, name=payload.name) remote_asset_id = remote_resp.get("Id") or remote_resp.get("AssetId") or remote_resp.get("assetId") @@ -411,14 +438,12 @@ async def create_asset(db: AsyncSession, *, user_id: str, project_id: str, paylo now = datetime.now(timezone.utc) asset.remote_asset_id = remote_asset_id asset.status = PrivatePortraitAssetStatus.PROCESSING.value - asset.next_poll_at = now + timedelta(seconds=PRIVATE_PORTRAIT_ASSET_POLL_INTERVAL_SECONDS) + asset.next_poll_at = now + timedelta(seconds=_poll_interval_seconds(asset.asset_type)) asset.raw_response_json = _json(remote_resp) await refresh_project_counters(db, [project.id]) await db.flush() - # created_at / updated_at 来自数据库默认值或 onupdate,flush 后可能处于 expired 状态。 - # 在 async SQLAlchemy 下,响应转换时同步读取 expired 字段会触发 MissingGreenlet。 await db.refresh(asset) - log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_CREATE_SUCCESS.value, event_status=PrivatePortraitEventStatus.SUCCESS.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project.id, group_id=group.id, asset_id=asset.id, detail={"remote_asset_id": remote_asset_id, "remote_project_name": project.remote_project_name}) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_CREATE_SUCCESS.value, event_status=PrivatePortraitEventStatus.SUCCESS.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project.id, group_id=group.id, asset_id=asset.id, detail={"remote_asset_id": remote_asset_id, "remote_project_name": project.remote_project_name, "library_type": project.library_type, "asset_type": asset.asset_type}) return asset except Exception as exc: asset.status = PrivatePortraitAssetStatus.FAILED.value @@ -434,11 +459,11 @@ async def sync_asset_status(db: AsyncSession, *, user_id: str | None, asset_id: filters.append(PrivatePortraitAsset.user_id == user_id) asset = (await db.execute(select(PrivatePortraitAsset).where(*filters).limit(1))).scalar_one_or_none() if not asset: - raise HTTPException(status_code=404, detail="真人素材不存在") + raise HTTPException(status_code=404, detail="私域人像素材不存在") if asset.deleted_at is not None: - raise HTTPException(status_code=400, detail="真人素材已删除") + raise HTTPException(status_code=400, detail="私域人像素材已删除") if not asset.remote_asset_id: - raise HTTPException(status_code=400, detail="真人素材尚未创建远程 Asset") + raise HTTPException(status_code=400, detail="私域人像素材尚未创建远程 Asset") source = PrivatePortraitEventSource.CELERY.value if user_id is None else PrivatePortraitEventSource.API.value log_operation_event( @@ -449,12 +474,7 @@ async def sync_asset_status(db: AsyncSession, *, user_id: str | None, asset_id: user_id=asset.user_id, project_id=asset.project_id, asset_id=asset.id, - detail={ - "status": asset.status, - "poll_count": int(asset.poll_count or 0), - "remote_asset_id": asset.remote_asset_id, - "remote_project_name": asset.remote_project_name, - }, + detail={"status": asset.status, "poll_count": int(asset.poll_count or 0), "remote_asset_id": asset.remote_asset_id, "remote_project_name": asset.remote_project_name, "library_type": asset.library_type, "asset_type": asset.asset_type}, ) try: remote_resp = await ArkPrivateAssetClient(for_celery=(user_id is None)).get_asset(project_name=asset.remote_project_name, asset_id=asset.remote_asset_id) @@ -467,24 +487,15 @@ async def sync_asset_status(db: AsyncSession, *, user_id: str | None, asset_id: asset.status = status asset.remote_url = remote_resp.get("URL") or remote_resp.get("url") or asset.remote_url asset.moderation_json = _json(remote_resp.get("Moderation") or remote_resp.get("moderation")) + max_count = _poll_max_count(asset.asset_type) - if asset.status == PrivatePortraitAssetStatus.PROCESSING.value and asset.poll_count >= PRIVATE_PORTRAIT_ASSET_POLL_MAX_COUNT: + if asset.status == PrivatePortraitAssetStatus.PROCESSING.value and asset.poll_count >= max_count: asset.status = PrivatePortraitAssetStatus.FAILED.value asset.error_message = "素材入库轮询超时" asset.next_poll_at = None - log_operation_event( - domain=DOMAIN, - event_type=PrivatePortraitEventType.ASSET_POLL_TIMEOUT.value, - event_status=PrivatePortraitEventStatus.FAILED.value, - source=source, - user_id=asset.user_id, - project_id=asset.project_id, - asset_id=asset.id, - detail={"poll_count": asset.poll_count, "max_count": PRIVATE_PORTRAIT_ASSET_POLL_MAX_COUNT, "remote_asset_id": asset.remote_asset_id}, - error=asset.error_message, - ) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_POLL_TIMEOUT.value, event_status=PrivatePortraitEventStatus.FAILED.value, source=source, user_id=asset.user_id, project_id=asset.project_id, asset_id=asset.id, detail={"poll_count": asset.poll_count, "max_count": max_count, "remote_asset_id": asset.remote_asset_id, "library_type": asset.library_type, "asset_type": asset.asset_type}, error=asset.error_message) elif asset.status == PrivatePortraitAssetStatus.PROCESSING.value: - asset.next_poll_at = now + timedelta(seconds=PRIVATE_PORTRAIT_ASSET_POLL_INTERVAL_SECONDS) + asset.next_poll_at = now + timedelta(seconds=_poll_interval_seconds(asset.asset_type)) else: asset.next_poll_at = None @@ -493,23 +504,25 @@ async def sync_asset_status(db: AsyncSession, *, user_id: str | None, asset_id: await refresh_project_counters(db, [asset.project_id]) await db.flush() await db.refresh(asset) - log_operation_event( - domain=DOMAIN, - event_type=PrivatePortraitEventType.ASSET_SYNC_SUCCESS.value, - event_status=PrivatePortraitEventStatus.SUCCESS.value, - source=source, - user_id=asset.user_id, - project_id=asset.project_id, - asset_id=asset.id, - detail={"status": asset.status, "remote_asset_id": asset.remote_asset_id, "next_poll_at": asset.next_poll_at, "poll_count": asset.poll_count}, - ) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_SYNC_SUCCESS.value, event_status=PrivatePortraitEventStatus.SUCCESS.value, source=source, user_id=asset.user_id, project_id=asset.project_id, asset_id=asset.id, detail={"status": asset.status, "remote_asset_id": asset.remote_asset_id, "next_poll_at": asset.next_poll_at, "poll_count": asset.poll_count, "library_type": asset.library_type, "asset_type": asset.asset_type}) return asset except Exception as exc: log_operation_error(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_SYNC_FAILED.value, source=source, user_id=asset.user_id, project_id=asset.project_id, asset_id=asset.id, exc=exc) raise -async def list_assets(db: AsyncSession, *, user_id: str | None, project_id: str | None = None, status: str | None = None, keyword: str | None = None, page: int = 1, page_size: int = 20) -> tuple[list[PrivatePortraitAsset], int, dict[str, str]]: +async def list_assets( + db: AsyncSession, + *, + user_id: str | None, + project_id: str | None = None, + status: str | None = None, + keyword: str | None = None, + page: int = 1, + page_size: int = 20, + library_type: str | None = None, + asset_type: str | None = None, +) -> tuple[list[PrivatePortraitAsset], int, dict[str, str]]: page = max(1, page) page_size = min(max(1, page_size), 100) filters = [PrivatePortraitAsset.deleted_at.is_(None)] @@ -517,6 +530,10 @@ async def list_assets(db: AsyncSession, *, user_id: str | None, project_id: str filters.append(PrivatePortraitAsset.user_id == user_id) if project_id: filters.append(PrivatePortraitAsset.project_id == project_id) + if library_type: + filters.append(PrivatePortraitAsset.library_type == library_type) + if asset_type: + filters.append(PrivatePortraitAsset.asset_type == asset_type) if status: filters.append(PrivatePortraitAsset.status == status) if keyword: @@ -532,15 +549,35 @@ async def list_assets(db: AsyncSession, *, user_id: str | None, project_id: str return assets, int(total or 0), project_name_map -async def list_selectable_assets(db: AsyncSession, *, user_id: str, project_id: str | None = None, keyword: str | None = None, page: int = 1, page_size: int = 20) -> tuple[list[PrivatePortraitSelectableAssetOut], int]: - assets, total, project_name_map = await list_assets(db, user_id=user_id, project_id=project_id, status=PrivatePortraitAssetStatus.ACTIVE.value, keyword=keyword, page=page, page_size=page_size) - return [PrivatePortraitSelectableAssetOut(id=asset.id, project_id=asset.project_id, project_name=project_name_map.get(asset.project_id, ""), name=asset.name, asset_type=asset.asset_type, preview_url=asset.preview_url or asset.remote_url, status=asset.status, created_at=asset.created_at) for asset in assets], total +async def list_selectable_assets(db: AsyncSession, *, user_id: str, project_id: str | None = None, keyword: str | None = None, page: int = 1, page_size: int = 20, library_type: str | None = None, asset_type: str | None = None) -> tuple[list[PrivatePortraitSelectableAssetOut], int]: + assets, total, project_name_map = await list_assets(db, user_id=user_id, project_id=project_id, status=PrivatePortraitAssetStatus.ACTIVE.value, keyword=keyword, page=page, page_size=page_size, library_type=library_type, asset_type=asset_type) + return [ + PrivatePortraitSelectableAssetOut( + id=asset.id, + project_id=asset.project_id, + project_name=project_name_map.get(asset.project_id, ""), + library_type=asset.library_type, + name=asset.name, + asset_type=asset.asset_type, + preview_url=asset.preview_url or asset.remote_url, + display_url=_asset_display_url(asset), + provider_url=_provider_url(asset), + video_duration=asset.video_duration, + video_cover_url=asset.video_cover_url, + status=asset.status, + created_at=asset.created_at, + ) + for asset in assets + ], total -async def soft_delete_asset(db: AsyncSession, *, user_id: str, asset_id: str) -> PrivatePortraitAsset: - asset = (await db.execute(select(PrivatePortraitAsset).where(PrivatePortraitAsset.id == asset_id, PrivatePortraitAsset.user_id == user_id, PrivatePortraitAsset.deleted_at.is_(None)).limit(1))).scalar_one_or_none() +async def soft_delete_asset(db: AsyncSession, *, user_id: str, asset_id: str, library_type: str | None = None) -> PrivatePortraitAsset: + filters = [PrivatePortraitAsset.id == asset_id, PrivatePortraitAsset.user_id == user_id, PrivatePortraitAsset.deleted_at.is_(None)] + if library_type: + filters.append(PrivatePortraitAsset.library_type == library_type) + asset = (await db.execute(select(PrivatePortraitAsset).where(*filters).limit(1))).scalar_one_or_none() if not asset: - raise HTTPException(status_code=404, detail="真人素材不存在") + raise HTTPException(status_code=404, detail="私域人像素材不存在") now = datetime.now(timezone.utc) asset.deleted_at = now asset.status = PrivatePortraitAssetStatus.LOCAL_DELETED.value @@ -548,64 +585,30 @@ async def soft_delete_asset(db: AsyncSession, *, user_id: str, asset_id: str) -> await refresh_project_counters(db, [asset.project_id]) await db.flush() await db.refresh(asset) - log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_DELETE_LOCAL.value, event_status=PrivatePortraitEventStatus.SUCCESS.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=asset.project_id, asset_id=asset.id, detail={"remote_asset_id": asset.remote_asset_id, "remote_project_name": asset.remote_project_name}) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_DELETE_LOCAL.value, event_status=PrivatePortraitEventStatus.SUCCESS.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=asset.project_id, asset_id=asset.id, detail={"remote_asset_id": asset.remote_asset_id, "remote_project_name": asset.remote_project_name, "library_type": asset.library_type, "asset_type": asset.asset_type}) return asset async def delete_asset_remote(db: AsyncSession, *, asset_id: str) -> None: asset = (await db.execute(select(PrivatePortraitAsset).where(PrivatePortraitAsset.id == asset_id).limit(1))).scalar_one_or_none() if not asset: - log_operation_event( - domain=DOMAIN, - event_type=PrivatePortraitEventType.ASSET_DELETE_REMOTE_START.value, - event_status=PrivatePortraitEventStatus.SKIPPED.value, - source=PrivatePortraitEventSource.CELERY.value, - asset_id=asset_id, - message="远程删除跳过:本地素材不存在", - ) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_DELETE_REMOTE_START.value, event_status=PrivatePortraitEventStatus.SKIPPED.value, source=PrivatePortraitEventSource.CELERY.value, asset_id=asset_id, message="远程删除跳过:本地素材不存在") return if not asset.remote_asset_id: asset.remote_delete_status = PrivatePortraitRemoteDeleteStatus.SKIPPED.value asset.remote_delete_error = None await db.flush() - log_operation_event( - domain=DOMAIN, - event_type=PrivatePortraitEventType.ASSET_DELETE_REMOTE_SUCCESS.value, - event_status=PrivatePortraitEventStatus.SKIPPED.value, - source=PrivatePortraitEventSource.CELERY.value, - user_id=asset.user_id, - project_id=asset.project_id, - asset_id=asset.id, - message="远程删除跳过:素材没有 remote_asset_id", - ) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_DELETE_REMOTE_SUCCESS.value, event_status=PrivatePortraitEventStatus.SKIPPED.value, source=PrivatePortraitEventSource.CELERY.value, user_id=asset.user_id, project_id=asset.project_id, asset_id=asset.id, message="远程删除跳过:素材没有 remote_asset_id") return now = datetime.now(timezone.utc) - log_operation_event( - domain=DOMAIN, - event_type=PrivatePortraitEventType.ASSET_DELETE_REMOTE_START.value, - event_status=PrivatePortraitEventStatus.PENDING.value, - source=PrivatePortraitEventSource.CELERY.value, - user_id=asset.user_id, - project_id=asset.project_id, - asset_id=asset.id, - detail={"remote_asset_id": asset.remote_asset_id, "remote_project_name": asset.remote_project_name}, - ) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_DELETE_REMOTE_START.value, event_status=PrivatePortraitEventStatus.PENDING.value, source=PrivatePortraitEventSource.CELERY.value, user_id=asset.user_id, project_id=asset.project_id, asset_id=asset.id, detail={"remote_asset_id": asset.remote_asset_id, "remote_project_name": asset.remote_project_name, "library_type": asset.library_type, "asset_type": asset.asset_type}) try: await ArkPrivateAssetClient(for_celery=True).delete_asset(project_name=asset.remote_project_name, asset_id=asset.remote_asset_id) asset.status = PrivatePortraitAssetStatus.REMOTE_DELETED.value asset.remote_delete_status = PrivatePortraitRemoteDeleteStatus.SUCCESS.value asset.remote_deleted_at = now asset.remote_delete_error = None - log_operation_event( - domain=DOMAIN, - event_type=PrivatePortraitEventType.ASSET_DELETE_REMOTE_SUCCESS.value, - event_status=PrivatePortraitEventStatus.SUCCESS.value, - source=PrivatePortraitEventSource.CELERY.value, - user_id=asset.user_id, - project_id=asset.project_id, - asset_id=asset.id, - detail={"remote_asset_id": asset.remote_asset_id, "remote_project_name": asset.remote_project_name}, - ) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_DELETE_REMOTE_SUCCESS.value, event_status=PrivatePortraitEventStatus.SUCCESS.value, source=PrivatePortraitEventSource.CELERY.value, user_id=asset.user_id, project_id=asset.project_id, asset_id=asset.id, detail={"remote_asset_id": asset.remote_asset_id, "remote_project_name": asset.remote_project_name, "library_type": asset.library_type}) except Exception as exc: asset.status = PrivatePortraitAssetStatus.DELETE_FAILED.value asset.remote_delete_status = PrivatePortraitRemoteDeleteStatus.FAILED.value @@ -619,45 +622,18 @@ async def _delete_asset_group_remote(db: AsyncSession, *, group: PrivatePortrait group.remote_delete_status = PrivatePortraitRemoteDeleteStatus.SKIPPED.value group.remote_delete_error = None await db.flush() - log_operation_event( - domain=DOMAIN, - event_type=PrivatePortraitEventType.PROJECT_DELETE_REMOTE_SUCCESS.value, - event_status=PrivatePortraitEventStatus.SKIPPED.value, - source=PrivatePortraitEventSource.CELERY.value, - user_id=group.user_id, - project_id=group.project_id, - group_id=group.id, - message="远程删除跳过:素材组没有 remote_group_id", - ) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.PROJECT_DELETE_REMOTE_SUCCESS.value, event_status=PrivatePortraitEventStatus.SKIPPED.value, source=PrivatePortraitEventSource.CELERY.value, user_id=group.user_id, project_id=group.project_id, group_id=group.id, message="远程删除跳过:素材组没有 remote_group_id") return client = client or ArkPrivateAssetClient(for_celery=True) now = datetime.now(timezone.utc) - log_operation_event( - domain=DOMAIN, - event_type=PrivatePortraitEventType.PROJECT_DELETE_REMOTE_START.value, - event_status=PrivatePortraitEventStatus.PENDING.value, - source=PrivatePortraitEventSource.CELERY.value, - user_id=group.user_id, - project_id=group.project_id, - group_id=group.id, - detail={"remote_group_id": group.remote_group_id, "remote_project_name": group.remote_project_name}, - ) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.PROJECT_DELETE_REMOTE_START.value, event_status=PrivatePortraitEventStatus.PENDING.value, source=PrivatePortraitEventSource.CELERY.value, user_id=group.user_id, project_id=group.project_id, group_id=group.id, detail={"remote_group_id": group.remote_group_id, "remote_project_name": group.remote_project_name, "library_type": group.library_type}) try: await client.delete_asset_group(project_name=group.remote_project_name, group_id=group.remote_group_id) group.status = PrivatePortraitAssetGroupStatus.REMOTE_DELETED.value group.remote_delete_status = PrivatePortraitRemoteDeleteStatus.SUCCESS.value group.remote_deleted_at = now group.remote_delete_error = None - log_operation_event( - domain=DOMAIN, - event_type=PrivatePortraitEventType.PROJECT_DELETE_REMOTE_SUCCESS.value, - event_status=PrivatePortraitEventStatus.SUCCESS.value, - source=PrivatePortraitEventSource.CELERY.value, - user_id=group.user_id, - project_id=group.project_id, - group_id=group.id, - detail={"remote_group_id": group.remote_group_id, "remote_project_name": group.remote_project_name}, - ) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.PROJECT_DELETE_REMOTE_SUCCESS.value, event_status=PrivatePortraitEventStatus.SUCCESS.value, source=PrivatePortraitEventSource.CELERY.value, user_id=group.user_id, project_id=group.project_id, group_id=group.id, detail={"remote_group_id": group.remote_group_id, "remote_project_name": group.remote_project_name, "library_type": group.library_type}) except Exception as exc: group.status = PrivatePortraitAssetGroupStatus.DELETE_FAILED.value group.remote_delete_status = PrivatePortraitRemoteDeleteStatus.FAILED.value @@ -667,14 +643,7 @@ async def _delete_asset_group_remote(db: AsyncSession, *, group: PrivatePortrait async def delete_project_remote(db: AsyncSession, *, project_id: str) -> None: - log_operation_event( - domain=DOMAIN, - event_type=PrivatePortraitEventType.PROJECT_DELETE_REMOTE_START.value, - event_status=PrivatePortraitEventStatus.PENDING.value, - source=PrivatePortraitEventSource.CELERY.value, - project_id=project_id, - message="开始远程删除真人素材项目资源", - ) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.PROJECT_DELETE_REMOTE_START.value, event_status=PrivatePortraitEventStatus.PENDING.value, source=PrivatePortraitEventSource.CELERY.value, project_id=project_id, message="开始远程删除私域人像素材项目资源") rows = await db.execute(select(PrivatePortraitAsset).where(PrivatePortraitAsset.project_id == project_id)) for asset in rows.scalars().all(): await delete_asset_remote(db, asset_id=asset.id) @@ -682,14 +651,7 @@ async def delete_project_remote(db: AsyncSession, *, project_id: str) -> None: client = ArkPrivateAssetClient(for_celery=True) for group in groups.scalars().all(): await _delete_asset_group_remote(db, group=group, client=client) - log_operation_event( - domain=DOMAIN, - event_type=PrivatePortraitEventType.PROJECT_DELETE_REMOTE_SUCCESS.value, - event_status=PrivatePortraitEventStatus.SUCCESS.value, - source=PrivatePortraitEventSource.CELERY.value, - project_id=project_id, - message="远程删除真人素材项目资源完成", - ) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.PROJECT_DELETE_REMOTE_SUCCESS.value, event_status=PrivatePortraitEventStatus.SUCCESS.value, source=PrivatePortraitEventSource.CELERY.value, project_id=project_id, message="远程删除私域人像素材项目资源完成") await db.flush() @@ -707,13 +669,7 @@ async def poll_due_assets_once(db: AsyncSession, *, limit: int) -> int: .limit(limit) ) ids = [row[0] for row in rows.all()] - log_operation_event( - domain=DOMAIN, - event_type=PrivatePortraitEventType.SYNC_DUE_ASSETS_START.value, - event_status=PrivatePortraitEventStatus.PENDING.value, - source=PrivatePortraitEventSource.CELERY.value, - detail={"limit": limit, "matched_count": len(ids)}, - ) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.SYNC_DUE_ASSETS_START.value, event_status=PrivatePortraitEventStatus.PENDING.value, source=PrivatePortraitEventSource.CELERY.value, detail={"limit": limit, "matched_count": len(ids)}) success_count = 0 failed_count = 0 for asset_id in ids: @@ -722,38 +678,15 @@ async def poll_due_assets_once(db: AsyncSession, *, limit: int) -> int: success_count += 1 except Exception as exc: failed_count += 1 - log_operation_error( - domain=DOMAIN, - event_type=PrivatePortraitEventType.ASSET_POLL_FAILED.value, - source=PrivatePortraitEventSource.CELERY.value, - asset_id=asset_id, - exc=exc, - ) - log_operation_event( - domain=DOMAIN, - event_type=PrivatePortraitEventType.SYNC_DUE_ASSETS_DONE.value, - event_status=PrivatePortraitEventStatus.SUCCESS.value if failed_count == 0 else PrivatePortraitEventStatus.WARNING.value, - source=PrivatePortraitEventSource.CELERY.value, - detail={"matched_count": len(ids), "success_count": success_count, "failed_count": failed_count}, - ) + log_operation_error(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_POLL_FAILED.value, source=PrivatePortraitEventSource.CELERY.value, asset_id=asset_id, exc=exc) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.SYNC_DUE_ASSETS_DONE.value, event_status=PrivatePortraitEventStatus.SUCCESS.value if failed_count == 0 else PrivatePortraitEventStatus.WARNING.value, source=PrivatePortraitEventSource.CELERY.value, detail={"matched_count": len(ids), "success_count": success_count, "failed_count": failed_count}) return len(ids) async def recover_remote_deletes_once(db: AsyncSession, *, limit: int) -> dict[str, int]: - log_operation_event( - domain=DOMAIN, - event_type=PrivatePortraitEventType.REMOTE_DELETE_RECOVERY_START.value, - event_status=PrivatePortraitEventStatus.PENDING.value, - source=PrivatePortraitEventSource.CELERY.value, - detail={"limit": limit}, - ) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.REMOTE_DELETE_RECOVERY_START.value, event_status=PrivatePortraitEventStatus.PENDING.value, source=PrivatePortraitEventSource.CELERY.value, detail={"limit": limit}) statuses = [PrivatePortraitRemoteDeleteStatus.PENDING.value, PrivatePortraitRemoteDeleteStatus.FAILED.value] - asset_rows = await db.execute( - select(PrivatePortraitAsset.id) - .where(PrivatePortraitAsset.remote_delete_status.in_(statuses)) - .order_by(PrivatePortraitAsset.updated_at.asc()) - .limit(limit) - ) + asset_rows = await db.execute(select(PrivatePortraitAsset.id).where(PrivatePortraitAsset.remote_delete_status.in_(statuses)).order_by(PrivatePortraitAsset.updated_at.asc()).limit(limit)) asset_ids = [row[0] for row in asset_rows.all()] for asset_id in asset_ids: await delete_asset_remote(db, asset_id=asset_id) @@ -761,12 +694,7 @@ async def recover_remote_deletes_once(db: AsyncSession, *, limit: int) -> dict[s remaining = max(0, limit - len(asset_ids)) group_count = 0 if remaining > 0: - group_rows = await db.execute( - select(PrivatePortraitAssetGroup) - .where(PrivatePortraitAssetGroup.remote_delete_status.in_(statuses)) - .order_by(PrivatePortraitAssetGroup.updated_at.asc()) - .limit(remaining) - ) + group_rows = await db.execute(select(PrivatePortraitAssetGroup).where(PrivatePortraitAssetGroup.remote_delete_status.in_(statuses)).order_by(PrivatePortraitAssetGroup.updated_at.asc()).limit(remaining)) client = ArkPrivateAssetClient(for_celery=True) groups = list(group_rows.scalars().all()) group_count = len(groups) @@ -774,12 +702,5 @@ async def recover_remote_deletes_once(db: AsyncSession, *, limit: int) -> dict[s await _delete_asset_group_remote(db, group=group, client=client) result = {"asset_count": len(asset_ids), "group_count": group_count, "total_count": len(asset_ids) + group_count} - log_operation_event( - domain=DOMAIN, - event_type=PrivatePortraitEventType.REMOTE_DELETE_RECOVERY_DONE.value, - event_status=PrivatePortraitEventStatus.SUCCESS.value, - source=PrivatePortraitEventSource.CELERY.value, - detail=result, - ) + log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.REMOTE_DELETE_RECOVERY_DONE.value, event_status=PrivatePortraitEventStatus.SUCCESS.value, source=PrivatePortraitEventSource.CELERY.value, detail=result) return result - diff --git a/video-gen-api/app/services/private_portrait/project_service.py b/video-gen-api/app/services/private_portrait/project_service.py index 522f2c04..f40086fe 100644 --- a/video-gen-api/app/services/private_portrait/project_service.py +++ b/video-gen-api/app/services/private_portrait/project_service.py @@ -11,9 +11,11 @@ from app.enums.private_portrait import ( PRIVATE_PORTRAIT_REMOTE_PROJECT_NAME, PrivatePortraitAssetGroupStatus, PrivatePortraitAssetStatus, + PrivatePortraitAssetType, PrivatePortraitEventSource, PrivatePortraitEventStatus, PrivatePortraitEventType, + PrivatePortraitLibraryType, PrivatePortraitProjectStatus, PrivatePortraitRemoteDeleteStatus, ) @@ -27,16 +29,24 @@ DOMAIN = "private_portrait" def _safe_slug(value: str, *, max_length: int = 80) -> str: value = (value or "").strip().lower() - # 先保留常见英文数字连字符;中文等字符统一转 _,仅用于本地项目 slug。 value = re.sub(r"[^a-z0-9_-]+", "_", value) value = re.sub(r"_+", "_", value).strip("_-") return (value[:max_length] or "project") +def _status_for_created_project(library_type: str) -> str: + if library_type == PrivatePortraitLibraryType.REAL_PERSON.value: + return PrivatePortraitProjectStatus.VALIDATING.value + if library_type == PrivatePortraitLibraryType.AIGC_VIRTUAL.value: + return PrivatePortraitProjectStatus.CREATING_REMOTE_GROUP.value + raise HTTPException(status_code=400, detail="library_type 不支持") + + def project_to_out(project: PrivatePortraitProject, *, include_user: bool = False) -> PrivatePortraitProjectOut: return PrivatePortraitProjectOut( id=project.id, user_id=project.user_id if include_user else None, + library_type=project.library_type, name=project.name, name_slug=project.name_slug, remote_project_name=project.remote_project_name, @@ -44,37 +54,57 @@ def project_to_out(project: PrivatePortraitProject, *, include_user: bool = Fals status=project.status, asset_group_count=project.asset_group_count or 0, asset_count=project.asset_count or 0, + image_asset_count=getattr(project, "image_asset_count", 0) or 0, + video_asset_count=getattr(project, "video_asset_count", 0) or 0, active_asset_count=project.active_asset_count or 0, + active_image_asset_count=getattr(project, "active_image_asset_count", 0) or 0, + active_video_asset_count=getattr(project, "active_video_asset_count", 0) or 0, last_used_at=project.last_used_at, created_at=project.created_at, updated_at=project.updated_at, ) -async def get_user_project(db: AsyncSession, *, user_id: str, project_id: str) -> PrivatePortraitProject: - result = await db.execute( - select(PrivatePortraitProject).where( - PrivatePortraitProject.id == project_id, - PrivatePortraitProject.user_id == user_id, - PrivatePortraitProject.deleted_at.is_(None), - ).limit(1) - ) +async def get_user_project( + db: AsyncSession, + *, + user_id: str, + project_id: str, + library_type: str | None = None, +) -> PrivatePortraitProject: + filters = [ + PrivatePortraitProject.id == project_id, + PrivatePortraitProject.user_id == user_id, + PrivatePortraitProject.deleted_at.is_(None), + ] + if library_type: + filters.append(PrivatePortraitProject.library_type == library_type) + result = await db.execute(select(PrivatePortraitProject).where(*filters).limit(1)) project = result.scalar_one_or_none() if not project: - raise HTTPException(status_code=404, detail="真人素材项目不存在") + raise HTTPException(status_code=404, detail="私域人像素材项目不存在") return project -async def create_project(db: AsyncSession, *, user_id: str, payload: PrivatePortraitProjectCreate) -> PrivatePortraitProject: +async def create_project( + db: AsyncSession, + *, + user_id: str, + payload: PrivatePortraitProjectCreate, + library_type: str = PrivatePortraitLibraryType.REAL_PERSON.value, + status: str | None = None, + remote_project_name: str = PRIVATE_PORTRAIT_REMOTE_PROJECT_NAME, +) -> PrivatePortraitProject: slug = _safe_slug(payload.name) project = PrivatePortraitProject( id=generate_id(), user_id=user_id, + library_type=library_type, name=payload.name.strip(), name_slug=slug, - remote_project_name=PRIVATE_PORTRAIT_REMOTE_PROJECT_NAME, + remote_project_name=remote_project_name, description=payload.description, - status=PrivatePortraitProjectStatus.VALIDATING.value, + status=status or _status_for_created_project(library_type), ) db.add(project) await db.flush() @@ -85,35 +115,38 @@ async def create_project(db: AsyncSession, *, user_id: str, payload: PrivatePort source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project.id, - message="创建待认证真人素材项目", - detail={"name": project.name, "remote_project_name": project.remote_project_name, "status": project.status}, + message="创建私域人像素材项目", + detail={"name": project.name, "library_type": library_type, "remote_project_name": project.remote_project_name, "status": project.status}, ) return project -async def update_project(db: AsyncSession, *, user_id: str, project_id: str, payload: PrivatePortraitProjectUpdate) -> PrivatePortraitProject: - project = await get_user_project(db, user_id=user_id, project_id=project_id) +async def update_project( + db: AsyncSession, + *, + user_id: str, + project_id: str, + payload: PrivatePortraitProjectUpdate, + library_type: str | None = None, +) -> PrivatePortraitProject: + project = await get_user_project(db, user_id=user_id, project_id=project_id, library_type=library_type) before = { "name": project.name, "name_slug": project.name_slug, "remote_project_name": project.remote_project_name, "description": project.description, "status": project.status, + "library_type": project.library_type, } if payload.name is not None: new_name = payload.name.strip() if new_name and new_name != project.name: project.name = new_name project.name_slug = _safe_slug(new_name) - project.remote_project_name = PRIVATE_PORTRAIT_REMOTE_PROJECT_NAME if payload.description is not None: project.description = payload.description if payload.status is not None: - allowed_statuses = { - PrivatePortraitProjectStatus.VALIDATING.value, - PrivatePortraitProjectStatus.ACTIVE.value, - PrivatePortraitProjectStatus.VALIDATE_FAILED.value, - } + allowed_statuses = {item.value for item in PrivatePortraitProjectStatus if item != PrivatePortraitProjectStatus.DELETED} if payload.status not in allowed_statuses: raise HTTPException(status_code=400, detail="项目状态不支持") project.status = payload.status @@ -124,6 +157,7 @@ async def update_project(db: AsyncSession, *, user_id: str, project_id: str, pay "remote_project_name": project.remote_project_name, "description": project.description, "status": project.status, + "library_type": project.library_type, } log_operation_event( domain=DOMAIN, @@ -132,7 +166,7 @@ async def update_project(db: AsyncSession, *, user_id: str, project_id: str, pay source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project.id, - message="更新真人素材项目", + message="更新私域人像素材项目", detail={"before": before, "after": after}, ) return project @@ -146,18 +180,27 @@ async def list_projects( page_size: int = 20, keyword: str | None = None, status: str | None = None, + library_type: str | None = None, ) -> tuple[list[PrivatePortraitProject], int]: page = max(1, page) page_size = min(max(1, page_size), 100) filters = [PrivatePortraitProject.deleted_at.is_(None)] if user_id: filters.append(PrivatePortraitProject.user_id == user_id) + if library_type: + filters.append(PrivatePortraitProject.library_type == library_type) if keyword: filters.append(PrivatePortraitProject.name.ilike(f"%{keyword.strip()}%")) if status: filters.append(PrivatePortraitProject.status == status) total = (await db.execute(select(func.count(PrivatePortraitProject.id)).where(*filters))).scalar_one() - result = await db.execute(select(PrivatePortraitProject).where(*filters).order_by(PrivatePortraitProject.created_at.desc()).offset((page - 1) * page_size).limit(page_size)) + result = await db.execute( + select(PrivatePortraitProject) + .where(*filters) + .order_by(PrivatePortraitProject.created_at.desc()) + .offset((page - 1) * page_size) + .limit(page_size) + ) return list(result.scalars().all()), int(total or 0) @@ -174,27 +217,74 @@ async def refresh_project_counters(db: AsyncSession, project_ids: list[str]) -> select( PrivatePortraitAsset.project_id, func.count(PrivatePortraitAsset.id), + func.sum(case((PrivatePortraitAsset.asset_type == PrivatePortraitAssetType.IMAGE.value, 1), else_=0)), + func.sum(case((PrivatePortraitAsset.asset_type == PrivatePortraitAssetType.VIDEO.value, 1), else_=0)), func.sum(case((PrivatePortraitAsset.status == PrivatePortraitAssetStatus.ACTIVE.value, 1), else_=0)), + func.sum(case(((PrivatePortraitAsset.status == PrivatePortraitAssetStatus.ACTIVE.value) & (PrivatePortraitAsset.asset_type == PrivatePortraitAssetType.IMAGE.value), 1), else_=0)), + func.sum(case(((PrivatePortraitAsset.status == PrivatePortraitAssetStatus.ACTIVE.value) & (PrivatePortraitAsset.asset_type == PrivatePortraitAssetType.VIDEO.value), 1), else_=0)), ) .where(PrivatePortraitAsset.project_id.in_(project_ids), PrivatePortraitAsset.deleted_at.is_(None)) .group_by(PrivatePortraitAsset.project_id) ) group_count_map = {pid: int(count or 0) for pid, count in group_rows.all()} - asset_count_map: dict[str, tuple[int, int]] = {} - for pid, total, active_total in asset_rows.all(): - asset_count_map[pid] = (int(total or 0), int(active_total or 0)) + asset_count_map: dict[str, tuple[int, int, int, int, int, int]] = {} + for pid, total, image_total, video_total, active_total, active_image_total, active_video_total in asset_rows.all(): + asset_count_map[pid] = ( + int(total or 0), + int(image_total or 0), + int(video_total or 0), + int(active_total or 0), + int(active_image_total or 0), + int(active_video_total or 0), + ) for pid in project_ids: - total, active_total = asset_count_map.get(pid, (0, 0)) - await db.execute(update(PrivatePortraitProject).where(PrivatePortraitProject.id == pid).values(asset_group_count=group_count_map.get(pid, 0), asset_count=total, active_asset_count=active_total)) + total, image_total, video_total, active_total, active_image_total, active_video_total = asset_count_map.get(pid, (0, 0, 0, 0, 0, 0)) + await db.execute( + update(PrivatePortraitProject) + .where(PrivatePortraitProject.id == pid) + .values( + asset_group_count=group_count_map.get(pid, 0), + asset_count=total, + image_asset_count=image_total, + video_asset_count=video_total, + active_asset_count=active_total, + active_image_asset_count=active_image_total, + active_video_asset_count=active_video_total, + ) + .execution_options(synchronize_session=False) + ) -async def soft_delete_project(db: AsyncSession, *, user_id: str, project_id: str) -> PrivatePortraitProject: - project = await get_user_project(db, user_id=user_id, project_id=project_id) +async def soft_delete_project( + db: AsyncSession, + *, + user_id: str, + project_id: str, + library_type: str | None = None, +) -> PrivatePortraitProject: + project = await get_user_project(db, user_id=user_id, project_id=project_id, library_type=library_type) now = datetime.now(timezone.utc) project.deleted_at = now project.status = PrivatePortraitProjectStatus.DELETED.value - await db.execute(update(PrivatePortraitAsset).where(PrivatePortraitAsset.project_id == project_id, PrivatePortraitAsset.deleted_at.is_(None)).values(deleted_at=now, status=PrivatePortraitAssetStatus.LOCAL_DELETED.value, remote_delete_status=PrivatePortraitRemoteDeleteStatus.PENDING.value)) - await db.execute(update(PrivatePortraitAssetGroup).where(PrivatePortraitAssetGroup.project_id == project_id, PrivatePortraitAssetGroup.deleted_at.is_(None)).values(deleted_at=now, status=PrivatePortraitAssetGroupStatus.LOCAL_DELETED.value, remote_delete_status=PrivatePortraitRemoteDeleteStatus.PENDING.value)) + await db.execute( + update(PrivatePortraitAsset) + .where(PrivatePortraitAsset.project_id == project_id, PrivatePortraitAsset.deleted_at.is_(None)) + .values(deleted_at=now, status=PrivatePortraitAssetStatus.LOCAL_DELETED.value, remote_delete_status=PrivatePortraitRemoteDeleteStatus.PENDING.value) + ) + await db.execute( + update(PrivatePortraitAssetGroup) + .where(PrivatePortraitAssetGroup.project_id == project_id, PrivatePortraitAssetGroup.deleted_at.is_(None)) + .values(deleted_at=now, status=PrivatePortraitAssetGroupStatus.LOCAL_DELETED.value, remote_delete_status=PrivatePortraitRemoteDeleteStatus.PENDING.value) + ) await db.flush() - log_operation_event(domain=DOMAIN, event_type=PrivatePortraitEventType.PROJECT_DELETE.value, event_status=PrivatePortraitEventStatus.SUCCESS.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project.id, message="本地软删真人素材项目", detail={"remote_project_name": project.remote_project_name}) + log_operation_event( + domain=DOMAIN, + event_type=PrivatePortraitEventType.PROJECT_DELETE.value, + event_status=PrivatePortraitEventStatus.SUCCESS.value, + source=PrivatePortraitEventSource.API.value, + user_id=user_id, + project_id=project.id, + message="本地软删私域人像素材项目", + detail={"library_type": project.library_type, "remote_project_name": project.remote_project_name}, + ) return project diff --git a/video-gen-api/app/services/private_portrait/quota_service.py b/video-gen-api/app/services/private_portrait/quota_service.py new file mode 100644 index 00000000..77b43222 --- /dev/null +++ b/video-gen-api/app/services/private_portrait/quota_service.py @@ -0,0 +1,141 @@ +from __future__ import annotations + +from fastapi import HTTPException +from sqlalchemy import func, select +from sqlalchemy.ext.asyncio import AsyncSession + +from app.enums.private_portrait import ( + PRIVATE_PORTRAIT_DEFAULT_ASSET_LIMIT, + PRIVATE_PORTRAIT_ENABLED_ASSET_TYPES, + PrivatePortraitAssetStatus, + PrivatePortraitEventSource, + PrivatePortraitEventStatus, + PrivatePortraitEventType, + PrivatePortraitLibraryType, +) +from app.models.private_portrait import PrivatePortraitAsset +from app.models.user import User +from app.schemas.private_portrait import PrivatePortraitConfigOut +from app.services.operation_log_service import log_operation_event + +DOMAIN = "private_portrait" + +_COUNTING_STATUSES = { + PrivatePortraitAssetStatus.CREATING.value, + PrivatePortraitAssetStatus.PROCESSING.value, + PrivatePortraitAssetStatus.ACTIVE.value, +} +_COUNTING_LIBRARY_TYPES = { + PrivatePortraitLibraryType.REAL_PERSON.value, + PrivatePortraitLibraryType.AIGC_VIRTUAL.value, +} + + +async def get_user_or_404(db: AsyncSession, *, user_id: str, for_update: bool = False) -> User: + stmt = select(User).where(User.id == user_id).limit(1) + if for_update: + stmt = stmt.with_for_update() + user = (await db.execute(stmt)).scalar_one_or_none() + if not user: + raise HTTPException(status_code=404, detail="用户不存在") + return user + + +def get_user_asset_limit_value(user: User) -> int: + return int(getattr(user, "private_portrait_asset_limit", PRIVATE_PORTRAIT_DEFAULT_ASSET_LIMIT) or 0) + + +async def count_user_counting_assets(db: AsyncSession, *, user_id: str) -> int: + total = ( + await db.execute( + select(func.count(PrivatePortraitAsset.id)).where( + PrivatePortraitAsset.user_id == user_id, + PrivatePortraitAsset.library_type.in_(_COUNTING_LIBRARY_TYPES), + PrivatePortraitAsset.asset_type.in_(PRIVATE_PORTRAIT_ENABLED_ASSET_TYPES), + PrivatePortraitAsset.deleted_at.is_(None), + PrivatePortraitAsset.status.in_(_COUNTING_STATUSES), + ) + ) + ).scalar_one() + return int(total or 0) + + +async def get_user_private_portrait_config(db: AsyncSession, *, user_id: str) -> PrivatePortraitConfigOut: + user = await get_user_or_404(db, user_id=user_id) + limit = get_user_asset_limit_value(user) + used = await count_user_counting_assets(db, user_id=user_id) + remaining = max(0, limit - used) if limit > 0 else 0 + return PrivatePortraitConfigOut( + enabled=limit > 0, + asset_limit=limit, + used_asset_count=used, + remaining_asset_count=remaining, + image_limit=limit, + used_image_count=used, + remaining_image_count=remaining, + ) + + +async def set_user_private_portrait_limit(db: AsyncSession, *, user_id: str, limit: int) -> User: + user = await get_user_or_404(db, user_id=user_id) + user.private_portrait_asset_limit = max(0, int(limit)) + await db.flush() + return user + + +async def ensure_private_portrait_asset_quota_available( + db: AsyncSession, + *, + user_id: str, + project_id: str | None = None, + library_type: str | None = None, + asset_type: str | None = None, +) -> tuple[int, int]: + user = await get_user_or_404(db, user_id=user_id, for_update=True) + limit = get_user_asset_limit_value(user) + log_operation_event( + domain=DOMAIN, + event_type=PrivatePortraitEventType.QUOTA_CHECK_START.value, + event_status=PrivatePortraitEventStatus.PENDING.value, + source=PrivatePortraitEventSource.SERVICE.value, + user_id=user_id, + project_id=project_id, + detail={"asset_limit": limit, "library_type": library_type, "asset_type": asset_type}, + ) + if limit <= 0: + log_operation_event( + domain=DOMAIN, + event_type=PrivatePortraitEventType.QUOTA_CHECK_DENY.value, + event_status=PrivatePortraitEventStatus.FAILED.value, + source=PrivatePortraitEventSource.SERVICE.value, + user_id=user_id, + project_id=project_id, + detail={"asset_limit": limit, "library_type": library_type, "asset_type": asset_type, "reason": "disabled"}, + message="用户私域人像素材库未启用", + ) + raise HTTPException(status_code=403, detail="私域人像素材库未启用") + + used = await count_user_counting_assets(db, user_id=user_id) + if used >= limit: + log_operation_event( + domain=DOMAIN, + event_type=PrivatePortraitEventType.QUOTA_CHECK_DENY.value, + event_status=PrivatePortraitEventStatus.FAILED.value, + source=PrivatePortraitEventSource.SERVICE.value, + user_id=user_id, + project_id=project_id, + detail={"asset_limit": limit, "used_asset_count": used, "library_type": library_type, "asset_type": asset_type, "reason": "max_limit"}, + message="用户私域人像素材总量已达上限", + ) + raise HTTPException(status_code=400, detail=f"你的私域人像素材库最多可上传 {limit} 个素材,请删除已有素材后再上传") + + log_operation_event( + domain=DOMAIN, + event_type=PrivatePortraitEventType.QUOTA_CHECK_PASS.value, + event_status=PrivatePortraitEventStatus.SUCCESS.value, + source=PrivatePortraitEventSource.SERVICE.value, + user_id=user_id, + project_id=project_id, + detail={"asset_limit": limit, "used_asset_count": used, "remaining_asset_count": max(0, limit - used), "library_type": library_type, "asset_type": asset_type}, + ) + return limit, used diff --git a/video-gen-api/app/services/private_portrait/real_person/__init__.py b/video-gen-api/app/services/private_portrait/real_person/__init__.py new file mode 100644 index 00000000..e4cf26b6 --- /dev/null +++ b/video-gen-api/app/services/private_portrait/real_person/__init__.py @@ -0,0 +1 @@ +from app.services.private_portrait.real_person.service import * diff --git a/video-gen-api/app/services/private_portrait/real_person/service.py b/video-gen-api/app/services/private_portrait/real_person/service.py new file mode 100644 index 00000000..8ed84d47 --- /dev/null +++ b/video-gen-api/app/services/private_portrait/real_person/service.py @@ -0,0 +1,24 @@ +from __future__ import annotations + +from sqlalchemy.ext.asyncio import AsyncSession + +from app.enums.private_portrait import PrivatePortraitLibraryType +from app.schemas.private_portrait import PrivatePortraitAssetCreate, PrivatePortraitProjectCreate, PrivatePortraitProjectUpdate +from app.services.private_portrait.asset_service import create_asset, create_validate_session +from app.services.private_portrait.project_service import create_project, update_project + + +async def create_real_person_project(db: AsyncSession, *, user_id: str, payload: PrivatePortraitProjectCreate): + return await create_project(db, user_id=user_id, payload=payload, library_type=PrivatePortraitLibraryType.REAL_PERSON.value) + + +async def update_real_person_project(db: AsyncSession, *, user_id: str, project_id: str, payload: PrivatePortraitProjectUpdate): + return await update_project(db, user_id=user_id, project_id=project_id, payload=payload, library_type=PrivatePortraitLibraryType.REAL_PERSON.value) + + +async def create_real_person_validate_session(db: AsyncSession, *, user_id: str, project_id: str, callback_redirect_url: str | None = None): + return await create_validate_session(db, user_id=user_id, project_id=project_id, callback_redirect_url=callback_redirect_url) + + +async def create_real_person_asset(db: AsyncSession, *, user_id: str, project_id: str, payload: PrivatePortraitAssetCreate): + return await create_asset(db, user_id=user_id, project_id=project_id, payload=payload, library_type=PrivatePortraitLibraryType.REAL_PERSON.value) diff --git a/video-gen-api/app/services/private_portrait/reference_resolver.py b/video-gen-api/app/services/private_portrait/reference_resolver.py index b7613454..7f03eff2 100644 --- a/video-gen-api/app/services/private_portrait/reference_resolver.py +++ b/video-gen-api/app/services/private_portrait/reference_resolver.py @@ -10,6 +10,7 @@ from sqlalchemy.ext.asyncio import AsyncSession from app.enums.private_portrait import ( PRIVATE_PORTRAIT_ASSET_URI_PREFIX, PrivatePortraitAssetStatus, + PRIVATE_PORTRAIT_ENABLED_ASSET_TYPES, PrivatePortraitAssetType, PrivatePortraitEventSource, PrivatePortraitEventStatus, @@ -25,7 +26,6 @@ DOMAIN = "private_portrait" _ASSET_TYPE_TO_REFERENCE_TYPE = { PrivatePortraitAssetType.IMAGE.value: "image", PrivatePortraitAssetType.VIDEO.value: "video", - PrivatePortraitAssetType.AUDIO.value: "audio", } @@ -260,24 +260,26 @@ async def resolve_private_portrait_references( asset_id = str(_ref_get(ref, "private_asset_id") or "") if not asset_id: - raise HTTPException(status_code=400, detail="真人素材引用缺少 private_asset_id") + raise HTTPException(status_code=400, detail="私域人像素材引用缺少 private_asset_id") asset = asset_map.get(asset_id) if not asset: - raise HTTPException(status_code=400, detail="真人素材不存在") + raise HTTPException(status_code=400, detail="私域人像素材不存在") if asset.user_id != user_id: - raise HTTPException(status_code=403, detail="真人素材不属于当前用户") + raise HTTPException(status_code=403, detail="私域人像素材不属于当前用户") if asset.deleted_at is not None: - raise HTTPException(status_code=400, detail="真人素材已删除") + raise HTTPException(status_code=400, detail="私域人像素材已删除") + if asset.asset_type not in PRIVATE_PORTRAIT_ENABLED_ASSET_TYPES: + raise HTTPException(status_code=400, detail="Audio 暂未开放,当前仅支持 Image/Video 私域素材") if asset.status != PrivatePortraitAssetStatus.ACTIVE.value: - raise HTTPException(status_code=400, detail=f"真人素材状态为 {asset.status},Active 后才可用于生成") + raise HTTPException(status_code=400, detail=f"私域人像素材状态为 {asset.status},Active 后才可用于生成") if not asset.remote_asset_id: - raise HTTPException(status_code=400, detail="真人素材缺少远程 AssetId") + raise HTTPException(status_code=400, detail="私域人像素材缺少远程 AssetId") expected_ref_type = _ASSET_TYPE_TO_REFERENCE_TYPE.get(asset.asset_type) ref_type = _normalize_ref_type(_ref_get(ref, "type")) if expected_ref_type and ref_type and ref_type != expected_ref_type: - raise HTTPException(status_code=400, detail=f"真人素材类型不匹配:引用为 {ref_type},素材为 {expected_ref_type}") + raise HTTPException(status_code=400, detail=f"私域人像素材类型不匹配:引用为 {ref_type},素材为 {expected_ref_type}") provider_url = f"{PRIVATE_PORTRAIT_ASSET_URI_PREFIX}{asset.remote_asset_id}" _ref_set(ref, "source", PrivatePortraitReferenceSource.PRIVATE_PORTRAIT_ASSET.value) diff --git a/video-gen-api/app/services/private_portrait/virtual/__init__.py b/video-gen-api/app/services/private_portrait/virtual/__init__.py new file mode 100644 index 00000000..1d270070 --- /dev/null +++ b/video-gen-api/app/services/private_portrait/virtual/__init__.py @@ -0,0 +1 @@ +from app.services.private_portrait.virtual.service import * diff --git a/video-gen-api/app/services/private_portrait/virtual/service.py b/video-gen-api/app/services/private_portrait/virtual/service.py new file mode 100644 index 00000000..7a9557d8 --- /dev/null +++ b/video-gen-api/app/services/private_portrait/virtual/service.py @@ -0,0 +1,126 @@ +from __future__ import annotations + +import json + +from fastapi import HTTPException +from sqlalchemy.ext.asyncio import AsyncSession + +from app.enums.private_portrait import ( + PRIVATE_PORTRAIT_REMOTE_PROJECT_NAME, + PRIVATE_PORTRAIT_VIRTUAL_GROUP_TYPE, + PrivatePortraitAssetGroupStatus, + PrivatePortraitEventSource, + PrivatePortraitEventStatus, + PrivatePortraitEventType, + PrivatePortraitLibraryType, + PrivatePortraitProjectStatus, +) +from app.models.private_portrait import PrivatePortraitAssetGroup +from app.schemas.private_portrait import PrivatePortraitAssetCreate, PrivatePortraitProjectUpdate, PrivatePortraitVirtualProjectCreate +from app.services.operation_log_service import log_operation_error, log_operation_event +from app.services.private_portrait.ark_client import ArkPrivateAssetClient +from app.services.private_portrait.asset_service import create_asset +from app.services.private_portrait.project_service import create_project, refresh_project_counters, update_project +from app.utils.id_gen import generate_id + +DOMAIN = "private_portrait" + + +def _json(data) -> str | None: + if data is None: + return None + return json.dumps(data, ensure_ascii=False, default=str) + + +def _remote_group_name(user_id: str, project_name: str) -> str: + safe_name = "".join(ch if ch.isalnum() or ch in "-_" else "_" for ch in project_name.strip())[:80] + return f"virtual-{user_id}-{safe_name}"[:128] + + +async def create_virtual_project(db: AsyncSession, *, user_id: str, payload: PrivatePortraitVirtualProjectCreate): + project = await create_project( + db, + user_id=user_id, + payload=payload, # type: ignore[arg-type] + library_type=PrivatePortraitLibraryType.AIGC_VIRTUAL.value, + status=PrivatePortraitProjectStatus.CREATING_REMOTE_GROUP.value, + remote_project_name=PRIVATE_PORTRAIT_REMOTE_PROJECT_NAME, + ) + remote_group_name = _remote_group_name(user_id, project.name) + log_operation_event( + domain=DOMAIN, + event_type=PrivatePortraitEventType.VIRTUAL_ASSET_GROUP_CREATE_REMOTE_START.value, + event_status=PrivatePortraitEventStatus.PENDING.value, + source=PrivatePortraitEventSource.API.value, + user_id=user_id, + project_id=project.id, + detail={"remote_group_name": remote_group_name, "remote_project_name": project.remote_project_name, "group_type": PRIVATE_PORTRAIT_VIRTUAL_GROUP_TYPE}, + ) + try: + resp = await ArkPrivateAssetClient().create_asset_group( + project_name=project.remote_project_name, + name=remote_group_name, + description=project.description, + group_type=PRIVATE_PORTRAIT_VIRTUAL_GROUP_TYPE, + ) + remote_group_id = resp.get("Id") or resp.get("GroupId") or resp.get("groupId") + if not remote_group_id: + raise RuntimeError("CreateAssetGroup 未返回素材组 ID") + group = PrivatePortraitAssetGroup( + id=generate_id(), + user_id=user_id, + project_id=project.id, + library_type=PrivatePortraitLibraryType.AIGC_VIRTUAL.value, + remote_group_id=remote_group_id, + remote_group_name=remote_group_name, + remote_project_name=project.remote_project_name, + group_type=PRIVATE_PORTRAIT_VIRTUAL_GROUP_TYPE, + status=PrivatePortraitAssetGroupStatus.ACTIVE.value, + raw_response_json=_json(resp), + ) + db.add(group) + project.status = PrivatePortraitProjectStatus.ACTIVE.value + await refresh_project_counters(db, [project.id]) + await db.flush() + await db.refresh(project) + log_operation_event( + domain=DOMAIN, + event_type=PrivatePortraitEventType.VIRTUAL_ASSET_GROUP_CREATE_REMOTE_SUCCESS.value, + event_status=PrivatePortraitEventStatus.SUCCESS.value, + source=PrivatePortraitEventSource.API.value, + user_id=user_id, + project_id=project.id, + group_id=group.id, + detail={"remote_group_id": remote_group_id, "remote_group_name": remote_group_name, "remote_project_name": project.remote_project_name}, + ) + return project + except Exception as exc: + project.status = PrivatePortraitProjectStatus.CREATE_GROUP_FAILED.value + await db.flush() + log_operation_error( + domain=DOMAIN, + event_type=PrivatePortraitEventType.VIRTUAL_ASSET_GROUP_CREATE_REMOTE_FAILED.value, + source=PrivatePortraitEventSource.API.value, + user_id=user_id, + project_id=project.id, + exc=exc, + ) + raise HTTPException(status_code=502, detail=f"创建火山虚拟人像素材组失败:{exc}") from exc + + +async def update_virtual_project(db: AsyncSession, *, user_id: str, project_id: str, payload: PrivatePortraitProjectUpdate): + project = await update_project(db, user_id=user_id, project_id=project_id, payload=payload, library_type=PrivatePortraitLibraryType.AIGC_VIRTUAL.value) + # 远程同步失败不影响本地更新,记录日志便于排查。 + try: + # 只同步当前激活组。 + from app.services.private_portrait.asset_service import get_project_active_group + + group = await get_project_active_group(db, user_id=user_id, project_id=project_id, library_type=PrivatePortraitLibraryType.AIGC_VIRTUAL.value) + await ArkPrivateAssetClient().update_asset_group(project_name=project.remote_project_name, group_id=group.remote_group_id, name=group.remote_group_name, title=project.name, description=project.description) + except Exception as exc: + log_operation_error(domain=DOMAIN, event_type=PrivatePortraitEventType.ASSET_GROUP_UPDATE_REMOTE_FAILED.value, source=PrivatePortraitEventSource.API.value, user_id=user_id, project_id=project_id, exc=exc) + return project + + +async def create_virtual_asset(db: AsyncSession, *, user_id: str, project_id: str, payload: PrivatePortraitAssetCreate): + return await create_asset(db, user_id=user_id, project_id=project_id, payload=payload, library_type=PrivatePortraitLibraryType.AIGC_VIRTUAL.value) diff --git a/video-gen-app/debug-ratio-options-not-showing.md b/video-gen-app/debug-ratio-options-not-showing.md index 71af833a..e69de29b 100644 --- a/video-gen-app/debug-ratio-options-not-showing.md +++ b/video-gen-app/debug-ratio-options-not-showing.md @@ -1,30 +0,0 @@ -# Debug Session: ratio-options-not-showing - -## Session ID -ratio-options-not-showing - -## Created -2026-07-01 - -## Symptom -用户反馈:GenerateConver.tsx 中比例选项(ratioOptions)不显示,控制台无报错。 - -## Hypotheses (待验证假设) - -1. **H1**: `ratioOptions` 默认值未生效 - useState 初始化失败 -2. **H2**: `getEngine()` 返回的 `data.engine.image` 不存在或为空数组,if 条件未进入 -3. **H3**: 比例按钮渲染区域被父容器 CSS 隐藏(如 `display: none`, `visibility: hidden`, `overflow: hidden`) -4. **H4**: `ratioOptions` 在某处被重置为空数组 -5. **H5**: 组件条件渲染导致整个比例区域未挂载 - -## Evidence Points -- EP1: 检查 `ratioOptions` 初始值是否为 8 个元素的数组 -- EP2: 检查 `getEngine()` 返回后 `data.engine.image` 是否存在 -- EP3: 检查渲染区域父容器的 CSS 是否有隐藏属性 -- EP4: 搜索代码中是否有 `setRatioOptions([])` 调用 - -## Status -[OPEN] - 调试中 - -## Log File -`trae-debug-log-ratio-options-not-showing.ndjson` diff --git a/video-gen-app/dist/assets/index-DUQKfJjB.js b/video-gen-app/dist/assets/index-DjHXCPu7.js similarity index 61% rename from video-gen-app/dist/assets/index-DUQKfJjB.js rename to video-gen-app/dist/assets/index-DjHXCPu7.js index 57e49ba4..1f6866af 100644 --- a/video-gen-app/dist/assets/index-DUQKfJjB.js +++ b/video-gen-app/dist/assets/index-DjHXCPu7.js @@ -124,39 +124,39 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho html body { overflow-y: hidden; ${mp()?`width: calc(100% - ${e}px);`:``} -}`,n)}else Tr(n);return()=>{Tr(n)}},[t,n])}var vp=[],yp=200,bp=0,xp=e=>{if(e.key===`Escape`&&!e.isComposing){if(Date.now()-bp=0;--n)vp[n].onEsc({top:n===t-1,event:e})}},Sp=()=>{bp=Date.now()};function Cp(){window.addEventListener(`keydown`,xp),window.addEventListener(`compositionend`,Sp)}function wp(){vp.length===0&&(window.removeEventListener(`keydown`,xp),window.removeEventListener(`compositionend`,Sp))}function Tp(e,t){let n=Xn(),r=zn(t),i=()=>{vp.find(e=>e.id===n)||vp.push({id:n,onEsc:r})},a=()=>{vp=vp.filter(e=>e.id!==n)};(0,S.useMemo)(()=>{e?i():e||a()},[e]),(0,S.useEffect)(()=>{if(e)return i(),Cp(),()=>{a(),wp()}},[e])}var Ep=e=>e===!1?!1:!Bn()||!e?null:typeof e==`string`?document.querySelector(e):typeof e==`function`?e():e,Dp=S.forwardRef((e,t)=>{let{open:n,autoLock:r,getContainer:i,debug:a,autoDestroy:o=!0,children:s,onEsc:c}=e,[l,u]=S.useState(n),d=l||n;S.useEffect(()=>{(o||n)&&u(n)},[n,o]);let[f,p]=S.useState(()=>Ep(i));S.useEffect(()=>{let e=Ep(i);p(()=>e??null)});let[m,h]=pp(d&&!f,a),g=f??m;_p(r&&n&&Bn()&&(g===m||g===document.body)),Tp(n,c);let _=null;s&&ur(s)&&t&&(_=pr(s));let v=lr(_,t);if(!d||!Bn()||f===void 0)return null;let y=g===!1||dp(),b=s;return t&&(b=S.cloneElement(s,{ref:v})),S.createElement(lp.Provider,{value:h},y?b:(0,Vi.createPortal)(b,g))});function Op(e){let{prefixCls:t,align:n,arrow:r,arrowPos:i}=e,{className:a,content:o,style:s}=r||{},{x:c=0,y:l=0}=i,u=S.useRef(null);if(!n||!n.points)return null;let d={position:`absolute`};if(n.autoArrow!==!1){let e=n.points[0],t=n.points[1],r=e[0],i=e[1],a=t[0],o=t[1];r===a||![`t`,`b`].includes(r)?d.top=l:r===`t`?d.top=0:d.bottom=0,i===o||![`l`,`r`].includes(i)?d.left=c:i===`l`?d.left=0:d.right=0}return S.createElement(`div`,{ref:u,className:J(`${t}-arrow`,a),style:{...d,...s}},o)}function kp(){return kp=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(`div`,{style:{zIndex:r},className:J(`${t}-mask`,o&&`${t}-mobile-mask`,e)})):null}var jp=S.memo(({children:e})=>e,(e,t)=>t.cache);function Mp(e,t,n,r,i,a,o,s){let c=`auto`,l=e?{}:{left:`-1000vw`,top:`-1000vh`,right:c,bottom:c};if(!e&&(t||!n)){let{points:e}=r,t=r.dynamicInset||r._experimental?.dynamicInset,n=t&&e[0][1]===`r`,u=t&&e[0][0]===`b`;n?(l.right=i,l.left=c):(l.left=o,l.right=c),u?(l.bottom=a,l.top=c):(l.top=s,l.bottom=c)}return l}function Np(){return Np=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{onEsc:n,popup:r,className:i,prefixCls:a,style:o,target:s,onVisibleChanged:c,open:l,keepDom:u,fresh:d,onClick:f,mask:p,arrow:m,arrowPos:h,align:g,motion:_,maskMotion:v,mobile:y,forceRender:b,getPopupContainer:x,autoDestroy:C,portal:w,children:T,zIndex:E,onMouseEnter:D,onMouseLeave:O,onPointerEnter:k,onPointerDownCapture:A,ready:j,offsetX:M,offsetY:N,offsetR:P,offsetB:F,onAlign:I,onPrepare:L,onResize:R,stretch:z,targetWidth:B,targetHeight:V}=e,H=typeof r==`function`?r():r,U=l||u,W=!!y,[ee,te,ne]=S.useMemo(()=>y?[y.mask,y.maskMotion,y.motion]:[p,v,_],[y,p,v,_]),re=x?.length>0,[G,ie]=S.useState(!x||!re);Hn(()=>{!G&&re&&s&&ie(!0)},[G,re,s]);let K=zn((e,t)=>{R?.(e,t),I()}),ae=Mp(W,j,l,g,P,F,M,N);if(!G)return null;let q={};return z&&(z.includes(`height`)&&V?q.height=V:z.includes(`minHeight`)&&V&&(q.minHeight=V),z.includes(`width`)&&B?q.width=B:z.includes(`minWidth`)&&B&&(q.minWidth=B)),l||(q.pointerEvents=`none`),S.createElement(w,{open:b||U,getContainer:x&&(()=>x(s)),autoDestroy:C,onEsc:n},S.createElement(Ap,{prefixCls:a,open:l,zIndex:E,mask:ee,motion:te,mobile:W}),S.createElement(oa,{onResize:K,disabled:!l},e=>S.createElement(Od,Np({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:b,leavedClassName:`${a}-hidden`},ne,{onAppearPrepare:L,onEnterPrepare:L,visible:l,onVisibleChanged:e=>{_?.onVisibleChanged?.(e),c(e)}}),({className:n,style:r},s)=>{let c=J(a,n,i,{[`${a}-mobile`]:W});return S.createElement(`div`,{ref:cr(e,t,s),className:c,style:{"--arrow-x":`${h.x||0}px`,"--arrow-y":`${h.y||0}px`,...ae,...q,...r,boxSizing:`border-box`,zIndex:E,...o},onMouseEnter:D,onMouseLeave:O,onPointerEnter:k,onClick:f,onPointerDownCapture:A},m&&S.createElement(Op,{prefixCls:a,arrow:m,arrowPos:h,align:g}),S.createElement(jp,{cache:!l&&!d},H))})),T)}),Fp=S.createContext(null),Ip=S.createContext(null);function Lp(e){return e?Array.isArray(e)?e:[e]:[]}function Rp(e,t,n){return S.useMemo(()=>{let r=Lp(t??e),i=Lp(n??e),a=new Set(r),o=new Set(i);return a.has(`hover`)&&!a.has(`click`)&&a.add(`touch`),o.has(`hover`)&&!o.has(`click`)&&o.add(`touch`),[a,o]},[e,t,n])}function zp(e=[],t=[],n){let r=(e,t)=>e[t]||``;return n?r(e,0)===r(t,0):r(e,0)===r(t,0)&&r(e,1)===r(t,1)}function Bp(e,t,n,r){let{points:i}=n,a=Object.keys(e);for(let n=0;nr.includes(e))&&t.push(n),n=n.parentElement}return t}function Up(e,t=1){return Number.isNaN(e)?t:e}function Wp(e){return Up(parseFloat(e),0)}function Gp(e,t){let n={...e};return(t||[]).forEach(e=>{if(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)return;let{overflow:t,overflowClipMargin:r,borderTopWidth:i,borderBottomWidth:a,borderLeftWidth:o,borderRightWidth:s}=Vp(e).getComputedStyle(e),c=e.getBoundingClientRect(),{offsetHeight:l,clientHeight:u,offsetWidth:d,clientWidth:f}=e,p=Wp(i),m=Wp(a),h=Wp(o),g=Wp(s),_=Up(Math.round(c.width/d*1e3)/1e3),v=Up(Math.round(c.height/l*1e3)/1e3),y=(d-f-h-g)*_,b=(l-u-p-m)*v,x=p*v,S=m*v,C=h*_,w=g*_,T=0,E=0;if(t===`clip`){let e=Wp(r);T=e*_,E=e*v}let D=c.x+C-T,O=c.y+x-E,k=D+c.width+2*T-C-w-y,A=O+c.height+2*E-x-S-b;n.left=Math.max(n.left,D),n.top=Math.max(n.top,O),n.right=Math.min(n.right,k),n.bottom=Math.min(n.bottom,A)}),n}function Kp(e,t=0){let n=`${t}`,r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function qp(e,t){let[n,r]=t||[];return[Kp(e.width,n),Kp(e.height,r)]}function Jp(e=``){return[e[0],e[1]]}function Yp(e,t){let n=t[0],r=t[1],i,a;return a=n===`t`?e.y:n===`b`?e.y+e.height:e.y+e.height/2,i=r===`l`?e.x:r===`r`?e.x+e.width:e.x+e.width/2,{x:i,y:a}}function Xp(e,t){let n={t:`b`,b:`t`,l:`r`,r:`l`},r=[...e];return r[t]=n[e[t]]||`c`,r}function Zp(e){return e.join(``)}function Qp(e,t,n,r,i,a,o,s){let[c,l]=S.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:i[r]||{}}),u=S.useRef(0),d=S.useMemo(()=>!t||s?[]:Hp(t),[t]),f=S.useRef({});e||(f.current={});let p=zn(()=>{if(t&&n&&e&&!s){let e=t,s=e.ownerDocument,c=Vp(e),{position:u}=c.getComputedStyle(e),p=e.style.left,m=e.style.top,h=e.style.right,g=e.style.bottom,_=e.style.overflow,v={...i[r],...a},y=s.createElement(`div`);e.parentElement?.appendChild(y),y.style.left=`${e.offsetLeft}px`,y.style.top=`${e.offsetTop}px`,y.style.position=u,y.style.height=`${e.offsetHeight}px`,y.style.width=`${e.offsetWidth}px`,e.style.left=`0`,e.style.top=`0`,e.style.right=`auto`,e.style.bottom=`auto`,e.style.overflow=`hidden`;let b;if(Array.isArray(n))b={x:n[0],y:n[1],width:0,height:0};else{let e=n.getBoundingClientRect();e.x=e.x??e.left,e.y=e.y??e.top,b={x:e.x,y:e.y,width:e.width,height:e.height}}let x=e.getBoundingClientRect(),{height:S,width:C}=c.getComputedStyle(e);x.x=x.x??x.left,x.y=x.y??x.top;let{clientWidth:w,clientHeight:T,scrollWidth:E,scrollHeight:D,scrollTop:O,scrollLeft:k}=s.documentElement,A=x.height,j=x.width,M=b.height,N=b.width,P={left:0,top:0,right:w,bottom:T},F={left:-k,top:-O,right:E-k,bottom:D-O},{htmlRegion:I}=v,L=`visible`,R=`visibleFirst`;I!==`scroll`&&I!==R&&(I=L);let z=I===R,B=Gp(F,d),V=Gp(P,d),H=I===L?V:B,U=z?V:H;e.style.left=`auto`,e.style.top=`auto`,e.style.right=`0`,e.style.bottom=`0`;let W=e.getBoundingClientRect();e.style.left=p,e.style.top=m,e.style.right=h,e.style.bottom=g,e.style.overflow=_,e.parentElement?.removeChild(y);let ee=Up(Math.round(j/parseFloat(C)*1e3)/1e3),te=Up(Math.round(A/parseFloat(S)*1e3)/1e3);if(ee===0||te===0||Or(n)&&!Ar(n))return;let{offset:ne,targetOffset:re}=v,[G,ie]=qp(x,ne),[K,ae]=qp(b,re);b.x-=K,b.y-=ae;let[q,oe]=v.points||[],se=Jp(oe),ce=Jp(q),le=Yp(b,se),ue=Yp(x,ce),de={...v},fe=[ce,se],pe=le.x-ue.x+G,me=le.y-ue.y+ie;function he(e,t,n=H){let r=x.x+e,i=x.y+t,a=r+j,o=i+A,s=Math.max(r,n.left),c=Math.max(i,n.top),l=Math.min(a,n.right),u=Math.min(o,n.bottom);return Math.max(0,(l-s)*(u-c))}let ge=he(pe,me),_e=he(pe,me,V),ve=Yp(b,[`t`,`l`]),ye=Yp(x,[`t`,`l`]),be=Yp(b,[`b`,`r`]),xe=Yp(x,[`b`,`r`]),{adjustX:Se,adjustY:Ce,shiftX:we,shiftY:Te}=v.overflow||{},Ee=e=>typeof e==`boolean`?e:e>=0,De,Oe,ke,Ae;function je(){De=x.y+me,Oe=De+A,ke=x.x+pe,Ae=ke+j}je();let Me=Ee(Ce),Ne=ce[0]===se[0];if(Me&&ce[0]===`t`&&(Oe>U.bottom||f.current.bt)){let e=me;Ne?e-=A-M:e=ve.y-xe.y-ie;let t=he(pe,e),n=he(pe,e,V);t>ge||t===ge&&(!z||n>=_e)?(f.current.bt=!0,me=e,ie=-ie,fe=[Xp(fe[0],0),Xp(fe[1],0)]):f.current.bt=!1}if(Me&&ce[0]===`b`&&(Dege||t===ge&&(!z||n>=_e)?(f.current.tb=!0,me=e,ie=-ie,fe=[Xp(fe[0],0),Xp(fe[1],0)]):f.current.tb=!1}let Pe=Ee(Se),Fe=ce[1]===se[1];if(Pe&&ce[1]===`l`&&(Ae>U.right||f.current.rl)){let e=pe;Fe?e-=j-N:e=ve.x-xe.x-G;let t=he(e,me),n=he(e,me,V);t>ge||t===ge&&(!z||n>=_e)?(f.current.rl=!0,pe=e,G=-G,fe=[Xp(fe[0],1),Xp(fe[1],1)]):f.current.rl=!1}if(Pe&&ce[1]===`r`&&(kege||t===ge&&(!z||n>=_e)?(f.current.lr=!0,pe=e,G=-G,fe=[Xp(fe[0],1),Xp(fe[1],1)]):f.current.lr=!1}de.points=[Zp(fe[0]),Zp(fe[1])],je();let Ie=we===!0?0:we;typeof Ie==`number`&&(keV.right&&(pe-=Ae-V.right-G,b.x>V.right-Ie&&(pe+=b.x-V.right+Ie)));let Le=Te===!0?0:Te;typeof Le==`number`&&(DeV.bottom&&(me-=Oe-V.bottom-ie,b.y>V.bottom-Le&&(me+=b.y-V.bottom+Le)));let Re=x.x+pe,ze=Re+j,Be=x.y+me,Ve=Be+A,He=b.x,Ue=He+N,We=b.y,Ge=We+M,Ke=(Math.max(Re,He)+Math.min(ze,Ue))/2-Re,qe=(Math.max(Be,We)+Math.min(Ve,Ge))/2-Be;o?.(t,de);let Je=W.right-x.x-(pe+x.width),Ye=W.bottom-x.y-(me+x.height);ee===1&&(pe=Math.floor(pe),Je=Math.floor(Je)),te===1&&(me=Math.floor(me),Ye=Math.floor(Ye)),l({ready:!0,offsetX:pe/ee,offsetY:me/te,offsetR:Je/ee,offsetB:Ye/te,arrowX:Ke/ee,arrowY:qe/te,scaleX:ee,scaleY:te,align:de})}}),m=()=>{u.current+=1;let e=u.current;Promise.resolve().then(()=>{u.current===e&&p()})},h=()=>{l(e=>({...e,ready:!1}))};return Hn(h,[r]),Hn(()=>{e||h()},[e]),[c.ready,c.offsetX,c.offsetY,c.offsetR,c.offsetB,c.arrowX,c.arrowY,c.scaleX,c.scaleY,c.align,m]}function $p(){let e=S.useRef(null),t=()=>{e.current&&=(clearTimeout(e.current),null)};return S.useEffect(()=>()=>{t()},[]),(n,r)=>{t(),r===0?n():e.current=setTimeout(()=>{n()},r*1e3)}}function em(e,t,n,r,i){Hn(()=>{if(e&&t&&n){let e=t,a=n,o=Hp(e),s=Hp(a),c=Vp(a),l=new Set([c,...o,...s]);function u(){r(),i()}return l.forEach(e=>{e.addEventListener(`scroll`,u,{passive:!0})}),c.addEventListener(`resize`,u,{passive:!0}),r(),()=>{l.forEach(e=>{e.removeEventListener(`scroll`,u),c.removeEventListener(`resize`,u)})}}},[e,t,n])}function tm(e,t,n,r,i,a,o,s){let c=S.useRef(e);c.current=e;let l=S.useRef(!1);S.useEffect(()=>{if(t&&r&&(!i||a)){let e=()=>{l.current=!1},t=e=>{c.current&&!o(e.composedPath?.()?.[0]||e.target)&&!l.current&&s(!1)},i=Vp(r);i.addEventListener(`pointerdown`,e,!0),i.addEventListener(`mousedown`,t,!0),i.addEventListener(`contextmenu`,t,!0);let a=Jr(n);return a&&(a.addEventListener(`mousedown`,t,!0),a.addEventListener(`contextmenu`,t,!0)),()=>{i.removeEventListener(`pointerdown`,e,!0),i.removeEventListener(`mousedown`,t,!0),i.removeEventListener(`contextmenu`,t,!0),a&&(a.removeEventListener(`mousedown`,t,!0),a.removeEventListener(`contextmenu`,t,!0))}}},[t,n,r,i,a]);function u(){l.current=!0}return u}function nm(){let[e,t]=S.useState(null),[n,r]=S.useState(!1),[i,a]=S.useState(!1),o=S.useRef(null);return[zn(e=>{e===!1?(o.current=null,r(!1)):i&&n?o.current=e:(r(!0),t(e),o.current=null,n||a(!0))}),n,e,zn(e=>{e?(a(!1),o.current&&=(t(o.current),null)):(a(!1),o.current=null)})]}function rm(){return rm=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t,isMobile:n,ready:r,open:i,align:a,offsetR:o,offsetB:s,offsetX:c,offsetY:l,arrowPos:u,popupSize:d,motion:f,uniqueContainerClassName:p,uniqueContainerStyle:m}=e,h=`${t}-unique-container`,[g,_]=S.useState(!1),v=Mp(n,r,i,a,o,s,c,l),y=S.useRef(v);r&&(y.current=v);let b={};return d&&(b.width=d.width,b.height=d.height),S.createElement(Od,rm({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,leavedClassName:`${h}-hidden`},f,{visible:i,onVisibleChanged:e=>{_(e)}}),({className:e,style:t})=>{let n=J(h,e,p,{[`${h}-visible`]:g});return S.createElement(`div`,{className:n,style:{"--arrow-x":`${u?.x||0}px`,"--arrow-y":`${u?.y||0}px`,...y.current,...b,...t,...m}})})},am=({children:e,postTriggerProps:t})=>{let[n,r,i,a]=nm(),o=S.useMemo(()=>!i||!t?i:t(i),[i,t]),[s,c]=S.useState(null),[l,u]=S.useState(null),d=S.useRef(null),f=zn(e=>{d.current=e,Or(e)&&s!==e&&c(e)}),p=S.useRef(null),m=$p(),h=zn((e,t)=>{p.current=t,m(()=>{n(e)},e.delay)}),g=e=>{m(()=>{p.current?.()||n(!1)},e)},_=zn(e=>{a(e)}),[v,y,b,x,C,w,T,,,E,D]=Qp(r,s,o?.target,o?.popupPlacement,o?.builtinPlacements||{},o?.popupAlign,void 0,!1),O=S.useMemo(()=>o?J(Bp(o.builtinPlacements||{},o.prefixCls||``,E,!1),o.getPopupClassNameFromAlign?.(E)):``,[E,o?.getPopupClassNameFromAlign,o?.builtinPlacements,o?.prefixCls]),k=S.useMemo(()=>({show:h,hide:g}),[]);S.useEffect(()=>{D()},[o?.target]);let A=zn(()=>(D(),Promise.resolve())),j=S.useRef({}),M=S.useContext(Fp),N=S.useMemo(()=>({registerSubPopup:(e,t)=>{j.current[e]=t,M?.registerSubPopup(e,t)}}),[M]),P=o?.prefixCls;return S.createElement(Ip.Provider,{value:k},e,o&&S.createElement(Fp.Provider,{value:N},S.createElement(Pp,{ref:f,portal:Dp,onEsc:o.onEsc,prefixCls:P,popup:o.popup,className:J(o.popupClassName,O,`${P}-unique-controlled`),style:o.popupStyle,target:o.target,open:r,keepDom:!0,fresh:!0,autoDestroy:!1,onVisibleChanged:_,ready:v,offsetX:y,offsetY:b,offsetR:x,offsetB:C,onAlign:D,onPrepare:A,onResize:e=>u({width:e.offsetWidth,height:e.offsetHeight}),arrowPos:{x:w,y:T},align:E,zIndex:o.zIndex,mask:o.mask,arrow:o.arrow,motion:o.popupMotion,maskMotion:o.maskMotion,getPopupContainer:o.getPopupContainer},S.createElement(im,{prefixCls:P,isMobile:!1,ready:v,open:r,align:E,offsetR:x,offsetB:C,offsetX:y,offsetY:b,arrowPos:{x:w,y:T},popupSize:l,motion:o.popupMotion,uniqueContainerClassName:J(o.uniqueContainerClassName,O),uniqueContainerStyle:o.uniqueContainerStyle}))))};function eee(e=Dp){return S.forwardRef((t,n)=>{let{prefixCls:r=`rc-trigger-popup`,children:i,action:a=`hover`,showAction:o,hideAction:s,popupVisible:c,defaultPopupVisible:l,onOpenChange:u,afterOpenChange:d,onPopupVisibleChange:f,afterPopupVisibleChange:p,mouseEnterDelay:m,mouseLeaveDelay:h=.1,focusDelay:g,blurDelay:_,mask:v,maskClosable:y=!0,getPopupContainer:b,forceRender:x,autoDestroy:C,popup:w,popupClassName:T,uniqueContainerClassName:E,uniqueContainerStyle:D,popupStyle:O,popupPlacement:k,builtinPlacements:A={},popupAlign:j,zIndex:M,stretch:N,getPopupClassNameFromAlign:P,fresh:F,unique:I,alignPoint:L,onPopupClick:R,onPopupAlign:z,arrow:B,popupMotion:V,maskMotion:H,mobile:U,...W}=t,ee=C||!1,te=c===void 0,ne=!!U,re=S.useRef({}),G=S.useContext(Fp),ie=S.useMemo(()=>({registerSubPopup:(e,t)=>{re.current[e]=t,G?.registerSubPopup(e,t)}}),[G]),K=S.useContext(Ip),ae=Xn(),[q,oe]=S.useState(null),se=S.useRef(null),ce=zn(e=>{se.current=e,Or(e)&&q!==e&&oe(e),G?.registerSubPopup(ae,e)}),[le,ue]=S.useState(null),de=S.useRef(null),fe=zn(e=>{let t=kr(e);Or(t)&&le!==t&&(ue(t),de.current=t)}),pe={},me=zn(e=>{let t=le;return t?.contains(e)||Jr(t)?.host===e||e===t||q?.contains(e)||Jr(q)?.host===e||e===q||Object.values(re.current).some(t=>t?.contains(e)||e===t)}),he=B?{...B===!0?{}:B}:null,[ge,_e]=Gn(l||!1,c),ve=ge||!1,ye=S.useMemo(()=>{let e=typeof i==`function`?i({open:ve}):i;return S.Children.only(e)},[i,ve]),be=ye?.props||{},xe=zn(()=>ve),Se=zn((e=0)=>({popup:w,target:le,delay:e,prefixCls:r,popupClassName:T,uniqueContainerClassName:E,uniqueContainerStyle:D,popupStyle:O,popupPlacement:k,builtinPlacements:A,popupAlign:j,zIndex:M,mask:v,maskClosable:y,popupMotion:V,maskMotion:H,arrow:he,getPopupContainer:b,getPopupClassNameFromAlign:P,id:ae,onEsc:De}));Hn(()=>{K&&I&&le&&!te&&!G&&(ve?K.show(Se(m),xe):K.hide(h))},[ve,le]);let Ce=S.useRef(ve);Ce.current=ve;let we=zn(e=>{(0,Vi.flushSync)(()=>{ve!==e&&(_e(e),u?.(e),f?.(e))})}),Te=$p(),Ee=(e,t=0)=>{if(c!==void 0){Te(()=>{we(e)},t);return}if(K&&I&&te&&!G){e?K.show(Se(t),xe):K.hide(t);return}Te(()=>{we(e)},t)};function De({top:e}){e&&Ee(!1)}let[Oe,ke]=S.useState(!1);Hn(e=>{(!e||ve)&&ke(!0)},[ve]);let[Ae,je]=S.useState(null),[Me,Ne]=S.useState(null),Pe=e=>{Ne([e.clientX,e.clientY])},[Fe,Ie,Le,Re,ze,Be,Ve,He,Ue,We,Ge]=Qp(ve,q,L&&Me!==null?Me:le,k,A,j,z,ne),[Ke,qe]=Rp(a,o,s),Je=Ke.has(`click`),Ye=qe.has(`click`)||qe.has(`contextMenu`),Xe=zn(()=>{Oe||Ge()});em(ve,le,q,Xe,()=>{Ce.current&&L&&Ye&&Ee(!1)}),Hn(()=>{Xe()},[Me,k]),Hn(()=>{ve&&!A?.[k]&&Xe()},[JSON.stringify(j)]);let Ze=S.useMemo(()=>J(Bp(A,r,We,L),P?.(We)),[We,P,A,r,L]);S.useImperativeHandle(n,()=>({nativeElement:de.current,popupElement:se.current,forceAlign:Xe}));let[Qe,$e]=S.useState(0),[et,tt]=S.useState(0),nt=()=>{if(N&&le){let e=le.getBoundingClientRect();$e(e.width),tt(e.height)}},rt=()=>{nt(),Xe()},it=e=>{ke(!1),Ge(),d?.(e),p?.(e)},at=()=>new Promise(e=>{nt(),je(()=>e)});Hn(()=>{Ae&&(Ge(),Ae(),je(null))},[Ae]);function ot(e,t,n,r,i){pe[e]=(a,...o)=>{(!i||!i())&&(r?.(a),Ee(t,n)),be[e]?.(a,...o)}}let st=Ke.has(`touch`),ct=qe.has(`touch`),lt=S.useRef(!1);(st||ct)&&(pe.onTouchStart=(...e)=>{lt.current=!0,Ce.current&&ct?Ee(!1):!Ce.current&&st&&Ee(!0),be.onTouchStart?.(...e)}),(Je||Ye)&&(pe.onClick=(e,...t)=>{Ce.current&&Ye?Ee(!1):!Ce.current&&Je&&(Pe(e),Ee(!0)),be.onClick?.(e,...t),lt.current=!1});let ut=tm(ve,Ye||ct,le,q,v,y,me,Ee),dt=Ke.has(`hover`),ft=qe.has(`hover`),pt,mt,ht=()=>lt.current;if(dt){let e=e=>{Pe(e)};ot(`onMouseEnter`,!0,m,e,ht),ot(`onPointerEnter`,!0,m,e,ht),pt=e=>{(ve||Oe)&&q?.contains(e.target)&&Ee(!0,m)},L&&(pe.onMouseMove=e=>{be.onMouseMove?.(e)})}ft&&(ot(`onMouseLeave`,!1,h,void 0,ht),ot(`onPointerLeave`,!1,h,void 0,ht),mt=()=>{Ee(!1,h)}),Ke.has(`focus`)&&ot(`onFocus`,!0,g),qe.has(`focus`)&&ot(`onBlur`,!1,_),Ke.has(`contextMenu`)&&(pe.onContextMenu=(e,...t)=>{Ce.current&&qe.has(`contextMenu`)?Ee(!1):(Pe(e),Ee(!0)),e.preventDefault(),be.onContextMenu?.(e,...t)});let gt=S.useRef(!1);gt.current||=x||ve||Oe;let _t={...be,...pe},vt={};[`onContextMenu`,`onClick`,`onMouseDown`,`onTouchStart`,`onMouseEnter`,`onMouseLeave`,`onFocus`,`onBlur`].forEach(e=>{W[e]&&(vt[e]=(...t)=>{_t[e]?.(...t),W[e](...t)})});let yt={x:Be,y:Ve};ea(ve,le,rt);let bt=lr(fe,pr(ye)),xt=S.cloneElement(ye,{..._t,...vt,ref:bt});return S.createElement(S.Fragment,null,xt,gt.current&&(!K||!I)&&S.createElement(Fp.Provider,{value:ie},S.createElement(Pp,{portal:e,ref:ce,prefixCls:r,popup:w,className:J(T,!ne&&Ze),style:O,target:le,onMouseEnter:pt,onMouseLeave:mt,onPointerEnter:pt,zIndex:M,open:ve,keepDom:Oe,fresh:F,onClick:R,onPointerDownCapture:ut,mask:v,motion:V,maskMotion:H,onVisibleChanged:it,onPrepare:at,forceRender:x,autoDestroy:ee,getPopupContainer:b,onEsc:De,align:We,arrow:he,arrowPos:yt,ready:Fe,offsetX:Ie,offsetY:Le,offsetR:Re,offsetB:ze,onAlign:Xe,stretch:N,targetWidth:Qe/He,targetHeight:et/Ue,mobile:U})))})}var om=eee(Dp);function sm(e){return e&&S.isValidElement(e)&&e.type===S.Fragment}var cm=(e,t,n)=>S.isValidElement(e)?S.cloneElement(e,rf(n)?n(e.props||{}):n):t;function lm(e,t){return cm(e,e,t)}var um=({children:e})=>{let{getPrefixCls:t}=S.useContext(ga),n=t();return S.isValidElement(e)?S.createElement(Od,{visible:!0,motionName:`${n}-fade`,motionAppear:!0,motionEnter:!0,motionLeave:!1,removeOnLeave:!1},({style:t,className:n})=>lm(e,e=>({className:J(e.className,n),style:{...e.style,...t}}))):e},dm=[null,null];function fm(e){if(dm[0]!==e){let t={};Object.keys(e).forEach(n=>{t[n]={...e[n],dynamicInset:!1}}),dm[0]=e,dm[1]=t}return dm[1]}var pm=({children:e})=>S.createElement(am,{postTriggerProps:e=>{let{id:t,builtinPlacements:n,popup:r}=e,i=typeof r==`function`?r():r,a=fm(n);return{...e,getPopupContainer:null,arrow:!1,popup:S.createElement(um,{key:t},i),builtinPlacements:a}}},e),mm=S.createContext(!1),hm=({children:e,disabled:t})=>{let n=S.useContext(mm);return S.createElement(mm.Provider,{value:t??n},e)},gm=S.createContext(void 0),_m=({children:e,size:t})=>{let n=S.useContext(gm);return S.createElement(gm.Provider,{value:t||n},e)};function vm(){return{componentDisabled:(0,S.useContext)(mm),componentSize:(0,S.useContext)(gm)}}function ym(e,t,n){Gi(`ConfigProvider`);let r=e||{},i=r.inherit===!1||!t?{...Ml,hashed:t?.hashed??Ml.hashed,cssVar:t?.cssVar}:t,a=(0,S.useId)();return Zn(()=>{if(!e)return t;let o={...i.components};Object.keys(e.components||{}).forEach(t=>{o[t]={...o[t],...e.components[t]}});let s=`css-var-${a.replace(/:/g,``)}`,c={prefix:n?.prefixCls,...i.cssVar,...r.cssVar,key:r.cssVar?.key||s};return{...i,...r,token:{...i.token,...r.token},components:o,cssVar:c}},[r,i],(e,t)=>e.some((e,n)=>{let r=t[n];return!fi(e,r,!0)}))}var bm=S.createContext(!0);function xm(e){let t=S.useContext(bm),{children:n}=e,[,r]=Vl(),{motion:i}=r,a=S.useRef(!1);return a.current||=t!==i,a.current?S.createElement(bm.Provider,{value:i},S.createElement(zu,{motion:i},n)):n}var tee=()=>null,Sm=({iconPrefixCls:e,csp:t})=>(ru(e,t),null),Cm=[`getTargetContainer`,`getPopupContainer`,`renderEmpty`,`input`,`pagination`,`form`,`select`,`button`],wm,Tm,Em,Dm;function Om(){return wm||`ant`}function km(){return Tm||`anticon`}var Am=e=>{let{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:i}=e;t!==void 0&&(wm=t),n!==void 0&&(Tm=n),`holderRender`in e&&(Dm=i),r&&(Em=r)},jm=()=>({getPrefixCls:(e,t)=>t||(e?`${Om()}-${e}`:Om()),getIconPrefixCls:km,getRootPrefixCls:()=>wm||Om(),getTheme:()=>Em,holderRender:Dm}),Mm=e=>{let{children:t,csp:n,autoInsertSpaceInButton:r,alert:i,affix:a,anchor:o,app:s,form:c,locale:l,componentSize:u,direction:d,space:f,splitter:p,virtual:m,dropdownMatchSelectWidth:h,popupMatchSelectWidth:g,popupOverflow:_,legacyLocale:v,parentContext:y,iconPrefixCls:b,theme:x,componentDisabled:C,segmented:w,statistic:T,spin:E,calendar:D,carousel:O,cascader:k,collapse:A,typography:j,checkbox:M,descriptions:N,divider:P,drawer:F,skeleton:I,steps:L,image:R,layout:z,list:B,mentions:V,modal:H,progress:U,result:W,slider:ee,breadcrumb:te,masonry:ne,menu:re,pagination:G,input:ie,textArea:K,otp:ae,empty:q,badge:oe,radio:se,rate:ce,ribbon:le,switch:ue,transfer:de,avatar:fe,message:pe,tag:me,table:he,card:ge,cardMeta:_e,tabs:ve,timeline:ye,timePicker:be,upload:xe,notification:Se,tree:Ce,colorPicker:we,datePicker:Te,rangePicker:Ee,flex:De,wave:Oe,dropdown:ke,warning:Ae,tour:je,tooltip:Me,popover:Ne,popconfirm:Pe,qrcode:Fe,floatButton:Ie,floatButtonGroup:Le,variant:Re,inputNumber:ze,treeSelect:Be,watermark:Ve}=e,He=S.useMemo(()=>nf(l)&&Object.prototype.hasOwnProperty.call(l,`default`)&&l.default?.locale?l.default:l,[l]),Ue=S.useCallback((t,n)=>{let{prefixCls:r}=e;if(n)return n;let i=r||y.getPrefixCls(``);return t?`${i}-${t}`:i},[y.getPrefixCls,e.prefixCls]),We=b||y.iconPrefixCls||`anticon`,Ge=n||y.csp,Ke=ym(x,y.theme,{prefixCls:Ue(``)}),qe={csp:Ge,autoInsertSpaceInButton:r,alert:i,affix:a,anchor:o,app:s,locale:He||v,direction:d,space:f,splitter:p,virtual:m,popupMatchSelectWidth:g??h,popupOverflow:_,getPrefixCls:Ue,iconPrefixCls:We,theme:Ke,segmented:w,statistic:T,spin:E,calendar:D,carousel:O,cascader:k,collapse:A,typography:j,checkbox:M,descriptions:N,divider:P,drawer:F,skeleton:I,steps:L,image:R,input:ie,textArea:K,otp:ae,layout:z,list:B,mentions:V,modal:H,progress:U,result:W,slider:ee,breadcrumb:te,masonry:ne,menu:re,pagination:G,empty:q,badge:oe,radio:se,rate:ce,ribbon:le,switch:ue,transfer:de,avatar:fe,message:pe,tag:me,table:he,card:ge,cardMeta:_e,tabs:ve,timeline:ye,timePicker:be,upload:xe,notification:Se,tree:Ce,colorPicker:we,datePicker:Te,rangePicker:Ee,flex:De,wave:Oe,dropdown:ke,warning:Ae,tour:je,tooltip:Me,popover:Ne,popconfirm:Pe,qrcode:Fe,floatButton:Ie,floatButtonGroup:Le,variant:Re,inputNumber:ze,treeSelect:Be,watermark:Ve},Je={...y};Object.keys(qe).forEach(e=>{qe[e]!==void 0&&(Je[e]=qe[e])}),Cm.forEach(t=>{let n=e[t];n&&(Je[t]=n)}),r!==void 0&&(Je.button={autoInsertSpace:r,...Je.button});let Ye=Zn(()=>Je,Je,(e,t)=>{let n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some(n=>e[n]!==t[n])}),{layer:Xe}=S.useContext(ka),Ze=S.useMemo(()=>({prefixCls:We,csp:Ge,layer:Xe?`antd`:void 0}),[We,Ge,Xe]),Qe=S.createElement(S.Fragment,null,S.createElement(Sm,{iconPrefixCls:We,csp:Ge}),S.createElement(tee,{dropdownMatchSelectWidth:h}),t),$e=S.useMemo(()=>Li(Hd.Form?.defaultValidateMessages||{},Ye.locale?.Form?.defaultValidateMessages||{},Ye.form?.validateMessages||{},c?.validateMessages||{}),[Ye,c?.validateMessages]);Object.keys($e).length>0&&(Qe=S.createElement(cp.Provider,{value:$e},Qe)),He&&(Qe=S.createElement(Zd,{locale:He,_ANT_MARK__:Xd},Qe)),(We||Ge)&&(Qe=S.createElement(au.Provider,{value:Ze},Qe)),u&&(Qe=S.createElement(_m,{size:u},Qe)),Qe=S.createElement(xm,null,Qe),Me?.unique&&(Qe=S.createElement(pm,null,Qe));let et=S.useMemo(()=>{let{algorithm:e,token:t,components:n,cssVar:r,...i}=Ke||{},a=e&&(!Array.isArray(e)||e.length>0)?Fa(e):jl,o={};Object.entries(n||{}).forEach(([e,t])=>{let n={...t};`algorithm`in n&&(n.algorithm===!0?n.theme=a:(Array.isArray(n.algorithm)||typeof n.algorithm==`function`)&&(n.theme=Fa(n.algorithm)),delete n.algorithm),o[e]=n});let s={...Dc,...t};return{...i,theme:a,token:s,components:o,override:{override:s,...o},cssVar:r}},[Ke]);return x&&(Qe=S.createElement(Nl.Provider,{value:et},Qe)),Ye.warning&&(Qe=S.createElement(Wi.Provider,{value:Ye.warning},Qe)),C!==void 0&&(Qe=S.createElement(hm,{disabled:C},Qe)),S.createElement(ga.Provider,{value:Ye},Qe)},Nm=e=>{let t=S.useContext(ga),n=S.useContext(Jd);return S.createElement(Mm,{parentContext:t,legacyLocale:n,...e})};Nm.ConfigContext=ga,Nm.SizeContext=gm,Nm.config=Am,Nm.useConfig=vm,Object.defineProperty(Nm,`SizeContext`,{get:()=>gm});function Pm(){return Pm=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,style:r,className:i,duration:a=4.5,showProgress:o,pauseOnHover:s=!0,eventKey:c,content:l,closable:u,props:d,onClick:f,onNoticeClose:p,times:m,hovering:h}=e,[g,_]=S.useState(!1),[v,y]=S.useState(0),[b,x]=S.useState(0),C=h||g,w=typeof a==`number`?a:0,T=w>0&&o,E=()=>{p(c)},D=e=>{(e.key===`Enter`||e.code===`Enter`||e.keyCode===Qr.ENTER)&&E()};S.useEffect(()=>{if(!C&&w>0){let e=Date.now()-b,t=setTimeout(()=>{E()},w*1e3-b);return()=>{s&&clearTimeout(t),x(Date.now()-e)}}},[w,C,m]),S.useEffect(()=>{if(!C&&T&&(s||b===0)){let e=performance.now(),t,n=()=>{cancelAnimationFrame(t),t=requestAnimationFrame(t=>{let r=t+b-e,i=Math.min(r/(w*1e3),1);y(i*100),i<1&&n()})};return n(),()=>{s&&cancelAnimationFrame(t)}}},[w,b,C,T,m]);let O=S.useMemo(()=>typeof u==`object`&&u?u:{},[u]),k=xi(O,!0),A=100-(!v||v<0?0:v>100?100:v),j=`${n}-notice`;return S.createElement(`div`,Pm({},d,{ref:t,className:J(j,i,{[`${j}-closable`]:u}),style:r,onMouseEnter:e=>{_(!0),d?.onMouseEnter?.(e)},onMouseLeave:e=>{_(!1),d?.onMouseLeave?.(e)},onClick:f}),S.createElement(`div`,{className:`${j}-content`},l),u&&S.createElement(`button`,Pm({className:`${j}-close`,onKeyDown:D,"aria-label":`Close`},k,{onClick:e=>{e.preventDefault(),e.stopPropagation(),E()}}),O.closeIcon??`x`),T&&S.createElement(`progress`,{className:`${j}-progress`,max:`100`,value:A},A+`%`))}),Im=S.createContext({}),Lm=({children:e,classNames:t})=>S.createElement(Im.Provider,{value:{classNames:t}},e),Rm=8,zm=3,Bm=16,Vm=e=>{let t={offset:Rm,threshold:zm,gap:Bm};return e&&typeof e==`object`&&(t.offset=e.offset??Rm,t.threshold=e.threshold??zm,t.gap=e.gap??Bm),[!!e,t]};function Hm(){return Hm=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{configList:t,placement:n,prefixCls:r,className:i,style:a,motion:o,onAllNoticeRemoved:s,onNoticeClose:c,stack:l}=e,{classNames:u}=(0,S.useContext)(Im),d=(0,S.useRef)({}),[f,p]=(0,S.useState)(null),[m,h]=(0,S.useState)([]),g=t.map(e=>({config:e,key:String(e.key)})),[_,{offset:v,threshold:y,gap:b}]=Vm(l),x=_&&(m.length>0||g.length<=y),C=typeof o==`function`?o(n):o;return(0,S.useEffect)(()=>{_&&m.length>1&&h(e=>e.filter(e=>g.some(({key:t})=>e===t)))},[m,g,_]),(0,S.useEffect)(()=>{_&&d.current[g[g.length-1]?.key]&&p(d.current[g[g.length-1]?.key])},[g,_]),S.createElement(Dd,Hm({key:n,className:J(r,`${r}-${n}`,u?.list,i,{[`${r}-stack`]:!!_,[`${r}-stack-expanded`]:x}),style:a,keys:g,motionAppear:!0},C,{onAllRemoved:()=>{s(n)}}),({config:e,className:t,style:i,index:a},o)=>{let{key:s,times:l}=e,p=String(s),{className:y,style:C,classNames:w,styles:T,...E}=e,D=g.findIndex(e=>e.key===p),O={};if(_){let e=g.length-1-(D>-1?D:a-1),t=n===`top`||n===`bottom`?`-50%`:`0`;if(e>0){O.height=x?d.current[p]?.offsetHeight:f?.offsetHeight;let r=0;for(let t=0;th(e=>e.includes(p)?e:[...e,p]),onMouseLeave:()=>h(e=>e.filter(e=>e!==p))},S.createElement(Fm,Hm({},E,{ref:e=>{D>-1?d.current[p]=e:delete d.current[p]},prefixCls:r,classNames:w,styles:T,className:J(y,u?.notice),style:C,times:l,key:s,eventKey:s,onNoticeClose:c,hovering:_&&m.length>0})))})},Wm=S.forwardRef((e,t)=>{let{prefixCls:n=`rc-notification`,container:r,motion:i,maxCount:a,className:o,style:s,onAllRemoved:c,stack:l,renderNotifications:u}=e,[d,f]=S.useState([]),p=e=>{let t=d.find(t=>t.key===e),n=t?.closable,{onClose:r}=n&&typeof n==`object`?n:{};r?.(),t?.onClose?.(),f(t=>t.filter(t=>t.key!==e))};S.useImperativeHandle(t,()=>({open:e=>{f(t=>{let n=[...t],r=n.findIndex(t=>t.key===e.key),i={...e};return r>=0?(i.times=(t[r]?.times||0)+1,n[r]=i):(i.times=0,n.push(i)),a>0&&n.length>a&&(n=n.slice(-a)),n})},close:e=>{p(e)},destroy:()=>{f([])}}));let[m,h]=S.useState({});S.useEffect(()=>{let e={};d.forEach(t=>{let{placement:n=`topRight`}=t;n&&(e[n]=e[n]||[],e[n].push(t))}),Object.keys(m).forEach(t=>{e[t]=e[t]||[]}),h(e)},[d]);let g=e=>{h(t=>{let n={...t};return(n[e]||[]).length||delete n[e],n})},_=S.useRef(!1);if(S.useEffect(()=>{Object.keys(m).length>0?_.current=!0:_.current&&=(c?.(),!1)},[m]),!r)return null;let v=Object.keys(m);return(0,Vi.createPortal)(S.createElement(S.Fragment,null,v.map(e=>{let t=m[e],r=S.createElement(Um,{key:e,configList:t,placement:e,prefixCls:n,className:o?.(e),style:s?.(e),motion:i,onNoticeClose:p,onAllNoticeRemoved:g,stack:l});return u?u(r,{prefixCls:n,key:e}):r})),r)}),Gm=()=>document.body,Km=0;function qm(...e){let t={};return e.forEach(e=>{e&&Object.keys(e).forEach(n=>{let r=e[n];r!==void 0&&(t[n]=r)})}),t}function Jm(e={}){let{getContainer:t=Gm,motion:n,prefixCls:r,maxCount:i,className:a,style:o,onAllRemoved:s,stack:c,renderNotifications:l,...u}=e,[d,f]=S.useState(),p=S.useRef(),m=S.createElement(Wm,{container:d,ref:p,prefixCls:r,motion:n,maxCount:i,className:a,style:o,onAllRemoved:s,stack:c,renderNotifications:l}),[h,g]=S.useState([]),_=zn(e=>{let t=qm(u,e);(t.key===null||t.key===void 0)&&(t.key=`rc-notification-${Km}`,Km+=1),g(e=>[...e,{type:`open`,config:t}])}),v=S.useMemo(()=>({open:_,close:e=>{g(t=>[...t,{type:`close`,key:e}])},destroy:()=>{g(e=>[...e,{type:`destroy`}])}}),[]);return S.useEffect(()=>{f(t())}),S.useEffect(()=>{if(p.current&&h.length){h.forEach(e=>{switch(e.type){case`open`:p.current.open(e.config);break;case`close`:p.current.close(e.key);break;case`destroy`:p.current.destroy();break}});let e,t;g(n=>((e!==n||!t)&&(e=n,t=n.filter(e=>!h.includes(e))),t))}},[h]),[v,m]}var Ym=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z`}}]},name:`loading`,theme:`outlined`}}))());function Xm(){return Xm=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Xm({},e,{ref:t,icon:Ym.default}))),Qm=e=>{let{componentCls:t,iconCls:n,boxShadow:r,colorText:i,colorSuccess:a,colorError:o,colorWarning:s,colorInfo:c,fontSizeLG:l,motionEaseInOutCirc:u,motionDurationSlow:d,marginXS:f,paddingXS:p,borderRadiusLG:m,zIndexPopup:h,contentPadding:g,contentBg:_}=e,v=`${t}-notice`,y=new Ms(`MessageMoveIn`,{"0%":{padding:0,transform:`translateY(-100%)`,opacity:0},"100%":{padding:p,transform:`translateY(0)`,opacity:1}}),b=new Ms(`MessageMoveOut`,{"0%":{maxHeight:e.height,padding:p,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),x={padding:p,textAlign:`center`,[`${t}-custom-content`]:{display:`flex`,alignItems:`center`},[`${t}-custom-content > ${n}`]:{marginInlineEnd:f,fontSize:l},[`${v}-content`]:{display:`inline-block`,padding:g,background:_,borderRadius:m,boxShadow:r,pointerEvents:`all`},[`${t}-success > ${n}`]:{color:a},[`${t}-error > ${n}`]:{color:o},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n}, +}`,n)}else Tr(n);return()=>{Tr(n)}},[t,n])}var vp=[],yp=200,bp=0,xp=e=>{if(e.key===`Escape`&&!e.isComposing){if(Date.now()-bp=0;--n)vp[n].onEsc({top:n===t-1,event:e})}},Sp=()=>{bp=Date.now()};function Cp(){window.addEventListener(`keydown`,xp),window.addEventListener(`compositionend`,Sp)}function wp(){vp.length===0&&(window.removeEventListener(`keydown`,xp),window.removeEventListener(`compositionend`,Sp))}function Tp(e,t){let n=Xn(),r=zn(t),i=()=>{vp.find(e=>e.id===n)||vp.push({id:n,onEsc:r})},a=()=>{vp=vp.filter(e=>e.id!==n)};(0,S.useMemo)(()=>{e?i():e||a()},[e]),(0,S.useEffect)(()=>{if(e)return i(),Cp(),()=>{a(),wp()}},[e])}var Ep=e=>e===!1?!1:!Bn()||!e?null:typeof e==`string`?document.querySelector(e):typeof e==`function`?e():e,Dp=S.forwardRef((e,t)=>{let{open:n,autoLock:r,getContainer:i,debug:a,autoDestroy:o=!0,children:s,onEsc:c}=e,[l,u]=S.useState(n),d=l||n;S.useEffect(()=>{(o||n)&&u(n)},[n,o]);let[f,p]=S.useState(()=>Ep(i));S.useEffect(()=>{let e=Ep(i);p(()=>e??null)});let[m,h]=pp(d&&!f,a),g=f??m;_p(r&&n&&Bn()&&(g===m||g===document.body)),Tp(n,c);let _=null;s&&ur(s)&&t&&(_=pr(s));let v=lr(_,t);if(!d||!Bn()||f===void 0)return null;let y=g===!1||dp(),b=s;return t&&(b=S.cloneElement(s,{ref:v})),S.createElement(lp.Provider,{value:h},y?b:(0,Vi.createPortal)(b,g))});function Op(e){let{prefixCls:t,align:n,arrow:r,arrowPos:i}=e,{className:a,content:o,style:s}=r||{},{x:c=0,y:l=0}=i,u=S.useRef(null);if(!n||!n.points)return null;let d={position:`absolute`};if(n.autoArrow!==!1){let e=n.points[0],t=n.points[1],r=e[0],i=e[1],a=t[0],o=t[1];r===a||![`t`,`b`].includes(r)?d.top=l:r===`t`?d.top=0:d.bottom=0,i===o||![`l`,`r`].includes(i)?d.left=c:i===`l`?d.left=0:d.right=0}return S.createElement(`div`,{ref:u,className:J(`${t}-arrow`,a),style:{...d,...s}},o)}function kp(){return kp=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(`div`,{style:{zIndex:r},className:J(`${t}-mask`,o&&`${t}-mobile-mask`,e)})):null}var jp=S.memo(({children:e})=>e,(e,t)=>t.cache);function Mp(e,t,n,r,i,a,o,s){let c=`auto`,l=e?{}:{left:`-1000vw`,top:`-1000vh`,right:c,bottom:c};if(!e&&(t||!n)){let{points:e}=r,t=r.dynamicInset||r._experimental?.dynamicInset,n=t&&e[0][1]===`r`,u=t&&e[0][0]===`b`;n?(l.right=i,l.left=c):(l.left=o,l.right=c),u?(l.bottom=a,l.top=c):(l.top=s,l.bottom=c)}return l}function Np(){return Np=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{onEsc:n,popup:r,className:i,prefixCls:a,style:o,target:s,onVisibleChanged:c,open:l,keepDom:u,fresh:d,onClick:f,mask:p,arrow:m,arrowPos:h,align:g,motion:_,maskMotion:v,mobile:y,forceRender:b,getPopupContainer:x,autoDestroy:C,portal:w,children:T,zIndex:E,onMouseEnter:D,onMouseLeave:O,onPointerEnter:k,onPointerDownCapture:A,ready:j,offsetX:M,offsetY:N,offsetR:P,offsetB:F,onAlign:I,onPrepare:L,onResize:R,stretch:z,targetWidth:B,targetHeight:V}=e,H=typeof r==`function`?r():r,U=l||u,W=!!y,[ee,te,ne]=S.useMemo(()=>y?[y.mask,y.maskMotion,y.motion]:[p,v,_],[y,p,v,_]),re=x?.length>0,[G,ie]=S.useState(!x||!re);Hn(()=>{!G&&re&&s&&ie(!0)},[G,re,s]);let K=zn((e,t)=>{R?.(e,t),I()}),ae=Mp(W,j,l,g,P,F,M,N);if(!G)return null;let q={};return z&&(z.includes(`height`)&&V?q.height=V:z.includes(`minHeight`)&&V&&(q.minHeight=V),z.includes(`width`)&&B?q.width=B:z.includes(`minWidth`)&&B&&(q.minWidth=B)),l||(q.pointerEvents=`none`),S.createElement(w,{open:b||U,getContainer:x&&(()=>x(s)),autoDestroy:C,onEsc:n},S.createElement(Ap,{prefixCls:a,open:l,zIndex:E,mask:ee,motion:te,mobile:W}),S.createElement(oa,{onResize:K,disabled:!l},e=>S.createElement(Od,Np({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:b,leavedClassName:`${a}-hidden`},ne,{onAppearPrepare:L,onEnterPrepare:L,visible:l,onVisibleChanged:e=>{_?.onVisibleChanged?.(e),c(e)}}),({className:n,style:r},s)=>{let c=J(a,n,i,{[`${a}-mobile`]:W});return S.createElement(`div`,{ref:cr(e,t,s),className:c,style:{"--arrow-x":`${h.x||0}px`,"--arrow-y":`${h.y||0}px`,...ae,...q,...r,boxSizing:`border-box`,zIndex:E,...o},onMouseEnter:D,onMouseLeave:O,onPointerEnter:k,onClick:f,onPointerDownCapture:A},m&&S.createElement(Op,{prefixCls:a,arrow:m,arrowPos:h,align:g}),S.createElement(jp,{cache:!l&&!d},H))})),T)}),Fp=S.createContext(null),Ip=S.createContext(null);function Lp(e){return e?Array.isArray(e)?e:[e]:[]}function Rp(e,t,n){return S.useMemo(()=>{let r=Lp(t??e),i=Lp(n??e),a=new Set(r),o=new Set(i);return a.has(`hover`)&&!a.has(`click`)&&a.add(`touch`),o.has(`hover`)&&!o.has(`click`)&&o.add(`touch`),[a,o]},[e,t,n])}function zp(e=[],t=[],n){let r=(e,t)=>e[t]||``;return n?r(e,0)===r(t,0):r(e,0)===r(t,0)&&r(e,1)===r(t,1)}function Bp(e,t,n,r){let{points:i}=n,a=Object.keys(e);for(let n=0;nr.includes(e))&&t.push(n),n=n.parentElement}return t}function Up(e,t=1){return Number.isNaN(e)?t:e}function Wp(e){return Up(parseFloat(e),0)}function Gp(e,t){let n={...e};return(t||[]).forEach(e=>{if(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)return;let{overflow:t,overflowClipMargin:r,borderTopWidth:i,borderBottomWidth:a,borderLeftWidth:o,borderRightWidth:s}=Vp(e).getComputedStyle(e),c=e.getBoundingClientRect(),{offsetHeight:l,clientHeight:u,offsetWidth:d,clientWidth:f}=e,p=Wp(i),m=Wp(a),h=Wp(o),g=Wp(s),_=Up(Math.round(c.width/d*1e3)/1e3),v=Up(Math.round(c.height/l*1e3)/1e3),y=(d-f-h-g)*_,b=(l-u-p-m)*v,x=p*v,S=m*v,C=h*_,w=g*_,T=0,E=0;if(t===`clip`){let e=Wp(r);T=e*_,E=e*v}let D=c.x+C-T,O=c.y+x-E,k=D+c.width+2*T-C-w-y,A=O+c.height+2*E-x-S-b;n.left=Math.max(n.left,D),n.top=Math.max(n.top,O),n.right=Math.min(n.right,k),n.bottom=Math.min(n.bottom,A)}),n}function Kp(e,t=0){let n=`${t}`,r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function qp(e,t){let[n,r]=t||[];return[Kp(e.width,n),Kp(e.height,r)]}function Jp(e=``){return[e[0],e[1]]}function Yp(e,t){let n=t[0],r=t[1],i,a;return a=n===`t`?e.y:n===`b`?e.y+e.height:e.y+e.height/2,i=r===`l`?e.x:r===`r`?e.x+e.width:e.x+e.width/2,{x:i,y:a}}function Xp(e,t){let n={t:`b`,b:`t`,l:`r`,r:`l`},r=[...e];return r[t]=n[e[t]]||`c`,r}function Zp(e){return e.join(``)}function Qp(e,t,n,r,i,a,o,s){let[c,l]=S.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:i[r]||{}}),u=S.useRef(0),d=S.useMemo(()=>!t||s?[]:Hp(t),[t]),f=S.useRef({});e||(f.current={});let p=zn(()=>{if(t&&n&&e&&!s){let e=t,s=e.ownerDocument,c=Vp(e),{position:u}=c.getComputedStyle(e),p=e.style.left,m=e.style.top,h=e.style.right,g=e.style.bottom,_=e.style.overflow,v={...i[r],...a},y=s.createElement(`div`);e.parentElement?.appendChild(y),y.style.left=`${e.offsetLeft}px`,y.style.top=`${e.offsetTop}px`,y.style.position=u,y.style.height=`${e.offsetHeight}px`,y.style.width=`${e.offsetWidth}px`,e.style.left=`0`,e.style.top=`0`,e.style.right=`auto`,e.style.bottom=`auto`,e.style.overflow=`hidden`;let b;if(Array.isArray(n))b={x:n[0],y:n[1],width:0,height:0};else{let e=n.getBoundingClientRect();e.x=e.x??e.left,e.y=e.y??e.top,b={x:e.x,y:e.y,width:e.width,height:e.height}}let x=e.getBoundingClientRect(),{height:S,width:C}=c.getComputedStyle(e);x.x=x.x??x.left,x.y=x.y??x.top;let{clientWidth:w,clientHeight:T,scrollWidth:E,scrollHeight:D,scrollTop:O,scrollLeft:k}=s.documentElement,A=x.height,j=x.width,M=b.height,N=b.width,P={left:0,top:0,right:w,bottom:T},F={left:-k,top:-O,right:E-k,bottom:D-O},{htmlRegion:I}=v,L=`visible`,R=`visibleFirst`;I!==`scroll`&&I!==R&&(I=L);let z=I===R,B=Gp(F,d),V=Gp(P,d),H=I===L?V:B,U=z?V:H;e.style.left=`auto`,e.style.top=`auto`,e.style.right=`0`,e.style.bottom=`0`;let W=e.getBoundingClientRect();e.style.left=p,e.style.top=m,e.style.right=h,e.style.bottom=g,e.style.overflow=_,e.parentElement?.removeChild(y);let ee=Up(Math.round(j/parseFloat(C)*1e3)/1e3),te=Up(Math.round(A/parseFloat(S)*1e3)/1e3);if(ee===0||te===0||Or(n)&&!Ar(n))return;let{offset:ne,targetOffset:re}=v,[G,ie]=qp(x,ne),[K,ae]=qp(b,re);b.x-=K,b.y-=ae;let[q,oe]=v.points||[],se=Jp(oe),ce=Jp(q),le=Yp(b,se),ue=Yp(x,ce),de={...v},fe=[ce,se],pe=le.x-ue.x+G,me=le.y-ue.y+ie;function he(e,t,n=H){let r=x.x+e,i=x.y+t,a=r+j,o=i+A,s=Math.max(r,n.left),c=Math.max(i,n.top),l=Math.min(a,n.right),u=Math.min(o,n.bottom);return Math.max(0,(l-s)*(u-c))}let ge=he(pe,me),_e=he(pe,me,V),ve=Yp(b,[`t`,`l`]),ye=Yp(x,[`t`,`l`]),be=Yp(b,[`b`,`r`]),xe=Yp(x,[`b`,`r`]),{adjustX:Se,adjustY:Ce,shiftX:we,shiftY:Te}=v.overflow||{},Ee=e=>typeof e==`boolean`?e:e>=0,De,Oe,ke,Ae;function je(){De=x.y+me,Oe=De+A,ke=x.x+pe,Ae=ke+j}je();let Me=Ee(Ce),Ne=ce[0]===se[0];if(Me&&ce[0]===`t`&&(Oe>U.bottom||f.current.bt)){let e=me;Ne?e-=A-M:e=ve.y-xe.y-ie;let t=he(pe,e),n=he(pe,e,V);t>ge||t===ge&&(!z||n>=_e)?(f.current.bt=!0,me=e,ie=-ie,fe=[Xp(fe[0],0),Xp(fe[1],0)]):f.current.bt=!1}if(Me&&ce[0]===`b`&&(Dege||t===ge&&(!z||n>=_e)?(f.current.tb=!0,me=e,ie=-ie,fe=[Xp(fe[0],0),Xp(fe[1],0)]):f.current.tb=!1}let Pe=Ee(Se),Fe=ce[1]===se[1];if(Pe&&ce[1]===`l`&&(Ae>U.right||f.current.rl)){let e=pe;Fe?e-=j-N:e=ve.x-xe.x-G;let t=he(e,me),n=he(e,me,V);t>ge||t===ge&&(!z||n>=_e)?(f.current.rl=!0,pe=e,G=-G,fe=[Xp(fe[0],1),Xp(fe[1],1)]):f.current.rl=!1}if(Pe&&ce[1]===`r`&&(kege||t===ge&&(!z||n>=_e)?(f.current.lr=!0,pe=e,G=-G,fe=[Xp(fe[0],1),Xp(fe[1],1)]):f.current.lr=!1}de.points=[Zp(fe[0]),Zp(fe[1])],je();let Ie=we===!0?0:we;typeof Ie==`number`&&(keV.right&&(pe-=Ae-V.right-G,b.x>V.right-Ie&&(pe+=b.x-V.right+Ie)));let Le=Te===!0?0:Te;typeof Le==`number`&&(DeV.bottom&&(me-=Oe-V.bottom-ie,b.y>V.bottom-Le&&(me+=b.y-V.bottom+Le)));let Re=x.x+pe,ze=Re+j,Be=x.y+me,Ve=Be+A,He=b.x,Ue=He+N,We=b.y,Ge=We+M,Ke=(Math.max(Re,He)+Math.min(ze,Ue))/2-Re,qe=(Math.max(Be,We)+Math.min(Ve,Ge))/2-Be;o?.(t,de);let Je=W.right-x.x-(pe+x.width),Ye=W.bottom-x.y-(me+x.height);ee===1&&(pe=Math.floor(pe),Je=Math.floor(Je)),te===1&&(me=Math.floor(me),Ye=Math.floor(Ye)),l({ready:!0,offsetX:pe/ee,offsetY:me/te,offsetR:Je/ee,offsetB:Ye/te,arrowX:Ke/ee,arrowY:qe/te,scaleX:ee,scaleY:te,align:de})}}),m=()=>{u.current+=1;let e=u.current;Promise.resolve().then(()=>{u.current===e&&p()})},h=()=>{l(e=>({...e,ready:!1}))};return Hn(h,[r]),Hn(()=>{e||h()},[e]),[c.ready,c.offsetX,c.offsetY,c.offsetR,c.offsetB,c.arrowX,c.arrowY,c.scaleX,c.scaleY,c.align,m]}function $p(){let e=S.useRef(null),t=()=>{e.current&&=(clearTimeout(e.current),null)};return S.useEffect(()=>()=>{t()},[]),(n,r)=>{t(),r===0?n():e.current=setTimeout(()=>{n()},r*1e3)}}function em(e,t,n,r,i){Hn(()=>{if(e&&t&&n){let e=t,a=n,o=Hp(e),s=Hp(a),c=Vp(a),l=new Set([c,...o,...s]);function u(){r(),i()}return l.forEach(e=>{e.addEventListener(`scroll`,u,{passive:!0})}),c.addEventListener(`resize`,u,{passive:!0}),r(),()=>{l.forEach(e=>{e.removeEventListener(`scroll`,u),c.removeEventListener(`resize`,u)})}}},[e,t,n])}function tm(e,t,n,r,i,a,o,s){let c=S.useRef(e);c.current=e;let l=S.useRef(!1);S.useEffect(()=>{if(t&&r&&(!i||a)){let e=()=>{l.current=!1},t=e=>{c.current&&!o(e.composedPath?.()?.[0]||e.target)&&!l.current&&s(!1)},i=Vp(r);i.addEventListener(`pointerdown`,e,!0),i.addEventListener(`mousedown`,t,!0),i.addEventListener(`contextmenu`,t,!0);let a=Jr(n);return a&&(a.addEventListener(`mousedown`,t,!0),a.addEventListener(`contextmenu`,t,!0)),()=>{i.removeEventListener(`pointerdown`,e,!0),i.removeEventListener(`mousedown`,t,!0),i.removeEventListener(`contextmenu`,t,!0),a&&(a.removeEventListener(`mousedown`,t,!0),a.removeEventListener(`contextmenu`,t,!0))}}},[t,n,r,i,a]);function u(){l.current=!0}return u}function nm(){let[e,t]=S.useState(null),[n,r]=S.useState(!1),[i,a]=S.useState(!1),o=S.useRef(null);return[zn(e=>{e===!1?(o.current=null,r(!1)):i&&n?o.current=e:(r(!0),t(e),o.current=null,n||a(!0))}),n,e,zn(e=>{e?(a(!1),o.current&&=(t(o.current),null)):(a(!1),o.current=null)})]}function rm(){return rm=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t,isMobile:n,ready:r,open:i,align:a,offsetR:o,offsetB:s,offsetX:c,offsetY:l,arrowPos:u,popupSize:d,motion:f,uniqueContainerClassName:p,uniqueContainerStyle:m}=e,h=`${t}-unique-container`,[g,_]=S.useState(!1),v=Mp(n,r,i,a,o,s,c,l),y=S.useRef(v);r&&(y.current=v);let b={};return d&&(b.width=d.width,b.height=d.height),S.createElement(Od,rm({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,leavedClassName:`${h}-hidden`},f,{visible:i,onVisibleChanged:e=>{_(e)}}),({className:e,style:t})=>{let n=J(h,e,p,{[`${h}-visible`]:g});return S.createElement(`div`,{className:n,style:{"--arrow-x":`${u?.x||0}px`,"--arrow-y":`${u?.y||0}px`,...y.current,...b,...t,...m}})})},am=({children:e,postTriggerProps:t})=>{let[n,r,i,a]=nm(),o=S.useMemo(()=>!i||!t?i:t(i),[i,t]),[s,c]=S.useState(null),[l,u]=S.useState(null),d=S.useRef(null),f=zn(e=>{d.current=e,Or(e)&&s!==e&&c(e)}),p=S.useRef(null),m=$p(),h=zn((e,t)=>{p.current=t,m(()=>{n(e)},e.delay)}),g=e=>{m(()=>{p.current?.()||n(!1)},e)},_=zn(e=>{a(e)}),[v,y,b,x,C,w,T,,,E,D]=Qp(r,s,o?.target,o?.popupPlacement,o?.builtinPlacements||{},o?.popupAlign,void 0,!1),O=S.useMemo(()=>o?J(Bp(o.builtinPlacements||{},o.prefixCls||``,E,!1),o.getPopupClassNameFromAlign?.(E)):``,[E,o?.getPopupClassNameFromAlign,o?.builtinPlacements,o?.prefixCls]),k=S.useMemo(()=>({show:h,hide:g}),[]);S.useEffect(()=>{D()},[o?.target]);let A=zn(()=>(D(),Promise.resolve())),j=S.useRef({}),M=S.useContext(Fp),N=S.useMemo(()=>({registerSubPopup:(e,t)=>{j.current[e]=t,M?.registerSubPopup(e,t)}}),[M]),P=o?.prefixCls;return S.createElement(Ip.Provider,{value:k},e,o&&S.createElement(Fp.Provider,{value:N},S.createElement(Pp,{ref:f,portal:Dp,onEsc:o.onEsc,prefixCls:P,popup:o.popup,className:J(o.popupClassName,O,`${P}-unique-controlled`),style:o.popupStyle,target:o.target,open:r,keepDom:!0,fresh:!0,autoDestroy:!1,onVisibleChanged:_,ready:v,offsetX:y,offsetY:b,offsetR:x,offsetB:C,onAlign:D,onPrepare:A,onResize:e=>u({width:e.offsetWidth,height:e.offsetHeight}),arrowPos:{x:w,y:T},align:E,zIndex:o.zIndex,mask:o.mask,arrow:o.arrow,motion:o.popupMotion,maskMotion:o.maskMotion,getPopupContainer:o.getPopupContainer},S.createElement(im,{prefixCls:P,isMobile:!1,ready:v,open:r,align:E,offsetR:x,offsetB:C,offsetX:y,offsetY:b,arrowPos:{x:w,y:T},popupSize:l,motion:o.popupMotion,uniqueContainerClassName:J(o.uniqueContainerClassName,O),uniqueContainerStyle:o.uniqueContainerStyle}))))};function om(e=Dp){return S.forwardRef((t,n)=>{let{prefixCls:r=`rc-trigger-popup`,children:i,action:a=`hover`,showAction:o,hideAction:s,popupVisible:c,defaultPopupVisible:l,onOpenChange:u,afterOpenChange:d,onPopupVisibleChange:f,afterPopupVisibleChange:p,mouseEnterDelay:m,mouseLeaveDelay:h=.1,focusDelay:g,blurDelay:_,mask:v,maskClosable:y=!0,getPopupContainer:b,forceRender:x,autoDestroy:C,popup:w,popupClassName:T,uniqueContainerClassName:E,uniqueContainerStyle:D,popupStyle:O,popupPlacement:k,builtinPlacements:A={},popupAlign:j,zIndex:M,stretch:N,getPopupClassNameFromAlign:P,fresh:F,unique:I,alignPoint:L,onPopupClick:R,onPopupAlign:z,arrow:B,popupMotion:V,maskMotion:H,mobile:U,...W}=t,ee=C||!1,te=c===void 0,ne=!!U,re=S.useRef({}),G=S.useContext(Fp),ie=S.useMemo(()=>({registerSubPopup:(e,t)=>{re.current[e]=t,G?.registerSubPopup(e,t)}}),[G]),K=S.useContext(Ip),ae=Xn(),[q,oe]=S.useState(null),se=S.useRef(null),ce=zn(e=>{se.current=e,Or(e)&&q!==e&&oe(e),G?.registerSubPopup(ae,e)}),[le,ue]=S.useState(null),de=S.useRef(null),fe=zn(e=>{let t=kr(e);Or(t)&&le!==t&&(ue(t),de.current=t)}),pe={},me=zn(e=>{let t=le;return t?.contains(e)||Jr(t)?.host===e||e===t||q?.contains(e)||Jr(q)?.host===e||e===q||Object.values(re.current).some(t=>t?.contains(e)||e===t)}),he=B?{...B===!0?{}:B}:null,[ge,_e]=Gn(l||!1,c),ve=ge||!1,ye=S.useMemo(()=>{let e=typeof i==`function`?i({open:ve}):i;return S.Children.only(e)},[i,ve]),be=ye?.props||{},xe=zn(()=>ve),Se=zn((e=0)=>({popup:w,target:le,delay:e,prefixCls:r,popupClassName:T,uniqueContainerClassName:E,uniqueContainerStyle:D,popupStyle:O,popupPlacement:k,builtinPlacements:A,popupAlign:j,zIndex:M,mask:v,maskClosable:y,popupMotion:V,maskMotion:H,arrow:he,getPopupContainer:b,getPopupClassNameFromAlign:P,id:ae,onEsc:De}));Hn(()=>{K&&I&&le&&!te&&!G&&(ve?K.show(Se(m),xe):K.hide(h))},[ve,le]);let Ce=S.useRef(ve);Ce.current=ve;let we=zn(e=>{(0,Vi.flushSync)(()=>{ve!==e&&(_e(e),u?.(e),f?.(e))})}),Te=$p(),Ee=(e,t=0)=>{if(c!==void 0){Te(()=>{we(e)},t);return}if(K&&I&&te&&!G){e?K.show(Se(t),xe):K.hide(t);return}Te(()=>{we(e)},t)};function De({top:e}){e&&Ee(!1)}let[Oe,ke]=S.useState(!1);Hn(e=>{(!e||ve)&&ke(!0)},[ve]);let[Ae,je]=S.useState(null),[Me,Ne]=S.useState(null),Pe=e=>{Ne([e.clientX,e.clientY])},[Fe,Ie,Le,Re,ze,Be,Ve,He,Ue,We,Ge]=Qp(ve,q,L&&Me!==null?Me:le,k,A,j,z,ne),[Ke,qe]=Rp(a,o,s),Je=Ke.has(`click`),Ye=qe.has(`click`)||qe.has(`contextMenu`),Xe=zn(()=>{Oe||Ge()});em(ve,le,q,Xe,()=>{Ce.current&&L&&Ye&&Ee(!1)}),Hn(()=>{Xe()},[Me,k]),Hn(()=>{ve&&!A?.[k]&&Xe()},[JSON.stringify(j)]);let Ze=S.useMemo(()=>J(Bp(A,r,We,L),P?.(We)),[We,P,A,r,L]);S.useImperativeHandle(n,()=>({nativeElement:de.current,popupElement:se.current,forceAlign:Xe}));let[Qe,$e]=S.useState(0),[et,tt]=S.useState(0),nt=()=>{if(N&&le){let e=le.getBoundingClientRect();$e(e.width),tt(e.height)}},rt=()=>{nt(),Xe()},it=e=>{ke(!1),Ge(),d?.(e),p?.(e)},at=()=>new Promise(e=>{nt(),je(()=>e)});Hn(()=>{Ae&&(Ge(),Ae(),je(null))},[Ae]);function ot(e,t,n,r,i){pe[e]=(a,...o)=>{(!i||!i())&&(r?.(a),Ee(t,n)),be[e]?.(a,...o)}}let st=Ke.has(`touch`),ct=qe.has(`touch`),lt=S.useRef(!1);(st||ct)&&(pe.onTouchStart=(...e)=>{lt.current=!0,Ce.current&&ct?Ee(!1):!Ce.current&&st&&Ee(!0),be.onTouchStart?.(...e)}),(Je||Ye)&&(pe.onClick=(e,...t)=>{Ce.current&&Ye?Ee(!1):!Ce.current&&Je&&(Pe(e),Ee(!0)),be.onClick?.(e,...t),lt.current=!1});let ut=tm(ve,Ye||ct,le,q,v,y,me,Ee),dt=Ke.has(`hover`),ft=qe.has(`hover`),pt,mt,ht=()=>lt.current;if(dt){let e=e=>{Pe(e)};ot(`onMouseEnter`,!0,m,e,ht),ot(`onPointerEnter`,!0,m,e,ht),pt=e=>{(ve||Oe)&&q?.contains(e.target)&&Ee(!0,m)},L&&(pe.onMouseMove=e=>{be.onMouseMove?.(e)})}ft&&(ot(`onMouseLeave`,!1,h,void 0,ht),ot(`onPointerLeave`,!1,h,void 0,ht),mt=()=>{Ee(!1,h)}),Ke.has(`focus`)&&ot(`onFocus`,!0,g),qe.has(`focus`)&&ot(`onBlur`,!1,_),Ke.has(`contextMenu`)&&(pe.onContextMenu=(e,...t)=>{Ce.current&&qe.has(`contextMenu`)?Ee(!1):(Pe(e),Ee(!0)),e.preventDefault(),be.onContextMenu?.(e,...t)});let gt=S.useRef(!1);gt.current||=x||ve||Oe;let _t={...be,...pe},vt={};[`onContextMenu`,`onClick`,`onMouseDown`,`onTouchStart`,`onMouseEnter`,`onMouseLeave`,`onFocus`,`onBlur`].forEach(e=>{W[e]&&(vt[e]=(...t)=>{_t[e]?.(...t),W[e](...t)})});let yt={x:Be,y:Ve};ea(ve,le,rt);let bt=lr(fe,pr(ye)),xt=S.cloneElement(ye,{..._t,...vt,ref:bt});return S.createElement(S.Fragment,null,xt,gt.current&&(!K||!I)&&S.createElement(Fp.Provider,{value:ie},S.createElement(Pp,{portal:e,ref:ce,prefixCls:r,popup:w,className:J(T,!ne&&Ze),style:O,target:le,onMouseEnter:pt,onMouseLeave:mt,onPointerEnter:pt,zIndex:M,open:ve,keepDom:Oe,fresh:F,onClick:R,onPointerDownCapture:ut,mask:v,motion:V,maskMotion:H,onVisibleChanged:it,onPrepare:at,forceRender:x,autoDestroy:ee,getPopupContainer:b,onEsc:De,align:We,arrow:he,arrowPos:yt,ready:Fe,offsetX:Ie,offsetY:Le,offsetR:Re,offsetB:ze,onAlign:Xe,stretch:N,targetWidth:Qe/He,targetHeight:et/Ue,mobile:U})))})}var sm=om(Dp);function cm(e){return e&&S.isValidElement(e)&&e.type===S.Fragment}var lm=(e,t,n)=>S.isValidElement(e)?S.cloneElement(e,rf(n)?n(e.props||{}):n):t;function um(e,t){return lm(e,e,t)}var dm=({children:e})=>{let{getPrefixCls:t}=S.useContext(ga),n=t();return S.isValidElement(e)?S.createElement(Od,{visible:!0,motionName:`${n}-fade`,motionAppear:!0,motionEnter:!0,motionLeave:!1,removeOnLeave:!1},({style:t,className:n})=>um(e,e=>({className:J(e.className,n),style:{...e.style,...t}}))):e},fm=[null,null];function pm(e){if(fm[0]!==e){let t={};Object.keys(e).forEach(n=>{t[n]={...e[n],dynamicInset:!1}}),fm[0]=e,fm[1]=t}return fm[1]}var mm=({children:e})=>S.createElement(am,{postTriggerProps:e=>{let{id:t,builtinPlacements:n,popup:r}=e,i=typeof r==`function`?r():r,a=pm(n);return{...e,getPopupContainer:null,arrow:!1,popup:S.createElement(dm,{key:t},i),builtinPlacements:a}}},e),hm=S.createContext(!1),gm=({children:e,disabled:t})=>{let n=S.useContext(hm);return S.createElement(hm.Provider,{value:t??n},e)},_m=S.createContext(void 0),vm=({children:e,size:t})=>{let n=S.useContext(_m);return S.createElement(_m.Provider,{value:t||n},e)};function ym(){return{componentDisabled:(0,S.useContext)(hm),componentSize:(0,S.useContext)(_m)}}function bm(e,t,n){Gi(`ConfigProvider`);let r=e||{},i=r.inherit===!1||!t?{...Ml,hashed:t?.hashed??Ml.hashed,cssVar:t?.cssVar}:t,a=(0,S.useId)();return Zn(()=>{if(!e)return t;let o={...i.components};Object.keys(e.components||{}).forEach(t=>{o[t]={...o[t],...e.components[t]}});let s=`css-var-${a.replace(/:/g,``)}`,c={prefix:n?.prefixCls,...i.cssVar,...r.cssVar,key:r.cssVar?.key||s};return{...i,...r,token:{...i.token,...r.token},components:o,cssVar:c}},[r,i],(e,t)=>e.some((e,n)=>{let r=t[n];return!fi(e,r,!0)}))}var xm=S.createContext(!0);function Sm(e){let t=S.useContext(xm),{children:n}=e,[,r]=Vl(),{motion:i}=r,a=S.useRef(!1);return a.current||=t!==i,a.current?S.createElement(xm.Provider,{value:i},S.createElement(zu,{motion:i},n)):n}var Cm=()=>null,wm=({iconPrefixCls:e,csp:t})=>(ru(e,t),null),Tm=[`getTargetContainer`,`getPopupContainer`,`renderEmpty`,`input`,`pagination`,`form`,`select`,`button`],Em,Dm,Om,km;function Am(){return Em||`ant`}function jm(){return Dm||`anticon`}var Mm=e=>{let{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:i}=e;t!==void 0&&(Em=t),n!==void 0&&(Dm=n),`holderRender`in e&&(km=i),r&&(Om=r)},Nm=()=>({getPrefixCls:(e,t)=>t||(e?`${Am()}-${e}`:Am()),getIconPrefixCls:jm,getRootPrefixCls:()=>Em||Am(),getTheme:()=>Om,holderRender:km}),Pm=e=>{let{children:t,csp:n,autoInsertSpaceInButton:r,alert:i,affix:a,anchor:o,app:s,form:c,locale:l,componentSize:u,direction:d,space:f,splitter:p,virtual:m,dropdownMatchSelectWidth:h,popupMatchSelectWidth:g,popupOverflow:_,legacyLocale:v,parentContext:y,iconPrefixCls:b,theme:x,componentDisabled:C,segmented:w,statistic:T,spin:E,calendar:D,carousel:O,cascader:k,collapse:A,typography:j,checkbox:M,descriptions:N,divider:P,drawer:F,skeleton:I,steps:L,image:R,layout:z,list:B,mentions:V,modal:H,progress:U,result:W,slider:ee,breadcrumb:te,masonry:ne,menu:re,pagination:G,input:ie,textArea:K,otp:ae,empty:q,badge:oe,radio:se,rate:ce,ribbon:le,switch:ue,transfer:de,avatar:fe,message:pe,tag:me,table:he,card:ge,cardMeta:_e,tabs:ve,timeline:ye,timePicker:be,upload:xe,notification:Se,tree:Ce,colorPicker:we,datePicker:Te,rangePicker:Ee,flex:De,wave:Oe,dropdown:ke,warning:Ae,tour:je,tooltip:Me,popover:Ne,popconfirm:Pe,qrcode:Fe,floatButton:Ie,floatButtonGroup:Le,variant:Re,inputNumber:ze,treeSelect:Be,watermark:Ve}=e,He=S.useMemo(()=>nf(l)&&Object.prototype.hasOwnProperty.call(l,`default`)&&l.default?.locale?l.default:l,[l]),Ue=S.useCallback((t,n)=>{let{prefixCls:r}=e;if(n)return n;let i=r||y.getPrefixCls(``);return t?`${i}-${t}`:i},[y.getPrefixCls,e.prefixCls]),We=b||y.iconPrefixCls||`anticon`,Ge=n||y.csp,Ke=bm(x,y.theme,{prefixCls:Ue(``)}),qe={csp:Ge,autoInsertSpaceInButton:r,alert:i,affix:a,anchor:o,app:s,locale:He||v,direction:d,space:f,splitter:p,virtual:m,popupMatchSelectWidth:g??h,popupOverflow:_,getPrefixCls:Ue,iconPrefixCls:We,theme:Ke,segmented:w,statistic:T,spin:E,calendar:D,carousel:O,cascader:k,collapse:A,typography:j,checkbox:M,descriptions:N,divider:P,drawer:F,skeleton:I,steps:L,image:R,input:ie,textArea:K,otp:ae,layout:z,list:B,mentions:V,modal:H,progress:U,result:W,slider:ee,breadcrumb:te,masonry:ne,menu:re,pagination:G,empty:q,badge:oe,radio:se,rate:ce,ribbon:le,switch:ue,transfer:de,avatar:fe,message:pe,tag:me,table:he,card:ge,cardMeta:_e,tabs:ve,timeline:ye,timePicker:be,upload:xe,notification:Se,tree:Ce,colorPicker:we,datePicker:Te,rangePicker:Ee,flex:De,wave:Oe,dropdown:ke,warning:Ae,tour:je,tooltip:Me,popover:Ne,popconfirm:Pe,qrcode:Fe,floatButton:Ie,floatButtonGroup:Le,variant:Re,inputNumber:ze,treeSelect:Be,watermark:Ve},Je={...y};Object.keys(qe).forEach(e=>{qe[e]!==void 0&&(Je[e]=qe[e])}),Tm.forEach(t=>{let n=e[t];n&&(Je[t]=n)}),r!==void 0&&(Je.button={autoInsertSpace:r,...Je.button});let Ye=Zn(()=>Je,Je,(e,t)=>{let n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some(n=>e[n]!==t[n])}),{layer:Xe}=S.useContext(ka),Ze=S.useMemo(()=>({prefixCls:We,csp:Ge,layer:Xe?`antd`:void 0}),[We,Ge,Xe]),Qe=S.createElement(S.Fragment,null,S.createElement(wm,{iconPrefixCls:We,csp:Ge}),S.createElement(Cm,{dropdownMatchSelectWidth:h}),t),$e=S.useMemo(()=>Li(Hd.Form?.defaultValidateMessages||{},Ye.locale?.Form?.defaultValidateMessages||{},Ye.form?.validateMessages||{},c?.validateMessages||{}),[Ye,c?.validateMessages]);Object.keys($e).length>0&&(Qe=S.createElement(cp.Provider,{value:$e},Qe)),He&&(Qe=S.createElement(Zd,{locale:He,_ANT_MARK__:Xd},Qe)),(We||Ge)&&(Qe=S.createElement(au.Provider,{value:Ze},Qe)),u&&(Qe=S.createElement(vm,{size:u},Qe)),Qe=S.createElement(Sm,null,Qe),Me?.unique&&(Qe=S.createElement(mm,null,Qe));let et=S.useMemo(()=>{let{algorithm:e,token:t,components:n,cssVar:r,...i}=Ke||{},a=e&&(!Array.isArray(e)||e.length>0)?Fa(e):jl,o={};Object.entries(n||{}).forEach(([e,t])=>{let n={...t};`algorithm`in n&&(n.algorithm===!0?n.theme=a:(Array.isArray(n.algorithm)||typeof n.algorithm==`function`)&&(n.theme=Fa(n.algorithm)),delete n.algorithm),o[e]=n});let s={...Dc,...t};return{...i,theme:a,token:s,components:o,override:{override:s,...o},cssVar:r}},[Ke]);return x&&(Qe=S.createElement(Nl.Provider,{value:et},Qe)),Ye.warning&&(Qe=S.createElement(Wi.Provider,{value:Ye.warning},Qe)),C!==void 0&&(Qe=S.createElement(gm,{disabled:C},Qe)),S.createElement(ga.Provider,{value:Ye},Qe)},Fm=e=>{let t=S.useContext(ga),n=S.useContext(Jd);return S.createElement(Pm,{parentContext:t,legacyLocale:n,...e})};Fm.ConfigContext=ga,Fm.SizeContext=_m,Fm.config=Mm,Fm.useConfig=ym,Object.defineProperty(Fm,`SizeContext`,{get:()=>_m});function Im(){return Im=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,style:r,className:i,duration:a=4.5,showProgress:o,pauseOnHover:s=!0,eventKey:c,content:l,closable:u,props:d,onClick:f,onNoticeClose:p,times:m,hovering:h}=e,[g,_]=S.useState(!1),[v,y]=S.useState(0),[b,x]=S.useState(0),C=h||g,w=typeof a==`number`?a:0,T=w>0&&o,E=()=>{p(c)},D=e=>{(e.key===`Enter`||e.code===`Enter`||e.keyCode===Qr.ENTER)&&E()};S.useEffect(()=>{if(!C&&w>0){let e=Date.now()-b,t=setTimeout(()=>{E()},w*1e3-b);return()=>{s&&clearTimeout(t),x(Date.now()-e)}}},[w,C,m]),S.useEffect(()=>{if(!C&&T&&(s||b===0)){let e=performance.now(),t,n=()=>{cancelAnimationFrame(t),t=requestAnimationFrame(t=>{let r=t+b-e,i=Math.min(r/(w*1e3),1);y(i*100),i<1&&n()})};return n(),()=>{s&&cancelAnimationFrame(t)}}},[w,b,C,T,m]);let O=S.useMemo(()=>typeof u==`object`&&u?u:{},[u]),k=xi(O,!0),A=100-(!v||v<0?0:v>100?100:v),j=`${n}-notice`;return S.createElement(`div`,Im({},d,{ref:t,className:J(j,i,{[`${j}-closable`]:u}),style:r,onMouseEnter:e=>{_(!0),d?.onMouseEnter?.(e)},onMouseLeave:e=>{_(!1),d?.onMouseLeave?.(e)},onClick:f}),S.createElement(`div`,{className:`${j}-content`},l),u&&S.createElement(`button`,Im({className:`${j}-close`,onKeyDown:D,"aria-label":`Close`},k,{onClick:e=>{e.preventDefault(),e.stopPropagation(),E()}}),O.closeIcon??`x`),T&&S.createElement(`progress`,{className:`${j}-progress`,max:`100`,value:A},A+`%`))}),Rm=S.createContext({}),zm=({children:e,classNames:t})=>S.createElement(Rm.Provider,{value:{classNames:t}},e),Bm=8,Vm=3,Hm=16,Um=e=>{let t={offset:Bm,threshold:Vm,gap:Hm};return e&&typeof e==`object`&&(t.offset=e.offset??Bm,t.threshold=e.threshold??Vm,t.gap=e.gap??Hm),[!!e,t]};function Wm(){return Wm=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{configList:t,placement:n,prefixCls:r,className:i,style:a,motion:o,onAllNoticeRemoved:s,onNoticeClose:c,stack:l}=e,{classNames:u}=(0,S.useContext)(Rm),d=(0,S.useRef)({}),[f,p]=(0,S.useState)(null),[m,h]=(0,S.useState)([]),g=t.map(e=>({config:e,key:String(e.key)})),[_,{offset:v,threshold:y,gap:b}]=Um(l),x=_&&(m.length>0||g.length<=y),C=typeof o==`function`?o(n):o;return(0,S.useEffect)(()=>{_&&m.length>1&&h(e=>e.filter(e=>g.some(({key:t})=>e===t)))},[m,g,_]),(0,S.useEffect)(()=>{_&&d.current[g[g.length-1]?.key]&&p(d.current[g[g.length-1]?.key])},[g,_]),S.createElement(Dd,Wm({key:n,className:J(r,`${r}-${n}`,u?.list,i,{[`${r}-stack`]:!!_,[`${r}-stack-expanded`]:x}),style:a,keys:g,motionAppear:!0},C,{onAllRemoved:()=>{s(n)}}),({config:e,className:t,style:i,index:a},o)=>{let{key:s,times:l}=e,p=String(s),{className:y,style:C,classNames:w,styles:T,...E}=e,D=g.findIndex(e=>e.key===p),O={};if(_){let e=g.length-1-(D>-1?D:a-1),t=n===`top`||n===`bottom`?`-50%`:`0`;if(e>0){O.height=x?d.current[p]?.offsetHeight:f?.offsetHeight;let r=0;for(let t=0;th(e=>e.includes(p)?e:[...e,p]),onMouseLeave:()=>h(e=>e.filter(e=>e!==p))},S.createElement(Lm,Wm({},E,{ref:e=>{D>-1?d.current[p]=e:delete d.current[p]},prefixCls:r,classNames:w,styles:T,className:J(y,u?.notice),style:C,times:l,key:s,eventKey:s,onNoticeClose:c,hovering:_&&m.length>0})))})},tee=S.forwardRef((e,t)=>{let{prefixCls:n=`rc-notification`,container:r,motion:i,maxCount:a,className:o,style:s,onAllRemoved:c,stack:l,renderNotifications:u}=e,[d,f]=S.useState([]),p=e=>{let t=d.find(t=>t.key===e),n=t?.closable,{onClose:r}=n&&typeof n==`object`?n:{};r?.(),t?.onClose?.(),f(t=>t.filter(t=>t.key!==e))};S.useImperativeHandle(t,()=>({open:e=>{f(t=>{let n=[...t],r=n.findIndex(t=>t.key===e.key),i={...e};return r>=0?(i.times=(t[r]?.times||0)+1,n[r]=i):(i.times=0,n.push(i)),a>0&&n.length>a&&(n=n.slice(-a)),n})},close:e=>{p(e)},destroy:()=>{f([])}}));let[m,h]=S.useState({});S.useEffect(()=>{let e={};d.forEach(t=>{let{placement:n=`topRight`}=t;n&&(e[n]=e[n]||[],e[n].push(t))}),Object.keys(m).forEach(t=>{e[t]=e[t]||[]}),h(e)},[d]);let g=e=>{h(t=>{let n={...t};return(n[e]||[]).length||delete n[e],n})},_=S.useRef(!1);if(S.useEffect(()=>{Object.keys(m).length>0?_.current=!0:_.current&&=(c?.(),!1)},[m]),!r)return null;let v=Object.keys(m);return(0,Vi.createPortal)(S.createElement(S.Fragment,null,v.map(e=>{let t=m[e],r=S.createElement(eee,{key:e,configList:t,placement:e,prefixCls:n,className:o?.(e),style:s?.(e),motion:i,onNoticeClose:p,onAllNoticeRemoved:g,stack:l});return u?u(r,{prefixCls:n,key:e}):r})),r)}),nee=()=>document.body,Gm=0;function Km(...e){let t={};return e.forEach(e=>{e&&Object.keys(e).forEach(n=>{let r=e[n];r!==void 0&&(t[n]=r)})}),t}function qm(e={}){let{getContainer:t=nee,motion:n,prefixCls:r,maxCount:i,className:a,style:o,onAllRemoved:s,stack:c,renderNotifications:l,...u}=e,[d,f]=S.useState(),p=S.useRef(),m=S.createElement(tee,{container:d,ref:p,prefixCls:r,motion:n,maxCount:i,className:a,style:o,onAllRemoved:s,stack:c,renderNotifications:l}),[h,g]=S.useState([]),_=zn(e=>{let t=Km(u,e);(t.key===null||t.key===void 0)&&(t.key=`rc-notification-${Gm}`,Gm+=1),g(e=>[...e,{type:`open`,config:t}])}),v=S.useMemo(()=>({open:_,close:e=>{g(t=>[...t,{type:`close`,key:e}])},destroy:()=>{g(e=>[...e,{type:`destroy`}])}}),[]);return S.useEffect(()=>{f(t())}),S.useEffect(()=>{if(p.current&&h.length){h.forEach(e=>{switch(e.type){case`open`:p.current.open(e.config);break;case`close`:p.current.close(e.key);break;case`destroy`:p.current.destroy();break}});let e,t;g(n=>((e!==n||!t)&&(e=n,t=n.filter(e=>!h.includes(e))),t))}},[h]),[v,m]}var Jm=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z`}}]},name:`loading`,theme:`outlined`}}))());function Ym(){return Ym=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Ym({},e,{ref:t,icon:Jm.default}))),Zm=e=>{let{componentCls:t,iconCls:n,boxShadow:r,colorText:i,colorSuccess:a,colorError:o,colorWarning:s,colorInfo:c,fontSizeLG:l,motionEaseInOutCirc:u,motionDurationSlow:d,marginXS:f,paddingXS:p,borderRadiusLG:m,zIndexPopup:h,contentPadding:g,contentBg:_}=e,v=`${t}-notice`,y=new Ms(`MessageMoveIn`,{"0%":{padding:0,transform:`translateY(-100%)`,opacity:0},"100%":{padding:p,transform:`translateY(0)`,opacity:1}}),b=new Ms(`MessageMoveOut`,{"0%":{maxHeight:e.height,padding:p,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),x={padding:p,textAlign:`center`,[`${t}-custom-content`]:{display:`flex`,alignItems:`center`},[`${t}-custom-content > ${n}`]:{marginInlineEnd:f,fontSize:l},[`${v}-content`]:{display:`inline-block`,padding:g,background:_,borderRadius:m,boxShadow:r,pointerEvents:`all`},[`${t}-success > ${n}`]:{color:a},[`${t}-error > ${n}`]:{color:o},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n}, ${t}-loading > ${n}`]:{color:c}};return[{[t]:{...Ul(e),color:i,position:`fixed`,top:f,width:`100%`,pointerEvents:`none`,zIndex:h,[`${t}-move-up`]:{animationFillMode:`forwards`},[` ${t}-move-up-appear, ${t}-move-up-enter `]:{animationName:y,animationDuration:d,animationPlayState:`paused`,animationTimingFunction:u},[` ${t}-move-up-appear${t}-move-up-appear-active, ${t}-move-up-enter${t}-move-up-enter-active - `]:{animationPlayState:`running`},[`${t}-move-up-leave`]:{animationName:b,animationDuration:d,animationPlayState:`paused`,animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:`running`},"&-rtl":{direction:`rtl`,span:{direction:`rtl`}}}},{[t]:{[`${v}-wrapper`]:{...x}}},{[`${t}-notice-pure-panel`]:{...x,padding:0,textAlign:`start`}}]},$m=Ql(`Message`,e=>Qm(dc(e,{height:150})),e=>({zIndexPopup:e.zIndexPopupBase+Nf+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`})),eh={info:S.createElement(Lu,null),success:S.createElement(Tu,null),error:S.createElement(Ou,null),warning:S.createElement(Pu,null),loading:S.createElement(Zm,null)},th=e=>{let{prefixCls:t,type:n,icon:r,children:i,classNames:a,styles:o}=e,s=lm(r||n&&eh[n],e=>{let t={...e?.style,...o?.icon};return{className:J(e.className,a?.icon),style:t}});return S.createElement(`div`,{className:J(`${t}-custom-content`,`${t}-${n}`)},s,S.createElement(`span`,{className:a?.content,style:o?.content},i))},nee=e=>{let{prefixCls:t,className:n,style:r,type:i,icon:a,content:o,classNames:s,styles:c,...l}=e,{getPrefixCls:u,className:d,style:f,classNames:p,styles:m}=ya(`message`),h=t||u(`message`),g=sp(h),[_,v]=$m(h,g),[y,b]=Cf([p,s],[m,c],{props:e});return S.createElement(Fm,{...l,prefixCls:h,className:J(d,y.root,n,_,`${h}-notice-pure-panel`,v,g),style:{...b.root,...f,...r},eventKey:`pure`,duration:null,content:S.createElement(th,{prefixCls:h,type:i,icon:a,classNames:y,styles:b},o)})};function ree(e,t){return{motionName:t??`${e}-move-up`}}function nh(e){let t,n=new Promise(n=>{t=e(()=>{n(!0)})}),r=()=>{t?.()};return r.then=(e,t)=>n.then(e,t),r.promise=n,r}var iee=8,aee=3,oee=({children:e,prefixCls:t})=>{let n=sp(t),[r,i]=$m(t,n);return S.createElement(Lm,{classNames:{list:J(r,i,n)}},e)},rh=(e,{prefixCls:t,key:n})=>S.createElement(oee,{prefixCls:t,key:n},e),ih=S.forwardRef((e,t)=>{let{top:n,prefixCls:r,getContainer:i,maxCount:a,duration:o=aee,rtl:s,transitionName:c,onAllRemoved:l,pauseOnHover:u=!0}=e,{getPrefixCls:d,direction:f,getPopupContainer:p}=ya(`message`),{message:m}=S.useContext(ga),h=r||d(`message`),g=()=>({left:`50%`,transform:`translateX(-50%)`,top:n??iee}),_=()=>J({[`${h}-rtl`]:s??f===`rtl`}),v=()=>ree(h,c),[y,b]=Cf([e?.classNames,m?.classNames],[e?.styles,m?.styles],{props:e}),[x,C]=Jm({prefixCls:h,style:g,className:_,motion:v,closable:!1,duration:o,getContainer:()=>i?.()||p?.()||document.body,maxCount:a,onAllRemoved:l,renderNotifications:rh,pauseOnHover:u});return S.useImperativeHandle(t,()=>({...x,prefixCls:h,message:m,classNames:y,styles:b})),C}),ah=0;function oh(e){let t=S.useRef(null);return Gi(`Message`),[S.useMemo(()=>{let n=e=>{t.current?.close(e)},r=r=>{if(!t.current){let e=()=>{};return e.then=()=>{},e}let{open:i,prefixCls:a,message:o,classNames:s,styles:c}=t.current,l=o?.className||{},u=o?.style||{},d=o?.classNames||{},f=o?.styles||{},p=`${a}-notice`,{content:m,icon:h,type:g,key:_,className:v,style:y,onClose:b,classNames:x={},styles:C={},...w}=r,T=_;$d(T)||(ah+=1,T=`antd-message-${ah}`);let E={...e,...r},D=Sf(d,{props:E}),O=Sf(x,{props:E}),k=Sf(f,{props:E}),A=Sf(C,{props:E}),j=_f(void 0,D,O,s),M=yf(k,A,c);return nh(e=>(i({...w,key:T,content:S.createElement(th,{prefixCls:a,type:g,icon:h,classNames:j,styles:M},m),placement:`top`,className:J({[`${p}-${g}`]:g},v,l,j.root),style:{...M.root,...u,...y},onClose:()=>{b?.(),e()}}),()=>{n(T)}))},i={open:r,destroy:e=>{e===void 0?t.current?.destroy():n(e)}};return[`info`,`success`,`warning`,`error`,`loading`].forEach(e=>{i[e]=(t,n,i)=>{let a;a=nf(t)&&`content`in t?t:{content:t};let o,s;return typeof n==`function`?s=n:(o=n,s=i),r({onClose:s,duration:o,...a,type:e})}}),i},[]),S.createElement(ih,{key:`message-holder`,...e,ref:t})]}function sh(e){return oh(e)}var ch=()=>({height:0,opacity:0}),lh=e=>({height:e?.scrollHeight??0,opacity:+!!e}),uh=e=>({height:e?.offsetHeight??0}),dh=e=>nf(e)&&`propertyName`in e,fh=(e,t)=>t?.deadline===!0||(dh(t)?t.propertyName===`height`:!1),ph=(e=`ant`)=>({motionName:`${e}-motion-collapse`,onAppearStart:ch,onEnterStart:ch,onAppearActive:lh,onEnterActive:lh,onLeaveStart:uh,onLeaveActive:ch,onAppearEnd:fh,onEnterEnd:fh,onLeaveEnd:fh,motionDeadline:500}),mh=(e,t,n)=>n===void 0?`${e}-${t}`:n,hh=$l(`Wave`,e=>{let{componentCls:t,colorPrimary:n,motionDurationSlow:r,motionEaseInOut:i,motionEaseOutCirc:a,antCls:o}=e,[,s]=tu(o,`wave`);return{[t]:{position:`absolute`,background:`transparent`,pointerEvents:`none`,boxSizing:`border-box`,color:s(`color`,n),boxShadow:`0 0 0 0 currentcolor`,opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s`,`opacity 2s`].map(e=>`${e} ${a}`).join(`,`),"&-active":{boxShadow:`0 0 0 6px currentcolor`,opacity:0},"&.wave-quick":{transition:[`box-shadow`,`opacity`].map(e=>`${e} ${r} ${i}`).join(`,`)}}}}}),gh=`ant-wave-target`;function _h(e){return e&&typeof e==`string`&&e!==`#fff`&&e!==`#ffffff`&&e!==`rgb(255, 255, 255)`&&e!==`rgba(255, 255, 255, 1)`&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!==`transparent`&&e!==`canvastext`}function vh(e,t=null){let n=getComputedStyle(e),{borderTopColor:r,borderColor:i,backgroundColor:a}=n;return t&&_h(n[t])?n[t]:[r,i,a].find(_h)??null}function yh(e){return Number.isNaN(e)?0:e}var bh=e=>{let{className:t,target:n,component:r,colorSource:i}=e,a=S.useRef(null),{getPrefixCls:o}=S.useContext(ga),[s]=tu(o(),`wave`),[c,l]=S.useState(null),[u,d]=S.useState([]),[f,p]=S.useState(0),[m,h]=S.useState(0),[g,_]=S.useState(0),[v,y]=S.useState(0),[b,x]=S.useState(!1),C={left:f,top:m,width:g,height:v,borderRadius:u.map(e=>`${e}px`).join(` `)};c&&(C[s(`color`)]=c);function w(){let e=getComputedStyle(n);l(vh(n,i));let t=e.position===`static`,{borderLeftWidth:r,borderTopWidth:a}=e;p(t?n.offsetLeft:yh(-Number.parseFloat(r))),h(t?n.offsetTop:yh(-Number.parseFloat(a))),_(n.offsetWidth),y(n.offsetHeight);let{borderTopLeftRadius:o,borderTopRightRadius:s,borderBottomLeftRadius:c,borderBottomRightRadius:u}=e;d([o,s,u,c].map(e=>yh(Number.parseFloat(e))))}if(S.useEffect(()=>{if(n){let e=Oi(()=>{w(),x(!0)}),t;return typeof ResizeObserver<`u`&&(t=new ResizeObserver(w),t.observe(n)),()=>{Oi.cancel(e),t?.disconnect()}}},[n]),!b)return null;let T=(r===`Checkbox`||r===`Radio`)&&n?.classList.contains(gh);return S.createElement(Od,{visible:!0,motionAppear:!0,motionName:`wave-motion`,motionDeadline:5e3,onAppearEnd:(e,t)=>{if(t.deadline||t.propertyName===`opacity`){let e=a.current?.parentElement;Bi(e).then(()=>{e?.remove()})}return!1}},({className:e},n)=>S.createElement(`div`,{ref:cr(a,n),className:J(t,e,{"wave-quick":T}),style:C}))},xh=(e,t)=>{let{component:n}=t;if(n===`Checkbox`&&!e.querySelector(`input`)?.checked)return;let r=document.createElement(`div`);r.style.position=`absolute`,r.style.left=`0px`,r.style.top=`0px`,e?.insertBefore(r,e?.firstChild),zi(S.createElement(bh,{...t,target:e}),r)},Sh=(e,t,n,r)=>{let{wave:i}=S.useContext(ga),[,a,o]=Vl(),s=zn(s=>{let c=e.current;if(i?.disabled||!c)return;let l=c.querySelector(`.${gh}`)||c,{showEffect:u}=i||{};(u||xh)(l,{className:t,token:a,component:n,event:s,hashId:o,colorSource:r})}),c=S.useRef(null);return S.useEffect(()=>()=>{Oi.cancel(c.current)},[]),e=>{Oi.cancel(c.current),c.current=Oi(()=>{s(e)})}},Ch=e=>{let{children:t,disabled:n,component:r,colorSource:i}=e,{getPrefixCls:a}=(0,S.useContext)(ga),o=(0,S.useRef)(null),s=a(`wave`),c=Sh(o,J(s,hh(s)),r,i);return S.useEffect(()=>{let e=o.current;if(!e||e.nodeType!==window.Node.ELEMENT_NODE||n)return;let t=t=>{!Ar(t.target)||!e.getAttribute||e.getAttribute(`disabled`)||e.disabled||e.className.includes(`disabled`)&&!e.className.includes(`disabled:`)||e.getAttribute(`aria-disabled`)===`true`||e.className.includes(`-leave`)||c(t)};return e.addEventListener(`click`,t,!0),()=>{e.removeEventListener(`click`,t,!0)}},[n]),S.isValidElement(t)?lm(t,{ref:ur(t)?cr(pr(t),o):o}):t??null},wh=e=>{let t=S.useContext(gm);return S.useMemo(()=>e?typeof e==`string`?e??t:typeof e==`function`?e(t):t:t,[e,t])},Th=Ql([`Space`,`Compact`],e=>{let{componentCls:t}=e;return{[t]:{display:`inline-flex`,"&-block":{display:`flex`,width:`100%`},"&-vertical":{flexDirection:`column`},"&-rtl":{direction:`rtl`}}}},()=>({}),{resetStyle:!1}),Eh=S.createContext(null),Dh=(e,t)=>{let n=S.useContext(Eh),r=S.useMemo(()=>{if(!n)return``;let{compactDirection:r,isFirstItem:i,isLastItem:a}=n,o=r===`vertical`?`-vertical-`:`-`;return J(`${e}-compact${o}item`,{[`${e}-compact${o}first-item`]:i,[`${e}-compact${o}last-item`]:a,[`${e}-compact${o}item-rtl`]:t===`rtl`})},[e,t,n]);return{compactSize:n?.compactSize,compactDirection:n?.compactDirection,compactItemClassnames:r}},Oh=e=>{let{children:t}=e;return S.createElement(Eh.Provider,{value:null},t)},kh=e=>{let{children:t,...n}=e;return S.createElement(Eh.Provider,{value:S.useMemo(()=>n,[n])},t)},Ah=e=>{let{getPrefixCls:t,direction:n}=S.useContext(ga),{size:r,direction:i,orientation:a,block:o,prefixCls:s,className:c,rootClassName:l,children:u,vertical:d,...f}=e,[p,m]=Ef(a,d,i),h=wh(e=>r??e),g=t(`space-compact`,s),[_]=Th(g),v=J(g,_,{[`${g}-rtl`]:n===`rtl`,[`${g}-block`]:o,[`${g}-vertical`]:m},c,l),y=S.useContext(Eh),b=ki(u),x=S.useMemo(()=>b.map((e,t)=>{let n=e?.key||`${g}-item-${t}`;return S.createElement(kh,{key:n,compactSize:h,compactDirection:p,isFirstItem:t===0&&(!y||y?.isFirstItem),isLastItem:t===b.length-1&&(!y||y?.isLastItem)},e)}),[b,y,p,h,g]);return b.length===0?null:S.createElement(`div`,{className:v,...f},x)},jh=S.createContext(void 0),Mh=e=>{let{getPrefixCls:t,direction:n}=S.useContext(ga),{prefixCls:r,size:i,className:a,...o}=e,s=t(`btn-group`,r),[,,c]=Vl(),l=S.useMemo(()=>{switch(i){case`large`:return`lg`;case`small`:return`sm`;default:return``}},[i]),u=J(s,{[`${s}-${l}`]:l,[`${s}-rtl`]:n===`rtl`},a,c);return S.createElement(jh.Provider,{value:i},S.createElement(`div`,{...o,className:u}))},Nh=/^[\u4E00-\u9FA5]{2}$/,Ph=Nh.test.bind(Nh);function Fh(e){return e===`danger`?{danger:!0}:{type:e}}function Ih(e){return e===`text`||e===`link`}function Lh(e,t,n,r){if(!$d(e)||e===``)return;let i=t?` `:``;return typeof e!=`string`&&typeof e!=`number`&&tf(e.type)&&Ph(e.props.children)?lm(e,e=>{let t=J(e.className,r)||void 0,a={...n,...e.style};return{...e,children:e.children.split(``).join(i),className:t,style:a}}):tf(e)?S.createElement(`span`,{className:r,style:n},Ph(e)?e.split(``).join(i):e):sm(e)?S.createElement(`span`,{className:r,style:n},e):lm(e,e=>({...e,className:J(e.className,r)||void 0,style:{...e.style,...n}}))}function Rh(e,t,n,r){let i=!1,a=[];return S.Children.forEach(e,e=>{let t=typeof e,n=t===`string`||t===`number`;if(i&&n){let t=a.length-1;a[t]=`${a[t]}${e}`}else a.push(e);i=n}),S.Children.map(a,e=>Lh(e,t,n,r))}[`default`,`primary`,`danger`].concat(pa(Sc));var zh=(0,S.forwardRef)((e,t)=>{let{className:n,style:r,children:i,prefixCls:a}=e,o=J(`${a}-icon`,n);return S.createElement(`span`,{ref:t,className:o,style:r},i)}),Bh=(0,S.forwardRef)((e,t)=>{let{prefixCls:n,className:r,style:i,iconClassName:a}=e,o=J(`${n}-loading-icon`,r);return S.createElement(zh,{prefixCls:n,className:o,style:i,ref:t},S.createElement(Zm,{className:a}))}),Vh=()=>({width:0,opacity:0,transform:`scale(0)`}),Hh=e=>({width:e.scrollWidth,opacity:1,transform:`scale(1)`}),Uh=e=>{let{prefixCls:t,loading:n,existIcon:r,className:i,style:a,mount:o}=e,s=!!n;return r?S.createElement(Bh,{prefixCls:t,className:i,style:a}):S.createElement(Od,{visible:s,motionName:`${t}-loading-icon-motion`,motionAppear:!o,motionEnter:!o,motionLeave:!o,removeOnLeave:!0,onAppearStart:Vh,onAppearActive:Hh,onEnterStart:Vh,onEnterActive:Hh,onLeaveStart:Hh,onLeaveActive:Vh},({className:e,style:n},r)=>{let o={...a,...n};return S.createElement(Bh,{prefixCls:t,className:J(i,e),style:o,ref:r})})},Wh=e=>{let{componentCls:t,antCls:n,motionDurationMid:r,motionEaseInOut:i}=e;return{[t]:{[`${n}-motion-collapse-legacy`]:{overflow:`hidden`,"&-active":{transition:`${[`height`,`opacity`].map(e=>`${e} ${r} ${i}`).join(`, `)} !important`}},[`${n}-motion-collapse`]:{overflow:`hidden`,transition:`${[`height`,`opacity`].map(e=>`${e} ${r} ${i}`).join(`, `)} !important`}}}},Gh=e=>({animationDuration:e,animationFillMode:`both`}),Kh=(e,t,n,r,i=!1)=>{let a=i?`&`:``;return{[` + `]:{animationPlayState:`running`},[`${t}-move-up-leave`]:{animationName:b,animationDuration:d,animationPlayState:`paused`,animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:`running`},"&-rtl":{direction:`rtl`,span:{direction:`rtl`}}}},{[t]:{[`${v}-wrapper`]:{...x}}},{[`${t}-notice-pure-panel`]:{...x,padding:0,textAlign:`start`}}]},Qm=Ql(`Message`,e=>Zm(dc(e,{height:150})),e=>({zIndexPopup:e.zIndexPopupBase+Nf+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`})),$m={info:S.createElement(Lu,null),success:S.createElement(Tu,null),error:S.createElement(Ou,null),warning:S.createElement(Pu,null),loading:S.createElement(Xm,null)},eh=e=>{let{prefixCls:t,type:n,icon:r,children:i,classNames:a,styles:o}=e,s=um(r||n&&$m[n],e=>{let t={...e?.style,...o?.icon};return{className:J(e.className,a?.icon),style:t}});return S.createElement(`div`,{className:J(`${t}-custom-content`,`${t}-${n}`)},s,S.createElement(`span`,{className:a?.content,style:o?.content},i))},th=e=>{let{prefixCls:t,className:n,style:r,type:i,icon:a,content:o,classNames:s,styles:c,...l}=e,{getPrefixCls:u,className:d,style:f,classNames:p,styles:m}=ya(`message`),h=t||u(`message`),g=sp(h),[_,v]=Qm(h,g),[y,b]=Cf([p,s],[m,c],{props:e});return S.createElement(Lm,{...l,prefixCls:h,className:J(d,y.root,n,_,`${h}-notice-pure-panel`,v,g),style:{...b.root,...f,...r},eventKey:`pure`,duration:null,content:S.createElement(eh,{prefixCls:h,type:i,icon:a,classNames:y,styles:b},o)})};function nh(e,t){return{motionName:t??`${e}-move-up`}}function rh(e){let t,n=new Promise(n=>{t=e(()=>{n(!0)})}),r=()=>{t?.()};return r.then=(e,t)=>n.then(e,t),r.promise=n,r}var ih=8,ah=3,oh=({children:e,prefixCls:t})=>{let n=sp(t),[r,i]=Qm(t,n);return S.createElement(zm,{classNames:{list:J(r,i,n)}},e)},sh=(e,{prefixCls:t,key:n})=>S.createElement(oh,{prefixCls:t,key:n},e),ch=S.forwardRef((e,t)=>{let{top:n,prefixCls:r,getContainer:i,maxCount:a,duration:o=ah,rtl:s,transitionName:c,onAllRemoved:l,pauseOnHover:u=!0}=e,{getPrefixCls:d,direction:f,getPopupContainer:p}=ya(`message`),{message:m}=S.useContext(ga),h=r||d(`message`),g=()=>({left:`50%`,transform:`translateX(-50%)`,top:n??ih}),_=()=>J({[`${h}-rtl`]:s??f===`rtl`}),v=()=>nh(h,c),[y,b]=Cf([e?.classNames,m?.classNames],[e?.styles,m?.styles],{props:e}),[x,C]=qm({prefixCls:h,style:g,className:_,motion:v,closable:!1,duration:o,getContainer:()=>i?.()||p?.()||document.body,maxCount:a,onAllRemoved:l,renderNotifications:sh,pauseOnHover:u});return S.useImperativeHandle(t,()=>({...x,prefixCls:h,message:m,classNames:y,styles:b})),C}),lh=0;function uh(e){let t=S.useRef(null);return Gi(`Message`),[S.useMemo(()=>{let n=e=>{t.current?.close(e)},r=r=>{if(!t.current){let e=()=>{};return e.then=()=>{},e}let{open:i,prefixCls:a,message:o,classNames:s,styles:c}=t.current,l=o?.className||{},u=o?.style||{},d=o?.classNames||{},f=o?.styles||{},p=`${a}-notice`,{content:m,icon:h,type:g,key:_,className:v,style:y,onClose:b,classNames:x={},styles:C={},...w}=r,T=_;$d(T)||(lh+=1,T=`antd-message-${lh}`);let E={...e,...r},D=Sf(d,{props:E}),O=Sf(x,{props:E}),k=Sf(f,{props:E}),A=Sf(C,{props:E}),j=_f(void 0,D,O,s),M=yf(k,A,c);return rh(e=>(i({...w,key:T,content:S.createElement(eh,{prefixCls:a,type:g,icon:h,classNames:j,styles:M},m),placement:`top`,className:J({[`${p}-${g}`]:g},v,l,j.root),style:{...M.root,...u,...y},onClose:()=>{b?.(),e()}}),()=>{n(T)}))},i={open:r,destroy:e=>{e===void 0?t.current?.destroy():n(e)}};return[`info`,`success`,`warning`,`error`,`loading`].forEach(e=>{i[e]=(t,n,i)=>{let a;a=nf(t)&&`content`in t?t:{content:t};let o,s;return typeof n==`function`?s=n:(o=n,s=i),r({onClose:s,duration:o,...a,type:e})}}),i},[]),S.createElement(ch,{key:`message-holder`,...e,ref:t})]}function dh(e){return uh(e)}var fh=()=>({height:0,opacity:0}),ph=e=>({height:e?.scrollHeight??0,opacity:+!!e}),mh=e=>({height:e?.offsetHeight??0}),hh=e=>nf(e)&&`propertyName`in e,gh=(e,t)=>t?.deadline===!0||(hh(t)?t.propertyName===`height`:!1),_h=(e=`ant`)=>({motionName:`${e}-motion-collapse`,onAppearStart:fh,onEnterStart:fh,onAppearActive:ph,onEnterActive:ph,onLeaveStart:mh,onLeaveActive:fh,onAppearEnd:gh,onEnterEnd:gh,onLeaveEnd:gh,motionDeadline:500}),vh=(e,t,n)=>n===void 0?`${e}-${t}`:n,yh=$l(`Wave`,e=>{let{componentCls:t,colorPrimary:n,motionDurationSlow:r,motionEaseInOut:i,motionEaseOutCirc:a,antCls:o}=e,[,s]=tu(o,`wave`);return{[t]:{position:`absolute`,background:`transparent`,pointerEvents:`none`,boxSizing:`border-box`,color:s(`color`,n),boxShadow:`0 0 0 0 currentcolor`,opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s`,`opacity 2s`].map(e=>`${e} ${a}`).join(`,`),"&-active":{boxShadow:`0 0 0 6px currentcolor`,opacity:0},"&.wave-quick":{transition:[`box-shadow`,`opacity`].map(e=>`${e} ${r} ${i}`).join(`,`)}}}}}),bh=`ant-wave-target`;function xh(e){return e&&typeof e==`string`&&e!==`#fff`&&e!==`#ffffff`&&e!==`rgb(255, 255, 255)`&&e!==`rgba(255, 255, 255, 1)`&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!==`transparent`&&e!==`canvastext`}function Sh(e,t=null){let n=getComputedStyle(e),{borderTopColor:r,borderColor:i,backgroundColor:a}=n;return t&&xh(n[t])?n[t]:[r,i,a].find(xh)??null}function Ch(e){return Number.isNaN(e)?0:e}var wh=e=>{let{className:t,target:n,component:r,colorSource:i}=e,a=S.useRef(null),{getPrefixCls:o}=S.useContext(ga),[s]=tu(o(),`wave`),[c,l]=S.useState(null),[u,d]=S.useState([]),[f,p]=S.useState(0),[m,h]=S.useState(0),[g,_]=S.useState(0),[v,y]=S.useState(0),[b,x]=S.useState(!1),C={left:f,top:m,width:g,height:v,borderRadius:u.map(e=>`${e}px`).join(` `)};c&&(C[s(`color`)]=c);function w(){let e=getComputedStyle(n);l(Sh(n,i));let t=e.position===`static`,{borderLeftWidth:r,borderTopWidth:a}=e;p(t?n.offsetLeft:Ch(-Number.parseFloat(r))),h(t?n.offsetTop:Ch(-Number.parseFloat(a))),_(n.offsetWidth),y(n.offsetHeight);let{borderTopLeftRadius:o,borderTopRightRadius:s,borderBottomLeftRadius:c,borderBottomRightRadius:u}=e;d([o,s,u,c].map(e=>Ch(Number.parseFloat(e))))}if(S.useEffect(()=>{if(n){let e=Oi(()=>{w(),x(!0)}),t;return typeof ResizeObserver<`u`&&(t=new ResizeObserver(w),t.observe(n)),()=>{Oi.cancel(e),t?.disconnect()}}},[n]),!b)return null;let T=(r===`Checkbox`||r===`Radio`)&&n?.classList.contains(bh);return S.createElement(Od,{visible:!0,motionAppear:!0,motionName:`wave-motion`,motionDeadline:5e3,onAppearEnd:(e,t)=>{if(t.deadline||t.propertyName===`opacity`){let e=a.current?.parentElement;Bi(e).then(()=>{e?.remove()})}return!1}},({className:e},n)=>S.createElement(`div`,{ref:cr(a,n),className:J(t,e,{"wave-quick":T}),style:C}))},Th=(e,t)=>{let{component:n}=t;if(n===`Checkbox`&&!e.querySelector(`input`)?.checked)return;let r=document.createElement(`div`);r.style.position=`absolute`,r.style.left=`0px`,r.style.top=`0px`,e?.insertBefore(r,e?.firstChild),zi(S.createElement(wh,{...t,target:e}),r)},Eh=(e,t,n,r)=>{let{wave:i}=S.useContext(ga),[,a,o]=Vl(),s=zn(s=>{let c=e.current;if(i?.disabled||!c)return;let l=c.querySelector(`.${bh}`)||c,{showEffect:u}=i||{};(u||Th)(l,{className:t,token:a,component:n,event:s,hashId:o,colorSource:r})}),c=S.useRef(null);return S.useEffect(()=>()=>{Oi.cancel(c.current)},[]),e=>{Oi.cancel(c.current),c.current=Oi(()=>{s(e)})}},Dh=e=>{let{children:t,disabled:n,component:r,colorSource:i}=e,{getPrefixCls:a}=(0,S.useContext)(ga),o=(0,S.useRef)(null),s=a(`wave`),c=Eh(o,J(s,yh(s)),r,i);return S.useEffect(()=>{let e=o.current;if(!e||e.nodeType!==window.Node.ELEMENT_NODE||n)return;let t=t=>{!Ar(t.target)||!e.getAttribute||e.getAttribute(`disabled`)||e.disabled||e.className.includes(`disabled`)&&!e.className.includes(`disabled:`)||e.getAttribute(`aria-disabled`)===`true`||e.className.includes(`-leave`)||c(t)};return e.addEventListener(`click`,t,!0),()=>{e.removeEventListener(`click`,t,!0)}},[n]),S.isValidElement(t)?um(t,{ref:ur(t)?cr(pr(t),o):o}):t??null},Oh=e=>{let t=S.useContext(_m);return S.useMemo(()=>e?typeof e==`string`?e??t:typeof e==`function`?e(t):t:t,[e,t])},ree=Ql([`Space`,`Compact`],e=>{let{componentCls:t}=e;return{[t]:{display:`inline-flex`,"&-block":{display:`flex`,width:`100%`},"&-vertical":{flexDirection:`column`},"&-rtl":{direction:`rtl`}}}},()=>({}),{resetStyle:!1}),kh=S.createContext(null),Ah=(e,t)=>{let n=S.useContext(kh),r=S.useMemo(()=>{if(!n)return``;let{compactDirection:r,isFirstItem:i,isLastItem:a}=n,o=r===`vertical`?`-vertical-`:`-`;return J(`${e}-compact${o}item`,{[`${e}-compact${o}first-item`]:i,[`${e}-compact${o}last-item`]:a,[`${e}-compact${o}item-rtl`]:t===`rtl`})},[e,t,n]);return{compactSize:n?.compactSize,compactDirection:n?.compactDirection,compactItemClassnames:r}},iee=e=>{let{children:t}=e;return S.createElement(kh.Provider,{value:null},t)},jh=e=>{let{children:t,...n}=e;return S.createElement(kh.Provider,{value:S.useMemo(()=>n,[n])},t)},Mh=e=>{let{getPrefixCls:t,direction:n}=S.useContext(ga),{size:r,direction:i,orientation:a,block:o,prefixCls:s,className:c,rootClassName:l,children:u,vertical:d,...f}=e,[p,m]=Ef(a,d,i),h=Oh(e=>r??e),g=t(`space-compact`,s),[_]=ree(g),v=J(g,_,{[`${g}-rtl`]:n===`rtl`,[`${g}-block`]:o,[`${g}-vertical`]:m},c,l),y=S.useContext(kh),b=ki(u),x=S.useMemo(()=>b.map((e,t)=>{let n=e?.key||`${g}-item-${t}`;return S.createElement(jh,{key:n,compactSize:h,compactDirection:p,isFirstItem:t===0&&(!y||y?.isFirstItem),isLastItem:t===b.length-1&&(!y||y?.isLastItem)},e)}),[b,y,p,h,g]);return b.length===0?null:S.createElement(`div`,{className:v,...f},x)},Nh=S.createContext(void 0),Ph=e=>{let{getPrefixCls:t,direction:n}=S.useContext(ga),{prefixCls:r,size:i,className:a,...o}=e,s=t(`btn-group`,r),[,,c]=Vl(),l=S.useMemo(()=>{switch(i){case`large`:return`lg`;case`small`:return`sm`;default:return``}},[i]),u=J(s,{[`${s}-${l}`]:l,[`${s}-rtl`]:n===`rtl`},a,c);return S.createElement(Nh.Provider,{value:i},S.createElement(`div`,{...o,className:u}))},Fh=/^[\u4E00-\u9FA5]{2}$/,Ih=Fh.test.bind(Fh);function Lh(e){return e===`danger`?{danger:!0}:{type:e}}function Rh(e){return e===`text`||e===`link`}function zh(e,t,n,r){if(!$d(e)||e===``)return;let i=t?` `:``;return typeof e!=`string`&&typeof e!=`number`&&tf(e.type)&&Ih(e.props.children)?um(e,e=>{let t=J(e.className,r)||void 0,a={...n,...e.style};return{...e,children:e.children.split(``).join(i),className:t,style:a}}):tf(e)?S.createElement(`span`,{className:r,style:n},Ih(e)?e.split(``).join(i):e):cm(e)?S.createElement(`span`,{className:r,style:n},e):um(e,e=>({...e,className:J(e.className,r)||void 0,style:{...e.style,...n}}))}function Bh(e,t,n,r){let i=!1,a=[];return S.Children.forEach(e,e=>{let t=typeof e,n=t===`string`||t===`number`;if(i&&n){let t=a.length-1;a[t]=`${a[t]}${e}`}else a.push(e);i=n}),S.Children.map(a,e=>zh(e,t,n,r))}[`default`,`primary`,`danger`].concat(pa(Sc));var Vh=(0,S.forwardRef)((e,t)=>{let{className:n,style:r,children:i,prefixCls:a}=e,o=J(`${a}-icon`,n);return S.createElement(`span`,{ref:t,className:o,style:r},i)}),Hh=(0,S.forwardRef)((e,t)=>{let{prefixCls:n,className:r,style:i,iconClassName:a}=e,o=J(`${n}-loading-icon`,r);return S.createElement(Vh,{prefixCls:n,className:o,style:i,ref:t},S.createElement(Xm,{className:a}))}),Uh=()=>({width:0,opacity:0,transform:`scale(0)`}),Wh=e=>({width:e.scrollWidth,opacity:1,transform:`scale(1)`}),Gh=e=>{let{prefixCls:t,loading:n,existIcon:r,className:i,style:a,mount:o}=e,s=!!n;return r?S.createElement(Hh,{prefixCls:t,className:i,style:a}):S.createElement(Od,{visible:s,motionName:`${t}-loading-icon-motion`,motionAppear:!o,motionEnter:!o,motionLeave:!o,removeOnLeave:!0,onAppearStart:Uh,onAppearActive:Wh,onEnterStart:Uh,onEnterActive:Wh,onLeaveStart:Wh,onLeaveActive:Uh},({className:e,style:n},r)=>{let o={...a,...n};return S.createElement(Hh,{prefixCls:t,className:J(i,e),style:o,ref:r})})},Kh=e=>{let{componentCls:t,antCls:n,motionDurationMid:r,motionEaseInOut:i}=e;return{[t]:{[`${n}-motion-collapse-legacy`]:{overflow:`hidden`,"&-active":{transition:`${[`height`,`opacity`].map(e=>`${e} ${r} ${i}`).join(`, `)} !important`}},[`${n}-motion-collapse`]:{overflow:`hidden`,transition:`${[`height`,`opacity`].map(e=>`${e} ${r} ${i}`).join(`, `)} !important`}}}},qh=e=>({animationDuration:e,animationFillMode:`both`}),Jh=(e,t,n,r,i=!1)=>{let a=i?`&`:``;return{[` ${a}${e}-enter, ${a}${e}-appear - `]:{...Gh(r),animationPlayState:`paused`},[`${a}${e}-leave`]:{...Gh(r),animationPlayState:`paused`},[` + `]:{...qh(r),animationPlayState:`paused`},[`${a}${e}-leave`]:{...qh(r),animationPlayState:`paused`},[` ${a}${e}-enter${e}-enter-active, ${a}${e}-appear${e}-appear-active - `]:{animationName:t,animationPlayState:`running`},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:`running`,pointerEvents:`none`}}},qh=new Ms(`antFadeIn`,{"0%":{opacity:0},"100%":{opacity:1}}),Jh=new Ms(`antFadeOut`,{"0%":{opacity:1},"100%":{opacity:0}}),Yh=(e,t=!1)=>{let{antCls:n}=e,r=`${n}-fade`,i=t?`&`:``;return[Kh(r,qh,Jh,e.motionDurationMid,t),{[` + `]:{animationName:t,animationPlayState:`running`},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:`running`,pointerEvents:`none`}}},Yh=new Ms(`antFadeIn`,{"0%":{opacity:0},"100%":{opacity:1}}),Xh=new Ms(`antFadeOut`,{"0%":{opacity:1},"100%":{opacity:0}}),Zh=(e,t=!1)=>{let{antCls:n}=e,r=`${n}-fade`,i=t?`&`:``;return[Jh(r,Yh,Xh,e.motionDurationMid,t),{[` ${i}${r}-enter, ${i}${r}-appear - `]:{opacity:0,animationTimingFunction:`linear`},[`${i}${r}-leave`]:{animationTimingFunction:`linear`}}]},Xh=new Ms(`antMoveDownIn`,{"0%":{transform:`translate3d(0, 100%, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),Zh=new Ms(`antMoveDownOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(0, 100%, 0)`,transformOrigin:`0 0`,opacity:0}}),Qh=new Ms(`antMoveLeftIn`,{"0%":{transform:`translate3d(-100%, 0, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),$h=new Ms(`antMoveLeftOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(-100%, 0, 0)`,transformOrigin:`0 0`,opacity:0}}),eg=new Ms(`antMoveRightIn`,{"0%":{transform:`translate3d(100%, 0, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),tg=new Ms(`antMoveRightOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(100%, 0, 0)`,transformOrigin:`0 0`,opacity:0}}),ng={"move-up":{inKeyframes:new Ms(`antMoveUpIn`,{"0%":{transform:`translate3d(0, -100%, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),outKeyframes:new Ms(`antMoveUpOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(0, -100%, 0)`,transformOrigin:`0 0`,opacity:0}})},"move-down":{inKeyframes:Xh,outKeyframes:Zh},"move-left":{inKeyframes:Qh,outKeyframes:$h},"move-right":{inKeyframes:eg,outKeyframes:tg}},rg=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=ng[t];return[Kh(r,i,a,e.motionDurationMid),{[` + `]:{opacity:0,animationTimingFunction:`linear`},[`${i}${r}-leave`]:{animationTimingFunction:`linear`}}]},Qh=new Ms(`antMoveDownIn`,{"0%":{transform:`translate3d(0, 100%, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),$h=new Ms(`antMoveDownOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(0, 100%, 0)`,transformOrigin:`0 0`,opacity:0}}),eg=new Ms(`antMoveLeftIn`,{"0%":{transform:`translate3d(-100%, 0, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),tg=new Ms(`antMoveLeftOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(-100%, 0, 0)`,transformOrigin:`0 0`,opacity:0}}),ng=new Ms(`antMoveRightIn`,{"0%":{transform:`translate3d(100%, 0, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),rg=new Ms(`antMoveRightOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(100%, 0, 0)`,transformOrigin:`0 0`,opacity:0}}),ig={"move-up":{inKeyframes:new Ms(`antMoveUpIn`,{"0%":{transform:`translate3d(0, -100%, 0)`,transformOrigin:`0 0`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1}}),outKeyframes:new Ms(`antMoveUpOut`,{"0%":{transform:`translate3d(0, 0, 0)`,transformOrigin:`0 0`,opacity:1},"100%":{transform:`translate3d(0, -100%, 0)`,transformOrigin:`0 0`,opacity:0}})},"move-down":{inKeyframes:Qh,outKeyframes:$h},"move-left":{inKeyframes:eg,outKeyframes:tg},"move-right":{inKeyframes:ng,outKeyframes:rg}},ag=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=ig[t];return[Jh(r,i,a,e.motionDurationMid),{[` ${r}-enter, ${r}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},ig=new Ms(`antSlideUpIn`,{"0%":{transform:`scaleY(0.8)`,transformOrigin:`0% 0%`,opacity:0},"100%":{transform:`scaleY(1)`,transformOrigin:`0% 0%`,opacity:1}}),ag=new Ms(`antSlideUpOut`,{"0%":{transform:`scaleY(1)`,transformOrigin:`0% 0%`,opacity:1},"100%":{transform:`scaleY(0.8)`,transformOrigin:`0% 0%`,opacity:0}}),og=new Ms(`antSlideDownIn`,{"0%":{transform:`scaleY(0.8)`,transformOrigin:`100% 100%`,opacity:0},"100%":{transform:`scaleY(1)`,transformOrigin:`100% 100%`,opacity:1}}),sg=new Ms(`antSlideDownOut`,{"0%":{transform:`scaleY(1)`,transformOrigin:`100% 100%`,opacity:1},"100%":{transform:`scaleY(0.8)`,transformOrigin:`100% 100%`,opacity:0}}),cg=new Ms(`antSlideLeftIn`,{"0%":{transform:`scaleX(0.8)`,transformOrigin:`0% 0%`,opacity:0},"100%":{transform:`scaleX(1)`,transformOrigin:`0% 0%`,opacity:1}}),lg=new Ms(`antSlideLeftOut`,{"0%":{transform:`scaleX(1)`,transformOrigin:`0% 0%`,opacity:1},"100%":{transform:`scaleX(0.8)`,transformOrigin:`0% 0%`,opacity:0}}),ug=new Ms(`antSlideRightIn`,{"0%":{transform:`scaleX(0.8)`,transformOrigin:`100% 0%`,opacity:0},"100%":{transform:`scaleX(1)`,transformOrigin:`100% 0%`,opacity:1}}),dg=new Ms(`antSlideRightOut`,{"0%":{transform:`scaleX(1)`,transformOrigin:`100% 0%`,opacity:1},"100%":{transform:`scaleX(0.8)`,transformOrigin:`100% 0%`,opacity:0}}),fg={"slide-up":{inKeyframes:ig,outKeyframes:ag},"slide-down":{inKeyframes:og,outKeyframes:sg},"slide-left":{inKeyframes:cg,outKeyframes:lg},"slide-right":{inKeyframes:ug,outKeyframes:dg}},pg=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=fg[t];return[Kh(r,i,a,e.motionDurationMid),{[` + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},og=new Ms(`antSlideUpIn`,{"0%":{transform:`scaleY(0.8)`,transformOrigin:`0% 0%`,opacity:0},"100%":{transform:`scaleY(1)`,transformOrigin:`0% 0%`,opacity:1}}),sg=new Ms(`antSlideUpOut`,{"0%":{transform:`scaleY(1)`,transformOrigin:`0% 0%`,opacity:1},"100%":{transform:`scaleY(0.8)`,transformOrigin:`0% 0%`,opacity:0}}),cg=new Ms(`antSlideDownIn`,{"0%":{transform:`scaleY(0.8)`,transformOrigin:`100% 100%`,opacity:0},"100%":{transform:`scaleY(1)`,transformOrigin:`100% 100%`,opacity:1}}),lg=new Ms(`antSlideDownOut`,{"0%":{transform:`scaleY(1)`,transformOrigin:`100% 100%`,opacity:1},"100%":{transform:`scaleY(0.8)`,transformOrigin:`100% 100%`,opacity:0}}),ug=new Ms(`antSlideLeftIn`,{"0%":{transform:`scaleX(0.8)`,transformOrigin:`0% 0%`,opacity:0},"100%":{transform:`scaleX(1)`,transformOrigin:`0% 0%`,opacity:1}}),dg=new Ms(`antSlideLeftOut`,{"0%":{transform:`scaleX(1)`,transformOrigin:`0% 0%`,opacity:1},"100%":{transform:`scaleX(0.8)`,transformOrigin:`0% 0%`,opacity:0}}),fg=new Ms(`antSlideRightIn`,{"0%":{transform:`scaleX(0.8)`,transformOrigin:`100% 0%`,opacity:0},"100%":{transform:`scaleX(1)`,transformOrigin:`100% 0%`,opacity:1}}),pg=new Ms(`antSlideRightOut`,{"0%":{transform:`scaleX(1)`,transformOrigin:`100% 0%`,opacity:1},"100%":{transform:`scaleX(0.8)`,transformOrigin:`100% 0%`,opacity:0}}),mg={"slide-up":{inKeyframes:og,outKeyframes:sg},"slide-down":{inKeyframes:cg,outKeyframes:lg},"slide-left":{inKeyframes:ug,outKeyframes:dg},"slide-right":{inKeyframes:fg,outKeyframes:pg}},hg=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=mg[t];return[Jh(r,i,a,e.motionDurationMid),{[` ${r}-enter, ${r}-appear - `]:{transform:`scale(0)`,transformOrigin:`0% 0%`,opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:`scale(1)`}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},mg=()=>({"@media (prefers-reduced-motion: reduce)":{transition:`none`,animation:`none`}}),hg=new Ms(`antZoomIn`,{"0%":{transform:`scale(0.2)`,opacity:0},"100%":{transform:`scale(1)`,opacity:1}}),gg=new Ms(`antZoomOut`,{"0%":{transform:`scale(1)`},"100%":{transform:`scale(0.2)`,opacity:0}}),_g=new Ms(`antZoomBigIn`,{"0%":{transform:`scale(0.8)`,opacity:0},"100%":{transform:`scale(1)`,opacity:1}}),vg=new Ms(`antZoomBigOut`,{"0%":{transform:`scale(1)`},"100%":{transform:`scale(0.8)`,opacity:0}}),yg=new Ms(`antZoomUpIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`50% 0%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`50% 0%`}}),bg=new Ms(`antZoomUpOut`,{"0%":{transform:`scale(1)`,transformOrigin:`50% 0%`},"100%":{transform:`scale(0.8)`,transformOrigin:`50% 0%`,opacity:0}}),xg=new Ms(`antZoomLeftIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`0% 50%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`0% 50%`}}),Sg=new Ms(`antZoomLeftOut`,{"0%":{transform:`scale(1)`,transformOrigin:`0% 50%`},"100%":{transform:`scale(0.8)`,transformOrigin:`0% 50%`,opacity:0}}),Cg=new Ms(`antZoomRightIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`100% 50%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`100% 50%`}}),wg=new Ms(`antZoomRightOut`,{"0%":{transform:`scale(1)`,transformOrigin:`100% 50%`},"100%":{transform:`scale(0.8)`,transformOrigin:`100% 50%`,opacity:0}}),Tg=new Ms(`antZoomDownIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`50% 100%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`50% 100%`}}),Eg=new Ms(`antZoomDownOut`,{"0%":{transform:`scale(1)`,transformOrigin:`50% 100%`},"100%":{transform:`scale(0.8)`,transformOrigin:`50% 100%`,opacity:0}}),Dg={zoom:{inKeyframes:hg,outKeyframes:gg},"zoom-big":{inKeyframes:_g,outKeyframes:vg},"zoom-big-fast":{inKeyframes:_g,outKeyframes:vg},"zoom-left":{inKeyframes:xg,outKeyframes:Sg},"zoom-right":{inKeyframes:Cg,outKeyframes:wg},"zoom-up":{inKeyframes:yg,outKeyframes:bg},"zoom-down":{inKeyframes:Tg,outKeyframes:Eg}},Og=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=Dg[t];return[Kh(r,i,a,t===`zoom-big-fast`?e.motionDurationFast:e.motionDurationMid),{[` + `]:{transform:`scale(0)`,transformOrigin:`0% 0%`,opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:`scale(1)`}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},gg=()=>({"@media (prefers-reduced-motion: reduce)":{transition:`none`,animation:`none`}}),_g=new Ms(`antZoomIn`,{"0%":{transform:`scale(0.2)`,opacity:0},"100%":{transform:`scale(1)`,opacity:1}}),vg=new Ms(`antZoomOut`,{"0%":{transform:`scale(1)`},"100%":{transform:`scale(0.2)`,opacity:0}}),yg=new Ms(`antZoomBigIn`,{"0%":{transform:`scale(0.8)`,opacity:0},"100%":{transform:`scale(1)`,opacity:1}}),bg=new Ms(`antZoomBigOut`,{"0%":{transform:`scale(1)`},"100%":{transform:`scale(0.8)`,opacity:0}}),xg=new Ms(`antZoomUpIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`50% 0%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`50% 0%`}}),Sg=new Ms(`antZoomUpOut`,{"0%":{transform:`scale(1)`,transformOrigin:`50% 0%`},"100%":{transform:`scale(0.8)`,transformOrigin:`50% 0%`,opacity:0}}),Cg=new Ms(`antZoomLeftIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`0% 50%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`0% 50%`}}),wg=new Ms(`antZoomLeftOut`,{"0%":{transform:`scale(1)`,transformOrigin:`0% 50%`},"100%":{transform:`scale(0.8)`,transformOrigin:`0% 50%`,opacity:0}}),Tg=new Ms(`antZoomRightIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`100% 50%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`100% 50%`}}),Eg=new Ms(`antZoomRightOut`,{"0%":{transform:`scale(1)`,transformOrigin:`100% 50%`},"100%":{transform:`scale(0.8)`,transformOrigin:`100% 50%`,opacity:0}}),Dg=new Ms(`antZoomDownIn`,{"0%":{transform:`scale(0.8)`,transformOrigin:`50% 100%`,opacity:0},"100%":{transform:`scale(1)`,transformOrigin:`50% 100%`}}),Og=new Ms(`antZoomDownOut`,{"0%":{transform:`scale(1)`,transformOrigin:`50% 100%`},"100%":{transform:`scale(0.8)`,transformOrigin:`50% 100%`,opacity:0}}),kg={zoom:{inKeyframes:_g,outKeyframes:vg},"zoom-big":{inKeyframes:yg,outKeyframes:bg},"zoom-big-fast":{inKeyframes:yg,outKeyframes:bg},"zoom-left":{inKeyframes:Cg,outKeyframes:wg},"zoom-right":{inKeyframes:Tg,outKeyframes:Eg},"zoom-up":{inKeyframes:xg,outKeyframes:Sg},"zoom-down":{inKeyframes:Dg,outKeyframes:Og}},Ag=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=kg[t];return[Jh(r,i,a,t===`zoom-big-fast`?e.motionDurationFast:e.motionDurationMid),{[` ${r}-enter, ${r}-appear - `]:{transform:`scale(0)`,opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:`none`}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},kg=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Ag=e=>{let{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:i,colorErrorHover:a}=e;return{[`${t}-group`]:[{position:`relative`,display:`inline-flex`,[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:`relative`,zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},kg(`${t}-primary`,i),kg(`${t}-danger`,a)]}},jg=e=>Math.round(Number(e||0)),Mg=e=>{if(e instanceof Nc)return e;if(e&&typeof e==`object`&&`h`in e&&`b`in e){let{b:t,...n}=e;return{...n,v:t}}return typeof e==`string`&&/hsb/.test(e)?e.replace(/hsb/,`hsv`):e},Ng=class extends Nc{constructor(e){super(Mg(e))}toHsbString(){let e=this.toHsb(),t=jg(e.s*100),n=jg(e.b*100),r=jg(e.h),i=e.a,a=`hsb(${r}, ${t}%, ${n}%)`,o=`hsba(${r}, ${t}%, ${n}%, ${i.toFixed(i===0?0:2)})`;return i===1?a:o}toHsb(){let{v:e,...t}=this.toHsv();return{...t,b:e,a:this.a}}};(e=>e instanceof Ng?e:new Ng(e))(`#1677ff`);var Pg=(e,t)=>e?.replace(/[^0-9a-f]/gi,``).slice(0,t?8:6)||``,Fg=(e,t)=>e?Pg(e,t):``,Ig=function(){function e(t){if(Ws(this,e),this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=t.colors?.map(t=>({color:new e(t.color),percent:t.percent})),this.cleared=t.cleared;return}let n=Array.isArray(t);n&&t.length?(this.colors=t.map(({color:t,percent:n})=>({color:new e(t),percent:n})),this.metaColor=new Ng(this.colors[0].color.metaColor)):this.metaColor=new Ng(n?``:t),(!t||n&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return Ks(e,[{key:`toHsb`,value:function(){return this.metaColor.toHsb()}},{key:`toHsbString`,value:function(){return this.metaColor.toHsbString()}},{key:`toHex`,value:function(){return Fg(this.toHexString(),this.metaColor.a<1)}},{key:`toHexString`,value:function(){return this.metaColor.toHexString()}},{key:`toRgb`,value:function(){return this.metaColor.toRgb()}},{key:`toRgbString`,value:function(){return this.metaColor.toRgbString()}},{key:`isGradient`,value:function(){return!!this.colors&&!this.cleared}},{key:`getColors`,value:function(){return this.colors||[{color:this,percent:0}]}},{key:`toCssString`,value:function(){let{colors:e}=this;return e?`linear-gradient(90deg, ${e.map(e=>`${e.color.toRgbString()} ${e.percent}%`).join(`, `)})`:this.metaColor.toRgbString()}},{key:`equals`,value:function(e){return!e||this.isGradient()!==e.isGradient()?!1:this.isGradient()?this.colors.length===e.colors.length&&this.colors.every((t,n)=>{let r=e.colors[n];return t.percent===r.percent&&t.color.equals(r.color)}):this.toHexString()===e.toHexString()}}])}(),Lg=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={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.96 31.96 0 000-50.4z`}}]},name:`right`,theme:`outlined`}}))());function Rg(){return Rg=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Rg({},e,{ref:t,icon:Lg.default})));function Bg(){return Bg=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,forceRender:r,className:i,style:a,children:o,isActive:s,role:c,classNames:l,styles:u}=e,[d,f]=S.useState(s||r);return S.useEffect(()=>{(r||s)&&f(!0)},[r,s]),d?S.createElement(`div`,{ref:t,className:J(`${n}-panel`,{[`${n}-panel-active`]:s,[`${n}-panel-inactive`]:!s},i),style:a,role:c},S.createElement(`div`,{className:J(`${n}-body`,l?.body),style:u?.body},o)):null}),Hg=S.forwardRef((e,t)=>{let{showArrow:n=!0,headerClass:r,isActive:i,onItemClick:a,forceRender:o,className:s,classNames:c={},styles:l={},prefixCls:u,collapsible:d,accordion:f,panelKey:p,extra:m,header:h,expandIcon:g,openMotion:_,destroyOnHidden:v,children:y,...b}=e,x=d===`disabled`,C=m!=null&&typeof m!=`boolean`,w={onClick:()=>{a?.(p)},onKeyDown:e=>{(e.key===`Enter`||e.keyCode===Qr.ENTER||e.which===Qr.ENTER)&&a?.(p)},role:f?`tab`:`button`,"aria-expanded":i,"aria-disabled":x,tabIndex:x?-1:0},T=typeof g==`function`?g(e):S.createElement(`i`,{className:`arrow`}),E=T&&S.createElement(`div`,Bg({className:J(`${u}-expand-icon`,c?.icon),style:l?.icon},[`header`,`icon`].includes(d)?w:{}),T),D=J(`${u}-item`,{[`${u}-item-active`]:i,[`${u}-item-disabled`]:x},s),O={className:J(r,`${u}-header`,{[`${u}-collapsible-${d}`]:!!d},c?.header),style:l?.header,...[`header`,`icon`].includes(d)?{}:w};return S.createElement(`div`,Bg({},b,{ref:t,className:D}),S.createElement(`div`,O,n&&E,S.createElement(`span`,Bg({className:J(`${u}-title`,c?.title),style:l?.title},d===`header`?w:{}),h),C&&S.createElement(`div`,{className:`${u}-extra`},m)),S.createElement(Od,Bg({visible:i,leavedClassName:`${u}-panel-hidden`},_,{forceRender:o,removeOnLeave:v}),({className:e,style:t},n)=>S.createElement(Vg,{ref:n,prefixCls:u,className:e,classNames:c,style:t,styles:l,isActive:i,forceRender:o,role:f?`tabpanel`:void 0},y)))});function Ug(e,t,n){if(!e||!t)return e||t;let r=Array.from(new Set([...Object.keys(e),...Object.keys(t)])),i={};return r.forEach(r=>{i[r]=n(e[r],t[r])}),i}function Wg(e,t){return Ug(e,t,(e,t)=>J(e,t))}function Gg(e,t){return Ug(e,t,(e,t)=>({...e,...t}))}var Kg=(e,t)=>{let{prefixCls:n,accordion:r,collapsible:i,destroyOnHidden:a,onItemClick:o,activeKey:s,openMotion:c,expandIcon:l,classNames:u,styles:d}=t;return e.map((e,t)=>{let{children:f,label:p,key:m,collapsible:h,onItemClick:g,destroyOnHidden:_,classNames:v,styles:y,...b}=e,x=String(m??t),C=h??i,w=_??a,T=e=>{C!==`disabled`&&(o(e),g?.(e))},E=!1;return E=r?s[0]===x:s.indexOf(x)>-1,S.createElement(Hg,Bg({},b,{classNames:Wg(u,v),styles:Gg(d,y),prefixCls:n,key:x,panelKey:x,isActive:E,accordion:r,openMotion:c,expandIcon:l,header:p,collapsible:C,onItemClick:T,destroyOnHidden:w}),f)})},qg=(e,t,n)=>{if(!e)return null;let{prefixCls:r,accordion:i,collapsible:a,destroyOnHidden:o,onItemClick:s,activeKey:c,openMotion:l,expandIcon:u,classNames:d,styles:f}=n,p=e.key||String(t),{header:m,headerClass:h,destroyOnHidden:g,collapsible:_,onItemClick:v}=e.props,y=!1;y=i?c[0]===p:c.indexOf(p)>-1;let b=_??a,x={key:p,panelKey:p,header:m,headerClass:h,classNames:d,styles:f,isActive:y,prefixCls:r,destroyOnHidden:g??o,openMotion:l,accordion:i,children:e.props.children,onItemClick:e=>{b!==`disabled`&&(s(e),v?.(e))},expandIcon:u,collapsible:b};return typeof e.type==`string`?e:(Object.keys(x).forEach(e=>{x[e]===void 0&&delete x[e]}),S.cloneElement(e,x))};function Jg(e,t,n){return Array.isArray(e)?Kg(e,n):ki(t).map((e,t)=>qg(e,t,n))}function Yg(e){let t=e;if(!Array.isArray(t)){let e=typeof t;t=e===`number`||e===`string`?[t]:[]}return t.map(e=>String(e))}var Xg=Object.assign(S.forwardRef((e,t)=>{let{prefixCls:n=`rc-collapse`,destroyOnHidden:r=!1,style:i,accordion:a,className:o,children:s,collapsible:c,openMotion:l,expandIcon:u,activeKey:d,defaultActiveKey:f,onChange:p,items:m,classNames:h,styles:g}=e,_=J(n,o),[v,y]=Gn(f,d),b=Yg(v),x=zn(e=>{let t=Yg(e);y(t),p?.(t)}),C=e=>{x(a?b[0]===e?[]:[e]:b.includes(e)?b.filter(t=>t!==e):[...b,e])};ui(!s,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");let w=Jg(m,s,{prefixCls:n,accordion:a,openMotion:l,expandIcon:u,collapsible:c,destroyOnHidden:r,onItemClick:C,activeKey:b,classNames:h,styles:g});return S.createElement(`div`,Bg({ref:t,className:_,style:i,role:a?`tablist`:void 0},xi(e,{aria:!0,data:!0})),w)}),{Panel:Hg}),Zg=Xg,{Panel:see}=Xg,Qg=S.forwardRef((e,t)=>{let{getPrefixCls:n}=S.useContext(ga),{prefixCls:r,className:i,showArrow:a=!0}=e,o=n(`collapse`,r),s=J({[`${o}-no-arrow`]:!a},i);return S.createElement(Zg.Panel,{ref:t,...e,prefixCls:o,className:s})}),$g=e=>{let{componentCls:t,contentBg:n,padding:r,headerBg:i,headerPadding:a,collapseHeaderPaddingSM:o,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:l,lineType:u,colorBorder:d,colorText:f,colorTextHeading:p,colorTextDisabled:m,fontSizeLG:h,lineHeight:g,lineHeightLG:_,marginSM:v,paddingSM:y,paddingLG:b,paddingXS:x,motionDurationSlow:S,fontSizeIcon:C,contentPadding:w,fontHeight:T,fontHeightLG:E}=e,D=`${Y(l)} ${u} ${d}`;return{[t]:{...Ul(e),backgroundColor:i,border:D,borderRadius:c,"&-rtl":{direction:`rtl`},[`& > ${t}-item`]:{borderBottom:D,"&:first-child":{[` + `]:{transform:`scale(0)`,opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:`none`}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},jg=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Mg=e=>{let{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:i,colorErrorHover:a}=e;return{[`${t}-group`]:[{position:`relative`,display:`inline-flex`,[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:`relative`,zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},jg(`${t}-primary`,i),jg(`${t}-danger`,a)]}},Ng=e=>Math.round(Number(e||0)),Pg=e=>{if(e instanceof Nc)return e;if(e&&typeof e==`object`&&`h`in e&&`b`in e){let{b:t,...n}=e;return{...n,v:t}}return typeof e==`string`&&/hsb/.test(e)?e.replace(/hsb/,`hsv`):e},Fg=class extends Nc{constructor(e){super(Pg(e))}toHsbString(){let e=this.toHsb(),t=Ng(e.s*100),n=Ng(e.b*100),r=Ng(e.h),i=e.a,a=`hsb(${r}, ${t}%, ${n}%)`,o=`hsba(${r}, ${t}%, ${n}%, ${i.toFixed(i===0?0:2)})`;return i===1?a:o}toHsb(){let{v:e,...t}=this.toHsv();return{...t,b:e,a:this.a}}};(e=>e instanceof Fg?e:new Fg(e))(`#1677ff`);var Ig=(e,t)=>e?.replace(/[^0-9a-f]/gi,``).slice(0,t?8:6)||``,Lg=(e,t)=>e?Ig(e,t):``,Rg=function(){function e(t){if(Ws(this,e),this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=t.colors?.map(t=>({color:new e(t.color),percent:t.percent})),this.cleared=t.cleared;return}let n=Array.isArray(t);n&&t.length?(this.colors=t.map(({color:t,percent:n})=>({color:new e(t),percent:n})),this.metaColor=new Fg(this.colors[0].color.metaColor)):this.metaColor=new Fg(n?``:t),(!t||n&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return Ks(e,[{key:`toHsb`,value:function(){return this.metaColor.toHsb()}},{key:`toHsbString`,value:function(){return this.metaColor.toHsbString()}},{key:`toHex`,value:function(){return Lg(this.toHexString(),this.metaColor.a<1)}},{key:`toHexString`,value:function(){return this.metaColor.toHexString()}},{key:`toRgb`,value:function(){return this.metaColor.toRgb()}},{key:`toRgbString`,value:function(){return this.metaColor.toRgbString()}},{key:`isGradient`,value:function(){return!!this.colors&&!this.cleared}},{key:`getColors`,value:function(){return this.colors||[{color:this,percent:0}]}},{key:`toCssString`,value:function(){let{colors:e}=this;return e?`linear-gradient(90deg, ${e.map(e=>`${e.color.toRgbString()} ${e.percent}%`).join(`, `)})`:this.metaColor.toRgbString()}},{key:`equals`,value:function(e){return!e||this.isGradient()!==e.isGradient()?!1:this.isGradient()?this.colors.length===e.colors.length&&this.colors.every((t,n)=>{let r=e.colors[n];return t.percent===r.percent&&t.color.equals(r.color)}):this.toHexString()===e.toHexString()}}])}(),zg=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={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.96 31.96 0 000-50.4z`}}]},name:`right`,theme:`outlined`}}))());function Bg(){return Bg=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Bg({},e,{ref:t,icon:zg.default})));function Hg(){return Hg=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,forceRender:r,className:i,style:a,children:o,isActive:s,role:c,classNames:l,styles:u}=e,[d,f]=S.useState(s||r);return S.useEffect(()=>{(r||s)&&f(!0)},[r,s]),d?S.createElement(`div`,{ref:t,className:J(`${n}-panel`,{[`${n}-panel-active`]:s,[`${n}-panel-inactive`]:!s},i),style:a,role:c},S.createElement(`div`,{className:J(`${n}-body`,l?.body),style:u?.body},o)):null}),Wg=S.forwardRef((e,t)=>{let{showArrow:n=!0,headerClass:r,isActive:i,onItemClick:a,forceRender:o,className:s,classNames:c={},styles:l={},prefixCls:u,collapsible:d,accordion:f,panelKey:p,extra:m,header:h,expandIcon:g,openMotion:_,destroyOnHidden:v,children:y,...b}=e,x=d===`disabled`,C=m!=null&&typeof m!=`boolean`,w={onClick:()=>{a?.(p)},onKeyDown:e=>{(e.key===`Enter`||e.keyCode===Qr.ENTER||e.which===Qr.ENTER)&&a?.(p)},role:f?`tab`:`button`,"aria-expanded":i,"aria-disabled":x,tabIndex:x?-1:0},T=typeof g==`function`?g(e):S.createElement(`i`,{className:`arrow`}),E=T&&S.createElement(`div`,Hg({className:J(`${u}-expand-icon`,c?.icon),style:l?.icon},[`header`,`icon`].includes(d)?w:{}),T),D=J(`${u}-item`,{[`${u}-item-active`]:i,[`${u}-item-disabled`]:x},s),O={className:J(r,`${u}-header`,{[`${u}-collapsible-${d}`]:!!d},c?.header),style:l?.header,...[`header`,`icon`].includes(d)?{}:w};return S.createElement(`div`,Hg({},b,{ref:t,className:D}),S.createElement(`div`,O,n&&E,S.createElement(`span`,Hg({className:J(`${u}-title`,c?.title),style:l?.title},d===`header`?w:{}),h),C&&S.createElement(`div`,{className:`${u}-extra`},m)),S.createElement(Od,Hg({visible:i,leavedClassName:`${u}-panel-hidden`},_,{forceRender:o,removeOnLeave:v}),({className:e,style:t},n)=>S.createElement(Ug,{ref:n,prefixCls:u,className:e,classNames:c,style:t,styles:l,isActive:i,forceRender:o,role:f?`tabpanel`:void 0},y)))});function Gg(e,t,n){if(!e||!t)return e||t;let r=Array.from(new Set([...Object.keys(e),...Object.keys(t)])),i={};return r.forEach(r=>{i[r]=n(e[r],t[r])}),i}function Kg(e,t){return Gg(e,t,(e,t)=>J(e,t))}function qg(e,t){return Gg(e,t,(e,t)=>({...e,...t}))}var Jg=(e,t)=>{let{prefixCls:n,accordion:r,collapsible:i,destroyOnHidden:a,onItemClick:o,activeKey:s,openMotion:c,expandIcon:l,classNames:u,styles:d}=t;return e.map((e,t)=>{let{children:f,label:p,key:m,collapsible:h,onItemClick:g,destroyOnHidden:_,classNames:v,styles:y,...b}=e,x=String(m??t),C=h??i,w=_??a,T=e=>{C!==`disabled`&&(o(e),g?.(e))},E=!1;return E=r?s[0]===x:s.indexOf(x)>-1,S.createElement(Wg,Hg({},b,{classNames:Kg(u,v),styles:qg(d,y),prefixCls:n,key:x,panelKey:x,isActive:E,accordion:r,openMotion:c,expandIcon:l,header:p,collapsible:C,onItemClick:T,destroyOnHidden:w}),f)})},Yg=(e,t,n)=>{if(!e)return null;let{prefixCls:r,accordion:i,collapsible:a,destroyOnHidden:o,onItemClick:s,activeKey:c,openMotion:l,expandIcon:u,classNames:d,styles:f}=n,p=e.key||String(t),{header:m,headerClass:h,destroyOnHidden:g,collapsible:_,onItemClick:v}=e.props,y=!1;y=i?c[0]===p:c.indexOf(p)>-1;let b=_??a,x={key:p,panelKey:p,header:m,headerClass:h,classNames:d,styles:f,isActive:y,prefixCls:r,destroyOnHidden:g??o,openMotion:l,accordion:i,children:e.props.children,onItemClick:e=>{b!==`disabled`&&(s(e),v?.(e))},expandIcon:u,collapsible:b};return typeof e.type==`string`?e:(Object.keys(x).forEach(e=>{x[e]===void 0&&delete x[e]}),S.cloneElement(e,x))};function Xg(e,t,n){return Array.isArray(e)?Jg(e,n):ki(t).map((e,t)=>Yg(e,t,n))}function Zg(e){let t=e;if(!Array.isArray(t)){let e=typeof t;t=e===`number`||e===`string`?[t]:[]}return t.map(e=>String(e))}var Qg=Object.assign(S.forwardRef((e,t)=>{let{prefixCls:n=`rc-collapse`,destroyOnHidden:r=!1,style:i,accordion:a,className:o,children:s,collapsible:c,openMotion:l,expandIcon:u,activeKey:d,defaultActiveKey:f,onChange:p,items:m,classNames:h,styles:g}=e,_=J(n,o),[v,y]=Gn(f,d),b=Zg(v),x=zn(e=>{let t=Zg(e);y(t),p?.(t)}),C=e=>{x(a?b[0]===e?[]:[e]:b.includes(e)?b.filter(t=>t!==e):[...b,e])};ui(!s,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");let w=Xg(m,s,{prefixCls:n,accordion:a,openMotion:l,expandIcon:u,collapsible:c,destroyOnHidden:r,onItemClick:C,activeKey:b,classNames:h,styles:g});return S.createElement(`div`,Hg({ref:t,className:_,style:i,role:a?`tablist`:void 0},xi(e,{aria:!0,data:!0})),w)}),{Panel:Wg}),$g=Qg,{Panel:aee}=Qg,e_=S.forwardRef((e,t)=>{let{getPrefixCls:n}=S.useContext(ga),{prefixCls:r,className:i,showArrow:a=!0}=e,o=n(`collapse`,r),s=J({[`${o}-no-arrow`]:!a},i);return S.createElement($g.Panel,{ref:t,...e,prefixCls:o,className:s})}),oee=e=>{let{componentCls:t,contentBg:n,padding:r,headerBg:i,headerPadding:a,collapseHeaderPaddingSM:o,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:l,lineType:u,colorBorder:d,colorText:f,colorTextHeading:p,colorTextDisabled:m,fontSizeLG:h,lineHeight:g,lineHeightLG:_,marginSM:v,paddingSM:y,paddingLG:b,paddingXS:x,motionDurationSlow:S,fontSizeIcon:C,contentPadding:w,fontHeight:T,fontHeightLG:E}=e,D=`${Y(l)} ${u} ${d}`;return{[t]:{...Ul(e),backgroundColor:i,border:D,borderRadius:c,"&-rtl":{direction:`rtl`},[`& > ${t}-item`]:{borderBottom:D,"&:first-child":{[` &, & > ${t}-header`]:{borderRadius:`${Y(c)} ${Y(c)} 0 0`}},"&:last-child":{[` &, - & > ${t}-header`]:{borderRadius:`0 0 ${Y(c)} ${Y(c)}`}},[`> ${t}-header`]:{position:`relative`,display:`flex`,flexWrap:`nowrap`,alignItems:`flex-start`,padding:a,color:p,lineHeight:g,cursor:`pointer`,transition:`all ${S}, visibility 0s`,...ql(e),[`> ${t}-title`]:{flex:`auto`},[`${t}-expand-icon`]:{height:T,display:`flex`,alignItems:`center`,marginInlineEnd:v},[`${t}-arrow`]:{...Wl(),fontSize:C,transition:`transform ${S}`,svg:{transition:`transform ${S}`}},[`${t}-title`]:{marginInlineEnd:`auto`}},[`${t}-collapsible-header`]:{cursor:`default`,[`${t}-title`]:{flex:`none`,cursor:`pointer`},[`${t}-expand-icon`]:{cursor:`pointer`}},[`${t}-collapsible-icon`]:{cursor:`unset`,[`${t}-expand-icon`]:{cursor:`pointer`}}},[`${t}-panel`]:{color:f,backgroundColor:n,borderTop:D,[`& > ${t}-body`]:{padding:w},"&-hidden":{display:`none`}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:o,paddingInlineStart:x,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(y).sub(x).equal()}},[`> ${t}-panel > ${t}-body`]:{padding:y}}},"&-large":{[`> ${t}-item`]:{fontSize:h,lineHeight:_,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:E,marginInlineStart:e.calc(b).sub(r).equal()}},[`> ${t}-panel > ${t}-body`]:{padding:b}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-panel`]:{borderRadius:`0 0 ${Y(c)} ${Y(c)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"&, & > .arrow":{color:m,cursor:`not-allowed`}},[`&${t}-icon-placement-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,marginInlineEnd:0,marginInlineStart:v}}}}}}},e_=e=>{let{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:`rotate(180deg)`}}}},t_=e=>{let{componentCls:t,headerBg:n,borderlessContentPadding:r,borderlessContentBg:i,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` + & > ${t}-header`]:{borderRadius:`0 0 ${Y(c)} ${Y(c)}`}},[`> ${t}-header`]:{position:`relative`,display:`flex`,flexWrap:`nowrap`,alignItems:`flex-start`,padding:a,color:p,lineHeight:g,cursor:`pointer`,transition:`all ${S}, visibility 0s`,...ql(e),[`> ${t}-title`]:{flex:`auto`},[`${t}-expand-icon`]:{height:T,display:`flex`,alignItems:`center`,marginInlineEnd:v},[`${t}-arrow`]:{...Wl(),fontSize:C,transition:`transform ${S}`,svg:{transition:`transform ${S}`}},[`${t}-title`]:{marginInlineEnd:`auto`}},[`${t}-collapsible-header`]:{cursor:`default`,[`${t}-title`]:{flex:`none`,cursor:`pointer`},[`${t}-expand-icon`]:{cursor:`pointer`}},[`${t}-collapsible-icon`]:{cursor:`unset`,[`${t}-expand-icon`]:{cursor:`pointer`}}},[`${t}-panel`]:{color:f,backgroundColor:n,borderTop:D,[`& > ${t}-body`]:{padding:w},"&-hidden":{display:`none`}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:o,paddingInlineStart:x,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(y).sub(x).equal()}},[`> ${t}-panel > ${t}-body`]:{padding:y}}},"&-large":{[`> ${t}-item`]:{fontSize:h,lineHeight:_,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:E,marginInlineStart:e.calc(b).sub(r).equal()}},[`> ${t}-panel > ${t}-body`]:{padding:b}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-panel`]:{borderRadius:`0 0 ${Y(c)} ${Y(c)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"&, & > .arrow":{color:m,cursor:`not-allowed`}},[`&${t}-icon-placement-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,marginInlineEnd:0,marginInlineStart:v}}}}}}},see=e=>{let{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:`rotate(180deg)`}}}},cee=e=>{let{componentCls:t,headerBg:n,borderlessContentPadding:r,borderlessContentBg:i,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` > ${t}-item:last-child, > ${t}-item:last-child ${t}-header - `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-panel`]:{backgroundColor:i,borderTop:0},[`> ${t}-item > ${t}-panel > ${t}-body`]:{padding:r}}}},n_=e=>{let{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:`transparent`,border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-panel`]:{backgroundColor:`transparent`,border:0,[`> ${t}-body`]:{paddingBlock:n}}}}}},r_=Ql(`Collapse`,e=>{let t=dc(e,{collapseHeaderPaddingSM:`${Y(e.paddingXS)} ${Y(e.paddingSM)}`,collapseHeaderPaddingLG:`${Y(e.padding)} ${Y(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[$g(t),t_(t),n_(t),e_(t),Wh(t)]},e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer,borderlessContentPadding:`${e.paddingXXS}px 16px ${e.padding}px`,borderlessContentBg:`transparent`})),i_=Object.assign(S.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r,expandIcon:i,className:a,style:o,classNames:s,styles:c}=ya(`collapse`),{prefixCls:l,className:u,rootClassName:d,style:f,bordered:p=!0,ghost:m,size:h,expandIconPlacement:g,expandIconPosition:_,children:v,destroyInactivePanel:y,destroyOnHidden:b,expandIcon:x,classNames:C,styles:w}=e,T=wh(e=>h??e??`middle`),E=n(`collapse`,l),D=n(),[O,k]=r_(E),A=g??_??`start`,j={...e,size:T,bordered:p,expandIconPlacement:A},[M,N]=Cf([s,C],[c,w],{props:j}),P=x??i,F=S.useCallback((e={})=>lm(typeof P==`function`?P(e):S.createElement(zg,{rotate:e.isActive?r===`rtl`?-90:90:void 0,"aria-label":e.isActive?`expanded`:`collapsed`}),e=>({className:J(e.className,`${E}-arrow`)})),[P,E,r]),I=J(`${E}-icon-placement-${A}`,{[`${E}-borderless`]:!p,[`${E}-rtl`]:r===`rtl`,[`${E}-ghost`]:!!m,[`${E}-large`]:T===`large`,[`${E}-small`]:T===`small`},a,u,d,O,k,M.root),L=S.useMemo(()=>({...ph(D),motionAppear:!1,leavedClassName:`${E}-panel-hidden`}),[D,E]),R=S.useMemo(()=>v?ki(v).map(e=>e):null,[v]);return S.createElement(Zg,{ref:t,openMotion:L,...gi(e,[`rootClassName`]),expandIcon:F,prefixCls:E,className:I,style:{...N.root,...o,...f},classNames:M,styles:N,destroyOnHidden:b??y},R)}),{Panel:Qg}),cee=e=>e instanceof Ig?e:new Ig(e),a_=(e,t)=>{let{r:n,g:r,b:i,a}=e.toRgb(),o=new Ng(e.toRgbString()).onBackground(t).toHsv();return a<=.5?o.v>.5:n*.299+r*.587+i*.114>192},o_=e=>{let{paddingInline:t,onlyIconSize:n,borderColorDisabled:r}=e;return dc(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n,colorBorderDisabled:r})},s_=e=>{let t=e.contentFontSize??e.fontSize,n=e.contentFontSizeSM??e.fontSize,r=e.contentFontSizeLG??e.fontSizeLG,i=e.contentLineHeight??Cc(t),a=e.contentLineHeightSM??Cc(n),o=e.contentLineHeightLG??Cc(r),s=a_(new Ig(e.colorBgSolid),`#fff`)?`#000`:`#fff`,c=Sc.reduce((t,n)=>({...t,[`${n}ShadowColor`]:`0 ${Y(e.controlOutlineWidth)} 0 ${Fl(e[`${n}1`],e.colorBgContainer)}`}),{}),l=e.colorBgContainerDisabled,u=e.colorBgContainerDisabled;return{...c,fontWeight:400,iconGap:e.marginXS,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorderDisabled,defaultGhostColor:e.colorBgContainer,ghostBg:`transparent`,defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:`inherit`,onlyIconSizeSM:`inherit`,onlyIconSizeLG:`inherit`,groupBorderColor:e.colorPrimaryHover,linkHoverBg:`transparent`,textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:s,contentFontSize:t,contentFontSizeSM:n,contentFontSizeLG:r,contentLineHeight:i,contentLineHeightSM:a,contentLineHeightLG:o,paddingBlock:Math.max((e.controlHeight-t*i)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-n*a)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-r*o)/2-e.lineWidth,0),defaultBgDisabled:l,dashedBgDisabled:u}},lee=e=>{let{componentCls:t,antCls:n,lineWidth:r}=e,[i,a]=tu(n,`btn`);return{[t]:[{[i(`border-width`)]:r,[i(`border-color`)]:`#000`,[i(`border-color-hover`)]:a(`border-color`),[i(`border-color-active`)]:a(`border-color`),[i(`border-color-disabled`)]:a(`border-color`),[i(`border-style`)]:`solid`,[i(`text-color`)]:`#000`,[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`),[i(`text-color-disabled`)]:a(`text-color`),[i(`bg-color`)]:`#ddd`,[i(`bg-color-hover`)]:a(`bg-color`),[i(`bg-color-active`)]:a(`bg-color`),[i(`bg-color-disabled`)]:e.colorBgContainerDisabled,[i(`bg-color-container`)]:e.colorBgContainer,[i(`shadow`)]:`none`},{border:[a(`border-width`),a(`border-style`),a(`border-color`)].join(` `),color:a(`text-color`),backgroundColor:a(`bg-color`),[`&:not(:disabled):not(${t}-disabled)`]:{"&:hover":{border:[a(`border-width`),a(`border-style`),a(`border-color-hover`)].join(` `),color:a(`text-color-hover`),backgroundColor:a(`bg-color-hover`)},"&:active":{border:[a(`border-width`),a(`border-style`),a(`border-color-active`)].join(` `),color:a(`text-color-active`),backgroundColor:a(`bg-color-active`)}}},{[`&${t}-variant-solid`]:{[i(`solid-bg-color`)]:a(`color-base`),[i(`solid-bg-color-hover`)]:a(`color-hover`),[i(`solid-bg-color-active`)]:a(`color-active`),[i(`border-color`)]:`transparent`,[i(`text-color`)]:e.colorTextLightSolid,[i(`bg-color`)]:a(`solid-bg-color`),[i(`bg-color-hover`)]:a(`solid-bg-color-hover`),[i(`bg-color-active`)]:a(`solid-bg-color-active`),boxShadow:a(`shadow`)},[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i(`border-color`)]:a(`color-base`),[i(`border-color-hover`)]:a(`color-hover`),[i(`border-color-active`)]:a(`color-active`),[i(`bg-color`)]:a(`bg-color-container`),[i(`text-color`)]:a(`color-base`),[i(`text-color-hover`)]:a(`color-hover`),[i(`text-color-active`)]:a(`color-active`),boxShadow:a(`shadow`)},[`&${t}-variant-dashed`]:{[i(`border-style`)]:`dashed`,[i(`bg-color-disabled`)]:e.dashedBgDisabled},[`&${t}-variant-filled`]:{[i(`border-color`)]:`transparent`,[i(`text-color`)]:a(`color-base`),[i(`bg-color`)]:a(`color-light`),[i(`bg-color-hover`)]:a(`color-light-hover`),[i(`bg-color-active`)]:a(`color-light-active`)},[`&${t}-variant-text, &${t}-variant-link`]:{[i(`border-color`)]:`transparent`,[i(`text-color`)]:a(`color-base`),[i(`text-color-hover`)]:a(`color-hover`),[i(`text-color-active`)]:a(`color-active`),[i(`bg-color`)]:`transparent`,[i(`bg-color-hover`)]:`transparent`,[i(`bg-color-active`)]:`transparent`,[`&:disabled, &${e.componentCls}-disabled`]:{background:`transparent`,borderColor:`transparent`}},[`&${t}-variant-text`]:{[i(`bg-color-hover`)]:a(`color-light`),[i(`bg-color-active`)]:a(`color-light-active`)}},{[`&${t}-variant-link`]:{[i(`color-base`)]:e.colorLink,[i(`color-hover`)]:e.colorLinkHover,[i(`color-active`)]:e.colorLinkActive,[i(`bg-color-hover`)]:e.linkHoverBg},[`&${t}-color-primary`]:{[i(`color-base`)]:e.colorPrimary,[i(`color-hover`)]:e.colorPrimaryHover,[i(`color-active`)]:e.colorPrimaryActive,[i(`color-light`)]:e.colorPrimaryBg,[i(`color-light-hover`)]:e.colorPrimaryBgHover,[i(`color-light-active`)]:e.colorPrimaryBorder,[i(`shadow`)]:e.primaryShadow,[`&${t}-variant-solid`]:{[i(`text-color`)]:e.primaryColor,[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`)}},[`&${t}-color-dangerous`]:{[i(`color-base`)]:e.colorError,[i(`color-hover`)]:e.colorErrorHover,[i(`color-active`)]:e.colorErrorActive,[i(`color-light`)]:e.colorErrorBg,[i(`color-light-hover`)]:e.colorErrorBgFilledHover,[i(`color-light-active`)]:e.colorErrorBgActive,[i(`shadow`)]:e.dangerShadow,[`&${t}-variant-solid`]:{[i(`text-color`)]:e.dangerColor,[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`)}},[`&${t}-color-default`]:{[i(`solid-bg-color`)]:e.colorBgSolid,[i(`solid-bg-color-hover`)]:e.colorBgSolidHover,[i(`solid-bg-color-active`)]:e.colorBgSolidActive,[i(`color-base`)]:e.defaultBorderColor,[i(`color-hover`)]:e.defaultHoverBorderColor,[i(`color-active`)]:e.defaultActiveBorderColor,[i(`color-light`)]:e.colorFillTertiary,[i(`color-light-hover`)]:e.colorFillSecondary,[i(`color-light-active`)]:e.colorFill,[i(`text-color`)]:e.defaultColor,[i(`text-color-hover`)]:e.defaultHoverColor,[i(`text-color-active`)]:e.defaultActiveColor,[i(`shadow`)]:e.defaultShadow,[`&${t}-variant-outlined`]:{[i(`bg-color-disabled`)]:e.defaultBgDisabled},[`&${t}-variant-solid`]:{[i(`text-color`)]:e.solidTextColor,[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`)},[`&${t}-variant-filled, &${t}-variant-text`]:{[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`)},[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i(`text-color`)]:e.defaultColor,[i(`text-color-hover`)]:e.defaultHoverColor,[i(`text-color-active`)]:e.defaultActiveColor,[i(`bg-color-container`)]:e.defaultBg,[i(`bg-color-hover`)]:e.defaultHoverBg,[i(`bg-color-active`)]:e.defaultActiveBg},[`&${t}-variant-text`]:{[i(`text-color`)]:e.textTextColor,[i(`text-color-hover`)]:e.textTextHoverColor,[i(`text-color-active`)]:e.textTextActiveColor,[i(`bg-color-hover`)]:e.textHoverBg},[`&${t}-background-ghost`]:{[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i(`text-color`)]:e.defaultGhostColor,[i(`border-color`)]:e.defaultGhostBorderColor}}}},Sc.map(n=>{let r=e[`${n}6`],a=e[`${n}1`],o=e[`${n}Hover`],s=e[`${n}2`],c=e[`${n}3`],l=e[`${n}Active`],u=e[`${n}ShadowColor`];return{[`&${t}-color-${n}`]:{[i(`color-base`)]:r,[i(`color-hover`)]:o,[i(`color-active`)]:l,[i(`color-light`)]:a,[i(`color-light-hover`)]:s,[i(`color-light-active`)]:c,[i(`shadow`)]:u}}}),{[`&:disabled, &${e.componentCls}-disabled`]:{cursor:`not-allowed`,borderColor:e.colorBorderDisabled,background:a(`bg-color-disabled`),color:e.colorTextDisabled,boxShadow:`none`}},{[`&${t}-background-ghost`]:{[i(`bg-color`)]:e.ghostBg,[i(`bg-color-hover`)]:e.ghostBg,[i(`bg-color-active`)]:e.ghostBg,[i(`shadow`)]:`none`,[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i(`bg-color-hover`)]:e.ghostBg,[i(`bg-color-active`)]:e.ghostBg}}}]}},uee=e=>{let{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:i,motionDurationSlow:a,motionEaseInOut:o,iconGap:s,calc:c}=e;return{[t]:{outline:`none`,position:`relative`,display:`inline-flex`,gap:s,alignItems:`center`,justifyContent:`center`,fontWeight:r,whiteSpace:`nowrap`,textAlign:`center`,backgroundImage:`none`,cursor:`pointer`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:`none`,touchAction:`manipulation`,...mg(),"&:disabled > *":{pointerEvents:`none`},[`${t}-icon > svg`]:Wl(),"> a":{color:`currentColor`},"&:not(:disabled)":ql(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:`0.34em`},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:`-0.34em`,letterSpacing:`0.34em`},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:`none`}},[`&${t}-loading`]:{opacity:i,cursor:`default`},[`${t}-loading-icon`]:{transition:[`width`,`opacity`,`margin`].map(e=>`${e} ${a} ${o}`).join(`,`)},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:c(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:`row-reverse`,[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:c(s).mul(-1).equal()}}}}}},dee=e=>({minWidth:e.controlHeight,paddingInline:0,borderRadius:`50%`}),c_=(e,t=``)=>{let{componentCls:n,controlHeight:r,fontSize:i,borderRadius:a,buttonPaddingHorizontal:o,iconCls:s,buttonPaddingVertical:c,buttonIconOnlyFontSize:l}=e;return[{[t]:{fontSize:i,height:r,padding:`${Y(c)} ${Y(o)}`,borderRadius:a,[`&${n}-icon-only`]:{width:r,[s]:{fontSize:l}}}},{[`${n}${n}-circle${t}`]:dee(e)},{[`${n}${n}-round${t}`]:{borderRadius:e.controlHeight,[`&:not(${n}-icon-only)`]:{paddingInline:e.buttonPaddingHorizontal}}}]},fee=e=>c_(dc(e,{fontSize:e.contentFontSize}),e.componentCls),pee=e=>c_(dc(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM}),`${e.componentCls}-sm`),mee=e=>c_(dc(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG}),`${e.componentCls}-lg`),hee=e=>{let{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:`100%`}}}},gee=Ql(`Button`,e=>{let t=o_(e);return[uee(t),fee(t),pee(t),mee(t),hee(t),lee(t),Ag(t)]},s_,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function _ee(e,t,n,r){let{focusElCls:i,focus:a,borderElCls:o}=n,s=o?`> *`:``,c=[`hover`,a?`focus`:null,`active`].filter(Boolean).map(e=>`&:${e} ${s}`).join(`,`);return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${r}-status-success)`]:{zIndex:2},"&-item":{[c]:{zIndex:3},...i?{[`&${i}`]:{zIndex:3}}:{},[`&[disabled] ${s}`]:{zIndex:0}}}}function vee(e,t,n){let{borderElCls:r}=n,i=r?`> ${r}`:``;return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${i}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function l_(e,t={focus:!0}){let{componentCls:n}=e,{componentCls:r}=t,i=r||n,a=`${i}-compact`;return{[a]:{..._ee(e,a,t,i),...vee(i,a,t)}}}function yee(e,t,n){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${n}-status-success)`]:{zIndex:2},"&-item":{"&:hover,&:focus,&:active":{zIndex:3},"&[disabled]":{zIndex:0}}}}function bee(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function xee(e){let t=`${e.componentCls}-compact-vertical`;return{[t]:{...yee(e,t,e.componentCls),...bee(e.componentCls,t)}}}var u_=e=>{let{antCls:t,componentCls:n,lineWidth:r,calc:i,colorBgContainer:a}=e,o=`${n}-variant-solid:not([disabled])`,s=i(r).mul(-1).equal(),[c,l]=tu(t,`btn`),u=e=>({[`${n}-compact${e?`-vertical`:``}-item`]:{[c(`compact-connect-border-color`)]:l(`bg-color-hover`),[`&${o}`]:{transition:`none`,[`& + ${o}:before`]:[{position:`absolute`,backgroundColor:l(`compact-connect-border-color`),content:`""`},e?{top:s,insetInline:s,height:r}:{insetBlock:s,insetInlineStart:s,width:r}],"&:hover:before":{display:`none`}}}});return[u(),u(!0),{[`${o}${n}-color-default`]:{[c(`compact-connect-border-color`)]:`color-mix(in srgb, ${l(`bg-color-hover`)} 75%, ${a})`}}]},d_=eu([`Button`,`compact`],e=>{let t=o_(e);return[l_(t),xee(t),u_(t)]},s_);function f_(e){if(nf(e)){let t=e?.delay;return t=ef(t)?t:0,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}var p_={default:[`default`,`outlined`],primary:[`primary`,`solid`],dashed:[`default`,`dashed`],link:[`link`,`link`],text:[`default`,`text`]},m_=S.forwardRef((e,t)=>{let{_skipSemantic:n,loading:r=!1,prefixCls:i,color:a,variant:o,type:s,danger:c=!1,shape:l,size:u,disabled:d,className:f,rootClassName:p,children:m,icon:h,iconPosition:g,iconPlacement:_,ghost:v=!1,block:y=!1,htmlType:b=`button`,classNames:x,styles:C,style:w,autoInsertSpace:T,autoFocus:E,...D}=e,O=ki(m),k=s||`default`,{getPrefixCls:A,direction:j,autoInsertSpace:M,className:N,style:P,classNames:F,styles:I,loadingIcon:L,shape:R,color:z,variant:B}=ya(`button`),V=l||R||`default`,[H,U]=(0,S.useMemo)(()=>{if(a&&o)return[a,o];if(s||c){let e=p_[k]||[];return c?[`danger`,e[1]]:e}return z&&B?[z,B]:[`default`,`outlined`]},[a,o,s,c,z,B,k]),[W,ee]=(0,S.useMemo)(()=>v&&U===`solid`?[H,`outlined`]:[H,U],[H,U,v]),te=W===`danger`,ne=te?`dangerous`:W,re=T??M??!0,G=A(`btn`,i),[ie,K]=gee(G),ae=(0,S.useContext)(mm),q=d??ae,oe=(0,S.useContext)(jh),se=(0,S.useMemo)(()=>f_(r),[r]),[ce,le]=(0,S.useState)(se.loading),[ue,de]=(0,S.useState)(!1),fe=(0,S.useRef)(null),pe=lr(t,fe),me=O.length===1&&!h&&!Ih(ee),he=(0,S.useRef)(!0);S.useEffect(()=>(he.current=!1,()=>{he.current=!0}),[]),Hn(()=>{let e=null;se.delay>0?e=setTimeout(()=>{e=null,le(!0)},se.delay):le(se.loading);function t(){e&&=(clearTimeout(e),null)}return t},[se.delay,se.loading]),(0,S.useEffect)(()=>{if(!fe.current||!re)return;let e=fe.current.textContent||``;me&&Ph(e)?ue||de(!0):ue&&de(!1)}),(0,S.useEffect)(()=>{E&&fe.current&&fe.current.focus()},[]);let ge=S.useCallback(t=>{if(ce||q){t.preventDefault();return}e.onClick?.((`href`in e,t))},[e.onClick,ce,q]),{compactSize:_e,compactItemClassnames:ve}=Dh(G,j),ye=wh(e=>u??_e??oe??e),be=ce?`loading`:h,xe=_??g??`start`,Se=gi(D,[`navigate`]),Ce={...e,type:k,color:W,variant:ee,danger:te,shape:V,size:ye,disabled:q,loading:ce,iconPlacement:xe},[we,Te]=Cf([n?void 0:F,x],[n?void 0:I,C],{props:Ce}),Ee=J(G,ie,K,{[`${G}-${V}`]:V!==`default`&&V!==`square`&&V,[`${G}-${k}`]:k,[`${G}-dangerous`]:c,[`${G}-color-${ne}`]:ne,[`${G}-variant-${ee}`]:ee,[`${G}-lg`]:ye===`large`,[`${G}-sm`]:ye===`small`,[`${G}-icon-only`]:!m&&m!==0&&!!be,[`${G}-background-ghost`]:v&&!Ih(ee),[`${G}-loading`]:ce,[`${G}-two-chinese-chars`]:ue&&re&&!ce,[`${G}-block`]:y,[`${G}-rtl`]:j===`rtl`,[`${G}-icon-end`]:xe===`end`},ve,f,p,N,we.root),De={...Te.root,...P,...w},Oe={className:we.icon,style:Te.icon},ke=e=>S.createElement(zh,{prefixCls:G,...Oe},e),Ae=S.createElement(Uh,{existIcon:!!h,prefixCls:G,loading:ce,mount:he.current,...Oe}),je=nf(r)&&r.icon||L,Me;Me=h&&!ce?ke(h):r&&je?ke(je):Ae;let Ne=$d(m)?Rh(m,me&&re,Te.content,we.content):null;if(Se.href!==void 0)return S.createElement(`a`,{...Se,className:J(Ee,{[`${G}-disabled`]:q}),href:q?void 0:Se.href,style:De,onClick:ge,ref:pe,tabIndex:q?-1:0,"aria-disabled":q},Me,Ne);let Pe=S.createElement(`button`,{...D,type:b,className:Ee,style:De,onClick:ge,disabled:q,ref:pe},Me,Ne,ve&&S.createElement(d_,{prefixCls:G}));return Ih(ee)||(Pe=S.createElement(Ch,{component:`Button`,disabled:ce},Pe)),Pe});m_.Group=Mh,m_.__ANT_BUTTON=!0;var h_=e=>{let{type:t,children:n,prefixCls:r,buttonProps:i,close:a,autoFocus:o,emitEvent:s,isSilent:c,quitOnNullishReturnValue:l,actionFn:u}=e,d=S.useRef(!1),f=S.useRef(null),[p,m]=Wn(!1),h=(...e)=>{a?.(...e)};S.useEffect(()=>{let e=null;return o&&(e=setTimeout(()=>{f.current?.focus({preventScroll:!0})})),()=>{e&&clearTimeout(e)}},[o]);let g=e=>{af(e)&&(m(!0),e.then((...e)=>{m(!1,!0),h.apply(void 0,e),d.current=!1},e=>{if(m(!1,!0),d.current=!1,!c?.())return Promise.reject(e)}))},_=e=>{if(d.current)return;if(d.current=!0,!u){h();return}let t;if(s){if(t=u(e),l&&!af(t)){d.current=!1,h(e);return}}else if(u.length)t=u(a),d.current=!1;else if(t=u(),!af(t)){h();return}g(t)};return S.createElement(m_,{...Fh(t),onClick:_,loading:p,prefixCls:r,...i,ref:f},n)},g_=S.createContext({}),{Provider:__}=g_,v_=()=>{let{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:i,rootPrefixCls:a,close:o,onCancel:s,onConfirm:c,onClose:l}=(0,S.useContext)(g_);return i?S.createElement(h_,{isSilent:r,actionFn:s,close:(...e)=>{o?.(...e),c?.(!1),l?.()},autoFocus:e===`cancel`,buttonProps:t,prefixCls:`${a}-btn`},n):null},y_=()=>{let{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:i,okTextLocale:a,okType:o,onConfirm:s,onOk:c,onClose:l}=(0,S.useContext)(g_);return S.createElement(h_,{isSilent:n,type:o||`primary`,actionFn:c,close:(...e)=>{t?.(...e),s?.(!0),l?.()},autoFocus:e===`ok`,buttonProps:r,prefixCls:`${i}-btn`},a)},b_=S.createContext({});function x_(e,t,n){let r=t;return!r&&n&&(r=`${e}-${n}`),r}function S_(e,t){let n=e[`page${t?`Y`:`X`}Offset`],r=`scroll${t?`Top`:`Left`}`;if(typeof n!=`number`){let t=e.document;n=t.documentElement[r],typeof n!=`number`&&(n=t.body[r])}return n}function C_(e){let t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=S_(i),n.top+=S_(i,!0),n}var w_=S.memo(({children:e})=>e,(e,{shouldUpdate:t})=>!t);function T_(){return T_=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,className:r,style:i,title:a,ariaId:o,footer:s,closable:c,closeIcon:l,onClose:u,children:d,bodyStyle:f,bodyProps:p,modalRender:m,onMouseDown:h,onMouseUp:g,holderRef:_,visible:v,forceRender:y,width:b,height:x,classNames:C,styles:w,isFixedPos:T,focusTrap:E}=e,{panel:D}=S.useContext(b_),O=(0,S.useRef)(null),k=lr(_,D,O),[A]=Gr(v&&T&&E!==!1,()=>O.current);S.useImperativeHandle(t,()=>({focus:()=>{O.current?.focus({preventScroll:!0})}}));let j={};b!==void 0&&(j.width=b),x!==void 0&&(j.height=x);let M=s?S.createElement(`div`,{className:J(`${n}-footer`,C?.footer),style:{...w?.footer}},s):null,N=a?S.createElement(`div`,{className:J(`${n}-header`,C?.header),style:{...w?.header}},S.createElement(`div`,{className:J(`${n}-title`,C?.title),id:o,style:{...w?.title}},a)):null,P=(0,S.useMemo)(()=>typeof c==`object`&&c?c:c?{closeIcon:l??S.createElement(`span`,{className:`${n}-close-x`})}:{},[c,l,n]),F=xi(P,!0),I=typeof c==`object`&&c.disabled,L=c?S.createElement(`button`,T_({type:`button`,onClick:u,"aria-label":`Close`},F,{className:`${n}-close`,disabled:I}),P.closeIcon):null,R=S.createElement(`div`,{className:J(`${n}-container`,C?.container),style:w?.container},L,N,S.createElement(`div`,T_({className:J(`${n}-body`,C?.body),style:{...f,...w?.body}},p),d),M);return S.createElement(`div`,{key:`dialog-element`,role:`dialog`,"aria-labelledby":a?o:null,"aria-modal":`true`,ref:k,style:{...i,...j},className:J(n,r),onMouseDown:h,onMouseUp:g,tabIndex:-1,onFocus:e=>{A(e.target)}},S.createElement(w_,{shouldUpdate:v||y},m?m(R):R))});function D_(){return D_=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,title:r,style:i,className:a,visible:o,forceRender:s,destroyOnHidden:c,motionName:l,ariaId:u,onVisibleChanged:d,mousePosition:f}=e,p=(0,S.useRef)(null),m=(0,S.useRef)(null);S.useImperativeHandle(t,()=>({...m.current,inMotion:p.current.inMotion,enableMotion:p.current.enableMotion}));let[h,g]=S.useState(),_={};h&&(_.transformOrigin=h);function v(){if(!p.current?.nativeElement)return;let e=C_(p.current.nativeElement);g(f&&(f.x||f.y)?`${f.x-e.left}px ${f.y-e.top}px`:``)}return S.createElement(Od,{visible:o,onVisibleChanged:d,onAppearPrepare:v,onEnterPrepare:v,forceRender:s,motionName:l,removeOnLeave:c,ref:p},({className:t,style:o},s)=>S.createElement(E_,D_({},e,{ref:m,title:r,ariaId:u,prefixCls:n,holderRef:s,style:{...o,...i,..._},className:J(a,t)})))});function k_(){return k_=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t,style:n,visible:r,maskProps:i,motionName:a,className:o}=e;return S.createElement(Od,{key:`mask`,visible:r,motionName:a,leavedClassName:`${t}-mask-hidden`},({className:e,style:r},a)=>S.createElement(`div`,k_({ref:a,style:{...r,...n},className:J(`${t}-mask`,e,o)},i)))};function A_(){return A_=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t=`rc-dialog`,zIndex:n,visible:r=!1,focusTriggerAfterClose:i=!0,wrapStyle:a,wrapClassName:o,wrapProps:s,onClose:c,afterOpenChange:l,afterClose:u,transitionName:d,animation:f,closable:p=!0,mask:m=!0,maskTransitionName:h,maskAnimation:g,maskClosable:_=!0,maskStyle:v,maskProps:y,rootClassName:b,rootStyle:x,classNames:C,styles:w}=e,T=(0,S.useRef)(null),E=(0,S.useRef)(null),D=(0,S.useRef)(null),[O,k]=S.useState(r),[A,j]=S.useState(!1),M=Xn();function N(){mr(E.current,document.activeElement)||(T.current=document.activeElement)}function P(){mr(E.current,document.activeElement)||D.current?.focus()}function F(){if(k(!1),m&&T.current&&i){try{T.current.focus({preventScroll:!0})}catch{}T.current=null}O&&u?.()}function I(e){e?P():F(),l?.(e)}function L(e){c?.(e)}let R=(0,S.useRef)(!1),z=null;_&&(z=e=>{E.current===e.target&&R.current&&L(e)});function B(e){R.current=e.target===E.current}(0,S.useEffect)(()=>{r?(R.current=!1,k(!0),N(),E.current&&j(getComputedStyle(E.current).position===`fixed`)):O&&D.current.enableMotion()&&!D.current.inMotion()&&F()},[r]);let V={zIndex:n,...a,...w?.wrapper,display:O?null:`none`};return S.createElement(`div`,A_({className:J(`${t}-root`,b),style:x},xi(e,{data:!0})),S.createElement(See,{prefixCls:t,visible:m&&r,motionName:x_(t,h,g),style:{zIndex:n,...v,...w?.mask},maskProps:y,className:C?.mask}),S.createElement(`div`,A_({className:J(`${t}-wrap`,o,C?.wrapper),ref:E,onClick:z,onMouseDown:B,style:V},s),S.createElement(O_,A_({},e,{isFixedPos:A,ref:D,closable:p,ariaId:M,prefixCls:t,visible:r&&O,onClose:L,onVisibleChanged:I,motionName:x_(t,d,f)}))))};function M_(){return M_=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{visible:t,getContainer:n,forceRender:r,destroyOnHidden:i=!1,afterClose:a,closable:o,panelRef:s,keyboard:c=!0,onClose:l}=e,[u,d]=S.useState(t),f=S.useMemo(()=>({panel:s}),[s]);return S.useEffect(()=>{t&&d(!0)},[t]),!r&&i&&!u?null:S.createElement(b_.Provider,{value:f},S.createElement(Dp,{open:t||r||u,onEsc:({top:e,event:t})=>{if(e&&c){t.stopPropagation(),l?.(t);return}},autoDestroy:!1,getContainer:n,autoLock:t||u},S.createElement(j_,M_({},e,{destroyOnHidden:i,afterClose:()=>{let{afterClose:e}=(o&&typeof o==`object`?o:{})||{};e?.(),a?.(),d(!1)}}))))},P_=`RC_FORM_INTERNAL_HOOKS`,F_=()=>{ui(!1,`Can not find FormContext. Please make sure you wrap Field under Form.`)},I_=S.createContext({getFieldValue:F_,getFieldsValue:F_,getFieldError:F_,getFieldWarning:F_,getFieldsError:F_,isFieldsTouched:F_,isFieldTouched:F_,isFieldValidating:F_,isFieldsValidating:F_,resetFields:F_,setFields:F_,setFieldValue:F_,setFieldsValue:F_,validateFields:F_,submit:F_,getInternalHooks:()=>(F_(),{dispatch:F_,initEntityValue:F_,registerField:F_,useSubscribe:F_,setInitialValues:F_,destroyForm:F_,setCallbacks:F_,registerWatch:F_,getFields:F_,setValidateMessages:F_,setPreserve:F_,getInitialValue:F_})}),L_=S.createContext(null);function R_(e){return e==null?[]:Array.isArray(e)?e:[e]}function z_(e){return e&&!!e._init}function B_(){return{default:`Validation error on field %s`,required:`%s is required`,enum:`%s must be one of %s`,whitespace:`%s cannot be empty`,date:{format:`%s date %s is invalid for format %s`,parse:`%s date could not be parsed, %s is invalid `,invalid:`%s date %s is invalid`},types:{string:`%s is not a %s`,method:`%s is not a %s (function)`,array:`%s is not an %s`,object:`%s is not an %s`,number:`%s is not a %s`,date:`%s is not a %s`,boolean:`%s is not a %s`,integer:`%s is not an %s`,float:`%s is not a %s`,regexp:`%s is not a valid %s`,email:`%s is not a valid %s`,tel:`%s is not a valid %s`,url:`%s is not a valid %s`,hex:`%s is not a valid %s`},string:{len:`%s must be exactly %s characters`,min:`%s must be at least %s characters`,max:`%s cannot be longer than %s characters`,range:`%s must be between %s and %s characters`},number:{len:`%s must equal %s`,min:`%s cannot be less than %s`,max:`%s cannot be greater than %s`,range:`%s must be between %s and %s`},array:{len:`%s must be exactly %s in length`,min:`%s cannot be less than %s in length`,max:`%s cannot be greater than %s in length`,range:`%s must be between %s and %s in length`},pattern:{mismatch:`%s value %s does not match pattern %s`},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var V_=B_();function H_(e){try{return Function.toString.call(e).indexOf(`[native code]`)!==-1}catch{return typeof e==`function`}}function U_(e,t,n){if(Zs())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&Js(i,n.prototype),i}function W_(e){var t=typeof Map==`function`?new Map:void 0;return W_=function(e){if(e===null||!H_(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return U_(e,arguments,Xs(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Js(n,e)},W_(e)}var Cee=/%[sdj%]/g,wee=function(){};function G_(e){if(!e||!e.length)return null;var t={};return e.forEach(function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)}),t}function K_(e){var t=[...arguments].slice(1),n=0,r=t.length;return typeof e==`function`?e.apply(null,t):typeof e==`string`?e.replace(Cee,function(e){if(e===`%%`)return`%`;if(n>=r)return e;switch(e){case`%s`:return String(t[n++]);case`%d`:return Number(t[n++]);case`%j`:try{return JSON.stringify(t[n++])}catch{return`[Circular]`}break;default:return e}}):e}function q_(e){return e===`string`||e===`url`||e===`hex`||e===`email`||e===`date`||e===`pattern`||e===`tel`}function J_(e,t){return!!(e==null||t===`array`&&Array.isArray(e)&&!e.length||q_(t)&&typeof e==`string`&&!e)}function Y_(e,t,n){var r=[],i=0,a=e.length;function o(e){r.push.apply(r,pa(e||[])),i++,i===a&&n(r)}e.forEach(function(e){t(e,o)})}function X_(e,t,n){var r=0,i=e.length;function a(o){if(o&&o.length){n(o);return}var s=r;r+=1,se.max?r.push(K_(i.messages[u].max,e.fullField,e.max)):o&&s&&(le.max)&&r.push(K_(i.messages[u].range,e.fullField,e.min,e.max))},cv=function(e,t,n,r,i,a){e.required&&(!n.hasOwnProperty(e.field)||J_(t,a||e.type))&&r.push(K_(i.messages.required,e.fullField))},lv,uv=(function(){if(lv)return lv;var e=`[a-fA-F\\d:]`,t=function(t){return t&&t.includeBoundaries?`(?:(?<=\\s|^)(?=${e})|(?<=${e})(?=\\s|\$))`:``},n=`(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}`,r=`[a-fA-F\\d]{1,4}`,i=`(?:${[`(?:${r}:){7}(?:${r}|:)`,`(?:${r}:){6}(?:${n}|:${r}|:)`,`(?:${r}:){5}(?::${n}|(?::${r}){1,2}|:)`,`(?:${r}:){4}(?:(?::${r}){0,1}:${n}|(?::${r}){1,3}|:)`,`(?:${r}:){3}(?:(?::${r}){0,2}:${n}|(?::${r}){1,4}|:)`,`(?:${r}:){2}(?:(?::${r}){0,3}:${n}|(?::${r}){1,5}|:)`,`(?:${r}:){1}(?:(?::${r}){0,4}:${n}|(?::${r}){1,6}|:)`,`(?::(?:(?::${r}){0,5}:${n}|(?::${r}){1,7}|:))`].join(`|`)})(?:%[0-9a-zA-Z]{1,})?`,a=RegExp(`(?:^${n}\$)|(?:^${i}\$)`),o=RegExp(`^${n}\$`),s=RegExp(`^${i}\$`),c=function(e){return e&&e.exact?a:RegExp(`(?:${t(e)}${n}${t(e)})|(?:${t(e)}${i}${t(e)})`,`g`)};c.v4=function(e){return e&&e.exact?o:RegExp(`${t(e)}${n}${t(e)}`,`g`)},c.v6=function(e){return e&&e.exact?s:RegExp(`${t(e)}${i}${t(e)}`,`g`)};var l=`(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|${c.v4().source}|${c.v6().source}|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?`;return lv=RegExp(`(?:^${l}\$)`,`i`),lv}),dv={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,tel:/^(\+[0-9]{1,3}[-\s\u2011]?)?(\([0-9]{1,4}\)[-\s\u2011]?)?([0-9]+[-\s\u2011]?)*[0-9]+$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},fv={integer:function(e){return fv.number(e)&&parseInt(e,10)===e},float:function(e){return fv.number(e)&&!fv.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch{return!1}},date:function(e){return typeof e.getTime==`function`&&typeof e.getMonth==`function`&&typeof e.getYear==`function`&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e==`number`},object:function(e){return Ps(e)===`object`&&!fv.array(e)},method:function(e){return typeof e==`function`},email:function(e){return typeof e==`string`&&e.length<=320&&!!e.match(dv.email)},tel:function(e){return typeof e==`string`&&e.length<=32&&!!e.match(dv.tel)},url:function(e){return typeof e==`string`&&e.length<=2048&&!!e.match(uv())},hex:function(e){return typeof e==`string`&&!!e.match(dv.hex)}},pv={required:cv,whitespace:function(e,t,n,r,i){(/^\s+$/.test(t)||t===``)&&r.push(K_(i.messages.whitespace,e.fullField))},type:function(e,t,n,r,i){if(e.required&&t===void 0){cv(e,t,n,r,i);return}var a=[`integer`,`float`,`array`,`regexp`,`object`,`method`,`email`,`tel`,`number`,`date`,`url`,`hex`],o=e.type;a.indexOf(o)>-1?fv[o](t)||r.push(K_(i.messages.types[o],e.fullField,e.type)):o&&Ps(t)!==e.type&&r.push(K_(i.messages.types[o],e.fullField,e.type))},range:sv,enum:av,pattern:ov},mv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(J_(t)&&!e.required)return n();pv.required(e,t,r,a,i)}n(a)},hv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(t==null&&!e.required)return n();pv.required(e,t,r,a,i,`array`),t!=null&&(pv.type(e,t,r,a,i),pv.range(e,t,r,a,i))}n(a)},gv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(J_(t)&&!e.required)return n();pv.required(e,t,r,a,i),t!==void 0&&pv.type(e,t,r,a,i)}n(a)},_v=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(J_(t,`date`)&&!e.required)return n();if(pv.required(e,t,r,a,i),!J_(t,`date`)){var o=t instanceof Date?t:new Date(t);pv.type(e,o,r,a,i),o&&pv.range(e,o.getTime(),r,a,i)}}n(a)},vv=`enum`,yv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(J_(t)&&!e.required)return n();pv.required(e,t,r,a,i),t!==void 0&&pv[vv](e,t,r,a,i)}n(a)},bv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(J_(t)&&!e.required)return n();pv.required(e,t,r,a,i),t!==void 0&&(pv.type(e,t,r,a,i),pv.range(e,t,r,a,i))}n(a)},xv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(J_(t)&&!e.required)return n();pv.required(e,t,r,a,i),t!==void 0&&(pv.type(e,t,r,a,i),pv.range(e,t,r,a,i))}n(a)},Sv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(J_(t)&&!e.required)return n();pv.required(e,t,r,a,i),t!==void 0&&pv.type(e,t,r,a,i)}n(a)},Cv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(t===``&&(t=void 0),J_(t)&&!e.required)return n();pv.required(e,t,r,a,i),t!==void 0&&(pv.type(e,t,r,a,i),pv.range(e,t,r,a,i))}n(a)},wv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(J_(t)&&!e.required)return n();pv.required(e,t,r,a,i),t!==void 0&&pv.type(e,t,r,a,i)}n(a)},Tv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(J_(t,`string`)&&!e.required)return n();pv.required(e,t,r,a,i),J_(t,`string`)||pv.pattern(e,t,r,a,i)}n(a)},Ev=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(J_(t)&&!e.required)return n();pv.required(e,t,r,a,i),J_(t)||pv.type(e,t,r,a,i)}n(a)},Dv=function(e,t,n,r,i){var a=[],o=Array.isArray(t)?`array`:Ps(t);pv.required(e,t,r,a,i,o),n(a)},Ov=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(J_(t,`string`)&&!e.required)return n();pv.required(e,t,r,a,i,`string`),J_(t,`string`)||(pv.type(e,t,r,a,i),pv.range(e,t,r,a,i),pv.pattern(e,t,r,a,i),e.whitespace===!0&&pv.whitespace(e,t,r,a,i))}n(a)},kv=function(e,t,n,r,i){var a=e.type,o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(J_(t,a)&&!e.required)return n();pv.required(e,t,r,o,i,a),J_(t,a)||pv.type(e,t,r,o,i)}n(o)},Av={string:Ov,method:Sv,number:Cv,boolean:gv,regexp:Ev,integer:xv,float:bv,array:hv,object:wv,enum:yv,pattern:Tv,date:_v,url:kv,hex:kv,email:kv,tel:kv,required:Dv,any:mv},jv=function(){function e(t){Ws(this,e),Vs(this,`rules`,null),Vs(this,`_messages`,V_),this.define(t)}return Ks(e,[{key:`define`,value:function(e){var t=this;if(!e)throw Error(`Cannot configure a schema with no rules`);if(Ps(e)!==`object`||Array.isArray(e))throw Error(`Rules must be an object`);this.rules={},Object.keys(e).forEach(function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]})}},{key:`messages`,value:function(e){return e&&(this._messages=rv(B_(),e)),this._messages}},{key:`validate`,value:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},a=t,o=r,s=i;if(typeof o==`function`&&(s=o,o={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(null,a),Promise.resolve(a);function c(e){var t=[],n={};function r(e){if(Array.isArray(e)){var n;t=(n=t).concat.apply(n,pa(e))}else t.push(e)}for(var i=0;i0&&arguments[0]!==void 0?arguments[0]:[],l=Array.isArray(c)?c:[c];!o.suppressWarning&&l.length&&e.warning(`async-validator:`,l),l.length&&r.message!==void 0&&r.message!==null&&(l=[].concat(r.message));var u=l.map(nv(r,a));if(o.first&&u.length)return d[r.field]=1,n(u);if(!i)n(u);else{if(r.required&&!t.value)return r.message===void 0?o.error&&(u=[o.error(r,K_(o.messages.required,r.field))]):u=[].concat(r.message).map(nv(r,a)),n(u);var f={};r.defaultField&&Object.keys(t.value).map(function(e){f[e]=r.defaultField}),f=Us(Us({},f),t.rule.fields);var p={};Object.keys(f).forEach(function(e){var t=f[e];p[e]=(Array.isArray(t)?t:[t]).map(s.bind(null,e))});var m=new e(p);m.messages(o.messages),t.rule.options&&(t.rule.options.messages=o.messages,t.rule.options.error=o.error),m.validate(t.value,t.rule.options||o,function(e){var t=[];u&&u.length&&t.push.apply(t,pa(u)),e&&e.length&&t.push.apply(t,pa(e)),n(t.length?t:null)})}}var l;if(r.asyncValidator)l=r.asyncValidator(r,t.value,c,t.source,o);else if(r.validator){try{l=r.validator(r,t.value,c,t.source,o)}catch(e){var u,f;(u=(f=console).error)==null||u.call(f,e),o.suppressValidatorError||setTimeout(function(){throw e},0),c(e.message)}l===!0?c():l===!1?c(typeof r.message==`function`?r.message(r.fullField||r.field):r.message||`${r.fullField||r.field} fails`):l instanceof Array?c(l):l instanceof Error&&c(l.message)}l&&l.then&&l.then(function(){return c()},function(e){return c(e)})},function(e){c(e)},a)}},{key:`getType`,value:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type=`pattern`),typeof e.validator!=`function`&&e.type&&!Av.hasOwnProperty(e.type))throw Error(K_(`Unknown rule type %s`,e.type));return e.type||`string`}},{key:`getValidationMethod`,value:function(e){if(typeof e.validator==`function`)return e.validator;var t=Object.keys(e),n=t.indexOf(`message`);return n!==-1&&t.splice(n,1),t.length===1&&t[0]===`required`?Av.required:Av[this.getType(e)]||void 0}}]),e}();Vs(jv,`register`,function(e,t){if(typeof t!=`function`)throw Error(`Cannot register a validator by type, validator is not a function`);Av[e]=t}),Vs(jv,`warning`,wee),Vs(jv,`messages`,V_),Vs(jv,`validators`,Av);var Mv="'${name}' is not a valid ${type}",Nv={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Mv,method:Mv,array:Mv,object:Mv,number:Mv,date:Mv,boolean:Mv,integer:Mv,float:Mv,regexp:Mv,email:Mv,tel:Mv,url:Mv,hex:Mv},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},Pv=jv;function Fv(e,t){return e.replace(/\\?\$\{\w+\}/g,e=>e.startsWith(`\\`)?e.slice(1):t[e.slice(2,-1)])}var Iv=`CODE_LOGIC_ERROR`;async function Lv(e,t,n,r,i){let a={...n};if(delete a.ruleIndex,Pv.warning=()=>void 0,a.validator){let e=a.validator;a.validator=(...t)=>{try{return e(...t)}catch(e){return console.error(e),Promise.reject(Iv)}}}let o=null;a&&a.type===`array`&&a.defaultField&&(o=a.defaultField,delete a.defaultField);let s=new Pv({[e]:[a]}),c=Li(Nv,r.validateMessages);s.messages(c);let l=[];try{await Promise.resolve(s.validate({[e]:t},{...r}))}catch(e){e.errors&&(l=e.errors.map(({message:e},t)=>{let n=e===Iv?c.default:e;return S.isValidElement(n)?S.cloneElement(n,{key:`error_${t}`}):n}))}if(!l.length&&o&&Array.isArray(t)&&t.length>0)return(await Promise.all(t.map((t,n)=>Lv(`${e}.${n}`,t,o,r,i)))).reduce((e,t)=>[...e,...t],[]);let u={...n,name:e,enum:(n.enum||[]).join(`, `),...i};return l.map(e=>typeof e==`string`?Fv(e,u):e)}function Rv(e,t,n,r,i,a){let o=e.join(`.`),s=n.map((e,t)=>{let n=e.validator,r={...e,ruleIndex:t};return n&&(r.validator=(e,t,r)=>{let i=!1,a=n(e,t,(...e)=>{Promise.resolve().then(()=>{ui(!i,"Your validator function has already return a promise. `callback` will be ignored."),i||r(...e)})});i=a&&typeof a.then==`function`&&typeof a.catch==`function`,ui(i,"`callback` is deprecated. Please return a promise instead."),i&&a.then(()=>{r()}).catch(e=>{r(e||` `)})}),r}).sort(({warningOnly:e,ruleIndex:t},{warningOnly:n,ruleIndex:r})=>!!e==!!n?t-r:e?1:-1),c;if(i===!0)c=new Promise(async(e,n)=>{for(let e=0;eLv(o,t,e,r,a).then(t=>({errors:t,rule:e})));c=(i?Bv(e):zv(e)).then(e=>Promise.reject(e))}return c.catch(e=>e),c}async function zv(e){return Promise.all(e).then(e=>[].concat(...e))}async function Bv(e){let t=0;return new Promise(n=>{e.forEach(r=>{r.then(r=>{r.errors.length&&n([r]),t+=1,t===e.length&&n([])})})})}function Vv(e){return R_(e)}function Hv(e,t){let n={};return t.forEach(t=>{let r=Ai(e,t);n=Mi(n,t,r)}),n}function Uv(e,t,n=!1){return e&&e.some(e=>Wv(t,e,n))}function Wv(e,t,n=!1){return!e||!t||!n&&e.length!==t.length?!1:t.every((t,n)=>e[n]===t)}function Gv(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||typeof e!=`object`||typeof t!=`object`)return!1;let n=Object.keys(e),r=Object.keys(t);return[...new Set([...n,...r])].every(n=>{let r=e[n],i=t[n];return typeof r==`function`&&typeof i==`function`?!0:r===i})}function Kv(e,...t){let n=t[0];return n&&n.target&&typeof n.target==`object`&&e in n.target?n.target[e]:n}function qv(e,t,n){let{length:r}=e;if(t<0||t>=r||n<0||n>=r)return e;let i=e[t],a=t-n;return a>0?[...e.slice(0,n),i,...e.slice(n,t),...e.slice(t+1,r)]:a<0?[...e.slice(0,t),...e.slice(t+1,n+1),i,...e.slice(n+1,r)]:e}var Jv=e=>{let t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(null)},Yv=class{namePathList=[];taskId=0;watcherList=new Set;form;constructor(e){this.form=e}register(e){return this.watcherList.add(e),()=>{this.watcherList.delete(e)}}notify(e){e.forEach(e=>{this.namePathList.every(t=>!Wv(t,e))&&this.namePathList.push(e)}),this.doBatch()}doBatch(){this.taskId+=1;let e=this.taskId;Jv(()=>{if(e===this.taskId&&this.watcherList.size){let e=this.form.getForm(),t=e.getFieldsValue(),n=e.getFieldsValue(!0);this.watcherList.forEach(e=>{e(t,n,this.namePathList)}),this.namePathList=[]}})}};async function Xv(){return new Promise(e=>{Jv(()=>{Oi(()=>{e()})})})}function Zv(){return Zv=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{preserve:e,isListField:t,name:n}=this.props;this.cancelRegisterFunc&&this.cancelRegisterFunc(t,e,Vv(n)),this.cancelRegisterFunc=null};getNamePath=()=>{let{name:e,fieldContext:t}=this.props,{prefixName:n=[]}=t;return e===void 0?[]:[...n,...e]};getRules=()=>{let{rules:e=[],fieldContext:t}=this.props;return e.map(e=>typeof e==`function`?e(t):e)};reRender(){this.mounted&&this.forceUpdate()}refresh=()=>{this.mounted&&this.setState(({resetCount:e})=>({resetCount:e+1}))};metaCache=null;triggerMetaEvent=e=>{let{onMetaChange:t}=this.props;if(t){let n={...this.getMeta(),destroy:e};fi(this.metaCache,n)||t(n),this.metaCache=n}else this.metaCache=null};onStoreChange=(e,t,n)=>{let{shouldUpdate:r,dependencies:i=[],onReset:a}=this.props,{store:o}=n,s=this.getNamePath(),c=this.getValue(e),l=this.getValue(o),u=t&&Uv(t,s);switch(n.type===`valueUpdate`&&n.source===`external`&&!fi(c,l)&&(this.touched=!0,this.dirty=!0,this.validatePromise=null,this.errors=Qv,this.warnings=$v,this.triggerMetaEvent()),n.type){case`reset`:if(!t||u){this.touched=!1,this.dirty=!1,this.validatePromise=void 0,this.errors=Qv,this.warnings=$v,this.triggerMetaEvent(),a?.(),this.refresh();return}break;case`remove`:if(r&&ey(r,e,o,c,l,n)){this.reRender();return}break;case`setField`:{let{data:i}=n;if(u){`touched`in i&&(this.touched=i.touched),`validating`in i&&!(`originRCField`in i)&&(this.validatePromise=i.validating?Promise.resolve([]):null),`errors`in i&&(this.errors=i.errors||Qv),`warnings`in i&&(this.warnings=i.warnings||$v),this.dirty=!0,this.triggerMetaEvent(),this.reRender();return}else if(`value`in i&&Uv(t,s,!0)){this.reRender();return}if(r&&!s.length&&ey(r,e,o,c,l,n)){this.reRender();return}break}case`dependenciesUpdate`:if(i.map(Vv).some(e=>Uv(n.relatedFields,e))){this.reRender();return}break;default:if(u||(!i.length||s.length||r)&&ey(r,e,o,c,l,n)){this.reRender();return}break}r===!0&&this.reRender()};validateRules=e=>{let t=this.getNamePath(),n=this.getValue(),{triggerName:r,validateOnly:i=!1,delayFrame:a}=e||{},o=Promise.resolve().then(async()=>{if(!this.mounted)return[];let{validateFirst:i=!1,messageVariables:s,validateDebounce:c}=this.props;a&&await Xv();let l=this.getRules();if(r&&(l=l.filter(e=>e).filter(e=>{let{validateTrigger:t}=e;return t?R_(t).includes(r):!0})),c&&r&&(await new Promise(e=>{setTimeout(e,c)}),this.validatePromise!==o))return[];let u=Rv(t,n,l,e,i,s);return u.catch(e=>e).then((e=Qv)=>{if(this.validatePromise===o){this.validatePromise=null;let t=[],n=[];e.forEach?.(({rule:{warningOnly:e},errors:r=Qv})=>{e?n.push(...r):t.push(...r)}),this.errors=t,this.warnings=n,this.triggerMetaEvent(),this.reRender()}}),u});return i?o:(this.validatePromise=o,this.dirty=!0,this.errors=Qv,this.warnings=$v,this.triggerMetaEvent(),this.reRender(),o)};isFieldValidating=()=>!!this.validatePromise;isFieldTouched=()=>this.touched;isFieldDirty=()=>{if(this.dirty||this.props.initialValue!==void 0)return!0;let{fieldContext:e}=this.props,{getInitialValue:t}=e.getInternalHooks(P_);return t(this.getNamePath())!==void 0};getErrors=()=>this.errors;getWarnings=()=>this.warnings;isListField=()=>this.props.isListField;isList=()=>this.props.isList;isPreserve=()=>this.props.preserve;getMeta=()=>(this.prevValidating=this.isFieldValidating(),{touched:this.isFieldTouched(),validating:this.prevValidating,errors:this.errors,warnings:this.warnings,name:this.getNamePath(),validated:this.validatePromise===null});getOnlyChild=e=>{if(typeof e==`function`){let t=this.getMeta();return{...this.getOnlyChild(e(this.getControlled(),t,this.props.fieldContext)),isFunction:!0}}let t=ki(e);return t.length!==1||!S.isValidElement(t[0])?{child:t,isFunction:!1}:{child:t[0],isFunction:!1}};getValue=e=>{let{getFieldsValue:t}=this.props.fieldContext,n=this.getNamePath();return Ai(e||t(!0),n)};getControlled=(e={})=>{let{name:t,trigger:n=`onChange`,validateTrigger:r,getValueFromEvent:i,normalize:a,valuePropName:o=`value`,getValueProps:s,fieldContext:c}=this.props,l=r===void 0?c.validateTrigger:r,u=this.getNamePath(),{getInternalHooks:d,getFieldsValue:f}=c,{dispatch:p}=d(P_),m=this.getValue(),h=s||(e=>({[o]:e})),g=e[n],_=t===void 0?{}:h(m),v={...e,..._};return v[n]=(...e)=>{this.touched=!0,this.dirty=!0,this.triggerMetaEvent();let t;t=i?i(...e):Kv(o,...e),a&&(t=a(t,m,f(!0))),t!==m&&p({type:`updateValue`,namePath:u,value:t}),g&&g(...e)},R_(l||[]).forEach(e=>{let t=v[e];v[e]=(...n)=>{t&&t(...n);let{rules:r}=this.props;r&&r.length&&p({type:`validateField`,namePath:u,triggerName:e})}}),v};render(){let{resetCount:e}=this.state,{children:t}=this.props,{child:n,isFunction:r}=this.getOnlyChild(t),i;return r?i=n:S.isValidElement(n)?i=S.cloneElement(n,this.getControlled(n.props)):(ui(!n,"`children` of Field is not validate ReactElement."),i=n),S.createElement(S.Fragment,{key:e},i)}};function ny({name:e,...t}){let n=S.useContext(I_),r=S.useContext(L_),i=e===void 0?void 0:Vv(e),a=t.isListField??!!r,o=`keep`;return a||(o=`_${(i||[]).join(`_`)}`),S.createElement(ty,Zv({key:o,name:i,isListField:a},t,{fieldContext:n}))}function ry({name:e,initialValue:t,children:n,rules:r,validateTrigger:i,isListField:a}){let o=S.useContext(I_),s=S.useContext(L_),c=S.useRef({keys:[],id:0}).current,l=S.useMemo(()=>[...Vv(o.prefixName)||[],...Vv(e)],[o.prefixName,e]),u=S.useMemo(()=>({...o,prefixName:l}),[o,l]),d=S.useMemo(()=>({getKey:e=>{let t=l.length,n=e[t];return[c.keys[n],e.slice(t+1)]}}),[c,l]);return typeof n==`function`?S.createElement(L_.Provider,{value:d},S.createElement(I_.Provider,{value:u},S.createElement(ny,{name:[],shouldUpdate:(e,t,{source:n})=>n===`internal`?!1:e!==t,rules:r,validateTrigger:i,initialValue:t,isList:!0,isListField:a??!!s},({value:e=[],onChange:t},r)=>{let{getFieldValue:i}=o,a=()=>i(l||[])||[],s={add:(e,n)=>{let r=a();n>=0&&n<=r.length?(c.keys=[...c.keys.slice(0,n),c.id,...c.keys.slice(n)],t([...r.slice(0,n),e,...r.slice(n)])):(c.keys=[...c.keys,c.id],t([...r,e])),c.id+=1},remove:e=>{let n=a(),r=new Set(Array.isArray(e)?e:[e]);r.size<=0||(c.keys=c.keys.filter((e,t)=>!r.has(t)),t(n.filter((e,t)=>!r.has(t))))},move(e,n){if(e===n)return;let r=a();e<0||e>=r.length||n<0||n>=r.length||(c.keys=qv(c.keys,e,n),t(qv(r,e,n)))}},u=e||[];return Array.isArray(u)||(u=[]),n(u.map((e,t)=>{let n=c.keys[t];return n===void 0&&(c.keys[t]=c.id,n=c.keys[t],c.id+=1),{name:t,key:n,isListField:!0}}),s,r)}))):(ui(!1,`Form.List only accepts function as children.`),null)}function iy(e){let t=!1,n=e.length,r=[];return e.length?new Promise((i,a)=>{e.forEach((e,o)=>{e.catch(e=>(t=!0,e)).then(e=>{--n,r[o]=e,!(n>0)&&(t&&a(r),i(r))})})}):Promise.resolve([])}var ay=`__@field_split__`;function oy(e){return e.map(e=>`${typeof e}:${e}`).join(ay)}var sy=class{kvs=new Map;set(e,t){this.kvs.set(oy(e),t)}get(e){return this.kvs.get(oy(e))}getAsPrefix(e){let t=oy(e),n=t+ay,r=[],i=this.kvs.get(t);return i!==void 0&&r.push(i),this.kvs.forEach((e,t)=>{t.startsWith(n)&&r.push(e)}),r}update(e,t){let n=t(this.get(e));n?this.set(e,n):this.delete(e)}delete(e){this.kvs.delete(oy(e))}map(e){return[...this.kvs.entries()].map(([t,n])=>e({key:t.split(ay).map(e=>{let[,t,n]=e.match(/^([^:]*):(.*)$/);return t===`number`?Number(n):n}),value:n}))}toJSON(){let e={};return this.map(({key:t,value:n})=>(e[t.join(`.`)]=n,null)),e}},cy=class{formHooked=!1;forceRootUpdate;subscribable=!0;store={};fieldEntities=[];initialValues={};callbacks={};validateMessages=null;preserve=null;lastValidatePromise=null;watcherCenter=new Yv(this);constructor(e){this.forceRootUpdate=e}getForm=()=>({getFieldValue:this.getFieldValue,getFieldsValue:this.getFieldsValue,getFieldError:this.getFieldError,getFieldWarning:this.getFieldWarning,getFieldsError:this.getFieldsError,isFieldsTouched:this.isFieldsTouched,isFieldTouched:this.isFieldTouched,isFieldValidating:this.isFieldValidating,isFieldsValidating:this.isFieldsValidating,resetFields:this.resetFields,setFields:this.setFields,setFieldValue:this.setFieldValue,setFieldsValue:this.setFieldsValue,validateFields:this.validateFields,submit:this.submit,_init:!0,getInternalHooks:this.getInternalHooks});getInternalHooks=e=>e===`RC_FORM_INTERNAL_HOOKS`?(this.formHooked=!0,{dispatch:this.dispatch,initEntityValue:this.initEntityValue,registerField:this.registerField,useSubscribe:this.useSubscribe,setInitialValues:this.setInitialValues,destroyForm:this.destroyForm,setCallbacks:this.setCallbacks,setValidateMessages:this.setValidateMessages,getFields:this.getFields,setPreserve:this.setPreserve,getInitialValue:this.getInitialValue,registerWatch:this.registerWatch}):(ui(!1,"`getInternalHooks` is internal usage. Should not call directly."),null);useSubscribe=e=>{this.subscribable=e};prevWithoutPreserves=null;setInitialValues=(e,t)=>{if(this.initialValues=e||{},t){let t=Li(e,this.store);this.prevWithoutPreserves?.map(({key:n})=>{t=Mi(t,n,Ai(e,n))}),this.prevWithoutPreserves=null,this.updateStore(t)}};destroyForm=e=>{if(e)this.updateStore({});else{let e=new sy;this.getFieldEntities(!0).forEach(t=>{this.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)}),this.prevWithoutPreserves=e}};getInitialValue=e=>{let t=Ai(this.initialValues,e);return e.length?Li(t):t};setCallbacks=e=>{this.callbacks=e};setValidateMessages=e=>{this.validateMessages=e};setPreserve=e=>{this.preserve=e};registerWatch=e=>this.watcherCenter.register(e);notifyWatch=(e=[])=>{this.watcherCenter.notify(e)};timeoutId=null;warningUnhooked=()=>{};updateStore=e=>{this.store=e};getFieldEntities=(e=!1)=>e?this.fieldEntities.filter(e=>e.getNamePath().length):this.fieldEntities;getFieldsMap=(e=!1)=>{let t=new sy;return this.getFieldEntities(e).forEach(e=>{let n=e.getNamePath();t.set(n,e)}),t};getFieldEntitiesForNamePathList=(e,t=!1)=>{if(!e)return this.getFieldEntities(!0);let n=this.getFieldsMap(!0);return t?e.flatMap(e=>{let t=Vv(e),r=n.getAsPrefix(t);return r.length?r:[{INVALIDATE_NAME_PATH:t}]}):e.map(e=>{let t=Vv(e);return n.get(t)||{INVALIDATE_NAME_PATH:Vv(e)}})};getFieldsValue=(e,t)=>{this.warningUnhooked();let n,r;if(e===!0||Array.isArray(e)?(n=e,r=t):e&&typeof e==`object`&&(r=e.filter),n===!0&&!r)return this.store;let i=this.getFieldEntitiesForNamePathList(Array.isArray(n)?n:null,!0),a=[],o=[];i.forEach(e=>{let t=e.INVALIDATE_NAME_PATH||e.getNamePath();if(e.isList?.()){o.push(t);return}if(!r)a.push(t);else{let n=`getMeta`in e?e.getMeta():null;r(n)&&a.push(t)}});let s=Hv(this.store,a.map(Vv));return o.forEach(e=>{Ai(s,e)||(s=Mi(s,e,[]))}),s};getFieldValue=e=>{this.warningUnhooked();let t=Vv(e);return Ai(this.store,t)};getFieldsError=e=>(this.warningUnhooked(),this.getFieldEntitiesForNamePathList(e).map((t,n)=>t&&!t.INVALIDATE_NAME_PATH?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:Vv(e[n]),errors:[],warnings:[]}));getFieldError=e=>{this.warningUnhooked();let t=Vv(e);return this.getFieldsError([t])[0].errors};getFieldWarning=e=>{this.warningUnhooked();let t=Vv(e);return this.getFieldsError([t])[0].warnings};isFieldsTouched=(...e)=>{this.warningUnhooked();let[t,n]=e,r,i=!1;e.length===0?r=null:e.length===1?Array.isArray(t)?(r=t.map(Vv),i=!1):(r=null,i=t):(r=t.map(Vv),i=n);let a=this.getFieldEntities(!0),o=e=>e.isFieldTouched();if(!r)return i?a.every(e=>o(e)||e.isList()):a.some(o);let s=new sy;r.forEach(e=>{s.set(e,[])}),a.forEach(e=>{let t=e.getNamePath();r.forEach(n=>{n.every((e,n)=>t[n]===e)&&s.update(n,t=>[...t,e])})});let c=e=>e.some(o),l=s.map(({value:e})=>e);return i?l.every(c):l.some(c)};isFieldTouched=e=>(this.warningUnhooked(),this.isFieldsTouched([e]));isFieldsValidating=e=>{this.warningUnhooked();let t=this.getFieldEntities();if(!e)return t.some(e=>e.isFieldValidating());let n=e.map(Vv);return t.some(e=>Uv(n,e.getNamePath())&&e.isFieldValidating())};isFieldValidating=e=>(this.warningUnhooked(),this.isFieldsValidating([e]));resetWithFieldInitialValue=(e={})=>{let t=new sy,n=this.getFieldEntities(!0);n.forEach(e=>{let{initialValue:n}=e.props,r=e.getNamePath();if(n!==void 0){let i=t.get(r)||new Set;i.add({entity:e,value:n}),t.set(r,i)}});let r=n=>{n.forEach(n=>{let{initialValue:r}=n.props;if(r!==void 0){let r=n.getNamePath();if(this.getInitialValue(r)!==void 0)ui(!1,`Form already set 'initialValues' with path '${r.join(`.`)}'. Field can not overwrite it.`);else{let i=t.get(r);if(i&&i.size>1)ui(!1,`Multiple Field with path '${r.join(`.`)}' set 'initialValue'. Can not decide which one to pick.`);else if(i){let t=this.getFieldValue(r);!n.isListField()&&(!e.skipExist||t===void 0)&&this.updateStore(Mi(this.store,r,[...i][0].value))}}}})},i;e.entities?i=e.entities:e.namePathList?(i=[],e.namePathList.forEach(e=>{let n=t.get(e);n&&i.push(...[...n].map(e=>e.entity))})):i=n,r(i)};resetFields=e=>{this.warningUnhooked();let t=this.store;if(!e){this.updateStore(Li(this.initialValues)),this.resetWithFieldInitialValue(),this.notifyObservers(t,null,{type:`reset`}),this.notifyWatch();return}let n=e.map(Vv);n.forEach(e=>{let t=this.getInitialValue(e);this.updateStore(Mi(this.store,e,t))}),this.resetWithFieldInitialValue({namePathList:n}),this.notifyObservers(t,n,{type:`reset`}),this.notifyWatch(n)};setFields=e=>{this.warningUnhooked();let t=this.store,n=[];e.forEach(e=>{let{name:r,...i}=e,a=Vv(r);n.push(a),`value`in i&&this.updateStore(Mi(this.store,a,i.value)),this.notifyObservers(t,[a],{type:`setField`,data:e})}),this.notifyWatch(n)};getFields=()=>this.getFieldEntities(!0).map(e=>{let t=e.getNamePath(),n={...e.getMeta(),name:t,value:this.getFieldValue(t)};return Object.defineProperty(n,`originRCField`,{value:!0}),n});initEntityValue=e=>{let{initialValue:t}=e.props;if(t!==void 0){let n=e.getNamePath();Ai(this.store,n)===void 0&&this.updateStore(Mi(this.store,n,t))}};isMergedPreserve=e=>(e===void 0?this.preserve:e)??!0;registerField=e=>{this.fieldEntities.push(e);let t=e.getNamePath();if(this.notifyWatch([t]),e.props.initialValue!==void 0){let t=this.store;this.resetWithFieldInitialValue({entities:[e],skipExist:!0}),this.notifyObservers(t,[e.getNamePath()],{type:`valueUpdate`,source:`internal`})}return(n,r,i=[])=>{if(this.fieldEntities=this.fieldEntities.filter(t=>t!==e),!this.isMergedPreserve(r)&&(!n||i.length>1)){let e=n?void 0:this.getInitialValue(t);if(t.length&&this.getFieldValue(t)!==e&&this.fieldEntities.every(e=>!Wv(e.getNamePath(),t))){let n=this.store;this.updateStore(Mi(n,t,e,!0)),this.notifyObservers(n,[t],{type:`remove`}),this.triggerDependenciesUpdate(n,t)}}this.notifyWatch([t])}};dispatch=e=>{switch(e.type){case`updateValue`:{let{namePath:t,value:n}=e;this.updateValue(t,n);break}case`validateField`:{let{namePath:t,triggerName:n}=e;this.validateFields([t],{triggerName:n});break}default:}};notifyObservers=(e,t,n)=>{if(this.subscribable){let r={...n,store:this.getFieldsValue(!0)};this.getFieldEntities().forEach(({onStoreChange:n})=>{n(e,t,r)})}else this.forceRootUpdate()};triggerDependenciesUpdate=(e,t)=>{let n=this.getDependencyChildrenFields(t);return n.length&&this.validateFields(n,{delayFrame:!0}),this.notifyObservers(e,n,{type:`dependenciesUpdate`,relatedFields:[t,...n]}),n};updateValue=(e,t)=>{let n=Vv(e),r=this.store;this.updateStore(Mi(this.store,n,t)),this.notifyObservers(r,[n],{type:`valueUpdate`,source:`internal`}),this.notifyWatch([n]);let i=this.triggerDependenciesUpdate(r,n),{onValuesChange:a}=this.callbacks;if(a){let e=Hv(this.store,[n]);a(e,Mi(this.getFieldsValue(),n,Ai(e,n)))}this.triggerOnFieldsChange([n,...i])};setFieldsValue=e=>{this.warningUnhooked();let t=this.store;if(e){let t=Li(this.store,e);this.updateStore(t)}this.notifyObservers(t,null,{type:`valueUpdate`,source:`external`}),this.notifyWatch()};setFieldValue=(e,t)=>{this.setFields([{name:e,value:t,errors:[],warnings:[],touched:!0}])};getDependencyChildrenFields=e=>{let t=new Set,n=[],r=new sy;this.getFieldEntities().forEach(e=>{let{dependencies:t}=e.props;(t||[]).forEach(t=>{let n=Vv(t);r.update(n,(t=new Set)=>(t.add(e),t))})});let i=e=>{(r.get(e)||new Set).forEach(e=>{if(!t.has(e)){t.add(e);let r=e.getNamePath();e.isFieldDirty()&&r.length&&(n.push(r),i(r))}})};return i(e),n};triggerOnFieldsChange=(e,t)=>{let{onFieldsChange:n}=this.callbacks;if(n){let r=this.getFields();if(t){let e=new sy;t.forEach(({name:t,errors:n})=>{e.set(t,n)}),r.forEach(t=>{t.errors=e.get(t.name)||t.errors})}let i=r.filter(({name:t})=>Uv(e,t));i.length&&n(i,r)}};validateFields=(e,t)=>{this.warningUnhooked();let n,r;Array.isArray(e)||typeof e==`string`||typeof t==`string`?(n=e,r=t):r=e;let i=!!n,a=i?n.map(Vv):[],o=[...a],s=[],c=String(Date.now()),l=new Set,{recursive:u,dirty:d}=r||{};this.getFieldEntities(!0).forEach(e=>{let t=e.getNamePath();if(i||((!e.isList()||!a.some(e=>Wv(e,t,!0)))&&o.push(t),a.push(t)),!(!e.props.rules||!e.props.rules.length)&&!(d&&!e.isFieldDirty())&&(l.add(t.join(c)),!i||Uv(a,t,u))){let n=e.validateRules({validateMessages:{...Nv,...this.validateMessages},...r});s.push(n.then(()=>({name:t,errors:[],warnings:[]})).catch(e=>{let n=[],r=[];return e.forEach?.(({rule:{warningOnly:e},errors:t})=>{e?r.push(...t):n.push(...t)}),n.length?Promise.reject({name:t,errors:n,warnings:r}):{name:t,errors:n,warnings:r}}))}});let f=iy(s);this.lastValidatePromise=f,f.catch(e=>e).then(e=>{let t=e.map(({name:e})=>e);this.notifyObservers(this.store,t,{type:`validateFinish`}),this.triggerOnFieldsChange(t,e)});let p=f.then(()=>this.lastValidatePromise===f?Promise.resolve(this.getFieldsValue(o)):Promise.reject([])).catch(e=>{let t=e.filter(e=>e&&e.errors.length),n=t[0]?.errors?.[0];return Promise.reject({message:n,values:this.getFieldsValue(a),errorFields:t,outOfDate:this.lastValidatePromise!==f})});p.catch(e=>e);let m=a.filter(e=>l.has(e.join(c)));return this.triggerOnFieldsChange(m),p};submit=()=>{this.warningUnhooked(),this.validateFields().then(e=>{let{onFinish:t}=this.callbacks;if(t)try{t(e)}catch(e){console.error(e)}}).catch(e=>{let{onFinishFailed:t}=this.callbacks;t&&t(e)})}};function ly(e){let t=S.useRef(null),[,n]=S.useState({});return t.current||(e?t.current=e:t.current=new cy(()=>{n({})}).getForm()),[t.current]}var uy=S.createContext({triggerFormChange:()=>{},triggerFormFinish:()=>{},registerForm:()=>{},unregisterForm:()=>{}}),dy=({validateMessages:e,onFormChange:t,onFormFinish:n,children:r})=>{let i=S.useContext(uy),a=S.useRef({});return S.createElement(uy.Provider,{value:{...i,validateMessages:{...i.validateMessages,...e},triggerFormChange:(e,n)=>{t&&t(e,{changedFields:n,forms:a.current}),i.triggerFormChange(e,n)},triggerFormFinish:(e,t)=>{n&&n(e,{values:t,forms:a.current}),i.triggerFormFinish(e,t)},registerForm:(e,t)=>{e&&(a.current={...a.current,[e]:t}),i.registerForm(e,t)},unregisterForm:e=>{let t={...a.current};delete t[e],a.current=t,i.unregisterForm(e)}}},r)};function fy(){return fy=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let g=S.useRef(null),_=S.useContext(uy),[v]=ly(r),{useSubscribe:y,setInitialValues:b,setCallbacks:x,setValidateMessages:C,setPreserve:w,destroyForm:T}=v.getInternalHooks(P_);S.useImperativeHandle(h,()=>({...v,nativeElement:g.current})),S.useEffect(()=>(_.registerForm(e,v),()=>{_.unregisterForm(e)}),[_,v,e]),C({..._.validateMessages,...s}),x({onValuesChange:l,onFieldsChange:(t,...n)=>{_.triggerFormChange(e,t),u&&u(t,...n)},onFinish:t=>{_.triggerFormFinish(e,t),d&&d(t)},onFinishFailed:f}),w(i);let E=S.useRef(null);b(t,!E.current),E.current||=!0,S.useEffect(()=>()=>T(p),[]);let D,O=typeof a==`function`;D=O?a(v.getFieldsValue(!0),v):a,y(!O);let k=S.useRef(null);S.useEffect(()=>{Gv(k.current||[],n||[])||v.setFields(n||[]),k.current=n},[n,v]);let A=S.useMemo(()=>({...v,validateTrigger:c}),[v,c]),j=S.createElement(L_.Provider,{value:null},S.createElement(I_.Provider,{value:A},D));return o===!1?j:S.createElement(o,fy({},m,{ref:g,onSubmit:e=>{e.preventDefault(),e.stopPropagation(),v.submit()},onReset:e=>{e.preventDefault(),v.resetFields(),m.onReset?.(e)}}),j)};function my(e){try{return JSON.stringify(e)}catch{return Math.random()}}function hy(...e){let[t,n={}]=e,r=z_(n)?{form:n}:n,i=r.form,[a,o]=(0,S.useState)(()=>typeof t==`function`?t({}):void 0),s=(0,S.useMemo)(()=>my(a),[a]),c=(0,S.useRef)(s);c.current=s;let l=(0,S.useContext)(I_),u=i||l,d=u&&u._init,{getFieldsValue:f,getInternalHooks:p}=u,{registerWatch:m}=p(P_),h=zn((e,n)=>{let i=r.preserve?n??f(!0):e??f(),s=typeof t==`function`?t(i):Ai(i,Vv(t));my(a)!==my(s)&&o(s)});return(0,S.useEffect)(()=>{d&&h()},[d,typeof t==`function`?t:JSON.stringify(t)]),(0,S.useEffect)(()=>{if(d)return m((e,t)=>{h(e,t)})},[d]),a}var gy=S.forwardRef(py);gy.FormProvider=dy,gy.Field=ny,gy.List=ry,gy.useForm=ly,gy.useWatch=hy;var _y=S.createContext({labelAlign:`right`,layout:`horizontal`,itemRef:()=>{}}),vy=S.createContext(null),yy=e=>{let t=gi(e,[`prefixCls`]);return S.createElement(dy,{...t})},by=S.createContext({prefixCls:``}),xy=S.createContext({}),Sy=({children:e,status:t,override:n})=>{let r=S.useContext(xy),i=S.useMemo(()=>{let e={...r};return n&&delete e.isFormItemInput,t&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[t,n,r]);return S.createElement(xy.Provider,{value:i},e)},Cy=S.createContext(void 0),wy=e=>{let{space:t,form:n,children:r}=e;if(!$d(r))return null;let i=r;return n&&(i=S.createElement(Sy,{override:!0,status:!0},i)),t&&(i=S.createElement(Oh,null,i)),i},Ty=()=>Bn()&&window.document.documentElement;function Ey(e,t,n){return(0,S.useMemo)(()=>({trap:t??!0,focusTriggerAfterClose:n??!0,...e}),[e,t,n])}var Dy=e=>{let{prefixCls:t,className:n,style:r,size:i,shape:a}=e,o=J({[`${t}-lg`]:i===`large`,[`${t}-sm`]:i===`small`}),s=J({[`${t}-circle`]:a===`circle`,[`${t}-square`]:a===`square`,[`${t}-round`]:a===`round`}),c=S.useMemo(()=>ef(i)?{width:i,height:i,lineHeight:`${i}px`}:{},[i]);return S.createElement(`span`,{className:J(t,o,s,n),style:{...c,...r}})},Oy=new Ms(`ant-skeleton-loading`,{"0%":{backgroundPosition:`100% 50%`},"100%":{backgroundPosition:`0 50%`}}),ky=e=>({height:e,lineHeight:Y(e)}),Ay=e=>({width:e,...ky(e)}),Tee=e=>({background:e.skeletonLoadingBackground,backgroundSize:`400% 100%`,animationName:Oy,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:`ease`,animationIterationCount:`infinite`}),jy=(e,t)=>({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal(),...ky(e)}),Eee=e=>{let{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:i,controlHeightSM:a}=e;return{[t]:{display:`inline-block`,verticalAlign:`top`,background:n,...Ay(r)},[`${t}${t}-circle`]:{borderRadius:`50%`},[`${t}${t}-lg`]:{...Ay(i)},[`${t}${t}-sm`]:{...Ay(a)}}},Dee=e=>{let{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:i,controlHeightSM:a,gradientFromColor:o,calc:s}=e;return{[r]:{display:`inline-block`,verticalAlign:`top`,background:o,borderRadius:n,...jy(t,s)},[`${r}-lg`]:{...jy(i,s)},[`${r}-sm`]:{...jy(a,s)}}},My=e=>{let{gradientFromColor:t,borderRadiusSM:n,imageSizeBase:r,calc:i}=e;return{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,verticalAlign:`middle`,background:t,borderRadius:n,...Ay(i(r).mul(2).equal())}},Oee=e=>({[e.skeletonNodeCls]:{...My(e)}}),kee=e=>{let{skeletonImageCls:t,imageSizeBase:n,calc:r}=e;return{[t]:{...My(e),[`${t}-path`]:{fill:`#bfbfbf`},[`${t}-svg`]:{...Ay(n),maxWidth:r(n).mul(4).equal(),maxHeight:r(n).mul(4).equal()},[`${t}-svg${t}-svg-circle`]:{borderRadius:`50%`}},[`${t}${t}-circle`]:{borderRadius:`50%`}}},Ny=(e,t,n)=>{let{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:`50%`},[`${n}${r}-round`]:{borderRadius:t}}},Py=(e,t)=>({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal(),...ky(e)}),Aee=e=>{let{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:i,controlHeightSM:a,gradientFromColor:o,calc:s}=e;return{[n]:{display:`inline-block`,verticalAlign:`top`,background:o,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal(),...Py(r,s)},...Ny(e,r,n),[`${n}-lg`]:{...Py(i,s)},...Ny(e,i,`${n}-lg`),[`${n}-sm`]:{...Py(a,s)},...Ny(e,a,`${n}-sm`)}},jee=e=>{let{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:i,skeletonButtonCls:a,skeletonInputCls:o,skeletonNodeCls:s,skeletonImageCls:c,controlHeight:l,controlHeightLG:u,controlHeightSM:d,gradientFromColor:f,padding:p,marginSM:m,borderRadius:h,titleHeight:g,blockRadius:_,paragraphLiHeight:v,controlHeightXS:y,paragraphMarginTop:b}=e;return{[t]:{display:`table`,width:`100%`,[`${t}-header`]:{display:`table-cell`,paddingInlineEnd:p,verticalAlign:`top`,[n]:{display:`inline-block`,verticalAlign:`top`,background:f,...Ay(l)},[`${n}-circle`]:{borderRadius:`50%`},[`${n}-lg`]:{...Ay(u)},[`${n}-sm`]:{...Ay(d)}},[`${t}-section`]:{display:`table-cell`,width:`100%`,verticalAlign:`top`,[r]:{width:`100%`,height:g,background:f,borderRadius:_,[`+ ${i}`]:{marginBlockStart:d}},[i]:{padding:0,"> li":{width:`100%`,height:v,listStyle:`none`,background:f,borderRadius:_,"+ li":{marginBlockStart:y}}},[`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:`61%`}},[`&-round ${t}-section`]:{[`${r}, ${i} > li`]:{borderRadius:h}}},[`${t}-with-avatar ${t}-section`]:{[r]:{marginBlockStart:m,[`+ ${i}`]:{marginBlockStart:b}}},[`${t}${t}-element`]:{display:`inline-block`,width:`auto`,...Aee(e),...Eee(e),...Dee(e),...Oee(e),...kee(e)},[`${t}${t}-block`]:{width:`100%`,[a]:{width:`100%`},[o]:{width:`100%`}},[`${t}${t}-active`]:{[` + `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-panel`]:{backgroundColor:i,borderTop:0},[`> ${t}-item > ${t}-panel > ${t}-body`]:{padding:r}}}},lee=e=>{let{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:`transparent`,border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-panel`]:{backgroundColor:`transparent`,border:0,[`> ${t}-body`]:{paddingBlock:n}}}}}},uee=Ql(`Collapse`,e=>{let t=dc(e,{collapseHeaderPaddingSM:`${Y(e.paddingXS)} ${Y(e.paddingSM)}`,collapseHeaderPaddingLG:`${Y(e.padding)} ${Y(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[oee(t),cee(t),lee(t),see(t),Kh(t)]},e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer,borderlessContentPadding:`${e.paddingXXS}px 16px ${e.padding}px`,borderlessContentBg:`transparent`})),t_=Object.assign(S.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r,expandIcon:i,className:a,style:o,classNames:s,styles:c}=ya(`collapse`),{prefixCls:l,className:u,rootClassName:d,style:f,bordered:p=!0,ghost:m,size:h,expandIconPlacement:g,expandIconPosition:_,children:v,destroyInactivePanel:y,destroyOnHidden:b,expandIcon:x,classNames:C,styles:w}=e,T=Oh(e=>h??e??`middle`),E=n(`collapse`,l),D=n(),[O,k]=uee(E),A=g??_??`start`,j={...e,size:T,bordered:p,expandIconPlacement:A},[M,N]=Cf([s,C],[c,w],{props:j}),P=x??i,F=S.useCallback((e={})=>um(typeof P==`function`?P(e):S.createElement(Vg,{rotate:e.isActive?r===`rtl`?-90:90:void 0,"aria-label":e.isActive?`expanded`:`collapsed`}),e=>({className:J(e.className,`${E}-arrow`)})),[P,E,r]),I=J(`${E}-icon-placement-${A}`,{[`${E}-borderless`]:!p,[`${E}-rtl`]:r===`rtl`,[`${E}-ghost`]:!!m,[`${E}-large`]:T===`large`,[`${E}-small`]:T===`small`},a,u,d,O,k,M.root),L=S.useMemo(()=>({..._h(D),motionAppear:!1,leavedClassName:`${E}-panel-hidden`}),[D,E]),R=S.useMemo(()=>v?ki(v).map(e=>e):null,[v]);return S.createElement($g,{ref:t,openMotion:L,...gi(e,[`rootClassName`]),expandIcon:F,prefixCls:E,className:I,style:{...N.root,...o,...f},classNames:M,styles:N,destroyOnHidden:b??y},R)}),{Panel:e_}),dee=e=>e instanceof Rg?e:new Rg(e),n_=(e,t)=>{let{r:n,g:r,b:i,a}=e.toRgb(),o=new Fg(e.toRgbString()).onBackground(t).toHsv();return a<=.5?o.v>.5:n*.299+r*.587+i*.114>192},r_=e=>{let{paddingInline:t,onlyIconSize:n,borderColorDisabled:r}=e;return dc(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n,colorBorderDisabled:r})},i_=e=>{let t=e.contentFontSize??e.fontSize,n=e.contentFontSizeSM??e.fontSize,r=e.contentFontSizeLG??e.fontSizeLG,i=e.contentLineHeight??Cc(t),a=e.contentLineHeightSM??Cc(n),o=e.contentLineHeightLG??Cc(r),s=n_(new Rg(e.colorBgSolid),`#fff`)?`#000`:`#fff`,c=Sc.reduce((t,n)=>({...t,[`${n}ShadowColor`]:`0 ${Y(e.controlOutlineWidth)} 0 ${Fl(e[`${n}1`],e.colorBgContainer)}`}),{}),l=e.colorBgContainerDisabled,u=e.colorBgContainerDisabled;return{...c,fontWeight:400,iconGap:e.marginXS,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorderDisabled,defaultGhostColor:e.colorBgContainer,ghostBg:`transparent`,defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:`inherit`,onlyIconSizeSM:`inherit`,onlyIconSizeLG:`inherit`,groupBorderColor:e.colorPrimaryHover,linkHoverBg:`transparent`,textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:s,contentFontSize:t,contentFontSizeSM:n,contentFontSizeLG:r,contentLineHeight:i,contentLineHeightSM:a,contentLineHeightLG:o,paddingBlock:Math.max((e.controlHeight-t*i)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-n*a)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-r*o)/2-e.lineWidth,0),defaultBgDisabled:l,dashedBgDisabled:u}},fee=e=>{let{componentCls:t,antCls:n,lineWidth:r}=e,[i,a]=tu(n,`btn`);return{[t]:[{[i(`border-width`)]:r,[i(`border-color`)]:`#000`,[i(`border-color-hover`)]:a(`border-color`),[i(`border-color-active`)]:a(`border-color`),[i(`border-color-disabled`)]:a(`border-color`),[i(`border-style`)]:`solid`,[i(`text-color`)]:`#000`,[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`),[i(`text-color-disabled`)]:a(`text-color`),[i(`bg-color`)]:`#ddd`,[i(`bg-color-hover`)]:a(`bg-color`),[i(`bg-color-active`)]:a(`bg-color`),[i(`bg-color-disabled`)]:e.colorBgContainerDisabled,[i(`bg-color-container`)]:e.colorBgContainer,[i(`shadow`)]:`none`},{border:[a(`border-width`),a(`border-style`),a(`border-color`)].join(` `),color:a(`text-color`),backgroundColor:a(`bg-color`),[`&:not(:disabled):not(${t}-disabled)`]:{"&:hover":{border:[a(`border-width`),a(`border-style`),a(`border-color-hover`)].join(` `),color:a(`text-color-hover`),backgroundColor:a(`bg-color-hover`)},"&:active":{border:[a(`border-width`),a(`border-style`),a(`border-color-active`)].join(` `),color:a(`text-color-active`),backgroundColor:a(`bg-color-active`)}}},{[`&${t}-variant-solid`]:{[i(`solid-bg-color`)]:a(`color-base`),[i(`solid-bg-color-hover`)]:a(`color-hover`),[i(`solid-bg-color-active`)]:a(`color-active`),[i(`border-color`)]:`transparent`,[i(`text-color`)]:e.colorTextLightSolid,[i(`bg-color`)]:a(`solid-bg-color`),[i(`bg-color-hover`)]:a(`solid-bg-color-hover`),[i(`bg-color-active`)]:a(`solid-bg-color-active`),boxShadow:a(`shadow`)},[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i(`border-color`)]:a(`color-base`),[i(`border-color-hover`)]:a(`color-hover`),[i(`border-color-active`)]:a(`color-active`),[i(`bg-color`)]:a(`bg-color-container`),[i(`text-color`)]:a(`color-base`),[i(`text-color-hover`)]:a(`color-hover`),[i(`text-color-active`)]:a(`color-active`),boxShadow:a(`shadow`)},[`&${t}-variant-dashed`]:{[i(`border-style`)]:`dashed`,[i(`bg-color-disabled`)]:e.dashedBgDisabled},[`&${t}-variant-filled`]:{[i(`border-color`)]:`transparent`,[i(`text-color`)]:a(`color-base`),[i(`bg-color`)]:a(`color-light`),[i(`bg-color-hover`)]:a(`color-light-hover`),[i(`bg-color-active`)]:a(`color-light-active`)},[`&${t}-variant-text, &${t}-variant-link`]:{[i(`border-color`)]:`transparent`,[i(`text-color`)]:a(`color-base`),[i(`text-color-hover`)]:a(`color-hover`),[i(`text-color-active`)]:a(`color-active`),[i(`bg-color`)]:`transparent`,[i(`bg-color-hover`)]:`transparent`,[i(`bg-color-active`)]:`transparent`,[`&:disabled, &${e.componentCls}-disabled`]:{background:`transparent`,borderColor:`transparent`}},[`&${t}-variant-text`]:{[i(`bg-color-hover`)]:a(`color-light`),[i(`bg-color-active`)]:a(`color-light-active`)}},{[`&${t}-variant-link`]:{[i(`color-base`)]:e.colorLink,[i(`color-hover`)]:e.colorLinkHover,[i(`color-active`)]:e.colorLinkActive,[i(`bg-color-hover`)]:e.linkHoverBg},[`&${t}-color-primary`]:{[i(`color-base`)]:e.colorPrimary,[i(`color-hover`)]:e.colorPrimaryHover,[i(`color-active`)]:e.colorPrimaryActive,[i(`color-light`)]:e.colorPrimaryBg,[i(`color-light-hover`)]:e.colorPrimaryBgHover,[i(`color-light-active`)]:e.colorPrimaryBorder,[i(`shadow`)]:e.primaryShadow,[`&${t}-variant-solid`]:{[i(`text-color`)]:e.primaryColor,[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`)}},[`&${t}-color-dangerous`]:{[i(`color-base`)]:e.colorError,[i(`color-hover`)]:e.colorErrorHover,[i(`color-active`)]:e.colorErrorActive,[i(`color-light`)]:e.colorErrorBg,[i(`color-light-hover`)]:e.colorErrorBgFilledHover,[i(`color-light-active`)]:e.colorErrorBgActive,[i(`shadow`)]:e.dangerShadow,[`&${t}-variant-solid`]:{[i(`text-color`)]:e.dangerColor,[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`)}},[`&${t}-color-default`]:{[i(`solid-bg-color`)]:e.colorBgSolid,[i(`solid-bg-color-hover`)]:e.colorBgSolidHover,[i(`solid-bg-color-active`)]:e.colorBgSolidActive,[i(`color-base`)]:e.defaultBorderColor,[i(`color-hover`)]:e.defaultHoverBorderColor,[i(`color-active`)]:e.defaultActiveBorderColor,[i(`color-light`)]:e.colorFillTertiary,[i(`color-light-hover`)]:e.colorFillSecondary,[i(`color-light-active`)]:e.colorFill,[i(`text-color`)]:e.defaultColor,[i(`text-color-hover`)]:e.defaultHoverColor,[i(`text-color-active`)]:e.defaultActiveColor,[i(`shadow`)]:e.defaultShadow,[`&${t}-variant-outlined`]:{[i(`bg-color-disabled`)]:e.defaultBgDisabled},[`&${t}-variant-solid`]:{[i(`text-color`)]:e.solidTextColor,[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`)},[`&${t}-variant-filled, &${t}-variant-text`]:{[i(`text-color-hover`)]:a(`text-color`),[i(`text-color-active`)]:a(`text-color`)},[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i(`text-color`)]:e.defaultColor,[i(`text-color-hover`)]:e.defaultHoverColor,[i(`text-color-active`)]:e.defaultActiveColor,[i(`bg-color-container`)]:e.defaultBg,[i(`bg-color-hover`)]:e.defaultHoverBg,[i(`bg-color-active`)]:e.defaultActiveBg},[`&${t}-variant-text`]:{[i(`text-color`)]:e.textTextColor,[i(`text-color-hover`)]:e.textTextHoverColor,[i(`text-color-active`)]:e.textTextActiveColor,[i(`bg-color-hover`)]:e.textHoverBg},[`&${t}-background-ghost`]:{[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i(`text-color`)]:e.defaultGhostColor,[i(`border-color`)]:e.defaultGhostBorderColor}}}},Sc.map(n=>{let r=e[`${n}6`],a=e[`${n}1`],o=e[`${n}Hover`],s=e[`${n}2`],c=e[`${n}3`],l=e[`${n}Active`],u=e[`${n}ShadowColor`];return{[`&${t}-color-${n}`]:{[i(`color-base`)]:r,[i(`color-hover`)]:o,[i(`color-active`)]:l,[i(`color-light`)]:a,[i(`color-light-hover`)]:s,[i(`color-light-active`)]:c,[i(`shadow`)]:u}}}),{[`&:disabled, &${e.componentCls}-disabled`]:{cursor:`not-allowed`,borderColor:e.colorBorderDisabled,background:a(`bg-color-disabled`),color:e.colorTextDisabled,boxShadow:`none`}},{[`&${t}-background-ghost`]:{[i(`bg-color`)]:e.ghostBg,[i(`bg-color-hover`)]:e.ghostBg,[i(`bg-color-active`)]:e.ghostBg,[i(`shadow`)]:`none`,[`&${t}-variant-outlined, &${t}-variant-dashed`]:{[i(`bg-color-hover`)]:e.ghostBg,[i(`bg-color-active`)]:e.ghostBg}}}]}},pee=e=>{let{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:i,motionDurationSlow:a,motionEaseInOut:o,iconGap:s,calc:c}=e;return{[t]:{outline:`none`,position:`relative`,display:`inline-flex`,gap:s,alignItems:`center`,justifyContent:`center`,fontWeight:r,whiteSpace:`nowrap`,textAlign:`center`,backgroundImage:`none`,cursor:`pointer`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:`none`,touchAction:`manipulation`,...gg(),"&:disabled > *":{pointerEvents:`none`},[`${t}-icon > svg`]:Wl(),"> a":{color:`currentColor`},"&:not(:disabled)":ql(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:`0.34em`},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:`-0.34em`,letterSpacing:`0.34em`},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:`none`}},[`&${t}-loading`]:{opacity:i,cursor:`default`},[`${t}-loading-icon`]:{transition:[`width`,`opacity`,`margin`].map(e=>`${e} ${a} ${o}`).join(`,`)},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:c(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:`row-reverse`,[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:c(s).mul(-1).equal()}}}}}},mee=e=>({minWidth:e.controlHeight,paddingInline:0,borderRadius:`50%`}),a_=(e,t=``)=>{let{componentCls:n,controlHeight:r,fontSize:i,borderRadius:a,buttonPaddingHorizontal:o,iconCls:s,buttonPaddingVertical:c,buttonIconOnlyFontSize:l}=e;return[{[t]:{fontSize:i,height:r,padding:`${Y(c)} ${Y(o)}`,borderRadius:a,[`&${n}-icon-only`]:{width:r,[s]:{fontSize:l}}}},{[`${n}${n}-circle${t}`]:mee(e)},{[`${n}${n}-round${t}`]:{borderRadius:e.controlHeight,[`&:not(${n}-icon-only)`]:{paddingInline:e.buttonPaddingHorizontal}}}]},hee=e=>a_(dc(e,{fontSize:e.contentFontSize}),e.componentCls),gee=e=>a_(dc(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM}),`${e.componentCls}-sm`),_ee=e=>a_(dc(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG}),`${e.componentCls}-lg`),vee=e=>{let{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:`100%`}}}},o_=Ql(`Button`,e=>{let t=r_(e);return[pee(t),hee(t),gee(t),_ee(t),vee(t),fee(t),Mg(t)]},i_,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function s_(e,t,n,r){let{focusElCls:i,focus:a,borderElCls:o}=n,s=o?`> *`:``,c=[`hover`,a?`focus`:null,`active`].filter(Boolean).map(e=>`&:${e} ${s}`).join(`,`);return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${r}-status-success)`]:{zIndex:2},"&-item":{[c]:{zIndex:3},...i?{[`&${i}`]:{zIndex:3}}:{},[`&[disabled] ${s}`]:{zIndex:0}}}}function c_(e,t,n){let{borderElCls:r}=n,i=r?`> ${r}`:``;return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${i}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function l_(e,t={focus:!0}){let{componentCls:n}=e,{componentCls:r}=t,i=r||n,a=`${i}-compact`;return{[a]:{...s_(e,a,t,i),...c_(i,a,t)}}}function u_(e,t,n){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${n}-status-success)`]:{zIndex:2},"&-item":{"&:hover,&:focus,&:active":{zIndex:3},"&[disabled]":{zIndex:0}}}}function d_(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function f_(e){let t=`${e.componentCls}-compact-vertical`;return{[t]:{...u_(e,t,e.componentCls),...d_(e.componentCls,t)}}}var p_=e=>{let{antCls:t,componentCls:n,lineWidth:r,calc:i,colorBgContainer:a}=e,o=`${n}-variant-solid:not([disabled])`,s=i(r).mul(-1).equal(),[c,l]=tu(t,`btn`),u=e=>({[`${n}-compact${e?`-vertical`:``}-item`]:{[c(`compact-connect-border-color`)]:l(`bg-color-hover`),[`&${o}`]:{transition:`none`,[`& + ${o}:before`]:[{position:`absolute`,backgroundColor:l(`compact-connect-border-color`),content:`""`},e?{top:s,insetInline:s,height:r}:{insetBlock:s,insetInlineStart:s,width:r}],"&:hover:before":{display:`none`}}}});return[u(),u(!0),{[`${o}${n}-color-default`]:{[c(`compact-connect-border-color`)]:`color-mix(in srgb, ${l(`bg-color-hover`)} 75%, ${a})`}}]},m_=eu([`Button`,`compact`],e=>{let t=r_(e);return[l_(t),f_(t),p_(t)]},i_);function h_(e){if(nf(e)){let t=e?.delay;return t=ef(t)?t:0,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}var g_={default:[`default`,`outlined`],primary:[`primary`,`solid`],dashed:[`default`,`dashed`],link:[`link`,`link`],text:[`default`,`text`]},__=S.forwardRef((e,t)=>{let{_skipSemantic:n,loading:r=!1,prefixCls:i,color:a,variant:o,type:s,danger:c=!1,shape:l,size:u,disabled:d,className:f,rootClassName:p,children:m,icon:h,iconPosition:g,iconPlacement:_,ghost:v=!1,block:y=!1,htmlType:b=`button`,classNames:x,styles:C,style:w,autoInsertSpace:T,autoFocus:E,...D}=e,O=ki(m),k=s||`default`,{getPrefixCls:A,direction:j,autoInsertSpace:M,className:N,style:P,classNames:F,styles:I,loadingIcon:L,shape:R,color:z,variant:B}=ya(`button`),V=l||R||`default`,[H,U]=(0,S.useMemo)(()=>{if(a&&o)return[a,o];if(s||c){let e=g_[k]||[];return c?[`danger`,e[1]]:e}return z&&B?[z,B]:[`default`,`outlined`]},[a,o,s,c,z,B,k]),[W,ee]=(0,S.useMemo)(()=>v&&U===`solid`?[H,`outlined`]:[H,U],[H,U,v]),te=W===`danger`,ne=te?`dangerous`:W,re=T??M??!0,G=A(`btn`,i),[ie,K]=o_(G),ae=(0,S.useContext)(hm),q=d??ae,oe=(0,S.useContext)(Nh),se=(0,S.useMemo)(()=>h_(r),[r]),[ce,le]=(0,S.useState)(se.loading),[ue,de]=(0,S.useState)(!1),fe=(0,S.useRef)(null),pe=lr(t,fe),me=O.length===1&&!h&&!Rh(ee),he=(0,S.useRef)(!0);S.useEffect(()=>(he.current=!1,()=>{he.current=!0}),[]),Hn(()=>{let e=null;se.delay>0?e=setTimeout(()=>{e=null,le(!0)},se.delay):le(se.loading);function t(){e&&=(clearTimeout(e),null)}return t},[se.delay,se.loading]),(0,S.useEffect)(()=>{if(!fe.current||!re)return;let e=fe.current.textContent||``;me&&Ih(e)?ue||de(!0):ue&&de(!1)}),(0,S.useEffect)(()=>{E&&fe.current&&fe.current.focus()},[]);let ge=S.useCallback(t=>{if(ce||q){t.preventDefault();return}e.onClick?.((`href`in e,t))},[e.onClick,ce,q]),{compactSize:_e,compactItemClassnames:ve}=Ah(G,j),ye=Oh(e=>u??_e??oe??e),be=ce?`loading`:h,xe=_??g??`start`,Se=gi(D,[`navigate`]),Ce={...e,type:k,color:W,variant:ee,danger:te,shape:V,size:ye,disabled:q,loading:ce,iconPlacement:xe},[we,Te]=Cf([n?void 0:F,x],[n?void 0:I,C],{props:Ce}),Ee=J(G,ie,K,{[`${G}-${V}`]:V!==`default`&&V!==`square`&&V,[`${G}-${k}`]:k,[`${G}-dangerous`]:c,[`${G}-color-${ne}`]:ne,[`${G}-variant-${ee}`]:ee,[`${G}-lg`]:ye===`large`,[`${G}-sm`]:ye===`small`,[`${G}-icon-only`]:!m&&m!==0&&!!be,[`${G}-background-ghost`]:v&&!Rh(ee),[`${G}-loading`]:ce,[`${G}-two-chinese-chars`]:ue&&re&&!ce,[`${G}-block`]:y,[`${G}-rtl`]:j===`rtl`,[`${G}-icon-end`]:xe===`end`},ve,f,p,N,we.root),De={...Te.root,...P,...w},Oe={className:we.icon,style:Te.icon},ke=e=>S.createElement(Vh,{prefixCls:G,...Oe},e),Ae=S.createElement(Gh,{existIcon:!!h,prefixCls:G,loading:ce,mount:he.current,...Oe}),je=nf(r)&&r.icon||L,Me;Me=h&&!ce?ke(h):r&&je?ke(je):Ae;let Ne=$d(m)?Bh(m,me&&re,Te.content,we.content):null;if(Se.href!==void 0)return S.createElement(`a`,{...Se,className:J(Ee,{[`${G}-disabled`]:q}),href:q?void 0:Se.href,style:De,onClick:ge,ref:pe,tabIndex:q?-1:0,"aria-disabled":q},Me,Ne);let Pe=S.createElement(`button`,{...D,type:b,className:Ee,style:De,onClick:ge,disabled:q,ref:pe},Me,Ne,ve&&S.createElement(m_,{prefixCls:G}));return Rh(ee)||(Pe=S.createElement(Dh,{component:`Button`,disabled:ce},Pe)),Pe});__.Group=Ph,__.__ANT_BUTTON=!0;var v_=e=>{let{type:t,children:n,prefixCls:r,buttonProps:i,close:a,autoFocus:o,emitEvent:s,isSilent:c,quitOnNullishReturnValue:l,actionFn:u}=e,d=S.useRef(!1),f=S.useRef(null),[p,m]=Wn(!1),h=(...e)=>{a?.(...e)};S.useEffect(()=>{let e=null;return o&&(e=setTimeout(()=>{f.current?.focus({preventScroll:!0})})),()=>{e&&clearTimeout(e)}},[o]);let g=e=>{af(e)&&(m(!0),e.then((...e)=>{m(!1,!0),h.apply(void 0,e),d.current=!1},e=>{if(m(!1,!0),d.current=!1,!c?.())return Promise.reject(e)}))},_=e=>{if(d.current)return;if(d.current=!0,!u){h();return}let t;if(s){if(t=u(e),l&&!af(t)){d.current=!1,h(e);return}}else if(u.length)t=u(a),d.current=!1;else if(t=u(),!af(t)){h();return}g(t)};return S.createElement(__,{...Lh(t),onClick:_,loading:p,prefixCls:r,...i,ref:f},n)},y_=S.createContext({}),{Provider:b_}=y_,x_=()=>{let{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:i,rootPrefixCls:a,close:o,onCancel:s,onConfirm:c,onClose:l}=(0,S.useContext)(y_);return i?S.createElement(v_,{isSilent:r,actionFn:s,close:(...e)=>{o?.(...e),c?.(!1),l?.()},autoFocus:e===`cancel`,buttonProps:t,prefixCls:`${a}-btn`},n):null},S_=()=>{let{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:i,okTextLocale:a,okType:o,onConfirm:s,onOk:c,onClose:l}=(0,S.useContext)(y_);return S.createElement(v_,{isSilent:n,type:o||`primary`,actionFn:c,close:(...e)=>{t?.(...e),s?.(!0),l?.()},autoFocus:e===`ok`,buttonProps:r,prefixCls:`${i}-btn`},a)},C_=S.createContext({});function w_(e,t,n){let r=t;return!r&&n&&(r=`${e}-${n}`),r}function T_(e,t){let n=e[`page${t?`Y`:`X`}Offset`],r=`scroll${t?`Top`:`Left`}`;if(typeof n!=`number`){let t=e.document;n=t.documentElement[r],typeof n!=`number`&&(n=t.body[r])}return n}function E_(e){let t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=T_(i),n.top+=T_(i,!0),n}var D_=S.memo(({children:e})=>e,(e,{shouldUpdate:t})=>!t);function O_(){return O_=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,className:r,style:i,title:a,ariaId:o,footer:s,closable:c,closeIcon:l,onClose:u,children:d,bodyStyle:f,bodyProps:p,modalRender:m,onMouseDown:h,onMouseUp:g,holderRef:_,visible:v,forceRender:y,width:b,height:x,classNames:C,styles:w,isFixedPos:T,focusTrap:E}=e,{panel:D}=S.useContext(C_),O=(0,S.useRef)(null),k=lr(_,D,O),[A]=Gr(v&&T&&E!==!1,()=>O.current);S.useImperativeHandle(t,()=>({focus:()=>{O.current?.focus({preventScroll:!0})}}));let j={};b!==void 0&&(j.width=b),x!==void 0&&(j.height=x);let M=s?S.createElement(`div`,{className:J(`${n}-footer`,C?.footer),style:{...w?.footer}},s):null,N=a?S.createElement(`div`,{className:J(`${n}-header`,C?.header),style:{...w?.header}},S.createElement(`div`,{className:J(`${n}-title`,C?.title),id:o,style:{...w?.title}},a)):null,P=(0,S.useMemo)(()=>typeof c==`object`&&c?c:c?{closeIcon:l??S.createElement(`span`,{className:`${n}-close-x`})}:{},[c,l,n]),F=xi(P,!0),I=typeof c==`object`&&c.disabled,L=c?S.createElement(`button`,O_({type:`button`,onClick:u,"aria-label":`Close`},F,{className:`${n}-close`,disabled:I}),P.closeIcon):null,R=S.createElement(`div`,{className:J(`${n}-container`,C?.container),style:w?.container},L,N,S.createElement(`div`,O_({className:J(`${n}-body`,C?.body),style:{...f,...w?.body}},p),d),M);return S.createElement(`div`,{key:`dialog-element`,role:`dialog`,"aria-labelledby":a?o:null,"aria-modal":`true`,ref:k,style:{...i,...j},className:J(n,r),onMouseDown:h,onMouseUp:g,tabIndex:-1,onFocus:e=>{A(e.target)}},S.createElement(D_,{shouldUpdate:v||y},m?m(R):R))});function A_(){return A_=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,title:r,style:i,className:a,visible:o,forceRender:s,destroyOnHidden:c,motionName:l,ariaId:u,onVisibleChanged:d,mousePosition:f}=e,p=(0,S.useRef)(null),m=(0,S.useRef)(null);S.useImperativeHandle(t,()=>({...m.current,inMotion:p.current.inMotion,enableMotion:p.current.enableMotion}));let[h,g]=S.useState(),_={};h&&(_.transformOrigin=h);function v(){if(!p.current?.nativeElement)return;let e=E_(p.current.nativeElement);g(f&&(f.x||f.y)?`${f.x-e.left}px ${f.y-e.top}px`:``)}return S.createElement(Od,{visible:o,onVisibleChanged:d,onAppearPrepare:v,onEnterPrepare:v,forceRender:s,motionName:l,removeOnLeave:c,ref:p},({className:t,style:o},s)=>S.createElement(k_,A_({},e,{ref:m,title:r,ariaId:u,prefixCls:n,holderRef:s,style:{...o,...i,..._},className:J(a,t)})))});function M_(){return M_=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t,style:n,visible:r,maskProps:i,motionName:a,className:o}=e;return S.createElement(Od,{key:`mask`,visible:r,motionName:a,leavedClassName:`${t}-mask-hidden`},({className:e,style:r},a)=>S.createElement(`div`,M_({ref:a,style:{...r,...n},className:J(`${t}-mask`,e,o)},i)))};function P_(){return P_=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t=`rc-dialog`,zIndex:n,visible:r=!1,focusTriggerAfterClose:i=!0,wrapStyle:a,wrapClassName:o,wrapProps:s,onClose:c,afterOpenChange:l,afterClose:u,transitionName:d,animation:f,closable:p=!0,mask:m=!0,maskTransitionName:h,maskAnimation:g,maskClosable:_=!0,maskStyle:v,maskProps:y,rootClassName:b,rootStyle:x,classNames:C,styles:w}=e,T=(0,S.useRef)(null),E=(0,S.useRef)(null),D=(0,S.useRef)(null),[O,k]=S.useState(r),[A,j]=S.useState(!1),M=Xn();function N(){mr(E.current,document.activeElement)||(T.current=document.activeElement)}function P(){mr(E.current,document.activeElement)||D.current?.focus()}function F(){if(k(!1),m&&T.current&&i){try{T.current.focus({preventScroll:!0})}catch{}T.current=null}O&&u?.()}function I(e){e?P():F(),l?.(e)}function L(e){c?.(e)}let R=(0,S.useRef)(!1),z=null;_&&(z=e=>{E.current===e.target&&R.current&&L(e)});function B(e){R.current=e.target===E.current}(0,S.useEffect)(()=>{r?(R.current=!1,k(!0),N(),E.current&&j(getComputedStyle(E.current).position===`fixed`)):O&&D.current.enableMotion()&&!D.current.inMotion()&&F()},[r]);let V={zIndex:n,...a,...w?.wrapper,display:O?null:`none`};return S.createElement(`div`,P_({className:J(`${t}-root`,b),style:x},xi(e,{data:!0})),S.createElement(N_,{prefixCls:t,visible:m&&r,motionName:w_(t,h,g),style:{zIndex:n,...v,...w?.mask},maskProps:y,className:C?.mask}),S.createElement(`div`,P_({className:J(`${t}-wrap`,o,C?.wrapper),ref:E,onClick:z,onMouseDown:B,style:V},s),S.createElement(j_,P_({},e,{isFixedPos:A,ref:D,closable:p,ariaId:M,prefixCls:t,visible:r&&O,onClose:L,onVisibleChanged:I,motionName:w_(t,d,f)}))))};function I_(){return I_=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{visible:t,getContainer:n,forceRender:r,destroyOnHidden:i=!1,afterClose:a,closable:o,panelRef:s,keyboard:c=!0,onClose:l}=e,[u,d]=S.useState(t),f=S.useMemo(()=>({panel:s}),[s]);return S.useEffect(()=>{t&&d(!0)},[t]),!r&&i&&!u?null:S.createElement(C_.Provider,{value:f},S.createElement(Dp,{open:t||r||u,onEsc:({top:e,event:t})=>{if(e&&c){t.stopPropagation(),l?.(t);return}},autoDestroy:!1,getContainer:n,autoLock:t||u},S.createElement(F_,I_({},e,{destroyOnHidden:i,afterClose:()=>{let{afterClose:e}=(o&&typeof o==`object`?o:{})||{};e?.(),a?.(),d(!1)}}))))},R_=`RC_FORM_INTERNAL_HOOKS`,z_=()=>{ui(!1,`Can not find FormContext. Please make sure you wrap Field under Form.`)},B_=S.createContext({getFieldValue:z_,getFieldsValue:z_,getFieldError:z_,getFieldWarning:z_,getFieldsError:z_,isFieldsTouched:z_,isFieldTouched:z_,isFieldValidating:z_,isFieldsValidating:z_,resetFields:z_,setFields:z_,setFieldValue:z_,setFieldsValue:z_,validateFields:z_,submit:z_,getInternalHooks:()=>(z_(),{dispatch:z_,initEntityValue:z_,registerField:z_,useSubscribe:z_,setInitialValues:z_,destroyForm:z_,setCallbacks:z_,registerWatch:z_,getFields:z_,setValidateMessages:z_,setPreserve:z_,getInitialValue:z_})}),V_=S.createContext(null);function H_(e){return e==null?[]:Array.isArray(e)?e:[e]}function U_(e){return e&&!!e._init}function W_(){return{default:`Validation error on field %s`,required:`%s is required`,enum:`%s must be one of %s`,whitespace:`%s cannot be empty`,date:{format:`%s date %s is invalid for format %s`,parse:`%s date could not be parsed, %s is invalid `,invalid:`%s date %s is invalid`},types:{string:`%s is not a %s`,method:`%s is not a %s (function)`,array:`%s is not an %s`,object:`%s is not an %s`,number:`%s is not a %s`,date:`%s is not a %s`,boolean:`%s is not a %s`,integer:`%s is not an %s`,float:`%s is not a %s`,regexp:`%s is not a valid %s`,email:`%s is not a valid %s`,tel:`%s is not a valid %s`,url:`%s is not a valid %s`,hex:`%s is not a valid %s`},string:{len:`%s must be exactly %s characters`,min:`%s must be at least %s characters`,max:`%s cannot be longer than %s characters`,range:`%s must be between %s and %s characters`},number:{len:`%s must equal %s`,min:`%s cannot be less than %s`,max:`%s cannot be greater than %s`,range:`%s must be between %s and %s`},array:{len:`%s must be exactly %s in length`,min:`%s cannot be less than %s in length`,max:`%s cannot be greater than %s in length`,range:`%s must be between %s and %s in length`},pattern:{mismatch:`%s value %s does not match pattern %s`},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var G_=W_();function K_(e){try{return Function.toString.call(e).indexOf(`[native code]`)!==-1}catch{return typeof e==`function`}}function q_(e,t,n){if(Zs())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&Js(i,n.prototype),i}function J_(e){var t=typeof Map==`function`?new Map:void 0;return J_=function(e){if(e===null||!K_(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return q_(e,arguments,Xs(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Js(n,e)},J_(e)}var Y_=/%[sdj%]/g,X_=function(){};function Z_(e){if(!e||!e.length)return null;var t={};return e.forEach(function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)}),t}function Q_(e){var t=[...arguments].slice(1),n=0,r=t.length;return typeof e==`function`?e.apply(null,t):typeof e==`string`?e.replace(Y_,function(e){if(e===`%%`)return`%`;if(n>=r)return e;switch(e){case`%s`:return String(t[n++]);case`%d`:return Number(t[n++]);case`%j`:try{return JSON.stringify(t[n++])}catch{return`[Circular]`}break;default:return e}}):e}function $_(e){return e===`string`||e===`url`||e===`hex`||e===`email`||e===`date`||e===`pattern`||e===`tel`}function ev(e,t){return!!(e==null||t===`array`&&Array.isArray(e)&&!e.length||$_(t)&&typeof e==`string`&&!e)}function tv(e,t,n){var r=[],i=0,a=e.length;function o(e){r.push.apply(r,pa(e||[])),i++,i===a&&n(r)}e.forEach(function(e){t(e,o)})}function nv(e,t,n){var r=0,i=e.length;function a(o){if(o&&o.length){n(o);return}var s=r;r+=1,se.max?r.push(Q_(i.messages[u].max,e.fullField,e.max)):o&&s&&(le.max)&&r.push(Q_(i.messages[u].range,e.fullField,e.min,e.max))},mv=function(e,t,n,r,i,a){e.required&&(!n.hasOwnProperty(e.field)||ev(t,a||e.type))&&r.push(Q_(i.messages.required,e.fullField))},hv,gv=(function(){if(hv)return hv;var e=`[a-fA-F\\d:]`,t=function(t){return t&&t.includeBoundaries?`(?:(?<=\\s|^)(?=${e})|(?<=${e})(?=\\s|\$))`:``},n=`(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}`,r=`[a-fA-F\\d]{1,4}`,i=`(?:${[`(?:${r}:){7}(?:${r}|:)`,`(?:${r}:){6}(?:${n}|:${r}|:)`,`(?:${r}:){5}(?::${n}|(?::${r}){1,2}|:)`,`(?:${r}:){4}(?:(?::${r}){0,1}:${n}|(?::${r}){1,3}|:)`,`(?:${r}:){3}(?:(?::${r}){0,2}:${n}|(?::${r}){1,4}|:)`,`(?:${r}:){2}(?:(?::${r}){0,3}:${n}|(?::${r}){1,5}|:)`,`(?:${r}:){1}(?:(?::${r}){0,4}:${n}|(?::${r}){1,6}|:)`,`(?::(?:(?::${r}){0,5}:${n}|(?::${r}){1,7}|:))`].join(`|`)})(?:%[0-9a-zA-Z]{1,})?`,a=RegExp(`(?:^${n}\$)|(?:^${i}\$)`),o=RegExp(`^${n}\$`),s=RegExp(`^${i}\$`),c=function(e){return e&&e.exact?a:RegExp(`(?:${t(e)}${n}${t(e)})|(?:${t(e)}${i}${t(e)})`,`g`)};c.v4=function(e){return e&&e.exact?o:RegExp(`${t(e)}${n}${t(e)}`,`g`)},c.v6=function(e){return e&&e.exact?s:RegExp(`${t(e)}${i}${t(e)}`,`g`)};var l=`(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|${c.v4().source}|${c.v6().source}|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?`;return hv=RegExp(`(?:^${l}\$)`,`i`),hv}),_v={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,tel:/^(\+[0-9]{1,3}[-\s\u2011]?)?(\([0-9]{1,4}\)[-\s\u2011]?)?([0-9]+[-\s\u2011]?)*[0-9]+$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},vv={integer:function(e){return vv.number(e)&&parseInt(e,10)===e},float:function(e){return vv.number(e)&&!vv.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch{return!1}},date:function(e){return typeof e.getTime==`function`&&typeof e.getMonth==`function`&&typeof e.getYear==`function`&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e==`number`},object:function(e){return Ps(e)===`object`&&!vv.array(e)},method:function(e){return typeof e==`function`},email:function(e){return typeof e==`string`&&e.length<=320&&!!e.match(_v.email)},tel:function(e){return typeof e==`string`&&e.length<=32&&!!e.match(_v.tel)},url:function(e){return typeof e==`string`&&e.length<=2048&&!!e.match(gv())},hex:function(e){return typeof e==`string`&&!!e.match(_v.hex)}},yv={required:mv,whitespace:function(e,t,n,r,i){(/^\s+$/.test(t)||t===``)&&r.push(Q_(i.messages.whitespace,e.fullField))},type:function(e,t,n,r,i){if(e.required&&t===void 0){mv(e,t,n,r,i);return}var a=[`integer`,`float`,`array`,`regexp`,`object`,`method`,`email`,`tel`,`number`,`date`,`url`,`hex`],o=e.type;a.indexOf(o)>-1?vv[o](t)||r.push(Q_(i.messages.types[o],e.fullField,e.type)):o&&Ps(t)!==e.type&&r.push(Q_(i.messages.types[o],e.fullField,e.type))},range:pv,enum:dv,pattern:fv},bv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ev(t)&&!e.required)return n();yv.required(e,t,r,a,i)}n(a)},xv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(t==null&&!e.required)return n();yv.required(e,t,r,a,i,`array`),t!=null&&(yv.type(e,t,r,a,i),yv.range(e,t,r,a,i))}n(a)},Sv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ev(t)&&!e.required)return n();yv.required(e,t,r,a,i),t!==void 0&&yv.type(e,t,r,a,i)}n(a)},Cv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ev(t,`date`)&&!e.required)return n();if(yv.required(e,t,r,a,i),!ev(t,`date`)){var o=t instanceof Date?t:new Date(t);yv.type(e,o,r,a,i),o&&yv.range(e,o.getTime(),r,a,i)}}n(a)},wv=`enum`,Tv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ev(t)&&!e.required)return n();yv.required(e,t,r,a,i),t!==void 0&&yv[wv](e,t,r,a,i)}n(a)},Ev=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ev(t)&&!e.required)return n();yv.required(e,t,r,a,i),t!==void 0&&(yv.type(e,t,r,a,i),yv.range(e,t,r,a,i))}n(a)},Dv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ev(t)&&!e.required)return n();yv.required(e,t,r,a,i),t!==void 0&&(yv.type(e,t,r,a,i),yv.range(e,t,r,a,i))}n(a)},Ov=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ev(t)&&!e.required)return n();yv.required(e,t,r,a,i),t!==void 0&&yv.type(e,t,r,a,i)}n(a)},kv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(t===``&&(t=void 0),ev(t)&&!e.required)return n();yv.required(e,t,r,a,i),t!==void 0&&(yv.type(e,t,r,a,i),yv.range(e,t,r,a,i))}n(a)},Av=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ev(t)&&!e.required)return n();yv.required(e,t,r,a,i),t!==void 0&&yv.type(e,t,r,a,i)}n(a)},jv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ev(t,`string`)&&!e.required)return n();yv.required(e,t,r,a,i),ev(t,`string`)||yv.pattern(e,t,r,a,i)}n(a)},Mv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ev(t)&&!e.required)return n();yv.required(e,t,r,a,i),ev(t)||yv.type(e,t,r,a,i)}n(a)},Nv=function(e,t,n,r,i){var a=[],o=Array.isArray(t)?`array`:Ps(t);yv.required(e,t,r,a,i,o),n(a)},Pv=function(e,t,n,r,i){var a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ev(t,`string`)&&!e.required)return n();yv.required(e,t,r,a,i,`string`),ev(t,`string`)||(yv.type(e,t,r,a,i),yv.range(e,t,r,a,i),yv.pattern(e,t,r,a,i),e.whitespace===!0&&yv.whitespace(e,t,r,a,i))}n(a)},Fv=function(e,t,n,r,i){var a=e.type,o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(ev(t,a)&&!e.required)return n();yv.required(e,t,r,o,i,a),ev(t,a)||yv.type(e,t,r,o,i)}n(o)},Iv={string:Pv,method:Ov,number:kv,boolean:Sv,regexp:Mv,integer:Dv,float:Ev,array:xv,object:Av,enum:Tv,pattern:jv,date:Cv,url:Fv,hex:Fv,email:Fv,tel:Fv,required:Nv,any:bv},Lv=function(){function e(t){Ws(this,e),Vs(this,`rules`,null),Vs(this,`_messages`,G_),this.define(t)}return Ks(e,[{key:`define`,value:function(e){var t=this;if(!e)throw Error(`Cannot configure a schema with no rules`);if(Ps(e)!==`object`||Array.isArray(e))throw Error(`Rules must be an object`);this.rules={},Object.keys(e).forEach(function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]})}},{key:`messages`,value:function(e){return e&&(this._messages=lv(W_(),e)),this._messages}},{key:`validate`,value:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},a=t,o=r,s=i;if(typeof o==`function`&&(s=o,o={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(null,a),Promise.resolve(a);function c(e){var t=[],n={};function r(e){if(Array.isArray(e)){var n;t=(n=t).concat.apply(n,pa(e))}else t.push(e)}for(var i=0;i0&&arguments[0]!==void 0?arguments[0]:[],l=Array.isArray(c)?c:[c];!o.suppressWarning&&l.length&&e.warning(`async-validator:`,l),l.length&&r.message!==void 0&&r.message!==null&&(l=[].concat(r.message));var u=l.map(cv(r,a));if(o.first&&u.length)return d[r.field]=1,n(u);if(!i)n(u);else{if(r.required&&!t.value)return r.message===void 0?o.error&&(u=[o.error(r,Q_(o.messages.required,r.field))]):u=[].concat(r.message).map(cv(r,a)),n(u);var f={};r.defaultField&&Object.keys(t.value).map(function(e){f[e]=r.defaultField}),f=Us(Us({},f),t.rule.fields);var p={};Object.keys(f).forEach(function(e){var t=f[e];p[e]=(Array.isArray(t)?t:[t]).map(s.bind(null,e))});var m=new e(p);m.messages(o.messages),t.rule.options&&(t.rule.options.messages=o.messages,t.rule.options.error=o.error),m.validate(t.value,t.rule.options||o,function(e){var t=[];u&&u.length&&t.push.apply(t,pa(u)),e&&e.length&&t.push.apply(t,pa(e)),n(t.length?t:null)})}}var l;if(r.asyncValidator)l=r.asyncValidator(r,t.value,c,t.source,o);else if(r.validator){try{l=r.validator(r,t.value,c,t.source,o)}catch(e){var u,f;(u=(f=console).error)==null||u.call(f,e),o.suppressValidatorError||setTimeout(function(){throw e},0),c(e.message)}l===!0?c():l===!1?c(typeof r.message==`function`?r.message(r.fullField||r.field):r.message||`${r.fullField||r.field} fails`):l instanceof Array?c(l):l instanceof Error&&c(l.message)}l&&l.then&&l.then(function(){return c()},function(e){return c(e)})},function(e){c(e)},a)}},{key:`getType`,value:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type=`pattern`),typeof e.validator!=`function`&&e.type&&!Iv.hasOwnProperty(e.type))throw Error(Q_(`Unknown rule type %s`,e.type));return e.type||`string`}},{key:`getValidationMethod`,value:function(e){if(typeof e.validator==`function`)return e.validator;var t=Object.keys(e),n=t.indexOf(`message`);return n!==-1&&t.splice(n,1),t.length===1&&t[0]===`required`?Iv.required:Iv[this.getType(e)]||void 0}}]),e}();Vs(Lv,`register`,function(e,t){if(typeof t!=`function`)throw Error(`Cannot register a validator by type, validator is not a function`);Iv[e]=t}),Vs(Lv,`warning`,X_),Vs(Lv,`messages`,G_),Vs(Lv,`validators`,Iv);var Rv="'${name}' is not a valid ${type}",zv={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Rv,method:Rv,array:Rv,object:Rv,number:Rv,date:Rv,boolean:Rv,integer:Rv,float:Rv,regexp:Rv,email:Rv,tel:Rv,url:Rv,hex:Rv},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},Bv=Lv;function Vv(e,t){return e.replace(/\\?\$\{\w+\}/g,e=>e.startsWith(`\\`)?e.slice(1):t[e.slice(2,-1)])}var Hv=`CODE_LOGIC_ERROR`;async function Uv(e,t,n,r,i){let a={...n};if(delete a.ruleIndex,Bv.warning=()=>void 0,a.validator){let e=a.validator;a.validator=(...t)=>{try{return e(...t)}catch(e){return console.error(e),Promise.reject(Hv)}}}let o=null;a&&a.type===`array`&&a.defaultField&&(o=a.defaultField,delete a.defaultField);let s=new Bv({[e]:[a]}),c=Li(zv,r.validateMessages);s.messages(c);let l=[];try{await Promise.resolve(s.validate({[e]:t},{...r}))}catch(e){e.errors&&(l=e.errors.map(({message:e},t)=>{let n=e===Hv?c.default:e;return S.isValidElement(n)?S.cloneElement(n,{key:`error_${t}`}):n}))}if(!l.length&&o&&Array.isArray(t)&&t.length>0)return(await Promise.all(t.map((t,n)=>Uv(`${e}.${n}`,t,o,r,i)))).reduce((e,t)=>[...e,...t],[]);let u={...n,name:e,enum:(n.enum||[]).join(`, `),...i};return l.map(e=>typeof e==`string`?Vv(e,u):e)}function Wv(e,t,n,r,i,a){let o=e.join(`.`),s=n.map((e,t)=>{let n=e.validator,r={...e,ruleIndex:t};return n&&(r.validator=(e,t,r)=>{let i=!1,a=n(e,t,(...e)=>{Promise.resolve().then(()=>{ui(!i,"Your validator function has already return a promise. `callback` will be ignored."),i||r(...e)})});i=a&&typeof a.then==`function`&&typeof a.catch==`function`,ui(i,"`callback` is deprecated. Please return a promise instead."),i&&a.then(()=>{r()}).catch(e=>{r(e||` `)})}),r}).sort(({warningOnly:e,ruleIndex:t},{warningOnly:n,ruleIndex:r})=>!!e==!!n?t-r:e?1:-1),c;if(i===!0)c=new Promise(async(e,n)=>{for(let e=0;eUv(o,t,e,r,a).then(t=>({errors:t,rule:e})));c=(i?Kv(e):Gv(e)).then(e=>Promise.reject(e))}return c.catch(e=>e),c}async function Gv(e){return Promise.all(e).then(e=>[].concat(...e))}async function Kv(e){let t=0;return new Promise(n=>{e.forEach(r=>{r.then(r=>{r.errors.length&&n([r]),t+=1,t===e.length&&n([])})})})}function qv(e){return H_(e)}function Jv(e,t){let n={};return t.forEach(t=>{let r=Ai(e,t);n=Mi(n,t,r)}),n}function Yv(e,t,n=!1){return e&&e.some(e=>Xv(t,e,n))}function Xv(e,t,n=!1){return!e||!t||!n&&e.length!==t.length?!1:t.every((t,n)=>e[n]===t)}function Zv(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||typeof e!=`object`||typeof t!=`object`)return!1;let n=Object.keys(e),r=Object.keys(t);return[...new Set([...n,...r])].every(n=>{let r=e[n],i=t[n];return typeof r==`function`&&typeof i==`function`?!0:r===i})}function Qv(e,...t){let n=t[0];return n&&n.target&&typeof n.target==`object`&&e in n.target?n.target[e]:n}function $v(e,t,n){let{length:r}=e;if(t<0||t>=r||n<0||n>=r)return e;let i=e[t],a=t-n;return a>0?[...e.slice(0,n),i,...e.slice(n,t),...e.slice(t+1,r)]:a<0?[...e.slice(0,t),...e.slice(t+1,n+1),i,...e.slice(n+1,r)]:e}var ey=e=>{let t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(null)},ty=class{namePathList=[];taskId=0;watcherList=new Set;form;constructor(e){this.form=e}register(e){return this.watcherList.add(e),()=>{this.watcherList.delete(e)}}notify(e){e.forEach(e=>{this.namePathList.every(t=>!Xv(t,e))&&this.namePathList.push(e)}),this.doBatch()}doBatch(){this.taskId+=1;let e=this.taskId;ey(()=>{if(e===this.taskId&&this.watcherList.size){let e=this.form.getForm(),t=e.getFieldsValue(),n=e.getFieldsValue(!0);this.watcherList.forEach(e=>{e(t,n,this.namePathList)}),this.namePathList=[]}})}};async function ny(){return new Promise(e=>{ey(()=>{Oi(()=>{e()})})})}function ry(){return ry=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{preserve:e,isListField:t,name:n}=this.props;this.cancelRegisterFunc&&this.cancelRegisterFunc(t,e,qv(n)),this.cancelRegisterFunc=null};getNamePath=()=>{let{name:e,fieldContext:t}=this.props,{prefixName:n=[]}=t;return e===void 0?[]:[...n,...e]};getRules=()=>{let{rules:e=[],fieldContext:t}=this.props;return e.map(e=>typeof e==`function`?e(t):e)};reRender(){this.mounted&&this.forceUpdate()}refresh=()=>{this.mounted&&this.setState(({resetCount:e})=>({resetCount:e+1}))};metaCache=null;triggerMetaEvent=e=>{let{onMetaChange:t}=this.props;if(t){let n={...this.getMeta(),destroy:e};fi(this.metaCache,n)||t(n),this.metaCache=n}else this.metaCache=null};onStoreChange=(e,t,n)=>{let{shouldUpdate:r,dependencies:i=[],onReset:a}=this.props,{store:o}=n,s=this.getNamePath(),c=this.getValue(e),l=this.getValue(o),u=t&&Yv(t,s);switch(n.type===`valueUpdate`&&n.source===`external`&&!fi(c,l)&&(this.touched=!0,this.dirty=!0,this.validatePromise=null,this.errors=iy,this.warnings=ay,this.triggerMetaEvent()),n.type){case`reset`:if(!t||u){this.touched=!1,this.dirty=!1,this.validatePromise=void 0,this.errors=iy,this.warnings=ay,this.triggerMetaEvent(),a?.(),this.refresh();return}break;case`remove`:if(r&&oy(r,e,o,c,l,n)){this.reRender();return}break;case`setField`:{let{data:i}=n;if(u){`touched`in i&&(this.touched=i.touched),`validating`in i&&!(`originRCField`in i)&&(this.validatePromise=i.validating?Promise.resolve([]):null),`errors`in i&&(this.errors=i.errors||iy),`warnings`in i&&(this.warnings=i.warnings||ay),this.dirty=!0,this.triggerMetaEvent(),this.reRender();return}else if(`value`in i&&Yv(t,s,!0)){this.reRender();return}if(r&&!s.length&&oy(r,e,o,c,l,n)){this.reRender();return}break}case`dependenciesUpdate`:if(i.map(qv).some(e=>Yv(n.relatedFields,e))){this.reRender();return}break;default:if(u||(!i.length||s.length||r)&&oy(r,e,o,c,l,n)){this.reRender();return}break}r===!0&&this.reRender()};validateRules=e=>{let t=this.getNamePath(),n=this.getValue(),{triggerName:r,validateOnly:i=!1,delayFrame:a}=e||{},o=Promise.resolve().then(async()=>{if(!this.mounted)return[];let{validateFirst:i=!1,messageVariables:s,validateDebounce:c}=this.props;a&&await ny();let l=this.getRules();if(r&&(l=l.filter(e=>e).filter(e=>{let{validateTrigger:t}=e;return t?H_(t).includes(r):!0})),c&&r&&(await new Promise(e=>{setTimeout(e,c)}),this.validatePromise!==o))return[];let u=Wv(t,n,l,e,i,s);return u.catch(e=>e).then((e=iy)=>{if(this.validatePromise===o){this.validatePromise=null;let t=[],n=[];e.forEach?.(({rule:{warningOnly:e},errors:r=iy})=>{e?n.push(...r):t.push(...r)}),this.errors=t,this.warnings=n,this.triggerMetaEvent(),this.reRender()}}),u});return i?o:(this.validatePromise=o,this.dirty=!0,this.errors=iy,this.warnings=ay,this.triggerMetaEvent(),this.reRender(),o)};isFieldValidating=()=>!!this.validatePromise;isFieldTouched=()=>this.touched;isFieldDirty=()=>{if(this.dirty||this.props.initialValue!==void 0)return!0;let{fieldContext:e}=this.props,{getInitialValue:t}=e.getInternalHooks(R_);return t(this.getNamePath())!==void 0};getErrors=()=>this.errors;getWarnings=()=>this.warnings;isListField=()=>this.props.isListField;isList=()=>this.props.isList;isPreserve=()=>this.props.preserve;getMeta=()=>(this.prevValidating=this.isFieldValidating(),{touched:this.isFieldTouched(),validating:this.prevValidating,errors:this.errors,warnings:this.warnings,name:this.getNamePath(),validated:this.validatePromise===null});getOnlyChild=e=>{if(typeof e==`function`){let t=this.getMeta();return{...this.getOnlyChild(e(this.getControlled(),t,this.props.fieldContext)),isFunction:!0}}let t=ki(e);return t.length!==1||!S.isValidElement(t[0])?{child:t,isFunction:!1}:{child:t[0],isFunction:!1}};getValue=e=>{let{getFieldsValue:t}=this.props.fieldContext,n=this.getNamePath();return Ai(e||t(!0),n)};getControlled=(e={})=>{let{name:t,trigger:n=`onChange`,validateTrigger:r,getValueFromEvent:i,normalize:a,valuePropName:o=`value`,getValueProps:s,fieldContext:c}=this.props,l=r===void 0?c.validateTrigger:r,u=this.getNamePath(),{getInternalHooks:d,getFieldsValue:f}=c,{dispatch:p}=d(R_),m=this.getValue(),h=s||(e=>({[o]:e})),g=e[n],_=t===void 0?{}:h(m),v={...e,..._};return v[n]=(...e)=>{this.touched=!0,this.dirty=!0,this.triggerMetaEvent();let t;t=i?i(...e):Qv(o,...e),a&&(t=a(t,m,f(!0))),t!==m&&p({type:`updateValue`,namePath:u,value:t}),g&&g(...e)},H_(l||[]).forEach(e=>{let t=v[e];v[e]=(...n)=>{t&&t(...n);let{rules:r}=this.props;r&&r.length&&p({type:`validateField`,namePath:u,triggerName:e})}}),v};render(){let{resetCount:e}=this.state,{children:t}=this.props,{child:n,isFunction:r}=this.getOnlyChild(t),i;return r?i=n:S.isValidElement(n)?i=S.cloneElement(n,this.getControlled(n.props)):(ui(!n,"`children` of Field is not validate ReactElement."),i=n),S.createElement(S.Fragment,{key:e},i)}};function cy({name:e,...t}){let n=S.useContext(B_),r=S.useContext(V_),i=e===void 0?void 0:qv(e),a=t.isListField??!!r,o=`keep`;return a||(o=`_${(i||[]).join(`_`)}`),S.createElement(sy,ry({key:o,name:i,isListField:a},t,{fieldContext:n}))}function ly({name:e,initialValue:t,children:n,rules:r,validateTrigger:i,isListField:a}){let o=S.useContext(B_),s=S.useContext(V_),c=S.useRef({keys:[],id:0}).current,l=S.useMemo(()=>[...qv(o.prefixName)||[],...qv(e)],[o.prefixName,e]),u=S.useMemo(()=>({...o,prefixName:l}),[o,l]),d=S.useMemo(()=>({getKey:e=>{let t=l.length,n=e[t];return[c.keys[n],e.slice(t+1)]}}),[c,l]);return typeof n==`function`?S.createElement(V_.Provider,{value:d},S.createElement(B_.Provider,{value:u},S.createElement(cy,{name:[],shouldUpdate:(e,t,{source:n})=>n===`internal`?!1:e!==t,rules:r,validateTrigger:i,initialValue:t,isList:!0,isListField:a??!!s},({value:e=[],onChange:t},r)=>{let{getFieldValue:i}=o,a=()=>i(l||[])||[],s={add:(e,n)=>{let r=a();n>=0&&n<=r.length?(c.keys=[...c.keys.slice(0,n),c.id,...c.keys.slice(n)],t([...r.slice(0,n),e,...r.slice(n)])):(c.keys=[...c.keys,c.id],t([...r,e])),c.id+=1},remove:e=>{let n=a(),r=new Set(Array.isArray(e)?e:[e]);r.size<=0||(c.keys=c.keys.filter((e,t)=>!r.has(t)),t(n.filter((e,t)=>!r.has(t))))},move(e,n){if(e===n)return;let r=a();e<0||e>=r.length||n<0||n>=r.length||(c.keys=$v(c.keys,e,n),t($v(r,e,n)))}},u=e||[];return Array.isArray(u)||(u=[]),n(u.map((e,t)=>{let n=c.keys[t];return n===void 0&&(c.keys[t]=c.id,n=c.keys[t],c.id+=1),{name:t,key:n,isListField:!0}}),s,r)}))):(ui(!1,`Form.List only accepts function as children.`),null)}function uy(e){let t=!1,n=e.length,r=[];return e.length?new Promise((i,a)=>{e.forEach((e,o)=>{e.catch(e=>(t=!0,e)).then(e=>{--n,r[o]=e,!(n>0)&&(t&&a(r),i(r))})})}):Promise.resolve([])}var dy=`__@field_split__`;function fy(e){return e.map(e=>`${typeof e}:${e}`).join(dy)}var py=class{kvs=new Map;set(e,t){this.kvs.set(fy(e),t)}get(e){return this.kvs.get(fy(e))}getAsPrefix(e){let t=fy(e),n=t+dy,r=[],i=this.kvs.get(t);return i!==void 0&&r.push(i),this.kvs.forEach((e,t)=>{t.startsWith(n)&&r.push(e)}),r}update(e,t){let n=t(this.get(e));n?this.set(e,n):this.delete(e)}delete(e){this.kvs.delete(fy(e))}map(e){return[...this.kvs.entries()].map(([t,n])=>e({key:t.split(dy).map(e=>{let[,t,n]=e.match(/^([^:]*):(.*)$/);return t===`number`?Number(n):n}),value:n}))}toJSON(){let e={};return this.map(({key:t,value:n})=>(e[t.join(`.`)]=n,null)),e}},my=class{formHooked=!1;forceRootUpdate;subscribable=!0;store={};fieldEntities=[];initialValues={};callbacks={};validateMessages=null;preserve=null;lastValidatePromise=null;watcherCenter=new ty(this);constructor(e){this.forceRootUpdate=e}getForm=()=>({getFieldValue:this.getFieldValue,getFieldsValue:this.getFieldsValue,getFieldError:this.getFieldError,getFieldWarning:this.getFieldWarning,getFieldsError:this.getFieldsError,isFieldsTouched:this.isFieldsTouched,isFieldTouched:this.isFieldTouched,isFieldValidating:this.isFieldValidating,isFieldsValidating:this.isFieldsValidating,resetFields:this.resetFields,setFields:this.setFields,setFieldValue:this.setFieldValue,setFieldsValue:this.setFieldsValue,validateFields:this.validateFields,submit:this.submit,_init:!0,getInternalHooks:this.getInternalHooks});getInternalHooks=e=>e===`RC_FORM_INTERNAL_HOOKS`?(this.formHooked=!0,{dispatch:this.dispatch,initEntityValue:this.initEntityValue,registerField:this.registerField,useSubscribe:this.useSubscribe,setInitialValues:this.setInitialValues,destroyForm:this.destroyForm,setCallbacks:this.setCallbacks,setValidateMessages:this.setValidateMessages,getFields:this.getFields,setPreserve:this.setPreserve,getInitialValue:this.getInitialValue,registerWatch:this.registerWatch}):(ui(!1,"`getInternalHooks` is internal usage. Should not call directly."),null);useSubscribe=e=>{this.subscribable=e};prevWithoutPreserves=null;setInitialValues=(e,t)=>{if(this.initialValues=e||{},t){let t=Li(e,this.store);this.prevWithoutPreserves?.map(({key:n})=>{t=Mi(t,n,Ai(e,n))}),this.prevWithoutPreserves=null,this.updateStore(t)}};destroyForm=e=>{if(e)this.updateStore({});else{let e=new py;this.getFieldEntities(!0).forEach(t=>{this.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)}),this.prevWithoutPreserves=e}};getInitialValue=e=>{let t=Ai(this.initialValues,e);return e.length?Li(t):t};setCallbacks=e=>{this.callbacks=e};setValidateMessages=e=>{this.validateMessages=e};setPreserve=e=>{this.preserve=e};registerWatch=e=>this.watcherCenter.register(e);notifyWatch=(e=[])=>{this.watcherCenter.notify(e)};timeoutId=null;warningUnhooked=()=>{};updateStore=e=>{this.store=e};getFieldEntities=(e=!1)=>e?this.fieldEntities.filter(e=>e.getNamePath().length):this.fieldEntities;getFieldsMap=(e=!1)=>{let t=new py;return this.getFieldEntities(e).forEach(e=>{let n=e.getNamePath();t.set(n,e)}),t};getFieldEntitiesForNamePathList=(e,t=!1)=>{if(!e)return this.getFieldEntities(!0);let n=this.getFieldsMap(!0);return t?e.flatMap(e=>{let t=qv(e),r=n.getAsPrefix(t);return r.length?r:[{INVALIDATE_NAME_PATH:t}]}):e.map(e=>{let t=qv(e);return n.get(t)||{INVALIDATE_NAME_PATH:qv(e)}})};getFieldsValue=(e,t)=>{this.warningUnhooked();let n,r;if(e===!0||Array.isArray(e)?(n=e,r=t):e&&typeof e==`object`&&(r=e.filter),n===!0&&!r)return this.store;let i=this.getFieldEntitiesForNamePathList(Array.isArray(n)?n:null,!0),a=[],o=[];i.forEach(e=>{let t=e.INVALIDATE_NAME_PATH||e.getNamePath();if(e.isList?.()){o.push(t);return}if(!r)a.push(t);else{let n=`getMeta`in e?e.getMeta():null;r(n)&&a.push(t)}});let s=Jv(this.store,a.map(qv));return o.forEach(e=>{Ai(s,e)||(s=Mi(s,e,[]))}),s};getFieldValue=e=>{this.warningUnhooked();let t=qv(e);return Ai(this.store,t)};getFieldsError=e=>(this.warningUnhooked(),this.getFieldEntitiesForNamePathList(e).map((t,n)=>t&&!t.INVALIDATE_NAME_PATH?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:qv(e[n]),errors:[],warnings:[]}));getFieldError=e=>{this.warningUnhooked();let t=qv(e);return this.getFieldsError([t])[0].errors};getFieldWarning=e=>{this.warningUnhooked();let t=qv(e);return this.getFieldsError([t])[0].warnings};isFieldsTouched=(...e)=>{this.warningUnhooked();let[t,n]=e,r,i=!1;e.length===0?r=null:e.length===1?Array.isArray(t)?(r=t.map(qv),i=!1):(r=null,i=t):(r=t.map(qv),i=n);let a=this.getFieldEntities(!0),o=e=>e.isFieldTouched();if(!r)return i?a.every(e=>o(e)||e.isList()):a.some(o);let s=new py;r.forEach(e=>{s.set(e,[])}),a.forEach(e=>{let t=e.getNamePath();r.forEach(n=>{n.every((e,n)=>t[n]===e)&&s.update(n,t=>[...t,e])})});let c=e=>e.some(o),l=s.map(({value:e})=>e);return i?l.every(c):l.some(c)};isFieldTouched=e=>(this.warningUnhooked(),this.isFieldsTouched([e]));isFieldsValidating=e=>{this.warningUnhooked();let t=this.getFieldEntities();if(!e)return t.some(e=>e.isFieldValidating());let n=e.map(qv);return t.some(e=>Yv(n,e.getNamePath())&&e.isFieldValidating())};isFieldValidating=e=>(this.warningUnhooked(),this.isFieldsValidating([e]));resetWithFieldInitialValue=(e={})=>{let t=new py,n=this.getFieldEntities(!0);n.forEach(e=>{let{initialValue:n}=e.props,r=e.getNamePath();if(n!==void 0){let i=t.get(r)||new Set;i.add({entity:e,value:n}),t.set(r,i)}});let r=n=>{n.forEach(n=>{let{initialValue:r}=n.props;if(r!==void 0){let r=n.getNamePath();if(this.getInitialValue(r)!==void 0)ui(!1,`Form already set 'initialValues' with path '${r.join(`.`)}'. Field can not overwrite it.`);else{let i=t.get(r);if(i&&i.size>1)ui(!1,`Multiple Field with path '${r.join(`.`)}' set 'initialValue'. Can not decide which one to pick.`);else if(i){let t=this.getFieldValue(r);!n.isListField()&&(!e.skipExist||t===void 0)&&this.updateStore(Mi(this.store,r,[...i][0].value))}}}})},i;e.entities?i=e.entities:e.namePathList?(i=[],e.namePathList.forEach(e=>{let n=t.get(e);n&&i.push(...[...n].map(e=>e.entity))})):i=n,r(i)};resetFields=e=>{this.warningUnhooked();let t=this.store;if(!e){this.updateStore(Li(this.initialValues)),this.resetWithFieldInitialValue(),this.notifyObservers(t,null,{type:`reset`}),this.notifyWatch();return}let n=e.map(qv);n.forEach(e=>{let t=this.getInitialValue(e);this.updateStore(Mi(this.store,e,t))}),this.resetWithFieldInitialValue({namePathList:n}),this.notifyObservers(t,n,{type:`reset`}),this.notifyWatch(n)};setFields=e=>{this.warningUnhooked();let t=this.store,n=[];e.forEach(e=>{let{name:r,...i}=e,a=qv(r);n.push(a),`value`in i&&this.updateStore(Mi(this.store,a,i.value)),this.notifyObservers(t,[a],{type:`setField`,data:e})}),this.notifyWatch(n)};getFields=()=>this.getFieldEntities(!0).map(e=>{let t=e.getNamePath(),n={...e.getMeta(),name:t,value:this.getFieldValue(t)};return Object.defineProperty(n,`originRCField`,{value:!0}),n});initEntityValue=e=>{let{initialValue:t}=e.props;if(t!==void 0){let n=e.getNamePath();Ai(this.store,n)===void 0&&this.updateStore(Mi(this.store,n,t))}};isMergedPreserve=e=>(e===void 0?this.preserve:e)??!0;registerField=e=>{this.fieldEntities.push(e);let t=e.getNamePath();if(this.notifyWatch([t]),e.props.initialValue!==void 0){let t=this.store;this.resetWithFieldInitialValue({entities:[e],skipExist:!0}),this.notifyObservers(t,[e.getNamePath()],{type:`valueUpdate`,source:`internal`})}return(n,r,i=[])=>{if(this.fieldEntities=this.fieldEntities.filter(t=>t!==e),!this.isMergedPreserve(r)&&(!n||i.length>1)){let e=n?void 0:this.getInitialValue(t);if(t.length&&this.getFieldValue(t)!==e&&this.fieldEntities.every(e=>!Xv(e.getNamePath(),t))){let n=this.store;this.updateStore(Mi(n,t,e,!0)),this.notifyObservers(n,[t],{type:`remove`}),this.triggerDependenciesUpdate(n,t)}}this.notifyWatch([t])}};dispatch=e=>{switch(e.type){case`updateValue`:{let{namePath:t,value:n}=e;this.updateValue(t,n);break}case`validateField`:{let{namePath:t,triggerName:n}=e;this.validateFields([t],{triggerName:n});break}default:}};notifyObservers=(e,t,n)=>{if(this.subscribable){let r={...n,store:this.getFieldsValue(!0)};this.getFieldEntities().forEach(({onStoreChange:n})=>{n(e,t,r)})}else this.forceRootUpdate()};triggerDependenciesUpdate=(e,t)=>{let n=this.getDependencyChildrenFields(t);return n.length&&this.validateFields(n,{delayFrame:!0}),this.notifyObservers(e,n,{type:`dependenciesUpdate`,relatedFields:[t,...n]}),n};updateValue=(e,t)=>{let n=qv(e),r=this.store;this.updateStore(Mi(this.store,n,t)),this.notifyObservers(r,[n],{type:`valueUpdate`,source:`internal`}),this.notifyWatch([n]);let i=this.triggerDependenciesUpdate(r,n),{onValuesChange:a}=this.callbacks;if(a){let e=Jv(this.store,[n]);a(e,Mi(this.getFieldsValue(),n,Ai(e,n)))}this.triggerOnFieldsChange([n,...i])};setFieldsValue=e=>{this.warningUnhooked();let t=this.store;if(e){let t=Li(this.store,e);this.updateStore(t)}this.notifyObservers(t,null,{type:`valueUpdate`,source:`external`}),this.notifyWatch()};setFieldValue=(e,t)=>{this.setFields([{name:e,value:t,errors:[],warnings:[],touched:!0}])};getDependencyChildrenFields=e=>{let t=new Set,n=[],r=new py;this.getFieldEntities().forEach(e=>{let{dependencies:t}=e.props;(t||[]).forEach(t=>{let n=qv(t);r.update(n,(t=new Set)=>(t.add(e),t))})});let i=e=>{(r.get(e)||new Set).forEach(e=>{if(!t.has(e)){t.add(e);let r=e.getNamePath();e.isFieldDirty()&&r.length&&(n.push(r),i(r))}})};return i(e),n};triggerOnFieldsChange=(e,t)=>{let{onFieldsChange:n}=this.callbacks;if(n){let r=this.getFields();if(t){let e=new py;t.forEach(({name:t,errors:n})=>{e.set(t,n)}),r.forEach(t=>{t.errors=e.get(t.name)||t.errors})}let i=r.filter(({name:t})=>Yv(e,t));i.length&&n(i,r)}};validateFields=(e,t)=>{this.warningUnhooked();let n,r;Array.isArray(e)||typeof e==`string`||typeof t==`string`?(n=e,r=t):r=e;let i=!!n,a=i?n.map(qv):[],o=[...a],s=[],c=String(Date.now()),l=new Set,{recursive:u,dirty:d}=r||{};this.getFieldEntities(!0).forEach(e=>{let t=e.getNamePath();if(i||((!e.isList()||!a.some(e=>Xv(e,t,!0)))&&o.push(t),a.push(t)),!(!e.props.rules||!e.props.rules.length)&&!(d&&!e.isFieldDirty())&&(l.add(t.join(c)),!i||Yv(a,t,u))){let n=e.validateRules({validateMessages:{...zv,...this.validateMessages},...r});s.push(n.then(()=>({name:t,errors:[],warnings:[]})).catch(e=>{let n=[],r=[];return e.forEach?.(({rule:{warningOnly:e},errors:t})=>{e?r.push(...t):n.push(...t)}),n.length?Promise.reject({name:t,errors:n,warnings:r}):{name:t,errors:n,warnings:r}}))}});let f=uy(s);this.lastValidatePromise=f,f.catch(e=>e).then(e=>{let t=e.map(({name:e})=>e);this.notifyObservers(this.store,t,{type:`validateFinish`}),this.triggerOnFieldsChange(t,e)});let p=f.then(()=>this.lastValidatePromise===f?Promise.resolve(this.getFieldsValue(o)):Promise.reject([])).catch(e=>{let t=e.filter(e=>e&&e.errors.length),n=t[0]?.errors?.[0];return Promise.reject({message:n,values:this.getFieldsValue(a),errorFields:t,outOfDate:this.lastValidatePromise!==f})});p.catch(e=>e);let m=a.filter(e=>l.has(e.join(c)));return this.triggerOnFieldsChange(m),p};submit=()=>{this.warningUnhooked(),this.validateFields().then(e=>{let{onFinish:t}=this.callbacks;if(t)try{t(e)}catch(e){console.error(e)}}).catch(e=>{let{onFinishFailed:t}=this.callbacks;t&&t(e)})}};function hy(e){let t=S.useRef(null),[,n]=S.useState({});return t.current||(e?t.current=e:t.current=new my(()=>{n({})}).getForm()),[t.current]}var gy=S.createContext({triggerFormChange:()=>{},triggerFormFinish:()=>{},registerForm:()=>{},unregisterForm:()=>{}}),_y=({validateMessages:e,onFormChange:t,onFormFinish:n,children:r})=>{let i=S.useContext(gy),a=S.useRef({});return S.createElement(gy.Provider,{value:{...i,validateMessages:{...i.validateMessages,...e},triggerFormChange:(e,n)=>{t&&t(e,{changedFields:n,forms:a.current}),i.triggerFormChange(e,n)},triggerFormFinish:(e,t)=>{n&&n(e,{values:t,forms:a.current}),i.triggerFormFinish(e,t)},registerForm:(e,t)=>{e&&(a.current={...a.current,[e]:t}),i.registerForm(e,t)},unregisterForm:e=>{let t={...a.current};delete t[e],a.current=t,i.unregisterForm(e)}}},r)};function vy(){return vy=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let g=S.useRef(null),_=S.useContext(gy),[v]=hy(r),{useSubscribe:y,setInitialValues:b,setCallbacks:x,setValidateMessages:C,setPreserve:w,destroyForm:T}=v.getInternalHooks(R_);S.useImperativeHandle(h,()=>({...v,nativeElement:g.current})),S.useEffect(()=>(_.registerForm(e,v),()=>{_.unregisterForm(e)}),[_,v,e]),C({..._.validateMessages,...s}),x({onValuesChange:l,onFieldsChange:(t,...n)=>{_.triggerFormChange(e,t),u&&u(t,...n)},onFinish:t=>{_.triggerFormFinish(e,t),d&&d(t)},onFinishFailed:f}),w(i);let E=S.useRef(null);b(t,!E.current),E.current||=!0,S.useEffect(()=>()=>T(p),[]);let D,O=typeof a==`function`;D=O?a(v.getFieldsValue(!0),v):a,y(!O);let k=S.useRef(null);S.useEffect(()=>{Zv(k.current||[],n||[])||v.setFields(n||[]),k.current=n},[n,v]);let A=S.useMemo(()=>({...v,validateTrigger:c}),[v,c]),j=S.createElement(V_.Provider,{value:null},S.createElement(B_.Provider,{value:A},D));return o===!1?j:S.createElement(o,vy({},m,{ref:g,onSubmit:e=>{e.preventDefault(),e.stopPropagation(),v.submit()},onReset:e=>{e.preventDefault(),v.resetFields(),m.onReset?.(e)}}),j)};function by(e){try{return JSON.stringify(e)}catch{return Math.random()}}function xy(...e){let[t,n={}]=e,r=U_(n)?{form:n}:n,i=r.form,[a,o]=(0,S.useState)(()=>typeof t==`function`?t({}):void 0),s=(0,S.useMemo)(()=>by(a),[a]),c=(0,S.useRef)(s);c.current=s;let l=(0,S.useContext)(B_),u=i||l,d=u&&u._init,{getFieldsValue:f,getInternalHooks:p}=u,{registerWatch:m}=p(R_),h=zn((e,n)=>{let i=r.preserve?n??f(!0):e??f(),s=typeof t==`function`?t(i):Ai(i,qv(t));by(a)!==by(s)&&o(s)});return(0,S.useEffect)(()=>{d&&h()},[d,typeof t==`function`?t:JSON.stringify(t)]),(0,S.useEffect)(()=>{if(d)return m((e,t)=>{h(e,t)})},[d]),a}var Sy=S.forwardRef(yy);Sy.FormProvider=_y,Sy.Field=cy,Sy.List=ly,Sy.useForm=hy,Sy.useWatch=xy;var Cy=S.createContext({labelAlign:`right`,layout:`horizontal`,itemRef:()=>{}}),wy=S.createContext(null),Ty=e=>{let t=gi(e,[`prefixCls`]);return S.createElement(_y,{...t})},Ey=S.createContext({prefixCls:``}),Dy=S.createContext({}),Oy=({children:e,status:t,override:n})=>{let r=S.useContext(Dy),i=S.useMemo(()=>{let e={...r};return n&&delete e.isFormItemInput,t&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[t,n,r]);return S.createElement(Dy.Provider,{value:i},e)},ky=S.createContext(void 0),Ay=e=>{let{space:t,form:n,children:r}=e;if(!$d(r))return null;let i=r;return n&&(i=S.createElement(Oy,{override:!0,status:!0},i)),t&&(i=S.createElement(iee,null,i)),i},jy=()=>Bn()&&window.document.documentElement;function My(e,t,n){return(0,S.useMemo)(()=>({trap:t??!0,focusTriggerAfterClose:n??!0,...e}),[e,t,n])}var Ny=e=>{let{prefixCls:t,className:n,style:r,size:i,shape:a}=e,o=J({[`${t}-lg`]:i===`large`,[`${t}-sm`]:i===`small`}),s=J({[`${t}-circle`]:a===`circle`,[`${t}-square`]:a===`square`,[`${t}-round`]:a===`round`}),c=S.useMemo(()=>ef(i)?{width:i,height:i,lineHeight:`${i}px`}:{},[i]);return S.createElement(`span`,{className:J(t,o,s,n),style:{...c,...r}})},Py=new Ms(`ant-skeleton-loading`,{"0%":{backgroundPosition:`100% 50%`},"100%":{backgroundPosition:`0 50%`}}),Fy=e=>({height:e,lineHeight:Y(e)}),Iy=e=>({width:e,...Fy(e)}),yee=e=>({background:e.skeletonLoadingBackground,backgroundSize:`400% 100%`,animationName:Py,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:`ease`,animationIterationCount:`infinite`}),Ly=(e,t)=>({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal(),...Fy(e)}),bee=e=>{let{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:i,controlHeightSM:a}=e;return{[t]:{display:`inline-block`,verticalAlign:`top`,background:n,...Iy(r)},[`${t}${t}-circle`]:{borderRadius:`50%`},[`${t}${t}-lg`]:{...Iy(i)},[`${t}${t}-sm`]:{...Iy(a)}}},xee=e=>{let{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:i,controlHeightSM:a,gradientFromColor:o,calc:s}=e;return{[r]:{display:`inline-block`,verticalAlign:`top`,background:o,borderRadius:n,...Ly(t,s)},[`${r}-lg`]:{...Ly(i,s)},[`${r}-sm`]:{...Ly(a,s)}}},Ry=e=>{let{gradientFromColor:t,borderRadiusSM:n,imageSizeBase:r,calc:i}=e;return{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,verticalAlign:`middle`,background:t,borderRadius:n,...Iy(i(r).mul(2).equal())}},See=e=>({[e.skeletonNodeCls]:{...Ry(e)}}),Cee=e=>{let{skeletonImageCls:t,imageSizeBase:n,calc:r}=e;return{[t]:{...Ry(e),[`${t}-path`]:{fill:`#bfbfbf`},[`${t}-svg`]:{...Iy(n),maxWidth:r(n).mul(4).equal(),maxHeight:r(n).mul(4).equal()},[`${t}-svg${t}-svg-circle`]:{borderRadius:`50%`}},[`${t}${t}-circle`]:{borderRadius:`50%`}}},zy=(e,t,n)=>{let{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:`50%`},[`${n}${r}-round`]:{borderRadius:t}}},By=(e,t)=>({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal(),...Fy(e)}),wee=e=>{let{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:i,controlHeightSM:a,gradientFromColor:o,calc:s}=e;return{[n]:{display:`inline-block`,verticalAlign:`top`,background:o,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal(),...By(r,s)},...zy(e,r,n),[`${n}-lg`]:{...By(i,s)},...zy(e,i,`${n}-lg`),[`${n}-sm`]:{...By(a,s)},...zy(e,a,`${n}-sm`)}},Tee=e=>{let{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:i,skeletonButtonCls:a,skeletonInputCls:o,skeletonNodeCls:s,skeletonImageCls:c,controlHeight:l,controlHeightLG:u,controlHeightSM:d,gradientFromColor:f,padding:p,marginSM:m,borderRadius:h,titleHeight:g,blockRadius:_,paragraphLiHeight:v,controlHeightXS:y,paragraphMarginTop:b}=e;return{[t]:{display:`table`,width:`100%`,[`${t}-header`]:{display:`table-cell`,paddingInlineEnd:p,verticalAlign:`top`,[n]:{display:`inline-block`,verticalAlign:`top`,background:f,...Iy(l)},[`${n}-circle`]:{borderRadius:`50%`},[`${n}-lg`]:{...Iy(u)},[`${n}-sm`]:{...Iy(d)}},[`${t}-section`]:{display:`table-cell`,width:`100%`,verticalAlign:`top`,[r]:{width:`100%`,height:g,background:f,borderRadius:_,[`+ ${i}`]:{marginBlockStart:d}},[i]:{padding:0,"> li":{width:`100%`,height:v,listStyle:`none`,background:f,borderRadius:_,"+ li":{marginBlockStart:y}}},[`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:`61%`}},[`&-round ${t}-section`]:{[`${r}, ${i} > li`]:{borderRadius:h}}},[`${t}-with-avatar ${t}-section`]:{[r]:{marginBlockStart:m,[`+ ${i}`]:{marginBlockStart:b}}},[`${t}${t}-element`]:{display:`inline-block`,width:`auto`,...wee(e),...bee(e),...xee(e),...See(e),...Cee(e)},[`${t}${t}-block`]:{width:`100%`,[a]:{width:`100%`},[o]:{width:`100%`}},[`${t}${t}-active`]:{[` ${r}, ${i} > li, ${n}, @@ -164,89 +164,89 @@ html body { ${o}, ${s}, ${c} - `]:{...Tee(e)}}}},Fy=Ql(`Skeleton`,e=>{let{componentCls:t,calc:n}=e;return jee(dc(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonNodeCls:`${t}-node`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:`1.4s`}))},e=>{let{colorFillContent:t,colorFill:n}=e,r=t,i=n;return{color:r,colorGradientEnd:i,gradientFromColor:r,gradientToColor:i,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[[`color`,`gradientFromColor`],[`colorGradientEnd`,`gradientToColor`]]}),Mee=e=>{let{prefixCls:t,className:n,classNames:r,rootClassName:i,active:a,style:o,styles:s,shape:c=`circle`,size:l,...u}=e,{getPrefixCls:d}=S.useContext(ga),f=d(`skeleton`,t),[p,m]=Fy(f),h=wh(e=>l??e),g=J(f,`${f}-element`,{[`${f}-active`]:a},r?.root,n,i,p,m);return S.createElement(`div`,{className:g,style:s?.root},S.createElement(Dy,{prefixCls:`${f}-avatar`,className:r?.content,style:{...s?.content,...o},shape:c,size:h,...u}))},Iy=e=>{let{prefixCls:t,className:n,rootClassName:r,classNames:i,active:a,style:o,styles:s,block:c=!1,size:l,...u}=e,{getPrefixCls:d}=S.useContext(ga),f=d(`skeleton`,t),[p,m]=Fy(f),h=wh(e=>l??e),g=J(f,`${f}-element`,{[`${f}-active`]:a,[`${f}-block`]:c},i?.root,n,r,p,m);return S.createElement(`div`,{className:g,style:s?.root},S.createElement(Dy,{prefixCls:`${f}-button`,className:i?.content,style:{...s?.content,...o},size:h,...u}))},Ly=e=>{let{prefixCls:t,className:n,classNames:r,rootClassName:i,internalClassName:a,style:o,styles:s,active:c,children:l}=e,{getPrefixCls:u}=S.useContext(ga),d=u(`skeleton`,t),[f,p]=Fy(d),m=J(d,`${d}-element`,{[`${d}-active`]:c},f,r?.root,n,i,p);return S.createElement(`div`,{className:m,style:s?.root},S.createElement(`div`,{className:J(r?.content,a||`${d}-node`),style:{...s?.content,...o}},l))},Ry=e=>{let{getPrefixCls:t}=S.useContext(ga),n=t(`skeleton`,e.prefixCls);return S.createElement(Ly,{...e,internalClassName:`${n}-image`},S.createElement(`svg`,{viewBox:`0 0 1098 1024`,xmlns:`http://www.w3.org/2000/svg`,className:`${n}-image-svg`},S.createElement(`title`,null,`Image placeholder`),S.createElement(`path`,{d:`M365.7 329.1q0 45.8-32 77.7t-77.7 32-77.7-32-32-77.7 32-77.6 77.7-32 77.7 32 32 77.6M951 548.6v256H146.3V694.9L329 512l91.5 91.4L713 311zm54.8-402.3H91.4q-7.4 0-12.8 5.4T73 164.6v694.8q0 7.5 5.5 12.9t12.8 5.4h914.3q7.5 0 12.9-5.4t5.4-12.9V164.6q0-7.5-5.4-12.9t-12.9-5.4m91.4 18.3v694.8q0 37.8-26.8 64.6t-64.6 26.9H91.4q-37.7 0-64.6-26.9T0 859.4V164.6q0-37.8 26.8-64.6T91.4 73h914.3q37.8 0 64.6 26.9t26.8 64.6`,className:`${n}-image-path`})))},zy=e=>{let{prefixCls:t,className:n,classNames:r,rootClassName:i,active:a,block:o,style:s,styles:c,size:l,...u}=e,{getPrefixCls:d}=S.useContext(ga),f=d(`skeleton`,t),[p,m]=Fy(f),h=wh(e=>l??e),g=J(f,`${f}-element`,{[`${f}-active`]:a,[`${f}-block`]:o},r?.root,n,i,p,m);return S.createElement(`div`,{className:g,style:c?.root},S.createElement(Dy,{prefixCls:`${f}-input`,className:r?.content,style:{...c?.content,...s},size:h,...u}))},By=(e,t)=>{let{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},Vy=e=>{let{prefixCls:t,className:n,style:r,rows:i=0}=e,a=Array.from({length:i}).map((t,n)=>S.createElement(`li`,{key:n,style:{width:By(n,e)}}));return S.createElement(`ul`,{className:J(t,n),style:r},a)},Hy=({prefixCls:e,className:t,width:n,style:r})=>S.createElement(`h3`,{className:J(e,t),style:{width:n,...r}});function Uy(e){return nf(e)?e:{}}function Wy(e,t){return e&&!t?{size:`large`,shape:`square`}:{size:`large`,shape:`circle`}}function Gy(e,t){return!e&&t?{width:`38%`}:e&&t?{width:`50%`}:{}}function Ky(e,t){let n={};return(!e||!t)&&(n.width=`61%`),!e&&t?n.rows=3:n.rows=2,n}var qy=e=>{let{prefixCls:t,loading:n,className:r,rootClassName:i,classNames:a,style:o,styles:s,children:c,avatar:l=!1,title:u=!0,paragraph:d=!0,active:f,round:p}=e,{getPrefixCls:m,direction:h,className:g,style:_,classNames:v,styles:y}=ya(`skeleton`),b=m(`skeleton`,t),[x,C]=Fy(b),w={...e,avatar:l,title:u,paragraph:d},[T,E]=Cf([v,a],[y,s],{props:w});if(n||!(`loading`in e)){let e=!!l,t=!!u,n=!!d,a;if(e){let e={className:T.avatar,prefixCls:`${b}-avatar`,...Wy(t,n),...Uy(l),style:E.avatar};a=S.createElement(`div`,{className:J(T.header,`${b}-header`),style:E.header},S.createElement(Dy,{...e}))}let s;if(t||n){let r;if(t){let t={className:T.title,prefixCls:`${b}-title`,...Gy(e,n),...Uy(u),style:E.title};r=S.createElement(Hy,{...t})}let i;if(n){let n={className:T.paragraph,prefixCls:`${b}-paragraph`,...Ky(e,t),...Uy(d),style:E.paragraph};i=S.createElement(Vy,{...n})}s=S.createElement(`div`,{className:J(T.section,`${b}-section`),style:E.section},r,i)}let c=J(b,{[`${b}-with-avatar`]:e,[`${b}-active`]:f,[`${b}-rtl`]:h===`rtl`,[`${b}-round`]:p},T.root,g,r,i,x,C);return S.createElement(`div`,{className:c,style:{...E.root,..._,...o}},a,s)}return c??null};qy.Button=Iy,qy.Avatar=Mee,qy.Input=zy,qy.Image=Ry,qy.Node=Ly;var Jy=qy;function Yy(){}var Xy=S.createContext({add:Yy,remove:Yy});function Zy(e){let t=S.useContext(Xy),n=S.useRef(null);return zn(r=>{if(r){let i=e?r.querySelector(e):r;i&&(t.add(i),n.current=i)}else t.remove(n.current)})}var Qy=()=>{let{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=(0,S.useContext)(g_);return S.createElement(m_,{onClick:n,...e},t)},$y=()=>{let{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:i}=(0,S.useContext)(g_);return S.createElement(m_,{...Fh(n),loading:e,onClick:i,...t},r)};function eb(e,t){return S.createElement(`span`,{className:`${e}-close-x`},t||S.createElement(ju,{className:`${e}-close-icon`}))}var tb=e=>{let{okText:t,okType:n=`primary`,cancelText:r,confirmLoading:i,onOk:a,onCancel:o,okButtonProps:s,cancelButtonProps:c,footer:l}=e,[u]=Yd(`Modal`,qd()),d=t||u?.okText,f=r||u?.cancelText,p=S.useMemo(()=>({confirmLoading:i,okButtonProps:s,cancelButtonProps:c,okTextLocale:d,cancelTextLocale:f,okType:n,onOk:a,onCancel:o}),[i,s,c,d,f,n,a,o]),m;return typeof l==`function`||l===void 0?(m=S.createElement(S.Fragment,null,S.createElement(Qy,null),S.createElement($y,null)),typeof l==`function`&&(m=l(m,{OkBtn:$y,CancelBtn:Qy})),m=S.createElement(__,{value:p},m)):m=l,S.createElement(hm,{disabled:!1},m)},nb=e=>{let{componentCls:t}=e;return{[t]:{display:`flex`,flexFlow:`row wrap`,minWidth:0,"&::before, &::after":{display:`flex`},"&-no-wrap":{flexWrap:`nowrap`},"&-start":{justifyContent:`flex-start`},"&-center":{justifyContent:`center`},"&-end":{justifyContent:`flex-end`},"&-space-between":{justifyContent:`space-between`},"&-space-around":{justifyContent:`space-around`},"&-space-evenly":{justifyContent:`space-evenly`},"&-top":{alignItems:`flex-start`},"&-middle":{alignItems:`center`},"&-bottom":{alignItems:`flex-end`}}}},rb=e=>{let{componentCls:t}=e;return{[t]:{position:`relative`,maxWidth:`100%`,minHeight:1}}},ib=(e,t)=>{let{componentCls:n,gridColumns:r,antCls:i}=e,[a,o]=tu(i,`grid`),[,s]=tu(i,`col`),c={};for(let e=r;e>=0;e--)e===0?(c[`${n}${t}-${e}`]={display:`none`},c[`${n}-push-${e}`]={insetInlineStart:`auto`},c[`${n}-pull-${e}`]={insetInlineEnd:`auto`},c[`${n}${t}-push-${e}`]={insetInlineStart:`auto`},c[`${n}${t}-pull-${e}`]={insetInlineEnd:`auto`},c[`${n}${t}-offset-${e}`]={marginInlineStart:0},c[`${n}${t}-order-${e}`]={order:0}):(c[`${n}${t}-${e}`]=[{[a(`display`)]:`block`,display:`block`},{display:o(`display`),flex:`0 0 ${e/r*100}%`,maxWidth:`${e/r*100}%`}],c[`${n}${t}-push-${e}`]={insetInlineStart:`${e/r*100}%`},c[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/r*100}%`},c[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/r*100}%`},c[`${n}${t}-order-${e}`]={order:e});return c[`${n}${t}-flex`]={flex:s(`${t.replace(/-/,``)}-flex`)},c},ab=(e,t)=>ib(e,t),ob=(e,t,n)=>({[`@media (min-width: ${Y(t)})`]:{...ab(e,n)}}),sb=()=>({}),cb=()=>({}),lb=Ql(`Grid`,nb,sb),ub=e=>({xs:e.screenXSMin,sm:e.screenSMMin,md:e.screenMDMin,lg:e.screenLGMin,xl:e.screenXLMin,xxl:e.screenXXLMin,xxxl:e.screenXXXLMin}),db=Ql(`Grid`,e=>{let t=dc(e,{gridColumns:24}),n=ub(t);return delete n.xs,[rb(t),ab(t,``),ab(t,`-xs`),Object.keys(n).map(e=>ob(t,n[e],`-${e}`)).reduce((e,t)=>({...e,...t}),{})]},cb);function fb(e){return{position:e,inset:0}}var pb=e=>{let{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:`none`,opacity:0,animationDuration:e.motionDurationSlow,userSelect:`none`},[`${t}${n}-zoom-leave ${t}-container`]:{pointerEvents:`none`},[`${t}-mask`]:{...fb(`fixed`),zIndex:e.zIndexPopupBase,height:`100%`,backgroundColor:e.colorBgMask,pointerEvents:`none`,[`&${t}-mask-blur`]:{backdropFilter:`blur(4px)`},[`${t}-hidden`]:{display:`none`}},[`${t}-wrap`]:{...fb(`fixed`),zIndex:e.zIndexPopupBase,overflow:`auto`,outline:0,WebkitOverflowScrolling:`touch`}}},{[`${t}-root`]:Yh(e)}]},mb=e=>{let{componentCls:t,motionDurationMid:n}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:`rtl`},[`${t}-centered`]:{textAlign:`center`,"&::before":{display:`inline-block`,width:0,height:`100%`,verticalAlign:`middle`,content:`""`},[t]:{top:0,display:`inline-block`,paddingBottom:0,textAlign:`start`,verticalAlign:`middle`}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:`calc(100vw - 16px)`,margin:`${Y(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:{...Ul(e),pointerEvents:`none`,position:`relative`,top:100,width:`auto`,maxWidth:`calc(100vw - ${Y(e.calc(e.margin).mul(2).equal())})`,margin:`0 auto`,"&:focus-visible":{borderRadius:e.borderRadiusLG,...Kl(e)},[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:`break-word`},[`${t}-container`]:{position:`relative`,backgroundColor:e.contentBg,backgroundClip:`padding-box`,border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:`auto`,padding:e.contentPadding},[`${t}-close`]:{position:`absolute`,top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:`none`,background:`transparent`,borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:`pointer`,transition:[`color`,`background-color`].map(e=>`${e} ${n}`).join(`, `),"&-x":{display:`flex`,fontSize:e.fontSizeLG,fontStyle:`normal`,lineHeight:Y(e.modalCloseBtnSize),justifyContent:`center`,textTransform:`none`,textRendering:`auto`},"&:disabled":{pointerEvents:`none`},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:`none`},"&:active":{backgroundColor:e.colorBgTextActive},...ql(e)},[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:`break-word`,padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:`100%`,height:`100%`,display:`flex`,justifyContent:`center`,alignItems:`center`,margin:`${Y(e.margin)} auto`}},[`${t}-footer`]:{textAlign:`end`,background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:`hidden`}}},{[`${t}-pure-panel`]:{top:`auto`,padding:0,display:`flex`,flexDirection:`column`,[`${t}-container, + `]:{...yee(e)}}}},Vy=Ql(`Skeleton`,e=>{let{componentCls:t,calc:n}=e;return Tee(dc(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonNodeCls:`${t}-node`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:`1.4s`}))},e=>{let{colorFillContent:t,colorFill:n}=e,r=t,i=n;return{color:r,colorGradientEnd:i,gradientFromColor:r,gradientToColor:i,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[[`color`,`gradientFromColor`],[`colorGradientEnd`,`gradientToColor`]]}),Eee=e=>{let{prefixCls:t,className:n,classNames:r,rootClassName:i,active:a,style:o,styles:s,shape:c=`circle`,size:l,...u}=e,{getPrefixCls:d}=S.useContext(ga),f=d(`skeleton`,t),[p,m]=Vy(f),h=Oh(e=>l??e),g=J(f,`${f}-element`,{[`${f}-active`]:a},r?.root,n,i,p,m);return S.createElement(`div`,{className:g,style:s?.root},S.createElement(Ny,{prefixCls:`${f}-avatar`,className:r?.content,style:{...s?.content,...o},shape:c,size:h,...u}))},Dee=e=>{let{prefixCls:t,className:n,rootClassName:r,classNames:i,active:a,style:o,styles:s,block:c=!1,size:l,...u}=e,{getPrefixCls:d}=S.useContext(ga),f=d(`skeleton`,t),[p,m]=Vy(f),h=Oh(e=>l??e),g=J(f,`${f}-element`,{[`${f}-active`]:a,[`${f}-block`]:c},i?.root,n,r,p,m);return S.createElement(`div`,{className:g,style:s?.root},S.createElement(Ny,{prefixCls:`${f}-button`,className:i?.content,style:{...s?.content,...o},size:h,...u}))},Hy=e=>{let{prefixCls:t,className:n,classNames:r,rootClassName:i,internalClassName:a,style:o,styles:s,active:c,children:l}=e,{getPrefixCls:u}=S.useContext(ga),d=u(`skeleton`,t),[f,p]=Vy(d),m=J(d,`${d}-element`,{[`${d}-active`]:c},f,r?.root,n,i,p);return S.createElement(`div`,{className:m,style:s?.root},S.createElement(`div`,{className:J(r?.content,a||`${d}-node`),style:{...s?.content,...o}},l))},Oee=e=>{let{getPrefixCls:t}=S.useContext(ga),n=t(`skeleton`,e.prefixCls);return S.createElement(Hy,{...e,internalClassName:`${n}-image`},S.createElement(`svg`,{viewBox:`0 0 1098 1024`,xmlns:`http://www.w3.org/2000/svg`,className:`${n}-image-svg`},S.createElement(`title`,null,`Image placeholder`),S.createElement(`path`,{d:`M365.7 329.1q0 45.8-32 77.7t-77.7 32-77.7-32-32-77.7 32-77.6 77.7-32 77.7 32 32 77.6M951 548.6v256H146.3V694.9L329 512l91.5 91.4L713 311zm54.8-402.3H91.4q-7.4 0-12.8 5.4T73 164.6v694.8q0 7.5 5.5 12.9t12.8 5.4h914.3q7.5 0 12.9-5.4t5.4-12.9V164.6q0-7.5-5.4-12.9t-12.9-5.4m91.4 18.3v694.8q0 37.8-26.8 64.6t-64.6 26.9H91.4q-37.7 0-64.6-26.9T0 859.4V164.6q0-37.8 26.8-64.6T91.4 73h914.3q37.8 0 64.6 26.9t26.8 64.6`,className:`${n}-image-path`})))},kee=e=>{let{prefixCls:t,className:n,classNames:r,rootClassName:i,active:a,block:o,style:s,styles:c,size:l,...u}=e,{getPrefixCls:d}=S.useContext(ga),f=d(`skeleton`,t),[p,m]=Vy(f),h=Oh(e=>l??e),g=J(f,`${f}-element`,{[`${f}-active`]:a,[`${f}-block`]:o},r?.root,n,i,p,m);return S.createElement(`div`,{className:g,style:c?.root},S.createElement(Ny,{prefixCls:`${f}-input`,className:r?.content,style:{...c?.content,...s},size:h,...u}))},Aee=(e,t)=>{let{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},jee=e=>{let{prefixCls:t,className:n,style:r,rows:i=0}=e,a=Array.from({length:i}).map((t,n)=>S.createElement(`li`,{key:n,style:{width:Aee(n,e)}}));return S.createElement(`ul`,{className:J(t,n),style:r},a)},Mee=({prefixCls:e,className:t,width:n,style:r})=>S.createElement(`h3`,{className:J(e,t),style:{width:n,...r}});function Uy(e){return nf(e)?e:{}}function Nee(e,t){return e&&!t?{size:`large`,shape:`square`}:{size:`large`,shape:`circle`}}function Pee(e,t){return!e&&t?{width:`38%`}:e&&t?{width:`50%`}:{}}function Fee(e,t){let n={};return(!e||!t)&&(n.width=`61%`),!e&&t?n.rows=3:n.rows=2,n}var Wy=e=>{let{prefixCls:t,loading:n,className:r,rootClassName:i,classNames:a,style:o,styles:s,children:c,avatar:l=!1,title:u=!0,paragraph:d=!0,active:f,round:p}=e,{getPrefixCls:m,direction:h,className:g,style:_,classNames:v,styles:y}=ya(`skeleton`),b=m(`skeleton`,t),[x,C]=Vy(b),w={...e,avatar:l,title:u,paragraph:d},[T,E]=Cf([v,a],[y,s],{props:w});if(n||!(`loading`in e)){let e=!!l,t=!!u,n=!!d,a;if(e){let e={className:T.avatar,prefixCls:`${b}-avatar`,...Nee(t,n),...Uy(l),style:E.avatar};a=S.createElement(`div`,{className:J(T.header,`${b}-header`),style:E.header},S.createElement(Ny,{...e}))}let s;if(t||n){let r;if(t){let t={className:T.title,prefixCls:`${b}-title`,...Pee(e,n),...Uy(u),style:E.title};r=S.createElement(Mee,{...t})}let i;if(n){let n={className:T.paragraph,prefixCls:`${b}-paragraph`,...Fee(e,t),...Uy(d),style:E.paragraph};i=S.createElement(jee,{...n})}s=S.createElement(`div`,{className:J(T.section,`${b}-section`),style:E.section},r,i)}let c=J(b,{[`${b}-with-avatar`]:e,[`${b}-active`]:f,[`${b}-rtl`]:h===`rtl`,[`${b}-round`]:p},T.root,g,r,i,x,C);return S.createElement(`div`,{className:c,style:{...E.root,..._,...o}},a,s)}return c??null};Wy.Button=Dee,Wy.Avatar=Eee,Wy.Input=kee,Wy.Image=Oee,Wy.Node=Hy;var Gy=Wy;function Ky(){}var Iee=S.createContext({add:Ky,remove:Ky});function qy(e){let t=S.useContext(Iee),n=S.useRef(null);return zn(r=>{if(r){let i=e?r.querySelector(e):r;i&&(t.add(i),n.current=i)}else t.remove(n.current)})}var Jy=()=>{let{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=(0,S.useContext)(y_);return S.createElement(__,{onClick:n,...e},t)},Yy=()=>{let{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:i}=(0,S.useContext)(y_);return S.createElement(__,{...Lh(n),loading:e,onClick:i,...t},r)};function Xy(e,t){return S.createElement(`span`,{className:`${e}-close-x`},t||S.createElement(ju,{className:`${e}-close-icon`}))}var Zy=e=>{let{okText:t,okType:n=`primary`,cancelText:r,confirmLoading:i,onOk:a,onCancel:o,okButtonProps:s,cancelButtonProps:c,footer:l}=e,[u]=Yd(`Modal`,qd()),d=t||u?.okText,f=r||u?.cancelText,p=S.useMemo(()=>({confirmLoading:i,okButtonProps:s,cancelButtonProps:c,okTextLocale:d,cancelTextLocale:f,okType:n,onOk:a,onCancel:o}),[i,s,c,d,f,n,a,o]),m;return typeof l==`function`||l===void 0?(m=S.createElement(S.Fragment,null,S.createElement(Jy,null),S.createElement(Yy,null)),typeof l==`function`&&(m=l(m,{OkBtn:Yy,CancelBtn:Jy})),m=S.createElement(b_,{value:p},m)):m=l,S.createElement(gm,{disabled:!1},m)},Lee=e=>{let{componentCls:t}=e;return{[t]:{display:`flex`,flexFlow:`row wrap`,minWidth:0,"&::before, &::after":{display:`flex`},"&-no-wrap":{flexWrap:`nowrap`},"&-start":{justifyContent:`flex-start`},"&-center":{justifyContent:`center`},"&-end":{justifyContent:`flex-end`},"&-space-between":{justifyContent:`space-between`},"&-space-around":{justifyContent:`space-around`},"&-space-evenly":{justifyContent:`space-evenly`},"&-top":{alignItems:`flex-start`},"&-middle":{alignItems:`center`},"&-bottom":{alignItems:`flex-end`}}}},Ree=e=>{let{componentCls:t}=e;return{[t]:{position:`relative`,maxWidth:`100%`,minHeight:1}}},zee=(e,t)=>{let{componentCls:n,gridColumns:r,antCls:i}=e,[a,o]=tu(i,`grid`),[,s]=tu(i,`col`),c={};for(let e=r;e>=0;e--)e===0?(c[`${n}${t}-${e}`]={display:`none`},c[`${n}-push-${e}`]={insetInlineStart:`auto`},c[`${n}-pull-${e}`]={insetInlineEnd:`auto`},c[`${n}${t}-push-${e}`]={insetInlineStart:`auto`},c[`${n}${t}-pull-${e}`]={insetInlineEnd:`auto`},c[`${n}${t}-offset-${e}`]={marginInlineStart:0},c[`${n}${t}-order-${e}`]={order:0}):(c[`${n}${t}-${e}`]=[{[a(`display`)]:`block`,display:`block`},{display:o(`display`),flex:`0 0 ${e/r*100}%`,maxWidth:`${e/r*100}%`}],c[`${n}${t}-push-${e}`]={insetInlineStart:`${e/r*100}%`},c[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/r*100}%`},c[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/r*100}%`},c[`${n}${t}-order-${e}`]={order:e});return c[`${n}${t}-flex`]={flex:s(`${t.replace(/-/,``)}-flex`)},c},Qy=(e,t)=>zee(e,t),Bee=(e,t,n)=>({[`@media (min-width: ${Y(t)})`]:{...Qy(e,n)}}),Vee=()=>({}),Hee=()=>({}),Uee=Ql(`Grid`,Lee,Vee),$y=e=>({xs:e.screenXSMin,sm:e.screenSMMin,md:e.screenMDMin,lg:e.screenLGMin,xl:e.screenXLMin,xxl:e.screenXXLMin,xxxl:e.screenXXXLMin}),Wee=Ql(`Grid`,e=>{let t=dc(e,{gridColumns:24}),n=$y(t);return delete n.xs,[Ree(t),Qy(t,``),Qy(t,`-xs`),Object.keys(n).map(e=>Bee(t,n[e],`-${e}`)).reduce((e,t)=>({...e,...t}),{})]},Hee);function eb(e){return{position:e,inset:0}}var tb=e=>{let{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:`none`,opacity:0,animationDuration:e.motionDurationSlow,userSelect:`none`},[`${t}${n}-zoom-leave ${t}-container`]:{pointerEvents:`none`},[`${t}-mask`]:{...eb(`fixed`),zIndex:e.zIndexPopupBase,height:`100%`,backgroundColor:e.colorBgMask,pointerEvents:`none`,[`&${t}-mask-blur`]:{backdropFilter:`blur(4px)`},[`${t}-hidden`]:{display:`none`}},[`${t}-wrap`]:{...eb(`fixed`),zIndex:e.zIndexPopupBase,overflow:`auto`,outline:0,WebkitOverflowScrolling:`touch`}}},{[`${t}-root`]:Zh(e)}]},nb=e=>{let{componentCls:t,motionDurationMid:n}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:`rtl`},[`${t}-centered`]:{textAlign:`center`,"&::before":{display:`inline-block`,width:0,height:`100%`,verticalAlign:`middle`,content:`""`},[t]:{top:0,display:`inline-block`,paddingBottom:0,textAlign:`start`,verticalAlign:`middle`}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:`calc(100vw - 16px)`,margin:`${Y(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:{...Ul(e),pointerEvents:`none`,position:`relative`,top:100,width:`auto`,maxWidth:`calc(100vw - ${Y(e.calc(e.margin).mul(2).equal())})`,margin:`0 auto`,"&:focus-visible":{borderRadius:e.borderRadiusLG,...Kl(e)},[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:`break-word`},[`${t}-container`]:{position:`relative`,backgroundColor:e.contentBg,backgroundClip:`padding-box`,border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:`auto`,padding:e.contentPadding},[`${t}-close`]:{position:`absolute`,top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:`none`,background:`transparent`,borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:`pointer`,transition:[`color`,`background-color`].map(e=>`${e} ${n}`).join(`, `),"&-x":{display:`flex`,fontSize:e.fontSizeLG,fontStyle:`normal`,lineHeight:Y(e.modalCloseBtnSize),justifyContent:`center`,textTransform:`none`,textRendering:`auto`},"&:disabled":{pointerEvents:`none`},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:`none`},"&:active":{backgroundColor:e.colorBgTextActive},...ql(e)},[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:`break-word`,padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:`100%`,height:`100%`,display:`flex`,justifyContent:`center`,alignItems:`center`,margin:`${Y(e.margin)} auto`}},[`${t}-footer`]:{textAlign:`end`,background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:`hidden`}}},{[`${t}-pure-panel`]:{top:`auto`,padding:0,display:`flex`,flexDirection:`column`,[`${t}-container, ${t}-body, - ${t}-confirm-body-wrapper`]:{display:`flex`,flexDirection:`column`,flex:`auto`},[`${t}-confirm-body`]:{marginBottom:`auto`}}}]},hb=e=>{let{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:`rtl`,[`${t}-confirm-body`]:{direction:`rtl`}}}}},gb=e=>{let{componentCls:t}=e,n=ub(e),r={...n};delete r.xs;let i=`--${t.replace(`.`,``)}-`,a=Object.keys(r).map(e=>({[`@media (min-width: ${Y(r[e])})`]:{width:`var(${i}${e}-width)`}}));return{[`${t}-root`]:{[t]:[].concat(pa(Object.keys(n).map((e,t)=>{let r=Object.keys(n)[t-1];return r?{[`${i}${e}-width`]:`var(${i}${r}-width)`}:null})),[{width:`var(${i}xs-width)`}],pa(a))}}},_b=e=>{let t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return dc(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},vb=e=>({footerBg:`transparent`,headerBg:`transparent`,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${Y(e.paddingMD)} ${Y(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${Y(e.padding)} ${Y(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:`none`,headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${Y(e.paddingXS)} ${Y(e.padding)}`:0,footerBorderTop:e.wireframe?`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:`none`,footerBorderRadius:e.wireframe?`0 0 ${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${Y(e.padding*2)} ${Y(e.padding*2)} ${Y(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM,mask:!0}),yb=Ql(`Modal`,e=>{let t=_b(e);return[mb(t),hb(t),pb(t),Og(t,`zoom`),gb(t)]},vb,{unitless:{titleLineHeight:!0}}),bb;Ty()&&document.documentElement.addEventListener(`click`,e=>{bb={x:e.pageX,y:e.pageY},setTimeout(()=>{bb=null},100)},!0);var xb=e=>{let{prefixCls:t,className:n,rootClassName:r,open:i,wrapClassName:a,centered:o,getContainer:s,style:c,width:l=520,footer:u,classNames:d,styles:f,children:p,loading:m,confirmLoading:h,zIndex:g,mousePosition:_,onOk:v,onCancel:y,okButtonProps:b,cancelButtonProps:x,destroyOnHidden:C,destroyOnClose:w,panelRef:T=null,closable:E,mask:D,modalRender:O,maskClosable:k,focusTriggerAfterClose:A,focusable:j,...M}=e,{getPopupContainer:N,getPrefixCls:P,direction:F,className:I,style:L,classNames:R,styles:z,centered:B,cancelButtonProps:V,okButtonProps:H,mask:U}=ya(`modal`),{modal:W}=S.useContext(ga),[ee,te]=S.useMemo(()=>typeof E==`boolean`?[void 0,void 0]:[E?.afterClose,E?.onClose],[E]),ne=P(`modal`,t),re=P(),[G,ie,K]=gf(D,U,ne,k),ae=Ey(j,G,A),q=e=>{h||(y?.(e),te?.())},oe=e=>{v?.(e),te?.()},se=sp(ne),[ce,le]=yb(ne,se),ue=J(a,{[`${ne}-centered`]:o??B,[`${ne}-wrap-rtl`]:F===`rtl`}),de=u!==null&&!m?S.createElement(tb,{...e,okButtonProps:{...H,...b},onOk:oe,cancelButtonProps:{...V,...x},onCancel:q}):null,[fe,pe,me,he]=pf(sf(e),sf(W),{closable:!0,closeIcon:S.createElement(ju,{className:`${ne}-close-icon`}),closeIconRender:e=>eb(ne,e)}),ge=fe?{disabled:me,closeIcon:pe,afterClose:ee,...he}:!1,_e=O?e=>S.createElement(`div`,{className:`${ne}-render`},O(e)):void 0,ve=cr(T,Zy(`.${ne}-${O?`render`:`container`}`)),[ye,be]=Lf(`Modal`,g),xe={...e,width:l,panelRef:T,focusTriggerAfterClose:ae.focusTriggerAfterClose,focusable:ae,mask:G,maskClosable:K,zIndex:ye},[Se,Ce]=Cf([R,d,ie],[z,f],{props:xe}),[we,Te]=S.useMemo(()=>nf(l)?[void 0,l]:[l,void 0],[l]),Ee=S.useMemo(()=>{let e={};return Te&&Object.keys(Te).forEach(t=>{let n=Te[t];$d(n)&&(e[`--${ne}-${t}-width`]=ef(n)?`${n}px`:n)}),e},[ne,Te]);return S.createElement(wy,{form:!0,space:!0},S.createElement(jf.Provider,{value:be},S.createElement(N_,{width:we,...M,zIndex:ye,getContainer:s===void 0?N:s,prefixCls:ne,rootClassName:J(ce,r,le,se,Se.root),rootStyle:Ce.root,footer:de,visible:i,mousePosition:_??bb,onClose:q,closable:ge,closeIcon:pe,transitionName:mh(re,`zoom`,e.transitionName),maskTransitionName:mh(re,`fade`,e.maskTransitionName),mask:G,maskClosable:K,className:J(ce,n,I),style:{...L,...c,...Ee},classNames:{...Se,wrapper:J(Se.wrapper,ue)},styles:Ce,panelRef:ve,destroyOnHidden:C??w,modalRender:_e,focusTriggerAfterClose:ae.focusTriggerAfterClose,focusTrap:ae.trap},m?S.createElement(Jy,{active:!0,title:!1,paragraph:{rows:4},className:`${ne}-body-skeleton`}):p)))},Sb=e=>{let{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:i,fontSize:a,lineHeight:o,modalTitleHeight:s,fontHeight:c,confirmBodyPadding:l}=e,u=`${t}-confirm`;return{[u]:{"&-rtl":{direction:`rtl`},[`${e.antCls}-modal-header`]:{display:`none`},[`${u}-body-wrapper`]:{...Gl()},[`&${t} ${t}-body`]:{padding:l},[`${u}-body`]:{display:`flex`,flexWrap:`nowrap`,alignItems:`start`,[`> ${e.iconCls}`]:{flex:`none`,fontSize:i,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(c).sub(i).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(s).sub(i).equal()).div(2).equal()}},[`${u}-paragraph`]:{display:`flex`,flexDirection:`column`,flex:`auto`,rowGap:e.marginXS,maxWidth:`calc(100% - ${Y(e.marginSM)})`},[`${u}-body-no-icon ${u}-paragraph`]:{maxWidth:`100%`},[`${e.iconCls} + ${u}-paragraph`]:{maxWidth:`calc(100% - ${Y(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${u}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${u}-container`]:{color:e.colorText,fontSize:a,lineHeight:o},[`${u}-btns`]:{textAlign:`end`,marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${u}-error ${u}-body > ${e.iconCls}`]:{color:e.colorError},[`${u}-warning ${u}-body > ${e.iconCls}, - ${u}-confirm ${u}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${u}-info ${u}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${u}-success ${u}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},Cb=eu([`Modal`,`confirm`],e=>Sb(_b(e)),vb,{order:-1e3}),wb=e=>{let{prefixCls:t,icon:n,okText:r,cancelText:i,confirmPrefixCls:a,type:o,okCancel:s,footer:c,locale:l,autoFocusButton:u,focusable:d,...f}=e,p=n;if(!n&&n!==null)switch(o){case`info`:p=S.createElement(Lu,null);break;case`success`:p=S.createElement(Tu,null);break;case`error`:p=S.createElement(Ou,null);break;default:p=S.createElement(Pu,null)}let m=s??o===`confirm`,h=S.useMemo(()=>{let e=d?.autoFocusButton||u;return e||e===null?e:`ok`},[u,d?.autoFocusButton]),[g]=Yd(`Modal`),_=l||g,v=r||(m?_?.okText:_?.justOkText),y=i||_?.cancelText,{closable:b}=f,{onClose:x}=nf(b)?b:{},C=S.useMemo(()=>({autoFocusButton:h,cancelTextLocale:y,okTextLocale:v,mergedOkCancel:m,onClose:x,...f}),[h,y,v,m,x,f]),w=S.createElement(S.Fragment,null,S.createElement(v_,null),S.createElement(y_,null)),T=$d(e.title)&&e.title!==``,E=$d(p),D=`${a}-body`;return S.createElement(`div`,{className:`${a}-body-wrapper`},S.createElement(`div`,{className:J(D,{[`${D}-has-title`]:T,[`${D}-no-icon`]:!E})},p,S.createElement(`div`,{className:`${a}-paragraph`},T&&S.createElement(`span`,{className:`${a}-title`},e.title),S.createElement(`div`,{className:`${a}-content`},e.content))),c===void 0||typeof c==`function`?S.createElement(__,{value:C},S.createElement(`div`,{className:`${a}-btns`},typeof c==`function`?c(w,{OkBtn:y_,CancelBtn:v_}):w)):c,S.createElement(Cb,{prefixCls:t}))},Tb=e=>{let{close:t,zIndex:n,maskStyle:r,direction:i,prefixCls:a,wrapClassName:o,rootPrefixCls:s,bodyStyle:c,closable:l=!1,onConfirm:u,styles:d,title:f,mask:p,maskClosable:m,okButtonProps:h,cancelButtonProps:g}=e,{cancelButtonProps:_,okButtonProps:v}=ya(`modal`),y=`${a}-confirm`,b=e.width||416,x=e.style||{},C=J(y,`${y}-${e.type}`,{[`${y}-rtl`]:i===`rtl`},e.className),w=S.useMemo(()=>{let e=hf(p,m);return e.closable??=!1,e},[p,m]),[,T]=Vl(),E=S.useMemo(()=>n===void 0?T.zIndexPopupBase+Nf:n,[n,T]);return S.createElement(xb,{...e,className:C,wrapClassName:J({[`${y}-centered`]:!!e.centered},o),onCancel:()=>{t?.({triggerCancel:!0}),u?.(!1)},title:f,footer:null,transitionName:mh(s||``,`zoom`,e.transitionName),maskTransitionName:mh(s||``,`fade`,e.maskTransitionName),mask:w,style:x,styles:{body:c,mask:r,...d},width:b,zIndex:E,closable:l},S.createElement(wb,{...e,confirmPrefixCls:y,okButtonProps:{...v,...h},cancelButtonProps:{..._,...g}}))},Eb=e=>{let{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:i}=e;return S.createElement(Nm,{prefixCls:t,iconPrefixCls:n,direction:r,theme:i},S.createElement(Tb,{...e}))},Db=[],Ob=``;function kb(){return Ob}var Ab=e=>{let{prefixCls:t,getContainer:n,direction:r}=e,i=qd(),a=(0,S.useContext)(ga),o=kb()||a.getPrefixCls(),s=t||`${o}-modal`,c=n;return c===!1&&(c=void 0),S.createElement(Eb,{...e,rootPrefixCls:o,prefixCls:s,iconPrefixCls:a.iconPrefixCls,theme:a.theme,direction:r??a.direction,locale:a.locale?.Modal??i,getContainer:c})};function jb(e){let t=jm(),n=document.createDocumentFragment(),r={...e,close:s,open:!0},i;function a(...t){t.some(e=>e?.triggerCancel)&&e.onCancel?.(()=>{},...t.slice(1));for(let e=0;e{})}let o=e=>{clearTimeout(i),i=setTimeout(()=>{let r=t.getPrefixCls(void 0,kb()),i=t.getIconPrefixCls(),a=t.getTheme(),o=S.createElement(Ab,{...e});zi(S.createElement(Nm,{prefixCls:r,iconPrefixCls:i,theme:a},typeof t.holderRender==`function`?t.holderRender(o):o),n)})};function s(...t){r={...r,open:!1,afterClose:()=>{typeof e.afterClose==`function`&&e.afterClose(),a.apply(this,t)}},o(r)}function c(e){r=typeof e==`function`?e(r):{...r,...e},o(r)}return o(r),Db.push(s),{destroy:s,update:c}}function Mb(e){return{...e,type:`warning`}}function Nb(e){return{...e,type:`info`}}function Pb(e){return{...e,type:`success`}}function Fb(e){return{...e,type:`error`}}function Ib(e){return{...e,type:`confirm`}}function Lb({rootPrefixCls:e}){Ob=e}var Rb=S.forwardRef((e,t)=>{let{afterClose:n,config:r,...i}=e,[a,o]=S.useState(!0),[s,c]=S.useState(r),{direction:l,getPrefixCls:u}=S.useContext(ga),d=u(`modal`),f=u(),p=()=>{n(),s.afterClose?.()},m=(...e)=>{o(!1),e.some(e=>e?.triggerCancel)&&s.onCancel?.(()=>{},...e.slice(1))};S.useImperativeHandle(t,()=>({destroy:m,update:e=>{c(t=>{let n=typeof e==`function`?e(t):e;return{...t,...n}})}}));let h=s.okCancel??s.type===`confirm`,[g]=Yd(`Modal`,Hd.Modal);return S.createElement(Eb,{prefixCls:d,rootPrefixCls:f,...s,close:m,open:a,afterClose:p,okText:s.okText||(h?g?.okText:g?.justOkText),direction:s.direction||l,cancelText:s.cancelText||g?.cancelText,...i})}),zb=0,Bb=S.memo(S.forwardRef((e,t)=>{let[n,r]=Df();return S.useImperativeHandle(t,()=>({patchElement:r}),[r]),S.createElement(S.Fragment,null,n)}));function Vb(){let e=S.useRef(null),[t,n]=S.useState([]);S.useEffect(()=>{t.length&&(pa(t).forEach(e=>{e()}),n([]))},[t]);let r=S.useCallback(t=>function(r){zb+=1;let i=S.createRef(),a,o=new Promise(e=>{a=e}),s=!1,c,l=S.createElement(Rb,{key:`modal-${zb}`,config:t(r),ref:i,afterClose:()=>{c?.()},isSilent:()=>s,onConfirm:e=>{a(e)}});return c=e.current?.patchElement(l),c&&Db.push(c),{destroy:()=>{function e(){i.current?.destroy()}i.current?e():n(t=>[].concat(pa(t),[e]))},update:e=>{function t(){i.current?.update(e)}i.current?t():n(e=>[].concat(pa(e),[t]))},then:e=>(s=!0,o.then(e))}},[]);return[S.useMemo(()=>({info:r(Nb),success:r(Pb),error:r(Fb),warning:r(Mb),confirm:r(Ib)}),[r]),S.createElement(Bb,{key:`modal-holder`,ref:e})]}var Hb=e=>{let{componentCls:t,notificationMarginEdge:n,animationMaxHeight:r}=e,i=`${t}-notice`,a=new Ms(`antNotificationFadeIn`,{"0%":{transform:`translate3d(100%, 0, 0)`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,opacity:1}}),o=new Ms(`antNotificationTopFadeIn`,{"0%":{top:-r,opacity:0},"100%":{top:0,opacity:1}}),s=new Ms(`antNotificationBottomFadeIn`,{"0%":{bottom:e.calc(r).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),c=new Ms(`antNotificationLeftFadeIn`,{"0%":{transform:`translate3d(-100%, 0, 0)`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,opacity:1}});return{[t]:{[`&${t}-top, &${t}-bottom`]:{marginInline:0,[i]:{marginInline:`auto auto`}},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:s}},[`&${t}-topRight, &${t}-bottomRight`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[i]:{marginInlineEnd:`auto`,marginInlineStart:0},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:c}}}}},Ub=[`top`,`topLeft`,`topRight`,`bottom`,`bottomLeft`,`bottomRight`],Wb={topLeft:`left`,topRight:`right`,bottomLeft:`left`,bottomRight:`right`,top:`left`,bottom:`left`},Gb=(e,t)=>{let{componentCls:n}=e;return{[`${n}-${t}`]:{[`&${n}-stack > ${n}-notice-wrapper`]:{[t.startsWith(`top`)?`top`:`bottom`]:0,[Wb[t]]:{value:0,_skip_check_:!0}}}}},Kb=e=>{let t={};for(let n=1;n ${e.componentCls}-notice`]:{opacity:0,transition:`opacity ${e.motionDurationMid}`}};return{[`&:not(:nth-last-child(-n+${e.notificationStackLayer}))`]:{opacity:0,overflow:`hidden`,color:`transparent`,pointerEvents:`none`},...t}},qb=e=>{let t={};for(let n=1;n{let{componentCls:t}=e;return{[`${t}-stack`]:{[`& > ${t}-notice-wrapper`]:{transition:`transform ${e.motionDurationSlow}, backdrop-filter 0s`,willChange:`transform, opacity`,position:`absolute`,...Kb(e)}},[`${t}-stack:not(${t}-stack-expanded)`]:{[`& > ${t}-notice-wrapper`]:{...qb(e)}},[`${t}-stack${t}-stack-expanded`]:{[`& > ${t}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:`unset`,color:`inherit`,pointerEvents:`auto`,[`& > ${e.componentCls}-notice`]:{opacity:1}},"&:after":{content:`""`,position:`absolute`,height:e.margin,width:`100%`,insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:`transparent`,pointerEvents:`auto`}}},...Ub.map(t=>Gb(e,t)).reduce((e,t)=>({...e,...t}),{})}},Yb=e=>{let{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:i,notificationMarginBottom:a,borderRadiusLG:o,colorSuccess:s,colorInfo:c,colorWarning:l,colorError:u,colorTextHeading:d,notificationBg:f,notificationPadding:p,notificationMarginEdge:m,progressBg:h,notificationProgressHeight:g,fontSize:_,lineHeight:v,width:y,notificationIconSize:b,colorText:x,colorSuccessBg:S,colorErrorBg:C,colorInfoBg:w,colorWarningBg:T,motionDurationMid:E}=e,D=`${n}-notice`;return{position:`relative`,marginBottom:a,marginInlineStart:`auto`,background:f,borderRadius:o,boxShadow:r,[D]:{padding:p,width:y,maxWidth:`calc(100vw - ${Y(e.calc(m).mul(2).equal())})`,lineHeight:v,wordWrap:`break-word`,borderRadius:o,overflow:`hidden`,"&-success":S?{background:S}:{},"&-error":C?{background:C}:{},"&-info":w?{background:w}:{},"&-warning":T?{background:T}:{}},[`${D}-title`]:{marginBottom:e.marginXS,color:d,fontSize:i,lineHeight:e.lineHeightLG},[`${D}-description`]:{fontSize:_,color:x,marginTop:e.marginXS,"&:first-child":{marginTop:0,marginInlineEnd:e.marginSM}},[`${D}-closable ${D}-title`]:{paddingInlineEnd:e.paddingLG},[`${D}-with-icon ${D}-title`]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(b).equal(),fontSize:i},[`${D}-with-icon ${D}-description`]:{marginInlineStart:e.calc(e.marginSM).add(b).equal(),fontSize:_},[`${D}-icon`]:{position:`absolute`,fontSize:b,lineHeight:1,[`&-success${t}`]:{color:s},[`&-info${t}`]:{color:c},[`&-warning${t}`]:{color:l},[`&-error${t}`]:{color:u}},[`${D}-close`]:{position:`absolute`,top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:`none`,width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:[`color`,`background-color`].map(e=>`${e} ${E}`).join(`, `),display:`flex`,alignItems:`center`,justifyContent:`center`,background:`none`,border:`none`,"&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},...ql(e)},[`${D}-progress`]:{position:`absolute`,display:`block`,appearance:`none`,inlineSize:`calc(100% - ${Y(o)} * 2)`,left:{_skip_check_:!0,value:o},right:{_skip_check_:!0,value:o},bottom:0,blockSize:g,border:0,"&, &::-webkit-progress-bar":{borderRadius:o,backgroundColor:`rgba(0, 0, 0, 0.04)`},"&::-moz-progress-bar":{background:h},"&::-webkit-progress-value":{borderRadius:o,background:h}},[`${D}-actions`]:{float:`right`,marginTop:e.marginSM}}},Xb=e=>{let{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:r,motionDurationMid:i,motionEaseInOut:a}=e,o=`${t}-notice`,s=new Ms(`antNotificationFadeOut`,{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:{...Ul(e),position:`fixed`,zIndex:e.zIndexPopup,marginRight:{value:r,_skip_check_:!0},[`${t}-hook-holder`]:{position:`relative`},[`${t}-fade-appear-prepare`]:{opacity:`0 !important`},[`${t}-fade-enter, ${t}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:a,animationFillMode:`both`,opacity:0,animationPlayState:`paused`},[`${t}-fade-leave`]:{animationTimingFunction:a,animationFillMode:`both`,animationDuration:i,animationPlayState:`paused`},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationPlayState:`running`},[`${t}-fade-leave${t}-fade-leave-active`]:{animationName:s,animationPlayState:`running`},"&-rtl":{direction:`rtl`,[`${o}-actions`]:{float:`left`}}}},{[t]:{[`${o}-wrapper`]:Yb(e)}}]},Zb=e=>({zIndexPopup:e.zIndexPopupBase+Nf+50,width:384,progressBg:`linear-gradient(90deg, ${e.colorPrimaryBorderHover}, ${e.colorPrimary})`,colorSuccessBg:void 0,colorErrorBg:void 0,colorInfoBg:void 0,colorWarningBg:void 0}),Qb=e=>{let t=e.paddingMD,n=e.paddingLG;return dc(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${Y(e.paddingMD)} ${Y(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2})},$b=Ql(`Notification`,e=>{let t=Qb(e);return[Xb(t),Hb(t),Jb(t)]},Zb);function ex(e,t){return t===null||t===!1?null:t||S.createElement(ju,{className:`${e}-close-icon`})}var tx={success:Tu,info:Lu,error:Ou,warning:Pu},nx=e=>{let{prefixCls:t,icon:n,type:r,title:i,description:a,actions:o,role:s=`alert`,styles:c,classNames:l}=e,u=null;return n?u=S.createElement(`span`,{className:J(`${t}-icon`,l.icon),style:c.icon},n):r&&(u=S.createElement(tx[r]||null,{className:J(`${t}-icon`,l.icon,`${t}-icon-${r}`),style:c.icon})),S.createElement(`div`,{className:J({[`${t}-with-icon`]:u}),role:s},u,i&&S.createElement(`div`,{className:J(`${t}-title`,l.title),style:c.title},i),a&&S.createElement(`div`,{className:J(`${t}-description`,l.description),style:c.description},a),o&&S.createElement(`div`,{className:J(`${t}-actions`,l.actions),style:c.actions},o))};function rx(e,t,n){let r;switch(e){case`top`:r={left:`50%`,transform:`translateX(-50%)`,right:`auto`,top:t,bottom:`auto`};break;case`topLeft`:r={left:0,top:t,bottom:`auto`};break;case`topRight`:r={right:0,top:t,bottom:`auto`};break;case`bottom`:r={left:`50%`,transform:`translateX(-50%)`,right:`auto`,top:`auto`,bottom:n};break;case`bottomLeft`:r={left:0,top:`auto`,bottom:n};break;default:r={right:0,top:`auto`,bottom:n};break}return r}function ix(e){return{motionName:`${e}-fade`}}function ax(e,t,n){return e===void 0?t?.closeIcon===void 0?n?.closeIcon:t.closeIcon:e}var ox=24,sx=4.5,cx=`topRight`,lx=({children:e,prefixCls:t})=>{let n=sp(t),[r,i]=$b(t,n);return S.createElement(Lm,{classNames:{list:J(r,i,n)}},e)},ux=(e,{prefixCls:t,key:n})=>S.createElement(lx,{prefixCls:t,key:n},e),dx=S.forwardRef((e,t)=>{let{top:n,bottom:r,prefixCls:i,getContainer:a,maxCount:o,rtl:s,onAllRemoved:c,stack:l,duration:u=sx,pauseOnHover:d=!0,showProgress:f}=e,{getPrefixCls:p,getPopupContainer:m,direction:h}=ya(`notification`),{notification:g}=(0,S.useContext)(ga),[,_]=Vl(),v=i||p(`notification`),y=(0,S.useMemo)(()=>ef(u)&&u>0?u:!1,[u]),[b,x]=Jm({prefixCls:v,style:e=>rx(e,n??ox,r??ox),className:()=>J({[`${v}-rtl`]:s??h===`rtl`}),motion:()=>ix(v),closable:{closeIcon:ex(v)},duration:y,getContainer:()=>a?.()||m?.()||document.body,maxCount:o,pauseOnHover:d,showProgress:f,onAllRemoved:c,renderNotifications:ux,stack:l===!1?!1:{threshold:nf(l)?l?.threshold:void 0,offset:8,gap:_.margin}}),[C,w]=Cf([g?.classNames,e?.classNames],[g?.styles,e?.styles],{props:e});return S.useImperativeHandle(t,()=>({...b,prefixCls:v,notification:g,classNames:C,styles:w})),x});function fx(e){let t=S.useRef(null);Gi(`Notification`);let{notification:n}=S.useContext(ga);return[S.useMemo(()=>{let r=r=>{if(!t.current)return;let{open:i,prefixCls:a,notification:o,classNames:s,styles:c}=t.current,l=o?.className||{},u=o?.style||{},d=`${a}-notice`,{title:f,message:p,description:m,icon:h,type:g,btn:_,actions:v,className:y,style:b,role:x=`alert`,closeIcon:C,closable:w,classNames:T={},styles:E={},...D}=r,O=f??p,k=v??_,A=ex(d,ax(C,e,o)),[j,M,,N]=ff(sf({...e||{},...r}),sf(n),{closable:!0,closeIcon:A}),P=j?{onClose:nf(w)?w.onClose:void 0,closeIcon:M,...N}:!1,F=Sf(T,{props:r}),I=Sf(E,{props:r}),L=_f(void 0,s,F),R=yf(c,I);return i({placement:e?.placement??cx,...D,content:S.createElement(nx,{prefixCls:d,icon:h,type:g,title:O,description:m,actions:k,role:x,classNames:L,styles:R}),className:J({[`${d}-${g}`]:g},y,l,L.root),style:{...u,...R.root,...b},closable:P})},i={open:r,destroy:e=>{e===void 0?t.current?.destroy():t.current?.close(e)}};return[`success`,`info`,`warning`,`error`].forEach(e=>{i[e]=t=>r({...t,type:e})}),i},[e,n]),S.createElement(dx,{key:`notification-holder`,...e,ref:t})]}function px(e){return fx(e)}var mx=S.createContext({}),hx=S.createContext({message:{},notification:{},modal:{}}),gx=Ql(`App`,e=>{let{componentCls:t,colorText:n,fontSize:r,lineHeight:i,fontFamily:a}=e;return{[t]:{color:n,fontSize:r,lineHeight:i,fontFamily:a,[`&${t}-rtl`]:{direction:`rtl`}}}},()=>({})),_x=e=>{let{prefixCls:t,children:n,className:r,rootClassName:i,message:a,notification:o,style:s,component:c=`div`}=e,{direction:l,getPrefixCls:u,className:d,style:f}=ya(`app`),p=u(`app`,t),[m,h]=gx(p),g=J(m,p,r,i,h,{[`${p}-rtl`]:l===`rtl`}),_=(0,S.useContext)(mx),v=S.useMemo(()=>({message:{..._.message,...a},notification:{..._.notification,...o}}),[a,o,_.message,_.notification]),[y,b]=sh(v.message),[x,C]=px(v.notification),[w,T]=Vb(),E=S.useMemo(()=>({message:y,notification:x,modal:w}),[y,x,w]);Gi(`App`)(!(h&&c===!1),`usage`,"When using cssVar, ensure `component` is assigned a valid React component string.");let D=c===!1?S.Fragment:c,O={className:J(d,g),style:{...f,...s}};return S.createElement(hx.Provider,{value:E},S.createElement(mx.Provider,{value:v},S.createElement(D,{...c===!1?void 0:O},T,b,C,n)))},vx=()=>S.useContext(hx),yx=_x;yx.useApp=vx;function bx(e){return t=>S.createElement(Nm,{theme:{token:{motion:!1,zIndexPopupBase:0}}},S.createElement(e,{...t}))}var xx=(e,t,n,r,i)=>bx(a=>{let{prefixCls:o,style:s}=a,c=S.useRef(null),[l,u]=S.useState(0),[d,f]=S.useState(0),[p,m]=Gn(!1,a.open),{getPrefixCls:h}=S.useContext(ga),g=h(r||`select`,o);S.useEffect(()=>{if(m(!0),typeof ResizeObserver<`u`){let e=new ResizeObserver(e=>{let t=e[0].target;u(t.offsetHeight+8),f(t.offsetWidth)}),t=setInterval(()=>{let n=i?`.${i(g)}`:`.${g}-dropdown`,r=c.current?.querySelector(n);r&&(clearInterval(t),e.observe(r))},10);return()=>{clearInterval(t),e.disconnect()}}},[g]);let _={...a,style:{...s,margin:0},open:p,getPopupContainer:()=>c.current};n&&(_=n(_)),t&&(_={..._,[t]:{overflow:{adjustX:!1,adjustY:!1}}});let v={paddingBottom:l,position:`relative`,minWidth:d};return S.createElement(`div`,{ref:c,style:v},S.createElement(e,{..._}))}),Sx=(e,t,n,r,i=!1,a,o)=>{let s=(0,S.useMemo)(()=>typeof n==`boolean`?{allowClear:n}:n&&typeof n==`object`?n:{allowClear:!1},[n]);return(0,S.useMemo)(()=>{let e=!i&&s.allowClear!==!1&&(t.length||a)&&!(o===`combobox`&&a===``);return{allowClear:e,clearIcon:e?s.clearIcon||r||`×`:null}},[s,r,i,t.length,a,o])},Cx=S.createContext(null);function wx(){return S.useContext(Cx)}function Tx(e=250){let t=S.useRef(null),n=S.useRef(null);S.useEffect(()=>()=>{window.clearTimeout(n.current)},[]);function r(r){(r||t.current===null)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout(()=>{t.current=null},e)}return[()=>t.current,r]}function Ex(e,t){return e.filter(e=>e).some(e=>e.contains(t)||e===t)}function Dx(e,t,n,r){let i=zn(i=>{if(r)return;let a=i.target;a.shadowRoot&&i.composed&&(a=i.composedPath()[0]||a),i._ori_target&&(a=i._ori_target),t&&!Ex(e(),a)&&n(!1)});S.useEffect(()=>(window.addEventListener(`mousedown`,i),()=>window.removeEventListener(`mousedown`,i)),[i])}function Ox(){return Ox=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let t=e===!0?0:1;return{bottomLeft:{points:[`tl`,`bl`],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:`scroll`},bottomRight:{points:[`tr`,`br`],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:`scroll`},topLeft:{points:[`bl`,`tl`],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:`scroll`},topRight:{points:[`br`,`tr`],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:`scroll`}}},Ax=S.forwardRef((e,t)=>{let{prefixCls:n,disabled:r,visible:i,children:a,popupElement:o,animation:s,transitionName:c,popupStyle:l,popupClassName:u,direction:d=`ltr`,placement:f,builtinPlacements:p,popupMatchSelectWidth:m,popupRender:h,popupAlign:g,getPopupContainer:_,empty:v,onPopupVisibleChange:y,onPopupMouseEnter:b,onPopupMouseDown:x,onPopupBlur:C,...w}=e,T=`${n}-dropdown`,E=o;h&&(E=h(o));let D=S.useMemo(()=>p||kx(m),[p,m]),O=s?`${T}-${s}`:c,k=typeof m==`number`,A=S.useMemo(()=>k?null:m===!1?`minWidth`:`width`,[m,k]),j=l;k&&(j={...l,width:m});let M=S.useRef(null);return S.useImperativeHandle(t,()=>({getPopupElement:()=>M.current?.popupElement})),S.createElement(om,Ox({},w,{showAction:y?[`click`]:[],hideAction:y?[`click`]:[],popupPlacement:f||(d===`rtl`?`bottomRight`:`bottomLeft`),builtinPlacements:D,prefixCls:T,popupMotion:{motionName:O},popup:S.createElement(`div`,{onMouseEnter:b,onMouseDown:x,onBlur:C},E),ref:M,stretch:A,popupAlign:g,popupVisible:i,getPopupContainer:_,popupClassName:J(u,{[`${T}-empty`]:v}),popupStyle:j,onPopupVisibleChange:y}),a)});function jx(e,t){let{key:n}=e,r;return`value`in e&&({value:r}=e),n??(r===void 0?`rc-index-key-${t}`:r)}function Mx(e){return e!==void 0&&!Number.isNaN(e)}function Nx(e,t){let{label:n,value:r,options:i,groupLabel:a}=e||{},o=n||(t?`children`:`label`);return{label:o,value:r||`value`,options:i||`options`,groupLabel:a||o}}function Px(e,{fieldNames:t,childrenAsData:n}={}){let r=[],{label:i,value:a,options:o,groupLabel:s}=Nx(t,!1);function c(e,t){Array.isArray(e)&&e.forEach(e=>{if(t||!(o in e)){let n=e[a];r.push({key:jx(e,r.length),groupOption:t,data:e,label:e[i],value:n})}else{let t=e[s];t===void 0&&n&&(t=e.label),r.push({key:jx(e,r.length),group:!0,data:e,label:t}),c(e[o],!0)}})}return c(e,!1),r}function Fx(e){let t={...e};return`props`in t||Object.defineProperty(t,`props`,{get(){return ui(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var Ix=(e,t,n)=>{if(!t||!t.length)return null;let r=!1,i=(e,[t,...n])=>{if(!t)return[e];let a=e.split(t);return r||=a.length>1,a.reduce((e,t)=>[...e,...i(t,n)],[]).filter(Boolean)},a=i(e,t);return r?n===void 0?a:a.slice(0,n):null};function Lx(e){let{visible:t,values:n}=e;return t?S.createElement(`span`,{"aria-live":`polite`,style:{width:0,height:0,position:`absolute`,overflow:`hidden`,opacity:0}},`${n.slice(0,50).map(({label:e,value:t})=>[`number`,`string`].includes(typeof e)?e:t).join(`, `)}`,n.length>50?`, ...`:null):null}var Rx=e=>{let t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(null)},zx=(e,t=1)=>{if(t<=0){e();return}Rx(()=>{zx(e,t-1)})};function Bx(e,t,n,r){let[i,a]=(0,S.useState)(!1);(0,S.useEffect)(()=>{a(!0)},[]);let[o,s]=Gn(e,t),[c,l]=(0,S.useState)(!1),u=i?o:!1,d=r(u),f=(0,S.useRef)(0),p=zn(e=>{n&&d!==e&&n(e),s(e)});return[u,d,zn((e,t={})=>{let{cancelFun:n}=t;f.current+=1;let r=f.current,i=typeof e==`boolean`?e:!d;l(!i);function a(){r===f.current&&!n?.()&&(p(i),l(!1))}i?a():zx(()=>{a()})}),c]}function Vx(e){let{children:t,...n}=e;return t?S.createElement(`div`,n,t):null}var Hx=S.createContext(null);function Ux(){return S.useContext(Hx)}var Wx=S.forwardRef((e,t)=>{let{onChange:n,onKeyDown:r,onBlur:i,style:a,syncWidth:o,value:s,className:c,autoComplete:l,...u}=e,{prefixCls:d,mode:f,onSearch:p,onSearchSubmit:m,onInputBlur:h,autoFocus:g,tokenWithEnter:_,placeholder:v,components:{input:y=`input`}}=Ux(),{id:b,classNames:x,styles:C,open:w,activeDescendantId:T,role:E,disabled:D}=wx()||{},O=J(`${d}-input`,x?.input,c),k=S.useRef(!1),A=S.useRef(null),j=S.useRef(null);S.useImperativeHandle(t,()=>j.current);let M=e=>{let{value:t}=e.target;if(_&&A.current&&/[\r\n]/.test(A.current)){let e=A.current.replace(/[\r\n]+$/,``).replace(/\r\n/g,` `).replace(/[\r\n]/g,` `);t=t.replace(e,A.current)}A.current=null,p&&p(t,!0,k.current),n?.(e)},N=e=>{let{key:t}=e,{value:n}=e.currentTarget;t===`Enter`&&f===`tags`&&!w&&!k.current&&m&&m(n),r?.(e)},P=e=>{h?.(),i?.(e)},F=()=>{k.current=!0},I=e=>{if(k.current=!1,f!==`combobox`){let{value:t}=e.currentTarget;p?.(t,!0,!1)}},L=e=>{let{clipboardData:t}=e;A.current=t?.getData(`text`)||``},[R,z]=S.useState(void 0);Hn(()=>{let e=j.current;if(o&&e){e.style.width=`0px`;let t=e.scrollWidth;z(t),e.style.width=``}},[o,s]);let B={id:b,type:f===`combobox`?`text`:`search`,...u,ref:j,style:{...C?.input,...a,"--select-input-width":R},autoFocus:g,autoComplete:l||`off`,className:O,disabled:D,value:s||``,onChange:M,onKeyDown:N,onBlur:P,onPaste:L,onCompositionStart:F,onCompositionEnd:I,role:E||`combobox`,"aria-expanded":w||!1,"aria-haspopup":`listbox`,"aria-owns":w?`${b}_list`:void 0,"aria-autocomplete":`list`,"aria-controls":w?`${b}_list`:void 0,"aria-activedescendant":w?T:void 0};if(S.isValidElement(y)){let t=y.props||{},n={placeholder:e.placeholder||v,...B,...t};return Object.keys(t).forEach(e=>{let r=t[e];typeof r==`function`&&(n[e]=(...t)=>{r(...t),B[e]?.(...t)})}),n.ref=cr(y.ref,B.ref),S.cloneElement(y,n)}let V=y;return S.createElement(V,B)});function Gx(e){let{prefixCls:t,placeholder:n,displayValues:r}=Ux(),{classNames:i,styles:a}=wx(),{show:o=!0}=e;return r.length?null:S.createElement(`div`,{className:J(`${t}-placeholder`,i?.placeholder),style:{visibility:o?`visible`:`hidden`,...a?.placeholder}},n)}var Kx=S.createContext(null);function qx(e){return Array.isArray(e)?e:e===void 0?[]:[e]}typeof window<`u`&&window.document&&window.document.documentElement;function Jx(e){return e!=null}function Yx(e){return!e&&e!==0}function Xx(e){return[`string`,`number`].includes(typeof e)}function Zx(e){let t;return e&&(Xx(e.title)?t=e.title.toString():Xx(e.label)&&(t=e.label.toString())),t}function Qx(){return Qx=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,searchValue:r,activeValue:i,displayValues:a,maxLength:o,mode:s,components:c}=Ux(),{triggerOpen:l,title:u,showSearch:d,classNames:f,styles:p}=wx(),m=S.useContext(Kx),[h,g]=S.useState(!1),_=s===`combobox`,v=a[0],y=S.useMemo(()=>_&&i&&!h&&l?i:d?r:``,[_,i,h,l,r,d]),[b,x,C,w]=S.useMemo(()=>{let e,t,n;if(v&&m?.flattenOptions){let r=m.flattenOptions.find(e=>e.value===v.value);r?.data&&(e=r.data.className,t=r.data.style,n=Zx(r.data))}return v&&!n&&(n=Zx(v)),u!==void 0&&(n=u),[e,t,n,!!e||!!t]},[v,m?.flattenOptions,u]);S.useEffect(()=>{_&&g(!1)},[_,i]);let T=v&&v.label!==null&&v.label!==void 0&&String(v.label).trim()!==``,E=_&&c?.input?null:v?w?S.createElement(`div`,{className:J(`${n}-content-value`,b),style:{...y?{visibility:`hidden`}:{},...x},title:C},v.label):v.label:S.createElement(Gx,{show:!y});return S.createElement(`div`,{className:J(`${n}-content`,T&&`${n}-content-has-value`,y&&`${n}-content-has-search-value`,w&&`${n}-content-has-option-style`,f?.content),style:p?.content,title:w?void 0:C},E,S.createElement(Wx,Qx({ref:t},e,{value:y,maxLength:s===`combobox`?o:void 0,onChange:t=>{g(!0),e.onChange?.(t)}})))}),eS=void 0;function tS(e,t){let{prefixCls:n,invalidate:r,item:i,renderItem:a,responsive:o,responsiveDisabled:s,registerSize:c,itemKey:l,className:u,style:d,children:f,display:p,order:m,component:h=`div`,...g}=e,_=o&&!p;function v(e){c(l,e)}S.useEffect(()=>()=>{v(null)},[]);let y=a&&i!==eS?a(i,{index:m}):f,b;r||(b={opacity:+!_,height:_?0:eS,overflowY:_?`hidden`:eS,order:o?m:eS,pointerEvents:_?`none`:eS,position:_?`absolute`:eS});let x={};_&&(x[`aria-hidden`]=!0);let C=S.createElement(h,Bg({className:J(!r&&n,u),style:{...b,...d}},x,g,{ref:t}),y);return o&&(C=S.createElement(oa,{onResize:({offsetWidth:e})=>{v(e)},disabled:s},C)),C}var nS=S.forwardRef(tS);function rS(e){if(typeof MessageChannel>`u`)Oi(e);else{let t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(void 0)}}function iS(){let e=S.useRef(null);return t=>{e.current||(e.current=[],rS(()=>{(0,Vi.unstable_batchedUpdates)(()=>{e.current.forEach(e=>{e()}),e.current=null})})),e.current.push(t)}}function aS(e,t){let[n,r]=S.useState(t);return[n,zn(t=>{e(()=>{r(t)})})]}var oS=S.createContext(null),sS=S.forwardRef((e,t)=>{let n=S.useContext(oS);if(!n){let{component:n=`div`,...r}=e;return S.createElement(n,Bg({},r,{ref:t}))}let{className:r,...i}=n,{className:a,...o}=e;return S.createElement(oS.Provider,{value:null},S.createElement(nS,Bg({ref:t,className:J(r,a)},i,o)))}),cS=`responsive`,lS=`invalidate`;function uS(e){return`+ ${e.length} ...`}function dS(e,t){let{prefixCls:n=`rc-overflow`,data:r=[],renderItem:i,renderRawItem:a,itemKey:o,itemWidth:s=10,ssr:c,style:l,className:u,maxCount:d,renderRest:f,renderRawRest:p,prefix:m,suffix:h,component:g=`div`,itemComponent:_,onVisibleChange:v,...y}=e,b=c===`full`,x=iS(),[C,w]=aS(x,null),T=C||0,[E,D]=aS(x,new Map),[O,k]=aS(x,0),[A,j]=aS(x,0),[M,N]=aS(x,0),[P,F]=aS(x,0),[I,L]=(0,S.useState)(null),[R,z]=(0,S.useState)(null),B=S.useMemo(()=>R===null&&b?2**53-1:R||0,[R,C]),[V,H]=(0,S.useState)(!1),U=`${n}-item`,W=Math.max(O,A),ee=d===cS,te=r.length&&ee,ne=d===lS,re=te||typeof d==`number`&&r.length>d,G=(0,S.useMemo)(()=>{let e=r;return te?e=C===null&&b?r:r.slice(0,Math.min(r.length,T/s)):typeof d==`number`&&(e=r.slice(0,d)),e},[r,s,C,d,te]),ie=(0,S.useMemo)(()=>te?r.slice(B+1):r.slice(G.length),[r,G,te,B]),K=(0,S.useCallback)((e,t)=>typeof o==`function`?o(e):(o&&e?.[o])??t,[o]),ae=(0,S.useCallback)(i||(e=>e),[i]);function q(e,t,n){R===e&&(t===void 0||t===I)||(z(e),n||(H(e{let r=new Map(n);return t===null?r.delete(e):r.set(e,t),r})}function ce(e,t){j(t),k(A)}function le(e,t){N(t)}function ue(e,t){F(t)}function de(e){return E.get(K(G[e],e))}Hn(()=>{if(T&&typeof W==`number`&&G){let e=M+P,t=G.length,n=t-1;if(!t){q(0,null);return}for(let r=0;rT){q(r-1,e-t-P+A);break}}h&&de(0)+P>T&&L(null)}},[T,E,A,M,P,K,G]);let fe=V&&!!ie.length,pe={};I!==null&&te&&(pe={position:`absolute`,top:0,insetInlineStart:I});let me={prefixCls:U,responsive:te,component:_,invalidate:ne},he=a?(e,t)=>{let n=K(e,t);return S.createElement(oS.Provider,{key:n,value:{...me,order:t,item:e,itemKey:n,registerSize:se,display:t<=B}},a(e,t))}:(e,t)=>{let n=K(e,t);return S.createElement(nS,Bg({},me,{order:t,key:n,item:e,renderItem:ae,itemKey:n,registerSize:se,display:t<=B}))},ge={order:fe?B:2**53-1,className:`${U}-rest`,registerSize:ce,display:fe},_e=f||uS,ve=p?S.createElement(oS.Provider,{value:{...me,...ge}},p(ie)):S.createElement(nS,Bg({},me,ge),typeof _e==`function`?_e(ie):_e),ye=S.createElement(g,Bg({className:J(!ne&&n,u),style:l,ref:t},y),m&&S.createElement(nS,Bg({},me,{responsive:ee,responsiveDisabled:!te,order:-1,className:`${U}-prefix`,registerSize:le,display:!0}),m),G.map(he),re?ve:null,h&&S.createElement(nS,Bg({},me,{responsive:ee,responsiveDisabled:!te,order:B,className:`${U}-suffix`,registerSize:ue,display:!0,style:pe}),h));return ee?S.createElement(oa,{onResize:oe,disabled:!te},ye):ye}var fS=S.forwardRef(dS);fS.Item=sS,fS.RESPONSIVE=cS,fS.INVALIDATE=lS;var pS=fS,mS=e=>{let{className:t,style:n,customizeIcon:r,customizeIconProps:i,children:a,onMouseDown:o,onClick:s}=e,c=typeof r==`function`?r(i):r;return S.createElement(`span`,{className:t,onMouseDown:e=>{e.preventDefault(),o?.(e)},style:{userSelect:`none`,WebkitUserSelect:`none`,...n},unselectable:`on`,onClick:s,"aria-hidden":!0},c===void 0?S.createElement(`span`,{className:J(t.split(/\s+/).map(e=>`${e}-icon`))},a):c)};function hS(){return hS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{e.preventDefault(),e.stopPropagation()},vS=S.forwardRef(function({inputProps:e},t){let{prefixCls:n,displayValues:r,searchValue:i,mode:a,onSelectorRemove:o,removeIcon:s}=Ux(),{disabled:c,showSearch:l,triggerOpen:u,rawOpen:d,toggleOpen:f,autoClearSearchValue:p,tagRender:m,maxTagPlaceholder:h,maxTagTextLength:g,maxTagCount:_,classNames:v,styles:y}=wx(),b=`${n}-selection-item`,x=i;!d&&a===`multiple`&&p!==!1&&(x=``);let C=l&&x||``,w=l&&!c,T=s??`×`,E=h??(e=>`+ ${e.length} ...`),D=m,O=e=>{f(e)},k=e=>{o?.(e)},A=(e,t,n,r,i)=>S.createElement(`span`,{title:Zx(e),className:J(b,{[`${b}-disabled`]:n},v?.item),style:y?.item},S.createElement(`span`,{className:J(`${b}-content`,v?.itemContent),style:y?.itemContent},t),r&&S.createElement(mS,{className:J(`${b}-remove`,v?.itemRemove),style:y?.itemRemove,onMouseDown:_S,onClick:i,customizeIcon:T},`×`)),j=(e,t,n,r,i,a,o)=>S.createElement(`span`,{onMouseDown:e=>{_S(e),O(!u)}},D({label:t,value:e,index:o?.index,disabled:n,closable:r,onClose:i,isMaxTag:!!a}));return S.createElement(pS,{prefixCls:`${n}-content`,className:v?.content,style:y?.content,prefix:!r.length&&!C&&S.createElement(Gx,null),data:r,renderItem:(e,t)=>{let{disabled:n,label:r,value:i}=e,a=!c&&!n,o=r;if(typeof g==`number`&&(typeof r==`string`||typeof r==`number`)){let e=String(o);e.length>g&&(o=`${e.slice(0,g)}...`)}let s=t=>{t&&t.stopPropagation(),k(e)};return typeof D==`function`?j(i,o,n,a,s,void 0,t):A(e,o,n,a,s)},renderRest:e=>{if(!r.length)return null;let t=typeof E==`function`?E(e):E;return typeof D==`function`?j(void 0,t,!1,!1,void 0,!0):A({title:t},t,!1)},suffix:S.createElement(Wx,hS({ref:t,disabled:c,readOnly:!w},e,{value:C||``,syncWidth:!0})),itemKey:gS,maxCount:_})}),yS=S.forwardRef(function(e,t){let{multiple:n,onInputKeyDown:r,tabIndex:i}=Ux(),a=wx(),{showSearch:o}=a,s={...xi(a,{aria:!0}),onKeyDown:r,readOnly:!o,tabIndex:i};return n?S.createElement(vS,{ref:t,inputProps:s}):S.createElement($x,{ref:t,inputProps:s})});function bS(e){return e&&![Qr.ESC,Qr.SHIFT,Qr.BACKSPACE,Qr.TAB,Qr.WIN_KEY,Qr.ALT,Qr.META,Qr.WIN_KEY_RIGHT,Qr.CTRL,Qr.SEMICOLON,Qr.EQUALS,Qr.CAPS_LOCK,Qr.CONTEXT_MENU,Qr.UP,Qr.LEFT,Qr.RIGHT,Qr.F1,Qr.F2,Qr.F3,Qr.F4,Qr.F5,Qr.F6,Qr.F7,Qr.F8,Qr.F9,Qr.F10,Qr.F11,Qr.F12].includes(e)}function xS(){return xS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{which:t}=e,n=F.current instanceof HTMLTextAreaElement;!n&&D&&(t===Qr.UP||t===Qr.DOWN)&&e.preventDefault(),x&&x(e),!(n&&!D&&~[Qr.UP,Qr.DOWN,Qr.LEFT,Qr.RIGHT].indexOf(t))&&!(e.ctrlKey||e.altKey||e.metaKey)&&bS(t)&&O(!0)});S.useImperativeHandle(t,()=>({focus:e=>{(F.current||P.current).focus?.(e)},blur:()=>{(F.current||P.current).blur?.()},nativeElement:kr(P.current)}));let L=zn(e=>{if(!A){let t=kr(F.current);e.nativeEvent._ori_target=t;let n=t===e.target||t?.contains(e.target);t&&!n&&e.preventDefault();let r=D&&!l&&(f===`combobox`||k)||D&&l&&n;e.nativeEvent._select_lazy?D&&O(!1):(F.current?.focus(),r||O())}y?.(e)}),{root:R}=T,z=gi(E,SS),B=xi(z,{aria:!0}),V=Object.keys(B),H={...e,onInputKeyDown:I};if(R){let e=R.props||{},t={...e,...z};return Object.keys(e).forEach(n=>{let r=e[n],i=z[n];typeof r==`function`&&typeof i==`function`&&(t[n]=(...e)=>{i(...e),r(...e)})}),S.isValidElement(R)?S.cloneElement(R,{...t,ref:cr(R.ref,P)}):S.createElement(R,xS({},t,{ref:P}))}return S.createElement(Hx.Provider,{value:H},S.createElement(`div`,xS({},gi(z,V),{ref:P,className:r,style:i,onMouseDown:L}),S.createElement(Vx,{className:J(`${n}-prefix`,M?.prefix),style:N?.prefix},a),S.createElement(yS,{ref:F}),S.createElement(Vx,{className:J(`${n}-suffix`,{[`${n}-suffix-loading`]:j},M?.suffix),style:N?.suffix},o),s&&S.createElement(Vx,{className:J(`${n}-clear`,M?.clear),style:N?.clear,onMouseDown:e=>{e.nativeEvent._select_lazy=!0,b?.(e)}},s),c))});function wS(e,t,n){return S.useMemo(()=>{let{root:r,input:i}=e||{};return n&&(r=n()),t&&(i=t()),{root:r,input:i}},[e,t,n])}function TS(){return TS=Object.assign?Object.assign.bind():function(e){for(var t=1;te===`tags`||e===`multiple`,DS=S.forwardRef((e,t)=>{let{id:n,prefixCls:r,className:i,styles:a,classNames:o,showSearch:s,tagRender:c,showScrollBar:l=`optional`,direction:u,omitDomProps:d,displayValues:f,onDisplayValuesChange:p,emptyOptions:m,notFoundContent:h=`Not Found`,onClear:g,maxCount:_,placeholder:v,mode:y,disabled:b,loading:x,getInputElement:C,getRawInputElement:w,open:T,defaultOpen:E,onPopupVisibleChange:D,activeValue:O,onActiveValueChange:k,activeDescendantId:A,searchValue:j,autoClearSearchValue:M,onSearch:N,onSearchSplit:P,tokenSeparators:F,allowClear:I,prefix:L,suffix:R,suffixIcon:z,clearIcon:B,OptionList:V,animation:H,transitionName:U,popupStyle:W,popupClassName:ee,popupMatchSelectWidth:te,popupRender:ne,popupAlign:re,placement:G,builtinPlacements:ie,getPopupContainer:K,showAction:ae=[],onFocus:q,onBlur:oe,onKeyUp:se,onKeyDown:ce,onMouseDown:le,components:ue,...de}=e,fe=ES(y),pe=S.useRef(null),me=S.useRef(null),he=S.useRef(null),[ge,_e]=S.useState(!1);S.useImperativeHandle(t,()=>({focus:pe.current?.focus,blur:pe.current?.blur,scrollTo:e=>he.current?.scrollTo(e),nativeElement:kr(pe.current)}));let ve=wS(ue,C,w),ye=S.useMemo(()=>{if(y!==`combobox`)return j;let e=f[0]?.value;return typeof e==`string`||typeof e==`number`?String(e):``},[j,y,f]),be=y===`combobox`&&typeof C==`function`&&C()||null,xe=!h&&m,[Se,Ce,we,Te]=Bx(E||!1,T,D,e=>b||xe?!1:e),Ee=S.useMemo(()=>(F||[]).some(e=>[` + ${t}-confirm-body-wrapper`]:{display:`flex`,flexDirection:`column`,flex:`auto`},[`${t}-confirm-body`]:{marginBottom:`auto`}}}]},rb=e=>{let{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:`rtl`,[`${t}-confirm-body`]:{direction:`rtl`}}}}},ib=e=>{let{componentCls:t}=e,n=$y(e),r={...n};delete r.xs;let i=`--${t.replace(`.`,``)}-`,a=Object.keys(r).map(e=>({[`@media (min-width: ${Y(r[e])})`]:{width:`var(${i}${e}-width)`}}));return{[`${t}-root`]:{[t]:[].concat(pa(Object.keys(n).map((e,t)=>{let r=Object.keys(n)[t-1];return r?{[`${i}${e}-width`]:`var(${i}${r}-width)`}:null})),[{width:`var(${i}xs-width)`}],pa(a))}}},ab=e=>{let t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return dc(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},ob=e=>({footerBg:`transparent`,headerBg:`transparent`,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${Y(e.paddingMD)} ${Y(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${Y(e.padding)} ${Y(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:`none`,headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${Y(e.paddingXS)} ${Y(e.padding)}`:0,footerBorderTop:e.wireframe?`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:`none`,footerBorderRadius:e.wireframe?`0 0 ${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${Y(e.padding*2)} ${Y(e.padding*2)} ${Y(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM,mask:!0}),sb=Ql(`Modal`,e=>{let t=ab(e);return[nb(t),rb(t),tb(t),Ag(t,`zoom`),ib(t)]},ob,{unitless:{titleLineHeight:!0}}),cb;jy()&&document.documentElement.addEventListener(`click`,e=>{cb={x:e.pageX,y:e.pageY},setTimeout(()=>{cb=null},100)},!0);var lb=e=>{let{prefixCls:t,className:n,rootClassName:r,open:i,wrapClassName:a,centered:o,getContainer:s,style:c,width:l=520,footer:u,classNames:d,styles:f,children:p,loading:m,confirmLoading:h,zIndex:g,mousePosition:_,onOk:v,onCancel:y,okButtonProps:b,cancelButtonProps:x,destroyOnHidden:C,destroyOnClose:w,panelRef:T=null,closable:E,mask:D,modalRender:O,maskClosable:k,focusTriggerAfterClose:A,focusable:j,...M}=e,{getPopupContainer:N,getPrefixCls:P,direction:F,className:I,style:L,classNames:R,styles:z,centered:B,cancelButtonProps:V,okButtonProps:H,mask:U}=ya(`modal`),{modal:W}=S.useContext(ga),[ee,te]=S.useMemo(()=>typeof E==`boolean`?[void 0,void 0]:[E?.afterClose,E?.onClose],[E]),ne=P(`modal`,t),re=P(),[G,ie,K]=gf(D,U,ne,k),ae=My(j,G,A),q=e=>{h||(y?.(e),te?.())},oe=e=>{v?.(e),te?.()},se=sp(ne),[ce,le]=sb(ne,se),ue=J(a,{[`${ne}-centered`]:o??B,[`${ne}-wrap-rtl`]:F===`rtl`}),de=u!==null&&!m?S.createElement(Zy,{...e,okButtonProps:{...H,...b},onOk:oe,cancelButtonProps:{...V,...x},onCancel:q}):null,[fe,pe,me,he]=pf(sf(e),sf(W),{closable:!0,closeIcon:S.createElement(ju,{className:`${ne}-close-icon`}),closeIconRender:e=>Xy(ne,e)}),ge=fe?{disabled:me,closeIcon:pe,afterClose:ee,...he}:!1,_e=O?e=>S.createElement(`div`,{className:`${ne}-render`},O(e)):void 0,ve=cr(T,qy(`.${ne}-${O?`render`:`container`}`)),[ye,be]=Lf(`Modal`,g),xe={...e,width:l,panelRef:T,focusTriggerAfterClose:ae.focusTriggerAfterClose,focusable:ae,mask:G,maskClosable:K,zIndex:ye},[Se,Ce]=Cf([R,d,ie],[z,f],{props:xe}),[we,Te]=S.useMemo(()=>nf(l)?[void 0,l]:[l,void 0],[l]),Ee=S.useMemo(()=>{let e={};return Te&&Object.keys(Te).forEach(t=>{let n=Te[t];$d(n)&&(e[`--${ne}-${t}-width`]=ef(n)?`${n}px`:n)}),e},[ne,Te]);return S.createElement(Ay,{form:!0,space:!0},S.createElement(jf.Provider,{value:be},S.createElement(L_,{width:we,...M,zIndex:ye,getContainer:s===void 0?N:s,prefixCls:ne,rootClassName:J(ce,r,le,se,Se.root),rootStyle:Ce.root,footer:de,visible:i,mousePosition:_??cb,onClose:q,closable:ge,closeIcon:pe,transitionName:vh(re,`zoom`,e.transitionName),maskTransitionName:vh(re,`fade`,e.maskTransitionName),mask:G,maskClosable:K,className:J(ce,n,I),style:{...L,...c,...Ee},classNames:{...Se,wrapper:J(Se.wrapper,ue)},styles:Ce,panelRef:ve,destroyOnHidden:C??w,modalRender:_e,focusTriggerAfterClose:ae.focusTriggerAfterClose,focusTrap:ae.trap},m?S.createElement(Gy,{active:!0,title:!1,paragraph:{rows:4},className:`${ne}-body-skeleton`}):p)))},ub=e=>{let{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:i,fontSize:a,lineHeight:o,modalTitleHeight:s,fontHeight:c,confirmBodyPadding:l}=e,u=`${t}-confirm`;return{[u]:{"&-rtl":{direction:`rtl`},[`${e.antCls}-modal-header`]:{display:`none`},[`${u}-body-wrapper`]:{...Gl()},[`&${t} ${t}-body`]:{padding:l},[`${u}-body`]:{display:`flex`,flexWrap:`nowrap`,alignItems:`start`,[`> ${e.iconCls}`]:{flex:`none`,fontSize:i,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(c).sub(i).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(s).sub(i).equal()).div(2).equal()}},[`${u}-paragraph`]:{display:`flex`,flexDirection:`column`,flex:`auto`,rowGap:e.marginXS,maxWidth:`calc(100% - ${Y(e.marginSM)})`},[`${u}-body-no-icon ${u}-paragraph`]:{maxWidth:`100%`},[`${e.iconCls} + ${u}-paragraph`]:{maxWidth:`calc(100% - ${Y(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${u}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${u}-container`]:{color:e.colorText,fontSize:a,lineHeight:o},[`${u}-btns`]:{textAlign:`end`,marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${u}-error ${u}-body > ${e.iconCls}`]:{color:e.colorError},[`${u}-warning ${u}-body > ${e.iconCls}, + ${u}-confirm ${u}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${u}-info ${u}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${u}-success ${u}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},db=eu([`Modal`,`confirm`],e=>ub(ab(e)),ob,{order:-1e3}),fb=e=>{let{prefixCls:t,icon:n,okText:r,cancelText:i,confirmPrefixCls:a,type:o,okCancel:s,footer:c,locale:l,autoFocusButton:u,focusable:d,...f}=e,p=n;if(!n&&n!==null)switch(o){case`info`:p=S.createElement(Lu,null);break;case`success`:p=S.createElement(Tu,null);break;case`error`:p=S.createElement(Ou,null);break;default:p=S.createElement(Pu,null)}let m=s??o===`confirm`,h=S.useMemo(()=>{let e=d?.autoFocusButton||u;return e||e===null?e:`ok`},[u,d?.autoFocusButton]),[g]=Yd(`Modal`),_=l||g,v=r||(m?_?.okText:_?.justOkText),y=i||_?.cancelText,{closable:b}=f,{onClose:x}=nf(b)?b:{},C=S.useMemo(()=>({autoFocusButton:h,cancelTextLocale:y,okTextLocale:v,mergedOkCancel:m,onClose:x,...f}),[h,y,v,m,x,f]),w=S.createElement(S.Fragment,null,S.createElement(x_,null),S.createElement(S_,null)),T=$d(e.title)&&e.title!==``,E=$d(p),D=`${a}-body`;return S.createElement(`div`,{className:`${a}-body-wrapper`},S.createElement(`div`,{className:J(D,{[`${D}-has-title`]:T,[`${D}-no-icon`]:!E})},p,S.createElement(`div`,{className:`${a}-paragraph`},T&&S.createElement(`span`,{className:`${a}-title`},e.title),S.createElement(`div`,{className:`${a}-content`},e.content))),c===void 0||typeof c==`function`?S.createElement(b_,{value:C},S.createElement(`div`,{className:`${a}-btns`},typeof c==`function`?c(w,{OkBtn:S_,CancelBtn:x_}):w)):c,S.createElement(db,{prefixCls:t}))},pb=e=>{let{close:t,zIndex:n,maskStyle:r,direction:i,prefixCls:a,wrapClassName:o,rootPrefixCls:s,bodyStyle:c,closable:l=!1,onConfirm:u,styles:d,title:f,mask:p,maskClosable:m,okButtonProps:h,cancelButtonProps:g}=e,{cancelButtonProps:_,okButtonProps:v}=ya(`modal`),y=`${a}-confirm`,b=e.width||416,x=e.style||{},C=J(y,`${y}-${e.type}`,{[`${y}-rtl`]:i===`rtl`},e.className),w=S.useMemo(()=>{let e=hf(p,m);return e.closable??=!1,e},[p,m]),[,T]=Vl(),E=S.useMemo(()=>n===void 0?T.zIndexPopupBase+Nf:n,[n,T]);return S.createElement(lb,{...e,className:C,wrapClassName:J({[`${y}-centered`]:!!e.centered},o),onCancel:()=>{t?.({triggerCancel:!0}),u?.(!1)},title:f,footer:null,transitionName:vh(s||``,`zoom`,e.transitionName),maskTransitionName:vh(s||``,`fade`,e.maskTransitionName),mask:w,style:x,styles:{body:c,mask:r,...d},width:b,zIndex:E,closable:l},S.createElement(fb,{...e,confirmPrefixCls:y,okButtonProps:{...v,...h},cancelButtonProps:{..._,...g}}))},mb=e=>{let{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:i}=e;return S.createElement(Fm,{prefixCls:t,iconPrefixCls:n,direction:r,theme:i},S.createElement(pb,{...e}))},hb=[],gb=``;function _b(){return gb}var vb=e=>{let{prefixCls:t,getContainer:n,direction:r}=e,i=qd(),a=(0,S.useContext)(ga),o=_b()||a.getPrefixCls(),s=t||`${o}-modal`,c=n;return c===!1&&(c=void 0),S.createElement(mb,{...e,rootPrefixCls:o,prefixCls:s,iconPrefixCls:a.iconPrefixCls,theme:a.theme,direction:r??a.direction,locale:a.locale?.Modal??i,getContainer:c})};function yb(e){let t=Nm(),n=document.createDocumentFragment(),r={...e,close:s,open:!0},i;function a(...t){t.some(e=>e?.triggerCancel)&&e.onCancel?.(()=>{},...t.slice(1));for(let e=0;e{})}let o=e=>{clearTimeout(i),i=setTimeout(()=>{let r=t.getPrefixCls(void 0,_b()),i=t.getIconPrefixCls(),a=t.getTheme(),o=S.createElement(vb,{...e});zi(S.createElement(Fm,{prefixCls:r,iconPrefixCls:i,theme:a},typeof t.holderRender==`function`?t.holderRender(o):o),n)})};function s(...t){r={...r,open:!1,afterClose:()=>{typeof e.afterClose==`function`&&e.afterClose(),a.apply(this,t)}},o(r)}function c(e){r=typeof e==`function`?e(r):{...r,...e},o(r)}return o(r),hb.push(s),{destroy:s,update:c}}function bb(e){return{...e,type:`warning`}}function xb(e){return{...e,type:`info`}}function Sb(e){return{...e,type:`success`}}function Cb(e){return{...e,type:`error`}}function wb(e){return{...e,type:`confirm`}}function Tb({rootPrefixCls:e}){gb=e}var Eb=S.forwardRef((e,t)=>{let{afterClose:n,config:r,...i}=e,[a,o]=S.useState(!0),[s,c]=S.useState(r),{direction:l,getPrefixCls:u}=S.useContext(ga),d=u(`modal`),f=u(),p=()=>{n(),s.afterClose?.()},m=(...e)=>{o(!1),e.some(e=>e?.triggerCancel)&&s.onCancel?.(()=>{},...e.slice(1))};S.useImperativeHandle(t,()=>({destroy:m,update:e=>{c(t=>{let n=typeof e==`function`?e(t):e;return{...t,...n}})}}));let h=s.okCancel??s.type===`confirm`,[g]=Yd(`Modal`,Hd.Modal);return S.createElement(mb,{prefixCls:d,rootPrefixCls:f,...s,close:m,open:a,afterClose:p,okText:s.okText||(h?g?.okText:g?.justOkText),direction:s.direction||l,cancelText:s.cancelText||g?.cancelText,...i})}),Db=0,Ob=S.memo(S.forwardRef((e,t)=>{let[n,r]=Df();return S.useImperativeHandle(t,()=>({patchElement:r}),[r]),S.createElement(S.Fragment,null,n)}));function kb(){let e=S.useRef(null),[t,n]=S.useState([]);S.useEffect(()=>{t.length&&(pa(t).forEach(e=>{e()}),n([]))},[t]);let r=S.useCallback(t=>function(r){Db+=1;let i=S.createRef(),a,o=new Promise(e=>{a=e}),s=!1,c,l=S.createElement(Eb,{key:`modal-${Db}`,config:t(r),ref:i,afterClose:()=>{c?.()},isSilent:()=>s,onConfirm:e=>{a(e)}});return c=e.current?.patchElement(l),c&&hb.push(c),{destroy:()=>{function e(){i.current?.destroy()}i.current?e():n(t=>[].concat(pa(t),[e]))},update:e=>{function t(){i.current?.update(e)}i.current?t():n(e=>[].concat(pa(e),[t]))},then:e=>(s=!0,o.then(e))}},[]);return[S.useMemo(()=>({info:r(xb),success:r(Sb),error:r(Cb),warning:r(bb),confirm:r(wb)}),[r]),S.createElement(Ob,{key:`modal-holder`,ref:e})]}var Ab=e=>{let{componentCls:t,notificationMarginEdge:n,animationMaxHeight:r}=e,i=`${t}-notice`,a=new Ms(`antNotificationFadeIn`,{"0%":{transform:`translate3d(100%, 0, 0)`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,opacity:1}}),o=new Ms(`antNotificationTopFadeIn`,{"0%":{top:-r,opacity:0},"100%":{top:0,opacity:1}}),s=new Ms(`antNotificationBottomFadeIn`,{"0%":{bottom:e.calc(r).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),c=new Ms(`antNotificationLeftFadeIn`,{"0%":{transform:`translate3d(-100%, 0, 0)`,opacity:0},"100%":{transform:`translate3d(0, 0, 0)`,opacity:1}});return{[t]:{[`&${t}-top, &${t}-bottom`]:{marginInline:0,[i]:{marginInline:`auto auto`}},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:s}},[`&${t}-topRight, &${t}-bottomRight`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[i]:{marginInlineEnd:`auto`,marginInlineStart:0},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:c}}}}},jb=[`top`,`topLeft`,`topRight`,`bottom`,`bottomLeft`,`bottomRight`],Mb={topLeft:`left`,topRight:`right`,bottomLeft:`left`,bottomRight:`right`,top:`left`,bottom:`left`},Nb=(e,t)=>{let{componentCls:n}=e;return{[`${n}-${t}`]:{[`&${n}-stack > ${n}-notice-wrapper`]:{[t.startsWith(`top`)?`top`:`bottom`]:0,[Mb[t]]:{value:0,_skip_check_:!0}}}}},Pb=e=>{let t={};for(let n=1;n ${e.componentCls}-notice`]:{opacity:0,transition:`opacity ${e.motionDurationMid}`}};return{[`&:not(:nth-last-child(-n+${e.notificationStackLayer}))`]:{opacity:0,overflow:`hidden`,color:`transparent`,pointerEvents:`none`},...t}},Fb=e=>{let t={};for(let n=1;n{let{componentCls:t}=e;return{[`${t}-stack`]:{[`& > ${t}-notice-wrapper`]:{transition:`transform ${e.motionDurationSlow}, backdrop-filter 0s`,willChange:`transform, opacity`,position:`absolute`,...Pb(e)}},[`${t}-stack:not(${t}-stack-expanded)`]:{[`& > ${t}-notice-wrapper`]:{...Fb(e)}},[`${t}-stack${t}-stack-expanded`]:{[`& > ${t}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:`unset`,color:`inherit`,pointerEvents:`auto`,[`& > ${e.componentCls}-notice`]:{opacity:1}},"&:after":{content:`""`,position:`absolute`,height:e.margin,width:`100%`,insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:`transparent`,pointerEvents:`auto`}}},...jb.map(t=>Nb(e,t)).reduce((e,t)=>({...e,...t}),{})}},Lb=e=>{let{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:i,notificationMarginBottom:a,borderRadiusLG:o,colorSuccess:s,colorInfo:c,colorWarning:l,colorError:u,colorTextHeading:d,notificationBg:f,notificationPadding:p,notificationMarginEdge:m,progressBg:h,notificationProgressHeight:g,fontSize:_,lineHeight:v,width:y,notificationIconSize:b,colorText:x,colorSuccessBg:S,colorErrorBg:C,colorInfoBg:w,colorWarningBg:T,motionDurationMid:E}=e,D=`${n}-notice`;return{position:`relative`,marginBottom:a,marginInlineStart:`auto`,background:f,borderRadius:o,boxShadow:r,[D]:{padding:p,width:y,maxWidth:`calc(100vw - ${Y(e.calc(m).mul(2).equal())})`,lineHeight:v,wordWrap:`break-word`,borderRadius:o,overflow:`hidden`,"&-success":S?{background:S}:{},"&-error":C?{background:C}:{},"&-info":w?{background:w}:{},"&-warning":T?{background:T}:{}},[`${D}-title`]:{marginBottom:e.marginXS,color:d,fontSize:i,lineHeight:e.lineHeightLG},[`${D}-description`]:{fontSize:_,color:x,marginTop:e.marginXS,"&:first-child":{marginTop:0,marginInlineEnd:e.marginSM}},[`${D}-closable ${D}-title`]:{paddingInlineEnd:e.paddingLG},[`${D}-with-icon ${D}-title`]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(b).equal(),fontSize:i},[`${D}-with-icon ${D}-description`]:{marginInlineStart:e.calc(e.marginSM).add(b).equal(),fontSize:_},[`${D}-icon`]:{position:`absolute`,fontSize:b,lineHeight:1,[`&-success${t}`]:{color:s},[`&-info${t}`]:{color:c},[`&-warning${t}`]:{color:l},[`&-error${t}`]:{color:u}},[`${D}-close`]:{position:`absolute`,top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:`none`,width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:[`color`,`background-color`].map(e=>`${e} ${E}`).join(`, `),display:`flex`,alignItems:`center`,justifyContent:`center`,background:`none`,border:`none`,"&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},...ql(e)},[`${D}-progress`]:{position:`absolute`,display:`block`,appearance:`none`,inlineSize:`calc(100% - ${Y(o)} * 2)`,left:{_skip_check_:!0,value:o},right:{_skip_check_:!0,value:o},bottom:0,blockSize:g,border:0,"&, &::-webkit-progress-bar":{borderRadius:o,backgroundColor:`rgba(0, 0, 0, 0.04)`},"&::-moz-progress-bar":{background:h},"&::-webkit-progress-value":{borderRadius:o,background:h}},[`${D}-actions`]:{float:`right`,marginTop:e.marginSM}}},Rb=e=>{let{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:r,motionDurationMid:i,motionEaseInOut:a}=e,o=`${t}-notice`,s=new Ms(`antNotificationFadeOut`,{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:{...Ul(e),position:`fixed`,zIndex:e.zIndexPopup,marginRight:{value:r,_skip_check_:!0},[`${t}-hook-holder`]:{position:`relative`},[`${t}-fade-appear-prepare`]:{opacity:`0 !important`},[`${t}-fade-enter, ${t}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:a,animationFillMode:`both`,opacity:0,animationPlayState:`paused`},[`${t}-fade-leave`]:{animationTimingFunction:a,animationFillMode:`both`,animationDuration:i,animationPlayState:`paused`},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationPlayState:`running`},[`${t}-fade-leave${t}-fade-leave-active`]:{animationName:s,animationPlayState:`running`},"&-rtl":{direction:`rtl`,[`${o}-actions`]:{float:`left`}}}},{[t]:{[`${o}-wrapper`]:Lb(e)}}]},zb=e=>({zIndexPopup:e.zIndexPopupBase+Nf+50,width:384,progressBg:`linear-gradient(90deg, ${e.colorPrimaryBorderHover}, ${e.colorPrimary})`,colorSuccessBg:void 0,colorErrorBg:void 0,colorInfoBg:void 0,colorWarningBg:void 0}),Bb=e=>{let t=e.paddingMD,n=e.paddingLG;return dc(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${Y(e.paddingMD)} ${Y(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2})},Vb=Ql(`Notification`,e=>{let t=Bb(e);return[Rb(t),Ab(t),Ib(t)]},zb);function Hb(e,t){return t===null||t===!1?null:t||S.createElement(ju,{className:`${e}-close-icon`})}var Ub={success:Tu,info:Lu,error:Ou,warning:Pu},Wb=e=>{let{prefixCls:t,icon:n,type:r,title:i,description:a,actions:o,role:s=`alert`,styles:c,classNames:l}=e,u=null;return n?u=S.createElement(`span`,{className:J(`${t}-icon`,l.icon),style:c.icon},n):r&&(u=S.createElement(Ub[r]||null,{className:J(`${t}-icon`,l.icon,`${t}-icon-${r}`),style:c.icon})),S.createElement(`div`,{className:J({[`${t}-with-icon`]:u}),role:s},u,i&&S.createElement(`div`,{className:J(`${t}-title`,l.title),style:c.title},i),a&&S.createElement(`div`,{className:J(`${t}-description`,l.description),style:c.description},a),o&&S.createElement(`div`,{className:J(`${t}-actions`,l.actions),style:c.actions},o))};function Gb(e,t,n){let r;switch(e){case`top`:r={left:`50%`,transform:`translateX(-50%)`,right:`auto`,top:t,bottom:`auto`};break;case`topLeft`:r={left:0,top:t,bottom:`auto`};break;case`topRight`:r={right:0,top:t,bottom:`auto`};break;case`bottom`:r={left:`50%`,transform:`translateX(-50%)`,right:`auto`,top:`auto`,bottom:n};break;case`bottomLeft`:r={left:0,top:`auto`,bottom:n};break;default:r={right:0,top:`auto`,bottom:n};break}return r}function Kb(e){return{motionName:`${e}-fade`}}function qb(e,t,n){return e===void 0?t?.closeIcon===void 0?n?.closeIcon:t.closeIcon:e}var Jb=24,Yb=4.5,Xb=`topRight`,Zb=({children:e,prefixCls:t})=>{let n=sp(t),[r,i]=Vb(t,n);return S.createElement(zm,{classNames:{list:J(r,i,n)}},e)},Qb=(e,{prefixCls:t,key:n})=>S.createElement(Zb,{prefixCls:t,key:n},e),$b=S.forwardRef((e,t)=>{let{top:n,bottom:r,prefixCls:i,getContainer:a,maxCount:o,rtl:s,onAllRemoved:c,stack:l,duration:u=Yb,pauseOnHover:d=!0,showProgress:f}=e,{getPrefixCls:p,getPopupContainer:m,direction:h}=ya(`notification`),{notification:g}=(0,S.useContext)(ga),[,_]=Vl(),v=i||p(`notification`),y=(0,S.useMemo)(()=>ef(u)&&u>0?u:!1,[u]),[b,x]=qm({prefixCls:v,style:e=>Gb(e,n??Jb,r??Jb),className:()=>J({[`${v}-rtl`]:s??h===`rtl`}),motion:()=>Kb(v),closable:{closeIcon:Hb(v)},duration:y,getContainer:()=>a?.()||m?.()||document.body,maxCount:o,pauseOnHover:d,showProgress:f,onAllRemoved:c,renderNotifications:Qb,stack:l===!1?!1:{threshold:nf(l)?l?.threshold:void 0,offset:8,gap:_.margin}}),[C,w]=Cf([g?.classNames,e?.classNames],[g?.styles,e?.styles],{props:e});return S.useImperativeHandle(t,()=>({...b,prefixCls:v,notification:g,classNames:C,styles:w})),x});function ex(e){let t=S.useRef(null);Gi(`Notification`);let{notification:n}=S.useContext(ga);return[S.useMemo(()=>{let r=r=>{if(!t.current)return;let{open:i,prefixCls:a,notification:o,classNames:s,styles:c}=t.current,l=o?.className||{},u=o?.style||{},d=`${a}-notice`,{title:f,message:p,description:m,icon:h,type:g,btn:_,actions:v,className:y,style:b,role:x=`alert`,closeIcon:C,closable:w,classNames:T={},styles:E={},...D}=r,O=f??p,k=v??_,A=Hb(d,qb(C,e,o)),[j,M,,N]=ff(sf({...e||{},...r}),sf(n),{closable:!0,closeIcon:A}),P=j?{onClose:nf(w)?w.onClose:void 0,closeIcon:M,...N}:!1,F=Sf(T,{props:r}),I=Sf(E,{props:r}),L=_f(void 0,s,F),R=yf(c,I);return i({placement:e?.placement??Xb,...D,content:S.createElement(Wb,{prefixCls:d,icon:h,type:g,title:O,description:m,actions:k,role:x,classNames:L,styles:R}),className:J({[`${d}-${g}`]:g},y,l,L.root),style:{...u,...R.root,...b},closable:P})},i={open:r,destroy:e=>{e===void 0?t.current?.destroy():t.current?.close(e)}};return[`success`,`info`,`warning`,`error`].forEach(e=>{i[e]=t=>r({...t,type:e})}),i},[e,n]),S.createElement($b,{key:`notification-holder`,...e,ref:t})]}function tx(e){return ex(e)}var nx=S.createContext({}),rx=S.createContext({message:{},notification:{},modal:{}}),ix=Ql(`App`,e=>{let{componentCls:t,colorText:n,fontSize:r,lineHeight:i,fontFamily:a}=e;return{[t]:{color:n,fontSize:r,lineHeight:i,fontFamily:a,[`&${t}-rtl`]:{direction:`rtl`}}}},()=>({})),ax=e=>{let{prefixCls:t,children:n,className:r,rootClassName:i,message:a,notification:o,style:s,component:c=`div`}=e,{direction:l,getPrefixCls:u,className:d,style:f}=ya(`app`),p=u(`app`,t),[m,h]=ix(p),g=J(m,p,r,i,h,{[`${p}-rtl`]:l===`rtl`}),_=(0,S.useContext)(nx),v=S.useMemo(()=>({message:{..._.message,...a},notification:{..._.notification,...o}}),[a,o,_.message,_.notification]),[y,b]=dh(v.message),[x,C]=tx(v.notification),[w,T]=kb(),E=S.useMemo(()=>({message:y,notification:x,modal:w}),[y,x,w]);Gi(`App`)(!(h&&c===!1),`usage`,"When using cssVar, ensure `component` is assigned a valid React component string.");let D=c===!1?S.Fragment:c,O={className:J(d,g),style:{...f,...s}};return S.createElement(rx.Provider,{value:E},S.createElement(nx.Provider,{value:v},S.createElement(D,{...c===!1?void 0:O},T,b,C,n)))},ox=()=>S.useContext(rx),sx=ax;sx.useApp=ox;function cx(e){return t=>S.createElement(Fm,{theme:{token:{motion:!1,zIndexPopupBase:0}}},S.createElement(e,{...t}))}var lx=(e,t,n,r,i)=>cx(a=>{let{prefixCls:o,style:s}=a,c=S.useRef(null),[l,u]=S.useState(0),[d,f]=S.useState(0),[p,m]=Gn(!1,a.open),{getPrefixCls:h}=S.useContext(ga),g=h(r||`select`,o);S.useEffect(()=>{if(m(!0),typeof ResizeObserver<`u`){let e=new ResizeObserver(e=>{let t=e[0].target;u(t.offsetHeight+8),f(t.offsetWidth)}),t=setInterval(()=>{let n=i?`.${i(g)}`:`.${g}-dropdown`,r=c.current?.querySelector(n);r&&(clearInterval(t),e.observe(r))},10);return()=>{clearInterval(t),e.disconnect()}}},[g]);let _={...a,style:{...s,margin:0},open:p,getPopupContainer:()=>c.current};n&&(_=n(_)),t&&(_={..._,[t]:{overflow:{adjustX:!1,adjustY:!1}}});let v={paddingBottom:l,position:`relative`,minWidth:d};return S.createElement(`div`,{ref:c,style:v},S.createElement(e,{..._}))}),ux=(e,t,n,r,i=!1,a,o)=>{let s=(0,S.useMemo)(()=>typeof n==`boolean`?{allowClear:n}:n&&typeof n==`object`?n:{allowClear:!1},[n]);return(0,S.useMemo)(()=>{let e=!i&&s.allowClear!==!1&&(t.length||a)&&!(o===`combobox`&&a===``);return{allowClear:e,clearIcon:e?s.clearIcon||r||`×`:null}},[s,r,i,t.length,a,o])},dx=S.createContext(null);function fx(){return S.useContext(dx)}function px(e=250){let t=S.useRef(null),n=S.useRef(null);S.useEffect(()=>()=>{window.clearTimeout(n.current)},[]);function r(r){(r||t.current===null)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout(()=>{t.current=null},e)}return[()=>t.current,r]}function mx(e,t){return e.filter(e=>e).some(e=>e.contains(t)||e===t)}function hx(e,t,n,r){let i=zn(i=>{if(r)return;let a=i.target;a.shadowRoot&&i.composed&&(a=i.composedPath()[0]||a),i._ori_target&&(a=i._ori_target),t&&!mx(e(),a)&&n(!1)});S.useEffect(()=>(window.addEventListener(`mousedown`,i),()=>window.removeEventListener(`mousedown`,i)),[i])}function gx(){return gx=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let t=e===!0?0:1;return{bottomLeft:{points:[`tl`,`bl`],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:`scroll`},bottomRight:{points:[`tr`,`br`],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:`scroll`},topLeft:{points:[`bl`,`tl`],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:`scroll`},topRight:{points:[`br`,`tr`],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:`scroll`}}},vx=S.forwardRef((e,t)=>{let{prefixCls:n,disabled:r,visible:i,children:a,popupElement:o,animation:s,transitionName:c,popupStyle:l,popupClassName:u,direction:d=`ltr`,placement:f,builtinPlacements:p,popupMatchSelectWidth:m,popupRender:h,popupAlign:g,getPopupContainer:_,empty:v,onPopupVisibleChange:y,onPopupMouseEnter:b,onPopupMouseDown:x,onPopupBlur:C,...w}=e,T=`${n}-dropdown`,E=o;h&&(E=h(o));let D=S.useMemo(()=>p||_x(m),[p,m]),O=s?`${T}-${s}`:c,k=typeof m==`number`,A=S.useMemo(()=>k?null:m===!1?`minWidth`:`width`,[m,k]),j=l;k&&(j={...l,width:m});let M=S.useRef(null);return S.useImperativeHandle(t,()=>({getPopupElement:()=>M.current?.popupElement})),S.createElement(sm,gx({},w,{showAction:y?[`click`]:[],hideAction:y?[`click`]:[],popupPlacement:f||(d===`rtl`?`bottomRight`:`bottomLeft`),builtinPlacements:D,prefixCls:T,popupMotion:{motionName:O},popup:S.createElement(`div`,{onMouseEnter:b,onMouseDown:x,onBlur:C},E),ref:M,stretch:A,popupAlign:g,popupVisible:i,getPopupContainer:_,popupClassName:J(u,{[`${T}-empty`]:v}),popupStyle:j,onPopupVisibleChange:y}),a)});function yx(e,t){let{key:n}=e,r;return`value`in e&&({value:r}=e),n??(r===void 0?`rc-index-key-${t}`:r)}function bx(e){return e!==void 0&&!Number.isNaN(e)}function xx(e,t){let{label:n,value:r,options:i,groupLabel:a}=e||{},o=n||(t?`children`:`label`);return{label:o,value:r||`value`,options:i||`options`,groupLabel:a||o}}function Sx(e,{fieldNames:t,childrenAsData:n}={}){let r=[],{label:i,value:a,options:o,groupLabel:s}=xx(t,!1);function c(e,t){Array.isArray(e)&&e.forEach(e=>{if(t||!(o in e)){let n=e[a];r.push({key:yx(e,r.length),groupOption:t,data:e,label:e[i],value:n})}else{let t=e[s];t===void 0&&n&&(t=e.label),r.push({key:yx(e,r.length),group:!0,data:e,label:t}),c(e[o],!0)}})}return c(e,!1),r}function Cx(e){let t={...e};return`props`in t||Object.defineProperty(t,`props`,{get(){return ui(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var wx=(e,t,n)=>{if(!t||!t.length)return null;let r=!1,i=(e,[t,...n])=>{if(!t)return[e];let a=e.split(t);return r||=a.length>1,a.reduce((e,t)=>[...e,...i(t,n)],[]).filter(Boolean)},a=i(e,t);return r?n===void 0?a:a.slice(0,n):null};function Tx(e){let{visible:t,values:n}=e;return t?S.createElement(`span`,{"aria-live":`polite`,style:{width:0,height:0,position:`absolute`,overflow:`hidden`,opacity:0}},`${n.slice(0,50).map(({label:e,value:t})=>[`number`,`string`].includes(typeof e)?e:t).join(`, `)}`,n.length>50?`, ...`:null):null}var Ex=e=>{let t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(null)},Dx=(e,t=1)=>{if(t<=0){e();return}Ex(()=>{Dx(e,t-1)})};function Ox(e,t,n,r){let[i,a]=(0,S.useState)(!1);(0,S.useEffect)(()=>{a(!0)},[]);let[o,s]=Gn(e,t),[c,l]=(0,S.useState)(!1),u=i?o:!1,d=r(u),f=(0,S.useRef)(0),p=zn(e=>{n&&d!==e&&n(e),s(e)});return[u,d,zn((e,t={})=>{let{cancelFun:n}=t;f.current+=1;let r=f.current,i=typeof e==`boolean`?e:!d;l(!i);function a(){r===f.current&&!n?.()&&(p(i),l(!1))}i?a():Dx(()=>{a()})}),c]}function kx(e){let{children:t,...n}=e;return t?S.createElement(`div`,n,t):null}var Ax=S.createContext(null);function jx(){return S.useContext(Ax)}var Mx=S.forwardRef((e,t)=>{let{onChange:n,onKeyDown:r,onBlur:i,style:a,syncWidth:o,value:s,className:c,autoComplete:l,...u}=e,{prefixCls:d,mode:f,onSearch:p,onSearchSubmit:m,onInputBlur:h,autoFocus:g,tokenWithEnter:_,placeholder:v,components:{input:y=`input`}}=jx(),{id:b,classNames:x,styles:C,open:w,activeDescendantId:T,role:E,disabled:D}=fx()||{},O=J(`${d}-input`,x?.input,c),k=S.useRef(!1),A=S.useRef(null),j=S.useRef(null);S.useImperativeHandle(t,()=>j.current);let M=e=>{let{value:t}=e.target;if(_&&A.current&&/[\r\n]/.test(A.current)){let e=A.current.replace(/[\r\n]+$/,``).replace(/\r\n/g,` `).replace(/[\r\n]/g,` `);t=t.replace(e,A.current)}A.current=null,p&&p(t,!0,k.current),n?.(e)},N=e=>{let{key:t}=e,{value:n}=e.currentTarget;t===`Enter`&&f===`tags`&&!w&&!k.current&&m&&m(n),r?.(e)},P=e=>{h?.(),i?.(e)},F=()=>{k.current=!0},I=e=>{if(k.current=!1,f!==`combobox`){let{value:t}=e.currentTarget;p?.(t,!0,!1)}},L=e=>{let{clipboardData:t}=e;A.current=t?.getData(`text`)||``},[R,z]=S.useState(void 0);Hn(()=>{let e=j.current;if(o&&e){e.style.width=`0px`;let t=e.scrollWidth;z(t),e.style.width=``}},[o,s]);let B={id:b,type:f===`combobox`?`text`:`search`,...u,ref:j,style:{...C?.input,...a,"--select-input-width":R},autoFocus:g,autoComplete:l||`off`,className:O,disabled:D,value:s||``,onChange:M,onKeyDown:N,onBlur:P,onPaste:L,onCompositionStart:F,onCompositionEnd:I,role:E||`combobox`,"aria-expanded":w||!1,"aria-haspopup":`listbox`,"aria-owns":w?`${b}_list`:void 0,"aria-autocomplete":`list`,"aria-controls":w?`${b}_list`:void 0,"aria-activedescendant":w?T:void 0};if(S.isValidElement(y)){let t=y.props||{},n={placeholder:e.placeholder||v,...B,...t};return Object.keys(t).forEach(e=>{let r=t[e];typeof r==`function`&&(n[e]=(...t)=>{r(...t),B[e]?.(...t)})}),n.ref=cr(y.ref,B.ref),S.cloneElement(y,n)}let V=y;return S.createElement(V,B)});function Nx(e){let{prefixCls:t,placeholder:n,displayValues:r}=jx(),{classNames:i,styles:a}=fx(),{show:o=!0}=e;return r.length?null:S.createElement(`div`,{className:J(`${t}-placeholder`,i?.placeholder),style:{visibility:o?`visible`:`hidden`,...a?.placeholder}},n)}var Px=S.createContext(null);function Fx(e){return Array.isArray(e)?e:e===void 0?[]:[e]}typeof window<`u`&&window.document&&window.document.documentElement;function Ix(e){return e!=null}function Lx(e){return!e&&e!==0}function Rx(e){return[`string`,`number`].includes(typeof e)}function zx(e){let t;return e&&(Rx(e.title)?t=e.title.toString():Rx(e.label)&&(t=e.label.toString())),t}function Bx(){return Bx=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,searchValue:r,activeValue:i,displayValues:a,maxLength:o,mode:s,components:c}=jx(),{triggerOpen:l,title:u,showSearch:d,classNames:f,styles:p}=fx(),m=S.useContext(Px),[h,g]=S.useState(!1),_=s===`combobox`,v=a[0],y=S.useMemo(()=>_&&i&&!h&&l?i:d?r:``,[_,i,h,l,r,d]),[b,x,C,w]=S.useMemo(()=>{let e,t,n;if(v&&m?.flattenOptions){let r=m.flattenOptions.find(e=>e.value===v.value);r?.data&&(e=r.data.className,t=r.data.style,n=zx(r.data))}return v&&!n&&(n=zx(v)),u!==void 0&&(n=u),[e,t,n,!!e||!!t]},[v,m?.flattenOptions,u]);S.useEffect(()=>{_&&g(!1)},[_,i]);let T=v&&v.label!==null&&v.label!==void 0&&String(v.label).trim()!==``,E=_&&c?.input?null:v?w?S.createElement(`div`,{className:J(`${n}-content-value`,b),style:{...y?{visibility:`hidden`}:{},...x},title:C},v.label):v.label:S.createElement(Nx,{show:!y});return S.createElement(`div`,{className:J(`${n}-content`,T&&`${n}-content-has-value`,y&&`${n}-content-has-search-value`,w&&`${n}-content-has-option-style`,f?.content),style:p?.content,title:w?void 0:C},E,S.createElement(Mx,Bx({ref:t},e,{value:y,maxLength:s===`combobox`?o:void 0,onChange:t=>{g(!0),e.onChange?.(t)}})))}),Hx=void 0;function Ux(e,t){let{prefixCls:n,invalidate:r,item:i,renderItem:a,responsive:o,responsiveDisabled:s,registerSize:c,itemKey:l,className:u,style:d,children:f,display:p,order:m,component:h=`div`,...g}=e,_=o&&!p;function v(e){c(l,e)}S.useEffect(()=>()=>{v(null)},[]);let y=a&&i!==Hx?a(i,{index:m}):f,b;r||(b={opacity:+!_,height:_?0:Hx,overflowY:_?`hidden`:Hx,order:o?m:Hx,pointerEvents:_?`none`:Hx,position:_?`absolute`:Hx});let x={};_&&(x[`aria-hidden`]=!0);let C=S.createElement(h,Hg({className:J(!r&&n,u),style:{...b,...d}},x,g,{ref:t}),y);return o&&(C=S.createElement(oa,{onResize:({offsetWidth:e})=>{v(e)},disabled:s},C)),C}var Wx=S.forwardRef(Ux);function Gx(e){if(typeof MessageChannel>`u`)Oi(e);else{let t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(void 0)}}function Kx(){let e=S.useRef(null);return t=>{e.current||(e.current=[],Gx(()=>{(0,Vi.unstable_batchedUpdates)(()=>{e.current.forEach(e=>{e()}),e.current=null})})),e.current.push(t)}}function qx(e,t){let[n,r]=S.useState(t);return[n,zn(t=>{e(()=>{r(t)})})]}var Jx=S.createContext(null),Yx=S.forwardRef((e,t)=>{let n=S.useContext(Jx);if(!n){let{component:n=`div`,...r}=e;return S.createElement(n,Hg({},r,{ref:t}))}let{className:r,...i}=n,{className:a,...o}=e;return S.createElement(Jx.Provider,{value:null},S.createElement(Wx,Hg({ref:t,className:J(r,a)},i,o)))}),Xx=`responsive`,Zx=`invalidate`;function Qx(e){return`+ ${e.length} ...`}function $x(e,t){let{prefixCls:n=`rc-overflow`,data:r=[],renderItem:i,renderRawItem:a,itemKey:o,itemWidth:s=10,ssr:c,style:l,className:u,maxCount:d,renderRest:f,renderRawRest:p,prefix:m,suffix:h,component:g=`div`,itemComponent:_,onVisibleChange:v,...y}=e,b=c===`full`,x=Kx(),[C,w]=qx(x,null),T=C||0,[E,D]=qx(x,new Map),[O,k]=qx(x,0),[A,j]=qx(x,0),[M,N]=qx(x,0),[P,F]=qx(x,0),[I,L]=(0,S.useState)(null),[R,z]=(0,S.useState)(null),B=S.useMemo(()=>R===null&&b?2**53-1:R||0,[R,C]),[V,H]=(0,S.useState)(!1),U=`${n}-item`,W=Math.max(O,A),ee=d===Xx,te=r.length&&ee,ne=d===Zx,re=te||typeof d==`number`&&r.length>d,G=(0,S.useMemo)(()=>{let e=r;return te?e=C===null&&b?r:r.slice(0,Math.min(r.length,T/s)):typeof d==`number`&&(e=r.slice(0,d)),e},[r,s,C,d,te]),ie=(0,S.useMemo)(()=>te?r.slice(B+1):r.slice(G.length),[r,G,te,B]),K=(0,S.useCallback)((e,t)=>typeof o==`function`?o(e):(o&&e?.[o])??t,[o]),ae=(0,S.useCallback)(i||(e=>e),[i]);function q(e,t,n){R===e&&(t===void 0||t===I)||(z(e),n||(H(e{let r=new Map(n);return t===null?r.delete(e):r.set(e,t),r})}function ce(e,t){j(t),k(A)}function le(e,t){N(t)}function ue(e,t){F(t)}function de(e){return E.get(K(G[e],e))}Hn(()=>{if(T&&typeof W==`number`&&G){let e=M+P,t=G.length,n=t-1;if(!t){q(0,null);return}for(let r=0;rT){q(r-1,e-t-P+A);break}}h&&de(0)+P>T&&L(null)}},[T,E,A,M,P,K,G]);let fe=V&&!!ie.length,pe={};I!==null&&te&&(pe={position:`absolute`,top:0,insetInlineStart:I});let me={prefixCls:U,responsive:te,component:_,invalidate:ne},he=a?(e,t)=>{let n=K(e,t);return S.createElement(Jx.Provider,{key:n,value:{...me,order:t,item:e,itemKey:n,registerSize:se,display:t<=B}},a(e,t))}:(e,t)=>{let n=K(e,t);return S.createElement(Wx,Hg({},me,{order:t,key:n,item:e,renderItem:ae,itemKey:n,registerSize:se,display:t<=B}))},ge={order:fe?B:2**53-1,className:`${U}-rest`,registerSize:ce,display:fe},_e=f||Qx,ve=p?S.createElement(Jx.Provider,{value:{...me,...ge}},p(ie)):S.createElement(Wx,Hg({},me,ge),typeof _e==`function`?_e(ie):_e),ye=S.createElement(g,Hg({className:J(!ne&&n,u),style:l,ref:t},y),m&&S.createElement(Wx,Hg({},me,{responsive:ee,responsiveDisabled:!te,order:-1,className:`${U}-prefix`,registerSize:le,display:!0}),m),G.map(he),re?ve:null,h&&S.createElement(Wx,Hg({},me,{responsive:ee,responsiveDisabled:!te,order:B,className:`${U}-suffix`,registerSize:ue,display:!0,style:pe}),h));return ee?S.createElement(oa,{onResize:oe,disabled:!te},ye):ye}var eS=S.forwardRef($x);eS.Item=Yx,eS.RESPONSIVE=Xx,eS.INVALIDATE=Zx;var tS=eS,nS=e=>{let{className:t,style:n,customizeIcon:r,customizeIconProps:i,children:a,onMouseDown:o,onClick:s}=e,c=typeof r==`function`?r(i):r;return S.createElement(`span`,{className:t,onMouseDown:e=>{e.preventDefault(),o?.(e)},style:{userSelect:`none`,WebkitUserSelect:`none`,...n},unselectable:`on`,onClick:s,"aria-hidden":!0},c===void 0?S.createElement(`span`,{className:J(t.split(/\s+/).map(e=>`${e}-icon`))},a):c)};function rS(){return rS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{e.preventDefault(),e.stopPropagation()},oS=S.forwardRef(function({inputProps:e},t){let{prefixCls:n,displayValues:r,searchValue:i,mode:a,onSelectorRemove:o,removeIcon:s}=jx(),{disabled:c,showSearch:l,triggerOpen:u,rawOpen:d,toggleOpen:f,autoClearSearchValue:p,tagRender:m,maxTagPlaceholder:h,maxTagTextLength:g,maxTagCount:_,classNames:v,styles:y}=fx(),b=`${n}-selection-item`,x=i;!d&&a===`multiple`&&p!==!1&&(x=``);let C=l&&x||``,w=l&&!c,T=s??`×`,E=h??(e=>`+ ${e.length} ...`),D=m,O=e=>{f(e)},k=e=>{o?.(e)},A=(e,t,n,r,i)=>S.createElement(`span`,{title:zx(e),className:J(b,{[`${b}-disabled`]:n},v?.item),style:y?.item},S.createElement(`span`,{className:J(`${b}-content`,v?.itemContent),style:y?.itemContent},t),r&&S.createElement(nS,{className:J(`${b}-remove`,v?.itemRemove),style:y?.itemRemove,onMouseDown:aS,onClick:i,customizeIcon:T},`×`)),j=(e,t,n,r,i,a,o)=>S.createElement(`span`,{onMouseDown:e=>{aS(e),O(!u)}},D({label:t,value:e,index:o?.index,disabled:n,closable:r,onClose:i,isMaxTag:!!a}));return S.createElement(tS,{prefixCls:`${n}-content`,className:v?.content,style:y?.content,prefix:!r.length&&!C&&S.createElement(Nx,null),data:r,renderItem:(e,t)=>{let{disabled:n,label:r,value:i}=e,a=!c&&!n,o=r;if(typeof g==`number`&&(typeof r==`string`||typeof r==`number`)){let e=String(o);e.length>g&&(o=`${e.slice(0,g)}...`)}let s=t=>{t&&t.stopPropagation(),k(e)};return typeof D==`function`?j(i,o,n,a,s,void 0,t):A(e,o,n,a,s)},renderRest:e=>{if(!r.length)return null;let t=typeof E==`function`?E(e):E;return typeof D==`function`?j(void 0,t,!1,!1,void 0,!0):A({title:t},t,!1)},suffix:S.createElement(Mx,rS({ref:t,disabled:c,readOnly:!w},e,{value:C||``,syncWidth:!0})),itemKey:iS,maxCount:_})}),sS=S.forwardRef(function(e,t){let{multiple:n,onInputKeyDown:r,tabIndex:i}=jx(),a=fx(),{showSearch:o}=a,s={...xi(a,{aria:!0}),onKeyDown:r,readOnly:!o,tabIndex:i};return n?S.createElement(oS,{ref:t,inputProps:s}):S.createElement(Vx,{ref:t,inputProps:s})});function cS(e){return e&&![Qr.ESC,Qr.SHIFT,Qr.BACKSPACE,Qr.TAB,Qr.WIN_KEY,Qr.ALT,Qr.META,Qr.WIN_KEY_RIGHT,Qr.CTRL,Qr.SEMICOLON,Qr.EQUALS,Qr.CAPS_LOCK,Qr.CONTEXT_MENU,Qr.UP,Qr.LEFT,Qr.RIGHT,Qr.F1,Qr.F2,Qr.F3,Qr.F4,Qr.F5,Qr.F6,Qr.F7,Qr.F8,Qr.F9,Qr.F10,Qr.F11,Qr.F12].includes(e)}function lS(){return lS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{which:t}=e,n=F.current instanceof HTMLTextAreaElement;!n&&D&&(t===Qr.UP||t===Qr.DOWN)&&e.preventDefault(),x&&x(e),!(n&&!D&&~[Qr.UP,Qr.DOWN,Qr.LEFT,Qr.RIGHT].indexOf(t))&&!(e.ctrlKey||e.altKey||e.metaKey)&&cS(t)&&O(!0)});S.useImperativeHandle(t,()=>({focus:e=>{(F.current||P.current).focus?.(e)},blur:()=>{(F.current||P.current).blur?.()},nativeElement:kr(P.current)}));let L=zn(e=>{if(!A){let t=kr(F.current);e.nativeEvent._ori_target=t;let n=t===e.target||t?.contains(e.target);t&&!n&&e.preventDefault();let r=D&&!l&&(f===`combobox`||k)||D&&l&&n;e.nativeEvent._select_lazy?D&&O(!1):(F.current?.focus(),r||O())}y?.(e)}),{root:R}=T,z=gi(E,uS),B=xi(z,{aria:!0}),V=Object.keys(B),H={...e,onInputKeyDown:I};if(R){let e=R.props||{},t={...e,...z};return Object.keys(e).forEach(n=>{let r=e[n],i=z[n];typeof r==`function`&&typeof i==`function`&&(t[n]=(...e)=>{i(...e),r(...e)})}),S.isValidElement(R)?S.cloneElement(R,{...t,ref:cr(R.ref,P)}):S.createElement(R,lS({},t,{ref:P}))}return S.createElement(Ax.Provider,{value:H},S.createElement(`div`,lS({},gi(z,V),{ref:P,className:r,style:i,onMouseDown:L}),S.createElement(kx,{className:J(`${n}-prefix`,M?.prefix),style:N?.prefix},a),S.createElement(sS,{ref:F}),S.createElement(kx,{className:J(`${n}-suffix`,{[`${n}-suffix-loading`]:j},M?.suffix),style:N?.suffix},o),s&&S.createElement(kx,{className:J(`${n}-clear`,M?.clear),style:N?.clear,onMouseDown:e=>{e.nativeEvent._select_lazy=!0,b?.(e)}},s),c))});function fS(e,t,n){return S.useMemo(()=>{let{root:r,input:i}=e||{};return n&&(r=n()),t&&(i=t()),{root:r,input:i}},[e,t,n])}function pS(){return pS=Object.assign?Object.assign.bind():function(e){for(var t=1;te===`tags`||e===`multiple`,hS=S.forwardRef((e,t)=>{let{id:n,prefixCls:r,className:i,styles:a,classNames:o,showSearch:s,tagRender:c,showScrollBar:l=`optional`,direction:u,omitDomProps:d,displayValues:f,onDisplayValuesChange:p,emptyOptions:m,notFoundContent:h=`Not Found`,onClear:g,maxCount:_,placeholder:v,mode:y,disabled:b,loading:x,getInputElement:C,getRawInputElement:w,open:T,defaultOpen:E,onPopupVisibleChange:D,activeValue:O,onActiveValueChange:k,activeDescendantId:A,searchValue:j,autoClearSearchValue:M,onSearch:N,onSearchSplit:P,tokenSeparators:F,allowClear:I,prefix:L,suffix:R,suffixIcon:z,clearIcon:B,OptionList:V,animation:H,transitionName:U,popupStyle:W,popupClassName:ee,popupMatchSelectWidth:te,popupRender:ne,popupAlign:re,placement:G,builtinPlacements:ie,getPopupContainer:K,showAction:ae=[],onFocus:q,onBlur:oe,onKeyUp:se,onKeyDown:ce,onMouseDown:le,components:ue,...de}=e,fe=mS(y),pe=S.useRef(null),me=S.useRef(null),he=S.useRef(null),[ge,_e]=S.useState(!1);S.useImperativeHandle(t,()=>({focus:pe.current?.focus,blur:pe.current?.blur,scrollTo:e=>he.current?.scrollTo(e),nativeElement:kr(pe.current)}));let ve=fS(ue,C,w),ye=S.useMemo(()=>{if(y!==`combobox`)return j;let e=f[0]?.value;return typeof e==`string`||typeof e==`number`?String(e):``},[j,y,f]),be=y===`combobox`&&typeof C==`function`&&C()||null,xe=!h&&m,[Se,Ce,we,Te]=Ox(E||!1,T,D,e=>b||xe?!1:e),Ee=S.useMemo(()=>(F||[]).some(e=>[` `,`\r -`].includes(e)),[F]),De=(e,t,n)=>{if(fe&&Mx(_)&&f.length>=_)return;let r=!0,i=e;k?.(null);let a=Ix(e,F,Mx(_)?_-f.length:void 0),o=n?null:a;return y!==`combobox`&&o&&(i=``,P?.(o),we(!1),r=!1),N&&ye!==i&&N(i,{source:t?`typing`:`effect`}),e&&t&&r&&we(!0),r},Oe=e=>{!e||!e.trim()||N(e,{source:`submit`})};S.useEffect(()=>{!Se&&!fe&&y!==`combobox`&&De(``,!1,!1)},[Se]),S.useEffect(()=>{b&&(we(!1),_e(!1))},[b,Ce]);let[ke,Ae]=Tx(),je=S.useRef(!1),Me=e=>{let t=ke(),{key:n}=e,r=n===`Enter`,i=n===` `;if(r||i){let t=y===`combobox`;(i&&!(t||s)||r&&!t)&&e.preventDefault(),Ce||we(!0)}if(Ae(!!ye),n===`Backspace`&&!t&&fe&&!ye&&f.length){let e=[...f],t=null;for(let n=e.length-1;n>=0;--n){let r=e[n];if(!r.disabled){e.splice(n,1),t=r;break}}t&&p(e,{type:`remove`,values:[t]})}Ce&&(!r||!je.current)&&!i&&(r&&(je.current=!0),he.current?.onKeyDown(e)),ce?.(e)},Ne=(e,...t)=>{Ce&&he.current?.onKeyUp(e,...t),e.key===`Enter`&&(je.current=!1),se?.(e,...t)},Pe=zn(e=>{p(f.filter(t=>t!==e),{type:`remove`,values:[e]})}),Fe=()=>{je.current=!1},Ie=()=>[kr(pe.current),me.current?.getPopupElement()];Dx(Ie,Ce,we,!!ve.root);let Le=S.useRef(!1),Re=e=>{_e(!0),b||(ae.includes(`focus`)&&we(!0),q?.(e))},ze=()=>{Ce&&!Le.current&&we(!1,{cancelFun:()=>Ex(Ie(),document.activeElement)})},Be=e=>{_e(!1),ye&&(y===`tags`?N(ye,{source:`submit`}):y===`multiple`&&N(``,{source:`blur`})),ze(),b||oe?.(e)},Ve=(e,...t)=>{let{target:n}=e;(me.current?.getPopupElement())?.contains(n)&&we&&we(!0),le?.(e,...t),Le.current=!0,zx(()=>{Le.current=!1})},[,He]=S.useState({});function Ue(){He({})}let We;ve.root&&(We=e=>{we(e)});let Ge=S.useMemo(()=>({...e,notFoundContent:h,open:Ce,triggerOpen:Ce,rawOpen:Se,id:n,showSearch:s,multiple:fe,toggleOpen:we,showScrollBar:l,styles:a,classNames:o,lockOptions:Te}),[e,h,we,n,s,fe,Ce,Se,l,a,o,Te]),Ke=S.useMemo(()=>{let e=R??z;return typeof e==`function`?e({searchValue:ye,open:Ce,focused:ge,showSearch:s,loading:x}):e},[R,z,ye,Ce,ge,s,x]),qe=()=>{g?.(),pe.current?.focus(),p([],{type:`clear`,values:f}),De(``,!1,!1)},{allowClear:Je,clearIcon:Ye}=Sx(r,f,I,B,b,ye,y),Xe=S.createElement(V,{ref:he}),Ze=J(r,i,{[`${r}-focused`]:ge,[`${r}-multiple`]:fe,[`${r}-single`]:!fe,[`${r}-allow-clear`]:Je,[`${r}-show-arrow`]:Ke!=null,[`${r}-disabled`]:b,[`${r}-loading`]:x,[`${r}-open`]:Ce,[`${r}-customize-input`]:be,[`${r}-show-search`]:s}),Qe=S.createElement(CS,TS({},de,{ref:pe,prefixCls:r,className:Ze,focused:ge,prefix:L,suffix:Ke,clearIcon:Ye,multiple:fe,mode:y,displayValues:f,placeholder:v,searchValue:ye,activeValue:O,onSearch:De,onSearchSubmit:Oe,onInputBlur:Fe,onFocus:Re,onBlur:Be,onClearMouseDown:qe,onKeyDown:Me,onKeyUp:Ne,onSelectorRemove:Pe,tokenWithEnter:Ee,onMouseDown:Ve,components:ve}));return Qe=S.createElement(Ax,{ref:me,disabled:b,prefixCls:r,visible:Ce,popupElement:Xe,animation:H,transitionName:U,popupStyle:W,popupClassName:ee,direction:u,popupMatchSelectWidth:te,popupRender:ne,popupAlign:re,placement:G,builtinPlacements:ie,getPopupContainer:K,empty:m,onPopupVisibleChange:We,onPopupMouseEnter:Ue,onPopupMouseDown:Ve,onPopupBlur:ze},Qe),S.createElement(Cx.Provider,{value:Ge},S.createElement(Lx,{visible:ge&&!Ce,values:f}),Qe)}),OS=()=>null;OS.isSelectOptGroup=!0;var kS=()=>null;kS.isSelectOption=!0;var AS=S.forwardRef(({height:e,offsetY:t,offsetX:n,children:r,prefixCls:i,onInnerResize:a,innerProps:o,rtl:s,extra:c},l)=>{let u={},d={display:`flex`,flexDirection:`column`};return t!==void 0&&(u={height:e,position:`relative`,overflow:`hidden`},d={...d,transform:`translateY(${t}px)`,[s?`marginRight`:`marginLeft`]:-n,position:`absolute`,left:0,right:0,top:0}),S.createElement(`div`,{style:u},S.createElement(oa,{onResize:({offsetHeight:e})=>{e&&a&&a()}},S.createElement(`div`,Bg({style:d,className:J({[`${i}-holder-inner`]:i}),ref:l},o),r,c)))});AS.displayName=`Filler`;function jS({children:e,setRef:t}){let n=S.useCallback(e=>{t(e)},[]);return S.cloneElement(e,{ref:n})}function MS(e,t,n,r,i,a,o,{getKey:s}){return e.slice(t,n+1).map((e,n)=>{let c=o(e,t+n,{style:{width:r},offsetX:i}),l=s(e);return S.createElement(jS,{key:l,setRef:t=>a(e,t)},c)})}function NS(e,t,n){let r=e.length,i=t.length,a,o;if(r===0&&i===0)return null;r{let a=NS(r||[],e||[],t);a?.index!==void 0&&(n?.(a.index),o(e[a.index])),i(e)},[e]),[a]}var FS=typeof navigator==`object`&&/Firefox/i.test(navigator.userAgent),IS=((e,t,n,r)=>{let i=(0,S.useRef)(!1),a=(0,S.useRef)(null);function o(){clearTimeout(a.current),i.current=!0,a.current=setTimeout(()=>{i.current=!1},50)}let s=(0,S.useRef)({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,(e,t,n=!1)=>{let r=e?t<0&&s.current.left||t>0&&s.current.right:t<0&&s.current.top||t>0&&s.current.bottom;return n&&r?(clearTimeout(a.current),i.current=!1):(!r||i.current)&&o(),!i.current&&r}});function LS(e,t,n,r,i,a,o){let s=(0,S.useRef)(0),c=(0,S.useRef)(null),l=(0,S.useRef)(null),u=(0,S.useRef)(!1),d=IS(t,n,r,i);function f(e,t){if(Oi.cancel(c.current),d(!1,t))return;let n=e;if(!n._virtualHandled)n._virtualHandled=!0;else return;s.current+=t,l.current=t,FS||n.preventDefault(),c.current=Oi(()=>{let e=u.current?10:1;o(s.current*e,!1),s.current=0})}function p(e,t){o(t,!0),FS||e.preventDefault()}let m=(0,S.useRef)(null),h=(0,S.useRef)(null);function g(t){if(!e)return;Oi.cancel(h.current),h.current=Oi(()=>{m.current=null},2);let{deltaX:n,deltaY:r,shiftKey:i}=t,o=n,s=r;(m.current===`sx`||!m.current&&i&&r&&!n)&&(o=r,s=0,m.current=`sx`);let c=Math.abs(o),l=Math.abs(s);m.current===null&&(m.current=a&&c>l?`x`:`y`),m.current===`y`?f(t,s):p(t,o)}function _(t){e&&(u.current=t.detail===l.current)}return[g,_]}function RS(e,t,n,r){let[i,a]=S.useMemo(()=>[new Map,[]],[e,n.id,r]);return(o,s=o)=>{let c=i.get(o),l=i.get(s);if(c===void 0||l===void 0){let u=e.length;for(let d=a.length;d{let e=!1;a.current.forEach((t,n)=>{if(t&&t.offsetParent){let{offsetHeight:r}=t,{marginTop:i,marginBottom:a}=getComputedStyle(t),s=BS(i),c=BS(a),l=r+s+c;o.current.get(n)!==l&&(o.current.set(n,l),e=!0)}}),e&&i(e=>e+1)};if(e)t();else{s.current+=1;let e=s.current;Promise.resolve().then(()=>{e===s.current&&t()})}}function u(r,i){let o=e(r),s=a.current.get(o);i?(a.current.set(o,i),l()):a.current.delete(o),!s!=!i&&(i?t?.(r):n?.(r))}return(0,S.useEffect)(()=>c,[]),[u,l,o.current,r]}var HS=14/15;function US(e,t,n){let r=(0,S.useRef)(!1),i=(0,S.useRef)(0),a=(0,S.useRef)(0),o=(0,S.useRef)(null),s=(0,S.useRef)(null),c,l=e=>{if(r.current){let t=Math.ceil(e.touches[0].pageX),r=Math.ceil(e.touches[0].pageY),o=i.current-t,c=a.current-r,l=Math.abs(o)>Math.abs(c);l?i.current=t:a.current=r;let u=n(l,l?o:c,!1,e);u&&e.preventDefault(),clearInterval(s.current),u&&(s.current=setInterval(()=>{l?o*=HS:c*=HS;let e=Math.floor(l?o:c);(!n(l,e,!0)||Math.abs(e)<=.1)&&clearInterval(s.current)},16))}},u=()=>{r.current=!1,c()},d=e=>{c(),e.touches.length===1&&!r.current&&(r.current=!0,i.current=Math.ceil(e.touches[0].pageX),a.current=Math.ceil(e.touches[0].pageY),o.current=e.target,o.current.addEventListener(`touchmove`,l,{passive:!1}),o.current.addEventListener(`touchend`,u,{passive:!0}))};c=()=>{o.current&&(o.current.removeEventListener(`touchmove`,l),o.current.removeEventListener(`touchend`,u))},Hn(()=>(e&&t.current.addEventListener(`touchstart`,d,{passive:!0}),()=>{t.current?.removeEventListener(`touchstart`,d),c(),clearInterval(s.current)}),[e])}function WS(e){return Math.floor(e**.5)}function GS(e,t){return(`touches`in e?e.touches[0]:e)[t?`pageX`:`pageY`]-window[t?`scrollX`:`scrollY`]}function KS(e,t,n){S.useEffect(()=>{let r=t.current;if(e&&r){let e=!1,t,i,a=()=>{Oi.cancel(t)},o=()=>{a(),t=Oi(()=>{n(i),o()})},s=()=>{e=!1,a()},c=t=>{if(t.target.draggable||t.button!==0)return;let n=t;n._virtualHandled||(n._virtualHandled=!0,e=!0)},l=t=>{if(e){let e=GS(t,!1),{top:n,bottom:s}=r.getBoundingClientRect();e<=n?(i=-WS(n-e),o()):e>=s?(i=WS(e-s),o()):a()}};return r.addEventListener(`mousedown`,c),r.ownerDocument.addEventListener(`mouseup`,s),r.ownerDocument.addEventListener(`mousemove`,l),r.ownerDocument.addEventListener(`dragend`,s),()=>{r.removeEventListener(`mousedown`,c),r.ownerDocument.removeEventListener(`mouseup`,s),r.ownerDocument.removeEventListener(`mousemove`,l),r.ownerDocument.removeEventListener(`dragend`,s),a()}}},[e])}var qS=10;function JS(e,t,n,r,i,a,o,s){let c=S.useRef(),[l,u]=S.useState(null);return Hn(()=>{if(l&&l.times({...e}));return}a();let{targetAlign:s,originAlign:c,index:d,offset:f}=l,p=e.current.clientHeight,m=!1,h=s,g=null;if(p){let a=s||c,u=0,_=0,v=0,y=Math.min(t.length-1,d);for(let e=0;e<=y;e+=1){let a=i(t[e]);_=u;let o=n.get(a);v=_+(o===void 0?r:o),u=v}let b=a===`top`?f:p-f;for(let e=y;e>=0;--e){let r=i(t[e]),a=n.get(r);if(a===void 0){m=!0;break}if(b-=a,b<=0)break}switch(a){case`top`:g=_-f;break;case`bottom`:g=v-p+f;break;default:{let{scrollTop:t}=e.current,n=t+p;_n&&(h=`bottom`)}}g!==null&&o(g),g!==l.lastTop&&(m=!0)}m&&u({...l,times:l.times+1,targetAlign:h,lastTop:g})}},[l,e.current]),e=>{if(e==null){s();return}if(Oi.cancel(c.current),typeof e==`number`)o(e);else if(e&&typeof e==`object`){let n,{align:r}=e;`index`in e?{index:n}=e:n=t.findIndex(t=>i(t)===e.key);let{offset:a=0}=e;u({times:0,index:n,offset:a,originAlign:r})}}}var YS=S.forwardRef((e,t)=>{let{prefixCls:n,rtl:r,scrollOffset:i,scrollRange:a,onStartMove:o,onStopMove:s,onScroll:c,horizontal:l,spinSize:u,containerSize:d,style:f,thumbStyle:p,showScrollBar:m}=e,[h,g]=S.useState(!1),[_,v]=S.useState(null),[y,b]=S.useState(null),x=!r,C=S.useRef(),w=S.useRef(),[T,E]=S.useState(m),D=S.useRef(),O=()=>{m===!0||m===!1||(clearTimeout(D.current),E(!0),D.current=setTimeout(()=>{E(!1)},3e3))},k=a-d||0,A=d-u||0,j=S.useMemo(()=>i===0||k===0?0:i/k*A,[i,k,A]),M=e=>{e.stopPropagation(),e.preventDefault()},N=S.useRef({top:j,dragging:h,pageY:_,startTop:y});N.current={top:j,dragging:h,pageY:_,startTop:y};let P=e=>{g(!0),v(GS(e,l)),b(N.current.top),o(),e.stopPropagation(),e.preventDefault()};S.useEffect(()=>{let e=e=>{e.preventDefault()},t=C.current,n=w.current;return t.addEventListener(`touchstart`,e,{passive:!1}),n.addEventListener(`touchstart`,P,{passive:!1}),()=>{t.removeEventListener(`touchstart`,e),n.removeEventListener(`touchstart`,P)}},[]);let F=S.useRef();F.current=k;let I=S.useRef();I.current=A,S.useEffect(()=>{if(h){let e,t=t=>{let{dragging:n,pageY:r,startTop:i}=N.current;Oi.cancel(e);let a=C.current.getBoundingClientRect(),o=d/(l?a.width:a.height);if(n){let n=(GS(t,l)-r)*o,a=i;!x&&l?a-=n:a+=n;let s=F.current,u=I.current,d=u?a/u:0,f=Math.ceil(d*s);f=Math.max(f,0),f=Math.min(f,s),e=Oi(()=>{c(f,l)})}},n=()=>{g(!1),s()};return window.addEventListener(`mousemove`,t,{passive:!0}),window.addEventListener(`touchmove`,t,{passive:!0}),window.addEventListener(`mouseup`,n,{passive:!0}),window.addEventListener(`touchend`,n,{passive:!0}),()=>{window.removeEventListener(`mousemove`,t),window.removeEventListener(`touchmove`,t),window.removeEventListener(`mouseup`,n),window.removeEventListener(`touchend`,n),Oi.cancel(e)}}},[h]),S.useEffect(()=>(O(),()=>{clearTimeout(D.current)}),[i]),S.useImperativeHandle(t,()=>({delayHidden:O}));let L=`${n}-scrollbar`,R={position:`absolute`,visibility:T?null:`hidden`},z={position:`absolute`,borderRadius:99,background:`var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))`,cursor:`pointer`,userSelect:`none`};return l?(Object.assign(R,{height:8,left:0,right:0,bottom:0}),Object.assign(z,{height:`100%`,width:u,[x?`left`:`right`]:j})):(Object.assign(R,{width:8,top:0,bottom:0,[x?`right`:`left`]:0}),Object.assign(z,{width:`100%`,height:u,top:j})),S.createElement(`div`,{ref:C,className:J(L,{[`${L}-horizontal`]:l,[`${L}-vertical`]:!l,[`${L}-visible`]:T}),style:{...R,...f},onMouseDown:M,onMouseMove:O},S.createElement(`div`,{ref:w,className:J(`${L}-thumb`,{[`${L}-thumb-moving`]:h}),style:{...z,...p},onMouseDown:P}))}),XS=20;function ZS(e=0,t=0){let n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,XS),Math.floor(n)}var QS=[],$S={overflowY:`auto`,overflowAnchor:`none`};function eC(e,t){let{prefixCls:n=`rc-virtual-list`,className:r,height:i,itemHeight:a,fullHeight:o=!0,style:s,data:c,children:l,itemKey:u,virtual:d,direction:f,scrollWidth:p,component:m=`div`,onScroll:h,onVirtualScroll:g,onVisibleChange:_,innerProps:v,extraRender:y,styles:b,showScrollBar:x=`optional`,...C}=e,w=S.useCallback(e=>typeof u==`function`?u(e):e?.[u],[u]),[T,E,D,O]=VS(w,null,null),k=!!(d!==!1&&i&&a),A=S.useMemo(()=>Object.values(D.maps).reduce((e,t)=>e+t,0),[D.id,D.maps]),j=k&&c&&(Math.max(a*c.length,A)>i||!!p),M=f===`rtl`,N=J(n,{[`${n}-rtl`]:M},r),P=c||QS,F=(0,S.useRef)(),I=(0,S.useRef)(),L=(0,S.useRef)(),[R,z]=(0,S.useState)(0),[B,V]=(0,S.useState)(0),[H,U]=(0,S.useState)(!1),W=()=>{U(!0)},ee=()=>{U(!1)},te={getKey:w};function ne(e){z(t=>{let n;n=typeof e==`function`?e(t):e;let r=ge(n);return F.current.scrollTop=r,r})}let re=(0,S.useRef)({start:0,end:P.length}),G=(0,S.useRef)(),[ie]=PS(P,w);G.current=ie;let{scrollHeight:K,start:ae,end:q,offset:oe}=S.useMemo(()=>{if(!k)return{scrollHeight:void 0,start:0,end:P.length-1,offset:void 0};if(!j)return{scrollHeight:I.current?.offsetHeight||0,start:0,end:P.length-1,offset:void 0};let e=0,t,n,r,o=P.length;for(let s=0;s=R&&t===void 0&&(t=s,n=e),u>R+i&&r===void 0&&(r=s),e=u}return t===void 0&&(t=0,n=0,r=Math.ceil(i/a)),r===void 0&&(r=P.length-1),r=Math.min(r+1,P.length-1),{scrollHeight:e,start:t,end:r,offset:n}},[j,k,R,P,O,i]);re.current.start=ae,re.current.end=q,S.useLayoutEffect(()=>{let e=D.getRecord();if(e.size===1){let t=Array.from(e.keys())[0],n=e.get(t),r=P[ae];if(r&&n===void 0&&w(r)===t){let e=D.get(t)-a;ne(t=>t+e)}}D.resetRecord()},[K]);let[se,ce]=S.useState({width:0,height:i}),le=e=>{ce({width:e.offsetWidth,height:e.offsetHeight})},ue=(0,S.useRef)(),de=(0,S.useRef)(),fe=S.useMemo(()=>ZS(se.width,p),[se.width,p]),pe=S.useMemo(()=>ZS(se.height,K),[se.height,K]),me=K-i,he=(0,S.useRef)(me);he.current=me;function ge(e){let t=e;return Number.isNaN(he.current)||(t=Math.min(t,he.current)),t=Math.max(t,0),t}let _e=R<=0,ve=R>=me,ye=B<=0,be=B>=p,xe=IS(_e,ve,ye,be),Se=()=>({x:M?-B:B,y:R}),Ce=(0,S.useRef)(Se()),we=zn(e=>{if(g){let t={...Se(),...e};(Ce.current.x!==t.x||Ce.current.y!==t.y)&&(g(t),Ce.current=t)}});function Te(e,t){let n=e;t?((0,Vi.flushSync)(()=>{V(n)}),we()):ne(n)}function Ee(e){let{scrollTop:t}=e.currentTarget;t!==R&&ne(t),h?.(e),we()}let De=e=>{let t=e,n=p?p-se.width:0;return t=Math.max(t,0),t=Math.min(t,n),t},Oe=zn((e,t)=>{t?((0,Vi.flushSync)(()=>{V(t=>De(t+(M?-e:e)))}),we()):ne(t=>t+e)}),[ke,Ae]=LS(k,_e,ve,ye,be,!!p,Oe);US(k,F,(e,t,n,r)=>{let i=r;return xe(e,t,n)?!1:!i||!i._virtualHandled?(i&&(i._virtualHandled=!0),ke({preventDefault(){},deltaX:e?t:0,deltaY:e?0:t}),!0):!1}),KS(j,F,e=>{ne(t=>t+e)}),Hn(()=>{function e(e){let t=_e&&e.detail<0,n=ve&&e.detail>0;k&&!t&&!n&&e.preventDefault()}let t=F.current;return t.addEventListener(`wheel`,ke,{passive:!1}),t.addEventListener(`DOMMouseScroll`,Ae,{passive:!0}),t.addEventListener(`MozMousePixelScroll`,e,{passive:!1}),()=>{t.removeEventListener(`wheel`,ke),t.removeEventListener(`DOMMouseScroll`,Ae),t.removeEventListener(`MozMousePixelScroll`,e)}},[k,_e,ve]),Hn(()=>{if(p){let e=De(B);V(e),we({x:e})}},[se.width,p]);let je=()=>{ue.current?.delayHidden(),de.current?.delayHidden()},Me=JS(F,P,D,a,w,()=>E(!0),ne,je);S.useImperativeHandle(t,()=>({nativeElement:L.current,getScrollInfo:Se,scrollTo:e=>{function t(e){return e&&typeof e==`object`&&(`left`in e||`top`in e)}t(e)?(e.left!==void 0&&V(De(e.left)),Me(e.top)):Me(e)}})),Hn(()=>{_&&_(P.slice(ae,q+1),P)},[ae,q,P]);let Ne=RS(P,w,D,a),Pe=y?.({start:ae,end:q,virtual:j,offsetX:B,offsetY:oe,rtl:M,getSize:Ne}),Fe=MS(P,ae,q,p,B,T,l,te),Ie=null;i&&(Ie={[o?`height`:`maxHeight`]:i,...$S},k&&(Ie.overflowY=`hidden`,p&&(Ie.overflowX=`hidden`),H&&(Ie.pointerEvents=`none`)));let Le={};return M&&(Le.dir=`rtl`),S.createElement(`div`,Bg({ref:L,style:{...s,position:`relative`},className:N},Le,C),S.createElement(oa,{onResize:le},S.createElement(m,{className:`${n}-holder`,style:Ie,ref:F,onScroll:Ee,onMouseEnter:je},S.createElement(AS,{prefixCls:n,height:K,offsetX:B,offsetY:oe,scrollWidth:p,onInnerResize:E,ref:I,innerProps:v,rtl:M,extra:Pe},Fe))),j&&K>i&&S.createElement(YS,{ref:ue,prefixCls:n,scrollOffset:R,scrollRange:K,rtl:M,onScroll:Te,onStartMove:W,onStopMove:ee,spinSize:pe,containerSize:se.height,style:b?.verticalScrollBar,thumbStyle:b?.verticalScrollBarThumb,showScrollBar:x}),j&&p>se.width&&S.createElement(YS,{ref:de,prefixCls:n,scrollOffset:B,scrollRange:p,rtl:M,onScroll:Te,onStartMove:W,onStopMove:ee,spinSize:fe,containerSize:se.width,horizontal:!0,style:b?.horizontalScrollBar,thumbStyle:b?.horizontalScrollBarThumb,showScrollBar:x}))}var tC=S.forwardRef(eC);tC.displayName=`List`;var nC=tC;function rC(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}function iC(){return iC=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,id:r,open:i,multiple:a,mode:o,searchValue:s,toggleOpen:c,notFoundContent:l,onPopupScroll:u,showScrollBar:d,lockOptions:f}=wx(),{maxCount:p,flattenOptions:m,onActiveValue:h,defaultActiveFirstOption:g,onSelect:_,menuItemSelectedIcon:v,rawValues:y,fieldNames:b,virtual:x,direction:C,listHeight:w,listItemHeight:T,optionRender:E,classNames:D,styles:O}=S.useContext(Kx),k=`${n}-item`,A=Zn(()=>m,[i,f],(e,t)=>t[0]&&!t[1]),j=S.useRef(null),M=S.useMemo(()=>a&&Mx(p)&&y?.size>=p,[a,p,y?.size]),N=e=>{e.preventDefault()},P=e=>{j.current?.scrollTo(typeof e==`number`?{index:e}:e)},F=S.useCallback(e=>o===`combobox`?!1:y.has(e),[o,[...y].toString(),y.size]),I=(e,t=1)=>{let n=A.length;for(let r=0;rI(0)),z=(e,t=!1)=>{R(e);let n={source:t?`keyboard`:`mouse`},r=A[e];if(!r){h(null,-1,n);return}h(r.value,e,n)};(0,S.useEffect)(()=>{z(g===!1?-1:I(0))},[A.length,s]);let B=S.useCallback(e=>o===`combobox`?String(e).toLowerCase()===s.toLowerCase():y.has(e),[o,s,[...y].toString(),y.size]);(0,S.useEffect)(()=>{let e;if(!a&&i&&y.size===1){let t=Array.from(y)[0],n=A.findIndex(({data:e})=>s?String(e.value).startsWith(s):e.value===t);n!==-1&&(z(n),e=setTimeout(()=>{P(n)}))}return i&&j.current?.scrollTo(void 0),()=>clearTimeout(e)},[i,s]);let V=e=>{e!==void 0&&_(e,{selected:!y.has(e)}),a||c(!1)};if(S.useImperativeHandle(t,()=>({onKeyDown:e=>{let{which:t,ctrlKey:n}=e;switch(t){case Qr.N:case Qr.P:case Qr.UP:case Qr.DOWN:{let e=0;if(t===Qr.UP?e=-1:t===Qr.DOWN?e=1:rC()&&n&&(t===Qr.N?e=1:t===Qr.P&&(e=-1)),e!==0){let t=I(L+e,e);P(t),z(t,!0)}break}case Qr.TAB:case Qr.ENTER:{let t=A[L];if(!t||t.data.disabled)return V(void 0);!M||y.has(t.value)?V(t.value):V(void 0),i&&e.preventDefault();break}case Qr.ESC:c(!1),i&&e.stopPropagation()}},onKeyUp:()=>{},scrollTo:e=>{P(e)}})),A.length===0)return S.createElement(`div`,{role:`listbox`,id:`${r}_list`,className:`${k}-empty`,onMouseDown:N},l);let H=Object.keys(b).map(e=>b[e]),U=e=>e.label;function W(e,t){let{group:n}=e;return{role:n?`presentation`:`option`,id:`${r}_list_${t}`}}let ee=e=>{let t=A[e];if(!t)return null;let n=t.data||{},{value:r,disabled:i}=n,{group:a}=t,o=xi(n,!0),s=U(t);return t?S.createElement(`div`,iC({"aria-label":typeof s==`string`&&!a?s:null},o,{key:e},W(t,e),{"aria-selected":B(r),"aria-disabled":i}),r):null},te={role:`listbox`,id:`${r}_list`};return S.createElement(S.Fragment,null,x&&S.createElement(`div`,iC({},te,{style:{height:0,width:0,overflow:`hidden`}}),ee(L-1),ee(L),ee(L+1)),S.createElement(nC,{itemKey:`key`,ref:j,data:A,height:w,itemHeight:T,fullHeight:!1,onMouseDown:N,onScroll:u,virtual:x,direction:C,innerProps:x?null:te,showScrollBar:d,className:D?.popup?.list,style:O?.popup?.list},(e,t)=>{let{group:n,groupOption:r,data:i,label:a,value:o}=e,{key:s}=i;if(n){let e=i.title??(aC(a)?a.toString():void 0);return S.createElement(`div`,{className:J(k,`${k}-group`,i.className),title:e},a===void 0?s:a)}let{disabled:c,title:l,children:u,style:d,className:f,...p}=i,m=gi(p,H),h=F(o),g=c||!h&&M,_=`${k}-option`,y=J(k,_,f,D?.popup?.listItem,{[`${_}-grouped`]:r,[`${_}-active`]:L===t&&!g,[`${_}-disabled`]:g,[`${_}-selected`]:h}),b=U(e),C=!v||typeof v==`function`||h,w=typeof b==`number`?b:b||o,T=aC(w)?w.toString():void 0;return l!==void 0&&(T=l),S.createElement(`div`,iC({},xi(m),x?{}:W(e,t),{"aria-selected":x?void 0:B(o),"aria-disabled":g,className:y,title:T,onMouseMove:()=>{L===t||g||z(t)},onClick:()=>{g||V(o)},style:{...O?.popup?.listItem,...d}}),S.createElement(`div`,{className:`${_}-content`},typeof E==`function`?E(e,{index:t}):w),S.isValidElement(v)||h,C&&S.createElement(mS,{className:`${k}-option-state`,customizeIcon:v,customizeIconProps:{value:o,disabled:g,isSelected:h}},h?`✓`:null))}))}),sC=((e,t)=>{let n=S.useRef({values:new Map,options:new Map});return[S.useMemo(()=>{let{values:r,options:i}=n.current,a=e.map(e=>e.label===void 0?{...e,label:r.get(e.value)?.label}:e),o=new Map,s=new Map;return a.forEach(e=>{o.set(e.value,e),s.set(e.value,t.get(e.value)||i.get(e.value))}),n.current.values=o,n.current.options=s,a},[e,t]),S.useCallback(e=>t.get(e)||n.current.options.get(e),[t])]});function cC(e,t){return qx(e).join(``).toUpperCase().includes(t)}var lC=((e,t,n,r,i)=>S.useMemo(()=>{if(!n||r===!1)return e;let{options:a,label:o,value:s}=t,c=[],l=typeof r==`function`,u=n.toUpperCase(),d=l?r:(e,t)=>i&&i.length?i.some(e=>cC(t[e],u)):t[a]?cC(t[o===`children`?`label`:o],u):cC(t[s],u),f=l?e=>Fx(e):e=>e;return e.forEach(e=>{if(e[a]){if(d(n,f(e)))c.push(e);else{let t=e[a].filter(e=>d(n,f(e)));t.length&&c.push({...e,[a]:t})}return}d(n,f(e))&&c.push(e)}),c},[e,r,i,n,t]));function uC(e){let{key:t,props:{children:n,value:r,...i}}=e;return{key:t,value:r===void 0?t:r,children:n,...i}}function dC(e,t=!1){return ki(e).map((e,n)=>{if(!S.isValidElement(e)||!e.type)return null;let{type:{isSelectOptGroup:r},key:i,props:{children:a,...o}}=e;return t||!r?uC(e):{key:`__RC_SELECT_GRP__${i===null?n:i}__`,label:i,...o,options:dC(a)}}).filter(e=>e)}var fC=(e,t,n,r,i)=>S.useMemo(()=>{let a=e;e||(a=dC(t));let o=new Map,s=new Map,c=(e,t,n)=>{n&&typeof n==`string`&&e.set(t[n],t)},l=(e,t=!1)=>{for(let a=0;a{c(s,u,e)}),c(s,u,i)):l(u[n.options],!0)}};return l(a),{options:a,valueOptions:o,labelOptions:s}},[e,t,n,r,i]);function pC(e){let t=S.useRef();return t.current=e,S.useCallback((...e)=>t.current(...e),[])}function mC(e,t,n){let{filterOption:r,searchValue:i,optionFilterProp:a,filterSort:o,onSearch:s,autoClearSearchValue:c}=t;return S.useMemo(()=>{let t=typeof e==`object`,l={filterOption:r,searchValue:i,optionFilterProp:a,filterSort:o,onSearch:s,autoClearSearchValue:c,...t?e:{}};return[t||n===`combobox`||n===`tags`||n===`multiple`&&e===void 0?!0:e,l]},[n,e,r,i,a,o,s,c])}function hC(){return hC=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:n,mode:r,prefixCls:i=`rc-select`,backfill:a,fieldNames:o,showSearch:s,searchValue:c,onSearch:l,autoClearSearchValue:u,filterOption:d,optionFilterProp:f,filterSort:p,onSelect:m,onDeselect:h,onActive:g,popupMatchSelectWidth:_=!0,optionLabelProp:v,options:y,optionRender:b,children:x,defaultActiveFirstOption:C,menuItemSelectedIcon:w,virtual:T,direction:E,listHeight:D=200,listItemHeight:O=20,labelRender:k,value:A,defaultValue:j,labelInValue:M,onChange:N,maxCount:P,classNames:F,styles:I,...L}=e,[R,z]=mC(s,{searchValue:c,onSearch:l,autoClearSearchValue:u,filterOption:d,optionFilterProp:f,filterSort:p},r),{filterOption:B,searchValue:V,optionFilterProp:H,filterSort:U,onSearch:W,autoClearSearchValue:ee=!0}=z,te=S.useMemo(()=>H?Array.isArray(H)?H:[H]:[],[H]),ne=Xn(n),re=ES(r),G=!!(!y&&x),ie=S.useMemo(()=>B===void 0&&r===`combobox`?!1:B,[B,r]),K=S.useMemo(()=>Nx(o,G),[JSON.stringify(o),G]),[ae,q]=Gn(``,V),oe=ae||``,se=fC(y,x,K,te,v),{valueOptions:ce,labelOptions:le,options:ue}=se,de=S.useCallback(e=>qx(e).map(e=>{let t,n,r,i;_C(e)?t=e:(n=e.label,t=e.value);let a=ce.get(t);return a&&(n===void 0&&(n=a?.[v||K.label]),r=a?.disabled,i=a?.title),{label:n,value:t,key:t,disabled:r,title:i}}),[K,v,ce]),[fe,pe]=Gn(j,A),[me,he]=sC(S.useMemo(()=>{let e=de(re&&fe===null?[]:fe);return r===`combobox`&&Yx(e[0]?.value)?[]:e},[fe,de,r,re]),ce),ge=S.useMemo(()=>{if(!r&&me.length===1){let e=me[0];if(e.value===null&&(e.label===null||e.label===void 0))return[]}return me.map(e=>({...e,label:(typeof k==`function`?k(e):e.label)??e.value}))},[r,me,k]),_e=S.useMemo(()=>new Set(me.map(e=>e.value)),[me]);S.useEffect(()=>{if(r===`combobox`){let e=me[0]?.value;q(Jx(e)?String(e):``)}},[me]);let ve=pC((e,t)=>{let n=t??e;return{[K.value]:e,[K.label]:n}}),ye=lC(S.useMemo(()=>{if(r!==`tags`)return ue;let e=[...ue],t=e=>ce.has(e);return[...me].sort((e,t)=>e.value{let r=n.value;t(r)||e.push(ve(r,n.label))}),e},[ve,ue,ce,me,r]),K,oe,ie,te),be=S.useMemo(()=>{let e=e=>te.length?te.some(t=>e?.[t]===oe):e?.value===oe;return r!==`tags`||!oe||ye.some(t=>e(t))||ye.some(e=>e[K.value]===oe)?ye:[ve(oe),...ye]},[ve,te,r,ye,oe,K]),xe=e=>[...e].sort((e,t)=>U(e,t,{searchValue:oe})).map(e=>Array.isArray(e.options)?{...e,options:e.options.length>0?xe(e.options):e.options}:e),Se=S.useMemo(()=>U?xe(be):be,[be,U,oe]),Ce=S.useMemo(()=>Px(Se,{fieldNames:K,childrenAsData:G}),[Se,K,G]),we=e=>{let t=de(e);if(pe(t),N&&(t.length!==me.length||t.some((e,t)=>me[t]?.value!==e?.value))){let e=M?t.map(({label:e,value:t})=>({label:e,value:t})):t.map(e=>e.value),n=t.map(e=>Fx(he(e.value)));N(re?e:e[0],re?n:n[0])}},[Te,Ee]=S.useState(null),[De,Oe]=S.useState(0),ke=C===void 0?r!==`combobox`:C,Ae=S.useRef(),je=S.useCallback((e,t,{source:n=`keyboard`}={})=>{Oe(t),a&&r===`combobox`&&e!==null&&n===`keyboard`&&Ee(String(e));let i=Promise.resolve().then(()=>{Ae.current===i&&g?.(e)});Ae.current=i},[a,r,g]),Me=(e,t,n)=>{let r=()=>{let t=he(e);return[M?{label:t?.[K.label],value:e}:e,Fx(t)]};if(t&&m){let[e,t]=r();m(e,t)}else if(!t&&h&&n!==`clear`){let[e,t]=r();h(e,t)}},Ne=pC((e,t)=>{let n,i=re?t.selected:!0;n=i?re?[...me,e]:[e]:me.filter(t=>t.value!==e),we(n),Me(e,i),r===`combobox`?Ee(``):(!ES||ee)&&(q(``),Ee(``))}),Pe=(e,t)=>{we(e);let{type:n,values:r}=t;(n===`remove`||n===`clear`)&&r.forEach(e=>{Me(e.value,!1,n)})},Fe=(e,t)=>{if(q(e),Ee(null),t.source===`submit`){let t=(e||``).trim();t&&(we(Array.from(new Set([..._e,t]))),Me(t,!0),q(``));return}t.source!==`blur`&&(r===`combobox`&&we(e),W?.(e))},Ie=e=>{let t=e;r!==`tags`&&(t=e.map(e=>le.get(e)?.value).filter(e=>e!==void 0));let n=Array.from(new Set([..._e,...t]));we(n),n.forEach(e=>{Me(e,!0)})},Le=S.useMemo(()=>{let e=T!==!1&&_!==!1;return{...se,flattenOptions:Ce,onActiveValue:je,defaultActiveFirstOption:ke,onSelect:Ne,menuItemSelectedIcon:w,rawValues:_e,fieldNames:K,virtual:e,direction:E,listHeight:D,listItemHeight:O,childrenAsData:G,maxCount:P,optionRender:b,classNames:F,styles:I}},[P,se,Ce,je,ke,Ne,w,_e,K,T,_,E,D,O,G,b,F,I]);return S.createElement(Kx.Provider,{value:Le},S.createElement(DS,hC({},L,{id:ne,prefixCls:i,ref:t,omitDomProps:gC,mode:r,classNames:F,styles:I,displayValues:ge,onDisplayValuesChange:Pe,maxCount:P,direction:E,showSearch:R,searchValue:oe,onSearch:Fe,autoClearSearchValue:ee,onSearchSplit:Ie,popupMatchSelectWidth:_,OptionList:oC,emptyOptions:!Ce.length,activeValue:Te,activeDescendantId:`${ne}_list_${De}`})))});vC.Option=kS,vC.OptGroup=OS;var yC=vC,bC=(e,t,n)=>J({[`${e}-status-success`]:t===`success`,[`${e}-status-warning`]:t===`warning`,[`${e}-status-error`]:t===`error`,[`${e}-status-validating`]:t===`validating`,[`${e}-has-feedback`]:n}),xC=(e,t)=>t||e,SC=()=>{let[,e]=Vl(),[t]=Yd(`Empty`),n=new Nc(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return S.createElement(`svg`,{style:n,width:`184`,height:`152`,viewBox:`0 0 184 152`,xmlns:`http://www.w3.org/2000/svg`},S.createElement(`title`,null,t?.description||`Empty`),S.createElement(`g`,{fill:`none`,fillRule:`evenodd`},S.createElement(`g`,{transform:`translate(24 31.7)`},S.createElement(`ellipse`,{fillOpacity:`.8`,fill:`#F5F5F7`,cx:`67.8`,cy:`106.9`,rx:`67.8`,ry:`12.7`}),S.createElement(`path`,{fill:`#aeb8c2`,d:`M122 69.7 98.1 40.2a6 6 0 0 0-4.6-2.2H42.1a6 6 0 0 0-4.6 2.2l-24 29.5V85H122z`}),S.createElement(`path`,{fill:`#f5f5f7`,d:`M33.8 0h68a4 4 0 0 1 4 4v93.3a4 4 0 0 1-4 4h-68a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4`}),S.createElement(`path`,{fill:`#dce0e6`,d:`M42.7 10h50.2a2 2 0 0 1 2 2v25a2 2 0 0 1-2 2H42.7a2 2 0 0 1-2-2V12a2 2 0 0 1 2-2m.2 39.8h49.8a2.3 2.3 0 1 1 0 4.5H42.9a2.3 2.3 0 0 1 0-4.5m0 11.7h49.8a2.3 2.3 0 1 1 0 4.6H42.9a2.3 2.3 0 0 1 0-4.6m79 43.5a7 7 0 0 1-6.8 5.4H20.5a7 7 0 0 1-6.7-5.4l-.2-1.8V69.7h26.3c2.9 0 5.2 2.4 5.2 5.4s2.4 5.4 5.3 5.4h34.8c2.9 0 5.3-2.4 5.3-5.4s2.3-5.4 5.2-5.4H122v33.5q0 1-.2 1.8`})),S.createElement(`path`,{fill:`#dce0e6`,d:`m149.1 33.3-6.8 2.6a1 1 0 0 1-1.3-1.2l2-6.2q-4.1-4.5-4.2-10.4c0-10 10.1-18.1 22.6-18.1S184 8.1 184 18.1s-10.1 18-22.6 18q-6.8 0-12.3-2.8`}),S.createElement(`g`,{fill:`#fff`,transform:`translate(149.7 15.4)`},S.createElement(`circle`,{cx:`20.7`,cy:`3.2`,r:`2.8`}),S.createElement(`path`,{d:`M5.7 5.6H0L2.9.7zM9.3.7h5v5h-5z`}))))},CC=()=>{let[,e]=Vl(),[t]=Yd(`Empty`),{colorFill:n,colorFillTertiary:r,colorFillQuaternary:i,colorBgContainer:a}=e,{borderColor:o,shadowColor:s,contentColor:c}=(0,S.useMemo)(()=>({borderColor:new Nc(n).onBackground(a).toHexString(),shadowColor:new Nc(r).onBackground(a).toHexString(),contentColor:new Nc(i).onBackground(a).toHexString()}),[n,r,i,a]);return S.createElement(`svg`,{width:`64`,height:`41`,viewBox:`0 0 64 41`,xmlns:`http://www.w3.org/2000/svg`},S.createElement(`title`,null,t?.description||`Empty`),S.createElement(`g`,{transform:`translate(0 1)`,fill:`none`,fillRule:`evenodd`},S.createElement(`ellipse`,{fill:s,cx:`32`,cy:`33`,rx:`32`,ry:`7`}),S.createElement(`g`,{fillRule:`nonzero`,stroke:o},S.createElement(`path`,{d:`M55 12.8 44.9 1.3Q44 0 42.9 0H21.1q-1.2 0-2 1.3L9 12.8V22h46z`}),S.createElement(`path`,{d:`M41.6 16c0-1.7 1-3 2.2-3H55v18.1c0 2.2-1.3 3.9-3 3.9H12c-1.7 0-3-1.7-3-3.9V13h11.2c1.2 0 2.2 1.3 2.2 3s1 2.9 2.2 2.9h14.8c1.2 0 2.2-1.4 2.2-3`,fill:c}))))},wC=e=>{let{componentCls:t,margin:n,marginXS:r,marginXL:i,fontSize:a,lineHeight:o}=e;return{[t]:{marginInline:r,fontSize:a,lineHeight:o,textAlign:`center`,[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:`100%`},svg:{maxWidth:`100%`,height:`100%`,margin:`auto`}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:i,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},TC=Ql(`Empty`,e=>{let{componentCls:t,controlHeightLG:n,calc:r}=e;return wC(dc(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()}))}),EC=S.createElement(SC,null),DC=S.createElement(CC,null),OC=e=>{let{className:t,rootClassName:n,prefixCls:r,image:i,description:a,children:o,imageStyle:s,style:c,classNames:l,styles:u,...d}=e,{getPrefixCls:f,direction:p,className:m,style:h,classNames:g,styles:_,image:v}=ya(`empty`),y=f(`empty`,r),[b,x]=TC(y),[C,w]=Cf([g,l],[_,u],{props:e}),[T]=Yd(`Empty`),E=a===void 0?T?.description:a,D=typeof E==`string`?E:`empty`,O=i??v??EC,k=null;return k=typeof O==`string`?S.createElement(`img`,{draggable:!1,alt:D,src:O}):O,S.createElement(`div`,{className:J(b,x,y,m,{[`${y}-normal`]:O===DC,[`${y}-rtl`]:p===`rtl`},t,n,C.root),style:{...w.root,...h,...c},...d},S.createElement(`div`,{className:J(`${y}-image`,C.image),style:{...s,...w.image}},k),E&&S.createElement(`div`,{className:J(`${y}-description`,C.description),style:w.description},E),o&&S.createElement(`div`,{className:J(`${y}-footer`,C.footer),style:w.footer},o))};OC.PRESENTED_IMAGE_DEFAULT=EC,OC.PRESENTED_IMAGE_SIMPLE=DC;var kC=e=>{let{componentName:t}=e,{getPrefixCls:n}=(0,S.useContext)(ga),r=n(`empty`);switch(t){case`Table`:case`List`:return S.createElement(OC,{image:OC.PRESENTED_IMAGE_SIMPLE});case`Select`:case`TreeSelect`:case`Cascader`:case`Transfer`:case`Mentions`:return S.createElement(OC,{image:OC.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case`Table.filter`:return null;default:return S.createElement(OC,null)}},AC=(e,t,n)=>{let{variant:r,[e]:i}=S.useContext(ga),a=S.useContext(Cy),o=i?.variant,s;s=t===void 0?n===!1?`borderless`:a??o??r??`outlined`:t;let c=ha.includes(s);return[s,c]},jC=e=>{let t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e===`scroll`?`scroll`:`visible`,dynamicInset:!0};return{bottomLeft:{...t,points:[`tl`,`bl`],offset:[0,4]},bottomRight:{...t,points:[`tr`,`br`],offset:[0,4]},topLeft:{...t,points:[`bl`,`tl`],offset:[0,-4]},topRight:{...t,points:[`br`,`tr`],offset:[0,-4]}}};function MC(e,t){return e||jC(t)}var NC=e=>{let{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:i}=e;return{position:`relative`,display:`block`,minHeight:t,padding:i,color:e.colorText,fontWeight:`normal`,fontSize:n,lineHeight:r,boxSizing:`border-box`}},PC=e=>{let{antCls:t,componentCls:n}=e,r=`${n}-item`,i=`&${t}-slide-up-enter${t}-slide-up-enter-active`,a=`&${t}-slide-up-appear${t}-slide-up-appear-active`,o=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`,c=`${r}-option-selected`;return[{[`${n}-dropdown`]:{...Ul(e),position:`absolute`,top:-9999,zIndex:e.zIndexPopup,boxSizing:`border-box`,padding:e.paddingXXS,overflow:`hidden`,fontSize:e.fontSize,fontVariant:`initial`,backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:`none`,boxShadow:e.boxShadowSecondary,[` +`].includes(e)),[F]),De=(e,t,n)=>{if(fe&&bx(_)&&f.length>=_)return;let r=!0,i=e;k?.(null);let a=wx(e,F,bx(_)?_-f.length:void 0),o=n?null:a;return y!==`combobox`&&o&&(i=``,P?.(o),we(!1),r=!1),N&&ye!==i&&N(i,{source:t?`typing`:`effect`}),e&&t&&r&&we(!0),r},Oe=e=>{!e||!e.trim()||N(e,{source:`submit`})};S.useEffect(()=>{!Se&&!fe&&y!==`combobox`&&De(``,!1,!1)},[Se]),S.useEffect(()=>{b&&(we(!1),_e(!1))},[b,Ce]);let[ke,Ae]=px(),je=S.useRef(!1),Me=e=>{let t=ke(),{key:n}=e,r=n===`Enter`,i=n===` `;if(r||i){let t=y===`combobox`;(i&&!(t||s)||r&&!t)&&e.preventDefault(),Ce||we(!0)}if(Ae(!!ye),n===`Backspace`&&!t&&fe&&!ye&&f.length){let e=[...f],t=null;for(let n=e.length-1;n>=0;--n){let r=e[n];if(!r.disabled){e.splice(n,1),t=r;break}}t&&p(e,{type:`remove`,values:[t]})}Ce&&(!r||!je.current)&&!i&&(r&&(je.current=!0),he.current?.onKeyDown(e)),ce?.(e)},Ne=(e,...t)=>{Ce&&he.current?.onKeyUp(e,...t),e.key===`Enter`&&(je.current=!1),se?.(e,...t)},Pe=zn(e=>{p(f.filter(t=>t!==e),{type:`remove`,values:[e]})}),Fe=()=>{je.current=!1},Ie=()=>[kr(pe.current),me.current?.getPopupElement()];hx(Ie,Ce,we,!!ve.root);let Le=S.useRef(!1),Re=e=>{_e(!0),b||(ae.includes(`focus`)&&we(!0),q?.(e))},ze=()=>{Ce&&!Le.current&&we(!1,{cancelFun:()=>mx(Ie(),document.activeElement)})},Be=e=>{_e(!1),ye&&(y===`tags`?N(ye,{source:`submit`}):y===`multiple`&&N(``,{source:`blur`})),ze(),b||oe?.(e)},Ve=(e,...t)=>{let{target:n}=e;(me.current?.getPopupElement())?.contains(n)&&we&&we(!0),le?.(e,...t),Le.current=!0,Dx(()=>{Le.current=!1})},[,He]=S.useState({});function Ue(){He({})}let We;ve.root&&(We=e=>{we(e)});let Ge=S.useMemo(()=>({...e,notFoundContent:h,open:Ce,triggerOpen:Ce,rawOpen:Se,id:n,showSearch:s,multiple:fe,toggleOpen:we,showScrollBar:l,styles:a,classNames:o,lockOptions:Te}),[e,h,we,n,s,fe,Ce,Se,l,a,o,Te]),Ke=S.useMemo(()=>{let e=R??z;return typeof e==`function`?e({searchValue:ye,open:Ce,focused:ge,showSearch:s,loading:x}):e},[R,z,ye,Ce,ge,s,x]),qe=()=>{g?.(),pe.current?.focus(),p([],{type:`clear`,values:f}),De(``,!1,!1)},{allowClear:Je,clearIcon:Ye}=ux(r,f,I,B,b,ye,y),Xe=S.createElement(V,{ref:he}),Ze=J(r,i,{[`${r}-focused`]:ge,[`${r}-multiple`]:fe,[`${r}-single`]:!fe,[`${r}-allow-clear`]:Je,[`${r}-show-arrow`]:Ke!=null,[`${r}-disabled`]:b,[`${r}-loading`]:x,[`${r}-open`]:Ce,[`${r}-customize-input`]:be,[`${r}-show-search`]:s}),Qe=S.createElement(dS,pS({},de,{ref:pe,prefixCls:r,className:Ze,focused:ge,prefix:L,suffix:Ke,clearIcon:Ye,multiple:fe,mode:y,displayValues:f,placeholder:v,searchValue:ye,activeValue:O,onSearch:De,onSearchSubmit:Oe,onInputBlur:Fe,onFocus:Re,onBlur:Be,onClearMouseDown:qe,onKeyDown:Me,onKeyUp:Ne,onSelectorRemove:Pe,tokenWithEnter:Ee,onMouseDown:Ve,components:ve}));return Qe=S.createElement(vx,{ref:me,disabled:b,prefixCls:r,visible:Ce,popupElement:Xe,animation:H,transitionName:U,popupStyle:W,popupClassName:ee,direction:u,popupMatchSelectWidth:te,popupRender:ne,popupAlign:re,placement:G,builtinPlacements:ie,getPopupContainer:K,empty:m,onPopupVisibleChange:We,onPopupMouseEnter:Ue,onPopupMouseDown:Ve,onPopupBlur:ze},Qe),S.createElement(dx.Provider,{value:Ge},S.createElement(Tx,{visible:ge&&!Ce,values:f}),Qe)}),gS=()=>null;gS.isSelectOptGroup=!0;var _S=()=>null;_S.isSelectOption=!0;var vS=S.forwardRef(({height:e,offsetY:t,offsetX:n,children:r,prefixCls:i,onInnerResize:a,innerProps:o,rtl:s,extra:c},l)=>{let u={},d={display:`flex`,flexDirection:`column`};return t!==void 0&&(u={height:e,position:`relative`,overflow:`hidden`},d={...d,transform:`translateY(${t}px)`,[s?`marginRight`:`marginLeft`]:-n,position:`absolute`,left:0,right:0,top:0}),S.createElement(`div`,{style:u},S.createElement(oa,{onResize:({offsetHeight:e})=>{e&&a&&a()}},S.createElement(`div`,Hg({style:d,className:J({[`${i}-holder-inner`]:i}),ref:l},o),r,c)))});vS.displayName=`Filler`;function yS({children:e,setRef:t}){let n=S.useCallback(e=>{t(e)},[]);return S.cloneElement(e,{ref:n})}function bS(e,t,n,r,i,a,o,{getKey:s}){return e.slice(t,n+1).map((e,n)=>{let c=o(e,t+n,{style:{width:r},offsetX:i}),l=s(e);return S.createElement(yS,{key:l,setRef:t=>a(e,t)},c)})}function xS(e,t,n){let r=e.length,i=t.length,a,o;if(r===0&&i===0)return null;r{let a=xS(r||[],e||[],t);a?.index!==void 0&&(n?.(a.index),o(e[a.index])),i(e)},[e]),[a]}var CS=typeof navigator==`object`&&/Firefox/i.test(navigator.userAgent),wS=((e,t,n,r)=>{let i=(0,S.useRef)(!1),a=(0,S.useRef)(null);function o(){clearTimeout(a.current),i.current=!0,a.current=setTimeout(()=>{i.current=!1},50)}let s=(0,S.useRef)({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,(e,t,n=!1)=>{let r=e?t<0&&s.current.left||t>0&&s.current.right:t<0&&s.current.top||t>0&&s.current.bottom;return n&&r?(clearTimeout(a.current),i.current=!1):(!r||i.current)&&o(),!i.current&&r}});function TS(e,t,n,r,i,a,o){let s=(0,S.useRef)(0),c=(0,S.useRef)(null),l=(0,S.useRef)(null),u=(0,S.useRef)(!1),d=wS(t,n,r,i);function f(e,t){if(Oi.cancel(c.current),d(!1,t))return;let n=e;if(!n._virtualHandled)n._virtualHandled=!0;else return;s.current+=t,l.current=t,CS||n.preventDefault(),c.current=Oi(()=>{let e=u.current?10:1;o(s.current*e,!1),s.current=0})}function p(e,t){o(t,!0),CS||e.preventDefault()}let m=(0,S.useRef)(null),h=(0,S.useRef)(null);function g(t){if(!e)return;Oi.cancel(h.current),h.current=Oi(()=>{m.current=null},2);let{deltaX:n,deltaY:r,shiftKey:i}=t,o=n,s=r;(m.current===`sx`||!m.current&&i&&r&&!n)&&(o=r,s=0,m.current=`sx`);let c=Math.abs(o),l=Math.abs(s);m.current===null&&(m.current=a&&c>l?`x`:`y`),m.current===`y`?f(t,s):p(t,o)}function _(t){e&&(u.current=t.detail===l.current)}return[g,_]}function ES(e,t,n,r){let[i,a]=S.useMemo(()=>[new Map,[]],[e,n.id,r]);return(o,s=o)=>{let c=i.get(o),l=i.get(s);if(c===void 0||l===void 0){let u=e.length;for(let d=a.length;d{let e=!1;a.current.forEach((t,n)=>{if(t&&t.offsetParent){let{offsetHeight:r}=t,{marginTop:i,marginBottom:a}=getComputedStyle(t),s=OS(i),c=OS(a),l=r+s+c;o.current.get(n)!==l&&(o.current.set(n,l),e=!0)}}),e&&i(e=>e+1)};if(e)t();else{s.current+=1;let e=s.current;Promise.resolve().then(()=>{e===s.current&&t()})}}function u(r,i){let o=e(r),s=a.current.get(o);i?(a.current.set(o,i),l()):a.current.delete(o),!s!=!i&&(i?t?.(r):n?.(r))}return(0,S.useEffect)(()=>c,[]),[u,l,o.current,r]}var AS=14/15;function jS(e,t,n){let r=(0,S.useRef)(!1),i=(0,S.useRef)(0),a=(0,S.useRef)(0),o=(0,S.useRef)(null),s=(0,S.useRef)(null),c,l=e=>{if(r.current){let t=Math.ceil(e.touches[0].pageX),r=Math.ceil(e.touches[0].pageY),o=i.current-t,c=a.current-r,l=Math.abs(o)>Math.abs(c);l?i.current=t:a.current=r;let u=n(l,l?o:c,!1,e);u&&e.preventDefault(),clearInterval(s.current),u&&(s.current=setInterval(()=>{l?o*=AS:c*=AS;let e=Math.floor(l?o:c);(!n(l,e,!0)||Math.abs(e)<=.1)&&clearInterval(s.current)},16))}},u=()=>{r.current=!1,c()},d=e=>{c(),e.touches.length===1&&!r.current&&(r.current=!0,i.current=Math.ceil(e.touches[0].pageX),a.current=Math.ceil(e.touches[0].pageY),o.current=e.target,o.current.addEventListener(`touchmove`,l,{passive:!1}),o.current.addEventListener(`touchend`,u,{passive:!0}))};c=()=>{o.current&&(o.current.removeEventListener(`touchmove`,l),o.current.removeEventListener(`touchend`,u))},Hn(()=>(e&&t.current.addEventListener(`touchstart`,d,{passive:!0}),()=>{t.current?.removeEventListener(`touchstart`,d),c(),clearInterval(s.current)}),[e])}function MS(e){return Math.floor(e**.5)}function NS(e,t){return(`touches`in e?e.touches[0]:e)[t?`pageX`:`pageY`]-window[t?`scrollX`:`scrollY`]}function PS(e,t,n){S.useEffect(()=>{let r=t.current;if(e&&r){let e=!1,t,i,a=()=>{Oi.cancel(t)},o=()=>{a(),t=Oi(()=>{n(i),o()})},s=()=>{e=!1,a()},c=t=>{if(t.target.draggable||t.button!==0)return;let n=t;n._virtualHandled||(n._virtualHandled=!0,e=!0)},l=t=>{if(e){let e=NS(t,!1),{top:n,bottom:s}=r.getBoundingClientRect();e<=n?(i=-MS(n-e),o()):e>=s?(i=MS(e-s),o()):a()}};return r.addEventListener(`mousedown`,c),r.ownerDocument.addEventListener(`mouseup`,s),r.ownerDocument.addEventListener(`mousemove`,l),r.ownerDocument.addEventListener(`dragend`,s),()=>{r.removeEventListener(`mousedown`,c),r.ownerDocument.removeEventListener(`mouseup`,s),r.ownerDocument.removeEventListener(`mousemove`,l),r.ownerDocument.removeEventListener(`dragend`,s),a()}}},[e])}var FS=10;function IS(e,t,n,r,i,a,o,s){let c=S.useRef(),[l,u]=S.useState(null);return Hn(()=>{if(l&&l.times({...e}));return}a();let{targetAlign:s,originAlign:c,index:d,offset:f}=l,p=e.current.clientHeight,m=!1,h=s,g=null;if(p){let a=s||c,u=0,_=0,v=0,y=Math.min(t.length-1,d);for(let e=0;e<=y;e+=1){let a=i(t[e]);_=u;let o=n.get(a);v=_+(o===void 0?r:o),u=v}let b=a===`top`?f:p-f;for(let e=y;e>=0;--e){let r=i(t[e]),a=n.get(r);if(a===void 0){m=!0;break}if(b-=a,b<=0)break}switch(a){case`top`:g=_-f;break;case`bottom`:g=v-p+f;break;default:{let{scrollTop:t}=e.current,n=t+p;_n&&(h=`bottom`)}}g!==null&&o(g),g!==l.lastTop&&(m=!0)}m&&u({...l,times:l.times+1,targetAlign:h,lastTop:g})}},[l,e.current]),e=>{if(e==null){s();return}if(Oi.cancel(c.current),typeof e==`number`)o(e);else if(e&&typeof e==`object`){let n,{align:r}=e;`index`in e?{index:n}=e:n=t.findIndex(t=>i(t)===e.key);let{offset:a=0}=e;u({times:0,index:n,offset:a,originAlign:r})}}}var LS=S.forwardRef((e,t)=>{let{prefixCls:n,rtl:r,scrollOffset:i,scrollRange:a,onStartMove:o,onStopMove:s,onScroll:c,horizontal:l,spinSize:u,containerSize:d,style:f,thumbStyle:p,showScrollBar:m}=e,[h,g]=S.useState(!1),[_,v]=S.useState(null),[y,b]=S.useState(null),x=!r,C=S.useRef(),w=S.useRef(),[T,E]=S.useState(m),D=S.useRef(),O=()=>{m===!0||m===!1||(clearTimeout(D.current),E(!0),D.current=setTimeout(()=>{E(!1)},3e3))},k=a-d||0,A=d-u||0,j=S.useMemo(()=>i===0||k===0?0:i/k*A,[i,k,A]),M=e=>{e.stopPropagation(),e.preventDefault()},N=S.useRef({top:j,dragging:h,pageY:_,startTop:y});N.current={top:j,dragging:h,pageY:_,startTop:y};let P=e=>{g(!0),v(NS(e,l)),b(N.current.top),o(),e.stopPropagation(),e.preventDefault()};S.useEffect(()=>{let e=e=>{e.preventDefault()},t=C.current,n=w.current;return t.addEventListener(`touchstart`,e,{passive:!1}),n.addEventListener(`touchstart`,P,{passive:!1}),()=>{t.removeEventListener(`touchstart`,e),n.removeEventListener(`touchstart`,P)}},[]);let F=S.useRef();F.current=k;let I=S.useRef();I.current=A,S.useEffect(()=>{if(h){let e,t=t=>{let{dragging:n,pageY:r,startTop:i}=N.current;Oi.cancel(e);let a=C.current.getBoundingClientRect(),o=d/(l?a.width:a.height);if(n){let n=(NS(t,l)-r)*o,a=i;!x&&l?a-=n:a+=n;let s=F.current,u=I.current,d=u?a/u:0,f=Math.ceil(d*s);f=Math.max(f,0),f=Math.min(f,s),e=Oi(()=>{c(f,l)})}},n=()=>{g(!1),s()};return window.addEventListener(`mousemove`,t,{passive:!0}),window.addEventListener(`touchmove`,t,{passive:!0}),window.addEventListener(`mouseup`,n,{passive:!0}),window.addEventListener(`touchend`,n,{passive:!0}),()=>{window.removeEventListener(`mousemove`,t),window.removeEventListener(`touchmove`,t),window.removeEventListener(`mouseup`,n),window.removeEventListener(`touchend`,n),Oi.cancel(e)}}},[h]),S.useEffect(()=>(O(),()=>{clearTimeout(D.current)}),[i]),S.useImperativeHandle(t,()=>({delayHidden:O}));let L=`${n}-scrollbar`,R={position:`absolute`,visibility:T?null:`hidden`},z={position:`absolute`,borderRadius:99,background:`var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))`,cursor:`pointer`,userSelect:`none`};return l?(Object.assign(R,{height:8,left:0,right:0,bottom:0}),Object.assign(z,{height:`100%`,width:u,[x?`left`:`right`]:j})):(Object.assign(R,{width:8,top:0,bottom:0,[x?`right`:`left`]:0}),Object.assign(z,{width:`100%`,height:u,top:j})),S.createElement(`div`,{ref:C,className:J(L,{[`${L}-horizontal`]:l,[`${L}-vertical`]:!l,[`${L}-visible`]:T}),style:{...R,...f},onMouseDown:M,onMouseMove:O},S.createElement(`div`,{ref:w,className:J(`${L}-thumb`,{[`${L}-thumb-moving`]:h}),style:{...z,...p},onMouseDown:P}))}),RS=20;function zS(e=0,t=0){let n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,RS),Math.floor(n)}var BS=[],VS={overflowY:`auto`,overflowAnchor:`none`};function HS(e,t){let{prefixCls:n=`rc-virtual-list`,className:r,height:i,itemHeight:a,fullHeight:o=!0,style:s,data:c,children:l,itemKey:u,virtual:d,direction:f,scrollWidth:p,component:m=`div`,onScroll:h,onVirtualScroll:g,onVisibleChange:_,innerProps:v,extraRender:y,styles:b,showScrollBar:x=`optional`,...C}=e,w=S.useCallback(e=>typeof u==`function`?u(e):e?.[u],[u]),[T,E,D,O]=kS(w,null,null),k=!!(d!==!1&&i&&a),A=S.useMemo(()=>Object.values(D.maps).reduce((e,t)=>e+t,0),[D.id,D.maps]),j=k&&c&&(Math.max(a*c.length,A)>i||!!p),M=f===`rtl`,N=J(n,{[`${n}-rtl`]:M},r),P=c||BS,F=(0,S.useRef)(),I=(0,S.useRef)(),L=(0,S.useRef)(),[R,z]=(0,S.useState)(0),[B,V]=(0,S.useState)(0),[H,U]=(0,S.useState)(!1),W=()=>{U(!0)},ee=()=>{U(!1)},te={getKey:w};function ne(e){z(t=>{let n;n=typeof e==`function`?e(t):e;let r=ge(n);return F.current.scrollTop=r,r})}let re=(0,S.useRef)({start:0,end:P.length}),G=(0,S.useRef)(),[ie]=SS(P,w);G.current=ie;let{scrollHeight:K,start:ae,end:q,offset:oe}=S.useMemo(()=>{if(!k)return{scrollHeight:void 0,start:0,end:P.length-1,offset:void 0};if(!j)return{scrollHeight:I.current?.offsetHeight||0,start:0,end:P.length-1,offset:void 0};let e=0,t,n,r,o=P.length;for(let s=0;s=R&&t===void 0&&(t=s,n=e),u>R+i&&r===void 0&&(r=s),e=u}return t===void 0&&(t=0,n=0,r=Math.ceil(i/a)),r===void 0&&(r=P.length-1),r=Math.min(r+1,P.length-1),{scrollHeight:e,start:t,end:r,offset:n}},[j,k,R,P,O,i]);re.current.start=ae,re.current.end=q,S.useLayoutEffect(()=>{let e=D.getRecord();if(e.size===1){let t=Array.from(e.keys())[0],n=e.get(t),r=P[ae];if(r&&n===void 0&&w(r)===t){let e=D.get(t)-a;ne(t=>t+e)}}D.resetRecord()},[K]);let[se,ce]=S.useState({width:0,height:i}),le=e=>{ce({width:e.offsetWidth,height:e.offsetHeight})},ue=(0,S.useRef)(),de=(0,S.useRef)(),fe=S.useMemo(()=>zS(se.width,p),[se.width,p]),pe=S.useMemo(()=>zS(se.height,K),[se.height,K]),me=K-i,he=(0,S.useRef)(me);he.current=me;function ge(e){let t=e;return Number.isNaN(he.current)||(t=Math.min(t,he.current)),t=Math.max(t,0),t}let _e=R<=0,ve=R>=me,ye=B<=0,be=B>=p,xe=wS(_e,ve,ye,be),Se=()=>({x:M?-B:B,y:R}),Ce=(0,S.useRef)(Se()),we=zn(e=>{if(g){let t={...Se(),...e};(Ce.current.x!==t.x||Ce.current.y!==t.y)&&(g(t),Ce.current=t)}});function Te(e,t){let n=e;t?((0,Vi.flushSync)(()=>{V(n)}),we()):ne(n)}function Ee(e){let{scrollTop:t}=e.currentTarget;t!==R&&ne(t),h?.(e),we()}let De=e=>{let t=e,n=p?p-se.width:0;return t=Math.max(t,0),t=Math.min(t,n),t},Oe=zn((e,t)=>{t?((0,Vi.flushSync)(()=>{V(t=>De(t+(M?-e:e)))}),we()):ne(t=>t+e)}),[ke,Ae]=TS(k,_e,ve,ye,be,!!p,Oe);jS(k,F,(e,t,n,r)=>{let i=r;return xe(e,t,n)?!1:!i||!i._virtualHandled?(i&&(i._virtualHandled=!0),ke({preventDefault(){},deltaX:e?t:0,deltaY:e?0:t}),!0):!1}),PS(j,F,e=>{ne(t=>t+e)}),Hn(()=>{function e(e){let t=_e&&e.detail<0,n=ve&&e.detail>0;k&&!t&&!n&&e.preventDefault()}let t=F.current;return t.addEventListener(`wheel`,ke,{passive:!1}),t.addEventListener(`DOMMouseScroll`,Ae,{passive:!0}),t.addEventListener(`MozMousePixelScroll`,e,{passive:!1}),()=>{t.removeEventListener(`wheel`,ke),t.removeEventListener(`DOMMouseScroll`,Ae),t.removeEventListener(`MozMousePixelScroll`,e)}},[k,_e,ve]),Hn(()=>{if(p){let e=De(B);V(e),we({x:e})}},[se.width,p]);let je=()=>{ue.current?.delayHidden(),de.current?.delayHidden()},Me=IS(F,P,D,a,w,()=>E(!0),ne,je);S.useImperativeHandle(t,()=>({nativeElement:L.current,getScrollInfo:Se,scrollTo:e=>{function t(e){return e&&typeof e==`object`&&(`left`in e||`top`in e)}t(e)?(e.left!==void 0&&V(De(e.left)),Me(e.top)):Me(e)}})),Hn(()=>{_&&_(P.slice(ae,q+1),P)},[ae,q,P]);let Ne=ES(P,w,D,a),Pe=y?.({start:ae,end:q,virtual:j,offsetX:B,offsetY:oe,rtl:M,getSize:Ne}),Fe=bS(P,ae,q,p,B,T,l,te),Ie=null;i&&(Ie={[o?`height`:`maxHeight`]:i,...VS},k&&(Ie.overflowY=`hidden`,p&&(Ie.overflowX=`hidden`),H&&(Ie.pointerEvents=`none`)));let Le={};return M&&(Le.dir=`rtl`),S.createElement(`div`,Hg({ref:L,style:{...s,position:`relative`},className:N},Le,C),S.createElement(oa,{onResize:le},S.createElement(m,{className:`${n}-holder`,style:Ie,ref:F,onScroll:Ee,onMouseEnter:je},S.createElement(vS,{prefixCls:n,height:K,offsetX:B,offsetY:oe,scrollWidth:p,onInnerResize:E,ref:I,innerProps:v,rtl:M,extra:Pe},Fe))),j&&K>i&&S.createElement(LS,{ref:ue,prefixCls:n,scrollOffset:R,scrollRange:K,rtl:M,onScroll:Te,onStartMove:W,onStopMove:ee,spinSize:pe,containerSize:se.height,style:b?.verticalScrollBar,thumbStyle:b?.verticalScrollBarThumb,showScrollBar:x}),j&&p>se.width&&S.createElement(LS,{ref:de,prefixCls:n,scrollOffset:B,scrollRange:p,rtl:M,onScroll:Te,onStartMove:W,onStopMove:ee,spinSize:fe,containerSize:se.width,horizontal:!0,style:b?.horizontalScrollBar,thumbStyle:b?.horizontalScrollBarThumb,showScrollBar:x}))}var US=S.forwardRef(HS);US.displayName=`List`;var WS=US;function GS(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}function KS(){return KS=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,id:r,open:i,multiple:a,mode:o,searchValue:s,toggleOpen:c,notFoundContent:l,onPopupScroll:u,showScrollBar:d,lockOptions:f}=fx(),{maxCount:p,flattenOptions:m,onActiveValue:h,defaultActiveFirstOption:g,onSelect:_,menuItemSelectedIcon:v,rawValues:y,fieldNames:b,virtual:x,direction:C,listHeight:w,listItemHeight:T,optionRender:E,classNames:D,styles:O}=S.useContext(Px),k=`${n}-item`,A=Zn(()=>m,[i,f],(e,t)=>t[0]&&!t[1]),j=S.useRef(null),M=S.useMemo(()=>a&&bx(p)&&y?.size>=p,[a,p,y?.size]),N=e=>{e.preventDefault()},P=e=>{j.current?.scrollTo(typeof e==`number`?{index:e}:e)},F=S.useCallback(e=>o===`combobox`?!1:y.has(e),[o,[...y].toString(),y.size]),I=(e,t=1)=>{let n=A.length;for(let r=0;rI(0)),z=(e,t=!1)=>{R(e);let n={source:t?`keyboard`:`mouse`},r=A[e];if(!r){h(null,-1,n);return}h(r.value,e,n)};(0,S.useEffect)(()=>{z(g===!1?-1:I(0))},[A.length,s]);let B=S.useCallback(e=>o===`combobox`?String(e).toLowerCase()===s.toLowerCase():y.has(e),[o,s,[...y].toString(),y.size]);(0,S.useEffect)(()=>{let e;if(!a&&i&&y.size===1){let t=Array.from(y)[0],n=A.findIndex(({data:e})=>s?String(e.value).startsWith(s):e.value===t);n!==-1&&(z(n),e=setTimeout(()=>{P(n)}))}return i&&j.current?.scrollTo(void 0),()=>clearTimeout(e)},[i,s]);let V=e=>{e!==void 0&&_(e,{selected:!y.has(e)}),a||c(!1)};if(S.useImperativeHandle(t,()=>({onKeyDown:e=>{let{which:t,ctrlKey:n}=e;switch(t){case Qr.N:case Qr.P:case Qr.UP:case Qr.DOWN:{let e=0;if(t===Qr.UP?e=-1:t===Qr.DOWN?e=1:GS()&&n&&(t===Qr.N?e=1:t===Qr.P&&(e=-1)),e!==0){let t=I(L+e,e);P(t),z(t,!0)}break}case Qr.TAB:case Qr.ENTER:{let t=A[L];if(!t||t.data.disabled)return V(void 0);!M||y.has(t.value)?V(t.value):V(void 0),i&&e.preventDefault();break}case Qr.ESC:c(!1),i&&e.stopPropagation()}},onKeyUp:()=>{},scrollTo:e=>{P(e)}})),A.length===0)return S.createElement(`div`,{role:`listbox`,id:`${r}_list`,className:`${k}-empty`,onMouseDown:N},l);let H=Object.keys(b).map(e=>b[e]),U=e=>e.label;function W(e,t){let{group:n}=e;return{role:n?`presentation`:`option`,id:`${r}_list_${t}`}}let ee=e=>{let t=A[e];if(!t)return null;let n=t.data||{},{value:r,disabled:i}=n,{group:a}=t,o=xi(n,!0),s=U(t);return t?S.createElement(`div`,KS({"aria-label":typeof s==`string`&&!a?s:null},o,{key:e},W(t,e),{"aria-selected":B(r),"aria-disabled":i}),r):null},te={role:`listbox`,id:`${r}_list`};return S.createElement(S.Fragment,null,x&&S.createElement(`div`,KS({},te,{style:{height:0,width:0,overflow:`hidden`}}),ee(L-1),ee(L),ee(L+1)),S.createElement(WS,{itemKey:`key`,ref:j,data:A,height:w,itemHeight:T,fullHeight:!1,onMouseDown:N,onScroll:u,virtual:x,direction:C,innerProps:x?null:te,showScrollBar:d,className:D?.popup?.list,style:O?.popup?.list},(e,t)=>{let{group:n,groupOption:r,data:i,label:a,value:o}=e,{key:s}=i;if(n){let e=i.title??(qS(a)?a.toString():void 0);return S.createElement(`div`,{className:J(k,`${k}-group`,i.className),title:e},a===void 0?s:a)}let{disabled:c,title:l,children:u,style:d,className:f,...p}=i,m=gi(p,H),h=F(o),g=c||!h&&M,_=`${k}-option`,y=J(k,_,f,D?.popup?.listItem,{[`${_}-grouped`]:r,[`${_}-active`]:L===t&&!g,[`${_}-disabled`]:g,[`${_}-selected`]:h}),b=U(e),C=!v||typeof v==`function`||h,w=typeof b==`number`?b:b||o,T=qS(w)?w.toString():void 0;return l!==void 0&&(T=l),S.createElement(`div`,KS({},xi(m),x?{}:W(e,t),{"aria-selected":x?void 0:B(o),"aria-disabled":g,className:y,title:T,onMouseMove:()=>{L===t||g||z(t)},onClick:()=>{g||V(o)},style:{...O?.popup?.listItem,...d}}),S.createElement(`div`,{className:`${_}-content`},typeof E==`function`?E(e,{index:t}):w),S.isValidElement(v)||h,C&&S.createElement(nS,{className:`${k}-option-state`,customizeIcon:v,customizeIconProps:{value:o,disabled:g,isSelected:h}},h?`✓`:null))}))}),YS=((e,t)=>{let n=S.useRef({values:new Map,options:new Map});return[S.useMemo(()=>{let{values:r,options:i}=n.current,a=e.map(e=>e.label===void 0?{...e,label:r.get(e.value)?.label}:e),o=new Map,s=new Map;return a.forEach(e=>{o.set(e.value,e),s.set(e.value,t.get(e.value)||i.get(e.value))}),n.current.values=o,n.current.options=s,a},[e,t]),S.useCallback(e=>t.get(e)||n.current.options.get(e),[t])]});function XS(e,t){return Fx(e).join(``).toUpperCase().includes(t)}var ZS=((e,t,n,r,i)=>S.useMemo(()=>{if(!n||r===!1)return e;let{options:a,label:o,value:s}=t,c=[],l=typeof r==`function`,u=n.toUpperCase(),d=l?r:(e,t)=>i&&i.length?i.some(e=>XS(t[e],u)):t[a]?XS(t[o===`children`?`label`:o],u):XS(t[s],u),f=l?e=>Cx(e):e=>e;return e.forEach(e=>{if(e[a]){if(d(n,f(e)))c.push(e);else{let t=e[a].filter(e=>d(n,f(e)));t.length&&c.push({...e,[a]:t})}return}d(n,f(e))&&c.push(e)}),c},[e,r,i,n,t]));function QS(e){let{key:t,props:{children:n,value:r,...i}}=e;return{key:t,value:r===void 0?t:r,children:n,...i}}function $S(e,t=!1){return ki(e).map((e,n)=>{if(!S.isValidElement(e)||!e.type)return null;let{type:{isSelectOptGroup:r},key:i,props:{children:a,...o}}=e;return t||!r?QS(e):{key:`__RC_SELECT_GRP__${i===null?n:i}__`,label:i,...o,options:$S(a)}}).filter(e=>e)}var eC=(e,t,n,r,i)=>S.useMemo(()=>{let a=e;e||(a=$S(t));let o=new Map,s=new Map,c=(e,t,n)=>{n&&typeof n==`string`&&e.set(t[n],t)},l=(e,t=!1)=>{for(let a=0;a{c(s,u,e)}),c(s,u,i)):l(u[n.options],!0)}};return l(a),{options:a,valueOptions:o,labelOptions:s}},[e,t,n,r,i]);function tC(e){let t=S.useRef();return t.current=e,S.useCallback((...e)=>t.current(...e),[])}function nC(e,t,n){let{filterOption:r,searchValue:i,optionFilterProp:a,filterSort:o,onSearch:s,autoClearSearchValue:c}=t;return S.useMemo(()=>{let t=typeof e==`object`,l={filterOption:r,searchValue:i,optionFilterProp:a,filterSort:o,onSearch:s,autoClearSearchValue:c,...t?e:{}};return[t||n===`combobox`||n===`tags`||n===`multiple`&&e===void 0?!0:e,l]},[n,e,r,i,a,o,s,c])}function rC(){return rC=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:n,mode:r,prefixCls:i=`rc-select`,backfill:a,fieldNames:o,showSearch:s,searchValue:c,onSearch:l,autoClearSearchValue:u,filterOption:d,optionFilterProp:f,filterSort:p,onSelect:m,onDeselect:h,onActive:g,popupMatchSelectWidth:_=!0,optionLabelProp:v,options:y,optionRender:b,children:x,defaultActiveFirstOption:C,menuItemSelectedIcon:w,virtual:T,direction:E,listHeight:D=200,listItemHeight:O=20,labelRender:k,value:A,defaultValue:j,labelInValue:M,onChange:N,maxCount:P,classNames:F,styles:I,...L}=e,[R,z]=nC(s,{searchValue:c,onSearch:l,autoClearSearchValue:u,filterOption:d,optionFilterProp:f,filterSort:p},r),{filterOption:B,searchValue:V,optionFilterProp:H,filterSort:U,onSearch:W,autoClearSearchValue:ee=!0}=z,te=S.useMemo(()=>H?Array.isArray(H)?H:[H]:[],[H]),ne=Xn(n),re=mS(r),G=!!(!y&&x),ie=S.useMemo(()=>B===void 0&&r===`combobox`?!1:B,[B,r]),K=S.useMemo(()=>xx(o,G),[JSON.stringify(o),G]),[ae,q]=Gn(``,V),oe=ae||``,se=eC(y,x,K,te,v),{valueOptions:ce,labelOptions:le,options:ue}=se,de=S.useCallback(e=>Fx(e).map(e=>{let t,n,r,i;aC(e)?t=e:(n=e.label,t=e.value);let a=ce.get(t);return a&&(n===void 0&&(n=a?.[v||K.label]),r=a?.disabled,i=a?.title),{label:n,value:t,key:t,disabled:r,title:i}}),[K,v,ce]),[fe,pe]=Gn(j,A),[me,he]=YS(S.useMemo(()=>{let e=de(re&&fe===null?[]:fe);return r===`combobox`&&Lx(e[0]?.value)?[]:e},[fe,de,r,re]),ce),ge=S.useMemo(()=>{if(!r&&me.length===1){let e=me[0];if(e.value===null&&(e.label===null||e.label===void 0))return[]}return me.map(e=>({...e,label:(typeof k==`function`?k(e):e.label)??e.value}))},[r,me,k]),_e=S.useMemo(()=>new Set(me.map(e=>e.value)),[me]);S.useEffect(()=>{if(r===`combobox`){let e=me[0]?.value;q(Ix(e)?String(e):``)}},[me]);let ve=tC((e,t)=>{let n=t??e;return{[K.value]:e,[K.label]:n}}),ye=ZS(S.useMemo(()=>{if(r!==`tags`)return ue;let e=[...ue],t=e=>ce.has(e);return[...me].sort((e,t)=>e.value{let r=n.value;t(r)||e.push(ve(r,n.label))}),e},[ve,ue,ce,me,r]),K,oe,ie,te),be=S.useMemo(()=>{let e=e=>te.length?te.some(t=>e?.[t]===oe):e?.value===oe;return r!==`tags`||!oe||ye.some(t=>e(t))||ye.some(e=>e[K.value]===oe)?ye:[ve(oe),...ye]},[ve,te,r,ye,oe,K]),xe=e=>[...e].sort((e,t)=>U(e,t,{searchValue:oe})).map(e=>Array.isArray(e.options)?{...e,options:e.options.length>0?xe(e.options):e.options}:e),Se=S.useMemo(()=>U?xe(be):be,[be,U,oe]),Ce=S.useMemo(()=>Sx(Se,{fieldNames:K,childrenAsData:G}),[Se,K,G]),we=e=>{let t=de(e);if(pe(t),N&&(t.length!==me.length||t.some((e,t)=>me[t]?.value!==e?.value))){let e=M?t.map(({label:e,value:t})=>({label:e,value:t})):t.map(e=>e.value),n=t.map(e=>Cx(he(e.value)));N(re?e:e[0],re?n:n[0])}},[Te,Ee]=S.useState(null),[De,Oe]=S.useState(0),ke=C===void 0?r!==`combobox`:C,Ae=S.useRef(),je=S.useCallback((e,t,{source:n=`keyboard`}={})=>{Oe(t),a&&r===`combobox`&&e!==null&&n===`keyboard`&&Ee(String(e));let i=Promise.resolve().then(()=>{Ae.current===i&&g?.(e)});Ae.current=i},[a,r,g]),Me=(e,t,n)=>{let r=()=>{let t=he(e);return[M?{label:t?.[K.label],value:e}:e,Cx(t)]};if(t&&m){let[e,t]=r();m(e,t)}else if(!t&&h&&n!==`clear`){let[e,t]=r();h(e,t)}},Ne=tC((e,t)=>{let n,i=re?t.selected:!0;n=i?re?[...me,e]:[e]:me.filter(t=>t.value!==e),we(n),Me(e,i),r===`combobox`?Ee(``):(!mS||ee)&&(q(``),Ee(``))}),Pe=(e,t)=>{we(e);let{type:n,values:r}=t;(n===`remove`||n===`clear`)&&r.forEach(e=>{Me(e.value,!1,n)})},Fe=(e,t)=>{if(q(e),Ee(null),t.source===`submit`){let t=(e||``).trim();t&&(we(Array.from(new Set([..._e,t]))),Me(t,!0),q(``));return}t.source!==`blur`&&(r===`combobox`&&we(e),W?.(e))},Ie=e=>{let t=e;r!==`tags`&&(t=e.map(e=>le.get(e)?.value).filter(e=>e!==void 0));let n=Array.from(new Set([..._e,...t]));we(n),n.forEach(e=>{Me(e,!0)})},Le=S.useMemo(()=>{let e=T!==!1&&_!==!1;return{...se,flattenOptions:Ce,onActiveValue:je,defaultActiveFirstOption:ke,onSelect:Ne,menuItemSelectedIcon:w,rawValues:_e,fieldNames:K,virtual:e,direction:E,listHeight:D,listItemHeight:O,childrenAsData:G,maxCount:P,optionRender:b,classNames:F,styles:I}},[P,se,Ce,je,ke,Ne,w,_e,K,T,_,E,D,O,G,b,F,I]);return S.createElement(Px.Provider,{value:Le},S.createElement(hS,rC({},L,{id:ne,prefixCls:i,ref:t,omitDomProps:iC,mode:r,classNames:F,styles:I,displayValues:ge,onDisplayValuesChange:Pe,maxCount:P,direction:E,showSearch:R,searchValue:oe,onSearch:Fe,autoClearSearchValue:ee,onSearchSplit:Ie,popupMatchSelectWidth:_,OptionList:JS,emptyOptions:!Ce.length,activeValue:Te,activeDescendantId:`${ne}_list_${De}`})))});oC.Option=_S,oC.OptGroup=gS;var sC=oC,cC=(e,t,n)=>J({[`${e}-status-success`]:t===`success`,[`${e}-status-warning`]:t===`warning`,[`${e}-status-error`]:t===`error`,[`${e}-status-validating`]:t===`validating`,[`${e}-has-feedback`]:n}),lC=(e,t)=>t||e,uC=()=>{let[,e]=Vl(),[t]=Yd(`Empty`),n=new Nc(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return S.createElement(`svg`,{style:n,width:`184`,height:`152`,viewBox:`0 0 184 152`,xmlns:`http://www.w3.org/2000/svg`},S.createElement(`title`,null,t?.description||`Empty`),S.createElement(`g`,{fill:`none`,fillRule:`evenodd`},S.createElement(`g`,{transform:`translate(24 31.7)`},S.createElement(`ellipse`,{fillOpacity:`.8`,fill:`#F5F5F7`,cx:`67.8`,cy:`106.9`,rx:`67.8`,ry:`12.7`}),S.createElement(`path`,{fill:`#aeb8c2`,d:`M122 69.7 98.1 40.2a6 6 0 0 0-4.6-2.2H42.1a6 6 0 0 0-4.6 2.2l-24 29.5V85H122z`}),S.createElement(`path`,{fill:`#f5f5f7`,d:`M33.8 0h68a4 4 0 0 1 4 4v93.3a4 4 0 0 1-4 4h-68a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4`}),S.createElement(`path`,{fill:`#dce0e6`,d:`M42.7 10h50.2a2 2 0 0 1 2 2v25a2 2 0 0 1-2 2H42.7a2 2 0 0 1-2-2V12a2 2 0 0 1 2-2m.2 39.8h49.8a2.3 2.3 0 1 1 0 4.5H42.9a2.3 2.3 0 0 1 0-4.5m0 11.7h49.8a2.3 2.3 0 1 1 0 4.6H42.9a2.3 2.3 0 0 1 0-4.6m79 43.5a7 7 0 0 1-6.8 5.4H20.5a7 7 0 0 1-6.7-5.4l-.2-1.8V69.7h26.3c2.9 0 5.2 2.4 5.2 5.4s2.4 5.4 5.3 5.4h34.8c2.9 0 5.3-2.4 5.3-5.4s2.3-5.4 5.2-5.4H122v33.5q0 1-.2 1.8`})),S.createElement(`path`,{fill:`#dce0e6`,d:`m149.1 33.3-6.8 2.6a1 1 0 0 1-1.3-1.2l2-6.2q-4.1-4.5-4.2-10.4c0-10 10.1-18.1 22.6-18.1S184 8.1 184 18.1s-10.1 18-22.6 18q-6.8 0-12.3-2.8`}),S.createElement(`g`,{fill:`#fff`,transform:`translate(149.7 15.4)`},S.createElement(`circle`,{cx:`20.7`,cy:`3.2`,r:`2.8`}),S.createElement(`path`,{d:`M5.7 5.6H0L2.9.7zM9.3.7h5v5h-5z`}))))},dC=()=>{let[,e]=Vl(),[t]=Yd(`Empty`),{colorFill:n,colorFillTertiary:r,colorFillQuaternary:i,colorBgContainer:a}=e,{borderColor:o,shadowColor:s,contentColor:c}=(0,S.useMemo)(()=>({borderColor:new Nc(n).onBackground(a).toHexString(),shadowColor:new Nc(r).onBackground(a).toHexString(),contentColor:new Nc(i).onBackground(a).toHexString()}),[n,r,i,a]);return S.createElement(`svg`,{width:`64`,height:`41`,viewBox:`0 0 64 41`,xmlns:`http://www.w3.org/2000/svg`},S.createElement(`title`,null,t?.description||`Empty`),S.createElement(`g`,{transform:`translate(0 1)`,fill:`none`,fillRule:`evenodd`},S.createElement(`ellipse`,{fill:s,cx:`32`,cy:`33`,rx:`32`,ry:`7`}),S.createElement(`g`,{fillRule:`nonzero`,stroke:o},S.createElement(`path`,{d:`M55 12.8 44.9 1.3Q44 0 42.9 0H21.1q-1.2 0-2 1.3L9 12.8V22h46z`}),S.createElement(`path`,{d:`M41.6 16c0-1.7 1-3 2.2-3H55v18.1c0 2.2-1.3 3.9-3 3.9H12c-1.7 0-3-1.7-3-3.9V13h11.2c1.2 0 2.2 1.3 2.2 3s1 2.9 2.2 2.9h14.8c1.2 0 2.2-1.4 2.2-3`,fill:c}))))},fC=e=>{let{componentCls:t,margin:n,marginXS:r,marginXL:i,fontSize:a,lineHeight:o}=e;return{[t]:{marginInline:r,fontSize:a,lineHeight:o,textAlign:`center`,[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:`100%`},svg:{maxWidth:`100%`,height:`100%`,margin:`auto`}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:i,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},pC=Ql(`Empty`,e=>{let{componentCls:t,controlHeightLG:n,calc:r}=e;return fC(dc(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()}))}),mC=S.createElement(uC,null),hC=S.createElement(dC,null),gC=e=>{let{className:t,rootClassName:n,prefixCls:r,image:i,description:a,children:o,imageStyle:s,style:c,classNames:l,styles:u,...d}=e,{getPrefixCls:f,direction:p,className:m,style:h,classNames:g,styles:_,image:v}=ya(`empty`),y=f(`empty`,r),[b,x]=pC(y),[C,w]=Cf([g,l],[_,u],{props:e}),[T]=Yd(`Empty`),E=a===void 0?T?.description:a,D=typeof E==`string`?E:`empty`,O=i??v??mC,k=null;return k=typeof O==`string`?S.createElement(`img`,{draggable:!1,alt:D,src:O}):O,S.createElement(`div`,{className:J(b,x,y,m,{[`${y}-normal`]:O===hC,[`${y}-rtl`]:p===`rtl`},t,n,C.root),style:{...w.root,...h,...c},...d},S.createElement(`div`,{className:J(`${y}-image`,C.image),style:{...s,...w.image}},k),E&&S.createElement(`div`,{className:J(`${y}-description`,C.description),style:w.description},E),o&&S.createElement(`div`,{className:J(`${y}-footer`,C.footer),style:w.footer},o))};gC.PRESENTED_IMAGE_DEFAULT=mC,gC.PRESENTED_IMAGE_SIMPLE=hC;var _C=e=>{let{componentName:t}=e,{getPrefixCls:n}=(0,S.useContext)(ga),r=n(`empty`);switch(t){case`Table`:case`List`:return S.createElement(gC,{image:gC.PRESENTED_IMAGE_SIMPLE});case`Select`:case`TreeSelect`:case`Cascader`:case`Transfer`:case`Mentions`:return S.createElement(gC,{image:gC.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case`Table.filter`:return null;default:return S.createElement(gC,null)}},vC=(e,t,n)=>{let{variant:r,[e]:i}=S.useContext(ga),a=S.useContext(ky),o=i?.variant,s;s=t===void 0?n===!1?`borderless`:a??o??r??`outlined`:t;let c=ha.includes(s);return[s,c]},yC=e=>{let t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e===`scroll`?`scroll`:`visible`,dynamicInset:!0};return{bottomLeft:{...t,points:[`tl`,`bl`],offset:[0,4]},bottomRight:{...t,points:[`tr`,`br`],offset:[0,4]},topLeft:{...t,points:[`bl`,`tl`],offset:[0,-4]},topRight:{...t,points:[`br`,`tr`],offset:[0,-4]}}};function bC(e,t){return e||yC(t)}var xC=e=>{let{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:i}=e;return{position:`relative`,display:`block`,minHeight:t,padding:i,color:e.colorText,fontWeight:`normal`,fontSize:n,lineHeight:r,boxSizing:`border-box`}},SC=e=>{let{antCls:t,componentCls:n}=e,r=`${n}-item`,i=`&${t}-slide-up-enter${t}-slide-up-enter-active`,a=`&${t}-slide-up-appear${t}-slide-up-appear-active`,o=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`,c=`${r}-option-selected`;return[{[`${n}-dropdown`]:{...Ul(e),position:`absolute`,top:-9999,zIndex:e.zIndexPopup,boxSizing:`border-box`,padding:e.paddingXXS,overflow:`hidden`,fontSize:e.fontSize,fontVariant:`initial`,backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:`none`,boxShadow:e.boxShadowSecondary,[` ${i}${s}bottomLeft, ${a}${s}bottomLeft - `]:{animationName:ig},[` + `]:{animationName:og},[` ${i}${s}topLeft, ${a}${s}topLeft, ${i}${s}topRight, ${a}${s}topRight - `]:{animationName:og},[`${o}${s}bottomLeft`]:{animationName:ag},[` + `]:{animationName:cg},[`${o}${s}bottomLeft`]:{animationName:sg},[` ${o}${s}topLeft, ${o}${s}topRight - `]:{animationName:sg},"&-hidden":{display:`none`},[r]:{...NC(e),cursor:`pointer`,transition:`background-color ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:`default`},"&-option":{display:`flex`,"&-content":{flex:`auto`,...Hl},"&-state":{flex:`none`,display:`flex`,alignItems:`center`},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:`not-allowed`},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":{...NC(e),color:e.colorTextDisabled}},[`${c}:has(+ ${c})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${c}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:`rtl`}}},pg(e,`slide-up`),pg(e,`slide-down`),rg(e,`move-up`),rg(e,`move-down`)]},FC=e=>{let{componentCls:t}=e;return{[`&${t}-customize`]:{border:0,padding:0,fontSize:`inherit`,lineHeight:`inherit`,[`${t}-placeholder`]:{display:`none`},[`${t}-content`]:{margin:0,padding:0,"&-value":{display:`none`}}}}},IC=4,LC=e=>{let{componentCls:t,calc:n,iconCls:r,paddingXS:i,paddingXXS:a,INTERNAL_FIXED_ITEM_MARGIN:o,lineWidth:s,colorIcon:c,colorIconHover:l,inputPaddingHorizontalBase:u,antCls:d}=e,[f,p]=tu(d,`select`);return{"&-multiple":{[f(`multi-item-background`)]:e.multipleItemBg,[f(`multi-item-border-color`)]:`transparent`,[f(`multi-item-border-radius`)]:e.borderRadiusSM,[f(`multi-item-height`)]:e.multipleItemHeight,[f(`multi-padding-base`)]:`calc((${p(`height`)} - ${p(`multi-item-height`)}) / 2)`,[f(`multi-padding-vertical`)]:`calc(${p(`multi-padding-base`)} - ${o} - ${s})`,[f(`multi-item-padding-horizontal`)]:`calc(${u} - ${p(`multi-padding-vertical`)} - ${s} * 2)`,paddingBlock:p(`multi-padding-vertical`),paddingInlineStart:`calc(${p(`multi-padding-base`)} - ${s})`,[`${t}-prefix`]:{marginInlineStart:p(`multi-item-padding-horizontal`)},[`${t}-prefix + ${t}-content`]:{[`${t}-placeholder`]:{insetInlineStart:0},[`${t}-content-item${t}-content-item-suffix`]:{marginInlineStart:0}},[`${t}-placeholder`]:{position:`absolute`,lineHeight:p(`line-height`),insetInlineStart:p(`multi-item-padding-horizontal`),width:`calc(100% - ${p(`multi-item-padding-horizontal`)})`,top:`50%`,transform:`translateY(-50%)`},[`${t}-content`]:{flexWrap:`wrap`,alignItems:`center`,lineHeight:1,"&-item-prefix":{height:p(`font-size`)},"&-item":{lineHeight:1,maxWidth:`calc(100% - ${IC}px)`},[`${t}-content-item-prefix + ${t}-content-item-suffix, - ${t}-content-item-suffix:first-child`]:{marginInlineStart:p(`multi-item-padding-horizontal`)},[`${t}-selection-item`]:{lineHeight:`calc(${p(`multi-item-height`)} - ${s} * 2)`,border:`${s} solid ${p(`multi-item-border-color`)}`,display:`flex`,marginBlock:o,marginInlineEnd:n(o).mul(2).equal(),background:p(`multi-item-background`),borderRadius:p(`multi-item-border-radius`),paddingInlineStart:i,paddingInlineEnd:a,transition:[`height`,`line-height`,`padding`].map(t=>`${t} ${e.motionDurationSlow}`).join(`,`),"&-content":{...Hl,marginInlineEnd:a},"&-remove":{...Wl(),display:`inline-flex`,alignItems:`center`,color:c,fontWeight:`bold`,fontSize:10,lineHeight:`inherit`,cursor:`pointer`,[`> ${r}`]:{verticalAlign:`-0.2em`},"&:hover":{color:l}}},[`${t}-input`]:{lineHeight:n(o).mul(2).add(p(`multi-item-height`)).equal(),width:`calc(var(--select-input-width, 0) * 1px)`,minWidth:IC,maxWidth:`100%`,transition:`line-height ${e.motionDurationSlow}`}},[`&${t}-sm`]:{[f(`multi-item-height`)]:e.multipleItemHeightSM,[f(`multi-item-border-radius`)]:e.borderRadiusXS},[`&${t}-lg`]:{[f(`multi-item-height`)]:e.multipleItemHeightLG,[f(`multi-item-border-radius`)]:e.borderRadius},[`&${t}-filled`]:{[f(`multi-item-border-color`)]:e.colorSplit,[f(`multi-item-background`)]:e.colorBgContainer,[`&${t}-disabled`]:{[f(`multi-item-border-color`)]:`transparent`}}}}},RC=(e,t)=>{let{componentCls:n,antCls:r}=e,[i]=tu(r,`select`),{border:a,borderHover:o,borderActive:s,borderOutline:c}=t,l=t.background||e.selectorBg||e.colorBgContainer;return{[i(`border-color`)]:a,[i(`background-color`)]:l,[i(`color`)]:t.color||e.colorText,[`&:not(${n}-disabled)`]:{"&:hover":{[i(`border-color`)]:o,[i(`background-color`)]:t.backgroundHover||l},[`&${n}-focused`]:{[i(`border-color`)]:s,[i(`background-color`)]:t.backgroundActive||l,boxShadow:`0 0 0 ${Y(e.controlOutlineWidth)} ${c}`}},[`&${n}-disabled`]:{[i(`border-color`)]:t.borderDisabled||t.border,[i(`background-color`)]:t.backgroundDisabled||t.background}}},zC=(e,t,n,r={},i={},a)=>{let{componentCls:o}=e;return{[`&${o}-${t}`]:[RC(e,n),{[`&${o}-status-error`]:RC(e,{...n,color:r.color||e.colorError,...r}),[`&${o}-status-warning`]:RC(e,{...n,color:i.color||e.colorWarning,...i})},a]}},BC=e=>{let{componentCls:t,fontHeight:n,controlHeight:r,iconCls:i,antCls:a,calc:o}=e,[s,c]=tu(a,`select`);return{[t]:[{[s(`border-radius`)]:e.borderRadius,[s(`border-color`)]:`#000`,[s(`border-size`)]:e.lineWidth,[s(`background-color`)]:e.colorBgContainer,[s(`font-size`)]:e.fontSize,[s(`line-height`)]:e.lineHeight,[s(`font-height`)]:n,[s(`color`)]:e.colorText,[s(`height`)]:r,[s(`padding-horizontal`)]:o(e.paddingSM).sub(e.lineWidth).equal(),[s(`padding-vertical`)]:`calc((${c(`height`)} - ${c(`font-height`)}) / 2 - ${c(`border-size`)})`,...Ul(e,!0),display:`inline-flex`,flexWrap:`nowrap`,position:`relative`,transition:`all ${e.motionDurationSlow}`,alignItems:`flex-start`,outline:0,cursor:`pointer`,borderRadius:c(`border-radius`),borderWidth:c(`border-size`),borderStyle:e.lineType,borderColor:c(`border-color`),background:c(`background-color`),fontSize:c(`font-size`),lineHeight:c(`line-height`),color:c(`color`),paddingInline:c(`padding-horizontal`),paddingBlock:c(`padding-vertical`),[`${t}-prefix`]:{flex:`none`,lineHeight:1},[`${t}-placeholder`]:{...Hl,color:e.colorTextPlaceholder,pointerEvents:`none`,zIndex:1},[`${t}-content`]:{flex:`auto`,minWidth:0,position:`relative`,display:`flex`,marginInlineEnd:o(e.paddingXXS).mul(1.5).equal(),"&:before":{content:`"\\a0"`,width:0,overflow:`hidden`},"&-value":{visibility:`inherit`},"input[readonly]":{cursor:`inherit`,caretColor:`transparent`}},[`${t}-suffix`]:{flex:`none`,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,"> :not(:last-child)":{marginInlineEnd:e.marginXS}},[`${t}-prefix, ${t}-suffix`]:{alignSelf:`center`,[i]:{verticalAlign:`top`}},"&-disabled":{background:e.colorBgContainerDisabled,color:e.colorTextDisabled,cursor:`not-allowed`,input:{cursor:`not-allowed`}},"&-sm":{[s(`height`)]:e.controlHeightSM,[s(`padding-horizontal`)]:o(e.paddingXS).sub(e.lineWidth).equal(),[s(`border-radius`)]:e.borderRadiusSM,[`${t}-clear`]:{insetInlineEnd:c(`padding-horizontal`)}},"&-lg":{[s(`height`)]:e.controlHeightLG,[s(`font-size`)]:e.fontSizeLG,[s(`line-height`)]:e.lineHeightLG,[s(`font-height`)]:e.fontHeightLG,[s(`border-radius`)]:e.borderRadiusLG}},{[`&:not(${t}-customize)`]:{[`${t}-input`]:{outline:`none`,background:`transparent`,appearance:`none`,border:0,margin:0,padding:0,color:c(`color`),"&::-webkit-search-cancel-button":{display:`none`,appearance:`none`}}}},{[`&-single:not(${t}-customize)`]:{[`${t}-input`]:{position:`absolute`,inset:0,lineHeight:`calc(${c(`font-height`)} + ${c(`padding-vertical`)} * 2)`},[`${t}-content`]:{...Hl,alignSelf:`center`,"&-has-value":{display:`block`,"&:before":{display:`none`}},"&-has-search-value":{color:`transparent`},"&-value":{transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,zIndex:1}},[`&${t}-open ${t}-content`]:{color:e.colorTextPlaceholder,"&-has-search-value":{color:`transparent`}}}},{[`&-show-search:not(${t}-customize-input):not(${t}-disabled)`]:{cursor:`text`}},LC(e),zC(e,`outlined`,{border:e.colorBorder,borderHover:e.hoverBorderColor,borderActive:e.activeBorderColor,borderOutline:e.activeOutlineColor,borderDisabled:e.colorBorderDisabled},{border:e.colorError,borderHover:e.colorErrorHover,borderActive:e.colorError,borderOutline:e.colorErrorOutline},{border:e.colorWarning,borderHover:e.colorWarningHover,borderActive:e.colorWarning,borderOutline:e.colorWarningOutline}),zC(e,`filled`,{border:`transparent`,borderHover:`transparent`,borderActive:e.activeBorderColor,borderOutline:`transparent`,borderDisabled:e.colorBorderDisabled,background:e.colorFillTertiary,backgroundHover:e.colorFillSecondary,backgroundActive:e.colorBgContainer},{background:e.colorErrorBg,backgroundHover:e.colorErrorBgHover,borderActive:e.colorError},{background:e.colorWarningBg,backgroundHover:e.colorWarningBgHover,borderActive:e.colorWarning}),zC(e,`borderless`,{border:`transparent`,borderHover:`transparent`,borderActive:`transparent`,borderOutline:`transparent`,background:`transparent`}),zC(e,`underlined`,{border:e.colorBorder,borderHover:e.hoverBorderColor,borderActive:e.activeBorderColor,borderOutline:`transparent`},{border:e.colorError,borderHover:e.colorErrorHover,borderActive:e.colorError},{border:e.colorWarning,borderHover:e.colorWarningHover,borderActive:e.colorWarning},{borderRadius:0,borderTopColor:`transparent`,borderInlineColor:`transparent`}),FC(e)]}},VC=e=>{let{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:i,controlHeightSM:a,controlHeightLG:o,paddingXXS:s,controlPaddingHorizontal:c,zIndexPopupBase:l,colorText:u,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:p,colorBgContainer:m,colorFillSecondary:h,colorBgContainerDisabled:g,colorTextDisabled:_,colorPrimaryHover:v,colorPrimary:y,controlOutline:b}=e,x=s*2,S=r*2,C=Math.min(i-x,i-S),w=Math.min(a-x,a-S),T=Math.min(o-x,o-S);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:l+50,optionSelectedColor:u,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:p,optionPadding:`${(i-t*n)/2}px ${c}px`,optionFontSize:t,optionLineHeight:n,optionHeight:i,selectorBg:m,clearBg:m,singleItemHeightLG:o,multipleItemBg:h,multipleItemBorderColor:`transparent`,multipleItemHeight:C,multipleItemHeightSM:w,multipleItemHeightLG:T,multipleSelectorBgDisabled:g,multipleItemColorDisabled:_,multipleItemBorderColorDisabled:`transparent`,showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25),hoverBorderColor:v,activeBorderColor:y,activeOutlineColor:b,selectAffixPadding:s}},HC=e=>{let{antCls:t,componentCls:n,motionDurationMid:r,inputPaddingHorizontalBase:i}=e,a={[`${n}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:`50%`}};return{[n]:{...Ul(e),[`${n}-selection-item`]:{flex:1,fontWeight:`normal`,position:`relative`,userSelect:`none`,...Hl,[`> ${t}-typography`]:{display:`inline`}},[`${n}-prefix`]:{flex:`none`,marginInlineEnd:e.selectAffixPadding},[`${n}-clear`]:{position:`absolute`,top:`50%`,insetInlineStart:`auto`,insetInlineEnd:i,zIndex:1,display:`inline-block`,width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:`normal`,lineHeight:1,textAlign:`center`,textTransform:`none`,cursor:`pointer`,opacity:0,transition:[`color`,`opacity`].map(e=>`${e} ${r} ease`).join(`, `),textRendering:`auto`,transform:`translateZ(0)`,"&:before":{display:`block`},"&:hover":{color:e.colorIcon}},"@media(hover:none)":a,"&:hover":a},[`${n}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(i).add(e.fontSize).add(e.paddingXS).equal()}}}}}},UC=e=>{let{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:`100%`}}},HC(e),PC(e),{[`${t}-rtl`]:{direction:`rtl`}},l_(e,{focusElCls:`${t}-focused`})]},WC=Ql(`Select`,(e,{rootPrefixCls:t})=>{let n=dc(e,{rootPrefixCls:t,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(e.lineWidth).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[UC(n),BC(n)]},VC,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}}),GC=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z`}}]},name:`check`,theme:`outlined`}}))());function KC(){return KC=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,KC({},e,{ref:t,icon:GC.default}))),JC=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z`}}]},name:`down`,theme:`outlined`}}))());function YC(){return YC=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,YC({},e,{ref:t,icon:JC.default}))),ZC=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z`}}]},name:`search`,theme:`outlined`}}))());function QC(){return QC=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,QC({},e,{ref:t,icon:ZC.default})));function ew({suffixIcon:e,clearIcon:t,menuItemSelectedIcon:n,removeIcon:r,loading:i,loadingIcon:a,multiple:o,hasFeedback:s,showSuffixIcon:c,feedbackIcon:l,showArrow:u,componentName:d}){let f=t??S.createElement(Ou,null),p=t=>e===null&&!s&&!u?null:S.createElement(S.Fragment,null,c!==!1&&t,s&&l),m=null;m=e===void 0?i?p(a??S.createElement(Zm,{spin:!0})):({open:e,showSearch:t})=>p(e&&t?S.createElement($C,null):S.createElement(XC,null)):p(e);let h=null;h=n===void 0?o?S.createElement(qC,null):null:n;let g=null;return g=r===void 0?S.createElement(ju,null):r,{clearIcon:f,suffixIcon:m,itemIcon:h,removeIcon:g}}function tw(e){return S.useMemo(()=>{if(e)return(...t)=>S.createElement(wy,{space:!0},e.apply(void 0,t))},[e])}function nw(e,t){return t===void 0?e!==null:t}var rw=`SECRET_COMBOBOX_MODE_DO_NOT_USE`,iw=S.forwardRef((e,t)=>{let{prefixCls:n,bordered:r,className:i,rootClassName:a,getPopupContainer:o,popupClassName:s,dropdownClassName:c,listHeight:l=256,placement:u,listItemHeight:d,size:f,disabled:p,notFoundContent:m,status:h,builtinPlacements:g,dropdownMatchSelectWidth:_,popupMatchSelectWidth:v,direction:y,style:b,allowClear:x,variant:C,popupStyle:w,dropdownStyle:T,transitionName:E,tagRender:D,maxCount:O,prefix:k,dropdownRender:A,popupRender:j,onDropdownVisibleChange:M,onOpenChange:N,styles:P,classNames:F,...I}=e,{getPopupContainer:L,getPrefixCls:R,renderEmpty:z,direction:B,virtual:V,popupMatchSelectWidth:H,popupOverflow:U}=S.useContext(ga),{showSearch:W,style:ee,styles:te,className:ne,classNames:re}=ya(`select`),[,G]=Vl(),ie=d??G?.controlHeight,K=R(`select`,n),ae=R(),q=y??B,{compactSize:oe,compactItemClassnames:se}=Dh(K,q),[ce,le]=AC(`select`,C,r),ue=sp(K),[de,fe]=WC(K,ue),pe=S.useMemo(()=>{let{mode:t}=e;if(t!==`combobox`)return t===rw?`combobox`:t},[e.mode]),me=pe===`multiple`||pe===`tags`,he=nw(e.suffixIcon,e.showArrow),ge=v??_??H,_e=tw(j||A),ve=N||M,{status:ye,hasFeedback:be,isFormItemInput:xe,feedbackIcon:Se}=S.useContext(xy),Ce=xC(ye,h),we;we=m===void 0?pe===`combobox`?null:z?.(`Select`)||S.createElement(kC,{componentName:`Select`}):m;let{suffixIcon:Te,itemIcon:Ee,removeIcon:De,clearIcon:Oe}=ew({...I,multiple:me,hasFeedback:be,feedbackIcon:Se,showSuffixIcon:he,prefixCls:K,componentName:`Select`}),ke=x===!0?{clearIcon:Oe}:x,Ae=gi(I,[`suffixIcon`,`itemIcon`]),je=wh(e=>f??oe??e),Me=S.useContext(mm),Ne=p??Me,Pe={...e,variant:ce,status:Ce,disabled:Ne,size:je},[Fe,Ie]=Cf([re,F],[te,P],{props:Pe},{popup:{_default:`root`}}),Le=J(Fe.popup?.root,s,c,{[`${K}-dropdown-${q}`]:q===`rtl`},a,fe,ue,de),Re={...Ie.popup?.root,...w??T},ze=J({[`${K}-lg`]:je===`large`,[`${K}-sm`]:je===`small`,[`${K}-rtl`]:q===`rtl`,[`${K}-${ce}`]:le,[`${K}-in-form-item`]:xe},bC(K,Ce,be),se,ne,i,Fe.root,a,fe,ue,de),Be=S.useMemo(()=>u===void 0?q===`rtl`?`bottomRight`:`bottomLeft`:u,[u,q]),[Ve]=Lf(`SelectLike`,Ie.popup?.root?.zIndex??Re?.zIndex);return S.createElement(yC,{ref:t,virtual:V,classNames:Fe,styles:Ie,showSearch:W,...Ae,style:{...Ie.root,...ee,...b},popupMatchSelectWidth:ge,transitionName:mh(ae,`slide-up`,E),builtinPlacements:MC(g,U),listHeight:l,listItemHeight:ie,mode:pe,prefixCls:K,placement:Be,direction:q,prefix:k,suffixIcon:Te,menuItemSelectedIcon:Ee,removeIcon:De,allowClear:ke,notFoundContent:we,className:ze,getPopupContainer:o||L,popupClassName:Le,disabled:Ne,popupStyle:{...Ie.popup?.root,...Re,zIndex:Ve},maxCount:me?O:void 0,tagRender:me?D:void 0,popupRender:_e,onPopupVisibleChange:ve})}),aw=xx(iw,`popupAlign`);iw.SECRET_COMBOBOX_MODE_DO_NOT_USE=rw,iw.Option=kS,iw.OptGroup=OS,iw._InternalPanelDoNotUseOrYouWillBeFired=aw;var ow=[`xxxl`,`xxl`,`xl`,`lg`,`md`,`sm`,`xs`],sw=[].concat(ow).reverse(),cw=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`,xxxl:`(min-width: ${e.screenXXXL}px)`}),lw=e=>{let t=e,n=[].concat(ow).reverse();return n.forEach((e,r)=>{let i=e.toUpperCase(),a=`screen${i}Min`,o=`screen${i}`;if(!(t[a]<=t[o]))throw Error(`${a}<=${o} fails : !(${t[a]}<=${t[o]})`);if(r{if(t){for(let n of ow)if(e[n]&&t?.[n]!==void 0)return t[n]}},dw=()=>{let[,e]=Vl(),t=cw(lw(e));return S.useMemo(()=>{let e=new Map,n=-1,r={};return{responsiveMap:t,matchHandlers:{},dispatch(t){return r=t,e.forEach(e=>{e(r)}),e.size>=1},subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},register(){Object.entries(t).forEach(([e,t])=>{let n=({matches:t})=>{this.dispatch({...r,[e]:t})},i=window.matchMedia(t);typeof i?.addEventListener==`function`&&i.addEventListener(`change`,n),this.matchHandlers[t]={mql:i,listener:n},n(i)})},unregister(){Object.values(t).forEach(e=>{let t=this.matchHandlers[e];typeof t?.mql?.removeEventListener==`function`&&t.mql.removeEventListener(`change`,t?.listener)}),e.clear()}}},[t])};function fw(e=!0,t={}){let n=(0,S.useRef)(t),[,r]=mf(),i=dw();return Hn(()=>{let t=i.subscribe(t=>{n.current=t,e&&r()});return()=>i.unsubscribe(t)},[]),n.current}var pw=S.createContext({}),mw=e=>{let{antCls:t,componentCls:n,iconCls:r,avatarBg:i,avatarColor:a,containerSize:o,containerSizeLG:s,containerSizeSM:c,textFontSize:l,textFontSizeLG:u,textFontSizeSM:d,iconFontSize:f,iconFontSizeLG:p,iconFontSizeSM:m,borderRadius:h,borderRadiusLG:g,borderRadiusSM:_,lineWidth:v,lineType:y}=e,b=(e,t,i,a)=>({width:e,height:e,borderRadius:`50%`,fontSize:t,[`&${n}-square`]:{borderRadius:a},[`&${n}-icon`]:{fontSize:i,[`> ${r}`]:{margin:0}}});return{[n]:{...Ul(e),position:`relative`,display:`inline-flex`,justifyContent:`center`,alignItems:`center`,overflow:`hidden`,color:a,whiteSpace:`nowrap`,textAlign:`center`,verticalAlign:`middle`,background:i,border:`${Y(v)} ${y} transparent`,"&-image":{background:`transparent`},[`${t}-image-img`]:{display:`block`},...b(o,l,f,h),"&-lg":{...b(s,u,p,g)},"&-sm":{...b(c,d,m,_)},"> img":{display:`block`,width:`100%`,height:`100%`,objectFit:`cover`}}}},hw=e=>{let{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:i}=e;return{[`${t}-group`]:{display:`inline-flex`,[t]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:i}}}},gw=Ql(`Avatar`,e=>{let{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=dc(e,{avatarBg:n,avatarColor:t});return[mw(r),hw(r)]},e=>{let{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:i,fontSizeLG:a,fontSizeXL:o,fontSizeHeading3:s,marginXS:c,marginXXS:l,colorBorderBg:u}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:i,textFontSizeLG:i,textFontSizeSM:i,iconFontSize:Math.round((a+o)/2),iconFontSizeLG:s,iconFontSizeSM:i,groupSpace:l,groupOverlapping:-c,groupBorderColor:u}}),_w=S.forwardRef((e,t)=>{let{prefixCls:n,shape:r,size:i,src:a,srcSet:o,icon:s,className:c,rootClassName:l,style:u,alt:d,draggable:f,children:p,crossOrigin:m,gap:h=4,onError:g,..._}=e,[v,y]=S.useState(1),[b,x]=S.useState(!1),[C,w]=S.useState(!0),T=S.useRef(null),E=S.useRef(null),D=cr(t,T),{getPrefixCls:O,className:k,style:A}=ya(`avatar`),j=S.useContext(pw),M=()=>{if(!E.current||!T.current)return;let e=E.current.offsetWidth,t=T.current.offsetWidth;e!==0&&t!==0&&h*2{x(!0)},[]),S.useEffect(()=>{w(!0),y(1)},[a]),S.useEffect(M,[h]);let N=()=>{g?.()!==!1&&w(!1)},P=wh(e=>i??j?.size??e??`medium`),F=fw(Object.keys(nf(P)&&P||{}).some(e=>ow.includes(e))),I=S.useMemo(()=>{if(!nf(P))return{};let e=P[ow.find(e=>F[e])];return e?{width:e,height:e,fontSize:e&&(s||p)?e/2:18}:{}},[F,P,s,p]),L=O(`avatar`,n),R=sp(L),[z,B]=gw(L,R),V=J({[`${L}-lg`]:P===`large`,[`${L}-sm`]:P===`small`}),H=S.isValidElement(a),U=J(L,V,k,`${L}-${r||j?.shape||`circle`}`,{[`${L}-image`]:H||a&&C,[`${L}-icon`]:!!s},B,R,c,l,z),W=ef(P)?{width:P,height:P,fontSize:s?P/2:18}:{},ee;if(typeof a==`string`&&C)ee=S.createElement(`img`,{src:a,draggable:f,srcSet:o,onError:N,alt:d,crossOrigin:m});else if(H)ee=a;else if(s)ee=s;else if(b||v!==1){let e=`scale(${v})`,t={msTransform:e,WebkitTransform:e,transform:e};ee=S.createElement(oa,{onResize:M},S.createElement(`span`,{className:`${L}-string`,ref:E,style:t},p))}else ee=S.createElement(`span`,{className:`${L}-string`,style:{opacity:0},ref:E},p);return S.createElement(`span`,{..._,style:{...W,...I,...A,...u},className:U,ref:D},ee)}),vw=e=>e?typeof e==`function`?e():e:null,yw=e=>{let{children:t,prefixCls:n,id:r,classNames:i,styles:a,className:o,style:s}=e;return S.createElement(`div`,{id:r,className:J(`${n}-container`,i?.container,o),style:{...a?.container,...s},role:`tooltip`},typeof t==`function`?t():t)},bw={shiftX:64,adjustY:1},xw={adjustX:1,shiftY:!0},Sw=[0,0],Cw={left:{points:[`cr`,`cl`],overflow:xw,offset:[-4,0],targetOffset:Sw},right:{points:[`cl`,`cr`],overflow:xw,offset:[4,0],targetOffset:Sw},top:{points:[`bc`,`tc`],overflow:bw,offset:[0,-4],targetOffset:Sw},bottom:{points:[`tc`,`bc`],overflow:bw,offset:[0,4],targetOffset:Sw},topLeft:{points:[`bl`,`tl`],overflow:bw,offset:[0,-4],targetOffset:Sw},leftTop:{points:[`tr`,`tl`],overflow:xw,offset:[-4,0],targetOffset:Sw},topRight:{points:[`br`,`tr`],overflow:bw,offset:[0,-4],targetOffset:Sw},rightTop:{points:[`tl`,`tr`],overflow:xw,offset:[4,0],targetOffset:Sw},bottomRight:{points:[`tr`,`br`],overflow:bw,offset:[0,4],targetOffset:Sw},rightBottom:{points:[`bl`,`br`],overflow:xw,offset:[4,0],targetOffset:Sw},bottomLeft:{points:[`tl`,`bl`],overflow:bw,offset:[0,4],targetOffset:Sw},leftBottom:{points:[`br`,`bl`],overflow:xw,offset:[-4,0],targetOffset:Sw}};function ww(){return ww=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{trigger:n=[`hover`],mouseEnterDelay:r=0,mouseLeaveDelay:i=.1,prefixCls:a=`rc-tooltip`,children:o,onVisibleChange:s,afterVisibleChange:c,motion:l,placement:u=`right`,align:d={},destroyOnHidden:f=!1,defaultVisible:p,getTooltipContainer:m,arrowContent:h,overlay:g,id:_,showArrow:v=!0,classNames:y,styles:b,...x}=e,C=Xn(_),w=(0,S.useRef)(null);(0,S.useImperativeHandle)(t,()=>w.current);let T={...x};`visible`in e&&(T.popupVisible=e.visible);let E=S.useMemo(()=>{if(!v)return!1;let e=v===!0?{}:v;return{...e,className:J(e.className,y?.arrow),style:{...e.style,...b?.arrow},content:e.content??h}},[v,y?.arrow,b?.arrow,h]);return S.createElement(om,ww({popupClassName:y?.root,prefixCls:a,popup:S.createElement(yw,{key:`content`,prefixCls:a,id:C,classNames:y,styles:b},g),action:n,builtinPlacements:Cw,popupPlacement:u,ref:w,popupAlign:d,getPopupContainer:m,onOpenChange:s,afterOpenChange:c,popupMotion:l,defaultPopupVisible:p,autoDestroy:f,mouseLeaveDelay:i,popupStyle:b?.root,mouseEnterDelay:r,arrow:E,uniqueContainerClassName:y?.uniqueContainer,uniqueContainerStyle:b?.uniqueContainer},T),({open:e})=>{let t=S.Children.only(o),n={"aria-describedby":g&&e?C:void 0};return S.cloneElement(t,n)})});function Ew(e){let{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,i=t/2,a=i,o=r*1/Math.sqrt(2),s=i-r*(1-1/Math.sqrt(2)),c=i-1/Math.sqrt(2)*n,l=r*(Math.sqrt(2)-1)+1/Math.sqrt(2)*n,u=2*i-c,d=l,f=2*i-o,p=s,m=2*i-0,h=a,g=i*Math.sqrt(2)+r*(Math.sqrt(2)-2),_=r*(Math.sqrt(2)-1),v=`polygon(${_}px 100%, 50% ${_}px, ${2*i-_}px 100%, ${_}px 100%)`;return{arrowShadowWidth:g,arrowPath:`path('M 0 ${a} A ${r} ${r} 0 0 0 ${o} ${s} L ${c} ${l} A ${n} ${n} 0 0 1 ${u} ${d} L ${f} ${p} A ${r} ${r} 0 0 0 ${m} ${h} Z')`,arrowPolygon:v}}var Dw=(e,t,n)=>{let{sizePopupArrow:r,arrowPolygon:i,arrowPath:a,arrowShadowWidth:o,borderRadiusXS:s,calc:c}=e;return{pointerEvents:`none`,width:r,height:r,overflow:`hidden`,"&::before":{position:`absolute`,bottom:0,insetInlineStart:0,width:r,height:c(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,a]},content:`""`},"&::after":{content:`""`,position:`absolute`,width:o,height:o,bottom:0,insetInline:0,margin:`auto`,borderRadius:{_skip_check_:!0,value:`0 0 ${Y(s)} 0`},transform:`translateY(50%) rotate(-135deg)`,boxShadow:n,zIndex:0,background:`transparent`}}};function Ow(e){let{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?8:r}}function kw(e,t){return e?t:{}}var Aw=(e,t,n)=>{let{componentCls:r,boxShadowPopoverArrow:i,arrowOffsetVertical:a,arrowOffsetHorizontal:o,antCls:s}=e,[c]=tu(s,`tooltip`),{arrowDistance:l=0,arrowPlacement:u={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:{[`${r}-arrow`]:[{position:`absolute`,zIndex:1,display:`block`,...Dw(e,t,i),"&:before":{background:t}}],...kw(!!u.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(`,`)]:{bottom:l,transform:`translateY(100%) rotate(180deg)`},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:`50%`},transform:`translateX(-50%) translateY(100%) rotate(180deg)`},"&-placement-topLeft":{[c(`arrow-offset-x`)]:o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-topRight":{[c(`arrow-offset-x`)]:`calc(100% - ${Y(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}}),...kw(!!u.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(`,`)]:{top:l,transform:`translateY(-100%)`},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:`50%`},transform:`translateX(-50%) translateY(-100%)`},"&-placement-bottomLeft":{[c(`arrow-offset-x`)]:o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-bottomRight":{[c(`arrow-offset-x`)]:`calc(100% - ${Y(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}}),...kw(!!u.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(`,`)]:{right:{_skip_check_:!0,value:l},transform:`translateX(100%) rotate(90deg)`},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:`50%`},transform:`translateY(-50%) translateX(100%) rotate(90deg)`},[`&-placement-leftTop > ${r}-arrow`]:{top:a},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:a}}),...kw(!!u.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(`,`)]:{left:{_skip_check_:!0,value:l},transform:`translateX(-100%) rotate(-90deg)`},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:`50%`},transform:`translateY(-50%) translateX(-100%) rotate(-90deg)`},[`&-placement-rightTop > ${r}-arrow`]:{top:a},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:a}})}}};function jw(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};let i=nf(r)?r:{},a={};switch(e){case`top`:case`bottom`:a.shiftX=t.arrowOffsetHorizontal*2+n,a.shiftY=!0,a.adjustY=!0;break;case`left`:case`right`:a.shiftY=t.arrowOffsetVertical*2+n,a.shiftX=!0,a.adjustX=!0;break}let o={...a,...i};return o.shiftX||(o.adjustX=!0),o.shiftY||(o.adjustY=!0),o}var Mw={left:{points:[`cr`,`cl`]},right:{points:[`cl`,`cr`]},top:{points:[`bc`,`tc`]},bottom:{points:[`tc`,`bc`]},topLeft:{points:[`bl`,`tl`]},leftTop:{points:[`tr`,`tl`]},topRight:{points:[`br`,`tr`]},rightTop:{points:[`tl`,`tr`]},bottomRight:{points:[`tr`,`br`]},rightBottom:{points:[`bl`,`br`]},bottomLeft:{points:[`tl`,`bl`]},leftBottom:{points:[`br`,`bl`]}},Nw={topLeft:{points:[`bl`,`tc`]},leftTop:{points:[`tr`,`cl`]},topRight:{points:[`br`,`tc`]},rightTop:{points:[`tl`,`cr`]},bottomRight:{points:[`tr`,`bc`]},rightBottom:{points:[`bl`,`cr`]},bottomLeft:{points:[`tl`,`bc`]},leftBottom:{points:[`br`,`cl`]}},Pw=new Set([`topLeft`,`topRight`,`bottomLeft`,`bottomRight`,`leftTop`,`leftBottom`,`rightTop`,`rightBottom`]);function Fw(e){let{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:i,borderRadius:a,visibleFirst:o}=e,s=t/2,c={},l=Ow({contentRadius:a,limitVerticalRadius:!0});return Object.keys(Mw).forEach(e=>{let a={...r&&Nw[e]||Mw[e],offset:[0,0],dynamicInset:!0};switch(c[e]=a,Pw.has(e)&&(a.autoArrow=!1),e){case`top`:case`topLeft`:case`topRight`:a.offset[1]=-s-i;break;case`bottom`:case`bottomLeft`:case`bottomRight`:a.offset[1]=s+i;break;case`left`:case`leftTop`:case`leftBottom`:a.offset[0]=-s-i;break;case`right`:case`rightTop`:case`rightBottom`:a.offset[0]=s+i;break}if(r)switch(e){case`topLeft`:case`bottomLeft`:a.offset[0]=-l.arrowOffsetHorizontal-s;break;case`topRight`:case`bottomRight`:a.offset[0]=l.arrowOffsetHorizontal+s;break;case`leftTop`:case`rightTop`:a.offset[1]=-l.arrowOffsetHorizontal*2+s;break;case`leftBottom`:case`rightBottom`:a.offset[1]=l.arrowOffsetHorizontal*2-s;break}a.overflow=jw(e,l,t,n),o&&(a.htmlRegion=`visibleFirst`)}),c}var Iw=S.createContext(!1),Lw=(e,t)=>{let n=e=>typeof e==`boolean`?{show:e}:e||{};return S.useMemo(()=>{let r=n(e),i=n(t);return{...i,...r,show:r.show??i.show??!0}},[e,t])},Rw=`50%`,zw=e=>{let{calc:t,componentCls:n,tooltipMaxWidth:r,tooltipColor:i,tooltipBg:a,tooltipBorderRadius:o,zIndexPopup:s,controlHeight:c,boxShadowSecondary:l,paddingSM:u,paddingXS:d,arrowOffsetHorizontal:f,sizePopupArrow:p,antCls:m}=e,[h,g]=tu(m,`tooltip`),_=t(o).add(p).add(f).equal(),v={minWidth:t(o).mul(2).add(p).equal(),minHeight:c,padding:`${Y(e.calc(u).div(2).equal())} ${Y(d)}`,color:g(`overlay-color`,i),textAlign:`start`,textDecoration:`none`,wordWrap:`break-word`,backgroundColor:a,borderRadius:o,boxShadow:l,boxSizing:`border-box`},y={[h(`valid-offset-x`)]:g(`arrow-offset-x`,`var(--arrow-x)`),transformOrigin:[g(`valid-offset-x`,Rw),`var(--arrow-y, ${Rw})`].join(` `)};return[{[n]:{...Ul(e),position:`absolute`,zIndex:s,display:`block`,width:`max-content`,maxWidth:r,visibility:`visible`,...y,"&-hidden":{display:`none`},[h(`arrow-background-color`)]:a,[`${n}-container`]:[v,Yh(e,!0)],[`&:has(~ ${n}-unique-container)`]:{[`${n}-container`]:{border:`none`,background:`transparent`,boxShadow:`none`}},[[`&-placement-topLeft`,`&-placement-topRight`,`&-placement-bottomLeft`,`&-placement-bottomRight`].join(`,`)]:{minWidth:_},[[`&-placement-left`,`&-placement-leftTop`,`&-placement-leftBottom`,`&-placement-right`,`&-placement-rightTop`,`&-placement-rightBottom`].join(`,`)]:{[`${n}-inner`]:{borderRadius:e.min(o,8)}},[`${n}-content`]:{position:`relative`},...nu(e,(e,{darkColor:t})=>({[`&${n}-${e}`]:{[`${n}-container`]:{backgroundColor:t},[`${n}-arrow`]:{[h(`arrow-background-color`)]:t}}})),"&-rtl":{direction:`rtl`}}},Aw(e,g(`arrow-background-color`)),{[`${n}-pure`]:{position:`relative`,maxWidth:`none`,margin:e.sizePopupArrow}},{[`${n}-unique-container`]:{...v,...y,position:`absolute`,zIndex:t(s).sub(1).equal(),"&-hidden":{display:`none`},"&-visible":{transition:`all ${e.motionDurationSlow}`}}}]},Bw=e=>({zIndexPopup:e.zIndexPopupBase+70,maxWidth:250,...Ow({contentRadius:e.borderRadius,limitVerticalRadius:!0}),...Ew(dc(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))}),Vw=(e,t,n=!0)=>Ql(`Tooltip`,e=>{let{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:r,maxWidth:i}=e;return[zw(dc(e,{tooltipMaxWidth:i,tooltipColor:n,tooltipBorderRadius:t,tooltipBg:r})),Og(e,`zoom-big-fast`)]},Bw,{resetStyle:!1,injectStyle:n})(e,t),Hw=Sc.map(e=>`${e}-inverse`),Uw=[`success`,`processing`,`error`,`default`,`warning`];function Ww(e,t=!0){return t?[].concat(pa(Hw),pa(Sc)).includes(e):Sc.includes(e)}function Gw(e){return Uw.includes(e)}var Kw=(e,t,n)=>{let r=Ww(n),[i]=tu(e,`tooltip`),a=J({[`${t}-${n}`]:n&&r}),o={},s={},c=cee(n).toRgb(),l=(.299*c.r+.587*c.g+.114*c.b)/255<.5?`#FFF`:`#000`;return n&&!r&&(o.background=n,o[i(`overlay-color`)]=l,s[i(`arrow-background-color`)]=n),{className:a,overlayStyle:o,arrowStyle:s}},qw=e=>{let{prefixCls:t,className:n,placement:r=`top`,title:i,color:a,overlayInnerStyle:o,classNames:s,styles:c}=e,{getPrefixCls:l}=S.useContext(ga),u=l(`tooltip`,t),d=l(),f=sp(u),[p,m]=Vw(u,f),h=Kw(d,u,a),g=h.arrowStyle,_=S.useMemo(()=>({container:{...o,...h.overlayStyle}}),[o,h.overlayStyle]),v={...e,placement:r},[y,b]=Cf([s],[_,c],{props:v}),x=J(f,p,m,u,`${u}-pure`,`${u}-placement-${r}`,n,h.className);return S.createElement(`div`,{className:x,style:g},S.createElement(`div`,{className:`${u}-arrow`}),S.createElement(yw,{...e,className:p,prefixCls:u,classNames:y,styles:b},i))},Jw=S.forwardRef((e,t)=>{let{prefixCls:n,openClassName:r,getTooltipContainer:i,color:a,children:o,afterOpenChange:s,arrow:c,destroyTooltipOnHide:l,destroyOnHidden:u,title:d,overlay:f,trigger:p,builtinPlacements:m,autoAdjustOverflow:h=!0,motion:g,getPopupContainer:_,placement:v=`top`,mouseEnterDelay:y=.1,mouseLeaveDelay:b=.1,rootClassName:x,styles:C,classNames:w,onOpenChange:T,overlayInnerStyle:E,overlayStyle:D,overlayClassName:O,...k}=e,[,A]=Vl(),j=e[`data-popover-inject`],{getPopupContainer:M,getPrefixCls:N,direction:P,...F}=ya(`tooltip`),{className:I,style:L,classNames:R,styles:z,arrow:B,trigger:V}=j?{}:F,H=Lw(c,B),U=H.show,W=p||V||`hover`,ee=_||M,te=u??!!l,ne=S.useContext(Iw);Gi(`Tooltip`);let re=S.useRef(null),G=()=>{re.current?.forceAlign()};S.useImperativeHandle(t,()=>({forceAlign:G,nativeElement:re.current?.nativeElement,popupElement:re.current?.popupElement}));let[ie,K]=Gn(e.defaultOpen??!1,e.open),ae=!d&&!f&&d!==0,q=e=>{K(ae?!1:e),!ae&&T&&T(e)},oe=S.useMemo(()=>m||Fw({arrowPointAtCenter:H?.pointAtCenter??!1,autoAdjustOverflow:h,arrowWidth:U?A.sizePopupArrow:0,borderRadius:A.borderRadius,offset:A.marginXXS,visibleFirst:!0}),[H,m,A,U,h]),se=S.useMemo(()=>d===0?d:f||d||``,[f,d]),ce=S.createElement(wy,{space:!0,form:!0},typeof se==`function`?se():se),le={...e,trigger:W,builtinPlacements:oe,getPopupContainer:ee,destroyOnHidden:te},[ue,de]=Cf([R,w],[z,C],{props:le}),fe=N(`tooltip`,n),pe=N(),me=ie;(!(`open`in e)&&ae||ne)&&(me=!1);let he=S.isValidElement(o)&&!sm(o)?o:S.createElement(`span`,null,o),ge=he.props,_e=!ge.className||typeof ge.className==`string`?J(ge.className,r||`${fe}-open`):ge.className,ve=sp(fe),[ye,be]=Vw(fe,ve,!j),xe=Kw(pe,fe,a),Se=xe.arrowStyle,Ce=J(ve,ye,be),we=J(O,{[`${fe}-rtl`]:P===`rtl`},xe.className,x,Ce,I,ue.root),[Te,Ee]=Lf(`Tooltip`,k.zIndex),De={...de.container,...E,...xe.overlayStyle},Oe=S.createElement(Tw,{unique:!0,...k,zIndex:Te,showArrow:U,placement:v,mouseEnterDelay:y,mouseLeaveDelay:b,prefixCls:fe,classNames:{root:we,container:ue.container,arrow:ue.arrow,uniqueContainer:J(Ce,ue.container)},styles:{root:{...Se,...de.root,...L,...D},container:De,uniqueContainer:De,arrow:de.arrow},ref:re,overlay:ce,visible:me,onVisibleChange:q,afterVisibleChange:s,arrowContent:S.createElement(`span`,{className:`${fe}-arrow-content`}),motion:{motionName:mh(pe,`zoom-big-fast`,typeof g?.motionName==`string`?g?.motionName:void 0),motionDeadline:1e3},trigger:W,builtinPlacements:oe,getTooltipContainer:ee,destroyOnHidden:te},me?lm(he,{className:_e}):he);return S.createElement(jf.Provider,{value:Ee},Oe)});Jw._InternalPanelDoNotUseOrYouWillBeFired=qw,Jw.UniqueProvider=pm;var Yw=`50%`,Xw=e=>{let{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:i,innerPadding:a,boxShadowSecondary:o,colorTextHeading:s,borderRadiusLG:c,zIndexPopup:l,titleMarginBottom:u,colorBgElevated:d,popoverBg:f,titleBorderBottom:p,innerContentPadding:m,titlePadding:h,antCls:g}=e,[_,v]=tu(g,`tooltip`);return[{[t]:{...Ul(e),position:`absolute`,top:0,left:{_skip_check_:!0,value:0},zIndex:l,fontWeight:`normal`,whiteSpace:`normal`,textAlign:`start`,cursor:`auto`,userSelect:`text`,[_(`valid-offset-x`)]:v(`arrow-offset-x`,`var(--arrow-x)`),transformOrigin:[v(`valid-offset-x`,Yw),`var(--arrow-y, ${Yw})`].join(` `),[_(`arrow-background-color`)]:d,width:`max-content`,maxWidth:`100vw`,"&-rtl":{direction:`rtl`},"&-hidden":{display:`none`},[`${t}-content`]:{position:`relative`},[`${t}-container`]:{backgroundColor:f,backgroundClip:`padding-box`,borderRadius:c,boxShadow:o,padding:a},[`${t}-title`]:{minWidth:r,marginBottom:u,color:s,fontWeight:i,borderBottom:p,padding:h},[`${t}-content`]:{color:n,padding:m}}},Aw(e,v(`arrow-background-color`)),{[`${t}-pure`]:{position:`relative`,maxWidth:`none`,margin:e.sizePopupArrow,display:`inline-block`}}]},Zw=e=>{let{componentCls:t,antCls:n}=e,[r]=tu(n,`tooltip`);return{[t]:Sc.map(n=>{let i=e[`${n}6`];return{[`&${t}-${n}`]:{[r(`arrow-background-color`)]:i,[`${t}-inner`]:{backgroundColor:i},[`${t}-arrow`]:{background:`transparent`}}}})}},Qw=Ql(`Popover`,e=>{let{colorBgElevated:t,colorText:n}=e,r=dc(e,{popoverBg:t,popoverColor:n});return[Xw(r),Zw(r),Og(r,`zoom-big`)]},e=>{let{lineWidth:t,controlHeight:n,fontHeight:r,padding:i,wireframe:a,zIndexPopupBase:o,borderRadiusLG:s,marginXS:c,lineType:l,colorSplit:u,paddingSM:d}=e,f=n-r,p=f/2,m=f/2-t,h=i;return{titleMinWidth:177,zIndexPopup:o+30,...Ew(e),...Ow({contentRadius:s,limitVerticalRadius:!0}),innerPadding:a?0:12,titleMarginBottom:a?0:c,titlePadding:a?`${p}px ${h}px ${m}px`:0,titleBorderBottom:a?`${t}px ${l} ${u}`:`none`,innerContentPadding:a?`${d}px ${h}px`:0}},{resetStyle:!1,deprecatedTokens:[[`width`,`titleMinWidth`],[`minWidth`,`titleMinWidth`]]}),$w=e=>{let{title:t,content:n,prefixCls:r,classNames:i,styles:a}=e;return!t&&!n?null:S.createElement(S.Fragment,null,t&&S.createElement(`div`,{className:J(`${r}-title`,i?.title),style:a?.title},t),n&&S.createElement(`div`,{className:J(`${r}-content`,i?.content),style:a?.content},n))},eT=e=>{let{hashId:t,prefixCls:n,className:r,style:i,placement:a=`top`,title:o,content:s,children:c,classNames:l,styles:u}=e,d=vw(o),f=vw(s),p={...e,placement:a},[m,h]=Cf([l],[u],{props:p}),g=J(t,n,`${n}-pure`,`${n}-placement-${a}`,r);return S.createElement(`div`,{className:g,style:i},S.createElement(`div`,{className:`${n}-arrow`}),S.createElement(yw,{...e,className:t,prefixCls:n,classNames:m,styles:h},c||S.createElement($w,{prefixCls:n,title:d,content:f,classNames:m,styles:h})))},tT=e=>{let{prefixCls:t,className:n,...r}=e,{getPrefixCls:i}=S.useContext(ga),a=i(`popover`,t),[o,s]=Qw(a);return S.createElement(eT,{...r,prefixCls:a,hashId:o,className:J(n,s)})},nT=S.forwardRef((e,t)=>{let{prefixCls:n,title:r,content:i,overlayClassName:a,placement:o=`top`,trigger:s,children:c,mouseEnterDelay:l=.1,mouseLeaveDelay:u=.1,onOpenChange:d,overlayStyle:f={},styles:p,classNames:m,motion:h,arrow:g,..._}=e,{getPrefixCls:v,className:y,style:b,classNames:x,styles:C,arrow:w,trigger:T}=ya(`popover`),E=v(`popover`,n),[D,O]=Qw(E),k=v(),A=Lw(g,w),j=s||T||`hover`,M={...e,placement:o,trigger:j,mouseEnterDelay:l,mouseLeaveDelay:u,overlayStyle:f,styles:p,classNames:m},[N,P]=Cf([x,m],[C,p],{props:M}),F=J(a,D,O,y,N.root),[I,L]=Gn(e.defaultOpen??!1,e.open),R=e=>{L(e),d?.(e)},z=vw(r),B=vw(i);return S.createElement(Jw,{unique:!1,arrow:A,placement:o,trigger:j,mouseEnterDelay:l,mouseLeaveDelay:u,..._,prefixCls:E,classNames:{root:F,container:N.container,arrow:N.arrow},styles:{root:{...P.root,...b,...f},container:P.container,arrow:P.arrow},ref:t,open:I,onOpenChange:R,overlay:z||B?S.createElement($w,{prefixCls:E,title:z,content:B,classNames:N,styles:P}):null,motion:{motionName:mh(k,`zoom-big`,typeof h?.motionName==`string`?h?.motionName:void 0)},"data-popover-inject":!0},c)});nT._InternalPanelDoNotUseOrYouWillBeFired=tT;var rT=e=>{let{size:t,shape:n}=S.useContext(pw),r=S.useMemo(()=>({size:e.size||t,shape:e.shape||n}),[e.size,e.shape,t,n]);return S.createElement(pw.Provider,{value:r},e.children)},iT=e=>{let{getPrefixCls:t,direction:n}=S.useContext(ga),{prefixCls:r,className:i,rootClassName:a,style:o,maxCount:s,maxStyle:c,size:l,shape:u,maxPopoverPlacement:d,maxPopoverTrigger:f,children:p,max:m}=e,h=t(`avatar`,r),g=`${h}-group`,_=sp(h),[v,y]=gw(h,_),b=J(g,{[`${g}-rtl`]:n===`rtl`},y,_,i,a,v),x=ki(p).map((e,t)=>lm(e,{key:`avatar-key-${t}`})),C=m?.count||s,w=x.length;if(C&&C{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z`}}]},name:`left`,theme:`outlined`}}))());function sT(){return sT=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,sT({},e,{ref:t,icon:oT.default}))),{ESC:lT,TAB:uT}=Qr;function dT({visible:e,triggerRef:t,onVisibleChange:n,autoFocus:r,overlayRef:i}){let a=S.useRef(!1),o=()=>{e&&(t.current?.focus?.(),n?.(!1))},s=()=>i.current?.focus?(i.current.focus(),a.current=!0,!0):!1,c=e=>{switch(e.keyCode){case lT:o();break;case uT:{let t=!1;a.current||(t=s()),t?e.preventDefault():o();break}}};S.useEffect(()=>e?(window.addEventListener(`keydown`,c),r&&Oi(s,3),()=>{window.removeEventListener(`keydown`,c),a.current=!1}):()=>{a.current=!1},[e])}var fT=(0,S.forwardRef)((e,t)=>{let{overlay:n,arrow:r,prefixCls:i}=e,a=(0,S.useMemo)(()=>{let e;return e=typeof n==`function`?n():n,e},[n]),o=cr(t,pr(a));return S.createElement(S.Fragment,null,r&&S.createElement(`div`,{className:`${i}-arrow`}),S.cloneElement(a,{ref:ur(a)?o:void 0}))}),pT={adjustX:1,adjustY:1},mT=[0,0],hT={topLeft:{points:[`bl`,`tl`],overflow:pT,offset:[0,-4],targetOffset:mT},top:{points:[`bc`,`tc`],overflow:pT,offset:[0,-4],targetOffset:mT},topRight:{points:[`br`,`tr`],overflow:pT,offset:[0,-4],targetOffset:mT},bottomLeft:{points:[`tl`,`bl`],overflow:pT,offset:[0,4],targetOffset:mT},bottom:{points:[`tc`,`bc`],overflow:pT,offset:[0,4],targetOffset:mT},bottomRight:{points:[`tr`,`br`],overflow:pT,offset:[0,4],targetOffset:mT}};function gT(){return gT=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{arrow:n=!1,prefixCls:r=`rc-dropdown`,transitionName:i,animation:a,align:o,placement:s=`bottomLeft`,placements:c=hT,getPopupContainer:l,showAction:u,hideAction:d,overlayClassName:f,overlayStyle:p,visible:m,trigger:h=[`hover`],autoFocus:g,overlay:_,children:v,onVisibleChange:y,...b}=e,[x,C]=S.useState(),w=`visible`in e?m:x,T=a?`${r}-${a}`:i,E=S.useRef(null),D=S.useRef(null),O=S.useRef(null);S.useImperativeHandle(t,()=>E.current);let k=e=>{C(e),y?.(e)};dT({visible:w,triggerRef:O,onVisibleChange:k,autoFocus:g,overlayRef:D});let A=t=>{let{onOverlayClick:n}=e;C(!1),n&&n(t)},j=()=>S.createElement(fT,{ref:D,overlay:_,prefixCls:r,arrow:n}),M=()=>typeof _==`function`?j:j(),N=()=>{let{minOverlayWidthMatchTrigger:t,alignPoint:n}=e;return`minOverlayWidthMatchTrigger`in e?t:!n},P=S.cloneElement(v,{className:J(v.props?.className,w&&(()=>{let{openClassName:t}=e;return t===void 0?`${r}-open`:t})()),ref:ur(v)?cr(O,pr(v)):void 0}),F=d;return!F&&h.indexOf(`contextMenu`)!==-1&&(F=[`click`]),S.createElement(om,gT({builtinPlacements:c},b,{prefixCls:r,ref:E,popupClassName:J(f,{[`${r}-show-arrow`]:n}),popupStyle:p,action:h,showAction:u,hideAction:F,popupPlacement:s,popupAlign:o,popupMotion:{motionName:T},popupVisible:w,stretch:N()?`minWidth`:``,popup:M(),onOpenChange:k,onPopupClick:A,getPopupContainer:l}),P)}),vT=S.createContext(null);function yT(e,t){return`${e}-${t}`}function bT(e){return yT(S.useContext(vT),e)}var xT=S.createContext(null);function ST(e,t){let n={...e};return Object.keys(t).forEach(e=>{let r=t[e];r!==void 0&&(n[e]=r)}),n}function CT({children:e,locked:t,...n}){let r=S.useContext(xT),i=Zn(()=>ST(r,n),[r,n],(e,n)=>!t&&(e[0]!==n[0]||!fi(e[1],n[1],!0)));return S.createElement(xT.Provider,{value:i},e)}var wT=[],TT=S.createContext(null);function ET(){return S.useContext(TT)}var DT=S.createContext(wT);function OT(e){let t=S.useContext(DT);return S.useMemo(()=>e===void 0?t:[...t,e],[t,e])}var kT=S.createContext(null),AT=S.createContext({}),{LEFT:jT,RIGHT:MT,UP:NT,DOWN:PT,ENTER:FT,ESC:IT,HOME:LT,END:RT}=Qr,zT=[NT,PT,jT,MT];function BT(e,t,n,r){let i=`prev`,a=`next`,o=`children`,s=`parent`;if(e===`inline`&&r===FT)return{inlineTrigger:!0};let c={[NT]:i,[PT]:a},l={[jT]:n?a:i,[MT]:n?i:a,[PT]:o,[FT]:o},u={[NT]:i,[PT]:a,[FT]:o,[IT]:s,[jT]:n?o:s,[MT]:n?s:o};switch({inline:c,horizontal:l,vertical:u,inlineSub:c,horizontalSub:u,verticalSub:u}[`${e}${t?``:`Sub`}`]?.[r]){case i:return{offset:-1,sibling:!0};case a:return{offset:1,sibling:!0};case s:return{offset:-1,sibling:!1};case o:return{offset:1,sibling:!1};default:return null}}function VT(e){let t=e;for(;t;){if(t.getAttribute(`data-menu-list`))return t;t=t.parentElement}return null}function HT(e,t){let n=e||document.activeElement;for(;n;){if(t.has(n))return n;n=n.parentElement}return null}function UT(e,t){return Mr(e,!0).filter(e=>t.has(e))}function WT(e,t,n,r=1){if(!e)return null;let i=UT(e,t),a=i.length,o=i.findIndex(e=>n===e);return r<0?o===-1?o=a-1:--o:r>0&&(o+=1),o=(o+a)%a,i[o]}var GT=(e,t)=>{let n=new Set,r=new Map,i=new Map;return e.forEach(e=>{let a=document.querySelector(`[data-menu-id='${yT(t,e)}']`);a&&(n.add(a),i.set(a,e),r.set(e,a))}),{elements:n,key2element:r,element2key:i}};function KT(e,t,n,r,i,a,o,s,c,l){let u=S.useRef(),d=S.useRef();d.current=t;let f=()=>{Oi.cancel(u.current)};return S.useEffect(()=>()=>{f()},[]),p=>{let{which:m}=p;if([...zT,FT,IT,LT,RT].includes(m)){let l=a(),h=GT(l,r),{elements:g,key2element:_,element2key:v}=h,y=HT(_.get(t),g),b=v.get(y),x=BT(e,o(b,!0).length===1,n,m);if(!x&&m!==LT&&m!==RT)return;(zT.includes(m)||[LT,RT].includes(m))&&p.preventDefault();let S=e=>{if(e){let t=e,n=e.querySelector(`a`);n?.getAttribute(`href`)&&(t=n);let r=v.get(e);s(r),f(),u.current=Oi(()=>{d.current===r&&t.focus()})}};if([LT,RT].includes(m)||x.sibling||!y){let t;t=!y||e===`inline`?i.current:VT(y);let n,r=UT(t,g);n=m===LT?r[0]:m===RT?r[r.length-1]:WT(t,g,y,x.offset),S(n)}else if(x.inlineTrigger)c(b);else if(x.offset>0)c(b,!0),f(),u.current=Oi(()=>{h=GT(l,r);let e=y.getAttribute(`aria-controls`);S(WT(document.getElementById(e),h.elements))},5);else if(x.offset<0){let e=o(b,!0),t=e[e.length-2],n=_.get(t);c(t,!1),S(n)}}l?.(p)}}function qT(e){Promise.resolve().then(e)}var JT=`__RC_UTIL_PATH_SPLIT__`,YT=e=>e.join(JT),XT=e=>e.split(JT),ZT=`rc-menu-more`;function QT(){let[,e]=S.useState({}),t=(0,S.useRef)(new Map),n=(0,S.useRef)(new Map),[r,i]=S.useState([]),a=(0,S.useRef)(0),o=(0,S.useRef)(!1),s=()=>{o.current||e({})},c=(0,S.useCallback)((e,r)=>{let i=YT(r);n.current.set(i,e),t.current.set(e,i),a.current+=1;let o=a.current;qT(()=>{o===a.current&&s()})},[]),l=(0,S.useCallback)((e,r)=>{let i=YT(r);n.current.delete(i),t.current.delete(e)},[]),u=(0,S.useCallback)(e=>{i(e)},[]),d=(0,S.useCallback)((e,n)=>{let i=XT(t.current.get(e)||``);return n&&r.includes(i[0])&&i.unshift(ZT),i},[r]),f=(0,S.useCallback)((e,t)=>e.filter(e=>e!==void 0).some(e=>d(e,!0).includes(t)),[d]),p=()=>{let e=[...t.current.keys()];return r.length&&e.push(ZT),e},m=(0,S.useCallback)(e=>{let r=`${t.current.get(e)}${JT}`,i=new Set;return[...n.current.keys()].forEach(e=>{e.startsWith(r)&&i.add(n.current.get(e))}),i},[]);return S.useEffect(()=>()=>{o.current=!0},[]),{registerPath:c,unregisterPath:l,refreshOverflowKeys:u,isSubPathKey:f,getKeyPath:d,getKeys:p,getSubPathKeys:m}}function $T(e){let t=S.useRef(e);t.current=e;let n=S.useCallback((...e)=>t.current?.(...e),[]);return e?n:void 0}function eE(e,t,n,r){let{activeKey:i,onActive:a,onInactive:o}=S.useContext(xT),s={active:i===e};return t||(s.onMouseEnter=t=>{n?.({key:e,domEvent:t}),a(e)},s.onMouseLeave=t=>{r?.({key:e,domEvent:t}),o(e)}),s}function tE(e){let{mode:t,rtl:n,inlineIndent:r}=S.useContext(xT);if(t!==`inline`)return null;let i=e;return n?{paddingRight:i*r}:{paddingLeft:i*r}}function nE({icon:e,props:t,children:n}){let r;return e===null||e===!1?null:(typeof e==`function`?r=S.createElement(e,{...t}):typeof e!=`boolean`&&(r=e),r||n||null)}function rE({item:e,...t}){return Object.defineProperty(t,`item`,{get:()=>(ui(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),e)}),t}function iE(){return iE=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{style:n,className:r,eventKey:i,warnKey:a,disabled:o,itemIcon:s,children:c,role:l,onMouseEnter:u,onMouseLeave:d,onClick:f,onKeyDown:p,onFocus:m,...h}=e,g=bT(i),{prefixCls:_,onItemClick:v,disabled:y,overflowDisabled:b,itemIcon:x,selectedKeys:C,onActive:w}=S.useContext(xT),{_internalRenderMenuItem:T}=S.useContext(AT),E=`${_}-item`,D=S.useRef(),O=S.useRef(),k=y||o,A=lr(t,O),j=OT(i),M=e=>({key:i,keyPath:[...j].reverse(),item:D.current,domEvent:e}),N=s||x,{active:P,...F}=eE(i,k,u,d),I=C.includes(i),L=tE(j.length),R=e=>{if(k)return;let t=M(e);f?.(rE(t)),v(t)},z=e=>{if(p?.(e),e.which===Qr.ENTER){let t=M(e);f?.(rE(t)),v(t)}},B=e=>{w(i),m?.(e)},V={};e.role===`option`&&(V[`aria-selected`]=I);let H=S.createElement(aE,iE({ref:D,elementRef:A,role:l===null?`none`:l||`menuitem`,tabIndex:o?null:-1,"data-menu-id":b&&g?null:g},gi(h,[`extra`]),F,V,{component:`li`,"aria-disabled":o,style:{...L,...n},className:J(E,{[`${E}-active`]:P,[`${E}-selected`]:I,[`${E}-disabled`]:k},r),onClick:R,onKeyDown:z,onFocus:B}),c,S.createElement(nE,{props:{...e,isSelected:I},icon:N}));return T&&(H=T(H,e,{selected:I})),H});function sE(e,t){let{eventKey:n}=e,r=ET(),i=OT(n);return S.useEffect(()=>{if(r)return r.registerPath(n,i),()=>{r.unregisterPath(n,i)}},[i]),r?null:S.createElement(oE,iE({},e,{ref:t}))}var cE=S.forwardRef(sE);function lE(){return lE=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:i,mode:a,rtl:o}=S.useContext(xT);return S.createElement(`ul`,lE({className:J(i,o&&`${i}-rtl`,`${i}-sub`,`${i}-${a===`inline`?`inline`:`vertical`}`,e),role:`menu`},n,{"data-menu-list":!0,ref:r}),t)});function dE(e,t){return ki(e).map((e,n)=>{if(S.isValidElement(e)){let{key:r}=e,i=e.props?.eventKey??r;i??=`tmp_key-${[...t,n].join(`-`)}`;let a={key:i,eventKey:i};return S.cloneElement(e,a)}return e})}var fE={adjustX:1,adjustY:1},pE={topLeft:{points:[`bl`,`tl`],overflow:fE},topRight:{points:[`br`,`tr`],overflow:fE},bottomLeft:{points:[`tl`,`bl`],overflow:fE},bottomRight:{points:[`tr`,`br`],overflow:fE},leftTop:{points:[`tr`,`tl`],overflow:fE},leftBottom:{points:[`br`,`bl`],overflow:fE},rightTop:{points:[`tl`,`tr`],overflow:fE},rightBottom:{points:[`bl`,`br`],overflow:fE}},mE={topLeft:{points:[`bl`,`tl`],overflow:fE},topRight:{points:[`br`,`tr`],overflow:fE},bottomLeft:{points:[`tl`,`bl`],overflow:fE},bottomRight:{points:[`tr`,`br`],overflow:fE},rightTop:{points:[`tr`,`tl`],overflow:fE},rightBottom:{points:[`br`,`bl`],overflow:fE},leftTop:{points:[`tl`,`tr`],overflow:fE},leftBottom:{points:[`bl`,`br`],overflow:fE}};function hE(e,t,n){if(t)return t;if(n)return n[e]||n.other}var gE={horizontal:`bottomLeft`,vertical:`rightTop`,"vertical-left":`rightTop`,"vertical-right":`leftTop`};function _E({prefixCls:e,visible:t,children:n,popup:r,popupStyle:i,popupClassName:a,popupOffset:o,disabled:s,mode:c,onVisibleChange:l}){let{getPopupContainer:u,rtl:d,subMenuOpenDelay:f,subMenuCloseDelay:p,builtinPlacements:m,triggerSubMenuAction:h,forceSubMenuRender:g,rootClassName:_,motion:v,defaultMotions:y}=S.useContext(xT),[b,x]=S.useState(!1),C=d?{...mE,...m}:{...pE,...m},w=gE[c],T=hE(c,v,y),E=S.useRef(T);c!==`inline`&&(E.current=T);let D={...E.current,leavedClassName:`${e}-hidden`,removeOnLeave:!1,motionAppear:!0},O=S.useRef();return S.useEffect(()=>(O.current=Oi(()=>{x(t)}),()=>{Oi.cancel(O.current)}),[t]),S.createElement(om,{prefixCls:e,popupClassName:J(`${e}-popup`,{[`${e}-rtl`]:d},a,_),stretch:c===`horizontal`?`minWidth`:null,getPopupContainer:u,builtinPlacements:C,popupPlacement:w,popupVisible:b,popup:r,popupStyle:i,popupAlign:o&&{offset:o},action:s?[]:[h],mouseEnterDelay:f,mouseLeaveDelay:p,onPopupVisibleChange:l,forceRender:g,popupMotion:D,fresh:!0},n)}function vE(){return vE=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u.current&&f(!1)},[l]);let m={...hE(i,s,c)};n.length>1&&(m.motionAppear=!1);let h=m.onVisibleChanged;return m.onVisibleChanged=e=>(!u.current&&!e&&f(!0),h?.(e)),d?null:S.createElement(CT,{mode:i,locked:!u.current},S.createElement(Od,vE({visible:p},m,{forceRender:o,removeOnLeave:!1,leavedClassName:`${a}-hidden`}),({className:t,style:n})=>S.createElement(uE,{id:e,className:t,style:n},r)))}function bE(){return bE=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{style:n,className:r,styles:i,classNames:a,title:o,eventKey:s,warnKey:c,disabled:l,internalPopupClose:u,children:d,itemIcon:f,expandIcon:p,popupClassName:m,popupOffset:h,popupStyle:g,onClick:_,onMouseEnter:v,onMouseLeave:y,onTitleClick:b,onTitleMouseEnter:x,onTitleMouseLeave:C,popupRender:w,...T}=e,E=bT(s),{prefixCls:D,mode:O,openKeys:k,disabled:A,overflowDisabled:j,activeKey:M,selectedKeys:N,itemIcon:P,expandIcon:F,onItemClick:I,onOpenChange:L,onActive:R,popupRender:z}=S.useContext(xT),{_internalRenderSubMenuItem:B}=S.useContext(AT),{isSubPathKey:V}=S.useContext(kT),H=OT(),U=`${D}-submenu`,W=A||l,ee=S.useRef(),te=S.useRef(),ne=f??P,re=p??F,G=k.includes(s),ie=!j&&G,K=V(N,s),{active:ae,...q}=eE(s,W,x,C),[oe,se]=S.useState(!1),ce=e=>{W||se(e)},le=e=>{ce(!0),v?.({key:s,domEvent:e})},ue=e=>{ce(!1),y?.({key:s,domEvent:e})},de=S.useMemo(()=>ae||(O===`inline`?!1:oe||V([M],s)),[O,ae,M,oe,s,V]),fe=tE(H.length),pe=e=>{W||(b?.({key:s,domEvent:e}),O===`inline`&&L(s,!G))},me=$T(e=>{_?.(rE(e)),I(e)}),he=e=>{O!==`inline`&&L(s,e)},ge=()=>{R(s)},_e=E&&`${E}-popup`,ve=S.useMemo(()=>S.createElement(nE,{icon:O===`horizontal`?void 0:re,props:{...e,isOpen:ie,isSubMenu:!0}},S.createElement(`i`,{className:`${U}-arrow`})),[O,re,e,ie,U]),ye=S.createElement(`div`,bE({role:`menuitem`,style:fe,className:`${U}-title`,tabIndex:W?null:-1,ref:ee,title:typeof o==`string`?o:null,"data-menu-id":j&&E?null:E,"aria-expanded":ie,"aria-haspopup":!0,"aria-controls":_e,"aria-disabled":W,onClick:pe,onFocus:ge},q),o,ve),be=S.useRef(O);O!==`inline`&&H.length>1?be.current=`vertical`:be.current=O;let xe=be.current,Se=S.useMemo(()=>{let t=S.createElement(CT,{classNames:a,styles:i,mode:xe===`horizontal`?`vertical`:xe},S.createElement(uE,{id:_e,ref:te},d)),n=w||z;return n?n(t,{item:e,keys:H}):t},[w,z,H,_e,d,e,xe]);if(!j){let e=be.current;ye=S.createElement(_E,{mode:e,prefixCls:U,visible:!u&&ie&&O!==`inline`,popupClassName:m,popupOffset:h,popupStyle:g,popup:Se,disabled:W,onVisibleChange:he},ye)}let Ce=S.createElement(pS.Item,bE({ref:t,role:`none`},T,{component:`li`,style:n,className:J(U,`${U}-${O}`,r,{[`${U}-open`]:ie,[`${U}-active`]:de,[`${U}-selected`]:K,[`${U}-disabled`]:W}),onMouseEnter:le,onMouseLeave:ue}),ye,!j&&S.createElement(yE,{id:_e,open:ie,keyPath:H},d));return B&&(Ce=B(Ce,e,{selected:K,active:de,open:ie,disabled:W})),S.createElement(CT,{classNames:a,styles:i,onItemClick:me,mode:O===`horizontal`?`vertical`:O,itemIcon:ne,expandIcon:re},Ce)}),SE=S.forwardRef((e,t)=>{let{eventKey:n,children:r}=e,i=OT(n),a=dE(r,i),o=ET();S.useEffect(()=>{if(o)return o.registerPath(n,i),()=>{o.unregisterPath(n,i)}},[i]);let s;return s=o?a:S.createElement(xE,bE({ref:t},e),a),S.createElement(DT.Provider,{value:i},s)});function CE({className:e,style:t}){let{prefixCls:n}=S.useContext(xT);return ET()?null:S.createElement(`li`,{role:`separator`,className:J(`${n}-item-divider`,e),style:t})}function wE(){return wE=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:n,title:r,eventKey:i,children:a,...o}=e,{prefixCls:s,classNames:c,styles:l}=S.useContext(xT),u=`${s}-item-group`;return S.createElement(`li`,wE({ref:t,role:`presentation`},o,{onClick:e=>e.stopPropagation(),className:J(u,n)}),S.createElement(`div`,{role:`presentation`,className:J(`${u}-title`,c?.listTitle),style:l?.listTitle,title:typeof r==`string`?r:void 0},r),S.createElement(`ul`,{role:`group`,className:J(`${u}-list`,c?.list),style:l?.list},a))}),EE=S.forwardRef((e,t)=>{let{eventKey:n,children:r}=e,i=dE(r,OT(n));return ET()?i:S.createElement(TE,wE({ref:t},gi(e,[`warnKey`])),i)});function DE(){return DE=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(e&&typeof e==`object`){let{label:c,children:l,key:u,type:d,extra:f,...p}=e,m=u??`tmp-${s}`;return l||d===`group`?d===`group`?S.createElement(i,DE({key:m},p,{title:c}),OE(l,t,n)):S.createElement(a,DE({key:m},p,{title:c}),OE(l,t,n)):d===`divider`?S.createElement(o,DE({key:m},p)):S.createElement(r,DE({key:m},p,{extra:f}),c,(!!f||f===0)&&S.createElement(`span`,{className:`${n}-item-extra`},f))}return null}).filter(e=>e)}function kE(e,t,n,r,i){let a=e,o={divider:CE,item:cE,group:EE,submenu:SE,...r};return t&&(a=OE(t,o,i)),dE(a,n)}function AE(){return AE=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n=`rc-menu`,rootClassName:r,style:i,className:a,styles:o,classNames:s,tabIndex:c=0,items:l,children:u,direction:d,id:f,mode:p=`vertical`,inlineCollapsed:m,disabled:h,disabledOverflow:g,subMenuOpenDelay:_=.1,subMenuCloseDelay:v=.1,forceSubMenuRender:y,defaultOpenKeys:b,openKeys:x,activeKey:C,defaultActiveFirst:w,selectable:T=!0,multiple:E=!1,defaultSelectedKeys:D,selectedKeys:O,onSelect:k,onDeselect:A,inlineIndent:j=24,motion:M,defaultMotions:N,triggerSubMenuAction:P=`hover`,builtinPlacements:F,itemIcon:I,expandIcon:L,overflowedIndicator:R=`...`,overflowedIndicatorPopupClassName:z,getPopupContainer:B,onClick:V,onOpenChange:H,onKeyDown:U,openAnimation:W,openTransitionName:ee,_internalRenderMenuItem:te,_internalRenderSubMenuItem:ne,_internalComponents:re,popupRender:G,...ie}=e,[K,ae]=S.useMemo(()=>[kE(u,l,jE,re,n),kE(u,l,jE,{},n)],[u,l,re]),[q,oe]=S.useState(!1),se=S.useRef(),ce=Xn(f?`rc-menu-uuid-${f}`:`rc-menu-uuid`),le=d===`rtl`,[ue,de]=Gn(b,x),fe=ue||jE,pe=(e,t=!1)=>{function n(){de(e),H?.(e)}t?(0,Vi.flushSync)(n):n()},[me,he]=S.useState(fe),ge=S.useRef(!1),[_e,ve]=S.useMemo(()=>(p===`inline`||p===`vertical`)&&m?[`vertical`,m]:[p,!1],[p,m]),ye=_e===`inline`,[be,xe]=S.useState(_e),[Se,Ce]=S.useState(ve);S.useEffect(()=>{xe(_e),Ce(ve),ge.current&&(ye?de(me):pe(jE))},[_e,ve]);let[we,Te]=S.useState(0),Ee=we>=K.length-1||be!==`horizontal`||g;S.useEffect(()=>{ye&&he(fe)},[fe]),S.useEffect(()=>(ge.current=!0,()=>{ge.current=!1}),[]);let{registerPath:De,unregisterPath:Oe,refreshOverflowKeys:ke,isSubPathKey:Ae,getKeyPath:je,getKeys:Me,getSubPathKeys:Ne}=QT(),Pe=S.useMemo(()=>({registerPath:De,unregisterPath:Oe}),[De,Oe]),Fe=S.useMemo(()=>({isSubPathKey:Ae}),[Ae]);S.useEffect(()=>{ke(Ee?jE:K.slice(we+1).map(e=>e.key))},[we,Ee]);let[Ie,Le]=Gn(C||w&&K[0]?.key,C),Re=$T(e=>{Le(e)}),ze=$T(()=>{Le(void 0)});(0,S.useImperativeHandle)(t,()=>({list:se.current,focus:e=>{let t=Me(),{elements:n,key2element:r,element2key:i}=GT(t,ce),a=UT(se.current,n),o;o=Ie&&t.includes(Ie)?Ie:a[0]?i.get(a[0]):K.find(e=>!e.props.disabled)?.key;let s=r.get(o);o&&s&&s?.focus?.(e)},findItem:({key:e})=>{let{key2element:t}=GT(Me(),ce);return t.get(e)||null}}));let[Be,Ve]=Gn(D||[],O),He=S.useMemo(()=>Array.isArray(Be)?Be:Be==null?jE:[Be],[Be]),Ue=e=>{if(T){let{key:t}=e,n=He.includes(t),r;r=E?n?He.filter(e=>e!==t):[...He,t]:[t],Ve(r);let i={...e,selectedKeys:r};n?A?.(i):k?.(i)}!E&&fe.length&&be!==`inline`&&pe(jE)},We=$T(e=>{V?.(rE(e)),Ue(e)}),Ge=$T((e,t)=>{let n=fe.filter(t=>t!==e);if(t)n.push(e);else if(be!==`inline`){let t=Ne(e);n=n.filter(e=>!t.has(e))}fi(fe,n,!0)||pe(n,!0)}),Ke=KT(be,Ie,le,ce,se,Me,je,Le,(e,t)=>{Ge(e,t??!fe.includes(e))},U);S.useEffect(()=>{oe(!0)},[]);let qe=S.useMemo(()=>({_internalRenderMenuItem:te,_internalRenderSubMenuItem:ne}),[te,ne]),Je=be!==`horizontal`||g?K:K.map((e,t)=>S.createElement(CT,{key:e.key,overflowDisabled:t>we,classNames:s,styles:o},e)),Ye=S.createElement(pS,AE({id:f,ref:se,prefixCls:`${n}-overflow`,component:`ul`,itemComponent:cE,className:J(n,`${n}-root`,`${n}-${be}`,a,{[`${n}-inline-collapsed`]:Se,[`${n}-rtl`]:le},r),dir:d,style:i,role:`menu`,tabIndex:c,data:Je,renderRawItem:e=>e,renderRawRest:e=>{let t=e.length,n=t?K.slice(-t):null;return S.createElement(SE,{eventKey:ZT,title:R,disabled:Ee,internalPopupClose:t===0,popupClassName:z},n)},maxCount:be!==`horizontal`||g?pS.INVALIDATE:pS.RESPONSIVE,ssr:`full`,"data-menu-list":!0,onVisibleChange:e=>{Te(e)},onKeyDown:Ke},ie));return S.createElement(AT.Provider,{value:qe},S.createElement(vT.Provider,{value:ce},S.createElement(CT,{prefixCls:n,rootClassName:r,classNames:s,styles:o,mode:be,openKeys:fe,rtl:le,disabled:h,motion:q?M:null,defaultMotions:q?N:null,activeKey:Ie,onActive:Re,onInactive:ze,selectedKeys:He,inlineIndent:j,subMenuOpenDelay:_,subMenuCloseDelay:v,forceSubMenuRender:y,builtinPlacements:F,triggerSubMenuAction:P,getPopupContainer:B,itemIcon:I,expandIcon:L,onItemClick:We,onOpenChange:Ge,popupRender:G},S.createElement(kT.Provider,{value:Fe},Ye),S.createElement(`div`,{style:{display:`none`},"aria-hidden":!0},S.createElement(TT.Provider,{value:Pe},ae)))))});ME.Item=cE,ME.SubMenu=SE,ME.ItemGroup=EE,ME.Divider=CE;var NE=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`bars`,theme:`outlined`}}))());function PE(){return PE=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,PE({},e,{ref:t,icon:NE.default}))),IE=S.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}}),Nee=e=>{let{antCls:t,componentCls:n,colorText:r,footerBg:i,headerHeight:a,headerPadding:o,headerColor:s,footerPadding:c,fontSize:l,bodyBg:u,headerBg:d}=e;return{[n]:{display:`flex`,flex:`auto`,flexDirection:`column`,minHeight:0,background:u,"&, *":{boxSizing:`border-box`},[`&${n}-has-sider`]:{flexDirection:`row`,[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:`0 0 auto`},"&-rtl":{direction:`rtl`}},[`${n}-header`]:{height:a,padding:o,color:s,lineHeight:Y(a),background:d,[`${t}-menu`]:{lineHeight:`inherit`}},[`${n}-footer`]:{padding:c,color:r,fontSize:l,background:i},[`${n}-content`]:{flex:`auto`,color:r,minHeight:0}}},LE=e=>{let{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:i,controlHeightSM:a,marginXXS:o,colorTextLightSolid:s,colorBgContainer:c}=e,l=r*1.25;return{colorBgHeader:`#001529`,colorBgBody:t,colorBgTrigger:`#002140`,bodyBg:t,headerBg:`#001529`,headerHeight:n*2,headerPadding:`0 ${l}px`,headerColor:i,footerPadding:`${a}px ${l}px`,footerBg:t,siderBg:`#001529`,triggerHeight:r+o*2,triggerBg:`#002140`,triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:i}},RE=[[`colorBgBody`,`bodyBg`],[`colorBgHeader`,`headerBg`],[`colorBgTrigger`,`triggerBg`]],zE=Ql(`Layout`,Nee,LE,{deprecatedTokens:RE}),Pee=Ql([`Layout`,`Sider`],e=>{let{componentCls:t,siderBg:n,motionDurationMid:r,motionDurationSlow:i,antCls:a,triggerHeight:o,triggerColor:s,triggerBg:c,headerHeight:l,zeroTriggerWidth:u,zeroTriggerHeight:d,borderRadiusLG:f,lightSiderBg:p,lightTriggerColor:m,lightTriggerBg:h,bodyBg:g}=e;return{[t]:{position:`relative`,minWidth:0,background:n,transition:`all ${r}, background 0s`,"&-has-trigger":{paddingBottom:o},"&-right":{order:1},[`${t}-children`]:{height:`100%`,marginTop:-.1,paddingTop:.1,[`${a}-menu${a}-menu-inline-collapsed`]:{width:`auto`}},[`&-zero-width ${t}-children`]:{overflow:`hidden`},[`${t}-trigger`]:{position:`fixed`,bottom:0,zIndex:1,height:o,color:s,lineHeight:Y(o),textAlign:`center`,background:c,cursor:`pointer`,transition:`all ${r}`},[`${t}-zero-width-trigger`]:{position:`absolute`,top:l,insetInlineEnd:e.calc(u).mul(-1).equal(),zIndex:1,width:u,height:d,color:s,fontSize:e.fontSizeXL,display:`flex`,alignItems:`center`,justifyContent:`center`,background:n,borderRadius:`0 ${Y(f)} ${Y(f)} 0`,cursor:`pointer`,transition:`background-color ${i} ease`,"&::after":{position:`absolute`,inset:0,background:`transparent`,transition:`all ${i}`,content:`""`},"&:hover::after":{background:`rgba(255, 255, 255, 0.2)`},"&-right":{insetInlineStart:e.calc(u).mul(-1).equal(),borderRadius:`${Y(f)} 0 0 ${Y(f)}`}},"&-light":{background:p,[`${t}-trigger`]:{color:m,background:h},[`${t}-zero-width-trigger`]:{color:m,background:h,border:`1px solid ${g}`,borderInlineStart:0}}}}},LE,{deprecatedTokens:RE}),BE={xs:`479.98px`,sm:`575.98px`,md:`767.98px`,lg:`991.98px`,xl:`1199.98px`,xxl:`1599.98px`,xxxl:`1839.98px`},Fee=e=>!Number.isNaN(Number.parseFloat(e))&&Number.isFinite(Number(e)),VE=S.createContext({}),Iee=(()=>{let e=0;return(t=``)=>(e+=1,`${t}${e}`)})(),HE=S.forwardRef((e,t)=>{let{prefixCls:n,className:r,trigger:i,children:a,defaultCollapsed:o=!1,theme:s=`dark`,style:c={},collapsible:l=!1,reverseArrow:u=!1,width:d=200,collapsedWidth:f=80,zeroWidthTriggerStyle:p,breakpoint:m,onCollapse:h,onBreakpoint:g,..._}=e,{siderHook:v}=(0,S.useContext)(IE),[y,b]=(0,S.useState)(`collapsed`in e?e.collapsed:o),[x,C]=(0,S.useState)(!1);(0,S.useEffect)(()=>{`collapsed`in e&&b(e.collapsed)},[e.collapsed]);let w=(t,n)=>{`collapsed`in e||b(t),h?.(t,n)},{getPrefixCls:T,direction:E}=(0,S.useContext)(ga),D=T(`layout-sider`,n),[O,k]=Pee(D),A=(0,S.useRef)(null);A.current=e=>{C(e.matches),g?.(e.matches),y!==e.matches&&w(e.matches,`responsive`)},(0,S.useEffect)(()=>{function e(e){return A.current?.(e)}let t;return window?.matchMedia!==void 0&&m&&m in BE&&(t=window.matchMedia(`screen and (max-width: ${BE[m]})`),typeof t?.addEventListener==`function`&&t.addEventListener(`change`,e),e(t)),()=>{typeof t?.removeEventListener==`function`&&t.removeEventListener(`change`,e)}},[m]),(0,S.useEffect)(()=>{let e=Iee(`ant-sider-`);return v.addSider(e),()=>v.removeSider(e)},[]);let j=()=>{w(!y,`clickTrigger`)},M=gi(_,[`collapsed`]),N=y?f:d,P=Fee(N)?`${N}px`:String(N),F=Number.parseFloat(String(f||0))===0?S.createElement(`span`,{onClick:j,className:J(`${D}-zero-width-trigger`,`${D}-zero-width-trigger-${u?`right`:`left`}`),style:p},i||S.createElement(FE,null)):null,I=E===`rtl`==!u,L={expanded:I?S.createElement(zg,null):S.createElement(cT,null),collapsed:I?S.createElement(cT,null):S.createElement(zg,null)}[y?`collapsed`:`expanded`],R=i===null?null:F||S.createElement(`div`,{className:`${D}-trigger`,onClick:j,style:{width:P}},i||L),z={...c,flex:`0 0 ${P}`,maxWidth:P,minWidth:P,width:P},B=J(D,`${D}-${s}`,{[`${D}-collapsed`]:!!y,[`${D}-has-trigger`]:l&&i!==null&&!F,[`${D}-below`]:!!x,[`${D}-zero-width`]:Number.parseFloat(P)===0},r,O,k),V=S.useMemo(()=>({siderCollapsed:y}),[y]);return S.createElement(VE.Provider,{value:V},S.createElement(`aside`,{className:B,...M,style:z,ref:t},S.createElement(`div`,{className:`${D}-children`},a),l||x&&F?R:null))}),Lee=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`ellipsis`,theme:`outlined`}}))());function UE(){return UE=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,UE({},e,{ref:t,icon:Lee.default}))),GE=(0,S.createContext)({prefixCls:``,firstLevel:!0,inlineCollapsed:!1,styles:null,classNames:null}),KE=e=>{let{prefixCls:t,className:n,dashed:r,...i}=e,{getPrefixCls:a}=S.useContext(ga),o=J({[`${a(`menu`,t)}-item-divider-dashed`]:!!r},n);return S.createElement(CE,{className:o,...i})},qE=e=>{let{className:t,children:n,icon:r,title:i,danger:a,extra:o}=e,{prefixCls:s,firstLevel:c,direction:l,disableMenuItemTitleTooltip:u,tooltip:d,inlineCollapsed:f,styles:p,classNames:m}=S.useContext(GE),h=e=>{let t=n?.[0],i=S.createElement(`span`,{className:J(`${s}-title-content`,c?m?.itemContent:m?.subMenu?.itemContent,{[`${s}-title-content-with-extra`]:!!o||o===0}),style:c?p?.itemContent:p?.subMenu?.itemContent},n);return(!r||S.isValidElement(n)&&n.type===`span`)&&n&&e&&c&&typeof t==`string`?S.createElement(`div`,{className:`${s}-inline-collapsed-noicon`},t.charAt(0)):i},{siderCollapsed:g}=S.useContext(VE),_=i;i===void 0?_=c?n:``:i===!1&&(_=``);let v=d===!1?void 0:d,y=v&&v.title!==void 0?v.title:_,b={...v??null,title:y};!g&&!f&&(b.title=null,b.open=!1);let x=ki(n).length,C=S.createElement(cE,{...gi(e,[`title`,`icon`,`danger`]),className:J(c?m?.item:m?.subMenu?.item,{[`${s}-item-danger`]:a,[`${s}-item-only-child`]:(r?x+1:x)===1},t),style:{...c?p?.item:p?.subMenu?.item,...e.style},title:typeof i==`string`?i:void 0},lm(r,e=>({className:J(`${s}-item-icon`,c?m?.itemIcon:m?.subMenu?.itemIcon,e.className),style:{...c?p?.itemIcon:p?.subMenu?.itemIcon,...e.style}})),h(f));if(!u&&d!==!1){let e=v&&v.placement?v.placement:l===`rtl`?`left`:`right`,t=`${s}-inline-collapsed-tooltip`,n=e=>({...e,root:J(t,e?.root)}),r=v&&typeof v.classNames==`function`?e=>n(v.classNames(e)):n(v?.classNames);C=S.createElement(Jw,{...b,placement:e,classNames:r},C)}return C},JE=S.createContext(null),YE=S.forwardRef((e,t)=>{let{children:n,...r}=e,i=S.useContext(JE),a=S.useMemo(()=>({...i,...r}),[i,r.prefixCls,r.mode,r.selectable,r.rootClassName]),o=fr(n),s=lr(t,o?pr(n):null);return S.createElement(JE.Provider,{value:a},S.createElement(wy,{space:!0},o?S.cloneElement(n,{ref:s}):n))}),Ree=e=>{let{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:i,lineWidth:a,lineType:o,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${Y(a)} ${o} ${i}`,boxShadow:`none`,"&::after":{display:`block`,clear:`both`,height:0,content:`"\\20"`},[`${t}-item, ${t}-submenu`]:{position:`relative`,display:`inline-block`,verticalAlign:`bottom`,paddingInline:s},[`> ${t}-item:hover, + `]:{animationName:lg},"&-hidden":{display:`none`},[r]:{...xC(e),cursor:`pointer`,transition:`background-color ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:`default`},"&-option":{display:`flex`,"&-content":{flex:`auto`,...Hl},"&-state":{flex:`none`,display:`flex`,alignItems:`center`},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:`not-allowed`},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":{...xC(e),color:e.colorTextDisabled}},[`${c}:has(+ ${c})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${c}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:`rtl`}}},hg(e,`slide-up`),hg(e,`slide-down`),ag(e,`move-up`),ag(e,`move-down`)]},CC=e=>{let{componentCls:t}=e;return{[`&${t}-customize`]:{border:0,padding:0,fontSize:`inherit`,lineHeight:`inherit`,[`${t}-placeholder`]:{display:`none`},[`${t}-content`]:{margin:0,padding:0,"&-value":{display:`none`}}}}},wC=4,TC=e=>{let{componentCls:t,calc:n,iconCls:r,paddingXS:i,paddingXXS:a,INTERNAL_FIXED_ITEM_MARGIN:o,lineWidth:s,colorIcon:c,colorIconHover:l,inputPaddingHorizontalBase:u,antCls:d}=e,[f,p]=tu(d,`select`);return{"&-multiple":{[f(`multi-item-background`)]:e.multipleItemBg,[f(`multi-item-border-color`)]:`transparent`,[f(`multi-item-border-radius`)]:e.borderRadiusSM,[f(`multi-item-height`)]:e.multipleItemHeight,[f(`multi-padding-base`)]:`calc((${p(`height`)} - ${p(`multi-item-height`)}) / 2)`,[f(`multi-padding-vertical`)]:`calc(${p(`multi-padding-base`)} - ${o} - ${s})`,[f(`multi-item-padding-horizontal`)]:`calc(${u} - ${p(`multi-padding-vertical`)} - ${s} * 2)`,paddingBlock:p(`multi-padding-vertical`),paddingInlineStart:`calc(${p(`multi-padding-base`)} - ${s})`,[`${t}-prefix`]:{marginInlineStart:p(`multi-item-padding-horizontal`)},[`${t}-prefix + ${t}-content`]:{[`${t}-placeholder`]:{insetInlineStart:0},[`${t}-content-item${t}-content-item-suffix`]:{marginInlineStart:0}},[`${t}-placeholder`]:{position:`absolute`,lineHeight:p(`line-height`),insetInlineStart:p(`multi-item-padding-horizontal`),width:`calc(100% - ${p(`multi-item-padding-horizontal`)})`,top:`50%`,transform:`translateY(-50%)`},[`${t}-content`]:{flexWrap:`wrap`,alignItems:`center`,lineHeight:1,"&-item-prefix":{height:p(`font-size`)},"&-item":{lineHeight:1,maxWidth:`calc(100% - ${wC}px)`},[`${t}-content-item-prefix + ${t}-content-item-suffix, + ${t}-content-item-suffix:first-child`]:{marginInlineStart:p(`multi-item-padding-horizontal`)},[`${t}-selection-item`]:{lineHeight:`calc(${p(`multi-item-height`)} - ${s} * 2)`,border:`${s} solid ${p(`multi-item-border-color`)}`,display:`flex`,marginBlock:o,marginInlineEnd:n(o).mul(2).equal(),background:p(`multi-item-background`),borderRadius:p(`multi-item-border-radius`),paddingInlineStart:i,paddingInlineEnd:a,transition:[`height`,`line-height`,`padding`].map(t=>`${t} ${e.motionDurationSlow}`).join(`,`),"&-content":{...Hl,marginInlineEnd:a},"&-remove":{...Wl(),display:`inline-flex`,alignItems:`center`,color:c,fontWeight:`bold`,fontSize:10,lineHeight:`inherit`,cursor:`pointer`,[`> ${r}`]:{verticalAlign:`-0.2em`},"&:hover":{color:l}}},[`${t}-input`]:{lineHeight:n(o).mul(2).add(p(`multi-item-height`)).equal(),width:`calc(var(--select-input-width, 0) * 1px)`,minWidth:wC,maxWidth:`100%`,transition:`line-height ${e.motionDurationSlow}`}},[`&${t}-sm`]:{[f(`multi-item-height`)]:e.multipleItemHeightSM,[f(`multi-item-border-radius`)]:e.borderRadiusXS},[`&${t}-lg`]:{[f(`multi-item-height`)]:e.multipleItemHeightLG,[f(`multi-item-border-radius`)]:e.borderRadius},[`&${t}-filled`]:{[f(`multi-item-border-color`)]:e.colorSplit,[f(`multi-item-background`)]:e.colorBgContainer,[`&${t}-disabled`]:{[f(`multi-item-border-color`)]:`transparent`}}}}},EC=(e,t)=>{let{componentCls:n,antCls:r}=e,[i]=tu(r,`select`),{border:a,borderHover:o,borderActive:s,borderOutline:c}=t,l=t.background||e.selectorBg||e.colorBgContainer;return{[i(`border-color`)]:a,[i(`background-color`)]:l,[i(`color`)]:t.color||e.colorText,[`&:not(${n}-disabled)`]:{"&:hover":{[i(`border-color`)]:o,[i(`background-color`)]:t.backgroundHover||l},[`&${n}-focused`]:{[i(`border-color`)]:s,[i(`background-color`)]:t.backgroundActive||l,boxShadow:`0 0 0 ${Y(e.controlOutlineWidth)} ${c}`}},[`&${n}-disabled`]:{[i(`border-color`)]:t.borderDisabled||t.border,[i(`background-color`)]:t.backgroundDisabled||t.background}}},DC=(e,t,n,r={},i={},a)=>{let{componentCls:o}=e;return{[`&${o}-${t}`]:[EC(e,n),{[`&${o}-status-error`]:EC(e,{...n,color:r.color||e.colorError,...r}),[`&${o}-status-warning`]:EC(e,{...n,color:i.color||e.colorWarning,...i})},a]}},OC=e=>{let{componentCls:t,fontHeight:n,controlHeight:r,iconCls:i,antCls:a,calc:o}=e,[s,c]=tu(a,`select`);return{[t]:[{[s(`border-radius`)]:e.borderRadius,[s(`border-color`)]:`#000`,[s(`border-size`)]:e.lineWidth,[s(`background-color`)]:e.colorBgContainer,[s(`font-size`)]:e.fontSize,[s(`line-height`)]:e.lineHeight,[s(`font-height`)]:n,[s(`color`)]:e.colorText,[s(`height`)]:r,[s(`padding-horizontal`)]:o(e.paddingSM).sub(e.lineWidth).equal(),[s(`padding-vertical`)]:`calc((${c(`height`)} - ${c(`font-height`)}) / 2 - ${c(`border-size`)})`,...Ul(e,!0),display:`inline-flex`,flexWrap:`nowrap`,position:`relative`,transition:`all ${e.motionDurationSlow}`,alignItems:`flex-start`,outline:0,cursor:`pointer`,borderRadius:c(`border-radius`),borderWidth:c(`border-size`),borderStyle:e.lineType,borderColor:c(`border-color`),background:c(`background-color`),fontSize:c(`font-size`),lineHeight:c(`line-height`),color:c(`color`),paddingInline:c(`padding-horizontal`),paddingBlock:c(`padding-vertical`),[`${t}-prefix`]:{flex:`none`,lineHeight:1},[`${t}-placeholder`]:{...Hl,color:e.colorTextPlaceholder,pointerEvents:`none`,zIndex:1},[`${t}-content`]:{flex:`auto`,minWidth:0,position:`relative`,display:`flex`,marginInlineEnd:o(e.paddingXXS).mul(1.5).equal(),"&:before":{content:`"\\a0"`,width:0,overflow:`hidden`},"&-value":{visibility:`inherit`},"input[readonly]":{cursor:`inherit`,caretColor:`transparent`}},[`${t}-suffix`]:{flex:`none`,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,"> :not(:last-child)":{marginInlineEnd:e.marginXS}},[`${t}-prefix, ${t}-suffix`]:{alignSelf:`center`,[i]:{verticalAlign:`top`}},"&-disabled":{background:e.colorBgContainerDisabled,color:e.colorTextDisabled,cursor:`not-allowed`,input:{cursor:`not-allowed`}},"&-sm":{[s(`height`)]:e.controlHeightSM,[s(`padding-horizontal`)]:o(e.paddingXS).sub(e.lineWidth).equal(),[s(`border-radius`)]:e.borderRadiusSM,[`${t}-clear`]:{insetInlineEnd:c(`padding-horizontal`)}},"&-lg":{[s(`height`)]:e.controlHeightLG,[s(`font-size`)]:e.fontSizeLG,[s(`line-height`)]:e.lineHeightLG,[s(`font-height`)]:e.fontHeightLG,[s(`border-radius`)]:e.borderRadiusLG}},{[`&:not(${t}-customize)`]:{[`${t}-input`]:{outline:`none`,background:`transparent`,appearance:`none`,border:0,margin:0,padding:0,color:c(`color`),"&::-webkit-search-cancel-button":{display:`none`,appearance:`none`}}}},{[`&-single:not(${t}-customize)`]:{[`${t}-input`]:{position:`absolute`,inset:0,lineHeight:`calc(${c(`font-height`)} + ${c(`padding-vertical`)} * 2)`},[`${t}-content`]:{...Hl,alignSelf:`center`,"&-has-value":{display:`block`,"&:before":{display:`none`}},"&-has-search-value":{color:`transparent`},"&-value":{transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,zIndex:1}},[`&${t}-open ${t}-content`]:{color:e.colorTextPlaceholder,"&-has-search-value":{color:`transparent`}}}},{[`&-show-search:not(${t}-customize-input):not(${t}-disabled)`]:{cursor:`text`}},TC(e),DC(e,`outlined`,{border:e.colorBorder,borderHover:e.hoverBorderColor,borderActive:e.activeBorderColor,borderOutline:e.activeOutlineColor,borderDisabled:e.colorBorderDisabled},{border:e.colorError,borderHover:e.colorErrorHover,borderActive:e.colorError,borderOutline:e.colorErrorOutline},{border:e.colorWarning,borderHover:e.colorWarningHover,borderActive:e.colorWarning,borderOutline:e.colorWarningOutline}),DC(e,`filled`,{border:`transparent`,borderHover:`transparent`,borderActive:e.activeBorderColor,borderOutline:`transparent`,borderDisabled:e.colorBorderDisabled,background:e.colorFillTertiary,backgroundHover:e.colorFillSecondary,backgroundActive:e.colorBgContainer},{background:e.colorErrorBg,backgroundHover:e.colorErrorBgHover,borderActive:e.colorError},{background:e.colorWarningBg,backgroundHover:e.colorWarningBgHover,borderActive:e.colorWarning}),DC(e,`borderless`,{border:`transparent`,borderHover:`transparent`,borderActive:`transparent`,borderOutline:`transparent`,background:`transparent`}),DC(e,`underlined`,{border:e.colorBorder,borderHover:e.hoverBorderColor,borderActive:e.activeBorderColor,borderOutline:`transparent`},{border:e.colorError,borderHover:e.colorErrorHover,borderActive:e.colorError},{border:e.colorWarning,borderHover:e.colorWarningHover,borderActive:e.colorWarning},{borderRadius:0,borderTopColor:`transparent`,borderInlineColor:`transparent`}),CC(e)]}},kC=e=>{let{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:i,controlHeightSM:a,controlHeightLG:o,paddingXXS:s,controlPaddingHorizontal:c,zIndexPopupBase:l,colorText:u,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:p,colorBgContainer:m,colorFillSecondary:h,colorBgContainerDisabled:g,colorTextDisabled:_,colorPrimaryHover:v,colorPrimary:y,controlOutline:b}=e,x=s*2,S=r*2,C=Math.min(i-x,i-S),w=Math.min(a-x,a-S),T=Math.min(o-x,o-S);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:l+50,optionSelectedColor:u,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:p,optionPadding:`${(i-t*n)/2}px ${c}px`,optionFontSize:t,optionLineHeight:n,optionHeight:i,selectorBg:m,clearBg:m,singleItemHeightLG:o,multipleItemBg:h,multipleItemBorderColor:`transparent`,multipleItemHeight:C,multipleItemHeightSM:w,multipleItemHeightLG:T,multipleSelectorBgDisabled:g,multipleItemColorDisabled:_,multipleItemBorderColorDisabled:`transparent`,showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25),hoverBorderColor:v,activeBorderColor:y,activeOutlineColor:b,selectAffixPadding:s}},AC=e=>{let{antCls:t,componentCls:n,motionDurationMid:r,inputPaddingHorizontalBase:i}=e,a={[`${n}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:`50%`}};return{[n]:{...Ul(e),[`${n}-selection-item`]:{flex:1,fontWeight:`normal`,position:`relative`,userSelect:`none`,...Hl,[`> ${t}-typography`]:{display:`inline`}},[`${n}-prefix`]:{flex:`none`,marginInlineEnd:e.selectAffixPadding},[`${n}-clear`]:{position:`absolute`,top:`50%`,insetInlineStart:`auto`,insetInlineEnd:i,zIndex:1,display:`inline-block`,width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:`normal`,lineHeight:1,textAlign:`center`,textTransform:`none`,cursor:`pointer`,opacity:0,transition:[`color`,`opacity`].map(e=>`${e} ${r} ease`).join(`, `),textRendering:`auto`,transform:`translateZ(0)`,"&:before":{display:`block`},"&:hover":{color:e.colorIcon}},"@media(hover:none)":a,"&:hover":a},[`${n}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(i).add(e.fontSize).add(e.paddingXS).equal()}}}}}},jC=e=>{let{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:`100%`}}},AC(e),SC(e),{[`${t}-rtl`]:{direction:`rtl`}},l_(e,{focusElCls:`${t}-focused`})]},MC=Ql(`Select`,(e,{rootPrefixCls:t})=>{let n=dc(e,{rootPrefixCls:t,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(e.lineWidth).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[jC(n),OC(n)]},kC,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}}),NC=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z`}}]},name:`check`,theme:`outlined`}}))());function PC(){return PC=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,PC({},e,{ref:t,icon:NC.default}))),IC=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z`}}]},name:`down`,theme:`outlined`}}))());function LC(){return LC=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,LC({},e,{ref:t,icon:IC.default}))),zC=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z`}}]},name:`search`,theme:`outlined`}}))());function BC(){return BC=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,BC({},e,{ref:t,icon:zC.default})));function HC({suffixIcon:e,clearIcon:t,menuItemSelectedIcon:n,removeIcon:r,loading:i,loadingIcon:a,multiple:o,hasFeedback:s,showSuffixIcon:c,feedbackIcon:l,showArrow:u,componentName:d}){let f=t??S.createElement(Ou,null),p=t=>e===null&&!s&&!u?null:S.createElement(S.Fragment,null,c!==!1&&t,s&&l),m=null;m=e===void 0?i?p(a??S.createElement(Xm,{spin:!0})):({open:e,showSearch:t})=>p(e&&t?S.createElement(VC,null):S.createElement(RC,null)):p(e);let h=null;h=n===void 0?o?S.createElement(FC,null):null:n;let g=null;return g=r===void 0?S.createElement(ju,null):r,{clearIcon:f,suffixIcon:m,itemIcon:h,removeIcon:g}}function UC(e){return S.useMemo(()=>{if(e)return(...t)=>S.createElement(Ay,{space:!0},e.apply(void 0,t))},[e])}function WC(e,t){return t===void 0?e!==null:t}var GC=`SECRET_COMBOBOX_MODE_DO_NOT_USE`,KC=S.forwardRef((e,t)=>{let{prefixCls:n,bordered:r,className:i,rootClassName:a,getPopupContainer:o,popupClassName:s,dropdownClassName:c,listHeight:l=256,placement:u,listItemHeight:d,size:f,disabled:p,notFoundContent:m,status:h,builtinPlacements:g,dropdownMatchSelectWidth:_,popupMatchSelectWidth:v,direction:y,style:b,allowClear:x,variant:C,popupStyle:w,dropdownStyle:T,transitionName:E,tagRender:D,maxCount:O,prefix:k,dropdownRender:A,popupRender:j,onDropdownVisibleChange:M,onOpenChange:N,styles:P,classNames:F,...I}=e,{getPopupContainer:L,getPrefixCls:R,renderEmpty:z,direction:B,virtual:V,popupMatchSelectWidth:H,popupOverflow:U}=S.useContext(ga),{showSearch:W,style:ee,styles:te,className:ne,classNames:re}=ya(`select`),[,G]=Vl(),ie=d??G?.controlHeight,K=R(`select`,n),ae=R(),q=y??B,{compactSize:oe,compactItemClassnames:se}=Ah(K,q),[ce,le]=vC(`select`,C,r),ue=sp(K),[de,fe]=MC(K,ue),pe=S.useMemo(()=>{let{mode:t}=e;if(t!==`combobox`)return t===GC?`combobox`:t},[e.mode]),me=pe===`multiple`||pe===`tags`,he=WC(e.suffixIcon,e.showArrow),ge=v??_??H,_e=UC(j||A),ve=N||M,{status:ye,hasFeedback:be,isFormItemInput:xe,feedbackIcon:Se}=S.useContext(Dy),Ce=lC(ye,h),we;we=m===void 0?pe===`combobox`?null:z?.(`Select`)||S.createElement(_C,{componentName:`Select`}):m;let{suffixIcon:Te,itemIcon:Ee,removeIcon:De,clearIcon:Oe}=HC({...I,multiple:me,hasFeedback:be,feedbackIcon:Se,showSuffixIcon:he,prefixCls:K,componentName:`Select`}),ke=x===!0?{clearIcon:Oe}:x,Ae=gi(I,[`suffixIcon`,`itemIcon`]),je=Oh(e=>f??oe??e),Me=S.useContext(hm),Ne=p??Me,Pe={...e,variant:ce,status:Ce,disabled:Ne,size:je},[Fe,Ie]=Cf([re,F],[te,P],{props:Pe},{popup:{_default:`root`}}),Le=J(Fe.popup?.root,s,c,{[`${K}-dropdown-${q}`]:q===`rtl`},a,fe,ue,de),Re={...Ie.popup?.root,...w??T},ze=J({[`${K}-lg`]:je===`large`,[`${K}-sm`]:je===`small`,[`${K}-rtl`]:q===`rtl`,[`${K}-${ce}`]:le,[`${K}-in-form-item`]:xe},cC(K,Ce,be),se,ne,i,Fe.root,a,fe,ue,de),Be=S.useMemo(()=>u===void 0?q===`rtl`?`bottomRight`:`bottomLeft`:u,[u,q]),[Ve]=Lf(`SelectLike`,Ie.popup?.root?.zIndex??Re?.zIndex);return S.createElement(sC,{ref:t,virtual:V,classNames:Fe,styles:Ie,showSearch:W,...Ae,style:{...Ie.root,...ee,...b},popupMatchSelectWidth:ge,transitionName:vh(ae,`slide-up`,E),builtinPlacements:bC(g,U),listHeight:l,listItemHeight:ie,mode:pe,prefixCls:K,placement:Be,direction:q,prefix:k,suffixIcon:Te,menuItemSelectedIcon:Ee,removeIcon:De,allowClear:ke,notFoundContent:we,className:ze,getPopupContainer:o||L,popupClassName:Le,disabled:Ne,popupStyle:{...Ie.popup?.root,...Re,zIndex:Ve},maxCount:me?O:void 0,tagRender:me?D:void 0,popupRender:_e,onPopupVisibleChange:ve})}),qC=lx(KC,`popupAlign`);KC.SECRET_COMBOBOX_MODE_DO_NOT_USE=GC,KC.Option=_S,KC.OptGroup=gS,KC._InternalPanelDoNotUseOrYouWillBeFired=qC;var JC=[`xxxl`,`xxl`,`xl`,`lg`,`md`,`sm`,`xs`],YC=[].concat(JC).reverse(),XC=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`,xxxl:`(min-width: ${e.screenXXXL}px)`}),ZC=e=>{let t=e,n=[].concat(JC).reverse();return n.forEach((e,r)=>{let i=e.toUpperCase(),a=`screen${i}Min`,o=`screen${i}`;if(!(t[a]<=t[o]))throw Error(`${a}<=${o} fails : !(${t[a]}<=${t[o]})`);if(r{if(t){for(let n of JC)if(e[n]&&t?.[n]!==void 0)return t[n]}},$C=()=>{let[,e]=Vl(),t=XC(ZC(e));return S.useMemo(()=>{let e=new Map,n=-1,r={};return{responsiveMap:t,matchHandlers:{},dispatch(t){return r=t,e.forEach(e=>{e(r)}),e.size>=1},subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},register(){Object.entries(t).forEach(([e,t])=>{let n=({matches:t})=>{this.dispatch({...r,[e]:t})},i=window.matchMedia(t);typeof i?.addEventListener==`function`&&i.addEventListener(`change`,n),this.matchHandlers[t]={mql:i,listener:n},n(i)})},unregister(){Object.values(t).forEach(e=>{let t=this.matchHandlers[e];typeof t?.mql?.removeEventListener==`function`&&t.mql.removeEventListener(`change`,t?.listener)}),e.clear()}}},[t])};function ew(e=!0,t={}){let n=(0,S.useRef)(t),[,r]=mf(),i=$C();return Hn(()=>{let t=i.subscribe(t=>{n.current=t,e&&r()});return()=>i.unsubscribe(t)},[]),n.current}var tw=S.createContext({}),nw=e=>{let{antCls:t,componentCls:n,iconCls:r,avatarBg:i,avatarColor:a,containerSize:o,containerSizeLG:s,containerSizeSM:c,textFontSize:l,textFontSizeLG:u,textFontSizeSM:d,iconFontSize:f,iconFontSizeLG:p,iconFontSizeSM:m,borderRadius:h,borderRadiusLG:g,borderRadiusSM:_,lineWidth:v,lineType:y}=e,b=(e,t,i,a)=>({width:e,height:e,borderRadius:`50%`,fontSize:t,[`&${n}-square`]:{borderRadius:a},[`&${n}-icon`]:{fontSize:i,[`> ${r}`]:{margin:0}}});return{[n]:{...Ul(e),position:`relative`,display:`inline-flex`,justifyContent:`center`,alignItems:`center`,overflow:`hidden`,color:a,whiteSpace:`nowrap`,textAlign:`center`,verticalAlign:`middle`,background:i,border:`${Y(v)} ${y} transparent`,"&-image":{background:`transparent`},[`${t}-image-img`]:{display:`block`},...b(o,l,f,h),"&-lg":{...b(s,u,p,g)},"&-sm":{...b(c,d,m,_)},"> img":{display:`block`,width:`100%`,height:`100%`,objectFit:`cover`}}}},rw=e=>{let{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:i}=e;return{[`${t}-group`]:{display:`inline-flex`,[t]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:i}}}},iw=Ql(`Avatar`,e=>{let{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=dc(e,{avatarBg:n,avatarColor:t});return[nw(r),rw(r)]},e=>{let{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:i,fontSizeLG:a,fontSizeXL:o,fontSizeHeading3:s,marginXS:c,marginXXS:l,colorBorderBg:u}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:i,textFontSizeLG:i,textFontSizeSM:i,iconFontSize:Math.round((a+o)/2),iconFontSizeLG:s,iconFontSizeSM:i,groupSpace:l,groupOverlapping:-c,groupBorderColor:u}}),aw=S.forwardRef((e,t)=>{let{prefixCls:n,shape:r,size:i,src:a,srcSet:o,icon:s,className:c,rootClassName:l,style:u,alt:d,draggable:f,children:p,crossOrigin:m,gap:h=4,onError:g,..._}=e,[v,y]=S.useState(1),[b,x]=S.useState(!1),[C,w]=S.useState(!0),T=S.useRef(null),E=S.useRef(null),D=cr(t,T),{getPrefixCls:O,className:k,style:A}=ya(`avatar`),j=S.useContext(tw),M=()=>{if(!E.current||!T.current)return;let e=E.current.offsetWidth,t=T.current.offsetWidth;e!==0&&t!==0&&h*2{x(!0)},[]),S.useEffect(()=>{w(!0),y(1)},[a]),S.useEffect(M,[h]);let N=()=>{g?.()!==!1&&w(!1)},P=Oh(e=>i??j?.size??e??`medium`),F=ew(Object.keys(nf(P)&&P||{}).some(e=>JC.includes(e))),I=S.useMemo(()=>{if(!nf(P))return{};let e=P[JC.find(e=>F[e])];return e?{width:e,height:e,fontSize:e&&(s||p)?e/2:18}:{}},[F,P,s,p]),L=O(`avatar`,n),R=sp(L),[z,B]=iw(L,R),V=J({[`${L}-lg`]:P===`large`,[`${L}-sm`]:P===`small`}),H=S.isValidElement(a),U=J(L,V,k,`${L}-${r||j?.shape||`circle`}`,{[`${L}-image`]:H||a&&C,[`${L}-icon`]:!!s},B,R,c,l,z),W=ef(P)?{width:P,height:P,fontSize:s?P/2:18}:{},ee;if(typeof a==`string`&&C)ee=S.createElement(`img`,{src:a,draggable:f,srcSet:o,onError:N,alt:d,crossOrigin:m});else if(H)ee=a;else if(s)ee=s;else if(b||v!==1){let e=`scale(${v})`,t={msTransform:e,WebkitTransform:e,transform:e};ee=S.createElement(oa,{onResize:M},S.createElement(`span`,{className:`${L}-string`,ref:E,style:t},p))}else ee=S.createElement(`span`,{className:`${L}-string`,style:{opacity:0},ref:E},p);return S.createElement(`span`,{..._,style:{...W,...I,...A,...u},className:U,ref:D},ee)}),ow=e=>e?typeof e==`function`?e():e:null,sw=e=>{let{children:t,prefixCls:n,id:r,classNames:i,styles:a,className:o,style:s}=e;return S.createElement(`div`,{id:r,className:J(`${n}-container`,i?.container,o),style:{...a?.container,...s},role:`tooltip`},typeof t==`function`?t():t)},cw={shiftX:64,adjustY:1},lw={adjustX:1,shiftY:!0},uw=[0,0],dw={left:{points:[`cr`,`cl`],overflow:lw,offset:[-4,0],targetOffset:uw},right:{points:[`cl`,`cr`],overflow:lw,offset:[4,0],targetOffset:uw},top:{points:[`bc`,`tc`],overflow:cw,offset:[0,-4],targetOffset:uw},bottom:{points:[`tc`,`bc`],overflow:cw,offset:[0,4],targetOffset:uw},topLeft:{points:[`bl`,`tl`],overflow:cw,offset:[0,-4],targetOffset:uw},leftTop:{points:[`tr`,`tl`],overflow:lw,offset:[-4,0],targetOffset:uw},topRight:{points:[`br`,`tr`],overflow:cw,offset:[0,-4],targetOffset:uw},rightTop:{points:[`tl`,`tr`],overflow:lw,offset:[4,0],targetOffset:uw},bottomRight:{points:[`tr`,`br`],overflow:cw,offset:[0,4],targetOffset:uw},rightBottom:{points:[`bl`,`br`],overflow:lw,offset:[4,0],targetOffset:uw},bottomLeft:{points:[`tl`,`bl`],overflow:cw,offset:[0,4],targetOffset:uw},leftBottom:{points:[`br`,`bl`],overflow:lw,offset:[-4,0],targetOffset:uw}};function fw(){return fw=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{trigger:n=[`hover`],mouseEnterDelay:r=0,mouseLeaveDelay:i=.1,prefixCls:a=`rc-tooltip`,children:o,onVisibleChange:s,afterVisibleChange:c,motion:l,placement:u=`right`,align:d={},destroyOnHidden:f=!1,defaultVisible:p,getTooltipContainer:m,arrowContent:h,overlay:g,id:_,showArrow:v=!0,classNames:y,styles:b,...x}=e,C=Xn(_),w=(0,S.useRef)(null);(0,S.useImperativeHandle)(t,()=>w.current);let T={...x};`visible`in e&&(T.popupVisible=e.visible);let E=S.useMemo(()=>{if(!v)return!1;let e=v===!0?{}:v;return{...e,className:J(e.className,y?.arrow),style:{...e.style,...b?.arrow},content:e.content??h}},[v,y?.arrow,b?.arrow,h]);return S.createElement(sm,fw({popupClassName:y?.root,prefixCls:a,popup:S.createElement(sw,{key:`content`,prefixCls:a,id:C,classNames:y,styles:b},g),action:n,builtinPlacements:dw,popupPlacement:u,ref:w,popupAlign:d,getPopupContainer:m,onOpenChange:s,afterOpenChange:c,popupMotion:l,defaultPopupVisible:p,autoDestroy:f,mouseLeaveDelay:i,popupStyle:b?.root,mouseEnterDelay:r,arrow:E,uniqueContainerClassName:y?.uniqueContainer,uniqueContainerStyle:b?.uniqueContainer},T),({open:e})=>{let t=S.Children.only(o),n={"aria-describedby":g&&e?C:void 0};return S.cloneElement(t,n)})});function mw(e){let{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,i=t/2,a=i,o=r*1/Math.sqrt(2),s=i-r*(1-1/Math.sqrt(2)),c=i-1/Math.sqrt(2)*n,l=r*(Math.sqrt(2)-1)+1/Math.sqrt(2)*n,u=2*i-c,d=l,f=2*i-o,p=s,m=2*i-0,h=a,g=i*Math.sqrt(2)+r*(Math.sqrt(2)-2),_=r*(Math.sqrt(2)-1),v=`polygon(${_}px 100%, 50% ${_}px, ${2*i-_}px 100%, ${_}px 100%)`;return{arrowShadowWidth:g,arrowPath:`path('M 0 ${a} A ${r} ${r} 0 0 0 ${o} ${s} L ${c} ${l} A ${n} ${n} 0 0 1 ${u} ${d} L ${f} ${p} A ${r} ${r} 0 0 0 ${m} ${h} Z')`,arrowPolygon:v}}var hw=(e,t,n)=>{let{sizePopupArrow:r,arrowPolygon:i,arrowPath:a,arrowShadowWidth:o,borderRadiusXS:s,calc:c}=e;return{pointerEvents:`none`,width:r,height:r,overflow:`hidden`,"&::before":{position:`absolute`,bottom:0,insetInlineStart:0,width:r,height:c(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,a]},content:`""`},"&::after":{content:`""`,position:`absolute`,width:o,height:o,bottom:0,insetInline:0,margin:`auto`,borderRadius:{_skip_check_:!0,value:`0 0 ${Y(s)} 0`},transform:`translateY(50%) rotate(-135deg)`,boxShadow:n,zIndex:0,background:`transparent`}}};function gw(e){let{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?8:r}}function _w(e,t){return e?t:{}}var vw=(e,t,n)=>{let{componentCls:r,boxShadowPopoverArrow:i,arrowOffsetVertical:a,arrowOffsetHorizontal:o,antCls:s}=e,[c]=tu(s,`tooltip`),{arrowDistance:l=0,arrowPlacement:u={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:{[`${r}-arrow`]:[{position:`absolute`,zIndex:1,display:`block`,...hw(e,t,i),"&:before":{background:t}}],..._w(!!u.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(`,`)]:{bottom:l,transform:`translateY(100%) rotate(180deg)`},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:`50%`},transform:`translateX(-50%) translateY(100%) rotate(180deg)`},"&-placement-topLeft":{[c(`arrow-offset-x`)]:o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-topRight":{[c(`arrow-offset-x`)]:`calc(100% - ${Y(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}}),..._w(!!u.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(`,`)]:{top:l,transform:`translateY(-100%)`},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:`50%`},transform:`translateX(-50%) translateY(-100%)`},"&-placement-bottomLeft":{[c(`arrow-offset-x`)]:o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-bottomRight":{[c(`arrow-offset-x`)]:`calc(100% - ${Y(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}}),..._w(!!u.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(`,`)]:{right:{_skip_check_:!0,value:l},transform:`translateX(100%) rotate(90deg)`},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:`50%`},transform:`translateY(-50%) translateX(100%) rotate(90deg)`},[`&-placement-leftTop > ${r}-arrow`]:{top:a},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:a}}),..._w(!!u.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(`,`)]:{left:{_skip_check_:!0,value:l},transform:`translateX(-100%) rotate(-90deg)`},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:`50%`},transform:`translateY(-50%) translateX(-100%) rotate(-90deg)`},[`&-placement-rightTop > ${r}-arrow`]:{top:a},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:a}})}}};function yw(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};let i=nf(r)?r:{},a={};switch(e){case`top`:case`bottom`:a.shiftX=t.arrowOffsetHorizontal*2+n,a.shiftY=!0,a.adjustY=!0;break;case`left`:case`right`:a.shiftY=t.arrowOffsetVertical*2+n,a.shiftX=!0,a.adjustX=!0;break}let o={...a,...i};return o.shiftX||(o.adjustX=!0),o.shiftY||(o.adjustY=!0),o}var bw={left:{points:[`cr`,`cl`]},right:{points:[`cl`,`cr`]},top:{points:[`bc`,`tc`]},bottom:{points:[`tc`,`bc`]},topLeft:{points:[`bl`,`tl`]},leftTop:{points:[`tr`,`tl`]},topRight:{points:[`br`,`tr`]},rightTop:{points:[`tl`,`tr`]},bottomRight:{points:[`tr`,`br`]},rightBottom:{points:[`bl`,`br`]},bottomLeft:{points:[`tl`,`bl`]},leftBottom:{points:[`br`,`bl`]}},xw={topLeft:{points:[`bl`,`tc`]},leftTop:{points:[`tr`,`cl`]},topRight:{points:[`br`,`tc`]},rightTop:{points:[`tl`,`cr`]},bottomRight:{points:[`tr`,`bc`]},rightBottom:{points:[`bl`,`cr`]},bottomLeft:{points:[`tl`,`bc`]},leftBottom:{points:[`br`,`cl`]}},Sw=new Set([`topLeft`,`topRight`,`bottomLeft`,`bottomRight`,`leftTop`,`leftBottom`,`rightTop`,`rightBottom`]);function Cw(e){let{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:i,borderRadius:a,visibleFirst:o}=e,s=t/2,c={},l=gw({contentRadius:a,limitVerticalRadius:!0});return Object.keys(bw).forEach(e=>{let a={...r&&xw[e]||bw[e],offset:[0,0],dynamicInset:!0};switch(c[e]=a,Sw.has(e)&&(a.autoArrow=!1),e){case`top`:case`topLeft`:case`topRight`:a.offset[1]=-s-i;break;case`bottom`:case`bottomLeft`:case`bottomRight`:a.offset[1]=s+i;break;case`left`:case`leftTop`:case`leftBottom`:a.offset[0]=-s-i;break;case`right`:case`rightTop`:case`rightBottom`:a.offset[0]=s+i;break}if(r)switch(e){case`topLeft`:case`bottomLeft`:a.offset[0]=-l.arrowOffsetHorizontal-s;break;case`topRight`:case`bottomRight`:a.offset[0]=l.arrowOffsetHorizontal+s;break;case`leftTop`:case`rightTop`:a.offset[1]=-l.arrowOffsetHorizontal*2+s;break;case`leftBottom`:case`rightBottom`:a.offset[1]=l.arrowOffsetHorizontal*2-s;break}a.overflow=yw(e,l,t,n),o&&(a.htmlRegion=`visibleFirst`)}),c}var ww=S.createContext(!1),Tw=(e,t)=>{let n=e=>typeof e==`boolean`?{show:e}:e||{};return S.useMemo(()=>{let r=n(e),i=n(t);return{...i,...r,show:r.show??i.show??!0}},[e,t])},Ew=`50%`,Dw=e=>{let{calc:t,componentCls:n,tooltipMaxWidth:r,tooltipColor:i,tooltipBg:a,tooltipBorderRadius:o,zIndexPopup:s,controlHeight:c,boxShadowSecondary:l,paddingSM:u,paddingXS:d,arrowOffsetHorizontal:f,sizePopupArrow:p,antCls:m}=e,[h,g]=tu(m,`tooltip`),_=t(o).add(p).add(f).equal(),v={minWidth:t(o).mul(2).add(p).equal(),minHeight:c,padding:`${Y(e.calc(u).div(2).equal())} ${Y(d)}`,color:g(`overlay-color`,i),textAlign:`start`,textDecoration:`none`,wordWrap:`break-word`,backgroundColor:a,borderRadius:o,boxShadow:l,boxSizing:`border-box`},y={[h(`valid-offset-x`)]:g(`arrow-offset-x`,`var(--arrow-x)`),transformOrigin:[g(`valid-offset-x`,Ew),`var(--arrow-y, ${Ew})`].join(` `)};return[{[n]:{...Ul(e),position:`absolute`,zIndex:s,display:`block`,width:`max-content`,maxWidth:r,visibility:`visible`,...y,"&-hidden":{display:`none`},[h(`arrow-background-color`)]:a,[`${n}-container`]:[v,Zh(e,!0)],[`&:has(~ ${n}-unique-container)`]:{[`${n}-container`]:{border:`none`,background:`transparent`,boxShadow:`none`}},[[`&-placement-topLeft`,`&-placement-topRight`,`&-placement-bottomLeft`,`&-placement-bottomRight`].join(`,`)]:{minWidth:_},[[`&-placement-left`,`&-placement-leftTop`,`&-placement-leftBottom`,`&-placement-right`,`&-placement-rightTop`,`&-placement-rightBottom`].join(`,`)]:{[`${n}-inner`]:{borderRadius:e.min(o,8)}},[`${n}-content`]:{position:`relative`},...nu(e,(e,{darkColor:t})=>({[`&${n}-${e}`]:{[`${n}-container`]:{backgroundColor:t},[`${n}-arrow`]:{[h(`arrow-background-color`)]:t}}})),"&-rtl":{direction:`rtl`}}},vw(e,g(`arrow-background-color`)),{[`${n}-pure`]:{position:`relative`,maxWidth:`none`,margin:e.sizePopupArrow}},{[`${n}-unique-container`]:{...v,...y,position:`absolute`,zIndex:t(s).sub(1).equal(),"&-hidden":{display:`none`},"&-visible":{transition:`all ${e.motionDurationSlow}`}}}]},Ow=e=>({zIndexPopup:e.zIndexPopupBase+70,maxWidth:250,...gw({contentRadius:e.borderRadius,limitVerticalRadius:!0}),...mw(dc(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))}),kw=(e,t,n=!0)=>Ql(`Tooltip`,e=>{let{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:r,maxWidth:i}=e;return[Dw(dc(e,{tooltipMaxWidth:i,tooltipColor:n,tooltipBorderRadius:t,tooltipBg:r})),Ag(e,`zoom-big-fast`)]},Ow,{resetStyle:!1,injectStyle:n})(e,t),Aw=Sc.map(e=>`${e}-inverse`),jw=[`success`,`processing`,`error`,`default`,`warning`];function Mw(e,t=!0){return t?[].concat(pa(Aw),pa(Sc)).includes(e):Sc.includes(e)}function Nw(e){return jw.includes(e)}var Pw=(e,t,n)=>{let r=Mw(n),[i]=tu(e,`tooltip`),a=J({[`${t}-${n}`]:n&&r}),o={},s={},c=dee(n).toRgb(),l=(.299*c.r+.587*c.g+.114*c.b)/255<.5?`#FFF`:`#000`;return n&&!r&&(o.background=n,o[i(`overlay-color`)]=l,s[i(`arrow-background-color`)]=n),{className:a,overlayStyle:o,arrowStyle:s}},Fw=e=>{let{prefixCls:t,className:n,placement:r=`top`,title:i,color:a,overlayInnerStyle:o,classNames:s,styles:c}=e,{getPrefixCls:l}=S.useContext(ga),u=l(`tooltip`,t),d=l(),f=sp(u),[p,m]=kw(u,f),h=Pw(d,u,a),g=h.arrowStyle,_=S.useMemo(()=>({container:{...o,...h.overlayStyle}}),[o,h.overlayStyle]),v={...e,placement:r},[y,b]=Cf([s],[_,c],{props:v}),x=J(f,p,m,u,`${u}-pure`,`${u}-placement-${r}`,n,h.className);return S.createElement(`div`,{className:x,style:g},S.createElement(`div`,{className:`${u}-arrow`}),S.createElement(sw,{...e,className:p,prefixCls:u,classNames:y,styles:b},i))},Iw=S.forwardRef((e,t)=>{let{prefixCls:n,openClassName:r,getTooltipContainer:i,color:a,children:o,afterOpenChange:s,arrow:c,destroyTooltipOnHide:l,destroyOnHidden:u,title:d,overlay:f,trigger:p,builtinPlacements:m,autoAdjustOverflow:h=!0,motion:g,getPopupContainer:_,placement:v=`top`,mouseEnterDelay:y=.1,mouseLeaveDelay:b=.1,rootClassName:x,styles:C,classNames:w,onOpenChange:T,overlayInnerStyle:E,overlayStyle:D,overlayClassName:O,...k}=e,[,A]=Vl(),j=e[`data-popover-inject`],{getPopupContainer:M,getPrefixCls:N,direction:P,...F}=ya(`tooltip`),{className:I,style:L,classNames:R,styles:z,arrow:B,trigger:V}=j?{}:F,H=Tw(c,B),U=H.show,W=p||V||`hover`,ee=_||M,te=u??!!l,ne=S.useContext(ww);Gi(`Tooltip`);let re=S.useRef(null),G=()=>{re.current?.forceAlign()};S.useImperativeHandle(t,()=>({forceAlign:G,nativeElement:re.current?.nativeElement,popupElement:re.current?.popupElement}));let[ie,K]=Gn(e.defaultOpen??!1,e.open),ae=!d&&!f&&d!==0,q=e=>{K(ae?!1:e),!ae&&T&&T(e)},oe=S.useMemo(()=>m||Cw({arrowPointAtCenter:H?.pointAtCenter??!1,autoAdjustOverflow:h,arrowWidth:U?A.sizePopupArrow:0,borderRadius:A.borderRadius,offset:A.marginXXS,visibleFirst:!0}),[H,m,A,U,h]),se=S.useMemo(()=>d===0?d:f||d||``,[f,d]),ce=S.createElement(Ay,{space:!0,form:!0},typeof se==`function`?se():se),le={...e,trigger:W,builtinPlacements:oe,getPopupContainer:ee,destroyOnHidden:te},[ue,de]=Cf([R,w],[z,C],{props:le}),fe=N(`tooltip`,n),pe=N(),me=ie;(!(`open`in e)&&ae||ne)&&(me=!1);let he=S.isValidElement(o)&&!cm(o)?o:S.createElement(`span`,null,o),ge=he.props,_e=!ge.className||typeof ge.className==`string`?J(ge.className,r||`${fe}-open`):ge.className,ve=sp(fe),[ye,be]=kw(fe,ve,!j),xe=Pw(pe,fe,a),Se=xe.arrowStyle,Ce=J(ve,ye,be),we=J(O,{[`${fe}-rtl`]:P===`rtl`},xe.className,x,Ce,I,ue.root),[Te,Ee]=Lf(`Tooltip`,k.zIndex),De={...de.container,...E,...xe.overlayStyle},Oe=S.createElement(pw,{unique:!0,...k,zIndex:Te,showArrow:U,placement:v,mouseEnterDelay:y,mouseLeaveDelay:b,prefixCls:fe,classNames:{root:we,container:ue.container,arrow:ue.arrow,uniqueContainer:J(Ce,ue.container)},styles:{root:{...Se,...de.root,...L,...D},container:De,uniqueContainer:De,arrow:de.arrow},ref:re,overlay:ce,visible:me,onVisibleChange:q,afterVisibleChange:s,arrowContent:S.createElement(`span`,{className:`${fe}-arrow-content`}),motion:{motionName:vh(pe,`zoom-big-fast`,typeof g?.motionName==`string`?g?.motionName:void 0),motionDeadline:1e3},trigger:W,builtinPlacements:oe,getTooltipContainer:ee,destroyOnHidden:te},me?um(he,{className:_e}):he);return S.createElement(jf.Provider,{value:Ee},Oe)});Iw._InternalPanelDoNotUseOrYouWillBeFired=Fw,Iw.UniqueProvider=mm;var Lw=`50%`,Rw=e=>{let{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:i,innerPadding:a,boxShadowSecondary:o,colorTextHeading:s,borderRadiusLG:c,zIndexPopup:l,titleMarginBottom:u,colorBgElevated:d,popoverBg:f,titleBorderBottom:p,innerContentPadding:m,titlePadding:h,antCls:g}=e,[_,v]=tu(g,`tooltip`);return[{[t]:{...Ul(e),position:`absolute`,top:0,left:{_skip_check_:!0,value:0},zIndex:l,fontWeight:`normal`,whiteSpace:`normal`,textAlign:`start`,cursor:`auto`,userSelect:`text`,[_(`valid-offset-x`)]:v(`arrow-offset-x`,`var(--arrow-x)`),transformOrigin:[v(`valid-offset-x`,Lw),`var(--arrow-y, ${Lw})`].join(` `),[_(`arrow-background-color`)]:d,width:`max-content`,maxWidth:`100vw`,"&-rtl":{direction:`rtl`},"&-hidden":{display:`none`},[`${t}-content`]:{position:`relative`},[`${t}-container`]:{backgroundColor:f,backgroundClip:`padding-box`,borderRadius:c,boxShadow:o,padding:a},[`${t}-title`]:{minWidth:r,marginBottom:u,color:s,fontWeight:i,borderBottom:p,padding:h},[`${t}-content`]:{color:n,padding:m}}},vw(e,v(`arrow-background-color`)),{[`${t}-pure`]:{position:`relative`,maxWidth:`none`,margin:e.sizePopupArrow,display:`inline-block`}}]},zw=e=>{let{componentCls:t,antCls:n}=e,[r]=tu(n,`tooltip`);return{[t]:Sc.map(n=>{let i=e[`${n}6`];return{[`&${t}-${n}`]:{[r(`arrow-background-color`)]:i,[`${t}-inner`]:{backgroundColor:i},[`${t}-arrow`]:{background:`transparent`}}}})}},Bw=Ql(`Popover`,e=>{let{colorBgElevated:t,colorText:n}=e,r=dc(e,{popoverBg:t,popoverColor:n});return[Rw(r),zw(r),Ag(r,`zoom-big`)]},e=>{let{lineWidth:t,controlHeight:n,fontHeight:r,padding:i,wireframe:a,zIndexPopupBase:o,borderRadiusLG:s,marginXS:c,lineType:l,colorSplit:u,paddingSM:d}=e,f=n-r,p=f/2,m=f/2-t,h=i;return{titleMinWidth:177,zIndexPopup:o+30,...mw(e),...gw({contentRadius:s,limitVerticalRadius:!0}),innerPadding:a?0:12,titleMarginBottom:a?0:c,titlePadding:a?`${p}px ${h}px ${m}px`:0,titleBorderBottom:a?`${t}px ${l} ${u}`:`none`,innerContentPadding:a?`${d}px ${h}px`:0}},{resetStyle:!1,deprecatedTokens:[[`width`,`titleMinWidth`],[`minWidth`,`titleMinWidth`]]}),Vw=e=>{let{title:t,content:n,prefixCls:r,classNames:i,styles:a}=e;return!t&&!n?null:S.createElement(S.Fragment,null,t&&S.createElement(`div`,{className:J(`${r}-title`,i?.title),style:a?.title},t),n&&S.createElement(`div`,{className:J(`${r}-content`,i?.content),style:a?.content},n))},Hw=e=>{let{hashId:t,prefixCls:n,className:r,style:i,placement:a=`top`,title:o,content:s,children:c,classNames:l,styles:u}=e,d=ow(o),f=ow(s),p={...e,placement:a},[m,h]=Cf([l],[u],{props:p}),g=J(t,n,`${n}-pure`,`${n}-placement-${a}`,r);return S.createElement(`div`,{className:g,style:i},S.createElement(`div`,{className:`${n}-arrow`}),S.createElement(sw,{...e,className:t,prefixCls:n,classNames:m,styles:h},c||S.createElement(Vw,{prefixCls:n,title:d,content:f,classNames:m,styles:h})))},Uw=e=>{let{prefixCls:t,className:n,...r}=e,{getPrefixCls:i}=S.useContext(ga),a=i(`popover`,t),[o,s]=Bw(a);return S.createElement(Hw,{...r,prefixCls:a,hashId:o,className:J(n,s)})},Ww=S.forwardRef((e,t)=>{let{prefixCls:n,title:r,content:i,overlayClassName:a,placement:o=`top`,trigger:s,children:c,mouseEnterDelay:l=.1,mouseLeaveDelay:u=.1,onOpenChange:d,overlayStyle:f={},styles:p,classNames:m,motion:h,arrow:g,..._}=e,{getPrefixCls:v,className:y,style:b,classNames:x,styles:C,arrow:w,trigger:T}=ya(`popover`),E=v(`popover`,n),[D,O]=Bw(E),k=v(),A=Tw(g,w),j=s||T||`hover`,M={...e,placement:o,trigger:j,mouseEnterDelay:l,mouseLeaveDelay:u,overlayStyle:f,styles:p,classNames:m},[N,P]=Cf([x,m],[C,p],{props:M}),F=J(a,D,O,y,N.root),[I,L]=Gn(e.defaultOpen??!1,e.open),R=e=>{L(e),d?.(e)},z=ow(r),B=ow(i);return S.createElement(Iw,{unique:!1,arrow:A,placement:o,trigger:j,mouseEnterDelay:l,mouseLeaveDelay:u,..._,prefixCls:E,classNames:{root:F,container:N.container,arrow:N.arrow},styles:{root:{...P.root,...b,...f},container:P.container,arrow:P.arrow},ref:t,open:I,onOpenChange:R,overlay:z||B?S.createElement(Vw,{prefixCls:E,title:z,content:B,classNames:N,styles:P}):null,motion:{motionName:vh(k,`zoom-big`,typeof h?.motionName==`string`?h?.motionName:void 0)},"data-popover-inject":!0},c)});Ww._InternalPanelDoNotUseOrYouWillBeFired=Uw;var Gw=e=>{let{size:t,shape:n}=S.useContext(tw),r=S.useMemo(()=>({size:e.size||t,shape:e.shape||n}),[e.size,e.shape,t,n]);return S.createElement(tw.Provider,{value:r},e.children)},Kw=e=>{let{getPrefixCls:t,direction:n}=S.useContext(ga),{prefixCls:r,className:i,rootClassName:a,style:o,maxCount:s,maxStyle:c,size:l,shape:u,maxPopoverPlacement:d,maxPopoverTrigger:f,children:p,max:m}=e,h=t(`avatar`,r),g=`${h}-group`,_=sp(h),[v,y]=iw(h,_),b=J(g,{[`${g}-rtl`]:n===`rtl`},y,_,i,a,v),x=ki(p).map((e,t)=>um(e,{key:`avatar-key-${t}`})),C=m?.count||s,w=x.length;if(C&&C{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z`}}]},name:`left`,theme:`outlined`}}))());function Yw(){return Yw=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Yw({},e,{ref:t,icon:Jw.default}))),{ESC:Zw,TAB:Gee}=Qr;function Kee({visible:e,triggerRef:t,onVisibleChange:n,autoFocus:r,overlayRef:i}){let a=S.useRef(!1),o=()=>{e&&(t.current?.focus?.(),n?.(!1))},s=()=>i.current?.focus?(i.current.focus(),a.current=!0,!0):!1,c=e=>{switch(e.keyCode){case Zw:o();break;case Gee:{let t=!1;a.current||(t=s()),t?e.preventDefault():o();break}}};S.useEffect(()=>e?(window.addEventListener(`keydown`,c),r&&Oi(s,3),()=>{window.removeEventListener(`keydown`,c),a.current=!1}):()=>{a.current=!1},[e])}var qee=(0,S.forwardRef)((e,t)=>{let{overlay:n,arrow:r,prefixCls:i}=e,a=(0,S.useMemo)(()=>{let e;return e=typeof n==`function`?n():n,e},[n]),o=cr(t,pr(a));return S.createElement(S.Fragment,null,r&&S.createElement(`div`,{className:`${i}-arrow`}),S.cloneElement(a,{ref:ur(a)?o:void 0}))}),Qw={adjustX:1,adjustY:1},$w=[0,0],Jee={topLeft:{points:[`bl`,`tl`],overflow:Qw,offset:[0,-4],targetOffset:$w},top:{points:[`bc`,`tc`],overflow:Qw,offset:[0,-4],targetOffset:$w},topRight:{points:[`br`,`tr`],overflow:Qw,offset:[0,-4],targetOffset:$w},bottomLeft:{points:[`tl`,`bl`],overflow:Qw,offset:[0,4],targetOffset:$w},bottom:{points:[`tc`,`bc`],overflow:Qw,offset:[0,4],targetOffset:$w},bottomRight:{points:[`tr`,`br`],overflow:Qw,offset:[0,4],targetOffset:$w}};function eT(){return eT=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{arrow:n=!1,prefixCls:r=`rc-dropdown`,transitionName:i,animation:a,align:o,placement:s=`bottomLeft`,placements:c=Jee,getPopupContainer:l,showAction:u,hideAction:d,overlayClassName:f,overlayStyle:p,visible:m,trigger:h=[`hover`],autoFocus:g,overlay:_,children:v,onVisibleChange:y,...b}=e,[x,C]=S.useState(),w=`visible`in e?m:x,T=a?`${r}-${a}`:i,E=S.useRef(null),D=S.useRef(null),O=S.useRef(null);S.useImperativeHandle(t,()=>E.current);let k=e=>{C(e),y?.(e)};Kee({visible:w,triggerRef:O,onVisibleChange:k,autoFocus:g,overlayRef:D});let A=t=>{let{onOverlayClick:n}=e;C(!1),n&&n(t)},j=()=>S.createElement(qee,{ref:D,overlay:_,prefixCls:r,arrow:n}),M=()=>typeof _==`function`?j:j(),N=()=>{let{minOverlayWidthMatchTrigger:t,alignPoint:n}=e;return`minOverlayWidthMatchTrigger`in e?t:!n},P=S.cloneElement(v,{className:J(v.props?.className,w&&(()=>{let{openClassName:t}=e;return t===void 0?`${r}-open`:t})()),ref:ur(v)?cr(O,pr(v)):void 0}),F=d;return!F&&h.indexOf(`contextMenu`)!==-1&&(F=[`click`]),S.createElement(sm,eT({builtinPlacements:c},b,{prefixCls:r,ref:E,popupClassName:J(f,{[`${r}-show-arrow`]:n}),popupStyle:p,action:h,showAction:u,hideAction:F,popupPlacement:s,popupAlign:o,popupMotion:{motionName:T},popupVisible:w,stretch:N()?`minWidth`:``,popup:M(),onOpenChange:k,onPopupClick:A,getPopupContainer:l}),P)}),nT=S.createContext(null);function rT(e,t){return`${e}-${t}`}function iT(e){return rT(S.useContext(nT),e)}var aT=S.createContext(null);function Yee(e,t){let n={...e};return Object.keys(t).forEach(e=>{let r=t[e];r!==void 0&&(n[e]=r)}),n}function oT({children:e,locked:t,...n}){let r=S.useContext(aT),i=Zn(()=>Yee(r,n),[r,n],(e,n)=>!t&&(e[0]!==n[0]||!fi(e[1],n[1],!0)));return S.createElement(aT.Provider,{value:i},e)}var Xee=[],sT=S.createContext(null);function cT(){return S.useContext(sT)}var lT=S.createContext(Xee);function uT(e){let t=S.useContext(lT);return S.useMemo(()=>e===void 0?t:[...t,e],[t,e])}var dT=S.createContext(null),fT=S.createContext({}),{LEFT:pT,RIGHT:mT,UP:hT,DOWN:gT,ENTER:_T,ESC:vT,HOME:yT,END:bT}=Qr,xT=[hT,gT,pT,mT];function Zee(e,t,n,r){let i=`prev`,a=`next`,o=`children`,s=`parent`;if(e===`inline`&&r===_T)return{inlineTrigger:!0};let c={[hT]:i,[gT]:a},l={[pT]:n?a:i,[mT]:n?i:a,[gT]:o,[_T]:o},u={[hT]:i,[gT]:a,[_T]:o,[vT]:s,[pT]:n?o:s,[mT]:n?s:o};switch({inline:c,horizontal:l,vertical:u,inlineSub:c,horizontalSub:u,verticalSub:u}[`${e}${t?``:`Sub`}`]?.[r]){case i:return{offset:-1,sibling:!0};case a:return{offset:1,sibling:!0};case s:return{offset:-1,sibling:!1};case o:return{offset:1,sibling:!1};default:return null}}function Qee(e){let t=e;for(;t;){if(t.getAttribute(`data-menu-list`))return t;t=t.parentElement}return null}function $ee(e,t){let n=e||document.activeElement;for(;n;){if(t.has(n))return n;n=n.parentElement}return null}function ST(e,t){return Mr(e,!0).filter(e=>t.has(e))}function CT(e,t,n,r=1){if(!e)return null;let i=ST(e,t),a=i.length,o=i.findIndex(e=>n===e);return r<0?o===-1?o=a-1:--o:r>0&&(o+=1),o=(o+a)%a,i[o]}var wT=(e,t)=>{let n=new Set,r=new Map,i=new Map;return e.forEach(e=>{let a=document.querySelector(`[data-menu-id='${rT(t,e)}']`);a&&(n.add(a),i.set(a,e),r.set(e,a))}),{elements:n,key2element:r,element2key:i}};function ete(e,t,n,r,i,a,o,s,c,l){let u=S.useRef(),d=S.useRef();d.current=t;let f=()=>{Oi.cancel(u.current)};return S.useEffect(()=>()=>{f()},[]),p=>{let{which:m}=p;if([...xT,_T,vT,yT,bT].includes(m)){let l=a(),h=wT(l,r),{elements:g,key2element:_,element2key:v}=h,y=$ee(_.get(t),g),b=v.get(y),x=Zee(e,o(b,!0).length===1,n,m);if(!x&&m!==yT&&m!==bT)return;(xT.includes(m)||[yT,bT].includes(m))&&p.preventDefault();let S=e=>{if(e){let t=e,n=e.querySelector(`a`);n?.getAttribute(`href`)&&(t=n);let r=v.get(e);s(r),f(),u.current=Oi(()=>{d.current===r&&t.focus()})}};if([yT,bT].includes(m)||x.sibling||!y){let t;t=!y||e===`inline`?i.current:Qee(y);let n,r=ST(t,g);n=m===yT?r[0]:m===bT?r[r.length-1]:CT(t,g,y,x.offset),S(n)}else if(x.inlineTrigger)c(b);else if(x.offset>0)c(b,!0),f(),u.current=Oi(()=>{h=wT(l,r);let e=y.getAttribute(`aria-controls`);S(CT(document.getElementById(e),h.elements))},5);else if(x.offset<0){let e=o(b,!0),t=e[e.length-2],n=_.get(t);c(t,!1),S(n)}}l?.(p)}}function tte(e){Promise.resolve().then(e)}var TT=`__RC_UTIL_PATH_SPLIT__`,ET=e=>e.join(TT),nte=e=>e.split(TT),DT=`rc-menu-more`;function rte(){let[,e]=S.useState({}),t=(0,S.useRef)(new Map),n=(0,S.useRef)(new Map),[r,i]=S.useState([]),a=(0,S.useRef)(0),o=(0,S.useRef)(!1),s=()=>{o.current||e({})},c=(0,S.useCallback)((e,r)=>{let i=ET(r);n.current.set(i,e),t.current.set(e,i),a.current+=1;let o=a.current;tte(()=>{o===a.current&&s()})},[]),l=(0,S.useCallback)((e,r)=>{let i=ET(r);n.current.delete(i),t.current.delete(e)},[]),u=(0,S.useCallback)(e=>{i(e)},[]),d=(0,S.useCallback)((e,n)=>{let i=nte(t.current.get(e)||``);return n&&r.includes(i[0])&&i.unshift(DT),i},[r]),f=(0,S.useCallback)((e,t)=>e.filter(e=>e!==void 0).some(e=>d(e,!0).includes(t)),[d]),p=()=>{let e=[...t.current.keys()];return r.length&&e.push(DT),e},m=(0,S.useCallback)(e=>{let r=`${t.current.get(e)}${TT}`,i=new Set;return[...n.current.keys()].forEach(e=>{e.startsWith(r)&&i.add(n.current.get(e))}),i},[]);return S.useEffect(()=>()=>{o.current=!0},[]),{registerPath:c,unregisterPath:l,refreshOverflowKeys:u,isSubPathKey:f,getKeyPath:d,getKeys:p,getSubPathKeys:m}}function OT(e){let t=S.useRef(e);t.current=e;let n=S.useCallback((...e)=>t.current?.(...e),[]);return e?n:void 0}function kT(e,t,n,r){let{activeKey:i,onActive:a,onInactive:o}=S.useContext(aT),s={active:i===e};return t||(s.onMouseEnter=t=>{n?.({key:e,domEvent:t}),a(e)},s.onMouseLeave=t=>{r?.({key:e,domEvent:t}),o(e)}),s}function AT(e){let{mode:t,rtl:n,inlineIndent:r}=S.useContext(aT);if(t!==`inline`)return null;let i=e;return n?{paddingRight:i*r}:{paddingLeft:i*r}}function jT({icon:e,props:t,children:n}){let r;return e===null||e===!1?null:(typeof e==`function`?r=S.createElement(e,{...t}):typeof e!=`boolean`&&(r=e),r||n||null)}function MT({item:e,...t}){return Object.defineProperty(t,`item`,{get:()=>(ui(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),e)}),t}function NT(){return NT=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{style:n,className:r,eventKey:i,warnKey:a,disabled:o,itemIcon:s,children:c,role:l,onMouseEnter:u,onMouseLeave:d,onClick:f,onKeyDown:p,onFocus:m,...h}=e,g=iT(i),{prefixCls:_,onItemClick:v,disabled:y,overflowDisabled:b,itemIcon:x,selectedKeys:C,onActive:w}=S.useContext(aT),{_internalRenderMenuItem:T}=S.useContext(fT),E=`${_}-item`,D=S.useRef(),O=S.useRef(),k=y||o,A=lr(t,O),j=uT(i),M=e=>({key:i,keyPath:[...j].reverse(),item:D.current,domEvent:e}),N=s||x,{active:P,...F}=kT(i,k,u,d),I=C.includes(i),L=AT(j.length),R=e=>{if(k)return;let t=M(e);f?.(MT(t)),v(t)},z=e=>{if(p?.(e),e.which===Qr.ENTER){let t=M(e);f?.(MT(t)),v(t)}},B=e=>{w(i),m?.(e)},V={};e.role===`option`&&(V[`aria-selected`]=I);let H=S.createElement(ite,NT({ref:D,elementRef:A,role:l===null?`none`:l||`menuitem`,tabIndex:o?null:-1,"data-menu-id":b&&g?null:g},gi(h,[`extra`]),F,V,{component:`li`,"aria-disabled":o,style:{...L,...n},className:J(E,{[`${E}-active`]:P,[`${E}-selected`]:I,[`${E}-disabled`]:k},r),onClick:R,onKeyDown:z,onFocus:B}),c,S.createElement(jT,{props:{...e,isSelected:I},icon:N}));return T&&(H=T(H,e,{selected:I})),H});function ote(e,t){let{eventKey:n}=e,r=cT(),i=uT(n);return S.useEffect(()=>{if(r)return r.registerPath(n,i),()=>{r.unregisterPath(n,i)}},[i]),r?null:S.createElement(ate,NT({},e,{ref:t}))}var PT=S.forwardRef(ote);function FT(){return FT=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:i,mode:a,rtl:o}=S.useContext(aT);return S.createElement(`ul`,FT({className:J(i,o&&`${i}-rtl`,`${i}-sub`,`${i}-${a===`inline`?`inline`:`vertical`}`,e),role:`menu`},n,{"data-menu-list":!0,ref:r}),t)});function LT(e,t){return ki(e).map((e,n)=>{if(S.isValidElement(e)){let{key:r}=e,i=e.props?.eventKey??r;i??=`tmp_key-${[...t,n].join(`-`)}`;let a={key:i,eventKey:i};return S.cloneElement(e,a)}return e})}var RT={adjustX:1,adjustY:1},ste={topLeft:{points:[`bl`,`tl`],overflow:RT},topRight:{points:[`br`,`tr`],overflow:RT},bottomLeft:{points:[`tl`,`bl`],overflow:RT},bottomRight:{points:[`tr`,`br`],overflow:RT},leftTop:{points:[`tr`,`tl`],overflow:RT},leftBottom:{points:[`br`,`bl`],overflow:RT},rightTop:{points:[`tl`,`tr`],overflow:RT},rightBottom:{points:[`bl`,`br`],overflow:RT}},cte={topLeft:{points:[`bl`,`tl`],overflow:RT},topRight:{points:[`br`,`tr`],overflow:RT},bottomLeft:{points:[`tl`,`bl`],overflow:RT},bottomRight:{points:[`tr`,`br`],overflow:RT},rightTop:{points:[`tr`,`tl`],overflow:RT},rightBottom:{points:[`br`,`bl`],overflow:RT},leftTop:{points:[`tl`,`tr`],overflow:RT},leftBottom:{points:[`bl`,`br`],overflow:RT}};function zT(e,t,n){if(t)return t;if(n)return n[e]||n.other}var lte={horizontal:`bottomLeft`,vertical:`rightTop`,"vertical-left":`rightTop`,"vertical-right":`leftTop`};function ute({prefixCls:e,visible:t,children:n,popup:r,popupStyle:i,popupClassName:a,popupOffset:o,disabled:s,mode:c,onVisibleChange:l}){let{getPopupContainer:u,rtl:d,subMenuOpenDelay:f,subMenuCloseDelay:p,builtinPlacements:m,triggerSubMenuAction:h,forceSubMenuRender:g,rootClassName:_,motion:v,defaultMotions:y}=S.useContext(aT),[b,x]=S.useState(!1),C=d?{...cte,...m}:{...ste,...m},w=lte[c],T=zT(c,v,y),E=S.useRef(T);c!==`inline`&&(E.current=T);let D={...E.current,leavedClassName:`${e}-hidden`,removeOnLeave:!1,motionAppear:!0},O=S.useRef();return S.useEffect(()=>(O.current=Oi(()=>{x(t)}),()=>{Oi.cancel(O.current)}),[t]),S.createElement(sm,{prefixCls:e,popupClassName:J(`${e}-popup`,{[`${e}-rtl`]:d},a,_),stretch:c===`horizontal`?`minWidth`:null,getPopupContainer:u,builtinPlacements:C,popupPlacement:w,popupVisible:b,popup:r,popupStyle:i,popupAlign:o&&{offset:o},action:s?[]:[h],mouseEnterDelay:f,mouseLeaveDelay:p,onPopupVisibleChange:l,forceRender:g,popupMotion:D,fresh:!0},n)}function BT(){return BT=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u.current&&f(!1)},[l]);let m={...zT(i,s,c)};n.length>1&&(m.motionAppear=!1);let h=m.onVisibleChanged;return m.onVisibleChanged=e=>(!u.current&&!e&&f(!0),h?.(e)),d?null:S.createElement(oT,{mode:i,locked:!u.current},S.createElement(Od,BT({visible:p},m,{forceRender:o,removeOnLeave:!1,leavedClassName:`${a}-hidden`}),({className:t,style:n})=>S.createElement(IT,{id:e,className:t,style:n},r)))}function VT(){return VT=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{style:n,className:r,styles:i,classNames:a,title:o,eventKey:s,warnKey:c,disabled:l,internalPopupClose:u,children:d,itemIcon:f,expandIcon:p,popupClassName:m,popupOffset:h,popupStyle:g,onClick:_,onMouseEnter:v,onMouseLeave:y,onTitleClick:b,onTitleMouseEnter:x,onTitleMouseLeave:C,popupRender:w,...T}=e,E=iT(s),{prefixCls:D,mode:O,openKeys:k,disabled:A,overflowDisabled:j,activeKey:M,selectedKeys:N,itemIcon:P,expandIcon:F,onItemClick:I,onOpenChange:L,onActive:R,popupRender:z}=S.useContext(aT),{_internalRenderSubMenuItem:B}=S.useContext(fT),{isSubPathKey:V}=S.useContext(dT),H=uT(),U=`${D}-submenu`,W=A||l,ee=S.useRef(),te=S.useRef(),ne=f??P,re=p??F,G=k.includes(s),ie=!j&&G,K=V(N,s),{active:ae,...q}=kT(s,W,x,C),[oe,se]=S.useState(!1),ce=e=>{W||se(e)},le=e=>{ce(!0),v?.({key:s,domEvent:e})},ue=e=>{ce(!1),y?.({key:s,domEvent:e})},de=S.useMemo(()=>ae||(O===`inline`?!1:oe||V([M],s)),[O,ae,M,oe,s,V]),fe=AT(H.length),pe=e=>{W||(b?.({key:s,domEvent:e}),O===`inline`&&L(s,!G))},me=OT(e=>{_?.(MT(e)),I(e)}),he=e=>{O!==`inline`&&L(s,e)},ge=()=>{R(s)},_e=E&&`${E}-popup`,ve=S.useMemo(()=>S.createElement(jT,{icon:O===`horizontal`?void 0:re,props:{...e,isOpen:ie,isSubMenu:!0}},S.createElement(`i`,{className:`${U}-arrow`})),[O,re,e,ie,U]),ye=S.createElement(`div`,VT({role:`menuitem`,style:fe,className:`${U}-title`,tabIndex:W?null:-1,ref:ee,title:typeof o==`string`?o:null,"data-menu-id":j&&E?null:E,"aria-expanded":ie,"aria-haspopup":!0,"aria-controls":_e,"aria-disabled":W,onClick:pe,onFocus:ge},q),o,ve),be=S.useRef(O);O!==`inline`&&H.length>1?be.current=`vertical`:be.current=O;let xe=be.current,Se=S.useMemo(()=>{let t=S.createElement(oT,{classNames:a,styles:i,mode:xe===`horizontal`?`vertical`:xe},S.createElement(IT,{id:_e,ref:te},d)),n=w||z;return n?n(t,{item:e,keys:H}):t},[w,z,H,_e,d,e,xe]);if(!j){let e=be.current;ye=S.createElement(ute,{mode:e,prefixCls:U,visible:!u&&ie&&O!==`inline`,popupClassName:m,popupOffset:h,popupStyle:g,popup:Se,disabled:W,onVisibleChange:he},ye)}let Ce=S.createElement(tS.Item,VT({ref:t,role:`none`},T,{component:`li`,style:n,className:J(U,`${U}-${O}`,r,{[`${U}-open`]:ie,[`${U}-active`]:de,[`${U}-selected`]:K,[`${U}-disabled`]:W}),onMouseEnter:le,onMouseLeave:ue}),ye,!j&&S.createElement(dte,{id:_e,open:ie,keyPath:H},d));return B&&(Ce=B(Ce,e,{selected:K,active:de,open:ie,disabled:W})),S.createElement(oT,{classNames:a,styles:i,onItemClick:me,mode:O===`horizontal`?`vertical`:O,itemIcon:ne,expandIcon:re},Ce)}),UT=S.forwardRef((e,t)=>{let{eventKey:n,children:r}=e,i=uT(n),a=LT(r,i),o=cT();S.useEffect(()=>{if(o)return o.registerPath(n,i),()=>{o.unregisterPath(n,i)}},[i]);let s;return s=o?a:S.createElement(HT,VT({ref:t},e),a),S.createElement(lT.Provider,{value:i},s)});function WT({className:e,style:t}){let{prefixCls:n}=S.useContext(aT);return cT()?null:S.createElement(`li`,{role:`separator`,className:J(`${n}-item-divider`,e),style:t})}function GT(){return GT=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:n,title:r,eventKey:i,children:a,...o}=e,{prefixCls:s,classNames:c,styles:l}=S.useContext(aT),u=`${s}-item-group`;return S.createElement(`li`,GT({ref:t,role:`presentation`},o,{onClick:e=>e.stopPropagation(),className:J(u,n)}),S.createElement(`div`,{role:`presentation`,className:J(`${u}-title`,c?.listTitle),style:l?.listTitle,title:typeof r==`string`?r:void 0},r),S.createElement(`ul`,{role:`group`,className:J(`${u}-list`,c?.list),style:l?.list},a))}),qT=S.forwardRef((e,t)=>{let{eventKey:n,children:r}=e,i=LT(r,uT(n));return cT()?i:S.createElement(KT,GT({ref:t},gi(e,[`warnKey`])),i)});function JT(){return JT=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(e&&typeof e==`object`){let{label:c,children:l,key:u,type:d,extra:f,...p}=e,m=u??`tmp-${s}`;return l||d===`group`?d===`group`?S.createElement(i,JT({key:m},p,{title:c}),YT(l,t,n)):S.createElement(a,JT({key:m},p,{title:c}),YT(l,t,n)):d===`divider`?S.createElement(o,JT({key:m},p)):S.createElement(r,JT({key:m},p,{extra:f}),c,(!!f||f===0)&&S.createElement(`span`,{className:`${n}-item-extra`},f))}return null}).filter(e=>e)}function XT(e,t,n,r,i){let a=e,o={divider:WT,item:PT,group:qT,submenu:UT,...r};return t&&(a=YT(t,o,i)),LT(a,n)}function ZT(){return ZT=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n=`rc-menu`,rootClassName:r,style:i,className:a,styles:o,classNames:s,tabIndex:c=0,items:l,children:u,direction:d,id:f,mode:p=`vertical`,inlineCollapsed:m,disabled:h,disabledOverflow:g,subMenuOpenDelay:_=.1,subMenuCloseDelay:v=.1,forceSubMenuRender:y,defaultOpenKeys:b,openKeys:x,activeKey:C,defaultActiveFirst:w,selectable:T=!0,multiple:E=!1,defaultSelectedKeys:D,selectedKeys:O,onSelect:k,onDeselect:A,inlineIndent:j=24,motion:M,defaultMotions:N,triggerSubMenuAction:P=`hover`,builtinPlacements:F,itemIcon:I,expandIcon:L,overflowedIndicator:R=`...`,overflowedIndicatorPopupClassName:z,getPopupContainer:B,onClick:V,onOpenChange:H,onKeyDown:U,openAnimation:W,openTransitionName:ee,_internalRenderMenuItem:te,_internalRenderSubMenuItem:ne,_internalComponents:re,popupRender:G,...ie}=e,[K,ae]=S.useMemo(()=>[XT(u,l,QT,re,n),XT(u,l,QT,{},n)],[u,l,re]),[q,oe]=S.useState(!1),se=S.useRef(),ce=Xn(f?`rc-menu-uuid-${f}`:`rc-menu-uuid`),le=d===`rtl`,[ue,de]=Gn(b,x),fe=ue||QT,pe=(e,t=!1)=>{function n(){de(e),H?.(e)}t?(0,Vi.flushSync)(n):n()},[me,he]=S.useState(fe),ge=S.useRef(!1),[_e,ve]=S.useMemo(()=>(p===`inline`||p===`vertical`)&&m?[`vertical`,m]:[p,!1],[p,m]),ye=_e===`inline`,[be,xe]=S.useState(_e),[Se,Ce]=S.useState(ve);S.useEffect(()=>{xe(_e),Ce(ve),ge.current&&(ye?de(me):pe(QT))},[_e,ve]);let[we,Te]=S.useState(0),Ee=we>=K.length-1||be!==`horizontal`||g;S.useEffect(()=>{ye&&he(fe)},[fe]),S.useEffect(()=>(ge.current=!0,()=>{ge.current=!1}),[]);let{registerPath:De,unregisterPath:Oe,refreshOverflowKeys:ke,isSubPathKey:Ae,getKeyPath:je,getKeys:Me,getSubPathKeys:Ne}=rte(),Pe=S.useMemo(()=>({registerPath:De,unregisterPath:Oe}),[De,Oe]),Fe=S.useMemo(()=>({isSubPathKey:Ae}),[Ae]);S.useEffect(()=>{ke(Ee?QT:K.slice(we+1).map(e=>e.key))},[we,Ee]);let[Ie,Le]=Gn(C||w&&K[0]?.key,C),Re=OT(e=>{Le(e)}),ze=OT(()=>{Le(void 0)});(0,S.useImperativeHandle)(t,()=>({list:se.current,focus:e=>{let t=Me(),{elements:n,key2element:r,element2key:i}=wT(t,ce),a=ST(se.current,n),o;o=Ie&&t.includes(Ie)?Ie:a[0]?i.get(a[0]):K.find(e=>!e.props.disabled)?.key;let s=r.get(o);o&&s&&s?.focus?.(e)},findItem:({key:e})=>{let{key2element:t}=wT(Me(),ce);return t.get(e)||null}}));let[Be,Ve]=Gn(D||[],O),He=S.useMemo(()=>Array.isArray(Be)?Be:Be==null?QT:[Be],[Be]),Ue=e=>{if(T){let{key:t}=e,n=He.includes(t),r;r=E?n?He.filter(e=>e!==t):[...He,t]:[t],Ve(r);let i={...e,selectedKeys:r};n?A?.(i):k?.(i)}!E&&fe.length&&be!==`inline`&&pe(QT)},We=OT(e=>{V?.(MT(e)),Ue(e)}),Ge=OT((e,t)=>{let n=fe.filter(t=>t!==e);if(t)n.push(e);else if(be!==`inline`){let t=Ne(e);n=n.filter(e=>!t.has(e))}fi(fe,n,!0)||pe(n,!0)}),Ke=ete(be,Ie,le,ce,se,Me,je,Le,(e,t)=>{Ge(e,t??!fe.includes(e))},U);S.useEffect(()=>{oe(!0)},[]);let qe=S.useMemo(()=>({_internalRenderMenuItem:te,_internalRenderSubMenuItem:ne}),[te,ne]),Je=be!==`horizontal`||g?K:K.map((e,t)=>S.createElement(oT,{key:e.key,overflowDisabled:t>we,classNames:s,styles:o},e)),Ye=S.createElement(tS,ZT({id:f,ref:se,prefixCls:`${n}-overflow`,component:`ul`,itemComponent:PT,className:J(n,`${n}-root`,`${n}-${be}`,a,{[`${n}-inline-collapsed`]:Se,[`${n}-rtl`]:le},r),dir:d,style:i,role:`menu`,tabIndex:c,data:Je,renderRawItem:e=>e,renderRawRest:e=>{let t=e.length,n=t?K.slice(-t):null;return S.createElement(UT,{eventKey:DT,title:R,disabled:Ee,internalPopupClose:t===0,popupClassName:z},n)},maxCount:be!==`horizontal`||g?tS.INVALIDATE:tS.RESPONSIVE,ssr:`full`,"data-menu-list":!0,onVisibleChange:e=>{Te(e)},onKeyDown:Ke},ie));return S.createElement(fT.Provider,{value:qe},S.createElement(nT.Provider,{value:ce},S.createElement(oT,{prefixCls:n,rootClassName:r,classNames:s,styles:o,mode:be,openKeys:fe,rtl:le,disabled:h,motion:q?M:null,defaultMotions:q?N:null,activeKey:Ie,onActive:Re,onInactive:ze,selectedKeys:He,inlineIndent:j,subMenuOpenDelay:_,subMenuCloseDelay:v,forceSubMenuRender:y,builtinPlacements:F,triggerSubMenuAction:P,getPopupContainer:B,itemIcon:I,expandIcon:L,onItemClick:We,onOpenChange:Ge,popupRender:G},S.createElement(dT.Provider,{value:Fe},Ye),S.createElement(`div`,{style:{display:`none`},"aria-hidden":!0},S.createElement(sT.Provider,{value:Pe},ae)))))});$T.Item=PT,$T.SubMenu=UT,$T.ItemGroup=qT,$T.Divider=WT;var eE=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`bars`,theme:`outlined`}}))());function tE(){return tE=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,tE({},e,{ref:t,icon:eE.default}))),rE=S.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}}),iE=e=>{let{antCls:t,componentCls:n,colorText:r,footerBg:i,headerHeight:a,headerPadding:o,headerColor:s,footerPadding:c,fontSize:l,bodyBg:u,headerBg:d}=e;return{[n]:{display:`flex`,flex:`auto`,flexDirection:`column`,minHeight:0,background:u,"&, *":{boxSizing:`border-box`},[`&${n}-has-sider`]:{flexDirection:`row`,[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:`0 0 auto`},"&-rtl":{direction:`rtl`}},[`${n}-header`]:{height:a,padding:o,color:s,lineHeight:Y(a),background:d,[`${t}-menu`]:{lineHeight:`inherit`}},[`${n}-footer`]:{padding:c,color:r,fontSize:l,background:i},[`${n}-content`]:{flex:`auto`,color:r,minHeight:0}}},aE=e=>{let{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:i,controlHeightSM:a,marginXXS:o,colorTextLightSolid:s,colorBgContainer:c}=e,l=r*1.25;return{colorBgHeader:`#001529`,colorBgBody:t,colorBgTrigger:`#002140`,bodyBg:t,headerBg:`#001529`,headerHeight:n*2,headerPadding:`0 ${l}px`,headerColor:i,footerPadding:`${a}px ${l}px`,footerBg:t,siderBg:`#001529`,triggerHeight:r+o*2,triggerBg:`#002140`,triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:i}},oE=[[`colorBgBody`,`bodyBg`],[`colorBgHeader`,`headerBg`],[`colorBgTrigger`,`triggerBg`]],sE=Ql(`Layout`,iE,aE,{deprecatedTokens:oE}),cE=Ql([`Layout`,`Sider`],e=>{let{componentCls:t,siderBg:n,motionDurationMid:r,motionDurationSlow:i,antCls:a,triggerHeight:o,triggerColor:s,triggerBg:c,headerHeight:l,zeroTriggerWidth:u,zeroTriggerHeight:d,borderRadiusLG:f,lightSiderBg:p,lightTriggerColor:m,lightTriggerBg:h,bodyBg:g}=e;return{[t]:{position:`relative`,minWidth:0,background:n,transition:`all ${r}, background 0s`,"&-has-trigger":{paddingBottom:o},"&-right":{order:1},[`${t}-children`]:{height:`100%`,marginTop:-.1,paddingTop:.1,[`${a}-menu${a}-menu-inline-collapsed`]:{width:`auto`}},[`&-zero-width ${t}-children`]:{overflow:`hidden`},[`${t}-trigger`]:{position:`fixed`,bottom:0,zIndex:1,height:o,color:s,lineHeight:Y(o),textAlign:`center`,background:c,cursor:`pointer`,transition:`all ${r}`},[`${t}-zero-width-trigger`]:{position:`absolute`,top:l,insetInlineEnd:e.calc(u).mul(-1).equal(),zIndex:1,width:u,height:d,color:s,fontSize:e.fontSizeXL,display:`flex`,alignItems:`center`,justifyContent:`center`,background:n,borderRadius:`0 ${Y(f)} ${Y(f)} 0`,cursor:`pointer`,transition:`background-color ${i} ease`,"&::after":{position:`absolute`,inset:0,background:`transparent`,transition:`all ${i}`,content:`""`},"&:hover::after":{background:`rgba(255, 255, 255, 0.2)`},"&-right":{insetInlineStart:e.calc(u).mul(-1).equal(),borderRadius:`${Y(f)} 0 0 ${Y(f)}`}},"&-light":{background:p,[`${t}-trigger`]:{color:m,background:h},[`${t}-zero-width-trigger`]:{color:m,background:h,border:`1px solid ${g}`,borderInlineStart:0}}}}},aE,{deprecatedTokens:oE}),lE={xs:`479.98px`,sm:`575.98px`,md:`767.98px`,lg:`991.98px`,xl:`1199.98px`,xxl:`1599.98px`,xxxl:`1839.98px`},uE=e=>!Number.isNaN(Number.parseFloat(e))&&Number.isFinite(Number(e)),dE=S.createContext({}),fE=(()=>{let e=0;return(t=``)=>(e+=1,`${t}${e}`)})(),pE=S.forwardRef((e,t)=>{let{prefixCls:n,className:r,trigger:i,children:a,defaultCollapsed:o=!1,theme:s=`dark`,style:c={},collapsible:l=!1,reverseArrow:u=!1,width:d=200,collapsedWidth:f=80,zeroWidthTriggerStyle:p,breakpoint:m,onCollapse:h,onBreakpoint:g,..._}=e,{siderHook:v}=(0,S.useContext)(rE),[y,b]=(0,S.useState)(`collapsed`in e?e.collapsed:o),[x,C]=(0,S.useState)(!1);(0,S.useEffect)(()=>{`collapsed`in e&&b(e.collapsed)},[e.collapsed]);let w=(t,n)=>{`collapsed`in e||b(t),h?.(t,n)},{getPrefixCls:T,direction:E}=(0,S.useContext)(ga),D=T(`layout-sider`,n),[O,k]=cE(D),A=(0,S.useRef)(null);A.current=e=>{C(e.matches),g?.(e.matches),y!==e.matches&&w(e.matches,`responsive`)},(0,S.useEffect)(()=>{function e(e){return A.current?.(e)}let t;return window?.matchMedia!==void 0&&m&&m in lE&&(t=window.matchMedia(`screen and (max-width: ${lE[m]})`),typeof t?.addEventListener==`function`&&t.addEventListener(`change`,e),e(t)),()=>{typeof t?.removeEventListener==`function`&&t.removeEventListener(`change`,e)}},[m]),(0,S.useEffect)(()=>{let e=fE(`ant-sider-`);return v.addSider(e),()=>v.removeSider(e)},[]);let j=()=>{w(!y,`clickTrigger`)},M=gi(_,[`collapsed`]),N=y?f:d,P=uE(N)?`${N}px`:String(N),F=Number.parseFloat(String(f||0))===0?S.createElement(`span`,{onClick:j,className:J(`${D}-zero-width-trigger`,`${D}-zero-width-trigger-${u?`right`:`left`}`),style:p},i||S.createElement(nE,null)):null,I=E===`rtl`==!u,L={expanded:I?S.createElement(Vg,null):S.createElement(Xw,null),collapsed:I?S.createElement(Xw,null):S.createElement(Vg,null)}[y?`collapsed`:`expanded`],R=i===null?null:F||S.createElement(`div`,{className:`${D}-trigger`,onClick:j,style:{width:P}},i||L),z={...c,flex:`0 0 ${P}`,maxWidth:P,minWidth:P,width:P},B=J(D,`${D}-${s}`,{[`${D}-collapsed`]:!!y,[`${D}-has-trigger`]:l&&i!==null&&!F,[`${D}-below`]:!!x,[`${D}-zero-width`]:Number.parseFloat(P)===0},r,O,k),V=S.useMemo(()=>({siderCollapsed:y}),[y]);return S.createElement(dE.Provider,{value:V},S.createElement(`aside`,{className:B,...M,style:z,ref:t},S.createElement(`div`,{className:`${D}-children`},a),l||x&&F?R:null))}),mE=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z`}}]},name:`ellipsis`,theme:`outlined`}}))());function hE(){return hE=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,hE({},e,{ref:t,icon:mE.default}))),_E=(0,S.createContext)({prefixCls:``,firstLevel:!0,inlineCollapsed:!1,styles:null,classNames:null}),vE=e=>{let{prefixCls:t,className:n,dashed:r,...i}=e,{getPrefixCls:a}=S.useContext(ga),o=J({[`${a(`menu`,t)}-item-divider-dashed`]:!!r},n);return S.createElement(WT,{className:o,...i})},yE=e=>{let{className:t,children:n,icon:r,title:i,danger:a,extra:o}=e,{prefixCls:s,firstLevel:c,direction:l,disableMenuItemTitleTooltip:u,tooltip:d,inlineCollapsed:f,styles:p,classNames:m}=S.useContext(_E),h=e=>{let t=n?.[0],i=S.createElement(`span`,{className:J(`${s}-title-content`,c?m?.itemContent:m?.subMenu?.itemContent,{[`${s}-title-content-with-extra`]:!!o||o===0}),style:c?p?.itemContent:p?.subMenu?.itemContent},n);return(!r||S.isValidElement(n)&&n.type===`span`)&&n&&e&&c&&typeof t==`string`?S.createElement(`div`,{className:`${s}-inline-collapsed-noicon`},t.charAt(0)):i},{siderCollapsed:g}=S.useContext(dE),_=i;i===void 0?_=c?n:``:i===!1&&(_=``);let v=d===!1?void 0:d,y=v&&v.title!==void 0?v.title:_,b={...v??null,title:y};!g&&!f&&(b.title=null,b.open=!1);let x=ki(n).length,C=S.createElement(PT,{...gi(e,[`title`,`icon`,`danger`]),className:J(c?m?.item:m?.subMenu?.item,{[`${s}-item-danger`]:a,[`${s}-item-only-child`]:(r?x+1:x)===1},t),style:{...c?p?.item:p?.subMenu?.item,...e.style},title:typeof i==`string`?i:void 0},um(r,e=>({className:J(`${s}-item-icon`,c?m?.itemIcon:m?.subMenu?.itemIcon,e.className),style:{...c?p?.itemIcon:p?.subMenu?.itemIcon,...e.style}})),h(f));if(!u&&d!==!1){let e=v&&v.placement?v.placement:l===`rtl`?`left`:`right`,t=`${s}-inline-collapsed-tooltip`,n=e=>({...e,root:J(t,e?.root)}),r=v&&typeof v.classNames==`function`?e=>n(v.classNames(e)):n(v?.classNames);C=S.createElement(Iw,{...b,placement:e,classNames:r},C)}return C},bE=S.createContext(null),xE=S.forwardRef((e,t)=>{let{children:n,...r}=e,i=S.useContext(bE),a=S.useMemo(()=>({...i,...r}),[i,r.prefixCls,r.mode,r.selectable,r.rootClassName]),o=fr(n),s=lr(t,o?pr(n):null);return S.createElement(bE.Provider,{value:a},S.createElement(Ay,{space:!0},o?S.cloneElement(n,{ref:s}):n))}),SE=e=>{let{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:i,lineWidth:a,lineType:o,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${Y(a)} ${o} ${i}`,boxShadow:`none`,"&::after":{display:`block`,clear:`both`,height:0,content:`"\\20"`},[`${t}-item, ${t}-submenu`]:{position:`relative`,display:`inline-block`,verticalAlign:`bottom`,paddingInline:s},[`> ${t}-item:hover, > ${t}-item-active, - > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:`transparent`},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color`,`background-color`].map(e=>`${e} ${n}`).join(`,`)},[`${t}-submenu-arrow`]:{display:`none`}}}},zee=({componentCls:e,menuArrowOffset:t,calc:n})=>({[`${e}-rtl`]:{direction:`rtl`},[`${e}-submenu-rtl`]:{transformOrigin:`100% 0`},[`${e}-rtl${e}-vertical, - ${e}-submenu-rtl ${e}-vertical`]:{[`${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${Y(n(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${Y(t)})`}}}}),XE=e=>Kl(e),ZE=(e,t)=>{let{componentCls:n,itemColor:r,itemSelectedColor:i,subMenuItemSelectedColor:a,groupTitleColor:o,itemBg:s,subMenuItemBg:c,itemSelectedBg:l,activeBarHeight:u,activeBarWidth:d,activeBarBorderWidth:f,motionDurationSlow:p,motionEaseInOut:m,motionEaseOut:h,itemPaddingInline:g,motionDurationMid:_,itemHoverColor:v,lineType:y,colorSplit:b,itemDisabledColor:x,dangerItemColor:S,dangerItemHoverColor:C,dangerItemSelectedColor:w,dangerItemActiveBg:T,dangerItemSelectedBg:E,popupBg:D,itemHoverBg:O,itemActiveBg:k,menuSubMenuBg:A,horizontalItemSelectedColor:j,horizontalItemSelectedBg:M,horizontalItemBorderRadius:N,horizontalItemHoverBg:P}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:s,[`&${n}-root:focus-visible`]:{...XE(e)},[`${n}-item`]:{"&-group-title, &-extra":{color:o}},[`${n}-submenu-selected > ${n}-submenu-title`]:{color:a},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:{...XE(e)}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${x} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:v}},[`${n}-submenu:not(${n}-submenu-selected)`]:{[`> ${n}-submenu-title:hover`]:{color:v}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:k}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:k}}},[`${n}-item-danger`]:{color:S,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:C}},[`&${n}-item:active`]:{background:T}},[`${n}-item a`]:{"&, &:hover":{color:`inherit`}},[`${n}-item-selected`]:{color:i,[`&${n}-item-danger`]:{color:w},"a, a:hover":{color:`inherit`}},[`& ${n}-item-selected`]:{backgroundColor:l,[`&${n}-item-danger`]:{backgroundColor:E}},[`&${n}-submenu > ${n}`]:{backgroundColor:A},[`&${n}-popup > ${n}`]:{backgroundColor:D},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:D},[`&${n}-horizontal`]:{...t===`dark`?{borderBottom:0}:{},[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:e.calc(f).mul(-1).equal(),marginBottom:0,borderRadius:N,"&::after":{position:`absolute`,insetInline:g,bottom:0,borderBottom:`${Y(u)} solid transparent`,transition:`border-color ${p} ${m}`,content:`""`},"&:hover, &-active, &-open":{background:P,"&::after":{borderBottomWidth:u,borderBottomColor:j}},"&-selected":{color:j,backgroundColor:M,"&:hover":{backgroundColor:M},"&::after":{borderBottomWidth:u,borderBottomColor:j}}}},[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${Y(f)} ${y} ${b}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:c},[`${n}-item`]:{position:`relative`,"&::after":{position:`absolute`,insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Y(d)} solid ${i}`,transform:`scaleY(0.0001)`,opacity:0,transition:[`transform`,`opacity`].map(e=>`${e} ${_} ${h}`).join(`,`),content:`""`},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:w}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:`scaleY(1)`,opacity:1,transition:[`transform`,`opacity`].map(e=>`${e} ${_} ${m}`).join(`,`)}}}}}},QE=e=>{let{componentCls:t,itemHeight:n,itemMarginInline:r,padding:i,menuArrowSize:a,marginXS:o,itemMarginBlock:s,itemWidth:c,itemPaddingInline:l}=e,u=e.calc(a).add(i).add(o).equal();return{[`${t}-item`]:{position:`relative`,overflow:`hidden`},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:Y(n),paddingInline:l,overflow:`hidden`,textOverflow:`ellipsis`,marginInline:r,marginBlock:s,width:c},[`> ${t}-item, + > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:`transparent`},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color`,`background-color`].map(e=>`${e} ${n}`).join(`,`)},[`${t}-submenu-arrow`]:{display:`none`}}}},CE=({componentCls:e,menuArrowOffset:t,calc:n})=>({[`${e}-rtl`]:{direction:`rtl`},[`${e}-submenu-rtl`]:{transformOrigin:`100% 0`},[`${e}-rtl${e}-vertical, + ${e}-submenu-rtl ${e}-vertical`]:{[`${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${Y(n(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${Y(t)})`}}}}),wE=e=>Kl(e),TE=(e,t)=>{let{componentCls:n,itemColor:r,itemSelectedColor:i,subMenuItemSelectedColor:a,groupTitleColor:o,itemBg:s,subMenuItemBg:c,itemSelectedBg:l,activeBarHeight:u,activeBarWidth:d,activeBarBorderWidth:f,motionDurationSlow:p,motionEaseInOut:m,motionEaseOut:h,itemPaddingInline:g,motionDurationMid:_,itemHoverColor:v,lineType:y,colorSplit:b,itemDisabledColor:x,dangerItemColor:S,dangerItemHoverColor:C,dangerItemSelectedColor:w,dangerItemActiveBg:T,dangerItemSelectedBg:E,popupBg:D,itemHoverBg:O,itemActiveBg:k,menuSubMenuBg:A,horizontalItemSelectedColor:j,horizontalItemSelectedBg:M,horizontalItemBorderRadius:N,horizontalItemHoverBg:P}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:s,[`&${n}-root:focus-visible`]:{...wE(e)},[`${n}-item`]:{"&-group-title, &-extra":{color:o}},[`${n}-submenu-selected > ${n}-submenu-title`]:{color:a},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:{...wE(e)}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${x} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:v}},[`${n}-submenu:not(${n}-submenu-selected)`]:{[`> ${n}-submenu-title:hover`]:{color:v}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:k}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:k}}},[`${n}-item-danger`]:{color:S,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:C}},[`&${n}-item:active`]:{background:T}},[`${n}-item a`]:{"&, &:hover":{color:`inherit`}},[`${n}-item-selected`]:{color:i,[`&${n}-item-danger`]:{color:w},"a, a:hover":{color:`inherit`}},[`& ${n}-item-selected`]:{backgroundColor:l,[`&${n}-item-danger`]:{backgroundColor:E}},[`&${n}-submenu > ${n}`]:{backgroundColor:A},[`&${n}-popup > ${n}`]:{backgroundColor:D},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:D},[`&${n}-horizontal`]:{...t===`dark`?{borderBottom:0}:{},[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:e.calc(f).mul(-1).equal(),marginBottom:0,borderRadius:N,"&::after":{position:`absolute`,insetInline:g,bottom:0,borderBottom:`${Y(u)} solid transparent`,transition:`border-color ${p} ${m}`,content:`""`},"&:hover, &-active, &-open":{background:P,"&::after":{borderBottomWidth:u,borderBottomColor:j}},"&-selected":{color:j,backgroundColor:M,"&:hover":{backgroundColor:M},"&::after":{borderBottomWidth:u,borderBottomColor:j}}}},[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${Y(f)} ${y} ${b}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:c},[`${n}-item`]:{position:`relative`,"&::after":{position:`absolute`,insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Y(d)} solid ${i}`,transform:`scaleY(0.0001)`,opacity:0,transition:[`transform`,`opacity`].map(e=>`${e} ${_} ${h}`).join(`,`),content:`""`},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:w}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:`scaleY(1)`,opacity:1,transition:[`transform`,`opacity`].map(e=>`${e} ${_} ${m}`).join(`,`)}}}}}},EE=e=>{let{componentCls:t,itemHeight:n,itemMarginInline:r,padding:i,menuArrowSize:a,marginXS:o,itemMarginBlock:s,itemWidth:c,itemPaddingInline:l}=e,u=e.calc(a).add(i).add(o).equal();return{[`${t}-item`]:{position:`relative`,overflow:`hidden`},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:Y(n),paddingInline:l,overflow:`hidden`,textOverflow:`ellipsis`,marginInline:r,marginBlock:s,width:c},[`> ${t}-item, > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:Y(n)},[`${t}-item-group-list ${t}-submenu-title, - ${t}-submenu-title`]:{paddingInlineEnd:u}}},Bee=e=>{let{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:i,dropdownWidth:a,controlHeightLG:o,motionEaseOut:s,paddingXL:c,itemMarginInline:l,fontSizeLG:u,motionDurationFast:d,motionDurationSlow:f,paddingXS:p,boxShadowSecondary:m,collapsedWidth:h,collapsedIconSize:g}=e,_={height:r,lineHeight:Y(r),listStylePosition:`inside`,listStyleType:`disc`};return[{[t]:{"&-inline, &-vertical":{[`&${t}-root`]:{boxShadow:`none`},...QE(e)}},[`${t}-submenu-popup`]:{[`${t}-vertical`]:{...QE(e),boxShadow:m}}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:a,maxHeight:`calc(100vh - ${Y(e.calc(o).mul(2.5).equal())})`,padding:`0`,overflow:`hidden`,borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:`hidden`,overflowY:`auto`}}},{[`${t}-inline`]:{width:`100%`,[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:`flex`,alignItems:`center`,transition:[`border-color ${f}`,`background-color ${f}`,`padding ${d} ${s}`].join(`,`),[`> ${t}-title-content`]:{flex:`auto`,minWidth:0,overflow:`hidden`,textOverflow:`ellipsis`},"> *":{flex:`none`}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:`none`,[`& > ${t}-submenu > ${t}-submenu-title`]:_,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:_}},{[`${t}-inline-collapsed`]:{width:h,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:u,textAlign:`center`}}},[`> ${t}-item, + ${t}-submenu-title`]:{paddingInlineEnd:u}}},DE=e=>{let{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:i,dropdownWidth:a,controlHeightLG:o,motionEaseOut:s,paddingXL:c,itemMarginInline:l,fontSizeLG:u,motionDurationFast:d,motionDurationSlow:f,paddingXS:p,boxShadowSecondary:m,collapsedWidth:h,collapsedIconSize:g}=e,_={height:r,lineHeight:Y(r),listStylePosition:`inside`,listStyleType:`disc`};return[{[t]:{"&-inline, &-vertical":{[`&${t}-root`]:{boxShadow:`none`},...EE(e)}},[`${t}-submenu-popup`]:{[`${t}-vertical`]:{...EE(e),boxShadow:m}}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:a,maxHeight:`calc(100vh - ${Y(e.calc(o).mul(2.5).equal())})`,padding:`0`,overflow:`hidden`,borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:`hidden`,overflowY:`auto`}}},{[`${t}-inline`]:{width:`100%`,[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:`flex`,alignItems:`center`,transition:[`border-color ${f}`,`background-color ${f}`,`padding ${d} ${s}`].join(`,`),[`> ${t}-title-content`]:{flex:`auto`,minWidth:0,overflow:`hidden`,textOverflow:`ellipsis`},"> *":{flex:`none`}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:`none`,[`& > ${t}-submenu > ${t}-submenu-title`]:_,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:_}},{[`${t}-inline-collapsed`]:{width:h,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:u,textAlign:`center`}}},[`> ${t}-item, > ${t}-item-group > ${t}-item-group-list > ${t}-item, > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, > ${t}-submenu > ${t}-submenu-title`]:{display:`flex`,alignItems:`center`,justifyContent:`center`,insetInlineStart:0,paddingInline:`calc(50% - ${Y(e.calc(g).div(2).equal())} - ${Y(l)})`,textOverflow:`clip`,[` ${t}-submenu-arrow, ${t}-submenu-expand-icon - `]:{opacity:0},[`> ${t}-title-content`]:{width:0,opacity:0,overflow:`hidden`},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:g,lineHeight:Y(r),"+ span":{display:`inline-block`,width:0,opacity:0,overflow:`hidden`,marginInlineStart:0}}},[`${t}-item-icon, ${n}`]:{display:`inline-block`},"&-tooltip":{pointerEvents:`none`,[`${t}-item-icon, ${n}`]:{display:`none`},"a, a:hover":{color:i}},[`${t}-item-group-title`]:{...Hl,paddingInline:p}}}]},$E=e=>{let{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:i,motionEaseOut:a,iconCls:o,iconSize:s,iconMarginInlineEnd:c}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:`relative`,display:`block`,margin:0,whiteSpace:`nowrap`,cursor:`pointer`,transition:[`border-color ${n}`,`background-color ${n}`,`padding calc(${n} + 0.1s) ${i}`].join(`,`),[`${t}-item-icon, ${o}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${a}`,`margin ${n} ${i}`,`color ${n}`].join(`,`),"+ span":{marginInlineStart:c,opacity:1,transition:[`opacity ${n} ${i}`,`margin ${n}`,`color ${n}`].join(`,`)}},[`${t}-item-icon`]:{...Wl()},[`&${t}-item-only-child`]:{[`> ${o}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:`none !important`,cursor:`not-allowed`,"&::after":{borderColor:`transparent !important`},a:{color:`inherit !important`,cursor:`not-allowed`,pointerEvents:`none`},[`> ${t}-submenu-title`]:{color:`inherit !important`,cursor:`not-allowed`}}}},eD=e=>{let{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:i,menuArrowSize:a,menuArrowOffset:o}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:`absolute`,top:`50%`,insetInlineEnd:e.margin,width:a,color:`currentcolor`,transform:`translateY(-50%)`,transition:[`transform`,`opacity`].map(e=>`${e} ${n}`).join(`,`)},"&-arrow":{"&::before, &::after":{position:`absolute`,width:e.calc(a).mul(.6).equal(),height:e.calc(a).mul(.15).equal(),backgroundColor:`currentcolor`,borderRadius:i,transition:[`background-color`,`transform`,`top`,`color`].map(e=>`${e} ${n} ${r}`).join(`,`),content:`""`},"&::before":{transform:`rotate(45deg) translateY(${Y(e.calc(o).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${Y(o)})`}}}}},Vee=e=>{let{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:i,motionDurationMid:a,motionEaseInOut:o,paddingXS:s,padding:c,colorSplit:l,lineWidth:u,zIndexPopup:d,borderRadiusLG:f,subMenuItemBorderRadius:p,menuArrowSize:m,menuArrowOffset:h,lineType:g,groupTitleLineHeight:_,groupTitleFontSize:v}=e;return[{"":{[n]:{...Gl(),"&-hidden":{display:`none`}}},[`${n}-submenu-hidden`]:{display:`none`}},{[n]:{...Ul(e),...Gl(),marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:`none`,outline:`none`,transition:`width ${i} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:`none`},"&-overflow":{display:`flex`,[`${n}-item`]:{flex:`none`}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${Y(s)} ${Y(c)}`,fontSize:v,lineHeight:_,transition:`all ${i}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color`,`background-color`].map(e=>`${e} ${i} ${o}`).join(`,`)},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${i}`,`background-color ${i}`,`padding ${a}`].map(e=>`${e} ${o}`).join(`,`)},[`${n}-submenu ${n}-sub`]:{cursor:`initial`,transition:[`background-color`,`padding`].map(e=>`${e} ${i} ${o}`).join(`,`)},[`${n}-title-content`]:{transition:`color ${i}`,"&-with-extra":{display:`inline-flex`,alignItems:`center`,width:`100%`},[`> ${t}-typography-ellipsis-single-line`]:{display:`inline`,verticalAlign:`unset`},[`${n}-item-extra`]:{marginInlineStart:`auto`,paddingInlineStart:e.padding}},[`${n}-item a`]:{"&::before":{position:`absolute`,inset:0,backgroundColor:`transparent`,content:`""`}},[`${n}-item-divider`]:{overflow:`hidden`,lineHeight:0,borderColor:l,borderStyle:g,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:`dashed`}},...$E(e),[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${Y(e.calc(r).mul(2).equal())} ${Y(c)}`}}},"&-submenu":{"&-popup":{position:`absolute`,zIndex:d,borderRadius:f,boxShadow:`none`,transformOrigin:`0 0`,[`&${n}-submenu`]:{background:`transparent`},"&::before":{position:`absolute`,inset:0,zIndex:-1,width:`100%`,height:`100%`,opacity:0,content:`""`},[`> ${n}`]:{borderRadius:f,...$E(e),...eD(e),[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:p},[`${n}-submenu-title::after`]:{transition:`transform ${i} ${o}`}}},"&-placement-leftTop, &-placement-bottomRight":{transformOrigin:`100% 0`},"&-placement-leftBottom, &-placement-topRight":{transformOrigin:`100% 100%`},"&-placement-rightBottom, &-placement-topLeft":{transformOrigin:`0 100%`},"&-placement-bottomLeft, &-placement-rightTop":{transformOrigin:`0 0`},"&-placement-leftTop, &-placement-leftBottom":{paddingInlineEnd:e.paddingXS},"&-placement-rightTop, &-placement-rightBottom":{paddingInlineStart:e.paddingXS},"&-placement-topRight, &-placement-topLeft":{paddingBottom:e.paddingXS},"&-placement-bottomRight, &-placement-bottomLeft":{paddingTop:e.paddingXS}},...eD(e),[`&-inline-collapsed ${n}-submenu-arrow, - &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Y(h)})`},"&::after":{transform:`rotate(45deg) translateX(${Y(e.calc(h).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${Y(e.calc(m).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${Y(e.calc(h).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${Y(h)})`}}}},{[`${t}-layout-header`]:{[n]:{lineHeight:`inherit`}}}]},Hee=e=>{let{colorPrimary:t,colorError:n,colorTextDisabled:r,colorErrorBg:i,colorText:a,colorTextDescription:o,colorBgContainer:s,colorFillAlter:c,colorFillContent:l,lineWidth:u,lineWidthBold:d,controlItemBgActive:f,colorBgTextHover:p,controlHeightLG:m,lineHeight:h,colorBgElevated:g,marginXXS:_,padding:v,fontSize:y,controlHeightSM:b,fontSizeLG:x,colorTextLightSolid:S,colorErrorHover:C}=e,w=e.activeBarWidth??0,T=e.activeBarBorderWidth??u,E=e.itemMarginInline??e.marginXXS,D=new Nc(S).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:a,itemColor:a,colorItemTextHover:a,itemHoverColor:a,colorItemTextHoverHorizontal:t,horizontalItemHoverColor:t,colorGroupTitle:o,groupTitleColor:o,colorItemTextSelected:t,itemSelectedColor:t,subMenuItemSelectedColor:t,colorItemTextSelectedHorizontal:t,horizontalItemSelectedColor:t,colorItemBg:s,itemBg:s,colorItemBgHover:p,itemHoverBg:p,colorItemBgActive:l,itemActiveBg:f,colorSubItemBg:c,subMenuItemBg:c,colorItemBgSelected:f,itemSelectedBg:f,colorItemBgSelectedHorizontal:`transparent`,horizontalItemSelectedBg:`transparent`,colorActiveBarWidth:0,activeBarWidth:w,colorActiveBarHeight:d,activeBarHeight:d,colorActiveBarBorderSize:u,activeBarBorderWidth:T,colorItemTextDisabled:r,itemDisabledColor:r,colorDangerItemText:n,dangerItemColor:n,colorDangerItemTextHover:n,dangerItemHoverColor:n,colorDangerItemTextSelected:n,dangerItemSelectedColor:n,colorDangerItemBgActive:i,dangerItemActiveBg:i,colorDangerItemBgSelected:i,dangerItemSelectedBg:i,itemMarginInline:E,horizontalItemBorderRadius:0,horizontalItemHoverBg:`transparent`,itemHeight:m,groupTitleLineHeight:h,collapsedWidth:m*2,popupBg:g,itemMarginBlock:_,itemPaddingInline:v,horizontalLineHeight:`${m*1.15}px`,iconSize:y,iconMarginInlineEnd:b-y,collapsedIconSize:x,groupTitleFontSize:y,darkItemDisabledColor:new Nc(S).setA(.25).toRgbString(),darkItemColor:D,darkDangerItemColor:n,darkItemBg:`#001529`,darkPopupBg:`#001529`,darkSubMenuItemBg:`#000c17`,darkItemSelectedColor:S,darkItemSelectedBg:t,darkDangerItemSelectedBg:n,darkItemHoverBg:`transparent`,darkGroupTitleColor:D,darkItemHoverColor:S,darkDangerItemHoverColor:C,darkDangerItemSelectedColor:S,darkDangerItemActiveBg:n,itemWidth:w?`calc(100% + ${T}px)`:`calc(100% - ${E*2}px)`}},Uee=(e,t=e,n=!0)=>Ql(`Menu`,e=>{let{colorBgElevated:t,controlHeightLG:n,fontSize:r,darkItemColor:i,darkDangerItemColor:a,darkItemBg:o,darkSubMenuItemBg:s,darkItemSelectedColor:c,darkItemSelectedBg:l,darkDangerItemSelectedBg:u,darkItemHoverBg:d,darkGroupTitleColor:f,darkItemHoverColor:p,darkItemDisabledColor:m,darkDangerItemHoverColor:h,darkDangerItemSelectedColor:g,darkDangerItemActiveBg:_,popupBg:v,darkPopupBg:y}=e,b=e.calc(r).div(7).mul(5).equal(),x=dc(e,{menuArrowSize:b,menuHorizontalHeight:e.calc(n).mul(1.15).equal(),menuArrowOffset:e.calc(b).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:v}),S=dc(x,{itemColor:i,itemHoverColor:p,groupTitleColor:f,itemSelectedColor:c,subMenuItemSelectedColor:c,itemBg:o,popupBg:y,subMenuItemBg:s,itemActiveBg:`transparent`,itemSelectedBg:l,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:d,itemDisabledColor:m,dangerItemColor:a,dangerItemHoverColor:h,dangerItemSelectedColor:g,dangerItemActiveBg:_,dangerItemSelectedBg:u,menuSubMenuBg:s,horizontalItemSelectedColor:c,horizontalItemSelectedBg:l});return[Vee(x),Ree(x),Bee(x),ZE(x,`light`),ZE(S,`dark`),zee(x),Wh(x),pg(x,`slide-up`),pg(x,`slide-down`),Og(x,`zoom-big`)]},Hee,{deprecatedTokens:[[`colorGroupTitle`,`groupTitleColor`],[`radiusItem`,`itemBorderRadius`],[`radiusSubMenuItem`,`subMenuItemBorderRadius`],[`colorItemText`,`itemColor`],[`colorItemTextHover`,`itemHoverColor`],[`colorItemTextHoverHorizontal`,`horizontalItemHoverColor`],[`colorItemTextSelected`,`itemSelectedColor`],[`colorItemTextSelectedHorizontal`,`horizontalItemSelectedColor`],[`colorItemTextDisabled`,`itemDisabledColor`],[`colorDangerItemText`,`dangerItemColor`],[`colorDangerItemTextHover`,`dangerItemHoverColor`],[`colorDangerItemTextSelected`,`dangerItemSelectedColor`],[`colorDangerItemBgActive`,`dangerItemActiveBg`],[`colorDangerItemBgSelected`,`dangerItemSelectedBg`],[`colorItemBg`,`itemBg`],[`colorItemBgHover`,`itemHoverBg`],[`colorSubItemBg`,`subMenuItemBg`],[`colorItemBgActive`,`itemActiveBg`],[`colorItemBgSelectedHorizontal`,`horizontalItemSelectedBg`],[`colorActiveBarWidth`,`activeBarWidth`],[`colorActiveBarHeight`,`activeBarHeight`],[`colorActiveBarBorderSize`,`activeBarBorderWidth`],[`colorItemBgSelected`,`itemSelectedBg`]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t),tD=e=>{let{popupClassName:t,icon:n,title:r,theme:i}=e,a=S.useContext(GE),{prefixCls:o,inlineCollapsed:s,theme:c,classNames:l,styles:u}=a,d=OT(),f;if(!n)f=s&&!d.length&&r&&typeof r==`string`?S.createElement(`div`,{className:`${o}-inline-collapsed-noicon`},r.charAt(0)):S.createElement(`span`,{className:`${o}-title-content`},r);else{let e=S.isValidElement(r)&&r.type===`span`;f=S.createElement(S.Fragment,null,lm(n,e=>({className:J(e.className,`${o}-item-icon`,l?.itemIcon),style:{...e.style,...u?.itemIcon}})),e?r:S.createElement(`span`,{className:`${o}-title-content`},r))}let p=S.useMemo(()=>({...a,firstLevel:!1}),[a]),[m]=Lf(`Menu`);return S.createElement(GE.Provider,{value:p},S.createElement(SE,{...gi(e,[`icon`]),title:f,classNames:{list:l?.subMenu?.list,listTitle:l?.subMenu?.itemTitle},styles:{list:u?.subMenu?.list,listTitle:u?.subMenu?.itemTitle},popupClassName:J(o,t,l?.popup?.root,`${o}-${i||c}`),popupStyle:{zIndex:m,...e.popupStyle,...u?.popup?.root}}))};function nD(e){return e===null||e===!1}var Wee={item:qE,submenu:tD,divider:KE},Gee=(0,S.forwardRef)((e,t)=>{let n=S.useContext(JE),r=n||{},{prefixCls:i,className:a,style:o,theme:s=`light`,expandIcon:c,_internalDisableMenuItemTitleTooltip:l,tooltip:u,inlineCollapsed:d,siderCollapsed:f,rootClassName:p,mode:m,selectable:h,onClick:g,overflowedIndicatorPopupClassName:_,classNames:v,styles:y,...b}=e,{menu:x}=S.useContext(ga),{getPrefixCls:C,getPopupContainer:w,direction:T,className:E,style:D,classNames:O,styles:k}=ya(`menu`),A=C(),j=gi(b,[`collapsedWidth`]);r.validator?.({mode:m});let M=zn((...e)=>{g?.(...e),r.onClick?.()}),N=r.mode||m,P=h??r.selectable,F=d??f,I={...e,mode:N,inlineCollapsed:F,selectable:P,theme:s},[L,R]=Cf([O,v],[k,y],{props:I},{popup:{_default:`root`},subMenu:{_default:`item`}}),z={horizontal:{motionName:`${A}-slide-up`},inline:ph(A),other:{motionName:`${A}-zoom-big`}},B=C(`menu`,i||r.prefixCls),V=sp(B),[H,U]=Uee(B,V,!n),W=J(`${B}-${s}`,E,a),ee=S.useMemo(()=>{if(typeof c==`function`||nD(c))return c||null;if(typeof r.expandIcon==`function`||nD(r.expandIcon))return r.expandIcon||null;if(typeof x?.expandIcon==`function`||nD(x?.expandIcon))return x?.expandIcon||null;let e=c??r?.expandIcon??x?.expandIcon;return lm(e,{className:J(`${B}-submenu-expand-icon`,S.isValidElement(e)?e.props?.className:void 0)})},[c,r?.expandIcon,x?.expandIcon,B]),te=S.useMemo(()=>({prefixCls:B,inlineCollapsed:F||!1,direction:T,firstLevel:!0,theme:s,mode:N,disableMenuItemTitleTooltip:l,tooltip:u,classNames:L,styles:R}),[B,F,T,l,s,N,L,R,u]);return S.createElement(JE.Provider,{value:null},S.createElement(GE.Provider,{value:te},S.createElement(ME,{getPopupContainer:w,overflowedIndicator:S.createElement(WE,null),overflowedIndicatorPopupClassName:J(B,`${B}-${s}`,_),classNames:{list:L.list,listTitle:L.itemTitle},styles:{list:R.list,listTitle:R.itemTitle},mode:N,selectable:P,onClick:M,...j,inlineCollapsed:F,style:{...R.root,...D,...o},className:W,prefixCls:B,direction:T,defaultMotions:z,expandIcon:ee,ref:t,rootClassName:J(p,H,r.rootClassName,U,V,L.root),_internalComponents:Wee})))}),rD=(0,S.forwardRef)((e,t)=>{let n=(0,S.useRef)(null),r=S.useContext(VE);return(0,S.useImperativeHandle)(t,()=>({menu:n.current,focus:e=>{n.current?.focus(e)}})),S.createElement(Gee,{ref:n,...e,...r})});rD.Item=qE,rD.SubMenu=tD,rD.Divider=KE,rD.ItemGroup=EE;var Kee=e=>{let{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:i}=e,a=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${a}`]:{[`&${a}-danger:not(${a}-disabled)`]:{color:r,"&:hover":{color:i,backgroundColor:r}}}}}},qee=e=>{let{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:i,sizePopupArrow:a,antCls:o,iconCls:s,motionDurationMid:c,paddingBlock:l,fontSize:u,dropdownEdgeChildPadding:d,colorTextDisabled:f,fontSizeIcon:p,controlPaddingHorizontal:m,colorBgElevated:h}=e;return[{[t]:{position:`absolute`,top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:`block`,"&::before":{position:`absolute`,insetBlock:e.calc(a).div(2).sub(i).equal(),zIndex:-9999,opacity:1e-4,content:`""`},"&-menu-vertical":{maxHeight:`100vh`,overflowY:`auto`},[`&-trigger${o}-btn`]:{[`& > ${s}-down, & > ${o}-btn-icon > ${s}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:`relative`,[`${o}-btn > ${s}-down`]:{fontSize:p},[`${s}-down::before`]:{transition:`transform ${c}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:`rotate(180deg)`}},"&-hidden, &-menu-hidden, &-menu-submenu-hidden":{display:`none`},[`&${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottomLeft, + `]:{opacity:0},[`> ${t}-title-content`]:{width:0,opacity:0,overflow:`hidden`},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:g,lineHeight:Y(r),"+ span":{display:`inline-block`,width:0,opacity:0,overflow:`hidden`,marginInlineStart:0}}},[`${t}-item-icon, ${n}`]:{display:`inline-block`},"&-tooltip":{pointerEvents:`none`,[`${t}-item-icon, ${n}`]:{display:`none`},"a, a:hover":{color:i}},[`${t}-item-group-title`]:{...Hl,paddingInline:p}}}]},OE=e=>{let{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:i,motionEaseOut:a,iconCls:o,iconSize:s,iconMarginInlineEnd:c}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:`relative`,display:`block`,margin:0,whiteSpace:`nowrap`,cursor:`pointer`,transition:[`border-color ${n}`,`background-color ${n}`,`padding calc(${n} + 0.1s) ${i}`].join(`,`),[`${t}-item-icon, ${o}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${a}`,`margin ${n} ${i}`,`color ${n}`].join(`,`),"+ span":{marginInlineStart:c,opacity:1,transition:[`opacity ${n} ${i}`,`margin ${n}`,`color ${n}`].join(`,`)}},[`${t}-item-icon`]:{...Wl()},[`&${t}-item-only-child`]:{[`> ${o}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:`none !important`,cursor:`not-allowed`,"&::after":{borderColor:`transparent !important`},a:{color:`inherit !important`,cursor:`not-allowed`,pointerEvents:`none`},[`> ${t}-submenu-title`]:{color:`inherit !important`,cursor:`not-allowed`}}}},kE=e=>{let{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:i,menuArrowSize:a,menuArrowOffset:o}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:`absolute`,top:`50%`,insetInlineEnd:e.margin,width:a,color:`currentcolor`,transform:`translateY(-50%)`,transition:[`transform`,`opacity`].map(e=>`${e} ${n}`).join(`,`)},"&-arrow":{"&::before, &::after":{position:`absolute`,width:e.calc(a).mul(.6).equal(),height:e.calc(a).mul(.15).equal(),backgroundColor:`currentcolor`,borderRadius:i,transition:[`background-color`,`transform`,`top`,`color`].map(e=>`${e} ${n} ${r}`).join(`,`),content:`""`},"&::before":{transform:`rotate(45deg) translateY(${Y(e.calc(o).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${Y(o)})`}}}}},AE=e=>{let{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:i,motionDurationMid:a,motionEaseInOut:o,paddingXS:s,padding:c,colorSplit:l,lineWidth:u,zIndexPopup:d,borderRadiusLG:f,subMenuItemBorderRadius:p,menuArrowSize:m,menuArrowOffset:h,lineType:g,groupTitleLineHeight:_,groupTitleFontSize:v}=e;return[{"":{[n]:{...Gl(),"&-hidden":{display:`none`}}},[`${n}-submenu-hidden`]:{display:`none`}},{[n]:{...Ul(e),...Gl(),marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:`none`,outline:`none`,transition:`width ${i} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:`none`},"&-overflow":{display:`flex`,[`${n}-item`]:{flex:`none`}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${Y(s)} ${Y(c)}`,fontSize:v,lineHeight:_,transition:`all ${i}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color`,`background-color`].map(e=>`${e} ${i} ${o}`).join(`,`)},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${i}`,`background-color ${i}`,`padding ${a}`].map(e=>`${e} ${o}`).join(`,`)},[`${n}-submenu ${n}-sub`]:{cursor:`initial`,transition:[`background-color`,`padding`].map(e=>`${e} ${i} ${o}`).join(`,`)},[`${n}-title-content`]:{transition:`color ${i}`,"&-with-extra":{display:`inline-flex`,alignItems:`center`,width:`100%`},[`> ${t}-typography-ellipsis-single-line`]:{display:`inline`,verticalAlign:`unset`},[`${n}-item-extra`]:{marginInlineStart:`auto`,paddingInlineStart:e.padding}},[`${n}-item a`]:{"&::before":{position:`absolute`,inset:0,backgroundColor:`transparent`,content:`""`}},[`${n}-item-divider`]:{overflow:`hidden`,lineHeight:0,borderColor:l,borderStyle:g,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:`dashed`}},...OE(e),[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${Y(e.calc(r).mul(2).equal())} ${Y(c)}`}}},"&-submenu":{"&-popup":{position:`absolute`,zIndex:d,borderRadius:f,boxShadow:`none`,transformOrigin:`0 0`,[`&${n}-submenu`]:{background:`transparent`},"&::before":{position:`absolute`,inset:0,zIndex:-1,width:`100%`,height:`100%`,opacity:0,content:`""`},[`> ${n}`]:{borderRadius:f,...OE(e),...kE(e),[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:p},[`${n}-submenu-title::after`]:{transition:`transform ${i} ${o}`}}},"&-placement-leftTop, &-placement-bottomRight":{transformOrigin:`100% 0`},"&-placement-leftBottom, &-placement-topRight":{transformOrigin:`100% 100%`},"&-placement-rightBottom, &-placement-topLeft":{transformOrigin:`0 100%`},"&-placement-bottomLeft, &-placement-rightTop":{transformOrigin:`0 0`},"&-placement-leftTop, &-placement-leftBottom":{paddingInlineEnd:e.paddingXS},"&-placement-rightTop, &-placement-rightBottom":{paddingInlineStart:e.paddingXS},"&-placement-topRight, &-placement-topLeft":{paddingBottom:e.paddingXS},"&-placement-bottomRight, &-placement-bottomLeft":{paddingTop:e.paddingXS}},...kE(e),[`&-inline-collapsed ${n}-submenu-arrow, + &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Y(h)})`},"&::after":{transform:`rotate(45deg) translateX(${Y(e.calc(h).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${Y(e.calc(m).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${Y(e.calc(h).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${Y(h)})`}}}},{[`${t}-layout-header`]:{[n]:{lineHeight:`inherit`}}}]},jE=e=>{let{colorPrimary:t,colorError:n,colorTextDisabled:r,colorErrorBg:i,colorText:a,colorTextDescription:o,colorBgContainer:s,colorFillAlter:c,colorFillContent:l,lineWidth:u,lineWidthBold:d,controlItemBgActive:f,colorBgTextHover:p,controlHeightLG:m,lineHeight:h,colorBgElevated:g,marginXXS:_,padding:v,fontSize:y,controlHeightSM:b,fontSizeLG:x,colorTextLightSolid:S,colorErrorHover:C}=e,w=e.activeBarWidth??0,T=e.activeBarBorderWidth??u,E=e.itemMarginInline??e.marginXXS,D=new Nc(S).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:a,itemColor:a,colorItemTextHover:a,itemHoverColor:a,colorItemTextHoverHorizontal:t,horizontalItemHoverColor:t,colorGroupTitle:o,groupTitleColor:o,colorItemTextSelected:t,itemSelectedColor:t,subMenuItemSelectedColor:t,colorItemTextSelectedHorizontal:t,horizontalItemSelectedColor:t,colorItemBg:s,itemBg:s,colorItemBgHover:p,itemHoverBg:p,colorItemBgActive:l,itemActiveBg:f,colorSubItemBg:c,subMenuItemBg:c,colorItemBgSelected:f,itemSelectedBg:f,colorItemBgSelectedHorizontal:`transparent`,horizontalItemSelectedBg:`transparent`,colorActiveBarWidth:0,activeBarWidth:w,colorActiveBarHeight:d,activeBarHeight:d,colorActiveBarBorderSize:u,activeBarBorderWidth:T,colorItemTextDisabled:r,itemDisabledColor:r,colorDangerItemText:n,dangerItemColor:n,colorDangerItemTextHover:n,dangerItemHoverColor:n,colorDangerItemTextSelected:n,dangerItemSelectedColor:n,colorDangerItemBgActive:i,dangerItemActiveBg:i,colorDangerItemBgSelected:i,dangerItemSelectedBg:i,itemMarginInline:E,horizontalItemBorderRadius:0,horizontalItemHoverBg:`transparent`,itemHeight:m,groupTitleLineHeight:h,collapsedWidth:m*2,popupBg:g,itemMarginBlock:_,itemPaddingInline:v,horizontalLineHeight:`${m*1.15}px`,iconSize:y,iconMarginInlineEnd:b-y,collapsedIconSize:x,groupTitleFontSize:y,darkItemDisabledColor:new Nc(S).setA(.25).toRgbString(),darkItemColor:D,darkDangerItemColor:n,darkItemBg:`#001529`,darkPopupBg:`#001529`,darkSubMenuItemBg:`#000c17`,darkItemSelectedColor:S,darkItemSelectedBg:t,darkDangerItemSelectedBg:n,darkItemHoverBg:`transparent`,darkGroupTitleColor:D,darkItemHoverColor:S,darkDangerItemHoverColor:C,darkDangerItemSelectedColor:S,darkDangerItemActiveBg:n,itemWidth:w?`calc(100% + ${T}px)`:`calc(100% - ${E*2}px)`}},ME=(e,t=e,n=!0)=>Ql(`Menu`,e=>{let{colorBgElevated:t,controlHeightLG:n,fontSize:r,darkItemColor:i,darkDangerItemColor:a,darkItemBg:o,darkSubMenuItemBg:s,darkItemSelectedColor:c,darkItemSelectedBg:l,darkDangerItemSelectedBg:u,darkItemHoverBg:d,darkGroupTitleColor:f,darkItemHoverColor:p,darkItemDisabledColor:m,darkDangerItemHoverColor:h,darkDangerItemSelectedColor:g,darkDangerItemActiveBg:_,popupBg:v,darkPopupBg:y}=e,b=e.calc(r).div(7).mul(5).equal(),x=dc(e,{menuArrowSize:b,menuHorizontalHeight:e.calc(n).mul(1.15).equal(),menuArrowOffset:e.calc(b).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:v}),S=dc(x,{itemColor:i,itemHoverColor:p,groupTitleColor:f,itemSelectedColor:c,subMenuItemSelectedColor:c,itemBg:o,popupBg:y,subMenuItemBg:s,itemActiveBg:`transparent`,itemSelectedBg:l,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:d,itemDisabledColor:m,dangerItemColor:a,dangerItemHoverColor:h,dangerItemSelectedColor:g,dangerItemActiveBg:_,dangerItemSelectedBg:u,menuSubMenuBg:s,horizontalItemSelectedColor:c,horizontalItemSelectedBg:l});return[AE(x),SE(x),DE(x),TE(x,`light`),TE(S,`dark`),CE(x),Kh(x),hg(x,`slide-up`),hg(x,`slide-down`),Ag(x,`zoom-big`)]},jE,{deprecatedTokens:[[`colorGroupTitle`,`groupTitleColor`],[`radiusItem`,`itemBorderRadius`],[`radiusSubMenuItem`,`subMenuItemBorderRadius`],[`colorItemText`,`itemColor`],[`colorItemTextHover`,`itemHoverColor`],[`colorItemTextHoverHorizontal`,`horizontalItemHoverColor`],[`colorItemTextSelected`,`itemSelectedColor`],[`colorItemTextSelectedHorizontal`,`horizontalItemSelectedColor`],[`colorItemTextDisabled`,`itemDisabledColor`],[`colorDangerItemText`,`dangerItemColor`],[`colorDangerItemTextHover`,`dangerItemHoverColor`],[`colorDangerItemTextSelected`,`dangerItemSelectedColor`],[`colorDangerItemBgActive`,`dangerItemActiveBg`],[`colorDangerItemBgSelected`,`dangerItemSelectedBg`],[`colorItemBg`,`itemBg`],[`colorItemBgHover`,`itemHoverBg`],[`colorSubItemBg`,`subMenuItemBg`],[`colorItemBgActive`,`itemActiveBg`],[`colorItemBgSelectedHorizontal`,`horizontalItemSelectedBg`],[`colorActiveBarWidth`,`activeBarWidth`],[`colorActiveBarHeight`,`activeBarHeight`],[`colorActiveBarBorderSize`,`activeBarBorderWidth`],[`colorItemBgSelected`,`itemSelectedBg`]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t),NE=e=>{let{popupClassName:t,icon:n,title:r,theme:i}=e,a=S.useContext(_E),{prefixCls:o,inlineCollapsed:s,theme:c,classNames:l,styles:u}=a,d=uT(),f;if(!n)f=s&&!d.length&&r&&typeof r==`string`?S.createElement(`div`,{className:`${o}-inline-collapsed-noicon`},r.charAt(0)):S.createElement(`span`,{className:`${o}-title-content`},r);else{let e=S.isValidElement(r)&&r.type===`span`;f=S.createElement(S.Fragment,null,um(n,e=>({className:J(e.className,`${o}-item-icon`,l?.itemIcon),style:{...e.style,...u?.itemIcon}})),e?r:S.createElement(`span`,{className:`${o}-title-content`},r))}let p=S.useMemo(()=>({...a,firstLevel:!1}),[a]),[m]=Lf(`Menu`);return S.createElement(_E.Provider,{value:p},S.createElement(UT,{...gi(e,[`icon`]),title:f,classNames:{list:l?.subMenu?.list,listTitle:l?.subMenu?.itemTitle},styles:{list:u?.subMenu?.list,listTitle:u?.subMenu?.itemTitle},popupClassName:J(o,t,l?.popup?.root,`${o}-${i||c}`),popupStyle:{zIndex:m,...e.popupStyle,...u?.popup?.root}}))};function PE(e){return e===null||e===!1}var FE={item:yE,submenu:NE,divider:vE},IE=(0,S.forwardRef)((e,t)=>{let n=S.useContext(bE),r=n||{},{prefixCls:i,className:a,style:o,theme:s=`light`,expandIcon:c,_internalDisableMenuItemTitleTooltip:l,tooltip:u,inlineCollapsed:d,siderCollapsed:f,rootClassName:p,mode:m,selectable:h,onClick:g,overflowedIndicatorPopupClassName:_,classNames:v,styles:y,...b}=e,{menu:x}=S.useContext(ga),{getPrefixCls:C,getPopupContainer:w,direction:T,className:E,style:D,classNames:O,styles:k}=ya(`menu`),A=C(),j=gi(b,[`collapsedWidth`]);r.validator?.({mode:m});let M=zn((...e)=>{g?.(...e),r.onClick?.()}),N=r.mode||m,P=h??r.selectable,F=d??f,I={...e,mode:N,inlineCollapsed:F,selectable:P,theme:s},[L,R]=Cf([O,v],[k,y],{props:I},{popup:{_default:`root`},subMenu:{_default:`item`}}),z={horizontal:{motionName:`${A}-slide-up`},inline:_h(A),other:{motionName:`${A}-zoom-big`}},B=C(`menu`,i||r.prefixCls),V=sp(B),[H,U]=ME(B,V,!n),W=J(`${B}-${s}`,E,a),ee=S.useMemo(()=>{if(typeof c==`function`||PE(c))return c||null;if(typeof r.expandIcon==`function`||PE(r.expandIcon))return r.expandIcon||null;if(typeof x?.expandIcon==`function`||PE(x?.expandIcon))return x?.expandIcon||null;let e=c??r?.expandIcon??x?.expandIcon;return um(e,{className:J(`${B}-submenu-expand-icon`,S.isValidElement(e)?e.props?.className:void 0)})},[c,r?.expandIcon,x?.expandIcon,B]),te=S.useMemo(()=>({prefixCls:B,inlineCollapsed:F||!1,direction:T,firstLevel:!0,theme:s,mode:N,disableMenuItemTitleTooltip:l,tooltip:u,classNames:L,styles:R}),[B,F,T,l,s,N,L,R,u]);return S.createElement(bE.Provider,{value:null},S.createElement(_E.Provider,{value:te},S.createElement($T,{getPopupContainer:w,overflowedIndicator:S.createElement(gE,null),overflowedIndicatorPopupClassName:J(B,`${B}-${s}`,_),classNames:{list:L.list,listTitle:L.itemTitle},styles:{list:R.list,listTitle:R.itemTitle},mode:N,selectable:P,onClick:M,...j,inlineCollapsed:F,style:{...R.root,...D,...o},className:W,prefixCls:B,direction:T,defaultMotions:z,expandIcon:ee,ref:t,rootClassName:J(p,H,r.rootClassName,U,V,L.root),_internalComponents:FE})))}),LE=(0,S.forwardRef)((e,t)=>{let n=(0,S.useRef)(null),r=S.useContext(dE);return(0,S.useImperativeHandle)(t,()=>({menu:n.current,focus:e=>{n.current?.focus(e)}})),S.createElement(IE,{ref:n,...e,...r})});LE.Item=yE,LE.SubMenu=NE,LE.Divider=vE,LE.ItemGroup=qT;var RE=e=>{let{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:i}=e,a=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${a}`]:{[`&${a}-danger:not(${a}-disabled)`]:{color:r,"&:hover":{color:i,backgroundColor:r}}}}}},zE=e=>{let{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:i,sizePopupArrow:a,antCls:o,iconCls:s,motionDurationMid:c,paddingBlock:l,fontSize:u,dropdownEdgeChildPadding:d,colorTextDisabled:f,fontSizeIcon:p,controlPaddingHorizontal:m,colorBgElevated:h}=e;return[{[t]:{position:`absolute`,top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:`block`,"&::before":{position:`absolute`,insetBlock:e.calc(a).div(2).sub(i).equal(),zIndex:-9999,opacity:1e-4,content:`""`},"&-menu-vertical":{maxHeight:`100vh`,overflowY:`auto`},[`&-trigger${o}-btn`]:{[`& > ${s}-down, & > ${o}-btn-icon > ${s}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:`relative`,[`${o}-btn > ${s}-down`]:{fontSize:p},[`${s}-down::before`]:{transition:`transform ${c}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:`rotate(180deg)`}},"&-hidden, &-menu-hidden, &-menu-submenu-hidden":{display:`none`},[`&${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottomLeft, &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottomLeft, &${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottom, &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottom, &${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottomRight, - &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:ig},[`&${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-topLeft, + &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:og},[`&${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-topLeft, &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-topLeft, &${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-top, &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-top, &${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-topRight, - &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-topRight`]:{animationName:og},[`&${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottomLeft, + &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-topRight`]:{animationName:cg},[`&${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottomLeft, &${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottom, - &${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:ag},[`&${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-topLeft, + &${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:sg},[`&${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-topLeft, &${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-top, - &${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-topRight`]:{animationName:sg}}},Aw(e,h,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:`relative`,margin:0},[`${n}-submenu-popup`]:{position:`absolute`,zIndex:r,background:`transparent`,boxShadow:`none`,transformOrigin:`0 0`,"ul, li":{listStyle:`none`,margin:0}},[`${t}, ${t}-menu-submenu`]:{...Ul(e),[n]:{padding:d,listStyleType:`none`,backgroundColor:h,backgroundClip:`padding-box`,borderRadius:e.borderRadiusLG,outline:`none`,boxShadow:e.boxShadowSecondary,...ql(e),"&:empty":{padding:0,boxShadow:`none`},[`${n}-item-group-title`]:{padding:`${Y(l)} ${Y(m)}`,color:e.colorTextDescription,transition:`all ${c}`},[`${n}-item`]:{position:`relative`,display:`flex`,alignItems:`center`},[`${n}-item-icon`]:{minWidth:u,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:`auto`,"&-with-extra":{display:`inline-flex`,alignItems:`center`,width:`100%`},"> a":{color:`inherit`,transition:`all ${c}`,"&:hover":{color:`inherit`},"&::after":{position:`absolute`,inset:0,content:`""`}},[`${n}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:`auto`,fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${n}-item, ${n}-submenu-title`]:{display:`flex`,margin:0,padding:`${Y(l)} ${Y(m)}`,color:e.colorText,fontWeight:`normal`,fontSize:u,lineHeight:e.lineHeight,cursor:`pointer`,transition:`all ${c}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover},...ql(e),"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:f,cursor:`not-allowed`,"&:hover":{color:f,backgroundColor:h,cursor:`not-allowed`},a:{pointerEvents:`none`}},"&-divider":{height:1,margin:`${Y(e.marginXXS)} 0`,overflow:`hidden`,lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:`absolute`,insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:`0 !important`,color:e.colorIcon,fontSize:p,fontStyle:`normal`}}},[`${n}-item-group-list`]:{margin:`0 ${Y(e.marginXS)}`,padding:0,listStyle:`none`},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(m).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:`relative`},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:f,backgroundColor:h,cursor:`not-allowed`}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}}}},[pg(e,`slide-up`),pg(e,`slide-down`),rg(e,`move-up`),rg(e,`move-down`),Og(e,`zoom-big`)]]},Jee=Ql(`Dropdown`,e=>{let{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:i}=e,a=dc(e,{menuCls:`${i}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[qee(a),Kee(a)]},e=>({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2,...Ow({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0}),...Ew(e)}),{resetStyle:!1}),iD=e=>{let{menu:t,arrow:n,prefixCls:r,children:i,trigger:a,disabled:o,dropdownRender:s,popupRender:c,getPopupContainer:l,overlayClassName:u,rootClassName:d,overlayStyle:f,open:p,onOpenChange:m,mouseEnterDelay:h=.15,mouseLeaveDelay:g=.1,autoAdjustOverflow:_=!0,placement:v=``,transitionName:y,classNames:b,styles:x,destroyPopupOnHide:C,destroyOnHidden:w}=e,{getPrefixCls:T,direction:E,getPopupContainer:D,className:O,style:k,classNames:A,styles:j}=ya(`dropdown`),M={...e,mouseEnterDelay:h,mouseLeaveDelay:g,autoAdjustOverflow:_},[N,P]=Cf([A,b],[j,x],{props:M}),F={...k,...f,...P.root},I=c||s;Gi(`Dropdown`);let L=S.useMemo(()=>{let e=T();return y===void 0?v.includes(`top`)?`${e}-slide-down`:`${e}-slide-up`:y},[T,v,y]),R=S.useMemo(()=>v?v.includes(`Center`)?v.slice(0,v.indexOf(`Center`)):v:E===`rtl`?`bottomRight`:`bottomLeft`,[v,E]),z=T(`dropdown`,r),B=sp(z),[V,H]=Jee(z,B),[,U]=Vl(),W=S.Children.only(of(i)?S.createElement(`span`,null,i):i),ee=lm(W,{className:J(`${z}-trigger`,{[`${z}-rtl`]:E===`rtl`},W.props.className),disabled:W.props.disabled??o}),te=o?[]:a,ne=!!te?.includes(`contextMenu`),[re,G]=Gn(!1,p),ie=zn(e=>{m?.(e,{source:`trigger`}),G(e)}),K=J(u,d,V,H,B,O,N.root,{[`${z}-rtl`]:E===`rtl`}),ae=Fw({arrowPointAtCenter:nf(n)&&n.pointAtCenter,autoAdjustOverflow:_,offset:U.marginXXS,arrowWidth:n?U.sizePopupArrow:0,borderRadius:U.borderRadius}),q=zn(()=>{t?.selectable&&t?.multiple||(m?.(!1,{source:`menu`}),G(!1))}),oe=()=>{let e=gi(N,[`root`]),n=gi(P,[`root`]),r;return t?.items&&(r=S.createElement(rD,{...t,classNames:{...e,subMenu:{...e}},styles:{...n,subMenu:{...n}}})),I&&(r=I(r)),r=S.Children.only(typeof r==`string`?S.createElement(`span`,null,r):r),S.createElement(YE,{prefixCls:`${z}-menu`,rootClassName:J(H,B),expandIcon:S.createElement(`span`,{className:`${z}-menu-submenu-arrow`},E===`rtl`?S.createElement(cT,{className:`${z}-menu-submenu-arrow-icon`}):S.createElement(zg,{className:`${z}-menu-submenu-arrow-icon`})),mode:`vertical`,selectable:!1,onClick:q,validator:({mode:e})=>{}},r)},[se,ce]=Lf(`Dropdown`,F.zIndex),le=S.createElement(_T,{alignPoint:ne,...gi(e,[`rootClassName`,`onOpenChange`]),mouseEnterDelay:h,mouseLeaveDelay:g,visible:re,builtinPlacements:ae,arrow:!!n,overlayClassName:K,prefixCls:z,getPopupContainer:l||D,transitionName:L,trigger:te,overlay:oe,placement:R,onVisibleChange:ie,overlayStyle:{...F,zIndex:se},autoDestroy:w??C},ee);return se&&(le=S.createElement(jf.Provider,{value:ce},le)),le},Yee=xx(iD,`align`,void 0,`dropdown`,e=>e);iD._InternalPanelDoNotUseOrYouWillBeFired=e=>S.createElement(Yee,{...e},S.createElement(`span`,null));var X=m_,aD=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e){(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekday=r()})(e,(function(){return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_localeData=r()})(e,(function(){return function(e,t,n){var r=t.prototype,i=function(e){return e&&(e.indexOf?e:e.s)},a=function(e,t,n,r,a){var o=e.name?e:e.$locale(),s=i(o[t]),c=i(o[n]),l=s||c.map((function(e){return e.slice(0,r)}));if(!a)return l;var u=o.weekStart;return l.map((function(e,t){return l[(t+(u||0))%7]}))},o=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}(e.formats[t.toUpperCase()])},c=function(){var e=this;return{months:function(t){return t?t.format(`MMMM`):a(e,`months`)},monthsShort:function(t){return t?t.format(`MMM`):a(e,`monthsShort`,`months`,3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format(`dddd`):a(e,`weekdays`)},weekdaysMin:function(t){return t?t.format(`dd`):a(e,`weekdaysMin`,`weekdays`,2)},weekdaysShort:function(t){return t?t.format(`ddd`):a(e,`weekdaysShort`,`weekdays`,3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return c.bind(this)()},n.localeData=function(){var e=o();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return a(o(),`months`)},n.monthsShort=function(){return a(o(),`monthsShort`,`months`,3)},n.weekdays=function(e){return a(o(),`weekdays`,null,null,e)},n.weekdaysShort=function(e){return a(o(),`weekdaysShort`,`weekdays`,3,e)},n.weekdaysMin=function(e){return a(o(),`weekdaysMin`,`weekdays`,2,e)}}}))})),Qee=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekOfYear=r()})(e,(function(){var e=`week`,t=`year`;return function(n,r,i){var a=r.prototype;a.week=function(n){if(n===void 0&&(n=null),n!==null)return this.add(7*(n-this.week()),`day`);var r=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var a=i(this).startOf(t).add(1,t).date(r),o=i(this).endOf(e);if(a.isBefore(o))return 1}var s=i(this).startOf(t).date(r).startOf(e).subtract(1,`millisecond`),c=this.diff(s,e,!0);return c<0?i(this).startOf(`week`).week():Math.ceil(c)},a.weeks=function(e){return e===void 0&&(e=null),this.week(e)}}}))})),$ee=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekYear=r()})(e,(function(){return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return t===1&&e===11?n+1:e===0&&t>=52?n-1:n}}}))})),ete=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`YYYY-MM-DDTHH:mm:ssZ`).replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),tte=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,``)===e&&(this.day=r)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))})),oD=c(aD()),nte=c(Xee()),rte=c(Zee()),ite=c(Qee()),ate=c($ee()),ote=c(ete()),ste=c(tte());oD.default.extend(ste.default),oD.default.extend(ote.default),oD.default.extend(nte.default),oD.default.extend(rte.default),oD.default.extend(ite.default),oD.default.extend(ate.default),oD.default.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=(e||``).replace(`Wo`,`wo`);return r.bind(this)(t)}});var cte={bn_BD:`bn-bd`,by_BY:`be`,en_GB:`en-gb`,en_US:`en`,fr_BE:`fr`,fr_CA:`fr-ca`,hy_AM:`hy-am`,kmr_IQ:`ku`,nl_BE:`nl-be`,pt_BR:`pt-br`,zh_CN:`zh-cn`,zh_HK:`zh-hk`,zh_TW:`zh-tw`},sD=function(e){return cte[e]||e.split(`_`)[0]},cD=function(e){return!oD.default.isDayjs(e)||e instanceof oD.default?e:(0,oD.default)(e.valueOf())},lte={getNow:function(){var e=(0,oD.default)();return typeof e.tz==`function`?e.tz():e},getFixedDate:function(e){return(0,oD.default)(e,[`YYYY-M-DD`,`YYYY-MM-DD`])},getEndDate:function(e){return cD(e).endOf(`month`)},getWeekDay:function(e){var t=cD(e).locale(`en`);return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(e){return cD(e).year()},getMonth:function(e){return cD(e).month()},getDate:function(e){return cD(e).date()},getHour:function(e){return cD(e).hour()},getMinute:function(e){return cD(e).minute()},getSecond:function(e){return cD(e).second()},getMillisecond:function(e){return cD(e).millisecond()},addYear:function(e,t){return cD(e).add(t,`year`)},addMonth:function(e,t){return cD(e).add(t,`month`)},addDate:function(e,t){return cD(e).add(t,`day`)},setYear:function(e,t){return cD(e).year(t)},setMonth:function(e,t){return cD(e).month(t)},setDate:function(e,t){return cD(e).date(t)},setHour:function(e,t){return cD(e).hour(t)},setMinute:function(e,t){return cD(e).minute(t)},setSecond:function(e,t){return cD(e).second(t)},setMillisecond:function(e,t){return cD(e).millisecond(t)},isAfter:function(e,t){return cD(e).isAfter(cD(t))},isValidate:function(e){return cD(e).isValid()},locale:{getWeekFirstDay:function(e){return(0,oD.default)().locale(sD(e)).localeData().firstDayOfWeek()},getWeekFirstDate:function(e,t){return cD(t).locale(sD(e)).weekday(0)},getWeek:function(e,t){return cD(t).locale(sD(e)).week()},getShortWeekDays:function(e){return(0,oD.default)().locale(sD(e)).localeData().weekdaysMin()},getShortMonths:function(e){return(0,oD.default)().locale(sD(e)).localeData().monthsShort()},format:function(e,t,n){return cD(t).locale(sD(e)).format(n)},parse:function(e,t,n){for(var r=sD(e),i=0;ie.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:`0`,r=String(e);r.lengthe.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:[],r=OD(S.useState([!1,!1]),2),i=r[0],a=r[1];return[S.useMemo(function(){return i.map(function(r,i){if(r)return!0;var a=e[i];return a?!!(!n[i]&&!a||a&&t(a,{activeIndex:i})):!1})},[e,i,t,n]),function(e,t){a(function(n){return gD(n,t,e)})}]}function FD(e){"@babel/helpers - typeof";return FD=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},FD(e)}function ID(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function LD(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&(o=t.addDate(o,-7)),o}function TO(e,t){var n=t.generateConfig,r=t.locale,i=t.format;return e?typeof i==`function`?i(e):n.locale.format(r.locale,e,i):``}function EO(e,t,n){var r=t,i=[`getHour`,`getMinute`,`getSecond`,`getMillisecond`];return[`setHour`,`setMinute`,`setSecond`,`setMillisecond`].forEach(function(t,a){r=n?e[t](r,e[i[a]](n)):e[t](r,0)}),r}function DO(e,t,n,r,i){return zn(function(a,o){return!!(n&&n(a,o)||r&&e.isAfter(r,a)&&!xO(e,t,r,a,o.type)||i&&e.isAfter(a,i)&&!xO(e,t,i,a,o.type))})}function OO(e){"@babel/helpers - typeof";return OO=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},OO(e)}function kO(e,t,n){return S.useMemo(function(){var r=hD(vD(e,t,n)),i=r[0],a=OO(i)===`object`&&i.type===`mask`?i.format:null;return[r.map(function(e){return typeof e==`string`||typeof e==`function`?e:e.format}),a]},[e,t,n])}function bte(e,t,n){return typeof e[0]==`function`||n?!0:t}function AO(e){"@babel/helpers - typeof";return AO=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},AO(e)}function jO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function MO(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:!1;return S.useMemo(function(){var n=e&&hD(e);return t&&n&&(n[1]=n[1]||n[0]),n},[e,t])}function XO(e,t){var n=e.generateConfig,r=e.locale,i=e.picker,a=i===void 0?`date`:i,o=e.prefixCls,s=o===void 0?`rc-picker`:o,c=e.previewValue,l=c===void 0?`hover`:c,u=e.styles,d=u===void 0?{}:u,f=e.classNames,p=f===void 0?{}:f,m=e.order,h=m===void 0?!0:m,g=e.components,_=g===void 0?{}:g,v=e.inputRender,y=e.allowClear,b=e.clearIcon,x=e.needConfirm,C=e.multiple,w=e.format,T=e.inputReadOnly,E=e.disabledDate,D=e.minDate,O=e.maxDate,k=e.showTime,A=e.value,j=e.defaultValue,M=e.pickerValue,N=e.defaultPickerValue,P=YO(A),F=YO(j),I=YO(M),L=YO(N),R=a===`date`&&k?`datetime`:a,z=R===`time`||R===`datetime`,B=z||C,V=x??z,H=UO(sO(e),4),U=H[0],W=H[1],ee=H[2],te=H[3],ne=UD(r,W),re=S.useMemo(function(){return cO(R,ee,te,U,ne)},[R,ee,te,U,ne]),G=S.useMemo(function(){return zO(zO({},e),{},{previewValue:l,prefixCls:s,locale:ne,picker:a,styles:d,classNames:p,order:h,components:zO({input:v},_),clearIcon:uO(s,y,b),showTime:re,value:P,defaultValue:F,pickerValue:I,defaultPickerValue:L},t?.())},[e]),ie=UO(kO(R,ne,w),2),K=ie[0],ae=ie[1],q=bte(K,T,C),oe=DO(n,r,E,D,O),se=IO(n,a,oe,re);return[S.useMemo(function(){return zO(zO({},G),{},{needConfirm:V,inputReadOnly:q,disabledDate:oe})},[G,V,q,oe]),R,B,K,ae,se]}function ZO(e,t){return nk(e)||tk(e,t)||$O(e,t)||QO()}function QO(){throw TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $O(e,t){if(e){if(typeof e==`string`)return ek(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ek(e,t)}}function ek(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,i=ik(rk(n.every(function(e){return e})?!1:e,t||!1,r),2),a=i[0],o=i[1];function s(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!t.inherit||a)&&o(e,t.force)}return[a,s]}function dk(e){var t=S.useRef();return S.useImperativeHandle(e,function(){return{nativeElement:t.current?.nativeElement,focus:function(e){var n;(n=t.current)==null||n.focus(e)},blur:function(){var e;(e=t.current)==null||e.blur()}}}),t}function fk(e,t){return _k(e)||gk(e,t)||mk(e,t)||pk()}function pk(){throw TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mk(e,t){if(e){if(typeof e==`string`)return hk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hk(e,t)}}function hk(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:1,r=S.useRef(t);r.current=t,Un(function(){if(e)r.current(e);else{var t=Oi(function(){r.current(e)},n);return function(){Oi.cancel(t)}}},[e])}function bk(e,t){return Tk(e)||wk(e,t)||Sk(e,t)||xk()}function xk(){throw TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Sk(e,t){if(e){if(typeof e==`string`)return Ck(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ck(e,t)}}function Ck(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=bk(S.useState(0),2),i=r[0],a=r[1],o=bk(S.useState(!1),2),s=o[0],c=o[1],l=S.useRef([]),u=S.useRef(null),d=S.useRef(null),f=function(e){u.current=e};return yk(s||n,function(){s||(l.current=[],f(null))}),S.useEffect(function(){s&&l.current.push(i)},[s,i]),[s,function(e){c(e)},function(e){return e&&(d.current=e),d.current},i,a,function(n){var r=l.current,i=new Set(r.filter(function(e){return n[e]||t[e]})),a=+(r[r.length-1]===0);return i.size>=2||e[a]?null:a},l.current,f,function(e){return u.current===e}]}function Dk(e){"@babel/helpers - typeof";return Dk=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Dk(e)}function Ok(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function kk(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n8&&arguments[8]!==void 0?arguments[8]:qk,l=arguments.length>9&&arguments[9]!==void 0?arguments[9]:qk,u=arguments.length>10&&arguments[10]!==void 0?arguments[10]:qk,d=arguments.length>11?arguments[11]:void 0,f=arguments.length>12?arguments[12]:void 0,p=arguments.length>13?arguments[13]:void 0,m=o===`time`,h=a||0,g=function(t){var r=e.getNow();return m&&(r=EO(e,r)),c[t]||n[t]||r},_=Bk(l,2),v=_[0],y=_[1],b=Bk(Gn(function(){return g(0)},v),2),x=b[0],C=b[1],w=Bk(Gn(function(){return g(1)},y),2),T=w[0],E=w[1],D=S.useMemo(function(){var t=[x,T][h];return m?t:EO(e,t,u[h])},[m,x,T,h,e,u]),O=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`panel`,a=[C,E][h];a(n);var s=[x,T];s[h]=n,d&&(!xO(e,t,x,s[0],o)||!xO(e,t,T,s[1],o))&&d(s,{source:i,range:h===1?`end`:`start`,mode:r})},k=function(n,r){if(s){var i={date:`month`,week:`month`,month:`year`,quarter:`year`}[o];if(i&&!xO(e,t,n,r,i)||o===`year`&&n&&Math.floor(e.getYear(n)/10)!==Math.floor(e.getYear(r)/10))return Kk(e,o,r,-1)}return r},A=S.useRef(null);return Hn(function(){if(i&&!c[h]){var t=m?null:e.getNow();if(A.current!==null&&A.current!==h?t=[x,T][h^1]:n[h]?t=h===0?n[0]:k(n[0],n[1]):n[h^1]&&(t=n[h^1]),t){f&&e.isAfter(f,t)&&(t=f);var r=s?Kk(e,o,t,1):t;p&&e.isAfter(r,p)&&(t=s?Kk(e,o,p,-1):p),O(t,`reset`)}}},[i,h,n[h]]),S.useEffect(function(){i?A.current=h:A.current=null},[i,h]),Hn(function(){i&&c&&c[h]&&O(c[h],`reset`)},[i,h]),[D,O]}function Yk(e,t){return eA(e)||$k(e,t)||Zk(e,t)||Xk()}function Xk(){throw TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zk(e,t){if(e){if(typeof e==`string`)return Qk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qk(e,t)}}function Qk(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,o=[],s=n>=1?n|0:1,c=e;c<=t;c+=s){var l=i.includes(c);(!l||!r)&&o.push({label:mD(c,a),value:c,disabled:l})}return o}function LA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},i=r.use12Hours,a=r.hourStep,o=a===void 0?1:a,s=r.minuteStep,c=s===void 0?1:s,l=r.secondStep,u=l===void 0?1:l,d=r.millisecondStep,f=d===void 0?100:d,p=r.hideDisabledOptions,m=r.disabledTime,h=r.disabledHours,g=r.disabledMinutes,_=r.disabledSeconds,v=S.useMemo(function(){return n||e.getNow()},[n,e]),y=S.useCallback(function(e){var t=m?.(e)||{};return[t.disabledHours||h||FA,t.disabledMinutes||g||FA,t.disabledSeconds||_||FA,t.disabledMilliseconds||FA]},[m,h,g,_]),b=MA(S.useMemo(function(){return y(v)},[v,y]),4),x=b[0],C=b[1],w=b[2],T=b[3],E=S.useCallback(function(e,t,n,r){var a=IA(0,23,o,p,e());return[i?a.map(function(e){return OA(OA({},e),{},{label:mD(e.value%12||12,2)})}):a,function(e){return IA(0,59,c,p,t(e))},function(e,t){return IA(0,59,u,p,n(e,t))},function(e,t,n){return IA(0,999,f,p,r(e,t,n),3)}]},[p,o,i,f,c,u]),D=MA(S.useMemo(function(){return E(x,C,w,T)},[E,x,C,w,T]),4),O=D[0],k=D[1],A=D[2],j=D[3];return[function(t,n){var r=function(){return O},i=k,a=A,o=j;if(n){var s=MA(y(n),4),c=s[0],l=s[1],u=s[2],d=s[3],f=MA(E(c,l,u,d),4),p=f[0],m=f[1],h=f[2],g=f[3];r=function(){return p},i=m,a=h,o=g}return TA(t,r,i,a,o,e)},O,k,A,j]}function wte(e,t){return Ote(e)||Dte(e,t)||Ete(e,t)||Tte()}function Tte(){throw TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ete(e,t){if(e){if(typeof e==`string`)return RA(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return RA(e,t)}}function RA(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:!1;fe(e),_?.(e),t&&pe(e)},he=function(e,t){G(e),t&&me(t),pe(t,e)},ge=function(e){if(le(e),me(e),re!==x){var t=[`decade`,`year`],n=[].concat(t,[`month`]),r={quarter:[].concat(t,[`quarter`]),week:[].concat(TN(n),[`week`]),date:[].concat(TN(n),[`date`])}[x]||n,i=r[r.indexOf(re)+1];i&&he(i,e)}},_e=S.useMemo(function(){var e,t;if(Array.isArray(T)){var n=kN(T,2);e=n[0],t=n[1]}else e=T;return!e&&!t?null:(e||=t,t||=e,a.isAfter(e,t)?[t,e]:[e,t])},[T,a]),ve=DD(E,D,O),ye=A[ie]||FN[ie]||Sj,be=S.useMemo(function(){return{classNames:P?.popup??n??{},styles:F?.popup??r??{}}},[P,n,F,r]),xe=S.useContext(YA),Se=S.useMemo(function(){return xN(xN({},xe),{},{hideHeader:j})},[xe,j]),Ce=`${I}-panel`,we=_D(e,[`showWeek`,`prevIcon`,`nextIcon`,`superPrevIcon`,`superNextIcon`,`disabledDate`,`minDate`,`maxDate`,`onHover`]);return S.createElement(GA.Provider,{value:be},S.createElement(YA.Provider,{value:Se},S.createElement(`div`,{ref:L,tabIndex:l,className:J(Ce,SN({},`${Ce}-rtl`,o===`rtl`))},S.createElement(ye,yN({},we,{showTime:ee,prefixCls:I,locale:U,generateConfig:a,onModeChange:he,pickerValue:de,onPickerValueChange:function(e){me(e,!0)},value:se[0],onSelect:ge,values:se,cellRender:ve,hoverRangeValue:_e,hoverValue:w})))))}var LN=S.memo(S.forwardRef(IN));function RN(e){"@babel/helpers - typeof";return RN=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},RN(e)}function zN(){return zN=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function xP(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}function SP(e){var t=e.icon,n=e.type,r=bP(e,_P),i=S.useContext(lD),a=i.prefixCls,o=i.classNames,s=i.styles;return t?S.createElement(`span`,yP({className:J(`${a}-${n}`,o.suffix),style:s.suffix},r),t):null}function CP(e){var t=e.onClear,n=bP(e,vP);return S.createElement(SP,yP({},n,{type:`clear`,role:`button`,onMouseDown:function(e){e.preventDefault()},onClick:function(e){e.stopPropagation(),t()}}))}function wP(e){"@babel/helpers - typeof";return wP=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},wP(e)}function TP(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function EP(e,t){for(var n=0;n=a&&e<=o)return r;var s=Math.min(Math.abs(e-a),Math.abs(e-o));se.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function JP(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var YP=S.forwardRef(function(e,t){var n=e.className,r=e.active,i=e.showActiveCls,a=i===void 0?!0:i,o=e.suffixIcon,s=e.format,c=e.validateFormat,l=e.onChange;e.onInput;var u=e.helped,d=e.onHelp,f=e.onSubmit,p=e.onKeyDown,m=e.preserveInvalidOnBlur,h=m===void 0?!1:m,g=e.invalid,_=e.clearIcon,v=qP(e,IP),y=e.value,b=e.onFocus,x=e.onBlur,C=e.onMouseUp,w=S.useContext(lD),T=w.prefixCls,E=w.input,D=E===void 0?`input`:E,O=w.classNames,k=w.styles,A=`${T}-input`,j=VP(S.useState(!1),2),M=j[0],N=j[1],P=VP(S.useState(y),2),F=P[0],I=P[1],L=VP(S.useState(``),2),R=L[0],z=L[1],B=VP(S.useState(null),2),V=B[0],H=B[1],U=VP(S.useState(null),2),W=U[0],ee=U[1],te=F||``;S.useEffect(function(){I(y)},[y]);var ne=S.useRef(null),re=S.useRef(null),G=S.useRef(!1);S.useImperativeHandle(t,function(){return{nativeElement:ne.current,inputElement:re.current,focus:function(e){re.current.focus(e)},blur:function(){re.current.blur()}}});var ie=S.useMemo(function(){return new NP(s||``)},[s]),K=VP(S.useMemo(function(){return u?[0,0]:ie.getSelection(V)},[ie,V,u]),2),ae=K[0],q=K[1],oe=function(e){e&&e!==s&&e!==y&&d()},se=zn(function(e){c(e)&&l(e),I(e),oe(e)}),ce=function(e){if(!s){var t=e.target.value;oe(t),I(t),l(t)}},le=function(e){if(G.current){e.preventDefault();return}var t=e.clipboardData.getData(`text`);c(t)&&se(t)},ue=function(){G.current=!0},de=function(e){var t=e.target.selectionStart;H(ie.getMaskCellIndex(t)),ee({}),C?.(e),G.current=!1},fe=function(e){N(!0),H(0),z(``),b(e)},pe=function(e){x(e)},me=function(e){N(!1),pe(e)};yk(r,function(){!r&&!h&&I(y)});var he=function(e){e.key===`Enter`&&c(te)&&f(),p?.(e)},ge=function(e){if(G.current){e.preventDefault();return}he(e);var t=e.key,n=null,r=null,i=q-ae,a=s.slice(ae,q),o=function(e){H(function(t){var n=t+e;return n=Math.max(n,0),n=Math.min(n,ie.size()-1),n})},c=function(e){var t=VP(PP(a),3),n=t[0],r=t[1],i=t[2],o=te.slice(ae,q),s=Number(o);if(isNaN(s))return String(i||(e>0?n:r));var c=s+e,l=r-n+1;return String(n+(l+c-n)%l)};switch(t){case`Backspace`:case`Delete`:n=``,r=a;break;case`ArrowLeft`:n=``,o(-1);break;case`ArrowRight`:n=``,o(1);break;case`ArrowUp`:n=``,r=c(1);break;case`ArrowDown`:n=``,r=c(-1);break;default:isNaN(Number(t))||(n=R+t,r=n);break}n!==null&&(z(n),n.length>=i&&(o(1),z(``))),r!==null&&se((te.slice(0,ae)+mD(r,i)+te.slice(q)).slice(0,s.length)),ee({})},_e=S.useRef();Hn(function(){if(!(!M||!s||G.current)){if(!ie.match(te)){se(s);return}return re.current.setSelectionRange(ae,q),_e.current=Oi(function(){re.current.setSelectionRange(ae,q)}),function(){Oi.cancel(_e.current)}}},[ie,s,M,te,V,ae,q,W,se]);var ve=s?{onFocus:fe,onBlur:me,onKeyDown:ge,onMouseDown:ue,onMouseUp:de,onPaste:le}:{};return S.createElement(`div`,{ref:ne,className:J(A,RP(RP({},`${A}-active`,r&&a),`${A}-placeholder`,u),n)},S.createElement(D,LP({ref:re,"aria-invalid":g,autoComplete:`off`},v,{onKeyDown:he,onBlur:pe},ve,{value:te,onChange:ce,className:O.input,style:k.input})),S.createElement(SP,{type:`suffix`,icon:o}),_)}),XP=`id.prefix.clearIcon.suffixIcon.separator.activeIndex.activeHelp.allHelp.focused.onFocus.onBlur.onKeyDown.locale.generateConfig.placeholder.className.style.onClick.onClear.value.onChange.onSubmit.onInputChange.format.maskFormat.preserveInvalidOnBlur.onInvalid.disabled.invalid.inputReadOnly.direction.onOpenChange.onActiveInfo.placement.onMouseDown.required.aria-required.autoFocus.tabIndex`.split(`.`),ZP=[`index`];function QP(){return QP=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function fF(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}function pF(e,t){var n=e.id,r=e.prefix,i=e.clearIcon,a=e.suffixIcon,o=e.separator,s=o===void 0?`~`:o,c=e.activeIndex;e.activeHelp,e.allHelp;var l=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var u=e.placeholder,d=e.className,f=e.style,p=e.onClick,m=e.onClear,h=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var g=e.disabled,_=e.invalid;e.inputReadOnly;var v=e.direction;e.onOpenChange;var y=e.onActiveInfo;e.placement;var b=e.onMouseDown;e.required,e[`aria-required`];var x=e.autoFocus,C=e.tabIndex,w=dF(e,XP),T=v===`rtl`,E=S.useContext(lD),D=E.prefixCls,O=E.classNames,k=E.styles,A=S.useMemo(function(){if(typeof n==`string`)return[n];var e=n||{};return[e.start,e.end]},[n]),j=S.useRef(),M=S.useRef(),N=S.useRef(),P=function(e){return[M,N][e]?.current};S.useImperativeHandle(t,function(){return{nativeElement:j.current,focus:function(e){if(uF(e)===`object`){var t,n=e||{},r=n.index,i=r===void 0?0:r,a=dF(n,ZP);(t=P(i))==null||t.focus(a)}else{var o;(o=P(e??0))==null||o.focus()}},blur:function(){var e,t;(e=P(0))==null||e.blur(),(t=P(1))==null||t.blur()}}});var F=gP(w),I=S.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),L=iF(mP(eF(eF({},e),{},{id:A,placeholder:I})),1)[0],R=iF(S.useState({position:`absolute`,width:0}),2),z=R[0],B=R[1],V=zn(function(){var e=P(c);if(e){var t=e.nativeElement.getBoundingClientRect(),n=j.current.getBoundingClientRect(),r=t.left-n.left;B(function(e){return eF(eF({},e),{},{width:t.width,left:r})}),y([t.left,t.right,n.width])}});S.useEffect(function(){V()},[c]);var H=i&&(h[0]&&!g[0]||h[1]&&!g[1]),U=x&&!g[0],W=x&&!U&&!g[1];return S.createElement(oa,{onResize:V},S.createElement(`div`,QP({},F,{className:J(D,`${D}-range`,tF(tF(tF(tF({},`${D}-focused`,l),`${D}-disabled`,g.every(function(e){return e})),`${D}-invalid`,_.some(function(e){return e})),`${D}-rtl`,T),d),style:f,ref:j,onClick:p,onMouseDown:function(e){var t=e.target;t!==M.current.inputElement&&t!==N.current.inputElement&&e.preventDefault(),b?.(e)}}),r&&S.createElement(`div`,{className:J(`${D}-prefix`,O.prefix),style:k.prefix},r),S.createElement(YP,QP({ref:M},L(0),{className:`${D}-input-start`,autoFocus:U,tabIndex:C,"date-range":`start`})),S.createElement(`div`,{className:`${D}-range-separator`},s),S.createElement(YP,QP({ref:N},L(1),{className:`${D}-input-end`,autoFocus:W,tabIndex:C,"date-range":`end`})),S.createElement(`div`,{className:`${D}-active-bar`,style:z}),S.createElement(SP,{type:`suffix`,icon:a}),H&&S.createElement(CP,{icon:i,onClear:m})))}var mF=S.forwardRef(pF);function hF(e){"@babel/helpers - typeof";return hF=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},hF(e)}function gF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _F(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0&&K.current.focus({index:n})}ue(!0),ie?.(e)},Qe=function(){Be(null),ue(!1,{force:!0})},$e=NF(S.useState(null),2),et=$e[0],tt=$e[1],nt=NF(S.useState(null),2),rt=nt[0],it=nt[1],at=S.useMemo(function(){return rt||_e},[_e,rt]);S.useEffect(function(){ce||it(null)},[ce]);var ot=NF(S.useState([0,0,0]),2),st=ot[0],ct=ot[1],lt=function(e,t){p===`hover`&&(it(e),tt(t))},ut=vk(W,ee),dt=function(e){lt(e,`preset`)},ft=function(e){Be(e)&&(xe(`preset-click`),ue(!1,{force:!0}))},pt=function(e){Xe(e)},mt=function(e){lt(e?Ye(e,Se):null,`cell`)},ht=function(e){ue(!0),Oe(e)},gt=function(){xe(`panel`)},_t=function(e){he(gD(_e,Se,e)),!g&&!a&&i===Fe&&Xe(e)},vt=function(){ue(!1)},yt=DD(ne,re,G,BF(Se)),bt=_e[Se]||null,xt=zn(function(e){return c(e,{activeIndex:Se})}),St=S.useMemo(function(){var e=xi(r,!1);return gi(r,[].concat(wF(Object.keys(e)),[`onChange`,`onCalendarChange`,`style`,`className`,`onPanelChange`,`disabledTime`,`classNames`,`styles`]))},[r]),Ct=S.createElement(sP,CF({},St,{showNow:Le,showTime:Ae,range:!0,multiplePanel:Ie,activeInfo:st,disabledDate:Ve,onFocus:ht,onBlur:ke,onPanelMouseDown:gt,picker:k,mode:Pe,internalMode:Fe,onPanelChange:Je,format:s,value:bt,isInvalid:xt,onChange:null,onSelect:_t,pickerValue:Ke,defaultOpenValue:hD(M?.defaultOpenValue)[Se],onPickerValueChange:qe,hoverValue:at,onHover:mt,needConfirm:g,onSubmit:Xe,onOk:ge,presets:ut,onPresetHover:dt,onPresetSubmit:ft,onNow:pt,cellRender:yt,classNames:q,styles:oe})),wt=function(e,t){he(Ye(e,t))},Tt=function(){xe(`input`)},Et=function(e,t){var n=Te.length,r=Te[n-1];if(n&&r!==t&&g&&!y[r]&&!De(r)&&_e[r]){K.current.focus({index:r});return}xe(`input`),ue(!0,{inherit:!0}),Se!==t&&ce&&!g&&a&&Xe(null,!0),Ce(t),Oe(e,t)},Dt=function(e,t){ue(!1),!g&&xe()===`input`&&ze(Se,we(_e)===null),ke(e,t)},Ot=function(e,t){e.key===`Tab`&&Xe(null,!0),_?.(e,t)},kt=S.useMemo(function(){return{prefixCls:l,locale:D,generateConfig:O,button:te.button,input:te.input,classNames:q,styles:oe}},[l,D,O,te.button,te.input,q,oe]);return Hn(function(){ce&&Se!==void 0&&Je(null,k,!1)},[ce,Se,k]),Hn(function(){var e=xe();!ce&&e===`input`&&(ue(!1),Xe(null,!0)),!ce&&a&&!g&&e===`panel`&&(ue(!0),Xe())},[ce]),S.createElement(lD.Provider,{value:kt},S.createElement(fD,CF({},bD(r),{popupElement:Ct,popupStyle:oe.popup.root,popupClassName:J(u,q.popup.root),visible:ce,onClose:vt,range:!0}),S.createElement(mF,CF({},r,{ref:K,className:J(r.className,u,q.root),style:kF(kF({},oe.root),r.style),suffixIcon:V,activeIndex:ye||ce?Se:null,activeHelp:!!rt,allHelp:!!rt&&et===`preset`,focused:ye,onFocus:Et,onBlur:Dt,onKeyDown:Ot,onSubmit:Xe,value:at,maskFormat:s,onChange:wt,onInputChange:Tt,format:o,inputReadOnly:B,disabled:v,open:ce,onOpenChange:ue,onClick:Ze,onClear:Qe,invalid:Ue,onInvalid:We,onActiveInfo:ct}))))}var HF=S.forwardRef(VF);function UF(e){var t=e.prefixCls,n=e.value,r=e.onRemove,i=e.removeIcon,a=i===void 0?`×`:i,o=e.formatDate,s=e.disabled,c=e.maxTagCount,l=e.placeholder,u=`${t}-selector`,d=`${t}-selection`,f=`${d}-overflow`;function p(e,t){return S.createElement(`span`,{className:J(`${d}-item`),title:typeof e==`string`?e:null},S.createElement(`span`,{className:`${d}-item-content`},e),!s&&t&&S.createElement(`span`,{onMouseDown:function(e){e.preventDefault()},onClick:t,className:`${d}-item-remove`},a))}function m(e){return p(o(e),function(t){t&&t.stopPropagation(),r(e)})}function h(e){return p(`+ ${e.length} ...`)}return S.createElement(`div`,{className:u},S.createElement(pS,{prefixCls:f,data:n,renderItem:m,renderRest:h,itemKey:function(e){return o(e)},maxCount:c}),!n.length&&S.createElement(`span`,{className:`${t}-selection-placeholder`},l))}function WF(e){"@babel/helpers - typeof";return WF=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},WF(e)}var GF=`id.open.prefix.clearIcon.suffixIcon.activeHelp.allHelp.focused.onFocus.onBlur.onKeyDown.locale.generateConfig.placeholder.className.style.onClick.onClear.internalPicker.value.onChange.onSubmit.onInputChange.multiple.maxTagCount.format.maskFormat.preserveInvalidOnBlur.onInvalid.disabled.invalid.inputReadOnly.direction.onOpenChange.onMouseDown.required.aria-required.autoFocus.tabIndex.removeIcon`.split(`.`);function KF(){return KF=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function aI(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}function oI(e,t){e.id;var n=e.open,r=e.prefix,i=e.clearIcon,a=e.suffixIcon;e.activeHelp,e.allHelp;var o=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var s=e.locale,c=e.generateConfig,l=e.placeholder,u=e.className,d=e.style,f=e.onClick,p=e.onClear,m=e.internalPicker,h=e.value,g=e.onChange,_=e.onSubmit;e.onInputChange;var v=e.multiple,y=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var b=e.disabled,x=e.invalid;e.inputReadOnly;var C=e.direction;e.onOpenChange;var w=e.onMouseDown;e.required,e[`aria-required`];var T=e.autoFocus,E=e.tabIndex,D=e.removeIcon,O=iI(e,GF),k=C===`rtl`,A=S.useContext(lD),j=A.prefixCls,M=A.classNames,N=A.styles,P=S.useRef(),F=S.useRef();S.useImperativeHandle(t,function(){return{nativeElement:P.current,focus:function(e){var t;(t=F.current)==null||t.focus(e)},blur:function(){var e;(e=F.current)==null||e.blur()}}});var I=gP(O),L=function(e){g([e])},R=function(e){g(h.filter(function(t){return t&&!xO(c,s,t,e,m)})),n||_()},z=QF(mP(JF(JF({},e),{},{onChange:L}),function(e){return{value:e.valueTexts[0]||``,active:o}}),2),B=z[0],V=z[1],H=!!(i&&h.length&&!b),U=v?S.createElement(S.Fragment,null,S.createElement(UF,{prefixCls:j,value:h,onRemove:R,formatDate:V,maxTagCount:y,disabled:b,removeIcon:D,placeholder:l}),S.createElement(`input`,{className:`${j}-multiple-input`,value:h.map(V).join(`,`),ref:F,readOnly:!0,autoFocus:T,tabIndex:E}),S.createElement(SP,{type:`suffix`,icon:a}),H&&S.createElement(CP,{icon:i,onClear:p})):S.createElement(YP,KF({ref:F},B(),{autoFocus:T,tabIndex:E,suffixIcon:a,clearIcon:H&&S.createElement(CP,{icon:i,onClear:p}),showActiveCls:!1}));return S.createElement(`div`,KF({},I,{className:J(j,YF(YF(YF(YF(YF({},`${j}-multiple`,v),`${j}-focused`,o),`${j}-disabled`,b),`${j}-invalid`,x),`${j}-rtl`,k),u),style:d,ref:P,onClick:f,onMouseDown:function(e){e.target!==F.current?.inputElement&&e.preventDefault(),w?.(e)}}),r&&S.createElement(`div`,{className:J(`${j}-prefix`,M.prefix),style:N.prefix},r),U)}var sI=S.forwardRef(oI);function cI(e){"@babel/helpers - typeof";return cI=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},cI(e)}function lI(){return lI=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);ne??{...t,__INTERNAL__:{itemRef:e=>t=>{let r=MI(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:(e,t={})=>{let{focus:n,...i}=t,a=NI(e,r);a&&(np(a,{scrollMode:`if-needed`,block:`nearest`,...i}),n&&r.focusField(e))},focusField:e=>{let t=r.getFieldInstance(e);typeof t?.focus==`function`?t.focus():NI(e,r)?.focus?.()},getFieldInstance:e=>{let t=MI(e);return n.current[t]}},[e,t]);return[r]}var FI=S.createContext(void 0),II=FI.Provider,LI=S.createContext(void 0),RI=LI.Provider;function zI(){return zI=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n=`rc-checkbox`,className:r,style:i,checked:a,disabled:o,defaultChecked:s=!1,type:c=`checkbox`,title:l,onChange:u,...d}=e,f=(0,S.useRef)(null),p=(0,S.useRef)(null),[m,h]=Gn(s,a);(0,S.useImperativeHandle)(t,()=>({focus:e=>{f.current?.focus(e)},blur:()=>{f.current?.blur()},input:f.current,nativeElement:p.current}));let g=J(n,r,{[`${n}-checked`]:m,[`${n}-disabled`]:o});return S.createElement(`span`,{className:g,title:l,style:i,ref:p},S.createElement(`input`,zI({},d,{className:`${n}-input`,ref:f,onChange:t=>{o||(`checked`in e||h(t.target.checked),u?.({target:{...e,type:c,checked:t.target.checked},stopPropagation(){t.stopPropagation()},preventDefault(){t.preventDefault()},nativeEvent:t.nativeEvent}))},disabled:o,checked:!!m,type:c})))});function VI(e){let t=S.useRef(null),n=()=>{Oi.cancel(t.current),t.current=null};return[()=>{n(),t.current=Oi(()=>{t.current=null})},r=>{t.current&&(r.stopPropagation(),n()),e?.(r)}]}var HI=e=>{let{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:{...Ul(e),display:`inline-block`,fontSize:0,[`&${r}-rtl`]:{direction:`rtl`},[`&${r}-block`]:{display:`flex`},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:`none`},"&-vertical":{display:`flex`,flexDirection:`column`,rowGap:e.marginXS,[`${t}-wrapper`]:{marginInlineEnd:0}}}}},UI=e=>{let{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,colorPrimaryHover:i,radioSize:a,motionDurationSlow:o,motionDurationMid:s,motionEaseInOutCirc:c,colorBgContainer:l,colorBorder:u,lineWidth:d,colorBgContainerDisabled:f,colorTextDisabled:p,paddingXS:m,dotColorDisabled:h,dotSize:g,lineType:_,radioColor:v,radioBgColor:y}=e;return{[`${t}-wrapper`]:{...Ul(e),display:`inline-flex`,alignItems:`baseline`,marginInlineStart:0,marginInlineEnd:n,cursor:`pointer`,"&:last-child":{marginInlineEnd:0},[`&${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`},[t]:{...Ul(e),position:`relative`,whiteSpace:`nowrap`,lineHeight:1,cursor:`pointer`,alignSelf:`center`,boxSizing:`border-box`,display:`block`,width:`calc(${a} * 1px)`,height:`calc(${a} * 1px)`,backgroundColor:l,border:`${Y(d)} ${_} ${u}`,borderRadius:`50%`,transition:`all ${s}`,flex:`none`,"&:after":{content:`""`,position:`absolute`,top:`50%`,left:`50%`,transform:`translate(-50%, -50%) scale(0)`,width:`calc(${g} * 1px)`,height:`calc(${g} * 1px)`,backgroundColor:v,borderRadius:`50%`,transformOrigin:`50% 50%`,opacity:0,transition:`all ${o} ${c}`},[`${t}-input`]:{position:`absolute`,inset:0,zIndex:1,cursor:`pointer`,opacity:0,margin:0},[`&:has(${t}-input:focus-visible)`]:Kl(e)},[`&:hover:not(${t}-wrapper-disabled) ${t}`]:{borderColor:r},[`&:hover ${t}-checked:not(${t}-disabled)`]:{backgroundColor:i,borderColor:`transparent`},[`${t}-checked`]:{backgroundColor:y,borderColor:r,"&::after":{transform:`translate(-50%, -50%)`,opacity:1}},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:`not-allowed`,pointerEvents:`none`},background:f,borderColor:u,"&::after":{backgroundColor:h}},[`${t}-disabled + span`]:{color:p,cursor:`not-allowed`},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}}}},WI=e=>{let{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:i,lineType:a,colorBorder:o,motionDurationMid:s,buttonPaddingInline:c,fontSize:l,buttonBg:u,fontSizeLG:d,controlHeightLG:f,controlHeightSM:p,paddingXS:m,borderRadius:h,borderRadiusSM:g,borderRadiusLG:_,buttonCheckedBg:v,buttonSolidCheckedColor:y,colorTextDisabled:b,colorBgContainerDisabled:x,buttonCheckedBgDisabled:S,buttonCheckedColorDisabled:C,colorPrimary:w,colorPrimaryHover:T,colorPrimaryActive:E,buttonSolidCheckedBg:D,buttonSolidCheckedHoverBg:O,buttonSolidCheckedActiveBg:k,calc:A}=e;return{[`${r}-button-wrapper`]:{position:`relative`,display:`inline-block`,height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:l,lineHeight:Y(A(n).sub(A(i).mul(2)).equal()),background:u,border:`${Y(i)} ${a} ${o}`,borderBlockStartWidth:A(i).add(.02).equal(),borderInlineEndWidth:i,cursor:`pointer`,transition:[`color`,`background-color`,`box-shadow`].map(e=>`${e} ${s}`).join(`,`),a:{color:t},[`> ${r}-button`]:{position:`absolute`,insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:`100%`,height:`100%`},"&:not(:last-child)":{marginInlineEnd:A(i).mul(-1).equal()},"&:first-child":{borderInlineStart:`${Y(i)} ${a} ${o}`,borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h},"&:first-child:last-child":{borderRadius:h},[`${r}-group-large &`]:{height:f,fontSize:d,lineHeight:Y(A(f).sub(A(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:_,borderEndStartRadius:_},"&:last-child":{borderStartEndRadius:_,borderEndEndRadius:_}},[`${r}-group-small &`]:{height:p,paddingInline:A(m).sub(i).equal(),paddingBlock:0,lineHeight:Y(A(p).sub(A(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g}},"&:hover":{position:`relative`,color:w},"&:has(:focus-visible)":Kl(e),[`${r}, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:`none`},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:w,background:v,borderColor:w,"&::before":{backgroundColor:w},"&:first-child":{borderColor:w},"&:hover":{color:T,borderColor:T,"&::before":{backgroundColor:T}},"&:active":{color:E,borderColor:E,"&::before":{backgroundColor:E}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:y,background:D,borderColor:D,"&:hover":{color:y,background:O,borderColor:O},"&:active":{color:y,background:k,borderColor:k}},"&-disabled":{color:b,backgroundColor:x,borderColor:o,cursor:`not-allowed`,"&:first-child, &:hover":{color:b,backgroundColor:x,borderColor:o}},[`&-disabled${r}-button-wrapper-checked`]:{color:C,backgroundColor:S,borderColor:o,boxShadow:`none`},"&-block":{flex:1,textAlign:`center`}}}},GI=Ql(`Radio`,e=>{let{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${Y(n)} ${t}`,i=dc(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[HI(i),UI(i),WI(i)]},e=>{let{wireframe:t,padding:n,marginXS:r,lineWidth:i,fontSizeLG:a,colorText:o,colorBgContainer:s,colorTextDisabled:c,controlItemBgActiveDisabled:l,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:f,colorPrimaryActive:p,colorWhite:m}=e,h=a;return{radioSize:h,dotSize:t?h-8:h-(4+i)*2,dotColorDisabled:c,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:p,buttonBg:s,buttonCheckedBg:s,buttonColor:o,buttonCheckedBgDisabled:l,buttonCheckedColorDisabled:c,buttonPaddingInline:n-i,wrapperMarginInlineEnd:r,radioColor:t?d:m,radioBgColor:t?s:d}},{unitless:{radioSize:!0,dotSize:!0}}),KI=S.forwardRef((e,t)=>{let n=S.useContext(FI),r=S.useContext(LI),{getPrefixCls:i,direction:a,className:o,style:s,classNames:c,styles:l}=ya(`radio`),u=cr(t,S.useRef(null)),{isFormItemInput:d}=S.useContext(xy),f=t=>{e.onChange?.(t),n?.onChange?.(t)},{prefixCls:p,className:m,rootClassName:h,children:g,style:_,title:v,classNames:y,styles:b,...x}=e,C=i(`radio`,p),w=(n?.optionType||r)===`button`,T=w?`${C}-button`:C,E=sp(C),[D,O]=GI(C,E),k={...x},A=S.useContext(mm),j=k.checked;n&&(k.name=n.name,k.onChange=f,j=e.value===n.value,k.disabled=k.disabled??n.disabled),k.disabled=k.disabled??A;let M={...e,...k,checked:j},[N,P]=Cf([c,y],[l,b],{props:M}),F=J(`${T}-wrapper`,{[`${T}-wrapper-checked`]:j,[`${T}-wrapper-disabled`]:k.disabled,[`${T}-wrapper-rtl`]:a===`rtl`,[`${T}-wrapper-in-form-item`]:d,[`${T}-wrapper-block`]:!!n?.block},o,m,h,N.root,D,O,E),[I,L]=VI(k.onClick);return S.createElement(Ch,{component:`Radio`,disabled:k.disabled},S.createElement(`label`,{className:F,style:{...P.root,...s,..._},onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:v,onClick:I},S.createElement(BI,{...k,checked:j,className:J(N.icon,{[gh]:!w}),style:P.icon,type:`radio`,prefixCls:T,ref:u,onClick:L}),g===void 0?null:S.createElement(`span`,{className:J(`${T}-label`,N.label),style:P.label},g)))}),qI=S.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=S.useContext(ga),{name:i}=S.useContext(xy),a=Xn(MI(i)),{prefixCls:o,className:s,rootClassName:c,options:l,buttonStyle:u=`outline`,disabled:d,children:f,size:p,style:m,id:h,optionType:g,name:_=a,defaultValue:v,value:y,block:b=!1,onChange:x,onMouseEnter:C,onMouseLeave:w,onFocus:T,onBlur:E,orientation:D,vertical:O,role:k=`radiogroup`}=e,[A,j]=Gn(v,y),M=S.useCallback(t=>{let n=A,r=t.target.value;`value`in e||j(r),r!==n&&x?.(t)},[A,j,x]),N=n(`radio`,o),P=`${N}-group`,F=sp(N),[I,L]=GI(N,F),R=f;l&&l.length>0&&(R=l.map(e=>typeof e==`string`||ef(e)?S.createElement(KI,{key:e.toString(),prefixCls:N,disabled:d,value:e,checked:A===e},e):S.createElement(KI,{key:`radio-group-value-options-${e.value}`,prefixCls:N,disabled:e.disabled||d,value:e.value,checked:A===e.value,title:e.title,style:e.style,className:e.className,id:e.id,required:e.required},e.label)));let z=wh(p),[,B]=Ef(D,O),V=J(P,`${P}-${u}`,{[`${P}-large`]:z===`large`,[`${P}-small`]:z===`small`,[`${P}-rtl`]:r===`rtl`,[`${P}-block`]:b},s,c,I,L,F),H=S.useMemo(()=>({onChange:M,value:A,disabled:d,name:_,optionType:g,block:b}),[M,A,d,_,g,b]);return S.createElement(`div`,{...xi(e,{aria:!0,data:!0}),role:k,className:J(V,{[`${N}-group-vertical`]:B}),style:m,onMouseEnter:C,onMouseLeave:w,onFocus:T,onBlur:E,id:h,ref:t},S.createElement(II,{value:H},R))}),JI=S.memo(qI),YI=S.forwardRef((e,t)=>{let{getPrefixCls:n}=S.useContext(ga),{prefixCls:r,...i}=e,a=n(`radio`,r);return S.createElement(RI,{value:`button`},S.createElement(KI,{prefixCls:a,...i,type:`radio`,ref:t}))}),XI=KI;XI.Button=YI,XI.Group=JI,XI.__ANT_RADIO=!0;function ZI(e){return dc(e,{inputAffixPadding:e.paddingXXS})}var QI=e=>{let{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightSM:a,controlHeightLG:o,fontSizeLG:s,lineHeightLG:c,paddingSM:l,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:f,colorPrimaryHover:p,colorPrimary:m,controlOutlineWidth:h,controlOutline:g,colorErrorOutline:_,colorWarningOutline:v,colorBgContainer:y,inputFontSize:b,inputFontSizeLG:x,inputFontSizeSM:S}=e,C=b||n,w=S||C,T=x||s,E=Math.round((t-C*r)/2*10)/10-i,D=Math.round((a-w*r)/2*10)/10-i,O=Math.ceil((o-T*c)/2*10)/10-i;return{paddingBlock:Math.max(E,0),paddingBlockSM:Math.max(D,0),paddingBlockLG:Math.max(O,0),paddingInline:l-i,paddingInlineSM:u-i,paddingInlineLG:d-i,addonBg:f,activeBorderColor:m,hoverBorderColor:p,activeShadow:`0 0 0 ${h}px ${g}`,errorActiveShadow:`0 0 0 ${h}px ${_}`,warningActiveShadow:`0 0 0 ${h}px ${v}`,hoverBg:y,activeBg:y,inputFontSize:C,inputFontSizeLG:T,inputFontSizeSM:w}},$I=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),eL=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorderDisabled,boxShadow:`none`,cursor:`not-allowed`,opacity:1,"input[disabled], textarea[disabled]":{cursor:`not-allowed`},"&:hover:not([disabled])":{...$I(dc(e,{hoverBorderColor:e.colorBorderDisabled,hoverBg:e.colorBgContainerDisabled}))}}),tL=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),nL=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...tL(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),rL=(e,t)=>({"&-outlined":{...tL(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{...eL(e)},...nL(e,{status:`error`,borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...nL(e,{status:`warning`,borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...t}}),iL=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),aL=e=>({"&-outlined":{[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},...iL(e,{status:`error`,addonBorderColor:e.colorError,addonColor:e.colorErrorText}),...iL(e,{status:`warning`,addonBorderColor:e.colorWarning,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:{...eL(e)}}}}),oL=(e,t)=>{let{componentCls:n}=e;return{"&-borderless":{background:`transparent`,border:`none`,paddingBlock:e.calc(e.paddingBlock).add(e.lineWidth).equal(),[`&${n}-sm, &${n}-affix-wrapper-sm`]:{paddingBlock:e.calc(e.paddingBlockSM).add(e.lineWidth).equal()},[`&${n}-lg, &${n}-affix-wrapper-lg`]:{paddingBlock:e.calc(e.paddingBlockLG).add(e.lineWidth).equal()},"&:focus, &:focus-within":{outline:`none`},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:`not-allowed`},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}},...t}}},sL=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:`transparent`,"input&, & input, textarea&, & textarea":{color:t?.inputColor??`unset`},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),cL=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...sL(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}}),lL=(e,t)=>({"&-filled":{...sL(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,inputColor:e.colorText}),[`&${e.componentCls}-disabled, &[disabled]`]:{...eL(e)},...cL(e,{status:`error`,bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError}),...cL(e,{status:`warning`,bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning}),...t}}),uL=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),dL=e=>({"&-filled":{[`${e.componentCls}-group-addon`]:{background:e.colorFillTertiary,"&:last-child":{position:`static`}},...uL(e,{status:`error`,addonBg:e.colorErrorBg,addonColor:e.colorErrorText}),...uL(e,{status:`warning`,addonBg:e.colorWarningBg,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}}}),fL=(e,t)=>({background:e.colorBgContainer,borderWidth:`${Y(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${t.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${t.hoverBorderColor} transparent`,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${t.activeBorderColor} transparent`,outline:0,backgroundColor:e.activeBg}}),pL=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...fL(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:`transparent transparent ${t.borderColor} transparent`}}),mL=(e,t)=>({"&-underlined":{...fL(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled,boxShadow:`none`,cursor:`not-allowed`,"&:hover":{borderColor:`transparent transparent ${e.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:`not-allowed`},...pL(e,{status:`error`,borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...pL(e,{status:`warning`,borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...t}}),hL=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:`none`},"&:placeholder-shown":{textOverflow:`ellipsis`}}),gL=e=>{let{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:i}=e;return{padding:`${Y(t)} ${Y(i)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},_L=e=>({padding:`${Y(e.paddingBlockSM)} ${Y(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),vL=(e,t={})=>({position:`relative`,display:`inline-block`,width:`100%`,minWidth:0,padding:`${Y(e.paddingBlock)} ${Y(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`,...hL(e.colorTextPlaceholder),"&-lg":{...gL(e),...t.largeStyle},"&-sm":{..._L(e),...t.smallStyle},"&-rtl, &-textarea-rtl":{direction:`rtl`}}),yL=e=>{let{componentCls:t,antCls:n}=e;return{position:`relative`,display:`table`,width:`100%`,borderCollapse:`separate`,borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:{...gL(e)},[`&-sm ${t}, &-sm > ${t}-group-addon`]:{..._L(e)},[`&-lg ${n}-select-single`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single`]:{height:e.controlHeightSM},[`> ${t}`]:{display:`table-cell`,"&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:`table-cell`,width:1,whiteSpace:`nowrap`,verticalAlign:`middle`,"&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:`block !important`},"&-addon":{position:`relative`,padding:`0 ${Y(e.paddingInline)}`,color:e.colorText,fontWeight:`normal`,fontSize:e.inputFontSize,textAlign:`center`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${Y(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${Y(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{backgroundColor:`inherit`,border:`${Y(e.lineWidth)} ${e.lineType} transparent`,boxShadow:`none`}},[`${n}-cascader-picker`]:{margin:`-9px ${Y(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:`transparent`,[`${n}-cascader-input`]:{textAlign:`start`,border:0,boxShadow:`none`}}}},[t]:{width:`100%`,marginBottom:0,textAlign:`inherit`,"&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0},"&:not(:first-child)":{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:{display:`block`,...Gl(),[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:`inline-flex`,float:`none`,verticalAlign:`top`,borderRadius:0},[` + &${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-topRight`]:{animationName:lg}}},vw(e,h,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:`relative`,margin:0},[`${n}-submenu-popup`]:{position:`absolute`,zIndex:r,background:`transparent`,boxShadow:`none`,transformOrigin:`0 0`,"ul, li":{listStyle:`none`,margin:0}},[`${t}, ${t}-menu-submenu`]:{...Ul(e),[n]:{padding:d,listStyleType:`none`,backgroundColor:h,backgroundClip:`padding-box`,borderRadius:e.borderRadiusLG,outline:`none`,boxShadow:e.boxShadowSecondary,...ql(e),"&:empty":{padding:0,boxShadow:`none`},[`${n}-item-group-title`]:{padding:`${Y(l)} ${Y(m)}`,color:e.colorTextDescription,transition:`all ${c}`},[`${n}-item`]:{position:`relative`,display:`flex`,alignItems:`center`},[`${n}-item-icon`]:{minWidth:u,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:`auto`,"&-with-extra":{display:`inline-flex`,alignItems:`center`,width:`100%`},"> a":{color:`inherit`,transition:`all ${c}`,"&:hover":{color:`inherit`},"&::after":{position:`absolute`,inset:0,content:`""`}},[`${n}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:`auto`,fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${n}-item, ${n}-submenu-title`]:{display:`flex`,margin:0,padding:`${Y(l)} ${Y(m)}`,color:e.colorText,fontWeight:`normal`,fontSize:u,lineHeight:e.lineHeight,cursor:`pointer`,transition:`all ${c}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover},...ql(e),"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:f,cursor:`not-allowed`,"&:hover":{color:f,backgroundColor:h,cursor:`not-allowed`},a:{pointerEvents:`none`}},"&-divider":{height:1,margin:`${Y(e.marginXXS)} 0`,overflow:`hidden`,lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:`absolute`,insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:`0 !important`,color:e.colorIcon,fontSize:p,fontStyle:`normal`}}},[`${n}-item-group-list`]:{margin:`0 ${Y(e.marginXS)}`,padding:0,listStyle:`none`},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(m).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:`relative`},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:f,backgroundColor:h,cursor:`not-allowed`}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}}}},[hg(e,`slide-up`),hg(e,`slide-down`),ag(e,`move-up`),ag(e,`move-down`),Ag(e,`zoom-big`)]]},BE=Ql(`Dropdown`,e=>{let{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:i}=e,a=dc(e,{menuCls:`${i}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[zE(a),RE(a)]},e=>({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2,...gw({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0}),...mw(e)}),{resetStyle:!1}),VE=e=>{let{menu:t,arrow:n,prefixCls:r,children:i,trigger:a,disabled:o,dropdownRender:s,popupRender:c,getPopupContainer:l,overlayClassName:u,rootClassName:d,overlayStyle:f,open:p,onOpenChange:m,mouseEnterDelay:h=.15,mouseLeaveDelay:g=.1,autoAdjustOverflow:_=!0,placement:v=``,transitionName:y,classNames:b,styles:x,destroyPopupOnHide:C,destroyOnHidden:w}=e,{getPrefixCls:T,direction:E,getPopupContainer:D,className:O,style:k,classNames:A,styles:j}=ya(`dropdown`),M={...e,mouseEnterDelay:h,mouseLeaveDelay:g,autoAdjustOverflow:_},[N,P]=Cf([A,b],[j,x],{props:M}),F={...k,...f,...P.root},I=c||s;Gi(`Dropdown`);let L=S.useMemo(()=>{let e=T();return y===void 0?v.includes(`top`)?`${e}-slide-down`:`${e}-slide-up`:y},[T,v,y]),R=S.useMemo(()=>v?v.includes(`Center`)?v.slice(0,v.indexOf(`Center`)):v:E===`rtl`?`bottomRight`:`bottomLeft`,[v,E]),z=T(`dropdown`,r),B=sp(z),[V,H]=BE(z,B),[,U]=Vl(),W=S.Children.only(of(i)?S.createElement(`span`,null,i):i),ee=um(W,{className:J(`${z}-trigger`,{[`${z}-rtl`]:E===`rtl`},W.props.className),disabled:W.props.disabled??o}),te=o?[]:a,ne=!!te?.includes(`contextMenu`),[re,G]=Gn(!1,p),ie=zn(e=>{m?.(e,{source:`trigger`}),G(e)}),K=J(u,d,V,H,B,O,N.root,{[`${z}-rtl`]:E===`rtl`}),ae=Cw({arrowPointAtCenter:nf(n)&&n.pointAtCenter,autoAdjustOverflow:_,offset:U.marginXXS,arrowWidth:n?U.sizePopupArrow:0,borderRadius:U.borderRadius}),q=zn(()=>{t?.selectable&&t?.multiple||(m?.(!1,{source:`menu`}),G(!1))}),oe=()=>{let e=gi(N,[`root`]),n=gi(P,[`root`]),r;return t?.items&&(r=S.createElement(LE,{...t,classNames:{...e,subMenu:{...e}},styles:{...n,subMenu:{...n}}})),I&&(r=I(r)),r=S.Children.only(typeof r==`string`?S.createElement(`span`,null,r):r),S.createElement(xE,{prefixCls:`${z}-menu`,rootClassName:J(H,B),expandIcon:S.createElement(`span`,{className:`${z}-menu-submenu-arrow`},E===`rtl`?S.createElement(Xw,{className:`${z}-menu-submenu-arrow-icon`}):S.createElement(Vg,{className:`${z}-menu-submenu-arrow-icon`})),mode:`vertical`,selectable:!1,onClick:q,validator:({mode:e})=>{}},r)},[se,ce]=Lf(`Dropdown`,F.zIndex),le=S.createElement(tT,{alignPoint:ne,...gi(e,[`rootClassName`,`onOpenChange`]),mouseEnterDelay:h,mouseLeaveDelay:g,visible:re,builtinPlacements:ae,arrow:!!n,overlayClassName:K,prefixCls:z,getPopupContainer:l||D,transitionName:L,trigger:te,overlay:oe,placement:R,onVisibleChange:ie,overlayStyle:{...F,zIndex:se},autoDestroy:w??C},ee);return se&&(le=S.createElement(jf.Provider,{value:ce},le)),le},HE=lx(VE,`align`,void 0,`dropdown`,e=>e);VE._InternalPanelDoNotUseOrYouWillBeFired=e=>S.createElement(HE,{...e},S.createElement(`span`,null));var X=__,UE=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e){(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekday=r()})(e,(function(){return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_localeData=r()})(e,(function(){return function(e,t,n){var r=t.prototype,i=function(e){return e&&(e.indexOf?e:e.s)},a=function(e,t,n,r,a){var o=e.name?e:e.$locale(),s=i(o[t]),c=i(o[n]),l=s||c.map((function(e){return e.slice(0,r)}));if(!a)return l;var u=o.weekStart;return l.map((function(e,t){return l[(t+(u||0))%7]}))},o=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}(e.formats[t.toUpperCase()])},c=function(){var e=this;return{months:function(t){return t?t.format(`MMMM`):a(e,`months`)},monthsShort:function(t){return t?t.format(`MMM`):a(e,`monthsShort`,`months`,3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format(`dddd`):a(e,`weekdays`)},weekdaysMin:function(t){return t?t.format(`dd`):a(e,`weekdaysMin`,`weekdays`,2)},weekdaysShort:function(t){return t?t.format(`ddd`):a(e,`weekdaysShort`,`weekdays`,3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return c.bind(this)()},n.localeData=function(){var e=o();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return a(o(),`months`)},n.monthsShort=function(){return a(o(),`monthsShort`,`months`,3)},n.weekdays=function(e){return a(o(),`weekdays`,null,null,e)},n.weekdaysShort=function(e){return a(o(),`weekdaysShort`,`weekdays`,3,e)},n.weekdaysMin=function(e){return a(o(),`weekdaysMin`,`weekdays`,2,e)}}}))})),KE=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekOfYear=r()})(e,(function(){var e=`week`,t=`year`;return function(n,r,i){var a=r.prototype;a.week=function(n){if(n===void 0&&(n=null),n!==null)return this.add(7*(n-this.week()),`day`);var r=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var a=i(this).startOf(t).add(1,t).date(r),o=i(this).endOf(e);if(a.isBefore(o))return 1}var s=i(this).startOf(t).date(r).startOf(e).subtract(1,`millisecond`),c=this.diff(s,e,!0);return c<0?i(this).startOf(`week`).week():Math.ceil(c)},a.weeks=function(e){return e===void 0&&(e=null),this.week(e)}}}))})),qE=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekYear=r()})(e,(function(){return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return t===1&&e===11?n+1:e===0&&t>=52?n-1:n}}}))})),JE=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`YYYY-MM-DDTHH:mm:ssZ`).replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),YE=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,``)===e&&(this.day=r)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))})),XE=c(UE()),ZE=c(WE()),QE=c(GE()),$E=c(KE()),eD=c(qE()),tD=c(JE()),nD=c(YE());XE.default.extend(nD.default),XE.default.extend(tD.default),XE.default.extend(ZE.default),XE.default.extend(QE.default),XE.default.extend($E.default),XE.default.extend(eD.default),XE.default.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=(e||``).replace(`Wo`,`wo`);return r.bind(this)(t)}});var rD={bn_BD:`bn-bd`,by_BY:`be`,en_GB:`en-gb`,en_US:`en`,fr_BE:`fr`,fr_CA:`fr-ca`,hy_AM:`hy-am`,kmr_IQ:`ku`,nl_BE:`nl-be`,pt_BR:`pt-br`,zh_CN:`zh-cn`,zh_HK:`zh-hk`,zh_TW:`zh-tw`},iD=function(e){return rD[e]||e.split(`_`)[0]},aD=function(e){return!XE.default.isDayjs(e)||e instanceof XE.default?e:(0,XE.default)(e.valueOf())},oD={getNow:function(){var e=(0,XE.default)();return typeof e.tz==`function`?e.tz():e},getFixedDate:function(e){return(0,XE.default)(e,[`YYYY-M-DD`,`YYYY-MM-DD`])},getEndDate:function(e){return aD(e).endOf(`month`)},getWeekDay:function(e){var t=aD(e).locale(`en`);return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(e){return aD(e).year()},getMonth:function(e){return aD(e).month()},getDate:function(e){return aD(e).date()},getHour:function(e){return aD(e).hour()},getMinute:function(e){return aD(e).minute()},getSecond:function(e){return aD(e).second()},getMillisecond:function(e){return aD(e).millisecond()},addYear:function(e,t){return aD(e).add(t,`year`)},addMonth:function(e,t){return aD(e).add(t,`month`)},addDate:function(e,t){return aD(e).add(t,`day`)},setYear:function(e,t){return aD(e).year(t)},setMonth:function(e,t){return aD(e).month(t)},setDate:function(e,t){return aD(e).date(t)},setHour:function(e,t){return aD(e).hour(t)},setMinute:function(e,t){return aD(e).minute(t)},setSecond:function(e,t){return aD(e).second(t)},setMillisecond:function(e,t){return aD(e).millisecond(t)},isAfter:function(e,t){return aD(e).isAfter(aD(t))},isValidate:function(e){return aD(e).isValid()},locale:{getWeekFirstDay:function(e){return(0,XE.default)().locale(iD(e)).localeData().firstDayOfWeek()},getWeekFirstDate:function(e,t){return aD(t).locale(iD(e)).weekday(0)},getWeek:function(e,t){return aD(t).locale(iD(e)).week()},getShortWeekDays:function(e){return(0,XE.default)().locale(iD(e)).localeData().weekdaysMin()},getShortMonths:function(e){return(0,XE.default)().locale(iD(e)).localeData().monthsShort()},format:function(e,t,n){return aD(t).locale(iD(e)).format(n)},parse:function(e,t,n){for(var r=iD(e),i=0;ie.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:`0`,r=String(e);r.lengthe.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:[],r=FD(S.useState([!1,!1]),2),i=r[0],a=r[1];return[S.useMemo(function(){return i.map(function(r,i){if(r)return!0;var a=e[i];return a?!!(!n[i]&&!a||a&&t(a,{activeIndex:i})):!1})},[e,i,t,n]),function(e,t){a(function(n){return CD(n,t,e)})}]}function HD(e){"@babel/helpers - typeof";return HD=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},HD(e)}function UD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function WD(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&(o=t.addDate(o,-7)),o}function NO(e,t){var n=t.generateConfig,r=t.locale,i=t.format;return e?typeof i==`function`?i(e):n.locale.format(r.locale,e,i):``}function PO(e,t,n){var r=t,i=[`getHour`,`getMinute`,`getSecond`,`getMillisecond`];return[`setHour`,`setMinute`,`setSecond`,`setMillisecond`].forEach(function(t,a){r=n?e[t](r,e[i[a]](n)):e[t](r,0)}),r}function FO(e,t,n,r,i){return zn(function(a,o){return!!(n&&n(a,o)||r&&e.isAfter(r,a)&&!kO(e,t,r,a,o.type)||i&&e.isAfter(a,i)&&!kO(e,t,i,a,o.type))})}function IO(e){"@babel/helpers - typeof";return IO=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},IO(e)}function LO(e,t,n){return S.useMemo(function(){var r=SD(TD(e,t,n)),i=r[0],a=IO(i)===`object`&&i.type===`mask`?i.format:null;return[r.map(function(e){return typeof e==`string`||typeof e==`function`?e:e.format}),a]},[e,t,n])}function RO(e,t,n){return typeof e[0]==`function`||n?!0:t}function zO(e){"@babel/helpers - typeof";return zO=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},zO(e)}function BO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function VO(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:!1;return S.useMemo(function(){var n=e&&SD(e);return t&&n&&(n[1]=n[1]||n[0]),n},[e,t])}function ak(e,t){var n=e.generateConfig,r=e.locale,i=e.picker,a=i===void 0?`date`:i,o=e.prefixCls,s=o===void 0?`rc-picker`:o,c=e.previewValue,l=c===void 0?`hover`:c,u=e.styles,d=u===void 0?{}:u,f=e.classNames,p=f===void 0?{}:f,m=e.order,h=m===void 0?!0:m,g=e.components,_=g===void 0?{}:g,v=e.inputRender,y=e.allowClear,b=e.clearIcon,x=e.needConfirm,C=e.multiple,w=e.format,T=e.inputReadOnly,E=e.disabledDate,D=e.minDate,O=e.maxDate,k=e.showTime,A=e.value,j=e.defaultValue,M=e.pickerValue,N=e.defaultPickerValue,P=ik(A),F=ik(j),I=ik(M),L=ik(N),R=a===`date`&&k?`datetime`:a,z=R===`time`||R===`datetime`,B=z||C,V=x??z,H=QO(hO(e),4),U=H[0],W=H[1],ee=H[2],te=H[3],ne=XD(r,W),re=S.useMemo(function(){return gO(R,ee,te,U,ne)},[R,ee,te,U,ne]),G=S.useMemo(function(){return JO(JO({},e),{},{previewValue:l,prefixCls:s,locale:ne,picker:a,styles:d,classNames:p,order:h,components:JO({input:v},_),clearIcon:vO(s,y,b),showTime:re,value:P,defaultValue:F,pickerValue:I,defaultPickerValue:L},t?.())},[e]),ie=QO(LO(R,ne,w),2),K=ie[0],ae=ie[1],q=RO(K,T,C),oe=FO(n,r,E,D,O),se=GO(n,a,oe,re);return[S.useMemo(function(){return JO(JO({},G),{},{needConfirm:V,inputReadOnly:q,disabledDate:oe})},[G,V,q,oe]),R,B,K,ae,se]}function ok(e,t){return dk(e)||uk(e,t)||ck(e,t)||sk()}function sk(){throw TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ck(e,t){if(e){if(typeof e==`string`)return lk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lk(e,t)}}function lk(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,i=pk(fk(n.every(function(e){return e})?!1:e,t||!1,r),2),a=i[0],o=i[1];function s(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!t.inherit||a)&&o(e,t.force)}return[a,s]}function bk(e){var t=S.useRef();return S.useImperativeHandle(e,function(){return{nativeElement:t.current?.nativeElement,focus:function(e){var n;(n=t.current)==null||n.focus(e)},blur:function(){var e;(e=t.current)==null||e.blur()}}}),t}function xk(e,t){return Ek(e)||Tk(e,t)||Ck(e,t)||Sk()}function Sk(){throw TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ck(e,t){if(e){if(typeof e==`string`)return wk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wk(e,t)}}function wk(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:1,r=S.useRef(t);r.current=t,Un(function(){if(e)r.current(e);else{var t=Oi(function(){r.current(e)},n);return function(){Oi.cancel(t)}}},[e])}function kk(e,t){return Pk(e)||Nk(e,t)||jk(e,t)||Ak()}function Ak(){throw TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jk(e,t){if(e){if(typeof e==`string`)return Mk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mk(e,t)}}function Mk(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=kk(S.useState(0),2),i=r[0],a=r[1],o=kk(S.useState(!1),2),s=o[0],c=o[1],l=S.useRef([]),u=S.useRef(null),d=S.useRef(null),f=function(e){u.current=e};return Ok(s||n,function(){s||(l.current=[],f(null))}),S.useEffect(function(){s&&l.current.push(i)},[s,i]),[s,function(e){c(e)},function(e){return e&&(d.current=e),d.current},i,a,function(n){var r=l.current,i=new Set(r.filter(function(e){return n[e]||t[e]})),a=+(r[r.length-1]===0);return i.size>=2||e[a]?null:a},l.current,f,function(e){return u.current===e}]}function Ik(e){"@babel/helpers - typeof";return Ik=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Ik(e)}function Lk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Rk(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n8&&arguments[8]!==void 0?arguments[8]:nA,l=arguments.length>9&&arguments[9]!==void 0?arguments[9]:nA,u=arguments.length>10&&arguments[10]!==void 0?arguments[10]:nA,d=arguments.length>11?arguments[11]:void 0,f=arguments.length>12?arguments[12]:void 0,p=arguments.length>13?arguments[13]:void 0,m=o===`time`,h=a||0,g=function(t){var r=e.getNow();return m&&(r=PO(e,r)),c[t]||n[t]||r},_=Yk(l,2),v=_[0],y=_[1],b=Yk(Gn(function(){return g(0)},v),2),x=b[0],C=b[1],w=Yk(Gn(function(){return g(1)},y),2),T=w[0],E=w[1],D=S.useMemo(function(){var t=[x,T][h];return m?t:PO(e,t,u[h])},[m,x,T,h,e,u]),O=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`panel`,a=[C,E][h];a(n);var s=[x,T];s[h]=n,d&&(!kO(e,t,x,s[0],o)||!kO(e,t,T,s[1],o))&&d(s,{source:i,range:h===1?`end`:`start`,mode:r})},k=function(n,r){if(s){var i={date:`month`,week:`month`,month:`year`,quarter:`year`}[o];if(i&&!kO(e,t,n,r,i)||o===`year`&&n&&Math.floor(e.getYear(n)/10)!==Math.floor(e.getYear(r)/10))return tA(e,o,r,-1)}return r},A=S.useRef(null);return Hn(function(){if(i&&!c[h]){var t=m?null:e.getNow();if(A.current!==null&&A.current!==h?t=[x,T][h^1]:n[h]?t=h===0?n[0]:k(n[0],n[1]):n[h^1]&&(t=n[h^1]),t){f&&e.isAfter(f,t)&&(t=f);var r=s?tA(e,o,t,1):t;p&&e.isAfter(r,p)&&(t=s?tA(e,o,p,-1):p),O(t,`reset`)}}},[i,h,n[h]]),S.useEffect(function(){i?A.current=h:A.current=null},[i,h]),Hn(function(){i&&c&&c[h]&&O(c[h],`reset`)},[i,h]),[D,O]}function iA(e,t){return lA(e)||cA(e,t)||oA(e,t)||aA()}function aA(){throw TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oA(e,t){if(e){if(typeof e==`string`)return sA(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sA(e,t)}}function sA(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,o=[],s=n>=1?n|0:1,c=e;c<=t;c+=s){var l=i.includes(c);(!l||!r)&&o.push({label:xD(c,a),value:c,disabled:l})}return o}function YA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},i=r.use12Hours,a=r.hourStep,o=a===void 0?1:a,s=r.minuteStep,c=s===void 0?1:s,l=r.secondStep,u=l===void 0?1:l,d=r.millisecondStep,f=d===void 0?100:d,p=r.hideDisabledOptions,m=r.disabledTime,h=r.disabledHours,g=r.disabledMinutes,_=r.disabledSeconds,v=S.useMemo(function(){return n||e.getNow()},[n,e]),y=S.useCallback(function(e){var t=m?.(e)||{};return[t.disabledHours||h||qA,t.disabledMinutes||g||qA,t.disabledSeconds||_||qA,t.disabledMilliseconds||qA]},[m,h,g,_]),b=VA(S.useMemo(function(){return y(v)},[v,y]),4),x=b[0],C=b[1],w=b[2],T=b[3],E=S.useCallback(function(e,t,n,r){var a=JA(0,23,o,p,e());return[i?a.map(function(e){return LA(LA({},e),{},{label:xD(e.value%12||12,2)})}):a,function(e){return JA(0,59,c,p,t(e))},function(e,t){return JA(0,59,u,p,n(e,t))},function(e,t,n){return JA(0,999,f,p,r(e,t,n),3)}]},[p,o,i,f,c,u]),D=VA(S.useMemo(function(){return E(x,C,w,T)},[E,x,C,w,T]),4),O=D[0],k=D[1],A=D[2],j=D[3];return[function(t,n){var r=function(){return O},i=k,a=A,o=j;if(n){var s=VA(y(n),4),c=s[0],l=s[1],u=s[2],d=s[3],f=VA(E(c,l,u,d),4),p=f[0],m=f[1],h=f[2],g=f[3];r=function(){return p},i=m,a=h,o=g}return PA(t,r,i,a,o,e)},O,k,A,j]}function XA(e,t){return tj(e)||ej(e,t)||QA(e,t)||ZA()}function ZA(){throw TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function QA(e,t){if(e){if(typeof e==`string`)return $A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $A(e,t)}}function $A(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:!1;fe(e),_?.(e),t&&pe(e)},he=function(e,t){G(e),t&&me(t),pe(t,e)},ge=function(e){if(le(e),me(e),re!==x){var t=[`decade`,`year`],n=[].concat(t,[`month`]),r={quarter:[].concat(t,[`quarter`]),week:[].concat(WN(n),[`week`]),date:[].concat(WN(n),[`date`])}[x]||n,i=r[r.indexOf(re)+1];i&&he(i,e)}},_e=S.useMemo(function(){var e,t;if(Array.isArray(T)){var n=JN(T,2);e=n[0],t=n[1]}else e=T;return!e&&!t?null:(e||=t,t||=e,a.isAfter(e,t)?[t,e]:[e,t])},[T,a]),ve=PD(E,D,O),ye=A[ie]||eP[ie]||Vj,be=S.useMemo(function(){return{classNames:P?.popup??n??{},styles:F?.popup??r??{}}},[P,n,F,r]),xe=S.useContext(mj),Se=S.useMemo(function(){return BN(BN({},xe),{},{hideHeader:j})},[xe,j]),Ce=`${I}-panel`,we=wD(e,[`showWeek`,`prevIcon`,`nextIcon`,`superPrevIcon`,`superNextIcon`,`disabledDate`,`minDate`,`maxDate`,`onHover`]);return S.createElement(uj.Provider,{value:be},S.createElement(mj.Provider,{value:Se},S.createElement(`div`,{ref:L,tabIndex:l,className:J(Ce,VN({},`${Ce}-rtl`,o===`rtl`))},S.createElement(ye,RN({},we,{showTime:ee,prefixCls:I,locale:U,generateConfig:a,onModeChange:he,pickerValue:de,onPickerValueChange:function(e){me(e,!0)},value:se[0],onSelect:ge,values:se,cellRender:ve,hoverRangeValue:_e,hoverValue:w})))))}var nP=S.memo(S.forwardRef(tP));function rP(e){"@babel/helpers - typeof";return rP=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},rP(e)}function iP(){return iP=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function BP(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}function VP(e){var t=e.icon,n=e.type,r=zP(e,IP),i=S.useContext(cD),a=i.prefixCls,o=i.classNames,s=i.styles;return t?S.createElement(`span`,RP({className:J(`${a}-${n}`,o.suffix),style:s.suffix},r),t):null}function HP(e){var t=e.onClear,n=zP(e,LP);return S.createElement(VP,RP({},n,{type:`clear`,role:`button`,onMouseDown:function(e){e.preventDefault()},onClick:function(e){e.stopPropagation(),t()}}))}function UP(e){"@babel/helpers - typeof";return UP=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},UP(e)}function WP(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function GP(e,t){for(var n=0;n=a&&e<=o)return r;var s=Math.min(Math.abs(e-a),Math.abs(e-o));se.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function pF(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var mF=S.forwardRef(function(e,t){var n=e.className,r=e.active,i=e.showActiveCls,a=i===void 0?!0:i,o=e.suffixIcon,s=e.format,c=e.validateFormat,l=e.onChange;e.onInput;var u=e.helped,d=e.onHelp,f=e.onSubmit,p=e.onKeyDown,m=e.preserveInvalidOnBlur,h=m===void 0?!1:m,g=e.invalid,_=e.clearIcon,v=fF(e,tF),y=e.value,b=e.onFocus,x=e.onBlur,C=e.onMouseUp,w=S.useContext(cD),T=w.prefixCls,E=w.input,D=E===void 0?`input`:E,O=w.classNames,k=w.styles,A=`${T}-input`,j=oF(S.useState(!1),2),M=j[0],N=j[1],P=oF(S.useState(y),2),F=P[0],I=P[1],L=oF(S.useState(``),2),R=L[0],z=L[1],B=oF(S.useState(null),2),V=B[0],H=B[1],U=oF(S.useState(null),2),W=U[0],ee=U[1],te=F||``;S.useEffect(function(){I(y)},[y]);var ne=S.useRef(null),re=S.useRef(null),G=S.useRef(!1);S.useImperativeHandle(t,function(){return{nativeElement:ne.current,inputElement:re.current,focus:function(e){re.current.focus(e)},blur:function(){re.current.blur()}}});var ie=S.useMemo(function(){return new QP(s||``)},[s]),K=oF(S.useMemo(function(){return u?[0,0]:ie.getSelection(V)},[ie,V,u]),2),ae=K[0],q=K[1],oe=function(e){e&&e!==s&&e!==y&&d()},se=zn(function(e){c(e)&&l(e),I(e),oe(e)}),ce=function(e){if(!s){var t=e.target.value;oe(t),I(t),l(t)}},le=function(e){if(G.current){e.preventDefault();return}var t=e.clipboardData.getData(`text`);c(t)&&se(t)},ue=function(){G.current=!0},de=function(e){var t=e.target.selectionStart;H(ie.getMaskCellIndex(t)),ee({}),C?.(e),G.current=!1},fe=function(e){N(!0),H(0),z(``),b(e)},pe=function(e){x(e)},me=function(e){N(!1),pe(e)};Ok(r,function(){!r&&!h&&I(y)});var he=function(e){e.key===`Enter`&&c(te)&&f(),p?.(e)},ge=function(e){if(G.current){e.preventDefault();return}he(e);var t=e.key,n=null,r=null,i=q-ae,a=s.slice(ae,q),o=function(e){H(function(t){var n=t+e;return n=Math.max(n,0),n=Math.min(n,ie.size()-1),n})},c=function(e){var t=oF($P(a),3),n=t[0],r=t[1],i=t[2],o=te.slice(ae,q),s=Number(o);if(isNaN(s))return String(i||(e>0?n:r));var c=s+e,l=r-n+1;return String(n+(l+c-n)%l)};switch(t){case`Backspace`:case`Delete`:n=``,r=a;break;case`ArrowLeft`:n=``,o(-1);break;case`ArrowRight`:n=``,o(1);break;case`ArrowUp`:n=``,r=c(1);break;case`ArrowDown`:n=``,r=c(-1);break;default:isNaN(Number(t))||(n=R+t,r=n);break}n!==null&&(z(n),n.length>=i&&(o(1),z(``))),r!==null&&se((te.slice(0,ae)+xD(r,i)+te.slice(q)).slice(0,s.length)),ee({})},_e=S.useRef();Hn(function(){if(!(!M||!s||G.current)){if(!ie.match(te)){se(s);return}return re.current.setSelectionRange(ae,q),_e.current=Oi(function(){re.current.setSelectionRange(ae,q)}),function(){Oi.cancel(_e.current)}}},[ie,s,M,te,V,ae,q,W,se]);var ve=s?{onFocus:fe,onBlur:me,onKeyDown:ge,onMouseDown:ue,onMouseUp:de,onPaste:le}:{};return S.createElement(`div`,{ref:ne,className:J(A,rF(rF({},`${A}-active`,r&&a),`${A}-placeholder`,u),n)},S.createElement(D,nF({ref:re,"aria-invalid":g,autoComplete:`off`},v,{onKeyDown:he,onBlur:pe},ve,{value:te,onChange:ce,className:O.input,style:k.input})),S.createElement(VP,{type:`suffix`,icon:o}),_)}),hF=`id.prefix.clearIcon.suffixIcon.separator.activeIndex.activeHelp.allHelp.focused.onFocus.onBlur.onKeyDown.locale.generateConfig.placeholder.className.style.onClick.onClear.value.onChange.onSubmit.onInputChange.format.maskFormat.preserveInvalidOnBlur.onInvalid.disabled.invalid.inputReadOnly.direction.onOpenChange.onActiveInfo.placement.onMouseDown.required.aria-required.autoFocus.tabIndex`.split(`.`),gF=[`index`];function _F(){return _F=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jF(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}function MF(e,t){var n=e.id,r=e.prefix,i=e.clearIcon,a=e.suffixIcon,o=e.separator,s=o===void 0?`~`:o,c=e.activeIndex;e.activeHelp,e.allHelp;var l=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var u=e.placeholder,d=e.className,f=e.style,p=e.onClick,m=e.onClear,h=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var g=e.disabled,_=e.invalid;e.inputReadOnly;var v=e.direction;e.onOpenChange;var y=e.onActiveInfo;e.placement;var b=e.onMouseDown;e.required,e[`aria-required`];var x=e.autoFocus,C=e.tabIndex,w=AF(e,hF),T=v===`rtl`,E=S.useContext(cD),D=E.prefixCls,O=E.classNames,k=E.styles,A=S.useMemo(function(){if(typeof n==`string`)return[n];var e=n||{};return[e.start,e.end]},[n]),j=S.useRef(),M=S.useRef(),N=S.useRef(),P=function(e){return[M,N][e]?.current};S.useImperativeHandle(t,function(){return{nativeElement:j.current,focus:function(e){if(kF(e)===`object`){var t,n=e||{},r=n.index,i=r===void 0?0:r,a=AF(n,gF);(t=P(i))==null||t.focus(a)}else{var o;(o=P(e??0))==null||o.focus()}},blur:function(){var e,t;(e=P(0))==null||e.blur(),(t=P(1))==null||t.blur()}}});var F=FP(w),I=S.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),L=CF(NP(yF(yF({},e),{},{id:A,placeholder:I})),1)[0],R=CF(S.useState({position:`absolute`,width:0}),2),z=R[0],B=R[1],V=zn(function(){var e=P(c);if(e){var t=e.nativeElement.getBoundingClientRect(),n=j.current.getBoundingClientRect(),r=t.left-n.left;B(function(e){return yF(yF({},e),{},{width:t.width,left:r})}),y([t.left,t.right,n.width])}});S.useEffect(function(){V()},[c]);var H=i&&(h[0]&&!g[0]||h[1]&&!g[1]),U=x&&!g[0],W=x&&!U&&!g[1];return S.createElement(oa,{onResize:V},S.createElement(`div`,_F({},F,{className:J(D,`${D}-range`,bF(bF(bF(bF({},`${D}-focused`,l),`${D}-disabled`,g.every(function(e){return e})),`${D}-invalid`,_.some(function(e){return e})),`${D}-rtl`,T),d),style:f,ref:j,onClick:p,onMouseDown:function(e){var t=e.target;t!==M.current.inputElement&&t!==N.current.inputElement&&e.preventDefault(),b?.(e)}}),r&&S.createElement(`div`,{className:J(`${D}-prefix`,O.prefix),style:k.prefix},r),S.createElement(mF,_F({ref:M},L(0),{className:`${D}-input-start`,autoFocus:U,tabIndex:C,"date-range":`start`})),S.createElement(`div`,{className:`${D}-range-separator`},s),S.createElement(mF,_F({ref:N},L(1),{className:`${D}-input-end`,autoFocus:W,tabIndex:C,"date-range":`end`})),S.createElement(`div`,{className:`${D}-active-bar`,style:z}),S.createElement(VP,{type:`suffix`,icon:a}),H&&S.createElement(HP,{icon:i,onClear:m})))}var NF=S.forwardRef(MF);function PF(e){"@babel/helpers - typeof";return PF=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},PF(e)}function FF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function IF(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0&&K.current.focus({index:n})}ue(!0),ie?.(e)},Qe=function(){Be(null),ue(!1,{force:!0})},$e=QF(S.useState(null),2),et=$e[0],tt=$e[1],nt=QF(S.useState(null),2),rt=nt[0],it=nt[1],at=S.useMemo(function(){return rt||_e},[_e,rt]);S.useEffect(function(){ce||it(null)},[ce]);var ot=QF(S.useState([0,0,0]),2),st=ot[0],ct=ot[1],lt=function(e,t){p===`hover`&&(it(e),tt(t))},ut=Dk(W,ee),dt=function(e){lt(e,`preset`)},ft=function(e){Be(e)&&(xe(`preset-click`),ue(!1,{force:!0}))},pt=function(e){Xe(e)},mt=function(e){lt(e?Ye(e,Se):null,`cell`)},ht=function(e){ue(!0),Oe(e)},gt=function(){xe(`panel`)},_t=function(e){he(CD(_e,Se,e)),!g&&!a&&i===Fe&&Xe(e)},vt=function(){ue(!1)},yt=PD(ne,re,G,aI(Se)),bt=_e[Se]||null,xt=zn(function(e){return c(e,{activeIndex:Se})}),St=S.useMemo(function(){var e=xi(r,!1);return gi(r,[].concat(UF(Object.keys(e)),[`onChange`,`onCalendarChange`,`style`,`className`,`onPanelChange`,`disabledTime`,`classNames`,`styles`]))},[r]),Ct=S.createElement(EP,HF({},St,{showNow:Le,showTime:Ae,range:!0,multiplePanel:Ie,activeInfo:st,disabledDate:Ve,onFocus:ht,onBlur:ke,onPanelMouseDown:gt,picker:k,mode:Pe,internalMode:Fe,onPanelChange:Je,format:s,value:bt,isInvalid:xt,onChange:null,onSelect:_t,pickerValue:Ke,defaultOpenValue:SD(M?.defaultOpenValue)[Se],onPickerValueChange:qe,hoverValue:at,onHover:mt,needConfirm:g,onSubmit:Xe,onOk:ge,presets:ut,onPresetHover:dt,onPresetSubmit:ft,onNow:pt,cellRender:yt,classNames:q,styles:oe})),wt=function(e,t){he(Ye(e,t))},Tt=function(){xe(`input`)},Et=function(e,t){var n=Te.length,r=Te[n-1];if(n&&r!==t&&g&&!y[r]&&!De(r)&&_e[r]){K.current.focus({index:r});return}xe(`input`),ue(!0,{inherit:!0}),Se!==t&&ce&&!g&&a&&Xe(null,!0),Ce(t),Oe(e,t)},Dt=function(e,t){ue(!1),!g&&xe()===`input`&&ze(Se,we(_e)===null),ke(e,t)},Ot=function(e,t){e.key===`Tab`&&Xe(null,!0),_?.(e,t)},kt=S.useMemo(function(){return{prefixCls:l,locale:D,generateConfig:O,button:te.button,input:te.input,classNames:q,styles:oe}},[l,D,O,te.button,te.input,q,oe]);return Hn(function(){ce&&Se!==void 0&&Je(null,k,!1)},[ce,Se,k]),Hn(function(){var e=xe();!ce&&e===`input`&&(ue(!1),Xe(null,!0)),!ce&&a&&!g&&e===`panel`&&(ue(!0),Xe())},[ce]),S.createElement(cD.Provider,{value:kt},S.createElement(mD,HF({},DD(r),{popupElement:Ct,popupStyle:oe.popup.root,popupClassName:J(u,q.popup.root),visible:ce,onClose:vt,range:!0}),S.createElement(NF,HF({},r,{ref:K,className:J(r.className,u,q.root),style:JF(JF({},oe.root),r.style),suffixIcon:V,activeIndex:ye||ce?Se:null,activeHelp:!!rt,allHelp:!!rt&&et===`preset`,focused:ye,onFocus:Et,onBlur:Dt,onKeyDown:Ot,onSubmit:Xe,value:at,maskFormat:s,onChange:wt,onInputChange:Tt,format:o,inputReadOnly:B,disabled:v,open:ce,onOpenChange:ue,onClick:Ze,onClear:Qe,invalid:Ue,onInvalid:We,onActiveInfo:ct}))))}var sI=S.forwardRef(oI);function cI(e){var t=e.prefixCls,n=e.value,r=e.onRemove,i=e.removeIcon,a=i===void 0?`×`:i,o=e.formatDate,s=e.disabled,c=e.maxTagCount,l=e.placeholder,u=`${t}-selector`,d=`${t}-selection`,f=`${d}-overflow`;function p(e,t){return S.createElement(`span`,{className:J(`${d}-item`),title:typeof e==`string`?e:null},S.createElement(`span`,{className:`${d}-item-content`},e),!s&&t&&S.createElement(`span`,{onMouseDown:function(e){e.preventDefault()},onClick:t,className:`${d}-item-remove`},a))}function m(e){return p(o(e),function(t){t&&t.stopPropagation(),r(e)})}function h(e){return p(`+ ${e.length} ...`)}return S.createElement(`div`,{className:u},S.createElement(tS,{prefixCls:f,data:n,renderItem:m,renderRest:h,itemKey:function(e){return o(e)},maxCount:c}),!n.length&&S.createElement(`span`,{className:`${t}-selection-placeholder`},l))}function lI(e){"@babel/helpers - typeof";return lI=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},lI(e)}var uI=`id.open.prefix.clearIcon.suffixIcon.activeHelp.allHelp.focused.onFocus.onBlur.onKeyDown.locale.generateConfig.placeholder.className.style.onClick.onClear.internalPicker.value.onChange.onSubmit.onInputChange.multiple.maxTagCount.format.maskFormat.preserveInvalidOnBlur.onInvalid.disabled.invalid.inputReadOnly.direction.onOpenChange.onMouseDown.required.aria-required.autoFocus.tabIndex.removeIcon`.split(`.`);function dI(){return dI=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function wI(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}function TI(e,t){e.id;var n=e.open,r=e.prefix,i=e.clearIcon,a=e.suffixIcon;e.activeHelp,e.allHelp;var o=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var s=e.locale,c=e.generateConfig,l=e.placeholder,u=e.className,d=e.style,f=e.onClick,p=e.onClear,m=e.internalPicker,h=e.value,g=e.onChange,_=e.onSubmit;e.onInputChange;var v=e.multiple,y=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var b=e.disabled,x=e.invalid;e.inputReadOnly;var C=e.direction;e.onOpenChange;var w=e.onMouseDown;e.required,e[`aria-required`];var T=e.autoFocus,E=e.tabIndex,D=e.removeIcon,O=CI(e,uI),k=C===`rtl`,A=S.useContext(cD),j=A.prefixCls,M=A.classNames,N=A.styles,P=S.useRef(),F=S.useRef();S.useImperativeHandle(t,function(){return{nativeElement:P.current,focus:function(e){var t;(t=F.current)==null||t.focus(e)},blur:function(){var e;(e=F.current)==null||e.blur()}}});var I=FP(O),L=function(e){g([e])},R=function(e){g(h.filter(function(t){return t&&!kO(c,s,t,e,m)})),n||_()},z=_I(NP(pI(pI({},e),{},{onChange:L}),function(e){return{value:e.valueTexts[0]||``,active:o}}),2),B=z[0],V=z[1],H=!!(i&&h.length&&!b),U=v?S.createElement(S.Fragment,null,S.createElement(cI,{prefixCls:j,value:h,onRemove:R,formatDate:V,maxTagCount:y,disabled:b,removeIcon:D,placeholder:l}),S.createElement(`input`,{className:`${j}-multiple-input`,value:h.map(V).join(`,`),ref:F,readOnly:!0,autoFocus:T,tabIndex:E}),S.createElement(VP,{type:`suffix`,icon:a}),H&&S.createElement(HP,{icon:i,onClear:p})):S.createElement(mF,dI({ref:F},B(),{autoFocus:T,tabIndex:E,suffixIcon:a,clearIcon:H&&S.createElement(HP,{icon:i,onClear:p}),showActiveCls:!1}));return S.createElement(`div`,dI({},I,{className:J(j,mI(mI(mI(mI(mI({},`${j}-multiple`,v),`${j}-focused`,o),`${j}-disabled`,b),`${j}-invalid`,x),`${j}-rtl`,k),u),style:d,ref:P,onClick:f,onMouseDown:function(e){e.target!==F.current?.inputElement&&e.preventDefault(),w?.(e)}}),r&&S.createElement(`div`,{className:J(`${j}-prefix`,M.prefix),style:N.prefix},r),U)}var EI=S.forwardRef(TI);function DI(e){"@babel/helpers - typeof";return DI=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},DI(e)}function OI(){return OI=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);ne??{...t,__INTERNAL__:{itemRef:e=>t=>{let r=ZI(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:(e,t={})=>{let{focus:n,...i}=t,a=QI(e,r);a&&(np(a,{scrollMode:`if-needed`,block:`nearest`,...i}),n&&r.focusField(e))},focusField:e=>{let t=r.getFieldInstance(e);typeof t?.focus==`function`?t.focus():QI(e,r)?.focus?.()},getFieldInstance:e=>{let t=ZI(e);return n.current[t]}},[e,t]);return[r]}var eL=S.createContext(void 0),fte=eL.Provider,tL=S.createContext(void 0),pte=tL.Provider;function nL(){return nL=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n=`rc-checkbox`,className:r,style:i,checked:a,disabled:o,defaultChecked:s=!1,type:c=`checkbox`,title:l,onChange:u,...d}=e,f=(0,S.useRef)(null),p=(0,S.useRef)(null),[m,h]=Gn(s,a);(0,S.useImperativeHandle)(t,()=>({focus:e=>{f.current?.focus(e)},blur:()=>{f.current?.blur()},input:f.current,nativeElement:p.current}));let g=J(n,r,{[`${n}-checked`]:m,[`${n}-disabled`]:o});return S.createElement(`span`,{className:g,title:l,style:i,ref:p},S.createElement(`input`,nL({},d,{className:`${n}-input`,ref:f,onChange:t=>{o||(`checked`in e||h(t.target.checked),u?.({target:{...e,type:c,checked:t.target.checked},stopPropagation(){t.stopPropagation()},preventDefault(){t.preventDefault()},nativeEvent:t.nativeEvent}))},disabled:o,checked:!!m,type:c})))});function iL(e){let t=S.useRef(null),n=()=>{Oi.cancel(t.current),t.current=null};return[()=>{n(),t.current=Oi(()=>{t.current=null})},r=>{t.current&&(r.stopPropagation(),n()),e?.(r)}]}var mte=e=>{let{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:{...Ul(e),display:`inline-block`,fontSize:0,[`&${r}-rtl`]:{direction:`rtl`},[`&${r}-block`]:{display:`flex`},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:`none`},"&-vertical":{display:`flex`,flexDirection:`column`,rowGap:e.marginXS,[`${t}-wrapper`]:{marginInlineEnd:0}}}}},hte=e=>{let{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,colorPrimaryHover:i,radioSize:a,motionDurationSlow:o,motionDurationMid:s,motionEaseInOutCirc:c,colorBgContainer:l,colorBorder:u,lineWidth:d,colorBgContainerDisabled:f,colorTextDisabled:p,paddingXS:m,dotColorDisabled:h,dotSize:g,lineType:_,radioColor:v,radioBgColor:y}=e;return{[`${t}-wrapper`]:{...Ul(e),display:`inline-flex`,alignItems:`baseline`,marginInlineStart:0,marginInlineEnd:n,cursor:`pointer`,"&:last-child":{marginInlineEnd:0},[`&${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`},[t]:{...Ul(e),position:`relative`,whiteSpace:`nowrap`,lineHeight:1,cursor:`pointer`,alignSelf:`center`,boxSizing:`border-box`,display:`block`,width:`calc(${a} * 1px)`,height:`calc(${a} * 1px)`,backgroundColor:l,border:`${Y(d)} ${_} ${u}`,borderRadius:`50%`,transition:`all ${s}`,flex:`none`,"&:after":{content:`""`,position:`absolute`,top:`50%`,left:`50%`,transform:`translate(-50%, -50%) scale(0)`,width:`calc(${g} * 1px)`,height:`calc(${g} * 1px)`,backgroundColor:v,borderRadius:`50%`,transformOrigin:`50% 50%`,opacity:0,transition:`all ${o} ${c}`},[`${t}-input`]:{position:`absolute`,inset:0,zIndex:1,cursor:`pointer`,opacity:0,margin:0},[`&:has(${t}-input:focus-visible)`]:Kl(e)},[`&:hover:not(${t}-wrapper-disabled) ${t}`]:{borderColor:r},[`&:hover ${t}-checked:not(${t}-disabled)`]:{backgroundColor:i,borderColor:`transparent`},[`${t}-checked`]:{backgroundColor:y,borderColor:r,"&::after":{transform:`translate(-50%, -50%)`,opacity:1}},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:`not-allowed`,pointerEvents:`none`},background:f,borderColor:u,"&::after":{backgroundColor:h}},[`${t}-disabled + span`]:{color:p,cursor:`not-allowed`},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}}}},gte=e=>{let{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:i,lineType:a,colorBorder:o,motionDurationMid:s,buttonPaddingInline:c,fontSize:l,buttonBg:u,fontSizeLG:d,controlHeightLG:f,controlHeightSM:p,paddingXS:m,borderRadius:h,borderRadiusSM:g,borderRadiusLG:_,buttonCheckedBg:v,buttonSolidCheckedColor:y,colorTextDisabled:b,colorBgContainerDisabled:x,buttonCheckedBgDisabled:S,buttonCheckedColorDisabled:C,colorPrimary:w,colorPrimaryHover:T,colorPrimaryActive:E,buttonSolidCheckedBg:D,buttonSolidCheckedHoverBg:O,buttonSolidCheckedActiveBg:k,calc:A}=e;return{[`${r}-button-wrapper`]:{position:`relative`,display:`inline-block`,height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:l,lineHeight:Y(A(n).sub(A(i).mul(2)).equal()),background:u,border:`${Y(i)} ${a} ${o}`,borderBlockStartWidth:A(i).add(.02).equal(),borderInlineEndWidth:i,cursor:`pointer`,transition:[`color`,`background-color`,`box-shadow`].map(e=>`${e} ${s}`).join(`,`),a:{color:t},[`> ${r}-button`]:{position:`absolute`,insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:`100%`,height:`100%`},"&:not(:last-child)":{marginInlineEnd:A(i).mul(-1).equal()},"&:first-child":{borderInlineStart:`${Y(i)} ${a} ${o}`,borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h},"&:first-child:last-child":{borderRadius:h},[`${r}-group-large &`]:{height:f,fontSize:d,lineHeight:Y(A(f).sub(A(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:_,borderEndStartRadius:_},"&:last-child":{borderStartEndRadius:_,borderEndEndRadius:_}},[`${r}-group-small &`]:{height:p,paddingInline:A(m).sub(i).equal(),paddingBlock:0,lineHeight:Y(A(p).sub(A(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g}},"&:hover":{position:`relative`,color:w},"&:has(:focus-visible)":Kl(e),[`${r}, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:`none`},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:w,background:v,borderColor:w,"&::before":{backgroundColor:w},"&:first-child":{borderColor:w},"&:hover":{color:T,borderColor:T,"&::before":{backgroundColor:T}},"&:active":{color:E,borderColor:E,"&::before":{backgroundColor:E}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:y,background:D,borderColor:D,"&:hover":{color:y,background:O,borderColor:O},"&:active":{color:y,background:k,borderColor:k}},"&-disabled":{color:b,backgroundColor:x,borderColor:o,cursor:`not-allowed`,"&:first-child, &:hover":{color:b,backgroundColor:x,borderColor:o}},[`&-disabled${r}-button-wrapper-checked`]:{color:C,backgroundColor:S,borderColor:o,boxShadow:`none`},"&-block":{flex:1,textAlign:`center`}}}},aL=Ql(`Radio`,e=>{let{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${Y(n)} ${t}`,i=dc(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[mte(i),hte(i),gte(i)]},e=>{let{wireframe:t,padding:n,marginXS:r,lineWidth:i,fontSizeLG:a,colorText:o,colorBgContainer:s,colorTextDisabled:c,controlItemBgActiveDisabled:l,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:f,colorPrimaryActive:p,colorWhite:m}=e,h=a;return{radioSize:h,dotSize:t?h-8:h-(4+i)*2,dotColorDisabled:c,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:p,buttonBg:s,buttonCheckedBg:s,buttonColor:o,buttonCheckedBgDisabled:l,buttonCheckedColorDisabled:c,buttonPaddingInline:n-i,wrapperMarginInlineEnd:r,radioColor:t?d:m,radioBgColor:t?s:d}},{unitless:{radioSize:!0,dotSize:!0}}),oL=S.forwardRef((e,t)=>{let n=S.useContext(eL),r=S.useContext(tL),{getPrefixCls:i,direction:a,className:o,style:s,classNames:c,styles:l}=ya(`radio`),u=cr(t,S.useRef(null)),{isFormItemInput:d}=S.useContext(Dy),f=t=>{e.onChange?.(t),n?.onChange?.(t)},{prefixCls:p,className:m,rootClassName:h,children:g,style:_,title:v,classNames:y,styles:b,...x}=e,C=i(`radio`,p),w=(n?.optionType||r)===`button`,T=w?`${C}-button`:C,E=sp(C),[D,O]=aL(C,E),k={...x},A=S.useContext(hm),j=k.checked;n&&(k.name=n.name,k.onChange=f,j=e.value===n.value,k.disabled=k.disabled??n.disabled),k.disabled=k.disabled??A;let M={...e,...k,checked:j},[N,P]=Cf([c,y],[l,b],{props:M}),F=J(`${T}-wrapper`,{[`${T}-wrapper-checked`]:j,[`${T}-wrapper-disabled`]:k.disabled,[`${T}-wrapper-rtl`]:a===`rtl`,[`${T}-wrapper-in-form-item`]:d,[`${T}-wrapper-block`]:!!n?.block},o,m,h,N.root,D,O,E),[I,L]=iL(k.onClick);return S.createElement(Dh,{component:`Radio`,disabled:k.disabled},S.createElement(`label`,{className:F,style:{...P.root,...s,..._},onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:v,onClick:I},S.createElement(rL,{...k,checked:j,className:J(N.icon,{[bh]:!w}),style:P.icon,type:`radio`,prefixCls:T,ref:u,onClick:L}),g===void 0?null:S.createElement(`span`,{className:J(`${T}-label`,N.label),style:P.label},g)))}),_te=S.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=S.useContext(ga),{name:i}=S.useContext(Dy),a=Xn(ZI(i)),{prefixCls:o,className:s,rootClassName:c,options:l,buttonStyle:u=`outline`,disabled:d,children:f,size:p,style:m,id:h,optionType:g,name:_=a,defaultValue:v,value:y,block:b=!1,onChange:x,onMouseEnter:C,onMouseLeave:w,onFocus:T,onBlur:E,orientation:D,vertical:O,role:k=`radiogroup`}=e,[A,j]=Gn(v,y),M=S.useCallback(t=>{let n=A,r=t.target.value;`value`in e||j(r),r!==n&&x?.(t)},[A,j,x]),N=n(`radio`,o),P=`${N}-group`,F=sp(N),[I,L]=aL(N,F),R=f;l&&l.length>0&&(R=l.map(e=>typeof e==`string`||ef(e)?S.createElement(oL,{key:e.toString(),prefixCls:N,disabled:d,value:e,checked:A===e},e):S.createElement(oL,{key:`radio-group-value-options-${e.value}`,prefixCls:N,disabled:e.disabled||d,value:e.value,checked:A===e.value,title:e.title,style:e.style,className:e.className,id:e.id,required:e.required},e.label)));let z=Oh(p),[,B]=Ef(D,O),V=J(P,`${P}-${u}`,{[`${P}-large`]:z===`large`,[`${P}-small`]:z===`small`,[`${P}-rtl`]:r===`rtl`,[`${P}-block`]:b},s,c,I,L,F),H=S.useMemo(()=>({onChange:M,value:A,disabled:d,name:_,optionType:g,block:b}),[M,A,d,_,g,b]);return S.createElement(`div`,{...xi(e,{aria:!0,data:!0}),role:k,className:J(V,{[`${N}-group-vertical`]:B}),style:m,onMouseEnter:C,onMouseLeave:w,onFocus:T,onBlur:E,id:h,ref:t},S.createElement(fte,{value:H},R))}),vte=S.memo(_te),yte=S.forwardRef((e,t)=>{let{getPrefixCls:n}=S.useContext(ga),{prefixCls:r,...i}=e,a=n(`radio`,r);return S.createElement(pte,{value:`button`},S.createElement(oL,{prefixCls:a,...i,type:`radio`,ref:t}))}),sL=oL;sL.Button=yte,sL.Group=vte,sL.__ANT_RADIO=!0;function cL(e){return dc(e,{inputAffixPadding:e.paddingXXS})}var lL=e=>{let{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightSM:a,controlHeightLG:o,fontSizeLG:s,lineHeightLG:c,paddingSM:l,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:f,colorPrimaryHover:p,colorPrimary:m,controlOutlineWidth:h,controlOutline:g,colorErrorOutline:_,colorWarningOutline:v,colorBgContainer:y,inputFontSize:b,inputFontSizeLG:x,inputFontSizeSM:S}=e,C=b||n,w=S||C,T=x||s,E=Math.round((t-C*r)/2*10)/10-i,D=Math.round((a-w*r)/2*10)/10-i,O=Math.ceil((o-T*c)/2*10)/10-i;return{paddingBlock:Math.max(E,0),paddingBlockSM:Math.max(D,0),paddingBlockLG:Math.max(O,0),paddingInline:l-i,paddingInlineSM:u-i,paddingInlineLG:d-i,addonBg:f,activeBorderColor:m,hoverBorderColor:p,activeShadow:`0 0 0 ${h}px ${g}`,errorActiveShadow:`0 0 0 ${h}px ${_}`,warningActiveShadow:`0 0 0 ${h}px ${v}`,hoverBg:y,activeBg:y,inputFontSize:C,inputFontSizeLG:T,inputFontSizeSM:w}},bte=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),uL=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorderDisabled,boxShadow:`none`,cursor:`not-allowed`,opacity:1,"input[disabled], textarea[disabled]":{cursor:`not-allowed`},"&:hover:not([disabled])":{...bte(dc(e,{hoverBorderColor:e.colorBorderDisabled,hoverBg:e.colorBgContainerDisabled}))}}),dL=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),fL=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...dL(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),pL=(e,t)=>({"&-outlined":{...dL(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{...uL(e)},...fL(e,{status:`error`,borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...fL(e,{status:`warning`,borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...t}}),mL=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),xte=e=>({"&-outlined":{[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},...mL(e,{status:`error`,addonBorderColor:e.colorError,addonColor:e.colorErrorText}),...mL(e,{status:`warning`,addonBorderColor:e.colorWarning,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:{...uL(e)}}}}),hL=(e,t)=>{let{componentCls:n}=e;return{"&-borderless":{background:`transparent`,border:`none`,paddingBlock:e.calc(e.paddingBlock).add(e.lineWidth).equal(),[`&${n}-sm, &${n}-affix-wrapper-sm`]:{paddingBlock:e.calc(e.paddingBlockSM).add(e.lineWidth).equal()},[`&${n}-lg, &${n}-affix-wrapper-lg`]:{paddingBlock:e.calc(e.paddingBlockLG).add(e.lineWidth).equal()},"&:focus, &:focus-within":{outline:`none`},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:`not-allowed`},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}},...t}}},gL=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:`transparent`,"input&, & input, textarea&, & textarea":{color:t?.inputColor??`unset`},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),_L=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...gL(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}}),vL=(e,t)=>({"&-filled":{...gL(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,inputColor:e.colorText}),[`&${e.componentCls}-disabled, &[disabled]`]:{...uL(e)},..._L(e,{status:`error`,bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError}),..._L(e,{status:`warning`,bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning}),...t}}),yL=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),Ste=e=>({"&-filled":{[`${e.componentCls}-group-addon`]:{background:e.colorFillTertiary,"&:last-child":{position:`static`}},...yL(e,{status:`error`,addonBg:e.colorErrorBg,addonColor:e.colorErrorText}),...yL(e,{status:`warning`,addonBg:e.colorWarningBg,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}}}),bL=(e,t)=>({background:e.colorBgContainer,borderWidth:`${Y(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${t.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${t.hoverBorderColor} transparent`,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${t.activeBorderColor} transparent`,outline:0,backgroundColor:e.activeBg}}),xL=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...bL(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:`transparent transparent ${t.borderColor} transparent`}}),SL=(e,t)=>({"&-underlined":{...bL(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled,boxShadow:`none`,cursor:`not-allowed`,"&:hover":{borderColor:`transparent transparent ${e.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:`not-allowed`},...xL(e,{status:`error`,borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...xL(e,{status:`warning`,borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...t}}),CL=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:`none`},"&:placeholder-shown":{textOverflow:`ellipsis`}}),wL=e=>{let{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:i}=e;return{padding:`${Y(t)} ${Y(i)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},TL=e=>({padding:`${Y(e.paddingBlockSM)} ${Y(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),EL=(e,t={})=>({position:`relative`,display:`inline-block`,width:`100%`,minWidth:0,padding:`${Y(e.paddingBlock)} ${Y(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`,...CL(e.colorTextPlaceholder),"&-lg":{...wL(e),...t.largeStyle},"&-sm":{...TL(e),...t.smallStyle},"&-rtl, &-textarea-rtl":{direction:`rtl`}}),Cte=e=>{let{componentCls:t,antCls:n}=e;return{position:`relative`,display:`table`,width:`100%`,borderCollapse:`separate`,borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:{...wL(e)},[`&-sm ${t}, &-sm > ${t}-group-addon`]:{...TL(e)},[`&-lg ${n}-select-single`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single`]:{height:e.controlHeightSM},[`> ${t}`]:{display:`table-cell`,"&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:`table-cell`,width:1,whiteSpace:`nowrap`,verticalAlign:`middle`,"&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:`block !important`},"&-addon":{position:`relative`,padding:`0 ${Y(e.paddingInline)}`,color:e.colorText,fontWeight:`normal`,fontSize:e.inputFontSize,textAlign:`center`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${Y(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${Y(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{backgroundColor:`inherit`,border:`${Y(e.lineWidth)} ${e.lineType} transparent`,boxShadow:`none`}},[`${n}-cascader-picker`]:{margin:`-9px ${Y(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:`transparent`,[`${n}-cascader-input`]:{textAlign:`start`,border:0,boxShadow:`none`}}}},[t]:{width:`100%`,marginBottom:0,textAlign:`inherit`,"&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0},"&:not(:first-child)":{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:{display:`block`,...Gl(),[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:`inline-flex`,float:`none`,verticalAlign:`top`,borderRadius:0},[` & > ${t}-affix-wrapper, & > ${t}-number-affix-wrapper, & > ${n}-picker-range @@ -259,52 +259,52 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, & > ${n}-select:last-child, & > ${n}-cascader-picker:last-child ${t}, - & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:`top`},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{}}}}},bL=e=>{let{componentCls:t,controlHeightSM:n,lineWidth:r,calc:i}=e,a=i(n).sub(i(r).mul(2)).sub(16).div(2).equal();return{[t]:{...Ul(e),...vL(e),...rL(e),...lL(e),...oL(e),...mL(e),'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:`none`}}}},xL=e=>{let{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:`pointer`,transition:`color ${e.motionDurationSlow}`,border:`none`,outline:`none`,backgroundColor:`transparent`,"&:hover":{color:e.colorIcon},"&:focus-visible":{color:e.colorIcon,borderRadius:e.borderRadiusSM,...Kl(e)},"&:active":{color:e.colorText},"&-hidden":{visibility:`hidden`},"&-has-suffix":{margin:`0 ${Y(e.inputAffixPadding)}`}}}},SL=e=>{let{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:i,colorIcon:a,colorIconHover:o,iconCls:s}=e,c=`${t}-affix-wrapper`,l=`${t}-affix-wrapper-disabled`;return{[c]:{...vL(e),display:`inline-flex`,"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:`inherit`,border:`none`,borderRadius:0,outline:`none`,background:`transparent`,color:`inherit`,"&::-ms-reveal":{display:`none`},"&:focus":{boxShadow:`none !important`}},"&::before":{display:`inline-block`,width:0,visibility:`hidden`,content:`"\\a0"`},[t]:{"&-prefix, &-suffix":{display:`flex`,flex:`none`,alignItems:`center`,"> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r,direction:`ltr`},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}},...xL(e),[`${s}${t}-password-icon`]:{color:a,cursor:`pointer`,transition:`all ${i}`,"&:hover":{color:o}}},[`${t}-underlined`]:{borderRadius:0},[l]:{[`${s}${t}-password-icon`]:{color:a,cursor:`not-allowed`,"&:hover":{color:a}}}}},CL=e=>{let{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:{...Ul(e),...yL(e),"&-rtl":{direction:`rtl`},"&-wrapper":{display:`inline-block`,width:`100%`,textAlign:`start`,verticalAlign:`top`,"&-rtl":{direction:`rtl`},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}},...aL(e),...dL(e),[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}}},wL=e=>{let{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},TL=Ql([`Input`,`Shared`],e=>{let t=dc(e,ZI(e));return[bL(t),SL(t)]},QI,{resetFont:!1}),EL=Ql([`Input`,`Component`],e=>{let t=dc(e,ZI(e));return[CL(t),wL(t),l_(t,{focus:!0,focusElCls:`${t.componentCls}-affix-wrapper-focused`})]},QI,{resetFont:!1}),DL=e=>{let{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:i}=e,a=e.max(e.calc(n).sub(r).equal(),0);return{basePadding:a,containerPadding:e.max(e.calc(a).sub(i).equal(),0),itemHeight:Y(t),itemLineHeight:Y(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},OL=e=>{let{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:i,paddingXS:a,multipleItemColorDisabled:o,multipleItemBorderColorDisabled:s,colorIcon:c,colorIconHover:l,INTERNAL_FIXED_ITEM_MARGIN:u}=e;return{[`${t}-selection-overflow`]:{position:`relative`,display:`flex`,flex:`auto`,flexWrap:`wrap`,maxWidth:`100%`,"&-item":{flex:`none`,alignSelf:`center`,maxWidth:`calc(100% - 4px)`,display:`inline-flex`},[`${t}-selection-item`]:{display:`flex`,alignSelf:`center`,flex:`none`,boxSizing:`border-box`,maxWidth:`100%`,marginBlock:u,borderRadius:r,cursor:`default`,transition:[`font-size`,`line-height`,`height`].map(e=>`${e} ${i}`).join(`, `),marginInlineEnd:e.calc(u).mul(2).equal(),paddingInlineStart:a,paddingInlineEnd:e.calc(a).div(2).equal(),[`${t}-disabled&`]:{color:o,borderColor:s,cursor:`not-allowed`},"&-content":{display:`inline-block`,marginInlineEnd:e.calc(a).div(2).equal(),overflow:`hidden`,whiteSpace:`pre`,textOverflow:`ellipsis`},"&-remove":{...Wl(),display:`inline-flex`,alignItems:`center`,color:c,fontWeight:`bold`,fontSize:10,lineHeight:`inherit`,cursor:`pointer`,[`> ${n}`]:{verticalAlign:`-0.2em`},"&:hover":{color:l}}}}}},kL=(e,t)=>{let{componentCls:n,controlHeight:r}=e,i=t?`${n}-${t}`:``,a=DL(e);return[{[`${n}-multiple${i}`]:{paddingBlock:a.containerPadding,paddingInlineStart:a.basePadding,minHeight:r,[`${n}-selection-item`]:{height:a.itemHeight,lineHeight:Y(a.itemLineHeight)}}}]},AL=e=>{let{componentCls:t,calc:n,lineWidth:r}=e,i=dc(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),a=dc(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[kL(i,`small`),kL(e),kL(a,`large`),{[`${t}${t}-multiple`]:{width:`100%`,cursor:`text`,[`${t}-selector`]:{flex:`auto`,padding:0,position:`relative`,"&:after":{margin:0},[`${t}-selection-placeholder`]:{position:`absolute`,top:`50%`,insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:`translateY(-50%)`,transition:`all ${e.motionDurationSlow}`,overflow:`hidden`,whiteSpace:`nowrap`,textOverflow:`ellipsis`,flex:1,color:e.colorTextPlaceholder,pointerEvents:`none`}},...OL(e),[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:`hidden`,position:`absolute`,zIndex:-1}}}]},jL=e=>{let{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:i,motionDurationMid:a,cellHoverBg:o,lineWidth:s,lineType:c,colorPrimary:l,cellActiveWithRangeBg:u,colorTextLightSolid:d,colorTextDisabled:f,cellBgDisabled:p,colorFillSecondary:m}=e;return{"&::before":{position:`absolute`,top:`50%`,insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:`translateY(-50%)`,content:`""`,pointerEvents:`none`},[n]:{position:`relative`,zIndex:2,display:`inline-block`,minWidth:r,height:r,lineHeight:Y(r),borderRadius:i,transition:`background-color ${a}`},[`&:hover:not(${t}-in-view):not(${t}-disabled), + & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:`top`},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{}}}}},wte=e=>{let{componentCls:t,controlHeightSM:n,lineWidth:r,calc:i}=e,a=i(n).sub(i(r).mul(2)).sub(16).div(2).equal();return{[t]:{...Ul(e),...EL(e),...pL(e),...vL(e),...hL(e),...SL(e),'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:`none`}}}},Tte=e=>{let{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:`pointer`,transition:`color ${e.motionDurationSlow}`,border:`none`,outline:`none`,backgroundColor:`transparent`,"&:hover":{color:e.colorIcon},"&:focus-visible":{color:e.colorIcon,borderRadius:e.borderRadiusSM,...Kl(e)},"&:active":{color:e.colorText},"&-hidden":{visibility:`hidden`},"&-has-suffix":{margin:`0 ${Y(e.inputAffixPadding)}`}}}},Ete=e=>{let{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:i,colorIcon:a,colorIconHover:o,iconCls:s}=e,c=`${t}-affix-wrapper`,l=`${t}-affix-wrapper-disabled`;return{[c]:{...EL(e),display:`inline-flex`,"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:`inherit`,border:`none`,borderRadius:0,outline:`none`,background:`transparent`,color:`inherit`,"&::-ms-reveal":{display:`none`},"&:focus":{boxShadow:`none !important`}},"&::before":{display:`inline-block`,width:0,visibility:`hidden`,content:`"\\a0"`},[t]:{"&-prefix, &-suffix":{display:`flex`,flex:`none`,alignItems:`center`,"> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r,direction:`ltr`},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}},...Tte(e),[`${s}${t}-password-icon`]:{color:a,cursor:`pointer`,transition:`all ${i}`,"&:hover":{color:o}}},[`${t}-underlined`]:{borderRadius:0},[l]:{[`${s}${t}-password-icon`]:{color:a,cursor:`not-allowed`,"&:hover":{color:a}}}}},Dte=e=>{let{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:{...Ul(e),...Cte(e),"&-rtl":{direction:`rtl`},"&-wrapper":{display:`inline-block`,width:`100%`,textAlign:`start`,verticalAlign:`top`,"&-rtl":{direction:`rtl`},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}},...xte(e),...Ste(e),[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}}},Ote=e=>{let{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},DL=Ql([`Input`,`Shared`],e=>{let t=dc(e,cL(e));return[wte(t),Ete(t)]},lL,{resetFont:!1}),OL=Ql([`Input`,`Component`],e=>{let t=dc(e,cL(e));return[Dte(t),Ote(t),l_(t,{focus:!0,focusElCls:`${t.componentCls}-affix-wrapper-focused`})]},lL,{resetFont:!1}),kte=e=>{let{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:i}=e,a=e.max(e.calc(n).sub(r).equal(),0);return{basePadding:a,containerPadding:e.max(e.calc(a).sub(i).equal(),0),itemHeight:Y(t),itemLineHeight:Y(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},Ate=e=>{let{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:i,paddingXS:a,multipleItemColorDisabled:o,multipleItemBorderColorDisabled:s,colorIcon:c,colorIconHover:l,INTERNAL_FIXED_ITEM_MARGIN:u}=e;return{[`${t}-selection-overflow`]:{position:`relative`,display:`flex`,flex:`auto`,flexWrap:`wrap`,maxWidth:`100%`,"&-item":{flex:`none`,alignSelf:`center`,maxWidth:`calc(100% - 4px)`,display:`inline-flex`},[`${t}-selection-item`]:{display:`flex`,alignSelf:`center`,flex:`none`,boxSizing:`border-box`,maxWidth:`100%`,marginBlock:u,borderRadius:r,cursor:`default`,transition:[`font-size`,`line-height`,`height`].map(e=>`${e} ${i}`).join(`, `),marginInlineEnd:e.calc(u).mul(2).equal(),paddingInlineStart:a,paddingInlineEnd:e.calc(a).div(2).equal(),[`${t}-disabled&`]:{color:o,borderColor:s,cursor:`not-allowed`},"&-content":{display:`inline-block`,marginInlineEnd:e.calc(a).div(2).equal(),overflow:`hidden`,whiteSpace:`pre`,textOverflow:`ellipsis`},"&-remove":{...Wl(),display:`inline-flex`,alignItems:`center`,color:c,fontWeight:`bold`,fontSize:10,lineHeight:`inherit`,cursor:`pointer`,[`> ${n}`]:{verticalAlign:`-0.2em`},"&:hover":{color:l}}}}}},kL=(e,t)=>{let{componentCls:n,controlHeight:r}=e,i=t?`${n}-${t}`:``,a=kte(e);return[{[`${n}-multiple${i}`]:{paddingBlock:a.containerPadding,paddingInlineStart:a.basePadding,minHeight:r,[`${n}-selection-item`]:{height:a.itemHeight,lineHeight:Y(a.itemLineHeight)}}}]},jte=e=>{let{componentCls:t,calc:n,lineWidth:r}=e,i=dc(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),a=dc(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[kL(i,`small`),kL(e),kL(a,`large`),{[`${t}${t}-multiple`]:{width:`100%`,cursor:`text`,[`${t}-selector`]:{flex:`auto`,padding:0,position:`relative`,"&:after":{margin:0},[`${t}-selection-placeholder`]:{position:`absolute`,top:`50%`,insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:`translateY(-50%)`,transition:`all ${e.motionDurationSlow}`,overflow:`hidden`,whiteSpace:`nowrap`,textOverflow:`ellipsis`,flex:1,color:e.colorTextPlaceholder,pointerEvents:`none`}},...Ate(e),[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:`hidden`,position:`absolute`,zIndex:-1}}}]},Mte=e=>{let{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:i,motionDurationMid:a,cellHoverBg:o,lineWidth:s,lineType:c,colorPrimary:l,cellActiveWithRangeBg:u,colorTextLightSolid:d,colorTextDisabled:f,cellBgDisabled:p,colorFillSecondary:m}=e;return{"&::before":{position:`absolute`,top:`50%`,insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:`translateY(-50%)`,content:`""`,pointerEvents:`none`},[n]:{position:`relative`,zIndex:2,display:`inline-block`,minWidth:r,height:r,lineHeight:Y(r),borderRadius:i,transition:`background-color ${a}`},[`&:hover:not(${t}-in-view):not(${t}-disabled), &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end):not(${t}-disabled)`]:{[n]:{background:o}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:`absolute`,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Y(s)} ${c} ${l}`,borderRadius:i,content:`""`}},[`&-in-view${t}-in-range, &-in-view${t}-range-start, &-in-view${t}-range-end`]:{position:`relative`,[`&:not(${t}-disabled):before`]:{background:u}},[`&-in-view${t}-selected, &-in-view${t}-range-start, - &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:d,background:l},[`&${t}-disabled ${n}`]:{background:m}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:`50%`},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:`50%`},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:i,borderEndStartRadius:i,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i},"&-disabled":{color:f,cursor:`not-allowed`,[n]:{background:`transparent`},"&::before":{background:p}},[`&-disabled${t}-today ${n}::before`]:{borderColor:f}}},ML=e=>{let{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:i,pickerControlIconSize:a,cellWidth:o,paddingSM:s,paddingXS:c,paddingXXS:l,colorBgContainer:u,lineWidth:d,lineType:f,borderRadiusLG:p,colorPrimary:m,colorTextHeading:h,colorSplit:g,pickerControlIconBorderWidth:_,colorIcon:v,textHeight:y,motionDurationMid:b,colorIconHover:x,fontWeightStrong:S,cellHeight:C,pickerCellPaddingVertical:w,colorTextDisabled:T,colorText:E,fontSize:D,motionDurationSlow:O,withoutTimeCellHeight:k,pickerQuarterPanelContentHeight:A,borderRadiusSM:j,colorTextLightSolid:M,cellHoverBg:N,timeColumnHeight:P,timeColumnWidth:F,timeCellHeight:I,controlItemBgActive:L,marginXXS:R,pickerDatePanelPaddingHorizontal:z,pickerControlIconMargin:B}=e,V=e.calc(o).mul(7).add(e.calc(z).mul(2)).equal();return{[t]:{"&-panel":{display:`inline-flex`,flexDirection:`column`,textAlign:`center`,background:u,borderRadius:p,outline:`none`,"&-focused":{borderColor:m},"&-rtl":{[`${t}-prev-icon, + &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:d,background:l},[`&${t}-disabled ${n}`]:{background:m}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:`50%`},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:`50%`},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:i,borderEndStartRadius:i,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i},"&-disabled":{color:f,cursor:`not-allowed`,[n]:{background:`transparent`},"&::before":{background:p}},[`&-disabled${t}-today ${n}::before`]:{borderColor:f}}},Nte=e=>{let{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:i,pickerControlIconSize:a,cellWidth:o,paddingSM:s,paddingXS:c,paddingXXS:l,colorBgContainer:u,lineWidth:d,lineType:f,borderRadiusLG:p,colorPrimary:m,colorTextHeading:h,colorSplit:g,pickerControlIconBorderWidth:_,colorIcon:v,textHeight:y,motionDurationMid:b,colorIconHover:x,fontWeightStrong:S,cellHeight:C,pickerCellPaddingVertical:w,colorTextDisabled:T,colorText:E,fontSize:D,motionDurationSlow:O,withoutTimeCellHeight:k,pickerQuarterPanelContentHeight:A,borderRadiusSM:j,colorTextLightSolid:M,cellHoverBg:N,timeColumnHeight:P,timeColumnWidth:F,timeCellHeight:I,controlItemBgActive:L,marginXXS:R,pickerDatePanelPaddingHorizontal:z,pickerControlIconMargin:B}=e,V=e.calc(o).mul(7).add(e.calc(z).mul(2)).equal();return{[t]:{"&-panel":{display:`inline-flex`,flexDirection:`column`,textAlign:`center`,background:u,borderRadius:p,outline:`none`,"&-focused":{borderColor:m},"&-rtl":{[`${t}-prev-icon, ${t}-super-prev-icon`]:{transform:`rotate(45deg)`},[`${t}-next-icon, - ${t}-super-next-icon`]:{transform:`rotate(-135deg)`},[`${t}-time-panel`]:{[`${t}-content`]:{direction:`ltr`,"> *":{direction:`rtl`}}}}},"&-decade-panel, &-year-panel, &-quarter-panel, &-month-panel, &-week-panel, &-date-panel, &-time-panel":{display:`flex`,flexDirection:`column`,width:V},"&-header":{display:`flex`,padding:`0 ${Y(c)}`,color:h,borderBottom:`${Y(d)} ${f} ${g}`,"> *":{flex:`none`},button:{padding:0,color:v,lineHeight:Y(y),background:`transparent`,border:0,cursor:`pointer`,transition:`color ${b}`,fontSize:`inherit`,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,"&:empty":{display:`none`}},"> button":{minWidth:`1.6em`,fontSize:D,"&:hover":{color:x},"&:disabled":{opacity:.25,pointerEvents:`none`}},"&-view":{flex:`auto`,fontWeight:S,lineHeight:Y(y),"> button":{color:`inherit`,fontWeight:`inherit`,verticalAlign:`top`,"&:not(:first-child)":{marginInlineStart:c},"&:hover":{color:m}}}},"&-prev-icon, &-next-icon, &-super-prev-icon, &-super-next-icon":{position:`relative`,width:a,height:a,"&::before":{position:`absolute`,top:0,insetInlineStart:0,width:a,height:a,border:`0 solid currentcolor`,borderBlockStartWidth:_,borderInlineStartWidth:_,content:`""`}},"&-super-prev-icon, &-super-next-icon":{"&::after":{position:`absolute`,top:B,insetInlineStart:B,display:`inline-block`,width:a,height:a,border:`0 solid currentcolor`,borderBlockStartWidth:_,borderInlineStartWidth:_,content:`""`}},"&-prev-icon, &-super-prev-icon":{transform:`rotate(-45deg)`},"&-next-icon, &-super-next-icon":{transform:`rotate(135deg)`},"&-content":{width:`100%`,tableLayout:`fixed`,borderCollapse:`collapse`,"th, td":{position:`relative`,minWidth:C,fontWeight:`normal`},th:{height:e.calc(C).add(e.calc(w).mul(2)).equal(),color:E,verticalAlign:`middle`}},"&-cell":{padding:`${Y(w)} 0`,color:T,cursor:`pointer`,"&-in-view":{color:E},...jL(e)},"&-decade-panel, &-year-panel, &-quarter-panel, &-month-panel":{[`${t}-content`]:{height:e.calc(k).mul(4).equal()},[r]:{padding:`0 ${Y(c)}`}},"&-quarter-panel":{[`${t}-content`]:{height:A}},"&-decade-panel":{[r]:{padding:`0 ${Y(e.calc(c).div(2).equal())}`},[`${t}-cell::before`]:{display:`none`}},"&-year-panel, &-quarter-panel, &-month-panel":{[`${t}-body`]:{padding:`0 ${Y(c)}`},[r]:{width:i}},"&-date-panel":{[`${t}-body`]:{padding:`${Y(c)} ${Y(z)}`},[`${t}-content th`]:{boxSizing:`border-box`,padding:0}},"&-week-panel-row":{td:{"&:before":{transition:`background-color ${b}`},"&:first-child:before":{borderStartStartRadius:j,borderEndStartRadius:j},"&:last-child:before":{borderStartEndRadius:j,borderEndEndRadius:j}},"&:hover td:before":{background:N},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${n}`]:{"&:before":{background:m},[`&${t}-cell-week`]:{color:new Nc(M).setA(.5).toHexString()},[r]:{color:M}}},"&-range-hover td:before":{background:L}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${Y(c)} ${Y(s)}`},[`${t}-content th`]:{width:`auto`}},"&-datetime-panel":{display:`flex`,[`${t}-time-panel`]:{borderInlineStart:`${Y(d)} ${f} ${g}`},[`${t}-date-panel, + ${t}-super-next-icon`]:{transform:`rotate(-135deg)`},[`${t}-time-panel`]:{[`${t}-content`]:{direction:`ltr`,"> *":{direction:`rtl`}}}}},"&-decade-panel, &-year-panel, &-quarter-panel, &-month-panel, &-week-panel, &-date-panel, &-time-panel":{display:`flex`,flexDirection:`column`,width:V},"&-header":{display:`flex`,padding:`0 ${Y(c)}`,color:h,borderBottom:`${Y(d)} ${f} ${g}`,"> *":{flex:`none`},button:{padding:0,color:v,lineHeight:Y(y),background:`transparent`,border:0,cursor:`pointer`,transition:`color ${b}`,fontSize:`inherit`,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,"&:empty":{display:`none`}},"> button":{minWidth:`1.6em`,fontSize:D,"&:hover":{color:x},"&:disabled":{opacity:.25,pointerEvents:`none`}},"&-view":{flex:`auto`,fontWeight:S,lineHeight:Y(y),"> button":{color:`inherit`,fontWeight:`inherit`,verticalAlign:`top`,"&:not(:first-child)":{marginInlineStart:c},"&:hover":{color:m}}}},"&-prev-icon, &-next-icon, &-super-prev-icon, &-super-next-icon":{position:`relative`,width:a,height:a,"&::before":{position:`absolute`,top:0,insetInlineStart:0,width:a,height:a,border:`0 solid currentcolor`,borderBlockStartWidth:_,borderInlineStartWidth:_,content:`""`}},"&-super-prev-icon, &-super-next-icon":{"&::after":{position:`absolute`,top:B,insetInlineStart:B,display:`inline-block`,width:a,height:a,border:`0 solid currentcolor`,borderBlockStartWidth:_,borderInlineStartWidth:_,content:`""`}},"&-prev-icon, &-super-prev-icon":{transform:`rotate(-45deg)`},"&-next-icon, &-super-next-icon":{transform:`rotate(135deg)`},"&-content":{width:`100%`,tableLayout:`fixed`,borderCollapse:`collapse`,"th, td":{position:`relative`,minWidth:C,fontWeight:`normal`},th:{height:e.calc(C).add(e.calc(w).mul(2)).equal(),color:E,verticalAlign:`middle`}},"&-cell":{padding:`${Y(w)} 0`,color:T,cursor:`pointer`,"&-in-view":{color:E},...Mte(e)},"&-decade-panel, &-year-panel, &-quarter-panel, &-month-panel":{[`${t}-content`]:{height:e.calc(k).mul(4).equal()},[r]:{padding:`0 ${Y(c)}`}},"&-quarter-panel":{[`${t}-content`]:{height:A}},"&-decade-panel":{[r]:{padding:`0 ${Y(e.calc(c).div(2).equal())}`},[`${t}-cell::before`]:{display:`none`}},"&-year-panel, &-quarter-panel, &-month-panel":{[`${t}-body`]:{padding:`0 ${Y(c)}`},[r]:{width:i}},"&-date-panel":{[`${t}-body`]:{padding:`${Y(c)} ${Y(z)}`},[`${t}-content th`]:{boxSizing:`border-box`,padding:0}},"&-week-panel-row":{td:{"&:before":{transition:`background-color ${b}`},"&:first-child:before":{borderStartStartRadius:j,borderEndStartRadius:j},"&:last-child:before":{borderStartEndRadius:j,borderEndEndRadius:j}},"&:hover td:before":{background:N},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${n}`]:{"&:before":{background:m},[`&${t}-cell-week`]:{color:new Nc(M).setA(.5).toHexString()},[r]:{color:M}}},"&-range-hover td:before":{background:L}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${Y(c)} ${Y(s)}`},[`${t}-content th`]:{width:`auto`}},"&-datetime-panel":{display:`flex`,[`${t}-time-panel`]:{borderInlineStart:`${Y(d)} ${f} ${g}`},[`${t}-date-panel, ${t}-time-panel`]:{transition:`opacity ${O}`},"&-active":{[`${t}-date-panel, - ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:`auto`,minWidth:`auto`,[`${t}-content`]:{display:`flex`,flex:`auto`,height:P},"&-column":{flex:`1 0 auto`,width:F,margin:`${Y(l)} 0`,padding:0,overflowY:`auto`,textAlign:`start`,listStyle:`none`,transition:`background-color ${b}`,overflowX:`hidden`,"&::-webkit-scrollbar":{width:8,backgroundColor:`transparent`},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:`thin`,scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:`block`,height:`calc(100% - ${Y(I)})`,content:`""`},"&:not(:first-child)":{borderInlineStart:`${Y(d)} ${f} ${g}`},"&-active":{background:new Nc(L).setA(.2).toHexString()},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:R,[`${t}-time-panel-cell-inner`]:{display:`block`,width:e.calc(F).sub(e.calc(R).mul(2)).equal(),height:I,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(F).sub(I).div(2).equal(),color:E,lineHeight:Y(I),borderRadius:j,cursor:`pointer`,transition:`background-color ${b}`,"&:hover":{background:N}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:L}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:T,background:`transparent`,cursor:`not-allowed`}}}}}}}}},jte=e=>{let{componentCls:t,textHeight:n,lineWidth:r,paddingSM:i,antCls:a,colorPrimary:o,cellActiveWithRangeBg:s,colorPrimaryBorder:c,lineType:l,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${Y(r)} ${l} ${u}`,"&-extra":{padding:`0 ${Y(i)}`,lineHeight:Y(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:`start`,"&:not(:last-child)":{borderBottom:`${Y(r)} ${l} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:`space-between`},[`${t}-ranges`]:{marginBlock:0,paddingInline:Y(i),overflow:`hidden`,textAlign:`start`,listStyle:`none`,display:`flex`,justifyContent:`center`,alignItems:`center`,"> li":{lineHeight:Y(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:`inline-block`},[`${t}-now-btn-disabled`]:{pointerEvents:`none`,color:e.colorTextDisabled},[`${t}-preset > ${a}-tag-blue`]:{color:o,background:s,borderColor:c,cursor:`pointer`},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:`auto`}}}}},Mte=e=>{let{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:i}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(i).add(e.calc(r).div(2)).equal()}},Nte=e=>{let{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:i,paddingXXS:a,lineWidth:o}=e,s=a*2,c=o*2,l=Math.min(n-s,n-c),u=Math.min(r-s,r-c),d=Math.min(i-s,i-c);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(a/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Nc(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Nc(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:i*1.4,timeColumnHeight:224,timeCellHeight:28,cellWidth:r*1.5,cellHeight:r,textHeight:i,withoutTimeCellHeight:i*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:`transparent`,multipleItemHeight:l,multipleItemHeightSM:u,multipleItemHeightLG:d,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:`transparent`}},Pte=e=>({...QI(e),...Nte(e),...Ew(e),presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),Fte=e=>{let{componentCls:t}=e;return{[t]:[{...rL(e),...mL(e),...lL(e),...oL(e)},{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Y(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Y(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-underlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Y(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},NL=(e,t)=>({padding:`${Y(e)} ${Y(t)}`}),Ite=e=>{let{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},Lte=e=>{let{componentCls:t,antCls:n,paddingInline:r,lineWidth:i,lineType:a,colorBorder:o,borderRadius:s,motionDurationMid:c,colorTextDisabled:l,colorTextPlaceholder:u,colorTextQuaternary:d,fontSizeLG:f,inputFontSizeLG:p,fontSizeSM:m,inputFontSizeSM:h,controlHeightSM:g,paddingInlineSM:_,paddingXS:v,marginXS:y,colorIcon:b,lineWidthBold:x,colorPrimary:S,motionDurationSlow:C,zIndexPopup:w,paddingXXS:T,sizePopupArrow:E,colorBgElevated:D,borderRadiusLG:O,boxShadowSecondary:k,borderRadiusSM:A,colorSplit:j,cellHoverBg:M,presetsWidth:N,presetsMaxWidth:P,boxShadowPopoverArrow:F,fontHeight:I,lineHeightLG:L}=e;return[{[t]:{...Ul(e),...NL(e.paddingBlock,e.paddingInline),position:`relative`,display:`inline-flex`,alignItems:`center`,lineHeight:1,borderRadius:s,transition:[`border`,`box-shadow`,`background-color`].map(e=>`${e} ${c}`).join(`, `),[`${t}-prefix`]:{flex:`0 0 auto`,marginInlineEnd:e.inputAffixPadding},[`${t}-input`]:{position:`relative`,display:`inline-flex`,alignItems:`center`,width:`100%`,"> input":{position:`relative`,display:`inline-block`,width:`100%`,color:`inherit`,fontSize:e.inputFontSize??e.fontSize,lineHeight:e.lineHeight,transition:`all ${c}`,...hL(u),flex:`auto`,minWidth:1,height:`auto`,padding:0,background:`transparent`,border:0,fontFamily:`inherit`,"&:focus":{boxShadow:`none`,outline:0},"&[disabled]":{background:`transparent`,color:l,cursor:`not-allowed`}},"&-placeholder":{"> input":{color:u}}},"&-large":{...NL(e.paddingBlockLG,e.paddingInlineLG),borderRadius:e.borderRadiusLG,[`${t}-input > input`]:{fontSize:p??f,lineHeight:L}},"&-small":{...NL(e.paddingBlockSM,e.paddingInlineSM),borderRadius:e.borderRadiusSM,[`${t}-input > input`]:{fontSize:h??m}},[`${t}-suffix`]:{display:`flex`,flex:`none`,alignSelf:`center`,marginInlineStart:e.calc(v).div(2).equal(),color:d,lineHeight:1,pointerEvents:`none`,transition:[`opacity`,`color`].map(e=>`${e} ${c}`).join(`, `),"> *":{verticalAlign:`top`,"&:not(:last-child)":{marginInlineEnd:y}}},[`${t}-clear`]:{position:`absolute`,top:`50%`,insetInlineEnd:0,color:d,lineHeight:1,transform:`translateY(-50%)`,cursor:`pointer`,opacity:0,transition:[`opacity`,`color`].map(e=>`${e} ${c}`).join(`, `),"> *":{verticalAlign:`top`},"&:hover":{color:b}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:`relative`,display:`inline-block`,width:`1em`,height:f,color:d,fontSize:f,verticalAlign:`top`,cursor:`default`,[`${t}-focused &`]:{color:b},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:`not-allowed`}}},"&-range":{position:`relative`,display:`inline-flex`,[`${t}-active-bar`]:{bottom:e.calc(i).mul(-1).equal(),height:x,background:S,opacity:0,transition:`all ${C} ease-out`,pointerEvents:`none`},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:`center`,padding:`0 ${Y(v)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:r},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:_}}},"&-dropdown":{...Ul(e),...ML(e),pointerEvents:`none`,position:`absolute`,top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:w,[`&${t}-dropdown-hidden`]:{display:`none`},"&-rtl":{direction:`rtl`},[`&${t}-dropdown-placement-bottomLeft, + ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:`auto`,minWidth:`auto`,[`${t}-content`]:{display:`flex`,flex:`auto`,height:P},"&-column":{flex:`1 0 auto`,width:F,margin:`${Y(l)} 0`,padding:0,overflowY:`auto`,textAlign:`start`,listStyle:`none`,transition:`background-color ${b}`,overflowX:`hidden`,"&::-webkit-scrollbar":{width:8,backgroundColor:`transparent`},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:`thin`,scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:`block`,height:`calc(100% - ${Y(I)})`,content:`""`},"&:not(:first-child)":{borderInlineStart:`${Y(d)} ${f} ${g}`},"&-active":{background:new Nc(L).setA(.2).toHexString()},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:R,[`${t}-time-panel-cell-inner`]:{display:`block`,width:e.calc(F).sub(e.calc(R).mul(2)).equal(),height:I,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(F).sub(I).div(2).equal(),color:E,lineHeight:Y(I),borderRadius:j,cursor:`pointer`,transition:`background-color ${b}`,"&:hover":{background:N}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:L}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:T,background:`transparent`,cursor:`not-allowed`}}}}}}}}},Pte=e=>{let{componentCls:t,textHeight:n,lineWidth:r,paddingSM:i,antCls:a,colorPrimary:o,cellActiveWithRangeBg:s,colorPrimaryBorder:c,lineType:l,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${Y(r)} ${l} ${u}`,"&-extra":{padding:`0 ${Y(i)}`,lineHeight:Y(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:`start`,"&:not(:last-child)":{borderBottom:`${Y(r)} ${l} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:`space-between`},[`${t}-ranges`]:{marginBlock:0,paddingInline:Y(i),overflow:`hidden`,textAlign:`start`,listStyle:`none`,display:`flex`,justifyContent:`center`,alignItems:`center`,"> li":{lineHeight:Y(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:`inline-block`},[`${t}-now-btn-disabled`]:{pointerEvents:`none`,color:e.colorTextDisabled},[`${t}-preset > ${a}-tag-blue`]:{color:o,background:s,borderColor:c,cursor:`pointer`},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:`auto`}}}}},Fte=e=>{let{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:i}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(i).add(e.calc(r).div(2)).equal()}},Ite=e=>{let{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:i,paddingXXS:a,lineWidth:o}=e,s=a*2,c=o*2,l=Math.min(n-s,n-c),u=Math.min(r-s,r-c),d=Math.min(i-s,i-c);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(a/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Nc(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Nc(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:i*1.4,timeColumnHeight:224,timeCellHeight:28,cellWidth:r*1.5,cellHeight:r,textHeight:i,withoutTimeCellHeight:i*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:`transparent`,multipleItemHeight:l,multipleItemHeightSM:u,multipleItemHeightLG:d,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:`transparent`}},Lte=e=>({...lL(e),...Ite(e),...mw(e),presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),Rte=e=>{let{componentCls:t}=e;return{[t]:[{...pL(e),...SL(e),...vL(e),...hL(e)},{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Y(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Y(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-underlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Y(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},AL=(e,t)=>({padding:`${Y(e)} ${Y(t)}`}),zte=e=>{let{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},Bte=e=>{let{componentCls:t,antCls:n,paddingInline:r,lineWidth:i,lineType:a,colorBorder:o,borderRadius:s,motionDurationMid:c,colorTextDisabled:l,colorTextPlaceholder:u,colorTextQuaternary:d,fontSizeLG:f,inputFontSizeLG:p,fontSizeSM:m,inputFontSizeSM:h,controlHeightSM:g,paddingInlineSM:_,paddingXS:v,marginXS:y,colorIcon:b,lineWidthBold:x,colorPrimary:S,motionDurationSlow:C,zIndexPopup:w,paddingXXS:T,sizePopupArrow:E,colorBgElevated:D,borderRadiusLG:O,boxShadowSecondary:k,borderRadiusSM:A,colorSplit:j,cellHoverBg:M,presetsWidth:N,presetsMaxWidth:P,boxShadowPopoverArrow:F,fontHeight:I,lineHeightLG:L}=e;return[{[t]:{...Ul(e),...AL(e.paddingBlock,e.paddingInline),position:`relative`,display:`inline-flex`,alignItems:`center`,lineHeight:1,borderRadius:s,transition:[`border`,`box-shadow`,`background-color`].map(e=>`${e} ${c}`).join(`, `),[`${t}-prefix`]:{flex:`0 0 auto`,marginInlineEnd:e.inputAffixPadding},[`${t}-input`]:{position:`relative`,display:`inline-flex`,alignItems:`center`,width:`100%`,"> input":{position:`relative`,display:`inline-block`,width:`100%`,color:`inherit`,fontSize:e.inputFontSize??e.fontSize,lineHeight:e.lineHeight,transition:`all ${c}`,...CL(u),flex:`auto`,minWidth:1,height:`auto`,padding:0,background:`transparent`,border:0,fontFamily:`inherit`,"&:focus":{boxShadow:`none`,outline:0},"&[disabled]":{background:`transparent`,color:l,cursor:`not-allowed`}},"&-placeholder":{"> input":{color:u}}},"&-large":{...AL(e.paddingBlockLG,e.paddingInlineLG),borderRadius:e.borderRadiusLG,[`${t}-input > input`]:{fontSize:p??f,lineHeight:L}},"&-small":{...AL(e.paddingBlockSM,e.paddingInlineSM),borderRadius:e.borderRadiusSM,[`${t}-input > input`]:{fontSize:h??m}},[`${t}-suffix`]:{display:`flex`,flex:`none`,alignSelf:`center`,marginInlineStart:e.calc(v).div(2).equal(),color:d,lineHeight:1,pointerEvents:`none`,transition:[`opacity`,`color`].map(e=>`${e} ${c}`).join(`, `),"> *":{verticalAlign:`top`,"&:not(:last-child)":{marginInlineEnd:y}}},[`${t}-clear`]:{position:`absolute`,top:`50%`,insetInlineEnd:0,color:d,lineHeight:1,transform:`translateY(-50%)`,cursor:`pointer`,opacity:0,transition:[`opacity`,`color`].map(e=>`${e} ${c}`).join(`, `),"> *":{verticalAlign:`top`},"&:hover":{color:b}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:`relative`,display:`inline-block`,width:`1em`,height:f,color:d,fontSize:f,verticalAlign:`top`,cursor:`default`,[`${t}-focused &`]:{color:b},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:`not-allowed`}}},"&-range":{position:`relative`,display:`inline-flex`,[`${t}-active-bar`]:{bottom:e.calc(i).mul(-1).equal(),height:x,background:S,opacity:0,transition:`all ${C} ease-out`,pointerEvents:`none`},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:`center`,padding:`0 ${Y(v)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:r},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:_}}},"&-dropdown":{...Ul(e),...Nte(e),pointerEvents:`none`,position:`absolute`,top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:w,[`&${t}-dropdown-hidden`]:{display:`none`},"&-rtl":{direction:`rtl`},[`&${t}-dropdown-placement-bottomLeft, &${t}-dropdown-placement-bottomRight`]:{[`${t}-range-arrow`]:{top:0,display:`block`,transform:`translateY(-100%)`}},[`&${t}-dropdown-placement-topLeft, &${t}-dropdown-placement-topRight`]:{[`${t}-range-arrow`]:{bottom:0,display:`block`,transform:`translateY(100%) rotate(180deg)`}},[`&${n}-slide-up-appear, &${n}-slide-up-enter`]:{[`${t}-range-arrow${t}-range-arrow`]:{transition:`none`}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight, &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:og},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:cg},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight, &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:ig},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:`none`},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:sg},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:ag},[`${t}-panel > ${t}-time-panel`]:{paddingTop:T},[`${t}-range-wrapper`]:{display:`flex`,position:`relative`},[`${t}-range-arrow`]:{position:`absolute`,zIndex:1,display:`none`,paddingInline:e.calc(r).mul(1.5).equal(),boxSizing:`content-box`,transition:`all ${C} ease-out`,...Dw(e,D,F),"&:before":{insetInlineStart:e.calc(r).mul(1.5).equal()}},[`${t}-panel-container`]:{overflow:`hidden`,verticalAlign:`top`,background:D,borderRadius:O,boxShadow:k,transition:`margin ${C}`,display:`inline-block`,pointerEvents:`auto`,[`${t}-panel-layout`]:{display:`flex`,flexWrap:`nowrap`,alignItems:`stretch`},[`${t}-presets`]:{display:`flex`,flexDirection:`column`,minWidth:N,maxWidth:P,ul:{height:0,flex:`auto`,listStyle:`none`,overflow:`auto`,margin:0,padding:v,borderInlineEnd:`${Y(i)} ${a} ${j}`,li:{...Hl,borderRadius:A,paddingInline:v,paddingBlock:e.calc(g).sub(I).div(2).equal(),cursor:`pointer`,transition:`all ${C}`,"+ li":{marginTop:y},"&:hover":{background:M}}}},[`${t}-panels`]:{display:`inline-flex`,flexWrap:`nowrap`,"&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:`top`,background:`transparent`,borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:`center`},"&-focused":{borderColor:o}}}},"&-dropdown-range":{padding:`${Y(e.calc(E).mul(2).div(3).equal())} 0`,"&-hidden":{display:`none`}},"&-rtl":{direction:`rtl`,[`${t}-separator`]:{transform:`scale(-1, 1)`},[`${t}-footer`]:{"&-extra":{direction:`rtl`}}}}},pg(e,`slide-up`),pg(e,`slide-down`),rg(e,`move-up`),rg(e,`move-down`)]},PL=Ql(`DatePicker`,e=>{let t=dc(ZI(e),Mte(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[jte(t),Lte(t),Fte(t),Ite(t),AL(t),l_(e,{focusElCls:`${e.componentCls}-focused`})]},Pte),Rte=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z`}},{tag:`path`,attrs:{d:`M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z`}}]},name:`plus`,theme:`outlined`}}))());function FL(){return FL=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,FL({},e,{ref:t,icon:Rte.default}))),LL=(0,S.createContext)(null),zte=e=>{let{activeTabOffset:t,horizontal:n,rtl:r,indicator:i={}}=e,{size:a,align:o=`center`}=i,[s,c]=(0,S.useState)(),l=(0,S.useRef)(),u=S.useCallback(e=>typeof a==`function`?a(e):typeof a==`number`?a:e,[a]);function d(){Oi.cancel(l.current)}return(0,S.useEffect)(()=>{let e={};if(t)if(n){e.width=u(t.width);let n=r?`right`:`left`;o===`start`&&(e[n]=t[n]),o===`center`&&(e[n]=t[n]+t.width/2,e.transform=r?`translateX(50%)`:`translateX(-50%)`),o===`end`&&(e[n]=t[n]+t.width,e.transform=`translateX(-100%)`)}else e.height=u(t.height),o===`start`&&(e.top=t.top),o===`center`&&(e.top=t.top+t.height/2,e.transform=`translateY(-50%)`),o===`end`&&(e.top=t.top+t.height,e.transform=`translateY(-100%)`);return d(),l.current=Oi(()=>{s&&e&&Object.keys(e).every(t=>{let n=e[t],r=s[t];return typeof n==`number`&&typeof r==`number`?Math.round(n)===Math.round(r):n===r})||c(e)}),d},[JSON.stringify(t),n,r,o,u]),{style:s}},RL={width:0,height:0,left:0,top:0};function Bte(e,t,n){return(0,S.useMemo)(()=>{let n=new Map,r=t.get(e[0]?.key)||RL,i=r.left+r.width;for(let r=0;re.key).join(`_`),t,n])}function zL(e,t){let n=S.useRef(e),[,r]=S.useState({});function i(e){let i=typeof e==`function`?e(n.current):e;i!==n.current&&t(i,n.current),n.current=i,r({})}return[n.current,i]}var Vte=.1,BL=.01,VL=20,HL=.995**VL;function Hte(e,t){let[n,r]=(0,S.useState)(),[i,a]=(0,S.useState)(0),[o,s]=(0,S.useState)(0),[c,l]=(0,S.useState)(),u=(0,S.useRef)();function d(e){let{screenX:t,screenY:n}=e.touches[0];r({x:t,y:n}),window.clearInterval(u.current)}function f(e){if(!n)return;let{screenX:o,screenY:c}=e.touches[0];r({x:o,y:c});let u=o-n.x,d=c-n.y;t(u,d);let f=Date.now();a(f),s(f-i),l({x:u,y:d})}function p(){if(n&&(r(null),l(null),c)){let e=c.x/o,n=c.y/o;if(Math.max(Math.abs(e),Math.abs(n)){if(Math.abs(r)o?(i=n,m.current=`x`):(i=r,m.current=`y`),t(-i,-i)&&e.preventDefault()}let g=(0,S.useRef)(null);g.current={onTouchStart:d,onTouchMove:f,onTouchEnd:p,onWheel:h},S.useEffect(()=>{function t(e){g.current.onTouchStart(e)}function n(e){g.current.onTouchMove(e)}function r(e){g.current.onTouchEnd(e)}function i(e){g.current.onWheel(e)}return document.addEventListener(`touchmove`,n,{passive:!1}),document.addEventListener(`touchend`,r,{passive:!0}),e.current.addEventListener(`touchstart`,t,{passive:!0}),e.current.addEventListener(`wheel`,i,{passive:!1}),()=>{document.removeEventListener(`touchmove`,n),document.removeEventListener(`touchend`,r)}},[])}function UL(e){let[t,n]=(0,S.useState)(0),r=(0,S.useRef)(0),i=(0,S.useRef)();return i.current=e,Un(()=>{i.current?.()},[t]),()=>{r.current===t&&(r.current+=1,n(r.current))}}function Ute(e){let t=(0,S.useRef)([]),[,n]=(0,S.useState)({}),r=(0,S.useRef)(typeof e==`function`?e():e),i=UL(()=>{let e=r.current;t.current.forEach(t=>{e=t(e)}),t.current=[],r.current=e,n({})});function a(e){t.current.push(e),i()}return[r.current,a]}var WL={width:0,height:0,left:0,top:0,right:0};function Wte(e,t,n,r,i,a,{tabs:o,tabPosition:s,rtl:c}){let l,u,d;return[`top`,`bottom`].includes(s)?(l=`width`,u=c?`right`:`left`,d=Math.abs(n)):(l=`height`,u=`top`,d=-n),(0,S.useMemo)(()=>{if(!o.length)return[0,0];let n=o.length,r=n;for(let i=0;iMath.floor(d+t)){r=i-1;break}}let i=0;for(let t=n-1;t>=0;--t)if((e.get(o[t].key)||WL)[u]r?[0,-1]:[i,r]},[e,t,r,i,a,d,s,o.map(e=>e.key).join(`_`),c])}function GL(e){let t;return e instanceof Map?(t={},e.forEach((e,n)=>{t[n]=e})):t=e,JSON.stringify(t)}var Gte=`TABS_DQ`;function KL(e){return String(e).replace(/"/g,Gte)}function qL(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var JL=S.forwardRef((e,t)=>{let{prefixCls:n,editable:r,locale:i,style:a}=e;return!r||r.showAdd===!1?null:S.createElement(`button`,{ref:t,type:`button`,className:`${n}-nav-add`,style:a,"aria-label":i?.addAriaLabel||`Add tab`,onClick:e=>{r.onEdit(`add`,{event:e})}},r.addIcon||`+`)}),YL=S.forwardRef((e,t)=>{let{position:n,prefixCls:r,extra:i}=e;if(!i)return null;let a,o={};return typeof i==`object`&&!S.isValidElement(i)?o=i:o.right=i,n===`right`&&(a=o.right),n===`left`&&(a=o.left),a?S.createElement(`div`,{className:`${r}-extra-content`,ref:t},a):null});function XL(){return XL=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,id:r,tabs:i,locale:a,mobile:o,more:s={},style:c,className:l,editable:u,tabBarGutter:d,rtl:f,removeAriaLabel:p,onTabClick:m,getPopupContainer:h,popupClassName:g,popupStyle:_}=e,[v,y]=(0,S.useState)(!1),[b,x]=(0,S.useState)(null),{icon:C=`More`}=s,w=`${r}-more-popup`,T=`${n}-dropdown`,E=b===null?null:`${w}-${b}`,D=a?.dropdownAriaLabel;function O(e,t){e.preventDefault(),e.stopPropagation(),u.onEdit(`remove`,{key:t,event:e})}let k=S.createElement(ME,{onClick:({key:e,domEvent:t})=>{m(e,t),y(!1)},prefixCls:`${T}-menu`,id:w,tabIndex:-1,role:`listbox`,"aria-activedescendant":E,selectedKeys:[b],"aria-label":D===void 0?`expanded dropdown`:D},i.map(e=>{let{closable:t,disabled:n,closeIcon:i,key:a,label:o}=e,s=qL(t,i,u,n);return S.createElement(cE,{key:a,id:`${w}-${a}`,role:`option`,"aria-controls":r&&`${r}-panel-${a}`,disabled:n},S.createElement(`span`,null,o),s&&S.createElement(`button`,{type:`button`,"aria-label":p||`remove`,tabIndex:0,className:`${T}-menu-item-remove`,onClick:e=>{e.stopPropagation(),O(e,a)}},i||u.removeIcon||`×`))}));function A(e){let t=i.filter(e=>!e.disabled),n=t.findIndex(e=>e.key===b)||0,r=t.length;for(let i=0;i{let e=document.getElementById(E);e?.scrollIntoView&&e.scrollIntoView(!1)},[E,b]),(0,S.useEffect)(()=>{v||x(null)},[v]);let M={marginInlineStart:d};i.length||(M.visibility=`hidden`,M.order=1);let N=J(g,{[`${T}-rtl`]:f}),P=o?null:S.createElement(_T,XL({prefixCls:T,overlay:k,visible:i.length?v:!1,onVisibleChange:y,overlayClassName:N,overlayStyle:_,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:h},s),S.createElement(`button`,{type:`button`,className:`${n}-nav-more`,style:M,"aria-haspopup":`listbox`,"aria-controls":w,id:`${r}-more`,"aria-expanded":v,onKeyDown:j},C));return S.createElement(`div`,{className:J(`${n}-nav-operations`,l),style:c,ref:t},P,S.createElement(JL,{prefixCls:n,locale:a,editable:u}))}),qte=S.memo(Kte,(e,t)=>t.tabMoving),Jte=e=>{let{prefixCls:t,id:n,active:r,focus:i,tab:{key:a,label:o,disabled:s,closeIcon:c,icon:l},closable:u,renderWrapper:d,removeAriaLabel:f,editable:p,onClick:m,onFocus:h,onBlur:g,onKeyDown:_,onMouseDown:v,onMouseUp:y,style:b,className:x,tabCount:C,currentPosition:w}=e,T=`${t}-tab`,E=qL(u,c,p,s);function D(e){s||m(e)}function O(e){e.preventDefault(),e.stopPropagation(),p.onEdit(`remove`,{key:a,event:e})}let k=S.useMemo(()=>l&&typeof o==`string`?S.createElement(`span`,null,o):o,[o,l]),A=S.useRef(null);S.useEffect(()=>{i&&A.current&&A.current.focus()},[i]);let j=S.createElement(`div`,{key:a,"data-node-key":KL(a),className:J(T,x,{[`${T}-with-remove`]:E,[`${T}-active`]:r,[`${T}-disabled`]:s,[`${T}-focus`]:i}),style:b,onClick:D},S.createElement(`div`,{ref:A,role:`tab`,"aria-selected":r,id:n&&`${n}-tab-${a}`,className:`${T}-btn`,"aria-controls":n&&`${n}-panel-${a}`,"aria-disabled":s,tabIndex:s?null:r?0:-1,onClick:e=>{e.stopPropagation(),D(e)},onKeyDown:_,onMouseDown:v,onMouseUp:y,onFocus:h,onBlur:g},i&&S.createElement(`div`,{"aria-live":`polite`,style:{width:0,height:0,position:`absolute`,overflow:`hidden`,opacity:0}},`Tab ${w} of ${C}`),l&&S.createElement(`span`,{className:`${T}-icon`},l),o&&k),E&&S.createElement(`button`,{type:`button`,"aria-label":f||`remove`,tabIndex:r?0:-1,className:`${T}-remove`,onClick:e=>{e.stopPropagation(),O(e)}},c||p.removeIcon||`×`));return d?d(j):j};function ZL(){return ZL=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{offsetWidth:n,offsetHeight:r,offsetTop:i,offsetLeft:a}=e,{width:o,height:s,left:c,top:l}=e.getBoundingClientRect();return Math.abs(o-n)<1?[o,s,c-t.left,l-t.top]:[n,r,a,i]},QL=e=>{let{offsetWidth:t=0,offsetHeight:n=0}=e.current||{};if(e.current){let{width:n,height:r}=e.current.getBoundingClientRect();if(Math.abs(n-t)<1)return[n,r]}return[t,n]},$L=(e,t)=>e[+!t],eR=S.forwardRef((e,t)=>{let{className:n,style:r,id:i,animated:a,activeKey:o,rtl:s,extra:c,editable:l,locale:u,tabPosition:d,tabBarGutter:f,children:p,onTabClick:m,onTabScroll:h,indicator:g,classNames:_,styles:v}=e,{prefixCls:y,tabs:b}=S.useContext(LL),x=(0,S.useRef)(null),C=(0,S.useRef)(null),w=(0,S.useRef)(null),T=(0,S.useRef)(null),E=(0,S.useRef)(null),D=(0,S.useRef)(null),O=(0,S.useRef)(null),k=d===`top`||d===`bottom`,[A,j]=zL(0,(e,t)=>{k&&h&&h({direction:e>t?`left`:`right`})}),[M,N]=zL(0,(e,t)=>{!k&&h&&h({direction:e>t?`top`:`bottom`})}),[P,F]=(0,S.useState)([0,0]),[I,L]=(0,S.useState)([0,0]),[R,z]=(0,S.useState)([0,0]),[B,V]=(0,S.useState)([0,0]),[H,U]=Ute(new Map),W=Bte(b,H,I[0]),ee=$L(P,k),te=$L(I,k),ne=$L(R,k),re=$L(B,k),G=Math.floor(ee)q?q:e}let se=(0,S.useRef)(null),[ce,le]=(0,S.useState)();function ue(){le(Date.now())}function de(){se.current&&clearTimeout(se.current)}Hte(T,(e,t)=>{function n(e,t){e(e=>oe(e+t))}return G?(k?n(j,e):n(N,t),de(),ue(),!0):!1}),(0,S.useEffect)(()=>(de(),ce&&(se.current=setTimeout(()=>{le(0)},100)),de),[ce]);let[fe,pe]=Wte(W,ie,k?A:M,te,ne,re,{...e,tabs:b}),me=zn((e=o)=>{let t=W.get(e)||{width:0,height:0,left:0,right:0,top:0};if(k){let e=A;s?t.rightA+ie&&(e=t.right+t.width-ie):t.left<-A?e=-t.left:t.left+t.width>-A+ie&&(e=-(t.left+t.width-ie)),N(0),j(oe(e))}else{let e=M;t.top<-M?e=-t.top:t.top+t.height>-M+ie&&(e=-(t.top+t.height-ie)),j(0),N(oe(e))}}),[he,ge]=(0,S.useState)(),[_e,ve]=(0,S.useState)(!1),ye=b.filter(e=>!e.disabled).map(e=>e.key),be=e=>{let t=ye.indexOf(he||o),n=ye.length,r=ye[(t+e+n)%n];ge(r)},xe=(e,t)=>{let n=ye.indexOf(e),r=b.find(t=>t.key===e);qL(r?.closable,r?.closeIcon,l,r?.disabled)&&(t.preventDefault(),t.stopPropagation(),l.onEdit(`remove`,{key:e,event:t}),n===ye.length-1?be(-1):be(1))},Se=(e,t)=>{ve(!0),t.button===1&&xe(e,t)},Ce=e=>{let{code:t}=e,n=s&&k,r=ye[0],i=ye[ye.length-1];switch(t){case`ArrowLeft`:k&&be(n?1:-1);break;case`ArrowRight`:k&&be(n?-1:1);break;case`ArrowUp`:e.preventDefault(),k||be(-1);break;case`ArrowDown`:e.preventDefault(),k||be(1);break;case`Home`:e.preventDefault(),ge(r);break;case`End`:e.preventDefault(),ge(i);break;case`Enter`:case`Space`:e.preventDefault(),m(he??o,e);break;case`Backspace`:case`Delete`:xe(he,e);break}},we={};k?we.marginInlineStart=f:we.marginTop=f;let Te=b.map((e,t)=>{let{key:n}=e;return S.createElement(Jte,{id:i,prefixCls:y,key:n,tab:e,className:_?.item,style:t===0?v?.item:{...we,...v?.item},closable:e.closable,editable:l,active:n===o,focus:n===he,renderWrapper:p,removeAriaLabel:u?.removeAriaLabel,tabCount:ye.length,currentPosition:t+1,onClick:e=>{m(n,e)},onKeyDown:Ce,onFocus:()=>{_e||ge(n),me(n),ue(),T.current&&(s||(T.current.scrollLeft=0),T.current.scrollTop=0)},onBlur:()=>{ge(void 0)},onMouseDown:e=>Se(n,e),onMouseUp:()=>{ve(!1)}})}),Ee=()=>U(()=>{let e=new Map,t=E.current?.getBoundingClientRect();return b.forEach(({key:n})=>{let r=E.current?.querySelector(`[data-node-key="${KL(n)}"]`);if(r){let[i,a,o,s]=Yte(r,t);e.set(n,{width:i,height:a,left:o,top:s})}}),e});(0,S.useEffect)(()=>{Ee()},[b.map(e=>e.key).join(`_`)]);let De=UL(()=>{let e=QL(x),t=QL(C),n=QL(w);F([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);let r=QL(O);z(r),V(QL(D));let i=QL(E);L([i[0]-r[0],i[1]-r[1]]),Ee()}),Oe=b.slice(0,fe),ke=b.slice(pe+1),Ae=[...Oe,...ke],je=W.get(o),{style:Me}=zte({activeTabOffset:je,horizontal:k,indicator:g,rtl:s});(0,S.useEffect)(()=>{me()},[o,ae,q,GL(je),GL(W),k]),(0,S.useEffect)(()=>{De()},[s]);let Ne=!!Ae.length,Pe=`${y}-nav-wrap`,Fe,Ie,Le,Re;return k?s?(Ie=A>0,Fe=A!==q):(Fe=A<0,Ie=A!==ae):(Le=M<0,Re=M!==ae),S.createElement(oa,{onResize:De},S.createElement(`div`,{ref:lr(t,x),role:`tablist`,"aria-orientation":k?`horizontal`:`vertical`,className:J(`${y}-nav`,n,_?.header),style:{...v?.header,...r},onKeyDown:()=>{ue()}},S.createElement(YL,{ref:C,position:`left`,extra:c,prefixCls:y}),S.createElement(oa,{onResize:De},S.createElement(`div`,{className:J(Pe,{[`${Pe}-ping-left`]:Fe,[`${Pe}-ping-right`]:Ie,[`${Pe}-ping-top`]:Le,[`${Pe}-ping-bottom`]:Re}),ref:T},S.createElement(oa,{onResize:De},S.createElement(`div`,{ref:E,className:`${y}-nav-list`,style:{transform:`translate(${A}px, ${M}px)`,transition:ce?`none`:void 0}},Te,S.createElement(JL,{ref:O,prefixCls:y,locale:u,editable:l,style:{...Te.length===0?void 0:we,visibility:Ne?`hidden`:null}}),S.createElement(`div`,{className:J(`${y}-ink-bar`,_?.indicator,{[`${y}-ink-bar-animated`]:a.inkBar}),style:{...Me,...v?.indicator}}))))),S.createElement(qte,ZL({},e,{removeAriaLabel:u?.removeAriaLabel,ref:D,prefixCls:y,tabs:Ae,className:!Ne&&K,popupStyle:v?.popup,tabMoving:!!ce})),S.createElement(YL,{ref:w,position:`right`,extra:c,prefixCls:y})))}),Xte=({renderTabBar:e,...t})=>e?e(t,eR):S.createElement(eR,t),Zte=S.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:i,id:a,active:o,tabKey:s,children:c}=e,l=S.Children.count(c)>0;return S.createElement(`div`,{id:a&&`${a}-panel-${s}`,role:`tabpanel`,tabIndex:o&&l?0:-1,"aria-labelledby":a&&`${a}-tab-${s}`,"aria-hidden":!o,style:i,className:J(n,o&&`${n}-active`,r),ref:t},c)});function tR(){return tR=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:t,activeKey:n,animated:r,tabPosition:i,destroyOnHidden:a,contentStyle:o,contentClassName:s}=e,{prefixCls:c,tabs:l}=S.useContext(LL),u=r.tabPane,d=`${c}-tabpane`;return S.createElement(`div`,{className:J(`${c}-content-holder`)},S.createElement(`div`,{className:J(`${c}-content`,`${c}-content-${i}`,{[`${c}-content-animated`]:u})},l.map(e=>{let{key:i,forceRender:c,style:l,className:f,destroyOnHidden:p,...m}=e,h=i===n;return S.createElement(Od,tR({key:i,visible:h,forceRender:c,removeOnLeave:!!(a??p),leavedClassName:`${d}-hidden`},r.tabPaneMotion),({style:e,className:n},r)=>S.createElement(Zte,tR({},m,{prefixCls:d,id:t,tabKey:i,animated:u,active:h,style:{...o,...l,...e},className:J(s,f,n),ref:r})))})))};function $te(e={inkBar:!0,tabPane:!1}){let t;return t=e===!1?{inkBar:!1,tabPane:!1}:e===!0?{inkBar:!0,tabPane:!1}:{inkBar:!0,...typeof e==`object`?e:{}},t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}function nR(){return nR=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:n,prefixCls:r=`rc-tabs`,className:i,items:a,direction:o,activeKey:s,defaultActiveKey:c,editable:l,animated:u,tabPosition:d=`top`,tabBarGutter:f,tabBarStyle:p,tabBarExtraContent:m,locale:h,more:g,destroyOnHidden:_,renderTabBar:v,onChange:y,onTabClick:b,onTabScroll:x,getPopupContainer:C,popupClassName:w,indicator:T,classNames:E,styles:D,...O}=e,k=S.useMemo(()=>(a||[]).filter(e=>e&&typeof e==`object`&&`key`in e),[a]),A=o===`rtl`,j=$te(u),[M,N]=(0,S.useState)(!1);(0,S.useEffect)(()=>{N(hi())},[]);let[P,F]=Gn(c??k[0]?.key,s),[I,L]=(0,S.useState)(()=>k.findIndex(e=>e.key===P));(0,S.useEffect)(()=>{let e=k.findIndex(e=>e.key===P);e===-1&&(e=Math.max(0,Math.min(I,k.length-1)),F(k[e]?.key)),L(e)},[k.map(e=>e.key).join(`_`),P,I]);let[R,z]=Gn(null,n);(0,S.useEffect)(()=>{n||(z(`rc-tabs-${rR}`),rR+=1)},[]);function B(e,t){b?.(e,t);let n=e!==P;F(e),n&&y?.(e)}let V={id:R,activeKey:P,animated:j,tabPosition:d,rtl:A,mobile:M},H={...V,editable:l,locale:h,more:g,tabBarGutter:f,onTabClick:B,onTabScroll:x,extra:m,style:p,getPopupContainer:C,popupClassName:J(w,E?.popup),indicator:T,styles:D,classNames:E},U=S.useMemo(()=>({tabs:k,prefixCls:r}),[k,r]);return S.createElement(LL.Provider,{value:U},S.createElement(`div`,nR({ref:t,id:n,className:J(r,`${r}-${d}`,{[`${r}-mobile`]:M,[`${r}-editable`]:l,[`${r}-rtl`]:A},i)},O),S.createElement(Xte,nR({},H,{renderTabBar:v})),S.createElement(Qte,nR({destroyOnHidden:_},V,{contentStyle:D?.content,contentClassName:E?.content,animated:j}))))}),tne={motionAppear:!1,motionEnter:!0,motionLeave:!0};function nne(e,t={inkBar:!0,tabPane:!1}){let n;return n=t===!1?{inkBar:!1,tabPane:!1}:t===!0?{inkBar:!0,tabPane:!0}:{inkBar:!0,...nf(t)?t:{}},n.tabPane&&(n.tabPaneMotion={...tne,motionName:mh(e,`switch`)}),n}function rne(e){return e.filter(e=>e)}function ine(e,t){return e?e.map(e=>({...e,destroyOnHidden:e.destroyOnHidden??e.destroyInactiveTabPane})):rne(ki(t).map(e=>{if(S.isValidElement(e)){let{key:t,props:n}=e,{tab:r,...i}=n||{};return{key:String(t),...i,label:r}}return null}))}var ane=e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:`none`,"&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:`absolute`,transition:`none`,inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[pg(e,`slide-up`),pg(e,`slide-down`)]]},one=e=>{let{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:i,colorBorderSecondary:a,itemSelectedColor:o}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${Y(e.lineWidth)} ${e.lineType} ${a}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:o,background:e.colorBgContainer},[`${t}-tab-focus:has(${t}-tab-btn:focus-visible)`]:Kl(e,-3),[`& ${t}-tab${t}-tab-focus ${t}-tab-btn:focus-visible`]:{outline:`none`},[`${t}-ink-bar`]:{visibility:`hidden`}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:Y(i)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:Y(i)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Y(e.borderRadiusLG)} 0 0 ${Y(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},sne=e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:{...Ul(e),position:`absolute`,top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:`block`,"&-hidden":{display:`none`},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${Y(r)} 0`,overflowX:`hidden`,overflowY:`auto`,textAlign:{_skip_check_:!0,value:`left`},listStyleType:`none`,backgroundColor:e.colorBgContainer,backgroundClip:`padding-box`,borderRadius:e.borderRadiusLG,outline:`none`,boxShadow:e.boxShadowSecondary,"&-item":{...Hl,display:`flex`,alignItems:`center`,minWidth:e.tabsDropdownWidth,margin:0,padding:`${Y(e.paddingXXS)} ${Y(e.paddingSM)}`,color:e.colorText,fontWeight:`normal`,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:`pointer`,transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:`nowrap`},"&-remove":{flex:`none`,marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorIcon,fontSize:e.fontSizeSM,background:`transparent`,border:0,cursor:`pointer`,"&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:`transparent`,cursor:`not-allowed`}}}}}}},cne=e=>{let{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:i,verticalItemPadding:a,verticalItemMargin:o,motionDurationSlow:s,calc:c}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:`column`,[`> ${t}-nav, > div > ${t}-nav`]:{margin:i,"&::before":{position:`absolute`,right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${Y(e.lineWidth)} ${e.lineType} ${r}`,content:`''`},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:[`width`,`left`,`right`].map(e=>`${e} ${s}`).join(`, `)}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, - > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:`column`,minWidth:c(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:a,textAlign:`center`},[`${t}-tab + ${t}-tab`]:{margin:o},[`${t}-nav-wrap`]:{flexDirection:`column`,"&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:[`height`,`top`].map(e=>`${e} ${s}`).join(`, `)}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:`1 0 auto`,flexDirection:`column`}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:Y(c(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:c(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},lne=e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,cardHeightSM:i,cardHeightLG:a,horizontalItemPaddingSM:o,horizontalItemPaddingLG:s}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:s,fontSize:e.titleFontSizeLG,lineHeight:e.lineHeightLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n},[`${t}-nav-add`]:{minWidth:i,minHeight:i}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${Y(e.borderRadius)} ${Y(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${Y(e.borderRadius)} ${Y(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Y(e.borderRadius)} ${Y(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Y(e.borderRadius)} 0 0 ${Y(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r},[`${t}-nav-add`]:{minWidth:a,minHeight:a}}}}}},une=e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:i,tabsHorizontalItemMargin:a,horizontalItemPadding:o,itemSelectedColor:s,itemColor:c}=e,l=`${t}-tab`;return{[l]:{position:`relative`,WebkitTouchCallout:`none`,WebkitTapHighlightColor:`transparent`,display:`inline-flex`,alignItems:`center`,padding:o,fontSize:e.titleFontSize,background:`transparent`,border:0,outline:`none`,cursor:`pointer`,color:c,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:n}},"&-btn":{outline:`none`,transition:`all ${e.motionDurationSlow}`,[`${l}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:`none`,lineHeight:1,marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorIcon,fontSize:e.fontSizeSM,background:`transparent`,border:`none`,outline:`none`,cursor:`pointer`,transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading},...ql(e)},"&:hover":{color:r},[`&${l}-active ${l}-btn`]:{color:s},[`&${l}-focus ${l}-btn:focus-visible`]:Kl(e),[`&${l}-disabled`]:{color:e.colorTextDisabled,cursor:`not-allowed`},[`&${l}-disabled ${l}-btn, &${l}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${l}-remove ${i}`]:{margin:0,verticalAlign:`middle`},[`${i}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${l} + ${l}`]:{margin:{_skip_check_:!0,value:a}}}},dne=e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:i,calc:a}=e;return{[`${t}-rtl`]:{direction:`rtl`,[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:e.marginSM}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:e.marginXS},marginLeft:{_skip_check_:!0,value:a(e.marginXXS).mul(-1).equal()},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:i},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:`rtl`},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:`right`}}}}},fne=e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:i,itemHoverColor:a,itemActiveColor:o,colorBorderSecondary:s}=e;return{[t]:{...Ul(e),display:`flex`,[`> ${t}-nav, > div > ${t}-nav`]:{position:`relative`,display:`flex`,flex:`none`,alignItems:`center`,[`${t}-nav-wrap`]:{position:`relative`,display:`flex`,flex:`auto`,alignSelf:`stretch`,overflow:`hidden`,whiteSpace:`nowrap`,transform:`translate(0)`,"&::before, &::after":{position:`absolute`,zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:`''`,pointerEvents:`none`}},[`${t}-nav-list`]:{position:`relative`,display:`flex`,transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:`flex`,alignSelf:`stretch`},[`${t}-nav-operations-hidden`]:{position:`absolute`,visibility:`hidden`,pointerEvents:`none`},[`${t}-nav-more`]:{position:`relative`,padding:n,background:`transparent`,border:0,color:e.colorText,"&::after":{position:`absolute`,right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:`translateY(100%)`,content:`''`}},[`${t}-nav-add`]:{minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:i},background:`transparent`,border:`${Y(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)} 0 0`,outline:`none`,cursor:`pointer`,color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:a},"&:active, &:focus:not(:focus-visible)":{color:o},...ql(e,-3)}},[`${t}-extra-content`]:{flex:`none`},[`${t}-ink-bar`]:{position:`absolute`,background:e.inkBarColor,pointerEvents:`none`},...une(e),[`${t}-content`]:{position:`relative`,width:`100%`},[`${t}-content-holder`]:{flex:`auto`,minWidth:0,minHeight:0},[`${t}-tabpane`]:{...ql(e),"&-hidden":{display:`none`}}},[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:`auto`}}}}}},pne=Ql(`Tabs`,e=>{let t=dc(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${Y(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${Y(e.horizontalItemGutter)}`});return[lne(t),dne(t),cne(t),sne(t),one(t),fne(t),ane(t)]},e=>{let{cardHeight:t,cardHeightSM:n,cardHeightLG:r,controlHeight:i,controlHeightLG:a}=e,o=t||a,s=n||i,c=r||a+8;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:o,cardHeightSM:s,cardHeightLG:c,cardPadding:`${(o-e.fontHeight)/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${(s-e.fontHeight)/2-e.lineWidth}px ${e.paddingXS}px`,cardPaddingLG:`${(c-e.fontHeightLG)/2-e.lineWidth}px ${e.padding}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:``,horizontalItemMarginRTL:``,horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),mne=()=>null,iR=S.forwardRef((e,t)=>{let{type:n,className:r,rootClassName:i,size:a,onEdit:o,hideAdd:s,centered:c,addIcon:l,removeIcon:u,moreIcon:d,more:f,popupClassName:p,children:m,items:h,animated:g,style:_,indicatorSize:v,indicator:y,classNames:b,styles:x,destroyInactiveTabPane:C,destroyOnHidden:w,tabPlacement:T,tabPosition:E,...D}=e,{prefixCls:O}=D,{getPrefixCls:k,direction:A,getPopupContainer:j,className:M,style:N,classNames:P,styles:F}=ya(`tabs`),{tabs:I}=S.useContext(ga),L=k(`tabs`,O),R=sp(L),[z,B]=pne(L,R),V=S.useRef(null);S.useImperativeHandle(t,()=>({nativeElement:V.current}));let H;n===`editable-card`&&(H={onEdit:(e,{key:t,event:n})=>{o?.(e===`add`?n:t,e)},removeIcon:u??I?.removeIcon??S.createElement(ju,null),addIcon:(l??I?.addIcon)||S.createElement(IL,null),showAdd:s!==!0});let U=k(),W=wh(a),ee=ine(h,m),te=nne(L,g),ne={align:y?.align??I?.indicator?.align,size:y?.size??v??I?.indicator?.size??I?.indicatorSize},re=S.useMemo(()=>{let e=T??E??void 0,t=A===`rtl`;switch(e){case`start`:return t?`right`:`left`;case`end`:return t?`left`:`right`;default:return e}},[T,E,A]),G={...e,size:W,tabPlacement:re,items:ee},[ie,K]=Cf([P,b],[F,x],{props:G},{popup:{_default:`root`}});return S.createElement(ene,{ref:V,direction:A,getPopupContainer:j,...D,items:ee,className:J({[`${L}-large`]:W===`large`,[`${L}-small`]:W===`small`,[`${L}-card`]:[`card`,`editable-card`].includes(n),[`${L}-editable-card`]:n===`editable-card`,[`${L}-centered`]:c},M,r,i,ie.root,z,B,R),classNames:{...ie,popup:J(p,z,B,R,ie.popup?.root)},styles:K,style:{...K.root,...N,..._},editable:H,more:{icon:I?.more?.icon??I?.moreIcon??d??S.createElement(WE,null),transitionName:`${U}-slide-up`,...f},prefixCls:L,animated:te,indicator:ne,destroyOnHidden:w??C,tabPosition:re})});iR.TabPane=mne;var aR=({prefixCls:e,className:t,hoverable:n=!0,...r})=>{let{getPrefixCls:i}=S.useContext(ga),a=i(`card`,e),o=J(`${a}-grid`,t,{[`${a}-grid-hoverable`]:n});return S.createElement(`div`,{...r,className:o})},hne=e=>{let{antCls:t,componentCls:n,headerHeight:r,headerPadding:i,tabsMarginBottom:a}=e;return{display:`flex`,justifyContent:`center`,flexDirection:`column`,minHeight:r,marginBottom:-1,padding:`0 ${Y(i)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)} 0 0`,...Gl(),"&-wrapper":{width:`100%`,display:`flex`,alignItems:`center`},"&-title":{display:`inline-block`,flex:1,...Hl,[` + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:og},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:`none`},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:lg},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:sg},[`${t}-panel > ${t}-time-panel`]:{paddingTop:T},[`${t}-range-wrapper`]:{display:`flex`,position:`relative`},[`${t}-range-arrow`]:{position:`absolute`,zIndex:1,display:`none`,paddingInline:e.calc(r).mul(1.5).equal(),boxSizing:`content-box`,transition:`all ${C} ease-out`,...hw(e,D,F),"&:before":{insetInlineStart:e.calc(r).mul(1.5).equal()}},[`${t}-panel-container`]:{overflow:`hidden`,verticalAlign:`top`,background:D,borderRadius:O,boxShadow:k,transition:`margin ${C}`,display:`inline-block`,pointerEvents:`auto`,[`${t}-panel-layout`]:{display:`flex`,flexWrap:`nowrap`,alignItems:`stretch`},[`${t}-presets`]:{display:`flex`,flexDirection:`column`,minWidth:N,maxWidth:P,ul:{height:0,flex:`auto`,listStyle:`none`,overflow:`auto`,margin:0,padding:v,borderInlineEnd:`${Y(i)} ${a} ${j}`,li:{...Hl,borderRadius:A,paddingInline:v,paddingBlock:e.calc(g).sub(I).div(2).equal(),cursor:`pointer`,transition:`all ${C}`,"+ li":{marginTop:y},"&:hover":{background:M}}}},[`${t}-panels`]:{display:`inline-flex`,flexWrap:`nowrap`,"&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:`top`,background:`transparent`,borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:`center`},"&-focused":{borderColor:o}}}},"&-dropdown-range":{padding:`${Y(e.calc(E).mul(2).div(3).equal())} 0`,"&-hidden":{display:`none`}},"&-rtl":{direction:`rtl`,[`${t}-separator`]:{transform:`scale(-1, 1)`},[`${t}-footer`]:{"&-extra":{direction:`rtl`}}}}},hg(e,`slide-up`),hg(e,`slide-down`),ag(e,`move-up`),ag(e,`move-down`)]},jL=Ql(`DatePicker`,e=>{let t=dc(cL(e),Fte(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Pte(t),Bte(t),Rte(t),zte(t),jte(t),l_(e,{focusElCls:`${e.componentCls}-focused`})]},Lte),Vte=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z`}},{tag:`path`,attrs:{d:`M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z`}}]},name:`plus`,theme:`outlined`}}))());function ML(){return ML=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,ML({},e,{ref:t,icon:Vte.default}))),PL=(0,S.createContext)(null),Hte=e=>{let{activeTabOffset:t,horizontal:n,rtl:r,indicator:i={}}=e,{size:a,align:o=`center`}=i,[s,c]=(0,S.useState)(),l=(0,S.useRef)(),u=S.useCallback(e=>typeof a==`function`?a(e):typeof a==`number`?a:e,[a]);function d(){Oi.cancel(l.current)}return(0,S.useEffect)(()=>{let e={};if(t)if(n){e.width=u(t.width);let n=r?`right`:`left`;o===`start`&&(e[n]=t[n]),o===`center`&&(e[n]=t[n]+t.width/2,e.transform=r?`translateX(50%)`:`translateX(-50%)`),o===`end`&&(e[n]=t[n]+t.width,e.transform=`translateX(-100%)`)}else e.height=u(t.height),o===`start`&&(e.top=t.top),o===`center`&&(e.top=t.top+t.height/2,e.transform=`translateY(-50%)`),o===`end`&&(e.top=t.top+t.height,e.transform=`translateY(-100%)`);return d(),l.current=Oi(()=>{s&&e&&Object.keys(e).every(t=>{let n=e[t],r=s[t];return typeof n==`number`&&typeof r==`number`?Math.round(n)===Math.round(r):n===r})||c(e)}),d},[JSON.stringify(t),n,r,o,u]),{style:s}},FL={width:0,height:0,left:0,top:0};function Ute(e,t,n){return(0,S.useMemo)(()=>{let n=new Map,r=t.get(e[0]?.key)||FL,i=r.left+r.width;for(let r=0;re.key).join(`_`),t,n])}function IL(e,t){let n=S.useRef(e),[,r]=S.useState({});function i(e){let i=typeof e==`function`?e(n.current):e;i!==n.current&&t(i,n.current),n.current=i,r({})}return[n.current,i]}var Wte=.1,LL=.01,RL=20,zL=.995**RL;function Gte(e,t){let[n,r]=(0,S.useState)(),[i,a]=(0,S.useState)(0),[o,s]=(0,S.useState)(0),[c,l]=(0,S.useState)(),u=(0,S.useRef)();function d(e){let{screenX:t,screenY:n}=e.touches[0];r({x:t,y:n}),window.clearInterval(u.current)}function f(e){if(!n)return;let{screenX:o,screenY:c}=e.touches[0];r({x:o,y:c});let u=o-n.x,d=c-n.y;t(u,d);let f=Date.now();a(f),s(f-i),l({x:u,y:d})}function p(){if(n&&(r(null),l(null),c)){let e=c.x/o,n=c.y/o;if(Math.max(Math.abs(e),Math.abs(n)){if(Math.abs(r)o?(i=n,m.current=`x`):(i=r,m.current=`y`),t(-i,-i)&&e.preventDefault()}let g=(0,S.useRef)(null);g.current={onTouchStart:d,onTouchMove:f,onTouchEnd:p,onWheel:h},S.useEffect(()=>{function t(e){g.current.onTouchStart(e)}function n(e){g.current.onTouchMove(e)}function r(e){g.current.onTouchEnd(e)}function i(e){g.current.onWheel(e)}return document.addEventListener(`touchmove`,n,{passive:!1}),document.addEventListener(`touchend`,r,{passive:!0}),e.current.addEventListener(`touchstart`,t,{passive:!0}),e.current.addEventListener(`wheel`,i,{passive:!1}),()=>{document.removeEventListener(`touchmove`,n),document.removeEventListener(`touchend`,r)}},[])}function BL(e){let[t,n]=(0,S.useState)(0),r=(0,S.useRef)(0),i=(0,S.useRef)();return i.current=e,Un(()=>{i.current?.()},[t]),()=>{r.current===t&&(r.current+=1,n(r.current))}}function Kte(e){let t=(0,S.useRef)([]),[,n]=(0,S.useState)({}),r=(0,S.useRef)(typeof e==`function`?e():e),i=BL(()=>{let e=r.current;t.current.forEach(t=>{e=t(e)}),t.current=[],r.current=e,n({})});function a(e){t.current.push(e),i()}return[r.current,a]}var VL={width:0,height:0,left:0,top:0,right:0};function qte(e,t,n,r,i,a,{tabs:o,tabPosition:s,rtl:c}){let l,u,d;return[`top`,`bottom`].includes(s)?(l=`width`,u=c?`right`:`left`,d=Math.abs(n)):(l=`height`,u=`top`,d=-n),(0,S.useMemo)(()=>{if(!o.length)return[0,0];let n=o.length,r=n;for(let i=0;iMath.floor(d+t)){r=i-1;break}}let i=0;for(let t=n-1;t>=0;--t)if((e.get(o[t].key)||VL)[u]r?[0,-1]:[i,r]},[e,t,r,i,a,d,s,o.map(e=>e.key).join(`_`),c])}function HL(e){let t;return e instanceof Map?(t={},e.forEach((e,n)=>{t[n]=e})):t=e,JSON.stringify(t)}var Jte=`TABS_DQ`;function UL(e){return String(e).replace(/"/g,Jte)}function WL(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var GL=S.forwardRef((e,t)=>{let{prefixCls:n,editable:r,locale:i,style:a}=e;return!r||r.showAdd===!1?null:S.createElement(`button`,{ref:t,type:`button`,className:`${n}-nav-add`,style:a,"aria-label":i?.addAriaLabel||`Add tab`,onClick:e=>{r.onEdit(`add`,{event:e})}},r.addIcon||`+`)}),KL=S.forwardRef((e,t)=>{let{position:n,prefixCls:r,extra:i}=e;if(!i)return null;let a,o={};return typeof i==`object`&&!S.isValidElement(i)?o=i:o.right=i,n===`right`&&(a=o.right),n===`left`&&(a=o.left),a?S.createElement(`div`,{className:`${r}-extra-content`,ref:t},a):null});function qL(){return qL=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,id:r,tabs:i,locale:a,mobile:o,more:s={},style:c,className:l,editable:u,tabBarGutter:d,rtl:f,removeAriaLabel:p,onTabClick:m,getPopupContainer:h,popupClassName:g,popupStyle:_}=e,[v,y]=(0,S.useState)(!1),[b,x]=(0,S.useState)(null),{icon:C=`More`}=s,w=`${r}-more-popup`,T=`${n}-dropdown`,E=b===null?null:`${w}-${b}`,D=a?.dropdownAriaLabel;function O(e,t){e.preventDefault(),e.stopPropagation(),u.onEdit(`remove`,{key:t,event:e})}let k=S.createElement($T,{onClick:({key:e,domEvent:t})=>{m(e,t),y(!1)},prefixCls:`${T}-menu`,id:w,tabIndex:-1,role:`listbox`,"aria-activedescendant":E,selectedKeys:[b],"aria-label":D===void 0?`expanded dropdown`:D},i.map(e=>{let{closable:t,disabled:n,closeIcon:i,key:a,label:o}=e,s=WL(t,i,u,n);return S.createElement(PT,{key:a,id:`${w}-${a}`,role:`option`,"aria-controls":r&&`${r}-panel-${a}`,disabled:n},S.createElement(`span`,null,o),s&&S.createElement(`button`,{type:`button`,"aria-label":p||`remove`,tabIndex:0,className:`${T}-menu-item-remove`,onClick:e=>{e.stopPropagation(),O(e,a)}},i||u.removeIcon||`×`))}));function A(e){let t=i.filter(e=>!e.disabled),n=t.findIndex(e=>e.key===b)||0,r=t.length;for(let i=0;i{let e=document.getElementById(E);e?.scrollIntoView&&e.scrollIntoView(!1)},[E,b]),(0,S.useEffect)(()=>{v||x(null)},[v]);let M={marginInlineStart:d};i.length||(M.visibility=`hidden`,M.order=1);let N=J(g,{[`${T}-rtl`]:f}),P=o?null:S.createElement(tT,qL({prefixCls:T,overlay:k,visible:i.length?v:!1,onVisibleChange:y,overlayClassName:N,overlayStyle:_,mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:h},s),S.createElement(`button`,{type:`button`,className:`${n}-nav-more`,style:M,"aria-haspopup":`listbox`,"aria-controls":w,id:`${r}-more`,"aria-expanded":v,onKeyDown:j},C));return S.createElement(`div`,{className:J(`${n}-nav-operations`,l),style:c,ref:t},P,S.createElement(GL,{prefixCls:n,locale:a,editable:u}))}),Xte=S.memo(Yte,(e,t)=>t.tabMoving),Zte=e=>{let{prefixCls:t,id:n,active:r,focus:i,tab:{key:a,label:o,disabled:s,closeIcon:c,icon:l},closable:u,renderWrapper:d,removeAriaLabel:f,editable:p,onClick:m,onFocus:h,onBlur:g,onKeyDown:_,onMouseDown:v,onMouseUp:y,style:b,className:x,tabCount:C,currentPosition:w}=e,T=`${t}-tab`,E=WL(u,c,p,s);function D(e){s||m(e)}function O(e){e.preventDefault(),e.stopPropagation(),p.onEdit(`remove`,{key:a,event:e})}let k=S.useMemo(()=>l&&typeof o==`string`?S.createElement(`span`,null,o):o,[o,l]),A=S.useRef(null);S.useEffect(()=>{i&&A.current&&A.current.focus()},[i]);let j=S.createElement(`div`,{key:a,"data-node-key":UL(a),className:J(T,x,{[`${T}-with-remove`]:E,[`${T}-active`]:r,[`${T}-disabled`]:s,[`${T}-focus`]:i}),style:b,onClick:D},S.createElement(`div`,{ref:A,role:`tab`,"aria-selected":r,id:n&&`${n}-tab-${a}`,className:`${T}-btn`,"aria-controls":n&&`${n}-panel-${a}`,"aria-disabled":s,tabIndex:s?null:r?0:-1,onClick:e=>{e.stopPropagation(),D(e)},onKeyDown:_,onMouseDown:v,onMouseUp:y,onFocus:h,onBlur:g},i&&S.createElement(`div`,{"aria-live":`polite`,style:{width:0,height:0,position:`absolute`,overflow:`hidden`,opacity:0}},`Tab ${w} of ${C}`),l&&S.createElement(`span`,{className:`${T}-icon`},l),o&&k),E&&S.createElement(`button`,{type:`button`,"aria-label":f||`remove`,tabIndex:r?0:-1,className:`${T}-remove`,onClick:e=>{e.stopPropagation(),O(e)}},c||p.removeIcon||`×`));return d?d(j):j};function JL(){return JL=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{offsetWidth:n,offsetHeight:r,offsetTop:i,offsetLeft:a}=e,{width:o,height:s,left:c,top:l}=e.getBoundingClientRect();return Math.abs(o-n)<1?[o,s,c-t.left,l-t.top]:[n,r,a,i]},YL=e=>{let{offsetWidth:t=0,offsetHeight:n=0}=e.current||{};if(e.current){let{width:n,height:r}=e.current.getBoundingClientRect();if(Math.abs(n-t)<1)return[n,r]}return[t,n]},XL=(e,t)=>e[+!t],ZL=S.forwardRef((e,t)=>{let{className:n,style:r,id:i,animated:a,activeKey:o,rtl:s,extra:c,editable:l,locale:u,tabPosition:d,tabBarGutter:f,children:p,onTabClick:m,onTabScroll:h,indicator:g,classNames:_,styles:v}=e,{prefixCls:y,tabs:b}=S.useContext(PL),x=(0,S.useRef)(null),C=(0,S.useRef)(null),w=(0,S.useRef)(null),T=(0,S.useRef)(null),E=(0,S.useRef)(null),D=(0,S.useRef)(null),O=(0,S.useRef)(null),k=d===`top`||d===`bottom`,[A,j]=IL(0,(e,t)=>{k&&h&&h({direction:e>t?`left`:`right`})}),[M,N]=IL(0,(e,t)=>{!k&&h&&h({direction:e>t?`top`:`bottom`})}),[P,F]=(0,S.useState)([0,0]),[I,L]=(0,S.useState)([0,0]),[R,z]=(0,S.useState)([0,0]),[B,V]=(0,S.useState)([0,0]),[H,U]=Kte(new Map),W=Ute(b,H,I[0]),ee=XL(P,k),te=XL(I,k),ne=XL(R,k),re=XL(B,k),G=Math.floor(ee)q?q:e}let se=(0,S.useRef)(null),[ce,le]=(0,S.useState)();function ue(){le(Date.now())}function de(){se.current&&clearTimeout(se.current)}Gte(T,(e,t)=>{function n(e,t){e(e=>oe(e+t))}return G?(k?n(j,e):n(N,t),de(),ue(),!0):!1}),(0,S.useEffect)(()=>(de(),ce&&(se.current=setTimeout(()=>{le(0)},100)),de),[ce]);let[fe,pe]=qte(W,ie,k?A:M,te,ne,re,{...e,tabs:b}),me=zn((e=o)=>{let t=W.get(e)||{width:0,height:0,left:0,right:0,top:0};if(k){let e=A;s?t.rightA+ie&&(e=t.right+t.width-ie):t.left<-A?e=-t.left:t.left+t.width>-A+ie&&(e=-(t.left+t.width-ie)),N(0),j(oe(e))}else{let e=M;t.top<-M?e=-t.top:t.top+t.height>-M+ie&&(e=-(t.top+t.height-ie)),j(0),N(oe(e))}}),[he,ge]=(0,S.useState)(),[_e,ve]=(0,S.useState)(!1),ye=b.filter(e=>!e.disabled).map(e=>e.key),be=e=>{let t=ye.indexOf(he||o),n=ye.length,r=ye[(t+e+n)%n];ge(r)},xe=(e,t)=>{let n=ye.indexOf(e),r=b.find(t=>t.key===e);WL(r?.closable,r?.closeIcon,l,r?.disabled)&&(t.preventDefault(),t.stopPropagation(),l.onEdit(`remove`,{key:e,event:t}),n===ye.length-1?be(-1):be(1))},Se=(e,t)=>{ve(!0),t.button===1&&xe(e,t)},Ce=e=>{let{code:t}=e,n=s&&k,r=ye[0],i=ye[ye.length-1];switch(t){case`ArrowLeft`:k&&be(n?1:-1);break;case`ArrowRight`:k&&be(n?-1:1);break;case`ArrowUp`:e.preventDefault(),k||be(-1);break;case`ArrowDown`:e.preventDefault(),k||be(1);break;case`Home`:e.preventDefault(),ge(r);break;case`End`:e.preventDefault(),ge(i);break;case`Enter`:case`Space`:e.preventDefault(),m(he??o,e);break;case`Backspace`:case`Delete`:xe(he,e);break}},we={};k?we.marginInlineStart=f:we.marginTop=f;let Te=b.map((e,t)=>{let{key:n}=e;return S.createElement(Zte,{id:i,prefixCls:y,key:n,tab:e,className:_?.item,style:t===0?v?.item:{...we,...v?.item},closable:e.closable,editable:l,active:n===o,focus:n===he,renderWrapper:p,removeAriaLabel:u?.removeAriaLabel,tabCount:ye.length,currentPosition:t+1,onClick:e=>{m(n,e)},onKeyDown:Ce,onFocus:()=>{_e||ge(n),me(n),ue(),T.current&&(s||(T.current.scrollLeft=0),T.current.scrollTop=0)},onBlur:()=>{ge(void 0)},onMouseDown:e=>Se(n,e),onMouseUp:()=>{ve(!1)}})}),Ee=()=>U(()=>{let e=new Map,t=E.current?.getBoundingClientRect();return b.forEach(({key:n})=>{let r=E.current?.querySelector(`[data-node-key="${UL(n)}"]`);if(r){let[i,a,o,s]=Qte(r,t);e.set(n,{width:i,height:a,left:o,top:s})}}),e});(0,S.useEffect)(()=>{Ee()},[b.map(e=>e.key).join(`_`)]);let De=BL(()=>{let e=YL(x),t=YL(C),n=YL(w);F([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);let r=YL(O);z(r),V(YL(D));let i=YL(E);L([i[0]-r[0],i[1]-r[1]]),Ee()}),Oe=b.slice(0,fe),ke=b.slice(pe+1),Ae=[...Oe,...ke],je=W.get(o),{style:Me}=Hte({activeTabOffset:je,horizontal:k,indicator:g,rtl:s});(0,S.useEffect)(()=>{me()},[o,ae,q,HL(je),HL(W),k]),(0,S.useEffect)(()=>{De()},[s]);let Ne=!!Ae.length,Pe=`${y}-nav-wrap`,Fe,Ie,Le,Re;return k?s?(Ie=A>0,Fe=A!==q):(Fe=A<0,Ie=A!==ae):(Le=M<0,Re=M!==ae),S.createElement(oa,{onResize:De},S.createElement(`div`,{ref:lr(t,x),role:`tablist`,"aria-orientation":k?`horizontal`:`vertical`,className:J(`${y}-nav`,n,_?.header),style:{...v?.header,...r},onKeyDown:()=>{ue()}},S.createElement(KL,{ref:C,position:`left`,extra:c,prefixCls:y}),S.createElement(oa,{onResize:De},S.createElement(`div`,{className:J(Pe,{[`${Pe}-ping-left`]:Fe,[`${Pe}-ping-right`]:Ie,[`${Pe}-ping-top`]:Le,[`${Pe}-ping-bottom`]:Re}),ref:T},S.createElement(oa,{onResize:De},S.createElement(`div`,{ref:E,className:`${y}-nav-list`,style:{transform:`translate(${A}px, ${M}px)`,transition:ce?`none`:void 0}},Te,S.createElement(GL,{ref:O,prefixCls:y,locale:u,editable:l,style:{...Te.length===0?void 0:we,visibility:Ne?`hidden`:null}}),S.createElement(`div`,{className:J(`${y}-ink-bar`,_?.indicator,{[`${y}-ink-bar-animated`]:a.inkBar}),style:{...Me,...v?.indicator}}))))),S.createElement(Xte,JL({},e,{removeAriaLabel:u?.removeAriaLabel,ref:D,prefixCls:y,tabs:Ae,className:!Ne&&K,popupStyle:v?.popup,tabMoving:!!ce})),S.createElement(KL,{ref:w,position:`right`,extra:c,prefixCls:y})))}),$te=({renderTabBar:e,...t})=>e?e(t,ZL):S.createElement(ZL,t),ene=S.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:i,id:a,active:o,tabKey:s,children:c}=e,l=S.Children.count(c)>0;return S.createElement(`div`,{id:a&&`${a}-panel-${s}`,role:`tabpanel`,tabIndex:o&&l?0:-1,"aria-labelledby":a&&`${a}-tab-${s}`,"aria-hidden":!o,style:i,className:J(n,o&&`${n}-active`,r),ref:t},c)});function QL(){return QL=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:t,activeKey:n,animated:r,tabPosition:i,destroyOnHidden:a,contentStyle:o,contentClassName:s}=e,{prefixCls:c,tabs:l}=S.useContext(PL),u=r.tabPane,d=`${c}-tabpane`;return S.createElement(`div`,{className:J(`${c}-content-holder`)},S.createElement(`div`,{className:J(`${c}-content`,`${c}-content-${i}`,{[`${c}-content-animated`]:u})},l.map(e=>{let{key:i,forceRender:c,style:l,className:f,destroyOnHidden:p,...m}=e,h=i===n;return S.createElement(Od,QL({key:i,visible:h,forceRender:c,removeOnLeave:!!(a??p),leavedClassName:`${d}-hidden`},r.tabPaneMotion),({style:e,className:n},r)=>S.createElement(ene,QL({},m,{prefixCls:d,id:t,tabKey:i,animated:u,active:h,style:{...o,...l,...e},className:J(s,f,n),ref:r})))})))};function nne(e={inkBar:!0,tabPane:!1}){let t;return t=e===!1?{inkBar:!1,tabPane:!1}:e===!0?{inkBar:!0,tabPane:!1}:{inkBar:!0,...typeof e==`object`?e:{}},t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}function $L(){return $L=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:n,prefixCls:r=`rc-tabs`,className:i,items:a,direction:o,activeKey:s,defaultActiveKey:c,editable:l,animated:u,tabPosition:d=`top`,tabBarGutter:f,tabBarStyle:p,tabBarExtraContent:m,locale:h,more:g,destroyOnHidden:_,renderTabBar:v,onChange:y,onTabClick:b,onTabScroll:x,getPopupContainer:C,popupClassName:w,indicator:T,classNames:E,styles:D,...O}=e,k=S.useMemo(()=>(a||[]).filter(e=>e&&typeof e==`object`&&`key`in e),[a]),A=o===`rtl`,j=nne(u),[M,N]=(0,S.useState)(!1);(0,S.useEffect)(()=>{N(hi())},[]);let[P,F]=Gn(c??k[0]?.key,s),[I,L]=(0,S.useState)(()=>k.findIndex(e=>e.key===P));(0,S.useEffect)(()=>{let e=k.findIndex(e=>e.key===P);e===-1&&(e=Math.max(0,Math.min(I,k.length-1)),F(k[e]?.key)),L(e)},[k.map(e=>e.key).join(`_`),P,I]);let[R,z]=Gn(null,n);(0,S.useEffect)(()=>{n||(z(`rc-tabs-${eR}`),eR+=1)},[]);function B(e,t){b?.(e,t);let n=e!==P;F(e),n&&y?.(e)}let V={id:R,activeKey:P,animated:j,tabPosition:d,rtl:A,mobile:M},H={...V,editable:l,locale:h,more:g,tabBarGutter:f,onTabClick:B,onTabScroll:x,extra:m,style:p,getPopupContainer:C,popupClassName:J(w,E?.popup),indicator:T,styles:D,classNames:E},U=S.useMemo(()=>({tabs:k,prefixCls:r}),[k,r]);return S.createElement(PL.Provider,{value:U},S.createElement(`div`,$L({ref:t,id:n,className:J(r,`${r}-${d}`,{[`${r}-mobile`]:M,[`${r}-editable`]:l,[`${r}-rtl`]:A},i)},O),S.createElement($te,$L({},H,{renderTabBar:v})),S.createElement(tne,$L({destroyOnHidden:_},V,{contentStyle:D?.content,contentClassName:E?.content,animated:j}))))}),ine={motionAppear:!1,motionEnter:!0,motionLeave:!0};function ane(e,t={inkBar:!0,tabPane:!1}){let n;return n=t===!1?{inkBar:!1,tabPane:!1}:t===!0?{inkBar:!0,tabPane:!0}:{inkBar:!0,...nf(t)?t:{}},n.tabPane&&(n.tabPaneMotion={...ine,motionName:vh(e,`switch`)}),n}function one(e){return e.filter(e=>e)}function sne(e,t){return e?e.map(e=>({...e,destroyOnHidden:e.destroyOnHidden??e.destroyInactiveTabPane})):one(ki(t).map(e=>{if(S.isValidElement(e)){let{key:t,props:n}=e,{tab:r,...i}=n||{};return{key:String(t),...i,label:r}}return null}))}var cne=e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:`none`,"&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:`absolute`,transition:`none`,inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[hg(e,`slide-up`),hg(e,`slide-down`)]]},lne=e=>{let{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:i,colorBorderSecondary:a,itemSelectedColor:o}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${Y(e.lineWidth)} ${e.lineType} ${a}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:o,background:e.colorBgContainer},[`${t}-tab-focus:has(${t}-tab-btn:focus-visible)`]:Kl(e,-3),[`& ${t}-tab${t}-tab-focus ${t}-tab-btn:focus-visible`]:{outline:`none`},[`${t}-ink-bar`]:{visibility:`hidden`}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:Y(i)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:Y(i)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Y(e.borderRadiusLG)} 0 0 ${Y(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},une=e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:{...Ul(e),position:`absolute`,top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:`block`,"&-hidden":{display:`none`},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${Y(r)} 0`,overflowX:`hidden`,overflowY:`auto`,textAlign:{_skip_check_:!0,value:`left`},listStyleType:`none`,backgroundColor:e.colorBgContainer,backgroundClip:`padding-box`,borderRadius:e.borderRadiusLG,outline:`none`,boxShadow:e.boxShadowSecondary,"&-item":{...Hl,display:`flex`,alignItems:`center`,minWidth:e.tabsDropdownWidth,margin:0,padding:`${Y(e.paddingXXS)} ${Y(e.paddingSM)}`,color:e.colorText,fontWeight:`normal`,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:`pointer`,transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:`nowrap`},"&-remove":{flex:`none`,marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorIcon,fontSize:e.fontSizeSM,background:`transparent`,border:0,cursor:`pointer`,"&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:`transparent`,cursor:`not-allowed`}}}}}}},dne=e=>{let{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:i,verticalItemPadding:a,verticalItemMargin:o,motionDurationSlow:s,calc:c}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:`column`,[`> ${t}-nav, > div > ${t}-nav`]:{margin:i,"&::before":{position:`absolute`,right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${Y(e.lineWidth)} ${e.lineType} ${r}`,content:`''`},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:[`width`,`left`,`right`].map(e=>`${e} ${s}`).join(`, `)}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, + > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:`column`,minWidth:c(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:a,textAlign:`center`},[`${t}-tab + ${t}-tab`]:{margin:o},[`${t}-nav-wrap`]:{flexDirection:`column`,"&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:[`height`,`top`].map(e=>`${e} ${s}`).join(`, `)}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:`1 0 auto`,flexDirection:`column`}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:Y(c(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:c(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},fne=e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,cardHeightSM:i,cardHeightLG:a,horizontalItemPaddingSM:o,horizontalItemPaddingLG:s}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:s,fontSize:e.titleFontSizeLG,lineHeight:e.lineHeightLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n},[`${t}-nav-add`]:{minWidth:i,minHeight:i}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${Y(e.borderRadius)} ${Y(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${Y(e.borderRadius)} ${Y(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Y(e.borderRadius)} ${Y(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Y(e.borderRadius)} 0 0 ${Y(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r},[`${t}-nav-add`]:{minWidth:a,minHeight:a}}}}}},pne=e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:i,tabsHorizontalItemMargin:a,horizontalItemPadding:o,itemSelectedColor:s,itemColor:c}=e,l=`${t}-tab`;return{[l]:{position:`relative`,WebkitTouchCallout:`none`,WebkitTapHighlightColor:`transparent`,display:`inline-flex`,alignItems:`center`,padding:o,fontSize:e.titleFontSize,background:`transparent`,border:0,outline:`none`,cursor:`pointer`,color:c,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:n}},"&-btn":{outline:`none`,transition:`all ${e.motionDurationSlow}`,[`${l}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:`none`,lineHeight:1,marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorIcon,fontSize:e.fontSizeSM,background:`transparent`,border:`none`,outline:`none`,cursor:`pointer`,transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading},...ql(e)},"&:hover":{color:r},[`&${l}-active ${l}-btn`]:{color:s},[`&${l}-focus ${l}-btn:focus-visible`]:Kl(e),[`&${l}-disabled`]:{color:e.colorTextDisabled,cursor:`not-allowed`},[`&${l}-disabled ${l}-btn, &${l}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${l}-remove ${i}`]:{margin:0,verticalAlign:`middle`},[`${i}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${l} + ${l}`]:{margin:{_skip_check_:!0,value:a}}}},mne=e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:i,calc:a}=e;return{[`${t}-rtl`]:{direction:`rtl`,[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:e.marginSM}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:e.marginXS},marginLeft:{_skip_check_:!0,value:a(e.marginXXS).mul(-1).equal()},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:i},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:`rtl`},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:`right`}}}}},hne=e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:i,itemHoverColor:a,itemActiveColor:o,colorBorderSecondary:s}=e;return{[t]:{...Ul(e),display:`flex`,[`> ${t}-nav, > div > ${t}-nav`]:{position:`relative`,display:`flex`,flex:`none`,alignItems:`center`,[`${t}-nav-wrap`]:{position:`relative`,display:`flex`,flex:`auto`,alignSelf:`stretch`,overflow:`hidden`,whiteSpace:`nowrap`,transform:`translate(0)`,"&::before, &::after":{position:`absolute`,zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:`''`,pointerEvents:`none`}},[`${t}-nav-list`]:{position:`relative`,display:`flex`,transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:`flex`,alignSelf:`stretch`},[`${t}-nav-operations-hidden`]:{position:`absolute`,visibility:`hidden`,pointerEvents:`none`},[`${t}-nav-more`]:{position:`relative`,padding:n,background:`transparent`,border:0,color:e.colorText,"&::after":{position:`absolute`,right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:`translateY(100%)`,content:`''`}},[`${t}-nav-add`]:{minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:i},background:`transparent`,border:`${Y(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)} 0 0`,outline:`none`,cursor:`pointer`,color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:a},"&:active, &:focus:not(:focus-visible)":{color:o},...ql(e,-3)}},[`${t}-extra-content`]:{flex:`none`},[`${t}-ink-bar`]:{position:`absolute`,background:e.inkBarColor,pointerEvents:`none`},...pne(e),[`${t}-content`]:{position:`relative`,width:`100%`},[`${t}-content-holder`]:{flex:`auto`,minWidth:0,minHeight:0},[`${t}-tabpane`]:{...ql(e),"&-hidden":{display:`none`}}},[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:`auto`}}}}}},gne=Ql(`Tabs`,e=>{let t=dc(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${Y(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${Y(e.horizontalItemGutter)}`});return[fne(t),mne(t),dne(t),une(t),lne(t),hne(t),cne(t)]},e=>{let{cardHeight:t,cardHeightSM:n,cardHeightLG:r,controlHeight:i,controlHeightLG:a}=e,o=t||a,s=n||i,c=r||a+8;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:o,cardHeightSM:s,cardHeightLG:c,cardPadding:`${(o-e.fontHeight)/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${(s-e.fontHeight)/2-e.lineWidth}px ${e.paddingXS}px`,cardPaddingLG:`${(c-e.fontHeightLG)/2-e.lineWidth}px ${e.padding}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:``,horizontalItemMarginRTL:``,horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}),_ne=()=>null,tR=S.forwardRef((e,t)=>{let{type:n,className:r,rootClassName:i,size:a,onEdit:o,hideAdd:s,centered:c,addIcon:l,removeIcon:u,moreIcon:d,more:f,popupClassName:p,children:m,items:h,animated:g,style:_,indicatorSize:v,indicator:y,classNames:b,styles:x,destroyInactiveTabPane:C,destroyOnHidden:w,tabPlacement:T,tabPosition:E,...D}=e,{prefixCls:O}=D,{getPrefixCls:k,direction:A,getPopupContainer:j,className:M,style:N,classNames:P,styles:F}=ya(`tabs`),{tabs:I}=S.useContext(ga),L=k(`tabs`,O),R=sp(L),[z,B]=gne(L,R),V=S.useRef(null);S.useImperativeHandle(t,()=>({nativeElement:V.current}));let H;n===`editable-card`&&(H={onEdit:(e,{key:t,event:n})=>{o?.(e===`add`?n:t,e)},removeIcon:u??I?.removeIcon??S.createElement(ju,null),addIcon:(l??I?.addIcon)||S.createElement(NL,null),showAdd:s!==!0});let U=k(),W=Oh(a),ee=sne(h,m),te=ane(L,g),ne={align:y?.align??I?.indicator?.align,size:y?.size??v??I?.indicator?.size??I?.indicatorSize},re=S.useMemo(()=>{let e=T??E??void 0,t=A===`rtl`;switch(e){case`start`:return t?`right`:`left`;case`end`:return t?`left`:`right`;default:return e}},[T,E,A]),G={...e,size:W,tabPlacement:re,items:ee},[ie,K]=Cf([P,b],[F,x],{props:G},{popup:{_default:`root`}});return S.createElement(rne,{ref:V,direction:A,getPopupContainer:j,...D,items:ee,className:J({[`${L}-large`]:W===`large`,[`${L}-small`]:W===`small`,[`${L}-card`]:[`card`,`editable-card`].includes(n),[`${L}-editable-card`]:n===`editable-card`,[`${L}-centered`]:c},M,r,i,ie.root,z,B,R),classNames:{...ie,popup:J(p,z,B,R,ie.popup?.root)},styles:K,style:{...K.root,...N,..._},editable:H,more:{icon:I?.more?.icon??I?.moreIcon??d??S.createElement(gE,null),transitionName:`${U}-slide-up`,...f},prefixCls:L,animated:te,indicator:ne,destroyOnHidden:w??C,tabPosition:re})});tR.TabPane=_ne;var nR=({prefixCls:e,className:t,hoverable:n=!0,...r})=>{let{getPrefixCls:i}=S.useContext(ga),a=i(`card`,e),o=J(`${a}-grid`,t,{[`${a}-grid-hoverable`]:n});return S.createElement(`div`,{...r,className:o})},vne=e=>{let{antCls:t,componentCls:n,headerHeight:r,headerPadding:i,tabsMarginBottom:a}=e;return{display:`flex`,justifyContent:`center`,flexDirection:`column`,minHeight:r,marginBottom:-1,padding:`0 ${Y(i)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)} 0 0`,...Gl(),"&-wrapper":{width:`100%`,display:`flex`,alignItems:`center`},"&-title":{display:`inline-block`,flex:1,...Hl,[` > ${n}-typography, > ${n}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}},[`${t}-tabs-top`]:{clear:`both`,marginBottom:a,color:e.colorText,fontWeight:`normal`,fontSize:e.fontSize,"&-bar":{borderBottom:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}}},gne=e=>{let{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:i}=e;return{width:`33.33%`,padding:t,border:0,borderRadius:0,boxShadow:` + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}},[`${t}-tabs-top`]:{clear:`both`,marginBottom:a,color:e.colorText,fontWeight:`normal`,fontSize:e.fontSize,"&-bar":{borderBottom:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}}},yne=e=>{let{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:i}=e;return{width:`33.33%`,padding:t,border:0,borderRadius:0,boxShadow:` ${Y(i)} 0 0 0 ${n}, 0 ${Y(i)} 0 0 ${n}, ${Y(i)} ${Y(i)} 0 0 ${n}, ${Y(i)} 0 0 0 ${n} inset, 0 ${Y(i)} 0 0 ${n} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:`relative`,zIndex:1,boxShadow:r}}},_ne=e=>{let{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:i,colorBorderSecondary:a,actionsBg:o}=e;return{margin:0,padding:0,listStyle:`none`,background:o,borderTop:`${Y(e.lineWidth)} ${e.lineType} ${a}`,display:`flex`,borderRadius:`0 0 ${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)}`,...Gl(),"& > li":{margin:r,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 ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:`inline-block`,width:`100%`,color:e.colorIcon,lineHeight:Y(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:i,lineHeight:Y(e.calc(i).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${Y(e.lineWidth)} ${e.lineType} ${a}`}}}},vne=e=>({margin:`${Y(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:`flex`,...Gl(),"&-avatar":{paddingInlineEnd:e.padding},"&-section":{overflow:`hidden`,flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,...Hl},"&-description":{color:e.colorTextDescription}}),yne=e=>{let{componentCls:t,colorFillAlter:n,headerPadding:r,bodyPadding:i}=e;return{[`${t}-head`]:{padding:`0 ${Y(r)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${Y(e.padding)} ${Y(i)}`}}},bne=e=>{let{componentCls:t}=e;return{overflow:`hidden`,[`${t}-body`]:{userSelect:`none`}}},xne=e=>{let{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:i,boxShadowTertiary:a,bodyPadding:o,extraColor:s,motionDurationMid:c}=e;return{[t]:{...Ul(e),position:`relative`,background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:a},[`${t}-head`]:hne(e),[`${t}-extra`]:{marginInlineStart:`auto`,color:s,fontWeight:`normal`,fontSize:e.fontSize},[`${t}-body`]:{padding:o,borderRadius:`0 0 ${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)}`,"&:first-child":{borderStartStartRadius:e.borderRadiusLG,borderStartEndRadius:e.borderRadiusLG},"&:not(:last-child)":{borderEndStartRadius:0,borderEndEndRadius:0}},[`${t}-grid`]:gne(e),[`${t}-cover`]:{"> *":{display:`block`,width:`100%`,borderRadius:`${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:_ne(e),[`${t}-meta`]:vne(e)},[`${t}-bordered`]:{border:`${Y(e.lineWidth)} ${e.lineType} ${i}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:`pointer`,transition:[`box-shadow`,`border-color`].map(e=>`${e} ${c}`).join(`, `),"&:hover":{borderColor:`transparent`,boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)} 0 0 `,[`&:not(:has(> ${t}-head))`]:{borderRadius:0},[`${t}-body`]:{display:`flex`,flexWrap:`wrap`},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:yne(e),[`${t}-loading`]:bne(e),[`${t}-rtl`]:{direction:`rtl`}}},Sne=e=>{let{componentCls:t,bodyPaddingSM:n,headerPaddingSM:r,headerHeightSM:i,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:i,padding:`0 ${Y(r)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:`flex`,alignItems:`center`}}}}},Cne=Ql(`Card`,e=>{let t=dc(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize});return[xne(t),Sne(t)]},e=>({headerBg:`transparent`,headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:e.bodyPadding??e.paddingLG,headerPadding:e.headerPadding??e.paddingLG})),wne=e=>{let{actionClasses:t,actions:n=[],actionStyle:r}=e;return S.createElement(`ul`,{className:t,style:r},n.map((e,t)=>{let r=`action-${t}`;return S.createElement(`li`,{style:{width:`${100/n.length}%`},key:r},S.createElement(`span`,null,e))}))},Tne=S.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:i,style:a,extra:o,headStyle:s={},bodyStyle:c={},title:l,loading:u,bordered:d,variant:f,size:p,type:m,cover:h,actions:g,tabList:_,children:v,activeTabKey:y,defaultActiveTabKey:b,tabBarExtraContent:x,hoverable:C,tabProps:w={},classNames:T,styles:E,...D}=e,{getPrefixCls:O,direction:k,className:A,style:j,classNames:M,styles:N}=ya(`card`),[P]=AC(`card`,f,d),F=wh(p),I={...e,size:F,variant:P},[L,R]=Cf([M,T],[N,E],{props:I}),z=t=>{e.onTabChange?.(t)},B=S.useMemo(()=>ki(v),[v]),V=S.useMemo(()=>B.some(e=>S.isValidElement(e)&&e.type===aR),[B]),H=O(`card`,n),[U,W]=Cne(H),ee=S.createElement(Jy,{loading:!0,active:!0,paragraph:{rows:4},title:!1},v),te=y!==void 0,ne={...w,[te?`activeKey`:`defaultActiveKey`]:te?y:b,tabBarExtraContent:x},re,G=F===`small`?F:`large`,ie=_?S.createElement(iR,{size:G,...ne,className:`${H}-head-tabs`,onChange:z,items:_.map(({tab:e,...t})=>({label:e,...t}))}):null;if(l||o||ie){let e=J(`${H}-head`,L.header),t=J(`${H}-head-title`,L.title),n=J(`${H}-extra`,L.extra),r={...s,...R.header};re=S.createElement(`div`,{className:e,style:r},S.createElement(`div`,{className:`${H}-head-wrapper`},l&&S.createElement(`div`,{className:t,style:R.title},l),o&&S.createElement(`div`,{className:n,style:R.extra},o)),ie)}let K=J(`${H}-cover`,L.cover),ae=h?S.createElement(`div`,{className:K,style:R.cover},h):null,q=J(`${H}-body`,L.body),oe={...c,...R.body},se=u||B.length?S.createElement(`div`,{className:q,style:oe},u?ee:v):null,ce=J(`${H}-actions`,L.actions),le=g?.length?S.createElement(wne,{actionClasses:ce,actionStyle:R.actions,actions:g}):null,ue=gi(D,[`onTabChange`]),de=J(H,A,{[`${H}-loading`]:u,[`${H}-bordered`]:P!==`borderless`,[`${H}-hoverable`]:C,[`${H}-contain-grid`]:V,[`${H}-contain-tabs`]:_?.length,[`${H}-small`]:F===`small`,[`${H}-type-${m}`]:!!m,[`${H}-rtl`]:k===`rtl`},r,i,U,W,L.root),fe={...R.root,...j,...a};return S.createElement(`div`,{ref:t,...ue,className:de,style:fe},re,ae,se,le)}),Ene=e=>{let{prefixCls:t,className:n,avatar:r,title:i,description:a,style:o,classNames:s,styles:c,...l}=e,{getPrefixCls:u,className:d,style:f,classNames:p,styles:m}=ya(`cardMeta`),h=`${u(`card`,t)}-meta`,[g,_]=Cf([p,s],[m,c],{props:e}),v=J(h,n,d,g.root),y={...f,..._.root,...o},b=J(`${h}-avatar`,g.avatar),x=J(`${h}-title`,g.title),C=J(`${h}-description`,g.description),w=J(`${h}-section`,g.section),T=r?S.createElement(`div`,{className:b,style:_.avatar},r):null,E=i?S.createElement(`div`,{className:x,style:_.title},i):null,D=a?S.createElement(`div`,{className:C,style:_.description},a):null,O=E||D?S.createElement(`div`,{className:w,style:_.section},E,D):null;return S.createElement(`div`,{...l,className:v,style:y},T,O)},oR=Tne;oR.Grid=aR,oR.Meta=Ene;function Dne(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function sR(e,t){if(e==null)return{};var n,r,i=Dne(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;re?s?(f=Date.now(),a||(u=setTimeout(l?c:o,e))):o():a!==!0&&(u=setTimeout(l?c:o,l===void 0?e-i:e))}return h.cancel=m,h}function kne(e,t,n){var r=(n||{}).atBegin;return One(e,t,{debounceMode:(r===void 0?!1:r)!==!1})}var cR=S.createContext({}),lR=`__rc_cascader_search_mark__`,uR=(e,t,{label:n=``})=>t.some(t=>String(t[n]).toLowerCase().includes(e.toLowerCase())),dR=(e,t,n,r)=>t.map(e=>e[r.label]).join(` / `),fR=(e,t,n,r,i,a)=>{let{filter:o=uR,render:s=dR,limit:c=50,sort:l}=i;return S.useMemo(()=>{let i=[];if(!e)return[];function u(t,d,f=!1){t.forEach(t=>{if(!l&&c!==!1&&c>0&&i.length>=c)return;let p=[...d,t],m=t[n.children],h=f||t.disabled;(!m||m.length===0||a)&&o(e,p,{label:n.label})&&i.push({...t,disabled:h,[n.label]:s(e,p,r,n),[lR]:p,[n.children]:void 0}),m&&u(t[n.children],p,h)})}return u(t,[]),l&&i.sort((t,r)=>l(t[lR],r[lR],e,n)),c!==!1&&c>0?i.slice(0,c):i},[e,t,n,r,s,a,o,l,c])},pR=`__RC_CASCADER_SPLIT__`,mR=`SHOW_PARENT`,hR=`SHOW_CHILD`;function gR(e){return e.join(pR)}function _R(e){return e.map(gR)}function vR(e){return e.split(pR)}function yR(e){let{label:t,value:n,children:r}=e||{},i=n||`value`;return{label:t||`label`,value:i,key:i,children:r||`children`}}function bR(e,t){return e.isLeaf??!e[t.children]?.length}function xR(e){let t=e.parentElement;if(!t)return;let n=e.offsetTop-t.offsetTop;n-t.scrollTop<0?t.scrollTo({top:n}):n+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}function SR(e,t){return e.map(e=>e[lR]?.map(e=>e[t.value]))}function CR(e){return Array.isArray(e)&&Array.isArray(e[0])}function wR(e){return e?CR(e)?e:(e.length===0?[]:[e]).map(e=>Array.isArray(e)?e:[e]):[]}function TR(e,t,n){let r=new Set(e),i=t();return e.filter(e=>{let t=i[e],a=t?t.parent:null,o=t?t.children:null;return t&&t.node.disabled?!0:n===`SHOW_CHILD`?!(o&&o.some(e=>e.key&&r.has(e.key))):!(a&&!a.node.disabled&&r.has(a.key))})}function ER(e,t,n,r=!1){let i=t,a=[];for(let t=0;t{let t=e[n.value];return r?String(t)===String(o):t===o}),c=s===-1?null:i?.[s];a.push({value:c?.[n.value]??o,index:s,option:c}),i=c?.[n.children]}return a}var DR=((e,t,n,r,i)=>S.useMemo(()=>{let a=i||(e=>{let t=r?e.slice(-1):e;return t.every(e=>[`string`,`number`].includes(typeof e))?t.join(` / `):t.reduce((e,t,n)=>{let r=S.isValidElement(t)?S.cloneElement(t,{key:n}):t;return n===0?[r]:[...e,` / `,r]},[])});return e.map(e=>{let r=ER(e,t,n),i=a(r.map(({option:e,value:t})=>e?.[n.label]??t),r.map(({option:e})=>e)),o=gR(e);return{label:i,value:o,key:o,valueCells:e,disabled:r[r.length-1]?.option?.disabled}})},[e,t,n,i,r]));function OR(e,t){return S.useCallback(n=>{let r=[],i=[];return n.forEach(n=>{ER(n,e,t).every(e=>e.option)?i.push(n):r.push(n)}),[i,r]},[e,t])}function kR(e,t){return e[t]}function AR(e,t){return`${e}-${t}`}function jR(e){return e&&e.type&&e.type.isTreeNode}function MR(e,t){return e??t}function NR(e){let{title:t,_title:n,key:r,children:i}=e||{},a=t||`title`;return{title:a,_title:n||[a],key:r||`key`,children:i||`children`}}function PR(e){function t(e){return ki(e).map(e=>{if(!jR(e))return ui(!e,`Tree/TreeNode can only accept TreeNode as children.`),null;let{key:n}=e,{children:r,...i}=e.props,a={key:n,...i},o=t(r);return o.length&&(a.children=o),a}).filter(e=>e)}return t(e)}function FR(e,t,n){let{_title:r,key:i,children:a}=NR(n),o=new Set(t===!0?[]:t),s=[];function c(e,n=null){return e.map((l,u)=>{let d=AR(n?n.pos:`0`,u),f=MR(l[i],d),p;for(let e=0;ee[a]:typeof a==`function`&&(u=e=>a(e)):u=(e,t)=>MR(e[s],t);function d(n,r,i,a){let o=n?n[l]:e,s=n?AR(i.pos,r):`0`,c=n?[...a,n]:[];n&&t({node:n,index:r,pos:s,key:u(n,s),parentPos:i.node?i.pos:null,level:i.level+1,nodes:c}),o&&o.forEach((e,t)=>{d(e,t,{node:n,pos:s,level:i?i.level+1:-1},c)})}d(null)}function LR(e,{initWrapper:t,processEntity:n,onProcessFinished:r,externalGetKey:i,childrenPropName:a,fieldNames:o}={},s){let c=i||s,l={},u={},d={posEntities:l,keyEntities:u};return t&&(d=t(d)||d),IR(e,e=>{let{node:t,index:r,pos:i,key:a,parentPos:o,level:s,nodes:c}=e,f={node:t,nodes:c,index:r,key:a,pos:i,level:s},p=MR(a,i);l[i]=f,u[p]=f,f.parent=l[o],f.parent&&(f.parent.children=f.parent.children||[],f.parent.children.push(f)),n&&n(f,d)},{externalGetKey:c,childrenPropName:a,fieldNames:o}),r&&r(d),d}function RR(e,t,n,r){return e===!1?!1:e||!t&&!n||t&&r&&!n}function zR(e,{expandedKeys:t,selectedKeys:n,loadedKeys:r,loadingKeys:i,checkedKeys:a,halfCheckedKeys:o,dragOverNodeKey:s,dropPosition:c,keyEntities:l}){let u=kR(l,e);return{eventKey:e,expanded:t.indexOf(e)!==-1,selected:n.indexOf(e)!==-1,loaded:r.indexOf(e)!==-1,loading:i.indexOf(e)!==-1,checked:a.indexOf(e)!==-1,halfChecked:o.indexOf(e)!==-1,pos:String(u?u.pos:``),dragOver:s===e&&c===0,dragOverGapTop:s===e&&c===-1,dragOverGapBottom:s===e&&c===1}}function BR(e){let{data:t,expanded:n,selected:r,checked:i,loaded:a,loading:o,halfChecked:s,dragOver:c,dragOverGapTop:l,dragOverGapBottom:u,pos:d,active:f,eventKey:p}=e,m={...t,expanded:n,selected:r,checked:i,loaded:a,loading:o,halfChecked:s,dragOver:c,dragOverGapTop:l,dragOverGapBottom:u,pos:d,active:f,key:p};return`props`in m||Object.defineProperty(m,`props`,{get(){return ui(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),m}var VR=((e,t)=>{let n=S.useRef({options:[],info:{keyEntities:{},pathKeyEntities:{}}});return S.useCallback(()=>(n.current.options!==e&&(n.current.options=e,n.current.info=LR(e,{fieldNames:t,initWrapper:e=>({...e,pathKeyEntities:{}}),processEntity:(e,n)=>{let r=e.nodes.map(e=>e[t.value]).join(pR);n.pathKeyEntities[r]=e,e.key=r}})),n.current.info.pathKeyEntities),[t,e])});function HR(e,t){let n=S.useMemo(()=>t||[],[t]),r=VR(n,e);return[n,r,S.useCallback(t=>{let n=r();return t.map(t=>{let{nodes:r}=n[t];return r.map(t=>t[e.value])})},[r,e])]}function UR(e,t){let{autoClearSearchValue:n,searchValue:r,onSearch:i}=t;return S.useMemo(()=>{if(!e)return[!1,{}];let t={matchInputWidth:!0,limit:50,autoClearSearchValue:n,searchValue:r,onSearch:i};return e&&typeof e==`object`&&(t={...t,...e}),t.limit<=0&&(t.limit=!1),[!0,t]},[e,n,r,i])}function WR(e,t){let n=new Set;return e.forEach(e=>{t.has(e)||n.add(e)}),n}function GR(e){let{disabled:t,disableCheckbox:n,checkable:r}=e||{};return!!(t||n)||r===!1}function KR(e,t,n,r){let i=new Set(e),a=new Set;for(let e=0;e<=n;e+=1)(t.get(e)||new Set).forEach(e=>{let{key:t,node:n,children:a=[]}=e;i.has(t)&&!r(n)&&a.filter(e=>!r(e.node)).forEach(e=>{i.add(e.key)})});let o=new Set;for(let e=n;e>=0;--e)(t.get(e)||new Set).forEach(e=>{let{parent:t,node:n}=e;if(r(n)||!e.parent||o.has(e.parent.key))return;if(r(e.parent.node)){o.add(t.key);return}let s=!0,c=!1;(t.children||[]).filter(e=>!r(e.node)).forEach(({key:e})=>{let t=i.has(e);s&&!t&&(s=!1),!c&&(t||a.has(e))&&(c=!0)}),s&&i.add(t.key),c&&a.add(t.key),o.add(t.key)});return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(WR(a,i))}}function qR(e,t,n,r,i){let a=new Set(e),o=new Set(t);for(let e=0;e<=r;e+=1)(n.get(e)||new Set).forEach(e=>{let{key:t,node:n,children:r=[]}=e;!a.has(t)&&!o.has(t)&&!i(n)&&r.filter(e=>!i(e.node)).forEach(e=>{a.delete(e.key)})});o=new Set;let s=new Set;for(let e=r;e>=0;--e)(n.get(e)||new Set).forEach(e=>{let{parent:t,node:n}=e;if(i(n)||!e.parent||s.has(e.parent.key))return;if(i(e.parent.node)){s.add(t.key);return}let r=!0,c=!1;(t.children||[]).filter(e=>!i(e.node)).forEach(({key:e})=>{let t=a.has(e);r&&!t&&(r=!1),!c&&(t||o.has(e))&&(c=!0)}),r||a.delete(t.key),c&&o.add(t.key),s.add(t.key)});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(WR(o,a))}}function JR(e,t,n,r){let i=[],a;a=r||GR;let o=new Set(e.filter(e=>{let t=!!kR(n,e);return t||i.push(e),t})),s=new Map,c=0;Object.keys(n).forEach(e=>{let t=n[e],{level:r}=t,i=s.get(r);i||(i=new Set,s.set(r,i)),i.add(t),c=Math.max(c,r)}),ui(!i.length,`Tree missing follow keys: ${i.slice(0,100).map(e=>`'${e}'`).join(`, `)}`);let l;return l=t===!0?KR(o,s,c,a):qR(o,t.halfCheckedKeys,s,c,a),l}function YR(e,t,n,r,i,a,o,s){return c=>{if(!e)t(c);else{let e=gR(c),l=_R(n),u=_R(r),d=l.includes(e),f=i.some(t=>gR(t)===e),p=n,m=i;if(f&&!d)m=i.filter(t=>gR(t)!==e);else{let t=d?l.filter(t=>t!==e):[...l,e],n=a(),r;d?{checkedKeys:r}=JR(t,{checked:!1,halfCheckedKeys:u},n):{checkedKeys:r}=JR(t,!0,n),p=o(TR(r,a,s))}t([...m,...p])}}}function XR(e,t,n,r,i){return S.useMemo(()=>{let[a,o]=i(t);if(!e||!t.length)return[a,[],o];let{checkedKeys:s,halfCheckedKeys:c}=JR(_R(a),!0,n());return[r(s),r(c),o]},[e,t,n,r,i])}function ZR({prefixCls:e,checked:t,halfChecked:n,disabled:r,onClick:i,disableCheckbox:a}){let{checkable:o}=S.useContext(cR),s=typeof o==`boolean`?null:o;return S.createElement(`span`,{className:J(`${e}`,{[`${e}-checked`]:t,[`${e}-indeterminate`]:!t&&n,[`${e}-disabled`]:r||a}),onClick:i},s)}function QR(){return QR=Object.assign?Object.assign.bind():function(e){for(var t=1;tf||e,O=S.useMemo(()=>n.map(e=>{let{disabled:t,disableCheckbox:n}=e,r=e[lR],a=e.__cascader_fix_label__??e[g.label],o=e[g.value],s=bR(e,g),d=r?r.map(e=>e[g.value]):[...i,o],f=gR(d);return{disabled:t,label:a,value:o,isLeaf:s,isLoading:u.includes(f),checked:c.has(f),halfChecked:l.has(f),option:e,disableCheckbox:n,fullPath:d,fullPathKey:f}}),[n,c,g,l,u,i]);return S.useEffect(()=>{if(h.current){let e=`.${m}-active`,t=h.current.querySelector(e);t&&xR(t)}},[r,m]),S.createElement(`ul`,{className:J(p,w?.popup?.list),style:T?.popup?.list,ref:h,role:`menu`},O.map(({disabled:n,label:i,value:c,isLeaf:l,isLoading:u,checked:f,halfChecked:p,option:h,fullPath:g,fullPathKey:v,disableCheckbox:O})=>{let k=xi(h,{aria:!0,data:!0}),A=()=>{if(D(n))return;let e=[...g];E&&l&&e.pop(),s(e)},j=()=>{d(h)&&!D(n)&&o(g,l)},M;return typeof h.title==`string`?M=h.title:typeof i==`string`&&(M=i),S.createElement(`li`,QR({key:v},k,{className:J(m,w?.popup?.listItem,{[`${m}-expand`]:!l,[`${m}-active`]:r===c||r===v,[`${m}-disabled`]:D(n),[`${m}-loading`]:u}),style:{...x,...T?.popup?.listItem},role:`menuitemcheckbox`,title:M,"aria-checked":f,"data-path-key":v,onClick:()=>{A(),!O&&(!t||l)&&j()},onDoubleClick:()=>{_&&a(!1)},onMouseEnter:()=>{E&&A()},onMouseDown:e=>{e.preventDefault()}}),t&&S.createElement(ZR,{prefixCls:`${e}-checkbox`,checked:f,halfChecked:p,disabled:D(n)||O,disableCheckbox:O,onClick:e=>{O||(e.stopPropagation(),j())}}),S.createElement(`div`,{className:`${m}-content`},C&&c!==`__EMPTY__`?C(h):i),!u&&y&&!l&&S.createElement(`div`,{className:`${m}-expand-icon`},y),u&&b&&S.createElement(`div`,{className:`${m}-loading-icon`},b))}))}var tz=(e,t)=>{let{values:n}=S.useContext(cR),r=n[0],[i,a]=S.useState([]);return S.useEffect(()=>{e||a(r||[])},[t,r]),[i,a]},nz=((e,t,n,r,i,a,o)=>{let{direction:s,searchValue:c,toggleOpen:l,open:u}=o,d=s===`rtl`,[f,p,m,h]=S.useMemo(()=>{let e=-1,i=t,a=[],o=[],s=r.length,c=SR(t,n);for(let t=0;t(c[i]?gR(c[i]):e[n.value])===r[t]);if(s===-1)break;e=s,a.push(e),o.push(r[t]),i=i[e][n.children]}let l=t;for(let e=0;e{i(e)},_=e=>{let t=m.length,r=p;r===-1&&e<0&&(r=t);for(let i=0;i{f.length>1?g(f.slice(0,-1)):l(!1)},y=()=>{let e=(m[p]?.[n.children]||[]).find(e=>!e.disabled);e&&g([...f,e[n.value]])};S.useImperativeHandle(e,()=>({onKeyDown:e=>{let{which:t}=e;switch(t){case Qr.UP:case Qr.DOWN:{let e=0;t===Qr.UP?e=-1:t===Qr.DOWN&&(e=1),e!==0&&_(e);break}case Qr.LEFT:if(c)break;d?y():v();break;case Qr.RIGHT:if(c)break;d?v():y();break;case Qr.BACKSPACE:c||v();break;case Qr.ENTER:if(f.length){let e=m[p]?.__rc_cascader_search_mark__||[];e.length?a(e.map(e=>e[n.value]),e[e.length-1]):a(f,m[p])}break;case Qr.ESC:l(!1),u&&e.stopPropagation()}},onKeyUp:()=>{}}))});function rz(){return rz=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,multiple:r,searchValue:i,toggleOpen:a,notFoundContent:o,direction:s,open:c,disabled:l,lockOptions:u=!1}=e,d=S.useRef(null),f=s===`rtl`,{options:p,values:m,halfValues:h,fieldNames:g,changeOnSelect:_,onSelect:v,searchOptions:y,popupPrefixCls:b,loadData:x,expandTrigger:C}=S.useContext(cR),w=b||n,[T,E]=S.useState([]),D=e=>{if(!x||i)return;let t=ER(e,p,g).map(({option:e})=>e),n=t[t.length-1];if(n&&!bR(n,g)){let n=gR(e);E(e=>[...e,n]),x(t)}};S.useEffect(()=>{T.length&&T.forEach(e=>{let t=ER(vR(e),p,g,!0).map(({option:e})=>e),n=t[t.length-1];(!n||n[g.children]||bR(n,g))&&E(t=>t.filter(t=>t!==e))})},[p,T,g]);let O=S.useMemo(()=>new Set(_R(m)),[m]),k=S.useMemo(()=>new Set(_R(h)),[h]),[A,j]=tz(r,c),M=e=>{j(e),D(e)},N=e=>{if(l)return!1;let{disabled:t}=e,n=bR(e,g);return!t&&(n||_||r)},P=(e,t,n=!1)=>{v(e),!r&&(t||_&&(C===`hover`||n))&&a(!1)},F=S.useMemo(()=>i?y:p,[i,y,p]),I=Zn(()=>F,[c,u],(e,t)=>!!t[0]&&!t[1]),L=S.useMemo(()=>{let e=[{options:I}],t=I,n=SR(t,g);for(let r=0;r(n[t]?gR(n[t]):e[g.value])===i)?.[g.children];if(!a?.length)break;t=a,e.push({options:a})}return e},[I,A,g]);nz(t,I,g,A,M,(e,t)=>{N(t)&&P(e,bR(t,g),!0)},{direction:s,searchValue:i,toggleOpen:a,open:c}),S.useEffect(()=>{if(!i)for(let e=0;e{let n=A.slice(0,t),r=A[t];return S.createElement(ez,rz({key:t},B,{prefixCls:w,options:e.options,prevValuePath:n,activeValue:r}))});return S.createElement(`div`,{className:J(`${w}-menus`,{[`${w}-menu-empty`]:R,[`${w}-rtl`]:f}),ref:d},V)});function az(){return az=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{lockOptions:n,...r}=wx();return S.createElement(iz,az({},e,r,{lockOptions:n,ref:t}))});function sz(){}function cz(e){let{prefixCls:t=`rc-cascader`,style:n,className:r,options:i,checkable:a,defaultValue:o,value:s,fieldNames:c,changeOnSelect:l,onChange:u,showCheckedStrategy:d,loadData:f,expandTrigger:p,expandIcon:m=`>`,loadingIcon:h,direction:g,notFoundContent:_=`Not Found`,disabled:v,optionRender:y}=e,b=!!a,[x,C]=Gn(o,s),w=wR(x),T=S.useMemo(()=>yR(c),[JSON.stringify(c)]),[E,D,O]=HR(T,i),[k,A,j]=XR(b,w,D,O,OR(E,T)),M=YR(b,zn(e=>{if(C(e),u){let t=wR(e),n=t.map(e=>ER(e,E,T).map(e=>e.option));u(b?t:t[0],b?n:n[0])}}),k,A,j,D,O,d),N=zn(e=>{M(e)}),P=S.useMemo(()=>({options:E,fieldNames:T,values:k,halfValues:A,changeOnSelect:l,onSelect:N,checkable:a,searchOptions:[],popupPrefixCls:void 0,loadData:f,expandTrigger:p,expandIcon:m,loadingIcon:h,popupMenuColumnStyle:void 0,optionRender:y}),[E,T,k,A,l,N,a,f,p,m,h,y]),F=`${t}-panel`,I=!E.length;return S.createElement(cR.Provider,{value:P},S.createElement(`div`,{className:J(F,{[`${F}-rtl`]:g===`rtl`,[`${F}-empty`]:I},r),style:n},I?_:S.createElement(iz,{prefixCls:t,searchValue:``,multiple:b,toggleOpen:sz,open:!0,direction:g,disabled:v})))}function lz(){return lz=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:n,prefixCls:r=`rc-cascader`,fieldNames:i,defaultValue:a,value:o,changeOnSelect:s,onChange:c,displayRender:l,checkable:u,showSearch:d,expandTrigger:f,options:p,popupPrefixCls:m,loadData:h,open:g,popupClassName:_,popupMenuColumnStyle:v,popupStyle:y,classNames:b,styles:x,placement:C,onPopupVisibleChange:w,expandIcon:T=`>`,loadingIcon:E,children:D,popupMatchSelectWidth:O=!1,showCheckedStrategy:k=mR,optionRender:A,...j}=e,M=Xn(n),N=!!u,[P,F]=Gn(a,o),I=wR(P),L=S.useMemo(()=>yR(i),[JSON.stringify(i)]),[R,z,B]=HR(L,p),[V,H]=UR(d,e),{autoClearSearchValue:U=!0,searchValue:W,onSearch:ee}=H,[te,ne]=Gn(``,W),re=te||``,G=(e,t)=>{ne(e),t.source!==`blur`&&ee&&ee(e)},ie=fR(re,R,L,m||r,H,s||N),[K,ae,q]=XR(N,I,z,B,OR(R,L)),oe=DR(S.useMemo(()=>{let e=TR(_R(K),z,k);return[...q,...B(e)]},[K,z,B,q,k]),R,L,N,l),se=zn(e=>{if(F(e),c){let t=wR(e),n=t.map(e=>ER(e,R,L).map(e=>e.option));c(N?t:t[0],N?n:n[0])}}),ce=YR(N,se,K,ae,q,z,B,k),le=zn(e=>{(!N||U)&&ne(``),ce(e)}),ue=(e,t)=>{if(t.type===`clear`){se([]);return}let{valueCells:n}=t.values[0];le(n)},de=e=>{w?.(e)},fe=S.useMemo(()=>({classNames:b,styles:x,options:R,fieldNames:L,values:K,halfValues:ae,changeOnSelect:s,onSelect:le,checkable:u,searchOptions:ie,popupPrefixCls:m,loadData:h,expandTrigger:f,expandIcon:T,loadingIcon:E,popupMenuColumnStyle:v,optionRender:A}),[b,x,R,L,K,ae,s,le,u,ie,m,h,f,T,E,v,A]),pe=!(re?ie:R).length,me=re&&H.matchInputWidth||pe?{}:{minWidth:`auto`};return S.createElement(cR.Provider,{value:fe},S.createElement(DS,lz({},j,{ref:t,id:M,prefixCls:r,autoClearSearchValue:U,popupMatchSelectWidth:O,classNames:b,styles:x,popupStyle:{...me,...y},displayValues:oe,onDisplayValuesChange:ue,mode:N?`multiple`:void 0,searchValue:re,onSearch:G,showSearch:V,OptionList:oz,emptyOptions:pe,open:g,popupClassName:_,placement:C,onPopupVisibleChange:de,getRawInputElement:()=>D})))});uz.SHOW_PARENT=mR,uz.SHOW_CHILD=hR,uz.Panel=cz;var dz=uz;function fz(e,t){let{getPrefixCls:n,direction:r,renderEmpty:i}=S.useContext(ga),a=t||r;return[n(`select`,e),n(`cascader`,e),a,i]}function pz(e,t){return S.useMemo(()=>t?S.createElement(`span`,{className:`${e}-checkbox-inner`}):!1,[e,t])}var mz=S.createElement(Zm,{spin:!0}),hz=S.createElement(zg,null),gz=S.createElement(cT,null);function _z({contextExpandIcon:e,contextLoadingIcon:t,expandIcon:n,loadingIcon:r,isRtl:i}){return S.useMemo(()=>({expandIcon:n??e??(i?gz:hz),loadingIcon:r??t??mz}),[e,t,n,i,r])}var vz=e=>{let{checkboxCls:t,checkboxSize:n,lineWidth:r}=e,i=`${t}-wrapper`;return[{[`${t}-group`]:{...Ul(e),display:`inline-flex`,flexWrap:`wrap`,columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}},[i]:{...Ul(e),display:`inline-flex`,alignItems:`baseline`,cursor:`pointer`,"&:after":{display:`inline-block`,width:0,overflow:`hidden`,content:`'\\a0'`},[`& + ${i}`]:{marginInlineStart:0},[`&${i}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}},[t]:{...Ul(e),position:`relative`,whiteSpace:`nowrap`,lineHeight:1,cursor:`pointer`,alignSelf:`center`,boxSizing:`border-box`,display:`block`,width:n,height:n,direction:`ltr`,backgroundColor:e.colorBgContainer,border:`${Y(r)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:`separate`,transition:`all ${e.motionDurationSlow}`,flex:`none`,...mg(),"&:after":{boxSizing:`border-box`,position:`absolute`,top:`calc(${n} / 2 - ${r})`,insetInlineStart:`calc(${n} / 4 - ${r})`,display:`table`,width:e.calc(n).div(14).mul(5).equal(),height:e.calc(n).div(14).mul(8).equal(),border:`${Y(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:`rotate(45deg) scale(0) translate(-50%,-50%)`,opacity:0,content:`""`,transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`,...mg()},[`${t}-input`]:{position:`absolute`,inset:`calc(-1 * (${r}))`,zIndex:1,cursor:`pointer`,opacity:0,margin:0},[`&:has(${t}-input:focus-visible)`]:Kl(e),"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}}},{[` + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:`relative`,zIndex:1,boxShadow:r}}},bne=e=>{let{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:i,colorBorderSecondary:a,actionsBg:o}=e;return{margin:0,padding:0,listStyle:`none`,background:o,borderTop:`${Y(e.lineWidth)} ${e.lineType} ${a}`,display:`flex`,borderRadius:`0 0 ${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)}`,...Gl(),"& > li":{margin:r,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 ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:`inline-block`,width:`100%`,color:e.colorIcon,lineHeight:Y(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:i,lineHeight:Y(e.calc(i).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${Y(e.lineWidth)} ${e.lineType} ${a}`}}}},xne=e=>({margin:`${Y(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:`flex`,...Gl(),"&-avatar":{paddingInlineEnd:e.padding},"&-section":{overflow:`hidden`,flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,...Hl},"&-description":{color:e.colorTextDescription}}),Sne=e=>{let{componentCls:t,colorFillAlter:n,headerPadding:r,bodyPadding:i}=e;return{[`${t}-head`]:{padding:`0 ${Y(r)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${Y(e.padding)} ${Y(i)}`}}},Cne=e=>{let{componentCls:t}=e;return{overflow:`hidden`,[`${t}-body`]:{userSelect:`none`}}},wne=e=>{let{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:i,boxShadowTertiary:a,bodyPadding:o,extraColor:s,motionDurationMid:c}=e;return{[t]:{...Ul(e),position:`relative`,background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:a},[`${t}-head`]:vne(e),[`${t}-extra`]:{marginInlineStart:`auto`,color:s,fontWeight:`normal`,fontSize:e.fontSize},[`${t}-body`]:{padding:o,borderRadius:`0 0 ${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)}`,"&:first-child":{borderStartStartRadius:e.borderRadiusLG,borderStartEndRadius:e.borderRadiusLG},"&:not(:last-child)":{borderEndStartRadius:0,borderEndEndRadius:0}},[`${t}-grid`]:yne(e),[`${t}-cover`]:{"> *":{display:`block`,width:`100%`,borderRadius:`${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:bne(e),[`${t}-meta`]:xne(e)},[`${t}-bordered`]:{border:`${Y(e.lineWidth)} ${e.lineType} ${i}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:`pointer`,transition:[`box-shadow`,`border-color`].map(e=>`${e} ${c}`).join(`, `),"&:hover":{borderColor:`transparent`,boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${Y(e.borderRadiusLG)} ${Y(e.borderRadiusLG)} 0 0 `,[`&:not(:has(> ${t}-head))`]:{borderRadius:0},[`${t}-body`]:{display:`flex`,flexWrap:`wrap`},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:Sne(e),[`${t}-loading`]:Cne(e),[`${t}-rtl`]:{direction:`rtl`}}},Tne=e=>{let{componentCls:t,bodyPaddingSM:n,headerPaddingSM:r,headerHeightSM:i,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:i,padding:`0 ${Y(r)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:`flex`,alignItems:`center`}}}}},Ene=Ql(`Card`,e=>{let t=dc(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize});return[wne(t),Tne(t)]},e=>({headerBg:`transparent`,headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:e.bodyPadding??e.paddingLG,headerPadding:e.headerPadding??e.paddingLG})),Dne=e=>{let{actionClasses:t,actions:n=[],actionStyle:r}=e;return S.createElement(`ul`,{className:t,style:r},n.map((e,t)=>{let r=`action-${t}`;return S.createElement(`li`,{style:{width:`${100/n.length}%`},key:r},S.createElement(`span`,null,e))}))},One=S.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:i,style:a,extra:o,headStyle:s={},bodyStyle:c={},title:l,loading:u,bordered:d,variant:f,size:p,type:m,cover:h,actions:g,tabList:_,children:v,activeTabKey:y,defaultActiveTabKey:b,tabBarExtraContent:x,hoverable:C,tabProps:w={},classNames:T,styles:E,...D}=e,{getPrefixCls:O,direction:k,className:A,style:j,classNames:M,styles:N}=ya(`card`),[P]=vC(`card`,f,d),F=Oh(p),I={...e,size:F,variant:P},[L,R]=Cf([M,T],[N,E],{props:I}),z=t=>{e.onTabChange?.(t)},B=S.useMemo(()=>ki(v),[v]),V=S.useMemo(()=>B.some(e=>S.isValidElement(e)&&e.type===nR),[B]),H=O(`card`,n),[U,W]=Ene(H),ee=S.createElement(Gy,{loading:!0,active:!0,paragraph:{rows:4},title:!1},v),te=y!==void 0,ne={...w,[te?`activeKey`:`defaultActiveKey`]:te?y:b,tabBarExtraContent:x},re,G=F===`small`?F:`large`,ie=_?S.createElement(tR,{size:G,...ne,className:`${H}-head-tabs`,onChange:z,items:_.map(({tab:e,...t})=>({label:e,...t}))}):null;if(l||o||ie){let e=J(`${H}-head`,L.header),t=J(`${H}-head-title`,L.title),n=J(`${H}-extra`,L.extra),r={...s,...R.header};re=S.createElement(`div`,{className:e,style:r},S.createElement(`div`,{className:`${H}-head-wrapper`},l&&S.createElement(`div`,{className:t,style:R.title},l),o&&S.createElement(`div`,{className:n,style:R.extra},o)),ie)}let K=J(`${H}-cover`,L.cover),ae=h?S.createElement(`div`,{className:K,style:R.cover},h):null,q=J(`${H}-body`,L.body),oe={...c,...R.body},se=u||B.length?S.createElement(`div`,{className:q,style:oe},u?ee:v):null,ce=J(`${H}-actions`,L.actions),le=g?.length?S.createElement(Dne,{actionClasses:ce,actionStyle:R.actions,actions:g}):null,ue=gi(D,[`onTabChange`]),de=J(H,A,{[`${H}-loading`]:u,[`${H}-bordered`]:P!==`borderless`,[`${H}-hoverable`]:C,[`${H}-contain-grid`]:V,[`${H}-contain-tabs`]:_?.length,[`${H}-small`]:F===`small`,[`${H}-type-${m}`]:!!m,[`${H}-rtl`]:k===`rtl`},r,i,U,W,L.root),fe={...R.root,...j,...a};return S.createElement(`div`,{ref:t,...ue,className:de,style:fe},re,ae,se,le)}),kne=e=>{let{prefixCls:t,className:n,avatar:r,title:i,description:a,style:o,classNames:s,styles:c,...l}=e,{getPrefixCls:u,className:d,style:f,classNames:p,styles:m}=ya(`cardMeta`),h=`${u(`card`,t)}-meta`,[g,_]=Cf([p,s],[m,c],{props:e}),v=J(h,n,d,g.root),y={...f,..._.root,...o},b=J(`${h}-avatar`,g.avatar),x=J(`${h}-title`,g.title),C=J(`${h}-description`,g.description),w=J(`${h}-section`,g.section),T=r?S.createElement(`div`,{className:b,style:_.avatar},r):null,E=i?S.createElement(`div`,{className:x,style:_.title},i):null,D=a?S.createElement(`div`,{className:C,style:_.description},a):null,O=E||D?S.createElement(`div`,{className:w,style:_.section},E,D):null;return S.createElement(`div`,{...l,className:v,style:y},T,O)},rR=One;rR.Grid=nR,rR.Meta=kne;function Ane(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function iR(e,t){if(e==null)return{};var n,r,i=Ane(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;re?s?(f=Date.now(),a||(u=setTimeout(l?c:o,e))):o():a!==!0&&(u=setTimeout(l?c:o,l===void 0?e-i:e))}return h.cancel=m,h}function Mne(e,t,n){var r=(n||{}).atBegin;return jne(e,t,{debounceMode:(r===void 0?!1:r)!==!1})}var aR=S.createContext({}),oR=`__rc_cascader_search_mark__`,Nne=(e,t,{label:n=``})=>t.some(t=>String(t[n]).toLowerCase().includes(e.toLowerCase())),Pne=(e,t,n,r)=>t.map(e=>e[r.label]).join(` / `),sR=(e,t,n,r,i,a)=>{let{filter:o=Nne,render:s=Pne,limit:c=50,sort:l}=i;return S.useMemo(()=>{let i=[];if(!e)return[];function u(t,d,f=!1){t.forEach(t=>{if(!l&&c!==!1&&c>0&&i.length>=c)return;let p=[...d,t],m=t[n.children],h=f||t.disabled;(!m||m.length===0||a)&&o(e,p,{label:n.label})&&i.push({...t,disabled:h,[n.label]:s(e,p,r,n),[oR]:p,[n.children]:void 0}),m&&u(t[n.children],p,h)})}return u(t,[]),l&&i.sort((t,r)=>l(t[oR],r[oR],e,n)),c!==!1&&c>0?i.slice(0,c):i},[e,t,n,r,s,a,o,l,c])},cR=`__RC_CASCADER_SPLIT__`,lR=`SHOW_PARENT`,uR=`SHOW_CHILD`;function dR(e){return e.join(cR)}function fR(e){return e.map(dR)}function pR(e){return e.split(cR)}function mR(e){let{label:t,value:n,children:r}=e||{},i=n||`value`;return{label:t||`label`,value:i,key:i,children:r||`children`}}function hR(e,t){return e.isLeaf??!e[t.children]?.length}function gR(e){let t=e.parentElement;if(!t)return;let n=e.offsetTop-t.offsetTop;n-t.scrollTop<0?t.scrollTo({top:n}):n+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}function _R(e,t){return e.map(e=>e[oR]?.map(e=>e[t.value]))}function vR(e){return Array.isArray(e)&&Array.isArray(e[0])}function yR(e){return e?vR(e)?e:(e.length===0?[]:[e]).map(e=>Array.isArray(e)?e:[e]):[]}function bR(e,t,n){let r=new Set(e),i=t();return e.filter(e=>{let t=i[e],a=t?t.parent:null,o=t?t.children:null;return t&&t.node.disabled?!0:n===`SHOW_CHILD`?!(o&&o.some(e=>e.key&&r.has(e.key))):!(a&&!a.node.disabled&&r.has(a.key))})}function xR(e,t,n,r=!1){let i=t,a=[];for(let t=0;t{let t=e[n.value];return r?String(t)===String(o):t===o}),c=s===-1?null:i?.[s];a.push({value:c?.[n.value]??o,index:s,option:c}),i=c?.[n.children]}return a}var SR=((e,t,n,r,i)=>S.useMemo(()=>{let a=i||(e=>{let t=r?e.slice(-1):e;return t.every(e=>[`string`,`number`].includes(typeof e))?t.join(` / `):t.reduce((e,t,n)=>{let r=S.isValidElement(t)?S.cloneElement(t,{key:n}):t;return n===0?[r]:[...e,` / `,r]},[])});return e.map(e=>{let r=xR(e,t,n),i=a(r.map(({option:e,value:t})=>e?.[n.label]??t),r.map(({option:e})=>e)),o=dR(e);return{label:i,value:o,key:o,valueCells:e,disabled:r[r.length-1]?.option?.disabled}})},[e,t,n,i,r]));function CR(e,t){return S.useCallback(n=>{let r=[],i=[];return n.forEach(n=>{xR(n,e,t).every(e=>e.option)?i.push(n):r.push(n)}),[i,r]},[e,t])}function wR(e,t){return e[t]}function TR(e,t){return`${e}-${t}`}function ER(e){return e&&e.type&&e.type.isTreeNode}function DR(e,t){return e??t}function OR(e){let{title:t,_title:n,key:r,children:i}=e||{},a=t||`title`;return{title:a,_title:n||[a],key:r||`key`,children:i||`children`}}function kR(e){function t(e){return ki(e).map(e=>{if(!ER(e))return ui(!e,`Tree/TreeNode can only accept TreeNode as children.`),null;let{key:n}=e,{children:r,...i}=e.props,a={key:n,...i},o=t(r);return o.length&&(a.children=o),a}).filter(e=>e)}return t(e)}function AR(e,t,n){let{_title:r,key:i,children:a}=OR(n),o=new Set(t===!0?[]:t),s=[];function c(e,n=null){return e.map((l,u)=>{let d=TR(n?n.pos:`0`,u),f=DR(l[i],d),p;for(let e=0;ee[a]:typeof a==`function`&&(u=e=>a(e)):u=(e,t)=>DR(e[s],t);function d(n,r,i,a){let o=n?n[l]:e,s=n?TR(i.pos,r):`0`,c=n?[...a,n]:[];n&&t({node:n,index:r,pos:s,key:u(n,s),parentPos:i.node?i.pos:null,level:i.level+1,nodes:c}),o&&o.forEach((e,t)=>{d(e,t,{node:n,pos:s,level:i?i.level+1:-1},c)})}d(null)}function MR(e,{initWrapper:t,processEntity:n,onProcessFinished:r,externalGetKey:i,childrenPropName:a,fieldNames:o}={},s){let c=i||s,l={},u={},d={posEntities:l,keyEntities:u};return t&&(d=t(d)||d),jR(e,e=>{let{node:t,index:r,pos:i,key:a,parentPos:o,level:s,nodes:c}=e,f={node:t,nodes:c,index:r,key:a,pos:i,level:s},p=DR(a,i);l[i]=f,u[p]=f,f.parent=l[o],f.parent&&(f.parent.children=f.parent.children||[],f.parent.children.push(f)),n&&n(f,d)},{externalGetKey:c,childrenPropName:a,fieldNames:o}),r&&r(d),d}function NR(e,t,n,r){return e===!1?!1:e||!t&&!n||t&&r&&!n}function PR(e,{expandedKeys:t,selectedKeys:n,loadedKeys:r,loadingKeys:i,checkedKeys:a,halfCheckedKeys:o,dragOverNodeKey:s,dropPosition:c,keyEntities:l}){let u=wR(l,e);return{eventKey:e,expanded:t.indexOf(e)!==-1,selected:n.indexOf(e)!==-1,loaded:r.indexOf(e)!==-1,loading:i.indexOf(e)!==-1,checked:a.indexOf(e)!==-1,halfChecked:o.indexOf(e)!==-1,pos:String(u?u.pos:``),dragOver:s===e&&c===0,dragOverGapTop:s===e&&c===-1,dragOverGapBottom:s===e&&c===1}}function FR(e){let{data:t,expanded:n,selected:r,checked:i,loaded:a,loading:o,halfChecked:s,dragOver:c,dragOverGapTop:l,dragOverGapBottom:u,pos:d,active:f,eventKey:p}=e,m={...t,expanded:n,selected:r,checked:i,loaded:a,loading:o,halfChecked:s,dragOver:c,dragOverGapTop:l,dragOverGapBottom:u,pos:d,active:f,key:p};return`props`in m||Object.defineProperty(m,`props`,{get(){return ui(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),m}var IR=((e,t)=>{let n=S.useRef({options:[],info:{keyEntities:{},pathKeyEntities:{}}});return S.useCallback(()=>(n.current.options!==e&&(n.current.options=e,n.current.info=MR(e,{fieldNames:t,initWrapper:e=>({...e,pathKeyEntities:{}}),processEntity:(e,n)=>{let r=e.nodes.map(e=>e[t.value]).join(cR);n.pathKeyEntities[r]=e,e.key=r}})),n.current.info.pathKeyEntities),[t,e])});function LR(e,t){let n=S.useMemo(()=>t||[],[t]),r=IR(n,e);return[n,r,S.useCallback(t=>{let n=r();return t.map(t=>{let{nodes:r}=n[t];return r.map(t=>t[e.value])})},[r,e])]}function RR(e,t){let{autoClearSearchValue:n,searchValue:r,onSearch:i}=t;return S.useMemo(()=>{if(!e)return[!1,{}];let t={matchInputWidth:!0,limit:50,autoClearSearchValue:n,searchValue:r,onSearch:i};return e&&typeof e==`object`&&(t={...t,...e}),t.limit<=0&&(t.limit=!1),[!0,t]},[e,n,r,i])}function zR(e,t){let n=new Set;return e.forEach(e=>{t.has(e)||n.add(e)}),n}function BR(e){let{disabled:t,disableCheckbox:n,checkable:r}=e||{};return!!(t||n)||r===!1}function VR(e,t,n,r){let i=new Set(e),a=new Set;for(let e=0;e<=n;e+=1)(t.get(e)||new Set).forEach(e=>{let{key:t,node:n,children:a=[]}=e;i.has(t)&&!r(n)&&a.filter(e=>!r(e.node)).forEach(e=>{i.add(e.key)})});let o=new Set;for(let e=n;e>=0;--e)(t.get(e)||new Set).forEach(e=>{let{parent:t,node:n}=e;if(r(n)||!e.parent||o.has(e.parent.key))return;if(r(e.parent.node)){o.add(t.key);return}let s=!0,c=!1;(t.children||[]).filter(e=>!r(e.node)).forEach(({key:e})=>{let t=i.has(e);s&&!t&&(s=!1),!c&&(t||a.has(e))&&(c=!0)}),s&&i.add(t.key),c&&a.add(t.key),o.add(t.key)});return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(zR(a,i))}}function HR(e,t,n,r,i){let a=new Set(e),o=new Set(t);for(let e=0;e<=r;e+=1)(n.get(e)||new Set).forEach(e=>{let{key:t,node:n,children:r=[]}=e;!a.has(t)&&!o.has(t)&&!i(n)&&r.filter(e=>!i(e.node)).forEach(e=>{a.delete(e.key)})});o=new Set;let s=new Set;for(let e=r;e>=0;--e)(n.get(e)||new Set).forEach(e=>{let{parent:t,node:n}=e;if(i(n)||!e.parent||s.has(e.parent.key))return;if(i(e.parent.node)){s.add(t.key);return}let r=!0,c=!1;(t.children||[]).filter(e=>!i(e.node)).forEach(({key:e})=>{let t=a.has(e);r&&!t&&(r=!1),!c&&(t||o.has(e))&&(c=!0)}),r||a.delete(t.key),c&&o.add(t.key),s.add(t.key)});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(zR(o,a))}}function UR(e,t,n,r){let i=[],a;a=r||BR;let o=new Set(e.filter(e=>{let t=!!wR(n,e);return t||i.push(e),t})),s=new Map,c=0;Object.keys(n).forEach(e=>{let t=n[e],{level:r}=t,i=s.get(r);i||(i=new Set,s.set(r,i)),i.add(t),c=Math.max(c,r)}),ui(!i.length,`Tree missing follow keys: ${i.slice(0,100).map(e=>`'${e}'`).join(`, `)}`);let l;return l=t===!0?VR(o,s,c,a):HR(o,t.halfCheckedKeys,s,c,a),l}function WR(e,t,n,r,i,a,o,s){return c=>{if(!e)t(c);else{let e=dR(c),l=fR(n),u=fR(r),d=l.includes(e),f=i.some(t=>dR(t)===e),p=n,m=i;if(f&&!d)m=i.filter(t=>dR(t)!==e);else{let t=d?l.filter(t=>t!==e):[...l,e],n=a(),r;d?{checkedKeys:r}=UR(t,{checked:!1,halfCheckedKeys:u},n):{checkedKeys:r}=UR(t,!0,n),p=o(bR(r,a,s))}t([...m,...p])}}}function GR(e,t,n,r,i){return S.useMemo(()=>{let[a,o]=i(t);if(!e||!t.length)return[a,[],o];let{checkedKeys:s,halfCheckedKeys:c}=UR(fR(a),!0,n());return[r(s),r(c),o]},[e,t,n,r,i])}function KR({prefixCls:e,checked:t,halfChecked:n,disabled:r,onClick:i,disableCheckbox:a}){let{checkable:o}=S.useContext(aR),s=typeof o==`boolean`?null:o;return S.createElement(`span`,{className:J(`${e}`,{[`${e}-checked`]:t,[`${e}-indeterminate`]:!t&&n,[`${e}-disabled`]:r||a}),onClick:i},s)}function qR(){return qR=Object.assign?Object.assign.bind():function(e){for(var t=1;tf||e,O=S.useMemo(()=>n.map(e=>{let{disabled:t,disableCheckbox:n}=e,r=e[oR],a=e.__cascader_fix_label__??e[g.label],o=e[g.value],s=hR(e,g),d=r?r.map(e=>e[g.value]):[...i,o],f=dR(d);return{disabled:t,label:a,value:o,isLeaf:s,isLoading:u.includes(f),checked:c.has(f),halfChecked:l.has(f),option:e,disableCheckbox:n,fullPath:d,fullPathKey:f}}),[n,c,g,l,u,i]);return S.useEffect(()=>{if(h.current){let e=`.${m}-active`,t=h.current.querySelector(e);t&&gR(t)}},[r,m]),S.createElement(`ul`,{className:J(p,w?.popup?.list),style:T?.popup?.list,ref:h,role:`menu`},O.map(({disabled:n,label:i,value:c,isLeaf:l,isLoading:u,checked:f,halfChecked:p,option:h,fullPath:g,fullPathKey:v,disableCheckbox:O})=>{let k=xi(h,{aria:!0,data:!0}),A=()=>{if(D(n))return;let e=[...g];E&&l&&e.pop(),s(e)},j=()=>{d(h)&&!D(n)&&o(g,l)},M;return typeof h.title==`string`?M=h.title:typeof i==`string`&&(M=i),S.createElement(`li`,qR({key:v},k,{className:J(m,w?.popup?.listItem,{[`${m}-expand`]:!l,[`${m}-active`]:r===c||r===v,[`${m}-disabled`]:D(n),[`${m}-loading`]:u}),style:{...x,...T?.popup?.listItem},role:`menuitemcheckbox`,title:M,"aria-checked":f,"data-path-key":v,onClick:()=>{A(),!O&&(!t||l)&&j()},onDoubleClick:()=>{_&&a(!1)},onMouseEnter:()=>{E&&A()},onMouseDown:e=>{e.preventDefault()}}),t&&S.createElement(KR,{prefixCls:`${e}-checkbox`,checked:f,halfChecked:p,disabled:D(n)||O,disableCheckbox:O,onClick:e=>{O||(e.stopPropagation(),j())}}),S.createElement(`div`,{className:`${m}-content`},C&&c!==`__EMPTY__`?C(h):i),!u&&y&&!l&&S.createElement(`div`,{className:`${m}-expand-icon`},y),u&&b&&S.createElement(`div`,{className:`${m}-loading-icon`},b))}))}var XR=(e,t)=>{let{values:n}=S.useContext(aR),r=n[0],[i,a]=S.useState([]);return S.useEffect(()=>{e||a(r||[])},[t,r]),[i,a]},ZR=((e,t,n,r,i,a,o)=>{let{direction:s,searchValue:c,toggleOpen:l,open:u}=o,d=s===`rtl`,[f,p,m,h]=S.useMemo(()=>{let e=-1,i=t,a=[],o=[],s=r.length,c=_R(t,n);for(let t=0;t(c[i]?dR(c[i]):e[n.value])===r[t]);if(s===-1)break;e=s,a.push(e),o.push(r[t]),i=i[e][n.children]}let l=t;for(let e=0;e{i(e)},_=e=>{let t=m.length,r=p;r===-1&&e<0&&(r=t);for(let i=0;i{f.length>1?g(f.slice(0,-1)):l(!1)},y=()=>{let e=(m[p]?.[n.children]||[]).find(e=>!e.disabled);e&&g([...f,e[n.value]])};S.useImperativeHandle(e,()=>({onKeyDown:e=>{let{which:t}=e;switch(t){case Qr.UP:case Qr.DOWN:{let e=0;t===Qr.UP?e=-1:t===Qr.DOWN&&(e=1),e!==0&&_(e);break}case Qr.LEFT:if(c)break;d?y():v();break;case Qr.RIGHT:if(c)break;d?v():y();break;case Qr.BACKSPACE:c||v();break;case Qr.ENTER:if(f.length){let e=m[p]?.__rc_cascader_search_mark__||[];e.length?a(e.map(e=>e[n.value]),e[e.length-1]):a(f,m[p])}break;case Qr.ESC:l(!1),u&&e.stopPropagation()}},onKeyUp:()=>{}}))});function QR(){return QR=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,multiple:r,searchValue:i,toggleOpen:a,notFoundContent:o,direction:s,open:c,disabled:l,lockOptions:u=!1}=e,d=S.useRef(null),f=s===`rtl`,{options:p,values:m,halfValues:h,fieldNames:g,changeOnSelect:_,onSelect:v,searchOptions:y,popupPrefixCls:b,loadData:x,expandTrigger:C}=S.useContext(aR),w=b||n,[T,E]=S.useState([]),D=e=>{if(!x||i)return;let t=xR(e,p,g).map(({option:e})=>e),n=t[t.length-1];if(n&&!hR(n,g)){let n=dR(e);E(e=>[...e,n]),x(t)}};S.useEffect(()=>{T.length&&T.forEach(e=>{let t=xR(pR(e),p,g,!0).map(({option:e})=>e),n=t[t.length-1];(!n||n[g.children]||hR(n,g))&&E(t=>t.filter(t=>t!==e))})},[p,T,g]);let O=S.useMemo(()=>new Set(fR(m)),[m]),k=S.useMemo(()=>new Set(fR(h)),[h]),[A,j]=XR(r,c),M=e=>{j(e),D(e)},N=e=>{if(l)return!1;let{disabled:t}=e,n=hR(e,g);return!t&&(n||_||r)},P=(e,t,n=!1)=>{v(e),!r&&(t||_&&(C===`hover`||n))&&a(!1)},F=S.useMemo(()=>i?y:p,[i,y,p]),I=Zn(()=>F,[c,u],(e,t)=>!!t[0]&&!t[1]),L=S.useMemo(()=>{let e=[{options:I}],t=I,n=_R(t,g);for(let r=0;r(n[t]?dR(n[t]):e[g.value])===i)?.[g.children];if(!a?.length)break;t=a,e.push({options:a})}return e},[I,A,g]);ZR(t,I,g,A,M,(e,t)=>{N(t)&&P(e,hR(t,g),!0)},{direction:s,searchValue:i,toggleOpen:a,open:c}),S.useEffect(()=>{if(!i)for(let e=0;e{let n=A.slice(0,t),r=A[t];return S.createElement(YR,QR({key:t},B,{prefixCls:w,options:e.options,prevValuePath:n,activeValue:r}))});return S.createElement(`div`,{className:J(`${w}-menus`,{[`${w}-menu-empty`]:R,[`${w}-rtl`]:f}),ref:d},V)});function ez(){return ez=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{lockOptions:n,...r}=fx();return S.createElement($R,ez({},e,r,{lockOptions:n,ref:t}))});function nz(){}function rz(e){let{prefixCls:t=`rc-cascader`,style:n,className:r,options:i,checkable:a,defaultValue:o,value:s,fieldNames:c,changeOnSelect:l,onChange:u,showCheckedStrategy:d,loadData:f,expandTrigger:p,expandIcon:m=`>`,loadingIcon:h,direction:g,notFoundContent:_=`Not Found`,disabled:v,optionRender:y}=e,b=!!a,[x,C]=Gn(o,s),w=yR(x),T=S.useMemo(()=>mR(c),[JSON.stringify(c)]),[E,D,O]=LR(T,i),[k,A,j]=GR(b,w,D,O,CR(E,T)),M=WR(b,zn(e=>{if(C(e),u){let t=yR(e),n=t.map(e=>xR(e,E,T).map(e=>e.option));u(b?t:t[0],b?n:n[0])}}),k,A,j,D,O,d),N=zn(e=>{M(e)}),P=S.useMemo(()=>({options:E,fieldNames:T,values:k,halfValues:A,changeOnSelect:l,onSelect:N,checkable:a,searchOptions:[],popupPrefixCls:void 0,loadData:f,expandTrigger:p,expandIcon:m,loadingIcon:h,popupMenuColumnStyle:void 0,optionRender:y}),[E,T,k,A,l,N,a,f,p,m,h,y]),F=`${t}-panel`,I=!E.length;return S.createElement(aR.Provider,{value:P},S.createElement(`div`,{className:J(F,{[`${F}-rtl`]:g===`rtl`,[`${F}-empty`]:I},r),style:n},I?_:S.createElement($R,{prefixCls:t,searchValue:``,multiple:b,toggleOpen:nz,open:!0,direction:g,disabled:v})))}function iz(){return iz=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:n,prefixCls:r=`rc-cascader`,fieldNames:i,defaultValue:a,value:o,changeOnSelect:s,onChange:c,displayRender:l,checkable:u,showSearch:d,expandTrigger:f,options:p,popupPrefixCls:m,loadData:h,open:g,popupClassName:_,popupMenuColumnStyle:v,popupStyle:y,classNames:b,styles:x,placement:C,onPopupVisibleChange:w,expandIcon:T=`>`,loadingIcon:E,children:D,popupMatchSelectWidth:O=!1,showCheckedStrategy:k=lR,optionRender:A,...j}=e,M=Xn(n),N=!!u,[P,F]=Gn(a,o),I=yR(P),L=S.useMemo(()=>mR(i),[JSON.stringify(i)]),[R,z,B]=LR(L,p),[V,H]=RR(d,e),{autoClearSearchValue:U=!0,searchValue:W,onSearch:ee}=H,[te,ne]=Gn(``,W),re=te||``,G=(e,t)=>{ne(e),t.source!==`blur`&&ee&&ee(e)},ie=sR(re,R,L,m||r,H,s||N),[K,ae,q]=GR(N,I,z,B,CR(R,L)),oe=SR(S.useMemo(()=>{let e=bR(fR(K),z,k);return[...q,...B(e)]},[K,z,B,q,k]),R,L,N,l),se=zn(e=>{if(F(e),c){let t=yR(e),n=t.map(e=>xR(e,R,L).map(e=>e.option));c(N?t:t[0],N?n:n[0])}}),ce=WR(N,se,K,ae,q,z,B,k),le=zn(e=>{(!N||U)&&ne(``),ce(e)}),ue=(e,t)=>{if(t.type===`clear`){se([]);return}let{valueCells:n}=t.values[0];le(n)},de=e=>{w?.(e)},fe=S.useMemo(()=>({classNames:b,styles:x,options:R,fieldNames:L,values:K,halfValues:ae,changeOnSelect:s,onSelect:le,checkable:u,searchOptions:ie,popupPrefixCls:m,loadData:h,expandTrigger:f,expandIcon:T,loadingIcon:E,popupMenuColumnStyle:v,optionRender:A}),[b,x,R,L,K,ae,s,le,u,ie,m,h,f,T,E,v,A]),pe=!(re?ie:R).length,me=re&&H.matchInputWidth||pe?{}:{minWidth:`auto`};return S.createElement(aR.Provider,{value:fe},S.createElement(hS,iz({},j,{ref:t,id:M,prefixCls:r,autoClearSearchValue:U,popupMatchSelectWidth:O,classNames:b,styles:x,popupStyle:{...me,...y},displayValues:oe,onDisplayValuesChange:ue,mode:N?`multiple`:void 0,searchValue:re,onSearch:G,showSearch:V,OptionList:tz,emptyOptions:pe,open:g,popupClassName:_,placement:C,onPopupVisibleChange:de,getRawInputElement:()=>D})))});az.SHOW_PARENT=lR,az.SHOW_CHILD=uR,az.Panel=rz;var oz=az;function sz(e,t){let{getPrefixCls:n,direction:r,renderEmpty:i}=S.useContext(ga),a=t||r;return[n(`select`,e),n(`cascader`,e),a,i]}function cz(e,t){return S.useMemo(()=>t?S.createElement(`span`,{className:`${e}-checkbox-inner`}):!1,[e,t])}var lz=S.createElement(Xm,{spin:!0}),uz=S.createElement(Vg,null),dz=S.createElement(Xw,null);function fz({contextExpandIcon:e,contextLoadingIcon:t,expandIcon:n,loadingIcon:r,isRtl:i}){return S.useMemo(()=>({expandIcon:n??e??(i?dz:uz),loadingIcon:r??t??lz}),[e,t,n,i,r])}var pz=e=>{let{checkboxCls:t,checkboxSize:n,lineWidth:r}=e,i=`${t}-wrapper`;return[{[`${t}-group`]:{...Ul(e),display:`inline-flex`,flexWrap:`wrap`,columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}},[i]:{...Ul(e),display:`inline-flex`,alignItems:`baseline`,cursor:`pointer`,"&:after":{display:`inline-block`,width:0,overflow:`hidden`,content:`'\\a0'`},[`& + ${i}`]:{marginInlineStart:0},[`&${i}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}},[t]:{...Ul(e),position:`relative`,whiteSpace:`nowrap`,lineHeight:1,cursor:`pointer`,alignSelf:`center`,boxSizing:`border-box`,display:`block`,width:n,height:n,direction:`ltr`,backgroundColor:e.colorBgContainer,border:`${Y(r)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:`separate`,transition:`all ${e.motionDurationSlow}`,flex:`none`,...gg(),"&:after":{boxSizing:`border-box`,position:`absolute`,top:`calc(${n} / 2 - ${r})`,insetInlineStart:`calc(${n} / 4 - ${r})`,display:`table`,width:e.calc(n).div(14).mul(5).equal(),height:e.calc(n).div(14).mul(8).equal(),border:`${Y(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:`rotate(45deg) scale(0) translate(-50%,-50%)`,opacity:0,content:`""`,transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`,...gg()},[`${t}-input`]:{position:`absolute`,inset:`calc(-1 * (${r}))`,zIndex:1,cursor:`pointer`,opacity:0,margin:0},[`&:has(${t}-input:focus-visible)`]:Kl(e),"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}}},{[` ${i}:not(${i}-disabled), ${t}:not(${t}-disabled) - `]:{[`&:hover ${t}`]:{borderColor:e.colorPrimary}},[`${i}:not(${i}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled)`]:{backgroundColor:e.colorPrimaryHover,borderColor:`transparent`}}},{[`${t}-checked`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:`rotate(45deg) scale(1) translate(-50%,-50%)`,transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`,...mg()},[`&:not(${t}-disabled):hover`]:{backgroundColor:e.colorPrimaryHover,borderColor:`transparent`}}},{[t]:{"&-indeterminate":{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,"&:after":{top:`50%`,insetInlineStart:`50%`,width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:`translate(-50%, -50%) scale(1)`,opacity:1,content:`""`},"&:hover":{backgroundColor:e.colorBgContainer,borderColor:e.colorPrimary}}}},{[`${i}-disabled`]:{cursor:`not-allowed`},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:`not-allowed`,pointerEvents:`none`},background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate::after`]:{background:e.colorTextDisabled}}}]};function yz(e,t){return vz(dc(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize}))}var bz=Ql(`Checkbox`,(e,{prefixCls:t})=>[yz(t,e)]),xz=e=>{let{prefixCls:t,componentCls:n}=e,r=`${n}-menu-item`,i=` + `]:{[`&:hover ${t}`]:{borderColor:e.colorPrimary}},[`${i}:not(${i}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled)`]:{backgroundColor:e.colorPrimaryHover,borderColor:`transparent`}}},{[`${t}-checked`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:`rotate(45deg) scale(1) translate(-50%,-50%)`,transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`,...gg()},[`&:not(${t}-disabled):hover`]:{backgroundColor:e.colorPrimaryHover,borderColor:`transparent`}}},{[t]:{"&-indeterminate":{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,"&:after":{top:`50%`,insetInlineStart:`50%`,width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:`translate(-50%, -50%) scale(1)`,opacity:1,content:`""`},"&:hover":{backgroundColor:e.colorBgContainer,borderColor:e.colorPrimary}}}},{[`${i}-disabled`]:{cursor:`not-allowed`},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:`not-allowed`,pointerEvents:`none`},background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate::after`]:{background:e.colorTextDisabled}}}]};function mz(e,t){return pz(dc(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize}))}var hz=Ql(`Checkbox`,(e,{prefixCls:t})=>[mz(t,e)]),gz=e=>{let{prefixCls:t,componentCls:n}=e,r=`${n}-menu-item`,i=` &${r}-expand ${r}-expand-icon, ${r}-loading-icon -`;return[yz(`${t}-checkbox`,e),{[n]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS,pointerEvents:`unset`},"&-menus":{display:`flex`,flexWrap:`nowrap`,alignItems:`flex-start`,[`&${n}-menu-empty`]:{[`${n}-menu`]:{width:`100%`,height:`auto`,[r]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.menuPadding,overflow:`auto`,verticalAlign:`top`,listStyle:`none`,"-ms-overflow-style":`-ms-autohiding-scrollbar`,"&:not(:last-child)":{borderInlineEnd:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&-item":{display:`flex`,maxWidth:400,flexWrap:`nowrap`,alignItems:`center`,padding:e.optionPadding,lineHeight:e.lineHeight,cursor:`pointer`,transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:`not-allowed`,"&:hover":{background:`transparent`},[i]:{color:e.colorTextDisabled}},[`&-active:not(${r}-disabled)`]:{"&, &:hover":{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg}},"&-content":{flex:`auto`,minWidth:0,...Hl},[i]:{marginInlineStart:e.paddingXXS,color:e.colorIcon,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}}}}}]},Sz=e=>{let{componentCls:t,antCls:n}=e;return[{[t]:{width:e.controlWidth}},{[`${t}-dropdown`]:[{[`&${n}-select-dropdown`]:{padding:0}},xz(e)]},{[`${t}-dropdown-rtl`]:{direction:`rtl`}},l_(e)]},Cz=e=>{let t=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:e.controlItemBgActive,optionSelectedFontWeight:e.fontWeightStrong,optionPadding:`${t}px ${e.paddingSM}px`,menuPadding:e.paddingXXS,optionSelectedColor:e.colorText}},wz=Ql(`Cascader`,Sz,Cz,{resetFont:!1,unitless:{optionSelectedFontWeight:!0}}),Tz=$l([`Cascader`,`Panel`],e=>{let{componentCls:t}=e;return{[`${t}-panel`]:[xz(e),{display:`inline-flex`,border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:e.borderRadiusLG,overflowX:`auto`,maxWidth:`100%`,[`${t}-menus`]:{alignItems:`stretch`},[`${t}-menu`]:{height:`auto`},"&-empty":{padding:e.paddingXXS}}]}},Cz,{resetFont:!1});function Ez(e){let{prefixCls:t,className:n,multiple:r,rootClassName:i,notFoundContent:a,direction:o,expandIcon:s,loadingIcon:c,disabled:l}=e,{expandIcon:u,loadingIcon:d}=ya(`cascader`),f=S.useContext(mm),p=l??f,[m,h,g,_]=fz(t,o),v=sp(h),[y,b]=wz(h,v);Tz(h);let{expandIcon:x,loadingIcon:C}=_z({contextExpandIcon:u,contextLoadingIcon:d,expandIcon:s,loadingIcon:c,isRtl:g===`rtl`}),w=a||_?.(`Cascader`)||S.createElement(kC,{componentName:`Cascader`}),T=pz(h,r);return S.createElement(cz,{...e,checkable:T,prefixCls:h,className:J(n,y,i,b,v),notFoundContent:w,direction:g,expandIcon:x,loadingIcon:C,disabled:p})}var{SHOW_CHILD:Dz,SHOW_PARENT:Oz}=dz,kz=(e,t,n)=>{let r=e.toLowerCase().split(t).reduce((e,n,r)=>r===0?[n]:[].concat(pa(e),[t,n]),[]),i=[],a=0;return r.forEach((t,r)=>{let o=a+t.length,s=e.slice(a,o);a=o,r%2==1&&(s=S.createElement(`span`,{className:`${n}-menu-item-keyword`,key:`separator-${r}`},s)),i.push(s)}),i},Az=(e,t,n,r)=>{let i=[],a=e.toLowerCase();return t.forEach((e,t)=>{t!==0&&i.push(` / `);let o=e[r.label],s=typeof o;(s===`string`||s===`number`)&&(o=kz(String(o),a,n)),i.push(o)}),i},jz=S.forwardRef((e,t)=>{let{prefixCls:n,size:r,disabled:i,className:a,rootClassName:o,multiple:s,bordered:c=!0,transitionName:l,choiceTransitionName:u=``,popupClassName:d,expandIcon:f,placement:p,showSearch:m,allowClear:h=!0,notFoundContent:g,direction:_,getPopupContainer:v,status:y,showArrow:b,builtinPlacements:x,style:C,variant:w,dropdownClassName:T,dropdownRender:E,onDropdownVisibleChange:D,onPopupVisibleChange:O,dropdownMenuColumnStyle:k,popupRender:A,dropdownStyle:j,popupMenuColumnStyle:M,onOpenChange:N,styles:P,classNames:F,loadingIcon:I,...L}=e,R=gi(L,[`suffixIcon`]),{getPrefixCls:z,getPopupContainer:B,className:V,style:H,classNames:U,styles:W,expandIcon:ee,loadingIcon:te}=ya(`cascader`),{popupOverflow:ne}=S.useContext(ga),{status:re,hasFeedback:G,isFormItemInput:ie,feedbackIcon:K}=S.useContext(xy),ae=xC(re,y),[q,oe,se,ce]=fz(n,_),le=se===`rtl`,ue=z(),de=sp(q),[fe,pe]=WC(q,de),me=sp(oe);wz(oe,me);let{compactSize:he,compactItemClassnames:ge}=Dh(q,_),[_e,ve]=AC(`cascader`,w,c),ye=g||ce?.(`Cascader`)||S.createElement(kC,{componentName:`Cascader`}),be=tw(A||E),xe=M||k,Se=N||O||D,Ce=S.useMemo(()=>{if(!m)return m;let e={render:Az};return nf(m)&&(e={...e,...m}),e},[m]),we=wh(e=>r??he??e),Te=S.useContext(mm),Ee=i??Te,{expandIcon:De,loadingIcon:Oe}=_z({contextExpandIcon:ee,contextLoadingIcon:te,expandIcon:f,loadingIcon:I,isRtl:le}),ke=pz(oe,s),Ae=nw(e.suffixIcon,b),{suffixIcon:je,removeIcon:Me,clearIcon:Ne}=ew({...e,loadingIcon:Oe,hasFeedback:G,feedbackIcon:K,showSuffixIcon:Ae,multiple:s,prefixCls:q,componentName:`Cascader`}),Pe=S.useMemo(()=>p===void 0?le?`bottomRight`:`bottomLeft`:p,[p,le]),Fe=h===!0?{clearIcon:Ne}:h,Ie={...e,variant:_e,size:we,status:ae,disabled:Ee},[Le,Re]=Cf([U,F],[W,P],{props:Ie},{popup:{_default:`root`}}),ze={...Re.popup?.root,...j},[Be]=Lf(`SelectLike`,ze?.zIndex),Ve=J(d||T,`${oe}-dropdown`,{[`${oe}-dropdown-rtl`]:se===`rtl`},o,de,Le.popup?.root,me,fe,pe);return S.createElement(dz,{prefixCls:q,className:J(!n&&oe,{[`${q}-lg`]:we===`large`,[`${q}-sm`]:we===`small`,[`${q}-rtl`]:le,[`${q}-${_e}`]:ve,[`${q}-in-form-item`]:ie},bC(q,ae,G),ge,V,a,o,Le.root,de,me,fe,pe),disabled:Ee,style:{...Re.root,...H,...C},classNames:Le,styles:Re,...R,builtinPlacements:MC(x,ne),direction:se,placement:Pe,notFoundContent:ye,allowClear:Fe,showSearch:Ce,expandIcon:De,suffixIcon:je,removeIcon:Me,loadingIcon:Oe,checkable:ke,popupClassName:Ve,popupPrefixCls:n||oe,popupStyle:{...ze,zIndex:Be},popupRender:be,popupMenuColumnStyle:xe,onPopupVisibleChange:Se,choiceTransitionName:mh(ue,``,u),transitionName:mh(ue,`slide-up`,l),getPopupContainer:v||B,ref:t})}),Mz=xx(jz,`popupAlign`,e=>gi(e,[`visible`]));jz.SHOW_PARENT=Oz,jz.SHOW_CHILD=Dz,jz.Panel=Ez,jz._InternalPanelDoNotUseOrYouWillBeFired=Mz;var Nz=S.createContext(null),Pz=S.forwardRef((e,t)=>{let{prefixCls:n,children:r,indeterminate:i=!1,onMouseEnter:a,onMouseLeave:o,skipGroup:s=!1,disabled:c,rootClassName:l,className:u,style:d,classNames:f,styles:p,name:m,value:h,checked:g,defaultChecked:_,onChange:v,...y}=e,{getPrefixCls:b,direction:x,className:C,style:w,classNames:T,styles:E}=ya(`checkbox`),D=S.useContext(Nz),{isFormItemInput:O}=S.useContext(xy),k=S.useContext(mm),A=(D?.disabled||c)??k,[j,M]=Gn(_,g),N=j,P=zn(e=>{M(e.target.checked),v?.(e),!s&&D?.toggleOption&&D.toggleOption({label:r,value:h})});D&&!s&&(N=D.value.includes(h));let F=S.useRef(null),I=lr(t,F);S.useEffect(()=>{if(!(s||!D))return D.registerValue(h),()=>{D.cancelValue(h)}},[h,s]),S.useEffect(()=>{F.current?.input&&(F.current.input.indeterminate=i)},[i]);let L=b(`checkbox`,n),R=sp(L),[z,B]=bz(L,R),V={...y},H={...e,indeterminate:i,disabled:A,checked:N},[U,W]=Cf([T,f],[E,p],{props:H}),ee=J(`${L}-wrapper`,{[`${L}-rtl`]:x===`rtl`,[`${L}-wrapper-checked`]:N,[`${L}-wrapper-disabled`]:A,[`${L}-wrapper-in-form-item`]:O},C,u,U.root,l,B,R,z),te=J(U.icon,{[`${L}-indeterminate`]:i},gh,z),[ne,re]=VI(V.onClick);return S.createElement(Ch,{component:`Checkbox`,disabled:A},S.createElement(`label`,{className:ee,style:{...W.root,...w,...d},onMouseEnter:a,onMouseLeave:o,onClick:ne},S.createElement(BI,{...V,name:!s&&D?D.name:m,checked:N,onClick:re,onChange:P,prefixCls:L,className:te,style:W.icon,disabled:A,ref:I,value:h}),$d(r)&&S.createElement(`span`,{className:J(`${L}-label`,U.label),style:W.label},r)))}),Fz=S.forwardRef((e,t)=>{let{defaultValue:n,children:r,options:i=[],prefixCls:a,className:o,rootClassName:s,style:c,onChange:l,role:u=`group`,...d}=e,{getPrefixCls:f,direction:p}=S.useContext(ga),[m,h]=S.useState(d.value||n||[]),[g,_]=S.useState([]);S.useEffect(()=>{`value`in d&&h(d.value||[])},[d.value]);let v=S.useMemo(()=>i.map(e=>typeof e==`string`||ef(e)?{label:e,value:e}:e),[i]),y=e=>{_(t=>t.filter(t=>t!==e))},b=e=>{_(t=>[].concat(pa(t),[e]))},x=e=>{let t=m.indexOf(e.value),n=pa(m);t===-1?n.push(e.value):n.splice(t,1),`value`in d||h(n),l?.(n.filter(e=>g.includes(e)).sort((e,t)=>v.findIndex(t=>t.value===e)-v.findIndex(e=>e.value===t)))},C=f(`checkbox`,a),w=`${C}-group`,T=sp(C),[E,D]=bz(C,T),O=gi(d,[`value`,`disabled`]),k=i.length?v.map(e=>S.createElement(Pz,{prefixCls:C,key:e.value.toString(),disabled:`disabled`in e?e.disabled:d.disabled,value:e.value,checked:m.includes(e.value),onChange:e.onChange,className:J(`${w}-item`,e.className),style:e.style,title:e.title,id:e.id,required:e.required},e.label)):r,A=S.useMemo(()=>({toggleOption:x,value:m,disabled:d.disabled,name:d.name,registerValue:b,cancelValue:y}),[x,m,d.disabled,d.name,b,y]),j=J(w,{[`${w}-rtl`]:p===`rtl`},o,s,D,T,E);return S.createElement(`div`,{className:j,style:c,role:u,...O,ref:t},S.createElement(Nz.Provider,{value:A},k))}),Iz=Pz;Iz.Group=Fz,Iz.__ANT_CHECKBOX=!0;var Lz=(0,S.createContext)({});function Rz(e){return e===`auto`?`1 1 auto`:ef(e)?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}var zz=S.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=S.useContext(ga),{gutter:i,wrap:a}=S.useContext(Lz),{prefixCls:o,span:s,order:c,offset:l,push:u,pull:d,className:f,children:p,flex:m,style:h,...g}=e,_=n(`col`,o),v=n(),[y,b]=db(_),[x]=tu(v,`col`),C={},w={};sw.forEach(t=>{let n={},i=e[t];ef(i)?n.span=i:nf(i)&&(n=i||{}),delete g[t],w={...w,[`${_}-${t}-${n.span}`]:$d(n.span),[`${_}-${t}-order-${n.order}`]:n.order||n.order===0,[`${_}-${t}-offset-${n.offset}`]:n.offset||n.offset===0,[`${_}-${t}-push-${n.push}`]:n.push||n.push===0,[`${_}-${t}-pull-${n.pull}`]:n.pull||n.pull===0,[`${_}-rtl`]:r===`rtl`},n.flex&&(w[`${_}-${t}-flex`]=!0,C[x(`${t}-flex`)]=Rz(n.flex))});let T=J(_,{[`${_}-${s}`]:s!==void 0,[`${_}-order-${c}`]:c,[`${_}-offset-${l}`]:l,[`${_}-push-${u}`]:u,[`${_}-pull-${d}`]:d},f,w,y,b),E={};return i?.[0]&&(E.paddingInline=ef(i[0])?`${i[0]/2}px`:`calc(${i[0]} / 2)`),m&&(E.flex=Rz(m),a===!1&&!E.minWidth&&(E.minWidth=0)),S.createElement(`div`,{...g,style:{...E,...h,...C},className:T,ref:t},p)});function Bz(e,t){let n=[void 0,void 0],r=Array.isArray(e)?e:[e,void 0],i=t||{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0,xxxl:!0};return r.forEach((e,t)=>{if(nf(e))for(let r=0;r{let[n,r]=S.useState(()=>tf(e)?e:``),i=()=>{if(tf(e)&&r(e),nf(e))for(let n=0;n{i()},[JSON.stringify(e),t]),n},Hz=S.forwardRef((e,t)=>{let{prefixCls:n,justify:r,align:i,className:a,style:o,children:s,gutter:c=0,wrap:l,...u}=e,{getPrefixCls:d,direction:f}=S.useContext(ga),p=fw(!0,null),m=Vz(i,p),h=Vz(r,p),g=d(`row`,n),[_,v]=lb(g),y=Bz(c,p),b=J(g,{[`${g}-no-wrap`]:l===!1,[`${g}-${h}`]:h,[`${g}-${m}`]:m,[`${g}-rtl`]:f===`rtl`},a,_,v),x={};y?.[0]&&(x.marginInline=ef(y[0])?`${y[0]/-2}px`:`calc(${y[0]} / -2)`);let[C,w]=y;x.rowGap=w;let T=S.useMemo(()=>({gutter:[C,w],wrap:l}),[C,w,l]);return S.createElement(Lz.Provider,{value:T},S.createElement(`div`,{...u,className:b,style:{...x,...o},ref:t},s))}),Uz=zz,Wz=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`minus`,theme:`outlined`}}))());function Gz(){return Gz=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Gz({},e,{ref:t,icon:Wz.default}))),qz=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z`}}]},name:`up`,theme:`outlined`}}))());function Jz(){return Jz=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Jz({},e,{ref:t,icon:qz.default})));function Xz(){return typeof BigInt==`function`}function Zz(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function Qz(e){var t=e.trim(),n=t.startsWith(`-`);n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,`$1`).replace(/\.0*$/,``).replace(/^0+/,``),t.startsWith(`.`)&&(t=`0${t}`);var r=t||`0`,i=r.split(`.`),a=i[0]||`0`,o=i[1]||`0`;a===`0`&&o===`0`&&(n=!1);var s=n?`-`:``;return{negative:n,negativeStr:s,trimStr:r,integerStr:a,decimalStr:o,fullStr:`${s}${r}`}}function $z(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes(`e`)}function eB(e){var t=Rs(e.toLowerCase().split(`e`),2),n=t[0],r=t[1],i=r===void 0?`0`:r,a=n.startsWith(`-`),o=Rs((a?n.slice(1):n).split(`.`),2),s=o[0],c=s===void 0?`0`:s,l=o[1],u=l===void 0?``:l;return{decimal:u,digits:`${c}${u}`.replace(/^0+/,``)||`0`,exponent:Number(i),integer:c,negative:a}}function tB(e){var t=e.decimal,n=e.digits,r=e.exponent,i=e.integer,a=e.negative;if(n===`0`)return`0`;var o=i.replace(/^0+/,``).length,s=(t.match(/^0*/)||[``])[0].length,c=(o||-s)+r,l=``;return l=c<=0?`0.${`0`.repeat(-c)}${n}`:c>=n.length?`${n}${`0`.repeat(c-n.length)}`:`${n.slice(0,c)}.${n.slice(c)}`,`${a?`-`:``}${l}`}function nB(e){return e.exponent>=0?Math.max(0,e.decimal.length-e.exponent):Math.abs(e.exponent)+e.decimal.length}function rB(e){var t=String(e);return $z(e)?nB(eB(t)):t.includes(`.`)&&aB(t)?t.length-t.indexOf(`.`)-1:0}function iB(e){var t=String(e);if($z(e)){if(e>2**53-1)return String(Xz()?BigInt(e).toString():2**53-1);if(e<-(2**53-1))return String(Xz()?BigInt(e).toString():-(2**53-1));var n=eB(t),r=nB(n);t=r>100?tB(n):e.toFixed(r)}return Qz(t).fullStr}function aB(e){return typeof e==`number`?!Number.isNaN(e):e?/^\s*-?\d+(\.\d+)?\s*$/.test(e)||/^\s*-?\d+\.\s*$/.test(e)||/^\s*-?\.\d+\s*$/.test(e):!1}var oB=function(){function e(t){if(Ws(this,e),Vs(this,`origin`,``),Vs(this,`negative`,void 0),Vs(this,`integer`,void 0),Vs(this,`decimal`,void 0),Vs(this,`decimalLen`,void 0),Vs(this,`empty`,void 0),Vs(this,`nan`,void 0),Zz(t)){this.empty=!0;return}if(this.origin=String(t),t===`-`||Number.isNaN(t)){this.nan=!0;return}var n=t;if($z(n)&&(n=Number(n)),n=typeof n==`string`?n:iB(n),aB(n)){var r=Qz(n);this.negative=r.negative;var i=r.trimStr.split(`.`);this.integer=BigInt(i[0]);var a=i[1]||`0`;this.decimal=BigInt(a),this.decimalLen=a.length}else this.nan=!0}return Ks(e,[{key:`getMark`,value:function(){return this.negative?`-`:``}},{key:`getIntegerStr`,value:function(){return this.integer.toString()}},{key:`getDecimalStr`,value:function(){return this.decimal.toString().padStart(this.decimalLen,`0`)}},{key:`alignDecimal`,value:function(e){var t=`${this.getMark()}${this.getIntegerStr()}${this.getDecimalStr().padEnd(e,`0`)}`;return BigInt(t)}},{key:`negate`,value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:`cal`,value:function(t,n,r){var i=Math.max(this.getDecimalStr().length,t.getDecimalStr().length),a=n(this.alignDecimal(i),t.alignDecimal(i)).toString(),o=r(i),s=Qz(a),c=`${s.negativeStr}${s.trimStr.padStart(o+1,`0`)}`;return new e(`${c.slice(0,-o)}.${c.slice(-o)}`)}},{key:`add`,value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);return n.isInvalidate()?this:this.cal(n,function(e,t){return e+t},function(e){return e})}},{key:`multi`,value:function(t){var n=new e(t);return this.isInvalidate()||n.isInvalidate()?new e(NaN):this.cal(n,function(e,t){return e*t},function(e){return e*2})}},{key:`isEmpty`,value:function(){return this.empty}},{key:`isNaN`,value:function(){return this.nan}},{key:`isInvalidate`,value:function(){return this.isEmpty()||this.isNaN()}},{key:`equals`,value:function(e){return this.toString()===e?.toString()}},{key:`lessEquals`,value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:`toNumber`,value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:`toString`,value:function(){return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.isInvalidate()?``:Qz(`${this.getMark()}${this.getIntegerStr()}.${this.getDecimalStr()}`).fullStr:this.origin}}]),e}(),sB=function(){function e(t){if(Ws(this,e),Vs(this,`origin`,``),Vs(this,`number`,void 0),Vs(this,`empty`,void 0),Zz(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return Ks(e,[{key:`negate`,value:function(){return new e(-this.toNumber())}},{key:`add`,value:function(t){if(this.isInvalidate())return new e(t);var n=Number(t);if(Number.isNaN(n))return this;var r=this.number+n;if(r>2**53-1)return new e(2**53-1);if(r<-(2**53-1))return new e(-(2**53-1));var i=Math.max(rB(this.number),rB(n));return new e(r.toFixed(i))}},{key:`multi`,value:function(t){var n=Number(t);if(this.isInvalidate()||Number.isNaN(n))return new e(NaN);var r=this.number*n;if(r>2**53-1)return new e(2**53-1);if(r<-(2**53-1))return new e(-(2**53-1));var i=Math.max(rB(this.number),rB(n));return new e(r.toFixed(i))}},{key:`isEmpty`,value:function(){return this.empty}},{key:`isNaN`,value:function(){return Number.isNaN(this.number)}},{key:`isInvalidate`,value:function(){return this.isEmpty()||this.isNaN()}},{key:`equals`,value:function(e){return this.toNumber()===e?.toNumber()}},{key:`lessEquals`,value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:`toNumber`,value:function(){return this.number}},{key:`toString`,value:function(){return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.isInvalidate()?``:$z(this.number)&&rB(this.number)>100?String(this.number):iB(this.number):this.origin}}]),e}();function cB(e){return Xz()?new oB(e):new sB(e)}function lB(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e===``)return``;var i=Qz(e),a=i.negativeStr,o=i.integerStr,s=i.decimalStr,c=`${t}${s}`,l=`${a}${o}`;if(n>=0){var u=Number(s[n]);return u>=5&&!r?lB(cB(e).add(`${a}0.${`0`.repeat(n)}${10-u}`).toString(),t,n,r):n===0?l:`${l}${t}${s.padEnd(n,`0`).slice(0,n)}`}return c===`.0`?l:`${l}${c}`}var uB=cB;function dB(e,t){let n=(0,S.useRef)(null);function r(){try{let{selectionStart:t,selectionEnd:r,value:i}=e;n.current={start:t,end:r,value:i,beforeTxt:i.substring(0,t),afterTxt:i.substring(r)}}catch{}}function i(){if(e&&n.current&&t)try{let{value:t}=e,{beforeTxt:r,afterTxt:i,start:a}=n.current,o=t.length;if(t.startsWith(r))o=r.length;else if(t.endsWith(i))o=t.length-n.current.afterTxt.length;else{let e=r[a-1],n=t.indexOf(e,a-1);n!==-1&&(o=n+1)}e.setSelectionRange(o,o)}catch(e){ui(!1,`Something warning of cursor restore. Please fire issue about this: ${e.message}`)}}return[r,i]}var fB=200,pB=600;function mB({prefixCls:e,action:t,children:n,disabled:r,className:i,style:a,onStep:o}){let s=t===`up`,c=S.useRef(),l=S.useRef([]),u=()=>{clearTimeout(c.current)},d=e=>{e.preventDefault(),u(),o(s,`handler`);function t(){o(s,`handler`),c.current=setTimeout(t,fB)}c.current=setTimeout(t,pB)};S.useEffect(()=>()=>{u(),l.current.forEach(e=>{Oi.cancel(e)})},[]);let f=`${e}-action`,p=J(f,`${f}-${t}`,{[`${f}-${t}-disabled`]:r},i),m=()=>l.current.push(Oi(u));return S.createElement(`span`,{unselectable:`on`,role:`button`,onMouseUp:m,onMouseLeave:m,onMouseDown:e=>{d(e)},"aria-label":s?`Increase Value`:`Decrease Value`,"aria-disabled":r,className:p,style:a},n||S.createElement(`span`,{unselectable:`on`,className:`${e}-action-${t}-inner`}))}function hB(e){let t=typeof e==`number`?iB(e):Qz(e).fullStr;return t.includes(`.`)?Qz(t.replace(/(\d)\.(\d)/g,`$1$2.`)).fullStr:e+`0`}var gB=(()=>{let e=(0,S.useRef)(0),t=()=>{Oi.cancel(e.current)};return(0,S.useEffect)(()=>t,[]),n=>{t(),e.current=Oi(()=>{n()})}});function _B(){return _B=Object.assign?Object.assign.bind():function(e){for(var t=1;te||t.isEmpty()?t.toString():t.toNumber(),yB=e=>{let t=uB(e);return t.isInvalidate()?null:t},bB=S.forwardRef((e,t)=>{let{mode:n=`input`,prefixCls:r=`rc-input-number`,className:i,style:a,classNames:o,styles:s,min:c,max:l,step:u=1,defaultValue:d,value:f,disabled:p,readOnly:m,upHandler:h,downHandler:g,keyboard:_,changeOnWheel:v=!1,controls:y=!0,prefix:b,suffix:x,stringMode:C,parser:w,formatter:T,precision:E,decimalSeparator:D,onChange:O,onInput:k,onPressEnter:A,onStep:j,onMouseDown:M,onClick:N,onMouseUp:P,onMouseLeave:F,onMouseMove:I,onMouseEnter:L,onMouseOut:R,changeOnBlur:z=!0,...B}=e,[V,H]=S.useState(!1),U=S.useRef(!1),W=S.useRef(!1),ee=S.useRef(!1),te=S.useRef(null),ne=S.useRef(null);S.useImperativeHandle(t,()=>Si(ne.current,{focus:e=>{Nr(ne.current,e)},blur:()=>{ne.current?.blur()},nativeElement:te.current}));let[re,G]=S.useState(()=>uB(f??d));function ie(e){f===void 0&&G(e)}let K=S.useCallback((e,t)=>{if(!t)return E>=0?E:Math.max(rB(e),rB(u))},[E,u]),ae=S.useCallback(e=>{let t=String(e);if(w)return w(t);let n=t;return D&&(n=n.replace(D,`.`)),n.replace(/[^\w.-]+/g,``)},[w,D]),q=S.useRef(``),oe=S.useCallback((e,t)=>{if(T)return T(e,{userTyping:t,input:String(q.current)});let n=typeof e==`number`?iB(e):e;if(!t){let e=K(n,t);aB(n)&&(D||e>=0)&&(n=lB(n,D||`.`,e))}return n},[T,K,D]),[se,ce]=S.useState(()=>{let e=d??f;return re.isInvalidate()&&[`string`,`number`].includes(typeof e)?Number.isNaN(e)?``:e:oe(re.toString(),!1)});q.current=se;function le(e,t){ce(oe(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}let ue=S.useMemo(()=>yB(l),[l,E]),de=S.useMemo(()=>yB(c),[c,E]),fe=S.useMemo(()=>!ue||!re||re.isInvalidate()?!1:ue.lessEquals(re),[ue,re]),pe=S.useMemo(()=>!de||!re||re.isInvalidate()?!1:re.lessEquals(de),[de,re]),[me,he]=dB(ne.current,V),ge=e=>ue&&!e.lessEquals(ue)?ue:de&&!de.lessEquals(e)?de:null,_e=e=>!ge(e),ve=(e,t)=>{let n=e,r=_e(n)||n.isEmpty();if(!n.isEmpty()&&!t&&(n=ge(n)||n,r=!0),!m&&!p&&r){let e=n.toString(),r=K(e,t);return r>=0&&(n=uB(lB(e,`.`,r)),_e(n)||(n=uB(lB(e,`.`,r,!0)))),n.equals(re)||(ie(n),O?.(n.isEmpty()?null:vB(C,n)),f===void 0&&le(n,t)),n}return re},ye=gB(),be=e=>{if(me(),q.current=e,ce(e),!W.current){let t=uB(ae(e));t.isNaN()||ve(t,!0)}k?.(e),ye(()=>{let t=e;w||(t=e.replace(/。/g,`.`)),t!==e&&be(t)})},xe=()=>{W.current=!0},Se=()=>{W.current=!1,be(ne.current.value)},Ce=e=>{be(e.target.value)},we=zn((e,t)=>{if(e&&fe||!e&&pe)return;U.current=!1;let n=uB(ee.current?hB(u):u);e||(n=n.negate());let r=ve((re||uB(0)).add(n.toString()),!1);j?.(vB(C,r),{offset:ee.current?hB(u):u,type:e?`up`:`down`,emitter:t}),ne.current?.focus()}),Te=e=>{let t=uB(ae(se)),n;n=t.isNaN()?ve(re,e):ve(t,e),f===void 0?n.isNaN()||le(n,!1):le(re,!1)},Ee=()=>{U.current=!0},De=e=>{let{key:t,shiftKey:n}=e;U.current=!0,ee.current=n,t===`Enter`&&(W.current||(U.current=!1),Te(!1),A?.(e)),_!==!1&&!W.current&&[`Up`,`ArrowUp`,`Down`,`ArrowDown`].includes(t)&&(we(t===`Up`||t===`ArrowUp`,`keyboard`),e.preventDefault())},Oe=()=>{U.current=!1,ee.current=!1};S.useEffect(()=>{if(v&&V){let e=e=>{we(e.deltaY<0,`wheel`),e.preventDefault()},t=ne.current;if(t)return t.addEventListener(`wheel`,e,{passive:!1}),()=>t.removeEventListener(`wheel`,e)}});let ke=()=>{z&&Te(!1),H(!1),U.current=!1},Ae=e=>{ne.current&&e.target!==ne.current&&(ne.current.focus(),e.preventDefault()),M?.(e)};Un(()=>{re.isInvalidate()||le(re,!1)},[E,T]),Un(()=>{let e=uB(f);G(e);let t=uB(ae(se));(!e.equals(t)||!U.current||T)&&le(e,U.current)},[f]),Un(()=>{T&&he()},[se]);let je={prefixCls:r,onStep:we,className:o?.action,style:s?.action},Me=S.createElement(mB,_B({},je,{action:`up`,disabled:fe}),h),Ne=S.createElement(mB,_B({},je,{action:`down`,disabled:pe}),g);return S.createElement(`div`,{ref:te,className:J(r,`${r}-mode-${n}`,i,o?.root,{[`${r}-focused`]:V,[`${r}-disabled`]:p,[`${r}-readonly`]:m,[`${r}-not-a-number`]:re.isNaN(),[`${r}-out-of-range`]:!re.isInvalidate()&&!_e(re)}),style:{...s?.root,...a},onMouseDown:Ae,onMouseUp:P,onMouseLeave:F,onMouseMove:I,onMouseEnter:L,onMouseOut:R,onClick:N,onFocus:()=>{H(!0)},onBlur:ke,onKeyDown:De,onKeyUp:Oe,onCompositionStart:xe,onCompositionEnd:Se,onBeforeInput:Ee},n===`spinner`&&y&&Ne,b!==void 0&&S.createElement(`div`,{className:J(`${r}-prefix`,o?.prefix),style:s?.prefix},b),S.createElement(`input`,_B({autoComplete:`off`,role:`spinbutton`,"aria-valuemin":c,"aria-valuemax":l,"aria-valuenow":re.isInvalidate()?null:re.toString(),step:u,ref:ne,className:J(`${r}-input`,o?.input),style:s?.input,value:se,onChange:Ce,disabled:p,readOnly:m},B)),x!==void 0&&S.createElement(`div`,{className:J(`${r}-suffix`,o?.suffix),style:s?.suffix},x),n===`spinner`&&y&&Me,n===`input`&&y&&S.createElement(`div`,{className:J(`${r}-actions`,o?.actions),style:s?.actions},Me,Ne))}),xB=e=>{let{componentCls:t,borderRadius:n,paddingSM:r,colorBorder:i,paddingXS:a,fontSizeLG:o,fontSizeSM:s,borderRadiusLG:c,borderRadiusSM:l,colorBgContainerDisabled:u,lineWidth:d,antCls:f}=e,[p,m]=tu(f,`space`);return{[t]:[{display:`inline-flex`,alignItems:`center`,gap:0,whiteSpace:`nowrap`,paddingInline:r,margin:0,borderWidth:d,borderStyle:`solid`,borderRadius:n,"&:hover":{zIndex:0},[`&${t}-disabled`]:{color:e.colorTextDisabled},"&-large":{fontSize:o,borderRadius:c},"&-small":{paddingInline:a,borderRadius:l,fontSize:s},"&-compact-last-item":{borderEndStartRadius:0,borderStartStartRadius:0},"&-compact-first-item":{borderEndEndRadius:0,borderStartEndRadius:0},"&-compact-item:not(:first-child):not(:last-child)":{borderRadius:0},"&-compact-item:not(:last-child)":{borderInlineEndWidth:0},"&-compact-item:not(:first-child)":{borderInlineStartWidth:0}},{[p(`addon-border-color`)]:i,[p(`addon-background`)]:u,[p(`addon-border-color-outlined`)]:i,[p(`addon-background-filled`)]:u,borderColor:m(`addon-border-color`),background:m(`addon-background`),"&-variant-outlined":{[p(`addon-border-color`)]:m(`addon-border-color-outlined`)},"&-variant-filled":{[p(`addon-border-color`)]:`transparent`,[p(`addon-background`)]:m(`addon-background-filled`),[`&${t}-disabled`]:{[p(`addon-border-color`)]:i,[p(`addon-background`)]:u}},"&-variant-borderless":{border:`none`,background:`transparent`},"&-variant-underlined":{border:`none`,background:`transparent`}},{"&-status-error":{[p(`addon-border-color-outlined`)]:e.colorError,[p(`addon-background-filled`)]:e.colorErrorBg,color:e.colorError},"&-status-warning":{[p(`addon-border-color-outlined`)]:e.colorWarning,[p(`addon-background-filled`)]:e.colorWarningBg,color:e.colorWarning}}]}},SB=Ql([`Space`,`Addon`],e=>[xB(e),l_(e,{focus:!1})]),CB=S.forwardRef((e,t)=>{let{className:n,children:r,style:i,prefixCls:a,variant:o=`outlined`,disabled:s,status:c,...l}=e,{getPrefixCls:u,direction:d}=S.useContext(ga),f=u(`space-addon`,a),[p,m]=SB(f),{compactItemClassnames:h,compactSize:g}=Dh(f,d),_=bC(f,c),v=J(f,p,h,m,`${f}-variant-${o}`,_,{[`${f}-${g}`]:g,[`${f}-disabled`]:s},n);return S.createElement(`div`,{ref:t,className:v,style:i,...l},r)}),wB=e=>{let t=e.handleVisible??`auto`,n=e.controlHeightSM-e.lineWidth*2;return{...QI(e),controlWidth:90,handleWidth:n,handleFontSize:e.fontSize/2,handleVisible:t,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new Nc(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:+(t===!0),handleVisibleWidth:t===!0?n:0}},TB=e=>{let{componentCls:t,lineWidth:n,lineType:r,borderRadius:i,inputFontSizeSM:a,inputFontSizeLG:o,colorError:s,paddingInlineSM:c,paddingBlockSM:l,paddingBlockLG:u,paddingInlineLG:d,colorIcon:f,colorTextDisabled:p,motionDurationMid:m,handleHoverColor:h,handleOpacity:g,paddingInline:_,paddingBlock:v,handleBg:y,handleActiveBg:b,inputAffixPadding:x,borderRadiusSM:S,controlWidth:C,handleBorderColor:w,filledHandleBg:T,lineHeightLG:E,antCls:D}=e,O=`${Y(n)} ${r} ${w}`,[k,A]=tu(D,`input-number`);return[{[t]:{...Ul(e),...vL(e),[k(`input-padding-block`)]:Y(v),[k(`input-padding-inline`)]:Y(_),display:`inline-flex`,width:C,margin:0,paddingBlock:0,borderRadius:i,...rL(e,{[`${t}-actions`]:{background:y,[`${t}-action-down`]:{borderBlockStart:O}}}),...lL(e,{[`${t}-actions`]:{background:T,[`${t}-action-down`]:{borderBlockStart:O}},"&:focus-within":{[`${t}-actions`]:{background:y}}}),...mL(e,{[`${t}-actions`]:{background:y,[`${t}-action-down`]:{borderBlockStart:O}}}),...oL(e),[`&${t}-borderless`]:{paddingBlock:0,[k(`input-padding-block`)]:Y(e.calc(v).add(n).equal())},[`&${t}-borderless${t}-sm`]:{paddingBlock:0,[k(`input-padding-block`)]:Y(e.calc(l).add(n).equal())},[`&${t}-borderless${t}-lg`]:{paddingBlock:0,[k(`input-padding-block`)]:Y(e.calc(u).add(n).equal())},"&-rtl":{direction:`rtl`,[`${t}-input`]:{direction:`rtl`}},[`&${t}-out-of-range`]:{[`${t}-input`]:{color:s}},[`${t}-input`]:{...Ul(e),width:`100%`,paddingBlock:A(`input-padding-block`),textAlign:`start`,backgroundColor:`transparent`,border:0,borderRadius:0,outline:0,transition:`all ${m} linear`,appearance:`textfield`,fontSize:`inherit`,lineHeight:`inherit`,...hL(e.colorTextPlaceholder),'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:`none`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&-disabled ${t}-input`]:{cursor:`not-allowed`,color:e.colorTextDisabled}}},{[t]:{[`${t}-action`]:{...Wl(),userSelect:`none`,overflow:`hidden`,fontWeight:`bold`,lineHeight:0,textAlign:`center`,cursor:`pointer`,transition:`all ${m} linear`,[`&:active:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{background:b},[`&:hover:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{color:h},[`&${t}-action-up-disabled, &${t}-action-down-disabled`]:{cursor:`not-allowed`,color:p}},"&-mode-input":{overflow:`hidden`,[`${t}-actions`]:{position:`absolute`,insetBlockStart:0,insetInlineEnd:0,width:e.handleVisibleWidth,opacity:g,height:`100%`,borderRadius:0,display:`flex`,flexDirection:`column`,alignItems:`stretch`,transition:`all ${m}`,overflow:`hidden`,[`${t}-action`]:{display:`flex`,alignItems:`center`,justifyContent:`center`,flex:`auto`,height:`40%`,marginInlineEnd:0,fontSize:e.handleFontSize}},[`&:hover ${t}-actions, &-focused ${t}-actions`]:{width:e.handleWidth,opacity:1},[`${t}-action`]:{color:f,height:`50%`,borderInlineStart:O,[`&:hover:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{height:`60%`}},[`&${t}-disabled, &${t}-readonly`]:{[`${t}-actions`]:{display:`none`}}},[`&${t}-mode-spinner`]:{padding:0,width:`auto`,[`${t}-action`]:{flex:`none`,paddingInline:A(`input-padding-inline`),"&-up":{borderInlineStart:O},"&-down":{borderInlineEnd:O}},[`${t}-input`]:{textAlign:`center`,paddingInline:A(`input-padding-inline`)}}}},{[t]:{"&-lg":{[k(`input-padding-block`)]:Y(u),[k(`input-padding-inline`)]:Y(d),paddingBlock:0,fontSize:o,lineHeight:E},"&-sm":{[k(`input-padding-block`)]:Y(l),[k(`input-padding-inline`)]:Y(c),paddingBlock:0,fontSize:a,borderRadius:S}}},{[t]:{[`${t}-prefix, ${t}-suffix`]:{display:`flex`,flex:`none`,alignItems:`center`,alignSelf:`center`,pointerEvents:`none`},[`${t}-prefix`]:{marginInlineEnd:x},[`${t}-suffix`]:{height:`100%`,marginInlineStart:x,transition:`margin ${m}`},[`&:hover:not(${t}-without-controls)`]:{[`${t}-suffix`]:{marginInlineEnd:e.handleWidth}}}}]},EB=e=>{let{componentCls:t,antCls:n}=e;return{[`${t}-addon`]:{[`&:has(${n}-select)`]:{border:0,padding:0}}}},DB=Ql(`InputNumber`,e=>{let t=dc(e,ZI(e));return[TB(t),EB(t),l_(t)]},wB,{unitless:{handleOpacity:!0},resetFont:!1}),OB=S.forwardRef((e,t)=>{let n=S.useRef(null);S.useImperativeHandle(t,()=>n.current);let{rootClassName:r,size:i,disabled:a,prefixCls:o,addonBefore:s,addonAfter:c,prefix:l,suffix:u,bordered:d,readOnly:f,status:p,controls:m=!0,variant:h,className:g,style:_,classNames:v,styles:y,mode:b,...x}=e,{direction:C,className:w,style:T,styles:E,classNames:D}=ya(`inputNumber`),O=S.useContext(mm),k=a??O,A=S.useMemo(()=>!m||k||f?!1:m,[m,k,f]),{compactSize:j,compactItemClassnames:M}=Dh(o,C),N=b===`spinner`?S.createElement(IL,null):S.createElement(Yz,null),P=b===`spinner`?S.createElement(Kz,null):S.createElement(XC,null),F=typeof A==`boolean`?A:void 0;nf(A)&&(N=A.upIcon||N,P=A.downIcon||P);let{hasFeedback:I,isFormItemInput:L,feedbackIcon:R}=S.useContext(xy),z=wh(e=>i??j??e),[B,V]=AC(`inputNumber`,h,d),H=I&&S.createElement(S.Fragment,null,R),U={...e,size:z,disabled:k,controls:A},[W,ee]=Cf([D,v],[E,y],{props:U});return S.createElement(bB,{ref:n,mode:b,disabled:k,className:J(g,r,W.root,w,M,bC(o,p,I),{[`${o}-${B}`]:V,[`${o}-lg`]:z===`large`,[`${o}-sm`]:z===`small`,[`${o}-rtl`]:C===`rtl`,[`${o}-in-form-item`]:L,[`${o}-without-controls`]:!A}),style:{...ee.root,...T,..._},upHandler:N,downHandler:P,prefixCls:o,readOnly:f,controls:F,prefix:l,suffix:H||u,classNames:W,styles:ee,...x})}),kB=S.forwardRef((e,t)=>{let{addonBefore:n,addonAfter:r,prefixCls:i,className:a,status:o,rootClassName:s,...c}=e,{getPrefixCls:l}=ya(`inputNumber`),u=l(`input-number`,i),{status:d}=S.useContext(xy),f=xC(d,o),p=sp(u),[m,h]=DB(u,p),g=n||r,_=S.createElement(OB,{ref:t,...c,prefixCls:u,status:f,className:J(h,p,m,a),rootClassName:g?void 0:s});if(g){let t=t=>t?S.createElement(CB,{className:J(`${u}-addon`,h,m),variant:e.variant,disabled:e.disabled,status:f},S.createElement(wy,{form:!0},t)):null,i=t(n),a=t(r);return S.createElement(Ah,{rootClassName:s},i,_,a)}return _}),AB=kB;AB._InternalPanelDoNotUseOrYouWillBeFired=e=>S.createElement(Nm,{theme:{components:{InputNumber:{handleVisible:!0}}}},S.createElement(kB,{...e}));function jB(e){return!!(e.addonBefore||e.addonAfter)}function MB(e){return!!(e.prefix||e.suffix||e.allowClear)}function NB(e,t,n){let r=t.cloneNode(!0),i=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart==`number`&&typeof t.selectionEnd==`number`&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=(...e)=>{t.setSelectionRange(...e)},i}function PB(e,t,n,r){if(!n)return;let i=t;if(t.type===`click`){i=NB(t,e,``),n(i);return}if(e.type!==`file`&&r!==void 0){i=NB(t,e,r),n(i);return}n(i)}function FB(){return FB=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{inputElement:n,children:r,prefixCls:i,prefix:a,suffix:o,addonBefore:s,addonAfter:c,className:l,style:u,disabled:d,readOnly:f,focused:p,triggerFocus:m,allowClear:h,value:g,handleReset:_,hidden:v,classes:y,classNames:b,dataAttrs:x,styles:C,components:w,onClear:T}=e,E=r??n,D=w?.affixWrapper||`span`,O=w?.groupWrapper||`span`,k=w?.wrapper||`span`,A=w?.groupAddon||`span`,j=(0,S.useRef)(null),M=e=>{j.current?.contains(e.target)&&m?.()},N=MB(e),P=(0,S.cloneElement)(E,{value:g,className:J(E.props?.className,!N&&b?.variant)||null}),F=(0,S.useRef)(null);if(S.useImperativeHandle(t,()=>({nativeElement:F.current||j.current})),N){let e=null;if(h){let t=!d&&!f&&g,n=`${i}-clear-icon`,r=typeof h==`object`&&h?.clearIcon?h.clearIcon:`✖`;e=S.createElement(`button`,{type:`button`,tabIndex:-1,onClick:e=>{_?.(e),T?.()},onMouseDown:e=>e.preventDefault(),className:J(n,{[`${n}-hidden`]:!t,[`${n}-has-suffix`]:!!o})},r)}let t=`${i}-affix-wrapper`,n=J(t,{[`${i}-disabled`]:d,[`${t}-disabled`]:d,[`${t}-focused`]:p,[`${t}-readonly`]:f,[`${t}-input-with-clear-btn`]:o&&h&&g},y?.affixWrapper,b?.affixWrapper,b?.variant),r=(o||h)&&S.createElement(`span`,{className:J(`${i}-suffix`,b?.suffix),style:C?.suffix},e,o);P=S.createElement(D,FB({className:n,style:C?.affixWrapper,onClick:M},x?.affixWrapper,{ref:j}),a&&S.createElement(`span`,{className:J(`${i}-prefix`,b?.prefix),style:C?.prefix},a),P,r)}if(jB(e)){let e=`${i}-group`,t=`${e}-addon`,n=`${e}-wrapper`,r=J(`${i}-wrapper`,e,y?.wrapper,b?.wrapper),a=J(n,{[`${n}-disabled`]:d},y?.group,b?.groupWrapper);P=S.createElement(O,{className:a,ref:F},S.createElement(k,{className:r},s&&S.createElement(A,{className:t},s),P,c&&S.createElement(A,{className:t},c)))}return S.cloneElement(P,{className:J(P.props?.className,l)||null,style:{...P.props?.style,...u},hidden:v})});function LB(e,t){return S.useMemo(()=>{let n={};t&&(n.show=typeof t==`object`&&t.formatter?t.formatter:!!t),n={...n,...e};let{show:r,...i}=n;return{...i,show:!!r,showFormatter:typeof r==`function`?r:void 0,strategy:i.strategy||(e=>e.length)}},[e,t])}function RB(){return RB=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{autoComplete:n,onChange:r,onFocus:i,onBlur:a,onPressEnter:o,onKeyDown:s,onKeyUp:c,prefixCls:l=`rc-input`,disabled:u,htmlSize:d,className:f,maxLength:p,suffix:m,showCount:h,count:g,type:_=`text`,classes:v,classNames:y,styles:b,onCompositionStart:x,onCompositionEnd:C,...w}=e,[T,E]=(0,S.useState)(!1),D=(0,S.useRef)(!1),O=(0,S.useRef)(!1),k=(0,S.useRef)(null),A=(0,S.useRef)(null),j=e=>{k.current&&Nr(k.current,e)},[M,N]=Gn(e.defaultValue,e.value),P=M==null?``:String(M),[F,I]=(0,S.useState)(null),L=LB(g,h),R=L.max||p,z=L.strategy(P),B=!!R&&z>R;(0,S.useImperativeHandle)(t,()=>({focus:j,blur:()=>{k.current?.blur()},setSelectionRange:(e,t,n)=>{k.current?.setSelectionRange(e,t,n)},select:()=>{k.current?.select()},input:k.current,nativeElement:A.current?.nativeElement||k.current})),(0,S.useEffect)(()=>{O.current&&=!1,E(e=>e&&u?!1:e)},[u]);let V=(e,t,n)=>{let i=t;if(!D.current&&L.exceedFormatter&&L.max&&L.strategy(t)>L.max)i=L.exceedFormatter(t,{max:L.max}),t!==i&&I([k.current?.selectionStart||0,k.current?.selectionEnd||0]);else if(n.source===`compositionEnd`)return;N(i),k.current&&PB(k.current,e,r,i)};(0,S.useEffect)(()=>{F&&k.current?.setSelectionRange(...F)},[F]);let H=e=>{V(e,e.target.value,{source:`change`})},U=e=>{D.current=!1,V(e,e.currentTarget.value,{source:`compositionEnd`}),C?.(e)},W=e=>{o&&e.key===`Enter`&&!O.current&&!e.nativeEvent.isComposing&&(O.current=!0,o(e)),s?.(e)},ee=e=>{e.key===`Enter`&&(O.current=!1),c?.(e)},te=e=>{E(!0),i?.(e)},ne=e=>{O.current&&=!1,E(!1),a?.(e)},re=e=>{N(``),j(),k.current&&PB(k.current,e,r)},G=B&&`${l}-out-of-range`;return S.createElement(IB,RB({},w,{prefixCls:l,className:J(f,G),handleReset:re,value:P,focused:T,triggerFocus:j,suffix:(()=>{let e=Number(R)>0;if(m||L.show){let t=L.showFormatter?L.showFormatter({value:P,count:z,maxLength:R}):`${z}${e?` / ${R}`:``}`;return S.createElement(S.Fragment,null,L.show&&S.createElement(`span`,{className:J(`${l}-show-count-suffix`,{[`${l}-show-count-has-suffix`]:!!m},y?.count),style:{...b?.count}},t),m)}return null})(),disabled:u,classes:v,classNames:y,styles:b,ref:A}),(()=>{let t=gi(e,[`prefixCls`,`onPressEnter`,`addonBefore`,`addonAfter`,`prefix`,`suffix`,`allowClear`,`defaultValue`,`showCount`,`count`,`classes`,`htmlSize`,`styles`,`classNames`,`onClear`]);return S.createElement(`input`,RB({autoComplete:n},t,{onChange:H,onFocus:te,onBlur:ne,onKeyDown:W,onKeyUp:ee,className:J(l,{[`${l}-disabled`]:u},y?.input),style:b?.input,ref:k,size:d,type:_,onCompositionStart:e=>{D.current=!0,x?.(e)},onCompositionEnd:U}))})())}),BB=e=>{let t;return nf(e)&&e?.clearIcon?t=e:e&&(t={clearIcon:S.createElement(Ou,null)}),t};function VB(e,t){let n=(0,S.useRef)([]),r=()=>{n.current.push(setTimeout(()=>{e.current?.input&&e.current?.input.getAttribute(`type`)===`password`&&e.current?.input.hasAttribute(`value`)&&e.current?.input.removeAttribute(`value`)}))};return(0,S.useEffect)(()=>(t&&r(),()=>n.current.forEach(e=>{e&&clearTimeout(e)})),[]),r}function HB(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var UB=(0,S.forwardRef)((e,t)=>{let{prefixCls:n,bordered:r=!0,status:i,size:a,disabled:o,onBlur:s,onFocus:c,suffix:l,allowClear:u,addonAfter:d,addonBefore:f,className:p,style:m,styles:h,rootClassName:g,onChange:_,classNames:v,variant:y,...b}=e,{getPrefixCls:x,direction:C,allowClear:w,autoComplete:T,className:E,style:D,classNames:O,styles:k}=ya(`input`),A=x(`input`,n),j=(0,S.useRef)(null),M=sp(A),[N,P]=TL(A,g);EL(A,M);let{compactSize:F,compactItemClassnames:I}=Dh(A,C),L=wh(e=>a??F??e),R=S.useContext(mm),z=o??R,B={...e,size:L,disabled:z},[V,H]=Cf([O,v],[k,h],{props:B}),{status:U,hasFeedback:W,feedbackIcon:ee}=(0,S.useContext)(xy),te=xC(U,i);(0,S.useRef)(HB(e)||!!W);let ne=VB(j,!0),re=e=>{ne(),s?.(e)},G=e=>{ne(),c?.(e)},ie=e=>{ne(),_?.(e)},K=(W||l)&&S.createElement(S.Fragment,null,l,W&&ee),ae=BB(u??w),[q,oe]=AC(`input`,y,r);return S.createElement(zB,{ref:cr(t,j),prefixCls:A,autoComplete:T,...b,disabled:z,onBlur:re,onFocus:G,style:{...H.root,...D,...m},styles:H,suffix:K,allowClear:ae,className:J(p,g,P,M,I,E,V.root),onChange:ie,addonBefore:f&&S.createElement(wy,{form:!0,space:!0},f),addonAfter:d&&S.createElement(wy,{form:!0,space:!0},d),classNames:{...V,input:J({[`${A}-sm`]:L===`small`,[`${A}-lg`]:L===`large`,[`${A}-rtl`]:C===`rtl`},V.input,N),variant:J({[`${A}-${q}`]:oe},bC(A,te)),affixWrapper:J({[`${A}-affix-wrapper-sm`]:L===`small`,[`${A}-affix-wrapper-lg`]:L===`large`,[`${A}-affix-wrapper-rtl`]:C===`rtl`},N),wrapper:J({[`${A}-group-rtl`]:C===`rtl`},N),groupWrapper:J({[`${A}-group-wrapper-sm`]:L===`small`,[`${A}-group-wrapper-lg`]:L===`large`,[`${A}-group-wrapper-rtl`]:C===`rtl`,[`${A}-group-wrapper-${q}`]:oe},bC(`${A}-group-wrapper`,te,W),N)}})});function WB(e,t,n){return(e-t)/(n-t)}function GB(e,t,n,r){let i=WB(t,n,r),a={};switch(e){case`rtl`:a.right=`${i*100}%`,a.transform=`translateX(50%)`;break;case`btt`:a.bottom=`${i*100}%`,a.transform=`translateY(50%)`;break;case`ttb`:a.top=`${i*100}%`,a.transform=`translateY(-50%)`;break;default:a.left=`${i*100}%`,a.transform=`translateX(-50%)`;break}return a}function KB(e,t){return Array.isArray(e)?e[t]:e}var qB=S.createContext({min:0,max:0,direction:`ltr`,step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),JB=S.createContext({});function YB(){return YB=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,value:r,valueIndex:i,onStartMove:a,onDelete:o,style:s,render:c,dragging:l,draggingDelete:u,onOffsetChange:d,onChangeComplete:f,onFocus:p,onMouseEnter:m,...h}=e,{min:g,max:_,direction:v,disabled:y,keyboard:b,range:x,tabIndex:C,ariaLabelForHandle:w,ariaLabelledByForHandle:T,ariaRequired:E,ariaValueTextFormatterForHandle:D,styles:O,classNames:k}=S.useContext(qB),A=`${n}-handle`,j=e=>{y||a(e,i)},M=e=>{p?.(e,i)},N=e=>{m(e,i)},P=e=>{if(!y&&b){let t=null;switch(e.which||e.keyCode){case Qr.LEFT:t=v===`ltr`||v===`btt`?-1:1;break;case Qr.RIGHT:t=v===`ltr`||v===`btt`?1:-1;break;case Qr.UP:t=v===`ttb`?-1:1;break;case Qr.DOWN:t=v===`ttb`?1:-1;break;case Qr.HOME:t=`min`;break;case Qr.END:t=`max`;break;case Qr.PAGE_UP:t=2;break;case Qr.PAGE_DOWN:t=-2;break;case Qr.BACKSPACE:case Qr.DELETE:o?.(i);break}t!==null&&(e.preventDefault(),d(t,i))}},F=e=>{switch(e.which||e.keyCode){case Qr.LEFT:case Qr.RIGHT:case Qr.UP:case Qr.DOWN:case Qr.HOME:case Qr.END:case Qr.PAGE_UP:case Qr.PAGE_DOWN:f?.();break}},I=GB(v,r,g,_),L={};i!==null&&(L={tabIndex:y?null:KB(C,i),role:`slider`,"aria-valuemin":g,"aria-valuemax":_,"aria-valuenow":r,"aria-disabled":y,"aria-label":KB(w,i),"aria-labelledby":KB(T,i),"aria-required":KB(E,i),"aria-valuetext":KB(D,i)?.(r),"aria-orientation":v===`ltr`||v===`rtl`?`horizontal`:`vertical`,onMouseDown:j,onTouchStart:j,onFocus:M,onMouseEnter:N,onKeyDown:P,onKeyUp:F});let R=S.createElement(`div`,YB({ref:t,className:J(A,{[`${A}-${i+1}`]:i!==null&&x,[`${A}-dragging`]:l,[`${A}-dragging-delete`]:u},k.handle),style:{...I,...s,...O.handle}},L,h));return c&&(R=c(R,{index:i,prefixCls:n,value:r,dragging:l,draggingDelete:u})),R});function ZB(){return ZB=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,style:r,onStartMove:i,onOffsetChange:a,values:o,handleRender:s,activeHandleRender:c,draggingIndex:l,draggingDelete:u,onFocus:d,...f}=e,p=S.useRef({}),[m,h]=S.useState(!1),[g,_]=S.useState(-1),v=e=>{_(e),h(!0)},y=(e,t)=>{v(t),d?.(e)},b=(e,t)=>{v(t)};S.useImperativeHandle(t,()=>({focus:e=>{p.current[e]?.focus()},hideHelp:()=>{(0,Vi.flushSync)(()=>{h(!1)})}}));let x={prefixCls:n,onStartMove:i,onOffsetChange:a,render:s,onFocus:y,onMouseEnter:b,...f};return S.createElement(S.Fragment,null,o.map((e,t)=>{let n=l===t;return S.createElement(XB,ZB({ref:e=>{e?p.current[t]=e:delete p.current[t]},dragging:n,draggingDelete:n&&u,style:KB(r,t),key:t,value:e,valueIndex:t},x))}),c&&m&&S.createElement(XB,ZB({key:`a11y`},x,{value:o[g],valueIndex:null,dragging:l!==-1,draggingDelete:u,render:c,style:{pointerEvents:`none`},tabIndex:null,"aria-hidden":!0})))}),$B=e=>{let{prefixCls:t,style:n,children:r,value:i,onClick:a}=e,{min:o,max:s,direction:c,includedStart:l,includedEnd:u,included:d}=S.useContext(qB),f=`${t}-text`,p=GB(c,i,o,s);return S.createElement(`span`,{className:J(f,{[`${f}-active`]:d&&l<=i&&i<=u}),style:{...p,...n},onMouseDown:e=>{e.stopPropagation()},onClick:()=>{a(i)}},r)},eV=e=>{let{prefixCls:t,marks:n,onClick:r}=e,i=`${t}-mark`;return n.length?S.createElement(`div`,{className:i},n.map(({value:e,style:t,label:n})=>S.createElement($B,{key:e,prefixCls:i,style:t,value:e,onClick:r},n))):null},tV=e=>{let{prefixCls:t,value:n,style:r,activeStyle:i}=e,{min:a,max:o,direction:s,included:c,includedStart:l,includedEnd:u}=S.useContext(qB),d=`${t}-dot`,f=c&&l<=n&&n<=u,p={...GB(s,n,a,o),...typeof r==`function`?r(n):r};return f&&(p={...p,...typeof i==`function`?i(n):i}),S.createElement(`span`,{className:J(d,{[`${d}-active`]:f}),style:p})},nV=e=>{let{prefixCls:t,marks:n,dots:r,style:i,activeStyle:a}=e,{min:o,max:s,step:c}=S.useContext(qB),l=S.useMemo(()=>{let e=new Set;if(n.forEach(t=>{e.add(t.value)}),r&&c!==null){let t=o;for(;t<=s;)e.add(t),t+=c}return Array.from(e)},[o,s,c,r,n]);return S.createElement(`div`,{className:`${t}-step`},l.map(e=>S.createElement(tV,{prefixCls:t,key:e,value:e,style:i,activeStyle:a})))},rV=e=>{let{prefixCls:t,style:n,start:r,end:i,index:a,onStartMove:o,replaceCls:s}=e,{direction:c,min:l,max:u,disabled:d,range:f,classNames:p}=S.useContext(qB),m=`${t}-track`,h=WB(r,l,u),g=WB(i,l,u),_=e=>{!d&&o&&o(e,-1)},v={};switch(c){case`rtl`:v.right=`${h*100}%`,v.width=`${g*100-h*100}%`;break;case`btt`:v.bottom=`${h*100}%`,v.height=`${g*100-h*100}%`;break;case`ttb`:v.top=`${h*100}%`,v.height=`${g*100-h*100}%`;break;default:v.left=`${h*100}%`,v.width=`${g*100-h*100}%`}let y=s||J(m,{[`${m}-${a+1}`]:a!==null&&f,[`${t}-track-draggable`]:o},p.track);return S.createElement(`div`,{className:y,style:{...v,...n},onMouseDown:_,onTouchStart:_})},iV=e=>{let{prefixCls:t,style:n,values:r,startPoint:i,onStartMove:a}=e,{included:o,range:s,min:c,styles:l,classNames:u}=S.useContext(qB),d=S.useMemo(()=>{if(!s){if(r.length===0)return[];let e=i??c,t=r[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}let e=[];for(let t=0;tS.createElement(rV,{index:i,prefixCls:t,style:{...KB(n,i),...l.track},start:e,end:r,key:i,onStartMove:a})))},aV=130;function oV(e){let t=`targetTouches`in e?e.targetTouches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function sV(e,t,n,r,i,a,o,s,c,l,u){let[d,f]=S.useState(null),[p,m]=S.useState(-1),[h,g]=S.useState(!1),[_,v]=S.useState(n),[y,b]=S.useState(n),x=S.useRef(null),C=S.useRef(null),w=S.useRef(null),{onDragStart:T,onDragChange:E}=S.useContext(JB);Hn(()=>{p===-1&&v(n)},[n,p]),S.useEffect(()=>()=>{document.removeEventListener(`mousemove`,x.current),document.removeEventListener(`mouseup`,C.current),w.current&&(w.current.removeEventListener(`touchmove`,x.current),w.current.removeEventListener(`touchend`,C.current))},[]);let D=(e,t,n)=>{t!==void 0&&f(t),v(e);let r=e;n&&(r=e.filter((e,t)=>t!==p)),o(r),E&&E({rawValues:e,deleteIndex:n?p:-1,draggingIndex:p,draggingValue:t})},O=zn((e,t,n)=>{if(e===-1){let e=y[0],n=y[y.length-1],o=r-e,s=i-n,c=t*(i-r);c=Math.max(c,o),c=Math.min(c,s),c=a(e+c)-e,D(y.map(e=>e+c))}else{let a=(i-r)*t,o=[..._];o[e]=y[e];let s=c(o,a,e,`dist`);D(s.values,s.value,n)}});return[p,d,h,S.useMemo(()=>{let e=[...n].sort((e,t)=>e-t),t=[..._].sort((e,t)=>e-t),r={};t.forEach(e=>{r[e]=(r[e]||0)+1}),e.forEach(e=>{r[e]=(r[e]||0)-1});let i=+!!l;return Object.values(r).reduce((e,t)=>e+Math.abs(t),0)<=i?_:n},[n,_,l]),(r,i,a)=>{r.stopPropagation();let o=a||n,c=o[i];m(i),f(c),b(o),v(o),g(!1);let{pageX:d,pageY:p}=oV(r),h=!1;T&&T({rawValues:o,draggingIndex:i,draggingValue:c});let y=n=>{n.preventDefault();let{pageX:r,pageY:a}=oV(n),o=r-d,s=a-p,{width:c,height:f}=e.current.getBoundingClientRect(),m,v;switch(t){case`btt`:m=-s/f,v=o;break;case`ttb`:m=s/f,v=o;break;case`rtl`:m=-o/c,v=s;break;default:m=o/c,v=s}h=l?Math.abs(v)>aV&&u<_.length:!1,g(h),O(i,m,h)},S=e=>{e.preventDefault(),document.removeEventListener(`mouseup`,S),document.removeEventListener(`mousemove`,y),w.current&&(w.current.removeEventListener(`touchmove`,x.current),w.current.removeEventListener(`touchend`,C.current)),x.current=null,C.current=null,w.current=null,s(h),m(-1),g(!1)};document.addEventListener(`mouseup`,S),document.addEventListener(`mousemove`,y),r.currentTarget.addEventListener(`touchend`,S),r.currentTarget.addEventListener(`touchmove`,y),x.current=y,C.current=S,w.current=r.currentTarget}]}function cV(e,t,n,r,i,a){let o=S.useCallback(n=>Math.max(e,Math.min(t,n)),[e,t]),s=S.useCallback(r=>{if(n!==null){let i=e+Math.round((o(r)-e)/n)*n,a=e=>(String(e).split(`.`)[1]||``).length,s=Math.max(a(n),a(t),a(e)),c=Number(i.toFixed(s));return e<=c&&c<=t?c:null}return null},[n,e,t,o]),c=S.useCallback(i=>{let a=o(i),c=r.map(e=>e.value);n!==null&&c.push(s(i)),c.push(e,t);let l=c[0],u=t-e;return c.forEach(e=>{let t=Math.abs(a-e);t<=u&&(l=e,u=t)}),l},[e,t,r,n,o,s]),l=(i,a,o,c=`unit`)=>{if(typeof a==`number`){let u,d=i[o],f=d+a,p=[];r.forEach(e=>{p.push(e.value)}),p.push(e,t),p.push(s(d));let m=a>0?1:-1;c===`unit`?p.push(s(d+m*n)):p.push(s(f)),p=p.filter(e=>e!==null).filter(e=>a<0?e<=d:e>=d),c===`unit`&&(p=p.filter(e=>e!==d));let h=c===`unit`?d:f;u=p[0];let g=Math.abs(u-h);if(p.forEach(e=>{let t=Math.abs(e-h);t1){let e=[...i];return e[o]=u,l(e,a-m,o,c)}return u}else if(a===`min`)return e;else if(a===`max`)return t},u=(e,t,n,r=`unit`)=>{let i=e[n],a=l(e,t,n,r);return{value:a,changed:a!==i}},d=e=>a===null&&e===0||typeof a==`number`&&e{let o=e.map(c),s=o[n];if(o[n]=l(o,t,n,r),i===!1){let e=a||0;n>0&&o[n-1]!==s&&(o[n]=Math.max(o[n],o[n-1]+e)),n0;--e){let t=!0;for(;d(o[e]-o[e-1])&&t;)({value:o[e-1],changed:t}=u(o,-1,e-1))}for(let e=o.length-1;e>0;--e){let t=!0;for(;d(o[e]-o[e-1])&&t;)({value:o[e-1],changed:t}=u(o,-1,e-1))}for(let e=0;e{if(e===!0||!e)return[!!e,!1,!1,0];let{editable:t,draggableTrack:n,minCount:r,maxCount:i}=e;return[!0,t,!t&&n,r||0,i]},[e])}var uV=S.forwardRef((e,t)=>{let{prefixCls:n=`rc-slider`,className:r,style:i,classNames:a,styles:o,id:s,disabled:c=!1,keyboard:l=!0,autoFocus:u,onFocus:d,onBlur:f,min:p=0,max:m=100,step:h=1,value:g,defaultValue:_,range:v,count:y,onChange:b,onBeforeChange:x,onAfterChange:C,onChangeComplete:w,allowCross:T=!0,pushable:E=!1,reverse:D,vertical:O,included:k=!0,startPoint:A,trackStyle:j,handleStyle:M,railStyle:N,dotStyle:P,activeDotStyle:F,marks:I,dots:L,handleRender:R,activeHandleRender:z,track:B,tabIndex:V=0,ariaLabelForHandle:H,ariaLabelledByForHandle:U,ariaRequired:W,ariaValueTextFormatterForHandle:ee}=e,te=S.useRef(null),ne=S.useRef(null),re=S.useMemo(()=>O?D?`ttb`:`btt`:D?`rtl`:`ltr`,[D,O]),[G,ie,K,ae,q]=lV(v),oe=S.useMemo(()=>isFinite(p)?p:0,[p]),se=S.useMemo(()=>isFinite(m)?m:100,[m]),ce=S.useMemo(()=>h!==null&&h<=0?1:h,[h]),le=S.useMemo(()=>typeof E==`boolean`?E?ce:!1:E>=0?E:!1,[E,ce]),ue=S.useMemo(()=>Object.keys(I||{}).map(e=>{let t=I[e],n={value:Number(e)};return t&&typeof t==`object`&&!S.isValidElement(t)&&(`label`in t||`style`in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(({label:e})=>e||typeof e==`number`).sort((e,t)=>e.value-t.value),[I]),[de,fe]=cV(oe,se,ce,ue,T,le),[pe,me]=Gn(_,g),he=S.useMemo(()=>{let e=pe==null?[]:Array.isArray(pe)?pe:[pe],[t=oe]=e,n=pe===null?[]:[t];if(G){if(n=[...e],y||pe===void 0){let e=y>=0?y+1:2;for(n=n.slice(0,e);n.lengthe-t)}return n.forEach((e,t)=>{n[t]=de(e)}),n},[pe,G,oe,y,de]),ge=e=>G?e:e[0],_e=zn(e=>{let t=[...e].sort((e,t)=>e-t);b&&!fi(t,he,!0)&&b(ge(t)),me(t)}),ve=zn(e=>{e&&te.current.hideHelp();let t=ge(he);C?.(t),ui(!C,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),w?.(t)}),ye=e=>{if(c||!ie||he.length<=ae)return;let t=[...he];t.splice(e,1),x?.(ge(t)),_e(t);let n=Math.max(0,e-1);te.current.hideHelp(),te.current.focus(n)},[be,xe,Se,Ce,we]=sV(ne,re,he,oe,se,de,_e,ve,fe,ie,ae),Te=(e,t)=>{if(!c){let n=[...he],r=0,i=0,a=se-oe;he.forEach((t,n)=>{let o=Math.abs(e-t);o<=a&&(a=o,r=n),t{e.preventDefault();let{width:t,height:n,left:r,top:i,bottom:a,right:o}=ne.current.getBoundingClientRect(),{clientX:s,clientY:c}=e,l;switch(re){case`btt`:l=(a-c)/n;break;case`ttb`:l=(c-i)/n;break;case`rtl`:l=(o-s)/t;break;default:l=(s-r)/t}Te(de(oe+l*(se-oe)),e)},[De,Oe]=S.useState(null),ke=(e,t)=>{if(!c){let n=fe(he,e,t);x?.(ge(he)),_e(n.values),Oe(n.value)}};S.useEffect(()=>{if(De!==null){let e=he.indexOf(De);e>=0&&te.current.focus(e)}Oe(null)},[De]);let Ae=S.useMemo(()=>K&&ce===null?!1:K,[K,ce]),je=zn((e,t)=>{we(e,t),x?.(ge(he))}),Me=be!==-1;S.useEffect(()=>{if(!Me){let e=he.lastIndexOf(xe);te.current.focus(e)}},[Me]);let Ne=S.useMemo(()=>[...Ce].sort((e,t)=>e-t),[Ce]),[Pe,Fe]=S.useMemo(()=>G?[Ne[0],Ne[Ne.length-1]]:[oe,Ne[0]],[Ne,G,oe]);S.useImperativeHandle(t,()=>({focus:()=>{te.current.focus(0)},blur:()=>{let{activeElement:e}=document;ne.current?.contains(e)&&e?.blur()}})),S.useEffect(()=>{u&&te.current.focus(0)},[]);let Ie=S.useMemo(()=>({min:oe,max:se,direction:re,disabled:c,keyboard:l,step:ce,included:k,includedStart:Pe,includedEnd:Fe,range:G,tabIndex:V,ariaLabelForHandle:H,ariaLabelledByForHandle:U,ariaRequired:W,ariaValueTextFormatterForHandle:ee,styles:o||{},classNames:a||{}}),[oe,se,re,c,l,ce,k,Pe,Fe,G,V,H,U,W,ee,o,a]);return S.createElement(qB.Provider,{value:Ie},S.createElement(`div`,{ref:ne,className:J(n,r,{[`${n}-disabled`]:c,[`${n}-vertical`]:O,[`${n}-horizontal`]:!O,[`${n}-with-marks`]:ue.length}),style:i,onMouseDown:Ee,id:s},S.createElement(`div`,{className:J(`${n}-rail`,a?.rail),style:{...N,...o?.rail}}),B!==!1&&S.createElement(iV,{prefixCls:n,style:j,values:he,startPoint:A,onStartMove:Ae?je:void 0}),S.createElement(nV,{prefixCls:n,marks:ue,dots:L,style:P,activeStyle:F}),S.createElement(QB,{ref:te,prefixCls:n,style:M,values:Ce,draggingIndex:be,draggingDelete:Se,onStartMove:je,onOffsetChange:ke,onFocus:d,onBlur:f,handleRender:R,activeHandleRender:z,onChangeComplete:ve,onDelete:ie?ye:void 0}),S.createElement(eV,{prefixCls:n,marks:ue,onClick:Te})))}),dV=(0,S.createContext)({}),fV=S.forwardRef((e,t)=>{let{open:n,draggingDelete:r,value:i}=e,a=(0,S.useRef)(null),o=n&&!r,s=(0,S.useRef)(null);function c(){Oi.cancel(s.current),s.current=null}function l(){s.current=Oi(()=>{a.current?.forceAlign(),s.current=null})}return S.useEffect(()=>(o?l():c(),c),[o,e.title,i]),S.createElement(Jw,{ref:cr(a,t),...e,open:o})}),pV=e=>{let{componentCls:t,antCls:n,controlSize:r,dotSize:i,marginFull:a,marginPart:o,colorFillContentHover:s,handleColorDisabled:c,calc:l,handleSize:u,handleSizeHover:d,handleActiveColor:f,handleActiveOutlineColor:p,handleLineWidth:m,handleLineWidthHover:h,motionDurationMid:g}=e;return{[t]:{...Ul(e),position:`relative`,height:r,margin:`${Y(o)} ${Y(a)}`,padding:0,cursor:`pointer`,touchAction:`none`,"&-vertical":{margin:`${Y(a)} ${Y(o)}`},[`${t}-rail`]:{position:`absolute`,backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${g}`},[`${t}-track,${t}-tracks`]:{position:`absolute`,transition:`background-color ${g}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:`content-box`,backgroundClip:`content-box`,border:`solid rgba(0,0,0,0)`},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:s},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${Y(m)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:`absolute`,width:u,height:u,outline:`none`,userSelect:`none`,"&-dragging-delete":{opacity:0},"&::before":{content:`""`,position:`absolute`,insetInlineStart:l(m).mul(-1).equal(),insetBlockStart:l(m).mul(-1).equal(),width:l(u).add(l(m).mul(2)).equal(),height:l(u).add(l(m).mul(2)).equal(),backgroundColor:`transparent`},"&::after":{content:`""`,position:`absolute`,insetBlockStart:0,insetInlineStart:0,width:u,height:u,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${Y(m)} ${e.handleColor}`,outline:`0px solid transparent`,borderRadius:`50%`,cursor:`pointer`,transition:[`inset-inline-start`,`inset-block-start`,`width`,`height`,`box-shadow`,`outline`].map(e=>`${e} ${g}`).join(`, `)},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:l(d).sub(u).div(2).add(h).mul(-1).equal(),insetBlockStart:l(d).sub(u).div(2).add(h).mul(-1).equal(),width:l(d).add(l(h).mul(2)).equal(),height:l(d).add(l(h).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${Y(h)} ${f}`,outline:`6px solid ${p}`,width:d,height:d,insetInlineStart:e.calc(u).sub(d).div(2).equal(),insetBlockStart:e.calc(u).sub(d).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:`none`}},[`${t}-mark`]:{position:`absolute`,fontSize:e.fontSize},[`${t}-mark-text`]:{position:`absolute`,display:`inline-block`,color:e.colorTextDescription,textAlign:`center`,wordBreak:`keep-all`,cursor:`pointer`,userSelect:`none`,"&-active":{color:e.colorText}},[`${t}-step`]:{position:`absolute`,background:`transparent`,pointerEvents:`none`},[`${t}-dot`]:{position:`absolute`,width:i,height:i,backgroundColor:e.colorBgElevated,border:`${Y(m)} solid ${e.dotBorderColor}`,borderRadius:`50%`,cursor:`pointer`,transition:`border-color ${e.motionDurationSlow}`,pointerEvents:`auto`,"&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:`not-allowed`,[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[` +`;return[mz(`${t}-checkbox`,e),{[n]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS,pointerEvents:`unset`},"&-menus":{display:`flex`,flexWrap:`nowrap`,alignItems:`flex-start`,[`&${n}-menu-empty`]:{[`${n}-menu`]:{width:`100%`,height:`auto`,[r]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.menuPadding,overflow:`auto`,verticalAlign:`top`,listStyle:`none`,"-ms-overflow-style":`-ms-autohiding-scrollbar`,"&:not(:last-child)":{borderInlineEnd:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&-item":{display:`flex`,maxWidth:400,flexWrap:`nowrap`,alignItems:`center`,padding:e.optionPadding,lineHeight:e.lineHeight,cursor:`pointer`,transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:`not-allowed`,"&:hover":{background:`transparent`},[i]:{color:e.colorTextDisabled}},[`&-active:not(${r}-disabled)`]:{"&, &:hover":{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg}},"&-content":{flex:`auto`,minWidth:0,...Hl},[i]:{marginInlineStart:e.paddingXXS,color:e.colorIcon,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}}}}}]},_z=e=>{let{componentCls:t,antCls:n}=e;return[{[t]:{width:e.controlWidth}},{[`${t}-dropdown`]:[{[`&${n}-select-dropdown`]:{padding:0}},gz(e)]},{[`${t}-dropdown-rtl`]:{direction:`rtl`}},l_(e)]},vz=e=>{let t=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:e.controlItemBgActive,optionSelectedFontWeight:e.fontWeightStrong,optionPadding:`${t}px ${e.paddingSM}px`,menuPadding:e.paddingXXS,optionSelectedColor:e.colorText}},yz=Ql(`Cascader`,_z,vz,{resetFont:!1,unitless:{optionSelectedFontWeight:!0}}),bz=$l([`Cascader`,`Panel`],e=>{let{componentCls:t}=e;return{[`${t}-panel`]:[gz(e),{display:`inline-flex`,border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:e.borderRadiusLG,overflowX:`auto`,maxWidth:`100%`,[`${t}-menus`]:{alignItems:`stretch`},[`${t}-menu`]:{height:`auto`},"&-empty":{padding:e.paddingXXS}}]}},vz,{resetFont:!1});function xz(e){let{prefixCls:t,className:n,multiple:r,rootClassName:i,notFoundContent:a,direction:o,expandIcon:s,loadingIcon:c,disabled:l}=e,{expandIcon:u,loadingIcon:d}=ya(`cascader`),f=S.useContext(hm),p=l??f,[m,h,g,_]=sz(t,o),v=sp(h),[y,b]=yz(h,v);bz(h);let{expandIcon:x,loadingIcon:C}=fz({contextExpandIcon:u,contextLoadingIcon:d,expandIcon:s,loadingIcon:c,isRtl:g===`rtl`}),w=a||_?.(`Cascader`)||S.createElement(_C,{componentName:`Cascader`}),T=cz(h,r);return S.createElement(rz,{...e,checkable:T,prefixCls:h,className:J(n,y,i,b,v),notFoundContent:w,direction:g,expandIcon:x,loadingIcon:C,disabled:p})}var{SHOW_CHILD:Sz,SHOW_PARENT:Cz}=oz,wz=(e,t,n)=>{let r=e.toLowerCase().split(t).reduce((e,n,r)=>r===0?[n]:[].concat(pa(e),[t,n]),[]),i=[],a=0;return r.forEach((t,r)=>{let o=a+t.length,s=e.slice(a,o);a=o,r%2==1&&(s=S.createElement(`span`,{className:`${n}-menu-item-keyword`,key:`separator-${r}`},s)),i.push(s)}),i},Tz=(e,t,n,r)=>{let i=[],a=e.toLowerCase();return t.forEach((e,t)=>{t!==0&&i.push(` / `);let o=e[r.label],s=typeof o;(s===`string`||s===`number`)&&(o=wz(String(o),a,n)),i.push(o)}),i},Ez=S.forwardRef((e,t)=>{let{prefixCls:n,size:r,disabled:i,className:a,rootClassName:o,multiple:s,bordered:c=!0,transitionName:l,choiceTransitionName:u=``,popupClassName:d,expandIcon:f,placement:p,showSearch:m,allowClear:h=!0,notFoundContent:g,direction:_,getPopupContainer:v,status:y,showArrow:b,builtinPlacements:x,style:C,variant:w,dropdownClassName:T,dropdownRender:E,onDropdownVisibleChange:D,onPopupVisibleChange:O,dropdownMenuColumnStyle:k,popupRender:A,dropdownStyle:j,popupMenuColumnStyle:M,onOpenChange:N,styles:P,classNames:F,loadingIcon:I,...L}=e,R=gi(L,[`suffixIcon`]),{getPrefixCls:z,getPopupContainer:B,className:V,style:H,classNames:U,styles:W,expandIcon:ee,loadingIcon:te}=ya(`cascader`),{popupOverflow:ne}=S.useContext(ga),{status:re,hasFeedback:G,isFormItemInput:ie,feedbackIcon:K}=S.useContext(Dy),ae=lC(re,y),[q,oe,se,ce]=sz(n,_),le=se===`rtl`,ue=z(),de=sp(q),[fe,pe]=MC(q,de),me=sp(oe);yz(oe,me);let{compactSize:he,compactItemClassnames:ge}=Ah(q,_),[_e,ve]=vC(`cascader`,w,c),ye=g||ce?.(`Cascader`)||S.createElement(_C,{componentName:`Cascader`}),be=UC(A||E),xe=M||k,Se=N||O||D,Ce=S.useMemo(()=>{if(!m)return m;let e={render:Tz};return nf(m)&&(e={...e,...m}),e},[m]),we=Oh(e=>r??he??e),Te=S.useContext(hm),Ee=i??Te,{expandIcon:De,loadingIcon:Oe}=fz({contextExpandIcon:ee,contextLoadingIcon:te,expandIcon:f,loadingIcon:I,isRtl:le}),ke=cz(oe,s),Ae=WC(e.suffixIcon,b),{suffixIcon:je,removeIcon:Me,clearIcon:Ne}=HC({...e,loadingIcon:Oe,hasFeedback:G,feedbackIcon:K,showSuffixIcon:Ae,multiple:s,prefixCls:q,componentName:`Cascader`}),Pe=S.useMemo(()=>p===void 0?le?`bottomRight`:`bottomLeft`:p,[p,le]),Fe=h===!0?{clearIcon:Ne}:h,Ie={...e,variant:_e,size:we,status:ae,disabled:Ee},[Le,Re]=Cf([U,F],[W,P],{props:Ie},{popup:{_default:`root`}}),ze={...Re.popup?.root,...j},[Be]=Lf(`SelectLike`,ze?.zIndex),Ve=J(d||T,`${oe}-dropdown`,{[`${oe}-dropdown-rtl`]:se===`rtl`},o,de,Le.popup?.root,me,fe,pe);return S.createElement(oz,{prefixCls:q,className:J(!n&&oe,{[`${q}-lg`]:we===`large`,[`${q}-sm`]:we===`small`,[`${q}-rtl`]:le,[`${q}-${_e}`]:ve,[`${q}-in-form-item`]:ie},cC(q,ae,G),ge,V,a,o,Le.root,de,me,fe,pe),disabled:Ee,style:{...Re.root,...H,...C},classNames:Le,styles:Re,...R,builtinPlacements:bC(x,ne),direction:se,placement:Pe,notFoundContent:ye,allowClear:Fe,showSearch:Ce,expandIcon:De,suffixIcon:je,removeIcon:Me,loadingIcon:Oe,checkable:ke,popupClassName:Ve,popupPrefixCls:n||oe,popupStyle:{...ze,zIndex:Be},popupRender:be,popupMenuColumnStyle:xe,onPopupVisibleChange:Se,choiceTransitionName:vh(ue,``,u),transitionName:vh(ue,`slide-up`,l),getPopupContainer:v||B,ref:t})}),Dz=lx(Ez,`popupAlign`,e=>gi(e,[`visible`]));Ez.SHOW_PARENT=Cz,Ez.SHOW_CHILD=Sz,Ez.Panel=xz,Ez._InternalPanelDoNotUseOrYouWillBeFired=Dz;var Oz=S.createContext(null),kz=S.forwardRef((e,t)=>{let{prefixCls:n,children:r,indeterminate:i=!1,onMouseEnter:a,onMouseLeave:o,skipGroup:s=!1,disabled:c,rootClassName:l,className:u,style:d,classNames:f,styles:p,name:m,value:h,checked:g,defaultChecked:_,onChange:v,...y}=e,{getPrefixCls:b,direction:x,className:C,style:w,classNames:T,styles:E}=ya(`checkbox`),D=S.useContext(Oz),{isFormItemInput:O}=S.useContext(Dy),k=S.useContext(hm),A=(D?.disabled||c)??k,[j,M]=Gn(_,g),N=j,P=zn(e=>{M(e.target.checked),v?.(e),!s&&D?.toggleOption&&D.toggleOption({label:r,value:h})});D&&!s&&(N=D.value.includes(h));let F=S.useRef(null),I=lr(t,F);S.useEffect(()=>{if(!(s||!D))return D.registerValue(h),()=>{D.cancelValue(h)}},[h,s]),S.useEffect(()=>{F.current?.input&&(F.current.input.indeterminate=i)},[i]);let L=b(`checkbox`,n),R=sp(L),[z,B]=hz(L,R),V={...y},H={...e,indeterminate:i,disabled:A,checked:N},[U,W]=Cf([T,f],[E,p],{props:H}),ee=J(`${L}-wrapper`,{[`${L}-rtl`]:x===`rtl`,[`${L}-wrapper-checked`]:N,[`${L}-wrapper-disabled`]:A,[`${L}-wrapper-in-form-item`]:O},C,u,U.root,l,B,R,z),te=J(U.icon,{[`${L}-indeterminate`]:i},bh,z),[ne,re]=iL(V.onClick);return S.createElement(Dh,{component:`Checkbox`,disabled:A},S.createElement(`label`,{className:ee,style:{...W.root,...w,...d},onMouseEnter:a,onMouseLeave:o,onClick:ne},S.createElement(rL,{...V,name:!s&&D?D.name:m,checked:N,onClick:re,onChange:P,prefixCls:L,className:te,style:W.icon,disabled:A,ref:I,value:h}),$d(r)&&S.createElement(`span`,{className:J(`${L}-label`,U.label),style:W.label},r)))}),Az=S.forwardRef((e,t)=>{let{defaultValue:n,children:r,options:i=[],prefixCls:a,className:o,rootClassName:s,style:c,onChange:l,role:u=`group`,...d}=e,{getPrefixCls:f,direction:p}=S.useContext(ga),[m,h]=S.useState(d.value||n||[]),[g,_]=S.useState([]);S.useEffect(()=>{`value`in d&&h(d.value||[])},[d.value]);let v=S.useMemo(()=>i.map(e=>typeof e==`string`||ef(e)?{label:e,value:e}:e),[i]),y=e=>{_(t=>t.filter(t=>t!==e))},b=e=>{_(t=>[].concat(pa(t),[e]))},x=e=>{let t=m.indexOf(e.value),n=pa(m);t===-1?n.push(e.value):n.splice(t,1),`value`in d||h(n),l?.(n.filter(e=>g.includes(e)).sort((e,t)=>v.findIndex(t=>t.value===e)-v.findIndex(e=>e.value===t)))},C=f(`checkbox`,a),w=`${C}-group`,T=sp(C),[E,D]=hz(C,T),O=gi(d,[`value`,`disabled`]),k=i.length?v.map(e=>S.createElement(kz,{prefixCls:C,key:e.value.toString(),disabled:`disabled`in e?e.disabled:d.disabled,value:e.value,checked:m.includes(e.value),onChange:e.onChange,className:J(`${w}-item`,e.className),style:e.style,title:e.title,id:e.id,required:e.required},e.label)):r,A=S.useMemo(()=>({toggleOption:x,value:m,disabled:d.disabled,name:d.name,registerValue:b,cancelValue:y}),[x,m,d.disabled,d.name,b,y]),j=J(w,{[`${w}-rtl`]:p===`rtl`},o,s,D,T,E);return S.createElement(`div`,{className:j,style:c,role:u,...O,ref:t},S.createElement(Oz.Provider,{value:A},k))}),jz=kz;jz.Group=Az,jz.__ANT_CHECKBOX=!0;var Mz=(0,S.createContext)({});function Nz(e){return e===`auto`?`1 1 auto`:ef(e)?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}var Pz=S.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=S.useContext(ga),{gutter:i,wrap:a}=S.useContext(Mz),{prefixCls:o,span:s,order:c,offset:l,push:u,pull:d,className:f,children:p,flex:m,style:h,...g}=e,_=n(`col`,o),v=n(),[y,b]=Wee(_),[x]=tu(v,`col`),C={},w={};YC.forEach(t=>{let n={},i=e[t];ef(i)?n.span=i:nf(i)&&(n=i||{}),delete g[t],w={...w,[`${_}-${t}-${n.span}`]:$d(n.span),[`${_}-${t}-order-${n.order}`]:n.order||n.order===0,[`${_}-${t}-offset-${n.offset}`]:n.offset||n.offset===0,[`${_}-${t}-push-${n.push}`]:n.push||n.push===0,[`${_}-${t}-pull-${n.pull}`]:n.pull||n.pull===0,[`${_}-rtl`]:r===`rtl`},n.flex&&(w[`${_}-${t}-flex`]=!0,C[x(`${t}-flex`)]=Nz(n.flex))});let T=J(_,{[`${_}-${s}`]:s!==void 0,[`${_}-order-${c}`]:c,[`${_}-offset-${l}`]:l,[`${_}-push-${u}`]:u,[`${_}-pull-${d}`]:d},f,w,y,b),E={};return i?.[0]&&(E.paddingInline=ef(i[0])?`${i[0]/2}px`:`calc(${i[0]} / 2)`),m&&(E.flex=Nz(m),a===!1&&!E.minWidth&&(E.minWidth=0)),S.createElement(`div`,{...g,style:{...E,...h,...C},className:T,ref:t},p)});function Fz(e,t){let n=[void 0,void 0],r=Array.isArray(e)?e:[e,void 0],i=t||{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0,xxxl:!0};return r.forEach((e,t)=>{if(nf(e))for(let r=0;r{let[n,r]=S.useState(()=>tf(e)?e:``),i=()=>{if(tf(e)&&r(e),nf(e))for(let n=0;n{i()},[JSON.stringify(e),t]),n},Lz=S.forwardRef((e,t)=>{let{prefixCls:n,justify:r,align:i,className:a,style:o,children:s,gutter:c=0,wrap:l,...u}=e,{getPrefixCls:d,direction:f}=S.useContext(ga),p=ew(!0,null),m=Iz(i,p),h=Iz(r,p),g=d(`row`,n),[_,v]=Uee(g),y=Fz(c,p),b=J(g,{[`${g}-no-wrap`]:l===!1,[`${g}-${h}`]:h,[`${g}-${m}`]:m,[`${g}-rtl`]:f===`rtl`},a,_,v),x={};y?.[0]&&(x.marginInline=ef(y[0])?`${y[0]/-2}px`:`calc(${y[0]} / -2)`);let[C,w]=y;x.rowGap=w;let T=S.useMemo(()=>({gutter:[C,w],wrap:l}),[C,w,l]);return S.createElement(Mz.Provider,{value:T},S.createElement(`div`,{...u,className:b,style:{...x,...o},ref:t},s))}),Rz=Pz,zz=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`minus`,theme:`outlined`}}))());function Bz(){return Bz=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Bz({},e,{ref:t,icon:zz.default}))),Hz=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z`}}]},name:`up`,theme:`outlined`}}))());function Uz(){return Uz=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Uz({},e,{ref:t,icon:Hz.default})));function Gz(){return typeof BigInt==`function`}function Kz(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function qz(e){var t=e.trim(),n=t.startsWith(`-`);n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,`$1`).replace(/\.0*$/,``).replace(/^0+/,``),t.startsWith(`.`)&&(t=`0${t}`);var r=t||`0`,i=r.split(`.`),a=i[0]||`0`,o=i[1]||`0`;a===`0`&&o===`0`&&(n=!1);var s=n?`-`:``;return{negative:n,negativeStr:s,trimStr:r,integerStr:a,decimalStr:o,fullStr:`${s}${r}`}}function Jz(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes(`e`)}function Yz(e){var t=Rs(e.toLowerCase().split(`e`),2),n=t[0],r=t[1],i=r===void 0?`0`:r,a=n.startsWith(`-`),o=Rs((a?n.slice(1):n).split(`.`),2),s=o[0],c=s===void 0?`0`:s,l=o[1],u=l===void 0?``:l;return{decimal:u,digits:`${c}${u}`.replace(/^0+/,``)||`0`,exponent:Number(i),integer:c,negative:a}}function Xz(e){var t=e.decimal,n=e.digits,r=e.exponent,i=e.integer,a=e.negative;if(n===`0`)return`0`;var o=i.replace(/^0+/,``).length,s=(t.match(/^0*/)||[``])[0].length,c=(o||-s)+r,l=``;return l=c<=0?`0.${`0`.repeat(-c)}${n}`:c>=n.length?`${n}${`0`.repeat(c-n.length)}`:`${n.slice(0,c)}.${n.slice(c)}`,`${a?`-`:``}${l}`}function Zz(e){return e.exponent>=0?Math.max(0,e.decimal.length-e.exponent):Math.abs(e.exponent)+e.decimal.length}function Qz(e){var t=String(e);return Jz(e)?Zz(Yz(t)):t.includes(`.`)&&eB(t)?t.length-t.indexOf(`.`)-1:0}function $z(e){var t=String(e);if(Jz(e)){if(e>2**53-1)return String(Gz()?BigInt(e).toString():2**53-1);if(e<-(2**53-1))return String(Gz()?BigInt(e).toString():-(2**53-1));var n=Yz(t),r=Zz(n);t=r>100?Xz(n):e.toFixed(r)}return qz(t).fullStr}function eB(e){return typeof e==`number`?!Number.isNaN(e):e?/^\s*-?\d+(\.\d+)?\s*$/.test(e)||/^\s*-?\d+\.\s*$/.test(e)||/^\s*-?\.\d+\s*$/.test(e):!1}var tB=function(){function e(t){if(Ws(this,e),Vs(this,`origin`,``),Vs(this,`negative`,void 0),Vs(this,`integer`,void 0),Vs(this,`decimal`,void 0),Vs(this,`decimalLen`,void 0),Vs(this,`empty`,void 0),Vs(this,`nan`,void 0),Kz(t)){this.empty=!0;return}if(this.origin=String(t),t===`-`||Number.isNaN(t)){this.nan=!0;return}var n=t;if(Jz(n)&&(n=Number(n)),n=typeof n==`string`?n:$z(n),eB(n)){var r=qz(n);this.negative=r.negative;var i=r.trimStr.split(`.`);this.integer=BigInt(i[0]);var a=i[1]||`0`;this.decimal=BigInt(a),this.decimalLen=a.length}else this.nan=!0}return Ks(e,[{key:`getMark`,value:function(){return this.negative?`-`:``}},{key:`getIntegerStr`,value:function(){return this.integer.toString()}},{key:`getDecimalStr`,value:function(){return this.decimal.toString().padStart(this.decimalLen,`0`)}},{key:`alignDecimal`,value:function(e){var t=`${this.getMark()}${this.getIntegerStr()}${this.getDecimalStr().padEnd(e,`0`)}`;return BigInt(t)}},{key:`negate`,value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:`cal`,value:function(t,n,r){var i=Math.max(this.getDecimalStr().length,t.getDecimalStr().length),a=n(this.alignDecimal(i),t.alignDecimal(i)).toString(),o=r(i),s=qz(a),c=`${s.negativeStr}${s.trimStr.padStart(o+1,`0`)}`;return new e(`${c.slice(0,-o)}.${c.slice(-o)}`)}},{key:`add`,value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);return n.isInvalidate()?this:this.cal(n,function(e,t){return e+t},function(e){return e})}},{key:`multi`,value:function(t){var n=new e(t);return this.isInvalidate()||n.isInvalidate()?new e(NaN):this.cal(n,function(e,t){return e*t},function(e){return e*2})}},{key:`isEmpty`,value:function(){return this.empty}},{key:`isNaN`,value:function(){return this.nan}},{key:`isInvalidate`,value:function(){return this.isEmpty()||this.isNaN()}},{key:`equals`,value:function(e){return this.toString()===e?.toString()}},{key:`lessEquals`,value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:`toNumber`,value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:`toString`,value:function(){return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.isInvalidate()?``:qz(`${this.getMark()}${this.getIntegerStr()}.${this.getDecimalStr()}`).fullStr:this.origin}}]),e}(),nB=function(){function e(t){if(Ws(this,e),Vs(this,`origin`,``),Vs(this,`number`,void 0),Vs(this,`empty`,void 0),Kz(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return Ks(e,[{key:`negate`,value:function(){return new e(-this.toNumber())}},{key:`add`,value:function(t){if(this.isInvalidate())return new e(t);var n=Number(t);if(Number.isNaN(n))return this;var r=this.number+n;if(r>2**53-1)return new e(2**53-1);if(r<-(2**53-1))return new e(-(2**53-1));var i=Math.max(Qz(this.number),Qz(n));return new e(r.toFixed(i))}},{key:`multi`,value:function(t){var n=Number(t);if(this.isInvalidate()||Number.isNaN(n))return new e(NaN);var r=this.number*n;if(r>2**53-1)return new e(2**53-1);if(r<-(2**53-1))return new e(-(2**53-1));var i=Math.max(Qz(this.number),Qz(n));return new e(r.toFixed(i))}},{key:`isEmpty`,value:function(){return this.empty}},{key:`isNaN`,value:function(){return Number.isNaN(this.number)}},{key:`isInvalidate`,value:function(){return this.isEmpty()||this.isNaN()}},{key:`equals`,value:function(e){return this.toNumber()===e?.toNumber()}},{key:`lessEquals`,value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:`toNumber`,value:function(){return this.number}},{key:`toString`,value:function(){return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.isInvalidate()?``:Jz(this.number)&&Qz(this.number)>100?String(this.number):$z(this.number):this.origin}}]),e}();function rB(e){return Gz()?new tB(e):new nB(e)}function iB(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e===``)return``;var i=qz(e),a=i.negativeStr,o=i.integerStr,s=i.decimalStr,c=`${t}${s}`,l=`${a}${o}`;if(n>=0){var u=Number(s[n]);return u>=5&&!r?iB(rB(e).add(`${a}0.${`0`.repeat(n)}${10-u}`).toString(),t,n,r):n===0?l:`${l}${t}${s.padEnd(n,`0`).slice(0,n)}`}return c===`.0`?l:`${l}${c}`}var aB=rB;function oB(e,t){let n=(0,S.useRef)(null);function r(){try{let{selectionStart:t,selectionEnd:r,value:i}=e;n.current={start:t,end:r,value:i,beforeTxt:i.substring(0,t),afterTxt:i.substring(r)}}catch{}}function i(){if(e&&n.current&&t)try{let{value:t}=e,{beforeTxt:r,afterTxt:i,start:a}=n.current,o=t.length;if(t.startsWith(r))o=r.length;else if(t.endsWith(i))o=t.length-n.current.afterTxt.length;else{let e=r[a-1],n=t.indexOf(e,a-1);n!==-1&&(o=n+1)}e.setSelectionRange(o,o)}catch(e){ui(!1,`Something warning of cursor restore. Please fire issue about this: ${e.message}`)}}return[r,i]}var sB=200,cB=600;function lB({prefixCls:e,action:t,children:n,disabled:r,className:i,style:a,onStep:o}){let s=t===`up`,c=S.useRef(),l=S.useRef([]),u=()=>{clearTimeout(c.current)},d=e=>{e.preventDefault(),u(),o(s,`handler`);function t(){o(s,`handler`),c.current=setTimeout(t,sB)}c.current=setTimeout(t,cB)};S.useEffect(()=>()=>{u(),l.current.forEach(e=>{Oi.cancel(e)})},[]);let f=`${e}-action`,p=J(f,`${f}-${t}`,{[`${f}-${t}-disabled`]:r},i),m=()=>l.current.push(Oi(u));return S.createElement(`span`,{unselectable:`on`,role:`button`,onMouseUp:m,onMouseLeave:m,onMouseDown:e=>{d(e)},"aria-label":s?`Increase Value`:`Decrease Value`,"aria-disabled":r,className:p,style:a},n||S.createElement(`span`,{unselectable:`on`,className:`${e}-action-${t}-inner`}))}function uB(e){let t=typeof e==`number`?$z(e):qz(e).fullStr;return t.includes(`.`)?qz(t.replace(/(\d)\.(\d)/g,`$1$2.`)).fullStr:e+`0`}var dB=(()=>{let e=(0,S.useRef)(0),t=()=>{Oi.cancel(e.current)};return(0,S.useEffect)(()=>t,[]),n=>{t(),e.current=Oi(()=>{n()})}});function fB(){return fB=Object.assign?Object.assign.bind():function(e){for(var t=1;te||t.isEmpty()?t.toString():t.toNumber(),mB=e=>{let t=aB(e);return t.isInvalidate()?null:t},hB=S.forwardRef((e,t)=>{let{mode:n=`input`,prefixCls:r=`rc-input-number`,className:i,style:a,classNames:o,styles:s,min:c,max:l,step:u=1,defaultValue:d,value:f,disabled:p,readOnly:m,upHandler:h,downHandler:g,keyboard:_,changeOnWheel:v=!1,controls:y=!0,prefix:b,suffix:x,stringMode:C,parser:w,formatter:T,precision:E,decimalSeparator:D,onChange:O,onInput:k,onPressEnter:A,onStep:j,onMouseDown:M,onClick:N,onMouseUp:P,onMouseLeave:F,onMouseMove:I,onMouseEnter:L,onMouseOut:R,changeOnBlur:z=!0,...B}=e,[V,H]=S.useState(!1),U=S.useRef(!1),W=S.useRef(!1),ee=S.useRef(!1),te=S.useRef(null),ne=S.useRef(null);S.useImperativeHandle(t,()=>Si(ne.current,{focus:e=>{Nr(ne.current,e)},blur:()=>{ne.current?.blur()},nativeElement:te.current}));let[re,G]=S.useState(()=>aB(f??d));function ie(e){f===void 0&&G(e)}let K=S.useCallback((e,t)=>{if(!t)return E>=0?E:Math.max(Qz(e),Qz(u))},[E,u]),ae=S.useCallback(e=>{let t=String(e);if(w)return w(t);let n=t;return D&&(n=n.replace(D,`.`)),n.replace(/[^\w.-]+/g,``)},[w,D]),q=S.useRef(``),oe=S.useCallback((e,t)=>{if(T)return T(e,{userTyping:t,input:String(q.current)});let n=typeof e==`number`?$z(e):e;if(!t){let e=K(n,t);eB(n)&&(D||e>=0)&&(n=iB(n,D||`.`,e))}return n},[T,K,D]),[se,ce]=S.useState(()=>{let e=d??f;return re.isInvalidate()&&[`string`,`number`].includes(typeof e)?Number.isNaN(e)?``:e:oe(re.toString(),!1)});q.current=se;function le(e,t){ce(oe(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}let ue=S.useMemo(()=>mB(l),[l,E]),de=S.useMemo(()=>mB(c),[c,E]),fe=S.useMemo(()=>!ue||!re||re.isInvalidate()?!1:ue.lessEquals(re),[ue,re]),pe=S.useMemo(()=>!de||!re||re.isInvalidate()?!1:re.lessEquals(de),[de,re]),[me,he]=oB(ne.current,V),ge=e=>ue&&!e.lessEquals(ue)?ue:de&&!de.lessEquals(e)?de:null,_e=e=>!ge(e),ve=(e,t)=>{let n=e,r=_e(n)||n.isEmpty();if(!n.isEmpty()&&!t&&(n=ge(n)||n,r=!0),!m&&!p&&r){let e=n.toString(),r=K(e,t);return r>=0&&(n=aB(iB(e,`.`,r)),_e(n)||(n=aB(iB(e,`.`,r,!0)))),n.equals(re)||(ie(n),O?.(n.isEmpty()?null:pB(C,n)),f===void 0&&le(n,t)),n}return re},ye=dB(),be=e=>{if(me(),q.current=e,ce(e),!W.current){let t=aB(ae(e));t.isNaN()||ve(t,!0)}k?.(e),ye(()=>{let t=e;w||(t=e.replace(/。/g,`.`)),t!==e&&be(t)})},xe=()=>{W.current=!0},Se=()=>{W.current=!1,be(ne.current.value)},Ce=e=>{be(e.target.value)},we=zn((e,t)=>{if(e&&fe||!e&&pe)return;U.current=!1;let n=aB(ee.current?uB(u):u);e||(n=n.negate());let r=ve((re||aB(0)).add(n.toString()),!1);j?.(pB(C,r),{offset:ee.current?uB(u):u,type:e?`up`:`down`,emitter:t}),ne.current?.focus()}),Te=e=>{let t=aB(ae(se)),n;n=t.isNaN()?ve(re,e):ve(t,e),f===void 0?n.isNaN()||le(n,!1):le(re,!1)},Ee=()=>{U.current=!0},De=e=>{let{key:t,shiftKey:n}=e;U.current=!0,ee.current=n,t===`Enter`&&(W.current||(U.current=!1),Te(!1),A?.(e)),_!==!1&&!W.current&&[`Up`,`ArrowUp`,`Down`,`ArrowDown`].includes(t)&&(we(t===`Up`||t===`ArrowUp`,`keyboard`),e.preventDefault())},Oe=()=>{U.current=!1,ee.current=!1};S.useEffect(()=>{if(v&&V){let e=e=>{we(e.deltaY<0,`wheel`),e.preventDefault()},t=ne.current;if(t)return t.addEventListener(`wheel`,e,{passive:!1}),()=>t.removeEventListener(`wheel`,e)}});let ke=()=>{z&&Te(!1),H(!1),U.current=!1},Ae=e=>{ne.current&&e.target!==ne.current&&(ne.current.focus(),e.preventDefault()),M?.(e)};Un(()=>{re.isInvalidate()||le(re,!1)},[E,T]),Un(()=>{let e=aB(f);G(e);let t=aB(ae(se));(!e.equals(t)||!U.current||T)&&le(e,U.current)},[f]),Un(()=>{T&&he()},[se]);let je={prefixCls:r,onStep:we,className:o?.action,style:s?.action},Me=S.createElement(lB,fB({},je,{action:`up`,disabled:fe}),h),Ne=S.createElement(lB,fB({},je,{action:`down`,disabled:pe}),g);return S.createElement(`div`,{ref:te,className:J(r,`${r}-mode-${n}`,i,o?.root,{[`${r}-focused`]:V,[`${r}-disabled`]:p,[`${r}-readonly`]:m,[`${r}-not-a-number`]:re.isNaN(),[`${r}-out-of-range`]:!re.isInvalidate()&&!_e(re)}),style:{...s?.root,...a},onMouseDown:Ae,onMouseUp:P,onMouseLeave:F,onMouseMove:I,onMouseEnter:L,onMouseOut:R,onClick:N,onFocus:()=>{H(!0)},onBlur:ke,onKeyDown:De,onKeyUp:Oe,onCompositionStart:xe,onCompositionEnd:Se,onBeforeInput:Ee},n===`spinner`&&y&&Ne,b!==void 0&&S.createElement(`div`,{className:J(`${r}-prefix`,o?.prefix),style:s?.prefix},b),S.createElement(`input`,fB({autoComplete:`off`,role:`spinbutton`,"aria-valuemin":c,"aria-valuemax":l,"aria-valuenow":re.isInvalidate()?null:re.toString(),step:u,ref:ne,className:J(`${r}-input`,o?.input),style:s?.input,value:se,onChange:Ce,disabled:p,readOnly:m},B)),x!==void 0&&S.createElement(`div`,{className:J(`${r}-suffix`,o?.suffix),style:s?.suffix},x),n===`spinner`&&y&&Me,n===`input`&&y&&S.createElement(`div`,{className:J(`${r}-actions`,o?.actions),style:s?.actions},Me,Ne))}),gB=e=>{let{componentCls:t,borderRadius:n,paddingSM:r,colorBorder:i,paddingXS:a,fontSizeLG:o,fontSizeSM:s,borderRadiusLG:c,borderRadiusSM:l,colorBgContainerDisabled:u,lineWidth:d,antCls:f}=e,[p,m]=tu(f,`space`);return{[t]:[{display:`inline-flex`,alignItems:`center`,gap:0,whiteSpace:`nowrap`,paddingInline:r,margin:0,borderWidth:d,borderStyle:`solid`,borderRadius:n,"&:hover":{zIndex:0},[`&${t}-disabled`]:{color:e.colorTextDisabled},"&-large":{fontSize:o,borderRadius:c},"&-small":{paddingInline:a,borderRadius:l,fontSize:s},"&-compact-last-item":{borderEndStartRadius:0,borderStartStartRadius:0},"&-compact-first-item":{borderEndEndRadius:0,borderStartEndRadius:0},"&-compact-item:not(:first-child):not(:last-child)":{borderRadius:0},"&-compact-item:not(:last-child)":{borderInlineEndWidth:0},"&-compact-item:not(:first-child)":{borderInlineStartWidth:0}},{[p(`addon-border-color`)]:i,[p(`addon-background`)]:u,[p(`addon-border-color-outlined`)]:i,[p(`addon-background-filled`)]:u,borderColor:m(`addon-border-color`),background:m(`addon-background`),"&-variant-outlined":{[p(`addon-border-color`)]:m(`addon-border-color-outlined`)},"&-variant-filled":{[p(`addon-border-color`)]:`transparent`,[p(`addon-background`)]:m(`addon-background-filled`),[`&${t}-disabled`]:{[p(`addon-border-color`)]:i,[p(`addon-background`)]:u}},"&-variant-borderless":{border:`none`,background:`transparent`},"&-variant-underlined":{border:`none`,background:`transparent`}},{"&-status-error":{[p(`addon-border-color-outlined`)]:e.colorError,[p(`addon-background-filled`)]:e.colorErrorBg,color:e.colorError},"&-status-warning":{[p(`addon-border-color-outlined`)]:e.colorWarning,[p(`addon-background-filled`)]:e.colorWarningBg,color:e.colorWarning}}]}},_B=Ql([`Space`,`Addon`],e=>[gB(e),l_(e,{focus:!1})]),vB=S.forwardRef((e,t)=>{let{className:n,children:r,style:i,prefixCls:a,variant:o=`outlined`,disabled:s,status:c,...l}=e,{getPrefixCls:u,direction:d}=S.useContext(ga),f=u(`space-addon`,a),[p,m]=_B(f),{compactItemClassnames:h,compactSize:g}=Ah(f,d),_=cC(f,c),v=J(f,p,h,m,`${f}-variant-${o}`,_,{[`${f}-${g}`]:g,[`${f}-disabled`]:s},n);return S.createElement(`div`,{ref:t,className:v,style:i,...l},r)}),yB=e=>{let t=e.handleVisible??`auto`,n=e.controlHeightSM-e.lineWidth*2;return{...lL(e),controlWidth:90,handleWidth:n,handleFontSize:e.fontSize/2,handleVisible:t,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new Nc(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:+(t===!0),handleVisibleWidth:t===!0?n:0}},bB=e=>{let{componentCls:t,lineWidth:n,lineType:r,borderRadius:i,inputFontSizeSM:a,inputFontSizeLG:o,colorError:s,paddingInlineSM:c,paddingBlockSM:l,paddingBlockLG:u,paddingInlineLG:d,colorIcon:f,colorTextDisabled:p,motionDurationMid:m,handleHoverColor:h,handleOpacity:g,paddingInline:_,paddingBlock:v,handleBg:y,handleActiveBg:b,inputAffixPadding:x,borderRadiusSM:S,controlWidth:C,handleBorderColor:w,filledHandleBg:T,lineHeightLG:E,antCls:D}=e,O=`${Y(n)} ${r} ${w}`,[k,A]=tu(D,`input-number`);return[{[t]:{...Ul(e),...EL(e),[k(`input-padding-block`)]:Y(v),[k(`input-padding-inline`)]:Y(_),display:`inline-flex`,width:C,margin:0,paddingBlock:0,borderRadius:i,...pL(e,{[`${t}-actions`]:{background:y,[`${t}-action-down`]:{borderBlockStart:O}}}),...vL(e,{[`${t}-actions`]:{background:T,[`${t}-action-down`]:{borderBlockStart:O}},"&:focus-within":{[`${t}-actions`]:{background:y}}}),...SL(e,{[`${t}-actions`]:{background:y,[`${t}-action-down`]:{borderBlockStart:O}}}),...hL(e),[`&${t}-borderless`]:{paddingBlock:0,[k(`input-padding-block`)]:Y(e.calc(v).add(n).equal())},[`&${t}-borderless${t}-sm`]:{paddingBlock:0,[k(`input-padding-block`)]:Y(e.calc(l).add(n).equal())},[`&${t}-borderless${t}-lg`]:{paddingBlock:0,[k(`input-padding-block`)]:Y(e.calc(u).add(n).equal())},"&-rtl":{direction:`rtl`,[`${t}-input`]:{direction:`rtl`}},[`&${t}-out-of-range`]:{[`${t}-input`]:{color:s}},[`${t}-input`]:{...Ul(e),width:`100%`,paddingBlock:A(`input-padding-block`),textAlign:`start`,backgroundColor:`transparent`,border:0,borderRadius:0,outline:0,transition:`all ${m} linear`,appearance:`textfield`,fontSize:`inherit`,lineHeight:`inherit`,...CL(e.colorTextPlaceholder),'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:`none`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&-disabled ${t}-input`]:{cursor:`not-allowed`,color:e.colorTextDisabled}}},{[t]:{[`${t}-action`]:{...Wl(),userSelect:`none`,overflow:`hidden`,fontWeight:`bold`,lineHeight:0,textAlign:`center`,cursor:`pointer`,transition:`all ${m} linear`,[`&:active:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{background:b},[`&:hover:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{color:h},[`&${t}-action-up-disabled, &${t}-action-down-disabled`]:{cursor:`not-allowed`,color:p}},"&-mode-input":{overflow:`hidden`,[`${t}-actions`]:{position:`absolute`,insetBlockStart:0,insetInlineEnd:0,width:e.handleVisibleWidth,opacity:g,height:`100%`,borderRadius:0,display:`flex`,flexDirection:`column`,alignItems:`stretch`,transition:`all ${m}`,overflow:`hidden`,[`${t}-action`]:{display:`flex`,alignItems:`center`,justifyContent:`center`,flex:`auto`,height:`40%`,marginInlineEnd:0,fontSize:e.handleFontSize}},[`&:hover ${t}-actions, &-focused ${t}-actions`]:{width:e.handleWidth,opacity:1},[`${t}-action`]:{color:f,height:`50%`,borderInlineStart:O,[`&:hover:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{height:`60%`}},[`&${t}-disabled, &${t}-readonly`]:{[`${t}-actions`]:{display:`none`}}},[`&${t}-mode-spinner`]:{padding:0,width:`auto`,[`${t}-action`]:{flex:`none`,paddingInline:A(`input-padding-inline`),"&-up":{borderInlineStart:O},"&-down":{borderInlineEnd:O}},[`${t}-input`]:{textAlign:`center`,paddingInline:A(`input-padding-inline`)}}}},{[t]:{"&-lg":{[k(`input-padding-block`)]:Y(u),[k(`input-padding-inline`)]:Y(d),paddingBlock:0,fontSize:o,lineHeight:E},"&-sm":{[k(`input-padding-block`)]:Y(l),[k(`input-padding-inline`)]:Y(c),paddingBlock:0,fontSize:a,borderRadius:S}}},{[t]:{[`${t}-prefix, ${t}-suffix`]:{display:`flex`,flex:`none`,alignItems:`center`,alignSelf:`center`,pointerEvents:`none`},[`${t}-prefix`]:{marginInlineEnd:x},[`${t}-suffix`]:{height:`100%`,marginInlineStart:x,transition:`margin ${m}`},[`&:hover:not(${t}-without-controls)`]:{[`${t}-suffix`]:{marginInlineEnd:e.handleWidth}}}}]},xB=e=>{let{componentCls:t,antCls:n}=e;return{[`${t}-addon`]:{[`&:has(${n}-select)`]:{border:0,padding:0}}}},SB=Ql(`InputNumber`,e=>{let t=dc(e,cL(e));return[bB(t),xB(t),l_(t)]},yB,{unitless:{handleOpacity:!0},resetFont:!1}),CB=S.forwardRef((e,t)=>{let n=S.useRef(null);S.useImperativeHandle(t,()=>n.current);let{rootClassName:r,size:i,disabled:a,prefixCls:o,addonBefore:s,addonAfter:c,prefix:l,suffix:u,bordered:d,readOnly:f,status:p,controls:m=!0,variant:h,className:g,style:_,classNames:v,styles:y,mode:b,...x}=e,{direction:C,className:w,style:T,styles:E,classNames:D}=ya(`inputNumber`),O=S.useContext(hm),k=a??O,A=S.useMemo(()=>!m||k||f?!1:m,[m,k,f]),{compactSize:j,compactItemClassnames:M}=Ah(o,C),N=b===`spinner`?S.createElement(NL,null):S.createElement(Wz,null),P=b===`spinner`?S.createElement(Vz,null):S.createElement(RC,null),F=typeof A==`boolean`?A:void 0;nf(A)&&(N=A.upIcon||N,P=A.downIcon||P);let{hasFeedback:I,isFormItemInput:L,feedbackIcon:R}=S.useContext(Dy),z=Oh(e=>i??j??e),[B,V]=vC(`inputNumber`,h,d),H=I&&S.createElement(S.Fragment,null,R),U={...e,size:z,disabled:k,controls:A},[W,ee]=Cf([D,v],[E,y],{props:U});return S.createElement(hB,{ref:n,mode:b,disabled:k,className:J(g,r,W.root,w,M,cC(o,p,I),{[`${o}-${B}`]:V,[`${o}-lg`]:z===`large`,[`${o}-sm`]:z===`small`,[`${o}-rtl`]:C===`rtl`,[`${o}-in-form-item`]:L,[`${o}-without-controls`]:!A}),style:{...ee.root,...T,..._},upHandler:N,downHandler:P,prefixCls:o,readOnly:f,controls:F,prefix:l,suffix:H||u,classNames:W,styles:ee,...x})}),wB=S.forwardRef((e,t)=>{let{addonBefore:n,addonAfter:r,prefixCls:i,className:a,status:o,rootClassName:s,...c}=e,{getPrefixCls:l}=ya(`inputNumber`),u=l(`input-number`,i),{status:d}=S.useContext(Dy),f=lC(d,o),p=sp(u),[m,h]=SB(u,p),g=n||r,_=S.createElement(CB,{ref:t,...c,prefixCls:u,status:f,className:J(h,p,m,a),rootClassName:g?void 0:s});if(g){let t=t=>t?S.createElement(vB,{className:J(`${u}-addon`,h,m),variant:e.variant,disabled:e.disabled,status:f},S.createElement(Ay,{form:!0},t)):null,i=t(n),a=t(r);return S.createElement(Mh,{rootClassName:s},i,_,a)}return _}),TB=wB;TB._InternalPanelDoNotUseOrYouWillBeFired=e=>S.createElement(Fm,{theme:{components:{InputNumber:{handleVisible:!0}}}},S.createElement(wB,{...e}));function EB(e){return!!(e.addonBefore||e.addonAfter)}function DB(e){return!!(e.prefix||e.suffix||e.allowClear)}function OB(e,t,n){let r=t.cloneNode(!0),i=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart==`number`&&typeof t.selectionEnd==`number`&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=(...e)=>{t.setSelectionRange(...e)},i}function kB(e,t,n,r){if(!n)return;let i=t;if(t.type===`click`){i=OB(t,e,``),n(i);return}if(e.type!==`file`&&r!==void 0){i=OB(t,e,r),n(i);return}n(i)}function AB(){return AB=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{inputElement:n,children:r,prefixCls:i,prefix:a,suffix:o,addonBefore:s,addonAfter:c,className:l,style:u,disabled:d,readOnly:f,focused:p,triggerFocus:m,allowClear:h,value:g,handleReset:_,hidden:v,classes:y,classNames:b,dataAttrs:x,styles:C,components:w,onClear:T}=e,E=r??n,D=w?.affixWrapper||`span`,O=w?.groupWrapper||`span`,k=w?.wrapper||`span`,A=w?.groupAddon||`span`,j=(0,S.useRef)(null),M=e=>{j.current?.contains(e.target)&&m?.()},N=DB(e),P=(0,S.cloneElement)(E,{value:g,className:J(E.props?.className,!N&&b?.variant)||null}),F=(0,S.useRef)(null);if(S.useImperativeHandle(t,()=>({nativeElement:F.current||j.current})),N){let e=null;if(h){let t=!d&&!f&&g,n=`${i}-clear-icon`,r=typeof h==`object`&&h?.clearIcon?h.clearIcon:`✖`;e=S.createElement(`button`,{type:`button`,tabIndex:-1,onClick:e=>{_?.(e),T?.()},onMouseDown:e=>e.preventDefault(),className:J(n,{[`${n}-hidden`]:!t,[`${n}-has-suffix`]:!!o})},r)}let t=`${i}-affix-wrapper`,n=J(t,{[`${i}-disabled`]:d,[`${t}-disabled`]:d,[`${t}-focused`]:p,[`${t}-readonly`]:f,[`${t}-input-with-clear-btn`]:o&&h&&g},y?.affixWrapper,b?.affixWrapper,b?.variant),r=(o||h)&&S.createElement(`span`,{className:J(`${i}-suffix`,b?.suffix),style:C?.suffix},e,o);P=S.createElement(D,AB({className:n,style:C?.affixWrapper,onClick:M},x?.affixWrapper,{ref:j}),a&&S.createElement(`span`,{className:J(`${i}-prefix`,b?.prefix),style:C?.prefix},a),P,r)}if(EB(e)){let e=`${i}-group`,t=`${e}-addon`,n=`${e}-wrapper`,r=J(`${i}-wrapper`,e,y?.wrapper,b?.wrapper),a=J(n,{[`${n}-disabled`]:d},y?.group,b?.groupWrapper);P=S.createElement(O,{className:a,ref:F},S.createElement(k,{className:r},s&&S.createElement(A,{className:t},s),P,c&&S.createElement(A,{className:t},c)))}return S.cloneElement(P,{className:J(P.props?.className,l)||null,style:{...P.props?.style,...u},hidden:v})});function MB(e,t){return S.useMemo(()=>{let n={};t&&(n.show=typeof t==`object`&&t.formatter?t.formatter:!!t),n={...n,...e};let{show:r,...i}=n;return{...i,show:!!r,showFormatter:typeof r==`function`?r:void 0,strategy:i.strategy||(e=>e.length)}},[e,t])}function NB(){return NB=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{autoComplete:n,onChange:r,onFocus:i,onBlur:a,onPressEnter:o,onKeyDown:s,onKeyUp:c,prefixCls:l=`rc-input`,disabled:u,htmlSize:d,className:f,maxLength:p,suffix:m,showCount:h,count:g,type:_=`text`,classes:v,classNames:y,styles:b,onCompositionStart:x,onCompositionEnd:C,...w}=e,[T,E]=(0,S.useState)(!1),D=(0,S.useRef)(!1),O=(0,S.useRef)(!1),k=(0,S.useRef)(null),A=(0,S.useRef)(null),j=e=>{k.current&&Nr(k.current,e)},[M,N]=Gn(e.defaultValue,e.value),P=M==null?``:String(M),[F,I]=(0,S.useState)(null),L=MB(g,h),R=L.max||p,z=L.strategy(P),B=!!R&&z>R;(0,S.useImperativeHandle)(t,()=>({focus:j,blur:()=>{k.current?.blur()},setSelectionRange:(e,t,n)=>{k.current?.setSelectionRange(e,t,n)},select:()=>{k.current?.select()},input:k.current,nativeElement:A.current?.nativeElement||k.current})),(0,S.useEffect)(()=>{O.current&&=!1,E(e=>e&&u?!1:e)},[u]);let V=(e,t,n)=>{let i=t;if(!D.current&&L.exceedFormatter&&L.max&&L.strategy(t)>L.max)i=L.exceedFormatter(t,{max:L.max}),t!==i&&I([k.current?.selectionStart||0,k.current?.selectionEnd||0]);else if(n.source===`compositionEnd`)return;N(i),k.current&&kB(k.current,e,r,i)};(0,S.useEffect)(()=>{F&&k.current?.setSelectionRange(...F)},[F]);let H=e=>{V(e,e.target.value,{source:`change`})},U=e=>{D.current=!1,V(e,e.currentTarget.value,{source:`compositionEnd`}),C?.(e)},W=e=>{o&&e.key===`Enter`&&!O.current&&!e.nativeEvent.isComposing&&(O.current=!0,o(e)),s?.(e)},ee=e=>{e.key===`Enter`&&(O.current=!1),c?.(e)},te=e=>{E(!0),i?.(e)},ne=e=>{O.current&&=!1,E(!1),a?.(e)},re=e=>{N(``),j(),k.current&&kB(k.current,e,r)},G=B&&`${l}-out-of-range`;return S.createElement(jB,NB({},w,{prefixCls:l,className:J(f,G),handleReset:re,value:P,focused:T,triggerFocus:j,suffix:(()=>{let e=Number(R)>0;if(m||L.show){let t=L.showFormatter?L.showFormatter({value:P,count:z,maxLength:R}):`${z}${e?` / ${R}`:``}`;return S.createElement(S.Fragment,null,L.show&&S.createElement(`span`,{className:J(`${l}-show-count-suffix`,{[`${l}-show-count-has-suffix`]:!!m},y?.count),style:{...b?.count}},t),m)}return null})(),disabled:u,classes:v,classNames:y,styles:b,ref:A}),(()=>{let t=gi(e,[`prefixCls`,`onPressEnter`,`addonBefore`,`addonAfter`,`prefix`,`suffix`,`allowClear`,`defaultValue`,`showCount`,`count`,`classes`,`htmlSize`,`styles`,`classNames`,`onClear`]);return S.createElement(`input`,NB({autoComplete:n},t,{onChange:H,onFocus:te,onBlur:ne,onKeyDown:W,onKeyUp:ee,className:J(l,{[`${l}-disabled`]:u},y?.input),style:b?.input,ref:k,size:d,type:_,onCompositionStart:e=>{D.current=!0,x?.(e)},onCompositionEnd:U}))})())}),FB=e=>{let t;return nf(e)&&e?.clearIcon?t=e:e&&(t={clearIcon:S.createElement(Ou,null)}),t};function IB(e,t){let n=(0,S.useRef)([]),r=()=>{n.current.push(setTimeout(()=>{e.current?.input&&e.current?.input.getAttribute(`type`)===`password`&&e.current?.input.hasAttribute(`value`)&&e.current?.input.removeAttribute(`value`)}))};return(0,S.useEffect)(()=>(t&&r(),()=>n.current.forEach(e=>{e&&clearTimeout(e)})),[]),r}function LB(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var RB=(0,S.forwardRef)((e,t)=>{let{prefixCls:n,bordered:r=!0,status:i,size:a,disabled:o,onBlur:s,onFocus:c,suffix:l,allowClear:u,addonAfter:d,addonBefore:f,className:p,style:m,styles:h,rootClassName:g,onChange:_,classNames:v,variant:y,...b}=e,{getPrefixCls:x,direction:C,allowClear:w,autoComplete:T,className:E,style:D,classNames:O,styles:k}=ya(`input`),A=x(`input`,n),j=(0,S.useRef)(null),M=sp(A),[N,P]=DL(A,g);OL(A,M);let{compactSize:F,compactItemClassnames:I}=Ah(A,C),L=Oh(e=>a??F??e),R=S.useContext(hm),z=o??R,B={...e,size:L,disabled:z},[V,H]=Cf([O,v],[k,h],{props:B}),{status:U,hasFeedback:W,feedbackIcon:ee}=(0,S.useContext)(Dy),te=lC(U,i);(0,S.useRef)(LB(e)||!!W);let ne=IB(j,!0),re=e=>{ne(),s?.(e)},G=e=>{ne(),c?.(e)},ie=e=>{ne(),_?.(e)},K=(W||l)&&S.createElement(S.Fragment,null,l,W&&ee),ae=FB(u??w),[q,oe]=vC(`input`,y,r);return S.createElement(PB,{ref:cr(t,j),prefixCls:A,autoComplete:T,...b,disabled:z,onBlur:re,onFocus:G,style:{...H.root,...D,...m},styles:H,suffix:K,allowClear:ae,className:J(p,g,P,M,I,E,V.root),onChange:ie,addonBefore:f&&S.createElement(Ay,{form:!0,space:!0},f),addonAfter:d&&S.createElement(Ay,{form:!0,space:!0},d),classNames:{...V,input:J({[`${A}-sm`]:L===`small`,[`${A}-lg`]:L===`large`,[`${A}-rtl`]:C===`rtl`},V.input,N),variant:J({[`${A}-${q}`]:oe},cC(A,te)),affixWrapper:J({[`${A}-affix-wrapper-sm`]:L===`small`,[`${A}-affix-wrapper-lg`]:L===`large`,[`${A}-affix-wrapper-rtl`]:C===`rtl`},N),wrapper:J({[`${A}-group-rtl`]:C===`rtl`},N),groupWrapper:J({[`${A}-group-wrapper-sm`]:L===`small`,[`${A}-group-wrapper-lg`]:L===`large`,[`${A}-group-wrapper-rtl`]:C===`rtl`,[`${A}-group-wrapper-${q}`]:oe},cC(`${A}-group-wrapper`,te,W),N)}})});function zB(e,t,n){return(e-t)/(n-t)}function BB(e,t,n,r){let i=zB(t,n,r),a={};switch(e){case`rtl`:a.right=`${i*100}%`,a.transform=`translateX(50%)`;break;case`btt`:a.bottom=`${i*100}%`,a.transform=`translateY(50%)`;break;case`ttb`:a.top=`${i*100}%`,a.transform=`translateY(-50%)`;break;default:a.left=`${i*100}%`,a.transform=`translateX(-50%)`;break}return a}function VB(e,t){return Array.isArray(e)?e[t]:e}var HB=S.createContext({min:0,max:0,direction:`ltr`,step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),UB=S.createContext({});function WB(){return WB=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,value:r,valueIndex:i,onStartMove:a,onDelete:o,style:s,render:c,dragging:l,draggingDelete:u,onOffsetChange:d,onChangeComplete:f,onFocus:p,onMouseEnter:m,...h}=e,{min:g,max:_,direction:v,disabled:y,keyboard:b,range:x,tabIndex:C,ariaLabelForHandle:w,ariaLabelledByForHandle:T,ariaRequired:E,ariaValueTextFormatterForHandle:D,styles:O,classNames:k}=S.useContext(HB),A=`${n}-handle`,j=e=>{y||a(e,i)},M=e=>{p?.(e,i)},N=e=>{m(e,i)},P=e=>{if(!y&&b){let t=null;switch(e.which||e.keyCode){case Qr.LEFT:t=v===`ltr`||v===`btt`?-1:1;break;case Qr.RIGHT:t=v===`ltr`||v===`btt`?1:-1;break;case Qr.UP:t=v===`ttb`?-1:1;break;case Qr.DOWN:t=v===`ttb`?1:-1;break;case Qr.HOME:t=`min`;break;case Qr.END:t=`max`;break;case Qr.PAGE_UP:t=2;break;case Qr.PAGE_DOWN:t=-2;break;case Qr.BACKSPACE:case Qr.DELETE:o?.(i);break}t!==null&&(e.preventDefault(),d(t,i))}},F=e=>{switch(e.which||e.keyCode){case Qr.LEFT:case Qr.RIGHT:case Qr.UP:case Qr.DOWN:case Qr.HOME:case Qr.END:case Qr.PAGE_UP:case Qr.PAGE_DOWN:f?.();break}},I=BB(v,r,g,_),L={};i!==null&&(L={tabIndex:y?null:VB(C,i),role:`slider`,"aria-valuemin":g,"aria-valuemax":_,"aria-valuenow":r,"aria-disabled":y,"aria-label":VB(w,i),"aria-labelledby":VB(T,i),"aria-required":VB(E,i),"aria-valuetext":VB(D,i)?.(r),"aria-orientation":v===`ltr`||v===`rtl`?`horizontal`:`vertical`,onMouseDown:j,onTouchStart:j,onFocus:M,onMouseEnter:N,onKeyDown:P,onKeyUp:F});let R=S.createElement(`div`,WB({ref:t,className:J(A,{[`${A}-${i+1}`]:i!==null&&x,[`${A}-dragging`]:l,[`${A}-dragging-delete`]:u},k.handle),style:{...I,...s,...O.handle}},L,h));return c&&(R=c(R,{index:i,prefixCls:n,value:r,dragging:l,draggingDelete:u})),R});function KB(){return KB=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,style:r,onStartMove:i,onOffsetChange:a,values:o,handleRender:s,activeHandleRender:c,draggingIndex:l,draggingDelete:u,onFocus:d,...f}=e,p=S.useRef({}),[m,h]=S.useState(!1),[g,_]=S.useState(-1),v=e=>{_(e),h(!0)},y=(e,t)=>{v(t),d?.(e)},b=(e,t)=>{v(t)};S.useImperativeHandle(t,()=>({focus:e=>{p.current[e]?.focus()},hideHelp:()=>{(0,Vi.flushSync)(()=>{h(!1)})}}));let x={prefixCls:n,onStartMove:i,onOffsetChange:a,render:s,onFocus:y,onMouseEnter:b,...f};return S.createElement(S.Fragment,null,o.map((e,t)=>{let n=l===t;return S.createElement(GB,KB({ref:e=>{e?p.current[t]=e:delete p.current[t]},dragging:n,draggingDelete:n&&u,style:VB(r,t),key:t,value:e,valueIndex:t},x))}),c&&m&&S.createElement(GB,KB({key:`a11y`},x,{value:o[g],valueIndex:null,dragging:l!==-1,draggingDelete:u,render:c,style:{pointerEvents:`none`},tabIndex:null,"aria-hidden":!0})))}),JB=e=>{let{prefixCls:t,style:n,children:r,value:i,onClick:a}=e,{min:o,max:s,direction:c,includedStart:l,includedEnd:u,included:d}=S.useContext(HB),f=`${t}-text`,p=BB(c,i,o,s);return S.createElement(`span`,{className:J(f,{[`${f}-active`]:d&&l<=i&&i<=u}),style:{...p,...n},onMouseDown:e=>{e.stopPropagation()},onClick:()=>{a(i)}},r)},YB=e=>{let{prefixCls:t,marks:n,onClick:r}=e,i=`${t}-mark`;return n.length?S.createElement(`div`,{className:i},n.map(({value:e,style:t,label:n})=>S.createElement(JB,{key:e,prefixCls:i,style:t,value:e,onClick:r},n))):null},XB=e=>{let{prefixCls:t,value:n,style:r,activeStyle:i}=e,{min:a,max:o,direction:s,included:c,includedStart:l,includedEnd:u}=S.useContext(HB),d=`${t}-dot`,f=c&&l<=n&&n<=u,p={...BB(s,n,a,o),...typeof r==`function`?r(n):r};return f&&(p={...p,...typeof i==`function`?i(n):i}),S.createElement(`span`,{className:J(d,{[`${d}-active`]:f}),style:p})},ZB=e=>{let{prefixCls:t,marks:n,dots:r,style:i,activeStyle:a}=e,{min:o,max:s,step:c}=S.useContext(HB),l=S.useMemo(()=>{let e=new Set;if(n.forEach(t=>{e.add(t.value)}),r&&c!==null){let t=o;for(;t<=s;)e.add(t),t+=c}return Array.from(e)},[o,s,c,r,n]);return S.createElement(`div`,{className:`${t}-step`},l.map(e=>S.createElement(XB,{prefixCls:t,key:e,value:e,style:i,activeStyle:a})))},QB=e=>{let{prefixCls:t,style:n,start:r,end:i,index:a,onStartMove:o,replaceCls:s}=e,{direction:c,min:l,max:u,disabled:d,range:f,classNames:p}=S.useContext(HB),m=`${t}-track`,h=zB(r,l,u),g=zB(i,l,u),_=e=>{!d&&o&&o(e,-1)},v={};switch(c){case`rtl`:v.right=`${h*100}%`,v.width=`${g*100-h*100}%`;break;case`btt`:v.bottom=`${h*100}%`,v.height=`${g*100-h*100}%`;break;case`ttb`:v.top=`${h*100}%`,v.height=`${g*100-h*100}%`;break;default:v.left=`${h*100}%`,v.width=`${g*100-h*100}%`}let y=s||J(m,{[`${m}-${a+1}`]:a!==null&&f,[`${t}-track-draggable`]:o},p.track);return S.createElement(`div`,{className:y,style:{...v,...n},onMouseDown:_,onTouchStart:_})},$B=e=>{let{prefixCls:t,style:n,values:r,startPoint:i,onStartMove:a}=e,{included:o,range:s,min:c,styles:l,classNames:u}=S.useContext(HB),d=S.useMemo(()=>{if(!s){if(r.length===0)return[];let e=i??c,t=r[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}let e=[];for(let t=0;tS.createElement(QB,{index:i,prefixCls:t,style:{...VB(n,i),...l.track},start:e,end:r,key:i,onStartMove:a})))},eV=130;function tV(e){let t=`targetTouches`in e?e.targetTouches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function nV(e,t,n,r,i,a,o,s,c,l,u){let[d,f]=S.useState(null),[p,m]=S.useState(-1),[h,g]=S.useState(!1),[_,v]=S.useState(n),[y,b]=S.useState(n),x=S.useRef(null),C=S.useRef(null),w=S.useRef(null),{onDragStart:T,onDragChange:E}=S.useContext(UB);Hn(()=>{p===-1&&v(n)},[n,p]),S.useEffect(()=>()=>{document.removeEventListener(`mousemove`,x.current),document.removeEventListener(`mouseup`,C.current),w.current&&(w.current.removeEventListener(`touchmove`,x.current),w.current.removeEventListener(`touchend`,C.current))},[]);let D=(e,t,n)=>{t!==void 0&&f(t),v(e);let r=e;n&&(r=e.filter((e,t)=>t!==p)),o(r),E&&E({rawValues:e,deleteIndex:n?p:-1,draggingIndex:p,draggingValue:t})},O=zn((e,t,n)=>{if(e===-1){let e=y[0],n=y[y.length-1],o=r-e,s=i-n,c=t*(i-r);c=Math.max(c,o),c=Math.min(c,s),c=a(e+c)-e,D(y.map(e=>e+c))}else{let a=(i-r)*t,o=[..._];o[e]=y[e];let s=c(o,a,e,`dist`);D(s.values,s.value,n)}});return[p,d,h,S.useMemo(()=>{let e=[...n].sort((e,t)=>e-t),t=[..._].sort((e,t)=>e-t),r={};t.forEach(e=>{r[e]=(r[e]||0)+1}),e.forEach(e=>{r[e]=(r[e]||0)-1});let i=+!!l;return Object.values(r).reduce((e,t)=>e+Math.abs(t),0)<=i?_:n},[n,_,l]),(r,i,a)=>{r.stopPropagation();let o=a||n,c=o[i];m(i),f(c),b(o),v(o),g(!1);let{pageX:d,pageY:p}=tV(r),h=!1;T&&T({rawValues:o,draggingIndex:i,draggingValue:c});let y=n=>{n.preventDefault();let{pageX:r,pageY:a}=tV(n),o=r-d,s=a-p,{width:c,height:f}=e.current.getBoundingClientRect(),m,v;switch(t){case`btt`:m=-s/f,v=o;break;case`ttb`:m=s/f,v=o;break;case`rtl`:m=-o/c,v=s;break;default:m=o/c,v=s}h=l?Math.abs(v)>eV&&u<_.length:!1,g(h),O(i,m,h)},S=e=>{e.preventDefault(),document.removeEventListener(`mouseup`,S),document.removeEventListener(`mousemove`,y),w.current&&(w.current.removeEventListener(`touchmove`,x.current),w.current.removeEventListener(`touchend`,C.current)),x.current=null,C.current=null,w.current=null,s(h),m(-1),g(!1)};document.addEventListener(`mouseup`,S),document.addEventListener(`mousemove`,y),r.currentTarget.addEventListener(`touchend`,S),r.currentTarget.addEventListener(`touchmove`,y),x.current=y,C.current=S,w.current=r.currentTarget}]}function rV(e,t,n,r,i,a){let o=S.useCallback(n=>Math.max(e,Math.min(t,n)),[e,t]),s=S.useCallback(r=>{if(n!==null){let i=e+Math.round((o(r)-e)/n)*n,a=e=>(String(e).split(`.`)[1]||``).length,s=Math.max(a(n),a(t),a(e)),c=Number(i.toFixed(s));return e<=c&&c<=t?c:null}return null},[n,e,t,o]),c=S.useCallback(i=>{let a=o(i),c=r.map(e=>e.value);n!==null&&c.push(s(i)),c.push(e,t);let l=c[0],u=t-e;return c.forEach(e=>{let t=Math.abs(a-e);t<=u&&(l=e,u=t)}),l},[e,t,r,n,o,s]),l=(i,a,o,c=`unit`)=>{if(typeof a==`number`){let u,d=i[o],f=d+a,p=[];r.forEach(e=>{p.push(e.value)}),p.push(e,t),p.push(s(d));let m=a>0?1:-1;c===`unit`?p.push(s(d+m*n)):p.push(s(f)),p=p.filter(e=>e!==null).filter(e=>a<0?e<=d:e>=d),c===`unit`&&(p=p.filter(e=>e!==d));let h=c===`unit`?d:f;u=p[0];let g=Math.abs(u-h);if(p.forEach(e=>{let t=Math.abs(e-h);t1){let e=[...i];return e[o]=u,l(e,a-m,o,c)}return u}else if(a===`min`)return e;else if(a===`max`)return t},u=(e,t,n,r=`unit`)=>{let i=e[n],a=l(e,t,n,r);return{value:a,changed:a!==i}},d=e=>a===null&&e===0||typeof a==`number`&&e{let o=e.map(c),s=o[n];if(o[n]=l(o,t,n,r),i===!1){let e=a||0;n>0&&o[n-1]!==s&&(o[n]=Math.max(o[n],o[n-1]+e)),n0;--e){let t=!0;for(;d(o[e]-o[e-1])&&t;)({value:o[e-1],changed:t}=u(o,-1,e-1))}for(let e=o.length-1;e>0;--e){let t=!0;for(;d(o[e]-o[e-1])&&t;)({value:o[e-1],changed:t}=u(o,-1,e-1))}for(let e=0;e{if(e===!0||!e)return[!!e,!1,!1,0];let{editable:t,draggableTrack:n,minCount:r,maxCount:i}=e;return[!0,t,!t&&n,r||0,i]},[e])}var aV=S.forwardRef((e,t)=>{let{prefixCls:n=`rc-slider`,className:r,style:i,classNames:a,styles:o,id:s,disabled:c=!1,keyboard:l=!0,autoFocus:u,onFocus:d,onBlur:f,min:p=0,max:m=100,step:h=1,value:g,defaultValue:_,range:v,count:y,onChange:b,onBeforeChange:x,onAfterChange:C,onChangeComplete:w,allowCross:T=!0,pushable:E=!1,reverse:D,vertical:O,included:k=!0,startPoint:A,trackStyle:j,handleStyle:M,railStyle:N,dotStyle:P,activeDotStyle:F,marks:I,dots:L,handleRender:R,activeHandleRender:z,track:B,tabIndex:V=0,ariaLabelForHandle:H,ariaLabelledByForHandle:U,ariaRequired:W,ariaValueTextFormatterForHandle:ee}=e,te=S.useRef(null),ne=S.useRef(null),re=S.useMemo(()=>O?D?`ttb`:`btt`:D?`rtl`:`ltr`,[D,O]),[G,ie,K,ae,q]=iV(v),oe=S.useMemo(()=>isFinite(p)?p:0,[p]),se=S.useMemo(()=>isFinite(m)?m:100,[m]),ce=S.useMemo(()=>h!==null&&h<=0?1:h,[h]),le=S.useMemo(()=>typeof E==`boolean`?E?ce:!1:E>=0?E:!1,[E,ce]),ue=S.useMemo(()=>Object.keys(I||{}).map(e=>{let t=I[e],n={value:Number(e)};return t&&typeof t==`object`&&!S.isValidElement(t)&&(`label`in t||`style`in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(({label:e})=>e||typeof e==`number`).sort((e,t)=>e.value-t.value),[I]),[de,fe]=rV(oe,se,ce,ue,T,le),[pe,me]=Gn(_,g),he=S.useMemo(()=>{let e=pe==null?[]:Array.isArray(pe)?pe:[pe],[t=oe]=e,n=pe===null?[]:[t];if(G){if(n=[...e],y||pe===void 0){let e=y>=0?y+1:2;for(n=n.slice(0,e);n.lengthe-t)}return n.forEach((e,t)=>{n[t]=de(e)}),n},[pe,G,oe,y,de]),ge=e=>G?e:e[0],_e=zn(e=>{let t=[...e].sort((e,t)=>e-t);b&&!fi(t,he,!0)&&b(ge(t)),me(t)}),ve=zn(e=>{e&&te.current.hideHelp();let t=ge(he);C?.(t),ui(!C,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),w?.(t)}),ye=e=>{if(c||!ie||he.length<=ae)return;let t=[...he];t.splice(e,1),x?.(ge(t)),_e(t);let n=Math.max(0,e-1);te.current.hideHelp(),te.current.focus(n)},[be,xe,Se,Ce,we]=nV(ne,re,he,oe,se,de,_e,ve,fe,ie,ae),Te=(e,t)=>{if(!c){let n=[...he],r=0,i=0,a=se-oe;he.forEach((t,n)=>{let o=Math.abs(e-t);o<=a&&(a=o,r=n),t{e.preventDefault();let{width:t,height:n,left:r,top:i,bottom:a,right:o}=ne.current.getBoundingClientRect(),{clientX:s,clientY:c}=e,l;switch(re){case`btt`:l=(a-c)/n;break;case`ttb`:l=(c-i)/n;break;case`rtl`:l=(o-s)/t;break;default:l=(s-r)/t}Te(de(oe+l*(se-oe)),e)},[De,Oe]=S.useState(null),ke=(e,t)=>{if(!c){let n=fe(he,e,t);x?.(ge(he)),_e(n.values),Oe(n.value)}};S.useEffect(()=>{if(De!==null){let e=he.indexOf(De);e>=0&&te.current.focus(e)}Oe(null)},[De]);let Ae=S.useMemo(()=>K&&ce===null?!1:K,[K,ce]),je=zn((e,t)=>{we(e,t),x?.(ge(he))}),Me=be!==-1;S.useEffect(()=>{if(!Me){let e=he.lastIndexOf(xe);te.current.focus(e)}},[Me]);let Ne=S.useMemo(()=>[...Ce].sort((e,t)=>e-t),[Ce]),[Pe,Fe]=S.useMemo(()=>G?[Ne[0],Ne[Ne.length-1]]:[oe,Ne[0]],[Ne,G,oe]);S.useImperativeHandle(t,()=>({focus:()=>{te.current.focus(0)},blur:()=>{let{activeElement:e}=document;ne.current?.contains(e)&&e?.blur()}})),S.useEffect(()=>{u&&te.current.focus(0)},[]);let Ie=S.useMemo(()=>({min:oe,max:se,direction:re,disabled:c,keyboard:l,step:ce,included:k,includedStart:Pe,includedEnd:Fe,range:G,tabIndex:V,ariaLabelForHandle:H,ariaLabelledByForHandle:U,ariaRequired:W,ariaValueTextFormatterForHandle:ee,styles:o||{},classNames:a||{}}),[oe,se,re,c,l,ce,k,Pe,Fe,G,V,H,U,W,ee,o,a]);return S.createElement(HB.Provider,{value:Ie},S.createElement(`div`,{ref:ne,className:J(n,r,{[`${n}-disabled`]:c,[`${n}-vertical`]:O,[`${n}-horizontal`]:!O,[`${n}-with-marks`]:ue.length}),style:i,onMouseDown:Ee,id:s},S.createElement(`div`,{className:J(`${n}-rail`,a?.rail),style:{...N,...o?.rail}}),B!==!1&&S.createElement($B,{prefixCls:n,style:j,values:he,startPoint:A,onStartMove:Ae?je:void 0}),S.createElement(ZB,{prefixCls:n,marks:ue,dots:L,style:P,activeStyle:F}),S.createElement(qB,{ref:te,prefixCls:n,style:M,values:Ce,draggingIndex:be,draggingDelete:Se,onStartMove:je,onOffsetChange:ke,onFocus:d,onBlur:f,handleRender:R,activeHandleRender:z,onChangeComplete:ve,onDelete:ie?ye:void 0}),S.createElement(YB,{prefixCls:n,marks:ue,onClick:Te})))}),oV=(0,S.createContext)({}),sV=S.forwardRef((e,t)=>{let{open:n,draggingDelete:r,value:i}=e,a=(0,S.useRef)(null),o=n&&!r,s=(0,S.useRef)(null);function c(){Oi.cancel(s.current),s.current=null}function l(){s.current=Oi(()=>{a.current?.forceAlign(),s.current=null})}return S.useEffect(()=>(o?l():c(),c),[o,e.title,i]),S.createElement(Iw,{ref:cr(a,t),...e,open:o})}),cV=e=>{let{componentCls:t,antCls:n,controlSize:r,dotSize:i,marginFull:a,marginPart:o,colorFillContentHover:s,handleColorDisabled:c,calc:l,handleSize:u,handleSizeHover:d,handleActiveColor:f,handleActiveOutlineColor:p,handleLineWidth:m,handleLineWidthHover:h,motionDurationMid:g}=e;return{[t]:{...Ul(e),position:`relative`,height:r,margin:`${Y(o)} ${Y(a)}`,padding:0,cursor:`pointer`,touchAction:`none`,"&-vertical":{margin:`${Y(a)} ${Y(o)}`},[`${t}-rail`]:{position:`absolute`,backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${g}`},[`${t}-track,${t}-tracks`]:{position:`absolute`,transition:`background-color ${g}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:`content-box`,backgroundClip:`content-box`,border:`solid rgba(0,0,0,0)`},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:s},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${Y(m)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:`absolute`,width:u,height:u,outline:`none`,userSelect:`none`,"&-dragging-delete":{opacity:0},"&::before":{content:`""`,position:`absolute`,insetInlineStart:l(m).mul(-1).equal(),insetBlockStart:l(m).mul(-1).equal(),width:l(u).add(l(m).mul(2)).equal(),height:l(u).add(l(m).mul(2)).equal(),backgroundColor:`transparent`},"&::after":{content:`""`,position:`absolute`,insetBlockStart:0,insetInlineStart:0,width:u,height:u,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${Y(m)} ${e.handleColor}`,outline:`0px solid transparent`,borderRadius:`50%`,cursor:`pointer`,transition:[`inset-inline-start`,`inset-block-start`,`width`,`height`,`box-shadow`,`outline`].map(e=>`${e} ${g}`).join(`, `)},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:l(d).sub(u).div(2).add(h).mul(-1).equal(),insetBlockStart:l(d).sub(u).div(2).add(h).mul(-1).equal(),width:l(d).add(l(h).mul(2)).equal(),height:l(d).add(l(h).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${Y(h)} ${f}`,outline:`6px solid ${p}`,width:d,height:d,insetInlineStart:e.calc(u).sub(d).div(2).equal(),insetBlockStart:e.calc(u).sub(d).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:`none`}},[`${t}-mark`]:{position:`absolute`,fontSize:e.fontSize},[`${t}-mark-text`]:{position:`absolute`,display:`inline-block`,color:e.colorTextDescription,textAlign:`center`,wordBreak:`keep-all`,cursor:`pointer`,userSelect:`none`,"&-active":{color:e.colorText}},[`${t}-step`]:{position:`absolute`,background:`transparent`,pointerEvents:`none`},[`${t}-dot`]:{position:`absolute`,width:i,height:i,backgroundColor:e.colorBgElevated,border:`${Y(m)} solid ${e.dotBorderColor}`,borderRadius:`50%`,cursor:`pointer`,transition:`border-color ${e.motionDurationSlow}`,pointerEvents:`auto`,"&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:`not-allowed`,[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[` ${t}-dot `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:`none`,cursor:`not-allowed`},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:`not-allowed`,width:u,height:u,boxShadow:`0 0 0 ${Y(m)} ${c}`,insetInlineStart:0,insetBlockStart:0},[` ${t}-mark-text, ${t}-dot - `]:{cursor:`not-allowed !important`}},[`&-tooltip ${n}-tooltip-container`]:{minWidth:`unset`}}}},mV=(e,t)=>{let{componentCls:n,railSize:r,handleSize:i,dotSize:a,marginFull:o,calc:s}=e,c=t?`paddingBlock`:`paddingInline`,l=t?`width`:`height`,u=t?`height`:`width`,d=t?`insetBlockStart`:`insetInlineStart`,f=t?`top`:`insetInlineStart`,p=s(r).mul(3).sub(i).div(2).equal(),m=s(i).sub(r).div(2).equal(),h=t?{borderWidth:`${Y(m)} 0`,transform:`translateY(${Y(s(m).mul(-1).equal())})`}:{borderWidth:`0 ${Y(m)}`,transform:`translateX(${Y(e.calc(m).mul(-1).equal())})`};return{[c]:r,[u]:s(r).mul(3).equal(),[`${n}-rail`]:{[l]:`100%`,[u]:r},[`${n}-track,${n}-tracks`]:{[u]:r},[`${n}-track-draggable`]:{...h},[`${n}-handle`]:{[d]:p},[`${n}-mark`]:{insetInlineStart:0,top:0,[f]:s(r).mul(3).add(t?0:o).equal(),[l]:`100%`},[`${n}-step`]:{insetInlineStart:0,top:0,[f]:r,[l]:`100%`,[u]:r},[`${n}-dot`]:{position:`absolute`,[d]:s(r).sub(a).div(2).equal()}}},hV=e=>{let{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:{...mV(e,!0),[`&${t}-with-marks`]:{marginBottom:n}}}},gV=e=>{let{componentCls:t}=e;return{[`${t}-vertical`]:{...mV(e,!1),height:`100%`}}},_V=Ql(`Slider`,e=>{let t=dc(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[pV(t),hV(t),gV(t)]},e=>{let t=e.controlHeightLG/4,n=e.controlHeightSM/2,r=e.lineWidth+1,i=e.lineWidth+1*1.5,a=e.colorPrimary,o=new Nc(a).setA(.2).toRgbString();return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:n,dotSize:8,handleLineWidth:r,handleLineWidthHover:i,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:a,handleActiveOutlineColor:o,handleColorDisabled:new Nc(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}});function vV(){let[e,t]=S.useState(!1),n=S.useRef(null),r=()=>{Oi.cancel(n.current)};return S.useEffect(()=>r,[]),[e,e=>{r(),e?t(e):n.current=Oi(()=>{t(e)})}]}function yV(e){return e||e===null?e:e=>ef(e)?e.toString():``}var bV=S.forwardRef((e,t)=>{let{prefixCls:n,range:r,className:i,rootClassName:a,style:o,disabled:s,tooltip:c={},onChangeComplete:l,classNames:u,styles:d,vertical:f,orientation:p,...m}=e,[,h]=Ef(p,f),{getPrefixCls:g,direction:_,className:v,style:y,classNames:b,styles:x,getPopupContainer:C}=ya(`slider`),w=S.useContext(mm),T=s??w,E={...e,disabled:T,vertical:h},[D,O]=Cf([b,u],[x,d],{props:E}),{handleRender:k,direction:A}=S.useContext(dV),j=(A||_)===`rtl`,[M,N]=vV(),[P,F]=vV(),I={...c},{open:L,placement:R,getPopupContainer:z,prefixCls:B,formatter:V}=I,H=L,U=(M||P)&&H!==!1,W=yV(V),[ee,te]=vV(),ne=e=>{l?.(e),te(!1)},re=(e,t)=>e||(t?j?`left`:`right`:`top`),G=g(`slider`,n),[ie,K]=_V(G),ae=J(i,v,D.root,a,{[`${G}-rtl`]:j,[`${G}-lock`]:ee},ie,K);j&&!h&&(m.reverse=!m.reverse),S.useEffect(()=>{let e=()=>{Oi(()=>{F(!1)},1)};return document.addEventListener(`mouseup`,e),()=>{document.removeEventListener(`mouseup`,e)}},[]);let q=r&&!H,oe=k||((e,t)=>{let{index:n}=t,r=e.props;function i(e,t,n){n&&m[e]?.(t),r[e]?.(t)}let a={...r,onMouseEnter:e=>{N(!0),i(`onMouseEnter`,e)},onMouseLeave:e=>{N(!1),i(`onMouseLeave`,e)},onMouseDown:e=>{F(!0),te(!0),i(`onMouseDown`,e)},onFocus:e=>{F(!0),m.onFocus?.(e),i(`onFocus`,e,!0)},onBlur:e=>{F(!1),m.onBlur?.(e),i(`onBlur`,e,!0)}},o=S.cloneElement(e,a),s=(!!H||U)&&W!==null;return q?o:S.createElement(fV,{...I,prefixCls:g(`tooltip`,B),title:W?W(t.value):``,value:t.value,open:s,placement:re(R,h),key:n,classNames:{root:`${G}-tooltip`},getPopupContainer:z||C},o)}),se=q?(e,t)=>{let n=S.cloneElement(e,{style:{...e.props.style,visibility:`hidden`}});return S.createElement(fV,{...I,prefixCls:g(`tooltip`,B),title:W?W(t.value):``,open:W!==null&&U,placement:re(R,h),key:`tooltip`,classNames:{root:`${G}-tooltip`},getPopupContainer:z||C,draggingDelete:t.draggingDelete},n)}:void 0,ce={...O.root,...y,...o};return S.createElement(uV,{...m,classNames:D,styles:O,step:m.step,range:r,className:ae,style:ce,disabled:T,vertical:h,ref:t,prefixCls:G,handleRender:oe,activeHandleRender:se,onChangeComplete:ne})}),xV=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z`}}]},name:`swap-right`,theme:`outlined`}}))());function SV(){return SV=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,SV({},e,{ref:t,icon:xV.default}))),wV=(e,t,n,r,i,a)=>{let{classNames:o,styles:s}=ya(e),[c,l]=Cf([o,t],[s,n],{props:a},{popup:{_default:`root`}});return S.useMemo(()=>[{...c,popup:{...c.popup,root:J(c.popup?.root,r)}},{...l,popup:{...l.popup,root:{...l.popup?.root,...i}}}],[c,l,r,i])};function TV(e,t,n){return n===void 0?t===`year`&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t===`quarter`&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t===`month`&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t===`week`&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t===`time`&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder:n}function EV(e,t,n){return n===void 0?t===`year`&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t===`quarter`&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t===`month`&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t===`week`&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t===`time`&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder:n}function DV(e,t){let{allowClear:n=!0}=e,{clearIcon:r,removeIcon:i}=ew({...e,prefixCls:t,componentName:`DatePicker`});return[S.useMemo(()=>n===!1?!1:{clearIcon:r,...n===!0?{}:n},[n,r]),i]}var[OV,kV]=[`week`,`WeekPicker`],[AV,jV]=[`month`,`MonthPicker`],[MV,NV]=[`year`,`YearPicker`],[PV,FV]=[`quarter`,`QuarterPicker`],[IV,LV]=[`time`,`TimePicker`],RV=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z`}}]},name:`calendar`,theme:`outlined`}}))());function zV(){return zV=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,zV({},e,{ref:t,icon:RV.default}))),VV=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z`}}]},name:`clock-circle`,theme:`outlined`}}))());function HV(){return HV=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,HV({},e,{ref:t,icon:VV.default}))),WV=({picker:e,hasFeedback:t,feedbackIcon:n,suffixIcon:r})=>r===null||r===!1?null:r===!0||r===void 0?S.createElement(S.Fragment,null,e===IV?S.createElement(UV,null):S.createElement(BV,null),t&&n):r,GV=e=>S.createElement(m_,{size:`small`,type:`primary`,...e});function KV(e){return(0,S.useMemo)(()=>({button:GV,...e}),[e])}var qV=e=>(0,S.forwardRef)((t,n)=>{let{prefixCls:r,getPopupContainer:i,components:a,className:o,style:s,classNames:c,styles:l,placement:u,size:d,disabled:f,bordered:p=!0,placeholder:m,status:h,variant:g,picker:_,dropdownClassName:v,popupClassName:y,popupStyle:b,rootClassName:x,suffixIcon:C,separator:w,...T}=t,[E,D]=wV(_===IV?`timePicker`:`datePicker`,c,l,y||v,b),O=S.useRef(null),{getPrefixCls:k,direction:A,getPopupContainer:j,rangePicker:M}=(0,S.useContext)(ga),N=k(`picker`,r),{compactSize:P,compactItemClassnames:F}=Dh(N,A),I=k(),L=w??M?.separator,[R,z]=AC(`rangePicker`,g,p),B=sp(N),[V,H]=PL(N,B),U=J(V,H,B,x),[W]=DV(t,N),ee=KV(a),te=wh(e=>d??P??e),ne=S.useContext(mm),re=f??ne,{hasFeedback:G,status:ie,feedbackIcon:K}=(0,S.useContext)(xy),ae=WV({picker:_,hasFeedback:G,feedbackIcon:K,suffixIcon:C});(0,S.useImperativeHandle)(n,()=>O.current);let[q]=Yd(`Calendar`,zd),oe=Li(q,t.locale||{}),[se]=Lf(`DatePicker`,D?.popup?.root?.zIndex);return S.createElement(wy,{space:!0},S.createElement(HF,{separator:S.createElement(`span`,{"aria-label":`to`,className:`${N}-separator`},L??S.createElement(CV,null)),disabled:re,ref:O,placement:u,placeholder:EV(oe,_,m),suffixIcon:ae,prevIcon:S.createElement(`span`,{className:`${N}-prev-icon`}),nextIcon:S.createElement(`span`,{className:`${N}-next-icon`}),superPrevIcon:S.createElement(`span`,{className:`${N}-super-prev-icon`}),superNextIcon:S.createElement(`span`,{className:`${N}-super-next-icon`}),transitionName:`${I}-slide-up`,picker:_,...T,locale:oe.lang,getPopupContainer:i||j,generateConfig:e,components:ee,direction:A,prefixCls:N,rootClassName:U,className:J({[`${N}-large`]:te===`large`,[`${N}-small`]:te===`small`,[`${N}-${R}`]:z},bC(N,xC(ie,h),G),F,o,M?.className),style:{...M?.style,...s},classNames:E,styles:{...D,popup:{...D.popup,root:{...D.popup.root,zIndex:se}}},allowClear:W}))}),JV=e=>{let t=(t,n)=>{let r=n===LV?`timePicker`:`datePicker`;return(0,S.forwardRef)((i,a)=>{let{prefixCls:o,getPopupContainer:s,components:c,style:l,className:u,size:d,bordered:f,placement:p,placeholder:m,disabled:h,status:g,variant:_,onCalendarChange:v,classNames:y,styles:b,dropdownClassName:x,popupClassName:C,popupStyle:w,rootClassName:T,suffixIcon:E,...D}=i,{suffixIcon:O}=ya(n===LV?`timePicker`:`datePicker`),{getPrefixCls:k,direction:A,getPopupContainer:j,[r]:M}=(0,S.useContext)(ga),N=k(`picker`,o),{compactSize:P,compactItemClassnames:F}=Dh(N,A),I=wh(e=>d??P??e),L=S.useContext(mm),R=h??L,z={...i,size:I,disabled:R,status:g,variant:_},[B,V]=wV(r,y,b,C||x,w,z),H=S.useRef(null),[U,W]=AC(`datePicker`,_,f),ee=sp(N),[te,ne]=PL(N,ee),re=J(te,ne,ee,T);(0,S.useImperativeHandle)(a,()=>H.current);let G={showToday:!0},ie=t||i.picker,K=k(),{onSelect:ae,multiple:q}=D,oe=ae&&t===`time`&&!q,se=(e,t,n)=>{v?.(e,t,n),oe&&ae(e)},[ce,le]=DV(i,N),ue=KV(c),{hasFeedback:de,status:fe,feedbackIcon:pe}=(0,S.useContext)(xy),me=WV({picker:ie,hasFeedback:de,feedbackIcon:pe,suffixIcon:E===void 0?O:E}),[he]=Yd(`DatePicker`,zd),ge=Li(he,i.locale||{}),[_e]=Lf(`DatePicker`,V?.popup?.root?.zIndex);return S.createElement(wy,{space:!0},S.createElement(EI,{ref:H,placeholder:TV(ge,ie,m),suffixIcon:me,placement:p,prevIcon:S.createElement(`span`,{className:`${N}-prev-icon`}),nextIcon:S.createElement(`span`,{className:`${N}-next-icon`}),superPrevIcon:S.createElement(`span`,{className:`${N}-super-prev-icon`}),superNextIcon:S.createElement(`span`,{className:`${N}-super-next-icon`}),transitionName:`${K}-slide-up`,picker:t,onCalendarChange:se,...G,...D,locale:ge.lang,getPopupContainer:s||j,generateConfig:e,components:ue,direction:A,disabled:R,prefixCls:N,rootClassName:re,className:J({[`${N}-large`]:I===`large`,[`${N}-small`]:I===`small`,[`${N}-${U}`]:W},bC(N,xC(fe,g),de),F,M?.className,u),style:{...M?.style,...l},classNames:B,styles:{...V,popup:{...V.popup,root:{...V.popup.root,zIndex:_e}}},allowClear:ce,removeIcon:le}))})},n=t(),r=t(OV,kV),i=t(AV,jV),a=t(MV,NV),o=t(PV,FV);return{DatePicker:n,WeekPicker:r,MonthPicker:i,YearPicker:a,TimePicker:t(IV,LV),QuarterPicker:o}},YV=e=>{let{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:i,TimePicker:a,QuarterPicker:o}=JV(e),s=qV(e),c=t;return c.WeekPicker=n,c.MonthPicker=r,c.YearPicker=i,c.RangePicker=s,c.TimePicker=a,c.QuarterPicker=o,c},XV=YV(lte);XV._InternalPanelDoNotUseOrYouWillBeFired=xx(XV,`popupAlign`,void 0,`picker`),XV._InternalRangePanelDoNotUseOrYouWillBeFired=xx(XV.RangePicker,`popupAlign`,void 0,`picker`),XV.generatePicker=YV;var ZV={xxxl:4,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},QV=S.createContext(null),$V=e=>ki(e).map(e=>({...e?.props,key:e.key}));function eH(e,t,n){let r=S.useMemo(()=>t||$V(n),[t,n]);return S.useMemo(()=>r.map(({span:t,...n})=>t===`filled`?{...n,filled:!0}:{...n,span:ef(t)?t:uw(e,t)}),[r,e])}function tH(e,t){let n=[],r=[],i=!1,a=0;return e.filter(e=>e).forEach(e=>{let{filled:o,...s}=e;if(o){r.push(s),n.push(r),r=[],a=0;return}let c=t-a;a+=e.span||1,a>=t?(a>t?(i=!0,r.push({...s,span:c})):r.push(s),n.push(r),r=[],a=0):r.push(s)}),r.length>0&&n.push(r),n=n.map(e=>{let n=e.reduce((e,t)=>e+(t.span||1),0);if(n{let[n,r]=(0,S.useMemo)(()=>tH(t,e),[t,e]);return n},rH=e=>e.children,iH=e=>{let{itemPrefixCls:t,component:n,span:r,className:i,style:a,labelStyle:o,contentStyle:s,bordered:c,label:l,content:u,colon:d,type:f,styles:p,classNames:m}=e,h=n,{classNames:g,styles:_}=S.useContext(QV),[v,y]=Cf([g,m],[_,p],{props:e}),b={...o,...y.label},x={...s,...y.content};return c?S.createElement(h,{colSpan:r,style:a,className:J(i,{[`${t}-item-${f}`]:f===`label`||f===`content`,[v.label]:v.label&&f===`label`,[v.content]:v.content&&f===`content`})},$d(l)&&S.createElement(`span`,{style:b},l),$d(u)&&S.createElement(`span`,{style:x},u)):S.createElement(h,{className:J(`${t}-item`,i),style:a,colSpan:r},S.createElement(`div`,{className:`${t}-item-container`},$d(l)&&S.createElement(`span`,{style:b,className:J(`${t}-item-label`,v.label,{[`${t}-item-no-colon`]:!d})},l),$d(u)&&S.createElement(`span`,{style:x,className:J(`${t}-item-content`,v.content)},u)))};function aH(e,{colon:t,prefixCls:n,bordered:r},{component:i,type:a,showLabel:o,showContent:s,labelStyle:c,contentStyle:l,styles:u}){return e.map(({label:e,children:d,prefixCls:f=n,className:p,style:m,labelStyle:h,contentStyle:g,span:_=1,key:v,styles:y,classNames:b},x)=>typeof i==`string`?S.createElement(iH,{key:`${a}-${v||x}`,className:p,style:m,classNames:b,styles:{label:{...c,...u?.label,...h,...y?.label},content:{...l,...u?.content,...g,...y?.content}},span:_,colon:t,component:i,itemPrefixCls:f,bordered:r,label:o?e:null,content:s?d:null,type:a}):[S.createElement(iH,{key:`label-${v||x}`,className:p,style:{...c,...u?.label,...m,...h,...y?.label},span:1,colon:t,component:i[0],itemPrefixCls:f,bordered:r,label:e,type:`label`}),S.createElement(iH,{key:`content-${v||x}`,className:p,style:{...l,...u?.content,...m,...g,...y?.content},span:_*2-1,component:i[1],itemPrefixCls:f,bordered:r,content:d,type:`content`})])}var oH=e=>{let t=S.useContext(QV),{prefixCls:n,vertical:r,row:i,index:a,bordered:o}=e;return r?S.createElement(S.Fragment,null,S.createElement(`tr`,{key:`label-${a}`,className:`${n}-row`},aH(i,e,{component:`th`,type:`label`,showLabel:!0,...t})),S.createElement(`tr`,{key:`content-${a}`,className:`${n}-row`},aH(i,e,{component:`td`,type:`content`,showContent:!0,...t}))):S.createElement(`tr`,{key:a,className:`${n}-row`},aH(i,e,{component:o?[`th`,`td`]:`td`,type:`item`,showLabel:!0,showContent:!0,...t}))},sH=e=>{let{componentCls:t,labelBg:n}=e;return{[`&${t}-bordered`]:{[`> ${t}-view`]:{border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:`auto`},[`${t}-row`]:{borderBottom:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:first-child":{"> th:first-child, > td:first-child":{borderStartStartRadius:e.borderRadiusLG}},"&:last-child":{borderBottom:`none`,"> th:first-child, > td:first-child":{borderEndStartRadius:e.borderRadiusLG}},[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${Y(e.padding)} ${Y(e.paddingLG)}`,borderInlineEnd:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:`none`}},[`> ${t}-item-label`]:{color:e.colorTextSecondary,backgroundColor:n,"&::after":{display:`none`}}}},[`&${t}-medium`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${Y(e.paddingSM)} ${Y(e.paddingLG)}`}}},[`&${t}-small`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${Y(e.paddingXS)} ${Y(e.padding)}`}}}}}},cH=e=>{let{componentCls:t,extraColor:n,itemPaddingBottom:r,itemPaddingEnd:i,colonMarginRight:a,colonMarginLeft:o,titleMarginBottom:s}=e;return{[t]:{...Ul(e),...sH(e),"&-rtl":{direction:`rtl`},[`${t}-header`]:{display:`flex`,alignItems:`center`,marginBottom:s},[`${t}-title`]:{...Hl,flex:`auto`,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG},[`${t}-extra`]:{marginInlineStart:`auto`,color:n,fontSize:e.fontSize},[`${t}-view`]:{width:`100%`,borderRadius:e.borderRadiusLG,table:{width:`100%`,tableLayout:`fixed`,borderCollapse:`collapse`}},[`${t}-row`]:{"> th, > td":{paddingBottom:r,paddingInlineEnd:i},"> th:last-child, > td:last-child":{paddingInlineEnd:0},"&:last-child":{borderBottom:`none`,"> th, > td":{paddingBottom:0}}},[`${t}-item-label`]:{color:e.labelColor,fontWeight:`normal`,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:`start`,"&::after":{content:`":"`,position:`relative`,top:-.5,marginInline:`${Y(o)} ${Y(a)}`},[`&${t}-item-no-colon::after`]:{content:`""`}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:`""`}},[`${t}-item-content`]:{display:`table-cell`,flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:`break-word`,overflowWrap:`break-word`},[`${t}-item`]:{paddingBottom:0,verticalAlign:`top`,"&-container":{display:`flex`,[`${t}-item-label`]:{display:`inline-flex`,alignItems:`baseline`},[`${t}-item-content`]:{display:`inline-flex`,alignItems:`baseline`,minWidth:`1em`}}},"&-medium":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}}}},lH=Ql(`Descriptions`,e=>cH(dc(e,{})),e=>({labelBg:e.colorFillAlter,labelColor:e.colorTextTertiary,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,itemPaddingEnd:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText})),uH=e=>{let{prefixCls:t,title:n,extra:r,column:i,colon:a=!0,bordered:o,layout:s,children:c,className:l,rootClassName:u,style:d,size:f,labelStyle:p,contentStyle:m,styles:h,items:g,classNames:_,...v}=e,{getPrefixCls:y,direction:b,className:x,style:C,classNames:w,styles:T}=ya(`descriptions`),E=y(`descriptions`,t),D=fw(),O=S.useMemo(()=>ef(i)?i:uw(D,{...ZV,...i})??3,[D,i]),k=eH(D,g,c),A=wh(f),j=nH(O,k),[M,N]=lH(E),P={...e,column:O,items:k,size:A},[F,I]=Cf([w,_],[T,h],{props:P}),L=S.useMemo(()=>({labelStyle:p,contentStyle:m,styles:{label:I.label,content:I.content},classNames:{label:F.label,content:F.content}}),[p,m,I.label,I.content,F.label,F.content]);return S.createElement(QV.Provider,{value:L},S.createElement(`div`,{className:J(E,x,F.root,{[`${E}-medium`]:A===`medium`||A===`middle`,[`${E}-small`]:A===`small`,[`${E}-bordered`]:!!o,[`${E}-rtl`]:b===`rtl`},l,u,M,N),style:{...C,...I.root,...d},...v},(n||r)&&S.createElement(`div`,{className:J(`${E}-header`,F.header),style:I.header},n&&S.createElement(`div`,{className:J(`${E}-title`,F.title),style:I.title},n),r&&S.createElement(`div`,{className:J(`${E}-extra`,F.extra),style:I.extra},r)),S.createElement(`div`,{className:`${E}-view`},S.createElement(`table`,null,S.createElement(`tbody`,null,j.map((e,t)=>S.createElement(oH,{key:t,index:t,colon:a,prefixCls:E,vertical:s===`vertical`,bordered:o,row:e})))))))};uH.Item=rH;var dH=S.createContext(null),fH=S.createContext({});function pH(){return pH=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t,className:n,containerRef:r,...i}=e,{panel:a}=S.useContext(fH),o=lr(a,r);return S.createElement(`div`,pH({className:J(`${t}-section`,n),role:`dialog`,ref:o},xi(e,{aria:!0}),{"aria-modal":`true`},i))};function hH(e){let{prefixCls:t,direction:n,className:r,style:i,maxSize:a,containerRef:o,currentSize:s,onResize:c,onResizeEnd:l,onResizeStart:u}=e,[d,f]=S.useState(!1),[p,m]=S.useState(0),[h,g]=S.useState(0),_=n===`left`||n===`right`,v=zn(e=>{e.preventDefault(),e.stopPropagation(),f(!0),m(_?e.clientX:e.clientY);let t;if(typeof s==`number`)t=s;else if(o?.current){let e=o.current.getBoundingClientRect();t=_?e.width:e.height}g(t),u?.(t)}),y=zn(e=>{if(!d)return;let t=(_?e.clientX:e.clientY)-p;(n===`right`||n===`bottom`)&&(t=-t);let r=h+t;r<0&&(r=0),a&&r>a&&(r=a),c?.(r)}),b=S.useCallback(()=>{if(d&&(f(!1),o?.current)){let e=o.current.getBoundingClientRect(),t=_?e.width:e.height;l?.(t)}},[d,o,l,_]);return S.useEffect(()=>{if(d)return document.addEventListener(`mousemove`,y),document.addEventListener(`mouseup`,b),()=>{document.removeEventListener(`mousemove`,y),document.removeEventListener(`mouseup`,b)}},[d,y,b]),{dragElementProps:{className:J(`${t}-dragger`,`${t}-dragger-${n}`,{[`${t}-dragger-dragging`]:d,[`${t}-dragger-horizontal`]:_,[`${t}-dragger-vertical`]:!_},r),style:i,onMouseDown:v},isDragging:d}}function gH(e){if(typeof e==`string`){let t=Number(e.replace(/px$/i,``));if(parseFloat(e)===t&&ui(!1,"Invalid value type of `width` or `height` which should be number type instead."),!Number.isNaN(t))return t}return e}function _H(e,t,n,r,i){let[a]=Gr(t&&(r??i!==!1),e);return S.useEffect(()=>{t&&n===!0&&e()?.focus({preventScroll:!0})},[t]),a}function vH(){return vH=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,open:r,placement:i,inline:a,push:o,forceRender:s,autoFocus:c,focusTrap:l,classNames:u,rootClassName:d,rootStyle:f,zIndex:p,className:m,id:h,style:g,motion:_,width:v,height:y,size:b,maxSize:x,children:C,mask:w,maskClosable:T,maskMotion:E,maskClassName:D,maskStyle:O,afterOpenChange:k,onClose:A,onMouseEnter:j,onMouseOver:M,onMouseLeave:N,onClick:P,onKeyDown:F,onKeyUp:I,styles:L,drawerRender:R,resizable:z,defaultSize:B}=e,V=S.useRef(null);S.useImperativeHandle(t,()=>V.current);let H=_H(()=>V.current,r,c,l,w),[U,W]=S.useState(!1),ee=S.useContext(dH),te;te=typeof o==`boolean`?o?{}:{distance:0}:o||{};let ne=te?.distance??ee?.pushDistance??180,re=S.useMemo(()=>({pushDistance:ne,push:()=>{W(!0)},pull:()=>{W(!1)}}),[ne]);S.useEffect(()=>{r?ee?.push?.():ee?.pull?.()},[r]),S.useEffect(()=>()=>{ee?.pull?.()},[]);let G=S.createElement(Od,vH({key:`mask`},E,{visible:w&&r}),({className:e,style:t},i)=>S.createElement(`div`,{className:J(`${n}-mask`,e,u?.mask,D),style:{...t,...O,...L?.mask},onClick:T&&r?A:void 0,ref:i})),ie=typeof _==`function`?_(i):_,[K,ae]=S.useState(),q=i===`left`||i===`right`,oe=S.useMemo(()=>gH(b??(q?v:y)??K??B??(q?378:void 0)),[b,v,y,B,q,K]),se=S.useMemo(()=>{let e={};if(U&&ne)switch(i){case`top`:e.transform=`translateY(${ne}px)`;break;case`bottom`:e.transform=`translateY(${-ne}px)`;break;case`left`:e.transform=`translateX(${ne}px)`;break;default:e.transform=`translateX(${-ne}px)`;break}return q?e.width=gH(oe):e.height=gH(oe),e},[U,ne,i,q,oe]),ce=S.useRef(null),le=!!z,ue=typeof z==`object`&&z||{},de=zn(e=>{ae(e),ue.onResize?.(e)}),{dragElementProps:fe,isDragging:pe}=hH({prefixCls:`${n}-resizable`,direction:i,className:u?.dragger,style:L?.dragger,maxSize:x,containerRef:ce,currentSize:oe,onResize:de,onResizeStart:ue.onResizeStart,onResizeEnd:ue.onResizeEnd}),me={onMouseEnter:j,onMouseOver:M,onMouseLeave:N,onClick:P,onKeyDown:F,onKeyUp:I,onFocus:e=>{H(e.target)}},he=S.createElement(Od,vH({key:`panel`},ie,{visible:r,forceRender:s,onVisibleChanged:k,removeOnLeave:!1,leavedClassName:`${n}-content-wrapper-hidden`}),({className:t,style:r},i)=>{let a=S.createElement(mH,vH({id:h,containerRef:i,prefixCls:n,className:J(m,u?.section),style:{...g,...L?.section}},xi(e,{aria:!0}),me),C);return S.createElement(`div`,vH({ref:ce,className:J(`${n}-content-wrapper`,pe&&`${n}-content-wrapper-dragging`,u?.wrapper,!pe&&t),style:{...r,...se,...L?.wrapper}},xi(e,{data:!0})),le&&S.createElement(`div`,fe),R?R(a):a)}),ge={...f};return p&&(ge.zIndex=p),S.createElement(dH.Provider,{value:re},S.createElement(`div`,{className:J(n,`${n}-${i}`,d,{[`${n}-open`]:r,[`${n}-inline`]:a}),style:ge,tabIndex:-1,ref:V},G,he))}),bH=e=>{let{open:t=!1,prefixCls:n=`rc-drawer`,placement:r=`right`,autoFocus:i=!0,keyboard:a=!0,width:o,height:s,size:c,maxSize:l,mask:u=!0,maskClosable:d=!0,getContainer:f,forceRender:p,afterOpenChange:m,destroyOnHidden:h,onMouseEnter:g,onMouseOver:_,onMouseLeave:v,onClick:y,onKeyDown:b,onKeyUp:x,onClose:C,resizable:w,defaultSize:T,focusTriggerAfterClose:E,panelRef:D}=e,[O,k]=S.useState(!1),[A,j]=S.useState(!1);Hn(()=>{j(!0)},[]);let M=A?t:!1,N=S.useRef(null),P=S.useRef(null);Hn(()=>{M&&(P.current=document.activeElement)},[M]);let F=e=>{k(e),m?.(e),!e&&E!==!1&&P.current&&!N.current?.contains(P.current)&&P.current?.focus({preventScroll:!0})},I=S.useMemo(()=>({panel:D}),[D]);if(!p&&!O&&!M&&h)return null;let L={onMouseEnter:g,onMouseOver:_,onMouseLeave:v,onClick:y,onKeyDown:b,onKeyUp:x},R={...e,open:M,prefixCls:n,placement:r,autoFocus:i,keyboard:a,width:o,height:s,size:c,maxSize:l,defaultSize:T,mask:u,maskClosable:d,inline:f===!1,afterOpenChange:F,ref:N,resizable:w,...L};return S.createElement(fH.Provider,{value:I},S.createElement(Dp,{open:M||p||O,autoDestroy:!1,getContainer:f,autoLock:u&&(M||O),onEsc:({top:e,event:t})=>{e&&a&&(t.stopPropagation(),C?.(t))}},S.createElement(yH,R)))},xH=e=>{let{prefixCls:t,ariaId:n,title:r,footer:i,extra:a,closable:o,loading:s,onClose:c,headerStyle:l,bodyStyle:u,footerStyle:d,children:f,classNames:p,styles:m}=e,h=ya(`drawer`),{classNames:g,styles:_,closable:v}=h,[y,b]=Cf([g,p],[_,m],{props:{...e,closable:o??v}}),x=S.useMemo(()=>{let e=o??v;if(e!==!1)return nf(e)&&e?.placement===`end`?`end`:`start`},[o,v]),C=S.useCallback(e=>S.createElement(`button`,{type:`button`,onClick:c,className:J(`${t}-close`,{[`${t}-close-${x}`]:x===`end`},y.close),style:b.close},e),[c,t,x,y.close,b.close]),[w,T]=pf(sf(e),sf(h),{closable:!0,closeIconRender:C}),E=()=>!r&&!w?null:S.createElement(`div`,{style:{...b.header,...l},className:J(`${t}-header`,y.header,{[`${t}-header-close-only`]:w&&!r&&!a})},S.createElement(`div`,{className:`${t}-header-title`},x===`start`&&T,r&&S.createElement(`div`,{className:J(`${t}-title`,y.title),style:b.title,id:n},r)),a&&S.createElement(`div`,{className:J(`${t}-extra`,y.extra),style:b.extra},a),x===`end`&&T),D=()=>i?S.createElement(`div`,{className:J(`${t}-footer`,y.footer),style:{...b.footer,...d}},i):null;return S.createElement(S.Fragment,null,E(),S.createElement(`div`,{className:J(`${t}-body`,y.body),style:{...b.body,...u}},s?S.createElement(Jy,{active:!0,title:!1,paragraph:{rows:5},className:`${t}-body-skeleton`}):f),D())},SH=e=>{let t=`100%`;return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},CH=(e,t)=>({"&-enter, &-appear":{...e,"&-active":t},"&-leave":{...t,"&-active":e}}),wH=(e,t)=>({"&-enter, &-appear, &-leave":{"&-start":{transition:`none`},"&-active":{transition:`all ${t}`}},...CH({opacity:e},{opacity:1})}),TH=(e,t)=>[wH(.7,t),CH({transform:SH(e)},{transform:`none`})],EH=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:wH(0,n),[`${t}-panel-motion`]:[`left`,`right`,`top`,`bottom`].reduce((e,t)=>({...e,[`&-${t}`]:TH(t,n)}),{})}}},DH=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:i,colorBgElevated:a,motionDurationSlow:o,motionDurationMid:s,paddingXS:c,padding:l,paddingLG:u,fontSizeLG:d,lineHeightLG:f,lineWidth:p,lineType:m,colorSplit:h,marginXS:g,colorIcon:_,colorIconHover:v,colorBgTextHover:y,colorBgTextActive:b,colorText:x,fontWeightStrong:S,footerPaddingBlock:C,footerPaddingInline:w,draggerSize:T,calc:E}=e,D=`${n}-content-wrapper`,O=`${n}-resizable-dragger`;return{[n]:{position:`fixed`,inset:0,zIndex:r,pointerEvents:`none`,color:x,"&-pure":{position:`relative`,background:a,display:`flex`,flexDirection:`column`,pointerEvents:`auto`,[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:`absolute`},[`${n}-mask`]:{position:`absolute`,inset:0,zIndex:r,background:i,pointerEvents:`auto`,[`&${n}-mask-blur`]:{backdropFilter:`blur(4px)`}},[D]:{position:`absolute`,zIndex:r,maxWidth:`100vw`,transition:`all ${o}`,"&-hidden":{display:`none`}},[`&-left > ${D}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${D}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${D}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${D}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-section`]:{display:`flex`,flexDirection:`column`,width:`100%`,height:`100%`,overflow:`auto`,background:a,pointerEvents:`auto`},[`${n}-header`]:{display:`flex`,flex:0,alignItems:`center`,padding:`${Y(l)} ${Y(u)}`,fontSize:d,lineHeight:f,borderBottom:`${Y(p)} ${m} ${h}`,"&-title":{display:`flex`,flex:1,alignItems:`center`,minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:`none`},[`${n}-close`]:{display:`inline-flex`,width:E(d).add(c).equal(),height:E(d).add(c).equal(),borderRadius:t,justifyContent:`center`,alignItems:`center`,color:_,fontWeight:S,fontSize:d,fontStyle:`normal`,lineHeight:1,textAlign:`center`,textTransform:`none`,textDecoration:`none`,background:`transparent`,border:0,cursor:`pointer`,transition:`all ${s}`,textRendering:`auto`,[`&${n}-close-end`]:{marginInlineStart:g},[`&:not(${n}-close-end)`]:{marginInlineEnd:g},"&:hover":{color:v,backgroundColor:y,textDecoration:`none`},"&:active":{backgroundColor:b},...ql(e)},[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:f},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:`auto`,[`${n}-body-skeleton`]:{width:`100%`,height:`100%`,display:`flex`,justifyContent:`center`}},[`${n}-footer`]:{flexShrink:0,padding:`${Y(C)} ${Y(w)}`,borderTop:`${Y(p)} ${m} ${h}`},[O]:{position:`absolute`,zIndex:1,backgroundColor:`transparent`,userSelect:`none`,pointerEvents:`auto`,"&:hover":{backgroundColor:e.colorPrimary,opacity:.2},"&-dragging":{backgroundColor:e.colorPrimary,opacity:.3}},[`${O}-left`]:{top:0,bottom:0,right:{_skip_check_:!0,value:0},width:T,cursor:`col-resize`},[`${O}-right`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},width:T,cursor:`col-resize`},[`${O}-top`]:{insetInline:0,bottom:0,height:T,cursor:`row-resize`},[`${O}-bottom`]:{insetInline:0,top:0,height:T,cursor:`row-resize`},[`${D}-dragging`]:{userSelect:`none`,transition:`none`,willChange:`width, height`,[`${n}-content`]:{pointerEvents:`none`},[`${n}-section`]:{pointerEvents:`none`}},"&-rtl":{direction:`rtl`}}}},OH=Ql(`Drawer`,e=>{let t=dc(e,{});return[DH(t),EH(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding,draggerSize:4})),kH={distance:180},AH=378,jH={motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},MH=e=>{let{rootClassName:t,size:n,defaultSize:r=AH,height:i,width:a,mask:o,push:s=kH,open:c,afterOpenChange:l,onClose:u,prefixCls:d,getContainer:f,panelRef:p=null,style:m,className:h,resizable:g,"aria-labelledby":_,focusable:v,maskClosable:y,maskStyle:b,drawerStyle:x,contentWrapperStyle:C,destroyOnClose:w,destroyOnHidden:T,...E}=e,{placement:D}=E,O=Xn(),k=E.title?O:void 0,{getPopupContainer:A,getPrefixCls:j,direction:M,className:N,style:P,classNames:F,styles:I,mask:L}=ya(`drawer`),R=j(`drawer`,d),[z,B]=OH(R),V=f===void 0&&A?()=>A(document.body):f,H=S.useMemo(()=>ef(n)?n:n===`large`?736:n===`default`?AH:typeof n==`string`?/^\d+(\.\d+)?$/.test(n)?Number(n):n:!D||D===`left`||D===`right`?a:i,[n,D,a,i]),U={motionName:mh(R,`mask-motion`),...jH},W=e=>({motionName:mh(R,`panel-motion-${e}`),...jH}),ee=cr(p,Zy()),[te,ne]=Lf(`Drawer`,E.zIndex),[re,G,ie]=gf(o,L,R,y),K=Ey(v,V!==!1&&re),{classNames:ae,styles:q,rootStyle:oe}=E,se={...e,zIndex:te,panelRef:p,mask:re,maskClosable:ie,defaultSize:r,push:s,focusable:K},[ce,le]=Cf([F,ae],[I,q],{props:se}),ue=J({"no-mask":!re,[`${R}-rtl`]:M===`rtl`},t,z,B,ce.root);return S.createElement(wy,{form:!0,space:!0},S.createElement(jf.Provider,{value:ne},S.createElement(bH,{prefixCls:R,onClose:u,maskMotion:U,motion:W,...E,classNames:{mask:J(ce.mask,G.mask),section:ce.section,wrapper:ce.wrapper,dragger:ce.dragger},styles:{mask:{...le.mask,...b},section:{...le.section,...x},wrapper:{...le.wrapper,...C},dragger:le.dragger},open:c,mask:re,maskClosable:ie,push:s,size:H,defaultSize:r,style:{...P,...m},rootStyle:{...oe,...le.root},className:J(N,h),rootClassName:ue,getContainer:V,afterOpenChange:l,panelRef:ee,zIndex:te,...g?{resizable:g}:{},"aria-labelledby":_??k,destroyOnHidden:T??w,focusTriggerAfterClose:K.focusTriggerAfterClose,focusTrap:K.trap},S.createElement(xH,{prefixCls:R,size:n,...E,ariaId:k,onClose:u}))))};MH._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:r,placement:i=`right`,...a}=e,{getPrefixCls:o}=S.useContext(ga),s=o(`drawer`,t),[c,l]=OH(s),u=J(s,`${s}-pure`,`${s}-${i}`,c,l,r);return S.createElement(`div`,{className:u,style:n},S.createElement(xH,{prefixCls:s,...a}))};var NH=MH;function PH(e){return[`small`,`middle`,`medium`,`large`].includes(e)}function FH(e){return e?ef(e):!1}var IH=S.createContext({latestIndex:0}),LH=IH.Provider,RH=e=>{let{className:t,prefix:n,index:r,children:i,separator:a,style:o,classNames:s,styles:c}=e,{latestIndex:l}=S.useContext(IH);return $d(i)?S.createElement(S.Fragment,null,S.createElement(`div`,{className:t,style:o},i),r{let{componentCls:t,antCls:n}=e;return{[t]:{display:`inline-flex`,"&-rtl":{direction:`rtl`},"&-vertical":{flexDirection:`column`},"&-align":{flexDirection:`column`,"&-center":{alignItems:`center`},"&-start":{alignItems:`flex-start`},"&-end":{alignItems:`flex-end`},"&-baseline":{alignItems:`baseline`}},[`${t}-item:empty`]:{display:`none`},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:`block`}}}},BH=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-medium, &-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-medium, &-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},VH=Ql(`Space`,e=>{let t=dc(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[zH(t),BH(t)]},()=>({}),{resetStyle:!1}),HH=S.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r,size:i,className:a,style:o,classNames:s,styles:c}=ya(`space`),{size:l=i??`small`,align:u,className:d,rootClassName:f,children:p,direction:m,orientation:h,prefixCls:g,split:_,separator:v,style:y,vertical:b,wrap:x=!1,classNames:C,styles:w,...T}=e,[E,D]=Array.isArray(l)?l:[l,l],O=PH(D),k=PH(E),A=FH(D),j=FH(E),M=ki(p,{keepEmpty:!0}),[N,P]=Ef(h,b,m),F=u===void 0&&!P?`center`:u,I=v??_,L=n(`space`,g),[R,z]=VH(L),B={...e,size:l,orientation:N,align:F},[V,H]=Cf([s,C],[c,w],{props:B}),U=J(L,a,R,`${L}-${N}`,{[`${L}-rtl`]:r===`rtl`,[`${L}-align-${F}`]:F,[`${L}-gap-row-${D}`]:O,[`${L}-gap-col-${E}`]:k},d,f,z,V.root),W=J(`${L}-item`,V.item),ee=M.map((e,t)=>{let n=e?.key||`${W}-${t}`;return S.createElement(RH,{prefix:L,classNames:V,styles:H,className:W,key:n,index:t,separator:I,style:H.item},e)}),te=S.useMemo(()=>({latestIndex:M.reduce((e,t,n)=>$d(t)?n:e,0)}),[M]);if(M.length===0)return null;let ne={};return x&&(ne.flexWrap=`wrap`),!k&&j&&(ne.columnGap=E),!O&&A&&(ne.rowGap=D),S.createElement(`div`,{ref:t,className:U,style:{...ne,...H.root,...o,...y},...T},S.createElement(LH,{value:te},ee))});HH.Compact=Ah,HH.Addon=CB;var UH=e=>{let{getPopupContainer:t,getPrefixCls:n,direction:r}=S.useContext(ga),{prefixCls:i,type:a=`default`,danger:o,disabled:s,loading:c,onClick:l,htmlType:u,children:d,className:f,menu:p,arrow:m,autoFocus:h,trigger:g,align:_,open:v,onOpenChange:y,placement:b,getPopupContainer:x,href:C,icon:w=S.createElement(WE,null),title:T,buttonsRender:E=e=>e,mouseEnterDelay:D,mouseLeaveDelay:O,overlayClassName:k,overlayStyle:A,destroyOnHidden:j,destroyPopupOnHide:M,dropdownRender:N,popupRender:P,...F}=e,I=n(`dropdown`,i),L=`${I}-button`,R={menu:p,arrow:m,autoFocus:h,align:_,disabled:s,trigger:s?[]:g,onOpenChange:y,getPopupContainer:x||t,mouseEnterDelay:D,mouseLeaveDelay:O,classNames:{root:k},styles:{root:A},destroyOnHidden:j,popupRender:P||N},{compactSize:z,compactItemClassnames:B}=Dh(I,r),V=J(L,B,f);`destroyPopupOnHide`in e&&(R.destroyPopupOnHide=M),`open`in e&&(R.open=v),`placement`in e?R.placement=b:R.placement=r===`rtl`?`bottomLeft`:`bottomRight`;let[H,U]=E([S.createElement(X,{type:a,danger:o,disabled:s,loading:c,onClick:l,htmlType:u,href:C,title:T},d),S.createElement(X,{type:a,danger:o,icon:w})]);return S.createElement(HH.Compact,{className:V,size:z,block:!0,...F},H,S.createElement(iD,{...R},U))};UH.__ANT_BUTTON=!0;var WH=iD;WH.Button=UH;var GH=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z`}}]},name:`file-text`,theme:`outlined`}}))());function KH(){return KH=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,KH({},e,{ref:t,icon:GH.default}))),JH=(e,t)=>$d(e)?nf(e)&&!(0,S.isValidElement)(e)?{...t,...e}:{...t,title:e}:null;function YH(e){let[t,n]=S.useState(e);return S.useEffect(()=>{let t=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(t)}},[e]),t}var XH=e=>{let{componentCls:t,motionDurationFast:n,motionEaseInOut:r}=e,i=`${t}-show-help`,a=`${t}-show-help-item`;return{[i]:{transition:`opacity ${n} ${r}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[a]:{overflow:`hidden`,transition:`${[`height`,`opacity`,`transform`].map(e=>`${e} ${n} ${r}`).join(`, `)} !important`,[`&${a}-appear, &${a}-enter`]:{transform:`translateY(-5px)`,opacity:0,"&-active":{transform:`translateY(0)`,opacity:1}},[`&${a}-leave-active`]:{transform:`translateY(-5px)`}}}}},ZH=e=>({legend:{display:`block`,width:`100%`,marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:`inherit`,border:0,borderBottom:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:`border-box`},'input[type="radio"], input[type="checkbox"]':{lineHeight:`normal`},'input[type="file"]':{display:`block`},'input[type="range"]':{display:`block`,width:`100%`},"select[multiple], select[size]":{height:`auto`},"input[type='file']:focus, input[type='radio']:focus, input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${Y(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:`block`,paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),QH=(e,t)=>{let{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},$H=e=>{let{componentCls:t}=e;return{[t]:{...Ul(e),...ZH(e),[`${t}-text`]:{display:`inline-block`,paddingInlineEnd:e.paddingSM},"&-small":{...QH(e,e.controlHeightSM)},"&-large":{...QH(e,e.controlHeightLG)}}}},eU=e=>{let{formItemCls:t,iconCls:n,rootPrefixCls:r,antCls:i,labelRequiredMarkColor:a,labelColor:o,labelFontSize:s,labelHeight:c,labelColonMarginInlineStart:l,labelColonMarginInlineEnd:u,itemMarginBottom:d}=e,[f]=tu(i,`grid`);return{[t]:{...Ul(e),marginBottom:d,verticalAlign:`top`,"&-with-help":{transition:`none`},[`&-hidden, - &-hidden${i}-row`]:{display:`none`},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:`hidden`,whiteSpace:`nowrap`,textAlign:`end`,verticalAlign:`middle`,"&-left":{textAlign:`start`},"&-wrap":{overflow:`unset`,lineHeight:e.lineHeight,whiteSpace:`unset`,"> label":{verticalAlign:`middle`,textWrap:`balance`}},"> label":{position:`relative`,display:`inline-flex`,alignItems:`center`,maxWidth:`100%`,height:c,color:o,fontSize:s,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:`top`},[`&${t}-required`]:{"&::before":{display:`inline-block`,marginInlineEnd:e.marginXXS,color:a,fontSize:e.fontSize,fontFamily:`sans-serif`,lineHeight:1,content:`"*"`},[`&${t}-required-mark-hidden, &${t}-required-mark-optional`]:{"&::before":{display:`none`}}},[`${t}-optional`]:{display:`inline-block`,marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`&${t}-required-mark-hidden`]:{display:`none`}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:`help`,writingMode:`horizontal-tb`,marginInlineStart:e.marginXXS},"&::after":{content:`":"`,position:`relative`,marginBlock:0,marginInlineStart:l,marginInlineEnd:u},[`&${t}-no-colon::after`]:{content:`"\\a0"`}}},[`${t}-control`]:{[f(`display`)]:`flex`,flexDirection:`column`,flexGrow:1,[`&:first-child:not([class^="'${r}-col-'"]):not([class*="' ${r}-col-'"])`]:{width:`100%`},"&-input":{position:`relative`,display:`flex`,alignItems:`center`,minHeight:e.controlHeight,"&-content":{flex:`auto`,maxWidth:`100%`,[`&:has(> ${i}-switch:only-child, > ${i}-rate:only-child)`]:{display:`flex`,alignItems:`center`}}}},[t]:{"&-additional":{display:`flex`,flexDirection:`column`},"&-explain, &-extra":{clear:`both`,color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:`100%`},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:`auto`,opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:`center`,visibility:`visible`,animationName:hg,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:`none`,"&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}}}},tU=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:`initial`,textAlign:`start`,"> label":{margin:0,"&::after":{visibility:`hidden`}}}),nU=e=>{let{antCls:t,formItemCls:n}=e;return{[`${n}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:`1 1 0`,minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:`unset`}},[`${t}-col-24${n}-label, - ${t}-col-xl-24${n}-label`]:tU(e)}}},rU=e=>{let{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:`flex`,flexWrap:`wrap`,[`${n}-inline`]:{flex:`none`,marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:`nowrap`},[`> ${n}-label, - > ${n}-control`]:{display:`inline-block`,verticalAlign:`top`},[`> ${n}-label`]:{flex:`none`},[`${t}-text`]:{display:`inline-block`},[`${n}-has-feedback`]:{display:`inline-block`}}}}},iU=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:tU(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:`wrap`,[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:`0 0 100%`,maxWidth:`100%`}}}}}},aU=e=>{let{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${n}-vertical`]:{[`${n}-row`]:{flexDirection:`column`},[`${n}-label > label`]:{height:`auto`},[`${n}-control`]:{width:`100%`},[`${n}-label, + `]:{cursor:`not-allowed !important`}},[`&-tooltip ${n}-tooltip-container`]:{minWidth:`unset`}}}},lV=(e,t)=>{let{componentCls:n,railSize:r,handleSize:i,dotSize:a,marginFull:o,calc:s}=e,c=t?`paddingBlock`:`paddingInline`,l=t?`width`:`height`,u=t?`height`:`width`,d=t?`insetBlockStart`:`insetInlineStart`,f=t?`top`:`insetInlineStart`,p=s(r).mul(3).sub(i).div(2).equal(),m=s(i).sub(r).div(2).equal(),h=t?{borderWidth:`${Y(m)} 0`,transform:`translateY(${Y(s(m).mul(-1).equal())})`}:{borderWidth:`0 ${Y(m)}`,transform:`translateX(${Y(e.calc(m).mul(-1).equal())})`};return{[c]:r,[u]:s(r).mul(3).equal(),[`${n}-rail`]:{[l]:`100%`,[u]:r},[`${n}-track,${n}-tracks`]:{[u]:r},[`${n}-track-draggable`]:{...h},[`${n}-handle`]:{[d]:p},[`${n}-mark`]:{insetInlineStart:0,top:0,[f]:s(r).mul(3).add(t?0:o).equal(),[l]:`100%`},[`${n}-step`]:{insetInlineStart:0,top:0,[f]:r,[l]:`100%`,[u]:r},[`${n}-dot`]:{position:`absolute`,[d]:s(r).sub(a).div(2).equal()}}},uV=e=>{let{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:{...lV(e,!0),[`&${t}-with-marks`]:{marginBottom:n}}}},dV=e=>{let{componentCls:t}=e;return{[`${t}-vertical`]:{...lV(e,!1),height:`100%`}}},fV=Ql(`Slider`,e=>{let t=dc(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[cV(t),uV(t),dV(t)]},e=>{let t=e.controlHeightLG/4,n=e.controlHeightSM/2,r=e.lineWidth+1,i=e.lineWidth+1*1.5,a=e.colorPrimary,o=new Nc(a).setA(.2).toRgbString();return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:n,dotSize:8,handleLineWidth:r,handleLineWidthHover:i,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:a,handleActiveOutlineColor:o,handleColorDisabled:new Nc(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}});function pV(){let[e,t]=S.useState(!1),n=S.useRef(null),r=()=>{Oi.cancel(n.current)};return S.useEffect(()=>r,[]),[e,e=>{r(),e?t(e):n.current=Oi(()=>{t(e)})}]}function mV(e){return e||e===null?e:e=>ef(e)?e.toString():``}var hV=S.forwardRef((e,t)=>{let{prefixCls:n,range:r,className:i,rootClassName:a,style:o,disabled:s,tooltip:c={},onChangeComplete:l,classNames:u,styles:d,vertical:f,orientation:p,...m}=e,[,h]=Ef(p,f),{getPrefixCls:g,direction:_,className:v,style:y,classNames:b,styles:x,getPopupContainer:C}=ya(`slider`),w=S.useContext(hm),T=s??w,E={...e,disabled:T,vertical:h},[D,O]=Cf([b,u],[x,d],{props:E}),{handleRender:k,direction:A}=S.useContext(oV),j=(A||_)===`rtl`,[M,N]=pV(),[P,F]=pV(),I={...c},{open:L,placement:R,getPopupContainer:z,prefixCls:B,formatter:V}=I,H=L,U=(M||P)&&H!==!1,W=mV(V),[ee,te]=pV(),ne=e=>{l?.(e),te(!1)},re=(e,t)=>e||(t?j?`left`:`right`:`top`),G=g(`slider`,n),[ie,K]=fV(G),ae=J(i,v,D.root,a,{[`${G}-rtl`]:j,[`${G}-lock`]:ee},ie,K);j&&!h&&(m.reverse=!m.reverse),S.useEffect(()=>{let e=()=>{Oi(()=>{F(!1)},1)};return document.addEventListener(`mouseup`,e),()=>{document.removeEventListener(`mouseup`,e)}},[]);let q=r&&!H,oe=k||((e,t)=>{let{index:n}=t,r=e.props;function i(e,t,n){n&&m[e]?.(t),r[e]?.(t)}let a={...r,onMouseEnter:e=>{N(!0),i(`onMouseEnter`,e)},onMouseLeave:e=>{N(!1),i(`onMouseLeave`,e)},onMouseDown:e=>{F(!0),te(!0),i(`onMouseDown`,e)},onFocus:e=>{F(!0),m.onFocus?.(e),i(`onFocus`,e,!0)},onBlur:e=>{F(!1),m.onBlur?.(e),i(`onBlur`,e,!0)}},o=S.cloneElement(e,a),s=(!!H||U)&&W!==null;return q?o:S.createElement(sV,{...I,prefixCls:g(`tooltip`,B),title:W?W(t.value):``,value:t.value,open:s,placement:re(R,h),key:n,classNames:{root:`${G}-tooltip`},getPopupContainer:z||C},o)}),se=q?(e,t)=>{let n=S.cloneElement(e,{style:{...e.props.style,visibility:`hidden`}});return S.createElement(sV,{...I,prefixCls:g(`tooltip`,B),title:W?W(t.value):``,open:W!==null&&U,placement:re(R,h),key:`tooltip`,classNames:{root:`${G}-tooltip`},getPopupContainer:z||C,draggingDelete:t.draggingDelete},n)}:void 0,ce={...O.root,...y,...o};return S.createElement(aV,{...m,classNames:D,styles:O,step:m.step,range:r,className:ae,style:ce,disabled:T,vertical:h,ref:t,prefixCls:G,handleRender:oe,activeHandleRender:se,onChangeComplete:ne})}),gV=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z`}}]},name:`swap-right`,theme:`outlined`}}))());function _V(){return _V=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,_V({},e,{ref:t,icon:gV.default}))),yV=(e,t,n,r,i,a)=>{let{classNames:o,styles:s}=ya(e),[c,l]=Cf([o,t],[s,n],{props:a},{popup:{_default:`root`}});return S.useMemo(()=>[{...c,popup:{...c.popup,root:J(c.popup?.root,r)}},{...l,popup:{...l.popup,root:{...l.popup?.root,...i}}}],[c,l,r,i])};function bV(e,t,n){return n===void 0?t===`year`&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t===`quarter`&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t===`month`&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t===`week`&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t===`time`&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder:n}function xV(e,t,n){return n===void 0?t===`year`&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t===`quarter`&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t===`month`&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t===`week`&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t===`time`&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder:n}function SV(e,t){let{allowClear:n=!0}=e,{clearIcon:r,removeIcon:i}=HC({...e,prefixCls:t,componentName:`DatePicker`});return[S.useMemo(()=>n===!1?!1:{clearIcon:r,...n===!0?{}:n},[n,r]),i]}var[CV,wV]=[`week`,`WeekPicker`],[TV,EV]=[`month`,`MonthPicker`],[DV,OV]=[`year`,`YearPicker`],[kV,AV]=[`quarter`,`QuarterPicker`],[jV,MV]=[`time`,`TimePicker`],NV=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z`}}]},name:`calendar`,theme:`outlined`}}))());function PV(){return PV=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,PV({},e,{ref:t,icon:NV.default}))),IV=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z`}}]},name:`clock-circle`,theme:`outlined`}}))());function LV(){return LV=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,LV({},e,{ref:t,icon:IV.default}))),zV=({picker:e,hasFeedback:t,feedbackIcon:n,suffixIcon:r})=>r===null||r===!1?null:r===!0||r===void 0?S.createElement(S.Fragment,null,e===jV?S.createElement(RV,null):S.createElement(FV,null),t&&n):r,BV=e=>S.createElement(__,{size:`small`,type:`primary`,...e});function VV(e){return(0,S.useMemo)(()=>({button:BV,...e}),[e])}var HV=e=>(0,S.forwardRef)((t,n)=>{let{prefixCls:r,getPopupContainer:i,components:a,className:o,style:s,classNames:c,styles:l,placement:u,size:d,disabled:f,bordered:p=!0,placeholder:m,status:h,variant:g,picker:_,dropdownClassName:v,popupClassName:y,popupStyle:b,rootClassName:x,suffixIcon:C,separator:w,...T}=t,[E,D]=yV(_===jV?`timePicker`:`datePicker`,c,l,y||v,b),O=S.useRef(null),{getPrefixCls:k,direction:A,getPopupContainer:j,rangePicker:M}=(0,S.useContext)(ga),N=k(`picker`,r),{compactSize:P,compactItemClassnames:F}=Ah(N,A),I=k(),L=w??M?.separator,[R,z]=vC(`rangePicker`,g,p),B=sp(N),[V,H]=jL(N,B),U=J(V,H,B,x),[W]=SV(t,N),ee=VV(a),te=Oh(e=>d??P??e),ne=S.useContext(hm),re=f??ne,{hasFeedback:G,status:ie,feedbackIcon:K}=(0,S.useContext)(Dy),ae=zV({picker:_,hasFeedback:G,feedbackIcon:K,suffixIcon:C});(0,S.useImperativeHandle)(n,()=>O.current);let[q]=Yd(`Calendar`,zd),oe=Li(q,t.locale||{}),[se]=Lf(`DatePicker`,D?.popup?.root?.zIndex);return S.createElement(Ay,{space:!0},S.createElement(sI,{separator:S.createElement(`span`,{"aria-label":`to`,className:`${N}-separator`},L??S.createElement(vV,null)),disabled:re,ref:O,placement:u,placeholder:xV(oe,_,m),suffixIcon:ae,prevIcon:S.createElement(`span`,{className:`${N}-prev-icon`}),nextIcon:S.createElement(`span`,{className:`${N}-next-icon`}),superPrevIcon:S.createElement(`span`,{className:`${N}-super-prev-icon`}),superNextIcon:S.createElement(`span`,{className:`${N}-super-next-icon`}),transitionName:`${I}-slide-up`,picker:_,...T,locale:oe.lang,getPopupContainer:i||j,generateConfig:e,components:ee,direction:A,prefixCls:N,rootClassName:U,className:J({[`${N}-large`]:te===`large`,[`${N}-small`]:te===`small`,[`${N}-${R}`]:z},cC(N,lC(ie,h),G),F,o,M?.className),style:{...M?.style,...s},classNames:E,styles:{...D,popup:{...D.popup,root:{...D.popup.root,zIndex:se}}},allowClear:W}))}),UV=e=>{let t=(t,n)=>{let r=n===MV?`timePicker`:`datePicker`;return(0,S.forwardRef)((i,a)=>{let{prefixCls:o,getPopupContainer:s,components:c,style:l,className:u,size:d,bordered:f,placement:p,placeholder:m,disabled:h,status:g,variant:_,onCalendarChange:v,classNames:y,styles:b,dropdownClassName:x,popupClassName:C,popupStyle:w,rootClassName:T,suffixIcon:E,...D}=i,{suffixIcon:O}=ya(n===MV?`timePicker`:`datePicker`),{getPrefixCls:k,direction:A,getPopupContainer:j,[r]:M}=(0,S.useContext)(ga),N=k(`picker`,o),{compactSize:P,compactItemClassnames:F}=Ah(N,A),I=Oh(e=>d??P??e),L=S.useContext(hm),R=h??L,z={...i,size:I,disabled:R,status:g,variant:_},[B,V]=yV(r,y,b,C||x,w,z),H=S.useRef(null),[U,W]=vC(`datePicker`,_,f),ee=sp(N),[te,ne]=jL(N,ee),re=J(te,ne,ee,T);(0,S.useImperativeHandle)(a,()=>H.current);let G={showToday:!0},ie=t||i.picker,K=k(),{onSelect:ae,multiple:q}=D,oe=ae&&t===`time`&&!q,se=(e,t,n)=>{v?.(e,t,n),oe&&ae(e)},[ce,le]=SV(i,N),ue=VV(c),{hasFeedback:de,status:fe,feedbackIcon:pe}=(0,S.useContext)(Dy),me=zV({picker:ie,hasFeedback:de,feedbackIcon:pe,suffixIcon:E===void 0?O:E}),[he]=Yd(`DatePicker`,zd),ge=Li(he,i.locale||{}),[_e]=Lf(`DatePicker`,V?.popup?.root?.zIndex);return S.createElement(Ay,{space:!0},S.createElement(GI,{ref:H,placeholder:bV(ge,ie,m),suffixIcon:me,placement:p,prevIcon:S.createElement(`span`,{className:`${N}-prev-icon`}),nextIcon:S.createElement(`span`,{className:`${N}-next-icon`}),superPrevIcon:S.createElement(`span`,{className:`${N}-super-prev-icon`}),superNextIcon:S.createElement(`span`,{className:`${N}-super-next-icon`}),transitionName:`${K}-slide-up`,picker:t,onCalendarChange:se,...G,...D,locale:ge.lang,getPopupContainer:s||j,generateConfig:e,components:ue,direction:A,disabled:R,prefixCls:N,rootClassName:re,className:J({[`${N}-large`]:I===`large`,[`${N}-small`]:I===`small`,[`${N}-${U}`]:W},cC(N,lC(fe,g),de),F,M?.className,u),style:{...M?.style,...l},classNames:B,styles:{...V,popup:{...V.popup,root:{...V.popup.root,zIndex:_e}}},allowClear:ce,removeIcon:le}))})},n=t(),r=t(CV,wV),i=t(TV,EV),a=t(DV,OV),o=t(kV,AV);return{DatePicker:n,WeekPicker:r,MonthPicker:i,YearPicker:a,TimePicker:t(jV,MV),QuarterPicker:o}},WV=e=>{let{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:i,TimePicker:a,QuarterPicker:o}=UV(e),s=HV(e),c=t;return c.WeekPicker=n,c.MonthPicker=r,c.YearPicker=i,c.RangePicker=s,c.TimePicker=a,c.QuarterPicker=o,c},GV=WV(oD);GV._InternalPanelDoNotUseOrYouWillBeFired=lx(GV,`popupAlign`,void 0,`picker`),GV._InternalRangePanelDoNotUseOrYouWillBeFired=lx(GV.RangePicker,`popupAlign`,void 0,`picker`),GV.generatePicker=WV;var KV={xxxl:4,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},qV=S.createContext(null),JV=e=>ki(e).map(e=>({...e?.props,key:e.key}));function YV(e,t,n){let r=S.useMemo(()=>t||JV(n),[t,n]);return S.useMemo(()=>r.map(({span:t,...n})=>t===`filled`?{...n,filled:!0}:{...n,span:ef(t)?t:QC(e,t)}),[r,e])}function XV(e,t){let n=[],r=[],i=!1,a=0;return e.filter(e=>e).forEach(e=>{let{filled:o,...s}=e;if(o){r.push(s),n.push(r),r=[],a=0;return}let c=t-a;a+=e.span||1,a>=t?(a>t?(i=!0,r.push({...s,span:c})):r.push(s),n.push(r),r=[],a=0):r.push(s)}),r.length>0&&n.push(r),n=n.map(e=>{let n=e.reduce((e,t)=>e+(t.span||1),0);if(n{let[n,r]=(0,S.useMemo)(()=>XV(t,e),[t,e]);return n},QV=e=>e.children,$V=e=>{let{itemPrefixCls:t,component:n,span:r,className:i,style:a,labelStyle:o,contentStyle:s,bordered:c,label:l,content:u,colon:d,type:f,styles:p,classNames:m}=e,h=n,{classNames:g,styles:_}=S.useContext(qV),[v,y]=Cf([g,m],[_,p],{props:e}),b={...o,...y.label},x={...s,...y.content};return c?S.createElement(h,{colSpan:r,style:a,className:J(i,{[`${t}-item-${f}`]:f===`label`||f===`content`,[v.label]:v.label&&f===`label`,[v.content]:v.content&&f===`content`})},$d(l)&&S.createElement(`span`,{style:b},l),$d(u)&&S.createElement(`span`,{style:x},u)):S.createElement(h,{className:J(`${t}-item`,i),style:a,colSpan:r},S.createElement(`div`,{className:`${t}-item-container`},$d(l)&&S.createElement(`span`,{style:b,className:J(`${t}-item-label`,v.label,{[`${t}-item-no-colon`]:!d})},l),$d(u)&&S.createElement(`span`,{style:x,className:J(`${t}-item-content`,v.content)},u)))};function eH(e,{colon:t,prefixCls:n,bordered:r},{component:i,type:a,showLabel:o,showContent:s,labelStyle:c,contentStyle:l,styles:u}){return e.map(({label:e,children:d,prefixCls:f=n,className:p,style:m,labelStyle:h,contentStyle:g,span:_=1,key:v,styles:y,classNames:b},x)=>typeof i==`string`?S.createElement($V,{key:`${a}-${v||x}`,className:p,style:m,classNames:b,styles:{label:{...c,...u?.label,...h,...y?.label},content:{...l,...u?.content,...g,...y?.content}},span:_,colon:t,component:i,itemPrefixCls:f,bordered:r,label:o?e:null,content:s?d:null,type:a}):[S.createElement($V,{key:`label-${v||x}`,className:p,style:{...c,...u?.label,...m,...h,...y?.label},span:1,colon:t,component:i[0],itemPrefixCls:f,bordered:r,label:e,type:`label`}),S.createElement($V,{key:`content-${v||x}`,className:p,style:{...l,...u?.content,...m,...g,...y?.content},span:_*2-1,component:i[1],itemPrefixCls:f,bordered:r,content:d,type:`content`})])}var tH=e=>{let t=S.useContext(qV),{prefixCls:n,vertical:r,row:i,index:a,bordered:o}=e;return r?S.createElement(S.Fragment,null,S.createElement(`tr`,{key:`label-${a}`,className:`${n}-row`},eH(i,e,{component:`th`,type:`label`,showLabel:!0,...t})),S.createElement(`tr`,{key:`content-${a}`,className:`${n}-row`},eH(i,e,{component:`td`,type:`content`,showContent:!0,...t}))):S.createElement(`tr`,{key:a,className:`${n}-row`},eH(i,e,{component:o?[`th`,`td`]:`td`,type:`item`,showLabel:!0,showContent:!0,...t}))},nH=e=>{let{componentCls:t,labelBg:n}=e;return{[`&${t}-bordered`]:{[`> ${t}-view`]:{border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:`auto`},[`${t}-row`]:{borderBottom:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:first-child":{"> th:first-child, > td:first-child":{borderStartStartRadius:e.borderRadiusLG}},"&:last-child":{borderBottom:`none`,"> th:first-child, > td:first-child":{borderEndStartRadius:e.borderRadiusLG}},[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${Y(e.padding)} ${Y(e.paddingLG)}`,borderInlineEnd:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:`none`}},[`> ${t}-item-label`]:{color:e.colorTextSecondary,backgroundColor:n,"&::after":{display:`none`}}}},[`&${t}-medium`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${Y(e.paddingSM)} ${Y(e.paddingLG)}`}}},[`&${t}-small`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${Y(e.paddingXS)} ${Y(e.padding)}`}}}}}},rH=e=>{let{componentCls:t,extraColor:n,itemPaddingBottom:r,itemPaddingEnd:i,colonMarginRight:a,colonMarginLeft:o,titleMarginBottom:s}=e;return{[t]:{...Ul(e),...nH(e),"&-rtl":{direction:`rtl`},[`${t}-header`]:{display:`flex`,alignItems:`center`,marginBottom:s},[`${t}-title`]:{...Hl,flex:`auto`,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG},[`${t}-extra`]:{marginInlineStart:`auto`,color:n,fontSize:e.fontSize},[`${t}-view`]:{width:`100%`,borderRadius:e.borderRadiusLG,table:{width:`100%`,tableLayout:`fixed`,borderCollapse:`collapse`}},[`${t}-row`]:{"> th, > td":{paddingBottom:r,paddingInlineEnd:i},"> th:last-child, > td:last-child":{paddingInlineEnd:0},"&:last-child":{borderBottom:`none`,"> th, > td":{paddingBottom:0}}},[`${t}-item-label`]:{color:e.labelColor,fontWeight:`normal`,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:`start`,"&::after":{content:`":"`,position:`relative`,top:-.5,marginInline:`${Y(o)} ${Y(a)}`},[`&${t}-item-no-colon::after`]:{content:`""`}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:`""`}},[`${t}-item-content`]:{display:`table-cell`,flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:`break-word`,overflowWrap:`break-word`},[`${t}-item`]:{paddingBottom:0,verticalAlign:`top`,"&-container":{display:`flex`,[`${t}-item-label`]:{display:`inline-flex`,alignItems:`baseline`},[`${t}-item-content`]:{display:`inline-flex`,alignItems:`baseline`,minWidth:`1em`}}},"&-medium":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}}}},iH=Ql(`Descriptions`,e=>rH(dc(e,{})),e=>({labelBg:e.colorFillAlter,labelColor:e.colorTextTertiary,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,itemPaddingEnd:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText})),aH=e=>{let{prefixCls:t,title:n,extra:r,column:i,colon:a=!0,bordered:o,layout:s,children:c,className:l,rootClassName:u,style:d,size:f,labelStyle:p,contentStyle:m,styles:h,items:g,classNames:_,...v}=e,{getPrefixCls:y,direction:b,className:x,style:C,classNames:w,styles:T}=ya(`descriptions`),E=y(`descriptions`,t),D=ew(),O=S.useMemo(()=>ef(i)?i:QC(D,{...KV,...i})??3,[D,i]),k=YV(D,g,c),A=Oh(f),j=ZV(O,k),[M,N]=iH(E),P={...e,column:O,items:k,size:A},[F,I]=Cf([w,_],[T,h],{props:P}),L=S.useMemo(()=>({labelStyle:p,contentStyle:m,styles:{label:I.label,content:I.content},classNames:{label:F.label,content:F.content}}),[p,m,I.label,I.content,F.label,F.content]);return S.createElement(qV.Provider,{value:L},S.createElement(`div`,{className:J(E,x,F.root,{[`${E}-medium`]:A===`medium`||A===`middle`,[`${E}-small`]:A===`small`,[`${E}-bordered`]:!!o,[`${E}-rtl`]:b===`rtl`},l,u,M,N),style:{...C,...I.root,...d},...v},(n||r)&&S.createElement(`div`,{className:J(`${E}-header`,F.header),style:I.header},n&&S.createElement(`div`,{className:J(`${E}-title`,F.title),style:I.title},n),r&&S.createElement(`div`,{className:J(`${E}-extra`,F.extra),style:I.extra},r)),S.createElement(`div`,{className:`${E}-view`},S.createElement(`table`,null,S.createElement(`tbody`,null,j.map((e,t)=>S.createElement(tH,{key:t,index:t,colon:a,prefixCls:E,vertical:s===`vertical`,bordered:o,row:e})))))))};aH.Item=QV;var oH=S.createContext(null),sH=S.createContext({});function cH(){return cH=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t,className:n,containerRef:r,...i}=e,{panel:a}=S.useContext(sH),o=lr(a,r);return S.createElement(`div`,cH({className:J(`${t}-section`,n),role:`dialog`,ref:o},xi(e,{aria:!0}),{"aria-modal":`true`},i))};function uH(e){let{prefixCls:t,direction:n,className:r,style:i,maxSize:a,containerRef:o,currentSize:s,onResize:c,onResizeEnd:l,onResizeStart:u}=e,[d,f]=S.useState(!1),[p,m]=S.useState(0),[h,g]=S.useState(0),_=n===`left`||n===`right`,v=zn(e=>{e.preventDefault(),e.stopPropagation(),f(!0),m(_?e.clientX:e.clientY);let t;if(typeof s==`number`)t=s;else if(o?.current){let e=o.current.getBoundingClientRect();t=_?e.width:e.height}g(t),u?.(t)}),y=zn(e=>{if(!d)return;let t=(_?e.clientX:e.clientY)-p;(n===`right`||n===`bottom`)&&(t=-t);let r=h+t;r<0&&(r=0),a&&r>a&&(r=a),c?.(r)}),b=S.useCallback(()=>{if(d&&(f(!1),o?.current)){let e=o.current.getBoundingClientRect(),t=_?e.width:e.height;l?.(t)}},[d,o,l,_]);return S.useEffect(()=>{if(d)return document.addEventListener(`mousemove`,y),document.addEventListener(`mouseup`,b),()=>{document.removeEventListener(`mousemove`,y),document.removeEventListener(`mouseup`,b)}},[d,y,b]),{dragElementProps:{className:J(`${t}-dragger`,`${t}-dragger-${n}`,{[`${t}-dragger-dragging`]:d,[`${t}-dragger-horizontal`]:_,[`${t}-dragger-vertical`]:!_},r),style:i,onMouseDown:v},isDragging:d}}function dH(e){if(typeof e==`string`){let t=Number(e.replace(/px$/i,``));if(parseFloat(e)===t&&ui(!1,"Invalid value type of `width` or `height` which should be number type instead."),!Number.isNaN(t))return t}return e}function fH(e,t,n,r,i){let[a]=Gr(t&&(r??i!==!1),e);return S.useEffect(()=>{t&&n===!0&&e()?.focus({preventScroll:!0})},[t]),a}function pH(){return pH=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,open:r,placement:i,inline:a,push:o,forceRender:s,autoFocus:c,focusTrap:l,classNames:u,rootClassName:d,rootStyle:f,zIndex:p,className:m,id:h,style:g,motion:_,width:v,height:y,size:b,maxSize:x,children:C,mask:w,maskClosable:T,maskMotion:E,maskClassName:D,maskStyle:O,afterOpenChange:k,onClose:A,onMouseEnter:j,onMouseOver:M,onMouseLeave:N,onClick:P,onKeyDown:F,onKeyUp:I,styles:L,drawerRender:R,resizable:z,defaultSize:B}=e,V=S.useRef(null);S.useImperativeHandle(t,()=>V.current);let H=fH(()=>V.current,r,c,l,w),[U,W]=S.useState(!1),ee=S.useContext(oH),te;te=typeof o==`boolean`?o?{}:{distance:0}:o||{};let ne=te?.distance??ee?.pushDistance??180,re=S.useMemo(()=>({pushDistance:ne,push:()=>{W(!0)},pull:()=>{W(!1)}}),[ne]);S.useEffect(()=>{r?ee?.push?.():ee?.pull?.()},[r]),S.useEffect(()=>()=>{ee?.pull?.()},[]);let G=S.createElement(Od,pH({key:`mask`},E,{visible:w&&r}),({className:e,style:t},i)=>S.createElement(`div`,{className:J(`${n}-mask`,e,u?.mask,D),style:{...t,...O,...L?.mask},onClick:T&&r?A:void 0,ref:i})),ie=typeof _==`function`?_(i):_,[K,ae]=S.useState(),q=i===`left`||i===`right`,oe=S.useMemo(()=>dH(b??(q?v:y)??K??B??(q?378:void 0)),[b,v,y,B,q,K]),se=S.useMemo(()=>{let e={};if(U&&ne)switch(i){case`top`:e.transform=`translateY(${ne}px)`;break;case`bottom`:e.transform=`translateY(${-ne}px)`;break;case`left`:e.transform=`translateX(${ne}px)`;break;default:e.transform=`translateX(${-ne}px)`;break}return q?e.width=dH(oe):e.height=dH(oe),e},[U,ne,i,q,oe]),ce=S.useRef(null),le=!!z,ue=typeof z==`object`&&z||{},de=zn(e=>{ae(e),ue.onResize?.(e)}),{dragElementProps:fe,isDragging:pe}=uH({prefixCls:`${n}-resizable`,direction:i,className:u?.dragger,style:L?.dragger,maxSize:x,containerRef:ce,currentSize:oe,onResize:de,onResizeStart:ue.onResizeStart,onResizeEnd:ue.onResizeEnd}),me={onMouseEnter:j,onMouseOver:M,onMouseLeave:N,onClick:P,onKeyDown:F,onKeyUp:I,onFocus:e=>{H(e.target)}},he=S.createElement(Od,pH({key:`panel`},ie,{visible:r,forceRender:s,onVisibleChanged:k,removeOnLeave:!1,leavedClassName:`${n}-content-wrapper-hidden`}),({className:t,style:r},i)=>{let a=S.createElement(lH,pH({id:h,containerRef:i,prefixCls:n,className:J(m,u?.section),style:{...g,...L?.section}},xi(e,{aria:!0}),me),C);return S.createElement(`div`,pH({ref:ce,className:J(`${n}-content-wrapper`,pe&&`${n}-content-wrapper-dragging`,u?.wrapper,!pe&&t),style:{...r,...se,...L?.wrapper}},xi(e,{data:!0})),le&&S.createElement(`div`,fe),R?R(a):a)}),ge={...f};return p&&(ge.zIndex=p),S.createElement(oH.Provider,{value:re},S.createElement(`div`,{className:J(n,`${n}-${i}`,d,{[`${n}-open`]:r,[`${n}-inline`]:a}),style:ge,tabIndex:-1,ref:V},G,he))}),hH=e=>{let{open:t=!1,prefixCls:n=`rc-drawer`,placement:r=`right`,autoFocus:i=!0,keyboard:a=!0,width:o,height:s,size:c,maxSize:l,mask:u=!0,maskClosable:d=!0,getContainer:f,forceRender:p,afterOpenChange:m,destroyOnHidden:h,onMouseEnter:g,onMouseOver:_,onMouseLeave:v,onClick:y,onKeyDown:b,onKeyUp:x,onClose:C,resizable:w,defaultSize:T,focusTriggerAfterClose:E,panelRef:D}=e,[O,k]=S.useState(!1),[A,j]=S.useState(!1);Hn(()=>{j(!0)},[]);let M=A?t:!1,N=S.useRef(null),P=S.useRef(null);Hn(()=>{M&&(P.current=document.activeElement)},[M]);let F=e=>{k(e),m?.(e),!e&&E!==!1&&P.current&&!N.current?.contains(P.current)&&P.current?.focus({preventScroll:!0})},I=S.useMemo(()=>({panel:D}),[D]);if(!p&&!O&&!M&&h)return null;let L={onMouseEnter:g,onMouseOver:_,onMouseLeave:v,onClick:y,onKeyDown:b,onKeyUp:x},R={...e,open:M,prefixCls:n,placement:r,autoFocus:i,keyboard:a,width:o,height:s,size:c,maxSize:l,defaultSize:T,mask:u,maskClosable:d,inline:f===!1,afterOpenChange:F,ref:N,resizable:w,...L};return S.createElement(sH.Provider,{value:I},S.createElement(Dp,{open:M||p||O,autoDestroy:!1,getContainer:f,autoLock:u&&(M||O),onEsc:({top:e,event:t})=>{e&&a&&(t.stopPropagation(),C?.(t))}},S.createElement(mH,R)))},gH=e=>{let{prefixCls:t,ariaId:n,title:r,footer:i,extra:a,closable:o,loading:s,onClose:c,headerStyle:l,bodyStyle:u,footerStyle:d,children:f,classNames:p,styles:m}=e,h=ya(`drawer`),{classNames:g,styles:_,closable:v}=h,[y,b]=Cf([g,p],[_,m],{props:{...e,closable:o??v}}),x=S.useMemo(()=>{let e=o??v;if(e!==!1)return nf(e)&&e?.placement===`end`?`end`:`start`},[o,v]),C=S.useCallback(e=>S.createElement(`button`,{type:`button`,onClick:c,className:J(`${t}-close`,{[`${t}-close-${x}`]:x===`end`},y.close),style:b.close},e),[c,t,x,y.close,b.close]),[w,T]=pf(sf(e),sf(h),{closable:!0,closeIconRender:C}),E=()=>!r&&!w?null:S.createElement(`div`,{style:{...b.header,...l},className:J(`${t}-header`,y.header,{[`${t}-header-close-only`]:w&&!r&&!a})},S.createElement(`div`,{className:`${t}-header-title`},x===`start`&&T,r&&S.createElement(`div`,{className:J(`${t}-title`,y.title),style:b.title,id:n},r)),a&&S.createElement(`div`,{className:J(`${t}-extra`,y.extra),style:b.extra},a),x===`end`&&T),D=()=>i?S.createElement(`div`,{className:J(`${t}-footer`,y.footer),style:{...b.footer,...d}},i):null;return S.createElement(S.Fragment,null,E(),S.createElement(`div`,{className:J(`${t}-body`,y.body),style:{...b.body,...u}},s?S.createElement(Gy,{active:!0,title:!1,paragraph:{rows:5},className:`${t}-body-skeleton`}):f),D())},_H=e=>{let t=`100%`;return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},vH=(e,t)=>({"&-enter, &-appear":{...e,"&-active":t},"&-leave":{...t,"&-active":e}}),yH=(e,t)=>({"&-enter, &-appear, &-leave":{"&-start":{transition:`none`},"&-active":{transition:`all ${t}`}},...vH({opacity:e},{opacity:1})}),bH=(e,t)=>[yH(.7,t),vH({transform:_H(e)},{transform:`none`})],xH=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:yH(0,n),[`${t}-panel-motion`]:[`left`,`right`,`top`,`bottom`].reduce((e,t)=>({...e,[`&-${t}`]:bH(t,n)}),{})}}},SH=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:i,colorBgElevated:a,motionDurationSlow:o,motionDurationMid:s,paddingXS:c,padding:l,paddingLG:u,fontSizeLG:d,lineHeightLG:f,lineWidth:p,lineType:m,colorSplit:h,marginXS:g,colorIcon:_,colorIconHover:v,colorBgTextHover:y,colorBgTextActive:b,colorText:x,fontWeightStrong:S,footerPaddingBlock:C,footerPaddingInline:w,draggerSize:T,calc:E}=e,D=`${n}-content-wrapper`,O=`${n}-resizable-dragger`;return{[n]:{position:`fixed`,inset:0,zIndex:r,pointerEvents:`none`,color:x,"&-pure":{position:`relative`,background:a,display:`flex`,flexDirection:`column`,pointerEvents:`auto`,[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:`absolute`},[`${n}-mask`]:{position:`absolute`,inset:0,zIndex:r,background:i,pointerEvents:`auto`,[`&${n}-mask-blur`]:{backdropFilter:`blur(4px)`}},[D]:{position:`absolute`,zIndex:r,maxWidth:`100vw`,transition:`all ${o}`,"&-hidden":{display:`none`}},[`&-left > ${D}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${D}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${D}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${D}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-section`]:{display:`flex`,flexDirection:`column`,width:`100%`,height:`100%`,overflow:`auto`,background:a,pointerEvents:`auto`},[`${n}-header`]:{display:`flex`,flex:0,alignItems:`center`,padding:`${Y(l)} ${Y(u)}`,fontSize:d,lineHeight:f,borderBottom:`${Y(p)} ${m} ${h}`,"&-title":{display:`flex`,flex:1,alignItems:`center`,minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:`none`},[`${n}-close`]:{display:`inline-flex`,width:E(d).add(c).equal(),height:E(d).add(c).equal(),borderRadius:t,justifyContent:`center`,alignItems:`center`,color:_,fontWeight:S,fontSize:d,fontStyle:`normal`,lineHeight:1,textAlign:`center`,textTransform:`none`,textDecoration:`none`,background:`transparent`,border:0,cursor:`pointer`,transition:`all ${s}`,textRendering:`auto`,[`&${n}-close-end`]:{marginInlineStart:g},[`&:not(${n}-close-end)`]:{marginInlineEnd:g},"&:hover":{color:v,backgroundColor:y,textDecoration:`none`},"&:active":{backgroundColor:b},...ql(e)},[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:f},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:`auto`,[`${n}-body-skeleton`]:{width:`100%`,height:`100%`,display:`flex`,justifyContent:`center`}},[`${n}-footer`]:{flexShrink:0,padding:`${Y(C)} ${Y(w)}`,borderTop:`${Y(p)} ${m} ${h}`},[O]:{position:`absolute`,zIndex:1,backgroundColor:`transparent`,userSelect:`none`,pointerEvents:`auto`,"&:hover":{backgroundColor:e.colorPrimary,opacity:.2},"&-dragging":{backgroundColor:e.colorPrimary,opacity:.3}},[`${O}-left`]:{top:0,bottom:0,right:{_skip_check_:!0,value:0},width:T,cursor:`col-resize`},[`${O}-right`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},width:T,cursor:`col-resize`},[`${O}-top`]:{insetInline:0,bottom:0,height:T,cursor:`row-resize`},[`${O}-bottom`]:{insetInline:0,top:0,height:T,cursor:`row-resize`},[`${D}-dragging`]:{userSelect:`none`,transition:`none`,willChange:`width, height`,[`${n}-content`]:{pointerEvents:`none`},[`${n}-section`]:{pointerEvents:`none`}},"&-rtl":{direction:`rtl`}}}},CH=Ql(`Drawer`,e=>{let t=dc(e,{});return[SH(t),xH(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding,draggerSize:4})),wH={distance:180},TH=378,EH={motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},DH=e=>{let{rootClassName:t,size:n,defaultSize:r=TH,height:i,width:a,mask:o,push:s=wH,open:c,afterOpenChange:l,onClose:u,prefixCls:d,getContainer:f,panelRef:p=null,style:m,className:h,resizable:g,"aria-labelledby":_,focusable:v,maskClosable:y,maskStyle:b,drawerStyle:x,contentWrapperStyle:C,destroyOnClose:w,destroyOnHidden:T,...E}=e,{placement:D}=E,O=Xn(),k=E.title?O:void 0,{getPopupContainer:A,getPrefixCls:j,direction:M,className:N,style:P,classNames:F,styles:I,mask:L}=ya(`drawer`),R=j(`drawer`,d),[z,B]=CH(R),V=f===void 0&&A?()=>A(document.body):f,H=S.useMemo(()=>ef(n)?n:n===`large`?736:n===`default`?TH:typeof n==`string`?/^\d+(\.\d+)?$/.test(n)?Number(n):n:!D||D===`left`||D===`right`?a:i,[n,D,a,i]),U={motionName:vh(R,`mask-motion`),...EH},W=e=>({motionName:vh(R,`panel-motion-${e}`),...EH}),ee=cr(p,qy()),[te,ne]=Lf(`Drawer`,E.zIndex),[re,G,ie]=gf(o,L,R,y),K=My(v,V!==!1&&re),{classNames:ae,styles:q,rootStyle:oe}=E,se={...e,zIndex:te,panelRef:p,mask:re,maskClosable:ie,defaultSize:r,push:s,focusable:K},[ce,le]=Cf([F,ae],[I,q],{props:se}),ue=J({"no-mask":!re,[`${R}-rtl`]:M===`rtl`},t,z,B,ce.root);return S.createElement(Ay,{form:!0,space:!0},S.createElement(jf.Provider,{value:ne},S.createElement(hH,{prefixCls:R,onClose:u,maskMotion:U,motion:W,...E,classNames:{mask:J(ce.mask,G.mask),section:ce.section,wrapper:ce.wrapper,dragger:ce.dragger},styles:{mask:{...le.mask,...b},section:{...le.section,...x},wrapper:{...le.wrapper,...C},dragger:le.dragger},open:c,mask:re,maskClosable:ie,push:s,size:H,defaultSize:r,style:{...P,...m},rootStyle:{...oe,...le.root},className:J(N,h),rootClassName:ue,getContainer:V,afterOpenChange:l,panelRef:ee,zIndex:te,...g?{resizable:g}:{},"aria-labelledby":_??k,destroyOnHidden:T??w,focusTriggerAfterClose:K.focusTriggerAfterClose,focusTrap:K.trap},S.createElement(gH,{prefixCls:R,size:n,...E,ariaId:k,onClose:u}))))};DH._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:r,placement:i=`right`,...a}=e,{getPrefixCls:o}=S.useContext(ga),s=o(`drawer`,t),[c,l]=CH(s),u=J(s,`${s}-pure`,`${s}-${i}`,c,l,r);return S.createElement(`div`,{className:u,style:n},S.createElement(gH,{prefixCls:s,...a}))};var OH=DH;function kH(e){return[`small`,`middle`,`medium`,`large`].includes(e)}function AH(e){return e?ef(e):!1}var jH=S.createContext({latestIndex:0}),MH=jH.Provider,NH=e=>{let{className:t,prefix:n,index:r,children:i,separator:a,style:o,classNames:s,styles:c}=e,{latestIndex:l}=S.useContext(jH);return $d(i)?S.createElement(S.Fragment,null,S.createElement(`div`,{className:t,style:o},i),r{let{componentCls:t,antCls:n}=e;return{[t]:{display:`inline-flex`,"&-rtl":{direction:`rtl`},"&-vertical":{flexDirection:`column`},"&-align":{flexDirection:`column`,"&-center":{alignItems:`center`},"&-start":{alignItems:`flex-start`},"&-end":{alignItems:`flex-end`},"&-baseline":{alignItems:`baseline`}},[`${t}-item:empty`]:{display:`none`},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:`block`}}}},FH=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-medium, &-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-medium, &-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},IH=Ql(`Space`,e=>{let t=dc(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[PH(t),FH(t)]},()=>({}),{resetStyle:!1}),LH=S.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r,size:i,className:a,style:o,classNames:s,styles:c}=ya(`space`),{size:l=i??`small`,align:u,className:d,rootClassName:f,children:p,direction:m,orientation:h,prefixCls:g,split:_,separator:v,style:y,vertical:b,wrap:x=!1,classNames:C,styles:w,...T}=e,[E,D]=Array.isArray(l)?l:[l,l],O=kH(D),k=kH(E),A=AH(D),j=AH(E),M=ki(p,{keepEmpty:!0}),[N,P]=Ef(h,b,m),F=u===void 0&&!P?`center`:u,I=v??_,L=n(`space`,g),[R,z]=IH(L),B={...e,size:l,orientation:N,align:F},[V,H]=Cf([s,C],[c,w],{props:B}),U=J(L,a,R,`${L}-${N}`,{[`${L}-rtl`]:r===`rtl`,[`${L}-align-${F}`]:F,[`${L}-gap-row-${D}`]:O,[`${L}-gap-col-${E}`]:k},d,f,z,V.root),W=J(`${L}-item`,V.item),ee=M.map((e,t)=>{let n=e?.key||`${W}-${t}`;return S.createElement(NH,{prefix:L,classNames:V,styles:H,className:W,key:n,index:t,separator:I,style:H.item},e)}),te=S.useMemo(()=>({latestIndex:M.reduce((e,t,n)=>$d(t)?n:e,0)}),[M]);if(M.length===0)return null;let ne={};return x&&(ne.flexWrap=`wrap`),!k&&j&&(ne.columnGap=E),!O&&A&&(ne.rowGap=D),S.createElement(`div`,{ref:t,className:U,style:{...ne,...H.root,...o,...y},...T},S.createElement(MH,{value:te},ee))});LH.Compact=Mh,LH.Addon=vB;var RH=e=>{let{getPopupContainer:t,getPrefixCls:n,direction:r}=S.useContext(ga),{prefixCls:i,type:a=`default`,danger:o,disabled:s,loading:c,onClick:l,htmlType:u,children:d,className:f,menu:p,arrow:m,autoFocus:h,trigger:g,align:_,open:v,onOpenChange:y,placement:b,getPopupContainer:x,href:C,icon:w=S.createElement(gE,null),title:T,buttonsRender:E=e=>e,mouseEnterDelay:D,mouseLeaveDelay:O,overlayClassName:k,overlayStyle:A,destroyOnHidden:j,destroyPopupOnHide:M,dropdownRender:N,popupRender:P,...F}=e,I=n(`dropdown`,i),L=`${I}-button`,R={menu:p,arrow:m,autoFocus:h,align:_,disabled:s,trigger:s?[]:g,onOpenChange:y,getPopupContainer:x||t,mouseEnterDelay:D,mouseLeaveDelay:O,classNames:{root:k},styles:{root:A},destroyOnHidden:j,popupRender:P||N},{compactSize:z,compactItemClassnames:B}=Ah(I,r),V=J(L,B,f);`destroyPopupOnHide`in e&&(R.destroyPopupOnHide=M),`open`in e&&(R.open=v),`placement`in e?R.placement=b:R.placement=r===`rtl`?`bottomLeft`:`bottomRight`;let[H,U]=E([S.createElement(X,{type:a,danger:o,disabled:s,loading:c,onClick:l,htmlType:u,href:C,title:T},d),S.createElement(X,{type:a,danger:o,icon:w})]);return S.createElement(LH.Compact,{className:V,size:z,block:!0,...F},H,S.createElement(VE,{...R},U))};RH.__ANT_BUTTON=!0;var zH=VE;zH.Button=RH;var BH=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z`}}]},name:`file-text`,theme:`outlined`}}))());function VH(){return VH=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,VH({},e,{ref:t,icon:BH.default}))),UH=(e,t)=>$d(e)?nf(e)&&!(0,S.isValidElement)(e)?{...t,...e}:{...t,title:e}:null;function WH(e){let[t,n]=S.useState(e);return S.useEffect(()=>{let t=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(t)}},[e]),t}var GH=e=>{let{componentCls:t,motionDurationFast:n,motionEaseInOut:r}=e,i=`${t}-show-help`,a=`${t}-show-help-item`;return{[i]:{transition:`opacity ${n} ${r}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[a]:{overflow:`hidden`,transition:`${[`height`,`opacity`,`transform`].map(e=>`${e} ${n} ${r}`).join(`, `)} !important`,[`&${a}-appear, &${a}-enter`]:{transform:`translateY(-5px)`,opacity:0,"&-active":{transform:`translateY(0)`,opacity:1}},[`&${a}-leave-active`]:{transform:`translateY(-5px)`}}}}},KH=e=>({legend:{display:`block`,width:`100%`,marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:`inherit`,border:0,borderBottom:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:`border-box`},'input[type="radio"], input[type="checkbox"]':{lineHeight:`normal`},'input[type="file"]':{display:`block`},'input[type="range"]':{display:`block`,width:`100%`},"select[multiple], select[size]":{height:`auto`},"input[type='file']:focus, input[type='radio']:focus, input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${Y(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:`block`,paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),qH=(e,t)=>{let{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},JH=e=>{let{componentCls:t}=e;return{[t]:{...Ul(e),...KH(e),[`${t}-text`]:{display:`inline-block`,paddingInlineEnd:e.paddingSM},"&-small":{...qH(e,e.controlHeightSM)},"&-large":{...qH(e,e.controlHeightLG)}}}},YH=e=>{let{formItemCls:t,iconCls:n,rootPrefixCls:r,antCls:i,labelRequiredMarkColor:a,labelColor:o,labelFontSize:s,labelHeight:c,labelColonMarginInlineStart:l,labelColonMarginInlineEnd:u,itemMarginBottom:d}=e,[f]=tu(i,`grid`);return{[t]:{...Ul(e),marginBottom:d,verticalAlign:`top`,"&-with-help":{transition:`none`},[`&-hidden, + &-hidden${i}-row`]:{display:`none`},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:`hidden`,whiteSpace:`nowrap`,textAlign:`end`,verticalAlign:`middle`,"&-left":{textAlign:`start`},"&-wrap":{overflow:`unset`,lineHeight:e.lineHeight,whiteSpace:`unset`,"> label":{verticalAlign:`middle`,textWrap:`balance`}},"> label":{position:`relative`,display:`inline-flex`,alignItems:`center`,maxWidth:`100%`,height:c,color:o,fontSize:s,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:`top`},[`&${t}-required`]:{"&::before":{display:`inline-block`,marginInlineEnd:e.marginXXS,color:a,fontSize:e.fontSize,fontFamily:`sans-serif`,lineHeight:1,content:`"*"`},[`&${t}-required-mark-hidden, &${t}-required-mark-optional`]:{"&::before":{display:`none`}}},[`${t}-optional`]:{display:`inline-block`,marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`&${t}-required-mark-hidden`]:{display:`none`}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:`help`,writingMode:`horizontal-tb`,marginInlineStart:e.marginXXS},"&::after":{content:`":"`,position:`relative`,marginBlock:0,marginInlineStart:l,marginInlineEnd:u},[`&${t}-no-colon::after`]:{content:`"\\a0"`}}},[`${t}-control`]:{[f(`display`)]:`flex`,flexDirection:`column`,flexGrow:1,[`&:first-child:not([class^="'${r}-col-'"]):not([class*="' ${r}-col-'"])`]:{width:`100%`},"&-input":{position:`relative`,display:`flex`,alignItems:`center`,minHeight:e.controlHeight,"&-content":{flex:`auto`,maxWidth:`100%`,[`&:has(> ${i}-switch:only-child, > ${i}-rate:only-child)`]:{display:`flex`,alignItems:`center`}}}},[t]:{"&-additional":{display:`flex`,flexDirection:`column`},"&-explain, &-extra":{clear:`both`,color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:`100%`},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:`auto`,opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:`center`,visibility:`visible`,animationName:_g,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:`none`,"&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}}}},XH=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:`initial`,textAlign:`start`,"> label":{margin:0,"&::after":{visibility:`hidden`}}}),ZH=e=>{let{antCls:t,formItemCls:n}=e;return{[`${n}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:`1 1 0`,minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:`unset`}},[`${t}-col-24${n}-label, + ${t}-col-xl-24${n}-label`]:XH(e)}}},QH=e=>{let{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:`flex`,flexWrap:`wrap`,[`${n}-inline`]:{flex:`none`,marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:`nowrap`},[`> ${n}-label, + > ${n}-control`]:{display:`inline-block`,verticalAlign:`top`},[`> ${n}-label`]:{flex:`none`},[`${t}-text`]:{display:`inline-block`},[`${n}-has-feedback`]:{display:`inline-block`}}}}},$H=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:XH(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:`wrap`,[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:`0 0 100%`,maxWidth:`100%`}}}}}},eU=e=>{let{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${n}-vertical`]:{[`${n}-row`]:{flexDirection:`column`},[`${n}-label > label`]:{height:`auto`},[`${n}-control`]:{width:`100%`},[`${n}-label, ${r}-col-24${n}-label, - ${r}-col-xl-24${n}-label`]:tU(e)},[`@media (max-width: ${Y(e.screenXSMax)})`]:[iU(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:tU(e)}}}],[`@media (max-width: ${Y(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:tU(e)}}},[`@media (max-width: ${Y(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:tU(e)}}},[`@media (max-width: ${Y(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:tU(e)}}}}},oU=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),sU=(e,t)=>dc(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),cU=Ql(`Form`,(e,{rootPrefixCls:t})=>{let n=sU(e,t);return[$H(n),eU(n),XH(n),nU(n),rU(n),aU(n),Wh(n),hg]},oU,{order:-1e3}),lU=[];function uU(e,t,n,r=0){return{key:typeof e==`string`?e:`${t}-${r}`,error:e,errorStatus:n}}var dU=({help:e,helpStatus:t,errors:n=lU,warnings:r=lU,className:i,fieldId:a,onVisibleChanged:o})=>{let{prefixCls:s}=S.useContext(by),c=`${s}-item-explain`,l=sp(s),[u,d]=cU(s,l),f=S.useMemo(()=>ph(s),[s]),p=YH(n),m=YH(r),h=S.useMemo(()=>$d(e)?[uU(e,`help`,t)]:[].concat(pa(p.map((e,t)=>uU(e,`error`,`error`,t))),pa(m.map((e,t)=>uU(e,`warning`,`warning`,t)))),[e,t,p,m]),g=S.useMemo(()=>{let e={};return h.forEach(({key:t})=>{e[t]=(e[t]||0)+1}),h.map((t,n)=>({...t,key:e[t.key]>1?`${t.key}-fallback-${n}`:t.key}))},[h]),_={};return a&&(_.id=`${a}_help`),S.createElement(Od,{motionDeadline:f.motionDeadline,motionName:`${s}-show-help`,visible:!!g.length,onVisibleChanged:o},e=>{let{className:t,style:n}=e;return S.createElement(`div`,{..._,className:J(c,t,d,l,i,u),style:n},S.createElement(Dd,{keys:g,...ph(s),motionName:`${s}-show-help-item`,component:!1},e=>{let{key:t,error:n,errorStatus:r,className:i,style:a}=e;return S.createElement(`div`,{key:t,className:J(i,{[`${c}-${r}`]:r}),style:a},n)}))})},fU=S.forwardRef((e,t)=>{let n=S.useContext(mm),{getPrefixCls:r,direction:i,requiredMark:a,colon:o,scrollToFirstError:s,className:c,style:l,styles:u,classNames:d,tooltip:f}=ya(`form`),{prefixCls:p,className:m,rootClassName:h,size:g,disabled:_=n,form:v,colon:y,labelAlign:b,labelWrap:x,labelCol:C,wrapperCol:w,layout:T=`horizontal`,scrollToFirstError:E,requiredMark:D,onFinishFailed:O,name:k,style:A,feedbackIcons:j,variant:M,classNames:N,styles:P,tooltip:F,...I}=e,L=wh(g),R=S.useContext(cp),z=S.useMemo(()=>D===void 0?a===void 0?!0:a:D,[D,a]),B=y??o,V={...f,...F},H=r(`form`,p),U=sp(H),[W,ee]=cU(H,U),te={...e,size:L,disabled:_,layout:T,colon:B,requiredMark:z},[ne,re]=Cf([d,N],[u,P],{props:te}),G=J(H,`${H}-${T}`,{[`${H}-hide-required-mark`]:z===!1,[`${H}-rtl`]:i===`rtl`,[`${H}-large`]:L===`large`,[`${H}-small`]:L===`small`},ee,U,W,c,m,h,ne.root),[ie]=PI(v),{__INTERNAL__:K}=ie;K.name=k;let ae=S.useMemo(()=>({name:k,labelAlign:b,labelCol:C,labelWrap:x,wrapperCol:w,layout:T,colon:B,requiredMark:z,itemRef:K.itemRef,form:ie,feedbackIcons:j,tooltip:V,classNames:ne,styles:re}),[k,b,C,w,T,B,z,ie,j,ne,re,V]),q=S.useRef(null);S.useImperativeHandle(t,()=>({...ie,nativeElement:q.current?.nativeElement}));let oe=(e,t)=>{if(e){let n={block:`nearest`};nf(e)&&(n={...n,...e}),ie.scrollToField(t,n)}},se=e=>{if(O?.(e),e.errorFields.length){let t=e.errorFields[0].name;if(E!==void 0){oe(E,t);return}s!==void 0&&oe(s,t)}};return S.createElement(Cy.Provider,{value:M},S.createElement(hm,{disabled:_},S.createElement(gm.Provider,{value:L},S.createElement(yy,{validateMessages:R},S.createElement(_y.Provider,{value:ae},S.createElement(Sy,{status:!0},S.createElement(gy,{id:k,...I,name:k,onFinishFailed:se,form:ie,ref:q,style:{...re?.root,...l,...A},className:G})))))))});function pU(e){if(typeof e==`function`)return e;let t=ki(e);return t.length<=1?t[0]:t}var mU=()=>{let{status:e,errors:t=[],warnings:n=[]}=S.useContext(xy);return{status:e,errors:t,warnings:n}};mU.Context=xy;function hU(e){let[t,n]=S.useState(e),r=S.useRef(null),i=S.useRef([]),a=S.useRef(!1);S.useEffect(()=>(a.current=!1,()=>{a.current=!0,Oi.cancel(r.current),r.current=null}),[]);function o(e){a.current||(r.current===null&&(i.current=[],r.current=Oi(()=>{r.current=null,n(e=>{let t=e;return i.current.forEach(e=>{t=e(t)}),t})})),i.current.push(e))}return[t,o]}var gU=()=>{let{itemRef:e}=S.useContext(_y),t=S.useRef({});function n(n,r){let i=r&&typeof r==`object`&&pr(r),a=n.join(`_`);return(t.current.name!==a||t.current.originRef!==i)&&(t.current.name=a,t.current.originRef=i,t.current.ref=cr(e(n),i)),t.current.ref}return n},_U=e=>{let{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:`flex`}}}},vU=eu([`Form`,`item-item`],(e,{rootPrefixCls:t})=>_U(sU(e,t))),yU=24,bU=e=>{let{prefixCls:t,status:n,labelCol:r,wrapperCol:i,children:a,errors:o,warnings:s,_internalItemRender:c,extra:l,help:u,fieldId:d,marginBottom:f,onErrorVisibleChanged:p,label:m}=e,h=`${t}-item`,g=S.useContext(_y),{classNames:_,styles:v}=g,y=S.useMemo(()=>{let e={...i||g.wrapperCol||{}};return m===null&&!r&&!i&&g.labelCol&&[void 0].concat(pa(sw)).forEach(t=>{let n=t?[t]:[],r=Ai(g.labelCol,n),i=nf(r)?r:{},a=Ai(e,n),o=nf(a)?a:{};`span`in i&&!(`offset`in o)&&i.span{let{labelCol:e,wrapperCol:t,...n}=g;return n},[g]),C=S.useRef(null),[w,T]=S.useState(0);Hn(()=>{l&&C.current?T(C.current.clientHeight):T(0)},[l]);let E=S.createElement(`div`,{className:`${h}-control-input`},S.createElement(`div`,{className:J(`${h}-control-input-content`,_?.content),style:v?.content},a)),D=S.useMemo(()=>({prefixCls:t,status:n}),[t,n]),O=f!==null||o.length||s.length?S.createElement(by.Provider,{value:D},S.createElement(dU,{fieldId:d,errors:o,warnings:s,help:u,helpStatus:n,className:`${h}-explain-connected`,onVisibleChanged:p})):null,k={};d&&(k.id=`${d}_extra`);let A=l?S.createElement(`div`,{...k,className:`${h}-extra`,ref:C},l):null,j=O||A?S.createElement(`div`,{className:`${h}-additional`,style:f?{minHeight:f+w}:{}},O,A):null,M=c&&c.mark===`pro_table_render`&&c.render?c.render(e,{input:E,errorList:O,extra:A}):S.createElement(S.Fragment,null,E,j);return S.createElement(_y.Provider,{value:x},S.createElement(zz,{...y,className:b},M),S.createElement(vU,{prefixCls:t}))},xU=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`question-circle`,theme:`outlined`}}))());function SU(){return SU=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,SU({},e,{ref:t,icon:xU.default}))),wU=({prefixCls:e,label:t,htmlFor:n,labelCol:r,labelAlign:i,colon:a,required:o,requiredMark:s,tooltip:c,vertical:l})=>{let[u]=Yd(`Form`),{labelAlign:d,labelCol:f,labelWrap:p,colon:m,classNames:h,styles:g,tooltip:_}=S.useContext(_y);if(!t)return null;let v=r||f||{},y=i||d,b=`${e}-item-label`,x=J(b,y===`left`&&`${b}-left`,v.className,{[`${b}-wrap`]:!!p}),C=t,w=a===!0||m!==!1&&a!==!1;w&&!l&&typeof t==`string`&&t.trim()&&(C=t.replace(/[:|:]\s*$/,``));let T=JH(c,_);if(T){let t=S.createElement(Jw,{...T},S.createElement(`span`,{className:`${e}-item-tooltip`,onClick:e=>{e.preventDefault()},tabIndex:-1},T.icon||T.children||S.createElement(CU,null)));C=S.createElement(S.Fragment,null,C,t)}let E=s===`optional`,D=typeof s==`function`,O=s===!1;D?C=s(C,{required:!!o}):E&&!o&&(C=S.createElement(S.Fragment,null,C,S.createElement(`span`,{className:`${e}-item-optional`,title:``},u?.optional||Hd.Form?.optional)));let k;O?k=`hidden`:(E||D)&&(k=`optional`);let A=J(h?.label,{[`${e}-item-required`]:o,[`${e}-item-required-mark-${k}`]:k,[`${e}-item-no-colon`]:!w});return S.createElement(zz,{...v,className:x},S.createElement(`label`,{htmlFor:n,className:A,style:g?.label,title:typeof t==`string`?t:``},C))},TU={success:Tu,warning:Pu,error:Ou,validating:Zm};function EU({children:e,errors:t,warnings:n,hasFeedback:r,validateStatus:i,prefixCls:a,meta:o,noStyle:s,name:c}){let l=`${a}-item`,{feedbackIcons:u}=S.useContext(_y),d=jI(t,n,o,null,!!r,i),{isFormItemInput:f,status:p,hasFeedback:m,feedbackIcon:h,name:g}=S.useContext(xy),_=S.useMemo(()=>{let e;if(r){let i=r!==!0&&r.icons||u,a=d&&i?.({status:d,errors:t,warnings:n})?.[d],o=d?TU[d]:null;e=a!==!1&&o?S.createElement(`span`,{className:J(`${l}-feedback-icon`,`${l}-feedback-icon-${d}`)},a||S.createElement(o,null)):null}let i={status:d||``,errors:t,warnings:n,hasFeedback:!!r,feedbackIcon:e,isFormItemInput:!0,name:c};return s&&(i.status=(d??p)||``,i.isFormItemInput=f,i.hasFeedback=!!(r??m),i.feedbackIcon=r===void 0?h:i.feedbackIcon,i.name=c??g),i},[d,r,s,f,p]);return S.createElement(xy.Provider,{value:_},e)}function DU(e){let{prefixCls:t,className:n,rootClassName:r,style:i,help:a,errors:o,warnings:s,validateStatus:c,meta:l,hasFeedback:u,hidden:d,children:f,fieldId:p,required:m,isRequired:h,onSubItemMetaChange:g,layout:_,name:v,...y}=e,b=`${t}-item`,{requiredMark:x,layout:C}=S.useContext(_y),w=_||C,T=w===`vertical`,E=S.useRef(null),D=YH(o),O=YH(s),k=$d(a),A=!!(k||o.length||s.length),j=!!E.current&&Ar(E.current),[M,N]=S.useState(null);Hn(()=>{if(A&&E.current){let e=getComputedStyle(E.current);N(Number.parseInt(e.marginBottom,10))}},[A,j]);let P=e=>{e||N(null)},F=((e=!1)=>jI(e?D:l.errors,e?O:l.warnings,l,``,!!u,c))(),I=J(b,n,r,{[`${b}-with-help`]:k||D.length||O.length,[`${b}-has-feedback`]:F&&u,[`${b}-has-success`]:F===`success`,[`${b}-has-warning`]:F===`warning`,[`${b}-has-error`]:F===`error`,[`${b}-is-validating`]:F===`validating`,[`${b}-hidden`]:d,[`${b}-${w}`]:w});return S.createElement(`div`,{className:I,style:i,ref:E},S.createElement(Hz,{className:`${b}-row`,...gi(y,`_internalItemRender.colon.dependencies.extra.fieldKey.getValueFromEvent.getValueProps.htmlFor.id.initialValue.isListField.label.labelAlign.labelCol.labelWrap.messageVariables.name.normalize.noStyle.preserve.requiredMark.rules.shouldUpdate.trigger.tooltip.validateFirst.validateTrigger.valuePropName.wrapperCol.validateDebounce`.split(`.`))},S.createElement(wU,{htmlFor:p,...e,requiredMark:x,required:m??h,prefixCls:t,vertical:T}),S.createElement(bU,{...e,...l,errors:D,warnings:O,prefixCls:t,status:F,help:a,marginBottom:M,onErrorVisibleChanged:P},S.createElement(vy.Provider,{value:g},S.createElement(EU,{prefixCls:t,meta:l,errors:l.errors,warnings:l.warnings,hasFeedback:u,validateStatus:F,name:v},f)))),!!M&&S.createElement(`div`,{className:`${b}-margin-offset`,style:{marginBottom:-M}}))}var OU=`__SPLIT__`;function kU(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>{let r=e[n],i=t[n];return r===i||typeof r==`function`||typeof i==`function`})}var AU=S.memo(e=>e.children,(e,t)=>kU(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((e,n)=>e===t.childProps[n]));function jU(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function MU(e){let{name:t,noStyle:n,className:r,dependencies:i,prefixCls:a,shouldUpdate:o,rules:s,children:c,required:l,label:u,messageVariables:d,trigger:f=`onChange`,validateTrigger:p,hidden:m,help:h,layout:g}=e,{getPrefixCls:_}=S.useContext(ga),{name:v}=S.useContext(_y),y=pU(c),b=typeof y==`function`,x=S.useContext(vy),{validateTrigger:C}=S.useContext(I_),w=$d(p)?p:C,T=$d(t),E=_(`form`,a),D=sp(E),[O,k]=cU(E,D);Gi(`Form.Item`);let A=S.useContext(L_),j=S.useRef(null),[M,N]=hU({}),[P,F]=Wn(()=>jU()),I=e=>{let t=A?.getKey(e.name);if(F(e.destroy?jU():e,!0),n&&h!==!1&&x){let n=e.name;if(e.destroy)n=j.current||n;else if(t!==void 0){let[e,r]=t;n=[e].concat(pa(r)),j.current=n}x(e,n)}},L=(e,t)=>{N(n=>{let r={...n},i=[].concat(pa(e.name.slice(0,-1)),pa(t)).join(OU);return e.destroy?delete r[i]:r[i]=e,r})},[R,z]=S.useMemo(()=>{let e=pa(P.errors),t=pa(P.warnings);return Object.values(M).forEach(n=>{e.push.apply(e,pa(n.errors||[])),t.push.apply(t,pa(n.warnings||[]))}),[e,t]},[M,P.errors,P.warnings]),B=gU();function V(i,a,o){return n&&!m?S.createElement(EU,{prefixCls:E,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:P,errors:R,warnings:z,noStyle:!0,name:t},i):S.createElement(DU,{key:`row`,...e,className:J(r,k,D,O),prefixCls:E,fieldId:a,isRequired:o,errors:R,warnings:z,meta:P,onSubItemMetaChange:L,layout:g,name:t},i)}if(!T&&!b&&!i)return V(y);let H={};return typeof u==`string`?H.label=u:t&&(H.label=String(t)),d&&(H={...H,...d}),S.createElement(ny,{...e,messageVariables:H,trigger:f,validateTrigger:w,onMetaChange:I},(n,r,a)=>{let c=kI(t).length&&r?r.name:[],u=AI(c,v),d=l===void 0?s?.some(e=>{if(nf(e)&&e.required&&!e.warningOnly)return!0;if(typeof e==`function`){let t=e(a);return t?.required&&!t?.warningOnly}return!1}):l,p={...n},m=null;if(Array.isArray(y)&&T)m=y;else if(!(b&&(!(o||i)||T))&&!(i&&!b&&!T))if(S.isValidElement(y)){let t={...y.props,...p};if(t.id||=u,h||R.length>0||z.length>0||e.extra){let n=[];(h||R.length>0)&&n.push(`${u}_help`),e.extra&&n.push(`${u}_extra`),t[`aria-describedby`]=n.join(` `)}R.length>0&&(t[`aria-invalid`]=`true`),d&&(t[`aria-required`]=`true`),ur(y)&&(t.ref=B(c,y)),new Set([].concat(pa(kI(f)),pa(kI(w)))).forEach(e=>{t[e]=(...t)=>{p[e]?.(...t),y.props[e]?.(...t)}});let n=[t[`aria-required`],t[`aria-invalid`],t[`aria-describedby`]];m=S.createElement(AU,{control:p,update:y,childProps:n},lm(y,t))}else m=b&&(o||i)&&!T?y(a):y;return V(m,u,d)})}var NU=MU;NU.useStatus=mU;var PU=({prefixCls:e,children:t,...n})=>{let{getPrefixCls:r}=S.useContext(ga),i=r(`form`,e),a=S.useMemo(()=>({prefixCls:i,status:`error`}),[i]);return S.createElement(ry,{...n},(e,n,r)=>S.createElement(by.Provider,{value:a},t(e.map(e=>({...e,fieldKey:e.key})),n,{errors:r.errors,warnings:r.warnings})))};function FU(){let{form:e}=S.useContext(_y);return e}var IU=fU;IU.Item=NU,IU.List=PU,IU.ErrorList=dU,IU.useForm=PI,IU.useFormInstance=FU,IU.useWatch=hy,IU.Provider=yy;var LU=S.createContext(null);function RU(e){return new Promise(t=>{if(!e){t(!1);return}let n=document.createElement(`img`);n.onerror=()=>t(!1),n.onload=()=>t(!0),n.src=e})}function zU(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}var BU={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function VU(e,t,n,r){let i=(0,S.useRef)(null),a=(0,S.useRef)([]),[o,s]=(0,S.useState)(BU),c=e=>{s(BU),fi(BU,o)||r?.({transform:BU,action:e})},l=(e,t)=>{i.current===null&&(a.current=[],i.current=Oi(()=>{s(e=>{let n=e;return a.current.forEach(e=>{n={...n,...e}}),i.current=null,r?.({transform:n,action:t}),n})})),a.current.push({...o,...e})};return{transform:o,resetTransform:c,updateTransform:l,dispatchZoomChange:(r,i,a,s,c)=>{let{width:u,height:d,offsetWidth:f,offsetHeight:p,offsetLeft:m,offsetTop:h}=e.current,g=r,_=o.scale*r;_>n?(_=n,g=n/o.scale):_r){if(t>0)return{[e]:a};if(t<0&&ir)return{[e]:t<0?a:-a};return{}}function UU(e,t,n,r){let{width:i,height:a}=zU(),o=null;return e<=i&&t<=a?o={x:0,y:0}:(e>i||t>a)&&(o={...HU(`x`,n,e,i),...HU(`y`,r,t,a)}),o}function WU(e,t,n,r,i,a,o){let{rotate:s,scale:c,x:l,y:u}=i,[d,f]=(0,S.useState)(!1),p=(0,S.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),m=e=>{!t||e.button!==0||(e.preventDefault(),e.stopPropagation(),p.current={diffX:e.pageX-l,diffY:e.pageY-u,transformX:l,transformY:u},f(!0))},h=e=>{n&&d&&a({x:e.pageX-p.current.diffX,y:e.pageY-p.current.diffY},`move`)},g=()=>{if(n&&d){f(!1);let{transformX:t,transformY:n}=p.current;if(!(l!==t&&u!==n))return;let r=e.current.offsetWidth*c,i=e.current.offsetHeight*c,{left:o,top:d}=e.current.getBoundingClientRect(),m=s%180!=0,h=UU(m?i:r,m?r:i,o,d);h&&a({...h},`dragRebound`)}};return(0,S.useEffect)(()=>{if(t){window.addEventListener(`mouseup`,g,!1),window.addEventListener(`mousemove`,h,!1);try{window.top!==window.self&&(window.top.addEventListener(`mouseup`,g,!1),window.top.addEventListener(`mousemove`,h,!1))}catch(e){`${e}`}}return()=>{window.removeEventListener(`mouseup`,g),window.removeEventListener(`mousemove`,h);try{window.top?.removeEventListener(`mouseup`,g),window.top?.removeEventListener(`mousemove`,h)}catch{}}},[n,d,l,u,s,t]),{isMoving:d,onMouseDown:m,onMouseMove:h,onMouseUp:g,onWheel:e=>{if(!n||e.deltaY==0)return;let t=Math.abs(e.deltaY/100),i=1+Math.min(t,1)*r;e.deltaY>0&&(i=1/i),o(i,`wheel`,e.clientX,e.clientY)}}}function GU({src:e,isCustomPlaceholder:t,fallback:n}){let[r,i]=(0,S.useState)(t?`loading`:`normal`),a=(0,S.useRef)(!1),o=r===`error`;(0,S.useEffect)(()=>{let t=!0;return RU(e).then(e=>{!e&&t&&i(`error`)}),()=>{t=!1}},[e]),(0,S.useEffect)(()=>{t&&!a.current?i(`loading`):o&&i(`normal`)},[e]);let s=()=>{i(`normal`)};return[e=>{a.current=!1,r===`loading`&&e?.complete&&(e.naturalWidth||e.naturalHeight)&&(a.current=!0,s())},o&&n?{src:n}:{onLoad:s,src:e},r]}function KU(e,t){let n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function qU(e,t,n,r){let i=KU(e,n),a=KU(t,r);if(i===0&&a===0)return[e.x,e.y];let o=i/(i+a);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}function JU(e,t,n,r,i,a,o){let{rotate:s,scale:c,x:l,y:u}=i,[d,f]=(0,S.useState)(!1),p=(0,S.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:`none`}),m=e=>{p.current={...p.current,...e}};return(0,S.useEffect)(()=>{let e=e=>{e.preventDefault()};return n&&t&&window.addEventListener(`touchmove`,e,{passive:!1}),()=>{window.removeEventListener(`touchmove`,e)}},[n,t]),{isTouching:d,onTouchStart:e=>{if(!t)return;e.stopPropagation(),f(!0);let{touches:n=[]}=e;n.length>1?m({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:`touchZoom`}):m({point1:{x:n[0].clientX-l,y:n[0].clientY-u},eventType:`move`})},onTouchMove:e=>{let{touches:t=[]}=e,{point1:n,point2:r,eventType:i}=p.current;if(t.length>1&&i===`touchZoom`){let e={x:t[0].clientX,y:t[0].clientY},i={x:t[1].clientX,y:t[1].clientY},[a,s]=qU(n,r,e,i);o(KU(e,i)/KU(n,r),`touchZoom`,a,s,!0),m({point1:e,point2:i,eventType:`touchZoom`})}else i===`move`&&(a({x:t[0].clientX-n.x,y:t[0].clientY-n.y},`move`),m({eventType:`move`}))},onTouchEnd:()=>{if(!n)return;if(d&&f(!1),m({eventType:`none`}),r>c)return a({x:0,y:0,scale:r},`touchZoom`);let t=e.current.offsetWidth*c,i=e.current.offsetHeight*c,{left:o,top:l}=e.current.getBoundingClientRect(),u=s%180!=0,p=UU(u?i:t,u?t:i,o,l);p&&a({...p},`dragRebound`)}}}function YU(e){let{prefixCls:t,icon:n,onClick:r,className:i,style:a}=e;return S.createElement(`button`,{className:J(`${t}-close`,i),style:a,onClick:r},n)}function XU(e){let{prefixCls:t,showProgress:n,current:r,count:i,showSwitch:a,classNames:o,styles:s,icons:c,image:l,transform:u,countRender:d,actionsRender:f,scale:p,minScale:m,maxScale:h,onActive:g,onFlipY:_,onFlipX:v,onRotateLeft:y,onRotateRight:b,onZoomOut:x,onZoomIn:C,onClose:w,onReset:T}=e,{left:E,right:D,prev:O,next:k,flipY:A,flipX:j,rotateLeft:M,rotateRight:N,zoomOut:P,zoomIn:F}=c,I=n&&S.createElement(`div`,{className:`${t}-progress`},d?d(r+1,i):S.createElement(`bdi`,null,`${r+1} / ${i}`)),L=`${t}-actions-action`,R=({type:e,disabled:t,onClick:n,icon:r})=>S.createElement(`button`,{type:`button`,key:e,className:J(L,`${L}-${e}`,{[`${L}-disabled`]:!!t}),onClick:n,disabled:!!t,"aria-label":e},r),z=a?R({icon:O??E,onClick:()=>g(-1),type:`prev`,disabled:r===0}):void 0,B=a?R({icon:k??D,onClick:()=>g(1),type:`next`,disabled:r===i-1}):void 0,V=R({icon:A,onClick:_,type:`flipY`}),H=R({icon:j,onClick:v,type:`flipX`}),U=R({icon:M,onClick:y,type:`rotateLeft`}),W=R({icon:N,onClick:b,type:`rotateRight`}),ee=R({icon:P,onClick:x,type:`zoomOut`,disabled:p<=m}),te=R({icon:F,onClick:C,type:`zoomIn`,disabled:p===h}),ne=S.createElement(`div`,{className:J(`${t}-actions`,o.actions),style:s.actions},V,H,U,W,ee,te);return S.createElement(`div`,{className:J(`${t}-footer`,o.footer),style:s.footer},I,f?f(ne,{icons:{prevIcon:z,nextIcon:B,flipYIcon:V,flipXIcon:H,rotateLeftIcon:U,rotateRightIcon:W,zoomOutIcon:ee,zoomInIcon:te},actions:{onActive:g,onFlipY:_,onFlipX:v,onRotateLeft:y,onRotateRight:b,onZoomOut:x,onZoomIn:C,onReset:T,onClose:w},transform:u,current:r,total:i,image:l}):ne)}function ZU(e){let{prefixCls:t,onActive:n,current:r,count:i,icons:{left:a,right:o,prev:s,next:c}}=e,l=`${t}-switch`,u=r===0,d=r===i-1;return S.createElement(S.Fragment,null,S.createElement(`button`,{className:J(l,`${l}-prev`,{[`${l}-disabled`]:u}),onClick:()=>n(-1),disabled:u},s??a),S.createElement(`button`,{type:`button`,className:J(l,`${l}-next`,{[`${l}-disabled`]:d}),onClick:()=>n(1),disabled:d},c??o))}function QU(){return QU=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let[i,a]=GU({src:t,fallback:e});return S.createElement(`img`,QU({ref:e=>{n.current=e,i(e)}},r,a))},eW=e=>{let{prefixCls:t,rootClassName:n,src:r,alt:i,imageInfo:a,fallback:o,movable:s=!0,onClose:c,open:l,afterOpenChange:u,maskClosable:d=!0,icons:f={},closeIcon:p,getContainer:m,current:h=0,count:g=1,countRender:_,scaleStep:v=.5,minScale:y=1,maxScale:b=50,motionName:x=`fade`,imageRender:C,imgCommonProps:w,actionsRender:T,onTransform:E,onChange:D,classNames:O={},styles:k={},mousePosition:A,zIndex:j,focusTrap:M=!0}=e,N=(0,S.useRef)(),P=(0,S.useRef)(null),F=(0,S.useRef)(null),I=(0,S.useContext)(LU),L=I&&g>1,R=I&&g>=1,[z,B]=(0,S.useState)(!0),{transform:V,resetTransform:H,updateTransform:U,dispatchZoomChange:W}=VU(N,y,b,E),{isMoving:ee,onMouseDown:te,onWheel:ne}=WU(N,s,l,v,V,U,W),{isTouching:re,onTouchStart:G,onTouchMove:ie,onTouchEnd:K}=JU(N,s,l,y,V,U,W),{rotate:ae,scale:q}=V;(0,S.useEffect)(()=>{z||B(!0)},[z]),(0,S.useEffect)(()=>{l||H(`close`)},[l]);let oe=S.createElement($U,QU({},w,{width:e.width,height:e.height,imgRef:N,className:`${t}-img`,alt:i,style:{transform:`translate3d(${V.x}px, ${V.y}px, 0) scale3d(${V.flipX?`-`:``}${q}, ${V.flipY?`-`:``}${q}, 1) rotate(${ae}deg)`,transitionDuration:(!z||re)&&`0s`},fallback:o,src:r,onWheel:ne,onMouseDown:te,onDoubleClick:e=>{l&&(q===1?W(1+v,`doubleClick`,e.clientX,e.clientY):U({x:0,y:0,scale:1},`doubleClick`))},onTouchStart:G,onTouchMove:ie,onTouchEnd:K,onTouchCancel:K})),se={url:r,alt:i,...a},ce=()=>{W(1+v,`zoomIn`)},le=()=>{W(1/(1+v),`zoomOut`)},ue=()=>{U({rotate:ae+90},`rotateRight`)},de=()=>{U({rotate:ae-90},`rotateLeft`)},fe=()=>{U({flipX:!V.flipX},`flipX`)},pe=()=>{U({flipY:!V.flipY},`flipY`)},me=()=>{H(`reset`)},he=e=>{let t=h+e;t>=0&&t<=g-1&&(B(!1),H(e<0?`prev`:`next`),D?.(t,h))},ge=zn(e=>{if(l){let{keyCode:t}=e;L&&(t===Qr.LEFT?he(-1):t===Qr.RIGHT&&he(1))}});(0,S.useEffect)(()=>{if(l)return window.addEventListener(`keydown`,ge),()=>{window.removeEventListener(`keydown`,ge)}},[l]);let[_e,ve]=(0,S.useState)(!1);S.useEffect(()=>{l&&ve(!0)},[l]);let ye=e=>{e||(ve(!1),F.current?.focus?.(),F.current=null),u?.(e)},[be,xe]=(0,S.useState)(!1);Hn(()=>{l&&xe(!0)},[l]);let Se=({top:e})=>{e&&c?.()};Hn(()=>{l&&(F.current=document.activeElement)},[l]),Gr(M&&l&&be,()=>P.current);let Ce={...k.body};return A&&(Ce.transformOrigin=`${A.x}px ${A.y}px`),S.createElement(Dp,{open:be&&l,autoDestroy:!1,getContainer:m,autoLock:_e,onEsc:Se},S.createElement(Od,{motionName:x,visible:be&&l,motionAppear:!0,motionEnter:!0,motionLeave:!0,onVisibleChanged:ye},({className:e,style:r})=>{let a={...k.root,...r};return j&&(a.zIndex=j),S.createElement(`div`,{ref:P,className:J(t,n,O.root,e,{[`${t}-movable`]:s,[`${t}-moving`]:ee}),style:a,role:`dialog`,"aria-modal":`true`,"aria-label":i,tabIndex:-1},S.createElement(`div`,{className:J(`${t}-mask`,O.mask),style:k.mask,onClick:d?c:void 0}),S.createElement(`div`,{className:J(`${t}-body`,O.body),style:Ce},C?C(oe,{transform:V,image:se,...I?{current:h}:{}}):oe),p!==!1&&p!==null&&S.createElement(YU,{prefixCls:t,icon:p===!0?f.close:p||f.close,onClick:c,className:O.close,style:k.close}),L&&S.createElement(ZU,{prefixCls:t,current:h,count:g,icons:f,onActive:he}),S.createElement(XU,{prefixCls:t,showProgress:R,current:h,count:g,showSwitch:L,classNames:O,styles:k,image:se,transform:V,icons:f,countRender:_,actionsRender:T,scale:q,minScale:y,maxScale:b,onActive:he,onFlipY:pe,onFlipX:fe,onRotateLeft:de,onRotateRight:ue,onZoomOut:le,onZoomIn:ce,onClose:c,onReset:me}))}))},tW=[`crossOrigin`,`decoding`,`draggable`,`loading`,`referrerPolicy`,`sizes`,`srcSet`,`useMap`,`alt`,`fetchPriority`];function nW(e){let[t,n]=S.useState({}),r=S.useCallback((e,t)=>(n(n=>({...n,[e]:t})),()=>{n(t=>{let n={...t};return delete n[e],n})}),[]);return[S.useMemo(()=>e?e.map(e=>{if(typeof e==`string`)return{data:{src:e}};let t={};return Object.keys(e).forEach(n=>{[`src`,...tW].includes(n)&&(t[n]=e[n])}),{data:t}}):Object.keys(t).reduce((e,n)=>{let{canPreview:r,data:i}=t[n];return r&&e.push({data:i,id:n}),e},[]),[e,t]),r,!!e]}function rW(){return rW=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{open:c,onOpenChange:l,current:u,onChange:d,...f}=o&&typeof o==`object`?o:{},[p,m,h]=nW(a),[g,_]=Gn(0,u),[v,y]=(0,S.useState)(!1),{src:b,...x}=p[g]?.data||{},[C,w]=Gn(!!c,c),T=zn(e=>{w(e),e!==C&&l?.(e,{current:g})}),[E,D]=(0,S.useState)(null),O=S.useCallback((e,t,n,r)=>{let i=h?p.findIndex(e=>e.data.src===t):p.findIndex(t=>t.id===e);_(i<0?0:i),T(!0),D({x:n,y:r}),y(!0)},[p,h]);S.useEffect(()=>{C?v||_(0):y(!1)},[C]);let k=(e,t)=>{_(e),d?.(e,t)},A=()=>{T(!1),D(null)},j=S.useMemo(()=>({register:m,onPreview:O}),[m,O]);return S.createElement(LU.Provider,{value:j},r,S.createElement(eW,rW({"aria-hidden":!C,open:C,prefixCls:e,onClose:A,mousePosition:E,imgCommonProps:x,src:b,fallback:s,icons:i,current:g,count:p.length,onChange:k},f,{classNames:t?.popup,styles:n?.popup})))},aW=0;function oW(e,t){let[n]=S.useState(()=>(aW+=1,String(aW))),r=S.useContext(LU),i={data:t,canPreview:e};return S.useEffect(()=>{if(r)return r.register(n,i)},[]),S.useEffect(()=>{r&&r.register(n,i)},[e,t]),n}function sW(){return sW=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t=`rc-image`,previewPrefixCls:n=`${t}-preview`,rootClassName:r,className:i,style:a,classNames:o={},styles:s={},width:c,height:l,src:u,alt:d,placeholder:f,fallback:p,preview:m=!0,onClick:h,onError:g,onKeyDown:_,...v}=e,y=(0,S.useContext)(LU),b=!!m,{src:x,open:C,onOpenChange:w,cover:T,rootClassName:E,...D}=m&&typeof m==`object`?m:{},O=typeof T==`object`&&T.placement&&T.placement||`center`,k=typeof T==`object`&&T.coverNode?T.coverNode:T,[A,j]=Gn(!!C,C),[M,N]=(0,S.useState)(null),P=e=>{j(e),w?.(e)},F=()=>{P(!1)},I=f&&f!==!0,L=x??u,[R,z,B]=GU({src:u,isCustomPlaceholder:I,fallback:p}),V=(0,S.useMemo)(()=>{let t={};return tW.forEach(n=>{e[n]!==void 0&&(t[n]=e[n])}),t},tW.map(t=>e[t])),H=oW(b,(0,S.useMemo)(()=>({...V,src:L}),[L,V])),U=e=>{let t=e.target.getBoundingClientRect(),n=t.x+t.width/2,r=t.y+t.height/2;y?y.onPreview(H,L,n,r):(N({x:n,y:r}),P(!0)),h?.(e)},W=e=>{if(_?.(e),b&&(e.key===`Enter`||e.key===` `)){e.preventDefault();let t=e.target.getBoundingClientRect(),n=t.x+t.width/2,r=t.y+t.height/2;y?y.onPreview(H,L,n,r):(N({x:n,y:r}),P(!0))}};return S.createElement(S.Fragment,null,S.createElement(`div`,sW({},v,{className:J(t,r,o.root,{[`${t}-error`]:B===`error`}),onClick:b?U:h,role:b?`button`:v.role,tabIndex:b&&v.tabIndex==null?0:v.tabIndex,"aria-label":b?v[`aria-label`]??d:v[`aria-label`],onKeyDown:W,style:{width:c,height:l,...s.root}}),S.createElement(`img`,sW({},V,{className:J(`${t}-img`,{[`${t}-img-placeholder`]:f===!0},o.image,i),style:{height:l,...s.image,...a},ref:R},z,{width:c,height:l,onError:g})),B===`loading`&&S.createElement(`div`,{"aria-hidden":`true`,className:`${t}-placeholder`},f),T!==!1&&b&&S.createElement(`div`,{className:J(`${t}-cover`,o.cover,`${t}-cover-${O}`),style:{display:a?.display===`none`?`none`:void 0,...s.cover}},k)),!y&&b&&S.createElement(eW,sW({"aria-hidden":!A,open:A,prefixCls:n,onClose:F,mousePosition:M,src:L,alt:d,imageInfo:{width:c,height:l},fallback:p,imgCommonProps:V},D,{classNames:o?.popup,styles:s?.popup,rootClassName:J(E,r)})))};cW.PreviewGroup=iW;var lW=cW,uW=(e,t,n,r,i,a,o)=>{let[s]=Lf(`ImagePreview`,e?.zIndex),[c,l]=gf(e?.mask,t?.mask,`${n}-preview`);return S.useMemo(()=>{if(!e)return e;let{cover:u,getContainer:d,closeIcon:f,rootClassName:p}=e,{closeIcon:m}=t??{};return{motionName:mh(`${n}-preview`,`fade`),...e,...o?{cover:u??o}:{},icons:a,getContainer:d??i,zIndex:s,closeIcon:f??m,rootClassName:J(r,p),mask:c,blurClassName:l.mask}},[e,t,n,r,i,o,a,s,c,l])};function dW(e){return(0,S.isValidElement)(e)?[e,void 0]:typeof e==`boolean`||nf(e)?[void 0,e]:[void 0,void 0]}function fW(e){let t=(0,S.useMemo)(()=>typeof e==`boolean`?e?{}:null:nf(e)?e:{},[e]);return(0,S.useMemo)(()=>{if(!t)return[t,``,``];let{open:e,onOpenChange:n,cover:r,actionsRender:i,visible:a,onVisibleChange:o,rootClassName:s,maskClassName:c,mask:l,forceRender:u,destroyOnClose:d,toolbarRender:f,...p}=t,m;n?m=n:o&&(m=(e,t)=>{let{current:n}=t||{};n===void 0?o(e,!e):o(e,!e,n)});let[h,g]=dW(l);return[{...p,open:e??a,onOpenChange:m,cover:r??h,mask:g,actionsRender:i??f},s,c]},[t])}var pW=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z`}},{tag:`path`,attrs:{d:`M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z`}}]},name:`rotate-left`,theme:`outlined`}}))());function mW(){return mW=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,mW({},e,{ref:t,icon:pW.default}))),gW=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z`}},{tag:`path`,attrs:{d:`M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z`}}]},name:`rotate-right`,theme:`outlined`}}))());function _W(){return _W=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,_W({},e,{ref:t,icon:gW.default}))),yW=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`swap`,theme:`outlined`}}))());function bW(){return bW=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,bW({},e,{ref:t,icon:yW.default}))),SW=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z`}}]},name:`zoom-in`,theme:`outlined`}}))());function CW(){return CW=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,CW({},e,{ref:t,icon:SW.default}))),TW=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z`}}]},name:`zoom-out`,theme:`outlined`}}))());function EW(){return EW=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,EW({},e,{ref:t,icon:TW.default}))),OW=e=>({position:e||`absolute`,inset:0}),kW=e=>{let{componentCls:t,motionDurationSlow:n,colorTextLightSolid:r}=e;return{[t]:{[`${t}-cover`]:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,color:r,background:new Nc(`#000`).setA(.3).toRgbString(),cursor:`pointer`,opacity:0,transition:`opacity ${n}`},"&:hover, &:focus-visible":{[`${t}-cover`]:{opacity:1}},[`${t}-cover-top`]:{inset:`0 0 auto 0`,justifyContent:`center`},[`${t}-cover-bottom`]:{inset:`auto 0 0 0`,justifyContent:`center`}}}},AW=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:i,colorBgMask:a,marginXL:o,marginSM:s,margin:c,colorTextLightSolid:l,paddingSM:u,paddingLG:d,previewOperationHoverColor:f,previewOperationColorDisabled:p,previewOperationSize:m,zIndexPopup:h}=e,g=new Nc(a).setA(.1),_=g.clone().setA(.2),v={position:`absolute`,color:l,backgroundColor:g.toRgbString(),borderRadius:`50%`,padding:u,outline:0,border:0,cursor:`pointer`,transition:`all ${r}`,display:`flex`,fontSize:m,"&:hover":{backgroundColor:_.toRgbString()},"&:active":{backgroundColor:g.toRgbString()},"&:focus-visible":Kl(e)};return{[`${i}-preview`]:{textAlign:`center`,inset:0,position:`fixed`,userSelect:`none`,zIndex:h,[`${n}-mask`]:{inset:0,position:`absolute`,background:a,backdropFilter:`blur(0px)`,transition:`backdrop-filter ${r}`,[`&${i}-preview-mask-blur`]:{backdropFilter:`blur(4px)`},[`&${i}-preview-mask-hidden`]:{display:`none`}},[`${n}-body`]:{...OW(),"pointer-events":`none`,display:`flex`,alignItems:`center`,justifyContent:`center`,"> *":{pointerEvents:`auto`}},[`${n}-img`]:{maxWidth:`100%`,maxHeight:`70%`,verticalAlign:`middle`,transform:`scale3d(1, 1, 1)`,transition:`transform ${r} ${t} 0s`},[`&-movable ${n}-img`]:{cursor:`grab`},[`&-moving ${n}-img`]:{cursor:`grabbing`},[`${n}-close`]:{...v,top:s,insetInlineEnd:s},[`${n}-switch`]:{...v,top:`50%`,transform:`translateY(-50%)`,"&-disabled":{"&, &:hover, &:active":{color:p,background:`transparent`,cursor:`not-allowed`}},"&-prev":{insetInlineStart:s},"&-next":{insetInlineEnd:s}},[`${n}-footer`]:{position:`absolute`,bottom:o,left:{_skip_check_:!0,value:`50%`},display:`flex`,flexDirection:`column`,alignItems:`center`,color:e.previewOperationColor,transform:`translateX(-50%)`,gap:c},[`${n}-actions`]:{display:`flex`,gap:u,padding:`0 ${Y(d)}`,backgroundColor:g.toRgbString(),borderRadius:100,fontSize:m,"&-action":{color:`inherit`,background:`transparent`,border:0,font:`inherit`,padding:u,cursor:`pointer`,transition:`all ${r}`,display:`flex`,[`&:not(${n}-actions-action-disabled):hover`]:{color:f},"&:focus-visible":Kl(e),"&-disabled":{color:p,cursor:`not-allowed`}}}}}},jW=e=>{let{componentCls:t}=e;return{[t]:{position:`relative`,display:`inline-block`,...ql(e),[`${t}-img`]:{width:`100%`,height:`auto`,verticalAlign:`middle`},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:`url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')`,backgroundRepeat:`no-repeat`,backgroundPosition:`center center`,backgroundSize:`30%`},[`${t}-placeholder`]:{...OW()}}}},MW=e=>{let{previewCls:t,motionDurationSlow:n}=e;return{[t]:{"&-fade":{transition:`opacity ${n}`,"&-enter, &-appear":{opacity:0,[`${t}-body`]:{transform:`scale(0)`},"&-active":{opacity:1,[`${t}-body`]:{transform:`scale(1)`,transition:`transform ${n}`}}},"&-leave":{opacity:1,"&-active":{opacity:0,[`${t}-body`]:{transform:`scale(0)`,transition:`transform ${n}`}}}}}}},NW=Ql(`Image`,e=>{let t=dc(e,{previewCls:`${e.componentCls}-preview`,imagePreviewSwitchSize:e.controlHeightLG});return[jW(t),kW(t),AW(t),MW(t)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new Nc(e.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Nc(e.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Nc(e.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5})),PW={rotateLeft:S.createElement(hW,null),rotateRight:S.createElement(vW,null),zoomIn:S.createElement(wW,null),zoomOut:S.createElement(DW,null),close:S.createElement(ju,null),left:S.createElement(cT,null),right:S.createElement(zg,null),flipX:S.createElement(xW,null),flipY:S.createElement(xW,{rotate:90})},FW=({previewPrefixCls:e,preview:t,classNames:n,styles:r,...i})=>{let{getPrefixCls:a,getPopupContainer:o,direction:s,preview:c,classNames:l,styles:u}=ya(`image`),d=a(`image`,e),f=`${d}-preview`,p=sp(d),[m,h]=NW(d,p),g=J(m,h,p),[_,v,y]=fW(t),[b,x,C]=fW(c),w=S.useMemo(()=>({...PW,left:s===`rtl`?S.createElement(zg,null):S.createElement(cT,null),right:s===`rtl`?S.createElement(cT,null):S.createElement(zg,null)}),[s]),T=uW(_,b,d,g,o,PW),{mask:E,blurClassName:D}=T??{},O={...i,classNames:n,styles:r},[k,A]=Cf([l,n,{cover:J(C,y),popup:{root:J(x,v),mask:J({[`${d}-preview-mask-hidden`]:!E},D)}}],[u,r],{props:O},{popup:{_default:`root`}});return S.createElement(lW.PreviewGroup,{preview:T,previewPrefixCls:f,icons:w,...i,classNames:k,styles:A})},IW=e=>{let{prefixCls:t,preview:n,className:r,rootClassName:i,style:a,styles:o,classNames:s,wrapperStyle:c,fallback:l,...u}=e,{getPrefixCls:d,getPopupContainer:f,className:p,style:m,preview:h,styles:g,classNames:_,fallback:v}=ya(`image`),y=d(`image`,t),b=sp(y),[x,C]=NW(y,b),w=J(i,x,C,b),T=J(r,x,p),[E,D,O]=fW(n),[k,A,j]=fW(h),M=uW(E,k,y,w,f,PW,!0),N={...e,preview:M},P=S.useMemo(()=>({cover:J(j,O),popup:{root:J(A,D)}}),[D,O,A,j]),{mask:F,blurClassName:I}=M??{},L=S.useMemo(()=>({mask:J({[`${y}-preview-mask-hidden`]:!F},I)}),[F,y,I]),[R,z]=Cf(S.useMemo(()=>[_,s,P,{popup:L}],[_,s,P,L]),[g,{root:c},o],{props:N},{popup:{_default:`root`}}),B={...m,...a},V=l??v;return S.createElement(lW,{prefixCls:y,preview:M||!1,rootClassName:w,className:T,style:B,fallback:V,...u,classNames:R,styles:z})};IW.PreviewGroup=FW;var LW=e=>{let{getPrefixCls:t,direction:n}=(0,S.useContext)(ga),{prefixCls:r,className:i}=e,a=t(`input-group`,r),[o,s]=EL(t(`input`)),c=J(a,s,{[`${a}-lg`]:e.size===`large`,[`${a}-sm`]:e.size===`small`,[`${a}-compact`]:e.compact,[`${a}-rtl`]:n===`rtl`},o,i),l=(0,S.useContext)(xy),u=(0,S.useMemo)(()=>({...l,isFormItemInput:!1}),[l]);return S.createElement(xy.Provider,{value:u},S.createElement(HH.Compact,{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children))},RW=e=>{let{componentCls:t,paddingXS:n}=e;return{[t]:{display:`inline-flex`,alignItems:`center`,flexWrap:`nowrap`,columnGap:n,[`${t}-input-wrapper`]:{position:`relative`,[`${t}-mask-icon`]:{position:`absolute`,zIndex:`1`,top:`50%`,right:`50%`,transform:`translate(50%, -50%)`,pointerEvents:`none`},[`${t}-mask-input`]:{color:`transparent`,caretColor:e.colorText,"&::selection":{color:`transparent`}},[`${t}-mask-input[type=number]::-webkit-inner-spin-button`]:{"-webkit-appearance":`none`,margin:0},[`${t}-mask-input[type=number]`]:{"-moz-appearance":`textfield`}},"&-rtl":{direction:`rtl`},[`${t}-input`]:{textAlign:`center`,paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},zW=Ql([`Input`,`OTP`],e=>RW(dc(e,ZI(e))),QI),BW=S.forwardRef((e,t)=>{let{className:n,value:r,onChange:i,onActiveChange:a,index:o,mask:s,onFocus:c,...l}=e,{getPrefixCls:u}=S.useContext(ga),d=u(`otp`),f=typeof s==`string`?s:r,p=S.useRef(null);S.useImperativeHandle(t,()=>p.current);let m=e=>{i(o,e.target.value)},h=()=>{Oi(()=>{let e=p.current?.input;document.activeElement===e&&e&&e.select()})},g=e=>{c?.(e),h()},_=e=>{let{key:t,ctrlKey:n,metaKey:i}=e;t===`ArrowLeft`?a(o-1):t===`ArrowRight`?a(o+1):t===`z`&&(n||i)?e.preventDefault():t===`Backspace`&&!r&&a(o-1),h()};return S.createElement(`span`,{className:`${d}-input-wrapper`,role:`presentation`},s&&r!==``&&r!==void 0&&S.createElement(`span`,{className:`${d}-mask-icon`,"aria-hidden":`true`},f),S.createElement(UB,{"aria-label":`OTP Input ${o+1}`,type:s===!0?`password`:`text`,...l,ref:p,value:r,onInput:m,onFocus:g,onKeyDown:_,onMouseDown:h,onMouseUp:h,className:J(n,{[`${d}-mask-input`]:s})}))});function VW(e){return(e||``).split(``)}var HW=e=>{let{index:t,prefixCls:n,separator:r,className:i,style:a}=e,o=typeof r==`function`?r(t):r;return o?S.createElement(`span`,{className:J(`${n}-separator`,i),style:a},o):null},UW=S.forwardRef((e,t)=>{let{prefixCls:n,length:r=6,size:i,defaultValue:a,value:o,onChange:s,formatter:c,separator:l,variant:u,disabled:d,status:f,autoFocus:p,mask:m,type:h,autoComplete:g,onInput:_,onFocus:v,inputMode:y,classNames:b,styles:x,className:C,style:w,...T}=e,{classNames:E,styles:D,getPrefixCls:O,direction:k,style:A,className:j}=ya(`otp`),M=O(`otp`,n),N={...e,length:r},[P,F]=Cf([E,b],[D,x],{props:N}),I=xi(T,{aria:!0,data:!0,attr:!0}),[L,R]=zW(M),z=wh(e=>i??e),B=S.useContext(xy),V=xC(B.status,f),H=S.useMemo(()=>({...B,status:V,hasFeedback:!1,feedbackIcon:null}),[B,V]),U=S.useRef(null),W=S.useRef({});S.useImperativeHandle(t,()=>({focus:()=>{W.current[0]?.focus()},blur:()=>{for(let e=0;ec?c(e):e,[te,ne]=S.useState(()=>VW(ee(a||``)));S.useEffect(()=>{o!==void 0&&ne(VW(o))},[o]);let re=zn(e=>{ne(e),_&&_(e),s&&e.length===r&&e.every(e=>e)&&e.some((e,t)=>te[t]!==e)&&s(e.join(``))}),G=zn((e,t)=>{let n=pa(te);for(let t=0;t=0&&!n[e];--e)n.pop();return n=VW(ee(n.map(e=>e||` `).join(``))).map((e,t)=>e===` `&&!n[t]?n[t]:e),n}),ie=(e,t)=>{let n=G(e,t),i=Math.min(e+t.length,r-1);i!==e&&n[e]!==void 0&&W.current[i]?.focus(),re(n)},K=e=>{W.current[e]?.focus()},ae=(e,t)=>{for(let e=0;e{let n=`otp-${t}`,i=te[t]||``;return S.createElement(S.Fragment,{key:n},S.createElement(BW,{ref:e=>{W.current[t]=e},index:t,size:z,htmlSize:1,className:J(P.input,`${M}-input`),style:F.input,onChange:ie,value:i,onActiveChange:K,autoFocus:t===0&&p,onFocus:e=>ae(e,t),...q}),t{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z`}},{tag:`path`,attrs:{d:`M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z`}}]},name:`eye-invisible`,theme:`outlined`}}))());function GW(){return GW=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,GW({},e,{ref:t,icon:WW.default}))),qW=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z`}}]},name:`eye`,theme:`outlined`}}))());function JW(){return JW=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,JW({},e,{ref:t,icon:qW.default}))),XW=e=>e?S.createElement(YW,null):S.createElement(KW,null),ZW={click:`onClick`,hover:`onMouseOver`},QW=S.forwardRef((e,t)=>{let{disabled:n,action:r=`click`,visibilityToggle:i=!0,iconRender:a=XW,suffix:o}=e,s=S.useContext(mm),c=n??s,l=nf(i)&&i.visible!==void 0,[u,d]=(0,S.useState)(()=>l?i.visible:!1),f=(0,S.useRef)(null);S.useEffect(()=>{l&&d(i.visible)},[l,i]);let p=VB(f),m=()=>{if(c)return;u&&p();let e=!u;d(e),nf(i)&&i.onVisibleChange?.(e)},h=e=>{let t=ZW[r]||``,n=a(u),i={[t]:m,className:`${e}-icon`,key:`passwordIcon`,onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return S.cloneElement(S.isValidElement(n)?n:S.createElement(`span`,null,n),i)},{className:g,prefixCls:_,inputPrefixCls:v,size:y,...b}=e,{getPrefixCls:x}=S.useContext(ga),C=x(`input`,v),w=x(`input-password`,_),T=i&&h(w),E=J(w,g,{[`${w}-${y}`]:!!y}),D={...gi(b,[`suffix`,`iconRender`,`visibilityToggle`]),type:u?`text`:`password`,className:E,prefixCls:C,suffix:S.createElement(S.Fragment,null,T,o)};return y&&(D.size=y),S.createElement(UB,{ref:cr(t,f),...D})}),$W=Ql([`Input`,`Search`],e=>{let{componentCls:t}=e,n=`${t}-btn`;return{[t]:{width:`100%`,[n]:{"&-filled":{background:e.colorFillTertiary,"&:not(:disabled)":{"&:hover":{background:e.colorFillSecondary},"&:active":{background:e.colorFill}}}}}}}),eG=S.forwardRef((e,t)=>{let{prefixCls:n,inputPrefixCls:r,className:i,size:a,style:o,enterButton:s=!1,addonAfter:c,loading:l,disabled:u,onSearch:d,onChange:f,onCompositionStart:p,onCompositionEnd:m,variant:h,onPressEnter:g,classNames:_,styles:v,hidden:y,...b}=e,{direction:x,getPrefixCls:C,classNames:w,styles:T}=ya(`inputSearch`),E={...e,enterButton:s},[D,O]=Cf([w,_],[T,v],{props:E},{button:{_default:`root`}}),k=S.useRef(!1),A=C(`input-search`,n),j=C(`input`,r),[M,N]=$W(A),{compactSize:P}=Dh(A,x),F=wh(e=>a??P??e),I=S.useRef(null),L=e=>{e?.target&&e.type===`click`&&d&&d(e.target.value,e,{source:`clear`}),f?.(e)},R=e=>{document.activeElement===I.current?.input&&e.preventDefault()},z=e=>{d&&d(I.current?.input?.value,e,{source:`input`})},B=e=>{k.current||l||(g?.(e),z(e))},V=typeof s==`boolean`?S.createElement($C,null):null,H=`${A}-btn`,U=J(H,{[`${H}-${h}`]:h}),W,ee=s||{},te=ee.type&&ee.type.__ANT_BUTTON===!0;W=te||ee.type===`button`?lm(ee,{onMouseDown:R,onClick:e=>{ee?.props?.onClick?.(e),z(e)},key:`enterButton`,...te?{className:U,size:F}:{}}):S.createElement(m_,{classNames:D.button,styles:O.button,className:U,color:s?`primary`:`default`,size:F,disabled:u,key:`enterButton`,onMouseDown:R,onClick:z,loading:l,icon:V,variant:h===`borderless`||h===`filled`||h===`underlined`?`text`:s?`solid`:void 0},s),c&&(W=[W,lm(c,{key:`addonAfter`})]);let ne=J(A,N,{[`${A}-rtl`]:x===`rtl`,[`${A}-${F}`]:!!F,[`${A}-with-button`]:!!s},i,M,D.root),re=e=>{k.current=!0,p?.(e)},G=e=>{k.current=!1,m?.(e)},ie=xi(b,{data:!0}),K=gi({...b,classNames:gi(D,[`button`,`root`]),styles:gi(O,[`button`,`root`]),prefixCls:j,type:`search`,size:F,variant:h,onPressEnter:B,onCompositionStart:re,onCompositionEnd:G,onChange:L,disabled:u},Object.keys(ie));return S.createElement(Ah,{className:ne,style:{...o,...O.root},...ie,hidden:y},S.createElement(UB,{ref:cr(I,t),...K}),W)}),tG=` + ${r}-col-xl-24${n}-label`]:XH(e)},[`@media (max-width: ${Y(e.screenXSMax)})`]:[$H(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:XH(e)}}}],[`@media (max-width: ${Y(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:XH(e)}}},[`@media (max-width: ${Y(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:XH(e)}}},[`@media (max-width: ${Y(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:XH(e)}}}}},tU=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),nU=(e,t)=>dc(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),rU=Ql(`Form`,(e,{rootPrefixCls:t})=>{let n=nU(e,t);return[JH(n),YH(n),GH(n),ZH(n),QH(n),eU(n),Kh(n),_g]},tU,{order:-1e3}),iU=[];function aU(e,t,n,r=0){return{key:typeof e==`string`?e:`${t}-${r}`,error:e,errorStatus:n}}var oU=({help:e,helpStatus:t,errors:n=iU,warnings:r=iU,className:i,fieldId:a,onVisibleChanged:o})=>{let{prefixCls:s}=S.useContext(Ey),c=`${s}-item-explain`,l=sp(s),[u,d]=rU(s,l),f=S.useMemo(()=>_h(s),[s]),p=WH(n),m=WH(r),h=S.useMemo(()=>$d(e)?[aU(e,`help`,t)]:[].concat(pa(p.map((e,t)=>aU(e,`error`,`error`,t))),pa(m.map((e,t)=>aU(e,`warning`,`warning`,t)))),[e,t,p,m]),g=S.useMemo(()=>{let e={};return h.forEach(({key:t})=>{e[t]=(e[t]||0)+1}),h.map((t,n)=>({...t,key:e[t.key]>1?`${t.key}-fallback-${n}`:t.key}))},[h]),_={};return a&&(_.id=`${a}_help`),S.createElement(Od,{motionDeadline:f.motionDeadline,motionName:`${s}-show-help`,visible:!!g.length,onVisibleChanged:o},e=>{let{className:t,style:n}=e;return S.createElement(`div`,{..._,className:J(c,t,d,l,i,u),style:n},S.createElement(Dd,{keys:g,..._h(s),motionName:`${s}-show-help-item`,component:!1},e=>{let{key:t,error:n,errorStatus:r,className:i,style:a}=e;return S.createElement(`div`,{key:t,className:J(i,{[`${c}-${r}`]:r}),style:a},n)}))})},sU=S.forwardRef((e,t)=>{let n=S.useContext(hm),{getPrefixCls:r,direction:i,requiredMark:a,colon:o,scrollToFirstError:s,className:c,style:l,styles:u,classNames:d,tooltip:f}=ya(`form`),{prefixCls:p,className:m,rootClassName:h,size:g,disabled:_=n,form:v,colon:y,labelAlign:b,labelWrap:x,labelCol:C,wrapperCol:w,layout:T=`horizontal`,scrollToFirstError:E,requiredMark:D,onFinishFailed:O,name:k,style:A,feedbackIcons:j,variant:M,classNames:N,styles:P,tooltip:F,...I}=e,L=Oh(g),R=S.useContext(cp),z=S.useMemo(()=>D===void 0?a===void 0?!0:a:D,[D,a]),B=y??o,V={...f,...F},H=r(`form`,p),U=sp(H),[W,ee]=rU(H,U),te={...e,size:L,disabled:_,layout:T,colon:B,requiredMark:z},[ne,re]=Cf([d,N],[u,P],{props:te}),G=J(H,`${H}-${T}`,{[`${H}-hide-required-mark`]:z===!1,[`${H}-rtl`]:i===`rtl`,[`${H}-large`]:L===`large`,[`${H}-small`]:L===`small`},ee,U,W,c,m,h,ne.root),[ie]=$I(v),{__INTERNAL__:K}=ie;K.name=k;let ae=S.useMemo(()=>({name:k,labelAlign:b,labelCol:C,labelWrap:x,wrapperCol:w,layout:T,colon:B,requiredMark:z,itemRef:K.itemRef,form:ie,feedbackIcons:j,tooltip:V,classNames:ne,styles:re}),[k,b,C,w,T,B,z,ie,j,ne,re,V]),q=S.useRef(null);S.useImperativeHandle(t,()=>({...ie,nativeElement:q.current?.nativeElement}));let oe=(e,t)=>{if(e){let n={block:`nearest`};nf(e)&&(n={...n,...e}),ie.scrollToField(t,n)}},se=e=>{if(O?.(e),e.errorFields.length){let t=e.errorFields[0].name;if(E!==void 0){oe(E,t);return}s!==void 0&&oe(s,t)}};return S.createElement(ky.Provider,{value:M},S.createElement(gm,{disabled:_},S.createElement(_m.Provider,{value:L},S.createElement(Ty,{validateMessages:R},S.createElement(Cy.Provider,{value:ae},S.createElement(Oy,{status:!0},S.createElement(Sy,{id:k,...I,name:k,onFinishFailed:se,form:ie,ref:q,style:{...re?.root,...l,...A},className:G})))))))});function cU(e){if(typeof e==`function`)return e;let t=ki(e);return t.length<=1?t[0]:t}var lU=()=>{let{status:e,errors:t=[],warnings:n=[]}=S.useContext(Dy);return{status:e,errors:t,warnings:n}};lU.Context=Dy;function uU(e){let[t,n]=S.useState(e),r=S.useRef(null),i=S.useRef([]),a=S.useRef(!1);S.useEffect(()=>(a.current=!1,()=>{a.current=!0,Oi.cancel(r.current),r.current=null}),[]);function o(e){a.current||(r.current===null&&(i.current=[],r.current=Oi(()=>{r.current=null,n(e=>{let t=e;return i.current.forEach(e=>{t=e(t)}),t})})),i.current.push(e))}return[t,o]}var dU=()=>{let{itemRef:e}=S.useContext(Cy),t=S.useRef({});function n(n,r){let i=r&&typeof r==`object`&&pr(r),a=n.join(`_`);return(t.current.name!==a||t.current.originRef!==i)&&(t.current.name=a,t.current.originRef=i,t.current.ref=cr(e(n),i)),t.current.ref}return n},fU=e=>{let{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:`flex`}}}},pU=eu([`Form`,`item-item`],(e,{rootPrefixCls:t})=>fU(nU(e,t))),mU=24,hU=e=>{let{prefixCls:t,status:n,labelCol:r,wrapperCol:i,children:a,errors:o,warnings:s,_internalItemRender:c,extra:l,help:u,fieldId:d,marginBottom:f,onErrorVisibleChanged:p,label:m}=e,h=`${t}-item`,g=S.useContext(Cy),{classNames:_,styles:v}=g,y=S.useMemo(()=>{let e={...i||g.wrapperCol||{}};return m===null&&!r&&!i&&g.labelCol&&[void 0].concat(pa(YC)).forEach(t=>{let n=t?[t]:[],r=Ai(g.labelCol,n),i=nf(r)?r:{},a=Ai(e,n),o=nf(a)?a:{};`span`in i&&!(`offset`in o)&&i.span{let{labelCol:e,wrapperCol:t,...n}=g;return n},[g]),C=S.useRef(null),[w,T]=S.useState(0);Hn(()=>{l&&C.current?T(C.current.clientHeight):T(0)},[l]);let E=S.createElement(`div`,{className:`${h}-control-input`},S.createElement(`div`,{className:J(`${h}-control-input-content`,_?.content),style:v?.content},a)),D=S.useMemo(()=>({prefixCls:t,status:n}),[t,n]),O=f!==null||o.length||s.length?S.createElement(Ey.Provider,{value:D},S.createElement(oU,{fieldId:d,errors:o,warnings:s,help:u,helpStatus:n,className:`${h}-explain-connected`,onVisibleChanged:p})):null,k={};d&&(k.id=`${d}_extra`);let A=l?S.createElement(`div`,{...k,className:`${h}-extra`,ref:C},l):null,j=O||A?S.createElement(`div`,{className:`${h}-additional`,style:f?{minHeight:f+w}:{}},O,A):null,M=c&&c.mark===`pro_table_render`&&c.render?c.render(e,{input:E,errorList:O,extra:A}):S.createElement(S.Fragment,null,E,j);return S.createElement(Cy.Provider,{value:x},S.createElement(Pz,{...y,className:b},M),S.createElement(pU,{prefixCls:t}))},gU=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`question-circle`,theme:`outlined`}}))());function _U(){return _U=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,_U({},e,{ref:t,icon:gU.default}))),yU=({prefixCls:e,label:t,htmlFor:n,labelCol:r,labelAlign:i,colon:a,required:o,requiredMark:s,tooltip:c,vertical:l})=>{let[u]=Yd(`Form`),{labelAlign:d,labelCol:f,labelWrap:p,colon:m,classNames:h,styles:g,tooltip:_}=S.useContext(Cy);if(!t)return null;let v=r||f||{},y=i||d,b=`${e}-item-label`,x=J(b,y===`left`&&`${b}-left`,v.className,{[`${b}-wrap`]:!!p}),C=t,w=a===!0||m!==!1&&a!==!1;w&&!l&&typeof t==`string`&&t.trim()&&(C=t.replace(/[:|:]\s*$/,``));let T=UH(c,_);if(T){let t=S.createElement(Iw,{...T},S.createElement(`span`,{className:`${e}-item-tooltip`,onClick:e=>{e.preventDefault()},tabIndex:-1},T.icon||T.children||S.createElement(vU,null)));C=S.createElement(S.Fragment,null,C,t)}let E=s===`optional`,D=typeof s==`function`,O=s===!1;D?C=s(C,{required:!!o}):E&&!o&&(C=S.createElement(S.Fragment,null,C,S.createElement(`span`,{className:`${e}-item-optional`,title:``},u?.optional||Hd.Form?.optional)));let k;O?k=`hidden`:(E||D)&&(k=`optional`);let A=J(h?.label,{[`${e}-item-required`]:o,[`${e}-item-required-mark-${k}`]:k,[`${e}-item-no-colon`]:!w});return S.createElement(Pz,{...v,className:x},S.createElement(`label`,{htmlFor:n,className:A,style:g?.label,title:typeof t==`string`?t:``},C))},bU={success:Tu,warning:Pu,error:Ou,validating:Xm};function xU({children:e,errors:t,warnings:n,hasFeedback:r,validateStatus:i,prefixCls:a,meta:o,noStyle:s,name:c}){let l=`${a}-item`,{feedbackIcons:u}=S.useContext(Cy),d=XI(t,n,o,null,!!r,i),{isFormItemInput:f,status:p,hasFeedback:m,feedbackIcon:h,name:g}=S.useContext(Dy),_=S.useMemo(()=>{let e;if(r){let i=r!==!0&&r.icons||u,a=d&&i?.({status:d,errors:t,warnings:n})?.[d],o=d?bU[d]:null;e=a!==!1&&o?S.createElement(`span`,{className:J(`${l}-feedback-icon`,`${l}-feedback-icon-${d}`)},a||S.createElement(o,null)):null}let i={status:d||``,errors:t,warnings:n,hasFeedback:!!r,feedbackIcon:e,isFormItemInput:!0,name:c};return s&&(i.status=(d??p)||``,i.isFormItemInput=f,i.hasFeedback=!!(r??m),i.feedbackIcon=r===void 0?h:i.feedbackIcon,i.name=c??g),i},[d,r,s,f,p]);return S.createElement(Dy.Provider,{value:_},e)}function SU(e){let{prefixCls:t,className:n,rootClassName:r,style:i,help:a,errors:o,warnings:s,validateStatus:c,meta:l,hasFeedback:u,hidden:d,children:f,fieldId:p,required:m,isRequired:h,onSubItemMetaChange:g,layout:_,name:v,...y}=e,b=`${t}-item`,{requiredMark:x,layout:C}=S.useContext(Cy),w=_||C,T=w===`vertical`,E=S.useRef(null),D=WH(o),O=WH(s),k=$d(a),A=!!(k||o.length||s.length),j=!!E.current&&Ar(E.current),[M,N]=S.useState(null);Hn(()=>{if(A&&E.current){let e=getComputedStyle(E.current);N(Number.parseInt(e.marginBottom,10))}},[A,j]);let P=e=>{e||N(null)},F=((e=!1)=>XI(e?D:l.errors,e?O:l.warnings,l,``,!!u,c))(),I=J(b,n,r,{[`${b}-with-help`]:k||D.length||O.length,[`${b}-has-feedback`]:F&&u,[`${b}-has-success`]:F===`success`,[`${b}-has-warning`]:F===`warning`,[`${b}-has-error`]:F===`error`,[`${b}-is-validating`]:F===`validating`,[`${b}-hidden`]:d,[`${b}-${w}`]:w});return S.createElement(`div`,{className:I,style:i,ref:E},S.createElement(Lz,{className:`${b}-row`,...gi(y,`_internalItemRender.colon.dependencies.extra.fieldKey.getValueFromEvent.getValueProps.htmlFor.id.initialValue.isListField.label.labelAlign.labelCol.labelWrap.messageVariables.name.normalize.noStyle.preserve.requiredMark.rules.shouldUpdate.trigger.tooltip.validateFirst.validateTrigger.valuePropName.wrapperCol.validateDebounce`.split(`.`))},S.createElement(yU,{htmlFor:p,...e,requiredMark:x,required:m??h,prefixCls:t,vertical:T}),S.createElement(hU,{...e,...l,errors:D,warnings:O,prefixCls:t,status:F,help:a,marginBottom:M,onErrorVisibleChanged:P},S.createElement(wy.Provider,{value:g},S.createElement(xU,{prefixCls:t,meta:l,errors:l.errors,warnings:l.warnings,hasFeedback:u,validateStatus:F,name:v},f)))),!!M&&S.createElement(`div`,{className:`${b}-margin-offset`,style:{marginBottom:-M}}))}var CU=`__SPLIT__`;function wU(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>{let r=e[n],i=t[n];return r===i||typeof r==`function`||typeof i==`function`})}var TU=S.memo(e=>e.children,(e,t)=>wU(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((e,n)=>e===t.childProps[n]));function EU(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function DU(e){let{name:t,noStyle:n,className:r,dependencies:i,prefixCls:a,shouldUpdate:o,rules:s,children:c,required:l,label:u,messageVariables:d,trigger:f=`onChange`,validateTrigger:p,hidden:m,help:h,layout:g}=e,{getPrefixCls:_}=S.useContext(ga),{name:v}=S.useContext(Cy),y=cU(c),b=typeof y==`function`,x=S.useContext(wy),{validateTrigger:C}=S.useContext(B_),w=$d(p)?p:C,T=$d(t),E=_(`form`,a),D=sp(E),[O,k]=rU(E,D);Gi(`Form.Item`);let A=S.useContext(V_),j=S.useRef(null),[M,N]=uU({}),[P,F]=Wn(()=>EU()),I=e=>{let t=A?.getKey(e.name);if(F(e.destroy?EU():e,!0),n&&h!==!1&&x){let n=e.name;if(e.destroy)n=j.current||n;else if(t!==void 0){let[e,r]=t;n=[e].concat(pa(r)),j.current=n}x(e,n)}},L=(e,t)=>{N(n=>{let r={...n},i=[].concat(pa(e.name.slice(0,-1)),pa(t)).join(CU);return e.destroy?delete r[i]:r[i]=e,r})},[R,z]=S.useMemo(()=>{let e=pa(P.errors),t=pa(P.warnings);return Object.values(M).forEach(n=>{e.push.apply(e,pa(n.errors||[])),t.push.apply(t,pa(n.warnings||[]))}),[e,t]},[M,P.errors,P.warnings]),B=dU();function V(i,a,o){return n&&!m?S.createElement(xU,{prefixCls:E,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:P,errors:R,warnings:z,noStyle:!0,name:t},i):S.createElement(SU,{key:`row`,...e,className:J(r,k,D,O),prefixCls:E,fieldId:a,isRequired:o,errors:R,warnings:z,meta:P,onSubItemMetaChange:L,layout:g,name:t},i)}if(!T&&!b&&!i)return V(y);let H={};return typeof u==`string`?H.label=u:t&&(H.label=String(t)),d&&(H={...H,...d}),S.createElement(cy,{...e,messageVariables:H,trigger:f,validateTrigger:w,onMetaChange:I},(n,r,a)=>{let c=JI(t).length&&r?r.name:[],u=YI(c,v),d=l===void 0?s?.some(e=>{if(nf(e)&&e.required&&!e.warningOnly)return!0;if(typeof e==`function`){let t=e(a);return t?.required&&!t?.warningOnly}return!1}):l,p={...n},m=null;if(Array.isArray(y)&&T)m=y;else if(!(b&&(!(o||i)||T))&&!(i&&!b&&!T))if(S.isValidElement(y)){let t={...y.props,...p};if(t.id||=u,h||R.length>0||z.length>0||e.extra){let n=[];(h||R.length>0)&&n.push(`${u}_help`),e.extra&&n.push(`${u}_extra`),t[`aria-describedby`]=n.join(` `)}R.length>0&&(t[`aria-invalid`]=`true`),d&&(t[`aria-required`]=`true`),ur(y)&&(t.ref=B(c,y)),new Set([].concat(pa(JI(f)),pa(JI(w)))).forEach(e=>{t[e]=(...t)=>{p[e]?.(...t),y.props[e]?.(...t)}});let n=[t[`aria-required`],t[`aria-invalid`],t[`aria-describedby`]];m=S.createElement(TU,{control:p,update:y,childProps:n},um(y,t))}else m=b&&(o||i)&&!T?y(a):y;return V(m,u,d)})}var OU=DU;OU.useStatus=lU;var kU=({prefixCls:e,children:t,...n})=>{let{getPrefixCls:r}=S.useContext(ga),i=r(`form`,e),a=S.useMemo(()=>({prefixCls:i,status:`error`}),[i]);return S.createElement(ly,{...n},(e,n,r)=>S.createElement(Ey.Provider,{value:a},t(e.map(e=>({...e,fieldKey:e.key})),n,{errors:r.errors,warnings:r.warnings})))};function AU(){let{form:e}=S.useContext(Cy);return e}var jU=sU;jU.Item=OU,jU.List=kU,jU.ErrorList=oU,jU.useForm=$I,jU.useFormInstance=AU,jU.useWatch=xy,jU.Provider=Ty;var MU=S.createContext(null);function NU(e){return new Promise(t=>{if(!e){t(!1);return}let n=document.createElement(`img`);n.onerror=()=>t(!1),n.onload=()=>t(!0),n.src=e})}function PU(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}var FU={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function IU(e,t,n,r){let i=(0,S.useRef)(null),a=(0,S.useRef)([]),[o,s]=(0,S.useState)(FU),c=e=>{s(FU),fi(FU,o)||r?.({transform:FU,action:e})},l=(e,t)=>{i.current===null&&(a.current=[],i.current=Oi(()=>{s(e=>{let n=e;return a.current.forEach(e=>{n={...n,...e}}),i.current=null,r?.({transform:n,action:t}),n})})),a.current.push({...o,...e})};return{transform:o,resetTransform:c,updateTransform:l,dispatchZoomChange:(r,i,a,s,c)=>{let{width:u,height:d,offsetWidth:f,offsetHeight:p,offsetLeft:m,offsetTop:h}=e.current,g=r,_=o.scale*r;_>n?(_=n,g=n/o.scale):_r){if(t>0)return{[e]:a};if(t<0&&ir)return{[e]:t<0?a:-a};return{}}function RU(e,t,n,r){let{width:i,height:a}=PU(),o=null;return e<=i&&t<=a?o={x:0,y:0}:(e>i||t>a)&&(o={...LU(`x`,n,e,i),...LU(`y`,r,t,a)}),o}function zU(e,t,n,r,i,a,o){let{rotate:s,scale:c,x:l,y:u}=i,[d,f]=(0,S.useState)(!1),p=(0,S.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),m=e=>{!t||e.button!==0||(e.preventDefault(),e.stopPropagation(),p.current={diffX:e.pageX-l,diffY:e.pageY-u,transformX:l,transformY:u},f(!0))},h=e=>{n&&d&&a({x:e.pageX-p.current.diffX,y:e.pageY-p.current.diffY},`move`)},g=()=>{if(n&&d){f(!1);let{transformX:t,transformY:n}=p.current;if(!(l!==t&&u!==n))return;let r=e.current.offsetWidth*c,i=e.current.offsetHeight*c,{left:o,top:d}=e.current.getBoundingClientRect(),m=s%180!=0,h=RU(m?i:r,m?r:i,o,d);h&&a({...h},`dragRebound`)}};return(0,S.useEffect)(()=>{if(t){window.addEventListener(`mouseup`,g,!1),window.addEventListener(`mousemove`,h,!1);try{window.top!==window.self&&(window.top.addEventListener(`mouseup`,g,!1),window.top.addEventListener(`mousemove`,h,!1))}catch(e){`${e}`}}return()=>{window.removeEventListener(`mouseup`,g),window.removeEventListener(`mousemove`,h);try{window.top?.removeEventListener(`mouseup`,g),window.top?.removeEventListener(`mousemove`,h)}catch{}}},[n,d,l,u,s,t]),{isMoving:d,onMouseDown:m,onMouseMove:h,onMouseUp:g,onWheel:e=>{if(!n||e.deltaY==0)return;let t=Math.abs(e.deltaY/100),i=1+Math.min(t,1)*r;e.deltaY>0&&(i=1/i),o(i,`wheel`,e.clientX,e.clientY)}}}function BU({src:e,isCustomPlaceholder:t,fallback:n}){let[r,i]=(0,S.useState)(t?`loading`:`normal`),a=(0,S.useRef)(!1),o=r===`error`;(0,S.useEffect)(()=>{let t=!0;return NU(e).then(e=>{!e&&t&&i(`error`)}),()=>{t=!1}},[e]),(0,S.useEffect)(()=>{t&&!a.current?i(`loading`):o&&i(`normal`)},[e]);let s=()=>{i(`normal`)};return[e=>{a.current=!1,r===`loading`&&e?.complete&&(e.naturalWidth||e.naturalHeight)&&(a.current=!0,s())},o&&n?{src:n}:{onLoad:s,src:e},r]}function VU(e,t){let n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function HU(e,t,n,r){let i=VU(e,n),a=VU(t,r);if(i===0&&a===0)return[e.x,e.y];let o=i/(i+a);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}function UU(e,t,n,r,i,a,o){let{rotate:s,scale:c,x:l,y:u}=i,[d,f]=(0,S.useState)(!1),p=(0,S.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:`none`}),m=e=>{p.current={...p.current,...e}};return(0,S.useEffect)(()=>{let e=e=>{e.preventDefault()};return n&&t&&window.addEventListener(`touchmove`,e,{passive:!1}),()=>{window.removeEventListener(`touchmove`,e)}},[n,t]),{isTouching:d,onTouchStart:e=>{if(!t)return;e.stopPropagation(),f(!0);let{touches:n=[]}=e;n.length>1?m({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:`touchZoom`}):m({point1:{x:n[0].clientX-l,y:n[0].clientY-u},eventType:`move`})},onTouchMove:e=>{let{touches:t=[]}=e,{point1:n,point2:r,eventType:i}=p.current;if(t.length>1&&i===`touchZoom`){let e={x:t[0].clientX,y:t[0].clientY},i={x:t[1].clientX,y:t[1].clientY},[a,s]=HU(n,r,e,i);o(VU(e,i)/VU(n,r),`touchZoom`,a,s,!0),m({point1:e,point2:i,eventType:`touchZoom`})}else i===`move`&&(a({x:t[0].clientX-n.x,y:t[0].clientY-n.y},`move`),m({eventType:`move`}))},onTouchEnd:()=>{if(!n)return;if(d&&f(!1),m({eventType:`none`}),r>c)return a({x:0,y:0,scale:r},`touchZoom`);let t=e.current.offsetWidth*c,i=e.current.offsetHeight*c,{left:o,top:l}=e.current.getBoundingClientRect(),u=s%180!=0,p=RU(u?i:t,u?t:i,o,l);p&&a({...p},`dragRebound`)}}}function WU(e){let{prefixCls:t,icon:n,onClick:r,className:i,style:a}=e;return S.createElement(`button`,{className:J(`${t}-close`,i),style:a,onClick:r},n)}function GU(e){let{prefixCls:t,showProgress:n,current:r,count:i,showSwitch:a,classNames:o,styles:s,icons:c,image:l,transform:u,countRender:d,actionsRender:f,scale:p,minScale:m,maxScale:h,onActive:g,onFlipY:_,onFlipX:v,onRotateLeft:y,onRotateRight:b,onZoomOut:x,onZoomIn:C,onClose:w,onReset:T}=e,{left:E,right:D,prev:O,next:k,flipY:A,flipX:j,rotateLeft:M,rotateRight:N,zoomOut:P,zoomIn:F}=c,I=n&&S.createElement(`div`,{className:`${t}-progress`},d?d(r+1,i):S.createElement(`bdi`,null,`${r+1} / ${i}`)),L=`${t}-actions-action`,R=({type:e,disabled:t,onClick:n,icon:r})=>S.createElement(`button`,{type:`button`,key:e,className:J(L,`${L}-${e}`,{[`${L}-disabled`]:!!t}),onClick:n,disabled:!!t,"aria-label":e},r),z=a?R({icon:O??E,onClick:()=>g(-1),type:`prev`,disabled:r===0}):void 0,B=a?R({icon:k??D,onClick:()=>g(1),type:`next`,disabled:r===i-1}):void 0,V=R({icon:A,onClick:_,type:`flipY`}),H=R({icon:j,onClick:v,type:`flipX`}),U=R({icon:M,onClick:y,type:`rotateLeft`}),W=R({icon:N,onClick:b,type:`rotateRight`}),ee=R({icon:P,onClick:x,type:`zoomOut`,disabled:p<=m}),te=R({icon:F,onClick:C,type:`zoomIn`,disabled:p===h}),ne=S.createElement(`div`,{className:J(`${t}-actions`,o.actions),style:s.actions},V,H,U,W,ee,te);return S.createElement(`div`,{className:J(`${t}-footer`,o.footer),style:s.footer},I,f?f(ne,{icons:{prevIcon:z,nextIcon:B,flipYIcon:V,flipXIcon:H,rotateLeftIcon:U,rotateRightIcon:W,zoomOutIcon:ee,zoomInIcon:te},actions:{onActive:g,onFlipY:_,onFlipX:v,onRotateLeft:y,onRotateRight:b,onZoomOut:x,onZoomIn:C,onReset:T,onClose:w},transform:u,current:r,total:i,image:l}):ne)}function KU(e){let{prefixCls:t,onActive:n,current:r,count:i,icons:{left:a,right:o,prev:s,next:c}}=e,l=`${t}-switch`,u=r===0,d=r===i-1;return S.createElement(S.Fragment,null,S.createElement(`button`,{className:J(l,`${l}-prev`,{[`${l}-disabled`]:u}),onClick:()=>n(-1),disabled:u},s??a),S.createElement(`button`,{type:`button`,className:J(l,`${l}-next`,{[`${l}-disabled`]:d}),onClick:()=>n(1),disabled:d},c??o))}function qU(){return qU=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let[i,a]=BU({src:t,fallback:e});return S.createElement(`img`,qU({ref:e=>{n.current=e,i(e)}},r,a))},YU=e=>{let{prefixCls:t,rootClassName:n,src:r,alt:i,imageInfo:a,fallback:o,movable:s=!0,onClose:c,open:l,afterOpenChange:u,maskClosable:d=!0,icons:f={},closeIcon:p,getContainer:m,current:h=0,count:g=1,countRender:_,scaleStep:v=.5,minScale:y=1,maxScale:b=50,motionName:x=`fade`,imageRender:C,imgCommonProps:w,actionsRender:T,onTransform:E,onChange:D,classNames:O={},styles:k={},mousePosition:A,zIndex:j,focusTrap:M=!0}=e,N=(0,S.useRef)(),P=(0,S.useRef)(null),F=(0,S.useRef)(null),I=(0,S.useContext)(MU),L=I&&g>1,R=I&&g>=1,[z,B]=(0,S.useState)(!0),{transform:V,resetTransform:H,updateTransform:U,dispatchZoomChange:W}=IU(N,y,b,E),{isMoving:ee,onMouseDown:te,onWheel:ne}=zU(N,s,l,v,V,U,W),{isTouching:re,onTouchStart:G,onTouchMove:ie,onTouchEnd:K}=UU(N,s,l,y,V,U,W),{rotate:ae,scale:q}=V;(0,S.useEffect)(()=>{z||B(!0)},[z]),(0,S.useEffect)(()=>{l||H(`close`)},[l]);let oe=S.createElement(JU,qU({},w,{width:e.width,height:e.height,imgRef:N,className:`${t}-img`,alt:i,style:{transform:`translate3d(${V.x}px, ${V.y}px, 0) scale3d(${V.flipX?`-`:``}${q}, ${V.flipY?`-`:``}${q}, 1) rotate(${ae}deg)`,transitionDuration:(!z||re)&&`0s`},fallback:o,src:r,onWheel:ne,onMouseDown:te,onDoubleClick:e=>{l&&(q===1?W(1+v,`doubleClick`,e.clientX,e.clientY):U({x:0,y:0,scale:1},`doubleClick`))},onTouchStart:G,onTouchMove:ie,onTouchEnd:K,onTouchCancel:K})),se={url:r,alt:i,...a},ce=()=>{W(1+v,`zoomIn`)},le=()=>{W(1/(1+v),`zoomOut`)},ue=()=>{U({rotate:ae+90},`rotateRight`)},de=()=>{U({rotate:ae-90},`rotateLeft`)},fe=()=>{U({flipX:!V.flipX},`flipX`)},pe=()=>{U({flipY:!V.flipY},`flipY`)},me=()=>{H(`reset`)},he=e=>{let t=h+e;t>=0&&t<=g-1&&(B(!1),H(e<0?`prev`:`next`),D?.(t,h))},ge=zn(e=>{if(l){let{keyCode:t}=e;L&&(t===Qr.LEFT?he(-1):t===Qr.RIGHT&&he(1))}});(0,S.useEffect)(()=>{if(l)return window.addEventListener(`keydown`,ge),()=>{window.removeEventListener(`keydown`,ge)}},[l]);let[_e,ve]=(0,S.useState)(!1);S.useEffect(()=>{l&&ve(!0)},[l]);let ye=e=>{e||(ve(!1),F.current?.focus?.(),F.current=null),u?.(e)},[be,xe]=(0,S.useState)(!1);Hn(()=>{l&&xe(!0)},[l]);let Se=({top:e})=>{e&&c?.()};Hn(()=>{l&&(F.current=document.activeElement)},[l]),Gr(M&&l&&be,()=>P.current);let Ce={...k.body};return A&&(Ce.transformOrigin=`${A.x}px ${A.y}px`),S.createElement(Dp,{open:be&&l,autoDestroy:!1,getContainer:m,autoLock:_e,onEsc:Se},S.createElement(Od,{motionName:x,visible:be&&l,motionAppear:!0,motionEnter:!0,motionLeave:!0,onVisibleChanged:ye},({className:e,style:r})=>{let a={...k.root,...r};return j&&(a.zIndex=j),S.createElement(`div`,{ref:P,className:J(t,n,O.root,e,{[`${t}-movable`]:s,[`${t}-moving`]:ee}),style:a,role:`dialog`,"aria-modal":`true`,"aria-label":i,tabIndex:-1},S.createElement(`div`,{className:J(`${t}-mask`,O.mask),style:k.mask,onClick:d?c:void 0}),S.createElement(`div`,{className:J(`${t}-body`,O.body),style:Ce},C?C(oe,{transform:V,image:se,...I?{current:h}:{}}):oe),p!==!1&&p!==null&&S.createElement(WU,{prefixCls:t,icon:p===!0?f.close:p||f.close,onClick:c,className:O.close,style:k.close}),L&&S.createElement(KU,{prefixCls:t,current:h,count:g,icons:f,onActive:he}),S.createElement(GU,{prefixCls:t,showProgress:R,current:h,count:g,showSwitch:L,classNames:O,styles:k,image:se,transform:V,icons:f,countRender:_,actionsRender:T,scale:q,minScale:y,maxScale:b,onActive:he,onFlipY:pe,onFlipX:fe,onRotateLeft:de,onRotateRight:ue,onZoomOut:le,onZoomIn:ce,onClose:c,onReset:me}))}))},XU=[`crossOrigin`,`decoding`,`draggable`,`loading`,`referrerPolicy`,`sizes`,`srcSet`,`useMap`,`alt`,`fetchPriority`];function ZU(e){let[t,n]=S.useState({}),r=S.useCallback((e,t)=>(n(n=>({...n,[e]:t})),()=>{n(t=>{let n={...t};return delete n[e],n})}),[]);return[S.useMemo(()=>e?e.map(e=>{if(typeof e==`string`)return{data:{src:e}};let t={};return Object.keys(e).forEach(n=>{[`src`,...XU].includes(n)&&(t[n]=e[n])}),{data:t}}):Object.keys(t).reduce((e,n)=>{let{canPreview:r,data:i}=t[n];return r&&e.push({data:i,id:n}),e},[]),[e,t]),r,!!e]}function QU(){return QU=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{open:c,onOpenChange:l,current:u,onChange:d,...f}=o&&typeof o==`object`?o:{},[p,m,h]=ZU(a),[g,_]=Gn(0,u),[v,y]=(0,S.useState)(!1),{src:b,...x}=p[g]?.data||{},[C,w]=Gn(!!c,c),T=zn(e=>{w(e),e!==C&&l?.(e,{current:g})}),[E,D]=(0,S.useState)(null),O=S.useCallback((e,t,n,r)=>{let i=h?p.findIndex(e=>e.data.src===t):p.findIndex(t=>t.id===e);_(i<0?0:i),T(!0),D({x:n,y:r}),y(!0)},[p,h]);S.useEffect(()=>{C?v||_(0):y(!1)},[C]);let k=(e,t)=>{_(e),d?.(e,t)},A=()=>{T(!1),D(null)},j=S.useMemo(()=>({register:m,onPreview:O}),[m,O]);return S.createElement(MU.Provider,{value:j},r,S.createElement(YU,QU({"aria-hidden":!C,open:C,prefixCls:e,onClose:A,mousePosition:E,imgCommonProps:x,src:b,fallback:s,icons:i,current:g,count:p.length,onChange:k},f,{classNames:t?.popup,styles:n?.popup})))},eW=0;function tW(e,t){let[n]=S.useState(()=>(eW+=1,String(eW))),r=S.useContext(MU),i={data:t,canPreview:e};return S.useEffect(()=>{if(r)return r.register(n,i)},[]),S.useEffect(()=>{r&&r.register(n,i)},[e,t]),n}function nW(){return nW=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:t=`rc-image`,previewPrefixCls:n=`${t}-preview`,rootClassName:r,className:i,style:a,classNames:o={},styles:s={},width:c,height:l,src:u,alt:d,placeholder:f,fallback:p,preview:m=!0,onClick:h,onError:g,onKeyDown:_,...v}=e,y=(0,S.useContext)(MU),b=!!m,{src:x,open:C,onOpenChange:w,cover:T,rootClassName:E,...D}=m&&typeof m==`object`?m:{},O=typeof T==`object`&&T.placement&&T.placement||`center`,k=typeof T==`object`&&T.coverNode?T.coverNode:T,[A,j]=Gn(!!C,C),[M,N]=(0,S.useState)(null),P=e=>{j(e),w?.(e)},F=()=>{P(!1)},I=f&&f!==!0,L=x??u,[R,z,B]=BU({src:u,isCustomPlaceholder:I,fallback:p}),V=(0,S.useMemo)(()=>{let t={};return XU.forEach(n=>{e[n]!==void 0&&(t[n]=e[n])}),t},XU.map(t=>e[t])),H=tW(b,(0,S.useMemo)(()=>({...V,src:L}),[L,V])),U=e=>{let t=e.target.getBoundingClientRect(),n=t.x+t.width/2,r=t.y+t.height/2;y?y.onPreview(H,L,n,r):(N({x:n,y:r}),P(!0)),h?.(e)},W=e=>{if(_?.(e),b&&(e.key===`Enter`||e.key===` `)){e.preventDefault();let t=e.target.getBoundingClientRect(),n=t.x+t.width/2,r=t.y+t.height/2;y?y.onPreview(H,L,n,r):(N({x:n,y:r}),P(!0))}};return S.createElement(S.Fragment,null,S.createElement(`div`,nW({},v,{className:J(t,r,o.root,{[`${t}-error`]:B===`error`}),onClick:b?U:h,role:b?`button`:v.role,tabIndex:b&&v.tabIndex==null?0:v.tabIndex,"aria-label":b?v[`aria-label`]??d:v[`aria-label`],onKeyDown:W,style:{width:c,height:l,...s.root}}),S.createElement(`img`,nW({},V,{className:J(`${t}-img`,{[`${t}-img-placeholder`]:f===!0},o.image,i),style:{height:l,...s.image,...a},ref:R},z,{width:c,height:l,onError:g})),B===`loading`&&S.createElement(`div`,{"aria-hidden":`true`,className:`${t}-placeholder`},f),T!==!1&&b&&S.createElement(`div`,{className:J(`${t}-cover`,o.cover,`${t}-cover-${O}`),style:{display:a?.display===`none`?`none`:void 0,...s.cover}},k)),!y&&b&&S.createElement(YU,nW({"aria-hidden":!A,open:A,prefixCls:n,onClose:F,mousePosition:M,src:L,alt:d,imageInfo:{width:c,height:l},fallback:p,imgCommonProps:V},D,{classNames:o?.popup,styles:s?.popup,rootClassName:J(E,r)})))};rW.PreviewGroup=$U;var iW=rW,aW=(e,t,n,r,i,a,o)=>{let[s]=Lf(`ImagePreview`,e?.zIndex),[c,l]=gf(e?.mask,t?.mask,`${n}-preview`);return S.useMemo(()=>{if(!e)return e;let{cover:u,getContainer:d,closeIcon:f,rootClassName:p}=e,{closeIcon:m}=t??{};return{motionName:vh(`${n}-preview`,`fade`),...e,...o?{cover:u??o}:{},icons:a,getContainer:d??i,zIndex:s,closeIcon:f??m,rootClassName:J(r,p),mask:c,blurClassName:l.mask}},[e,t,n,r,i,o,a,s,c,l])};function oW(e){return(0,S.isValidElement)(e)?[e,void 0]:typeof e==`boolean`||nf(e)?[void 0,e]:[void 0,void 0]}function sW(e){let t=(0,S.useMemo)(()=>typeof e==`boolean`?e?{}:null:nf(e)?e:{},[e]);return(0,S.useMemo)(()=>{if(!t)return[t,``,``];let{open:e,onOpenChange:n,cover:r,actionsRender:i,visible:a,onVisibleChange:o,rootClassName:s,maskClassName:c,mask:l,forceRender:u,destroyOnClose:d,toolbarRender:f,...p}=t,m;n?m=n:o&&(m=(e,t)=>{let{current:n}=t||{};n===void 0?o(e,!e):o(e,!e,n)});let[h,g]=oW(l);return[{...p,open:e??a,onOpenChange:m,cover:r??h,mask:g,actionsRender:i??f},s,c]},[t])}var cW=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z`}},{tag:`path`,attrs:{d:`M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z`}}]},name:`rotate-left`,theme:`outlined`}}))());function lW(){return lW=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,lW({},e,{ref:t,icon:cW.default}))),dW=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z`}},{tag:`path`,attrs:{d:`M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z`}}]},name:`rotate-right`,theme:`outlined`}}))());function fW(){return fW=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,fW({},e,{ref:t,icon:dW.default}))),mW=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`swap`,theme:`outlined`}}))());function hW(){return hW=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,hW({},e,{ref:t,icon:mW.default}))),_W=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z`}}]},name:`zoom-in`,theme:`outlined`}}))());function vW(){return vW=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,vW({},e,{ref:t,icon:_W.default}))),bW=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z`}}]},name:`zoom-out`,theme:`outlined`}}))());function xW(){return xW=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,xW({},e,{ref:t,icon:bW.default}))),CW=e=>({position:e||`absolute`,inset:0}),wW=e=>{let{componentCls:t,motionDurationSlow:n,colorTextLightSolid:r}=e;return{[t]:{[`${t}-cover`]:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,color:r,background:new Nc(`#000`).setA(.3).toRgbString(),cursor:`pointer`,opacity:0,transition:`opacity ${n}`},"&:hover, &:focus-visible":{[`${t}-cover`]:{opacity:1}},[`${t}-cover-top`]:{inset:`0 0 auto 0`,justifyContent:`center`},[`${t}-cover-bottom`]:{inset:`auto 0 0 0`,justifyContent:`center`}}}},TW=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:i,colorBgMask:a,marginXL:o,marginSM:s,margin:c,colorTextLightSolid:l,paddingSM:u,paddingLG:d,previewOperationHoverColor:f,previewOperationColorDisabled:p,previewOperationSize:m,zIndexPopup:h}=e,g=new Nc(a).setA(.1),_=g.clone().setA(.2),v={position:`absolute`,color:l,backgroundColor:g.toRgbString(),borderRadius:`50%`,padding:u,outline:0,border:0,cursor:`pointer`,transition:`all ${r}`,display:`flex`,fontSize:m,"&:hover":{backgroundColor:_.toRgbString()},"&:active":{backgroundColor:g.toRgbString()},"&:focus-visible":Kl(e)};return{[`${i}-preview`]:{textAlign:`center`,inset:0,position:`fixed`,userSelect:`none`,zIndex:h,[`${n}-mask`]:{inset:0,position:`absolute`,background:a,backdropFilter:`blur(0px)`,transition:`backdrop-filter ${r}`,[`&${i}-preview-mask-blur`]:{backdropFilter:`blur(4px)`},[`&${i}-preview-mask-hidden`]:{display:`none`}},[`${n}-body`]:{...CW(),"pointer-events":`none`,display:`flex`,alignItems:`center`,justifyContent:`center`,"> *":{pointerEvents:`auto`}},[`${n}-img`]:{maxWidth:`100%`,maxHeight:`70%`,verticalAlign:`middle`,transform:`scale3d(1, 1, 1)`,transition:`transform ${r} ${t} 0s`},[`&-movable ${n}-img`]:{cursor:`grab`},[`&-moving ${n}-img`]:{cursor:`grabbing`},[`${n}-close`]:{...v,top:s,insetInlineEnd:s},[`${n}-switch`]:{...v,top:`50%`,transform:`translateY(-50%)`,"&-disabled":{"&, &:hover, &:active":{color:p,background:`transparent`,cursor:`not-allowed`}},"&-prev":{insetInlineStart:s},"&-next":{insetInlineEnd:s}},[`${n}-footer`]:{position:`absolute`,bottom:o,left:{_skip_check_:!0,value:`50%`},display:`flex`,flexDirection:`column`,alignItems:`center`,color:e.previewOperationColor,transform:`translateX(-50%)`,gap:c},[`${n}-actions`]:{display:`flex`,gap:u,padding:`0 ${Y(d)}`,backgroundColor:g.toRgbString(),borderRadius:100,fontSize:m,"&-action":{color:`inherit`,background:`transparent`,border:0,font:`inherit`,padding:u,cursor:`pointer`,transition:`all ${r}`,display:`flex`,[`&:not(${n}-actions-action-disabled):hover`]:{color:f},"&:focus-visible":Kl(e),"&-disabled":{color:p,cursor:`not-allowed`}}}}}},EW=e=>{let{componentCls:t}=e;return{[t]:{position:`relative`,display:`inline-block`,...ql(e),[`${t}-img`]:{width:`100%`,height:`auto`,verticalAlign:`middle`},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:`url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')`,backgroundRepeat:`no-repeat`,backgroundPosition:`center center`,backgroundSize:`30%`},[`${t}-placeholder`]:{...CW()}}}},DW=e=>{let{previewCls:t,motionDurationSlow:n}=e;return{[t]:{"&-fade":{transition:`opacity ${n}`,"&-enter, &-appear":{opacity:0,[`${t}-body`]:{transform:`scale(0)`},"&-active":{opacity:1,[`${t}-body`]:{transform:`scale(1)`,transition:`transform ${n}`}}},"&-leave":{opacity:1,"&-active":{opacity:0,[`${t}-body`]:{transform:`scale(0)`,transition:`transform ${n}`}}}}}}},OW=Ql(`Image`,e=>{let t=dc(e,{previewCls:`${e.componentCls}-preview`,imagePreviewSwitchSize:e.controlHeightLG});return[EW(t),wW(t),TW(t),DW(t)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new Nc(e.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Nc(e.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Nc(e.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5})),kW={rotateLeft:S.createElement(uW,null),rotateRight:S.createElement(pW,null),zoomIn:S.createElement(yW,null),zoomOut:S.createElement(SW,null),close:S.createElement(ju,null),left:S.createElement(Xw,null),right:S.createElement(Vg,null),flipX:S.createElement(gW,null),flipY:S.createElement(gW,{rotate:90})},AW=({previewPrefixCls:e,preview:t,classNames:n,styles:r,...i})=>{let{getPrefixCls:a,getPopupContainer:o,direction:s,preview:c,classNames:l,styles:u}=ya(`image`),d=a(`image`,e),f=`${d}-preview`,p=sp(d),[m,h]=OW(d,p),g=J(m,h,p),[_,v,y]=sW(t),[b,x,C]=sW(c),w=S.useMemo(()=>({...kW,left:s===`rtl`?S.createElement(Vg,null):S.createElement(Xw,null),right:s===`rtl`?S.createElement(Xw,null):S.createElement(Vg,null)}),[s]),T=aW(_,b,d,g,o,kW),{mask:E,blurClassName:D}=T??{},O={...i,classNames:n,styles:r},[k,A]=Cf([l,n,{cover:J(C,y),popup:{root:J(x,v),mask:J({[`${d}-preview-mask-hidden`]:!E},D)}}],[u,r],{props:O},{popup:{_default:`root`}});return S.createElement(iW.PreviewGroup,{preview:T,previewPrefixCls:f,icons:w,...i,classNames:k,styles:A})},jW=e=>{let{prefixCls:t,preview:n,className:r,rootClassName:i,style:a,styles:o,classNames:s,wrapperStyle:c,fallback:l,...u}=e,{getPrefixCls:d,getPopupContainer:f,className:p,style:m,preview:h,styles:g,classNames:_,fallback:v}=ya(`image`),y=d(`image`,t),b=sp(y),[x,C]=OW(y,b),w=J(i,x,C,b),T=J(r,x,p),[E,D,O]=sW(n),[k,A,j]=sW(h),M=aW(E,k,y,w,f,kW,!0),N={...e,preview:M},P=S.useMemo(()=>({cover:J(j,O),popup:{root:J(A,D)}}),[D,O,A,j]),{mask:F,blurClassName:I}=M??{},L=S.useMemo(()=>({mask:J({[`${y}-preview-mask-hidden`]:!F},I)}),[F,y,I]),[R,z]=Cf(S.useMemo(()=>[_,s,P,{popup:L}],[_,s,P,L]),[g,{root:c},o],{props:N},{popup:{_default:`root`}}),B={...m,...a},V=l??v;return S.createElement(iW,{prefixCls:y,preview:M||!1,rootClassName:w,className:T,style:B,fallback:V,...u,classNames:R,styles:z})};jW.PreviewGroup=AW;var MW=e=>{let{getPrefixCls:t,direction:n}=(0,S.useContext)(ga),{prefixCls:r,className:i}=e,a=t(`input-group`,r),[o,s]=OL(t(`input`)),c=J(a,s,{[`${a}-lg`]:e.size===`large`,[`${a}-sm`]:e.size===`small`,[`${a}-compact`]:e.compact,[`${a}-rtl`]:n===`rtl`},o,i),l=(0,S.useContext)(Dy),u=(0,S.useMemo)(()=>({...l,isFormItemInput:!1}),[l]);return S.createElement(Dy.Provider,{value:u},S.createElement(LH.Compact,{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children))},NW=e=>{let{componentCls:t,paddingXS:n}=e;return{[t]:{display:`inline-flex`,alignItems:`center`,flexWrap:`nowrap`,columnGap:n,[`${t}-input-wrapper`]:{position:`relative`,[`${t}-mask-icon`]:{position:`absolute`,zIndex:`1`,top:`50%`,right:`50%`,transform:`translate(50%, -50%)`,pointerEvents:`none`},[`${t}-mask-input`]:{color:`transparent`,caretColor:e.colorText,"&::selection":{color:`transparent`}},[`${t}-mask-input[type=number]::-webkit-inner-spin-button`]:{"-webkit-appearance":`none`,margin:0},[`${t}-mask-input[type=number]`]:{"-moz-appearance":`textfield`}},"&-rtl":{direction:`rtl`},[`${t}-input`]:{textAlign:`center`,paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},PW=Ql([`Input`,`OTP`],e=>NW(dc(e,cL(e))),lL),FW=S.forwardRef((e,t)=>{let{className:n,value:r,onChange:i,onActiveChange:a,index:o,mask:s,onFocus:c,...l}=e,{getPrefixCls:u}=S.useContext(ga),d=u(`otp`),f=typeof s==`string`?s:r,p=S.useRef(null);S.useImperativeHandle(t,()=>p.current);let m=e=>{i(o,e.target.value)},h=()=>{Oi(()=>{let e=p.current?.input;document.activeElement===e&&e&&e.select()})},g=e=>{c?.(e),h()},_=e=>{let{key:t,ctrlKey:n,metaKey:i}=e;t===`ArrowLeft`?a(o-1):t===`ArrowRight`?a(o+1):t===`z`&&(n||i)?e.preventDefault():t===`Backspace`&&!r&&a(o-1),h()};return S.createElement(`span`,{className:`${d}-input-wrapper`,role:`presentation`},s&&r!==``&&r!==void 0&&S.createElement(`span`,{className:`${d}-mask-icon`,"aria-hidden":`true`},f),S.createElement(RB,{"aria-label":`OTP Input ${o+1}`,type:s===!0?`password`:`text`,...l,ref:p,value:r,onInput:m,onFocus:g,onKeyDown:_,onMouseDown:h,onMouseUp:h,className:J(n,{[`${d}-mask-input`]:s})}))});function IW(e){return(e||``).split(``)}var LW=e=>{let{index:t,prefixCls:n,separator:r,className:i,style:a}=e,o=typeof r==`function`?r(t):r;return o?S.createElement(`span`,{className:J(`${n}-separator`,i),style:a},o):null},RW=S.forwardRef((e,t)=>{let{prefixCls:n,length:r=6,size:i,defaultValue:a,value:o,onChange:s,formatter:c,separator:l,variant:u,disabled:d,status:f,autoFocus:p,mask:m,type:h,autoComplete:g,onInput:_,onFocus:v,inputMode:y,classNames:b,styles:x,className:C,style:w,...T}=e,{classNames:E,styles:D,getPrefixCls:O,direction:k,style:A,className:j}=ya(`otp`),M=O(`otp`,n),N={...e,length:r},[P,F]=Cf([E,b],[D,x],{props:N}),I=xi(T,{aria:!0,data:!0,attr:!0}),[L,R]=PW(M),z=Oh(e=>i??e),B=S.useContext(Dy),V=lC(B.status,f),H=S.useMemo(()=>({...B,status:V,hasFeedback:!1,feedbackIcon:null}),[B,V]),U=S.useRef(null),W=S.useRef({});S.useImperativeHandle(t,()=>({focus:()=>{W.current[0]?.focus()},blur:()=>{for(let e=0;ec?c(e):e,[te,ne]=S.useState(()=>IW(ee(a||``)));S.useEffect(()=>{o!==void 0&&ne(IW(o))},[o]);let re=zn(e=>{ne(e),_&&_(e),s&&e.length===r&&e.every(e=>e)&&e.some((e,t)=>te[t]!==e)&&s(e.join(``))}),G=zn((e,t)=>{let n=pa(te);for(let t=0;t=0&&!n[e];--e)n.pop();return n=IW(ee(n.map(e=>e||` `).join(``))).map((e,t)=>e===` `&&!n[t]?n[t]:e),n}),ie=(e,t)=>{let n=G(e,t),i=Math.min(e+t.length,r-1);i!==e&&n[e]!==void 0&&W.current[i]?.focus(),re(n)},K=e=>{W.current[e]?.focus()},ae=(e,t)=>{for(let e=0;e{let n=`otp-${t}`,i=te[t]||``;return S.createElement(S.Fragment,{key:n},S.createElement(FW,{ref:e=>{W.current[t]=e},index:t,size:z,htmlSize:1,className:J(P.input,`${M}-input`),style:F.input,onChange:ie,value:i,onActiveChange:K,autoFocus:t===0&&p,onFocus:e=>ae(e,t),...q}),t{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z`}},{tag:`path`,attrs:{d:`M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z`}}]},name:`eye-invisible`,theme:`outlined`}}))());function BW(){return BW=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,BW({},e,{ref:t,icon:zW.default}))),HW=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z`}}]},name:`eye`,theme:`outlined`}}))());function UW(){return UW=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,UW({},e,{ref:t,icon:HW.default}))),GW=e=>e?S.createElement(WW,null):S.createElement(VW,null),KW={click:`onClick`,hover:`onMouseOver`},qW=S.forwardRef((e,t)=>{let{disabled:n,action:r=`click`,visibilityToggle:i=!0,iconRender:a=GW,suffix:o}=e,s=S.useContext(hm),c=n??s,l=nf(i)&&i.visible!==void 0,[u,d]=(0,S.useState)(()=>l?i.visible:!1),f=(0,S.useRef)(null);S.useEffect(()=>{l&&d(i.visible)},[l,i]);let p=IB(f),m=()=>{if(c)return;u&&p();let e=!u;d(e),nf(i)&&i.onVisibleChange?.(e)},h=e=>{let t=KW[r]||``,n=a(u),i={[t]:m,className:`${e}-icon`,key:`passwordIcon`,onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return S.cloneElement(S.isValidElement(n)?n:S.createElement(`span`,null,n),i)},{className:g,prefixCls:_,inputPrefixCls:v,size:y,...b}=e,{getPrefixCls:x}=S.useContext(ga),C=x(`input`,v),w=x(`input-password`,_),T=i&&h(w),E=J(w,g,{[`${w}-${y}`]:!!y}),D={...gi(b,[`suffix`,`iconRender`,`visibilityToggle`]),type:u?`text`:`password`,className:E,prefixCls:C,suffix:S.createElement(S.Fragment,null,T,o)};return y&&(D.size=y),S.createElement(RB,{ref:cr(t,f),...D})}),JW=Ql([`Input`,`Search`],e=>{let{componentCls:t}=e,n=`${t}-btn`;return{[t]:{width:`100%`,[n]:{"&-filled":{background:e.colorFillTertiary,"&:not(:disabled)":{"&:hover":{background:e.colorFillSecondary},"&:active":{background:e.colorFill}}}}}}}),YW=S.forwardRef((e,t)=>{let{prefixCls:n,inputPrefixCls:r,className:i,size:a,style:o,enterButton:s=!1,addonAfter:c,loading:l,disabled:u,onSearch:d,onChange:f,onCompositionStart:p,onCompositionEnd:m,variant:h,onPressEnter:g,classNames:_,styles:v,hidden:y,...b}=e,{direction:x,getPrefixCls:C,classNames:w,styles:T}=ya(`inputSearch`),E={...e,enterButton:s},[D,O]=Cf([w,_],[T,v],{props:E},{button:{_default:`root`}}),k=S.useRef(!1),A=C(`input-search`,n),j=C(`input`,r),[M,N]=JW(A),{compactSize:P}=Ah(A,x),F=Oh(e=>a??P??e),I=S.useRef(null),L=e=>{e?.target&&e.type===`click`&&d&&d(e.target.value,e,{source:`clear`}),f?.(e)},R=e=>{document.activeElement===I.current?.input&&e.preventDefault()},z=e=>{d&&d(I.current?.input?.value,e,{source:`input`})},B=e=>{k.current||l||(g?.(e),z(e))},V=typeof s==`boolean`?S.createElement(VC,null):null,H=`${A}-btn`,U=J(H,{[`${H}-${h}`]:h}),W,ee=s||{},te=ee.type&&ee.type.__ANT_BUTTON===!0;W=te||ee.type===`button`?um(ee,{onMouseDown:R,onClick:e=>{ee?.props?.onClick?.(e),z(e)},key:`enterButton`,...te?{className:U,size:F}:{}}):S.createElement(__,{classNames:D.button,styles:O.button,className:U,color:s?`primary`:`default`,size:F,disabled:u,key:`enterButton`,onMouseDown:R,onClick:z,loading:l,icon:V,variant:h===`borderless`||h===`filled`||h===`underlined`?`text`:s?`solid`:void 0},s),c&&(W=[W,um(c,{key:`addonAfter`})]);let ne=J(A,N,{[`${A}-rtl`]:x===`rtl`,[`${A}-${F}`]:!!F,[`${A}-with-button`]:!!s},i,M,D.root),re=e=>{k.current=!0,p?.(e)},G=e=>{k.current=!1,m?.(e)},ie=xi(b,{data:!0}),K=gi({...b,classNames:gi(D,[`button`,`root`]),styles:gi(O,[`button`,`root`]),prefixCls:j,type:`search`,size:F,variant:h,onPressEnter:B,onCompositionStart:re,onCompositionEnd:G,onChange:L,disabled:u},Object.keys(ie));return S.createElement(Mh,{className:ne,style:{...o,...O.root},...ie,hidden:y},S.createElement(RB,{ref:cr(I,t),...K}),W)}),XW=` min-height:0 !important; max-height:none !important; height:0 !important; @@ -315,10 +315,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho top:0 !important; right:0 !important; pointer-events: none !important; -`,nG=[`letter-spacing`,`line-height`,`padding-top`,`padding-bottom`,`font-family`,`font-weight`,`font-size`,`font-variant`,`text-rendering`,`text-transform`,`width`,`text-indent`,`padding-left`,`padding-right`,`border-width`,`box-sizing`,`word-break`,`white-space`],rG={},iG;function aG(e,t=!1){let n=e.getAttribute(`id`)||e.getAttribute(`data-reactid`)||e.getAttribute(`name`);if(t&&rG[n])return rG[n];let r=window.getComputedStyle(e),i=r.getPropertyValue(`box-sizing`)||r.getPropertyValue(`-moz-box-sizing`)||r.getPropertyValue(`-webkit-box-sizing`),a=parseFloat(r.getPropertyValue(`padding-bottom`))+parseFloat(r.getPropertyValue(`padding-top`)),o=parseFloat(r.getPropertyValue(`border-bottom-width`))+parseFloat(r.getPropertyValue(`border-top-width`)),s={sizingStyle:nG.map(e=>`${e}:${r.getPropertyValue(e)}`).join(`;`),paddingSize:a,borderSize:o,boxSizing:i};return t&&n&&(rG[n]=s),s}function oG(e,t=!1,n=null,r=null){iG||(iG=document.createElement(`textarea`),iG.setAttribute(`tab-index`,`-1`),iG.setAttribute(`aria-hidden`,`true`),iG.setAttribute(`name`,`hiddenTextarea`),document.body.appendChild(iG)),e.getAttribute(`wrap`)?iG.setAttribute(`wrap`,e.getAttribute(`wrap`)):iG.removeAttribute(`wrap`);let{paddingSize:i,borderSize:a,boxSizing:o,sizingStyle:s}=aG(e,t);iG.setAttribute(`style`,`${s};${tG}`),iG.value=e.value||e.placeholder||``;let c,l,u,d=iG.scrollHeight;if(o===`border-box`?d+=a:o===`content-box`&&(d-=i),n!==null||r!==null){iG.value=` `;let e=iG.scrollHeight-i;n!==null&&(c=e*n,o===`border-box`&&(c=c+i+a),d=Math.max(c,d)),r!==null&&(l=e*r,o===`border-box`&&(l=l+i+a),u=d>l?``:`hidden`,d=Math.min(l,d))}let f={height:d,overflowY:u,resize:`none`};return c&&(f.minHeight=c),l&&(f.maxHeight=l),f}function sG(){return sG=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,defaultValue:r,value:i,autoSize:a,onResize:o,className:s,style:c,disabled:l,onChange:u,onInternalAutoSize:d,...f}=e,[p,m]=Gn(r,i),h=p??``,g=e=>{m(e.target.value),u?.(e)},_=S.useRef();S.useImperativeHandle(t,()=>({textArea:_.current}));let[v,y]=S.useMemo(()=>a&&typeof a==`object`?[a.minRows,a.maxRows]:[],[a]),b=!!a,[x,C]=S.useState(uG),[w,T]=S.useState(),E=()=>{C(cG)};Hn(()=>{b&&E()},[i,v,y,b]),Hn(()=>{if(x===cG)C(lG);else if(x===lG){let e=oG(_.current,!1,v,y);C(uG),T(e)}},[x]);let D=S.useRef(),O=()=>{Oi.cancel(D.current)},k=e=>{x===uG&&(o?.(e),a&&(O(),D.current=Oi(()=>{E()})))};S.useEffect(()=>O,[]);let A=b?w:null,j={...c,...A};return(x===cG||x===lG)&&(j.overflowY=`hidden`,j.overflowX=`hidden`),S.createElement(oa,{onResize:k,disabled:!(a||o)},S.createElement(`textarea`,sG({},f,{ref:_,style:j,className:J(n,s,{[`${n}-disabled`]:l}),disabled:l,value:h,onChange:g})))});function fG(){return fG=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let[O,k]=Gn(e,t),A=O==null?``:String(O),[j,M]=S.useState(!1),N=S.useRef(!1),[P,F]=S.useState(null),I=(0,S.useRef)(null),L=(0,S.useRef)(null),R=()=>L.current?.textArea,z=()=>{R().focus()};(0,S.useImperativeHandle)(D,()=>({resizableTextArea:L.current,focus:z,blur:()=>{R().blur()},nativeElement:I.current?.nativeElement||R()})),(0,S.useEffect)(()=>{M(e=>!h&&e)},[h]);let[B,V]=S.useState(null);S.useEffect(()=>{B&&R().setSelectionRange(...B)},[B]);let H=LB(f,d),U=H.max??o,W=Number(U)>0,ee=H.strategy(A),te=!!U&&ee>U,ne=(e,t)=>{let n=t;!N.current&&H.exceedFormatter&&H.max&&H.strategy(t)>H.max&&(n=H.exceedFormatter(t,{max:H.max}),t!==n&&V([R().selectionStart||0,R().selectionEnd||0])),k(n),PB(e.currentTarget,e,i,n)},re=e=>{N.current=!0,s?.(e)},G=e=>{N.current=!1,ne(e,e.currentTarget.value),c?.(e)},ie=e=>{ne(e,e.target.value)},K=e=>{e.key===`Enter`&&x&&!e.nativeEvent.isComposing&&x(e),T?.(e)},ae=e=>{M(!0),n?.(e)},q=e=>{M(!1),r?.(e)},oe=e=>{k(``),z(),PB(R(),e,i)},se=l,ce;H.show&&(ce=H.showFormatter?H.showFormatter({value:A,count:ee,maxLength:U}):`${ee}${W?` / ${U}`:``}`,se=S.createElement(S.Fragment,null,se,S.createElement(`span`,{className:J(`${u}-data-count`,_?.count),style:v?.count},ce)));let le=e=>{y?.(e),R()?.style.height&&F(!0)},ue=!w&&!d&&!a;return S.createElement(IB,{ref:I,value:A,allowClear:a,handleReset:oe,suffix:se,prefixCls:u,classNames:{..._,affixWrapper:J(_?.affixWrapper,{[`${u}-show-count`]:d,[`${u}-textarea-allow-clear`]:a})},disabled:h,focused:j,className:J(p,te&&`${u}-out-of-range`),style:{...m,...P&&!ue?{height:`auto`}:{}},dataAttrs:{affixWrapper:{"data-count":typeof ce==`string`?ce:void 0}},hidden:g,readOnly:C,onClear:b},S.createElement(dG,fG({},E,{autoSize:w,maxLength:o,onKeyDown:K,onChange:ie,onFocus:ae,onBlur:q,onCompositionStart:re,onCompositionEnd:G,className:J(_?.textarea),style:{resize:m?.resize,...v?.textarea},disabled:h,prefixCls:u,onResize:le,ref:L,readOnly:C})))}),mG=e=>{let{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:`100%`,height:`auto`,minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:`bottom`,transition:`all ${e.motionDurationSlow}`,resize:`vertical`,[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:`auto`},[r]:{position:`relative`,"&-show-count":{[`${t}-data-count`]:{position:`absolute`,bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:`nowrap`,pointerEvents:`none`}},[` +`,ZW=[`letter-spacing`,`line-height`,`padding-top`,`padding-bottom`,`font-family`,`font-weight`,`font-size`,`font-variant`,`text-rendering`,`text-transform`,`width`,`text-indent`,`padding-left`,`padding-right`,`border-width`,`box-sizing`,`word-break`,`white-space`],QW={},$W;function eG(e,t=!1){let n=e.getAttribute(`id`)||e.getAttribute(`data-reactid`)||e.getAttribute(`name`);if(t&&QW[n])return QW[n];let r=window.getComputedStyle(e),i=r.getPropertyValue(`box-sizing`)||r.getPropertyValue(`-moz-box-sizing`)||r.getPropertyValue(`-webkit-box-sizing`),a=parseFloat(r.getPropertyValue(`padding-bottom`))+parseFloat(r.getPropertyValue(`padding-top`)),o=parseFloat(r.getPropertyValue(`border-bottom-width`))+parseFloat(r.getPropertyValue(`border-top-width`)),s={sizingStyle:ZW.map(e=>`${e}:${r.getPropertyValue(e)}`).join(`;`),paddingSize:a,borderSize:o,boxSizing:i};return t&&n&&(QW[n]=s),s}function tG(e,t=!1,n=null,r=null){$W||($W=document.createElement(`textarea`),$W.setAttribute(`tab-index`,`-1`),$W.setAttribute(`aria-hidden`,`true`),$W.setAttribute(`name`,`hiddenTextarea`),document.body.appendChild($W)),e.getAttribute(`wrap`)?$W.setAttribute(`wrap`,e.getAttribute(`wrap`)):$W.removeAttribute(`wrap`);let{paddingSize:i,borderSize:a,boxSizing:o,sizingStyle:s}=eG(e,t);$W.setAttribute(`style`,`${s};${XW}`),$W.value=e.value||e.placeholder||``;let c,l,u,d=$W.scrollHeight;if(o===`border-box`?d+=a:o===`content-box`&&(d-=i),n!==null||r!==null){$W.value=` `;let e=$W.scrollHeight-i;n!==null&&(c=e*n,o===`border-box`&&(c=c+i+a),d=Math.max(c,d)),r!==null&&(l=e*r,o===`border-box`&&(l=l+i+a),u=d>l?``:`hidden`,d=Math.min(l,d))}let f={height:d,overflowY:u,resize:`none`};return c&&(f.minHeight=c),l&&(f.maxHeight=l),f}function nG(){return nG=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,defaultValue:r,value:i,autoSize:a,onResize:o,className:s,style:c,disabled:l,onChange:u,onInternalAutoSize:d,...f}=e,[p,m]=Gn(r,i),h=p??``,g=e=>{m(e.target.value),u?.(e)},_=S.useRef();S.useImperativeHandle(t,()=>({textArea:_.current}));let[v,y]=S.useMemo(()=>a&&typeof a==`object`?[a.minRows,a.maxRows]:[],[a]),b=!!a,[x,C]=S.useState(aG),[w,T]=S.useState(),E=()=>{C(rG)};Hn(()=>{b&&E()},[i,v,y,b]),Hn(()=>{if(x===rG)C(iG);else if(x===iG){let e=tG(_.current,!1,v,y);C(aG),T(e)}},[x]);let D=S.useRef(),O=()=>{Oi.cancel(D.current)},k=e=>{x===aG&&(o?.(e),a&&(O(),D.current=Oi(()=>{E()})))};S.useEffect(()=>O,[]);let A=b?w:null,j={...c,...A};return(x===rG||x===iG)&&(j.overflowY=`hidden`,j.overflowX=`hidden`),S.createElement(oa,{onResize:k,disabled:!(a||o)},S.createElement(`textarea`,nG({},f,{ref:_,style:j,className:J(n,s,{[`${n}-disabled`]:l}),disabled:l,value:h,onChange:g})))});function sG(){return sG=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let[O,k]=Gn(e,t),A=O==null?``:String(O),[j,M]=S.useState(!1),N=S.useRef(!1),[P,F]=S.useState(null),I=(0,S.useRef)(null),L=(0,S.useRef)(null),R=()=>L.current?.textArea,z=()=>{R().focus()};(0,S.useImperativeHandle)(D,()=>({resizableTextArea:L.current,focus:z,blur:()=>{R().blur()},nativeElement:I.current?.nativeElement||R()})),(0,S.useEffect)(()=>{M(e=>!h&&e)},[h]);let[B,V]=S.useState(null);S.useEffect(()=>{B&&R().setSelectionRange(...B)},[B]);let H=MB(f,d),U=H.max??o,W=Number(U)>0,ee=H.strategy(A),te=!!U&&ee>U,ne=(e,t)=>{let n=t;!N.current&&H.exceedFormatter&&H.max&&H.strategy(t)>H.max&&(n=H.exceedFormatter(t,{max:H.max}),t!==n&&V([R().selectionStart||0,R().selectionEnd||0])),k(n),kB(e.currentTarget,e,i,n)},re=e=>{N.current=!0,s?.(e)},G=e=>{N.current=!1,ne(e,e.currentTarget.value),c?.(e)},ie=e=>{ne(e,e.target.value)},K=e=>{e.key===`Enter`&&x&&!e.nativeEvent.isComposing&&x(e),T?.(e)},ae=e=>{M(!0),n?.(e)},q=e=>{M(!1),r?.(e)},oe=e=>{k(``),z(),kB(R(),e,i)},se=l,ce;H.show&&(ce=H.showFormatter?H.showFormatter({value:A,count:ee,maxLength:U}):`${ee}${W?` / ${U}`:``}`,se=S.createElement(S.Fragment,null,se,S.createElement(`span`,{className:J(`${u}-data-count`,_?.count),style:v?.count},ce)));let le=e=>{y?.(e),R()?.style.height&&F(!0)},ue=!w&&!d&&!a;return S.createElement(jB,{ref:I,value:A,allowClear:a,handleReset:oe,suffix:se,prefixCls:u,classNames:{..._,affixWrapper:J(_?.affixWrapper,{[`${u}-show-count`]:d,[`${u}-textarea-allow-clear`]:a})},disabled:h,focused:j,className:J(p,te&&`${u}-out-of-range`),style:{...m,...P&&!ue?{height:`auto`}:{}},dataAttrs:{affixWrapper:{"data-count":typeof ce==`string`?ce:void 0}},hidden:g,readOnly:C,onClear:b},S.createElement(oG,sG({},E,{autoSize:w,maxLength:o,onKeyDown:K,onChange:ie,onFocus:ae,onBlur:q,onCompositionStart:re,onCompositionEnd:G,className:J(_?.textarea),style:{resize:m?.resize,...v?.textarea},disabled:h,prefixCls:u,onResize:le,ref:L,readOnly:C})))}),lG=e=>{let{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:`100%`,height:`auto`,minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:`bottom`,transition:`all ${e.motionDurationSlow}`,resize:`vertical`,[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:`auto`},[r]:{position:`relative`,"&-show-count":{[`${t}-data-count`]:{position:`absolute`,bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:`nowrap`,pointerEvents:`none`}},[` &-allow-clear > ${t}, &-affix-wrapper${r}-has-feedback ${t} - `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:`inherit`,border:`none`,outline:`none`,background:`transparent`,minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:`none !important`}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:`absolute`,insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:`absolute`,top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:`inline-flex`,alignItems:`center`,margin:`auto`,pointerEvents:`none`}}},[`&-affix-wrapper${t}-affix-wrapper-rtl`]:{[`${t}-suffix`]:{[`${t}-data-count`]:{direction:`ltr`,insetInlineStart:0}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},hG=Ql([`Input`,`TextArea`],e=>mG(dc(e,ZI(e))),QI,{resetFont:!1}),gG=(0,S.forwardRef)((e,t)=>{let{prefixCls:n,bordered:r=!0,size:i,disabled:a,status:o,allowClear:s,classNames:c,rootClassName:l,className:u,style:d,styles:f,variant:p,showCount:m,onMouseDown:h,onResize:g,..._}=e,{getPrefixCls:v,direction:y,allowClear:b,autoComplete:x,className:C,style:w,classNames:T,styles:E}=ya(`textArea`),D=S.useContext(mm),O=a??D,{status:k,hasFeedback:A,feedbackIcon:j}=S.useContext(xy),M=xC(k,o),[N,P]=Cf([T,c],[E,f],{props:e}),F=S.useRef(null);S.useImperativeHandle(t,()=>({resizableTextArea:F.current?.resizableTextArea,focus:e=>{Nr(F.current?.resizableTextArea?.textArea,e)},blur:()=>F.current?.blur(),nativeElement:F.current?.nativeElement||null}));let I=v(`input`,n),L=sp(I),[R,z]=TL(I,l);hG(I,L);let{compactSize:B,compactItemClassnames:V}=Dh(I,y),H=wh(e=>i??B??e),[U,W]=AC(`textArea`,p,r),ee=BB(s??b),[te,ne]=S.useState(!1),[re,G]=S.useState(!1),ie=e=>{ne(!0),h?.(e);let t=()=>{ne(!1),document.removeEventListener(`mouseup`,t)};document.addEventListener(`mouseup`,t)},K=e=>{if(g?.(e),te&&typeof getComputedStyle==`function`){let e=F.current?.nativeElement?.querySelector(`textarea`);e&&getComputedStyle(e).resize===`both`&&G(!0)}};return S.createElement(pG,{autoComplete:x,..._,style:{...P.root,...w,...d},styles:P,disabled:O,allowClear:ee,className:J(z,L,u,l,V,C,N.root,{[`${I}-textarea-affix-wrapper-resize-dirty`]:re}),classNames:{...N,textarea:J({[`${I}-sm`]:H===`small`,[`${I}-lg`]:H===`large`},R,N.textarea,te&&`${I}-mouse-active`),variant:J({[`${I}-${U}`]:W},bC(I,M)),affixWrapper:J(`${I}-textarea-affix-wrapper`,{[`${I}-affix-wrapper-rtl`]:y===`rtl`,[`${I}-affix-wrapper-sm`]:H===`small`,[`${I}-affix-wrapper-lg`]:H===`large`,[`${I}-textarea-show-count`]:m||e.count?.show},R)},prefixCls:I,suffix:A&&S.createElement(`span`,{className:`${I}-textarea-suffix`},j),showCount:m,ref:F,onResize:K,onMouseDown:ie})}),_G=UB;_G.Group=LW,_G.Search=eG,_G.TextArea=gG,_G.Password=QW,_G.OTP=UW;function vG(e,t,n){return typeof n==`boolean`?n:e.length?!0:ki(t).some(e=>e.type===HE)}var yG=({suffixCls:e,tagName:t,displayName:n})=>n=>S.forwardRef((r,i)=>S.createElement(n,{ref:i,suffixCls:e,tagName:t,...r})),bG=S.forwardRef((e,t)=>{let{prefixCls:n,suffixCls:r,className:i,tagName:a,...o}=e,{getPrefixCls:s}=S.useContext(ga),c=s(`layout`,n),[l]=zE(c),u=r?`${c}-${r}`:c;return S.createElement(a,{className:J(n||u,i,l),ref:t,...o})}),xG=S.forwardRef((e,t)=>{let{direction:n}=S.useContext(ga),[r,i]=S.useState([]),{prefixCls:a,className:o,rootClassName:s,children:c,hasSider:l,tagName:u,style:d,...f}=e,p=gi(f,[`suffixCls`]),{getPrefixCls:m,className:h,style:g}=ya(`layout`),_=m(`layout`,a),v=vG(r,c,l),[y,b]=zE(_),x=J(_,{[`${_}-has-sider`]:v,[`${_}-rtl`]:n===`rtl`},h,o,s,y,b),C=S.useMemo(()=>({siderHook:{addSider:e=>{i(t=>[].concat(pa(t),[e]))},removeSider:e=>{i(t=>t.filter(t=>t!==e))}}}),[]);return S.createElement(IE.Provider,{value:C},S.createElement(u,{ref:t,className:x,style:{...g,...d},...p},c))}),SG=yG({tagName:`div`,displayName:`Layout`})(xG),CG=yG({suffixCls:`header`,tagName:`header`,displayName:`Header`})(bG),wG=yG({suffixCls:`footer`,tagName:`footer`,displayName:`Footer`})(bG),TG=yG({suffixCls:`content`,tagName:`main`,displayName:`Content`})(bG),EG=SG;EG.Header=CG,EG.Footer=wG,EG.Content=TG,EG.Sider=HE,EG._InternalSiderContext=VE;var DG=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z`}}]},name:`double-left`,theme:`outlined`}}))());function OG(){return OG=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,OG({},e,{ref:t,icon:DG.default}))),AG=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z`}}]},name:`double-right`,theme:`outlined`}}))());function jG(){return jG=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,jG({},e,{ref:t,icon:AG.default}))),NG={items_per_page:`条/页`,jump_to:`跳至`,jump_to_confirm:`确定`,page:`页`,prev_page:`上一页`,next_page:`下一页`,prev_5:`向前 5 页`,next_5:`向后 5 页`,prev_3:`向前 3 页`,next_3:`向后 3 页`,page_size:`页码`},PG=[10,20,50,100],FG=e=>{let{pageSizeOptions:t=PG,locale:n,changeSize:r,pageSize:i,goButton:a,quickGo:o,rootPrefixCls:s,disabled:c,buildOptionText:l,showSizeChanger:u,sizeChangerRender:d}=e,[f,p]=S.useState(``),m=S.useMemo(()=>!f||Number.isNaN(f)?void 0:Number(f),[f]),h=typeof l==`function`?l:e=>`${e} ${n.items_per_page}`,g=e=>{let t=e.target.value;/^\d*$/.test(t)&&p(t)},_=e=>{a||f===``||(p(``),!(e.relatedTarget&&(e.relatedTarget.className.includes(`${s}-item-link`)||e.relatedTarget.className.includes(`${s}-item`)))&&o?.(m))},v=e=>{f!==``&&(e.keyCode===Qr.ENTER||e.type===`click`)&&(p(``),o?.(m))},y=()=>t.some(e=>e.toString()===i.toString())?t:t.concat([i]).sort((e,t)=>(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))),b=`${s}-options`;if(!u&&!o)return null;let x=null,C=null,w=null;return u&&d&&(x=d({disabled:c,size:i,onSizeChange:e=>{r?.(Number(e))},"aria-label":n.page_size,className:`${b}-size-changer`,options:y().map(e=>({label:h(e),value:e}))})),o&&(a&&(w=typeof a==`boolean`?S.createElement(`button`,{type:`button`,onClick:v,onKeyUp:v,disabled:c,className:`${b}-quick-jumper-button`},n.jump_to_confirm):S.createElement(`span`,{onClick:v,onKeyUp:v},a)),C=S.createElement(`div`,{className:`${b}-quick-jumper`},n.jump_to,S.createElement(`input`,{disabled:c,type:`text`,value:f,onChange:g,onKeyUp:v,onBlur:_,"aria-label":n.page}),n.page,w)),S.createElement(`li`,{className:b},x,C)},IG=e=>{let{rootPrefixCls:t,page:n,active:r,className:i,style:a,showTitle:o,onClick:s,onKeyPress:c,itemRender:l}=e,u=`${t}-item`,d=J(u,`${u}-${n}`,{[`${u}-active`]:r,[`${u}-disabled`]:!n},i),f=()=>{s(n)},p=e=>{c(e,s,n)},m=l(n,`page`,S.createElement(`a`,{rel:`nofollow`},n));return m?S.createElement(`li`,{title:o?String(n):null,className:d,style:a,onClick:f,onKeyDown:p,tabIndex:0},m):null};function LG(){return LG=Object.assign?Object.assign.bind():function(e){for(var t=1;tn;function zG(){}function BG(e){let t=Number(e);return typeof t==`number`&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function VG(e,t,n){let r=e===void 0?t:e;return Math.floor((n-1)/r)+1}var HG=e=>{let{prefixCls:t=`rc-pagination`,selectPrefixCls:n=`rc-select`,className:r,classNames:i,styles:a,current:o,defaultCurrent:s=1,total:c=0,pageSize:l,defaultPageSize:u=10,onChange:d=zG,hideOnSinglePage:f,align:p,showPrevNextJumpers:m=!0,showQuickJumper:h,showLessItems:g,showTitle:_=!0,onShowSizeChange:v=zG,locale:y=NG,style:b,totalBoundaryShowSizeChanger:x=50,disabled:C,simple:w,showTotal:T,showSizeChanger:E=c>x,sizeChangerRender:D,pageSizeOptions:O,itemRender:k=RG,jumpPrevIcon:A,jumpNextIcon:j,prevIcon:M,nextIcon:N}=e,P=S.useRef(null),[F,I]=Gn(u,l),[L,R]=Gn(s,o),z=Math.max(1,Math.min(L,VG(void 0,F,c))),[B,V]=S.useState(z);(0,S.useEffect)(()=>{V(z)},[z]),`current`in e;let H=Math.max(1,z-(g?3:5)),U=Math.min(VG(void 0,F,c),z+(g?3:5));function W(n,r){let i=n||S.createElement(`button`,{type:`button`,"aria-label":r,className:`${t}-item-link`});return typeof n==`function`&&(i=S.createElement(n,e)),i}function ee(e){let t=e.target.value,n=VG(void 0,F,c),r;return r=t===``?t:Number.isNaN(Number(t))?B:t>=n?n:Number(t),r}function te(e){return BG(e)&&e!==z&&BG(c)&&c>0}let ne=c>F?h:!1;function re(e){(e.keyCode===Qr.UP||e.keyCode===Qr.DOWN)&&e.preventDefault()}function G(e){let t=ee(e);switch(t!==B&&V(t),e.keyCode){case Qr.ENTER:ae(t);break;case Qr.UP:ae(t-1);break;case Qr.DOWN:ae(t+1);break;default:break}}function ie(e){ae(ee(e))}function K(e){let t=VG(e,F,c),n=z>t&&t!==0?t:z;I(e),V(n),v?.(z,e),R(n),d?.(n,e)}function ae(e){if(te(e)&&!C){let t=VG(void 0,F,c),n=e;return e>t?n=t:e<1&&(n=1),n!==B&&V(n),R(n),d?.(n,F),n}return z}let q=z>1,oe=zc?c:z*F])),Se=null,Ce=VG(void 0,F,c);if(f&&c<=F)return null;let we=[],Te={rootPrefixCls:t,onClick:ae,onKeyPress:de,showTitle:_,itemRender:k,page:-1,className:i?.item,style:a?.item},Ee=z-1>0?z-1:0,De=z+1=Me*2&&z!==3&&(we[0]=S.cloneElement(we[0],{className:J(`${t}-item-after-jump-prev`,we[0].props.className)}),we.unshift(ye)),Ce-z>=Me*2&&z!==Ce-2){let e=we[we.length-1];we[we.length-1]=S.cloneElement(e,{className:J(`${t}-item-before-jump-next`,e.props.className)}),we.push(Se)}a!==1&&we.unshift(S.createElement(IG,LG({},Te,{key:1,page:1}))),o!==Ce&&we.push(S.createElement(IG,LG({},Te,{key:Ce,page:Ce})))}let Ne=ge(Ee);if(Ne){let e=!q||!Ce;Ne=S.createElement(`li`,{title:_?y.prev_page:null,onClick:se,tabIndex:e?null:0,onKeyDown:fe,className:J(`${t}-prev`,i?.item,{[`${t}-disabled`]:e}),style:a?.item,"aria-disabled":e},Ne)}let Pe=_e(De);if(Pe){let e,n;w?(e=!oe,n=q?0:null):(e=!oe||!Ce,n=e?null:0),Pe=S.createElement(`li`,{title:_?y.next_page:null,onClick:ce,tabIndex:n,onKeyDown:pe,className:J(`${t}-next`,i?.item,{[`${t}-disabled`]:e}),style:a?.item,"aria-disabled":e},Pe)}let Fe=J(t,r,{[`${t}-start`]:p===`start`,[`${t}-center`]:p===`center`,[`${t}-end`]:p===`end`,[`${t}-simple`]:w,[`${t}-disabled`]:C});return S.createElement(`ul`,LG({className:Fe,style:b,ref:P},be),xe,Ne,w?je:we,Pe,S.createElement(FG,{locale:y,rootPrefixCls:t,disabled:C,selectPrefixCls:n,changeSize:K,pageSize:F,pageSizeOptions:O,quickGo:ne?ae:null,goButton:Ae,showSizeChanger:E,sizeChangerRender:D}))},UG=e=>{let{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:`not-allowed`,[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:`not-allowed`}},"&:focus-visible":{cursor:`not-allowed`,[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:`not-allowed`}}},[`&${t}-disabled`]:{cursor:`not-allowed`,[`${t}-item`]:{cursor:`not-allowed`,backgroundColor:`transparent`,"&:hover, &:active":{backgroundColor:`transparent`},a:{color:e.colorTextDisabled,backgroundColor:`transparent`,border:`none`,cursor:`not-allowed`},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:`not-allowed`,"&:hover, &:active":{backgroundColor:`transparent`},[`${t}-simple&`]:{backgroundColor:`transparent`,"&:hover, &:active":{backgroundColor:`transparent`}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}}}},WG=e=>{let{componentCls:t}=e;return{[`&${t}-small ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-quick-jumper":{input:{..._L(e),width:e.paginationMiniQuickJumperInputWidth}}}}},GG=e=>{let{componentCls:t}=e;return{[`&${t}-large ${t}-options`]:{"&-quick-jumper":{input:{...gL(e)}}}}},KG=e=>{let{componentCls:t,antCls:n}=e,[,r]=tu(n,`pagination`);return{[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{height:r(`item-size-actual`),lineHeight:r(`item-size-actual`),verticalAlign:`top`,[`${t}-item-link`]:{height:r(`item-size-actual`),backgroundColor:`transparent`,border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:r(`item-size-actual`),lineHeight:r(`item-size-actual`)}}},[`${t}-simple-pager`]:{display:`inline-flex`,alignItems:`center`,height:r(`item-size-actual`),marginInlineEnd:r(`item-spacing-actual`),input:{boxSizing:`border-box`,height:`100%`,width:e.quickJumperInputWidth,padding:`0 ${Y(e.paginationItemPaddingInline)}`,textAlign:`center`,backgroundColor:e.itemInputBg,border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:`none`,transition:`border-color ${e.motionDurationMid}`,color:`inherit`,"&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${Y(e.inputOutlineOffset)} 0 ${Y(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:`not-allowed`}}},[`&${t}-disabled`]:{[`${t}-prev, ${t}-next`]:{[`${t}-item-link`]:{"&:hover, &:active":{backgroundColor:`transparent`}}}},[`&${t}-small`]:{[`${t}-simple-pager`]:{input:{width:e.paginationMiniQuickJumperInputWidth}}}}}},qG=e=>{let{componentCls:t,antCls:n}=e,[,r]=tu(n,`pagination`);return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:`relative`,[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:`auto`}},[`${t}-item-ellipsis`]:{position:`absolute`,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:`block`,margin:`auto`,color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:`center`,textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` + `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:`inherit`,border:`none`,outline:`none`,background:`transparent`,minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:`none !important`}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:`absolute`,insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:`absolute`,top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:`inline-flex`,alignItems:`center`,margin:`auto`,pointerEvents:`none`}}},[`&-affix-wrapper${t}-affix-wrapper-rtl`]:{[`${t}-suffix`]:{[`${t}-data-count`]:{direction:`ltr`,insetInlineStart:0}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},uG=Ql([`Input`,`TextArea`],e=>lG(dc(e,cL(e))),lL,{resetFont:!1}),dG=(0,S.forwardRef)((e,t)=>{let{prefixCls:n,bordered:r=!0,size:i,disabled:a,status:o,allowClear:s,classNames:c,rootClassName:l,className:u,style:d,styles:f,variant:p,showCount:m,onMouseDown:h,onResize:g,..._}=e,{getPrefixCls:v,direction:y,allowClear:b,autoComplete:x,className:C,style:w,classNames:T,styles:E}=ya(`textArea`),D=S.useContext(hm),O=a??D,{status:k,hasFeedback:A,feedbackIcon:j}=S.useContext(Dy),M=lC(k,o),[N,P]=Cf([T,c],[E,f],{props:e}),F=S.useRef(null);S.useImperativeHandle(t,()=>({resizableTextArea:F.current?.resizableTextArea,focus:e=>{Nr(F.current?.resizableTextArea?.textArea,e)},blur:()=>F.current?.blur(),nativeElement:F.current?.nativeElement||null}));let I=v(`input`,n),L=sp(I),[R,z]=DL(I,l);uG(I,L);let{compactSize:B,compactItemClassnames:V}=Ah(I,y),H=Oh(e=>i??B??e),[U,W]=vC(`textArea`,p,r),ee=FB(s??b),[te,ne]=S.useState(!1),[re,G]=S.useState(!1),ie=e=>{ne(!0),h?.(e);let t=()=>{ne(!1),document.removeEventListener(`mouseup`,t)};document.addEventListener(`mouseup`,t)},K=e=>{if(g?.(e),te&&typeof getComputedStyle==`function`){let e=F.current?.nativeElement?.querySelector(`textarea`);e&&getComputedStyle(e).resize===`both`&&G(!0)}};return S.createElement(cG,{autoComplete:x,..._,style:{...P.root,...w,...d},styles:P,disabled:O,allowClear:ee,className:J(z,L,u,l,V,C,N.root,{[`${I}-textarea-affix-wrapper-resize-dirty`]:re}),classNames:{...N,textarea:J({[`${I}-sm`]:H===`small`,[`${I}-lg`]:H===`large`},R,N.textarea,te&&`${I}-mouse-active`),variant:J({[`${I}-${U}`]:W},cC(I,M)),affixWrapper:J(`${I}-textarea-affix-wrapper`,{[`${I}-affix-wrapper-rtl`]:y===`rtl`,[`${I}-affix-wrapper-sm`]:H===`small`,[`${I}-affix-wrapper-lg`]:H===`large`,[`${I}-textarea-show-count`]:m||e.count?.show},R)},prefixCls:I,suffix:A&&S.createElement(`span`,{className:`${I}-textarea-suffix`},j),showCount:m,ref:F,onResize:K,onMouseDown:ie})}),fG=RB;fG.Group=MW,fG.Search=YW,fG.TextArea=dG,fG.Password=qW,fG.OTP=RW;function pG(e,t,n){return typeof n==`boolean`?n:e.length?!0:ki(t).some(e=>e.type===pE)}var mG=({suffixCls:e,tagName:t,displayName:n})=>n=>S.forwardRef((r,i)=>S.createElement(n,{ref:i,suffixCls:e,tagName:t,...r})),hG=S.forwardRef((e,t)=>{let{prefixCls:n,suffixCls:r,className:i,tagName:a,...o}=e,{getPrefixCls:s}=S.useContext(ga),c=s(`layout`,n),[l]=sE(c),u=r?`${c}-${r}`:c;return S.createElement(a,{className:J(n||u,i,l),ref:t,...o})}),gG=S.forwardRef((e,t)=>{let{direction:n}=S.useContext(ga),[r,i]=S.useState([]),{prefixCls:a,className:o,rootClassName:s,children:c,hasSider:l,tagName:u,style:d,...f}=e,p=gi(f,[`suffixCls`]),{getPrefixCls:m,className:h,style:g}=ya(`layout`),_=m(`layout`,a),v=pG(r,c,l),[y,b]=sE(_),x=J(_,{[`${_}-has-sider`]:v,[`${_}-rtl`]:n===`rtl`},h,o,s,y,b),C=S.useMemo(()=>({siderHook:{addSider:e=>{i(t=>[].concat(pa(t),[e]))},removeSider:e=>{i(t=>t.filter(t=>t!==e))}}}),[]);return S.createElement(rE.Provider,{value:C},S.createElement(u,{ref:t,className:x,style:{...g,...d},...p},c))}),_G=mG({tagName:`div`,displayName:`Layout`})(gG),vG=mG({suffixCls:`header`,tagName:`header`,displayName:`Header`})(hG),yG=mG({suffixCls:`footer`,tagName:`footer`,displayName:`Footer`})(hG),bG=mG({suffixCls:`content`,tagName:`main`,displayName:`Content`})(hG),xG=_G;xG.Header=vG,xG.Footer=yG,xG.Content=bG,xG.Sider=pE,xG._InternalSiderContext=dE;var SG=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z`}}]},name:`double-left`,theme:`outlined`}}))());function CG(){return CG=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,CG({},e,{ref:t,icon:SG.default}))),TG=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z`}}]},name:`double-right`,theme:`outlined`}}))());function EG(){return EG=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,EG({},e,{ref:t,icon:TG.default}))),OG={items_per_page:`条/页`,jump_to:`跳至`,jump_to_confirm:`确定`,page:`页`,prev_page:`上一页`,next_page:`下一页`,prev_5:`向前 5 页`,next_5:`向后 5 页`,prev_3:`向前 3 页`,next_3:`向后 3 页`,page_size:`页码`},kG=[10,20,50,100],AG=e=>{let{pageSizeOptions:t=kG,locale:n,changeSize:r,pageSize:i,goButton:a,quickGo:o,rootPrefixCls:s,disabled:c,buildOptionText:l,showSizeChanger:u,sizeChangerRender:d}=e,[f,p]=S.useState(``),m=S.useMemo(()=>!f||Number.isNaN(f)?void 0:Number(f),[f]),h=typeof l==`function`?l:e=>`${e} ${n.items_per_page}`,g=e=>{let t=e.target.value;/^\d*$/.test(t)&&p(t)},_=e=>{a||f===``||(p(``),!(e.relatedTarget&&(e.relatedTarget.className.includes(`${s}-item-link`)||e.relatedTarget.className.includes(`${s}-item`)))&&o?.(m))},v=e=>{f!==``&&(e.keyCode===Qr.ENTER||e.type===`click`)&&(p(``),o?.(m))},y=()=>t.some(e=>e.toString()===i.toString())?t:t.concat([i]).sort((e,t)=>(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))),b=`${s}-options`;if(!u&&!o)return null;let x=null,C=null,w=null;return u&&d&&(x=d({disabled:c,size:i,onSizeChange:e=>{r?.(Number(e))},"aria-label":n.page_size,className:`${b}-size-changer`,options:y().map(e=>({label:h(e),value:e}))})),o&&(a&&(w=typeof a==`boolean`?S.createElement(`button`,{type:`button`,onClick:v,onKeyUp:v,disabled:c,className:`${b}-quick-jumper-button`},n.jump_to_confirm):S.createElement(`span`,{onClick:v,onKeyUp:v},a)),C=S.createElement(`div`,{className:`${b}-quick-jumper`},n.jump_to,S.createElement(`input`,{disabled:c,type:`text`,value:f,onChange:g,onKeyUp:v,onBlur:_,"aria-label":n.page}),n.page,w)),S.createElement(`li`,{className:b},x,C)},jG=e=>{let{rootPrefixCls:t,page:n,active:r,className:i,style:a,showTitle:o,onClick:s,onKeyPress:c,itemRender:l}=e,u=`${t}-item`,d=J(u,`${u}-${n}`,{[`${u}-active`]:r,[`${u}-disabled`]:!n},i),f=()=>{s(n)},p=e=>{c(e,s,n)},m=l(n,`page`,S.createElement(`a`,{rel:`nofollow`},n));return m?S.createElement(`li`,{title:o?String(n):null,className:d,style:a,onClick:f,onKeyDown:p,tabIndex:0},m):null};function MG(){return MG=Object.assign?Object.assign.bind():function(e){for(var t=1;tn;function PG(){}function FG(e){let t=Number(e);return typeof t==`number`&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function IG(e,t,n){let r=e===void 0?t:e;return Math.floor((n-1)/r)+1}var LG=e=>{let{prefixCls:t=`rc-pagination`,selectPrefixCls:n=`rc-select`,className:r,classNames:i,styles:a,current:o,defaultCurrent:s=1,total:c=0,pageSize:l,defaultPageSize:u=10,onChange:d=PG,hideOnSinglePage:f,align:p,showPrevNextJumpers:m=!0,showQuickJumper:h,showLessItems:g,showTitle:_=!0,onShowSizeChange:v=PG,locale:y=OG,style:b,totalBoundaryShowSizeChanger:x=50,disabled:C,simple:w,showTotal:T,showSizeChanger:E=c>x,sizeChangerRender:D,pageSizeOptions:O,itemRender:k=NG,jumpPrevIcon:A,jumpNextIcon:j,prevIcon:M,nextIcon:N}=e,P=S.useRef(null),[F,I]=Gn(u,l),[L,R]=Gn(s,o),z=Math.max(1,Math.min(L,IG(void 0,F,c))),[B,V]=S.useState(z);(0,S.useEffect)(()=>{V(z)},[z]),`current`in e;let H=Math.max(1,z-(g?3:5)),U=Math.min(IG(void 0,F,c),z+(g?3:5));function W(n,r){let i=n||S.createElement(`button`,{type:`button`,"aria-label":r,className:`${t}-item-link`});return typeof n==`function`&&(i=S.createElement(n,e)),i}function ee(e){let t=e.target.value,n=IG(void 0,F,c),r;return r=t===``?t:Number.isNaN(Number(t))?B:t>=n?n:Number(t),r}function te(e){return FG(e)&&e!==z&&FG(c)&&c>0}let ne=c>F?h:!1;function re(e){(e.keyCode===Qr.UP||e.keyCode===Qr.DOWN)&&e.preventDefault()}function G(e){let t=ee(e);switch(t!==B&&V(t),e.keyCode){case Qr.ENTER:ae(t);break;case Qr.UP:ae(t-1);break;case Qr.DOWN:ae(t+1);break;default:break}}function ie(e){ae(ee(e))}function K(e){let t=IG(e,F,c),n=z>t&&t!==0?t:z;I(e),V(n),v?.(z,e),R(n),d?.(n,e)}function ae(e){if(te(e)&&!C){let t=IG(void 0,F,c),n=e;return e>t?n=t:e<1&&(n=1),n!==B&&V(n),R(n),d?.(n,F),n}return z}let q=z>1,oe=zc?c:z*F])),Se=null,Ce=IG(void 0,F,c);if(f&&c<=F)return null;let we=[],Te={rootPrefixCls:t,onClick:ae,onKeyPress:de,showTitle:_,itemRender:k,page:-1,className:i?.item,style:a?.item},Ee=z-1>0?z-1:0,De=z+1=Me*2&&z!==3&&(we[0]=S.cloneElement(we[0],{className:J(`${t}-item-after-jump-prev`,we[0].props.className)}),we.unshift(ye)),Ce-z>=Me*2&&z!==Ce-2){let e=we[we.length-1];we[we.length-1]=S.cloneElement(e,{className:J(`${t}-item-before-jump-next`,e.props.className)}),we.push(Se)}a!==1&&we.unshift(S.createElement(jG,MG({},Te,{key:1,page:1}))),o!==Ce&&we.push(S.createElement(jG,MG({},Te,{key:Ce,page:Ce})))}let Ne=ge(Ee);if(Ne){let e=!q||!Ce;Ne=S.createElement(`li`,{title:_?y.prev_page:null,onClick:se,tabIndex:e?null:0,onKeyDown:fe,className:J(`${t}-prev`,i?.item,{[`${t}-disabled`]:e}),style:a?.item,"aria-disabled":e},Ne)}let Pe=_e(De);if(Pe){let e,n;w?(e=!oe,n=q?0:null):(e=!oe||!Ce,n=e?null:0),Pe=S.createElement(`li`,{title:_?y.next_page:null,onClick:ce,tabIndex:n,onKeyDown:pe,className:J(`${t}-next`,i?.item,{[`${t}-disabled`]:e}),style:a?.item,"aria-disabled":e},Pe)}let Fe=J(t,r,{[`${t}-start`]:p===`start`,[`${t}-center`]:p===`center`,[`${t}-end`]:p===`end`,[`${t}-simple`]:w,[`${t}-disabled`]:C});return S.createElement(`ul`,MG({className:Fe,style:b,ref:P},be),xe,Ne,w?je:we,Pe,S.createElement(AG,{locale:y,rootPrefixCls:t,disabled:C,selectPrefixCls:n,changeSize:K,pageSize:F,pageSizeOptions:O,quickGo:ne?ae:null,goButton:Ae,showSizeChanger:E,sizeChangerRender:D}))},RG=e=>{let{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:`not-allowed`,[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:`not-allowed`}},"&:focus-visible":{cursor:`not-allowed`,[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:`not-allowed`}}},[`&${t}-disabled`]:{cursor:`not-allowed`,[`${t}-item`]:{cursor:`not-allowed`,backgroundColor:`transparent`,"&:hover, &:active":{backgroundColor:`transparent`},a:{color:e.colorTextDisabled,backgroundColor:`transparent`,border:`none`,cursor:`not-allowed`},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:`not-allowed`,"&:hover, &:active":{backgroundColor:`transparent`},[`${t}-simple&`]:{backgroundColor:`transparent`,"&:hover, &:active":{backgroundColor:`transparent`}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}}}},zG=e=>{let{componentCls:t}=e;return{[`&${t}-small ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-quick-jumper":{input:{...TL(e),width:e.paginationMiniQuickJumperInputWidth}}}}},BG=e=>{let{componentCls:t}=e;return{[`&${t}-large ${t}-options`]:{"&-quick-jumper":{input:{...wL(e)}}}}},VG=e=>{let{componentCls:t,antCls:n}=e,[,r]=tu(n,`pagination`);return{[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{height:r(`item-size-actual`),lineHeight:r(`item-size-actual`),verticalAlign:`top`,[`${t}-item-link`]:{height:r(`item-size-actual`),backgroundColor:`transparent`,border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:r(`item-size-actual`),lineHeight:r(`item-size-actual`)}}},[`${t}-simple-pager`]:{display:`inline-flex`,alignItems:`center`,height:r(`item-size-actual`),marginInlineEnd:r(`item-spacing-actual`),input:{boxSizing:`border-box`,height:`100%`,width:e.quickJumperInputWidth,padding:`0 ${Y(e.paginationItemPaddingInline)}`,textAlign:`center`,backgroundColor:e.itemInputBg,border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:`none`,transition:`border-color ${e.motionDurationMid}`,color:`inherit`,"&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${Y(e.inputOutlineOffset)} 0 ${Y(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:`not-allowed`}}},[`&${t}-disabled`]:{[`${t}-prev, ${t}-next`]:{[`${t}-item-link`]:{"&:hover, &:active":{backgroundColor:`transparent`}}}},[`&${t}-small`]:{[`${t}-simple-pager`]:{input:{width:e.paginationMiniQuickJumperInputWidth}}}}}},HG=e=>{let{componentCls:t,antCls:n}=e,[,r]=tu(n,`pagination`);return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:`relative`,[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:`auto`}},[`${t}-item-ellipsis`]:{position:`absolute`,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:`block`,margin:`auto`,color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:`center`,textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` ${t}-prev, ${t}-jump-prev, ${t}-jump-next @@ -327,22 +327,22 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${t}-next, ${t}-jump-prev, ${t}-jump-next - `]:{display:`inline-block`,minWidth:r(`item-size-actual`),height:r(`item-size-actual`),color:e.colorText,fontFamily:e.fontFamily,lineHeight:r(`item-size-actual`),textAlign:`center`,verticalAlign:`middle`,listStyle:`none`,borderRadius:e.borderRadius,cursor:`pointer`,transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{outline:0,button:{color:e.colorText,cursor:`pointer`,userSelect:`none`},[`${t}-item-link`]:{display:`block`,width:`100%`,height:`100%`,padding:0,fontSize:e.fontSizeSM,textAlign:`center`,backgroundColor:`transparent`,border:`${Y(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:`none`,transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:`transparent`}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:`inline-block`,marginInlineStart:e.margin,verticalAlign:`middle`,"&-size-changer":{width:`auto`},"&-quick-jumper":{display:`inline-block`,height:r(`item-size-actual`),marginInlineStart:e.marginXS,lineHeight:r(`item-size-actual`),verticalAlign:`baseline`,input:{...vL(e),...tL(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow}),"&[disabled]":{...eL(e)},width:e.quickJumperInputWidth,height:r(`item-size-actual`),boxSizing:`border-box`,margin:0,marginInlineStart:r(`item-spacing-actual`),marginInlineEnd:r(`item-spacing-actual`)}}}}},JG=e=>{let{componentCls:t,antCls:n}=e,[,r]=tu(n,`pagination`);return{[`${t}-item`]:{display:`inline-block`,minWidth:r(`item-size-actual`),height:r(`item-size-actual`),marginInlineEnd:r(`item-spacing-actual`),fontFamily:e.fontFamily,lineHeight:Y(e.calc(r(`item-size-actual`)).sub(2).equal()),textAlign:`center`,verticalAlign:`middle`,listStyle:`none`,backgroundColor:e.itemBg,border:`${Y(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:`pointer`,userSelect:`none`,a:{display:`block`,padding:`0 ${Y(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:`none`}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.itemActiveColor},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.itemActiveColorHover}}}}},YG=e=>{let{componentCls:t,antCls:n}=e,[r,i]=tu(n,`pagination`);return{[t]:{[r(`item-size-actual`)]:Y(e.itemSize),[r(`item-spacing-actual`)]:Y(e.marginXS),"&-small":{[r(`item-size-actual`)]:Y(e.itemSizeSM),[r(`item-spacing-actual`)]:Y(e.marginXXS)},"&-large":{[r(`item-size-actual`)]:Y(e.itemSizeLG),[r(`item-spacing-actual`)]:Y(e.marginSM)},...Ul(e),display:`flex`,alignItems:`center`,"&-start":{justifyContent:`start`},"&-center":{justifyContent:`center`},"&-end":{justifyContent:`end`},"ul, ol":{margin:0,padding:0,listStyle:`none`},"&::after":{display:`block`,clear:`both`,height:0,overflow:`hidden`,visibility:`hidden`,content:`""`},[`${t}-total-text`]:{display:`inline-block`,height:i(`item-size-actual`),marginInlineEnd:i(`item-spacing-actual`),lineHeight:Y(e.calc(i(`item-size-actual`)).sub(2).equal()),verticalAlign:`middle`},...JG(e),...qG(e),...KG(e),...WG(e),...GG(e),...UG(e),[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:`none`}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:`none`}}},[`&${e.componentCls}-rtl`]:{direction:`rtl`}}},XG=e=>{let{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:{...ql(e)},[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0},...Kl(e)}},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Kl(e)}}}},ZG=e=>({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemSizeLG:e.controlHeightLG,itemActiveBg:e.colorBgContainer,itemActiveColor:e.colorPrimary,itemActiveColorHover:e.colorPrimaryHover,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0,...QI(e)}),QG=e=>dc(e,{inputOutlineOffset:0,quickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.25).equal(),paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:`0.13em`},ZI(e)),$G=Ql(`Pagination`,e=>{let t=QG(e);return[YG(t),XG(t)]},ZG),eK=e=>{let{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},tK=eu([`Pagination`,`bordered`],e=>eK(QG(e)),ZG);function nK(e){return(0,S.useMemo)(()=>typeof e==`boolean`?[e,{}]:nf(e)?[!0,e]:[void 0,void 0],[e])}var rK=e=>{let{align:t,prefixCls:n,selectPrefixCls:r,className:i,rootClassName:a,style:o,size:s,locale:c,responsive:l,showSizeChanger:u,selectComponentClass:d,pageSizeOptions:f,styles:p,classNames:m,...h}=e,{xs:g}=fw(l),[,_]=Vl(),{getPrefixCls:v,direction:y,showSizeChanger:b,className:x,style:C,classNames:w,styles:T,totalBoundaryShowSizeChanger:E}=ya(`pagination`),D=v(`pagination`,n),[O,k]=$G(D),A=wh(s),j=A===`small`||!!(g&&!A&&l),M={...e,size:A},[N,P]=Cf([w,m],[T,p],{props:M}),[F]=Yd(`Pagination`,kd),I={...F,...c},[L,R]=nK(u),[z,B]=nK(b),V=L??z,H=R??B,U=d||iw,W=S.useMemo(()=>f?f.map(Number):void 0,[f]),ee=e=>{let{disabled:t,size:n,onSizeChange:r,"aria-label":i,className:a,options:o}=e,{className:s,onChange:c}=H||{},l=o.find(e=>String(e.value)===String(n))?.value;return S.createElement(U,{disabled:t,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:e=>e.parentNode,"aria-label":i,options:o,...H,value:l,onChange:(e,t)=>{r?.(e),c?.(e,t)},size:A,className:J(a,s)})},te=S.useMemo(()=>{let e=S.createElement(`span`,{className:`${D}-item-ellipsis`},`•••`);return{prevIcon:S.createElement(`button`,{className:`${D}-item-link`,type:`button`,tabIndex:-1},y===`rtl`?S.createElement(zg,null):S.createElement(cT,null)),nextIcon:S.createElement(`button`,{className:`${D}-item-link`,type:`button`,tabIndex:-1},y===`rtl`?S.createElement(cT,null):S.createElement(zg,null)),jumpPrevIcon:S.createElement(`a`,{className:`${D}-item-link`},S.createElement(`div`,{className:`${D}-item-container`},y===`rtl`?S.createElement(MG,{className:`${D}-item-link-icon`}):S.createElement(kG,{className:`${D}-item-link-icon`}),e)),jumpNextIcon:S.createElement(`a`,{className:`${D}-item-link`},S.createElement(`div`,{className:`${D}-item-container`},y===`rtl`?S.createElement(kG,{className:`${D}-item-link-icon`}):S.createElement(MG,{className:`${D}-item-link-icon`}),e))}},[y,D]),ne=v(`select`,r),re=J({[`${D}-${t}`]:!!t,[`${D}-${A}`]:A,[`${D}-mini`]:j,[`${D}-rtl`]:y===`rtl`,[`${D}-bordered`]:_.wireframe},x,i,a,N.root,O,k),G={...P.root,...C,...o};return S.createElement(S.Fragment,null,_.wireframe&&S.createElement(tK,{prefixCls:D}),S.createElement(HG,{...te,...h,styles:P,classNames:N,style:G,prefixCls:D,selectPrefixCls:ne,className:re,locale:I,pageSizeOptions:W,showSizeChanger:V,totalBoundaryShowSizeChanger:h.totalBoundaryShowSizeChanger??E,sizeChangerRender:ee}))},iK=100,aK=iK/5,oK=iK/2-aK/2,sK=oK*2*Math.PI,cK=50,lK=e=>{let{dotClassName:t,style:n,hasCircleCls:r}=e;return S.createElement(`circle`,{className:J(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:oK,cx:cK,cy:cK,strokeWidth:aK,style:n})},uK=({percent:e,prefixCls:t})=>{let n=`${t}-dot`,r=`${n}-holder`,i=`${r}-hidden`,[a,o]=S.useState(!1);Hn(()=>{e!==0&&o(!0)},[e!==0]);let s=Math.max(Math.min(e,100),0);if(!a)return null;let c={strokeDashoffset:`${sK/4}`,strokeDasharray:`${sK*s/100} ${sK*(100-s)/100}`};return S.createElement(`span`,{className:J(r,`${n}-progress`,{[i]:s<=0})},S.createElement(`svg`,{viewBox:`0 0 ${iK} ${iK}`,role:`progressbar`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":s},S.createElement(lK,{dotClassName:n,hasCircleCls:!0}),S.createElement(lK,{dotClassName:n,style:c})))};function dK(e){let{prefixCls:t,percent:n=0,className:r,style:i}=e,a=`${t}-dot`,o=`${a}-holder`,s=`${o}-hidden`;return S.createElement(S.Fragment,null,S.createElement(`span`,{className:J(o,r,n>0&&s),style:i},S.createElement(`span`,{className:J(a,`${t}-dot-spin`)},[1,2,3,4].map(e=>S.createElement(`i`,{className:`${t}-dot-item`,key:e})))),S.createElement(uK,{prefixCls:t,percent:n}))}function fK(e){let{prefixCls:t,indicator:n,percent:r,className:i,style:a}=e,o=`${t}-dot`;return n&&S.isValidElement(n)?lm(n,e=>({className:J(e.className,o,i),style:{...e.style,...a},percent:r})):S.createElement(dK,{prefixCls:t,percent:r,className:i,style:a})}var pK=new Ms(`antSpinMove`,{to:{opacity:1}}),mK=new Ms(`antRotate`,{to:{transform:`rotate(405deg)`}}),hK=e=>{let{componentCls:t}=e,n=`${t}-section`;return{[t]:{...Ul(e),position:`relative`,"&-rtl":{direction:`rtl`},[`&${n}, ${n}`]:{display:`flex`,alignItems:`center`,flexDirection:`column`,gap:e.paddingSM,color:e.colorPrimary},[`&${n}`]:{display:`inline-flex`},[n]:{position:`absolute`,top:`50%`,left:{_skip_check_:!0,value:`50%`},transform:`translate(-50%, -50%)`,zIndex:1},[`${t}-description`]:{fontSize:e.fontSize,lineHeight:1},[`${t}-container`]:{position:`relative`,transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:`absolute`,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:`100%`,height:`100%`,background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:`""`,pointerEvents:`none`}},"&-spinning":{[`${t}-description`]:{textShadow:`0 0px 5px ${e.colorBgContainer}`},[`${t}-container`]:{clear:`both`,opacity:.5,userSelect:`none`,pointerEvents:`none`,"&::after":{opacity:.4,pointerEvents:`auto`}}},"&-fullscreen":{position:`fixed`,inset:0,backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,opacity:0,pointerEvents:`none`,transition:`all ${e.motionDurationMid}`,[`&${t}-spinning`]:{opacity:1,pointerEvents:`auto`},[n]:{color:e.colorWhite,[`${t}-description`]:{color:e.colorTextLightSolid}}}}}},gK=e=>{let{componentCls:t,antCls:n,motionDurationSlow:r}=e,[i,a]=tu(n,`spin`);return{[t]:{[i(`dot-holder-size`)]:e.dotSize,[i(`dot-item-size`)]:`calc((${a(`dot-holder-size`)} - ${e.marginXXS} / 2) / 2)`,[`${t}-dot`]:{"&-holder":{width:`1em`,height:`1em`,fontSize:a(`dot-holder-size`),display:`inline-block`,transition:[`transform`,`opacity`].map(e=>`${e} ${r} ease`).join(`, `),transformOrigin:`50% 50%`,lineHeight:1,"&-hidden":{transform:`scale(0.3)`,opacity:0}},position:`relative`,display:`inline-block`,fontSize:a(`dot-holder-size`),width:`1em`,height:`1em`,"&-spin":{transform:`rotate(45deg)`,animationName:mK,animationDuration:`1.2s`,animationIterationCount:`infinite`,animationTimingFunction:`linear`},"&-item":{position:`absolute`,display:`block`,width:a(`dot-item-size`),height:a(`dot-item-size`),background:`currentColor`,borderRadius:`100%`,transform:`scale(0.75)`,transformOrigin:`50% 50%`,opacity:.3,animationName:pK,animationDuration:`1s`,animationIterationCount:`infinite`,animationTimingFunction:`linear`,animationDirection:`alternate`,"&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:`0s`},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:`0.4s`},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:`0.8s`},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:`1.2s`}},"&-progress":{position:`absolute`,left:`50%`,top:0,transform:`translateX(-50%)`},"&-circle":{strokeLinecap:`round`,transition:[`stroke-dashoffset`,`stroke-dasharray`,`stroke`,`stroke-width`,`opacity`].map(e=>`${e} ${r} ease`).join(`,`),fillOpacity:0,stroke:`currentcolor`},"&-circle-bg":{stroke:e.colorFillSecondary}}}}},_K=e=>{let{componentCls:t}=e,[n]=tu(e.antCls,`spin`);return{[t]:{"&-sm":{[n(`dot-holder-size`)]:e.dotSizeSM},"&-lg":{[n(`dot-holder-size`)]:e.dotSizeLG}}}},vK=Ql(`Spin`,e=>{let t=dc(e,{spinDotDefault:e.colorTextDescription});return[hK(t),gK(t),_K(t)]},e=>{let{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}}),yK=200,bK=[[30,.05],[70,.03],[96,.01]];function xK(e,t){let[n,r]=S.useState(0),i=S.useRef(null),a=t===`auto`;return S.useEffect(()=>(a&&e&&(r(0),i.current=setInterval(()=>{r(e=>{let t=100-e;for(let n=0;n{i.current&&=(clearInterval(i.current),null)}),[a,e]),a?n:t}var SK;function CK(e,t){return!!e&&!!t&&!Number.isNaN(Number(t))}var wK=e=>{let{prefixCls:t,spinning:n=!0,delay:r=0,className:i,rootClassName:a,size:o,tip:s,description:c,wrapperClassName:l,style:u,children:d,fullscreen:f=!1,indicator:p,percent:m,classNames:h,styles:g,..._}=e,{getPrefixCls:v,direction:y,indicator:b,className:x,style:C,classNames:w,styles:T}=ya(`spin`),E=v(`spin`,t),[D,O]=vK(E),[k,A]=S.useState(()=>n&&!CK(n,r)),j=xK(k,m);S.useEffect(()=>{if(n){let e=kne(r,()=>{A(!0)});return e(),()=>{e?.cancel?.()}}A(!1)},[r,n]);let M=wh(e=>o??e),N=c??s,P={...e,size:M,spinning:k,tip:N,description:N,fullscreen:f,children:d,percent:j},[F,I]=Cf([w,h],[T,g],{props:P}),L=p??b??SK,R=d!==void 0,z=R||f,B=S.createElement(S.Fragment,null,S.createElement(fK,{className:J(F.indicator),style:I.indicator,prefixCls:E,indicator:L,percent:j}),N&&S.createElement(`div`,{className:J(`${E}-description`,F.tip,F.description),style:{...I.tip,...I.description}},N));return S.createElement(`div`,{className:J(E,{[`${E}-sm`]:M===`small`,[`${E}-lg`]:M===`large`,[`${E}-spinning`]:k,[`${E}-rtl`]:y===`rtl`,[`${E}-fullscreen`]:f},a,F.root,f&&F.mask,z?l:[`${E}-section`,F.section],x,i,D,O),style:{...I.root,...z?{}:I.section,...f?I.mask:{},...C,...u},"aria-live":`polite`,"aria-busy":k,..._},k&&(z?S.createElement(`div`,{className:J(`${E}-section`,F.section),style:I.section},B):B),R&&S.createElement(`div`,{className:J(`${E}-container`,F.container),style:I.container},d))};wK.setDefaultIndicator=e=>{SK=e};var TK=S.createContext({});TK.Consumer;var EK=({prefixCls:e,className:t,avatar:n,title:r,description:i,...a})=>{let{getPrefixCls:o}=(0,S.useContext)(ga),s=o(`list`,e),c=J(`${s}-item-meta`,t),l=S.createElement(`div`,{className:`${s}-item-meta-content`},r&&S.createElement(`h4`,{className:`${s}-item-meta-title`},r),i&&S.createElement(`div`,{className:`${s}-item-meta-description`},i));return S.createElement(`div`,{...a,className:c},n&&S.createElement(`div`,{className:`${s}-item-meta-avatar`},n),(r||i)&&l)},DK=S.forwardRef((e,t)=>{let{prefixCls:n,children:r,actions:i,extra:a,styles:o,className:s,classNames:c,colStyle:l,...u}=e,{grid:d,itemLayout:f}=(0,S.useContext)(TK),{getPrefixCls:p,list:m}=(0,S.useContext)(ga),h=e=>J(m?.item?.classNames?.[e],c?.[e]),g=e=>({...m?.item?.styles?.[e],...o?.[e]}),_=()=>{let e=ki(r);return e.some(e=>typeof e==`string`)&&e.length>1},v=()=>f===`vertical`?!!a:!_(),y=p(`list`,n),b=i&&i.length>0&&S.createElement(`ul`,{className:J(`${y}-item-action`,h(`actions`)),key:`actions`,style:g(`actions`)},i.map((e,t)=>S.createElement(`li`,{key:`${y}-item-action-${t}`},e,t!==i.length-1&&S.createElement(`em`,{className:`${y}-item-action-split`})))),x=d?`div`:`li`,C=S.createElement(x,{...u,...d?{}:{ref:t},className:J(`${y}-item`,{[`${y}-item-no-flex`]:!v()},s)},f===`vertical`&&a?[S.createElement(`div`,{className:`${y}-item-main`,key:`content`},r,b),S.createElement(`div`,{className:J(`${y}-item-extra`,h(`extra`)),key:`extra`,style:g(`extra`)},a)]:[r,b,lm(a,{key:`extra`})]);return d?S.createElement(zz,{ref:t,flex:1,style:l},C):C});DK.Meta=EK;var OK=e=>{let{listBorderedCls:t,componentCls:n,paddingLG:r,margin:i,itemPaddingSM:a,itemPaddingLG:o,marginLG:s,borderRadiusLG:c}=e,l=Y(e.calc(c).sub(e.lineWidth).equal());return{[t]:{border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${n}-header`]:{borderRadius:`${l} ${l} 0 0`},[`${n}-footer`]:{borderRadius:`0 0 ${l} ${l}`},[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${Y(i)} ${Y(s)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:a}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:o}}}},kK=e=>{let{componentCls:t,screenSM:n,screenMD:r,marginLG:i,marginSM:a,margin:o}=e;return{[`@media screen and (max-width:${r}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:i}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:`wrap`,[`${t}-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:`wrap-reverse`,[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${Y(o)}`}}}}}},AK=e=>{let{componentCls:t,antCls:n,controlHeight:r,minHeight:i,paddingSM:a,marginLG:o,padding:s,itemPadding:c,colorPrimary:l,itemPaddingSM:u,itemPaddingLG:d,paddingXS:f,margin:p,colorText:m,colorTextDescription:h,motionDurationSlow:g,lineWidth:_,headerBg:v,footerBg:y,emptyTextPadding:b,metaMarginBottom:x,avatarMarginRight:S,titleMarginBottom:C,descriptionFontSize:w}=e;return{[t]:{...Ul(e),position:`relative`,"--rc-virtual-list-scrollbar-bg":e.colorSplit,"*":{outline:`none`},[`${t}-header`]:{background:v},[`${t}-footer`]:{background:y},[`${t}-header, ${t}-footer`]:{paddingBlock:a},[`${t}-pagination`]:{marginBlockStart:o,[`${n}-pagination-options`]:{textAlign:`start`}},[`${t}-spin`]:{minHeight:i,textAlign:`center`},[`${t}-items`]:{margin:0,padding:0,listStyle:`none`},[`${t}-item`]:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:c,color:m,[`${t}-item-meta`]:{display:`flex`,flex:1,alignItems:`flex-start`,maxWidth:`100%`,[`${t}-item-meta-avatar`]:{marginInlineEnd:S},[`${t}-item-meta-content`]:{flex:`1 0`,width:0,color:m},[`${t}-item-meta-title`]:{margin:`0 0 ${Y(e.marginXXS)} 0`,color:m,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:m,transition:`all ${g}`,"&:hover":{color:l}}},[`${t}-item-meta-description`]:{color:h,fontSize:w,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:`0 0 auto`,marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:`none`,"& > li":{position:`relative`,display:`inline-block`,padding:`0 ${Y(f)}`,color:h,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:`center`,"&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:`absolute`,insetBlockStart:`50%`,insetInlineEnd:0,width:_,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:`translateY(-50%)`,backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${Y(s)} 0`,color:h,fontSize:e.fontSizeSM,textAlign:`center`},[`${t}-empty-text`]:{padding:b,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:`center`},[`${t}-item-no-flex`]:{display:`block`}},[`${t}-grid ${n}-col > ${t}-item`]:{display:`block`,maxWidth:`100%`,marginBlockEnd:p,paddingBlock:0,borderBlockEnd:`none`},[`${t}-vertical ${t}-item`]:{alignItems:`initial`,[`${t}-item-main`]:{display:`block`,flex:1},[`${t}-item-extra`]:{marginInlineStart:o},[`${t}-item-meta`]:{marginBlockEnd:x,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:C,color:m,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:`auto`,"> li":{padding:`0 ${Y(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:`none`}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:d},[`${t}-sm ${t}-item`]:{padding:u},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:`right`}}}}},jK=Ql(`List`,e=>{let t=dc(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[AK(t),OK(t),kK(t)]},e=>({contentWidth:220,itemPadding:`${Y(e.paddingContentVertical)} 0`,itemPaddingSM:`${Y(e.paddingContentVerticalSM)} ${Y(e.paddingContentHorizontal)}`,itemPaddingLG:`${Y(e.paddingContentVerticalLG)} ${Y(e.paddingContentHorizontalLG)}`,headerBg:`transparent`,footerBg:`transparent`,emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),{extraCssVarPrefixCls:({prefixCls:e})=>[`${e}-container`]}),MK=S.forwardRef((e,t)=>{let{pagination:n=!1,prefixCls:r,bordered:i=!1,split:a=!0,className:o,rootClassName:s,style:c,children:l,itemLayout:u,loadMore:d,grid:f,dataSource:p=[],size:m,header:h,footer:g,loading:_=!1,rowKey:v,renderItem:y,locale:b,...x}=e,C=nf(n)?n:{},[w,T]=S.useState(C.defaultCurrent||1),[E,D]=S.useState(C.defaultPageSize||10),{getPrefixCls:O,direction:k,className:A,style:j}=ya(`list`),{renderEmpty:M}=S.useContext(ga),N={current:1,total:0,position:`bottom`},P=e=>(t,r)=>{T(t),D(r),n&&n?.[e]?.(t,r)},F=P(`onChange`),I=P(`onShowSizeChange`),L=(e,t)=>{if(!y)return null;let n;return n=typeof v==`function`?v(e):v?e[v]:e.key,n||=`list-item-${t}`,S.createElement(S.Fragment,{key:n},y(e,t))},R=!!(d||n||g),z=O(`list`,r),[B,V]=jK(z),H=_;typeof H==`boolean`&&(H={spinning:H});let U=!!H?.spinning,W=wh(m),ee=``;switch(W){case`large`:ee=`lg`;break;case`small`:ee=`sm`;break;default:break}let te=J(z,{[`${z}-vertical`]:u===`vertical`,[`${z}-${ee}`]:ee,[`${z}-split`]:a,[`${z}-bordered`]:i,[`${z}-loading`]:U,[`${z}-grid`]:!!f,[`${z}-something-after-last-item`]:R,[`${z}-rtl`]:k===`rtl`},A,o,s,B,V),ne=`${z}-container`,re=Qd(N,{total:p.length,current:w,pageSize:E},n||{}),G=Math.ceil(re.total/re.pageSize);re.current=Math.min(re.current,G);let ie=n&&S.createElement(`div`,{className:J(`${z}-pagination`)},S.createElement(rK,{align:`end`,...re,onChange:F,onShowSizeChange:I})),K=pa(p);n&&p.length>(re.current-1)*re.pageSize&&(K=pa(p).splice((re.current-1)*re.pageSize,re.pageSize));let ae=fw(Object.keys(f||{}).some(e=>ow.includes(e))),q=S.useMemo(()=>{for(let e=0;e{if(!f)return;let e=q&&f[q]?f[q]:f.column;if(e)return{width:`${100/e}%`,maxWidth:`${100/e}%`}},[JSON.stringify(f),q]),se=U&&S.createElement(`div`,{style:{minHeight:53}});if(K.length>0){let e=K.map(L);se=f?S.createElement(Hz,{className:J(ne,V),gutter:f.gutter},S.Children.map(e,e=>S.createElement(`div`,{key:e?.key,style:oe},e))):S.createElement(`ul`,{className:J(`${z}-items`,ne,V)},e)}else !l&&!U&&(se=S.createElement(`div`,{className:`${z}-empty-text`},b?.emptyText||M?.(`List`)||S.createElement(kC,{componentName:`List`})));let ce=re.position,le=S.useMemo(()=>({grid:f,itemLayout:u}),[JSON.stringify(f),u]);return S.createElement(TK.Provider,{value:le},S.createElement(`div`,{ref:t,style:{...j,...c},className:te,...x},(ce===`top`||ce===`both`)&&ie,h&&S.createElement(`div`,{className:`${z}-header`},h),S.createElement(wK,{...H},se,l),g&&S.createElement(`div`,{className:`${z}-footer`},g),d||(ce===`bottom`||ce===`both`)&&ie))});MK.Item=DK;var NK=(e,t={})=>!$d(e)&&t?.skipEmpty?[]:Array.isArray(e)?e:[e],PK=null,FK=e=>e(),IK=[],LK={};function RK(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:i}=LK,a=e?.()||document.body;return{getContainer:()=>a,duration:t,rtl:n,maxCount:r,top:i}}var zK=S.forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:i}=(0,S.useContext)(ga),a=LK.prefixCls||i(`message`),o=(0,S.useContext)(mx),[s,c]=oh({...n,prefixCls:a,...o.message});return S.useImperativeHandle(t,()=>{let e={...s};return Object.keys(e).forEach(t=>{e[t]=(...e)=>(r(),s[t].apply(s,e))}),{instance:e,sync:r}}),c}),BK=S.forwardRef((e,t)=>{let[n,r]=S.useState(RK),i=()=>{r(RK)};S.useEffect(i,[]);let a=jm(),o=a.getRootPrefixCls(),s=a.getIconPrefixCls(),c=a.getTheme(),l=S.createElement(zK,{ref:t,sync:i,messageConfig:n});return S.createElement(Nm,{prefixCls:o,iconPrefixCls:s,theme:c},a.holderRender?a.holderRender(l):l)}),VK=()=>{if(!PK){let e=document.createDocumentFragment(),t={fragment:e};PK=t,FK(()=>{zi(S.createElement(BK,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,VK())})}}),e)});return}PK.instance&&(IK.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case`open`:FK(()=>{let t=PK.instance.open({...LK,...e.config});t?.then(e.resolve),e.setCloseFn(t)});break;case`destroy`:FK(()=>{PK?.instance.destroy(e.key)});break;default:FK(()=>{var n;let r=(n=PK.instance)[t].apply(n,pa(e.args));r?.then(e.resolve),e.setCloseFn(r)})}}),IK=[])};function HK(e){LK={...LK,...e},FK(()=>{PK?.sync?.()})}function UK(e){let t=nh(t=>{let n,r={type:`open`,config:e,resolve:t,setCloseFn:e=>{n=e}};return IK.push(r),()=>{n?FK(()=>{n()}):r.skipped=!0}});return VK(),t}function WK(e,t){let n=nh(n=>{let r,i={type:e,args:t,resolve:n,setCloseFn:e=>{r=e}};return IK.push(i),()=>{r?FK(()=>{r()}):i.skipped=!0}});return VK(),n}var GK=e=>{IK.push({type:`destroy`,key:e}),VK()},KK=[`success`,`info`,`warning`,`error`,`loading`],Z={open:UK,destroy:GK,config:HK,useMessage:sh,_InternalPanelDoNotUseOrYouWillBeFired:nee};KK.forEach(e=>{Z[e]=(...t)=>WK(e,t)});var qK=bx(e=>{let{prefixCls:t,className:n,closeIcon:r,closable:i,type:a,title:o,children:s,footer:c,classNames:l,styles:u,...d}=e,{getPrefixCls:f}=S.useContext(ga),{className:p,style:m,classNames:h,styles:g}=ya(`modal`),_=f(),v=t||f(`modal`),y=sp(_),[b,x]=yb(v,y),[C,w]=Cf([h,l],[g,u],{props:e}),T=`${v}-confirm`,E={};return E=a?{closable:i??!1,title:``,footer:``,children:S.createElement(wb,{...e,prefixCls:v,confirmPrefixCls:T,rootPrefixCls:_,content:s})}:{closable:i??!0,title:o,footer:c!==null&&S.createElement(tb,{...e}),children:s},S.createElement(E_,{prefixCls:v,className:J(b,`${v}-pure-panel`,a&&T,a&&`${T}-${a}`,n,p,x,y,C.root),style:{...m,...w.root},...d,closeIcon:eb(v,r),closable:i,classNames:C,styles:w,...E})});function JK(e){return jb(Mb(e))}var YK=xb;YK.useModal=Vb,YK.info=function(e){return jb(Nb(e))},YK.success=function(e){return jb(Pb(e))},YK.error=function(e){return jb(Fb(e))},YK.warning=JK,YK.warn=JK,YK.confirm=function(e){return jb(Ib(e))},YK.destroyAll=function(){for(;Db.length;){let e=Db.pop();e&&e()}},YK.config=Lb,YK._InternalPanelDoNotUseOrYouWillBeFired=qK;var XK=Ql(`Popconfirm`,e=>{let{componentCls:t,iconCls:n,antCls:r,zIndexPopup:i,colorText:a,colorWarning:o,marginXXS:s,marginXS:c,fontSize:l,fontWeightStrong:u,colorTextHeading:d}=e;return{[t]:{zIndex:i,[`&${r}-popover`]:{fontSize:l},[`${t}-message`]:{marginBottom:c,display:`flex`,flexWrap:`nowrap`,alignItems:`start`,[`> ${t}-message-icon ${n}`]:{color:o,fontSize:l,lineHeight:1,marginInlineEnd:c},[`${t}-title`]:{fontWeight:u,color:d,"&:only-child":{fontWeight:`normal`}},[`${t}-description`]:{marginTop:s,color:a}},[`${t}-buttons`]:{textAlign:`end`,whiteSpace:`nowrap`,button:{marginInlineStart:c}}}}},e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),ZK=e=>{let{prefixCls:t,okButtonProps:n,cancelButtonProps:r,title:i,description:a,cancelText:o,okText:s,okType:c=`primary`,icon:l=S.createElement(Pu,null),showCancel:u=!0,close:d,onConfirm:f,onCancel:p,onPopupClick:m,classNames:h,styles:g}=e,{getPrefixCls:_}=S.useContext(ga),[v]=Yd(`Popconfirm`,Hd.Popconfirm),y=vw(i),b=vw(a);return S.createElement(`div`,{className:`${t}-inner-content`,onClick:m},S.createElement(`div`,{className:`${t}-message`},l&&S.createElement(`span`,{className:`${t}-message-icon`},l),S.createElement(`div`,{className:`${t}-message-text`},y&&S.createElement(`div`,{className:J(`${t}-title`,h?.title),style:g?.title},y),b&&S.createElement(`div`,{className:J(`${t}-description`,h?.content),style:g?.content},b))),S.createElement(`div`,{className:`${t}-buttons`},u&&S.createElement(m_,{onClick:p,size:`small`,...r},o||v?.cancelText),S.createElement(h_,{buttonProps:{size:`small`,...Fh(c),...n},actionFn:f,close:d,prefixCls:_(`btn`),quitOnNullishReturnValue:!0,emitEvent:!0},s||v?.okText)))},QK=e=>{let{prefixCls:t,placement:n,className:r,style:i,...a}=e,{getPrefixCls:o}=S.useContext(ga),s=o(`popconfirm`,t);return XK(s),S.createElement(tT,{placement:n,className:J(s,r),style:i,content:S.createElement(ZK,{prefixCls:s,...a})})},$K=S.forwardRef((e,t)=>{let{prefixCls:n,placement:r=`top`,trigger:i,okType:a=`primary`,icon:o=S.createElement(Pu,null),children:s,overlayClassName:c,onOpenChange:l,overlayStyle:u,styles:d,arrow:f,classNames:p,...m}=e,{getPrefixCls:h,className:g,style:_,classNames:v,styles:y,arrow:b,trigger:x}=ya(`popconfirm`),[C,w]=Gn(e.defaultOpen??!1,e.open),T=Lw(f,b),E=i||x||`click`,D=e=>{w(e),l?.(e)},O=()=>{D(!1)},k=t=>e.onConfirm?.call(void 0,t),A=t=>{D(!1),e.onCancel?.call(void 0,t)},j=t=>{let{disabled:n=!1}=e;n||D(t)},M=h(`popconfirm`,n),N={...e,placement:r,trigger:E,okType:a,overlayStyle:u,styles:d,classNames:p},[P,F]=Cf([v,p],[y,d],{props:N}),I=J(M,g,c,P.root);return XK(M),S.createElement(nT,{arrow:T,...gi(m,[`title`]),trigger:E,placement:r,onOpenChange:j,open:C,ref:t,classNames:{root:I,container:P.container,arrow:P.arrow},styles:{root:{..._,...F.root,...u},container:F.container,arrow:F.arrow},content:S.createElement(ZK,{okType:a,icon:o,...e,prefixCls:M,close:O,onConfirm:k,onCancel:A,classNames:P,styles:F}),"data-popover-inject":!0},s)});$K._InternalPanelDoNotUseOrYouWillBeFired=QK;var eq={percent:0,prefixCls:`rc-progress`,strokeColor:`#2db7f5`,strokeLinecap:`round`,strokeWidth:1,railColor:`#D9D9D9`,railWidth:1,gapPosition:`bottom`,loading:!1},tq=()=>{let e=(0,S.useRef)([]),t=(0,S.useRef)(null);return(0,S.useEffect)(()=>{let n=Date.now(),r=!1;e.current.forEach(e=>{if(!e)return;r=!0;let i=e.style;i.transitionDuration=`.3s, .3s, .3s, .06s`,t.current&&n-t.current<100&&(i.transitionDuration=`0s, 0s`)}),r&&(t.current=Date.now())}),e.current},nq=({bg:e,children:t})=>S.createElement(`div`,{style:{width:`100%`,height:`100%`,background:e}},t);function rq(e,t){return Object.keys(e).map(n=>{let r=`${Math.floor(parseFloat(n)*t)}%`;return`${e[n]} ${r}`})}var iq=S.forwardRef((e,t)=>{let{prefixCls:n,color:r,gradientId:i,radius:a,className:o,style:s,ptg:c,strokeLinecap:l,strokeWidth:u,size:d,gapDegree:f}=e,p=r&&typeof r==`object`,m=p?`#FFF`:void 0,h=d/2,g=S.createElement(`circle`,{className:J(`${n}-circle-path`,o),r:a,cx:h,cy:h,stroke:m,strokeLinecap:l,strokeWidth:u,opacity:c===0?0:1,style:s,ref:t});if(!p)return g;let _=`${i}-conic`,v=f?`${180+f/2}deg`:`0deg`,y=rq(r,(360-f)/360),b=rq(r,1),x=`conic-gradient(from ${v}, ${y.join(`, `)})`,C=`linear-gradient(to ${f?`bottom`:`top`}, ${b.join(`, `)})`;return S.createElement(S.Fragment,null,S.createElement(`mask`,{id:_},g),S.createElement(`foreignObject`,{x:0,y:0,width:d,height:d,mask:`url(#${_})`},S.createElement(nq,{bg:C},S.createElement(nq,{bg:x}))))}),aq=(e,t,n,r,i,a,o,s,c,l,u=0)=>{let d=n/100*360*((360-a)/360),f=a===0?0:{bottom:0,top:180,left:90,right:-90}[o],p=(100-r)/100*t;return c===`round`&&r!==100&&(p+=l/2,p>=t&&(p=t-.01)),{stroke:typeof s==`string`?s:void 0,strokeDasharray:`${t}px ${e}`,strokeDashoffset:p+u,transform:`rotate(${i+d+f}deg)`,transformOrigin:`50px 50px`,transition:`stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s`,fillOpacity:0}},oq=(({id:e,loading:t})=>{if(!t)return{indeterminateStyleProps:{},indeterminateStyleAnimation:null};let n=`${e}-indeterminate-animate`;return{indeterminateStyleProps:{transform:`rotate(0deg)`,animation:`${n} 1s linear infinite`},indeterminateStyleAnimation:S.createElement(`style`,null,`@keyframes ${n} { + `]:{display:`inline-block`,minWidth:r(`item-size-actual`),height:r(`item-size-actual`),color:e.colorText,fontFamily:e.fontFamily,lineHeight:r(`item-size-actual`),textAlign:`center`,verticalAlign:`middle`,listStyle:`none`,borderRadius:e.borderRadius,cursor:`pointer`,transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{outline:0,button:{color:e.colorText,cursor:`pointer`,userSelect:`none`},[`${t}-item-link`]:{display:`block`,width:`100%`,height:`100%`,padding:0,fontSize:e.fontSizeSM,textAlign:`center`,backgroundColor:`transparent`,border:`${Y(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:`none`,transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:`transparent`}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:`inline-block`,marginInlineStart:e.margin,verticalAlign:`middle`,"&-size-changer":{width:`auto`},"&-quick-jumper":{display:`inline-block`,height:r(`item-size-actual`),marginInlineStart:e.marginXS,lineHeight:r(`item-size-actual`),verticalAlign:`baseline`,input:{...EL(e),...dL(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow}),"&[disabled]":{...uL(e)},width:e.quickJumperInputWidth,height:r(`item-size-actual`),boxSizing:`border-box`,margin:0,marginInlineStart:r(`item-spacing-actual`),marginInlineEnd:r(`item-spacing-actual`)}}}}},UG=e=>{let{componentCls:t,antCls:n}=e,[,r]=tu(n,`pagination`);return{[`${t}-item`]:{display:`inline-block`,minWidth:r(`item-size-actual`),height:r(`item-size-actual`),marginInlineEnd:r(`item-spacing-actual`),fontFamily:e.fontFamily,lineHeight:Y(e.calc(r(`item-size-actual`)).sub(2).equal()),textAlign:`center`,verticalAlign:`middle`,listStyle:`none`,backgroundColor:e.itemBg,border:`${Y(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:`pointer`,userSelect:`none`,a:{display:`block`,padding:`0 ${Y(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:`none`}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.itemActiveColor},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.itemActiveColorHover}}}}},WG=e=>{let{componentCls:t,antCls:n}=e,[r,i]=tu(n,`pagination`);return{[t]:{[r(`item-size-actual`)]:Y(e.itemSize),[r(`item-spacing-actual`)]:Y(e.marginXS),"&-small":{[r(`item-size-actual`)]:Y(e.itemSizeSM),[r(`item-spacing-actual`)]:Y(e.marginXXS)},"&-large":{[r(`item-size-actual`)]:Y(e.itemSizeLG),[r(`item-spacing-actual`)]:Y(e.marginSM)},...Ul(e),display:`flex`,alignItems:`center`,"&-start":{justifyContent:`start`},"&-center":{justifyContent:`center`},"&-end":{justifyContent:`end`},"ul, ol":{margin:0,padding:0,listStyle:`none`},"&::after":{display:`block`,clear:`both`,height:0,overflow:`hidden`,visibility:`hidden`,content:`""`},[`${t}-total-text`]:{display:`inline-block`,height:i(`item-size-actual`),marginInlineEnd:i(`item-spacing-actual`),lineHeight:Y(e.calc(i(`item-size-actual`)).sub(2).equal()),verticalAlign:`middle`},...UG(e),...HG(e),...VG(e),...zG(e),...BG(e),...RG(e),[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:`none`}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:`none`}}},[`&${e.componentCls}-rtl`]:{direction:`rtl`}}},GG=e=>{let{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:{...ql(e)},[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0},...Kl(e)}},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Kl(e)}}}},KG=e=>({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemSizeLG:e.controlHeightLG,itemActiveBg:e.colorBgContainer,itemActiveColor:e.colorPrimary,itemActiveColorHover:e.colorPrimaryHover,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0,...lL(e)}),qG=e=>dc(e,{inputOutlineOffset:0,quickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.25).equal(),paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:`0.13em`},cL(e)),JG=Ql(`Pagination`,e=>{let t=qG(e);return[WG(t),GG(t)]},KG),YG=e=>{let{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},XG=eu([`Pagination`,`bordered`],e=>YG(qG(e)),KG);function ZG(e){return(0,S.useMemo)(()=>typeof e==`boolean`?[e,{}]:nf(e)?[!0,e]:[void 0,void 0],[e])}var QG=e=>{let{align:t,prefixCls:n,selectPrefixCls:r,className:i,rootClassName:a,style:o,size:s,locale:c,responsive:l,showSizeChanger:u,selectComponentClass:d,pageSizeOptions:f,styles:p,classNames:m,...h}=e,{xs:g}=ew(l),[,_]=Vl(),{getPrefixCls:v,direction:y,showSizeChanger:b,className:x,style:C,classNames:w,styles:T,totalBoundaryShowSizeChanger:E}=ya(`pagination`),D=v(`pagination`,n),[O,k]=JG(D),A=Oh(s),j=A===`small`||!!(g&&!A&&l),M={...e,size:A},[N,P]=Cf([w,m],[T,p],{props:M}),[F]=Yd(`Pagination`,kd),I={...F,...c},[L,R]=ZG(u),[z,B]=ZG(b),V=L??z,H=R??B,U=d||KC,W=S.useMemo(()=>f?f.map(Number):void 0,[f]),ee=e=>{let{disabled:t,size:n,onSizeChange:r,"aria-label":i,className:a,options:o}=e,{className:s,onChange:c}=H||{},l=o.find(e=>String(e.value)===String(n))?.value;return S.createElement(U,{disabled:t,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:e=>e.parentNode,"aria-label":i,options:o,...H,value:l,onChange:(e,t)=>{r?.(e),c?.(e,t)},size:A,className:J(a,s)})},te=S.useMemo(()=>{let e=S.createElement(`span`,{className:`${D}-item-ellipsis`},`•••`);return{prevIcon:S.createElement(`button`,{className:`${D}-item-link`,type:`button`,tabIndex:-1},y===`rtl`?S.createElement(Vg,null):S.createElement(Xw,null)),nextIcon:S.createElement(`button`,{className:`${D}-item-link`,type:`button`,tabIndex:-1},y===`rtl`?S.createElement(Xw,null):S.createElement(Vg,null)),jumpPrevIcon:S.createElement(`a`,{className:`${D}-item-link`},S.createElement(`div`,{className:`${D}-item-container`},y===`rtl`?S.createElement(DG,{className:`${D}-item-link-icon`}):S.createElement(wG,{className:`${D}-item-link-icon`}),e)),jumpNextIcon:S.createElement(`a`,{className:`${D}-item-link`},S.createElement(`div`,{className:`${D}-item-container`},y===`rtl`?S.createElement(wG,{className:`${D}-item-link-icon`}):S.createElement(DG,{className:`${D}-item-link-icon`}),e))}},[y,D]),ne=v(`select`,r),re=J({[`${D}-${t}`]:!!t,[`${D}-${A}`]:A,[`${D}-mini`]:j,[`${D}-rtl`]:y===`rtl`,[`${D}-bordered`]:_.wireframe},x,i,a,N.root,O,k),G={...P.root,...C,...o};return S.createElement(S.Fragment,null,_.wireframe&&S.createElement(XG,{prefixCls:D}),S.createElement(LG,{...te,...h,styles:P,classNames:N,style:G,prefixCls:D,selectPrefixCls:ne,className:re,locale:I,pageSizeOptions:W,showSizeChanger:V,totalBoundaryShowSizeChanger:h.totalBoundaryShowSizeChanger??E,sizeChangerRender:ee}))},$G=100,eK=$G/5,tK=$G/2-eK/2,nK=tK*2*Math.PI,rK=50,iK=e=>{let{dotClassName:t,style:n,hasCircleCls:r}=e;return S.createElement(`circle`,{className:J(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:tK,cx:rK,cy:rK,strokeWidth:eK,style:n})},aK=({percent:e,prefixCls:t})=>{let n=`${t}-dot`,r=`${n}-holder`,i=`${r}-hidden`,[a,o]=S.useState(!1);Hn(()=>{e!==0&&o(!0)},[e!==0]);let s=Math.max(Math.min(e,100),0);if(!a)return null;let c={strokeDashoffset:`${nK/4}`,strokeDasharray:`${nK*s/100} ${nK*(100-s)/100}`};return S.createElement(`span`,{className:J(r,`${n}-progress`,{[i]:s<=0})},S.createElement(`svg`,{viewBox:`0 0 ${$G} ${$G}`,role:`progressbar`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":s},S.createElement(iK,{dotClassName:n,hasCircleCls:!0}),S.createElement(iK,{dotClassName:n,style:c})))};function oK(e){let{prefixCls:t,percent:n=0,className:r,style:i}=e,a=`${t}-dot`,o=`${a}-holder`,s=`${o}-hidden`;return S.createElement(S.Fragment,null,S.createElement(`span`,{className:J(o,r,n>0&&s),style:i},S.createElement(`span`,{className:J(a,`${t}-dot-spin`)},[1,2,3,4].map(e=>S.createElement(`i`,{className:`${t}-dot-item`,key:e})))),S.createElement(aK,{prefixCls:t,percent:n}))}function sK(e){let{prefixCls:t,indicator:n,percent:r,className:i,style:a}=e,o=`${t}-dot`;return n&&S.isValidElement(n)?um(n,e=>({className:J(e.className,o,i),style:{...e.style,...a},percent:r})):S.createElement(oK,{prefixCls:t,percent:r,className:i,style:a})}var cK=new Ms(`antSpinMove`,{to:{opacity:1}}),lK=new Ms(`antRotate`,{to:{transform:`rotate(405deg)`}}),uK=e=>{let{componentCls:t}=e,n=`${t}-section`;return{[t]:{...Ul(e),position:`relative`,"&-rtl":{direction:`rtl`},[`&${n}, ${n}`]:{display:`flex`,alignItems:`center`,flexDirection:`column`,gap:e.paddingSM,color:e.colorPrimary},[`&${n}`]:{display:`inline-flex`},[n]:{position:`absolute`,top:`50%`,left:{_skip_check_:!0,value:`50%`},transform:`translate(-50%, -50%)`,zIndex:1},[`${t}-description`]:{fontSize:e.fontSize,lineHeight:1},[`${t}-container`]:{position:`relative`,transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:`absolute`,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:`100%`,height:`100%`,background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:`""`,pointerEvents:`none`}},"&-spinning":{[`${t}-description`]:{textShadow:`0 0px 5px ${e.colorBgContainer}`},[`${t}-container`]:{clear:`both`,opacity:.5,userSelect:`none`,pointerEvents:`none`,"&::after":{opacity:.4,pointerEvents:`auto`}}},"&-fullscreen":{position:`fixed`,inset:0,backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,opacity:0,pointerEvents:`none`,transition:`all ${e.motionDurationMid}`,[`&${t}-spinning`]:{opacity:1,pointerEvents:`auto`},[n]:{color:e.colorWhite,[`${t}-description`]:{color:e.colorTextLightSolid}}}}}},dK=e=>{let{componentCls:t,antCls:n,motionDurationSlow:r}=e,[i,a]=tu(n,`spin`);return{[t]:{[i(`dot-holder-size`)]:e.dotSize,[i(`dot-item-size`)]:`calc((${a(`dot-holder-size`)} - ${e.marginXXS} / 2) / 2)`,[`${t}-dot`]:{"&-holder":{width:`1em`,height:`1em`,fontSize:a(`dot-holder-size`),display:`inline-block`,transition:[`transform`,`opacity`].map(e=>`${e} ${r} ease`).join(`, `),transformOrigin:`50% 50%`,lineHeight:1,"&-hidden":{transform:`scale(0.3)`,opacity:0}},position:`relative`,display:`inline-block`,fontSize:a(`dot-holder-size`),width:`1em`,height:`1em`,"&-spin":{transform:`rotate(45deg)`,animationName:lK,animationDuration:`1.2s`,animationIterationCount:`infinite`,animationTimingFunction:`linear`},"&-item":{position:`absolute`,display:`block`,width:a(`dot-item-size`),height:a(`dot-item-size`),background:`currentColor`,borderRadius:`100%`,transform:`scale(0.75)`,transformOrigin:`50% 50%`,opacity:.3,animationName:cK,animationDuration:`1s`,animationIterationCount:`infinite`,animationTimingFunction:`linear`,animationDirection:`alternate`,"&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:`0s`},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:`0.4s`},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:`0.8s`},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:`1.2s`}},"&-progress":{position:`absolute`,left:`50%`,top:0,transform:`translateX(-50%)`},"&-circle":{strokeLinecap:`round`,transition:[`stroke-dashoffset`,`stroke-dasharray`,`stroke`,`stroke-width`,`opacity`].map(e=>`${e} ${r} ease`).join(`,`),fillOpacity:0,stroke:`currentcolor`},"&-circle-bg":{stroke:e.colorFillSecondary}}}}},fK=e=>{let{componentCls:t}=e,[n]=tu(e.antCls,`spin`);return{[t]:{"&-sm":{[n(`dot-holder-size`)]:e.dotSizeSM},"&-lg":{[n(`dot-holder-size`)]:e.dotSizeLG}}}},pK=Ql(`Spin`,e=>{let t=dc(e,{spinDotDefault:e.colorTextDescription});return[uK(t),dK(t),fK(t)]},e=>{let{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}}),mK=200,hK=[[30,.05],[70,.03],[96,.01]];function gK(e,t){let[n,r]=S.useState(0),i=S.useRef(null),a=t===`auto`;return S.useEffect(()=>(a&&e&&(r(0),i.current=setInterval(()=>{r(e=>{let t=100-e;for(let n=0;n{i.current&&=(clearInterval(i.current),null)}),[a,e]),a?n:t}var _K;function vK(e,t){return!!e&&!!t&&!Number.isNaN(Number(t))}var yK=e=>{let{prefixCls:t,spinning:n=!0,delay:r=0,className:i,rootClassName:a,size:o,tip:s,description:c,wrapperClassName:l,style:u,children:d,fullscreen:f=!1,indicator:p,percent:m,classNames:h,styles:g,..._}=e,{getPrefixCls:v,direction:y,indicator:b,className:x,style:C,classNames:w,styles:T}=ya(`spin`),E=v(`spin`,t),[D,O]=pK(E),[k,A]=S.useState(()=>n&&!vK(n,r)),j=gK(k,m);S.useEffect(()=>{if(n){let e=Mne(r,()=>{A(!0)});return e(),()=>{e?.cancel?.()}}A(!1)},[r,n]);let M=Oh(e=>o??e),N=c??s,P={...e,size:M,spinning:k,tip:N,description:N,fullscreen:f,children:d,percent:j},[F,I]=Cf([w,h],[T,g],{props:P}),L=p??b??_K,R=d!==void 0,z=R||f,B=S.createElement(S.Fragment,null,S.createElement(sK,{className:J(F.indicator),style:I.indicator,prefixCls:E,indicator:L,percent:j}),N&&S.createElement(`div`,{className:J(`${E}-description`,F.tip,F.description),style:{...I.tip,...I.description}},N));return S.createElement(`div`,{className:J(E,{[`${E}-sm`]:M===`small`,[`${E}-lg`]:M===`large`,[`${E}-spinning`]:k,[`${E}-rtl`]:y===`rtl`,[`${E}-fullscreen`]:f},a,F.root,f&&F.mask,z?l:[`${E}-section`,F.section],x,i,D,O),style:{...I.root,...z?{}:I.section,...f?I.mask:{},...C,...u},"aria-live":`polite`,"aria-busy":k,..._},k&&(z?S.createElement(`div`,{className:J(`${E}-section`,F.section),style:I.section},B):B),R&&S.createElement(`div`,{className:J(`${E}-container`,F.container),style:I.container},d))};yK.setDefaultIndicator=e=>{_K=e};var bK=S.createContext({});bK.Consumer;var xK=({prefixCls:e,className:t,avatar:n,title:r,description:i,...a})=>{let{getPrefixCls:o}=(0,S.useContext)(ga),s=o(`list`,e),c=J(`${s}-item-meta`,t),l=S.createElement(`div`,{className:`${s}-item-meta-content`},r&&S.createElement(`h4`,{className:`${s}-item-meta-title`},r),i&&S.createElement(`div`,{className:`${s}-item-meta-description`},i));return S.createElement(`div`,{...a,className:c},n&&S.createElement(`div`,{className:`${s}-item-meta-avatar`},n),(r||i)&&l)},SK=S.forwardRef((e,t)=>{let{prefixCls:n,children:r,actions:i,extra:a,styles:o,className:s,classNames:c,colStyle:l,...u}=e,{grid:d,itemLayout:f}=(0,S.useContext)(bK),{getPrefixCls:p,list:m}=(0,S.useContext)(ga),h=e=>J(m?.item?.classNames?.[e],c?.[e]),g=e=>({...m?.item?.styles?.[e],...o?.[e]}),_=()=>{let e=ki(r);return e.some(e=>typeof e==`string`)&&e.length>1},v=()=>f===`vertical`?!!a:!_(),y=p(`list`,n),b=i&&i.length>0&&S.createElement(`ul`,{className:J(`${y}-item-action`,h(`actions`)),key:`actions`,style:g(`actions`)},i.map((e,t)=>S.createElement(`li`,{key:`${y}-item-action-${t}`},e,t!==i.length-1&&S.createElement(`em`,{className:`${y}-item-action-split`})))),x=d?`div`:`li`,C=S.createElement(x,{...u,...d?{}:{ref:t},className:J(`${y}-item`,{[`${y}-item-no-flex`]:!v()},s)},f===`vertical`&&a?[S.createElement(`div`,{className:`${y}-item-main`,key:`content`},r,b),S.createElement(`div`,{className:J(`${y}-item-extra`,h(`extra`)),key:`extra`,style:g(`extra`)},a)]:[r,b,um(a,{key:`extra`})]);return d?S.createElement(Pz,{ref:t,flex:1,style:l},C):C});SK.Meta=xK;var CK=e=>{let{listBorderedCls:t,componentCls:n,paddingLG:r,margin:i,itemPaddingSM:a,itemPaddingLG:o,marginLG:s,borderRadiusLG:c}=e,l=Y(e.calc(c).sub(e.lineWidth).equal());return{[t]:{border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${n}-header`]:{borderRadius:`${l} ${l} 0 0`},[`${n}-footer`]:{borderRadius:`0 0 ${l} ${l}`},[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${Y(i)} ${Y(s)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:a}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:o}}}},wK=e=>{let{componentCls:t,screenSM:n,screenMD:r,marginLG:i,marginSM:a,margin:o}=e;return{[`@media screen and (max-width:${r}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:i}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:`wrap`,[`${t}-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:`wrap-reverse`,[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${Y(o)}`}}}}}},TK=e=>{let{componentCls:t,antCls:n,controlHeight:r,minHeight:i,paddingSM:a,marginLG:o,padding:s,itemPadding:c,colorPrimary:l,itemPaddingSM:u,itemPaddingLG:d,paddingXS:f,margin:p,colorText:m,colorTextDescription:h,motionDurationSlow:g,lineWidth:_,headerBg:v,footerBg:y,emptyTextPadding:b,metaMarginBottom:x,avatarMarginRight:S,titleMarginBottom:C,descriptionFontSize:w}=e;return{[t]:{...Ul(e),position:`relative`,"--rc-virtual-list-scrollbar-bg":e.colorSplit,"*":{outline:`none`},[`${t}-header`]:{background:v},[`${t}-footer`]:{background:y},[`${t}-header, ${t}-footer`]:{paddingBlock:a},[`${t}-pagination`]:{marginBlockStart:o,[`${n}-pagination-options`]:{textAlign:`start`}},[`${t}-spin`]:{minHeight:i,textAlign:`center`},[`${t}-items`]:{margin:0,padding:0,listStyle:`none`},[`${t}-item`]:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:c,color:m,[`${t}-item-meta`]:{display:`flex`,flex:1,alignItems:`flex-start`,maxWidth:`100%`,[`${t}-item-meta-avatar`]:{marginInlineEnd:S},[`${t}-item-meta-content`]:{flex:`1 0`,width:0,color:m},[`${t}-item-meta-title`]:{margin:`0 0 ${Y(e.marginXXS)} 0`,color:m,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:m,transition:`all ${g}`,"&:hover":{color:l}}},[`${t}-item-meta-description`]:{color:h,fontSize:w,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:`0 0 auto`,marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:`none`,"& > li":{position:`relative`,display:`inline-block`,padding:`0 ${Y(f)}`,color:h,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:`center`,"&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:`absolute`,insetBlockStart:`50%`,insetInlineEnd:0,width:_,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:`translateY(-50%)`,backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${Y(s)} 0`,color:h,fontSize:e.fontSizeSM,textAlign:`center`},[`${t}-empty-text`]:{padding:b,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:`center`},[`${t}-item-no-flex`]:{display:`block`}},[`${t}-grid ${n}-col > ${t}-item`]:{display:`block`,maxWidth:`100%`,marginBlockEnd:p,paddingBlock:0,borderBlockEnd:`none`},[`${t}-vertical ${t}-item`]:{alignItems:`initial`,[`${t}-item-main`]:{display:`block`,flex:1},[`${t}-item-extra`]:{marginInlineStart:o},[`${t}-item-meta`]:{marginBlockEnd:x,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:C,color:m,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:`auto`,"> li":{padding:`0 ${Y(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:`none`}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${Y(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:d},[`${t}-sm ${t}-item`]:{padding:u},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:`right`}}}}},EK=Ql(`List`,e=>{let t=dc(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[TK(t),CK(t),wK(t)]},e=>({contentWidth:220,itemPadding:`${Y(e.paddingContentVertical)} 0`,itemPaddingSM:`${Y(e.paddingContentVerticalSM)} ${Y(e.paddingContentHorizontal)}`,itemPaddingLG:`${Y(e.paddingContentVerticalLG)} ${Y(e.paddingContentHorizontalLG)}`,headerBg:`transparent`,footerBg:`transparent`,emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),{extraCssVarPrefixCls:({prefixCls:e})=>[`${e}-container`]}),DK=S.forwardRef((e,t)=>{let{pagination:n=!1,prefixCls:r,bordered:i=!1,split:a=!0,className:o,rootClassName:s,style:c,children:l,itemLayout:u,loadMore:d,grid:f,dataSource:p=[],size:m,header:h,footer:g,loading:_=!1,rowKey:v,renderItem:y,locale:b,...x}=e,C=nf(n)?n:{},[w,T]=S.useState(C.defaultCurrent||1),[E,D]=S.useState(C.defaultPageSize||10),{getPrefixCls:O,direction:k,className:A,style:j}=ya(`list`),{renderEmpty:M}=S.useContext(ga),N={current:1,total:0,position:`bottom`},P=e=>(t,r)=>{T(t),D(r),n&&n?.[e]?.(t,r)},F=P(`onChange`),I=P(`onShowSizeChange`),L=(e,t)=>{if(!y)return null;let n;return n=typeof v==`function`?v(e):v?e[v]:e.key,n||=`list-item-${t}`,S.createElement(S.Fragment,{key:n},y(e,t))},R=!!(d||n||g),z=O(`list`,r),[B,V]=EK(z),H=_;typeof H==`boolean`&&(H={spinning:H});let U=!!H?.spinning,W=Oh(m),ee=``;switch(W){case`large`:ee=`lg`;break;case`small`:ee=`sm`;break;default:break}let te=J(z,{[`${z}-vertical`]:u===`vertical`,[`${z}-${ee}`]:ee,[`${z}-split`]:a,[`${z}-bordered`]:i,[`${z}-loading`]:U,[`${z}-grid`]:!!f,[`${z}-something-after-last-item`]:R,[`${z}-rtl`]:k===`rtl`},A,o,s,B,V),ne=`${z}-container`,re=Qd(N,{total:p.length,current:w,pageSize:E},n||{}),G=Math.ceil(re.total/re.pageSize);re.current=Math.min(re.current,G);let ie=n&&S.createElement(`div`,{className:J(`${z}-pagination`)},S.createElement(QG,{align:`end`,...re,onChange:F,onShowSizeChange:I})),K=pa(p);n&&p.length>(re.current-1)*re.pageSize&&(K=pa(p).splice((re.current-1)*re.pageSize,re.pageSize));let ae=ew(Object.keys(f||{}).some(e=>JC.includes(e))),q=S.useMemo(()=>{for(let e=0;e{if(!f)return;let e=q&&f[q]?f[q]:f.column;if(e)return{width:`${100/e}%`,maxWidth:`${100/e}%`}},[JSON.stringify(f),q]),se=U&&S.createElement(`div`,{style:{minHeight:53}});if(K.length>0){let e=K.map(L);se=f?S.createElement(Lz,{className:J(ne,V),gutter:f.gutter},S.Children.map(e,e=>S.createElement(`div`,{key:e?.key,style:oe},e))):S.createElement(`ul`,{className:J(`${z}-items`,ne,V)},e)}else !l&&!U&&(se=S.createElement(`div`,{className:`${z}-empty-text`},b?.emptyText||M?.(`List`)||S.createElement(_C,{componentName:`List`})));let ce=re.position,le=S.useMemo(()=>({grid:f,itemLayout:u}),[JSON.stringify(f),u]);return S.createElement(bK.Provider,{value:le},S.createElement(`div`,{ref:t,style:{...j,...c},className:te,...x},(ce===`top`||ce===`both`)&&ie,h&&S.createElement(`div`,{className:`${z}-header`},h),S.createElement(yK,{...H},se,l),g&&S.createElement(`div`,{className:`${z}-footer`},g),d||(ce===`bottom`||ce===`both`)&&ie))});DK.Item=SK;var OK=(e,t={})=>!$d(e)&&t?.skipEmpty?[]:Array.isArray(e)?e:[e],kK=null,AK=e=>e(),jK=[],MK={};function NK(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:i}=MK,a=e?.()||document.body;return{getContainer:()=>a,duration:t,rtl:n,maxCount:r,top:i}}var PK=S.forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:i}=(0,S.useContext)(ga),a=MK.prefixCls||i(`message`),o=(0,S.useContext)(nx),[s,c]=uh({...n,prefixCls:a,...o.message});return S.useImperativeHandle(t,()=>{let e={...s};return Object.keys(e).forEach(t=>{e[t]=(...e)=>(r(),s[t].apply(s,e))}),{instance:e,sync:r}}),c}),FK=S.forwardRef((e,t)=>{let[n,r]=S.useState(NK),i=()=>{r(NK)};S.useEffect(i,[]);let a=Nm(),o=a.getRootPrefixCls(),s=a.getIconPrefixCls(),c=a.getTheme(),l=S.createElement(PK,{ref:t,sync:i,messageConfig:n});return S.createElement(Fm,{prefixCls:o,iconPrefixCls:s,theme:c},a.holderRender?a.holderRender(l):l)}),IK=()=>{if(!kK){let e=document.createDocumentFragment(),t={fragment:e};kK=t,AK(()=>{zi(S.createElement(FK,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,IK())})}}),e)});return}kK.instance&&(jK.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case`open`:AK(()=>{let t=kK.instance.open({...MK,...e.config});t?.then(e.resolve),e.setCloseFn(t)});break;case`destroy`:AK(()=>{kK?.instance.destroy(e.key)});break;default:AK(()=>{var n;let r=(n=kK.instance)[t].apply(n,pa(e.args));r?.then(e.resolve),e.setCloseFn(r)})}}),jK=[])};function LK(e){MK={...MK,...e},AK(()=>{kK?.sync?.()})}function RK(e){let t=rh(t=>{let n,r={type:`open`,config:e,resolve:t,setCloseFn:e=>{n=e}};return jK.push(r),()=>{n?AK(()=>{n()}):r.skipped=!0}});return IK(),t}function zK(e,t){let n=rh(n=>{let r,i={type:e,args:t,resolve:n,setCloseFn:e=>{r=e}};return jK.push(i),()=>{r?AK(()=>{r()}):i.skipped=!0}});return IK(),n}var BK=e=>{jK.push({type:`destroy`,key:e}),IK()},VK=[`success`,`info`,`warning`,`error`,`loading`],Z={open:RK,destroy:BK,config:LK,useMessage:dh,_InternalPanelDoNotUseOrYouWillBeFired:th};VK.forEach(e=>{Z[e]=(...t)=>zK(e,t)});var HK=cx(e=>{let{prefixCls:t,className:n,closeIcon:r,closable:i,type:a,title:o,children:s,footer:c,classNames:l,styles:u,...d}=e,{getPrefixCls:f}=S.useContext(ga),{className:p,style:m,classNames:h,styles:g}=ya(`modal`),_=f(),v=t||f(`modal`),y=sp(_),[b,x]=sb(v,y),[C,w]=Cf([h,l],[g,u],{props:e}),T=`${v}-confirm`,E={};return E=a?{closable:i??!1,title:``,footer:``,children:S.createElement(fb,{...e,prefixCls:v,confirmPrefixCls:T,rootPrefixCls:_,content:s})}:{closable:i??!0,title:o,footer:c!==null&&S.createElement(Zy,{...e}),children:s},S.createElement(k_,{prefixCls:v,className:J(b,`${v}-pure-panel`,a&&T,a&&`${T}-${a}`,n,p,x,y,C.root),style:{...m,...w.root},...d,closeIcon:Xy(v,r),closable:i,classNames:C,styles:w,...E})});function UK(e){return yb(bb(e))}var WK=lb;WK.useModal=kb,WK.info=function(e){return yb(xb(e))},WK.success=function(e){return yb(Sb(e))},WK.error=function(e){return yb(Cb(e))},WK.warning=UK,WK.warn=UK,WK.confirm=function(e){return yb(wb(e))},WK.destroyAll=function(){for(;hb.length;){let e=hb.pop();e&&e()}},WK.config=Tb,WK._InternalPanelDoNotUseOrYouWillBeFired=HK;var GK=Ql(`Popconfirm`,e=>{let{componentCls:t,iconCls:n,antCls:r,zIndexPopup:i,colorText:a,colorWarning:o,marginXXS:s,marginXS:c,fontSize:l,fontWeightStrong:u,colorTextHeading:d}=e;return{[t]:{zIndex:i,[`&${r}-popover`]:{fontSize:l},[`${t}-message`]:{marginBottom:c,display:`flex`,flexWrap:`nowrap`,alignItems:`start`,[`> ${t}-message-icon ${n}`]:{color:o,fontSize:l,lineHeight:1,marginInlineEnd:c},[`${t}-title`]:{fontWeight:u,color:d,"&:only-child":{fontWeight:`normal`}},[`${t}-description`]:{marginTop:s,color:a}},[`${t}-buttons`]:{textAlign:`end`,whiteSpace:`nowrap`,button:{marginInlineStart:c}}}}},e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),KK=e=>{let{prefixCls:t,okButtonProps:n,cancelButtonProps:r,title:i,description:a,cancelText:o,okText:s,okType:c=`primary`,icon:l=S.createElement(Pu,null),showCancel:u=!0,close:d,onConfirm:f,onCancel:p,onPopupClick:m,classNames:h,styles:g}=e,{getPrefixCls:_}=S.useContext(ga),[v]=Yd(`Popconfirm`,Hd.Popconfirm),y=ow(i),b=ow(a);return S.createElement(`div`,{className:`${t}-inner-content`,onClick:m},S.createElement(`div`,{className:`${t}-message`},l&&S.createElement(`span`,{className:`${t}-message-icon`},l),S.createElement(`div`,{className:`${t}-message-text`},y&&S.createElement(`div`,{className:J(`${t}-title`,h?.title),style:g?.title},y),b&&S.createElement(`div`,{className:J(`${t}-description`,h?.content),style:g?.content},b))),S.createElement(`div`,{className:`${t}-buttons`},u&&S.createElement(__,{onClick:p,size:`small`,...r},o||v?.cancelText),S.createElement(v_,{buttonProps:{size:`small`,...Lh(c),...n},actionFn:f,close:d,prefixCls:_(`btn`),quitOnNullishReturnValue:!0,emitEvent:!0},s||v?.okText)))},qK=e=>{let{prefixCls:t,placement:n,className:r,style:i,...a}=e,{getPrefixCls:o}=S.useContext(ga),s=o(`popconfirm`,t);return GK(s),S.createElement(Uw,{placement:n,className:J(s,r),style:i,content:S.createElement(KK,{prefixCls:s,...a})})},JK=S.forwardRef((e,t)=>{let{prefixCls:n,placement:r=`top`,trigger:i,okType:a=`primary`,icon:o=S.createElement(Pu,null),children:s,overlayClassName:c,onOpenChange:l,overlayStyle:u,styles:d,arrow:f,classNames:p,...m}=e,{getPrefixCls:h,className:g,style:_,classNames:v,styles:y,arrow:b,trigger:x}=ya(`popconfirm`),[C,w]=Gn(e.defaultOpen??!1,e.open),T=Tw(f,b),E=i||x||`click`,D=e=>{w(e),l?.(e)},O=()=>{D(!1)},k=t=>e.onConfirm?.call(void 0,t),A=t=>{D(!1),e.onCancel?.call(void 0,t)},j=t=>{let{disabled:n=!1}=e;n||D(t)},M=h(`popconfirm`,n),N={...e,placement:r,trigger:E,okType:a,overlayStyle:u,styles:d,classNames:p},[P,F]=Cf([v,p],[y,d],{props:N}),I=J(M,g,c,P.root);return GK(M),S.createElement(Ww,{arrow:T,...gi(m,[`title`]),trigger:E,placement:r,onOpenChange:j,open:C,ref:t,classNames:{root:I,container:P.container,arrow:P.arrow},styles:{root:{..._,...F.root,...u},container:F.container,arrow:F.arrow},content:S.createElement(KK,{okType:a,icon:o,...e,prefixCls:M,close:O,onConfirm:k,onCancel:A,classNames:P,styles:F}),"data-popover-inject":!0},s)});JK._InternalPanelDoNotUseOrYouWillBeFired=qK;var YK={percent:0,prefixCls:`rc-progress`,strokeColor:`#2db7f5`,strokeLinecap:`round`,strokeWidth:1,railColor:`#D9D9D9`,railWidth:1,gapPosition:`bottom`,loading:!1},XK=()=>{let e=(0,S.useRef)([]),t=(0,S.useRef)(null);return(0,S.useEffect)(()=>{let n=Date.now(),r=!1;e.current.forEach(e=>{if(!e)return;r=!0;let i=e.style;i.transitionDuration=`.3s, .3s, .3s, .06s`,t.current&&n-t.current<100&&(i.transitionDuration=`0s, 0s`)}),r&&(t.current=Date.now())}),e.current},ZK=({bg:e,children:t})=>S.createElement(`div`,{style:{width:`100%`,height:`100%`,background:e}},t);function QK(e,t){return Object.keys(e).map(n=>{let r=`${Math.floor(parseFloat(n)*t)}%`;return`${e[n]} ${r}`})}var $K=S.forwardRef((e,t)=>{let{prefixCls:n,color:r,gradientId:i,radius:a,className:o,style:s,ptg:c,strokeLinecap:l,strokeWidth:u,size:d,gapDegree:f}=e,p=r&&typeof r==`object`,m=p?`#FFF`:void 0,h=d/2,g=S.createElement(`circle`,{className:J(`${n}-circle-path`,o),r:a,cx:h,cy:h,stroke:m,strokeLinecap:l,strokeWidth:u,opacity:c===0?0:1,style:s,ref:t});if(!p)return g;let _=`${i}-conic`,v=f?`${180+f/2}deg`:`0deg`,y=QK(r,(360-f)/360),b=QK(r,1),x=`conic-gradient(from ${v}, ${y.join(`, `)})`,C=`linear-gradient(to ${f?`bottom`:`top`}, ${b.join(`, `)})`;return S.createElement(S.Fragment,null,S.createElement(`mask`,{id:_},g),S.createElement(`foreignObject`,{x:0,y:0,width:d,height:d,mask:`url(#${_})`},S.createElement(ZK,{bg:C},S.createElement(ZK,{bg:x}))))}),eq=(e,t,n,r,i,a,o,s,c,l,u=0)=>{let d=n/100*360*((360-a)/360),f=a===0?0:{bottom:0,top:180,left:90,right:-90}[o],p=(100-r)/100*t;return c===`round`&&r!==100&&(p+=l/2,p>=t&&(p=t-.01)),{stroke:typeof s==`string`?s:void 0,strokeDasharray:`${t}px ${e}`,strokeDashoffset:p+u,transform:`rotate(${i+d+f}deg)`,transformOrigin:`50px 50px`,transition:`stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s`,fillOpacity:0}},tq=(({id:e,loading:t})=>{if(!t)return{indeterminateStyleProps:{},indeterminateStyleAnimation:null};let n=`${e}-indeterminate-animate`;return{indeterminateStyleProps:{transform:`rotate(0deg)`,animation:`${n} 1s linear infinite`},indeterminateStyleAnimation:S.createElement(`style`,null,`@keyframes ${n} { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } - }`)}});function sq(){return sq=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:t,prefixCls:n,classNames:r={},styles:i={},steps:a,strokeWidth:o,railWidth:s,gapDegree:c=0,gapPosition:l,railColor:u,strokeLinecap:d,style:f,className:p,strokeColor:m,percent:h,loading:g,..._}={...eq,...e},v=Xn(t),y=`${v}-gradient`,b=50-o/2,x=Math.PI*2*b,C=c>0?90+c/2:-90,w=x*((360-c)/360),{count:T,gap:E}=typeof a==`object`?a:{count:a,gap:2},D=cq(h),O=cq(m),k=O.find(e=>e&&typeof e==`object`),A=k&&typeof k==`object`?`butt`:d,{indeterminateStyleProps:j,indeterminateStyleAnimation:M}=oq({id:v,loading:g}),N=aq(x,w,0,100,C,c,l,u,A,o),P=tq(),F=()=>{let e=0;return D.map((t,a)=>{let s=O[a]||O[O.length-1],u=aq(x,w,e,t,C,c,l,s,A,o);return e+=t,S.createElement(iq,{key:a,color:s,ptg:t,radius:b,prefixCls:n,gradientId:y,className:r.track,style:{...u,...j,...i.track},strokeLinecap:A,strokeWidth:o,gapDegree:c,ref:e=>{P[a]=e},size:100})}).reverse()},I=()=>{let e=Math.round(T*(D[0]/100)),t=100/T,a=0;return Array(T).fill(null).map((s,d)=>{let f=d<=e-1?O[0]:u,p=f&&typeof f==`object`?`url(#${y})`:void 0,m=aq(x,w,a,t,C,c,l,f,`butt`,o,E);return a+=(w-m.strokeDashoffset+E)*100/w,S.createElement(`circle`,{key:d,className:J(`${n}-circle-path`,r.track),r:b,cx:50,cy:50,stroke:p,strokeWidth:o,opacity:1,style:{...m,...i.track},ref:e=>{P[d]=e}})})};return S.createElement(`svg`,sq({className:J(`${n}-circle`,r.root,p),viewBox:`0 0 100 100`,style:{...i.root,...f},id:t,role:`presentation`},_),!T&&S.createElement(`circle`,{className:J(`${n}-circle-rail`,r.rail),r:b,cx:50,cy:50,stroke:u,strokeLinecap:A,strokeWidth:s||o,style:{...N,...i.rail}}),T?I():F(),M)};function uq(e){return!e||e<0?0:e>100?100:e}function dq({success:e}){let t;return e&&`percent`in e&&(t=e.percent),t}var fq=({percent:e,success:t})=>{let n=uq(dq({success:t}));return[n,uq(uq(e)-n)]},pq=({success:e={},strokeColor:t})=>{let{strokeColor:n}=e;return[n||Kc.green,t||null]},mq=(e,t,n)=>{let r=-1,i=-1;if(t===`step`){let t=n.steps,a=n.strokeWidth;typeof e==`string`||e===void 0?(r=e===`small`?2:14,i=a??8):ef(e)?[r,i]=[e,e]:[r=14,i=8]=Array.isArray(e)?e:[e.width,e.height],r*=t}else if(t===`line`){let t=n?.strokeWidth;typeof e==`string`||e===void 0?i=t||(e===`small`?6:8):ef(e)?[r,i]=[e,e]:[r=-1,i=8]=Array.isArray(e)?e:[e.width,e.height]}else (t===`circle`||t===`dashboard`)&&(typeof e==`string`||e===void 0?[r,i]=e===`small`?[60,60]:[120,120]:ef(e)?[r,i]=[e,e]:Array.isArray(e)&&(r=e[0]??e[1]??120,i=e[0]??e[1]??120));return[r,i]},hq=3,gq=e=>hq/e*100,_q=[`root`,`body`,`indicator`],vq=e=>{let{prefixCls:t,classNames:n,styles:r,railColor:i,trailColor:a,strokeLinecap:o=`round`,gapPosition:s,gapPlacement:c,gapDegree:l,width:u=120,type:d,children:f,success:p,size:m=u,steps:h}=e,{direction:g}=ya(`progress`),_=i??a,[v,y]=mq(m,`circle`),{strokeWidth:b}=e;b===void 0&&(b=Math.max(gq(v),6));let x={width:v,height:y,fontSize:v*.15+6},C=S.useMemo(()=>{if(l||l===0)return l;if(d===`dashboard`)return 75},[l,d]),w=fq(e),T=S.useMemo(()=>{let e=(c??s)||d===`dashboard`&&`bottom`||void 0,t=g===`rtl`;switch(e){case`start`:return t?`right`:`left`;case`end`:return t?`left`:`right`;default:return e}},[g,c,s,d]),E=Object.prototype.toString.call(e.strokeColor)===`[object Object]`,D=pq({success:p,strokeColor:e.strokeColor}),O=J(`${t}-body`,{[`${t}-circle-gradient`]:E},n.body),k=S.createElement(lq,{steps:h,percent:h?w[1]:w,strokeWidth:b,railWidth:b,strokeColor:h?D[1]:D,strokeLinecap:o,railColor:_,prefixCls:t,gapDegree:C,gapPosition:T,classNames:gi(n,_q),styles:gi(r,_q)}),A=v<=20,j=S.createElement(`div`,{className:O,style:{...x,...r.body}},k,!A&&f);return A?S.createElement(Jw,{title:f},j):j},yq=`--progress-line-stroke-color`,bq=e=>{let t=e?`100%`:`-100%`;return new Ms(`antProgress${e?`RTL`:`LTR`}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:`translateX(0) scaleX(1)`,opacity:0}})},xq=e=>{let{componentCls:t,iconCls:n}=e;return{[t]:{...Ul(e),display:`inline-flex`,"&-rtl":{direction:`rtl`},[`${t}-indicator`]:{color:e.colorText,lineHeight:1,whiteSpace:`nowrap`,verticalAlign:`middle`,wordBreak:`normal`,[n]:{fontSize:e.fontSize}},[`&${t}-status-exception`]:{[`${t}-indicator`]:{color:e.colorError}},[`&${t}-status-success`]:{[`${t}-indicator`]:{color:e.colorSuccess}}}}},Sq=e=>{let{componentCls:t}=e;return{[`${t}-line`]:{position:`relative`,width:`100%`,fontSize:e.fontSize,[`${t}-body`]:{display:`inline-flex`,alignItems:`center`,width:`100%`,gap:e.marginXS},[`${t}-rail`]:{flex:`auto`,background:e.remainingColor,borderRadius:e.lineBorderRadius,position:`relative`,width:`100%`,overflow:`hidden`},[`&${t}-status-active`]:{[`${t}-track:after`]:{content:`""`,position:`absolute`,inset:0,backgroundColor:e.colorBgContainer,borderRadius:`inherit`,opacity:0,animationName:bq(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:`infinite`}},[`${t}-track`]:{position:`absolute`,insetInlineStart:0,insetBlock:0,borderRadius:`inherit`,background:e.defaultColor,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,minWidth:`max-content`,display:`flex`,alignItems:`center`,"&-success":{background:e.colorSuccess}},[`&${t}-status-exception`]:{[`${t}-track`]:{background:e.colorError}},[`&${t}-status-success`]:{[`${t}-track`]:{background:e.colorSuccess}},[`${t}-indicator-outer`]:{[`&${t}-indicator-start`]:{order:-1}},[`${t}-body-layout-bottom`]:{flexDirection:`column`,alignItems:`center`,gap:e.marginXXS},[`${t}-indicator${t}-indicator-inner`]:{color:e.colorWhite,paddingInline:e.paddingXXS,width:`100%`,display:`flex`,justifyContent:`center`,[`&${t}-indicator-end`]:{justifyContent:`end`},[`&${t}-indicator-start`]:{justifyContent:`start`},[`&${t}-indicator-bright`]:{color:`rgba(0, 0, 0, 0.45)`}}}}},Cq=e=>{let{componentCls:t,iconCls:n}=e;return{[`${t}-circle`]:{[`${t}-circle-rail`]:{stroke:e.remainingColor},[`${t}-body:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-body`]:{position:`relative`,lineHeight:1,backgroundColor:`transparent`},[`${t}-indicator`]:{position:`absolute`,insetBlockStart:`50%`,insetInlineStart:0,width:`100%`,margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:`normal`,textAlign:`center`,transform:`translateY(-50%)`,[n]:{fontSize:e.circleIconFontSize}},[`&${t}-status-exception`]:{[`${t}-body:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}}},[`&${t}-status-success`]:{[`${t}-body:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:`bottom`}}}},wq=e=>{let{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:`inline-block`,"&-body":{display:`flex`,flexDirection:`row`,alignItems:`center`,gap:e.progressStepMarginInlineEnd,[`${t}-indicator`]:{marginInlineStart:e.marginXS}},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},Tq=e=>{let{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-indicator ${n}`]:{fontSize:e.fontSizeSM}}}},Eq=Ql(`Progress`,e=>{let t=e.calc(e.marginXXS).div(2).equal(),n=dc(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:`2.4s`});return[xq(n),Sq(n),Cq(n),wq(n),Tq(n)]},e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:`1em`,circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`})),Dq=e=>{let t=[];return Object.keys(e).forEach(n=>{let r=Number.parseFloat(n.replace(/%/g,``));Number.isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((e,t)=>e.key-t.key),t.map(({key:e,value:t})=>`${t} ${e}%`).join(`, `)},Oq=(e,t)=>{let{from:n=Kc.blue,to:r=Kc.blue,direction:i=t===`rtl`?`to left`:`to right`,...a}=e;if(Object.keys(a).length!==0){let e=`linear-gradient(${i}, ${Dq(a)})`;return{background:e,[yq]:e}}let o=`linear-gradient(${i}, ${n}, ${r})`;return{background:o,[yq]:o}},kq=e=>{let{prefixCls:t,classNames:n,styles:r,direction:i,percent:a,size:o,strokeWidth:s,strokeColor:c,strokeLinecap:l=`round`,children:u,railColor:d,trailColor:f,percentPosition:p,success:m}=e,{align:h,type:g}=p,_=d??f,v=l===`square`||l===`butt`?0:void 0,[y,b]=mq(o??[-1,s||(o===`small`?6:8)],`line`,{strokeWidth:s}),x={backgroundColor:_||void 0,borderRadius:v,height:b},C=`${t}-track`,w=c&&typeof c!=`string`?Oq(c,i):{[yq]:c,background:c},T={width:`${uq(a)}%`,height:b,borderRadius:v,...w},E=dq(e),D={width:`${uq(E)}%`,height:b,borderRadius:v,backgroundColor:m?.strokeColor};return S.createElement(`div`,{className:J(`${t}-body`,n.body,{[`${t}-body-layout-bottom`]:h===`center`&&g===`outer`}),style:{width:y>0?y:`100%`,...r.body}},S.createElement(`div`,{className:J(`${t}-rail`,n.rail),style:{...x,...r.rail}},S.createElement(`div`,{className:J(C,n.track),style:{...T,...r.track}},g===`inner`&&u),E!==void 0&&S.createElement(`div`,{className:J(C,`${C}-success`,n.track),style:{...D,...r.track}})),g===`outer`&&u)},Aq=e=>{let{classNames:t,styles:n,size:r,steps:i,rounding:a=Math.round,percent:o=0,strokeWidth:s=8,strokeColor:c,railColor:l,trailColor:u,prefixCls:d,children:f}=e,p=a(o/100*i),[m,h]=mq(r??[r===`small`?2:14,s],`step`,{steps:i,strokeWidth:s}),g=m/i,_=Array.from({length:i}),v=l??u;for(let e=0;e{let{prefixCls:n,className:r,rootClassName:i,classNames:a,styles:o,steps:s,strokeColor:c,percent:l=0,size:u=`medium`,showInfo:d=!0,type:f=`line`,status:p,format:m,style:h,percentPosition:g={},..._}=e,{align:v=`end`,type:y=`outer`}=g,b=Array.isArray(c)?c[0]:c,x=typeof c==`string`||Array.isArray(c)?c:void 0,C=S.useMemo(()=>b?new Nc(typeof b==`string`?b:Object.values(b)[0]).isLight():!1,[c]),w=S.useMemo(()=>{let t=dq(e);return Number.parseInt(t===void 0?(l??0)?.toString():(t??0)?.toString(),10)},[l,e.success]),T=S.useMemo(()=>!jq.includes(p)&&w>=100?`success`:p||`normal`,[p,w]),{getPrefixCls:E,direction:D,className:O,style:k,classNames:A,styles:j}=ya(`progress`),M=E(`progress`,n),[N,P]=Eq(M),F={...e,percent:l,type:f,size:u,showInfo:d,percentPosition:g},[I,L]=Cf([A,a],[j,o],{props:F}),R=f===`line`,z=R&&!s,B=S.useMemo(()=>{if(!d)return null;let t=dq(e),n,r=m||(e=>`${e}%`),i=R&&C&&y===`inner`;return y===`inner`||m||T!==`exception`&&T!==`success`?n=r(uq(l),uq(t)):T===`exception`?n=R?S.createElement(Ou,null):S.createElement(ju,null):T===`success`&&(n=R?S.createElement(Tu,null):S.createElement(qC,null)),S.createElement(`span`,{className:J(`${M}-indicator`,{[`${M}-indicator-bright`]:i,[`${M}-indicator-${v}`]:z,[`${M}-indicator-${y}`]:z},I.indicator),style:L.indicator,title:typeof n==`string`?n:void 0},n)},[d,l,w,T,f,M,m,R,C,y,v,z,I.indicator,L.indicator]),V={...e,classNames:I,styles:L},H;f===`line`?H=s?S.createElement(Aq,{...V,strokeColor:x,prefixCls:M,steps:nf(s)?s.count:s},B):S.createElement(kq,{...V,strokeColor:b,prefixCls:M,direction:D,percentPosition:{align:v,type:y}},B):(f===`circle`||f===`dashboard`)&&(H=S.createElement(vq,{...V,strokeColor:b,prefixCls:M,progressStatus:T},B));let U=J(M,`${M}-status-${T}`,{[`${M}-${f===`dashboard`&&`circle`||f}`]:f!==`line`,[`${M}-inline-circle`]:f===`circle`&&mq(u,`circle`)[0]<=20,[`${M}-line`]:z,[`${M}-line-align-${v}`]:z,[`${M}-line-position-${y}`]:z,[`${M}-steps`]:s,[`${M}-show-info`]:d,[`${M}-small`]:u===`small`,[`${M}-rtl`]:D===`rtl`},O,r,i,I.root,N,P);return S.createElement(`div`,{ref:t,style:{...k,...L.root,...h},className:U,role:`progressbar`,"aria-valuenow":w,"aria-valuemin":0,"aria-valuemax":100,...gi(_,[`railColor`,`trailColor`,`strokeWidth`,`width`,`gapDegree`,`gapPosition`,`gapPlacement`,`strokeLinecap`,`success`])},H)});function Nq(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=da(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}var Pq,Fq;function Iq(e,t,n){if(t<0||t>31||e>>>t)throw RangeError(`Value out of range`);for(var r=t-1;r>=0;r--)n.push(e>>>r&1)}function Lq(e,t){return(e>>>t&1)!=0}function Rq(e){if(!e)throw Error(`Assertion error`)}var zq=function(){function e(t,n){Ws(this,e),Vs(this,`modeBits`,void 0),Vs(this,`numBitsCharCount`,void 0),this.modeBits=t,this.numBitsCharCount=n}return Ks(e,[{key:`numCharCountBits`,value:function(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}}]),e}();Pq=zq,Vs(zq,`NUMERIC`,new Pq(1,[10,12,14])),Vs(zq,`ALPHANUMERIC`,new Pq(2,[9,11,13])),Vs(zq,`BYTE`,new Pq(4,[8,16,16])),Vs(zq,`KANJI`,new Pq(8,[8,10,12])),Vs(zq,`ECI`,new Pq(7,[0,0,0]));var Bq=Ks(function e(t,n){Ws(this,e),Vs(this,`ordinal`,void 0),Vs(this,`formatBits`,void 0),this.ordinal=t,this.formatBits=n});Fq=Bq,Vs(Bq,`LOW`,new Fq(0,1)),Vs(Bq,`MEDIUM`,new Fq(1,0)),Vs(Bq,`QUARTILE`,new Fq(2,3)),Vs(Bq,`HIGH`,new Fq(3,2));var Vq=function(){function e(t,n,r){if(Ws(this,e),Vs(this,`mode`,void 0),Vs(this,`numChars`,void 0),Vs(this,`bitData`,void 0),this.mode=t,this.numChars=n,this.bitData=r,n<0)throw RangeError(`Invalid argument`);this.bitData=r.slice()}return Ks(e,[{key:`getData`,value:function(){return this.bitData.slice()}}],[{key:`makeBytes`,value:function(t){var n=[],r=Nq(t),i;try{for(r.s();!(i=r.n()).done;){var a=i.value;Iq(a,8,n)}}catch(e){r.e(e)}finally{r.f()}return new e(zq.BYTE,t.length,n)}},{key:`makeNumeric`,value:function(t){if(!e.isNumeric(t))throw RangeError(`String contains non-numeric characters`);for(var n=[],r=0;r=1<e.MAX_VERSION)throw RangeError(`Version value out of range`);if(a<-1||a>7)throw RangeError(`Mask value out of range`);this.size=t*4+17;for(var o=[],s=0;s>>9)*1335;var i=(t<<10|n)^21522;Rq(i>>>15==0);for(var a=0;a<=5;a++)this.setFunctionModule(8,a,Lq(i,a));this.setFunctionModule(8,7,Lq(i,6)),this.setFunctionModule(8,8,Lq(i,7)),this.setFunctionModule(7,8,Lq(i,8));for(var o=9;o<15;o++)this.setFunctionModule(14-o,8,Lq(i,o));for(var s=0;s<8;s++)this.setFunctionModule(this.size-1-s,8,Lq(i,s));for(var c=8;c<15;c++)this.setFunctionModule(8,this.size-15+c,Lq(i,c));this.setFunctionModule(8,this.size-8,!0)}},{key:`drawVersion`,value:function(){if(!(this.version<7)){for(var e=this.version,t=0;t<12;t++)e=e<<1^(e>>>11)*7973;var n=this.version<<12|e;Rq(n>>>18==0);for(var r=0;r<18;r++){var i=Lq(n,r),a=this.size-11+r%3,o=Math.floor(r/3);this.setFunctionModule(a,o,i),this.setFunctionModule(o,a,i)}}}},{key:`drawFinderPattern`,value:function(e,t){for(var n=-4;n<=4;n++)for(var r=-4;r<=4;r++){var i=Math.max(Math.abs(r),Math.abs(n)),a=e+r,o=t+n;0<=a&&a=s)&&h.push(t[e])})},_=0;_=1;r-=2){r==6&&(r=5);for(var i=0;i>>3],7-(n&7)),n++)}}Rq(n==t.length*8)}},{key:`applyMask`,value:function(e){if(e<0||e>7)throw RangeError(`Mask value out of range`);for(var t=0;t5&&t++):(this.finderPenaltyAddHistory(i,a),r||(t+=this.finderPenaltyCountPatterns(a)*e.PENALTY_N3),r=this.modules[n][o],i=1);t+=this.finderPenaltyTerminateAndCount(r,i,a)*e.PENALTY_N3}for(var s=0;s5&&t++):(this.finderPenaltyAddHistory(l,u),c||(t+=this.finderPenaltyCountPatterns(u)*e.PENALTY_N3),c=this.modules[d][s],l=1);t+=this.finderPenaltyTerminateAndCount(c,l,u)*e.PENALTY_N3}for(var f=0;f0&&e[2]==t&&e[3]==t*3&&e[4]==t&&e[5]==t;return(n&&e[0]>=t*4&&e[6]>=t?1:0)+(n&&e[6]>=t*4&&e[0]>=t?1:0)}},{key:`finderPenaltyTerminateAndCount`,value:function(e,t,n){var r=t;return e&&(this.finderPenaltyAddHistory(r,n),r=0),r+=this.size,this.finderPenaltyAddHistory(r,n),this.finderPenaltyCountPatterns(n)}},{key:`finderPenaltyAddHistory`,value:function(e,t){var n=e;t[0]==0&&(n+=this.size),t.pop(),t.unshift(n)}}],[{key:`encodeText`,value:function(t,n){var r=Vq.makeSegments(t);return e.encodeSegments(r,n)}},{key:`encodeBinary`,value:function(t,n){var r=Vq.makeBytes(t);return e.encodeSegments([r],n)}},{key:`encodeSegments`,value:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:40,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1,o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;if(!(e.MIN_VERSION<=r&&r<=i&&i<=e.MAX_VERSION)||a<-1||a>7)throw RangeError(`Invalid value`);var s,c;for(s=r;;s++){var l=e.getNumDataCodewords(s,n)*8,u=Vq.getTotalBits(t,s);if(u<=l){c=u;break}if(s>=i)throw RangeError(`Data too long`)}for(var d=n,f=0,p=[Bq.MEDIUM,Bq.QUARTILE,Bq.HIGH];f>>3]|=e<<7-(t&7)}),new e(s,d,w,a)}},{key:`getNumRawDataModules`,value:function(t){if(te.MAX_VERSION)throw RangeError(`Version number out of range`);var n=(16*t+128)*t+64;if(t>=2){var r=Math.floor(t/7)+2;n-=(25*r-10)*r-55,t>=7&&(n-=36)}return Rq(208<=n&&n<=29648),n}},{key:`getNumDataCodewords`,value:function(t,n){return Math.floor(e.getNumRawDataModules(t)/8)-e.ECC_CODEWORDS_PER_BLOCK[n.ordinal][t]*e.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][t]}},{key:`reedSolomonComputeDivisor`,value:function(t){if(t<1||t>255)throw RangeError(`Degree out of range`);for(var n=[],r=0;r>>8||t>>>8)throw RangeError(`Byte out of range`);for(var n=0,r=7;r>=0;r--)n=n<<1^(n>>>7)*285,n^=(t>>>r&1)*e;return Rq(n>>>8==0),n}}]),e}();Vs(Hq,`MIN_VERSION`,1),Vs(Hq,`MAX_VERSION`,40),Vs(Hq,`PENALTY_N1`,3),Vs(Hq,`PENALTY_N2`,3),Vs(Hq,`PENALTY_N3`,40),Vs(Hq,`PENALTY_N4`,10),Vs(Hq,`ECC_CODEWORDS_PER_BLOCK`,[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]]),Vs(Hq,`NUM_ERROR_CORRECTION_BLOCKS`,[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]]);var Uq={L:Bq.LOW,M:Bq.MEDIUM,Q:Bq.QUARTILE,H:Bq.HIGH},Wq=`#FFFFFF`,Gq=`#000000`,Kq=.1,qq=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=[];return e.forEach(function(e,r){var i=null;e.forEach(function(a,o){if(!a&&i!==null){n.push(`M${i+t} ${r+t}h${o-i}v1H${i+t}z`),i=null;return}if(o===e.length-1){if(!a)return;i===null?n.push(`M${o+t},${r+t} h1v1H${o+t}z`):n.push(`M${i+t},${r+t} h${o+1-i}v1H${i+t}z`);return}a&&i===null&&(i=o)})}),n.join(``)},Jq=function(e,t){return e.slice().map(function(e,n){return n=t.y+t.h?e:e.map(function(e,n){return n=t.x+t.w?e:!1})})},Yq=function(e,t,n,r){if(r==null)return null;var i=e.length+n*2,a=Math.floor(t*Kq),o=i/t,s=(r.width||a)*o,c=(r.height||a)*o,l=r.x==null?e.length/2-s/2:r.x*o,u=r.y==null?e.length/2-c/2:r.y*o,d=r.opacity==null?1:r.opacity,f=null;if(r.excavate){var p=Math.floor(l),m=Math.floor(u);f={x:p,y:m,w:Math.ceil(s+l-p),h:Math.ceil(c+u-m)}}var h=r.crossOrigin;return{x:l,y:u,h:c,w:s,excavation:f,opacity:d,crossOrigin:h}},Xq=function(e,t){return t==null?e?4:0:Math.max(Math.floor(t),0)},Zq=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}(),Qq=function(e){var t=e.value,n=e.level,r=e.minVersion,i=e.includeMargin,a=e.marginSize,o=e.imageSettings,s=e.size,c=e.boostLevel,l=S.useMemo(function(){var e=(Array.isArray(t)?t:[t]).reduce(function(e,t){return e.push.apply(e,pa(Vq.makeSegments(t))),e},[]);return Hq.encodeSegments(e,Uq[n],r,void 0,void 0,c)},[t,n,r,c]);return S.useMemo(function(){var e=l.getModules(),t=Xq(i,a);return{cells:e,margin:t,numCells:e.length+t*2,calculatedImageSettings:Yq(e,s,t,o),qrcode:l}},[l,s,o,i,a])},$q=[`value`,`size`,`level`,`bgColor`,`fgColor`,`includeMargin`,`minVersion`,`marginSize`,`style`,`imageSettings`,`boostLevel`],eJ=S.forwardRef(function(e,t){var n=e.value,r=e.size,i=r===void 0?128:r,a=e.level,o=a===void 0?`L`:a,s=e.bgColor,c=s===void 0?Wq:s,l=e.fgColor,u=l===void 0?Gq:l,d=e.includeMargin,f=d===void 0?!1:d,p=e.minVersion,m=p===void 0?1:p,h=e.marginSize,g=e.style,_=e.imageSettings,v=e.boostLevel,y=sR(e,$q),b=_?.src,x=S.useRef(null),C=S.useRef(null),w=S.useCallback(function(e){x.current=e,typeof t==`function`?t(e):t&&(t.current=e)},[t]),T=Rs(S.useState(!1),2)[1],E=Qq({value:n,level:o,minVersion:m,includeMargin:f,marginSize:h,imageSettings:_,size:i,boostLevel:v}),D=E.margin,O=E.cells,k=E.numCells,A=E.calculatedImageSettings;S.useEffect(function(){if(x.current){var e=x.current,t=e.getContext(`2d`);if(!t)return;var n=O,r=C.current,a=A!=null&&r!==null&&r.complete&&r.naturalHeight!==0&&r.naturalWidth!==0;a&&A.excavation!=null&&(n=Jq(O,A.excavation));var o=window.devicePixelRatio||1;e.height=e.width=i*o;var s=i/k*o;t.scale(s,s),t.fillStyle=c,t.fillRect(0,0,k,k),t.fillStyle=u,Zq?t.fill(new Path2D(qq(n,D))):O.forEach(function(e,n){e.forEach(function(e,r){e&&t.fillRect(r+D,n+D,1,1)})}),A&&(t.globalAlpha=A.opacity),a&&t.drawImage(r,A.x+D,A.y+D,A.w,A.h)}}),S.useEffect(function(){T(!1)},[b]);var j=Us({height:i,width:i},g),M=null;return b!=null&&(M=S.createElement(`img`,{alt:`QR-Code`,src:b,key:b,style:{display:`none`},onLoad:function(){T(!0)},ref:C,crossOrigin:A?.crossOrigin})),S.createElement(S.Fragment,null,S.createElement(`canvas`,Bg({style:j,height:i,width:i,ref:w,role:`img`},y)),M)}),tJ=[`value`,`size`,`level`,`bgColor`,`fgColor`,`includeMargin`,`minVersion`,`title`,`marginSize`,`imageSettings`,`boostLevel`],nJ=S.forwardRef(function(e,t){var n=e.value,r=e.size,i=r===void 0?128:r,a=e.level,o=a===void 0?`L`:a,s=e.bgColor,c=s===void 0?Wq:s,l=e.fgColor,u=l===void 0?Gq:l,d=e.includeMargin,f=d===void 0?!1:d,p=e.minVersion,m=p===void 0?1:p,h=e.title,g=e.marginSize,_=e.imageSettings,v=e.boostLevel,y=sR(e,tJ),b=Qq({value:n,level:o,minVersion:m,includeMargin:f,marginSize:g,imageSettings:_,size:i,boostLevel:v}),x=b.margin,C=b.cells,w=b.numCells,T=b.calculatedImageSettings,E=C,D=null;_!=null&&T!=null&&(T.excavation!=null&&(E=Jq(C,T.excavation)),D=S.createElement(`image`,{href:_.src,height:T.h,width:T.w,x:T.x+x,y:T.y+x,preserveAspectRatio:`none`,opacity:T.opacity,crossOrigin:T.crossOrigin}));var O=qq(E,x);return S.createElement(`svg`,Bg({height:i,width:i,viewBox:`0 0 ${w} ${w}`,ref:t,role:`img`},y),!!h&&S.createElement(`title`,null,h),S.createElement(`path`,{fill:c,d:`M0,0 h${w}v${w}H0z`,shapeRendering:`crispEdges`}),S.createElement(`path`,{fill:u,d:O,shapeRendering:`crispEdges`}),D)}),rJ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z`}}]},name:`reload`,theme:`outlined`}}))());function iJ(){return iJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,iJ({},e,{ref:t,icon:rJ.default}))),oJ=S.createElement(wK,null);function sJ({prefixCls:e,locale:t,onRefresh:n,statusRender:r,status:i}){let a={expired:S.createElement(S.Fragment,null,S.createElement(`p`,{className:`${e}-expired`},t?.expired),n&&S.createElement(m_,{type:`link`,icon:S.createElement(aJ,null),onClick:n},t?.refresh)),loading:oJ,scanned:S.createElement(`p`,{className:`${e}-scanned`},t?.scanned)};return(r??(e=>a[e.status]))({status:i,locale:t,onRefresh:n})}var cJ=e=>{let{componentCls:t,lineWidth:n,lineType:r,colorSplit:i}=e;return{[t]:{...Ul(e),display:`flex`,justifyContent:`center`,alignItems:`center`,padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${Y(n)} ${r} ${i}`,position:`relative`,overflow:`hidden`,[`& > ${t}-cover`]:{position:`absolute`,insetBlockStart:0,insetInlineStart:0,zIndex:10,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,width:`100%`,height:`100%`,color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeCoverBackgroundColor,textAlign:`center`,[`& > ${t}-expired, & > ${t}-scanned`]:{color:e.QRCodeTextColor}},"> canvas":{alignSelf:`stretch`,flex:`auto`,minWidth:0},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}},[`${t}-borderless`]:{borderColor:`transparent`,padding:0,borderRadius:0}}},lJ=Ql(`QRCode`,e=>cJ(dc(e,{QRCodeTextColor:e.colorText})),e=>({QRCodeCoverBackgroundColor:new Nc(e.colorBgContainer).setA(.96).toRgbString()})),uJ=e=>{let[,t]=Vl(),{value:n,type:r=`canvas`,icon:i=``,size:a=160,iconSize:o,color:s=t.colorText,errorLevel:c=`M`,status:l=`active`,bordered:u=!0,onRefresh:d,style:f,className:p,rootClassName:m,prefixCls:h,bgColor:g=`transparent`,marginSize:_,statusRender:v,classNames:y,styles:b,boostLevel:x,...C}=e,{getPrefixCls:w,className:T,style:E,classNames:D,styles:O}=ya(`qrcode`),k={...e,bgColor:g,type:r,size:a,status:l,bordered:u,errorLevel:c},[A,j]=Cf([D,y],[O,b],{props:k}),M=w(`qrcode`,h),[N,P]=lJ(M),F={src:i,x:void 0,y:void 0,height:ef(o)?o:o?.height??40,width:ef(o)?o:o?.width??40,excavate:!0,crossOrigin:`anonymous`},I=xi(C,!0),L=gi(C,Object.keys(I)),R={value:n,size:a,level:c,bgColor:g,fgColor:s,style:{width:f?.width,height:f?.height},imageSettings:i?F:void 0,marginSize:_,boostLevel:x,...I},[z]=Yd(`QRCode`);if(!n)return null;let B=J(M,p,m,N,P,T,A.root,{[`${M}-borderless`]:!u}),V={backgroundColor:g,...j.root,...E,...f,width:f?.width??a,height:f?.height??a};return S.createElement(`div`,{...L,className:B,style:V},l!==`active`&&S.createElement(`div`,{className:J(`${M}-cover`,A.cover),style:j.cover},S.createElement(sJ,{prefixCls:M,locale:z,status:l,onRefresh:d,statusRender:v})),r===`canvas`?S.createElement(eJ,{...R}):S.createElement(nJ,{...R}))},dJ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z`}}]},name:`star`,theme:`filled`}}))());function fJ(){return fJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,fJ({},e,{ref:t,icon:dJ.default}))),mJ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`warning`,theme:`filled`}}))());function hJ(){return hJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,hJ({},e,{ref:t,icon:mJ.default}))),_J=()=>S.createElement(`svg`,{width:`252`,height:`294`},S.createElement(`title`,null,`No Found`),S.createElement(`g`,{fill:`none`,fillRule:`evenodd`},S.createElement(`circle`,{cx:`126.75`,cy:`128.1`,r:`126`,fill:`#E4EBF7`}),S.createElement(`circle`,{cx:`31.55`,cy:`130.8`,r:`8.3`,fill:`#FFF`}),S.createElement(`path`,{stroke:`#FFF`,d:`m37 134.3 10.5 6m.9 6.2-12.7 10.8`,strokeWidth:`2`}),S.createElement(`path`,{fill:`#FFF`,d:`M39.9 159.4a5.7 5.7 0 1 1-11.3-1.2 5.7 5.7 0 0 1 11.3 1.2m17.7-16.2a5.7 5.7 0 1 1-11.4-1.1 5.7 5.7 0 0 1 11.4 1.1M99 27h29.8a4.6 4.6 0 1 0 0-9.2H99a4.6 4.6 0 1 0 0 9.2m11.4 18.3h29.8a4.6 4.6 0 0 0 0-9.2h-29.8a4.6 4.6 0 1 0 0 9.2`}),S.createElement(`path`,{fill:`#FFF`,d:`M112.8 26.9h15.8a4.6 4.6 0 1 0 0 9.1h-15.8a4.6 4.6 0 0 0 0-9.1m71.7 108.8a10 10 0 1 1-19.8-2 10 10 0 0 1 19.8 2`}),S.createElement(`path`,{stroke:`#FFF`,d:`m179.3 141.8 12.6 7.1m1.1 7.6-15.2 13`,strokeWidth:`2`}),S.createElement(`path`,{fill:`#FFF`,d:`M184.7 170a6.8 6.8 0 1 1-13.6-1.3 6.8 6.8 0 0 1 13.6 1.4m18.6-16.8a6.9 6.9 0 1 1-13.7-1.4 6.9 6.9 0 0 1 13.7 1.4`}),S.createElement(`path`,{stroke:`#FFF`,d:`M152 192.3a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.4 0zm73.3-76.2a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0zm-9 35a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.5 0zM177 107.6a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm18.4-15.4a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0zm6.8 88.5a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0z`,strokeWidth:`2`}),S.createElement(`path`,{stroke:`#FFF`,d:`m214.4 153.3-2 20.2-10.8 6m-28-4.7-6.3 9.8H156l-4.5 6.5m23.5-66v-15.7m46 7.8-13 8-15.2-8V94.4`,strokeWidth:`2`}),S.createElement(`path`,{fill:`#FFF`,d:`M166.6 66h-4a4.8 4.8 0 0 1-4.7-4.8 4.8 4.8 0 0 1 4.7-4.7h4a4.8 4.8 0 0 1 4.7 4.7 4.8 4.8 0 0 1-4.7 4.7`}),S.createElement(`circle`,{cx:`204.3`,cy:`30`,r:`29.5`,fill:`#1677ff`}),S.createElement(`path`,{fill:`#FFF`,d:`M206 38.4c.5.5.7 1.1.7 2s-.2 1.4-.7 1.9a3 3 0 0 1-2 .7c-.8 0-1.5-.3-2-.8s-.8-1.1-.8-1.9.3-1.4.8-2c.5-.4 1.2-.7 2-.7.7 0 1.4.3 2 .8m4.2-19.5c1.5 1.3 2.2 3 2.2 5.2a7.2 7.2 0 0 1-1.5 4.5l-3 2.7a5 5 0 0 0-1.3 1.7 5.2 5.2 0 0 0-.6 2.4v.5h-4v-.5c0-1.4.1-2.5.6-3.5s1.9-2.5 4.2-4.5l.4-.5a4 4 0 0 0 1-2.6c0-1.2-.4-2-1-2.8-.7-.6-1.6-1-2.9-1-1.5 0-2.6.5-3.3 1.5-.4.5-.6 1-.8 1.9a2 2 0 0 1-2 1.6 2 2 0 0 1-2-2.4c.4-1.6 1-2.8 2.1-3.8a8.5 8.5 0 0 1 6.3-2.3c2.3 0 4.2.6 5.6 2`}),S.createElement(`path`,{fill:`#FFB594`,d:`M52 76.1s21.8 5.4 27.3 16c5.6 10.7-6.3 9.2-15.7 5C52.8 92 39 85 52 76`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`m90.5 67.5-.5 2.9c-.7.5-4.7-2.7-4.7-2.7l-1.7.8-1.3-5.7s6.8-4.6 9-5c2.4-.5 9.8 1 10.6 2.3 0 0 1.3.4-2.2.6-3.6.3-5 .5-6.8 3.2l-2.4 3.6`}),S.createElement(`path`,{fill:`#FFF`,d:`M128 111.4a36.7 36.7 0 0 0-8.9-15.5c-3.5-3-9.3-2.2-11.3-4.2-1.3-1.2-3.2-1.2-3.2-1.2L87.7 87c-2.3-.4-2.1-.7-6-1.4-1.6-1.9-3-1.1-3-1.1l-7-1.4c-1-1.5-2.5-1-2.5-1l-2.4-.9C65 91.2 59 95 59 95c1.8 1.1 15.7 8.3 15.7 8.3l5.1 37.1s-3.3 5.7 1.4 9.1c0 0 19.9-3.7 34.9-.3 0 0 3-2.6 1-8.8.5-3 1.4-8.3 1.7-11.6.4.7 2 1.9 3.1 3.4 0 0 9.4-7.3 11-14a17 17 0 0 1-2.2-2.4c-.5-.8-.3-2-.7-2.8-.7-1-1.8-1.3-2-1.6`}),S.createElement(`path`,{fill:`#CBD1D1`,d:`M101 290s4.4 2 7.4 1c2.9-1 4.6.7 7.1 1.2 2.6.5 6.9 1.1 11.7-1.3 0-5.5-6.9-4-12-6.7-2.5-1.4-3.7-4.7-3.5-8.8h-9.5s-1.2 10.6-1 14.6`}),S.createElement(`path`,{fill:`#2B0849`,d:`M101 289.8s2.5 1.3 6.8.7c3-.5 3.7.5 7.4 1 3.8.6 10.8 0 11.9-.9.4 1.1-.4 2-.4 2s-1.5.7-4.8.9c-2 .1-5.8.3-7.6-.5-1.8-1.4-5.2-1.9-5.7-.2-4 1-7.4-.3-7.4-.3l-.1-2.7z`}),S.createElement(`path`,{fill:`#A4AABA`,d:`M108.3 276h3.1s0 6.7 4.6 8.6c-4.7.6-8.6-2.3-7.7-8.6`}),S.createElement(`path`,{fill:`#CBD1D1`,d:`M57.5 272.4s-2 7.4-4.4 12.3c-1.8 3.7-4.3 7.5 5.4 7.5 6.7 0 9-.5 7.4-6.6-1.5-6.1.3-13.2.3-13.2h-8.7z`}),S.createElement(`path`,{fill:`#2B0849`,d:`M51.5 289.8s2 1.2 6.6 1.2c6 0 8.3-1.7 8.3-1.7s.6 1.1-.7 2.2c-1 .8-3.6 1.6-7.4 1.5-4.1 0-5.8-.5-6.7-1.1-.8-.6-.7-1.6-.1-2.1`}),S.createElement(`path`,{fill:`#A4AABA`,d:`M58.4 274.3s0 1.5-.3 3c-.3 1.4-1 3-1.1 4 0 1.2 4.5 1.7 5.1.1.6-1.5 1.3-6.4 2-7.2.6-.9-5-2.2-5.7.1`}),S.createElement(`path`,{fill:`#7BB2F9`,d:`m99.7 278.5 13.3.1s1.3-54.5 1.9-64.4c.5-9.9 3.8-43.4 1-63.1l-12.6-.7-22.8.8-1.2 10c0 .5-.7.8-.7 1.4-.1.5.4 1.3.3 2-2.4 14-6.4 33-8.8 46.6 0 .7-1.2 1-1.4 2.7 0 .3.2 1.5 0 1.8-6.8 18.7-10.9 47.8-14.2 61.9h14.6s2.2-8.6 4-17c2.9-12.9 23.2-85 23.2-85l3-.5 1 46.3s-.2 1.2.4 2c.5.8-.6 1.1-.4 2.3l.4 1.8-1 11.8c-.4 4.8 0 39.2 0 39.2`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M76 221.6c1.2.1 4.1-2 7-5m23.4 8.5s2.7-1 6-3.8`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M107.3 222.1s2.7-1.1 6-3.9`,strokeLinecap:`round`,strokeLinejoin:`round`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M74.7 224.8s2.7-.6 6.5-3.4m4.8-69.8c-.2 3.1.3 8.6-4.3 9.2m22-11s0 14-1.4 15.1a15 15 0 0 1-3 2m.5-16.5s0 13-1.2 24.4m-5 1.1s7.3-1.7 9.5-1.7M74.3 206a212 212 0 0 1-1 4.5s-1.4 1.9-1 3.8c.5 2-1 2-5 15.4A353 353 0 0 0 61 257l-.2 1.2m14.9-60.5a321 321 0 0 1-.9 4.8m7.8-50.4-1.2 10.5s-1.1.1-.5 2.2c.1 1.4-2.7 15.8-5.2 30.5m-19.6 79h13.3`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#192064`,d:`M116.2 148.2s-17-3-35.9.2c.2 2.5 0 4.2 0 4.2s14.7-2.8 35.7-.3c.3-2.4.2-4 .2-4`}),S.createElement(`path`,{fill:`#FFF`,d:`M106.3 151.2v-5a.8.8 0 0 0-.8-.8h-7.8a.8.8 0 0 0-.8.8v5a.8.8 0 0 0 .8.8h7.8a.8.8 0 0 0 .8-.8`}),S.createElement(`path`,{fill:`#192064`,d:`M105.2 150.2v-3a.6.6 0 0 0-.6-.7 94.3 94.3 0 0 0-5.9 0 .7.7 0 0 0-.6.6v3.1a.6.6 0 0 0 .6.7 121.1 121.1 0 0 1 5.8 0c.4 0 .7-.3.7-.7`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M100.3 275.4h12.3m-11.2-4.9.1 6.5m0-12.5a915.8 915.8 0 0 0 0 4.4m-.5-94 .9 44.7s.7 1.6-.2 2.7c-1 1.1 2.4.7.9 2.2-1.6 1.6.9 1.2 0 3.4-.6 1.5-1 21.1-1.1 35.2`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M46.9 83.4s-.5 6 7.2 5.6c11.2-.7 9.2-9.4 31.5-21.7-.7-2.7-2.4-4.7-2.4-4.7s-11 3-22.6 8c-6.8 3-13.4 6.4-13.7 12.8m57.6 7.7.9-5.4-8.9-11.4-5 5.3-1.8 7.9a.3.3 0 0 0 .1.3c1 .8 6.5 5 14.4 3.5a.3.3 0 0 0 .3-.2`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M94 79.4s-4.6-2.9-2.5-6.9c1.6-3 4.5 1.2 4.5 1.2s.5-3.7 3.1-3.7c.6-1 1.6-4.1 1.6-4.1l13.5 3c0 5.3-2.3 19.5-7.8 20-8.9.6-12.5-9.5-12.5-9.5`}),S.createElement(`path`,{fill:`#520038`,d:`M113.9 73.4c2.6-2 3.4-9.7 3.4-9.7s-2.4-.5-6.6-2c-4.7-2.1-12.8-4.8-17.5 1-9.6 3.2-2 19.8-2 19.8l2.7-3s-4-3.3-2-6.3c2-3.5 3.8 1 3.8 1s.7-2.3 3.6-3.3c.4-.7 1-2.6 1.4-3.8a1 1 0 0 1 1.3-.7l11.4 2.6c.5.2.8.7.8 1.2l-.3 3.2z`}),S.createElement(`path`,{fill:`#552950`,d:`M105 76c-.1.7-.6 1.1-1 1-.6 0-.9-.6-.8-1.2.1-.6.6-1 1-1 .6 0 .9.7.8 1.3m7.1 1.6c0 .6-.5 1-1 1-.5-.1-.8-.7-.7-1.3 0-.6.5-1 1-1 .5.1.8.7.7 1.3`}),S.createElement(`path`,{stroke:`#DB836E`,d:`m110.1 74.8-.9 1.7-.3 4.3h-2.2`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#5C2552`,d:`M110.8 74.5s1.8-.7 2.6.5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M92.4 74.3s.5-1.1 1.1-.7c.6.4 1.3 1.4.6 2-.8.5.1 1.6.1 1.6`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#5C2552`,d:`M103.3 73s1.8 1 4.1.9`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M103.7 81.8s2.2 1.2 4.4 1.2m-3.5 1.3s1 .4 1.6.3m-11.5-3.4s2.3 7.4 10.4 7.6`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M81.5 89.4s.4 5.6-5 12.8M69 82.7s-.7 9.2-8.2 14.2m68.6 26s-5.3 7.4-9.4 10.7m-.7-26.3s.5 4.4-2.1 32`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#F2D7AD`,d:`M150 151.2h-49.8a1 1 0 0 1-1-1v-31.7c0-.5.4-1 1-1H150c.6 0 1 .5 1 1v31.7a1 1 0 0 1-1 1`}),S.createElement(`path`,{fill:`#F4D19D`,d:`M150.3 151.2h-19.9v-33.7h20.8v32.8a1 1 0 0 1-1 1`}),S.createElement(`path`,{fill:`#F2D7AD`,d:`M123.6 127.9H92.9a.5.5 0 0 1-.4-.8l6.4-9.1c.2-.3.5-.5.8-.5h31.1l-7.2 10.4z`}),S.createElement(`path`,{fill:`#CC9B6E`,d:`M123.7 128.4H99.2v-.5h24.2l7.2-10.2.4.3z`}),S.createElement(`path`,{fill:`#F4D19D`,d:`M158.3 127.9h-18.7a2 2 0 0 1-1.6-.8l-7.2-9.6h20c.5 0 1 .3 1.2.6l6.7 9a.5.5 0 0 1-.4.8`}),S.createElement(`path`,{fill:`#CC9B6E`,d:`M157.8 128.5h-19.3l-7.9-10.5.4-.3 7.7 10.3h19.1zm-27.2 22.2v-8.2h.4v8.2zm-.1-10.9v-21.4h.4l.1 21.4zm-18.6 1.1-.5-.1 1.5-5.2.5.2zm-3.5.2-2.6-3 2.6-3.4.4.3-2.4 3.1 2.4 2.6zm8.2 0-.4-.4 2.4-2.6-2.4-3 .4-.4 2.7 3.4z`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`m154.3 131.9-3.1-2v3.5l-1 .1a85 85 0 0 1-4.8.3c-1.9 0-2.7 2.2 2.2 2.6l-2.6-.6s-2.2 1.3.5 2.3c0 0-1.6 1.2.6 2.6-.6 3.5 5.2 4 7 3.6a6.1 6.1 0 0 0 4.6-5.2 8 8 0 0 0-3.4-7.2`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M153.7 133.6s-6.5.4-8.4.3c-1.8 0-1.9 2.2 2.4 2.3 3.7.2 5.4 0 5.4 0`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M145.2 135.9c-1.9 1.3.5 2.3.5 2.3s3.5 1 6.8.6m-.6 2.9s-6.3.1-6.7-2.1c-.3-1.4.4-1.4.4-1.4m.5 2.7s-1 3.1 5.5 3.5m-.4-14.5v3.5M52.8 89.3a18 18 0 0 0 13.6-7.8`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#5BA02E`,d:`M168.6 248.3a6.6 6.6 0 0 1-6.7-6.6v-66.5a6.6 6.6 0 1 1 13.3 0v66.5a6.6 6.6 0 0 1-6.6 6.6`}),S.createElement(`path`,{fill:`#92C110`,d:`M176.5 247.7a6.6 6.6 0 0 1-6.6-6.7v-33.2a6.6 6.6 0 1 1 13.3 0V241a6.6 6.6 0 0 1-6.7 6.7`}),S.createElement(`path`,{fill:`#F2D7AD`,d:`M186.4 293.6H159a3.2 3.2 0 0 1-3.2-3.2v-46.1a3.2 3.2 0 0 1 3.2-3.2h27.5a3.2 3.2 0 0 1 3.2 3.2v46.1a3.2 3.2 0 0 1-3.2 3.2`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M89 89.5s7.8 5.4 16.6 2.8`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}))),vJ=()=>S.createElement(`svg`,{width:`254`,height:`294`},S.createElement(`title`,null,`Server Error`),S.createElement(`g`,{fill:`none`,fillRule:`evenodd`},S.createElement(`path`,{fill:`#E4EBF7`,d:`M0 128.1v-2C0 56.5 56.3.2 125.7.2h2.1C197.2.3 253.5 56.6 253.5 126v2.1c0 69.5-56.3 125.7-125.7 125.7h-2.1A125.7 125.7 0 0 1 0 128.1`}),S.createElement(`path`,{fill:`#FFF`,d:`M40 132.1a8.3 8.3 0 1 1-16.6-1.7 8.3 8.3 0 0 1 16.6 1.7`}),S.createElement(`path`,{stroke:`#FFF`,d:`m37.2 135.6 10.5 6m1 6.3-12.8 10.8`,strokeWidth:`2`}),S.createElement(`path`,{fill:`#FFF`,d:`M40.1 160.8a5.7 5.7 0 1 1-11.3-1.1 5.7 5.7 0 0 1 11.3 1.1M58 144.6a5.7 5.7 0 1 1-11.4-1.2 5.7 5.7 0 0 1 11.4 1.2M99.7 27.4h30a4.6 4.6 0 1 0 0-9.2h-30a4.6 4.6 0 0 0 0 9.2M111 46h30a4.6 4.6 0 1 0 0-9.3h-30a4.6 4.6 0 1 0 0 9.3m2.5-18.6h16a4.6 4.6 0 1 0 0 9.3h-16a4.6 4.6 0 0 0 0-9.3m36.7 42.7h-4a4.8 4.8 0 0 1-4.8-4.8 4.8 4.8 0 0 1 4.8-4.8h4a4.8 4.8 0 0 1 4.7 4.8 4.8 4.8 0 0 1-4.7 4.8`}),S.createElement(`circle`,{cx:`201.35`,cy:`30.2`,r:`29.7`,fill:`#FF603B`}),S.createElement(`path`,{fill:`#FFF`,d:`m203.6 19.4-.7 15a1.5 1.5 0 0 1-3 0l-.7-15a2.2 2.2 0 1 1 4.4 0m-.3 19.4c.5.5.8 1.1.8 1.9s-.3 1.4-.8 1.9a3 3 0 0 1-2 .7 2.5 2.5 0 0 1-1.8-.7c-.6-.6-.8-1.2-.8-2 0-.7.2-1.3.8-1.8.5-.5 1.1-.7 1.8-.7.8 0 1.5.2 2 .7`}),S.createElement(`path`,{fill:`#FFB594`,d:`M119.3 133.3c4.4-.6 3.6-1.2 4-4.8.8-5.2-3-17-8.2-25.1-1-10.7-12.6-11.3-12.6-11.3s4.3 5 4.2 16.2c1.4 5.3.8 14.5.8 14.5s5.3 11.4 11.8 10.5`}),S.createElement(`path`,{fill:`#FFF`,d:`M101 91.6s1.4-.6 3.2.6c8 1.4 10.3 6.7 11.3 11.4 1.8 1.2 1.8 2.3 1.8 3.5l1.5 3s-7.2 1.7-11 6.7c-1.3-6.4-6.9-25.2-6.9-25.2`}),S.createElement(`path`,{fill:`#FFB594`,d:`m94 90.5 1-5.8-9.2-11.9-5.2 5.6-2.6 9.9s8.4 5 16 2.2`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M83 78.2s-4.6-2.9-2.5-6.9c1.6-3 4.5 1.2 4.5 1.2s.5-3.7 3.2-3.7c.5-1 1.5-4.2 1.5-4.2l13.6 3.2c0 5.2-2.3 19.5-7.9 20-8.9.6-12.5-9.6-12.5-9.6`}),S.createElement(`path`,{fill:`#520038`,d:`M103 72.2c2.6-2 3.5-9.7 3.5-9.7s-2.5-.5-6.7-2c-4.7-2.2-12.9-4.9-17.6.9-9.5 4.4-2 20-2 20l2.7-3.1s-4-3.3-2.1-6.3c2.2-3.5 4 1 4 1s.6-2.3 3.5-3.3c.4-.7 1-2.7 1.5-3.8A1 1 0 0 1 91 65l11.5 2.7c.5.1.8.6.8 1.2l-.3 3.2z`}),S.createElement(`path`,{fill:`#552950`,d:`M101.2 76.5c0 .6-.6 1-1 1-.5-.1-.9-.7-.8-1.3.1-.6.6-1 1.1-1 .5.1.8.7.7 1.3m-7-1.4c0 .6-.5 1-1 1-.5-.1-.8-.7-.7-1.3 0-.6.6-1 1-1 .5.1.9.7.8 1.3`}),S.createElement(`path`,{stroke:`#DB836E`,d:`m99.2 73.6-.9 1.7-.3 4.3h-2.2`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#5C2552`,d:`M100 73.3s1.7-.7 2.4.5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M81.4 73s.4-1 1-.6c.7.4 1.4 1.4.6 2s.2 1.6.2 1.6`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#5C2552`,d:`M92.3 71.7s1.9 1.1 4.2 1`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M92.7 80.6s2.3 1.2 4.4 1.2m-3.4 1.4s1 .4 1.5.3M83.7 80s1.8 6.6 9.2 8`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M95.5 91.7s-1 2.8-8.2 2c-7.3-.6-10.3-5-10.3-5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#FFF`,d:`M78.1 87.5s6.6 5 16.5 2.5c0 0 9.6 1 11.5 5.3 5.4 11.8.6 36.8 0 40 3.5 4-.4 8.4-.4 8.4-15.7-3.5-35.8-.6-35.8-.6-4.9-3.5-1.3-9-1.3-9l-6.2-23.8c-2.5-15.2.8-19.8 3.5-20.7 3-1 8-1.3 8-1.3.6 0 1.1 0 1.4-.2 2.4-1.3 2.8-.6 2.8-.6`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M65.8 89.8s-6.8.5-7.6 8.2c-.4 8.8 3 11 3 11s6.1 22 16.9 22.9c8.4-2.2 4.7-6.7 4.6-11.4-.2-11.3-7-17-7-17s-4.3-13.7-9.9-13.7`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M71.7 124.2s.9 11.3 9.8 6.5c4.8-2.5 7.6-13.8 9.8-22.6A201 201 0 0 0 94 96l-5-1.7s-2.4 5.6-7.7 12.3c-4.4 5.5-9.2 11.1-9.5 17.7`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M108.5 105.2s1.7 2.7-2.4 30.5c2.4 2.2 1 6-.2 7.5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M123.3 131.5s-.5 2.8-11.8 2c-15.2-1-25.3-3.2-25.3-3.2l.9-5.8s.7.2 9.7-.1c11.9-.4 18.7-6 25-1 4 3.2 1.5 8.1 1.5 8.1`}),S.createElement(`path`,{fill:`#FFF`,d:`M70.2 91s-5.6-4.8-11 2.7c-3.3 7.2.5 15.2 2.6 19.5-.3 3.8 2.4 4.3 2.4 4.3s0 1 1.5 2.7c4-7 6.7-9.1 13.7-12.5-.3-.7-1.9-3.3-1.8-3.8.2-1.7-1.3-2.6-1.3-2.6s-.3-.2-1.2-2.8c-.8-2.3-2-5.1-4.9-7.5`}),S.createElement(`path`,{fill:`#CBD1D1`,d:`M90.2 288s4.9 2.3 8.3 1.2c3.2-1 5.2.7 8 1.3a20 20 0 0 0 13.3-1.4c-.2-6.2-7.8-4.5-13.6-7.6-2.9-1.6-4.2-5.3-4-10H91.5s-1.5 12-1.3 16.5`}),S.createElement(`path`,{fill:`#2B0849`,d:`M90.2 287.8s2.8 1.5 7.6.8c3.5-.5 3.3.6 7.5 1.3 4.2.6 13-.2 14.3-1.2.5 1.3-.4 2.4-.4 2.4s-1.7.6-5.4.9c-2.3.1-8.1.3-10.2-.6-2-1.6-4.9-1.5-6-.3-4.5 1.1-7.2-.3-7.2-.3l-.2-3z`}),S.createElement(`path`,{fill:`#A4AABA`,d:`M98.4 272.3h3.5s0 7.5 5.2 9.6c-5.3.7-9.7-2.6-8.7-9.6`}),S.createElement(`path`,{fill:`#CBD1D1`,d:`M44.4 272s-2.2 7.8-4.7 13c-1.9 3.8-4.4 7.8 5.8 7.8 7 0 9.3-.5 7.7-7-1.6-6.3.3-13.8.3-13.8h-9z`}),S.createElement(`path`,{fill:`#2B0849`,d:`M38 290.3s2.3 1.2 7 1.2c6.4 0 8.7-1.7 8.7-1.7s.6 1.1-.7 2.2c-1 1-3.8 1.7-7.7 1.7-4.4 0-6.1-.6-7-1.3-1-.5-.8-1.6-.2-2.1`}),S.createElement(`path`,{fill:`#A4AABA`,d:`M45.3 274s0 1.6-.3 3.1-1.1 3.3-1.2 4.4c0 1.2 4.8 1.6 5.4 0 .7-1.6 1.4-6.8 2-7.6.7-.9-5.1-2.2-5.9.1`}),S.createElement(`path`,{fill:`#7BB2F9`,d:`M89.5 277.6h13.9s1.3-56.6 1.9-66.8c.6-10.3 4-45.1 1-65.6l-13-.7-23.7.8-1.3 10.4c0 .5-.7.9-.8 1.4 0 .6.5 1.4.4 2L59.6 206c-.1.7-1.3 1-1.5 2.8 0 .3.2 1.6.1 1.8-7.1 19.5-12.2 52.6-15.6 67.2h15.1L62 259c3-13.3 24-88.3 24-88.3l3.2-1-.2 48.6s-.2 1.3.4 2.1c.5.8-.6 1.2-.4 2.4l.4 1.8-1 12.4c-.4 4.9 1.2 40.7 1.2 40.7`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M64.6 218.9c1.2 0 4.2-2.1 7.2-5.1m24.2 8.7s3-1.1 6.4-4`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M97 219.4s2.9-1.2 6.3-4`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M63.2 222.1s2.7-.6 6.7-3.5m5-72.4c-.3 3.2.3 8.8-4.5 9.4m22.8-11.3s.1 14.6-1.4 15.7c-2.3 1.7-3 2-3 2m.4-17s.3 13-1 25m-4.7.7s6.8-1 9.1-1M46 270l-.9 4.6m1.8-11.3-.8 4.1m16.6-64.9c-.3 1.6 0 2-.4 3.4 0 0-2.8 2-2.3 4s-.3 3.4-4.5 17.2c-1.8 5.8-4.3 19-6.2 28.3l-1.1 5.8m16-67-1 4.9m8.1-52.3-1.2 10.9s-1.2.1-.5 2.3c0 1.4-2.8 16.4-5.4 31.6m-20 82.1h13.9`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#192064`,d:`M106.2 142.1c-3-.5-18.8-2.7-36.2.2a.6.6 0 0 0-.6.7v3a.6.6 0 0 0 .8.6c3.3-.5 17-2.4 35.6-.3.4 0 .7-.2.7-.5.2-1.4.2-2.5.2-3a.6.6 0 0 0-.5-.7`}),S.createElement(`path`,{fill:`#FFF`,d:`M96.4 145.3v-5.1a.8.8 0 0 0-.8-.9 114.1 114.1 0 0 0-8.1 0 .8.8 0 0 0-.9.8v5.1c0 .5.4.9.9.9h8a.8.8 0 0 0 .9-.8`}),S.createElement(`path`,{fill:`#192064`,d:`M95.2 144.3v-3.2a.7.7 0 0 0-.6-.7h-6.1a.7.7 0 0 0-.6.7v3.2c0 .4.3.7.6.7h6c.4 0 .7-.3.7-.7`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M90.1 273.5h12.8m-11.7-3.7v6.3m-.3-12.6v4.5m-.5-97.6 1 46.4s.7 1.6-.3 2.8c-.9 1.1 2.6.7 1 2.3-1.7 1.6.9 1.2 0 3.5-.6 1.6-1 22-1.2 36.5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M73.7 98.7 76 103s2 .8 1.8 2.7l.8 2.2m-14.3 8.7c.2-1 2.2-7.1 12.6-10.5m.7-16s7.7 6 16.5 2.7`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M92 87s5.5-.9 7.5-4.6c1.3-.3.8 2.2-.3 3.7l-1 1.5s.2.3.2.9c0 .6-.2.6-.3 1v1l-.4 1c-.1.2 0 .6-.2.9-.2.4-1.6 1.8-2.6 2.8-3.8 3.6-5 1.7-6-.4-1-1.8-.7-5.1-.9-6.9-.3-2.9-2.6-3-2-4.4.4-.7 3 .7 3.4 1.8.7 2 2.9 1.8 2.6 1.7`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M99.8 82.4c-.5.1-.3.3-1 1.3-.6 1-4.8 2.9-6.4 3.2-2.5.5-2.2-1.6-4.2-2.9-1.7-1-3.6-.6-1.4 1.4 1 1 1 1.1 1.4 3.2.3 1.5-.7 3.7.7 5.6`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`.8`}),S.createElement(`path`,{stroke:`#E59788`,d:`M79.5 108.7c-2 2.9-4.2 6.1-5.5 8.7`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`.8`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M87.7 124.8s-2-2-5.1-2.8c-3-.7-3.6-.1-5.5.1-2 .3-4-.9-3.7.7.3 1.7 5 1 5.2 2.1.2 1.1-6.3 2.8-8.3 2.2-.8.8.5 1.9 2 2.2.3 1.5 2.3 1.5 2.3 1.5s.7 1 2.6 1.1c2.5 1.3 9-.7 11-1.5 2-.9-.5-5.6-.5-5.6`}),S.createElement(`path`,{stroke:`#E59788`,d:`M73.4 122.8s.7 1.2 3.2 1.4c2.3.3 2.6.6 2.6.6s-2.6 3-9.1 2.3m2.3 2.2s3.8 0 5-.7m-2.4 2.2s2 0 3.3-.6m-1 1.7s1.7 0 2.8-.5m-6.8-9s-.6-1.1 1.3-.5c1.7.5 2.8 0 5.1.1 1.4.1 3-.2 4 .2 1.6.8 3.6 2.2 3.6 2.2s10.6 1.2 19-1.1M79 108s-8.4 2.8-13.2 12.1`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`.8`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M109.3 112.5s3.4-3.6 7.6-4.6`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#E59788`,d:`M107.4 123s9.7-2.7 11.4-.9`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`.8`}),S.createElement(`path`,{stroke:`#BFCDDD`,d:`m194.6 83.7 4-4M187.2 91l3.7-3.6m.9-3-4.5-4.7m11.2 11.5-4.2-4.3m-65 76.3 3.7-3.7M122.3 170l3.5-3.5m.8-2.9-4.3-4.2M133 170l-4-4`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`}),S.createElement(`path`,{fill:`#A3B4C6`,d:`M190.2 211.8h-1.6a4 4 0 0 1-4-4v-32.1a4 4 0 0 1 4-4h1.6a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4`}),S.createElement(`path`,{fill:`#A3B4C6`,d:`M237.8 213a4.8 4.8 0 0 1-4.8 4.8h-86.6a4.8 4.8 0 0 1 0-9.6H233a4.8 4.8 0 0 1 4.8 4.8`}),S.createElement(`path`,{fill:`#A3B4C6`,d:`M154.1 190.1h70.5v-84.6h-70.5z`}),S.createElement(`path`,{fill:`#BFCDDD`,d:`M225 190.1h-71.2a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.2v19a3.2 3.2 0 0 1-3.2 3.2m0-59.3h-71.1a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.3v19a3.2 3.2 0 0 1-3.2 3.1`}),S.createElement(`path`,{fill:`#FFF`,d:`M159.6 120.5a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8v-3.2c0-.4.3-.8.8-.8h22.4c.5 0 .8.4.8.8v3.2c0 .5-.3.8-.8.8`}),S.createElement(`path`,{fill:`#BFCDDD`,d:`M225 160.5h-71.2a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.2v19a3.2 3.2 0 0 1-3.2 3.2`}),S.createElement(`path`,{stroke:`#7C90A5`,d:`M173.5 130.8h49.3m-57.8 0h6m-15 0h6.7m11.1 29.8h49.3m-57.7 0h6m-15.8 0h6.7`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#FFF`,d:`M159.6 151a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8V147c0-.4.3-.8.8-.8h22.4c.5 0 .8.4.8.8v3.2c0 .5-.3.8-.8.8m-63 29a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.5 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8V176c0-.5.3-.8.8-.8h22.4c.5 0 .8.3.8.8v3.2c0 .4-.3.8-.8.8`}),S.createElement(`path`,{fill:`#BFCDDD`,d:`M203 221.1h-27.3a2.4 2.4 0 0 1-2.4-2.4v-11.4a2.4 2.4 0 0 1 2.4-2.5H203a2.4 2.4 0 0 1 2.4 2.5v11.4a2.4 2.4 0 0 1-2.4 2.4`}),S.createElement(`path`,{stroke:`#A3B4C6`,d:`M177.3 207.2v11.5m23.8-11.5v11.5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#5BA02E`,d:`M162.9 267.9a9.4 9.4 0 0 1-9.4-9.4v-14.8a9.4 9.4 0 0 1 18.8 0v14.8a9.4 9.4 0 0 1-9.4 9.4`}),S.createElement(`path`,{fill:`#92C110`,d:`M171.2 267.8a9.4 9.4 0 0 1-9.4-9.4V255a9.4 9.4 0 0 1 18.8 0v3.4a9.4 9.4 0 0 1-9.4 9.4`}),S.createElement(`path`,{fill:`#F2D7AD`,d:`M181.3 293.7h-27.7a3.2 3.2 0 0 1-3.2-3.2v-20.7a3.2 3.2 0 0 1 3.2-3.2h27.7a3.2 3.2 0 0 1 3.2 3.2v20.7a3.2 3.2 0 0 1-3.2 3.2`}))),yJ=e=>{let{componentCls:t,lineHeightHeading3:n,iconCls:r,padding:i,paddingXL:a,paddingXS:o,paddingLG:s,marginXS:c,lineHeight:l}=e;return{[t]:{padding:`${Y(e.calc(s).mul(2).equal())} ${Y(a)}`,"&-rtl":{direction:`rtl`}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:`auto`},[`${t} ${t}-icon`]:{marginBottom:s,textAlign:`center`,[`& > ${r}`]:{fontSize:e.iconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.titleFontSize,lineHeight:n,marginBlock:c,textAlign:`center`},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.subtitleFontSize,lineHeight:l,textAlign:`center`},[`${t} ${t}-body`]:{marginTop:s,padding:`${Y(s)} ${Y(e.calc(i).mul(2.5).equal())}`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.extraMargin,textAlign:`center`,"& > *":{marginInlineEnd:o,"&:last-child":{marginInlineEnd:0}}}}},bJ=e=>{let{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},xJ=e=>[yJ(e),bJ(e)],SJ=Ql(`Result`,e=>{let t=e.colorInfo,n=e.colorError,r=e.colorSuccess,i=e.colorWarning;return xJ(dc(e,{resultInfoIconColor:t,resultErrorIconColor:n,resultSuccessIconColor:r,resultWarningIconColor:i,imageWidth:250,imageHeight:295}))},e=>({titleFontSize:e.fontSizeHeading3,subtitleFontSize:e.fontSize,iconFontSize:e.fontSizeHeading3*3,extraMargin:`${e.paddingLG}px 0 0 0`})),CJ=()=>S.createElement(`svg`,{width:`251`,height:`294`},S.createElement(`title`,null,`Unauthorized`),S.createElement(`g`,{fill:`none`,fillRule:`evenodd`},S.createElement(`path`,{fill:`#E4EBF7`,d:`M0 129v-2C0 58.3 55.6 2.7 124.2 2.7h2c68.6 0 124.2 55.6 124.2 124.1v2.1c0 68.6-55.6 124.2-124.1 124.2h-2.1A124.2 124.2 0 0 1 0 129`}),S.createElement(`path`,{fill:`#FFF`,d:`M41.4 133a8.2 8.2 0 1 1-16.4-1.7 8.2 8.2 0 0 1 16.4 1.6`}),S.createElement(`path`,{stroke:`#FFF`,d:`m38.7 136.4 10.4 5.9m.9 6.2-12.6 10.7`,strokeWidth:`2`}),S.createElement(`path`,{fill:`#FFF`,d:`M41.5 161.3a5.6 5.6 0 1 1-11.2-1.2 5.6 5.6 0 0 1 11.2 1.2m17.7-16a5.7 5.7 0 1 1-11.3-1.2 5.7 5.7 0 0 1 11.3 1.2m41.2-115.8H130a4.6 4.6 0 1 0 0-9.1h-29.6a4.6 4.6 0 0 0 0 9.1m11.3 18.3h29.7a4.6 4.6 0 1 0 0-9.2h-29.7a4.6 4.6 0 1 0 0 9.2`}),S.createElement(`path`,{fill:`#FFF`,d:`M114 29.5h15.8a4.6 4.6 0 1 0 0 9.1H114a4.6 4.6 0 0 0 0-9.1m71.3 108.2a10 10 0 1 1-19.8-2 10 10 0 0 1 19.8 2`}),S.createElement(`path`,{stroke:`#FFF`,d:`m180.2 143.8 12.5 7.1m1.1 7.5-15.1 13`,strokeWidth:`2`}),S.createElement(`path`,{fill:`#FFF`,d:`M185.6 172a6.8 6.8 0 1 1-13.6-1.4 6.8 6.8 0 0 1 13.5 1.3m18.6-16.6a6.8 6.8 0 1 1-13.6-1.4 6.8 6.8 0 0 1 13.6 1.4`}),S.createElement(`path`,{stroke:`#FFF`,d:`M153 194a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm73-75.8a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.4 0zm-9 34.9a2.2 2.2 0 1 1-4.3 0 2.2 2.2 0 0 1 4.4 0zm-39.2-43.3a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm18.3-15.3a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm6.7 88a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0z`,strokeWidth:`2`}),S.createElement(`path`,{stroke:`#FFF`,d:`m215.1 155.3-1.9 20-10.8 6m-27.8-4.7-6.3 9.8H157l-4.5 6.4m23.4-65.5v-15.7m45.6 7.8-12.8 7.9-15.2-7.9V96.7`,strokeWidth:`2`}),S.createElement(`path`,{fill:`#A26EF4`,d:`M180.7 29.3a29.3 29.3 0 1 1 58.6 0 29.3 29.3 0 0 1-58.6 0`}),S.createElement(`path`,{fill:`#FFF`,d:`m221.4 41.7-21.5-.1a1.7 1.7 0 0 1-1.7-1.8V27.6a1.7 1.7 0 0 1 1.8-1.7h21.5c1 0 1.8.9 1.8 1.8l-.1 12.3a1.7 1.7 0 0 1-1.7 1.7`}),S.createElement(`path`,{fill:`#FFF`,d:`M215.1 29.2c0 2.6-2 4.6-4.5 4.6a4.6 4.6 0 0 1-4.5-4.7v-6.9c0-2.6 2-4.6 4.6-4.6 2.5 0 4.5 2 4.4 4.7v6.9zm-4.5-14a6.9 6.9 0 0 0-7 6.8v7.3a6.9 6.9 0 0 0 13.8.1V22a6.9 6.9 0 0 0-6.8-6.9zm-43 53.2h-4a4.7 4.7 0 0 1-4.7-4.8 4.7 4.7 0 0 1 4.7-4.7h4a4.7 4.7 0 0 1 4.7 4.8 4.7 4.7 0 0 1-4.7 4.7`}),S.createElement(`path`,{fill:`#5BA02E`,d:`M168.2 248.8a6.6 6.6 0 0 1-6.6-6.6v-66a6.6 6.6 0 0 1 13.2 0v66a6.6 6.6 0 0 1-6.6 6.6`}),S.createElement(`path`,{fill:`#92C110`,d:`M176.1 248.2a6.6 6.6 0 0 1-6.6-6.6v-33a6.6 6.6 0 1 1 13.3 0v33a6.6 6.6 0 0 1-6.7 6.6`}),S.createElement(`path`,{fill:`#F2D7AD`,d:`M186 293.9h-27.4a3.2 3.2 0 0 1-3.2-3.2v-45.9a3.2 3.2 0 0 1 3.2-3.1H186a3.2 3.2 0 0 1 3.2 3.1v46a3.2 3.2 0 0 1-3.2 3`}),S.createElement(`path`,{fill:`#FFF`,d:`M82 147.7s6.3-1 17.5-1.3c11.8-.4 17.6 1 17.6 1s3.7-3.8 1-8.3c1.3-12.1 6-32.9.3-48.3-1.1-1.4-3.7-1.5-7.5-.6-1.4.3-7.2-.2-8-.1l-15.3-.4-8-.5c-1.6-.1-4.3-1.7-5.5-.3-.4.4-2.4 5.6-2 16l8.7 35.7s-3.2 3.6 1.2 7`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`m75.8 73.3-1-6.4 12-6.5s7.4-.1 8 1.2c.8 1.3-5.5 1-5.5 1s-1.9 1.4-2.6 2.5c-1.7 2.4-1 6.5-8.4 6-1.7.3-2.5 2.2-2.5 2.2`}),S.createElement(`path`,{fill:`#FFB594`,d:`M52.4 77.7S66.7 87 77.4 92c1 .5-2 16.2-11.9 11.8-7.4-3.3-20.1-8.4-21.5-14.5-.7-3.2 2.6-7.6 8.4-11.7M142 80s-6.7 3-13.9 6.9c-3.9 2.1-10.1 4.7-12.3 8-6.2 9.3 3.5 11.2 13 7.5 6.6-2.7 29-12.1 13.2-22.4`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`m76.2 66.4 3 3.8S76.4 73 73 76c-7 6.2-12.8 14.3-16 16.4-4 2.7-9.7 3.3-12.2 0-3.5-5.1.5-14.7 31.5-26`}),S.createElement(`path`,{fill:`#FFF`,d:`M64.7 85.1s-2.4 8.4-9 14.5c.7.5 18.6 10.5 22.2 10 5.2-.6 6.4-19 1.2-20.5-.8-.2-6-1.3-8.9-2.2-.9-.2-1.6-1.7-3.5-1l-2-.8zm63.7.7s5.3 2 7.3 13.8c-.6.2-17.6 12.3-21.8 7.8-6.6-7-.8-17.4 4.2-18.6 4.7-1.2 5-1.4 10.3-3`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M78.2 94.7s.9 7.4-5 13`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M87.4 94.7s3.1 2.6 10.3 2.6c7.1 0 9-3.5 9-3.5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`.9`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`m117.2 68.6-6.8-6.1s-5.4-4.4-9.2-1c-3.9 3.5 4.4 2.2 5.6 4.2 1.2 2.1.9 1.2-2 .5-5.7-1.4-2.1.9 3 5.3 2 1.9 7 1 7 1l2.4-3.9z`}),S.createElement(`path`,{fill:`#FFB594`,d:`m105.3 91.3-.3-11H89l-.5 10.5c0 .4.2.8.6 1 2 1.3 9.3 5 15.8.4.2-.2.4-.5.4-.9`}),S.createElement(`path`,{fill:`#5C2552`,d:`M107.6 74.2c.8-1.1 1-9 1-11.9a1 1 0 0 0-1-1l-4.6-.4c-7.7-1-17 .6-18.3 6.3-5.4 5.9-.4 13.3-.4 13.3s2 3.5 4.3 6.8c.8 1 .4-3.8 3-6a47.9 47.9 0 0 1 16-7`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M88.4 83.2s2.7 6.2 11.6 6.5c7.8.3 9-7 7.5-17.5l-1-5.5c-6-2.9-15.4.6-15.4.6s-.6 2-.2 5.5c-2.3 2-1.8 5.6-1.8 5.6s-1-2-2-2.3c-.9-.3-2 0-2.3 2-1 4.6 3.6 5.1 3.6 5.1`}),S.createElement(`path`,{stroke:`#DB836E`,d:`m100.8 77.1 1.7-1-1-4.3.7-1.4`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#552950`,d:`M105.5 74c0 .8-.4 1.4-1 1.4-.4 0-.8-.7-.8-1.4s.5-1.2 1-1.2.9.6.8 1.3m-8 .2c0 .8-.4 1.3-.9 1.3s-.9-.6-.9-1.3c0-.7.5-1.3 1-1.3s1 .6.9 1.3`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M91.1 86.8s5.3 5 12.7 2.3`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#DB836E`,d:`M99.8 81.9s-3.6.2-1.5-2.8c1.6-1.5 5-.4 5-.4s1 3.9-3.5 3.2`}),S.createElement(`path`,{stroke:`#5C2552`,d:`M102.9 70.6s2.5.8 3.4.7m-12.4.7s2.5-1.2 4.8-1.1`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M86.3 77.4s1 .9 1.5 2c-.4.6-1 1.2-.3 1.9m11.8 2.4s2 .2 2.5-.2`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`m87.8 115.8 15.7-3m-3.3 3 10-2m-43.7-27s-1.6 8.8-6.7 14M128.3 88s3 4 4 11.7`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M64 84.8s-6 10-13.5 10`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`.8`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`m112.4 66-.2 5.2 12 9.2c4.5 3.6 8.9 7.5 11 8.7 4.8 2.8 8.9 3.3 11 1.8 4.1-2.9 4.4-9.9-8.1-15.3-4.3-1.8-16.1-6.3-25.7-9.7`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M130.5 85.5s4.6 5.7 11.7 6.2`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`.8`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M121.7 105.7s-.4 8.6-1.3 13.6`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M115.8 161.5s-3.6-1.5-2.7-7.1`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#CBD1D1`,d:`M101.5 290.2s4.3 2.1 7.4 1c2.9-.9 4.6.7 7.2 1.3 2.5.5 6.9 1 11.7-1.3 0-5.6-7-4-12-6.8-2.6-1.4-3.8-4.7-3.6-8.8h-9.5s-1.4 10.6-1.2 14.6`}),S.createElement(`path`,{fill:`#2B0849`,d:`M101.5 290s2.4 1.4 6.8.7c3-.4 3.7.5 7.5 1 3.7.6 10.8 0 11.9-.8.4 1-.4 2-.4 2s-1.5.7-4.8.9c-2 .1-5.8.3-7.7-.5-1.8-1.4-5.2-2-5.7-.3-4 1-7.4-.3-7.4-.3l-.2-2.6z`}),S.createElement(`path`,{fill:`#A4AABA`,d:`M108.8 276.2h3.1s0 6.7 4.6 8.6c-4.7.6-8.6-2.3-7.7-8.6`}),S.createElement(`path`,{fill:`#CBD1D1`,d:`M57.6 272.5s-2 7.5-4.5 12.4c-1.8 3.7-4.2 7.6 5.5 7.6 6.7 0 9-.5 7.5-6.7-1.5-6.1.3-13.3.3-13.3h-8.8z`}),S.createElement(`path`,{fill:`#2B0849`,d:`M51.5 290s2.2 1.2 6.7 1.2c6.1 0 8.3-1.6 8.3-1.6s.6 1-.6 2.1c-1 .9-3.6 1.6-7.4 1.6-4.2 0-6-.6-6.8-1.2-.9-.5-.7-1.6-.2-2`}),S.createElement(`path`,{fill:`#A4AABA`,d:`M58.5 274.4s0 1.6-.3 3-1 3.1-1.1 4.2c0 1.1 4.5 1.5 5.2 0 .6-1.6 1.3-6.5 1.9-7.3.6-.8-5-2.1-5.7.1`}),S.createElement(`path`,{fill:`#7BB2F9`,d:`m100.9 277 13.3.1s1.3-54.2 1.8-64c.6-9.9 3.8-43.2 1-62.8l-12.4-.7-22.8.8-1.2 10c0 .4-.6.8-.7 1.3 0 .6.4 1.3.3 2-2.3 14-6.3 32.9-8.7 46.4-.1.6-1.2 1-1.4 2.6 0 .3.2 1.6 0 1.8-6.8 18.7-10.8 47.6-14.1 61.6h14.5s2.2-8.6 4-17a3984 3984 0 0 1 23-84.5l3-.5 1 46.1s-.2 1.2.4 2c.5.8-.6 1.1-.4 2.3l.4 1.7-1 11.9c-.4 4.6 0 39 0 39`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M77.4 220.4c1.2.1 4-2 7-4.9m23.1 8.4s2.8-1 6.1-3.8`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M108.5 221s2.7-1.2 6-4`,strokeLinecap:`round`,strokeLinejoin:`round`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M76.1 223.6s2.6-.6 6.5-3.4m4.7-69.4c-.2 3.1.3 8.5-4.3 9m21.8-10.7s.1 14-1.3 15c-2.2 1.6-3 1.9-3 1.9m.5-16.4s0 12.8-1.2 24.3m-4.9 1s7.2-1.6 9.4-1.6m-28.6 31.5-1 4.5s-1.5 1.8-1 3.7c.4 2-1 2-5 15.3-1.7 5.6-4.4 18.5-6.3 27.5l-4 18.4M77 196.7a313.3 313.3 0 0 1-.8 4.8m7.7-50-1.2 10.3s-1 .2-.5 2.3c.1 1.3-2.6 15.6-5.1 30.2M57.6 273h13.2`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#192064`,d:`M117.4 147.4s-17-3-35.7.2v4.2s14.6-2.9 35.5-.4l.2-4`}),S.createElement(`path`,{fill:`#FFF`,d:`M107.5 150.4v-5a.8.8 0 0 0-.8-.7H99a.8.8 0 0 0-.7.8v4.8c0 .5.3.9.8.8a140.8 140.8 0 0 1 7.7 0 .8.8 0 0 0 .8-.7`}),S.createElement(`path`,{fill:`#192064`,d:`M106.4 149.4v-3a.6.6 0 0 0-.6-.7 94.1 94.1 0 0 0-5.8 0 .6.6 0 0 0-.7.7v3c0 .4.3.7.7.7h5.7c.4 0 .7-.3.7-.7`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M101.5 274h12.3m-11.1-5v6.5m0-12.4v4.3m-.5-93.4.9 44.4s.7 1.6-.2 2.7c-1 1.1 2.4.7.9 2.2-1.6 1.6.9 1.1 0 3.4-.6 1.5-1 21-1.1 35`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}))),wJ={success:Tu,error:Ou,info:Pu,warning:gJ},TJ={404:_J,500:vJ,403:CJ},EJ=Object.keys(TJ),DJ=({icon:e,status:t,className:n,style:r})=>{if(EJ.includes(`${t}`)){let e=TJ[t];return S.createElement(`div`,{className:n,style:r},S.createElement(e,null))}let i=S.createElement(wJ[t]);return e===null||e===!1?null:S.createElement(`div`,{className:n,style:r},e||i)},OJ=({className:e,extra:t,style:n})=>t?S.createElement(`div`,{className:e,style:n},t):null,kJ=e=>{let{prefixCls:t,className:n,rootClassName:r,subTitle:i,title:a,style:o,children:s,status:c=`info`,icon:l,extra:u,styles:d,classNames:f,...p}=e,{getPrefixCls:m,direction:h,className:g,style:_,classNames:v,styles:y}=ya(`result`),b={...e,status:c},[x,C]=Cf([v,f],[y,d],{props:b}),w=m(`result`,t),[T,E]=SJ(w),D=J(w,`${w}-${c}`,n,g,r,{[`${w}-rtl`]:h===`rtl`},T,E,x.root),O=J(`${w}-title`,x.title),k=J(`${w}-subtitle`,x.subTitle),A=J(`${w}-extra`,x.extra),j=J(`${w}-body`,x.body),M=J(`${w}-icon`,{[`${w}-image`]:EJ.includes(`${c}`)},x.icon),N={...C.root,..._,...o},P=xi(p,{aria:!0,data:!0});return S.createElement(`div`,{...P,className:D,style:N},S.createElement(DJ,{className:M,style:C.icon,status:c,icon:l}),S.createElement(`div`,{className:O,style:C.title},a),i&&S.createElement(`div`,{className:k,style:C.subTitle},i),S.createElement(OJ,{className:A,extra:u,style:C.extra}),s&&S.createElement(`div`,{className:j,style:C.body},s))};kJ.PRESENTED_IMAGE_403=TJ[403],kJ.PRESENTED_IMAGE_404=TJ[404],kJ.PRESENTED_IMAGE_500=TJ[500];var AJ=Hz,jJ={},MJ=`rc-table-internal-hook`;function NJ(e){let t=S.createContext(void 0);return{Context:t,Provider:({value:e,children:n})=>{let r=S.useRef(e);r.current=e;let[i]=S.useState(()=>({getValue:()=>r.current,listeners:new Set}));return Hn(()=>{(0,Vi.unstable_batchedUpdates)(()=>{i.listeners.forEach(t=>{t(e)})})},[e]),S.createElement(t.Provider,{value:i},n)},defaultValue:e}}function PJ(e,t){let n=zn(typeof t==`function`?t:e=>{if(t===void 0)return e;if(!Array.isArray(t))return e[t];let n={};return t.forEach(t=>{n[t]=e[t]}),n}),r=S.useContext(e?.Context),{listeners:i,getValue:a}=r||{},o=S.useRef();o.current=n(r?a():e?.defaultValue);let[,s]=S.useState({});return Hn(()=>{if(!r)return;function e(e){let t=n(e);fi(o.current,t,!0)||s({})}return i.add(e),()=>{i.delete(e)}},[r]),o.current}function FJ(){return FJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let s=i?{ref:o}:{},c=S.useRef(0),l=S.useRef(a);return t()===null?((!r||r(l.current,a))&&(c.current+=1),l.current=a,S.createElement(e.Provider,{value:c.current},S.createElement(n,FJ({},a,s)))):S.createElement(n,FJ({},a,s))};return i?S.forwardRef(a):a}function r(e,n){let r=ur(e),i=(n,i)=>{let a=r?{ref:i}:{};return t(),S.createElement(e,FJ({},n,a))};return S.memo(r?S.forwardRef(i):i,n)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var{makeImmutable:Ane,responseImmutable:jne,useImmutableMark:Mne}=IJ(),{makeImmutable:LJ,responseImmutable:RJ,useImmutableMark:zJ}=IJ(),BJ=NJ(),VJ=S.createContext({renderWithProps:!1}),HJ=`RC_TABLE_KEY`;function UJ(e){return e==null?[]:Array.isArray(e)?e:[e]}function WJ(e){let t=[],n={};return e.forEach(e=>{let{key:r,dataIndex:i}=e||{},a=r||UJ(i).join(`-`)||HJ;for(;n[a];)a=`${a}_next`;n[a]=!0,t.push(a)}),t}function GJ(e){return e!=null}function KJ(e){return typeof e==`number`&&!Number.isNaN(e)}function qJ(e){return e&&typeof e==`object`&&!Array.isArray(e)&&!S.isValidElement(e)}function JJ(e,t,n,r,i,a){let o=S.useContext(VJ);return Zn(()=>{if(GJ(r))return[r];let a=Ai(e,t==null||t===``?[]:Array.isArray(t)?t:[t]),s=a,c;if(i){let t=i(a,e,n);qJ(t)?(s=t.children,c=t.props,o.renderWithProps=!0):s=t}return[s,c]},[zJ(),e,r,t,i,n],(e,t)=>{if(a){let[,n]=e,[,r]=t;return a(r,n)}return o.renderWithProps?!0:!fi(e,t,!0)})}function YJ(e,t,n,r){let i=e+t-1;return e<=r&&i>=n}function XJ(e,t){return PJ(BJ,n=>[YJ(e,t||1,n.hoverStartRow,n.hoverEndRow),n.onHover])}function ZJ(){return ZJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let r,i=e===!0?{showTitle:!0}:e;return i&&(i.showTitle||t===`header`)&&(typeof n==`string`||typeof n==`number`?r=n.toString():S.isValidElement(n)&&typeof n.props?.children==`string`&&(r=n.props?.children)),r},$J=S.memo(e=>{let{component:t,children:n,ellipsis:r,scope:i,prefixCls:a,className:o,style:s,align:c,record:l,render:u,dataIndex:d,renderIndex:f,shouldCellUpdate:p,index:m,rowType:h,colSpan:g,rowSpan:_,fixStart:v,fixEnd:y,fixedStartShadow:b,fixedEndShadow:x,offsetFixedStartShadow:C,offsetFixedEndShadow:w,zIndex:T,zIndexReverse:E,appendNode:D,additionalProps:O={},isSticky:k}=e,A=`${a}-cell`,{allColumnsFixedLeft:j,rowHoverable:M}=PJ(BJ,[`allColumnsFixedLeft`,`rowHoverable`]),[N,P]=JJ(l,d,f,n,u,p),F={},I=typeof v==`number`&&!j,L=typeof y==`number`&&!j,[R,z]=PJ(BJ,({scrollInfo:e})=>{if(!I&&!L)return[!1,!1];let[t,n]=e;return[(I&&b&&t)-C>=1,(L&&x&&n-t)-w>1]});I&&(F.insetInlineStart=v,F[`--z-offset`]=T,F[`--z-offset-reverse`]=E),L&&(F.insetInlineEnd=y,F[`--z-offset`]=T,F[`--z-offset-reverse`]=E);let B=P?.colSpan??O.colSpan??g??1,V=P?.rowSpan??O.rowSpan??_??1,[H,U]=XJ(m,V),W=zn(e=>{l&&U(m,m+V-1),O?.onMouseEnter?.(e)}),ee=zn(e=>{l&&U(-1,-1),O?.onMouseLeave?.(e)});if(B===0||V===0)return null;let te=O.title??QJ({rowType:h,ellipsis:r,children:N}),ne=J(A,o,{[`${A}-fix`]:I||L,[`${A}-fix-start`]:I,[`${A}-fix-end`]:L,[`${A}-fix-start-shadow`]:b,[`${A}-fix-start-shadow-show`]:b&&R,[`${A}-fix-end-shadow`]:x,[`${A}-fix-end-shadow-show`]:x&&z,[`${A}-ellipsis`]:r,[`${A}-with-append`]:D,[`${A}-fix-sticky`]:(I||L)&&k,[`${A}-row-hover`]:!P&&H},O.className,P?.className),re={};c&&(re.textAlign=c);let G={...P?.style,...F,...re,...O.style,...s},ie=N;return typeof ie==`object`&&!Array.isArray(ie)&&!S.isValidElement(ie)&&(ie=null),r&&(b||x)&&(ie=S.createElement(`span`,{className:`${A}-content`},ie)),S.createElement(t,ZJ({},P,O,{className:ne,style:G,title:te,scope:i,onMouseEnter:M?W:void 0,onMouseLeave:M?ee:void 0,colSpan:B===1?null:B,rowSpan:V===1?null:V}),D,ie)});function eY(e){return e.fixed===`start`}function tY(e){return e.fixed===`end`}function nY(e,t,n,r){let i=n[e]||{},a=n[t]||{},o=null,s=null;eY(i)&&eY(a)?o=r.start[e]:tY(a)&&tY(i)&&(s=r.end[t]);let c=!1,l=!1,u=0,d=0;o!==null&&(c=!n[t+1]||!eY(n[t+1]),u=n.length*2-e,d=n.length+e),s!==null&&(l=!n[e-1]||!tY(n[e-1]),u=t,d=n.length-t);let f=0,p=0;if(c)for(let t=0;tt;--e)tY(n[e])||(p+=r.widths[e]||0);return{fixStart:o,fixEnd:s,fixedStartShadow:c,fixedEndShadow:l,offsetFixedStartShadow:f,offsetFixedEndShadow:p,isSticky:r.isSticky,zIndex:u,zIndexReverse:d}}var rY=S.createContext({});function iY(){return iY=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:t,index:n,children:r,colSpan:i=1,rowSpan:a,align:o}=e,{prefixCls:s}=PJ(BJ,[`prefixCls`]),{scrollColumnIndex:c,stickyOffsets:l,flattenColumns:u}=S.useContext(rY),d=n+i-1+1===c?i+1:i,f=S.useMemo(()=>nY(n,n+d-1,u,l),[n,d,u,l]);return S.createElement($J,iY({className:t,index:n,component:`td`,prefixCls:s,record:null,dataIndex:null,align:o,colSpan:d,rowSpan:a,render:()=>r},f))},oY=e=>{let{children:t,...n}=e;return S.createElement(`tr`,n,t)},sY=e=>{let{children:t}=e;return t};sY.Row=oY,sY.Cell=aY;var cY=RJ(e=>{let{children:t,stickyOffsets:n,flattenColumns:r}=e,i=PJ(BJ,`prefixCls`),a=r.length-1,o=r[a],s=S.useMemo(()=>({stickyOffsets:n,flattenColumns:r,scrollColumnIndex:o?.scrollbar?a:null}),[o,r,a,n]);return S.createElement(rY.Provider,{value:s},S.createElement(`tfoot`,{className:`${i}-summary`},t))}),lY=sY;function uY(e){return null}function dY(e){return null}function fY(e,t,n,r,i,a,o){let s=a(t,o);e.push({record:t,indent:n,index:o,rowKey:s});let c=i?.has(s);if(t&&Array.isArray(t[r])&&c)for(let o=0;o{if(n?.size){let i=[];for(let a=0;a({record:e,indent:0,index:t,rowKey:r(e,t)}))},[e,t,n,r])}function mY(e,t,n,r){let i=PJ(BJ,[`prefixCls`,`fixedInfoList`,`flattenColumns`,`expandableType`,`expandRowByClick`,`onTriggerExpand`,`rowClassName`,`expandedRowClassName`,`indentSize`,`expandIcon`,`expandedRowRender`,`expandIconColumnIndex`,`expandedKeys`,`childrenColumnName`,`rowExpandable`,`onRow`]),{flattenColumns:a,expandableType:o,expandedKeys:s,childrenColumnName:c,onTriggerExpand:l,rowExpandable:u,onRow:d,expandRowByClick:f,rowClassName:p}=i,m=o===`nest`,h=o===`row`&&(!u||u(e)),g=h||m,_=s&&s.has(t),v=c&&e&&e[c],y=zn(l),b=d?.(e,n),x=b?.onClick,S=(t,...n)=>{f&&g&&l(e,t),x?.(t,...n)},C;typeof p==`string`?C=p:typeof p==`function`&&(C=p(e,n,r));let w=WJ(a);return{...i,columnsKey:w,nestExpandable:m,expanded:_,hasNestChildren:v,record:e,onTriggerExpand:y,rowSupportExpand:h,expandable:g,rowProps:{...b,className:J(C,b?.className),onClick:S}}}var hY=e=>{let{prefixCls:t,children:n,component:r,cellComponent:i,className:a,expanded:o,colSpan:s,isEmpty:c,stickyOffset:l=0}=e,{scrollbarSize:u,fixHeader:d,fixColumn:f,componentWidth:p,horizonScroll:m}=PJ(BJ,[`scrollbarSize`,`fixHeader`,`fixColumn`,`componentWidth`,`horizonScroll`]),h=n;return(c?m&&p:f)&&(h=S.createElement(`div`,{style:{width:p-l-(d&&!c?u:0),position:`sticky`,left:l,overflow:`hidden`},className:`${t}-expanded-row-fixed`},h)),S.createElement(r,{className:a,style:{display:o?null:`none`}},S.createElement($J,{component:i,prefixCls:t,colSpan:s},h))};function gY({prefixCls:e,record:t,onExpand:n,expanded:r,expandable:i}){let a=`${e}-row-expand-icon`;if(!i)return S.createElement(`span`,{className:J(a,`${e}-row-spaced`)});let o=e=>{n(t,e),e.stopPropagation()};return S.createElement(`span`,{className:J(a,{[`${e}-row-expanded`]:r,[`${e}-row-collapsed`]:!r}),onClick:o})}function _Y(e,t,n){let r=[];function i(e){(e||[]).forEach((e,a)=>{r.push(t(e,a)),i(e[n])})}return i(e),r}function vY(e,t,n,r){return typeof e==`string`?e:typeof e==`function`?e(t,n,r):``}function yY(){return yY=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:t,style:n,classNames:r,styles:i,record:a,index:o,renderIndex:s,rowKey:c,rowKeys:l,indent:u=0,rowComponent:d,cellComponent:f,scopeCellComponent:p,expandedRowInfo:m}=e,h=mY(a,c,o,u),{prefixCls:g,flattenColumns:_,expandedRowClassName:v,expandedRowRender:y,rowProps:b,expanded:x,rowSupportExpand:C}=h,w=S.useRef(!1);w.current||=x;let T=vY(v,a,o,u),E=S.createElement(d,yY({},b,{"data-row-key":c,className:J(t,`${g}-row`,`${g}-row-level-${u}`,b?.className,r.row,{[T]:u>=1}),style:{...n,...b?.style,...i.row}}),_.map((e,t)=>{let{render:n,dataIndex:c,className:d}=e,{key:_,fixedInfo:v,appendCellNode:y,additionalCellProps:b}=bY(h,e,t,u,o,l,m?.offset);return S.createElement($J,yY({className:J(d,r.cell),style:i.cell,ellipsis:e.ellipsis,align:e.align,scope:e.rowScope,component:e.rowScope?p:f,prefixCls:g,key:_,record:a,index:o,renderIndex:s,dataIndex:c,render:n,shouldCellUpdate:e.shouldCellUpdate},v,{appendNode:y,additionalProps:b}))})),D;if(C&&(w.current||x)){let e=y(a,o,u+1,x);D=S.createElement(hY,{expanded:x,className:J(`${g}-expanded-row`,`${g}-expanded-row-level-${u+1}`,T),prefixCls:g,component:d,cellComponent:f,colSpan:m?m.colSpan:_.length,isEmpty:!1,stickyOffset:m?.sticky},e)}return S.createElement(S.Fragment,null,E,D)}),SY=e=>{let{columnKey:t,onColumnResize:n,title:r}=e,i=S.useRef(null);return Hn(()=>{i.current&&n(t,i.current.offsetWidth)},[]),S.createElement(oa,{data:t},S.createElement(`td`,{ref:i,style:{paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,height:0}},S.createElement(`div`,{style:{height:0,overflow:`hidden`,fontWeight:`bold`}},r||`\xA0`)))},CY=({prefixCls:e,columnsKey:t,onColumnResize:n,columns:r})=>{let i=S.useRef(null),{measureRowRender:a}=PJ(BJ,[`measureRowRender`]),o=S.createElement(`tr`,{"aria-hidden":`true`,className:`${e}-measure-row`,style:{height:0},ref:i},S.createElement(oa.Collection,{onBatchResize:e=>{Ar(i.current)&&e.forEach(({data:e,size:t})=>{n(e,t.offsetWidth)})}},t.map(e=>{let t=r.find(t=>t.key===e)?.title,i=S.isValidElement(t)?S.cloneElement(t,{ref:null}):t;return S.createElement(SY,{key:e,columnKey:e,onColumnResize:n,title:i})})));return typeof a==`function`?a(o):o},wY=RJ(e=>{let{data:t,measureColumnWidth:n}=e,{prefixCls:r,getComponent:i,onColumnResize:a,flattenColumns:o,getRowKey:s,expandedKeys:c,childrenColumnName:l,emptyNode:u,classNames:d,styles:f,expandedRowOffset:p=0,colWidths:m}=PJ(BJ,[`prefixCls`,`getComponent`,`onColumnResize`,`flattenColumns`,`getRowKey`,`expandedKeys`,`childrenColumnName`,`emptyNode`,`classNames`,`styles`,`expandedRowOffset`,`fixedInfoList`,`colWidths`]),{body:h={}}=d||{},{body:g={}}=f||{},_=pY(t,l,c,s),v=S.useMemo(()=>_.map(e=>e.rowKey),[_]),y=S.useRef({renderWithProps:!1}),b=S.useMemo(()=>{let e=o.length-p,t=0;for(let e=0;e{let{record:n,indent:r,index:i,rowKey:a}=e;return S.createElement(xY,{classNames:h,styles:g,key:a,rowKey:a,rowKeys:v,record:n,index:t,renderIndex:i,rowComponent:C,cellComponent:w,scopeCellComponent:T,indent:r,expandedRowInfo:b})}):S.createElement(hY,{expanded:!0,className:`${r}-placeholder`,prefixCls:r,component:C,cellComponent:w,colSpan:o.length,isEmpty:!0},u);let D=WJ(o);return S.createElement(VJ.Provider,{value:y.current},S.createElement(x,{style:g.wrapper,className:J(`${r}-tbody`,h.wrapper)},n&&S.createElement(CY,{prefixCls:r,columnsKey:D,onColumnResize:a,columns:o}),E))}),TY=`RC_TABLE_INTERNAL_COL_DEFINE`;function EY(e){let{expandable:t,...n}=e,r;return r=`expandable`in e?{...n,...t}:n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}function DY(){return DY=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{colWidths:t,columns:n,columCount:r}=e,{tableLayout:i}=PJ(BJ,[`tableLayout`]),a=[],o=r||n.length,s=!1;for(let e=o-1;e>=0;--e){let r=t[e],o=n&&n[e],c,l;if(o&&(c=o[TY],i===`auto`&&(l=o.minWidth)),r||l||c||s){let{columnType:t,...n}=c||{};a.unshift(S.createElement(`col`,DY({key:e,style:{width:r,minWidth:l}},n))),s=!0}}return a.length>0?S.createElement(`colgroup`,null,a):null};function kY(e,t){return(0,S.useMemo)(()=>{let n=[];for(let r=0;r{let{className:n,style:r,noData:i,columns:a,flattenColumns:o,colWidths:s,colGroup:c,columCount:l,stickyOffsets:u,direction:d,fixHeader:f,stickyTopOffset:p,stickyBottomOffset:m,stickyClassName:h,scrollX:g,tableLayout:_=`fixed`,onScroll:v,maxContentScroll:y,children:b,...x}=e,{prefixCls:C,scrollbarSize:w,isSticky:T,getComponent:E}=PJ(BJ,[`prefixCls`,`scrollbarSize`,`isSticky`,`getComponent`]),D=E([`header`,`table`],`table`),O=T&&!f?0:w,k=S.useRef(null),A=S.useCallback(e=>{sr(t,e),sr(k,e)},[]);S.useEffect(()=>{function e(e){let{currentTarget:t,deltaX:n}=e;if(n){let{scrollLeft:r,scrollWidth:i,clientWidth:a}=t,o=i-a,s=r+n;d===`rtl`?(s=Math.max(-o,s),s=Math.min(0,s)):(s=Math.min(o,s),s=Math.max(0,s)),v({currentTarget:t,scrollLeft:s}),e.preventDefault()}}let t=k.current;return t?.addEventListener(`wheel`,e,{passive:!1}),()=>{t?.removeEventListener(`wheel`,e)}},[]);let j=o[o.length-1],M={fixed:j?j.fixed:null,scrollbar:!0,onHeaderCell:()=>({className:`${C}-cell-scrollbar`})},N=(0,S.useMemo)(()=>O?[...a,M]:a,[O,a]),P=(0,S.useMemo)(()=>O?[...o,M]:o,[O,o]),F=(0,S.useMemo)(()=>{let{start:e,end:t}=u;return{...u,start:e,end:[...t.map(e=>e+O),0],isSticky:T}},[O,u,T]),I=kY(s,l),L=(0,S.useMemo)(()=>{let e=!I||!I.length||I.every(e=>!e);return i||e},[i,I]);return S.createElement(`div`,{style:{overflow:`hidden`,...T?{top:p,bottom:m}:{},...r},ref:A,className:J(n,{[h]:!!h})},S.createElement(D,{style:{tableLayout:_,minWidth:`100%`,width:g}},L?c:S.createElement(OY,{colWidths:[...I,O],columCount:l+1,columns:P}),b({...x,stickyOffsets:F,columns:N,flattenColumns:P})))}),jY=S.memo(AY);function MY(){return MY=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{cells:t,stickyOffsets:n,flattenColumns:r,rowComponent:i,cellComponent:a,onHeaderRow:o,index:s,classNames:c,styles:l}=e,{prefixCls:u}=PJ(BJ,[`prefixCls`]),d;o&&(d=o(t.map(e=>e.column),s));let f=WJ(t.map(e=>e.column));return S.createElement(i,MY({},d,{className:c.row,style:l.row}),t.map((e,t)=>{let{column:i,colStart:o,colEnd:s,colSpan:c}=e,l=nY(o,s,r,n),d=i?.onHeaderCell?.(i)||{};return S.createElement($J,MY({},e,{scope:i.title?c>1?`colgroup`:`col`:null,ellipsis:i.ellipsis,align:i.align,component:a,prefixCls:u,key:f[t]},l,{additionalProps:d,rowType:`header`}))}))};function PY(e,t,n){let r=[];function i(e,a,o=0){r[o]=r[o]||[];let s=a;return e.filter(Boolean).map(e=>{let a={key:e.key,className:J(e.className,t.cell)||``,style:n.cell,children:e.title,column:e,colStart:s},c=1,l=e.children;return l&&l.length>0&&(c=i(l,s,o+1).reduce((e,t)=>e+t,0),a.hasSubColumns=!0),`colSpan`in e&&({colSpan:c}=e),`rowSpan`in e&&(a.rowSpan=e.rowSpan),a.colSpan=c,a.colEnd=a.colStart+c-1,r[o].push(a),s+=c,c})}i(e,0);let a=r.length;for(let e=0;e{!(`rowSpan`in t)&&!t.hasSubColumns&&(t.rowSpan=a-e)});return r}var FY=RJ(e=>{let{stickyOffsets:t,columns:n,flattenColumns:r,onHeaderRow:i}=e,{prefixCls:a,getComponent:o,classNames:s,styles:c}=PJ(BJ,[`prefixCls`,`getComponent`,`classNames`,`styles`]),{header:l={}}=s||{},{header:u={}}=c||{},d=S.useMemo(()=>PY(n,l,u),[n,l,u]),f=o([`header`,`wrapper`],`thead`),p=o([`header`,`row`],`tr`),m=o([`header`,`cell`],`th`);return S.createElement(f,{className:J(`${a}-thead`,l.wrapper),style:u.wrapper},d.map((e,n)=>S.createElement(NY,{classNames:l,styles:u,key:n,flattenColumns:r,cells:e,stickyOffsets:t,rowComponent:p,cellComponent:m,onHeaderRow:i,index:n})))});function IY(e,t=``){return typeof t==`number`?t:t.endsWith(`%`)?e*parseFloat(t)/100:null}function LY(e,t,n){return S.useMemo(()=>{if(t&&t>0){let r=0,i=0;e.forEach(e=>{let n=IY(t,e.width);n?r+=n:i+=1});let a=Math.max(t,n),o=Math.max(a-r,i),s=i,c=o/i,l=0,u=e.map(e=>{let n={...e},r=IY(t,n.width);if(r)n.width=r;else{let e=Math.floor(c);n.width=s===1?o:e,o-=e,--s}return l+=n.width,n});if(l{let r=Math.floor(t.width*e);t.width=n===u.length-1?o:r,o-=r})}return[u,Math.max(l,a)]}return[e,t]},[e,t,n])}function RY(e){return ki(e).filter(e=>S.isValidElement(e)).map(e=>{let{key:t,props:n}=e,{children:r,...i}=n,a={key:t,...i};return r&&(a.children=RY(r)),a})}function zY(e){return e.filter(e=>e&&typeof e==`object`&&!e.hidden).map(e=>{let t=e.children;return t&&t.length>0?{...e,children:zY(t)}:e})}function BY(e,t=`key`){return e.filter(e=>e&&typeof e==`object`).reduce((e,n,r)=>{let{fixed:i}=n,a=i===!0||i===`left`?`start`:i===`right`?`end`:i,o=`${t}-${r}`,s=n.children;return s&&s.length>0?[...e,...BY(s,o).map(e=>({...e,fixed:e.fixed??a}))]:[...e,{key:o,...n,fixed:a}]},[])}function VY({prefixCls:e,columns:t,children:n,expandable:r,expandedKeys:i,columnTitle:a,getRowKey:o,onTriggerExpand:s,expandIcon:c,rowExpandable:l,expandIconColumnIndex:u,expandedRowOffset:d=0,direction:f,expandRowByClick:p,columnWidth:m,fixed:h,scrollWidth:g,clientWidth:_},v){let y=S.useMemo(()=>zY((t||RY(n)||[]).slice()),[t,n]),b=S.useMemo(()=>{if(r){let t=y.slice();if(!t.includes(jJ)){let e=u||0,n=e===0&&(h===`right`||h===`end`)?y.length:e;n>=0&&t.splice(n,0,jJ)}let n=t.indexOf(jJ);t=t.filter((e,t)=>e!==jJ||t===n);let r=y[n],f;f=h||(r?r.fixed:null);let g={[TY]:{className:`${e}-expand-icon-col`,columnType:`EXPAND_COLUMN`},title:a,fixed:f,className:`${e}-row-expand-icon-cell`,width:m,render:(t,n,r)=>{let a=o(n,r),u=c({prefixCls:e,expanded:i.has(a),expandable:l?l(n):!0,record:n,onExpand:s});return p?S.createElement(`span`,{onClick:e=>e.stopPropagation()},u):u}};return t.map((e,t)=>{let n=e===jJ?g:e;return te!==jJ)},[r,y,o,i,c,f,d]),x=S.useMemo(()=>{let e=b;return v&&(e=v(e)),e.length||(e=[{render:()=>null}]),e},[v,b,f]),[C,w]=LY(S.useMemo(()=>BY(x),[x,f,g]),g,_);return[x,C,w]}function HY(e,t,n){let r=EY(e),{expandIcon:i,expandedRowKeys:a,defaultExpandedRowKeys:o,defaultExpandAllRows:s,expandedRowRender:c,onExpand:l,onExpandedRowsChange:u,childrenColumnName:d}=r,f=i||gY,p=d||`children`,m=S.useMemo(()=>c?`row`:e.expandable&&e.internalHooks===`rc-table-internal-hook`&&e.expandable.__PARENT_RENDER_ICON__||t.some(e=>e&&typeof e==`object`&&e[p])?`nest`:!1,[!!c,t]),[h,g]=S.useState(()=>o||(s?_Y(t,n,p):[])),_=S.useMemo(()=>new Set(a||h||[]),[a,h]);return[r,m,_,f,p,S.useCallback(e=>{let r=n(e,t.indexOf(e)),i,a=_.has(r);a?(_.delete(r),i=[..._]):i=[..._,r],g(i),l&&l(!a,e),u&&u(i)},[n,_,t,l,u])]}function UY(e,t){let n=S.useMemo(()=>e.map((n,r)=>nY(r,r,e,t)),[e,t]);return Zn(()=>n,[n],(e,t)=>!fi(e,t))}function WY(e){let t=(0,S.useRef)(e),[,n]=(0,S.useState)({}),r=(0,S.useRef)(null),i=(0,S.useRef)([]);function a(e){i.current.push(e);let a=Promise.resolve();r.current=a,a.then(()=>{if(r.current===a){let e=i.current,a=t.current;i.current=[],e.forEach(e=>{t.current=e(t.current)}),r.current=null,a!==t.current&&n({})}})}return(0,S.useEffect)(()=>()=>{r.current=null},[]),[t.current,a]}function GY(e){let t=(0,S.useRef)(e||null),n=(0,S.useRef)(null);function r(){clearTimeout(n.current)}function i(e){t.current=e,r(),n.current=setTimeout(()=>{t.current=null,n.current=void 0},100)}function a(){return t.current}return(0,S.useEffect)(()=>r,[]),[i,a]}function KY(){let[e,t]=S.useState(-1),[n,r]=S.useState(-1);return[e,n,S.useCallback((e,n)=>{t(e),r(n)},[])]}var qY=Bn()?window:null;function JY(e,t){let{offsetHeader:n=0,offsetSummary:r=0,offsetScroll:i=0,getContainer:a=()=>qY}=typeof e==`object`?e:{},o=a()||qY,s=!!e;return S.useMemo(()=>({isSticky:s,stickyClassName:s?`${t}-sticky-holder`:``,offsetHeader:n,offsetSummary:r,offsetScroll:i,container:o}),[s,i,n,r,t,o])}function YY(e,t){return(0,S.useMemo)(()=>{let n=t.length,r=(n,r,i)=>{let a=[],o=0;for(let s=n;s!==r;s+=i)a.push(o),t[s].fixed&&(o+=e[s]||0);return a};return{start:r(0,n,1),end:r(n-1,-1,-1).reverse(),widths:e}},[e,t])}var XY=e=>{let{children:t,className:n,style:r}=e;return S.createElement(`div`,{className:n,style:r},t)};function ZY(e){let t=kr(e).getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}var QY=`mouseup`,$Y=`mousemove`,eX=`scroll`,tX=`resize`,nX=S.forwardRef((e,t)=>{let{scrollBodyRef:n,onScroll:r,offsetScroll:i,container:a,direction:o}=e,s=PJ(BJ,`prefixCls`),c=n.current?.scrollWidth||0,l=n.current?.clientWidth||0,u=c&&l/c*l,d=S.useRef(null),[f,p]=WY({scrollLeft:0,isHiddenScrollBar:!0}),m=S.useRef({delta:0,x:0}),[h,g]=S.useState(!1),_=S.useRef(null);S.useEffect(()=>()=>{Oi.cancel(_.current)},[]);let v=()=>{g(!1)},y=e=>{e.persist(),m.current.delta=e.pageX-f.scrollLeft,m.current.x=0,g(!0),e.preventDefault()},b=e=>{let{buttons:t}=e||window?.event;if(!h||t===0){h&&g(!1);return}let n=m.current.x+e.pageX-m.current.x-m.current.delta,i=o===`rtl`;n=Math.max(i?u-l:0,Math.min(i?0:l-u,n)),(!i||Math.abs(n)+Math.abs(u){Oi.cancel(_.current),_.current=Oi(()=>{if(!n.current)return;let e=ZY(n.current).top,t=e+n.current.offsetHeight,r=a===window?document.documentElement.scrollTop+window.innerHeight:ZY(a).top+a.clientHeight;t-ti()<=r||e>=r-i?p(e=>({...e,isHiddenScrollBar:!0})):p(e=>({...e,isHiddenScrollBar:!1}))})},C=e=>{p(t=>({...t,scrollLeft:e/c*l||0}))};return S.useImperativeHandle(t,()=>({setScrollLeft:C,checkScrollBarVisible:x})),S.useEffect(()=>(document.body.addEventListener(QY,v,!1),document.body.addEventListener($Y,b,!1),x(),()=>{document.body.removeEventListener(QY,v),document.body.removeEventListener($Y,b)}),[u,h]),S.useEffect(()=>{if(n.current){let e=[],t=kr(n.current);for(;t;)e.push(t),t=t.parentElement;return e.forEach(e=>{e.addEventListener(eX,x,!1)}),window.addEventListener(tX,x,!1),window.addEventListener(eX,x,!1),a.addEventListener(eX,x,!1),()=>{e.forEach(e=>{e.removeEventListener(eX,x)}),window.removeEventListener(tX,x),window.removeEventListener(eX,x),a.removeEventListener(eX,x)}}},[a]),S.useEffect(()=>{f.isHiddenScrollBar||p(e=>{let t=n.current;return t?{...e,scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}:e})},[f.isHiddenScrollBar]),c<=l||!u||f.isHiddenScrollBar?null:S.createElement(`div`,{style:{height:ti(),width:l,bottom:i},className:`${s}-sticky-scroll`},S.createElement(`div`,{onMouseDown:y,ref:d,className:J(`${s}-sticky-scroll-bar`,{[`${s}-sticky-scroll-bar-active`]:h}),style:{width:`${u}px`,transform:`translate3d(${f.scrollLeft}px, 0, 0)`}}))});function rX(){return rX=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let n={rowKey:`key`,prefixCls:iX,emptyText:sX,...e},{prefixCls:r,className:i,rowClassName:a,style:o,classNames:s,styles:c,data:l,rowKey:u,scroll:d,tableLayout:f,direction:p,title:m,footer:h,summary:g,caption:_,id:v,showHeader:y,components:b,emptyText:x,onRow:C,onHeaderRow:w,measureRowRender:T,onScroll:E,internalHooks:D,transformColumns:O,internalRefs:k,tailor:A,getContainerWidth:j,sticky:M,rowHoverable:N=!0}=n,P=l||aX,F=!!P.length,I=D===MJ,L=S.useCallback((e,t)=>Ai(b,e)||t,[b]),R=S.useMemo(()=>typeof u==`function`?u:e=>e&&e[u],[u]),z=L([`body`]),[B,V,H]=KY(),[U,W,ee,te,ne,re]=HY(n,P,R),G=d?.x,[ie,K]=S.useState(0),[ae,q,oe]=VY({...n,...U,expandable:!!U.expandedRowRender,columnTitle:U.columnTitle,expandedKeys:ee,getRowKey:R,onTriggerExpand:re,expandIcon:te,expandIconColumnIndex:U.expandIconColumnIndex,direction:p,scrollWidth:I&&A&&typeof G==`number`?G:null,clientWidth:ie},I?O:null),se=oe??G,ce=S.useMemo(()=>({columns:ae,flattenColumns:q}),[ae,q]),le=S.useRef(null),ue=S.useRef(null),de=S.useRef(null),fe=S.useRef(null);S.useImperativeHandle(t,()=>({nativeElement:le.current,scrollTo:e=>{if(de.current instanceof HTMLElement){let{index:t,top:n,key:r,offset:i}=e;if(KJ(n))de.current?.scrollTo({top:n});else{let e=r??R(P[t]),n=de.current.querySelector(`[data-row-key="${e}"]`);if(n)if(!i)n.scrollIntoView();else{let e=n.offsetTop;de.current.scrollTo({top:e+i})}}}else de.current?.scrollTo&&de.current.scrollTo(e)}}));let pe=S.useRef(null),[me,he]=S.useState(!1),[ge,_e]=S.useState(!1),[ve,ye]=S.useState(new Map),be=WJ(q).map(e=>ve.get(e)),xe=S.useMemo(()=>be,[be.join(`_`)]),Se=YY(xe,q),Ce=d&&GJ(d.y),we=d&&GJ(se)||!!U.fixed,Te=we&&q.some(({fixed:e})=>e),Ee=S.useRef(null),{isSticky:De,offsetHeader:Oe,offsetSummary:ke,offsetScroll:Ae,stickyClassName:je,container:Me}=JY(M,r),Ne=S.useMemo(()=>g?.(P),[g,P]),Pe=(Ce||De)&&S.isValidElement(Ne)&&Ne.type===sY&&Ne.props.fixed,Fe,Ie,Le;Ce&&(Ie={overflowY:F?`scroll`:`auto`,maxHeight:d.y}),we&&(Fe={overflowX:`auto`},Ce||(Ie={overflowY:`hidden`}),Le={width:se===!0?`auto`:se,minWidth:`100%`});let Re=S.useCallback((e,t)=>{ye(n=>{if(n.get(e)!==t){let r=new Map(n);return r.set(e,t),r}return n})},[]),[ze,Be]=GY(null);function Ve(e,t){t&&(typeof t==`function`?t(e):t.scrollLeft!==e&&(t.scrollLeft=e,t.scrollLeft!==e&&setTimeout(()=>{t.scrollLeft=e},0)))}let[He,Ue]=S.useState([0,0]),We=zn(({currentTarget:e,scrollLeft:t})=>{let n=typeof t==`number`?t:e.scrollLeft,r=e||oX;(!Be()||Be()===r)&&(ze(r),Ve(n,ue.current),Ve(n,de.current),Ve(n,pe.current),Ve(n,Ee.current?.setScrollLeft));let i=e||ue.current;if(i){let e=I&&A&&typeof se==`number`?se:i.scrollWidth,t=i.clientWidth,r=Math.abs(n);if(Ue(n=>{let i=[r,e-t];return fi(n,i)?n:i}),e===t){he(!1),_e(!1);return}he(r>0),_e(r{We(e),E?.(e)}),Ke=()=>{we&&de.current?We({currentTarget:kr(de.current),scrollLeft:de.current?.scrollLeft}):(he(!1),_e(!1))},qe=e=>{Ee.current?.checkScrollBarVisible();let t=e??le.current?.offsetWidth??0;I&&j&&le.current&&(t=j(le.current,t)||t),t!==ie&&(Ke(),K(t))};Hn(()=>{we&&qe()},[we]);let Je=S.useRef(!1);S.useEffect(()=>{Je.current&&Ke()},[we,l,ae.length]),S.useEffect(()=>{Je.current=!0},[]);let[Ye,Xe]=S.useState(0);Hn(()=>{(!A||!I)&&(de.current instanceof Element?Xe(ni(de.current).width):Xe(ni(fe.current).width))},[]),S.useEffect(()=>{I&&k&&(k.body.current=de.current)});let Ze=S.useCallback(e=>S.createElement(S.Fragment,null,S.createElement(FY,e),Pe===`top`&&S.createElement(cY,e,Ne)),[Pe,Ne]),Qe=S.useCallback(e=>S.createElement(cY,e,Ne),[Ne]),$e=L([`table`],`table`),et=S.useMemo(()=>f||(Te?se===`max-content`?`auto`:`fixed`:Ce||De||q.some(({ellipsis:e})=>e)?`fixed`:`auto`),[Ce,Te,q,f,De]),tt,nt={colWidths:xe,columCount:q.length,stickyOffsets:Se,onHeaderRow:w,fixHeader:Ce,scroll:d},rt=S.useMemo(()=>F?null:typeof x==`function`?x():x,[F,x]),it=S.createElement(wY,{data:P,measureColumnWidth:Ce||we||De}),at=S.createElement(OY,{colWidths:q.map(({width:e})=>e),columns:q}),ot=_==null?void 0:S.createElement(`caption`,{className:`${r}-caption`},_),st=xi(n,{data:!0}),ct=xi(n,{aria:!0});if(Ce||De){let e;typeof z==`function`?(e=z(P,{scrollbarSize:Ye,ref:de,onScroll:We}),nt.colWidths=q.map(({width:e},t)=>{let n=t===q.length-1?e-Ye:e;return typeof n==`number`&&!Number.isNaN(n)?n:0})):e=S.createElement(`div`,{style:{...Fe,...Ie},onScroll:Ge,ref:de,className:`${r}-body`},S.createElement($e,rX({style:{...Le,tableLayout:et}},ct),ot,at,it,!Pe&&Ne&&S.createElement(cY,{stickyOffsets:Se,flattenColumns:q},Ne)));let t={noData:!P.length,maxContentScroll:we&&se===`max-content`,...nt,...ce,direction:p,stickyClassName:je,scrollX:se,tableLayout:et,onScroll:We};tt=S.createElement(S.Fragment,null,y!==!1&&S.createElement(jY,rX({},t,{stickyTopOffset:Oe,className:`${r}-header`,ref:ue,colGroup:at}),Ze),e,Pe&&Pe!==`top`&&S.createElement(jY,rX({},t,{stickyBottomOffset:ke,className:`${r}-summary`,ref:pe,colGroup:at}),Qe),De&&de.current&&de.current instanceof Element&&S.createElement(nX,{ref:Ee,offsetScroll:Ae,scrollBodyRef:de,onScroll:We,container:Me,direction:p}))}else tt=S.createElement(`div`,{style:{...Fe,...Ie,...c?.content},className:J(`${r}-content`,s?.content),onScroll:We,ref:de},S.createElement($e,rX({style:{...Le,tableLayout:et}},ct),ot,at,y!==!1&&S.createElement(FY,rX({},nt,ce)),it,Ne&&S.createElement(cY,{stickyOffsets:Se,flattenColumns:q},Ne)));let lt={...o};De&&(lt[`--columns-count`]=q.length);let ut=S.createElement(`div`,rX({className:J(r,i,{[`${r}-rtl`]:p===`rtl`,[`${r}-fix-start-shadow`]:we,[`${r}-fix-end-shadow`]:we,[`${r}-fix-start-shadow-show`]:we&&me,[`${r}-fix-end-shadow-show`]:we&&ge,[`${r}-layout-fixed`]:f===`fixed`,[`${r}-fixed-header`]:Ce,[`${r}-fixed-column`]:Te,[`${r}-scroll-horizontal`]:we,[`${r}-has-fix-start`]:q[0]?.fixed,[`${r}-has-fix-end`]:q[q.length-1]?.fixed===`end`}),style:lt,id:v,ref:le},st),m&&S.createElement(XY,{className:J(`${r}-title`,s?.title),style:c?.title},m(P)),S.createElement(`div`,{ref:fe,className:J(`${r}-container`,s?.section),style:c?.section},tt),h&&S.createElement(XY,{className:J(`${r}-footer`,s?.footer),style:c?.footer},h(P)));we&&(ut=S.createElement(oa,{onResize:({offsetWidth:e})=>qe(e)},ut));let dt=UY(q,Se),ft=S.useMemo(()=>({scrollX:se,scrollInfo:He,classNames:s,styles:c,prefixCls:r,getComponent:L,scrollbarSize:Ye,direction:p,fixedInfoList:dt,isSticky:De,componentWidth:ie,fixHeader:Ce,fixColumn:Te,horizonScroll:we,tableLayout:et,rowClassName:a,expandedRowClassName:U.expandedRowClassName,expandIcon:te,expandableType:W,expandRowByClick:U.expandRowByClick,expandedRowRender:U.expandedRowRender,expandedRowOffset:U.expandedRowOffset,onTriggerExpand:re,expandIconColumnIndex:U.expandIconColumnIndex,indentSize:U.indentSize,allColumnsFixedLeft:q.every(e=>e.fixed===`start`),emptyNode:rt,columns:ae,flattenColumns:q,onColumnResize:Re,colWidths:xe,hoverStartRow:B,hoverEndRow:V,onHover:H,rowExpandable:U.rowExpandable,onRow:C,getRowKey:R,expandedKeys:ee,childrenColumnName:ne,rowHoverable:N,measureRowRender:T}),[se,He,s,c,r,L,Ye,p,dt,De,ie,Ce,Te,we,et,a,U.expandedRowClassName,te,W,U.expandRowByClick,U.expandedRowRender,U.expandedRowOffset,re,U.expandIconColumnIndex,U.indentSize,rt,ae,q,Re,xe,B,V,H,U.rowExpandable,C,R,ee,ne,N,T]);return S.createElement(BJ.Provider,{value:ft},ut)}),lX=e=>LJ(cX,e),uX=lX();uX.EXPAND_COLUMN=jJ,uX.INTERNAL_HOOKS=MJ,uX.Column=uY,uX.ColumnGroup=dY,uX.Summary=lY;var dX=NJ(null),fX=NJ(null);function pX(){return pX=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{rowInfo:t,column:n,colIndex:r,indent:i,index:a,component:o,renderIndex:s,record:c,style:l,className:u,inverse:d,getHeight:f}=e,{render:p,dataIndex:m,className:h,width:g}=n,{columnsOffset:_}=PJ(fX,[`columnsOffset`]),{key:v,fixedInfo:y,appendCellNode:b,additionalCellProps:x}=bY(t,n,r,i,a),{style:C,colSpan:w=1,rowSpan:T=1}=x,E=mX(r-1,w,_),D=w>1?g-E:0,O={...C,...l,flex:`0 0 ${E}px`,width:`${E}px`,marginRight:D,pointerEvents:`auto`},k=S.useMemo(()=>d?T<=1:w===0||T===0||T>1,[T,w,d]);k?O.visibility=`hidden`:d&&(O.height=f?.(T));let A=k?()=>null:p,j={};return(T===0||w===0)&&(j.rowSpan=1,j.colSpan=1),S.createElement($J,pX({className:J(h,u),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:o,prefixCls:t.prefixCls,key:v,record:c,index:a,renderIndex:s,dataIndex:m,render:A,shouldCellUpdate:n.shouldCellUpdate},y,{appendNode:b,additionalProps:{...x,style:O,...j}}))};function gX(){return gX=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{data:n,index:r,className:i,rowKey:a,style:o,extra:s,getHeight:c,...l}=e,{record:u,indent:d,index:f}=n,{scrollX:p,flattenColumns:m,prefixCls:h,fixColumn:g,componentWidth:_}=PJ(BJ,[`prefixCls`,`flattenColumns`,`fixColumn`,`componentWidth`,`scrollX`]),{getComponent:v}=PJ(dX,[`getComponent`]),y=mY(u,a,r,d),b=v([`body`,`row`],`div`),x=v([`body`,`cell`],`div`),{rowSupportExpand:C,expanded:w,rowProps:T,expandedRowRender:E,expandedRowClassName:D}=y,O;if(C&&w){let e=E(u,r,d+1,w),t=vY(D,u,r,d),n={};g&&(n={style:{"--virtual-width":`${_}px`}});let i=`${h}-expanded-row-cell`;O=S.createElement(b,{className:J(`${h}-expanded-row`,`${h}-expanded-row-level-${d+1}`,t)},S.createElement($J,{component:x,prefixCls:h,className:J(i,{[`${i}-fixed`]:g}),additionalProps:n},e))}let k={...o,width:p};s&&(k.position=`absolute`,k.pointerEvents=`none`);let A=S.createElement(b,gX({},T,l,{"data-row-key":a,ref:C?null:t,className:J(i,`${h}-row`,T?.className,{[`${h}-row-extra`]:s}),style:{...k,...T?.style}}),m.map((e,t)=>S.createElement(hX,{key:t,component:x,rowInfo:y,column:e,colIndex:t,indent:d,index:r,renderIndex:f,record:u,inverse:s,getHeight:c})));return C?S.createElement(`div`,{ref:t},A,O):A})),vX=RJ(S.forwardRef((e,t)=>{let{data:n,onScroll:r}=e,{flattenColumns:i,onColumnResize:a,getRowKey:o,expandedKeys:s,prefixCls:c,childrenColumnName:l,scrollX:u,direction:d}=PJ(BJ,[`flattenColumns`,`onColumnResize`,`getRowKey`,`prefixCls`,`expandedKeys`,`childrenColumnName`,`scrollX`,`direction`]),{sticky:f,scrollY:p,listItemHeight:m,getComponent:h,onScroll:g}=PJ(dX),_=S.useRef(null),v=pY(n,l,s,o),y=S.useMemo(()=>{let e=0;return i.map(({width:t,minWidth:n,key:r})=>{let i=Math.max(t||0,n||0);return e+=i,[r,i,e]})},[i]),b=S.useMemo(()=>y.map(e=>e[2]),[y]);S.useEffect(()=>{y.forEach(([e,t])=>{a(e,t)})},[y]),S.useImperativeHandle(t,()=>{let e={scrollTo:e=>{let{offset:t,...n}=e;t?_.current?.scrollTo({...n,offset:t,align:`top`}):_.current?.scrollTo(e)},nativeElement:_.current?.nativeElement};return Object.defineProperty(e,`scrollLeft`,{get:()=>_.current?.getScrollInfo().x||0,set:e=>{_.current?.scrollTo({left:e})}}),Object.defineProperty(e,`scrollTop`,{get:()=>_.current?.getScrollInfo().y||0,set:e=>{_.current?.scrollTo({top:e})}}),e});let x=(e,t)=>{let n=v[t]?.record,{onCell:r}=e;return r?r(n,t)?.rowSpan??1:1},C=e=>{let{start:t,end:n,getSize:r,offsetY:a}=e;if(n<0)return null;let s=i.filter(e=>x(e,t)===0),c=t;for(let e=t;e>=0;--e)if(s=s.filter(t=>x(t,e)===0),!s.length){c=e;break}let l=i.filter(e=>x(e,n)!==1),u=n;for(let e=n;ex(t,e)!==1),!l.length){u=Math.max(e-1,n);break}let d=[];for(let e=c;e<=u;e+=1)v[e]&&i.some(t=>x(t,e)>1)&&d.push(e);return d.map(e=>{let t=v[e],n=o(t.record,e),i=t=>{let i=e+t-1,a=v[i];if(!a||!a.record){let e=Math.min(i,v.length-1),t=v[e],a=r(n,o(t.record,e));return a.bottom-a.top}let s=r(n,o(a.record,i));return s.bottom-s.top},s=r(n);return S.createElement(_X,{key:e,data:t,rowKey:n,index:e,style:{top:-a+s.top},extra:!0,getHeight:i})})},w=S.useMemo(()=>({columnsOffset:b}),[b]),T=`${c}-tbody`,E=h([`body`,`wrapper`]),D={};return f&&(D.position=`sticky`,D.bottom=0,typeof f==`object`&&f.offsetScroll&&(D.bottom=f.offsetScroll)),S.createElement(fX.Provider,{value:w},S.createElement(nC,{fullHeight:!1,ref:_,prefixCls:`${T}-virtual`,styles:{horizontalScrollBar:D},className:T,height:p,itemHeight:m||24,data:v,itemKey:e=>o(e.record),component:E,scrollWidth:u,direction:d,onVirtualScroll:({x:e})=>{r({currentTarget:_.current?.nativeElement,scrollLeft:e})},onScroll:g,extraRender:C},(e,t,n)=>{let r=o(e.record,t);return S.createElement(_X,{data:e,rowKey:r,index:t,style:n.style})}))}));function yX(){return yX=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{ref:n,onScroll:r}=t;return S.createElement(vX,{ref:n,data:e,onScroll:r})},xX=S.forwardRef((e,t)=>{let{data:n,columns:r,scroll:i,sticky:a,prefixCls:o=iX,className:s,listItemHeight:c,components:l,onScroll:u}=e,{x:d,y:f}=i||{};typeof d!=`number`&&(d=1),typeof f!=`number`&&(f=500);let p=zn((e,t)=>Ai(l,e)||t),m=zn(u),h=S.useMemo(()=>({sticky:a,scrollY:f,listItemHeight:c,getComponent:p,onScroll:m}),[a,f,c,p,m]);return S.createElement(dX.Provider,{value:h},S.createElement(uX,yX({},e,{className:J(s,`${o}-virtual`),scroll:{...i,x:d},components:{...l,body:n?.length?bX:void 0},columns:r,internalHooks:MJ,tailor:!0,ref:t})))}),SX=e=>LJ(xX,e);SX();var CX=e=>null,wX=e=>null,TX=S.createContext(null),EX=S.createContext({}),DX=S.memo(({prefixCls:e,level:t,isStart:n,isEnd:r})=>{let i=`${e}-indent-unit`,a=[];for(let e=0;e{let{eventKey:t,className:n,style:r,dragOver:i,dragOverGapTop:a,dragOverGapBottom:o,isLeaf:s,isStart:c,isEnd:l,expanded:u,selected:d,checked:f,halfChecked:p,loading:m,domRef:h,active:g,data:_,onMouseMove:v,selectable:y,treeId:b,...x}=e,C=Jn(b,t),w=S.useContext(TX),{classNames:T,styles:E}=w||{},D=S.useContext(EX),O=S.useRef(null),[k,A]=S.useState(!1),j=!!(w.disabled||e.disabled||D.nodeDisabled?.(_)),M=S.useMemo(()=>!w.checkable||e.checkable===!1?!1:w.checkable,[w.checkable,e.checkable]),N=t=>{j||w.onNodeSelect(t,BR(e))},P=t=>{j||!M||e.disableCheckbox||w.onNodeCheck(t,BR(e),!f)},F=S.useMemo(()=>typeof y==`boolean`?y:w.selectable,[y,w.selectable]),I=t=>{w.onNodeClick(t,BR(e)),F?N(t):P(t)},L=t=>{w.onNodeDoubleClick(t,BR(e))},R=t=>{w.onNodeMouseEnter(t,BR(e))},z=t=>{w.onNodeMouseLeave(t,BR(e))},B=t=>{w.onNodeContextMenu(t,BR(e))},V=S.useMemo(()=>!!(w.draggable&&(!w.draggable.nodeDraggable||w.draggable.nodeDraggable(_))),[w.draggable,_]),H=t=>{t.stopPropagation(),A(!0),w.onNodeDragStart(t,e);try{t.dataTransfer.setData(`text/plain`,``)}catch{}},U=t=>{t.preventDefault(),t.stopPropagation(),w.onNodeDragEnter(t,e)},W=t=>{t.preventDefault(),t.stopPropagation(),w.onNodeDragOver(t,e)},ee=t=>{t.stopPropagation(),w.onNodeDragLeave(t,e)},te=t=>{t.stopPropagation(),A(!1),w.onNodeDragEnd(t,e)},ne=t=>{t.preventDefault(),t.stopPropagation(),A(!1),w.onNodeDrop(t,e)},re=t=>{m||w.onNodeExpand(t,BR(e))},G=S.useMemo(()=>{let{children:e}=kR(w.keyEntities,t)||{};return!!(e||[]).length},[w.keyEntities,t]),ie=S.useMemo(()=>RR(s,w.loadData,G,e.loaded),[s,w.loadData,G,e.loaded]);S.useEffect(()=>{m||typeof w.loadData==`function`&&u&&!ie&&!e.loaded&&w.onNodeLoad(BR(e))},[m,w.loadData,w.onNodeLoad,u,ie,e]);let K=S.useMemo(()=>w.draggable?.icon?S.createElement(`span`,{className:`${w.prefixCls}-draggable-icon`},w.draggable.icon):null,[w.draggable]),ae=t=>{let n=e.switcherIcon||w.switcherIcon;return typeof n==`function`?n({...e,isLeaf:t}):n},q=()=>{if(ie){let e=ae(!0);return e===!1?null:S.createElement(`span`,{className:J(`${w.prefixCls}-switcher`,`${w.prefixCls}-switcher-noop`)},e)}let e=ae(!1);return e===!1?null:S.createElement(`span`,{onClick:re,className:J(`${w.prefixCls}-switcher`,`${w.prefixCls}-switcher_${u?kX:AX}`)},e)},oe=S.useMemo(()=>{if(!M)return null;let t=typeof M==`boolean`?null:M;return S.createElement(`span`,{className:J(`${w.prefixCls}-checkbox`,{[`${w.prefixCls}-checkbox-checked`]:f,[`${w.prefixCls}-checkbox-indeterminate`]:!f&&p,[`${w.prefixCls}-checkbox-disabled`]:j||e.disableCheckbox}),onClick:P,role:`checkbox`,"aria-checked":p?`mixed`:f,"aria-disabled":j||e.disableCheckbox,"aria-labelledby":C},t)},[M,f,p,j,e.disableCheckbox,C]),se=S.useMemo(()=>ie?null:u?kX:AX,[ie,u]),ce=S.useMemo(()=>S.createElement(`span`,{className:J(T?.itemIcon,`${w.prefixCls}-iconEle`,`${w.prefixCls}-icon__${se||`docu`}`,{[`${w.prefixCls}-icon_loading`]:m}),style:E?.itemIcon}),[w.prefixCls,se,m]),le=S.useMemo(()=>{let n=!!w.draggable;return!e.disabled&&n&&w.dragOverNodeKey===t?w.dropIndicatorRender({dropPosition:w.dropPosition,dropLevelOffset:w.dropLevelOffset,indent:w.indent,prefixCls:w.prefixCls,direction:w.direction}):null},[w.dropPosition,w.dropLevelOffset,w.indent,w.prefixCls,w.direction,w.draggable,w.dragOverNodeKey,w.dropIndicatorRender]),ue=S.useMemo(()=>{let{title:t=jX}=e,n=`${w.prefixCls}-node-content-wrapper`,r;if(w.showIcon){let t=e.icon||w.icon;r=t?S.createElement(`span`,{className:J(T?.itemIcon,`${w.prefixCls}-iconEle`,`${w.prefixCls}-icon__customize`),style:E?.itemIcon},typeof t==`function`?t(e):t):ce}else w.loadData&&m&&(r=ce);let i;return i=typeof t==`function`?t(_):w.titleRender?w.titleRender(_):t,S.createElement(`span`,{ref:O,title:typeof t==`string`?t:``,className:J(n,`${n}-${se||`normal`}`,{[`${w.prefixCls}-node-selected`]:!j&&(d||k)}),onMouseEnter:R,onMouseLeave:z,onContextMenu:B,onClick:I,onDoubleClick:L},r,S.createElement(`span`,{className:J(`${w.prefixCls}-title`,T?.itemTitle),style:E?.itemTitle},i),le)},[w.prefixCls,w.showIcon,e,w.icon,ce,w.titleRender,_,se,R,z,B,I,L]),de=xi(x,{aria:!0,data:!0}),{level:fe}=kR(w.keyEntities,t)||{},pe=l[l.length-1],me=!j&&V,he=w.draggingNodeKey===t;return S.createElement(`div`,OX({ref:h,role:`treeitem`,id:C,"aria-expanded":ie?void 0:u,"aria-selected":F&&!j?d:void 0,"aria-checked":M&&!j?p?`mixed`:f:void 0,"aria-disabled":j,className:J(n,`${w.prefixCls}-treenode`,T?.item,{[`${w.prefixCls}-treenode-disabled`]:j,[`${w.prefixCls}-treenode-switcher-${u?`open`:`close`}`]:!s,[`${w.prefixCls}-treenode-checkbox-checked`]:f,[`${w.prefixCls}-treenode-checkbox-indeterminate`]:p,[`${w.prefixCls}-treenode-selected`]:d,[`${w.prefixCls}-treenode-loading`]:m,[`${w.prefixCls}-treenode-active`]:g,[`${w.prefixCls}-treenode-leaf-last`]:pe,[`${w.prefixCls}-treenode-draggable`]:V,dragging:he,"drop-target":w.dropTargetKey===t,"drop-container":w.dropContainerKey===t,"drag-over":!j&&i,"drag-over-gap-top":!j&&a,"drag-over-gap-bottom":!j&&o,"filter-node":w.filterTreeNode?.(BR(e)),[`${w.prefixCls}-treenode-leaf`]:ie}),style:{...r,...E?.item},draggable:me,onDragStart:me?H:void 0,onDragEnter:V?U:void 0,onDragOver:V?W:void 0,onDragLeave:V?ee:void 0,onDrop:V?ne:void 0,onDragEnd:V?te:void 0,onMouseMove:v},de),S.createElement(DX,{prefixCls:w.prefixCls,level:fe,isStart:c,isEnd:l}),K,q(),oe,ue)};MX.isTreeNode=1;function NX(e,t){if(!e)return[];let n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function PX(e,t){let n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function FX(e){return e.split(`-`)}function IX(e,t){let n=[],r=kR(t,e);function i(e=[]){e.forEach(({key:e,children:t})=>{n.push(e),i(t)})}return i(r.children),n}function LX(e){if(e.parent){let t=FX(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function RX(e){let t=FX(e.pos);return Number(t[t.length-1])===0}function zX(e,t,n,r,i,a,o,s,c,l){let{clientX:u,clientY:d}=e,{top:f,height:p}=e.target.getBoundingClientRect(),m=((l===`rtl`?-1:1)*((i?.x||0)-u)-12)/r,h=c.filter(e=>s[e]?.children?.length),g=kR(s,n.eventKey);if(de.key===g.key),t=o[e<=0?0:e-1].key;g=kR(s,t)}let _=g.key,v=g,y=g.key,b=0,x=0;if(!h.includes(_))for(let e=0;e-1.5?a({dragNode:S,dropNode:C,dropPosition:1})?b=1:w=!1:a({dragNode:S,dropNode:C,dropPosition:0})?b=0:a({dragNode:S,dropNode:C,dropPosition:1})?b=1:w=!1:a({dragNode:S,dropNode:C,dropPosition:1})?b=1:w=!1,{dropPosition:b,dropLevelOffset:x,dropTargetKey:g.key,dropTargetPos:g.pos,dragOverNodeKey:y,dropContainerKey:b===0?null:g.parent?.key||null,dropAllowed:w}}function BX(e,t){if(!e)return;let{multiple:n}=t;return n?e.slice():e.length?[e[0]]:e}function VX(e){if(!e)return null;let t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(typeof e==`object`)t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return ui(!1,"`checkedKeys` is not an array or an object"),null;return t}function HX(e,t){let n=new Set;function r(e){if(n.has(e))return;let i=kR(t,e);if(!i)return;n.add(e);let{parent:a,node:o}=i;o.disabled||a&&r(a.key)}return(e||[]).forEach(e=>{r(e)}),[...n]}var UX={},WX=`SELECT_ALL`,GX=`SELECT_INVERT`,KX=`SELECT_NONE`,qX=[],JX=(e,t,n=[])=>((t||[]).forEach(t=>{n.push(t),nf(t)&&e in t&&JX(e,t[e],n)}),n),YX=(e,t)=>{let{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:i,getCheckboxProps:a,getTitleCheckboxProps:o,onChange:s,onSelect:c,onSelectAll:l,onSelectInvert:u,onSelectNone:d,onSelectMultiple:f,columnWidth:p,type:m,selections:h,fixed:g,renderCell:_,hideSelectAll:v,checkStrictly:y=!0}=t||{},{prefixCls:b,data:x,pageData:C,getRecordByKey:w,getRowKey:T,expandType:E,childrenColumnName:D,locale:O,getPopupContainer:k}=e,A=Gi(`Table`),[j,M]=wf(e=>e),[N,P]=Gn(i||qX,r),F=N??qX,I=S.useRef(new Map),L=(0,S.useCallback)(e=>{if(n){let t=new Map;e.forEach(e=>{let n=w(e);!n&&I.current.has(e)&&(n=I.current.get(e)),t.set(e,n)}),I.current=t}},[w,n]);S.useEffect(()=>{L(F)},[F,L]);let R=(0,S.useMemo)(()=>JX(D,C),[D,C]),{keyEntities:z}=(0,S.useMemo)(()=>{if(y)return{keyEntities:null};let e=x;if(n){let t=new Set(R.map(T)),n=Array.from(I.current).reduce((e,[n,r])=>t.has(n)?e:e.concat(r),[]);e=[].concat(pa(e),pa(n))}return LR(e,{externalGetKey:T,childrenPropName:D})},[x,T,y,D,n,R]),B=(0,S.useMemo)(()=>{let e=new Map;return R.forEach((t,n)=>{let r=T(t,n),i=(a?a(t):null)||{};e.set(r,i)}),e},[R,T,a]),V=(0,S.useCallback)(e=>{let t=T(e),n;return n=B.has(t)?B.get(T(e)):a?a(e):void 0,!!n?.disabled},[B,T]),[H,U]=(0,S.useMemo)(()=>{if(y)return[F,[]];let{checkedKeys:e,halfCheckedKeys:t}=JR(F,!0,z,V);return[e||[],t]},[F,y,z,V]),W=(0,S.useMemo)(()=>{let e=m===`radio`?H.slice(0,1):H;return new Set(e)},[H,m]),ee=(0,S.useMemo)(()=>m===`radio`?new Set:new Set(U),[U,m]);S.useEffect(()=>{t||P(qX)},[!!t]);let te=(0,S.useCallback)((e,t)=>{let r,i;L(e),n?(r=e,i=e.map(e=>I.current.get(e))):(r=[],i=[],e.forEach(e=>{let t=w(e);t!==void 0&&(r.push(e),i.push(t))})),P(r),s?.(r,i,{type:t})},[P,w,s,n]),ne=(0,S.useCallback)((e,t,n,r)=>{if(c){let i=n.map(w);c(w(e),t,i,r)}te(n,`single`)},[c,w,te]),re=(0,S.useMemo)(()=>!h||v?null:(h===!0?[WX,GX,KX]:h).map(e=>e===`SELECT_ALL`?{key:`all`,text:O.selectionAll,onSelect(){te(x.map((e,t)=>T(e,t)).filter(e=>!B.get(e)?.disabled||W.has(e)),`all`)}}:e===`SELECT_INVERT`?{key:`invert`,text:O.selectInvert,onSelect(){let e=new Set(W);C.forEach((t,n)=>{let r=T(t,n);B.get(r)?.disabled||(e.has(r)?e.delete(r):e.add(r))});let t=Array.from(e);u&&(A.deprecated(!1,`onSelectInvert`,`onChange`),u(t)),te(t,`invert`)}}:e===`SELECT_NONE`?{key:`none`,text:O.selectNone,onSelect(){d?.(),te(Array.from(W).filter(e=>B.get(e)?.disabled),`none`)}}:e).map(e=>({...e,onSelect:(...t)=>{e.onSelect?.(...t),M(null)}})),[h,v,O.selectionAll,O.selectInvert,O.selectNone,B,W,x,C,T,u,te]);return[(0,S.useCallback)(e=>{if(!t)return e.filter(e=>e!==UX);let n=pa(e),r=new Set(W),i=R.map(T).filter(e=>!B.get(e).disabled),a=i.every(e=>r.has(e)),s=i.some(e=>r.has(e)),c=()=>{let e=[];a?i.forEach(t=>{r.delete(t),e.push(t)}):i.forEach(t=>{r.has(t)||(r.add(t),e.push(t))});let t=Array.from(r);l?.(!a,t.map(w),e.map(w)),te(t,`all`),M(null)},u,d;if(m!==`radio`){let e;if(re){let t={getPopupContainer:k,items:re.map((e,t)=>{let{key:n,text:r,onSelect:a}=e;return{key:n??t,onClick:()=>{a?.(i)},label:r}})};e=S.createElement(`div`,{className:`${b}-selection-extra`},S.createElement(WH,{menu:t,getPopupContainer:k},S.createElement(`span`,null,S.createElement(XC,null))))}let t=R.map((e,t)=>{let n=T(e,t),i=B.get(n)||{};return{checked:r.has(n),...i}}).filter(({disabled:e})=>e),n=!!t.length&&t.length===R.length,l=n&&t.every(({checked:e})=>e),f=n&&t.some(({checked:e})=>e),p=o?.()||{},{onChange:m,disabled:h}=p;d=S.createElement(Iz,{"aria-label":e?`Custom selection`:`Select all`,...p,checked:n?l:!!R.length&&a,indeterminate:n?!l&&f:!a&&s,onChange:e=>{c(),m?.(e)},disabled:h??(R.length===0||n),skipGroup:!0}),u=!v&&S.createElement(`div`,{className:`${b}-selection`},d,e)}let x;x=m===`radio`?(e,t,n)=>{let i=T(t,n),a=r.has(i),o=B.get(i);return{node:S.createElement(XI,{...o,checked:a,onClick:e=>{e.stopPropagation(),o?.onClick?.(e)},onChange:e=>{r.has(i)||ne(i,!0,[i],e.nativeEvent),o?.onChange?.(e)}}),checked:a}}:(e,t,n)=>{let a=T(t,n),o=r.has(a),s=ee.has(a),c=B.get(a),l;return l=E===`nest`?s:c?.indeterminate??s,{node:S.createElement(Iz,{...c,indeterminate:l,checked:o,skipGroup:!0,onClick:e=>{e.stopPropagation(),c?.onClick?.(e)},onChange:e=>{let{nativeEvent:t}=e,{shiftKey:n}=t,s=i.indexOf(a),l=H.some(e=>i.includes(e));if(n&&y&&l){let e=j(s,i,r),t=Array.from(r);f?.(!o,t.map(w),e.map(w)),te(t,`multiple`)}else{let e=H;if(y){let n=o?NX(e,a):PX(e,a);ne(a,!o,n,t)}else{let{checkedKeys:n,halfCheckedKeys:r}=JR([].concat(pa(e),[a]),!0,z,V),i=n;if(o){let e=new Set(n);e.delete(a),i=JR(Array.from(e),{checked:!1,halfCheckedKeys:r},z,V).checkedKeys}ne(a,!o,i,t)}}M(o?null:s),c?.onChange?.(e)}}),checked:o}};let C=(e,t,n)=>{let{node:r,checked:i}=x(e,t,n);return _?_(i,t,n,r):r};if(!n.includes(UX))if(n.findIndex(e=>e.RC_TABLE_INTERNAL_COL_DEFINE?.columnType===`EXPAND_COLUMN`)===0){let[e,...t]=n;n=[e,UX].concat(pa(t))}else n=[UX].concat(pa(n));let D=n.indexOf(UX);n=n.filter((e,t)=>e!==UX||t===D);let O=n[D-1],A=n[D+1],N=g;N===void 0&&(A?.fixed===void 0?O?.fixed!==void 0&&(N=O.fixed):N=A.fixed),N&&O&&O.RC_TABLE_INTERNAL_COL_DEFINE?.columnType===`EXPAND_COLUMN`&&O.fixed===void 0&&(O.fixed=N);let P=J(`${b}-selection-col`,{[`${b}-selection-col-with-dropdown`]:h&&m===`checkbox`}),F={fixed:N,width:p,className:`${b}-selection-column`,title:t?.columnTitle?typeof t.columnTitle==`function`?t.columnTitle(d):t.columnTitle:u,render:C,onCell:t.onCell,align:t.align,[TY]:{className:P}};return n.map(e=>e===UX?F:e)},[T,R,t,H,W,ee,p,re,E,B,f,ne,V]),W]};function XX(e){return t=>{let{prefixCls:n,onExpand:r,record:i,expanded:a,expandable:o}=t,s=`${n}-row-expand-icon`;return S.createElement(`button`,{type:`button`,onClick:e=>{r(i,e),e.stopPropagation()},className:J(s,{[`${s}-spaced`]:!o,[`${s}-expanded`]:o&&a,[`${s}-collapsed`]:o&&!a}),"aria-label":a?e.collapse:e.expand,"aria-expanded":a})}}function ZX(e){return(t,n)=>{let r=t.querySelector(`.${e}-container`),i=n;if(r){let e=getComputedStyle(r),t=Number.parseInt(e.borderLeftWidth,10),a=Number.parseInt(e.borderRightWidth,10);i=n-t-a}return i}}var QX=(e,t)=>`key`in e&&$d(e.key)?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join(`.`):e.dataIndex:t;function $X(e,t){return t?`${t}-${e}`:`${e}`}var eZ=(e,t)=>typeof e==`function`?e(t):e,tZ=(e,t)=>{let n=eZ(e,t);return Object.prototype.toString.call(n)===`[object Object]`?``:n},nZ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z`}}]},name:`filter`,theme:`filled`}}))());function rZ(){return rZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,rZ({},e,{ref:t,icon:nZ.default}))),aZ=e=>{let{dropPosition:t,dropLevelOffset:n,indent:r}=e,i={pointerEvents:`none`,position:`absolute`,right:0,backgroundColor:`red`,height:2};switch(t){case-1:i.top=0,i.left=-n*r;break;case 1:i.bottom=0,i.left=-n*r;break;case 0:i.bottom=0,i.left=r;break}return S.createElement(`div`,{style:i})};function oZ(e,t){let[n,r]=S.useState(!1);Hn(()=>{if(n)return e(),()=>{t()}},[n]),Hn(()=>(r(!0),()=>{r(!1)}),[])}function sZ(){return sZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:n,style:r,motion:i,motionNodes:a,motionType:o,onMotionStart:s,onMotionEnd:c,active:l,treeNodeRequiredProps:u,...d}=e,[f,p]=S.useState(!0),{prefixCls:m}=S.useContext(TX),h=a&&o!==`hide`;Hn(()=>{a&&h!==f&&p(h)},[a]);let g=()=>{a&&s()},_=S.useRef(!1),v=()=>{a&&!_.current&&(_.current=!0,c())};return oZ(g,v),a?S.createElement(Od,sZ({ref:t,visible:f},i,{motionAppear:o===`show`,onVisibleChanged:e=>{h===e&&v()}}),({className:e,style:t},n)=>S.createElement(`div`,{ref:n,className:J(`${m}-treenode-motion`,e),style:t},a.map(e=>{let{data:{...t},title:n,key:r,isStart:i,isEnd:a}=e;delete t.children;let o=zR(r,u);return S.createElement(MX,sZ({},t,o,{title:n,active:l,data:e.data,key:r,isStart:i,isEnd:a}))}))):S.createElement(MX,sZ({domRef:t,className:n,style:r},d,{active:l}))});function lZ(e=[],t=[]){let n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function i(e,t){let n=new Map;e.forEach(e=>{n.set(e,!0)});let r=t.filter(e=>!n.has(e));return r.length===1?r[0]:null}return ne.key===n)+1],i=t.findIndex(e=>e.key===n);if(r){let e=t.findIndex(e=>e.key===r.key);return t.slice(i+1,e)}return t.slice(i+1)}function dZ(){return dZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,data:r,selectable:i,checkable:a,expandedKeys:o,selectedKeys:s,checkedKeys:c,loadedKeys:l,loadingKeys:u,halfCheckedKeys:d,keyEntities:f,disabled:p,dragging:m,dragOverNodeKey:h,dropPosition:g,motion:_,height:v,itemHeight:y,virtual:b,scrollWidth:x,focusable:C,activeItem:w,tabIndex:T,onKeyDown:E,onFocus:D,onBlur:O,onMouseDown:k,onMouseUp:A,onActiveChange:j,onListChangeStart:M,onListChangeEnd:N,...P}=e,F=Xn(),I=S.useRef(null),L=S.useRef(null);S.useImperativeHandle(t,()=>({scrollTo:e=>{I.current.scrollTo(e)},getIndentWidth:()=>L.current.offsetWidth}));let[R,z]=S.useState(o),[B,V]=S.useState(r),[H,U]=S.useState(r),[W,ee]=S.useState([]),[te,ne]=S.useState(null),re=S.useRef(r);re.current=r;function G(){let e=re.current;V(e),U(e),ee([]),ne(null),N()}Hn(()=>{z(o);let e=lZ(R,o);if(e.key!==null)if(e.add){let t=B.findIndex(({key:t})=>t===e.key),n=gZ(uZ(B,r,e.key),b,v,y),i=B.slice();i.splice(t+1,0,hZ),U(i),ee(n),ne(`show`)}else{let t=r.findIndex(({key:t})=>t===e.key),n=gZ(uZ(r,B,e.key),b,v,y),i=r.slice();i.splice(t+1,0,hZ),U(i),ee(n),ne(`hide`)}else B!==r&&(V(r),U(r))},[o,r]),S.useEffect(()=>{m||G()},[m]);let ie=_?H:r,K={expandedKeys:o,selectedKeys:s,loadedKeys:l,loadingKeys:u,checkedKeys:c,halfCheckedKeys:d,dragOverNodeKey:h,dropPosition:g,keyEntities:f};return S.createElement(S.Fragment,null,S.createElement(`div`,{className:`${n}-treenode`,"aria-hidden":!0,style:{position:`absolute`,pointerEvents:`none`,visibility:`hidden`,height:0,overflow:`hidden`,border:0,padding:0}},S.createElement(`div`,{className:`${n}-indent`},S.createElement(`div`,{ref:L,className:`${n}-indent-unit`}))),S.createElement(nC,dZ({},P,{data:ie,itemKey:_Z,height:v,fullHeight:!1,virtual:b,itemHeight:y,scrollWidth:x,prefixCls:`${n}-list`,ref:I,role:`tree`,tabIndex:C!==!1&&!p?T:void 0,"aria-activedescendant":w?Jn(F,w.key):void 0,onKeyDown:E,onFocus:D,onBlur:O,onMouseDown:k,onMouseUp:A,onVisibleChange:e=>{e.every(e=>_Z(e)!==fZ)&&G()}}),e=>{let{pos:t,data:{...n},title:r,key:i,isStart:a,isEnd:o}=e,s=MR(i,t);delete n.key,delete n.children;let c=zR(s,K);return S.createElement(cZ,dZ({},n,c,{title:r,active:!!w&&i===w.key,pos:t,data:e.data,isStart:a,isEnd:o,motion:_,motionNodes:i===fZ?W:null,motionType:te,onMotionStart:M,onMotionEnd:G,treeNodeRequiredProps:K,treeId:F,onMouseMove:()=>{j(null)}}))}))});function yZ(){return yZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t!0,expandAction:!1};static TreeNode=MX;destroyed=!1;delayedDragEnterLogic;loadingRetryTimes={};state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],activeKey:null,listChanging:!1,prevProps:null,fieldNames:NR()};dragStartMousePosition=null;dragNodeProps=null;currentMouseOverDroppableNodeKey=null;focusedByMouse=!1;listRef=S.createRef();componentDidMount(){this.destroyed=!1,this.onUpdated()}componentDidUpdate(){this.onUpdated()}onUpdated(){let{activeKey:e,itemScrollOffset:t=0}=this.props;e!==void 0&&e!==this.state.activeKey&&(this.setState({activeKey:e}),e!==null&&this.scrollTo({key:e,offset:t}))}componentWillUnmount(){window.removeEventListener(`dragend`,this.onWindowDragEnd),this.destroyed=!0}static getDerivedStateFromProps(e,t){let{prevProps:n}=t,r={prevProps:e};function i(t){return!n&&e.hasOwnProperty(t)||n&&n[t]!==e[t]}let a,{fieldNames:o}=t;if(i(`fieldNames`)&&(o=NR(e.fieldNames),r.fieldNames=o),i(`treeData`)?{treeData:a}=e:i(`children`)&&(ui(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),a=PR(e.children)),a){r.treeData=a;let e=LR(a,{fieldNames:o});r.keyEntities={[fZ]:mZ,...e.keyEntities}}let s=r.keyEntities||t.keyEntities;if(i(`expandedKeys`)||n&&i(`autoExpandParent`))r.expandedKeys=e.autoExpandParent||!n&&e.defaultExpandParent?HX(e.expandedKeys,s):e.expandedKeys;else if(!n&&e.defaultExpandAll){let e={...s};delete e[fZ];let t=[];Object.keys(e).forEach(n=>{let r=e[n];r.children&&r.children.length&&t.push(r.key)}),r.expandedKeys=t}else !n&&e.defaultExpandedKeys&&(r.expandedKeys=e.autoExpandParent||e.defaultExpandParent?HX(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(r.expandedKeys||delete r.expandedKeys,(a||r.expandedKeys)&&(r.flattenNodes=FR(a||t.treeData,r.expandedKeys||t.expandedKeys,o)),e.selectable&&(i(`selectedKeys`)?r.selectedKeys=BX(e.selectedKeys,e):!n&&e.defaultSelectedKeys&&(r.selectedKeys=BX(e.defaultSelectedKeys,e))),e.checkable){let o;if(i(`checkedKeys`)?o=VX(e.checkedKeys)||{}:!n&&e.defaultCheckedKeys?o=VX(e.defaultCheckedKeys)||{}:a&&(o=VX(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),o){let{checkedKeys:t=[],halfCheckedKeys:n=[]}=o;if(!e.checkStrictly){let e=JR(t,!0,s);({checkedKeys:t,halfCheckedKeys:n}=e)}r.checkedKeys=t,r.halfCheckedKeys=n}}return i(`loadedKeys`)&&(r.loadedKeys=e.loadedKeys),r}onNodeDragStart=(e,t)=>{let{expandedKeys:n,keyEntities:r}=this.state,{onDragStart:i}=this.props,{eventKey:a}=t;this.dragNodeProps=t,this.dragStartMousePosition={x:e.clientX,y:e.clientY};let o=NX(n,a);this.setState({draggingNodeKey:a,dragChildrenKeys:IX(a,r),indent:this.listRef.current.getIndentWidth()}),this.setExpandedKeys(o),window.addEventListener(`dragend`,this.onWindowDragEnd),i?.({event:e,node:BR(t)})};onNodeDragEnter=(e,t)=>{let{expandedKeys:n,keyEntities:r,dragChildrenKeys:i,flattenNodes:a,indent:o}=this.state,{onDragEnter:s,onExpand:c,allowDrop:l,direction:u}=this.props,{pos:d,eventKey:f}=t;if(this.currentMouseOverDroppableNodeKey!==f&&(this.currentMouseOverDroppableNodeKey=f),!this.dragNodeProps){this.resetDragState();return}let{dropPosition:p,dropLevelOffset:m,dropTargetKey:h,dropContainerKey:g,dropTargetPos:_,dropAllowed:v,dragOverNodeKey:y}=zX(e,this.dragNodeProps,t,o,this.dragStartMousePosition,l,a,r,n,u);if(i.includes(h)||!v){this.resetDragState();return}if(this.delayedDragEnterLogic||={},Object.keys(this.delayedDragEnterLogic).forEach(e=>{clearTimeout(this.delayedDragEnterLogic[e])}),this.dragNodeProps.eventKey!==t.eventKey&&(e.persist(),this.delayedDragEnterLogic[d]=window.setTimeout(()=>{if(this.state.draggingNodeKey===null)return;let i=[...n],a=kR(r,t.eventKey);a&&(a.children||[]).length&&(i=PX(n,t.eventKey)),this.props.hasOwnProperty(`expandedKeys`)||this.setExpandedKeys(i),c?.(i,{node:BR(t),expanded:!0,nativeEvent:e.nativeEvent})},800)),this.dragNodeProps.eventKey===h&&m===0){this.resetDragState();return}this.setState({dragOverNodeKey:y,dropPosition:p,dropLevelOffset:m,dropTargetKey:h,dropContainerKey:g,dropTargetPos:_,dropAllowed:v}),s?.({event:e,node:BR(t),expandedKeys:n})};onNodeDragOver=(e,t)=>{let{dragChildrenKeys:n,flattenNodes:r,keyEntities:i,expandedKeys:a,indent:o}=this.state,{onDragOver:s,allowDrop:c,direction:l}=this.props;if(!this.dragNodeProps)return;let{dropPosition:u,dropLevelOffset:d,dropTargetKey:f,dropContainerKey:p,dropTargetPos:m,dropAllowed:h,dragOverNodeKey:g}=zX(e,this.dragNodeProps,t,o,this.dragStartMousePosition,c,r,i,a,l);n.includes(f)||!h||(this.dragNodeProps.eventKey===f&&d===0?this.state.dropPosition===null&&this.state.dropLevelOffset===null&&this.state.dropTargetKey===null&&this.state.dropContainerKey===null&&this.state.dropTargetPos===null&&this.state.dropAllowed===!1&&this.state.dragOverNodeKey===null||this.resetDragState():u===this.state.dropPosition&&d===this.state.dropLevelOffset&&f===this.state.dropTargetKey&&p===this.state.dropContainerKey&&m===this.state.dropTargetPos&&h===this.state.dropAllowed&&g===this.state.dragOverNodeKey||this.setState({dropPosition:u,dropLevelOffset:d,dropTargetKey:f,dropContainerKey:p,dropTargetPos:m,dropAllowed:h,dragOverNodeKey:g}),s?.({event:e,node:BR(t)}))};onNodeDragLeave=(e,t)=>{this.currentMouseOverDroppableNodeKey===t.eventKey&&!e.currentTarget.contains(e.relatedTarget)&&(this.resetDragState(),this.currentMouseOverDroppableNodeKey=null);let{onDragLeave:n}=this.props;n?.({event:e,node:BR(t)})};onWindowDragEnd=e=>{this.onNodeDragEnd(e,null,!0),window.removeEventListener(`dragend`,this.onWindowDragEnd)};onNodeDragEnd=(e,t)=>{let{onDragEnd:n}=this.props;this.setState({dragOverNodeKey:null}),this.cleanDragState(),n?.({event:e,node:BR(t)}),this.dragNodeProps=null,window.removeEventListener(`dragend`,this.onWindowDragEnd)};onNodeDrop=(e,t,n=!1)=>{let{dragChildrenKeys:r,dropPosition:i,dropTargetKey:a,dropTargetPos:o,dropAllowed:s}=this.state;if(!s)return;let{onDrop:c}=this.props;if(this.setState({dragOverNodeKey:null}),this.cleanDragState(),a===null)return;let l={...zR(a,this.getTreeNodeRequiredProps()),active:this.getActiveItem()?.key===a,data:kR(this.state.keyEntities,a).node};ui(!r.includes(a),`Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.`);let u=FX(o),d={event:e,node:BR(l),dragNode:this.dragNodeProps?BR(this.dragNodeProps):null,dragNodesKeys:[this.dragNodeProps.eventKey].concat(r),dropToGap:i!==0,dropPosition:i+Number(u[u.length-1])};n||c?.(d),this.dragNodeProps=null};resetDragState(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}cleanDragState=()=>{let{draggingNodeKey:e}=this.state;e!==null&&this.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),this.dragStartMousePosition=null,this.currentMouseOverDroppableNodeKey=null};triggerExpandActionExpand=(e,t)=>{let{expandedKeys:n,flattenNodes:r}=this.state,{expanded:i,key:a,isLeaf:o}=t;if(o||e.shiftKey||e.metaKey||e.ctrlKey)return;let s=r.filter(e=>e.key===a)[0],c=BR({...zR(a,this.getTreeNodeRequiredProps()),data:s.data});this.setExpandedKeys(i?NX(n,a):PX(n,a)),this.onNodeExpand(e,c)};onNodeClick=(e,t)=>{let{onClick:n,expandAction:r}=this.props;r===`click`&&this.triggerExpandActionExpand(e,t),n?.(e,t)};onNodeDoubleClick=(e,t)=>{let{onDoubleClick:n,expandAction:r}=this.props;r===`doubleClick`&&this.triggerExpandActionExpand(e,t),n?.(e,t)};onNodeSelect=(e,t)=>{let{selectedKeys:n}=this.state,{keyEntities:r,fieldNames:i}=this.state,{onSelect:a,multiple:o}=this.props,{selected:s}=t,c=t[i.key],l=!s;n=l?o?PX(n,c):[c]:NX(n,c);let u=n.map(e=>{let t=kR(r,e);return t?t.node:null}).filter(Boolean);this.setUncontrolledState({selectedKeys:n}),a?.(n,{event:`select`,selected:l,node:t,selectedNodes:u,nativeEvent:e.nativeEvent})};onNodeCheck=(e,t,n)=>{let{keyEntities:r,checkedKeys:i,halfCheckedKeys:a}=this.state,{checkStrictly:o,onCheck:s}=this.props,{key:c}=t,l,u={event:`check`,node:t,checked:n,nativeEvent:e.nativeEvent};if(o){let e=n?PX(i,c):NX(i,c);l={checked:e,halfChecked:NX(a,c)},u.checkedNodes=e.map(e=>kR(r,e)).filter(Boolean).map(e=>e.node),this.setUncontrolledState({checkedKeys:e})}else{let{checkedKeys:e,halfCheckedKeys:t}=JR([...i,c],!0,r);if(!n){let n=new Set(e);n.delete(c),{checkedKeys:e,halfCheckedKeys:t}=JR(Array.from(n),{checked:!1,halfCheckedKeys:t},r)}l=e,u.checkedNodes=[],u.checkedNodesPositions=[],u.halfCheckedKeys=t,e.forEach(e=>{let t=kR(r,e);if(!t)return;let{node:n,pos:i}=t;u.checkedNodes.push(n),u.checkedNodesPositions.push({node:n,pos:i})}),this.setUncontrolledState({checkedKeys:e},!1,{halfCheckedKeys:t})}s?.(l,u)};onNodeLoad=e=>{let{key:t}=e,{keyEntities:n}=this.state;if(kR(n,t)?.children?.length)return;let r=new Promise((n,r)=>{this.setState(({loadedKeys:i=[],loadingKeys:a=[]})=>{let{loadData:o,onLoad:s}=this.props;return!o||i.includes(t)||a.includes(t)?null:(o(e).then(()=>{let{loadedKeys:r}=this.state,i=PX(r,t);s?.(i,{event:`load`,node:e}),this.setUncontrolledState({loadedKeys:i}),this.setState(e=>({loadingKeys:NX(e.loadingKeys,t)})),n()}).catch(e=>{if(this.setState(e=>({loadingKeys:NX(e.loadingKeys,t)})),this.loadingRetryTimes[t]=(this.loadingRetryTimes[t]||0)+1,this.loadingRetryTimes[t]>=bZ){let{loadedKeys:e}=this.state;ui(!1,"Retry for `loadData` many times but still failed. No more retry."),this.setUncontrolledState({loadedKeys:PX(e,t)}),n()}r(e)}),{loadingKeys:PX(a,t)})})});return r.catch(()=>{}),r};onNodeMouseEnter=(e,t)=>{let{onMouseEnter:n}=this.props;n?.({event:e,node:t})};onNodeMouseLeave=(e,t)=>{let{onMouseLeave:n}=this.props;n?.({event:e,node:t})};onNodeContextMenu=(e,t)=>{let{onRightClick:n}=this.props;n&&(e.preventDefault(),n({event:e,node:t}))};onMouseDown=e=>{this.focusedByMouse=!0;let{onMouseDown:t}=this.props;t?.(e)};onMouseUp=e=>{this.focusedByMouse=!1;let{onMouseUp:t}=this.props;t?.(e)};onFocus=(...e)=>{let{onFocus:t,disabled:n}=this.props,{activeKey:r,selectedKeys:i,flattenNodes:a}=this.state;if(!this.focusedByMouse&&!n&&r===null){let e=i.find(e=>a.some(t=>t.key===e));e===void 0?this.onActiveChange(a?.[0]?.key||null):this.onActiveChange(e)}t?.(...e)};onBlur=(...e)=>{this.focusedByMouse=!1;let{onBlur:t}=this.props;this.onActiveChange(null),t?.(...e)};getTreeNodeRequiredProps=()=>{let{expandedKeys:e,selectedKeys:t,loadedKeys:n,loadingKeys:r,checkedKeys:i,halfCheckedKeys:a,dragOverNodeKey:o,dropPosition:s,keyEntities:c}=this.state;return{expandedKeys:e||[],selectedKeys:t||[],loadedKeys:n||[],loadingKeys:r||[],checkedKeys:i||[],halfCheckedKeys:a||[],dragOverNodeKey:o,dropPosition:s,keyEntities:c}};setExpandedKeys=e=>{let{treeData:t,fieldNames:n}=this.state,r=FR(t,e,n);this.setUncontrolledState({expandedKeys:e,flattenNodes:r},!0)};onNodeExpand=(e,t)=>{let{expandedKeys:n}=this.state,{listChanging:r,fieldNames:i}=this.state,{onExpand:a,loadData:o}=this.props,{expanded:s}=t,c=t[i.key];if(r)return;let l=n.includes(c),u=!s;if(ui(s&&l||!s&&!l,`Expand state not sync with index check`),n=u?PX(n,c):NX(n,c),this.setExpandedKeys(n),a?.(n,{node:t,expanded:u,nativeEvent:e.nativeEvent}),u&&o){let e=this.onNodeLoad(t);e&&e.then(()=>{let e=FR(this.state.treeData,n,i);this.setUncontrolledState({flattenNodes:e})}).catch(()=>{let{expandedKeys:e}=this.state,t=NX(e,c);this.setExpandedKeys(t)})}};onListChangeStart=()=>{this.setUncontrolledState({listChanging:!0})};onListChangeEnd=()=>{setTimeout(()=>{this.setUncontrolledState({listChanging:!1})})};onActiveChange=e=>{let{activeKey:t}=this.state,{onActiveChange:n,itemScrollOffset:r=0}=this.props;t!==e&&(this.setState({activeKey:e}),e!==null&&this.scrollTo({key:e,offset:r}),n?.(e))};getActiveItem=()=>{let{activeKey:e,flattenNodes:t}=this.state;return e===null?null:t.find(({key:t})=>t===e)||null};offsetActiveKey=e=>{let{flattenNodes:t,activeKey:n}=this.state,r=t.findIndex(({key:e})=>e===n);r===-1&&e<0&&(r=t.length),r=(r+e+t.length)%t.length;let i=t[r];if(i){let{key:e}=i;this.onActiveChange(e)}else this.onActiveChange(null)};onKeyDown=e=>{let{activeKey:t,expandedKeys:n,checkedKeys:r,flattenNodes:i,keyEntities:a}=this.state,{onKeyDown:o,checkable:s,selectable:c,disabled:l,loadData:u}=this.props;if(l)return;switch(e.key){case`ArrowUp`:this.offsetActiveKey(-1),e.preventDefault();break;case`ArrowDown`:this.offsetActiveKey(1),e.preventDefault();break;case`Home`:this.onActiveChange(i?.[0]?.key),e.preventDefault();break;case`End`:this.onActiveChange(i?.[i.length-1]?.key),e.preventDefault();break}let d=this.getActiveItem();if(d&&d.data){let i=BR({...zR(t,this.getTreeNodeRequiredProps()),data:d.data,active:!0}),o=!!kR(a,t)?.children?.length,l=!RR(d.data.isLeaf,u,o,i.loaded),f=s&&!i.disabled&&i.checkable!==!1&&!i.disableCheckbox,p=!s&&c&&!i.disabled&&i.selectable!==!1;switch(e.key){case`ArrowLeft`:l&&n.includes(t)?this.onNodeExpand({},i):d.parent&&this.onActiveChange(d.parent.key),e.preventDefault();break;case`ArrowRight`:l&&!n.includes(t)?this.onNodeExpand({},i):d.children&&d.children.length&&this.onActiveChange(d.children[0].key),e.preventDefault();break;case`Enter`:l?(e.preventDefault(),this.onNodeExpand({},i)):f?r.includes(t)||(e.preventDefault(),this.onNodeCheck({},i,!0)):p&&!i.selected&&(e.preventDefault(),this.onNodeSelect({},i));break;case` `:f?(e.preventDefault(),this.onNodeCheck({},i,!r.includes(t))):p&&(e.preventDefault(),this.onNodeSelect({},i));break}}o?.(e)};setUncontrolledState=(e,t=!1,n=null)=>{if(!this.destroyed){let r=!1,i=!0,a={};Object.keys(e).forEach(t=>{if(this.props.hasOwnProperty(t)){i=!1;return}r=!0,a[t]=e[t]}),r&&(!t||i)&&this.setState({...a,...n})}};scrollTo=e=>{this.listRef.current.scrollTo(e)};render(){let{flattenNodes:e,keyEntities:t,draggingNodeKey:n,dropLevelOffset:r,dropContainerKey:i,dropTargetKey:a,dropPosition:o,dragOverNodeKey:s,indent:c}=this.state,{prefixCls:l,className:u,style:d,styles:f,classNames:p,showLine:m,focusable:h,tabIndex:g=0,selectable:_,showIcon:v,icon:y,switcherIcon:b,draggable:x,checkable:C,checkStrictly:w,disabled:T,motion:E,loadData:D,filterTreeNode:O,height:k,itemHeight:A,scrollWidth:j,virtual:M,titleRender:N,dropIndicatorRender:P,onContextMenu:F,onScroll:I,direction:L,rootClassName:R,rootStyle:z}=this.props,B=xi(this.props,{aria:!0,data:!0}),V;x&&(V=typeof x==`object`?x:typeof x==`function`?{nodeDraggable:x}:{});let H={styles:f,classNames:p,prefixCls:l,selectable:_,showIcon:v,icon:y,switcherIcon:b,draggable:V,draggingNodeKey:n,checkable:C,checkStrictly:w,disabled:T,keyEntities:t,dropLevelOffset:r,dropContainerKey:i,dropTargetKey:a,dropPosition:o,dragOverNodeKey:s,indent:c,direction:L,dropIndicatorRender:P,loadData:D,filterTreeNode:O,titleRender:N,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return S.createElement(TX.Provider,{value:H},S.createElement(`div`,{className:J(l,u,R,{[`${l}-show-line`]:m}),style:z},S.createElement(vZ,yZ({ref:this.listRef,prefixCls:l,style:d,data:e,disabled:T,selectable:_,checkable:!!C,motion:E,dragging:n!==null,height:k,itemHeight:A,virtual:M,focusable:h,tabIndex:g,activeItem:this.getActiveItem(),onFocus:this.onFocus,onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:F,onScroll:I,scrollWidth:j},this.getTreeNodeRequiredProps(),B))))}},SZ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z`}}]},name:`file`,theme:`outlined`}}))());function CZ(){return CZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,CZ({},e,{ref:t,icon:SZ.default}))),TZ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z`}}]},name:`folder-open`,theme:`outlined`}}))());function EZ(){return EZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,EZ({},e,{ref:t,icon:TZ.default}))),OZ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z`}}]},name:`folder`,theme:`outlined`}}))());function kZ(){return kZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,kZ({},e,{ref:t,icon:OZ.default}))),jZ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z`}}]},name:`holder`,theme:`outlined`}}))());function MZ(){return MZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,MZ({},e,{ref:t,icon:jZ.default}))),PZ=({treeCls:e,treeNodeCls:t,directoryNodeSelectedBg:n,directoryNodeSelectedColor:r,motionDurationMid:i,borderRadius:a,controlItemBgHover:o})=>({[`${e}${e}-directory ${t}`]:{[`${e}-node-content-wrapper`]:{position:`static`,[`&:has(${e}-drop-indicator)`]:{position:`relative`},[`> *:not(${e}-drop-indicator)`]:{position:`relative`},"&:hover":{background:`transparent`},"&:before":{position:`absolute`,inset:0,transition:`background-color ${i}`,content:`""`,borderRadius:a},"&:hover:before":{background:o}},[`${e}-switcher, ${e}-checkbox, ${e}-draggable-icon`]:{zIndex:1},"&-selected":{background:n,borderRadius:a,[`${e}-switcher, ${e}-draggable-icon`]:{color:r},[`${e}-node-content-wrapper`]:{color:r,background:`transparent`,"&, &:hover":{color:r},"&:before, &:hover:before":{background:n}}}}}),FZ=new Ms(`ant-tree-node-fx-do-not-use`,{"0%":{opacity:0},"100%":{opacity:1}}),IZ=(e,t)=>({[`.${e}-switcher-icon`]:{display:`inline-block`,fontSize:10,verticalAlign:`baseline`,svg:{transition:`transform ${t.motionDurationSlow}`}}}),LZ=(e,t)=>({[`.${e}-drop-indicator`]:{position:`absolute`,zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:`none`,"&:after":{position:`absolute`,top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:`transparent`,border:`${Y(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:`50%`,content:`""`}}}),RZ=(e,t)=>{let{treeCls:n,treeNodeCls:r,treeNodePadding:i,titleHeight:a,indentSize:o,switcherSize:s,motionDurationMid:c,nodeSelectedBg:l,nodeHoverBg:u,colorTextQuaternary:d,controlItemBgActiveDisabled:f}=t;return{[n]:{...Ul(t),"--rc-virtual-list-scrollbar-bg":t.colorSplit,background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,"&-rtl":{direction:`rtl`},[`&${n}-rtl ${n}-switcher_close ${n}-switcher-icon svg`]:{transform:`rotate(90deg)`},[`${n}-list`]:{"&:focus-visible":{outline:`none`,[`${r}-active ${n}-node-content-wrapper`]:{...Kl(t)}}},[`${n}-list-holder-inner`]:{alignItems:`flex-start`},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:`stretch`,[`${n}-node-content-wrapper`]:{flex:`auto`},[`${r}.dragging:after`]:{position:`absolute`,inset:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:FZ,animationDuration:t.motionDurationSlow,animationPlayState:`running`,animationFillMode:`forwards`,content:`""`,pointerEvents:`none`,borderRadius:t.borderRadius}}},[r]:{display:`flex`,alignItems:`flex-start`,marginBottom:i,lineHeight:Y(a),position:`relative`,"&:before":{content:`""`,position:`absolute`,zIndex:1,insetInlineStart:0,width:`100%`,top:`100%`,height:i},[`&-disabled ${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:`not-allowed`,"&:hover":{background:`transparent`}},[`${n}-checkbox-disabled + ${n}-node-selected,&${r}-disabled${r}-selected ${n}-node-content-wrapper`]:{backgroundColor:f},[`${n}-checkbox-disabled`]:{pointerEvents:`unset`},[`&:not(${r}-disabled)`]:{[`${n}-node-content-wrapper`]:{"&:hover":{color:t.nodeHoverColor}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:t.fontWeightStrong},"&-draggable":{cursor:`grab`,[`${n}-draggable-icon`]:{flexShrink:0,width:s,textAlign:`center`,visibility:`visible`,color:d},[`&${r}-disabled ${n}-draggable-icon`]:{visibility:`hidden`}}},[`${n}-indent`]:{alignSelf:`stretch`,whiteSpace:`nowrap`,userSelect:`none`,"&-unit":{display:`inline-block`,width:o}},[`${n}-draggable-icon`]:{visibility:`hidden`},[`${n}-switcher, ${n}-checkbox`]:{marginInlineEnd:t.calc(t.calc(s).sub(t.controlInteractiveSize)).div(2).equal()},[`${n}-checkbox`]:{flexShrink:0,alignSelf:`flex-start`,marginBlockStart:t.calc(t.calc(a).sub(t.controlInteractiveSize)).div(2).equal()},[`${n}-switcher`]:{...IZ(e,t),position:`relative`,flex:`none`,alignSelf:`stretch`,width:s,textAlign:`center`,cursor:`pointer`,userSelect:`none`,transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:`unset`},"&:before":{pointerEvents:`none`,content:`""`,width:s,height:a,position:`absolute`,left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},[`&_close ${n}-switcher-icon svg`]:{transform:`rotate(-90deg)`},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:`relative`,zIndex:1,display:`inline-block`,width:`100%`,height:`100%`,"&:before":{position:`absolute`,top:0,insetInlineEnd:t.calc(s).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:`""`},"&:after":{position:`absolute`,width:t.calc(t.calc(s).div(2).equal()).mul(.8).equal(),height:t.calc(a).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:`""`}}},[`${n}-node-content-wrapper`]:{position:`relative`,minHeight:a,paddingBlock:0,paddingInline:t.paddingXS,background:`transparent`,borderRadius:t.borderRadius,cursor:`pointer`,transition:[`all ${c}`,`border 0s`,`line-height 0s`,`box-shadow 0s`].join(`, `),...LZ(e,t),"&:hover":{backgroundColor:u},[`&${n}-node-selected`]:{color:t.nodeSelectedColor,backgroundColor:l},[`${n}-iconEle`]:{display:`inline-block`,width:s,height:a,textAlign:`center`,verticalAlign:`top`,"&:empty":{display:`none`}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:`transparent`},[`${r}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${t.colorPrimary}`},"&-show-line":{[`${n}-indent-unit`]:{position:`relative`,height:`100%`,"&:before":{position:`absolute`,top:0,insetInlineEnd:t.calc(s).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:`""`},"&-end:before":{display:`none`}},[`${n}-switcher`]:{background:`transparent`,"&-line-icon":{verticalAlign:`-0.15em`}}},[`${r}-leaf-last ${n}-switcher-leaf-line:before`]:{top:`auto !important`,bottom:`auto !important`,height:`${Y(t.calc(a).div(2).equal())} !important`}}}},zZ=(e,t,n=!0)=>{let r=`.${e}`,i=dc(t,{treeCls:r,treeNodeCls:`${r}-treenode`,treeNodePadding:t.calc(t.paddingXS).div(2).equal()});return[RZ(e,i),n&&PZ(i)].filter(Boolean)},BZ=e=>{let{controlHeightSM:t,controlItemBgHover:n,controlItemBgActive:r}=e,i=t;return{titleHeight:i,switcherSize:i,indentSize:i,nodeHoverBg:n,nodeHoverColor:e.colorText,nodeSelectedBg:r,nodeSelectedColor:e.colorText}},VZ=Ql(`Tree`,(e,{prefixCls:t})=>[{[e.componentCls]:yz(`${t}-checkbox`,e)},zZ(t,e),Wh(e)],e=>{let{colorTextLightSolid:t,colorPrimary:n}=e;return{...BZ(e),directoryNodeSelectedColor:t,directoryNodeSelectedBg:n}}),HZ=e=>{let{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:i,direction:a=`ltr`}=e,o=a===`ltr`?`left`:`right`,s=a===`ltr`?`right`:`left`,c={[o]:-n*i+4,[s]:0};switch(t){case-1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[o]=i+4;break}return S.createElement(`div`,{style:c,className:`${r}-drop-indicator`})},UZ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z`}}]},name:`caret-down`,theme:`filled`}}))());function WZ(){return WZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,WZ({},e,{ref:t,icon:UZ.default}))),KZ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`minus-square`,theme:`outlined`}}))());function qZ(){return qZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,qZ({},e,{ref:t,icon:KZ.default}))),YZ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`plus-square`,theme:`outlined`}}))());function XZ(){return XZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,XZ({},e,{ref:t,icon:YZ.default}))),QZ=e=>{let{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:i,switcherLoadingIcon:a}=e,{isLeaf:o,expanded:s,loading:c}=r;if(c)return S.isValidElement(a)?a:S.createElement(Zm,{className:`${t}-switcher-loading-icon`});let l;if(nf(i)&&(l=i.showLeafIcon),o){if(!i)return null;if(typeof l!=`boolean`&&l){let e=typeof l==`function`?l(r):l,n=`${t}-switcher-line-custom-icon`;return S.isValidElement(e)?lm(e,{className:J(e.props?.className,n)}):e}return l?S.createElement(wZ,{className:`${t}-switcher-line-icon`}):S.createElement(`span`,{className:`${t}-switcher-leaf-line`})}let u=`${t}-switcher-icon`,d=typeof n==`function`?n(r):n;return S.isValidElement(d)?lm(d,{className:J(d.props?.className,i?`${t}-switcher-line-icon`:u)}):d===void 0?i?s?S.createElement(JZ,{className:`${t}-switcher-line-icon`}):S.createElement(ZZ,{className:`${t}-switcher-line-icon`}):S.createElement(GZ,{className:u}):d},$Z=S.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r,className:i,style:a,classNames:o,styles:s}=ya(`tree`),{virtual:c}=S.useContext(ga),{prefixCls:l,className:u,showIcon:d=!1,showLine:f,switcherIcon:p,switcherLoadingIcon:m,blockNode:h=!1,children:g,checkable:_=!1,selectable:v=!0,draggable:y,disabled:b,motion:x,style:C,rootClassName:w,classNames:T,styles:E,icon:D}=e,O=S.useContext(mm),k=b??O,A=n(`tree`,l),j=n(),M=x??{...ph(j),motionAppear:!1},N={...e,showIcon:d,blockNode:h,checkable:_,selectable:v,disabled:k,motion:M},[P,F]=Cf([o,T],[s,E],{props:N}),I={...N,showLine:!!f,icon:D,dropIndicatorRender:HZ},[L,R]=VZ(A),[,z]=Vl(),B=z.paddingXS/2+(z.Tree?.titleHeight||z.controlHeightSM),V=S.useMemo(()=>{if(!y)return!1;let e={};switch(typeof y){case`function`:e.nodeDraggable=y;break;case`object`:e={...y};break;default:break}return e.icon!==!1&&(e.icon=e.icon||S.createElement(NZ,null)),e},[y]),H=e=>S.createElement(QZ,{prefixCls:A,switcherIcon:p,switcherLoadingIcon:m,treeNodeProps:e,showLine:f});return S.createElement(xZ,{itemHeight:B,ref:t,virtual:c,...I,prefixCls:A,className:J({[`${A}-icon-hide`]:!d,[`${A}-block-node`]:h,[`${A}-unselectable`]:!v,[`${A}-rtl`]:r===`rtl`,[`${A}-disabled`]:k},i,u,L,R),style:{...a,...C},rootClassName:J(P.root,w),rootStyle:F.root,classNames:P,styles:F,direction:r,checkable:_&&S.createElement(`span`,{className:`${A}-checkbox-inner`}),selectable:v,switcherIcon:H,draggable:V},g)}),eQ=0,tQ=1,nQ=2;function rQ(e,t,n){let{key:r,children:i}=n;function a(e){let a=e[r],o=e[i];t(a,e)!==!1&&rQ(o||[],t,n)}e.forEach(a)}function iQ({treeData:e,expandedKeys:t,startKey:n,endKey:r,fieldNames:i}){let a=[],o=eQ;if(n&&n===r)return[n];if(!n||!r)return[];function s(e){return e===n||e===r}return rQ(e,e=>{if(o===nQ)return!1;if(s(e)){if(a.push(e),o===eQ)o=tQ;else if(o===tQ)return o=nQ,!1}else o===tQ&&a.push(e);return t.includes(e)},NR(i)),a}function aQ(e,t,n){let r=pa(t),i=[];return rQ(e,(e,t)=>{let n=r.indexOf(e);return n!==-1&&(i.push(t),r.splice(n,1)),!!r.length},NR(n)),i}function oQ(e){let{isLeaf:t,expanded:n}=e;return t?S.createElement(wZ,null):n?S.createElement(DZ,null):S.createElement(AZ,null)}function sQ({treeData:e,children:t}){return e||PR(t)}var cQ=S.forwardRef((e,t)=>{let{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:i,...a}=e,o=S.useRef(null),s=S.useRef(null),c=()=>{let{keyEntities:e}=LR(sQ(a),{fieldNames:a.fieldNames}),t,o=a.expandedKeys||i||[];return t=n?Object.keys(e):r?HX(o,e):o,t},[l,u]=S.useState(a.selectedKeys||a.defaultSelectedKeys||[]),[d,f]=S.useState(()=>c());S.useEffect(()=>{`selectedKeys`in a&&u(a.selectedKeys)},[a.selectedKeys]),S.useEffect(()=>{`expandedKeys`in a&&f(a.expandedKeys)},[a.expandedKeys]);let p=(e,t)=>(`expandedKeys`in a||f(e),a.onExpand?.(e,t)),m=(e,t)=>{let{multiple:n,fieldNames:r}=a,{node:i,nativeEvent:c}=t,{key:l=``}=i,f=sQ(a),p={...t,selected:!0},m=c?.ctrlKey||c?.metaKey,h=c?.shiftKey,g;n&&m?(g=e,o.current=l,s.current=g,p.selectedNodes=aQ(f,g,r)):n&&h?(g=Array.from(new Set([].concat(pa(s.current||[]),pa(iQ({treeData:f,expandedKeys:d,startKey:l,endKey:o.current,fieldNames:r}))))),p.selectedNodes=aQ(f,g,r)):(g=[l],o.current=l,s.current=g,p.selectedNodes=aQ(f,g,r)),a.onSelect?.(g,p),`selectedKeys`in a||u(g)},{getPrefixCls:h,direction:g}=S.useContext(ga),{prefixCls:_,className:v,showIcon:y=!0,expandAction:b=`click`,...x}=a,C=h(`tree`,_),w=J(`${C}-directory`,{[`${C}-directory-rtl`]:g===`rtl`},v);return S.createElement($Z,{icon:oQ,ref:t,blockNode:!0,...x,showIcon:y,expandAction:b,prefixCls:C,className:w,expandedKeys:d,selectedKeys:l,onSelect:m,onExpand:p})}),lQ=$Z;lQ.DirectoryTree=cQ,lQ.TreeNode=MX;var uQ=e=>{let{value:t,filterSearch:n,tablePrefixCls:r,locale:i,onChange:a}=e;return n?S.createElement(`div`,{className:`${r}-filter-dropdown-search`},S.createElement(UB,{prefix:S.createElement($C,null),placeholder:i.filterSearchPlaceholder,onChange:a,value:t,htmlSize:1,className:`${r}-filter-dropdown-search-input`})):null},dQ=e=>{let{keyCode:t}=e;t===Qr.ENTER&&e.stopPropagation()},fQ=S.forwardRef((e,t)=>S.createElement(`div`,{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:dQ,ref:t},e.children));function pQ(e){let t=[];return(e||[]).forEach(({value:e,children:n})=>{t.push(e),n&&(t=[].concat(pa(t),pa(pQ(n))))}),t}function mQ(e){return e.some(({children:e})=>e)}var hQ=(e,t)=>typeof t==`string`||ef(t)?t.toString().toLowerCase().includes(e):!1,gQ=e=>{let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:a,normalizedSearchValue:o,filterSearch:s}=e;return t.map((e,t)=>{let c=String(e.value);if(e.children)return{key:c||t,label:e.text,popupClassName:`${n}-dropdown-submenu`,children:gQ({filters:e.children,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:a,normalizedSearchValue:o,filterSearch:s})};let l=i?Iz:XI,u={key:e.value===void 0?t:c,label:S.createElement(S.Fragment,null,S.createElement(l,{checked:r.includes(c)}),S.createElement(`span`,null,e.text))};return o?typeof s==`function`?s(o,e)?u:null:hQ(o,e.text)?u:null:u})};function _Q(e){return e||[]}var vQ=e=>{let{tablePrefixCls:t,prefixCls:n,column:r,dropdownPrefixCls:i,columnKey:a,filterOnClose:o,filterMultiple:s,filterMode:c=`menu`,filterSearch:l=!1,filterState:u,triggerFilter:d,locale:f,children:p,getPopupContainer:m,rootClassName:h}=e,{filterResetToDefaultFilteredValue:g,defaultFilteredValue:_,filterDropdownProps:v={},filterDropdownOpen:y,onFilterDropdownOpenChange:b}=r,[x,C]=S.useState(!1),w=S.useContext(Iw),T=!!(u&&(u.filteredKeys?.length||u.forceFiltered)),E=e=>{C(e),v.onOpenChange?.(e),b?.(e)},D=v.open??y??x,O=u?.filteredKeys,[k,A]=Af(_Q(O)),j=({selectedKeys:e})=>{A(e)},M=(e,{node:t,checked:n})=>{j(s?{selectedKeys:e}:{selectedKeys:n&&t.key?[t.key]:[]})};S.useEffect(()=>{x&&j({selectedKeys:_Q(O)})},[O]);let[N,P]=S.useState([]),F=e=>{P(e)},[I,L]=S.useState(``),R=S.useMemo(()=>I.trim().toLowerCase(),[I]),z=e=>{let{value:t}=e.target;L(t)};S.useEffect(()=>{x||L(``)},[x]);let B=e=>{let t=e?.length?e:null;if(t===null&&(!u||!u.filteredKeys)||fi(t,u?.filteredKeys,!0))return null;d({column:r,key:a,filteredKeys:t})},V=()=>{E(!1),B(k())},H=({confirm:e,closeDropdown:t}={confirm:!1,closeDropdown:!1})=>{e&&B([]),t&&E(!1),L(``),A(g?(_||[]).map(String):[])},U=({closeDropdown:e}={closeDropdown:!0})=>{e&&E(!1),B(k())},W=(e,t)=>{t.source===`trigger`&&(e&&O!==void 0&&A(_Q(O)),E(e),!e&&!r.filterDropdown&&o&&V())},ee=J({[`${i}-menu-without-submenu`]:!mQ(r.filters||[])}),te=e=>{e.target.checked?A(pQ(r?.filters).map(String)):A([])},ne=({filters:e})=>(e||[]).map((e,t)=>{let n=String(e.value),r={title:e.text,key:e.value===void 0?String(t):n};return e.children&&(r.children=ne({filters:e.children})),r}),re=e=>({...e,text:e.title,value:e.key,children:e.children?.map(re)||[]}),G,{direction:ie,renderEmpty:K}=S.useContext(ga);if(typeof r.filterDropdown==`function`)G=r.filterDropdown({prefixCls:`${i}-custom`,setSelectedKeys:e=>j({selectedKeys:e}),selectedKeys:k(),confirm:U,clearFilters:H,filters:r.filters,visible:D,close:()=>{E(!1)}});else if(r.filterDropdown)G=r.filterDropdown;else{let e=k()||[];G=S.createElement(S.Fragment,null,(()=>{let a=K?.(`Table.filter`)??S.createElement(OC,{image:OC.PRESENTED_IMAGE_SIMPLE,description:f.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:`16px 0`}});if((r.filters||[]).length===0)return a;if(c===`tree`)return S.createElement(S.Fragment,null,S.createElement(uQ,{filterSearch:l,value:I,onChange:z,tablePrefixCls:t,locale:f}),S.createElement(`div`,{className:`${t}-filter-dropdown-tree`},s?S.createElement(Iz,{checked:e.length===pQ(r.filters).length,indeterminate:e.length>0&&e.lengthtypeof l==`function`?l(I,re(e)):hQ(R,e.title):void 0})));let o=gQ({filters:r.filters||[],filterSearch:l,prefixCls:n,filteredKeys:k(),filterMultiple:s,searchValue:I,normalizedSearchValue:R}),u=o.every(e=>e===null);return S.createElement(S.Fragment,null,S.createElement(uQ,{filterSearch:l,value:I,onChange:z,tablePrefixCls:t,locale:f}),u?a:S.createElement(rD,{selectable:!0,multiple:s,prefixCls:`${i}-menu`,className:ee,onSelect:j,onDeselect:j,selectedKeys:e,getPopupContainer:m,openKeys:N,onOpenChange:F,items:o}))})(),S.createElement(`div`,{className:`${n}-dropdown-btns`},S.createElement(m_,{type:`link`,size:`small`,disabled:g?fi((_||[]).map(String),e,!0):e.length===0,onClick:()=>H()},f.filterReset),S.createElement(m_,{type:`primary`,size:`small`,onClick:V},f.filterConfirm)))}r.filterDropdown&&(G=S.createElement(YE,{selectable:void 0},G)),G=S.createElement(fQ,{className:`${n}-dropdown`},G);let ae=(()=>{let e;return e=typeof r.filterIcon==`function`?r.filterIcon(T):r.filterIcon?r.filterIcon:S.createElement(iZ,null),S.createElement(`span`,{role:`button`,tabIndex:-1,className:J(`${n}-trigger`,{active:T}),onClick:e=>{e.stopPropagation()}},e)})();if(w)return S.createElement(`div`,{className:`${n}-column`},S.createElement(`span`,{className:`${t}-column-title`},p),ae);let q=Qd({trigger:[`click`],placement:ie===`rtl`?`bottomLeft`:`bottomRight`,children:ae,getPopupContainer:m},{...v,rootClassName:J(h,v.rootClassName),open:D,onOpenChange:W,popupRender:()=>typeof v?.dropdownRender==`function`?v.dropdownRender(G):G});return S.createElement(`div`,{className:`${n}-column`},S.createElement(`span`,{className:`${t}-column-title`},p),S.createElement(WH,{...q}))},yQ=(e,t,n)=>{let r=[];return(e||[]).forEach((e,i)=>{let a=$X(i,n),o=e.filterDropdown!==void 0;if(e.filters||o||`onFilter`in e)if(`filteredValue`in e){let t=e.filteredValue;o||(t=t?.map(String)??t),r.push({column:e,key:QX(e,a),filteredKeys:t,forceFiltered:e.filtered})}else r.push({column:e,key:QX(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered});`children`in e&&(r=[].concat(pa(r),pa(yQ(e.children,t,a))))}),r};function bQ(e,t,n,r,i,a,o,s,c){return n.map((n,l)=>{let u=$X(l,s),{filterOnClose:d=!0,filterMultiple:f=!0,filterMode:p,filterSearch:m}=n,h=n;if(h.filters||h.filterDropdown){let s=QX(h,u),l=r.find(({key:e})=>s===e);h={...h,title:r=>S.createElement(vQ,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:h,columnKey:s,filterState:l,filterOnClose:d,filterMultiple:f,filterMode:p,filterSearch:m,triggerFilter:a,locale:i,getPopupContainer:o,rootClassName:c},eZ(n.title,r))}}return`children`in h&&(h={...h,children:bQ(e,t,h.children,r,i,a,o,u,c)}),h})}var xQ=e=>{let t={};return e.forEach(({key:e,filteredKeys:n,column:r})=>{let i=e,{filters:a,filterDropdown:o}=r;o?t[i]=n||null:Array.isArray(n)?t[i]=pQ(a).filter(e=>n.includes(String(e))):t[i]=null}),t},SQ=(e,t,n)=>t.reduce((e,r)=>{let{column:{onFilter:i,filters:a},filteredKeys:o}=r;if(i&&o&&o.length){let r=pQ(a),s=new Map;r.forEach(e=>{let t=String(e);s.has(t)||s.set(t,e)});let c=o.map(e=>{let t=String(e);return s.get(t)??e});return(e=>e.reduce((e,r)=>{let a={...r};return a[n]&&(a[n]=SQ(a[n],t,n)),c.some(e=>i(e,a))&&e.push(a),e},[]))(e)}return e},e),CQ=e=>e.flatMap(e=>`children`in e?[e].concat(pa(CQ(e.children||[]))):[e]),wQ=e=>{let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:i,getPopupContainer:a,locale:o,rootClassName:s}=e;Gi(`Table`);let c=S.useMemo(()=>CQ(r||[]),[r]),[l,u]=S.useState(()=>yQ(c,!0)),d=S.useMemo(()=>{let e=yQ(c,!1);if(e.length===0)return e;let t=!0;if(e.forEach(({filteredKeys:e})=>{e!==void 0&&(t=!1)}),t){let e=(c||[]).map((e,t)=>QX(e,$X(t)));return l.filter(({key:t})=>e.includes(t)).map(t=>{let n=c[e.indexOf(t.key)];return{...t,column:{...t.column,...n},forceFiltered:n.filtered}})}return e},[c,l]),f=S.useMemo(()=>xQ(d),[d]),p=e=>{let t=d.filter(({key:t})=>t!==e.key);t.push(e),u(t),i(xQ(t),t)};return[e=>bQ(t,n,e,d,o,p,a,void 0,s),d,f]},TQ=(e,t,n)=>{let r=S.useRef({});function i(i){if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let i=new Map;function a(e){e.forEach((e,r)=>{let o=n(e,r);i.set(o,e),nf(e)&&t in e&&a(e[t]||[])})}a(e),r.current={data:e,childrenColumnName:t,kvMap:i,getRowKey:n}}return r.current.kvMap?.get(i)}return[i]};function EQ(e,t){let n={current:e.current,pageSize:e.pageSize},r=nf(t)?t:{};return Object.keys(r).forEach(t=>{let r=e[t];typeof r!=`function`&&(n[t]=r)}),n}function DQ(e,t,n){let{total:r=0,...i}=nf(n)?n:{},[a,o]=(0,S.useState)(()=>({current:`defaultCurrent`in i?i.defaultCurrent:1,pageSize:`defaultPageSize`in i?i.defaultPageSize:10})),s=Qd(a,i,{total:r>0?r:e}),c=Math.ceil((r||e)/s.pageSize);s.current>c&&(s.current=c||1);let l=(e,t)=>{o({current:e??1,pageSize:t||s.pageSize})},u=(e,r)=>{n&&n.onChange?.(e,r),l(e,r),t(e,r||s?.pageSize)};return n===!1?[{},()=>{}]:[{...s,onChange:u},l]}var OQ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z`}}]},name:`caret-down`,theme:`outlined`}}))());function kQ(){return kQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,kQ({},e,{ref:t,icon:OQ.default}))),jQ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z`}}]},name:`caret-up`,theme:`outlined`}}))());function MQ(){return MQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,MQ({},e,{ref:t,icon:jQ.default}))),PQ=`ascend`,FQ=`descend`,IQ=e=>e.sorter&&typeof e.sorter==`object`&&ef(e.sorter.multiple)?e.sorter.multiple:!1,LQ=e=>typeof e==`function`?e:nf(e)&&e.compare?e.compare:!1,RQ=(e,t)=>t?e[e.indexOf(t)+1]:e[0],zQ=(e,t,n)=>{let r=[],i=(e,t)=>{r.push({column:e,key:QX(e,t),multiplePriority:IQ(e),sortOrder:e.sortOrder})};return(e||[]).forEach((e,a)=>{let o=$X(a,n);e.children?(`sortOrder`in e&&i(e,o),r=[].concat(pa(r),pa(zQ(e.children,t,o)))):e.sorter&&(`sortOrder`in e?i(e,o):t&&e.defaultSortOrder&&r.push({column:e,key:QX(e,o),multiplePriority:IQ(e),sortOrder:e.defaultSortOrder}))}),r},BQ=(e,t,n,r,i,a,o,s,c)=>(t||[]).map((t,l)=>{let u=$X(l,s),d=t;if(d.sorter){let s=d.sortDirections||i,l=d.showSorterTooltip===void 0?o:d.showSorterTooltip,f=QX(d,u),p=n.find(({key:e})=>e===f),m=p?p.sortOrder:null,h=RQ(s,m),g;if(t.sortIcon)g=t.sortIcon({sortOrder:m});else{let t=s.includes(PQ)&&S.createElement(NQ,{className:J(`${e}-column-sorter-up`,{active:m===PQ})}),n=s.includes(FQ)&&S.createElement(AQ,{className:J(`${e}-column-sorter-down`,{active:m===FQ})});g=S.createElement(`span`,{className:J(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(t&&n)})},S.createElement(`span`,{className:`${e}-column-sorter-inner`,"aria-hidden":`true`},t,n))}let{cancelSort:_,triggerAsc:v,triggerDesc:y}=a||{},b=_;h===FQ?b=y:h===PQ&&(b=v);let x=nf(l)?{title:b,...l}:{title:b};d={...d,className:J(d.className,{[`${e}-column-sort`]:m}),title:n=>{let r=`${e}-column-sorters`,i=S.createElement(`span`,{className:`${e}-column-title`},eZ(t.title,n)),a=S.createElement(`div`,{className:r},i,g);return l?typeof l!=`boolean`&&l?.target===`sorter-icon`?S.createElement(`div`,{className:J(r,`${r}-tooltip-target-sorter`)},i,S.createElement(Jw,{...x},g)):S.createElement(Jw,{...x},a):a},onHeaderCell:n=>{let i=t.onHeaderCell?.(n)||{},a=i.onClick,o=i.onKeyDown;i.onClick=e=>{r({column:t,key:f,sortOrder:h,multiplePriority:IQ(t)}),a?.(e)},i.onKeyDown=e=>{e.keyCode===Qr.ENTER&&(r({column:t,key:f,sortOrder:h,multiplePriority:IQ(t)}),o?.(e))};let s=tZ(t.title,{}),l=s?.toString();return m&&(i[`aria-sort`]=m===`ascend`?`ascending`:`descending`),i[`aria-description`]=c?.sortable,i[`aria-label`]=l||``,i.className=J(i.className,`${e}-column-has-sorters`),i.tabIndex=0,t.ellipsis&&(i.title=(s??``).toString()),i}}}return`children`in d&&(d={...d,children:BQ(e,d.children,n,r,i,a,o,u,c)}),d}),VQ=e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},HQ=e=>{let t=e.filter(({sortOrder:e})=>e).map(VQ);return t.length===0&&e.length?{...VQ(e[e.length-1]),column:void 0,order:void 0,field:void 0,columnKey:void 0}:t.length<=1?t[0]||{}:t},UQ=(e,t,n)=>{let r=t.slice().sort((e,t)=>t.multiplePriority-e.multiplePriority),i=e.slice(),a=r.filter(({column:{sorter:e},sortOrder:t})=>LQ(e)&&t);return a.length?i.sort((e,t)=>{for(let n=0;n{let r=e[n];return r?{...e,[n]:UQ(r,t,n)}:e}):i},WQ=e=>{let{prefixCls:t,mergedColumns:n,sortDirections:r,tableLocale:i,showSorterTooltip:a,onSorterChange:o,globalLocale:s}=e,[c,l]=S.useState(()=>zQ(n,!0)),u=(e,t)=>{let n=[];return e.forEach((e,r)=>{let i=$X(r,t);if(n.push(QX(e,i)),Array.isArray(e.children)){let t=u(e.children,i);n.push.apply(n,pa(t))}}),n},d=S.useMemo(()=>{let e=!0,t=zQ(n,!1);if(!t.length){let e=u(n);return c.filter(({key:t})=>e.includes(t))}let r=[];function i(t){e?r.push(t):r.push({...t,sortOrder:null})}let a=null;return t.forEach(t=>{a===null?(i(t),t.sortOrder&&(t.multiplePriority===!1?e=!1:a=!0)):(a&&t.multiplePriority!==!1||(e=!1),i(t))}),r},[n,c]),f=S.useMemo(()=>{let e=d.map(({column:e,sortOrder:t})=>({column:e,order:t}));return{sortColumns:e,sortColumn:e[0]?.column,sortOrder:e[0]?.order}},[d]),p=e=>{let t;t=e.multiplePriority===!1||!d.length||d[0].multiplePriority===!1?[e]:[].concat(pa(d.filter(({key:t})=>t!==e.key)),[e]),l(t),o(HQ(t),t)};return[e=>BQ(t,e,d,p,r,i,a,void 0,s),d,f,()=>HQ(d)]},GQ=(e,t)=>e.map(e=>{let n={...e};return n.title=eZ(e.title,t),`children`in n&&(n.children=GQ(n.children,t)),n}),KQ=e=>[S.useCallback(t=>GQ(t,e),[e])],qQ=lX((e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),JQ=SX((e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),YQ=e=>{let{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:i,tableHeaderBg:a,tablePaddingVertical:o,tablePaddingHorizontal:s,calc:c}=e,l=`${Y(n)} ${r} ${i}`,u=(e,r,i)=>({[`&${t}-${e}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"> table > tbody > tr > th, > table > tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`${Y(c(r).mul(-1).equal())} + }`)}});function nq(){return nq=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{id:t,prefixCls:n,classNames:r={},styles:i={},steps:a,strokeWidth:o,railWidth:s,gapDegree:c=0,gapPosition:l,railColor:u,strokeLinecap:d,style:f,className:p,strokeColor:m,percent:h,loading:g,..._}={...YK,...e},v=Xn(t),y=`${v}-gradient`,b=50-o/2,x=Math.PI*2*b,C=c>0?90+c/2:-90,w=x*((360-c)/360),{count:T,gap:E}=typeof a==`object`?a:{count:a,gap:2},D=rq(h),O=rq(m),k=O.find(e=>e&&typeof e==`object`),A=k&&typeof k==`object`?`butt`:d,{indeterminateStyleProps:j,indeterminateStyleAnimation:M}=tq({id:v,loading:g}),N=eq(x,w,0,100,C,c,l,u,A,o),P=XK(),F=()=>{let e=0;return D.map((t,a)=>{let s=O[a]||O[O.length-1],u=eq(x,w,e,t,C,c,l,s,A,o);return e+=t,S.createElement($K,{key:a,color:s,ptg:t,radius:b,prefixCls:n,gradientId:y,className:r.track,style:{...u,...j,...i.track},strokeLinecap:A,strokeWidth:o,gapDegree:c,ref:e=>{P[a]=e},size:100})}).reverse()},I=()=>{let e=Math.round(T*(D[0]/100)),t=100/T,a=0;return Array(T).fill(null).map((s,d)=>{let f=d<=e-1?O[0]:u,p=f&&typeof f==`object`?`url(#${y})`:void 0,m=eq(x,w,a,t,C,c,l,f,`butt`,o,E);return a+=(w-m.strokeDashoffset+E)*100/w,S.createElement(`circle`,{key:d,className:J(`${n}-circle-path`,r.track),r:b,cx:50,cy:50,stroke:p,strokeWidth:o,opacity:1,style:{...m,...i.track},ref:e=>{P[d]=e}})})};return S.createElement(`svg`,nq({className:J(`${n}-circle`,r.root,p),viewBox:`0 0 100 100`,style:{...i.root,...f},id:t,role:`presentation`},_),!T&&S.createElement(`circle`,{className:J(`${n}-circle-rail`,r.rail),r:b,cx:50,cy:50,stroke:u,strokeLinecap:A,strokeWidth:s||o,style:{...N,...i.rail}}),T?I():F(),M)};function aq(e){return!e||e<0?0:e>100?100:e}function oq({success:e}){let t;return e&&`percent`in e&&(t=e.percent),t}var sq=({percent:e,success:t})=>{let n=aq(oq({success:t}));return[n,aq(aq(e)-n)]},cq=({success:e={},strokeColor:t})=>{let{strokeColor:n}=e;return[n||Kc.green,t||null]},lq=(e,t,n)=>{let r=-1,i=-1;if(t===`step`){let t=n.steps,a=n.strokeWidth;typeof e==`string`||e===void 0?(r=e===`small`?2:14,i=a??8):ef(e)?[r,i]=[e,e]:[r=14,i=8]=Array.isArray(e)?e:[e.width,e.height],r*=t}else if(t===`line`){let t=n?.strokeWidth;typeof e==`string`||e===void 0?i=t||(e===`small`?6:8):ef(e)?[r,i]=[e,e]:[r=-1,i=8]=Array.isArray(e)?e:[e.width,e.height]}else (t===`circle`||t===`dashboard`)&&(typeof e==`string`||e===void 0?[r,i]=e===`small`?[60,60]:[120,120]:ef(e)?[r,i]=[e,e]:Array.isArray(e)&&(r=e[0]??e[1]??120,i=e[0]??e[1]??120));return[r,i]},uq=3,dq=e=>uq/e*100,fq=[`root`,`body`,`indicator`],pq=e=>{let{prefixCls:t,classNames:n,styles:r,railColor:i,trailColor:a,strokeLinecap:o=`round`,gapPosition:s,gapPlacement:c,gapDegree:l,width:u=120,type:d,children:f,success:p,size:m=u,steps:h}=e,{direction:g}=ya(`progress`),_=i??a,[v,y]=lq(m,`circle`),{strokeWidth:b}=e;b===void 0&&(b=Math.max(dq(v),6));let x={width:v,height:y,fontSize:v*.15+6},C=S.useMemo(()=>{if(l||l===0)return l;if(d===`dashboard`)return 75},[l,d]),w=sq(e),T=S.useMemo(()=>{let e=(c??s)||d===`dashboard`&&`bottom`||void 0,t=g===`rtl`;switch(e){case`start`:return t?`right`:`left`;case`end`:return t?`left`:`right`;default:return e}},[g,c,s,d]),E=Object.prototype.toString.call(e.strokeColor)===`[object Object]`,D=cq({success:p,strokeColor:e.strokeColor}),O=J(`${t}-body`,{[`${t}-circle-gradient`]:E},n.body),k=S.createElement(iq,{steps:h,percent:h?w[1]:w,strokeWidth:b,railWidth:b,strokeColor:h?D[1]:D,strokeLinecap:o,railColor:_,prefixCls:t,gapDegree:C,gapPosition:T,classNames:gi(n,fq),styles:gi(r,fq)}),A=v<=20,j=S.createElement(`div`,{className:O,style:{...x,...r.body}},k,!A&&f);return A?S.createElement(Iw,{title:f},j):j},mq=`--progress-line-stroke-color`,hq=e=>{let t=e?`100%`:`-100%`;return new Ms(`antProgress${e?`RTL`:`LTR`}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:`translateX(0) scaleX(1)`,opacity:0}})},gq=e=>{let{componentCls:t,iconCls:n}=e;return{[t]:{...Ul(e),display:`inline-flex`,"&-rtl":{direction:`rtl`},[`${t}-indicator`]:{color:e.colorText,lineHeight:1,whiteSpace:`nowrap`,verticalAlign:`middle`,wordBreak:`normal`,[n]:{fontSize:e.fontSize}},[`&${t}-status-exception`]:{[`${t}-indicator`]:{color:e.colorError}},[`&${t}-status-success`]:{[`${t}-indicator`]:{color:e.colorSuccess}}}}},_q=e=>{let{componentCls:t}=e;return{[`${t}-line`]:{position:`relative`,width:`100%`,fontSize:e.fontSize,[`${t}-body`]:{display:`inline-flex`,alignItems:`center`,width:`100%`,gap:e.marginXS},[`${t}-rail`]:{flex:`auto`,background:e.remainingColor,borderRadius:e.lineBorderRadius,position:`relative`,width:`100%`,overflow:`hidden`},[`&${t}-status-active`]:{[`${t}-track:after`]:{content:`""`,position:`absolute`,inset:0,backgroundColor:e.colorBgContainer,borderRadius:`inherit`,opacity:0,animationName:hq(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:`infinite`}},[`${t}-track`]:{position:`absolute`,insetInlineStart:0,insetBlock:0,borderRadius:`inherit`,background:e.defaultColor,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,minWidth:`max-content`,display:`flex`,alignItems:`center`,"&-success":{background:e.colorSuccess}},[`&${t}-status-exception`]:{[`${t}-track`]:{background:e.colorError}},[`&${t}-status-success`]:{[`${t}-track`]:{background:e.colorSuccess}},[`${t}-indicator-outer`]:{[`&${t}-indicator-start`]:{order:-1}},[`${t}-body-layout-bottom`]:{flexDirection:`column`,alignItems:`center`,gap:e.marginXXS},[`${t}-indicator${t}-indicator-inner`]:{color:e.colorWhite,paddingInline:e.paddingXXS,width:`100%`,display:`flex`,justifyContent:`center`,[`&${t}-indicator-end`]:{justifyContent:`end`},[`&${t}-indicator-start`]:{justifyContent:`start`},[`&${t}-indicator-bright`]:{color:`rgba(0, 0, 0, 0.45)`}}}}},vq=e=>{let{componentCls:t,iconCls:n}=e;return{[`${t}-circle`]:{[`${t}-circle-rail`]:{stroke:e.remainingColor},[`${t}-body:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-body`]:{position:`relative`,lineHeight:1,backgroundColor:`transparent`},[`${t}-indicator`]:{position:`absolute`,insetBlockStart:`50%`,insetInlineStart:0,width:`100%`,margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:`normal`,textAlign:`center`,transform:`translateY(-50%)`,[n]:{fontSize:e.circleIconFontSize}},[`&${t}-status-exception`]:{[`${t}-body:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}}},[`&${t}-status-success`]:{[`${t}-body:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:`bottom`}}}},yq=e=>{let{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:`inline-block`,"&-body":{display:`flex`,flexDirection:`row`,alignItems:`center`,gap:e.progressStepMarginInlineEnd,[`${t}-indicator`]:{marginInlineStart:e.marginXS}},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},bq=e=>{let{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-indicator ${n}`]:{fontSize:e.fontSizeSM}}}},xq=Ql(`Progress`,e=>{let t=e.calc(e.marginXXS).div(2).equal(),n=dc(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:`2.4s`});return[gq(n),_q(n),vq(n),yq(n),bq(n)]},e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:`1em`,circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`})),Sq=e=>{let t=[];return Object.keys(e).forEach(n=>{let r=Number.parseFloat(n.replace(/%/g,``));Number.isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((e,t)=>e.key-t.key),t.map(({key:e,value:t})=>`${t} ${e}%`).join(`, `)},Cq=(e,t)=>{let{from:n=Kc.blue,to:r=Kc.blue,direction:i=t===`rtl`?`to left`:`to right`,...a}=e;if(Object.keys(a).length!==0){let e=`linear-gradient(${i}, ${Sq(a)})`;return{background:e,[mq]:e}}let o=`linear-gradient(${i}, ${n}, ${r})`;return{background:o,[mq]:o}},wq=e=>{let{prefixCls:t,classNames:n,styles:r,direction:i,percent:a,size:o,strokeWidth:s,strokeColor:c,strokeLinecap:l=`round`,children:u,railColor:d,trailColor:f,percentPosition:p,success:m}=e,{align:h,type:g}=p,_=d??f,v=l===`square`||l===`butt`?0:void 0,[y,b]=lq(o??[-1,s||(o===`small`?6:8)],`line`,{strokeWidth:s}),x={backgroundColor:_||void 0,borderRadius:v,height:b},C=`${t}-track`,w=c&&typeof c!=`string`?Cq(c,i):{[mq]:c,background:c},T={width:`${aq(a)}%`,height:b,borderRadius:v,...w},E=oq(e),D={width:`${aq(E)}%`,height:b,borderRadius:v,backgroundColor:m?.strokeColor};return S.createElement(`div`,{className:J(`${t}-body`,n.body,{[`${t}-body-layout-bottom`]:h===`center`&&g===`outer`}),style:{width:y>0?y:`100%`,...r.body}},S.createElement(`div`,{className:J(`${t}-rail`,n.rail),style:{...x,...r.rail}},S.createElement(`div`,{className:J(C,n.track),style:{...T,...r.track}},g===`inner`&&u),E!==void 0&&S.createElement(`div`,{className:J(C,`${C}-success`,n.track),style:{...D,...r.track}})),g===`outer`&&u)},Tq=e=>{let{classNames:t,styles:n,size:r,steps:i,rounding:a=Math.round,percent:o=0,strokeWidth:s=8,strokeColor:c,railColor:l,trailColor:u,prefixCls:d,children:f}=e,p=a(o/100*i),[m,h]=lq(r??[r===`small`?2:14,s],`step`,{steps:i,strokeWidth:s}),g=m/i,_=Array.from({length:i}),v=l??u;for(let e=0;e{let{prefixCls:n,className:r,rootClassName:i,classNames:a,styles:o,steps:s,strokeColor:c,percent:l=0,size:u=`medium`,showInfo:d=!0,type:f=`line`,status:p,format:m,style:h,percentPosition:g={},..._}=e,{align:v=`end`,type:y=`outer`}=g,b=Array.isArray(c)?c[0]:c,x=typeof c==`string`||Array.isArray(c)?c:void 0,C=S.useMemo(()=>b?new Nc(typeof b==`string`?b:Object.values(b)[0]).isLight():!1,[c]),w=S.useMemo(()=>{let t=oq(e);return Number.parseInt(t===void 0?(l??0)?.toString():(t??0)?.toString(),10)},[l,e.success]),T=S.useMemo(()=>!Eq.includes(p)&&w>=100?`success`:p||`normal`,[p,w]),{getPrefixCls:E,direction:D,className:O,style:k,classNames:A,styles:j}=ya(`progress`),M=E(`progress`,n),[N,P]=xq(M),F={...e,percent:l,type:f,size:u,showInfo:d,percentPosition:g},[I,L]=Cf([A,a],[j,o],{props:F}),R=f===`line`,z=R&&!s,B=S.useMemo(()=>{if(!d)return null;let t=oq(e),n,r=m||(e=>`${e}%`),i=R&&C&&y===`inner`;return y===`inner`||m||T!==`exception`&&T!==`success`?n=r(aq(l),aq(t)):T===`exception`?n=R?S.createElement(Ou,null):S.createElement(ju,null):T===`success`&&(n=R?S.createElement(Tu,null):S.createElement(FC,null)),S.createElement(`span`,{className:J(`${M}-indicator`,{[`${M}-indicator-bright`]:i,[`${M}-indicator-${v}`]:z,[`${M}-indicator-${y}`]:z},I.indicator),style:L.indicator,title:typeof n==`string`?n:void 0},n)},[d,l,w,T,f,M,m,R,C,y,v,z,I.indicator,L.indicator]),V={...e,classNames:I,styles:L},H;f===`line`?H=s?S.createElement(Tq,{...V,strokeColor:x,prefixCls:M,steps:nf(s)?s.count:s},B):S.createElement(wq,{...V,strokeColor:b,prefixCls:M,direction:D,percentPosition:{align:v,type:y}},B):(f===`circle`||f===`dashboard`)&&(H=S.createElement(pq,{...V,strokeColor:b,prefixCls:M,progressStatus:T},B));let U=J(M,`${M}-status-${T}`,{[`${M}-${f===`dashboard`&&`circle`||f}`]:f!==`line`,[`${M}-inline-circle`]:f===`circle`&&lq(u,`circle`)[0]<=20,[`${M}-line`]:z,[`${M}-line-align-${v}`]:z,[`${M}-line-position-${y}`]:z,[`${M}-steps`]:s,[`${M}-show-info`]:d,[`${M}-small`]:u===`small`,[`${M}-rtl`]:D===`rtl`},O,r,i,I.root,N,P);return S.createElement(`div`,{ref:t,style:{...k,...L.root,...h},className:U,role:`progressbar`,"aria-valuenow":w,"aria-valuemin":0,"aria-valuemax":100,...gi(_,[`railColor`,`trailColor`,`strokeWidth`,`width`,`gapDegree`,`gapPosition`,`gapPlacement`,`strokeLinecap`,`success`])},H)});function Oq(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=da(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}var kq,Aq;function jq(e,t,n){if(t<0||t>31||e>>>t)throw RangeError(`Value out of range`);for(var r=t-1;r>=0;r--)n.push(e>>>r&1)}function Mq(e,t){return(e>>>t&1)!=0}function Nq(e){if(!e)throw Error(`Assertion error`)}var Pq=function(){function e(t,n){Ws(this,e),Vs(this,`modeBits`,void 0),Vs(this,`numBitsCharCount`,void 0),this.modeBits=t,this.numBitsCharCount=n}return Ks(e,[{key:`numCharCountBits`,value:function(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}}]),e}();kq=Pq,Vs(Pq,`NUMERIC`,new kq(1,[10,12,14])),Vs(Pq,`ALPHANUMERIC`,new kq(2,[9,11,13])),Vs(Pq,`BYTE`,new kq(4,[8,16,16])),Vs(Pq,`KANJI`,new kq(8,[8,10,12])),Vs(Pq,`ECI`,new kq(7,[0,0,0]));var Fq=Ks(function e(t,n){Ws(this,e),Vs(this,`ordinal`,void 0),Vs(this,`formatBits`,void 0),this.ordinal=t,this.formatBits=n});Aq=Fq,Vs(Fq,`LOW`,new Aq(0,1)),Vs(Fq,`MEDIUM`,new Aq(1,0)),Vs(Fq,`QUARTILE`,new Aq(2,3)),Vs(Fq,`HIGH`,new Aq(3,2));var Iq=function(){function e(t,n,r){if(Ws(this,e),Vs(this,`mode`,void 0),Vs(this,`numChars`,void 0),Vs(this,`bitData`,void 0),this.mode=t,this.numChars=n,this.bitData=r,n<0)throw RangeError(`Invalid argument`);this.bitData=r.slice()}return Ks(e,[{key:`getData`,value:function(){return this.bitData.slice()}}],[{key:`makeBytes`,value:function(t){var n=[],r=Oq(t),i;try{for(r.s();!(i=r.n()).done;){var a=i.value;jq(a,8,n)}}catch(e){r.e(e)}finally{r.f()}return new e(Pq.BYTE,t.length,n)}},{key:`makeNumeric`,value:function(t){if(!e.isNumeric(t))throw RangeError(`String contains non-numeric characters`);for(var n=[],r=0;r=1<e.MAX_VERSION)throw RangeError(`Version value out of range`);if(a<-1||a>7)throw RangeError(`Mask value out of range`);this.size=t*4+17;for(var o=[],s=0;s>>9)*1335;var i=(t<<10|n)^21522;Nq(i>>>15==0);for(var a=0;a<=5;a++)this.setFunctionModule(8,a,Mq(i,a));this.setFunctionModule(8,7,Mq(i,6)),this.setFunctionModule(8,8,Mq(i,7)),this.setFunctionModule(7,8,Mq(i,8));for(var o=9;o<15;o++)this.setFunctionModule(14-o,8,Mq(i,o));for(var s=0;s<8;s++)this.setFunctionModule(this.size-1-s,8,Mq(i,s));for(var c=8;c<15;c++)this.setFunctionModule(8,this.size-15+c,Mq(i,c));this.setFunctionModule(8,this.size-8,!0)}},{key:`drawVersion`,value:function(){if(!(this.version<7)){for(var e=this.version,t=0;t<12;t++)e=e<<1^(e>>>11)*7973;var n=this.version<<12|e;Nq(n>>>18==0);for(var r=0;r<18;r++){var i=Mq(n,r),a=this.size-11+r%3,o=Math.floor(r/3);this.setFunctionModule(a,o,i),this.setFunctionModule(o,a,i)}}}},{key:`drawFinderPattern`,value:function(e,t){for(var n=-4;n<=4;n++)for(var r=-4;r<=4;r++){var i=Math.max(Math.abs(r),Math.abs(n)),a=e+r,o=t+n;0<=a&&a=s)&&h.push(t[e])})},_=0;_=1;r-=2){r==6&&(r=5);for(var i=0;i>>3],7-(n&7)),n++)}}Nq(n==t.length*8)}},{key:`applyMask`,value:function(e){if(e<0||e>7)throw RangeError(`Mask value out of range`);for(var t=0;t5&&t++):(this.finderPenaltyAddHistory(i,a),r||(t+=this.finderPenaltyCountPatterns(a)*e.PENALTY_N3),r=this.modules[n][o],i=1);t+=this.finderPenaltyTerminateAndCount(r,i,a)*e.PENALTY_N3}for(var s=0;s5&&t++):(this.finderPenaltyAddHistory(l,u),c||(t+=this.finderPenaltyCountPatterns(u)*e.PENALTY_N3),c=this.modules[d][s],l=1);t+=this.finderPenaltyTerminateAndCount(c,l,u)*e.PENALTY_N3}for(var f=0;f0&&e[2]==t&&e[3]==t*3&&e[4]==t&&e[5]==t;return(n&&e[0]>=t*4&&e[6]>=t?1:0)+(n&&e[6]>=t*4&&e[0]>=t?1:0)}},{key:`finderPenaltyTerminateAndCount`,value:function(e,t,n){var r=t;return e&&(this.finderPenaltyAddHistory(r,n),r=0),r+=this.size,this.finderPenaltyAddHistory(r,n),this.finderPenaltyCountPatterns(n)}},{key:`finderPenaltyAddHistory`,value:function(e,t){var n=e;t[0]==0&&(n+=this.size),t.pop(),t.unshift(n)}}],[{key:`encodeText`,value:function(t,n){var r=Iq.makeSegments(t);return e.encodeSegments(r,n)}},{key:`encodeBinary`,value:function(t,n){var r=Iq.makeBytes(t);return e.encodeSegments([r],n)}},{key:`encodeSegments`,value:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:40,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1,o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;if(!(e.MIN_VERSION<=r&&r<=i&&i<=e.MAX_VERSION)||a<-1||a>7)throw RangeError(`Invalid value`);var s,c;for(s=r;;s++){var l=e.getNumDataCodewords(s,n)*8,u=Iq.getTotalBits(t,s);if(u<=l){c=u;break}if(s>=i)throw RangeError(`Data too long`)}for(var d=n,f=0,p=[Fq.MEDIUM,Fq.QUARTILE,Fq.HIGH];f>>3]|=e<<7-(t&7)}),new e(s,d,w,a)}},{key:`getNumRawDataModules`,value:function(t){if(te.MAX_VERSION)throw RangeError(`Version number out of range`);var n=(16*t+128)*t+64;if(t>=2){var r=Math.floor(t/7)+2;n-=(25*r-10)*r-55,t>=7&&(n-=36)}return Nq(208<=n&&n<=29648),n}},{key:`getNumDataCodewords`,value:function(t,n){return Math.floor(e.getNumRawDataModules(t)/8)-e.ECC_CODEWORDS_PER_BLOCK[n.ordinal][t]*e.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][t]}},{key:`reedSolomonComputeDivisor`,value:function(t){if(t<1||t>255)throw RangeError(`Degree out of range`);for(var n=[],r=0;r>>8||t>>>8)throw RangeError(`Byte out of range`);for(var n=0,r=7;r>=0;r--)n=n<<1^(n>>>7)*285,n^=(t>>>r&1)*e;return Nq(n>>>8==0),n}}]),e}();Vs(Lq,`MIN_VERSION`,1),Vs(Lq,`MAX_VERSION`,40),Vs(Lq,`PENALTY_N1`,3),Vs(Lq,`PENALTY_N2`,3),Vs(Lq,`PENALTY_N3`,40),Vs(Lq,`PENALTY_N4`,10),Vs(Lq,`ECC_CODEWORDS_PER_BLOCK`,[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]]),Vs(Lq,`NUM_ERROR_CORRECTION_BLOCKS`,[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]]);var Rq={L:Fq.LOW,M:Fq.MEDIUM,Q:Fq.QUARTILE,H:Fq.HIGH},zq=`#FFFFFF`,Bq=`#000000`,Vq=.1,Hq=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=[];return e.forEach(function(e,r){var i=null;e.forEach(function(a,o){if(!a&&i!==null){n.push(`M${i+t} ${r+t}h${o-i}v1H${i+t}z`),i=null;return}if(o===e.length-1){if(!a)return;i===null?n.push(`M${o+t},${r+t} h1v1H${o+t}z`):n.push(`M${i+t},${r+t} h${o+1-i}v1H${i+t}z`);return}a&&i===null&&(i=o)})}),n.join(``)},Uq=function(e,t){return e.slice().map(function(e,n){return n=t.y+t.h?e:e.map(function(e,n){return n=t.x+t.w?e:!1})})},Wq=function(e,t,n,r){if(r==null)return null;var i=e.length+n*2,a=Math.floor(t*Vq),o=i/t,s=(r.width||a)*o,c=(r.height||a)*o,l=r.x==null?e.length/2-s/2:r.x*o,u=r.y==null?e.length/2-c/2:r.y*o,d=r.opacity==null?1:r.opacity,f=null;if(r.excavate){var p=Math.floor(l),m=Math.floor(u);f={x:p,y:m,w:Math.ceil(s+l-p),h:Math.ceil(c+u-m)}}var h=r.crossOrigin;return{x:l,y:u,h:c,w:s,excavation:f,opacity:d,crossOrigin:h}},Gq=function(e,t){return t==null?e?4:0:Math.max(Math.floor(t),0)},Kq=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}(),qq=function(e){var t=e.value,n=e.level,r=e.minVersion,i=e.includeMargin,a=e.marginSize,o=e.imageSettings,s=e.size,c=e.boostLevel,l=S.useMemo(function(){var e=(Array.isArray(t)?t:[t]).reduce(function(e,t){return e.push.apply(e,pa(Iq.makeSegments(t))),e},[]);return Lq.encodeSegments(e,Rq[n],r,void 0,void 0,c)},[t,n,r,c]);return S.useMemo(function(){var e=l.getModules(),t=Gq(i,a);return{cells:e,margin:t,numCells:e.length+t*2,calculatedImageSettings:Wq(e,s,t,o),qrcode:l}},[l,s,o,i,a])},Jq=[`value`,`size`,`level`,`bgColor`,`fgColor`,`includeMargin`,`minVersion`,`marginSize`,`style`,`imageSettings`,`boostLevel`],Yq=S.forwardRef(function(e,t){var n=e.value,r=e.size,i=r===void 0?128:r,a=e.level,o=a===void 0?`L`:a,s=e.bgColor,c=s===void 0?zq:s,l=e.fgColor,u=l===void 0?Bq:l,d=e.includeMargin,f=d===void 0?!1:d,p=e.minVersion,m=p===void 0?1:p,h=e.marginSize,g=e.style,_=e.imageSettings,v=e.boostLevel,y=iR(e,Jq),b=_?.src,x=S.useRef(null),C=S.useRef(null),w=S.useCallback(function(e){x.current=e,typeof t==`function`?t(e):t&&(t.current=e)},[t]),T=Rs(S.useState(!1),2)[1],E=qq({value:n,level:o,minVersion:m,includeMargin:f,marginSize:h,imageSettings:_,size:i,boostLevel:v}),D=E.margin,O=E.cells,k=E.numCells,A=E.calculatedImageSettings;S.useEffect(function(){if(x.current){var e=x.current,t=e.getContext(`2d`);if(!t)return;var n=O,r=C.current,a=A!=null&&r!==null&&r.complete&&r.naturalHeight!==0&&r.naturalWidth!==0;a&&A.excavation!=null&&(n=Uq(O,A.excavation));var o=window.devicePixelRatio||1;e.height=e.width=i*o;var s=i/k*o;t.scale(s,s),t.fillStyle=c,t.fillRect(0,0,k,k),t.fillStyle=u,Kq?t.fill(new Path2D(Hq(n,D))):O.forEach(function(e,n){e.forEach(function(e,r){e&&t.fillRect(r+D,n+D,1,1)})}),A&&(t.globalAlpha=A.opacity),a&&t.drawImage(r,A.x+D,A.y+D,A.w,A.h)}}),S.useEffect(function(){T(!1)},[b]);var j=Us({height:i,width:i},g),M=null;return b!=null&&(M=S.createElement(`img`,{alt:`QR-Code`,src:b,key:b,style:{display:`none`},onLoad:function(){T(!0)},ref:C,crossOrigin:A?.crossOrigin})),S.createElement(S.Fragment,null,S.createElement(`canvas`,Hg({style:j,height:i,width:i,ref:w,role:`img`},y)),M)}),Xq=[`value`,`size`,`level`,`bgColor`,`fgColor`,`includeMargin`,`minVersion`,`title`,`marginSize`,`imageSettings`,`boostLevel`],Zq=S.forwardRef(function(e,t){var n=e.value,r=e.size,i=r===void 0?128:r,a=e.level,o=a===void 0?`L`:a,s=e.bgColor,c=s===void 0?zq:s,l=e.fgColor,u=l===void 0?Bq:l,d=e.includeMargin,f=d===void 0?!1:d,p=e.minVersion,m=p===void 0?1:p,h=e.title,g=e.marginSize,_=e.imageSettings,v=e.boostLevel,y=iR(e,Xq),b=qq({value:n,level:o,minVersion:m,includeMargin:f,marginSize:g,imageSettings:_,size:i,boostLevel:v}),x=b.margin,C=b.cells,w=b.numCells,T=b.calculatedImageSettings,E=C,D=null;_!=null&&T!=null&&(T.excavation!=null&&(E=Uq(C,T.excavation)),D=S.createElement(`image`,{href:_.src,height:T.h,width:T.w,x:T.x+x,y:T.y+x,preserveAspectRatio:`none`,opacity:T.opacity,crossOrigin:T.crossOrigin}));var O=Hq(E,x);return S.createElement(`svg`,Hg({height:i,width:i,viewBox:`0 0 ${w} ${w}`,ref:t,role:`img`},y),!!h&&S.createElement(`title`,null,h),S.createElement(`path`,{fill:c,d:`M0,0 h${w}v${w}H0z`,shapeRendering:`crispEdges`}),S.createElement(`path`,{fill:u,d:O,shapeRendering:`crispEdges`}),D)}),Qq=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z`}}]},name:`reload`,theme:`outlined`}}))());function $q(){return $q=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,$q({},e,{ref:t,icon:Qq.default}))),tJ=S.createElement(yK,null);function nJ({prefixCls:e,locale:t,onRefresh:n,statusRender:r,status:i}){let a={expired:S.createElement(S.Fragment,null,S.createElement(`p`,{className:`${e}-expired`},t?.expired),n&&S.createElement(__,{type:`link`,icon:S.createElement(eJ,null),onClick:n},t?.refresh)),loading:tJ,scanned:S.createElement(`p`,{className:`${e}-scanned`},t?.scanned)};return(r??(e=>a[e.status]))({status:i,locale:t,onRefresh:n})}var rJ=e=>{let{componentCls:t,lineWidth:n,lineType:r,colorSplit:i}=e;return{[t]:{...Ul(e),display:`flex`,justifyContent:`center`,alignItems:`center`,padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${Y(n)} ${r} ${i}`,position:`relative`,overflow:`hidden`,[`& > ${t}-cover`]:{position:`absolute`,insetBlockStart:0,insetInlineStart:0,zIndex:10,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,width:`100%`,height:`100%`,color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeCoverBackgroundColor,textAlign:`center`,[`& > ${t}-expired, & > ${t}-scanned`]:{color:e.QRCodeTextColor}},"> canvas":{alignSelf:`stretch`,flex:`auto`,minWidth:0},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}},[`${t}-borderless`]:{borderColor:`transparent`,padding:0,borderRadius:0}}},iJ=Ql(`QRCode`,e=>rJ(dc(e,{QRCodeTextColor:e.colorText})),e=>({QRCodeCoverBackgroundColor:new Nc(e.colorBgContainer).setA(.96).toRgbString()})),aJ=e=>{let[,t]=Vl(),{value:n,type:r=`canvas`,icon:i=``,size:a=160,iconSize:o,color:s=t.colorText,errorLevel:c=`M`,status:l=`active`,bordered:u=!0,onRefresh:d,style:f,className:p,rootClassName:m,prefixCls:h,bgColor:g=`transparent`,marginSize:_,statusRender:v,classNames:y,styles:b,boostLevel:x,...C}=e,{getPrefixCls:w,className:T,style:E,classNames:D,styles:O}=ya(`qrcode`),k={...e,bgColor:g,type:r,size:a,status:l,bordered:u,errorLevel:c},[A,j]=Cf([D,y],[O,b],{props:k}),M=w(`qrcode`,h),[N,P]=iJ(M),F={src:i,x:void 0,y:void 0,height:ef(o)?o:o?.height??40,width:ef(o)?o:o?.width??40,excavate:!0,crossOrigin:`anonymous`},I=xi(C,!0),L=gi(C,Object.keys(I)),R={value:n,size:a,level:c,bgColor:g,fgColor:s,style:{width:f?.width,height:f?.height},imageSettings:i?F:void 0,marginSize:_,boostLevel:x,...I},[z]=Yd(`QRCode`);if(!n)return null;let B=J(M,p,m,N,P,T,A.root,{[`${M}-borderless`]:!u}),V={backgroundColor:g,...j.root,...E,...f,width:f?.width??a,height:f?.height??a};return S.createElement(`div`,{...L,className:B,style:V},l!==`active`&&S.createElement(`div`,{className:J(`${M}-cover`,A.cover),style:j.cover},S.createElement(nJ,{prefixCls:M,locale:z,status:l,onRefresh:d,statusRender:v})),r===`canvas`?S.createElement(Yq,{...R}):S.createElement(Zq,{...R}))},oJ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z`}}]},name:`star`,theme:`filled`}}))());function sJ(){return sJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,sJ({},e,{ref:t,icon:oJ.default}))),lJ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`warning`,theme:`filled`}}))());function uJ(){return uJ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,uJ({},e,{ref:t,icon:lJ.default}))),fJ=()=>S.createElement(`svg`,{width:`252`,height:`294`},S.createElement(`title`,null,`No Found`),S.createElement(`g`,{fill:`none`,fillRule:`evenodd`},S.createElement(`circle`,{cx:`126.75`,cy:`128.1`,r:`126`,fill:`#E4EBF7`}),S.createElement(`circle`,{cx:`31.55`,cy:`130.8`,r:`8.3`,fill:`#FFF`}),S.createElement(`path`,{stroke:`#FFF`,d:`m37 134.3 10.5 6m.9 6.2-12.7 10.8`,strokeWidth:`2`}),S.createElement(`path`,{fill:`#FFF`,d:`M39.9 159.4a5.7 5.7 0 1 1-11.3-1.2 5.7 5.7 0 0 1 11.3 1.2m17.7-16.2a5.7 5.7 0 1 1-11.4-1.1 5.7 5.7 0 0 1 11.4 1.1M99 27h29.8a4.6 4.6 0 1 0 0-9.2H99a4.6 4.6 0 1 0 0 9.2m11.4 18.3h29.8a4.6 4.6 0 0 0 0-9.2h-29.8a4.6 4.6 0 1 0 0 9.2`}),S.createElement(`path`,{fill:`#FFF`,d:`M112.8 26.9h15.8a4.6 4.6 0 1 0 0 9.1h-15.8a4.6 4.6 0 0 0 0-9.1m71.7 108.8a10 10 0 1 1-19.8-2 10 10 0 0 1 19.8 2`}),S.createElement(`path`,{stroke:`#FFF`,d:`m179.3 141.8 12.6 7.1m1.1 7.6-15.2 13`,strokeWidth:`2`}),S.createElement(`path`,{fill:`#FFF`,d:`M184.7 170a6.8 6.8 0 1 1-13.6-1.3 6.8 6.8 0 0 1 13.6 1.4m18.6-16.8a6.9 6.9 0 1 1-13.7-1.4 6.9 6.9 0 0 1 13.7 1.4`}),S.createElement(`path`,{stroke:`#FFF`,d:`M152 192.3a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.4 0zm73.3-76.2a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0zm-9 35a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.5 0zM177 107.6a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm18.4-15.4a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0zm6.8 88.5a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0z`,strokeWidth:`2`}),S.createElement(`path`,{stroke:`#FFF`,d:`m214.4 153.3-2 20.2-10.8 6m-28-4.7-6.3 9.8H156l-4.5 6.5m23.5-66v-15.7m46 7.8-13 8-15.2-8V94.4`,strokeWidth:`2`}),S.createElement(`path`,{fill:`#FFF`,d:`M166.6 66h-4a4.8 4.8 0 0 1-4.7-4.8 4.8 4.8 0 0 1 4.7-4.7h4a4.8 4.8 0 0 1 4.7 4.7 4.8 4.8 0 0 1-4.7 4.7`}),S.createElement(`circle`,{cx:`204.3`,cy:`30`,r:`29.5`,fill:`#1677ff`}),S.createElement(`path`,{fill:`#FFF`,d:`M206 38.4c.5.5.7 1.1.7 2s-.2 1.4-.7 1.9a3 3 0 0 1-2 .7c-.8 0-1.5-.3-2-.8s-.8-1.1-.8-1.9.3-1.4.8-2c.5-.4 1.2-.7 2-.7.7 0 1.4.3 2 .8m4.2-19.5c1.5 1.3 2.2 3 2.2 5.2a7.2 7.2 0 0 1-1.5 4.5l-3 2.7a5 5 0 0 0-1.3 1.7 5.2 5.2 0 0 0-.6 2.4v.5h-4v-.5c0-1.4.1-2.5.6-3.5s1.9-2.5 4.2-4.5l.4-.5a4 4 0 0 0 1-2.6c0-1.2-.4-2-1-2.8-.7-.6-1.6-1-2.9-1-1.5 0-2.6.5-3.3 1.5-.4.5-.6 1-.8 1.9a2 2 0 0 1-2 1.6 2 2 0 0 1-2-2.4c.4-1.6 1-2.8 2.1-3.8a8.5 8.5 0 0 1 6.3-2.3c2.3 0 4.2.6 5.6 2`}),S.createElement(`path`,{fill:`#FFB594`,d:`M52 76.1s21.8 5.4 27.3 16c5.6 10.7-6.3 9.2-15.7 5C52.8 92 39 85 52 76`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`m90.5 67.5-.5 2.9c-.7.5-4.7-2.7-4.7-2.7l-1.7.8-1.3-5.7s6.8-4.6 9-5c2.4-.5 9.8 1 10.6 2.3 0 0 1.3.4-2.2.6-3.6.3-5 .5-6.8 3.2l-2.4 3.6`}),S.createElement(`path`,{fill:`#FFF`,d:`M128 111.4a36.7 36.7 0 0 0-8.9-15.5c-3.5-3-9.3-2.2-11.3-4.2-1.3-1.2-3.2-1.2-3.2-1.2L87.7 87c-2.3-.4-2.1-.7-6-1.4-1.6-1.9-3-1.1-3-1.1l-7-1.4c-1-1.5-2.5-1-2.5-1l-2.4-.9C65 91.2 59 95 59 95c1.8 1.1 15.7 8.3 15.7 8.3l5.1 37.1s-3.3 5.7 1.4 9.1c0 0 19.9-3.7 34.9-.3 0 0 3-2.6 1-8.8.5-3 1.4-8.3 1.7-11.6.4.7 2 1.9 3.1 3.4 0 0 9.4-7.3 11-14a17 17 0 0 1-2.2-2.4c-.5-.8-.3-2-.7-2.8-.7-1-1.8-1.3-2-1.6`}),S.createElement(`path`,{fill:`#CBD1D1`,d:`M101 290s4.4 2 7.4 1c2.9-1 4.6.7 7.1 1.2 2.6.5 6.9 1.1 11.7-1.3 0-5.5-6.9-4-12-6.7-2.5-1.4-3.7-4.7-3.5-8.8h-9.5s-1.2 10.6-1 14.6`}),S.createElement(`path`,{fill:`#2B0849`,d:`M101 289.8s2.5 1.3 6.8.7c3-.5 3.7.5 7.4 1 3.8.6 10.8 0 11.9-.9.4 1.1-.4 2-.4 2s-1.5.7-4.8.9c-2 .1-5.8.3-7.6-.5-1.8-1.4-5.2-1.9-5.7-.2-4 1-7.4-.3-7.4-.3l-.1-2.7z`}),S.createElement(`path`,{fill:`#A4AABA`,d:`M108.3 276h3.1s0 6.7 4.6 8.6c-4.7.6-8.6-2.3-7.7-8.6`}),S.createElement(`path`,{fill:`#CBD1D1`,d:`M57.5 272.4s-2 7.4-4.4 12.3c-1.8 3.7-4.3 7.5 5.4 7.5 6.7 0 9-.5 7.4-6.6-1.5-6.1.3-13.2.3-13.2h-8.7z`}),S.createElement(`path`,{fill:`#2B0849`,d:`M51.5 289.8s2 1.2 6.6 1.2c6 0 8.3-1.7 8.3-1.7s.6 1.1-.7 2.2c-1 .8-3.6 1.6-7.4 1.5-4.1 0-5.8-.5-6.7-1.1-.8-.6-.7-1.6-.1-2.1`}),S.createElement(`path`,{fill:`#A4AABA`,d:`M58.4 274.3s0 1.5-.3 3c-.3 1.4-1 3-1.1 4 0 1.2 4.5 1.7 5.1.1.6-1.5 1.3-6.4 2-7.2.6-.9-5-2.2-5.7.1`}),S.createElement(`path`,{fill:`#7BB2F9`,d:`m99.7 278.5 13.3.1s1.3-54.5 1.9-64.4c.5-9.9 3.8-43.4 1-63.1l-12.6-.7-22.8.8-1.2 10c0 .5-.7.8-.7 1.4-.1.5.4 1.3.3 2-2.4 14-6.4 33-8.8 46.6 0 .7-1.2 1-1.4 2.7 0 .3.2 1.5 0 1.8-6.8 18.7-10.9 47.8-14.2 61.9h14.6s2.2-8.6 4-17c2.9-12.9 23.2-85 23.2-85l3-.5 1 46.3s-.2 1.2.4 2c.5.8-.6 1.1-.4 2.3l.4 1.8-1 11.8c-.4 4.8 0 39.2 0 39.2`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M76 221.6c1.2.1 4.1-2 7-5m23.4 8.5s2.7-1 6-3.8`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M107.3 222.1s2.7-1.1 6-3.9`,strokeLinecap:`round`,strokeLinejoin:`round`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M74.7 224.8s2.7-.6 6.5-3.4m4.8-69.8c-.2 3.1.3 8.6-4.3 9.2m22-11s0 14-1.4 15.1a15 15 0 0 1-3 2m.5-16.5s0 13-1.2 24.4m-5 1.1s7.3-1.7 9.5-1.7M74.3 206a212 212 0 0 1-1 4.5s-1.4 1.9-1 3.8c.5 2-1 2-5 15.4A353 353 0 0 0 61 257l-.2 1.2m14.9-60.5a321 321 0 0 1-.9 4.8m7.8-50.4-1.2 10.5s-1.1.1-.5 2.2c.1 1.4-2.7 15.8-5.2 30.5m-19.6 79h13.3`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#192064`,d:`M116.2 148.2s-17-3-35.9.2c.2 2.5 0 4.2 0 4.2s14.7-2.8 35.7-.3c.3-2.4.2-4 .2-4`}),S.createElement(`path`,{fill:`#FFF`,d:`M106.3 151.2v-5a.8.8 0 0 0-.8-.8h-7.8a.8.8 0 0 0-.8.8v5a.8.8 0 0 0 .8.8h7.8a.8.8 0 0 0 .8-.8`}),S.createElement(`path`,{fill:`#192064`,d:`M105.2 150.2v-3a.6.6 0 0 0-.6-.7 94.3 94.3 0 0 0-5.9 0 .7.7 0 0 0-.6.6v3.1a.6.6 0 0 0 .6.7 121.1 121.1 0 0 1 5.8 0c.4 0 .7-.3.7-.7`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M100.3 275.4h12.3m-11.2-4.9.1 6.5m0-12.5a915.8 915.8 0 0 0 0 4.4m-.5-94 .9 44.7s.7 1.6-.2 2.7c-1 1.1 2.4.7.9 2.2-1.6 1.6.9 1.2 0 3.4-.6 1.5-1 21.1-1.1 35.2`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M46.9 83.4s-.5 6 7.2 5.6c11.2-.7 9.2-9.4 31.5-21.7-.7-2.7-2.4-4.7-2.4-4.7s-11 3-22.6 8c-6.8 3-13.4 6.4-13.7 12.8m57.6 7.7.9-5.4-8.9-11.4-5 5.3-1.8 7.9a.3.3 0 0 0 .1.3c1 .8 6.5 5 14.4 3.5a.3.3 0 0 0 .3-.2`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M94 79.4s-4.6-2.9-2.5-6.9c1.6-3 4.5 1.2 4.5 1.2s.5-3.7 3.1-3.7c.6-1 1.6-4.1 1.6-4.1l13.5 3c0 5.3-2.3 19.5-7.8 20-8.9.6-12.5-9.5-12.5-9.5`}),S.createElement(`path`,{fill:`#520038`,d:`M113.9 73.4c2.6-2 3.4-9.7 3.4-9.7s-2.4-.5-6.6-2c-4.7-2.1-12.8-4.8-17.5 1-9.6 3.2-2 19.8-2 19.8l2.7-3s-4-3.3-2-6.3c2-3.5 3.8 1 3.8 1s.7-2.3 3.6-3.3c.4-.7 1-2.6 1.4-3.8a1 1 0 0 1 1.3-.7l11.4 2.6c.5.2.8.7.8 1.2l-.3 3.2z`}),S.createElement(`path`,{fill:`#552950`,d:`M105 76c-.1.7-.6 1.1-1 1-.6 0-.9-.6-.8-1.2.1-.6.6-1 1-1 .6 0 .9.7.8 1.3m7.1 1.6c0 .6-.5 1-1 1-.5-.1-.8-.7-.7-1.3 0-.6.5-1 1-1 .5.1.8.7.7 1.3`}),S.createElement(`path`,{stroke:`#DB836E`,d:`m110.1 74.8-.9 1.7-.3 4.3h-2.2`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#5C2552`,d:`M110.8 74.5s1.8-.7 2.6.5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M92.4 74.3s.5-1.1 1.1-.7c.6.4 1.3 1.4.6 2-.8.5.1 1.6.1 1.6`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#5C2552`,d:`M103.3 73s1.8 1 4.1.9`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M103.7 81.8s2.2 1.2 4.4 1.2m-3.5 1.3s1 .4 1.6.3m-11.5-3.4s2.3 7.4 10.4 7.6`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M81.5 89.4s.4 5.6-5 12.8M69 82.7s-.7 9.2-8.2 14.2m68.6 26s-5.3 7.4-9.4 10.7m-.7-26.3s.5 4.4-2.1 32`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#F2D7AD`,d:`M150 151.2h-49.8a1 1 0 0 1-1-1v-31.7c0-.5.4-1 1-1H150c.6 0 1 .5 1 1v31.7a1 1 0 0 1-1 1`}),S.createElement(`path`,{fill:`#F4D19D`,d:`M150.3 151.2h-19.9v-33.7h20.8v32.8a1 1 0 0 1-1 1`}),S.createElement(`path`,{fill:`#F2D7AD`,d:`M123.6 127.9H92.9a.5.5 0 0 1-.4-.8l6.4-9.1c.2-.3.5-.5.8-.5h31.1l-7.2 10.4z`}),S.createElement(`path`,{fill:`#CC9B6E`,d:`M123.7 128.4H99.2v-.5h24.2l7.2-10.2.4.3z`}),S.createElement(`path`,{fill:`#F4D19D`,d:`M158.3 127.9h-18.7a2 2 0 0 1-1.6-.8l-7.2-9.6h20c.5 0 1 .3 1.2.6l6.7 9a.5.5 0 0 1-.4.8`}),S.createElement(`path`,{fill:`#CC9B6E`,d:`M157.8 128.5h-19.3l-7.9-10.5.4-.3 7.7 10.3h19.1zm-27.2 22.2v-8.2h.4v8.2zm-.1-10.9v-21.4h.4l.1 21.4zm-18.6 1.1-.5-.1 1.5-5.2.5.2zm-3.5.2-2.6-3 2.6-3.4.4.3-2.4 3.1 2.4 2.6zm8.2 0-.4-.4 2.4-2.6-2.4-3 .4-.4 2.7 3.4z`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`m154.3 131.9-3.1-2v3.5l-1 .1a85 85 0 0 1-4.8.3c-1.9 0-2.7 2.2 2.2 2.6l-2.6-.6s-2.2 1.3.5 2.3c0 0-1.6 1.2.6 2.6-.6 3.5 5.2 4 7 3.6a6.1 6.1 0 0 0 4.6-5.2 8 8 0 0 0-3.4-7.2`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M153.7 133.6s-6.5.4-8.4.3c-1.8 0-1.9 2.2 2.4 2.3 3.7.2 5.4 0 5.4 0`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M145.2 135.9c-1.9 1.3.5 2.3.5 2.3s3.5 1 6.8.6m-.6 2.9s-6.3.1-6.7-2.1c-.3-1.4.4-1.4.4-1.4m.5 2.7s-1 3.1 5.5 3.5m-.4-14.5v3.5M52.8 89.3a18 18 0 0 0 13.6-7.8`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#5BA02E`,d:`M168.6 248.3a6.6 6.6 0 0 1-6.7-6.6v-66.5a6.6 6.6 0 1 1 13.3 0v66.5a6.6 6.6 0 0 1-6.6 6.6`}),S.createElement(`path`,{fill:`#92C110`,d:`M176.5 247.7a6.6 6.6 0 0 1-6.6-6.7v-33.2a6.6 6.6 0 1 1 13.3 0V241a6.6 6.6 0 0 1-6.7 6.7`}),S.createElement(`path`,{fill:`#F2D7AD`,d:`M186.4 293.6H159a3.2 3.2 0 0 1-3.2-3.2v-46.1a3.2 3.2 0 0 1 3.2-3.2h27.5a3.2 3.2 0 0 1 3.2 3.2v46.1a3.2 3.2 0 0 1-3.2 3.2`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M89 89.5s7.8 5.4 16.6 2.8`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}))),pJ=()=>S.createElement(`svg`,{width:`254`,height:`294`},S.createElement(`title`,null,`Server Error`),S.createElement(`g`,{fill:`none`,fillRule:`evenodd`},S.createElement(`path`,{fill:`#E4EBF7`,d:`M0 128.1v-2C0 56.5 56.3.2 125.7.2h2.1C197.2.3 253.5 56.6 253.5 126v2.1c0 69.5-56.3 125.7-125.7 125.7h-2.1A125.7 125.7 0 0 1 0 128.1`}),S.createElement(`path`,{fill:`#FFF`,d:`M40 132.1a8.3 8.3 0 1 1-16.6-1.7 8.3 8.3 0 0 1 16.6 1.7`}),S.createElement(`path`,{stroke:`#FFF`,d:`m37.2 135.6 10.5 6m1 6.3-12.8 10.8`,strokeWidth:`2`}),S.createElement(`path`,{fill:`#FFF`,d:`M40.1 160.8a5.7 5.7 0 1 1-11.3-1.1 5.7 5.7 0 0 1 11.3 1.1M58 144.6a5.7 5.7 0 1 1-11.4-1.2 5.7 5.7 0 0 1 11.4 1.2M99.7 27.4h30a4.6 4.6 0 1 0 0-9.2h-30a4.6 4.6 0 0 0 0 9.2M111 46h30a4.6 4.6 0 1 0 0-9.3h-30a4.6 4.6 0 1 0 0 9.3m2.5-18.6h16a4.6 4.6 0 1 0 0 9.3h-16a4.6 4.6 0 0 0 0-9.3m36.7 42.7h-4a4.8 4.8 0 0 1-4.8-4.8 4.8 4.8 0 0 1 4.8-4.8h4a4.8 4.8 0 0 1 4.7 4.8 4.8 4.8 0 0 1-4.7 4.8`}),S.createElement(`circle`,{cx:`201.35`,cy:`30.2`,r:`29.7`,fill:`#FF603B`}),S.createElement(`path`,{fill:`#FFF`,d:`m203.6 19.4-.7 15a1.5 1.5 0 0 1-3 0l-.7-15a2.2 2.2 0 1 1 4.4 0m-.3 19.4c.5.5.8 1.1.8 1.9s-.3 1.4-.8 1.9a3 3 0 0 1-2 .7 2.5 2.5 0 0 1-1.8-.7c-.6-.6-.8-1.2-.8-2 0-.7.2-1.3.8-1.8.5-.5 1.1-.7 1.8-.7.8 0 1.5.2 2 .7`}),S.createElement(`path`,{fill:`#FFB594`,d:`M119.3 133.3c4.4-.6 3.6-1.2 4-4.8.8-5.2-3-17-8.2-25.1-1-10.7-12.6-11.3-12.6-11.3s4.3 5 4.2 16.2c1.4 5.3.8 14.5.8 14.5s5.3 11.4 11.8 10.5`}),S.createElement(`path`,{fill:`#FFF`,d:`M101 91.6s1.4-.6 3.2.6c8 1.4 10.3 6.7 11.3 11.4 1.8 1.2 1.8 2.3 1.8 3.5l1.5 3s-7.2 1.7-11 6.7c-1.3-6.4-6.9-25.2-6.9-25.2`}),S.createElement(`path`,{fill:`#FFB594`,d:`m94 90.5 1-5.8-9.2-11.9-5.2 5.6-2.6 9.9s8.4 5 16 2.2`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M83 78.2s-4.6-2.9-2.5-6.9c1.6-3 4.5 1.2 4.5 1.2s.5-3.7 3.2-3.7c.5-1 1.5-4.2 1.5-4.2l13.6 3.2c0 5.2-2.3 19.5-7.9 20-8.9.6-12.5-9.6-12.5-9.6`}),S.createElement(`path`,{fill:`#520038`,d:`M103 72.2c2.6-2 3.5-9.7 3.5-9.7s-2.5-.5-6.7-2c-4.7-2.2-12.9-4.9-17.6.9-9.5 4.4-2 20-2 20l2.7-3.1s-4-3.3-2.1-6.3c2.2-3.5 4 1 4 1s.6-2.3 3.5-3.3c.4-.7 1-2.7 1.5-3.8A1 1 0 0 1 91 65l11.5 2.7c.5.1.8.6.8 1.2l-.3 3.2z`}),S.createElement(`path`,{fill:`#552950`,d:`M101.2 76.5c0 .6-.6 1-1 1-.5-.1-.9-.7-.8-1.3.1-.6.6-1 1.1-1 .5.1.8.7.7 1.3m-7-1.4c0 .6-.5 1-1 1-.5-.1-.8-.7-.7-1.3 0-.6.6-1 1-1 .5.1.9.7.8 1.3`}),S.createElement(`path`,{stroke:`#DB836E`,d:`m99.2 73.6-.9 1.7-.3 4.3h-2.2`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#5C2552`,d:`M100 73.3s1.7-.7 2.4.5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M81.4 73s.4-1 1-.6c.7.4 1.4 1.4.6 2s.2 1.6.2 1.6`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#5C2552`,d:`M92.3 71.7s1.9 1.1 4.2 1`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M92.7 80.6s2.3 1.2 4.4 1.2m-3.4 1.4s1 .4 1.5.3M83.7 80s1.8 6.6 9.2 8`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M95.5 91.7s-1 2.8-8.2 2c-7.3-.6-10.3-5-10.3-5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#FFF`,d:`M78.1 87.5s6.6 5 16.5 2.5c0 0 9.6 1 11.5 5.3 5.4 11.8.6 36.8 0 40 3.5 4-.4 8.4-.4 8.4-15.7-3.5-35.8-.6-35.8-.6-4.9-3.5-1.3-9-1.3-9l-6.2-23.8c-2.5-15.2.8-19.8 3.5-20.7 3-1 8-1.3 8-1.3.6 0 1.1 0 1.4-.2 2.4-1.3 2.8-.6 2.8-.6`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M65.8 89.8s-6.8.5-7.6 8.2c-.4 8.8 3 11 3 11s6.1 22 16.9 22.9c8.4-2.2 4.7-6.7 4.6-11.4-.2-11.3-7-17-7-17s-4.3-13.7-9.9-13.7`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M71.7 124.2s.9 11.3 9.8 6.5c4.8-2.5 7.6-13.8 9.8-22.6A201 201 0 0 0 94 96l-5-1.7s-2.4 5.6-7.7 12.3c-4.4 5.5-9.2 11.1-9.5 17.7`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M108.5 105.2s1.7 2.7-2.4 30.5c2.4 2.2 1 6-.2 7.5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M123.3 131.5s-.5 2.8-11.8 2c-15.2-1-25.3-3.2-25.3-3.2l.9-5.8s.7.2 9.7-.1c11.9-.4 18.7-6 25-1 4 3.2 1.5 8.1 1.5 8.1`}),S.createElement(`path`,{fill:`#FFF`,d:`M70.2 91s-5.6-4.8-11 2.7c-3.3 7.2.5 15.2 2.6 19.5-.3 3.8 2.4 4.3 2.4 4.3s0 1 1.5 2.7c4-7 6.7-9.1 13.7-12.5-.3-.7-1.9-3.3-1.8-3.8.2-1.7-1.3-2.6-1.3-2.6s-.3-.2-1.2-2.8c-.8-2.3-2-5.1-4.9-7.5`}),S.createElement(`path`,{fill:`#CBD1D1`,d:`M90.2 288s4.9 2.3 8.3 1.2c3.2-1 5.2.7 8 1.3a20 20 0 0 0 13.3-1.4c-.2-6.2-7.8-4.5-13.6-7.6-2.9-1.6-4.2-5.3-4-10H91.5s-1.5 12-1.3 16.5`}),S.createElement(`path`,{fill:`#2B0849`,d:`M90.2 287.8s2.8 1.5 7.6.8c3.5-.5 3.3.6 7.5 1.3 4.2.6 13-.2 14.3-1.2.5 1.3-.4 2.4-.4 2.4s-1.7.6-5.4.9c-2.3.1-8.1.3-10.2-.6-2-1.6-4.9-1.5-6-.3-4.5 1.1-7.2-.3-7.2-.3l-.2-3z`}),S.createElement(`path`,{fill:`#A4AABA`,d:`M98.4 272.3h3.5s0 7.5 5.2 9.6c-5.3.7-9.7-2.6-8.7-9.6`}),S.createElement(`path`,{fill:`#CBD1D1`,d:`M44.4 272s-2.2 7.8-4.7 13c-1.9 3.8-4.4 7.8 5.8 7.8 7 0 9.3-.5 7.7-7-1.6-6.3.3-13.8.3-13.8h-9z`}),S.createElement(`path`,{fill:`#2B0849`,d:`M38 290.3s2.3 1.2 7 1.2c6.4 0 8.7-1.7 8.7-1.7s.6 1.1-.7 2.2c-1 1-3.8 1.7-7.7 1.7-4.4 0-6.1-.6-7-1.3-1-.5-.8-1.6-.2-2.1`}),S.createElement(`path`,{fill:`#A4AABA`,d:`M45.3 274s0 1.6-.3 3.1-1.1 3.3-1.2 4.4c0 1.2 4.8 1.6 5.4 0 .7-1.6 1.4-6.8 2-7.6.7-.9-5.1-2.2-5.9.1`}),S.createElement(`path`,{fill:`#7BB2F9`,d:`M89.5 277.6h13.9s1.3-56.6 1.9-66.8c.6-10.3 4-45.1 1-65.6l-13-.7-23.7.8-1.3 10.4c0 .5-.7.9-.8 1.4 0 .6.5 1.4.4 2L59.6 206c-.1.7-1.3 1-1.5 2.8 0 .3.2 1.6.1 1.8-7.1 19.5-12.2 52.6-15.6 67.2h15.1L62 259c3-13.3 24-88.3 24-88.3l3.2-1-.2 48.6s-.2 1.3.4 2.1c.5.8-.6 1.2-.4 2.4l.4 1.8-1 12.4c-.4 4.9 1.2 40.7 1.2 40.7`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M64.6 218.9c1.2 0 4.2-2.1 7.2-5.1m24.2 8.7s3-1.1 6.4-4`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M97 219.4s2.9-1.2 6.3-4`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M63.2 222.1s2.7-.6 6.7-3.5m5-72.4c-.3 3.2.3 8.8-4.5 9.4m22.8-11.3s.1 14.6-1.4 15.7c-2.3 1.7-3 2-3 2m.4-17s.3 13-1 25m-4.7.7s6.8-1 9.1-1M46 270l-.9 4.6m1.8-11.3-.8 4.1m16.6-64.9c-.3 1.6 0 2-.4 3.4 0 0-2.8 2-2.3 4s-.3 3.4-4.5 17.2c-1.8 5.8-4.3 19-6.2 28.3l-1.1 5.8m16-67-1 4.9m8.1-52.3-1.2 10.9s-1.2.1-.5 2.3c0 1.4-2.8 16.4-5.4 31.6m-20 82.1h13.9`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#192064`,d:`M106.2 142.1c-3-.5-18.8-2.7-36.2.2a.6.6 0 0 0-.6.7v3a.6.6 0 0 0 .8.6c3.3-.5 17-2.4 35.6-.3.4 0 .7-.2.7-.5.2-1.4.2-2.5.2-3a.6.6 0 0 0-.5-.7`}),S.createElement(`path`,{fill:`#FFF`,d:`M96.4 145.3v-5.1a.8.8 0 0 0-.8-.9 114.1 114.1 0 0 0-8.1 0 .8.8 0 0 0-.9.8v5.1c0 .5.4.9.9.9h8a.8.8 0 0 0 .9-.8`}),S.createElement(`path`,{fill:`#192064`,d:`M95.2 144.3v-3.2a.7.7 0 0 0-.6-.7h-6.1a.7.7 0 0 0-.6.7v3.2c0 .4.3.7.6.7h6c.4 0 .7-.3.7-.7`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M90.1 273.5h12.8m-11.7-3.7v6.3m-.3-12.6v4.5m-.5-97.6 1 46.4s.7 1.6-.3 2.8c-.9 1.1 2.6.7 1 2.3-1.7 1.6.9 1.2 0 3.5-.6 1.6-1 22-1.2 36.5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M73.7 98.7 76 103s2 .8 1.8 2.7l.8 2.2m-14.3 8.7c.2-1 2.2-7.1 12.6-10.5m.7-16s7.7 6 16.5 2.7`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M92 87s5.5-.9 7.5-4.6c1.3-.3.8 2.2-.3 3.7l-1 1.5s.2.3.2.9c0 .6-.2.6-.3 1v1l-.4 1c-.1.2 0 .6-.2.9-.2.4-1.6 1.8-2.6 2.8-3.8 3.6-5 1.7-6-.4-1-1.8-.7-5.1-.9-6.9-.3-2.9-2.6-3-2-4.4.4-.7 3 .7 3.4 1.8.7 2 2.9 1.8 2.6 1.7`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M99.8 82.4c-.5.1-.3.3-1 1.3-.6 1-4.8 2.9-6.4 3.2-2.5.5-2.2-1.6-4.2-2.9-1.7-1-3.6-.6-1.4 1.4 1 1 1 1.1 1.4 3.2.3 1.5-.7 3.7.7 5.6`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`.8`}),S.createElement(`path`,{stroke:`#E59788`,d:`M79.5 108.7c-2 2.9-4.2 6.1-5.5 8.7`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`.8`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M87.7 124.8s-2-2-5.1-2.8c-3-.7-3.6-.1-5.5.1-2 .3-4-.9-3.7.7.3 1.7 5 1 5.2 2.1.2 1.1-6.3 2.8-8.3 2.2-.8.8.5 1.9 2 2.2.3 1.5 2.3 1.5 2.3 1.5s.7 1 2.6 1.1c2.5 1.3 9-.7 11-1.5 2-.9-.5-5.6-.5-5.6`}),S.createElement(`path`,{stroke:`#E59788`,d:`M73.4 122.8s.7 1.2 3.2 1.4c2.3.3 2.6.6 2.6.6s-2.6 3-9.1 2.3m2.3 2.2s3.8 0 5-.7m-2.4 2.2s2 0 3.3-.6m-1 1.7s1.7 0 2.8-.5m-6.8-9s-.6-1.1 1.3-.5c1.7.5 2.8 0 5.1.1 1.4.1 3-.2 4 .2 1.6.8 3.6 2.2 3.6 2.2s10.6 1.2 19-1.1M79 108s-8.4 2.8-13.2 12.1`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`.8`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M109.3 112.5s3.4-3.6 7.6-4.6`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#E59788`,d:`M107.4 123s9.7-2.7 11.4-.9`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`.8`}),S.createElement(`path`,{stroke:`#BFCDDD`,d:`m194.6 83.7 4-4M187.2 91l3.7-3.6m.9-3-4.5-4.7m11.2 11.5-4.2-4.3m-65 76.3 3.7-3.7M122.3 170l3.5-3.5m.8-2.9-4.3-4.2M133 170l-4-4`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`}),S.createElement(`path`,{fill:`#A3B4C6`,d:`M190.2 211.8h-1.6a4 4 0 0 1-4-4v-32.1a4 4 0 0 1 4-4h1.6a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4`}),S.createElement(`path`,{fill:`#A3B4C6`,d:`M237.8 213a4.8 4.8 0 0 1-4.8 4.8h-86.6a4.8 4.8 0 0 1 0-9.6H233a4.8 4.8 0 0 1 4.8 4.8`}),S.createElement(`path`,{fill:`#A3B4C6`,d:`M154.1 190.1h70.5v-84.6h-70.5z`}),S.createElement(`path`,{fill:`#BFCDDD`,d:`M225 190.1h-71.2a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.2v19a3.2 3.2 0 0 1-3.2 3.2m0-59.3h-71.1a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.3v19a3.2 3.2 0 0 1-3.2 3.1`}),S.createElement(`path`,{fill:`#FFF`,d:`M159.6 120.5a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8v-3.2c0-.4.3-.8.8-.8h22.4c.5 0 .8.4.8.8v3.2c0 .5-.3.8-.8.8`}),S.createElement(`path`,{fill:`#BFCDDD`,d:`M225 160.5h-71.2a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.2v19a3.2 3.2 0 0 1-3.2 3.2`}),S.createElement(`path`,{stroke:`#7C90A5`,d:`M173.5 130.8h49.3m-57.8 0h6m-15 0h6.7m11.1 29.8h49.3m-57.7 0h6m-15.8 0h6.7`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#FFF`,d:`M159.6 151a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8V147c0-.4.3-.8.8-.8h22.4c.5 0 .8.4.8.8v3.2c0 .5-.3.8-.8.8m-63 29a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.5 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8V176c0-.5.3-.8.8-.8h22.4c.5 0 .8.3.8.8v3.2c0 .4-.3.8-.8.8`}),S.createElement(`path`,{fill:`#BFCDDD`,d:`M203 221.1h-27.3a2.4 2.4 0 0 1-2.4-2.4v-11.4a2.4 2.4 0 0 1 2.4-2.5H203a2.4 2.4 0 0 1 2.4 2.5v11.4a2.4 2.4 0 0 1-2.4 2.4`}),S.createElement(`path`,{stroke:`#A3B4C6`,d:`M177.3 207.2v11.5m23.8-11.5v11.5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#5BA02E`,d:`M162.9 267.9a9.4 9.4 0 0 1-9.4-9.4v-14.8a9.4 9.4 0 0 1 18.8 0v14.8a9.4 9.4 0 0 1-9.4 9.4`}),S.createElement(`path`,{fill:`#92C110`,d:`M171.2 267.8a9.4 9.4 0 0 1-9.4-9.4V255a9.4 9.4 0 0 1 18.8 0v3.4a9.4 9.4 0 0 1-9.4 9.4`}),S.createElement(`path`,{fill:`#F2D7AD`,d:`M181.3 293.7h-27.7a3.2 3.2 0 0 1-3.2-3.2v-20.7a3.2 3.2 0 0 1 3.2-3.2h27.7a3.2 3.2 0 0 1 3.2 3.2v20.7a3.2 3.2 0 0 1-3.2 3.2`}))),mJ=e=>{let{componentCls:t,lineHeightHeading3:n,iconCls:r,padding:i,paddingXL:a,paddingXS:o,paddingLG:s,marginXS:c,lineHeight:l}=e;return{[t]:{padding:`${Y(e.calc(s).mul(2).equal())} ${Y(a)}`,"&-rtl":{direction:`rtl`}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:`auto`},[`${t} ${t}-icon`]:{marginBottom:s,textAlign:`center`,[`& > ${r}`]:{fontSize:e.iconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.titleFontSize,lineHeight:n,marginBlock:c,textAlign:`center`},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.subtitleFontSize,lineHeight:l,textAlign:`center`},[`${t} ${t}-body`]:{marginTop:s,padding:`${Y(s)} ${Y(e.calc(i).mul(2.5).equal())}`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.extraMargin,textAlign:`center`,"& > *":{marginInlineEnd:o,"&:last-child":{marginInlineEnd:0}}}}},hJ=e=>{let{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},gJ=e=>[mJ(e),hJ(e)],_J=Ql(`Result`,e=>{let t=e.colorInfo,n=e.colorError,r=e.colorSuccess,i=e.colorWarning;return gJ(dc(e,{resultInfoIconColor:t,resultErrorIconColor:n,resultSuccessIconColor:r,resultWarningIconColor:i,imageWidth:250,imageHeight:295}))},e=>({titleFontSize:e.fontSizeHeading3,subtitleFontSize:e.fontSize,iconFontSize:e.fontSizeHeading3*3,extraMargin:`${e.paddingLG}px 0 0 0`})),vJ=()=>S.createElement(`svg`,{width:`251`,height:`294`},S.createElement(`title`,null,`Unauthorized`),S.createElement(`g`,{fill:`none`,fillRule:`evenodd`},S.createElement(`path`,{fill:`#E4EBF7`,d:`M0 129v-2C0 58.3 55.6 2.7 124.2 2.7h2c68.6 0 124.2 55.6 124.2 124.1v2.1c0 68.6-55.6 124.2-124.1 124.2h-2.1A124.2 124.2 0 0 1 0 129`}),S.createElement(`path`,{fill:`#FFF`,d:`M41.4 133a8.2 8.2 0 1 1-16.4-1.7 8.2 8.2 0 0 1 16.4 1.6`}),S.createElement(`path`,{stroke:`#FFF`,d:`m38.7 136.4 10.4 5.9m.9 6.2-12.6 10.7`,strokeWidth:`2`}),S.createElement(`path`,{fill:`#FFF`,d:`M41.5 161.3a5.6 5.6 0 1 1-11.2-1.2 5.6 5.6 0 0 1 11.2 1.2m17.7-16a5.7 5.7 0 1 1-11.3-1.2 5.7 5.7 0 0 1 11.3 1.2m41.2-115.8H130a4.6 4.6 0 1 0 0-9.1h-29.6a4.6 4.6 0 0 0 0 9.1m11.3 18.3h29.7a4.6 4.6 0 1 0 0-9.2h-29.7a4.6 4.6 0 1 0 0 9.2`}),S.createElement(`path`,{fill:`#FFF`,d:`M114 29.5h15.8a4.6 4.6 0 1 0 0 9.1H114a4.6 4.6 0 0 0 0-9.1m71.3 108.2a10 10 0 1 1-19.8-2 10 10 0 0 1 19.8 2`}),S.createElement(`path`,{stroke:`#FFF`,d:`m180.2 143.8 12.5 7.1m1.1 7.5-15.1 13`,strokeWidth:`2`}),S.createElement(`path`,{fill:`#FFF`,d:`M185.6 172a6.8 6.8 0 1 1-13.6-1.4 6.8 6.8 0 0 1 13.5 1.3m18.6-16.6a6.8 6.8 0 1 1-13.6-1.4 6.8 6.8 0 0 1 13.6 1.4`}),S.createElement(`path`,{stroke:`#FFF`,d:`M153 194a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm73-75.8a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.4 0zm-9 34.9a2.2 2.2 0 1 1-4.3 0 2.2 2.2 0 0 1 4.4 0zm-39.2-43.3a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm18.3-15.3a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm6.7 88a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0z`,strokeWidth:`2`}),S.createElement(`path`,{stroke:`#FFF`,d:`m215.1 155.3-1.9 20-10.8 6m-27.8-4.7-6.3 9.8H157l-4.5 6.4m23.4-65.5v-15.7m45.6 7.8-12.8 7.9-15.2-7.9V96.7`,strokeWidth:`2`}),S.createElement(`path`,{fill:`#A26EF4`,d:`M180.7 29.3a29.3 29.3 0 1 1 58.6 0 29.3 29.3 0 0 1-58.6 0`}),S.createElement(`path`,{fill:`#FFF`,d:`m221.4 41.7-21.5-.1a1.7 1.7 0 0 1-1.7-1.8V27.6a1.7 1.7 0 0 1 1.8-1.7h21.5c1 0 1.8.9 1.8 1.8l-.1 12.3a1.7 1.7 0 0 1-1.7 1.7`}),S.createElement(`path`,{fill:`#FFF`,d:`M215.1 29.2c0 2.6-2 4.6-4.5 4.6a4.6 4.6 0 0 1-4.5-4.7v-6.9c0-2.6 2-4.6 4.6-4.6 2.5 0 4.5 2 4.4 4.7v6.9zm-4.5-14a6.9 6.9 0 0 0-7 6.8v7.3a6.9 6.9 0 0 0 13.8.1V22a6.9 6.9 0 0 0-6.8-6.9zm-43 53.2h-4a4.7 4.7 0 0 1-4.7-4.8 4.7 4.7 0 0 1 4.7-4.7h4a4.7 4.7 0 0 1 4.7 4.8 4.7 4.7 0 0 1-4.7 4.7`}),S.createElement(`path`,{fill:`#5BA02E`,d:`M168.2 248.8a6.6 6.6 0 0 1-6.6-6.6v-66a6.6 6.6 0 0 1 13.2 0v66a6.6 6.6 0 0 1-6.6 6.6`}),S.createElement(`path`,{fill:`#92C110`,d:`M176.1 248.2a6.6 6.6 0 0 1-6.6-6.6v-33a6.6 6.6 0 1 1 13.3 0v33a6.6 6.6 0 0 1-6.7 6.6`}),S.createElement(`path`,{fill:`#F2D7AD`,d:`M186 293.9h-27.4a3.2 3.2 0 0 1-3.2-3.2v-45.9a3.2 3.2 0 0 1 3.2-3.1H186a3.2 3.2 0 0 1 3.2 3.1v46a3.2 3.2 0 0 1-3.2 3`}),S.createElement(`path`,{fill:`#FFF`,d:`M82 147.7s6.3-1 17.5-1.3c11.8-.4 17.6 1 17.6 1s3.7-3.8 1-8.3c1.3-12.1 6-32.9.3-48.3-1.1-1.4-3.7-1.5-7.5-.6-1.4.3-7.2-.2-8-.1l-15.3-.4-8-.5c-1.6-.1-4.3-1.7-5.5-.3-.4.4-2.4 5.6-2 16l8.7 35.7s-3.2 3.6 1.2 7`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`m75.8 73.3-1-6.4 12-6.5s7.4-.1 8 1.2c.8 1.3-5.5 1-5.5 1s-1.9 1.4-2.6 2.5c-1.7 2.4-1 6.5-8.4 6-1.7.3-2.5 2.2-2.5 2.2`}),S.createElement(`path`,{fill:`#FFB594`,d:`M52.4 77.7S66.7 87 77.4 92c1 .5-2 16.2-11.9 11.8-7.4-3.3-20.1-8.4-21.5-14.5-.7-3.2 2.6-7.6 8.4-11.7M142 80s-6.7 3-13.9 6.9c-3.9 2.1-10.1 4.7-12.3 8-6.2 9.3 3.5 11.2 13 7.5 6.6-2.7 29-12.1 13.2-22.4`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`m76.2 66.4 3 3.8S76.4 73 73 76c-7 6.2-12.8 14.3-16 16.4-4 2.7-9.7 3.3-12.2 0-3.5-5.1.5-14.7 31.5-26`}),S.createElement(`path`,{fill:`#FFF`,d:`M64.7 85.1s-2.4 8.4-9 14.5c.7.5 18.6 10.5 22.2 10 5.2-.6 6.4-19 1.2-20.5-.8-.2-6-1.3-8.9-2.2-.9-.2-1.6-1.7-3.5-1l-2-.8zm63.7.7s5.3 2 7.3 13.8c-.6.2-17.6 12.3-21.8 7.8-6.6-7-.8-17.4 4.2-18.6 4.7-1.2 5-1.4 10.3-3`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M78.2 94.7s.9 7.4-5 13`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M87.4 94.7s3.1 2.6 10.3 2.6c7.1 0 9-3.5 9-3.5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`.9`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`m117.2 68.6-6.8-6.1s-5.4-4.4-9.2-1c-3.9 3.5 4.4 2.2 5.6 4.2 1.2 2.1.9 1.2-2 .5-5.7-1.4-2.1.9 3 5.3 2 1.9 7 1 7 1l2.4-3.9z`}),S.createElement(`path`,{fill:`#FFB594`,d:`m105.3 91.3-.3-11H89l-.5 10.5c0 .4.2.8.6 1 2 1.3 9.3 5 15.8.4.2-.2.4-.5.4-.9`}),S.createElement(`path`,{fill:`#5C2552`,d:`M107.6 74.2c.8-1.1 1-9 1-11.9a1 1 0 0 0-1-1l-4.6-.4c-7.7-1-17 .6-18.3 6.3-5.4 5.9-.4 13.3-.4 13.3s2 3.5 4.3 6.8c.8 1 .4-3.8 3-6a47.9 47.9 0 0 1 16-7`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`M88.4 83.2s2.7 6.2 11.6 6.5c7.8.3 9-7 7.5-17.5l-1-5.5c-6-2.9-15.4.6-15.4.6s-.6 2-.2 5.5c-2.3 2-1.8 5.6-1.8 5.6s-1-2-2-2.3c-.9-.3-2 0-2.3 2-1 4.6 3.6 5.1 3.6 5.1`}),S.createElement(`path`,{stroke:`#DB836E`,d:`m100.8 77.1 1.7-1-1-4.3.7-1.4`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#552950`,d:`M105.5 74c0 .8-.4 1.4-1 1.4-.4 0-.8-.7-.8-1.4s.5-1.2 1-1.2.9.6.8 1.3m-8 .2c0 .8-.4 1.3-.9 1.3s-.9-.6-.9-1.3c0-.7.5-1.3 1-1.3s1 .6.9 1.3`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M91.1 86.8s5.3 5 12.7 2.3`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#DB836E`,d:`M99.8 81.9s-3.6.2-1.5-2.8c1.6-1.5 5-.4 5-.4s1 3.9-3.5 3.2`}),S.createElement(`path`,{stroke:`#5C2552`,d:`M102.9 70.6s2.5.8 3.4.7m-12.4.7s2.5-1.2 4.8-1.1`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M86.3 77.4s1 .9 1.5 2c-.4.6-1 1.2-.3 1.9m11.8 2.4s2 .2 2.5-.2`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`m87.8 115.8 15.7-3m-3.3 3 10-2m-43.7-27s-1.6 8.8-6.7 14M128.3 88s3 4 4 11.7`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M64 84.8s-6 10-13.5 10`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`.8`}),S.createElement(`path`,{fill:`#FFC6A0`,d:`m112.4 66-.2 5.2 12 9.2c4.5 3.6 8.9 7.5 11 8.7 4.8 2.8 8.9 3.3 11 1.8 4.1-2.9 4.4-9.9-8.1-15.3-4.3-1.8-16.1-6.3-25.7-9.7`}),S.createElement(`path`,{stroke:`#DB836E`,d:`M130.5 85.5s4.6 5.7 11.7 6.2`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`.8`}),S.createElement(`path`,{stroke:`#E4EBF7`,d:`M121.7 105.7s-.4 8.6-1.3 13.6`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M115.8 161.5s-3.6-1.5-2.7-7.1`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#CBD1D1`,d:`M101.5 290.2s4.3 2.1 7.4 1c2.9-.9 4.6.7 7.2 1.3 2.5.5 6.9 1 11.7-1.3 0-5.6-7-4-12-6.8-2.6-1.4-3.8-4.7-3.6-8.8h-9.5s-1.4 10.6-1.2 14.6`}),S.createElement(`path`,{fill:`#2B0849`,d:`M101.5 290s2.4 1.4 6.8.7c3-.4 3.7.5 7.5 1 3.7.6 10.8 0 11.9-.8.4 1-.4 2-.4 2s-1.5.7-4.8.9c-2 .1-5.8.3-7.7-.5-1.8-1.4-5.2-2-5.7-.3-4 1-7.4-.3-7.4-.3l-.2-2.6z`}),S.createElement(`path`,{fill:`#A4AABA`,d:`M108.8 276.2h3.1s0 6.7 4.6 8.6c-4.7.6-8.6-2.3-7.7-8.6`}),S.createElement(`path`,{fill:`#CBD1D1`,d:`M57.6 272.5s-2 7.5-4.5 12.4c-1.8 3.7-4.2 7.6 5.5 7.6 6.7 0 9-.5 7.5-6.7-1.5-6.1.3-13.3.3-13.3h-8.8z`}),S.createElement(`path`,{fill:`#2B0849`,d:`M51.5 290s2.2 1.2 6.7 1.2c6.1 0 8.3-1.6 8.3-1.6s.6 1-.6 2.1c-1 .9-3.6 1.6-7.4 1.6-4.2 0-6-.6-6.8-1.2-.9-.5-.7-1.6-.2-2`}),S.createElement(`path`,{fill:`#A4AABA`,d:`M58.5 274.4s0 1.6-.3 3-1 3.1-1.1 4.2c0 1.1 4.5 1.5 5.2 0 .6-1.6 1.3-6.5 1.9-7.3.6-.8-5-2.1-5.7.1`}),S.createElement(`path`,{fill:`#7BB2F9`,d:`m100.9 277 13.3.1s1.3-54.2 1.8-64c.6-9.9 3.8-43.2 1-62.8l-12.4-.7-22.8.8-1.2 10c0 .4-.6.8-.7 1.3 0 .6.4 1.3.3 2-2.3 14-6.3 32.9-8.7 46.4-.1.6-1.2 1-1.4 2.6 0 .3.2 1.6 0 1.8-6.8 18.7-10.8 47.6-14.1 61.6h14.5s2.2-8.6 4-17a3984 3984 0 0 1 23-84.5l3-.5 1 46.1s-.2 1.2.4 2c.5.8-.6 1.1-.4 2.3l.4 1.7-1 11.9c-.4 4.6 0 39 0 39`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M77.4 220.4c1.2.1 4-2 7-4.9m23.1 8.4s2.8-1 6.1-3.8`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M108.5 221s2.7-1.2 6-4`,strokeLinecap:`round`,strokeLinejoin:`round`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M76.1 223.6s2.6-.6 6.5-3.4m4.7-69.4c-.2 3.1.3 8.5-4.3 9m21.8-10.7s.1 14-1.3 15c-2.2 1.6-3 1.9-3 1.9m.5-16.4s0 12.8-1.2 24.3m-4.9 1s7.2-1.6 9.4-1.6m-28.6 31.5-1 4.5s-1.5 1.8-1 3.7c.4 2-1 2-5 15.3-1.7 5.6-4.4 18.5-6.3 27.5l-4 18.4M77 196.7a313.3 313.3 0 0 1-.8 4.8m7.7-50-1.2 10.3s-1 .2-.5 2.3c.1 1.3-2.6 15.6-5.1 30.2M57.6 273h13.2`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}),S.createElement(`path`,{fill:`#192064`,d:`M117.4 147.4s-17-3-35.7.2v4.2s14.6-2.9 35.5-.4l.2-4`}),S.createElement(`path`,{fill:`#FFF`,d:`M107.5 150.4v-5a.8.8 0 0 0-.8-.7H99a.8.8 0 0 0-.7.8v4.8c0 .5.3.9.8.8a140.8 140.8 0 0 1 7.7 0 .8.8 0 0 0 .8-.7`}),S.createElement(`path`,{fill:`#192064`,d:`M106.4 149.4v-3a.6.6 0 0 0-.6-.7 94.1 94.1 0 0 0-5.8 0 .6.6 0 0 0-.7.7v3c0 .4.3.7.7.7h5.7c.4 0 .7-.3.7-.7`}),S.createElement(`path`,{stroke:`#648BD8`,d:`M101.5 274h12.3m-11.1-5v6.5m0-12.4v4.3m-.5-93.4.9 44.4s.7 1.6-.2 2.7c-1 1.1 2.4.7.9 2.2-1.6 1.6.9 1.1 0 3.4-.6 1.5-1 21-1.1 35`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.1`}))),yJ={success:Tu,error:Ou,info:Pu,warning:dJ},bJ={404:fJ,500:pJ,403:vJ},xJ=Object.keys(bJ),SJ=({icon:e,status:t,className:n,style:r})=>{if(xJ.includes(`${t}`)){let e=bJ[t];return S.createElement(`div`,{className:n,style:r},S.createElement(e,null))}let i=S.createElement(yJ[t]);return e===null||e===!1?null:S.createElement(`div`,{className:n,style:r},e||i)},CJ=({className:e,extra:t,style:n})=>t?S.createElement(`div`,{className:e,style:n},t):null,wJ=e=>{let{prefixCls:t,className:n,rootClassName:r,subTitle:i,title:a,style:o,children:s,status:c=`info`,icon:l,extra:u,styles:d,classNames:f,...p}=e,{getPrefixCls:m,direction:h,className:g,style:_,classNames:v,styles:y}=ya(`result`),b={...e,status:c},[x,C]=Cf([v,f],[y,d],{props:b}),w=m(`result`,t),[T,E]=_J(w),D=J(w,`${w}-${c}`,n,g,r,{[`${w}-rtl`]:h===`rtl`},T,E,x.root),O=J(`${w}-title`,x.title),k=J(`${w}-subtitle`,x.subTitle),A=J(`${w}-extra`,x.extra),j=J(`${w}-body`,x.body),M=J(`${w}-icon`,{[`${w}-image`]:xJ.includes(`${c}`)},x.icon),N={...C.root,..._,...o},P=xi(p,{aria:!0,data:!0});return S.createElement(`div`,{...P,className:D,style:N},S.createElement(SJ,{className:M,style:C.icon,status:c,icon:l}),S.createElement(`div`,{className:O,style:C.title},a),i&&S.createElement(`div`,{className:k,style:C.subTitle},i),S.createElement(CJ,{className:A,extra:u,style:C.extra}),s&&S.createElement(`div`,{className:j,style:C.body},s))};wJ.PRESENTED_IMAGE_403=bJ[403],wJ.PRESENTED_IMAGE_404=bJ[404],wJ.PRESENTED_IMAGE_500=bJ[500];var TJ=Lz,EJ={},DJ=`rc-table-internal-hook`;function OJ(e){let t=S.createContext(void 0);return{Context:t,Provider:({value:e,children:n})=>{let r=S.useRef(e);r.current=e;let[i]=S.useState(()=>({getValue:()=>r.current,listeners:new Set}));return Hn(()=>{(0,Vi.unstable_batchedUpdates)(()=>{i.listeners.forEach(t=>{t(e)})})},[e]),S.createElement(t.Provider,{value:i},n)},defaultValue:e}}function kJ(e,t){let n=zn(typeof t==`function`?t:e=>{if(t===void 0)return e;if(!Array.isArray(t))return e[t];let n={};return t.forEach(t=>{n[t]=e[t]}),n}),r=S.useContext(e?.Context),{listeners:i,getValue:a}=r||{},o=S.useRef();o.current=n(r?a():e?.defaultValue);let[,s]=S.useState({});return Hn(()=>{if(!r)return;function e(e){let t=n(e);fi(o.current,t,!0)||s({})}return i.add(e),()=>{i.delete(e)}},[r]),o.current}function AJ(){return AJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let s=i?{ref:o}:{},c=S.useRef(0),l=S.useRef(a);return t()===null?((!r||r(l.current,a))&&(c.current+=1),l.current=a,S.createElement(e.Provider,{value:c.current},S.createElement(n,AJ({},a,s)))):S.createElement(n,AJ({},a,s))};return i?S.forwardRef(a):a}function r(e,n){let r=ur(e),i=(n,i)=>{let a=r?{ref:i}:{};return t(),S.createElement(e,AJ({},n,a))};return S.memo(r?S.forwardRef(i):i,n)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var{makeImmutable:Fne,responseImmutable:Ine,useImmutableMark:Lne}=jJ(),{makeImmutable:MJ,responseImmutable:NJ,useImmutableMark:PJ}=jJ(),FJ=OJ(),IJ=S.createContext({renderWithProps:!1}),LJ=`RC_TABLE_KEY`;function RJ(e){return e==null?[]:Array.isArray(e)?e:[e]}function zJ(e){let t=[],n={};return e.forEach(e=>{let{key:r,dataIndex:i}=e||{},a=r||RJ(i).join(`-`)||LJ;for(;n[a];)a=`${a}_next`;n[a]=!0,t.push(a)}),t}function BJ(e){return e!=null}function VJ(e){return typeof e==`number`&&!Number.isNaN(e)}function HJ(e){return e&&typeof e==`object`&&!Array.isArray(e)&&!S.isValidElement(e)}function UJ(e,t,n,r,i,a){let o=S.useContext(IJ);return Zn(()=>{if(BJ(r))return[r];let a=Ai(e,t==null||t===``?[]:Array.isArray(t)?t:[t]),s=a,c;if(i){let t=i(a,e,n);HJ(t)?(s=t.children,c=t.props,o.renderWithProps=!0):s=t}return[s,c]},[PJ(),e,r,t,i,n],(e,t)=>{if(a){let[,n]=e,[,r]=t;return a(r,n)}return o.renderWithProps?!0:!fi(e,t,!0)})}function WJ(e,t,n,r){let i=e+t-1;return e<=r&&i>=n}function GJ(e,t){return kJ(FJ,n=>[WJ(e,t||1,n.hoverStartRow,n.hoverEndRow),n.onHover])}function KJ(){return KJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let r,i=e===!0?{showTitle:!0}:e;return i&&(i.showTitle||t===`header`)&&(typeof n==`string`||typeof n==`number`?r=n.toString():S.isValidElement(n)&&typeof n.props?.children==`string`&&(r=n.props?.children)),r},JJ=S.memo(e=>{let{component:t,children:n,ellipsis:r,scope:i,prefixCls:a,className:o,style:s,align:c,record:l,render:u,dataIndex:d,renderIndex:f,shouldCellUpdate:p,index:m,rowType:h,colSpan:g,rowSpan:_,fixStart:v,fixEnd:y,fixedStartShadow:b,fixedEndShadow:x,offsetFixedStartShadow:C,offsetFixedEndShadow:w,zIndex:T,zIndexReverse:E,appendNode:D,additionalProps:O={},isSticky:k}=e,A=`${a}-cell`,{allColumnsFixedLeft:j,rowHoverable:M}=kJ(FJ,[`allColumnsFixedLeft`,`rowHoverable`]),[N,P]=UJ(l,d,f,n,u,p),F={},I=typeof v==`number`&&!j,L=typeof y==`number`&&!j,[R,z]=kJ(FJ,({scrollInfo:e})=>{if(!I&&!L)return[!1,!1];let[t,n]=e;return[(I&&b&&t)-C>=1,(L&&x&&n-t)-w>1]});I&&(F.insetInlineStart=v,F[`--z-offset`]=T,F[`--z-offset-reverse`]=E),L&&(F.insetInlineEnd=y,F[`--z-offset`]=T,F[`--z-offset-reverse`]=E);let B=P?.colSpan??O.colSpan??g??1,V=P?.rowSpan??O.rowSpan??_??1,[H,U]=GJ(m,V),W=zn(e=>{l&&U(m,m+V-1),O?.onMouseEnter?.(e)}),ee=zn(e=>{l&&U(-1,-1),O?.onMouseLeave?.(e)});if(B===0||V===0)return null;let te=O.title??qJ({rowType:h,ellipsis:r,children:N}),ne=J(A,o,{[`${A}-fix`]:I||L,[`${A}-fix-start`]:I,[`${A}-fix-end`]:L,[`${A}-fix-start-shadow`]:b,[`${A}-fix-start-shadow-show`]:b&&R,[`${A}-fix-end-shadow`]:x,[`${A}-fix-end-shadow-show`]:x&&z,[`${A}-ellipsis`]:r,[`${A}-with-append`]:D,[`${A}-fix-sticky`]:(I||L)&&k,[`${A}-row-hover`]:!P&&H},O.className,P?.className),re={};c&&(re.textAlign=c);let G={...P?.style,...F,...re,...O.style,...s},ie=N;return typeof ie==`object`&&!Array.isArray(ie)&&!S.isValidElement(ie)&&(ie=null),r&&(b||x)&&(ie=S.createElement(`span`,{className:`${A}-content`},ie)),S.createElement(t,KJ({},P,O,{className:ne,style:G,title:te,scope:i,onMouseEnter:M?W:void 0,onMouseLeave:M?ee:void 0,colSpan:B===1?null:B,rowSpan:V===1?null:V}),D,ie)});function YJ(e){return e.fixed===`start`}function XJ(e){return e.fixed===`end`}function ZJ(e,t,n,r){let i=n[e]||{},a=n[t]||{},o=null,s=null;YJ(i)&&YJ(a)?o=r.start[e]:XJ(a)&&XJ(i)&&(s=r.end[t]);let c=!1,l=!1,u=0,d=0;o!==null&&(c=!n[t+1]||!YJ(n[t+1]),u=n.length*2-e,d=n.length+e),s!==null&&(l=!n[e-1]||!XJ(n[e-1]),u=t,d=n.length-t);let f=0,p=0;if(c)for(let t=0;tt;--e)XJ(n[e])||(p+=r.widths[e]||0);return{fixStart:o,fixEnd:s,fixedStartShadow:c,fixedEndShadow:l,offsetFixedStartShadow:f,offsetFixedEndShadow:p,isSticky:r.isSticky,zIndex:u,zIndexReverse:d}}var QJ=S.createContext({});function $J(){return $J=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:t,index:n,children:r,colSpan:i=1,rowSpan:a,align:o}=e,{prefixCls:s}=kJ(FJ,[`prefixCls`]),{scrollColumnIndex:c,stickyOffsets:l,flattenColumns:u}=S.useContext(QJ),d=n+i-1+1===c?i+1:i,f=S.useMemo(()=>ZJ(n,n+d-1,u,l),[n,d,u,l]);return S.createElement(JJ,$J({className:t,index:n,component:`td`,prefixCls:s,record:null,dataIndex:null,align:o,colSpan:d,rowSpan:a,render:()=>r},f))},tY=e=>{let{children:t,...n}=e;return S.createElement(`tr`,n,t)},nY=e=>{let{children:t}=e;return t};nY.Row=tY,nY.Cell=eY;var rY=NJ(e=>{let{children:t,stickyOffsets:n,flattenColumns:r}=e,i=kJ(FJ,`prefixCls`),a=r.length-1,o=r[a],s=S.useMemo(()=>({stickyOffsets:n,flattenColumns:r,scrollColumnIndex:o?.scrollbar?a:null}),[o,r,a,n]);return S.createElement(QJ.Provider,{value:s},S.createElement(`tfoot`,{className:`${i}-summary`},t))}),iY=nY;function aY(e){return null}function oY(e){return null}function sY(e,t,n,r,i,a,o){let s=a(t,o);e.push({record:t,indent:n,index:o,rowKey:s});let c=i?.has(s);if(t&&Array.isArray(t[r])&&c)for(let o=0;o{if(n?.size){let i=[];for(let a=0;a({record:e,indent:0,index:t,rowKey:r(e,t)}))},[e,t,n,r])}function lY(e,t,n,r){let i=kJ(FJ,[`prefixCls`,`fixedInfoList`,`flattenColumns`,`expandableType`,`expandRowByClick`,`onTriggerExpand`,`rowClassName`,`expandedRowClassName`,`indentSize`,`expandIcon`,`expandedRowRender`,`expandIconColumnIndex`,`expandedKeys`,`childrenColumnName`,`rowExpandable`,`onRow`]),{flattenColumns:a,expandableType:o,expandedKeys:s,childrenColumnName:c,onTriggerExpand:l,rowExpandable:u,onRow:d,expandRowByClick:f,rowClassName:p}=i,m=o===`nest`,h=o===`row`&&(!u||u(e)),g=h||m,_=s&&s.has(t),v=c&&e&&e[c],y=zn(l),b=d?.(e,n),x=b?.onClick,S=(t,...n)=>{f&&g&&l(e,t),x?.(t,...n)},C;typeof p==`string`?C=p:typeof p==`function`&&(C=p(e,n,r));let w=zJ(a);return{...i,columnsKey:w,nestExpandable:m,expanded:_,hasNestChildren:v,record:e,onTriggerExpand:y,rowSupportExpand:h,expandable:g,rowProps:{...b,className:J(C,b?.className),onClick:S}}}var uY=e=>{let{prefixCls:t,children:n,component:r,cellComponent:i,className:a,expanded:o,colSpan:s,isEmpty:c,stickyOffset:l=0}=e,{scrollbarSize:u,fixHeader:d,fixColumn:f,componentWidth:p,horizonScroll:m}=kJ(FJ,[`scrollbarSize`,`fixHeader`,`fixColumn`,`componentWidth`,`horizonScroll`]),h=n;return(c?m&&p:f)&&(h=S.createElement(`div`,{style:{width:p-l-(d&&!c?u:0),position:`sticky`,left:l,overflow:`hidden`},className:`${t}-expanded-row-fixed`},h)),S.createElement(r,{className:a,style:{display:o?null:`none`}},S.createElement(JJ,{component:i,prefixCls:t,colSpan:s},h))};function dY({prefixCls:e,record:t,onExpand:n,expanded:r,expandable:i}){let a=`${e}-row-expand-icon`;if(!i)return S.createElement(`span`,{className:J(a,`${e}-row-spaced`)});let o=e=>{n(t,e),e.stopPropagation()};return S.createElement(`span`,{className:J(a,{[`${e}-row-expanded`]:r,[`${e}-row-collapsed`]:!r}),onClick:o})}function fY(e,t,n){let r=[];function i(e){(e||[]).forEach((e,a)=>{r.push(t(e,a)),i(e[n])})}return i(e),r}function pY(e,t,n,r){return typeof e==`string`?e:typeof e==`function`?e(t,n,r):``}function mY(){return mY=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:t,style:n,classNames:r,styles:i,record:a,index:o,renderIndex:s,rowKey:c,rowKeys:l,indent:u=0,rowComponent:d,cellComponent:f,scopeCellComponent:p,expandedRowInfo:m}=e,h=lY(a,c,o,u),{prefixCls:g,flattenColumns:_,expandedRowClassName:v,expandedRowRender:y,rowProps:b,expanded:x,rowSupportExpand:C}=h,w=S.useRef(!1);w.current||=x;let T=pY(v,a,o,u),E=S.createElement(d,mY({},b,{"data-row-key":c,className:J(t,`${g}-row`,`${g}-row-level-${u}`,b?.className,r.row,{[T]:u>=1}),style:{...n,...b?.style,...i.row}}),_.map((e,t)=>{let{render:n,dataIndex:c,className:d}=e,{key:_,fixedInfo:v,appendCellNode:y,additionalCellProps:b}=hY(h,e,t,u,o,l,m?.offset);return S.createElement(JJ,mY({className:J(d,r.cell),style:i.cell,ellipsis:e.ellipsis,align:e.align,scope:e.rowScope,component:e.rowScope?p:f,prefixCls:g,key:_,record:a,index:o,renderIndex:s,dataIndex:c,render:n,shouldCellUpdate:e.shouldCellUpdate},v,{appendNode:y,additionalProps:b}))})),D;if(C&&(w.current||x)){let e=y(a,o,u+1,x);D=S.createElement(uY,{expanded:x,className:J(`${g}-expanded-row`,`${g}-expanded-row-level-${u+1}`,T),prefixCls:g,component:d,cellComponent:f,colSpan:m?m.colSpan:_.length,isEmpty:!1,stickyOffset:m?.sticky},e)}return S.createElement(S.Fragment,null,E,D)}),_Y=e=>{let{columnKey:t,onColumnResize:n,title:r}=e,i=S.useRef(null);return Hn(()=>{i.current&&n(t,i.current.offsetWidth)},[]),S.createElement(oa,{data:t},S.createElement(`td`,{ref:i,style:{paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,height:0}},S.createElement(`div`,{style:{height:0,overflow:`hidden`,fontWeight:`bold`}},r||`\xA0`)))},vY=({prefixCls:e,columnsKey:t,onColumnResize:n,columns:r})=>{let i=S.useRef(null),{measureRowRender:a}=kJ(FJ,[`measureRowRender`]),o=S.createElement(`tr`,{"aria-hidden":`true`,className:`${e}-measure-row`,style:{height:0},ref:i},S.createElement(oa.Collection,{onBatchResize:e=>{Ar(i.current)&&e.forEach(({data:e,size:t})=>{n(e,t.offsetWidth)})}},t.map(e=>{let t=r.find(t=>t.key===e)?.title,i=S.isValidElement(t)?S.cloneElement(t,{ref:null}):t;return S.createElement(_Y,{key:e,columnKey:e,onColumnResize:n,title:i})})));return typeof a==`function`?a(o):o},yY=NJ(e=>{let{data:t,measureColumnWidth:n}=e,{prefixCls:r,getComponent:i,onColumnResize:a,flattenColumns:o,getRowKey:s,expandedKeys:c,childrenColumnName:l,emptyNode:u,classNames:d,styles:f,expandedRowOffset:p=0,colWidths:m}=kJ(FJ,[`prefixCls`,`getComponent`,`onColumnResize`,`flattenColumns`,`getRowKey`,`expandedKeys`,`childrenColumnName`,`emptyNode`,`classNames`,`styles`,`expandedRowOffset`,`fixedInfoList`,`colWidths`]),{body:h={}}=d||{},{body:g={}}=f||{},_=cY(t,l,c,s),v=S.useMemo(()=>_.map(e=>e.rowKey),[_]),y=S.useRef({renderWithProps:!1}),b=S.useMemo(()=>{let e=o.length-p,t=0;for(let e=0;e{let{record:n,indent:r,index:i,rowKey:a}=e;return S.createElement(gY,{classNames:h,styles:g,key:a,rowKey:a,rowKeys:v,record:n,index:t,renderIndex:i,rowComponent:C,cellComponent:w,scopeCellComponent:T,indent:r,expandedRowInfo:b})}):S.createElement(uY,{expanded:!0,className:`${r}-placeholder`,prefixCls:r,component:C,cellComponent:w,colSpan:o.length,isEmpty:!0},u);let D=zJ(o);return S.createElement(IJ.Provider,{value:y.current},S.createElement(x,{style:g.wrapper,className:J(`${r}-tbody`,h.wrapper)},n&&S.createElement(vY,{prefixCls:r,columnsKey:D,onColumnResize:a,columns:o}),E))}),bY=`RC_TABLE_INTERNAL_COL_DEFINE`;function xY(e){let{expandable:t,...n}=e,r;return r=`expandable`in e?{...n,...t}:n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}function SY(){return SY=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{colWidths:t,columns:n,columCount:r}=e,{tableLayout:i}=kJ(FJ,[`tableLayout`]),a=[],o=r||n.length,s=!1;for(let e=o-1;e>=0;--e){let r=t[e],o=n&&n[e],c,l;if(o&&(c=o[bY],i===`auto`&&(l=o.minWidth)),r||l||c||s){let{columnType:t,...n}=c||{};a.unshift(S.createElement(`col`,SY({key:e,style:{width:r,minWidth:l}},n))),s=!0}}return a.length>0?S.createElement(`colgroup`,null,a):null};function wY(e,t){return(0,S.useMemo)(()=>{let n=[];for(let r=0;r{let{className:n,style:r,noData:i,columns:a,flattenColumns:o,colWidths:s,colGroup:c,columCount:l,stickyOffsets:u,direction:d,fixHeader:f,stickyTopOffset:p,stickyBottomOffset:m,stickyClassName:h,scrollX:g,tableLayout:_=`fixed`,onScroll:v,maxContentScroll:y,children:b,...x}=e,{prefixCls:C,scrollbarSize:w,isSticky:T,getComponent:E}=kJ(FJ,[`prefixCls`,`scrollbarSize`,`isSticky`,`getComponent`]),D=E([`header`,`table`],`table`),O=T&&!f?0:w,k=S.useRef(null),A=S.useCallback(e=>{sr(t,e),sr(k,e)},[]);S.useEffect(()=>{function e(e){let{currentTarget:t,deltaX:n}=e;if(n){let{scrollLeft:r,scrollWidth:i,clientWidth:a}=t,o=i-a,s=r+n;d===`rtl`?(s=Math.max(-o,s),s=Math.min(0,s)):(s=Math.min(o,s),s=Math.max(0,s)),v({currentTarget:t,scrollLeft:s}),e.preventDefault()}}let t=k.current;return t?.addEventListener(`wheel`,e,{passive:!1}),()=>{t?.removeEventListener(`wheel`,e)}},[]);let j=o[o.length-1],M={fixed:j?j.fixed:null,scrollbar:!0,onHeaderCell:()=>({className:`${C}-cell-scrollbar`})},N=(0,S.useMemo)(()=>O?[...a,M]:a,[O,a]),P=(0,S.useMemo)(()=>O?[...o,M]:o,[O,o]),F=(0,S.useMemo)(()=>{let{start:e,end:t}=u;return{...u,start:e,end:[...t.map(e=>e+O),0],isSticky:T}},[O,u,T]),I=wY(s,l),L=(0,S.useMemo)(()=>{let e=!I||!I.length||I.every(e=>!e);return i||e},[i,I]);return S.createElement(`div`,{style:{overflow:`hidden`,...T?{top:p,bottom:m}:{},...r},ref:A,className:J(n,{[h]:!!h})},S.createElement(D,{style:{tableLayout:_,minWidth:`100%`,width:g}},L?c:S.createElement(CY,{colWidths:[...I,O],columCount:l+1,columns:P}),b({...x,stickyOffsets:F,columns:N,flattenColumns:P})))}),EY=S.memo(TY);function DY(){return DY=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{cells:t,stickyOffsets:n,flattenColumns:r,rowComponent:i,cellComponent:a,onHeaderRow:o,index:s,classNames:c,styles:l}=e,{prefixCls:u}=kJ(FJ,[`prefixCls`]),d;o&&(d=o(t.map(e=>e.column),s));let f=zJ(t.map(e=>e.column));return S.createElement(i,DY({},d,{className:c.row,style:l.row}),t.map((e,t)=>{let{column:i,colStart:o,colEnd:s,colSpan:c}=e,l=ZJ(o,s,r,n),d=i?.onHeaderCell?.(i)||{};return S.createElement(JJ,DY({},e,{scope:i.title?c>1?`colgroup`:`col`:null,ellipsis:i.ellipsis,align:i.align,component:a,prefixCls:u,key:f[t]},l,{additionalProps:d,rowType:`header`}))}))};function kY(e,t,n){let r=[];function i(e,a,o=0){r[o]=r[o]||[];let s=a;return e.filter(Boolean).map(e=>{let a={key:e.key,className:J(e.className,t.cell)||``,style:n.cell,children:e.title,column:e,colStart:s},c=1,l=e.children;return l&&l.length>0&&(c=i(l,s,o+1).reduce((e,t)=>e+t,0),a.hasSubColumns=!0),`colSpan`in e&&({colSpan:c}=e),`rowSpan`in e&&(a.rowSpan=e.rowSpan),a.colSpan=c,a.colEnd=a.colStart+c-1,r[o].push(a),s+=c,c})}i(e,0);let a=r.length;for(let e=0;e{!(`rowSpan`in t)&&!t.hasSubColumns&&(t.rowSpan=a-e)});return r}var AY=NJ(e=>{let{stickyOffsets:t,columns:n,flattenColumns:r,onHeaderRow:i}=e,{prefixCls:a,getComponent:o,classNames:s,styles:c}=kJ(FJ,[`prefixCls`,`getComponent`,`classNames`,`styles`]),{header:l={}}=s||{},{header:u={}}=c||{},d=S.useMemo(()=>kY(n,l,u),[n,l,u]),f=o([`header`,`wrapper`],`thead`),p=o([`header`,`row`],`tr`),m=o([`header`,`cell`],`th`);return S.createElement(f,{className:J(`${a}-thead`,l.wrapper),style:u.wrapper},d.map((e,n)=>S.createElement(OY,{classNames:l,styles:u,key:n,flattenColumns:r,cells:e,stickyOffsets:t,rowComponent:p,cellComponent:m,onHeaderRow:i,index:n})))});function jY(e,t=``){return typeof t==`number`?t:t.endsWith(`%`)?e*parseFloat(t)/100:null}function MY(e,t,n){return S.useMemo(()=>{if(t&&t>0){let r=0,i=0;e.forEach(e=>{let n=jY(t,e.width);n?r+=n:i+=1});let a=Math.max(t,n),o=Math.max(a-r,i),s=i,c=o/i,l=0,u=e.map(e=>{let n={...e},r=jY(t,n.width);if(r)n.width=r;else{let e=Math.floor(c);n.width=s===1?o:e,o-=e,--s}return l+=n.width,n});if(l{let r=Math.floor(t.width*e);t.width=n===u.length-1?o:r,o-=r})}return[u,Math.max(l,a)]}return[e,t]},[e,t,n])}function NY(e){return ki(e).filter(e=>S.isValidElement(e)).map(e=>{let{key:t,props:n}=e,{children:r,...i}=n,a={key:t,...i};return r&&(a.children=NY(r)),a})}function PY(e){return e.filter(e=>e&&typeof e==`object`&&!e.hidden).map(e=>{let t=e.children;return t&&t.length>0?{...e,children:PY(t)}:e})}function FY(e,t=`key`){return e.filter(e=>e&&typeof e==`object`).reduce((e,n,r)=>{let{fixed:i}=n,a=i===!0||i===`left`?`start`:i===`right`?`end`:i,o=`${t}-${r}`,s=n.children;return s&&s.length>0?[...e,...FY(s,o).map(e=>({...e,fixed:e.fixed??a}))]:[...e,{key:o,...n,fixed:a}]},[])}function IY({prefixCls:e,columns:t,children:n,expandable:r,expandedKeys:i,columnTitle:a,getRowKey:o,onTriggerExpand:s,expandIcon:c,rowExpandable:l,expandIconColumnIndex:u,expandedRowOffset:d=0,direction:f,expandRowByClick:p,columnWidth:m,fixed:h,scrollWidth:g,clientWidth:_},v){let y=S.useMemo(()=>PY((t||NY(n)||[]).slice()),[t,n]),b=S.useMemo(()=>{if(r){let t=y.slice();if(!t.includes(EJ)){let e=u||0,n=e===0&&(h===`right`||h===`end`)?y.length:e;n>=0&&t.splice(n,0,EJ)}let n=t.indexOf(EJ);t=t.filter((e,t)=>e!==EJ||t===n);let r=y[n],f;f=h||(r?r.fixed:null);let g={[bY]:{className:`${e}-expand-icon-col`,columnType:`EXPAND_COLUMN`},title:a,fixed:f,className:`${e}-row-expand-icon-cell`,width:m,render:(t,n,r)=>{let a=o(n,r),u=c({prefixCls:e,expanded:i.has(a),expandable:l?l(n):!0,record:n,onExpand:s});return p?S.createElement(`span`,{onClick:e=>e.stopPropagation()},u):u}};return t.map((e,t)=>{let n=e===EJ?g:e;return te!==EJ)},[r,y,o,i,c,f,d]),x=S.useMemo(()=>{let e=b;return v&&(e=v(e)),e.length||(e=[{render:()=>null}]),e},[v,b,f]),[C,w]=MY(S.useMemo(()=>FY(x),[x,f,g]),g,_);return[x,C,w]}function LY(e,t,n){let r=xY(e),{expandIcon:i,expandedRowKeys:a,defaultExpandedRowKeys:o,defaultExpandAllRows:s,expandedRowRender:c,onExpand:l,onExpandedRowsChange:u,childrenColumnName:d}=r,f=i||dY,p=d||`children`,m=S.useMemo(()=>c?`row`:e.expandable&&e.internalHooks===`rc-table-internal-hook`&&e.expandable.__PARENT_RENDER_ICON__||t.some(e=>e&&typeof e==`object`&&e[p])?`nest`:!1,[!!c,t]),[h,g]=S.useState(()=>o||(s?fY(t,n,p):[])),_=S.useMemo(()=>new Set(a||h||[]),[a,h]);return[r,m,_,f,p,S.useCallback(e=>{let r=n(e,t.indexOf(e)),i,a=_.has(r);a?(_.delete(r),i=[..._]):i=[..._,r],g(i),l&&l(!a,e),u&&u(i)},[n,_,t,l,u])]}function RY(e,t){let n=S.useMemo(()=>e.map((n,r)=>ZJ(r,r,e,t)),[e,t]);return Zn(()=>n,[n],(e,t)=>!fi(e,t))}function zY(e){let t=(0,S.useRef)(e),[,n]=(0,S.useState)({}),r=(0,S.useRef)(null),i=(0,S.useRef)([]);function a(e){i.current.push(e);let a=Promise.resolve();r.current=a,a.then(()=>{if(r.current===a){let e=i.current,a=t.current;i.current=[],e.forEach(e=>{t.current=e(t.current)}),r.current=null,a!==t.current&&n({})}})}return(0,S.useEffect)(()=>()=>{r.current=null},[]),[t.current,a]}function BY(e){let t=(0,S.useRef)(e||null),n=(0,S.useRef)(null);function r(){clearTimeout(n.current)}function i(e){t.current=e,r(),n.current=setTimeout(()=>{t.current=null,n.current=void 0},100)}function a(){return t.current}return(0,S.useEffect)(()=>r,[]),[i,a]}function VY(){let[e,t]=S.useState(-1),[n,r]=S.useState(-1);return[e,n,S.useCallback((e,n)=>{t(e),r(n)},[])]}var HY=Bn()?window:null;function UY(e,t){let{offsetHeader:n=0,offsetSummary:r=0,offsetScroll:i=0,getContainer:a=()=>HY}=typeof e==`object`?e:{},o=a()||HY,s=!!e;return S.useMemo(()=>({isSticky:s,stickyClassName:s?`${t}-sticky-holder`:``,offsetHeader:n,offsetSummary:r,offsetScroll:i,container:o}),[s,i,n,r,t,o])}function WY(e,t){return(0,S.useMemo)(()=>{let n=t.length,r=(n,r,i)=>{let a=[],o=0;for(let s=n;s!==r;s+=i)a.push(o),t[s].fixed&&(o+=e[s]||0);return a};return{start:r(0,n,1),end:r(n-1,-1,-1).reverse(),widths:e}},[e,t])}var GY=e=>{let{children:t,className:n,style:r}=e;return S.createElement(`div`,{className:n,style:r},t)};function KY(e){let t=kr(e).getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}var qY=`mouseup`,JY=`mousemove`,YY=`scroll`,XY=`resize`,ZY=S.forwardRef((e,t)=>{let{scrollBodyRef:n,onScroll:r,offsetScroll:i,container:a,direction:o}=e,s=kJ(FJ,`prefixCls`),c=n.current?.scrollWidth||0,l=n.current?.clientWidth||0,u=c&&l/c*l,d=S.useRef(null),[f,p]=zY({scrollLeft:0,isHiddenScrollBar:!0}),m=S.useRef({delta:0,x:0}),[h,g]=S.useState(!1),_=S.useRef(null);S.useEffect(()=>()=>{Oi.cancel(_.current)},[]);let v=()=>{g(!1)},y=e=>{e.persist(),m.current.delta=e.pageX-f.scrollLeft,m.current.x=0,g(!0),e.preventDefault()},b=e=>{let{buttons:t}=e||window?.event;if(!h||t===0){h&&g(!1);return}let n=m.current.x+e.pageX-m.current.x-m.current.delta,i=o===`rtl`;n=Math.max(i?u-l:0,Math.min(i?0:l-u,n)),(!i||Math.abs(n)+Math.abs(u){Oi.cancel(_.current),_.current=Oi(()=>{if(!n.current)return;let e=KY(n.current).top,t=e+n.current.offsetHeight,r=a===window?document.documentElement.scrollTop+window.innerHeight:KY(a).top+a.clientHeight;t-ti()<=r||e>=r-i?p(e=>({...e,isHiddenScrollBar:!0})):p(e=>({...e,isHiddenScrollBar:!1}))})},C=e=>{p(t=>({...t,scrollLeft:e/c*l||0}))};return S.useImperativeHandle(t,()=>({setScrollLeft:C,checkScrollBarVisible:x})),S.useEffect(()=>(document.body.addEventListener(qY,v,!1),document.body.addEventListener(JY,b,!1),x(),()=>{document.body.removeEventListener(qY,v),document.body.removeEventListener(JY,b)}),[u,h]),S.useEffect(()=>{if(n.current){let e=[],t=kr(n.current);for(;t;)e.push(t),t=t.parentElement;return e.forEach(e=>{e.addEventListener(YY,x,!1)}),window.addEventListener(XY,x,!1),window.addEventListener(YY,x,!1),a.addEventListener(YY,x,!1),()=>{e.forEach(e=>{e.removeEventListener(YY,x)}),window.removeEventListener(XY,x),window.removeEventListener(YY,x),a.removeEventListener(YY,x)}}},[a]),S.useEffect(()=>{f.isHiddenScrollBar||p(e=>{let t=n.current;return t?{...e,scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}:e})},[f.isHiddenScrollBar]),c<=l||!u||f.isHiddenScrollBar?null:S.createElement(`div`,{style:{height:ti(),width:l,bottom:i},className:`${s}-sticky-scroll`},S.createElement(`div`,{onMouseDown:y,ref:d,className:J(`${s}-sticky-scroll-bar`,{[`${s}-sticky-scroll-bar-active`]:h}),style:{width:`${u}px`,transform:`translate3d(${f.scrollLeft}px, 0, 0)`}}))});function QY(){return QY=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let n={rowKey:`key`,prefixCls:$Y,emptyText:nX,...e},{prefixCls:r,className:i,rowClassName:a,style:o,classNames:s,styles:c,data:l,rowKey:u,scroll:d,tableLayout:f,direction:p,title:m,footer:h,summary:g,caption:_,id:v,showHeader:y,components:b,emptyText:x,onRow:C,onHeaderRow:w,measureRowRender:T,onScroll:E,internalHooks:D,transformColumns:O,internalRefs:k,tailor:A,getContainerWidth:j,sticky:M,rowHoverable:N=!0}=n,P=l||eX,F=!!P.length,I=D===DJ,L=S.useCallback((e,t)=>Ai(b,e)||t,[b]),R=S.useMemo(()=>typeof u==`function`?u:e=>e&&e[u],[u]),z=L([`body`]),[B,V,H]=VY(),[U,W,ee,te,ne,re]=LY(n,P,R),G=d?.x,[ie,K]=S.useState(0),[ae,q,oe]=IY({...n,...U,expandable:!!U.expandedRowRender,columnTitle:U.columnTitle,expandedKeys:ee,getRowKey:R,onTriggerExpand:re,expandIcon:te,expandIconColumnIndex:U.expandIconColumnIndex,direction:p,scrollWidth:I&&A&&typeof G==`number`?G:null,clientWidth:ie},I?O:null),se=oe??G,ce=S.useMemo(()=>({columns:ae,flattenColumns:q}),[ae,q]),le=S.useRef(null),ue=S.useRef(null),de=S.useRef(null),fe=S.useRef(null);S.useImperativeHandle(t,()=>({nativeElement:le.current,scrollTo:e=>{if(de.current instanceof HTMLElement){let{index:t,top:n,key:r,offset:i}=e;if(VJ(n))de.current?.scrollTo({top:n});else{let e=r??R(P[t]),n=de.current.querySelector(`[data-row-key="${e}"]`);if(n)if(!i)n.scrollIntoView();else{let e=n.offsetTop;de.current.scrollTo({top:e+i})}}}else de.current?.scrollTo&&de.current.scrollTo(e)}}));let pe=S.useRef(null),[me,he]=S.useState(!1),[ge,_e]=S.useState(!1),[ve,ye]=S.useState(new Map),be=zJ(q).map(e=>ve.get(e)),xe=S.useMemo(()=>be,[be.join(`_`)]),Se=WY(xe,q),Ce=d&&BJ(d.y),we=d&&BJ(se)||!!U.fixed,Te=we&&q.some(({fixed:e})=>e),Ee=S.useRef(null),{isSticky:De,offsetHeader:Oe,offsetSummary:ke,offsetScroll:Ae,stickyClassName:je,container:Me}=UY(M,r),Ne=S.useMemo(()=>g?.(P),[g,P]),Pe=(Ce||De)&&S.isValidElement(Ne)&&Ne.type===nY&&Ne.props.fixed,Fe,Ie,Le;Ce&&(Ie={overflowY:F?`scroll`:`auto`,maxHeight:d.y}),we&&(Fe={overflowX:`auto`},Ce||(Ie={overflowY:`hidden`}),Le={width:se===!0?`auto`:se,minWidth:`100%`});let Re=S.useCallback((e,t)=>{ye(n=>{if(n.get(e)!==t){let r=new Map(n);return r.set(e,t),r}return n})},[]),[ze,Be]=BY(null);function Ve(e,t){t&&(typeof t==`function`?t(e):t.scrollLeft!==e&&(t.scrollLeft=e,t.scrollLeft!==e&&setTimeout(()=>{t.scrollLeft=e},0)))}let[He,Ue]=S.useState([0,0]),We=zn(({currentTarget:e,scrollLeft:t})=>{let n=typeof t==`number`?t:e.scrollLeft,r=e||tX;(!Be()||Be()===r)&&(ze(r),Ve(n,ue.current),Ve(n,de.current),Ve(n,pe.current),Ve(n,Ee.current?.setScrollLeft));let i=e||ue.current;if(i){let e=I&&A&&typeof se==`number`?se:i.scrollWidth,t=i.clientWidth,r=Math.abs(n);if(Ue(n=>{let i=[r,e-t];return fi(n,i)?n:i}),e===t){he(!1),_e(!1);return}he(r>0),_e(r{We(e),E?.(e)}),Ke=()=>{we&&de.current?We({currentTarget:kr(de.current),scrollLeft:de.current?.scrollLeft}):(he(!1),_e(!1))},qe=e=>{Ee.current?.checkScrollBarVisible();let t=e??le.current?.offsetWidth??0;I&&j&&le.current&&(t=j(le.current,t)||t),t!==ie&&(Ke(),K(t))};Hn(()=>{we&&qe()},[we]);let Je=S.useRef(!1);S.useEffect(()=>{Je.current&&Ke()},[we,l,ae.length]),S.useEffect(()=>{Je.current=!0},[]);let[Ye,Xe]=S.useState(0);Hn(()=>{(!A||!I)&&(de.current instanceof Element?Xe(ni(de.current).width):Xe(ni(fe.current).width))},[]),S.useEffect(()=>{I&&k&&(k.body.current=de.current)});let Ze=S.useCallback(e=>S.createElement(S.Fragment,null,S.createElement(AY,e),Pe===`top`&&S.createElement(rY,e,Ne)),[Pe,Ne]),Qe=S.useCallback(e=>S.createElement(rY,e,Ne),[Ne]),$e=L([`table`],`table`),et=S.useMemo(()=>f||(Te?se===`max-content`?`auto`:`fixed`:Ce||De||q.some(({ellipsis:e})=>e)?`fixed`:`auto`),[Ce,Te,q,f,De]),tt,nt={colWidths:xe,columCount:q.length,stickyOffsets:Se,onHeaderRow:w,fixHeader:Ce,scroll:d},rt=S.useMemo(()=>F?null:typeof x==`function`?x():x,[F,x]),it=S.createElement(yY,{data:P,measureColumnWidth:Ce||we||De}),at=S.createElement(CY,{colWidths:q.map(({width:e})=>e),columns:q}),ot=_==null?void 0:S.createElement(`caption`,{className:`${r}-caption`},_),st=xi(n,{data:!0}),ct=xi(n,{aria:!0});if(Ce||De){let e;typeof z==`function`?(e=z(P,{scrollbarSize:Ye,ref:de,onScroll:We}),nt.colWidths=q.map(({width:e},t)=>{let n=t===q.length-1?e-Ye:e;return typeof n==`number`&&!Number.isNaN(n)?n:0})):e=S.createElement(`div`,{style:{...Fe,...Ie},onScroll:Ge,ref:de,className:`${r}-body`},S.createElement($e,QY({style:{...Le,tableLayout:et}},ct),ot,at,it,!Pe&&Ne&&S.createElement(rY,{stickyOffsets:Se,flattenColumns:q},Ne)));let t={noData:!P.length,maxContentScroll:we&&se===`max-content`,...nt,...ce,direction:p,stickyClassName:je,scrollX:se,tableLayout:et,onScroll:We};tt=S.createElement(S.Fragment,null,y!==!1&&S.createElement(EY,QY({},t,{stickyTopOffset:Oe,className:`${r}-header`,ref:ue,colGroup:at}),Ze),e,Pe&&Pe!==`top`&&S.createElement(EY,QY({},t,{stickyBottomOffset:ke,className:`${r}-summary`,ref:pe,colGroup:at}),Qe),De&&de.current&&de.current instanceof Element&&S.createElement(ZY,{ref:Ee,offsetScroll:Ae,scrollBodyRef:de,onScroll:We,container:Me,direction:p}))}else tt=S.createElement(`div`,{style:{...Fe,...Ie,...c?.content},className:J(`${r}-content`,s?.content),onScroll:We,ref:de},S.createElement($e,QY({style:{...Le,tableLayout:et}},ct),ot,at,y!==!1&&S.createElement(AY,QY({},nt,ce)),it,Ne&&S.createElement(rY,{stickyOffsets:Se,flattenColumns:q},Ne)));let lt={...o};De&&(lt[`--columns-count`]=q.length);let ut=S.createElement(`div`,QY({className:J(r,i,{[`${r}-rtl`]:p===`rtl`,[`${r}-fix-start-shadow`]:we,[`${r}-fix-end-shadow`]:we,[`${r}-fix-start-shadow-show`]:we&&me,[`${r}-fix-end-shadow-show`]:we&&ge,[`${r}-layout-fixed`]:f===`fixed`,[`${r}-fixed-header`]:Ce,[`${r}-fixed-column`]:Te,[`${r}-scroll-horizontal`]:we,[`${r}-has-fix-start`]:q[0]?.fixed,[`${r}-has-fix-end`]:q[q.length-1]?.fixed===`end`}),style:lt,id:v,ref:le},st),m&&S.createElement(GY,{className:J(`${r}-title`,s?.title),style:c?.title},m(P)),S.createElement(`div`,{ref:fe,className:J(`${r}-container`,s?.section),style:c?.section},tt),h&&S.createElement(GY,{className:J(`${r}-footer`,s?.footer),style:c?.footer},h(P)));we&&(ut=S.createElement(oa,{onResize:({offsetWidth:e})=>qe(e)},ut));let dt=RY(q,Se),ft=S.useMemo(()=>({scrollX:se,scrollInfo:He,classNames:s,styles:c,prefixCls:r,getComponent:L,scrollbarSize:Ye,direction:p,fixedInfoList:dt,isSticky:De,componentWidth:ie,fixHeader:Ce,fixColumn:Te,horizonScroll:we,tableLayout:et,rowClassName:a,expandedRowClassName:U.expandedRowClassName,expandIcon:te,expandableType:W,expandRowByClick:U.expandRowByClick,expandedRowRender:U.expandedRowRender,expandedRowOffset:U.expandedRowOffset,onTriggerExpand:re,expandIconColumnIndex:U.expandIconColumnIndex,indentSize:U.indentSize,allColumnsFixedLeft:q.every(e=>e.fixed===`start`),emptyNode:rt,columns:ae,flattenColumns:q,onColumnResize:Re,colWidths:xe,hoverStartRow:B,hoverEndRow:V,onHover:H,rowExpandable:U.rowExpandable,onRow:C,getRowKey:R,expandedKeys:ee,childrenColumnName:ne,rowHoverable:N,measureRowRender:T}),[se,He,s,c,r,L,Ye,p,dt,De,ie,Ce,Te,we,et,a,U.expandedRowClassName,te,W,U.expandRowByClick,U.expandedRowRender,U.expandedRowOffset,re,U.expandIconColumnIndex,U.indentSize,rt,ae,q,Re,xe,B,V,H,U.rowExpandable,C,R,ee,ne,N,T]);return S.createElement(FJ.Provider,{value:ft},ut)}),iX=e=>MJ(rX,e),aX=iX();aX.EXPAND_COLUMN=EJ,aX.INTERNAL_HOOKS=DJ,aX.Column=aY,aX.ColumnGroup=oY,aX.Summary=iY;var oX=OJ(null),sX=OJ(null);function cX(){return cX=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{rowInfo:t,column:n,colIndex:r,indent:i,index:a,component:o,renderIndex:s,record:c,style:l,className:u,inverse:d,getHeight:f}=e,{render:p,dataIndex:m,className:h,width:g}=n,{columnsOffset:_}=kJ(sX,[`columnsOffset`]),{key:v,fixedInfo:y,appendCellNode:b,additionalCellProps:x}=hY(t,n,r,i,a),{style:C,colSpan:w=1,rowSpan:T=1}=x,E=lX(r-1,w,_),D=w>1?g-E:0,O={...C,...l,flex:`0 0 ${E}px`,width:`${E}px`,marginRight:D,pointerEvents:`auto`},k=S.useMemo(()=>d?T<=1:w===0||T===0||T>1,[T,w,d]);k?O.visibility=`hidden`:d&&(O.height=f?.(T));let A=k?()=>null:p,j={};return(T===0||w===0)&&(j.rowSpan=1,j.colSpan=1),S.createElement(JJ,cX({className:J(h,u),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:o,prefixCls:t.prefixCls,key:v,record:c,index:a,renderIndex:s,dataIndex:m,render:A,shouldCellUpdate:n.shouldCellUpdate},y,{appendNode:b,additionalProps:{...x,style:O,...j}}))};function dX(){return dX=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{data:n,index:r,className:i,rowKey:a,style:o,extra:s,getHeight:c,...l}=e,{record:u,indent:d,index:f}=n,{scrollX:p,flattenColumns:m,prefixCls:h,fixColumn:g,componentWidth:_}=kJ(FJ,[`prefixCls`,`flattenColumns`,`fixColumn`,`componentWidth`,`scrollX`]),{getComponent:v}=kJ(oX,[`getComponent`]),y=lY(u,a,r,d),b=v([`body`,`row`],`div`),x=v([`body`,`cell`],`div`),{rowSupportExpand:C,expanded:w,rowProps:T,expandedRowRender:E,expandedRowClassName:D}=y,O;if(C&&w){let e=E(u,r,d+1,w),t=pY(D,u,r,d),n={};g&&(n={style:{"--virtual-width":`${_}px`}});let i=`${h}-expanded-row-cell`;O=S.createElement(b,{className:J(`${h}-expanded-row`,`${h}-expanded-row-level-${d+1}`,t)},S.createElement(JJ,{component:x,prefixCls:h,className:J(i,{[`${i}-fixed`]:g}),additionalProps:n},e))}let k={...o,width:p};s&&(k.position=`absolute`,k.pointerEvents=`none`);let A=S.createElement(b,dX({},T,l,{"data-row-key":a,ref:C?null:t,className:J(i,`${h}-row`,T?.className,{[`${h}-row-extra`]:s}),style:{...k,...T?.style}}),m.map((e,t)=>S.createElement(uX,{key:t,component:x,rowInfo:y,column:e,colIndex:t,indent:d,index:r,renderIndex:f,record:u,inverse:s,getHeight:c})));return C?S.createElement(`div`,{ref:t},A,O):A})),pX=NJ(S.forwardRef((e,t)=>{let{data:n,onScroll:r}=e,{flattenColumns:i,onColumnResize:a,getRowKey:o,expandedKeys:s,prefixCls:c,childrenColumnName:l,scrollX:u,direction:d}=kJ(FJ,[`flattenColumns`,`onColumnResize`,`getRowKey`,`prefixCls`,`expandedKeys`,`childrenColumnName`,`scrollX`,`direction`]),{sticky:f,scrollY:p,listItemHeight:m,getComponent:h,onScroll:g}=kJ(oX),_=S.useRef(null),v=cY(n,l,s,o),y=S.useMemo(()=>{let e=0;return i.map(({width:t,minWidth:n,key:r})=>{let i=Math.max(t||0,n||0);return e+=i,[r,i,e]})},[i]),b=S.useMemo(()=>y.map(e=>e[2]),[y]);S.useEffect(()=>{y.forEach(([e,t])=>{a(e,t)})},[y]),S.useImperativeHandle(t,()=>{let e={scrollTo:e=>{let{offset:t,...n}=e;t?_.current?.scrollTo({...n,offset:t,align:`top`}):_.current?.scrollTo(e)},nativeElement:_.current?.nativeElement};return Object.defineProperty(e,`scrollLeft`,{get:()=>_.current?.getScrollInfo().x||0,set:e=>{_.current?.scrollTo({left:e})}}),Object.defineProperty(e,`scrollTop`,{get:()=>_.current?.getScrollInfo().y||0,set:e=>{_.current?.scrollTo({top:e})}}),e});let x=(e,t)=>{let n=v[t]?.record,{onCell:r}=e;return r?r(n,t)?.rowSpan??1:1},C=e=>{let{start:t,end:n,getSize:r,offsetY:a}=e;if(n<0)return null;let s=i.filter(e=>x(e,t)===0),c=t;for(let e=t;e>=0;--e)if(s=s.filter(t=>x(t,e)===0),!s.length){c=e;break}let l=i.filter(e=>x(e,n)!==1),u=n;for(let e=n;ex(t,e)!==1),!l.length){u=Math.max(e-1,n);break}let d=[];for(let e=c;e<=u;e+=1)v[e]&&i.some(t=>x(t,e)>1)&&d.push(e);return d.map(e=>{let t=v[e],n=o(t.record,e),i=t=>{let i=e+t-1,a=v[i];if(!a||!a.record){let e=Math.min(i,v.length-1),t=v[e],a=r(n,o(t.record,e));return a.bottom-a.top}let s=r(n,o(a.record,i));return s.bottom-s.top},s=r(n);return S.createElement(fX,{key:e,data:t,rowKey:n,index:e,style:{top:-a+s.top},extra:!0,getHeight:i})})},w=S.useMemo(()=>({columnsOffset:b}),[b]),T=`${c}-tbody`,E=h([`body`,`wrapper`]),D={};return f&&(D.position=`sticky`,D.bottom=0,typeof f==`object`&&f.offsetScroll&&(D.bottom=f.offsetScroll)),S.createElement(sX.Provider,{value:w},S.createElement(WS,{fullHeight:!1,ref:_,prefixCls:`${T}-virtual`,styles:{horizontalScrollBar:D},className:T,height:p,itemHeight:m||24,data:v,itemKey:e=>o(e.record),component:E,scrollWidth:u,direction:d,onVirtualScroll:({x:e})=>{r({currentTarget:_.current?.nativeElement,scrollLeft:e})},onScroll:g,extraRender:C},(e,t,n)=>{let r=o(e.record,t);return S.createElement(fX,{data:e,rowKey:r,index:t,style:n.style})}))}));function mX(){return mX=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{ref:n,onScroll:r}=t;return S.createElement(pX,{ref:n,data:e,onScroll:r})},gX=S.forwardRef((e,t)=>{let{data:n,columns:r,scroll:i,sticky:a,prefixCls:o=$Y,className:s,listItemHeight:c,components:l,onScroll:u}=e,{x:d,y:f}=i||{};typeof d!=`number`&&(d=1),typeof f!=`number`&&(f=500);let p=zn((e,t)=>Ai(l,e)||t),m=zn(u),h=S.useMemo(()=>({sticky:a,scrollY:f,listItemHeight:c,getComponent:p,onScroll:m}),[a,f,c,p,m]);return S.createElement(oX.Provider,{value:h},S.createElement(aX,mX({},e,{className:J(s,`${o}-virtual`),scroll:{...i,x:d},components:{...l,body:n?.length?hX:void 0},columns:r,internalHooks:DJ,tailor:!0,ref:t})))}),_X=e=>MJ(gX,e);_X();var vX=e=>null,yX=e=>null,bX=S.createContext(null),xX=S.createContext({}),SX=S.memo(({prefixCls:e,level:t,isStart:n,isEnd:r})=>{let i=`${e}-indent-unit`,a=[];for(let e=0;e{let{eventKey:t,className:n,style:r,dragOver:i,dragOverGapTop:a,dragOverGapBottom:o,isLeaf:s,isStart:c,isEnd:l,expanded:u,selected:d,checked:f,halfChecked:p,loading:m,domRef:h,active:g,data:_,onMouseMove:v,selectable:y,treeId:b,...x}=e,C=Jn(b,t),w=S.useContext(bX),{classNames:T,styles:E}=w||{},D=S.useContext(xX),O=S.useRef(null),[k,A]=S.useState(!1),j=!!(w.disabled||e.disabled||D.nodeDisabled?.(_)),M=S.useMemo(()=>!w.checkable||e.checkable===!1?!1:w.checkable,[w.checkable,e.checkable]),N=t=>{j||w.onNodeSelect(t,FR(e))},P=t=>{j||!M||e.disableCheckbox||w.onNodeCheck(t,FR(e),!f)},F=S.useMemo(()=>typeof y==`boolean`?y:w.selectable,[y,w.selectable]),I=t=>{w.onNodeClick(t,FR(e)),F?N(t):P(t)},L=t=>{w.onNodeDoubleClick(t,FR(e))},R=t=>{w.onNodeMouseEnter(t,FR(e))},z=t=>{w.onNodeMouseLeave(t,FR(e))},B=t=>{w.onNodeContextMenu(t,FR(e))},V=S.useMemo(()=>!!(w.draggable&&(!w.draggable.nodeDraggable||w.draggable.nodeDraggable(_))),[w.draggable,_]),H=t=>{t.stopPropagation(),A(!0),w.onNodeDragStart(t,e);try{t.dataTransfer.setData(`text/plain`,``)}catch{}},U=t=>{t.preventDefault(),t.stopPropagation(),w.onNodeDragEnter(t,e)},W=t=>{t.preventDefault(),t.stopPropagation(),w.onNodeDragOver(t,e)},ee=t=>{t.stopPropagation(),w.onNodeDragLeave(t,e)},te=t=>{t.stopPropagation(),A(!1),w.onNodeDragEnd(t,e)},ne=t=>{t.preventDefault(),t.stopPropagation(),A(!1),w.onNodeDrop(t,e)},re=t=>{m||w.onNodeExpand(t,FR(e))},G=S.useMemo(()=>{let{children:e}=wR(w.keyEntities,t)||{};return!!(e||[]).length},[w.keyEntities,t]),ie=S.useMemo(()=>NR(s,w.loadData,G,e.loaded),[s,w.loadData,G,e.loaded]);S.useEffect(()=>{m||typeof w.loadData==`function`&&u&&!ie&&!e.loaded&&w.onNodeLoad(FR(e))},[m,w.loadData,w.onNodeLoad,u,ie,e]);let K=S.useMemo(()=>w.draggable?.icon?S.createElement(`span`,{className:`${w.prefixCls}-draggable-icon`},w.draggable.icon):null,[w.draggable]),ae=t=>{let n=e.switcherIcon||w.switcherIcon;return typeof n==`function`?n({...e,isLeaf:t}):n},q=()=>{if(ie){let e=ae(!0);return e===!1?null:S.createElement(`span`,{className:J(`${w.prefixCls}-switcher`,`${w.prefixCls}-switcher-noop`)},e)}let e=ae(!1);return e===!1?null:S.createElement(`span`,{onClick:re,className:J(`${w.prefixCls}-switcher`,`${w.prefixCls}-switcher_${u?wX:TX}`)},e)},oe=S.useMemo(()=>{if(!M)return null;let t=typeof M==`boolean`?null:M;return S.createElement(`span`,{className:J(`${w.prefixCls}-checkbox`,{[`${w.prefixCls}-checkbox-checked`]:f,[`${w.prefixCls}-checkbox-indeterminate`]:!f&&p,[`${w.prefixCls}-checkbox-disabled`]:j||e.disableCheckbox}),onClick:P,role:`checkbox`,"aria-checked":p?`mixed`:f,"aria-disabled":j||e.disableCheckbox,"aria-labelledby":C},t)},[M,f,p,j,e.disableCheckbox,C]),se=S.useMemo(()=>ie?null:u?wX:TX,[ie,u]),ce=S.useMemo(()=>S.createElement(`span`,{className:J(T?.itemIcon,`${w.prefixCls}-iconEle`,`${w.prefixCls}-icon__${se||`docu`}`,{[`${w.prefixCls}-icon_loading`]:m}),style:E?.itemIcon}),[w.prefixCls,se,m]),le=S.useMemo(()=>{let n=!!w.draggable;return!e.disabled&&n&&w.dragOverNodeKey===t?w.dropIndicatorRender({dropPosition:w.dropPosition,dropLevelOffset:w.dropLevelOffset,indent:w.indent,prefixCls:w.prefixCls,direction:w.direction}):null},[w.dropPosition,w.dropLevelOffset,w.indent,w.prefixCls,w.direction,w.draggable,w.dragOverNodeKey,w.dropIndicatorRender]),ue=S.useMemo(()=>{let{title:t=EX}=e,n=`${w.prefixCls}-node-content-wrapper`,r;if(w.showIcon){let t=e.icon||w.icon;r=t?S.createElement(`span`,{className:J(T?.itemIcon,`${w.prefixCls}-iconEle`,`${w.prefixCls}-icon__customize`),style:E?.itemIcon},typeof t==`function`?t(e):t):ce}else w.loadData&&m&&(r=ce);let i;return i=typeof t==`function`?t(_):w.titleRender?w.titleRender(_):t,S.createElement(`span`,{ref:O,title:typeof t==`string`?t:``,className:J(n,`${n}-${se||`normal`}`,{[`${w.prefixCls}-node-selected`]:!j&&(d||k)}),onMouseEnter:R,onMouseLeave:z,onContextMenu:B,onClick:I,onDoubleClick:L},r,S.createElement(`span`,{className:J(`${w.prefixCls}-title`,T?.itemTitle),style:E?.itemTitle},i),le)},[w.prefixCls,w.showIcon,e,w.icon,ce,w.titleRender,_,se,R,z,B,I,L]),de=xi(x,{aria:!0,data:!0}),{level:fe}=wR(w.keyEntities,t)||{},pe=l[l.length-1],me=!j&&V,he=w.draggingNodeKey===t;return S.createElement(`div`,CX({ref:h,role:`treeitem`,id:C,"aria-expanded":ie?void 0:u,"aria-selected":F&&!j?d:void 0,"aria-checked":M&&!j?p?`mixed`:f:void 0,"aria-disabled":j,className:J(n,`${w.prefixCls}-treenode`,T?.item,{[`${w.prefixCls}-treenode-disabled`]:j,[`${w.prefixCls}-treenode-switcher-${u?`open`:`close`}`]:!s,[`${w.prefixCls}-treenode-checkbox-checked`]:f,[`${w.prefixCls}-treenode-checkbox-indeterminate`]:p,[`${w.prefixCls}-treenode-selected`]:d,[`${w.prefixCls}-treenode-loading`]:m,[`${w.prefixCls}-treenode-active`]:g,[`${w.prefixCls}-treenode-leaf-last`]:pe,[`${w.prefixCls}-treenode-draggable`]:V,dragging:he,"drop-target":w.dropTargetKey===t,"drop-container":w.dropContainerKey===t,"drag-over":!j&&i,"drag-over-gap-top":!j&&a,"drag-over-gap-bottom":!j&&o,"filter-node":w.filterTreeNode?.(FR(e)),[`${w.prefixCls}-treenode-leaf`]:ie}),style:{...r,...E?.item},draggable:me,onDragStart:me?H:void 0,onDragEnter:V?U:void 0,onDragOver:V?W:void 0,onDragLeave:V?ee:void 0,onDrop:V?ne:void 0,onDragEnd:V?te:void 0,onMouseMove:v},de),S.createElement(SX,{prefixCls:w.prefixCls,level:fe,isStart:c,isEnd:l}),K,q(),oe,ue)};DX.isTreeNode=1;function OX(e,t){if(!e)return[];let n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function kX(e,t){let n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function AX(e){return e.split(`-`)}function jX(e,t){let n=[],r=wR(t,e);function i(e=[]){e.forEach(({key:e,children:t})=>{n.push(e),i(t)})}return i(r.children),n}function MX(e){if(e.parent){let t=AX(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function NX(e){let t=AX(e.pos);return Number(t[t.length-1])===0}function PX(e,t,n,r,i,a,o,s,c,l){let{clientX:u,clientY:d}=e,{top:f,height:p}=e.target.getBoundingClientRect(),m=((l===`rtl`?-1:1)*((i?.x||0)-u)-12)/r,h=c.filter(e=>s[e]?.children?.length),g=wR(s,n.eventKey);if(de.key===g.key),t=o[e<=0?0:e-1].key;g=wR(s,t)}let _=g.key,v=g,y=g.key,b=0,x=0;if(!h.includes(_))for(let e=0;e-1.5?a({dragNode:S,dropNode:C,dropPosition:1})?b=1:w=!1:a({dragNode:S,dropNode:C,dropPosition:0})?b=0:a({dragNode:S,dropNode:C,dropPosition:1})?b=1:w=!1:a({dragNode:S,dropNode:C,dropPosition:1})?b=1:w=!1,{dropPosition:b,dropLevelOffset:x,dropTargetKey:g.key,dropTargetPos:g.pos,dragOverNodeKey:y,dropContainerKey:b===0?null:g.parent?.key||null,dropAllowed:w}}function FX(e,t){if(!e)return;let{multiple:n}=t;return n?e.slice():e.length?[e[0]]:e}function IX(e){if(!e)return null;let t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(typeof e==`object`)t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return ui(!1,"`checkedKeys` is not an array or an object"),null;return t}function LX(e,t){let n=new Set;function r(e){if(n.has(e))return;let i=wR(t,e);if(!i)return;n.add(e);let{parent:a,node:o}=i;o.disabled||a&&r(a.key)}return(e||[]).forEach(e=>{r(e)}),[...n]}var RX={},zX=`SELECT_ALL`,BX=`SELECT_INVERT`,VX=`SELECT_NONE`,HX=[],UX=(e,t,n=[])=>((t||[]).forEach(t=>{n.push(t),nf(t)&&e in t&&UX(e,t[e],n)}),n),WX=(e,t)=>{let{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:i,getCheckboxProps:a,getTitleCheckboxProps:o,onChange:s,onSelect:c,onSelectAll:l,onSelectInvert:u,onSelectNone:d,onSelectMultiple:f,columnWidth:p,type:m,selections:h,fixed:g,renderCell:_,hideSelectAll:v,checkStrictly:y=!0}=t||{},{prefixCls:b,data:x,pageData:C,getRecordByKey:w,getRowKey:T,expandType:E,childrenColumnName:D,locale:O,getPopupContainer:k}=e,A=Gi(`Table`),[j,M]=wf(e=>e),[N,P]=Gn(i||HX,r),F=N??HX,I=S.useRef(new Map),L=(0,S.useCallback)(e=>{if(n){let t=new Map;e.forEach(e=>{let n=w(e);!n&&I.current.has(e)&&(n=I.current.get(e)),t.set(e,n)}),I.current=t}},[w,n]);S.useEffect(()=>{L(F)},[F,L]);let R=(0,S.useMemo)(()=>UX(D,C),[D,C]),{keyEntities:z}=(0,S.useMemo)(()=>{if(y)return{keyEntities:null};let e=x;if(n){let t=new Set(R.map(T)),n=Array.from(I.current).reduce((e,[n,r])=>t.has(n)?e:e.concat(r),[]);e=[].concat(pa(e),pa(n))}return MR(e,{externalGetKey:T,childrenPropName:D})},[x,T,y,D,n,R]),B=(0,S.useMemo)(()=>{let e=new Map;return R.forEach((t,n)=>{let r=T(t,n),i=(a?a(t):null)||{};e.set(r,i)}),e},[R,T,a]),V=(0,S.useCallback)(e=>{let t=T(e),n;return n=B.has(t)?B.get(T(e)):a?a(e):void 0,!!n?.disabled},[B,T]),[H,U]=(0,S.useMemo)(()=>{if(y)return[F,[]];let{checkedKeys:e,halfCheckedKeys:t}=UR(F,!0,z,V);return[e||[],t]},[F,y,z,V]),W=(0,S.useMemo)(()=>{let e=m===`radio`?H.slice(0,1):H;return new Set(e)},[H,m]),ee=(0,S.useMemo)(()=>m===`radio`?new Set:new Set(U),[U,m]);S.useEffect(()=>{t||P(HX)},[!!t]);let te=(0,S.useCallback)((e,t)=>{let r,i;L(e),n?(r=e,i=e.map(e=>I.current.get(e))):(r=[],i=[],e.forEach(e=>{let t=w(e);t!==void 0&&(r.push(e),i.push(t))})),P(r),s?.(r,i,{type:t})},[P,w,s,n]),ne=(0,S.useCallback)((e,t,n,r)=>{if(c){let i=n.map(w);c(w(e),t,i,r)}te(n,`single`)},[c,w,te]),re=(0,S.useMemo)(()=>!h||v?null:(h===!0?[zX,BX,VX]:h).map(e=>e===`SELECT_ALL`?{key:`all`,text:O.selectionAll,onSelect(){te(x.map((e,t)=>T(e,t)).filter(e=>!B.get(e)?.disabled||W.has(e)),`all`)}}:e===`SELECT_INVERT`?{key:`invert`,text:O.selectInvert,onSelect(){let e=new Set(W);C.forEach((t,n)=>{let r=T(t,n);B.get(r)?.disabled||(e.has(r)?e.delete(r):e.add(r))});let t=Array.from(e);u&&(A.deprecated(!1,`onSelectInvert`,`onChange`),u(t)),te(t,`invert`)}}:e===`SELECT_NONE`?{key:`none`,text:O.selectNone,onSelect(){d?.(),te(Array.from(W).filter(e=>B.get(e)?.disabled),`none`)}}:e).map(e=>({...e,onSelect:(...t)=>{e.onSelect?.(...t),M(null)}})),[h,v,O.selectionAll,O.selectInvert,O.selectNone,B,W,x,C,T,u,te]);return[(0,S.useCallback)(e=>{if(!t)return e.filter(e=>e!==RX);let n=pa(e),r=new Set(W),i=R.map(T).filter(e=>!B.get(e).disabled),a=i.every(e=>r.has(e)),s=i.some(e=>r.has(e)),c=()=>{let e=[];a?i.forEach(t=>{r.delete(t),e.push(t)}):i.forEach(t=>{r.has(t)||(r.add(t),e.push(t))});let t=Array.from(r);l?.(!a,t.map(w),e.map(w)),te(t,`all`),M(null)},u,d;if(m!==`radio`){let e;if(re){let t={getPopupContainer:k,items:re.map((e,t)=>{let{key:n,text:r,onSelect:a}=e;return{key:n??t,onClick:()=>{a?.(i)},label:r}})};e=S.createElement(`div`,{className:`${b}-selection-extra`},S.createElement(zH,{menu:t,getPopupContainer:k},S.createElement(`span`,null,S.createElement(RC,null))))}let t=R.map((e,t)=>{let n=T(e,t),i=B.get(n)||{};return{checked:r.has(n),...i}}).filter(({disabled:e})=>e),n=!!t.length&&t.length===R.length,l=n&&t.every(({checked:e})=>e),f=n&&t.some(({checked:e})=>e),p=o?.()||{},{onChange:m,disabled:h}=p;d=S.createElement(jz,{"aria-label":e?`Custom selection`:`Select all`,...p,checked:n?l:!!R.length&&a,indeterminate:n?!l&&f:!a&&s,onChange:e=>{c(),m?.(e)},disabled:h??(R.length===0||n),skipGroup:!0}),u=!v&&S.createElement(`div`,{className:`${b}-selection`},d,e)}let x;x=m===`radio`?(e,t,n)=>{let i=T(t,n),a=r.has(i),o=B.get(i);return{node:S.createElement(sL,{...o,checked:a,onClick:e=>{e.stopPropagation(),o?.onClick?.(e)},onChange:e=>{r.has(i)||ne(i,!0,[i],e.nativeEvent),o?.onChange?.(e)}}),checked:a}}:(e,t,n)=>{let a=T(t,n),o=r.has(a),s=ee.has(a),c=B.get(a),l;return l=E===`nest`?s:c?.indeterminate??s,{node:S.createElement(jz,{...c,indeterminate:l,checked:o,skipGroup:!0,onClick:e=>{e.stopPropagation(),c?.onClick?.(e)},onChange:e=>{let{nativeEvent:t}=e,{shiftKey:n}=t,s=i.indexOf(a),l=H.some(e=>i.includes(e));if(n&&y&&l){let e=j(s,i,r),t=Array.from(r);f?.(!o,t.map(w),e.map(w)),te(t,`multiple`)}else{let e=H;if(y){let n=o?OX(e,a):kX(e,a);ne(a,!o,n,t)}else{let{checkedKeys:n,halfCheckedKeys:r}=UR([].concat(pa(e),[a]),!0,z,V),i=n;if(o){let e=new Set(n);e.delete(a),i=UR(Array.from(e),{checked:!1,halfCheckedKeys:r},z,V).checkedKeys}ne(a,!o,i,t)}}M(o?null:s),c?.onChange?.(e)}}),checked:o}};let C=(e,t,n)=>{let{node:r,checked:i}=x(e,t,n);return _?_(i,t,n,r):r};if(!n.includes(RX))if(n.findIndex(e=>e.RC_TABLE_INTERNAL_COL_DEFINE?.columnType===`EXPAND_COLUMN`)===0){let[e,...t]=n;n=[e,RX].concat(pa(t))}else n=[RX].concat(pa(n));let D=n.indexOf(RX);n=n.filter((e,t)=>e!==RX||t===D);let O=n[D-1],A=n[D+1],N=g;N===void 0&&(A?.fixed===void 0?O?.fixed!==void 0&&(N=O.fixed):N=A.fixed),N&&O&&O.RC_TABLE_INTERNAL_COL_DEFINE?.columnType===`EXPAND_COLUMN`&&O.fixed===void 0&&(O.fixed=N);let P=J(`${b}-selection-col`,{[`${b}-selection-col-with-dropdown`]:h&&m===`checkbox`}),F={fixed:N,width:p,className:`${b}-selection-column`,title:t?.columnTitle?typeof t.columnTitle==`function`?t.columnTitle(d):t.columnTitle:u,render:C,onCell:t.onCell,align:t.align,[bY]:{className:P}};return n.map(e=>e===RX?F:e)},[T,R,t,H,W,ee,p,re,E,B,f,ne,V]),W]};function GX(e){return t=>{let{prefixCls:n,onExpand:r,record:i,expanded:a,expandable:o}=t,s=`${n}-row-expand-icon`;return S.createElement(`button`,{type:`button`,onClick:e=>{r(i,e),e.stopPropagation()},className:J(s,{[`${s}-spaced`]:!o,[`${s}-expanded`]:o&&a,[`${s}-collapsed`]:o&&!a}),"aria-label":a?e.collapse:e.expand,"aria-expanded":a})}}function KX(e){return(t,n)=>{let r=t.querySelector(`.${e}-container`),i=n;if(r){let e=getComputedStyle(r),t=Number.parseInt(e.borderLeftWidth,10),a=Number.parseInt(e.borderRightWidth,10);i=n-t-a}return i}}var qX=(e,t)=>`key`in e&&$d(e.key)?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join(`.`):e.dataIndex:t;function JX(e,t){return t?`${t}-${e}`:`${e}`}var YX=(e,t)=>typeof e==`function`?e(t):e,XX=(e,t)=>{let n=YX(e,t);return Object.prototype.toString.call(n)===`[object Object]`?``:n},ZX=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z`}}]},name:`filter`,theme:`filled`}}))());function QX(){return QX=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,QX({},e,{ref:t,icon:ZX.default}))),eZ=e=>{let{dropPosition:t,dropLevelOffset:n,indent:r}=e,i={pointerEvents:`none`,position:`absolute`,right:0,backgroundColor:`red`,height:2};switch(t){case-1:i.top=0,i.left=-n*r;break;case 1:i.bottom=0,i.left=-n*r;break;case 0:i.bottom=0,i.left=r;break}return S.createElement(`div`,{style:i})};function tZ(e,t){let[n,r]=S.useState(!1);Hn(()=>{if(n)return e(),()=>{t()}},[n]),Hn(()=>(r(!0),()=>{r(!1)}),[])}function nZ(){return nZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{className:n,style:r,motion:i,motionNodes:a,motionType:o,onMotionStart:s,onMotionEnd:c,active:l,treeNodeRequiredProps:u,...d}=e,[f,p]=S.useState(!0),{prefixCls:m}=S.useContext(bX),h=a&&o!==`hide`;Hn(()=>{a&&h!==f&&p(h)},[a]);let g=()=>{a&&s()},_=S.useRef(!1),v=()=>{a&&!_.current&&(_.current=!0,c())};return tZ(g,v),a?S.createElement(Od,nZ({ref:t,visible:f},i,{motionAppear:o===`show`,onVisibleChanged:e=>{h===e&&v()}}),({className:e,style:t},n)=>S.createElement(`div`,{ref:n,className:J(`${m}-treenode-motion`,e),style:t},a.map(e=>{let{data:{...t},title:n,key:r,isStart:i,isEnd:a}=e;delete t.children;let o=PR(r,u);return S.createElement(DX,nZ({},t,o,{title:n,active:l,data:e.data,key:r,isStart:i,isEnd:a}))}))):S.createElement(DX,nZ({domRef:t,className:n,style:r},d,{active:l}))});function iZ(e=[],t=[]){let n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function i(e,t){let n=new Map;e.forEach(e=>{n.set(e,!0)});let r=t.filter(e=>!n.has(e));return r.length===1?r[0]:null}return ne.key===n)+1],i=t.findIndex(e=>e.key===n);if(r){let e=t.findIndex(e=>e.key===r.key);return t.slice(i+1,e)}return t.slice(i+1)}function oZ(){return oZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{prefixCls:n,data:r,selectable:i,checkable:a,expandedKeys:o,selectedKeys:s,checkedKeys:c,loadedKeys:l,loadingKeys:u,halfCheckedKeys:d,keyEntities:f,disabled:p,dragging:m,dragOverNodeKey:h,dropPosition:g,motion:_,height:v,itemHeight:y,virtual:b,scrollWidth:x,focusable:C,activeItem:w,tabIndex:T,onKeyDown:E,onFocus:D,onBlur:O,onMouseDown:k,onMouseUp:A,onActiveChange:j,onListChangeStart:M,onListChangeEnd:N,...P}=e,F=Xn(),I=S.useRef(null),L=S.useRef(null);S.useImperativeHandle(t,()=>({scrollTo:e=>{I.current.scrollTo(e)},getIndentWidth:()=>L.current.offsetWidth}));let[R,z]=S.useState(o),[B,V]=S.useState(r),[H,U]=S.useState(r),[W,ee]=S.useState([]),[te,ne]=S.useState(null),re=S.useRef(r);re.current=r;function G(){let e=re.current;V(e),U(e),ee([]),ne(null),N()}Hn(()=>{z(o);let e=iZ(R,o);if(e.key!==null)if(e.add){let t=B.findIndex(({key:t})=>t===e.key),n=dZ(aZ(B,r,e.key),b,v,y),i=B.slice();i.splice(t+1,0,uZ),U(i),ee(n),ne(`show`)}else{let t=r.findIndex(({key:t})=>t===e.key),n=dZ(aZ(r,B,e.key),b,v,y),i=r.slice();i.splice(t+1,0,uZ),U(i),ee(n),ne(`hide`)}else B!==r&&(V(r),U(r))},[o,r]),S.useEffect(()=>{m||G()},[m]);let ie=_?H:r,K={expandedKeys:o,selectedKeys:s,loadedKeys:l,loadingKeys:u,checkedKeys:c,halfCheckedKeys:d,dragOverNodeKey:h,dropPosition:g,keyEntities:f};return S.createElement(S.Fragment,null,S.createElement(`div`,{className:`${n}-treenode`,"aria-hidden":!0,style:{position:`absolute`,pointerEvents:`none`,visibility:`hidden`,height:0,overflow:`hidden`,border:0,padding:0}},S.createElement(`div`,{className:`${n}-indent`},S.createElement(`div`,{ref:L,className:`${n}-indent-unit`}))),S.createElement(WS,oZ({},P,{data:ie,itemKey:fZ,height:v,fullHeight:!1,virtual:b,itemHeight:y,scrollWidth:x,prefixCls:`${n}-list`,ref:I,role:`tree`,tabIndex:C!==!1&&!p?T:void 0,"aria-activedescendant":w?Jn(F,w.key):void 0,onKeyDown:E,onFocus:D,onBlur:O,onMouseDown:k,onMouseUp:A,onVisibleChange:e=>{e.every(e=>fZ(e)!==sZ)&&G()}}),e=>{let{pos:t,data:{...n},title:r,key:i,isStart:a,isEnd:o}=e,s=DR(i,t);delete n.key,delete n.children;let c=PR(s,K);return S.createElement(rZ,oZ({},n,c,{title:r,active:!!w&&i===w.key,pos:t,data:e.data,isStart:a,isEnd:o,motion:_,motionNodes:i===sZ?W:null,motionType:te,onMotionStart:M,onMotionEnd:G,treeNodeRequiredProps:K,treeId:F,onMouseMove:()=>{j(null)}}))}))});function mZ(){return mZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t!0,expandAction:!1};static TreeNode=DX;destroyed=!1;delayedDragEnterLogic;loadingRetryTimes={};state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],activeKey:null,listChanging:!1,prevProps:null,fieldNames:OR()};dragStartMousePosition=null;dragNodeProps=null;currentMouseOverDroppableNodeKey=null;focusedByMouse=!1;listRef=S.createRef();componentDidMount(){this.destroyed=!1,this.onUpdated()}componentDidUpdate(){this.onUpdated()}onUpdated(){let{activeKey:e,itemScrollOffset:t=0}=this.props;e!==void 0&&e!==this.state.activeKey&&(this.setState({activeKey:e}),e!==null&&this.scrollTo({key:e,offset:t}))}componentWillUnmount(){window.removeEventListener(`dragend`,this.onWindowDragEnd),this.destroyed=!0}static getDerivedStateFromProps(e,t){let{prevProps:n}=t,r={prevProps:e};function i(t){return!n&&e.hasOwnProperty(t)||n&&n[t]!==e[t]}let a,{fieldNames:o}=t;if(i(`fieldNames`)&&(o=OR(e.fieldNames),r.fieldNames=o),i(`treeData`)?{treeData:a}=e:i(`children`)&&(ui(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),a=kR(e.children)),a){r.treeData=a;let e=MR(a,{fieldNames:o});r.keyEntities={[sZ]:lZ,...e.keyEntities}}let s=r.keyEntities||t.keyEntities;if(i(`expandedKeys`)||n&&i(`autoExpandParent`))r.expandedKeys=e.autoExpandParent||!n&&e.defaultExpandParent?LX(e.expandedKeys,s):e.expandedKeys;else if(!n&&e.defaultExpandAll){let e={...s};delete e[sZ];let t=[];Object.keys(e).forEach(n=>{let r=e[n];r.children&&r.children.length&&t.push(r.key)}),r.expandedKeys=t}else !n&&e.defaultExpandedKeys&&(r.expandedKeys=e.autoExpandParent||e.defaultExpandParent?LX(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(r.expandedKeys||delete r.expandedKeys,(a||r.expandedKeys)&&(r.flattenNodes=AR(a||t.treeData,r.expandedKeys||t.expandedKeys,o)),e.selectable&&(i(`selectedKeys`)?r.selectedKeys=FX(e.selectedKeys,e):!n&&e.defaultSelectedKeys&&(r.selectedKeys=FX(e.defaultSelectedKeys,e))),e.checkable){let o;if(i(`checkedKeys`)?o=IX(e.checkedKeys)||{}:!n&&e.defaultCheckedKeys?o=IX(e.defaultCheckedKeys)||{}:a&&(o=IX(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),o){let{checkedKeys:t=[],halfCheckedKeys:n=[]}=o;if(!e.checkStrictly){let e=UR(t,!0,s);({checkedKeys:t,halfCheckedKeys:n}=e)}r.checkedKeys=t,r.halfCheckedKeys=n}}return i(`loadedKeys`)&&(r.loadedKeys=e.loadedKeys),r}onNodeDragStart=(e,t)=>{let{expandedKeys:n,keyEntities:r}=this.state,{onDragStart:i}=this.props,{eventKey:a}=t;this.dragNodeProps=t,this.dragStartMousePosition={x:e.clientX,y:e.clientY};let o=OX(n,a);this.setState({draggingNodeKey:a,dragChildrenKeys:jX(a,r),indent:this.listRef.current.getIndentWidth()}),this.setExpandedKeys(o),window.addEventListener(`dragend`,this.onWindowDragEnd),i?.({event:e,node:FR(t)})};onNodeDragEnter=(e,t)=>{let{expandedKeys:n,keyEntities:r,dragChildrenKeys:i,flattenNodes:a,indent:o}=this.state,{onDragEnter:s,onExpand:c,allowDrop:l,direction:u}=this.props,{pos:d,eventKey:f}=t;if(this.currentMouseOverDroppableNodeKey!==f&&(this.currentMouseOverDroppableNodeKey=f),!this.dragNodeProps){this.resetDragState();return}let{dropPosition:p,dropLevelOffset:m,dropTargetKey:h,dropContainerKey:g,dropTargetPos:_,dropAllowed:v,dragOverNodeKey:y}=PX(e,this.dragNodeProps,t,o,this.dragStartMousePosition,l,a,r,n,u);if(i.includes(h)||!v){this.resetDragState();return}if(this.delayedDragEnterLogic||={},Object.keys(this.delayedDragEnterLogic).forEach(e=>{clearTimeout(this.delayedDragEnterLogic[e])}),this.dragNodeProps.eventKey!==t.eventKey&&(e.persist(),this.delayedDragEnterLogic[d]=window.setTimeout(()=>{if(this.state.draggingNodeKey===null)return;let i=[...n],a=wR(r,t.eventKey);a&&(a.children||[]).length&&(i=kX(n,t.eventKey)),this.props.hasOwnProperty(`expandedKeys`)||this.setExpandedKeys(i),c?.(i,{node:FR(t),expanded:!0,nativeEvent:e.nativeEvent})},800)),this.dragNodeProps.eventKey===h&&m===0){this.resetDragState();return}this.setState({dragOverNodeKey:y,dropPosition:p,dropLevelOffset:m,dropTargetKey:h,dropContainerKey:g,dropTargetPos:_,dropAllowed:v}),s?.({event:e,node:FR(t),expandedKeys:n})};onNodeDragOver=(e,t)=>{let{dragChildrenKeys:n,flattenNodes:r,keyEntities:i,expandedKeys:a,indent:o}=this.state,{onDragOver:s,allowDrop:c,direction:l}=this.props;if(!this.dragNodeProps)return;let{dropPosition:u,dropLevelOffset:d,dropTargetKey:f,dropContainerKey:p,dropTargetPos:m,dropAllowed:h,dragOverNodeKey:g}=PX(e,this.dragNodeProps,t,o,this.dragStartMousePosition,c,r,i,a,l);n.includes(f)||!h||(this.dragNodeProps.eventKey===f&&d===0?this.state.dropPosition===null&&this.state.dropLevelOffset===null&&this.state.dropTargetKey===null&&this.state.dropContainerKey===null&&this.state.dropTargetPos===null&&this.state.dropAllowed===!1&&this.state.dragOverNodeKey===null||this.resetDragState():u===this.state.dropPosition&&d===this.state.dropLevelOffset&&f===this.state.dropTargetKey&&p===this.state.dropContainerKey&&m===this.state.dropTargetPos&&h===this.state.dropAllowed&&g===this.state.dragOverNodeKey||this.setState({dropPosition:u,dropLevelOffset:d,dropTargetKey:f,dropContainerKey:p,dropTargetPos:m,dropAllowed:h,dragOverNodeKey:g}),s?.({event:e,node:FR(t)}))};onNodeDragLeave=(e,t)=>{this.currentMouseOverDroppableNodeKey===t.eventKey&&!e.currentTarget.contains(e.relatedTarget)&&(this.resetDragState(),this.currentMouseOverDroppableNodeKey=null);let{onDragLeave:n}=this.props;n?.({event:e,node:FR(t)})};onWindowDragEnd=e=>{this.onNodeDragEnd(e,null,!0),window.removeEventListener(`dragend`,this.onWindowDragEnd)};onNodeDragEnd=(e,t)=>{let{onDragEnd:n}=this.props;this.setState({dragOverNodeKey:null}),this.cleanDragState(),n?.({event:e,node:FR(t)}),this.dragNodeProps=null,window.removeEventListener(`dragend`,this.onWindowDragEnd)};onNodeDrop=(e,t,n=!1)=>{let{dragChildrenKeys:r,dropPosition:i,dropTargetKey:a,dropTargetPos:o,dropAllowed:s}=this.state;if(!s)return;let{onDrop:c}=this.props;if(this.setState({dragOverNodeKey:null}),this.cleanDragState(),a===null)return;let l={...PR(a,this.getTreeNodeRequiredProps()),active:this.getActiveItem()?.key===a,data:wR(this.state.keyEntities,a).node};ui(!r.includes(a),`Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.`);let u=AX(o),d={event:e,node:FR(l),dragNode:this.dragNodeProps?FR(this.dragNodeProps):null,dragNodesKeys:[this.dragNodeProps.eventKey].concat(r),dropToGap:i!==0,dropPosition:i+Number(u[u.length-1])};n||c?.(d),this.dragNodeProps=null};resetDragState(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}cleanDragState=()=>{let{draggingNodeKey:e}=this.state;e!==null&&this.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),this.dragStartMousePosition=null,this.currentMouseOverDroppableNodeKey=null};triggerExpandActionExpand=(e,t)=>{let{expandedKeys:n,flattenNodes:r}=this.state,{expanded:i,key:a,isLeaf:o}=t;if(o||e.shiftKey||e.metaKey||e.ctrlKey)return;let s=r.filter(e=>e.key===a)[0],c=FR({...PR(a,this.getTreeNodeRequiredProps()),data:s.data});this.setExpandedKeys(i?OX(n,a):kX(n,a)),this.onNodeExpand(e,c)};onNodeClick=(e,t)=>{let{onClick:n,expandAction:r}=this.props;r===`click`&&this.triggerExpandActionExpand(e,t),n?.(e,t)};onNodeDoubleClick=(e,t)=>{let{onDoubleClick:n,expandAction:r}=this.props;r===`doubleClick`&&this.triggerExpandActionExpand(e,t),n?.(e,t)};onNodeSelect=(e,t)=>{let{selectedKeys:n}=this.state,{keyEntities:r,fieldNames:i}=this.state,{onSelect:a,multiple:o}=this.props,{selected:s}=t,c=t[i.key],l=!s;n=l?o?kX(n,c):[c]:OX(n,c);let u=n.map(e=>{let t=wR(r,e);return t?t.node:null}).filter(Boolean);this.setUncontrolledState({selectedKeys:n}),a?.(n,{event:`select`,selected:l,node:t,selectedNodes:u,nativeEvent:e.nativeEvent})};onNodeCheck=(e,t,n)=>{let{keyEntities:r,checkedKeys:i,halfCheckedKeys:a}=this.state,{checkStrictly:o,onCheck:s}=this.props,{key:c}=t,l,u={event:`check`,node:t,checked:n,nativeEvent:e.nativeEvent};if(o){let e=n?kX(i,c):OX(i,c);l={checked:e,halfChecked:OX(a,c)},u.checkedNodes=e.map(e=>wR(r,e)).filter(Boolean).map(e=>e.node),this.setUncontrolledState({checkedKeys:e})}else{let{checkedKeys:e,halfCheckedKeys:t}=UR([...i,c],!0,r);if(!n){let n=new Set(e);n.delete(c),{checkedKeys:e,halfCheckedKeys:t}=UR(Array.from(n),{checked:!1,halfCheckedKeys:t},r)}l=e,u.checkedNodes=[],u.checkedNodesPositions=[],u.halfCheckedKeys=t,e.forEach(e=>{let t=wR(r,e);if(!t)return;let{node:n,pos:i}=t;u.checkedNodes.push(n),u.checkedNodesPositions.push({node:n,pos:i})}),this.setUncontrolledState({checkedKeys:e},!1,{halfCheckedKeys:t})}s?.(l,u)};onNodeLoad=e=>{let{key:t}=e,{keyEntities:n}=this.state;if(wR(n,t)?.children?.length)return;let r=new Promise((n,r)=>{this.setState(({loadedKeys:i=[],loadingKeys:a=[]})=>{let{loadData:o,onLoad:s}=this.props;return!o||i.includes(t)||a.includes(t)?null:(o(e).then(()=>{let{loadedKeys:r}=this.state,i=kX(r,t);s?.(i,{event:`load`,node:e}),this.setUncontrolledState({loadedKeys:i}),this.setState(e=>({loadingKeys:OX(e.loadingKeys,t)})),n()}).catch(e=>{if(this.setState(e=>({loadingKeys:OX(e.loadingKeys,t)})),this.loadingRetryTimes[t]=(this.loadingRetryTimes[t]||0)+1,this.loadingRetryTimes[t]>=hZ){let{loadedKeys:e}=this.state;ui(!1,"Retry for `loadData` many times but still failed. No more retry."),this.setUncontrolledState({loadedKeys:kX(e,t)}),n()}r(e)}),{loadingKeys:kX(a,t)})})});return r.catch(()=>{}),r};onNodeMouseEnter=(e,t)=>{let{onMouseEnter:n}=this.props;n?.({event:e,node:t})};onNodeMouseLeave=(e,t)=>{let{onMouseLeave:n}=this.props;n?.({event:e,node:t})};onNodeContextMenu=(e,t)=>{let{onRightClick:n}=this.props;n&&(e.preventDefault(),n({event:e,node:t}))};onMouseDown=e=>{this.focusedByMouse=!0;let{onMouseDown:t}=this.props;t?.(e)};onMouseUp=e=>{this.focusedByMouse=!1;let{onMouseUp:t}=this.props;t?.(e)};onFocus=(...e)=>{let{onFocus:t,disabled:n}=this.props,{activeKey:r,selectedKeys:i,flattenNodes:a}=this.state;if(!this.focusedByMouse&&!n&&r===null){let e=i.find(e=>a.some(t=>t.key===e));e===void 0?this.onActiveChange(a?.[0]?.key||null):this.onActiveChange(e)}t?.(...e)};onBlur=(...e)=>{this.focusedByMouse=!1;let{onBlur:t}=this.props;this.onActiveChange(null),t?.(...e)};getTreeNodeRequiredProps=()=>{let{expandedKeys:e,selectedKeys:t,loadedKeys:n,loadingKeys:r,checkedKeys:i,halfCheckedKeys:a,dragOverNodeKey:o,dropPosition:s,keyEntities:c}=this.state;return{expandedKeys:e||[],selectedKeys:t||[],loadedKeys:n||[],loadingKeys:r||[],checkedKeys:i||[],halfCheckedKeys:a||[],dragOverNodeKey:o,dropPosition:s,keyEntities:c}};setExpandedKeys=e=>{let{treeData:t,fieldNames:n}=this.state,r=AR(t,e,n);this.setUncontrolledState({expandedKeys:e,flattenNodes:r},!0)};onNodeExpand=(e,t)=>{let{expandedKeys:n}=this.state,{listChanging:r,fieldNames:i}=this.state,{onExpand:a,loadData:o}=this.props,{expanded:s}=t,c=t[i.key];if(r)return;let l=n.includes(c),u=!s;if(ui(s&&l||!s&&!l,`Expand state not sync with index check`),n=u?kX(n,c):OX(n,c),this.setExpandedKeys(n),a?.(n,{node:t,expanded:u,nativeEvent:e.nativeEvent}),u&&o){let e=this.onNodeLoad(t);e&&e.then(()=>{let e=AR(this.state.treeData,n,i);this.setUncontrolledState({flattenNodes:e})}).catch(()=>{let{expandedKeys:e}=this.state,t=OX(e,c);this.setExpandedKeys(t)})}};onListChangeStart=()=>{this.setUncontrolledState({listChanging:!0})};onListChangeEnd=()=>{setTimeout(()=>{this.setUncontrolledState({listChanging:!1})})};onActiveChange=e=>{let{activeKey:t}=this.state,{onActiveChange:n,itemScrollOffset:r=0}=this.props;t!==e&&(this.setState({activeKey:e}),e!==null&&this.scrollTo({key:e,offset:r}),n?.(e))};getActiveItem=()=>{let{activeKey:e,flattenNodes:t}=this.state;return e===null?null:t.find(({key:t})=>t===e)||null};offsetActiveKey=e=>{let{flattenNodes:t,activeKey:n}=this.state,r=t.findIndex(({key:e})=>e===n);r===-1&&e<0&&(r=t.length),r=(r+e+t.length)%t.length;let i=t[r];if(i){let{key:e}=i;this.onActiveChange(e)}else this.onActiveChange(null)};onKeyDown=e=>{let{activeKey:t,expandedKeys:n,checkedKeys:r,flattenNodes:i,keyEntities:a}=this.state,{onKeyDown:o,checkable:s,selectable:c,disabled:l,loadData:u}=this.props;if(l)return;switch(e.key){case`ArrowUp`:this.offsetActiveKey(-1),e.preventDefault();break;case`ArrowDown`:this.offsetActiveKey(1),e.preventDefault();break;case`Home`:this.onActiveChange(i?.[0]?.key),e.preventDefault();break;case`End`:this.onActiveChange(i?.[i.length-1]?.key),e.preventDefault();break}let d=this.getActiveItem();if(d&&d.data){let i=FR({...PR(t,this.getTreeNodeRequiredProps()),data:d.data,active:!0}),o=!!wR(a,t)?.children?.length,l=!NR(d.data.isLeaf,u,o,i.loaded),f=s&&!i.disabled&&i.checkable!==!1&&!i.disableCheckbox,p=!s&&c&&!i.disabled&&i.selectable!==!1;switch(e.key){case`ArrowLeft`:l&&n.includes(t)?this.onNodeExpand({},i):d.parent&&this.onActiveChange(d.parent.key),e.preventDefault();break;case`ArrowRight`:l&&!n.includes(t)?this.onNodeExpand({},i):d.children&&d.children.length&&this.onActiveChange(d.children[0].key),e.preventDefault();break;case`Enter`:l?(e.preventDefault(),this.onNodeExpand({},i)):f?r.includes(t)||(e.preventDefault(),this.onNodeCheck({},i,!0)):p&&!i.selected&&(e.preventDefault(),this.onNodeSelect({},i));break;case` `:f?(e.preventDefault(),this.onNodeCheck({},i,!r.includes(t))):p&&(e.preventDefault(),this.onNodeSelect({},i));break}}o?.(e)};setUncontrolledState=(e,t=!1,n=null)=>{if(!this.destroyed){let r=!1,i=!0,a={};Object.keys(e).forEach(t=>{if(this.props.hasOwnProperty(t)){i=!1;return}r=!0,a[t]=e[t]}),r&&(!t||i)&&this.setState({...a,...n})}};scrollTo=e=>{this.listRef.current.scrollTo(e)};render(){let{flattenNodes:e,keyEntities:t,draggingNodeKey:n,dropLevelOffset:r,dropContainerKey:i,dropTargetKey:a,dropPosition:o,dragOverNodeKey:s,indent:c}=this.state,{prefixCls:l,className:u,style:d,styles:f,classNames:p,showLine:m,focusable:h,tabIndex:g=0,selectable:_,showIcon:v,icon:y,switcherIcon:b,draggable:x,checkable:C,checkStrictly:w,disabled:T,motion:E,loadData:D,filterTreeNode:O,height:k,itemHeight:A,scrollWidth:j,virtual:M,titleRender:N,dropIndicatorRender:P,onContextMenu:F,onScroll:I,direction:L,rootClassName:R,rootStyle:z}=this.props,B=xi(this.props,{aria:!0,data:!0}),V;x&&(V=typeof x==`object`?x:typeof x==`function`?{nodeDraggable:x}:{});let H={styles:f,classNames:p,prefixCls:l,selectable:_,showIcon:v,icon:y,switcherIcon:b,draggable:V,draggingNodeKey:n,checkable:C,checkStrictly:w,disabled:T,keyEntities:t,dropLevelOffset:r,dropContainerKey:i,dropTargetKey:a,dropPosition:o,dragOverNodeKey:s,indent:c,direction:L,dropIndicatorRender:P,loadData:D,filterTreeNode:O,titleRender:N,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return S.createElement(bX.Provider,{value:H},S.createElement(`div`,{className:J(l,u,R,{[`${l}-show-line`]:m}),style:z},S.createElement(pZ,mZ({ref:this.listRef,prefixCls:l,style:d,data:e,disabled:T,selectable:_,checkable:!!C,motion:E,dragging:n!==null,height:k,itemHeight:A,virtual:M,focusable:h,tabIndex:g,activeItem:this.getActiveItem(),onFocus:this.onFocus,onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:F,onScroll:I,scrollWidth:j},this.getTreeNodeRequiredProps(),B))))}},_Z=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z`}}]},name:`file`,theme:`outlined`}}))());function vZ(){return vZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,vZ({},e,{ref:t,icon:_Z.default}))),bZ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z`}}]},name:`folder-open`,theme:`outlined`}}))());function xZ(){return xZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,xZ({},e,{ref:t,icon:bZ.default}))),CZ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z`}}]},name:`folder`,theme:`outlined`}}))());function wZ(){return wZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,wZ({},e,{ref:t,icon:CZ.default}))),EZ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z`}}]},name:`holder`,theme:`outlined`}}))());function DZ(){return DZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,DZ({},e,{ref:t,icon:EZ.default}))),kZ=({treeCls:e,treeNodeCls:t,directoryNodeSelectedBg:n,directoryNodeSelectedColor:r,motionDurationMid:i,borderRadius:a,controlItemBgHover:o})=>({[`${e}${e}-directory ${t}`]:{[`${e}-node-content-wrapper`]:{position:`static`,[`&:has(${e}-drop-indicator)`]:{position:`relative`},[`> *:not(${e}-drop-indicator)`]:{position:`relative`},"&:hover":{background:`transparent`},"&:before":{position:`absolute`,inset:0,transition:`background-color ${i}`,content:`""`,borderRadius:a},"&:hover:before":{background:o}},[`${e}-switcher, ${e}-checkbox, ${e}-draggable-icon`]:{zIndex:1},"&-selected":{background:n,borderRadius:a,[`${e}-switcher, ${e}-draggable-icon`]:{color:r},[`${e}-node-content-wrapper`]:{color:r,background:`transparent`,"&, &:hover":{color:r},"&:before, &:hover:before":{background:n}}}}}),AZ=new Ms(`ant-tree-node-fx-do-not-use`,{"0%":{opacity:0},"100%":{opacity:1}}),jZ=(e,t)=>({[`.${e}-switcher-icon`]:{display:`inline-block`,fontSize:10,verticalAlign:`baseline`,svg:{transition:`transform ${t.motionDurationSlow}`}}}),MZ=(e,t)=>({[`.${e}-drop-indicator`]:{position:`absolute`,zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:`none`,"&:after":{position:`absolute`,top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:`transparent`,border:`${Y(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:`50%`,content:`""`}}}),NZ=(e,t)=>{let{treeCls:n,treeNodeCls:r,treeNodePadding:i,titleHeight:a,indentSize:o,switcherSize:s,motionDurationMid:c,nodeSelectedBg:l,nodeHoverBg:u,colorTextQuaternary:d,controlItemBgActiveDisabled:f}=t;return{[n]:{...Ul(t),"--rc-virtual-list-scrollbar-bg":t.colorSplit,background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,"&-rtl":{direction:`rtl`},[`&${n}-rtl ${n}-switcher_close ${n}-switcher-icon svg`]:{transform:`rotate(90deg)`},[`${n}-list`]:{"&:focus-visible":{outline:`none`,[`${r}-active ${n}-node-content-wrapper`]:{...Kl(t)}}},[`${n}-list-holder-inner`]:{alignItems:`flex-start`},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:`stretch`,[`${n}-node-content-wrapper`]:{flex:`auto`},[`${r}.dragging:after`]:{position:`absolute`,inset:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:AZ,animationDuration:t.motionDurationSlow,animationPlayState:`running`,animationFillMode:`forwards`,content:`""`,pointerEvents:`none`,borderRadius:t.borderRadius}}},[r]:{display:`flex`,alignItems:`flex-start`,marginBottom:i,lineHeight:Y(a),position:`relative`,"&:before":{content:`""`,position:`absolute`,zIndex:1,insetInlineStart:0,width:`100%`,top:`100%`,height:i},[`&-disabled ${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:`not-allowed`,"&:hover":{background:`transparent`}},[`${n}-checkbox-disabled + ${n}-node-selected,&${r}-disabled${r}-selected ${n}-node-content-wrapper`]:{backgroundColor:f},[`${n}-checkbox-disabled`]:{pointerEvents:`unset`},[`&:not(${r}-disabled)`]:{[`${n}-node-content-wrapper`]:{"&:hover":{color:t.nodeHoverColor}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:t.fontWeightStrong},"&-draggable":{cursor:`grab`,[`${n}-draggable-icon`]:{flexShrink:0,width:s,textAlign:`center`,visibility:`visible`,color:d},[`&${r}-disabled ${n}-draggable-icon`]:{visibility:`hidden`}}},[`${n}-indent`]:{alignSelf:`stretch`,whiteSpace:`nowrap`,userSelect:`none`,"&-unit":{display:`inline-block`,width:o}},[`${n}-draggable-icon`]:{visibility:`hidden`},[`${n}-switcher, ${n}-checkbox`]:{marginInlineEnd:t.calc(t.calc(s).sub(t.controlInteractiveSize)).div(2).equal()},[`${n}-checkbox`]:{flexShrink:0,alignSelf:`flex-start`,marginBlockStart:t.calc(t.calc(a).sub(t.controlInteractiveSize)).div(2).equal()},[`${n}-switcher`]:{...jZ(e,t),position:`relative`,flex:`none`,alignSelf:`stretch`,width:s,textAlign:`center`,cursor:`pointer`,userSelect:`none`,transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:`unset`},"&:before":{pointerEvents:`none`,content:`""`,width:s,height:a,position:`absolute`,left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},[`&_close ${n}-switcher-icon svg`]:{transform:`rotate(-90deg)`},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:`relative`,zIndex:1,display:`inline-block`,width:`100%`,height:`100%`,"&:before":{position:`absolute`,top:0,insetInlineEnd:t.calc(s).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:`""`},"&:after":{position:`absolute`,width:t.calc(t.calc(s).div(2).equal()).mul(.8).equal(),height:t.calc(a).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:`""`}}},[`${n}-node-content-wrapper`]:{position:`relative`,minHeight:a,paddingBlock:0,paddingInline:t.paddingXS,background:`transparent`,borderRadius:t.borderRadius,cursor:`pointer`,transition:[`all ${c}`,`border 0s`,`line-height 0s`,`box-shadow 0s`].join(`, `),...MZ(e,t),"&:hover":{backgroundColor:u},[`&${n}-node-selected`]:{color:t.nodeSelectedColor,backgroundColor:l},[`${n}-iconEle`]:{display:`inline-block`,width:s,height:a,textAlign:`center`,verticalAlign:`top`,"&:empty":{display:`none`}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:`transparent`},[`${r}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${t.colorPrimary}`},"&-show-line":{[`${n}-indent-unit`]:{position:`relative`,height:`100%`,"&:before":{position:`absolute`,top:0,insetInlineEnd:t.calc(s).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:`""`},"&-end:before":{display:`none`}},[`${n}-switcher`]:{background:`transparent`,"&-line-icon":{verticalAlign:`-0.15em`}}},[`${r}-leaf-last ${n}-switcher-leaf-line:before`]:{top:`auto !important`,bottom:`auto !important`,height:`${Y(t.calc(a).div(2).equal())} !important`}}}},PZ=(e,t,n=!0)=>{let r=`.${e}`,i=dc(t,{treeCls:r,treeNodeCls:`${r}-treenode`,treeNodePadding:t.calc(t.paddingXS).div(2).equal()});return[NZ(e,i),n&&kZ(i)].filter(Boolean)},FZ=e=>{let{controlHeightSM:t,controlItemBgHover:n,controlItemBgActive:r}=e,i=t;return{titleHeight:i,switcherSize:i,indentSize:i,nodeHoverBg:n,nodeHoverColor:e.colorText,nodeSelectedBg:r,nodeSelectedColor:e.colorText}},IZ=Ql(`Tree`,(e,{prefixCls:t})=>[{[e.componentCls]:mz(`${t}-checkbox`,e)},PZ(t,e),Kh(e)],e=>{let{colorTextLightSolid:t,colorPrimary:n}=e;return{...FZ(e),directoryNodeSelectedColor:t,directoryNodeSelectedBg:n}}),LZ=e=>{let{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:i,direction:a=`ltr`}=e,o=a===`ltr`?`left`:`right`,s=a===`ltr`?`right`:`left`,c={[o]:-n*i+4,[s]:0};switch(t){case-1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[o]=i+4;break}return S.createElement(`div`,{style:c,className:`${r}-drop-indicator`})},RZ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z`}}]},name:`caret-down`,theme:`filled`}}))());function zZ(){return zZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,zZ({},e,{ref:t,icon:RZ.default}))),VZ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`minus-square`,theme:`outlined`}}))());function HZ(){return HZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,HZ({},e,{ref:t,icon:VZ.default}))),WZ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`plus-square`,theme:`outlined`}}))());function GZ(){return GZ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,GZ({},e,{ref:t,icon:WZ.default}))),qZ=e=>{let{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:i,switcherLoadingIcon:a}=e,{isLeaf:o,expanded:s,loading:c}=r;if(c)return S.isValidElement(a)?a:S.createElement(Xm,{className:`${t}-switcher-loading-icon`});let l;if(nf(i)&&(l=i.showLeafIcon),o){if(!i)return null;if(typeof l!=`boolean`&&l){let e=typeof l==`function`?l(r):l,n=`${t}-switcher-line-custom-icon`;return S.isValidElement(e)?um(e,{className:J(e.props?.className,n)}):e}return l?S.createElement(yZ,{className:`${t}-switcher-line-icon`}):S.createElement(`span`,{className:`${t}-switcher-leaf-line`})}let u=`${t}-switcher-icon`,d=typeof n==`function`?n(r):n;return S.isValidElement(d)?um(d,{className:J(d.props?.className,i?`${t}-switcher-line-icon`:u)}):d===void 0?i?s?S.createElement(UZ,{className:`${t}-switcher-line-icon`}):S.createElement(KZ,{className:`${t}-switcher-line-icon`}):S.createElement(BZ,{className:u}):d},JZ=S.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r,className:i,style:a,classNames:o,styles:s}=ya(`tree`),{virtual:c}=S.useContext(ga),{prefixCls:l,className:u,showIcon:d=!1,showLine:f,switcherIcon:p,switcherLoadingIcon:m,blockNode:h=!1,children:g,checkable:_=!1,selectable:v=!0,draggable:y,disabled:b,motion:x,style:C,rootClassName:w,classNames:T,styles:E,icon:D}=e,O=S.useContext(hm),k=b??O,A=n(`tree`,l),j=n(),M=x??{..._h(j),motionAppear:!1},N={...e,showIcon:d,blockNode:h,checkable:_,selectable:v,disabled:k,motion:M},[P,F]=Cf([o,T],[s,E],{props:N}),I={...N,showLine:!!f,icon:D,dropIndicatorRender:LZ},[L,R]=IZ(A),[,z]=Vl(),B=z.paddingXS/2+(z.Tree?.titleHeight||z.controlHeightSM),V=S.useMemo(()=>{if(!y)return!1;let e={};switch(typeof y){case`function`:e.nodeDraggable=y;break;case`object`:e={...y};break;default:break}return e.icon!==!1&&(e.icon=e.icon||S.createElement(OZ,null)),e},[y]),H=e=>S.createElement(qZ,{prefixCls:A,switcherIcon:p,switcherLoadingIcon:m,treeNodeProps:e,showLine:f});return S.createElement(gZ,{itemHeight:B,ref:t,virtual:c,...I,prefixCls:A,className:J({[`${A}-icon-hide`]:!d,[`${A}-block-node`]:h,[`${A}-unselectable`]:!v,[`${A}-rtl`]:r===`rtl`,[`${A}-disabled`]:k},i,u,L,R),style:{...a,...C},rootClassName:J(P.root,w),rootStyle:F.root,classNames:P,styles:F,direction:r,checkable:_&&S.createElement(`span`,{className:`${A}-checkbox-inner`}),selectable:v,switcherIcon:H,draggable:V},g)}),YZ=0,XZ=1,ZZ=2;function QZ(e,t,n){let{key:r,children:i}=n;function a(e){let a=e[r],o=e[i];t(a,e)!==!1&&QZ(o||[],t,n)}e.forEach(a)}function $Z({treeData:e,expandedKeys:t,startKey:n,endKey:r,fieldNames:i}){let a=[],o=YZ;if(n&&n===r)return[n];if(!n||!r)return[];function s(e){return e===n||e===r}return QZ(e,e=>{if(o===ZZ)return!1;if(s(e)){if(a.push(e),o===YZ)o=XZ;else if(o===XZ)return o=ZZ,!1}else o===XZ&&a.push(e);return t.includes(e)},OR(i)),a}function eQ(e,t,n){let r=pa(t),i=[];return QZ(e,(e,t)=>{let n=r.indexOf(e);return n!==-1&&(i.push(t),r.splice(n,1)),!!r.length},OR(n)),i}function tQ(e){let{isLeaf:t,expanded:n}=e;return t?S.createElement(yZ,null):n?S.createElement(SZ,null):S.createElement(TZ,null)}function nQ({treeData:e,children:t}){return e||kR(t)}var rQ=S.forwardRef((e,t)=>{let{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:i,...a}=e,o=S.useRef(null),s=S.useRef(null),c=()=>{let{keyEntities:e}=MR(nQ(a),{fieldNames:a.fieldNames}),t,o=a.expandedKeys||i||[];return t=n?Object.keys(e):r?LX(o,e):o,t},[l,u]=S.useState(a.selectedKeys||a.defaultSelectedKeys||[]),[d,f]=S.useState(()=>c());S.useEffect(()=>{`selectedKeys`in a&&u(a.selectedKeys)},[a.selectedKeys]),S.useEffect(()=>{`expandedKeys`in a&&f(a.expandedKeys)},[a.expandedKeys]);let p=(e,t)=>(`expandedKeys`in a||f(e),a.onExpand?.(e,t)),m=(e,t)=>{let{multiple:n,fieldNames:r}=a,{node:i,nativeEvent:c}=t,{key:l=``}=i,f=nQ(a),p={...t,selected:!0},m=c?.ctrlKey||c?.metaKey,h=c?.shiftKey,g;n&&m?(g=e,o.current=l,s.current=g,p.selectedNodes=eQ(f,g,r)):n&&h?(g=Array.from(new Set([].concat(pa(s.current||[]),pa($Z({treeData:f,expandedKeys:d,startKey:l,endKey:o.current,fieldNames:r}))))),p.selectedNodes=eQ(f,g,r)):(g=[l],o.current=l,s.current=g,p.selectedNodes=eQ(f,g,r)),a.onSelect?.(g,p),`selectedKeys`in a||u(g)},{getPrefixCls:h,direction:g}=S.useContext(ga),{prefixCls:_,className:v,showIcon:y=!0,expandAction:b=`click`,...x}=a,C=h(`tree`,_),w=J(`${C}-directory`,{[`${C}-directory-rtl`]:g===`rtl`},v);return S.createElement(JZ,{icon:tQ,ref:t,blockNode:!0,...x,showIcon:y,expandAction:b,prefixCls:C,className:w,expandedKeys:d,selectedKeys:l,onSelect:m,onExpand:p})}),iQ=JZ;iQ.DirectoryTree=rQ,iQ.TreeNode=DX;var aQ=e=>{let{value:t,filterSearch:n,tablePrefixCls:r,locale:i,onChange:a}=e;return n?S.createElement(`div`,{className:`${r}-filter-dropdown-search`},S.createElement(RB,{prefix:S.createElement(VC,null),placeholder:i.filterSearchPlaceholder,onChange:a,value:t,htmlSize:1,className:`${r}-filter-dropdown-search-input`})):null},oQ=e=>{let{keyCode:t}=e;t===Qr.ENTER&&e.stopPropagation()},sQ=S.forwardRef((e,t)=>S.createElement(`div`,{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:oQ,ref:t},e.children));function cQ(e){let t=[];return(e||[]).forEach(({value:e,children:n})=>{t.push(e),n&&(t=[].concat(pa(t),pa(cQ(n))))}),t}function lQ(e){return e.some(({children:e})=>e)}var uQ=(e,t)=>typeof t==`string`||ef(t)?t.toString().toLowerCase().includes(e):!1,dQ=e=>{let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:a,normalizedSearchValue:o,filterSearch:s}=e;return t.map((e,t)=>{let c=String(e.value);if(e.children)return{key:c||t,label:e.text,popupClassName:`${n}-dropdown-submenu`,children:dQ({filters:e.children,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:a,normalizedSearchValue:o,filterSearch:s})};let l=i?jz:sL,u={key:e.value===void 0?t:c,label:S.createElement(S.Fragment,null,S.createElement(l,{checked:r.includes(c)}),S.createElement(`span`,null,e.text))};return o?typeof s==`function`?s(o,e)?u:null:uQ(o,e.text)?u:null:u})};function fQ(e){return e||[]}var pQ=e=>{let{tablePrefixCls:t,prefixCls:n,column:r,dropdownPrefixCls:i,columnKey:a,filterOnClose:o,filterMultiple:s,filterMode:c=`menu`,filterSearch:l=!1,filterState:u,triggerFilter:d,locale:f,children:p,getPopupContainer:m,rootClassName:h}=e,{filterResetToDefaultFilteredValue:g,defaultFilteredValue:_,filterDropdownProps:v={},filterDropdownOpen:y,onFilterDropdownOpenChange:b}=r,[x,C]=S.useState(!1),w=S.useContext(ww),T=!!(u&&(u.filteredKeys?.length||u.forceFiltered)),E=e=>{C(e),v.onOpenChange?.(e),b?.(e)},D=v.open??y??x,O=u?.filteredKeys,[k,A]=Af(fQ(O)),j=({selectedKeys:e})=>{A(e)},M=(e,{node:t,checked:n})=>{j(s?{selectedKeys:e}:{selectedKeys:n&&t.key?[t.key]:[]})};S.useEffect(()=>{x&&j({selectedKeys:fQ(O)})},[O]);let[N,P]=S.useState([]),F=e=>{P(e)},[I,L]=S.useState(``),R=S.useMemo(()=>I.trim().toLowerCase(),[I]),z=e=>{let{value:t}=e.target;L(t)};S.useEffect(()=>{x||L(``)},[x]);let B=e=>{let t=e?.length?e:null;if(t===null&&(!u||!u.filteredKeys)||fi(t,u?.filteredKeys,!0))return null;d({column:r,key:a,filteredKeys:t})},V=()=>{E(!1),B(k())},H=({confirm:e,closeDropdown:t}={confirm:!1,closeDropdown:!1})=>{e&&B([]),t&&E(!1),L(``),A(g?(_||[]).map(String):[])},U=({closeDropdown:e}={closeDropdown:!0})=>{e&&E(!1),B(k())},W=(e,t)=>{t.source===`trigger`&&(e&&O!==void 0&&A(fQ(O)),E(e),!e&&!r.filterDropdown&&o&&V())},ee=J({[`${i}-menu-without-submenu`]:!lQ(r.filters||[])}),te=e=>{e.target.checked?A(cQ(r?.filters).map(String)):A([])},ne=({filters:e})=>(e||[]).map((e,t)=>{let n=String(e.value),r={title:e.text,key:e.value===void 0?String(t):n};return e.children&&(r.children=ne({filters:e.children})),r}),re=e=>({...e,text:e.title,value:e.key,children:e.children?.map(re)||[]}),G,{direction:ie,renderEmpty:K}=S.useContext(ga);if(typeof r.filterDropdown==`function`)G=r.filterDropdown({prefixCls:`${i}-custom`,setSelectedKeys:e=>j({selectedKeys:e}),selectedKeys:k(),confirm:U,clearFilters:H,filters:r.filters,visible:D,close:()=>{E(!1)}});else if(r.filterDropdown)G=r.filterDropdown;else{let e=k()||[];G=S.createElement(S.Fragment,null,(()=>{let a=K?.(`Table.filter`)??S.createElement(gC,{image:gC.PRESENTED_IMAGE_SIMPLE,description:f.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:`16px 0`}});if((r.filters||[]).length===0)return a;if(c===`tree`)return S.createElement(S.Fragment,null,S.createElement(aQ,{filterSearch:l,value:I,onChange:z,tablePrefixCls:t,locale:f}),S.createElement(`div`,{className:`${t}-filter-dropdown-tree`},s?S.createElement(jz,{checked:e.length===cQ(r.filters).length,indeterminate:e.length>0&&e.lengthtypeof l==`function`?l(I,re(e)):uQ(R,e.title):void 0})));let o=dQ({filters:r.filters||[],filterSearch:l,prefixCls:n,filteredKeys:k(),filterMultiple:s,searchValue:I,normalizedSearchValue:R}),u=o.every(e=>e===null);return S.createElement(S.Fragment,null,S.createElement(aQ,{filterSearch:l,value:I,onChange:z,tablePrefixCls:t,locale:f}),u?a:S.createElement(LE,{selectable:!0,multiple:s,prefixCls:`${i}-menu`,className:ee,onSelect:j,onDeselect:j,selectedKeys:e,getPopupContainer:m,openKeys:N,onOpenChange:F,items:o}))})(),S.createElement(`div`,{className:`${n}-dropdown-btns`},S.createElement(__,{type:`link`,size:`small`,disabled:g?fi((_||[]).map(String),e,!0):e.length===0,onClick:()=>H()},f.filterReset),S.createElement(__,{type:`primary`,size:`small`,onClick:V},f.filterConfirm)))}r.filterDropdown&&(G=S.createElement(xE,{selectable:void 0},G)),G=S.createElement(sQ,{className:`${n}-dropdown`},G);let ae=(()=>{let e;return e=typeof r.filterIcon==`function`?r.filterIcon(T):r.filterIcon?r.filterIcon:S.createElement($X,null),S.createElement(`span`,{role:`button`,tabIndex:-1,className:J(`${n}-trigger`,{active:T}),onClick:e=>{e.stopPropagation()}},e)})();if(w)return S.createElement(`div`,{className:`${n}-column`},S.createElement(`span`,{className:`${t}-column-title`},p),ae);let q=Qd({trigger:[`click`],placement:ie===`rtl`?`bottomLeft`:`bottomRight`,children:ae,getPopupContainer:m},{...v,rootClassName:J(h,v.rootClassName),open:D,onOpenChange:W,popupRender:()=>typeof v?.dropdownRender==`function`?v.dropdownRender(G):G});return S.createElement(`div`,{className:`${n}-column`},S.createElement(`span`,{className:`${t}-column-title`},p),S.createElement(zH,{...q}))},mQ=(e,t,n)=>{let r=[];return(e||[]).forEach((e,i)=>{let a=JX(i,n),o=e.filterDropdown!==void 0;if(e.filters||o||`onFilter`in e)if(`filteredValue`in e){let t=e.filteredValue;o||(t=t?.map(String)??t),r.push({column:e,key:qX(e,a),filteredKeys:t,forceFiltered:e.filtered})}else r.push({column:e,key:qX(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered});`children`in e&&(r=[].concat(pa(r),pa(mQ(e.children,t,a))))}),r};function hQ(e,t,n,r,i,a,o,s,c){return n.map((n,l)=>{let u=JX(l,s),{filterOnClose:d=!0,filterMultiple:f=!0,filterMode:p,filterSearch:m}=n,h=n;if(h.filters||h.filterDropdown){let s=qX(h,u),l=r.find(({key:e})=>s===e);h={...h,title:r=>S.createElement(pQ,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:h,columnKey:s,filterState:l,filterOnClose:d,filterMultiple:f,filterMode:p,filterSearch:m,triggerFilter:a,locale:i,getPopupContainer:o,rootClassName:c},YX(n.title,r))}}return`children`in h&&(h={...h,children:hQ(e,t,h.children,r,i,a,o,u,c)}),h})}var gQ=e=>{let t={};return e.forEach(({key:e,filteredKeys:n,column:r})=>{let i=e,{filters:a,filterDropdown:o}=r;o?t[i]=n||null:Array.isArray(n)?t[i]=cQ(a).filter(e=>n.includes(String(e))):t[i]=null}),t},_Q=(e,t,n)=>t.reduce((e,r)=>{let{column:{onFilter:i,filters:a},filteredKeys:o}=r;if(i&&o&&o.length){let r=cQ(a),s=new Map;r.forEach(e=>{let t=String(e);s.has(t)||s.set(t,e)});let c=o.map(e=>{let t=String(e);return s.get(t)??e});return(e=>e.reduce((e,r)=>{let a={...r};return a[n]&&(a[n]=_Q(a[n],t,n)),c.some(e=>i(e,a))&&e.push(a),e},[]))(e)}return e},e),vQ=e=>e.flatMap(e=>`children`in e?[e].concat(pa(vQ(e.children||[]))):[e]),yQ=e=>{let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:i,getPopupContainer:a,locale:o,rootClassName:s}=e;Gi(`Table`);let c=S.useMemo(()=>vQ(r||[]),[r]),[l,u]=S.useState(()=>mQ(c,!0)),d=S.useMemo(()=>{let e=mQ(c,!1);if(e.length===0)return e;let t=!0;if(e.forEach(({filteredKeys:e})=>{e!==void 0&&(t=!1)}),t){let e=(c||[]).map((e,t)=>qX(e,JX(t)));return l.filter(({key:t})=>e.includes(t)).map(t=>{let n=c[e.indexOf(t.key)];return{...t,column:{...t.column,...n},forceFiltered:n.filtered}})}return e},[c,l]),f=S.useMemo(()=>gQ(d),[d]),p=e=>{let t=d.filter(({key:t})=>t!==e.key);t.push(e),u(t),i(gQ(t),t)};return[e=>hQ(t,n,e,d,o,p,a,void 0,s),d,f]},bQ=(e,t,n)=>{let r=S.useRef({});function i(i){if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let i=new Map;function a(e){e.forEach((e,r)=>{let o=n(e,r);i.set(o,e),nf(e)&&t in e&&a(e[t]||[])})}a(e),r.current={data:e,childrenColumnName:t,kvMap:i,getRowKey:n}}return r.current.kvMap?.get(i)}return[i]};function xQ(e,t){let n={current:e.current,pageSize:e.pageSize},r=nf(t)?t:{};return Object.keys(r).forEach(t=>{let r=e[t];typeof r!=`function`&&(n[t]=r)}),n}function SQ(e,t,n){let{total:r=0,...i}=nf(n)?n:{},[a,o]=(0,S.useState)(()=>({current:`defaultCurrent`in i?i.defaultCurrent:1,pageSize:`defaultPageSize`in i?i.defaultPageSize:10})),s=Qd(a,i,{total:r>0?r:e}),c=Math.ceil((r||e)/s.pageSize);s.current>c&&(s.current=c||1);let l=(e,t)=>{o({current:e??1,pageSize:t||s.pageSize})},u=(e,r)=>{n&&n.onChange?.(e,r),l(e,r),t(e,r||s?.pageSize)};return n===!1?[{},()=>{}]:[{...s,onChange:u},l]}var CQ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z`}}]},name:`caret-down`,theme:`outlined`}}))());function wQ(){return wQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,wQ({},e,{ref:t,icon:CQ.default}))),EQ=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z`}}]},name:`caret-up`,theme:`outlined`}}))());function DQ(){return DQ=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,DQ({},e,{ref:t,icon:EQ.default}))),kQ=`ascend`,AQ=`descend`,jQ=e=>e.sorter&&typeof e.sorter==`object`&&ef(e.sorter.multiple)?e.sorter.multiple:!1,MQ=e=>typeof e==`function`?e:nf(e)&&e.compare?e.compare:!1,NQ=(e,t)=>t?e[e.indexOf(t)+1]:e[0],PQ=(e,t,n)=>{let r=[],i=(e,t)=>{r.push({column:e,key:qX(e,t),multiplePriority:jQ(e),sortOrder:e.sortOrder})};return(e||[]).forEach((e,a)=>{let o=JX(a,n);e.children?(`sortOrder`in e&&i(e,o),r=[].concat(pa(r),pa(PQ(e.children,t,o)))):e.sorter&&(`sortOrder`in e?i(e,o):t&&e.defaultSortOrder&&r.push({column:e,key:qX(e,o),multiplePriority:jQ(e),sortOrder:e.defaultSortOrder}))}),r},FQ=(e,t,n,r,i,a,o,s,c)=>(t||[]).map((t,l)=>{let u=JX(l,s),d=t;if(d.sorter){let s=d.sortDirections||i,l=d.showSorterTooltip===void 0?o:d.showSorterTooltip,f=qX(d,u),p=n.find(({key:e})=>e===f),m=p?p.sortOrder:null,h=NQ(s,m),g;if(t.sortIcon)g=t.sortIcon({sortOrder:m});else{let t=s.includes(kQ)&&S.createElement(OQ,{className:J(`${e}-column-sorter-up`,{active:m===kQ})}),n=s.includes(AQ)&&S.createElement(TQ,{className:J(`${e}-column-sorter-down`,{active:m===AQ})});g=S.createElement(`span`,{className:J(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(t&&n)})},S.createElement(`span`,{className:`${e}-column-sorter-inner`,"aria-hidden":`true`},t,n))}let{cancelSort:_,triggerAsc:v,triggerDesc:y}=a||{},b=_;h===AQ?b=y:h===kQ&&(b=v);let x=nf(l)?{title:b,...l}:{title:b};d={...d,className:J(d.className,{[`${e}-column-sort`]:m}),title:n=>{let r=`${e}-column-sorters`,i=S.createElement(`span`,{className:`${e}-column-title`},YX(t.title,n)),a=S.createElement(`div`,{className:r},i,g);return l?typeof l!=`boolean`&&l?.target===`sorter-icon`?S.createElement(`div`,{className:J(r,`${r}-tooltip-target-sorter`)},i,S.createElement(Iw,{...x},g)):S.createElement(Iw,{...x},a):a},onHeaderCell:n=>{let i=t.onHeaderCell?.(n)||{},a=i.onClick,o=i.onKeyDown;i.onClick=e=>{r({column:t,key:f,sortOrder:h,multiplePriority:jQ(t)}),a?.(e)},i.onKeyDown=e=>{e.keyCode===Qr.ENTER&&(r({column:t,key:f,sortOrder:h,multiplePriority:jQ(t)}),o?.(e))};let s=XX(t.title,{}),l=s?.toString();return m&&(i[`aria-sort`]=m===`ascend`?`ascending`:`descending`),i[`aria-description`]=c?.sortable,i[`aria-label`]=l||``,i.className=J(i.className,`${e}-column-has-sorters`),i.tabIndex=0,t.ellipsis&&(i.title=(s??``).toString()),i}}}return`children`in d&&(d={...d,children:FQ(e,d.children,n,r,i,a,o,u,c)}),d}),IQ=e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},LQ=e=>{let t=e.filter(({sortOrder:e})=>e).map(IQ);return t.length===0&&e.length?{...IQ(e[e.length-1]),column:void 0,order:void 0,field:void 0,columnKey:void 0}:t.length<=1?t[0]||{}:t},RQ=(e,t,n)=>{let r=t.slice().sort((e,t)=>t.multiplePriority-e.multiplePriority),i=e.slice(),a=r.filter(({column:{sorter:e},sortOrder:t})=>MQ(e)&&t);return a.length?i.sort((e,t)=>{for(let n=0;n{let r=e[n];return r?{...e,[n]:RQ(r,t,n)}:e}):i},zQ=e=>{let{prefixCls:t,mergedColumns:n,sortDirections:r,tableLocale:i,showSorterTooltip:a,onSorterChange:o,globalLocale:s}=e,[c,l]=S.useState(()=>PQ(n,!0)),u=(e,t)=>{let n=[];return e.forEach((e,r)=>{let i=JX(r,t);if(n.push(qX(e,i)),Array.isArray(e.children)){let t=u(e.children,i);n.push.apply(n,pa(t))}}),n},d=S.useMemo(()=>{let e=!0,t=PQ(n,!1);if(!t.length){let e=u(n);return c.filter(({key:t})=>e.includes(t))}let r=[];function i(t){e?r.push(t):r.push({...t,sortOrder:null})}let a=null;return t.forEach(t=>{a===null?(i(t),t.sortOrder&&(t.multiplePriority===!1?e=!1:a=!0)):(a&&t.multiplePriority!==!1||(e=!1),i(t))}),r},[n,c]),f=S.useMemo(()=>{let e=d.map(({column:e,sortOrder:t})=>({column:e,order:t}));return{sortColumns:e,sortColumn:e[0]?.column,sortOrder:e[0]?.order}},[d]),p=e=>{let t;t=e.multiplePriority===!1||!d.length||d[0].multiplePriority===!1?[e]:[].concat(pa(d.filter(({key:t})=>t!==e.key)),[e]),l(t),o(LQ(t),t)};return[e=>FQ(t,e,d,p,r,i,a,void 0,s),d,f,()=>LQ(d)]},BQ=(e,t)=>e.map(e=>{let n={...e};return n.title=YX(e.title,t),`children`in n&&(n.children=BQ(n.children,t)),n}),VQ=e=>[S.useCallback(t=>BQ(t,e),[e])],HQ=iX((e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),UQ=_X((e,t)=>{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),WQ=e=>{let{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:i,tableHeaderBg:a,tablePaddingVertical:o,tablePaddingHorizontal:s,calc:c}=e,l=`${Y(n)} ${r} ${i}`,u=(e,r,i)=>({[`&${t}-${e}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"> table > tbody > tr > th, > table > tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`${Y(c(r).mul(-1).equal())} ${Y(c(c(i).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:{[`> ${t}-title`]:{border:l,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:l,borderTop:l,[`> ${t}-content, > ${t}-header, > ${t}-body, > ${t}-summary`]:{"> table":{"> thead > tr > th, > thead > tr > td, > tbody > tr > th, > tbody > tr > td, > tfoot > tr > th, > tfoot > tr > td":{borderInlineEnd:l},"> thead":{"> tr:not(:last-child) > th":{borderBottom:l},"> tr > th::before":{backgroundColor:`transparent !important`}},"> thead > tr, > tbody > tr, > tfoot > tr":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:l}},"> tbody > tr > th, > tbody > tr > td":{[`> ${t}-expanded-row-fixed`]:{margin:`${Y(c(o).mul(-1).equal())} ${Y(c(c(s).add(n)).mul(-1).equal())}`,"&::after":{position:`absolute`,top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:l,content:`""`}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` > tr${t}-expanded-row, > tr${t}-placeholder - `]:{"> th, > td":{borderInlineEnd:0}}}}},...u(`medium`,e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle),...u(`small`,e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall),[`> ${t}-footer`]:{border:l,borderTop:0}},[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Y(n)} 0 ${Y(n)} ${a}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:l}}}},XQ=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:{...Hl,wordBreak:`keep-all`,[` + `]:{"> th, > td":{borderInlineEnd:0}}}}},...u(`medium`,e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle),...u(`small`,e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall),[`> ${t}-footer`]:{border:l,borderTop:0}},[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Y(n)} 0 ${Y(n)} ${a}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:l}}}},GQ=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:{...Hl,wordBreak:`keep-all`,[` &${t}-cell-fix-start-shadow, &${t}-cell-fix-end-shadow - `]:{overflow:`visible`,[`${t}-cell-content`]:{...Hl,display:`block`}},[`${t}-column-title`]:{...Hl,wordBreak:`keep-all`}}}}},ZQ=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:`center`,color:e.colorTextDisabled,"&:hover > th, &:hover > td":{background:e.colorBgContainer}}}}},QQ=e=>{let{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:i,paddingXS:a,lineType:o,tableBorderColor:s,tableExpandIconBg:c,tableExpandColumnWidth:l,borderRadius:u,tablePaddingVertical:d,tablePaddingHorizontal:f,tableExpandedRowBg:p,paddingXXS:m,expandIconMarginTop:h,expandIconSize:g,expandIconHalfInner:_,expandIconScale:v,calc:y}=e,b=`${Y(i)} ${o} ${s}`,x=y(m).sub(i).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:l},[`${t}-row-expand-icon-cell`]:{textAlign:`center`,[`${t}-row-expand-icon`]:{display:`inline-flex`,float:`none`,verticalAlign:`sub`}},[`${t}-row-indent`]:{height:1,float:`left`},[`${t}-row-expand-icon`]:{...Zl(e),position:`relative`,float:`left`,width:g,height:g,color:`inherit`,lineHeight:Y(g),background:c,border:b,borderRadius:u,transform:`scale(${v})`,"&:focus, &:hover, &:active":{borderColor:`currentcolor`},"&::before, &::after":{position:`absolute`,background:`currentcolor`,transition:`transform ${r} ease-out`,content:`""`},"&::before":{top:_,insetInlineEnd:x,insetInlineStart:x,height:i},"&::after":{top:x,bottom:x,insetInlineStart:_,width:i,transform:`rotate(90deg)`},"&-collapsed::before":{transform:`rotate(-180deg)`},"&-collapsed::after":{transform:`rotate(0deg)`},"&-spaced":{"&::before, &::after":{display:`none`,content:`none`},background:`transparent`,border:0,visibility:`hidden`}},[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:h,marginInlineEnd:a},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:p}},[`${n}-descriptions-view`]:{display:`flex`,table:{flex:`auto`,width:`100%`}}},[`${t}-expanded-row-fixed`]:{position:`relative`,margin:`${Y(y(d).mul(-1).equal())} ${Y(y(f).mul(-1).equal())}`,padding:`${Y(d)} ${Y(f)}`}}}},$Q=e=>{let{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:i,tableFilterDropdownSearchWidth:a,paddingXXS:o,paddingXS:s,colorText:c,lineWidth:l,lineType:u,tableBorderColor:d,headerIconColor:f,fontSizeSM:p,tablePaddingHorizontal:m,borderRadius:h,motionDurationSlow:g,colorIcon:_,colorPrimary:v,tableHeaderFilterActiveBg:y,colorTextDisabled:b,tableFilterDropdownBg:x,tableFilterDropdownHeight:S,controlItemBgHover:C,controlItemBgActive:w,boxShadowSecondary:T,filterDropdownMenuBg:E,calc:D}=e,O=`${n}-dropdown`,k=`${t}-filter-dropdown`,A=`${n}-tree`,j=`${Y(l)} ${u} ${d}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:`flex`,justifyContent:`space-between`},[`${t}-filter-trigger`]:{position:`relative`,display:`flex`,alignItems:`center`,marginBlock:D(o).mul(-1).equal(),marginInline:`${Y(o)} ${Y(D(m).div(2).mul(-1).equal())}`,padding:`0 ${Y(o)}`,color:f,fontSize:p,borderRadius:h,cursor:`pointer`,transition:`all ${g}`,"&:hover":{color:_,background:y},"&.active":{color:v}}}},{[`${n}-dropdown`]:{[k]:{...Ul(e),minWidth:i,backgroundColor:x,borderRadius:h,boxShadow:T,overflow:`hidden`,[`${O}-menu`]:{maxHeight:S,overflowX:`hidden`,border:0,boxShadow:`none`,borderRadius:`unset`,backgroundColor:E,"&:empty::after":{display:`block`,padding:`${Y(s)} 0`,color:b,fontSize:p,textAlign:`center`,content:`"Not Found"`}},[`${k}-tree`]:{paddingBlock:`${Y(s)} 0`,paddingInline:s,[A]:{padding:0},[`${A}-treenode ${A}-node-content-wrapper:hover`]:{backgroundColor:C},[`${A}-treenode-checkbox-checked ${A}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:w}}},[`${k}-search`]:{padding:s,borderBottom:j,"&-input":{input:{minWidth:a},[r]:{color:b}}},[`${k}-checkall`]:{width:`100%`,marginBottom:o,marginInlineStart:o},[`${k}-btns`]:{display:`flex`,justifyContent:`space-between`,padding:`${Y(D(s).sub(l).equal())} ${Y(s)}`,overflow:`hidden`,borderTop:j}}}},{[`${n}-dropdown ${k}, ${k}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:s,color:c},"> ul":{maxHeight:`calc(100vh - 130px)`,overflowX:`hidden`,overflowY:`auto`}}}]};function e$({colorSplit:e}){return[{boxShadow:`inset 10px 0 8px -8px ${e}`},{boxShadow:`inset -10px 0 8px -8px ${e}`}]}var t$=e=>{let{componentCls:t,lineWidth:n,motionDurationSlow:r,zIndexTableFixed:i,tableBg:a,calc:o}=e,s=`${t}-cell`,c=`${s}-fix`,l={position:`absolute`,top:0,bottom:o(n).mul(-1).equal(),width:30,transition:`box-shadow ${r}`,content:`""`,pointerEvents:`none`},[u,d]=e$(e);return{[`${t}-wrapper`]:{[`${s}${c}`]:{position:`sticky`},[c]:{zIndex:`calc(var(--z-offset-reverse) + ${i})`,background:a,"&:after":l,"&-start:after":{insetInlineStart:`100%`},"&-end:after":{insetInlineEnd:`100%`},"&-start-shadow-show:after":u,"&-end-shadow-show:after":d},[`${t}-container`]:{position:`relative`,"&:before, &:after":{...l,zIndex:`calc(var(--columns-count) * 2 + ${i} + 1)`},"&:before":{insetInlineStart:0},"&:after":{insetInlineEnd:0}},[`${t}-has-fix-start ${t}-container:before`]:{display:`none`},[`${t}-has-fix-end ${t}-container:after`]:{display:`none`},[`${t}-fix-start-shadow-show ${t}-container:before`]:u,[`${t}-fix-end-shadow-show ${t}-container:after`]:d}}},n$=e=>{let{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${Y(r)} 0`},[`${t}-pagination`]:{display:`flex`,flexWrap:`wrap`,rowGap:e.paddingXS,"> *":{flex:`none`},"&-start":{justifyContent:`flex-start`},"&-center":{justifyContent:`center`},"&-end":{justifyContent:`flex-end`}}}}},r$=e=>{let{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${Y(n)} ${Y(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"&::before":{borderStartStartRadius:n},"&::after":{borderStartEndRadius:n},[`> ${t}-content`]:{borderStartStartRadius:n,borderStartEndRadius:n},"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${Y(n)} ${Y(n)}`}}}}},i$=e=>{let{componentCls:t}=e,[n,r]=e$(e);return{[`${t}-wrapper-rtl`]:{direction:`rtl`,table:{direction:`rtl`},[`${t}-row-expand-icon`]:{float:`right`,"&::after":{transform:`rotate(-90deg)`},"&-collapsed::before":{transform:`rotate(180deg)`},"&-collapsed::after":{transform:`rotate(0deg)`}},[`${t}-cell-fix`]:{"&-start-shadow-show:after":r,"&-end-shadow-show:after":n},[`${t}-container`]:{[`${t}-row-indent`]:{float:`right`}},[`${t}-fix-start-shadow-show ${t}-container:before`]:r,[`${t}-fix-end-shadow-show ${t}-container:after`]:n}}},a$=e=>{let{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:i,padding:a,paddingXS:o,headerIconColor:s,headerIconHoverColor:c,tableSelectionColumnWidth:l,tableSelectedRowBg:u,tableSelectedRowHoverBg:d,tableRowHoverBg:f,tablePaddingHorizontal:p,calc:m}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:l,[`&${t}-selection-col-with-dropdown`]:{width:m(l).add(i).add(m(a).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:m(l).add(m(o).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:m(l).add(i).add(m(a).div(4)).add(m(o).mul(2)).equal()}},[` + `]:{overflow:`visible`,[`${t}-cell-content`]:{...Hl,display:`block`}},[`${t}-column-title`]:{...Hl,wordBreak:`keep-all`}}}}},KQ=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:`center`,color:e.colorTextDisabled,"&:hover > th, &:hover > td":{background:e.colorBgContainer}}}}},qQ=e=>{let{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:i,paddingXS:a,lineType:o,tableBorderColor:s,tableExpandIconBg:c,tableExpandColumnWidth:l,borderRadius:u,tablePaddingVertical:d,tablePaddingHorizontal:f,tableExpandedRowBg:p,paddingXXS:m,expandIconMarginTop:h,expandIconSize:g,expandIconHalfInner:_,expandIconScale:v,calc:y}=e,b=`${Y(i)} ${o} ${s}`,x=y(m).sub(i).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:l},[`${t}-row-expand-icon-cell`]:{textAlign:`center`,[`${t}-row-expand-icon`]:{display:`inline-flex`,float:`none`,verticalAlign:`sub`}},[`${t}-row-indent`]:{height:1,float:`left`},[`${t}-row-expand-icon`]:{...Zl(e),position:`relative`,float:`left`,width:g,height:g,color:`inherit`,lineHeight:Y(g),background:c,border:b,borderRadius:u,transform:`scale(${v})`,"&:focus, &:hover, &:active":{borderColor:`currentcolor`},"&::before, &::after":{position:`absolute`,background:`currentcolor`,transition:`transform ${r} ease-out`,content:`""`},"&::before":{top:_,insetInlineEnd:x,insetInlineStart:x,height:i},"&::after":{top:x,bottom:x,insetInlineStart:_,width:i,transform:`rotate(90deg)`},"&-collapsed::before":{transform:`rotate(-180deg)`},"&-collapsed::after":{transform:`rotate(0deg)`},"&-spaced":{"&::before, &::after":{display:`none`,content:`none`},background:`transparent`,border:0,visibility:`hidden`}},[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:h,marginInlineEnd:a},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:p}},[`${n}-descriptions-view`]:{display:`flex`,table:{flex:`auto`,width:`100%`}}},[`${t}-expanded-row-fixed`]:{position:`relative`,margin:`${Y(y(d).mul(-1).equal())} ${Y(y(f).mul(-1).equal())}`,padding:`${Y(d)} ${Y(f)}`}}}},JQ=e=>{let{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:i,tableFilterDropdownSearchWidth:a,paddingXXS:o,paddingXS:s,colorText:c,lineWidth:l,lineType:u,tableBorderColor:d,headerIconColor:f,fontSizeSM:p,tablePaddingHorizontal:m,borderRadius:h,motionDurationSlow:g,colorIcon:_,colorPrimary:v,tableHeaderFilterActiveBg:y,colorTextDisabled:b,tableFilterDropdownBg:x,tableFilterDropdownHeight:S,controlItemBgHover:C,controlItemBgActive:w,boxShadowSecondary:T,filterDropdownMenuBg:E,calc:D}=e,O=`${n}-dropdown`,k=`${t}-filter-dropdown`,A=`${n}-tree`,j=`${Y(l)} ${u} ${d}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:`flex`,justifyContent:`space-between`},[`${t}-filter-trigger`]:{position:`relative`,display:`flex`,alignItems:`center`,marginBlock:D(o).mul(-1).equal(),marginInline:`${Y(o)} ${Y(D(m).div(2).mul(-1).equal())}`,padding:`0 ${Y(o)}`,color:f,fontSize:p,borderRadius:h,cursor:`pointer`,transition:`all ${g}`,"&:hover":{color:_,background:y},"&.active":{color:v}}}},{[`${n}-dropdown`]:{[k]:{...Ul(e),minWidth:i,backgroundColor:x,borderRadius:h,boxShadow:T,overflow:`hidden`,[`${O}-menu`]:{maxHeight:S,overflowX:`hidden`,border:0,boxShadow:`none`,borderRadius:`unset`,backgroundColor:E,"&:empty::after":{display:`block`,padding:`${Y(s)} 0`,color:b,fontSize:p,textAlign:`center`,content:`"Not Found"`}},[`${k}-tree`]:{paddingBlock:`${Y(s)} 0`,paddingInline:s,[A]:{padding:0},[`${A}-treenode ${A}-node-content-wrapper:hover`]:{backgroundColor:C},[`${A}-treenode-checkbox-checked ${A}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:w}}},[`${k}-search`]:{padding:s,borderBottom:j,"&-input":{input:{minWidth:a},[r]:{color:b}}},[`${k}-checkall`]:{width:`100%`,marginBottom:o,marginInlineStart:o},[`${k}-btns`]:{display:`flex`,justifyContent:`space-between`,padding:`${Y(D(s).sub(l).equal())} ${Y(s)}`,overflow:`hidden`,borderTop:j}}}},{[`${n}-dropdown ${k}, ${k}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:s,color:c},"> ul":{maxHeight:`calc(100vh - 130px)`,overflowX:`hidden`,overflowY:`auto`}}}]};function YQ({colorSplit:e}){return[{boxShadow:`inset 10px 0 8px -8px ${e}`},{boxShadow:`inset -10px 0 8px -8px ${e}`}]}var XQ=e=>{let{componentCls:t,lineWidth:n,motionDurationSlow:r,zIndexTableFixed:i,tableBg:a,calc:o}=e,s=`${t}-cell`,c=`${s}-fix`,l={position:`absolute`,top:0,bottom:o(n).mul(-1).equal(),width:30,transition:`box-shadow ${r}`,content:`""`,pointerEvents:`none`},[u,d]=YQ(e);return{[`${t}-wrapper`]:{[`${s}${c}`]:{position:`sticky`},[c]:{zIndex:`calc(var(--z-offset-reverse) + ${i})`,background:a,"&:after":l,"&-start:after":{insetInlineStart:`100%`},"&-end:after":{insetInlineEnd:`100%`},"&-start-shadow-show:after":u,"&-end-shadow-show:after":d},[`${t}-container`]:{position:`relative`,"&:before, &:after":{...l,zIndex:`calc(var(--columns-count) * 2 + ${i} + 1)`},"&:before":{insetInlineStart:0},"&:after":{insetInlineEnd:0}},[`${t}-has-fix-start ${t}-container:before`]:{display:`none`},[`${t}-has-fix-end ${t}-container:after`]:{display:`none`},[`${t}-fix-start-shadow-show ${t}-container:before`]:u,[`${t}-fix-end-shadow-show ${t}-container:after`]:d}}},ZQ=e=>{let{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${Y(r)} 0`},[`${t}-pagination`]:{display:`flex`,flexWrap:`wrap`,rowGap:e.paddingXS,"> *":{flex:`none`},"&-start":{justifyContent:`flex-start`},"&-center":{justifyContent:`center`},"&-end":{justifyContent:`flex-end`}}}}},QQ=e=>{let{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${Y(n)} ${Y(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"&::before":{borderStartStartRadius:n},"&::after":{borderStartEndRadius:n},[`> ${t}-content`]:{borderStartStartRadius:n,borderStartEndRadius:n},"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${Y(n)} ${Y(n)}`}}}}},$Q=e=>{let{componentCls:t}=e,[n,r]=YQ(e);return{[`${t}-wrapper-rtl`]:{direction:`rtl`,table:{direction:`rtl`},[`${t}-row-expand-icon`]:{float:`right`,"&::after":{transform:`rotate(-90deg)`},"&-collapsed::before":{transform:`rotate(180deg)`},"&-collapsed::after":{transform:`rotate(0deg)`}},[`${t}-cell-fix`]:{"&-start-shadow-show:after":r,"&-end-shadow-show:after":n},[`${t}-container`]:{[`${t}-row-indent`]:{float:`right`}},[`${t}-fix-start-shadow-show ${t}-container:before`]:r,[`${t}-fix-end-shadow-show ${t}-container:after`]:n}}},e$=e=>{let{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:i,padding:a,paddingXS:o,headerIconColor:s,headerIconHoverColor:c,tableSelectionColumnWidth:l,tableSelectedRowBg:u,tableSelectedRowHoverBg:d,tableRowHoverBg:f,tablePaddingHorizontal:p,calc:m}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:l,[`&${t}-selection-col-with-dropdown`]:{width:m(l).add(i).add(m(a).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:m(l).add(m(o).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:m(l).add(i).add(m(a).div(4)).add(m(o).mul(2)).equal()}},[` table tr th${t}-selection-column, table tr td${t}-selection-column, ${t}-selection-column - `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:`center`,[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:m(e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${t}-selection-column::after`]:{backgroundColor:`transparent !important`},[`${t}-selection`]:{position:`relative`,display:`inline-flex`,flexDirection:`column`},[`${t}-selection-extra`]:{position:`absolute`,top:0,zIndex:1,cursor:`pointer`,transition:`all ${e.motionDurationSlow}`,marginInlineStart:`100%`,paddingInlineStart:Y(m(p).div(4).equal()),[r]:{color:s,fontSize:i,verticalAlign:`baseline`,"&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:u,"&-row-hover":{background:d}}},[`> ${t}-cell-row-hover`]:{background:f}}}}}},o$=e=>{let{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,i=(e,i,a,o)=>({[`${t}${t}-${e}`]:{fontSize:o,[` + `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:`center`,[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:m(e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${t}-selection-column::after`]:{backgroundColor:`transparent !important`},[`${t}-selection`]:{position:`relative`,display:`inline-flex`,flexDirection:`column`},[`${t}-selection-extra`]:{position:`absolute`,top:0,zIndex:1,cursor:`pointer`,transition:`all ${e.motionDurationSlow}`,marginInlineStart:`100%`,paddingInlineStart:Y(m(p).div(4).equal()),[r]:{color:s,fontSize:i,verticalAlign:`baseline`,"&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:u,"&-row-hover":{background:d}}},[`> ${t}-cell-row-hover`]:{background:f}}}}}},t$=e=>{let{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,i=(e,i,a,o)=>({[`${t}${t}-${e}`]:{fontSize:o,[` ${t}-title, ${t}-footer, ${t}-cell, @@ -351,13 +351,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${t}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{padding:`${Y(i)} ${Y(a)}`},[`${t}-filter-trigger`]:{marginInlineEnd:Y(r(a).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${Y(r(i).mul(-1).equal())} ${Y(r(a).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:Y(r(i).mul(-1).equal()),marginInline:`${Y(r(n).sub(a).equal())} ${Y(r(a).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:Y(r(a).div(4).equal())}}});return{[`${t}-wrapper`]:{...i(`medium`,e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle),...i(`small`,e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall)}}},s$=e=>{let{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:i,headerIconHoverColor:a}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:`none`,cursor:`pointer`,transition:`all ${e.motionDurationSlow}, left 0s`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:`transparent !important`}},"&:focus-visible":{color:e.colorPrimary},[` + `]:{padding:`${Y(i)} ${Y(a)}`},[`${t}-filter-trigger`]:{marginInlineEnd:Y(r(a).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${Y(r(i).mul(-1).equal())} ${Y(r(a).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:Y(r(i).mul(-1).equal()),marginInline:`${Y(r(n).sub(a).equal())} ${Y(r(a).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:Y(r(a).div(4).equal())}}});return{[`${t}-wrapper`]:{...i(`medium`,e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle),...i(`small`,e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall)}}},n$=e=>{let{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:i,headerIconHoverColor:a}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:`none`,cursor:`pointer`,transition:`all ${e.motionDurationSlow}, left 0s`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:`transparent !important`}},"&:focus-visible":{color:e.colorPrimary},[` &${t}-cell-fix-left:hover, &${t}-cell-fix-right:hover - `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:`transparent !important`}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:`relative`,zIndex:1,flex:1,minWidth:0},[`${t}-column-sorters`]:{display:`flex`,flex:`auto`,alignItems:`center`,justifyContent:`space-between`,"&::after":{position:`absolute`,inset:0,width:`100%`,height:`100%`,content:`""`}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:`none`}},[`${t}-column-sorter`]:{marginInlineStart:n,color:i,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:`inline-flex`,flexDirection:`column`,alignItems:`center`},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:`-0.3em`}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:a}}}},c$=e=>{let{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:i,tableScrollThumbSize:a,tableScrollBg:o,stickyScrollBarBorderRadius:s,lineWidth:c,lineType:l,tableBorderColor:u,zIndexTableFixed:d}=e,f=`${Y(c)} ${l} ${u}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:`sticky`,zIndex:`calc(var(--columns-count) * 2 + ${d} + 1)`,background:e.colorBgContainer},"&-scroll":{position:`sticky`,bottom:0,height:`${Y(a)} !important`,zIndex:`calc(var(--columns-count) * 2 + ${d} + 1)`,display:`flex`,alignItems:`center`,background:o,borderTop:f,opacity:n,"&:hover":{transformOrigin:`center bottom`},"&-bar":{height:a,backgroundColor:r,borderRadius:s,transition:`all ${e.motionDurationSlow}, transform 0s`,position:`absolute`,bottom:0,"&:hover, &-active":{backgroundColor:i}}}}}}},l$=e=>{let{componentCls:t,lineWidth:n,tableBorderColor:r,calc:i}=e,a=`${Y(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:`relative`,zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:a}}},[`div${t}-summary`]:{boxShadow:`0 ${Y(i(n).mul(-1).equal())} 0 ${r}`}}}},u$=e=>{let{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:i,tableBorderColor:a,calc:o}=e,s=`${Y(r)} ${i} ${a}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-tbody-virtual-holder-inner`]:{[` + `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:`transparent !important`}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:`relative`,zIndex:1,flex:1,minWidth:0},[`${t}-column-sorters`]:{display:`flex`,flex:`auto`,alignItems:`center`,justifyContent:`space-between`,"&::after":{position:`absolute`,inset:0,width:`100%`,height:`100%`,content:`""`}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:`none`}},[`${t}-column-sorter`]:{marginInlineStart:n,color:i,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:`inline-flex`,flexDirection:`column`,alignItems:`center`},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:`-0.3em`}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:a}}}},r$=e=>{let{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:i,tableScrollThumbSize:a,tableScrollBg:o,stickyScrollBarBorderRadius:s,lineWidth:c,lineType:l,tableBorderColor:u,zIndexTableFixed:d}=e,f=`${Y(c)} ${l} ${u}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:`sticky`,zIndex:`calc(var(--columns-count) * 2 + ${d} + 1)`,background:e.colorBgContainer},"&-scroll":{position:`sticky`,bottom:0,height:`${Y(a)} !important`,zIndex:`calc(var(--columns-count) * 2 + ${d} + 1)`,display:`flex`,alignItems:`center`,background:o,borderTop:f,opacity:n,"&:hover":{transformOrigin:`center bottom`},"&-bar":{height:a,backgroundColor:r,borderRadius:s,transition:`all ${e.motionDurationSlow}, transform 0s`,position:`absolute`,bottom:0,"&:hover, &-active":{backgroundColor:i}}}}}}},i$=e=>{let{componentCls:t,lineWidth:n,tableBorderColor:r,calc:i}=e,a=`${Y(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:`relative`,zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:a}}},[`div${t}-summary`]:{boxShadow:`0 ${Y(i(n).mul(-1).equal())} 0 ${r}`}}}},a$=e=>{let{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:i,tableBorderColor:a,calc:o}=e,s=`${Y(r)} ${i} ${a}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-tbody-virtual-holder-inner`]:{[` & > ${t}-row, & > div:not(${t}-row) > ${t}-row - `]:{display:`flex`,boxSizing:`border-box`,width:`100%`}},[`${t}-cell`]:{borderBottom:s,transition:`background-color ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:`sticky`,insetInlineStart:0,overflow:`hidden`,width:`calc(var(--virtual-width) - ${Y(r)})`,borderInlineEnd:`none`}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:`""`,insetInline:0,bottom:0,borderBottom:s,position:`absolute`},[`${t}-cell`]:{borderInlineEnd:s,[`&${t}-cell-fix-right-first:before`]:{content:`""`,position:`absolute`,insetBlock:0,insetInlineStart:o(r).mul(-1).equal(),borderInlineStart:s}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:s,borderBottom:s}}}}}},d$=e=>{let{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:i,tableExpandColumnWidth:a,lineWidth:o,lineType:s,tableBorderColor:c,tableFontSize:l,tableBg:u,tableRadius:d,tableHeaderTextColor:f,motionDurationMid:p,tableHeaderBg:m,tableHeaderCellSplitColor:h,tableFooterTextColor:g,tableFooterBg:_,calc:v}=e,y=`${Y(o)} ${s} ${c}`;return{[`${t}-wrapper`]:{clear:`both`,maxWidth:`100%`,"--rc-virtual-list-scrollbar-bg":e.tableScrollBg,...Gl(),[t]:{...Ul(e),fontSize:l,background:u,borderRadius:`${Y(d)} ${Y(d)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`},table:{width:`100%`,textAlign:`start`,borderRadius:`${Y(d)} ${Y(d)} 0 0`,borderCollapse:`separate`,borderSpacing:0},[` + `]:{display:`flex`,boxSizing:`border-box`,width:`100%`}},[`${t}-cell`]:{borderBottom:s,transition:`background-color ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:`sticky`,insetInlineStart:0,overflow:`hidden`,width:`calc(var(--virtual-width) - ${Y(r)})`,borderInlineEnd:`none`}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:`""`,insetInline:0,bottom:0,borderBottom:s,position:`absolute`},[`${t}-cell`]:{borderInlineEnd:s,[`&${t}-cell-fix-right-first:before`]:{content:`""`,position:`absolute`,insetBlock:0,insetInlineStart:o(r).mul(-1).equal(),borderInlineStart:s}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:s,borderBottom:s}}}}}},o$=e=>{let{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:i,tableExpandColumnWidth:a,lineWidth:o,lineType:s,tableBorderColor:c,tableFontSize:l,tableBg:u,tableRadius:d,tableHeaderTextColor:f,motionDurationMid:p,tableHeaderBg:m,tableHeaderCellSplitColor:h,tableFooterTextColor:g,tableFooterBg:_,calc:v}=e,y=`${Y(o)} ${s} ${c}`;return{[`${t}-wrapper`]:{clear:`both`,maxWidth:`100%`,"--rc-virtual-list-scrollbar-bg":e.tableScrollBg,...Gl(),[t]:{...Ul(e),fontSize:l,background:u,borderRadius:`${Y(d)} ${Y(d)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`},table:{width:`100%`,textAlign:`start`,borderRadius:`${Y(d)} ${Y(d)} 0 0`,borderCollapse:`separate`,borderSpacing:0},[` ${t}-cell, ${t}-thead > tr > th, ${t}-tbody > tr > th, @@ -368,47 +368,47 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho > ${t}-wrapper:only-child, > ${t}-expanded-row-fixed > ${t}-wrapper:only-child `]:{[t]:{marginBlock:Y(v(r).mul(-1).equal()),marginInline:`${Y(v(a).sub(i).equal())} - ${Y(v(i).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:`relative`,color:f,fontWeight:n,textAlign:`start`,background:m,borderBottom:y,transition:`background-color ${p} ease`},[`& > ${t}-measure-cell`]:{paddingBlock:`0 !important`,borderBlock:`0 !important`,[`${t}-measure-cell-content`]:{height:0,overflow:`hidden`,pointerEvents:`none`}}}},[`${t}-footer`]:{padding:`${Y(r)} ${Y(i)}`,color:g,background:_}}}},f$=e=>{let{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:i,colorFillContent:a,controlItemBgActive:o,controlItemBgActiveHover:s,padding:c,paddingSM:l,paddingXS:u,colorBorderSecondary:d,borderRadiusLG:f,controlHeight:p,colorTextPlaceholder:m,fontSize:h,fontSizeSM:g,lineHeight:_,lineWidth:v,colorIcon:y,colorIconHover:b,opacityLoading:x,controlInteractiveSize:S}=e,C=new Nc(i).onBackground(n).toHexString(),w=new Nc(a).onBackground(n).toHexString(),T=new Nc(t).onBackground(n).toHexString(),E=new Nc(y),D=new Nc(b),O=S/2-v,k=O*2+v*3;return{headerBg:T,headerColor:r,headerSortActiveBg:C,headerSortHoverBg:w,bodySortBg:T,rowHoverBg:T,rowSelectedBg:o,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:l,cellPaddingInlineMD:u,cellPaddingBlockSM:u,cellPaddingInlineSM:u,borderColor:d,headerBorderRadius:f,footerBg:T,footerColor:r,cellFontSize:h,cellFontSizeMD:h,cellFontSizeSM:h,headerSplitColor:d,fixedHeaderSortActiveBg:C,headerFilterHoverBg:a,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:p,stickyScrollBarBg:m,stickyScrollBarBorderRadius:100,expandIconMarginTop:(h*_-v*3)/2-Math.ceil((g*1.4-v*3)/2),headerIconColor:E.clone().setA(E.a*x).toRgbString(),headerIconHoverColor:D.clone().setA(D.a*x).toRgbString(),expandIconHalfInner:O,expandIconSize:k,expandIconScale:S/k}},p$=2,m$=Ql(`Table`,e=>{let{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:i,headerBg:a,headerColor:o,headerSortActiveBg:s,headerSortHoverBg:c,bodySortBg:l,rowHoverBg:u,rowSelectedBg:d,rowSelectedHoverBg:f,rowExpandedBg:p,cellPaddingBlock:m,cellPaddingInline:h,cellPaddingBlockMD:g,cellPaddingInlineMD:_,cellPaddingBlockSM:v,cellPaddingInlineSM:y,borderColor:b,footerBg:x,footerColor:S,headerBorderRadius:C,cellFontSize:w,cellFontSizeMD:T,cellFontSizeSM:E,headerSplitColor:D,fixedHeaderSortActiveBg:O,headerFilterHoverBg:k,filterDropdownBg:A,expandIconBg:j,selectionColumnWidth:M,stickyScrollBarBg:N,calc:P}=e,F=dc(e,{tableFontSize:w,tableBg:r,tableRadius:C,tablePaddingVertical:m,tablePaddingHorizontal:h,tablePaddingVerticalMiddle:g,tablePaddingHorizontalMiddle:_,tablePaddingVerticalSmall:v,tablePaddingHorizontalSmall:y,tableBorderColor:b,tableHeaderTextColor:o,tableHeaderBg:a,tableFooterTextColor:S,tableFooterBg:x,tableHeaderCellSplitColor:D,tableHeaderSortBg:s,tableHeaderSortHoverBg:c,tableBodySortBg:l,tableFixedHeaderSortActiveBg:O,tableHeaderFilterActiveBg:k,tableFilterDropdownBg:A,tableRowHoverBg:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:f,zIndexTableFixed:p$,tableFontSizeMiddle:T,tableFontSizeSmall:E,tableSelectionColumnWidth:M,tableExpandIconBg:j,tableExpandColumnWidth:P(i).add(P(e.padding).mul(2)).equal(),tableExpandedRowBg:p,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:N,tableScrollThumbBgHover:t,tableScrollBg:n});return[d$(F),n$(F),l$(F),s$(F),$Q(F),YQ(F),r$(F),QQ(F),l$(F),ZQ(F),a$(F),t$(F),c$(F),XQ(F),o$(F),i$(F),u$(F)]},f$,{resetFont:!1,unitless:{expandIconScale:!0}}),h$=[],g$=S.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:i,style:a,classNames:o,styles:s,size:c,bordered:l,dropdownPrefixCls:u,dataSource:d,pagination:f,rowSelection:p,rowKey:m,rowClassName:h,columns:g,children:_,childrenColumnName:v,onChange:y,getPopupContainer:b,loading:x,expandIcon:C,expandable:w,expandedRowRender:T,expandIconColumnIndex:E,indentSize:D,scroll:O,sortDirections:k,locale:A,showSorterTooltip:j={target:`full-header`},virtual:M}=e;Gi(`Table`);let N=S.useMemo(()=>g||RY(_),[g,_]),P=fw(S.useMemo(()=>N.some(e=>e.responsive),[N])),F=S.useMemo(()=>{let e=new Set(Object.keys(P).filter(e=>P[e]));return N.filter(t=>!t.responsive||t.responsive.some(t=>e.has(t)))},[N,P]),I=gi(e,[`className`,`style`,`columns`]),{locale:L=Hd,table:R}=S.useContext(ga),{getPrefixCls:z,direction:B,renderEmpty:V,getPopupContainer:H,className:U,style:W,classNames:ee,styles:te}=ya(`table`),ne=wh(e=>c===`middle`?`medium`:c??e),re={...e,size:ne,bordered:l},[G,ie]=Cf([ee,o],[te,s],{props:re},{pagination:{_default:`root`},header:{_default:`wrapper`},body:{_default:`wrapper`}}),K={...L.Table,...A},[ae]=Yd(`global`,Hd.global),q=d||h$,oe=z(`table`,n),se=z(`dropdown`,u),[,ce]=Vl(),le=S.useMemo(()=>nf(p)?{columnWidth:ce.Table?.selectionColumnWidth,...p}:p,[p,ce.Table?.selectionColumnWidth]),ue=sp(oe),[de,fe]=m$(oe,ue),pe={childrenColumnName:v,expandIconColumnIndex:E,...w,expandIcon:w?.expandIcon??R?.expandable?.expandIcon},{childrenColumnName:me=`children`}=pe,he=S.useMemo(()=>q.some(e=>e?.[me])?`nest`:T||w?.expandedRowRender?`row`:null,[me,q]),ge={body:S.useRef(null)},_e=ZX(oe),ve=S.useRef(null),ye=S.useRef(null);kf(t,()=>({...ye.current,nativeElement:ve.current}));let be=m||R?.rowKey||`key`,xe=O??R?.scroll,Se=S.useMemo(()=>typeof be==`function`?be:e=>e?.[be],[be]),[Ce]=TQ(q,me,Se),we={},Te=(e,t,n=!1)=>{let r={...we,...e};n&&(we.resetPagination?.(),r.pagination?.current&&(r.pagination.current=1),f&&f.onChange?.(1,r.pagination?.pageSize)),O&&O.scrollToFirstRowOnChange!==!1&&ge.body.current&&op(0,{getContainer:()=>ge.body.current}),y?.(r.pagination,r.filters,r.sorter,{currentDataSource:SQ(UQ(q,r.sorterStates,me),r.filterStates,me),action:t})},[Ee,De,Oe,ke]=WQ({prefixCls:oe,mergedColumns:F,onSorterChange:(e,t)=>{Te({sorter:e,sorterStates:t},`sort`,!1)},sortDirections:k||[`ascend`,`descend`],tableLocale:K,showSorterTooltip:j,globalLocale:ae}),Ae=S.useMemo(()=>UQ(q,De,me),[me,q,De]);we.sorter=ke(),we.sorterStates=De;let[je,Me,Ne]=wQ({prefixCls:oe,locale:K,dropdownPrefixCls:se,mergedColumns:F,onFilterChange:(e,t)=>{Te({filters:e,filterStates:t},`filter`,!0)},getPopupContainer:b||H,rootClassName:J(i,ue)}),Pe=SQ(Ae,Me,me);we.filters=Ne,we.filterStates=Me;let[Fe]=KQ(S.useMemo(()=>{let e={};return Object.keys(Ne).forEach(t=>{Ne[t]!==null&&(e[t]=Ne[t])}),{...Oe,filters:e}},[Oe,Ne])),[Ie,Le]=DQ(Pe.length,(e,t)=>{Te({pagination:{...we.pagination,current:e,pageSize:t}},`paginate`)},f);we.pagination=f===!1?{}:EQ(Ie,f),we.resetPagination=Le;let Re=S.useMemo(()=>{if(f===!1||!Ie.pageSize)return Pe;let{current:e=1,total:t,pageSize:n=10}=Ie;return Pe.lengthn?Pe.slice((e-1)*n,e*n):Pe:Pe.slice((e-1)*n,e*n)},[!!f,Pe,Ie?.current,Ie?.pageSize,Ie?.total]),[ze,Be]=YX({prefixCls:oe,data:Pe,pageData:Re,getRowKey:Se,getRecordByKey:Ce,expandType:he,childrenColumnName:me,locale:K,getPopupContainer:b||H},le),Ve=(e,t,n)=>{let r=typeof h==`function`?h(e,t,n):h;return J({[`${oe}-row-selected`]:Be.has(Se(e,t))},r)};pe.__PARENT_RENDER_ICON__=pe.expandIcon,pe.expandIcon=pe.expandIcon||C||XX(K),he===`nest`&&pe.expandIconColumnIndex===void 0?pe.expandIconColumnIndex=+!!le:pe.expandIconColumnIndex>0&&le&&--pe.expandIconColumnIndex,typeof pe.indentSize!=`number`&&(pe.indentSize=ef(D)?D:15);let He=S.useCallback(e=>Fe(ze(je(Ee(e)))),[Ee,je,ze]),Ue,We;if(f!==!1&&Ie?.total){let e;e=Ie.size?Ie.size:ne===`small`||ne===`medium`?`small`:void 0;let t=(t=`end`)=>S.createElement(rK,{...Ie,classNames:G.pagination,styles:ie.pagination,className:J(`${oe}-pagination ${oe}-pagination-${t}`,Ie.className),size:e}),{placement:n,position:r}=Ie,i=n??r,a=e=>{let t=e.toLowerCase();return t.includes(`center`)?`center`:t.includes(`left`)||t.includes(`start`)?`start`:`end`};if(Array.isArray(i)){let[e,n]=[`top`,`bottom`].map(e=>i.find(t=>t.includes(e))),r=i.every(e=>`${e}`==`none`);!e&&!n&&!r&&(We=t()),e&&(Ue=t(a(e))),n&&(We=t(a(n)))}else We=t()}let Ge=S.useMemo(()=>{if(typeof x==`boolean`)return{spinning:x};if(nf(x))return{spinning:!0,...x}},[x]),Ke=J(fe,ue,`${oe}-wrapper`,U,{[`${oe}-wrapper-rtl`]:B===`rtl`},r,i,G.root,de),qe={...ie.root,...W,...a},Je=S.useMemo(()=>Ge?.spinning&&q===h$?null:A?.emptyText===void 0?V?.(`Table`)||S.createElement(kC,{componentName:`Table`}):A.emptyText,[Ge?.spinning,q,A?.emptyText,V]),Ye=M?JQ:qQ,Xe={},Ze=S.useMemo(()=>{let{fontSize:e,lineHeight:t,lineWidth:n,padding:r,paddingXS:i,paddingSM:a}=ce,o=Math.floor(e*t);switch(ne){case`medium`:return a*2+o+n;case`small`:return i*2+o+n;default:return r*2+o+n}},[ce,ne]);return M&&(Xe.listItemHeight=Ze),S.createElement(`div`,{ref:ve,className:Ke,style:qe},S.createElement(wK,{spinning:!1,...Ge},Ue,S.createElement(Ye,{...Xe,...I,scroll:xe,classNames:G,styles:ie,ref:ye,columns:F,direction:B,expandable:pe,prefixCls:oe,className:J({[`${oe}-medium`]:ne===`medium`,[`${oe}-small`]:ne===`small`,[`${oe}-bordered`]:l,[`${oe}-empty`]:q.length===0},fe,ue,de),data:Re,rowKey:Se,rowClassName:Ve,emptyText:Je,internalHooks:MJ,internalRefs:ge,transformColumns:He,getContainerWidth:_e,measureRowRender:e=>S.createElement(Iw.Provider,{value:!0},S.createElement(Nm,{getPopupContainer:e=>e},e))}),We))}),_$=S.forwardRef((e,t)=>{let n=S.useRef(0);return n.current+=1,S.createElement(g$,{...e,ref:t,_renderTimes:n.current})});_$.SELECTION_COLUMN=UX,_$.EXPAND_COLUMN=jJ,_$.SELECTION_ALL=WX,_$.SELECTION_INVERT=GX,_$.SELECTION_NONE=KX,_$.Column=CX,_$.ColumnGroup=wX,_$.Summary=lY;var v$=_$,y$=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:i,calc:a}=e,o=a(r).sub(n).equal(),s=a(t).sub(n).equal();return{[i]:{...Ul(e),display:`inline-block`,height:`auto`,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:`nowrap`,backgroundColor:e.defaultBg,border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:`start`,position:`relative`,[`&${i}-rtl`]:{direction:`rtl`},"&, a, a:hover":{color:e.defaultColor},[`${i}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorIcon,cursor:`pointer`,transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},"&-checkable":{backgroundColor:`transparent`,borderColor:`transparent`,cursor:`pointer`,[`&:not(${i}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive},"&-disabled":{cursor:`not-allowed`,[`&:not(${i}-checkable-checked)`]:{color:e.colorTextDisabled,"&:hover":{backgroundColor:`transparent`}},[`&${i}-checkable-checked`]:{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled},"&:hover, &:active":{backgroundColor:e.colorBgContainerDisabled,color:e.colorTextDisabled},[`&:not(${i}-checkable-checked):hover`]:{color:e.colorTextDisabled}},"&-group":{display:`flex`,flexWrap:`wrap`,gap:e.paddingXS}},"&-hidden":{display:`none`},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}},[`&${e.componentCls}-solid`]:{borderColor:`transparent`,color:e.colorTextLightSolid,backgroundColor:e.colorBgSolid,[`&${i}-default`]:{color:e.solidTextColor}},[`${i}-filled`]:{borderColor:`transparent`,backgroundColor:e.tagBorderlessBg},[`&${i}-disabled`]:{color:e.colorTextDisabled,cursor:`not-allowed`,backgroundColor:e.colorBgContainerDisabled,a:{cursor:`not-allowed`,pointerEvents:`none`,color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}},"a&":{"&:hover, &:active":{color:e.colorTextDisabled}},[`&${i}-outlined`]:{borderColor:e.colorBorderDisabled},[`&${i}-solid, &${i}-filled`]:{color:e.colorTextDisabled,[`${i}-close-icon`]:{color:e.colorTextDisabled}},[`${i}-close-icon`]:{cursor:`not-allowed`,color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}}}}},b$=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,i=e.fontSizeSM;return dc(e,{tagFontSize:i,tagLineHeight:Y(r(e.lineHeightSM).mul(i).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},x$=e=>{let t=a_(new Ig(e.colorBgSolid),`#fff`)?`#000`:`#fff`;return{defaultBg:new Nc(e.colorFillTertiary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText,solidTextColor:t}},S$=Ql(`Tag`,e=>y$(b$(e)),x$),C$=S.forwardRef((e,t)=>{let{prefixCls:n,style:r,className:i,checked:a,children:o,icon:s,onChange:c,onClick:l,disabled:u,...d}=e,{getPrefixCls:f,tag:p}=S.useContext(ga),m=S.useContext(mm),h=u??m,g=e=>{h||(c?.(!a),l?.(e))},_=f(`tag`,n),[v,y]=S$(_),b=J(_,`${_}-checkable`,{[`${_}-checkable-checked`]:a,[`${_}-checkable-disabled`]:h},p?.className,i,v,y);return S.createElement(`span`,{...d,ref:t,style:{...r,...p?.style},className:b,onClick:g},s,S.createElement(`span`,null,o))}),w$=S.forwardRef((e,t)=>{let{id:n,prefixCls:r,rootClassName:i,className:a,style:o,classNames:s,styles:c,disabled:l,options:u,value:d,defaultValue:f,onChange:p,multiple:m,...h}=e,{getPrefixCls:g,direction:_,className:v,style:y,classNames:b,styles:x}=ya(`tag`),C=g(`tag`,r),w=`${C}-checkable-group`,[T,E]=S$(C,sp(C)),[D,O]=Cf([b,s],[x,c],{props:e}),k=(0,S.useMemo)(()=>Array.isArray(u)?u.map(e=>nf(e)?e:{value:e,label:e}):[],[u]),[A,j]=Gn(f,d),M=(e,t)=>{let n=null;if(m){let r=A||[];n=e?[].concat(pa(r),[t.value]):r.filter(e=>e!==t.value)}else n=e?t.value:null;j(n),p?.(n)},N=S.useRef(null);(0,S.useImperativeHandle)(t,()=>({nativeElement:N.current}));let P=xi(h,{aria:!0,data:!0});return S.createElement(`div`,{...P,className:J(w,v,i,{[`${w}-disabled`]:l,[`${w}-rtl`]:_===`rtl`},T,E,a,D.root),style:{...y,...O.root,...o},id:n,ref:N},k.map(e=>S.createElement(C$,{key:e.value,className:J(`${w}-item`,D.item),style:O.item,checked:m?(A||[]).includes(e.value):A===e.value,onChange:t=>M(t,e),disabled:l},e.label)))});function T$(e,t){let{color:n,variant:r,bordered:i}=e;return S.useMemo(()=>{let e=n?.endsWith(`-inverse`),a;a=r||(e?`solid`:i===!1?`filled`:t||`filled`);let o=e?n?.replace(`-inverse`,``):n,s=Ww(n),c=Gw(n),l={};if(!s&&!c&&o)if(a===`solid`)l.backgroundColor=n;else{let e=new Nc(o).toHsl();e.l=.95,l.backgroundColor=new Nc(e).toHexString(),l.color=n,a===`outlined`&&(l.borderColor=n)}return[a,o,s,c,l]},[n,r,i,t])}var E$=e=>nu(e,(t,{textColor:n,lightBorderColor:r,lightColor:i,darkColor:a})=>({[`${e.componentCls}${e.componentCls}-${t}:not(${e.componentCls}-disabled)`]:{[`&${e.componentCls}-outlined`]:{backgroundColor:i,borderColor:r,color:n},[`&${e.componentCls}-solid`]:{backgroundColor:a,borderColor:a,color:e.colorTextLightSolid},[`&${e.componentCls}-filled`]:{backgroundColor:i,color:n}}})),D$=eu([`Tag`,`preset`],e=>E$(b$(e)),x$);function O$(e){return typeof e==`string`?e.charAt(0).toUpperCase()+e.slice(1):e}var k$=(e,t,n)=>{let r=O$(n);return{[`${e.componentCls}${e.componentCls}-${t}:not(${e.componentCls}-disabled)`]:{[`&${e.componentCls}-outlined`]:{backgroundColor:e[`color${r}Bg`],borderColor:e[`color${r}Border`],color:e[`color${n}`]},[`&${e.componentCls}-solid`]:{backgroundColor:e[`color${n}`],borderColor:e[`color${n}`]},[`&${e.componentCls}-filled`]:{backgroundColor:e[`color${r}Bg`],color:e[`color${n}`]}}}},A$=eu([`Tag`,`status`],e=>{let t=b$(e);return[k$(t,`success`,`Success`),k$(t,`processing`,`Info`),k$(t,`error`,`Error`),k$(t,`warning`,`Warning`)]},x$),j$=S.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:i,style:a,children:o,icon:s,color:c,variant:l,onClose:u,bordered:d,disabled:f,href:p,target:m,styles:h,classNames:g,..._}=e,{getPrefixCls:v,direction:y,className:b,variant:x,style:C,classNames:w,styles:T}=ya(`tag`),[E,D,O,k,A]=T$(e,x),j=O||k,M=S.useContext(mm),N=f??M,{tag:P}=S.useContext(ga),[F,I]=S.useState(!0),L=gi(_,[`closeIcon`,`closable`]),R={...e,color:D,variant:E,disabled:N},[z,B]=Cf([w,g],[T,h],{props:R}),V=S.useMemo(()=>{let e={...B.root,...C,...a};return N||(e={...A,...e}),e},[B.root,C,a,A,N]),H=v(`tag`,n),[U,W]=S$(H),ee=J(H,b,z.root,`${H}-${E}`,{[`${H}-${D}`]:j,[`${H}-hidden`]:!F,[`${H}-rtl`]:y===`rtl`,[`${H}-disabled`]:N},r,i,U,W),te=e=>{N||(e.stopPropagation(),u?.(e),!e.defaultPrevented&&I(!1))},[,ne]=pf(sf(e),sf(P),{closable:!1,closeIconRender:e=>cm(e,S.createElement(`span`,{className:`${H}-close-icon`,onClick:te},e),e=>({onClick:t=>{e?.onClick?.(t),te(t)},className:J(e?.className,`${H}-close-icon`)}))}),re=typeof _.onClick==`function`||o&&o.type===`a`,G=lm(s,{className:J(S.isValidElement(s)?s.props?.className:void 0,z.icon),style:B.icon}),ie=G?S.createElement(S.Fragment,null,G,o&&S.createElement(`span`,{className:z.content,style:B.content},o)):o,K=p?`a`:`span`,ae=S.createElement(K,{...L,ref:t,className:ee,style:V,href:N?void 0:p,target:m,onClick:N?void 0:L.onClick,...p&&N?{"aria-disabled":!0}:{}},ie,ne,O&&S.createElement(D$,{key:`preset`,prefixCls:H}),k&&S.createElement(A$,{key:`status`,prefixCls:H}));return re?S.createElement(Ch,{component:`Tag`},ae):ae});j$.CheckableTag=C$,j$.CheckableTagGroup=w$;var M$=e=>{let t=new Map;return e.forEach((e,n)=>{t.set(e,n)}),t},N$=e=>{let t=new Map;return e.forEach(({disabled:e,key:n},r)=>{e&&t.set(n,r)}),t};function P$(e,t){let n=e===`right`;return t===`rtl`?n?S.createElement(cT,null):S.createElement(zg,null):n?S.createElement(zg,null):S.createElement(cT,null)}var F$=({type:e,actions:t,moveToLeft:n,moveToRight:r,leftActive:i,rightActive:a,direction:o,disabled:s})=>{let c=e===`right`,l=c?t[0]:t[1],u=c?r:n,d=c?a:i,f=P$(e,o);if(S.isValidElement(l)){let e=l;return S.cloneElement(e,{disabled:s||!d,onClick:t=>{e?.props?.onClick?.(t),u?.(t)}})}return S.createElement(m_,{type:`primary`,size:`small`,disabled:s||!d,onClick:e=>u?.(e),icon:f},l)},I$=e=>{let{className:t,style:n,oneWay:r,actions:i,...a}=e;return S.createElement(`div`,{className:t,style:n},S.createElement(F$,{type:`right`,actions:i,...a}),!r&&S.createElement(F$,{type:`left`,actions:i,...a}),i.slice(r?1:2))},L$=(e,t,n)=>{let r=S.useMemo(()=>(e||[]).map(e=>t?{...e,key:t(e)}:e),[e,t]),[i,a]=S.useMemo(()=>{let e=[],t=Array.from({length:n?.length??0}),i=M$(n||[]);return r.forEach(n=>{if(i.has(n.key)){let e=i.get(n.key);t[e]=n}else e.push(n)}),[e,t]},[r,n]);return[r,i.filter(Boolean),a.filter(Boolean)]},R$=[];function z$(e,t){let n=e.filter(e=>t.has(e));return e.length===n.length?e:n}function B$(e){return Array.from(e).join(`;`)}function V$(e,t,n){let[r,i]=S.useMemo(()=>[new Set(e.map(e=>e?.key)),new Set(t.map(e=>e?.key))],[e,t]),[a,o]=Gn(R$,n),s=S.useMemo(()=>z$(a,r),[a,r]),c=S.useMemo(()=>z$(a,i),[a,i]);return S.useEffect(()=>{o([].concat(pa(z$(a,r)),pa(z$(a,i))))},[B$(r),B$(i)]),[s,c,zn(e=>{o([].concat(pa(e),pa(c)))}),zn(e=>{o([].concat(pa(s),pa(e)))})]}var H$=e=>{let{placeholder:t=``,value:n,prefixCls:r,disabled:i,onChange:a,handleClear:o}=e,s=S.useCallback(e=>{a?.(e),e.target.value===``&&o?.()},[a]);return S.createElement(UB,{placeholder:t,className:r,value:n,onChange:s,disabled:i,allowClear:!0,prefix:S.createElement($C,null)})},U$=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z`}}]},name:`delete`,theme:`outlined`}}))());function W$(){return W$=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,W$({},e,{ref:t,icon:U$.default}))),K$=S.memo(e=>{let{prefixCls:t,classNames:n,styles:r,renderedText:i,renderedEl:a,item:o,checked:s,disabled:c,onClick:l,onRemove:u,showRemove:d}=e,f=c||o?.disabled,p=J(`${t}-content-item`,n.item,{[`${t}-content-item-disabled`]:f,[`${t}-content-item-checked`]:s&&!f}),m;(typeof i==`string`||ef(i))&&(m=String(i));let[h]=Yd(`Transfer`,Hd.Transfer),g={className:p,style:r.item,title:m},_=S.createElement(`span`,{className:J(`${t}-content-item-text`,n.itemContent),style:r.itemContent},a);return d?S.createElement(`li`,{...g},_,S.createElement(`button`,{type:`button`,disabled:f,className:`${t}-content-item-remove`,"aria-label":h?.remove,onClick:()=>u?.(o)},S.createElement(G$,null))):(g.onClick=f?void 0:e=>l(o,e),S.createElement(`li`,{...g},S.createElement(Iz,{className:J(`${t}-checkbox`,n.itemIcon),style:r.itemIcon,checked:s,disabled:f}),_))}),q$=[`handleFilter`,`handleClear`,`checkedKeys`],J$=e=>({simple:!0,showSizeChanger:!1,showLessItems:!1,...e}),Y$=S.forwardRef((e,t)=>{let{prefixCls:n,classNames:r,styles:i,filteredRenderItems:a,selectedKeys:o,disabled:s,showRemove:c,pagination:l,onScroll:u,onItemSelect:d,onItemRemove:f}=e,[p,m]=S.useState(1),h=S.useMemo(()=>l?J$(nf(l)?l:{}):null,[l]),[g,_]=Gn(10,h?.pageSize);S.useEffect(()=>{if(h){let e=Math.ceil(a.length/g);m(Math.min(p,e))}},[a,h,g]);let v=(e,t)=>{d(e.key,!o.includes(e.key),t)},y=e=>{f?.([e.key])},b=e=>{m(e)},x=(e,t)=>{m(e),_(t)},C=S.useMemo(()=>h?a.slice((p-1)*g,p*g):a,[p,a,h,g]);S.useImperativeHandle(t,()=>({items:C}));let w=h?S.createElement(rK,{size:`small`,disabled:s,simple:h.simple,pageSize:g,showLessItems:h.showLessItems,showSizeChanger:h.showSizeChanger,className:`${n}-pagination`,total:a.length,current:p,onChange:b,onShowSizeChange:x}):null;return S.createElement(S.Fragment,null,S.createElement(`ul`,{className:J(`${n}-content`,r.list,{[`${n}-content-show-remove`]:c}),style:i.list,onScroll:u},(C||[]).map(({renderedEl:e,renderedText:t,item:a})=>S.createElement(K$,{key:a.key,prefixCls:n,classNames:r,styles:i,item:a,renderedText:t,renderedEl:e,showRemove:c,onClick:v,onRemove:y,checked:o.includes(a.key),disabled:s}))),w)}),X$=()=>null;function Z$(e){return!!(e&&!S.isValidElement(e)&&Object.prototype.toString.call(e)===`[object Object]`)}function Q$(e){return e.filter(e=>!e.disabled).map(e=>e.key)}function $$(e,t){for(let n of[e,t.title,t.key])if(typeof n==`string`||ef(n))return String(n);return``}var e1=e=>e!==void 0,t1=e=>nf(e)?{...e,defaultValue:e.defaultValue||``}:{defaultValue:``,placeholder:``},n1=e=>{let{prefixCls:t,style:n,classNames:r,styles:i,dataSource:a=[],titleText:o=``,checkedKeys:s,disabled:c,showSearch:l=!1,searchPlaceholder:u,notFoundContent:d,selectAll:f,deselectAll:p,selectCurrent:m,selectInvert:h,removeAll:g,removeCurrent:_,showSelectAll:v=!0,showRemove:y,pagination:b,direction:x,itemsUnit:C,itemUnit:w,selectAllLabel:T,selectionsIcon:E,footer:D,renderList:O,onItemSelectAll:k,onItemRemove:A,handleFilter:j,handleClear:M,filterOption:N,render:P=X$}=e,F=`${t}-section`,I=`${t}-list`,L=t1(l),[R,z]=(0,S.useState)(L.defaultValue),B=(0,S.useRef)({}),V=e=>{z(e.target.value),j(e)},H=()=>{z(``),M()},U=(e,t)=>typeof N==`function`?N(R,t,x):e.includes(R),W=e=>{let t=O?O({...e,onItemSelect:(t,n)=>e.onItemSelect(t,n)}):null,n=!!t;return n||(t=S.createElement(Y$,{ref:B,...e,prefixCls:I})),{customize:n,bodyContent:t}},ee=e=>{let t=P(e),n=Z$(t);return{item:e,renderedEl:n?t.label:t,renderedText:n?t.value:$$(t,e)}},te=(0,S.useMemo)(()=>Array.isArray(d)?d[x===`left`?0:1]:d,[d,x]),[ne,re]=(0,S.useMemo)(()=>{let e=[],t=[];return a.forEach(n=>{let r=ee(n);R&&!U(r.renderedText,n)||(e.push(n),t.push(r))}),[e,t]},[a,R]),G=(0,S.useMemo)(()=>ne.filter(e=>s.includes(e.key)&&!e.disabled),[s,ne]),ie=(0,S.useMemo)(()=>{if(G.length===0)return`none`;let e=M$(s);return ne.every(t=>e.has(t.key)||!!t.disabled)?`all`:`part`},[G.length,s,ne]),K=()=>{let t=l?S.createElement(`div`,{className:`${I}-body-search-wrapper`},S.createElement(H$,{prefixCls:`${I}-search`,onChange:V,handleClear:H,placeholder:L.placeholder||u,value:R,disabled:c})):null,{customize:n,bodyContent:a}=W({...gi(e,q$),filteredItems:ne,filteredRenderItems:re,selectedKeys:s,classNames:r,styles:i}),o;return o=n?S.createElement(`div`,{className:`${I}-body-customize-wrapper`},a):ne.length?a:S.createElement(`div`,{className:`${I}-body-not-found`},te),S.createElement(`div`,{className:J(`${I}-body`,{[`${I}-body-with-search`]:l},r.body),style:i.body},t,o)},ae=S.createElement(Iz,{disabled:a.filter(e=>!e.disabled).length===0||c,checked:ie===`all`,indeterminate:ie===`part`,className:`${I}-checkbox`,onChange:()=>{k?.(ne.filter(e=>!e.disabled).map(({key:e})=>e),ie!==`all`)}}),q=(e,t)=>{if(T)return typeof T==`function`?T({selectedCount:e,totalCount:t}):T;let n=t>1?C:w;return S.createElement(S.Fragment,null,(e>0?`${e}/`:``)+t,` `,n)},oe=D&&(D.length<2?D(e):D(e,{direction:x})),se=oe?S.createElement(`div`,{className:J(`${I}-footer`,r.footer),style:i.footer},oe):null,ce=!y&&!b&&ae,le;le=y?[b?{key:`removeCurrent`,label:_,onClick(){let e=Q$((B.current?.items||[]).map(e=>e.item));A?.(e)}}:null,{key:`removeAll`,label:g,onClick(){A?.(Q$(ne))}}].filter(Boolean):[{key:`selectAll`,label:ie===`all`?p:f,onClick(){let e=Q$(ne);k?.(e,e.length!==s.length)}},b?{key:`selectCurrent`,label:m,onClick(){let e=B.current?.items||[];k?.(Q$(e.map(e=>e.item)),!0)}}:null,{key:`selectInvert`,label:h,onClick(){let e=Q$((B.current?.items||[]).map(e=>e.item)),t=new Set(s),n=new Set(t);e.forEach(e=>{t.has(e)?n.delete(e):n.add(e)}),k?.(pa(n),`replace`)}}];let ue=S.createElement(WH,{className:`${I}-header-dropdown`,menu:{items:le},disabled:c},e1(E)?E:S.createElement(XC,null));return S.createElement(`div`,{className:J(F,r.section,{[`${F}-with-pagination`]:!!b,[`${F}-with-footer`]:!!oe}),style:{...n,...i.section}},S.createElement(`div`,{className:J(`${I}-header`,r.header),style:i.header},v?S.createElement(S.Fragment,null,ce,ue):null,S.createElement(`span`,{className:`${I}-header-selected`},q(G.length,ne.length)),S.createElement(`span`,{className:J(`${I}-header-title`,r.title),style:i.title},o)),K(),se)},r1=e=>{let{antCls:t,componentCls:n,listHeight:r,controlHeightLG:i}=e,a=`${t}-table`,o=`${t}-input`;return{[`${n}-customize-list`]:{[`${n}-section`]:{flex:`1 1 50%`,width:`auto`,height:`auto`,minHeight:r,minWidth:0},[`${a}-wrapper`]:{[`${a}-small`]:{border:0,borderRadius:0,[`${a}-selection-column`]:{width:i,minWidth:i}},[`${a}-pagination${a}-pagination`]:{margin:0,padding:e.paddingXS}},[`${o}[disabled]`]:{backgroundColor:`transparent`}}}},i1=(e,t)=>{let{componentCls:n,colorBorder:r}=e;return{[`${n}-section`]:{borderColor:t,[`${n}-list-search:not([disabled])`]:{borderColor:r}}}},a1=e=>{let{componentCls:t}=e;return{[`${t}-status-error`]:{...i1(e,e.colorError)},[`${t}-status-warning`]:{...i1(e,e.colorWarning)}}},o1=e=>{let{componentCls:t,colorBorder:n,colorSplit:r,lineWidth:i,itemHeight:a,headerHeight:o,transferHeaderVerticalPadding:s,itemPaddingBlock:c,controlItemBgActive:l,colorTextDisabled:u,colorTextSecondary:d,listHeight:f,listWidth:p,listWidthLG:m,fontSizeIcon:h,marginXS:g,paddingSM:_,lineType:v,antCls:y,iconCls:b,motionDurationSlow:x,controlItemBgHover:S,borderRadiusLG:C,colorBgContainer:w,colorText:T,controlItemBgActiveHover:E}=e,D=Y(e.calc(C).sub(i).equal());return{display:`flex`,flexDirection:`column`,width:p,height:f,border:`${Y(i)} ${v} ${n}`,borderRadius:e.borderRadiusLG,"&-with-pagination":{width:m,height:`auto`},[`${t}-list`]:{"&-search":{[`${b}-search`]:{color:u}},"&-header":{display:`flex`,flex:`none`,alignItems:`center`,height:o,padding:`${Y(e.calc(s).sub(i).equal())} ${Y(_)} ${Y(s)}`,color:T,background:w,borderBottom:`${Y(i)} ${v} ${r}`,borderRadius:`${Y(C)} ${Y(C)} 0 0`,"> *:not(:last-child)":{marginInlineEnd:4},"> *":{flex:`none`},"&-title":{...Hl,flex:`0 1 auto`,textAlign:`end`,marginInlineStart:`auto`},"&-dropdown":{...Wl(),fontSize:h,transform:`translateY(10%)`,cursor:`pointer`,"&[disabled]":{cursor:`not-allowed`}}},"&-body":{display:`flex`,flex:`auto`,flexDirection:`column`,fontSize:e.fontSize,minHeight:0,"&-search-wrapper":{position:`relative`,flex:`none`,padding:_}},"&-content":{flex:`auto`,margin:0,padding:0,overflow:`auto`,listStyle:`none`,borderRadius:`0 0 ${D} ${D}`,"&-item":{display:`flex`,alignItems:`center`,minHeight:a,padding:`${Y(c)} ${Y(_)}`,transition:`all ${x}`,"> *:not(:last-child)":{marginInlineEnd:g},"> *":{flex:`none`},"&-text":{...Hl,flex:`auto`},"&-remove":{...Zl(e),color:n,"&:hover, &:focus":{color:d},"&:disabled":{color:u,cursor:`not-allowed`}},[`&:not(${t}-list-content-item-disabled)`]:{"&:hover":{backgroundColor:S,cursor:`pointer`},[`&${t}-list-content-item-checked:hover`]:{backgroundColor:E}},"&-checked":{backgroundColor:l},"&-disabled":{color:u,cursor:`not-allowed`}},[`&-show-remove ${t}-list-content-item:not(${t}-list-content-item-disabled):hover`]:{background:`transparent`,cursor:`default`}},"&-pagination":{padding:e.paddingXS,textAlign:`end`,borderTop:`${Y(i)} ${v} ${r}`,[`${y}-pagination-options`]:{paddingInlineEnd:e.paddingXS}},"&-body-not-found":{flex:`none`,width:`100%`,margin:`auto 0`,color:u,textAlign:`center`},"&-footer":{borderTop:`${Y(i)} ${v} ${r}`},"&-checkbox":{lineHeight:1}}}},s1=e=>{let{antCls:t,iconCls:n,componentCls:r,marginXS:i,marginXXS:a,fontSizeIcon:o,colorBgContainerDisabled:s}=e;return{[r]:{...Ul(e),position:`relative`,display:`flex`,alignItems:`stretch`,[`${r}-disabled`]:{[`${r}-section`]:{background:s}},[`${r}-section`]:o1(e),[`${r}-actions`]:{display:`flex`,flex:`none`,flexDirection:`column`,alignSelf:`center`,margin:`0 ${Y(i)}`,verticalAlign:`middle`,gap:a,[`${t}-btn ${n}`]:{fontSize:o}}}}},c1=e=>{let{componentCls:t}=e;return{[`${t}-rtl`]:{direction:`rtl`}}},l1=Ql(`Transfer`,e=>{let t=dc(e);return[s1(t),r1(t),a1(t),c1(t)]},e=>{let{fontSize:t,lineHeight:n,controlHeight:r,controlHeightLG:i,lineWidth:a}=e,o=Math.round(t*n);return{listWidth:180,listHeight:200,listWidthLG:250,headerHeight:i,itemHeight:r,itemPaddingBlock:(r-o)/2,transferHeaderVerticalPadding:Math.ceil((i-a-o)/2)}}),u1=e=>{let{prefixCls:t,className:n,rootClassName:r,classNames:i,styles:a,style:o,listStyle:s,operationStyle:c,operations:l,actions:u,dataSource:d,targetKeys:f=[],selectedKeys:p,selectAllLabels:m=[],locale:h={},titles:g,disabled:_,showSearch:v=!1,showSelectAll:y,oneWay:b,pagination:x,status:C,selectionsIcon:w,filterOption:T,render:E,footer:D,children:O,rowKey:k,onScroll:A,onChange:j,onSearch:M,onSelectChange:N}=e,{getPrefixCls:P,renderEmpty:F,direction:I,className:L,style:R,classNames:z,styles:B,selectionsIcon:V}=ya(`transfer`),H=(0,S.useContext)(mm),U=_??H,W={...e,disabled:U},ee=P(`transfer`,t),[te,ne]=l1(ee),re=u||l||[],G=I===`rtl`,[ie,K,ae]=L$(d,k,f),[q,oe,se,ce]=V$(K,ae,p),[le,ue]=wf(e=>e.key),[de,fe]=wf(e=>e.key),pe=(0,S.useCallback)((e,t)=>{e===`left`?se(typeof t==`function`?t(q||[]):t):ce(typeof t==`function`?t(oe||[]):t)},[q,oe]),me=(e,t)=>{(e===`left`?ue:fe)(t)},he=(0,S.useCallback)((e,t)=>{e===`left`?N?.(t,oe):N?.(q,t)},[q,oe]),ge=e=>g??e.titles??[],_e=e=>{A?.(`left`,e)},ve=e=>{A?.(`right`,e)},ye=e=>{let t=e===`right`?q:oe,n=N$(ie),r=t.filter(e=>!n.has(e)),i=M$(r),a=e===`right`?r.concat(f):f.filter(e=>!i.has(e)),o=e===`right`?`left`:`right`;pe(o,[]),he(o,[]),j?.(a,e,r)},be=()=>{ye(`left`),me(`left`,null)},xe=()=>{ye(`right`),me(`right`,null)},Se=(e,t,n)=>{pe(e,r=>{let i=[];if(n===`replace`)i=t;else if(n)i=Array.from(new Set([].concat(pa(r),pa(t))));else{let e=M$(t);i=r.filter(t=>!e.has(t))}return he(e,i),i}),me(e,null)},Ce=(e,t)=>Se(`left`,e,t),we=(e,t)=>Se(`right`,e,t),Te=e=>M?.(`left`,e.target.value),Ee=e=>M?.(`right`,e.target.value),De=()=>M?.(`left`,``),Oe=()=>M?.(`right`,``),ke=(e,t,n,r,i)=>{t.has(n)&&(t.delete(n),me(e,null)),r&&(t.add(n),me(e,i))},Ae=(e,t,n,r)=>{(e===`left`?le:de)(r,t,n)},je=(t,n,r,i)=>{let a=t===`left`,o=a?q:oe,s=new Set(o),c=(a?K:ae).filter(e=>!e.disabled),l=c.findIndex(e=>e.key===n);i&&o.length>0?Ae(t,c,s,l):ke(t,s,n,r,l);let u=Array.from(s);he(t,u),e.selectedKeys||pe(t,u)},Me=(e,t,n)=>{je(`left`,e,t,n?.shiftKey)},Ne=(e,t,n)=>je(`right`,e,t,n?.shiftKey),Pe=e=>{pe(`right`,[]),j?.(f.filter(t=>!e.includes(t)),`left`,pa(e))},Fe=e=>typeof s==`function`?s({direction:e}):s||{},{hasFeedback:Ie,status:Le}=(0,S.useContext)(xy),Re=e=>({...e,notFoundContent:F?.(`Transfer`)||S.createElement(kC,{componentName:`Transfer`}),...h}),ze=xC(Le,C),Be=!O&&x,Ve=ae.filter(e=>oe.includes(e.key)&&!e.disabled).length>0,He=K.filter(e=>q.includes(e.key)&&!e.disabled).length>0,[Ue,We]=Cf([z,i],[B,a],{props:W}),Ge=J(ee,{[`${ee}-disabled`]:U,[`${ee}-customize-list`]:!!O,[`${ee}-rtl`]:G},bC(ee,ze,Ie),L,n,r,te,ne,Ue.root),[Ke]=Yd(`Transfer`,Hd.Transfer),qe=Re(Ke),[Je,Ye]=ge(qe),Xe=w??V;return S.createElement(`div`,{className:Ge,style:{...R,...We.root,...o}},S.createElement(n1,{prefixCls:ee,style:Fe(`left`),classNames:Ue,styles:We,titleText:Je,dataSource:K,filterOption:T,checkedKeys:q,handleFilter:Te,handleClear:De,onItemSelect:Me,onItemSelectAll:Ce,render:E,showSearch:v,renderList:O,footer:D,onScroll:_e,disabled:U,direction:G?`right`:`left`,showSelectAll:y,selectAllLabel:m[0],pagination:Be,selectionsIcon:Xe,...qe}),S.createElement(I$,{className:J(`${ee}-actions`,Ue.actions),rightActive:He,moveToRight:xe,leftActive:Ve,actions:re,moveToLeft:be,style:{...c,...We.actions},disabled:U,direction:I,oneWay:b}),S.createElement(n1,{prefixCls:ee,style:Fe(`right`),classNames:Ue,styles:We,titleText:Ye,dataSource:ae,filterOption:T,checkedKeys:oe,handleFilter:Ee,handleClear:Oe,onItemSelect:Ne,onItemSelectAll:we,onItemRemove:Pe,render:E,showSearch:v,renderList:O,footer:D,onScroll:ve,disabled:U,direction:G?`left`:`right`,showSelectAll:y,selectAllLabel:m[1],showRemove:b,pagination:Be,selectionsIcon:Xe,...qe}))};u1.List=n1,u1.Search=H$,u1.Operation=I$;var d1=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z`}}]},name:`edit`,theme:`outlined`}}))());function f1(){return f1=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,f1({},e,{ref:t,icon:d1.default}))),m1=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z`}}]},name:`enter`,theme:`outlined`}}))());function h1(){return h1=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,h1({},e,{ref:t,icon:m1.default}))),_1=(e,t,n,r)=>{let{titleMarginBottom:i,fontWeightStrong:a}=r;return{marginBottom:i,color:n,fontWeight:a,fontSize:e,lineHeight:t}},v1=e=>{let t=[1,2,3,4,5],n={};return t.forEach(t=>{n[` + ${Y(v(i).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:`relative`,color:f,fontWeight:n,textAlign:`start`,background:m,borderBottom:y,transition:`background-color ${p} ease`},[`& > ${t}-measure-cell`]:{paddingBlock:`0 !important`,borderBlock:`0 !important`,[`${t}-measure-cell-content`]:{height:0,overflow:`hidden`,pointerEvents:`none`}}}},[`${t}-footer`]:{padding:`${Y(r)} ${Y(i)}`,color:g,background:_}}}},s$=e=>{let{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:i,colorFillContent:a,controlItemBgActive:o,controlItemBgActiveHover:s,padding:c,paddingSM:l,paddingXS:u,colorBorderSecondary:d,borderRadiusLG:f,controlHeight:p,colorTextPlaceholder:m,fontSize:h,fontSizeSM:g,lineHeight:_,lineWidth:v,colorIcon:y,colorIconHover:b,opacityLoading:x,controlInteractiveSize:S}=e,C=new Nc(i).onBackground(n).toHexString(),w=new Nc(a).onBackground(n).toHexString(),T=new Nc(t).onBackground(n).toHexString(),E=new Nc(y),D=new Nc(b),O=S/2-v,k=O*2+v*3;return{headerBg:T,headerColor:r,headerSortActiveBg:C,headerSortHoverBg:w,bodySortBg:T,rowHoverBg:T,rowSelectedBg:o,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:l,cellPaddingInlineMD:u,cellPaddingBlockSM:u,cellPaddingInlineSM:u,borderColor:d,headerBorderRadius:f,footerBg:T,footerColor:r,cellFontSize:h,cellFontSizeMD:h,cellFontSizeSM:h,headerSplitColor:d,fixedHeaderSortActiveBg:C,headerFilterHoverBg:a,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:p,stickyScrollBarBg:m,stickyScrollBarBorderRadius:100,expandIconMarginTop:(h*_-v*3)/2-Math.ceil((g*1.4-v*3)/2),headerIconColor:E.clone().setA(E.a*x).toRgbString(),headerIconHoverColor:D.clone().setA(D.a*x).toRgbString(),expandIconHalfInner:O,expandIconSize:k,expandIconScale:S/k}},c$=2,l$=Ql(`Table`,e=>{let{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:i,headerBg:a,headerColor:o,headerSortActiveBg:s,headerSortHoverBg:c,bodySortBg:l,rowHoverBg:u,rowSelectedBg:d,rowSelectedHoverBg:f,rowExpandedBg:p,cellPaddingBlock:m,cellPaddingInline:h,cellPaddingBlockMD:g,cellPaddingInlineMD:_,cellPaddingBlockSM:v,cellPaddingInlineSM:y,borderColor:b,footerBg:x,footerColor:S,headerBorderRadius:C,cellFontSize:w,cellFontSizeMD:T,cellFontSizeSM:E,headerSplitColor:D,fixedHeaderSortActiveBg:O,headerFilterHoverBg:k,filterDropdownBg:A,expandIconBg:j,selectionColumnWidth:M,stickyScrollBarBg:N,calc:P}=e,F=dc(e,{tableFontSize:w,tableBg:r,tableRadius:C,tablePaddingVertical:m,tablePaddingHorizontal:h,tablePaddingVerticalMiddle:g,tablePaddingHorizontalMiddle:_,tablePaddingVerticalSmall:v,tablePaddingHorizontalSmall:y,tableBorderColor:b,tableHeaderTextColor:o,tableHeaderBg:a,tableFooterTextColor:S,tableFooterBg:x,tableHeaderCellSplitColor:D,tableHeaderSortBg:s,tableHeaderSortHoverBg:c,tableBodySortBg:l,tableFixedHeaderSortActiveBg:O,tableHeaderFilterActiveBg:k,tableFilterDropdownBg:A,tableRowHoverBg:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:f,zIndexTableFixed:c$,tableFontSizeMiddle:T,tableFontSizeSmall:E,tableSelectionColumnWidth:M,tableExpandIconBg:j,tableExpandColumnWidth:P(i).add(P(e.padding).mul(2)).equal(),tableExpandedRowBg:p,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:N,tableScrollThumbBgHover:t,tableScrollBg:n});return[o$(F),ZQ(F),i$(F),n$(F),JQ(F),WQ(F),QQ(F),qQ(F),i$(F),KQ(F),e$(F),XQ(F),r$(F),GQ(F),t$(F),$Q(F),a$(F)]},s$,{resetFont:!1,unitless:{expandIconScale:!0}}),u$=[],d$=S.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:i,style:a,classNames:o,styles:s,size:c,bordered:l,dropdownPrefixCls:u,dataSource:d,pagination:f,rowSelection:p,rowKey:m,rowClassName:h,columns:g,children:_,childrenColumnName:v,onChange:y,getPopupContainer:b,loading:x,expandIcon:C,expandable:w,expandedRowRender:T,expandIconColumnIndex:E,indentSize:D,scroll:O,sortDirections:k,locale:A,showSorterTooltip:j={target:`full-header`},virtual:M}=e;Gi(`Table`);let N=S.useMemo(()=>g||NY(_),[g,_]),P=ew(S.useMemo(()=>N.some(e=>e.responsive),[N])),F=S.useMemo(()=>{let e=new Set(Object.keys(P).filter(e=>P[e]));return N.filter(t=>!t.responsive||t.responsive.some(t=>e.has(t)))},[N,P]),I=gi(e,[`className`,`style`,`columns`]),{locale:L=Hd,table:R}=S.useContext(ga),{getPrefixCls:z,direction:B,renderEmpty:V,getPopupContainer:H,className:U,style:W,classNames:ee,styles:te}=ya(`table`),ne=Oh(e=>c===`middle`?`medium`:c??e),re={...e,size:ne,bordered:l},[G,ie]=Cf([ee,o],[te,s],{props:re},{pagination:{_default:`root`},header:{_default:`wrapper`},body:{_default:`wrapper`}}),K={...L.Table,...A},[ae]=Yd(`global`,Hd.global),q=d||u$,oe=z(`table`,n),se=z(`dropdown`,u),[,ce]=Vl(),le=S.useMemo(()=>nf(p)?{columnWidth:ce.Table?.selectionColumnWidth,...p}:p,[p,ce.Table?.selectionColumnWidth]),ue=sp(oe),[de,fe]=l$(oe,ue),pe={childrenColumnName:v,expandIconColumnIndex:E,...w,expandIcon:w?.expandIcon??R?.expandable?.expandIcon},{childrenColumnName:me=`children`}=pe,he=S.useMemo(()=>q.some(e=>e?.[me])?`nest`:T||w?.expandedRowRender?`row`:null,[me,q]),ge={body:S.useRef(null)},_e=KX(oe),ve=S.useRef(null),ye=S.useRef(null);kf(t,()=>({...ye.current,nativeElement:ve.current}));let be=m||R?.rowKey||`key`,xe=O??R?.scroll,Se=S.useMemo(()=>typeof be==`function`?be:e=>e?.[be],[be]),[Ce]=bQ(q,me,Se),we={},Te=(e,t,n=!1)=>{let r={...we,...e};n&&(we.resetPagination?.(),r.pagination?.current&&(r.pagination.current=1),f&&f.onChange?.(1,r.pagination?.pageSize)),O&&O.scrollToFirstRowOnChange!==!1&&ge.body.current&&op(0,{getContainer:()=>ge.body.current}),y?.(r.pagination,r.filters,r.sorter,{currentDataSource:_Q(RQ(q,r.sorterStates,me),r.filterStates,me),action:t})},[Ee,De,Oe,ke]=zQ({prefixCls:oe,mergedColumns:F,onSorterChange:(e,t)=>{Te({sorter:e,sorterStates:t},`sort`,!1)},sortDirections:k||[`ascend`,`descend`],tableLocale:K,showSorterTooltip:j,globalLocale:ae}),Ae=S.useMemo(()=>RQ(q,De,me),[me,q,De]);we.sorter=ke(),we.sorterStates=De;let[je,Me,Ne]=yQ({prefixCls:oe,locale:K,dropdownPrefixCls:se,mergedColumns:F,onFilterChange:(e,t)=>{Te({filters:e,filterStates:t},`filter`,!0)},getPopupContainer:b||H,rootClassName:J(i,ue)}),Pe=_Q(Ae,Me,me);we.filters=Ne,we.filterStates=Me;let[Fe]=VQ(S.useMemo(()=>{let e={};return Object.keys(Ne).forEach(t=>{Ne[t]!==null&&(e[t]=Ne[t])}),{...Oe,filters:e}},[Oe,Ne])),[Ie,Le]=SQ(Pe.length,(e,t)=>{Te({pagination:{...we.pagination,current:e,pageSize:t}},`paginate`)},f);we.pagination=f===!1?{}:xQ(Ie,f),we.resetPagination=Le;let Re=S.useMemo(()=>{if(f===!1||!Ie.pageSize)return Pe;let{current:e=1,total:t,pageSize:n=10}=Ie;return Pe.lengthn?Pe.slice((e-1)*n,e*n):Pe:Pe.slice((e-1)*n,e*n)},[!!f,Pe,Ie?.current,Ie?.pageSize,Ie?.total]),[ze,Be]=WX({prefixCls:oe,data:Pe,pageData:Re,getRowKey:Se,getRecordByKey:Ce,expandType:he,childrenColumnName:me,locale:K,getPopupContainer:b||H},le),Ve=(e,t,n)=>{let r=typeof h==`function`?h(e,t,n):h;return J({[`${oe}-row-selected`]:Be.has(Se(e,t))},r)};pe.__PARENT_RENDER_ICON__=pe.expandIcon,pe.expandIcon=pe.expandIcon||C||GX(K),he===`nest`&&pe.expandIconColumnIndex===void 0?pe.expandIconColumnIndex=+!!le:pe.expandIconColumnIndex>0&&le&&--pe.expandIconColumnIndex,typeof pe.indentSize!=`number`&&(pe.indentSize=ef(D)?D:15);let He=S.useCallback(e=>Fe(ze(je(Ee(e)))),[Ee,je,ze]),Ue,We;if(f!==!1&&Ie?.total){let e;e=Ie.size?Ie.size:ne===`small`||ne===`medium`?`small`:void 0;let t=(t=`end`)=>S.createElement(QG,{...Ie,classNames:G.pagination,styles:ie.pagination,className:J(`${oe}-pagination ${oe}-pagination-${t}`,Ie.className),size:e}),{placement:n,position:r}=Ie,i=n??r,a=e=>{let t=e.toLowerCase();return t.includes(`center`)?`center`:t.includes(`left`)||t.includes(`start`)?`start`:`end`};if(Array.isArray(i)){let[e,n]=[`top`,`bottom`].map(e=>i.find(t=>t.includes(e))),r=i.every(e=>`${e}`==`none`);!e&&!n&&!r&&(We=t()),e&&(Ue=t(a(e))),n&&(We=t(a(n)))}else We=t()}let Ge=S.useMemo(()=>{if(typeof x==`boolean`)return{spinning:x};if(nf(x))return{spinning:!0,...x}},[x]),Ke=J(fe,ue,`${oe}-wrapper`,U,{[`${oe}-wrapper-rtl`]:B===`rtl`},r,i,G.root,de),qe={...ie.root,...W,...a},Je=S.useMemo(()=>Ge?.spinning&&q===u$?null:A?.emptyText===void 0?V?.(`Table`)||S.createElement(_C,{componentName:`Table`}):A.emptyText,[Ge?.spinning,q,A?.emptyText,V]),Ye=M?UQ:HQ,Xe={},Ze=S.useMemo(()=>{let{fontSize:e,lineHeight:t,lineWidth:n,padding:r,paddingXS:i,paddingSM:a}=ce,o=Math.floor(e*t);switch(ne){case`medium`:return a*2+o+n;case`small`:return i*2+o+n;default:return r*2+o+n}},[ce,ne]);return M&&(Xe.listItemHeight=Ze),S.createElement(`div`,{ref:ve,className:Ke,style:qe},S.createElement(yK,{spinning:!1,...Ge},Ue,S.createElement(Ye,{...Xe,...I,scroll:xe,classNames:G,styles:ie,ref:ye,columns:F,direction:B,expandable:pe,prefixCls:oe,className:J({[`${oe}-medium`]:ne===`medium`,[`${oe}-small`]:ne===`small`,[`${oe}-bordered`]:l,[`${oe}-empty`]:q.length===0},fe,ue,de),data:Re,rowKey:Se,rowClassName:Ve,emptyText:Je,internalHooks:DJ,internalRefs:ge,transformColumns:He,getContainerWidth:_e,measureRowRender:e=>S.createElement(ww.Provider,{value:!0},S.createElement(Fm,{getPopupContainer:e=>e},e))}),We))}),f$=S.forwardRef((e,t)=>{let n=S.useRef(0);return n.current+=1,S.createElement(d$,{...e,ref:t,_renderTimes:n.current})});f$.SELECTION_COLUMN=RX,f$.EXPAND_COLUMN=EJ,f$.SELECTION_ALL=zX,f$.SELECTION_INVERT=BX,f$.SELECTION_NONE=VX,f$.Column=vX,f$.ColumnGroup=yX,f$.Summary=iY;var p$=f$,m$=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:i,calc:a}=e,o=a(r).sub(n).equal(),s=a(t).sub(n).equal();return{[i]:{...Ul(e),display:`inline-block`,height:`auto`,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:`nowrap`,backgroundColor:e.defaultBg,border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:`start`,position:`relative`,[`&${i}-rtl`]:{direction:`rtl`},"&, a, a:hover":{color:e.defaultColor},[`${i}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorIcon,cursor:`pointer`,transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},"&-checkable":{backgroundColor:`transparent`,borderColor:`transparent`,cursor:`pointer`,[`&:not(${i}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive},"&-disabled":{cursor:`not-allowed`,[`&:not(${i}-checkable-checked)`]:{color:e.colorTextDisabled,"&:hover":{backgroundColor:`transparent`}},[`&${i}-checkable-checked`]:{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled},"&:hover, &:active":{backgroundColor:e.colorBgContainerDisabled,color:e.colorTextDisabled},[`&:not(${i}-checkable-checked):hover`]:{color:e.colorTextDisabled}},"&-group":{display:`flex`,flexWrap:`wrap`,gap:e.paddingXS}},"&-hidden":{display:`none`},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}},[`&${e.componentCls}-solid`]:{borderColor:`transparent`,color:e.colorTextLightSolid,backgroundColor:e.colorBgSolid,[`&${i}-default`]:{color:e.solidTextColor}},[`${i}-filled`]:{borderColor:`transparent`,backgroundColor:e.tagBorderlessBg},[`&${i}-disabled`]:{color:e.colorTextDisabled,cursor:`not-allowed`,backgroundColor:e.colorBgContainerDisabled,a:{cursor:`not-allowed`,pointerEvents:`none`,color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}},"a&":{"&:hover, &:active":{color:e.colorTextDisabled}},[`&${i}-outlined`]:{borderColor:e.colorBorderDisabled},[`&${i}-solid, &${i}-filled`]:{color:e.colorTextDisabled,[`${i}-close-icon`]:{color:e.colorTextDisabled}},[`${i}-close-icon`]:{cursor:`not-allowed`,color:e.colorTextDisabled,"&:hover":{color:e.colorTextDisabled}}}}},h$=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,i=e.fontSizeSM;return dc(e,{tagFontSize:i,tagLineHeight:Y(r(e.lineHeightSM).mul(i).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},g$=e=>{let t=n_(new Rg(e.colorBgSolid),`#fff`)?`#000`:`#fff`;return{defaultBg:new Nc(e.colorFillTertiary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText,solidTextColor:t}},_$=Ql(`Tag`,e=>m$(h$(e)),g$),v$=S.forwardRef((e,t)=>{let{prefixCls:n,style:r,className:i,checked:a,children:o,icon:s,onChange:c,onClick:l,disabled:u,...d}=e,{getPrefixCls:f,tag:p}=S.useContext(ga),m=S.useContext(hm),h=u??m,g=e=>{h||(c?.(!a),l?.(e))},_=f(`tag`,n),[v,y]=_$(_),b=J(_,`${_}-checkable`,{[`${_}-checkable-checked`]:a,[`${_}-checkable-disabled`]:h},p?.className,i,v,y);return S.createElement(`span`,{...d,ref:t,style:{...r,...p?.style},className:b,onClick:g},s,S.createElement(`span`,null,o))}),y$=S.forwardRef((e,t)=>{let{id:n,prefixCls:r,rootClassName:i,className:a,style:o,classNames:s,styles:c,disabled:l,options:u,value:d,defaultValue:f,onChange:p,multiple:m,...h}=e,{getPrefixCls:g,direction:_,className:v,style:y,classNames:b,styles:x}=ya(`tag`),C=g(`tag`,r),w=`${C}-checkable-group`,[T,E]=_$(C,sp(C)),[D,O]=Cf([b,s],[x,c],{props:e}),k=(0,S.useMemo)(()=>Array.isArray(u)?u.map(e=>nf(e)?e:{value:e,label:e}):[],[u]),[A,j]=Gn(f,d),M=(e,t)=>{let n=null;if(m){let r=A||[];n=e?[].concat(pa(r),[t.value]):r.filter(e=>e!==t.value)}else n=e?t.value:null;j(n),p?.(n)},N=S.useRef(null);(0,S.useImperativeHandle)(t,()=>({nativeElement:N.current}));let P=xi(h,{aria:!0,data:!0});return S.createElement(`div`,{...P,className:J(w,v,i,{[`${w}-disabled`]:l,[`${w}-rtl`]:_===`rtl`},T,E,a,D.root),style:{...y,...O.root,...o},id:n,ref:N},k.map(e=>S.createElement(v$,{key:e.value,className:J(`${w}-item`,D.item),style:O.item,checked:m?(A||[]).includes(e.value):A===e.value,onChange:t=>M(t,e),disabled:l},e.label)))});function b$(e,t){let{color:n,variant:r,bordered:i}=e;return S.useMemo(()=>{let e=n?.endsWith(`-inverse`),a;a=r||(e?`solid`:i===!1?`filled`:t||`filled`);let o=e?n?.replace(`-inverse`,``):n,s=Mw(n),c=Nw(n),l={};if(!s&&!c&&o)if(a===`solid`)l.backgroundColor=n;else{let e=new Nc(o).toHsl();e.l=.95,l.backgroundColor=new Nc(e).toHexString(),l.color=n,a===`outlined`&&(l.borderColor=n)}return[a,o,s,c,l]},[n,r,i,t])}var x$=e=>nu(e,(t,{textColor:n,lightBorderColor:r,lightColor:i,darkColor:a})=>({[`${e.componentCls}${e.componentCls}-${t}:not(${e.componentCls}-disabled)`]:{[`&${e.componentCls}-outlined`]:{backgroundColor:i,borderColor:r,color:n},[`&${e.componentCls}-solid`]:{backgroundColor:a,borderColor:a,color:e.colorTextLightSolid},[`&${e.componentCls}-filled`]:{backgroundColor:i,color:n}}})),S$=eu([`Tag`,`preset`],e=>x$(h$(e)),g$);function C$(e){return typeof e==`string`?e.charAt(0).toUpperCase()+e.slice(1):e}var w$=(e,t,n)=>{let r=C$(n);return{[`${e.componentCls}${e.componentCls}-${t}:not(${e.componentCls}-disabled)`]:{[`&${e.componentCls}-outlined`]:{backgroundColor:e[`color${r}Bg`],borderColor:e[`color${r}Border`],color:e[`color${n}`]},[`&${e.componentCls}-solid`]:{backgroundColor:e[`color${n}`],borderColor:e[`color${n}`]},[`&${e.componentCls}-filled`]:{backgroundColor:e[`color${r}Bg`],color:e[`color${n}`]}}}},T$=eu([`Tag`,`status`],e=>{let t=h$(e);return[w$(t,`success`,`Success`),w$(t,`processing`,`Info`),w$(t,`error`,`Error`),w$(t,`warning`,`Warning`)]},g$),E$=S.forwardRef((e,t)=>{let{prefixCls:n,className:r,rootClassName:i,style:a,children:o,icon:s,color:c,variant:l,onClose:u,bordered:d,disabled:f,href:p,target:m,styles:h,classNames:g,..._}=e,{getPrefixCls:v,direction:y,className:b,variant:x,style:C,classNames:w,styles:T}=ya(`tag`),[E,D,O,k,A]=b$(e,x),j=O||k,M=S.useContext(hm),N=f??M,{tag:P}=S.useContext(ga),[F,I]=S.useState(!0),L=gi(_,[`closeIcon`,`closable`]),R={...e,color:D,variant:E,disabled:N},[z,B]=Cf([w,g],[T,h],{props:R}),V=S.useMemo(()=>{let e={...B.root,...C,...a};return N||(e={...A,...e}),e},[B.root,C,a,A,N]),H=v(`tag`,n),[U,W]=_$(H),ee=J(H,b,z.root,`${H}-${E}`,{[`${H}-${D}`]:j,[`${H}-hidden`]:!F,[`${H}-rtl`]:y===`rtl`,[`${H}-disabled`]:N},r,i,U,W),te=e=>{N||(e.stopPropagation(),u?.(e),!e.defaultPrevented&&I(!1))},[,ne]=pf(sf(e),sf(P),{closable:!1,closeIconRender:e=>lm(e,S.createElement(`span`,{className:`${H}-close-icon`,onClick:te},e),e=>({onClick:t=>{e?.onClick?.(t),te(t)},className:J(e?.className,`${H}-close-icon`)}))}),re=typeof _.onClick==`function`||o&&o.type===`a`,G=um(s,{className:J(S.isValidElement(s)?s.props?.className:void 0,z.icon),style:B.icon}),ie=G?S.createElement(S.Fragment,null,G,o&&S.createElement(`span`,{className:z.content,style:B.content},o)):o,K=p?`a`:`span`,ae=S.createElement(K,{...L,ref:t,className:ee,style:V,href:N?void 0:p,target:m,onClick:N?void 0:L.onClick,...p&&N?{"aria-disabled":!0}:{}},ie,ne,O&&S.createElement(S$,{key:`preset`,prefixCls:H}),k&&S.createElement(T$,{key:`status`,prefixCls:H}));return re?S.createElement(Dh,{component:`Tag`},ae):ae});E$.CheckableTag=v$,E$.CheckableTagGroup=y$;var D$=e=>{let t=new Map;return e.forEach((e,n)=>{t.set(e,n)}),t},O$=e=>{let t=new Map;return e.forEach(({disabled:e,key:n},r)=>{e&&t.set(n,r)}),t};function k$(e,t){let n=e===`right`;return t===`rtl`?n?S.createElement(Xw,null):S.createElement(Vg,null):n?S.createElement(Vg,null):S.createElement(Xw,null)}var A$=({type:e,actions:t,moveToLeft:n,moveToRight:r,leftActive:i,rightActive:a,direction:o,disabled:s})=>{let c=e===`right`,l=c?t[0]:t[1],u=c?r:n,d=c?a:i,f=k$(e,o);if(S.isValidElement(l)){let e=l;return S.cloneElement(e,{disabled:s||!d,onClick:t=>{e?.props?.onClick?.(t),u?.(t)}})}return S.createElement(__,{type:`primary`,size:`small`,disabled:s||!d,onClick:e=>u?.(e),icon:f},l)},j$=e=>{let{className:t,style:n,oneWay:r,actions:i,...a}=e;return S.createElement(`div`,{className:t,style:n},S.createElement(A$,{type:`right`,actions:i,...a}),!r&&S.createElement(A$,{type:`left`,actions:i,...a}),i.slice(r?1:2))},M$=(e,t,n)=>{let r=S.useMemo(()=>(e||[]).map(e=>t?{...e,key:t(e)}:e),[e,t]),[i,a]=S.useMemo(()=>{let e=[],t=Array.from({length:n?.length??0}),i=D$(n||[]);return r.forEach(n=>{if(i.has(n.key)){let e=i.get(n.key);t[e]=n}else e.push(n)}),[e,t]},[r,n]);return[r,i.filter(Boolean),a.filter(Boolean)]},N$=[];function P$(e,t){let n=e.filter(e=>t.has(e));return e.length===n.length?e:n}function F$(e){return Array.from(e).join(`;`)}function I$(e,t,n){let[r,i]=S.useMemo(()=>[new Set(e.map(e=>e?.key)),new Set(t.map(e=>e?.key))],[e,t]),[a,o]=Gn(N$,n),s=S.useMemo(()=>P$(a,r),[a,r]),c=S.useMemo(()=>P$(a,i),[a,i]);return S.useEffect(()=>{o([].concat(pa(P$(a,r)),pa(P$(a,i))))},[F$(r),F$(i)]),[s,c,zn(e=>{o([].concat(pa(e),pa(c)))}),zn(e=>{o([].concat(pa(s),pa(e)))})]}var L$=e=>{let{placeholder:t=``,value:n,prefixCls:r,disabled:i,onChange:a,handleClear:o}=e,s=S.useCallback(e=>{a?.(e),e.target.value===``&&o?.()},[a]);return S.createElement(RB,{placeholder:t,className:r,value:n,onChange:s,disabled:i,allowClear:!0,prefix:S.createElement(VC,null)})},R$=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z`}}]},name:`delete`,theme:`outlined`}}))());function z$(){return z$=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,z$({},e,{ref:t,icon:R$.default}))),V$=S.memo(e=>{let{prefixCls:t,classNames:n,styles:r,renderedText:i,renderedEl:a,item:o,checked:s,disabled:c,onClick:l,onRemove:u,showRemove:d}=e,f=c||o?.disabled,p=J(`${t}-content-item`,n.item,{[`${t}-content-item-disabled`]:f,[`${t}-content-item-checked`]:s&&!f}),m;(typeof i==`string`||ef(i))&&(m=String(i));let[h]=Yd(`Transfer`,Hd.Transfer),g={className:p,style:r.item,title:m},_=S.createElement(`span`,{className:J(`${t}-content-item-text`,n.itemContent),style:r.itemContent},a);return d?S.createElement(`li`,{...g},_,S.createElement(`button`,{type:`button`,disabled:f,className:`${t}-content-item-remove`,"aria-label":h?.remove,onClick:()=>u?.(o)},S.createElement(B$,null))):(g.onClick=f?void 0:e=>l(o,e),S.createElement(`li`,{...g},S.createElement(jz,{className:J(`${t}-checkbox`,n.itemIcon),style:r.itemIcon,checked:s,disabled:f}),_))}),H$=[`handleFilter`,`handleClear`,`checkedKeys`],U$=e=>({simple:!0,showSizeChanger:!1,showLessItems:!1,...e}),W$=S.forwardRef((e,t)=>{let{prefixCls:n,classNames:r,styles:i,filteredRenderItems:a,selectedKeys:o,disabled:s,showRemove:c,pagination:l,onScroll:u,onItemSelect:d,onItemRemove:f}=e,[p,m]=S.useState(1),h=S.useMemo(()=>l?U$(nf(l)?l:{}):null,[l]),[g,_]=Gn(10,h?.pageSize);S.useEffect(()=>{if(h){let e=Math.ceil(a.length/g);m(Math.min(p,e))}},[a,h,g]);let v=(e,t)=>{d(e.key,!o.includes(e.key),t)},y=e=>{f?.([e.key])},b=e=>{m(e)},x=(e,t)=>{m(e),_(t)},C=S.useMemo(()=>h?a.slice((p-1)*g,p*g):a,[p,a,h,g]);S.useImperativeHandle(t,()=>({items:C}));let w=h?S.createElement(QG,{size:`small`,disabled:s,simple:h.simple,pageSize:g,showLessItems:h.showLessItems,showSizeChanger:h.showSizeChanger,className:`${n}-pagination`,total:a.length,current:p,onChange:b,onShowSizeChange:x}):null;return S.createElement(S.Fragment,null,S.createElement(`ul`,{className:J(`${n}-content`,r.list,{[`${n}-content-show-remove`]:c}),style:i.list,onScroll:u},(C||[]).map(({renderedEl:e,renderedText:t,item:a})=>S.createElement(V$,{key:a.key,prefixCls:n,classNames:r,styles:i,item:a,renderedText:t,renderedEl:e,showRemove:c,onClick:v,onRemove:y,checked:o.includes(a.key),disabled:s}))),w)}),G$=()=>null;function K$(e){return!!(e&&!S.isValidElement(e)&&Object.prototype.toString.call(e)===`[object Object]`)}function q$(e){return e.filter(e=>!e.disabled).map(e=>e.key)}function J$(e,t){for(let n of[e,t.title,t.key])if(typeof n==`string`||ef(n))return String(n);return``}var Y$=e=>e!==void 0,X$=e=>nf(e)?{...e,defaultValue:e.defaultValue||``}:{defaultValue:``,placeholder:``},Z$=e=>{let{prefixCls:t,style:n,classNames:r,styles:i,dataSource:a=[],titleText:o=``,checkedKeys:s,disabled:c,showSearch:l=!1,searchPlaceholder:u,notFoundContent:d,selectAll:f,deselectAll:p,selectCurrent:m,selectInvert:h,removeAll:g,removeCurrent:_,showSelectAll:v=!0,showRemove:y,pagination:b,direction:x,itemsUnit:C,itemUnit:w,selectAllLabel:T,selectionsIcon:E,footer:D,renderList:O,onItemSelectAll:k,onItemRemove:A,handleFilter:j,handleClear:M,filterOption:N,render:P=G$}=e,F=`${t}-section`,I=`${t}-list`,L=X$(l),[R,z]=(0,S.useState)(L.defaultValue),B=(0,S.useRef)({}),V=e=>{z(e.target.value),j(e)},H=()=>{z(``),M()},U=(e,t)=>typeof N==`function`?N(R,t,x):e.includes(R),W=e=>{let t=O?O({...e,onItemSelect:(t,n)=>e.onItemSelect(t,n)}):null,n=!!t;return n||(t=S.createElement(W$,{ref:B,...e,prefixCls:I})),{customize:n,bodyContent:t}},ee=e=>{let t=P(e),n=K$(t);return{item:e,renderedEl:n?t.label:t,renderedText:n?t.value:J$(t,e)}},te=(0,S.useMemo)(()=>Array.isArray(d)?d[x===`left`?0:1]:d,[d,x]),[ne,re]=(0,S.useMemo)(()=>{let e=[],t=[];return a.forEach(n=>{let r=ee(n);R&&!U(r.renderedText,n)||(e.push(n),t.push(r))}),[e,t]},[a,R]),G=(0,S.useMemo)(()=>ne.filter(e=>s.includes(e.key)&&!e.disabled),[s,ne]),ie=(0,S.useMemo)(()=>{if(G.length===0)return`none`;let e=D$(s);return ne.every(t=>e.has(t.key)||!!t.disabled)?`all`:`part`},[G.length,s,ne]),K=()=>{let t=l?S.createElement(`div`,{className:`${I}-body-search-wrapper`},S.createElement(L$,{prefixCls:`${I}-search`,onChange:V,handleClear:H,placeholder:L.placeholder||u,value:R,disabled:c})):null,{customize:n,bodyContent:a}=W({...gi(e,H$),filteredItems:ne,filteredRenderItems:re,selectedKeys:s,classNames:r,styles:i}),o;return o=n?S.createElement(`div`,{className:`${I}-body-customize-wrapper`},a):ne.length?a:S.createElement(`div`,{className:`${I}-body-not-found`},te),S.createElement(`div`,{className:J(`${I}-body`,{[`${I}-body-with-search`]:l},r.body),style:i.body},t,o)},ae=S.createElement(jz,{disabled:a.filter(e=>!e.disabled).length===0||c,checked:ie===`all`,indeterminate:ie===`part`,className:`${I}-checkbox`,onChange:()=>{k?.(ne.filter(e=>!e.disabled).map(({key:e})=>e),ie!==`all`)}}),q=(e,t)=>{if(T)return typeof T==`function`?T({selectedCount:e,totalCount:t}):T;let n=t>1?C:w;return S.createElement(S.Fragment,null,(e>0?`${e}/`:``)+t,` `,n)},oe=D&&(D.length<2?D(e):D(e,{direction:x})),se=oe?S.createElement(`div`,{className:J(`${I}-footer`,r.footer),style:i.footer},oe):null,ce=!y&&!b&&ae,le;le=y?[b?{key:`removeCurrent`,label:_,onClick(){let e=q$((B.current?.items||[]).map(e=>e.item));A?.(e)}}:null,{key:`removeAll`,label:g,onClick(){A?.(q$(ne))}}].filter(Boolean):[{key:`selectAll`,label:ie===`all`?p:f,onClick(){let e=q$(ne);k?.(e,e.length!==s.length)}},b?{key:`selectCurrent`,label:m,onClick(){let e=B.current?.items||[];k?.(q$(e.map(e=>e.item)),!0)}}:null,{key:`selectInvert`,label:h,onClick(){let e=q$((B.current?.items||[]).map(e=>e.item)),t=new Set(s),n=new Set(t);e.forEach(e=>{t.has(e)?n.delete(e):n.add(e)}),k?.(pa(n),`replace`)}}];let ue=S.createElement(zH,{className:`${I}-header-dropdown`,menu:{items:le},disabled:c},Y$(E)?E:S.createElement(RC,null));return S.createElement(`div`,{className:J(F,r.section,{[`${F}-with-pagination`]:!!b,[`${F}-with-footer`]:!!oe}),style:{...n,...i.section}},S.createElement(`div`,{className:J(`${I}-header`,r.header),style:i.header},v?S.createElement(S.Fragment,null,ce,ue):null,S.createElement(`span`,{className:`${I}-header-selected`},q(G.length,ne.length)),S.createElement(`span`,{className:J(`${I}-header-title`,r.title),style:i.title},o)),K(),se)},Q$=e=>{let{antCls:t,componentCls:n,listHeight:r,controlHeightLG:i}=e,a=`${t}-table`,o=`${t}-input`;return{[`${n}-customize-list`]:{[`${n}-section`]:{flex:`1 1 50%`,width:`auto`,height:`auto`,minHeight:r,minWidth:0},[`${a}-wrapper`]:{[`${a}-small`]:{border:0,borderRadius:0,[`${a}-selection-column`]:{width:i,minWidth:i}},[`${a}-pagination${a}-pagination`]:{margin:0,padding:e.paddingXS}},[`${o}[disabled]`]:{backgroundColor:`transparent`}}}},$$=(e,t)=>{let{componentCls:n,colorBorder:r}=e;return{[`${n}-section`]:{borderColor:t,[`${n}-list-search:not([disabled])`]:{borderColor:r}}}},e1=e=>{let{componentCls:t}=e;return{[`${t}-status-error`]:{...$$(e,e.colorError)},[`${t}-status-warning`]:{...$$(e,e.colorWarning)}}},t1=e=>{let{componentCls:t,colorBorder:n,colorSplit:r,lineWidth:i,itemHeight:a,headerHeight:o,transferHeaderVerticalPadding:s,itemPaddingBlock:c,controlItemBgActive:l,colorTextDisabled:u,colorTextSecondary:d,listHeight:f,listWidth:p,listWidthLG:m,fontSizeIcon:h,marginXS:g,paddingSM:_,lineType:v,antCls:y,iconCls:b,motionDurationSlow:x,controlItemBgHover:S,borderRadiusLG:C,colorBgContainer:w,colorText:T,controlItemBgActiveHover:E}=e,D=Y(e.calc(C).sub(i).equal());return{display:`flex`,flexDirection:`column`,width:p,height:f,border:`${Y(i)} ${v} ${n}`,borderRadius:e.borderRadiusLG,"&-with-pagination":{width:m,height:`auto`},[`${t}-list`]:{"&-search":{[`${b}-search`]:{color:u}},"&-header":{display:`flex`,flex:`none`,alignItems:`center`,height:o,padding:`${Y(e.calc(s).sub(i).equal())} ${Y(_)} ${Y(s)}`,color:T,background:w,borderBottom:`${Y(i)} ${v} ${r}`,borderRadius:`${Y(C)} ${Y(C)} 0 0`,"> *:not(:last-child)":{marginInlineEnd:4},"> *":{flex:`none`},"&-title":{...Hl,flex:`0 1 auto`,textAlign:`end`,marginInlineStart:`auto`},"&-dropdown":{...Wl(),fontSize:h,transform:`translateY(10%)`,cursor:`pointer`,"&[disabled]":{cursor:`not-allowed`}}},"&-body":{display:`flex`,flex:`auto`,flexDirection:`column`,fontSize:e.fontSize,minHeight:0,"&-search-wrapper":{position:`relative`,flex:`none`,padding:_}},"&-content":{flex:`auto`,margin:0,padding:0,overflow:`auto`,listStyle:`none`,borderRadius:`0 0 ${D} ${D}`,"&-item":{display:`flex`,alignItems:`center`,minHeight:a,padding:`${Y(c)} ${Y(_)}`,transition:`all ${x}`,"> *:not(:last-child)":{marginInlineEnd:g},"> *":{flex:`none`},"&-text":{...Hl,flex:`auto`},"&-remove":{...Zl(e),color:n,"&:hover, &:focus":{color:d},"&:disabled":{color:u,cursor:`not-allowed`}},[`&:not(${t}-list-content-item-disabled)`]:{"&:hover":{backgroundColor:S,cursor:`pointer`},[`&${t}-list-content-item-checked:hover`]:{backgroundColor:E}},"&-checked":{backgroundColor:l},"&-disabled":{color:u,cursor:`not-allowed`}},[`&-show-remove ${t}-list-content-item:not(${t}-list-content-item-disabled):hover`]:{background:`transparent`,cursor:`default`}},"&-pagination":{padding:e.paddingXS,textAlign:`end`,borderTop:`${Y(i)} ${v} ${r}`,[`${y}-pagination-options`]:{paddingInlineEnd:e.paddingXS}},"&-body-not-found":{flex:`none`,width:`100%`,margin:`auto 0`,color:u,textAlign:`center`},"&-footer":{borderTop:`${Y(i)} ${v} ${r}`},"&-checkbox":{lineHeight:1}}}},n1=e=>{let{antCls:t,iconCls:n,componentCls:r,marginXS:i,marginXXS:a,fontSizeIcon:o,colorBgContainerDisabled:s}=e;return{[r]:{...Ul(e),position:`relative`,display:`flex`,alignItems:`stretch`,[`${r}-disabled`]:{[`${r}-section`]:{background:s}},[`${r}-section`]:t1(e),[`${r}-actions`]:{display:`flex`,flex:`none`,flexDirection:`column`,alignSelf:`center`,margin:`0 ${Y(i)}`,verticalAlign:`middle`,gap:a,[`${t}-btn ${n}`]:{fontSize:o}}}}},r1=e=>{let{componentCls:t}=e;return{[`${t}-rtl`]:{direction:`rtl`}}},i1=Ql(`Transfer`,e=>{let t=dc(e);return[n1(t),Q$(t),e1(t),r1(t)]},e=>{let{fontSize:t,lineHeight:n,controlHeight:r,controlHeightLG:i,lineWidth:a}=e,o=Math.round(t*n);return{listWidth:180,listHeight:200,listWidthLG:250,headerHeight:i,itemHeight:r,itemPaddingBlock:(r-o)/2,transferHeaderVerticalPadding:Math.ceil((i-a-o)/2)}}),a1=e=>{let{prefixCls:t,className:n,rootClassName:r,classNames:i,styles:a,style:o,listStyle:s,operationStyle:c,operations:l,actions:u,dataSource:d,targetKeys:f=[],selectedKeys:p,selectAllLabels:m=[],locale:h={},titles:g,disabled:_,showSearch:v=!1,showSelectAll:y,oneWay:b,pagination:x,status:C,selectionsIcon:w,filterOption:T,render:E,footer:D,children:O,rowKey:k,onScroll:A,onChange:j,onSearch:M,onSelectChange:N}=e,{getPrefixCls:P,renderEmpty:F,direction:I,className:L,style:R,classNames:z,styles:B,selectionsIcon:V}=ya(`transfer`),H=(0,S.useContext)(hm),U=_??H,W={...e,disabled:U},ee=P(`transfer`,t),[te,ne]=i1(ee),re=u||l||[],G=I===`rtl`,[ie,K,ae]=M$(d,k,f),[q,oe,se,ce]=I$(K,ae,p),[le,ue]=wf(e=>e.key),[de,fe]=wf(e=>e.key),pe=(0,S.useCallback)((e,t)=>{e===`left`?se(typeof t==`function`?t(q||[]):t):ce(typeof t==`function`?t(oe||[]):t)},[q,oe]),me=(e,t)=>{(e===`left`?ue:fe)(t)},he=(0,S.useCallback)((e,t)=>{e===`left`?N?.(t,oe):N?.(q,t)},[q,oe]),ge=e=>g??e.titles??[],_e=e=>{A?.(`left`,e)},ve=e=>{A?.(`right`,e)},ye=e=>{let t=e===`right`?q:oe,n=O$(ie),r=t.filter(e=>!n.has(e)),i=D$(r),a=e===`right`?r.concat(f):f.filter(e=>!i.has(e)),o=e===`right`?`left`:`right`;pe(o,[]),he(o,[]),j?.(a,e,r)},be=()=>{ye(`left`),me(`left`,null)},xe=()=>{ye(`right`),me(`right`,null)},Se=(e,t,n)=>{pe(e,r=>{let i=[];if(n===`replace`)i=t;else if(n)i=Array.from(new Set([].concat(pa(r),pa(t))));else{let e=D$(t);i=r.filter(t=>!e.has(t))}return he(e,i),i}),me(e,null)},Ce=(e,t)=>Se(`left`,e,t),we=(e,t)=>Se(`right`,e,t),Te=e=>M?.(`left`,e.target.value),Ee=e=>M?.(`right`,e.target.value),De=()=>M?.(`left`,``),Oe=()=>M?.(`right`,``),ke=(e,t,n,r,i)=>{t.has(n)&&(t.delete(n),me(e,null)),r&&(t.add(n),me(e,i))},Ae=(e,t,n,r)=>{(e===`left`?le:de)(r,t,n)},je=(t,n,r,i)=>{let a=t===`left`,o=a?q:oe,s=new Set(o),c=(a?K:ae).filter(e=>!e.disabled),l=c.findIndex(e=>e.key===n);i&&o.length>0?Ae(t,c,s,l):ke(t,s,n,r,l);let u=Array.from(s);he(t,u),e.selectedKeys||pe(t,u)},Me=(e,t,n)=>{je(`left`,e,t,n?.shiftKey)},Ne=(e,t,n)=>je(`right`,e,t,n?.shiftKey),Pe=e=>{pe(`right`,[]),j?.(f.filter(t=>!e.includes(t)),`left`,pa(e))},Fe=e=>typeof s==`function`?s({direction:e}):s||{},{hasFeedback:Ie,status:Le}=(0,S.useContext)(Dy),Re=e=>({...e,notFoundContent:F?.(`Transfer`)||S.createElement(_C,{componentName:`Transfer`}),...h}),ze=lC(Le,C),Be=!O&&x,Ve=ae.filter(e=>oe.includes(e.key)&&!e.disabled).length>0,He=K.filter(e=>q.includes(e.key)&&!e.disabled).length>0,[Ue,We]=Cf([z,i],[B,a],{props:W}),Ge=J(ee,{[`${ee}-disabled`]:U,[`${ee}-customize-list`]:!!O,[`${ee}-rtl`]:G},cC(ee,ze,Ie),L,n,r,te,ne,Ue.root),[Ke]=Yd(`Transfer`,Hd.Transfer),qe=Re(Ke),[Je,Ye]=ge(qe),Xe=w??V;return S.createElement(`div`,{className:Ge,style:{...R,...We.root,...o}},S.createElement(Z$,{prefixCls:ee,style:Fe(`left`),classNames:Ue,styles:We,titleText:Je,dataSource:K,filterOption:T,checkedKeys:q,handleFilter:Te,handleClear:De,onItemSelect:Me,onItemSelectAll:Ce,render:E,showSearch:v,renderList:O,footer:D,onScroll:_e,disabled:U,direction:G?`right`:`left`,showSelectAll:y,selectAllLabel:m[0],pagination:Be,selectionsIcon:Xe,...qe}),S.createElement(j$,{className:J(`${ee}-actions`,Ue.actions),rightActive:He,moveToRight:xe,leftActive:Ve,actions:re,moveToLeft:be,style:{...c,...We.actions},disabled:U,direction:I,oneWay:b}),S.createElement(Z$,{prefixCls:ee,style:Fe(`right`),classNames:Ue,styles:We,titleText:Ye,dataSource:ae,filterOption:T,checkedKeys:oe,handleFilter:Ee,handleClear:Oe,onItemSelect:Ne,onItemSelectAll:we,onItemRemove:Pe,render:E,showSearch:v,renderList:O,footer:D,onScroll:ve,disabled:U,direction:G?`left`:`right`,showSelectAll:y,selectAllLabel:m[1],showRemove:b,pagination:Be,selectionsIcon:Xe,...qe}))};a1.List=Z$,a1.Search=L$,a1.Operation=j$;var o1=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z`}}]},name:`edit`,theme:`outlined`}}))());function s1(){return s1=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,s1({},e,{ref:t,icon:o1.default}))),l1=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z`}}]},name:`enter`,theme:`outlined`}}))());function u1(){return u1=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,u1({},e,{ref:t,icon:l1.default}))),f1=(e,t,n,r)=>{let{titleMarginBottom:i,fontWeightStrong:a}=r;return{marginBottom:i,color:n,fontWeight:a,fontSize:e,lineHeight:t}},p1=e=>{let t=[1,2,3,4,5],n={};return t.forEach(t=>{n[` h${t}&, div&-h${t}, div&-h${t} > textarea, h${t} - `]=_1(e[`fontSizeHeading${t}`],e[`lineHeightHeading${t}`],e.colorTextHeading,e)}),n},y1=e=>{let{componentCls:t}=e;return{[`&${`${t}-link`}`]:{...Zl(e),userSelect:`text`,[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:`not-allowed`,"&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:`none`,[`${t}-actions`]:{pointerEvents:`auto`}}}}}},b1=e=>({code:{margin:`0 0.2em`,paddingInline:`0.4em`,paddingBlock:`0.2em 0.1em`,fontSize:`85%`,fontFamily:e.fontFamilyCode,background:`rgba(150, 150, 150, 0.1)`,border:`1px solid rgba(100, 100, 100, 0.2)`,borderRadius:3},kbd:{margin:`0 0.2em`,paddingInline:`0.4em`,paddingBlock:`0.15em 0.1em`,fontSize:`90%`,fontFamily:e.fontFamilyCode,background:`rgba(150, 150, 150, 0.06)`,border:`1px solid rgba(100, 100, 100, 0.2)`,borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:Xc[2]},"u, ins":{textDecoration:`underline`,textDecorationSkipInk:`auto`},"s, del":{textDecoration:`line-through`},strong:{fontWeight:e.fontWeightStrong},"ul, ol":{marginInline:0,marginBlock:`0 1em`,padding:0,li:{marginInline:`20px 0`,marginBlock:0,paddingInline:`4px 0`,paddingBlock:0}},ul:{listStyleType:`circle`,ul:{listStyleType:`disc`}},ol:{listStyleType:`decimal`},"pre, blockquote":{margin:`1em 0`},pre:{padding:`0.4em 0.6em`,whiteSpace:`pre-wrap`,wordWrap:`break-word`,background:`rgba(150, 150, 150, 0.1)`,border:`1px solid rgba(100, 100, 100, 0.2)`,borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:`inline`,margin:0,padding:0,fontSize:`inherit`,fontFamily:`inherit`,background:`transparent`,border:0}},blockquote:{paddingInline:`0.6em 0`,paddingBlock:0,borderInlineStart:`4px solid rgba(100, 100, 100, 0.2)`,opacity:.85}}),x1=e=>{let{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:`relative`,"div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),insetBlockStart:e.calc(r).div(-2).add(1).equal(),marginBottom:e.calc(r).div(2).sub(2).equal()},[`${t}-edit-content-confirm`]:{position:`absolute`,insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorIcon,fontWeight:`normal`,fontSize:e.fontSize,fontStyle:`normal`,pointerEvents:`none`},textarea:{margin:`0!important`,MozTransition:`none`,height:`1em`}}}},S1=e=>({[`${e.componentCls}-copy-success`]:{"&, &:hover, &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),C1=()=>({"a&-ellipsis, span&-ellipsis":{display:`inline-block`,maxWidth:`100%`},"&-ellipsis-single-line":{whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,"a&, span&":{verticalAlign:`bottom`},"> code":{paddingBlock:0,maxWidth:`calc(100% - 1.2em)`,display:`inline-block`,overflow:`hidden`,textOverflow:`ellipsis`,verticalAlign:`bottom`,boxSizing:`content-box`}},"&-ellipsis-multiple-line":{display:`-webkit-box`,overflow:`hidden`,WebkitLineClamp:3,WebkitBoxOrient:`vertical`}}),w1=Ql(`Typography`,e=>{let{componentCls:t,titleMarginTop:n}=e;return{[t]:{color:e.colorText,wordBreak:`break-word`,lineHeight:e.lineHeight,[`&${t}-secondary, &${t}-link${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success, &${t}-link${t}-success`]:{color:e.colorSuccessText},[`&${t}-warning, &${t}-link${t}-warning`]:{color:e.colorWarningText},[`&${t}-danger, &${t}-link${t}-danger`]:{color:e.colorErrorText,[`&${t}-link:active, &${t}-link:focus`]:{color:e.colorErrorTextActive},[`&${t}-link:hover`]:{color:e.colorErrorTextHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:`not-allowed`,userSelect:`none`},"div&, p":{marginBottom:`1em`},...v1(e),[`& + h1${t}, & + h2${t}, & + h3${t}, & + h4${t}, & + h5${t}`]:{marginTop:n},"div, ul, li, p, h1, h2, h3, h4, h5":{"+ h1, + h2, + h3, + h4, + h5":{marginTop:n}},...b1(e),...y1(e),[`${t}-actions`]:{display:`inline`},[` + `]=f1(e[`fontSizeHeading${t}`],e[`lineHeightHeading${t}`],e.colorTextHeading,e)}),n},m1=e=>{let{componentCls:t}=e;return{[`&${`${t}-link`}`]:{...Zl(e),userSelect:`text`,[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:`not-allowed`,"&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:`none`,[`${t}-actions`]:{pointerEvents:`auto`}}}}}},h1=e=>({code:{margin:`0 0.2em`,paddingInline:`0.4em`,paddingBlock:`0.2em 0.1em`,fontSize:`85%`,fontFamily:e.fontFamilyCode,background:`rgba(150, 150, 150, 0.1)`,border:`1px solid rgba(100, 100, 100, 0.2)`,borderRadius:3},kbd:{margin:`0 0.2em`,paddingInline:`0.4em`,paddingBlock:`0.15em 0.1em`,fontSize:`90%`,fontFamily:e.fontFamilyCode,background:`rgba(150, 150, 150, 0.06)`,border:`1px solid rgba(100, 100, 100, 0.2)`,borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:Xc[2]},"u, ins":{textDecoration:`underline`,textDecorationSkipInk:`auto`},"s, del":{textDecoration:`line-through`},strong:{fontWeight:e.fontWeightStrong},"ul, ol":{marginInline:0,marginBlock:`0 1em`,padding:0,li:{marginInline:`20px 0`,marginBlock:0,paddingInline:`4px 0`,paddingBlock:0}},ul:{listStyleType:`circle`,ul:{listStyleType:`disc`}},ol:{listStyleType:`decimal`},"pre, blockquote":{margin:`1em 0`},pre:{padding:`0.4em 0.6em`,whiteSpace:`pre-wrap`,wordWrap:`break-word`,background:`rgba(150, 150, 150, 0.1)`,border:`1px solid rgba(100, 100, 100, 0.2)`,borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:`inline`,margin:0,padding:0,fontSize:`inherit`,fontFamily:`inherit`,background:`transparent`,border:0}},blockquote:{paddingInline:`0.6em 0`,paddingBlock:0,borderInlineStart:`4px solid rgba(100, 100, 100, 0.2)`,opacity:.85}}),g1=e=>{let{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:`relative`,"div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),insetBlockStart:e.calc(r).div(-2).add(1).equal(),marginBottom:e.calc(r).div(2).sub(2).equal()},[`${t}-edit-content-confirm`]:{position:`absolute`,insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorIcon,fontWeight:`normal`,fontSize:e.fontSize,fontStyle:`normal`,pointerEvents:`none`},textarea:{margin:`0!important`,MozTransition:`none`,height:`1em`}}}},_1=e=>({[`${e.componentCls}-copy-success`]:{"&, &:hover, &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),v1=()=>({"a&-ellipsis, span&-ellipsis":{display:`inline-block`,maxWidth:`100%`},"&-ellipsis-single-line":{whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,"a&, span&":{verticalAlign:`bottom`},"> code":{paddingBlock:0,maxWidth:`calc(100% - 1.2em)`,display:`inline-block`,overflow:`hidden`,textOverflow:`ellipsis`,verticalAlign:`bottom`,boxSizing:`content-box`}},"&-ellipsis-multiple-line":{display:`-webkit-box`,overflow:`hidden`,WebkitLineClamp:3,WebkitBoxOrient:`vertical`}}),y1=Ql(`Typography`,e=>{let{componentCls:t,titleMarginTop:n}=e;return{[t]:{color:e.colorText,wordBreak:`break-word`,lineHeight:e.lineHeight,[`&${t}-secondary, &${t}-link${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success, &${t}-link${t}-success`]:{color:e.colorSuccessText},[`&${t}-warning, &${t}-link${t}-warning`]:{color:e.colorWarningText},[`&${t}-danger, &${t}-link${t}-danger`]:{color:e.colorErrorText,[`&${t}-link:active, &${t}-link:focus`]:{color:e.colorErrorTextActive},[`&${t}-link:hover`]:{color:e.colorErrorTextHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:`not-allowed`,userSelect:`none`},"div&, p":{marginBottom:`1em`},...p1(e),[`& + h1${t}, & + h2${t}, & + h3${t}, & + h4${t}, & + h5${t}`]:{marginTop:n},"div, ul, li, p, h1, h2, h3, h4, h5":{"+ h1, + h2, + h3, + h4, + h5":{marginTop:n}},...h1(e),...m1(e),[`${t}-actions`]:{display:`inline`},[` ${t}-expand, ${t}-collapse, ${t}-edit, ${t}-copy - `]:{...Zl(e),marginInlineStart:e.marginXXS},...x1(e),...S1(e),...C1(),"&-rtl":{direction:`rtl`}}}},()=>({titleMarginTop:`1.2em`,titleMarginBottom:`0.5em`})),T1=e=>{let{prefixCls:t,"aria-label":n,className:r,style:i,direction:a,maxLength:o,autoSize:s=!0,value:c,onSave:l,onCancel:u,onEnd:d,component:f,enterIcon:p=S.createElement(g1,null)}=e,m=S.useRef(null),h=S.useRef(!1),g=S.useRef(null),[_,v]=S.useState(c);S.useEffect(()=>{v(c)},[c]),S.useEffect(()=>{if(m.current?.resizableTextArea){let{textArea:e}=m.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let y=({target:e})=>{v(e.value.replace(/[\n\r]/g,``))},b=()=>{h.current=!0},x=()=>{h.current=!1},C=({keyCode:e})=>{h.current||(g.current=e)},w=()=>{l(_.trim())},T=({keyCode:e,ctrlKey:t,altKey:n,metaKey:r,shiftKey:i})=>{g.current!==e||h.current||t||n||r||i||(e===Qr.ENTER?(w(),d?.()):e===Qr.ESC&&u())},E=()=>{w()},[D,O]=w1(t),k=J(t,`${t}-edit-content`,{[`${t}-rtl`]:a===`rtl`,[`${t}-${f}`]:!!f},r,D,O);return S.createElement(`div`,{className:k,style:i},S.createElement(gG,{ref:m,maxLength:o,value:_,onChange:y,onKeyDown:C,onKeyUp:T,onCompositionStart:b,onCompositionEnd:x,onBlur:E,"aria-label":n,rows:1,autoSize:s}),p===null?null:lm(p,{className:`${t}-edit-content-confirm`}))},E1=(e,t)=>{let n=!1,r=r=>{r.stopPropagation(),r.preventDefault(),r.clipboardData?.clearData(),r.clipboardData?.setData(`text/plain`,e),t&&r.clipboardData?.setData(`text/html`,e),n=!0};try{return document.addEventListener(`copy`,r,{capture:!0}),document.execCommand(`copy`),n}catch{return!1}finally{document.removeEventListener(`copy`,r,{capture:!0})}},D1=async(e,t)=>{try{return t?await navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([e],{type:`text/html`}),"text/plain":new Blob([e],{type:`text/plain`})})]):await navigator.clipboard.writeText(e),!0}catch{return!1}};async function O1(e,t){if(typeof e!=`string`)return!1;let n=t?.format===`text/html`;return!!(await D1(e,n)||E1(e,n))}var k1=({copyConfig:e,children:t})=>{let[n,r]=S.useState(!1),[i,a]=S.useState(!1),o=S.useRef(null),s=()=>{o.current&&clearTimeout(o.current)},c={};return e.format&&(c.format=e.format),S.useEffect(()=>s,[]),{copied:n,copyLoading:i,onClick:zn(async n=>{n?.preventDefault(),n?.stopPropagation(),a(!0);try{await O1((typeof e.text==`function`?await e.text():e.text)||NK(t,{skipEmpty:!0}).join(``)||``,c),a(!1),r(!0),s(),o.current=setTimeout(()=>{r(!1)},3e3),e.onCopy?.(n)}catch(e){throw a(!1),e}})}};function A1(e,t){return S.useMemo(()=>{let n=!!e;return[n,{...t,...n&&typeof e==`object`?e:null}]},[e])}var j1=e=>{let t=(0,S.useRef)(void 0);return(0,S.useEffect)(()=>{t.current=e}),t.current},M1=(e,t,n)=>(0,S.useMemo)(()=>e===!0?{title:t??n}:(0,S.isValidElement)(e)?{title:e}:nf(e)?{title:t??n,...e}:{title:e},[e,t,n]),N1=S.forwardRef((e,t)=>{let{prefixCls:n,component:r=`article`,className:i,rootClassName:a,children:o,direction:s,style:c,...l}=e,{getPrefixCls:u,direction:d,className:f,style:p}=ya(`typography`),m=s??d,h=u(`typography`,n),[g,_]=w1(h),v=J(h,f,{[`${h}-rtl`]:m===`rtl`},i,a,g,_),y={...p,...c};return S.createElement(r,{className:v,style:y,ref:t,...l},o)}),P1=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z`}}]},name:`copy`,theme:`outlined`}}))());function F1(){return F1=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,F1({},e,{ref:t,icon:P1.default}))),L1=e=>e===!1?[!1,!1]:NK(e);function R1(e,t,n){return e===!0||e===void 0?t:e||n&&t}function z1(e){let t=document.createElement(`em`);e.appendChild(t);let n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return e.removeChild(t),n.left>r.left||r.right>n.right||n.top>r.top||r.bottom>n.bottom}var B1=e=>[`string`,`number`].includes(typeof e),V1=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:i,tooltips:a,icon:o,tabIndex:s,onCopy:c,loading:l}=e,u=L1(a),d=L1(o),{copied:f,copy:p}=r??{},m=n?f:p,h=R1(u[+!!n],m),g=typeof h==`string`?h:m;return S.createElement(Jw,{title:h},S.createElement(`button`,{type:`button`,className:J(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:i}),onClick:c,"aria-label":g,tabIndex:s},n?R1(d[1],S.createElement(qC,null),!0):R1(d[0],l?S.createElement(Zm,null):S.createElement(I1,null),!0)))},H1=S.forwardRef(({style:e,children:t},n)=>{let r=S.useRef(null);return S.useImperativeHandle(n,()=>({isExceed:()=>{let e=r.current;return e.scrollHeight>e.clientHeight},getHeight:()=>r.current.clientHeight})),S.createElement(`span`,{"aria-hidden":!0,ref:r,style:{position:`fixed`,display:`block`,left:0,top:0,pointerEvents:`none`,backgroundColor:`rgba(255, 0, 0, 0.65)`,...e}},t)}),Nne=e=>e.reduce((e,t)=>e+(B1(t)?String(t).length:1),0);function U1(e,t){let n=0,r=[];for(let i=0;it){let e=t-n;return r.push(String(a).slice(0,e)),r}r.push(a),n=s}return e}var W1=0,G1=1,K1=2,q1=3,J1=4,Y1={display:`-webkit-box`,overflow:`hidden`,WebkitBoxOrient:`vertical`};function X1(e){let{enableMeasure:t,width:n,text:r,children:i,rows:a,expanded:o,miscDeps:s,onEllipsis:c}=e,l=S.useMemo(()=>ki(r),[r]),u=S.useMemo(()=>Nne(l),[r]),d=S.useMemo(()=>i(l,!1),[r]),[f,p]=S.useState(null),m=S.useRef(null),h=S.useRef(null),g=S.useRef(null),_=S.useRef(null),v=S.useRef(null),[y,b]=S.useState(!1),[x,C]=S.useState(W1),[w,T]=S.useState(0),[E,D]=S.useState(null);Hn(()=>{C(t&&n&&u?G1:W1)},[n,r,a,t,l]),Hn(()=>{if(x===G1)C(K1),D(h.current&&getComputedStyle(h.current).whiteSpace);else if(x===K1){let e=!!g.current?.isExceed();C(e?q1:J1),p(e?[0,u]:null),b(e);let t=g.current?.getHeight()||0,n=a===1?0:_.current?.getHeight()||0,r=v.current?.getHeight()||0;T(Math.max(t,n+r)+1),c(e)}},[x]);let O=f?Math.ceil((f[0]+f[1])/2):0;Hn(()=>{let[e,t]=f||[0,0];if(e!==t){let n=(m.current?.getHeight()||0)>w,r=O;t-e===1&&(r=n?e:t),p(n?[e,r]:[r,t])}},[f,O]);let k=S.useMemo(()=>{if(!t)return i(l,!1);if(x!==q1||!f||f[0]!==f[1]){let e=i(l,!1);return[J1,W1].includes(x)?e:S.createElement(`span`,{style:{...Y1,WebkitLineClamp:a}},e)}return i(o?l:U1(l,f[0]),y)},[o,x,f,l].concat(pa(s))),A={width:n,margin:0,padding:0,whiteSpace:E===`nowrap`?`normal`:`inherit`};return S.createElement(S.Fragment,null,k,x===K1&&S.createElement(S.Fragment,null,S.createElement(H1,{style:{...A,...Y1,WebkitLineClamp:a},ref:g},d),S.createElement(H1,{style:{...A,...Y1,WebkitLineClamp:a-1},ref:_},d),S.createElement(H1,{style:{...A,...Y1,WebkitLineClamp:1},ref:v},i([],!0))),x===q1&&f&&f[0]!==f[1]&&S.createElement(H1,{style:{...A,top:400},ref:m},i(U1(l,O),!0)),x===G1&&S.createElement(`span`,{style:{whiteSpace:`inherit`},ref:h}))}var Z1=({enableEllipsis:e,isEllipsis:t,open:n,children:r,tooltipProps:i})=>{if(!i?.title||!e)return r;let a=n&&t;return S.createElement(Jw,{open:a,...i},r)};function Q1({mark:e,code:t,underline:n,delete:r,strong:i,keyboard:a,italic:o},s){let c=s;function l(e,t){t&&(c=S.createElement(e,{},c))}return l(`strong`,i),l(`u`,n),l(`del`,r),l(`code`,t),l(`mark`,e),l(`kbd`,a),l(`i`,o),c}var $1=`...`,e0=[`delete`,`mark`,`code`,`underline`,`strong`,`keyboard`,`italic`],t0=S.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:i,type:a,disabled:o,children:s,ellipsis:c,editable:l,copyable:u,component:d,title:f,onMouseEnter:p,onMouseLeave:m,...h}=e,{getPrefixCls:g,direction:_}=S.useContext(ga),[v]=Yd(`Text`),y=S.useRef(null),b=S.useRef(null),x=g(`typography`,n),C=gi(h,e0),[w,T]=A1(l),[E,D]=Gn(!1,T.editing),{triggerType:O=[`icon`]}=T,k=e=>{e&&T.onStart?.(),D(e)},A=j1(E);Hn(()=>{!E&&A&&b.current?.focus()},[E]);let j=e=>{e?.preventDefault(),k(!0)},M=e=>{T.onChange?.(e),k(!1)},N=()=>{T.onCancel?.(),k(!1)},[P,F]=A1(u),{copied:I,copyLoading:L,onClick:R}=k1({copyConfig:F,children:s}),[z,B]=S.useState(!1),[V,H]=S.useState(!1),[U,W]=S.useState(!1),[ee,te]=S.useState(!1),[ne,re]=S.useState(!0),[G,ie]=A1(c,{expandable:!1,symbol:e=>e?v?.collapse:v?.expand}),[K,ae]=Gn(ie.defaultExpanded||!1,ie.expanded),q=G&&(!K||ie.expandable===`collapsible`),{rows:oe=1}=ie,se=S.useMemo(()=>q&&(ie.suffix!==void 0||ie.onEllipsis||ie.expandable||w||P),[q,ie,w,P]);Hn(()=>{G&&!se&&(B(Zr(`webkitLineClamp`)),H(Zr(`textOverflow`)))},[se,G]);let[ce,le]=S.useState(q),ue=S.useMemo(()=>se?!1:oe===1?V:z,[se,V,z]);Hn(()=>{le(ue&&q)},[ue,q]);let de=M1(ie.tooltip,T.text,s),fe=ce&&!!de.title,pe=q&&(ce?fe&&ee:U),me=q&&oe===1&&ce,he=q&&oe>1&&ce,ge=(e,t)=>{ae(t.expanded),ie.onExpand?.(e,t)},[_e,ve]=S.useState(0),[ye,be]=S.useState(!1),[xe,Se]=S.useState(!1),Ce=({offsetWidth:e})=>{ve(e)},we=e=>{W(e),U!==e&&ie.onEllipsis?.(e)};S.useEffect(()=>{let e=y.current;if(G&&fe&&e){let t=z1(e);ee!==t&&te(t)}},[G,fe,s,he,ne,_e]),S.useEffect(()=>{let e=y.current;if(typeof IntersectionObserver>`u`||!e||!fe||!q)return;let t=new IntersectionObserver(()=>{re(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[fe,q]);let Te=S.useMemo(()=>{if(!(!G||ce))return[T.text,s,f,de.title].find(B1)},[G,ce,f,de.title,pe]);if(E)return S.createElement(T1,{value:T.text??(typeof s==`string`?s:``),onSave:M,onCancel:N,onEnd:T.onEnd,prefixCls:x,className:r,style:i,direction:_,component:d,maxLength:T.maxLength,autoSize:T.autoSize,enterIcon:T.enterIcon});let Ee=()=>{let{expandable:e,symbol:t}=ie;return e?S.createElement(`button`,{type:`button`,key:`expand`,className:`${x}-${K?`collapse`:`expand`}`,onClick:e=>ge(e,{expanded:!K}),"aria-label":K?v.collapse:v?.expand},typeof t==`function`?t(K):t):null},De=()=>{if(!w)return;let{icon:e,tooltip:t,tabIndex:n}=T,r=ki(t)[0]||v?.edit,i=typeof r==`string`?r:``;return O.includes(`icon`)?S.createElement(Jw,{key:`edit`,title:t===!1?``:r},S.createElement(`button`,{type:`button`,ref:b,className:`${x}-edit`,onClick:j,"aria-label":i,tabIndex:n},e||S.createElement(p1,{role:`button`}))):null},Oe=()=>P?S.createElement(V1,{key:`copy`,...F,prefixCls:x,copied:I,locale:v,onCopy:R,loading:L,iconOnly:!$d(s)}):null,ke=e=>{let t=e&&Ee(),n=De(),r=Oe();return!t&&!n&&!r?null:S.createElement(`span`,{key:`operations`,className:`${x}-actions`,onMouseEnter:()=>be(!0),onMouseLeave:()=>be(!1)},t,n,r)},Ae=e=>[e&&!K&&S.createElement(`span`,{"aria-hidden":!0,key:`ellipsis`},$1),ie.suffix,ke(e)];return S.createElement(oa,{onResize:Ce,disabled:!q},c=>S.createElement(Z1,{tooltipProps:de,enableEllipsis:q,isEllipsis:pe,open:xe&&!ye},S.createElement(N1,{onMouseEnter:e=>{Se(!0),p?.(e)},onMouseLeave:e=>{Se(!1),m?.(e)},className:J({[`${x}-${a}`]:a,[`${x}-disabled`]:o,[`${x}-ellipsis`]:G,[`${x}-ellipsis-single-line`]:me,[`${x}-ellipsis-multiple-line`]:he,[`${x}-link`]:d===`a`},r),prefixCls:n,style:{...i,WebkitLineClamp:he?oe:void 0},component:d,ref:cr(c,y,t),direction:_,onClick:O.includes(`text`)?j:void 0,"aria-label":Te?.toString(),title:f,...C},S.createElement(X1,{enableMeasure:q&&!ce,text:s,rows:oe,width:_e,onEllipsis:we,expanded:K,miscDeps:[I,K,L,w,P,v].concat(pa(e0.map(t=>e[t])))},(t,n)=>Q1(e,S.createElement(S.Fragment,null,t.length>0&&n&&!K&&Te?S.createElement(`span`,{key:`show-content`,"aria-hidden":!0},t):t,Ae(n)))))))}),n0=S.forwardRef((e,t)=>{let{ellipsis:n,rel:r,children:i,navigate:a,...o}=e,s={...o,rel:r===void 0&&o.target===`_blank`?`noopener noreferrer`:r};return S.createElement(t0,{...s,ref:t,ellipsis:!!n,component:`a`},i)}),r0=S.forwardRef((e,t)=>{let{children:n,...r}=e;return S.createElement(t0,{ref:t,...r,component:`div`},n)}),i0=S.forwardRef((e,t)=>{let{ellipsis:n,children:r,...i}=e,a=S.useMemo(()=>nf(n)?gi(n,[`expandable`,`rows`]):n,[n]);return S.createElement(t0,{ref:t,...i,ellipsis:a,component:`span`},r)}),a0=[1,2,3,4,5],o0=S.forwardRef((e,t)=>{let{level:n=1,children:r,...i}=e,a=a0.includes(n)?`h${n}`:`h1`;return S.createElement(t0,{ref:t,...i,component:a},r)}),Q=N1;Q.Text=i0,Q.Link=n0,Q.Title=o0,Q.Paragraph=r0;var s0=((e,t)=>{if(e&&t){let n=Array.isArray(t)?t:t.split(`,`),r=e.name||``,i=e.type||``,a=i.replace(/\/.*$/,``);return n.some(e=>{let t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if(t.charAt(0)===`.`){let e=r.toLowerCase(),n=t.toLowerCase(),i=[n];return(n===`.jpg`||n===`.jpeg`)&&(i=[`.jpg`,`.jpeg`]),i.some(t=>e.endsWith(t))}return/\/\*$/.test(t)?a===t.replace(/\/.*$/,``):i===t?!0:/^\w+$/.test(t)?(ui(!1,`Upload takes an invalidate 'accept' type '${t}'.Skip for check.`),!0):!1})}return!0});function c0(e,t){let n=`cannot ${e.method} ${e.action} ${t.status}'`,r=Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function l0(e){let t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function u0(e){let t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});let n=new FormData;e.data&&Object.keys(e.data).forEach(t=>{let r=e.data[t];if(Array.isArray(r)){r.forEach(e=>{n.append(`${t}[]`,e)});return}n.append(t,r)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(c0(e,t),l0(t)):e.onSuccess(l0(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&`withCredentials`in t&&(t.withCredentials=!0);let r=e.headers||{};return r[`X-Requested-With`]!==null&&t.setRequestHeader(`X-Requested-With`,`XMLHttpRequest`),Object.keys(r).forEach(e=>{r[e]!==null&&t.setRequestHeader(e,r[e])}),t.send(n),{abort(){t.abort()}}}var d0=async(e,t)=>{let n=[],r=[];e.forEach(e=>r.push(e.webkitGetAsEntry()));async function i(e){let t=e.createReader(),n=[];for(;;){let e=await new Promise(e=>{t.readEntries(e,()=>e([]))}),r=e.length;if(!r)break;for(let t=0;t{e.file(r=>{t(r)?(e.fullPath&&!r.webkitRelativePath&&(Object.defineProperties(r,{webkitRelativePath:{writable:!0}}),r.webkitRelativePath=e.fullPath.replace(/^\//,``),Object.defineProperties(r,{webkitRelativePath:{writable:!1}})),n(r)):n(null)})})}let o=async(e,t)=>{if(e){if(e.path=t||``,e.isFile){let t=await a(e);t&&n.push(t)}else if(e.isDirectory){let t=await i(e);r.push(...t)}}},s=0;for(;s{let{accept:n,directory:r}=this.props,i,a;if(typeof n==`string`)a=n;else{let{filter:e,format:t}=n||{};a=t,i=e===`native`?()=>!0:e}return(i||(r||t?e=>s0(e,a):()=>!0))(e)};onChange=e=>{let{files:t}=e.target,n=[...t].filter(e=>this.filterFile(e));this.uploadFiles(n),this.reset()};onClick=e=>{let t=this.fileInput;if(!t)return;let n=e.target,{onClick:r}=this.props;n&&n.tagName===`BUTTON`&&(t.parentNode.focus(),n.blur()),t.click(),r&&r(e)};onKeyDown=e=>{e.key===`Enter`&&this.onClick(e)};onDataTransferFiles=async(e,t)=>{let{multiple:n,directory:r}=this.props,i=[...e.items||[]],a=[...e.files||[]];if((a.length>0||i.some(e=>e.kind===`file`))&&t?.(),r)a=await d0(Array.prototype.slice.call(i),this.filterFile),this.uploadFiles(a);else{let e=[...a].filter(e=>this.filterFile(e,!0));n===!1&&(e=a.slice(0,1)),this.uploadFiles(e)}};onFilePaste=async e=>{let{pastable:t}=this.props;if(t&&e.type===`paste`){let t=e.clipboardData;return this.onDataTransferFiles(t,()=>{e.preventDefault()})}};onFileDragOver=e=>{e.preventDefault()};onFileDrop=async e=>{if(e.preventDefault(),e.type===`drop`){let t=e.dataTransfer;return this.onDataTransferFiles(t)}};componentDidMount(){this._isMounted=!0;let{pastable:e}=this.props;e&&document.addEventListener(`paste`,this.onFilePaste)}componentWillUnmount(){this._isMounted=!1,this.abort(),document.removeEventListener(`paste`,this.onFilePaste)}componentDidUpdate(e){let{pastable:t}=this.props;t&&!e.pastable?document.addEventListener(`paste`,this.onFilePaste):!t&&e.pastable&&document.removeEventListener(`paste`,this.onFilePaste)}uploadFiles=e=>{let t=[...e],n=t.map(e=>(e.uid=m0(),this.processFile(e,t)));Promise.all(n).then(e=>{let{onBatchStart:t}=this.props;t?.(e.map(({origin:e,parsedFile:t})=>({file:e,parsedFile:t}))),e.filter(e=>e.parsedFile!==null).forEach(e=>{this.post(e)})})};processFile=async(e,t)=>{let{beforeUpload:n}=this.props,r=e;if(n){try{r=await n(e,t)}catch{r=!1}if(r===!1)return{origin:e,parsedFile:null,action:null,data:null}}let{action:i}=this.props,a;a=typeof i==`function`?await i(e):i;let{data:o}=this.props,s;s=typeof o==`function`?await o(e):o;let c=(typeof r==`object`||typeof r==`string`)&&r?r:e,l;l=c instanceof File?c:new File([c],e.name,{type:e.type});let u=l;return u.uid=e.uid,{origin:e,data:s,parsedFile:u,action:a}};post({data:e,origin:t,action:n,parsedFile:r}){if(!this._isMounted)return;let{onStart:i,customRequest:a,name:o,headers:s,withCredentials:c,method:l}=this.props,{uid:u}=t,d=a||u0,f={action:n,filename:o,data:e,file:r,headers:s,withCredentials:c,method:l||`post`,onProgress:e=>{let{onProgress:t}=this.props;t?.(e,r)},onSuccess:(e,t)=>{let{onSuccess:n}=this.props;n?.(e,r,t),delete this.reqs[u]},onError:(e,t)=>{let{onError:n}=this.props;n?.(e,t,r),delete this.reqs[u]}};i(t),this.reqs[u]=d(f,{defaultRequest:u0})}reset(){this.setState({uid:m0()})}abort(e){let{reqs:t}=this;if(e){let n=e.uid?e.uid:e;t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach(e=>{t[e]&&t[e].abort&&t[e].abort(),delete t[e]})}saveFileInput=e=>{this.fileInput=e};render(){let{component:e,prefixCls:t,className:n,classNames:r={},disabled:i,id:a,name:o,style:s,styles:c={},multiple:l,accept:u,capture:d,children:f,directory:p,openFileDialogOnClick:m,onMouseEnter:h,onMouseLeave:g,hasControlInside:_,...v}=this.props,y=typeof u==`string`?u:u?.format,b=J(t,{[`${t}-disabled`]:i,[n]:n}),x=p?{directory:`directory`,webkitdirectory:`webkitdirectory`}:{},C=i?{}:{onClick:m?this.onClick:()=>{},onKeyDown:m?this.onKeyDown:()=>{},onMouseEnter:h,onMouseLeave:g,onDrop:this.onFileDrop,onDragOver:this.onFileDragOver,tabIndex:_?void 0:`0`};return S.createElement(e,h0({},C,{className:b,role:_?void 0:`button`,style:s}),S.createElement(`input`,h0({},xi(v,{aria:!0,data:!0}),{id:a,name:o,disabled:i,type:`file`,ref:this.saveFileInput,onClick:e=>e.stopPropagation(),key:this.state.uid,style:{display:`none`,...c.input},className:r.input,accept:y},x,{multiple:l,onChange:this.onChange},d==null?{}:{capture:d})),f)}};function _0(){return _0=Object.assign?Object.assign.bind():function(e){for(var t=1;t{this.uploader=e};render(){return S.createElement(g0,_0({},this.props,{ref:this.saveUploader}))}},b0=e=>{let{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:`relative`,width:`100%`,height:`100%`,textAlign:`center`,background:e.colorFillAlter,border:`${Y(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:`pointer`,transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:`table`,width:`100%`,height:`100%`,outline:`none`,borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${Y(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:`table-cell`,verticalAlign:`middle`},[` + `]:{...Zl(e),marginInlineStart:e.marginXXS},...g1(e),..._1(e),...v1(),"&-rtl":{direction:`rtl`}}}},()=>({titleMarginTop:`1.2em`,titleMarginBottom:`0.5em`})),b1=e=>{let{prefixCls:t,"aria-label":n,className:r,style:i,direction:a,maxLength:o,autoSize:s=!0,value:c,onSave:l,onCancel:u,onEnd:d,component:f,enterIcon:p=S.createElement(d1,null)}=e,m=S.useRef(null),h=S.useRef(!1),g=S.useRef(null),[_,v]=S.useState(c);S.useEffect(()=>{v(c)},[c]),S.useEffect(()=>{if(m.current?.resizableTextArea){let{textArea:e}=m.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let y=({target:e})=>{v(e.value.replace(/[\n\r]/g,``))},b=()=>{h.current=!0},x=()=>{h.current=!1},C=({keyCode:e})=>{h.current||(g.current=e)},w=()=>{l(_.trim())},T=({keyCode:e,ctrlKey:t,altKey:n,metaKey:r,shiftKey:i})=>{g.current!==e||h.current||t||n||r||i||(e===Qr.ENTER?(w(),d?.()):e===Qr.ESC&&u())},E=()=>{w()},[D,O]=y1(t),k=J(t,`${t}-edit-content`,{[`${t}-rtl`]:a===`rtl`,[`${t}-${f}`]:!!f},r,D,O);return S.createElement(`div`,{className:k,style:i},S.createElement(dG,{ref:m,maxLength:o,value:_,onChange:y,onKeyDown:C,onKeyUp:T,onCompositionStart:b,onCompositionEnd:x,onBlur:E,"aria-label":n,rows:1,autoSize:s}),p===null?null:um(p,{className:`${t}-edit-content-confirm`}))},x1=(e,t)=>{let n=!1,r=r=>{r.stopPropagation(),r.preventDefault(),r.clipboardData?.clearData(),r.clipboardData?.setData(`text/plain`,e),t&&r.clipboardData?.setData(`text/html`,e),n=!0};try{return document.addEventListener(`copy`,r,{capture:!0}),document.execCommand(`copy`),n}catch{return!1}finally{document.removeEventListener(`copy`,r,{capture:!0})}},S1=async(e,t)=>{try{return t?await navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([e],{type:`text/html`}),"text/plain":new Blob([e],{type:`text/plain`})})]):await navigator.clipboard.writeText(e),!0}catch{return!1}};async function C1(e,t){if(typeof e!=`string`)return!1;let n=t?.format===`text/html`;return!!(await S1(e,n)||x1(e,n))}var w1=({copyConfig:e,children:t})=>{let[n,r]=S.useState(!1),[i,a]=S.useState(!1),o=S.useRef(null),s=()=>{o.current&&clearTimeout(o.current)},c={};return e.format&&(c.format=e.format),S.useEffect(()=>s,[]),{copied:n,copyLoading:i,onClick:zn(async n=>{n?.preventDefault(),n?.stopPropagation(),a(!0);try{await C1((typeof e.text==`function`?await e.text():e.text)||OK(t,{skipEmpty:!0}).join(``)||``,c),a(!1),r(!0),s(),o.current=setTimeout(()=>{r(!1)},3e3),e.onCopy?.(n)}catch(e){throw a(!1),e}})}};function T1(e,t){return S.useMemo(()=>{let n=!!e;return[n,{...t,...n&&typeof e==`object`?e:null}]},[e])}var E1=e=>{let t=(0,S.useRef)(void 0);return(0,S.useEffect)(()=>{t.current=e}),t.current},D1=(e,t,n)=>(0,S.useMemo)(()=>e===!0?{title:t??n}:(0,S.isValidElement)(e)?{title:e}:nf(e)?{title:t??n,...e}:{title:e},[e,t,n]),O1=S.forwardRef((e,t)=>{let{prefixCls:n,component:r=`article`,className:i,rootClassName:a,children:o,direction:s,style:c,...l}=e,{getPrefixCls:u,direction:d,className:f,style:p}=ya(`typography`),m=s??d,h=u(`typography`,n),[g,_]=y1(h),v=J(h,f,{[`${h}-rtl`]:m===`rtl`},i,a,g,_),y={...p,...c};return S.createElement(r,{className:v,style:y,ref:t,...l},o)}),k1=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z`}}]},name:`copy`,theme:`outlined`}}))());function A1(){return A1=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,A1({},e,{ref:t,icon:k1.default}))),M1=e=>e===!1?[!1,!1]:OK(e);function N1(e,t,n){return e===!0||e===void 0?t:e||n&&t}function P1(e){let t=document.createElement(`em`);e.appendChild(t);let n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return e.removeChild(t),n.left>r.left||r.right>n.right||n.top>r.top||r.bottom>n.bottom}var F1=e=>[`string`,`number`].includes(typeof e),I1=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:i,tooltips:a,icon:o,tabIndex:s,onCopy:c,loading:l}=e,u=M1(a),d=M1(o),{copied:f,copy:p}=r??{},m=n?f:p,h=N1(u[+!!n],m),g=typeof h==`string`?h:m;return S.createElement(Iw,{title:h},S.createElement(`button`,{type:`button`,className:J(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:i}),onClick:c,"aria-label":g,tabIndex:s},n?N1(d[1],S.createElement(FC,null),!0):N1(d[0],l?S.createElement(Xm,null):S.createElement(j1,null),!0)))},L1=S.forwardRef(({style:e,children:t},n)=>{let r=S.useRef(null);return S.useImperativeHandle(n,()=>({isExceed:()=>{let e=r.current;return e.scrollHeight>e.clientHeight},getHeight:()=>r.current.clientHeight})),S.createElement(`span`,{"aria-hidden":!0,ref:r,style:{position:`fixed`,display:`block`,left:0,top:0,pointerEvents:`none`,backgroundColor:`rgba(255, 0, 0, 0.65)`,...e}},t)}),R1=e=>e.reduce((e,t)=>e+(F1(t)?String(t).length:1),0);function z1(e,t){let n=0,r=[];for(let i=0;it){let e=t-n;return r.push(String(a).slice(0,e)),r}r.push(a),n=s}return e}var B1=0,V1=1,H1=2,U1=3,W1=4,G1={display:`-webkit-box`,overflow:`hidden`,WebkitBoxOrient:`vertical`};function K1(e){let{enableMeasure:t,width:n,text:r,children:i,rows:a,expanded:o,miscDeps:s,onEllipsis:c}=e,l=S.useMemo(()=>ki(r),[r]),u=S.useMemo(()=>R1(l),[r]),d=S.useMemo(()=>i(l,!1),[r]),[f,p]=S.useState(null),m=S.useRef(null),h=S.useRef(null),g=S.useRef(null),_=S.useRef(null),v=S.useRef(null),[y,b]=S.useState(!1),[x,C]=S.useState(B1),[w,T]=S.useState(0),[E,D]=S.useState(null);Hn(()=>{C(t&&n&&u?V1:B1)},[n,r,a,t,l]),Hn(()=>{if(x===V1)C(H1),D(h.current&&getComputedStyle(h.current).whiteSpace);else if(x===H1){let e=!!g.current?.isExceed();C(e?U1:W1),p(e?[0,u]:null),b(e);let t=g.current?.getHeight()||0,n=a===1?0:_.current?.getHeight()||0,r=v.current?.getHeight()||0;T(Math.max(t,n+r)+1),c(e)}},[x]);let O=f?Math.ceil((f[0]+f[1])/2):0;Hn(()=>{let[e,t]=f||[0,0];if(e!==t){let n=(m.current?.getHeight()||0)>w,r=O;t-e===1&&(r=n?e:t),p(n?[e,r]:[r,t])}},[f,O]);let k=S.useMemo(()=>{if(!t)return i(l,!1);if(x!==U1||!f||f[0]!==f[1]){let e=i(l,!1);return[W1,B1].includes(x)?e:S.createElement(`span`,{style:{...G1,WebkitLineClamp:a}},e)}return i(o?l:z1(l,f[0]),y)},[o,x,f,l].concat(pa(s))),A={width:n,margin:0,padding:0,whiteSpace:E===`nowrap`?`normal`:`inherit`};return S.createElement(S.Fragment,null,k,x===H1&&S.createElement(S.Fragment,null,S.createElement(L1,{style:{...A,...G1,WebkitLineClamp:a},ref:g},d),S.createElement(L1,{style:{...A,...G1,WebkitLineClamp:a-1},ref:_},d),S.createElement(L1,{style:{...A,...G1,WebkitLineClamp:1},ref:v},i([],!0))),x===U1&&f&&f[0]!==f[1]&&S.createElement(L1,{style:{...A,top:400},ref:m},i(z1(l,O),!0)),x===V1&&S.createElement(`span`,{style:{whiteSpace:`inherit`},ref:h}))}var q1=({enableEllipsis:e,isEllipsis:t,open:n,children:r,tooltipProps:i})=>{if(!i?.title||!e)return r;let a=n&&t;return S.createElement(Iw,{open:a,...i},r)};function J1({mark:e,code:t,underline:n,delete:r,strong:i,keyboard:a,italic:o},s){let c=s;function l(e,t){t&&(c=S.createElement(e,{},c))}return l(`strong`,i),l(`u`,n),l(`del`,r),l(`code`,t),l(`mark`,e),l(`kbd`,a),l(`i`,o),c}var Y1=`...`,X1=[`delete`,`mark`,`code`,`underline`,`strong`,`keyboard`,`italic`],Z1=S.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:i,type:a,disabled:o,children:s,ellipsis:c,editable:l,copyable:u,component:d,title:f,onMouseEnter:p,onMouseLeave:m,...h}=e,{getPrefixCls:g,direction:_}=S.useContext(ga),[v]=Yd(`Text`),y=S.useRef(null),b=S.useRef(null),x=g(`typography`,n),C=gi(h,X1),[w,T]=T1(l),[E,D]=Gn(!1,T.editing),{triggerType:O=[`icon`]}=T,k=e=>{e&&T.onStart?.(),D(e)},A=E1(E);Hn(()=>{!E&&A&&b.current?.focus()},[E]);let j=e=>{e?.preventDefault(),k(!0)},M=e=>{T.onChange?.(e),k(!1)},N=()=>{T.onCancel?.(),k(!1)},[P,F]=T1(u),{copied:I,copyLoading:L,onClick:R}=w1({copyConfig:F,children:s}),[z,B]=S.useState(!1),[V,H]=S.useState(!1),[U,W]=S.useState(!1),[ee,te]=S.useState(!1),[ne,re]=S.useState(!0),[G,ie]=T1(c,{expandable:!1,symbol:e=>e?v?.collapse:v?.expand}),[K,ae]=Gn(ie.defaultExpanded||!1,ie.expanded),q=G&&(!K||ie.expandable===`collapsible`),{rows:oe=1}=ie,se=S.useMemo(()=>q&&(ie.suffix!==void 0||ie.onEllipsis||ie.expandable||w||P),[q,ie,w,P]);Hn(()=>{G&&!se&&(B(Zr(`webkitLineClamp`)),H(Zr(`textOverflow`)))},[se,G]);let[ce,le]=S.useState(q),ue=S.useMemo(()=>se?!1:oe===1?V:z,[se,V,z]);Hn(()=>{le(ue&&q)},[ue,q]);let de=D1(ie.tooltip,T.text,s),fe=ce&&!!de.title,pe=q&&(ce?fe&&ee:U),me=q&&oe===1&&ce,he=q&&oe>1&&ce,ge=(e,t)=>{ae(t.expanded),ie.onExpand?.(e,t)},[_e,ve]=S.useState(0),[ye,be]=S.useState(!1),[xe,Se]=S.useState(!1),Ce=({offsetWidth:e})=>{ve(e)},we=e=>{W(e),U!==e&&ie.onEllipsis?.(e)};S.useEffect(()=>{let e=y.current;if(G&&fe&&e){let t=P1(e);ee!==t&&te(t)}},[G,fe,s,he,ne,_e]),S.useEffect(()=>{let e=y.current;if(typeof IntersectionObserver>`u`||!e||!fe||!q)return;let t=new IntersectionObserver(()=>{re(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[fe,q]);let Te=S.useMemo(()=>{if(!(!G||ce))return[T.text,s,f,de.title].find(F1)},[G,ce,f,de.title,pe]);if(E)return S.createElement(b1,{value:T.text??(typeof s==`string`?s:``),onSave:M,onCancel:N,onEnd:T.onEnd,prefixCls:x,className:r,style:i,direction:_,component:d,maxLength:T.maxLength,autoSize:T.autoSize,enterIcon:T.enterIcon});let Ee=()=>{let{expandable:e,symbol:t}=ie;return e?S.createElement(`button`,{type:`button`,key:`expand`,className:`${x}-${K?`collapse`:`expand`}`,onClick:e=>ge(e,{expanded:!K}),"aria-label":K?v.collapse:v?.expand},typeof t==`function`?t(K):t):null},De=()=>{if(!w)return;let{icon:e,tooltip:t,tabIndex:n}=T,r=ki(t)[0]||v?.edit,i=typeof r==`string`?r:``;return O.includes(`icon`)?S.createElement(Iw,{key:`edit`,title:t===!1?``:r},S.createElement(`button`,{type:`button`,ref:b,className:`${x}-edit`,onClick:j,"aria-label":i,tabIndex:n},e||S.createElement(c1,{role:`button`}))):null},Oe=()=>P?S.createElement(I1,{key:`copy`,...F,prefixCls:x,copied:I,locale:v,onCopy:R,loading:L,iconOnly:!$d(s)}):null,ke=e=>{let t=e&&Ee(),n=De(),r=Oe();return!t&&!n&&!r?null:S.createElement(`span`,{key:`operations`,className:`${x}-actions`,onMouseEnter:()=>be(!0),onMouseLeave:()=>be(!1)},t,n,r)},Ae=e=>[e&&!K&&S.createElement(`span`,{"aria-hidden":!0,key:`ellipsis`},Y1),ie.suffix,ke(e)];return S.createElement(oa,{onResize:Ce,disabled:!q},c=>S.createElement(q1,{tooltipProps:de,enableEllipsis:q,isEllipsis:pe,open:xe&&!ye},S.createElement(O1,{onMouseEnter:e=>{Se(!0),p?.(e)},onMouseLeave:e=>{Se(!1),m?.(e)},className:J({[`${x}-${a}`]:a,[`${x}-disabled`]:o,[`${x}-ellipsis`]:G,[`${x}-ellipsis-single-line`]:me,[`${x}-ellipsis-multiple-line`]:he,[`${x}-link`]:d===`a`},r),prefixCls:n,style:{...i,WebkitLineClamp:he?oe:void 0},component:d,ref:cr(c,y,t),direction:_,onClick:O.includes(`text`)?j:void 0,"aria-label":Te?.toString(),title:f,...C},S.createElement(K1,{enableMeasure:q&&!ce,text:s,rows:oe,width:_e,onEllipsis:we,expanded:K,miscDeps:[I,K,L,w,P,v].concat(pa(X1.map(t=>e[t])))},(t,n)=>J1(e,S.createElement(S.Fragment,null,t.length>0&&n&&!K&&Te?S.createElement(`span`,{key:`show-content`,"aria-hidden":!0},t):t,Ae(n)))))))}),Q1=S.forwardRef((e,t)=>{let{ellipsis:n,rel:r,children:i,navigate:a,...o}=e,s={...o,rel:r===void 0&&o.target===`_blank`?`noopener noreferrer`:r};return S.createElement(Z1,{...s,ref:t,ellipsis:!!n,component:`a`},i)}),$1=S.forwardRef((e,t)=>{let{children:n,...r}=e;return S.createElement(Z1,{ref:t,...r,component:`div`},n)}),e0=S.forwardRef((e,t)=>{let{ellipsis:n,children:r,...i}=e,a=S.useMemo(()=>nf(n)?gi(n,[`expandable`,`rows`]):n,[n]);return S.createElement(Z1,{ref:t,...i,ellipsis:a,component:`span`},r)}),t0=[1,2,3,4,5],n0=S.forwardRef((e,t)=>{let{level:n=1,children:r,...i}=e,a=t0.includes(n)?`h${n}`:`h1`;return S.createElement(Z1,{ref:t,...i,component:a},r)}),Q=O1;Q.Text=e0,Q.Link=Q1,Q.Title=n0,Q.Paragraph=$1;var r0=((e,t)=>{if(e&&t){let n=Array.isArray(t)?t:t.split(`,`),r=e.name||``,i=e.type||``,a=i.replace(/\/.*$/,``);return n.some(e=>{let t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if(t.charAt(0)===`.`){let e=r.toLowerCase(),n=t.toLowerCase(),i=[n];return(n===`.jpg`||n===`.jpeg`)&&(i=[`.jpg`,`.jpeg`]),i.some(t=>e.endsWith(t))}return/\/\*$/.test(t)?a===t.replace(/\/.*$/,``):i===t?!0:/^\w+$/.test(t)?(ui(!1,`Upload takes an invalidate 'accept' type '${t}'.Skip for check.`),!0):!1})}return!0});function Rne(e,t){let n=`cannot ${e.method} ${e.action} ${t.status}'`,r=Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function i0(e){let t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function a0(e){let t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});let n=new FormData;e.data&&Object.keys(e.data).forEach(t=>{let r=e.data[t];if(Array.isArray(r)){r.forEach(e=>{n.append(`${t}[]`,e)});return}n.append(t,r)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(Rne(e,t),i0(t)):e.onSuccess(i0(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&`withCredentials`in t&&(t.withCredentials=!0);let r=e.headers||{};return r[`X-Requested-With`]!==null&&t.setRequestHeader(`X-Requested-With`,`XMLHttpRequest`),Object.keys(r).forEach(e=>{r[e]!==null&&t.setRequestHeader(e,r[e])}),t.send(n),{abort(){t.abort()}}}var o0=async(e,t)=>{let n=[],r=[];e.forEach(e=>r.push(e.webkitGetAsEntry()));async function i(e){let t=e.createReader(),n=[];for(;;){let e=await new Promise(e=>{t.readEntries(e,()=>e([]))}),r=e.length;if(!r)break;for(let t=0;t{e.file(r=>{t(r)?(e.fullPath&&!r.webkitRelativePath&&(Object.defineProperties(r,{webkitRelativePath:{writable:!0}}),r.webkitRelativePath=e.fullPath.replace(/^\//,``),Object.defineProperties(r,{webkitRelativePath:{writable:!1}})),n(r)):n(null)})})}let o=async(e,t)=>{if(e){if(e.path=t||``,e.isFile){let t=await a(e);t&&n.push(t)}else if(e.isDirectory){let t=await i(e);r.push(...t)}}},s=0;for(;s{let{accept:n,directory:r}=this.props,i,a;if(typeof n==`string`)a=n;else{let{filter:e,format:t}=n||{};a=t,i=e===`native`?()=>!0:e}return(i||(r||t?e=>r0(e,a):()=>!0))(e)};onChange=e=>{let{files:t}=e.target,n=[...t].filter(e=>this.filterFile(e));this.uploadFiles(n),this.reset()};onClick=e=>{let t=this.fileInput;if(!t)return;let n=e.target,{onClick:r}=this.props;n&&n.tagName===`BUTTON`&&(t.parentNode.focus(),n.blur()),t.click(),r&&r(e)};onKeyDown=e=>{e.key===`Enter`&&this.onClick(e)};onDataTransferFiles=async(e,t)=>{let{multiple:n,directory:r}=this.props,i=[...e.items||[]],a=[...e.files||[]];if((a.length>0||i.some(e=>e.kind===`file`))&&t?.(),r)a=await o0(Array.prototype.slice.call(i),this.filterFile),this.uploadFiles(a);else{let e=[...a].filter(e=>this.filterFile(e,!0));n===!1&&(e=a.slice(0,1)),this.uploadFiles(e)}};onFilePaste=async e=>{let{pastable:t}=this.props;if(t&&e.type===`paste`){let t=e.clipboardData;return this.onDataTransferFiles(t,()=>{e.preventDefault()})}};onFileDragOver=e=>{e.preventDefault()};onFileDrop=async e=>{if(e.preventDefault(),e.type===`drop`){let t=e.dataTransfer;return this.onDataTransferFiles(t)}};componentDidMount(){this._isMounted=!0;let{pastable:e}=this.props;e&&document.addEventListener(`paste`,this.onFilePaste)}componentWillUnmount(){this._isMounted=!1,this.abort(),document.removeEventListener(`paste`,this.onFilePaste)}componentDidUpdate(e){let{pastable:t}=this.props;t&&!e.pastable?document.addEventListener(`paste`,this.onFilePaste):!t&&e.pastable&&document.removeEventListener(`paste`,this.onFilePaste)}uploadFiles=e=>{let t=[...e],n=t.map(e=>(e.uid=l0(),this.processFile(e,t)));Promise.all(n).then(e=>{let{onBatchStart:t}=this.props;t?.(e.map(({origin:e,parsedFile:t})=>({file:e,parsedFile:t}))),e.filter(e=>e.parsedFile!==null).forEach(e=>{this.post(e)})})};processFile=async(e,t)=>{let{beforeUpload:n}=this.props,r=e;if(n){try{r=await n(e,t)}catch{r=!1}if(r===!1)return{origin:e,parsedFile:null,action:null,data:null}}let{action:i}=this.props,a;a=typeof i==`function`?await i(e):i;let{data:o}=this.props,s;s=typeof o==`function`?await o(e):o;let c=(typeof r==`object`||typeof r==`string`)&&r?r:e,l;l=c instanceof File?c:new File([c],e.name,{type:e.type});let u=l;return u.uid=e.uid,{origin:e,data:s,parsedFile:u,action:a}};post({data:e,origin:t,action:n,parsedFile:r}){if(!this._isMounted)return;let{onStart:i,customRequest:a,name:o,headers:s,withCredentials:c,method:l}=this.props,{uid:u}=t,d=a||a0,f={action:n,filename:o,data:e,file:r,headers:s,withCredentials:c,method:l||`post`,onProgress:e=>{let{onProgress:t}=this.props;t?.(e,r)},onSuccess:(e,t)=>{let{onSuccess:n}=this.props;n?.(e,r,t),delete this.reqs[u]},onError:(e,t)=>{let{onError:n}=this.props;n?.(e,t,r),delete this.reqs[u]}};i(t),this.reqs[u]=d(f,{defaultRequest:a0})}reset(){this.setState({uid:l0()})}abort(e){let{reqs:t}=this;if(e){let n=e.uid?e.uid:e;t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach(e=>{t[e]&&t[e].abort&&t[e].abort(),delete t[e]})}saveFileInput=e=>{this.fileInput=e};render(){let{component:e,prefixCls:t,className:n,classNames:r={},disabled:i,id:a,name:o,style:s,styles:c={},multiple:l,accept:u,capture:d,children:f,directory:p,openFileDialogOnClick:m,onMouseEnter:h,onMouseLeave:g,hasControlInside:_,...v}=this.props,y=typeof u==`string`?u:u?.format,b=J(t,{[`${t}-disabled`]:i,[n]:n}),x=p?{directory:`directory`,webkitdirectory:`webkitdirectory`}:{},C=i?{}:{onClick:m?this.onClick:()=>{},onKeyDown:m?this.onKeyDown:()=>{},onMouseEnter:h,onMouseLeave:g,onDrop:this.onFileDrop,onDragOver:this.onFileDragOver,tabIndex:_?void 0:`0`};return S.createElement(e,u0({},C,{className:b,role:_?void 0:`button`,style:s}),S.createElement(`input`,u0({},xi(v,{aria:!0,data:!0}),{id:a,name:o,disabled:i,type:`file`,ref:this.saveFileInput,onClick:e=>e.stopPropagation(),key:this.state.uid,style:{display:`none`,...c.input},className:r.input,accept:y},x,{multiple:l,onChange:this.onChange},d==null?{}:{capture:d})),f)}};function f0(){return f0=Object.assign?Object.assign.bind():function(e){for(var t=1;t{this.uploader=e};render(){return S.createElement(d0,f0({},this.props,{ref:this.saveUploader}))}},h0=e=>{let{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:`relative`,width:`100%`,height:`100%`,textAlign:`center`,background:e.colorFillAlter,border:`${Y(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:`pointer`,transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:`table`,width:`100%`,height:`100%`,outline:`none`,borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${Y(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:`table-cell`,verticalAlign:`middle`},[` &:not(${t}-disabled):hover, &-hover:not(${t}-disabled) `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${Y(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${n}, p${t}-text, p${t}-hint - `]:{color:e.colorTextDisabled}}}}}},x0=e=>{let{componentCls:t,iconCls:n,fontSize:r,lineHeight:i,motionDurationSlow:a,calc:o}=e,s=`${t}-list-item`,c=`${s}-actions`,l=`${s}-action`;return{[`${t}-wrapper`]:{[`${t}-list`]:{...Gl(),lineHeight:e.lineHeight,[s]:{position:`relative`,height:o(e.lineHeight).mul(r).equal(),marginTop:e.marginXS,fontSize:r,display:`flex`,alignItems:`center`,transition:`background-color ${a}`,borderRadius:e.borderRadiusSM,"&:hover":{backgroundColor:e.controlItemBgHover},[`${s}-name`]:{...Hl,padding:`0 ${Y(e.paddingXS)}`,lineHeight:i,flex:`auto`,transition:`all ${a}`},[c]:{whiteSpace:`nowrap`,[l]:{opacity:0},"@media (hover: none), (pointer: coarse)":{[l]:{opacity:1}},[n]:{color:e.actionsColor,transition:`all ${a}`},[` + `]:{color:e.colorTextDisabled}}}}}},g0=e=>{let{componentCls:t,iconCls:n,fontSize:r,lineHeight:i,motionDurationSlow:a,calc:o}=e,s=`${t}-list-item`,c=`${s}-actions`,l=`${s}-action`;return{[`${t}-wrapper`]:{[`${t}-list`]:{...Gl(),lineHeight:e.lineHeight,[s]:{position:`relative`,height:o(e.lineHeight).mul(r).equal(),marginTop:e.marginXS,fontSize:r,display:`flex`,alignItems:`center`,transition:`background-color ${a}`,borderRadius:e.borderRadiusSM,"&:hover":{backgroundColor:e.controlItemBgHover},[`${s}-name`]:{...Hl,padding:`0 ${Y(e.paddingXS)}`,lineHeight:i,flex:`auto`,transition:`all ${a}`},[c]:{whiteSpace:`nowrap`,[l]:{opacity:0},"@media (hover: none), (pointer: coarse)":{[l]:{opacity:1}},[n]:{color:e.actionsColor,transition:`all ${a}`},[` ${l}:focus-visible, &.picture ${l} - `]:{opacity:1}},[`${t}-icon ${n}`]:{color:e.colorIcon,fontSize:r},[`${s}-progress`]:{position:`absolute`,bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:`100%`,paddingInlineStart:o(r).add(e.paddingXS).equal(),fontSize:r,lineHeight:0,pointerEvents:`none`,"> div":{margin:0}}},[`${s}:hover ${l}`]:{opacity:1},[`${s}-error`]:{color:e.colorError,[`${s}-name, ${t}-icon ${n}`]:{color:e.colorError},[c]:{[`${n}, ${n}:hover`]:{color:e.colorError},[l]:{opacity:1}}},[`${t}-list-item-container`]:{transition:[`opacity`,`height`].map(e=>`${e} ${a}`).join(`, `),"&::before":{display:`table`,width:0,height:0,content:`""`}}}}}},S0=e=>{let{componentCls:t}=e,n=new Ms(`uploadAnimateInlineIn`,{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),r=new Ms(`uploadAnimateInlineOut`,{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),i=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${i}-appear, ${i}-enter, ${i}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:`forwards`},[`${i}-appear, ${i}-enter`]:{animationName:n},[`${i}-leave`]:{animationName:r}}},{[`${t}-wrapper`]:Yh(e)},n,r]},C0=e=>{let{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:i,calc:a}=e,o=`${t}-list`,s=`${o}-item`;return{[`${t}-wrapper`]:{[` + `]:{opacity:1}},[`${t}-icon ${n}`]:{color:e.colorIcon,fontSize:r},[`${s}-progress`]:{position:`absolute`,bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:`100%`,paddingInlineStart:o(r).add(e.paddingXS).equal(),fontSize:r,lineHeight:0,pointerEvents:`none`,"> div":{margin:0}}},[`${s}:hover ${l}`]:{opacity:1},[`${s}-error`]:{color:e.colorError,[`${s}-name, ${t}-icon ${n}`]:{color:e.colorError},[c]:{[`${n}, ${n}:hover`]:{color:e.colorError},[l]:{opacity:1}}},[`${t}-list-item-container`]:{transition:[`opacity`,`height`].map(e=>`${e} ${a}`).join(`, `),"&::before":{display:`table`,width:0,height:0,content:`""`}}}}}},_0=e=>{let{componentCls:t}=e,n=new Ms(`uploadAnimateInlineIn`,{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),r=new Ms(`uploadAnimateInlineOut`,{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),i=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${i}-appear, ${i}-enter, ${i}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:`forwards`},[`${i}-appear, ${i}-enter`]:{animationName:n},[`${i}-leave`]:{animationName:r}}},{[`${t}-wrapper`]:Zh(e)},n,r]},v0=e=>{let{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:i,calc:a}=e,o=`${t}-list`,s=`${o}-item`;return{[`${t}-wrapper`]:{[` ${o}${o}-picture, ${o}${o}-picture-card, ${o}${o}-picture-circle - `]:{[s]:{position:`relative`,height:a(r).add(a(e.lineWidth).mul(2)).add(a(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:`transparent`},[`${s}-thumbnail`]:{...Hl,width:r,height:r,lineHeight:Y(a(r).add(e.paddingSM).equal()),textAlign:`center`,flex:`none`,[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:`block`,width:`100%`,height:`100%`,overflow:`hidden`}},[`${s}-progress`]:{bottom:a(e.fontSize).mul(e.lineHeight).div(2).add(i).equal(),width:`calc(100% - ${Y(a(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:a(r).add(e.paddingXS).equal()}},[`${s}-error`]:{borderColor:e.colorError,[`${s}-thumbnail ${n}`]:{[`svg path[fill='${tl[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${tl.primary}']`]:{fill:e.colorError}}},[`${s}-uploading`]:{borderStyle:`dashed`,[`${s}-name`]:{marginBottom:i}}},[`${o}${o}-picture-circle ${s}`]:{[`&, &::before, ${s}-thumbnail`]:{borderRadius:`50%`}}}}},w0=e=>{let{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:i,calc:a}=e,o=`${t}-list`,s=`${o}-item`,c=e.uploadPicCardSize;return{[` + `]:{[s]:{position:`relative`,height:a(r).add(a(e.lineWidth).mul(2)).add(a(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${Y(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:`transparent`},[`${s}-thumbnail`]:{...Hl,width:r,height:r,lineHeight:Y(a(r).add(e.paddingSM).equal()),textAlign:`center`,flex:`none`,[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:`block`,width:`100%`,height:`100%`,overflow:`hidden`}},[`${s}-progress`]:{bottom:a(e.fontSize).mul(e.lineHeight).div(2).add(i).equal(),width:`calc(100% - ${Y(a(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:a(r).add(e.paddingXS).equal()}},[`${s}-error`]:{borderColor:e.colorError,[`${s}-thumbnail ${n}`]:{[`svg path[fill='${tl[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${tl.primary}']`]:{fill:e.colorError}}},[`${s}-uploading`]:{borderStyle:`dashed`,[`${s}-name`]:{marginBottom:i}}},[`${o}${o}-picture-circle ${s}`]:{[`&, &::before, ${s}-thumbnail`]:{borderRadius:`50%`}}}}},y0=e=>{let{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:i,calc:a}=e,o=`${t}-list`,s=`${o}-item`,c=e.uploadPicCardSize;return{[` ${t}-wrapper${t}-picture-card-wrapper, ${t}-wrapper${t}-picture-circle-wrapper `]:{...Gl(),display:`block`,[`${t}${t}-select`]:{width:c,height:c,textAlign:`center`,verticalAlign:`top`,backgroundColor:e.colorFillAlter,border:`${Y(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:`pointer`,transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:`flex`,alignItems:`center`,justifyContent:`center`,height:`100%`,textAlign:`center`},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${o}${o}-picture-card, ${o}${o}-picture-circle`]:{display:`flex`,flexWrap:`wrap`,"&:not(:empty)":{minHeight:c},"@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},[`${o}-item-container`]:{display:`inline-block`,width:c,height:c,verticalAlign:`top`},"&::after":{display:`none`},"&::before":{display:`none`},[s]:{height:`100%`,margin:0,"&::before":{position:`absolute`,zIndex:1,width:`calc(100% - ${Y(a(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${Y(a(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:`" "`}},[`${s}:hover`]:{[`&::before, ${s}-actions`]:{opacity:1}},[`${s}-actions`]:{position:`absolute`,insetInlineStart:0,zIndex:10,width:`100%`,whiteSpace:`nowrap`,textAlign:`center`,opacity:0,transition:`all ${e.motionDurationSlow}`,[` ${n}-eye, ${n}-download, ${n}-delete - `]:{zIndex:10,width:r,margin:`0 ${Y(e.marginXXS)}`,fontSize:r,cursor:`pointer`,transition:`all ${e.motionDurationSlow}`,color:i,"&:hover":{color:i},svg:{verticalAlign:`baseline`}}},[`${s}-thumbnail, ${s}-thumbnail img`]:{position:`static`,display:`block`,width:`100%`,height:`100%`,objectFit:`contain`},[`${s}-name`]:{display:`none`,textAlign:`center`},[`${s}-file + ${s}-name`]:{position:`absolute`,bottom:e.margin,display:`block`,width:`calc(100% - ${Y(a(e.paddingXS).mul(2).equal())})`},[`${s}-uploading`]:{[`&${s}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:`none`}},[`${s}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${Y(a(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}},[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:`50%`}}}},T0=e=>{let{componentCls:t}=e;return{[`${t}-rtl`]:{direction:`rtl`}}},E0=e=>{let{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:{...Ul(e),[t]:{outline:0,"input[type='file']":{cursor:`pointer`}},[`${t}-select`]:{display:`inline-block`},[`${t}-hidden`]:{display:`none`},[`${t}-disabled`]:{color:n,cursor:`not-allowed`}}}},D0=Ql(`Upload`,e=>{let{fontSizeHeading3:t,marginXS:n,lineWidth:r,pictureCardSize:i,calc:a}=e,o=dc(e,{uploadThumbnailSize:a(t).mul(2).equal(),uploadProgressOffset:a(a(n).div(2)).add(r).equal(),uploadPicCardSize:i});return[E0(o),b0(o),C0(o),w0(o),x0(o),S0(o),T0(o),Wh(o)]},e=>({actionsColor:e.colorIcon,pictureCardSize:e.controlHeightLG*2.55})),O0=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}}]}},name:`file`,theme:`twotone`}}))());function k0(){return k0=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,k0({},e,{ref:t,icon:O0.default}))),j0=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z`}}]},name:`paper-clip`,theme:`outlined`}}))());function M0(){return M0=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,M0({},e,{ref:t,icon:j0.default}))),P0=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z`,fill:e}},{tag:`path`,attrs:{d:`M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z`,fill:t}},{tag:`path`,attrs:{d:`M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z`,fill:t}},{tag:`path`,attrs:{d:`M276 368a28 28 0 1056 0 28 28 0 10-56 0z`,fill:t}},{tag:`path`,attrs:{d:`M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z`,fill:e}}]}},name:`picture`,theme:`twotone`}}))());function F0(){return F0=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,F0({},e,{ref:t,icon:P0.default})));function L0(e){return{...e,lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e}}function R0(e,t){let n=pa(t),r=n.findIndex(({uid:t})=>t===e.uid);return r===-1?n.push(e):n[r]=e,n}function z0(e,t){let n=e.uid===void 0?`name`:`uid`;return t.filter(t=>t[n]===e[n])[0]}function B0(e,t){let n=e.uid===void 0?`name`:`uid`,r=t.filter(t=>t[n]!==e[n]);return r.length===t.length?null:r}var V0=(e=``)=>{let t=e.split(`/`),n=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[``])[0]},H0=e=>e.indexOf(`image/`)===0,U0=e=>{if(e.type&&!e.thumbUrl)return H0(e.type);let t=e.thumbUrl||e.url||``,n=V0(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n)?!0:!(/^data:/.test(t)||n)},W0=200;function G0(e){return new Promise(t=>{if(!e.type||!H0(e.type)){t(``);return}let n=document.createElement(`canvas`);n.width=W0,n.height=W0,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${W0}px; height: ${W0}px; z-index: 9999; display: none;`,document.body.appendChild(n);let r=n.getContext(`2d`),i=new Image;if(i.onload=()=>{let{width:e,height:a}=i,o=W0,s=W0,c=0,l=0;e>a?(s=W0/e*a,l=-(s-o)/2):(o=W0/a*e,c=-(o-s)/2),r.drawImage(i,c,l,o,s);let u=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(i.src),t(u)},i.crossOrigin=`anonymous`,e.type.startsWith(`image/svg+xml`)){let t=new FileReader;t.onload=()=>{t.result&&typeof t.result==`string`&&(i.src=t.result)},t.readAsDataURL(e)}else if(e.type.startsWith(`image/gif`)){let n=new FileReader;n.onload=()=>{n.result&&t(n.result)},n.readAsDataURL(e)}else i.src=window.URL.createObjectURL(e)})}var K0=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z`}}]},name:`download`,theme:`outlined`}}))());function q0(){return q0=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,q0({},e,{ref:t,icon:K0.default}))),Y0=S.forwardRef(({prefixCls:e,className:t,style:n,classNames:r,styles:i,locale:a,listType:o,file:s,items:c,progress:l,iconRender:u,actionIconRender:d,itemRender:f,isImgUrl:p,showPreviewIcon:m,showRemoveIcon:h,showDownloadIcon:g,previewIcon:_,removeIcon:v,downloadIcon:y,extra:b,onPreview:x,onDownload:C,onClose:w},T)=>{let{status:E}=s,[D,O]=S.useState(E);S.useEffect(()=>{E!==`removed`&&O(E)},[E]);let[k,A]=S.useState(!1);S.useEffect(()=>{let e=setTimeout(()=>{A(!0)},300);return()=>{clearTimeout(e)}},[]);let j=u(s),M=S.createElement(`div`,{className:`${e}-icon`},j);if(o===`picture`||o===`picture-card`||o===`picture-circle`)if(D===`uploading`||!s.thumbUrl&&!s.url){let t=J(`${e}-list-item-thumbnail`,{[`${e}-list-item-file`]:D!==`uploading`});M=S.createElement(`div`,{className:t},j)}else{let t=p?.(s)?S.createElement(`img`,{src:s.thumbUrl||s.url,alt:s.name,className:`${e}-list-item-image`,crossOrigin:s.crossOrigin}):j,n=J(`${e}-list-item-thumbnail`,{[`${e}-list-item-file`]:p&&!p(s)});M=S.createElement(`a`,{className:n,onClick:e=>x(s,e),href:s.url||s.thumbUrl,target:`_blank`,rel:`noopener noreferrer`},t)}let N=J(`${e}-list-item`,`${e}-list-item-${D}`,r?.item),P=typeof s.linkProps==`string`?JSON.parse(s.linkProps):s.linkProps,F=(typeof h==`function`?h(s):h)?d((typeof v==`function`?v(s):v)||S.createElement(G$,null),()=>w(s),e,a.removeFile,!0):null,I=(typeof g==`function`?g(s):g)&&D===`done`?d((typeof y==`function`?y(s):y)||S.createElement(J0,null),()=>C(s),e,a.downloadFile):null,L=o!==`picture-card`&&o!==`picture-circle`&&S.createElement(`span`,{key:`download-delete`,className:J(`${e}-list-item-actions`,{picture:o===`picture`})},I,F),R=typeof b==`function`?b(s):b,z=R&&S.createElement(`span`,{className:`${e}-list-item-extra`},R),B=J(`${e}-list-item-name`),V=s.url?S.createElement(`a`,{key:`view`,target:`_blank`,rel:`noopener noreferrer`,className:B,title:s.name,...P,href:s.url,onClick:e=>x(s,e)},s.name,z):S.createElement(`span`,{key:`view`,className:B,onClick:e=>x(s,e),title:s.name},s.name,z),H=(typeof m==`function`?m(s):m)&&(s.url||s.thumbUrl)?S.createElement(`a`,{href:s.url||s.thumbUrl,target:`_blank`,rel:`noopener noreferrer`,onClick:e=>x(s,e),title:a.previewFile},typeof _==`function`?_(s):_||S.createElement(YW,null)):null,U=(o===`picture-card`||o===`picture-circle`)&&D!==`uploading`&&S.createElement(`span`,{className:`${e}-list-item-actions`},H,D===`done`&&I,F),{getPrefixCls:W}=S.useContext(ga),ee=W(),te=S.createElement(`div`,{className:N,style:i?.item},M,V,L,U,k&&S.createElement(Od,{motionName:`${ee}-fade`,visible:D===`uploading`,motionDeadline:2e3},({className:t})=>{let n=`percent`in s?S.createElement(Mq,{type:`line`,percent:s.percent,"aria-label":s[`aria-label`],"aria-labelledby":s[`aria-labelledby`],...l}):null;return S.createElement(`div`,{className:J(`${e}-list-item-progress`,t)},n)})),ne=s.response&&typeof s.response==`string`?s.response:s.error?.statusText||s.error?.message||a.uploadError,re=D===`error`?S.createElement(Jw,{title:ne,getPopupContainer:e=>e.parentNode},te):te;return S.createElement(`div`,{className:J(`${e}-list-item-container`,t),style:n,ref:T},f?f(re,s,c,{download:C.bind(null,s),preview:x.bind(null,s),remove:w.bind(null,s)}):re)}),X0=S.forwardRef((e,t)=>{let{listType:n=`text`,previewFile:r=G0,onPreview:i,onDownload:a,onRemove:o,locale:s,iconRender:c,isImageUrl:l=U0,prefixCls:u,items:d=[],showPreviewIcon:f=!0,showRemoveIcon:p=!0,showDownloadIcon:m=!1,removeIcon:h,previewIcon:g,downloadIcon:_,extra:v,progress:y={size:[-1,2],showInfo:!1},appendAction:b,appendActionVisible:x=!0,itemRender:C,disabled:w,classNames:T,styles:E}=e,[,D]=mf(),[O,k]=S.useState(!1),A=[`picture-card`,`picture-circle`].includes(n);S.useEffect(()=>{n.startsWith(`picture`)&&(d||[]).forEach(e=>{!(e.originFileObj instanceof File||e.originFileObj instanceof Blob)||e.thumbUrl!==void 0||(e.thumbUrl=``,r?.(e.originFileObj).then(t=>{e.thumbUrl=t||``,D()}))})},[n,d,r]),S.useEffect(()=>{k(!0)},[]);let j=(e,t)=>{if(i)return t?.preventDefault(),i(e)},M=e=>{typeof a==`function`?a(e):e.url&&window.open(e.url)},N=e=>{o?.(e)},P=e=>{if(c)return c(e,n);let t=e.status===`uploading`;if(n.startsWith(`picture`)){let r=n===`picture`?S.createElement(Zm,null):s.uploading,i=l?.(e)?S.createElement(I0,null):S.createElement(A0,null);return t?r:i}return t?S.createElement(Zm,null):S.createElement(N0,null)},F=(e,t,n,r,i)=>{let a={type:`text`,size:`small`,title:r,onClick:n=>{t(),S.isValidElement(e)&&e.props.onClick?.(n)},className:`${n}-list-item-action`,disabled:i?w:!1};return S.isValidElement(e)?S.createElement(m_,{...a,icon:lm(e,{...e.props,onClick:()=>{}})}):S.createElement(m_,{...a},S.createElement(`span`,null,e))};S.useImperativeHandle(t,()=>({handlePreview:j,handleDownload:M}));let{getPrefixCls:I}=S.useContext(ga),L=I(`upload`,u),R=I(),z=J(`${L}-list`,`${L}-list-${n}`,T?.list),B=S.useMemo(()=>gi(ph(R),[`onAppearEnd`,`onEnterEnd`,`onLeaveEnd`]),[R]),V={...A?{}:B,motionDeadline:2e3,motionName:`${L}-${A?`animate-inline`:`animate`}`,keys:pa(d.map(e=>({key:e.uid,file:e}))),motionAppear:O};return S.createElement(`div`,{className:z,style:E?.list},S.createElement(Dd,{...V,component:!1},({key:e,file:t,className:r,style:i})=>S.createElement(Y0,{key:e,locale:s,prefixCls:L,className:r,style:i,classNames:T,styles:E,file:t,items:d,progress:y,listType:n,isImgUrl:l,showPreviewIcon:f,showRemoveIcon:p,showDownloadIcon:m,removeIcon:h,previewIcon:g,downloadIcon:_,extra:v,iconRender:P,actionIconRender:F,itemRender:C,onPreview:j,onDownload:M,onClose:N})),b&&S.createElement(Od,{...V,visible:x,forceRender:!0},({className:e,style:t})=>lm(b,n=>({className:J(n.className,e),style:{...t,pointerEvents:e?`none`:void 0,...n.style}}))))}),Z0=`__LIST_IGNORE_${Date.now()}__`,Q0=S.forwardRef((e,t)=>{let n=ya(`upload`),{fileList:r,defaultFileList:i,onRemove:a,showUploadList:o=!0,listType:s=`text`,onPreview:c,onDownload:l,onChange:u,onDrop:d,previewFile:f,disabled:p,locale:m,iconRender:h,isImageUrl:g,progress:_,prefixCls:v,className:y,type:b=`select`,children:x,style:C,itemRender:w,maxCount:T,data:E={},multiple:D=!1,hasControlInside:O=!0,action:k=``,accept:A=``,supportServerRender:j=!0,rootClassName:M,styles:N,classNames:P}=e,F=S.useContext(mm),I=p??F,L=e.customRequest||n.customRequest,[R,z]=Gn(i,r),B=R||[],[V,H]=S.useState(`drop`),U=S.useRef(null),W=S.useRef(null);S.useMemo(()=>{let e=Date.now();(r||[]).forEach((t,n)=>{!t.uid&&!Object.isFrozen(t)&&(t.uid=`__AUTO__${e}_${n}__`)})},[r]);let ee=(e,t,n)=>{let r=pa(t),i=!1;T===1?r=r.slice(-1):T&&(i=r.length>T,r=r.slice(0,T)),(0,Vi.flushSync)(()=>{z(r)});let a={file:e,fileList:r};n&&(a.event=n),(!i||e.status===`removed`||r.some(t=>t.uid===e.uid))&&(0,Vi.flushSync)(()=>{u?.(a)})},te=async(t,n)=>{let{beforeUpload:r}=e,i=t;if(r){let e=await r(t,n);if(e===!1)return!1;if(delete t[Z0],e===Z0)return Object.defineProperty(t,Z0,{value:!0,configurable:!0}),!1;nf(e)&&(i=e)}return i},ne=e=>{let t=e.filter(e=>!e.file[Z0]);if(!t.length)return;let n=t.map(e=>L0(e.file)),r=pa(B);n.forEach(e=>{r=R0(e,r)}),n.forEach((e,n)=>{let i=e;if(t[n].parsedFile)e.status=`uploading`;else{let{originFileObj:t}=e,n;try{n=new File([t],t.name,{type:t.type})}catch{n=new Blob([t],{type:t.type}),n.name=t.name,n.lastModifiedDate=new Date,n.lastModified=new Date().getTime()}n.uid=e.uid,i=n}ee(i,r)})},re=(e,t,n)=>{try{typeof e==`string`&&(e=JSON.parse(e))}catch{}if(!z0(t,B))return;let r=L0(t);r.status=`done`,r.percent=100,r.response=e,r.xhr=n,ee(r,R0(r,B))},G=(e,t)=>{if(!z0(t,B))return;let n=L0(t);n.status=`uploading`,n.percent=e.percent,ee(n,R0(n,B),e)},ie=(e,t,n)=>{if(!z0(n,B))return;let r=L0(n);r.error=e,r.response=t,r.status=`error`,ee(r,R0(r,B))},K=e=>{let t;Promise.resolve(typeof a==`function`?a(e):a).then(n=>{if(n===!1)return;let r=B0(e,B);r&&(t={...e,status:`removed`},B?.forEach(e=>{let n=t.uid===void 0?`name`:`uid`;e[n]===t[n]&&!Object.isFrozen(e)&&(e.status=`removed`)}),U.current?.abort(t),ee(t,r))})},ae=e=>{H(e.type),e.type===`drop`&&d?.(e)};S.useImperativeHandle(t,()=>({onBatchStart:ne,onSuccess:re,onProgress:G,onError:ie,fileList:B,upload:U.current,nativeElement:W.current}));let{getPrefixCls:q,direction:oe,className:se,style:ce,classNames:le,styles:ue}=ya(`upload`),de=q(`upload`,v),fe={...e,listType:s,showUploadList:o,type:b,multiple:D,hasControlInside:O,supportServerRender:j,disabled:I},[pe,me]=Cf([le,P],[ue,N],{props:fe}),he={onBatchStart:ne,onError:ie,onProgress:G,onSuccess:re,...e,customRequest:L,data:E,multiple:D,action:k,accept:A,supportServerRender:j,prefixCls:de,disabled:I,beforeUpload:te,onChange:void 0,hasControlInside:O};delete he.className,delete he.style,(!x||I)&&delete he.id;let ge=`${de}-wrapper`,[_e,ve]=D0(de,ge),[ye]=Yd(`Upload`,Hd.Upload),{showRemoveIcon:be,showPreviewIcon:xe,showDownloadIcon:Se,removeIcon:Ce,previewIcon:we,downloadIcon:Te,extra:Ee}=typeof o==`boolean`?{}:o,De=be===void 0?!I:be,Oe=(e,t)=>o?S.createElement(X0,{classNames:pe,styles:me,prefixCls:de,listType:s,items:B,previewFile:f,onPreview:c,onDownload:l,onRemove:K,showRemoveIcon:De,showPreviewIcon:xe,showDownloadIcon:Se,removeIcon:Ce,previewIcon:we,downloadIcon:Te,iconRender:h,extra:Ee,locale:{...ye,...m},isImageUrl:g,progress:_,appendAction:e,appendActionVisible:t,itemRender:w,disabled:I}):e,ke=J(ge,y,M,_e,ve,se,pe.root,{[`${de}-rtl`]:oe===`rtl`,[`${de}-picture-card-wrapper`]:s===`picture-card`,[`${de}-picture-circle-wrapper`]:s===`picture-circle`}),Ae={...me.root},je={...ce,...C};if(b===`drag`){let e=J(_e,de,`${de}-drag`,{[`${de}-drag-uploading`]:B.some(e=>e.status===`uploading`),[`${de}-drag-hover`]:V===`dragover`,[`${de}-disabled`]:I,[`${de}-rtl`]:oe===`rtl`},pe.trigger);return S.createElement(`span`,{className:ke,ref:W,style:Ae},S.createElement(`div`,{className:e,style:{...je,...me.trigger},onDrop:ae,onDragOver:ae,onDragLeave:ae},S.createElement(y0,{...he,ref:U,className:`${de}-btn`},S.createElement(`div`,{className:`${de}-drag-container`},x))),Oe())}let Me=J(de,`${de}-select`,{[`${de}-disabled`]:I,[`${de}-hidden`]:!x},pe.trigger),Ne=S.createElement(`div`,{className:Me,style:{...je,...me.trigger}},S.createElement(y0,{...he,ref:U}));return s===`picture-card`||s===`picture-circle`?S.createElement(`span`,{className:ke,ref:W,style:Ae},Oe(Ne,!!x)):S.createElement(`span`,{className:ke,ref:W,style:Ae},Ne,Oe())}),$0=S.forwardRef((e,t)=>{let{style:n,height:r,hasControlInside:i=!1,children:a,...o}=e,s={...n,height:r};return S.createElement(Q0,{ref:t,hasControlInside:i,...o,style:s,type:`drag`},a)}),e2=Q0;e2.Dragger=$0,e2.LIST_IGNORE=Z0;var t2=o(((e,t)=>{function n(e){return e&&e.__esModule?e:{default:e}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),n2=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={items_per_page:`条/页`,jump_to:`跳至`,jump_to_confirm:`确定`,page:`页`,prev_page:`上一页`,next_page:`下一页`,prev_5:`向前 5 页`,next_5:`向后 5 页`,prev_3:`向前 3 页`,next_3:`向后 3 页`,page_size:`页码`}})),r2=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.commonLocale=void 0,e.commonLocale={yearFormat:`YYYY`,dayFormat:`D`,cellMeridiemFormat:`A`,monthBeforeYear:!0}})),i2=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var t=r2();function n(e){"@babel/helpers - typeof";return n=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},n(e)}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={placeholder:`请选择时间`,rangePlaceholder:[`开始时间`,`结束时间`]}})),o2=o((e=>{var t=t2().default;Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var n=t(i2()),r=t(a2()),i={lang:{placeholder:`请选择日期`,yearPlaceholder:`请选择年份`,quarterPlaceholder:`请选择季度`,monthPlaceholder:`请选择月份`,weekPlaceholder:`请选择周`,rangePlaceholder:[`开始日期`,`结束日期`],rangeYearPlaceholder:[`开始年份`,`结束年份`],rangeMonthPlaceholder:[`开始月份`,`结束月份`],rangeQuarterPlaceholder:[`开始季度`,`结束季度`],rangeWeekPlaceholder:[`开始周`,`结束周`],...n.default},timePickerLocale:{...r.default}};i.lang.ok=`确定`,e.default=i})),s2=o((e=>{var t=t2().default;Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default=t(o2()).default})),c2=o((e=>{var t=t2().default;Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var n=t(n2()),r=t(s2()),i=t(o2()),a=t(a2()),o="${label}不是一个有效的${type}";e.default={locale:`zh-cn`,Pagination:n.default,DatePicker:i.default,TimePicker:a.default,Calendar:r.default,global:{placeholder:`请选择`,close:`关闭`,sortable:`可排序`},Table:{filterTitle:`筛选`,filterConfirm:`确定`,filterReset:`重置`,filterEmptyText:`无筛选项`,filterCheckAll:`全选`,filterSearchPlaceholder:`在筛选项中搜索`,emptyText:`暂无数据`,selectAll:`全选当页`,selectInvert:`反选当页`,selectNone:`清空所有`,selectionAll:`全选所有`,sortTitle:`排序`,expand:`展开行`,collapse:`关闭行`,triggerDesc:`点击降序`,triggerAsc:`点击升序`,cancelSort:`取消排序`},Modal:{okText:`确定`,cancelText:`取消`,justOkText:`知道了`},Tour:{Next:`下一步`,Previous:`上一步`,Finish:`结束导览`},Popconfirm:{cancelText:`取消`,okText:`确定`},Transfer:{titles:[``,``],searchPlaceholder:`请输入搜索内容`,itemUnit:`项`,itemsUnit:`项`,remove:`删除`,selectCurrent:`全选当页`,removeCurrent:`删除当页`,selectAll:`全选所有`,deselectAll:`取消全选`,removeAll:`删除全部`,selectInvert:`反选当页`},Upload:{uploading:`文件上传中`,removeFile:`删除文件`,uploadError:`上传错误`,previewFile:`预览文件`,downloadFile:`下载文件`},Empty:{description:`暂无数据`},Icon:{icon:`图标`},Text:{edit:`编辑`,copy:`复制`,copied:`复制成功`,expand:`展开`,collapse:`收起`},Form:{optional:`(可选)`,defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:o,method:o,array:o,object:o,number:o,date:o,boolean:o,integer:o,float:o,regexp:o,email:o,url:o,hex:o},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},QRCode:{expired:`二维码过期`,refresh:`点击刷新`,scanned:`已扫描`},ColorPicker:{presetEmpty:`暂无`,transparent:`无色`,singleColor:`单色`,gradientColor:`渐变色`}}})),l2=o(((e,t)=>{t.exports=c2()})),u2=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(aD()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_zh_cn=r(n.dayjs)})(e,(function(e){function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`zh-cn`,weekdays:`星期日_星期一_星期二_星期三_星期四_星期五_星期六`.split(`_`),weekdaysShort:`周日_周一_周二_周三_周四_周五_周六`.split(`_`),weekdaysMin:`日_一_二_三_四_五_六`.split(`_`),months:`一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月`.split(`_`),monthsShort:`1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月`.split(`_`),ordinal:function(e,t){return t===`W`?e+`周`:e+`日`},weekStart:1,yearStart:4,formats:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`YYYY/MM/DD`,LL:`YYYY年M月D日`,LLL:`YYYY年M月D日Ah点mm分`,LLLL:`YYYY年M月D日ddddAh点mm分`,l:`YYYY/M/D`,ll:`YYYY年M月D日`,lll:`YYYY年M月D日 HH:mm`,llll:`YYYY年M月D日dddd HH:mm`},relativeTime:{future:`%s内`,past:`%s前`,s:`几秒`,m:`1 分钟`,mm:`%d 分钟`,h:`1 小时`,hh:`%d 小时`,d:`1 天`,dd:`%d 天`,M:`1 个月`,MM:`%d 个月`,y:`1 年`,yy:`%d 年`},meridiem:function(e,t){var n=100*e+t;return n<600?`凌晨`:n<900?`早上`:n<1100?`上午`:n<1300?`中午`:n<1800?`下午`:`晚上`}};return n.default.locale(r,null,!0),r}))})),d2=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),f2=o(((e,t)=>{t.exports=d2()})),p2=c(l2(),1);u2();var $=f2(),m2=Object.defineProperty,h2=Object.getOwnPropertySymbols,g2=Object.prototype.hasOwnProperty,_2=Object.prototype.propertyIsEnumerable,v2=(e,t,n)=>t in e?m2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y2=(e,t)=>{for(var n in t||={})g2.call(t,n)&&v2(e,n,t[n]);if(h2)for(var n of h2(t))_2.call(t,n)&&v2(e,n,t[n]);return e},b2=(e,t)=>{var n={};for(var r in e)g2.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&h2)for(var r of h2(e))t.indexOf(r)<0&&_2.call(e,r)&&(n[r]=e[r]);return n},x2;(e=>{let t=class t{constructor(e,n,r,a){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],et.MAX_VERSION)throw RangeError(`Version value out of range`);if(a<-1||a>7)throw RangeError(`Mask value out of range`);this.size=e*4+17;let o=[];for(let e=0;e7)throw RangeError(`Invalid value`);let u,d;for(u=a;;u++){let n=t.getNumDataCodewords(u,r)*8,i=o.getTotalBits(e,u);if(i<=n){d=i;break}if(u>=s)throw RangeError(`Data too long`)}for(let e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])l&&d<=t.getNumDataCodewords(u,e)*8&&(r=e);let f=[];for(let t of e){n(t.mode.modeBits,4,f),n(t.numChars,t.mode.numCharCountBits(u),f);for(let e of t.getData())f.push(e)}i(f.length==d);let p=t.getNumDataCodewords(u,r)*8;i(f.length<=p),n(0,Math.min(4,p-f.length),f),n(0,(8-f.length%8)%8,f),i(f.length%8==0);for(let e=236;f.lengthm[t>>>3]|=e<<7-(t&7)),new t(u,r,m,c)}getModule(e,t){return 0<=e&&e>>9)*1335;let a=(t<<10|n)^21522;i(a>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,r(a,e));this.setFunctionModule(8,7,r(a,6)),this.setFunctionModule(8,8,r(a,7)),this.setFunctionModule(7,8,r(a,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,r(a,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,r(a,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,r(a,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^(e>>>11)*7973;let t=this.version<<12|e;i(t>>>18==0);for(let e=0;e<18;e++){let n=r(t,e),i=this.size-11+e%3,a=Math.floor(e/3);this.setFunctionModule(i,a,n),this.setFunctionModule(a,i,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){let i=Math.max(Math.abs(r),Math.abs(n)),a=e+r,o=t+n;0<=a&&a{(e!=l-o||n>=c)&&f.push(t[e])});return i(f.length==s),f}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw RangeError(`Invalid argument`);let n=0;for(let t=this.size-1;t>=1;t-=2){t==6&&(t=5);for(let i=0;i>>3],7-(n&7)),n++)}}i(n==e.length*8)}applyMask(e){if(e<0||e>7)throw RangeError(`Mask value out of range`);for(let t=0;t5&&e++):(this.finderPenaltyAddHistory(i,a),r||(e+=this.finderPenaltyCountPatterns(a)*t.PENALTY_N3),r=this.modules[n][o],i=1);e+=this.finderPenaltyTerminateAndCount(r,i,a)*t.PENALTY_N3}for(let n=0;n5&&e++):(this.finderPenaltyAddHistory(i,a),r||(e+=this.finderPenaltyCountPatterns(a)*t.PENALTY_N3),r=this.modules[o][n],i=1);e+=this.finderPenaltyTerminateAndCount(r,i,a)*t.PENALTY_N3}for(let n=0;ne+ +!!t,n);let r=this.size*this.size,a=Math.ceil(Math.abs(n*20-r*10)/r)-1;return i(0<=a&&a<=9),e+=a*t.PENALTY_N4,i(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(this.version==1)return[];{let e=Math.floor(this.version/7)+2,t=this.version==32?26:Math.ceil((this.version*4+4)/(e*2-2))*2,n=[6];for(let r=this.size-7;n.lengtht.MAX_VERSION)throw RangeError(`Version number out of range`);let n=(16*e+128)*e+64;if(e>=2){let t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return i(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw RangeError(`Degree out of range`);let n=[];for(let t=0;t0);for(let i of e){let e=i^r.shift();r.push(0),n.forEach((n,i)=>r[i]^=t.reedSolomonMultiply(n,e))}return r}static reedSolomonMultiply(e,t){if(e>>>8||t>>>8)throw RangeError(`Byte out of range`);let n=0;for(let r=7;r>=0;r--)n=n<<1^(n>>>7)*285,n^=(t>>>r&1)*e;return i(n>>>8==0),n}finderPenaltyCountPatterns(e){let t=e[1];i(t<=this.size*3);let n=t>0&&e[2]==t&&e[3]==t*3&&e[4]==t&&e[5]==t;return(n&&e[0]>=t*4&&e[6]>=t?1:0)+(n&&e[6]>=t*4&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){t[0]==0&&(e+=this.size),t.pop(),t.unshift(e)}};t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(e,t,n){if(t<0||t>31||e>>>t)throw RangeError(`Value out of range`);for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function r(e,t){return(e>>>t&1)!=0}function i(e){if(!e)throw Error(`Assertion error`)}let a=class e{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw RangeError(`Invalid argument`);this.bitData=n.slice()}static makeBytes(t){let r=[];for(let e of t)n(e,8,r);return new e(e.Mode.BYTE,t.length,r)}static makeNumeric(t){if(!e.isNumeric(t))throw RangeError(`String contains non-numeric characters`);let r=[];for(let e=0;e=1<{(e=>{let t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};t.LOW=new t(0,1),t.MEDIUM=new t(1,0),t.QUARTILE=new t(2,3),t.HIGH=new t(3,2),e.Ecc=t})(e.QrCode||={})})(x2||={}),(e=>{(e=>{let t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};t.NUMERIC=new t(1,[10,12,14]),t.ALPHANUMERIC=new t(2,[9,11,13]),t.BYTE=new t(4,[8,16,16]),t.KANJI=new t(8,[8,10,12]),t.ECI=new t(7,[0,0,0]),e.Mode=t})(e.QrSegment||={})})(x2||={});var S2=x2,C2={L:S2.QrCode.Ecc.LOW,M:S2.QrCode.Ecc.MEDIUM,Q:S2.QrCode.Ecc.QUARTILE,H:S2.QrCode.Ecc.HIGH},w2=128,T2=`L`,E2=`#FFFFFF`,D2=`#000000`,O2=!1,k2=1,A2=4,j2=0,M2=.1;function N2(e,t=0){let n=[];return e.forEach(function(e,r){let i=null;e.forEach(function(a,o){if(!a&&i!==null){n.push(`M${i+t} ${r+t}h${o-i}v1H${i+t}z`),i=null;return}if(o===e.length-1){if(!a)return;i===null?n.push(`M${o+t},${r+t} h1v1H${o+t}z`):n.push(`M${i+t},${r+t} h${o+1-i}v1H${i+t}z`);return}a&&i===null&&(i=o)})}),n.join(``)}function P2(e,t){return e.slice().map((e,n)=>n=t.y+t.h?e:e.map((e,n)=>n=t.x+t.w?e:!1))}function F2(e,t,n,r){if(r==null)return null;let i=e.length+n*2,a=Math.floor(t*M2),o=i/t,s=(r.width||a)*o,c=(r.height||a)*o,l=r.x==null?e.length/2-s/2:r.x*o,u=r.y==null?e.length/2-c/2:r.y*o,d=r.opacity==null?1:r.opacity,f=null;if(r.excavate){let e=Math.floor(l),t=Math.floor(u);f={x:e,y:t,w:Math.ceil(s+l-e),h:Math.ceil(c+u-t)}}let p=r.crossOrigin;return{x:l,y:u,h:c,w:s,excavation:f,opacity:d,crossOrigin:p}}function I2(e,t){return t==null?e?A2:j2:Math.max(Math.floor(t),0)}function L2({value:e,level:t,minVersion:n,includeMargin:r,marginSize:i,imageSettings:a,size:o,boostLevel:s}){let c=S.useMemo(()=>{let r=(Array.isArray(e)?e:[e]).reduce((e,t)=>(e.push(...S2.QrSegment.makeSegments(t)),e),[]);return S2.QrCode.encodeSegments(r,C2[t],n,void 0,void 0,s)},[e,t,n,s]),{cells:l,margin:u,numCells:d,calculatedImageSettings:f}=S.useMemo(()=>{let e=c.getModules(),t=I2(r,i);return{cells:e,margin:t,numCells:e.length+t*2,calculatedImageSettings:F2(e,o,t,a)}},[c,o,a,r,i]);return{qrcode:c,margin:u,cells:l,numCells:d,calculatedImageSettings:f}}var R2=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}(),z2=S.forwardRef(function(e,t){let n=e,{value:r,size:i=w2,level:a=T2,bgColor:o=E2,fgColor:s=D2,includeMargin:c=O2,minVersion:l=k2,boostLevel:u,marginSize:d,imageSettings:f}=n,p=b2(n,[`value`,`size`,`level`,`bgColor`,`fgColor`,`includeMargin`,`minVersion`,`boostLevel`,`marginSize`,`imageSettings`]),{style:m}=p,h=b2(p,[`style`]),g=f?.src,_=S.useRef(null),v=S.useRef(null),y=S.useCallback(e=>{_.current=e,typeof t==`function`?t(e):t&&(t.current=e)},[t]),[b,x]=S.useState(!1),{margin:C,cells:w,numCells:T,calculatedImageSettings:E}=L2({value:r,level:a,minVersion:l,boostLevel:u,includeMargin:c,marginSize:d,imageSettings:f,size:i});S.useEffect(()=>{if(_.current!=null){let e=_.current,t=e.getContext(`2d`);if(!t)return;let n=w,r=v.current,a=E!=null&&r!==null&&r.complete&&r.naturalHeight!==0&&r.naturalWidth!==0;a&&E.excavation!=null&&(n=P2(w,E.excavation));let c=window.devicePixelRatio||1;e.height=e.width=i*c;let l=i/T*c;t.scale(l,l),t.fillStyle=o,t.fillRect(0,0,T,T),t.fillStyle=s,R2?t.fill(new Path2D(N2(n,C))):w.forEach(function(e,n){e.forEach(function(e,r){e&&t.fillRect(r+C,n+C,1,1)})}),E&&(t.globalAlpha=E.opacity),a&&t.drawImage(r,E.x+C,E.y+C,E.w,E.h)}}),S.useEffect(()=>{x(!1)},[g]);let D=y2({height:i,width:i},m),O=null;return g!=null&&(O=S.createElement(`img`,{src:g,key:g,style:{display:`none`},onLoad:()=>{x(!0)},ref:v,crossOrigin:E?.crossOrigin})),S.createElement(S.Fragment,null,S.createElement(`canvas`,y2({style:D,height:i,width:i,ref:y,role:`img`},h)),O)});z2.displayName=`QRCodeCanvas`;var B2=S.forwardRef(function(e,t){let n=e,{value:r,size:i=w2,level:a=T2,bgColor:o=E2,fgColor:s=D2,includeMargin:c=O2,minVersion:l=k2,boostLevel:u,title:d,marginSize:f,imageSettings:p}=n,m=b2(n,[`value`,`size`,`level`,`bgColor`,`fgColor`,`includeMargin`,`minVersion`,`boostLevel`,`title`,`marginSize`,`imageSettings`]),{margin:h,cells:g,numCells:_,calculatedImageSettings:v}=L2({value:r,level:a,minVersion:l,boostLevel:u,includeMargin:c,marginSize:f,imageSettings:p,size:i}),y=g,b=null;p!=null&&v!=null&&(v.excavation!=null&&(y=P2(g,v.excavation)),b=S.createElement(`image`,{href:p.src,height:v.h,width:v.w,x:v.x+h,y:v.y+h,preserveAspectRatio:`none`,opacity:v.opacity,crossOrigin:v.crossOrigin}));let x=N2(y,h);return S.createElement(`svg`,y2({height:i,width:i,viewBox:`0 0 ${_} ${_}`,ref:t,role:`img`},m),!!d&&S.createElement(`title`,null,d),S.createElement(`path`,{fill:o,d:`M0,0 h${_}v${_}H0z`,shapeRendering:`crispEdges`}),S.createElement(`path`,{fill:s,d:x,shapeRendering:`crispEdges`}),b)});B2.displayName=`QRCodeSVG`;var V2=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64c247.42 0 448 200.58 448 448S759.42 960 512 960 64 759.42 64 512 264.58 64 512 64m32.5 168c-69.67 0-86.06 16.84-86.72 39.08l-.02 1.43v46.62H291.45c-9.92 0-14.28 23.05-14.27 39.3 0 2.7 2.08 4.93 4.77 4.93h175.81v58.3h-116.5c-9.96 0-14.3 23.76-14.27 39.47a4.77 4.77 0 004.77 4.76h233.45c-4.53 41.06-15.43 77.59-30.72 109.32l-1.22 2.5-.32-.28c-60.24-28.47-120.43-52.57-194.4-52.57l-2.62.01c-84.98 1.11-144.71 56.5-145.91 127.04l-.02 1.22.02 2.13c1.24 70.4 63.56 126.45 148.52 126.45 61.25 0 116.38-16.85 163.46-45.02a138.58 138.58 0 0014.07-7.96 345.6 345.6 0 0050.3-41.16l9.45 6.35 12.46 8.32c57.53 38.26 113.76 72.62 169.86 79.27a142.62 142.62 0 0018.31 1.16c43.02 0 55-52.68 57.39-95.51l.14-2.84c.4-8.46-6.2-15.6-14.65-15.86-75.46-2.37-136.45-22.05-192-46.11l-6.27-2.75c35.15-56.8 56.66-121.81 57.15-186.66l.09-1.08c.4-5.51-4-10.2-9.52-10.2H549.33v-58.3h165.73c9.92 0 14.28-22.12 14.27-39.31a4.85 4.85 0 00-4.78-4.92H549.32v-82.35a4.8 4.8 0 00-4.83-4.78M328 583.85c54.63 0 107.08 22.41 158.1 52.19l5.76 3.4c-103.57 119.84-247.17 95.9-261.72 26.37a66.89 66.89 0 01-1.14-9.83l-.06-2.34.02-.9c.97-40.12 45.33-68.9 99.04-68.9`}}]},name:`alipay-circle`,theme:`outlined`}}))());function H2(){return H2=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,H2({},e,{ref:t,icon:V2.default}))),W2=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z`}}]},name:`api`,theme:`outlined`}}))());function G2(){return G2=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,G2({},e,{ref:t,icon:W2.default}))),q2=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z`}}]},name:`appstore`,theme:`outlined`}}))());function J2(){return J2=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,J2({},e,{ref:t,icon:q2.default}))),X2=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z`}}]},name:`arrow-down`,theme:`outlined`}}))());function Z2(){return Z2=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Z2({},e,{ref:t,icon:X2.default}))),$2=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`arrow-left`,theme:`outlined`}}))());function e4(){return e4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,e4({},e,{ref:t,icon:$2.default}))),n4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z`}}]},name:`arrow-right`,theme:`outlined`}}))());function r4(){return r4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,r4({},e,{ref:t,icon:n4.default}))),a4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z`}}]},name:`arrow-up`,theme:`outlined`}}))());function o4(){return o4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,o4({},e,{ref:t,icon:a4.default}))),c4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z`}}]},name:`audio`,theme:`outlined`}}))());function l4(){return l4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,l4({},e,{ref:t,icon:c4.default}))),d4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM381 836H264V462h117v374zm189 0H453V462h117v374zm190 0H642V462h118v374z`}}]},name:`bank`,theme:`filled`}}))());function f4(){return f4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,f4({},e,{ref:t,icon:d4.default}))),m4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM512 196.7l271.1 197.2H240.9L512 196.7zM264 462h117v374H264V462zm189 0h117v374H453V462zm307 374H642V462h118v374z`}}]},name:`bank`,theme:`outlined`}}))());function h4(){return h4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,h4({},e,{ref:t,icon:m4.default}))),_4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-600-80h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z`}}]},name:`bar-chart`,theme:`outlined`}}))());function v4(){return v4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,v4({},e,{ref:t,icon:_4.default}))),b4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z`}}]},name:`bell`,theme:`outlined`}}))());function x4(){return x4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,x4({},e,{ref:t,icon:b4.default}))),C4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z`}}]},name:`book`,theme:`outlined`}}))());function w4(){return w4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,w4({},e,{ref:t,icon:C4.default}))),E4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zm-504 68h200v200H412V278zm-68 468H144V546h200v200zm268 0H412V546h200v200zm268-268H680V278h200v200z`}}]},name:`build`,theme:`outlined`}}))());function D4(){return D4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,D4({},e,{ref:t,icon:E4.default}))),k4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z`}}]},name:`bulb`,theme:`outlined`}}))());function A4(){return A4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,A4({},e,{ref:t,icon:k4.default}))),M4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M251.2 387H320v68.8c0 1.8 1.8 3.2 4 3.2h48c2.2 0 4-1.4 4-3.3V387h68.8c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H376v-68.8c0-1.8-1.8-3.2-4-3.2h-48c-2.2 0-4 1.4-4 3.2V331h-68.8c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm328 0h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 265h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 104h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm-195.7-81l61.2-74.9c4.3-5.2.7-13.1-5.9-13.1H388c-2.3 0-4.5 1-5.9 2.9l-34 41.6-34-41.6a7.85 7.85 0 00-5.9-2.9h-50.9c-6.6 0-10.2 7.9-5.9 13.1l61.2 74.9-62.7 76.8c-4.4 5.2-.8 13.1 5.8 13.1h50.8c2.3 0 4.5-1 5.9-2.9l35.5-43.5 35.5 43.5c1.5 1.8 3.7 2.9 5.9 2.9h50.8c6.6 0 10.2-7.9 5.9-13.1L383.5 675zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-36 732H180V180h664v664z`}}]},name:`calculator`,theme:`outlined`}}))());function N4(){return N4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,N4({},e,{ref:t,icon:M4.default}))),F4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456zM512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z`}}]},name:`camera`,theme:`outlined`}}))());function I4(){return I4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,I4({},e,{ref:t,icon:F4.default}))),R4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M380 704h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8zm340-123a40 40 0 1080 0 40 40 0 10-80 0zm239-167.6L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM840 517v237H184V517l15.6-43h624.8l15.6 43zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM224 581a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`car`,theme:`outlined`}}))());function z4(){return z4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,z4({},e,{ref:t,icon:R4.default}))),V4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z`}}]},name:`caret-right`,theme:`outlined`}}))());function H4(){return H4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,H4({},e,{ref:t,icon:V4.default}))),W4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`check-circle`,theme:`outlined`}}))());function G4(){return G4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,G4({},e,{ref:t,icon:W4.default}))),q4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z`}}]},name:`close-circle`,theme:`outlined`}}))());function J4(){return J4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,J4({},e,{ref:t,icon:q4.default}))),X4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z`}}]},name:`cloud`,theme:`outlined`}}))());function Z4(){return Z4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Z4({},e,{ref:t,icon:X4.default}))),$4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z`}},{tag:`path`,attrs:{d:`M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z`}},{tag:`path`,attrs:{d:`M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z`}}]},name:`cloud-server`,theme:`outlined`}}))());function e3(){return e3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,e3({},e,{ref:t,icon:$4.default}))),n3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z`}},{tag:`path`,attrs:{d:`M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z`}}]},name:`cloud-upload`,theme:`outlined`}}))());function r3(){return r3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,r3({},e,{ref:t,icon:n3.default}))),a3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`code`,theme:`outlined`}}))());function o3(){return o3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,o3({},e,{ref:t,icon:a3.default}))),c3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M275 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm613 144H768c0-39.8-32.2-72-72-72H200c-39.8 0-72 32.2-72 72v248c0 3.4.2 6.7.7 9.9-.5 7-.7 14-.7 21.1 0 176.7 143.3 320 320 320 160.1 0 292.7-117.5 316.3-271H888c39.8 0 72-32.2 72-72V497c0-39.8-32.2-72-72-72zM696 681h-1.1c.7 7.6 1.1 15.2 1.1 23 0 137-111 248-248 248S200 841 200 704c0-7.8.4-15.4 1.1-23H200V425h496v256zm192-8H776V497h112v176zM613 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm-170 0c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36z`}}]},name:`coffee`,theme:`outlined`}}))());function l3(){return l3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,l3({},e,{ref:t,icon:c3.default}))),d3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z`}},{tag:`path`,attrs:{d:`M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z`}},{tag:`path`,attrs:{d:`M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z`}}]},name:`comment`,theme:`outlined`}}))());function f3(){return f3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,f3({},e,{ref:t,icon:d3.default}))),m3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm198.4-588.1a32 32 0 00-24.5.5L414.9 415 296.4 686c-3.6 8.2-3.6 17.5 0 25.7 3.4 7.8 9.7 13.9 17.7 17 3.8 1.5 7.7 2.2 11.7 2.2 4.4 0 8.7-.9 12.8-2.7l271-118.6 118.5-271a32.06 32.06 0 00-17.7-42.7zM576.8 534.4l26.2 26.2-42.4 42.4-26.2-26.2L380 644.4 447.5 490 422 464.4l42.4-42.4 25.5 25.5L644.4 380l-67.6 154.4zM464.4 422L422 464.4l25.5 25.6 86.9 86.8 26.2 26.2 42.4-42.4-26.2-26.2-86.8-86.9z`}}]},name:`compass`,theme:`outlined`}}))());function h3(){return h3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,h3({},e,{ref:t,icon:m3.default}))),_3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zM512 734.2c-62.1 0-112.6-50.5-112.6-112.6S449.9 509 512 509s112.6 50.5 112.6 112.6S574.1 734.2 512 734.2zm0-160.9c-26.6 0-48.2 21.6-48.2 48.3 0 26.6 21.6 48.3 48.2 48.3s48.2-21.6 48.2-48.3c0-26.6-21.6-48.3-48.2-48.3z`}}]},name:`crown`,theme:`filled`}}))());function v3(){return v3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,v3({},e,{ref:t,icon:_3.default}))),b3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zm-126 534.1H250.3l-53.8-409.4 139.8 86.1L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4zM512 509c-62.1 0-112.6 50.5-112.6 112.6S449.9 734.2 512 734.2s112.6-50.5 112.6-112.6S574.1 509 512 509zm0 160.9c-26.6 0-48.2-21.6-48.2-48.3 0-26.6 21.6-48.3 48.2-48.3s48.2 21.6 48.2 48.3c0 26.6-21.6 48.3-48.2 48.3z`}}]},name:`crown`,theme:`outlined`}}))());function x3(){return x3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,x3({},e,{ref:t,icon:b3.default}))),C3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276zM623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z`}}]},name:`dashboard`,theme:`outlined`}}))());function w3(){return w3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,w3({},e,{ref:t,icon:C3.default}))),E3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`database`,theme:`outlined`}}))());function D3(){return D3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,D3({},e,{ref:t,icon:E3.default}))),k3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm47.7-395.2l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z`}}]},name:`dollar`,theme:`outlined`}}))());function A3(){return A3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,A3({},e,{ref:t,icon:k3.default}))),M3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 472a40 40 0 1080 0 40 40 0 10-80 0zm367 352.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.7-107.8c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1L813.5 844h-603z`}}]},name:`experiment`,theme:`outlined`}}))());function N3(){return N3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,N3({},e,{ref:t,icon:M3.default}))),F3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z`}}]},name:`filter`,theme:`outlined`}}))());function I3(){return I3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,I3({},e,{ref:t,icon:F3.default}))),R3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9z`}}]},name:`fire`,theme:`filled`}}))());function z3(){return z3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,z3({},e,{ref:t,icon:R3.default}))),V3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z`}}]},name:`fire`,theme:`outlined`}}))());function H3(){return H3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,H3({},e,{ref:t,icon:V3.default}))),W3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z`}}]},name:`flag`,theme:`outlined`}}))());function G3(){return G3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,G3({},e,{ref:t,icon:W3.default}))),q3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 310H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v200c0 4.4 3.6 8 8 8h40v344c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V550h40c4.4 0 8-3.6 8-8V342c0-17.7-14.3-32-32-32zm-334-74c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70h-70v-70zm-138-70c38.6 0 70 31.4 70 70v70h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70zM180 482V378h298v104H180zm48 68h250v308H228V550zm568 308H546V550h250v308zm48-376H546V378h298v104z`}}]},name:`gift`,theme:`outlined`}}))());function J3(){return J3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,J3({},e,{ref:t,icon:q3.default}))),X3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z`}}]},name:`global`,theme:`outlined`}}))());function Z3(){return Z3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Z3({},e,{ref:t,icon:X3.default}))),$3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z`}}]},name:`heart`,theme:`outlined`}}))());function e6(){return e6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,e6({},e,{ref:t,icon:$3.default}))),n6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M957.6 507.4L603.2 158.2a7.9 7.9 0 00-11.2 0L353.3 393.4a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.2H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.2l68.6-67.6 171.4 168.9-68.6 67.6zM713.1 658L450.3 399.1 597.6 254l262.8 259-147.3 145z`}}]},name:`highlight`,theme:`outlined`}}))());function r6(){return r6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,r6({},e,{ref:t,icon:n6.default}))),a6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z`}}]},name:`history`,theme:`outlined`}}))());function o6(){return o6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,o6({},e,{ref:t,icon:a6.default}))),c6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z`}}]},name:`home`,theme:`outlined`}}))());function l6(){return l6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,l6({},e,{ref:t,icon:c6.default}))),d6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560zM610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z`}}]},name:`idcard`,theme:`outlined`}}))());function f6(){return f6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,f6({},e,{ref:t,icon:d6.default}))),m6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M448 224a64 64 0 10128 0 64 64 0 10-128 0zm96 168h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V400c0-4.4-3.6-8-8-8z`}}]},name:`info`,theme:`outlined`}}))());function h6(){return h6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,h6({},e,{ref:t,icon:m6.default}))),_6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z`}}]},name:`laptop`,theme:`outlined`}}))());function v6(){return v6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,v6({},e,{ref:t,icon:_6.default}))),b6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-696 72h136v656H184V184zm656 656H384V384h456v456zM384 320V184h456v136H384z`}}]},name:`layout`,theme:`outlined`}}))());function x6(){return x6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,x6({},e,{ref:t,icon:b6.default}))),C6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z`}}]},name:`like`,theme:`outlined`}}))());function w6(){return w6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,w6({},e,{ref:t,icon:C6.default}))),E6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM305.8 637.7c3.1 3.1 8.1 3.1 11.3 0l138.3-137.6L583 628.5c3.1 3.1 8.2 3.1 11.3 0l275.4-275.3c3.1-3.1 3.1-8.2 0-11.3l-39.6-39.6a8.03 8.03 0 00-11.3 0l-230 229.9L461.4 404a8.03 8.03 0 00-11.3 0L266.3 586.7a8.03 8.03 0 000 11.3l39.5 39.7z`}}]},name:`line-chart`,theme:`outlined`}}))());function D6(){return D6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,D6({},e,{ref:t,icon:E6.default}))),k6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z`}}]},name:`lock`,theme:`outlined`}}))());function A6(){return A6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,A6({},e,{ref:t,icon:k6.default}))),M6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M521.7 82c-152.5-.4-286.7 78.5-363.4 197.7-3.4 5.3.4 12.3 6.7 12.3h70.3c4.8 0 9.3-2.1 12.3-5.8 7-8.5 14.5-16.7 22.4-24.5 32.6-32.5 70.5-58.1 112.7-75.9 43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 32.6 32.5 58.1 70.4 76 112.5C865.7 417.8 875 464.1 875 512c0 47.9-9.4 94.2-27.8 137.8-17.8 42.1-43.4 80-76 112.5s-70.5 58.1-112.7 75.9A352.8 352.8 0 01520.6 866c-47.9 0-94.3-9.4-137.9-27.8A353.84 353.84 0 01270 762.3c-7.9-7.9-15.3-16.1-22.4-24.5-3-3.7-7.6-5.8-12.3-5.8H165c-6.3 0-10.2 7-6.7 12.3C234.9 863.2 368.5 942 520.6 942c236.2 0 428-190.1 430.4-425.6C953.4 277.1 761.3 82.6 521.7 82zM395.02 624v-76h-314c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h314v-76c0-6.7 7.8-10.5 13-6.3l141.9 112a8 8 0 010 12.6l-141.9 112c-5.2 4.1-13 .4-13-6.3z`}}]},name:`login`,theme:`outlined`}}))());function N6(){return N6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,N6({},e,{ref:t,icon:M6.default}))),F6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z`}}]},name:`logout`,theme:`outlined`}}))());function I6(){return I6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,I6({},e,{ref:t,icon:F6.default}))),R6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z`}}]},name:`mail`,theme:`outlined`}}))());function z6(){return z6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,z6({},e,{ref:t,icon:R6.default}))),V6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840zM652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}}]},name:`medicine-box`,theme:`outlined`}}))());function H6(){return H6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,H6({},e,{ref:t,icon:V6.default}))),W6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z`}}]},name:`menu`,theme:`outlined`}}))());function G6(){return G6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,G6({},e,{ref:t,icon:W6.default}))),q6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z`}}]},name:`message`,theme:`outlined`}}))());function J6(){return J6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,J6({},e,{ref:t,icon:q6.default}))),X6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`mobile`,theme:`outlined`}}))());function Z6(){return Z6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Z6({},e,{ref:t,icon:X6.default}))),$6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M692.8 412.7l.2-.2-34.6-44.3a7.97 7.97 0 00-11.2-1.4l-50.4 39.3-70.5-90.1a7.97 7.97 0 00-11.2-1.4l-37.9 29.7a7.97 7.97 0 00-1.4 11.2l70.5 90.2-.2.1 34.6 44.3c2.7 3.5 7.7 4.1 11.2 1.4l50.4-39.3 64.1 82c2.7 3.5 7.7 4.1 11.2 1.4l37.9-29.6c3.5-2.7 4.1-7.7 1.4-11.2l-64.1-82.1zM608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5L114.3 856.1a8.03 8.03 0 000 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6C473 696.1 537.7 720 608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644s-118.2-23.7-161.2-66.8C403.7 534.2 380 476.9 380 416s23.7-118.2 66.8-161.2c43-43.1 100.3-66.8 161.2-66.8s118.2 23.7 161.2 66.8c43.1 43 66.8 100.3 66.8 161.2s-23.7 118.2-66.8 161.2z`}}]},name:`monitor`,theme:`outlined`}}))());function e8(){return e8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,e8({},e,{ref:t,icon:$6.default}))),n8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-80 600c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z`}}]},name:`pause-circle`,theme:`filled`}}))());function r8(){return r8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,r8({},e,{ref:t,icon:n8.default}))),a8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M304 176h80v672h-80zm408 0h-64c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8z`}}]},name:`pause`,theme:`outlined`}}))());function o8(){return o8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,o8({},e,{ref:t,icon:a8.default}))),c8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm159.6-585h-59.5c-3 0-5.8 1.7-7.1 4.4l-90.6 180H511l-90.6-180a8 8 0 00-7.1-4.4h-60.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9L457 515.7h-61.4c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V603h-81.7c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V717c0 4.4 3.6 8 8 8h54.3c4.4 0 8-3.6 8-8v-68.1h82c4.4 0 8-3.6 8-8V611c0-4.4-3.6-8-8-8h-82v-41.5h82c4.4 0 8-3.6 8-8v-29.9c0-4.4-3.6-8-8-8h-62l111.1-204.8c.6-1.2 1-2.5 1-3.8-.1-4.4-3.7-8-8.1-8z`}}]},name:`pay-circle`,theme:`outlined`}}))());function l8(){return l8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,l8({},e,{ref:t,icon:c8.default}))),d8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z`}}]},name:`phone`,theme:`outlined`}}))());function f8(){return f8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,f8({},e,{ref:t,icon:d8.default}))),m8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z`}}]},name:`picture`,theme:`outlined`}}))());function h8(){return h8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,h8({},e,{ref:t,icon:m8.default}))),_8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552a398.46 398.46 0 00117.1 282.8c36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952a398.46 398.46 0 00282.8-117.1c36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552c0-88.7 34.5-172.1 97.2-234.8 54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8zM952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-4.7-.4-8.7 3.2-8.7 7.9V464c0 4.4 3.6 8 8 8l384-1c4.7 0 8.4-4 8-8.6zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z`}}]},name:`pie-chart`,theme:`outlined`}}))());function v8(){return v8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,v8({},e,{ref:t,icon:_8.default}))),b8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z`}}]},name:`play-circle`,theme:`filled`}}))());function x8(){return x8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,x8({},e,{ref:t,icon:b8.default}))),C8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z`}}]},name:`play-circle`,theme:`outlined`}}))());function w8(){return w8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,w8({},e,{ref:t,icon:C8.default}))),E8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`plus-circle`,theme:`outlined`}}))());function D8(){return D8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,D8({},e,{ref:t,icon:E8.default}))),k8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 161H699.2c-49.1 0-97.1 14.1-138.4 40.7L512 233l-48.8-31.3A255.2 255.2 0 00324.8 161H96c-17.7 0-32 14.3-32 32v568c0 17.7 14.3 32 32 32h228.8c49.1 0 97.1 14.1 138.4 40.7l44.4 28.6c1.3.8 2.8 1.3 4.3 1.3s3-.4 4.3-1.3l44.4-28.6C602 807.1 650.1 793 699.2 793H928c17.7 0 32-14.3 32-32V193c0-17.7-14.3-32-32-32zM324.8 721H136V233h188.8c35.4 0 69.8 10.1 99.5 29.2l48.8 31.3 6.9 4.5v462c-47.6-25.6-100.8-39-155.2-39zm563.2 0H699.2c-54.4 0-107.6 13.4-155.2 39V298l6.9-4.5 48.8-31.3c29.7-19.1 64.1-29.2 99.5-29.2H888v488zM396.9 361H211.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5zm223.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c0-4.1-3.2-7.5-7.1-7.5H627.1c-3.9 0-7.1 3.4-7.1 7.5zM396.9 501H211.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5zm416 0H627.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5z`}}]},name:`read`,theme:`outlined`}}))());function A8(){return A8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,A8({},e,{ref:t,icon:k8.default}))),M8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z`}},{tag:`path`,attrs:{d:`M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z`}}]},name:`rest`,theme:`outlined`}}))());function N8(){return N8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,N8({},e,{ref:t,icon:M8.default}))),F8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M917 211.1l-199.2 24c-6.6.8-9.4 8.9-4.7 13.6l59.3 59.3-226 226-101.8-101.7c-6.3-6.3-16.4-6.2-22.6 0L100.3 754.1a8.03 8.03 0 000 11.3l45 45.2c3.1 3.1 8.2 3.1 11.3 0L433.3 534 535 635.7c6.3 6.2 16.4 6.2 22.6 0L829 364.5l59.3 59.3a8.01 8.01 0 0013.6-4.7l24-199.2c.7-5.1-3.7-9.5-8.9-8.8z`}}]},name:`rise`,theme:`outlined`}}))());function I8(){return I8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,I8({},e,{ref:t,icon:F8.default}))),R8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`robot`,theme:`outlined`}}))());function z8(){return z8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,z8({},e,{ref:t,icon:R8.default}))),V8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8H864zM762.3 621.4c9.4 14.6 17 30.3 22.5 46.6H700V558.7a211.6 211.6 0 0162.3 62.7zM388 483.1V318.8l124-147 124 147V668H388V483.1zM239.2 668c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668h-84.8zm388.9 116.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5-38.3 0-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM464 400a48 48 0 1096 0 48 48 0 10-96 0z`}}]},name:`rocket`,theme:`outlined`}}))());function H8(){return H8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,H8({},e,{ref:t,icon:V8.default}))),W8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64L128 192v384c0 212.1 171.9 384 384 384s384-171.9 384-384V192L512 64zm312 512c0 172.3-139.7 312-312 312S200 748.3 200 576V246l312-110 312 110v330z`}},{tag:`path`,attrs:{d:`M378.4 475.1a35.91 35.91 0 00-50.9 0 35.91 35.91 0 000 50.9l129.4 129.4 2.1 2.1a33.98 33.98 0 0048.1 0L730.6 434a33.98 33.98 0 000-48.1l-2.8-2.8a33.98 33.98 0 00-48.1 0L483 579.7 378.4 475.1z`}}]},name:`safety`,theme:`outlined`}}))());function G8(){return G8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,G8({},e,{ref:t,icon:W8.default}))),q8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M567.1 512l318.5-319.3c5-5 1.5-13.7-5.6-13.7h-90.5c-2.1 0-4.2.8-5.6 2.3l-273.3 274-90.2-90.5c12.5-22.1 19.7-47.6 19.7-74.8 0-83.9-68.1-152-152-152s-152 68.1-152 152 68.1 152 152 152c27.7 0 53.6-7.4 75.9-20.3l90 90.3-90.1 90.3A151.04 151.04 0 00288 582c-83.9 0-152 68.1-152 152s68.1 152 152 152 152-68.1 152-152c0-27.2-7.2-52.7-19.7-74.8l90.2-90.5 273.3 274c1.5 1.5 3.5 2.3 5.6 2.3H880c7.1 0 10.7-8.6 5.6-13.7L567.1 512zM288 370c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80zm0 444c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z`}}]},name:`scissor`,theme:`outlined`}}))());function J8(){return J8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,J8({},e,{ref:t,icon:q8.default}))),X8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM402.9 528.8l-77.5 77.5a8.03 8.03 0 000 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.7 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 123-20.1 178.6zm65.4-133.3c31.3-31.3 82-31.3 113.2 0 31.3 31.3 31.3 82 0 113.2-31.3 31.3-82 31.3-113.2 0s-31.3-81.9 0-113.2z`}}]},name:`security-scan`,theme:`outlined`}}))());function Z8(){return Z8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Z8({},e,{ref:t,icon:X8.default}))),$8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-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 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z`}}]},name:`setting`,theme:`outlined`}}))());function e5(){return e5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,e5({},e,{ref:t,icon:$8.default}))),n5=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M922.9 701.9H327.4l29.9-60.9 496.8-.9c16.8 0 31.2-12 34.2-28.6l68.8-385.1c1.8-10.1-.9-20.5-7.5-28.4a34.99 34.99 0 00-26.6-12.5l-632-2.1-5.4-25.4c-3.4-16.2-18-28-34.6-28H96.5a35.3 35.3 0 100 70.6h125.9L246 312.8l58.1 281.3-74.8 122.1a34.96 34.96 0 00-3 36.8c6 11.9 18.1 19.4 31.5 19.4h62.8a102.43 102.43 0 00-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7h161.1a102.43 102.43 0 00-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7H923c19.4 0 35.3-15.8 35.3-35.3a35.42 35.42 0 00-35.4-35.2zM305.7 253l575.8 1.9-56.4 315.8-452.3.8L305.7 253zm96.9 612.7c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 01-31.6 31.6zm325.1 0c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 01-31.6 31.6z`}}]},name:`shopping-cart`,theme:`outlined`}}))());function r5(){return r5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,r5({},e,{ref:t,icon:n5.default}))),a5=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-432-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16H400v-16zm392 544H232V384h96v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h224v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h96v456z`}}]},name:`shopping`,theme:`outlined`}}))());function o5(){return o5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,o5({},e,{ref:t,icon:a5.default}))),c5=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M925.6 405.1l-203-253.7a6.5 6.5 0 00-5-2.4H306.4c-1.9 0-3.8.9-5 2.4l-203 253.7a6.5 6.5 0 00.2 8.3l408.6 459.5c1.2 1.4 3 2.1 4.8 2.1 1.8 0 3.5-.8 4.8-2.1l408.6-459.5a6.5 6.5 0 00.2-8.3zM645.2 206.4l34.4 133.9-132.5-133.9h98.1zm8.2 178.5H370.6L512 242l141.4 142.9zM378.8 206.4h98.1L344.3 340.3l34.5-133.9zm-53.4 7l-44.1 171.5h-93.1l137.2-171.5zM194.6 434.9H289l125.8 247.7-220.2-247.7zM512 763.4L345.1 434.9h333.7L512 763.4zm97.1-80.8L735 434.9h94.4L609.1 682.6zm133.6-297.7l-44.1-171.5 137.2 171.5h-93.1z`}}]},name:`sketch`,theme:`outlined`}}))());function l5(){return l5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,l5({},e,{ref:t,icon:c5.default}))),d5=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44zm-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842v196z`}}]},name:`skin`,theme:`outlined`}}))());function f5(){return f5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,f5({},e,{ref:t,icon:d5.default}))),m5=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z`}}]},name:`smile`,theme:`outlined`}}))());function h5(){return h5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,h5({},e,{ref:t,icon:m5.default}))),_5=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z`}}]},name:`solution`,theme:`outlined`}}))());function v5(){return v5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,v5({},e,{ref:t,icon:_5.default}))),b5=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z`}}]},name:`sound`,theme:`outlined`}}))());function x5(){return x5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,x5({},e,{ref:t,icon:b5.default}))),C5=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z`}}]},name:`star`,theme:`outlined`}}))());function w5(){return w5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,w5({},e,{ref:t,icon:C5.default}))),Pne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z`}}]},name:`sync`,theme:`outlined`}}))());function E5(){return E5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,E5({},e,{ref:t,icon:Pne.default}))),Ine=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7zM680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z`}}]},name:`tag`,theme:`outlined`}}))());function D5(){return D5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,D5({},e,{ref:t,icon:Ine.default}))),Rne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z`}}]},name:`team`,theme:`outlined`}}))());function O5(){return O5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,O5({},e,{ref:t,icon:Rne.default}))),zne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z`}}]},name:`thunderbolt`,theme:`outlined`}}))());function A5(){return A5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,A5({},e,{ref:t,icon:zne.default}))),Bne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z`}}]},name:`tool`,theme:`outlined`}}))());function M5(){return M5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,M5({},e,{ref:t,icon:Bne.default}))),Hne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.7 758.3 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM184 352V232h64v207.6a91.99 91.99 0 01-64-87.6zm520 128c0 49.1-19.1 95.4-53.9 130.1-34.8 34.8-81 53.9-130.1 53.9h-16c-49.1 0-95.4-19.1-130.1-53.9-34.8-34.8-53.9-81-53.9-130.1V184h384v296zm136-128c0 41-26.9 75.8-64 87.6V232h64v120z`}}]},name:`trophy`,theme:`outlined`}}))());function N5(){return N5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,N5({},e,{ref:t,icon:Hne.default}))),Une=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640M576 256H128v384h17.12c22.13-38.26 63.5-64 110.88-64 47.38 0 88.75 25.74 110.88 64H576zm221.63 192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448a12 12 0 0112 12v40a12 12 0 01-12 12H332a12 12 0 01-12-12v-40a12 12 0 0112-12zM308 320a12 12 0 0112 12v40a12 12 0 01-12 12H204a12 12 0 01-12-12v-40a12 12 0 0112-12z`}}]},name:`truck`,theme:`outlined`}}))());function F5(){return F5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,F5({},e,{ref:t,icon:Une.default}))),Gne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z`}}]},name:`upload`,theme:`outlined`}}))());function I5(){return I5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,I5({},e,{ref:t,icon:Gne.default}))),Kne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`user-add`,theme:`outlined`}}))());function R5(){return R5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,R5({},e,{ref:t,icon:Kne.default}))),Jne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z`}}]},name:`user`,theme:`outlined`}}))());function z5(){return z5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,z5({},e,{ref:t,icon:Jne.default}))),Yne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226zM208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}}]},name:`video-camera`,theme:`outlined`}}))());function V5(){return V5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,V5({},e,{ref:t,icon:Yne.default}))),Xne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 464H528V448h312v128zm0 264H184V184h656v200H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200zM580 512a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`wallet`,theme:`outlined`}}))());function U5(){return U5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,U5({},e,{ref:t,icon:Xne.default}))),Zne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z`}}]},name:`warning`,theme:`outlined`}}))());function G5(){return G5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,G5({},e,{ref:t,icon:Zne.default}))),$ne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z`}}]},name:`wechat`,theme:`outlined`}}))());function K5(){return K5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,K5({},e,{ref:t,icon:$ne.default}))),ere=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M921 912L601.11 445.75l.55.43L890.08 112H793.7L558.74 384 372.15 112H119.37l298.65 435.31-.04-.04L103 912h96.39L460.6 609.38 668.2 912zM333.96 184.73l448.83 654.54H706.4L257.2 184.73z`}}]},name:`x`,theme:`outlined`}}))());function J5(){return J5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,J5({},e,{ref:t,icon:ere.default}))),X5=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},tre=(e=>e?X5(e):X5),nre=e=>e;function rre(e,t=nre){let n=S.useSyncExternalStore(e.subscribe,S.useCallback(()=>t(e.getState()),[e,t]),S.useCallback(()=>t(e.getInitialState()),[e,t]));return S.useDebugValue(n),n}var Z5=e=>{let t=tre(e),n=e=>rre(t,e);return Object.assign(n,t),n},Q5=(e=>e?Z5(e):Z5),$5=`AES-GCM`,e7=12,t7=128;function n7(){return typeof window<`u`&&typeof crypto<`u`&&crypto.subtle!==void 0}async function r7(){throw Error(`VITE_ENCRYPTION_KEY not configured`)}async function ire(e){if(!n7())throw Error(`Encryption not available in non-secure context`);let t=await r7(),n=crypto.getRandomValues(new Uint8Array(e7)),r=new TextEncoder().encode(e),i=await crypto.subtle.encrypt({name:$5,iv:n,tagLength:t7},t,r),a=new Uint8Array(i),o=new Uint8Array(n.length+a.length);return o.set(n),o.set(a,n.length),btoa(String.fromCharCode(...o))}async function are(e){if(!n7())throw Error(`Decryption not available in non-secure context`);let t=await r7(),n=Uint8Array.from(atob(e),e=>e.charCodeAt(0)),r=n.slice(0,e7),i=n.slice(e7),a=await crypto.subtle.decrypt({name:$5,iv:r,tagLength:t7},t,i);return new TextDecoder().decode(a)}var ore=`http://ceshi.apiforeign.minzhong.cn`,sre=!1;function cre(e){return e.replace(/_([a-z])/g,(e,t)=>t.toUpperCase())}function i7(e){return Array.isArray(e)?e.map(i7):typeof e==`object`&&e?Object.fromEntries(Object.entries(e).map(([e,t])=>[cre(e),i7(t)])):e}function lre(){return localStorage.getItem(`auth_token`)}function a7(e){localStorage.setItem(`auth_token`,e)}function o7(){localStorage.removeItem(`auth_token`)}async function ure(e){try{return await are(e)}catch{return null}}async function s7(e,t={}){let{method:n=`GET`,body:r,auth:i=!0,encryptBody:a=sre,signal:o,skipAuthRedirect:s}=t,c={"Content-Type":`application/json`};if(i){let e=lre();e&&(c.Authorization=`Bearer ${e}`)}let l;if(r!==void 0){let e=JSON.stringify(r);a?(c[`X-Encrypted`]=`true`,l=JSON.stringify({data:await ire(e)})):l=e}let u=await fetch(`${ore}/api${e}`,{method:n,headers:c,body:l,signal:o});if(u.status===204)return;let d=await u.text();if(!d)return;let f;try{f=JSON.parse(d)}catch{throw Error(`响应解析失败 (${u.status})`)}if(f&&typeof f.data==`string`&&a){let e=await ure(f.data);e!==null&&(f=JSON.parse(e))}if(!u.ok){let e=f?.detail?.message||f?.message||`请求失败 (${u.status})`;throw typeof f?.detail==`string`&&(e=f.detail),u.status===401&&!t.skipAuthRedirect&&(o7(),window.location.href=`/login`),Error(e)}return i7(f)}var c7={get:(e,t=!0)=>s7(e,typeof t==`boolean`?{auth:t}:t),post:(e,t,n=!0,r=!1)=>s7(e,{method:`POST`,body:t,auth:n,skipAuthRedirect:r}),put:(e,t,n=!0)=>s7(e,{method:`PUT`,body:t,auth:n}),delete:(e,t,n=!0)=>s7(e,{method:`DELETE`,body:t,auth:n})};async function dre(e,t,n,r){let i=await c7.post(`/auth/login`,{username:e,password:t,captcha_token:n,remember_me:r||!1},!1,!0);return a7(i.accessToken),i.user}async function fre(e,t){let n=await c7.post(`/auth/sms-login`,{phone:e,code:t},!1,!0);return a7(n.accessToken),n.user}async function pre(e,t,n){let r=await c7.post(`/auth/register`,{phone:e,code:t,password:n},!1);return a7(r.accessToken),r.user}async function mre(){await c7.post(`/auth/logout`),o7()}async function l7(){try{return await c7.get(`/auth/me`)}catch{return null}}async function u7(e,t){await c7.post(`/auth/change-password`,{old_password:e,new_password:t})}async function hre(){return c7.get(`/projects`)}async function gre(e,t){return c7.post(`/projects`,{name:e,industry:t})}async function _re(e){await c7.delete(`/projects/${e}`)}async function d7(e={}){let t=e.page&&e.page>0?e.page:1,n=e.pageSize&&e.pageSize>0?e.pageSize:10,r=new URLSearchParams;return e.projectId&&r.set(`project_id`,e.projectId),e.status&&r.set(`status`,e.status),r.set(`page`,String(t)),r.set(`page_size`,String(n)),c7.get(`/generation-records?${r.toString()}`,{signal:e.signal})}async function vre(e,t){return c7.post(`/generation-records/optimize`,{project_id:e,gen_type:t.genType,prompt:t.prompt,duration:t.duration,references:t.references||null,idempotency_key:t.idempotencyKey||null,image_size:t.image_size||null,image_proportion:t.image_proportion||null,image_px:t.image_px||null})}async function yre(e){let t=new FormData;t.append(`file`,e);let n=localStorage.getItem(`auth_token`),r=await fetch(`http://ceshi.apiforeign.minzhong.cn/api/generation-records/upload-audio`,{method:`POST`,headers:n?{Authorization:`Bearer ${n}`}:{},body:t});if(!r.ok)throw Error(`图片上传失败`);let i=await r.json();return{url:i.url,filename:i.filename}}async function f7(e){let t=new FormData;t.append(`file`,e);let n=localStorage.getItem(`auth_token`),r=await fetch(`http://ceshi.apiforeign.minzhong.cn/api/generation-records/upload-image`,{method:`POST`,headers:n?{Authorization:`Bearer ${n}`}:{},body:t});if(!r.ok)throw Error(`图片上传失败`);let i=await r.json();return{url:i.url,filename:i.filename}}async function p7(e){let t=new FormData;t.append(`file`,e);let n=localStorage.getItem(`auth_token`),r=await fetch(`http://ceshi.apiforeign.minzhong.cn/api/generation-records/upload-video`,{method:`POST`,headers:n?{Authorization:`Bearer ${n}`}:{},body:t});if(!r.ok)throw Error(`视频上传失败`);let i=await r.json();return{url:i.url,filename:i.filename}}async function m7(e){await c7.post(`/generation-records/delete-file?url=${encodeURIComponent(e)}`)}async function bre(e,t){await c7.put(`/generation-records/${e}/prompt`,{optimized_prompt:t})}async function xre(e,t){return c7.post(`/generation-records/${e}/generate`,{aspect_ratio:t.aspectRatio,resolution:t.resolution})}async function h7(e=1,t=20){let n=new URLSearchParams;return n.set(`page`,String(e)),n.set(`page_size`,String(t)),c7.get(`/credits?${n.toString()}`)}async function g7(){return c7.get(`/auth/site-info`,!1)}async function Sre(){return c7.get(`/video-engines`)}async function Cre(){return c7.get(`/image-engines`)}async function _7(e,t){await c7.post(`/sms/send`,{phone:e,scene:t},!1)}async function v7(e=1,t=20,n){let r=new URLSearchParams;return r.set(`page`,String(e)),r.set(`page_size`,String(t)),n!==void 0&&r.set(`is_read`,String(n)),c7.get(`/notifications?${r.toString()}`)}async function y7(){return(await c7.get(`/notifications/unread-count`)).count}async function b7(e){await c7.put(`/notifications/${e}/read`)}async function x7(){return(await c7.get(`/industries`)).map(e=>{let t=(Array.isArray(e.skills)?e.skills:[]).filter(e=>e&&e.type===`option_group`&&e.name&&Array.isArray(e.options)).map(e=>({name:e.name,options:e.options}));return{...e,optionGroups:t}})}async function wre(){return c7.get(`/menu-configs`)}async function Tre(){return c7.get(`/recharge-packages`)}async function Ere(){return c7.get(`/payments/methods`)}async function Dre(e,t=`wechat`){return c7.post(`/payments/recharge`,{plan:e,method:t})}async function Ore(e=1,t=20){let n=new URLSearchParams;return n.set(`page`,String(e)),n.set(`page_size`,String(t)),c7.get(`/payments/orders?${n.toString()}`)}async function S7(e){return c7.get(`/payments/orders/${e}`)}async function C7(e){return c7.post(`/payments/orders/${e}/cancel`)}async function kre(){return c7.get(`/credits/ratios`)}async function w7(){return c7.get(`/generation-ai/engines`)}async function Are(e){return c7.post(`/generation-ai/tasks`,e)}async function T7(e){return c7.get(`/generation-ai/tasks?page=`+e.page+`&page_size=`+e.pageSize)}async function jre(e){return c7.get(`/generation-ai/history`+e)}async function E7(e){return c7.get(`/generation-ai/history/`+e)}async function Mre(e){await c7.delete(`/generation-ai/tasks/${e}`)}async function Nre(){return c7.get(`/credits/credit-ratios`)}async function Pre(e){return c7.post(`/hot-opening-replications/tasks`,e)}async function D7(e,t,n){let r=`/hot-opening-replications/tasks?page=${e}&page_size=${t}`;return n&&(r+=`&keyword=${encodeURIComponent(n)}`),c7.get(r)}async function O7(e){return c7.get(`/hot-opening-replications/tasks/${e}`)}async function Fre(e,t){return c7.post(`/hot-opening-replications/tasks/${e}/steps/${t}/generate-image-prompt`)}async function Ire(e,t,n){return c7.put(`/hot-opening-replications/tasks/${e}/steps/${t}/image-prompt`,n)}async function k7(e,t,n){return c7.post(`/hot-opening-replications/tasks/${e}/steps/${t}/generate-image`,n)}async function Lre(e,t,n){return c7.post(`/hot-opening-replications/tasks/${e}/steps/${t}/generate-video-prompt`,n)}async function A7(e,t,n){return c7.post(`/hot-opening-replications/tasks/${e}/steps/${t}/generate-video`,n)}async function j7(e){return c7.post(`/user-oauth/request_oauth`,e)}async function Rre(e){let t=new URLSearchParams;return t.set(`auth_code`,e.auth_code),t.set(`state`,e.state),e.app_id&&t.set(`app_id`,e.app_id),e.material_auth_status&&t.set(`material_auth_status`,e.material_auth_status),e.scope&&t.set(`scope`,e.scope),e.uid&&t.set(`uid`,e.uid),c7.get(`/user-oauth/juliang_callback?${t.toString()}`)}async function M7(e){let t=new URLSearchParams;return e.account_userid&&t.set(`account_userid`,e.account_userid),e.open_type!==void 0&&t.set(`open_type`,String(e.open_type)),e.account_id&&t.set(`account_id`,e.account_id),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),c7.get(`/user-oauth/oauth_list?${t.toString()}`)}async function N7(e){let t=new URLSearchParams;return e.platform&&t.set(`platform`,e.platform),e.page!==void 0&&t.set(`page`,String(e.page)),e.pageSize!==void 0&&t.set(`page_size`,String(e.pageSize)),c7.get(`/pre-test-template/list?${t.toString()}`)}async function zre(e){return c7.post(`/pre-test-template/create`,e)}async function P7(e){return c7.get(`/pre-test-template/select/${e}`)}async function Bre(e,t){return c7.post(`/pre-test-template/update/${e}`,t)}async function Vre(e){return c7.get(`/pre-test-template/delete/${e}`)}async function F7(){return c7.get(`/pre-test-template/default`)}async function Hre(e,t,n){return c7.put(`/hot-opening-replications/tasks/${e}/steps/${t}/video-prompt-schema`,n)}async function Ure(e){return c7.post(`/shot-replications/task-sets`,e)}async function I7(e,t,n){let r=n?`/shot-replications/task-sets?page=${e}&page_size=${t}&keyword=${encodeURIComponent(n)}`:`/shot-replications/task-sets?page=${e}&page_size=${t}`;return c7.get(r)}async function L7(e){return c7.get(`/shot-replications/task-sets/${e}`)}async function Wre(e,t){return c7.post(`/shot-replications/task-sets/${e}/split-by-ai`,t)}async function Gre(e,t){return c7.post(`/shot-replications/task-sets/${e}/split-custom`,t)}async function R7(e){return c7.get(`/shot-replications/task-sets/${e}/segments`)}async function Kre(e,t){return c7.post(`/shot-replications/segments/${e}/replication-projects`,t)}async function z7(e){return c7.get(`/shot-replications/projects/${e}`)}async function qre(e,t){return c7.post(`/shot-replications/projects/${e}/steps/${t}/generate-image-prompt`)}async function Jre(e,t,n){return c7.put(`/shot-replications/projects/${e}/steps/${t}/image-prompt`,n)}async function Yre(e,t,n){return c7.put(`/shot-replications/projects/${e}/steps/${t}/video-prompt-schema`,n)}async function B7(e,t,n){return c7.post(`/shot-replications/projects/${e}/steps/${t}/generate-image`,n)}async function Xre(e,t,n){return c7.post(`/shot-replications/projects/${e}/steps/${t}/generate-video-prompt`,n)}async function V7(e,t,n){return c7.post(`/shot-replications/projects/${e}/steps/${t}/generate-video`,n)}async function H7(e){let t=new URLSearchParams;return e?.level&&t.set(`level`,e.level),e?.parent_code&&t.set(`parent_code`,e.parent_code),c7.get(`/pre-test-template/getArea?${t.toString()}`)}async function Zre(e){return c7.post(`/upload-material/async-batch-upload`,e)}async function Qre(e){let t=new URLSearchParams;e.status&&t.set(`status`,e.status),e.page&&t.set(`page`,String(e.page)),e.pageSize&&t.set(`page_size`,String(e.pageSize));let n=t.toString();return c7.get(`/upload-material/upload-history${n?`?${n}`:``}`)}async function U7(e){return c7.post(`/upload-material/batch-update-filename`,e)}async function $re(e){let t=new URLSearchParams;return e.advertiser_id&&t.set(`advertiser_id`,e.advertiser_id),e.consume_date!==void 0&&t.set(`consume_date`,e.consume_date[0]+`,`+e.consume_date[1]),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),c7.get(`/material-consumption/list?${t.toString()}`)}async function eie(e){let t=new URLSearchParams;return e.advertiser_id&&t.set(`advertiser_id`,e.advertiser_id),e.date&&t.set(`date`,e.date),c7.get(`/material-consumption/sync?${t.toString()}`)}async function W7(){return c7.get(`/material-consumption/fields`)}async function tie(e){return c7.post(`/contact/request`,e)}async function nie(e){let t=new URLSearchParams;return e.advertiser_id&&t.set(`advertiser_id`,e.advertiser_id),e.material_id&&t.set(`material_id`,e.material_id),e.upload_id&&t.set(`upload_id`,e.upload_id),e.file_name&&t.set(`file_name`,e.file_name),e.resource_type&&t.set(`resource_type`,e.resource_type),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),c7.get(`/resources-material/list?${t.toString()}`)}async function rie(e){return c7.get(`/recent-generations?limit=${e}&modules=project&modules=chat_ai&modules=hot_opening_replicate&modules=shot_replicate`)}async function G7(){return c7.get(`/open-type/open_type_all`)}async function iie(e){let t=new URLSearchParams;return e.advertiser_id&&t.set(`advertiser_id`,e.advertiser_id),e.oauth_id&&t.set(`oauth_id`,e.oauth_id),e.advertiser_name&&t.set(`advertiser_name`,e.advertiser_name),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),c7.get(`/oauth-account/list?${t.toString()}`)}async function aie(e){let t=new URLSearchParams;return e.id&&t.set(`id`,e.id),c7.get(`/oauth-account/delete?${t.toString()}`)}async function oie(){return c7.post(`/upload-material/oauth_account_list`)}async function sie(e){return c7.post(`/resources-material/pre-commit`,e)}async function cie(){return c7.get(`/home-materials/categories`)}async function K7(e,t=5){return c7.get(`/home-materials?category_id=${e}&limit_per_category=${t}&include_empty_categories=false&response_mode=grouped&page=1&page_size=20`)}async function q7(e){return c7.delete(`/generation-ai/history/batch`,e)}async function J7(e={}){let t=new URLSearchParams;return t.set(`page`,String(e.page||1)),t.set(`page_size`,String(e.pageSize||20)),e.keyword&&t.set(`keyword`,e.keyword),e.status&&t.set(`status`,e.status),c7.get(`/private-portrait/projects?${t.toString()}`)}async function lie(e){return c7.post(`/private-portrait/projects`,{name:e.name,description:e.description||null,callback_redirect_url:e.callbackRedirectUrl||null})}async function uie(e){await c7.delete(`/private-portrait/projects/${e}`)}async function die(e){return c7.get(`/private-portrait/validate-sessions/${e}`)}async function fie(e,t){return c7.post(`/private-portrait/projects/${e}/assets`,{url:t.url,asset_type:t.assetType||`Image`,name:t.name||null})}async function pie(e,t={}){let n=new URLSearchParams;return n.set(`page`,String(t.page||1)),n.set(`page_size`,String(t.pageSize||20)),t.status&&n.set(`status`,t.status),t.keyword&&n.set(`keyword`,t.keyword),c7.get(`/private-portrait/projects/${e}/assets?${n.toString()}`)}async function mie(e){return c7.post(`/private-portrait/assets/${e}/sync`)}async function hie(e){await c7.delete(`/private-portrait/assets/${e}`)}async function gie(e={}){let t=new URLSearchParams;return t.set(`page`,String(e.page||1)),t.set(`page_size`,String(e.pageSize||20)),e.projectId&&t.set(`project_id`,e.projectId),e.keyword&&t.set(`keyword`,e.keyword),c7.get(`/private-portrait/selectable-assets?${t.toString()}`)}async function _ie(){return c7.get(`/team/managed`)}async function vie(e=1,t=20){let n=new URLSearchParams;return n.set(`page`,String(e)),n.set(`page_size`,String(t)),c7.get(`/team/members?${n.toString()}`)}async function yie(e,t,n=`increase`,r){await c7.post(`/team/members/${e}/credits`,{target_user_id:e,amount:t,direction:n,description:r||null})}async function bie(){return c7.get(`/team/invitations`)}async function xie(e,t){return c7.post(`/team/invitations`,{max_uses:e||null,expires_at:t||null})}async function Sie(e){await c7.delete(`/team/invitations/${e}`)}async function Cie(){return c7.get(`/team/join-requests`)}async function wie(e,t,n){await c7.post(`/team/join-requests/${e}`,{action:t,note:n||null})}async function Tie(e){return c7.get(`/team/join-info?code=${encodeURIComponent(e)}`,{auth:!0,skipAuthRedirect:!0})}async function Eie(e){return c7.get(`/team/join-info/public?code=${encodeURIComponent(e)}`,!1)}async function Die(e){await c7.post(`/team/join`,{invitation_code:e})}async function Oie(e){let t=new URLSearchParams;return e.page&&t.set(`page`,String(e.page)),e.pageSize&&t.set(`page_size`,String(e.pageSize)),e.userId&&t.set(`user_id`,e.userId),e.phone&&t.set(`phone`,e.phone),e.recordType&&t.set(`record_type`,e.recordType),e.startDate&&t.set(`start_date`,e.startDate),e.endDate&&t.set(`end_date`,e.endDate),c7.get(`/team/credit-records?${t.toString()}`)}function kie(e){let t=new URLSearchParams;return e.phone&&t.set(`phone`,e.phone),e.recordType&&t.set(`record_type`,e.recordType),e.startDate&&t.set(`start_date`,e.startDate),e.endDate&&t.set(`end_date`,e.endDate),`http://ceshi.apiforeign.minzhong.cn/api/team/credit-records/export?${t.toString()}`}var Y7=Q5(e=>({user:null,loading:!0,login:async(t,n,r,i)=>{e({user:await dre(t,n,r,i)})},logout:async()=>{await mre(),e({user:null})},checkAuth:async()=>{try{if(!localStorage.getItem(`auth_token`)){e({user:null,loading:!1});return}e({user:await l7(),loading:!1})}catch(t){(t?.message?.includes(`401`)||t?.message?.includes(`Unauthorized`))&&localStorage.removeItem(`auth_token`),e({user:null,loading:!1})}},changePassword:async(e,t)=>{await u7(e,t)},refreshUser:async()=>{try{e({user:await l7()})}catch(e){console.error(`Failed to refresh user:`,e)}},setUserCredits:t=>{e(e=>e.user?{user:{...e.user,credits:t}}:{})}})),X7={system:{gradient:`linear-gradient(135deg, #6366f1, #818cf8)`,icon:(0,$.jsx)(j5,{}),label:`系统通知`},credit:{gradient:`linear-gradient(135deg, #f59e0b, #fbbf24)`,icon:(0,$.jsx)(T5,{}),label:`积分通知`},promo:{gradient:`linear-gradient(135deg, #8b5cf6, #a78bfa)`,icon:(0,$.jsx)(Y3,{}),label:`活动通知`}},Aie=()=>{let[e,t]=(0,S.useState)(!1),[n,r]=(0,S.useState)([]),[i,a]=(0,S.useState)(0),o=Y7(e=>e.refreshUser),s=Y7(e=>e.setUserCredits),c=(0,S.useCallback)(async()=>{try{let n=await v7(1,20,!1),i=n.items||[],o=n?.credits?.balance;if(typeof o==`number`){let e=Y7.getState().user;e&&e.credits!==o&&s(o)}r(i),i.length>0&&!e&&(t(!0),a(0))}catch{}},[e,s]);(0,S.useEffect)(()=>{c();let e=setInterval(c,3e4);return()=>clearInterval(e)},[]);let l=async()=>{let e=n[i];if(e)try{await b7(e.id)}catch{}if(i{let e=n[i];if(e)try{await b7(e.id)}catch{}t(!1),r([]),a(0)};if(!e||n.length===0)return null;let d=n[i],f=X7[d.type]||X7.system;return(0,$.jsxs)(`div`,{style:{position:`fixed`,top:0,left:0,right:0,bottom:0,zIndex:9999,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`rgba(15,15,35,0.6)`,backdropFilter:`blur(8px)`},onClick:u,children:[(0,$.jsxs)(`div`,{onClick:e=>e.stopPropagation(),style:{width:420,borderRadius:20,overflow:`hidden`,boxShadow:`0 32px 80px rgba(0,0,0,0.35)`,animation:`slideUp 0.35s cubic-bezier(0.16,1,0.3,1)`},children:[(0,$.jsxs)(`div`,{style:{background:f.gradient,padding:`28px 28px 24px`,position:`relative`,overflow:`hidden`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,right:-20,top:-20,width:120,height:120,borderRadius:`50%`,background:`rgba(255,255,255,0.1)`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,right:50,bottom:-30,width:80,height:80,borderRadius:`50%`,background:`rgba(255,255,255,0.06)`}}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`flex-start`,position:`relative`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:14},children:[(0,$.jsx)(`div`,{style:{width:48,height:48,borderRadius:14,background:`rgba(255,255,255,0.2)`,display:`flex`,alignItems:`center`,justifyContent:`center`,backdropFilter:`blur(4px)`,fontSize:22,color:`#fff`},children:f.icon}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{color:`rgba(255,255,255,0.7)`,fontSize:12,marginBottom:2},children:`新消息通知`}),(0,$.jsx)(`div`,{style:{color:`#fff`,fontSize:17,fontWeight:700},children:d.title})]})]}),(0,$.jsx)(`div`,{onClick:u,style:{width:28,height:28,borderRadius:8,background:`rgba(255,255,255,0.15)`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,transition:`background 0.2s`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(255,255,255,0.25)`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(255,255,255,0.15)`},children:(0,$.jsx)(ju,{style:{color:`#fff`,fontSize:12}})})]})]}),(0,$.jsxs)(`div`,{style:{background:`#fff`,padding:`24px 28px 28px`},children:[(0,$.jsx)(`div`,{style:{padding:`18px 20px`,background:`#f8fafc`,borderRadius:14,marginBottom:20,border:`1px solid #f0f0f5`},children:(0,$.jsx)(`div`,{style:{fontSize:14,color:`#334155`,lineHeight:1.8},children:d.content})}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(j$,{color:f.gradient.includes(`#6366f1`)?`#6366f1`:f.gradient.includes(`#f59e0b`)?`#f59e0b`:`#8b5cf6`,style:{borderRadius:6,border:`none`,padding:`2px 10px`,fontSize:12},children:f.label}),n.length>1&&(0,$.jsxs)(`span`,{style:{fontSize:12,color:`#94a3b8`},children:[i+1,` / `,n.length]})]}),(0,$.jsx)(X,{type:`primary`,onClick:l,style:{borderRadius:10,fontWeight:600,height:38,background:f.gradient,border:`none`,paddingLeft:28,paddingRight:28,boxShadow:`0 6px 16px ${f.gradient.includes(`#6366f1`)?`rgba(99,102,241,0.3)`:f.gradient.includes(`#f59e0b`)?`rgba(245,158,11,0.3)`:`rgba(139,92,246,0.3)`}`},children:`我已知晓`})]}),n.length>1&&(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,gap:6,marginTop:18},children:n.map((e,t)=>(0,$.jsx)(`div`,{style:{width:t===i?22:6,height:6,borderRadius:3,background:t===i?f.gradient.includes(`#6366f1`)?`#6366f1`:f.gradient.includes(`#f59e0b`)?`#f59e0b`:`#8b5cf6`:`#e2e8f0`,transition:`all 0.3s ease`}},t))})]})]}),(0,$.jsx)(`style`,{children:` + `]:{zIndex:10,width:r,margin:`0 ${Y(e.marginXXS)}`,fontSize:r,cursor:`pointer`,transition:`all ${e.motionDurationSlow}`,color:i,"&:hover":{color:i},svg:{verticalAlign:`baseline`}}},[`${s}-thumbnail, ${s}-thumbnail img`]:{position:`static`,display:`block`,width:`100%`,height:`100%`,objectFit:`contain`},[`${s}-name`]:{display:`none`,textAlign:`center`},[`${s}-file + ${s}-name`]:{position:`absolute`,bottom:e.margin,display:`block`,width:`calc(100% - ${Y(a(e.paddingXS).mul(2).equal())})`},[`${s}-uploading`]:{[`&${s}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:`none`}},[`${s}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${Y(a(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}},[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:`50%`}}}},b0=e=>{let{componentCls:t}=e;return{[`${t}-rtl`]:{direction:`rtl`}}},x0=e=>{let{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:{...Ul(e),[t]:{outline:0,"input[type='file']":{cursor:`pointer`}},[`${t}-select`]:{display:`inline-block`},[`${t}-hidden`]:{display:`none`},[`${t}-disabled`]:{color:n,cursor:`not-allowed`}}}},S0=Ql(`Upload`,e=>{let{fontSizeHeading3:t,marginXS:n,lineWidth:r,pictureCardSize:i,calc:a}=e,o=dc(e,{uploadThumbnailSize:a(t).mul(2).equal(),uploadProgressOffset:a(a(n).div(2)).add(r).equal(),uploadPicCardSize:i});return[x0(o),h0(o),v0(o),y0(o),g0(o),_0(o),b0(o),Kh(o)]},e=>({actionsColor:e.colorIcon,pictureCardSize:e.controlHeightLG*2.55})),C0=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M534 352V136H232v752h560V394H576a42 42 0 01-42-42z`,fill:t}},{tag:`path`,attrs:{d:`M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z`,fill:e}}]}},name:`file`,theme:`twotone`}}))());function w0(){return w0=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,w0({},e,{ref:t,icon:C0.default}))),E0=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z`}}]},name:`paper-clip`,theme:`outlined`}}))());function D0(){return D0=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,D0({},e,{ref:t,icon:E0.default}))),k0=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:function(e,t){return{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z`,fill:e}},{tag:`path`,attrs:{d:`M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z`,fill:t}},{tag:`path`,attrs:{d:`M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z`,fill:t}},{tag:`path`,attrs:{d:`M276 368a28 28 0 1056 0 28 28 0 10-56 0z`,fill:t}},{tag:`path`,attrs:{d:`M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z`,fill:e}}]}},name:`picture`,theme:`twotone`}}))());function A0(){return A0=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,A0({},e,{ref:t,icon:k0.default})));function M0(e){return{...e,lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e}}function N0(e,t){let n=pa(t),r=n.findIndex(({uid:t})=>t===e.uid);return r===-1?n.push(e):n[r]=e,n}function P0(e,t){let n=e.uid===void 0?`name`:`uid`;return t.filter(t=>t[n]===e[n])[0]}function F0(e,t){let n=e.uid===void 0?`name`:`uid`,r=t.filter(t=>t[n]!==e[n]);return r.length===t.length?null:r}var I0=(e=``)=>{let t=e.split(`/`),n=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[``])[0]},L0=e=>e.indexOf(`image/`)===0,R0=e=>{if(e.type&&!e.thumbUrl)return L0(e.type);let t=e.thumbUrl||e.url||``,n=I0(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n)?!0:!(/^data:/.test(t)||n)},z0=200;function B0(e){return new Promise(t=>{if(!e.type||!L0(e.type)){t(``);return}let n=document.createElement(`canvas`);n.width=z0,n.height=z0,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${z0}px; height: ${z0}px; z-index: 9999; display: none;`,document.body.appendChild(n);let r=n.getContext(`2d`),i=new Image;if(i.onload=()=>{let{width:e,height:a}=i,o=z0,s=z0,c=0,l=0;e>a?(s=z0/e*a,l=-(s-o)/2):(o=z0/a*e,c=-(o-s)/2),r.drawImage(i,c,l,o,s);let u=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(i.src),t(u)},i.crossOrigin=`anonymous`,e.type.startsWith(`image/svg+xml`)){let t=new FileReader;t.onload=()=>{t.result&&typeof t.result==`string`&&(i.src=t.result)},t.readAsDataURL(e)}else if(e.type.startsWith(`image/gif`)){let n=new FileReader;n.onload=()=>{n.result&&t(n.result)},n.readAsDataURL(e)}else i.src=window.URL.createObjectURL(e)})}var V0=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z`}}]},name:`download`,theme:`outlined`}}))());function H0(){return H0=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,H0({},e,{ref:t,icon:V0.default}))),W0=S.forwardRef(({prefixCls:e,className:t,style:n,classNames:r,styles:i,locale:a,listType:o,file:s,items:c,progress:l,iconRender:u,actionIconRender:d,itemRender:f,isImgUrl:p,showPreviewIcon:m,showRemoveIcon:h,showDownloadIcon:g,previewIcon:_,removeIcon:v,downloadIcon:y,extra:b,onPreview:x,onDownload:C,onClose:w},T)=>{let{status:E}=s,[D,O]=S.useState(E);S.useEffect(()=>{E!==`removed`&&O(E)},[E]);let[k,A]=S.useState(!1);S.useEffect(()=>{let e=setTimeout(()=>{A(!0)},300);return()=>{clearTimeout(e)}},[]);let j=u(s),M=S.createElement(`div`,{className:`${e}-icon`},j);if(o===`picture`||o===`picture-card`||o===`picture-circle`)if(D===`uploading`||!s.thumbUrl&&!s.url){let t=J(`${e}-list-item-thumbnail`,{[`${e}-list-item-file`]:D!==`uploading`});M=S.createElement(`div`,{className:t},j)}else{let t=p?.(s)?S.createElement(`img`,{src:s.thumbUrl||s.url,alt:s.name,className:`${e}-list-item-image`,crossOrigin:s.crossOrigin}):j,n=J(`${e}-list-item-thumbnail`,{[`${e}-list-item-file`]:p&&!p(s)});M=S.createElement(`a`,{className:n,onClick:e=>x(s,e),href:s.url||s.thumbUrl,target:`_blank`,rel:`noopener noreferrer`},t)}let N=J(`${e}-list-item`,`${e}-list-item-${D}`,r?.item),P=typeof s.linkProps==`string`?JSON.parse(s.linkProps):s.linkProps,F=(typeof h==`function`?h(s):h)?d((typeof v==`function`?v(s):v)||S.createElement(B$,null),()=>w(s),e,a.removeFile,!0):null,I=(typeof g==`function`?g(s):g)&&D===`done`?d((typeof y==`function`?y(s):y)||S.createElement(U0,null),()=>C(s),e,a.downloadFile):null,L=o!==`picture-card`&&o!==`picture-circle`&&S.createElement(`span`,{key:`download-delete`,className:J(`${e}-list-item-actions`,{picture:o===`picture`})},I,F),R=typeof b==`function`?b(s):b,z=R&&S.createElement(`span`,{className:`${e}-list-item-extra`},R),B=J(`${e}-list-item-name`),V=s.url?S.createElement(`a`,{key:`view`,target:`_blank`,rel:`noopener noreferrer`,className:B,title:s.name,...P,href:s.url,onClick:e=>x(s,e)},s.name,z):S.createElement(`span`,{key:`view`,className:B,onClick:e=>x(s,e),title:s.name},s.name,z),H=(typeof m==`function`?m(s):m)&&(s.url||s.thumbUrl)?S.createElement(`a`,{href:s.url||s.thumbUrl,target:`_blank`,rel:`noopener noreferrer`,onClick:e=>x(s,e),title:a.previewFile},typeof _==`function`?_(s):_||S.createElement(WW,null)):null,U=(o===`picture-card`||o===`picture-circle`)&&D!==`uploading`&&S.createElement(`span`,{className:`${e}-list-item-actions`},H,D===`done`&&I,F),{getPrefixCls:W}=S.useContext(ga),ee=W(),te=S.createElement(`div`,{className:N,style:i?.item},M,V,L,U,k&&S.createElement(Od,{motionName:`${ee}-fade`,visible:D===`uploading`,motionDeadline:2e3},({className:t})=>{let n=`percent`in s?S.createElement(Dq,{type:`line`,percent:s.percent,"aria-label":s[`aria-label`],"aria-labelledby":s[`aria-labelledby`],...l}):null;return S.createElement(`div`,{className:J(`${e}-list-item-progress`,t)},n)})),ne=s.response&&typeof s.response==`string`?s.response:s.error?.statusText||s.error?.message||a.uploadError,re=D===`error`?S.createElement(Iw,{title:ne,getPopupContainer:e=>e.parentNode},te):te;return S.createElement(`div`,{className:J(`${e}-list-item-container`,t),style:n,ref:T},f?f(re,s,c,{download:C.bind(null,s),preview:x.bind(null,s),remove:w.bind(null,s)}):re)}),G0=S.forwardRef((e,t)=>{let{listType:n=`text`,previewFile:r=B0,onPreview:i,onDownload:a,onRemove:o,locale:s,iconRender:c,isImageUrl:l=R0,prefixCls:u,items:d=[],showPreviewIcon:f=!0,showRemoveIcon:p=!0,showDownloadIcon:m=!1,removeIcon:h,previewIcon:g,downloadIcon:_,extra:v,progress:y={size:[-1,2],showInfo:!1},appendAction:b,appendActionVisible:x=!0,itemRender:C,disabled:w,classNames:T,styles:E}=e,[,D]=mf(),[O,k]=S.useState(!1),A=[`picture-card`,`picture-circle`].includes(n);S.useEffect(()=>{n.startsWith(`picture`)&&(d||[]).forEach(e=>{!(e.originFileObj instanceof File||e.originFileObj instanceof Blob)||e.thumbUrl!==void 0||(e.thumbUrl=``,r?.(e.originFileObj).then(t=>{e.thumbUrl=t||``,D()}))})},[n,d,r]),S.useEffect(()=>{k(!0)},[]);let j=(e,t)=>{if(i)return t?.preventDefault(),i(e)},M=e=>{typeof a==`function`?a(e):e.url&&window.open(e.url)},N=e=>{o?.(e)},P=e=>{if(c)return c(e,n);let t=e.status===`uploading`;if(n.startsWith(`picture`)){let r=n===`picture`?S.createElement(Xm,null):s.uploading,i=l?.(e)?S.createElement(j0,null):S.createElement(T0,null);return t?r:i}return t?S.createElement(Xm,null):S.createElement(O0,null)},F=(e,t,n,r,i)=>{let a={type:`text`,size:`small`,title:r,onClick:n=>{t(),S.isValidElement(e)&&e.props.onClick?.(n)},className:`${n}-list-item-action`,disabled:i?w:!1};return S.isValidElement(e)?S.createElement(__,{...a,icon:um(e,{...e.props,onClick:()=>{}})}):S.createElement(__,{...a},S.createElement(`span`,null,e))};S.useImperativeHandle(t,()=>({handlePreview:j,handleDownload:M}));let{getPrefixCls:I}=S.useContext(ga),L=I(`upload`,u),R=I(),z=J(`${L}-list`,`${L}-list-${n}`,T?.list),B=S.useMemo(()=>gi(_h(R),[`onAppearEnd`,`onEnterEnd`,`onLeaveEnd`]),[R]),V={...A?{}:B,motionDeadline:2e3,motionName:`${L}-${A?`animate-inline`:`animate`}`,keys:pa(d.map(e=>({key:e.uid,file:e}))),motionAppear:O};return S.createElement(`div`,{className:z,style:E?.list},S.createElement(Dd,{...V,component:!1},({key:e,file:t,className:r,style:i})=>S.createElement(W0,{key:e,locale:s,prefixCls:L,className:r,style:i,classNames:T,styles:E,file:t,items:d,progress:y,listType:n,isImgUrl:l,showPreviewIcon:f,showRemoveIcon:p,showDownloadIcon:m,removeIcon:h,previewIcon:g,downloadIcon:_,extra:v,iconRender:P,actionIconRender:F,itemRender:C,onPreview:j,onDownload:M,onClose:N})),b&&S.createElement(Od,{...V,visible:x,forceRender:!0},({className:e,style:t})=>um(b,n=>({className:J(n.className,e),style:{...t,pointerEvents:e?`none`:void 0,...n.style}}))))}),K0=`__LIST_IGNORE_${Date.now()}__`,q0=S.forwardRef((e,t)=>{let n=ya(`upload`),{fileList:r,defaultFileList:i,onRemove:a,showUploadList:o=!0,listType:s=`text`,onPreview:c,onDownload:l,onChange:u,onDrop:d,previewFile:f,disabled:p,locale:m,iconRender:h,isImageUrl:g,progress:_,prefixCls:v,className:y,type:b=`select`,children:x,style:C,itemRender:w,maxCount:T,data:E={},multiple:D=!1,hasControlInside:O=!0,action:k=``,accept:A=``,supportServerRender:j=!0,rootClassName:M,styles:N,classNames:P}=e,F=S.useContext(hm),I=p??F,L=e.customRequest||n.customRequest,[R,z]=Gn(i,r),B=R||[],[V,H]=S.useState(`drop`),U=S.useRef(null),W=S.useRef(null);S.useMemo(()=>{let e=Date.now();(r||[]).forEach((t,n)=>{!t.uid&&!Object.isFrozen(t)&&(t.uid=`__AUTO__${e}_${n}__`)})},[r]);let ee=(e,t,n)=>{let r=pa(t),i=!1;T===1?r=r.slice(-1):T&&(i=r.length>T,r=r.slice(0,T)),(0,Vi.flushSync)(()=>{z(r)});let a={file:e,fileList:r};n&&(a.event=n),(!i||e.status===`removed`||r.some(t=>t.uid===e.uid))&&(0,Vi.flushSync)(()=>{u?.(a)})},te=async(t,n)=>{let{beforeUpload:r}=e,i=t;if(r){let e=await r(t,n);if(e===!1)return!1;if(delete t[K0],e===K0)return Object.defineProperty(t,K0,{value:!0,configurable:!0}),!1;nf(e)&&(i=e)}return i},ne=e=>{let t=e.filter(e=>!e.file[K0]);if(!t.length)return;let n=t.map(e=>M0(e.file)),r=pa(B);n.forEach(e=>{r=N0(e,r)}),n.forEach((e,n)=>{let i=e;if(t[n].parsedFile)e.status=`uploading`;else{let{originFileObj:t}=e,n;try{n=new File([t],t.name,{type:t.type})}catch{n=new Blob([t],{type:t.type}),n.name=t.name,n.lastModifiedDate=new Date,n.lastModified=new Date().getTime()}n.uid=e.uid,i=n}ee(i,r)})},re=(e,t,n)=>{try{typeof e==`string`&&(e=JSON.parse(e))}catch{}if(!P0(t,B))return;let r=M0(t);r.status=`done`,r.percent=100,r.response=e,r.xhr=n,ee(r,N0(r,B))},G=(e,t)=>{if(!P0(t,B))return;let n=M0(t);n.status=`uploading`,n.percent=e.percent,ee(n,N0(n,B),e)},ie=(e,t,n)=>{if(!P0(n,B))return;let r=M0(n);r.error=e,r.response=t,r.status=`error`,ee(r,N0(r,B))},K=e=>{let t;Promise.resolve(typeof a==`function`?a(e):a).then(n=>{if(n===!1)return;let r=F0(e,B);r&&(t={...e,status:`removed`},B?.forEach(e=>{let n=t.uid===void 0?`name`:`uid`;e[n]===t[n]&&!Object.isFrozen(e)&&(e.status=`removed`)}),U.current?.abort(t),ee(t,r))})},ae=e=>{H(e.type),e.type===`drop`&&d?.(e)};S.useImperativeHandle(t,()=>({onBatchStart:ne,onSuccess:re,onProgress:G,onError:ie,fileList:B,upload:U.current,nativeElement:W.current}));let{getPrefixCls:q,direction:oe,className:se,style:ce,classNames:le,styles:ue}=ya(`upload`),de=q(`upload`,v),fe={...e,listType:s,showUploadList:o,type:b,multiple:D,hasControlInside:O,supportServerRender:j,disabled:I},[pe,me]=Cf([le,P],[ue,N],{props:fe}),he={onBatchStart:ne,onError:ie,onProgress:G,onSuccess:re,...e,customRequest:L,data:E,multiple:D,action:k,accept:A,supportServerRender:j,prefixCls:de,disabled:I,beforeUpload:te,onChange:void 0,hasControlInside:O};delete he.className,delete he.style,(!x||I)&&delete he.id;let ge=`${de}-wrapper`,[_e,ve]=S0(de,ge),[ye]=Yd(`Upload`,Hd.Upload),{showRemoveIcon:be,showPreviewIcon:xe,showDownloadIcon:Se,removeIcon:Ce,previewIcon:we,downloadIcon:Te,extra:Ee}=typeof o==`boolean`?{}:o,De=be===void 0?!I:be,Oe=(e,t)=>o?S.createElement(G0,{classNames:pe,styles:me,prefixCls:de,listType:s,items:B,previewFile:f,onPreview:c,onDownload:l,onRemove:K,showRemoveIcon:De,showPreviewIcon:xe,showDownloadIcon:Se,removeIcon:Ce,previewIcon:we,downloadIcon:Te,iconRender:h,extra:Ee,locale:{...ye,...m},isImageUrl:g,progress:_,appendAction:e,appendActionVisible:t,itemRender:w,disabled:I}):e,ke=J(ge,y,M,_e,ve,se,pe.root,{[`${de}-rtl`]:oe===`rtl`,[`${de}-picture-card-wrapper`]:s===`picture-card`,[`${de}-picture-circle-wrapper`]:s===`picture-circle`}),Ae={...me.root},je={...ce,...C};if(b===`drag`){let e=J(_e,de,`${de}-drag`,{[`${de}-drag-uploading`]:B.some(e=>e.status===`uploading`),[`${de}-drag-hover`]:V===`dragover`,[`${de}-disabled`]:I,[`${de}-rtl`]:oe===`rtl`},pe.trigger);return S.createElement(`span`,{className:ke,ref:W,style:Ae},S.createElement(`div`,{className:e,style:{...je,...me.trigger},onDrop:ae,onDragOver:ae,onDragLeave:ae},S.createElement(m0,{...he,ref:U,className:`${de}-btn`},S.createElement(`div`,{className:`${de}-drag-container`},x))),Oe())}let Me=J(de,`${de}-select`,{[`${de}-disabled`]:I,[`${de}-hidden`]:!x},pe.trigger),Ne=S.createElement(`div`,{className:Me,style:{...je,...me.trigger}},S.createElement(m0,{...he,ref:U}));return s===`picture-card`||s===`picture-circle`?S.createElement(`span`,{className:ke,ref:W,style:Ae},Oe(Ne,!!x)):S.createElement(`span`,{className:ke,ref:W,style:Ae},Ne,Oe())}),J0=S.forwardRef((e,t)=>{let{style:n,height:r,hasControlInside:i=!1,children:a,...o}=e,s={...n,height:r};return S.createElement(q0,{ref:t,hasControlInside:i,...o,style:s,type:`drag`},a)}),Y0=q0;Y0.Dragger=J0,Y0.LIST_IGNORE=K0;var X0=o(((e,t)=>{function n(e){return e&&e.__esModule?e:{default:e}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),Z0=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={items_per_page:`条/页`,jump_to:`跳至`,jump_to_confirm:`确定`,page:`页`,prev_page:`上一页`,next_page:`下一页`,prev_5:`向前 5 页`,next_5:`向后 5 页`,prev_3:`向前 3 页`,next_3:`向后 3 页`,page_size:`页码`}})),Q0=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.commonLocale=void 0,e.commonLocale={yearFormat:`YYYY`,dayFormat:`D`,cellMeridiemFormat:`A`,monthBeforeYear:!0}})),$0=o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var t=Q0();function n(e){"@babel/helpers - typeof";return n=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},n(e)}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default={placeholder:`请选择时间`,rangePlaceholder:[`开始时间`,`结束时间`]}})),t2=o((e=>{var t=X0().default;Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var n=t($0()),r=t(e2()),i={lang:{placeholder:`请选择日期`,yearPlaceholder:`请选择年份`,quarterPlaceholder:`请选择季度`,monthPlaceholder:`请选择月份`,weekPlaceholder:`请选择周`,rangePlaceholder:[`开始日期`,`结束日期`],rangeYearPlaceholder:[`开始年份`,`结束年份`],rangeMonthPlaceholder:[`开始月份`,`结束月份`],rangeQuarterPlaceholder:[`开始季度`,`结束季度`],rangeWeekPlaceholder:[`开始周`,`结束周`],...n.default},timePickerLocale:{...r.default}};i.lang.ok=`确定`,e.default=i})),n2=o((e=>{var t=X0().default;Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0,e.default=t(t2()).default})),r2=o((e=>{var t=X0().default;Object.defineProperty(e,`__esModule`,{value:!0}),e.default=void 0;var n=t(Z0()),r=t(n2()),i=t(t2()),a=t(e2()),o="${label}不是一个有效的${type}";e.default={locale:`zh-cn`,Pagination:n.default,DatePicker:i.default,TimePicker:a.default,Calendar:r.default,global:{placeholder:`请选择`,close:`关闭`,sortable:`可排序`},Table:{filterTitle:`筛选`,filterConfirm:`确定`,filterReset:`重置`,filterEmptyText:`无筛选项`,filterCheckAll:`全选`,filterSearchPlaceholder:`在筛选项中搜索`,emptyText:`暂无数据`,selectAll:`全选当页`,selectInvert:`反选当页`,selectNone:`清空所有`,selectionAll:`全选所有`,sortTitle:`排序`,expand:`展开行`,collapse:`关闭行`,triggerDesc:`点击降序`,triggerAsc:`点击升序`,cancelSort:`取消排序`},Modal:{okText:`确定`,cancelText:`取消`,justOkText:`知道了`},Tour:{Next:`下一步`,Previous:`上一步`,Finish:`结束导览`},Popconfirm:{cancelText:`取消`,okText:`确定`},Transfer:{titles:[``,``],searchPlaceholder:`请输入搜索内容`,itemUnit:`项`,itemsUnit:`项`,remove:`删除`,selectCurrent:`全选当页`,removeCurrent:`删除当页`,selectAll:`全选所有`,deselectAll:`取消全选`,removeAll:`删除全部`,selectInvert:`反选当页`},Upload:{uploading:`文件上传中`,removeFile:`删除文件`,uploadError:`上传错误`,previewFile:`预览文件`,downloadFile:`下载文件`},Empty:{description:`暂无数据`},Icon:{icon:`图标`},Text:{edit:`编辑`,copy:`复制`,copied:`复制成功`,expand:`展开`,collapse:`收起`},Form:{optional:`(可选)`,defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:o,method:o,array:o,object:o,number:o,date:o,boolean:o,integer:o,float:o,regexp:o,email:o,url:o,hex:o},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},QRCode:{expired:`二维码过期`,refresh:`点击刷新`,scanned:`已扫描`},ColorPicker:{presetEmpty:`暂无`,transparent:`无色`,singleColor:`单色`,gradientColor:`渐变色`}}})),i2=o(((e,t)=>{t.exports=r2()})),a2=o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(UE()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_zh_cn=r(n.dayjs)})(e,(function(e){function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`zh-cn`,weekdays:`星期日_星期一_星期二_星期三_星期四_星期五_星期六`.split(`_`),weekdaysShort:`周日_周一_周二_周三_周四_周五_周六`.split(`_`),weekdaysMin:`日_一_二_三_四_五_六`.split(`_`),months:`一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月`.split(`_`),monthsShort:`1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月`.split(`_`),ordinal:function(e,t){return t===`W`?e+`周`:e+`日`},weekStart:1,yearStart:4,formats:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`YYYY/MM/DD`,LL:`YYYY年M月D日`,LLL:`YYYY年M月D日Ah点mm分`,LLLL:`YYYY年M月D日ddddAh点mm分`,l:`YYYY/M/D`,ll:`YYYY年M月D日`,lll:`YYYY年M月D日 HH:mm`,llll:`YYYY年M月D日dddd HH:mm`},relativeTime:{future:`%s内`,past:`%s前`,s:`几秒`,m:`1 分钟`,mm:`%d 分钟`,h:`1 小时`,hh:`%d 小时`,d:`1 天`,dd:`%d 天`,M:`1 个月`,MM:`%d 个月`,y:`1 年`,yy:`%d 年`},meridiem:function(e,t){var n=100*e+t;return n<600?`凌晨`:n<900?`早上`:n<1100?`上午`:n<1300?`中午`:n<1800?`下午`:`晚上`}};return n.default.locale(r,null,!0),r}))})),o2=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),s2=o(((e,t)=>{t.exports=o2()})),c2=c(i2(),1);a2();var $=s2(),l2=Object.defineProperty,u2=Object.getOwnPropertySymbols,d2=Object.prototype.hasOwnProperty,f2=Object.prototype.propertyIsEnumerable,p2=(e,t,n)=>t in e?l2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m2=(e,t)=>{for(var n in t||={})d2.call(t,n)&&p2(e,n,t[n]);if(u2)for(var n of u2(t))f2.call(t,n)&&p2(e,n,t[n]);return e},h2=(e,t)=>{var n={};for(var r in e)d2.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&u2)for(var r of u2(e))t.indexOf(r)<0&&f2.call(e,r)&&(n[r]=e[r]);return n},g2;(e=>{let t=class t{constructor(e,n,r,a){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],et.MAX_VERSION)throw RangeError(`Version value out of range`);if(a<-1||a>7)throw RangeError(`Mask value out of range`);this.size=e*4+17;let o=[];for(let e=0;e7)throw RangeError(`Invalid value`);let u,d;for(u=a;;u++){let n=t.getNumDataCodewords(u,r)*8,i=o.getTotalBits(e,u);if(i<=n){d=i;break}if(u>=s)throw RangeError(`Data too long`)}for(let e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])l&&d<=t.getNumDataCodewords(u,e)*8&&(r=e);let f=[];for(let t of e){n(t.mode.modeBits,4,f),n(t.numChars,t.mode.numCharCountBits(u),f);for(let e of t.getData())f.push(e)}i(f.length==d);let p=t.getNumDataCodewords(u,r)*8;i(f.length<=p),n(0,Math.min(4,p-f.length),f),n(0,(8-f.length%8)%8,f),i(f.length%8==0);for(let e=236;f.lengthm[t>>>3]|=e<<7-(t&7)),new t(u,r,m,c)}getModule(e,t){return 0<=e&&e>>9)*1335;let a=(t<<10|n)^21522;i(a>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,r(a,e));this.setFunctionModule(8,7,r(a,6)),this.setFunctionModule(8,8,r(a,7)),this.setFunctionModule(7,8,r(a,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,r(a,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,r(a,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,r(a,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^(e>>>11)*7973;let t=this.version<<12|e;i(t>>>18==0);for(let e=0;e<18;e++){let n=r(t,e),i=this.size-11+e%3,a=Math.floor(e/3);this.setFunctionModule(i,a,n),this.setFunctionModule(a,i,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){let i=Math.max(Math.abs(r),Math.abs(n)),a=e+r,o=t+n;0<=a&&a{(e!=l-o||n>=c)&&f.push(t[e])});return i(f.length==s),f}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw RangeError(`Invalid argument`);let n=0;for(let t=this.size-1;t>=1;t-=2){t==6&&(t=5);for(let i=0;i>>3],7-(n&7)),n++)}}i(n==e.length*8)}applyMask(e){if(e<0||e>7)throw RangeError(`Mask value out of range`);for(let t=0;t5&&e++):(this.finderPenaltyAddHistory(i,a),r||(e+=this.finderPenaltyCountPatterns(a)*t.PENALTY_N3),r=this.modules[n][o],i=1);e+=this.finderPenaltyTerminateAndCount(r,i,a)*t.PENALTY_N3}for(let n=0;n5&&e++):(this.finderPenaltyAddHistory(i,a),r||(e+=this.finderPenaltyCountPatterns(a)*t.PENALTY_N3),r=this.modules[o][n],i=1);e+=this.finderPenaltyTerminateAndCount(r,i,a)*t.PENALTY_N3}for(let n=0;ne+ +!!t,n);let r=this.size*this.size,a=Math.ceil(Math.abs(n*20-r*10)/r)-1;return i(0<=a&&a<=9),e+=a*t.PENALTY_N4,i(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(this.version==1)return[];{let e=Math.floor(this.version/7)+2,t=this.version==32?26:Math.ceil((this.version*4+4)/(e*2-2))*2,n=[6];for(let r=this.size-7;n.lengtht.MAX_VERSION)throw RangeError(`Version number out of range`);let n=(16*e+128)*e+64;if(e>=2){let t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return i(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw RangeError(`Degree out of range`);let n=[];for(let t=0;t0);for(let i of e){let e=i^r.shift();r.push(0),n.forEach((n,i)=>r[i]^=t.reedSolomonMultiply(n,e))}return r}static reedSolomonMultiply(e,t){if(e>>>8||t>>>8)throw RangeError(`Byte out of range`);let n=0;for(let r=7;r>=0;r--)n=n<<1^(n>>>7)*285,n^=(t>>>r&1)*e;return i(n>>>8==0),n}finderPenaltyCountPatterns(e){let t=e[1];i(t<=this.size*3);let n=t>0&&e[2]==t&&e[3]==t*3&&e[4]==t&&e[5]==t;return(n&&e[0]>=t*4&&e[6]>=t?1:0)+(n&&e[6]>=t*4&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){t[0]==0&&(e+=this.size),t.pop(),t.unshift(e)}};t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(e,t,n){if(t<0||t>31||e>>>t)throw RangeError(`Value out of range`);for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function r(e,t){return(e>>>t&1)!=0}function i(e){if(!e)throw Error(`Assertion error`)}let a=class e{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw RangeError(`Invalid argument`);this.bitData=n.slice()}static makeBytes(t){let r=[];for(let e of t)n(e,8,r);return new e(e.Mode.BYTE,t.length,r)}static makeNumeric(t){if(!e.isNumeric(t))throw RangeError(`String contains non-numeric characters`);let r=[];for(let e=0;e=1<{(e=>{let t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};t.LOW=new t(0,1),t.MEDIUM=new t(1,0),t.QUARTILE=new t(2,3),t.HIGH=new t(3,2),e.Ecc=t})(e.QrCode||={})})(g2||={}),(e=>{(e=>{let t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};t.NUMERIC=new t(1,[10,12,14]),t.ALPHANUMERIC=new t(2,[9,11,13]),t.BYTE=new t(4,[8,16,16]),t.KANJI=new t(8,[8,10,12]),t.ECI=new t(7,[0,0,0]),e.Mode=t})(e.QrSegment||={})})(g2||={});var _2=g2,v2={L:_2.QrCode.Ecc.LOW,M:_2.QrCode.Ecc.MEDIUM,Q:_2.QrCode.Ecc.QUARTILE,H:_2.QrCode.Ecc.HIGH},y2=128,b2=`L`,x2=`#FFFFFF`,S2=`#000000`,C2=!1,w2=1,T2=4,E2=0,D2=.1;function O2(e,t=0){let n=[];return e.forEach(function(e,r){let i=null;e.forEach(function(a,o){if(!a&&i!==null){n.push(`M${i+t} ${r+t}h${o-i}v1H${i+t}z`),i=null;return}if(o===e.length-1){if(!a)return;i===null?n.push(`M${o+t},${r+t} h1v1H${o+t}z`):n.push(`M${i+t},${r+t} h${o+1-i}v1H${i+t}z`);return}a&&i===null&&(i=o)})}),n.join(``)}function k2(e,t){return e.slice().map((e,n)=>n=t.y+t.h?e:e.map((e,n)=>n=t.x+t.w?e:!1))}function A2(e,t,n,r){if(r==null)return null;let i=e.length+n*2,a=Math.floor(t*D2),o=i/t,s=(r.width||a)*o,c=(r.height||a)*o,l=r.x==null?e.length/2-s/2:r.x*o,u=r.y==null?e.length/2-c/2:r.y*o,d=r.opacity==null?1:r.opacity,f=null;if(r.excavate){let e=Math.floor(l),t=Math.floor(u);f={x:e,y:t,w:Math.ceil(s+l-e),h:Math.ceil(c+u-t)}}let p=r.crossOrigin;return{x:l,y:u,h:c,w:s,excavation:f,opacity:d,crossOrigin:p}}function j2(e,t){return t==null?e?T2:E2:Math.max(Math.floor(t),0)}function M2({value:e,level:t,minVersion:n,includeMargin:r,marginSize:i,imageSettings:a,size:o,boostLevel:s}){let c=S.useMemo(()=>{let r=(Array.isArray(e)?e:[e]).reduce((e,t)=>(e.push(..._2.QrSegment.makeSegments(t)),e),[]);return _2.QrCode.encodeSegments(r,v2[t],n,void 0,void 0,s)},[e,t,n,s]),{cells:l,margin:u,numCells:d,calculatedImageSettings:f}=S.useMemo(()=>{let e=c.getModules(),t=j2(r,i);return{cells:e,margin:t,numCells:e.length+t*2,calculatedImageSettings:A2(e,o,t,a)}},[c,o,a,r,i]);return{qrcode:c,margin:u,cells:l,numCells:d,calculatedImageSettings:f}}var N2=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}(),P2=S.forwardRef(function(e,t){let n=e,{value:r,size:i=y2,level:a=b2,bgColor:o=x2,fgColor:s=S2,includeMargin:c=C2,minVersion:l=w2,boostLevel:u,marginSize:d,imageSettings:f}=n,p=h2(n,[`value`,`size`,`level`,`bgColor`,`fgColor`,`includeMargin`,`minVersion`,`boostLevel`,`marginSize`,`imageSettings`]),{style:m}=p,h=h2(p,[`style`]),g=f?.src,_=S.useRef(null),v=S.useRef(null),y=S.useCallback(e=>{_.current=e,typeof t==`function`?t(e):t&&(t.current=e)},[t]),[b,x]=S.useState(!1),{margin:C,cells:w,numCells:T,calculatedImageSettings:E}=M2({value:r,level:a,minVersion:l,boostLevel:u,includeMargin:c,marginSize:d,imageSettings:f,size:i});S.useEffect(()=>{if(_.current!=null){let e=_.current,t=e.getContext(`2d`);if(!t)return;let n=w,r=v.current,a=E!=null&&r!==null&&r.complete&&r.naturalHeight!==0&&r.naturalWidth!==0;a&&E.excavation!=null&&(n=k2(w,E.excavation));let c=window.devicePixelRatio||1;e.height=e.width=i*c;let l=i/T*c;t.scale(l,l),t.fillStyle=o,t.fillRect(0,0,T,T),t.fillStyle=s,N2?t.fill(new Path2D(O2(n,C))):w.forEach(function(e,n){e.forEach(function(e,r){e&&t.fillRect(r+C,n+C,1,1)})}),E&&(t.globalAlpha=E.opacity),a&&t.drawImage(r,E.x+C,E.y+C,E.w,E.h)}}),S.useEffect(()=>{x(!1)},[g]);let D=m2({height:i,width:i},m),O=null;return g!=null&&(O=S.createElement(`img`,{src:g,key:g,style:{display:`none`},onLoad:()=>{x(!0)},ref:v,crossOrigin:E?.crossOrigin})),S.createElement(S.Fragment,null,S.createElement(`canvas`,m2({style:D,height:i,width:i,ref:y,role:`img`},h)),O)});P2.displayName=`QRCodeCanvas`;var F2=S.forwardRef(function(e,t){let n=e,{value:r,size:i=y2,level:a=b2,bgColor:o=x2,fgColor:s=S2,includeMargin:c=C2,minVersion:l=w2,boostLevel:u,title:d,marginSize:f,imageSettings:p}=n,m=h2(n,[`value`,`size`,`level`,`bgColor`,`fgColor`,`includeMargin`,`minVersion`,`boostLevel`,`title`,`marginSize`,`imageSettings`]),{margin:h,cells:g,numCells:_,calculatedImageSettings:v}=M2({value:r,level:a,minVersion:l,boostLevel:u,includeMargin:c,marginSize:f,imageSettings:p,size:i}),y=g,b=null;p!=null&&v!=null&&(v.excavation!=null&&(y=k2(g,v.excavation)),b=S.createElement(`image`,{href:p.src,height:v.h,width:v.w,x:v.x+h,y:v.y+h,preserveAspectRatio:`none`,opacity:v.opacity,crossOrigin:v.crossOrigin}));let x=O2(y,h);return S.createElement(`svg`,m2({height:i,width:i,viewBox:`0 0 ${_} ${_}`,ref:t,role:`img`},m),!!d&&S.createElement(`title`,null,d),S.createElement(`path`,{fill:o,d:`M0,0 h${_}v${_}H0z`,shapeRendering:`crispEdges`}),S.createElement(`path`,{fill:s,d:x,shapeRendering:`crispEdges`}),b)});F2.displayName=`QRCodeSVG`;var I2=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64c247.42 0 448 200.58 448 448S759.42 960 512 960 64 759.42 64 512 264.58 64 512 64m32.5 168c-69.67 0-86.06 16.84-86.72 39.08l-.02 1.43v46.62H291.45c-9.92 0-14.28 23.05-14.27 39.3 0 2.7 2.08 4.93 4.77 4.93h175.81v58.3h-116.5c-9.96 0-14.3 23.76-14.27 39.47a4.77 4.77 0 004.77 4.76h233.45c-4.53 41.06-15.43 77.59-30.72 109.32l-1.22 2.5-.32-.28c-60.24-28.47-120.43-52.57-194.4-52.57l-2.62.01c-84.98 1.11-144.71 56.5-145.91 127.04l-.02 1.22.02 2.13c1.24 70.4 63.56 126.45 148.52 126.45 61.25 0 116.38-16.85 163.46-45.02a138.58 138.58 0 0014.07-7.96 345.6 345.6 0 0050.3-41.16l9.45 6.35 12.46 8.32c57.53 38.26 113.76 72.62 169.86 79.27a142.62 142.62 0 0018.31 1.16c43.02 0 55-52.68 57.39-95.51l.14-2.84c.4-8.46-6.2-15.6-14.65-15.86-75.46-2.37-136.45-22.05-192-46.11l-6.27-2.75c35.15-56.8 56.66-121.81 57.15-186.66l.09-1.08c.4-5.51-4-10.2-9.52-10.2H549.33v-58.3h165.73c9.92 0 14.28-22.12 14.27-39.31a4.85 4.85 0 00-4.78-4.92H549.32v-82.35a4.8 4.8 0 00-4.83-4.78M328 583.85c54.63 0 107.08 22.41 158.1 52.19l5.76 3.4c-103.57 119.84-247.17 95.9-261.72 26.37a66.89 66.89 0 01-1.14-9.83l-.06-2.34.02-.9c.97-40.12 45.33-68.9 99.04-68.9`}}]},name:`alipay-circle`,theme:`outlined`}}))());function L2(){return L2=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,L2({},e,{ref:t,icon:I2.default}))),z2=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z`}}]},name:`api`,theme:`outlined`}}))());function B2(){return B2=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,B2({},e,{ref:t,icon:z2.default}))),H2=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z`}}]},name:`appstore`,theme:`outlined`}}))());function U2(){return U2=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,U2({},e,{ref:t,icon:H2.default}))),G2=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z`}}]},name:`arrow-down`,theme:`outlined`}}))());function K2(){return K2=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,K2({},e,{ref:t,icon:G2.default}))),J2=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`arrow-left`,theme:`outlined`}}))());function Y2(){return Y2=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Y2({},e,{ref:t,icon:J2.default}))),Z2=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z`}}]},name:`arrow-right`,theme:`outlined`}}))());function Q2(){return Q2=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Q2({},e,{ref:t,icon:Z2.default}))),e4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z`}}]},name:`arrow-up`,theme:`outlined`}}))());function t4(){return t4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,t4({},e,{ref:t,icon:e4.default}))),r4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z`}}]},name:`audio`,theme:`outlined`}}))());function i4(){return i4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,i4({},e,{ref:t,icon:r4.default}))),o4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM381 836H264V462h117v374zm189 0H453V462h117v374zm190 0H642V462h118v374z`}}]},name:`bank`,theme:`filled`}}))());function s4(){return s4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,s4({},e,{ref:t,icon:o4.default}))),l4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M894 462c30.9 0 43.8-39.7 18.7-58L530.8 126.2a31.81 31.81 0 00-37.6 0L111.3 404c-25.1 18.2-12.2 58 18.8 58H192v374h-72c-4.4 0-8 3.6-8 8v52c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-52c0-4.4-3.6-8-8-8h-72V462h62zM512 196.7l271.1 197.2H240.9L512 196.7zM264 462h117v374H264V462zm189 0h117v374H453V462zm307 374H642V462h118v374z`}}]},name:`bank`,theme:`outlined`}}))());function u4(){return u4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,u4({},e,{ref:t,icon:l4.default}))),f4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-600-80h56c4.4 0 8-3.6 8-8V560c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V384c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v320c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V462c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v242c0 4.4 3.6 8 8 8zm152 0h56c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v400c0 4.4 3.6 8 8 8z`}}]},name:`bar-chart`,theme:`outlined`}}))());function p4(){return p4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,p4({},e,{ref:t,icon:f4.default}))),h4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z`}}]},name:`bell`,theme:`outlined`}}))());function g4(){return g4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,g4({},e,{ref:t,icon:h4.default}))),v4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z`}}]},name:`book`,theme:`outlined`}}))());function y4(){return y4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,y4({},e,{ref:t,icon:v4.default}))),x4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zm-504 68h200v200H412V278zm-68 468H144V546h200v200zm268 0H412V546h200v200zm268-268H680V278h200v200z`}}]},name:`build`,theme:`outlined`}}))());function S4(){return S4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,S4({},e,{ref:t,icon:x4.default}))),w4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z`}}]},name:`bulb`,theme:`outlined`}}))());function T4(){return T4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,T4({},e,{ref:t,icon:w4.default}))),D4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M251.2 387H320v68.8c0 1.8 1.8 3.2 4 3.2h48c2.2 0 4-1.4 4-3.3V387h68.8c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H376v-68.8c0-1.8-1.8-3.2-4-3.2h-48c-2.2 0-4 1.4-4 3.2V331h-68.8c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm328 0h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 265h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm0 104h193.6c1.8 0 3.2-1.8 3.2-4v-48c0-2.2-1.4-4-3.3-4H579.2c-1.8 0-3.2 1.8-3.2 4v48c0 2.2 1.4 4 3.2 4zm-195.7-81l61.2-74.9c4.3-5.2.7-13.1-5.9-13.1H388c-2.3 0-4.5 1-5.9 2.9l-34 41.6-34-41.6a7.85 7.85 0 00-5.9-2.9h-50.9c-6.6 0-10.2 7.9-5.9 13.1l61.2 74.9-62.7 76.8c-4.4 5.2-.8 13.1 5.8 13.1h50.8c2.3 0 4.5-1 5.9-2.9l35.5-43.5 35.5 43.5c1.5 1.8 3.7 2.9 5.9 2.9h50.8c6.6 0 10.2-7.9 5.9-13.1L383.5 675zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-36 732H180V180h664v664z`}}]},name:`calculator`,theme:`outlined`}}))());function O4(){return O4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,O4({},e,{ref:t,icon:D4.default}))),A4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456zM512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z`}}]},name:`camera`,theme:`outlined`}}))());function j4(){return j4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,j4({},e,{ref:t,icon:A4.default}))),N4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M380 704h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8zm340-123a40 40 0 1080 0 40 40 0 10-80 0zm239-167.6L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM840 517v237H184V517l15.6-43h624.8l15.6 43zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM224 581a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`car`,theme:`outlined`}}))());function P4(){return P4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,P4({},e,{ref:t,icon:N4.default}))),I4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z`}}]},name:`caret-right`,theme:`outlined`}}))());function L4(){return L4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,L4({},e,{ref:t,icon:I4.default}))),z4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`check-circle`,theme:`outlined`}}))());function B4(){return B4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,B4({},e,{ref:t,icon:z4.default}))),H4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z`}}]},name:`close-circle`,theme:`outlined`}}))());function U4(){return U4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,U4({},e,{ref:t,icon:H4.default}))),G4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M811.4 418.7C765.6 297.9 648.9 212 512.2 212S258.8 297.8 213 418.6C127.3 441.1 64 519.1 64 612c0 110.5 89.5 200 199.9 200h496.2C870.5 812 960 722.5 960 612c0-92.7-63.1-170.7-148.6-193.3zm36.3 281a123.07 123.07 0 01-87.6 36.3H263.9c-33.1 0-64.2-12.9-87.6-36.3A123.3 123.3 0 01140 612c0-28 9.1-54.3 26.2-76.3a125.7 125.7 0 0166.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10c54.3 14.5 92.1 63.8 92.1 120 0 33.1-12.9 64.3-36.3 87.7z`}}]},name:`cloud`,theme:`outlined`}}))());function K4(){return K4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,K4({},e,{ref:t,icon:G4.default}))),J4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z`}},{tag:`path`,attrs:{d:`M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z`}},{tag:`path`,attrs:{d:`M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z`}}]},name:`cloud-server`,theme:`outlined`}}))());function Y4(){return Y4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Y4({},e,{ref:t,icon:J4.default}))),Z4=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z`}},{tag:`path`,attrs:{d:`M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 003 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 00-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z`}}]},name:`cloud-sync`,theme:`outlined`}}))());function Q4(){return Q4=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Q4({},e,{ref:t,icon:Z4.default}))),e3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z`}},{tag:`path`,attrs:{d:`M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z`}}]},name:`cloud-upload`,theme:`outlined`}}))());function t3(){return t3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,t3({},e,{ref:t,icon:e3.default}))),r3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`code`,theme:`outlined`}}))());function i3(){return i3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,i3({},e,{ref:t,icon:r3.default}))),o3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M275 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm613 144H768c0-39.8-32.2-72-72-72H200c-39.8 0-72 32.2-72 72v248c0 3.4.2 6.7.7 9.9-.5 7-.7 14-.7 21.1 0 176.7 143.3 320 320 320 160.1 0 292.7-117.5 316.3-271H888c39.8 0 72-32.2 72-72V497c0-39.8-32.2-72-72-72zM696 681h-1.1c.7 7.6 1.1 15.2 1.1 23 0 137-111 248-248 248S200 841 200 704c0-7.8.4-15.4 1.1-23H200V425h496v256zm192-8H776V497h112v176zM613 281c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36zm-170 0c19.9 0 36-16.1 36-36V36c0-19.9-16.1-36-36-36s-36 16.1-36 36v209c0 19.9 16.1 36 36 36z`}}]},name:`coffee`,theme:`outlined`}}))());function s3(){return s3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,s3({},e,{ref:t,icon:o3.default}))),l3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z`}},{tag:`path`,attrs:{d:`M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z`}},{tag:`path`,attrs:{d:`M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z`}}]},name:`comment`,theme:`outlined`}}))());function u3(){return u3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,u3({},e,{ref:t,icon:l3.default}))),f3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm198.4-588.1a32 32 0 00-24.5.5L414.9 415 296.4 686c-3.6 8.2-3.6 17.5 0 25.7 3.4 7.8 9.7 13.9 17.7 17 3.8 1.5 7.7 2.2 11.7 2.2 4.4 0 8.7-.9 12.8-2.7l271-118.6 118.5-271a32.06 32.06 0 00-17.7-42.7zM576.8 534.4l26.2 26.2-42.4 42.4-26.2-26.2L380 644.4 447.5 490 422 464.4l42.4-42.4 25.5 25.5L644.4 380l-67.6 154.4zM464.4 422L422 464.4l25.5 25.6 86.9 86.8 26.2 26.2 42.4-42.4-26.2-26.2-86.8-86.9z`}}]},name:`compass`,theme:`outlined`}}))());function p3(){return p3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,p3({},e,{ref:t,icon:f3.default}))),h3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zM512 734.2c-62.1 0-112.6-50.5-112.6-112.6S449.9 509 512 509s112.6 50.5 112.6 112.6S574.1 734.2 512 734.2zm0-160.9c-26.6 0-48.2 21.6-48.2 48.3 0 26.6 21.6 48.3 48.2 48.3s48.2-21.6 48.2-48.3c0-26.6-21.6-48.3-48.2-48.3z`}}]},name:`crown`,theme:`filled`}}))());function g3(){return g3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,g3({},e,{ref:t,icon:h3.default}))),v3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zm-126 534.1H250.3l-53.8-409.4 139.8 86.1L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4zM512 509c-62.1 0-112.6 50.5-112.6 112.6S449.9 734.2 512 734.2s112.6-50.5 112.6-112.6S574.1 509 512 509zm0 160.9c-26.6 0-48.2-21.6-48.2-48.3 0-26.6 21.6-48.3 48.2-48.3s48.2 21.6 48.2 48.3c0 26.6-21.6 48.3-48.2 48.3z`}}]},name:`crown`,theme:`outlined`}}))());function y3(){return y3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,y3({},e,{ref:t,icon:v3.default}))),x3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276zM623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z`}}]},name:`dashboard`,theme:`outlined`}}))());function S3(){return S3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,S3({},e,{ref:t,icon:x3.default}))),w3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`database`,theme:`outlined`}}))());function T3(){return T3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,T3({},e,{ref:t,icon:w3.default}))),D3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm47.7-395.2l-25.4-5.9V348.6c38 5.2 61.5 29 65.5 58.2.5 4 3.9 6.9 7.9 6.9h44.9c4.7 0 8.4-4.1 8-8.8-6.1-62.3-57.4-102.3-125.9-109.2V263c0-4.4-3.6-8-8-8h-28.1c-4.4 0-8 3.6-8 8v33c-70.8 6.9-126.2 46-126.2 119 0 67.6 49.8 100.2 102.1 112.7l24.7 6.3v142.7c-44.2-5.9-69-29.5-74.1-61.3-.6-3.8-4-6.6-7.9-6.6H363c-4.7 0-8.4 4-8 8.7 4.5 55 46.2 105.6 135.2 112.1V761c0 4.4 3.6 8 8 8h28.4c4.4 0 8-3.6 8-8.1l-.2-31.7c78.3-6.9 134.3-48.8 134.3-124-.1-69.4-44.2-100.4-109-116.4zm-68.6-16.2c-5.6-1.6-10.3-3.1-15-5-33.8-12.2-49.5-31.9-49.5-57.3 0-36.3 27.5-57 64.5-61.7v124zM534.3 677V543.3c3.1.9 5.9 1.6 8.8 2.2 47.3 14.4 63.2 34.4 63.2 65.1 0 39.1-29.4 62.6-72 66.4z`}}]},name:`dollar`,theme:`outlined`}}))());function O3(){return O3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,O3({},e,{ref:t,icon:D3.default}))),A3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 472a40 40 0 1080 0 40 40 0 10-80 0zm367 352.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.7-107.8c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1L813.5 844h-603z`}}]},name:`experiment`,theme:`outlined`}}))());function j3(){return j3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,j3({},e,{ref:t,icon:A3.default}))),N3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z`}}]},name:`filter`,theme:`outlined`}}))());function P3(){return P3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,P3({},e,{ref:t,icon:N3.default}))),I3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9z`}}]},name:`fire`,theme:`filled`}}))());function L3(){return L3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,L3({},e,{ref:t,icon:I3.default}))),z3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z`}}]},name:`fire`,theme:`outlined`}}))());function B3(){return B3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,B3({},e,{ref:t,icon:z3.default}))),H3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 305H624V192c0-17.7-14.3-32-32-32H184v-40c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v784c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V640h248v113c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V337c0-17.7-14.3-32-32-32zM184 568V232h368v336H184zm656 145H504v-73h112c4.4 0 8-3.6 8-8V377h216v336z`}}]},name:`flag`,theme:`outlined`}}))());function U3(){return U3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,U3({},e,{ref:t,icon:H3.default}))),G3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 310H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v200c0 4.4 3.6 8 8 8h40v344c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V550h40c4.4 0 8-3.6 8-8V342c0-17.7-14.3-32-32-32zm-334-74c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70h-70v-70zm-138-70c38.6 0 70 31.4 70 70v70h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70zM180 482V378h298v104H180zm48 68h250v308H228V550zm568 308H546V550h250v308zm48-376H546V378h298v104z`}}]},name:`gift`,theme:`outlined`}}))());function K3(){return K3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,K3({},e,{ref:t,icon:G3.default}))),J3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z`}}]},name:`global`,theme:`outlined`}}))());function Y3(){return Y3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Y3({},e,{ref:t,icon:J3.default}))),Z3=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z`}}]},name:`heart`,theme:`outlined`}}))());function Q3(){return Q3=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Q3({},e,{ref:t,icon:Z3.default}))),e6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M957.6 507.4L603.2 158.2a7.9 7.9 0 00-11.2 0L353.3 393.4a8.03 8.03 0 00-.1 11.3l.1.1 40 39.4-117.2 115.3a8.03 8.03 0 00-.1 11.3l.1.1 39.5 38.9-189.1 187H72.1c-4.4 0-8.1 3.6-8.1 8V860c0 4.4 3.6 8 8 8h344.9c2.1 0 4.1-.8 5.6-2.3l76.1-75.6 40.4 39.8a7.9 7.9 0 0011.2 0l117.1-115.6 40.1 39.5a7.9 7.9 0 0011.2 0l238.7-235.2c3.4-3 3.4-8 .3-11.2zM389.8 796.2H229.6l134.4-133 80.1 78.9-54.3 54.1zm154.8-62.1L373.2 565.2l68.6-67.6 171.4 168.9-68.6 67.6zM713.1 658L450.3 399.1 597.6 254l262.8 259-147.3 145z`}}]},name:`highlight`,theme:`outlined`}}))());function t6(){return t6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,t6({},e,{ref:t,icon:e6.default}))),r6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z`}}]},name:`history`,theme:`outlined`}}))());function i6(){return i6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,i6({},e,{ref:t,icon:r6.default}))),o6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z`}}]},name:`home`,theme:`outlined`}}))());function s6(){return s6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,s6({},e,{ref:t,icon:o6.default}))),l6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560zM610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 008-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0029.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 00-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z`}}]},name:`idcard`,theme:`outlined`}}))());function u6(){return u6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,u6({},e,{ref:t,icon:l6.default}))),f6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M448 224a64 64 0 10128 0 64 64 0 10-128 0zm96 168h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V400c0-4.4-3.6-8-8-8z`}}]},name:`info`,theme:`outlined`}}))());function p6(){return p6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,p6({},e,{ref:t,icon:f6.default}))),h6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z`}}]},name:`laptop`,theme:`outlined`}}))());function g6(){return g6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,g6({},e,{ref:t,icon:h6.default}))),v6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-696 72h136v656H184V184zm656 656H384V384h456v456zM384 320V184h456v136H384z`}}]},name:`layout`,theme:`outlined`}}))());function y6(){return y6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,y6({},e,{ref:t,icon:v6.default}))),x6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z`}}]},name:`like`,theme:`outlined`}}))());function S6(){return S6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,S6({},e,{ref:t,icon:x6.default}))),w6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM305.8 637.7c3.1 3.1 8.1 3.1 11.3 0l138.3-137.6L583 628.5c3.1 3.1 8.2 3.1 11.3 0l275.4-275.3c3.1-3.1 3.1-8.2 0-11.3l-39.6-39.6a8.03 8.03 0 00-11.3 0l-230 229.9L461.4 404a8.03 8.03 0 00-11.3 0L266.3 586.7a8.03 8.03 0 000 11.3l39.5 39.7z`}}]},name:`line-chart`,theme:`outlined`}}))());function T6(){return T6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,T6({},e,{ref:t,icon:w6.default}))),D6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z`}}]},name:`lock`,theme:`outlined`}}))());function O6(){return O6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,O6({},e,{ref:t,icon:D6.default}))),A6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M521.7 82c-152.5-.4-286.7 78.5-363.4 197.7-3.4 5.3.4 12.3 6.7 12.3h70.3c4.8 0 9.3-2.1 12.3-5.8 7-8.5 14.5-16.7 22.4-24.5 32.6-32.5 70.5-58.1 112.7-75.9 43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 32.6 32.5 58.1 70.4 76 112.5C865.7 417.8 875 464.1 875 512c0 47.9-9.4 94.2-27.8 137.8-17.8 42.1-43.4 80-76 112.5s-70.5 58.1-112.7 75.9A352.8 352.8 0 01520.6 866c-47.9 0-94.3-9.4-137.9-27.8A353.84 353.84 0 01270 762.3c-7.9-7.9-15.3-16.1-22.4-24.5-3-3.7-7.6-5.8-12.3-5.8H165c-6.3 0-10.2 7-6.7 12.3C234.9 863.2 368.5 942 520.6 942c236.2 0 428-190.1 430.4-425.6C953.4 277.1 761.3 82.6 521.7 82zM395.02 624v-76h-314c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h314v-76c0-6.7 7.8-10.5 13-6.3l141.9 112a8 8 0 010 12.6l-141.9 112c-5.2 4.1-13 .4-13-6.3z`}}]},name:`login`,theme:`outlined`}}))());function j6(){return j6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,j6({},e,{ref:t,icon:A6.default}))),N6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z`}}]},name:`logout`,theme:`outlined`}}))());function P6(){return P6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,P6({},e,{ref:t,icon:N6.default}))),I6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z`}}]},name:`mail`,theme:`outlined`}}))());function L6(){return L6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,L6({},e,{ref:t,icon:I6.default}))),z6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M839.2 278.1a32 32 0 00-30.4-22.1H736V144c0-17.7-14.3-32-32-32H320c-17.7 0-32 14.3-32 32v112h-72.8a31.9 31.9 0 00-30.4 22.1L112 502v378c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V502l-72.8-223.9zM360 184h304v72H360v-72zm480 656H184V513.4L244.3 328h535.4L840 513.4V840zM652 572H544V464c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V636h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}}]},name:`medicine-box`,theme:`outlined`}}))());function B6(){return B6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,B6({},e,{ref:t,icon:z6.default}))),H6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z`}}]},name:`menu`,theme:`outlined`}}))());function U6(){return U6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,U6({},e,{ref:t,icon:H6.default}))),G6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z`}}]},name:`message`,theme:`outlined`}}))());function K6(){return K6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,K6({},e,{ref:t,icon:G6.default}))),J6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`mobile`,theme:`outlined`}}))());function Y6(){return Y6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Y6({},e,{ref:t,icon:J6.default}))),Z6=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M692.8 412.7l.2-.2-34.6-44.3a7.97 7.97 0 00-11.2-1.4l-50.4 39.3-70.5-90.1a7.97 7.97 0 00-11.2-1.4l-37.9 29.7a7.97 7.97 0 00-1.4 11.2l70.5 90.2-.2.1 34.6 44.3c2.7 3.5 7.7 4.1 11.2 1.4l50.4-39.3 64.1 82c2.7 3.5 7.7 4.1 11.2 1.4l37.9-29.6c3.5-2.7 4.1-7.7 1.4-11.2l-64.1-82.1zM608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5L114.3 856.1a8.03 8.03 0 000 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6C473 696.1 537.7 720 608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644s-118.2-23.7-161.2-66.8C403.7 534.2 380 476.9 380 416s23.7-118.2 66.8-161.2c43-43.1 100.3-66.8 161.2-66.8s118.2 23.7 161.2 66.8c43.1 43 66.8 100.3 66.8 161.2s-23.7 118.2-66.8 161.2z`}}]},name:`monitor`,theme:`outlined`}}))());function Q6(){return Q6=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Q6({},e,{ref:t,icon:Z6.default}))),e8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-80 600c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z`}}]},name:`pause-circle`,theme:`filled`}}))());function t8(){return t8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,t8({},e,{ref:t,icon:e8.default}))),r8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M304 176h80v672h-80zm408 0h-64c-4.4 0-8 3.6-8 8v656c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V184c0-4.4-3.6-8-8-8z`}}]},name:`pause`,theme:`outlined`}}))());function i8(){return i8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,i8({},e,{ref:t,icon:r8.default}))),o8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm159.6-585h-59.5c-3 0-5.8 1.7-7.1 4.4l-90.6 180H511l-90.6-180a8 8 0 00-7.1-4.4h-60.7c-1.3 0-2.6.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9L457 515.7h-61.4c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V603h-81.7c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V717c0 4.4 3.6 8 8 8h54.3c4.4 0 8-3.6 8-8v-68.1h82c4.4 0 8-3.6 8-8V611c0-4.4-3.6-8-8-8h-82v-41.5h82c4.4 0 8-3.6 8-8v-29.9c0-4.4-3.6-8-8-8h-62l111.1-204.8c.6-1.2 1-2.5 1-3.8-.1-4.4-3.7-8-8.1-8z`}}]},name:`pay-circle`,theme:`outlined`}}))());function s8(){return s8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,s8({},e,{ref:t,icon:o8.default}))),l8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z`}}]},name:`phone`,theme:`outlined`}}))());function u8(){return u8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,u8({},e,{ref:t,icon:l8.default}))),f8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z`}}]},name:`picture`,theme:`outlined`}}))());function p8(){return p8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,p8({},e,{ref:t,icon:f8.default}))),h8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 518H506V160c0-4.4-3.6-8-8-8h-26a398.46 398.46 0 00-282.8 117.1 398.19 398.19 0 00-85.7 127.1A397.61 397.61 0 0072 552a398.46 398.46 0 00117.1 282.8c36.7 36.7 79.5 65.6 127.1 85.7A397.61 397.61 0 00472 952a398.46 398.46 0 00282.8-117.1c36.7-36.7 65.6-79.5 85.7-127.1A397.61 397.61 0 00872 552v-26c0-4.4-3.6-8-8-8zM705.7 787.8A331.59 331.59 0 01470.4 884c-88.1-.4-170.9-34.9-233.2-97.2C174.5 724.1 140 640.7 140 552c0-88.7 34.5-172.1 97.2-234.8 54.6-54.6 124.9-87.9 200.8-95.5V586h364.3c-7.7 76.3-41.3 147-96.6 201.8zM952 462.4l-2.6-28.2c-8.5-92.1-49.4-179-115.2-244.6A399.4 399.4 0 00589 74.6L560.7 72c-4.7-.4-8.7 3.2-8.7 7.9V464c0 4.4 3.6 8 8 8l384-1c4.7 0 8.4-4 8-8.6zm-332.2-58.2V147.6a332.24 332.24 0 01166.4 89.8c45.7 45.6 77 103.6 90 166.1l-256.4.7z`}}]},name:`pie-chart`,theme:`outlined`}}))());function g8(){return g8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,g8({},e,{ref:t,icon:h8.default}))),v8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z`}}]},name:`play-circle`,theme:`filled`}}))());function y8(){return y8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,y8({},e,{ref:t,icon:v8.default}))),x8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}},{tag:`path`,attrs:{d:`M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z`}}]},name:`play-circle`,theme:`outlined`}}))());function S8(){return S8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,S8({},e,{ref:t,icon:x8.default}))),w8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`plus-circle`,theme:`outlined`}}))());function T8(){return T8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,T8({},e,{ref:t,icon:w8.default}))),D8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M928 161H699.2c-49.1 0-97.1 14.1-138.4 40.7L512 233l-48.8-31.3A255.2 255.2 0 00324.8 161H96c-17.7 0-32 14.3-32 32v568c0 17.7 14.3 32 32 32h228.8c49.1 0 97.1 14.1 138.4 40.7l44.4 28.6c1.3.8 2.8 1.3 4.3 1.3s3-.4 4.3-1.3l44.4-28.6C602 807.1 650.1 793 699.2 793H928c17.7 0 32-14.3 32-32V193c0-17.7-14.3-32-32-32zM324.8 721H136V233h188.8c35.4 0 69.8 10.1 99.5 29.2l48.8 31.3 6.9 4.5v462c-47.6-25.6-100.8-39-155.2-39zm563.2 0H699.2c-54.4 0-107.6 13.4-155.2 39V298l6.9-4.5 48.8-31.3c29.7-19.1 64.1-29.2 99.5-29.2H888v488zM396.9 361H211.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5zm223.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c0-4.1-3.2-7.5-7.1-7.5H627.1c-3.9 0-7.1 3.4-7.1 7.5zM396.9 501H211.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5zm416 0H627.1c-3.9 0-7.1 3.4-7.1 7.5v45c0 4.1 3.2 7.5 7.1 7.5h185.7c3.9 0 7.1-3.4 7.1-7.5v-45c.1-4.1-3.1-7.5-7-7.5z`}}]},name:`read`,theme:`outlined`}}))());function O8(){return O8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,O8({},e,{ref:t,icon:D8.default}))),A8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`defs`,attrs:{},children:[{tag:`style`,attrs:{}}]},{tag:`path`,attrs:{d:`M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z`}},{tag:`path`,attrs:{d:`M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z`}}]},name:`rest`,theme:`outlined`}}))());function j8(){return j8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,j8({},e,{ref:t,icon:A8.default}))),N8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M917 211.1l-199.2 24c-6.6.8-9.4 8.9-4.7 13.6l59.3 59.3-226 226-101.8-101.7c-6.3-6.3-16.4-6.2-22.6 0L100.3 754.1a8.03 8.03 0 000 11.3l45 45.2c3.1 3.1 8.2 3.1 11.3 0L433.3 534 535 635.7c6.3 6.2 16.4 6.2 22.6 0L829 364.5l59.3 59.3a8.01 8.01 0 0013.6-4.7l24-199.2c.7-5.1-3.7-9.5-8.9-8.8z`}}]},name:`rise`,theme:`outlined`}}))());function P8(){return P8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,P8({},e,{ref:t,icon:N8.default}))),I8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`robot`,theme:`outlined`}}))());function L8(){return L8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,L8({},e,{ref:t,icon:I8.default}))),z8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8H864zM762.3 621.4c9.4 14.6 17 30.3 22.5 46.6H700V558.7a211.6 211.6 0 0162.3 62.7zM388 483.1V318.8l124-147 124 147V668H388V483.1zM239.2 668c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668h-84.8zm388.9 116.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5-38.3 0-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM464 400a48 48 0 1096 0 48 48 0 10-96 0z`}}]},name:`rocket`,theme:`outlined`}}))());function B8(){return B8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,B8({},e,{ref:t,icon:z8.default}))),H8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M512 64L128 192v384c0 212.1 171.9 384 384 384s384-171.9 384-384V192L512 64zm312 512c0 172.3-139.7 312-312 312S200 748.3 200 576V246l312-110 312 110v330z`}},{tag:`path`,attrs:{d:`M378.4 475.1a35.91 35.91 0 00-50.9 0 35.91 35.91 0 000 50.9l129.4 129.4 2.1 2.1a33.98 33.98 0 0048.1 0L730.6 434a33.98 33.98 0 000-48.1l-2.8-2.8a33.98 33.98 0 00-48.1 0L483 579.7 378.4 475.1z`}}]},name:`safety`,theme:`outlined`}}))());function U8(){return U8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,U8({},e,{ref:t,icon:H8.default}))),G8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M567.1 512l318.5-319.3c5-5 1.5-13.7-5.6-13.7h-90.5c-2.1 0-4.2.8-5.6 2.3l-273.3 274-90.2-90.5c12.5-22.1 19.7-47.6 19.7-74.8 0-83.9-68.1-152-152-152s-152 68.1-152 152 68.1 152 152 152c27.7 0 53.6-7.4 75.9-20.3l90 90.3-90.1 90.3A151.04 151.04 0 00288 582c-83.9 0-152 68.1-152 152s68.1 152 152 152 152-68.1 152-152c0-27.2-7.2-52.7-19.7-74.8l90.2-90.5 273.3 274c1.5 1.5 3.5 2.3 5.6 2.3H880c7.1 0 10.7-8.6 5.6-13.7L567.1 512zM288 370c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80zm0 444c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z`}}]},name:`scissor`,theme:`outlined`}}))());function K8(){return K8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,K8({},e,{ref:t,icon:G8.default}))),J8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM402.9 528.8l-77.5 77.5a8.03 8.03 0 000 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.7 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 123-20.1 178.6zm65.4-133.3c31.3-31.3 82-31.3 113.2 0 31.3 31.3 31.3 82 0 113.2-31.3 31.3-82 31.3-113.2 0s-31.3-81.9 0-113.2z`}}]},name:`security-scan`,theme:`outlined`}}))());function Y8(){return Y8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Y8({},e,{ref:t,icon:J8.default}))),Z8=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-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 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z`}}]},name:`setting`,theme:`outlined`}}))());function Q8(){return Q8=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,Q8({},e,{ref:t,icon:Z8.default}))),e5=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`0 0 1024 1024`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M922.9 701.9H327.4l29.9-60.9 496.8-.9c16.8 0 31.2-12 34.2-28.6l68.8-385.1c1.8-10.1-.9-20.5-7.5-28.4a34.99 34.99 0 00-26.6-12.5l-632-2.1-5.4-25.4c-3.4-16.2-18-28-34.6-28H96.5a35.3 35.3 0 100 70.6h125.9L246 312.8l58.1 281.3-74.8 122.1a34.96 34.96 0 00-3 36.8c6 11.9 18.1 19.4 31.5 19.4h62.8a102.43 102.43 0 00-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7h161.1a102.43 102.43 0 00-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7H923c19.4 0 35.3-15.8 35.3-35.3a35.42 35.42 0 00-35.4-35.2zM305.7 253l575.8 1.9-56.4 315.8-452.3.8L305.7 253zm96.9 612.7c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 01-31.6 31.6zm325.1 0c-17.4 0-31.6-14.2-31.6-31.6 0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 01-31.6 31.6z`}}]},name:`shopping-cart`,theme:`outlined`}}))());function t5(){return t5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,t5({},e,{ref:t,icon:e5.default}))),r5=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-432-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16H400v-16zm392 544H232V384h96v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h224v88c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-88h96v456z`}}]},name:`shopping`,theme:`outlined`}}))());function i5(){return i5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,i5({},e,{ref:t,icon:r5.default}))),o5=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M925.6 405.1l-203-253.7a6.5 6.5 0 00-5-2.4H306.4c-1.9 0-3.8.9-5 2.4l-203 253.7a6.5 6.5 0 00.2 8.3l408.6 459.5c1.2 1.4 3 2.1 4.8 2.1 1.8 0 3.5-.8 4.8-2.1l408.6-459.5a6.5 6.5 0 00.2-8.3zM645.2 206.4l34.4 133.9-132.5-133.9h98.1zm8.2 178.5H370.6L512 242l141.4 142.9zM378.8 206.4h98.1L344.3 340.3l34.5-133.9zm-53.4 7l-44.1 171.5h-93.1l137.2-171.5zM194.6 434.9H289l125.8 247.7-220.2-247.7zM512 763.4L345.1 434.9h333.7L512 763.4zm97.1-80.8L735 434.9h94.4L609.1 682.6zm133.6-297.7l-44.1-171.5 137.2 171.5h-93.1z`}}]},name:`sketch`,theme:`outlined`}}))());function s5(){return s5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,s5({},e,{ref:t,icon:o5.default}))),l5=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M870 126H663.8c-17.4 0-32.9 11.9-37 29.3C614.3 208.1 567 246 512 246s-102.3-37.9-114.8-90.7a37.93 37.93 0 00-37-29.3H154a44 44 0 00-44 44v252a44 44 0 0044 44h75v388a44 44 0 0044 44h478a44 44 0 0044-44V466h75a44 44 0 0044-44V170a44 44 0 00-44-44zm-28 268H723v432H301V394H182V198h153.3c28.2 71.2 97.5 120 176.7 120s148.5-48.8 176.7-120H842v196z`}}]},name:`skin`,theme:`outlined`}}))());function u5(){return u5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,u5({},e,{ref:t,icon:l5.default}))),f5=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z`}}]},name:`smile`,theme:`outlined`}}))());function p5(){return p5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,p5({},e,{ref:t,icon:f5.default}))),h5=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z`}}]},name:`solution`,theme:`outlined`}}))());function g5(){return g5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,g5({},e,{ref:t,icon:h5.default}))),v5=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z`}}]},name:`sound`,theme:`outlined`}}))());function y5(){return y5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,y5({},e,{ref:t,icon:v5.default}))),Bne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z`}}]},name:`star`,theme:`outlined`}}))());function b5(){return b5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,b5({},e,{ref:t,icon:Bne.default}))),Vne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z`}}]},name:`sync`,theme:`outlined`}}))());function S5(){return S5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,S5({},e,{ref:t,icon:Vne.default}))),Une=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7zM680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z`}}]},name:`tag`,theme:`outlined`}}))());function C5(){return C5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,C5({},e,{ref:t,icon:Une.default}))),Gne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z`}}]},name:`team`,theme:`outlined`}}))());function w5(){return w5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,w5({},e,{ref:t,icon:Gne.default}))),Kne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z`}}]},name:`thunderbolt`,theme:`outlined`}}))());function E5(){return E5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,E5({},e,{ref:t,icon:Kne.default}))),qne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z`}}]},name:`tool`,theme:`outlined`}}))());function O5(){return O5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,O5({},e,{ref:t,icon:qne.default}))),Yne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M868 160h-92v-40c0-4.4-3.6-8-8-8H256c-4.4 0-8 3.6-8 8v40h-92a44 44 0 00-44 44v148c0 81.7 60 149.6 138.2 162C265.7 630.2 359 721.7 476 734.5v105.2H280c-17.7 0-32 14.3-32 32V904c0 4.4 3.6 8 8 8h512c4.4 0 8-3.6 8-8v-32.3c0-17.7-14.3-32-32-32H548V734.5C665 721.7 758.3 630.2 773.8 514 852 501.6 912 433.7 912 352V204a44 44 0 00-44-44zM184 352V232h64v207.6a91.99 91.99 0 01-64-87.6zm520 128c0 49.1-19.1 95.4-53.9 130.1-34.8 34.8-81 53.9-130.1 53.9h-16c-49.1 0-95.4-19.1-130.1-53.9-34.8-34.8-53.9-81-53.9-130.1V184h384v296zm136-128c0 41-26.9 75.8-64 87.6V232h64v120z`}}]},name:`trophy`,theme:`outlined`}}))());function k5(){return k5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,k5({},e,{ref:t,icon:Yne.default}))),Xne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640M576 256H128v384h17.12c22.13-38.26 63.5-64 110.88-64 47.38 0 88.75 25.74 110.88 64H576zm221.63 192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448a12 12 0 0112 12v40a12 12 0 01-12 12H332a12 12 0 01-12-12v-40a12 12 0 0112-12zM308 320a12 12 0 0112 12v40a12 12 0 01-12 12H204a12 12 0 01-12-12v-40a12 12 0 0112-12z`}}]},name:`truck`,theme:`outlined`}}))());function j5(){return j5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,j5({},e,{ref:t,icon:Xne.default}))),Qne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z`}}]},name:`upload`,theme:`outlined`}}))());function M5(){return M5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,M5({},e,{ref:t,icon:Qne.default}))),$ne=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z`}}]},name:`user-add`,theme:`outlined`}}))());function P5(){return P5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,P5({},e,{ref:t,icon:$ne.default}))),tre=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z`}}]},name:`user`,theme:`outlined`}}))());function F5(){return F5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,F5({},e,{ref:t,icon:tre.default}))),nre=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226zM208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}}]},name:`video-camera`,theme:`outlined`}}))());function L5(){return L5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,L5({},e,{ref:t,icon:nre.default}))),rre=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 464H528V448h312v128zm0 264H184V184h656v200H496c-17.7 0-32 14.3-32 32v192c0 17.7 14.3 32 32 32h344v200zM580 512a40 40 0 1080 0 40 40 0 10-80 0z`}}]},name:`wallet`,theme:`outlined`}}))());function z5(){return z5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,z5({},e,{ref:t,icon:rre.default}))),ire=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z`}}]},name:`warning`,theme:`outlined`}}))());function V5(){return V5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,V5({},e,{ref:t,icon:ire.default}))),ore=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z`}}]},name:`wechat`,theme:`outlined`}}))());function H5(){return H5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,H5({},e,{ref:t,icon:ore.default}))),sre=c(o((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M921 912L601.11 445.75l.55.43L890.08 112H793.7L558.74 384 372.15 112H119.37l298.65 435.31-.04-.04L103 912h96.39L460.6 609.38 668.2 912zM333.96 184.73l448.83 654.54H706.4L257.2 184.73z`}}]},name:`x`,theme:`outlined`}}))());function W5(){return W5=Object.assign?Object.assign.bind():function(e){for(var t=1;tS.createElement(Su,W5({},e,{ref:t,icon:sre.default}))),K5=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},cre=(e=>e?K5(e):K5),lre=e=>e;function ure(e,t=lre){let n=S.useSyncExternalStore(e.subscribe,S.useCallback(()=>t(e.getState()),[e,t]),S.useCallback(()=>t(e.getInitialState()),[e,t]));return S.useDebugValue(n),n}var q5=e=>{let t=cre(e),n=e=>ure(t,e);return Object.assign(n,t),n},J5=(e=>e?q5(e):q5),Y5=`AES-GCM`,X5=12,Z5=128;function Q5(){return typeof window<`u`&&typeof crypto<`u`&&crypto.subtle!==void 0}async function $5(){throw Error(`VITE_ENCRYPTION_KEY not configured`)}async function dre(e){if(!Q5())throw Error(`Encryption not available in non-secure context`);let t=await $5(),n=crypto.getRandomValues(new Uint8Array(X5)),r=new TextEncoder().encode(e),i=await crypto.subtle.encrypt({name:Y5,iv:n,tagLength:Z5},t,r),a=new Uint8Array(i),o=new Uint8Array(n.length+a.length);return o.set(n),o.set(a,n.length),btoa(String.fromCharCode(...o))}async function fre(e){if(!Q5())throw Error(`Decryption not available in non-secure context`);let t=await $5(),n=Uint8Array.from(atob(e),e=>e.charCodeAt(0)),r=n.slice(0,X5),i=n.slice(X5),a=await crypto.subtle.decrypt({name:Y5,iv:r,tagLength:Z5},t,i);return new TextDecoder().decode(a)}var pre=`http://ceshi.apiforeign.minzhong.cn`,mre=!1;function hre(e){return e.replace(/_([a-z])/g,(e,t)=>t.toUpperCase())}function e7(e){return Array.isArray(e)?e.map(e7):typeof e==`object`&&e?Object.fromEntries(Object.entries(e).map(([e,t])=>[hre(e),e7(t)])):e}function gre(){return localStorage.getItem(`auth_token`)}function t7(e){localStorage.setItem(`auth_token`,e)}function n7(){localStorage.removeItem(`auth_token`)}async function _re(e){try{return await fre(e)}catch{return null}}async function r7(e,t={}){let{method:n=`GET`,body:r,auth:i=!0,encryptBody:a=mre,signal:o,skipAuthRedirect:s}=t,c={"Content-Type":`application/json`};if(i){let e=gre();e&&(c.Authorization=`Bearer ${e}`)}let l;if(r!==void 0){let e=JSON.stringify(r);a?(c[`X-Encrypted`]=`true`,l=JSON.stringify({data:await dre(e)})):l=e}let u=await fetch(`${pre}/api${e}`,{method:n,headers:c,body:l,signal:o});if(u.status===204)return;let d=await u.text();if(!d)return;let f;try{f=JSON.parse(d)}catch{throw Error(`响应解析失败 (${u.status})`)}if(f&&typeof f.data==`string`&&a){let e=await _re(f.data);e!==null&&(f=JSON.parse(e))}if(!u.ok){let e=f?.detail?.message||f?.message||`请求失败 (${u.status})`;throw typeof f?.detail==`string`&&(e=f.detail),u.status===401&&!t.skipAuthRedirect&&(n7(),window.location.href=`/login`),Error(e)}return e7(f)}var i7={get:(e,t=!0)=>r7(e,typeof t==`boolean`?{auth:t}:t),post:(e,t,n=!0,r=!1)=>r7(e,{method:`POST`,body:t,auth:n,skipAuthRedirect:r}),put:(e,t,n=!0)=>r7(e,{method:`PUT`,body:t,auth:n}),delete:(e,t,n=!0)=>r7(e,{method:`DELETE`,body:t,auth:n})};async function vre(e,t,n,r){let i=await i7.post(`/auth/login`,{username:e,password:t,captcha_token:n,remember_me:r||!1},!1,!0);return t7(i.accessToken),i.user}async function yre(e,t){let n=await i7.post(`/auth/sms-login`,{phone:e,code:t},!1,!0);return t7(n.accessToken),n.user}async function bre(e,t,n){let r=await i7.post(`/auth/register`,{phone:e,code:t,password:n},!1);return t7(r.accessToken),r.user}async function xre(){await i7.post(`/auth/logout`),n7()}async function a7(){try{return await i7.get(`/auth/me`)}catch{return null}}async function o7(e,t){await i7.post(`/auth/change-password`,{old_password:e,new_password:t})}async function Sre(){return i7.get(`/projects`)}async function Cre(e,t){return i7.post(`/projects`,{name:e,industry:t})}async function wre(e){await i7.delete(`/projects/${e}`)}async function s7(e={}){let t=e.page&&e.page>0?e.page:1,n=e.pageSize&&e.pageSize>0?e.pageSize:10,r=new URLSearchParams;return e.projectId&&r.set(`project_id`,e.projectId),e.status&&r.set(`status`,e.status),r.set(`page`,String(t)),r.set(`page_size`,String(n)),i7.get(`/generation-records?${r.toString()}`,{signal:e.signal})}async function Tre(e,t){return i7.post(`/generation-records/optimize`,{project_id:e,gen_type:t.genType,prompt:t.prompt,duration:t.duration,references:t.references||null,idempotency_key:t.idempotencyKey||null,image_size:t.image_size||null,image_proportion:t.image_proportion||null,image_px:t.image_px||null})}async function Ere(e){let t=new FormData;t.append(`file`,e);let n=localStorage.getItem(`auth_token`),r=await fetch(`http://ceshi.apiforeign.minzhong.cn/api/generation-records/upload-audio`,{method:`POST`,headers:n?{Authorization:`Bearer ${n}`}:{},body:t});if(!r.ok)throw Error(`图片上传失败`);let i=await r.json();return{url:i.url,filename:i.filename}}async function c7(e){let t=new FormData;t.append(`file`,e);let n=localStorage.getItem(`auth_token`),r=await fetch(`http://ceshi.apiforeign.minzhong.cn/api/generation-records/upload-image`,{method:`POST`,headers:n?{Authorization:`Bearer ${n}`}:{},body:t});if(!r.ok)throw Error(`图片上传失败`);let i=await r.json();return{url:i.url,filename:i.filename}}async function l7(e){let t=new FormData;t.append(`file`,e);let n=localStorage.getItem(`auth_token`),r=await fetch(`http://ceshi.apiforeign.minzhong.cn/api/generation-records/upload-video`,{method:`POST`,headers:n?{Authorization:`Bearer ${n}`}:{},body:t});if(!r.ok)throw Error(`视频上传失败`);let i=await r.json();return{url:i.url,filename:i.filename}}async function u7(e){await i7.post(`/generation-records/delete-file?url=${encodeURIComponent(e)}`)}async function Dre(e,t){await i7.put(`/generation-records/${e}/prompt`,{optimized_prompt:t})}async function Ore(e,t){return i7.post(`/generation-records/${e}/generate`,{aspect_ratio:t.aspectRatio,resolution:t.resolution})}async function d7(e=1,t=20){let n=new URLSearchParams;return n.set(`page`,String(e)),n.set(`page_size`,String(t)),i7.get(`/credits?${n.toString()}`)}async function f7(){return i7.get(`/auth/site-info`,!1)}async function kre(){return i7.get(`/video-engines`)}async function Are(){return i7.get(`/image-engines`)}async function p7(e,t){await i7.post(`/sms/send`,{phone:e,scene:t},!1)}async function m7(e=1,t=20,n){let r=new URLSearchParams;return r.set(`page`,String(e)),r.set(`page_size`,String(t)),n!==void 0&&r.set(`is_read`,String(n)),i7.get(`/notifications?${r.toString()}`)}async function h7(){return(await i7.get(`/notifications/unread-count`)).count}async function g7(e){await i7.put(`/notifications/${e}/read`)}async function _7(){return(await i7.get(`/industries`)).map(e=>{let t=(Array.isArray(e.skills)?e.skills:[]).filter(e=>e&&e.type===`option_group`&&e.name&&Array.isArray(e.options)).map(e=>({name:e.name,options:e.options}));return{...e,optionGroups:t}})}async function jre(){return i7.get(`/menu-configs`)}async function Mre(){return i7.get(`/recharge-packages`)}async function Nre(){return i7.get(`/payments/methods`)}async function Pre(e,t=`wechat`){return i7.post(`/payments/recharge`,{plan:e,method:t})}async function Fre(e=1,t=20){let n=new URLSearchParams;return n.set(`page`,String(e)),n.set(`page_size`,String(t)),i7.get(`/payments/orders?${n.toString()}`)}async function v7(e){return i7.get(`/payments/orders/${e}`)}async function y7(e){return i7.post(`/payments/orders/${e}/cancel`)}async function Ire(){return i7.get(`/credits/ratios`)}async function b7(){return i7.get(`/generation-ai/engines`)}async function Lre(e){return i7.post(`/generation-ai/tasks`,e)}async function x7(e){return i7.get(`/generation-ai/tasks?page=`+e.page+`&page_size=`+e.pageSize)}async function Rre(e){return i7.get(`/generation-ai/history`+e)}async function S7(e){return i7.get(`/generation-ai/history/`+e)}async function zre(e){await i7.delete(`/generation-ai/tasks/${e}`)}async function Bre(){return i7.get(`/credits/credit-ratios`)}async function Vre(e){return i7.post(`/hot-opening-replications/tasks`,e)}async function C7(e,t,n){let r=`/hot-opening-replications/tasks?page=${e}&page_size=${t}`;return n&&(r+=`&keyword=${encodeURIComponent(n)}`),i7.get(r)}async function w7(e){return i7.get(`/hot-opening-replications/tasks/${e}`)}async function Hre(e,t){return i7.post(`/hot-opening-replications/tasks/${e}/steps/${t}/generate-image-prompt`)}async function Ure(e,t,n){return i7.put(`/hot-opening-replications/tasks/${e}/steps/${t}/image-prompt`,n)}async function T7(e,t,n){return i7.post(`/hot-opening-replications/tasks/${e}/steps/${t}/generate-image`,n)}async function Wre(e,t,n){return i7.post(`/hot-opening-replications/tasks/${e}/steps/${t}/generate-video-prompt`,n)}async function E7(e,t,n){return i7.post(`/hot-opening-replications/tasks/${e}/steps/${t}/generate-video`,n)}async function D7(e){return i7.post(`/user-oauth/request_oauth`,e)}async function Gre(e){let t=new URLSearchParams;return t.set(`auth_code`,e.auth_code),t.set(`state`,e.state),e.app_id&&t.set(`app_id`,e.app_id),e.material_auth_status&&t.set(`material_auth_status`,e.material_auth_status),e.scope&&t.set(`scope`,e.scope),e.uid&&t.set(`uid`,e.uid),i7.get(`/user-oauth/juliang_callback?${t.toString()}`)}async function O7(e){let t=new URLSearchParams;return e.account_userid&&t.set(`account_userid`,e.account_userid),e.open_type!==void 0&&t.set(`open_type`,String(e.open_type)),e.account_id&&t.set(`account_id`,e.account_id),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),i7.get(`/user-oauth/oauth_list?${t.toString()}`)}async function k7(e){let t=new URLSearchParams;return e.platform&&t.set(`platform`,e.platform),e.page!==void 0&&t.set(`page`,String(e.page)),e.pageSize!==void 0&&t.set(`page_size`,String(e.pageSize)),i7.get(`/pre-test-template/list?${t.toString()}`)}async function Kre(e){return i7.post(`/pre-test-template/create`,e)}async function A7(e){return i7.get(`/pre-test-template/select/${e}`)}async function qre(e,t){return i7.post(`/pre-test-template/update/${e}`,t)}async function Jre(e){return i7.get(`/pre-test-template/delete/${e}`)}async function j7(){return i7.get(`/pre-test-template/default`)}async function Yre(e,t,n){return i7.put(`/hot-opening-replications/tasks/${e}/steps/${t}/video-prompt-schema`,n)}async function Xre(e){return i7.post(`/shot-replications/task-sets`,e)}async function M7(e,t,n){let r=n?`/shot-replications/task-sets?page=${e}&page_size=${t}&keyword=${encodeURIComponent(n)}`:`/shot-replications/task-sets?page=${e}&page_size=${t}`;return i7.get(r)}async function N7(e){return i7.get(`/shot-replications/task-sets/${e}`)}async function Zre(e,t){return i7.post(`/shot-replications/task-sets/${e}/split-by-ai`,t)}async function Qre(e,t){return i7.post(`/shot-replications/task-sets/${e}/split-custom`,t)}async function P7(e){return i7.get(`/shot-replications/task-sets/${e}/segments`)}async function $re(e,t){return i7.post(`/shot-replications/segments/${e}/replication-projects`,t)}async function F7(e){return i7.get(`/shot-replications/projects/${e}`)}async function eie(e,t){return i7.post(`/shot-replications/projects/${e}/steps/${t}/generate-image-prompt`)}async function tie(e,t,n){return i7.put(`/shot-replications/projects/${e}/steps/${t}/image-prompt`,n)}async function nie(e,t,n){return i7.put(`/shot-replications/projects/${e}/steps/${t}/video-prompt-schema`,n)}async function I7(e,t,n){return i7.post(`/shot-replications/projects/${e}/steps/${t}/generate-image`,n)}async function rie(e,t,n){return i7.post(`/shot-replications/projects/${e}/steps/${t}/generate-video-prompt`,n)}async function L7(e,t,n){return i7.post(`/shot-replications/projects/${e}/steps/${t}/generate-video`,n)}async function R7(e){let t=new URLSearchParams;return e?.level&&t.set(`level`,e.level),e?.parent_code&&t.set(`parent_code`,e.parent_code),i7.get(`/pre-test-template/getArea?${t.toString()}`)}async function iie(e){return i7.post(`/upload-material/async-batch-upload`,e)}async function aie(e){let t=new URLSearchParams;e.status&&t.set(`status`,e.status),e.page&&t.set(`page`,String(e.page)),e.pageSize&&t.set(`page_size`,String(e.pageSize));let n=t.toString();return i7.get(`/upload-material/upload-history${n?`?${n}`:``}`)}async function z7(e){return i7.post(`/upload-material/batch-update-filename`,e)}async function oie(e){let t=new URLSearchParams;return e.advertiser_id&&t.set(`advertiser_id`,e.advertiser_id),e.consume_date!==void 0&&t.set(`consume_date`,e.consume_date[0]+`,`+e.consume_date[1]),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),i7.get(`/material-consumption/list?${t.toString()}`)}async function sie(e){let t=new URLSearchParams;return e.advertiser_id&&t.set(`advertiser_id`,e.advertiser_id),e.date&&t.set(`date`,e.date),i7.get(`/material-consumption/sync?${t.toString()}`)}async function B7(){return i7.get(`/material-consumption/fields`)}async function cie(e){return i7.post(`/contact/request`,e)}async function lie(e){let t=new URLSearchParams;return e.advertiser_id&&t.set(`advertiser_id`,e.advertiser_id),e.material_id&&t.set(`material_id`,e.material_id),e.upload_id&&t.set(`upload_id`,e.upload_id),e.file_name&&t.set(`file_name`,e.file_name),e.resource_type&&t.set(`resource_type`,e.resource_type),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),i7.get(`/resources-material/list?${t.toString()}`)}async function uie(e){return i7.get(`/recent-generations?limit=${e}&modules=project&modules=chat_ai&modules=hot_opening_replicate&modules=shot_replicate`)}async function V7(){return i7.get(`/open-type/open_type_all`)}async function die(e){let t=new URLSearchParams;return e.advertiser_id&&t.set(`advertiser_id`,e.advertiser_id),e.oauth_id&&t.set(`oauth_id`,e.oauth_id),e.advertiser_name&&t.set(`advertiser_name`,e.advertiser_name),e.page!==void 0&&t.set(`page`,String(e.page)),e.page_size!==void 0&&t.set(`page_size`,String(e.page_size)),i7.get(`/oauth-account/list?${t.toString()}`)}async function fie(e){let t=new URLSearchParams;return e.id&&t.set(`id`,e.id),i7.get(`/oauth-account/delete?${t.toString()}`)}async function pie(){return i7.post(`/upload-material/oauth_account_list`)}async function mie(e){return i7.post(`/resources-material/pre-commit`,e)}async function hie(){return i7.get(`/home-materials/categories`)}async function H7(e,t=5){return i7.get(`/home-materials?category_id=${e}&limit_per_category=${t}&include_empty_categories=false&response_mode=grouped&page=1&page_size=20`)}async function U7(e){return i7.delete(`/generation-ai/history/batch`,e)}async function W7(e={}){let t=new URLSearchParams;return t.set(`page`,String(e.page||1)),t.set(`page_size`,String(e.pageSize||20)),e.keyword&&t.set(`keyword`,e.keyword),e.status&&t.set(`status`,e.status),i7.get(`/private-portrait/projects?${t.toString()}`)}async function gie(e){return i7.post(`/private-portrait/projects`,{name:e.name,description:e.description||null,callback_redirect_url:e.callbackRedirectUrl||null})}async function _ie(e){await i7.delete(`/private-portrait/projects/${e}`)}async function vie(e){return i7.get(`/private-portrait/validate-sessions/${e}`)}async function yie(e,t){return i7.post(`/private-portrait/projects/${e}/assets`,{url:t.url,asset_type:t.assetType||`Image`,name:t.name||null,video_duration:t.videoDuration??null,video_cover_url:t.videoCoverUrl||null,file_size:t.fileSize??null,mime_type:t.mimeType||null})}async function bie(e,t={}){let n=new URLSearchParams;return n.set(`page`,String(t.page||1)),n.set(`page_size`,String(t.pageSize||20)),t.status&&n.set(`status`,t.status),t.keyword&&n.set(`keyword`,t.keyword),t.assetType&&n.set(`asset_type`,t.assetType),i7.get(`/private-portrait/projects/${e}/assets?${n.toString()}`)}async function xie(e){return i7.post(`/private-portrait/assets/${e}/sync`)}async function Sie(e){await i7.delete(`/private-portrait/assets/${e}`)}async function Cie(e={}){let t=new URLSearchParams;return t.set(`page`,String(e.page||1)),t.set(`page_size`,String(e.pageSize||20)),e.projectId&&t.set(`project_id`,e.projectId),e.keyword&&t.set(`keyword`,e.keyword),e.assetType&&t.set(`asset_type`,e.assetType),i7.get(`/private-portrait/selectable-assets?${t.toString()}`)}async function wie(){return i7.get(`/private-portrait/virtual/config`)}async function Tie(e={}){let t=new URLSearchParams;return t.set(`page`,String(e.page||1)),t.set(`page_size`,String(e.pageSize||20)),e.keyword&&t.set(`keyword`,e.keyword),e.status&&t.set(`status`,e.status),i7.get(`/private-portrait/virtual-projects?${t.toString()}`)}async function Eie(e){return i7.post(`/private-portrait/virtual-projects`,{name:e.name,description:e.description||null})}async function Die(e){await i7.delete(`/private-portrait/virtual-projects/${e}`)}async function Oie(e,t){return i7.post(`/private-portrait/virtual-projects/${e}/assets`,{url:t.url,asset_type:t.assetType||`Image`,name:t.name||null,video_duration:t.videoDuration??null,video_cover_url:t.videoCoverUrl||null,file_size:t.fileSize??null,mime_type:t.mimeType||null})}async function kie(e,t={}){let n=new URLSearchParams;return n.set(`page`,String(t.page||1)),n.set(`page_size`,String(t.pageSize||20)),t.status&&n.set(`status`,t.status),t.keyword&&n.set(`keyword`,t.keyword),t.assetType&&n.set(`asset_type`,t.assetType),i7.get(`/private-portrait/virtual-projects/${e}/assets?${n.toString()}`)}async function Aie(e){return i7.post(`/private-portrait/virtual-assets/${e}/sync`)}async function jie(e){await i7.delete(`/private-portrait/virtual-assets/${e}`)}async function Mie(){return i7.get(`/team/managed`)}async function Nie(e=1,t=20){let n=new URLSearchParams;return n.set(`page`,String(e)),n.set(`page_size`,String(t)),i7.get(`/team/members?${n.toString()}`)}async function Pie(e,t,n=`increase`,r){await i7.post(`/team/members/${e}/credits`,{target_user_id:e,amount:t,direction:n,description:r||null})}async function Fie(){return i7.get(`/team/invitations`)}async function Iie(e,t){return i7.post(`/team/invitations`,{max_uses:e||null,expires_at:t||null})}async function Lie(e){await i7.delete(`/team/invitations/${e}`)}async function Rie(){return i7.get(`/team/join-requests`)}async function zie(e,t,n){await i7.post(`/team/join-requests/${e}`,{action:t,note:n||null})}async function Bie(e){return i7.get(`/team/join-info?code=${encodeURIComponent(e)}`,{auth:!0,skipAuthRedirect:!0})}async function Vie(e){return i7.get(`/team/join-info/public?code=${encodeURIComponent(e)}`,!1)}async function Hie(e){await i7.post(`/team/join`,{invitation_code:e})}async function Uie(e){let t=new URLSearchParams;return e.page&&t.set(`page`,String(e.page)),e.pageSize&&t.set(`page_size`,String(e.pageSize)),e.userId&&t.set(`user_id`,e.userId),e.phone&&t.set(`phone`,e.phone),e.recordType&&t.set(`record_type`,e.recordType),e.startDate&&t.set(`start_date`,e.startDate),e.endDate&&t.set(`end_date`,e.endDate),i7.get(`/team/credit-records?${t.toString()}`)}function Wie(e){let t=new URLSearchParams;return e.phone&&t.set(`phone`,e.phone),e.recordType&&t.set(`record_type`,e.recordType),e.startDate&&t.set(`start_date`,e.startDate),e.endDate&&t.set(`end_date`,e.endDate),`http://ceshi.apiforeign.minzhong.cn/api/team/credit-records/export?${t.toString()}`}var G7=J5(e=>({user:null,loading:!0,login:async(t,n,r,i)=>{e({user:await vre(t,n,r,i)})},logout:async()=>{await xre(),e({user:null})},checkAuth:async()=>{try{if(!localStorage.getItem(`auth_token`)){e({user:null,loading:!1});return}e({user:await a7(),loading:!1})}catch(t){(t?.message?.includes(`401`)||t?.message?.includes(`Unauthorized`))&&localStorage.removeItem(`auth_token`),e({user:null,loading:!1})}},changePassword:async(e,t)=>{await o7(e,t)},refreshUser:async()=>{try{e({user:await a7()})}catch(e){console.error(`Failed to refresh user:`,e)}},setUserCredits:t=>{e(e=>e.user?{user:{...e.user,credits:t}}:{})}})),K7={system:{gradient:`linear-gradient(135deg, #6366f1, #818cf8)`,icon:(0,$.jsx)(D5,{}),label:`系统通知`},credit:{gradient:`linear-gradient(135deg, #f59e0b, #fbbf24)`,icon:(0,$.jsx)(x5,{}),label:`积分通知`},promo:{gradient:`linear-gradient(135deg, #8b5cf6, #a78bfa)`,icon:(0,$.jsx)(q3,{}),label:`活动通知`}},Gie=()=>{let[e,t]=(0,S.useState)(!1),[n,r]=(0,S.useState)([]),[i,a]=(0,S.useState)(0),o=G7(e=>e.refreshUser),s=G7(e=>e.setUserCredits),c=(0,S.useCallback)(async()=>{try{let n=await m7(1,20,!1),i=n.items||[],o=n?.credits?.balance;if(typeof o==`number`){let e=G7.getState().user;e&&e.credits!==o&&s(o)}r(i),i.length>0&&!e&&(t(!0),a(0))}catch{}},[e,s]);(0,S.useEffect)(()=>{c();let e=setInterval(c,3e4);return()=>clearInterval(e)},[]);let l=async()=>{let e=n[i];if(e)try{await g7(e.id)}catch{}if(i{let e=n[i];if(e)try{await g7(e.id)}catch{}t(!1),r([]),a(0)};if(!e||n.length===0)return null;let d=n[i],f=K7[d.type]||K7.system;return(0,$.jsxs)(`div`,{style:{position:`fixed`,top:0,left:0,right:0,bottom:0,zIndex:9999,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`rgba(15,15,35,0.6)`,backdropFilter:`blur(8px)`},onClick:u,children:[(0,$.jsxs)(`div`,{onClick:e=>e.stopPropagation(),style:{width:420,borderRadius:20,overflow:`hidden`,boxShadow:`0 32px 80px rgba(0,0,0,0.35)`,animation:`slideUp 0.35s cubic-bezier(0.16,1,0.3,1)`},children:[(0,$.jsxs)(`div`,{style:{background:f.gradient,padding:`28px 28px 24px`,position:`relative`,overflow:`hidden`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,right:-20,top:-20,width:120,height:120,borderRadius:`50%`,background:`rgba(255,255,255,0.1)`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,right:50,bottom:-30,width:80,height:80,borderRadius:`50%`,background:`rgba(255,255,255,0.06)`}}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`flex-start`,position:`relative`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:14},children:[(0,$.jsx)(`div`,{style:{width:48,height:48,borderRadius:14,background:`rgba(255,255,255,0.2)`,display:`flex`,alignItems:`center`,justifyContent:`center`,backdropFilter:`blur(4px)`,fontSize:22,color:`#fff`},children:f.icon}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{color:`rgba(255,255,255,0.7)`,fontSize:12,marginBottom:2},children:`新消息通知`}),(0,$.jsx)(`div`,{style:{color:`#fff`,fontSize:17,fontWeight:700},children:d.title})]})]}),(0,$.jsx)(`div`,{onClick:u,style:{width:28,height:28,borderRadius:8,background:`rgba(255,255,255,0.15)`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,transition:`background 0.2s`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(255,255,255,0.25)`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(255,255,255,0.15)`},children:(0,$.jsx)(ju,{style:{color:`#fff`,fontSize:12}})})]})]}),(0,$.jsxs)(`div`,{style:{background:`#fff`,padding:`24px 28px 28px`},children:[(0,$.jsx)(`div`,{style:{padding:`18px 20px`,background:`#f8fafc`,borderRadius:14,marginBottom:20,border:`1px solid #f0f0f5`},children:(0,$.jsx)(`div`,{style:{fontSize:14,color:`#334155`,lineHeight:1.8},children:d.content})}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(E$,{color:f.gradient.includes(`#6366f1`)?`#6366f1`:f.gradient.includes(`#f59e0b`)?`#f59e0b`:`#8b5cf6`,style:{borderRadius:6,border:`none`,padding:`2px 10px`,fontSize:12},children:f.label}),n.length>1&&(0,$.jsxs)(`span`,{style:{fontSize:12,color:`#94a3b8`},children:[i+1,` / `,n.length]})]}),(0,$.jsx)(X,{type:`primary`,onClick:l,style:{borderRadius:10,fontWeight:600,height:38,background:f.gradient,border:`none`,paddingLeft:28,paddingRight:28,boxShadow:`0 6px 16px ${f.gradient.includes(`#6366f1`)?`rgba(99,102,241,0.3)`:f.gradient.includes(`#f59e0b`)?`rgba(245,158,11,0.3)`:`rgba(139,92,246,0.3)`}`},children:`我已知晓`})]}),n.length>1&&(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,gap:6,marginTop:18},children:n.map((e,t)=>(0,$.jsx)(`div`,{style:{width:t===i?22:6,height:6,borderRadius:3,background:t===i?f.gradient.includes(`#6366f1`)?`#6366f1`:f.gradient.includes(`#f59e0b`)?`#f59e0b`:`#8b5cf6`:`#e2e8f0`,transition:`all 0.3s ease`}},t))})]})]}),(0,$.jsx)(`style`,{children:` @keyframes slideUp { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } } - `})]})},Z7=({data:e})=>{if(!e)return null;let t=(e.limitUnit||`GB`).toUpperCase(),n=t===`GB`?1024**3:t===`MB`?1024**2:1024,r=Number(e.usagePercent)||0,i=Math.min(100,Math.max(0,r)),a=e.limitValue?parseFloat(e.limitValue):e.totalBytes/n,o=a*r/100;a-o;let s=e.exceeded||r>=100,c=1024**2,l=1024**3,u=1024**4,d=(e=>{let t=Number(e)||0;return t>=u?{val:(t/u).toFixed(2),unit:`TB`}:t>=l?{val:(t/l).toFixed(2),unit:`GB`}:t>=c?{val:(t/c).toFixed(2),unit:`MB`}:{val:(t/1024).toFixed(2),unit:`KB`}})(e.usedBytes);return(0,$.jsxs)(`div`,{style:{padding:`0 12px`,paddingTop:6,borderRadius:10,background:`linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%)`,boxShadow:`0 2px 12px rgba(0, 0, 0, 0.04)`},children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:6,fontSize:12,color:`#475569`},children:e.enabled?(0,$.jsx)($.Fragment,{}):(0,$.jsxs)(`span`,{style:{fontWeight:500,color:`#1e293b`},children:[(0,$.jsx)(O3,{style:{fontSize:12,color:s?`#ef4444`:`#6366f1`,marginRight:4}}),`当前使用 `,d.val,` `,d.unit]})}),e.enabled&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{marginTop:4,display:`flex`,justifyContent:`space-between`,fontSize:11,color:s?`#ef4444`:`#94a3b8`},children:(0,$.jsxs)(`div`,{style:{height:`100%`,width:`100%`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:6,fontSize:12,color:s?`#ffffffff`:`#000000ff`,padding:`0 8px`},children:[(0,$.jsxs)(`span`,{style:{display:`flex`,alignItems:`center`,gap:4},children:[(0,$.jsx)(O3,{style:{fontSize:12,color:s?`#ffffffff`:`#000000ff`}}),r.toFixed(1),`%`]}),e.enabled?(0,$.jsxs)(`span`,{style:{fontWeight:500,color:s?`#ffffffff`:`#000000ff`},children:[o.toFixed(2),` / `,a.toFixed(2),` `,t]}):(0,$.jsxs)(`span`,{style:{fontWeight:500,color:`#1e293b`},children:[`当前使用 `,d.val,` `,d.unit]})]})}),(0,$.jsx)(`div`,{style:{width:`100%`,height:6,background:`#e2e8f0`,borderRadius:50,overflow:`hidden`,position:`relative`},children:(0,$.jsx)(`div`,{style:{width:`${i}%`,height:`100%`,background:r<50?`linear-gradient(90deg, #279951, #b7fad0)`:r<85?`linear-gradient(90deg, #ffd759, #fff6d4)`:`linear-gradient(90deg, #ef4444, #dc2626)`,borderRadius:2,transition:`width 0.4s ease`}})})]})]})},Q7={HomeOutlined:(0,$.jsx)(u6,{}),DashboardOutlined:(0,$.jsx)(T3,{}),CodeOutlined:(0,$.jsx)(s3,{}),PlayCircleOutlined:(0,$.jsx)(T8,{}),WalletOutlined:(0,$.jsx)(W5,{}),SettingOutlined:(0,$.jsx)(t5,{}),BellOutlined:(0,$.jsx)(S4,{}),UserOutlined:(0,$.jsx)(B5,{}),AppstoreOutlined:(0,$.jsx)(Y2,{}),FileTextOutlined:(0,$.jsx)(qH,{}),StarOutlined:(0,$.jsx)(T5,{}),HeartOutlined:(0,$.jsx)(t6,{}),CameraOutlined:(0,$.jsx)(L4,{}),RobotOutlined:(0,$.jsx)(B8,{}),CalculatorOutlined:(0,$.jsx)(P4,{}),DollarOutlined:(0,$.jsx)(j3,{}),GiftOutlined:(0,$.jsx)(Y3,{}),ThunderboltOutlined:(0,$.jsx)(j5,{}),FireOutlined:(0,$.jsx)(U3,{}),CloudOutlined:(0,$.jsx)(Q4,{}),SmileOutlined:(0,$.jsx)(g5,{}),TrophyOutlined:(0,$.jsx)(P5,{}),RocketOutlined:(0,$.jsx)(U8,{}),BulbOutlined:(0,$.jsx)(j4,{}),PictureOutlined:(0,$.jsx)(g8,{}),VideoCameraOutlined:(0,$.jsx)(H5,{}),AudioOutlined:(0,$.jsx)(u4,{}),MailOutlined:(0,$.jsx)(B6,{}),PhoneOutlined:(0,$.jsx)(p8,{}),GlobalOutlined:(0,$.jsx)(Q3,{}),ShoppingCartOutlined:(0,$.jsx)(i5,{}),TeamOutlined:(0,$.jsx)(k5,{}),BarChartOutlined:(0,$.jsx)(y4,{}),PieChartOutlined:(0,$.jsx)(y8,{}),LineChartOutlined:(0,$.jsx)(O6,{}),SecurityScanOutlined:(0,$.jsx)(Q8,{}),ApiOutlined:(0,$.jsx)(K2,{}),DatabaseOutlined:(0,$.jsx)(O3,{}),CloudServerOutlined:(0,$.jsx)(t3,{})},jie=240,$7=[{gradient:`linear-gradient(135deg, #c9a96e, #a67c52)`,shadow:`rgba(201,169,110,0.25)`,icon:(0,$.jsx)(pJ,{})},{gradient:`linear-gradient(135deg, #4a5568, #2d3748)`,shadow:`rgba(74,85,104,0.25)`,icon:(0,$.jsx)(B3,{})},{gradient:`linear-gradient(135deg, #718096, #4a5568)`,shadow:`rgba(113,128,150,0.25)`,icon:(0,$.jsx)(y3,{})},{gradient:`linear-gradient(135deg, #5a67d8, #434190)`,shadow:`rgba(90,103,216,0.25)`,icon:(0,$.jsx)(p4,{})}],Mie=()=>{let e=Ye(),t=Ke(),{user:n,logout:r}=Y7(),[i,a]=(0,S.useState)(!1),[o,s]=(0,S.useState)(!1),[c,l]=(0,S.useState)(!1),[u]=IU.useForm(),[d,f]=(0,S.useState)(null),[p,m]=(0,S.useState)([]),[h,g]=(0,S.useState)([]),[_,v]=(0,S.useState)(0),[y,b]=(0,S.useState)(!1),[x,C]=(0,S.useState)(!1),[w]=IU.useForm(),[T,E]=(0,S.useState)(!1),[D,O]=(0,S.useState)(()=>({x:24,y:window.innerHeight*.75})),[k,A]=(0,S.useState)(!1),j=(0,S.useRef)(!1),M=(0,S.useRef)({x:0,y:0}),[N,P]=(0,S.useState)({}),[F,I]=(0,S.useState)(()=>{let e=localStorage.getItem(`siteInfo`),t=e&&JSON.parse(e).siteName||``;return t&&(document.title=t),t}),[L,R]=(0,S.useState)(()=>{let e=localStorage.getItem(`siteInfo`),t=e&&JSON.parse(e).siteLogo||``;if(t){let e=document.querySelector(`link[rel="icon"]`);e||(e=document.createElement(`link`),e.rel=`icon`,document.head.appendChild(e)),e.href=t,e.type=`image/png`}return t}),[z,B]=(0,S.useState)(!localStorage.getItem(`siteInfo`)),[V,H]=(0,S.useState)(!1),[U,W]=(0,S.useState)(null),[ee,te]=(0,S.useState)(`alipay`),[ne,re]=(0,S.useState)(!1),[G,ie]=(0,S.useState)(180),K=(0,S.useRef)(null),ae=(0,S.useRef)(null),q=(0,S.useRef)(null),[oe,se]=(0,S.useState)({alipay:!1,wechat:!1}),[ce,le]=(0,S.useState)(null),[ue,de]=(0,S.useState)(!1),[fe,pe]=(0,S.useState)(``),me=`pending_payment_order`;(0,S.useEffect)(()=>{g7().then(e=>{let t=e.siteName||`民众智创`,n=e.siteLogo||``;if(t!==F&&(I(t),document.title=t),n&&n!==L){R(n);let e=document.querySelector(`link[rel="icon"]`);e||(e=document.createElement(`link`),e.rel=`icon`,document.head.appendChild(e)),e.href=n,e.type=`image/png`}e.operationManual&&pe(e.operationManual),localStorage.setItem(`siteInfo`,JSON.stringify({siteName:t,siteLogo:n}))}).catch(()=>{}),l7().then(e=>{let t=e?.resourceCapacity;t&&le({enabled:!!t.enabled,usedBytes:Number(t.usedBytes)||0,totalBytes:Number(t.totalBytes)||0,availableBytes:Number(t.availableBytes)||0,usagePercent:Number(t.usagePercent)||0,exceeded:!!t.exceeded,limitValue:t.limitValue??``,limitUnit:t.limitUnit||`GB`})}).catch(e=>{})},[]),(0,S.useEffect)(()=>{let e=()=>de(window.innerWidth<=767);return e(),window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[]);let he=e=>{e.button===0&&(A(!0),j.current=!1,M.current={x:e.clientX,y:e.clientY})},ge=e=>{if(!k)return;let t=Math.abs(e.clientX-M.current.x),n=Math.abs(e.clientY-M.current.y);(t>5||n>5)&&(j.current=!0);let r=Math.max(60,Math.min(window.innerHeight-60,e.clientY-(M.current.y-D.y)));O(e=>({x:e.x,y:r}))},_e=()=>{let e=j.current;A(!1),j.current=!1,e||l(!0)};(0,S.useEffect)(()=>{if(k)return document.addEventListener(`mousemove`,ge),document.addEventListener(`mouseup`,_e),()=>{document.removeEventListener(`mousemove`,ge),document.removeEventListener(`mouseup`,_e)}},[k]);let ve=()=>{y7().then(e=>{v(e)}).catch(()=>{})};(0,S.useEffect)(()=>{(async()=>{let e=localStorage.getItem(me);if(e)try{let t=JSON.parse(e),n=await S7(t.orderNo);if(n.status===`pending`){W({price:t.price,credits:t.credits,qrCode:t.qrCode,method:t.method}),q.current=t.orderNo;let e=Date.now(),n=new Date(t.createdAt).getTime(),r=t.timeoutSeconds||180,i=Math.floor((e-n)/1e3),a=Math.max(0,r-i);a>0?(H(!0),Ae(t.orderNo,a)):localStorage.removeItem(me)}else n.status===`paid`?(Z.success(`支付成功!积分已到账`),Y7.getState().refreshUser(),localStorage.removeItem(me)):localStorage.removeItem(me)}catch{localStorage.removeItem(me)}})()},[]),(0,S.useEffect)(()=>{wre().then(e=>{m(e.filter(e=>e.is_active!==!1&&e.isActive!==!1))}).catch(()=>{}),Tre().then(e=>{g(e.filter(e=>e.is_active!==!1&&e.isActive!==!1))}).catch(()=>{}),Ere().then(e=>{se(e),e.alipay?te(`alipay`):e.wechat&&te(`wechat`)}).catch(()=>{}),ve()},[n]);let ye=t.pathname.startsWith(`/records`)?`/records`:t.pathname,be=jie,xe={};p.forEach(e=>{let t=e.parent_id??e.parentId;t&&(xe[t]||(xe[t]=[]),xe[t].push(e))});let Se=p.filter(e=>!(e.parent_id??e.parentId));Se.sort((e,t)=>(typeof e.sortOrder==`number`?e.sortOrder:1/0)-(typeof t.sortOrder==`number`?t.sortOrder:1/0)),Object.keys(xe).forEach(e=>{xe[e].sort((e,t)=>(typeof e.sortOrder==`number`?e.sortOrder:1/0)-(typeof t.sortOrder==`number`?t.sortOrder:1/0))});let Ce=t=>{let n=t.menu_type??t.menuType,r=xe[t.id]&&xe[t.id].length>0;n===`group`||r?P(e=>({...e,[t.id]:!e[t.id]})):t.path&&(e(t.path),b(!1))},we=[{key:`profile`,icon:(0,$.jsx)(B5,{}),label:`账号: ${n?.username}`,disabled:!0},{key:`credits`,icon:(0,$.jsx)(W5,{style:{color:`#c9a96e`}}),label:`积分: ${n?.credits??0}`,disabled:!0},{type:`divider`},...n?.isTeamManager?[{key:`teamManagement`,icon:(0,$.jsx)(k5,{style:{color:`#6366f1`}}),label:`团队管理`}]:[],{key:`myCredits`,icon:(0,$.jsx)(W5,{}),label:`积分明细`},{key:`orderRecords`,icon:(0,$.jsx)(qH,{}),label:`订单记录`},{key:`messages`,icon:(0,$.jsx)(S4,{}),label:`消息中心${_>0?`(${_})`:``}`},...fe?[{key:`manual`,icon:(0,$.jsx)(qH,{}),label:`操作手册`}]:[],{type:`divider`},{key:`changePwd`,icon:(0,$.jsx)(j6,{}),label:`修改密码`},{type:`divider`},{key:`logout`,icon:(0,$.jsx)(L6,{}),label:`退出登录`,danger:!0}],Te=({key:t})=>{t===`logout`?(r(),e(`/login`)):t===`changePwd`?a(!0):t===`messages`?e(`/messages`):t===`recharge`?s(!0):t===`teamManagement`?e(`/team-management`):t===`myCredits`?e(`/user-center?tab=credits`):t===`orderRecords`?e(`/user-center?tab=orders`):t===`manual`&&window.open(fe,`_blank`)},Ee=async()=>{try{let e=await u.validateFields();await u7(e.oldPwd,e.newPwd),Z.success(`密码修改成功`),a(!1),u.resetFields()}catch(e){e?.response?.data?.detail?Z.error(e.response.data.detail):e?.message&&Z.error(e.message)}},De=()=>{r(),e(`/login`)},Oe=async()=>{if(!n){Z.warning(`请先登录`);return}try{let e=await w.validateFields();E(!0),await tie({phone:e.phone,company_name:e.companyName,industry:e.industry,name:e.name,message:e.message}),Z.success(`提交成功,我们会尽快与您联系`),l(!1),w.resetFields()}catch(e){Z.error(e?.message||`提交失败`)}finally{E(!1)}},ke=(0,S.useCallback)(()=>{K.current&&=(clearInterval(K.current),null),ae.current&&=(clearInterval(ae.current),null)},[]),Ae=(0,S.useCallback)((e,t=180)=>{ke(),ie(t),K.current=setInterval(async()=>{try{let t=await S7(e);t.status===`paid`?(ke(),q.current=null,localStorage.removeItem(me),Z.success(`支付成功!积分已到账`),Y7.getState().refreshUser(),H(!1),W(null),f(null)):t.status===`cancelled`&&(ke(),q.current=null,localStorage.removeItem(me))}catch{}},2e3),ae.current=setInterval(()=>{ie(e=>e<=1?(ke(),q.current&&=(C7(q.current).catch(()=>{}),null),localStorage.removeItem(me),Z.warning(`订单已超时,请重新充值`),H(!1),W(null),f(null),0):e-1)},1e3)},[ke]),je=(t,n=0)=>{let r=t.path===ye,i=Q7[t.icon]||(0,$.jsx)(u6,{}),a=xe[t.id]&&xe[t.id].length>0,o=(t.menu_type??t.menuType)===`group`;return(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{onClick:()=>{!(o||a)&&t.path&&e(t.path)},style:{display:`flex`,alignItems:`center`,justifyContent:`flex-start`,gap:10,padding:n>0?`6px 12px 6px 32px`:`6px 14px`,borderRadius:12,margin:`1px 4px`,cursor:o||a?`default`:`pointer`,fontSize:n>0?13:14,fontWeight:r?600:400,color:r?`#4f46e5`:o?`#94a3b8`:`#475569`,background:r?`linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%)`:`transparent`,transition:`all 0.2s ease`},onMouseEnter:e=>{!o&&!r&&!(o||a)&&(e.currentTarget.style.background=`rgba(99, 102, 241, 0.05)`)},onMouseLeave:e=>{r||(e.currentTarget.style.background=`transparent`)},children:[!o&&(0,$.jsx)(`span`,{style:{fontSize:n>0?14:16,flexShrink:0,color:r?`#6366f1`:`#64748b`},children:i}),(0,$.jsx)(`span`,{style:{whiteSpace:`nowrap`,flex:1,textAlign:`left`,fontWeight:o||r?600:400,fontSize:o?12:n>0?13:14,textTransform:o?`uppercase`:`none`,letterSpacing:o?.5:0},children:t.label})]}),(o||a)&&(0,$.jsx)(`div`,{style:{overflow:`hidden`},children:(xe[t.id]||[]).map(e=>je(e,n+1))})]},t.id)};return(0,$.jsxs)(EG,{style:{minHeight:`100vh`},children:[(0,$.jsxs)(`div`,{className:`desktop-sidebar`,style:{width:be,position:`fixed`,left:16,top:16,bottom:16,zIndex:100,background:`linear-gradient(180deg, #ffffff 0%, #f8fafc 100%)`,borderRadius:`20px`,boxShadow:`0 4px 32px rgba(0, 0, 0, 0.06), 0 1px 8px rgba(0, 0, 0, 0.04)`,display:`flex`,flexDirection:`column`,transition:`width 0.25s ease, left 0.25s ease`,overflow:`hidden`,border:`1px solid rgba(0, 0, 0, 0.06)`},children:[(0,$.jsx)(`div`,{style:{height:80,display:`flex`,alignItems:`center`,justifyContent:`flex-start`,padding:`0 20px`,flexShrink:0,background:`linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.04) 100%)`},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:14,cursor:`pointer`},onClick:()=>{e(`/home`)},children:[(0,$.jsx)(`div`,{style:{width:42,height:42,borderRadius:14,flexShrink:0,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.35)`,overflow:`hidden`},children:L?(0,$.jsx)(`img`,{src:L,alt:`logo`,style:{width:28,height:28,objectFit:`contain`}}):(0,$.jsx)(j5,{style:{fontSize:20,color:`#ffffff`}})}),(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:17,fontWeight:700,letterSpacing:-.02,whiteSpace:`nowrap`,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:F})]})}),(0,$.jsx)(`div`,{style:{flex:1,padding:`8px 8px`,overflow:`auto`},children:Se.map(e=>je(e))}),(0,$.jsxs)(`div`,{onClick:()=>s(!0),style:{margin:`8px 12px`,padding:`12px 20px`,borderRadius:14,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,gap:8,color:`#ffffff`,fontSize:14,fontWeight:600,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.4)`,transition:`all 0.3s ease`},onMouseEnter:e=>{e.currentTarget.style.background=`linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%)`,e.currentTarget.style.transform=`translateY(-1px)`,e.currentTarget.style.boxShadow=`0 6px 20px rgba(99, 102, 241, 0.5)`},onMouseLeave:e=>{e.currentTarget.style.background=`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,e.currentTarget.style.transform=`translateY(0)`,e.currentTarget.style.boxShadow=`0 4px 16px rgba(99, 102, 241, 0.4)`},children:[(0,$.jsx)(IL,{style:{fontSize:16}}),(0,$.jsx)(`span`,{children:`充值积分`})]}),(0,$.jsx)(Z7,{data:ce}),(0,$.jsx)(`div`,{style:{padding:`16px 16px`,flexShrink:0,paddingTop:0},children:(0,$.jsx)(WH,{menu:{items:we,onClick:Te},placement:`topRight`,arrow:!0,children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`flex-start`,gap:12,borderRadius:14,cursor:`pointer`,transition:`all 0.25s ease`,background:`linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%)`,boxShadow:`0 2px 12px rgba(0, 0, 0, 0.04)`},onMouseEnter:e=>{e.currentTarget.style.background=`linear-gradient(135deg, #ffffff 0%, #f8fafc 100%)`,e.currentTarget.style.boxShadow=`0 4px 16px rgba(0, 0, 0, 0.08)`},onMouseLeave:e=>{e.currentTarget.style.background=`linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%)`,e.currentTarget.style.boxShadow=`0 2px 12px rgba(0, 0, 0, 0.04)`},children:[(0,$.jsx)(aT,{size:36,icon:(0,$.jsx)(B5,{}),style:{background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,flexShrink:0,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`}}),(0,$.jsxs)(`div`,{style:{flex:1,minWidth:0},children:[(0,$.jsx)(`div`,{style:{color:`#1e293b`,fontSize:16,fontWeight:600,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,letterSpacing:-.01},children:n?.username}),(0,$.jsxs)(`div`,{style:{color:`#6366f1`,fontSize:16,fontWeight:500,letterSpacing:0,borderRadius:6,display:`inline-block`},children:[`积分: `,n?.credits||0]})]})]})})})]}),(0,$.jsx)(`div`,{className:`desktop-content`,style:{marginLeft:be+28,marginRight:12,marginTop:16,marginBottom:16,flex:1,minHeight:`calc(100vh - 32px)`,background:`transparent`,padding:0,transition:`margin-left 0.25s ease`},children:(0,$.jsx)(`div`,{style:{boxSizing:`border-box`,height:`100%`,background:`#ffffffff`,borderRadius:`20px`,boxShadow:`0 4px 32px rgba(0, 0, 0, 0.06), 0 1px 8px rgba(0, 0, 0, 0.04)`,minHeight:`100%`,padding:`24px 32px 32px`,border:`1px solid rgba(0, 0, 0, 0.06)`},children:!ue&&(0,$.jsx)(wt,{})})}),(0,$.jsx)(`div`,{className:`mobile-header`,children:(0,$.jsxs)(`div`,{className:`mobile-header-content`,children:[(0,$.jsx)(`div`,{className:`mobile-menu-btn`,onClick:()=>b(!0),children:(0,$.jsx)(K6,{style:{fontSize:20}})}),(0,$.jsx)(`div`,{className:`mobile-header-title`,children:F}),(0,$.jsx)(`div`,{className:`mobile-header-right`,children:(0,$.jsxs)(`div`,{className:`mobile-credits-badge`,onClick:()=>s(!0),children:[(0,$.jsx)(W5,{}),(0,$.jsx)(`span`,{children:n?.credits||0})]})})]})}),(0,$.jsx)(`div`,{className:`mobile-content`,children:ue&&(0,$.jsx)(wt,{})}),(0,$.jsxs)(NH,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:36,height:36,borderRadius:10,flexShrink:0,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.35)`},children:L?(0,$.jsx)(`img`,{src:L,alt:`logo`,style:{width:24,height:24,objectFit:`contain`}}):(0,$.jsx)(j5,{style:{fontSize:18,color:`#ffffff`}})}),(0,$.jsx)(`span`,{style:{fontWeight:700,fontSize:16,color:`#1e293b`},children:F})]}),placement:`left`,onClose:()=>b(!1),open:y,width:280,closable:!0,className:`mobile-menu-drawer`,styles:{header:{borderBottom:`1px solid #f1f5f9`,padding:`16px 20px`},body:{padding:`12px 8px`,display:`flex`,flexDirection:`column`}},children:[(0,$.jsxs)(`div`,{style:{flex:1,overflow:`auto`,paddingBottom:12},children:[(0,$.jsx)(`div`,{style:{padding:`12px 8px 16px`},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12,marginBottom:16},children:[(0,$.jsx)(aT,{size:44,style:{background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,flexShrink:0},children:(0,$.jsx)(B5,{})}),(0,$.jsxs)(`div`,{style:{flex:1,minWidth:0},children:[(0,$.jsx)(`div`,{style:{fontSize:15,fontWeight:600,color:`#1e293b`,marginBottom:2},children:n?.username||`用户`}),(0,$.jsxs)(`div`,{style:{fontSize:13,color:`#64748b`},children:[(0,$.jsx)(W5,{style:{color:`#f59e0b`,marginRight:4}}),`积分: `,(0,$.jsx)(`span`,{style:{color:`#f59e0b`,fontWeight:600},children:n?.credits??0})]})]})]})}),(0,$.jsx)(Z7,{data:ce}),Se.map(e=>{let t=e.menu_type??e.menuType,n=xe[e.id]&&xe[e.id].length>0,r=e.path===ye,i=N[e.id],a=Q7[e.icon]||(0,$.jsx)(u6,{});return(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{className:`mobile-menu-item ${r&&!n?`mobile-menu-item-active`:``} ${t===`group`?`mobile-menu-group`:``}`,onClick:()=>Ce(e),children:[t!==`group`&&(0,$.jsx)(`span`,{className:`mobile-menu-icon`,style:{color:r?`#6366f1`:`#64748b`},children:a}),(0,$.jsx)(`span`,{className:`mobile-menu-label`,style:{paddingLeft:0,color:t===`group`?`#94a3b8`:r?`#4f46e5`:`#475569`,fontWeight:t===`group`||r?600:400,fontSize:t===`group`?12:15,textTransform:t===`group`?`uppercase`:`none`,letterSpacing:t===`group`?.5:0},children:e.label}),(t===`group`||n)&&(0,$.jsx)(`span`,{style:{fontSize:12,color:`#cbd5e1`,transition:`transform 0.2s ease`,transform:i?`rotate(90deg)`:`rotate(0deg)`},children:(0,$.jsx)(zg,{})})]}),(t===`group`||n)&&i&&(0,$.jsx)(`div`,{className:`mobile-submenu`,children:(xe[e.id]||[]).map(e=>{let t=e.path===ye,n=Q7[e.icon]||(0,$.jsx)(u6,{});return(0,$.jsxs)(`div`,{className:`mobile-menu-item mobile-submenu-item ${t?`mobile-menu-item-active`:``}`,onClick:()=>Ce(e),children:[(0,$.jsx)(`span`,{className:`mobile-menu-icon`,style:{color:t?`#6366f1`:`#94a3b8`},children:n}),(0,$.jsx)(`span`,{className:`mobile-menu-label`,style:{color:t?`#4f46e5`:`#64748b`,fontWeight:t?600:400,fontSize:14},children:e.label})]},e.id)})})]},e.id)})]}),(0,$.jsxs)(`div`,{style:{padding:`8px 0`,borderTop:`1px solid #f1f5f9`},children:[(0,$.jsxs)(`div`,{className:`mobile-menu-item`,onClick:()=>{e(`/user-center?tab=credits`),b(!1)},children:[(0,$.jsx)(`span`,{className:`mobile-menu-icon`,style:{color:`#f59e0b`},children:(0,$.jsx)(W5,{})}),(0,$.jsx)(`span`,{className:`mobile-menu-label`,style:{color:`#475569`},children:`积分明细`})]}),(0,$.jsxs)(`div`,{className:`mobile-menu-item`,onClick:()=>{e(`/user-center?tab=orders`),b(!1)},children:[(0,$.jsx)(`span`,{className:`mobile-menu-icon`,style:{color:`#6366f1`},children:(0,$.jsx)(qH,{})}),(0,$.jsx)(`span`,{className:`mobile-menu-label`,style:{color:`#475569`},children:`订单记录`})]}),(0,$.jsxs)(`div`,{className:`mobile-menu-item`,onClick:()=>{e(`/messages`),b(!1)},children:[(0,$.jsx)(`span`,{className:`mobile-menu-icon`,style:{color:`#8b5cf6`},children:(0,$.jsx)(S4,{})}),(0,$.jsxs)(`span`,{className:`mobile-menu-label`,style:{color:`#475569`},children:[`消息中心`,_>0&&(0,$.jsx)(j$,{color:`red`,style:{marginLeft:8,fontSize:11},children:_})]})]}),(0,$.jsxs)(`div`,{className:`mobile-menu-item`,onClick:()=>{a(!0),b(!1)},children:[(0,$.jsx)(`span`,{className:`mobile-menu-icon`,style:{color:`#0ea5e9`},children:(0,$.jsx)(j6,{})}),(0,$.jsx)(`span`,{className:`mobile-menu-label`,style:{color:`#475569`},children:`修改密码`})]}),(0,$.jsx)(`div`,{style:{height:8}}),(0,$.jsxs)(`div`,{className:`mobile-menu-item mobile-recharge-item`,onClick:()=>{s(!0),b(!1)},children:[(0,$.jsx)(`span`,{className:`mobile-menu-icon`,style:{color:`#fff`},children:(0,$.jsx)(IL,{})}),(0,$.jsx)(`span`,{className:`mobile-menu-label`,style:{color:`#fff`,fontWeight:600},children:`充值积分`})]}),(0,$.jsxs)(`div`,{className:`mobile-menu-item`,onClick:()=>{De(),b(!1)},children:[(0,$.jsx)(`span`,{className:`mobile-menu-icon`,style:{color:`#ef4444`},children:(0,$.jsx)(L6,{})}),(0,$.jsx)(`span`,{className:`mobile-menu-label`,style:{color:`#ef4444`},children:`退出登录`})]})]})]}),(0,$.jsx)(YK,{title:(0,$.jsxs)(HH,{children:[(0,$.jsx)(j6,{}),`修改密码`]}),open:i,onOk:Ee,onCancel:()=>{a(!1),u.resetFields()},okText:`确认修改`,cancelText:`取消`,width:440,children:(0,$.jsxs)(IU,{form:u,layout:`vertical`,style:{marginTop:20},children:[(0,$.jsx)(IU.Item,{name:`oldPwd`,label:`原密码`,rules:[{required:!0,message:`请输入原密码`}],children:(0,$.jsx)(_G.Password,{placeholder:`请输入原密码`,size:`large`,prefix:(0,$.jsx)(j6,{style:{color:`#94a3b8`,marginRight:8}})})}),(0,$.jsx)(IU.Item,{name:`newPwd`,label:`新密码`,rules:[{required:!0,message:`请输入新密码`},{min:6,message:`密码至少6位`}],children:(0,$.jsx)(_G.Password,{placeholder:`请输入新密码(至少6位)`,size:`large`,prefix:(0,$.jsx)(j6,{style:{color:`#94a3b8`,marginRight:8}})})}),(0,$.jsx)(IU.Item,{name:`confirmPwd`,label:`确认新密码`,rules:[{required:!0,message:`请再次输入新密码`},({getFieldValue:e})=>({validator(t,n){return!n||e(`newPwd`)===n?Promise.resolve():Promise.reject(Error(`两次密码不一致`))}})],children:(0,$.jsx)(_G.Password,{placeholder:`请再次输入新密码`,size:`large`,prefix:(0,$.jsx)(j6,{style:{color:`#94a3b8`,marginRight:8}})})})]})}),(0,$.jsx)(YK,{title:(0,$.jsxs)(HH,{children:[(0,$.jsx)(Y3,{}),`积分充值`]}),open:o,onCancel:()=>{s(!1),f(null)},width:680,className:`recharge-modal`,footer:(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,padding:`12px 0 0`,borderTop:`1px solid #f0f0f0`},children:[(0,$.jsx)(X,{size:`large`,onClick:()=>{s(!1),f(null)},style:{borderRadius:10,marginRight:12},children:`取消`}),(0,$.jsx)(X,{type:`primary`,size:`large`,disabled:!d||!oe.alipay&&!oe.wechat,loading:ne,onClick:async()=>{let e=h.find(e=>e.id===d);if(!e)return;let t=(e.credits||0)+(e.bonus_credits||e.bonusCredits||0);try{re(!0);let n=await Dre(e.id,ee),r=n.qrUrl||n.codeUrl||n.qr_code||n.code_url;(n.paymentMethod===`alipay`||n.paymentMethod===`wechat`)&&r?(W({price:e.price,credits:t,qrCode:r,method:n.paymentMethod}),s(!1),H(!0),q.current=n.orderNo,localStorage.setItem(me,JSON.stringify({orderNo:n.orderNo,price:e.price,credits:t,qrCode:r,method:n.paymentMethod,createdAt:n.createdAt||new Date().toISOString(),timeoutSeconds:180})),Ae(n.orderNo)):(Z.success(`充值成功!积分已到账`),Y7.getState().refreshUser(),s(!1),f(null))}catch(e){Z.error(e?.message||`创建订单失败,请重试`)}finally{re(!1)}},style:{borderRadius:10,fontWeight:600,background:d?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`#d1d5db`,border:`none`,boxShadow:d?`0 8px 24px rgba(99,102,241,0.3)`:`none`},children:`确认充值`})]}),children:(0,$.jsxs)(`div`,{style:{marginTop:16},children:[(0,$.jsxs)(HH,{style:{marginBottom:16},children:[(0,$.jsx)(W5,{style:{color:`#6366f1`}}),(0,$.jsx)(Q.Text,{style:{color:`#64748b`,letterSpacing:0},children:`当前积分余额`}),(0,$.jsx)(Q.Text,{strong:!0,style:{color:`#6366f1`,fontSize:20,fontWeight:600},children:n?.credits??0})]}),!oe.alipay&&!oe.wechat?(0,$.jsx)(`div`,{style:{marginBottom:16,padding:16,background:`#fef2f2`,borderRadius:12,border:`1px solid #fecaca`},children:(0,$.jsx)(Q.Text,{style:{color:`#dc2626`,fontSize:13},children:`⚠️ 暂无可用的支付方式,请联系管理员开启支付功能`})}):(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(Q.Text,{style:{color:`#64748b`,fontSize:13,marginBottom:8,display:`block`},children:`选择支付方式`}),(0,$.jsxs)(XI.Group,{value:ee,onChange:e=>te(e.target.value),style:{display:`flex`,gap:12},children:[oe.alipay&&(0,$.jsxs)(XI.Button,{value:`alipay`,style:{flex:1,textAlign:`center`,borderRadius:10,height:44,lineHeight:`42px`,borderColor:ee===`alipay`?`#1677ff`:void 0,color:ee===`alipay`?`#1677ff`:void 0},children:[(0,$.jsx)(U2,{style:{fontSize:16,marginRight:6}}),`支付宝`]}),oe.wechat&&(0,$.jsxs)(XI.Button,{value:`wechat`,style:{flex:1,textAlign:`center`,borderRadius:10,height:44,lineHeight:`42px`,borderColor:ee===`wechat`?`#07c160`:void 0,color:ee===`wechat`?`#07c160`:void 0},children:[(0,$.jsx)(q5,{style:{fontSize:16,marginRight:6}}),`微信支付`]})]})]}),(0,$.jsxs)(`div`,{style:{padding:`12px 16px`,background:`rgba(99, 102, 241, 0.06)`,borderRadius:10,marginBottom:16,display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(g6,{style:{color:`#6366f1`,fontSize:14}}),(0,$.jsxs)(Q.Text,{style:{color:`#64748b`,fontSize:13},children:[`当前平台仅支持支付宝/微信扫码充值,如需转账支付请`,(0,$.jsx)(Q.Text,{style:{color:`#ff0000ff`,cursor:`pointer`,textDecoration:`underline`},onClick:()=>{s(!1),l(!0)},children:`联系我们`})]})]}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:12,flexWrap:`wrap`},children:h.map((e,t)=>{let n=$7[t%$7.length],r=(e.credits||0)+(e.bonus_credits||e.bonusCredits||0);return(0,$.jsxs)(`div`,{onClick:()=>f(e.id),style:{flex:`1 1 45%`,minWidth:200,borderRadius:16,padding:`20px 16px`,background:d===e.id?`rgba(99,102,241,0.04)`:`#fafbff`,border:d===e.id?`2px solid #6366f1`:`1px solid #f0f0f5`,cursor:`pointer`,position:`relative`,transition:`all 0.2s`},children:[e.description&&(0,$.jsx)(j$,{color:`purple`,style:{position:`absolute`,top:-10,left:`50%`,transform:`translateX(-50%)`,borderRadius:8,fontSize:11},children:e.description}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:44,height:44,borderRadius:12,flexShrink:0,background:n.gradient,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:18,color:`#fff`,boxShadow:`0 6px 16px ${n.shadow}`},children:n.icon}),(0,$.jsxs)(`div`,{style:{flex:1},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`baseline`,gap:6},children:[(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:15},children:e.name}),(0,$.jsxs)(Q.Text,{style:{fontSize:14,fontWeight:600,color:`#6366f1`},children:[r.toLocaleString(),` 积分`]})]}),(0,$.jsxs)(`div`,{style:{fontSize:22,fontWeight:800,marginTop:4,background:n.gradient,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`},children:[`¥`,e.price]})]})]})]},e.id)})})]})}),(0,$.jsx)(YK,{open:V,onCancel:async()=>{if(ke(),q.current){try{await C7(q.current)}catch{}q.current=null}localStorage.removeItem(me),H(!1),W(null)},footer:null,width:400,closable:!1,styles:{body:{padding:0,borderRadius:16,overflow:`hidden`}},children:(0,$.jsxs)(`div`,{style:{padding:`24px`},children:[(0,$.jsxs)(`div`,{style:{textAlign:`center`,marginBottom:24},children:[(0,$.jsx)(`div`,{style:{width:48,height:48,background:U?.method===`alipay`?`linear-gradient(135deg, #1677ff, #0958d9)`:`linear-gradient(135deg, #07c160, #06ae56)`,borderRadius:16,display:`flex`,alignItems:`center`,justifyContent:`center`,margin:`0 auto 12px`},children:U?.method===`alipay`?(0,$.jsx)(U2,{style:{fontSize:24,color:`#fff`}}):(0,$.jsx)(q5,{style:{fontSize:24,color:`#fff`}})}),(0,$.jsx)(Q.Title,{level:4,style:{margin:0},children:U?.method===`alipay`?`支付宝支付`:`微信支付`}),(0,$.jsx)(Q.Text,{style:{color:`#94a3b8`,fontSize:13},children:U?.method===`alipay`?`请使用支付宝扫描二维码完成支付`:`请使用微信扫描二维码完成支付`})]}),(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:16,padding:20,display:`flex`,flexDirection:`column`,alignItems:`center`,boxShadow:`0 4px 20px rgba(0,0,0,0.08)`},children:[(0,$.jsx)(`div`,{style:{width:180,height:180,borderRadius:12,overflow:`hidden`,background:`#fff`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:U&&(0,$.jsx)(B2,{value:U.qrCode,size:160,level:`M`,includeMargin:!1})}),(0,$.jsxs)(`div`,{style:{marginTop:16,textAlign:`center`},children:[(0,$.jsxs)(`div`,{style:{fontSize:28,fontWeight:700,color:`#1a1a2e`},children:[`¥`,U?.price||0]}),(0,$.jsxs)(`div`,{style:{fontSize:13,color:`#64748b`,marginTop:4},children:[`购买 `,U?.credits||0,` 积分`]}),(0,$.jsx)(`div`,{style:{marginTop:12,padding:`8px 16px`,background:G<=30?`#fef2f2`:`#f0f9ff`,borderRadius:8,border:G<=30?`1px solid #fecaca`:`1px solid #bae6fd`,display:`inline-block`},children:(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:G<=30?`#dc2626`:`#0284c7`},children:[`订单将在 `,(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:800},children:G}),` 秒后关闭`]})})]})]}),(0,$.jsx)(`div`,{style:{marginTop:20,padding:16,background:`#fef3c7`,borderRadius:12},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`flex-start`,gap:8},children:[(0,$.jsx)(`div`,{style:{fontSize:16,marginTop:-2},children:`💡`}),(0,$.jsxs)(`div`,{style:{fontSize:13,color:`#92400e`},children:[(0,$.jsx)(`div`,{style:{fontWeight:500,marginBottom:4},children:`支付提示`}),(0,$.jsxs)(`ul`,{style:{margin:0,paddingLeft:16},children:[(0,$.jsx)(`li`,{style:{marginBottom:2},children:`请在支付后等待页面自动跳转`}),(0,$.jsx)(`li`,{children:`如支付成功但未到账,请联系客服`})]})]})]})}),(0,$.jsx)(`div`,{style:{marginTop:20},children:(0,$.jsx)(X,{size:`large`,block:!0,onClick:async()=>{if(ke(),q.current){try{await C7(q.current)}catch{}q.current=null}localStorage.removeItem(me),H(!1),W(null),f(null)},style:{borderRadius:10},children:`取消支付`})})]})}),(0,$.jsx)(Aie,{}),(0,$.jsx)(`div`,{className:`contact-button-wrapper`,style:{right:`${D.x}px`,bottom:`${window.innerHeight-D.y}px`},children:(0,$.jsxs)(`div`,{style:{position:`relative`},children:[(0,$.jsx)(`div`,{className:`contact-tooltip`,style:{opacity:+!!x},children:`联系我们`}),(0,$.jsx)(`button`,{className:`contact-button ${k?`dragging`:``}`,onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1),onMouseDown:he,onMouseUp:_e,children:(0,$.jsx)(Y6,{style:{fontSize:20}})})]})}),(0,$.jsx)(YK,{title:(0,$.jsxs)(HH,{children:[(0,$.jsx)(Y6,{}),`联系我们`]}),open:c,onCancel:()=>{l(!1),w.resetFields()},footer:null,width:480,className:`contact-modal`,children:(0,$.jsxs)(`div`,{style:{marginTop:8},children:[(0,$.jsxs)(IU,{form:w,layout:`vertical`,children:[(0,$.jsx)(IU.Item,{name:`name`,label:`姓名`,rules:[{required:!0,message:`请输入姓名`}],children:(0,$.jsx)(_G,{placeholder:`请输入您的姓名`,size:`large`})}),(0,$.jsx)(IU.Item,{name:`phone`,label:`手机号`,rules:[{required:!0,message:`请输入手机号`},{pattern:/^1[3-9]\d{9}$/,message:`请输入正确的手机号`}],children:(0,$.jsx)(_G,{placeholder:`请输入您的手机号`,size:`large`})}),(0,$.jsx)(IU.Item,{name:`companyName`,label:`公司名称`,rules:[{required:!0,message:`请输入公司名称`}],children:(0,$.jsx)(_G,{placeholder:`请输入公司名称`,size:`large`})}),(0,$.jsx)(IU.Item,{name:`industry`,label:`您的行业`,rules:[{required:!0,message:`请输入您的行业`}],children:(0,$.jsx)(_G,{placeholder:`请输入您的行业`,size:`large`})}),(0,$.jsx)(IU.Item,{name:`message`,label:`留言(选填)`,children:(0,$.jsx)(_G.TextArea,{placeholder:`请输入您的需求或问题`,rows:3,style:{borderRadius:10}})})]}),(0,$.jsxs)(`div`,{style:{marginTop:16,display:`flex`,gap:12},children:[(0,$.jsx)(X,{size:`large`,onClick:()=>{l(!1),w.resetFields()},style:{borderRadius:10,flex:1},children:`取消`}),(0,$.jsx)(X,{type:`primary`,size:`large`,onClick:Oe,loading:T,style:{borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,flex:1},children:`提交`})]})]})})]})},Nie=`http://localhost:8000/api`,Pie=()=>{let{checkAuth:e}=Y7(),[t,n]=(0,S.useState)(!1),[r,i]=(0,S.useState)(`password`),[a,o]=(0,S.useState)(`password`),[s]=On(),c=s.get(`redirect`),l=s.get(`tab`),[u,d]=(0,S.useState)(0),[f,p]=(0,S.useState)(0),[m,h]=(0,S.useState)(!1),[g,_]=(0,S.useState)(!1),[v,y]=(0,S.useState)(!1),[b,x]=(0,S.useState)(!1),[C,w]=(0,S.useState)(0),[T,E]=(0,S.useState)(!1),[D,O]=(0,S.useState)(!1),k=(()=>{try{let e=localStorage.getItem(`siteInfo`);if(e){let t=JSON.parse(e);return{siteName:t.siteName||`VideoGen.AI`,siteLogo:t.siteLogo||``}}}catch{}return{siteName:`VideoGen.AI`,siteLogo:``}})(),[A,j]=(0,S.useState)(k.siteName),[M,N]=(0,S.useState)(k.siteLogo),[P,F]=(0,S.useState)(``),[I,L]=(0,S.useState)(``),R=Ye(),{login:z}=Y7(),[B]=IU.useForm(),[V]=IU.useForm(),[H]=IU.useForm();(0,S.useEffect)(()=>{g7().then(e=>{j(e.siteName),N(e.siteLogo),F(e.userAgreementPrivacyUrl),L(e.siteCopyright)}).catch(()=>{})},[]),(0,S.useEffect)(()=>{l===`register`&&i(`register`)},[l]);let U=()=>{if(c)try{R(decodeURIComponent(c));return}catch{}R(`/home`)},W=()=>m?!0:(Z.warning(`请先阅读并同意用户协议及隐私政策`),!1),ee=async()=>{if(W())try{let t=await B.validateFields();await z(t.phone,t.password,void 0,t.rememberMe),Z.success(`登录成功,欢迎回来`),await e(),U()}catch(e){let t=e?.response?.data?.detail||e?.response?.data?.message||e?.message||`登录失败`;Z.error(t)}},te=async()=>{if(W())try{let t=V.getFieldsValue();if(!t.phone||!t.code){Z.error(`请填写手机号和验证码`);return}n(!0),await fre(t.phone,t.code),Z.success(`登录成功,欢迎回来`),await e(),U()}catch(e){let t=e?.response?.data?.detail||e?.response?.data?.message||e?.message||`登录失败`;Z.error(t)}finally{n(!1)}},ne=async()=>{if(W())try{let t=await H.validateFields();n(!0),await pre(t.phone,t.regCode,t.password),Z.success(`注册成功`),await e(),U()}catch(e){let t=e?.response?.data?.detail||e?.response?.data?.message||e?.message||`注册失败`;Z.error(t)}finally{n(!1)}},re=(e,t)=>{e(60);let n=setInterval(()=>{e(e=>e<=1?(clearInterval(n),_(!1),t?E(!0):O(!0),0):e-1)},1e3)};(0,S.useEffect)(()=>{u===0&&r===`phone`&&x(!1)},[u,r]);let G=async(e,t)=>{try{if(!e||!/^1\d{10}$/.test(e)){Z.error(`请输入正确的手机号`);return}if(t){_(!0),y(!1);return}if(!b){_(!0),x(!1);return}let n=``;n=r===`register`?`register`:`login`,await _7(e,n),re(t?p:d),Z.success(`验证码已发送`)}catch(e){let t=e?.response?.data?.detail||e?.response?.data?.message||e?.message||`登录失败`;Z.error(t),r===`register`?(y(!1),p(0)):(x(!1),d(0)),w(e=>e+1)}},ie=async(e=!1)=>{let t=r===`register`?H.getFieldValue(`phone`):V.getFieldValue(`phone`);try{let e=``;e=r===`register`?`register`:`login`,await _7(t,e),r===`register`?(y(!0),re(p,!0)):(x(!0),re(d,!1)),Z.success(`验证码已发送`)}catch(e){let t=e?.response?.data?.detail||e?.response?.data?.message||e?.message||`登录失败`;Z.error(t),r===`register`?(y(!1),p(0),E(!0)):(x(!1),d(0),O(!0)),w(e=>e+1)}},K=e=>{o(e),i(e),d(0),p(0),x(!1),y(!1),_(!1),E(!1),O(!1),w(e=>e+1),e===`password`?B.resetFields():V.resetFields()},ae=[{icon:(0,$.jsx)(j4,{}),title:`AI 智能优化`,desc:`输入原始提示词,AI 自动为您生成专业级视频、图片描述`},{icon:(0,$.jsx)(T8,{}),title:`一键生成视频、图片`,desc:`支持多种规格生成视频、图片`},{icon:(0,$.jsx)(s6,{}),title:`项目维度管理`,desc:`按项目行业分类视频、图片,支持多种行业`}],q={background:`#fff`,border:`1.5px solid #e2e8f0`,color:`#1e293b`,borderRadius:10,fontSize:14},oe=e=>{if(!e){Z.warning(`暂未上传协议文件`);return}e.startsWith(`http://`)||e.startsWith(`https://`)?window.open(e,`_blank`):window.open(`${Nie.replace(/\/api$/,``)}${e}`,`_blank`)};return(0,$.jsxs)(`div`,{className:`login-page`,children:[(0,$.jsx)(`div`,{className:`login-bg-overlay`}),(0,$.jsx)(`div`,{className:`login-decoration login-decoration-1`}),(0,$.jsx)(`div`,{className:`login-decoration login-decoration-2`}),(0,$.jsx)(`div`,{className:`login-left-section`,children:(0,$.jsxs)(HH,{direction:`vertical`,size:36,className:`login-left-content`,children:[(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{className:`login-logo-row`,children:[M?(0,$.jsx)(`img`,{src:M,alt:`logo`,className:`login-logo-img`}):(0,$.jsx)(`div`,{className:`login-logo-placeholder`,children:(0,$.jsx)(j5,{style:{fontSize:26,color:`#fff`}})}),(0,$.jsx)(`span`,{className:`login-site-name`,children:A})]}),(0,$.jsx)(`div`,{className:`shiny-text-container`,children:(0,$.jsx)(`span`,{className:`shiny-text`,children:`AI赋能创意,素材触手可及`})}),(0,$.jsxs)(Q.Paragraph,{className:`login-desc`,children:[`专业的 AI 素材生成平台,通过智能提示词优化,`,(0,$.jsx)(`br`,{}),`让您的创意快速转化为精美视频、图片`]})]}),(0,$.jsx)(`div`,{className:`login-features-list`,children:ae.map((e,t)=>(0,$.jsxs)(`div`,{className:`electric-border-card login-feature-card`,children:[(0,$.jsx)(`div`,{className:`electric-border`}),(0,$.jsx)(`div`,{className:`electric-border-inner`}),(0,$.jsx)(`div`,{style:{position:`relative`,zIndex:1},children:(0,$.jsx)(`div`,{className:`login-feature-icon`,children:e.icon})}),(0,$.jsxs)(`div`,{style:{position:`relative`,zIndex:1},children:[(0,$.jsx)(Q.Text,{className:`login-feature-title`,children:e.title}),(0,$.jsx)(Q.Text,{className:`login-feature-desc`,children:e.desc})]})]},t))})]})}),(0,$.jsxs)(`div`,{className:`login-right-section`,children:[(0,$.jsx)(`div`,{className:`login-right-section-inner`,children:(0,$.jsxs)(oR,{className:`login-card`,styles:{body:{padding:`36px 28px`}},children:[(0,$.jsx)(Q.Title,{level:3,className:`login-card-title`,children:r===`register`?`创建账号`:`欢迎回来`}),(0,$.jsx)(Q.Text,{className:`login-card-subtitle`,children:r===`register`?`注册新账号,开始创作视频`:`登录您的账号,开始创作视频`}),r!==`register`&&(0,$.jsx)(`div`,{className:`login-tabs`,children:[`password`,`phone`].map(e=>(0,$.jsx)(`div`,{onClick:()=>K(e),className:`login-tab ${a===e?`login-tab-active`:``}`,children:e===`password`?`密码登录`:`验证码登录`},e))}),r===`password`&&(0,$.jsxs)(IU,{form:B,size:`large`,layout:`vertical`,onFinish:ee,children:[(0,$.jsx)(IU.Item,{name:`phone`,rules:[{required:!0,message:`请输入手机号`},{pattern:/^1\d{10}$/,message:`请输入正确的手机号`}],children:(0,$.jsx)(_G,{prefix:(0,$.jsx)(Q6,{style:{color:`#94a3b8`,marginRight:8}}),placeholder:`请输入手机号`,style:q})}),(0,$.jsx)(IU.Item,{name:`password`,rules:[{required:!0,message:`请输入密码`}],children:(0,$.jsx)(_G.Password,{prefix:(0,$.jsx)(j6,{style:{color:`#94a3b8`,marginRight:8}}),placeholder:`请输入密码`,style:q})}),(0,$.jsx)(IU.Item,{name:`rememberMe`,valuePropName:`checked`,style:{marginBottom:12},children:(0,$.jsx)(Iz,{children:`记住我的登录状态`})}),(0,$.jsx)(IU.Item,{style:{marginBottom:12},children:(0,$.jsx)(X,{type:`primary`,htmlType:`submit`,loading:t,block:!0,className:`login-submit-btn`,children:`登 录`})})]}),r===`phone`&&(0,$.jsxs)(IU,{form:V,size:`large`,layout:`vertical`,children:[(0,$.jsx)(IU.Item,{name:`phone`,rules:[{required:!0,message:`请输入手机号`},{pattern:/^1\d{10}$/,message:`请输入正确的手机号`}],children:(0,$.jsx)(_G,{prefix:(0,$.jsx)(Q6,{style:{color:`#94a3b8`,marginRight:8}}),placeholder:`请输入手机号`,maxLength:11,style:q})}),(0,$.jsx)(IU.Item,{name:`code`,rules:[{required:!0,message:`请输入验证码`}],children:(0,$.jsxs)(HH.Compact,{style:{width:`100%`},children:[(0,$.jsx)(_G,{prefix:(0,$.jsx)(K8,{style:{color:`#94a3b8`,marginRight:8}}),placeholder:`请输入验证码`,maxLength:6,disabled:!b,style:{...q,borderRadius:`10px 0 0 10px`,flex:1}}),(0,$.jsx)(X,{disabled:u>0,onClick:()=>{D?(x(!1),_(!0),w(e=>e+1)):G(V.getFieldValue(`phone`))},className:`login-code-btn`,children:u>0?`${u}s`:D?`重新发送`:`获取验证码`})]})}),g&&(0,$.jsx)(IU.Item,{style:{marginBottom:12},children:(0,$.jsx)(e9,{onSuccess:ie,isVerified:b})},C),(0,$.jsx)(IU.Item,{style:{marginBottom:12},children:(0,$.jsx)(X,{type:`primary`,onClick:te,loading:t,block:!0,className:`login-submit-btn`,children:`登 录`})})]}),r===`register`&&(0,$.jsxs)(IU,{form:H,size:`large`,layout:`vertical`,children:[(0,$.jsx)(IU.Item,{name:`phone`,rules:[{required:!0,message:`请输入手机号`},{pattern:/^1\d{10}$/,message:`请输入正确的手机号`}],children:(0,$.jsx)(_G,{prefix:(0,$.jsx)(Q6,{style:{color:`#94a3b8`,marginRight:8}}),placeholder:`请输入手机号`,maxLength:11,style:q})}),(0,$.jsx)(IU.Item,{name:`regCode`,rules:[{required:!0,message:`请输入验证码`}],children:(0,$.jsxs)(HH.Compact,{style:{width:`100%`},children:[(0,$.jsx)(_G,{prefix:(0,$.jsx)(K8,{style:{color:`#94a3b8`,marginRight:8}}),placeholder:`请输入验证码`,maxLength:6,disabled:!v,style:{...q,borderRadius:`10px 0 0 10px`,flex:1}}),(0,$.jsx)(X,{disabled:f>0,onClick:()=>{T?(y(!1),_(!0),w(e=>e+1)):G(H.getFieldValue(`phone`),!0)},className:`login-code-btn`,children:f>0?`${f}s`:T?`重新发送`:`获取验证码`})]})}),g&&(0,$.jsx)(IU.Item,{style:{marginBottom:12},children:(0,$.jsx)(e9,{onSuccess:ie,isVerified:v})},C),(0,$.jsx)(IU.Item,{name:`password`,rules:[{required:!0,message:`请设置密码`},{min:6,message:`密码至少6位`}],children:(0,$.jsx)(_G.Password,{prefix:(0,$.jsx)(j6,{style:{color:`#94a3b8`,marginRight:8}}),placeholder:`请设置密码(至少6位)`,style:q})}),(0,$.jsx)(IU.Item,{style:{marginBottom:12},children:(0,$.jsx)(X,{type:`primary`,onClick:ne,loading:t,block:!0,className:`login-submit-btn`,children:`注 册`})})]}),(0,$.jsx)(`div`,{className:`login-agreement`,children:(0,$.jsx)(Iz,{checked:m,onChange:e=>h(e.target.checked),children:(0,$.jsxs)(`span`,{className:`login-agreement-text`,children:[`我已阅读并同意`,(0,$.jsx)(`span`,{onClick:e=>{e.stopPropagation(),oe(P)},className:`login-link`,children:`《用户协议及隐私政策》`})]})})}),(0,$.jsx)(`div`,{className:`login-footer`,children:r===`register`?(0,$.jsx)(Q.Text,{className:`login-switch-btn`,onClick:()=>{i(`password`),o(`password`),E(!1),O(!1),y(!1),_(!1),w(e=>e+1),H.resetFields()},children:`已有账号?去登录`}):(0,$.jsx)(Q.Text,{className:`login-switch-btn`,onClick:()=>{i(`register`),E(!1),O(!1),y(!1),_(!1),w(e=>e+1)},children:`没有账号?立即注册`})})]})}),I&&(0,$.jsx)(`div`,{className:`login-copyright-wrapper`,children:(0,$.jsx)(`div`,{className:`login-copyright`,children:I})})]})]})},e9=({onSuccess:e,isVerified:t})=>{let n=S.useRef(null),r=S.useRef(null),i=S.useRef(null),a=S.useRef(0),o=S.useRef(!1),[s,c]=S.useState(360),l=s-50;S.useEffect(()=>{let e=()=>{if(n.current){let e=n.current.offsetWidth;e>0&&c(e)}};e();let t=new ResizeObserver(e);return n.current&&t.observe(n.current),window.addEventListener(`resize`,e),()=>{t.disconnect(),window.removeEventListener(`resize`,e)}},[]);let u=n=>{if(o.current||t)return;let c=Math.max(0,Math.min(n,l));a.current=c,r.current&&(r.current.style.left=`${c}px`),i.current&&(i.current.style.width=`${c+50}px`),c>=l-5&&(o.current=!0,r.current&&(r.current.style.background=`#22c55e`,r.current.innerHTML=``),i.current&&(i.current.style.width=`${s}px`,i.current.style.background=`#dcfce7`),e())};return(0,$.jsxs)(`div`,{ref:n,onMouseDown:e=>{if(e.preventDefault(),o.current||t)return;let s=n.current;if(!s)return;let c=s.getBoundingClientRect(),d=e=>{u(e.clientX-c.left-50/2)},f=()=>{document.removeEventListener(`mousemove`,d),document.removeEventListener(`mouseup`,f),!o.current&&a.current{if(o.current||t)return;e.preventDefault();let s=n.current;if(!s)return;let c=s.getBoundingClientRect();u(e.touches[0].clientX-c.left-50/2);let d=e=>{u(e.touches[0].clientX-c.left-50/2)},f=()=>{document.removeEventListener(`touchmove`,d),document.removeEventListener(`touchend`,f),!o.current&&a.current({page:1,pageSize:10,total:0,items:[]}),t9=Q5((e,t)=>({projects:[],records:Fie(),loading:!1,mediaType:`video`,countType:`请选择`,selectedRatio:`1:1`,selectedResolution:`2K`,width:2048,height:2048,videoDuration:5,videoAspectRatio:`16:9`,videoResolution:`720p`,engineOptions:{ratios:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:[`480p`,`720p`,`1080p`],durations:[5,8,10,12,15]},enginesele:[],inputValue:``,currentMedia:[],fetchProjects:async()=>{e({loading:!0});try{e({projects:await hre(),loading:!1})}catch{e({loading:!1})}},createProject:async(n,r)=>{let i=await gre(n,r);return e({projects:[i,...t().projects]}),i},deleteProject:async n=>{await _re(n),e({projects:t().projects.filter(e=>e.id!==n)})},fetchRecords:async(t={})=>{e({loading:!0});try{e({records:await d7(t),loading:!1})}catch{e({loading:!1})}},optimizePrompt:async(n,r)=>{let i=await vre(n,r);try{await Y7.getState().checkAuth()}catch{}let a=t().records;return e({records:{...a,total:a.total+1,items:[i.record,...a.items]}}),i},generateVideo:async(n,r)=>{let i=await xre(n,r);try{await Y7.getState().checkAuth()}catch{}let a=t().records;return e({records:{...a,items:a.items.map(e=>e.id===n?i:e)}}),i},updateRecordReferences:(n,r)=>{let i=t().records;e({records:{...i,items:i.items.map(e=>e.id===n?{...e,references:r}:e)}})},setMediaType:t=>e({mediaType:t}),setCountType:t=>e({countType:t}),setImageSettings:(t,n,r,i)=>e({selectedRatio:t,selectedResolution:n,width:r,height:i}),setVideoSettings:(t,n,r)=>e({videoDuration:t,videoAspectRatio:n,videoResolution:r}),setEngineOptions:t=>e({engineOptions:t}),setSelectedRatio:t=>e({selectedRatio:t}),setSelectedResolution:t=>e({selectedResolution:t}),setWidth:t=>e({width:t}),setHeight:t=>e({height:t}),setVideoDuration:t=>e({videoDuration:t}),setVideoAspectRatio:t=>e({videoAspectRatio:t}),setVideoResolution:t=>e({videoResolution:t}),setEnginesele:t=>e({enginesele:t}),setInputValue:t=>e({inputValue:t}),setCurrentMedia:t=>e({currentMedia:t}),resetGenerationConfig:()=>e({mediaType:`image`,countType:`请选择`,selectedRatio:`1:1`,selectedResolution:`2K`,width:2048,height:2048,videoDuration:5,videoAspectRatio:`16:9`,videoResolution:`720p`,engineOptions:{ratios:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:[`480p`,`720p`,`1080p`],durations:[5,8,10,12,15]},enginesele:[],inputValue:``,currentMedia:[]})}));function n9(e){if(!e)return`-`;let t=e.trim();t.includes(`T`)||(t=t.replace(` `,`T`));let n=t.indexOf(`.`);return n>0&&(t=t.slice(0,n)),t=t.replace(/[+-]\d{2}:?\d{0,2}$/,``).replace(/Z$/,``),t.replace(`T`,` `).slice(0,16)}var r9=[`#f97316`,`#3b82f6`,`#8b5cf6`,`#10b981`,`#eab308`,`#6366f1`,`#ef4444`,`#06b6d4`,`#64748b`,`#78716c`],i9={ShoppingCartOutlined:(0,$.jsx)(i5,{}),BookOutlined:(0,$.jsx)(T4,{}),HomeOutlined:(0,$.jsx)(u6,{}),FireOutlined:(0,$.jsx)(U3,{}),RocketOutlined:(0,$.jsx)(U8,{}),SkinOutlined:(0,$.jsx)(p5,{}),CompassOutlined:(0,$.jsx)(g3,{}),HeartOutlined:(0,$.jsx)(t6,{}),CarOutlined:(0,$.jsx)(B4,{}),CameraOutlined:(0,$.jsx)(L4,{}),CloudOutlined:(0,$.jsx)(Q4,{}),StarOutlined:(0,$.jsx)(T5,{}),TrophyOutlined:(0,$.jsx)(P5,{}),ThunderboltOutlined:(0,$.jsx)(j5,{}),BulbOutlined:(0,$.jsx)(j4,{}),CoffeeOutlined:(0,$.jsx)(u3,{}),CrownOutlined:(0,$.jsx)(S3,{}),DashboardOutlined:(0,$.jsx)(T3,{}),FlagOutlined:(0,$.jsx)(K3,{}),GlobalOutlined:(0,$.jsx)(Q3,{}),GiftOutlined:(0,$.jsx)(Y3,{}),LaptopOutlined:(0,$.jsx)(y6,{}),MobileOutlined:(0,$.jsx)(Q6,{}),MonitorOutlined:(0,$.jsx)(t8,{}),PayCircleOutlined:(0,$.jsx)(u8,{}),PictureOutlined:(0,$.jsx)(g8,{}),PlayCircleOutlined:(0,$.jsx)(T8,{}),SafetyOutlined:(0,$.jsx)(K8,{}),ShoppingOutlined:(0,$.jsx)(s5,{}),SmileOutlined:(0,$.jsx)(g5,{}),SoundOutlined:(0,$.jsx)(S5,{}),TagOutlined:(0,$.jsx)(Lne,{}),TeamOutlined:(0,$.jsx)(k5,{}),ToolOutlined:(0,$.jsx)(Vne,{}),TruckOutlined:(0,$.jsx)(Wne,{}),VideoCameraOutlined:(0,$.jsx)(H5,{}),WalletOutlined:(0,$.jsx)(W5,{}),BankOutlined:(0,$.jsx)(g4,{}),BuildOutlined:(0,$.jsx)(O4,{}),ExperimentOutlined:(0,$.jsx)(P3,{}),HighlightOutlined:(0,$.jsx)(i6,{}),IdcardOutlined:(0,$.jsx)(p6,{}),MedicineBoxOutlined:(0,$.jsx)(U6,{}),ReadOutlined:(0,$.jsx)(j8,{}),RestOutlined:(0,$.jsx)(P8,{}),SketchOutlined:(0,$.jsx)(u5,{}),SolutionOutlined:(0,$.jsx)(y5,{})},Iie=()=>{let[e,t]=(0,S.useState)(!1),[n]=IU.useForm(),r=Ye(),{projects:i,fetchProjects:a,createProject:o,deleteProject:s}=t9(),[c,l]=(0,S.useState)([]);(0,S.useEffect)(()=>{a(),x7().then(l).catch(()=>{})},[]);let u=Object.fromEntries(c.map((e,t)=>[e.key,{label:e.label,color:r9[t%r9.length],icon:e.icon||`AppstoreOutlined`}]));return(0,$.jsxs)(`div`,{style:{margin:`-24px -32px -32px`,borderRadius:20,height:`calc(100vh - 34px)`,padding:`24px`},children:[(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:24,padding:`16px 24px`,borderRadius:16,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,border:`1px solid rgba(99, 102, 241, 0.08)`,position:`relative`,overflow:`hidden`,flexWrap:`wrap`,gap:12},children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`h2`,{style:{margin:0,fontSize:18,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`我的项目`}),(0,$.jsxs)(`p`,{style:{fontSize:13,color:`#64748b`,margin:`4px 0 0 0`},children:[`共 `,i.length,` 个项目 · 按行业分类管理`]})]})}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,$.jsx)(X,{icon:(0,$.jsx)(qH,{}),onClick:()=>r(`/records`),size:`large`,style:{background:`rgba(99, 102, 241, 0.1)`,border:`1px solid rgba(99, 102, 241, 0.2)`,color:`#6366f1`,fontWeight:600,borderRadius:10,height:42},children:`项目记录`}),(0,$.jsx)(X,{icon:(0,$.jsx)(IL,{}),onClick:()=>t(!0),size:`large`,style:{background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,color:`#fff`,fontWeight:600,borderRadius:10,height:42,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.35)`},children:`新建项目`})]})]}),i.length===0?(0,$.jsx)(OC,{image:OC.PRESENTED_IMAGE_SIMPLE,description:`还没有项目,创建您的第一个视频项目`,style:{padding:`60px 0`},children:(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(IL,{}),onClick:()=>t(!0),size:`large`,children:`创建第一个项目`})}):(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:12},className:`stagger-children`,children:i.map((e,t)=>(0,$.jsxs)(`div`,{className:`project-card project-item animate-slideInCard`,onClick:()=>r(`/projects/${e.id}/generate`),style:{display:`flex`,alignItems:`center`,padding:`18px 22px`,borderRadius:16,background:`#fff`,border:`1px solid #f0f0f5`,cursor:`pointer`,animationDelay:`${t*.06}s`},children:[(0,$.jsx)(`div`,{style:{width:50,height:50,borderRadius:14,flexShrink:0,background:`${u[e.industry]?.color||`#64748b`}12`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:24,marginRight:16,color:u[e.industry]?.color||`#64748b`},children:i9[u[e.industry]?.icon]||(0,$.jsx)(Y2,{})}),(0,$.jsxs)(`div`,{style:{flex:1,minWidth:0},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:4,flexWrap:`wrap`},children:[(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:15,color:`#1a1a2e`},children:e.name}),(0,$.jsx)(j$,{color:u[e.industry]?.color||`#64748b`,style:{borderRadius:6,margin:0},children:u[e.industry]?.label||e.industry})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:4},children:[(0,$.jsx)(BV,{style:{fontSize:12,color:`#94a3b8`}}),(0,$.jsxs)(`span`,{className:`date-display`,translate:`no`,style:{fontSize:12,color:`#94a3b8`},children:[`创建于 `,n9(e.createdAt)]})]})]}),(0,$.jsxs)(`div`,{className:`project-actions`,style:{display:`flex`,alignItems:`center`,gap:8,marginLeft:16},children:[(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(T8,{}),onClick:t=>{t.stopPropagation(),r(`/projects/${e.id}/generate`)},style:{background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,border:`none`,borderRadius:10,fontWeight:600,height:36,boxShadow:`0 4px 12px rgba(99,102,241,0.25)`},children:`生成`}),(0,$.jsx)($K,{title:`确定删除该项目?`,description:`项目下的生成记录将一并删除`,onConfirm:async t=>{t?.stopPropagation(),await s(e.id),Z.success(`项目已删除`)},onCancel:e=>e?.stopPropagation(),children:(0,$.jsx)(X,{danger:!0,icon:(0,$.jsx)(G$,{}),onClick:e=>e.stopPropagation(),style:{borderRadius:10,height:36,background:`rgba(239,68,68,0.06)`,border:`1px solid rgba(239,68,68,0.15)`,color:`#ef4444`}})}),(0,$.jsx)(zg,{className:`mobile-hide`,style:{color:`#cbd5e1`,fontSize:12}})]})]},e.id))}),(0,$.jsx)(YK,{title:(0,$.jsxs)(HH,{children:[(0,$.jsx)(Y2,{}),`新建项目`]}),open:e,onOk:async()=>{try{let e=await n.validateFields(),i=await o(e.name,e.industry);Z.success(`项目创建成功`),t(!1),n.resetFields(),r(`/projects/${i.id}/generate`)}catch{}},onCancel:()=>{t(!1),n.resetFields()},okText:`创建`,cancelText:`取消`,width:480,children:(0,$.jsxs)(IU,{form:n,layout:`vertical`,style:{marginTop:20},children:[(0,$.jsx)(IU.Item,{name:`name`,label:`项目名称`,rules:[{required:!0,message:`请输入项目名称`}],children:(0,$.jsx)(_G,{placeholder:`例如:618电商大促宣传片`,prefix:(0,$.jsx)(DZ,{}),size:`large`})}),(0,$.jsx)(IU.Item,{name:`industry`,label:`所属行业`,rules:[{required:!0,message:`请选择行业`}],children:(0,$.jsx)(iw,{placeholder:`选择项目所属行业`,size:`large`,children:c.map((e,t)=>(0,$.jsx)(iw.Option,{value:e.key,children:(0,$.jsxs)(HH,{children:[i9[e.icon]||(0,$.jsx)(Y2,{}),` `,e.label]})},e.key))})})]})})]})};function Lie(){if(typeof crypto<`u`&&typeof crypto.randomUUID==`function`)return crypto.randomUUID();if(typeof crypto<`u`&&typeof crypto.getRandomValues==`function`){let e=crypto.getRandomValues(new Uint8Array(16));e[6]=e[6]&15|64,e[8]=e[8]&63|128;let t=Array.from(e).map(e=>e.toString(16).padStart(2,`0`)).join(``);return`${t.slice(0,8)}-${t.slice(8,12)}-${t.slice(12,16)}-${t.slice(16,20)}-${t.slice(20)}`}return`${Date.now().toString(16).padStart(12,`0`)}-${Math.random().toString(16).slice(2,10).padStart(8,`0`)}-4xxx-yxxx-${Math.random().toString(16).slice(2,12)}`.replace(/[xy]/g,e=>{let t=Math.random()*16|0;return(e===`x`?t:t&3|8).toString(16)})}var a9=({src:e,width:t=48,height:n=48})=>{let[r,i]=(0,S.useState)(null),[a,o]=(0,S.useState)(null);return(0,S.useEffect)(()=>{let r=document.createElement(`video`);r.muted=!0,r.preload=`metadata`,r.crossOrigin=`anonymous`;let a=()=>{o(r.duration),r.currentTime=Math.min(1,r.duration*.1)},s=()=>{try{let e=document.createElement(`canvas`);e.width=t*2,e.height=n*2;let a=e.getContext(`2d`);a&&(a.drawImage(r,0,0,e.width,e.height),i(e.toDataURL(`image/jpeg`,.7)))}catch{}};return r.addEventListener(`loadedmetadata`,a),r.addEventListener(`seeked`,s),r.src=e,()=>{r.removeEventListener(`loadedmetadata`,a),r.removeEventListener(`seeked`,s)}},[e,t,n]),(0,$.jsxs)(`div`,{style:{width:`100%`,height:`100%`,position:`relative`,background:`#1a1a2e`},children:[r?(0,$.jsx)(`img`,{src:r,style:{width:`100%`,height:`100%`,objectFit:`cover`,display:`block`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(T8,{style:{color:`#fff`,fontSize:18}})}),a!=null&&(0,$.jsx)(`span`,{style:{position:`absolute`,bottom:2,right:2,fontSize:9,color:`#fff`,background:`rgba(0,0,0,0.6)`,borderRadius:4,padding:`1px 4px`,lineHeight:1.3},children:(e=>`${Math.round(e)}s`)(a)})]})},Rie=()=>{let{projectId:e}=$e(),t=Ye(),[n]=IU.useForm(),{projects:r,records:i,fetchProjects:a,fetchRecords:o,optimizePrompt:s,generateVideo:c}=t9(),l=i.items,{user:u}=Y7(),[d,f]=(0,S.useState)(!1),[p,m]=(0,S.useState)(!1),[h,g]=(0,S.useState)(null),[_,v]=(0,S.useState)(``),[y,b]=(0,S.useState)(!1),[x,C]=(0,S.useState)({}),[w,T]=(0,S.useState)({}),[E,D]=(0,S.useState)({}),[O,k]=(0,S.useState)(null),[A,j]=(0,S.useState)(null),[M,N]=(0,S.useState)([]),[P,F]=(0,S.useState)(!1),[I,L]=(0,S.useState)(``),[R,z]=(0,S.useState)(!1),[B,V]=(0,S.useState)(``),H=(0,S.useRef)(null),[U,W]=(0,S.useState)({}),[ee,te]=(0,S.useState)({}),[ne,re]=(0,S.useState)({}),[G,ie]=(0,S.useState)(null),[K,ae]=(0,S.useState)({}),[q,oe]=(0,S.useState)(null),[se,ce]=(0,S.useState)(5),[le,ue]=(0,S.useState)(`16:9`),[de,fe]=(0,S.useState)(`720p`),[pe,me]=(0,S.useState)(null),[he,ge]=(0,S.useState)({ratios:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:[`720p`,`1080p`],durations:[5,8,10,12,15]}),[_e,ve]=(0,S.useState)(0),[ye,be]=(0,S.useState)(0),[xe,Se]=(0,S.useState)(`video`),[Ce,we]=(0,S.useState)(`1:1`),[Te,Ee]=(0,S.useState)(`2K`),[De,Oe]=(0,S.useState)(2048),[ke,Ae]=(0,S.useState)(2048),[je,Me]=(0,S.useState)(!1),[Ne,Pe]=(0,S.useState)([]),[Fe,Ie]=(0,S.useState)([]);(0,S.useEffect)(()=>{if(kre().then(e=>{Pe(e.video),Ie(e.image)}),!je)return;let e=e=>{let t=e.target;!t.closest(`.image-settings-popover`)&&!t.closest(`.image-settings-trigger`)&&Me(!1)};return document.addEventListener(`click`,e),()=>document.removeEventListener(`click`,e)},[je]);let Le=(e,t)=>{for(let n=0;n{let t=e===`2k`?`2048`:e===`4k`?`4096`:e;for(let e=0;e{Je(e)},Be=e=>{Ze(parseInt(e))},[Ve,He]=(0,S.useState)([]),[Ue,We]=(0,S.useState)([]),[Ge,Ke]=(0,S.useState)([]),[qe,Je]=(0,S.useState)(0),[Xe,Ze]=(0,S.useState)(0);(0,S.useEffect)(()=>{Ge[Xe]&&Ge[Xe][qe]!==void 0&&(Oe(Ge[Xe][qe].substring(0,4)),Ae(Ge[Xe][qe].substring(5)))},[qe]),(0,S.useEffect)(()=>{Ge[Xe]&&Ge[Xe][qe]!==void 0&&(Oe(Ge[Xe][qe].substring(0,4)),Ae(Ge[Xe][qe].substring(5)))},[Xe]);let Qe=()=>{Oe(ke),Ae(De)},et=e=>{Se(e.target.value===`image`?`image`:`video`)};(0,S.useEffect)(()=>{x7().then(e=>{W(Object.fromEntries(e.map(e=>[e.key,e.label]))),te(Object.fromEntries(e.map(e=>[e.key,e.optionGroups||[]])))}).catch(()=>{}),Cre().then(e=>{let t=e.items?.[0]?.supportedSizes||{},n=[],r=[],i=[];for(let e in t[`2K`])n.push(e),r.push(t[`2K`][e]);n.forEach((e,t)=>{He(n=>[...n,{value:e,label:String(t)}])});for(let e in t[`4K`])i.push(t[`4K`][e]);Ke([r,i]);let a=[];for(let e in t)a.push(e);a.forEach((e,t)=>{We(n=>[...n,{value:e,label:String(t)}])})}).catch(()=>{}),Sre().then(e=>{if(e.items?.length){let t=e.items[0];ge({ratios:t.supportedRatios?.length?t.supportedRatios:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:t.supportedResolutions?.length?t.supportedResolutions:[`720p`,`1080p`],durations:t.supportedDurations?.length?t.supportedDurations:[5,8,10,12,15]})}}).catch(()=>{})},[]),(0,S.useEffect)(()=>{a(),o({projectId:e,page:1,pageSize:100})},[e,a,o]);let tt=(0,S.useRef)(!1);(0,S.useEffect)(()=>{tt.current||l.length===0||(tt.current=!0,l.forEach(t=>{t.projectId===e&&t.status===`generating`&&(T(e=>({...e,[t.id]:`generating`})),Ot(t.id)),t.projectId===e&&t.status===`optimizing`&<(t.id)}))},[l,e]);let nt=(0,S.useRef)(new Set),rt=(0,S.useRef)(null),it=(0,S.useRef)(null),at=e=>{nt.current.add(e),ct()},ot=e=>{nt.current.delete(e),nt.current.size===0&&st()},st=()=>{rt.current&&=(clearInterval(rt.current),null),it.current&&=(it.current.abort(),null)},ct=()=>{rt.current||=setInterval(async()=>{try{it.current&&it.current.abort();let t=new AbortController;it.current=t;let n=await d7({projectId:e,page:1,pageSize:100,signal:t.signal});it.current=null;let r=Array.from(nt.current),i=[];if(r.length>0){let e=t9.getState().records,t=e.items.map(e=>{if(r.includes(e.id)){let t=n.items.find(t=>t.id===e.id);if(t)return t.status!==`optimizing`&&i.push(e.id),t}return e});t9.setState({records:{...e,items:t}}),i.forEach(e=>{ot(e)})}}catch(e){e.name}},3e3)},lt=e=>{at(e)},ut=(0,S.useRef)(!1),dt=(0,S.useRef)(null);(0,S.useEffect)(()=>{if(ut.current||l.length===0)return;let t=localStorage.getItem(`pending_optimize`);if(t)try{let{key:n,projectId:r,prompt:i,duration:a,ts:o}=JSON.parse(t);if(Date.now()-o>300*1e3||r!==e){localStorage.removeItem(`pending_optimize`);return}if(dt.current===n)return;let s=l.find(e=>e.projectId===r&&e.originalPrompt===i&&e.duration===a&&e.status===`prompt_optimized`&&new Date(e.createdAt).getTime()>o-1e4);s?(ut.current=!0,localStorage.removeItem(`pending_optimize`),g(s),v(s.optimizedPrompt||``),ve(s.textCreditsCost),be(s.textTokensUsed),m(!0),Z.success({content:`优化请求已恢复,消耗 ${s.textCreditsCost} 积分`,key:`recovery`})):Date.now()-o>3e4&&localStorage.removeItem(`pending_optimize`)}catch{localStorage.removeItem(`pending_optimize`)}},[l,e]);let ft=r.find(t=>t.id===e),pt=l.filter(t=>t.projectId===e),mt=ft?.name??`项目`,ht=ft&&ee[ft.industry]||[],gt=u?.credits??0,_t=e=>{let t=e===`2k`?`2048`:e===`4k`?`4096`:e;for(let e=0;e=vt,bt=async()=>{try{if(!e){Z.error(`项目ID为空,请先选择项目`);return}let t=await n.validateFields();if(!t.prompt||!t.prompt.trim()){Z.error(`请输入视频/图片描述`);return}f(!0);let r=Object.entries(ne).map(([e,t])=>`@${e}:${t}`),i=r.length>0?`${t.prompt}\n\n${r.join(`;`)}`:t.prompt,a=Lie();localStorage.setItem(`pending_optimize`,JSON.stringify({key:a,projectId:e,prompt:i,duration:se,ts:Date.now()})),dt.current=a;let o=await s(e,{prompt:i,duration:se,genType:xe,resolution:Te,references:M.length>0?M:void 0,idempotencyKey:a,image_size:Te,image_proportion:Ce,image_px:De+`x`+ke});localStorage.removeItem(`pending_optimize`),dt.current=null,g(o.record),v(o.record.optimizedPrompt||``),ve(o.textCreditsCost),be(o.textTokensUsed),m(!0),Z.success({content:`「${mt}」提示词优化完成,消耗 ${o.textCreditsCost} 积分`,key:`optimize`})}catch(e){let t=e?.response?.data?.message||e?.message||`操作失败,请稍后重试`;Z.error(t)}finally{f(!1),localStorage.removeItem(`pending_optimize`),dt.current=null}},xt=(0,S.useRef)(new Set),St=(0,S.useRef)(null),Ct=(0,S.useRef)(null),wt=e=>{xt.current.add(e),Dt()},Tt=e=>{xt.current.delete(e),xt.current.size===0&&Et()},Et=()=>{St.current&&=(clearInterval(St.current),null),Ct.current&&=(Ct.current.abort(),null)},Dt=()=>{St.current||=setInterval(async()=>{try{Ct.current&&Ct.current.abort();let t=new AbortController;Ct.current=t;let n=await d7({projectId:e,page:1,pageSize:100,signal:t.signal});Ct.current=null;let r=Array.from(xt.current),i=[];if(r.length>0){let e=t9.getState().records,t=e.items.map(e=>{if(r.includes(e.id)){let t=n.items.find(t=>t.id===e.id);if(t)return t.status!==`generating`&&i.push(e.id),t}return e});t9.setState({records:{...e,items:t}}),i.forEach(e=>{let t=n.items.find(t=>t.id===e);Tt(e),t?.status===`completed`?(T(t=>({...t,[e]:`done`})),g(n=>n?.id===e?t:n),Z.success({content:`「${mt}」视频生成完成!`,key:e,duration:5})):t?.status===`failed`&&(T(t=>({...t,[e]:`failed`})),g(n=>n?.id===e?t:n),Z.error({content:`「${mt}」视频生成失败: ${t.errorMessage||`未知错误`}`,key:e,duration:5}))})}}catch(e){e.name}},5e3)},Ot=e=>{wt(e)};(0,S.useEffect)(()=>()=>{Et(),st()},[]);let kt=async e=>{if(!yt){Z.error(`积分不足,请先充值`);return}C(t=>({...t,[e]:!0})),T(t=>({...t,[e]:`generating`})),Z.loading({content:`「${mt}」正在提交视频生成...`,duration:0,key:e});try{(await c(e,{aspectRatio:le,resolution:de})).status===`failed`?(T(t=>({...t,[e]:`failed`})),Z.error({content:`「${mt}」提交失败`,key:e,duration:3})):(Z.success({content:`「${mt}」已提交,正在生成中...`,key:e,duration:3}),Ot(e))}catch(t){T(t=>({...t,[e]:`failed`}));let n=`提交失败`;t?.response?.data?.detail?n=t.response.data.detail:t?.data?.detail?n=t.data.detail:t?.detail?n=t.detail:t?.message&&(n=t.message),Z.error({content:`${n}`,key:e,duration:3})}finally{C(t=>({...t,[e]:!1}))}},At=async e=>{let t=pt.find(t=>t.id===e);if(t){C(t=>({...t,[e]:!0})),T(t=>({...t,[e]:`generating`})),Z.loading({content:`「${mt}」正在重新提交...`,duration:0,key:e});try{let n=E[e];n&&n!==t.optimizedPrompt&&await bre(e,n),(await c(e,{aspectRatio:t.aspectRatio||`16:9`,resolution:t.resolution||`720p`})).status===`failed`?(T(t=>({...t,[e]:`failed`})),Z.error({content:`「${mt}」提交失败`,key:e,duration:3})):(Z.success({content:`「${mt}」已提交,正在生成中...`,key:e,duration:3}),Ot(e))}catch(t){T(t=>({...t,[e]:`failed`}));let n=`提交失败`;t?.response?.data?.detail?n=t.response.data.detail:t?.data?.detail?n=t.data.detail:t?.detail?n=t.detail:t?.message&&(n=t.message),Z.error({content:`${n}`,key:e,duration:3})}finally{C(t=>({...t,[e]:!1}))}}},jt=e=>{let t=w[e.id];return t===`generating`?`generating`:t===`done`?`completed`:t===`failed`?`failed`:e.status},Mt={optimizing:{color:`processing`,text:`优化中`,icon:(0,$.jsx)(Zm,{style:{animation:`spinSlow 1s linear infinite`}})},prompt_optimized:{color:`processing`,text:`待生成`,icon:(0,$.jsx)(UV,{})},generating:{color:`warning`,text:`生成中`,icon:(0,$.jsx)(Zm,{style:{animation:`spinSlow 1s linear infinite`}})},completed:{color:`success`,text:`已完成`,icon:(0,$.jsx)(K4,{})},failed:{color:`error`,text:`失败`,icon:(0,$.jsx)(Y4,{})}},Nt=({label:e,value:t,options:n,suffix:r,expanded:i,onToggle:a,onSelect:o,onClose:s})=>{let c=(0,S.useRef)(null),l=(0,S.useRef)(null),u=(0,S.useRef)(i),[d,f]=(0,S.useState)(null);return u.current=i,(0,S.useEffect)(()=>{if(i&&c.current){let e=c.current.getBoundingClientRect();f({bottom:window.innerHeight-e.top+4,left:e.left,width:Math.max(e.width,100)})}else f(null)},[i]),(0,S.useEffect)(()=>{if(!i)return;let e=e=>{c.current?.contains(e.target)||l.current?.contains(e.target)||u.current&&s()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[i,s]),(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{ref:c,onClick:a,translate:`no`,style:{display:`flex`,alignItems:`center`,gap:6,padding:`5px 12px`,borderRadius:8,cursor:`pointer`,userSelect:`none`,transition:`background 0.2s, border-color 0.2s`,background:i?`rgba(99,102,241,0.08)`:`#f8f9fc`,border:i?`1px solid #6366f1`:`1px solid #e2e8f0`,minWidth:70,whiteSpace:`nowrap`,flexShrink:0},children:[(0,$.jsxs)(`span`,{style:{fontSize:12,color:`#6366f1`,fontWeight:500,lineHeight:`18px`},children:[t,r]}),(0,$.jsx)(AQ,{style:{fontSize:9,color:`#94a3b8`,transition:`transform 0.2s`,transform:i?`rotate(180deg)`:`rotate(0deg)`}})]}),d&&(0,Vi.createPortal)((0,$.jsxs)(`div`,{ref:l,style:{position:`fixed`,bottom:d.bottom,left:d.left,minWidth:d.width,background:`#fff`,borderRadius:12,padding:6,zIndex:99999,boxShadow:`0 8px 30px rgba(0,0,0,0.12)`,border:`1px solid #e2e8f0`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:10,color:`#94a3b8`,display:`block`,padding:`2px 6px 4px`},children:e}),(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:2},children:n.map((e,n)=>{let r=t===e;return(0,$.jsx)(`div`,{onClick:()=>{o(e),s()},style:{padding:`6px 10px`,borderRadius:8,fontSize:13,cursor:`pointer`,transition:`all 0.15s`,background:r?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`transparent`,color:r?`#fff`:`#1a1a2e`,fontWeight:r?600:400},onMouseEnter:e=>{r||(e.currentTarget.style.background=`#f1f5f9`)},onMouseLeave:e=>{r||(e.currentTarget.style.background=`transparent`)},children:e},n)})})]}),document.body)]})},Pt=({group:e,selected:t,expanded:n,onToggle:r,onSelect:i,onClose:a})=>{let o=(0,S.useRef)(null),s=(0,S.useRef)(null),c=(0,S.useRef)(n),[l,u]=(0,S.useState)(null);return c.current=n,(0,S.useEffect)(()=>{if(n&&o.current){let e=o.current.getBoundingClientRect();u({bottom:window.innerHeight-e.top+4,left:e.left})}else u(null)},[n]),(0,S.useEffect)(()=>{if(!n)return;let e=e=>{o.current?.contains(e.target)||s.current?.contains(e.target)||c.current&&a()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[n,a]),(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{ref:o,onClick:r,style:{display:`flex`,alignItems:`center`,gap:6,padding:`5px 12px`,borderRadius:8,cursor:`pointer`,userSelect:`none`,transition:`all 0.2s`,background:t?`rgba(99,102,241,0.08)`:`#f8f9fc`,border:n?`1px solid #6366f1`:`1px solid #e2e8f0`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:t?`#6366f1`:`#64748b`,fontWeight:t?600:400},children:t||e.name}),(0,$.jsx)(AQ,{style:{fontSize:9,color:t?`#6366f1`:`#94a3b8`,transition:`transform 0.2s`,transform:n?`rotate(180deg)`:`rotate(0deg)`}})]}),l&&(0,Vi.createPortal)((0,$.jsxs)(`div`,{ref:s,style:{position:`fixed`,bottom:l.bottom,left:l.left,background:`#fff`,borderRadius:12,padding:8,minWidth:160,zIndex:99999,boxShadow:`0 8px 30px rgba(0,0,0,0.12)`,border:`1px solid #e2e8f0`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:10,color:`#94a3b8`,display:`block`,padding:`2px 6px 4px`},children:e.name}),(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:2},children:e.options.map((e,n)=>{let r=t===e;return(0,$.jsx)(`div`,{onClick:()=>{i(e),a()},style:{padding:`6px 10px`,borderRadius:8,fontSize:13,cursor:`pointer`,transition:`all 0.15s`,background:r?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`transparent`,color:r?`#fff`:`#1a1a2e`,fontWeight:r?600:400},onMouseEnter:e=>{r||(e.currentTarget.style.background=`#f1f5f9`)},onMouseLeave:e=>{r||(e.currentTarget.style.background=`transparent`)},children:e},n)})})]}),document.body)]})};return(0,$.jsxs)(`div`,{style:{margin:`-24px -32px -32px`,borderRadius:20,height:`calc(100vh - 34px)`,padding:`24px`,background:`#fff`,overflowY:`auto`},children:[(0,$.jsxs)(`div`,{className:`gen-header animate-fadeInUp`,style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:24,padding:`16px 24px`,borderRadius:16,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,border:`1px solid rgba(99, 102, 241, 0.08)`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:[(0,$.jsx)(X,{icon:(0,$.jsx)(t4,{}),onClick:()=>t(`/projects`),style:{borderRadius:10,fontSize:13,height:32,background:`rgba(99, 102, 241, 0.1)`,border:`1px solid rgba(99, 102, 241, 0.2)`,color:`#6366f1`},children:`返回`}),(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #6366f1, #8b5cf6, transparent)`,borderRadius:1}}),(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:[(0,$.jsx)(Q.Title,{level:4,style:{margin:0,fontSize:16,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:mt}),ft&&(0,$.jsx)(j$,{style:{background:`rgba(99, 102, 241, 0.08)`,border:`1px solid rgba(99, 102, 241, 0.15)`,color:`#6366f1`,borderRadius:6},children:U[ft.industry]||ft.industry})]}),(0,$.jsx)(Q.Text,{style:{color:`#64748b`,fontSize:13},children:`描述视频 → AI优化 → 生成视频`})]}),(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #8b5cf6, #6366f1, transparent)`,borderRadius:1}})]}),(0,$.jsxs)(j$,{style:{background:`rgba(99, 102, 241, 0.08)`,border:`1px solid rgba(99, 102, 241, 0.15)`,color:`#6366f1`,borderRadius:20,fontSize:13,padding:`4px 14px`},children:[`剩余 `,gt,` 积分`]})]}),!p&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{className:`animate-fadeInUp`,style:{marginBottom:24,padding:`16px 20px`,borderRadius:16,background:`#fff`,border:`1px solid #f0f0f5`,boxShadow:`0 2px 12px rgba(0,0,0,0.03)`},children:(0,$.jsxs)(`div`,{style:{width:`100%`,display:`flex`,alignItems:`center`,justifyContent:`flex-start`},children:[(0,$.jsxs)(`div`,{style:{marginRight:70,position:`relative`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:14,fontWeight:500,color:`#475569`,marginRight:16},children:`生成类型:`}),(0,$.jsxs)(XI.Group,{defaultValue:`video`,buttonStyle:`solid`,onChange:et,children:[(0,$.jsxs)(XI.Button,{value:`video`,children:[(0,$.jsx)(H5,{style:{marginRight:6,fontSize:14}}),` `,`视频`]}),(0,$.jsxs)(XI.Button,{value:`image`,style:{zIndex:0},children:[(0,$.jsx)(g8,{style:{marginRight:6,fontSize:14}}),` `,`图片`]})]})]}),xe===`video`&&[{icon:(0,$.jsx)(p1,{}),label:`描述视频+时长`,color:`#6366f1`},{icon:(0,$.jsx)(j5,{}),label:`AI智能优化`,color:`#8b5cf6`},{icon:(0,$.jsx)(U8,{}),label:`选择参数生成`,color:`#10b981`}].map((e,t)=>(0,$.jsxs)(S.Fragment,{children:[t>0&&(0,$.jsx)(`div`,{style:{width:40,height:1,background:`linear-gradient(90deg, #e2e8f0, #cbd5e1, #e2e8f0)`,margin:`0 12px`,flexShrink:0}}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:10,background:`${e.color}12`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`span`,{style:{color:e.color,fontSize:15},children:e.icon})}),(0,$.jsx)(Q.Text,{style:{fontSize:13,fontWeight:500,color:`#1a1a2e`},children:e.label})]})]},t)),xe===`image`&&[{icon:(0,$.jsx)(p1,{}),label:`描述图片+尺寸`,color:`#6366f1`},{icon:(0,$.jsx)(j5,{}),label:`AI智能优化`,color:`#8b5cf6`},{icon:(0,$.jsx)(U8,{}),label:`图片生成`,color:`#10b981`}].map((e,t)=>(0,$.jsxs)(S.Fragment,{children:[t>0&&(0,$.jsx)(`div`,{style:{width:40,height:1,background:`linear-gradient(90deg, #e2e8f0, #cbd5e1, #e2e8f0)`,margin:`0 12px`,flexShrink:0}}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:10,background:`${e.color}12`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`span`,{style:{color:e.color,fontSize:15},children:e.icon})}),(0,$.jsx)(Q.Text,{style:{fontSize:13,fontWeight:500,color:`#1a1a2e`},children:e.label})]})]},t))]})}),(0,$.jsxs)(IU,{form:n,initialValues:{},children:[(0,$.jsx)(IU.Item,{name:`prompt`,noStyle:!0,rules:[{required:!0,message:`请输入视频描述`}],style:{display:`none`}}),(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{borderRadius:20,background:`#fff`,border:`1px solid #f0f0f5`,boxShadow:`0 4px 24px rgba(0,0,0,0.04)`,overflow:`visible`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,padding:`12px 16px 0`,minHeight:60},children:[M.map((e,t)=>(0,$.jsxs)(`div`,{className:`ref-thumb`,style:{position:`relative`,width:48,height:48,borderRadius:12,overflow:`visible`,flexShrink:0},children:[(0,$.jsx)(`div`,{style:{width:48,height:48,borderRadius:12,overflow:`hidden`,border:`1px solid #e2e8f0`,cursor:`pointer`},onClick:()=>{e.type===`video`&&oe(`http://ceshi.apiforeign.minzhong.cn${e.url}`)},children:e.type===`image`?(0,$.jsx)(IW,{src:`http://ceshi.apiforeign.minzhong.cn${e.url}`,style:{width:`100%`,height:`100%`,objectFit:`cover`}}):(0,$.jsx)(a9,{src:`http://ceshi.apiforeign.minzhong.cn${e.url}`})}),(0,$.jsx)(`div`,{className:`ref-delete`,onClick:n=>{n.stopPropagation(),m7(e.url).catch(()=>{}),N(e=>e.filter((e,n)=>n!==t))},style:{position:`absolute`,top:-4,right:-4,width:16,height:16,borderRadius:`50%`,background:`rgba(0,0,0,0.55)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,zIndex:10,opacity:0,transition:`opacity 0.15s`,backdropFilter:`blur(4px)`},children:(0,$.jsx)(Y4,{style:{color:`#fff`,fontSize:10}})})]},t)),(0,$.jsx)(e2,{accept:`image/*,video/*`,showUploadList:!1,multiple:!0,beforeUpload:e=>{let t=e.type.startsWith(`image/`),n=e.type.startsWith(`video/`);if(!t&&!n)return Z.error(`仅支持图片或视频文件`),!1;let r=n?100:10;if(e.size/1024/1024>r)return Z.error(`${n?`视频`:`图片`}大小不能超过${r}MB`),!1;let i=M.filter(e=>e.type===`image`).length,a=M.filter(e=>e.type===`video`).length;return t&&i>=10?(Z.error(`最多上传10张图片`),!1):n&&a>=3?(Z.error(`最多上传3个视频`),!1):(F(!0),(t?f7:p7)(e).then(e=>{let n=t?`图片`:`视频`,r=t?i+1:a+1;N(i=>[...i,{url:e.url,type:t?`image`:`video`,name:`${n}${r}`}]),Z.success(`${n}上传成功`)}).catch(()=>Z.error(`上传失败`)).finally(()=>F(!1)),!1)},children:(0,$.jsx)(Jw,{title:`参考内容(${M.length}/10)`,children:(0,$.jsx)(`div`,{style:{width:48,height:48,borderRadius:12,border:`1.5px dashed #d9d9d9`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,transition:`all 0.2s`,flexShrink:0},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#6366f1`,e.currentTarget.style.background=`rgba(99,102,241,0.04)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`#d9d9d9`,e.currentTarget.style.background=`transparent`},children:P?(0,$.jsx)(Zm,{style:{fontSize:18,color:`#6366f1`}}):(0,$.jsx)(IL,{style:{fontSize:18,color:`#94a3b8`}})})})})]}),(0,$.jsx)(`div`,{style:{padding:`8px 16px 4px`},children:(0,$.jsx)(_G.TextArea,{ref:H,value:I,onChange:e=>{let t=e.target.value;L(t),n.setFieldsValue({prompt:t});let r=t.lastIndexOf(`@`);if(r>=0){let e=t.slice(r+1);if(!e.includes(` `)&&!e.includes(` -`)){z(!0),V(e);return}}z(!1)},rows:3,placeholder:`上传参考素材、输入文字,自由组合图、文多元素。输入 @ 可引用参考内容...`,maxLength:500,bordered:!1,autoSize:{minRows:2,maxRows:6},style:{padding:`6px 2px`,fontSize:15,lineHeight:1.7,resize:`none`,caretColor:`#6366f1`}})}),R&&M.length>0&&(0,$.jsx)(`div`,{style:{margin:`0 16px 8px`,background:`#fff`,borderRadius:10,boxShadow:`0 6px 24px rgba(0,0,0,0.12)`,border:`1px solid #e2e8f0`,padding:6,maxHeight:180,overflowY:`auto`},children:M.filter(e=>!B||e.name.includes(B)).map((e,t)=>(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10,padding:`8px 10px`,borderRadius:8,cursor:`pointer`,transition:`background 0.15s`},onMouseEnter:e=>e.currentTarget.style.background=`#f1f5f9`,onMouseLeave:e=>e.currentTarget.style.background=`transparent`,onMouseDown:t=>{t.preventDefault();let r=H.current?.resizableTextArea?.textArea||H.current?.nativeElement?.querySelector(`textarea`)||H.current;if(!r||!r.value)return;let i=r.value,a=i.lastIndexOf(`@`),o=i.slice(0,a)+`@${e.name} `;L(o),n.setFieldValue(`prompt`,o),z(!1),setTimeout(()=>{r.focus(),r.selectionStart=o.length,r.selectionEnd=o.length},50)},children:[(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,overflow:`hidden`,background:e.type===`image`?`#f1f5f9`:`#1a1a2e`,display:`flex`,alignItems:`center`,justifyContent:`center`,flexShrink:0},children:e.type===`image`?(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${e.url}`,style:{width:`100%`,height:`100%`,objectFit:`cover`}}):(0,$.jsx)(T8,{style:{color:`#fff`,fontSize:14}})}),(0,$.jsx)(Q.Text,{style:{fontSize:13},children:e.name}),(0,$.jsx)(j$,{style:{marginLeft:`auto`,fontSize:11},children:e.type===`image`?`图片`:`视频`})]},t))}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:`8px 12px 12px`,gap:8,flexWrap:`wrap`,position:`relative`,zIndex:50,minHeight:48},children:[xe!==`image`&&(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6,flex:1,flexWrap:`wrap`},children:[(0,$.jsx)(Nt,{label:`时长`,value:`${se}`,options:he.durations.map(e=>`${e}`),suffix:`秒`,expanded:pe===`duration`,onToggle:()=>me(pe===`duration`?null:`duration`),onSelect:e=>ce(parseInt(e)),onClose:()=>me(null)}),ht.map((e,t)=>{let n=G===e.name,r=ne[e.name];return(0,$.jsx)(Pt,{group:e,selected:r,expanded:n,onToggle:()=>ie(n?null:e.name),onSelect:t=>{re(n=>{let r={...n};return r[e.name]===t?delete r[e.name]:r[e.name]=t,r})},onClose:()=>ie(null)},`og-${t}`)})]}),xe==`image`&&(0,$.jsxs)(`div`,{style:{position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>Me(!je),className:`image-settings-trigger`,style:{minWidth:220,padding:`0px 16px`,height:30,borderRadius:10,border:`1px solid #e2e8f0`,backgroundColor:`#f8f9fc`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,gap:12,transition:`all 0.2s`},children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:(0,$.jsxs)(`div`,{style:{textAlign:`left`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:13,fontWeight:600,color:`#374151`,marginRight:10},children:Ce===`auto`?`智能`:Ce}),(0,$.jsxs)(Q.Text,{style:{fontSize:12,color:`#9ca3af`},children:[Te==`2K`?`高清 2K`:`超清 4K`,`| `,De,`×`,ke]})]})}),(0,$.jsx)(AQ,{style:{fontSize:14,color:`#9ca3af`}})]}),je&&(0,$.jsxs)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:0,width:520,backgroundColor:`#fff`,borderRadius:16,boxShadow:`0 10px 40px rgba(0,0,0,0.15)`,padding:20,border:`none`,zIndex:9999},onClick:e=>e.stopPropagation(),children:[(0,$.jsxs)(`div`,{style:{marginBottom:20},children:[(0,$.jsx)(Q.Text,{style:{display:`block`,marginBottom:10,fontSize:13,fontWeight:500,color:`#666666`},children:`选择比例`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:6},children:Ve.map(e=>(0,$.jsxs)(`button`,{onClick:()=>{we(e.value),ze(e.label)},style:{flex:`0 0 calc(11.11% - 5px)`,minWidth:48,height:56,borderRadius:8,border:Ce===e.value?`2px solid #6366f1`:`1px solid #e5e7eb`,backgroundColor:Ce===e.value?`#fff`:`#f9fafb`,cursor:`pointer`,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:[(0,$.jsx)(`div`,{style:{width:(()=>{let[t,n]=e.value===`auto`?[1,1]:e.value.split(`:`).map(Number);return t>=n?20:Math.round(t/n*20)})(),height:(()=>{let[t,n]=e.value===`auto`?[1,1]:e.value.split(`:`).map(Number);return n>=t?20:Math.round(n/t*20)})(),border:`2px solid ${Ce===e.value?`#6366f1`:`#9ca3af`}`,borderRadius:(e.value,3),marginBottom:3,display:`flex`,alignItems:`center`,justifyContent:`center`},children:e.value===`auto`&&(0,$.jsx)(`span`,{style:{fontSize:8,color:Ce===e.value?`#6366f1`:`#9ca3af`},children:`智`})}),(0,$.jsx)(`span`,{style:{fontSize:10,color:Ce===e.value?`#6366f1`:`#6b7280`,fontWeight:Ce===e.value?600:400},children:e.value})]},e.value))})]}),(0,$.jsxs)(`div`,{style:{marginBottom:20},children:[(0,$.jsx)(Q.Text,{style:{display:`block`,marginBottom:10,fontSize:13,fontWeight:500,color:`#666666`},children:`选择分辨率`}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:8},children:Ue.map(e=>(0,$.jsx)(`button`,{onClick:()=>{Ee(e.value),Be(e.label)},style:{flex:1,height:48,borderRadius:8,border:Te===e.value?`2px solid #6366f1`:`1px solid #e5e7eb`,backgroundColor:Te===e.value?`#6366f1`:`#f9fafb`,cursor:`pointer`,display:`flex`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:(0,$.jsxs)(`span`,{style:{fontSize:13,fontWeight:600,color:Te===e.value?`#fff`:`#4b5563`},children:[e.value,e.value===`4k`&&(0,$.jsx)(`span`,{style:{marginLeft:3},children:`✨`})]})},e.value))})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{style:{display:`block`,marginBottom:10,fontSize:13,fontWeight:500,color:`#666666`},children:`尺寸`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,flex:1,maxWidth:140},children:[(0,$.jsx)(`span`,{style:{color:`#9ca3af`,fontSize:12,marginRight:6},children:`W`}),(0,$.jsx)(_G,{value:De,onChange:e=>Oe(Number(e.target.value)||0),style:{flex:1,textAlign:`center`,borderRadius:6,height:40,border:`1px solid #e5e7eb`,backgroundColor:`#f9fafb`,fontSize:14,fontWeight:600,color:`#1f2937`}})]}),(0,$.jsx)(`button`,{onClick:Qe,style:{width:28,height:28,borderRadius:6,border:`1px solid #e5e7eb`,backgroundColor:`#fff`,cursor:`pointer`,display:`flex`,justifyContent:`center`,alignItems:`center`,color:`#6366f1`},children:(0,$.jsx)(xW,{style:{fontSize:12}})}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,flex:1,maxWidth:140},children:[(0,$.jsx)(`span`,{style:{color:`#9ca3af`,fontSize:12,marginRight:6},children:`H`}),(0,$.jsx)(_G,{value:ke,onChange:e=>Ae(Number(e.target.value)||0),style:{flex:1,textAlign:`center`,borderRadius:6,height:40,border:`1px solid #e5e7eb`,backgroundColor:`#f9fafb`,fontSize:14,fontWeight:600,color:`#1f2937`}})]}),(0,$.jsx)(`span`,{style:{color:`#9ca3af`,fontSize:12},children:`PX`})]})]})]})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,flexShrink:0},children:[xe===`image`&&(0,$.jsx)(`span`,{style:{color:`#7c7c7c`,fontSize:14},children:`(请在左侧选择图片比例和尺寸)`}),(0,$.jsx)(X,{type:`primary`,size:`large`,onClick:bt,loading:d,style:{borderRadius:10,fontWeight:600,minWidth:140,height:40,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,boxShadow:`0 4px 16px rgba(99,102,241,0.35)`},children:`AI优化提示词`})]})]})]})]})]}),p&&h&&(0,$.jsxs)(oR,{className:`animate-fadeInUp`,style:{borderRadius:16},styles:{body:{padding:`24px 28px`}},children:[!w[h.id]||w[h.id]===`idle`?(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:14,marginBottom:24,padding:`14px 18px`,borderRadius:12,background:`linear-gradient(135deg, rgba(16,185,129,0.06), rgba(5,150,105,0.06))`,border:`1px solid rgba(16,185,129,0.15)`},children:[(0,$.jsx)(K4,{style:{color:`#10b981`,fontSize:22}}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:15,display:`block`},children:`提示词优化完成`}),(0,$.jsxs)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:[`文本优化消耗 `,_e,` 积分· 您可以编辑提示词后选择参数生成视频`]})]})]}):(0,$.jsxs)(`div`,{style:{marginBottom:24,padding:`16px 18px`,borderRadius:12,display:`flex`,alignItems:`center`,gap:12,background:w[h.id]===`failed`?`rgba(239,68,68,0.04)`:w[h.id]===`done`?`rgba(16,185,129,0.04)`:`rgba(99,102,241,0.04)`,border:`1px solid ${w[h.id]===`failed`?`rgba(239,68,68,0.12)`:w[h.id]===`done`?`rgba(16,185,129,0.12)`:`rgba(99,102,241,0.12)`}`},children:[w[h.id]===`generating`&&(0,$.jsx)(Zm,{style:{color:`#6366f1`,fontSize:18},spin:!0}),w[h.id]===`done`&&(0,$.jsx)(K4,{style:{color:`#10b981`,fontSize:18}}),w[h.id]===`failed`&&(0,$.jsx)(Y4,{style:{color:`#ef4444`,fontSize:18}}),(0,$.jsxs)(Q.Text,{strong:!0,style:{fontSize:14,color:w[h.id]===`failed`?`#ef4444`:w[h.id]===`done`?`#10b981`:`#6366f1`},children:[w[h.id]===`generating`&&`${xe===`image`?`图片`:`视频`}生成中,请稍候...`,w[h.id]===`done`&&`${xe===`image`?`图片`:`视频`}生成成功`,w[h.id]===`failed`&&`${xe===`image`?`图片`:`视频`}生成失败,请重试`]})]}),!w[h.id]||w[h.id]===`idle`||w[h.id]===`failed`?(0,$.jsxs)(`div`,{className:`gen-prompt-row`,style:{display:`flex`,gap:20,flexWrap:`wrap`},children:[(0,$.jsxs)(`div`,{style:{flex:`1 1 45%`,minWidth:240},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:8},children:`原始提示词`}),(0,$.jsx)(`div`,{style:{padding:14,borderRadius:12,background:`#f8f9fc`,border:`1px solid #f0f0f5`,minHeight:100},children:(0,$.jsx)(Q.Text,{style:{fontSize:14,color:`#64748b`,lineHeight:1.7},children:h.originalPrompt})})]}),(0,$.jsxs)(`div`,{style:{flex:`1 1 45%`,minWidth:240},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:8},children:[(0,$.jsxs)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:[`优化后的提示词`,` `,!y&&(0,$.jsx)(`span`,{style:{color:`#6366f1`},children:`(可编辑)`})]}),!y&&(0,$.jsxs)(HH,{size:4,children:[(0,$.jsx)(Jw,{title:`复制`,children:(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(I1,{}),onClick:()=>{navigator.clipboard.writeText(_),Z.success(`已复制`)},style:{color:`#94a3b8`}})}),(0,$.jsx)(Jw,{title:`编辑`,children:(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(p1,{}),onClick:()=>b(!0),style:{color:`#6366f1`}})})]})]}),y?(0,$.jsxs)(`div`,{children:[(0,$.jsx)(_G.TextArea,{value:_,onChange:e=>v(e.target.value),rows:5,style:{borderRadius:12,fontSize:14,lineHeight:1.7,border:`1px solid rgba(99,102,241,0.25)`,background:`rgba(99,102,241,0.02)`}}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:8,marginTop:8},children:[(0,$.jsx)(X,{size:`small`,onClick:()=>{v(h.optimizedPrompt||``),b(!1)},children:`取消`}),(0,$.jsx)(X,{size:`small`,type:`primary`,onClick:()=>{b(!1),Z.success(`提示词已更新`)},style:{borderRadius:6,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,border:`none`},children:`保存`})]})]}):(0,$.jsx)(`div`,{style:{padding:14,borderRadius:12,background:`rgba(99,102,241,0.02)`,border:`1px solid rgba(99,102,241,0.1)`,minHeight:100},children:(0,$.jsx)(Q.Text,{style:{fontSize:14,color:`#1a1a2e`,lineHeight:1.7},children:_})})]})]}):(0,$.jsxs)(`div`,{className:`gen-prompt-row`,style:{display:`flex`,gap:24,flexWrap:`wrap`},children:[(0,$.jsxs)(`div`,{style:{flex:`1 1 55%`,minWidth:280},children:[(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:8},children:`原始提示词`}),(0,$.jsx)(`div`,{style:{padding:14,borderRadius:12,background:`#f8f9fc`,border:`1px solid #f0f0f5`,minHeight:80},children:(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#64748b`,lineHeight:1.6},children:h.originalPrompt})})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:8},children:[(0,$.jsxs)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:[`优化后的提示词`,` `,!y&&(0,$.jsx)(`span`,{style:{color:`#6366f1`},children:`(可编辑)`})]}),!y&&(0,$.jsxs)(HH,{size:4,children:[(0,$.jsx)(Jw,{title:`复制`,children:(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(I1,{}),onClick:()=>{navigator.clipboard.writeText(_),Z.success(`已复制`)},style:{color:`#94a3b8`}})}),(0,$.jsx)(Jw,{title:`编辑`,children:(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(p1,{}),onClick:()=>b(!0),style:{color:`#6366f1`}})})]})]}),y?(0,$.jsxs)(`div`,{children:[(0,$.jsx)(_G.TextArea,{value:_,onChange:e=>v(e.target.value),rows:5,style:{borderRadius:12,fontSize:13,lineHeight:1.6,border:`1px solid rgba(99,102,241,0.25)`,background:`rgba(99,102,241,0.02)`}}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:8,marginTop:8},children:[(0,$.jsx)(X,{size:`small`,onClick:()=>{v(h.optimizedPrompt||``),b(!1)},children:`取消`}),(0,$.jsx)(X,{size:`small`,type:`primary`,onClick:()=>{b(!1),Z.success(`提示词已更新`)},style:{borderRadius:6,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,border:`none`},children:`保存`})]})]}):(0,$.jsx)(`div`,{style:{padding:14,borderRadius:12,background:`rgba(99,102,241,0.02)`,border:`1px solid rgba(99,102,241,0.1)`,minHeight:120},children:(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#1a1a2e`,lineHeight:1.6},children:_})})]})]}),(0,$.jsxs)(`div`,{style:{flex:`1 1 40%`,minWidth:280},children:[h.videoUrl&&(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:8},children:`生成视频`}),(0,$.jsx)(`div`,{style:{borderRadius:12,overflow:`hidden`,border:`1px solid #f0f0f5`,background:`#000`},children:(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${h.videoUrl}`,controls:!0,style:{width:`100%`,maxHeight:350,display:`block`}})})]}),h.imageUrl&&(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:8},children:`生成图片`}),(0,$.jsx)(IW,{src:`http://ceshi.apiforeign.minzhong.cn${h.imageUrl}`,style:{width:`100%`,maxHeight:350,objectFit:`contain`,borderRadius:12,border:`1px solid #f0f0f5`},preview:!0})]})]})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginTop:20,padding:`14px 18px`,borderRadius:12,background:`#f8f9fc`,border:`1px solid #f0f0f5`},children:[xe!==`image`&&(0,$.jsxs)(`div`,{style:{marginTop:24,borderRadius:12,background:`#f8f9fc`,width:`25%`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#1a1a2e`,fontWeight:600,display:`block`,marginBottom:12},children:`选择视频参数`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12,flexWrap:`wrap`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6,padding:`5px 12px`,borderRadius:8,background:`#f8f9fc`,border:`1px solid #e2e8f0`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:`时长`}),(0,$.jsxs)(Q.Text,{strong:!0,style:{fontSize:13,color:`#6366f1`},children:[se,`s`]})]}),(0,$.jsx)(Nt,{label:`比例`,value:le,options:he.ratios,expanded:pe===`ratio`,onToggle:()=>me(pe===`ratio`?null:`ratio`),onSelect:e=>ue(e),onClose:()=>me(null)}),(0,$.jsx)(Nt,{label:`分辨率`,value:de,options:he.resolutions,expanded:pe===`resolution`,onToggle:()=>me(pe===`resolution`?null:`resolution`),onSelect:e=>fe(e),onClose:()=>me(null)})]})]}),xe==`image`&&h&&(0,$.jsx)(`div`,{style:{marginTop:24,borderRadius:12,background:`#f8f9fc`,width:`25%`},children:(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-around`},children:[(0,$.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`,marginBottom:4},children:`分辨率`}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#1a1a2e`},children:h.imageSize||`-`})]}),(0,$.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`,marginBottom:4},children:`画面比例`}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#1a1a2e`},children:h.imageProportion||`-`})]}),(0,$.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`,marginBottom:4},children:`画面尺寸`}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#1a1a2e`},children:h.imagePx||`-`})]})]})}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:[(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`文字积分`}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#6366f1`},children:_e})]}),(0,$.jsx)(Q.Text,{style:{color:`#cbd5e1`,fontSize:18},children:`+`}),(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:[`预估`,xe===`image`?`图片`:`视频`,`积分`]}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#10b981`},children:xe===`image`&&h.imageSize?_t(h.imageSize)||vt:Le(se,de)})]}),(0,$.jsx)(Q.Text,{style:{color:`#cbd5e1`,fontSize:18},children:`=`}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`总计`}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16,color:`#1a1a2e`},children:(_e+(xe===`image`?_t(h.imageSize):Le(se,de))).toFixed(2)})]})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,$.jsxs)(X,{size:`large`,onClick:()=>{m(!1),g(null),v(``),L(``),N([]),re({}),ie(null),me(null),n.resetFields()},style:{borderRadius:12,minWidth:120,height:44,fontWeight:500},children:[`配置新`,xe===`image`?`图片`:`视频`]}),(0,$.jsx)(Jw,{title:yt?``:`积分不足`,children:(0,$.jsx)(X,{type:`primary`,size:`large`,icon:(0,$.jsx)(U8,{}),onClick:()=>kt(h.id),loading:w[h.id]===`generating`,disabled:!yt||w[h.id]===`generating`||w[h.id]===`done`,style:{borderRadius:12,minWidth:180,height:44,fontWeight:600,background:w[h.id]===`done`?`#10b981`:yt?`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`:`#d1d5db`,border:`none`,boxShadow:yt?`0 8px 24px rgba(99,102,241,0.3)`:`none`},children:w[h.id]===`done`?`生成完成`:w[h.id]===`generating`?`生成中...`:`生成${xe===`image`?`图片`:`视频`} (${xe===`image`?_t(h.imageSize):Le(se,de)}积分)`})})]})]}),h.references&&h.references.length>0&&(0,$.jsxs)(`div`,{style:{marginTop:16},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:8},children:`参考内容`}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:8,flexWrap:`wrap`},children:h.references.map((e,t)=>(0,$.jsxs)(`div`,{style:{width:64,height:64,borderRadius:10,overflow:`hidden`,border:`1px solid #e2e8f0`,position:`relative`,cursor:`pointer`},onClick:()=>{e.type===`video`&&oe(`http://ceshi.apiforeign.minzhong.cn${e.url}`)},children:[e.type===`image`?(0,$.jsx)(IW,{src:`http://ceshi.apiforeign.minzhong.cn${e.url}`,style:{width:`100%`,height:`100%`,objectFit:`cover`},preview:!0}):(0,$.jsx)(a9,{src:`http://ceshi.apiforeign.minzhong.cn${e.url}`,width:64,height:64}),(0,$.jsx)(j$,{style:{position:`absolute`,bottom:0,left:0,right:0,margin:0,fontSize:9,textAlign:`center`,borderRadius:`0 0 8px 8px`,background:`rgba(0,0,0,0.5)`,border:`none`,color:`#fff`,padding:`0 2px`},children:e.name})]},t))})]})]}),pt.length>0&&(0,$.jsxs)(`div`,{style:{marginTop:24},children:[(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:15,display:`block`,marginBottom:12},children:`本项目生成记录`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8,background:`#fff`,borderRadius:12,padding:8,border:`1px solid #f0f0f5`},className:`stagger-children`,children:pt.map((e,t)=>{let n=jt(e),r=E[e.id]??(e.optimizedPrompt||e.originalPrompt),i=A===e.id,a=e.genType||`image`;return(0,$.jsxs)(`div`,{className:`animate-slideInCard`,style:{animationDelay:`${t*.05}s`},children:[(0,$.jsxs)(`div`,{className:`record-item`,onClick:()=>j(i?null:e.id),style:{padding:`12px 16px`,borderRadius:i?`8px 8px 0 0`:8,background:`#fafafa`,cursor:`pointer`,transition:`all 0.2s`,display:`flex`,alignItems:`center`,gap:10},children:[(0,$.jsx)(`div`,{style:{width:28,height:28,borderRadius:8,display:`flex`,alignItems:`center`,justifyContent:`center`,flexShrink:0,background:a===`image`?`#fef3c7`:`#dbeafe`},children:a===`image`?(0,$.jsx)(g8,{style:{color:`#d97706`,fontSize:12}}):(0,$.jsx)(H5,{style:{color:`#2563eb`,fontSize:12}})}),i?(0,$.jsx)(AQ,{style:{color:`#6366f1`,fontSize:11,flexShrink:0}}):(0,$.jsx)(U4,{style:{color:`#cbd5e1`,fontSize:11,flexShrink:0}}),(0,$.jsx)(j$,{color:Mt[n]?.color,icon:Mt[n]?.icon,style:{margin:0},children:Mt[n]?.text}),(0,$.jsx)(Q.Text,{style:{flex:1,fontSize:13,color:`#475569`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:r}),n===`prompt_optimized`&&(0,$.jsx)(j$,{color:`processing`,style:{padding:`3px 10px`,fontSize:12,margin:0,flexShrink:0},children:`待配置`}),a===`image`?(0,$.jsxs)(`span`,{className:`mobile-meta`,translate:`no`,style:{fontSize:12,color:`#94a3b8`,flexShrink:0},children:[e.duration?`${e.imageSize}`:`-`,` ·`,` `,e.imageProportion||`-`,` ·`,` `,e.imagePx||`-`,` ·`,` `,(0,$.jsx)(`span`,{className:`date-display`,translate:`no`,children:n9(e.createdAt)})]}):(0,$.jsxs)(`span`,{className:`mobile-meta`,translate:`no`,style:{fontSize:12,color:`#94a3b8`,flexShrink:0},children:[e.duration?`${e.duration}秒`:`-`,` ·`,` `,e.aspectRatio||`-`,` · `,e.resolution||`-`,` `,`·`,` `,(0,$.jsx)(`span`,{className:`date-display`,translate:`no`,children:n9(e.createdAt)})]}),(0,$.jsx)(`div`,{className:`record-actions`,onClick:e=>e.stopPropagation(),children:(0,$.jsx)(HH,{children:n===`failed`&&(0,$.jsx)(X,{type:`primary`,danger:!0,size:`small`,icon:(0,$.jsx)(T8,{}),loading:x[e.id],onClick:()=>At(e.id),style:{borderRadius:8},children:`重试`})})})]}),i&&(0,$.jsx)(`div`,{style:{background:`#fff`,borderRadius:`0 0 8px 8px`,padding:`18px 20px`,animation:`fadeInUp 0.25s ease both`},children:(0,$.jsxs)(`div`,{className:`gen-detail-row`,style:{display:`flex`,gap:20,flexWrap:`wrap`},children:[(0,$.jsxs)(`div`,{style:{flex:`1 1 50%`,minWidth:260},children:[(0,$.jsxs)(`div`,{style:{marginBottom:14},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:6},children:`原始提示词`}),(0,$.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`,border:`1px solid #f0f0f5`},children:(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#64748b`,lineHeight:1.7},children:e.originalPrompt})})]}),(0,$.jsxs)(`div`,{style:{marginBottom:14},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:6},children:[(0,$.jsxs)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:[`优化后的提示词`,` `,(n===`prompt_optimized`||n===`failed`)&&O!==e.id&&(0,$.jsx)(`span`,{style:{color:`#6366f1`},children:`(可编辑)`})]}),O!==e.id&&(0,$.jsxs)(HH,{size:4,children:[(0,$.jsx)(Jw,{title:`复制`,children:(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(I1,{}),onClick:()=>{navigator.clipboard.writeText(r),Z.success(`已复制`)},style:{color:`#94a3b8`}})}),(n===`prompt_optimized`||n===`failed`)&&(0,$.jsx)(Jw,{title:`编辑`,children:(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(p1,{}),onClick:()=>{k(e.id),D(t=>({...t,[e.id]:t[e.id]??e.optimizedPrompt??``}))},style:{color:`#6366f1`}})})]})]}),O===e.id?(0,$.jsxs)(`div`,{children:[(0,$.jsx)(_G.TextArea,{value:r,onChange:t=>D(n=>({...n,[e.id]:t.target.value})),rows:4,style:{borderRadius:10,fontSize:13,lineHeight:1.7,border:`1px solid rgba(99,102,241,0.25)`,background:`rgba(99,102,241,0.02)`}}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:8,marginTop:8},children:[(0,$.jsx)(X,{size:`small`,onClick:()=>k(null),children:`取消`}),(0,$.jsx)(X,{size:`small`,type:`primary`,onClick:()=>{D(t=>({...t,[e.id]:r})),k(null),Z.success(`提示词已更新`)},style:{borderRadius:6,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,border:`none`},children:`保存`})]})]}):(0,$.jsx)(`div`,{style:{padding:12,borderRadius:10,background:n===`prompt_optimized`?`rgba(99,102,241,0.02)`:`#f8f9fc`,border:n===`prompt_optimized`?`1px solid rgba(99,102,241,0.1)`:`1px solid #f0f0f5`},children:(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#1a1a2e`,lineHeight:1.7},children:r})})]}),a===`image`?(0,$.jsx)(`div`,{style:{display:`flex`,gap:14,padding:`10px 14px`,borderRadius:10,background:`#f8f9fc`},children:[{label:`文字积分`,value:`${e.textCreditsCost||0}`},{label:`图片积分`,value:`${e.creditsCost||0}`},{label:`分辨率`,value:e.imageSize?`${e.imageSize}`:`-`},{label:`比例`,value:e.imageProportion||`-`},{label:`尺寸`,value:e.imagePx||`-`}].map((e,t)=>(0,$.jsxs)(`div`,{style:{flex:1},children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:e.label}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:13,color:`#1a1a2e`},children:e.value})]},t))}):(0,$.jsx)(`div`,{style:{display:`flex`,gap:14,padding:`10px 14px`,borderRadius:10,background:`#f8f9fc`},children:[{label:`文字积分`,value:`${e.textCreditsCost||0}`},{label:`视频积分`,value:`${e.creditsCost||0}`},{label:`时长`,value:e.duration?`${e.duration}秒`:`-`},{label:`比例`,value:e.aspectRatio||`-`},{label:`分辨率`,value:e.resolution||`-`}].map((e,t)=>(0,$.jsxs)(`div`,{style:{flex:1},children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:e.label}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:13,color:`#1a1a2e`},children:e.value})]},t))}),(e.references&&e.references.length>0||n===`failed`)&&(0,$.jsxs)(`div`,{style:{marginTop:14},children:[(0,$.jsxs)(Q.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:8},children:[`参考素材`,` `,n===`failed`&&(0,$.jsx)(`span`,{style:{color:`#6366f1`},children:`(可删除/添加后重试)`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:8,flexWrap:`wrap`},children:[e.references?.map((t,r)=>(0,$.jsxs)(`div`,{style:{width:64,height:64,borderRadius:10,overflow:`visible`,border:`1px solid #e2e8f0`,position:`relative`,cursor:`pointer`},onClick:()=>{t.type===`video`&&oe(`http://ceshi.apiforeign.minzhong.cn${t.url}`)},children:[(0,$.jsx)(`div`,{style:{width:64,height:64,borderRadius:10,overflow:`hidden`},children:t.type===`image`?(0,$.jsx)(IW,{src:`http://ceshi.apiforeign.minzhong.cn${t.url}`,style:{width:`100%`,height:`100%`,objectFit:`cover`},preview:!0}):(0,$.jsx)(a9,{src:`http://ceshi.apiforeign.minzhong.cn${t.url}`,width:64,height:64})}),(0,$.jsx)(j$,{style:{position:`absolute`,bottom:0,left:0,right:0,margin:0,fontSize:9,textAlign:`center`,borderRadius:`0 0 8px 8px`,background:`rgba(0,0,0,0.5)`,border:`none`,color:`#fff`,padding:`0 2px`},children:t.name}),n===`failed`&&(0,$.jsx)(`div`,{className:`ref-delete`,onClick:n=>{n.stopPropagation(),m7(t.url).catch(()=>{});let i=e.references.filter((e,t)=>t!==r);t9.getState().updateRecordReferences(e.id,i)},style:{position:`absolute`,top:-4,right:-4,width:16,height:16,borderRadius:`50%`,background:`rgba(239,68,68,0.8)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,zIndex:10,opacity:0,transition:`opacity 0.15s`},children:(0,$.jsx)(Y4,{style:{color:`#fff`,fontSize:10}})})]},r)),n===`failed`&&(0,$.jsx)(e2,{accept:`image/*,video/*`,showUploadList:!1,multiple:!0,beforeUpload:t=>{let n=t.type.startsWith(`image/`),r=t.type.startsWith(`video/`);return!n&&!r?(Z.error(`仅支持图片或视频文件`),!1):((n?f7:p7)(t).then(r=>{let i={url:r.url,type:n?`image`:`video`,name:t.name||(n?`图片`:`视频`)},a=e.references||[];t9.getState().updateRecordReferences(e.id,[...a,i]),Z.success(`上传成功`)}).catch(()=>Z.error(`上传失败`)),!1)},children:(0,$.jsx)(Jw,{title:`添加参考素材`,children:(0,$.jsx)(`div`,{style:{width:64,height:64,borderRadius:10,border:`1.5px dashed #d9d9d9`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,transition:`all 0.2s`},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#6366f1`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`#d9d9d9`},children:(0,$.jsx)(IL,{style:{fontSize:18,color:`#94a3b8`}})})})})]})]})]}),(0,$.jsxs)(`div`,{style:{flex:`1 1 40%`,minWidth:220,position:`relative`},children:[n===`prompt_optimized`&&(0,$.jsxs)(`div`,{style:{marginTop:16,position:`absolute`,top:0,left:0,width:`100%`,height:`100%`,backgroundColor:`transparent`},children:[a===`video`&&(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12,flexWrap:`wrap`,marginBottom:12},children:[(0,$.jsxs)(`div`,{translate:`no`,style:{display:`flex`,alignItems:`center`,gap:6,padding:`5px 12px`,borderRadius:8,background:`#f8f9fc`,border:`1px solid #e2e8f0`,marginLeft:12},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:`时长`}),(0,$.jsxs)(Q.Text,{strong:!0,style:{fontSize:13,color:`#6366f1`},children:[e.duration,`秒`]})]}),(0,$.jsx)(Nt,{label:`比例`,value:K[e.id]?.aspectRatio||`选择比例`,options:he.ratios,expanded:pe===`ratio-${e.id}`,onToggle:()=>me(pe===`ratio-${e.id}`?null:`ratio-${e.id}`),onSelect:t=>ae(n=>({...n,[e.id]:{...n[e.id],aspectRatio:t,resolution:n[e.id]?.resolution||``}})),onClose:()=>me(null)}),(0,$.jsx)(Nt,{label:`分辨率`,value:K[e.id]?.resolution||`选择分辨率`,options:he.resolutions,expanded:pe===`res-${e.id}`,onToggle:()=>me(pe===`res-${e.id}`?null:`res-${e.id}`),onSelect:t=>ae(n=>({...n,[e.id]:{...n[e.id],aspectRatio:n[e.id]?.aspectRatio||``,resolution:t}})),onClose:()=>me(null)})]}),(0,$.jsxs)(X,{type:`primary`,size:`large`,icon:(0,$.jsx)(U8,{}),block:!0,loading:x[e.id],disabled:a===`video`&&(!K[e.id]?.aspectRatio||!K[e.id]?.resolution),onClick:async()=>{let t=K[e.id];if(a===`video`){if(!t?.aspectRatio||!t?.resolution){Z.error(`请选择比例和分辨率`);return}if(gt({...t,[e.id]:!0})),T(t=>({...t,[e.id]:`generating`}));let n=a===`video`?`视频`:`图片`;Z.loading({content:`「${mt}」正在生成${n}...`,duration:0,key:e.id});try{await c(e.id,{aspectRatio:t?.aspectRatio,resolution:t?.resolution}),T(t=>({...t,[e.id]:`done`})),Z.success({content:`「${mt}」${n}生成成功!`,key:e.id,duration:3})}catch{T(t=>({...t,[e.id]:`failed`})),Z.error({content:`「${mt}」${n}生成失败`,key:e.id,duration:3})}finally{C(t=>({...t,[e.id]:!1}))}},style:{borderRadius:12,fontWeight:600,color:`#fff`,height:48,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,position:`absolute`,bottom:18,left:0},children:[`生成`,a===`video`?`视频`:`图片`,a===`video`?(0,$.jsx)(`span`,{style:{color:`#d2d2d2`,fontSize:`14px`,marginLeft:`6px`},children:`(请选择上方的比例分辨率)`}):``,` `,a===`video`&&K[e.id]?.resolution?`(${Le(e.duration||5,K[e.id].resolution)}积分)`:``,a===`image`&&e.imageSize?`(${Re(e.imageSize)}积分)`:a===`image`?`(积分)`:``]})]}),n===`failed`&&(0,$.jsx)(`div`,{style:{position:`absolute`,bottom:18,right:20},children:(0,$.jsxs)(X,{type:`primary`,danger:!0,size:`large`,icon:(0,$.jsx)(T8,{}),block:!0,loading:x[e.id],onClick:()=>At(e.id),style:{borderRadius:12,fontWeight:600,height:48},children:[`重新生成`,a===`video`?`视频`:`图片`]})}),n===`generating`?(0,$.jsxs)(`div`,{style:{height:`100%`,minHeight:180,borderRadius:12,background:`linear-gradient(135deg, rgba(99,102,241,0.04), rgba(139,92,246,0.04))`,border:`1px dashed rgba(99,102,241,0.2)`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,gap:10},children:[(0,$.jsx)(Zm,{style:{color:`#6366f1`,fontSize:28},spin:!0}),(0,$.jsxs)(Q.Text,{style:{color:`#94a3b8`,fontSize:13},children:[a===`video`?`视频`:`图片`,`生成中...`]})]}):n===`completed`&&e.videoUrl||e.imageUrl?(0,$.jsxs)(`div`,{style:{borderRadius:12,overflow:`hidden`,border:`1px solid #f0f0f5`,position:`relative`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:10,right:10,zIndex:10},children:(0,$.jsx)(Jw,{title:`下载${a===`video`?`视频`:`图片`}`,children:(0,$.jsx)(X,{size:`small`,icon:(0,$.jsx)(J0,{}),onClick:()=>{let t=document.createElement(`a`);t.href=`http://ceshi.apiforeign.minzhong.cn${a===`video`?e.videoUrl:e.imageUrl}&download=1`,t.download=`${e.projectName}${a===`video`?`.mp4`:`.png`}`,t.click()},style:{background:`rgba(0,0,0,0.5)`,border:`none`,color:`#fff`,backdropFilter:`blur(4px)`,borderRadius:8},children:`下载`})})}),(0,$.jsx)(`div`,{style:{minHeight:180,overflow:`hidden`},children:a===`video`?(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${e.videoUrl}`,controls:!0,preload:`metadata`,style:{width:`100%`,height:`400px`,borderRadius:0}}):(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${e.imageUrl}`,alt:e.projectName,style:{width:`100%`,maxHeight:`400px`,objectFit:`contain`,borderRadius:0}})}),(0,$.jsxs)(`div`,{style:{padding:`8px 12px`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,background:`#fafbff`},children:[(0,$.jsxs)(HH,{children:[a===`video`?(0,$.jsx)(H5,{style:{color:`#6366f1`,fontSize:13}}):(0,$.jsx)(g8,{style:{color:`#6366f1`,fontSize:13}}),(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#475569`},children:e.projectName})]}),e.generatedAt&&(0,$.jsx)(`span`,{className:`date-display`,translate:`no`,style:{fontSize:11,color:`#94a3b8`},children:n9(e.generatedAt)})]})]}):n===`failed`?(0,$.jsxs)(`div`,{style:{height:`100%`,minHeight:180,borderRadius:12,background:`rgba(239,68,68,0.03)`,border:`1px dashed rgba(239,68,68,0.2)`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,gap:10,padding:16},children:[(0,$.jsx)(Y4,{style:{color:`#ef4444`,fontSize:28}}),(0,$.jsxs)(Q.Text,{style:{color:`#ef4444`,fontSize:14,fontWeight:600},children:[a===`video`?`视频`:`图片`,`生成失败`]}),e.errorMessage&&(0,$.jsx)(Q.Text,{style:{color:`#ef4444`,fontSize:12,textAlign:`center`,lineHeight:1.6},children:e.errorMessage})]}):(0,$.jsxs)(`div`,{style:{height:`100%`,minHeight:180,borderRadius:12,background:`#f8f9fc`,border:`1px dashed #e2e8f0`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,gap:10},children:[(0,$.jsx)(UV,{style:{color:`#94a3b8`,fontSize:28}}),(0,$.jsx)(Q.Text,{style:{color:`#94a3b8`,fontSize:13},children:a===`image`?`待生成图片`:n===`prompt_optimized`?`待配置视频参数`:`待生成视频`})]})]})]})})]},e.id)})})]}),(0,$.jsx)(YK,{open:!!q,onCancel:()=>oe(null),footer:null,width:480,centered:!0,destroyOnClose:!0,closable:!1,title:null,styles:{body:{padding:0,background:`#000`,position:`relative`}},children:q&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`video`,{src:q,controls:!0,autoPlay:!0,style:{width:`100%`,display:`block`,maxHeight:`70vh`}}),(0,$.jsx)(`div`,{onClick:()=>oe(null),style:{position:`absolute`,top:8,right:8,width:28,height:28,borderRadius:`50%`,background:`rgba(0,0,0,0.6)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,zIndex:10,transition:`background 0.15s`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(0,0,0,0.85)`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(0,0,0,0.6)`},children:(0,$.jsx)(Y5,{style:{color:`#fff`,fontSize:16}})})]})})]})},o9={optimizing:{color:`processing`,text:`优化中`,icon:(0,$.jsx)(Zm,{spin:!0})},prompt_optimized:{color:`processing`,text:`待生成`,icon:(0,$.jsx)(UV,{})},generating:{color:`warning`,text:`生成中`,icon:(0,$.jsx)(Zm,{spin:!0})},completed:{color:`success`,text:`已完成`,icon:(0,$.jsx)(K4,{})},failed:{color:`error`,text:`失败`,icon:(0,$.jsx)(Y4,{})}},s9=()=>{let e=Ye(),{records:t,projects:n,fetchRecords:r,fetchProjects:i,generateVideo:a}=t9(),o=t.items,[s,c]=(0,S.useState)(1),[l,u]=(0,S.useState)(10),[d,f]=(0,S.useState)({}),[p,m]=(0,S.useState)(void 0),[h,g]=(0,S.useState)(void 0),[_,v]=(0,S.useState)({}),[y,b]=(0,S.useState)(null),[x,C]=(0,S.useState)(null),[w,T]=(0,S.useState)(null);(0,S.useEffect)(()=>{i()},[i]),(0,S.useEffect)(()=>{r({projectId:p,status:h,page:s,pageSize:l})},[r,p,h,s,l]);let E=async()=>{if(!w)return;let{recordId:e,projectName:t,ratio:n,resolution:r}=w;f(t=>({...t,[e]:!0})),T(null),Z.loading({content:`「${t}」正在生成视频...`,duration:0,key:e});try{await a(e,{aspectRatio:n,resolution:r}),Z.success({content:`「${t}」视频生成成功!`,key:e,duration:3})}catch{Z.error({content:`「${t}」视频生成失败`,key:e,duration:3})}finally{f(t=>({...t,[e]:!1}))}},D=e=>{if((e.genType||`image`)===`image`){f(t=>({...t,[e.id]:!0})),Z.loading({content:`「${e.projectName}」正在生成图片...`,duration:0,key:e.id}),a(e.id,{}).then(()=>{Z.success({content:`「${e.projectName}」图片生成成功!`,key:e.id,duration:3})}).catch(()=>{Z.error({content:`「${e.projectName}」图片生成失败`,key:e.id,duration:3})}).finally(()=>{f(t=>({...t,[e.id]:!1}))});return}T({recordId:e.id,projectName:e.projectName,ratio:e.aspectRatio||`16:9`,resolution:e.resolution||`720p`})},O=o;return(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:20,padding:`16px 24px`,borderRadius:16,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,border:`1px solid rgba(99, 102, 241, 0.08)`},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:[(0,$.jsx)(X,{icon:(0,$.jsx)(t4,{}),onClick:()=>e(`/projects`),style:{borderRadius:10,fontSize:13,height:32,background:`rgba(99, 102, 241, 0.1)`,border:`1px solid rgba(99, 102, 241, 0.2)`,color:`#6366f1`},children:`返回`}),(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #6366f1, #8b5cf6, transparent)`,borderRadius:1}}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Title,{level:2,style:{margin:0,fontSize:16,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`项目记录`}),(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#64748b`},children:`查看所有视频生成记录,点击记录查看完整内容和视频`})]}),(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #8b5cf6, #6366f1, transparent)`,borderRadius:1}})]})}),(0,$.jsxs)(`div`,{className:`record-filter-bar animate-fadeInUp`,style:{display:`flex`,gap:12,marginBottom:20,padding:`14px 20px`,borderRadius:14,background:`#fff`,border:`1px solid #f0f0f5`},children:[(0,$.jsxs)(HH,{children:[(0,$.jsx)(L3,{style:{color:`#94a3b8`}}),(0,$.jsx)(iw,{placeholder:`全部项目`,allowClear:!0,style:{width:200},onChange:e=>{m(e),c(1)},children:n.map(e=>(0,$.jsx)(iw.Option,{value:e.id,children:e.name},e.id))}),(0,$.jsxs)(iw,{placeholder:`全部状态`,allowClear:!0,style:{width:140},onChange:e=>{g(e),c(1)},children:[(0,$.jsx)(iw.Option,{value:`prompt_optimized`,children:`待生成`}),(0,$.jsx)(iw.Option,{value:`generating`,children:`生成中`}),(0,$.jsx)(iw.Option,{value:`completed`,children:`已完成`}),(0,$.jsx)(iw.Option,{value:`failed`,children:`失败`})]})]}),(0,$.jsxs)(Q.Text,{style:{marginLeft:`auto`,lineHeight:`32px`,color:`#94a3b8`,fontSize:13},children:[`共 `,t.total,` 条记录`]})]}),O.length===0?(0,$.jsx)(OC,{image:OC.PRESENTED_IMAGE_SIMPLE,description:`暂无生成记录`,style:{padding:60}}):(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8},className:`stagger-children`,children:O.map((e,t)=>{let n=y===e.id,r=_[e.id]??e.optimizedPrompt,i=d[e.id],a=x===e.id,o=e.genType||`image`;return(0,$.jsxs)(`div`,{className:`animate-slideInCard`,style:{animationDelay:`${t*.04}s`},children:[(0,$.jsxs)(`div`,{className:`record-item`,onClick:()=>C(a?null:e.id),style:{padding:`14px 20px`,borderRadius:a?`14px 14px 0 0`:14,background:`#fff`,border:`1px solid #f0f0f5`,cursor:`pointer`,transition:`all 0.2s`,display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:28,height:28,borderRadius:8,display:`flex`,alignItems:`center`,justifyContent:`center`,flexShrink:0,background:o===`image`?`#fef3c7`:`#dbeafe`},children:o===`image`?(0,$.jsx)(g8,{style:{color:`#d97706`,fontSize:12}}):(0,$.jsx)(H5,{style:{color:`#2563eb`,fontSize:12}})}),a?(0,$.jsx)(AQ,{style:{color:`#6366f1`,fontSize:12,flexShrink:0}}):(0,$.jsx)(U4,{style:{color:`#cbd5e1`,fontSize:12,flexShrink:0}}),(0,$.jsx)(j$,{color:o9[e.status].color,icon:o9[e.status].icon,style:{margin:0},children:o9[e.status].text}),(0,$.jsx)(j$,{style:{background:`#f0f0ff`,border:`none`,color:`#6366f1`,margin:0},children:e.projectName}),(0,$.jsx)(Q.Text,{style:{flex:1,fontSize:13,color:`#475569`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:r}),o===`image`?(0,$.jsxs)(`span`,{className:`mobile-meta`,translate:`no`,style:{fontSize:12,color:`#94a3b8`,flexShrink:0},children:[e.duration?`${e.imageSize}`:`-`,` · `,e.imageProportion||`-`,` · `,e.imagePx||`-`,` · `,(0,$.jsx)(`span`,{className:`date-display`,translate:`no`,children:n9(e.createdAt)})]}):(0,$.jsxs)(`span`,{className:`mobile-meta`,translate:`no`,style:{fontSize:12,color:`#94a3b8`,flexShrink:0},children:[e.duration?`${e.duration}秒`:`-`,` · `,e.aspectRatio||`-`,` · `,e.resolution||`-`,` · `,(0,$.jsx)(`span`,{className:`date-display`,translate:`no`,children:n9(e.createdAt)})]}),(0,$.jsx)(`div`,{className:`record-actions`,onClick:e=>e.stopPropagation(),children:(0,$.jsxs)(HH,{children:[e.status===`prompt_optimized`&&(0,$.jsx)(X,{type:`primary`,size:`small`,icon:(0,$.jsx)(T8,{}),loading:i,onClick:()=>D(e),style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,border:`none`},children:`生成`}),e.status===`generating`&&(0,$.jsx)(j$,{color:`processing`,icon:(0,$.jsx)(Zm,{spin:!0}),style:{padding:`4px 12px`,fontSize:12},children:`生成中...`}),e.status===`failed`&&(0,$.jsx)(X,{type:`primary`,danger:!0,size:`small`,icon:(0,$.jsx)(T8,{}),loading:i,onClick:()=>D(e),style:{borderRadius:8},children:`重试`})]})})]}),a&&(0,$.jsx)(`div`,{style:{background:`#fff`,border:`1px solid #f0f0f5`,borderTop:`none`,borderRadius:`0 0 14px 14px`,padding:`20px 24px`,animation:`fadeInUp 0.25s ease both`},children:(0,$.jsxs)(`div`,{className:`gen-detail-row`,style:{display:`flex`,gap:24,flexWrap:`wrap`},children:[(0,$.jsxs)(`div`,{style:{flex:`1 1 50%`,minWidth:280},children:[(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:6},children:`原始提示词`}),(0,$.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`,border:`1px solid #f0f0f5`},children:(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#64748b`,lineHeight:1.7},children:e.originalPrompt})})]}),(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:6},children:[(0,$.jsxs)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:[`优化后的提示词 `,e.status===`prompt_optimized`&&(0,$.jsx)(`span`,{style:{color:`#6366f1`},children:`(可编辑)`})]}),!n&&(0,$.jsxs)(HH,{size:4,children:[(0,$.jsx)(Jw,{title:`复制`,children:(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(I1,{}),onClick:()=>{navigator.clipboard.writeText(r),Z.success(`已复制`)},style:{color:`#94a3b8`}})}),e.status===`prompt_optimized`&&(0,$.jsx)(Jw,{title:`编辑`,children:(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(p1,{}),onClick:()=>{b(e.id),v(t=>({...t,[e.id]:t[e.id]??e.optimizedPrompt}))},style:{color:`#6366f1`}})})]})]}),n?(0,$.jsxs)(`div`,{children:[(0,$.jsx)(_G.TextArea,{value:r,onChange:t=>v(n=>({...n,[e.id]:t.target.value})),rows:4,style:{borderRadius:10,fontSize:13,lineHeight:1.7,border:`1px solid rgba(99,102,241,0.25)`,background:`rgba(99,102,241,0.02)`}}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:8,marginTop:8},children:[(0,$.jsx)(X,{size:`small`,onClick:()=>b(null),children:`取消`}),(0,$.jsx)(X,{size:`small`,type:`primary`,onClick:()=>{v(t=>({...t,[e.id]:r})),b(null),Z.success(`提示词已更新`)},style:{borderRadius:6,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,border:`none`},children:`保存`})]})]}):(0,$.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`rgba(99,102,241,0.02)`,border:`1px solid rgba(99,102,241,0.1)`},children:(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#1a1a2e`,lineHeight:1.7},children:r})})]}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:16,padding:`12px 16px`,borderRadius:10,background:`#f8f9fc`},children:o===`image`?[{label:`分辨率`,value:e.imageSize?`${e.imageSize} `:`-`},{label:`画面比例`,value:e.imageProportion?`${e.imageProportion} `:`-`},{label:`画面尺寸`,value:e.imageProportion?`${e.imageProportion} `:`-`},{label:`消耗积分`,value:e.creditsCost?`${e.creditsCost} `:`-`,highlight:!!e.creditsCost}].map((e,t)=>(0,$.jsxs)(`div`,{style:{flex:1},children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:e.label}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:e.highlight?`#6366f1`:`#1a1a2e`},children:e.value})]},t)):[{label:`时长`,value:e.duration?`${e.duration} 秒`:`-`},{label:`画面比例`,value:e.aspectRatio||(e.status===`prompt_optimized`?`待选择`:`-`)},{label:`分辨率`,value:e.resolution||(e.status===`prompt_optimized`?`待选择`:`-`)},{label:`消耗积分`,value:e.creditsCost?`${e.creditsCost}`:`-`,highlight:!!e.creditsCost}].map((e,t)=>(0,$.jsxs)(`div`,{style:{flex:1},children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:e.label}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:e.highlight?`#6366f1`:`#1a1a2e`},children:e.value})]},t))}),e.status===`prompt_optimized`&&(0,$.jsx)(`div`,{style:{marginTop:16,display:`flex`,justifyContent:`flex-end`},children:(0,$.jsx)(X,{type:`primary`,size:`large`,icon:(0,$.jsx)(U8,{}),loading:i,onClick:()=>D(e),style:{borderRadius:12,fontWeight:600,height:44,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,boxShadow:`0 8px 24px rgba(99,102,241,0.3)`},children:o===`video`?`选择参数生成视频`:`生成图片`})}),e.status===`failed`&&(0,$.jsx)(`div`,{style:{marginTop:16,display:`flex`,justifyContent:`flex-end`},children:(0,$.jsxs)(X,{type:`primary`,danger:!0,size:`large`,icon:(0,$.jsx)(T8,{}),loading:i,onClick:()=>D(e),style:{borderRadius:12,fontWeight:600,height:44},children:[`重新生成`,o===`video`?`视频`:`图片`]})})]}),(0,$.jsx)(`div`,{style:{flex:`1 1 40%`,minWidth:240},children:e.status===`generating`?(0,$.jsxs)(`div`,{style:{height:`100%`,minHeight:200,borderRadius:14,background:`linear-gradient(135deg, rgba(99,102,241,0.04), rgba(139,92,246,0.04))`,border:`1px dashed rgba(99,102,241,0.2)`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,gap:12},children:[(0,$.jsx)(Zm,{style:{color:`#6366f1`,fontSize:32},spin:!0}),(0,$.jsxs)(Q.Text,{style:{color:`#94a3b8`,fontSize:14},children:[o===`video`?`视频`:`图片`,`生成中...`]}),(0,$.jsx)(Q.Text,{style:{color:`#cbd5e1`,fontSize:12},children:`请耐心等待,生成完成后将自动展示`})]}):e.status===`completed`&&(e.videoUrl||e.imageUrl)?(0,$.jsxs)(`div`,{style:{borderRadius:14,overflow:`hidden`,border:`1px solid #f0f0f5`,position:`relative`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:10,right:10,zIndex:10},children:(0,$.jsx)(Jw,{title:`下载${o===`video`?`视频`:`图片`}`,children:(0,$.jsx)(X,{size:`small`,icon:(0,$.jsx)(J0,{}),onClick:()=>{let t=document.createElement(`a`);t.href=`http://ceshi.apiforeign.minzhong.cn${o===`video`?e.videoUrl:e.imageUrl}&download=1`,t.download=`${e.projectName}${o===`video`?`.mp4`:`.png`}`,t.click()},style:{background:`rgba(0,0,0,0.5)`,border:`none`,color:`#fff`,backdropFilter:`blur(4px)`,borderRadius:8},children:`下载`})})}),(0,$.jsx)(`div`,{style:{minHeight:280,overflow:`hidden`},children:o===`video`?(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${e.videoUrl}`,controls:!0,preload:`metadata`,style:{width:`100%`,height:`400px`,display:`block`}}):(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${e.imageUrl}`,alt:e.projectName,style:{width:`100%`,maxHeight:`400px`,objectFit:`contain`,display:`block`}})}),(0,$.jsxs)(`div`,{style:{padding:`10px 14px`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,background:`#fafbff`},children:[(0,$.jsxs)(HH,{children:[o===`video`?(0,$.jsx)(H5,{style:{color:`#6366f1`}}):(0,$.jsx)(g8,{style:{color:`#6366f1`}}),(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#475569`},children:e.projectName})]}),e.generatedAt&&(0,$.jsxs)(`span`,{className:`date-display`,translate:`no`,style:{fontSize:12,color:`#94a3b8`},children:[`生成于 `,n9(e.generatedAt)]})]})]}):e.status===`failed`?(0,$.jsxs)(`div`,{style:{height:`100%`,minHeight:200,borderRadius:14,background:`rgba(239,68,68,0.03)`,border:`1px dashed rgba(239,68,68,0.2)`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,gap:12},children:[(0,$.jsx)(Y4,{style:{color:`#ef4444`,fontSize:32}}),(0,$.jsxs)(Q.Text,{style:{color:`#ef4444`,fontSize:14},children:[o===`video`?`视频`:`图片`,`生成失败`]}),(0,$.jsx)(Q.Text,{style:{color:`#94a3b8`,fontSize:12},children:`请在左侧点击重新生成`})]}):(0,$.jsxs)(`div`,{style:{height:`100%`,minHeight:200,borderRadius:14,background:`#f8f9fc`,border:`1px dashed #e2e8f0`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,gap:12},children:[(0,$.jsx)(UV,{style:{color:`#94a3b8`,fontSize:32}}),(0,$.jsxs)(Q.Text,{style:{color:`#94a3b8`,fontSize:14},children:[`待生成`,o===`video`?`视频`:`图片`]}),(0,$.jsx)(Q.Text,{style:{color:`#cbd5e1`,fontSize:12},children:`点击左侧生成按钮开始生成`})]})})]})})]},e.id)})}),t.total>0&&(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,marginTop:18},children:(0,$.jsx)(rK,{current:t.page||s,pageSize:t.pageSize||l,total:t.total,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{c(e),u(t)}})}),(0,$.jsx)(YK,{title:(0,$.jsxs)(HH,{children:[(0,$.jsx)(U8,{}),`生成视频`]}),open:!!w,onCancel:()=>T(null),onOk:E,okText:`提交生成`,cancelText:`取消`,width:420,children:w&&(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:16,marginTop:16},children:(()=>{let e=o.find(e=>e.id===w.recordId);return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`时长`}),(0,$.jsxs)(Q.Text,{strong:!0,children:[e?.duration||5,`秒`]})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#64748b`,display:`block`,marginBottom:6},children:`画面比例`}),(0,$.jsx)(iw,{value:w.ratio,onChange:e=>T(t=>t?{...t,ratio:e}:null),style:{width:`100%`},options:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`].map(e=>({value:e,label:e}))})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#64748b`,display:`block`,marginBottom:6},children:`分辨率`}),(0,$.jsx)(iw,{value:w.resolution,onChange:e=>T(t=>t?{...t,resolution:e}:null),style:{width:`100%`},options:[`480p`,`720p`,`1080p`].map(e=>({value:e,label:e}))})]})]})})()})})]})},c9=({value:e,duration:t=1200})=>{let[n,r]=(0,S.useState)(0),i=(0,S.useRef)(0);return(0,S.useEffect)(()=>{let a=n,o=e-a;if(o===0)return;let s=performance.now(),c=e=>{let n=e-s,l=Math.min(n/t,1);r(a+o*(1-(1-l)**3)),l<1&&(i.current=requestAnimationFrame(c))};return i.current=requestAnimationFrame(c),()=>cancelAnimationFrame(i.current)},[e]),(0,$.jsx)($.Fragment,{children:n.toLocaleString()})},zie=()=>{let{user:e}=Y7(),[t,n]=(0,S.useState)([]),[r,i]=(0,S.useState)(!1),[a,o]=(0,S.useState)(1),[s,c]=(0,S.useState)(10),[l,u]=(0,S.useState)(0);(0,S.useEffect)(()=>{(async()=>{i(!0);let e=await h7(a,s);n(e.records),u(e.total),i(!1)})()},[a,s]);let d=(e,t)=>{o(e),c(t)},f=t.filter(e=>e.type===`recharge`).reduce((e,t)=>e+t.amount,0),p=t.filter(e=>e.type===`consume`).reduce((e,t)=>e+Math.abs(t.amount),0);return(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(AJ,{gutter:[16,16],style:{marginBottom:24},children:[(0,$.jsx)(Uz,{xs:24,sm:8,children:(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{borderRadius:16,padding:24,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,position:`relative`,overflow:`hidden`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,right:-20,top:-20,width:120,height:120,borderRadius:`50%`,background:`rgba(255,255,255,0.1)`}}),(0,$.jsxs)(`div`,{style:{position:`relative`},children:[(0,$.jsxs)(HH,{style:{marginBottom:10},children:[(0,$.jsx)(W5,{style:{color:`rgba(255,255,255,0.8)`,fontSize:16}}),(0,$.jsx)(`span`,{style:{color:`rgba(255,255,255,0.8)`,fontSize:14},children:`当前可用积分`})]}),(0,$.jsx)(`div`,{style:{color:`#fff`,fontSize:38,fontWeight:800,lineHeight:1},children:(0,$.jsx)(c9,{value:e?.credits??0})})]})]})}),(0,$.jsx)(Uz,{xs:12,sm:8,children:(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{borderRadius:16,padding:24,background:`#fff`,border:`1px solid #f0f0f5`,animationDelay:`0.06s`},children:[(0,$.jsxs)(HH,{style:{marginBottom:10},children:[(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,background:`rgba(16,185,129,0.1)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(s4,{style:{color:`#10b981`,fontSize:14}})}),(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:14},children:`累计获得`})]}),(0,$.jsx)(`div`,{style:{color:`#10b981`,fontSize:28,fontWeight:800},children:(0,$.jsx)(c9,{value:f})})]})}),(0,$.jsx)(Uz,{xs:12,sm:8,children:(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{borderRadius:16,padding:24,background:`#fff`,border:`1px solid #f0f0f5`,animationDelay:`0.12s`},children:[(0,$.jsxs)(HH,{style:{marginBottom:10},children:[(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,background:`rgba(239,68,68,0.1)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(Q2,{style:{color:`#ef4444`,fontSize:14}})}),(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:14},children:`累计消耗`})]}),(0,$.jsx)(`div`,{style:{color:`#ef4444`,fontSize:28,fontWeight:800},children:(0,$.jsx)(c9,{value:p})})]})})]}),(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{animationDelay:`0.15s`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,$.jsx)(j5,{style:{color:`#6366f1`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`积分明细`})]}),(0,$.jsx)(`div`,{style:{borderRadius:16,background:`#fff`,border:`1px solid #f0f0f5`,overflow:`hidden`},children:(0,$.jsx)(v$,{columns:[{title:`类型`,dataIndex:`type`,key:`type`,width:100,render:e=>(0,$.jsx)(j$,{color:e===`recharge`?`green`:`orange`,icon:e===`recharge`?(0,$.jsx)(s4,{}):(0,$.jsx)(Q2,{}),children:e===`recharge`?`充值`:`消费`})},{title:`积分变动`,dataIndex:`amount`,key:`amount`,width:120,render:e=>(0,$.jsxs)(Q.Text,{strong:!0,style:{color:e>0?`#10b981`:`#ef4444`,fontSize:15},children:[e>0?`+`:``,e]})},{title:`说明`,dataIndex:`description`,key:`description`},{title:`时间`,dataIndex:`createdAt`,key:`createdAt`,width:160,render:e=>(0,$.jsx)(`span`,{className:`date-display`,translate:`no`,style:{color:`#94a3b8`},children:n9(e)})}],dataSource:t,rowKey:`id`,loading:r,pagination:{current:a,pageSize:s,total:l,onChange:d,showSizeChanger:!0,showTotal:e=>`共 ${e} 条`},scroll:{x:500}})})]})]})},Bie=()=>{let[e,t]=(0,S.useState)(!0),[n,r]=(0,S.useState)([]),[i,a]=(0,S.useState)(0),[o,s]=(0,S.useState)(0),[c,l]=(0,S.useState)(1),[u]=(0,S.useState)(10);(0,S.useEffect)(()=>{d()},[c]);let d=async()=>{t(!0);try{let e=await h7(c,u);r(e.records||[]),a(e.credits||0),s(e.total||0)}catch{r([])}t(!1)};return(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(AJ,{gutter:[16,16],style:{marginBottom:24},children:[(0,$.jsx)(Uz,{xs:24,sm:8,children:(0,$.jsxs)(`div`,{style:{borderRadius:16,padding:24,background:`linear-gradient(135deg, #f59e0b 0%, #ea580c 100%)`,position:`relative`,overflow:`hidden`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,right:-20,top:-20,width:120,height:120,borderRadius:`50%`,background:`rgba(255,255,255,0.1)`}}),(0,$.jsxs)(`div`,{style:{position:`relative`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:10},children:[(0,$.jsx)(W5,{style:{color:`rgba(255,255,255,0.8)`,fontSize:16}}),(0,$.jsx)(`span`,{style:{color:`rgba(255,255,255,0.8)`,fontSize:14},children:`可用积分`})]}),(0,$.jsx)(`div`,{style:{color:`#fff`,fontSize:38,fontWeight:800,lineHeight:1},children:i.toLocaleString()})]})]})}),(0,$.jsx)(Uz,{xs:12,sm:8,children:(0,$.jsxs)(`div`,{style:{borderRadius:16,padding:24,background:`#fff`,border:`1px solid #f0f0f5`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:10},children:[(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,background:`rgba(16,185,129,0.1)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(O8,{style:{color:`#10b981`,fontSize:14}})}),(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:14},children:`累计获得`})]}),(0,$.jsx)(`div`,{style:{color:`#10b981`,fontSize:28,fontWeight:800},children:n.filter(e=>e.amount>0).reduce((e,t)=>e+t.amount,0).toLocaleString()})]})}),(0,$.jsx)(Uz,{xs:12,sm:8,children:(0,$.jsxs)(`div`,{style:{borderRadius:16,padding:24,background:`#fff`,border:`1px solid #f0f0f5`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:10},children:[(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,background:`rgba(239,68,68,0.1)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(j5,{style:{color:`#ef4444`,fontSize:14}})}),(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:14},children:`累计消耗`})]}),(0,$.jsx)(`div`,{style:{color:`#ef4444`,fontSize:28,fontWeight:800},children:n.filter(e=>e.amount<0).reduce((e,t)=>e+Math.abs(t.amount),0).toLocaleString()})]})})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,$.jsx)(j5,{style:{color:`#f59e0b`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`积分明细`})]}),(0,$.jsx)(`div`,{style:{borderRadius:16,background:`#fff`,border:`1px solid #f0f0f5`,overflow:`hidden`},children:(0,$.jsx)(wK,{spinning:e,children:n.length===0?(0,$.jsx)(OC,{description:(0,$.jsx)(`span`,{style:{color:`#94a3b8`},children:`暂无积分变动记录`})}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(v$,{dataSource:n,columns:[{title:`变动类型`,dataIndex:`type`,key:`type`,width:120,render:e=>{let t={recharge:{color:`#10b981`,label:`充值`,bg:`rgba(16,185,129,0.1)`},consume:{color:`#ef4444`,label:`消费`,bg:`rgba(239,68,68,0.1)`},admin:{color:`#f59e0b`,label:`管理员调整`,bg:`rgba(245,158,11,0.1)`},refund:{color:`#8b5cf6`,label:`退款`,bg:`rgba(139,92,246,0.1)`}}[e]||{color:`#64748b`,label:e,bg:`rgba(100,116,139,0.1)`};return(0,$.jsx)(j$,{color:t.color,style:{background:t.bg,fontWeight:500,padding:`4px 12px`},children:t.label})}},{title:`描述`,dataIndex:`description`,key:`description`,ellipsis:!0},{title:`变动积分`,dataIndex:`amount`,key:`amount`,width:120,align:`right`,render:e=>(0,$.jsxs)(Q.Text,{strong:!0,style:{fontWeight:700,color:e>0?`#10b981`:`#ef4444`,fontSize:15},children:[e>0?`+`:``,e]})},{title:`创建时间`,key:`createdAt`,width:180,render:(e,t)=>{let n=t.created_at||t.createdAt||t.create_time||t.createTime;return n?new Date(n).toLocaleString(`zh-CN`):`-`}}],rowKey:`id`,pagination:!1,bordered:!1}),(0,$.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,$.jsx)(rK,{current:c,pageSize:u,total:o,onChange:e=>{l(e)},size:`small`})})]})})})]})]})},Vie=()=>{let[e,t]=(0,S.useState)(!0),[n,r]=(0,S.useState)([]),[i,a]=(0,S.useState)(0),[o,s]=(0,S.useState)(1),[c]=(0,S.useState)(10);(0,S.useEffect)(()=>{l()},[o]);let l=async()=>{t(!0);try{let e=await Ore(o,c);r(e.items||[]),a(e.total||0)}catch{r([])}t(!1)};return(0,$.jsx)(`div`,{children:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,$.jsx)(qH,{style:{color:`#0ea5e9`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`订单记录`}),(0,$.jsxs)(`span`,{style:{color:`#94a3b8`,fontSize:13},children:[`共 `,n.length,` 条记录`]})]}),(0,$.jsx)(`div`,{style:{borderRadius:16,background:`#fff`,border:`1px solid #f0f0f5`,overflow:`hidden`},children:(0,$.jsx)(wK,{spinning:e,children:n.length===0?(0,$.jsx)(OC,{description:(0,$.jsx)(`span`,{style:{color:`#94a3b8`},children:`暂无订单记录`})}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(v$,{dataSource:n,columns:[{title:`订单号`,key:`orderNo`,width:200,render:(e,t)=>(0,$.jsx)(`span`,{style:{fontFamily:`monospace`,fontSize:13,color:`#64748b`},children:t.order_no||t.orderNo||t.id})},{title:`支付方式`,key:`paymentMethod`,width:100,render:(e,t)=>{let n=t.payment_method||t.paymentMethod||`wechat`,r={alipay:{icon:(0,$.jsx)(U2,{style:{fontSize:16}}),label:`支付宝`,color:`#1677ff`},wechat:{icon:(0,$.jsx)(q5,{style:{fontSize:16}}),label:`微信支付`,color:`#07c160`}},i=r[n]||r.wechat;return(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{color:i.color},children:i.icon}),(0,$.jsx)(`span`,{style:{fontSize:13,color:`#374151`},children:i.label})]})}},{title:`金额`,key:`amount`,width:100,align:`right`,render:(e,t)=>{let n=t.amount||t.total_amount||0;return(0,$.jsxs)(Q.Text,{strong:!0,style:{fontWeight:700,fontSize:14,color:`#1e293b`},children:[`¥`,n]})}},{title:`获得积分`,key:`credits`,width:100,align:`center`,render:(e,t)=>{let n=t.credits||t.credit_amount||0;return(0,$.jsx)(Q.Text,{strong:!0,style:{fontWeight:600,fontSize:14,color:`#f59e0b`},children:n})}},{title:`状态`,key:`status`,width:100,render:(e,t)=>{let n=t.status||`pending`,r={pending:{color:`#f59e0b`,label:`待支付`,bg:`rgba(245,158,11,0.1)`},paid:{color:`#10b981`,label:`已支付`,bg:`rgba(16,185,129,0.1)`},refunded:{color:`#94a3b8`,label:`已退款`,bg:`rgba(148,163,184,0.1)`},failed:{color:`#ef4444`,label:`支付失败`,bg:`rgba(239,68,68,0.1)`},cancelled:{color:`#64748b`,label:`已取消`,bg:`rgba(100,116,139,0.1)`},processing:{color:`#0ea5e9`,label:`处理中`,bg:`rgba(14,165,233,0.1)`}}[n]||{color:`#64748b`,label:n,bg:`rgba(100,116,139,0.1)`};return(0,$.jsx)(j$,{color:r.color,style:{background:r.bg,fontWeight:500,padding:`4px 12px`},children:r.label})}},{title:`创建时间`,key:`createdAt`,width:180,render:(e,t)=>{let n=t.created_at||t.createdAt;return n?new Date(n).toLocaleString(`zh-CN`):`-`}},{title:`支付时间`,key:`paidAt`,width:180,render:(e,t)=>{let n=t.paid_at||t.paidAt;return n?new Date(n).toLocaleString(`zh-CN`):`-`}}],rowKey:`order_no`,pagination:!1,bordered:!1}),(0,$.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,$.jsx)(rK,{current:o,pageSize:c,total:i,onChange:e=>{s(e)},size:`small`})})]})})})]})})},Hie=()=>{let[e,t]=(0,S.useState)(!0),[n,r]=(0,S.useState)([]),[i,a]=(0,S.useState)(0),[o,s]=(0,S.useState)(0),[c,l]=(0,S.useState)(1),[u]=(0,S.useState)(10);(0,S.useEffect)(()=>{d(),f()},[c]);let d=async()=>{t(!0);try{let e=await v7(c,u);r(e.items||[]),s(e.total||0)}catch{r([])}t(!1)},f=async()=>{try{a(await y7())}catch{a(0)}},p=async e=>{try{await b7(e),d(),f()}catch{}};return(0,$.jsx)(`div`,{children:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,$.jsx)(S4,{style:{color:`#6366f1`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`消息中心`}),(0,$.jsxs)(`span`,{style:{color:`#94a3b8`,fontSize:13},children:[`未读 `,i,` 条`]})]}),(0,$.jsx)(`div`,{style:{borderRadius:16,background:`#fff`,border:`1px solid #f0f0f5`,overflow:`hidden`},children:(0,$.jsx)(wK,{spinning:e,children:n.length===0?(0,$.jsx)(OC,{description:(0,$.jsx)(`span`,{style:{color:`#94a3b8`},children:`暂无消息`})}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(v$,{dataSource:n,columns:[{title:`类型`,dataIndex:`type`,key:`type`,width:100,render:e=>{let t={system:{color:`#6366f1`,label:`系统`,bg:`rgba(99,102,241,0.1)`,icon:(0,$.jsx)(t5,{style:{fontSize:14}})},credit:{color:`#f59e0b`,label:`积分`,bg:`rgba(245,158,11,0.1)`,icon:(0,$.jsx)(W5,{style:{fontSize:14}})},promo:{color:`#8b5cf6`,label:`活动`,bg:`rgba(139,92,246,0.1)`,icon:(0,$.jsx)(Y3,{style:{fontSize:14}})}},n=t[e]||t.system;return(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{color:n.color},children:n.icon}),(0,$.jsx)(`span`,{style:{fontSize:13,color:n.color,fontWeight:500},children:n.label})]})}},{title:`标题`,dataIndex:`title`,key:`title`,ellipsis:!0},{title:`内容`,dataIndex:`content`,key:`content`,ellipsis:!0},{title:`状态`,dataIndex:`isRead`,key:`isRead`,width:80,render:(e,t)=>e??t.is_read?(0,$.jsx)(j$,{color:`gray`,style:{background:`rgba(148,163,184,0.1)`},children:`已读`}):(0,$.jsx)(j$,{color:`purple`,style:{background:`rgba(139,92,246,0.1)`},children:`未读`})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:160,render:e=>{if(!e)return`-`;let t=new Date(e),n=new Date().getTime()-t.getTime(),r=Math.floor(n/(1e3*60*60));if(r<1)return`刚刚`;if(r<24)return`${r}小时前`;let i=Math.floor(r/24);return i<7?`${i}天前`:t.toLocaleDateString(`zh-CN`)}},{title:`操作`,key:`action`,width:100,render:(e,t)=>t.isRead??t.is_read?null:(0,$.jsx)(X,{type:`text`,size:`small`,onClick:()=>p(t.id),style:{color:`#6366f1`},children:`标记已读`})}],rowKey:`id`,pagination:!1,bordered:!1}),(0,$.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,$.jsx)(rK,{current:c,pageSize:u,total:o,onChange:e=>{l(e)},size:`small`})})]})})})]})})},l9=()=>{let[e]=On(),[t,n]=(0,S.useState)(`credits`);return(0,S.useEffect)(()=>{(e.get(`tab`)||`credits`)===`orders`?n(`orders`):n(`credits`)},[e]),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(iR,{activeKey:t,onChange:n,items:[{key:`credits`,label:`积分明细`},{key:`orders`,label:`订单记录`}],style:{marginBottom:24},size:`large`}),t===`credits`&&(0,$.jsx)(Bie,{}),t===`orders`&&(0,$.jsx)(Vie,{})]})},Uie=`/assets/bg1-CQh9PRPW.png`,Wie=({items:e,selectedId:t,onSelect:n})=>e.length?(0,$.jsx)(MK,{dataSource:e,renderItem:e=>(0,$.jsx)(MK.Item,{style:{padding:0,marginBottom:8},children:(0,$.jsxs)(X,{block:!0,onClick:()=>n(e),style:{height:`auto`,padding:12,textAlign:`left`,borderColor:t===e.id?`#8b5cf6`:`#e2e8f0`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,gap:8},children:[(0,$.jsx)(`strong`,{children:e.name}),(0,$.jsxs)(j$,{color:e.activeAssetCount>0?`green`:`default`,children:[e.activeAssetCount,`/`,e.assetCount]})]}),e.description&&(0,$.jsx)(`div`,{style:{color:`#64748b`,fontSize:12,marginTop:4},children:e.description})]})})}):(0,$.jsx)(OC,{description:`暂无项目组`}),Gie={Active:`green`,Processing:`processing`,Failed:`red`,local_deleted:`default`,remote_deleted:`default`,delete_failed:`red`},Kie=e=>e?e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(`data:`)?e:`http://ceshi.apiforeign.minzhong.cn${e}`:``,qie=({items:e,onSync:t,onDelete:n})=>e.length?(0,$.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fill, minmax(160px, 1fr))`,gap:14},children:e.map(e=>(0,$.jsxs)(`div`,{style:{border:`1px solid #e2e8f0`,borderRadius:12,overflow:`hidden`,background:`#fff`},children:[(0,$.jsx)(`div`,{style:{height:150,background:`#f8fafc`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:e.previewUrl||e.remoteUrl?(0,$.jsx)(`img`,{src:Kie(e.previewUrl||e.remoteUrl),alt:e.name||``,style:{width:`100%`,height:`100%`,objectFit:`cover`}}):(0,$.jsx)(`span`,{style:{color:`#94a3b8`},children:`无预览`})}),(0,$.jsxs)(`div`,{style:{padding:10},children:[(0,$.jsx)(Jw,{title:e.name||e.remoteAssetId,children:(0,$.jsx)(`div`,{style:{fontWeight:600,color:`#1e293b`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},children:e.name||e.remoteAssetId})}),(0,$.jsx)(`div`,{style:{marginTop:8},children:(0,$.jsx)(j$,{color:Gie[e.status]||`default`,children:e.status})}),e.errorMessage&&(0,$.jsx)(`div`,{style:{color:`#ef4444`,fontSize:12,marginTop:6},children:e.errorMessage}),(0,$.jsxs)(HH,{style:{marginTop:10},size:6,children:[(0,$.jsx)(X,{size:`small`,icon:(0,$.jsx)(aJ,{}),onClick:()=>t(e.id),children:`刷新`}),(0,$.jsx)($K,{title:`确认删除这个素材吗?`,onConfirm:()=>n(e.id),children:(0,$.jsx)(X,{size:`small`,danger:!0,icon:(0,$.jsx)(G$,{}),children:`删除`})})]})]})]},e.id))}):(0,$.jsx)(OC,{description:`暂无真人素材`}),Jie=({projectId:e,open:t,onClose:n,onSuccess:r})=>{let[i,a]=(0,S.useState)([]),[o,s]=(0,S.useState)(``),[c,l]=(0,S.useState)(!1);return(0,$.jsx)(YK,{title:`上传真人素材`,open:t,onCancel:n,onOk:async()=>{let t=i[0]?.originFileObj;if(!t){Z.warning(`请先选择图片素材`);return}l(!0);try{await fie(e,{url:(await f7(t)).url,assetType:`Image`,name:o||t.name}),Z.success(`素材已提交入库,处理中`),a([]),s(``),r(),n()}catch(e){Z.error(e?.message||`上传素材失败`)}finally{l(!1)}},confirmLoading:c,okText:`提交入库`,children:(0,$.jsxs)(`div`,{style:{display:`grid`,gap:12},children:[(0,$.jsx)(_G,{value:o,onChange:e=>s(e.target.value),placeholder:`素材名称,默认使用文件名`}),(0,$.jsx)(e2,{accept:`image/*`,maxCount:1,fileList:i,beforeUpload:()=>!1,onChange:({fileList:e})=>a(e),listType:`picture`,children:(0,$.jsx)(X,{icon:(0,$.jsx)(L5,{}),children:`选择图片`})}),(0,$.jsx)(`div`,{style:{color:`#64748b`,fontSize:12},children:`建议上传真人正脸、全身或同人妆造图。入库后会经过火山真人一致性校验,Active 后才可用于 AI 创作。`})]})})},Yie=({project:e,onDeleted:t,onChanged:n})=>{let[r,i]=(0,S.useState)([]),[a,o]=(0,S.useState)(!1),[s,c]=(0,S.useState)(!1),l=async()=>{o(!0);try{i((await pie(e.id,{pageSize:100})).items)}catch(e){Z.error(e?.message||`加载素材失败`)}finally{o(!1)}};(0,S.useEffect)(()=>{l()},[e.id]);let u=async e=>{try{await mie(e),await l(),n(),Z.success(`素材状态已刷新`)}catch(e){Z.error(e?.message||`刷新失败`)}},d=async e=>{try{await hie(e),await l(),n(),Z.success(`素材已删除`)}catch(e){Z.error(e?.message||`删除素材失败`)}},f=async()=>{try{await uie(e.id),Z.success(`项目组已删除`),t()}catch(e){Z.error(e?.message||`删除项目组失败`)}},p=e.status===`active`;return(0,$.jsxs)(oR,{title:(0,$.jsxs)(HH,{children:[(0,$.jsx)(`span`,{children:e.name}),(0,$.jsx)(j$,{color:p?`green`:`processing`,children:e.status})]}),extra:(0,$.jsxs)(HH,{children:[(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(L5,{}),disabled:!p,onClick:()=>c(!0),children:`上传素材`}),(0,$.jsx)(X,{icon:(0,$.jsx)(aJ,{}),onClick:l,loading:a,children:`刷新`}),(0,$.jsx)($K,{title:`确认删除这个真人素材项目组吗?`,onConfirm:f,children:(0,$.jsx)(X,{danger:!0,icon:(0,$.jsx)(G$,{}),children:`删除项目组`})})]}),style:{borderRadius:12},children:[(0,$.jsx)(Q.Paragraph,{style:{color:`#64748b`},children:e.description||`暂无描述`}),!p&&(0,$.jsx)(Q.Paragraph,{style:{color:`#f97316`},children:`项目组未完成真人认证,暂不能上传素材。请重新创建项目组并完成手机扫码认证。`}),(0,$.jsx)(qie,{items:r,loading:a,onSync:u,onDelete:d}),(0,$.jsx)(Jie,{projectId:e.id,open:s,onClose:()=>c(!1),onSuccess:()=>{l(),n()}})]})},u9=`group_active`,d9=2e3,Xie=()=>{let[e,t]=(0,S.useState)([]),[n,r]=(0,S.useState)(null),[i,a]=(0,S.useState)(!1),[o,s]=(0,S.useState)(!1),[c,l]=(0,S.useState)(!1),[u,d]=(0,S.useState)(null),[f,p]=(0,S.useState)(null),[m,h]=(0,S.useState)(!1),[g]=IU.useForm(),_=(0,S.useRef)(null),v=()=>{_.current&&=(window.clearInterval(_.current),null)},y=()=>{v(),s(!1),l(!1),h(!1),d(null),p(null),g.resetFields()},b=async()=>{a(!0);try{let e=await J7({pageSize:100,status:`active`});t(e.items),r(t=>t?e.items.find(e=>e.id===t.id)||e.items[0]||null:e.items[0]||null)}catch(e){Z.error(e?.message||`加载真人素材项目组失败`)}finally{a(!1)}};(0,S.useEffect)(()=>{b()},[]),(0,S.useEffect)(()=>()=>v(),[]);let x=async e=>{v(),h(!1),Z.success(`真人认证完成,项目组已创建成功`),s(!1),p(null),d(null),g.resetFields();let n=await J7({pageSize:100,status:`active`});t(n.items),r(n.items.find(t=>t.id===e)||n.items[0]||null)},C=(e,t,n)=>{v(),h(!0);let r=async()=>{try{let n=await die(e);if(p(n),n.status===u9){await x(t);return}[`callback_failed`,`failed`,`expired`].includes(n.status)&&(v(),h(!1),Z.error(n.errorMessage||`真人认证未完成,请重新创建项目组`))}catch(e){v(),h(!1),Z.error(e?.message||`轮询真人认证状态失败`)}};_.current=window.setInterval(r,Math.max(1e3,n||d9)),r()},w=async()=>{let e=await g.validateFields();l(!0);try{let t=`${window.location.origin}/private-portrait-authorized`,n=await lie({...e,callbackRedirectUrl:t});d(n.project),p(n.validateSession),Z.success(`请使用手机扫码完成人脸认证`),n.validateSession?.id&&C(n.validateSession.id,n.project.id,n.pollIntervalMs||d9)}catch(e){Z.error(e?.message||`创建项目组认证二维码失败`)}finally{l(!1)}},T=f?.h5Link||``,E=f?.status===u9;return(0,$.jsxs)(`div`,{style:{padding:16},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:16},children:[(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Title,{level:4,style:{margin:0},children:`真人素材库`}),(0,$.jsx)(Q.Text,{type:`secondary`,children:`创建项目组时先完成真人认证,认证成功后项目组才会正式创建并可上传素材。`})]}),(0,$.jsxs)(HH,{children:[(0,$.jsx)(X,{icon:(0,$.jsx)(aJ,{}),onClick:b,loading:i,children:`刷新`}),(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(IL,{}),onClick:()=>s(!0),children:`新建项目组`})]})]}),(0,$.jsxs)(AJ,{gutter:16,children:[(0,$.jsx)(Uz,{xs:24,md:7,lg:6,children:(0,$.jsx)(oR,{title:`项目组`,style:{borderRadius:12},children:(0,$.jsx)(Wie,{items:e,selectedId:n?.id,onSelect:r})})}),(0,$.jsx)(Uz,{xs:24,md:17,lg:18,children:n?(0,$.jsx)(Yie,{project:n,onDeleted:()=>{r(null),b()},onChanged:b}):(0,$.jsx)(oR,{style:{borderRadius:12,textAlign:`center`,color:`#94a3b8`},children:`请先创建或选择一个真人素材项目组`})})]}),(0,$.jsx)(YK,{title:`新建真人素材项目组`,open:o,onCancel:y,footer:f?[(0,$.jsx)(X,{onClick:y,children:`关闭`},`close`)]:void 0,onOk:f?void 0:w,okText:`开始认证并创建`,confirmLoading:c,maskClosable:!m,children:f?(0,$.jsxs)(HH,{direction:`vertical`,align:`center`,size:16,style:{width:`100%`},children:[E?(0,$.jsx)(K4,{style:{fontSize:54,color:`#22c55e`}}):T?(0,$.jsx)(uJ,{value:T,size:220}):(0,$.jsx)(wK,{}),(0,$.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,$.jsx)(Q.Title,{level:5,style:{marginBottom:8},children:u?.name||`真人素材项目组`}),(0,$.jsx)(Q.Text,{type:E?`success`:`secondary`,children:E?`认证成功,项目组正在刷新`:`请使用手机扫码完成人脸认证,成功后回到电脑端查看项目组。`})]}),T&&!E&&(0,$.jsx)(Q.Text,{copyable:!0,style:{wordBreak:`break-all`},children:T})]}):(0,$.jsxs)(IU,{form:g,layout:`vertical`,children:[(0,$.jsx)(IU.Item,{label:`项目组名称`,name:`name`,rules:[{required:!0,message:`请输入项目组名称`}],children:(0,$.jsx)(_G,{placeholder:`例如:达人A、客户B、张三人像`})}),(0,$.jsx)(IU.Item,{label:`描述`,name:`description`,children:(0,$.jsx)(_G.TextArea,{rows:3,placeholder:`可选`})}),(0,$.jsx)(Q.Paragraph,{type:`secondary`,style:{marginBottom:0},children:`点击后会生成真人认证二维码。手机扫码认证成功后,项目组才会出现在项目列表中。`})]})})]})},{Text:f9}=Q,Zie=e=>e?e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(`data:`)||e.startsWith(`blob:`)?e:`${`http://ceshi.apiforeign.minzhong.cn`.replace(/\/$/,``)}${e.startsWith(`/`)?``:`/`}${e}`:``,Qie=({open:e,selectedIds:t=[],maxCount:n=20,onClose:r,onSelect:i})=>{let[a,o]=(0,S.useState)([]),[s,c]=(0,S.useState)(),[l,u]=(0,S.useState)(``),[d,f]=(0,S.useState)([]),[p,m]=(0,S.useState)(new Set(t)),[h,g]=(0,S.useState)(!1),[_,v]=(0,S.useState)(!1);(0,S.useMemo)(()=>{let e=new Map;return d.forEach(t=>{p.has(t.id)&&e.set(t.id,t)}),e},[d,p]);let y=async()=>{g(!0);try{let e=await J7({page:1,pageSize:100,status:`active`});o(e.items||[]),!s&&e.items?.length&&c(e.items[0].id)}catch(e){Z.error(e?.message||`加载真人素材项目失败`)}finally{g(!1)}},b=async()=>{v(!0);try{f((await gie({projectId:s,keyword:l.trim()||void 0,page:1,pageSize:100})).items||[])}catch(e){Z.error(e?.message||`加载真人素材失败`)}finally{v(!1)}};(0,S.useEffect)(()=>{e&&(m(new Set(t)),y())},[e]),(0,S.useEffect)(()=>{e&&b()},[e,s]);let x=e=>{m(t=>{let r=new Set(t);return r.has(e.id)?(r.delete(e.id),r):r.size>=n?(Z.warning(`最多选择 ${n} 个参考素材`),t):(r.add(e.id),r)})};return(0,$.jsx)(YK,{title:`选择真人素材库`,open:e,onCancel:r,width:920,footer:[(0,$.jsx)(X,{onClick:r,children:`取消`},`cancel`),(0,$.jsxs)(X,{type:`primary`,onClick:()=>{let e=d.filter(e=>p.has(e.id));if(!e.length){Z.warning(`请选择至少一个真人素材`);return}i(e),r()},style:{background:`#8b5cf6`},children:[`添加选中素材(`,p.size,`)`]},`ok`)],children:(0,$.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`240px 1fr`,gap:16,minHeight:480},children:[(0,$.jsxs)(`div`,{style:{border:`1px solid #eef0f4`,borderRadius:12,padding:12,background:`#fafafa`},children:[(0,$.jsxs)(HH,{style:{width:`100%`,justifyContent:`space-between`,marginBottom:12},children:[(0,$.jsx)(f9,{strong:!0,children:`项目组`}),(0,$.jsx)(X,{size:`small`,icon:(0,$.jsx)(aJ,{}),onClick:y,loading:h})]}),(0,$.jsx)(wK,{spinning:h,children:(0,$.jsx)(MK,{dataSource:a,locale:{emptyText:(0,$.jsx)(OC,{image:OC.PRESENTED_IMAGE_SIMPLE,description:`暂无项目组`})},renderItem:e=>(0,$.jsx)(MK.Item,{onClick:()=>c(e.id),style:{cursor:`pointer`,padding:`10px 12px`,borderRadius:10,marginBottom:6,border:s===e.id?`1px solid #8b5cf6`:`1px solid transparent`,background:s===e.id?`#f5f3ff`:`#fff`},children:(0,$.jsxs)(`div`,{style:{width:`100%`},children:[(0,$.jsx)(f9,{strong:!0,ellipsis:!0,style:{display:`block`},children:e.name}),(0,$.jsxs)(f9,{type:`secondary`,style:{fontSize:12},children:[`Active `,e.activeAssetCount||0]})]})})})})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(HH,{style:{width:`100%`,marginBottom:12},children:[(0,$.jsx)(_G,{allowClear:!0,prefix:(0,$.jsx)($C,{}),placeholder:`搜索素材名称`,value:l,onChange:e=>u(e.target.value),onPressEnter:b}),(0,$.jsx)(X,{icon:(0,$.jsx)(aJ,{}),onClick:b,loading:_,children:`刷新`})]}),(0,$.jsx)(wK,{spinning:_,children:d.length===0?(0,$.jsx)(OC,{image:OC.PRESENTED_IMAGE_SIMPLE,description:`暂无可选 Active 真人素材`,style:{marginTop:120}}):(0,$.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fill, minmax(140px, 1fr))`,gap:12,maxHeight:420,overflowY:`auto`,paddingRight:4},children:d.map(e=>{let t=p.has(e.id);return(0,$.jsxs)(`div`,{onClick:()=>x(e),style:{cursor:`pointer`,border:t?`2px solid #8b5cf6`:`1px solid #edf0f5`,borderRadius:12,overflow:`hidden`,background:`#fff`,boxShadow:t?`0 8px 20px rgba(139,92,246,0.18)`:`0 4px 12px rgba(15,23,42,0.04)`,position:`relative`},children:[(0,$.jsx)(`div`,{style:{aspectRatio:`1 / 1`,background:`#f8fafc`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:e.previewUrl?(0,$.jsx)(`img`,{src:Zie(e.previewUrl),alt:e.name||`真人素材`,style:{width:`100%`,height:`100%`,objectFit:`cover`}}):(0,$.jsx)(g8,{style:{fontSize:32,color:`#94a3b8`}})}),t&&(0,$.jsx)(`div`,{style:{position:`absolute`,top:8,right:8,width:24,height:24,borderRadius:12,background:`#8b5cf6`,color:`#fff`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(qC,{})}),(0,$.jsxs)(`div`,{style:{padding:10},children:[(0,$.jsx)(f9,{strong:!0,ellipsis:!0,style:{display:`block`},children:e.name||`未命名素材`}),(0,$.jsxs)(HH,{style:{marginTop:6},children:[(0,$.jsx)(j$,{color:`green`,children:`Active`}),(0,$.jsx)(j$,{children:e.projectName})]})]})]},e.id)})})})]})]})})},{Header:$ie,Sider:eae,Content:tae}=EG,{TextArea:nae}=_G,{Option:rae}=iw,{Text:p9}=Q,iae=()=>{let[e,t]=(0,S.useState)(!1),[n,r]=(0,S.useState)(`1`),[i,a]=(0,S.useState)([]),{mediaType:o,countType:s,selectedRatio:c,selectedResolution:l,width:u,height:d,videoDuration:f,videoAspectRatio:p,videoResolution:m,engineOptions:h,enginesele:g,inputValue:_,setMediaType:v,setCountType:y,setSelectedRatio:b,setSelectedResolution:x,setWidth:C,setHeight:w,setVideoDuration:T,setVideoAspectRatio:E,setVideoResolution:D,setEngineOptions:O,setEnginesele:k,setInputValue:A,currentMedia:j,setCurrentMedia:M}=t9(),N=(o===`image`?g?.image:g?.video)?.find(e=>e.id===s),P=N?.maxImageCount??4,F=N?.maxVideoCount??1,[I,L]=(0,S.useState)(!1),[R,z]=(0,S.useState)(!1),[B,V]=(0,S.useState)(`universal`),[H,U]=(0,S.useState)(null),[W,ee]=(0,S.useState)(null),[te,ne]=(0,S.useState)(null),[re,G]=(0,S.useState)(!1),[ie,K]=(0,S.useState)(!1),[ae,q]=(0,S.useState)(!1),oe=(0,S.useRef)(null),se=(0,S.useCallback)(()=>{oe.current&&=(window.clearTimeout(oe.current),null),q(!0)},[]),ce=(0,S.useCallback)(()=>{oe.current&&window.clearTimeout(oe.current),oe.current=window.setTimeout(()=>{q(!1),oe.current=null},260)},[]),[le,ue]=(0,S.useState)(!1),de=(0,S.useRef)(null),[fe,pe]=(0,S.useState)({top:0,left:0}),me=e=>{let t=0,n=0,r=0;return e.map(e=>e.type===`image`?(t++,`图片${t}`):e.type===`video`?(n++,`视频${n}`):(r++,`音频${r}`))},[he,ge]=(0,S.useState)(!1),[_e,ve]=(0,S.useState)(``),[ye,be]=(0,S.useState)(`image`),xe=(0,S.useRef)(null);(0,S.useEffect)(()=>{if(he&&ye===`video`){let e=()=>{xe.current&&xe.current.play().catch(()=>{})};xe.current&&(xe.current.readyState>=2?e():xe.current.addEventListener(`loadedmetadata`,e));let t=setTimeout(e,300);return()=>{clearTimeout(t),xe.current&&(xe.current.removeEventListener(`loadedmetadata`,e),xe.current.pause())}}else xe.current&&xe.current.pause()},[he,ye]);let[Se,Ce]=(0,S.useState)(new Set),we=e=>{if(!e)return null;try{let t=new URL(e).searchParams.get(`exp`);return t?parseInt(t,10):null}catch{try{let t=e.indexOf(`?`);if(t!==-1){let n=e.substring(t+1),r=new URLSearchParams(n).get(`exp`);if(r)return parseInt(r,10)}return null}catch{return null}}},Te=e=>{let t=we(e);return t?Math.floor(Date.now()/1e3)>t:!1},[Ee,De]=(0,S.useState)(!1),[Oe,ke]=(0,S.useState)(``),[Ae,je]=(0,S.useState)(`image`),[Me,Ne]=(0,S.useState)(``),Pe=(0,S.useRef)(null),[Fe,Ie]=(0,S.useState)(null),[Le,Re]=(0,S.useState)(0),[ze,Be]=(0,S.useState)(!1),[Ve,He]=(0,S.useState)(null),[Ue,We]=(0,S.useState)({x:0,y:0}),[Ge,Ke]=(0,S.useState)(!1),[qe,Je]=(0,S.useState)(!1),[Ye,Xe]=(0,S.useState)([]),[Ze,Qe]=(0,S.useState)([]),[$e,et]=(0,S.useState)([]),[tt,nt]=(0,S.useState)(0),[rt,it]=(0,S.useState)(0),[at,ot]=(0,S.useState)(!1),[st,ct]=(0,S.useState)(!1),[lt,ut]=(0,S.useState)([]),[dt,ft]=(0,S.useState)([]),[pt,mt]=(0,S.useState)([]),ht=()=>{let e={};if(e=pt.find(e=>e.modelConfigId===s&&e.genType===o&&e.resolution===(o===`video`?m:l)),e||(o===`video`?(e={perSecondCredits:2,baseCredits:60,ratio:1,inputVideoRatio:1,inputVideoBaseCredits:0,inputVideoPerSecondCredits:.5},m===`1080p`?e.ratio=2:m===`720p`?e.ratio=1.5:m===`480p`&&(e.ratio=1)):(e={perSecondCredits:.1,baseCredits:4,ratio:1},l===`2K`?e.ratio=1:l===`4K`&&(e.ratio=2))),o===`video`){let t=Math.round((f*e.perSecondCredits+e.baseCredits)*e.ratio),n=j.filter(e=>e.type===`video`).reduce((e,t)=>e+(t.duration||0),0);if(n>0){let r=Math.round(((e.inputVideoBaseCredits||0)+(e.inputVideoPerSecondCredits||0)*n)*(e.inputVideoRatio||1));t+=r}return t}else return e.baseCredits*e.ratio},gt=(0,S.useRef)(null),_t=(0,S.useRef)(null),vt=(0,S.useRef)(null);(0,S.useRef)(!0),i.find(e=>e.id===n);let[yt,bt]=(0,S.useState)([]),[xt,St]=(0,S.useState)({page:1,pageSize:20}),[Ct,wt]=(0,S.useState)(0),[Tt,Et]=(0,S.useState)(!1),Dt=(0,S.useRef)(!1);(0,S.useEffect)(()=>()=>{oe.current&&window.clearTimeout(oe.current)},[]);let Ot=(0,S.useCallback)((e=`instant`)=>{let t=_t.current;t&&requestAnimationFrame(()=>{t.scrollTo({top:t.scrollHeight,behavior:e})})},[]);(0,S.useEffect)(()=>{if(yt.length>0&&!Dt.current){let e=setTimeout(()=>{Ot(`smooth`),Dt.current=!0},300);return()=>clearTimeout(e)}},[yt.length,Ot]),(0,S.useEffect)(()=>{let e=o===`image`?g.image:g.video;e&&e.length>0&&(e.some(e=>e.id===s)||y(e[0].id))},[o,g]),(0,S.useEffect)(()=>{let e=e=>{let t=e.target;st&&!t.closest(`.image-settings-popover`)&&!t.closest(`.image-settings-trigger`)&&ct(!1),at&&!t.closest(`.image-settings-popover`)&&!t.closest(`.image-settings-trigger`)&&ot(!1),Ge&&!t.closest(`.image-settings-popover`)&&!t.closest(`.image-settings-trigger`)&&Ke(!1),qe&&!t.closest(`.image-settings-popover`)&&!t.closest(`.image-settings-trigger`)&&Je(!1)};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[st,at,Ge,qe]),(0,S.useEffect)(()=>{if(o!==`video`)return;let e=g?.video?.find(e=>e.id===s);if(!e)return;let t=e.supportsFirstLastFrame??!1,n=e.supportsUniversalReference??!0;V(e=>{if(e===`first_last_frame`&&!t){if(n)return`universal`}else if(e===`universal`&&!n&&t)return`first_last_frame`;return e})},[s,o,g]),(0,S.useEffect)(()=>{w7().then(e=>{if(k(e.engine),e.engine.video&&e.engine.video.length>0){let t=e.engine.video[0],n=e.engine.video.find(e=>e.id===s)||t;O({ratios:n.supportedRatios||[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:n.supportedResolutions||[`480p`,`720p`,`1080p`],durations:n.supportedDurations||[5,8,10,12,15]}),n.supportedRatios?.includes(p)||E(n.supportedRatios?.[0]||`16:9`),n.supportedResolutions?.includes(m)||D(n.supportedResolutions?.[0]||`720p`),n.supportedDurations?.includes(f)||T(n.supportedDurations?.[0]||5),s===`请选择`&&y(n.id)}let t=e.engine?.image?.[0]?.supportedSizes||{},n=[],r=[],i=[];for(let e in t[`2K`])n.push(e),r.push(t[`2K`][e]);Xe(n.map(e=>({value:e,label:e})));for(let e in t[`4K`])i.push(t[`4K`][e]);et([r,i]),Qe([{value:`2K`,label:`高清 2K`},{value:`4K`,label:`超清 4K`}])}).catch(()=>{}),Nre().then(e=>{mt(e)}),T7(xt).then(e=>{let t=e.items,n=e.total;bt(t),wt(n)})},[]),(0,S.useEffect)(()=>{if(vt.current&&=(clearInterval(vt.current),null),yt.some(e=>e.status===`generating`))return vt.current=window.setInterval(()=>{T7(xt).then(e=>{bt(t=>t.map(t=>t.status===`generating`&&e.items.find(e=>e.id===t.id)||t)),wt(e.total)}).catch(e=>{})},1e4),()=>{vt.current&&=(clearInterval(vt.current),null)}},[yt,xt]),(0,S.useEffect)(()=>{if(!Ge)return;let e=e=>{let t=e.target;!t.closest(`.image-settings-popover`)&&!t.closest(`.image-settings-trigger`)&&Ke(!1)};return document.addEventListener(`click`,e),()=>document.removeEventListener(`click`,e)},[Ge]),(0,S.useEffect)(()=>{if(!qe)return;let e=e=>{let t=e.target;!t.closest(`.image-settings-popover`)&&!t.closest(`.image-settings-trigger`)&&Je(!1)};return document.addEventListener(`click`,e),()=>document.removeEventListener(`click`,e)},[qe]),(0,S.useEffect)(()=>{$e[rt]&&$e[rt][tt]!==void 0&&(C(Number($e[rt][tt].substring(0,4))),w(Number($e[rt][tt].substring(5))))},[tt]),(0,S.useEffect)(()=>{$e[rt]&&$e[rt][tt]!==void 0&&(C(Number($e[rt][tt].substring(0,4))),w(Number($e[rt][tt].substring(5))))},[rt]);let kt=e=>{nt(e)},At=e=>{it(parseInt(e===`2K`?`0`:`1`))},jt=()=>{C(d),w(u)},Mt=g?.video?.find(e=>e.id===s),Nt=Mt?.supportsFirstLastFrame??!1,Pt=Mt?.supportsUniversalReference??!0,Ft=e=>{e===`first_last_frame`&&!Nt||e===`universal`&&!Pt||(V(e),G(!1))},It=()=>{let e=H;U(W),ee(e)},Lt=()=>{U(null),ee(null)},Rt=()=>{ee(null)},zt=async()=>{let e=o===`video`&&B===`first_last_frame`;if(e){if(!_.trim()){Z.warning(`请输入内容`);return}}else if(!_.trim()&&j.length===0){Z.warning(`请输入内容或上传图片/视频`);return}let t;e?(t=[],H&&t.push({...H,role:`first_frame`}),W&&t.push({...W,role:`last_frame`}),t.length===0&&(t=void 0)):t=j.length>0?j.map(e=>{if(e.type===`image`){let{duration:t,...n}=e;return n}return e}):void 0,console.log(t);let n={id:``,gen_type:o,original_prompt:_.trim(),engine_id:s,idempotency_key:new Date().toLocaleString(`zh-CN`),media_references:t,...o===`image`&&{image_size:l,image_proportion:c,image_px:u+`x`+d},...o===`video`&&{duration:f,aspect_ratio:p,resolution:m}};z(!0),Are(n).then(()=>{A(``),M([]),U(null),ee(null);let e={...xt,page:1};St(e),T7(e).then(e=>{bt(t=>[...t,e.items[e.items.length-1]]),wt(e.total),setTimeout(()=>{gt.current?.scrollIntoView({behavior:`smooth`})},100)}).catch(e=>{})}).catch(e=>{let t=`创建任务失败`;e?.response?.data?.detail?t=e.response.data.detail:e?.data?.detail?t=e.data.detail:e?.detail?t=e.detail:e?.message&&(t=e.message),Z.error({content:t,duration:3})}).finally(()=>{z(!1)}),setTimeout(()=>{z(!1)},3e3)},Bt=async()=>{if(yt.length>=Ct)return;let e=_t.current;if(!e)return;let t=e.scrollTop,n=e.scrollHeight;Et(!0);try{let r=xt.page+1,i=await T7({...xt,page:r}),a=Array.isArray(i)?{items:i,total:i.length}:i;a.total&&wt(a.total),St(e=>({...e,page:r})),bt(e=>{let t=new Set(e.map(e=>e.id));return[...a.items.filter(e=>!e.id||t.has(e.id)?!1:(t.add(e.id),!0)),...e]}),setTimeout(()=>{e.scrollTop=t+(e.scrollHeight-n)},200)}catch{}finally{Et(!1)}},Vt=e=>new Promise((t,n)=>{let r=document.createElement(`video`);r.preload=`metadata`,r.onloadedmetadata=()=>{window.URL.revokeObjectURL(r.src),t(r.duration)},r.onerror=()=>{window.URL.revokeObjectURL(r.src),n(Error(`无法获取视频时长`))},r.src=URL.createObjectURL(e)}),Ht=e=>new Promise((t,n)=>{let r=document.createElement(`audio`);r.preload=`metadata`,r.onloadedmetadata=()=>{URL.revokeObjectURL(r.src),t(r.duration)},r.onerror=()=>{URL.revokeObjectURL(r.src),n(Error(`无法获取音频时长`))},r.src=URL.createObjectURL(e)}),Ut=e=>{let t=e.startsWith(`http`)?e:`http://ceshi.apiforeign.minzhong.cn${e}`;if(Fe===t){let e=document.getElementById(`audio-player`);e&&e.pause(),Ie(null)}else Ie(t)},Wt=e=>new Promise((t,n)=>{let r=new Image;r.onload=()=>{window.URL.revokeObjectURL(r.src),t({width:r.naturalWidth,height:r.naturalHeight})},r.onerror=()=>{window.URL.revokeObjectURL(r.src),n(Error(`无法读取图片尺寸`))},r.src=URL.createObjectURL(e)}),Gt=e=>new Promise((t,n)=>{let r=document.createElement(`video`);r.preload=`metadata`,r.onloadedmetadata=()=>{window.URL.revokeObjectURL(r.src),t({width:r.videoWidth,height:r.videoHeight,duration:r.duration})},r.onerror=()=>{window.URL.revokeObjectURL(r.src),n(Error(`无法读取视频尺寸`))},r.src=URL.createObjectURL(e)}),Kt=(e,t)=>{if(e<300||e>6e3)return`图片宽度需在 300~6000px 之间,当前为 ${e}px`;if(t<300||t>6e3)return`图片高度需在 300~6000px 之间,当前为 ${t}px`;let n=e/t;return n<.4||n>2.5?`图片宽高比需在 0.4~2.5 之间,当前为 ${n.toFixed(2)}`:null},qt=(e,t)=>{if(e<300||e>6e3)return`视频宽度需在 300~6000px 之间,当前为 ${e}px`;if(t<300||t>6e3)return`视频高度需在 300~6000px 之间,当前为 ${t}px`;let n=e/t;if(n<.4||n>2.5)return`视频宽高比需在 0.4~2.5 之间,当前为 ${n.toFixed(2)}`;let r=e*t;return r<409600?`视频总像素数过小(${e}×${t}=${r}),需 ≥ 640×640=409600`:r>8295044?`视频总像素数过大(${e}×${t}=${r}),需 ≤ 3326×2494=8295044`:null},Jt=async(e,t)=>{let n=e.type.startsWith(`image/`),r=e.type.startsWith(`video/`);if(o===`video`&&B===`first_last_frame`){if(!n)return Z.error(`首尾帧模式仅支持上传图片`),!1;if(e.size/1024/1024>10)return Z.error(`图片大小不能超过10MB`),!1;let r=t||te;if(!r)return Z.error(`请选择首帧或尾帧上传位置`),!1;L(!0);try{let t=await f7(e),n={name:e.name,type:`image`,url:t.url,role:r===`first`?`first_frame`:`last_frame`};r===`first`?U(n):ee(n),Z.success(`图片上传成功`)}catch{Z.error(`上传失败`)}finally{L(!1),ne(null)}return!1}let i=e.type.startsWith(`audio/`);if(!n&&!r&&!i)return Z.error(`仅支持图片、视频或音频文件`),!1;if(i){let t=e.name.split(`.`).pop()?.toLowerCase();if(![`wav`,`mp3`].includes(t||``))return Z.error(`音频仅支持wav和mp3格式`),!1}if(o===`image`&&(r||i))return Z.error(`图片模式仅支持上传图片`),!1;if(i&&o!==`video`)return Z.error(`仅视频模式支持上传音频`),!1;let a=r?100:i?50:10,s=r?`视频`:i?`音频`:`图片`;if(e.size/1024/1024>a)return Z.error(`${s}大小不能超过${a}MB`),!1;if(n)try{let{width:t,height:n}=await Wt(e),r=Kt(t,n);if(r)return Z.error(r),!1}catch{return Z.error(`无法读取图片尺寸,请检查文件是否损坏`),!1}let c=j.filter(e=>e.type===`image`).length;if(n&&c>=fn)return Z.error(`该引擎最多上传${fn}张图片`),!1;let l=j.filter(e=>e.type===`video`).length;if(r&&l>=pn)return Z.error(`该引擎最多上传${pn}个视频`),!1;let u=j.filter(e=>e.type===`audio`).length;if(i&&u>=mn)return Z.error(`该引擎最多上传${mn}个音频`),!1;let d=0,f=0;if(r)try{if(d=await Vt(e),d<2)return Z.error(`视频素材最短不能少于 2 秒`),!1;let t=j.filter(e=>e.type===`video`).reduce((e,t)=>e+(t.duration||0),0);if(t+d>15)return Z.error(`所有视频素材总时长不能超过 15 秒,当前 ${(t+d).toFixed(1)} 秒`),!1;let{width:n,height:r}=await Gt(e),i=qt(n,r);if(i)return Z.error(i),!1}catch{return Z.error(`无法获取视频信息,请检查文件是否损坏`),!1}if(i)try{if(f=await Ht(e),f<2)return Z.error(`音频素材最短不能少于 2 秒`),!1;let t=j.filter(e=>e.type===`audio`).reduce((e,t)=>e+(t.duration||0),0);if(t+f>15)return Z.error(`所有音频素材总时长不能超过 15 秒,当前 ${(t+f).toFixed(1)} 秒`),!1}catch{return Z.error(`无法获取音频信息,请检查文件是否损坏`),!1}L(!0);try{let t=await(n?f7:i?yre:p7)(e),a=n?`image`:i?`audio`:`video`,o=[...j,{name:e.name,type:a,url:t.url,label:``,...r&&{duration:d},...i&&{duration:f}}],s=me(o);M(o.map((e,t)=>({...e,label:s[t]}))),Z.success(`${n?`图片`:i?`音频`:`视频`}上传成功`)}catch{Z.error(`上传失败`)}finally{L(!1)}return!1},Yt=e=>{if(o!==`video`){Z.warning(`真人素材库第一版仅支持视频创作参考`);return}let t=j.filter(e=>e.type===`image`).length,n=Math.max(0,fn-t);if(e.length>n){Z.warning(`当前引擎最多还能添加 ${n} 张图片参考`);return}let r=e.map(e=>({name:e.name||`真人素材`,type:`image`,url:e.previewUrl||``,source:`private_portrait_asset`,private_asset_id:e.id,label:``})),i=[...j,...r],a=me(i);M(i.map((e,t)=>({...e,label:a[t]}))),Z.success(`已添加 ${e.length} 个真人素材参考`)},Xt=e=>e?e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(`data:`)||e.startsWith(`blob:`)?e:`${`http://ceshi.apiforeign.minzhong.cn`.replace(/\/$/,``)}${e.startsWith(`/`)?``:`/`}${e}`:``,Zt=e=>{let t=j.filter((t,n)=>n!==e),n=me(t);M(t.map((e,t)=>({...e,label:n[t]})))},Qt=e=>{e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),zt())},$t=(e,t)=>{let n=e.selectionStart;return t.slice(0,n).match(/@([^@\s]*)$/)&&j.length>0?(ue(!0),!0):(ue(!1),!1)},en=e=>{let t=e.target.value;A(t);let n=e.target;$t(n,t)},tn=e=>{le&&e.key===`Escape`&&ue(!1)},nn=e=>{let t=de.current?.resizableTextArea?.textArea;if(!t)return;let n=t.selectionStart,r=_.slice(0,n),i=_.slice(n),a=r.lastIndexOf(`@`);if(a===-1){ue(!1);return}A(r.slice(0,a)+`@${e} `+i),ue(!1),setTimeout(()=>{let n=a+e.length+2;t.focus(),t.setSelectionRange(n,n)},0)},rn=()=>{ge(!1),ve(``),xe.current&&xe.current.pause()},an=e=>{if(e.preventDefault(),e.stopPropagation(),!_e)return;let t=document.createElement(`a`);t.href=`http://ceshi.apiforeign.minzhong.cn${_e}&download=1`,t.download=ye===`image`?`image.png`:`video.mp4`,document.body.appendChild(t),t.click(),document.body.removeChild(t)},on=e=>{let t=String(e?.type||``).toLowerCase(),n=String(e?.url||e?.name||``).toLowerCase();return t.includes(`video`)||/\.(mp4|mov|avi|webm|m4v)(\?|$)/.test(n)?`video`:t.includes(`audio`)||/\.(mp3|wav|ogg|aac|m4a)(\?|$)/.test(n)?`audio`:`image`},sn=e=>e?/^https?:\/\//i.test(e)?e:`http://ceshi.apiforeign.minzhong.cn${e}`:``,cn=e=>{e?.url&&(ke(e.url),je(on(e)),Ne(e.name||`附件`),De(!0))},ln=o===`video`&&B===`first_last_frame`,un=ln?!!(_.trim()||H):!!(_.trim()||j.length>0),dn=o===`image`?`输入画面描述,或上传图片参考风格、构图、主体与光影。例:@图片1 参考色调,生成一张简洁高级的产品海报。`:ln?`描述首帧到尾帧的主体动作、镜头运动、节奏与转场。例:从首帧自然推进到尾帧,产品居中突出,动作平滑连贯。`:`上传最多12个参考素材,输入文字或 @ 引用参考内容,自由组合图、文、视频。例:@图片1 模仿 @视频1 的动作。`,fn=P,pn=F,mn=N?.maxAudioCount??1;return(0,$.jsxs)(EG,{className:`ai-create-page`,style:{margin:`-24px -32px -32px`,borderRadius:22,height:`calc(100vh - 34px)`,background:`#fff`,overflow:`hidden`},children:[(0,$.jsx)(`audio`,{id:`audio-player`,src:Fe||``,autoPlay:!0,onEnded:()=>Ie(null),style:{display:`none`}}),!1,(0,$.jsxs)(EG,{style:{display:`flex`,flex:1,background:`#fff`},children:[(0,$.jsx)(`div`,{className:`animate-fadeInUp`,style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,padding:`16px 24px`,borderRadius:22,background:`rgb(255, 255, 255)`,backdropFilter:`blur(22px)`,border:`1px solid rgba(231, 234, 240, 0.82)`,position:`relative`,overflow:`hidden`,flexWrap:`wrap`,gap:12},children:(0,$.jsxs)(`div`,{style:{width:`100%`,display:`flex`,alignItems:`center`,gap:16},children:[(0,$.jsx)(`div`,{style:{width:`15%`,height:1,background:`linear-gradient(90deg, transparent, rgba(117,106,136,0.18), rgba(232,227,236,0.48), transparent)`,borderRadius:1}}),(0,$.jsxs)(`div`,{style:{flex:1,minWidth:0,textAlign:`center`},children:[(0,$.jsx)(`h2`,{style:{margin:0,fontSize:18,fontWeight:700,color:`#8b5cf6`,letterSpacing:.4},children:`AI创作`}),(0,$.jsx)(`p`,{style:{fontSize:13,color:`#667085`,margin:`4px 0 0 0`},children:`输入想法、剧本或上传参考,智能生成视频/图片`})]}),(0,$.jsx)(`div`,{style:{width:`15%`,height:1,background:`linear-gradient(90deg, transparent, rgba(232,227,236,0.48), rgba(117,106,136,0.18), transparent)`,borderRadius:1}})]})}),(0,$.jsxs)(tae,{style:{flex:1,margin:0,padding:`20px 24px 22px`,boxSizing:`border-box`,display:`flex`,flexDirection:`column`,overflow:`hidden`,minHeight:0},children:[yt.length===0&&(0,$.jsxs)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`},children:[(0,$.jsx)(`div`,{style:{width:80,height:80,borderRadius:50,background:`linear-gradient(135deg, #8b5cf6 0%, #ddd6fe 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,marginBottom:16},children:(0,$.jsx)(B8,{style:{fontSize:40,color:`#fff`}})}),(0,$.jsx)(`h2`,{style:{margin:0,fontSize:18,fontWeight:500,color:`#2f3440`},children:`你好,想创作什么?`}),(0,$.jsx)(`p`,{style:{margin:8,fontSize:13,color:`#98a2b3`},children:`输入想法、剧本或上传参考,开始你的创作之旅`})]}),yt.length>0&&(0,$.jsxs)(`div`,{ref:_t,className:`ai-create-scroll`,style:{flex:1,overflowY:`auto`,paddingRight:10,paddingBottom:18,background:`#fff`},children:[(0,$.jsx)(`div`,{style:{padding:`8px 0`,textAlign:`center`,marginBottom:16},children:yt.length>=Ct?(0,$.jsx)(`span`,{style:{fontSize:12,color:`#98a2b3`},children:`消息全部加载`}):(0,$.jsx)(`button`,{onClick:Bt,disabled:Tt,style:{fontSize:12,color:`#8b5cf6`,background:`none`,border:`none`,cursor:Tt?`not-allowed`:`pointer`},children:Tt?`加载中...`:`加载更多`})}),(()=>{let e=Z;return yt.map(t=>(0,$.jsx)(`div`,{style:{width:`100%`,display:`flex`,justifyContent:`flex-start`,marginBottom:16},children:(0,$.jsxs)(`div`,{style:{width:`100%`,display:`flex`,gap:10},children:[(0,$.jsx)(`div`,{style:{width:36,height:36,borderRadius:12,background:`linear-gradient(135deg, #8b5cf6 0%, #ddd6fe 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,flexShrink:0},children:(0,$.jsx)(B8,{style:{color:`#fff`,fontSize:16}})}),(0,$.jsx)(`div`,{style:{flex:1},children:(0,$.jsxs)(`div`,{style:{background:`rgba(255, 255, 255, 0.92)`,backdropFilter:`blur(18px)`,borderRadius:`22px`,padding:`14px 16px`,width:`70%`,minWidth:500,boxSizing:`border-box`,boxShadow:`0 18px 50px rgba(47, 52, 64, 0.075)`,position:`relative`,border:`1px solid rgba(231, 234, 240, 0.9)`},children:[(0,$.jsxs)(`div`,{style:{margin:4,fontSize:11,color:`#98a2b3`,textAlign:`left`,display:`flex`,flexWrap:`wrap`,gap:8,alignItems:`center`},children:[(0,$.jsx)(`span`,{children:t.createdAt?.replace(`T`,` `).split(`.`)[0]}),(0,$.jsx)(`span`,{style:{background:(t.genType,`rgba(139, 92, 246, 0.10)`),color:(t.genType,`#8b5cf6`),padding:`2px 8px`,borderRadius:12,fontWeight:500,fontSize:11,marginLeft:8},children:t.genType===`image`?`图片生成`:`视频生成`})]}),t.mediaReferences&&t.mediaReferences.length>0&&(0,$.jsx)(`div`,{style:{position:`absolute`,top:8,right:8,zIndex:100},children:(0,$.jsx)(`span`,{style:{padding:`4px 12px`,borderRadius:16,color:`#8b5cf6`,cursor:`pointer`,fontWeight:500,border:`1px solid rgba(139, 92, 246, 0.2)`,background:`rgba(139, 92, 246, 0.04)`},onClick:e=>{e.stopPropagation();let n=e.currentTarget.getBoundingClientRect();We({x:n.left,y:n.top-10}),He(t.id),Be(!0)},children:`附件详情`})}),(0,$.jsxs)(`div`,{style:{position:`absolute`,bottom:8,right:8,zIndex:100,display:`flex`,gap:6},children:[(0,$.jsxs)(`button`,{onClick:n=>{if(n.stopPropagation(),A(t.originalPrompt||``),t.mediaReferences&&t.mediaReferences.length>0)if(t.mediaReferences.some(e=>e.role===`first_frame`||e.role===`last_frame`)&&t.genType===`video`){let e=t.mediaReferences.find(e=>e.role===`first_frame`),n=t.mediaReferences.find(e=>e.role===`last_frame`);U(e?{...e,label:e.label||``}:null),ee(n?{...n,label:n.label||``}:null),M([]),V(`first_last_frame`)}else M(t.mediaReferences.map(e=>({name:e.name,type:e.type,url:e.url,label:e.label||``,role:e.role}))),U(null),ee(null),V(`universal`);else M([]),U(null),ee(null);e.success(`已加载到编辑区`)},style:{height:28,padding:`0 10px`,borderRadius:10,border:`none`,background:`rgba(139, 92, 246, 0.08)`,color:`#8b5cf6`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,transition:`all 0.2s ease`,gap:4,fontSize:12},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(139, 92, 246, 0.15)`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(139, 92, 246, 0.08)`},children:[(0,$.jsx)(aJ,{style:{fontSize:12}}),`重新编辑`]}),(0,$.jsx)($K,{title:`确定要删除吗?`,onConfirm:async()=>{try{await Mre(t.id),e.success(`删除成功`),bt(e=>e.filter(e=>e.id!==t.id)),wt(e=>e-1)}catch(t){let n=t?.response?.data?.message||t?.message||`删除失败`;e.error(n)}},okText:`确定`,cancelText:`取消`,children:(0,$.jsxs)(`button`,{onClick:e=>e.stopPropagation(),style:{height:28,padding:`0 10px`,borderRadius:10,border:`none`,background:`rgba(139, 92, 246, 0.08)`,color:`#8b5cf6`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,transition:`all 0.2s ease`,gap:4,fontSize:12},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(164, 91, 91, 0.1)`,e.currentTarget.style.color=`#A45B5B`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(139, 92, 246, 0.08)`,e.currentTarget.style.color=`#8b5cf6`},children:[(0,$.jsx)(G$,{style:{fontSize:12}}),`删除`]})})]}),(t.status===`generating`||t.status===`failed`||t.status===`completed`)&&(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16,marginBottom:16,marginTop:16,width:`100%`,alignItems:`flex-start`},children:[(0,$.jsx)(`div`,{style:{width:`50%`,overflow:`hidden`,borderRadius:12,position:`relative`,height:220,border:`1px solid #E7EAF0`,boxShadow:`0 4px 12px rgba(139, 92, 246, 0.08)`,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`linear-gradient(135deg, #ffffff 0%, #FAFBFC 100%)`},children:t.status===`generating`?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:12,left:12,display:`flex`,alignItems:`center`,gap:8,zIndex:2}}),(0,$.jsx)(`div`,{style:{position:`absolute`,inset:0,background:`linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%)`,animation:`shimmer 2s infinite`}}),(0,$.jsxs)(`div`,{style:{position:`absolute`,top:`50%`,left:`50%`,transform:`translate(-50%, -50%)`,display:`flex`,flexDirection:`column`,alignItems:`center`,gap:16},children:[(0,$.jsx)(`div`,{style:{width:64,height:64,borderRadius:`50%`,background:`rgba(139, 92, 246, 0.1)`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 0 30px rgba(139, 92, 246, 0.2)`},children:(0,$.jsx)(`div`,{style:{width:48,height:48,border:`3px solid #ddd6fe`,borderTopColor:`#8b5cf6`,borderRadius:`50%`,animation:`spin 1s linear infinite`}})}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#8b5cf6`,fontWeight:500},children:`生成中...`})]})]}):t.status===`failed`?(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:48,height:48,borderRadius:`50%`,background:`rgba(168, 90, 106, 0.10)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(Qne,{style:{color:`#A45B5B`,fontSize:22}})}),(0,$.jsx)(`span`,{style:{fontSize:14,color:`#A45B5B`,fontWeight:620},children:`生成失败(积分已退)`}),t.errorMessage&&(0,$.jsx)(`span`,{style:{fontSize:13,color:`#A45B5B`,textAlign:`center`,padding:`0 8px`,lineHeight:1.5},children:t.errorMessage})]}):(0,$.jsx)($.Fragment,{children:t.genType===`image`?(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn/static${t.imageUrl}&w=300&p=50`,alt:t.name,style:{width:`100%`,height:`100%`,borderRadius:12,objectFit:`contain`,cursor:`pointer`,transition:`transform 0.3s ease`},onClick:()=>{ve(t.imageUrl),be(`image`),ge(!0)},onMouseEnter:e=>{e.currentTarget.style.transform=`scale(1.05)`},onMouseLeave:e=>{e.currentTarget.style.transform=`scale(1)`}}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn/static${t.videoCoverUrl}&w=300&p=50`,alt:t.name,style:{width:`100%`,height:`100%`,borderRadius:12,objectFit:`contain`,cursor:`pointer`,transition:`transform 0.3s ease`},onClick:()=>{ve(t.videoUrl),be(`video`),ge(!0)},onMouseEnter:e=>{e.currentTarget.style.transform=`scale(1.05)`},onMouseLeave:e=>{e.currentTarget.style.transform=`scale(1)`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:`50%`,left:`50%`,transform:`translate(-50%, -50%)`,width:56,height:56,background:`rgba(47, 52, 64, 0.72)`,borderRadius:`50%`,display:`flex`,alignItems:`center`,justifyContent:`center`,pointerEvents:`none`,boxShadow:`0 10px 24px rgba(47, 52, 64, 0.22)`},children:(0,$.jsx)(`svg`,{width:`24`,height:`24`,viewBox:`0 0 24 24`,fill:`#fff`,children:(0,$.jsx)(`path`,{d:`M8 5v14l11-7z`})})})]})})}),(0,$.jsxs)(`div`,{style:{width:`50%`,display:`flex`,flexDirection:`column`,gap:12},children:[(0,$.jsx)(`div`,{style:{background:`#FFFFFF`,borderRadius:12,padding:12,border:`1px solid #E7EAF0`,flex:1,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`p`,{style:{width:`100%`,height:150,overflow:`auto`,padding:0,marginTop:0,marginBottom:0,lineHeight:2,color:`#475467`,fontSize:13},children:t.originalPrompt})}),(0,$.jsxs)(`div`,{style:{fontSize:12,color:`#667085`,textAlign:`left`,display:`flex`,flexWrap:`wrap`,gap:12,alignItems:`center`,justifyContent:`space-between`,marginBottom:12},children:[(0,$.jsx)(`span`,{style:{borderRadius:16,color:`#8b5cf6`,fontWeight:500},children:t.engineSnapshot.name}),(0,$.jsx)(`span`,{style:{borderRadius:16,color:`#667085`},children:t.genType===`image`?`${t.imageProportion||``} · ${t.imagePx||``} · ${t.imageSize||``}`:`${t.duration||``}s · ${t.aspectRatio||``} · ${t.resolution||``}`}),(0,$.jsxs)(`span`,{style:{fontSize:14,borderRadius:16,color:`#8b5cf6`},children:[`消耗积分:`,t.creditsCost]})]})]})]})]})})]})},t.id))})(),(0,$.jsx)(`div`,{ref:gt})]}),ze&&Ve&&(()=>{let e=yt.find(e=>e.id===Ve)?.mediaReferences||[];return(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{position:`fixed`,top:0,left:0,right:0,bottom:0,background:`transparent`,zIndex:9998},onClick:()=>{Be(!1),He(null)}}),(0,$.jsxs)(`div`,{className:`ai-reference-expanded-tray ai-attachment-popover`,style:{position:`fixed`,top:`max(84px, ${Ue.y-96}px)`,left:`max(24px, min(${Ue.x-250}px, calc(100vw - 456px)))`,width:424,padding:`12px 12px 10px`,borderRadius:18,background:`rgba(255,255,255,0.98)`,border:`1px solid #E7EAF0`,boxShadow:`0 24px 60px rgba(31, 41, 55, 0.12)`,backdropFilter:`blur(18px)`,zIndex:9999,pointerEvents:`auto`},onClick:e=>e.stopPropagation(),children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:10},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:2},children:[(0,$.jsx)(`span`,{style:{fontSize:13,color:`#344054`,fontWeight:800},children:`参考附件`}),(0,$.jsx)(`span`,{style:{fontSize:11,color:`#98A2B3`,fontWeight:600},children:`点击素材查看,或直接下载原文件`})]}),(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:(0,$.jsx)(`button`,{onClick:()=>{Be(!1),He(null)},style:{width:26,height:26,borderRadius:`50%`,border:`1px solid transparent`,background:`#F6F7FA`,cursor:`pointer`,color:`#98a2b3`,display:`flex`,alignItems:`center`,justifyContent:`center`,transition:`all 0.2s ease`},onMouseEnter:e=>{e.currentTarget.style.background=`#EEF1F6`,e.currentTarget.style.color=`#2f3440`},onMouseLeave:e=>{e.currentTarget.style.background=`#F6F7FA`,e.currentTarget.style.color=`#98a2b3`},children:(0,$.jsx)(ju,{style:{fontSize:12}})})})]}),(0,$.jsx)(`div`,{className:`ai-reference-tray-scroll`,style:{display:`flex`,gap:10,overflowX:`auto`,padding:`2px 2px 4px`},children:e.map((e,t)=>{let n=on(e),r=e.label||(e.role===`first_frame`?`首帧`:e.role===`last_frame`?`尾帧`:`${n===`image`?`图片`:n===`video`?`视频`:`音频`}${t+1}`);return(0,$.jsxs)(`div`,{style:{flex:`0 0 92px`,width:92,borderRadius:16,background:`#FFFFFF`,border:`1px solid #E7EAF0`,boxShadow:`0 8px 18px rgba(31, 41, 55, 0.06)`,padding:7,boxSizing:`border-box`},children:[(0,$.jsx)(`div`,{onClick:t=>{n===`audio`?(t.stopPropagation(),Ut(e.url)):(cn(e),Be(!1),He(null))},style:{position:`relative`,width:`100%`,height:70,borderRadius:12,overflow:`hidden`,cursor:`pointer`,background:`#F7F8FA`,border:`1px solid rgba(231, 234, 240, 0.9)`},children:n===`image`?(0,$.jsx)(`img`,{src:sn(e.url),alt:e.name||r,style:{width:`100%`,height:`100%`,objectFit:`cover`,display:`block`}}):n===`video`?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`video`,{src:sn(e.url),muted:!0,playsInline:!0,style:{width:`100%`,height:`100%`,objectFit:`cover`,display:`block`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`rgba(31, 41, 55, 0.08)`},children:(0,$.jsx)(`div`,{style:{width:28,height:28,borderRadius:`50%`,background:`rgba(47, 52, 64, 0.72)`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 8px 18px rgba(31, 41, 55, 0.22)`},children:(0,$.jsx)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`#fff`,children:(0,$.jsx)(`path`,{d:`M8 5v14l11-7z`})})})})]}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%)`},children:Fe===(e.url.startsWith(`http`)?e.url:`http://ceshi.apiforeign.minzhong.cn${e.url}`)?(0,$.jsx)(s8,{style:{fontSize:24,color:`#fff`}}):(0,$.jsx)(u4,{style:{fontSize:24,color:`#fff`}})})}),(0,$.jsx)(`div`,{title:e.name||r,style:{marginTop:6,color:`#667085`,fontSize:10,fontWeight:700,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,textAlign:`center`},children:e.name||r}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:5,marginTop:7},children:(0,$.jsx)(`button`,{onClick:()=>{cn(e),Be(!1),He(null)},style:{flex:1,height:24,borderRadius:9,border:`1px solid #E7EAF0`,background:`#F8FAFC`,color:`#8b5cf6`,fontSize:11,fontWeight:700,cursor:`pointer`,transition:`all 0.2s ease`},onMouseEnter:e=>{e.currentTarget.style.background=`#EEF1F6`},onMouseLeave:e=>{e.currentTarget.style.background=`#F8FAFC`},children:`查看`})})]},`${e.url||e.name||t}-${t}`)})})]})]})})(),(0,$.jsxs)(`div`,{style:{position:`relative`,background:`#ffffff`,borderRadius:24,padding:`18px 72px 16px 20px`,boxShadow:`0 22px 64px rgba(31, 41, 55, 0.08), 0 1px 0 rgba(255,255,255,0.98) inset`,transition:`all 0.25s ease`,border:`1px solid rgba(231, 234, 240, 0.78)`,backdropFilter:`blur(24px)`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:18,alignItems:`flex-end`,marginBottom:14},children:[(0,$.jsx)(`div`,{style:{width:ln?220:70,minWidth:ln?220:70,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`flex-start`,paddingTop:2,gap:8},children:o===`video`&&B===`first_last_frame`?(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`row`,alignItems:`stretch`,gap:12,width:`100%`,height:100},children:[(0,$.jsxs)(`div`,{style:{position:`relative`,flex:1,minWidth:0,height:100,borderRadius:12,border:`1px solid #E7EAF0`,background:`#ffffff`,boxShadow:`0 6px 16px rgba(47, 52, 64, 0.04)`,overflow:`hidden`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:8,left:10,right:10,display:`flex`,alignItems:`center`,justifyContent:`space-between`,zIndex:2},children:(0,$.jsx)(`span`,{style:{fontSize:11,fontWeight:600,color:`#8b5cf6`,lineHeight:1},children:`首帧`})}),H?(0,$.jsxs)(`div`,{style:{position:`absolute`,left:10,right:10,bottom:10,height:64},children:[(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${H.url}`,alt:H.name,onClick:()=>{ke(H.url),je(`image`),Ne(H.name),De(!0)},style:{width:`100%`,height:`100%`,objectFit:`cover`,borderRadius:8,cursor:`pointer`,border:`1px solid rgba(139, 92, 246, 0.2)`,boxShadow:`0 3px 10px rgba(47, 52, 64, 0.06)`}}),(0,$.jsx)(`button`,{onClick:Lt,style:{position:`absolute`,top:-6,right:-6,width:18,height:18,border:`none`,background:`#A45B5B`,borderRadius:50,cursor:`pointer`,color:`#fff`,fontSize:9,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 2px 4px rgba(164, 91, 91, 0.3)`,zIndex:10},children:(0,$.jsx)(G$,{style:{fontSize:9}})})]}):(0,$.jsx)(e2,{accept:`image/*`,showUploadList:!1,beforeUpload:e=>Jt(e,`first`),children:(0,$.jsxs)(`div`,{style:{position:`absolute`,left:10,right:10,bottom:10,height:64,borderRadius:8,border:`1px dashed rgba(139, 92, 246, 0.28)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,transition:`all 0.25s ease`,backgroundColor:`rgba(139, 92, 246, 0.04)`,flexDirection:`column`,gap:4},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#a78bfa`,e.currentTarget.style.backgroundColor=`rgba(139, 92, 246, 0.08)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(139, 92, 246, 0.28)`,e.currentTarget.style.backgroundColor=`rgba(139, 92, 246, 0.04)`},children:[(0,$.jsx)(IL,{style:{fontSize:18,color:`#8b5cf6`}}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#8b5cf6`,fontWeight:500},children:`上传首帧`})]})})]}),(0,$.jsx)(`button`,{onClick:It,disabled:!H||!W,title:`调换首尾帧`,style:{width:32,height:32,alignSelf:`center`,borderRadius:50,border:`1px solid rgba(231, 234, 240, 0.95)`,background:H&&W?`linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%)`:`#F3F5F8`,cursor:H&&W?`pointer`:`not-allowed`,color:H&&W?`#fff`:`#98A2B3`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:H&&W?`0 6px 14px rgba(139, 92, 246, 0.24)`:`none`,transition:`all 0.2s ease`,flexShrink:0},onMouseEnter:e=>{H&&W&&(e.currentTarget.style.transform=`scale(1.06)`)},onMouseLeave:e=>{e.currentTarget.style.transform=`scale(1)`},children:(0,$.jsx)(xW,{style:{fontSize:14}})}),(0,$.jsxs)(`div`,{style:{position:`relative`,flex:1,minWidth:0,height:100,borderRadius:12,border:`1px solid #E7EAF0`,background:`#ffffff`,boxShadow:`0 6px 16px rgba(47, 52, 64, 0.04)`,overflow:`hidden`,opacity:H?1:.5},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:8,left:10,right:10,display:`flex`,alignItems:`center`,justifyContent:`space-between`,zIndex:2},children:(0,$.jsx)(`span`,{style:{fontSize:11,fontWeight:600,color:`#8b5cf6`,lineHeight:1},children:`尾帧`})}),W?(0,$.jsxs)(`div`,{style:{position:`absolute`,left:10,right:10,bottom:10,height:64},children:[(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${W.url}`,alt:W.name,onClick:()=>{ke(W.url),je(`image`),Ne(W.name),De(!0)},style:{width:`100%`,height:`100%`,objectFit:`cover`,borderRadius:8,cursor:`pointer`,border:`1px solid rgba(139, 92, 246, 0.2)`,boxShadow:`0 3px 10px rgba(47, 52, 64, 0.06)`}}),(0,$.jsx)(`button`,{onClick:Rt,style:{position:`absolute`,top:-6,right:-6,width:18,height:18,border:`none`,background:`#A45B5B`,borderRadius:50,cursor:`pointer`,color:`#fff`,fontSize:9,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 2px 4px rgba(164, 91, 91, 0.3)`,zIndex:10},children:(0,$.jsx)(G$,{style:{fontSize:9}})})]}):H?(0,$.jsx)(e2,{accept:`image/*`,showUploadList:!1,beforeUpload:e=>Jt(e,`last`),children:(0,$.jsxs)(`div`,{style:{position:`absolute`,left:10,right:10,bottom:10,height:64,borderRadius:8,border:`1px dashed rgba(139, 92, 246, 0.24)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,transition:`all 0.25s ease`,backgroundColor:`rgba(139, 92, 246, 0.04)`,flexDirection:`column`,gap:4},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#a78bfa`,e.currentTarget.style.backgroundColor=`rgba(139, 92, 246, 0.08)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(139, 92, 246, 0.24)`,e.currentTarget.style.backgroundColor=`rgba(139, 92, 246, 0.04)`},children:[(0,$.jsx)(IL,{style:{fontSize:18,color:`#8b5cf6`}}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#8b5cf6`,fontWeight:500},children:`上传尾帧`})]})}):(0,$.jsxs)(`div`,{style:{position:`absolute`,left:10,right:10,bottom:10,height:64,borderRadius:8,border:`1px dashed rgba(226, 232, 240, 0.4)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`not-allowed`,backgroundColor:`rgba(241, 245, 249, 0.5)`,flexDirection:`column`,gap:4},children:[(0,$.jsx)(IL,{style:{fontSize:18,color:`#cbd5e1`}}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#94a3b8`,fontWeight:500},children:`请先上传首帧`})]})]})]}):(0,$.jsx)($.Fragment,{children:!(o===`video`&&B===`first_last_frame`)&&(0,$.jsxs)(`div`,{style:{position:`relative`,width:64,height:72,marginTop:`-10`},onMouseEnter:se,onMouseLeave:ce,children:[j.length===0&&(0,$.jsx)(e2,{accept:o===`image`?`image/*`:`image/*,video/*,audio/*`,showUploadList:!1,beforeUpload:Jt,children:(0,$.jsx)(Jw,{title:o===`image`?`图片${j.filter(e=>e.type===`image`).length}/${P}`:`图片${j.filter(e=>e.type===`image`).length}/${P}, + `})]})},q7=({data:e})=>{if(!e)return null;let t=(e.limitUnit||`GB`).toUpperCase(),n=t===`GB`?1024**3:t===`MB`?1024**2:1024,r=Number(e.usagePercent)||0,i=Math.min(100,Math.max(0,r)),a=e.limitValue?parseFloat(e.limitValue):e.totalBytes/n,o=a*r/100;a-o;let s=e.exceeded||r>=100,c=1024**2,l=1024**3,u=1024**4,d=(e=>{let t=Number(e)||0;return t>=u?{val:(t/u).toFixed(2),unit:`TB`}:t>=l?{val:(t/l).toFixed(2),unit:`GB`}:t>=c?{val:(t/c).toFixed(2),unit:`MB`}:{val:(t/1024).toFixed(2),unit:`KB`}})(e.usedBytes);return(0,$.jsxs)(`div`,{style:{padding:`0 12px`,paddingTop:6,borderRadius:10,background:`linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%)`,boxShadow:`0 2px 12px rgba(0, 0, 0, 0.04)`},children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:6,fontSize:12,color:`#475569`},children:e.enabled?(0,$.jsx)($.Fragment,{}):(0,$.jsxs)(`span`,{style:{fontWeight:500,color:`#1e293b`},children:[(0,$.jsx)(E3,{style:{fontSize:12,color:s?`#ef4444`:`#6366f1`,marginRight:4}}),`当前使用 `,d.val,` `,d.unit]})}),e.enabled&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{marginTop:4,display:`flex`,justifyContent:`space-between`,fontSize:11,color:s?`#ef4444`:`#94a3b8`},children:(0,$.jsxs)(`div`,{style:{height:`100%`,width:`100%`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:6,fontSize:12,color:s?`#ffffffff`:`#000000ff`,padding:`0 8px`},children:[(0,$.jsxs)(`span`,{style:{display:`flex`,alignItems:`center`,gap:4},children:[(0,$.jsx)(E3,{style:{fontSize:12,color:s?`#ffffffff`:`#000000ff`}}),r.toFixed(1),`%`]}),e.enabled?(0,$.jsxs)(`span`,{style:{fontWeight:500,color:s?`#ffffffff`:`#000000ff`},children:[o.toFixed(2),` / `,a.toFixed(2),` `,t]}):(0,$.jsxs)(`span`,{style:{fontWeight:500,color:`#1e293b`},children:[`当前使用 `,d.val,` `,d.unit]})]})}),(0,$.jsx)(`div`,{style:{width:`100%`,height:6,background:`#e2e8f0`,borderRadius:50,overflow:`hidden`,position:`relative`},children:(0,$.jsx)(`div`,{style:{width:`${i}%`,height:`100%`,background:r<50?`linear-gradient(90deg, #279951, #b7fad0)`:r<85?`linear-gradient(90deg, #ffd759, #fff6d4)`:`linear-gradient(90deg, #ef4444, #dc2626)`,borderRadius:2,transition:`width 0.4s ease`}})})]})]})},J7={HomeOutlined:(0,$.jsx)(c6,{}),DashboardOutlined:(0,$.jsx)(C3,{}),CodeOutlined:(0,$.jsx)(a3,{}),PlayCircleOutlined:(0,$.jsx)(C8,{}),WalletOutlined:(0,$.jsx)(B5,{}),SettingOutlined:(0,$.jsx)($8,{}),BellOutlined:(0,$.jsx)(_4,{}),UserOutlined:(0,$.jsx)(I5,{}),AppstoreOutlined:(0,$.jsx)(W2,{}),FileTextOutlined:(0,$.jsx)(HH,{}),StarOutlined:(0,$.jsx)(x5,{}),HeartOutlined:(0,$.jsx)($3,{}),CameraOutlined:(0,$.jsx)(M4,{}),RobotOutlined:(0,$.jsx)(R8,{}),CalculatorOutlined:(0,$.jsx)(k4,{}),DollarOutlined:(0,$.jsx)(k3,{}),GiftOutlined:(0,$.jsx)(q3,{}),ThunderboltOutlined:(0,$.jsx)(D5,{}),FireOutlined:(0,$.jsx)(V3,{}),CloudOutlined:(0,$.jsx)(q4,{}),SmileOutlined:(0,$.jsx)(m5,{}),TrophyOutlined:(0,$.jsx)(A5,{}),RocketOutlined:(0,$.jsx)(V8,{}),BulbOutlined:(0,$.jsx)(E4,{}),PictureOutlined:(0,$.jsx)(m8,{}),VideoCameraOutlined:(0,$.jsx)(R5,{}),AudioOutlined:(0,$.jsx)(a4,{}),MailOutlined:(0,$.jsx)(R6,{}),PhoneOutlined:(0,$.jsx)(d8,{}),GlobalOutlined:(0,$.jsx)(X3,{}),ShoppingCartOutlined:(0,$.jsx)(n5,{}),TeamOutlined:(0,$.jsx)(T5,{}),BarChartOutlined:(0,$.jsx)(m4,{}),PieChartOutlined:(0,$.jsx)(_8,{}),LineChartOutlined:(0,$.jsx)(E6,{}),SecurityScanOutlined:(0,$.jsx)(X8,{}),ApiOutlined:(0,$.jsx)(V2,{}),DatabaseOutlined:(0,$.jsx)(E3,{}),CloudServerOutlined:(0,$.jsx)(X4,{})},Kie=240,Y7=[{gradient:`linear-gradient(135deg, #c9a96e, #a67c52)`,shadow:`rgba(201,169,110,0.25)`,icon:(0,$.jsx)(cJ,{})},{gradient:`linear-gradient(135deg, #4a5568, #2d3748)`,shadow:`rgba(74,85,104,0.25)`,icon:(0,$.jsx)(R3,{})},{gradient:`linear-gradient(135deg, #718096, #4a5568)`,shadow:`rgba(113,128,150,0.25)`,icon:(0,$.jsx)(_3,{})},{gradient:`linear-gradient(135deg, #5a67d8, #434190)`,shadow:`rgba(90,103,216,0.25)`,icon:(0,$.jsx)(c4,{})}],qie=()=>{let e=Ye(),t=Ke(),{user:n,logout:r}=G7(),[i,a]=(0,S.useState)(!1),[o,s]=(0,S.useState)(!1),[c,l]=(0,S.useState)(!1),[u]=jU.useForm(),[d,f]=(0,S.useState)(null),[p,m]=(0,S.useState)([]),[h,g]=(0,S.useState)([]),[_,v]=(0,S.useState)(0),[y,b]=(0,S.useState)(!1),[x,C]=(0,S.useState)(!1),[w]=jU.useForm(),[T,E]=(0,S.useState)(!1),[D,O]=(0,S.useState)(()=>({x:24,y:window.innerHeight*.75})),[k,A]=(0,S.useState)(!1),j=(0,S.useRef)(!1),M=(0,S.useRef)({x:0,y:0}),[N,P]=(0,S.useState)({}),[F,I]=(0,S.useState)(()=>{let e=localStorage.getItem(`siteInfo`),t=e&&JSON.parse(e).siteName||``;return t&&(document.title=t),t}),[L,R]=(0,S.useState)(()=>{let e=localStorage.getItem(`siteInfo`),t=e&&JSON.parse(e).siteLogo||``;if(t){let e=document.querySelector(`link[rel="icon"]`);e||(e=document.createElement(`link`),e.rel=`icon`,document.head.appendChild(e)),e.href=t,e.type=`image/png`}return t}),[z,B]=(0,S.useState)(!localStorage.getItem(`siteInfo`)),[V,H]=(0,S.useState)(!1),[U,W]=(0,S.useState)(null),[ee,te]=(0,S.useState)(`alipay`),[ne,re]=(0,S.useState)(!1),[G,ie]=(0,S.useState)(180),K=(0,S.useRef)(null),ae=(0,S.useRef)(null),q=(0,S.useRef)(null),[oe,se]=(0,S.useState)({alipay:!1,wechat:!1}),[ce,le]=(0,S.useState)(null),[ue,de]=(0,S.useState)(!1),[fe,pe]=(0,S.useState)(``),me=`pending_payment_order`;(0,S.useEffect)(()=>{f7().then(e=>{let t=e.siteName||`民众智创`,n=e.siteLogo||``;if(t!==F&&(I(t),document.title=t),n&&n!==L){R(n);let e=document.querySelector(`link[rel="icon"]`);e||(e=document.createElement(`link`),e.rel=`icon`,document.head.appendChild(e)),e.href=n,e.type=`image/png`}e.operationManual&&pe(e.operationManual),localStorage.setItem(`siteInfo`,JSON.stringify({siteName:t,siteLogo:n}))}).catch(()=>{}),a7().then(e=>{let t=e?.resourceCapacity;t&&le({enabled:!!t.enabled,usedBytes:Number(t.usedBytes)||0,totalBytes:Number(t.totalBytes)||0,availableBytes:Number(t.availableBytes)||0,usagePercent:Number(t.usagePercent)||0,exceeded:!!t.exceeded,limitValue:t.limitValue??``,limitUnit:t.limitUnit||`GB`})}).catch(e=>{})},[]),(0,S.useEffect)(()=>{let e=()=>de(window.innerWidth<=767);return e(),window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[]);let he=e=>{e.button===0&&(A(!0),j.current=!1,M.current={x:e.clientX,y:e.clientY})},ge=e=>{if(!k)return;let t=Math.abs(e.clientX-M.current.x),n=Math.abs(e.clientY-M.current.y);(t>5||n>5)&&(j.current=!0);let r=Math.max(60,Math.min(window.innerHeight-60,e.clientY-(M.current.y-D.y)));O(e=>({x:e.x,y:r}))},_e=()=>{let e=j.current;A(!1),j.current=!1,e||l(!0)};(0,S.useEffect)(()=>{if(k)return document.addEventListener(`mousemove`,ge),document.addEventListener(`mouseup`,_e),()=>{document.removeEventListener(`mousemove`,ge),document.removeEventListener(`mouseup`,_e)}},[k]);let ve=()=>{h7().then(e=>{v(e)}).catch(()=>{})};(0,S.useEffect)(()=>{(async()=>{let e=localStorage.getItem(me);if(e)try{let t=JSON.parse(e),n=await v7(t.orderNo);if(n.status===`pending`){W({price:t.price,credits:t.credits,qrCode:t.qrCode,method:t.method}),q.current=t.orderNo;let e=Date.now(),n=new Date(t.createdAt).getTime(),r=t.timeoutSeconds||180,i=Math.floor((e-n)/1e3),a=Math.max(0,r-i);a>0?(H(!0),Ae(t.orderNo,a)):localStorage.removeItem(me)}else n.status===`paid`?(Z.success(`支付成功!积分已到账`),G7.getState().refreshUser(),localStorage.removeItem(me)):localStorage.removeItem(me)}catch{localStorage.removeItem(me)}})()},[]),(0,S.useEffect)(()=>{jre().then(e=>{m(e.filter(e=>e.is_active!==!1&&e.isActive!==!1))}).catch(()=>{}),Mre().then(e=>{g(e.filter(e=>e.is_active!==!1&&e.isActive!==!1))}).catch(()=>{}),Nre().then(e=>{se(e),e.alipay?te(`alipay`):e.wechat&&te(`wechat`)}).catch(()=>{}),ve()},[n]);let ye=t.pathname.startsWith(`/records`)?`/records`:t.pathname,be=Kie,xe={};p.forEach(e=>{let t=e.parent_id??e.parentId;t&&(xe[t]||(xe[t]=[]),xe[t].push(e))});let Se=p.filter(e=>!(e.parent_id??e.parentId));Se.sort((e,t)=>(typeof e.sortOrder==`number`?e.sortOrder:1/0)-(typeof t.sortOrder==`number`?t.sortOrder:1/0)),Object.keys(xe).forEach(e=>{xe[e].sort((e,t)=>(typeof e.sortOrder==`number`?e.sortOrder:1/0)-(typeof t.sortOrder==`number`?t.sortOrder:1/0))});let Ce=t=>{let n=t.menu_type??t.menuType,r=xe[t.id]&&xe[t.id].length>0;n===`group`||r?P(e=>({...e,[t.id]:!e[t.id]})):t.path&&(e(t.path),b(!1))},we=[{key:`profile`,icon:(0,$.jsx)(I5,{}),label:`账号: ${n?.username}`,disabled:!0},{key:`credits`,icon:(0,$.jsx)(B5,{style:{color:`#c9a96e`}}),label:`积分: ${n?.credits??0}`,disabled:!0},{type:`divider`},...n?.isTeamManager?[{key:`teamManagement`,icon:(0,$.jsx)(T5,{style:{color:`#6366f1`}}),label:`团队管理`}]:[],{key:`myCredits`,icon:(0,$.jsx)(B5,{}),label:`积分明细`},{key:`orderRecords`,icon:(0,$.jsx)(HH,{}),label:`订单记录`},{key:`messages`,icon:(0,$.jsx)(_4,{}),label:`消息中心${_>0?`(${_})`:``}`},...fe?[{key:`manual`,icon:(0,$.jsx)(HH,{}),label:`操作手册`}]:[],{type:`divider`},{key:`changePwd`,icon:(0,$.jsx)(k6,{}),label:`修改密码`},{type:`divider`},{key:`logout`,icon:(0,$.jsx)(F6,{}),label:`退出登录`,danger:!0}],Te=({key:t})=>{t===`logout`?(r(),e(`/login`)):t===`changePwd`?a(!0):t===`messages`?e(`/messages`):t===`recharge`?s(!0):t===`teamManagement`?e(`/team-management`):t===`myCredits`?e(`/user-center?tab=credits`):t===`orderRecords`?e(`/user-center?tab=orders`):t===`manual`&&window.open(fe,`_blank`)},Ee=async()=>{try{let e=await u.validateFields();await o7(e.oldPwd,e.newPwd),Z.success(`密码修改成功`),a(!1),u.resetFields()}catch(e){e?.response?.data?.detail?Z.error(e.response.data.detail):e?.message&&Z.error(e.message)}},De=()=>{r(),e(`/login`)},Oe=async()=>{if(!n){Z.warning(`请先登录`);return}try{let e=await w.validateFields();E(!0),await cie({phone:e.phone,company_name:e.companyName,industry:e.industry,name:e.name,message:e.message}),Z.success(`提交成功,我们会尽快与您联系`),l(!1),w.resetFields()}catch(e){Z.error(e?.message||`提交失败`)}finally{E(!1)}},ke=(0,S.useCallback)(()=>{K.current&&=(clearInterval(K.current),null),ae.current&&=(clearInterval(ae.current),null)},[]),Ae=(0,S.useCallback)((e,t=180)=>{ke(),ie(t),K.current=setInterval(async()=>{try{let t=await v7(e);t.status===`paid`?(ke(),q.current=null,localStorage.removeItem(me),Z.success(`支付成功!积分已到账`),G7.getState().refreshUser(),H(!1),W(null),f(null)):t.status===`cancelled`&&(ke(),q.current=null,localStorage.removeItem(me))}catch{}},2e3),ae.current=setInterval(()=>{ie(e=>e<=1?(ke(),q.current&&=(y7(q.current).catch(()=>{}),null),localStorage.removeItem(me),Z.warning(`订单已超时,请重新充值`),H(!1),W(null),f(null),0):e-1)},1e3)},[ke]),je=(t,n=0)=>{let r=t.path===ye,i=J7[t.icon]||(0,$.jsx)(c6,{}),a=xe[t.id]&&xe[t.id].length>0,o=(t.menu_type??t.menuType)===`group`;return(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{onClick:()=>{!(o||a)&&t.path&&e(t.path)},style:{display:`flex`,alignItems:`center`,justifyContent:`flex-start`,gap:10,padding:n>0?`6px 12px 6px 32px`:`6px 14px`,borderRadius:12,margin:`1px 4px`,cursor:o||a?`default`:`pointer`,fontSize:n>0?13:14,fontWeight:r?600:400,color:r?`#4f46e5`:o?`#94a3b8`:`#475569`,background:r?`linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%)`:`transparent`,transition:`all 0.2s ease`},onMouseEnter:e=>{!o&&!r&&!(o||a)&&(e.currentTarget.style.background=`rgba(99, 102, 241, 0.05)`)},onMouseLeave:e=>{r||(e.currentTarget.style.background=`transparent`)},children:[!o&&(0,$.jsx)(`span`,{style:{fontSize:n>0?14:16,flexShrink:0,color:r?`#6366f1`:`#64748b`},children:i}),(0,$.jsx)(`span`,{style:{whiteSpace:`nowrap`,flex:1,textAlign:`left`,fontWeight:o||r?600:400,fontSize:o?12:n>0?13:14,textTransform:o?`uppercase`:`none`,letterSpacing:o?.5:0},children:t.label})]}),(o||a)&&(0,$.jsx)(`div`,{style:{overflow:`hidden`},children:(xe[t.id]||[]).map(e=>je(e,n+1))})]},t.id)};return(0,$.jsxs)(xG,{style:{minHeight:`100vh`},children:[(0,$.jsxs)(`div`,{className:`desktop-sidebar`,style:{width:be,position:`fixed`,left:16,top:16,bottom:16,zIndex:100,background:`linear-gradient(180deg, #ffffff 0%, #f8fafc 100%)`,borderRadius:`20px`,boxShadow:`0 4px 32px rgba(0, 0, 0, 0.06), 0 1px 8px rgba(0, 0, 0, 0.04)`,display:`flex`,flexDirection:`column`,transition:`width 0.25s ease, left 0.25s ease`,overflow:`hidden`,border:`1px solid rgba(0, 0, 0, 0.06)`},children:[(0,$.jsx)(`div`,{style:{height:80,display:`flex`,alignItems:`center`,justifyContent:`flex-start`,padding:`0 20px`,flexShrink:0,background:`linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.04) 100%)`},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:14,cursor:`pointer`},onClick:()=>{e(`/home`)},children:[(0,$.jsx)(`div`,{style:{width:42,height:42,borderRadius:14,flexShrink:0,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.35)`,overflow:`hidden`},children:L?(0,$.jsx)(`img`,{src:L,alt:`logo`,style:{width:28,height:28,objectFit:`contain`}}):(0,$.jsx)(D5,{style:{fontSize:20,color:`#ffffff`}})}),(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:17,fontWeight:700,letterSpacing:-.02,whiteSpace:`nowrap`,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:F})]})}),(0,$.jsx)(`div`,{style:{flex:1,padding:`8px 8px`,overflow:`auto`},children:Se.map(e=>je(e))}),(0,$.jsxs)(`div`,{onClick:()=>s(!0),style:{margin:`8px 12px`,padding:`12px 20px`,borderRadius:14,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,gap:8,color:`#ffffff`,fontSize:14,fontWeight:600,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.4)`,transition:`all 0.3s ease`},onMouseEnter:e=>{e.currentTarget.style.background=`linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%)`,e.currentTarget.style.transform=`translateY(-1px)`,e.currentTarget.style.boxShadow=`0 6px 20px rgba(99, 102, 241, 0.5)`},onMouseLeave:e=>{e.currentTarget.style.background=`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,e.currentTarget.style.transform=`translateY(0)`,e.currentTarget.style.boxShadow=`0 4px 16px rgba(99, 102, 241, 0.4)`},children:[(0,$.jsx)(NL,{style:{fontSize:16}}),(0,$.jsx)(`span`,{children:`充值积分`})]}),(0,$.jsx)(q7,{data:ce}),(0,$.jsx)(`div`,{style:{padding:`16px 16px`,flexShrink:0,paddingTop:0},children:(0,$.jsx)(zH,{menu:{items:we,onClick:Te},placement:`topRight`,arrow:!0,children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`flex-start`,gap:12,borderRadius:14,cursor:`pointer`,transition:`all 0.25s ease`,background:`linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%)`,boxShadow:`0 2px 12px rgba(0, 0, 0, 0.04)`},onMouseEnter:e=>{e.currentTarget.style.background=`linear-gradient(135deg, #ffffff 0%, #f8fafc 100%)`,e.currentTarget.style.boxShadow=`0 4px 16px rgba(0, 0, 0, 0.08)`},onMouseLeave:e=>{e.currentTarget.style.background=`linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%)`,e.currentTarget.style.boxShadow=`0 2px 12px rgba(0, 0, 0, 0.04)`},children:[(0,$.jsx)(qw,{size:36,icon:(0,$.jsx)(I5,{}),style:{background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,flexShrink:0,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`}}),(0,$.jsxs)(`div`,{style:{flex:1,minWidth:0},children:[(0,$.jsx)(`div`,{style:{color:`#1e293b`,fontSize:16,fontWeight:600,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,letterSpacing:-.01},children:n?.username}),(0,$.jsxs)(`div`,{style:{color:`#6366f1`,fontSize:16,fontWeight:500,letterSpacing:0,borderRadius:6,display:`inline-block`},children:[`积分: `,n?.credits||0]})]})]})})})]}),(0,$.jsx)(`div`,{className:`desktop-content`,style:{marginLeft:be+28,marginRight:12,marginTop:16,marginBottom:16,flex:1,minHeight:`calc(100vh - 32px)`,background:`transparent`,padding:0,transition:`margin-left 0.25s ease`},children:(0,$.jsx)(`div`,{style:{boxSizing:`border-box`,height:`100%`,background:`#ffffffff`,borderRadius:`20px`,boxShadow:`0 4px 32px rgba(0, 0, 0, 0.06), 0 1px 8px rgba(0, 0, 0, 0.04)`,minHeight:`100%`,padding:`24px 32px 32px`,border:`1px solid rgba(0, 0, 0, 0.06)`},children:!ue&&(0,$.jsx)(wt,{})})}),(0,$.jsx)(`div`,{className:`mobile-header`,children:(0,$.jsxs)(`div`,{className:`mobile-header-content`,children:[(0,$.jsx)(`div`,{className:`mobile-menu-btn`,onClick:()=>b(!0),children:(0,$.jsx)(W6,{style:{fontSize:20}})}),(0,$.jsx)(`div`,{className:`mobile-header-title`,children:F}),(0,$.jsx)(`div`,{className:`mobile-header-right`,children:(0,$.jsxs)(`div`,{className:`mobile-credits-badge`,onClick:()=>s(!0),children:[(0,$.jsx)(B5,{}),(0,$.jsx)(`span`,{children:n?.credits||0})]})})]})}),(0,$.jsx)(`div`,{className:`mobile-content`,children:ue&&(0,$.jsx)(wt,{})}),(0,$.jsxs)(OH,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:36,height:36,borderRadius:10,flexShrink:0,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.35)`},children:L?(0,$.jsx)(`img`,{src:L,alt:`logo`,style:{width:24,height:24,objectFit:`contain`}}):(0,$.jsx)(D5,{style:{fontSize:18,color:`#ffffff`}})}),(0,$.jsx)(`span`,{style:{fontWeight:700,fontSize:16,color:`#1e293b`},children:F})]}),placement:`left`,onClose:()=>b(!1),open:y,width:280,closable:!0,className:`mobile-menu-drawer`,styles:{header:{borderBottom:`1px solid #f1f5f9`,padding:`16px 20px`},body:{padding:`12px 8px`,display:`flex`,flexDirection:`column`}},children:[(0,$.jsxs)(`div`,{style:{flex:1,overflow:`auto`,paddingBottom:12},children:[(0,$.jsx)(`div`,{style:{padding:`12px 8px 16px`},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12,marginBottom:16},children:[(0,$.jsx)(qw,{size:44,style:{background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,flexShrink:0},children:(0,$.jsx)(I5,{})}),(0,$.jsxs)(`div`,{style:{flex:1,minWidth:0},children:[(0,$.jsx)(`div`,{style:{fontSize:15,fontWeight:600,color:`#1e293b`,marginBottom:2},children:n?.username||`用户`}),(0,$.jsxs)(`div`,{style:{fontSize:13,color:`#64748b`},children:[(0,$.jsx)(B5,{style:{color:`#f59e0b`,marginRight:4}}),`积分: `,(0,$.jsx)(`span`,{style:{color:`#f59e0b`,fontWeight:600},children:n?.credits??0})]})]})]})}),(0,$.jsx)(q7,{data:ce}),Se.map(e=>{let t=e.menu_type??e.menuType,n=xe[e.id]&&xe[e.id].length>0,r=e.path===ye,i=N[e.id],a=J7[e.icon]||(0,$.jsx)(c6,{});return(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{className:`mobile-menu-item ${r&&!n?`mobile-menu-item-active`:``} ${t===`group`?`mobile-menu-group`:``}`,onClick:()=>Ce(e),children:[t!==`group`&&(0,$.jsx)(`span`,{className:`mobile-menu-icon`,style:{color:r?`#6366f1`:`#64748b`},children:a}),(0,$.jsx)(`span`,{className:`mobile-menu-label`,style:{paddingLeft:0,color:t===`group`?`#94a3b8`:r?`#4f46e5`:`#475569`,fontWeight:t===`group`||r?600:400,fontSize:t===`group`?12:15,textTransform:t===`group`?`uppercase`:`none`,letterSpacing:t===`group`?.5:0},children:e.label}),(t===`group`||n)&&(0,$.jsx)(`span`,{style:{fontSize:12,color:`#cbd5e1`,transition:`transform 0.2s ease`,transform:i?`rotate(90deg)`:`rotate(0deg)`},children:(0,$.jsx)(Vg,{})})]}),(t===`group`||n)&&i&&(0,$.jsx)(`div`,{className:`mobile-submenu`,children:(xe[e.id]||[]).map(e=>{let t=e.path===ye,n=J7[e.icon]||(0,$.jsx)(c6,{});return(0,$.jsxs)(`div`,{className:`mobile-menu-item mobile-submenu-item ${t?`mobile-menu-item-active`:``}`,onClick:()=>Ce(e),children:[(0,$.jsx)(`span`,{className:`mobile-menu-icon`,style:{color:t?`#6366f1`:`#94a3b8`},children:n}),(0,$.jsx)(`span`,{className:`mobile-menu-label`,style:{color:t?`#4f46e5`:`#64748b`,fontWeight:t?600:400,fontSize:14},children:e.label})]},e.id)})})]},e.id)})]}),(0,$.jsxs)(`div`,{style:{padding:`8px 0`,borderTop:`1px solid #f1f5f9`},children:[(0,$.jsxs)(`div`,{className:`mobile-menu-item`,onClick:()=>{e(`/user-center?tab=credits`),b(!1)},children:[(0,$.jsx)(`span`,{className:`mobile-menu-icon`,style:{color:`#f59e0b`},children:(0,$.jsx)(B5,{})}),(0,$.jsx)(`span`,{className:`mobile-menu-label`,style:{color:`#475569`},children:`积分明细`})]}),(0,$.jsxs)(`div`,{className:`mobile-menu-item`,onClick:()=>{e(`/user-center?tab=orders`),b(!1)},children:[(0,$.jsx)(`span`,{className:`mobile-menu-icon`,style:{color:`#6366f1`},children:(0,$.jsx)(HH,{})}),(0,$.jsx)(`span`,{className:`mobile-menu-label`,style:{color:`#475569`},children:`订单记录`})]}),(0,$.jsxs)(`div`,{className:`mobile-menu-item`,onClick:()=>{e(`/messages`),b(!1)},children:[(0,$.jsx)(`span`,{className:`mobile-menu-icon`,style:{color:`#8b5cf6`},children:(0,$.jsx)(_4,{})}),(0,$.jsxs)(`span`,{className:`mobile-menu-label`,style:{color:`#475569`},children:[`消息中心`,_>0&&(0,$.jsx)(E$,{color:`red`,style:{marginLeft:8,fontSize:11},children:_})]})]}),(0,$.jsxs)(`div`,{className:`mobile-menu-item`,onClick:()=>{a(!0),b(!1)},children:[(0,$.jsx)(`span`,{className:`mobile-menu-icon`,style:{color:`#0ea5e9`},children:(0,$.jsx)(k6,{})}),(0,$.jsx)(`span`,{className:`mobile-menu-label`,style:{color:`#475569`},children:`修改密码`})]}),(0,$.jsx)(`div`,{style:{height:8}}),(0,$.jsxs)(`div`,{className:`mobile-menu-item mobile-recharge-item`,onClick:()=>{s(!0),b(!1)},children:[(0,$.jsx)(`span`,{className:`mobile-menu-icon`,style:{color:`#fff`},children:(0,$.jsx)(NL,{})}),(0,$.jsx)(`span`,{className:`mobile-menu-label`,style:{color:`#fff`,fontWeight:600},children:`充值积分`})]}),(0,$.jsxs)(`div`,{className:`mobile-menu-item`,onClick:()=>{De(),b(!1)},children:[(0,$.jsx)(`span`,{className:`mobile-menu-icon`,style:{color:`#ef4444`},children:(0,$.jsx)(F6,{})}),(0,$.jsx)(`span`,{className:`mobile-menu-label`,style:{color:`#ef4444`},children:`退出登录`})]})]})]}),(0,$.jsx)(WK,{title:(0,$.jsxs)(LH,{children:[(0,$.jsx)(k6,{}),`修改密码`]}),open:i,onOk:Ee,onCancel:()=>{a(!1),u.resetFields()},okText:`确认修改`,cancelText:`取消`,width:440,children:(0,$.jsxs)(jU,{form:u,layout:`vertical`,style:{marginTop:20},children:[(0,$.jsx)(jU.Item,{name:`oldPwd`,label:`原密码`,rules:[{required:!0,message:`请输入原密码`}],children:(0,$.jsx)(fG.Password,{placeholder:`请输入原密码`,size:`large`,prefix:(0,$.jsx)(k6,{style:{color:`#94a3b8`,marginRight:8}})})}),(0,$.jsx)(jU.Item,{name:`newPwd`,label:`新密码`,rules:[{required:!0,message:`请输入新密码`},{min:6,message:`密码至少6位`}],children:(0,$.jsx)(fG.Password,{placeholder:`请输入新密码(至少6位)`,size:`large`,prefix:(0,$.jsx)(k6,{style:{color:`#94a3b8`,marginRight:8}})})}),(0,$.jsx)(jU.Item,{name:`confirmPwd`,label:`确认新密码`,rules:[{required:!0,message:`请再次输入新密码`},({getFieldValue:e})=>({validator(t,n){return!n||e(`newPwd`)===n?Promise.resolve():Promise.reject(Error(`两次密码不一致`))}})],children:(0,$.jsx)(fG.Password,{placeholder:`请再次输入新密码`,size:`large`,prefix:(0,$.jsx)(k6,{style:{color:`#94a3b8`,marginRight:8}})})})]})}),(0,$.jsx)(WK,{title:(0,$.jsxs)(LH,{children:[(0,$.jsx)(q3,{}),`积分充值`]}),open:o,onCancel:()=>{s(!1),f(null)},width:680,className:`recharge-modal`,footer:(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,padding:`12px 0 0`,borderTop:`1px solid #f0f0f0`},children:[(0,$.jsx)(X,{size:`large`,onClick:()=>{s(!1),f(null)},style:{borderRadius:10,marginRight:12},children:`取消`}),(0,$.jsx)(X,{type:`primary`,size:`large`,disabled:!d||!oe.alipay&&!oe.wechat,loading:ne,onClick:async()=>{let e=h.find(e=>e.id===d);if(!e)return;let t=(e.credits||0)+(e.bonus_credits||e.bonusCredits||0);try{re(!0);let n=await Pre(e.id,ee),r=n.qrUrl||n.codeUrl||n.qr_code||n.code_url;(n.paymentMethod===`alipay`||n.paymentMethod===`wechat`)&&r?(W({price:e.price,credits:t,qrCode:r,method:n.paymentMethod}),s(!1),H(!0),q.current=n.orderNo,localStorage.setItem(me,JSON.stringify({orderNo:n.orderNo,price:e.price,credits:t,qrCode:r,method:n.paymentMethod,createdAt:n.createdAt||new Date().toISOString(),timeoutSeconds:180})),Ae(n.orderNo)):(Z.success(`充值成功!积分已到账`),G7.getState().refreshUser(),s(!1),f(null))}catch(e){Z.error(e?.message||`创建订单失败,请重试`)}finally{re(!1)}},style:{borderRadius:10,fontWeight:600,background:d?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`#d1d5db`,border:`none`,boxShadow:d?`0 8px 24px rgba(99,102,241,0.3)`:`none`},children:`确认充值`})]}),children:(0,$.jsxs)(`div`,{style:{marginTop:16},children:[(0,$.jsxs)(LH,{style:{marginBottom:16},children:[(0,$.jsx)(B5,{style:{color:`#6366f1`}}),(0,$.jsx)(Q.Text,{style:{color:`#64748b`,letterSpacing:0},children:`当前积分余额`}),(0,$.jsx)(Q.Text,{strong:!0,style:{color:`#6366f1`,fontSize:20,fontWeight:600},children:n?.credits??0})]}),!oe.alipay&&!oe.wechat?(0,$.jsx)(`div`,{style:{marginBottom:16,padding:16,background:`#fef2f2`,borderRadius:12,border:`1px solid #fecaca`},children:(0,$.jsx)(Q.Text,{style:{color:`#dc2626`,fontSize:13},children:`⚠️ 暂无可用的支付方式,请联系管理员开启支付功能`})}):(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(Q.Text,{style:{color:`#64748b`,fontSize:13,marginBottom:8,display:`block`},children:`选择支付方式`}),(0,$.jsxs)(sL.Group,{value:ee,onChange:e=>te(e.target.value),style:{display:`flex`,gap:12},children:[oe.alipay&&(0,$.jsxs)(sL.Button,{value:`alipay`,style:{flex:1,textAlign:`center`,borderRadius:10,height:44,lineHeight:`42px`,borderColor:ee===`alipay`?`#1677ff`:void 0,color:ee===`alipay`?`#1677ff`:void 0},children:[(0,$.jsx)(R2,{style:{fontSize:16,marginRight:6}}),`支付宝`]}),oe.wechat&&(0,$.jsxs)(sL.Button,{value:`wechat`,style:{flex:1,textAlign:`center`,borderRadius:10,height:44,lineHeight:`42px`,borderColor:ee===`wechat`?`#07c160`:void 0,color:ee===`wechat`?`#07c160`:void 0},children:[(0,$.jsx)(U5,{style:{fontSize:16,marginRight:6}}),`微信支付`]})]})]}),(0,$.jsxs)(`div`,{style:{padding:`12px 16px`,background:`rgba(99, 102, 241, 0.06)`,borderRadius:10,marginBottom:16,display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(m6,{style:{color:`#6366f1`,fontSize:14}}),(0,$.jsxs)(Q.Text,{style:{color:`#64748b`,fontSize:13},children:[`当前平台仅支持支付宝/微信扫码充值,如需转账支付请`,(0,$.jsx)(Q.Text,{style:{color:`#ff0000ff`,cursor:`pointer`,textDecoration:`underline`},onClick:()=>{s(!1),l(!0)},children:`联系我们`})]})]}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:12,flexWrap:`wrap`},children:h.map((e,t)=>{let n=Y7[t%Y7.length],r=(e.credits||0)+(e.bonus_credits||e.bonusCredits||0);return(0,$.jsxs)(`div`,{onClick:()=>f(e.id),style:{flex:`1 1 45%`,minWidth:200,borderRadius:16,padding:`20px 16px`,background:d===e.id?`rgba(99,102,241,0.04)`:`#fafbff`,border:d===e.id?`2px solid #6366f1`:`1px solid #f0f0f5`,cursor:`pointer`,position:`relative`,transition:`all 0.2s`},children:[e.description&&(0,$.jsx)(E$,{color:`purple`,style:{position:`absolute`,top:-10,left:`50%`,transform:`translateX(-50%)`,borderRadius:8,fontSize:11},children:e.description}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:44,height:44,borderRadius:12,flexShrink:0,background:n.gradient,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:18,color:`#fff`,boxShadow:`0 6px 16px ${n.shadow}`},children:n.icon}),(0,$.jsxs)(`div`,{style:{flex:1},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`baseline`,gap:6},children:[(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:15},children:e.name}),(0,$.jsxs)(Q.Text,{style:{fontSize:14,fontWeight:600,color:`#6366f1`},children:[r.toLocaleString(),` 积分`]})]}),(0,$.jsxs)(`div`,{style:{fontSize:22,fontWeight:800,marginTop:4,background:n.gradient,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`},children:[`¥`,e.price]})]})]})]},e.id)})})]})}),(0,$.jsx)(WK,{open:V,onCancel:async()=>{if(ke(),q.current){try{await y7(q.current)}catch{}q.current=null}localStorage.removeItem(me),H(!1),W(null)},footer:null,width:400,closable:!1,styles:{body:{padding:0,borderRadius:16,overflow:`hidden`}},children:(0,$.jsxs)(`div`,{style:{padding:`24px`},children:[(0,$.jsxs)(`div`,{style:{textAlign:`center`,marginBottom:24},children:[(0,$.jsx)(`div`,{style:{width:48,height:48,background:U?.method===`alipay`?`linear-gradient(135deg, #1677ff, #0958d9)`:`linear-gradient(135deg, #07c160, #06ae56)`,borderRadius:16,display:`flex`,alignItems:`center`,justifyContent:`center`,margin:`0 auto 12px`},children:U?.method===`alipay`?(0,$.jsx)(R2,{style:{fontSize:24,color:`#fff`}}):(0,$.jsx)(U5,{style:{fontSize:24,color:`#fff`}})}),(0,$.jsx)(Q.Title,{level:4,style:{margin:0},children:U?.method===`alipay`?`支付宝支付`:`微信支付`}),(0,$.jsx)(Q.Text,{style:{color:`#94a3b8`,fontSize:13},children:U?.method===`alipay`?`请使用支付宝扫描二维码完成支付`:`请使用微信扫描二维码完成支付`})]}),(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:16,padding:20,display:`flex`,flexDirection:`column`,alignItems:`center`,boxShadow:`0 4px 20px rgba(0,0,0,0.08)`},children:[(0,$.jsx)(`div`,{style:{width:180,height:180,borderRadius:12,overflow:`hidden`,background:`#fff`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:U&&(0,$.jsx)(F2,{value:U.qrCode,size:160,level:`M`,includeMargin:!1})}),(0,$.jsxs)(`div`,{style:{marginTop:16,textAlign:`center`},children:[(0,$.jsxs)(`div`,{style:{fontSize:28,fontWeight:700,color:`#1a1a2e`},children:[`¥`,U?.price||0]}),(0,$.jsxs)(`div`,{style:{fontSize:13,color:`#64748b`,marginTop:4},children:[`购买 `,U?.credits||0,` 积分`]}),(0,$.jsx)(`div`,{style:{marginTop:12,padding:`8px 16px`,background:G<=30?`#fef2f2`:`#f0f9ff`,borderRadius:8,border:G<=30?`1px solid #fecaca`:`1px solid #bae6fd`,display:`inline-block`},children:(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:G<=30?`#dc2626`:`#0284c7`},children:[`订单将在 `,(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:800},children:G}),` 秒后关闭`]})})]})]}),(0,$.jsx)(`div`,{style:{marginTop:20,padding:16,background:`#fef3c7`,borderRadius:12},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`flex-start`,gap:8},children:[(0,$.jsx)(`div`,{style:{fontSize:16,marginTop:-2},children:`💡`}),(0,$.jsxs)(`div`,{style:{fontSize:13,color:`#92400e`},children:[(0,$.jsx)(`div`,{style:{fontWeight:500,marginBottom:4},children:`支付提示`}),(0,$.jsxs)(`ul`,{style:{margin:0,paddingLeft:16},children:[(0,$.jsx)(`li`,{style:{marginBottom:2},children:`请在支付后等待页面自动跳转`}),(0,$.jsx)(`li`,{children:`如支付成功但未到账,请联系客服`})]})]})]})}),(0,$.jsx)(`div`,{style:{marginTop:20},children:(0,$.jsx)(X,{size:`large`,block:!0,onClick:async()=>{if(ke(),q.current){try{await y7(q.current)}catch{}q.current=null}localStorage.removeItem(me),H(!1),W(null),f(null)},style:{borderRadius:10},children:`取消支付`})})]})}),(0,$.jsx)(Gie,{}),(0,$.jsx)(`div`,{className:`contact-button-wrapper`,style:{right:`${D.x}px`,bottom:`${window.innerHeight-D.y}px`},children:(0,$.jsxs)(`div`,{style:{position:`relative`},children:[(0,$.jsx)(`div`,{className:`contact-tooltip`,style:{opacity:+!!x},children:`联系我们`}),(0,$.jsx)(`button`,{className:`contact-button ${k?`dragging`:``}`,onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1),onMouseDown:he,onMouseUp:_e,children:(0,$.jsx)(q6,{style:{fontSize:20}})})]})}),(0,$.jsx)(WK,{title:(0,$.jsxs)(LH,{children:[(0,$.jsx)(q6,{}),`联系我们`]}),open:c,onCancel:()=>{l(!1),w.resetFields()},footer:null,width:480,className:`contact-modal`,children:(0,$.jsxs)(`div`,{style:{marginTop:8},children:[(0,$.jsxs)(jU,{form:w,layout:`vertical`,children:[(0,$.jsx)(jU.Item,{name:`name`,label:`姓名`,rules:[{required:!0,message:`请输入姓名`}],children:(0,$.jsx)(fG,{placeholder:`请输入您的姓名`,size:`large`})}),(0,$.jsx)(jU.Item,{name:`phone`,label:`手机号`,rules:[{required:!0,message:`请输入手机号`},{pattern:/^1[3-9]\d{9}$/,message:`请输入正确的手机号`}],children:(0,$.jsx)(fG,{placeholder:`请输入您的手机号`,size:`large`})}),(0,$.jsx)(jU.Item,{name:`companyName`,label:`公司名称`,rules:[{required:!0,message:`请输入公司名称`}],children:(0,$.jsx)(fG,{placeholder:`请输入公司名称`,size:`large`})}),(0,$.jsx)(jU.Item,{name:`industry`,label:`您的行业`,rules:[{required:!0,message:`请输入您的行业`}],children:(0,$.jsx)(fG,{placeholder:`请输入您的行业`,size:`large`})}),(0,$.jsx)(jU.Item,{name:`message`,label:`留言(选填)`,children:(0,$.jsx)(fG.TextArea,{placeholder:`请输入您的需求或问题`,rows:3,style:{borderRadius:10}})})]}),(0,$.jsxs)(`div`,{style:{marginTop:16,display:`flex`,gap:12},children:[(0,$.jsx)(X,{size:`large`,onClick:()=>{l(!1),w.resetFields()},style:{borderRadius:10,flex:1},children:`取消`}),(0,$.jsx)(X,{type:`primary`,size:`large`,onClick:Oe,loading:T,style:{borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,flex:1},children:`提交`})]})]})})]})},Jie=`http://localhost:8000/api`,Yie=()=>{let{checkAuth:e}=G7(),[t,n]=(0,S.useState)(!1),[r,i]=(0,S.useState)(`password`),[a,o]=(0,S.useState)(`password`),[s]=On(),c=s.get(`redirect`),l=s.get(`tab`),[u,d]=(0,S.useState)(0),[f,p]=(0,S.useState)(0),[m,h]=(0,S.useState)(!1),[g,_]=(0,S.useState)(!1),[v,y]=(0,S.useState)(!1),[b,x]=(0,S.useState)(!1),[C,w]=(0,S.useState)(0),[T,E]=(0,S.useState)(!1),[D,O]=(0,S.useState)(!1),k=(()=>{try{let e=localStorage.getItem(`siteInfo`);if(e){let t=JSON.parse(e);return{siteName:t.siteName||`VideoGen.AI`,siteLogo:t.siteLogo||``}}}catch{}return{siteName:`VideoGen.AI`,siteLogo:``}})(),[A,j]=(0,S.useState)(k.siteName),[M,N]=(0,S.useState)(k.siteLogo),[P,F]=(0,S.useState)(``),[I,L]=(0,S.useState)(``),R=Ye(),{login:z}=G7(),[B]=jU.useForm(),[V]=jU.useForm(),[H]=jU.useForm();(0,S.useEffect)(()=>{f7().then(e=>{j(e.siteName),N(e.siteLogo),F(e.userAgreementPrivacyUrl),L(e.siteCopyright)}).catch(()=>{})},[]),(0,S.useEffect)(()=>{l===`register`&&i(`register`)},[l]);let U=()=>{if(c)try{R(decodeURIComponent(c));return}catch{}R(`/home`)},W=()=>m?!0:(Z.warning(`请先阅读并同意用户协议及隐私政策`),!1),ee=async()=>{if(W())try{let t=await B.validateFields();await z(t.phone,t.password,void 0,t.rememberMe),Z.success(`登录成功,欢迎回来`),await e(),U()}catch(e){let t=e?.response?.data?.detail||e?.response?.data?.message||e?.message||`登录失败`;Z.error(t)}},te=async()=>{if(W())try{let t=V.getFieldsValue();if(!t.phone||!t.code){Z.error(`请填写手机号和验证码`);return}n(!0),await yre(t.phone,t.code),Z.success(`登录成功,欢迎回来`),await e(),U()}catch(e){let t=e?.response?.data?.detail||e?.response?.data?.message||e?.message||`登录失败`;Z.error(t)}finally{n(!1)}},ne=async()=>{if(W())try{let t=await H.validateFields();n(!0),await bre(t.phone,t.regCode,t.password),Z.success(`注册成功`),await e(),U()}catch(e){let t=e?.response?.data?.detail||e?.response?.data?.message||e?.message||`注册失败`;Z.error(t)}finally{n(!1)}},re=(e,t)=>{e(60);let n=setInterval(()=>{e(e=>e<=1?(clearInterval(n),_(!1),t?E(!0):O(!0),0):e-1)},1e3)};(0,S.useEffect)(()=>{u===0&&r===`phone`&&x(!1)},[u,r]);let G=async(e,t)=>{try{if(!e||!/^1\d{10}$/.test(e)){Z.error(`请输入正确的手机号`);return}if(t){_(!0),y(!1);return}if(!b){_(!0),x(!1);return}let n=``;n=r===`register`?`register`:`login`,await p7(e,n),re(t?p:d),Z.success(`验证码已发送`)}catch(e){let t=e?.response?.data?.detail||e?.response?.data?.message||e?.message||`登录失败`;Z.error(t),r===`register`?(y(!1),p(0)):(x(!1),d(0)),w(e=>e+1)}},ie=async(e=!1)=>{let t=r===`register`?H.getFieldValue(`phone`):V.getFieldValue(`phone`);try{let e=``;e=r===`register`?`register`:`login`,await p7(t,e),r===`register`?(y(!0),re(p,!0)):(x(!0),re(d,!1)),Z.success(`验证码已发送`)}catch(e){let t=e?.response?.data?.detail||e?.response?.data?.message||e?.message||`登录失败`;Z.error(t),r===`register`?(y(!1),p(0),E(!0)):(x(!1),d(0),O(!0)),w(e=>e+1)}},K=e=>{o(e),i(e),d(0),p(0),x(!1),y(!1),_(!1),E(!1),O(!1),w(e=>e+1),e===`password`?B.resetFields():V.resetFields()},ae=[{icon:(0,$.jsx)(E4,{}),title:`AI 智能优化`,desc:`输入原始提示词,AI 自动为您生成专业级视频、图片描述`},{icon:(0,$.jsx)(C8,{}),title:`一键生成视频、图片`,desc:`支持多种规格生成视频、图片`},{icon:(0,$.jsx)(a6,{}),title:`项目维度管理`,desc:`按项目行业分类视频、图片,支持多种行业`}],q={background:`#fff`,border:`1.5px solid #e2e8f0`,color:`#1e293b`,borderRadius:10,fontSize:14},oe=e=>{if(!e){Z.warning(`暂未上传协议文件`);return}e.startsWith(`http://`)||e.startsWith(`https://`)?window.open(e,`_blank`):window.open(`${Jie.replace(/\/api$/,``)}${e}`,`_blank`)};return(0,$.jsxs)(`div`,{className:`login-page`,children:[(0,$.jsx)(`div`,{className:`login-bg-overlay`}),(0,$.jsx)(`div`,{className:`login-decoration login-decoration-1`}),(0,$.jsx)(`div`,{className:`login-decoration login-decoration-2`}),(0,$.jsx)(`div`,{className:`login-left-section`,children:(0,$.jsxs)(LH,{direction:`vertical`,size:36,className:`login-left-content`,children:[(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{className:`login-logo-row`,children:[M?(0,$.jsx)(`img`,{src:M,alt:`logo`,className:`login-logo-img`}):(0,$.jsx)(`div`,{className:`login-logo-placeholder`,children:(0,$.jsx)(D5,{style:{fontSize:26,color:`#fff`}})}),(0,$.jsx)(`span`,{className:`login-site-name`,children:A})]}),(0,$.jsx)(`div`,{className:`shiny-text-container`,children:(0,$.jsx)(`span`,{className:`shiny-text`,children:`AI赋能创意,素材触手可及`})}),(0,$.jsxs)(Q.Paragraph,{className:`login-desc`,children:[`专业的 AI 素材生成平台,通过智能提示词优化,`,(0,$.jsx)(`br`,{}),`让您的创意快速转化为精美视频、图片`]})]}),(0,$.jsx)(`div`,{className:`login-features-list`,children:ae.map((e,t)=>(0,$.jsxs)(`div`,{className:`electric-border-card login-feature-card`,children:[(0,$.jsx)(`div`,{className:`electric-border`}),(0,$.jsx)(`div`,{className:`electric-border-inner`}),(0,$.jsx)(`div`,{style:{position:`relative`,zIndex:1},children:(0,$.jsx)(`div`,{className:`login-feature-icon`,children:e.icon})}),(0,$.jsxs)(`div`,{style:{position:`relative`,zIndex:1},children:[(0,$.jsx)(Q.Text,{className:`login-feature-title`,children:e.title}),(0,$.jsx)(Q.Text,{className:`login-feature-desc`,children:e.desc})]})]},t))})]})}),(0,$.jsxs)(`div`,{className:`login-right-section`,children:[(0,$.jsx)(`div`,{className:`login-right-section-inner`,children:(0,$.jsxs)(rR,{className:`login-card`,styles:{body:{padding:`36px 28px`}},children:[(0,$.jsx)(Q.Title,{level:3,className:`login-card-title`,children:r===`register`?`创建账号`:`欢迎回来`}),(0,$.jsx)(Q.Text,{className:`login-card-subtitle`,children:r===`register`?`注册新账号,开始创作视频`:`登录您的账号,开始创作视频`}),r!==`register`&&(0,$.jsx)(`div`,{className:`login-tabs`,children:[`password`,`phone`].map(e=>(0,$.jsx)(`div`,{onClick:()=>K(e),className:`login-tab ${a===e?`login-tab-active`:``}`,children:e===`password`?`密码登录`:`验证码登录`},e))}),r===`password`&&(0,$.jsxs)(jU,{form:B,size:`large`,layout:`vertical`,onFinish:ee,children:[(0,$.jsx)(jU.Item,{name:`phone`,rules:[{required:!0,message:`请输入手机号`},{pattern:/^1\d{10}$/,message:`请输入正确的手机号`}],children:(0,$.jsx)(fG,{prefix:(0,$.jsx)(X6,{style:{color:`#94a3b8`,marginRight:8}}),placeholder:`请输入手机号`,style:q})}),(0,$.jsx)(jU.Item,{name:`password`,rules:[{required:!0,message:`请输入密码`}],children:(0,$.jsx)(fG.Password,{prefix:(0,$.jsx)(k6,{style:{color:`#94a3b8`,marginRight:8}}),placeholder:`请输入密码`,style:q})}),(0,$.jsx)(jU.Item,{name:`rememberMe`,valuePropName:`checked`,style:{marginBottom:12},children:(0,$.jsx)(jz,{children:`记住我的登录状态`})}),(0,$.jsx)(jU.Item,{style:{marginBottom:12},children:(0,$.jsx)(X,{type:`primary`,htmlType:`submit`,loading:t,block:!0,className:`login-submit-btn`,children:`登 录`})})]}),r===`phone`&&(0,$.jsxs)(jU,{form:V,size:`large`,layout:`vertical`,children:[(0,$.jsx)(jU.Item,{name:`phone`,rules:[{required:!0,message:`请输入手机号`},{pattern:/^1\d{10}$/,message:`请输入正确的手机号`}],children:(0,$.jsx)(fG,{prefix:(0,$.jsx)(X6,{style:{color:`#94a3b8`,marginRight:8}}),placeholder:`请输入手机号`,maxLength:11,style:q})}),(0,$.jsx)(jU.Item,{name:`code`,rules:[{required:!0,message:`请输入验证码`}],children:(0,$.jsxs)(LH.Compact,{style:{width:`100%`},children:[(0,$.jsx)(fG,{prefix:(0,$.jsx)(W8,{style:{color:`#94a3b8`,marginRight:8}}),placeholder:`请输入验证码`,maxLength:6,disabled:!b,style:{...q,borderRadius:`10px 0 0 10px`,flex:1}}),(0,$.jsx)(X,{disabled:u>0,onClick:()=>{D?(x(!1),_(!0),w(e=>e+1)):G(V.getFieldValue(`phone`))},className:`login-code-btn`,children:u>0?`${u}s`:D?`重新发送`:`获取验证码`})]})}),g&&(0,$.jsx)(jU.Item,{style:{marginBottom:12},children:(0,$.jsx)(X7,{onSuccess:ie,isVerified:b})},C),(0,$.jsx)(jU.Item,{style:{marginBottom:12},children:(0,$.jsx)(X,{type:`primary`,onClick:te,loading:t,block:!0,className:`login-submit-btn`,children:`登 录`})})]}),r===`register`&&(0,$.jsxs)(jU,{form:H,size:`large`,layout:`vertical`,children:[(0,$.jsx)(jU.Item,{name:`phone`,rules:[{required:!0,message:`请输入手机号`},{pattern:/^1\d{10}$/,message:`请输入正确的手机号`}],children:(0,$.jsx)(fG,{prefix:(0,$.jsx)(X6,{style:{color:`#94a3b8`,marginRight:8}}),placeholder:`请输入手机号`,maxLength:11,style:q})}),(0,$.jsx)(jU.Item,{name:`regCode`,rules:[{required:!0,message:`请输入验证码`}],children:(0,$.jsxs)(LH.Compact,{style:{width:`100%`},children:[(0,$.jsx)(fG,{prefix:(0,$.jsx)(W8,{style:{color:`#94a3b8`,marginRight:8}}),placeholder:`请输入验证码`,maxLength:6,disabled:!v,style:{...q,borderRadius:`10px 0 0 10px`,flex:1}}),(0,$.jsx)(X,{disabled:f>0,onClick:()=>{T?(y(!1),_(!0),w(e=>e+1)):G(H.getFieldValue(`phone`),!0)},className:`login-code-btn`,children:f>0?`${f}s`:T?`重新发送`:`获取验证码`})]})}),g&&(0,$.jsx)(jU.Item,{style:{marginBottom:12},children:(0,$.jsx)(X7,{onSuccess:ie,isVerified:v})},C),(0,$.jsx)(jU.Item,{name:`password`,rules:[{required:!0,message:`请设置密码`},{min:6,message:`密码至少6位`}],children:(0,$.jsx)(fG.Password,{prefix:(0,$.jsx)(k6,{style:{color:`#94a3b8`,marginRight:8}}),placeholder:`请设置密码(至少6位)`,style:q})}),(0,$.jsx)(jU.Item,{style:{marginBottom:12},children:(0,$.jsx)(X,{type:`primary`,onClick:ne,loading:t,block:!0,className:`login-submit-btn`,children:`注 册`})})]}),(0,$.jsx)(`div`,{className:`login-agreement`,children:(0,$.jsx)(jz,{checked:m,onChange:e=>h(e.target.checked),children:(0,$.jsxs)(`span`,{className:`login-agreement-text`,children:[`我已阅读并同意`,(0,$.jsx)(`span`,{onClick:e=>{e.stopPropagation(),oe(P)},className:`login-link`,children:`《用户协议及隐私政策》`})]})})}),(0,$.jsx)(`div`,{className:`login-footer`,children:r===`register`?(0,$.jsx)(Q.Text,{className:`login-switch-btn`,onClick:()=>{i(`password`),o(`password`),E(!1),O(!1),y(!1),_(!1),w(e=>e+1),H.resetFields()},children:`已有账号?去登录`}):(0,$.jsx)(Q.Text,{className:`login-switch-btn`,onClick:()=>{i(`register`),E(!1),O(!1),y(!1),_(!1),w(e=>e+1)},children:`没有账号?立即注册`})})]})}),I&&(0,$.jsx)(`div`,{className:`login-copyright-wrapper`,children:(0,$.jsx)(`div`,{className:`login-copyright`,children:I})})]})]})},X7=({onSuccess:e,isVerified:t})=>{let n=S.useRef(null),r=S.useRef(null),i=S.useRef(null),a=S.useRef(0),o=S.useRef(!1),[s,c]=S.useState(360),l=s-50;S.useEffect(()=>{let e=()=>{if(n.current){let e=n.current.offsetWidth;e>0&&c(e)}};e();let t=new ResizeObserver(e);return n.current&&t.observe(n.current),window.addEventListener(`resize`,e),()=>{t.disconnect(),window.removeEventListener(`resize`,e)}},[]);let u=n=>{if(o.current||t)return;let c=Math.max(0,Math.min(n,l));a.current=c,r.current&&(r.current.style.left=`${c}px`),i.current&&(i.current.style.width=`${c+50}px`),c>=l-5&&(o.current=!0,r.current&&(r.current.style.background=`#22c55e`,r.current.innerHTML=``),i.current&&(i.current.style.width=`${s}px`,i.current.style.background=`#dcfce7`),e())};return(0,$.jsxs)(`div`,{ref:n,onMouseDown:e=>{if(e.preventDefault(),o.current||t)return;let s=n.current;if(!s)return;let c=s.getBoundingClientRect(),d=e=>{u(e.clientX-c.left-50/2)},f=()=>{document.removeEventListener(`mousemove`,d),document.removeEventListener(`mouseup`,f),!o.current&&a.current{if(o.current||t)return;e.preventDefault();let s=n.current;if(!s)return;let c=s.getBoundingClientRect();u(e.touches[0].clientX-c.left-50/2);let d=e=>{u(e.touches[0].clientX-c.left-50/2)},f=()=>{document.removeEventListener(`touchmove`,d),document.removeEventListener(`touchend`,f),!o.current&&a.current({page:1,pageSize:10,total:0,items:[]}),Z7=J5((e,t)=>({projects:[],records:Xie(),loading:!1,mediaType:`video`,countType:`请选择`,selectedRatio:`1:1`,selectedResolution:`2K`,width:2048,height:2048,videoDuration:5,videoAspectRatio:`16:9`,videoResolution:`720p`,engineOptions:{ratios:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:[`480p`,`720p`,`1080p`],durations:[5,8,10,12,15]},enginesele:[],inputValue:``,currentMedia:[],fetchProjects:async()=>{e({loading:!0});try{e({projects:await Sre(),loading:!1})}catch{e({loading:!1})}},createProject:async(n,r)=>{let i=await Cre(n,r);return e({projects:[i,...t().projects]}),i},deleteProject:async n=>{await wre(n),e({projects:t().projects.filter(e=>e.id!==n)})},fetchRecords:async(t={})=>{e({loading:!0});try{e({records:await s7(t),loading:!1})}catch{e({loading:!1})}},optimizePrompt:async(n,r)=>{let i=await Tre(n,r);try{await G7.getState().checkAuth()}catch{}let a=t().records;return e({records:{...a,total:a.total+1,items:[i.record,...a.items]}}),i},generateVideo:async(n,r)=>{let i=await Ore(n,r);try{await G7.getState().checkAuth()}catch{}let a=t().records;return e({records:{...a,items:a.items.map(e=>e.id===n?i:e)}}),i},updateRecordReferences:(n,r)=>{let i=t().records;e({records:{...i,items:i.items.map(e=>e.id===n?{...e,references:r}:e)}})},setMediaType:t=>e({mediaType:t}),setCountType:t=>e({countType:t}),setImageSettings:(t,n,r,i)=>e({selectedRatio:t,selectedResolution:n,width:r,height:i}),setVideoSettings:(t,n,r)=>e({videoDuration:t,videoAspectRatio:n,videoResolution:r}),setEngineOptions:t=>e({engineOptions:t}),setSelectedRatio:t=>e({selectedRatio:t}),setSelectedResolution:t=>e({selectedResolution:t}),setWidth:t=>e({width:t}),setHeight:t=>e({height:t}),setVideoDuration:t=>e({videoDuration:t}),setVideoAspectRatio:t=>e({videoAspectRatio:t}),setVideoResolution:t=>e({videoResolution:t}),setEnginesele:t=>e({enginesele:t}),setInputValue:t=>e({inputValue:t}),setCurrentMedia:t=>e({currentMedia:t}),resetGenerationConfig:()=>e({mediaType:`image`,countType:`请选择`,selectedRatio:`1:1`,selectedResolution:`2K`,width:2048,height:2048,videoDuration:5,videoAspectRatio:`16:9`,videoResolution:`720p`,engineOptions:{ratios:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:[`480p`,`720p`,`1080p`],durations:[5,8,10,12,15]},enginesele:[],inputValue:``,currentMedia:[]})}));function Q7(e){if(!e)return`-`;let t=e.trim();t.includes(`T`)||(t=t.replace(` `,`T`));let n=t.indexOf(`.`);return n>0&&(t=t.slice(0,n)),t=t.replace(/[+-]\d{2}:?\d{0,2}$/,``).replace(/Z$/,``),t.replace(`T`,` `).slice(0,16)}var $7=[`#f97316`,`#3b82f6`,`#8b5cf6`,`#10b981`,`#eab308`,`#6366f1`,`#ef4444`,`#06b6d4`,`#64748b`,`#78716c`],e9={ShoppingCartOutlined:(0,$.jsx)(n5,{}),BookOutlined:(0,$.jsx)(b4,{}),HomeOutlined:(0,$.jsx)(c6,{}),FireOutlined:(0,$.jsx)(V3,{}),RocketOutlined:(0,$.jsx)(V8,{}),SkinOutlined:(0,$.jsx)(d5,{}),CompassOutlined:(0,$.jsx)(m3,{}),HeartOutlined:(0,$.jsx)($3,{}),CarOutlined:(0,$.jsx)(F4,{}),CameraOutlined:(0,$.jsx)(M4,{}),CloudOutlined:(0,$.jsx)(q4,{}),StarOutlined:(0,$.jsx)(x5,{}),TrophyOutlined:(0,$.jsx)(A5,{}),ThunderboltOutlined:(0,$.jsx)(D5,{}),BulbOutlined:(0,$.jsx)(E4,{}),CoffeeOutlined:(0,$.jsx)(c3,{}),CrownOutlined:(0,$.jsx)(b3,{}),DashboardOutlined:(0,$.jsx)(C3,{}),FlagOutlined:(0,$.jsx)(W3,{}),GlobalOutlined:(0,$.jsx)(X3,{}),GiftOutlined:(0,$.jsx)(q3,{}),LaptopOutlined:(0,$.jsx)(_6,{}),MobileOutlined:(0,$.jsx)(X6,{}),MonitorOutlined:(0,$.jsx)($6,{}),PayCircleOutlined:(0,$.jsx)(c8,{}),PictureOutlined:(0,$.jsx)(m8,{}),PlayCircleOutlined:(0,$.jsx)(C8,{}),SafetyOutlined:(0,$.jsx)(W8,{}),ShoppingOutlined:(0,$.jsx)(a5,{}),SmileOutlined:(0,$.jsx)(m5,{}),SoundOutlined:(0,$.jsx)(zne,{}),TagOutlined:(0,$.jsx)(Wne,{}),TeamOutlined:(0,$.jsx)(T5,{}),ToolOutlined:(0,$.jsx)(Jne,{}),TruckOutlined:(0,$.jsx)(Zne,{}),VideoCameraOutlined:(0,$.jsx)(R5,{}),WalletOutlined:(0,$.jsx)(B5,{}),BankOutlined:(0,$.jsx)(d4,{}),BuildOutlined:(0,$.jsx)(C4,{}),ExperimentOutlined:(0,$.jsx)(M3,{}),HighlightOutlined:(0,$.jsx)(n6,{}),IdcardOutlined:(0,$.jsx)(d6,{}),MedicineBoxOutlined:(0,$.jsx)(V6,{}),ReadOutlined:(0,$.jsx)(k8,{}),RestOutlined:(0,$.jsx)(M8,{}),SketchOutlined:(0,$.jsx)(c5,{}),SolutionOutlined:(0,$.jsx)(_5,{})},Zie=()=>{let[e,t]=(0,S.useState)(!1),[n]=jU.useForm(),r=Ye(),{projects:i,fetchProjects:a,createProject:o,deleteProject:s}=Z7(),[c,l]=(0,S.useState)([]);(0,S.useEffect)(()=>{a(),_7().then(l).catch(()=>{})},[]);let u=Object.fromEntries(c.map((e,t)=>[e.key,{label:e.label,color:$7[t%$7.length],icon:e.icon||`AppstoreOutlined`}]));return(0,$.jsxs)(`div`,{style:{margin:`-24px -32px -32px`,borderRadius:20,height:`calc(100vh - 34px)`,padding:`24px`},children:[(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:24,padding:`16px 24px`,borderRadius:16,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,border:`1px solid rgba(99, 102, 241, 0.08)`,position:`relative`,overflow:`hidden`,flexWrap:`wrap`,gap:12},children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`h2`,{style:{margin:0,fontSize:18,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`我的项目`}),(0,$.jsxs)(`p`,{style:{fontSize:13,color:`#64748b`,margin:`4px 0 0 0`},children:[`共 `,i.length,` 个项目 · 按行业分类管理`]})]})}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,$.jsx)(X,{icon:(0,$.jsx)(HH,{}),onClick:()=>r(`/records`),size:`large`,style:{background:`rgba(99, 102, 241, 0.1)`,border:`1px solid rgba(99, 102, 241, 0.2)`,color:`#6366f1`,fontWeight:600,borderRadius:10,height:42},children:`项目记录`}),(0,$.jsx)(X,{icon:(0,$.jsx)(NL,{}),onClick:()=>t(!0),size:`large`,style:{background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,color:`#fff`,fontWeight:600,borderRadius:10,height:42,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.35)`},children:`新建项目`})]})]}),i.length===0?(0,$.jsx)(gC,{image:gC.PRESENTED_IMAGE_SIMPLE,description:`还没有项目,创建您的第一个视频项目`,style:{padding:`60px 0`},children:(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(NL,{}),onClick:()=>t(!0),size:`large`,children:`创建第一个项目`})}):(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:12},className:`stagger-children`,children:i.map((e,t)=>(0,$.jsxs)(`div`,{className:`project-card project-item animate-slideInCard`,onClick:()=>r(`/projects/${e.id}/generate`),style:{display:`flex`,alignItems:`center`,padding:`18px 22px`,borderRadius:16,background:`#fff`,border:`1px solid #f0f0f5`,cursor:`pointer`,animationDelay:`${t*.06}s`},children:[(0,$.jsx)(`div`,{style:{width:50,height:50,borderRadius:14,flexShrink:0,background:`${u[e.industry]?.color||`#64748b`}12`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:24,marginRight:16,color:u[e.industry]?.color||`#64748b`},children:e9[u[e.industry]?.icon]||(0,$.jsx)(W2,{})}),(0,$.jsxs)(`div`,{style:{flex:1,minWidth:0},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:4,flexWrap:`wrap`},children:[(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:15,color:`#1a1a2e`},children:e.name}),(0,$.jsx)(E$,{color:u[e.industry]?.color||`#64748b`,style:{borderRadius:6,margin:0},children:u[e.industry]?.label||e.industry})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:4},children:[(0,$.jsx)(FV,{style:{fontSize:12,color:`#94a3b8`}}),(0,$.jsxs)(`span`,{className:`date-display`,translate:`no`,style:{fontSize:12,color:`#94a3b8`},children:[`创建于 `,Q7(e.createdAt)]})]})]}),(0,$.jsxs)(`div`,{className:`project-actions`,style:{display:`flex`,alignItems:`center`,gap:8,marginLeft:16},children:[(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(C8,{}),onClick:t=>{t.stopPropagation(),r(`/projects/${e.id}/generate`)},style:{background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,border:`none`,borderRadius:10,fontWeight:600,height:36,boxShadow:`0 4px 12px rgba(99,102,241,0.25)`},children:`生成`}),(0,$.jsx)(JK,{title:`确定删除该项目?`,description:`项目下的生成记录将一并删除`,onConfirm:async t=>{t?.stopPropagation(),await s(e.id),Z.success(`项目已删除`)},onCancel:e=>e?.stopPropagation(),children:(0,$.jsx)(X,{danger:!0,icon:(0,$.jsx)(B$,{}),onClick:e=>e.stopPropagation(),style:{borderRadius:10,height:36,background:`rgba(239,68,68,0.06)`,border:`1px solid rgba(239,68,68,0.15)`,color:`#ef4444`}})}),(0,$.jsx)(Vg,{className:`mobile-hide`,style:{color:`#cbd5e1`,fontSize:12}})]})]},e.id))}),(0,$.jsx)(WK,{title:(0,$.jsxs)(LH,{children:[(0,$.jsx)(W2,{}),`新建项目`]}),open:e,onOk:async()=>{try{let e=await n.validateFields(),i=await o(e.name,e.industry);Z.success(`项目创建成功`),t(!1),n.resetFields(),r(`/projects/${i.id}/generate`)}catch{}},onCancel:()=>{t(!1),n.resetFields()},okText:`创建`,cancelText:`取消`,width:480,children:(0,$.jsxs)(jU,{form:n,layout:`vertical`,style:{marginTop:20},children:[(0,$.jsx)(jU.Item,{name:`name`,label:`项目名称`,rules:[{required:!0,message:`请输入项目名称`}],children:(0,$.jsx)(fG,{placeholder:`例如:618电商大促宣传片`,prefix:(0,$.jsx)(SZ,{}),size:`large`})}),(0,$.jsx)(jU.Item,{name:`industry`,label:`所属行业`,rules:[{required:!0,message:`请选择行业`}],children:(0,$.jsx)(KC,{placeholder:`选择项目所属行业`,size:`large`,children:c.map((e,t)=>(0,$.jsx)(KC.Option,{value:e.key,children:(0,$.jsxs)(LH,{children:[e9[e.icon]||(0,$.jsx)(W2,{}),` `,e.label]})},e.key))})})]})})]})};function Qie(){if(typeof crypto<`u`&&typeof crypto.randomUUID==`function`)return crypto.randomUUID();if(typeof crypto<`u`&&typeof crypto.getRandomValues==`function`){let e=crypto.getRandomValues(new Uint8Array(16));e[6]=e[6]&15|64,e[8]=e[8]&63|128;let t=Array.from(e).map(e=>e.toString(16).padStart(2,`0`)).join(``);return`${t.slice(0,8)}-${t.slice(8,12)}-${t.slice(12,16)}-${t.slice(16,20)}-${t.slice(20)}`}return`${Date.now().toString(16).padStart(12,`0`)}-${Math.random().toString(16).slice(2,10).padStart(8,`0`)}-4xxx-yxxx-${Math.random().toString(16).slice(2,12)}`.replace(/[xy]/g,e=>{let t=Math.random()*16|0;return(e===`x`?t:t&3|8).toString(16)})}var t9=({src:e,width:t=48,height:n=48})=>{let[r,i]=(0,S.useState)(null),[a,o]=(0,S.useState)(null);return(0,S.useEffect)(()=>{let r=document.createElement(`video`);r.muted=!0,r.preload=`metadata`,r.crossOrigin=`anonymous`;let a=()=>{o(r.duration),r.currentTime=Math.min(1,r.duration*.1)},s=()=>{try{let e=document.createElement(`canvas`);e.width=t*2,e.height=n*2;let a=e.getContext(`2d`);a&&(a.drawImage(r,0,0,e.width,e.height),i(e.toDataURL(`image/jpeg`,.7)))}catch{}};return r.addEventListener(`loadedmetadata`,a),r.addEventListener(`seeked`,s),r.src=e,()=>{r.removeEventListener(`loadedmetadata`,a),r.removeEventListener(`seeked`,s)}},[e,t,n]),(0,$.jsxs)(`div`,{style:{width:`100%`,height:`100%`,position:`relative`,background:`#1a1a2e`},children:[r?(0,$.jsx)(`img`,{src:r,style:{width:`100%`,height:`100%`,objectFit:`cover`,display:`block`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(C8,{style:{color:`#fff`,fontSize:18}})}),a!=null&&(0,$.jsx)(`span`,{style:{position:`absolute`,bottom:2,right:2,fontSize:9,color:`#fff`,background:`rgba(0,0,0,0.6)`,borderRadius:4,padding:`1px 4px`,lineHeight:1.3},children:(e=>`${Math.round(e)}s`)(a)})]})},$ie=()=>{let{projectId:e}=$e(),t=Ye(),[n]=jU.useForm(),{projects:r,records:i,fetchProjects:a,fetchRecords:o,optimizePrompt:s,generateVideo:c}=Z7(),l=i.items,{user:u}=G7(),[d,f]=(0,S.useState)(!1),[p,m]=(0,S.useState)(!1),[h,g]=(0,S.useState)(null),[_,v]=(0,S.useState)(``),[y,b]=(0,S.useState)(!1),[x,C]=(0,S.useState)({}),[w,T]=(0,S.useState)({}),[E,D]=(0,S.useState)({}),[O,k]=(0,S.useState)(null),[A,j]=(0,S.useState)(null),[M,N]=(0,S.useState)([]),[P,F]=(0,S.useState)(!1),[I,L]=(0,S.useState)(``),[R,z]=(0,S.useState)(!1),[B,V]=(0,S.useState)(``),H=(0,S.useRef)(null),[U,W]=(0,S.useState)({}),[ee,te]=(0,S.useState)({}),[ne,re]=(0,S.useState)({}),[G,ie]=(0,S.useState)(null),[K,ae]=(0,S.useState)({}),[q,oe]=(0,S.useState)(null),[se,ce]=(0,S.useState)(5),[le,ue]=(0,S.useState)(`16:9`),[de,fe]=(0,S.useState)(`720p`),[pe,me]=(0,S.useState)(null),[he,ge]=(0,S.useState)({ratios:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:[`720p`,`1080p`],durations:[5,8,10,12,15]}),[_e,ve]=(0,S.useState)(0),[ye,be]=(0,S.useState)(0),[xe,Se]=(0,S.useState)(`video`),[Ce,we]=(0,S.useState)(`1:1`),[Te,Ee]=(0,S.useState)(`2K`),[De,Oe]=(0,S.useState)(2048),[ke,Ae]=(0,S.useState)(2048),[je,Me]=(0,S.useState)(!1),[Ne,Pe]=(0,S.useState)([]),[Fe,Ie]=(0,S.useState)([]);(0,S.useEffect)(()=>{if(Ire().then(e=>{Pe(e.video),Ie(e.image)}),!je)return;let e=e=>{let t=e.target;!t.closest(`.image-settings-popover`)&&!t.closest(`.image-settings-trigger`)&&Me(!1)};return document.addEventListener(`click`,e),()=>document.removeEventListener(`click`,e)},[je]);let Le=(e,t)=>{for(let n=0;n{let t=e===`2k`?`2048`:e===`4k`?`4096`:e;for(let e=0;e{Je(e)},Be=e=>{Ze(parseInt(e))},[Ve,He]=(0,S.useState)([]),[Ue,We]=(0,S.useState)([]),[Ge,Ke]=(0,S.useState)([]),[qe,Je]=(0,S.useState)(0),[Xe,Ze]=(0,S.useState)(0);(0,S.useEffect)(()=>{Ge[Xe]&&Ge[Xe][qe]!==void 0&&(Oe(Ge[Xe][qe].substring(0,4)),Ae(Ge[Xe][qe].substring(5)))},[qe]),(0,S.useEffect)(()=>{Ge[Xe]&&Ge[Xe][qe]!==void 0&&(Oe(Ge[Xe][qe].substring(0,4)),Ae(Ge[Xe][qe].substring(5)))},[Xe]);let Qe=()=>{Oe(ke),Ae(De)},et=e=>{Se(e.target.value===`image`?`image`:`video`)};(0,S.useEffect)(()=>{_7().then(e=>{W(Object.fromEntries(e.map(e=>[e.key,e.label]))),te(Object.fromEntries(e.map(e=>[e.key,e.optionGroups||[]])))}).catch(()=>{}),Are().then(e=>{let t=e.items?.[0]?.supportedSizes||{},n=[],r=[],i=[];for(let e in t[`2K`])n.push(e),r.push(t[`2K`][e]);n.forEach((e,t)=>{He(n=>[...n,{value:e,label:String(t)}])});for(let e in t[`4K`])i.push(t[`4K`][e]);Ke([r,i]);let a=[];for(let e in t)a.push(e);a.forEach((e,t)=>{We(n=>[...n,{value:e,label:String(t)}])})}).catch(()=>{}),kre().then(e=>{if(e.items?.length){let t=e.items[0];ge({ratios:t.supportedRatios?.length?t.supportedRatios:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:t.supportedResolutions?.length?t.supportedResolutions:[`720p`,`1080p`],durations:t.supportedDurations?.length?t.supportedDurations:[5,8,10,12,15]})}}).catch(()=>{})},[]),(0,S.useEffect)(()=>{a(),o({projectId:e,page:1,pageSize:100})},[e,a,o]);let tt=(0,S.useRef)(!1);(0,S.useEffect)(()=>{tt.current||l.length===0||(tt.current=!0,l.forEach(t=>{t.projectId===e&&t.status===`generating`&&(T(e=>({...e,[t.id]:`generating`})),Ot(t.id)),t.projectId===e&&t.status===`optimizing`&<(t.id)}))},[l,e]);let nt=(0,S.useRef)(new Set),rt=(0,S.useRef)(null),it=(0,S.useRef)(null),at=e=>{nt.current.add(e),ct()},ot=e=>{nt.current.delete(e),nt.current.size===0&&st()},st=()=>{rt.current&&=(clearInterval(rt.current),null),it.current&&=(it.current.abort(),null)},ct=()=>{rt.current||=setInterval(async()=>{try{it.current&&it.current.abort();let t=new AbortController;it.current=t;let n=await s7({projectId:e,page:1,pageSize:100,signal:t.signal});it.current=null;let r=Array.from(nt.current),i=[];if(r.length>0){let e=Z7.getState().records,t=e.items.map(e=>{if(r.includes(e.id)){let t=n.items.find(t=>t.id===e.id);if(t)return t.status!==`optimizing`&&i.push(e.id),t}return e});Z7.setState({records:{...e,items:t}}),i.forEach(e=>{ot(e)})}}catch(e){e.name}},3e3)},lt=e=>{at(e)},ut=(0,S.useRef)(!1),dt=(0,S.useRef)(null);(0,S.useEffect)(()=>{if(ut.current||l.length===0)return;let t=localStorage.getItem(`pending_optimize`);if(t)try{let{key:n,projectId:r,prompt:i,duration:a,ts:o}=JSON.parse(t);if(Date.now()-o>300*1e3||r!==e){localStorage.removeItem(`pending_optimize`);return}if(dt.current===n)return;let s=l.find(e=>e.projectId===r&&e.originalPrompt===i&&e.duration===a&&e.status===`prompt_optimized`&&new Date(e.createdAt).getTime()>o-1e4);s?(ut.current=!0,localStorage.removeItem(`pending_optimize`),g(s),v(s.optimizedPrompt||``),ve(s.textCreditsCost),be(s.textTokensUsed),m(!0),Z.success({content:`优化请求已恢复,消耗 ${s.textCreditsCost} 积分`,key:`recovery`})):Date.now()-o>3e4&&localStorage.removeItem(`pending_optimize`)}catch{localStorage.removeItem(`pending_optimize`)}},[l,e]);let ft=r.find(t=>t.id===e),pt=l.filter(t=>t.projectId===e),mt=ft?.name??`项目`,ht=ft&&ee[ft.industry]||[],gt=u?.credits??0,_t=e=>{let t=e===`2k`?`2048`:e===`4k`?`4096`:e;for(let e=0;e=vt,bt=async()=>{try{if(!e){Z.error(`项目ID为空,请先选择项目`);return}let t=await n.validateFields();if(!t.prompt||!t.prompt.trim()){Z.error(`请输入视频/图片描述`);return}f(!0);let r=Object.entries(ne).map(([e,t])=>`@${e}:${t}`),i=r.length>0?`${t.prompt}\n\n${r.join(`;`)}`:t.prompt,a=Qie();localStorage.setItem(`pending_optimize`,JSON.stringify({key:a,projectId:e,prompt:i,duration:se,ts:Date.now()})),dt.current=a;let o=await s(e,{prompt:i,duration:se,genType:xe,resolution:Te,references:M.length>0?M:void 0,idempotencyKey:a,image_size:Te,image_proportion:Ce,image_px:De+`x`+ke});localStorage.removeItem(`pending_optimize`),dt.current=null,g(o.record),v(o.record.optimizedPrompt||``),ve(o.textCreditsCost),be(o.textTokensUsed),m(!0),Z.success({content:`「${mt}」提示词优化完成,消耗 ${o.textCreditsCost} 积分`,key:`optimize`})}catch(e){let t=e?.response?.data?.message||e?.message||`操作失败,请稍后重试`;Z.error(t)}finally{f(!1),localStorage.removeItem(`pending_optimize`),dt.current=null}},xt=(0,S.useRef)(new Set),St=(0,S.useRef)(null),Ct=(0,S.useRef)(null),wt=e=>{xt.current.add(e),Dt()},Tt=e=>{xt.current.delete(e),xt.current.size===0&&Et()},Et=()=>{St.current&&=(clearInterval(St.current),null),Ct.current&&=(Ct.current.abort(),null)},Dt=()=>{St.current||=setInterval(async()=>{try{Ct.current&&Ct.current.abort();let t=new AbortController;Ct.current=t;let n=await s7({projectId:e,page:1,pageSize:100,signal:t.signal});Ct.current=null;let r=Array.from(xt.current),i=[];if(r.length>0){let e=Z7.getState().records,t=e.items.map(e=>{if(r.includes(e.id)){let t=n.items.find(t=>t.id===e.id);if(t)return t.status!==`generating`&&i.push(e.id),t}return e});Z7.setState({records:{...e,items:t}}),i.forEach(e=>{let t=n.items.find(t=>t.id===e);Tt(e),t?.status===`completed`?(T(t=>({...t,[e]:`done`})),g(n=>n?.id===e?t:n),Z.success({content:`「${mt}」视频生成完成!`,key:e,duration:5})):t?.status===`failed`&&(T(t=>({...t,[e]:`failed`})),g(n=>n?.id===e?t:n),Z.error({content:`「${mt}」视频生成失败: ${t.errorMessage||`未知错误`}`,key:e,duration:5}))})}}catch(e){e.name}},5e3)},Ot=e=>{wt(e)};(0,S.useEffect)(()=>()=>{Et(),st()},[]);let kt=async e=>{if(!yt){Z.error(`积分不足,请先充值`);return}C(t=>({...t,[e]:!0})),T(t=>({...t,[e]:`generating`})),Z.loading({content:`「${mt}」正在提交视频生成...`,duration:0,key:e});try{(await c(e,{aspectRatio:le,resolution:de})).status===`failed`?(T(t=>({...t,[e]:`failed`})),Z.error({content:`「${mt}」提交失败`,key:e,duration:3})):(Z.success({content:`「${mt}」已提交,正在生成中...`,key:e,duration:3}),Ot(e))}catch(t){T(t=>({...t,[e]:`failed`}));let n=`提交失败`;t?.response?.data?.detail?n=t.response.data.detail:t?.data?.detail?n=t.data.detail:t?.detail?n=t.detail:t?.message&&(n=t.message),Z.error({content:`${n}`,key:e,duration:3})}finally{C(t=>({...t,[e]:!1}))}},At=async e=>{let t=pt.find(t=>t.id===e);if(t){C(t=>({...t,[e]:!0})),T(t=>({...t,[e]:`generating`})),Z.loading({content:`「${mt}」正在重新提交...`,duration:0,key:e});try{let n=E[e];n&&n!==t.optimizedPrompt&&await Dre(e,n),(await c(e,{aspectRatio:t.aspectRatio||`16:9`,resolution:t.resolution||`720p`})).status===`failed`?(T(t=>({...t,[e]:`failed`})),Z.error({content:`「${mt}」提交失败`,key:e,duration:3})):(Z.success({content:`「${mt}」已提交,正在生成中...`,key:e,duration:3}),Ot(e))}catch(t){T(t=>({...t,[e]:`failed`}));let n=`提交失败`;t?.response?.data?.detail?n=t.response.data.detail:t?.data?.detail?n=t.data.detail:t?.detail?n=t.detail:t?.message&&(n=t.message),Z.error({content:`${n}`,key:e,duration:3})}finally{C(t=>({...t,[e]:!1}))}}},jt=e=>{let t=w[e.id];return t===`generating`?`generating`:t===`done`?`completed`:t===`failed`?`failed`:e.status},Mt={optimizing:{color:`processing`,text:`优化中`,icon:(0,$.jsx)(Xm,{style:{animation:`spinSlow 1s linear infinite`}})},prompt_optimized:{color:`processing`,text:`待生成`,icon:(0,$.jsx)(RV,{})},generating:{color:`warning`,text:`生成中`,icon:(0,$.jsx)(Xm,{style:{animation:`spinSlow 1s linear infinite`}})},completed:{color:`success`,text:`已完成`,icon:(0,$.jsx)(V4,{})},failed:{color:`error`,text:`失败`,icon:(0,$.jsx)(W4,{})}},Nt=({label:e,value:t,options:n,suffix:r,expanded:i,onToggle:a,onSelect:o,onClose:s})=>{let c=(0,S.useRef)(null),l=(0,S.useRef)(null),u=(0,S.useRef)(i),[d,f]=(0,S.useState)(null);return u.current=i,(0,S.useEffect)(()=>{if(i&&c.current){let e=c.current.getBoundingClientRect();f({bottom:window.innerHeight-e.top+4,left:e.left,width:Math.max(e.width,100)})}else f(null)},[i]),(0,S.useEffect)(()=>{if(!i)return;let e=e=>{c.current?.contains(e.target)||l.current?.contains(e.target)||u.current&&s()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[i,s]),(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{ref:c,onClick:a,translate:`no`,style:{display:`flex`,alignItems:`center`,gap:6,padding:`5px 12px`,borderRadius:8,cursor:`pointer`,userSelect:`none`,transition:`background 0.2s, border-color 0.2s`,background:i?`rgba(99,102,241,0.08)`:`#f8f9fc`,border:i?`1px solid #6366f1`:`1px solid #e2e8f0`,minWidth:70,whiteSpace:`nowrap`,flexShrink:0},children:[(0,$.jsxs)(`span`,{style:{fontSize:12,color:`#6366f1`,fontWeight:500,lineHeight:`18px`},children:[t,r]}),(0,$.jsx)(TQ,{style:{fontSize:9,color:`#94a3b8`,transition:`transform 0.2s`,transform:i?`rotate(180deg)`:`rotate(0deg)`}})]}),d&&(0,Vi.createPortal)((0,$.jsxs)(`div`,{ref:l,style:{position:`fixed`,bottom:d.bottom,left:d.left,minWidth:d.width,background:`#fff`,borderRadius:12,padding:6,zIndex:99999,boxShadow:`0 8px 30px rgba(0,0,0,0.12)`,border:`1px solid #e2e8f0`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:10,color:`#94a3b8`,display:`block`,padding:`2px 6px 4px`},children:e}),(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:2},children:n.map((e,n)=>{let r=t===e;return(0,$.jsx)(`div`,{onClick:()=>{o(e),s()},style:{padding:`6px 10px`,borderRadius:8,fontSize:13,cursor:`pointer`,transition:`all 0.15s`,background:r?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`transparent`,color:r?`#fff`:`#1a1a2e`,fontWeight:r?600:400},onMouseEnter:e=>{r||(e.currentTarget.style.background=`#f1f5f9`)},onMouseLeave:e=>{r||(e.currentTarget.style.background=`transparent`)},children:e},n)})})]}),document.body)]})},Pt=({group:e,selected:t,expanded:n,onToggle:r,onSelect:i,onClose:a})=>{let o=(0,S.useRef)(null),s=(0,S.useRef)(null),c=(0,S.useRef)(n),[l,u]=(0,S.useState)(null);return c.current=n,(0,S.useEffect)(()=>{if(n&&o.current){let e=o.current.getBoundingClientRect();u({bottom:window.innerHeight-e.top+4,left:e.left})}else u(null)},[n]),(0,S.useEffect)(()=>{if(!n)return;let e=e=>{o.current?.contains(e.target)||s.current?.contains(e.target)||c.current&&a()};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[n,a]),(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{ref:o,onClick:r,style:{display:`flex`,alignItems:`center`,gap:6,padding:`5px 12px`,borderRadius:8,cursor:`pointer`,userSelect:`none`,transition:`all 0.2s`,background:t?`rgba(99,102,241,0.08)`:`#f8f9fc`,border:n?`1px solid #6366f1`:`1px solid #e2e8f0`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:t?`#6366f1`:`#64748b`,fontWeight:t?600:400},children:t||e.name}),(0,$.jsx)(TQ,{style:{fontSize:9,color:t?`#6366f1`:`#94a3b8`,transition:`transform 0.2s`,transform:n?`rotate(180deg)`:`rotate(0deg)`}})]}),l&&(0,Vi.createPortal)((0,$.jsxs)(`div`,{ref:s,style:{position:`fixed`,bottom:l.bottom,left:l.left,background:`#fff`,borderRadius:12,padding:8,minWidth:160,zIndex:99999,boxShadow:`0 8px 30px rgba(0,0,0,0.12)`,border:`1px solid #e2e8f0`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:10,color:`#94a3b8`,display:`block`,padding:`2px 6px 4px`},children:e.name}),(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:2},children:e.options.map((e,n)=>{let r=t===e;return(0,$.jsx)(`div`,{onClick:()=>{i(e),a()},style:{padding:`6px 10px`,borderRadius:8,fontSize:13,cursor:`pointer`,transition:`all 0.15s`,background:r?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`transparent`,color:r?`#fff`:`#1a1a2e`,fontWeight:r?600:400},onMouseEnter:e=>{r||(e.currentTarget.style.background=`#f1f5f9`)},onMouseLeave:e=>{r||(e.currentTarget.style.background=`transparent`)},children:e},n)})})]}),document.body)]})};return(0,$.jsxs)(`div`,{style:{margin:`-24px -32px -32px`,borderRadius:20,height:`calc(100vh - 34px)`,padding:`24px`,background:`#fff`,overflowY:`auto`},children:[(0,$.jsxs)(`div`,{className:`gen-header animate-fadeInUp`,style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:24,padding:`16px 24px`,borderRadius:16,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,border:`1px solid rgba(99, 102, 241, 0.08)`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:[(0,$.jsx)(X,{icon:(0,$.jsx)(X2,{}),onClick:()=>t(`/projects`),style:{borderRadius:10,fontSize:13,height:32,background:`rgba(99, 102, 241, 0.1)`,border:`1px solid rgba(99, 102, 241, 0.2)`,color:`#6366f1`},children:`返回`}),(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #6366f1, #8b5cf6, transparent)`,borderRadius:1}}),(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:[(0,$.jsx)(Q.Title,{level:4,style:{margin:0,fontSize:16,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:mt}),ft&&(0,$.jsx)(E$,{style:{background:`rgba(99, 102, 241, 0.08)`,border:`1px solid rgba(99, 102, 241, 0.15)`,color:`#6366f1`,borderRadius:6},children:U[ft.industry]||ft.industry})]}),(0,$.jsx)(Q.Text,{style:{color:`#64748b`,fontSize:13},children:`描述视频 → AI优化 → 生成视频`})]}),(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #8b5cf6, #6366f1, transparent)`,borderRadius:1}})]}),(0,$.jsxs)(E$,{style:{background:`rgba(99, 102, 241, 0.08)`,border:`1px solid rgba(99, 102, 241, 0.15)`,color:`#6366f1`,borderRadius:20,fontSize:13,padding:`4px 14px`},children:[`剩余 `,gt,` 积分`]})]}),!p&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{className:`animate-fadeInUp`,style:{marginBottom:24,padding:`16px 20px`,borderRadius:16,background:`#fff`,border:`1px solid #f0f0f5`,boxShadow:`0 2px 12px rgba(0,0,0,0.03)`},children:(0,$.jsxs)(`div`,{style:{width:`100%`,display:`flex`,alignItems:`center`,justifyContent:`flex-start`},children:[(0,$.jsxs)(`div`,{style:{marginRight:70,position:`relative`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:14,fontWeight:500,color:`#475569`,marginRight:16},children:`生成类型:`}),(0,$.jsxs)(sL.Group,{defaultValue:`video`,buttonStyle:`solid`,onChange:et,children:[(0,$.jsxs)(sL.Button,{value:`video`,children:[(0,$.jsx)(R5,{style:{marginRight:6,fontSize:14}}),` `,`视频`]}),(0,$.jsxs)(sL.Button,{value:`image`,style:{zIndex:0},children:[(0,$.jsx)(m8,{style:{marginRight:6,fontSize:14}}),` `,`图片`]})]})]}),xe===`video`&&[{icon:(0,$.jsx)(c1,{}),label:`描述视频+时长`,color:`#6366f1`},{icon:(0,$.jsx)(D5,{}),label:`AI智能优化`,color:`#8b5cf6`},{icon:(0,$.jsx)(V8,{}),label:`选择参数生成`,color:`#10b981`}].map((e,t)=>(0,$.jsxs)(S.Fragment,{children:[t>0&&(0,$.jsx)(`div`,{style:{width:40,height:1,background:`linear-gradient(90deg, #e2e8f0, #cbd5e1, #e2e8f0)`,margin:`0 12px`,flexShrink:0}}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:10,background:`${e.color}12`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`span`,{style:{color:e.color,fontSize:15},children:e.icon})}),(0,$.jsx)(Q.Text,{style:{fontSize:13,fontWeight:500,color:`#1a1a2e`},children:e.label})]})]},t)),xe===`image`&&[{icon:(0,$.jsx)(c1,{}),label:`描述图片+尺寸`,color:`#6366f1`},{icon:(0,$.jsx)(D5,{}),label:`AI智能优化`,color:`#8b5cf6`},{icon:(0,$.jsx)(V8,{}),label:`图片生成`,color:`#10b981`}].map((e,t)=>(0,$.jsxs)(S.Fragment,{children:[t>0&&(0,$.jsx)(`div`,{style:{width:40,height:1,background:`linear-gradient(90deg, #e2e8f0, #cbd5e1, #e2e8f0)`,margin:`0 12px`,flexShrink:0}}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:10,background:`${e.color}12`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`span`,{style:{color:e.color,fontSize:15},children:e.icon})}),(0,$.jsx)(Q.Text,{style:{fontSize:13,fontWeight:500,color:`#1a1a2e`},children:e.label})]})]},t))]})}),(0,$.jsxs)(jU,{form:n,initialValues:{},children:[(0,$.jsx)(jU.Item,{name:`prompt`,noStyle:!0,rules:[{required:!0,message:`请输入视频描述`}],style:{display:`none`}}),(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{borderRadius:20,background:`#fff`,border:`1px solid #f0f0f5`,boxShadow:`0 4px 24px rgba(0,0,0,0.04)`,overflow:`visible`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,padding:`12px 16px 0`,minHeight:60},children:[M.map((e,t)=>(0,$.jsxs)(`div`,{className:`ref-thumb`,style:{position:`relative`,width:48,height:48,borderRadius:12,overflow:`visible`,flexShrink:0},children:[(0,$.jsx)(`div`,{style:{width:48,height:48,borderRadius:12,overflow:`hidden`,border:`1px solid #e2e8f0`,cursor:`pointer`},onClick:()=>{e.type===`video`&&oe(`http://ceshi.apiforeign.minzhong.cn${e.url}`)},children:e.type===`image`?(0,$.jsx)(jW,{src:`http://ceshi.apiforeign.minzhong.cn${e.url}`,style:{width:`100%`,height:`100%`,objectFit:`cover`}}):(0,$.jsx)(t9,{src:`http://ceshi.apiforeign.minzhong.cn${e.url}`})}),(0,$.jsx)(`div`,{className:`ref-delete`,onClick:n=>{n.stopPropagation(),u7(e.url).catch(()=>{}),N(e=>e.filter((e,n)=>n!==t))},style:{position:`absolute`,top:-4,right:-4,width:16,height:16,borderRadius:`50%`,background:`rgba(0,0,0,0.55)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,zIndex:10,opacity:0,transition:`opacity 0.15s`,backdropFilter:`blur(4px)`},children:(0,$.jsx)(W4,{style:{color:`#fff`,fontSize:10}})})]},t)),(0,$.jsx)(Y0,{accept:`image/*,video/*`,showUploadList:!1,multiple:!0,beforeUpload:e=>{let t=e.type.startsWith(`image/`),n=e.type.startsWith(`video/`);if(!t&&!n)return Z.error(`仅支持图片或视频文件`),!1;let r=n?100:10;if(e.size/1024/1024>r)return Z.error(`${n?`视频`:`图片`}大小不能超过${r}MB`),!1;let i=M.filter(e=>e.type===`image`).length,a=M.filter(e=>e.type===`video`).length;return t&&i>=10?(Z.error(`最多上传10张图片`),!1):n&&a>=3?(Z.error(`最多上传3个视频`),!1):(F(!0),(t?c7:l7)(e).then(e=>{let n=t?`图片`:`视频`,r=t?i+1:a+1;N(i=>[...i,{url:e.url,type:t?`image`:`video`,name:`${n}${r}`}]),Z.success(`${n}上传成功`)}).catch(()=>Z.error(`上传失败`)).finally(()=>F(!1)),!1)},children:(0,$.jsx)(Iw,{title:`参考内容(${M.length}/10)`,children:(0,$.jsx)(`div`,{style:{width:48,height:48,borderRadius:12,border:`1.5px dashed #d9d9d9`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,transition:`all 0.2s`,flexShrink:0},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#6366f1`,e.currentTarget.style.background=`rgba(99,102,241,0.04)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`#d9d9d9`,e.currentTarget.style.background=`transparent`},children:P?(0,$.jsx)(Xm,{style:{fontSize:18,color:`#6366f1`}}):(0,$.jsx)(NL,{style:{fontSize:18,color:`#94a3b8`}})})})})]}),(0,$.jsx)(`div`,{style:{padding:`8px 16px 4px`},children:(0,$.jsx)(fG.TextArea,{ref:H,value:I,onChange:e=>{let t=e.target.value;L(t),n.setFieldsValue({prompt:t});let r=t.lastIndexOf(`@`);if(r>=0){let e=t.slice(r+1);if(!e.includes(` `)&&!e.includes(` +`)){z(!0),V(e);return}}z(!1)},rows:3,placeholder:`上传参考素材、输入文字,自由组合图、文多元素。输入 @ 可引用参考内容...`,maxLength:500,bordered:!1,autoSize:{minRows:2,maxRows:6},style:{padding:`6px 2px`,fontSize:15,lineHeight:1.7,resize:`none`,caretColor:`#6366f1`}})}),R&&M.length>0&&(0,$.jsx)(`div`,{style:{margin:`0 16px 8px`,background:`#fff`,borderRadius:10,boxShadow:`0 6px 24px rgba(0,0,0,0.12)`,border:`1px solid #e2e8f0`,padding:6,maxHeight:180,overflowY:`auto`},children:M.filter(e=>!B||e.name.includes(B)).map((e,t)=>(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10,padding:`8px 10px`,borderRadius:8,cursor:`pointer`,transition:`background 0.15s`},onMouseEnter:e=>e.currentTarget.style.background=`#f1f5f9`,onMouseLeave:e=>e.currentTarget.style.background=`transparent`,onMouseDown:t=>{t.preventDefault();let r=H.current?.resizableTextArea?.textArea||H.current?.nativeElement?.querySelector(`textarea`)||H.current;if(!r||!r.value)return;let i=r.value,a=i.lastIndexOf(`@`),o=i.slice(0,a)+`@${e.name} `;L(o),n.setFieldValue(`prompt`,o),z(!1),setTimeout(()=>{r.focus(),r.selectionStart=o.length,r.selectionEnd=o.length},50)},children:[(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,overflow:`hidden`,background:e.type===`image`?`#f1f5f9`:`#1a1a2e`,display:`flex`,alignItems:`center`,justifyContent:`center`,flexShrink:0},children:e.type===`image`?(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${e.url}`,style:{width:`100%`,height:`100%`,objectFit:`cover`}}):(0,$.jsx)(C8,{style:{color:`#fff`,fontSize:14}})}),(0,$.jsx)(Q.Text,{style:{fontSize:13},children:e.name}),(0,$.jsx)(E$,{style:{marginLeft:`auto`,fontSize:11},children:e.type===`image`?`图片`:`视频`})]},t))}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:`8px 12px 12px`,gap:8,flexWrap:`wrap`,position:`relative`,zIndex:50,minHeight:48},children:[xe!==`image`&&(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6,flex:1,flexWrap:`wrap`},children:[(0,$.jsx)(Nt,{label:`时长`,value:`${se}`,options:he.durations.map(e=>`${e}`),suffix:`秒`,expanded:pe===`duration`,onToggle:()=>me(pe===`duration`?null:`duration`),onSelect:e=>ce(parseInt(e)),onClose:()=>me(null)}),ht.map((e,t)=>{let n=G===e.name,r=ne[e.name];return(0,$.jsx)(Pt,{group:e,selected:r,expanded:n,onToggle:()=>ie(n?null:e.name),onSelect:t=>{re(n=>{let r={...n};return r[e.name]===t?delete r[e.name]:r[e.name]=t,r})},onClose:()=>ie(null)},`og-${t}`)})]}),xe==`image`&&(0,$.jsxs)(`div`,{style:{position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>Me(!je),className:`image-settings-trigger`,style:{minWidth:220,padding:`0px 16px`,height:30,borderRadius:10,border:`1px solid #e2e8f0`,backgroundColor:`#f8f9fc`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,gap:12,transition:`all 0.2s`},children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:(0,$.jsxs)(`div`,{style:{textAlign:`left`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:13,fontWeight:600,color:`#374151`,marginRight:10},children:Ce===`auto`?`智能`:Ce}),(0,$.jsxs)(Q.Text,{style:{fontSize:12,color:`#9ca3af`},children:[Te==`2K`?`高清 2K`:`超清 4K`,`| `,De,`×`,ke]})]})}),(0,$.jsx)(TQ,{style:{fontSize:14,color:`#9ca3af`}})]}),je&&(0,$.jsxs)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:0,width:520,backgroundColor:`#fff`,borderRadius:16,boxShadow:`0 10px 40px rgba(0,0,0,0.15)`,padding:20,border:`none`,zIndex:9999},onClick:e=>e.stopPropagation(),children:[(0,$.jsxs)(`div`,{style:{marginBottom:20},children:[(0,$.jsx)(Q.Text,{style:{display:`block`,marginBottom:10,fontSize:13,fontWeight:500,color:`#666666`},children:`选择比例`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:6},children:Ve.map(e=>(0,$.jsxs)(`button`,{onClick:()=>{we(e.value),ze(e.label)},style:{flex:`0 0 calc(11.11% - 5px)`,minWidth:48,height:56,borderRadius:8,border:Ce===e.value?`2px solid #6366f1`:`1px solid #e5e7eb`,backgroundColor:Ce===e.value?`#fff`:`#f9fafb`,cursor:`pointer`,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:[(0,$.jsx)(`div`,{style:{width:(()=>{let[t,n]=e.value===`auto`?[1,1]:e.value.split(`:`).map(Number);return t>=n?20:Math.round(t/n*20)})(),height:(()=>{let[t,n]=e.value===`auto`?[1,1]:e.value.split(`:`).map(Number);return n>=t?20:Math.round(n/t*20)})(),border:`2px solid ${Ce===e.value?`#6366f1`:`#9ca3af`}`,borderRadius:(e.value,3),marginBottom:3,display:`flex`,alignItems:`center`,justifyContent:`center`},children:e.value===`auto`&&(0,$.jsx)(`span`,{style:{fontSize:8,color:Ce===e.value?`#6366f1`:`#9ca3af`},children:`智`})}),(0,$.jsx)(`span`,{style:{fontSize:10,color:Ce===e.value?`#6366f1`:`#6b7280`,fontWeight:Ce===e.value?600:400},children:e.value})]},e.value))})]}),(0,$.jsxs)(`div`,{style:{marginBottom:20},children:[(0,$.jsx)(Q.Text,{style:{display:`block`,marginBottom:10,fontSize:13,fontWeight:500,color:`#666666`},children:`选择分辨率`}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:8},children:Ue.map(e=>(0,$.jsx)(`button`,{onClick:()=>{Ee(e.value),Be(e.label)},style:{flex:1,height:48,borderRadius:8,border:Te===e.value?`2px solid #6366f1`:`1px solid #e5e7eb`,backgroundColor:Te===e.value?`#6366f1`:`#f9fafb`,cursor:`pointer`,display:`flex`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:(0,$.jsxs)(`span`,{style:{fontSize:13,fontWeight:600,color:Te===e.value?`#fff`:`#4b5563`},children:[e.value,e.value===`4k`&&(0,$.jsx)(`span`,{style:{marginLeft:3},children:`✨`})]})},e.value))})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{style:{display:`block`,marginBottom:10,fontSize:13,fontWeight:500,color:`#666666`},children:`尺寸`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,flex:1,maxWidth:140},children:[(0,$.jsx)(`span`,{style:{color:`#9ca3af`,fontSize:12,marginRight:6},children:`W`}),(0,$.jsx)(fG,{value:De,onChange:e=>Oe(Number(e.target.value)||0),style:{flex:1,textAlign:`center`,borderRadius:6,height:40,border:`1px solid #e5e7eb`,backgroundColor:`#f9fafb`,fontSize:14,fontWeight:600,color:`#1f2937`}})]}),(0,$.jsx)(`button`,{onClick:Qe,style:{width:28,height:28,borderRadius:6,border:`1px solid #e5e7eb`,backgroundColor:`#fff`,cursor:`pointer`,display:`flex`,justifyContent:`center`,alignItems:`center`,color:`#6366f1`},children:(0,$.jsx)(gW,{style:{fontSize:12}})}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,flex:1,maxWidth:140},children:[(0,$.jsx)(`span`,{style:{color:`#9ca3af`,fontSize:12,marginRight:6},children:`H`}),(0,$.jsx)(fG,{value:ke,onChange:e=>Ae(Number(e.target.value)||0),style:{flex:1,textAlign:`center`,borderRadius:6,height:40,border:`1px solid #e5e7eb`,backgroundColor:`#f9fafb`,fontSize:14,fontWeight:600,color:`#1f2937`}})]}),(0,$.jsx)(`span`,{style:{color:`#9ca3af`,fontSize:12},children:`PX`})]})]})]})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,flexShrink:0},children:[xe===`image`&&(0,$.jsx)(`span`,{style:{color:`#7c7c7c`,fontSize:14},children:`(请在左侧选择图片比例和尺寸)`}),(0,$.jsx)(X,{type:`primary`,size:`large`,onClick:bt,loading:d,style:{borderRadius:10,fontWeight:600,minWidth:140,height:40,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,boxShadow:`0 4px 16px rgba(99,102,241,0.35)`},children:`AI优化提示词`})]})]})]})]})]}),p&&h&&(0,$.jsxs)(rR,{className:`animate-fadeInUp`,style:{borderRadius:16},styles:{body:{padding:`24px 28px`}},children:[!w[h.id]||w[h.id]===`idle`?(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:14,marginBottom:24,padding:`14px 18px`,borderRadius:12,background:`linear-gradient(135deg, rgba(16,185,129,0.06), rgba(5,150,105,0.06))`,border:`1px solid rgba(16,185,129,0.15)`},children:[(0,$.jsx)(V4,{style:{color:`#10b981`,fontSize:22}}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:15,display:`block`},children:`提示词优化完成`}),(0,$.jsxs)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:[`文本优化消耗 `,_e,` 积分· 您可以编辑提示词后选择参数生成视频`]})]})]}):(0,$.jsxs)(`div`,{style:{marginBottom:24,padding:`16px 18px`,borderRadius:12,display:`flex`,alignItems:`center`,gap:12,background:w[h.id]===`failed`?`rgba(239,68,68,0.04)`:w[h.id]===`done`?`rgba(16,185,129,0.04)`:`rgba(99,102,241,0.04)`,border:`1px solid ${w[h.id]===`failed`?`rgba(239,68,68,0.12)`:w[h.id]===`done`?`rgba(16,185,129,0.12)`:`rgba(99,102,241,0.12)`}`},children:[w[h.id]===`generating`&&(0,$.jsx)(Xm,{style:{color:`#6366f1`,fontSize:18},spin:!0}),w[h.id]===`done`&&(0,$.jsx)(V4,{style:{color:`#10b981`,fontSize:18}}),w[h.id]===`failed`&&(0,$.jsx)(W4,{style:{color:`#ef4444`,fontSize:18}}),(0,$.jsxs)(Q.Text,{strong:!0,style:{fontSize:14,color:w[h.id]===`failed`?`#ef4444`:w[h.id]===`done`?`#10b981`:`#6366f1`},children:[w[h.id]===`generating`&&`${xe===`image`?`图片`:`视频`}生成中,请稍候...`,w[h.id]===`done`&&`${xe===`image`?`图片`:`视频`}生成成功`,w[h.id]===`failed`&&`${xe===`image`?`图片`:`视频`}生成失败,请重试`]})]}),!w[h.id]||w[h.id]===`idle`||w[h.id]===`failed`?(0,$.jsxs)(`div`,{className:`gen-prompt-row`,style:{display:`flex`,gap:20,flexWrap:`wrap`},children:[(0,$.jsxs)(`div`,{style:{flex:`1 1 45%`,minWidth:240},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:8},children:`原始提示词`}),(0,$.jsx)(`div`,{style:{padding:14,borderRadius:12,background:`#f8f9fc`,border:`1px solid #f0f0f5`,minHeight:100},children:(0,$.jsx)(Q.Text,{style:{fontSize:14,color:`#64748b`,lineHeight:1.7},children:h.originalPrompt})})]}),(0,$.jsxs)(`div`,{style:{flex:`1 1 45%`,minWidth:240},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:8},children:[(0,$.jsxs)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:[`优化后的提示词`,` `,!y&&(0,$.jsx)(`span`,{style:{color:`#6366f1`},children:`(可编辑)`})]}),!y&&(0,$.jsxs)(LH,{size:4,children:[(0,$.jsx)(Iw,{title:`复制`,children:(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(j1,{}),onClick:()=>{navigator.clipboard.writeText(_),Z.success(`已复制`)},style:{color:`#94a3b8`}})}),(0,$.jsx)(Iw,{title:`编辑`,children:(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(c1,{}),onClick:()=>b(!0),style:{color:`#6366f1`}})})]})]}),y?(0,$.jsxs)(`div`,{children:[(0,$.jsx)(fG.TextArea,{value:_,onChange:e=>v(e.target.value),rows:5,style:{borderRadius:12,fontSize:14,lineHeight:1.7,border:`1px solid rgba(99,102,241,0.25)`,background:`rgba(99,102,241,0.02)`}}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:8,marginTop:8},children:[(0,$.jsx)(X,{size:`small`,onClick:()=>{v(h.optimizedPrompt||``),b(!1)},children:`取消`}),(0,$.jsx)(X,{size:`small`,type:`primary`,onClick:()=>{b(!1),Z.success(`提示词已更新`)},style:{borderRadius:6,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,border:`none`},children:`保存`})]})]}):(0,$.jsx)(`div`,{style:{padding:14,borderRadius:12,background:`rgba(99,102,241,0.02)`,border:`1px solid rgba(99,102,241,0.1)`,minHeight:100},children:(0,$.jsx)(Q.Text,{style:{fontSize:14,color:`#1a1a2e`,lineHeight:1.7},children:_})})]})]}):(0,$.jsxs)(`div`,{className:`gen-prompt-row`,style:{display:`flex`,gap:24,flexWrap:`wrap`},children:[(0,$.jsxs)(`div`,{style:{flex:`1 1 55%`,minWidth:280},children:[(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:8},children:`原始提示词`}),(0,$.jsx)(`div`,{style:{padding:14,borderRadius:12,background:`#f8f9fc`,border:`1px solid #f0f0f5`,minHeight:80},children:(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#64748b`,lineHeight:1.6},children:h.originalPrompt})})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:8},children:[(0,$.jsxs)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:[`优化后的提示词`,` `,!y&&(0,$.jsx)(`span`,{style:{color:`#6366f1`},children:`(可编辑)`})]}),!y&&(0,$.jsxs)(LH,{size:4,children:[(0,$.jsx)(Iw,{title:`复制`,children:(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(j1,{}),onClick:()=>{navigator.clipboard.writeText(_),Z.success(`已复制`)},style:{color:`#94a3b8`}})}),(0,$.jsx)(Iw,{title:`编辑`,children:(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(c1,{}),onClick:()=>b(!0),style:{color:`#6366f1`}})})]})]}),y?(0,$.jsxs)(`div`,{children:[(0,$.jsx)(fG.TextArea,{value:_,onChange:e=>v(e.target.value),rows:5,style:{borderRadius:12,fontSize:13,lineHeight:1.6,border:`1px solid rgba(99,102,241,0.25)`,background:`rgba(99,102,241,0.02)`}}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:8,marginTop:8},children:[(0,$.jsx)(X,{size:`small`,onClick:()=>{v(h.optimizedPrompt||``),b(!1)},children:`取消`}),(0,$.jsx)(X,{size:`small`,type:`primary`,onClick:()=>{b(!1),Z.success(`提示词已更新`)},style:{borderRadius:6,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,border:`none`},children:`保存`})]})]}):(0,$.jsx)(`div`,{style:{padding:14,borderRadius:12,background:`rgba(99,102,241,0.02)`,border:`1px solid rgba(99,102,241,0.1)`,minHeight:120},children:(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#1a1a2e`,lineHeight:1.6},children:_})})]})]}),(0,$.jsxs)(`div`,{style:{flex:`1 1 40%`,minWidth:280},children:[h.videoUrl&&(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:8},children:`生成视频`}),(0,$.jsx)(`div`,{style:{borderRadius:12,overflow:`hidden`,border:`1px solid #f0f0f5`,background:`#000`},children:(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${h.videoUrl}`,controls:!0,style:{width:`100%`,maxHeight:350,display:`block`}})})]}),h.imageUrl&&(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:8},children:`生成图片`}),(0,$.jsx)(jW,{src:`http://ceshi.apiforeign.minzhong.cn${h.imageUrl}`,style:{width:`100%`,maxHeight:350,objectFit:`contain`,borderRadius:12,border:`1px solid #f0f0f5`},preview:!0})]})]})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginTop:20,padding:`14px 18px`,borderRadius:12,background:`#f8f9fc`,border:`1px solid #f0f0f5`},children:[xe!==`image`&&(0,$.jsxs)(`div`,{style:{marginTop:24,borderRadius:12,background:`#f8f9fc`,width:`25%`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#1a1a2e`,fontWeight:600,display:`block`,marginBottom:12},children:`选择视频参数`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12,flexWrap:`wrap`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6,padding:`5px 12px`,borderRadius:8,background:`#f8f9fc`,border:`1px solid #e2e8f0`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:`时长`}),(0,$.jsxs)(Q.Text,{strong:!0,style:{fontSize:13,color:`#6366f1`},children:[se,`s`]})]}),(0,$.jsx)(Nt,{label:`比例`,value:le,options:he.ratios,expanded:pe===`ratio`,onToggle:()=>me(pe===`ratio`?null:`ratio`),onSelect:e=>ue(e),onClose:()=>me(null)}),(0,$.jsx)(Nt,{label:`分辨率`,value:de,options:he.resolutions,expanded:pe===`resolution`,onToggle:()=>me(pe===`resolution`?null:`resolution`),onSelect:e=>fe(e),onClose:()=>me(null)})]})]}),xe==`image`&&h&&(0,$.jsx)(`div`,{style:{marginTop:24,borderRadius:12,background:`#f8f9fc`,width:`25%`},children:(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-around`},children:[(0,$.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`,marginBottom:4},children:`分辨率`}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#1a1a2e`},children:h.imageSize||`-`})]}),(0,$.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`,marginBottom:4},children:`画面比例`}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#1a1a2e`},children:h.imageProportion||`-`})]}),(0,$.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`,marginBottom:4},children:`画面尺寸`}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#1a1a2e`},children:h.imagePx||`-`})]})]})}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:[(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`文字积分`}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#6366f1`},children:_e})]}),(0,$.jsx)(Q.Text,{style:{color:`#cbd5e1`,fontSize:18},children:`+`}),(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:[`预估`,xe===`image`?`图片`:`视频`,`积分`]}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#10b981`},children:xe===`image`&&h.imageSize?_t(h.imageSize)||vt:Le(se,de)})]}),(0,$.jsx)(Q.Text,{style:{color:`#cbd5e1`,fontSize:18},children:`=`}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`总计`}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16,color:`#1a1a2e`},children:(_e+(xe===`image`?_t(h.imageSize):Le(se,de))).toFixed(2)})]})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,$.jsxs)(X,{size:`large`,onClick:()=>{m(!1),g(null),v(``),L(``),N([]),re({}),ie(null),me(null),n.resetFields()},style:{borderRadius:12,minWidth:120,height:44,fontWeight:500},children:[`配置新`,xe===`image`?`图片`:`视频`]}),(0,$.jsx)(Iw,{title:yt?``:`积分不足`,children:(0,$.jsx)(X,{type:`primary`,size:`large`,icon:(0,$.jsx)(V8,{}),onClick:()=>kt(h.id),loading:w[h.id]===`generating`,disabled:!yt||w[h.id]===`generating`||w[h.id]===`done`,style:{borderRadius:12,minWidth:180,height:44,fontWeight:600,background:w[h.id]===`done`?`#10b981`:yt?`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`:`#d1d5db`,border:`none`,boxShadow:yt?`0 8px 24px rgba(99,102,241,0.3)`:`none`},children:w[h.id]===`done`?`生成完成`:w[h.id]===`generating`?`生成中...`:`生成${xe===`image`?`图片`:`视频`} (${xe===`image`?_t(h.imageSize):Le(se,de)}积分)`})})]})]}),h.references&&h.references.length>0&&(0,$.jsxs)(`div`,{style:{marginTop:16},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:8},children:`参考内容`}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:8,flexWrap:`wrap`},children:h.references.map((e,t)=>(0,$.jsxs)(`div`,{style:{width:64,height:64,borderRadius:10,overflow:`hidden`,border:`1px solid #e2e8f0`,position:`relative`,cursor:`pointer`},onClick:()=>{e.type===`video`&&oe(`http://ceshi.apiforeign.minzhong.cn${e.url}`)},children:[e.type===`image`?(0,$.jsx)(jW,{src:`http://ceshi.apiforeign.minzhong.cn${e.url}`,style:{width:`100%`,height:`100%`,objectFit:`cover`},preview:!0}):(0,$.jsx)(t9,{src:`http://ceshi.apiforeign.minzhong.cn${e.url}`,width:64,height:64}),(0,$.jsx)(E$,{style:{position:`absolute`,bottom:0,left:0,right:0,margin:0,fontSize:9,textAlign:`center`,borderRadius:`0 0 8px 8px`,background:`rgba(0,0,0,0.5)`,border:`none`,color:`#fff`,padding:`0 2px`},children:e.name})]},t))})]})]}),pt.length>0&&(0,$.jsxs)(`div`,{style:{marginTop:24},children:[(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:15,display:`block`,marginBottom:12},children:`本项目生成记录`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8,background:`#fff`,borderRadius:12,padding:8,border:`1px solid #f0f0f5`},className:`stagger-children`,children:pt.map((e,t)=>{let n=jt(e),r=E[e.id]??(e.optimizedPrompt||e.originalPrompt),i=A===e.id,a=e.genType||`image`;return(0,$.jsxs)(`div`,{className:`animate-slideInCard`,style:{animationDelay:`${t*.05}s`},children:[(0,$.jsxs)(`div`,{className:`record-item`,onClick:()=>j(i?null:e.id),style:{padding:`12px 16px`,borderRadius:i?`8px 8px 0 0`:8,background:`#fafafa`,cursor:`pointer`,transition:`all 0.2s`,display:`flex`,alignItems:`center`,gap:10},children:[(0,$.jsx)(`div`,{style:{width:28,height:28,borderRadius:8,display:`flex`,alignItems:`center`,justifyContent:`center`,flexShrink:0,background:a===`image`?`#fef3c7`:`#dbeafe`},children:a===`image`?(0,$.jsx)(m8,{style:{color:`#d97706`,fontSize:12}}):(0,$.jsx)(R5,{style:{color:`#2563eb`,fontSize:12}})}),i?(0,$.jsx)(TQ,{style:{color:`#6366f1`,fontSize:11,flexShrink:0}}):(0,$.jsx)(R4,{style:{color:`#cbd5e1`,fontSize:11,flexShrink:0}}),(0,$.jsx)(E$,{color:Mt[n]?.color,icon:Mt[n]?.icon,style:{margin:0},children:Mt[n]?.text}),(0,$.jsx)(Q.Text,{style:{flex:1,fontSize:13,color:`#475569`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:r}),n===`prompt_optimized`&&(0,$.jsx)(E$,{color:`processing`,style:{padding:`3px 10px`,fontSize:12,margin:0,flexShrink:0},children:`待配置`}),a===`image`?(0,$.jsxs)(`span`,{className:`mobile-meta`,translate:`no`,style:{fontSize:12,color:`#94a3b8`,flexShrink:0},children:[e.duration?`${e.imageSize}`:`-`,` ·`,` `,e.imageProportion||`-`,` ·`,` `,e.imagePx||`-`,` ·`,` `,(0,$.jsx)(`span`,{className:`date-display`,translate:`no`,children:Q7(e.createdAt)})]}):(0,$.jsxs)(`span`,{className:`mobile-meta`,translate:`no`,style:{fontSize:12,color:`#94a3b8`,flexShrink:0},children:[e.duration?`${e.duration}秒`:`-`,` ·`,` `,e.aspectRatio||`-`,` · `,e.resolution||`-`,` `,`·`,` `,(0,$.jsx)(`span`,{className:`date-display`,translate:`no`,children:Q7(e.createdAt)})]}),(0,$.jsx)(`div`,{className:`record-actions`,onClick:e=>e.stopPropagation(),children:(0,$.jsx)(LH,{children:n===`failed`&&(0,$.jsx)(X,{type:`primary`,danger:!0,size:`small`,icon:(0,$.jsx)(C8,{}),loading:x[e.id],onClick:()=>At(e.id),style:{borderRadius:8},children:`重试`})})})]}),i&&(0,$.jsx)(`div`,{style:{background:`#fff`,borderRadius:`0 0 8px 8px`,padding:`18px 20px`,animation:`fadeInUp 0.25s ease both`},children:(0,$.jsxs)(`div`,{className:`gen-detail-row`,style:{display:`flex`,gap:20,flexWrap:`wrap`},children:[(0,$.jsxs)(`div`,{style:{flex:`1 1 50%`,minWidth:260},children:[(0,$.jsxs)(`div`,{style:{marginBottom:14},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:6},children:`原始提示词`}),(0,$.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`,border:`1px solid #f0f0f5`},children:(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#64748b`,lineHeight:1.7},children:e.originalPrompt})})]}),(0,$.jsxs)(`div`,{style:{marginBottom:14},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:6},children:[(0,$.jsxs)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:[`优化后的提示词`,` `,(n===`prompt_optimized`||n===`failed`)&&O!==e.id&&(0,$.jsx)(`span`,{style:{color:`#6366f1`},children:`(可编辑)`})]}),O!==e.id&&(0,$.jsxs)(LH,{size:4,children:[(0,$.jsx)(Iw,{title:`复制`,children:(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(j1,{}),onClick:()=>{navigator.clipboard.writeText(r),Z.success(`已复制`)},style:{color:`#94a3b8`}})}),(n===`prompt_optimized`||n===`failed`)&&(0,$.jsx)(Iw,{title:`编辑`,children:(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(c1,{}),onClick:()=>{k(e.id),D(t=>({...t,[e.id]:t[e.id]??e.optimizedPrompt??``}))},style:{color:`#6366f1`}})})]})]}),O===e.id?(0,$.jsxs)(`div`,{children:[(0,$.jsx)(fG.TextArea,{value:r,onChange:t=>D(n=>({...n,[e.id]:t.target.value})),rows:4,style:{borderRadius:10,fontSize:13,lineHeight:1.7,border:`1px solid rgba(99,102,241,0.25)`,background:`rgba(99,102,241,0.02)`}}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:8,marginTop:8},children:[(0,$.jsx)(X,{size:`small`,onClick:()=>k(null),children:`取消`}),(0,$.jsx)(X,{size:`small`,type:`primary`,onClick:()=>{D(t=>({...t,[e.id]:r})),k(null),Z.success(`提示词已更新`)},style:{borderRadius:6,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,border:`none`},children:`保存`})]})]}):(0,$.jsx)(`div`,{style:{padding:12,borderRadius:10,background:n===`prompt_optimized`?`rgba(99,102,241,0.02)`:`#f8f9fc`,border:n===`prompt_optimized`?`1px solid rgba(99,102,241,0.1)`:`1px solid #f0f0f5`},children:(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#1a1a2e`,lineHeight:1.7},children:r})})]}),a===`image`?(0,$.jsx)(`div`,{style:{display:`flex`,gap:14,padding:`10px 14px`,borderRadius:10,background:`#f8f9fc`},children:[{label:`文字积分`,value:`${e.textCreditsCost||0}`},{label:`图片积分`,value:`${e.creditsCost||0}`},{label:`分辨率`,value:e.imageSize?`${e.imageSize}`:`-`},{label:`比例`,value:e.imageProportion||`-`},{label:`尺寸`,value:e.imagePx||`-`}].map((e,t)=>(0,$.jsxs)(`div`,{style:{flex:1},children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:e.label}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:13,color:`#1a1a2e`},children:e.value})]},t))}):(0,$.jsx)(`div`,{style:{display:`flex`,gap:14,padding:`10px 14px`,borderRadius:10,background:`#f8f9fc`},children:[{label:`文字积分`,value:`${e.textCreditsCost||0}`},{label:`视频积分`,value:`${e.creditsCost||0}`},{label:`时长`,value:e.duration?`${e.duration}秒`:`-`},{label:`比例`,value:e.aspectRatio||`-`},{label:`分辨率`,value:e.resolution||`-`}].map((e,t)=>(0,$.jsxs)(`div`,{style:{flex:1},children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:e.label}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:13,color:`#1a1a2e`},children:e.value})]},t))}),(e.references&&e.references.length>0||n===`failed`)&&(0,$.jsxs)(`div`,{style:{marginTop:14},children:[(0,$.jsxs)(Q.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:8},children:[`参考素材`,` `,n===`failed`&&(0,$.jsx)(`span`,{style:{color:`#6366f1`},children:`(可删除/添加后重试)`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:8,flexWrap:`wrap`},children:[e.references?.map((t,r)=>(0,$.jsxs)(`div`,{style:{width:64,height:64,borderRadius:10,overflow:`visible`,border:`1px solid #e2e8f0`,position:`relative`,cursor:`pointer`},onClick:()=>{t.type===`video`&&oe(`http://ceshi.apiforeign.minzhong.cn${t.url}`)},children:[(0,$.jsx)(`div`,{style:{width:64,height:64,borderRadius:10,overflow:`hidden`},children:t.type===`image`?(0,$.jsx)(jW,{src:`http://ceshi.apiforeign.minzhong.cn${t.url}`,style:{width:`100%`,height:`100%`,objectFit:`cover`},preview:!0}):(0,$.jsx)(t9,{src:`http://ceshi.apiforeign.minzhong.cn${t.url}`,width:64,height:64})}),(0,$.jsx)(E$,{style:{position:`absolute`,bottom:0,left:0,right:0,margin:0,fontSize:9,textAlign:`center`,borderRadius:`0 0 8px 8px`,background:`rgba(0,0,0,0.5)`,border:`none`,color:`#fff`,padding:`0 2px`},children:t.name}),n===`failed`&&(0,$.jsx)(`div`,{className:`ref-delete`,onClick:n=>{n.stopPropagation(),u7(t.url).catch(()=>{});let i=e.references.filter((e,t)=>t!==r);Z7.getState().updateRecordReferences(e.id,i)},style:{position:`absolute`,top:-4,right:-4,width:16,height:16,borderRadius:`50%`,background:`rgba(239,68,68,0.8)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,zIndex:10,opacity:0,transition:`opacity 0.15s`},children:(0,$.jsx)(W4,{style:{color:`#fff`,fontSize:10}})})]},r)),n===`failed`&&(0,$.jsx)(Y0,{accept:`image/*,video/*`,showUploadList:!1,multiple:!0,beforeUpload:t=>{let n=t.type.startsWith(`image/`),r=t.type.startsWith(`video/`);return!n&&!r?(Z.error(`仅支持图片或视频文件`),!1):((n?c7:l7)(t).then(r=>{let i={url:r.url,type:n?`image`:`video`,name:t.name||(n?`图片`:`视频`)},a=e.references||[];Z7.getState().updateRecordReferences(e.id,[...a,i]),Z.success(`上传成功`)}).catch(()=>Z.error(`上传失败`)),!1)},children:(0,$.jsx)(Iw,{title:`添加参考素材`,children:(0,$.jsx)(`div`,{style:{width:64,height:64,borderRadius:10,border:`1.5px dashed #d9d9d9`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,transition:`all 0.2s`},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#6366f1`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`#d9d9d9`},children:(0,$.jsx)(NL,{style:{fontSize:18,color:`#94a3b8`}})})})})]})]})]}),(0,$.jsxs)(`div`,{style:{flex:`1 1 40%`,minWidth:220,position:`relative`},children:[n===`prompt_optimized`&&(0,$.jsxs)(`div`,{style:{marginTop:16,position:`absolute`,top:0,left:0,width:`100%`,height:`100%`,backgroundColor:`transparent`},children:[a===`video`&&(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12,flexWrap:`wrap`,marginBottom:12},children:[(0,$.jsxs)(`div`,{translate:`no`,style:{display:`flex`,alignItems:`center`,gap:6,padding:`5px 12px`,borderRadius:8,background:`#f8f9fc`,border:`1px solid #e2e8f0`,marginLeft:12},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:`时长`}),(0,$.jsxs)(Q.Text,{strong:!0,style:{fontSize:13,color:`#6366f1`},children:[e.duration,`秒`]})]}),(0,$.jsx)(Nt,{label:`比例`,value:K[e.id]?.aspectRatio||`选择比例`,options:he.ratios,expanded:pe===`ratio-${e.id}`,onToggle:()=>me(pe===`ratio-${e.id}`?null:`ratio-${e.id}`),onSelect:t=>ae(n=>({...n,[e.id]:{...n[e.id],aspectRatio:t,resolution:n[e.id]?.resolution||``}})),onClose:()=>me(null)}),(0,$.jsx)(Nt,{label:`分辨率`,value:K[e.id]?.resolution||`选择分辨率`,options:he.resolutions,expanded:pe===`res-${e.id}`,onToggle:()=>me(pe===`res-${e.id}`?null:`res-${e.id}`),onSelect:t=>ae(n=>({...n,[e.id]:{...n[e.id],aspectRatio:n[e.id]?.aspectRatio||``,resolution:t}})),onClose:()=>me(null)})]}),(0,$.jsxs)(X,{type:`primary`,size:`large`,icon:(0,$.jsx)(V8,{}),block:!0,loading:x[e.id],disabled:a===`video`&&(!K[e.id]?.aspectRatio||!K[e.id]?.resolution),onClick:async()=>{let t=K[e.id];if(a===`video`){if(!t?.aspectRatio||!t?.resolution){Z.error(`请选择比例和分辨率`);return}if(gt({...t,[e.id]:!0})),T(t=>({...t,[e.id]:`generating`}));let n=a===`video`?`视频`:`图片`;Z.loading({content:`「${mt}」正在生成${n}...`,duration:0,key:e.id});try{await c(e.id,{aspectRatio:t?.aspectRatio,resolution:t?.resolution}),T(t=>({...t,[e.id]:`done`})),Z.success({content:`「${mt}」${n}生成成功!`,key:e.id,duration:3})}catch{T(t=>({...t,[e.id]:`failed`})),Z.error({content:`「${mt}」${n}生成失败`,key:e.id,duration:3})}finally{C(t=>({...t,[e.id]:!1}))}},style:{borderRadius:12,fontWeight:600,color:`#fff`,height:48,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,position:`absolute`,bottom:18,left:0},children:[`生成`,a===`video`?`视频`:`图片`,a===`video`?(0,$.jsx)(`span`,{style:{color:`#d2d2d2`,fontSize:`14px`,marginLeft:`6px`},children:`(请选择上方的比例分辨率)`}):``,` `,a===`video`&&K[e.id]?.resolution?`(${Le(e.duration||5,K[e.id].resolution)}积分)`:``,a===`image`&&e.imageSize?`(${Re(e.imageSize)}积分)`:a===`image`?`(积分)`:``]})]}),n===`failed`&&(0,$.jsx)(`div`,{style:{position:`absolute`,bottom:18,right:20},children:(0,$.jsxs)(X,{type:`primary`,danger:!0,size:`large`,icon:(0,$.jsx)(C8,{}),block:!0,loading:x[e.id],onClick:()=>At(e.id),style:{borderRadius:12,fontWeight:600,height:48},children:[`重新生成`,a===`video`?`视频`:`图片`]})}),n===`generating`?(0,$.jsxs)(`div`,{style:{height:`100%`,minHeight:180,borderRadius:12,background:`linear-gradient(135deg, rgba(99,102,241,0.04), rgba(139,92,246,0.04))`,border:`1px dashed rgba(99,102,241,0.2)`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,gap:10},children:[(0,$.jsx)(Xm,{style:{color:`#6366f1`,fontSize:28},spin:!0}),(0,$.jsxs)(Q.Text,{style:{color:`#94a3b8`,fontSize:13},children:[a===`video`?`视频`:`图片`,`生成中...`]})]}):n===`completed`&&e.videoUrl||e.imageUrl?(0,$.jsxs)(`div`,{style:{borderRadius:12,overflow:`hidden`,border:`1px solid #f0f0f5`,position:`relative`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:10,right:10,zIndex:10},children:(0,$.jsx)(Iw,{title:`下载${a===`video`?`视频`:`图片`}`,children:(0,$.jsx)(X,{size:`small`,icon:(0,$.jsx)(U0,{}),onClick:()=>{let t=document.createElement(`a`);t.href=`http://ceshi.apiforeign.minzhong.cn${a===`video`?e.videoUrl:e.imageUrl}&download=1`,t.download=`${e.projectName}${a===`video`?`.mp4`:`.png`}`,t.click()},style:{background:`rgba(0,0,0,0.5)`,border:`none`,color:`#fff`,backdropFilter:`blur(4px)`,borderRadius:8},children:`下载`})})}),(0,$.jsx)(`div`,{style:{minHeight:180,overflow:`hidden`},children:a===`video`?(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${e.videoUrl}`,controls:!0,preload:`metadata`,style:{width:`100%`,height:`400px`,borderRadius:0}}):(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${e.imageUrl}`,alt:e.projectName,style:{width:`100%`,maxHeight:`400px`,objectFit:`contain`,borderRadius:0}})}),(0,$.jsxs)(`div`,{style:{padding:`8px 12px`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,background:`#fafbff`},children:[(0,$.jsxs)(LH,{children:[a===`video`?(0,$.jsx)(R5,{style:{color:`#6366f1`,fontSize:13}}):(0,$.jsx)(m8,{style:{color:`#6366f1`,fontSize:13}}),(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#475569`},children:e.projectName})]}),e.generatedAt&&(0,$.jsx)(`span`,{className:`date-display`,translate:`no`,style:{fontSize:11,color:`#94a3b8`},children:Q7(e.generatedAt)})]})]}):n===`failed`?(0,$.jsxs)(`div`,{style:{height:`100%`,minHeight:180,borderRadius:12,background:`rgba(239,68,68,0.03)`,border:`1px dashed rgba(239,68,68,0.2)`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,gap:10,padding:16},children:[(0,$.jsx)(W4,{style:{color:`#ef4444`,fontSize:28}}),(0,$.jsxs)(Q.Text,{style:{color:`#ef4444`,fontSize:14,fontWeight:600},children:[a===`video`?`视频`:`图片`,`生成失败`]}),e.errorMessage&&(0,$.jsx)(Q.Text,{style:{color:`#ef4444`,fontSize:12,textAlign:`center`,lineHeight:1.6},children:e.errorMessage})]}):(0,$.jsxs)(`div`,{style:{height:`100%`,minHeight:180,borderRadius:12,background:`#f8f9fc`,border:`1px dashed #e2e8f0`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,gap:10},children:[(0,$.jsx)(RV,{style:{color:`#94a3b8`,fontSize:28}}),(0,$.jsx)(Q.Text,{style:{color:`#94a3b8`,fontSize:13},children:a===`image`?`待生成图片`:n===`prompt_optimized`?`待配置视频参数`:`待生成视频`})]})]})]})})]},e.id)})})]}),(0,$.jsx)(WK,{open:!!q,onCancel:()=>oe(null),footer:null,width:480,centered:!0,destroyOnClose:!0,closable:!1,title:null,styles:{body:{padding:0,background:`#000`,position:`relative`}},children:q&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`video`,{src:q,controls:!0,autoPlay:!0,style:{width:`100%`,display:`block`,maxHeight:`70vh`}}),(0,$.jsx)(`div`,{onClick:()=>oe(null),style:{position:`absolute`,top:8,right:8,width:28,height:28,borderRadius:`50%`,background:`rgba(0,0,0,0.6)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,zIndex:10,transition:`background 0.15s`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(0,0,0,0.85)`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(0,0,0,0.6)`},children:(0,$.jsx)(G5,{style:{color:`#fff`,fontSize:16}})})]})})]})},n9={optimizing:{color:`processing`,text:`优化中`,icon:(0,$.jsx)(Xm,{spin:!0})},prompt_optimized:{color:`processing`,text:`待生成`,icon:(0,$.jsx)(RV,{})},generating:{color:`warning`,text:`生成中`,icon:(0,$.jsx)(Xm,{spin:!0})},completed:{color:`success`,text:`已完成`,icon:(0,$.jsx)(V4,{})},failed:{color:`error`,text:`失败`,icon:(0,$.jsx)(W4,{})}},eae=()=>{let e=Ye(),{records:t,projects:n,fetchRecords:r,fetchProjects:i,generateVideo:a}=Z7(),o=t.items,[s,c]=(0,S.useState)(1),[l,u]=(0,S.useState)(10),[d,f]=(0,S.useState)({}),[p,m]=(0,S.useState)(void 0),[h,g]=(0,S.useState)(void 0),[_,v]=(0,S.useState)({}),[y,b]=(0,S.useState)(null),[x,C]=(0,S.useState)(null),[w,T]=(0,S.useState)(null);(0,S.useEffect)(()=>{i()},[i]),(0,S.useEffect)(()=>{r({projectId:p,status:h,page:s,pageSize:l})},[r,p,h,s,l]);let E=async()=>{if(!w)return;let{recordId:e,projectName:t,ratio:n,resolution:r}=w;f(t=>({...t,[e]:!0})),T(null),Z.loading({content:`「${t}」正在生成视频...`,duration:0,key:e});try{await a(e,{aspectRatio:n,resolution:r}),Z.success({content:`「${t}」视频生成成功!`,key:e,duration:3})}catch{Z.error({content:`「${t}」视频生成失败`,key:e,duration:3})}finally{f(t=>({...t,[e]:!1}))}},D=e=>{if((e.genType||`image`)===`image`){f(t=>({...t,[e.id]:!0})),Z.loading({content:`「${e.projectName}」正在生成图片...`,duration:0,key:e.id}),a(e.id,{}).then(()=>{Z.success({content:`「${e.projectName}」图片生成成功!`,key:e.id,duration:3})}).catch(()=>{Z.error({content:`「${e.projectName}」图片生成失败`,key:e.id,duration:3})}).finally(()=>{f(t=>({...t,[e.id]:!1}))});return}T({recordId:e.id,projectName:e.projectName,ratio:e.aspectRatio||`16:9`,resolution:e.resolution||`720p`})},O=o;return(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:20,padding:`16px 24px`,borderRadius:16,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,border:`1px solid rgba(99, 102, 241, 0.08)`},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:[(0,$.jsx)(X,{icon:(0,$.jsx)(X2,{}),onClick:()=>e(`/projects`),style:{borderRadius:10,fontSize:13,height:32,background:`rgba(99, 102, 241, 0.1)`,border:`1px solid rgba(99, 102, 241, 0.2)`,color:`#6366f1`},children:`返回`}),(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #6366f1, #8b5cf6, transparent)`,borderRadius:1}}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Title,{level:2,style:{margin:0,fontSize:16,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`项目记录`}),(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#64748b`},children:`查看所有视频生成记录,点击记录查看完整内容和视频`})]}),(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #8b5cf6, #6366f1, transparent)`,borderRadius:1}})]})}),(0,$.jsxs)(`div`,{className:`record-filter-bar animate-fadeInUp`,style:{display:`flex`,gap:12,marginBottom:20,padding:`14px 20px`,borderRadius:14,background:`#fff`,border:`1px solid #f0f0f5`},children:[(0,$.jsxs)(LH,{children:[(0,$.jsx)(F3,{style:{color:`#94a3b8`}}),(0,$.jsx)(KC,{placeholder:`全部项目`,allowClear:!0,style:{width:200},onChange:e=>{m(e),c(1)},children:n.map(e=>(0,$.jsx)(KC.Option,{value:e.id,children:e.name},e.id))}),(0,$.jsxs)(KC,{placeholder:`全部状态`,allowClear:!0,style:{width:140},onChange:e=>{g(e),c(1)},children:[(0,$.jsx)(KC.Option,{value:`prompt_optimized`,children:`待生成`}),(0,$.jsx)(KC.Option,{value:`generating`,children:`生成中`}),(0,$.jsx)(KC.Option,{value:`completed`,children:`已完成`}),(0,$.jsx)(KC.Option,{value:`failed`,children:`失败`})]})]}),(0,$.jsxs)(Q.Text,{style:{marginLeft:`auto`,lineHeight:`32px`,color:`#94a3b8`,fontSize:13},children:[`共 `,t.total,` 条记录`]})]}),O.length===0?(0,$.jsx)(gC,{image:gC.PRESENTED_IMAGE_SIMPLE,description:`暂无生成记录`,style:{padding:60}}):(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8},className:`stagger-children`,children:O.map((e,t)=>{let n=y===e.id,r=_[e.id]??e.optimizedPrompt,i=d[e.id],a=x===e.id,o=e.genType||`image`;return(0,$.jsxs)(`div`,{className:`animate-slideInCard`,style:{animationDelay:`${t*.04}s`},children:[(0,$.jsxs)(`div`,{className:`record-item`,onClick:()=>C(a?null:e.id),style:{padding:`14px 20px`,borderRadius:a?`14px 14px 0 0`:14,background:`#fff`,border:`1px solid #f0f0f5`,cursor:`pointer`,transition:`all 0.2s`,display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:28,height:28,borderRadius:8,display:`flex`,alignItems:`center`,justifyContent:`center`,flexShrink:0,background:o===`image`?`#fef3c7`:`#dbeafe`},children:o===`image`?(0,$.jsx)(m8,{style:{color:`#d97706`,fontSize:12}}):(0,$.jsx)(R5,{style:{color:`#2563eb`,fontSize:12}})}),a?(0,$.jsx)(TQ,{style:{color:`#6366f1`,fontSize:12,flexShrink:0}}):(0,$.jsx)(R4,{style:{color:`#cbd5e1`,fontSize:12,flexShrink:0}}),(0,$.jsx)(E$,{color:n9[e.status].color,icon:n9[e.status].icon,style:{margin:0},children:n9[e.status].text}),(0,$.jsx)(E$,{style:{background:`#f0f0ff`,border:`none`,color:`#6366f1`,margin:0},children:e.projectName}),(0,$.jsx)(Q.Text,{style:{flex:1,fontSize:13,color:`#475569`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:r}),o===`image`?(0,$.jsxs)(`span`,{className:`mobile-meta`,translate:`no`,style:{fontSize:12,color:`#94a3b8`,flexShrink:0},children:[e.duration?`${e.imageSize}`:`-`,` · `,e.imageProportion||`-`,` · `,e.imagePx||`-`,` · `,(0,$.jsx)(`span`,{className:`date-display`,translate:`no`,children:Q7(e.createdAt)})]}):(0,$.jsxs)(`span`,{className:`mobile-meta`,translate:`no`,style:{fontSize:12,color:`#94a3b8`,flexShrink:0},children:[e.duration?`${e.duration}秒`:`-`,` · `,e.aspectRatio||`-`,` · `,e.resolution||`-`,` · `,(0,$.jsx)(`span`,{className:`date-display`,translate:`no`,children:Q7(e.createdAt)})]}),(0,$.jsx)(`div`,{className:`record-actions`,onClick:e=>e.stopPropagation(),children:(0,$.jsxs)(LH,{children:[e.status===`prompt_optimized`&&(0,$.jsx)(X,{type:`primary`,size:`small`,icon:(0,$.jsx)(C8,{}),loading:i,onClick:()=>D(e),style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,border:`none`},children:`生成`}),e.status===`generating`&&(0,$.jsx)(E$,{color:`processing`,icon:(0,$.jsx)(Xm,{spin:!0}),style:{padding:`4px 12px`,fontSize:12},children:`生成中...`}),e.status===`failed`&&(0,$.jsx)(X,{type:`primary`,danger:!0,size:`small`,icon:(0,$.jsx)(C8,{}),loading:i,onClick:()=>D(e),style:{borderRadius:8},children:`重试`})]})})]}),a&&(0,$.jsx)(`div`,{style:{background:`#fff`,border:`1px solid #f0f0f5`,borderTop:`none`,borderRadius:`0 0 14px 14px`,padding:`20px 24px`,animation:`fadeInUp 0.25s ease both`},children:(0,$.jsxs)(`div`,{className:`gen-detail-row`,style:{display:`flex`,gap:24,flexWrap:`wrap`},children:[(0,$.jsxs)(`div`,{style:{flex:`1 1 50%`,minWidth:280},children:[(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`,display:`block`,marginBottom:6},children:`原始提示词`}),(0,$.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`,border:`1px solid #f0f0f5`},children:(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#64748b`,lineHeight:1.7},children:e.originalPrompt})})]}),(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:6},children:[(0,$.jsxs)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:[`优化后的提示词 `,e.status===`prompt_optimized`&&(0,$.jsx)(`span`,{style:{color:`#6366f1`},children:`(可编辑)`})]}),!n&&(0,$.jsxs)(LH,{size:4,children:[(0,$.jsx)(Iw,{title:`复制`,children:(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(j1,{}),onClick:()=>{navigator.clipboard.writeText(r),Z.success(`已复制`)},style:{color:`#94a3b8`}})}),e.status===`prompt_optimized`&&(0,$.jsx)(Iw,{title:`编辑`,children:(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(c1,{}),onClick:()=>{b(e.id),v(t=>({...t,[e.id]:t[e.id]??e.optimizedPrompt}))},style:{color:`#6366f1`}})})]})]}),n?(0,$.jsxs)(`div`,{children:[(0,$.jsx)(fG.TextArea,{value:r,onChange:t=>v(n=>({...n,[e.id]:t.target.value})),rows:4,style:{borderRadius:10,fontSize:13,lineHeight:1.7,border:`1px solid rgba(99,102,241,0.25)`,background:`rgba(99,102,241,0.02)`}}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:8,marginTop:8},children:[(0,$.jsx)(X,{size:`small`,onClick:()=>b(null),children:`取消`}),(0,$.jsx)(X,{size:`small`,type:`primary`,onClick:()=>{v(t=>({...t,[e.id]:r})),b(null),Z.success(`提示词已更新`)},style:{borderRadius:6,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,border:`none`},children:`保存`})]})]}):(0,$.jsx)(`div`,{style:{padding:12,borderRadius:10,background:`rgba(99,102,241,0.02)`,border:`1px solid rgba(99,102,241,0.1)`},children:(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#1a1a2e`,lineHeight:1.7},children:r})})]}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:16,padding:`12px 16px`,borderRadius:10,background:`#f8f9fc`},children:o===`image`?[{label:`分辨率`,value:e.imageSize?`${e.imageSize} `:`-`},{label:`画面比例`,value:e.imageProportion?`${e.imageProportion} `:`-`},{label:`画面尺寸`,value:e.imageProportion?`${e.imageProportion} `:`-`},{label:`消耗积分`,value:e.creditsCost?`${e.creditsCost} `:`-`,highlight:!!e.creditsCost}].map((e,t)=>(0,$.jsxs)(`div`,{style:{flex:1},children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:e.label}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:e.highlight?`#6366f1`:`#1a1a2e`},children:e.value})]},t)):[{label:`时长`,value:e.duration?`${e.duration} 秒`:`-`},{label:`画面比例`,value:e.aspectRatio||(e.status===`prompt_optimized`?`待选择`:`-`)},{label:`分辨率`,value:e.resolution||(e.status===`prompt_optimized`?`待选择`:`-`)},{label:`消耗积分`,value:e.creditsCost?`${e.creditsCost}`:`-`,highlight:!!e.creditsCost}].map((e,t)=>(0,$.jsxs)(`div`,{style:{flex:1},children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:e.label}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:e.highlight?`#6366f1`:`#1a1a2e`},children:e.value})]},t))}),e.status===`prompt_optimized`&&(0,$.jsx)(`div`,{style:{marginTop:16,display:`flex`,justifyContent:`flex-end`},children:(0,$.jsx)(X,{type:`primary`,size:`large`,icon:(0,$.jsx)(V8,{}),loading:i,onClick:()=>D(e),style:{borderRadius:12,fontWeight:600,height:44,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,boxShadow:`0 8px 24px rgba(99,102,241,0.3)`},children:o===`video`?`选择参数生成视频`:`生成图片`})}),e.status===`failed`&&(0,$.jsx)(`div`,{style:{marginTop:16,display:`flex`,justifyContent:`flex-end`},children:(0,$.jsxs)(X,{type:`primary`,danger:!0,size:`large`,icon:(0,$.jsx)(C8,{}),loading:i,onClick:()=>D(e),style:{borderRadius:12,fontWeight:600,height:44},children:[`重新生成`,o===`video`?`视频`:`图片`]})})]}),(0,$.jsx)(`div`,{style:{flex:`1 1 40%`,minWidth:240},children:e.status===`generating`?(0,$.jsxs)(`div`,{style:{height:`100%`,minHeight:200,borderRadius:14,background:`linear-gradient(135deg, rgba(99,102,241,0.04), rgba(139,92,246,0.04))`,border:`1px dashed rgba(99,102,241,0.2)`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,gap:12},children:[(0,$.jsx)(Xm,{style:{color:`#6366f1`,fontSize:32},spin:!0}),(0,$.jsxs)(Q.Text,{style:{color:`#94a3b8`,fontSize:14},children:[o===`video`?`视频`:`图片`,`生成中...`]}),(0,$.jsx)(Q.Text,{style:{color:`#cbd5e1`,fontSize:12},children:`请耐心等待,生成完成后将自动展示`})]}):e.status===`completed`&&(e.videoUrl||e.imageUrl)?(0,$.jsxs)(`div`,{style:{borderRadius:14,overflow:`hidden`,border:`1px solid #f0f0f5`,position:`relative`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:10,right:10,zIndex:10},children:(0,$.jsx)(Iw,{title:`下载${o===`video`?`视频`:`图片`}`,children:(0,$.jsx)(X,{size:`small`,icon:(0,$.jsx)(U0,{}),onClick:()=>{let t=document.createElement(`a`);t.href=`http://ceshi.apiforeign.minzhong.cn${o===`video`?e.videoUrl:e.imageUrl}&download=1`,t.download=`${e.projectName}${o===`video`?`.mp4`:`.png`}`,t.click()},style:{background:`rgba(0,0,0,0.5)`,border:`none`,color:`#fff`,backdropFilter:`blur(4px)`,borderRadius:8},children:`下载`})})}),(0,$.jsx)(`div`,{style:{minHeight:280,overflow:`hidden`},children:o===`video`?(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${e.videoUrl}`,controls:!0,preload:`metadata`,style:{width:`100%`,height:`400px`,display:`block`}}):(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${e.imageUrl}`,alt:e.projectName,style:{width:`100%`,maxHeight:`400px`,objectFit:`contain`,display:`block`}})}),(0,$.jsxs)(`div`,{style:{padding:`10px 14px`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,background:`#fafbff`},children:[(0,$.jsxs)(LH,{children:[o===`video`?(0,$.jsx)(R5,{style:{color:`#6366f1`}}):(0,$.jsx)(m8,{style:{color:`#6366f1`}}),(0,$.jsx)(Q.Text,{style:{fontSize:13,color:`#475569`},children:e.projectName})]}),e.generatedAt&&(0,$.jsxs)(`span`,{className:`date-display`,translate:`no`,style:{fontSize:12,color:`#94a3b8`},children:[`生成于 `,Q7(e.generatedAt)]})]})]}):e.status===`failed`?(0,$.jsxs)(`div`,{style:{height:`100%`,minHeight:200,borderRadius:14,background:`rgba(239,68,68,0.03)`,border:`1px dashed rgba(239,68,68,0.2)`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,gap:12},children:[(0,$.jsx)(W4,{style:{color:`#ef4444`,fontSize:32}}),(0,$.jsxs)(Q.Text,{style:{color:`#ef4444`,fontSize:14},children:[o===`video`?`视频`:`图片`,`生成失败`]}),(0,$.jsx)(Q.Text,{style:{color:`#94a3b8`,fontSize:12},children:`请在左侧点击重新生成`})]}):(0,$.jsxs)(`div`,{style:{height:`100%`,minHeight:200,borderRadius:14,background:`#f8f9fc`,border:`1px dashed #e2e8f0`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,gap:12},children:[(0,$.jsx)(RV,{style:{color:`#94a3b8`,fontSize:32}}),(0,$.jsxs)(Q.Text,{style:{color:`#94a3b8`,fontSize:14},children:[`待生成`,o===`video`?`视频`:`图片`]}),(0,$.jsx)(Q.Text,{style:{color:`#cbd5e1`,fontSize:12},children:`点击左侧生成按钮开始生成`})]})})]})})]},e.id)})}),t.total>0&&(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,marginTop:18},children:(0,$.jsx)(QG,{current:t.page||s,pageSize:t.pageSize||l,total:t.total,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{c(e),u(t)}})}),(0,$.jsx)(WK,{title:(0,$.jsxs)(LH,{children:[(0,$.jsx)(V8,{}),`生成视频`]}),open:!!w,onCancel:()=>T(null),onOk:E,okText:`提交生成`,cancelText:`取消`,width:420,children:w&&(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:16,marginTop:16},children:(()=>{let e=o.find(e=>e.id===w.recordId);return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{style:{padding:12,borderRadius:10,background:`#f8f9fc`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:11,color:`#94a3b8`,display:`block`},children:`时长`}),(0,$.jsxs)(Q.Text,{strong:!0,children:[e?.duration||5,`秒`]})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#64748b`,display:`block`,marginBottom:6},children:`画面比例`}),(0,$.jsx)(KC,{value:w.ratio,onChange:e=>T(t=>t?{...t,ratio:e}:null),style:{width:`100%`},options:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`].map(e=>({value:e,label:e}))})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#64748b`,display:`block`,marginBottom:6},children:`分辨率`}),(0,$.jsx)(KC,{value:w.resolution,onChange:e=>T(t=>t?{...t,resolution:e}:null),style:{width:`100%`},options:[`480p`,`720p`,`1080p`].map(e=>({value:e,label:e}))})]})]})})()})})]})},r9=({value:e,duration:t=1200})=>{let[n,r]=(0,S.useState)(0),i=(0,S.useRef)(0);return(0,S.useEffect)(()=>{let a=n,o=e-a;if(o===0)return;let s=performance.now(),c=e=>{let n=e-s,l=Math.min(n/t,1);r(a+o*(1-(1-l)**3)),l<1&&(i.current=requestAnimationFrame(c))};return i.current=requestAnimationFrame(c),()=>cancelAnimationFrame(i.current)},[e]),(0,$.jsx)($.Fragment,{children:n.toLocaleString()})},tae=()=>{let{user:e}=G7(),[t,n]=(0,S.useState)([]),[r,i]=(0,S.useState)(!1),[a,o]=(0,S.useState)(1),[s,c]=(0,S.useState)(10),[l,u]=(0,S.useState)(0);(0,S.useEffect)(()=>{(async()=>{i(!0);let e=await d7(a,s);n(e.records),u(e.total),i(!1)})()},[a,s]);let d=(e,t)=>{o(e),c(t)},f=t.filter(e=>e.type===`recharge`).reduce((e,t)=>e+t.amount,0),p=t.filter(e=>e.type===`consume`).reduce((e,t)=>e+Math.abs(t.amount),0);return(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(TJ,{gutter:[16,16],style:{marginBottom:24},children:[(0,$.jsx)(Rz,{xs:24,sm:8,children:(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{borderRadius:16,padding:24,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,position:`relative`,overflow:`hidden`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,right:-20,top:-20,width:120,height:120,borderRadius:`50%`,background:`rgba(255,255,255,0.1)`}}),(0,$.jsxs)(`div`,{style:{position:`relative`},children:[(0,$.jsxs)(LH,{style:{marginBottom:10},children:[(0,$.jsx)(B5,{style:{color:`rgba(255,255,255,0.8)`,fontSize:16}}),(0,$.jsx)(`span`,{style:{color:`rgba(255,255,255,0.8)`,fontSize:14},children:`当前可用积分`})]}),(0,$.jsx)(`div`,{style:{color:`#fff`,fontSize:38,fontWeight:800,lineHeight:1},children:(0,$.jsx)(r9,{value:e?.credits??0})})]})]})}),(0,$.jsx)(Rz,{xs:12,sm:8,children:(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{borderRadius:16,padding:24,background:`#fff`,border:`1px solid #f0f0f5`,animationDelay:`0.06s`},children:[(0,$.jsxs)(LH,{style:{marginBottom:10},children:[(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,background:`rgba(16,185,129,0.1)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(n4,{style:{color:`#10b981`,fontSize:14}})}),(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:14},children:`累计获得`})]}),(0,$.jsx)(`div`,{style:{color:`#10b981`,fontSize:28,fontWeight:800},children:(0,$.jsx)(r9,{value:f})})]})}),(0,$.jsx)(Rz,{xs:12,sm:8,children:(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{borderRadius:16,padding:24,background:`#fff`,border:`1px solid #f0f0f5`,animationDelay:`0.12s`},children:[(0,$.jsxs)(LH,{style:{marginBottom:10},children:[(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,background:`rgba(239,68,68,0.1)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(q2,{style:{color:`#ef4444`,fontSize:14}})}),(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:14},children:`累计消耗`})]}),(0,$.jsx)(`div`,{style:{color:`#ef4444`,fontSize:28,fontWeight:800},children:(0,$.jsx)(r9,{value:p})})]})})]}),(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{animationDelay:`0.15s`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,$.jsx)(D5,{style:{color:`#6366f1`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`积分明细`})]}),(0,$.jsx)(`div`,{style:{borderRadius:16,background:`#fff`,border:`1px solid #f0f0f5`,overflow:`hidden`},children:(0,$.jsx)(p$,{columns:[{title:`类型`,dataIndex:`type`,key:`type`,width:100,render:e=>(0,$.jsx)(E$,{color:e===`recharge`?`green`:`orange`,icon:e===`recharge`?(0,$.jsx)(n4,{}):(0,$.jsx)(q2,{}),children:e===`recharge`?`充值`:`消费`})},{title:`积分变动`,dataIndex:`amount`,key:`amount`,width:120,render:e=>(0,$.jsxs)(Q.Text,{strong:!0,style:{color:e>0?`#10b981`:`#ef4444`,fontSize:15},children:[e>0?`+`:``,e]})},{title:`说明`,dataIndex:`description`,key:`description`},{title:`时间`,dataIndex:`createdAt`,key:`createdAt`,width:160,render:e=>(0,$.jsx)(`span`,{className:`date-display`,translate:`no`,style:{color:`#94a3b8`},children:Q7(e)})}],dataSource:t,rowKey:`id`,loading:r,pagination:{current:a,pageSize:s,total:l,onChange:d,showSizeChanger:!0,showTotal:e=>`共 ${e} 条`},scroll:{x:500}})})]})]})},nae=()=>{let[e,t]=(0,S.useState)(!0),[n,r]=(0,S.useState)([]),[i,a]=(0,S.useState)(0),[o,s]=(0,S.useState)(0),[c,l]=(0,S.useState)(1),[u]=(0,S.useState)(10);(0,S.useEffect)(()=>{d()},[c]);let d=async()=>{t(!0);try{let e=await d7(c,u);r(e.records||[]),a(e.credits||0),s(e.total||0)}catch{r([])}t(!1)};return(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(TJ,{gutter:[16,16],style:{marginBottom:24},children:[(0,$.jsx)(Rz,{xs:24,sm:8,children:(0,$.jsxs)(`div`,{style:{borderRadius:16,padding:24,background:`linear-gradient(135deg, #f59e0b 0%, #ea580c 100%)`,position:`relative`,overflow:`hidden`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,right:-20,top:-20,width:120,height:120,borderRadius:`50%`,background:`rgba(255,255,255,0.1)`}}),(0,$.jsxs)(`div`,{style:{position:`relative`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:10},children:[(0,$.jsx)(B5,{style:{color:`rgba(255,255,255,0.8)`,fontSize:16}}),(0,$.jsx)(`span`,{style:{color:`rgba(255,255,255,0.8)`,fontSize:14},children:`可用积分`})]}),(0,$.jsx)(`div`,{style:{color:`#fff`,fontSize:38,fontWeight:800,lineHeight:1},children:i.toLocaleString()})]})]})}),(0,$.jsx)(Rz,{xs:12,sm:8,children:(0,$.jsxs)(`div`,{style:{borderRadius:16,padding:24,background:`#fff`,border:`1px solid #f0f0f5`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:10},children:[(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,background:`rgba(16,185,129,0.1)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(E8,{style:{color:`#10b981`,fontSize:14}})}),(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:14},children:`累计获得`})]}),(0,$.jsx)(`div`,{style:{color:`#10b981`,fontSize:28,fontWeight:800},children:n.filter(e=>e.amount>0).reduce((e,t)=>e+t.amount,0).toLocaleString()})]})}),(0,$.jsx)(Rz,{xs:12,sm:8,children:(0,$.jsxs)(`div`,{style:{borderRadius:16,padding:24,background:`#fff`,border:`1px solid #f0f0f5`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:10},children:[(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,background:`rgba(239,68,68,0.1)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(D5,{style:{color:`#ef4444`,fontSize:14}})}),(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:14},children:`累计消耗`})]}),(0,$.jsx)(`div`,{style:{color:`#ef4444`,fontSize:28,fontWeight:800},children:n.filter(e=>e.amount<0).reduce((e,t)=>e+Math.abs(t.amount),0).toLocaleString()})]})})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,$.jsx)(D5,{style:{color:`#f59e0b`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`积分明细`})]}),(0,$.jsx)(`div`,{style:{borderRadius:16,background:`#fff`,border:`1px solid #f0f0f5`,overflow:`hidden`},children:(0,$.jsx)(yK,{spinning:e,children:n.length===0?(0,$.jsx)(gC,{description:(0,$.jsx)(`span`,{style:{color:`#94a3b8`},children:`暂无积分变动记录`})}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(p$,{dataSource:n,columns:[{title:`变动类型`,dataIndex:`type`,key:`type`,width:120,render:e=>{let t={recharge:{color:`#10b981`,label:`充值`,bg:`rgba(16,185,129,0.1)`},consume:{color:`#ef4444`,label:`消费`,bg:`rgba(239,68,68,0.1)`},admin:{color:`#f59e0b`,label:`管理员调整`,bg:`rgba(245,158,11,0.1)`},refund:{color:`#8b5cf6`,label:`退款`,bg:`rgba(139,92,246,0.1)`}}[e]||{color:`#64748b`,label:e,bg:`rgba(100,116,139,0.1)`};return(0,$.jsx)(E$,{color:t.color,style:{background:t.bg,fontWeight:500,padding:`4px 12px`},children:t.label})}},{title:`描述`,dataIndex:`description`,key:`description`,ellipsis:!0},{title:`变动积分`,dataIndex:`amount`,key:`amount`,width:120,align:`right`,render:e=>(0,$.jsxs)(Q.Text,{strong:!0,style:{fontWeight:700,color:e>0?`#10b981`:`#ef4444`,fontSize:15},children:[e>0?`+`:``,e]})},{title:`创建时间`,key:`createdAt`,width:180,render:(e,t)=>{let n=t.created_at||t.createdAt||t.create_time||t.createTime;return n?new Date(n).toLocaleString(`zh-CN`):`-`}}],rowKey:`id`,pagination:!1,bordered:!1}),(0,$.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,$.jsx)(QG,{current:c,pageSize:u,total:o,onChange:e=>{l(e)},size:`small`})})]})})})]})]})},rae=()=>{let[e,t]=(0,S.useState)(!0),[n,r]=(0,S.useState)([]),[i,a]=(0,S.useState)(0),[o,s]=(0,S.useState)(1),[c]=(0,S.useState)(10);(0,S.useEffect)(()=>{l()},[o]);let l=async()=>{t(!0);try{let e=await Fre(o,c);r(e.items||[]),a(e.total||0)}catch{r([])}t(!1)};return(0,$.jsx)(`div`,{children:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,$.jsx)(HH,{style:{color:`#0ea5e9`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`订单记录`}),(0,$.jsxs)(`span`,{style:{color:`#94a3b8`,fontSize:13},children:[`共 `,n.length,` 条记录`]})]}),(0,$.jsx)(`div`,{style:{borderRadius:16,background:`#fff`,border:`1px solid #f0f0f5`,overflow:`hidden`},children:(0,$.jsx)(yK,{spinning:e,children:n.length===0?(0,$.jsx)(gC,{description:(0,$.jsx)(`span`,{style:{color:`#94a3b8`},children:`暂无订单记录`})}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(p$,{dataSource:n,columns:[{title:`订单号`,key:`orderNo`,width:200,render:(e,t)=>(0,$.jsx)(`span`,{style:{fontFamily:`monospace`,fontSize:13,color:`#64748b`},children:t.order_no||t.orderNo||t.id})},{title:`支付方式`,key:`paymentMethod`,width:100,render:(e,t)=>{let n=t.payment_method||t.paymentMethod||`wechat`,r={alipay:{icon:(0,$.jsx)(R2,{style:{fontSize:16}}),label:`支付宝`,color:`#1677ff`},wechat:{icon:(0,$.jsx)(U5,{style:{fontSize:16}}),label:`微信支付`,color:`#07c160`}},i=r[n]||r.wechat;return(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{color:i.color},children:i.icon}),(0,$.jsx)(`span`,{style:{fontSize:13,color:`#374151`},children:i.label})]})}},{title:`金额`,key:`amount`,width:100,align:`right`,render:(e,t)=>{let n=t.amount||t.total_amount||0;return(0,$.jsxs)(Q.Text,{strong:!0,style:{fontWeight:700,fontSize:14,color:`#1e293b`},children:[`¥`,n]})}},{title:`获得积分`,key:`credits`,width:100,align:`center`,render:(e,t)=>{let n=t.credits||t.credit_amount||0;return(0,$.jsx)(Q.Text,{strong:!0,style:{fontWeight:600,fontSize:14,color:`#f59e0b`},children:n})}},{title:`状态`,key:`status`,width:100,render:(e,t)=>{let n=t.status||`pending`,r={pending:{color:`#f59e0b`,label:`待支付`,bg:`rgba(245,158,11,0.1)`},paid:{color:`#10b981`,label:`已支付`,bg:`rgba(16,185,129,0.1)`},refunded:{color:`#94a3b8`,label:`已退款`,bg:`rgba(148,163,184,0.1)`},failed:{color:`#ef4444`,label:`支付失败`,bg:`rgba(239,68,68,0.1)`},cancelled:{color:`#64748b`,label:`已取消`,bg:`rgba(100,116,139,0.1)`},processing:{color:`#0ea5e9`,label:`处理中`,bg:`rgba(14,165,233,0.1)`}}[n]||{color:`#64748b`,label:n,bg:`rgba(100,116,139,0.1)`};return(0,$.jsx)(E$,{color:r.color,style:{background:r.bg,fontWeight:500,padding:`4px 12px`},children:r.label})}},{title:`创建时间`,key:`createdAt`,width:180,render:(e,t)=>{let n=t.created_at||t.createdAt;return n?new Date(n).toLocaleString(`zh-CN`):`-`}},{title:`支付时间`,key:`paidAt`,width:180,render:(e,t)=>{let n=t.paid_at||t.paidAt;return n?new Date(n).toLocaleString(`zh-CN`):`-`}}],rowKey:`order_no`,pagination:!1,bordered:!1}),(0,$.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,$.jsx)(QG,{current:o,pageSize:c,total:i,onChange:e=>{s(e)},size:`small`})})]})})})]})})},iae=()=>{let[e,t]=(0,S.useState)(!0),[n,r]=(0,S.useState)([]),[i,a]=(0,S.useState)(0),[o,s]=(0,S.useState)(0),[c,l]=(0,S.useState)(1),[u]=(0,S.useState)(10);(0,S.useEffect)(()=>{d(),f()},[c]);let d=async()=>{t(!0);try{let e=await m7(c,u);r(e.items||[]),s(e.total||0)}catch{r([])}t(!1)},f=async()=>{try{a(await h7())}catch{a(0)}},p=async e=>{try{await g7(e),d(),f()}catch{}};return(0,$.jsx)(`div`,{children:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,$.jsx)(_4,{style:{color:`#6366f1`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`消息中心`}),(0,$.jsxs)(`span`,{style:{color:`#94a3b8`,fontSize:13},children:[`未读 `,i,` 条`]})]}),(0,$.jsx)(`div`,{style:{borderRadius:16,background:`#fff`,border:`1px solid #f0f0f5`,overflow:`hidden`},children:(0,$.jsx)(yK,{spinning:e,children:n.length===0?(0,$.jsx)(gC,{description:(0,$.jsx)(`span`,{style:{color:`#94a3b8`},children:`暂无消息`})}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(p$,{dataSource:n,columns:[{title:`类型`,dataIndex:`type`,key:`type`,width:100,render:e=>{let t={system:{color:`#6366f1`,label:`系统`,bg:`rgba(99,102,241,0.1)`,icon:(0,$.jsx)($8,{style:{fontSize:14}})},credit:{color:`#f59e0b`,label:`积分`,bg:`rgba(245,158,11,0.1)`,icon:(0,$.jsx)(B5,{style:{fontSize:14}})},promo:{color:`#8b5cf6`,label:`活动`,bg:`rgba(139,92,246,0.1)`,icon:(0,$.jsx)(q3,{style:{fontSize:14}})}},n=t[e]||t.system;return(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{color:n.color},children:n.icon}),(0,$.jsx)(`span`,{style:{fontSize:13,color:n.color,fontWeight:500},children:n.label})]})}},{title:`标题`,dataIndex:`title`,key:`title`,ellipsis:!0},{title:`内容`,dataIndex:`content`,key:`content`,ellipsis:!0},{title:`状态`,dataIndex:`isRead`,key:`isRead`,width:80,render:(e,t)=>e??t.is_read?(0,$.jsx)(E$,{color:`gray`,style:{background:`rgba(148,163,184,0.1)`},children:`已读`}):(0,$.jsx)(E$,{color:`purple`,style:{background:`rgba(139,92,246,0.1)`},children:`未读`})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:160,render:e=>{if(!e)return`-`;let t=new Date(e),n=new Date().getTime()-t.getTime(),r=Math.floor(n/(1e3*60*60));if(r<1)return`刚刚`;if(r<24)return`${r}小时前`;let i=Math.floor(r/24);return i<7?`${i}天前`:t.toLocaleDateString(`zh-CN`)}},{title:`操作`,key:`action`,width:100,render:(e,t)=>t.isRead??t.is_read?null:(0,$.jsx)(X,{type:`text`,size:`small`,onClick:()=>p(t.id),style:{color:`#6366f1`},children:`标记已读`})}],rowKey:`id`,pagination:!1,bordered:!1}),(0,$.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,$.jsx)(QG,{current:c,pageSize:u,total:o,onChange:e=>{l(e)},size:`small`})})]})})})]})})},i9=()=>{let[e]=On(),[t,n]=(0,S.useState)(`credits`);return(0,S.useEffect)(()=>{(e.get(`tab`)||`credits`)===`orders`?n(`orders`):n(`credits`)},[e]),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(tR,{activeKey:t,onChange:n,items:[{key:`credits`,label:`积分明细`},{key:`orders`,label:`订单记录`}],style:{marginBottom:24},size:`large`}),t===`credits`&&(0,$.jsx)(nae,{}),t===`orders`&&(0,$.jsx)(rae,{})]})},aae=`/assets/bg1-CQh9PRPW.png`,oae=({items:e,selectedId:t,onSelect:n})=>e.length?(0,$.jsx)(DK,{dataSource:e,renderItem:e=>(0,$.jsx)(DK.Item,{style:{padding:0,marginBottom:8},children:(0,$.jsxs)(X,{block:!0,onClick:()=>n(e),style:{height:`auto`,padding:12,textAlign:`left`,borderColor:t===e.id?`#8b5cf6`:`#e2e8f0`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,gap:8},children:[(0,$.jsx)(`strong`,{children:e.name}),(0,$.jsxs)(E$,{color:e.activeAssetCount>0?`green`:`default`,children:[e.activeAssetCount,`/`,e.assetCount]})]}),e.description&&(0,$.jsx)(`div`,{style:{color:`#64748b`,fontSize:12,marginTop:4},children:e.description})]})})}):(0,$.jsx)(gC,{description:`暂无项目组`}),sae={Active:`green`,Processing:`processing`,Failed:`red`,local_deleted:`default`,remote_deleted:`default`,delete_failed:`red`},cae=e=>e?e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(`data:`)?e:`http://ceshi.apiforeign.minzhong.cn${e}`:``,lae=({items:e,onSync:t,onDelete:n})=>e.length?(0,$.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fill, minmax(160px, 1fr))`,gap:14},children:e.map(e=>(0,$.jsxs)(`div`,{style:{border:`1px solid #e2e8f0`,borderRadius:12,overflow:`hidden`,background:`#fff`},children:[(0,$.jsx)(`div`,{style:{height:150,background:`#f8fafc`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:e.previewUrl||e.remoteUrl?(0,$.jsx)(`img`,{src:cae(e.previewUrl||e.remoteUrl),alt:e.name||``,style:{width:`100%`,height:`100%`,objectFit:`cover`}}):(0,$.jsx)(`span`,{style:{color:`#94a3b8`},children:`无预览`})}),(0,$.jsxs)(`div`,{style:{padding:10},children:[(0,$.jsx)(Iw,{title:e.name||e.remoteAssetId,children:(0,$.jsx)(`div`,{style:{fontWeight:600,color:`#1e293b`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},children:e.name||e.remoteAssetId})}),(0,$.jsx)(`div`,{style:{marginTop:8},children:(0,$.jsx)(E$,{color:sae[e.status]||`default`,children:e.status})}),e.errorMessage&&(0,$.jsx)(`div`,{style:{color:`#ef4444`,fontSize:12,marginTop:6},children:e.errorMessage}),(0,$.jsxs)(LH,{style:{marginTop:10},size:6,children:[(0,$.jsx)(X,{size:`small`,icon:(0,$.jsx)(eJ,{}),onClick:()=>t(e.id),children:`刷新`}),(0,$.jsx)(JK,{title:`确认删除这个素材吗?`,onConfirm:()=>n(e.id),children:(0,$.jsx)(X,{size:`small`,danger:!0,icon:(0,$.jsx)(B$,{}),children:`删除`})})]})]})]},e.id))}):(0,$.jsx)(gC,{description:`暂无真人素材`}),uae=({projectId:e,open:t,onClose:n,onSuccess:r})=>{let[i,a]=(0,S.useState)([]),[o,s]=(0,S.useState)(``),[c,l]=(0,S.useState)(!1);return(0,$.jsx)(WK,{title:`上传真人素材`,open:t,onCancel:n,onOk:async()=>{let t=i[0]?.originFileObj;if(!t){Z.warning(`请先选择图片素材`);return}l(!0);try{await yie(e,{url:(await c7(t)).url,assetType:`Image`,name:o||t.name}),Z.success(`素材已提交入库,处理中`),a([]),s(``),r(),n()}catch(e){Z.error(e?.message||`上传素材失败`)}finally{l(!1)}},confirmLoading:c,okText:`提交入库`,children:(0,$.jsxs)(`div`,{style:{display:`grid`,gap:12},children:[(0,$.jsx)(fG,{value:o,onChange:e=>s(e.target.value),placeholder:`素材名称,默认使用文件名`}),(0,$.jsx)(Y0,{accept:`image/*`,maxCount:1,fileList:i,beforeUpload:()=>!1,onChange:({fileList:e})=>a(e),listType:`picture`,children:(0,$.jsx)(X,{icon:(0,$.jsx)(N5,{}),children:`选择图片`})}),(0,$.jsx)(`div`,{style:{color:`#64748b`,fontSize:12},children:`建议上传真人正脸、全身或同人妆造图。入库后会经过火山真人一致性校验,Active 后才可用于 AI 创作。`})]})})},dae=({project:e,onDeleted:t,onChanged:n})=>{let[r,i]=(0,S.useState)([]),[a,o]=(0,S.useState)(!1),[s,c]=(0,S.useState)(!1),l=async()=>{o(!0);try{i((await bie(e.id,{pageSize:100})).items)}catch(e){Z.error(e?.message||`加载素材失败`)}finally{o(!1)}};(0,S.useEffect)(()=>{l()},[e.id]);let u=async e=>{try{await xie(e),await l(),n(),Z.success(`素材状态已刷新`)}catch(e){Z.error(e?.message||`刷新失败`)}},d=async e=>{try{await Sie(e),await l(),n(),Z.success(`素材已删除`)}catch(e){Z.error(e?.message||`删除素材失败`)}},f=async()=>{try{await _ie(e.id),Z.success(`项目组已删除`),t()}catch(e){Z.error(e?.message||`删除项目组失败`)}},p=e.status===`active`;return(0,$.jsxs)(rR,{title:(0,$.jsxs)(LH,{children:[(0,$.jsx)(`span`,{children:e.name}),(0,$.jsx)(E$,{color:p?`green`:`processing`,children:e.status})]}),extra:(0,$.jsxs)(LH,{children:[(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(N5,{}),disabled:!p,onClick:()=>c(!0),children:`上传素材`}),(0,$.jsx)(X,{icon:(0,$.jsx)(eJ,{}),onClick:l,loading:a,children:`刷新`}),(0,$.jsx)(JK,{title:`确认删除这个真人素材项目组吗?`,onConfirm:f,children:(0,$.jsx)(X,{danger:!0,icon:(0,$.jsx)(B$,{}),children:`删除项目组`})})]}),style:{borderRadius:12},children:[(0,$.jsx)(Q.Paragraph,{style:{color:`#64748b`},children:e.description||`暂无描述`}),!p&&(0,$.jsx)(Q.Paragraph,{style:{color:`#f97316`},children:`项目组未完成真人认证,暂不能上传素材。请重新创建项目组并完成手机扫码认证。`}),(0,$.jsx)(lae,{items:r,loading:a,onSync:u,onDelete:d}),(0,$.jsx)(uae,{projectId:e.id,open:s,onClose:()=>c(!1),onSuccess:()=>{l(),n()}})]})},a9=`group_active`,o9=2e3,fae=()=>{let[e,t]=(0,S.useState)([]),[n,r]=(0,S.useState)(null),[i,a]=(0,S.useState)(!1),[o,s]=(0,S.useState)(!1),[c,l]=(0,S.useState)(!1),[u,d]=(0,S.useState)(null),[f,p]=(0,S.useState)(null),[m,h]=(0,S.useState)(!1),[g]=jU.useForm(),_=(0,S.useRef)(null),v=()=>{_.current&&=(window.clearInterval(_.current),null)},y=()=>{v(),s(!1),l(!1),h(!1),d(null),p(null),g.resetFields()},b=async()=>{a(!0);try{let e=await W7({pageSize:100,status:`active`});t(e.items),r(t=>t?e.items.find(e=>e.id===t.id)||e.items[0]||null:e.items[0]||null)}catch(e){Z.error(e?.message||`加载真人素材项目组失败`)}finally{a(!1)}};(0,S.useEffect)(()=>{b()},[]),(0,S.useEffect)(()=>()=>v(),[]);let x=async e=>{v(),h(!1),Z.success(`真人认证完成,项目组已创建成功`),s(!1),p(null),d(null),g.resetFields();let n=await W7({pageSize:100,status:`active`});t(n.items),r(n.items.find(t=>t.id===e)||n.items[0]||null)},C=(e,t,n)=>{v(),h(!0);let r=async()=>{try{let n=await vie(e);if(p(n),n.status===a9){await x(t);return}[`callback_failed`,`failed`,`expired`].includes(n.status)&&(v(),h(!1),Z.error(n.errorMessage||`真人认证未完成,请重新创建项目组`))}catch(e){v(),h(!1),Z.error(e?.message||`轮询真人认证状态失败`)}};_.current=window.setInterval(r,Math.max(1e3,n||o9)),r()},w=async()=>{let e=await g.validateFields();l(!0);try{let t=`${window.location.origin}/private-portrait-authorized`,n=await gie({...e,callbackRedirectUrl:t});d(n.project),p(n.validateSession),Z.success(`请使用手机扫码完成人脸认证`),n.validateSession?.id&&C(n.validateSession.id,n.project.id,n.pollIntervalMs||o9)}catch(e){Z.error(e?.message||`创建项目组认证二维码失败`)}finally{l(!1)}},T=f?.h5Link||``,E=f?.status===a9;return(0,$.jsxs)(`div`,{style:{padding:16},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:16},children:[(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Title,{level:4,style:{margin:0},children:`真人素材库`}),(0,$.jsx)(Q.Text,{type:`secondary`,children:`创建项目组时先完成真人认证,认证成功后项目组才会正式创建并可上传素材。`})]}),(0,$.jsxs)(LH,{children:[(0,$.jsx)(X,{icon:(0,$.jsx)(eJ,{}),onClick:b,loading:i,children:`刷新`}),(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(NL,{}),onClick:()=>s(!0),children:`新建项目组`})]})]}),(0,$.jsxs)(TJ,{gutter:16,children:[(0,$.jsx)(Rz,{xs:24,md:7,lg:6,children:(0,$.jsx)(rR,{title:`项目组`,style:{borderRadius:12},children:(0,$.jsx)(oae,{items:e,selectedId:n?.id,onSelect:r})})}),(0,$.jsx)(Rz,{xs:24,md:17,lg:18,children:n?(0,$.jsx)(dae,{project:n,onDeleted:()=>{r(null),b()},onChanged:b}):(0,$.jsx)(rR,{style:{borderRadius:12,textAlign:`center`,color:`#94a3b8`},children:`请先创建或选择一个真人素材项目组`})})]}),(0,$.jsx)(WK,{title:`新建真人素材项目组`,open:o,onCancel:y,footer:f?[(0,$.jsx)(X,{onClick:y,children:`关闭`},`close`)]:void 0,onOk:f?void 0:w,okText:`开始认证并创建`,confirmLoading:c,maskClosable:!m,children:f?(0,$.jsxs)(LH,{direction:`vertical`,align:`center`,size:16,style:{width:`100%`},children:[E?(0,$.jsx)(V4,{style:{fontSize:54,color:`#22c55e`}}):T?(0,$.jsx)(aJ,{value:T,size:220}):(0,$.jsx)(yK,{}),(0,$.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,$.jsx)(Q.Title,{level:5,style:{marginBottom:8},children:u?.name||`真人素材项目组`}),(0,$.jsx)(Q.Text,{type:E?`success`:`secondary`,children:E?`认证成功,项目组正在刷新`:`请使用手机扫码完成人脸认证,成功后回到电脑端查看项目组。`})]}),T&&!E&&(0,$.jsx)(Q.Text,{copyable:!0,style:{wordBreak:`break-all`},children:T})]}):(0,$.jsxs)(jU,{form:g,layout:`vertical`,children:[(0,$.jsx)(jU.Item,{label:`项目组名称`,name:`name`,rules:[{required:!0,message:`请输入项目组名称`}],children:(0,$.jsx)(fG,{placeholder:`例如:达人A、客户B、张三人像`})}),(0,$.jsx)(jU.Item,{label:`描述`,name:`description`,children:(0,$.jsx)(fG.TextArea,{rows:3,placeholder:`可选`})}),(0,$.jsx)(Q.Paragraph,{type:`secondary`,style:{marginBottom:0},children:`点击后会生成真人认证二维码。手机扫码认证成功后,项目组才会出现在项目列表中。`})]})})]})},{Text:s9}=Q,pae=e=>e?e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(`data:`)||e.startsWith(`blob:`)?e:`${`http://ceshi.apiforeign.minzhong.cn`.replace(/\/$/,``)}${e.startsWith(`/`)?``:`/`}${e}`:``,mae=({open:e,selectedIds:t=[],maxCount:n=20,onClose:r,onSelect:i})=>{let[a,o]=(0,S.useState)([]),[s,c]=(0,S.useState)(),[l,u]=(0,S.useState)(``),[d,f]=(0,S.useState)([]),[p,m]=(0,S.useState)(new Set(t)),[h,g]=(0,S.useState)(!1),[_,v]=(0,S.useState)(!1);(0,S.useMemo)(()=>{let e=new Map;return d.forEach(t=>{p.has(t.id)&&e.set(t.id,t)}),e},[d,p]);let y=async()=>{g(!0);try{let e=await W7({page:1,pageSize:100,status:`active`});o(e.items||[]),!s&&e.items?.length&&c(e.items[0].id)}catch(e){Z.error(e?.message||`加载真人素材项目失败`)}finally{g(!1)}},b=async()=>{v(!0);try{f((await Cie({projectId:s,keyword:l.trim()||void 0,page:1,pageSize:100})).items||[])}catch(e){Z.error(e?.message||`加载真人素材失败`)}finally{v(!1)}};(0,S.useEffect)(()=>{e&&(m(new Set(t)),y())},[e]),(0,S.useEffect)(()=>{e&&b()},[e,s]);let x=e=>{m(t=>{let r=new Set(t);return r.has(e.id)?(r.delete(e.id),r):r.size>=n?(Z.warning(`最多选择 ${n} 个参考素材`),t):(r.add(e.id),r)})};return(0,$.jsx)(WK,{title:`选择真人素材库`,open:e,onCancel:r,width:920,footer:[(0,$.jsx)(X,{onClick:r,children:`取消`},`cancel`),(0,$.jsxs)(X,{type:`primary`,onClick:()=>{let e=d.filter(e=>p.has(e.id));if(!e.length){Z.warning(`请选择至少一个真人素材`);return}i(e),r()},style:{background:`#8b5cf6`},children:[`添加选中素材(`,p.size,`)`]},`ok`)],children:(0,$.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`240px 1fr`,gap:16,minHeight:480},children:[(0,$.jsxs)(`div`,{style:{border:`1px solid #eef0f4`,borderRadius:12,padding:12,background:`#fafafa`},children:[(0,$.jsxs)(LH,{style:{width:`100%`,justifyContent:`space-between`,marginBottom:12},children:[(0,$.jsx)(s9,{strong:!0,children:`项目组`}),(0,$.jsx)(X,{size:`small`,icon:(0,$.jsx)(eJ,{}),onClick:y,loading:h})]}),(0,$.jsx)(yK,{spinning:h,children:(0,$.jsx)(DK,{dataSource:a,locale:{emptyText:(0,$.jsx)(gC,{image:gC.PRESENTED_IMAGE_SIMPLE,description:`暂无项目组`})},renderItem:e=>(0,$.jsx)(DK.Item,{onClick:()=>c(e.id),style:{cursor:`pointer`,padding:`10px 12px`,borderRadius:10,marginBottom:6,border:s===e.id?`1px solid #8b5cf6`:`1px solid transparent`,background:s===e.id?`#f5f3ff`:`#fff`},children:(0,$.jsxs)(`div`,{style:{width:`100%`},children:[(0,$.jsx)(s9,{strong:!0,ellipsis:!0,style:{display:`block`},children:e.name}),(0,$.jsxs)(s9,{type:`secondary`,style:{fontSize:12},children:[`Active `,e.activeAssetCount||0]})]})})})})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(LH,{style:{width:`100%`,marginBottom:12},children:[(0,$.jsx)(fG,{allowClear:!0,prefix:(0,$.jsx)(VC,{}),placeholder:`搜索素材名称`,value:l,onChange:e=>u(e.target.value),onPressEnter:b}),(0,$.jsx)(X,{icon:(0,$.jsx)(eJ,{}),onClick:b,loading:_,children:`刷新`})]}),(0,$.jsx)(yK,{spinning:_,children:d.length===0?(0,$.jsx)(gC,{image:gC.PRESENTED_IMAGE_SIMPLE,description:`暂无可选 Active 真人素材`,style:{marginTop:120}}):(0,$.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fill, minmax(140px, 1fr))`,gap:12,maxHeight:420,overflowY:`auto`,paddingRight:4},children:d.map(e=>{let t=p.has(e.id);return(0,$.jsxs)(`div`,{onClick:()=>x(e),style:{cursor:`pointer`,border:t?`2px solid #8b5cf6`:`1px solid #edf0f5`,borderRadius:12,overflow:`hidden`,background:`#fff`,boxShadow:t?`0 8px 20px rgba(139,92,246,0.18)`:`0 4px 12px rgba(15,23,42,0.04)`,position:`relative`},children:[(0,$.jsx)(`div`,{style:{aspectRatio:`1 / 1`,background:`#f8fafc`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:e.previewUrl?(0,$.jsx)(`img`,{src:pae(e.previewUrl),alt:e.name||`真人素材`,style:{width:`100%`,height:`100%`,objectFit:`cover`}}):(0,$.jsx)(m8,{style:{fontSize:32,color:`#94a3b8`}})}),t&&(0,$.jsx)(`div`,{style:{position:`absolute`,top:8,right:8,width:24,height:24,borderRadius:12,background:`#8b5cf6`,color:`#fff`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(FC,{})}),(0,$.jsxs)(`div`,{style:{padding:10},children:[(0,$.jsx)(s9,{strong:!0,ellipsis:!0,style:{display:`block`},children:e.name||`未命名素材`}),(0,$.jsxs)(LH,{style:{marginTop:6},children:[(0,$.jsx)(E$,{color:`green`,children:`Active`}),(0,$.jsx)(E$,{children:e.projectName})]})]})]},e.id)})})})]})]})})},{Header:hae,Sider:gae,Content:_ae}=xG,{TextArea:vae}=fG,{Option:yae}=KC,{Text:c9}=Q,bae=()=>{let[e,t]=(0,S.useState)(!1),[n,r]=(0,S.useState)(`1`),[i,a]=(0,S.useState)([]),{mediaType:o,countType:s,selectedRatio:c,selectedResolution:l,width:u,height:d,videoDuration:f,videoAspectRatio:p,videoResolution:m,engineOptions:h,enginesele:g,inputValue:_,setMediaType:v,setCountType:y,setSelectedRatio:b,setSelectedResolution:x,setWidth:C,setHeight:w,setVideoDuration:T,setVideoAspectRatio:E,setVideoResolution:D,setEngineOptions:O,setEnginesele:k,setInputValue:A,currentMedia:j,setCurrentMedia:M}=Z7(),N=(o===`image`?g?.image:g?.video)?.find(e=>e.id===s),P=N?.maxImageCount??4,F=N?.maxVideoCount??1,[I,L]=(0,S.useState)(!1),[R,z]=(0,S.useState)(!1),[B,V]=(0,S.useState)(`universal`),[H,U]=(0,S.useState)(null),[W,ee]=(0,S.useState)(null),[te,ne]=(0,S.useState)(null),[re,G]=(0,S.useState)(!1),[ie,K]=(0,S.useState)(!1),[ae,q]=(0,S.useState)(!1),oe=(0,S.useRef)(null),se=(0,S.useCallback)(()=>{oe.current&&=(window.clearTimeout(oe.current),null),q(!0)},[]),ce=(0,S.useCallback)(()=>{oe.current&&window.clearTimeout(oe.current),oe.current=window.setTimeout(()=>{q(!1),oe.current=null},260)},[]),[le,ue]=(0,S.useState)(!1),de=(0,S.useRef)(null),[fe,pe]=(0,S.useState)({top:0,left:0}),me=e=>{let t=0,n=0,r=0;return e.map(e=>e.type===`image`?(t++,`图片${t}`):e.type===`video`?(n++,`视频${n}`):(r++,`音频${r}`))},[he,ge]=(0,S.useState)(!1),[_e,ve]=(0,S.useState)(``),[ye,be]=(0,S.useState)(`image`),xe=(0,S.useRef)(null);(0,S.useEffect)(()=>{if(he&&ye===`video`){let e=()=>{xe.current&&xe.current.play().catch(()=>{})};xe.current&&(xe.current.readyState>=2?e():xe.current.addEventListener(`loadedmetadata`,e));let t=setTimeout(e,300);return()=>{clearTimeout(t),xe.current&&(xe.current.removeEventListener(`loadedmetadata`,e),xe.current.pause())}}else xe.current&&xe.current.pause()},[he,ye]);let[Se,Ce]=(0,S.useState)(new Set),we=e=>{if(!e)return null;try{let t=new URL(e).searchParams.get(`exp`);return t?parseInt(t,10):null}catch{try{let t=e.indexOf(`?`);if(t!==-1){let n=e.substring(t+1),r=new URLSearchParams(n).get(`exp`);if(r)return parseInt(r,10)}return null}catch{return null}}},Te=e=>{let t=we(e);return t?Math.floor(Date.now()/1e3)>t:!1},[Ee,De]=(0,S.useState)(!1),[Oe,ke]=(0,S.useState)(``),[Ae,je]=(0,S.useState)(`image`),[Me,Ne]=(0,S.useState)(``),Pe=(0,S.useRef)(null),[Fe,Ie]=(0,S.useState)(null),[Le,Re]=(0,S.useState)(0),[ze,Be]=(0,S.useState)(!1),[Ve,He]=(0,S.useState)(null),[Ue,We]=(0,S.useState)({x:0,y:0}),[Ge,Ke]=(0,S.useState)(!1),[qe,Je]=(0,S.useState)(!1),[Ye,Xe]=(0,S.useState)([]),[Ze,Qe]=(0,S.useState)([]),[$e,et]=(0,S.useState)([]),[tt,nt]=(0,S.useState)(0),[rt,it]=(0,S.useState)(0),[at,ot]=(0,S.useState)(!1),[st,ct]=(0,S.useState)(!1),[lt,ut]=(0,S.useState)([]),[dt,ft]=(0,S.useState)([]),[pt,mt]=(0,S.useState)([]),ht=()=>{let e={};if(e=pt.find(e=>e.modelConfigId===s&&e.genType===o&&e.resolution===(o===`video`?m:l)),e||(o===`video`?(e={perSecondCredits:2,baseCredits:60,ratio:1,inputVideoRatio:1,inputVideoBaseCredits:0,inputVideoPerSecondCredits:.5},m===`1080p`?e.ratio=2:m===`720p`?e.ratio=1.5:m===`480p`&&(e.ratio=1)):(e={perSecondCredits:.1,baseCredits:4,ratio:1},l===`2K`?e.ratio=1:l===`4K`&&(e.ratio=2))),o===`video`){let t=Math.round((f*e.perSecondCredits+e.baseCredits)*e.ratio),n=j.filter(e=>e.type===`video`).reduce((e,t)=>e+(t.duration||0),0);if(n>0){let r=Math.round(((e.inputVideoBaseCredits||0)+(e.inputVideoPerSecondCredits||0)*n)*(e.inputVideoRatio||1));t+=r}return t}else return e.baseCredits*e.ratio},gt=(0,S.useRef)(null),_t=(0,S.useRef)(null),vt=(0,S.useRef)(null);(0,S.useRef)(!0),i.find(e=>e.id===n);let[yt,bt]=(0,S.useState)([]),[xt,St]=(0,S.useState)({page:1,pageSize:20}),[Ct,wt]=(0,S.useState)(0),[Tt,Et]=(0,S.useState)(!1),Dt=(0,S.useRef)(!1);(0,S.useEffect)(()=>()=>{oe.current&&window.clearTimeout(oe.current)},[]);let Ot=(0,S.useCallback)((e=`instant`)=>{let t=_t.current;t&&requestAnimationFrame(()=>{t.scrollTo({top:t.scrollHeight,behavior:e})})},[]);(0,S.useEffect)(()=>{if(yt.length>0&&!Dt.current){let e=setTimeout(()=>{Ot(`smooth`),Dt.current=!0},300);return()=>clearTimeout(e)}},[yt.length,Ot]),(0,S.useEffect)(()=>{let e=o===`image`?g.image:g.video;e&&e.length>0&&(e.some(e=>e.id===s)||y(e[0].id))},[o,g]),(0,S.useEffect)(()=>{let e=e=>{let t=e.target;st&&!t.closest(`.image-settings-popover`)&&!t.closest(`.image-settings-trigger`)&&ct(!1),at&&!t.closest(`.image-settings-popover`)&&!t.closest(`.image-settings-trigger`)&&ot(!1),Ge&&!t.closest(`.image-settings-popover`)&&!t.closest(`.image-settings-trigger`)&&Ke(!1),qe&&!t.closest(`.image-settings-popover`)&&!t.closest(`.image-settings-trigger`)&&Je(!1)};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[st,at,Ge,qe]),(0,S.useEffect)(()=>{if(o!==`video`)return;let e=g?.video?.find(e=>e.id===s);if(!e)return;let t=e.supportsFirstLastFrame??!1,n=e.supportsUniversalReference??!0;V(e=>{if(e===`first_last_frame`&&!t){if(n)return`universal`}else if(e===`universal`&&!n&&t)return`first_last_frame`;return e})},[s,o,g]),(0,S.useEffect)(()=>{b7().then(e=>{if(k(e.engine),e.engine.video&&e.engine.video.length>0){let t=e.engine.video[0],n=e.engine.video.find(e=>e.id===s)||t;O({ratios:n.supportedRatios||[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:n.supportedResolutions||[`480p`,`720p`,`1080p`],durations:n.supportedDurations||[5,8,10,12,15]}),n.supportedRatios?.includes(p)||E(n.supportedRatios?.[0]||`16:9`),n.supportedResolutions?.includes(m)||D(n.supportedResolutions?.[0]||`720p`),n.supportedDurations?.includes(f)||T(n.supportedDurations?.[0]||5),s===`请选择`&&y(n.id)}let t=e.engine?.image?.[0]?.supportedSizes||{},n=[],r=[],i=[];for(let e in t[`2K`])n.push(e),r.push(t[`2K`][e]);Xe(n.map(e=>({value:e,label:e})));for(let e in t[`4K`])i.push(t[`4K`][e]);et([r,i]),Qe([{value:`2K`,label:`高清 2K`},{value:`4K`,label:`超清 4K`}])}).catch(()=>{}),Bre().then(e=>{mt(e)}),x7(xt).then(e=>{let t=e.items,n=e.total;bt(t),wt(n)})},[]),(0,S.useEffect)(()=>{if(vt.current&&=(clearInterval(vt.current),null),yt.some(e=>e.status===`generating`))return vt.current=window.setInterval(()=>{x7(xt).then(e=>{bt(t=>t.map(t=>t.status===`generating`&&e.items.find(e=>e.id===t.id)||t)),wt(e.total)}).catch(e=>{})},1e4),()=>{vt.current&&=(clearInterval(vt.current),null)}},[yt,xt]),(0,S.useEffect)(()=>{if(!Ge)return;let e=e=>{let t=e.target;!t.closest(`.image-settings-popover`)&&!t.closest(`.image-settings-trigger`)&&Ke(!1)};return document.addEventListener(`click`,e),()=>document.removeEventListener(`click`,e)},[Ge]),(0,S.useEffect)(()=>{if(!qe)return;let e=e=>{let t=e.target;!t.closest(`.image-settings-popover`)&&!t.closest(`.image-settings-trigger`)&&Je(!1)};return document.addEventListener(`click`,e),()=>document.removeEventListener(`click`,e)},[qe]),(0,S.useEffect)(()=>{$e[rt]&&$e[rt][tt]!==void 0&&(C(Number($e[rt][tt].substring(0,4))),w(Number($e[rt][tt].substring(5))))},[tt]),(0,S.useEffect)(()=>{$e[rt]&&$e[rt][tt]!==void 0&&(C(Number($e[rt][tt].substring(0,4))),w(Number($e[rt][tt].substring(5))))},[rt]);let kt=e=>{nt(e)},At=e=>{it(parseInt(e===`2K`?`0`:`1`))},jt=()=>{C(d),w(u)},Mt=g?.video?.find(e=>e.id===s),Nt=Mt?.supportsFirstLastFrame??!1,Pt=Mt?.supportsUniversalReference??!0,Ft=e=>{e===`first_last_frame`&&!Nt||e===`universal`&&!Pt||(V(e),G(!1))},It=()=>{let e=H;U(W),ee(e)},Lt=()=>{U(null),ee(null)},Rt=()=>{ee(null)},zt=async()=>{let e=o===`video`&&B===`first_last_frame`;if(e){if(!_.trim()){Z.warning(`请输入内容`);return}}else if(!_.trim()&&j.length===0){Z.warning(`请输入内容或上传图片/视频`);return}let t;e?(t=[],H&&t.push({...H,role:`first_frame`}),W&&t.push({...W,role:`last_frame`}),t.length===0&&(t=void 0)):t=j.length>0?j.map(e=>{if(e.type===`image`){let{duration:t,...n}=e;return n}return e}):void 0,console.log(t);let n={id:``,gen_type:o,original_prompt:_.trim(),engine_id:s,idempotency_key:new Date().toLocaleString(`zh-CN`),media_references:t,...o===`image`&&{image_size:l,image_proportion:c,image_px:u+`x`+d},...o===`video`&&{duration:f,aspect_ratio:p,resolution:m}};z(!0),Lre(n).then(()=>{A(``),M([]),U(null),ee(null);let e={...xt,page:1};St(e),x7(e).then(e=>{bt(t=>[...t,e.items[e.items.length-1]]),wt(e.total),setTimeout(()=>{gt.current?.scrollIntoView({behavior:`smooth`})},100)}).catch(e=>{})}).catch(e=>{let t=`创建任务失败`;e?.response?.data?.detail?t=e.response.data.detail:e?.data?.detail?t=e.data.detail:e?.detail?t=e.detail:e?.message&&(t=e.message),Z.error({content:t,duration:3})}).finally(()=>{z(!1)}),setTimeout(()=>{z(!1)},3e3)},Bt=async()=>{if(yt.length>=Ct)return;let e=_t.current;if(!e)return;let t=e.scrollTop,n=e.scrollHeight;Et(!0);try{let r=xt.page+1,i=await x7({...xt,page:r}),a=Array.isArray(i)?{items:i,total:i.length}:i;a.total&&wt(a.total),St(e=>({...e,page:r})),bt(e=>{let t=new Set(e.map(e=>e.id));return[...a.items.filter(e=>!e.id||t.has(e.id)?!1:(t.add(e.id),!0)),...e]}),setTimeout(()=>{e.scrollTop=t+(e.scrollHeight-n)},200)}catch{}finally{Et(!1)}},Vt=e=>new Promise((t,n)=>{let r=document.createElement(`video`);r.preload=`metadata`,r.onloadedmetadata=()=>{window.URL.revokeObjectURL(r.src),t(r.duration)},r.onerror=()=>{window.URL.revokeObjectURL(r.src),n(Error(`无法获取视频时长`))},r.src=URL.createObjectURL(e)}),Ht=e=>new Promise((t,n)=>{let r=document.createElement(`audio`);r.preload=`metadata`,r.onloadedmetadata=()=>{URL.revokeObjectURL(r.src),t(r.duration)},r.onerror=()=>{URL.revokeObjectURL(r.src),n(Error(`无法获取音频时长`))},r.src=URL.createObjectURL(e)}),Ut=e=>{let t=e.startsWith(`http`)?e:`http://ceshi.apiforeign.minzhong.cn${e}`;if(Fe===t){let e=document.getElementById(`audio-player`);e&&e.pause(),Ie(null)}else Ie(t)},Wt=e=>new Promise((t,n)=>{let r=new Image;r.onload=()=>{window.URL.revokeObjectURL(r.src),t({width:r.naturalWidth,height:r.naturalHeight})},r.onerror=()=>{window.URL.revokeObjectURL(r.src),n(Error(`无法读取图片尺寸`))},r.src=URL.createObjectURL(e)}),Gt=e=>new Promise((t,n)=>{let r=document.createElement(`video`);r.preload=`metadata`,r.onloadedmetadata=()=>{window.URL.revokeObjectURL(r.src),t({width:r.videoWidth,height:r.videoHeight,duration:r.duration})},r.onerror=()=>{window.URL.revokeObjectURL(r.src),n(Error(`无法读取视频尺寸`))},r.src=URL.createObjectURL(e)}),Kt=(e,t)=>{if(e<300||e>6e3)return`图片宽度需在 300~6000px 之间,当前为 ${e}px`;if(t<300||t>6e3)return`图片高度需在 300~6000px 之间,当前为 ${t}px`;let n=e/t;return n<.4||n>2.5?`图片宽高比需在 0.4~2.5 之间,当前为 ${n.toFixed(2)}`:null},qt=(e,t)=>{if(e<300||e>6e3)return`视频宽度需在 300~6000px 之间,当前为 ${e}px`;if(t<300||t>6e3)return`视频高度需在 300~6000px 之间,当前为 ${t}px`;let n=e/t;if(n<.4||n>2.5)return`视频宽高比需在 0.4~2.5 之间,当前为 ${n.toFixed(2)}`;let r=e*t;return r<409600?`视频总像素数过小(${e}×${t}=${r}),需 ≥ 640×640=409600`:r>8295044?`视频总像素数过大(${e}×${t}=${r}),需 ≤ 3326×2494=8295044`:null},Jt=async(e,t)=>{let n=e.type.startsWith(`image/`),r=e.type.startsWith(`video/`);if(o===`video`&&B===`first_last_frame`){if(!n)return Z.error(`首尾帧模式仅支持上传图片`),!1;if(e.size/1024/1024>10)return Z.error(`图片大小不能超过10MB`),!1;let r=t||te;if(!r)return Z.error(`请选择首帧或尾帧上传位置`),!1;L(!0);try{let t=await c7(e),n={name:e.name,type:`image`,url:t.url,role:r===`first`?`first_frame`:`last_frame`};r===`first`?U(n):ee(n),Z.success(`图片上传成功`)}catch{Z.error(`上传失败`)}finally{L(!1),ne(null)}return!1}let i=e.type.startsWith(`audio/`);if(!n&&!r&&!i)return Z.error(`仅支持图片、视频或音频文件`),!1;if(i){let t=e.name.split(`.`).pop()?.toLowerCase();if(![`wav`,`mp3`].includes(t||``))return Z.error(`音频仅支持wav和mp3格式`),!1}if(o===`image`&&(r||i))return Z.error(`图片模式仅支持上传图片`),!1;if(i&&o!==`video`)return Z.error(`仅视频模式支持上传音频`),!1;let a=r?100:i?50:10,s=r?`视频`:i?`音频`:`图片`;if(e.size/1024/1024>a)return Z.error(`${s}大小不能超过${a}MB`),!1;if(n)try{let{width:t,height:n}=await Wt(e),r=Kt(t,n);if(r)return Z.error(r),!1}catch{return Z.error(`无法读取图片尺寸,请检查文件是否损坏`),!1}let c=j.filter(e=>e.type===`image`).length;if(n&&c>=fn)return Z.error(`该引擎最多上传${fn}张图片`),!1;let l=j.filter(e=>e.type===`video`).length;if(r&&l>=pn)return Z.error(`该引擎最多上传${pn}个视频`),!1;let u=j.filter(e=>e.type===`audio`).length;if(i&&u>=mn)return Z.error(`该引擎最多上传${mn}个音频`),!1;let d=0,f=0;if(r)try{if(d=await Vt(e),d<2)return Z.error(`视频素材最短不能少于 2 秒`),!1;let t=j.filter(e=>e.type===`video`).reduce((e,t)=>e+(t.duration||0),0);if(t+d>15)return Z.error(`所有视频素材总时长不能超过 15 秒,当前 ${(t+d).toFixed(1)} 秒`),!1;let{width:n,height:r}=await Gt(e),i=qt(n,r);if(i)return Z.error(i),!1}catch{return Z.error(`无法获取视频信息,请检查文件是否损坏`),!1}if(i)try{if(f=await Ht(e),f<2)return Z.error(`音频素材最短不能少于 2 秒`),!1;let t=j.filter(e=>e.type===`audio`).reduce((e,t)=>e+(t.duration||0),0);if(t+f>15)return Z.error(`所有音频素材总时长不能超过 15 秒,当前 ${(t+f).toFixed(1)} 秒`),!1}catch{return Z.error(`无法获取音频信息,请检查文件是否损坏`),!1}L(!0);try{let t=await(n?c7:i?Ere:l7)(e),a=n?`image`:i?`audio`:`video`,o=[...j,{name:e.name,type:a,url:t.url,label:``,...r&&{duration:d},...i&&{duration:f}}],s=me(o);M(o.map((e,t)=>({...e,label:s[t]}))),Z.success(`${n?`图片`:i?`音频`:`视频`}上传成功`)}catch{Z.error(`上传失败`)}finally{L(!1)}return!1},Yt=e=>{if(o!==`video`){Z.warning(`真人素材库第一版仅支持视频创作参考`);return}let t=j.filter(e=>e.type===`image`).length,n=Math.max(0,fn-t);if(e.length>n){Z.warning(`当前引擎最多还能添加 ${n} 张图片参考`);return}let r=e.map(e=>({name:e.name||`真人素材`,type:`image`,url:e.previewUrl||``,source:`private_portrait_asset`,private_asset_id:e.id,label:``})),i=[...j,...r],a=me(i);M(i.map((e,t)=>({...e,label:a[t]}))),Z.success(`已添加 ${e.length} 个真人素材参考`)},Xt=e=>e?e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(`data:`)||e.startsWith(`blob:`)?e:`${`http://ceshi.apiforeign.minzhong.cn`.replace(/\/$/,``)}${e.startsWith(`/`)?``:`/`}${e}`:``,Zt=e=>{let t=j.filter((t,n)=>n!==e),n=me(t);M(t.map((e,t)=>({...e,label:n[t]})))},Qt=e=>{e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),zt())},$t=(e,t)=>{let n=e.selectionStart;return t.slice(0,n).match(/@([^@\s]*)$/)&&j.length>0?(ue(!0),!0):(ue(!1),!1)},en=e=>{let t=e.target.value;A(t);let n=e.target;$t(n,t)},tn=e=>{le&&e.key===`Escape`&&ue(!1)},nn=e=>{let t=de.current?.resizableTextArea?.textArea;if(!t)return;let n=t.selectionStart,r=_.slice(0,n),i=_.slice(n),a=r.lastIndexOf(`@`);if(a===-1){ue(!1);return}A(r.slice(0,a)+`@${e} `+i),ue(!1),setTimeout(()=>{let n=a+e.length+2;t.focus(),t.setSelectionRange(n,n)},0)},rn=()=>{ge(!1),ve(``),xe.current&&xe.current.pause()},an=e=>{if(e.preventDefault(),e.stopPropagation(),!_e)return;let t=document.createElement(`a`);t.href=`http://ceshi.apiforeign.minzhong.cn${_e}&download=1`,t.download=ye===`image`?`image.png`:`video.mp4`,document.body.appendChild(t),t.click(),document.body.removeChild(t)},on=e=>{let t=String(e?.type||``).toLowerCase(),n=String(e?.url||e?.name||``).toLowerCase();return t.includes(`video`)||/\.(mp4|mov|avi|webm|m4v)(\?|$)/.test(n)?`video`:t.includes(`audio`)||/\.(mp3|wav|ogg|aac|m4a)(\?|$)/.test(n)?`audio`:`image`},sn=e=>e?/^https?:\/\//i.test(e)?e:`http://ceshi.apiforeign.minzhong.cn${e}`:``,cn=e=>{e?.url&&(ke(e.url),je(on(e)),Ne(e.name||`附件`),De(!0))},ln=o===`video`&&B===`first_last_frame`,un=ln?!!(_.trim()||H):!!(_.trim()||j.length>0),dn=o===`image`?`输入画面描述,或上传图片参考风格、构图、主体与光影。例:@图片1 参考色调,生成一张简洁高级的产品海报。`:ln?`描述首帧到尾帧的主体动作、镜头运动、节奏与转场。例:从首帧自然推进到尾帧,产品居中突出,动作平滑连贯。`:`上传最多12个参考素材,输入文字或 @ 引用参考内容,自由组合图、文、视频。例:@图片1 模仿 @视频1 的动作。`,fn=P,pn=F,mn=N?.maxAudioCount??1;return(0,$.jsxs)(xG,{className:`ai-create-page`,style:{margin:`-24px -32px -32px`,borderRadius:22,height:`calc(100vh - 34px)`,background:`#fff`,overflow:`hidden`},children:[(0,$.jsx)(`audio`,{id:`audio-player`,src:Fe||``,autoPlay:!0,onEnded:()=>Ie(null),style:{display:`none`}}),!1,(0,$.jsxs)(xG,{style:{display:`flex`,flex:1,background:`#fff`},children:[(0,$.jsx)(`div`,{className:`animate-fadeInUp`,style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,padding:`16px 24px`,borderRadius:22,background:`rgb(255, 255, 255)`,backdropFilter:`blur(22px)`,border:`1px solid rgba(231, 234, 240, 0.82)`,position:`relative`,overflow:`hidden`,flexWrap:`wrap`,gap:12},children:(0,$.jsxs)(`div`,{style:{width:`100%`,display:`flex`,alignItems:`center`,gap:16},children:[(0,$.jsx)(`div`,{style:{width:`15%`,height:1,background:`linear-gradient(90deg, transparent, rgba(117,106,136,0.18), rgba(232,227,236,0.48), transparent)`,borderRadius:1}}),(0,$.jsxs)(`div`,{style:{flex:1,minWidth:0,textAlign:`center`},children:[(0,$.jsx)(`h2`,{style:{margin:0,fontSize:18,fontWeight:700,color:`#8b5cf6`,letterSpacing:.4},children:`AI创作`}),(0,$.jsx)(`p`,{style:{fontSize:13,color:`#667085`,margin:`4px 0 0 0`},children:`输入想法、剧本或上传参考,智能生成视频/图片`})]}),(0,$.jsx)(`div`,{style:{width:`15%`,height:1,background:`linear-gradient(90deg, transparent, rgba(232,227,236,0.48), rgba(117,106,136,0.18), transparent)`,borderRadius:1}})]})}),(0,$.jsxs)(_ae,{style:{flex:1,margin:0,padding:`20px 24px 22px`,boxSizing:`border-box`,display:`flex`,flexDirection:`column`,overflow:`hidden`,minHeight:0},children:[yt.length===0&&(0,$.jsxs)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`},children:[(0,$.jsx)(`div`,{style:{width:80,height:80,borderRadius:50,background:`linear-gradient(135deg, #8b5cf6 0%, #ddd6fe 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,marginBottom:16},children:(0,$.jsx)(R8,{style:{fontSize:40,color:`#fff`}})}),(0,$.jsx)(`h2`,{style:{margin:0,fontSize:18,fontWeight:500,color:`#2f3440`},children:`你好,想创作什么?`}),(0,$.jsx)(`p`,{style:{margin:8,fontSize:13,color:`#98a2b3`},children:`输入想法、剧本或上传参考,开始你的创作之旅`})]}),yt.length>0&&(0,$.jsxs)(`div`,{ref:_t,className:`ai-create-scroll`,style:{flex:1,overflowY:`auto`,paddingRight:10,paddingBottom:18,background:`#fff`},children:[(0,$.jsx)(`div`,{style:{padding:`8px 0`,textAlign:`center`,marginBottom:16},children:yt.length>=Ct?(0,$.jsx)(`span`,{style:{fontSize:12,color:`#98a2b3`},children:`消息全部加载`}):(0,$.jsx)(`button`,{onClick:Bt,disabled:Tt,style:{fontSize:12,color:`#8b5cf6`,background:`none`,border:`none`,cursor:Tt?`not-allowed`:`pointer`},children:Tt?`加载中...`:`加载更多`})}),(()=>{let e=Z;return yt.map(t=>(0,$.jsx)(`div`,{style:{width:`100%`,display:`flex`,justifyContent:`flex-start`,marginBottom:16},children:(0,$.jsxs)(`div`,{style:{width:`100%`,display:`flex`,gap:10},children:[(0,$.jsx)(`div`,{style:{width:36,height:36,borderRadius:12,background:`linear-gradient(135deg, #8b5cf6 0%, #ddd6fe 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,flexShrink:0},children:(0,$.jsx)(R8,{style:{color:`#fff`,fontSize:16}})}),(0,$.jsx)(`div`,{style:{flex:1},children:(0,$.jsxs)(`div`,{style:{background:`rgba(255, 255, 255, 0.92)`,backdropFilter:`blur(18px)`,borderRadius:`22px`,padding:`14px 16px`,width:`70%`,minWidth:500,boxSizing:`border-box`,boxShadow:`0 18px 50px rgba(47, 52, 64, 0.075)`,position:`relative`,border:`1px solid rgba(231, 234, 240, 0.9)`},children:[(0,$.jsxs)(`div`,{style:{margin:4,fontSize:11,color:`#98a2b3`,textAlign:`left`,display:`flex`,flexWrap:`wrap`,gap:8,alignItems:`center`},children:[(0,$.jsx)(`span`,{children:t.createdAt?.replace(`T`,` `).split(`.`)[0]}),(0,$.jsx)(`span`,{style:{background:(t.genType,`rgba(139, 92, 246, 0.10)`),color:(t.genType,`#8b5cf6`),padding:`2px 8px`,borderRadius:12,fontWeight:500,fontSize:11,marginLeft:8},children:t.genType===`image`?`图片生成`:`视频生成`})]}),t.mediaReferences&&t.mediaReferences.length>0&&(0,$.jsx)(`div`,{style:{position:`absolute`,top:8,right:8,zIndex:100},children:(0,$.jsx)(`span`,{style:{padding:`4px 12px`,borderRadius:16,color:`#8b5cf6`,cursor:`pointer`,fontWeight:500,border:`1px solid rgba(139, 92, 246, 0.2)`,background:`rgba(139, 92, 246, 0.04)`},onClick:e=>{e.stopPropagation();let n=e.currentTarget.getBoundingClientRect();We({x:n.left,y:n.top-10}),He(t.id),Be(!0)},children:`附件详情`})}),(0,$.jsxs)(`div`,{style:{position:`absolute`,bottom:8,right:8,zIndex:100,display:`flex`,gap:6},children:[(0,$.jsxs)(`button`,{onClick:n=>{if(n.stopPropagation(),A(t.originalPrompt||``),t.mediaReferences&&t.mediaReferences.length>0)if(t.mediaReferences.some(e=>e.role===`first_frame`||e.role===`last_frame`)&&t.genType===`video`){let e=t.mediaReferences.find(e=>e.role===`first_frame`),n=t.mediaReferences.find(e=>e.role===`last_frame`);U(e?{...e,label:e.label||``}:null),ee(n?{...n,label:n.label||``}:null),M([]),V(`first_last_frame`)}else M(t.mediaReferences.map(e=>({name:e.name,type:e.type,url:e.url,label:e.label||``,role:e.role}))),U(null),ee(null),V(`universal`);else M([]),U(null),ee(null);e.success(`已加载到编辑区`)},style:{height:28,padding:`0 10px`,borderRadius:10,border:`none`,background:`rgba(139, 92, 246, 0.08)`,color:`#8b5cf6`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,transition:`all 0.2s ease`,gap:4,fontSize:12},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(139, 92, 246, 0.15)`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(139, 92, 246, 0.08)`},children:[(0,$.jsx)(eJ,{style:{fontSize:12}}),`重新编辑`]}),(0,$.jsx)(JK,{title:`确定要删除吗?`,onConfirm:async()=>{try{await zre(t.id),e.success(`删除成功`),bt(e=>e.filter(e=>e.id!==t.id)),wt(e=>e-1)}catch(t){let n=t?.response?.data?.message||t?.message||`删除失败`;e.error(n)}},okText:`确定`,cancelText:`取消`,children:(0,$.jsxs)(`button`,{onClick:e=>e.stopPropagation(),style:{height:28,padding:`0 10px`,borderRadius:10,border:`none`,background:`rgba(139, 92, 246, 0.08)`,color:`#8b5cf6`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,transition:`all 0.2s ease`,gap:4,fontSize:12},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(164, 91, 91, 0.1)`,e.currentTarget.style.color=`#A45B5B`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(139, 92, 246, 0.08)`,e.currentTarget.style.color=`#8b5cf6`},children:[(0,$.jsx)(B$,{style:{fontSize:12}}),`删除`]})})]}),(t.status===`generating`||t.status===`failed`||t.status===`completed`)&&(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16,marginBottom:16,marginTop:16,width:`100%`,alignItems:`flex-start`},children:[(0,$.jsx)(`div`,{style:{width:`50%`,overflow:`hidden`,borderRadius:12,position:`relative`,height:220,border:`1px solid #E7EAF0`,boxShadow:`0 4px 12px rgba(139, 92, 246, 0.08)`,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`linear-gradient(135deg, #ffffff 0%, #FAFBFC 100%)`},children:t.status===`generating`?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:12,left:12,display:`flex`,alignItems:`center`,gap:8,zIndex:2}}),(0,$.jsx)(`div`,{style:{position:`absolute`,inset:0,background:`linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%)`,animation:`shimmer 2s infinite`}}),(0,$.jsxs)(`div`,{style:{position:`absolute`,top:`50%`,left:`50%`,transform:`translate(-50%, -50%)`,display:`flex`,flexDirection:`column`,alignItems:`center`,gap:16},children:[(0,$.jsx)(`div`,{style:{width:64,height:64,borderRadius:`50%`,background:`rgba(139, 92, 246, 0.1)`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 0 30px rgba(139, 92, 246, 0.2)`},children:(0,$.jsx)(`div`,{style:{width:48,height:48,border:`3px solid #ddd6fe`,borderTopColor:`#8b5cf6`,borderRadius:`50%`,animation:`spin 1s linear infinite`}})}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#8b5cf6`,fontWeight:500},children:`生成中...`})]})]}):t.status===`failed`?(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:48,height:48,borderRadius:`50%`,background:`rgba(168, 90, 106, 0.10)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(are,{style:{color:`#A45B5B`,fontSize:22}})}),(0,$.jsx)(`span`,{style:{fontSize:14,color:`#A45B5B`,fontWeight:620},children:`生成失败(积分已退)`}),t.errorMessage&&(0,$.jsx)(`span`,{style:{fontSize:13,color:`#A45B5B`,textAlign:`center`,padding:`0 8px`,lineHeight:1.5},children:t.errorMessage})]}):(0,$.jsx)($.Fragment,{children:t.genType===`image`?(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn/static${t.imageUrl}&w=300&p=50`,alt:t.name,style:{width:`100%`,height:`100%`,borderRadius:12,objectFit:`contain`,cursor:`pointer`,transition:`transform 0.3s ease`},onClick:()=>{ve(t.imageUrl),be(`image`),ge(!0)},onMouseEnter:e=>{e.currentTarget.style.transform=`scale(1.05)`},onMouseLeave:e=>{e.currentTarget.style.transform=`scale(1)`}}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn/static${t.videoCoverUrl}&w=300&p=50`,alt:t.name,style:{width:`100%`,height:`100%`,borderRadius:12,objectFit:`contain`,cursor:`pointer`,transition:`transform 0.3s ease`},onClick:()=>{ve(t.videoUrl),be(`video`),ge(!0)},onMouseEnter:e=>{e.currentTarget.style.transform=`scale(1.05)`},onMouseLeave:e=>{e.currentTarget.style.transform=`scale(1)`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:`50%`,left:`50%`,transform:`translate(-50%, -50%)`,width:56,height:56,background:`rgba(47, 52, 64, 0.72)`,borderRadius:`50%`,display:`flex`,alignItems:`center`,justifyContent:`center`,pointerEvents:`none`,boxShadow:`0 10px 24px rgba(47, 52, 64, 0.22)`},children:(0,$.jsx)(`svg`,{width:`24`,height:`24`,viewBox:`0 0 24 24`,fill:`#fff`,children:(0,$.jsx)(`path`,{d:`M8 5v14l11-7z`})})})]})})}),(0,$.jsxs)(`div`,{style:{width:`50%`,display:`flex`,flexDirection:`column`,gap:12},children:[(0,$.jsx)(`div`,{style:{background:`#FFFFFF`,borderRadius:12,padding:12,border:`1px solid #E7EAF0`,flex:1,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`p`,{style:{width:`100%`,height:150,overflow:`auto`,padding:0,marginTop:0,marginBottom:0,lineHeight:2,color:`#475467`,fontSize:13},children:t.originalPrompt})}),(0,$.jsxs)(`div`,{style:{fontSize:12,color:`#667085`,textAlign:`left`,display:`flex`,flexWrap:`wrap`,gap:12,alignItems:`center`,justifyContent:`space-between`,marginBottom:12},children:[(0,$.jsx)(`span`,{style:{borderRadius:16,color:`#8b5cf6`,fontWeight:500},children:t.engineSnapshot.name}),(0,$.jsx)(`span`,{style:{borderRadius:16,color:`#667085`},children:t.genType===`image`?`${t.imageProportion||``} · ${t.imagePx||``} · ${t.imageSize||``}`:`${t.duration||``}s · ${t.aspectRatio||``} · ${t.resolution||``}`}),(0,$.jsxs)(`span`,{style:{fontSize:14,borderRadius:16,color:`#8b5cf6`},children:[`消耗积分:`,t.creditsCost]})]})]})]})]})})]})},t.id))})(),(0,$.jsx)(`div`,{ref:gt})]}),ze&&Ve&&(()=>{let e=yt.find(e=>e.id===Ve)?.mediaReferences||[];return(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{position:`fixed`,top:0,left:0,right:0,bottom:0,background:`transparent`,zIndex:9998},onClick:()=>{Be(!1),He(null)}}),(0,$.jsxs)(`div`,{className:`ai-reference-expanded-tray ai-attachment-popover`,style:{position:`fixed`,top:`max(84px, ${Ue.y-96}px)`,left:`max(24px, min(${Ue.x-250}px, calc(100vw - 456px)))`,width:424,padding:`12px 12px 10px`,borderRadius:18,background:`rgba(255,255,255,0.98)`,border:`1px solid #E7EAF0`,boxShadow:`0 24px 60px rgba(31, 41, 55, 0.12)`,backdropFilter:`blur(18px)`,zIndex:9999,pointerEvents:`auto`},onClick:e=>e.stopPropagation(),children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:10},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:2},children:[(0,$.jsx)(`span`,{style:{fontSize:13,color:`#344054`,fontWeight:800},children:`参考附件`}),(0,$.jsx)(`span`,{style:{fontSize:11,color:`#98A2B3`,fontWeight:600},children:`点击素材查看,或直接下载原文件`})]}),(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:(0,$.jsx)(`button`,{onClick:()=>{Be(!1),He(null)},style:{width:26,height:26,borderRadius:`50%`,border:`1px solid transparent`,background:`#F6F7FA`,cursor:`pointer`,color:`#98a2b3`,display:`flex`,alignItems:`center`,justifyContent:`center`,transition:`all 0.2s ease`},onMouseEnter:e=>{e.currentTarget.style.background=`#EEF1F6`,e.currentTarget.style.color=`#2f3440`},onMouseLeave:e=>{e.currentTarget.style.background=`#F6F7FA`,e.currentTarget.style.color=`#98a2b3`},children:(0,$.jsx)(ju,{style:{fontSize:12}})})})]}),(0,$.jsx)(`div`,{className:`ai-reference-tray-scroll`,style:{display:`flex`,gap:10,overflowX:`auto`,padding:`2px 2px 4px`},children:e.map((e,t)=>{let n=on(e),r=e.label||(e.role===`first_frame`?`首帧`:e.role===`last_frame`?`尾帧`:`${n===`image`?`图片`:n===`video`?`视频`:`音频`}${t+1}`);return(0,$.jsxs)(`div`,{style:{flex:`0 0 92px`,width:92,borderRadius:16,background:`#FFFFFF`,border:`1px solid #E7EAF0`,boxShadow:`0 8px 18px rgba(31, 41, 55, 0.06)`,padding:7,boxSizing:`border-box`},children:[(0,$.jsx)(`div`,{onClick:t=>{n===`audio`?(t.stopPropagation(),Ut(e.url)):(cn(e),Be(!1),He(null))},style:{position:`relative`,width:`100%`,height:70,borderRadius:12,overflow:`hidden`,cursor:`pointer`,background:`#F7F8FA`,border:`1px solid rgba(231, 234, 240, 0.9)`},children:n===`image`?(0,$.jsx)(`img`,{src:sn(e.url),alt:e.name||r,style:{width:`100%`,height:`100%`,objectFit:`cover`,display:`block`}}):n===`video`?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`video`,{src:sn(e.url),muted:!0,playsInline:!0,style:{width:`100%`,height:`100%`,objectFit:`cover`,display:`block`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`rgba(31, 41, 55, 0.08)`},children:(0,$.jsx)(`div`,{style:{width:28,height:28,borderRadius:`50%`,background:`rgba(47, 52, 64, 0.72)`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 8px 18px rgba(31, 41, 55, 0.22)`},children:(0,$.jsx)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`#fff`,children:(0,$.jsx)(`path`,{d:`M8 5v14l11-7z`})})})})]}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%)`},children:Fe===(e.url.startsWith(`http`)?e.url:`http://ceshi.apiforeign.minzhong.cn${e.url}`)?(0,$.jsx)(a8,{style:{fontSize:24,color:`#fff`}}):(0,$.jsx)(a4,{style:{fontSize:24,color:`#fff`}})})}),(0,$.jsx)(`div`,{title:e.name||r,style:{marginTop:6,color:`#667085`,fontSize:10,fontWeight:700,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,textAlign:`center`},children:e.name||r}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:5,marginTop:7},children:(0,$.jsx)(`button`,{onClick:()=>{cn(e),Be(!1),He(null)},style:{flex:1,height:24,borderRadius:9,border:`1px solid #E7EAF0`,background:`#F8FAFC`,color:`#8b5cf6`,fontSize:11,fontWeight:700,cursor:`pointer`,transition:`all 0.2s ease`},onMouseEnter:e=>{e.currentTarget.style.background=`#EEF1F6`},onMouseLeave:e=>{e.currentTarget.style.background=`#F8FAFC`},children:`查看`})})]},`${e.url||e.name||t}-${t}`)})})]})]})})(),(0,$.jsxs)(`div`,{style:{position:`relative`,background:`#ffffff`,borderRadius:24,padding:`18px 72px 16px 20px`,boxShadow:`0 22px 64px rgba(31, 41, 55, 0.08), 0 1px 0 rgba(255,255,255,0.98) inset`,transition:`all 0.25s ease`,border:`1px solid rgba(231, 234, 240, 0.78)`,backdropFilter:`blur(24px)`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:18,alignItems:`flex-end`,marginBottom:14},children:[(0,$.jsx)(`div`,{style:{width:ln?220:70,minWidth:ln?220:70,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`flex-start`,paddingTop:2,gap:8},children:o===`video`&&B===`first_last_frame`?(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`row`,alignItems:`stretch`,gap:12,width:`100%`,height:100},children:[(0,$.jsxs)(`div`,{style:{position:`relative`,flex:1,minWidth:0,height:100,borderRadius:12,border:`1px solid #E7EAF0`,background:`#ffffff`,boxShadow:`0 6px 16px rgba(47, 52, 64, 0.04)`,overflow:`hidden`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:8,left:10,right:10,display:`flex`,alignItems:`center`,justifyContent:`space-between`,zIndex:2},children:(0,$.jsx)(`span`,{style:{fontSize:11,fontWeight:600,color:`#8b5cf6`,lineHeight:1},children:`首帧`})}),H?(0,$.jsxs)(`div`,{style:{position:`absolute`,left:10,right:10,bottom:10,height:64},children:[(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${H.url}`,alt:H.name,onClick:()=>{ke(H.url),je(`image`),Ne(H.name),De(!0)},style:{width:`100%`,height:`100%`,objectFit:`cover`,borderRadius:8,cursor:`pointer`,border:`1px solid rgba(139, 92, 246, 0.2)`,boxShadow:`0 3px 10px rgba(47, 52, 64, 0.06)`}}),(0,$.jsx)(`button`,{onClick:Lt,style:{position:`absolute`,top:-6,right:-6,width:18,height:18,border:`none`,background:`#A45B5B`,borderRadius:50,cursor:`pointer`,color:`#fff`,fontSize:9,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 2px 4px rgba(164, 91, 91, 0.3)`,zIndex:10},children:(0,$.jsx)(B$,{style:{fontSize:9}})})]}):(0,$.jsx)(Y0,{accept:`image/*`,showUploadList:!1,beforeUpload:e=>Jt(e,`first`),children:(0,$.jsxs)(`div`,{style:{position:`absolute`,left:10,right:10,bottom:10,height:64,borderRadius:8,border:`1px dashed rgba(139, 92, 246, 0.28)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,transition:`all 0.25s ease`,backgroundColor:`rgba(139, 92, 246, 0.04)`,flexDirection:`column`,gap:4},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#a78bfa`,e.currentTarget.style.backgroundColor=`rgba(139, 92, 246, 0.08)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(139, 92, 246, 0.28)`,e.currentTarget.style.backgroundColor=`rgba(139, 92, 246, 0.04)`},children:[(0,$.jsx)(NL,{style:{fontSize:18,color:`#8b5cf6`}}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#8b5cf6`,fontWeight:500},children:`上传首帧`})]})})]}),(0,$.jsx)(`button`,{onClick:It,disabled:!H||!W,title:`调换首尾帧`,style:{width:32,height:32,alignSelf:`center`,borderRadius:50,border:`1px solid rgba(231, 234, 240, 0.95)`,background:H&&W?`linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%)`:`#F3F5F8`,cursor:H&&W?`pointer`:`not-allowed`,color:H&&W?`#fff`:`#98A2B3`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:H&&W?`0 6px 14px rgba(139, 92, 246, 0.24)`:`none`,transition:`all 0.2s ease`,flexShrink:0},onMouseEnter:e=>{H&&W&&(e.currentTarget.style.transform=`scale(1.06)`)},onMouseLeave:e=>{e.currentTarget.style.transform=`scale(1)`},children:(0,$.jsx)(gW,{style:{fontSize:14}})}),(0,$.jsxs)(`div`,{style:{position:`relative`,flex:1,minWidth:0,height:100,borderRadius:12,border:`1px solid #E7EAF0`,background:`#ffffff`,boxShadow:`0 6px 16px rgba(47, 52, 64, 0.04)`,overflow:`hidden`,opacity:H?1:.5},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:8,left:10,right:10,display:`flex`,alignItems:`center`,justifyContent:`space-between`,zIndex:2},children:(0,$.jsx)(`span`,{style:{fontSize:11,fontWeight:600,color:`#8b5cf6`,lineHeight:1},children:`尾帧`})}),W?(0,$.jsxs)(`div`,{style:{position:`absolute`,left:10,right:10,bottom:10,height:64},children:[(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${W.url}`,alt:W.name,onClick:()=>{ke(W.url),je(`image`),Ne(W.name),De(!0)},style:{width:`100%`,height:`100%`,objectFit:`cover`,borderRadius:8,cursor:`pointer`,border:`1px solid rgba(139, 92, 246, 0.2)`,boxShadow:`0 3px 10px rgba(47, 52, 64, 0.06)`}}),(0,$.jsx)(`button`,{onClick:Rt,style:{position:`absolute`,top:-6,right:-6,width:18,height:18,border:`none`,background:`#A45B5B`,borderRadius:50,cursor:`pointer`,color:`#fff`,fontSize:9,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 2px 4px rgba(164, 91, 91, 0.3)`,zIndex:10},children:(0,$.jsx)(B$,{style:{fontSize:9}})})]}):H?(0,$.jsx)(Y0,{accept:`image/*`,showUploadList:!1,beforeUpload:e=>Jt(e,`last`),children:(0,$.jsxs)(`div`,{style:{position:`absolute`,left:10,right:10,bottom:10,height:64,borderRadius:8,border:`1px dashed rgba(139, 92, 246, 0.24)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,transition:`all 0.25s ease`,backgroundColor:`rgba(139, 92, 246, 0.04)`,flexDirection:`column`,gap:4},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#a78bfa`,e.currentTarget.style.backgroundColor=`rgba(139, 92, 246, 0.08)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(139, 92, 246, 0.24)`,e.currentTarget.style.backgroundColor=`rgba(139, 92, 246, 0.04)`},children:[(0,$.jsx)(NL,{style:{fontSize:18,color:`#8b5cf6`}}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#8b5cf6`,fontWeight:500},children:`上传尾帧`})]})}):(0,$.jsxs)(`div`,{style:{position:`absolute`,left:10,right:10,bottom:10,height:64,borderRadius:8,border:`1px dashed rgba(226, 232, 240, 0.4)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`not-allowed`,backgroundColor:`rgba(241, 245, 249, 0.5)`,flexDirection:`column`,gap:4},children:[(0,$.jsx)(NL,{style:{fontSize:18,color:`#cbd5e1`}}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#94a3b8`,fontWeight:500},children:`请先上传首帧`})]})]})]}):(0,$.jsx)($.Fragment,{children:!(o===`video`&&B===`first_last_frame`)&&(0,$.jsxs)(`div`,{style:{position:`relative`,width:64,height:72,marginTop:`-10`},onMouseEnter:se,onMouseLeave:ce,children:[j.length===0&&(0,$.jsx)(Y0,{accept:o===`image`?`image/*`:`image/*,video/*,audio/*`,showUploadList:!1,beforeUpload:Jt,children:(0,$.jsx)(Iw,{title:o===`image`?`图片${j.filter(e=>e.type===`image`).length}/${P}`:`图片${j.filter(e=>e.type===`image`).length}/${P}, 视频${j.filter(e=>e.type===`video`).length}/${F}${mn>0?`, - 音频${j.filter(e=>e.type===`audio`).length}/${mn}`:``}`,children:(0,$.jsx)(`div`,{style:{width:54,height:74,borderRadius:7,border:`1px solid rgba(231, 234, 240, 0.95)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,transition:`all 0.25s ease`,background:`#ffffff`,flexDirection:`column`,gap:5,transform:`rotate(-7deg)`,boxShadow:`0 9px 20px rgba(47, 52, 64, 0.10), inset 0 1px 0 rgba(255,255,255,0.95)`},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#D7DDE7`,e.currentTarget.style.background=`linear-gradient(180deg, #ffffff 0%, #F7F8FA 100%)`,e.currentTarget.style.transform=`rotate(0deg) translateY(-2px)`,e.currentTarget.style.boxShadow=`0 14px 28px rgba(47, 52, 64, 0.15), inset 0 1px 0 rgba(255,255,255,0.98)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(231, 234, 240, 0.95)`,e.currentTarget.style.background=`linear-gradient(180deg, #ffffff 0%, #FAFBFC 100%)`,e.currentTarget.style.transform=`rotate(-7deg)`,e.currentTarget.style.boxShadow=`0 9px 20px rgba(47, 52, 64, 0.10), inset 0 1px 0 rgba(255,255,255,0.95)`},children:I?(0,$.jsx)(Zm,{style:{fontSize:17,color:`#667085`}}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(IL,{style:{fontSize:18,color:`#667085`,lineHeight:1}}),(0,$.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(2, 14px)`,columnGap:2,justifyContent:`center`,color:`#344054`,fontSize:12,fontWeight:700,lineHeight:1.05,letterSpacing:0},children:[(0,$.jsxs)(`span`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,gap:1},children:[(0,$.jsx)(`span`,{children:`参`}),(0,$.jsx)(`span`,{children:`考`})]}),(0,$.jsxs)(`span`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,gap:1},children:[(0,$.jsx)(`span`,{children:`内`}),(0,$.jsx)(`span`,{children:`容`})]})]})]})})})}),o===`video`&&j.length===0&&(0,$.jsx)(X,{size:`small`,onClick:()=>K(!0),style:{marginTop:8,borderRadius:8,color:`#8b5cf6`,borderColor:`#ddd6fe`,background:`#fff`},children:`真人素材库`}),j.length>0&&(0,$.jsx)($.Fragment,{children:j.map((e,t)=>{let n=Math.min(j.length,3)-1-t,r=ae?t*58:t<3?t*6:18,i=ae?!0:t<3;return(0,$.jsx)(`div`,{style:{position:`absolute`,left:r,bottom:0,zIndex:t+1,transition:`all 0.28s cubic-bezier(0.4, 0, 0.2, 1)`,transform:ae?`scale(1) rotate(0deg)`:`scale(${t<3?1-n*.08:0}) rotate(${t<3?-3+t*1.5:0}deg)`,opacity:i?ae?1:1-n*.15:0,pointerEvents:i?`auto`:`none`},children:(0,$.jsxs)(`div`,{style:{position:`relative`,width:52,height:60},children:[e.type===`image`?(0,$.jsx)(`img`,{src:Xt(e.url),alt:e.name,onClick:()=>{ke(e.url),je(`image`),Ne(e.name),De(!0)},style:{width:52,height:60,objectFit:`cover`,borderRadius:10,cursor:`pointer`,border:`1px solid rgba(255,255,255,0.98)`,boxShadow:`0 4px 12px rgba(31,41,55,0.15)`}}):e.type===`video`?(0,$.jsx)(`video`,{src:Xt(e.url),muted:!0,onClick:()=>{ke(e.url),je(`video`),Ne(e.name),De(!0)},style:{width:52,height:60,objectFit:`cover`,borderRadius:10,cursor:`pointer`,border:`1px solid rgba(255,255,255,0.98)`,boxShadow:`0 4px 12px rgba(31,41,55,0.15)`}}):(0,$.jsx)(`div`,{onClick:t=>{t.stopPropagation(),Ut(e.url)},style:{width:52,height:60,objectFit:`cover`,borderRadius:10,cursor:`pointer`,border:`1px solid rgba(255,255,255,0.98)`,boxShadow:`0 4px 12px rgba(31,41,55,0.15)`,background:`linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:Fe===Xt(e.url)?(0,$.jsx)(s8,{style:{fontSize:20,color:`#fff`}}):(0,$.jsx)(u4,{style:{fontSize:20,color:`#fff`}})}),(0,$.jsx)(`button`,{onClick:()=>Zt(t),style:{position:`absolute`,top:-6,right:-6,width:20,height:20,borderRadius:50,background:`#1f2937`,border:`none`,color:`#fff`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 2px 6px rgba(0,0,0,0.2)`,zIndex:10,transition:`all 0.2s ease`},onMouseEnter:e=>{e.currentTarget.style.background=`#dc2626`,e.currentTarget.style.transform=`scale(1.1)`},onMouseLeave:e=>{e.currentTarget.style.background=`#1f2937`,e.currentTarget.style.transform=`scale(1)`},children:(0,$.jsx)(G$,{style:{fontSize:10}})})]})},`stack-${t}`)})}),j.length>0&&(0,$.jsx)(e2,{accept:o===`image`?`image/*`:`image/*,video/*,audio/*`,showUploadList:!1,beforeUpload:Jt,children:(0,$.jsx)(Jw,{title:o===`image`?`图片${j.filter(e=>e.type===`image`).length}/${P}`:`图片${j.filter(e=>e.type===`image`).length}/${P}, + 音频${j.filter(e=>e.type===`audio`).length}/${mn}`:``}`,children:(0,$.jsx)(`div`,{style:{width:54,height:74,borderRadius:7,border:`1px solid rgba(231, 234, 240, 0.95)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,transition:`all 0.25s ease`,background:`#ffffff`,flexDirection:`column`,gap:5,transform:`rotate(-7deg)`,boxShadow:`0 9px 20px rgba(47, 52, 64, 0.10), inset 0 1px 0 rgba(255,255,255,0.95)`},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#D7DDE7`,e.currentTarget.style.background=`linear-gradient(180deg, #ffffff 0%, #F7F8FA 100%)`,e.currentTarget.style.transform=`rotate(0deg) translateY(-2px)`,e.currentTarget.style.boxShadow=`0 14px 28px rgba(47, 52, 64, 0.15), inset 0 1px 0 rgba(255,255,255,0.98)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(231, 234, 240, 0.95)`,e.currentTarget.style.background=`linear-gradient(180deg, #ffffff 0%, #FAFBFC 100%)`,e.currentTarget.style.transform=`rotate(-7deg)`,e.currentTarget.style.boxShadow=`0 9px 20px rgba(47, 52, 64, 0.10), inset 0 1px 0 rgba(255,255,255,0.95)`},children:I?(0,$.jsx)(Xm,{style:{fontSize:17,color:`#667085`}}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(NL,{style:{fontSize:18,color:`#667085`,lineHeight:1}}),(0,$.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(2, 14px)`,columnGap:2,justifyContent:`center`,color:`#344054`,fontSize:12,fontWeight:700,lineHeight:1.05,letterSpacing:0},children:[(0,$.jsxs)(`span`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,gap:1},children:[(0,$.jsx)(`span`,{children:`参`}),(0,$.jsx)(`span`,{children:`考`})]}),(0,$.jsxs)(`span`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,gap:1},children:[(0,$.jsx)(`span`,{children:`内`}),(0,$.jsx)(`span`,{children:`容`})]})]})]})})})}),o===`video`&&j.length===0&&(0,$.jsx)(X,{size:`small`,onClick:()=>K(!0),style:{marginTop:8,borderRadius:8,color:`#8b5cf6`,borderColor:`#ddd6fe`,background:`#fff`},children:`真人素材库`}),j.length>0&&(0,$.jsx)($.Fragment,{children:j.map((e,t)=>{let n=Math.min(j.length,3)-1-t,r=ae?t*58:t<3?t*6:18,i=ae?!0:t<3;return(0,$.jsx)(`div`,{style:{position:`absolute`,left:r,bottom:0,zIndex:t+1,transition:`all 0.28s cubic-bezier(0.4, 0, 0.2, 1)`,transform:ae?`scale(1) rotate(0deg)`:`scale(${t<3?1-n*.08:0}) rotate(${t<3?-3+t*1.5:0}deg)`,opacity:i?ae?1:1-n*.15:0,pointerEvents:i?`auto`:`none`},children:(0,$.jsxs)(`div`,{style:{position:`relative`,width:52,height:60},children:[e.type===`image`?(0,$.jsx)(`img`,{src:Xt(e.url),alt:e.name,onClick:()=>{ke(e.url),je(`image`),Ne(e.name),De(!0)},style:{width:52,height:60,objectFit:`cover`,borderRadius:10,cursor:`pointer`,border:`1px solid rgba(255,255,255,0.98)`,boxShadow:`0 4px 12px rgba(31,41,55,0.15)`}}):e.type===`video`?(0,$.jsx)(`video`,{src:Xt(e.url),muted:!0,onClick:()=>{ke(e.url),je(`video`),Ne(e.name),De(!0)},style:{width:52,height:60,objectFit:`cover`,borderRadius:10,cursor:`pointer`,border:`1px solid rgba(255,255,255,0.98)`,boxShadow:`0 4px 12px rgba(31,41,55,0.15)`}}):(0,$.jsx)(`div`,{onClick:t=>{t.stopPropagation(),Ut(e.url)},style:{width:52,height:60,objectFit:`cover`,borderRadius:10,cursor:`pointer`,border:`1px solid rgba(255,255,255,0.98)`,boxShadow:`0 4px 12px rgba(31,41,55,0.15)`,background:`linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:Fe===Xt(e.url)?(0,$.jsx)(a8,{style:{fontSize:20,color:`#fff`}}):(0,$.jsx)(a4,{style:{fontSize:20,color:`#fff`}})}),(0,$.jsx)(`button`,{onClick:()=>Zt(t),style:{position:`absolute`,top:-6,right:-6,width:20,height:20,borderRadius:50,background:`#1f2937`,border:`none`,color:`#fff`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 2px 6px rgba(0,0,0,0.2)`,zIndex:10,transition:`all 0.2s ease`},onMouseEnter:e=>{e.currentTarget.style.background=`#dc2626`,e.currentTarget.style.transform=`scale(1.1)`},onMouseLeave:e=>{e.currentTarget.style.background=`#1f2937`,e.currentTarget.style.transform=`scale(1)`},children:(0,$.jsx)(B$,{style:{fontSize:10}})})]})},`stack-${t}`)})}),j.length>0&&(0,$.jsx)(Y0,{accept:o===`image`?`image/*`:`image/*,video/*,audio/*`,showUploadList:!1,beforeUpload:Jt,children:(0,$.jsx)(Iw,{title:o===`image`?`图片${j.filter(e=>e.type===`image`).length}/${P}`:`图片${j.filter(e=>e.type===`image`).length}/${P}, 视频${j.filter(e=>e.type===`video`).length}/${F}${mn>0?`, - 音频${j.filter(e=>e.type===`audio`).length}/${mn}`:``}`,children:(0,$.jsx)(`div`,{style:{position:`absolute`,right:0,bottom:0,width:28,height:28,borderRadius:50,background:`#ffffff`,border:`1px solid rgba(231, 234, 240, 0.95)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,transition:`all 0.2s ease`,boxShadow:`0 2px 8px rgba(47, 52, 64, 0.08)`,zIndex:100},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#8b5cf6`,e.currentTarget.style.boxShadow=`0 4px 12px rgba(139, 92, 246, 0.2)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(231, 234, 240, 0.95)`,e.currentTarget.style.boxShadow=`0 2px 8px rgba(47, 52, 64, 0.08)`},children:(0,$.jsx)(IL,{style:{fontSize:14,color:`#8b5cf6`,lineHeight:1}})})})}),o===`video`&&j.length>0&&(0,$.jsx)(Jw,{title:`选择真人素材库`,children:(0,$.jsx)(`div`,{onClick:e=>{e.stopPropagation(),K(!0)},style:{position:`absolute`,right:-32,bottom:0,width:28,height:28,borderRadius:50,background:`#fff`,border:`1px solid #ddd6fe`,color:`#8b5cf6`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,fontSize:12,fontWeight:800,boxShadow:`0 2px 8px rgba(47, 52, 64, 0.08)`,zIndex:100},children:`真`})})]})})}),(0,$.jsx)(`div`,{style:{flex:1,minWidth:0},children:(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:6,padding:`0`,backgroundColor:`transparent`,borderRadius:0,border:`none`,boxShadow:`none`,transition:`all 0.2s ease`,position:`relative`,minHeight:ln?92:74},children:[(0,$.jsx)(nae,{ref:de,value:_,onChange:en,onKeyDown:tn,onKeyPress:Qt,placeholder:dn,autoSize:{minRows:3,maxRows:6},style:{width:`100%`,borderRadius:0,border:`none`,outline:`none`,boxShadow:`none`,fontSize:14,lineHeight:1.72,color:`#2f3440`,fontWeight:500,resize:`none`,backgroundColor:`transparent`,padding:10},disabled:R}),le&&j.length>0&&B===`universal`&&(0,$.jsx)(`div`,{style:{position:`absolute`,bottom:`100%`,left:10,marginBottom:8,zIndex:1e3,background:`#fff`,borderRadius:16,boxShadow:`0 18px 42px rgba(47, 52, 64, 0.12)`,border:`1px solid #E7EAF0`,padding:8,minWidth:160,maxHeight:260,overflowY:`auto`},children:j.map((e,t)=>(0,$.jsxs)(`div`,{onClick:()=>nn(e.label),style:{padding:`8px 12px`,borderRadius:6,cursor:`pointer`,display:`flex`,alignItems:`center`,gap:8,fontSize:13,color:`#2f3440`,transition:`all 0.15s`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(139, 92, 246, 0.08)`,e.currentTarget.style.color=`#8b5cf6`},onMouseLeave:e=>{e.currentTarget.style.background=`transparent`,e.currentTarget.style.color=`#2f3440`},children:[e.type===`image`?(0,$.jsx)(g8,{style:{fontSize:14,color:`#8b5cf6`}}):(0,$.jsx)(H5,{style:{fontSize:14,color:`#8b5cf6`}}),(0,$.jsx)(`span`,{children:e.label})]},t))})]})})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,gap:14,marginTop:10,paddingTop:13,borderTop:`1px solid rgba(231, 234, 240, 0.76)`},children:[(0,$.jsxs)(HH,{size:8,wrap:!0,style:{flex:1,minWidth:0},children:[(0,$.jsxs)(`div`,{style:{position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{ot(!1),Ke(!1),Je(!1),G(!1),ct(e=>!e)},className:`image-settings-trigger`,style:{minWidth:118,padding:`5px 12px`,height:32,borderRadius:10,border:`1px solid #E7EAF0`,backgroundColor:`#ffffff`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s ease`,boxShadow:`0 1px 2px rgba(47, 52, 64, 0.025)`},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=`#FFFFFF`,e.currentTarget.style.borderColor=`#D7DDE7`,e.currentTarget.style.boxShadow=`0 2px 8px rgba(47, 52, 64, 0.06)`},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=`#ffffff`,e.currentTarget.style.borderColor=`#E7EAF0`,e.currentTarget.style.boxShadow=`0 1px 2px rgba(47, 52, 64, 0.03)`},children:[o===`video`?(0,$.jsx)(H5,{style:{fontSize:14,color:`#8b5cf6`}}):(0,$.jsx)(g8,{style:{fontSize:14,color:`#8b5cf6`}}),(0,$.jsx)(p9,{style:{fontSize:13,fontWeight:500,color:`#2f3440`},children:o===`video`?`视频生成`:`图片生成`}),(0,$.jsx)(AQ,{style:{fontSize:10,color:`#8b5cf6`,marginLeft:`auto`}})]}),st&&(0,$.jsx)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:0,width:300,backgroundColor:`#ffffff`,backdropFilter:`blur(16px)`,borderRadius:16,boxShadow:`0 20px 48px rgba(47, 52, 64, 0.12)`,padding:16,border:`1px solid #E7EAF0`,zIndex:9999},onClick:e=>e.stopPropagation(),children:(0,$.jsxs)(`div`,{style:{marginBottom:8},children:[(0,$.jsx)(p9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:600,color:`#475467`},children:`创作类型`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:4},children:[{value:`video`,label:`视频生成`,icon:H5},{value:`image`,label:`图片生成`,icon:g8}].map(e=>(0,$.jsxs)(`button`,{onClick:()=>{v(e.value),ct(!1)},style:{flex:1,minHeight:48,borderRadius:10,border:o===e.value?`1px solid #8b5cf6`:`1px solid #E7EAF0`,backgroundColor:o===e.value?`#f5f3ff`:`#ffffff`,cursor:`pointer`,display:`flex`,alignItems:`center`,padding:`8px 12px`,transition:`all 0.2s`,textAlign:`left`,gap:8},children:[(0,$.jsx)(e.icon,{style:{fontSize:14,color:o===e.value?`#8b5cf6`:`#98a2b3`}}),(0,$.jsx)(`span`,{style:{fontSize:14,fontWeight:o===e.value?600:500,color:o===e.value?`#8b5cf6`:`#475467`},children:e.label})]},e.value))})]})})]}),(0,$.jsxs)(`div`,{style:{position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{ct(!1),Ke(!1),Je(!1),G(!1),ot(e=>!e)},className:`image-settings-trigger`,style:{minWidth:174,padding:`5px 12px`,height:32,borderRadius:10,border:`1px solid #E7EAF0`,backgroundColor:`#ffffff`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s ease`,boxShadow:`0 1px 2px rgba(47, 52, 64, 0.025)`},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=`#FFFFFF`,e.currentTarget.style.borderColor=`#D7DDE7`,e.currentTarget.style.boxShadow=`0 2px 8px rgba(47, 52, 64, 0.06)`},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=`#ffffff`,e.currentTarget.style.borderColor=`#E7EAF0`,e.currentTarget.style.boxShadow=`0 1px 2px rgba(47, 52, 64, 0.03)`},children:[(0,$.jsx)(t5,{style:{fontSize:14,color:`#8b5cf6`}}),(0,$.jsx)(p9,{style:{fontSize:13,fontWeight:500,color:`#2f3440`},children:o===`image`?g.image?.find(e=>e.id===s)?.name:g.video?.find(e=>e.id===s)?.name||`选择引擎`}),(0,$.jsx)(AQ,{style:{fontSize:10,color:`#8b5cf6`,marginLeft:`auto`}})]}),at&&(0,$.jsx)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:0,width:360,backgroundColor:`#ffffff`,backdropFilter:`blur(16px)`,borderRadius:16,boxShadow:`0 20px 48px rgba(47, 52, 64, 0.12)`,padding:16,border:`1px solid #E7EAF0`,zIndex:9999},onClick:e=>e.stopPropagation(),children:(0,$.jsxs)(`div`,{style:{marginBottom:8},children:[(0,$.jsx)(p9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:600,color:`#475467`},children:`选择引擎`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:4},children:(o===`image`?g.image:g.video)?.map(e=>(0,$.jsxs)(`button`,{onClick:()=>{y(e.id),o===`video`&&(O({ratios:e.supportedRatios||[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:e.supportedResolutions||[`480p`,`720p`,`1080p`],durations:e.supportedDurations||[5,8,10,12,15]}),e.supportedRatios?.includes(p)||E(e.supportedRatios?.[0]||`16:9`),e.supportedResolutions?.includes(m)||D(e.supportedResolutions?.[0]||`720p`),e.supportedDurations?.includes(f)||T(e.supportedDurations?.[0]||5)),ot(!1)},style:{flex:1,minHeight:48,borderRadius:10,border:s===e.id?`1px solid #8b5cf6`:`1px solid #E7EAF0`,backgroundColor:s===e.id?`#f5f3ff`:`#ffffff`,cursor:`pointer`,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`flex-start`,padding:`8px 12px`,transition:`all 0.2s`,textAlign:`left`},children:[(0,$.jsx)(`span`,{style:{fontSize:14,fontWeight:s===e.id?600:500,color:s===e.id?`#8b5cf6`:`#475467`,marginBottom:2},children:e.name}),(0,$.jsx)(`span`,{style:{fontSize:11,color:`#98a2b3`}})]},e.id))})]})})]}),o===`video`&&(Nt||Pt)&&(0,$.jsxs)(`div`,{style:{position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{ct(!1),ot(!1),Ke(!1),Je(!1),G(!re)},className:`image-settings-trigger`,style:{minWidth:118,padding:`6px 14px`,height:32,borderRadius:10,border:`1px solid #E7EAF0`,backgroundColor:`#ffffff`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s ease`,boxShadow:`0 1px 2px rgba(47, 52, 64, 0.025)`},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=`#FFFFFF`,e.currentTarget.style.borderColor=`#D7DDE7`,e.currentTarget.style.boxShadow=`0 2px 8px rgba(47, 52, 64, 0.06)`},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=`#ffffff`,e.currentTarget.style.borderColor=`#E7EAF0`,e.currentTarget.style.boxShadow=`0 1px 2px rgba(47, 52, 64, 0.03)`},children:[(0,$.jsx)(g8,{style:{fontSize:14,color:`#8b5cf6`}}),(0,$.jsx)(p9,{style:{fontSize:13,fontWeight:500,color:`#2f3440`},children:B===`universal`?`全能参考`:`首尾帧`}),(0,$.jsx)(AQ,{style:{fontSize:10,color:`#8b5cf6`,marginLeft:`auto`}})]}),re&&(0,$.jsx)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:0,width:300,backgroundColor:`#ffffff`,backdropFilter:`blur(16px)`,borderRadius:16,boxShadow:`0 20px 48px rgba(47, 52, 64, 0.12)`,padding:16,border:`1px solid #E7EAF0`,zIndex:9999},onClick:e=>e.stopPropagation(),children:(0,$.jsxs)(`div`,{style:{marginBottom:8},children:[(0,$.jsx)(p9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:600,color:`#475467`},children:`参考模式`}),(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:4},children:[(0,$.jsxs)(`button`,{onClick:()=>{Ft(`universal`),G(!1)},disabled:!Pt,style:{flex:1,minHeight:48,borderRadius:10,border:B===`universal`?`1px solid #8b5cf6`:`1px solid #E7EAF0`,backgroundColor:B===`universal`?`#f5f3ff`:`#ffffff`,cursor:Pt?`pointer`:`not-allowed`,display:`flex`,alignItems:`center`,padding:`8px 12px`,transition:`all 0.2s`,textAlign:`left`,gap:8,opacity:Pt?1:.4},children:[(0,$.jsx)(g8,{style:{fontSize:14,color:B===`universal`?`#8b5cf6`:`#98a2b3`}}),(0,$.jsx)(`span`,{style:{fontSize:14,fontWeight:B===`universal`?600:500,color:B===`universal`?`#8b5cf6`:`#475467`},children:`全能参考`}),!Pt&&(0,$.jsx)(`span`,{style:{fontSize:10,color:`#98a2b3`,marginLeft:`auto`},children:`不支持`})]}),(0,$.jsxs)(`button`,{onClick:()=>{Ft(`first_last_frame`),G(!1)},disabled:!Nt,style:{flex:1,minHeight:48,borderRadius:10,border:B===`first_last_frame`?`1px solid #8b5cf6`:`1px solid #E7EAF0`,backgroundColor:B===`first_last_frame`?`#f5f3ff`:`#ffffff`,cursor:Nt?`pointer`:`not-allowed`,display:`flex`,alignItems:`center`,padding:`8px 12px`,transition:`all 0.2s`,textAlign:`left`,gap:8,opacity:Nt?1:.4},children:[(0,$.jsx)(xW,{style:{fontSize:14,color:B===`first_last_frame`?`#8b5cf6`:`#98a2b3`}}),(0,$.jsx)(`span`,{style:{fontSize:14,fontWeight:B===`first_last_frame`?600:500,color:B===`first_last_frame`?`#8b5cf6`:`#475467`},children:`首尾帧`}),!Nt&&(0,$.jsx)(`span`,{style:{fontSize:10,color:`#98a2b3`,marginLeft:`auto`},children:`不支持`})]})]})]})})]}),o===`image`&&(0,$.jsxs)(`div`,{style:{position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{ct(!1),ot(!1),Je(!1),G(!1),Ke(!Ge)},className:`image-settings-trigger`,style:{minWidth:156,padding:`6px 14px`,height:32,borderRadius:10,border:`1px solid #E7EAF0`,backgroundColor:`#ffffff`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s ease`,boxShadow:`0 1px 2px rgba(47, 52, 64, 0.025)`},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=`#FFFFFF`,e.currentTarget.style.borderColor=`#D7DDE7`,e.currentTarget.style.boxShadow=`0 2px 8px rgba(47, 52, 64, 0.06)`},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=`#ffffff`,e.currentTarget.style.borderColor=`#E7EAF0`,e.currentTarget.style.boxShadow=`0 1px 2px rgba(47, 52, 64, 0.03)`},children:[(0,$.jsx)(S6,{style:{fontSize:14,color:`#8b5cf6`}}),(0,$.jsxs)(p9,{style:{fontSize:13,fontWeight:500,color:`#2f3440`},children:[c===`auto`?`智能`:c,` · `,l==`2K`?`2K高清`:`4K超清`,` · `,u,`×`,d]}),(0,$.jsx)(AQ,{style:{fontSize:10,color:`#8b5cf6`,marginLeft:`auto`}})]}),Ge&&(0,$.jsxs)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:0,width:480,backgroundColor:`#ffffff`,backdropFilter:`blur(16px)`,borderRadius:14,boxShadow:`0 18px 44px rgba(47, 52, 64, 0.12)`,padding:16,border:`1px solid #E7EAF0`,zIndex:9999},onClick:e=>e.stopPropagation(),children:[(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(p9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#667085`},children:`选择比例`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:4},children:Ye.map(e=>(0,$.jsxs)(`button`,{onClick:()=>{b(e.value),kt(e.label)},style:{flex:`0 0 calc(11.11% - 4px)`,minWidth:44,height:52,borderRadius:6,border:c===e.value?`2px solid #8b5cf6`:`1px solid #E7EAF0`,backgroundColor:c===e.value?`#f5f3ff`:`#FFFFFF`,cursor:`pointer`,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:[(0,$.jsx)(`div`,{style:{width:(()=>{let[t,n]=e.value===`auto`?[1,1]:e.value.split(`:`).map(Number);return t>=n?18:Math.round(t/n*18)})(),height:(()=>{let[t,n]=e.value===`auto`?[1,1]:e.value.split(`:`).map(Number);return n>=t?18:Math.round(n/t*18)})(),border:`2px solid ${c===e.value?`#8b5cf6`:`#98a2b3`}`,borderRadius:2,marginBottom:2,display:`flex`,alignItems:`center`,justifyContent:`center`},children:e.value===`auto`&&(0,$.jsx)(`span`,{style:{fontSize:7,color:c===e.value?`#8b5cf6`:`#98a2b3`},children:`智`})}),(0,$.jsx)(`span`,{style:{fontSize:9,color:c===e.value?`#8b5cf6`:`#667085`,fontWeight:c===e.value?600:400},children:e.value})]},e.value))})]}),(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(p9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#667085`},children:`选择分辨率`}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:6},children:Ze.map(e=>(0,$.jsx)(`button`,{onClick:()=>{x(e.value),At(e.value)},style:{flex:1,height:42,borderRadius:6,border:l===e.value?`2px solid #8b5cf6`:`1px solid #E7EAF0`,backgroundColor:l===e.value?`#8b5cf6`:`#FFFFFF`,cursor:`pointer`,display:`flex`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:(0,$.jsxs)(`span`,{style:{fontSize:12,fontWeight:600,color:l===e.value?`#fff`:`#475467`},children:[e.value,e.value===`4K`&&(0,$.jsx)(`span`,{style:{marginLeft:2},children:`✨`})]})},e.value))})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(p9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#667085`},children:`尺寸`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,flex:1,maxWidth:120},children:[(0,$.jsx)(`span`,{style:{color:`#98a2b3`,fontSize:11,marginRight:4},children:`W`}),(0,$.jsx)(_G,{value:u,onChange:e=>C(Number(e.target.value)||0),style:{flex:1,textAlign:`center`,borderRadius:4,height:34,border:`1px solid #E7EAF0`,backgroundColor:`#FFFFFF`,fontSize:12,fontWeight:600,color:`#2f3440`}})]}),(0,$.jsx)(`button`,{onClick:jt,style:{width:24,height:24,borderRadius:4,border:`1px solid #E7EAF0`,backgroundColor:`#fff`,cursor:`pointer`,display:`flex`,justifyContent:`center`,alignItems:`center`,color:`#8b5cf6`},children:(0,$.jsx)(xW,{style:{fontSize:10}})}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,flex:1,maxWidth:120},children:[(0,$.jsx)(`span`,{style:{color:`#98a2b3`,fontSize:11,marginRight:4},children:`H`}),(0,$.jsx)(_G,{value:d,onChange:e=>w(Number(e.target.value)||0),style:{flex:1,textAlign:`center`,borderRadius:4,height:34,border:`1px solid #E7EAF0`,backgroundColor:`#FFFFFF`,fontSize:12,fontWeight:600,color:`#2f3440`}})]}),(0,$.jsx)(`span`,{style:{color:`#98a2b3`,fontSize:11},children:`PX`})]})]})]})]}),o===`video`&&(0,$.jsxs)(`div`,{style:{position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{ct(!1),ot(!1),Ke(!1),G(!1),Je(!qe)},className:`image-settings-trigger`,style:{minWidth:156,padding:`6px 14px`,height:32,borderRadius:10,border:`1px solid #E7EAF0`,backgroundColor:`#ffffff`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s ease`,boxShadow:`0 1px 2px rgba(47, 52, 64, 0.025)`},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=`#FFFFFF`,e.currentTarget.style.borderColor=`#D7DDE7`,e.currentTarget.style.boxShadow=`0 2px 8px rgba(47, 52, 64, 0.06)`},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=`#ffffff`,e.currentTarget.style.borderColor=`#E7EAF0`,e.currentTarget.style.boxShadow=`0 1px 2px rgba(47, 52, 64, 0.03)`},children:[(0,$.jsx)(S6,{style:{fontSize:14,color:`#2f3440`}}),(0,$.jsx)(`span`,{style:{fontSize:13,fontWeight:600,color:`#2f3440`},children:p}),(0,$.jsx)(`span`,{style:{width:1,height:14,background:`#E7EAF0`}}),(0,$.jsx)(`span`,{style:{fontSize:13,fontWeight:600,color:`#2f3440`},children:m?.toUpperCase?.()||m}),(0,$.jsx)(`span`,{style:{width:1,height:14,background:`#E7EAF0`}}),(0,$.jsxs)(`span`,{style:{fontSize:13,fontWeight:600,color:`#2f3440`},children:[f,`s`]}),(0,$.jsx)(AQ,{style:{fontSize:10,color:`#667085`,marginLeft:`auto`}})]}),qe&&(0,$.jsxs)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:0,width:400,backgroundColor:`#ffffff`,backdropFilter:`blur(16px)`,borderRadius:14,boxShadow:`0 18px 44px rgba(47, 52, 64, 0.12)`,padding:16,border:`1px solid #E7EAF0`,zIndex:9999},onClick:e=>e.stopPropagation(),children:[(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(p9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#667085`},children:`选择比例`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:4},children:h.ratios.map(e=>(0,$.jsxs)(`button`,{onClick:()=>E(e),style:{flex:`0 0 calc(14.28% - 4px)`,minWidth:44,height:52,borderRadius:6,border:p===e?`2px solid #8b5cf6`:`1px solid #E7EAF0`,backgroundColor:p===e?`#f5f3ff`:`#FFFFFF`,cursor:`pointer`,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:[(0,$.jsx)(`div`,{style:{width:(()=>{let[t,n]=e.split(`:`).map(Number);return t>=n?18:Math.round(t/n*18)})(),height:(()=>{let[t,n]=e.split(`:`).map(Number);return n>=t?18:Math.round(n/t*18)})(),border:`2px solid ${p===e?`#8b5cf6`:`#98a2b3`}`,borderRadius:2,marginBottom:2}}),(0,$.jsx)(`span`,{style:{fontSize:9,color:p===e?`#8b5cf6`:`#667085`,fontWeight:p===e?600:400},children:e})]},e))})]}),(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(p9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#667085`},children:`选择时长`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsxs)(`div`,{style:{flex:1,position:`relative`,height:24,display:`flex`,alignItems:`center`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:`50%`,left:0,right:0,height:6,borderRadius:3,background:`#E7EAF0`,transform:`translateY(-50%)`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:`50%`,left:0,height:6,borderRadius:3,background:`#8b5cf6`,width:`${(f-Math.min(...h.durations))/(Math.max(...h.durations)-Math.min(...h.durations))*100}%`,transform:`translateY(-50%)`}}),(0,$.jsx)(`input`,{type:`range`,min:Math.min(...h.durations),max:Math.max(...h.durations),value:f,onChange:e=>T(Number(e.target.value)),style:{position:`relative`,width:`100%`,height:24,borderRadius:3,background:`transparent`,outline:`none`,appearance:`none`,cursor:`pointer`,zIndex:1}})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:4,padding:`4px 12px`,backgroundColor:`#F6F7FA`,borderRadius:6},children:[(0,$.jsx)(`span`,{style:{fontSize:14,fontWeight:600,color:`#667085`},children:f}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#98a2b3`},children:`秒`})]})]})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(p9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#667085`},children:`选择分辨率`}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:6},children:h.resolutions.map(e=>(0,$.jsx)(`button`,{onClick:()=>D(e),style:{flex:1,height:42,borderRadius:6,border:m===e?`2px solid #8b5cf6`:`1px solid #E7EAF0`,backgroundColor:m===e?`#8b5cf6`:`#FFFFFF`,cursor:`pointer`,display:`flex`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:(0,$.jsx)(`span`,{style:{fontSize:12,fontWeight:600,color:m===e?`#fff`:`#475467`},children:e})},e))})]})]})]})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12,flexShrink:0},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6,color:`#667085`,whiteSpace:`nowrap`,height:34,padding:`0 12px`,borderRadius:11,background:`rgba(255, 255, 255, 0.92)`,border:`1px solid rgba(231, 234, 240, 0.92)`,boxShadow:`0 4px 12px rgba(47, 52, 64, 0.04)`},children:[(0,$.jsx)(p9,{style:{fontSize:13,color:`#667085`,fontWeight:600},children:`预估积分:`}),(0,$.jsx)(p9,{style:{fontSize:13,color:`#2f3440`,fontWeight:800},children:ht()})]}),(0,$.jsx)(X,{type:`primary`,shape:`circle`,icon:(0,$.jsx)(s4,{}),onClick:zt,disabled:!un,loading:R,style:{flexShrink:0,width:36,height:36,borderRadius:`50%`,background:un?`linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%)`:`#E7EAF0`,color:`#ffffff`,opacity:un?1:.86,boxShadow:un?`0 10px 24px rgba(139, 92, 246, 0.28)`:`inset 0 0 0 1px rgba(139, 92, 246, 0.18)`,cursor:un?`pointer`:`not-allowed`,transition:`all 0.2s ease`,border:`none`}})]})]})]})]})]}),(0,$.jsx)(`style`,{children:` + 音频${j.filter(e=>e.type===`audio`).length}/${mn}`:``}`,children:(0,$.jsx)(`div`,{style:{position:`absolute`,right:0,bottom:0,width:28,height:28,borderRadius:50,background:`#ffffff`,border:`1px solid rgba(231, 234, 240, 0.95)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,transition:`all 0.2s ease`,boxShadow:`0 2px 8px rgba(47, 52, 64, 0.08)`,zIndex:100},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#8b5cf6`,e.currentTarget.style.boxShadow=`0 4px 12px rgba(139, 92, 246, 0.2)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(231, 234, 240, 0.95)`,e.currentTarget.style.boxShadow=`0 2px 8px rgba(47, 52, 64, 0.08)`},children:(0,$.jsx)(NL,{style:{fontSize:14,color:`#8b5cf6`,lineHeight:1}})})})}),o===`video`&&j.length>0&&(0,$.jsx)(Iw,{title:`选择真人素材库`,children:(0,$.jsx)(`div`,{onClick:e=>{e.stopPropagation(),K(!0)},style:{position:`absolute`,right:-32,bottom:0,width:28,height:28,borderRadius:50,background:`#fff`,border:`1px solid #ddd6fe`,color:`#8b5cf6`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,fontSize:12,fontWeight:800,boxShadow:`0 2px 8px rgba(47, 52, 64, 0.08)`,zIndex:100},children:`真`})})]})})}),(0,$.jsx)(`div`,{style:{flex:1,minWidth:0},children:(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:6,padding:`0`,backgroundColor:`transparent`,borderRadius:0,border:`none`,boxShadow:`none`,transition:`all 0.2s ease`,position:`relative`,minHeight:ln?92:74},children:[(0,$.jsx)(vae,{ref:de,value:_,onChange:en,onKeyDown:tn,onKeyPress:Qt,placeholder:dn,autoSize:{minRows:3,maxRows:6},style:{width:`100%`,borderRadius:0,border:`none`,outline:`none`,boxShadow:`none`,fontSize:14,lineHeight:1.72,color:`#2f3440`,fontWeight:500,resize:`none`,backgroundColor:`transparent`,padding:10},disabled:R}),le&&j.length>0&&B===`universal`&&(0,$.jsx)(`div`,{style:{position:`absolute`,bottom:`100%`,left:10,marginBottom:8,zIndex:1e3,background:`#fff`,borderRadius:16,boxShadow:`0 18px 42px rgba(47, 52, 64, 0.12)`,border:`1px solid #E7EAF0`,padding:8,minWidth:160,maxHeight:260,overflowY:`auto`},children:j.map((e,t)=>(0,$.jsxs)(`div`,{onClick:()=>nn(e.label),style:{padding:`8px 12px`,borderRadius:6,cursor:`pointer`,display:`flex`,alignItems:`center`,gap:8,fontSize:13,color:`#2f3440`,transition:`all 0.15s`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(139, 92, 246, 0.08)`,e.currentTarget.style.color=`#8b5cf6`},onMouseLeave:e=>{e.currentTarget.style.background=`transparent`,e.currentTarget.style.color=`#2f3440`},children:[e.type===`image`?(0,$.jsx)(m8,{style:{fontSize:14,color:`#8b5cf6`}}):(0,$.jsx)(R5,{style:{fontSize:14,color:`#8b5cf6`}}),(0,$.jsx)(`span`,{children:e.label})]},t))})]})})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,gap:14,marginTop:10,paddingTop:13,borderTop:`1px solid rgba(231, 234, 240, 0.76)`},children:[(0,$.jsxs)(LH,{size:8,wrap:!0,style:{flex:1,minWidth:0},children:[(0,$.jsxs)(`div`,{style:{position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{ot(!1),Ke(!1),Je(!1),G(!1),ct(e=>!e)},className:`image-settings-trigger`,style:{minWidth:118,padding:`5px 12px`,height:32,borderRadius:10,border:`1px solid #E7EAF0`,backgroundColor:`#ffffff`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s ease`,boxShadow:`0 1px 2px rgba(47, 52, 64, 0.025)`},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=`#FFFFFF`,e.currentTarget.style.borderColor=`#D7DDE7`,e.currentTarget.style.boxShadow=`0 2px 8px rgba(47, 52, 64, 0.06)`},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=`#ffffff`,e.currentTarget.style.borderColor=`#E7EAF0`,e.currentTarget.style.boxShadow=`0 1px 2px rgba(47, 52, 64, 0.03)`},children:[o===`video`?(0,$.jsx)(R5,{style:{fontSize:14,color:`#8b5cf6`}}):(0,$.jsx)(m8,{style:{fontSize:14,color:`#8b5cf6`}}),(0,$.jsx)(c9,{style:{fontSize:13,fontWeight:500,color:`#2f3440`},children:o===`video`?`视频生成`:`图片生成`}),(0,$.jsx)(TQ,{style:{fontSize:10,color:`#8b5cf6`,marginLeft:`auto`}})]}),st&&(0,$.jsx)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:0,width:300,backgroundColor:`#ffffff`,backdropFilter:`blur(16px)`,borderRadius:16,boxShadow:`0 20px 48px rgba(47, 52, 64, 0.12)`,padding:16,border:`1px solid #E7EAF0`,zIndex:9999},onClick:e=>e.stopPropagation(),children:(0,$.jsxs)(`div`,{style:{marginBottom:8},children:[(0,$.jsx)(c9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:600,color:`#475467`},children:`创作类型`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:4},children:[{value:`video`,label:`视频生成`,icon:R5},{value:`image`,label:`图片生成`,icon:m8}].map(e=>(0,$.jsxs)(`button`,{onClick:()=>{v(e.value),ct(!1)},style:{flex:1,minHeight:48,borderRadius:10,border:o===e.value?`1px solid #8b5cf6`:`1px solid #E7EAF0`,backgroundColor:o===e.value?`#f5f3ff`:`#ffffff`,cursor:`pointer`,display:`flex`,alignItems:`center`,padding:`8px 12px`,transition:`all 0.2s`,textAlign:`left`,gap:8},children:[(0,$.jsx)(e.icon,{style:{fontSize:14,color:o===e.value?`#8b5cf6`:`#98a2b3`}}),(0,$.jsx)(`span`,{style:{fontSize:14,fontWeight:o===e.value?600:500,color:o===e.value?`#8b5cf6`:`#475467`},children:e.label})]},e.value))})]})})]}),(0,$.jsxs)(`div`,{style:{position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{ct(!1),Ke(!1),Je(!1),G(!1),ot(e=>!e)},className:`image-settings-trigger`,style:{minWidth:174,padding:`5px 12px`,height:32,borderRadius:10,border:`1px solid #E7EAF0`,backgroundColor:`#ffffff`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s ease`,boxShadow:`0 1px 2px rgba(47, 52, 64, 0.025)`},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=`#FFFFFF`,e.currentTarget.style.borderColor=`#D7DDE7`,e.currentTarget.style.boxShadow=`0 2px 8px rgba(47, 52, 64, 0.06)`},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=`#ffffff`,e.currentTarget.style.borderColor=`#E7EAF0`,e.currentTarget.style.boxShadow=`0 1px 2px rgba(47, 52, 64, 0.03)`},children:[(0,$.jsx)($8,{style:{fontSize:14,color:`#8b5cf6`}}),(0,$.jsx)(c9,{style:{fontSize:13,fontWeight:500,color:`#2f3440`},children:o===`image`?g.image?.find(e=>e.id===s)?.name:g.video?.find(e=>e.id===s)?.name||`选择引擎`}),(0,$.jsx)(TQ,{style:{fontSize:10,color:`#8b5cf6`,marginLeft:`auto`}})]}),at&&(0,$.jsx)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:0,width:360,backgroundColor:`#ffffff`,backdropFilter:`blur(16px)`,borderRadius:16,boxShadow:`0 20px 48px rgba(47, 52, 64, 0.12)`,padding:16,border:`1px solid #E7EAF0`,zIndex:9999},onClick:e=>e.stopPropagation(),children:(0,$.jsxs)(`div`,{style:{marginBottom:8},children:[(0,$.jsx)(c9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:600,color:`#475467`},children:`选择引擎`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:4},children:(o===`image`?g.image:g.video)?.map(e=>(0,$.jsxs)(`button`,{onClick:()=>{y(e.id),o===`video`&&(O({ratios:e.supportedRatios||[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:e.supportedResolutions||[`480p`,`720p`,`1080p`],durations:e.supportedDurations||[5,8,10,12,15]}),e.supportedRatios?.includes(p)||E(e.supportedRatios?.[0]||`16:9`),e.supportedResolutions?.includes(m)||D(e.supportedResolutions?.[0]||`720p`),e.supportedDurations?.includes(f)||T(e.supportedDurations?.[0]||5)),ot(!1)},style:{flex:1,minHeight:48,borderRadius:10,border:s===e.id?`1px solid #8b5cf6`:`1px solid #E7EAF0`,backgroundColor:s===e.id?`#f5f3ff`:`#ffffff`,cursor:`pointer`,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`flex-start`,padding:`8px 12px`,transition:`all 0.2s`,textAlign:`left`},children:[(0,$.jsx)(`span`,{style:{fontSize:14,fontWeight:s===e.id?600:500,color:s===e.id?`#8b5cf6`:`#475467`,marginBottom:2},children:e.name}),(0,$.jsx)(`span`,{style:{fontSize:11,color:`#98a2b3`}})]},e.id))})]})})]}),o===`video`&&(Nt||Pt)&&(0,$.jsxs)(`div`,{style:{position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{ct(!1),ot(!1),Ke(!1),Je(!1),G(!re)},className:`image-settings-trigger`,style:{minWidth:118,padding:`6px 14px`,height:32,borderRadius:10,border:`1px solid #E7EAF0`,backgroundColor:`#ffffff`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s ease`,boxShadow:`0 1px 2px rgba(47, 52, 64, 0.025)`},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=`#FFFFFF`,e.currentTarget.style.borderColor=`#D7DDE7`,e.currentTarget.style.boxShadow=`0 2px 8px rgba(47, 52, 64, 0.06)`},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=`#ffffff`,e.currentTarget.style.borderColor=`#E7EAF0`,e.currentTarget.style.boxShadow=`0 1px 2px rgba(47, 52, 64, 0.03)`},children:[(0,$.jsx)(m8,{style:{fontSize:14,color:`#8b5cf6`}}),(0,$.jsx)(c9,{style:{fontSize:13,fontWeight:500,color:`#2f3440`},children:B===`universal`?`全能参考`:`首尾帧`}),(0,$.jsx)(TQ,{style:{fontSize:10,color:`#8b5cf6`,marginLeft:`auto`}})]}),re&&(0,$.jsx)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:0,width:300,backgroundColor:`#ffffff`,backdropFilter:`blur(16px)`,borderRadius:16,boxShadow:`0 20px 48px rgba(47, 52, 64, 0.12)`,padding:16,border:`1px solid #E7EAF0`,zIndex:9999},onClick:e=>e.stopPropagation(),children:(0,$.jsxs)(`div`,{style:{marginBottom:8},children:[(0,$.jsx)(c9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:600,color:`#475467`},children:`参考模式`}),(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:4},children:[(0,$.jsxs)(`button`,{onClick:()=>{Ft(`universal`),G(!1)},disabled:!Pt,style:{flex:1,minHeight:48,borderRadius:10,border:B===`universal`?`1px solid #8b5cf6`:`1px solid #E7EAF0`,backgroundColor:B===`universal`?`#f5f3ff`:`#ffffff`,cursor:Pt?`pointer`:`not-allowed`,display:`flex`,alignItems:`center`,padding:`8px 12px`,transition:`all 0.2s`,textAlign:`left`,gap:8,opacity:Pt?1:.4},children:[(0,$.jsx)(m8,{style:{fontSize:14,color:B===`universal`?`#8b5cf6`:`#98a2b3`}}),(0,$.jsx)(`span`,{style:{fontSize:14,fontWeight:B===`universal`?600:500,color:B===`universal`?`#8b5cf6`:`#475467`},children:`全能参考`}),!Pt&&(0,$.jsx)(`span`,{style:{fontSize:10,color:`#98a2b3`,marginLeft:`auto`},children:`不支持`})]}),(0,$.jsxs)(`button`,{onClick:()=>{Ft(`first_last_frame`),G(!1)},disabled:!Nt,style:{flex:1,minHeight:48,borderRadius:10,border:B===`first_last_frame`?`1px solid #8b5cf6`:`1px solid #E7EAF0`,backgroundColor:B===`first_last_frame`?`#f5f3ff`:`#ffffff`,cursor:Nt?`pointer`:`not-allowed`,display:`flex`,alignItems:`center`,padding:`8px 12px`,transition:`all 0.2s`,textAlign:`left`,gap:8,opacity:Nt?1:.4},children:[(0,$.jsx)(gW,{style:{fontSize:14,color:B===`first_last_frame`?`#8b5cf6`:`#98a2b3`}}),(0,$.jsx)(`span`,{style:{fontSize:14,fontWeight:B===`first_last_frame`?600:500,color:B===`first_last_frame`?`#8b5cf6`:`#475467`},children:`首尾帧`}),!Nt&&(0,$.jsx)(`span`,{style:{fontSize:10,color:`#98a2b3`,marginLeft:`auto`},children:`不支持`})]})]})]})})]}),o===`image`&&(0,$.jsxs)(`div`,{style:{position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{ct(!1),ot(!1),Je(!1),G(!1),Ke(!Ge)},className:`image-settings-trigger`,style:{minWidth:156,padding:`6px 14px`,height:32,borderRadius:10,border:`1px solid #E7EAF0`,backgroundColor:`#ffffff`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s ease`,boxShadow:`0 1px 2px rgba(47, 52, 64, 0.025)`},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=`#FFFFFF`,e.currentTarget.style.borderColor=`#D7DDE7`,e.currentTarget.style.boxShadow=`0 2px 8px rgba(47, 52, 64, 0.06)`},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=`#ffffff`,e.currentTarget.style.borderColor=`#E7EAF0`,e.currentTarget.style.boxShadow=`0 1px 2px rgba(47, 52, 64, 0.03)`},children:[(0,$.jsx)(b6,{style:{fontSize:14,color:`#8b5cf6`}}),(0,$.jsxs)(c9,{style:{fontSize:13,fontWeight:500,color:`#2f3440`},children:[c===`auto`?`智能`:c,` · `,l==`2K`?`2K高清`:`4K超清`,` · `,u,`×`,d]}),(0,$.jsx)(TQ,{style:{fontSize:10,color:`#8b5cf6`,marginLeft:`auto`}})]}),Ge&&(0,$.jsxs)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:0,width:480,backgroundColor:`#ffffff`,backdropFilter:`blur(16px)`,borderRadius:14,boxShadow:`0 18px 44px rgba(47, 52, 64, 0.12)`,padding:16,border:`1px solid #E7EAF0`,zIndex:9999},onClick:e=>e.stopPropagation(),children:[(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(c9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#667085`},children:`选择比例`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:4},children:Ye.map(e=>(0,$.jsxs)(`button`,{onClick:()=>{b(e.value),kt(e.label)},style:{flex:`0 0 calc(11.11% - 4px)`,minWidth:44,height:52,borderRadius:6,border:c===e.value?`2px solid #8b5cf6`:`1px solid #E7EAF0`,backgroundColor:c===e.value?`#f5f3ff`:`#FFFFFF`,cursor:`pointer`,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:[(0,$.jsx)(`div`,{style:{width:(()=>{let[t,n]=e.value===`auto`?[1,1]:e.value.split(`:`).map(Number);return t>=n?18:Math.round(t/n*18)})(),height:(()=>{let[t,n]=e.value===`auto`?[1,1]:e.value.split(`:`).map(Number);return n>=t?18:Math.round(n/t*18)})(),border:`2px solid ${c===e.value?`#8b5cf6`:`#98a2b3`}`,borderRadius:2,marginBottom:2,display:`flex`,alignItems:`center`,justifyContent:`center`},children:e.value===`auto`&&(0,$.jsx)(`span`,{style:{fontSize:7,color:c===e.value?`#8b5cf6`:`#98a2b3`},children:`智`})}),(0,$.jsx)(`span`,{style:{fontSize:9,color:c===e.value?`#8b5cf6`:`#667085`,fontWeight:c===e.value?600:400},children:e.value})]},e.value))})]}),(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(c9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#667085`},children:`选择分辨率`}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:6},children:Ze.map(e=>(0,$.jsx)(`button`,{onClick:()=>{x(e.value),At(e.value)},style:{flex:1,height:42,borderRadius:6,border:l===e.value?`2px solid #8b5cf6`:`1px solid #E7EAF0`,backgroundColor:l===e.value?`#8b5cf6`:`#FFFFFF`,cursor:`pointer`,display:`flex`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:(0,$.jsxs)(`span`,{style:{fontSize:12,fontWeight:600,color:l===e.value?`#fff`:`#475467`},children:[e.value,e.value===`4K`&&(0,$.jsx)(`span`,{style:{marginLeft:2},children:`✨`})]})},e.value))})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(c9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#667085`},children:`尺寸`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,flex:1,maxWidth:120},children:[(0,$.jsx)(`span`,{style:{color:`#98a2b3`,fontSize:11,marginRight:4},children:`W`}),(0,$.jsx)(fG,{value:u,onChange:e=>C(Number(e.target.value)||0),style:{flex:1,textAlign:`center`,borderRadius:4,height:34,border:`1px solid #E7EAF0`,backgroundColor:`#FFFFFF`,fontSize:12,fontWeight:600,color:`#2f3440`}})]}),(0,$.jsx)(`button`,{onClick:jt,style:{width:24,height:24,borderRadius:4,border:`1px solid #E7EAF0`,backgroundColor:`#fff`,cursor:`pointer`,display:`flex`,justifyContent:`center`,alignItems:`center`,color:`#8b5cf6`},children:(0,$.jsx)(gW,{style:{fontSize:10}})}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,flex:1,maxWidth:120},children:[(0,$.jsx)(`span`,{style:{color:`#98a2b3`,fontSize:11,marginRight:4},children:`H`}),(0,$.jsx)(fG,{value:d,onChange:e=>w(Number(e.target.value)||0),style:{flex:1,textAlign:`center`,borderRadius:4,height:34,border:`1px solid #E7EAF0`,backgroundColor:`#FFFFFF`,fontSize:12,fontWeight:600,color:`#2f3440`}})]}),(0,$.jsx)(`span`,{style:{color:`#98a2b3`,fontSize:11},children:`PX`})]})]})]})]}),o===`video`&&(0,$.jsxs)(`div`,{style:{position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{ct(!1),ot(!1),Ke(!1),G(!1),Je(!qe)},className:`image-settings-trigger`,style:{minWidth:156,padding:`6px 14px`,height:32,borderRadius:10,border:`1px solid #E7EAF0`,backgroundColor:`#ffffff`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s ease`,boxShadow:`0 1px 2px rgba(47, 52, 64, 0.025)`},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=`#FFFFFF`,e.currentTarget.style.borderColor=`#D7DDE7`,e.currentTarget.style.boxShadow=`0 2px 8px rgba(47, 52, 64, 0.06)`},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=`#ffffff`,e.currentTarget.style.borderColor=`#E7EAF0`,e.currentTarget.style.boxShadow=`0 1px 2px rgba(47, 52, 64, 0.03)`},children:[(0,$.jsx)(b6,{style:{fontSize:14,color:`#2f3440`}}),(0,$.jsx)(`span`,{style:{fontSize:13,fontWeight:600,color:`#2f3440`},children:p}),(0,$.jsx)(`span`,{style:{width:1,height:14,background:`#E7EAF0`}}),(0,$.jsx)(`span`,{style:{fontSize:13,fontWeight:600,color:`#2f3440`},children:m?.toUpperCase?.()||m}),(0,$.jsx)(`span`,{style:{width:1,height:14,background:`#E7EAF0`}}),(0,$.jsxs)(`span`,{style:{fontSize:13,fontWeight:600,color:`#2f3440`},children:[f,`s`]}),(0,$.jsx)(TQ,{style:{fontSize:10,color:`#667085`,marginLeft:`auto`}})]}),qe&&(0,$.jsxs)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:0,width:400,backgroundColor:`#ffffff`,backdropFilter:`blur(16px)`,borderRadius:14,boxShadow:`0 18px 44px rgba(47, 52, 64, 0.12)`,padding:16,border:`1px solid #E7EAF0`,zIndex:9999},onClick:e=>e.stopPropagation(),children:[(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(c9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#667085`},children:`选择比例`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:4},children:h.ratios.map(e=>(0,$.jsxs)(`button`,{onClick:()=>E(e),style:{flex:`0 0 calc(14.28% - 4px)`,minWidth:44,height:52,borderRadius:6,border:p===e?`2px solid #8b5cf6`:`1px solid #E7EAF0`,backgroundColor:p===e?`#f5f3ff`:`#FFFFFF`,cursor:`pointer`,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:[(0,$.jsx)(`div`,{style:{width:(()=>{let[t,n]=e.split(`:`).map(Number);return t>=n?18:Math.round(t/n*18)})(),height:(()=>{let[t,n]=e.split(`:`).map(Number);return n>=t?18:Math.round(n/t*18)})(),border:`2px solid ${p===e?`#8b5cf6`:`#98a2b3`}`,borderRadius:2,marginBottom:2}}),(0,$.jsx)(`span`,{style:{fontSize:9,color:p===e?`#8b5cf6`:`#667085`,fontWeight:p===e?600:400},children:e})]},e))})]}),(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(c9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#667085`},children:`选择时长`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsxs)(`div`,{style:{flex:1,position:`relative`,height:24,display:`flex`,alignItems:`center`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:`50%`,left:0,right:0,height:6,borderRadius:3,background:`#E7EAF0`,transform:`translateY(-50%)`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:`50%`,left:0,height:6,borderRadius:3,background:`#8b5cf6`,width:`${(f-Math.min(...h.durations))/(Math.max(...h.durations)-Math.min(...h.durations))*100}%`,transform:`translateY(-50%)`}}),(0,$.jsx)(`input`,{type:`range`,min:Math.min(...h.durations),max:Math.max(...h.durations),value:f,onChange:e=>T(Number(e.target.value)),style:{position:`relative`,width:`100%`,height:24,borderRadius:3,background:`transparent`,outline:`none`,appearance:`none`,cursor:`pointer`,zIndex:1}})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:4,padding:`4px 12px`,backgroundColor:`#F6F7FA`,borderRadius:6},children:[(0,$.jsx)(`span`,{style:{fontSize:14,fontWeight:600,color:`#667085`},children:f}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#98a2b3`},children:`秒`})]})]})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(c9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#667085`},children:`选择分辨率`}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:6},children:h.resolutions.map(e=>(0,$.jsx)(`button`,{onClick:()=>D(e),style:{flex:1,height:42,borderRadius:6,border:m===e?`2px solid #8b5cf6`:`1px solid #E7EAF0`,backgroundColor:m===e?`#8b5cf6`:`#FFFFFF`,cursor:`pointer`,display:`flex`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:(0,$.jsx)(`span`,{style:{fontSize:12,fontWeight:600,color:m===e?`#fff`:`#475467`},children:e})},e))})]})]})]})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12,flexShrink:0},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6,color:`#667085`,whiteSpace:`nowrap`,height:34,padding:`0 12px`,borderRadius:11,background:`rgba(255, 255, 255, 0.92)`,border:`1px solid rgba(231, 234, 240, 0.92)`,boxShadow:`0 4px 12px rgba(47, 52, 64, 0.04)`},children:[(0,$.jsx)(c9,{style:{fontSize:13,color:`#667085`,fontWeight:600},children:`预估积分:`}),(0,$.jsx)(c9,{style:{fontSize:13,color:`#2f3440`,fontWeight:800},children:ht()})]}),(0,$.jsx)(X,{type:`primary`,shape:`circle`,icon:(0,$.jsx)(n4,{}),onClick:zt,disabled:!un,loading:R,style:{flexShrink:0,width:36,height:36,borderRadius:`50%`,background:un?`linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%)`:`#E7EAF0`,color:`#ffffff`,opacity:un?1:.86,boxShadow:un?`0 10px 24px rgba(139, 92, 246, 0.28)`:`inset 0 0 0 1px rgba(139, 92, 246, 0.18)`,cursor:un?`pointer`:`not-allowed`,transition:`all 0.2s ease`,border:`none`}})]})]})]})]})]}),(0,$.jsx)(`style`,{children:` .ai-create-page { --ai-accent: #8b5cf6; @@ -472,22 +472,22 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho from { opacity: 0; transform: translateY(6px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } } - `}),(0,$.jsx)(YK,{open:he,title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(180deg, #8b5cf6 0%, #ddd6fe 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:700,color:`#8b5cf6`,letterSpacing:.4},children:`预览`})]}),onCancel:rn,width:800,footer:(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:12,padding:`16px 24px`,background:`rgba(255,255,255,0.6)`,borderTop:`1px solid rgba(139, 92, 246, 0.08)`},children:(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(J0,{}),onClick:an,style:{borderRadius:10,background:`linear-gradient(135deg, #8b5cf6 0%, #ddd6fe 100%)`,border:`none`,boxShadow:`0 8px 18px rgba(47, 52, 64, 0.15)`},disabled:Te(_e),children:Te(_e)?`资源已过期`:`下载`})}),centered:!0,style:{borderRadius:16},styles:{body:{display:`flex`,alignItems:`center`,justifyContent:`center`,minHeight:`400px`},header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(139, 92, 246, 0.08)`,padding:`16px 24px`}},children:(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,width:`100%`,height:`100%`},children:Te(_e)?(0,$.jsx)(`div`,{style:{textAlign:`center`,padding:`40px`},children:(0,$.jsx)(`p`,{style:{fontSize:16,color:`#A45B5B`,marginBottom:16},children:`图片/视频资源已过期,请刷新重新加载~`})}):ye===`image`?(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn/static${_e}&w=300&q=50`,alt:`预览`,style:{width:`100%`,maxHeight:`400px`,objectFit:`contain`}}):(0,$.jsx)(`video`,{ref:xe,src:`http://ceshi.apiforeign.minzhong.cn${_e}`,controls:!0,style:{maxWidth:`100%`,maxHeight:`400px`}})})}),(0,$.jsx)(YK,{open:Ee,title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(180deg, #8b5cf6 0%, #ddd6fe 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:700,color:`#8b5cf6`,letterSpacing:.4},children:`附件预览`})]}),onCancel:()=>{if(Pe.current){let e=Pe.current;e.pause(),e.muted=!0,e.removeAttribute(`src`),e.load()}De(!1)},afterClose:()=>{if(Pe.current){let e=Pe.current;e.pause(),e.muted=!0}},width:800,footer:(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:12,padding:`16px 24px`,background:`rgba(255,255,255,0.6)`,borderTop:`1px solid rgba(139, 92, 246, 0.08)`},children:(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(J0,{}),onClick:()=>{if(!Oe)return;let e=document.createElement(`a`);e.href=`http://ceshi.apiforeign.minzhong.cn${Oe}&download=1`,e.download=Me||(Ae===`image`?`image.png`:`video.mp4`),document.body.appendChild(e),e.click(),document.body.removeChild(e)},style:{borderRadius:10,background:`linear-gradient(135deg, #8b5cf6 0%, #ddd6fe 100%)`,border:`none`,boxShadow:`0 8px 18px rgba(47, 52, 64, 0.15)`},children:`下载`})}),centered:!0,style:{borderRadius:16},styles:{body:{display:`flex`,alignItems:`center`,justifyContent:`center`,minHeight:`400px`},header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(139, 92, 246, 0.08)`,padding:`16px 24px`}},children:(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,width:`100%`,height:`100%`},children:Ae===`image`?(0,$.jsx)(`img`,{src:Xt(Oe),alt:`预览`,style:{width:`100%`,maxHeight:`400px`,objectFit:`contain`}}):(0,$.jsx)(`video`,{ref:Pe,src:Xt(Oe),controls:!0,style:{maxWidth:`100%`,maxHeight:`400px`}})})}),(0,$.jsx)(Qie,{open:ie,onClose:()=>K(!1),onSelect:Yt,selectedIds:j.map(e=>e.private_asset_id).filter(Boolean),maxCount:fn})]})},{Header:aae,Content:oae}=EG,{TextArea:sae}=_G,cae=()=>{let e=Ye(),[t,n]=(0,S.useState)([]),[r,i]=(0,S.useState)(1),[a,o]=(0,S.useState)(20),[s,c]=(0,S.useState)(0),[l,u]=(0,S.useState)(``),[d,f]=(0,S.useState)([]),[p,m]=(0,S.useState)(1),[h,g]=(0,S.useState)(8),[_,v]=(0,S.useState)(0),[y,b]=(0,S.useState)(``),[x,C]=(0,S.useState)(``),[w,T]=(0,S.useState)(``),[E,D]=(0,S.useState)(null),[O,k]=(0,S.useState)(``),[A,j]=(0,S.useState)(null),[M,N]=(0,S.useState)(``),[P,F]=(0,S.useState)(!1),[I,L]=(0,S.useState)(!1),[R,z]=(0,S.useState)(!1),B=(0,S.useRef)(null),V=(0,S.useRef)(null),H=(e,t,n=!1)=>{D7(e,t).then(e=>{if(e.items){f(n?t=>t.map(t=>{let n=e.items.find(e=>e.id===t.id);return n&&n.status!==t.status?n:t}):e.items);let t=e.items.some(e=>e.status===`processing`);t&&!B.current?B.current=setInterval(()=>{H(p,h,!0)},5e3):!t&&B.current&&(clearInterval(B.current),B.current=null)}e.total!==void 0&&v(e.total)}).catch(e=>{})},U=e=>{m(e),H(e,h)},W=(e,t,i=!1,o)=>{D7(e,t,o).then(e=>{if(e.items){n(i?t=>t.map(t=>{let n=e.items.find(e=>e.id===t.id);return n&&n.status!==t.status?n:t}):e.items);let t=e.items.some(e=>e.status===`processing`);t&&!V.current?V.current=setInterval(()=>{W(r,a,!0,l)},5e3):!t&&V.current&&(clearInterval(V.current),V.current=null)}e.total!==void 0&&c(e.total)}).catch(e=>{})};(0,S.useEffect)(()=>(W(r,a),H(p,h),()=>{B.current&&=(clearInterval(B.current),null),V.current&&=(clearInterval(V.current),null)}),[]);let ee=(e,t)=>{i(e),o(t),W(e,t,!1,l)},te=()=>{i(1),W(1,a,!1,l)};return(0,$.jsxs)(`div`,{className:`replication-container`,style:{margin:`-24px -32px -32px`,height:`calc(100vh - 34px)`,display:`flex`,justifyContent:`space-between`,alignItems:`stretch`,gap:`2%`,position:`relative`,boxSizing:`border-box`},children:[(0,$.jsxs)(`div`,{className:`replication-preview`,style:{width:`70%`,background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(20px)`,display:`flex`,flexDirection:`column`,borderRadius:20,overflow:`hidden`,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`,position:`relative`,zIndex:10},children:[(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,padding:`16px 24px`,borderRadius:16,paddingBottom:0,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,border:`1px solid rgba(99, 102, 241, 0.08)`,position:`relative`,overflow:`hidden`,flexWrap:`wrap`,gap:12},children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`h2`,{style:{margin:0,fontSize:18,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`爆款复刻`}),(0,$.jsx)(`p`,{style:{fontSize:13,color:`#64748b`,margin:`4px 0 0 0`},children:`上传参考视频与产品图片,一键复刻爆款视频开头`})]})}),(0,$.jsx)(X,{type:`primary`,ghost:!0,style:{borderRadius:10,padding:`6px 16px`,fontSize:13,background:`rgba(99, 102, 241, 0.1)`,borderColor:`rgba(99, 102, 241, 0.2)`,color:`#6366f1`},onClick:()=>z(!0),children:`创作记录`})]}),(0,$.jsx)(`div`,{style:{flex:1,background:`rgba(248, 250, 252, 0.5)`,borderRight:`1px solid rgba(99, 102, 241, 0.08)`,overflowY:`auto`},children:d.length>0?(0,$.jsxs)(`div`,{style:{height:`100%`,padding:`24px`},children:[(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:24},children:(0,$.jsx)(`h2`,{style:{margin:0,fontSize:16,fontWeight:600,color:`#1e293b`},children:`历史生成作品`})}),(0,$.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fill, minmax(190px, 1fr))`,gap:16},children:d.map(t=>(0,$.jsxs)(`div`,{style:{background:`rgba(255,255,255,0.9)`,border:`1px solid rgba(99, 102, 241, 0.6)`,backdropFilter:`blur(10px)`,borderRadius:16,overflow:`hidden`,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.06)`,cursor:`pointer`,transition:`transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1)`},onClick:()=>e(`/initial/${t.id}/initialinfo`),onMouseEnter:e=>{e.currentTarget.style.transform=`translateY(-6px)`,e.currentTarget.style.boxShadow=`0 12px 32px rgba(99, 102, 241, 0.12)`},onMouseLeave:e=>{e.currentTarget.style.transform=`translateY(0)`,e.currentTarget.style.boxShadow=`0 4px 16px rgba(99, 102, 241, 0.06)`},children:[(0,$.jsxs)(`div`,{style:{position:`relative`,aspectRatio:`1/1`,background:`#f8fafc`},children:[t.finalVideoUrl?(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${t.finalVideoCoverUrl}`,alt:t.targetProjectName,style:{width:`100%`,height:`100%`,objectFit:`cover`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`div`,{style:{width:60,height:60,borderRadius:`50%`,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(H5,{style:{fontSize:24,color:`#fff`}})})}),(0,$.jsx)(`div`,{style:{position:`absolute`,bottom:8,right:8,padding:`4px 12px`,background:`rgba(0,0,0,0.7)`,borderRadius:16,fontSize:10,color:`#fff`,backdropFilter:`blur(4px)`},children:(()=>{let e=t.status,n=t.current_step_code||t.currentStepCode;if(n===`image_prompt_optimize`)switch(e){case`waiting_user`:return`等待融合图生成`;case`processing`:return`图片提示词生成中`;case`completed`:return`图片提示词生成成功`;case`failed`:return`图片提示词生成失败`;default:return e||`待处理`}else if(n===`image_generate`)switch(e){case`waiting_user`:return`等待生成视频提示词`;case`processing`:return`融合图生成中`;case`completed`:return`融合图生成成功`;case`failed`:return`融合图生成失败`;default:return e||`待处理`}else if(n===`video_prompt_optimize`)switch(e){case`waiting_user`:return`等待最终视频生成`;case`processing`:return`视频提示词生成中`;case`completed`:return`视频提示词生成成功`;case`failed`:return`视频提示词生成失败`;default:return e||`待处理`}else if(n===`video_generate`)switch(e){case`waiting_user`:return``;case`processing`:return`最终视频生成中`;case`completed`:return`最终视频生成成功`;case`failed`:return`最终视频生成失败`;default:return e||`待处理`}else if(n===`material_input`)switch(e){case`waiting_user`:return`等待生成图片提示词`;case`processing`:return`素材处理中`;case`completed`:return`素材上传成功`;case`failed`:return`素材上传失败`;default:return e||`待处理`}else return{pending:`子任务待处理`,waiting_user:`等待用户确认或触发`,processing:`子任务处理中`,completed:`子任务完成`,failed:`子任务失败`,cancelled:`子任务取消`}[e]||e||`待处理`})()})]}),(0,$.jsxs)(`div`,{style:{padding:14},children:[(0,$.jsx)(`h4`,{style:{margin:0,fontSize:14,fontWeight:600,color:`#1e293b`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:t.targetProjectName||`未命名作品`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginTop:6},children:[(0,$.jsx)(`p`,{style:{margin:0,fontSize:12,color:`#64748b`},children:t.createdAt?new Date(t.createdAt).toLocaleDateString(`zh-CN`):``}),(()=>{let e=t.status;return e===`waiting_user`?(0,$.jsx)(`span`,{style:{fontSize:11,color:`#f59e0b`},children:`等待下一步`}):e===`processing`?(0,$.jsxs)(`span`,{style:{fontSize:11,color:`#6366f1`,display:`flex`,alignItems:`center`},children:[(0,$.jsx)(`span`,{children:`进行中`}),(0,$.jsx)(`span`,{style:{animation:`dots 1s infinite`},children:`...`}),(0,$.jsx)(`style`,{children:` + `}),(0,$.jsx)(WK,{open:he,title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(180deg, #8b5cf6 0%, #ddd6fe 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:700,color:`#8b5cf6`,letterSpacing:.4},children:`预览`})]}),onCancel:rn,width:800,footer:(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:12,padding:`16px 24px`,background:`rgba(255,255,255,0.6)`,borderTop:`1px solid rgba(139, 92, 246, 0.08)`},children:(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(U0,{}),onClick:an,style:{borderRadius:10,background:`linear-gradient(135deg, #8b5cf6 0%, #ddd6fe 100%)`,border:`none`,boxShadow:`0 8px 18px rgba(47, 52, 64, 0.15)`},disabled:Te(_e),children:Te(_e)?`资源已过期`:`下载`})}),centered:!0,style:{borderRadius:16},styles:{body:{display:`flex`,alignItems:`center`,justifyContent:`center`,minHeight:`400px`},header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(139, 92, 246, 0.08)`,padding:`16px 24px`}},children:(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,width:`100%`,height:`100%`},children:Te(_e)?(0,$.jsx)(`div`,{style:{textAlign:`center`,padding:`40px`},children:(0,$.jsx)(`p`,{style:{fontSize:16,color:`#A45B5B`,marginBottom:16},children:`图片/视频资源已过期,请刷新重新加载~`})}):ye===`image`?(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn/static${_e}&w=300&q=50`,alt:`预览`,style:{width:`100%`,maxHeight:`400px`,objectFit:`contain`}}):(0,$.jsx)(`video`,{ref:xe,src:`http://ceshi.apiforeign.minzhong.cn${_e}`,controls:!0,style:{maxWidth:`100%`,maxHeight:`400px`}})})}),(0,$.jsx)(WK,{open:Ee,title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(180deg, #8b5cf6 0%, #ddd6fe 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:700,color:`#8b5cf6`,letterSpacing:.4},children:`附件预览`})]}),onCancel:()=>{if(Pe.current){let e=Pe.current;e.pause(),e.muted=!0,e.removeAttribute(`src`),e.load()}De(!1)},afterClose:()=>{if(Pe.current){let e=Pe.current;e.pause(),e.muted=!0}},width:800,footer:(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:12,padding:`16px 24px`,background:`rgba(255,255,255,0.6)`,borderTop:`1px solid rgba(139, 92, 246, 0.08)`},children:(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(U0,{}),onClick:()=>{if(!Oe)return;let e=document.createElement(`a`);e.href=`http://ceshi.apiforeign.minzhong.cn${Oe}&download=1`,e.download=Me||(Ae===`image`?`image.png`:`video.mp4`),document.body.appendChild(e),e.click(),document.body.removeChild(e)},style:{borderRadius:10,background:`linear-gradient(135deg, #8b5cf6 0%, #ddd6fe 100%)`,border:`none`,boxShadow:`0 8px 18px rgba(47, 52, 64, 0.15)`},children:`下载`})}),centered:!0,style:{borderRadius:16},styles:{body:{display:`flex`,alignItems:`center`,justifyContent:`center`,minHeight:`400px`},header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(139, 92, 246, 0.08)`,padding:`16px 24px`}},children:(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,width:`100%`,height:`100%`},children:Ae===`image`?(0,$.jsx)(`img`,{src:Xt(Oe),alt:`预览`,style:{width:`100%`,maxHeight:`400px`,objectFit:`contain`}}):(0,$.jsx)(`video`,{ref:Pe,src:Xt(Oe),controls:!0,style:{maxWidth:`100%`,maxHeight:`400px`}})})}),(0,$.jsx)(mae,{open:ie,onClose:()=>K(!1),onSelect:Yt,selectedIds:j.map(e=>e.private_asset_id).filter(Boolean),maxCount:fn})]})},{Header:xae,Content:Sae}=xG,{TextArea:Cae}=fG,wae=()=>{let e=Ye(),[t,n]=(0,S.useState)([]),[r,i]=(0,S.useState)(1),[a,o]=(0,S.useState)(20),[s,c]=(0,S.useState)(0),[l,u]=(0,S.useState)(``),[d,f]=(0,S.useState)([]),[p,m]=(0,S.useState)(1),[h,g]=(0,S.useState)(8),[_,v]=(0,S.useState)(0),[y,b]=(0,S.useState)(``),[x,C]=(0,S.useState)(``),[w,T]=(0,S.useState)(``),[E,D]=(0,S.useState)(null),[O,k]=(0,S.useState)(``),[A,j]=(0,S.useState)(null),[M,N]=(0,S.useState)(``),[P,F]=(0,S.useState)(!1),[I,L]=(0,S.useState)(!1),[R,z]=(0,S.useState)(!1),B=(0,S.useRef)(null),V=(0,S.useRef)(null),H=(e,t,n=!1)=>{C7(e,t).then(e=>{if(e.items){f(n?t=>t.map(t=>{let n=e.items.find(e=>e.id===t.id);return n&&n.status!==t.status?n:t}):e.items);let t=e.items.some(e=>e.status===`processing`);t&&!B.current?B.current=setInterval(()=>{H(p,h,!0)},5e3):!t&&B.current&&(clearInterval(B.current),B.current=null)}e.total!==void 0&&v(e.total)}).catch(e=>{})},U=e=>{m(e),H(e,h)},W=(e,t,i=!1,o)=>{C7(e,t,o).then(e=>{if(e.items){n(i?t=>t.map(t=>{let n=e.items.find(e=>e.id===t.id);return n&&n.status!==t.status?n:t}):e.items);let t=e.items.some(e=>e.status===`processing`);t&&!V.current?V.current=setInterval(()=>{W(r,a,!0,l)},5e3):!t&&V.current&&(clearInterval(V.current),V.current=null)}e.total!==void 0&&c(e.total)}).catch(e=>{})};(0,S.useEffect)(()=>(W(r,a),H(p,h),()=>{B.current&&=(clearInterval(B.current),null),V.current&&=(clearInterval(V.current),null)}),[]);let ee=(e,t)=>{i(e),o(t),W(e,t,!1,l)},te=()=>{i(1),W(1,a,!1,l)};return(0,$.jsxs)(`div`,{className:`replication-container`,style:{margin:`-24px -32px -32px`,height:`calc(100vh - 34px)`,display:`flex`,justifyContent:`space-between`,alignItems:`stretch`,gap:`2%`,position:`relative`,boxSizing:`border-box`},children:[(0,$.jsxs)(`div`,{className:`replication-preview`,style:{width:`70%`,background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(20px)`,display:`flex`,flexDirection:`column`,borderRadius:20,overflow:`hidden`,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`,position:`relative`,zIndex:10},children:[(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,padding:`16px 24px`,borderRadius:16,paddingBottom:0,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,border:`1px solid rgba(99, 102, 241, 0.08)`,position:`relative`,overflow:`hidden`,flexWrap:`wrap`,gap:12},children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`h2`,{style:{margin:0,fontSize:18,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`爆款复刻`}),(0,$.jsx)(`p`,{style:{fontSize:13,color:`#64748b`,margin:`4px 0 0 0`},children:`上传参考视频与产品图片,一键复刻爆款视频开头`})]})}),(0,$.jsx)(X,{type:`primary`,ghost:!0,style:{borderRadius:10,padding:`6px 16px`,fontSize:13,background:`rgba(99, 102, 241, 0.1)`,borderColor:`rgba(99, 102, 241, 0.2)`,color:`#6366f1`},onClick:()=>z(!0),children:`创作记录`})]}),(0,$.jsx)(`div`,{style:{flex:1,background:`rgba(248, 250, 252, 0.5)`,borderRight:`1px solid rgba(99, 102, 241, 0.08)`,overflowY:`auto`},children:d.length>0?(0,$.jsxs)(`div`,{style:{height:`100%`,padding:`24px`},children:[(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:24},children:(0,$.jsx)(`h2`,{style:{margin:0,fontSize:16,fontWeight:600,color:`#1e293b`},children:`历史生成作品`})}),(0,$.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fill, minmax(190px, 1fr))`,gap:16},children:d.map(t=>(0,$.jsxs)(`div`,{style:{background:`rgba(255,255,255,0.9)`,border:`1px solid rgba(99, 102, 241, 0.6)`,backdropFilter:`blur(10px)`,borderRadius:16,overflow:`hidden`,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.06)`,cursor:`pointer`,transition:`transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1)`},onClick:()=>e(`/initial/${t.id}/initialinfo`),onMouseEnter:e=>{e.currentTarget.style.transform=`translateY(-6px)`,e.currentTarget.style.boxShadow=`0 12px 32px rgba(99, 102, 241, 0.12)`},onMouseLeave:e=>{e.currentTarget.style.transform=`translateY(0)`,e.currentTarget.style.boxShadow=`0 4px 16px rgba(99, 102, 241, 0.06)`},children:[(0,$.jsxs)(`div`,{style:{position:`relative`,aspectRatio:`1/1`,background:`#f8fafc`},children:[t.finalVideoUrl?(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${t.finalVideoCoverUrl}`,alt:t.targetProjectName,style:{width:`100%`,height:`100%`,objectFit:`cover`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`div`,{style:{width:60,height:60,borderRadius:`50%`,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(R5,{style:{fontSize:24,color:`#fff`}})})}),(0,$.jsx)(`div`,{style:{position:`absolute`,bottom:8,right:8,padding:`4px 12px`,background:`rgba(0,0,0,0.7)`,borderRadius:16,fontSize:10,color:`#fff`,backdropFilter:`blur(4px)`},children:(()=>{let e=t.status,n=t.current_step_code||t.currentStepCode;if(n===`image_prompt_optimize`)switch(e){case`waiting_user`:return`等待融合图生成`;case`processing`:return`图片提示词生成中`;case`completed`:return`图片提示词生成成功`;case`failed`:return`图片提示词生成失败`;default:return e||`待处理`}else if(n===`image_generate`)switch(e){case`waiting_user`:return`等待生成视频提示词`;case`processing`:return`融合图生成中`;case`completed`:return`融合图生成成功`;case`failed`:return`融合图生成失败`;default:return e||`待处理`}else if(n===`video_prompt_optimize`)switch(e){case`waiting_user`:return`等待最终视频生成`;case`processing`:return`视频提示词生成中`;case`completed`:return`视频提示词生成成功`;case`failed`:return`视频提示词生成失败`;default:return e||`待处理`}else if(n===`video_generate`)switch(e){case`waiting_user`:return``;case`processing`:return`最终视频生成中`;case`completed`:return`最终视频生成成功`;case`failed`:return`最终视频生成失败`;default:return e||`待处理`}else if(n===`material_input`)switch(e){case`waiting_user`:return`等待生成图片提示词`;case`processing`:return`素材处理中`;case`completed`:return`素材上传成功`;case`failed`:return`素材上传失败`;default:return e||`待处理`}else return{pending:`子任务待处理`,waiting_user:`等待用户确认或触发`,processing:`子任务处理中`,completed:`子任务完成`,failed:`子任务失败`,cancelled:`子任务取消`}[e]||e||`待处理`})()})]}),(0,$.jsxs)(`div`,{style:{padding:14},children:[(0,$.jsx)(`h4`,{style:{margin:0,fontSize:14,fontWeight:600,color:`#1e293b`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:t.targetProjectName||`未命名作品`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginTop:6},children:[(0,$.jsx)(`p`,{style:{margin:0,fontSize:12,color:`#64748b`},children:t.createdAt?new Date(t.createdAt).toLocaleDateString(`zh-CN`):``}),(()=>{let e=t.status;return e===`waiting_user`?(0,$.jsx)(`span`,{style:{fontSize:11,color:`#f59e0b`},children:`等待下一步`}):e===`processing`?(0,$.jsxs)(`span`,{style:{fontSize:11,color:`#6366f1`,display:`flex`,alignItems:`center`},children:[(0,$.jsx)(`span`,{children:`进行中`}),(0,$.jsx)(`span`,{style:{animation:`dots 1s infinite`},children:`...`}),(0,$.jsx)(`style`,{children:` @keyframes dots { 0%, 20% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } } - `})]}):e===`failed`?(0,$.jsx)(`span`,{style:{fontSize:11,color:`#ef4444`},children:`失败`}):e===`completed`&&t.finalVideoUrl?(0,$.jsx)(`span`,{style:{fontSize:11,color:`#10b981`},children:`任务完成`}):null})()]})]})]},t.id))}),(0,$.jsx)(`div`,{style:{paddingTop:20,paddingBottom:20,display:`flex`,justifyContent:`center`},children:(0,$.jsx)(rK,{current:p,pageSize:h,total:_,onChange:U,showSizeChanger:!1,showQuickJumper:!1,showTotal:e=>`共 ${e} 条`,itemRender:(e,t,n)=>t===`prev`?(0,$.jsx)(`button`,{style:{minWidth:32,height:32,border:`1px solid #e5e7eb`,borderRadius:6,background:p===1?`#f9fafb`:`#fff`,cursor:p===1?`not-allowed`:`pointer`,color:p===1?`#d1d5db`:`#6b7280`,fontSize:14},disabled:p===1,children:`‹`}):t===`next`?(0,$.jsx)(`button`,{style:{minWidth:32,height:32,border:`1px solid #e5e7eb`,borderRadius:6,background:p>=Math.ceil(_/h)?`#f9fafb`:`#fff`,cursor:p>=Math.ceil(_/h)?`not-allowed`:`pointer`,color:p>=Math.ceil(_/h)?`#d1d5db`:`#6b7280`,fontSize:14},disabled:p>=Math.ceil(_/h),children:`›`}):t===`page`?(0,$.jsx)(`button`,{style:{minWidth:32,height:32,border:`none`,borderRadius:6,background:e===p?`#6366f1`:`#fff`,color:e===p?`#fff`:`#374151`,fontWeight:e===p?500:400,cursor:`pointer`,fontSize:14},children:e}):n})})]}):(0,$.jsxs)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,padding:`40px`},children:[(0,$.jsxs)(`div`,{style:{width:120,height:120,display:`flex`,alignItems:`center`,justifyContent:`center`,marginBottom:24,position:`relative`},children:[(0,$.jsx)(`div`,{style:{width:60,height:60,background:`linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%)`,borderRadius:20,position:`absolute`,bottom:0,right:10}}),(0,$.jsx)(`div`,{style:{width:50,height:50,border:`2px solid rgba(99, 102, 241, 0.2)`,borderRadius:16,position:`absolute`,top:0,left:10}}),(0,$.jsx)(`div`,{style:{width:56,height:56,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:18,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 8px 24px rgba(99, 102, 241, 0.25)`},children:(0,$.jsx)(H5,{style:{fontSize:28,color:`#fff`}})})]}),(0,$.jsx)(`h3`,{style:{margin:0,fontSize:16,fontWeight:600,color:`#1e293b`,marginBottom:8},children:`暂无生成内容`}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:13,color:`#64748b`,textAlign:`center`,padding:`0 40px`,lineHeight:1.6},children:`请完善素材与卖点,生成专属爆款复刻视频`})]})})]}),(0,$.jsx)(`div`,{className:`replication-form`,style:{flex:1,overflow:`auto`,width:`28%`,background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(20px)`,borderRadius:20,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`,position:`relative`,zIndex:10},children:(0,$.jsxs)(`div`,{className:`replication-form-content`,style:{width:`100%`,height:`100%`,background:`rgba(248, 250, 252, 0.5)`,padding:24,overflowY:`auto`},children:[(0,$.jsxs)(`div`,{style:{marginBottom:20},children:[(0,$.jsx)(`p`,{style:{margin:0,fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10},children:`上传复刻视频`}),O?(0,$.jsxs)(`div`,{style:{position:`relative`},children:[(0,$.jsx)(`video`,{src:O,controls:!0,style:{width:`100%`,borderRadius:12,maxHeight:200,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.08)`}}),(0,$.jsx)(`button`,{onClick:()=>{O&&URL.revokeObjectURL(O),D(null),k(``)},style:{position:`absolute`,top:8,right:8,width:28,height:28,border:`none`,background:`rgba(239, 68, 68, 0.9)`,borderRadius:`50%`,cursor:`pointer`,color:`#fff`,fontSize:16,display:`flex`,alignItems:`center`,justifyContent:`center`,zIndex:10,transition:`all 0.2s`},children:`×`}),(0,$.jsxs)(`div`,{style:{marginTop:10,display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(H5,{style:{color:`#6366f1`,fontSize:14}}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#475569`},children:E?.name}),(0,$.jsxs)(`span`,{style:{fontSize:11,color:`#94a3b8`},children:[`(`,E?.size?(E.size/1024/1024).toFixed(2):0,`MB)`]})]})]}):(0,$.jsx)(e2,{style:{width:`100%`},beforeUpload:async e=>{if(!e.type.startsWith(`video/`))return Z.error(`只能上传视频文件`),!1;if(!(e.size/1024/1024<50))return Z.error(`视频大小不能超过50MB`),!1;let t=document.createElement(`video`);return t.preload=`metadata`,new Promise(n=>{t.onloadedmetadata=async()=>{if(t.duration<2){Z.error(`视频时长不能少于2秒`),URL.revokeObjectURL(t.src),n(!1);return}if(t.duration>=16){Z.error(`视频时长不能超过15秒`),URL.revokeObjectURL(t.src),n(!1);return}F(!0);try{let t=await p7(e);D(e),k(`http://ceshi.apiforeign.minzhong.cn${t.url}`),Z.success(`视频上传成功`),n(!1)}catch(e){let t=``;if(e instanceof Error)try{t=JSON.parse(e.message).detail||e.message}catch{t=e.message}Z.error(t||`视频上传失败`),n(!1)}finally{F(!1),URL.revokeObjectURL(t.src)}},t.onerror=()=>{Z.error(`视频文件无效`),URL.revokeObjectURL(t.src),n(!1)},t.src=URL.createObjectURL(e)})},showUploadList:!1,accept:`video/mp4,video/quicktime,.mp4,.mov`,children:(0,$.jsx)(`div`,{style:{border:`2px dashed rgba(99, 102, 241, 0.3)`,borderRadius:12,padding:24,textAlign:`center`,cursor:`pointer`,transition:`all 0.25s cubic-bezier(0.4, 0, 0.2, 1)`,background:`rgba(99, 102, 241, 0.02)`},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#6366f1`,e.currentTarget.style.background=`rgba(99, 102, 241, 0.05)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(99, 102, 241, 0.3)`,e.currentTarget.style.background=`rgba(99, 102, 241, 0.02)`},children:P?(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{width:40,height:40,margin:`0 auto 12px`,border:`3px solid rgba(99, 102, 241, 0.2)`,borderTopColor:`#6366f1`,borderRadius:`50%`,animation:`spin 1s linear infinite`}}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:13,color:`#6366f1`,fontWeight:500},children:`上传中...`}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:11,color:`#94a3b8`,marginTop:4},children:`支持的文件类型:MP4、MOV | 视频最大时长:15 秒 | 最大大小:50M`})]}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{width:48,height:48,margin:`0 auto 12px`,background:`linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%)`,borderRadius:16,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(H5,{style:{fontSize:24,color:`#6366f1`}})}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:13,color:`#475569`,fontWeight:500},children:`点击或拖拽上传视频`}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:11,color:`#94a3b8`,marginTop:4},children:`支持的文件类型:MP4、MOV | 视频最大时长:15 秒 | 最大大小:50M`})]})})})]}),(0,$.jsxs)(`div`,{style:{marginBottom:20},children:[(0,$.jsx)(`p`,{style:{margin:0,fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10},children:`上传产品图片`}),M?(0,$.jsxs)(`div`,{style:{position:`relative`},children:[(0,$.jsx)(`img`,{src:M,alt:`产品图片`,style:{width:`100%`,borderRadius:12,maxHeight:200,objectFit:`contain`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.08)`}}),(0,$.jsx)(`button`,{onClick:()=>{M&&URL.revokeObjectURL(M),j(null),N(``)},style:{position:`absolute`,top:8,right:8,width:28,height:28,border:`none`,background:`rgba(239, 68, 68, 0.9)`,borderRadius:`50%`,cursor:`pointer`,color:`#fff`,fontSize:16,display:`flex`,alignItems:`center`,justifyContent:`center`,zIndex:10,transition:`all 0.2s`},children:`×`}),(0,$.jsxs)(`div`,{style:{marginTop:10,display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(g8,{style:{color:`#6366f1`,fontSize:14}}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#475569`},children:A?.name}),(0,$.jsxs)(`span`,{style:{fontSize:11,color:`#94a3b8`},children:[`(`,A?.size?(A.size/1024/1024).toFixed(2):0,`MB)`]})]})]}):(0,$.jsx)(e2,{style:{width:`100%`},beforeUpload:async e=>{if(!e.type.startsWith(`image/`))return Z.error(`只能上传图片文件`),!1;if(!(e.size/1024/1024<10))return Z.error(`图片大小不能超过10MB`),!1;let t=new Image;return new Promise(n=>{t.onload=async()=>{let r=t.width/t.height;Math.abs(r-.75)<.1||Math.abs(r-.5625),L(!0);try{let t=await f7(e);j(e),N(`http://ceshi.apiforeign.minzhong.cn${t.url}`),Z.success(`图片上传成功`),n(!1)}catch(e){let t=``;if(e instanceof Error)try{t=JSON.parse(e.message).detail||e.message}catch{t=e.message}Z.error(t||`图片上传失败`),n(!1)}finally{L(!1),URL.revokeObjectURL(t.src)}},t.onerror=()=>{Z.error(`图片文件无效`),URL.revokeObjectURL(t.src),n(!1)},t.src=URL.createObjectURL(e)})},showUploadList:!1,accept:`image/jpeg,image/jpg,image/png,.jpg,.jpeg,.png`,children:(0,$.jsx)(`div`,{style:{border:`2px dashed rgba(99, 102, 241, 0.3)`,borderRadius:12,padding:20,textAlign:`center`,cursor:`pointer`,transition:`all 0.25s cubic-bezier(0.4, 0, 0.2, 1)`,background:`rgba(99, 102, 241, 0.02)`},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#6366f1`,e.currentTarget.style.background=`rgba(99, 102, 241, 0.05)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(99, 102, 241, 0.3)`,e.currentTarget.style.background=`rgba(99, 102, 241, 0.02)`},children:I?(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{width:36,height:36,margin:`0 auto 10px`,border:`3px solid rgba(99, 102, 241, 0.2)`,borderTopColor:`#6366f1`,borderRadius:`50%`,animation:`spin 1s linear infinite`}}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:13,color:`#6366f1`,fontWeight:500},children:`上传中...`}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:11,color:`#94a3b8`,marginTop:4},children:`支持 JPG, JPEG, PNG 格式,图片比例为 3:4 或 9:16 效果最佳`})]}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{width:44,height:44,margin:`0 auto 10px`,background:`linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%)`,borderRadius:14,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(g8,{style:{fontSize:22,color:`#6366f1`}})}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:13,color:`#475569`,fontWeight:500},children:`+ 点击上传`}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:11,color:`#94a3b8`,marginTop:4},children:`支持 JPG, JPEG, PNG 格式,图片比例为 3:4 或 9:16 效果最佳`})]})})})]}),(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(`p`,{style:{margin:0,fontSize:13,fontWeight:500,color:`#475569`,marginBottom:8},children:`原视频产品名称`}),(0,$.jsx)(_G,{value:y,onChange:e=>b(e.target.value),placeholder:`请输入原视频产品名称`,style:{borderRadius:10,height:40,fontSize:13,border:`1px solid rgba(99, 102, 241, 0.15)`,background:`rgba(255,255,255,0.8)`},maxLength:10,suffix:(0,$.jsxs)(`span`,{style:{color:`#94a3b8`,fontSize:12},children:[y.length,`/10`]})})]}),(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(`p`,{style:{margin:0,fontSize:13,fontWeight:500,color:`#475569`,marginBottom:8},children:`自有产品名称`}),(0,$.jsx)(_G,{value:x,onChange:e=>C(e.target.value),placeholder:`请输入自有产品名称`,style:{borderRadius:10,height:40,fontSize:13,border:`1px solid rgba(99, 102, 241, 0.15)`,background:`rgba(255,255,255,0.8)`},maxLength:10,suffix:(0,$.jsxs)(`span`,{style:{color:`#94a3b8`,fontSize:12},children:[x.length,`/10`]})})]}),(0,$.jsxs)(`div`,{style:{marginBottom:24},children:[(0,$.jsx)(`p`,{style:{margin:0,fontSize:13,fontWeight:500,color:`#475569`,marginBottom:8},children:`产品卖点`}),(0,$.jsxs)(`div`,{style:{position:`relative`},children:[(0,$.jsx)(sae,{value:w,onChange:e=>T(e.target.value),placeholder:`请输入产品卖点`,style:{borderRadius:10,fontSize:13,height:80,resize:`none`,border:`1px solid rgba(99, 102, 241, 0.15)`,background:`rgba(255,255,255,0.8)`},rows:3,maxLength:30}),(0,$.jsxs)(`span`,{style:{position:`absolute`,right:10,bottom:8,color:`#94a3b8`,fontSize:12},children:[w.length,`/30`]})]})]}),(0,$.jsx)(X,{type:`primary`,block:!0,size:`large`,onClick:()=>{if(!O){Z.warning(`请上传复刻视频`);return}if(!M){Z.warning(`请上传产品图片`);return}if(!y.trim()){Z.warning(`请输入原视频产品名称`);return}if(!x.trim()){Z.warning(`请输入自有产品名称`);return}if(!w.trim()){Z.warning(`请输入产品卖点`);return}Pre({material_video_url:O,material_image_url:M,source_project_name:y,target_project_name:x,core_content_point:w,idempotency_key:Date.now().toString()}).then(t=>{let r=``,i=``;k(``),N(``),b(``),C(``),T(``),H(1,8),D7(1,20).then(t=>{if(t.items){let a=t.items[0].id;n(t.items),O7(t.items[0].id).then(t=>{r=t.id,i=t.steps[0].id,Fre(r,i).then(t=>{Z.loading(`创建中...`,3),setTimeout(()=>{e(`/initial/${a}/initialinfo`)},3e3)})}).catch(e=>{})}}).catch(e=>{})}).catch(e=>{Z.error(`视频开头复刻失败`)})},style:{borderRadius:12,height:44,fontWeight:600,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%)`,border:`none`,fontSize:15,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.3)`,transition:`all 0.25s cubic-bezier(0.4, 0, 0.2, 1)`},children:`立即生成+`})]})}),(0,$.jsxs)(YK,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`创作记录`})]}),open:R,onCancel:()=>z(!1),width:850,footer:null,style:{borderRadius:20},styles:{body:{height:580,display:`flex`,flexDirection:`column`,padding:0},header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,padding:`16px 24px`}},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,margin:`16px 24px`,flexShrink:0},children:[(0,$.jsx)(_G,{placeholder:`搜索产品名称`,value:l,onChange:e=>u(e.target.value),onPressEnter:te,style:{width:220,borderRadius:10,marginRight:10,border:`1px solid rgba(99, 102, 241, 0.15)`,background:`rgba(255,255,255,0.8)`}}),(0,$.jsx)(X,{type:`primary`,onClick:te,style:{borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`},children:`搜索`})]}),(0,$.jsx)(`div`,{style:{flex:1,overflow:`auto`,padding:`0 24px 24px`},children:(0,$.jsx)(`div`,{style:{background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(10px)`,borderRadius:16,overflow:`hidden`,border:`1px solid rgba(99, 102, 241, 0.08)`,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.06)`},children:(0,$.jsx)(v$,{columns:[{title:`产品名称`,dataIndex:`targetProjectName`,key:`targetProjectName`,align:`center`,width:200,render:e=>(0,$.jsx)(`span`,{style:{fontSize:13,color:`#1e293b`,fontWeight:500},children:e||`-`})},{title:`状态`,dataIndex:`status`,key:`status`,align:`center`,width:220,render:(e,t)=>{let n=e,r=t.current_step_code||t.currentStepCode,i=(()=>{if(r===`image_prompt_optimize`)switch(n){case`waiting_user`:return{text:`等待融合图生成`,color:`#f59e0b`};case`processing`:return{text:`图片提示词生成中`,color:`#f59e0b`};case`completed`:return{text:`图片提示词生成成功`,color:`#10b981`};case`failed`:return{text:`图片提示词生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#64748b`}}else if(r===`image_generate`)switch(n){case`waiting_user`:return{text:`等待生成视频提示词`,color:`#f59e0b`};case`processing`:return{text:`融合图生成中`,color:`#f59e0b`};case`completed`:return{text:`融合图生成成功`,color:`#10b981`};case`failed`:return{text:`融合图生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#64748b`}}else if(r===`video_prompt_optimize`)switch(n){case`waiting_user`:return{text:`等待最终视频生成`,color:`#f59e0b`};case`processing`:return{text:`视频提示词生成中`,color:`#f59e0b`};case`completed`:return{text:`视频提示词生成成功`,color:`#10b981`};case`failed`:return{text:`视频提示词生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#64748b`}}else if(r===`video_generate`)switch(n){case`waiting_user`:return{text:``,color:`#64748b`};case`processing`:return{text:`最终视频生成中`,color:`#f59e0b`};case`completed`:return{text:`任务完成`,color:`#10b981`};case`failed`:return{text:`最终视频生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#64748b`}}else if(r===`material_input`)switch(n){case`waiting_user`:return{text:`等待生成图片提示词`,color:`#f59e0b`};case`processing`:return{text:`素材处理中`,color:`#f59e0b`};case`completed`:return{text:`素材上传成功`,color:`#10b981`};case`failed`:return{text:`素材上传失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#64748b`}}else return{pending:{text:`子任务待处理`,color:`#f59e0b`},waiting_user:{text:`等待用户确认或触发`,color:`#f59e0b`},processing:{text:`子任务处理中`,color:`#f59e0b`},completed:{text:`子任务完成`,color:`#10b981`},failed:{text:`子任务失败`,color:`#ef4444`},cancelled:{text:`子任务取消`,color:`#94a3b8`}}[n]||{text:n||`-`,color:`#64748b`}})();return(0,$.jsx)(`span`,{style:{fontSize:12,color:i.color,fontWeight:500},children:i.text})}},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,align:`center`,width:200,render:e=>{if(!e)return`-`;let t=new Date(e);return(0,$.jsx)(`span`,{style:{fontSize:12,color:`#64748b`},children:`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`})}},{title:`操作`,key:`action`,align:`center`,width:120,render:(t,n)=>(0,$.jsx)(`button`,{onClick:()=>e(`/initial/${n.id}/initialinfo`),style:{color:`#6366f1`,textDecoration:`none`,fontSize:13,border:`none`,background:`rgba(99, 102, 241, 0.08)`,padding:`4px 12px`,borderRadius:8,cursor:`pointer`,transition:`all 0.2s`},children:`查看详情`})}],dataSource:t,rowKey:`id`,pagination:{current:r,pageSize:a,total:s,showSizeChanger:!0,showQuickJumper:!0,showTotal:e=>`共 ${e} 条`,onChange:ee,itemRender:(e,t,n)=>t===`prev`?(0,$.jsx)(`button`,{style:{minWidth:32,height:32,border:`1px solid rgba(99, 102, 241, 0.15)`,borderRadius:8,background:r===1?`rgba(243, 244, 246, 0.5)`:`#fff`,cursor:r===1?`not-allowed`:`pointer`,color:r===1?`#94a3b8`:`#6366f1`,fontSize:14},disabled:r===1,children:`‹`}):t===`next`?(0,$.jsx)(`button`,{style:{minWidth:32,height:32,border:`1px solid rgba(99, 102, 241, 0.15)`,borderRadius:8,background:r>=Math.ceil(s/a)?`rgba(243, 244, 246, 0.5)`:`#fff`,cursor:r>=Math.ceil(s/a)?`not-allowed`:`pointer`,color:r>=Math.ceil(s/a)?`#94a3b8`:`#6366f1`,fontSize:14},disabled:r>=Math.ceil(s/a),children:`›`}):t===`page`?(0,$.jsx)(`button`,{style:{minWidth:32,height:32,border:`none`,borderRadius:8,background:e===r?`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`:`#fff`,color:e===r?`#fff`:`#475569`,fontWeight:e===r?600:400,cursor:`pointer`,fontSize:14},children:e}):n},style:{fontSize:13},scroll:{y:350}})})})]})]})};function m9(e){return!!e&&typeof e==`object`&&!Array.isArray(e)}function h9(e,...t){for(let n of t){let t=e[n];if(t!=null&&String(t).trim()!==``)return String(t)}return``}function g9(e,t,...n){for(let t of n){let n=e[t];if(n===!0||n===!1)return n;if(n===`true`)return!0;if(n===`false`)return!1}return t}function lae(e,...t){for(let n of t){let t=e[n];if(typeof t==`number`&&Number.isFinite(t)&&t>0)return t;if(typeof t==`string`&&t.trim()){let e=Number(t);if(Number.isFinite(e)&&e>0)return e}}}function _9(e){if(!m9(e))return null;let t=h9(e,`key`);return t?{key:t,label:h9(e,`label`)||t,type:h9(e,`type`)||void 0,enabled:g9(e,!0,`enabled`),editable:g9(e,!0,`editable`),maxLength:lae(e,`maxLength`,`max_length`)}:null}function v9(e){if(!m9(e))return null;let t=e.data;return m9(t)?t:Array.isArray(e.sections)?e:null}function uae(e){return!!v9(e)}function y9(e){let t=v9(e);return(Array.isArray(t?.sections)?t.sections:[]).map(e=>{let t=_9(e);if(!t||!m9(e))return null;let n=Array.isArray(e.children)?e.children.map(_9).filter(Boolean):[],r=Array.isArray(e.itemFields)?e.itemFields.map(_9).filter(Boolean):Array.isArray(e.item_fields)?e.item_fields.map(_9).filter(Boolean):[];return{...t,contentKey:h9(e,`contentKey`,`content_key`)||void 0,children:n,itemFields:r}}).filter(e=>!!e&&e.enabled)}function b9(e){if(e==null)return``;if(typeof e==`object`)try{return JSON.stringify(e,null,2)}catch{return String(e)}return String(e)}function x9(e){let t=b9(e);return t.length>40||t.includes(` -`)||t.includes(`,`)||t.includes(`。`)||t.includes(`;`)||t.includes(`;`)}function S9(e){return e===void 0?e:JSON.parse(JSON.stringify(e))}function C9(e,t,n,r){let i=S9(e||{});return m9(i[t])||(i[t]={}),i[t][n]=r,i}function w9(e,t,n,r,i){let a=S9(e||{});return Array.isArray(a[t])||(a[t]=[]),m9(a[t][n])||(a[t][n]={}),a[t][n][r]=i,a}function T9(e,t){if(!m9(e))return`视频提示词不能为空`;let n=y9(t);if(!n.length)return`视频提词配置缺失,无法保存`;for(let t of n){if(!t.editable)continue;let n=e[t.key];if(t.type===`object`){if(!m9(n))continue;for(let e of t.children)if(!(!e.enabled||!e.editable||!e.maxLength)&&b9(n[e.key]).length>e.maxLength)return`字段【${t.label}.${e.label}】长度不能超过 ${e.maxLength} 个字符`;continue}if(t.type===`flow`){if(!Array.isArray(n))continue;for(let e=0;en.maxLength)return`字段【${t.label} 第 ${e+1} 项.${n.label}】长度不能超过 ${n.maxLength} 个字符`}}continue}if(t.editable&&t.maxLength&&b9(n).length>t.maxLength)return`字段【${t.label}】长度不能超过 ${t.maxLength} 个字符`}return null}var{Text:E9}=Q,{TextArea:D9}=_G;function O9(e){return!!e&&typeof e==`object`&&!Array.isArray(e)}function k9({value:e}){let t=e===`true`?`是`:e===`false`?`否`:b9(e);return x9(e)?(0,$.jsx)(D9,{value:t,rows:Math.min(6,Math.max(2,Math.ceil(t.length/42))),disabled:!0,style:{borderRadius:8,color:`#64748b`}}):(0,$.jsx)(_G,{value:t,disabled:!0,style:{borderRadius:8,color:`#64748b`}})}function A9({value:e,maxLength:t,onChange:n}){let r=b9(e),i={value:r,maxLength:t,showCount:!!t,onChange:e=>n(e.target.value),style:{borderRadius:8}};return x9(e)?(0,$.jsx)(D9,{...i,rows:Math.min(8,Math.max(3,Math.ceil(r.length/42)))}):(0,$.jsx)(_G,{...i})}function j9({value:e,onChange:t}){let n=e===!0||e===`true`;return(0,$.jsxs)(XI.Group,{value:n,onChange:e=>t(e.target.value),style:{display:`flex`,gap:24},children:[(0,$.jsx)(XI,{value:!0,style:{fontSize:14,color:`#475569`},children:`是`}),(0,$.jsx)(XI,{value:!1,style:{fontSize:14,color:`#475569`},children:`否`})]})}var M9=({value:e,schemaConfigSnapshot:t,onChange:n})=>{let r=O9(e)?e:{},i=y9(t);if(!uae(t))return(0,$.jsxs)(HH,{direction:`vertical`,size:12,style:{width:`100%`},children:[(0,$.jsx)(Jf,{type:`warning`,showIcon:!0,message:`视频提词配置缺失,暂不能编辑`,description:`请刷新详情后重试;如果仍然缺失,请联系管理员排查第4步 schema_config_snapshot 返回。`}),Object.keys(r).length?(0,$.jsx)(`pre`,{style:{margin:0,padding:12,borderRadius:10,background:`#f8fafc`,maxHeight:420,overflow:`auto`,color:`#475569`},children:JSON.stringify(r,null,2)}):null]});if(!i.length)return(0,$.jsx)(Jf,{type:`warning`,showIcon:!0,message:`视频提词配置为空`,description:`当前 Schema 配置没有可展示字段。`});let a=e=>{let t=O9(r[e.key])?r[e.key]:{},i=e.children.filter(e=>e.enabled);return i.length?(0,$.jsxs)(`div`,{style:{marginBottom:18},children:[(0,$.jsx)(HH,{style:{marginBottom:8},children:(0,$.jsx)(E9,{strong:!0,style:{color:`#334155`,fontSize:13},children:e.label})}),(0,$.jsx)(`div`,{style:{borderLeft:`3px solid #6366f1`,paddingLeft:12,marginLeft:4},children:i.map(i=>(0,$.jsxs)(`div`,{style:{marginBottom:12},children:[(0,$.jsx)(HH,{style:{marginBottom:4},children:(0,$.jsx)(E9,{style:{color:`#64748b`,fontSize:12},children:i.label})}),i.editable?i.type===`boolean`?(0,$.jsx)(j9,{value:t[i.key],onChange:t=>n(C9(r,e.key,i.key,t))}):(0,$.jsx)(A9,{value:t[i.key],maxLength:i.maxLength,onChange:t=>n(C9(r,e.key,i.key,t))}):(0,$.jsx)(k9,{value:t[i.key]})]},i.key))})]},e.key):null},o=e=>{let t=Array.isArray(r[e.key])?r[e.key]:[],i=[{key:`时间段`,label:`时间段`,enabled:!0,editable:!1},...e.itemFields.filter(e=>e.enabled)];return(0,$.jsxs)(`div`,{style:{marginBottom:18},children:[(0,$.jsxs)(HH,{style:{marginBottom:8},children:[(0,$.jsx)(E9,{strong:!0,style:{color:`#334155`,fontSize:13},children:e.label}),(0,$.jsx)(j$,{color:`default`,children:`锁定条目和时间段`})]}),(0,$.jsx)(`div`,{style:{border:`1px solid #e5e7eb`,borderRadius:10,padding:12,background:`#fff`},children:t.length===0?(0,$.jsx)(E9,{style:{color:`#94a3b8`,fontSize:12},children:`暂无内容`}):t.map((a,o)=>{let s=O9(a)?a:{};return(0,$.jsxs)(`div`,{style:{marginBottom:o===t.length-1?0:14,paddingBottom:o===t.length-1?0:14,borderBottom:o===t.length-1?`none`:`1px dashed #e2e8f0`},children:[(0,$.jsxs)(E9,{strong:!0,style:{display:`block`,marginBottom:8,color:`#475569`,fontSize:12},children:[`第 `,o+1,` 段`]}),i.map(t=>(0,$.jsxs)(`div`,{style:{marginBottom:10},children:[(0,$.jsx)(HH,{style:{marginBottom:4},children:(0,$.jsx)(E9,{style:{color:`#64748b`,fontSize:12},children:t.label})}),t.editable?t.type===`boolean`?(0,$.jsx)(j9,{value:s[t.key],onChange:i=>n(w9(r,e.key,o,t.key,i))}):(0,$.jsx)(A9,{value:s[t.key],maxLength:t.maxLength,onChange:i=>n(w9(r,e.key,o,t.key,i))}):(0,$.jsx)(k9,{value:s[t.key]})]},t.key))]},`${e.key}-${o}`)})})]},e.key)},s=e=>e.key in r?(0,$.jsxs)(`div`,{style:{marginBottom:18},children:[(0,$.jsx)(HH,{style:{marginBottom:8},children:(0,$.jsx)(E9,{strong:!0,style:{color:`#334155`,fontSize:13},children:e.label})}),e.editable?(0,$.jsx)(A9,{value:r[e.key],maxLength:e.maxLength,onChange:t=>{let i=S9(r);i[e.key]=t,n(i)}}):(0,$.jsx)(k9,{value:r[e.key]})]},e.key):null;return(0,$.jsx)(`div`,{children:i.map(e=>e.key in r?e.type===`object`?a(e):e.type===`flow`?o(e):s(e):null)})},{Title:dae,Text:N9}=Q,{TextArea:fae}=_G;function pae(e){return e===void 0?e:JSON.parse(JSON.stringify(e))}function mae(){let e=Ye(),{creatID:t}=$e(),[n,r]=(0,S.useState)(!1),[i,a]=(0,S.useState)(``),[o,s]=(0,S.useState)(!1),[c,l]=(0,S.useState)(`image`),[u,d]=(0,S.useState)({}),[f,p]=(0,S.useState)(null),[m,h]=(0,S.useState)(``),[g,_]=(0,S.useState)(!1),[v,y]=(0,S.useState)(null),[b,x]=(0,S.useState)({}),[C,w]=(0,S.useState)(``),[T,E]=(0,S.useState)(``),[D,O]=(0,S.useState)(!1),[k,A]=(0,S.useState)(!1),[j,M]=(0,S.useState)(5),[N,P]=(0,S.useState)(`16:9`),[F,I]=(0,S.useState)(`480p`),[L,R]=(0,S.useState)({ratios:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:[`480p`,`720p`,`1080p`],durations:[5,8,10,12,15]}),[z,B]=(0,S.useState)([]),[V,H]=(0,S.useState)(1),[U,W]=(0,S.useState)(20),[ee,te]=(0,S.useState)(0),[ne,re]=(0,S.useState)(``),[G,ie]=(0,S.useState)({}),[K,ae]=(0,S.useState)([]),[q,oe]=(0,S.useState)([]),[se,ce]=(0,S.useState)(!1),[le,ue]=(0,S.useState)(``),[de,fe]=(0,S.useState)(`image`),pe=S.useRef(null);(0,S.useEffect)(()=>{if(se&&de===`video`){let e=()=>{pe.current&&pe.current.play().catch(()=>{})};pe.current&&(pe.current.readyState>=2?e():pe.current.addEventListener(`loadedmetadata`,e));let t=setTimeout(e,300);return()=>{clearTimeout(t),pe.current&&(pe.current.removeEventListener(`loadedmetadata`,e),pe.current.pause())}}else pe.current&&pe.current.pause()},[se,de]);let me=(e,t)=>{console.log(e,t),ue(e),fe(t),ce(!0)},he=()=>{ce(!1),ue(``),pe.current&&pe.current.pause()},ge=e=>{if(e.preventDefault(),e.stopPropagation(),!le)return;let t=document.createElement(`a`);t.href=`http://ceshi.apiforeign.minzhong.cn${le}&download=1`,t.download=de===`image`?`image.png`:`video.mp4`,document.body.appendChild(t),t.click(),document.body.removeChild(t)},_e=[{id:1,title:`原始素材`,description:`上传原始视频素材`,childId:1},{id:2,title:`生成提示词`,description:`根据素材生成描述词`,childId:2},{id:3,title:`生成产品融合图`,description:`生成产品与场景融合图`,childId:3},{id:4,title:`生成视频提示词`,description:`生成视频生成提示词`,childId:4},{id:5,title:`生成最终视频`,description:`合成最终视频`,childId:5}].map((e,t)=>({...e,status:K[t]?.status||``,id:K[t]?.id||t,output:K[t]?.output||``,engineId:K[t]?.input?.payload?.videoConfig?.engineId||``}));(0,S.useEffect)(()=>{let e=new Set;q.forEach(t=>{let n=_e.find(e=>String(e.childId)===t);n&&(n.status===`completed`||n.status===`failed`)&&e.add(t)});for(let t=_e.length-1;t>=0;t--)if(_e[t].status===`completed`||_e[t].status===`failed`){e.add(String(_e[t].childId));break}e.size>0?oe(Array.from(e)):oe([])},[K]);let ve=(e,t,n)=>{D7(e,t,n).then(e=>{e.items&&B(e.items),e.total!==void 0&&te(e.total)}).catch(e=>{})},ye=(e,t)=>{H(e),W(t),ve(e,t,ne)},be=()=>{H(1),ve(1,U,ne)};(0,S.useEffect)(()=>{ve(V,U)},[]),(0,S.useEffect)(()=>{w7().then(e=>{if(x(e.engine||{}),e.engine?.video&&e.engine.video.length>0){w(e.engine.video[0].id);let t=e.engine.video[0];R({ratios:t.supportedRatios||[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:t.supportedResolutions||[`480p`,`720p`,`1080p`],durations:t.supportedDurations||[5,8,10,12,15]})}e.engine?.image&&e.engine.image.length>0&&E(e.engine.image[0].id)}).catch(e=>{})},[]),(0,S.useEffect)(()=>()=>{v&&(clearInterval(v),y(null))},[v]),(0,S.useEffect)(()=>{let e=e=>{let t=e.target;!t.closest(`.image-settings-trigger`)&&!t.closest(`.image-settings-popover`)&&(O(!1),A(!1))};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]),(0,S.useEffect)(()=>{t&&O7(t).then(e=>{ie(e),e.steps&&ae(e.steps)}).catch(e=>{})},[t]),(0,S.useEffect)(()=>{let e=_e[4];e&&e.status!==`completed`&&e.status!==`failed`?v||y(setInterval(Ce,15e3)):e&&v&&(clearInterval(v),y(null))},[_e]);let xe=(e,t,n,i)=>{l(t||`image`),h(n?String(n):``),t===`video`?(p(i||null),d(e&&typeof e==`object`?pae(e):{}),a(``)):(p(null),a(e||``),d({})),r(!0)},Se=async()=>{if(c===`image`){if(!G?.id||!m){Z.warning(`缺少任务或步骤 ID,无法保存图片提示词`);return}if(!i||!i.trim()){Z.warning(`图片提示词不能为空`);return}_(!0);try{await Ire(G.id,m,{prompt:i.trim()}),Z.success(`图片提示词已保存`),we(),r(!1),h(``)}catch(e){Z.error(e?.message||`保存图片提示词失败`)}finally{_(!1)}return}if(!G?.id||!m){Z.warning(`缺少任务或步骤 ID,无法保存视频提示词`);return}if(!u||typeof u!=`object`||Object.keys(u).length===0){Z.warning(`视频提示词不能为空`);return}if(!f){Z.warning(`视频提词配置缺失,暂不能保存`);return}let e=T9(u,f);if(e){Z.warning(e);return}_(!0);try{await Hre(G.id,m,{prompt_schema:u}),Z.success(`视频提示词已保存`),we(),r(!1),h(``)}catch(e){Z.error(e?.message||`保存视频提示词失败`)}finally{_(!1)}},Ce=()=>{t&&O7(t).then(e=>{ie(e),e.steps&&ae(e.steps)}).catch(e=>{})},we=()=>{t&&O7(t).then(e=>{ie(e),e.steps&&ae(e.steps)}).catch(e=>{})},Te=e=>{let t={engine_id:T,image_proportion:`1:1`,image_px:`2048x2048`,image_size:`2K`};k7(G.id,e.toString(),t).then(e=>{Z.info(`正在生成图片,请稍候...`),we()}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},Ee=()=>{let e={engine_id:T,image_proportion:`1:1`,image_px:`2048x2048`,image_size:`2K`};k7(G.id,_e[1].id.toString(),e).then(e=>{Z.info(`正在生成图片,请稍候...`),we()}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},De=e=>{let t={engine_id:C,duration:j,aspect_ratio:N,resolution:F,target_platform:`抖音`};Lre(G.id,e.toString(),t).then(e=>{we(),Z.info(`正在生成视频提示词,请稍候...`)}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},Oe=(e,t)=>{A7(G.id,e.toString(),{engine_id:``}).then(e=>{Z.info(`正在生成视频,请稍候...`),we()}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},ke=()=>{A7(G.id,_e[3].id.toString(),{engine_id:``}).then(e=>{Z.info(`正在生成视频,请稍候...`),we()}).catch(e=>{})};return(0,$.jsxs)(S.Fragment,{children:[(0,$.jsx)(`div`,{className:`initialinfo-container`,style:{margin:`-24px -32px -32px`,height:`calc(100vh - 34px)`,position:`relative`,boxSizing:`border-box`,overflow:`hidden`,display:`flex`,flexDirection:`column`},children:(0,$.jsxs)(`div`,{style:{flex:1,display:`flex`,justifyContent:`space-between`,alignItems:`stretch`,gap:`2%`,position:`relative`,zIndex:1,minHeight:0},children:[(0,$.jsxs)(`div`,{className:`replication-preview`,style:{flex:4,background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(20px)`,borderRadius:20,overflow:`hidden`,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`,display:`flex`,flexDirection:`column`,minHeight:0},children:[(0,$.jsxs)(`div`,{style:{borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,width:`100%`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:`16px 24px`,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,boxSizing:`border-box`},children:[(0,$.jsx)(X,{icon:(0,$.jsx)(t4,{}),onClick:()=>e(-1),style:{borderRadius:10,fontSize:13,height:32,background:`rgba(99, 102, 241, 0.1)`,border:`1px solid rgba(99, 102, 241, 0.2)`,color:`#6366f1`},children:`返回`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:[(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #6366f1, #8b5cf6, transparent)`,borderRadius:1}}),(0,$.jsx)(`h3`,{style:{margin:0,fontSize:16,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`爆款复刻 - 任务详情`}),(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #8b5cf6, #6366f1, transparent)`,borderRadius:1}})]}),(0,$.jsx)(X,{type:`primary`,ghost:!0,style:{borderRadius:10,padding:`4px 16px`,fontSize:13,background:`rgba(99, 102, 241, 0.1)`,borderColor:`rgba(99, 102, 241, 0.2)`,color:`#6366f1`},onClick:()=>s(!0),children:`创作记录`})]}),(0,$.jsx)(`div`,{style:{flex:1,overflowY:`auto`},children:(0,$.jsxs)(`div`,{className:`material_box`,children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:24,flexWrap:`wrap`,alignItems:`flex-start`},children:[(0,$.jsxs)(`div`,{style:{flex:1,minWidth:250},children:[(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10,display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{width:3,height:14,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,display:`inline-block`}}),`视频`]}),(0,$.jsx)(`div`,{className:`medio_box`,style:{aspectRatio:`16/9`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,borderRadius:14,overflow:`hidden`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.06)`,border:`1px solid rgba(99, 102, 241, 0.08)`,cursor:G?.material?.materialVideoUrl?`pointer`:`default`},onClick:()=>G?.material?.materialVideoUrl&&me(G.material.materialVideoUrl,`video`),children:G?.material?.materialVideoUrl?(0,$.jsx)(`video`,{src:G.material.materialVideoUrl,style:{width:`100%`,height:`100%`,objectFit:`contain`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:13},children:`暂无视频`})})]}),(0,$.jsxs)(`div`,{className:`product_img`,style:{flex:1,minWidth:250},children:[(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10,display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{width:3,height:14,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,display:`inline-block`}}),`产品图片`]}),(0,$.jsx)(`div`,{className:`medio_box`,style:{aspectRatio:`1/1`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,borderRadius:14,overflow:`hidden`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.06)`,border:`1px solid rgba(99, 102, 241, 0.08)`,cursor:G?.material?.materialImageUrl?`pointer`:`default`},onClick:()=>G?.material?.materialImageUrl&&me(G.material.materialImageUrl,`image`),children:G?.material?.materialImageUrl?(0,$.jsx)(`img`,{src:G.material.materialImageUrl,alt:``,style:{width:`100%`,height:`100%`,objectFit:`contain`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:13},children:`暂无图片`})})]})]}),(0,$.jsx)(`div`,{style:{margin:`20px 0`,height:1,background:`linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.15), transparent)`,borderRadius:.5}}),G?.finalImageUrl&&(0,$.jsx)(`div`,{style:{marginTop:16},children:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10,display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{width:3,height:14,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,display:`inline-block`}}),`生成图片`]}),(0,$.jsx)(`div`,{className:`medio_box`,style:{aspectRatio:`1/1`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,borderRadius:14,overflow:`hidden`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.06)`,border:`1px solid rgba(99, 102, 241, 0.08)`,cursor:`pointer`},onClick:()=>me(G.finalImageUrl,`image`),children:(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${G.finalImageUrl}`,alt:``,style:{width:`100%`,height:`100%`,objectFit:`contain`}})})]})}),G?.finalVideoUrl&&(0,$.jsx)(`div`,{style:{marginTop:16},children:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10,display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{width:3,height:14,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,display:`inline-block`}}),`生成视频`]}),(0,$.jsx)(`div`,{className:`medio_box`,style:{aspectRatio:`16/9`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,borderRadius:14,overflow:`hidden`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.06)`,border:`1px solid rgba(99, 102, 241, 0.08)`,cursor:`pointer`},onClick:()=>me(G.finalVideoUrl,`video`),children:(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${G.finalVideoUrl}`,style:{width:`100%`,height:`100%`,objectFit:`contain`}})})]})})]})})]}),(0,$.jsxs)(`div`,{className:`replication-form`,style:{flex:1,minWidth:`450px`,background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(20px)`,borderRadius:20,overflow:`hidden`,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`,display:`flex`,flexDirection:`column`,minHeight:0},children:[(0,$.jsxs)(`div`,{style:{padding:`16px 24px`,borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,display:`flex`,alignItems:`center`,gap:10,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:15,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`生成步骤`})]}),(0,$.jsx)(`div`,{style:{flex:1,overflowY:`auto`,padding:`8px 16px 16px`},children:(0,$.jsx)(i_,{activeKey:q,onChange:oe,ghost:!0,bordered:!1,style:{background:`transparent`},expandIconPlacement:`end`,items:_e.map(e=>({key:String(e.childId),label:(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,width:`100%`,justifyContent:`space-between`},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,width:16,height:16},children:e.status===`completed`?(0,$.jsx)(K4,{style:{fontSize:16,color:`#22c55e`}}):e.status===`processing`?(0,$.jsx)(`div`,{style:{width:16,height:16,borderRadius:`50%`,border:`2px solid #e2e8f0`,borderTopColor:`#6366f1`,animation:`spinSlow 1s linear infinite`}}):e.status===`failed`?(0,$.jsx)(`div`,{style:{width:16,height:16,borderRadius:`50%`,background:`#ef4444`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`span`,{style:{color:`#fff`,fontSize:10},children:`×`})}):(0,$.jsx)(`div`,{style:{width:8,height:8,borderRadius:`50%`,background:`#cbd5e1`}})}),(0,$.jsx)(`span`,{style:{fontSize:14,color:e.status===`processing`||e.status===`waiting_user`?`#6366f1`:`#1e293b`,fontWeight:500},children:e.title}),(e.status===`processing`||e.status===`waiting_user`)&&(0,$.jsx)(`span`,{style:{fontSize:12,color:`#6366f1`,marginLeft:8},children:`生成中`}),e.status===`failed`&&(0,$.jsx)(`span`,{style:{fontSize:12,color:`#ef4444`,marginLeft:8},children:`失败`}),e.status===``&&(0,$.jsx)(`span`,{style:{fontSize:12,color:`#717d8b`,marginLeft:8},children:`待生成`})]})}),children:(0,$.jsxs)(`div`,{style:{padding:`16px`,background:`linear-gradient(135deg, rgba(248,250,252,0.6) 0%, rgba(238,242,255,0.4) 100%)`,borderRadius:12,marginTop:8,border:`1px solid rgba(99, 102, 241, 0.06)`},children:[e.childId===1&&(0,$.jsx)($.Fragment,{children:(0,$.jsxs)(`div`,{style:{display:`flex`,gap:20,marginBottom:20,alignItems:`flex-start`,flexWrap:`wrap`},children:[(0,$.jsxs)(`div`,{style:{flex:1,minWidth:200},children:[(0,$.jsx)(N9,{style:{color:`#475569`,fontSize:13,marginBottom:10,display:`block`,fontWeight:500},children:`原视频`}),(0,$.jsx)(`div`,{style:{height:180,borderRadius:12,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,border:`1px solid rgba(99, 102, 241, 0.08)`,boxShadow:`0 2px 8px rgba(99, 102, 241, 0.04)`},children:G?.material?.materialVideoUrl?(0,$.jsx)(`video`,{src:G.material.materialVideoUrl,style:{maxWidth:`100%`,maxHeight:`100%`,objectFit:`contain`,borderRadius:10},controls:!0}):(0,$.jsxs)(`div`,{style:{textAlign:`center`,color:`#94a3b8`},children:[(0,$.jsxs)(`svg`,{width:`32`,height:`32`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,style:{marginBottom:8},children:[(0,$.jsx)(`rect`,{x:`2`,y:`2`,width:`20`,height:`16`,rx:`2`,ry:`2`}),(0,$.jsx)(`path`,{d:`M8 12l4 2 4-2`})]}),(0,$.jsx)(`div`,{style:{fontSize:13},children:`暂无视频`})]})})]}),(0,$.jsxs)(`div`,{style:{flex:1,minWidth:200},children:[(0,$.jsx)(N9,{style:{color:`#64748b`,fontSize:13,marginBottom:10,display:`block`,fontWeight:500},children:`产品图片`}),(0,$.jsx)(`div`,{style:{height:180,borderRadius:10,background:`#f1f5f9`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:G?.material?.materialImageUrl?(0,$.jsx)(`img`,{src:G.material.materialImageUrl,alt:`产品图片`,style:{maxWidth:`100%`,maxHeight:`100%`,objectFit:`contain`,borderRadius:10}}):(0,$.jsxs)(`div`,{style:{textAlign:`center`,color:`#94a3b8`},children:[(0,$.jsxs)(`svg`,{width:`32`,height:`32`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,style:{marginBottom:8},children:[(0,$.jsx)(`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,ry:`2`}),(0,$.jsx)(`circle`,{cx:`8.5`,cy:`8.5`,r:`1.5`,fill:`currentColor`}),(0,$.jsx)(`path`,{d:`M21 15l-5-5L5 21`})]}),(0,$.jsx)(`div`,{style:{fontSize:13},children:`暂无图片`})]})})]})]})}),e.childId===2&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{padding:`12px 14px`,background:`rgba(255,255,255,0.6)`,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.08)`,marginBottom:4},children:(0,$.jsx)(N9,{style:{color:`#475569`,fontSize:13,lineHeight:1.8,whiteSpace:`pre-wrap`},children:e?.output?.payload?.prompt||`暂无提示词`})}),(0,$.jsxs)(HH,{style:{marginTop:16,gap:12,width:`100%`},children:[(0,$.jsx)(X,{type:`default`,icon:(0,$.jsx)(p1,{}),onClick:()=>xe(e?.output?.payload?.prompt,`image`,e.id),style:{flex:1,borderRadius:10,borderColor:`rgba(99, 102, 241, 0.3)`,color:`#6366f1`,height:36,fontWeight:500,background:`rgba(99, 102, 241, 0.04)`},disabled:e.status!==`completed`,children:`修改提示词`}),(0,$.jsx)(X,{onClick:()=>{Te(e.id)},type:`primary`,style:{flex:1,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},disabled:e.status!==`completed`,children:`下一步:生成图片`})]})]}),e.childId===3&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{style:{borderRadius:12,overflow:`hidden`,marginBottom:16,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,border:`1px solid rgba(99, 102, 241, 0.08)`,boxShadow:`0 2px 8px rgba(99, 102, 241, 0.04)`,position:`relative`},children:[G.finalImageUrl?(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${G.finalImageUrl}`,alt:`融合图`,style:{width:`100%`,height:180,objectFit:`cover`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:180,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:14},children:`暂无融合图`}),(0,$.jsx)(X,{type:`default`,icon:(0,$.jsx)(p1,{}),onClick:()=>Ee(),disabled:e.status!==`completed`,style:{position:`absolute`,bottom:8,left:8,borderRadius:8,borderColor:`rgba(99, 102, 241, 0.3)`,color:`#6366f1`,height:30,fontWeight:500,background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(4px)`,padding:`0 12px`,fontSize:12},children:`重新生成`})]}),(0,$.jsx)(`p`,{style:{marginBottom:6,fontSize:14,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`视频参数选择:`}),(0,$.jsxs)(`div`,{style:{width:`100%`,display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{flex:1,position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{O(!D),A(!1)},className:`image-settings-trigger`,style:{width:`100%`,padding:`4px 12px`,height:34,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.15)`,backgroundColor:`rgba(255,255,255,0.7)`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s`},children:[(0,$.jsx)(t5,{style:{fontSize:14,color:`#6366f1`}}),(0,$.jsx)(N9,{style:{fontSize:14,fontWeight:500,color:`#64748b`},children:b.video?.find(e=>e.id===C)?.name||`选择引擎`})]}),D&&(0,$.jsx)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:-10,width:350,backgroundColor:`#fff`,borderRadius:16,boxShadow:`0 10px 40px rgba(0,0,0,0.15)`,padding:16,border:`none`,zIndex:9999},onClick:e=>e.stopPropagation(),children:(0,$.jsxs)(`div`,{style:{marginBottom:8},children:[(0,$.jsx)(N9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#666666`},children:`选择引擎`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:4},children:b.video?.map(e=>(0,$.jsxs)(`button`,{onClick:()=>{w(e.id),R({ratios:e.supportedRatios||[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:e.supportedResolutions||[`480p`,`720p`,`1080p`],durations:e.supportedDurations||[5,8,10,12,15]}),e.supportedRatios?.includes(N)||P(e.supportedRatios?.[0]||`16:9`),e.supportedResolutions?.includes(F)||I(e.supportedResolutions?.[0]||`720p`),e.supportedDurations?.includes(j)||M(e.supportedDurations?.[0]||5),O(!1)},style:{flex:1,minHeight:48,borderRadius:8,border:C===e.id?`2px solid #6366f1`:`1px solid #e5e7eb`,backgroundColor:C===e.id?`#fff`:`#f9fafb`,cursor:`pointer`,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`flex-start`,padding:`8px 12px`,transition:`all 0.2s`,textAlign:`left`},children:[(0,$.jsx)(`span`,{style:{fontSize:13,fontWeight:C===e.id?600:500,color:C===e.id?`#6366f1`:`#4b5563`,marginBottom:2},children:e.name}),(0,$.jsx)(`span`,{style:{fontSize:11,color:`#9ca3af`}})]},e.id))})]})})]}),(0,$.jsxs)(`div`,{style:{flex:1,position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{A(!k),O(!1)},className:`image-settings-trigger`,style:{width:`100%`,padding:`4px 12px`,height:34,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.15)`,backgroundColor:`rgba(255,255,255,0.7)`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s`},children:[(0,$.jsx)(S6,{style:{fontSize:14,color:`#6366f1`}}),(0,$.jsxs)(N9,{style:{fontSize:14,fontWeight:500,color:`#64748b`},children:[N,` · `,j,`s · `,F]})]}),k&&(0,$.jsxs)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:-160,width:350,backgroundColor:`#fff`,borderRadius:16,boxShadow:`0 10px 40px rgba(0,0,0,0.15)`,padding:16,border:`none`,zIndex:9999},onClick:e=>e.stopPropagation(),children:[(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(N9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#666666`},children:`选择比例`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:4},children:L.ratios.map(e=>(0,$.jsxs)(`button`,{onClick:()=>P(e),style:{flex:`0 0 calc(14.28% - 4px)`,minWidth:44,height:52,borderRadius:6,border:N===e?`2px solid #6366f1`:`1px solid #e5e7eb`,backgroundColor:N===e?`#fff`:`#f9fafb`,cursor:`pointer`,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:[(0,$.jsx)(`div`,{style:{width:18,height:18,border:`2px solid ${N===e?`#6366f1`:`#9ca3af`}`,borderRadius:2,marginBottom:2}}),(0,$.jsx)(`span`,{style:{fontSize:9,color:N===e?`#6366f1`:`#6b7280`,fontWeight:N===e?600:400},children:e})]},e))})]}),(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(N9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#666666`},children:`选择时长`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsxs)(`div`,{style:{flex:1,position:`relative`,height:24,display:`flex`,alignItems:`center`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:`50%`,left:0,right:0,height:6,borderRadius:3,background:`#e5e7eb`,transform:`translateY(-50%)`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:`50%`,left:0,height:6,borderRadius:3,background:`#6366f1`,width:`${(j-Math.min(...L.durations))/(Math.max(...L.durations)-Math.min(...L.durations))*100}%`,transform:`translateY(-50%)`}}),(0,$.jsx)(`input`,{type:`range`,min:Math.min(...L.durations),max:Math.max(...L.durations),value:j,onChange:e=>M(Number(e.target.value)),style:{position:`relative`,width:`100%`,height:24,borderRadius:3,background:`transparent`,outline:`none`,appearance:`none`,cursor:`pointer`,zIndex:1}})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:4,padding:`4px 12px`,backgroundColor:`#f1f5f9`,borderRadius:6},children:[(0,$.jsx)(`span`,{style:{fontSize:14,fontWeight:600,color:`#64748b`},children:j}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#9ca3af`},children:`秒`})]})]})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(N9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#666666`},children:`选择分辨率`}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:6},children:L.resolutions.map(e=>(0,$.jsx)(`button`,{onClick:()=>I(e),style:{flex:1,height:42,borderRadius:6,border:F===e?`2px solid #6366f1`:`1px solid #e5e7eb`,backgroundColor:F===e?`#6366f1`:`#f9fafb`,cursor:`pointer`,display:`flex`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:(0,$.jsx)(`span`,{style:{fontSize:12,fontWeight:600,color:F===e?`#fff`:`#4b5563`},children:e})},e))})]})]})]})]}),(0,$.jsx)(X,{type:`primary`,style:{width:`100%`,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},onClick:()=>{De(e.id)},disabled:e.status!==`completed`,children:`下一步:生成视频提示词`})]}),e.childId===4&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{padding:`12px 14px`,background:`rgba(255,255,255,0.6)`,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.08)`,marginBottom:4},children:(0,$.jsx)(N9,{style:{color:`#64748b`,fontSize:13,lineHeight:1.8},children:`视频提词已生成,可点击按钮查看/修改`})}),(0,$.jsxs)(HH,{style:{marginTop:16,gap:12,width:`100%`},children:[(0,$.jsx)(X,{type:`default`,icon:(0,$.jsx)(p1,{}),onClick:()=>xe(G?.videoGeneration?.promptSchema,`video`,e.id,G?.videoGeneration?.schemaConfigSnapshot),style:{flex:1,borderRadius:10,borderColor:`rgba(99, 102, 241, 0.3)`,color:`#6366f1`,height:36,fontWeight:500,background:`rgba(99, 102, 241, 0.04)`},disabled:e.status!==`completed`||!G?.videoGeneration?.promptSchema||!G?.videoGeneration?.schemaConfigSnapshot,children:`查看/修改视频提词`}),(0,$.jsx)(X,{onClick:()=>{Oe(e.id,e.engineId)},type:`primary`,style:{flex:1,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},disabled:e.status!==`completed`,children:`下一步:生成视频`})]})]}),e.childId===5&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{borderRadius:12,overflow:`hidden`,marginBottom:16,position:`relative`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,border:`1px solid rgba(99, 102, 241, 0.08)`,boxShadow:`0 2px 8px rgba(99, 102, 241, 0.04)`},children:e.status===`completed`&&G?.finalVideoUrl?(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${G.finalVideoUrl}`,style:{width:`100%`,height:180,objectFit:`cover`},controls:!0}):e.status===`processing`?(0,$.jsxs)(`div`,{style:{width:`100%`,height:180,display:`flex`,alignItems:`center`,justifyContent:`center`,flexDirection:`column`,gap:8},children:[(0,$.jsx)(`div`,{style:{width:20,height:20,borderRadius:`50%`,border:`2px solid #e2e8f0`,borderTopColor:`#6366f1`,animation:`spinSlow 1s linear infinite`}}),(0,$.jsx)(`span`,{style:{color:`#6366f1`,fontSize:14},children:`视频生成中...`})]}):e.status===`failed`?(0,$.jsx)(`div`,{style:{width:`100%`,height:180,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#ef4444`,fontSize:14},children:`视频生成失败`}):(0,$.jsx)(`div`,{style:{width:`100%`,height:180,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:14},children:`暂无视频`})}),(0,$.jsxs)(HH,{style:{width:`100%`,gap:12},children:[(0,$.jsx)(X,{onClick:()=>ke(),type:`default`,icon:(0,$.jsx)(p1,{}),style:{flex:1,borderRadius:10,borderColor:`rgba(99, 102, 241, 0.3)`,color:`#6366f1`,height:36,fontWeight:500,background:`rgba(99, 102, 241, 0.04)`},disabled:e.status!==`completed`,children:`重新生成`}),(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(J0,{}),style:{flex:1,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},disabled:e.status!==`completed`,onClick:()=>{let e=`http://ceshi.apiforeign.minzhong.cn${G?.finalVideoUrl}&download=1`,t=document.createElement(`a`);t.href=e,t.download=`video_${Date.now()}.mp4`,document.body.appendChild(t),t.click(),document.body.removeChild(t)},children:`下载视频`})]})]})]})}))})})]})]})}),(0,$.jsx)(YK,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:15,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:c===`video`?`查看/编辑视频提词`:`修改提示词`})]}),open:n,onCancel:()=>{g||r(!1)},footer:[(0,$.jsx)(X,{onClick:()=>r(!1),disabled:g,style:{borderRadius:8},children:`取消`},`cancel`),(0,$.jsx)(X,{type:`primary`,onClick:Se,loading:g,disabled:g,style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`},children:`确认`},`confirm`)],width:800,style:{borderRadius:16},styles:{header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,padding:`16px 24px`},body:{background:`linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f0f9ff 100%)`,padding:`20px 24px`}},children:c===`image`?(0,$.jsx)(fae,{value:i,onChange:e=>a(e.target.value),rows:8,style:{width:`100%`,height:300,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.15)`,background:`rgba(255,255,255,0.8)`},placeholder:`请输入提示词`}):(0,$.jsx)(`div`,{style:{maxHeight:500,overflowY:`auto`,paddingRight:10},children:(0,$.jsx)(M9,{value:u,schemaConfigSnapshot:f,onChange:d})})}),(0,$.jsxs)(YK,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`创作记录`})]}),open:o,onCancel:()=>s(!1),width:850,footer:null,style:{borderRadius:20},styles:{body:{height:580,display:`flex`,flexDirection:`column`,padding:0},header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,padding:`16px 24px`}},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,margin:`16px 24px`,flexShrink:0},children:[(0,$.jsx)(_G,{placeholder:`搜索产品名称`,value:ne,onChange:e=>re(e.target.value),onPressEnter:be,style:{width:220,borderRadius:10,marginRight:10,border:`1px solid rgba(99, 102, 241, 0.15)`,background:`rgba(255,255,255,0.8)`}}),(0,$.jsx)(X,{type:`primary`,onClick:be,style:{borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`},children:`搜索`})]}),(0,$.jsx)(v$,{columns:[{title:`产品名称`,dataIndex:`targetProjectName`,key:`targetProjectName`,align:`center`},{title:`状态`,dataIndex:`status`,key:`status`,align:`center`,render:(e,t)=>{let n=e,r=t.current_step_code||t.currentStepCode,i=(()=>{if(r===`image_prompt_optimize`)switch(n){case`waiting_user`:return{text:`等待融合图生成`,color:`#f59e0b`};case`processing`:return{text:`图片提示词生成中`,color:`#f59e0b`};case`completed`:return{text:`图片提示词生成成功`,color:`#10b981`};case`failed`:return{text:`图片提示词生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else if(r===`image_generate`)switch(n){case`waiting_user`:return{text:`等待生成视频提示词`,color:`#f59e0b`};case`processing`:return{text:`融合图生成中`,color:`#f59e0b`};case`completed`:return{text:`融合图生成成功`,color:`#10b981`};case`failed`:return{text:`融合图生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else if(r===`video_prompt_optimize`)switch(n){case`waiting_user`:return{text:`等待最终视频生成`,color:`#f59e0b`};case`processing`:return{text:`视频提示词生成中`,color:`#f59e0b`};case`completed`:return{text:`视频提示词生成成功`,color:`#10b981`};case`failed`:return{text:`视频提示词生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else if(r===`video_generate`)switch(n){case`waiting_user`:return{text:``,color:`#666`};case`processing`:return{text:`最终视频生成中`,color:`#f59e0b`};case`completed`:return{text:`任务完成`,color:`#10b981`};case`failed`:return{text:`最终视频生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else if(r===`material_input`)switch(n){case`waiting_user`:return{text:`等待生成图片提示词`,color:`#f59e0b`};case`processing`:return{text:`素材处理中`,color:`#f59e0b`};case`completed`:return{text:`素材上传成功`,color:`#10b981`};case`failed`:return{text:`素材上传失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else return{pending:{text:`子任务待处理`,color:`#f59e0b`},waiting_user:{text:`等待用户确认或触发`,color:`#f59e0b`},processing:{text:`子任务处理中`,color:`#f59e0b`},completed:{text:`子任务完成`,color:`#10b981`},failed:{text:`子任务失败`,color:`#ef4444`},cancelled:{text:`子任务取消`,color:`#94a3b8`}}[n]||{text:n||`-`,color:`#666`}})();return typeof i==`string`?(0,$.jsx)(`span`,{style:{fontSize:12,color:`#666`,fontWeight:500},children:i}):(0,$.jsx)(`span`,{style:{fontSize:12,color:i.color,fontWeight:500},children:i.text})}},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,align:`center`,render:e=>{if(!e)return`-`;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`}},{title:`操作`,key:`action`,align:`center`,render:(t,n)=>(0,$.jsx)(`button`,{onClick:()=>e(`/initial/${n.id}/initialinfo`),style:{color:`#6366f1`,textDecoration:`none`,fontSize:12,border:`none`,background:`rgba(99, 102, 241, 0.08)`,padding:`4px 12px`,borderRadius:8,cursor:`pointer`,transition:`all 0.2s`,fontWeight:500},children:`查看详情`})}],dataSource:z,rowKey:`id`,pagination:{current:V,pageSize:U,total:ee,showSizeChanger:!0,showQuickJumper:!0,showTotal:e=>`共 ${e} 条`,onChange:ye},style:{fontSize:13},scroll:{y:350}})]}),(0,$.jsx)(YK,{open:se,title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(180deg, #8b5cf6 0%, #ddd6fe 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:700,color:`#8b5cf6`,letterSpacing:.4},children:`预览`})]}),onCancel:he,width:800,footer:(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:12,padding:`16px 24px`,background:`rgba(255,255,255,0.6)`,borderTop:`1px solid rgba(139, 92, 246, 0.08)`},children:(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(J0,{}),onClick:ge,style:{borderRadius:10,background:`linear-gradient(135deg, #8b5cf6 0%, #ddd6fe 100%)`,border:`none`,boxShadow:`0 8px 18px rgba(47, 52, 64, 0.15)`},children:`下载`})}),centered:!0,style:{borderRadius:16},styles:{body:{display:`flex`,alignItems:`center`,justifyContent:`center`,minHeight:`400px`},header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(139, 92, 246, 0.08)`,padding:`16px 24px`}},children:(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,width:`100%`,height:`100%`},children:de===`image`?(0,$.jsx)(`img`,{src:le.startsWith(`http`)?le:`http://ceshi.apiforeign.minzhong.cn${le}`,alt:`预览`,style:{width:`100%`,maxHeight:`400px`,objectFit:`contain`}}):(0,$.jsx)(`video`,{ref:pe,src:le.startsWith(`http`)?le:`http://ceshi.apiforeign.minzhong.cn${le}`,controls:!0,style:{maxWidth:`100%`,maxHeight:`400px`}})})})]})}function hae(){let e=Ye(),[t,n]=(0,S.useState)(``),[r,i]=(0,S.useState)(``),[a,o]=(0,S.useState)(!1),[s,c]=(0,S.useState)(``),[l,u]=(0,S.useState)(0),[d,f]=(0,S.useState)(!1),[p,m]=(0,S.useState)([]),[h,g]=(0,S.useState)(1),[_,v]=(0,S.useState)(10),[y,b]=(0,S.useState)(0),[x,C]=(0,S.useState)(``),w=(0,S.useRef)(null),T=(0,S.useRef)(null),E=(0,S.useCallback)(()=>{t&&URL.revokeObjectURL(t),n(``),i(``),u(0),c(``)},[t]),D=async e=>{if(!e.type.startsWith(`video/`))return i(`请选择视频文件`),!1;if(e.size>100*1024*1024)return i(`视频文件大小不能超过 100MB`),!1;if(await new Promise(t=>{let n=document.createElement(`video`);n.preload=`metadata`,n.onloadedmetadata=()=>{t(n.duration),URL.revokeObjectURL(n.src)},n.onerror=()=>{t(0)},n.src=URL.createObjectURL(e)})>60)return i(`视频时长不能超过 1分钟`),!1;E(),f(!0);try{n((await p7(e)).url),i(``),Z.success(`视频上传成功`)}catch{i(`视频上传失败,请重试`),Z.error(`视频上传失败`)}finally{f(!1)}return!1},O=(0,S.useCallback)(()=>{w.current&&u(w.current.duration)},[]),k=async()=>{if(!t||!s.trim()){Z.warning(`请先上传视频并输入产品名称`);return}f(!0);try{Ure({video_url:t,video_duration_seconds:l,title:s.trim(),idempotency_key:`shot_${Date.now()}`}).then(t=>{I7(1,20,x).then(t=>{Z.loading(`创建中...`,3),setTimeout(()=>{e(`/removelens/${t.items[0].id}/removeinfo`)},3e3)})}),E()}catch{Z.error(`任务创建失败,请重试`)}finally{f(!1)}},A=async(e,t,n)=>{try{let r=await I7(e,t,n);m(r.items||[]),b(r.total||0),g(e),v(t)}catch{Z.error(`获取列表失败`)}},j=(e,t)=>{A(e,t,x)},M=()=>{A(1,10,x)};return(0,$.jsx)(`div`,{style:{margin:`-24px -32px -32px`,borderRadius:20,minHeight:`calc(100vh - 34px)`,overflow:`auto`,background:`linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f0f9ff 100%)`,position:`relative`,padding:`20px 32px`,backgroundImage:`url(${Uie})`,backgroundRepeat:`no-repeat`,backgroundSize:`100% 100%`,backgroundPosition:`center`},children:(0,$.jsxs)(`div`,{style:{maxWidth:1200,margin:`0 auto`,position:`relative`,zIndex:10},children:[(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:24,padding:`16px 24px`,borderRadius:16,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,border:`1px solid rgba(99, 102, 241, 0.08)`,position:`relative`,overflow:`hidden`,flexWrap:`wrap`,gap:12},children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`h2`,{style:{margin:0,fontSize:18,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`AI视频拆镜工作台`}),(0,$.jsx)(`p`,{style:{fontSize:13,color:`#64748b`,margin:`4px 0 0 0`},children:`精细化镜头复刻工具,拆分参考视频单镜头独立复刻,提升素材原创度,规避素材同质化`})]})}),(0,$.jsx)(X,{type:`primary`,ghost:!0,icon:(0,$.jsx)(qH,{}),onClick:()=>{o(!0),A(1,10,x)},style:{borderRadius:10,padding:`6px 16px`,fontSize:13,background:`rgba(99, 102, 241, 0.1)`,borderColor:`rgba(99, 102, 241, 0.2)`,color:`#6366f1`},children:`创作记录`})]}),(0,$.jsxs)(`div`,{style:{width:`100%`,maxWidth:720,margin:`0 auto`},children:[r&&(0,$.jsx)(`div`,{style:{background:`linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%)`,backdropFilter:`blur(10px)`,border:`1px solid rgba(239, 68, 68, 0.2)`,borderRadius:12,padding:`14px 20px`,marginBottom:24,color:`#ef4444`,fontSize:14,textAlign:`center`,fontWeight:500},children:r}),!t&&(0,$.jsxs)(`div`,{style:{background:`linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%)`,backdropFilter:`blur(20px)`,borderRadius:24,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`,position:`relative`,overflow:`hidden`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:-50,right:-50,width:200,height:200,background:`radial-gradient(circle, rgba(99,102,241,0.05) 0%, transparent 70%)`,borderRadius:`50%`}}),(0,$.jsx)(e2.Dragger,{accept:`video/*`,beforeUpload:D,showUploadList:!1,disabled:d,style:{background:d?`rgba(243, 244, 246, 0.3)`:`transparent`,border:`2px dashed ${d?`rgba(209, 213, 219, 0.5)`:`rgba(99, 102, 241, 0.3)`}`,borderRadius:24,padding:`56px 20px`,cursor:d?`not-allowed`:`pointer`,margin:0},children:d?(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`},children:[(0,$.jsx)(`div`,{style:{width:100,height:100,margin:`0 auto 20px`,background:`linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%)`,borderRadius:24,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`div`,{style:{width:40,height:40,border:`4px solid #6366f1`,borderTopColor:`transparent`,borderRadius:`50%`,animation:`spin 1s linear infinite`}})}),(0,$.jsx)(`p`,{style:{fontSize:16,color:`#6366f1`,margin:`0 0 8px 0`,fontWeight:600},children:`上传中...`}),(0,$.jsx)(`p`,{style:{fontSize:13,color:`#64748b`,margin:0},children:`请稍候,视频正在上传`})]}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{width:100,height:100,margin:`0 auto 20px`,background:`linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%)`,borderRadius:24,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(i3,{style:{fontSize:40,color:`#6366f1`}})}),(0,$.jsx)(`p`,{style:{fontSize:16,color:`#1e293b`,margin:`0 0 8px 0`,fontWeight:600},children:`点击或拖拽到此上传视频文件`}),(0,$.jsx)(`p`,{style:{fontSize:13,color:`#64748b`,margin:0},children:`支持 MP4、MOV 格式视频,最大支持 100MB 的文件,支持上传 1 分钟内的视频`})]})})]}),t&&(0,$.jsxs)(`div`,{style:{background:`linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%)`,backdropFilter:`blur(20px)`,borderRadius:24,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`,overflow:`hidden`,position:`relative`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:-50,right:-50,width:200,height:200,background:`radial-gradient(circle, rgba(99,102,241,0.05) 0%, transparent 70%)`,borderRadius:`50%`}}),(0,$.jsxs)(`div`,{style:{borderRadius:22,background:`#ffffff`,padding:`24px`,position:`relative`,zIndex:1},children:[(0,$.jsx)($K,{title:`确定要删除吗?`,okText:`确定`,cancelText:`取消`,onConfirm:E,children:(0,$.jsx)(`button`,{style:{position:`absolute`,top:20,right:20,width:36,height:36,border:`1px solid rgba(99, 102, 241, 0.2)`,background:`rgba(99, 102, 241, 0.05)`,borderRadius:10,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:16,color:`#6366f1`,zIndex:10,transition:`all 0.2s ease`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(239, 68, 68, 0.1)`,e.currentTarget.style.borderColor=`rgba(239, 68, 68, 0.3)`,e.currentTarget.style.color=`#ef4444`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(99, 102, 241, 0.05)`,e.currentTarget.style.borderColor=`rgba(99, 102, 241, 0.2)`,e.currentTarget.style.color=`#6366f1`},children:`🗑️`})}),(0,$.jsx)(`div`,{style:{textAlign:`center`,marginBottom:20},children:(0,$.jsx)(`video`,{ref:w,src:`http://ceshi.apiforeign.minzhong.cn${t}`,controls:!0,onLoadedMetadata:O,style:{maxWidth:`100%`,maxHeight:320,borderRadius:12,background:`#000`,boxShadow:`0 4px 16px rgba(0,0,0,0.1)`}})}),(0,$.jsxs)(`div`,{style:{marginBottom:24},children:[(0,$.jsxs)(`label`,{style:{display:`block`,fontSize:14,fontWeight:500,color:`#334155`,marginBottom:8},children:[`产品名称 `,(0,$.jsx)(`span`,{style:{color:`#ef4444`},children:`*`})]}),(0,$.jsx)(_G,{placeholder:`请输入产品名称`,value:s,onChange:e=>c(e.target.value),style:{width:`100%`,height:44,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.2)`,transition:`all 0.2s ease`},onMouseEnter:e=>{e.currentTarget.style.borderColor=`rgba(99, 102, 241, 0.4)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(99, 102, 241, 0.2)`}})]}),(0,$.jsx)(`div`,{style:{textAlign:`center`,marginTop:16},children:(0,$.jsx)(`button`,{onClick:k,disabled:!t||!s.trim()||d,style:{padding:`14px 56px`,background:t&&s.trim()&&!d?`linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%)`:`#e2e8f0`,color:`white`,border:`none`,borderRadius:12,fontSize:15,fontWeight:600,cursor:t&&s.trim()&&!d?`pointer`:`not-allowed`,boxShadow:t&&s.trim()&&!d?`0 6px 20px rgba(99, 102, 241, 0.3)`:`none`,display:`inline-flex`,alignItems:`center`,gap:10,transition:`all 0.3s ease`},onMouseEnter:e=>{t&&s.trim()&&!d&&(e.currentTarget.style.transform=`translateY(-2px)`,e.currentTarget.style.boxShadow=`0 8px 25px rgba(99, 102, 241, 0.4)`)},onMouseLeave:e=>{t&&s.trim()&&!d&&(e.currentTarget.style.transform=`translateY(0)`,e.currentTarget.style.boxShadow=`0 6px 20px rgba(99, 102, 241, 0.3)`)},children:(0,$.jsx)(`span`,{children:d?`创建中...`:`创建`})})})]})]}),(0,$.jsx)(`canvas`,{ref:T,style:{display:`none`}}),(0,$.jsxs)(YK,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`创作记录`})]}),open:a,onCancel:()=>o(!1),width:850,footer:null,style:{borderRadius:20},styles:{body:{height:580,display:`flex`,flexDirection:`column`,padding:0},header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,padding:`16px 24px`}},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,margin:`16px 24px`,flexShrink:0},children:[(0,$.jsx)(_G,{placeholder:`搜索产品名称`,value:x,onChange:e=>C(e.target.value),onPressEnter:M,style:{width:220,borderRadius:10,marginRight:10,border:`1px solid rgba(99, 102, 241, 0.15)`,background:`rgba(255,255,255,0.8)`}}),(0,$.jsx)(X,{type:`primary`,onClick:M,style:{borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`},children:`搜索`})]}),(0,$.jsx)(`div`,{style:{flex:1,overflow:`auto`,padding:`0 24px 24px`},children:(0,$.jsx)(`div`,{style:{background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(10px)`,borderRadius:16,overflow:`hidden`,border:`1px solid rgba(99, 102, 241, 0.08)`,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.06)`},children:(0,$.jsx)(v$,{columns:[{title:`产品名称`,dataIndex:`title`,key:`title`,render:e=>(0,$.jsx)(`span`,{style:{fontSize:14,color:`#1e293b`,fontWeight:500},children:e})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,render:e=>{if(!e)return`-`;let t=new Date(e);return(0,$.jsx)(`span`,{style:{fontSize:13,color:`#64748b`},children:`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`})}},{title:`操作`,key:`action`,align:`center`,render:t=>(0,$.jsx)(X,{type:`text`,onClick:()=>e(`/removelens/${t.id}/removeinfo`),style:{color:`#6366f1`,fontSize:13,padding:`4px 12px`,borderRadius:6,background:`rgba(99, 102, 241, 0.1)`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(99, 102, 241, 0.15)`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(99, 102, 241, 0.1)`},children:`查看详情`})}],dataSource:p,rowKey:`id`,pagination:{current:h,pageSize:_,total:y,showSizeChanger:!0,showQuickJumper:!0,showTotal:e=>`共 ${e} 条`,onChange:j,style:{padding:`16px 24px`,borderTop:`1px solid rgba(99, 102, 241, 0.1)`}},style:{fontSize:13},scroll:{y:350},components:{body:{row:({className:e,style:t,...n})=>(0,$.jsx)(`tr`,{...n,className:e,style:{...t,transition:`all 0.2s ease`,borderBottom:`1px solid rgba(99, 102, 241, 0.05)`}}),cell:({className:e,style:t,...n})=>(0,$.jsx)(`td`,{...n,className:e,style:{...t,padding:`16px 24px`}})},header:{cell:({className:e,style:t,...n})=>(0,$.jsx)(`th`,{...n,className:e,style:{...t,background:`rgba(99, 102, 241, 0.03)`,color:`#64748b`,fontWeight:500,fontSize:13,padding:`16px 24px`,borderBottom:`none`}})}}})})})]})]})]})})}var gae=c(o(((e,t)=>{(function(n){typeof e==`object`&&t!==void 0?t.exports=n():typeof define==`function`&&define.amd?define([],n):(typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:this).JSZip=n()})(function(){return function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){var c=typeof l==`function`&&l;if(!s&&c)return c(o,!0);if(a)return a(o,!0);var u=Error(`Cannot find module '`+o+`'`);throw u.code=`MODULE_NOT_FOUND`,u}var d=n[o]={exports:{}};t[o][0].call(d.exports,function(e){var n=t[o][1][e];return i(n||e)},d,d.exports,e,t,n,r)}return n[o].exports}for(var a=typeof l==`function`&&l,o=0;o>2,s=(3&t)<<4|n>>4,c=1>6:64,l=2>4,n=(15&o)<<4|(s=a.indexOf(e.charAt(l++)))>>2,r=(3&s)<<6|(c=a.indexOf(e.charAt(l++))),f[u++]=t,s!==64&&(f[u++]=n),c!==64&&(f[u++]=r);return f}},{"./support":30,"./utils":32}],2:[function(e,t,n){var r=e(`./external`),i=e(`./stream/DataWorker`),a=e(`./stream/Crc32Probe`),o=e(`./stream/DataLengthProbe`);function s(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o(`data_length`)),t=this;return e.on(`end`,function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error(`Bug : uncompressed data size mismatch`)}),e},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo(`compressedSize`,this.compressedSize).withStreamInfo(`uncompressedSize`,this.uncompressedSize).withStreamInfo(`crc32`,this.crc32).withStreamInfo(`compression`,this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new a).pipe(new o(`uncompressedSize`)).pipe(t.compressWorker(n)).pipe(new o(`compressedSize`)).withStreamInfo(`compression`,t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){var r=e(`./stream/GenericWorker`);n.STORE={magic:`\0\0`,compressWorker:function(){return new r(`STORE compression`)},uncompressWorker:function(){return new r(`STORE decompression`)}},n.DEFLATE=e(`./flate`)},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){var r=e(`./utils`),i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return e!==void 0&&e.length?r.getTypeOf(e)===`string`?function(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s>>8^a[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length,0):function(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s>>8^a[255&(e^t[s])];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){var r=null;r=typeof Promise<`u`?Promise:e(`lie`),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){var r=typeof Uint8Array<`u`&&typeof Uint16Array<`u`&&typeof Uint32Array<`u`,i=e(`pako`),a=e(`./utils`),o=e(`./stream/GenericWorker`),s=r?`uint8array`:`array`;function c(e,t){o.call(this,`FlateWorker/`+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic=`\b\0`,a.inherits(c,o),c.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(s,e.data),!1)},c.prototype.flush=function(){o.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new c(`Deflate`,e)},n.uncompressWorker=function(){return new c(`Inflate`,{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){function r(e,t){var n,r=``;for(n=0;n>>=8;return r}function i(e,t,n,i,o,u){var d,f,p=e.file,m=e.compression,h=u!==s.utf8encode,g=a.transformTo(`string`,u(p.name)),_=a.transformTo(`string`,s.utf8encode(p.name)),v=p.comment,y=a.transformTo(`string`,u(v)),b=a.transformTo(`string`,s.utf8encode(v)),x=_.length!==p.name.length,S=b.length!==v.length,C=``,w=``,T=``,E=p.dir,D=p.date,O={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(O.crc32=e.crc32,O.compressedSize=e.compressedSize,O.uncompressedSize=e.uncompressedSize);var k=0;t&&(k|=8),h||!x&&!S||(k|=2048);var A=0,j=0;E&&(A|=16),o===`UNIX`?(j=798,A|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(p.unixPermissions,E)):(j=20,A|=function(e){return 63&(e||0)}(p.dosPermissions)),d=D.getUTCHours(),d<<=6,d|=D.getUTCMinutes(),d<<=5,d|=D.getUTCSeconds()/2,f=D.getUTCFullYear()-1980,f<<=4,f|=D.getUTCMonth()+1,f<<=5,f|=D.getUTCDate(),x&&(w=r(1,1)+r(c(g),4)+_,C+=`up`+r(w.length,2)+w),S&&(T=r(1,1)+r(c(y),4)+b,C+=`uc`+r(T.length,2)+T);var M=``;return M+=` -\0`,M+=r(k,2),M+=m.magic,M+=r(d,2),M+=r(f,2),M+=r(O.crc32,4),M+=r(O.compressedSize,4),M+=r(O.uncompressedSize,4),M+=r(g.length,2),M+=r(C.length,2),{fileRecord:l.LOCAL_FILE_HEADER+M+g+C,dirRecord:l.CENTRAL_FILE_HEADER+r(j,2)+M+r(y.length,2)+`\0\0\0\0`+r(A,4)+r(i,4)+g+C+y}}var a=e(`../utils`),o=e(`../stream/GenericWorker`),s=e(`../utf8`),c=e(`../crc32`),l=e(`../signature`);function u(e,t,n,r){o.call(this,`ZipFileWorker`),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(u,o),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return l.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo(`string`,this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,n){var r=e(`./Uint8ArrayReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){var r=e(`./DataReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){var r=e(`./ArrayReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),i.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array;var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){var r=e(`../utils`),i=e(`../support`),a=e(`./ArrayReader`),o=e(`./StringReader`),s=e(`./NodeBufferReader`),c=e(`./Uint8ArrayReader`);t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),t!==`string`||i.uint8array?t===`nodebuffer`?new s(e):i.uint8array?new c(r.transformTo(`uint8array`,e)):new a(r.transformTo(`array`,e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){n.LOCAL_FILE_HEADER=`PK`,n.CENTRAL_FILE_HEADER=`PK`,n.CENTRAL_DIRECTORY_END=`PK`,n.ZIP64_CENTRAL_DIRECTORY_LOCATOR=`PK\x07`,n.ZIP64_CENTRAL_DIRECTORY_END=`PK`,n.DATA_DESCRIPTOR=`PK\x07\b`},{}],24:[function(e,t,n){var r=e(`./GenericWorker`),i=e(`../utils`);function a(e){r.call(this,`ConvertWorker to `+e),this.destType=e}i.inherits(a,r),a.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){var r=e(`./GenericWorker`),i=e(`../crc32`);function a(){r.call(this,`Crc32Probe`),this.withStreamInfo(`crc32`,0)}e(`../utils`).inherits(a,r),a.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){var r=e(`../utils`),i=e(`./GenericWorker`);function a(e){i.call(this,`DataLengthProbe for `+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(a,i),a.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){var r=e(`../utils`),i=e(`./GenericWorker`);function a(e){i.call(this,`DataWorker`);var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=``,this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}r.inherits(a,i),a.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case`string`:e=this.data.substring(this.index,t);break;case`uint8array`:e=this.data.subarray(this.index,t);break;case`array`:case`nodebuffer`:e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){function r(e){this.name=e||`default`,this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(e){this.emit(`data`,e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(`end`),this.cleanUp(),this.isFinished=!0}catch(e){this.emit(`error`,e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit(`error`,e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n `+e:e}},t.exports=r},{}],29:[function(e,t,n){var r=e(`../utils`),i=e(`./ConvertWorker`),a=e(`./GenericWorker`),o=e(`../base64`),s=e(`../support`),c=e(`../external`),l=null;if(s.nodestream)try{l=e(`../nodejs/NodejsStreamOutputAdapter`)}catch{}function u(e,t){return new c.Promise(function(n,i){var a=[],s=e._internalType,c=e._outputType,l=e._mimeType;e.on(`data`,function(e,n){a.push(e),t&&t(n)}).on(`error`,function(e){a=[],i(e)}).on(`end`,function(){try{n(function(e,t,n){switch(e){case`blob`:return r.newBlob(r.transformTo(`arraybuffer`,t),n);case`base64`:return o.encode(t);default:return r.transformTo(e,t)}}(c,function(e,t){var n,r=0,i=null,a=0;for(n=0;n`u`)n.blob=!1;else{var r=new ArrayBuffer(0);try{n.blob=new Blob([r],{type:`application/zip`}).size===0}catch{try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(r),n.blob=i.getBlob(`application/zip`).size===0}catch{n.blob=!1}}}try{n.nodestream=!!e(`readable-stream`).Readable}catch{n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){for(var r=e(`./utils`),i=e(`./support`),a=e(`./nodejsUtils`),o=e(`./stream/GenericWorker`),s=Array(256),c=0;c<256;c++)s[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;s[254]=s[254]=1;function l(){o.call(this,`utf-8 decode`),this.leftOver=null}function u(){o.call(this,`utf-8 encode`)}n.utf8encode=function(e){return i.nodebuffer?a.newBufferFrom(e,`utf-8`):function(e){var t,n,r,a,o,s=e.length,c=0;for(a=0;a>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t}(e)},n.utf8decode=function(e){return i.nodebuffer?r.transformTo(`nodebuffer`,e).toString(`utf-8`):function(e){var t,n,i,a,o=e.length,c=Array(2*o);for(t=n=0;t>10&1023,c[n++]=56320|1023&i)}return c.length!==n&&(c.subarray?c=c.subarray(0,n):c.length=n),r.applyFromCharCode(c)}(e=r.transformTo(i.uint8array?`uint8array`:`array`,e))},r.inherits(l,o),l.prototype.processChunk=function(e){var t=r.transformTo(i.uint8array?`uint8array`:`array`,e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var a=t;(t=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),t.set(a,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var o=function(e,t){var n;for((t||=e.length)>e.length&&(t=e.length),n=t-1;0<=n&&(192&e[n])==128;)n--;return n<0||n===0?t:n+s[e[n]]>t?n:t}(t),c=t;o!==t.length&&(i.uint8array?(c=t.subarray(0,o),this.leftOver=t.subarray(o,t.length)):(c=t.slice(0,o),this.leftOver=t.slice(o,t.length))),this.push({data:n.utf8decode(c),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=l,r.inherits(u,o),u.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){var r=e(`./support`),i=e(`./base64`),a=e(`./nodejsUtils`),o=e(`./external`);function s(e){return e}function c(e,t){for(var n=0;n>8;this.dir=!!(16&this.externalFileAttributes),e==0&&(this.dosPermissions=63&this.externalFileAttributes),e==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!==`/`||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||={};e.index+4>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t},n.buf2binstring=function(e){return c(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n>10&1023,l[r++]=56320|1023&i)}return c(l,r)},n.utf8border=function(e,t){var n;for((t||=e.length)>e.length&&(t=e.length),n=t-1;0<=n&&(192&e[n])==128;)n--;return n<0||n===0?t:n+o[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){t.exports=function(e,t,n,r){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;n!==0;){for(n-=o=2e3>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var a=r,o=i+n;e^=-1;for(var s=i;s>>8^a[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,n){var r,i=e(`../utils/common`),a=e(`./trees`),o=e(`./adler32`),s=e(`./crc32`),c=e(`./messages`),l=0,u=4,d=0,f=-2,p=-1,m=4,h=2,g=8,_=9,v=286,y=30,b=19,x=2*v+1,S=15,C=3,w=258,T=w+C+1,E=42,D=113,O=1,k=2,A=3,j=4;function M(e,t){return e.msg=c[t],t}function N(e){return(e<<1)-(4e.avail_out&&(n=e.avail_out),n!==0&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function I(e,t){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,F(e.strm)}function L(e,t){e.pending_buf[e.pending++]=t}function R(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function z(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-T?e.strstart-(e.w_size-T):0,l=e.window,u=e.w_mask,d=e.prev,f=e.strstart+w,p=l[a+o-1],m=l[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do if(l[(n=t)+o]===m&&l[n+o-1]===p&&l[n]===l[a]&&l[++n]===l[a+1]){a+=2,n++;do;while(l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&ac&&--i!=0);return o<=e.lookahead?o:e.lookahead}function B(e){var t,n,r,a,c,l,u,d,f,p,m=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-T)){for(i.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=n=e.hash_size;r=e.head[--t],e.head[t]=m<=r?r-m:0,--n;);for(t=n=m;r=e.prev[--t],e.prev[t]=m<=r?r-m:0,--n;);a+=m}if(e.strm.avail_in===0)break;if(l=e.strm,u=e.window,d=e.strstart+e.lookahead,f=a,p=void 0,p=l.avail_in,f=C)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<=C&&(e.ins_h=(e.ins_h<=C)if(r=a._tr_tally(e,e.strstart-e.match_start,e.match_length-C),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=C){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=C&&(e.ins_h=(e.ins_h<=C&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-C,r=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-C),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(B(e),e.lookahead===0&&t===l)return O;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,I(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-T&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):(e.strstart>e.block_start&&(I(e,!1),e.strm.avail_out),O)}),new U(4,4,8,4,V),new U(4,5,16,8,V),new U(4,6,32,32,V),new U(4,4,16,16,H),new U(8,16,32,32,H),new U(8,16,128,128,H),new U(8,32,128,256,H),new U(32,128,258,1024,H),new U(32,258,258,4096,H)],n.deflateInit=function(e,t){return ne(e,t,g,15,8,0)},n.deflateInit2=ne,n.deflateReset=te,n.deflateResetKeep=ee,n.deflateSetHeader=function(e,t){return e&&e.state&&e.state.wrap===2?(e.state.gzhead=t,d):f},n.deflate=function(e,t){var n,i,o,c;if(!e||!e.state||5>8&255),L(i,i.gzhead.time>>16&255),L(i,i.gzhead.time>>24&255),L(i,i.level===9?2:2<=i.strategy||i.level<2?4:0),L(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(L(i,255&i.gzhead.extra.length),L(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(L(i,0),L(i,0),L(i,0),L(i,0),L(i,0),L(i,i.level===9?2:2<=i.strategy||i.level<2?4:0),L(i,3),i.status=D);else{var p=g+(i.w_bits-8<<4)<<8;p|=(2<=i.strategy||i.level<2?0:i.level<6?1:i.level===6?2:3)<<6,i.strstart!==0&&(p|=32),p+=31-p%31,i.status=D,R(i,p),i.strstart!==0&&(R(i,e.adler>>>16),R(i,65535&e.adler)),e.adler=1}if(i.status===69)if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending!==i.pending_buf_size));)L(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(i.status===73)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindexo&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),c===0&&(i.gzindex=0,i.status=91)}else i.status=91;if(i.status===91)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindexo&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),c===0&&(i.status=103)}else i.status=103;if(i.status===103&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&F(e),i.pending+2<=i.pending_buf_size&&(L(i,255&e.adler),L(i,e.adler>>8&255),e.adler=0,i.status=D)):i.status=D),i.pending!==0){if(F(e),e.avail_out===0)return i.last_flush=-1,d}else if(e.avail_in===0&&N(t)<=N(n)&&t!==u)return M(e,-5);if(i.status===666&&e.avail_in!==0)return M(e,-5);if(e.avail_in!==0||i.lookahead!==0||t!==l&&i.status!==666){var m=i.strategy===2?function(e,t){for(var n;;){if(e.lookahead===0&&(B(e),e.lookahead===0)){if(t===l)return O;break}if(e.match_length=0,n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}(i,t):i.strategy===3?function(e,t){for(var n,r,i,o,s=e.window;;){if(e.lookahead<=w){if(B(e),e.lookahead<=w&&t===l)return O;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=C&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=C?(n=a._tr_tally(e,1,e.match_length-C),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}(i,t):r[i.level].func(i,t);if(m!==A&&m!==j||(i.status=666),m===O||m===A)return e.avail_out===0&&(i.last_flush=-1),d;if(m===k&&(t===1?a._tr_align(i):t!==5&&(a._tr_stored_block(i,0,0,!1),t===3&&(P(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),F(e),e.avail_out===0))return i.last_flush=-1,d}return t===u?i.wrap<=0?1:(i.wrap===2?(L(i,255&e.adler),L(i,e.adler>>8&255),L(i,e.adler>>16&255),L(i,e.adler>>24&255),L(i,255&e.total_in),L(i,e.total_in>>8&255),L(i,e.total_in>>16&255),L(i,e.total_in>>24&255)):(R(i,e.adler>>>16),R(i,65535&e.adler)),F(e),0=n.w_size&&(s===0&&(P(n.head),n.strstart=0,n.block_start=0,n.insert=0),p=new i.Buf8(n.w_size),i.arraySet(p,t,m-n.w_size,n.w_size,0),t=p,m=n.w_size),c=e.avail_in,l=e.next_in,u=e.input,e.avail_in=m,e.next_in=0,e.input=t,B(n);n.lookahead>=C;){for(r=n.strstart,a=n.lookahead-(C-1);n.ins_h=(n.ins_h<>>=b=y>>>24,m-=b,(b=y>>>16&255)==0)E[a++]=65535&y;else{if(!(16&b)){if(!(64&b)){y=h[(65535&y)+(p&(1<>>=b,m-=b),m<15&&(p+=T[r++]<>>=b=y>>>24,m-=b,!(16&(b=y>>>16&255))){if(!(64&b)){y=g[(65535&y)+(p&(1<>>=b,m-=b,(b=a-o)>3,p&=(1<<(m-=x<<3))-1,e.next_in=r,e.next_out=a,e.avail_in=r>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function _(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg=``,t.wrap&&(e.adler=1&t.wrap),t.mode=f,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(p),t.distcode=t.distdyn=new r.Buf32(m),t.sane=1,t.back=-1,u):d}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,_(e)):d}function y(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15=o.wsize?(r.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i<(a=o.wsize-o.wnext)&&(a=i),r.arraySet(o.window,t,n-i,a,o.wnext),(i-=a)?(r.arraySet(o.window,t,n-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,n.check=a(n.check,B,2,0),x=b=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&b)<<8)+(b>>8))%31){e.msg=`incorrect header check`,n.mode=30;break}if((15&b)!=8){e.msg=`unknown compression method`,n.mode=30;break}if(x-=4,F=8+(15&(b>>>=4)),n.wbits===0)n.wbits=F;else if(F>n.wbits){e.msg=`invalid window size`,n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),x=b=0,n.mode=3;case 3:for(;x<32;){if(v===0)break e;v--,b+=p[g++]<>>8&255,B[2]=b>>>16&255,B[3]=b>>>24&255,n.check=a(n.check,B,4,0)),x=b=0,n.mode=4;case 4:for(;x<16;){if(v===0)break e;v--,b+=p[g++]<>8),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),x=b=0,n.mode=5;case 5:if(1024&n.flags){for(;x<16;){if(v===0)break e;v--,b+=p[g++]<>>8&255,n.check=a(n.check,B,2,0)),x=b=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(v<(E=n.length)&&(E=v),E&&(n.head&&(F=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),r.arraySet(n.head.extra,p,g,E,F)),512&n.flags&&(n.check=a(n.check,p,E,g)),v-=E,g+=E,n.length-=E),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(v===0)break e;for(E=0;F=p[g+ E++],n.head&&F&&n.length<65536&&(n.head.name+=String.fromCharCode(F)),F&&E>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;x<32;){if(v===0)break e;v--,b+=p[g++]<>>=7&x,x-=7&x,n.mode=27;break}for(;x<3;){if(v===0)break e;v--,b+=p[g++]<>>=1)){case 0:n.mode=14;break;case 1:if(w(n),n.mode=20,t!==6)break;b>>>=2,x-=2;break e;case 2:n.mode=17;break;case 3:e.msg=`invalid block type`,n.mode=30}b>>>=2,x-=2;break;case 14:for(b>>>=7&x,x-=7&x;x<32;){if(v===0)break e;v--,b+=p[g++]<>>16^65535)){e.msg=`invalid stored block lengths`,n.mode=30;break}if(n.length=65535&b,x=b=0,n.mode=15,t===6)break e;case 15:n.mode=16;case 16:if(E=n.length){if(v>>=5,x-=5,n.ndist=1+(31&b),b>>>=5,x-=5,n.ncode=4+(15&b),b>>>=4,x-=4,286>>=3,x-=3}for(;n.have<19;)n.lens[V[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,L={bits:n.lenbits},I=s(0,n.lens,0,19,n.lencode,0,n.work,L),n.lenbits=L.bits,I){e.msg=`invalid code lengths set`,n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<>>=k,x-=k,n.lens[n.have++]=j;else{if(j===16){for(R=k+2;x>>=k,x-=k,n.have===0){e.msg=`invalid bit length repeat`,n.mode=30;break}F=n.lens[n.have-1],E=3+(3&b),b>>>=2,x-=2}else if(j===17){for(R=k+3;x>>=k)),b>>>=3,x-=3}else{for(R=k+7;x>>=k)),b>>>=7,x-=7}if(n.have+E>n.nlen+n.ndist){e.msg=`invalid bit length repeat`,n.mode=30;break}for(;E--;)n.lens[n.have++]=F}}if(n.mode===30)break;if(n.lens[256]===0){e.msg=`invalid code -- missing end-of-block`,n.mode=30;break}if(n.lenbits=9,L={bits:n.lenbits},I=s(c,n.lens,0,n.nlen,n.lencode,0,n.work,L),n.lenbits=L.bits,I){e.msg=`invalid literal/lengths set`,n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,L={bits:n.distbits},I=s(l,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,L),n.distbits=L.bits,I){e.msg=`invalid distances set`,n.mode=30;break}if(n.mode=20,t===6)break e;case 20:n.mode=21;case 21:if(6<=v&&258<=y){e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=x,o(e,C),_=e.next_out,m=e.output,y=e.avail_out,g=e.next_in,p=e.input,v=e.avail_in,b=n.hold,x=n.bits,n.mode===12&&(n.back=-1);break}for(n.back=0;A=(z=n.lencode[b&(1<>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<>M)])>>>16&255,j=65535&z,!(M+(k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<>>=M,x-=M,n.back+=M}if(b>>>=k,x-=k,n.back+=k,n.length=j,A===0){n.mode=26;break}if(32&A){n.back=-1,n.mode=12;break}if(64&A){e.msg=`invalid literal/length code`,n.mode=30;break}n.extra=15&A,n.mode=22;case 22:if(n.extra){for(R=n.extra;x>>=n.extra,x-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;A=(z=n.distcode[b&(1<>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<>M)])>>>16&255,j=65535&z,!(M+(k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<>>=M,x-=M,n.back+=M}if(b>>>=k,x-=k,n.back+=k,64&A){e.msg=`invalid distance code`,n.mode=30;break}n.offset=j,n.extra=15&A,n.mode=24;case 24:if(n.extra){for(R=n.extra;x>>=n.extra,x-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg=`invalid distance too far back`,n.mode=30;break}n.mode=25;case 25:if(y===0)break e;if(E=C-y,n.offset>E){if((E=n.offset-E)>n.whave&&n.sane){e.msg=`invalid distance too far back`,n.mode=30;break}D=E>n.wnext?(E-=n.wnext,n.wsize-E):n.wnext-E,E>n.length&&(E=n.length),O=n.window}else O=m,D=_-n.offset,E=n.length;for(yv?(b=L[R+d[w]],N[P+d[w]]):(b=96,0),p=1<>k)+(m-=p)]=y<<24|b<<16|x|0,m!==0;);for(p=1<>=1;if(p===0?M=0:(M&=p-1,M+=p),w++,--F[C]==0){if(C===E)break;C=t[n+d[w]]}if(D>>7)]}function L(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function R(e,t,n){e.bi_valid>h-n?(e.bi_buf|=t<>h-e.bi_valid,e.bi_valid+=n-h):(e.bi_buf|=t<>>=1,n<<=1,0<--t;);return n>>>1}function V(e,t,n){var r,i,a=Array(m+1),o=0;for(r=1;r<=m;r++)a[r]=o=o+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];s!==0&&(e[2*i]=B(a[s]++,s))}}function H(e){var t;for(t=0;t>1;1<=n;n--)ee(e,a,n);for(i=c;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],ee(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,ee(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,a,o,s,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,g=t.stat_desc.max_length,_=0;for(a=0;a<=m;a++)e.bl_count[a]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n>=7;r>>=1)if(1&n&&e.dyn_ltree[2*t]!==0)return i;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return a;for(t=32;t>>3,(s=e.static_len+3+7>>>3)<=o&&(o=s)):o=s=n+5,n+4<=o&&t!==-1?K(e,t,n,r):e.strategy===4||s===o?(R(e,2+ +!!r,3),te(e,T,E)):(R(e,4+ +!!r,3),function(e,t,n,r){var i;for(R(e,t-257,5),R(e,n-1,5),R(e,r-4,4),i=0;i>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,t===0?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(O[n]+l+1)]++,e.dyn_dtree[2*I(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){R(e,2,3),z(e,_,T),function(e){e.bi_valid===16?(L(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,n){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=``,this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){(function(e){(function(e,t){if(!e.setImmediate){var n,r,i,a,o=1,s={},c=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,n={}.toString.call(e.process)===`[object process]`?function(e){process.nextTick(function(){f(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage(``,`*`),e.onmessage=n,t}}()?(a=`setImmediate$`+Math.random()+`$`,e.addEventListener?e.addEventListener(`message`,p,!1):e.attachEvent(`onmessage`,p),function(t){e.postMessage(a+t,`*`)}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){f(e.data)},function(e){i.port2.postMessage(e)}):l&&`onreadystatechange`in l.createElement(`script`)?(r=l.documentElement,function(e){var t=l.createElement(`script`);t.onreadystatechange=function(){f(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):function(e){setTimeout(f,0,e)},u.setImmediate=function(e){typeof e!=`function`&&(e=Function(``+e));for(var t=Array(arguments.length-1),r=0;r`u`?e===void 0?this:e:self)}).call(this,typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{}]},{},[10])(10)})}))(),1),{Search:_ae}=_G,{Text:vae}=Q,yae=e=>{let t=S.useRef(!1);(0,S.useEffect)(()=>{if(t.current)return;let n=()=>{t.current||(t.current=!0,e?.())};return document.readyState===`complete`?n():window.addEventListener(`load`,n),()=>{window.removeEventListener(`load`,n)}},[e])},bae=()=>{let[e,t]=(0,S.useState)(!1);yae(()=>{t(!0)});let[n,r]=(0,S.useState)(`project`),[i,a]=(0,S.useState)(`video`),[o,s]=(0,S.useState)([]),[c,l]=(0,S.useState)({page:1,pageSize:10}),[u,d]=(0,S.useState)(0),[f,p]=(0,S.useState)(!1),[m,h]=(0,S.useState)(new Set),[g,_]=(0,S.useState)(!1),[v,y]=(0,S.useState)(null),b=S.createRef(),[x,C]=(0,S.useState)(``),[w,T]=(0,S.useState)(!1),[E,D]=(0,S.useState)(!1),[O,k]=(0,S.useState)([[]]),[A,j]=(0,S.useState)([``]),[M,N]=(0,S.useState)([]),[P,F]=(0,S.useState)(!1),[I,L]=(0,S.useState)(0),[R,z]=(0,S.useState)([void 0]),[B,V]=(0,S.useState)(new Map),[H,U]=(0,S.useState)(``),[W,ee]=(0,S.useState)(new Map),te=(0,S.useRef)(new Map);(0,S.useEffect)(()=>()=>{te.current.forEach(e=>clearTimeout(e)),te.current.clear()},[]);let[ne,re]=(0,S.useState)(1),[G,ie]=(0,S.useState)(10),[K,ae]=(0,S.useState)([!1]),[q,oe]=(0,S.useState)(`new`),[se,ce]=(0,S.useState)([]),[le,ue]=(0,S.useState)(!1),[de,fe]=(0,S.useState)([]),[pe,me]=(0,S.useState)({}),[he,ge]=(0,S.useState)(`2`),[_e,ve]=(0,S.useState)(``),[ye,be]=(0,S.useState)([]),[xe,Se]=(0,S.useState)(!1),[Ce,we]=(0,S.useState)(!1),[Te,Ee]=(0,S.useState)([]),[De,Oe]=(0,S.useState)(0),[ke,Ae]=(0,S.useState)(1),[je,Me]=(0,S.useState)(10),[Ne,Pe]=(0,S.useState)(!1),[Fe,Ie]=(0,S.useState)(``),[Le,Re]=(0,S.useState)(!1),[ze,Be]=(0,S.useState)(new Set),Ve=e=>{if(!e)return null;try{let t=new URL(e).searchParams.get(`exp`);return t?parseInt(t,10):null}catch{try{let t=e.indexOf(`?`);if(t!==-1){let n=e.substring(t+1),r=new URLSearchParams(n).get(`exp`);if(r)return parseInt(r,10)}return null}catch{return null}}},He=e=>{let t=Ve(e);return t?Math.floor(Date.now()/1e3)>t:!1},Ue=(e,t=!1)=>{let n=`http://ceshi.apiforeign.minzhong.cn`,r=e.startsWith(`/`)?e.slice(1):e,i=n.endsWith(`/`)?n.slice(0,-1):n;return t?`${i}/static/${r}&w=300&q=50`:`${i}/${r}`},We=e=>{y(e),_(!0),window.dispatchEvent(new Event(`previewOpen`))},Ge=()=>{b.current&&(b.current.pause(),b.current.currentTime=0),document.querySelectorAll(`video`).forEach(e=>{e.pause(),e.currentTime=0}),_(!1)},Ke=e=>e.generatedResourceId||e.id,qe=e=>!!e.generatedResourceId,Je=e=>{if(!e)return!0;let t=e.match(/^(\d+)x(\d+)$/);if(!t)return!0;let n=parseInt(t[1],10),r=parseInt(t[2],10),i=n/r;return n>=r?n>=480&&n<=2560&&r>=270&&r<=1440&&i>=1.775&&i<=1.784:n>=270&&n<=1440&&r>=480&&r<=2560&&i>=.555&&i<=.564},Ye=e=>{Be(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},Xe=()=>{let e=o.flatMap(e=>e.items.map(e=>Ke(e)));ze.size===e.length?Be(new Set):Be(new Set(e))},Ze=async()=>{if(ze.size===0){Z.warning(`请先选择要下载的媒体`);return}if(ze.size>30){Z.warning(`最多只能单次下载30个文件`);return}let e=[];o.forEach(t=>{t.items.forEach(t=>{ze.has(Ke(t))&&e.push(t)})});let t=new gae.default,n=`http://ceshi.apiforeign.minzhong.cn`,r=t.folder(`downloads`),i=!1,a=0;Z.loading({content:`下载中,请稍候...`,key:`downloadProgress`});for(let t of e){let e=`${n}${t.videoUrl||t.imageUrl}`,o=((t.videoUrl||t.imageUrl).split(`/`).pop()||`file_${Date.now()}`).split(`?`)[0];try{let t=await fetch(e);if(!t.ok)throw Error(`Network response was not ok`);let n=await t.blob();r?.file(o,n),a++}catch{console.warn(`文件下载失败(CORS限制): ${o},将使用备用方式下载`),i=!0;break}}if(i){Z.destroy(`downloadProgress`),Z.info(`由于跨域限制,将逐个下载文件`),e.forEach((e,t)=>{setTimeout(()=>{let t=`${n}${e.videoUrl||e.imageUrl}&download=1`,r=document.createElement(`a`);r.href=t,r.download=``,document.body.appendChild(r),r.click(),document.body.removeChild(r)},t*500)});return}let s=await t.generateAsync({type:`blob`}),c=document.createElement(`a`);c.href=URL.createObjectURL(s),c.download=`downloads_${Date.now()}.zip`,c.click(),URL.revokeObjectURL(c.href),Z.destroy(`downloadProgress`),Z.success(`下载完成,共 ${a} 个文件`),Re(!1),Be(new Set)},Qe=async()=>{if(ze.size===0){Z.warning(`请先选择要删除的媒体`);return}if(ze.size>30){Z.warning(`最多只能单次删除30个文件`);return}let e=o.flatMap(e=>e.items.filter(e=>ze.has(Ke(e)))),t=``;t=n===`shot_replicate`?(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{marginBottom:8},children:`以下内容所连带的图片和视频都将被删除:`}),(0,$.jsx)(`ul`,{style:{margin:0,paddingLeft:20},children:e.map((e,t)=>(0,$.jsxs)(`li`,{style:{marginBottom:4,color:`#334155`},children:[e.shotReplicateProjectTitle,`— —`,e.shotSegmentLabel]},t))}),(0,$.jsx)(`div`,{style:{marginTop:12},children:`确定删除吗?`})]}):n===`hot_opening_replicate`?(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{marginBottom:8},children:`爆款开头复刻中以下内容所连带的图片和视频都将被删除:`}),(0,$.jsx)(`ul`,{style:{margin:0,paddingLeft:20},children:e.map((e,t)=>(0,$.jsx)(`li`,{style:{marginBottom:4,color:`#334155`},children:e.moduleProjectTitle},t))}),(0,$.jsx)(`div`,{style:{marginTop:12},children:`确定删除吗?`})]}):`确定删除选中的 ${ze.size} 条记录吗?`,YK.confirm({title:`确认删除`,content:t,okText:`确定删除`,cancelText:`取消`,okButtonProps:{danger:!0},onOk:async()=>{let e=``;n===`project`?e=`generation_record`:n===`creation`?e=`chat_task`:n===`hot_opening_replicate`?e=`hot_opening_replicate`:n===`shot_replicate`&&(e=`shot_replicate`);let t=[];o.forEach(e=>{e.items.forEach(e=>{ze.has(Ke(e))&&t.push(e)})});let r=[];e===`generation_record`||e===`chat_task`?r=t.map(e=>e.id):e===`hot_opening_replicate`?r=t.map(e=>e.moduleProjectId):e===`shot_replicate`&&(r=t.map(e=>e.shotSegmentId));let i={history_source:e,ids:r};try{await q7(i),Z.success(`删除成功`),Re(!1),Be(new Set),l(e=>({...e,page:1})),pt()}catch{Z.error(`删除失败,请重试`)}}})},$e=async()=>{Se(!0);try{let e=await N7({page:1,pageSize:100});be(e.data?.data||e.data||[])}catch(e){console.error(`加载前测模板失败:`,e)}finally{Se(!1)}},et=()=>{if(ze.size===0){Z.warning(`请先选择要推送的媒体`);return}k([[]]),j([``]),z([void 0]),ge(`2`),ve(``),$e(),D(!0)},tt=()=>{if(!v)return;let e=Ke(v);Be(new Set([e])),k([[]]),j([``]),z([void 0]),V(new Map),U(``),ge(`2`),ve(``),$e(),D(!0)},nt=async(e,t)=>{F(!0);try{let n=await M7({page:e,page_size:t});N(n?.data||n||[]),L(n.pagination.total||0)}catch(e){console.error(`加载授权列表失败:`,e),N([]),L(0)}finally{F(!1)}},rt=async()=>{ue(!0);try{let[e,t]=await Promise.all([oie(),G7()]);ce(e?.data||[]);let n=t?.data||[],r={};n.forEach(e=>{r[e.openType]=e.typeName}),me(r)}catch(e){console.error(`加载历史授权账户列表失败:`,e),ce([]),me({})}finally{ue(!1)}},it=async()=>{Pe(!0);try{let e=await Qre({status:Fe||void 0,page:ke,pageSize:je});Ee(e?.data||e||[]),Oe(e.pagination?.total||e.total||0)}catch(e){console.error(`加载推送历史失败:`,e),Ee([]),Oe(0)}finally{Pe(!1)}},at=()=>{we(!0),Ae(1),Ie(``),it()},ot=()=>{Ae(1),it()},st=(e,t)=>{Ae(e),Me(t),it()},ct=async()=>{if(ze.size===0){Z.warning(`请先选择要推送的媒体`);return}let e=new Map;o.forEach(t=>{t.items.forEach(t=>{let n=Ke(t);e.set(n,t)})});let t=[];if(q===`new`){let n=R.filter(e=>e!==void 0);if(n.length===0){Z.warning(`请先选择授权账户`);return}for(let r=0;re.accountId)||[];if(a.length===0){Z.warning(`第 ${r+1} 组授权账户未设置账户ID,已跳过`);continue}let o=new Map;for(let t of ze){let n=e.get(t),r;n&&qe(n)&&(r=`generated_resources`),o.has(r)||o.set(r,[]),o.get(r).push(t)}o.forEach((e,n)=>{t.push({advertiser_ids:a,resource_ids:e,oauth_id:i.value,source_model:n,is_pre_test:he,pre_test_template:_e})})}}else{if(de.length===0){Z.warning(`请先选择历史账户`);return}for(let r of de){let i=new Map;for(let t of ze){let r=e.get(t),a;a=r&&qe(r)?`generated_resources`:n===`project`?`generation_records`:`chat_generation_tasks`,i.has(a)||i.set(a,[]),i.get(a).push(t)}i.forEach((e,n)=>{t.push({advertiser_ids:[r.advertiserId],resource_ids:e,oauth_id:String(r.oauthId),source_model:n,is_pre_test:he,pre_test_template:_e})})}}T(!0);try{let e=await Zre({tasks:t});e.errors?.length>0?Z.warning(e.message):e.code===0?Z.success(e.message):Z.error(e.message),Re(!1),Be(new Set),D(!1),k([[]]),j([``]),z([void 0]),fe([]),V(new Map),U(``),ge(`2`),ve(``)}catch(e){console.error(`批量推送失败:`,e),Z.error(e.message||`批量推送失败`)}finally{T(!1)}},lt=async(e,t)=>{if(t.trim())try{let n=(await U7({filenames:[{source_id:e,file_name:t}]}))?.results?.find(t=>t.source_id===e)?.new_file_name||t;s(t=>t.map(t=>({...t,items:t.items.map(t=>Ke(t)===e?{...t,fileName:n}:t)}))),Z.success(`文件名更新成功`)}catch(e){console.error(`文件名更新失败:`,e),Z.error(e.message||`文件名更新失败`)}},ut=async(e,t)=>{if(!(!t.trim()||e.length===0))try{let n=await U7({filenames:e.map(e=>({source_id:e,file_name:t}))}),r=new Map;n?.results?.forEach(e=>{e.success&&e.newFileName&&r.set(e.sourceId,e.newFileName)}),s(n=>{let i=new Set(e);return n.map(e=>({...e,items:e.items.map(e=>{let n=Ke(e);if(i.has(n)){let i=r.get(n)||t;return{...e,fileName:i}}return e})}))}),console.log(n);let i=n?.successCount||0;Z.success(`已更新 ${i} 个文件名`)}catch(e){console.error(`文件名更新失败:`,e),Z.error(e.message||`文件名更新失败`)}},dt=e=>{C(e)},ft=e=>new Promise(t=>{let n=document.createElement(`video`),r=`http://ceshi.apiforeign.minzhong.cn`,i=e.startsWith(`/`)?e.slice(1):e;n.src=`${r.endsWith(`/`)?r.slice(0,-1):r}/${i}`,n.crossOrigin=`anonymous`,n.onloadedmetadata=()=>{let e=n.videoWidth,r=n.videoHeight;n.remove(),t(`${e}x${r}`)},n.onerror=()=>{n.remove(),t(``)},n.onabort=()=>{n.remove(),t(``)},setTimeout(()=>{n.remove(),t(``)},5e3)}),pt=()=>{if(n===`private_portrait`){p(!1),s([]);return}p(!0);let t=``;n===`project`?t=`generation_record`:n===`hot_opening_replicate`?t=`hot_opening_replicate`:n===`shot_replicate`&&(t=`shot_replicate`);let r=`?gen_type=${i}&page=${c.page}&page_size=${c.pageSize}`;if(t&&(r=`?gen_type=${i}&history_source=${t}&page=${c.page}&page_size=${c.pageSize}`),x){let n=`${x}?gen_type=${i}&page=${c.page}&page_size=${c.pageSize}`;t&&(n=`${x}?gen_type=${i}&history_source=${t}&page=${c.page}&page_size=${c.pageSize}`),E7(n).then(t=>{let n=Array.isArray(t)?t:t?.items||[],r=[{generatedDate:t.generatedDate,items:n,total:t.total,page:t.page}];r&&r[0].items.length>0?s(r):s([]),e&&n.forEach(async e=>{if(e.videoUrl&&e.videoUrl.trim()){let t=await ft(e.videoUrl);t&&s(n=>n.map(n=>({...n,items:n.items.map(n=>n.id===e.id?{...n,imagePx:t}:n)})))}})}).catch(e=>{}).finally(()=>{p(!1)})}else jre(r).then(t=>{let n=Array.isArray(t)?t:t?.groups||[];n.forEach(e=>{e.page=1}),c.page===1?s(n):s(e=>[...e,...n]),d(t?.totalDays||0),e&&n.forEach(e=>{e.items.forEach(async e=>{if(e.videoUrl&&e.videoUrl.trim()){let t=await ft(e.videoUrl);t&&s(n=>n.map(n=>({...n,items:n.items.map(n=>n.id===e.id?{...n,imagePx:t}:n)})))}})})}).catch(e=>{c.page===1&&s([])}).finally(()=>{p(!1)})};(0,S.useEffect)(()=>{pt()},[n,i,c.page,x]);let mt=()=>{f||l(e=>({...e,page:e.page+1}))},ht=async(e,t,r)=>{if(m.has(t))return;h(e=>new Set([...e,t]));let a=r+1,o=``;n===`project`?o=`generation_record`:n===`hot_opening_replicate`?o=`hot_opening_replicate`:n===`shot_replicate`&&(o=`shot_replicate`);let l=`${e}?gen_type=${i}&page=${a}&page_size=${c.pageSize}`;o&&(l=`${e}?gen_type=${i}&history_source=${o}&page=${a}&page_size=${c.pageSize}`);try{let t=(await E7(l)).items||[];t&&t.length>0&&s(n=>n.map(n=>n.generatedDate===e?{...n,items:[...n.items,...t],page:a}:n))}catch{}finally{h(e=>{let n=new Set(e);return n.delete(t),n})}};return(0,S.useEffect)(()=>{l(e=>({...e,page:1}))},[n,i]),(0,$.jsxs)(`div`,{style:{minHeight:`calc(100vh - 90px)`,background:`#ffffffff`,overflowY:`auto`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,flexWrap:`wrap`,alignItems:`center`,gap:12,marginBottom:16,padding:`12px 16px`,borderRadius:12,background:`#fff`,border:`1px solid #f0f0f5`,justifyContent:`space-between`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:4,flexWrap:`wrap`},children:[(0,$.jsx)(L3,{style:{color:`#090a0cff`,fontSize:14}}),(0,$.jsxs)(HH,{size:8,wrap:!0,children:[(0,$.jsx)(X,{type:n===`project`?`primary`:`default`,onClick:()=>{r(`project`),Re(!1),Be(new Set)},style:{borderRadius:8,background:n===`project`?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`#f8f9fc`,border:n===`project`?`none`:`1px solid #e2e8f0`,color:n===`project`?`#fff`:`#64748b`,fontWeight:600},icon:(0,$.jsx)(DZ,{}),children:`项目记录`}),(0,$.jsx)(X,{type:n===`creation`?`primary`:`default`,onClick:()=>{r(`creation`),Re(!1),Be(new Set)},style:{borderRadius:8,background:n===`creation`?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`#f8f9fc`,border:n===`creation`?`none`:`1px solid #e2e8f0`,color:n===`creation`?`#fff`:`#64748b`,fontWeight:600},icon:(0,$.jsx)(qH,{}),children:`创作记录`}),(0,$.jsx)(X,{type:n===`hot_opening_replicate`?`primary`:`default`,onClick:()=>{r(`hot_opening_replicate`),Re(!1),Be(new Set)},style:{borderRadius:8,background:n===`hot_opening_replicate`?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`#f8f9fc`,border:n===`hot_opening_replicate`?`none`:`1px solid #e2e8f0`,color:n===`hot_opening_replicate`?`#fff`:`#64748b`,fontWeight:600},icon:(0,$.jsx)(T5,{}),children:`爆款复刻`}),(0,$.jsx)(X,{type:n===`shot_replicate`?`primary`:`default`,onClick:()=>{r(`shot_replicate`),Re(!1),Be(new Set)},style:{borderRadius:8,background:n===`shot_replicate`?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`#f8f9fc`,border:n===`shot_replicate`?`none`:`1px solid #e2e8f0`,color:n===`shot_replicate`?`#fff`:`#64748b`,fontWeight:600},icon:(0,$.jsx)(T8,{}),children:`拆镜复刻`}),(0,$.jsx)(X,{type:n===`private_portrait`?`primary`:`default`,onClick:()=>{r(`private_portrait`),Re(!1),Be(new Set)},style:{borderRadius:8,background:n===`private_portrait`?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`#f8f9fc`,border:n===`private_portrait`?`none`:`1px solid #e2e8f0`,color:n===`private_portrait`?`#fff`:`#64748b`,fontWeight:600},icon:(0,$.jsx)(B5,{}),children:`真人素材库`})]})]}),n!==`private_portrait`&&(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:4,flexWrap:`wrap`},children:Le?(0,$.jsxs)(HH,{size:8,wrap:!0,children:[(0,$.jsx)(X,{onClick:Xe,style:{borderRadius:8,background:`#f8f9fc`,border:`1px solid #e2e8f0`,color:`#222222ff`,fontWeight:600},children:ze.size===o.reduce((e,t)=>e+t.items.length,0)?`取消全选`:`全选`}),(0,$.jsx)(X,{onClick:()=>{Re(!1),Be(new Set)},style:{borderRadius:8,background:`#f8f9fc`,border:`1px solid #e2e8f0`,color:`#64748b`,fontWeight:600},children:`取消选择`}),(0,$.jsxs)(X,{onClick:()=>Qe(),style:{borderRadius:8,background:`linear-gradient(135deg, #bf0b0a 0%, #ff8165 100%)`,fontWeight:600,padding:`8px 24px`,color:`#fff`},children:[`删除 (`,ze.size,`)`]}),(0,$.jsxs)(X,{onClick:()=>Ze(),style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,color:`#fff`,fontWeight:600},children:[`下载 (`,ze.size,`)`]}),(0,$.jsx)(X,{type:`primary`,onClick:et,loading:w,disabled:w||ze.size===0,style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,color:`#fff`,fontWeight:600},children:w?`推送中...`:`推送至账户 (${ze.size})`})]}):(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(L5,{}),onClick:()=>Re(!0),style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,fontWeight:600},children:`批量操作`})})]}),n===`private_portrait`?(0,$.jsx)(Xie,{}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,flexWrap:`wrap`,justifyContent:`space-between`,alignItems:`center`,gap:12,marginBottom:24,padding:`12px 16px`,borderRadius:12,background:`#fff`,border:`1px solid #f0f0f5`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(Q.Text,{style:{color:`#94a3b8`,fontSize:14},children:`媒体类型:`}),(0,$.jsxs)(HH,{size:8,wrap:!0,children:[(0,$.jsx)(X,{type:i===`video`?`primary`:`default`,onClick:()=>{a(`video`),Re(!1),Be(new Set)},style:{borderRadius:8,background:i===`video`?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`#f8f9fc`,border:i===`video`?`none`:`1px solid #e2e8f0`,color:i===`video`?`#fff`:`#64748b`,fontWeight:600},icon:(0,$.jsx)(H5,{}),children:`视频`}),(0,$.jsx)(X,{type:i===`image`?`primary`:`default`,onClick:()=>{a(`image`),Re(!1),Be(new Set)},style:{borderRadius:8,background:i===`image`?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`#f8f9fc`,border:i===`image`?`none`:`1px solid #e2e8f0`,color:i===`image`?`#fff`:`#64748b`,fontWeight:600},icon:(0,$.jsx)(g8,{}),children:`图片`}),(0,$.jsx)(XV,{picker:`date`,value:x?(0,oD.default)(x):void 0,onChange:(e,t)=>dt(t||``),format:`YYYY-MM-DD`,style:{width:160,borderRadius:8,border:`1px solid #e2e8f0`},placeholder:`选择日期`}),x&&(0,$.jsx)(X,{type:`text`,onClick:()=>dt(``),style:{color:`#94a3b8`,fontSize:12},children:`清除`})]})]}),(0,$.jsx)(X,{icon:(0,$.jsx)(UV,{}),onClick:at,style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,color:`#ffffff`,fontWeight:600,boxShadow:`0 4px 15px rgba(102, 126, 234, 0.4)`,transition:`all 0.3s ease`},onMouseEnter:e=>{e.currentTarget.style.transform=`translateY(-2px)`,e.currentTarget.style.boxShadow=`0 6px 20px rgba(102, 126, 234, 0.6)`},onMouseLeave:e=>{e.currentTarget.style.transform=`translateY(0)`,e.currentTarget.style.boxShadow=`0 4px 15px rgba(102, 126, 234, 0.4)`},children:`查询推送任务历史`})]}),f?(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,minHeight:`400px`},children:(0,$.jsx)(wK,{indicator:(0,$.jsx)(Zm,{style:{fontSize:24,color:`#64748b`},spin:!0}),tip:`加载中...`,size:`large`})}):o.length===0?(0,$.jsx)(OC,{image:OC.PRESENTED_IMAGE_SIMPLE,description:`暂无生成记录`,style:{padding:`60px 0`}}):(0,$.jsxs)(`div`,{style:{padding:`0 4px`},children:[o.map((e,t)=>(0,$.jsxs)(`div`,{style:{marginBottom:32},children:[(0,$.jsx)(`div`,{style:{fontSize:14,fontWeight:600,color:`#64748b`,marginBottom:12,paddingLeft:8},children:e.generatedDate}),(0,$.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:8},children:e.items.map(e=>{let t=i===`video`&&e.videoCoverUrl?Ue(e.videoCoverUrl,!0):Ue(i===`video`?e.videoUrl:e.imageUrl,!0),n=i===`video`&&e.videoCoverUrl||i===`image`,r=ze.has(Ke(e));return(0,$.jsxs)(`div`,{className:`media-card`,style:{width:160,height:120,position:`relative`,borderRadius:4,cursor:`pointer`,overflow:`hidden`,boxShadow:`0 2px 8px rgba(0,0,0,0.1)`,transition:`transform 0.2s, box-shadow 0.2s`},onClick:()=>Le?Ye(Ke(e)):We(e),onMouseEnter:e=>{Le||(e.currentTarget.style.transform=`scale(1.05)`,e.currentTarget.style.boxShadow=`0 4px 16px rgba(0,0,0,0.2)`)},onMouseLeave:e=>{Le||(e.currentTarget.style.transform=`scale(1)`,e.currentTarget.style.boxShadow=`0 2px 8px rgba(0,0,0,0.1)`)},children:[n?(0,$.jsxs)(`div`,{style:{width:`100%`,height:`100%`,position:`relative`},children:[(0,$.jsx)(`img`,{src:t,alt:`预览`,style:{width:`100%`,height:`100%`,objectFit:`cover`,opacity:+(W.get(Ke(e))===`loaded`),transition:`opacity 0.3s`},onLoad:()=>{ee(t=>{let n=new Map(t);return n.set(Ke(e),`loaded`),n})},onError:()=>{ee(t=>{let n=new Map(t);return n.set(Ke(e),`error`),n})}}),W.get(Ke(e))!==`loaded`&&(0,$.jsx)(`div`,{style:{position:`absolute`,top:0,left:0,width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%)`},children:(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,backgroundColor:`#cbd5e1`,display:`flex`,alignItems:`center`,justifyContent:`center`,animation:W.get(Ke(e))===`loading`?`pulse 1.5s infinite`:`none`},children:e.mediaType===`video`?(0,$.jsx)(H5,{style:{color:`#64748b`,fontSize:16}}):(0,$.jsx)(g8,{style:{color:`#64748b`,fontSize:16}})})})]}):(0,$.jsxs)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,backgroundColor:`#1e293b`},children:[(0,$.jsx)(H5,{style:{color:`#64748b`,fontSize:24}}),(0,$.jsx)(vae,{style:{fontSize:12,color:`#94a3b8`,marginTop:4},children:`暂无封面`})]}),Le&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:8,left:8,width:20,height:20,borderRadius:`50%`,backgroundColor:r?`#10b981`:`rgba(255,255,255,0.9)`,border:r?`2px solid #10b981`:`2px solid #d1d5db`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,zIndex:10},onClick:t=>{t.stopPropagation(),Ye(Ke(e))},children:r&&(0,$.jsx)(`svg`,{width:12,height:12,viewBox:`0 0 12 12`,fill:`none`,children:(0,$.jsx)(`path`,{d:`M10 3L4.5 8.5L2 6`,stroke:`white`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`})})}),r&&i===`video`&&e.imagePx&&!Je(e.imagePx)&&(0,$.jsx)(`div`,{style:{position:`absolute`,top:36,left:8,right:8,padding:`4px 8px`,backgroundColor:`rgba(239, 68, 68, 0.9)`,color:`#fff`,fontSize:12,borderRadius:4,zIndex:10},children:`视频实际尺寸可能不符合平台推送要求`})]}),!Le&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{position:`absolute`,bottom:0,left:0,right:0,background:`linear-gradient(transparent, rgba(0,0,0,0.5))`,padding:`8px`,color:`#fff`,fontSize:12,opacity:0,transition:`opacity 0.2s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`1`},onMouseLeave:e=>{e.currentTarget.style.opacity=`0`},children:`点击预览`}),(0,$.jsx)(`div`,{className:`media-download-btn`,children:(0,$.jsx)(Jw,{title:`下载`,children:(0,$.jsx)(`div`,{style:{width:28,height:28,borderRadius:`50%`,background:`rgba(0,0,0,0.5)`,backdropFilter:`blur(4px)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,transition:`background 0.15s`},onClick:t=>{t.stopPropagation();let n=`http://ceshi.apiforeign.minzhong.cn${e.videoUrl||e.imageUrl}&download=1`,r=document.createElement(`a`);r.href=n,r.download=``,document.body.appendChild(r),r.click(),document.body.removeChild(r)},children:(0,$.jsx)(J0,{style:{color:`#fff`,fontSize:14}})})})})]}),Le&&r&&(0,$.jsx)(`div`,{style:{position:`absolute`,top:0,left:0,right:0,bottom:0,border:`3px solid #10b981`,borderRadius:4,pointerEvents:`none`,zIndex:5}})]},Ke(e))})}),e.total&&e.total>e.items.length&&(0,$.jsx)(`div`,{style:{padding:`12px 0`,textAlign:`left`},children:(0,$.jsx)(X,{onClick:()=>ht(e.generatedDate,e.items,e.page),loading:m.has(e.generatedDate),disabled:m.has(e.generatedDate),size:`small`,style:{borderRadius:6,background:`transparent`,border:`1px dashed #cbd5e1`,color:`#64748b`,fontSize:12},children:m.has(e.date)?`加载中...`:`查看全部 (${e.total})`})})]},t)),o.length>0&&u>o.length&&(0,$.jsx)(`div`,{style:{textAlign:`center`,padding:`20px 0`},children:(0,$.jsx)(X,{onClick:mt,loading:f,disabled:f,style:{borderRadius:8,background:`#f8f9fc`,border:`1px solid #e2e8f0`,color:`#64748b`,fontWeight:500},children:f?`加载中...`:`加载更多`})})]})]}),(0,$.jsxs)(YK,{title:`推送任务历史`,open:Ce,onCancel:()=>we(!1),footer:null,width:800,style:{borderRadius:8},mask:{closable:!1},children:[(0,$.jsxs)(`div`,{style:{marginBottom:16,display:`flex`,gap:4},children:[(0,$.jsx)(iw,{value:Fe,onChange:e=>Ie(e),placeholder:`选择状态`,style:{width:200,marginRight:12},options:[{value:`1`,label:`待推送`},{value:`2`,label:`推送中`},{value:`3`,label:`推送成功`},{value:`4`,label:`推送失败`}],allowClear:!0}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:4},children:[(0,$.jsx)(X,{type:`primary`,onClick:ot,style:{borderRadius:8},children:`查询`}),(0,$.jsx)(X,{icon:(0,$.jsx)(aJ,{}),onClick:ot,style:{borderRadius:8},children:`刷新`})]})]}),(0,$.jsx)(v$,{dataSource:Te,columns:[{title:`素材名称`,dataIndex:`fileName`,key:`fileName`,width:200},{title:`账户ID`,dataIndex:`advertiserId`,key:`advertiserId`,width:180},{title:`状态`,dataIndex:`status`,key:`status`,width:100,render:e=>(0,$.jsx)(j$,{color:{1:`#f59e0b`,2:`#6366f1`,3:`#10b981`,4:`#ef4444`}[e]||`#64748b`,style:{borderRadius:4},children:{1:`待推送`,2:`推送中`,3:`推送成功`,4:`推送失败`}[e]||e})},{title:`备注`,dataIndex:`note`,key:`note`,width:160,ellipsis:!0,render:e=>(0,$.jsx)(`span`,{style:{color:`#94a3b8`},children:e||`-`})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:180,render:e=>F9(e)},{title:`更新时间`,dataIndex:`updatedAt`,key:`updatedAt`,width:180,render:e=>F9(e)}],loading:Ne,scroll:{x:`max-content`},pagination:{current:ke,pageSize:je,total:De,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:st},rowKey:(e,t)=>e.task_id||e.resource_id||t,size:`small`})]}),g&&v&&(0,$.jsx)(YK,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:v.title||`预览`})]}),open:g,onCancel:Ge,width:1200,footer:(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:12,padding:`16px 24px`,background:`#fff`,borderTop:`1px solid #f1f5f9`},children:[(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(J0,{}),onClick:()=>{b.current&&b.current.pause();let e=`http://ceshi.apiforeign.minzhong.cn${v.videoUrl||v.imageUrl}&download=1`,t=document.createElement(`a`);t.href=e,t.download=``,document.body.appendChild(t),t.click(),document.body.removeChild(t)},style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.35)`,fontWeight:600,padding:`8px 24px`},disabled:He(v.videoUrl||v.imageUrl),children:He(v.videoUrl||v.imageUrl)?`资源已过期`:`下载`}),(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(G$,{}),onClick:()=>{let e=``,t=``;if(n===`shot_replicate`?(e=v.shotSegmentId,t=(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{marginBottom:8},children:`以下内容所连带的图片和视频都将被删除:`}),(0,$.jsx)(`ul`,{style:{margin:0,paddingLeft:20},children:(0,$.jsxs)(`li`,{style:{marginBottom:4,color:`#334155`},children:[v.shotReplicateProjectTitle,`— —`,v.shotSegmentLabel]})}),(0,$.jsx)(`div`,{style:{marginTop:12},children:`确定删除吗?`})]})):n===`hot_opening_replicate`?(e=v.moduleProjectId,t=(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{marginBottom:8},children:`爆款开头复刻中以下内容所连带的图片和视频都将被删除:`}),(0,$.jsx)(`ul`,{style:{margin:0,paddingLeft:20},children:(0,$.jsx)(`li`,{style:{marginBottom:4,color:`#334155`},children:v.moduleProjectTitle})}),(0,$.jsx)(`div`,{style:{marginTop:12},children:`确定删除吗?`})]})):(e=v.id,t=`确定删除该记录吗?`),!e){Z.warning(`无法获取删除ID`);return}YK.confirm({title:`确认删除`,content:t,okText:`确定删除`,cancelText:`取消`,okButtonProps:{danger:!0},onOk:async()=>{let t=``;n===`project`?t=`generation_record`:n===`creation`?t=`chat_task`:n===`hot_opening_replicate`?t=`hot_opening_replicate`:n===`shot_replicate`&&(t=`shot_replicate`);let r={history_source:t,ids:[e]};try{await q7(r),Z.success(`删除成功`),Ge(),l(e=>({...e,page:1})),pt()}catch{Z.error(`删除失败,请重试`)}}})},style:{borderRadius:8,background:`linear-gradient(135deg, #bf0b0a 0%, #ff8165 100%)`,fontWeight:600,padding:`8px 24px`},disabled:He(v.videoUrl||v.imageUrl),children:`删除`}),(0,$.jsx)(X,{onClick:tt,style:{borderRadius:8,background:`#f8f9fc`,border:`1px solid #e2e8f0`,color:`#64748b`,fontWeight:600,padding:`8px 24px`},disabled:He(v.videoUrl||v.imageUrl),children:`推送媒体后台`})]}),style:{borderRadius:16,overflow:`hidden`},styles:{body:{height:500,display:`flex`,flexDirection:`column`,padding:0},header:{background:`#fff`,borderBottom:`1px solid #f1f5f9`,padding:`16px 24px`},mask:{backgroundColor:`rgba(0, 0, 0, 0.5)`}},children:(0,$.jsxs)(`div`,{style:{width:`100%`,display:`flex`,height:`100%`,background:`#f8fafc`},children:[(0,$.jsx)(`div`,{style:{width:`70%`,height:`100%`,display:`flex`,justifyContent:`center`,alignItems:`center`,padding:20},children:He(v.videoUrl||v.imageUrl)?(0,$.jsxs)(`div`,{style:{textAlign:`center`,padding:`40px`,backgroundColor:`#fff`,borderRadius:12},children:[(0,$.jsx)(`div`,{style:{fontSize:48,marginBottom:16},children:`⚠️`}),(0,$.jsx)(`p`,{style:{fontSize:15,color:`#ef4444`,fontWeight:500,marginBottom:8},children:`资源已过期`}),(0,$.jsx)(`p`,{style:{fontSize:13,color:`#94a3b8`},children:`请刷新页面重新加载`})]}):i===`video`?(0,$.jsx)(`video`,{ref:b,src:`http://ceshi.apiforeign.minzhong.cn${v.videoUrl}`,controls:!0,autoPlay:!0,style:{maxWidth:`100%`,maxHeight:`100%`,borderRadius:12,objectFit:`contain`}}):(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn/static${v.imageUrl}&w=300&q=50`,alt:`预览`,style:{maxWidth:`100%`,maxHeight:`100%`,objectFit:`contain`,borderRadius:12}})}),(0,$.jsxs)(`div`,{style:{width:`30%`,height:`100%`,overflowY:`auto`,scrollbarWidth:`none`,backgroundColor:`#fff`,padding:24,borderLeft:`1px solid #f1f5f9`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:20},children:[(0,$.jsx)(`div`,{style:{width:2,height:18,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:1}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:15,color:`#1e293b`,fontWeight:600},children:`文件信息`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:14},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`类型`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:i===`video`?`视频`:`图片`})]}),n===`hot_opening_replicate`&&(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,gap:4},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`类属`}),(0,$.jsxs)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:500,wordBreak:`break-all`,lineHeight:`1.5`},children:[`爆款复刻——`,v.moduleProjectTitle]})]}),n===`shot_replicate`&&(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,gap:4},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`类属`}),(0,$.jsxs)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:500,wordBreak:`break-all`,lineHeight:`1.5`},children:[v.shotReplicateProjectTitle,`— —`,v.shotSegmentLabel]})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:4},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`请求`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:500,wordBreak:`break-all`,lineHeight:`1.5`},children:v.originalPrompt})]}),i===`image`&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`比例`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:v.imageProportion})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`分辨率`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:v.imageSize})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`尺寸`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:v.imagePx})]})]}),i===`video`&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`比例`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:v.aspectRatio})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`分辨率`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:v.resolution})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`时长`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:`${v.duration}秒`||`-`})]})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`创建时间`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:F9(v.createdAt||v.generatedDate)})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`生成引擎`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:v.engine||v.engineName||`-`})]})]}),(0,$.jsx)(`div`,{style:{borderTop:`1px solid #f1f5f9`,margin:`20px 0`}}),v.mediaReferences&&v.mediaReferences.length>0&&![`hot_opening_replicate`,`shot_replicate`].includes(n)&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:16},children:[(0,$.jsx)(`div`,{style:{width:2,height:18,background:`linear-gradient(180deg, #3b82f6 0%, #60a5fa 100%)`,borderRadius:1}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:15,color:`#1e293b`,fontWeight:600},children:`依靠附件`})]}),v.mediaReferences.map((e,t)=>(0,$.jsxs)(`div`,{onClick:()=>{b.current&&b.current.pause();let t=`http://ceshi.apiforeign.minzhong.cn${e.url}`;window.open(t,`_blank`)},style:{display:`flex`,alignItems:`center`,gap:10,padding:`10px 12px`,borderRadius:8,cursor:`pointer`,backgroundColor:`#f8fafc`,marginBottom:8,transition:`all 0.25s ease`,border:`1px solid transparent`},onMouseEnter:e=>{let t=e.currentTarget;t.style.backgroundColor=`#e0f2fe`,t.style.borderColor=`#bae6fd`},onMouseLeave:e=>{let t=e.currentTarget;t.style.backgroundColor=`#f8fafc`,t.style.borderColor=`transparent`},children:[e.type===`image`?(0,$.jsx)(g8,{style:{color:`#3b82f6`,fontSize:16}}):(0,$.jsx)(H5,{style:{color:`#f59e0b`,fontSize:16}}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:500},children:e.name||`媒体${t+1}`})]},e.url))]})]})]})}),(0,$.jsx)(YK,{title:ze.size===1?`推送配置`:`批量推送配置`,open:E,onCancel:()=>{D(!1),k([[]]),j([``]),z([void 0]),V(new Map),U(``)},footer:null,width:900,mask:{closable:!1},children:(0,$.jsxs)(`div`,{style:{padding:`16px 0`},children:[(0,$.jsxs)(Q.Text,{strong:!0,style:{fontSize:14,color:`#475569`,marginBottom:8,display:`block`},children:[`选中素材 (`,ze.size,`个)`]}),(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:8,marginBottom:12,alignItems:`center`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#64748b`},children:`统一修改名称:`}),(0,$.jsx)(_G,{value:H,onChange:e=>U(e.target.value),placeholder:`输入名称后点击应用`,style:{flex:1,borderRadius:8},size:`small`}),(0,$.jsx)(X,{type:`primary`,size:`small`,onClick:()=>{H.trim()&&ze.size>0&&ut(Array.from(ze),H)},disabled:!H.trim()||ze.size===0,style:{borderRadius:8},children:`应用`})]}),(0,$.jsx)(`div`,{style:{maxHeight:300,overflow:`auto`,border:`1px solid #f0f0f0`,borderRadius:8,padding:12},children:(()=>{let e=new Map;return o.forEach(t=>{t.items.forEach(t=>{let n=Ke(t);e.set(n,t)})}),Array.from(ze).map(t=>{let n=e.get(t);return(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12,padding:`8px 0`,borderBottom:`1px solid #f5f5f5`},children:[(0,$.jsx)(`div`,{style:{width:60,height:40,borderRadius:4,backgroundColor:`#f5f5f5`,display:`flex`,alignItems:`center`,justifyContent:`center`,overflow:`hidden`,flexShrink:0},children:(()=>{let e=i===`video`?n?.videoCoverUrl:n?.imageUrl;if(!e)return(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:`预览`});let t=`http://ceshi.apiforeign.minzhong.cn`,r=e.startsWith(`/`)?e.slice(1):e;return(0,$.jsx)(`img`,{src:`${t.endsWith(`/`)?t.slice(0,-1):t}/static/${r}&w=300&q=50`,alt:``,style:{width:`100%`,height:`100%`,objectFit:`cover`}})})()}),(0,$.jsx)(`div`,{style:{flex:1,minWidth:0},children:(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#1e293b`},children:n?.fileName||`素材 ${n.id}`})}),(0,$.jsx)(_G,{value:B.has(t)?B.get(t):n?.fileName||``,onChange:e=>{let n=e.target.value,r=new Map(B);r.set(t,n),V(r)},onBlur:()=>{let e=B.get(t)||n?.fileName||``;e.trim()&<(t,e)},onKeyDown:e=>{if(e.key===`Enter`){let e=B.get(t)||n?.fileName||``;e.trim()&<(t,e)}},placeholder:`输入新名称`,style:{width:200,borderRadius:4},size:`small`})]},t)})})()})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16,marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(Q.Text,{style:{fontSize:14,color:`#475569`},children:`是否开启前测:`}),(0,$.jsx)(iw,{value:he,onChange:e=>{ge(e),e===`1`?F7().then(e=>{ve(e?.data?.id||``)}).catch(()=>{}):ve(``)},style:{width:120},options:[{value:`1`,label:`是`},{value:`2`,label:`否`}]})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(Q.Text,{style:{fontSize:14,color:`#475569`},children:`前测模板:`}),(0,$.jsx)(iw,{value:_e,onChange:e=>ve(e),style:{width:200},disabled:he!==`1`,loading:xe,placeholder:he===`1`?`选择前测模板`:`请先开启前测`,options:ye.map(e=>({value:e.id,label:e.name}))})]})]}),(0,$.jsx)(iR,{size:`small`,activeKey:q,onChange:e=>{oe(e),e===`history`&&rt()},items:[{key:`new`,label:`新增账户`},{key:`history`,label:`历史账户`}]}),q===`new`&&(0,$.jsxs)(`div`,{children:[R.map((e,t)=>(0,$.jsxs)(`div`,{style:{marginBottom:16,padding:12,border:`1px solid #e2e8f0`,borderRadius:8},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:8},children:[(0,$.jsxs)(Q.Text,{strong:!0,style:{fontSize:14,color:`#475569`},children:[`授权账户 `,t+1]}),R.length>1&&(0,$.jsx)(X,{type:`text`,danger:!0,onClick:()=>{let e=[...R],n=[...A],r=[...O],i=[...K];e.splice(t,1),n.splice(t,1),r.splice(t,1),i.splice(t,1),z(e),j(n),k(r),ae(i)},children:`删除`})]}),(0,$.jsx)(iw,{value:e,onChange:e=>{let n=[...R];n[t]=e,z(n)},placeholder:`点击选择授权账户`,style:{width:`100%`,marginBottom:12,borderRadius:8},popupRender:()=>(0,$.jsx)(`div`,{style:{padding:8,width:800,maxHeight:500,overflow:`auto`},children:(0,$.jsx)(v$,{dataSource:M,columns:[{title:`授权账户ID`,dataIndex:`accountId`,key:`accountId`,width:120},{title:`授权账户名称`,dataIndex:`accountName`,key:`accountName`,width:120},{title:`授权账户角色`,dataIndex:`accountRole`,key:`accountRole`,width:160,render:e=>({ADVERTISER:`客户`,CUSTOMER_ADMIN:`普通版工作台-管理员`,CUSTOMER_OPERATOR:`普通版工作台-协作者`,AGENT:`代理商`,CHILD_AGENT:`二级代理商`,PLATFORM_ROLE_STAR:`星图账户`,PLATFORM_ROLE_SHOP_ACCOUNT:`抖音店铺账户`,PLATFORM_ROLE_QIANCHUAN_AGENT:`千川代理商`,PLATFORM_ROLE_STAR_AGENT:`星图代理商`,PLATFORM_ROLE_AWEME:`抖音号`,PLATFORM_ROLE_STAR_MCN:`星图MCN机构`,PLATFORM_ROLE_STAR_ISV:`星图服务商`,AGENT_SYSTEM_ACCOUNT:`代理商系统账户`,PLATFORM_ROLE_LOCAL_AGENT:`本地推代理商`,PLATFORM_ROLE_YUNTU_BRAND_ISV_ADMIN:`云图品牌服务商管理员`,PLATFORM_ROLE_LIFE:`抖音来客账户`,PLATFORM_ROLE_ENTERPRISE_BP_ADMIN:`升级版工作台管理员`,PLATFORM_ROLE_ENTERPRISE_BP_OPERATOR:`升级版工作台协作者`})[e]||e},{title:`授权账户用户名`,dataIndex:`accountUsername`,key:`accountUsername`,width:120,render:e=>(0,$.jsx)(`span`,{style:{color:e?`#1e293b`:`#94a3b8`},children:e||`-`})},{title:`授权用户ID`,dataIndex:`accountUserid`,key:`accountUserid`,width:120}],loading:P,pagination:{current:ne,pageSize:G,total:I,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{re(e),ie(t),nt(e,t)}},rowKey:`id`,size:`small`,scroll:{x:`max-content`},onRow:n=>({onClick:()=>{let e=String(n.id),r=[...R];r[t]={value:e,label:String(n.accountId)+`-`+(n.accountName||`-`)},z(r);let i=[...K];i[t]=!1,ae(i)},style:{cursor:`pointer`,backgroundColor:e?.value===String(n.id)?`#e6f7ff`:void 0}})})}),open:K[t],onOpenChange:e=>{let n=[...K];n[t]=e,ae(n),e&&nt(1,G)},labelInValue:!0,fieldNames:{label:`accountUserid`,value:`id`}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#475569`,marginBottom:8,display:`block`},children:`粘贴账户ID(每行一个或用逗号分隔)`}),(0,$.jsx)(_G.TextArea,{value:A[t],onChange:e=>{let n=e.target.value,r=[...A];r[t]=n,j(r);let i=n.split(/[\n,]/).map(e=>e.trim()).filter(e=>e.length>0),a=[...new Set(i)].map(e=>({accountId:e})),o=new Set,s=a.filter(e=>o.has(e.accountId)?!1:(o.add(e.accountId),!0)),c=[...O];c[t]=s,k(c)},placeholder:`粘贴账户ID,每行一个或用逗号分隔,例如:\r + `})]}):e===`failed`?(0,$.jsx)(`span`,{style:{fontSize:11,color:`#ef4444`},children:`失败`}):e===`completed`&&t.finalVideoUrl?(0,$.jsx)(`span`,{style:{fontSize:11,color:`#10b981`},children:`任务完成`}):null})()]})]})]},t.id))}),(0,$.jsx)(`div`,{style:{paddingTop:20,paddingBottom:20,display:`flex`,justifyContent:`center`},children:(0,$.jsx)(QG,{current:p,pageSize:h,total:_,onChange:U,showSizeChanger:!1,showQuickJumper:!1,showTotal:e=>`共 ${e} 条`,itemRender:(e,t,n)=>t===`prev`?(0,$.jsx)(`button`,{style:{minWidth:32,height:32,border:`1px solid #e5e7eb`,borderRadius:6,background:p===1?`#f9fafb`:`#fff`,cursor:p===1?`not-allowed`:`pointer`,color:p===1?`#d1d5db`:`#6b7280`,fontSize:14},disabled:p===1,children:`‹`}):t===`next`?(0,$.jsx)(`button`,{style:{minWidth:32,height:32,border:`1px solid #e5e7eb`,borderRadius:6,background:p>=Math.ceil(_/h)?`#f9fafb`:`#fff`,cursor:p>=Math.ceil(_/h)?`not-allowed`:`pointer`,color:p>=Math.ceil(_/h)?`#d1d5db`:`#6b7280`,fontSize:14},disabled:p>=Math.ceil(_/h),children:`›`}):t===`page`?(0,$.jsx)(`button`,{style:{minWidth:32,height:32,border:`none`,borderRadius:6,background:e===p?`#6366f1`:`#fff`,color:e===p?`#fff`:`#374151`,fontWeight:e===p?500:400,cursor:`pointer`,fontSize:14},children:e}):n})})]}):(0,$.jsxs)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,padding:`40px`},children:[(0,$.jsxs)(`div`,{style:{width:120,height:120,display:`flex`,alignItems:`center`,justifyContent:`center`,marginBottom:24,position:`relative`},children:[(0,$.jsx)(`div`,{style:{width:60,height:60,background:`linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%)`,borderRadius:20,position:`absolute`,bottom:0,right:10}}),(0,$.jsx)(`div`,{style:{width:50,height:50,border:`2px solid rgba(99, 102, 241, 0.2)`,borderRadius:16,position:`absolute`,top:0,left:10}}),(0,$.jsx)(`div`,{style:{width:56,height:56,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:18,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 8px 24px rgba(99, 102, 241, 0.25)`},children:(0,$.jsx)(R5,{style:{fontSize:28,color:`#fff`}})})]}),(0,$.jsx)(`h3`,{style:{margin:0,fontSize:16,fontWeight:600,color:`#1e293b`,marginBottom:8},children:`暂无生成内容`}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:13,color:`#64748b`,textAlign:`center`,padding:`0 40px`,lineHeight:1.6},children:`请完善素材与卖点,生成专属爆款复刻视频`})]})})]}),(0,$.jsx)(`div`,{className:`replication-form`,style:{flex:1,overflow:`auto`,width:`28%`,background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(20px)`,borderRadius:20,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`,position:`relative`,zIndex:10},children:(0,$.jsxs)(`div`,{className:`replication-form-content`,style:{width:`100%`,height:`100%`,background:`rgba(248, 250, 252, 0.5)`,padding:24,overflowY:`auto`},children:[(0,$.jsxs)(`div`,{style:{marginBottom:20},children:[(0,$.jsx)(`p`,{style:{margin:0,fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10},children:`上传复刻视频`}),O?(0,$.jsxs)(`div`,{style:{position:`relative`},children:[(0,$.jsx)(`video`,{src:O,controls:!0,style:{width:`100%`,borderRadius:12,maxHeight:200,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.08)`}}),(0,$.jsx)(`button`,{onClick:()=>{O&&URL.revokeObjectURL(O),D(null),k(``)},style:{position:`absolute`,top:8,right:8,width:28,height:28,border:`none`,background:`rgba(239, 68, 68, 0.9)`,borderRadius:`50%`,cursor:`pointer`,color:`#fff`,fontSize:16,display:`flex`,alignItems:`center`,justifyContent:`center`,zIndex:10,transition:`all 0.2s`},children:`×`}),(0,$.jsxs)(`div`,{style:{marginTop:10,display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(R5,{style:{color:`#6366f1`,fontSize:14}}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#475569`},children:E?.name}),(0,$.jsxs)(`span`,{style:{fontSize:11,color:`#94a3b8`},children:[`(`,E?.size?(E.size/1024/1024).toFixed(2):0,`MB)`]})]})]}):(0,$.jsx)(Y0,{style:{width:`100%`},beforeUpload:async e=>{if(!e.type.startsWith(`video/`))return Z.error(`只能上传视频文件`),!1;if(!(e.size/1024/1024<50))return Z.error(`视频大小不能超过50MB`),!1;let t=document.createElement(`video`);return t.preload=`metadata`,new Promise(n=>{t.onloadedmetadata=async()=>{if(t.duration<2){Z.error(`视频时长不能少于2秒`),URL.revokeObjectURL(t.src),n(!1);return}if(t.duration>=16){Z.error(`视频时长不能超过15秒`),URL.revokeObjectURL(t.src),n(!1);return}F(!0);try{let t=await l7(e);D(e),k(`http://ceshi.apiforeign.minzhong.cn${t.url}`),Z.success(`视频上传成功`),n(!1)}catch(e){let t=``;if(e instanceof Error)try{t=JSON.parse(e.message).detail||e.message}catch{t=e.message}Z.error(t||`视频上传失败`),n(!1)}finally{F(!1),URL.revokeObjectURL(t.src)}},t.onerror=()=>{Z.error(`视频文件无效`),URL.revokeObjectURL(t.src),n(!1)},t.src=URL.createObjectURL(e)})},showUploadList:!1,accept:`video/mp4,video/quicktime,.mp4,.mov`,children:(0,$.jsx)(`div`,{style:{border:`2px dashed rgba(99, 102, 241, 0.3)`,borderRadius:12,padding:24,textAlign:`center`,cursor:`pointer`,transition:`all 0.25s cubic-bezier(0.4, 0, 0.2, 1)`,background:`rgba(99, 102, 241, 0.02)`},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#6366f1`,e.currentTarget.style.background=`rgba(99, 102, 241, 0.05)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(99, 102, 241, 0.3)`,e.currentTarget.style.background=`rgba(99, 102, 241, 0.02)`},children:P?(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{width:40,height:40,margin:`0 auto 12px`,border:`3px solid rgba(99, 102, 241, 0.2)`,borderTopColor:`#6366f1`,borderRadius:`50%`,animation:`spin 1s linear infinite`}}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:13,color:`#6366f1`,fontWeight:500},children:`上传中...`}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:11,color:`#94a3b8`,marginTop:4},children:`支持的文件类型:MP4、MOV | 视频最大时长:15 秒 | 最大大小:50M`})]}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{width:48,height:48,margin:`0 auto 12px`,background:`linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%)`,borderRadius:16,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(R5,{style:{fontSize:24,color:`#6366f1`}})}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:13,color:`#475569`,fontWeight:500},children:`点击或拖拽上传视频`}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:11,color:`#94a3b8`,marginTop:4},children:`支持的文件类型:MP4、MOV | 视频最大时长:15 秒 | 最大大小:50M`})]})})})]}),(0,$.jsxs)(`div`,{style:{marginBottom:20},children:[(0,$.jsx)(`p`,{style:{margin:0,fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10},children:`上传产品图片`}),M?(0,$.jsxs)(`div`,{style:{position:`relative`},children:[(0,$.jsx)(`img`,{src:M,alt:`产品图片`,style:{width:`100%`,borderRadius:12,maxHeight:200,objectFit:`contain`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.08)`}}),(0,$.jsx)(`button`,{onClick:()=>{M&&URL.revokeObjectURL(M),j(null),N(``)},style:{position:`absolute`,top:8,right:8,width:28,height:28,border:`none`,background:`rgba(239, 68, 68, 0.9)`,borderRadius:`50%`,cursor:`pointer`,color:`#fff`,fontSize:16,display:`flex`,alignItems:`center`,justifyContent:`center`,zIndex:10,transition:`all 0.2s`},children:`×`}),(0,$.jsxs)(`div`,{style:{marginTop:10,display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(m8,{style:{color:`#6366f1`,fontSize:14}}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#475569`},children:A?.name}),(0,$.jsxs)(`span`,{style:{fontSize:11,color:`#94a3b8`},children:[`(`,A?.size?(A.size/1024/1024).toFixed(2):0,`MB)`]})]})]}):(0,$.jsx)(Y0,{style:{width:`100%`},beforeUpload:async e=>{if(!e.type.startsWith(`image/`))return Z.error(`只能上传图片文件`),!1;if(!(e.size/1024/1024<10))return Z.error(`图片大小不能超过10MB`),!1;let t=new Image;return new Promise(n=>{t.onload=async()=>{let r=t.width/t.height;Math.abs(r-.75)<.1||Math.abs(r-.5625),L(!0);try{let t=await c7(e);j(e),N(`http://ceshi.apiforeign.minzhong.cn${t.url}`),Z.success(`图片上传成功`),n(!1)}catch(e){let t=``;if(e instanceof Error)try{t=JSON.parse(e.message).detail||e.message}catch{t=e.message}Z.error(t||`图片上传失败`),n(!1)}finally{L(!1),URL.revokeObjectURL(t.src)}},t.onerror=()=>{Z.error(`图片文件无效`),URL.revokeObjectURL(t.src),n(!1)},t.src=URL.createObjectURL(e)})},showUploadList:!1,accept:`image/jpeg,image/jpg,image/png,.jpg,.jpeg,.png`,children:(0,$.jsx)(`div`,{style:{border:`2px dashed rgba(99, 102, 241, 0.3)`,borderRadius:12,padding:20,textAlign:`center`,cursor:`pointer`,transition:`all 0.25s cubic-bezier(0.4, 0, 0.2, 1)`,background:`rgba(99, 102, 241, 0.02)`},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#6366f1`,e.currentTarget.style.background=`rgba(99, 102, 241, 0.05)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(99, 102, 241, 0.3)`,e.currentTarget.style.background=`rgba(99, 102, 241, 0.02)`},children:I?(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{width:36,height:36,margin:`0 auto 10px`,border:`3px solid rgba(99, 102, 241, 0.2)`,borderTopColor:`#6366f1`,borderRadius:`50%`,animation:`spin 1s linear infinite`}}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:13,color:`#6366f1`,fontWeight:500},children:`上传中...`}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:11,color:`#94a3b8`,marginTop:4},children:`支持 JPG, JPEG, PNG 格式,图片比例为 3:4 或 9:16 效果最佳`})]}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{width:44,height:44,margin:`0 auto 10px`,background:`linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%)`,borderRadius:14,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(m8,{style:{fontSize:22,color:`#6366f1`}})}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:13,color:`#475569`,fontWeight:500},children:`+ 点击上传`}),(0,$.jsx)(`p`,{style:{margin:0,fontSize:11,color:`#94a3b8`,marginTop:4},children:`支持 JPG, JPEG, PNG 格式,图片比例为 3:4 或 9:16 效果最佳`})]})})})]}),(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(`p`,{style:{margin:0,fontSize:13,fontWeight:500,color:`#475569`,marginBottom:8},children:`原视频产品名称`}),(0,$.jsx)(fG,{value:y,onChange:e=>b(e.target.value),placeholder:`请输入原视频产品名称`,style:{borderRadius:10,height:40,fontSize:13,border:`1px solid rgba(99, 102, 241, 0.15)`,background:`rgba(255,255,255,0.8)`},maxLength:10,suffix:(0,$.jsxs)(`span`,{style:{color:`#94a3b8`,fontSize:12},children:[y.length,`/10`]})})]}),(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(`p`,{style:{margin:0,fontSize:13,fontWeight:500,color:`#475569`,marginBottom:8},children:`自有产品名称`}),(0,$.jsx)(fG,{value:x,onChange:e=>C(e.target.value),placeholder:`请输入自有产品名称`,style:{borderRadius:10,height:40,fontSize:13,border:`1px solid rgba(99, 102, 241, 0.15)`,background:`rgba(255,255,255,0.8)`},maxLength:10,suffix:(0,$.jsxs)(`span`,{style:{color:`#94a3b8`,fontSize:12},children:[x.length,`/10`]})})]}),(0,$.jsxs)(`div`,{style:{marginBottom:24},children:[(0,$.jsx)(`p`,{style:{margin:0,fontSize:13,fontWeight:500,color:`#475569`,marginBottom:8},children:`产品卖点`}),(0,$.jsxs)(`div`,{style:{position:`relative`},children:[(0,$.jsx)(Cae,{value:w,onChange:e=>T(e.target.value),placeholder:`请输入产品卖点`,style:{borderRadius:10,fontSize:13,height:80,resize:`none`,border:`1px solid rgba(99, 102, 241, 0.15)`,background:`rgba(255,255,255,0.8)`},rows:3,maxLength:30}),(0,$.jsxs)(`span`,{style:{position:`absolute`,right:10,bottom:8,color:`#94a3b8`,fontSize:12},children:[w.length,`/30`]})]})]}),(0,$.jsx)(X,{type:`primary`,block:!0,size:`large`,onClick:()=>{if(!O){Z.warning(`请上传复刻视频`);return}if(!M){Z.warning(`请上传产品图片`);return}if(!y.trim()){Z.warning(`请输入原视频产品名称`);return}if(!x.trim()){Z.warning(`请输入自有产品名称`);return}if(!w.trim()){Z.warning(`请输入产品卖点`);return}Vre({material_video_url:O,material_image_url:M,source_project_name:y,target_project_name:x,core_content_point:w,idempotency_key:Date.now().toString()}).then(t=>{let r=``,i=``;k(``),N(``),b(``),C(``),T(``),H(1,8),C7(1,20).then(t=>{if(t.items){let a=t.items[0].id;n(t.items),w7(t.items[0].id).then(t=>{r=t.id,i=t.steps[0].id,Hre(r,i).then(t=>{Z.loading(`创建中...`,3),setTimeout(()=>{e(`/initial/${a}/initialinfo`)},3e3)})}).catch(e=>{})}}).catch(e=>{})}).catch(e=>{Z.error(`视频开头复刻失败`)})},style:{borderRadius:12,height:44,fontWeight:600,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%)`,border:`none`,fontSize:15,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.3)`,transition:`all 0.25s cubic-bezier(0.4, 0, 0.2, 1)`},children:`立即生成+`})]})}),(0,$.jsxs)(WK,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`创作记录`})]}),open:R,onCancel:()=>z(!1),width:850,footer:null,style:{borderRadius:20},styles:{body:{height:580,display:`flex`,flexDirection:`column`,padding:0},header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,padding:`16px 24px`}},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,margin:`16px 24px`,flexShrink:0},children:[(0,$.jsx)(fG,{placeholder:`搜索产品名称`,value:l,onChange:e=>u(e.target.value),onPressEnter:te,style:{width:220,borderRadius:10,marginRight:10,border:`1px solid rgba(99, 102, 241, 0.15)`,background:`rgba(255,255,255,0.8)`}}),(0,$.jsx)(X,{type:`primary`,onClick:te,style:{borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`},children:`搜索`})]}),(0,$.jsx)(`div`,{style:{flex:1,overflow:`auto`,padding:`0 24px 24px`},children:(0,$.jsx)(`div`,{style:{background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(10px)`,borderRadius:16,overflow:`hidden`,border:`1px solid rgba(99, 102, 241, 0.08)`,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.06)`},children:(0,$.jsx)(p$,{columns:[{title:`产品名称`,dataIndex:`targetProjectName`,key:`targetProjectName`,align:`center`,width:200,render:e=>(0,$.jsx)(`span`,{style:{fontSize:13,color:`#1e293b`,fontWeight:500},children:e||`-`})},{title:`状态`,dataIndex:`status`,key:`status`,align:`center`,width:220,render:(e,t)=>{let n=e,r=t.current_step_code||t.currentStepCode,i=(()=>{if(r===`image_prompt_optimize`)switch(n){case`waiting_user`:return{text:`等待融合图生成`,color:`#f59e0b`};case`processing`:return{text:`图片提示词生成中`,color:`#f59e0b`};case`completed`:return{text:`图片提示词生成成功`,color:`#10b981`};case`failed`:return{text:`图片提示词生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#64748b`}}else if(r===`image_generate`)switch(n){case`waiting_user`:return{text:`等待生成视频提示词`,color:`#f59e0b`};case`processing`:return{text:`融合图生成中`,color:`#f59e0b`};case`completed`:return{text:`融合图生成成功`,color:`#10b981`};case`failed`:return{text:`融合图生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#64748b`}}else if(r===`video_prompt_optimize`)switch(n){case`waiting_user`:return{text:`等待最终视频生成`,color:`#f59e0b`};case`processing`:return{text:`视频提示词生成中`,color:`#f59e0b`};case`completed`:return{text:`视频提示词生成成功`,color:`#10b981`};case`failed`:return{text:`视频提示词生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#64748b`}}else if(r===`video_generate`)switch(n){case`waiting_user`:return{text:``,color:`#64748b`};case`processing`:return{text:`最终视频生成中`,color:`#f59e0b`};case`completed`:return{text:`任务完成`,color:`#10b981`};case`failed`:return{text:`最终视频生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#64748b`}}else if(r===`material_input`)switch(n){case`waiting_user`:return{text:`等待生成图片提示词`,color:`#f59e0b`};case`processing`:return{text:`素材处理中`,color:`#f59e0b`};case`completed`:return{text:`素材上传成功`,color:`#10b981`};case`failed`:return{text:`素材上传失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#64748b`}}else return{pending:{text:`子任务待处理`,color:`#f59e0b`},waiting_user:{text:`等待用户确认或触发`,color:`#f59e0b`},processing:{text:`子任务处理中`,color:`#f59e0b`},completed:{text:`子任务完成`,color:`#10b981`},failed:{text:`子任务失败`,color:`#ef4444`},cancelled:{text:`子任务取消`,color:`#94a3b8`}}[n]||{text:n||`-`,color:`#64748b`}})();return(0,$.jsx)(`span`,{style:{fontSize:12,color:i.color,fontWeight:500},children:i.text})}},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,align:`center`,width:200,render:e=>{if(!e)return`-`;let t=new Date(e);return(0,$.jsx)(`span`,{style:{fontSize:12,color:`#64748b`},children:`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`})}},{title:`操作`,key:`action`,align:`center`,width:120,render:(t,n)=>(0,$.jsx)(`button`,{onClick:()=>e(`/initial/${n.id}/initialinfo`),style:{color:`#6366f1`,textDecoration:`none`,fontSize:13,border:`none`,background:`rgba(99, 102, 241, 0.08)`,padding:`4px 12px`,borderRadius:8,cursor:`pointer`,transition:`all 0.2s`},children:`查看详情`})}],dataSource:t,rowKey:`id`,pagination:{current:r,pageSize:a,total:s,showSizeChanger:!0,showQuickJumper:!0,showTotal:e=>`共 ${e} 条`,onChange:ee,itemRender:(e,t,n)=>t===`prev`?(0,$.jsx)(`button`,{style:{minWidth:32,height:32,border:`1px solid rgba(99, 102, 241, 0.15)`,borderRadius:8,background:r===1?`rgba(243, 244, 246, 0.5)`:`#fff`,cursor:r===1?`not-allowed`:`pointer`,color:r===1?`#94a3b8`:`#6366f1`,fontSize:14},disabled:r===1,children:`‹`}):t===`next`?(0,$.jsx)(`button`,{style:{minWidth:32,height:32,border:`1px solid rgba(99, 102, 241, 0.15)`,borderRadius:8,background:r>=Math.ceil(s/a)?`rgba(243, 244, 246, 0.5)`:`#fff`,cursor:r>=Math.ceil(s/a)?`not-allowed`:`pointer`,color:r>=Math.ceil(s/a)?`#94a3b8`:`#6366f1`,fontSize:14},disabled:r>=Math.ceil(s/a),children:`›`}):t===`page`?(0,$.jsx)(`button`,{style:{minWidth:32,height:32,border:`none`,borderRadius:8,background:e===r?`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`:`#fff`,color:e===r?`#fff`:`#475569`,fontWeight:e===r?600:400,cursor:`pointer`,fontSize:14},children:e}):n},style:{fontSize:13},scroll:{y:350}})})})]})]})};function l9(e){return!!e&&typeof e==`object`&&!Array.isArray(e)}function u9(e,...t){for(let n of t){let t=e[n];if(t!=null&&String(t).trim()!==``)return String(t)}return``}function d9(e,t,...n){for(let t of n){let n=e[t];if(n===!0||n===!1)return n;if(n===`true`)return!0;if(n===`false`)return!1}return t}function Tae(e,...t){for(let n of t){let t=e[n];if(typeof t==`number`&&Number.isFinite(t)&&t>0)return t;if(typeof t==`string`&&t.trim()){let e=Number(t);if(Number.isFinite(e)&&e>0)return e}}}function f9(e){if(!l9(e))return null;let t=u9(e,`key`);return t?{key:t,label:u9(e,`label`)||t,type:u9(e,`type`)||void 0,enabled:d9(e,!0,`enabled`),editable:d9(e,!0,`editable`),maxLength:Tae(e,`maxLength`,`max_length`)}:null}function p9(e){if(!l9(e))return null;let t=e.data;return l9(t)?t:Array.isArray(e.sections)?e:null}function Eae(e){return!!p9(e)}function m9(e){let t=p9(e);return(Array.isArray(t?.sections)?t.sections:[]).map(e=>{let t=f9(e);if(!t||!l9(e))return null;let n=Array.isArray(e.children)?e.children.map(f9).filter(Boolean):[],r=Array.isArray(e.itemFields)?e.itemFields.map(f9).filter(Boolean):Array.isArray(e.item_fields)?e.item_fields.map(f9).filter(Boolean):[];return{...t,contentKey:u9(e,`contentKey`,`content_key`)||void 0,children:n,itemFields:r}}).filter(e=>!!e&&e.enabled)}function h9(e){if(e==null)return``;if(typeof e==`object`)try{return JSON.stringify(e,null,2)}catch{return String(e)}return String(e)}function g9(e){let t=h9(e);return t.length>40||t.includes(` +`)||t.includes(`,`)||t.includes(`。`)||t.includes(`;`)||t.includes(`;`)}function _9(e){return e===void 0?e:JSON.parse(JSON.stringify(e))}function v9(e,t,n,r){let i=_9(e||{});return l9(i[t])||(i[t]={}),i[t][n]=r,i}function y9(e,t,n,r,i){let a=_9(e||{});return Array.isArray(a[t])||(a[t]=[]),l9(a[t][n])||(a[t][n]={}),a[t][n][r]=i,a}function b9(e,t){if(!l9(e))return`视频提示词不能为空`;let n=m9(t);if(!n.length)return`视频提词配置缺失,无法保存`;for(let t of n){if(!t.editable)continue;let n=e[t.key];if(t.type===`object`){if(!l9(n))continue;for(let e of t.children)if(!(!e.enabled||!e.editable||!e.maxLength)&&h9(n[e.key]).length>e.maxLength)return`字段【${t.label}.${e.label}】长度不能超过 ${e.maxLength} 个字符`;continue}if(t.type===`flow`){if(!Array.isArray(n))continue;for(let e=0;en.maxLength)return`字段【${t.label} 第 ${e+1} 项.${n.label}】长度不能超过 ${n.maxLength} 个字符`}}continue}if(t.editable&&t.maxLength&&h9(n).length>t.maxLength)return`字段【${t.label}】长度不能超过 ${t.maxLength} 个字符`}return null}var{Text:x9}=Q,{TextArea:S9}=fG;function C9(e){return!!e&&typeof e==`object`&&!Array.isArray(e)}function w9({value:e}){let t=e===`true`?`是`:e===`false`?`否`:h9(e);return g9(e)?(0,$.jsx)(S9,{value:t,rows:Math.min(6,Math.max(2,Math.ceil(t.length/42))),disabled:!0,style:{borderRadius:8,color:`#64748b`}}):(0,$.jsx)(fG,{value:t,disabled:!0,style:{borderRadius:8,color:`#64748b`}})}function T9({value:e,maxLength:t,onChange:n}){let r=h9(e),i={value:r,maxLength:t,showCount:!!t,onChange:e=>n(e.target.value),style:{borderRadius:8}};return g9(e)?(0,$.jsx)(S9,{...i,rows:Math.min(8,Math.max(3,Math.ceil(r.length/42)))}):(0,$.jsx)(fG,{...i})}function E9({value:e,onChange:t}){let n=e===!0||e===`true`;return(0,$.jsxs)(sL.Group,{value:n,onChange:e=>t(e.target.value),style:{display:`flex`,gap:24},children:[(0,$.jsx)(sL,{value:!0,style:{fontSize:14,color:`#475569`},children:`是`}),(0,$.jsx)(sL,{value:!1,style:{fontSize:14,color:`#475569`},children:`否`})]})}var D9=({value:e,schemaConfigSnapshot:t,onChange:n})=>{let r=C9(e)?e:{},i=m9(t);if(!Eae(t))return(0,$.jsxs)(LH,{direction:`vertical`,size:12,style:{width:`100%`},children:[(0,$.jsx)(Jf,{type:`warning`,showIcon:!0,message:`视频提词配置缺失,暂不能编辑`,description:`请刷新详情后重试;如果仍然缺失,请联系管理员排查第4步 schema_config_snapshot 返回。`}),Object.keys(r).length?(0,$.jsx)(`pre`,{style:{margin:0,padding:12,borderRadius:10,background:`#f8fafc`,maxHeight:420,overflow:`auto`,color:`#475569`},children:JSON.stringify(r,null,2)}):null]});if(!i.length)return(0,$.jsx)(Jf,{type:`warning`,showIcon:!0,message:`视频提词配置为空`,description:`当前 Schema 配置没有可展示字段。`});let a=e=>{let t=C9(r[e.key])?r[e.key]:{},i=e.children.filter(e=>e.enabled);return i.length?(0,$.jsxs)(`div`,{style:{marginBottom:18},children:[(0,$.jsx)(LH,{style:{marginBottom:8},children:(0,$.jsx)(x9,{strong:!0,style:{color:`#334155`,fontSize:13},children:e.label})}),(0,$.jsx)(`div`,{style:{borderLeft:`3px solid #6366f1`,paddingLeft:12,marginLeft:4},children:i.map(i=>(0,$.jsxs)(`div`,{style:{marginBottom:12},children:[(0,$.jsx)(LH,{style:{marginBottom:4},children:(0,$.jsx)(x9,{style:{color:`#64748b`,fontSize:12},children:i.label})}),i.editable?i.type===`boolean`?(0,$.jsx)(E9,{value:t[i.key],onChange:t=>n(v9(r,e.key,i.key,t))}):(0,$.jsx)(T9,{value:t[i.key],maxLength:i.maxLength,onChange:t=>n(v9(r,e.key,i.key,t))}):(0,$.jsx)(w9,{value:t[i.key]})]},i.key))})]},e.key):null},o=e=>{let t=Array.isArray(r[e.key])?r[e.key]:[],i=[{key:`时间段`,label:`时间段`,enabled:!0,editable:!1},...e.itemFields.filter(e=>e.enabled)];return(0,$.jsxs)(`div`,{style:{marginBottom:18},children:[(0,$.jsxs)(LH,{style:{marginBottom:8},children:[(0,$.jsx)(x9,{strong:!0,style:{color:`#334155`,fontSize:13},children:e.label}),(0,$.jsx)(E$,{color:`default`,children:`锁定条目和时间段`})]}),(0,$.jsx)(`div`,{style:{border:`1px solid #e5e7eb`,borderRadius:10,padding:12,background:`#fff`},children:t.length===0?(0,$.jsx)(x9,{style:{color:`#94a3b8`,fontSize:12},children:`暂无内容`}):t.map((a,o)=>{let s=C9(a)?a:{};return(0,$.jsxs)(`div`,{style:{marginBottom:o===t.length-1?0:14,paddingBottom:o===t.length-1?0:14,borderBottom:o===t.length-1?`none`:`1px dashed #e2e8f0`},children:[(0,$.jsxs)(x9,{strong:!0,style:{display:`block`,marginBottom:8,color:`#475569`,fontSize:12},children:[`第 `,o+1,` 段`]}),i.map(t=>(0,$.jsxs)(`div`,{style:{marginBottom:10},children:[(0,$.jsx)(LH,{style:{marginBottom:4},children:(0,$.jsx)(x9,{style:{color:`#64748b`,fontSize:12},children:t.label})}),t.editable?t.type===`boolean`?(0,$.jsx)(E9,{value:s[t.key],onChange:i=>n(y9(r,e.key,o,t.key,i))}):(0,$.jsx)(T9,{value:s[t.key],maxLength:t.maxLength,onChange:i=>n(y9(r,e.key,o,t.key,i))}):(0,$.jsx)(w9,{value:s[t.key]})]},t.key))]},`${e.key}-${o}`)})})]},e.key)},s=e=>e.key in r?(0,$.jsxs)(`div`,{style:{marginBottom:18},children:[(0,$.jsx)(LH,{style:{marginBottom:8},children:(0,$.jsx)(x9,{strong:!0,style:{color:`#334155`,fontSize:13},children:e.label})}),e.editable?(0,$.jsx)(T9,{value:r[e.key],maxLength:e.maxLength,onChange:t=>{let i=_9(r);i[e.key]=t,n(i)}}):(0,$.jsx)(w9,{value:r[e.key]})]},e.key):null;return(0,$.jsx)(`div`,{children:i.map(e=>e.key in r?e.type===`object`?a(e):e.type===`flow`?o(e):s(e):null)})},{Title:Dae,Text:O9}=Q,{TextArea:Oae}=fG;function kae(e){return e===void 0?e:JSON.parse(JSON.stringify(e))}function Aae(){let e=Ye(),{creatID:t}=$e(),[n,r]=(0,S.useState)(!1),[i,a]=(0,S.useState)(``),[o,s]=(0,S.useState)(!1),[c,l]=(0,S.useState)(`image`),[u,d]=(0,S.useState)({}),[f,p]=(0,S.useState)(null),[m,h]=(0,S.useState)(``),[g,_]=(0,S.useState)(!1),[v,y]=(0,S.useState)(null),[b,x]=(0,S.useState)({}),[C,w]=(0,S.useState)(``),[T,E]=(0,S.useState)(``),[D,O]=(0,S.useState)(!1),[k,A]=(0,S.useState)(!1),[j,M]=(0,S.useState)(5),[N,P]=(0,S.useState)(`16:9`),[F,I]=(0,S.useState)(`480p`),[L,R]=(0,S.useState)({ratios:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:[`480p`,`720p`,`1080p`],durations:[5,8,10,12,15]}),[z,B]=(0,S.useState)([]),[V,H]=(0,S.useState)(1),[U,W]=(0,S.useState)(20),[ee,te]=(0,S.useState)(0),[ne,re]=(0,S.useState)(``),[G,ie]=(0,S.useState)({}),[K,ae]=(0,S.useState)([]),[q,oe]=(0,S.useState)([]),[se,ce]=(0,S.useState)(!1),[le,ue]=(0,S.useState)(``),[de,fe]=(0,S.useState)(`image`),pe=S.useRef(null);(0,S.useEffect)(()=>{if(se&&de===`video`){let e=()=>{pe.current&&pe.current.play().catch(()=>{})};pe.current&&(pe.current.readyState>=2?e():pe.current.addEventListener(`loadedmetadata`,e));let t=setTimeout(e,300);return()=>{clearTimeout(t),pe.current&&(pe.current.removeEventListener(`loadedmetadata`,e),pe.current.pause())}}else pe.current&&pe.current.pause()},[se,de]);let me=(e,t)=>{console.log(e,t),ue(e),fe(t),ce(!0)},he=()=>{ce(!1),ue(``),pe.current&&pe.current.pause()},ge=e=>{if(e.preventDefault(),e.stopPropagation(),!le)return;let t=document.createElement(`a`);t.href=`http://ceshi.apiforeign.minzhong.cn${le}&download=1`,t.download=de===`image`?`image.png`:`video.mp4`,document.body.appendChild(t),t.click(),document.body.removeChild(t)},_e=[{id:1,title:`原始素材`,description:`上传原始视频素材`,childId:1},{id:2,title:`生成提示词`,description:`根据素材生成描述词`,childId:2},{id:3,title:`生成产品融合图`,description:`生成产品与场景融合图`,childId:3},{id:4,title:`生成视频提示词`,description:`生成视频生成提示词`,childId:4},{id:5,title:`生成最终视频`,description:`合成最终视频`,childId:5}].map((e,t)=>({...e,status:K[t]?.status||``,id:K[t]?.id||t,output:K[t]?.output||``,engineId:K[t]?.input?.payload?.videoConfig?.engineId||``}));(0,S.useEffect)(()=>{let e=new Set;q.forEach(t=>{let n=_e.find(e=>String(e.childId)===t);n&&(n.status===`completed`||n.status===`failed`)&&e.add(t)});for(let t=_e.length-1;t>=0;t--)if(_e[t].status===`completed`||_e[t].status===`failed`){e.add(String(_e[t].childId));break}e.size>0?oe(Array.from(e)):oe([])},[K]);let ve=(e,t,n)=>{C7(e,t,n).then(e=>{e.items&&B(e.items),e.total!==void 0&&te(e.total)}).catch(e=>{})},ye=(e,t)=>{H(e),W(t),ve(e,t,ne)},be=()=>{H(1),ve(1,U,ne)};(0,S.useEffect)(()=>{ve(V,U)},[]),(0,S.useEffect)(()=>{b7().then(e=>{if(x(e.engine||{}),e.engine?.video&&e.engine.video.length>0){w(e.engine.video[0].id);let t=e.engine.video[0];R({ratios:t.supportedRatios||[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:t.supportedResolutions||[`480p`,`720p`,`1080p`],durations:t.supportedDurations||[5,8,10,12,15]})}e.engine?.image&&e.engine.image.length>0&&E(e.engine.image[0].id)}).catch(e=>{})},[]),(0,S.useEffect)(()=>()=>{v&&(clearInterval(v),y(null))},[v]),(0,S.useEffect)(()=>{let e=e=>{let t=e.target;!t.closest(`.image-settings-trigger`)&&!t.closest(`.image-settings-popover`)&&(O(!1),A(!1))};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]),(0,S.useEffect)(()=>{t&&w7(t).then(e=>{ie(e),e.steps&&ae(e.steps)}).catch(e=>{})},[t]),(0,S.useEffect)(()=>{let e=_e[4];e&&e.status!==`completed`&&e.status!==`failed`?v||y(setInterval(Ce,15e3)):e&&v&&(clearInterval(v),y(null))},[_e]);let xe=(e,t,n,i)=>{l(t||`image`),h(n?String(n):``),t===`video`?(p(i||null),d(e&&typeof e==`object`?kae(e):{}),a(``)):(p(null),a(e||``),d({})),r(!0)},Se=async()=>{if(c===`image`){if(!G?.id||!m){Z.warning(`缺少任务或步骤 ID,无法保存图片提示词`);return}if(!i||!i.trim()){Z.warning(`图片提示词不能为空`);return}_(!0);try{await Ure(G.id,m,{prompt:i.trim()}),Z.success(`图片提示词已保存`),we(),r(!1),h(``)}catch(e){Z.error(e?.message||`保存图片提示词失败`)}finally{_(!1)}return}if(!G?.id||!m){Z.warning(`缺少任务或步骤 ID,无法保存视频提示词`);return}if(!u||typeof u!=`object`||Object.keys(u).length===0){Z.warning(`视频提示词不能为空`);return}if(!f){Z.warning(`视频提词配置缺失,暂不能保存`);return}let e=b9(u,f);if(e){Z.warning(e);return}_(!0);try{await Yre(G.id,m,{prompt_schema:u}),Z.success(`视频提示词已保存`),we(),r(!1),h(``)}catch(e){Z.error(e?.message||`保存视频提示词失败`)}finally{_(!1)}},Ce=()=>{t&&w7(t).then(e=>{ie(e),e.steps&&ae(e.steps)}).catch(e=>{})},we=()=>{t&&w7(t).then(e=>{ie(e),e.steps&&ae(e.steps)}).catch(e=>{})},Te=e=>{let t={engine_id:T,image_proportion:`1:1`,image_px:`2048x2048`,image_size:`2K`};T7(G.id,e.toString(),t).then(e=>{Z.info(`正在生成图片,请稍候...`),we()}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},Ee=()=>{let e={engine_id:T,image_proportion:`1:1`,image_px:`2048x2048`,image_size:`2K`};T7(G.id,_e[1].id.toString(),e).then(e=>{Z.info(`正在生成图片,请稍候...`),we()}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},De=e=>{let t={engine_id:C,duration:j,aspect_ratio:N,resolution:F,target_platform:`抖音`};Wre(G.id,e.toString(),t).then(e=>{we(),Z.info(`正在生成视频提示词,请稍候...`)}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},Oe=(e,t)=>{E7(G.id,e.toString(),{engine_id:``}).then(e=>{Z.info(`正在生成视频,请稍候...`),we()}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},ke=()=>{E7(G.id,_e[3].id.toString(),{engine_id:``}).then(e=>{Z.info(`正在生成视频,请稍候...`),we()}).catch(e=>{})};return(0,$.jsxs)(S.Fragment,{children:[(0,$.jsx)(`div`,{className:`initialinfo-container`,style:{margin:`-24px -32px -32px`,height:`calc(100vh - 34px)`,position:`relative`,boxSizing:`border-box`,overflow:`hidden`,display:`flex`,flexDirection:`column`},children:(0,$.jsxs)(`div`,{style:{flex:1,display:`flex`,justifyContent:`space-between`,alignItems:`stretch`,gap:`2%`,position:`relative`,zIndex:1,minHeight:0},children:[(0,$.jsxs)(`div`,{className:`replication-preview`,style:{flex:4,background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(20px)`,borderRadius:20,overflow:`hidden`,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`,display:`flex`,flexDirection:`column`,minHeight:0},children:[(0,$.jsxs)(`div`,{style:{borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,width:`100%`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:`16px 24px`,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,boxSizing:`border-box`},children:[(0,$.jsx)(X,{icon:(0,$.jsx)(X2,{}),onClick:()=>e(-1),style:{borderRadius:10,fontSize:13,height:32,background:`rgba(99, 102, 241, 0.1)`,border:`1px solid rgba(99, 102, 241, 0.2)`,color:`#6366f1`},children:`返回`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:[(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #6366f1, #8b5cf6, transparent)`,borderRadius:1}}),(0,$.jsx)(`h3`,{style:{margin:0,fontSize:16,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`爆款复刻 - 任务详情`}),(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #8b5cf6, #6366f1, transparent)`,borderRadius:1}})]}),(0,$.jsx)(X,{type:`primary`,ghost:!0,style:{borderRadius:10,padding:`4px 16px`,fontSize:13,background:`rgba(99, 102, 241, 0.1)`,borderColor:`rgba(99, 102, 241, 0.2)`,color:`#6366f1`},onClick:()=>s(!0),children:`创作记录`})]}),(0,$.jsx)(`div`,{style:{flex:1,overflowY:`auto`},children:(0,$.jsxs)(`div`,{className:`material_box`,children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:24,flexWrap:`wrap`,alignItems:`flex-start`},children:[(0,$.jsxs)(`div`,{style:{flex:1,minWidth:250},children:[(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10,display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{width:3,height:14,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,display:`inline-block`}}),`视频`]}),(0,$.jsx)(`div`,{className:`medio_box`,style:{aspectRatio:`16/9`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,borderRadius:14,overflow:`hidden`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.06)`,border:`1px solid rgba(99, 102, 241, 0.08)`,cursor:G?.material?.materialVideoUrl?`pointer`:`default`},onClick:()=>G?.material?.materialVideoUrl&&me(G.material.materialVideoUrl,`video`),children:G?.material?.materialVideoUrl?(0,$.jsx)(`video`,{src:G.material.materialVideoUrl,style:{width:`100%`,height:`100%`,objectFit:`contain`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:13},children:`暂无视频`})})]}),(0,$.jsxs)(`div`,{className:`product_img`,style:{flex:1,minWidth:250},children:[(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10,display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{width:3,height:14,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,display:`inline-block`}}),`产品图片`]}),(0,$.jsx)(`div`,{className:`medio_box`,style:{aspectRatio:`1/1`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,borderRadius:14,overflow:`hidden`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.06)`,border:`1px solid rgba(99, 102, 241, 0.08)`,cursor:G?.material?.materialImageUrl?`pointer`:`default`},onClick:()=>G?.material?.materialImageUrl&&me(G.material.materialImageUrl,`image`),children:G?.material?.materialImageUrl?(0,$.jsx)(`img`,{src:G.material.materialImageUrl,alt:``,style:{width:`100%`,height:`100%`,objectFit:`contain`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:13},children:`暂无图片`})})]})]}),(0,$.jsx)(`div`,{style:{margin:`20px 0`,height:1,background:`linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.15), transparent)`,borderRadius:.5}}),G?.finalImageUrl&&(0,$.jsx)(`div`,{style:{marginTop:16},children:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10,display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{width:3,height:14,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,display:`inline-block`}}),`生成图片`]}),(0,$.jsx)(`div`,{className:`medio_box`,style:{aspectRatio:`1/1`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,borderRadius:14,overflow:`hidden`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.06)`,border:`1px solid rgba(99, 102, 241, 0.08)`,cursor:`pointer`},onClick:()=>me(G.finalImageUrl,`image`),children:(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${G.finalImageUrl}`,alt:``,style:{width:`100%`,height:`100%`,objectFit:`contain`}})})]})}),G?.finalVideoUrl&&(0,$.jsx)(`div`,{style:{marginTop:16},children:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10,display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{width:3,height:14,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,display:`inline-block`}}),`生成视频`]}),(0,$.jsx)(`div`,{className:`medio_box`,style:{aspectRatio:`16/9`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,borderRadius:14,overflow:`hidden`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.06)`,border:`1px solid rgba(99, 102, 241, 0.08)`,cursor:`pointer`},onClick:()=>me(G.finalVideoUrl,`video`),children:(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${G.finalVideoUrl}`,style:{width:`100%`,height:`100%`,objectFit:`contain`}})})]})})]})})]}),(0,$.jsxs)(`div`,{className:`replication-form`,style:{flex:1,minWidth:`450px`,background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(20px)`,borderRadius:20,overflow:`hidden`,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`,display:`flex`,flexDirection:`column`,minHeight:0},children:[(0,$.jsxs)(`div`,{style:{padding:`16px 24px`,borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,display:`flex`,alignItems:`center`,gap:10,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:15,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`生成步骤`})]}),(0,$.jsx)(`div`,{style:{flex:1,overflowY:`auto`,padding:`8px 16px 16px`},children:(0,$.jsx)(t_,{activeKey:q,onChange:oe,ghost:!0,bordered:!1,style:{background:`transparent`},expandIconPlacement:`end`,items:_e.map(e=>({key:String(e.childId),label:(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,width:`100%`,justifyContent:`space-between`},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,width:16,height:16},children:e.status===`completed`?(0,$.jsx)(V4,{style:{fontSize:16,color:`#22c55e`}}):e.status===`processing`?(0,$.jsx)(`div`,{style:{width:16,height:16,borderRadius:`50%`,border:`2px solid #e2e8f0`,borderTopColor:`#6366f1`,animation:`spinSlow 1s linear infinite`}}):e.status===`failed`?(0,$.jsx)(`div`,{style:{width:16,height:16,borderRadius:`50%`,background:`#ef4444`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`span`,{style:{color:`#fff`,fontSize:10},children:`×`})}):(0,$.jsx)(`div`,{style:{width:8,height:8,borderRadius:`50%`,background:`#cbd5e1`}})}),(0,$.jsx)(`span`,{style:{fontSize:14,color:e.status===`processing`||e.status===`waiting_user`?`#6366f1`:`#1e293b`,fontWeight:500},children:e.title}),(e.status===`processing`||e.status===`waiting_user`)&&(0,$.jsx)(`span`,{style:{fontSize:12,color:`#6366f1`,marginLeft:8},children:`生成中`}),e.status===`failed`&&(0,$.jsx)(`span`,{style:{fontSize:12,color:`#ef4444`,marginLeft:8},children:`失败`}),e.status===``&&(0,$.jsx)(`span`,{style:{fontSize:12,color:`#717d8b`,marginLeft:8},children:`待生成`})]})}),children:(0,$.jsxs)(`div`,{style:{padding:`16px`,background:`linear-gradient(135deg, rgba(248,250,252,0.6) 0%, rgba(238,242,255,0.4) 100%)`,borderRadius:12,marginTop:8,border:`1px solid rgba(99, 102, 241, 0.06)`},children:[e.childId===1&&(0,$.jsx)($.Fragment,{children:(0,$.jsxs)(`div`,{style:{display:`flex`,gap:20,marginBottom:20,alignItems:`flex-start`,flexWrap:`wrap`},children:[(0,$.jsxs)(`div`,{style:{flex:1,minWidth:200},children:[(0,$.jsx)(O9,{style:{color:`#475569`,fontSize:13,marginBottom:10,display:`block`,fontWeight:500},children:`原视频`}),(0,$.jsx)(`div`,{style:{height:180,borderRadius:12,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,border:`1px solid rgba(99, 102, 241, 0.08)`,boxShadow:`0 2px 8px rgba(99, 102, 241, 0.04)`},children:G?.material?.materialVideoUrl?(0,$.jsx)(`video`,{src:G.material.materialVideoUrl,style:{maxWidth:`100%`,maxHeight:`100%`,objectFit:`contain`,borderRadius:10},controls:!0}):(0,$.jsxs)(`div`,{style:{textAlign:`center`,color:`#94a3b8`},children:[(0,$.jsxs)(`svg`,{width:`32`,height:`32`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,style:{marginBottom:8},children:[(0,$.jsx)(`rect`,{x:`2`,y:`2`,width:`20`,height:`16`,rx:`2`,ry:`2`}),(0,$.jsx)(`path`,{d:`M8 12l4 2 4-2`})]}),(0,$.jsx)(`div`,{style:{fontSize:13},children:`暂无视频`})]})})]}),(0,$.jsxs)(`div`,{style:{flex:1,minWidth:200},children:[(0,$.jsx)(O9,{style:{color:`#64748b`,fontSize:13,marginBottom:10,display:`block`,fontWeight:500},children:`产品图片`}),(0,$.jsx)(`div`,{style:{height:180,borderRadius:10,background:`#f1f5f9`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:G?.material?.materialImageUrl?(0,$.jsx)(`img`,{src:G.material.materialImageUrl,alt:`产品图片`,style:{maxWidth:`100%`,maxHeight:`100%`,objectFit:`contain`,borderRadius:10}}):(0,$.jsxs)(`div`,{style:{textAlign:`center`,color:`#94a3b8`},children:[(0,$.jsxs)(`svg`,{width:`32`,height:`32`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,style:{marginBottom:8},children:[(0,$.jsx)(`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,ry:`2`}),(0,$.jsx)(`circle`,{cx:`8.5`,cy:`8.5`,r:`1.5`,fill:`currentColor`}),(0,$.jsx)(`path`,{d:`M21 15l-5-5L5 21`})]}),(0,$.jsx)(`div`,{style:{fontSize:13},children:`暂无图片`})]})})]})]})}),e.childId===2&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{padding:`12px 14px`,background:`rgba(255,255,255,0.6)`,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.08)`,marginBottom:4},children:(0,$.jsx)(O9,{style:{color:`#475569`,fontSize:13,lineHeight:1.8,whiteSpace:`pre-wrap`},children:e?.output?.payload?.prompt||`暂无提示词`})}),(0,$.jsxs)(LH,{style:{marginTop:16,gap:12,width:`100%`},children:[(0,$.jsx)(X,{type:`default`,icon:(0,$.jsx)(c1,{}),onClick:()=>xe(e?.output?.payload?.prompt,`image`,e.id),style:{flex:1,borderRadius:10,borderColor:`rgba(99, 102, 241, 0.3)`,color:`#6366f1`,height:36,fontWeight:500,background:`rgba(99, 102, 241, 0.04)`},disabled:e.status!==`completed`,children:`修改提示词`}),(0,$.jsx)(X,{onClick:()=>{Te(e.id)},type:`primary`,style:{flex:1,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},disabled:e.status!==`completed`,children:`下一步:生成图片`})]})]}),e.childId===3&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{style:{borderRadius:12,overflow:`hidden`,marginBottom:16,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,border:`1px solid rgba(99, 102, 241, 0.08)`,boxShadow:`0 2px 8px rgba(99, 102, 241, 0.04)`,position:`relative`},children:[G.finalImageUrl?(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${G.finalImageUrl}`,alt:`融合图`,style:{width:`100%`,height:180,objectFit:`cover`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:180,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:14},children:`暂无融合图`}),(0,$.jsx)(X,{type:`default`,icon:(0,$.jsx)(c1,{}),onClick:()=>Ee(),disabled:e.status!==`completed`,style:{position:`absolute`,bottom:8,left:8,borderRadius:8,borderColor:`rgba(99, 102, 241, 0.3)`,color:`#6366f1`,height:30,fontWeight:500,background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(4px)`,padding:`0 12px`,fontSize:12},children:`重新生成`})]}),(0,$.jsx)(`p`,{style:{marginBottom:6,fontSize:14,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`视频参数选择:`}),(0,$.jsxs)(`div`,{style:{width:`100%`,display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{flex:1,position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{O(!D),A(!1)},className:`image-settings-trigger`,style:{width:`100%`,padding:`4px 12px`,height:34,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.15)`,backgroundColor:`rgba(255,255,255,0.7)`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s`},children:[(0,$.jsx)($8,{style:{fontSize:14,color:`#6366f1`}}),(0,$.jsx)(O9,{style:{fontSize:14,fontWeight:500,color:`#64748b`},children:b.video?.find(e=>e.id===C)?.name||`选择引擎`})]}),D&&(0,$.jsx)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:-10,width:350,backgroundColor:`#fff`,borderRadius:16,boxShadow:`0 10px 40px rgba(0,0,0,0.15)`,padding:16,border:`none`,zIndex:9999},onClick:e=>e.stopPropagation(),children:(0,$.jsxs)(`div`,{style:{marginBottom:8},children:[(0,$.jsx)(O9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#666666`},children:`选择引擎`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:4},children:b.video?.map(e=>(0,$.jsxs)(`button`,{onClick:()=>{w(e.id),R({ratios:e.supportedRatios||[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:e.supportedResolutions||[`480p`,`720p`,`1080p`],durations:e.supportedDurations||[5,8,10,12,15]}),e.supportedRatios?.includes(N)||P(e.supportedRatios?.[0]||`16:9`),e.supportedResolutions?.includes(F)||I(e.supportedResolutions?.[0]||`720p`),e.supportedDurations?.includes(j)||M(e.supportedDurations?.[0]||5),O(!1)},style:{flex:1,minHeight:48,borderRadius:8,border:C===e.id?`2px solid #6366f1`:`1px solid #e5e7eb`,backgroundColor:C===e.id?`#fff`:`#f9fafb`,cursor:`pointer`,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`flex-start`,padding:`8px 12px`,transition:`all 0.2s`,textAlign:`left`},children:[(0,$.jsx)(`span`,{style:{fontSize:13,fontWeight:C===e.id?600:500,color:C===e.id?`#6366f1`:`#4b5563`,marginBottom:2},children:e.name}),(0,$.jsx)(`span`,{style:{fontSize:11,color:`#9ca3af`}})]},e.id))})]})})]}),(0,$.jsxs)(`div`,{style:{flex:1,position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{A(!k),O(!1)},className:`image-settings-trigger`,style:{width:`100%`,padding:`4px 12px`,height:34,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.15)`,backgroundColor:`rgba(255,255,255,0.7)`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s`},children:[(0,$.jsx)(b6,{style:{fontSize:14,color:`#6366f1`}}),(0,$.jsxs)(O9,{style:{fontSize:14,fontWeight:500,color:`#64748b`},children:[N,` · `,j,`s · `,F]})]}),k&&(0,$.jsxs)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:-160,width:350,backgroundColor:`#fff`,borderRadius:16,boxShadow:`0 10px 40px rgba(0,0,0,0.15)`,padding:16,border:`none`,zIndex:9999},onClick:e=>e.stopPropagation(),children:[(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(O9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#666666`},children:`选择比例`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:4},children:L.ratios.map(e=>(0,$.jsxs)(`button`,{onClick:()=>P(e),style:{flex:`0 0 calc(14.28% - 4px)`,minWidth:44,height:52,borderRadius:6,border:N===e?`2px solid #6366f1`:`1px solid #e5e7eb`,backgroundColor:N===e?`#fff`:`#f9fafb`,cursor:`pointer`,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:[(0,$.jsx)(`div`,{style:{width:18,height:18,border:`2px solid ${N===e?`#6366f1`:`#9ca3af`}`,borderRadius:2,marginBottom:2}}),(0,$.jsx)(`span`,{style:{fontSize:9,color:N===e?`#6366f1`:`#6b7280`,fontWeight:N===e?600:400},children:e})]},e))})]}),(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(O9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#666666`},children:`选择时长`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsxs)(`div`,{style:{flex:1,position:`relative`,height:24,display:`flex`,alignItems:`center`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:`50%`,left:0,right:0,height:6,borderRadius:3,background:`#e5e7eb`,transform:`translateY(-50%)`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:`50%`,left:0,height:6,borderRadius:3,background:`#6366f1`,width:`${(j-Math.min(...L.durations))/(Math.max(...L.durations)-Math.min(...L.durations))*100}%`,transform:`translateY(-50%)`}}),(0,$.jsx)(`input`,{type:`range`,min:Math.min(...L.durations),max:Math.max(...L.durations),value:j,onChange:e=>M(Number(e.target.value)),style:{position:`relative`,width:`100%`,height:24,borderRadius:3,background:`transparent`,outline:`none`,appearance:`none`,cursor:`pointer`,zIndex:1}})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:4,padding:`4px 12px`,backgroundColor:`#f1f5f9`,borderRadius:6},children:[(0,$.jsx)(`span`,{style:{fontSize:14,fontWeight:600,color:`#64748b`},children:j}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#9ca3af`},children:`秒`})]})]})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(O9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#666666`},children:`选择分辨率`}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:6},children:L.resolutions.map(e=>(0,$.jsx)(`button`,{onClick:()=>I(e),style:{flex:1,height:42,borderRadius:6,border:F===e?`2px solid #6366f1`:`1px solid #e5e7eb`,backgroundColor:F===e?`#6366f1`:`#f9fafb`,cursor:`pointer`,display:`flex`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:(0,$.jsx)(`span`,{style:{fontSize:12,fontWeight:600,color:F===e?`#fff`:`#4b5563`},children:e})},e))})]})]})]})]}),(0,$.jsx)(X,{type:`primary`,style:{width:`100%`,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},onClick:()=>{De(e.id)},disabled:e.status!==`completed`,children:`下一步:生成视频提示词`})]}),e.childId===4&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{padding:`12px 14px`,background:`rgba(255,255,255,0.6)`,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.08)`,marginBottom:4},children:(0,$.jsx)(O9,{style:{color:`#64748b`,fontSize:13,lineHeight:1.8},children:`视频提词已生成,可点击按钮查看/修改`})}),(0,$.jsxs)(LH,{style:{marginTop:16,gap:12,width:`100%`},children:[(0,$.jsx)(X,{type:`default`,icon:(0,$.jsx)(c1,{}),onClick:()=>xe(G?.videoGeneration?.promptSchema,`video`,e.id,G?.videoGeneration?.schemaConfigSnapshot),style:{flex:1,borderRadius:10,borderColor:`rgba(99, 102, 241, 0.3)`,color:`#6366f1`,height:36,fontWeight:500,background:`rgba(99, 102, 241, 0.04)`},disabled:e.status!==`completed`||!G?.videoGeneration?.promptSchema||!G?.videoGeneration?.schemaConfigSnapshot,children:`查看/修改视频提词`}),(0,$.jsx)(X,{onClick:()=>{Oe(e.id,e.engineId)},type:`primary`,style:{flex:1,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},disabled:e.status!==`completed`,children:`下一步:生成视频`})]})]}),e.childId===5&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{borderRadius:12,overflow:`hidden`,marginBottom:16,position:`relative`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,border:`1px solid rgba(99, 102, 241, 0.08)`,boxShadow:`0 2px 8px rgba(99, 102, 241, 0.04)`},children:e.status===`completed`&&G?.finalVideoUrl?(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${G.finalVideoUrl}`,style:{width:`100%`,height:180,objectFit:`cover`},controls:!0}):e.status===`processing`?(0,$.jsxs)(`div`,{style:{width:`100%`,height:180,display:`flex`,alignItems:`center`,justifyContent:`center`,flexDirection:`column`,gap:8},children:[(0,$.jsx)(`div`,{style:{width:20,height:20,borderRadius:`50%`,border:`2px solid #e2e8f0`,borderTopColor:`#6366f1`,animation:`spinSlow 1s linear infinite`}}),(0,$.jsx)(`span`,{style:{color:`#6366f1`,fontSize:14},children:`视频生成中...`})]}):e.status===`failed`?(0,$.jsx)(`div`,{style:{width:`100%`,height:180,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#ef4444`,fontSize:14},children:`视频生成失败`}):(0,$.jsx)(`div`,{style:{width:`100%`,height:180,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:14},children:`暂无视频`})}),(0,$.jsxs)(LH,{style:{width:`100%`,gap:12},children:[(0,$.jsx)(X,{onClick:()=>ke(),type:`default`,icon:(0,$.jsx)(c1,{}),style:{flex:1,borderRadius:10,borderColor:`rgba(99, 102, 241, 0.3)`,color:`#6366f1`,height:36,fontWeight:500,background:`rgba(99, 102, 241, 0.04)`},disabled:e.status!==`completed`,children:`重新生成`}),(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(U0,{}),style:{flex:1,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},disabled:e.status!==`completed`,onClick:()=>{let e=`http://ceshi.apiforeign.minzhong.cn${G?.finalVideoUrl}&download=1`,t=document.createElement(`a`);t.href=e,t.download=`video_${Date.now()}.mp4`,document.body.appendChild(t),t.click(),document.body.removeChild(t)},children:`下载视频`})]})]})]})}))})})]})]})}),(0,$.jsx)(WK,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:15,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:c===`video`?`查看/编辑视频提词`:`修改提示词`})]}),open:n,onCancel:()=>{g||r(!1)},footer:[(0,$.jsx)(X,{onClick:()=>r(!1),disabled:g,style:{borderRadius:8},children:`取消`},`cancel`),(0,$.jsx)(X,{type:`primary`,onClick:Se,loading:g,disabled:g,style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`},children:`确认`},`confirm`)],width:800,style:{borderRadius:16},styles:{header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,padding:`16px 24px`},body:{background:`linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f0f9ff 100%)`,padding:`20px 24px`}},children:c===`image`?(0,$.jsx)(Oae,{value:i,onChange:e=>a(e.target.value),rows:8,style:{width:`100%`,height:300,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.15)`,background:`rgba(255,255,255,0.8)`},placeholder:`请输入提示词`}):(0,$.jsx)(`div`,{style:{maxHeight:500,overflowY:`auto`,paddingRight:10},children:(0,$.jsx)(D9,{value:u,schemaConfigSnapshot:f,onChange:d})})}),(0,$.jsxs)(WK,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`创作记录`})]}),open:o,onCancel:()=>s(!1),width:850,footer:null,style:{borderRadius:20},styles:{body:{height:580,display:`flex`,flexDirection:`column`,padding:0},header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,padding:`16px 24px`}},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,margin:`16px 24px`,flexShrink:0},children:[(0,$.jsx)(fG,{placeholder:`搜索产品名称`,value:ne,onChange:e=>re(e.target.value),onPressEnter:be,style:{width:220,borderRadius:10,marginRight:10,border:`1px solid rgba(99, 102, 241, 0.15)`,background:`rgba(255,255,255,0.8)`}}),(0,$.jsx)(X,{type:`primary`,onClick:be,style:{borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`},children:`搜索`})]}),(0,$.jsx)(p$,{columns:[{title:`产品名称`,dataIndex:`targetProjectName`,key:`targetProjectName`,align:`center`},{title:`状态`,dataIndex:`status`,key:`status`,align:`center`,render:(e,t)=>{let n=e,r=t.current_step_code||t.currentStepCode,i=(()=>{if(r===`image_prompt_optimize`)switch(n){case`waiting_user`:return{text:`等待融合图生成`,color:`#f59e0b`};case`processing`:return{text:`图片提示词生成中`,color:`#f59e0b`};case`completed`:return{text:`图片提示词生成成功`,color:`#10b981`};case`failed`:return{text:`图片提示词生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else if(r===`image_generate`)switch(n){case`waiting_user`:return{text:`等待生成视频提示词`,color:`#f59e0b`};case`processing`:return{text:`融合图生成中`,color:`#f59e0b`};case`completed`:return{text:`融合图生成成功`,color:`#10b981`};case`failed`:return{text:`融合图生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else if(r===`video_prompt_optimize`)switch(n){case`waiting_user`:return{text:`等待最终视频生成`,color:`#f59e0b`};case`processing`:return{text:`视频提示词生成中`,color:`#f59e0b`};case`completed`:return{text:`视频提示词生成成功`,color:`#10b981`};case`failed`:return{text:`视频提示词生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else if(r===`video_generate`)switch(n){case`waiting_user`:return{text:``,color:`#666`};case`processing`:return{text:`最终视频生成中`,color:`#f59e0b`};case`completed`:return{text:`任务完成`,color:`#10b981`};case`failed`:return{text:`最终视频生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else if(r===`material_input`)switch(n){case`waiting_user`:return{text:`等待生成图片提示词`,color:`#f59e0b`};case`processing`:return{text:`素材处理中`,color:`#f59e0b`};case`completed`:return{text:`素材上传成功`,color:`#10b981`};case`failed`:return{text:`素材上传失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else return{pending:{text:`子任务待处理`,color:`#f59e0b`},waiting_user:{text:`等待用户确认或触发`,color:`#f59e0b`},processing:{text:`子任务处理中`,color:`#f59e0b`},completed:{text:`子任务完成`,color:`#10b981`},failed:{text:`子任务失败`,color:`#ef4444`},cancelled:{text:`子任务取消`,color:`#94a3b8`}}[n]||{text:n||`-`,color:`#666`}})();return typeof i==`string`?(0,$.jsx)(`span`,{style:{fontSize:12,color:`#666`,fontWeight:500},children:i}):(0,$.jsx)(`span`,{style:{fontSize:12,color:i.color,fontWeight:500},children:i.text})}},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,align:`center`,render:e=>{if(!e)return`-`;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`}},{title:`操作`,key:`action`,align:`center`,render:(t,n)=>(0,$.jsx)(`button`,{onClick:()=>e(`/initial/${n.id}/initialinfo`),style:{color:`#6366f1`,textDecoration:`none`,fontSize:12,border:`none`,background:`rgba(99, 102, 241, 0.08)`,padding:`4px 12px`,borderRadius:8,cursor:`pointer`,transition:`all 0.2s`,fontWeight:500},children:`查看详情`})}],dataSource:z,rowKey:`id`,pagination:{current:V,pageSize:U,total:ee,showSizeChanger:!0,showQuickJumper:!0,showTotal:e=>`共 ${e} 条`,onChange:ye},style:{fontSize:13},scroll:{y:350}})]}),(0,$.jsx)(WK,{open:se,title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(180deg, #8b5cf6 0%, #ddd6fe 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:700,color:`#8b5cf6`,letterSpacing:.4},children:`预览`})]}),onCancel:he,width:800,footer:(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:12,padding:`16px 24px`,background:`rgba(255,255,255,0.6)`,borderTop:`1px solid rgba(139, 92, 246, 0.08)`},children:(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(U0,{}),onClick:ge,style:{borderRadius:10,background:`linear-gradient(135deg, #8b5cf6 0%, #ddd6fe 100%)`,border:`none`,boxShadow:`0 8px 18px rgba(47, 52, 64, 0.15)`},children:`下载`})}),centered:!0,style:{borderRadius:16},styles:{body:{display:`flex`,alignItems:`center`,justifyContent:`center`,minHeight:`400px`},header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(139, 92, 246, 0.08)`,padding:`16px 24px`}},children:(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,width:`100%`,height:`100%`},children:de===`image`?(0,$.jsx)(`img`,{src:le.startsWith(`http`)?le:`http://ceshi.apiforeign.minzhong.cn${le}`,alt:`预览`,style:{width:`100%`,maxHeight:`400px`,objectFit:`contain`}}):(0,$.jsx)(`video`,{ref:pe,src:le.startsWith(`http`)?le:`http://ceshi.apiforeign.minzhong.cn${le}`,controls:!0,style:{maxWidth:`100%`,maxHeight:`400px`}})})})]})}function jae(){let e=Ye(),[t,n]=(0,S.useState)(``),[r,i]=(0,S.useState)(``),[a,o]=(0,S.useState)(!1),[s,c]=(0,S.useState)(``),[l,u]=(0,S.useState)(0),[d,f]=(0,S.useState)(!1),[p,m]=(0,S.useState)([]),[h,g]=(0,S.useState)(1),[_,v]=(0,S.useState)(10),[y,b]=(0,S.useState)(0),[x,C]=(0,S.useState)(``),w=(0,S.useRef)(null),T=(0,S.useRef)(null),E=(0,S.useCallback)(()=>{t&&URL.revokeObjectURL(t),n(``),i(``),u(0),c(``)},[t]),D=async e=>{if(!e.type.startsWith(`video/`))return i(`请选择视频文件`),!1;if(e.size>100*1024*1024)return i(`视频文件大小不能超过 100MB`),!1;if(await new Promise(t=>{let n=document.createElement(`video`);n.preload=`metadata`,n.onloadedmetadata=()=>{t(n.duration),URL.revokeObjectURL(n.src)},n.onerror=()=>{t(0)},n.src=URL.createObjectURL(e)})>60)return i(`视频时长不能超过 1分钟`),!1;E(),f(!0);try{n((await l7(e)).url),i(``),Z.success(`视频上传成功`)}catch{i(`视频上传失败,请重试`),Z.error(`视频上传失败`)}finally{f(!1)}return!1},O=(0,S.useCallback)(()=>{w.current&&u(w.current.duration)},[]),k=async()=>{if(!t||!s.trim()){Z.warning(`请先上传视频并输入产品名称`);return}f(!0);try{Xre({video_url:t,video_duration_seconds:l,title:s.trim(),idempotency_key:`shot_${Date.now()}`}).then(t=>{M7(1,20,x).then(t=>{Z.loading(`创建中...`,3),setTimeout(()=>{e(`/removelens/${t.items[0].id}/removeinfo`)},3e3)})}),E()}catch{Z.error(`任务创建失败,请重试`)}finally{f(!1)}},A=async(e,t,n)=>{try{let r=await M7(e,t,n);m(r.items||[]),b(r.total||0),g(e),v(t)}catch{Z.error(`获取列表失败`)}},j=(e,t)=>{A(e,t,x)},M=()=>{A(1,10,x)};return(0,$.jsx)(`div`,{style:{margin:`-24px -32px -32px`,borderRadius:20,minHeight:`calc(100vh - 34px)`,overflow:`auto`,background:`linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f0f9ff 100%)`,position:`relative`,padding:`20px 32px`,backgroundImage:`url(${aae})`,backgroundRepeat:`no-repeat`,backgroundSize:`100% 100%`,backgroundPosition:`center`},children:(0,$.jsxs)(`div`,{style:{maxWidth:1200,margin:`0 auto`,position:`relative`,zIndex:10},children:[(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:24,padding:`16px 24px`,borderRadius:16,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,border:`1px solid rgba(99, 102, 241, 0.08)`,position:`relative`,overflow:`hidden`,flexWrap:`wrap`,gap:12},children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`h2`,{style:{margin:0,fontSize:18,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`AI视频拆镜工作台`}),(0,$.jsx)(`p`,{style:{fontSize:13,color:`#64748b`,margin:`4px 0 0 0`},children:`精细化镜头复刻工具,拆分参考视频单镜头独立复刻,提升素材原创度,规避素材同质化`})]})}),(0,$.jsx)(X,{type:`primary`,ghost:!0,icon:(0,$.jsx)(HH,{}),onClick:()=>{o(!0),A(1,10,x)},style:{borderRadius:10,padding:`6px 16px`,fontSize:13,background:`rgba(99, 102, 241, 0.1)`,borderColor:`rgba(99, 102, 241, 0.2)`,color:`#6366f1`},children:`创作记录`})]}),(0,$.jsxs)(`div`,{style:{width:`100%`,maxWidth:720,margin:`0 auto`},children:[r&&(0,$.jsx)(`div`,{style:{background:`linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%)`,backdropFilter:`blur(10px)`,border:`1px solid rgba(239, 68, 68, 0.2)`,borderRadius:12,padding:`14px 20px`,marginBottom:24,color:`#ef4444`,fontSize:14,textAlign:`center`,fontWeight:500},children:r}),!t&&(0,$.jsxs)(`div`,{style:{background:`linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%)`,backdropFilter:`blur(20px)`,borderRadius:24,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`,position:`relative`,overflow:`hidden`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:-50,right:-50,width:200,height:200,background:`radial-gradient(circle, rgba(99,102,241,0.05) 0%, transparent 70%)`,borderRadius:`50%`}}),(0,$.jsx)(Y0.Dragger,{accept:`video/*`,beforeUpload:D,showUploadList:!1,disabled:d,style:{background:d?`rgba(243, 244, 246, 0.3)`:`transparent`,border:`2px dashed ${d?`rgba(209, 213, 219, 0.5)`:`rgba(99, 102, 241, 0.3)`}`,borderRadius:24,padding:`56px 20px`,cursor:d?`not-allowed`:`pointer`,margin:0},children:d?(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`},children:[(0,$.jsx)(`div`,{style:{width:100,height:100,margin:`0 auto 20px`,background:`linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%)`,borderRadius:24,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`div`,{style:{width:40,height:40,border:`4px solid #6366f1`,borderTopColor:`transparent`,borderRadius:`50%`,animation:`spin 1s linear infinite`}})}),(0,$.jsx)(`p`,{style:{fontSize:16,color:`#6366f1`,margin:`0 0 8px 0`,fontWeight:600},children:`上传中...`}),(0,$.jsx)(`p`,{style:{fontSize:13,color:`#64748b`,margin:0},children:`请稍候,视频正在上传`})]}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{width:100,height:100,margin:`0 auto 20px`,background:`linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%)`,borderRadius:24,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(n3,{style:{fontSize:40,color:`#6366f1`}})}),(0,$.jsx)(`p`,{style:{fontSize:16,color:`#1e293b`,margin:`0 0 8px 0`,fontWeight:600},children:`点击或拖拽到此上传视频文件`}),(0,$.jsx)(`p`,{style:{fontSize:13,color:`#64748b`,margin:0},children:`支持 MP4、MOV 格式视频,最大支持 100MB 的文件,支持上传 1 分钟内的视频`})]})})]}),t&&(0,$.jsxs)(`div`,{style:{background:`linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%)`,backdropFilter:`blur(20px)`,borderRadius:24,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`,overflow:`hidden`,position:`relative`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:-50,right:-50,width:200,height:200,background:`radial-gradient(circle, rgba(99,102,241,0.05) 0%, transparent 70%)`,borderRadius:`50%`}}),(0,$.jsxs)(`div`,{style:{borderRadius:22,background:`#ffffff`,padding:`24px`,position:`relative`,zIndex:1},children:[(0,$.jsx)(JK,{title:`确定要删除吗?`,okText:`确定`,cancelText:`取消`,onConfirm:E,children:(0,$.jsx)(`button`,{style:{position:`absolute`,top:20,right:20,width:36,height:36,border:`1px solid rgba(99, 102, 241, 0.2)`,background:`rgba(99, 102, 241, 0.05)`,borderRadius:10,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:16,color:`#6366f1`,zIndex:10,transition:`all 0.2s ease`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(239, 68, 68, 0.1)`,e.currentTarget.style.borderColor=`rgba(239, 68, 68, 0.3)`,e.currentTarget.style.color=`#ef4444`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(99, 102, 241, 0.05)`,e.currentTarget.style.borderColor=`rgba(99, 102, 241, 0.2)`,e.currentTarget.style.color=`#6366f1`},children:`🗑️`})}),(0,$.jsx)(`div`,{style:{textAlign:`center`,marginBottom:20},children:(0,$.jsx)(`video`,{ref:w,src:`http://ceshi.apiforeign.minzhong.cn${t}`,controls:!0,onLoadedMetadata:O,style:{maxWidth:`100%`,maxHeight:320,borderRadius:12,background:`#000`,boxShadow:`0 4px 16px rgba(0,0,0,0.1)`}})}),(0,$.jsxs)(`div`,{style:{marginBottom:24},children:[(0,$.jsxs)(`label`,{style:{display:`block`,fontSize:14,fontWeight:500,color:`#334155`,marginBottom:8},children:[`产品名称 `,(0,$.jsx)(`span`,{style:{color:`#ef4444`},children:`*`})]}),(0,$.jsx)(fG,{placeholder:`请输入产品名称`,value:s,onChange:e=>c(e.target.value),style:{width:`100%`,height:44,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.2)`,transition:`all 0.2s ease`},onMouseEnter:e=>{e.currentTarget.style.borderColor=`rgba(99, 102, 241, 0.4)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(99, 102, 241, 0.2)`}})]}),(0,$.jsx)(`div`,{style:{textAlign:`center`,marginTop:16},children:(0,$.jsx)(`button`,{onClick:k,disabled:!t||!s.trim()||d,style:{padding:`14px 56px`,background:t&&s.trim()&&!d?`linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%)`:`#e2e8f0`,color:`white`,border:`none`,borderRadius:12,fontSize:15,fontWeight:600,cursor:t&&s.trim()&&!d?`pointer`:`not-allowed`,boxShadow:t&&s.trim()&&!d?`0 6px 20px rgba(99, 102, 241, 0.3)`:`none`,display:`inline-flex`,alignItems:`center`,gap:10,transition:`all 0.3s ease`},onMouseEnter:e=>{t&&s.trim()&&!d&&(e.currentTarget.style.transform=`translateY(-2px)`,e.currentTarget.style.boxShadow=`0 8px 25px rgba(99, 102, 241, 0.4)`)},onMouseLeave:e=>{t&&s.trim()&&!d&&(e.currentTarget.style.transform=`translateY(0)`,e.currentTarget.style.boxShadow=`0 6px 20px rgba(99, 102, 241, 0.3)`)},children:(0,$.jsx)(`span`,{children:d?`创建中...`:`创建`})})})]})]}),(0,$.jsx)(`canvas`,{ref:T,style:{display:`none`}}),(0,$.jsxs)(WK,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`创作记录`})]}),open:a,onCancel:()=>o(!1),width:850,footer:null,style:{borderRadius:20},styles:{body:{height:580,display:`flex`,flexDirection:`column`,padding:0},header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,padding:`16px 24px`}},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,margin:`16px 24px`,flexShrink:0},children:[(0,$.jsx)(fG,{placeholder:`搜索产品名称`,value:x,onChange:e=>C(e.target.value),onPressEnter:M,style:{width:220,borderRadius:10,marginRight:10,border:`1px solid rgba(99, 102, 241, 0.15)`,background:`rgba(255,255,255,0.8)`}}),(0,$.jsx)(X,{type:`primary`,onClick:M,style:{borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`},children:`搜索`})]}),(0,$.jsx)(`div`,{style:{flex:1,overflow:`auto`,padding:`0 24px 24px`},children:(0,$.jsx)(`div`,{style:{background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(10px)`,borderRadius:16,overflow:`hidden`,border:`1px solid rgba(99, 102, 241, 0.08)`,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.06)`},children:(0,$.jsx)(p$,{columns:[{title:`产品名称`,dataIndex:`title`,key:`title`,render:e=>(0,$.jsx)(`span`,{style:{fontSize:14,color:`#1e293b`,fontWeight:500},children:e})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,render:e=>{if(!e)return`-`;let t=new Date(e);return(0,$.jsx)(`span`,{style:{fontSize:13,color:`#64748b`},children:`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`})}},{title:`操作`,key:`action`,align:`center`,render:t=>(0,$.jsx)(X,{type:`text`,onClick:()=>e(`/removelens/${t.id}/removeinfo`),style:{color:`#6366f1`,fontSize:13,padding:`4px 12px`,borderRadius:6,background:`rgba(99, 102, 241, 0.1)`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(99, 102, 241, 0.15)`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(99, 102, 241, 0.1)`},children:`查看详情`})}],dataSource:p,rowKey:`id`,pagination:{current:h,pageSize:_,total:y,showSizeChanger:!0,showQuickJumper:!0,showTotal:e=>`共 ${e} 条`,onChange:j,style:{padding:`16px 24px`,borderTop:`1px solid rgba(99, 102, 241, 0.1)`}},style:{fontSize:13},scroll:{y:350},components:{body:{row:({className:e,style:t,...n})=>(0,$.jsx)(`tr`,{...n,className:e,style:{...t,transition:`all 0.2s ease`,borderBottom:`1px solid rgba(99, 102, 241, 0.05)`}}),cell:({className:e,style:t,...n})=>(0,$.jsx)(`td`,{...n,className:e,style:{...t,padding:`16px 24px`}})},header:{cell:({className:e,style:t,...n})=>(0,$.jsx)(`th`,{...n,className:e,style:{...t,background:`rgba(99, 102, 241, 0.03)`,color:`#64748b`,fontWeight:500,fontSize:13,padding:`16px 24px`,borderBottom:`none`}})}}})})})]})]})]})})}var Mae=c(o(((e,t)=>{(function(n){typeof e==`object`&&t!==void 0?t.exports=n():typeof define==`function`&&define.amd?define([],n):(typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:this).JSZip=n()})(function(){return function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){var c=typeof l==`function`&&l;if(!s&&c)return c(o,!0);if(a)return a(o,!0);var u=Error(`Cannot find module '`+o+`'`);throw u.code=`MODULE_NOT_FOUND`,u}var d=n[o]={exports:{}};t[o][0].call(d.exports,function(e){var n=t[o][1][e];return i(n||e)},d,d.exports,e,t,n,r)}return n[o].exports}for(var a=typeof l==`function`&&l,o=0;o>2,s=(3&t)<<4|n>>4,c=1>6:64,l=2>4,n=(15&o)<<4|(s=a.indexOf(e.charAt(l++)))>>2,r=(3&s)<<6|(c=a.indexOf(e.charAt(l++))),f[u++]=t,s!==64&&(f[u++]=n),c!==64&&(f[u++]=r);return f}},{"./support":30,"./utils":32}],2:[function(e,t,n){var r=e(`./external`),i=e(`./stream/DataWorker`),a=e(`./stream/Crc32Probe`),o=e(`./stream/DataLengthProbe`);function s(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o(`data_length`)),t=this;return e.on(`end`,function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error(`Bug : uncompressed data size mismatch`)}),e},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo(`compressedSize`,this.compressedSize).withStreamInfo(`uncompressedSize`,this.uncompressedSize).withStreamInfo(`crc32`,this.crc32).withStreamInfo(`compression`,this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new a).pipe(new o(`uncompressedSize`)).pipe(t.compressWorker(n)).pipe(new o(`compressedSize`)).withStreamInfo(`compression`,t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){var r=e(`./stream/GenericWorker`);n.STORE={magic:`\0\0`,compressWorker:function(){return new r(`STORE compression`)},uncompressWorker:function(){return new r(`STORE decompression`)}},n.DEFLATE=e(`./flate`)},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){var r=e(`./utils`),i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return e!==void 0&&e.length?r.getTypeOf(e)===`string`?function(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s>>8^a[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length,0):function(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s>>8^a[255&(e^t[s])];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){var r=null;r=typeof Promise<`u`?Promise:e(`lie`),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){var r=typeof Uint8Array<`u`&&typeof Uint16Array<`u`&&typeof Uint32Array<`u`,i=e(`pako`),a=e(`./utils`),o=e(`./stream/GenericWorker`),s=r?`uint8array`:`array`;function c(e,t){o.call(this,`FlateWorker/`+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic=`\b\0`,a.inherits(c,o),c.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(s,e.data),!1)},c.prototype.flush=function(){o.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new c(`Deflate`,e)},n.uncompressWorker=function(){return new c(`Inflate`,{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){function r(e,t){var n,r=``;for(n=0;n>>=8;return r}function i(e,t,n,i,o,u){var d,f,p=e.file,m=e.compression,h=u!==s.utf8encode,g=a.transformTo(`string`,u(p.name)),_=a.transformTo(`string`,s.utf8encode(p.name)),v=p.comment,y=a.transformTo(`string`,u(v)),b=a.transformTo(`string`,s.utf8encode(v)),x=_.length!==p.name.length,S=b.length!==v.length,C=``,w=``,T=``,E=p.dir,D=p.date,O={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(O.crc32=e.crc32,O.compressedSize=e.compressedSize,O.uncompressedSize=e.uncompressedSize);var k=0;t&&(k|=8),h||!x&&!S||(k|=2048);var A=0,j=0;E&&(A|=16),o===`UNIX`?(j=798,A|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(p.unixPermissions,E)):(j=20,A|=function(e){return 63&(e||0)}(p.dosPermissions)),d=D.getUTCHours(),d<<=6,d|=D.getUTCMinutes(),d<<=5,d|=D.getUTCSeconds()/2,f=D.getUTCFullYear()-1980,f<<=4,f|=D.getUTCMonth()+1,f<<=5,f|=D.getUTCDate(),x&&(w=r(1,1)+r(c(g),4)+_,C+=`up`+r(w.length,2)+w),S&&(T=r(1,1)+r(c(y),4)+b,C+=`uc`+r(T.length,2)+T);var M=``;return M+=` +\0`,M+=r(k,2),M+=m.magic,M+=r(d,2),M+=r(f,2),M+=r(O.crc32,4),M+=r(O.compressedSize,4),M+=r(O.uncompressedSize,4),M+=r(g.length,2),M+=r(C.length,2),{fileRecord:l.LOCAL_FILE_HEADER+M+g+C,dirRecord:l.CENTRAL_FILE_HEADER+r(j,2)+M+r(y.length,2)+`\0\0\0\0`+r(A,4)+r(i,4)+g+C+y}}var a=e(`../utils`),o=e(`../stream/GenericWorker`),s=e(`../utf8`),c=e(`../crc32`),l=e(`../signature`);function u(e,t,n,r){o.call(this,`ZipFileWorker`),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(u,o),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return l.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo(`string`,this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,n){var r=e(`./Uint8ArrayReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){var r=e(`./DataReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){var r=e(`./ArrayReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),i.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array;var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){var r=e(`../utils`),i=e(`../support`),a=e(`./ArrayReader`),o=e(`./StringReader`),s=e(`./NodeBufferReader`),c=e(`./Uint8ArrayReader`);t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),t!==`string`||i.uint8array?t===`nodebuffer`?new s(e):i.uint8array?new c(r.transformTo(`uint8array`,e)):new a(r.transformTo(`array`,e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){n.LOCAL_FILE_HEADER=`PK`,n.CENTRAL_FILE_HEADER=`PK`,n.CENTRAL_DIRECTORY_END=`PK`,n.ZIP64_CENTRAL_DIRECTORY_LOCATOR=`PK\x07`,n.ZIP64_CENTRAL_DIRECTORY_END=`PK`,n.DATA_DESCRIPTOR=`PK\x07\b`},{}],24:[function(e,t,n){var r=e(`./GenericWorker`),i=e(`../utils`);function a(e){r.call(this,`ConvertWorker to `+e),this.destType=e}i.inherits(a,r),a.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){var r=e(`./GenericWorker`),i=e(`../crc32`);function a(){r.call(this,`Crc32Probe`),this.withStreamInfo(`crc32`,0)}e(`../utils`).inherits(a,r),a.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){var r=e(`../utils`),i=e(`./GenericWorker`);function a(e){i.call(this,`DataLengthProbe for `+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(a,i),a.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){var r=e(`../utils`),i=e(`./GenericWorker`);function a(e){i.call(this,`DataWorker`);var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=``,this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}r.inherits(a,i),a.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case`string`:e=this.data.substring(this.index,t);break;case`uint8array`:e=this.data.subarray(this.index,t);break;case`array`:case`nodebuffer`:e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){function r(e){this.name=e||`default`,this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(e){this.emit(`data`,e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(`end`),this.cleanUp(),this.isFinished=!0}catch(e){this.emit(`error`,e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit(`error`,e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n `+e:e}},t.exports=r},{}],29:[function(e,t,n){var r=e(`../utils`),i=e(`./ConvertWorker`),a=e(`./GenericWorker`),o=e(`../base64`),s=e(`../support`),c=e(`../external`),l=null;if(s.nodestream)try{l=e(`../nodejs/NodejsStreamOutputAdapter`)}catch{}function u(e,t){return new c.Promise(function(n,i){var a=[],s=e._internalType,c=e._outputType,l=e._mimeType;e.on(`data`,function(e,n){a.push(e),t&&t(n)}).on(`error`,function(e){a=[],i(e)}).on(`end`,function(){try{n(function(e,t,n){switch(e){case`blob`:return r.newBlob(r.transformTo(`arraybuffer`,t),n);case`base64`:return o.encode(t);default:return r.transformTo(e,t)}}(c,function(e,t){var n,r=0,i=null,a=0;for(n=0;n`u`)n.blob=!1;else{var r=new ArrayBuffer(0);try{n.blob=new Blob([r],{type:`application/zip`}).size===0}catch{try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(r),n.blob=i.getBlob(`application/zip`).size===0}catch{n.blob=!1}}}try{n.nodestream=!!e(`readable-stream`).Readable}catch{n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){for(var r=e(`./utils`),i=e(`./support`),a=e(`./nodejsUtils`),o=e(`./stream/GenericWorker`),s=Array(256),c=0;c<256;c++)s[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;s[254]=s[254]=1;function l(){o.call(this,`utf-8 decode`),this.leftOver=null}function u(){o.call(this,`utf-8 encode`)}n.utf8encode=function(e){return i.nodebuffer?a.newBufferFrom(e,`utf-8`):function(e){var t,n,r,a,o,s=e.length,c=0;for(a=0;a>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t}(e)},n.utf8decode=function(e){return i.nodebuffer?r.transformTo(`nodebuffer`,e).toString(`utf-8`):function(e){var t,n,i,a,o=e.length,c=Array(2*o);for(t=n=0;t>10&1023,c[n++]=56320|1023&i)}return c.length!==n&&(c.subarray?c=c.subarray(0,n):c.length=n),r.applyFromCharCode(c)}(e=r.transformTo(i.uint8array?`uint8array`:`array`,e))},r.inherits(l,o),l.prototype.processChunk=function(e){var t=r.transformTo(i.uint8array?`uint8array`:`array`,e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var a=t;(t=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),t.set(a,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var o=function(e,t){var n;for((t||=e.length)>e.length&&(t=e.length),n=t-1;0<=n&&(192&e[n])==128;)n--;return n<0||n===0?t:n+s[e[n]]>t?n:t}(t),c=t;o!==t.length&&(i.uint8array?(c=t.subarray(0,o),this.leftOver=t.subarray(o,t.length)):(c=t.slice(0,o),this.leftOver=t.slice(o,t.length))),this.push({data:n.utf8decode(c),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=l,r.inherits(u,o),u.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){var r=e(`./support`),i=e(`./base64`),a=e(`./nodejsUtils`),o=e(`./external`);function s(e){return e}function c(e,t){for(var n=0;n>8;this.dir=!!(16&this.externalFileAttributes),e==0&&(this.dosPermissions=63&this.externalFileAttributes),e==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!==`/`||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||={};e.index+4>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t},n.buf2binstring=function(e){return c(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n>10&1023,l[r++]=56320|1023&i)}return c(l,r)},n.utf8border=function(e,t){var n;for((t||=e.length)>e.length&&(t=e.length),n=t-1;0<=n&&(192&e[n])==128;)n--;return n<0||n===0?t:n+o[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){t.exports=function(e,t,n,r){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;n!==0;){for(n-=o=2e3>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var a=r,o=i+n;e^=-1;for(var s=i;s>>8^a[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,n){var r,i=e(`../utils/common`),a=e(`./trees`),o=e(`./adler32`),s=e(`./crc32`),c=e(`./messages`),l=0,u=4,d=0,f=-2,p=-1,m=4,h=2,g=8,_=9,v=286,y=30,b=19,x=2*v+1,S=15,C=3,w=258,T=w+C+1,E=42,D=113,O=1,k=2,A=3,j=4;function M(e,t){return e.msg=c[t],t}function N(e){return(e<<1)-(4e.avail_out&&(n=e.avail_out),n!==0&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function I(e,t){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,F(e.strm)}function L(e,t){e.pending_buf[e.pending++]=t}function R(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function z(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-T?e.strstart-(e.w_size-T):0,l=e.window,u=e.w_mask,d=e.prev,f=e.strstart+w,p=l[a+o-1],m=l[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do if(l[(n=t)+o]===m&&l[n+o-1]===p&&l[n]===l[a]&&l[++n]===l[a+1]){a+=2,n++;do;while(l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&ac&&--i!=0);return o<=e.lookahead?o:e.lookahead}function B(e){var t,n,r,a,c,l,u,d,f,p,m=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-T)){for(i.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=n=e.hash_size;r=e.head[--t],e.head[t]=m<=r?r-m:0,--n;);for(t=n=m;r=e.prev[--t],e.prev[t]=m<=r?r-m:0,--n;);a+=m}if(e.strm.avail_in===0)break;if(l=e.strm,u=e.window,d=e.strstart+e.lookahead,f=a,p=void 0,p=l.avail_in,f=C)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<=C&&(e.ins_h=(e.ins_h<=C)if(r=a._tr_tally(e,e.strstart-e.match_start,e.match_length-C),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=C){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=C&&(e.ins_h=(e.ins_h<=C&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-C,r=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-C),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(B(e),e.lookahead===0&&t===l)return O;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,I(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-T&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):(e.strstart>e.block_start&&(I(e,!1),e.strm.avail_out),O)}),new U(4,4,8,4,V),new U(4,5,16,8,V),new U(4,6,32,32,V),new U(4,4,16,16,H),new U(8,16,32,32,H),new U(8,16,128,128,H),new U(8,32,128,256,H),new U(32,128,258,1024,H),new U(32,258,258,4096,H)],n.deflateInit=function(e,t){return ne(e,t,g,15,8,0)},n.deflateInit2=ne,n.deflateReset=te,n.deflateResetKeep=ee,n.deflateSetHeader=function(e,t){return e&&e.state&&e.state.wrap===2?(e.state.gzhead=t,d):f},n.deflate=function(e,t){var n,i,o,c;if(!e||!e.state||5>8&255),L(i,i.gzhead.time>>16&255),L(i,i.gzhead.time>>24&255),L(i,i.level===9?2:2<=i.strategy||i.level<2?4:0),L(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(L(i,255&i.gzhead.extra.length),L(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(L(i,0),L(i,0),L(i,0),L(i,0),L(i,0),L(i,i.level===9?2:2<=i.strategy||i.level<2?4:0),L(i,3),i.status=D);else{var p=g+(i.w_bits-8<<4)<<8;p|=(2<=i.strategy||i.level<2?0:i.level<6?1:i.level===6?2:3)<<6,i.strstart!==0&&(p|=32),p+=31-p%31,i.status=D,R(i,p),i.strstart!==0&&(R(i,e.adler>>>16),R(i,65535&e.adler)),e.adler=1}if(i.status===69)if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending!==i.pending_buf_size));)L(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(i.status===73)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindexo&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),c===0&&(i.gzindex=0,i.status=91)}else i.status=91;if(i.status===91)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindexo&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),c===0&&(i.status=103)}else i.status=103;if(i.status===103&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&F(e),i.pending+2<=i.pending_buf_size&&(L(i,255&e.adler),L(i,e.adler>>8&255),e.adler=0,i.status=D)):i.status=D),i.pending!==0){if(F(e),e.avail_out===0)return i.last_flush=-1,d}else if(e.avail_in===0&&N(t)<=N(n)&&t!==u)return M(e,-5);if(i.status===666&&e.avail_in!==0)return M(e,-5);if(e.avail_in!==0||i.lookahead!==0||t!==l&&i.status!==666){var m=i.strategy===2?function(e,t){for(var n;;){if(e.lookahead===0&&(B(e),e.lookahead===0)){if(t===l)return O;break}if(e.match_length=0,n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}(i,t):i.strategy===3?function(e,t){for(var n,r,i,o,s=e.window;;){if(e.lookahead<=w){if(B(e),e.lookahead<=w&&t===l)return O;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=C&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=C?(n=a._tr_tally(e,1,e.match_length-C),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}(i,t):r[i.level].func(i,t);if(m!==A&&m!==j||(i.status=666),m===O||m===A)return e.avail_out===0&&(i.last_flush=-1),d;if(m===k&&(t===1?a._tr_align(i):t!==5&&(a._tr_stored_block(i,0,0,!1),t===3&&(P(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),F(e),e.avail_out===0))return i.last_flush=-1,d}return t===u?i.wrap<=0?1:(i.wrap===2?(L(i,255&e.adler),L(i,e.adler>>8&255),L(i,e.adler>>16&255),L(i,e.adler>>24&255),L(i,255&e.total_in),L(i,e.total_in>>8&255),L(i,e.total_in>>16&255),L(i,e.total_in>>24&255)):(R(i,e.adler>>>16),R(i,65535&e.adler)),F(e),0=n.w_size&&(s===0&&(P(n.head),n.strstart=0,n.block_start=0,n.insert=0),p=new i.Buf8(n.w_size),i.arraySet(p,t,m-n.w_size,n.w_size,0),t=p,m=n.w_size),c=e.avail_in,l=e.next_in,u=e.input,e.avail_in=m,e.next_in=0,e.input=t,B(n);n.lookahead>=C;){for(r=n.strstart,a=n.lookahead-(C-1);n.ins_h=(n.ins_h<>>=b=y>>>24,m-=b,(b=y>>>16&255)==0)E[a++]=65535&y;else{if(!(16&b)){if(!(64&b)){y=h[(65535&y)+(p&(1<>>=b,m-=b),m<15&&(p+=T[r++]<>>=b=y>>>24,m-=b,!(16&(b=y>>>16&255))){if(!(64&b)){y=g[(65535&y)+(p&(1<>>=b,m-=b,(b=a-o)>3,p&=(1<<(m-=x<<3))-1,e.next_in=r,e.next_out=a,e.avail_in=r>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function _(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg=``,t.wrap&&(e.adler=1&t.wrap),t.mode=f,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(p),t.distcode=t.distdyn=new r.Buf32(m),t.sane=1,t.back=-1,u):d}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,_(e)):d}function y(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15=o.wsize?(r.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i<(a=o.wsize-o.wnext)&&(a=i),r.arraySet(o.window,t,n-i,a,o.wnext),(i-=a)?(r.arraySet(o.window,t,n-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,n.check=a(n.check,B,2,0),x=b=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&b)<<8)+(b>>8))%31){e.msg=`incorrect header check`,n.mode=30;break}if((15&b)!=8){e.msg=`unknown compression method`,n.mode=30;break}if(x-=4,F=8+(15&(b>>>=4)),n.wbits===0)n.wbits=F;else if(F>n.wbits){e.msg=`invalid window size`,n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),x=b=0,n.mode=3;case 3:for(;x<32;){if(v===0)break e;v--,b+=p[g++]<>>8&255,B[2]=b>>>16&255,B[3]=b>>>24&255,n.check=a(n.check,B,4,0)),x=b=0,n.mode=4;case 4:for(;x<16;){if(v===0)break e;v--,b+=p[g++]<>8),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),x=b=0,n.mode=5;case 5:if(1024&n.flags){for(;x<16;){if(v===0)break e;v--,b+=p[g++]<>>8&255,n.check=a(n.check,B,2,0)),x=b=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(v<(E=n.length)&&(E=v),E&&(n.head&&(F=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),r.arraySet(n.head.extra,p,g,E,F)),512&n.flags&&(n.check=a(n.check,p,E,g)),v-=E,g+=E,n.length-=E),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(v===0)break e;for(E=0;F=p[g+ E++],n.head&&F&&n.length<65536&&(n.head.name+=String.fromCharCode(F)),F&&E>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;x<32;){if(v===0)break e;v--,b+=p[g++]<>>=7&x,x-=7&x,n.mode=27;break}for(;x<3;){if(v===0)break e;v--,b+=p[g++]<>>=1)){case 0:n.mode=14;break;case 1:if(w(n),n.mode=20,t!==6)break;b>>>=2,x-=2;break e;case 2:n.mode=17;break;case 3:e.msg=`invalid block type`,n.mode=30}b>>>=2,x-=2;break;case 14:for(b>>>=7&x,x-=7&x;x<32;){if(v===0)break e;v--,b+=p[g++]<>>16^65535)){e.msg=`invalid stored block lengths`,n.mode=30;break}if(n.length=65535&b,x=b=0,n.mode=15,t===6)break e;case 15:n.mode=16;case 16:if(E=n.length){if(v>>=5,x-=5,n.ndist=1+(31&b),b>>>=5,x-=5,n.ncode=4+(15&b),b>>>=4,x-=4,286>>=3,x-=3}for(;n.have<19;)n.lens[V[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,L={bits:n.lenbits},I=s(0,n.lens,0,19,n.lencode,0,n.work,L),n.lenbits=L.bits,I){e.msg=`invalid code lengths set`,n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<>>=k,x-=k,n.lens[n.have++]=j;else{if(j===16){for(R=k+2;x>>=k,x-=k,n.have===0){e.msg=`invalid bit length repeat`,n.mode=30;break}F=n.lens[n.have-1],E=3+(3&b),b>>>=2,x-=2}else if(j===17){for(R=k+3;x>>=k)),b>>>=3,x-=3}else{for(R=k+7;x>>=k)),b>>>=7,x-=7}if(n.have+E>n.nlen+n.ndist){e.msg=`invalid bit length repeat`,n.mode=30;break}for(;E--;)n.lens[n.have++]=F}}if(n.mode===30)break;if(n.lens[256]===0){e.msg=`invalid code -- missing end-of-block`,n.mode=30;break}if(n.lenbits=9,L={bits:n.lenbits},I=s(c,n.lens,0,n.nlen,n.lencode,0,n.work,L),n.lenbits=L.bits,I){e.msg=`invalid literal/lengths set`,n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,L={bits:n.distbits},I=s(l,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,L),n.distbits=L.bits,I){e.msg=`invalid distances set`,n.mode=30;break}if(n.mode=20,t===6)break e;case 20:n.mode=21;case 21:if(6<=v&&258<=y){e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=x,o(e,C),_=e.next_out,m=e.output,y=e.avail_out,g=e.next_in,p=e.input,v=e.avail_in,b=n.hold,x=n.bits,n.mode===12&&(n.back=-1);break}for(n.back=0;A=(z=n.lencode[b&(1<>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<>M)])>>>16&255,j=65535&z,!(M+(k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<>>=M,x-=M,n.back+=M}if(b>>>=k,x-=k,n.back+=k,n.length=j,A===0){n.mode=26;break}if(32&A){n.back=-1,n.mode=12;break}if(64&A){e.msg=`invalid literal/length code`,n.mode=30;break}n.extra=15&A,n.mode=22;case 22:if(n.extra){for(R=n.extra;x>>=n.extra,x-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;A=(z=n.distcode[b&(1<>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<>M)])>>>16&255,j=65535&z,!(M+(k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<>>=M,x-=M,n.back+=M}if(b>>>=k,x-=k,n.back+=k,64&A){e.msg=`invalid distance code`,n.mode=30;break}n.offset=j,n.extra=15&A,n.mode=24;case 24:if(n.extra){for(R=n.extra;x>>=n.extra,x-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg=`invalid distance too far back`,n.mode=30;break}n.mode=25;case 25:if(y===0)break e;if(E=C-y,n.offset>E){if((E=n.offset-E)>n.whave&&n.sane){e.msg=`invalid distance too far back`,n.mode=30;break}D=E>n.wnext?(E-=n.wnext,n.wsize-E):n.wnext-E,E>n.length&&(E=n.length),O=n.window}else O=m,D=_-n.offset,E=n.length;for(yv?(b=L[R+d[w]],N[P+d[w]]):(b=96,0),p=1<>k)+(m-=p)]=y<<24|b<<16|x|0,m!==0;);for(p=1<>=1;if(p===0?M=0:(M&=p-1,M+=p),w++,--F[C]==0){if(C===E)break;C=t[n+d[w]]}if(D>>7)]}function L(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function R(e,t,n){e.bi_valid>h-n?(e.bi_buf|=t<>h-e.bi_valid,e.bi_valid+=n-h):(e.bi_buf|=t<>>=1,n<<=1,0<--t;);return n>>>1}function V(e,t,n){var r,i,a=Array(m+1),o=0;for(r=1;r<=m;r++)a[r]=o=o+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];s!==0&&(e[2*i]=B(a[s]++,s))}}function H(e){var t;for(t=0;t>1;1<=n;n--)ee(e,a,n);for(i=c;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],ee(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,ee(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,a,o,s,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,g=t.stat_desc.max_length,_=0;for(a=0;a<=m;a++)e.bl_count[a]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n>=7;r>>=1)if(1&n&&e.dyn_ltree[2*t]!==0)return i;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return a;for(t=32;t>>3,(s=e.static_len+3+7>>>3)<=o&&(o=s)):o=s=n+5,n+4<=o&&t!==-1?K(e,t,n,r):e.strategy===4||s===o?(R(e,2+ +!!r,3),te(e,T,E)):(R(e,4+ +!!r,3),function(e,t,n,r){var i;for(R(e,t-257,5),R(e,n-1,5),R(e,r-4,4),i=0;i>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,t===0?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(O[n]+l+1)]++,e.dyn_dtree[2*I(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){R(e,2,3),z(e,_,T),function(e){e.bi_valid===16?(L(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,n){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=``,this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){(function(e){(function(e,t){if(!e.setImmediate){var n,r,i,a,o=1,s={},c=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,n={}.toString.call(e.process)===`[object process]`?function(e){process.nextTick(function(){f(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage(``,`*`),e.onmessage=n,t}}()?(a=`setImmediate$`+Math.random()+`$`,e.addEventListener?e.addEventListener(`message`,p,!1):e.attachEvent(`onmessage`,p),function(t){e.postMessage(a+t,`*`)}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){f(e.data)},function(e){i.port2.postMessage(e)}):l&&`onreadystatechange`in l.createElement(`script`)?(r=l.documentElement,function(e){var t=l.createElement(`script`);t.onreadystatechange=function(){f(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):function(e){setTimeout(f,0,e)},u.setImmediate=function(e){typeof e!=`function`&&(e=Function(``+e));for(var t=Array(arguments.length-1),r=0;r`u`?e===void 0?this:e:self)}).call(this,typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{}]},{},[10])(10)})}))(),1),{Search:Nae}=fG,{Text:Pae}=Q,Fae=e=>{let t=S.useRef(!1);(0,S.useEffect)(()=>{if(t.current)return;let n=()=>{t.current||(t.current=!0,e?.())};return document.readyState===`complete`?n():window.addEventListener(`load`,n),()=>{window.removeEventListener(`load`,n)}},[e])},Iae=()=>{let[e,t]=(0,S.useState)(!1);Fae(()=>{t(!0)});let[n,r]=(0,S.useState)(`project`),[i,a]=(0,S.useState)(`video`),[o,s]=(0,S.useState)([]),[c,l]=(0,S.useState)({page:1,pageSize:10}),[u,d]=(0,S.useState)(0),[f,p]=(0,S.useState)(!1),[m,h]=(0,S.useState)(new Set),[g,_]=(0,S.useState)(!1),[v,y]=(0,S.useState)(null),b=S.createRef(),[x,C]=(0,S.useState)(``),[w,T]=(0,S.useState)(!1),[E,D]=(0,S.useState)(!1),[O,k]=(0,S.useState)([[]]),[A,j]=(0,S.useState)([``]),[M,N]=(0,S.useState)([]),[P,F]=(0,S.useState)(!1),[I,L]=(0,S.useState)(0),[R,z]=(0,S.useState)([void 0]),[B,V]=(0,S.useState)(new Map),[H,U]=(0,S.useState)(``),[W,ee]=(0,S.useState)(new Map),te=(0,S.useRef)(new Map);(0,S.useEffect)(()=>()=>{te.current.forEach(e=>clearTimeout(e)),te.current.clear()},[]);let[ne,re]=(0,S.useState)(1),[G,ie]=(0,S.useState)(10),[K,ae]=(0,S.useState)([!1]),[q,oe]=(0,S.useState)(`new`),[se,ce]=(0,S.useState)([]),[le,ue]=(0,S.useState)(!1),[de,fe]=(0,S.useState)([]),[pe,me]=(0,S.useState)({}),[he,ge]=(0,S.useState)(`2`),[_e,ve]=(0,S.useState)(``),[ye,be]=(0,S.useState)([]),[xe,Se]=(0,S.useState)(!1),[Ce,we]=(0,S.useState)(!1),[Te,Ee]=(0,S.useState)([]),[De,Oe]=(0,S.useState)(0),[ke,Ae]=(0,S.useState)(1),[je,Me]=(0,S.useState)(10),[Ne,Pe]=(0,S.useState)(!1),[Fe,Ie]=(0,S.useState)(``),[Le,Re]=(0,S.useState)(!1),[ze,Be]=(0,S.useState)(new Set),Ve=e=>{if(!e)return null;try{let t=new URL(e).searchParams.get(`exp`);return t?parseInt(t,10):null}catch{try{let t=e.indexOf(`?`);if(t!==-1){let n=e.substring(t+1),r=new URLSearchParams(n).get(`exp`);if(r)return parseInt(r,10)}return null}catch{return null}}},He=e=>{let t=Ve(e);return t?Math.floor(Date.now()/1e3)>t:!1},Ue=(e,t=!1)=>{let n=`http://ceshi.apiforeign.minzhong.cn`,r=e.startsWith(`/`)?e.slice(1):e,i=n.endsWith(`/`)?n.slice(0,-1):n;return t?`${i}/static/${r}&w=300&q=50`:`${i}/${r}`},We=e=>{y(e),_(!0),window.dispatchEvent(new Event(`previewOpen`))},Ge=()=>{b.current&&(b.current.pause(),b.current.currentTime=0),document.querySelectorAll(`video`).forEach(e=>{e.pause(),e.currentTime=0}),_(!1)},Ke=e=>e.generatedResourceId||e.id,qe=e=>!!e.generatedResourceId,Je=e=>{if(!e)return!0;let t=e.match(/^(\d+)x(\d+)$/);if(!t)return!0;let n=parseInt(t[1],10),r=parseInt(t[2],10),i=n/r;return n>=r?n>=480&&n<=2560&&r>=270&&r<=1440&&i>=1.775&&i<=1.784:n>=270&&n<=1440&&r>=480&&r<=2560&&i>=.555&&i<=.564},Ye=e=>{Be(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},Xe=()=>{let e=o.flatMap(e=>e.items.map(e=>Ke(e)));ze.size===e.length?Be(new Set):Be(new Set(e))},Ze=async()=>{if(ze.size===0){Z.warning(`请先选择要下载的媒体`);return}if(ze.size>30){Z.warning(`最多只能单次下载30个文件`);return}let e=[];o.forEach(t=>{t.items.forEach(t=>{ze.has(Ke(t))&&e.push(t)})});let t=new Mae.default,n=`http://ceshi.apiforeign.minzhong.cn`,r=t.folder(`downloads`),i=!1,a=0;Z.loading({content:`下载中,请稍候...`,key:`downloadProgress`});for(let t of e){let e=`${n}${t.videoUrl||t.imageUrl}`,o=((t.videoUrl||t.imageUrl).split(`/`).pop()||`file_${Date.now()}`).split(`?`)[0];try{let t=await fetch(e);if(!t.ok)throw Error(`Network response was not ok`);let n=await t.blob();r?.file(o,n),a++}catch{console.warn(`文件下载失败(CORS限制): ${o},将使用备用方式下载`),i=!0;break}}if(i){Z.destroy(`downloadProgress`),Z.info(`由于跨域限制,将逐个下载文件`),e.forEach((e,t)=>{setTimeout(()=>{let t=`${n}${e.videoUrl||e.imageUrl}&download=1`,r=document.createElement(`a`);r.href=t,r.download=``,document.body.appendChild(r),r.click(),document.body.removeChild(r)},t*500)});return}let s=await t.generateAsync({type:`blob`}),c=document.createElement(`a`);c.href=URL.createObjectURL(s),c.download=`downloads_${Date.now()}.zip`,c.click(),URL.revokeObjectURL(c.href),Z.destroy(`downloadProgress`),Z.success(`下载完成,共 ${a} 个文件`),Re(!1),Be(new Set)},Qe=async()=>{if(ze.size===0){Z.warning(`请先选择要删除的媒体`);return}if(ze.size>30){Z.warning(`最多只能单次删除30个文件`);return}let e=o.flatMap(e=>e.items.filter(e=>ze.has(Ke(e)))),t=``;t=n===`shot_replicate`?(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{marginBottom:8},children:`以下内容所连带的图片和视频都将被删除:`}),(0,$.jsx)(`ul`,{style:{margin:0,paddingLeft:20},children:e.map((e,t)=>(0,$.jsxs)(`li`,{style:{marginBottom:4,color:`#334155`},children:[e.shotReplicateProjectTitle,`— —`,e.shotSegmentLabel]},t))}),(0,$.jsx)(`div`,{style:{marginTop:12},children:`确定删除吗?`})]}):n===`hot_opening_replicate`?(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{marginBottom:8},children:`爆款开头复刻中以下内容所连带的图片和视频都将被删除:`}),(0,$.jsx)(`ul`,{style:{margin:0,paddingLeft:20},children:e.map((e,t)=>(0,$.jsx)(`li`,{style:{marginBottom:4,color:`#334155`},children:e.moduleProjectTitle},t))}),(0,$.jsx)(`div`,{style:{marginTop:12},children:`确定删除吗?`})]}):`确定删除选中的 ${ze.size} 条记录吗?`,WK.confirm({title:`确认删除`,content:t,okText:`确定删除`,cancelText:`取消`,okButtonProps:{danger:!0},onOk:async()=>{let e=``;n===`project`?e=`generation_record`:n===`creation`?e=`chat_task`:n===`hot_opening_replicate`?e=`hot_opening_replicate`:n===`shot_replicate`&&(e=`shot_replicate`);let t=[];o.forEach(e=>{e.items.forEach(e=>{ze.has(Ke(e))&&t.push(e)})});let r=[];e===`generation_record`||e===`chat_task`?r=t.map(e=>e.id):e===`hot_opening_replicate`?r=t.map(e=>e.moduleProjectId):e===`shot_replicate`&&(r=t.map(e=>e.shotSegmentId));let i={history_source:e,ids:r};try{await U7(i),Z.success(`删除成功`),Re(!1),Be(new Set),l(e=>({...e,page:1})),pt()}catch{Z.error(`删除失败,请重试`)}}})},$e=async()=>{Se(!0);try{let e=await k7({page:1,pageSize:100});be(e.data?.data||e.data||[])}catch(e){console.error(`加载前测模板失败:`,e)}finally{Se(!1)}},et=()=>{if(ze.size===0){Z.warning(`请先选择要推送的媒体`);return}k([[]]),j([``]),z([void 0]),ge(`2`),ve(``),$e(),D(!0)},tt=()=>{if(!v)return;let e=Ke(v);Be(new Set([e])),k([[]]),j([``]),z([void 0]),V(new Map),U(``),ge(`2`),ve(``),$e(),D(!0)},nt=async(e,t)=>{F(!0);try{let n=await O7({page:e,page_size:t});N(n?.data||n||[]),L(n.pagination.total||0)}catch(e){console.error(`加载授权列表失败:`,e),N([]),L(0)}finally{F(!1)}},rt=async()=>{ue(!0);try{let[e,t]=await Promise.all([pie(),V7()]);ce(e?.data||[]);let n=t?.data||[],r={};n.forEach(e=>{r[e.openType]=e.typeName}),me(r)}catch(e){console.error(`加载历史授权账户列表失败:`,e),ce([]),me({})}finally{ue(!1)}},it=async()=>{Pe(!0);try{let e=await aie({status:Fe||void 0,page:ke,pageSize:je});Ee(e?.data||e||[]),Oe(e.pagination?.total||e.total||0)}catch(e){console.error(`加载推送历史失败:`,e),Ee([]),Oe(0)}finally{Pe(!1)}},at=()=>{we(!0),Ae(1),Ie(``),it()},ot=()=>{Ae(1),it()},st=(e,t)=>{Ae(e),Me(t),it()},ct=async()=>{if(ze.size===0){Z.warning(`请先选择要推送的媒体`);return}let e=new Map;o.forEach(t=>{t.items.forEach(t=>{let n=Ke(t);e.set(n,t)})});let t=[];if(q===`new`){let n=R.filter(e=>e!==void 0);if(n.length===0){Z.warning(`请先选择授权账户`);return}for(let r=0;re.accountId)||[];if(a.length===0){Z.warning(`第 ${r+1} 组授权账户未设置账户ID,已跳过`);continue}let o=new Map;for(let t of ze){let n=e.get(t),r;n&&qe(n)&&(r=`generated_resources`),o.has(r)||o.set(r,[]),o.get(r).push(t)}o.forEach((e,n)=>{t.push({advertiser_ids:a,resource_ids:e,oauth_id:i.value,source_model:n,is_pre_test:he,pre_test_template:_e})})}}else{if(de.length===0){Z.warning(`请先选择历史账户`);return}for(let r of de){let i=new Map;for(let t of ze){let r=e.get(t),a;a=r&&qe(r)?`generated_resources`:n===`project`?`generation_records`:`chat_generation_tasks`,i.has(a)||i.set(a,[]),i.get(a).push(t)}i.forEach((e,n)=>{t.push({advertiser_ids:[r.advertiserId],resource_ids:e,oauth_id:String(r.oauthId),source_model:n,is_pre_test:he,pre_test_template:_e})})}}T(!0);try{let e=await iie({tasks:t});e.errors?.length>0?Z.warning(e.message):e.code===0?Z.success(e.message):Z.error(e.message),Re(!1),Be(new Set),D(!1),k([[]]),j([``]),z([void 0]),fe([]),V(new Map),U(``),ge(`2`),ve(``)}catch(e){console.error(`批量推送失败:`,e),Z.error(e.message||`批量推送失败`)}finally{T(!1)}},lt=async(e,t)=>{if(t.trim())try{let n=(await z7({filenames:[{source_id:e,file_name:t}]}))?.results?.find(t=>t.source_id===e)?.new_file_name||t;s(t=>t.map(t=>({...t,items:t.items.map(t=>Ke(t)===e?{...t,fileName:n}:t)}))),Z.success(`文件名更新成功`)}catch(e){console.error(`文件名更新失败:`,e),Z.error(e.message||`文件名更新失败`)}},ut=async(e,t)=>{if(!(!t.trim()||e.length===0))try{let n=await z7({filenames:e.map(e=>({source_id:e,file_name:t}))}),r=new Map;n?.results?.forEach(e=>{e.success&&e.newFileName&&r.set(e.sourceId,e.newFileName)}),s(n=>{let i=new Set(e);return n.map(e=>({...e,items:e.items.map(e=>{let n=Ke(e);if(i.has(n)){let i=r.get(n)||t;return{...e,fileName:i}}return e})}))}),console.log(n);let i=n?.successCount||0;Z.success(`已更新 ${i} 个文件名`)}catch(e){console.error(`文件名更新失败:`,e),Z.error(e.message||`文件名更新失败`)}},dt=e=>{C(e)},ft=e=>new Promise(t=>{let n=document.createElement(`video`),r=`http://ceshi.apiforeign.minzhong.cn`,i=e.startsWith(`/`)?e.slice(1):e;n.src=`${r.endsWith(`/`)?r.slice(0,-1):r}/${i}`,n.crossOrigin=`anonymous`,n.onloadedmetadata=()=>{let e=n.videoWidth,r=n.videoHeight;n.remove(),t(`${e}x${r}`)},n.onerror=()=>{n.remove(),t(``)},n.onabort=()=>{n.remove(),t(``)},setTimeout(()=>{n.remove(),t(``)},5e3)}),pt=()=>{if(n===`private_portrait`){p(!1),s([]);return}p(!0);let t=``;n===`project`?t=`generation_record`:n===`hot_opening_replicate`?t=`hot_opening_replicate`:n===`shot_replicate`&&(t=`shot_replicate`);let r=`?gen_type=${i}&page=${c.page}&page_size=${c.pageSize}`;if(t&&(r=`?gen_type=${i}&history_source=${t}&page=${c.page}&page_size=${c.pageSize}`),x){let n=`${x}?gen_type=${i}&page=${c.page}&page_size=${c.pageSize}`;t&&(n=`${x}?gen_type=${i}&history_source=${t}&page=${c.page}&page_size=${c.pageSize}`),S7(n).then(t=>{let n=Array.isArray(t)?t:t?.items||[],r=[{generatedDate:t.generatedDate,items:n,total:t.total,page:t.page}];r&&r[0].items.length>0?s(r):s([]),e&&n.forEach(async e=>{if(e.videoUrl&&e.videoUrl.trim()){let t=await ft(e.videoUrl);t&&s(n=>n.map(n=>({...n,items:n.items.map(n=>n.id===e.id?{...n,imagePx:t}:n)})))}})}).catch(e=>{}).finally(()=>{p(!1)})}else Rre(r).then(t=>{let n=Array.isArray(t)?t:t?.groups||[];n.forEach(e=>{e.page=1}),c.page===1?s(n):s(e=>[...e,...n]),d(t?.totalDays||0),e&&n.forEach(e=>{e.items.forEach(async e=>{if(e.videoUrl&&e.videoUrl.trim()){let t=await ft(e.videoUrl);t&&s(n=>n.map(n=>({...n,items:n.items.map(n=>n.id===e.id?{...n,imagePx:t}:n)})))}})})}).catch(e=>{c.page===1&&s([])}).finally(()=>{p(!1)})};(0,S.useEffect)(()=>{pt()},[n,i,c.page,x]);let mt=()=>{f||l(e=>({...e,page:e.page+1}))},ht=async(e,t,r)=>{if(m.has(t))return;h(e=>new Set([...e,t]));let a=r+1,o=``;n===`project`?o=`generation_record`:n===`hot_opening_replicate`?o=`hot_opening_replicate`:n===`shot_replicate`&&(o=`shot_replicate`);let l=`${e}?gen_type=${i}&page=${a}&page_size=${c.pageSize}`;o&&(l=`${e}?gen_type=${i}&history_source=${o}&page=${a}&page_size=${c.pageSize}`);try{let t=(await S7(l)).items||[];t&&t.length>0&&s(n=>n.map(n=>n.generatedDate===e?{...n,items:[...n.items,...t],page:a}:n))}catch{}finally{h(e=>{let n=new Set(e);return n.delete(t),n})}};return(0,S.useEffect)(()=>{l(e=>({...e,page:1}))},[n,i]),(0,$.jsxs)(`div`,{style:{minHeight:`calc(100vh - 90px)`,background:`#ffffffff`,overflowY:`auto`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,flexWrap:`wrap`,alignItems:`center`,gap:12,marginBottom:16,padding:`12px 16px`,borderRadius:12,background:`#fff`,border:`1px solid #f0f0f5`,justifyContent:`space-between`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:4,flexWrap:`wrap`},children:[(0,$.jsx)(F3,{style:{color:`#090a0cff`,fontSize:14}}),(0,$.jsxs)(LH,{size:8,wrap:!0,children:[(0,$.jsx)(X,{type:n===`project`?`primary`:`default`,onClick:()=>{r(`project`),Re(!1),Be(new Set)},style:{borderRadius:8,background:n===`project`?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`#f8f9fc`,border:n===`project`?`none`:`1px solid #e2e8f0`,color:n===`project`?`#fff`:`#64748b`,fontWeight:600},icon:(0,$.jsx)(SZ,{}),children:`项目记录`}),(0,$.jsx)(X,{type:n===`creation`?`primary`:`default`,onClick:()=>{r(`creation`),Re(!1),Be(new Set)},style:{borderRadius:8,background:n===`creation`?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`#f8f9fc`,border:n===`creation`?`none`:`1px solid #e2e8f0`,color:n===`creation`?`#fff`:`#64748b`,fontWeight:600},icon:(0,$.jsx)(HH,{}),children:`创作记录`}),(0,$.jsx)(X,{type:n===`hot_opening_replicate`?`primary`:`default`,onClick:()=>{r(`hot_opening_replicate`),Re(!1),Be(new Set)},style:{borderRadius:8,background:n===`hot_opening_replicate`?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`#f8f9fc`,border:n===`hot_opening_replicate`?`none`:`1px solid #e2e8f0`,color:n===`hot_opening_replicate`?`#fff`:`#64748b`,fontWeight:600},icon:(0,$.jsx)(x5,{}),children:`爆款复刻`}),(0,$.jsx)(X,{type:n===`shot_replicate`?`primary`:`default`,onClick:()=>{r(`shot_replicate`),Re(!1),Be(new Set)},style:{borderRadius:8,background:n===`shot_replicate`?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`#f8f9fc`,border:n===`shot_replicate`?`none`:`1px solid #e2e8f0`,color:n===`shot_replicate`?`#fff`:`#64748b`,fontWeight:600},icon:(0,$.jsx)(C8,{}),children:`拆镜复刻`}),(0,$.jsx)(X,{type:n===`private_portrait`?`primary`:`default`,onClick:()=>{r(`private_portrait`),Re(!1),Be(new Set)},style:{borderRadius:8,background:n===`private_portrait`?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`#f8f9fc`,border:n===`private_portrait`?`none`:`1px solid #e2e8f0`,color:n===`private_portrait`?`#fff`:`#64748b`,fontWeight:600},icon:(0,$.jsx)(I5,{}),children:`真人素材库`})]})]}),n!==`private_portrait`&&(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:4,flexWrap:`wrap`},children:Le?(0,$.jsxs)(LH,{size:8,wrap:!0,children:[(0,$.jsx)(X,{onClick:Xe,style:{borderRadius:8,background:`#f8f9fc`,border:`1px solid #e2e8f0`,color:`#222222ff`,fontWeight:600},children:ze.size===o.reduce((e,t)=>e+t.items.length,0)?`取消全选`:`全选`}),(0,$.jsx)(X,{onClick:()=>{Re(!1),Be(new Set)},style:{borderRadius:8,background:`#f8f9fc`,border:`1px solid #e2e8f0`,color:`#64748b`,fontWeight:600},children:`取消选择`}),(0,$.jsxs)(X,{onClick:()=>Qe(),style:{borderRadius:8,background:`linear-gradient(135deg, #bf0b0a 0%, #ff8165 100%)`,fontWeight:600,padding:`8px 24px`,color:`#fff`},children:[`删除 (`,ze.size,`)`]}),(0,$.jsxs)(X,{onClick:()=>Ze(),style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,color:`#fff`,fontWeight:600},children:[`下载 (`,ze.size,`)`]}),(0,$.jsx)(X,{type:`primary`,onClick:et,loading:w,disabled:w||ze.size===0,style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,color:`#fff`,fontWeight:600},children:w?`推送中...`:`推送至账户 (${ze.size})`})]}):(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(N5,{}),onClick:()=>Re(!0),style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,fontWeight:600},children:`批量操作`})})]}),n===`private_portrait`?(0,$.jsx)(fae,{}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,flexWrap:`wrap`,justifyContent:`space-between`,alignItems:`center`,gap:12,marginBottom:24,padding:`12px 16px`,borderRadius:12,background:`#fff`,border:`1px solid #f0f0f5`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(Q.Text,{style:{color:`#94a3b8`,fontSize:14},children:`媒体类型:`}),(0,$.jsxs)(LH,{size:8,wrap:!0,children:[(0,$.jsx)(X,{type:i===`video`?`primary`:`default`,onClick:()=>{a(`video`),Re(!1),Be(new Set)},style:{borderRadius:8,background:i===`video`?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`#f8f9fc`,border:i===`video`?`none`:`1px solid #e2e8f0`,color:i===`video`?`#fff`:`#64748b`,fontWeight:600},icon:(0,$.jsx)(R5,{}),children:`视频`}),(0,$.jsx)(X,{type:i===`image`?`primary`:`default`,onClick:()=>{a(`image`),Re(!1),Be(new Set)},style:{borderRadius:8,background:i===`image`?`linear-gradient(135deg, #6366f1, #8b5cf6)`:`#f8f9fc`,border:i===`image`?`none`:`1px solid #e2e8f0`,color:i===`image`?`#fff`:`#64748b`,fontWeight:600},icon:(0,$.jsx)(m8,{}),children:`图片`}),(0,$.jsx)(GV,{picker:`date`,value:x?(0,XE.default)(x):void 0,onChange:(e,t)=>dt(t||``),format:`YYYY-MM-DD`,style:{width:160,borderRadius:8,border:`1px solid #e2e8f0`},placeholder:`选择日期`}),x&&(0,$.jsx)(X,{type:`text`,onClick:()=>dt(``),style:{color:`#94a3b8`,fontSize:12},children:`清除`})]})]}),(0,$.jsx)(X,{icon:(0,$.jsx)(RV,{}),onClick:at,style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,color:`#ffffff`,fontWeight:600,boxShadow:`0 4px 15px rgba(102, 126, 234, 0.4)`,transition:`all 0.3s ease`},onMouseEnter:e=>{e.currentTarget.style.transform=`translateY(-2px)`,e.currentTarget.style.boxShadow=`0 6px 20px rgba(102, 126, 234, 0.6)`},onMouseLeave:e=>{e.currentTarget.style.transform=`translateY(0)`,e.currentTarget.style.boxShadow=`0 4px 15px rgba(102, 126, 234, 0.4)`},children:`查询推送任务历史`})]}),f?(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,minHeight:`400px`},children:(0,$.jsx)(yK,{indicator:(0,$.jsx)(Xm,{style:{fontSize:24,color:`#64748b`},spin:!0}),tip:`加载中...`,size:`large`})}):o.length===0?(0,$.jsx)(gC,{image:gC.PRESENTED_IMAGE_SIMPLE,description:`暂无生成记录`,style:{padding:`60px 0`}}):(0,$.jsxs)(`div`,{style:{padding:`0 4px`},children:[o.map((e,t)=>(0,$.jsxs)(`div`,{style:{marginBottom:32},children:[(0,$.jsx)(`div`,{style:{fontSize:14,fontWeight:600,color:`#64748b`,marginBottom:12,paddingLeft:8},children:e.generatedDate}),(0,$.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:8},children:e.items.map(e=>{let t=i===`video`&&e.videoCoverUrl?Ue(e.videoCoverUrl,!0):Ue(i===`video`?e.videoUrl:e.imageUrl,!0),n=i===`video`&&e.videoCoverUrl||i===`image`,r=ze.has(Ke(e));return(0,$.jsxs)(`div`,{className:`media-card`,style:{width:160,height:120,position:`relative`,borderRadius:4,cursor:`pointer`,overflow:`hidden`,boxShadow:`0 2px 8px rgba(0,0,0,0.1)`,transition:`transform 0.2s, box-shadow 0.2s`},onClick:()=>Le?Ye(Ke(e)):We(e),onMouseEnter:e=>{Le||(e.currentTarget.style.transform=`scale(1.05)`,e.currentTarget.style.boxShadow=`0 4px 16px rgba(0,0,0,0.2)`)},onMouseLeave:e=>{Le||(e.currentTarget.style.transform=`scale(1)`,e.currentTarget.style.boxShadow=`0 2px 8px rgba(0,0,0,0.1)`)},children:[n?(0,$.jsxs)(`div`,{style:{width:`100%`,height:`100%`,position:`relative`},children:[(0,$.jsx)(`img`,{src:t,alt:`预览`,style:{width:`100%`,height:`100%`,objectFit:`cover`,opacity:+(W.get(Ke(e))===`loaded`),transition:`opacity 0.3s`},onLoad:()=>{ee(t=>{let n=new Map(t);return n.set(Ke(e),`loaded`),n})},onError:()=>{ee(t=>{let n=new Map(t);return n.set(Ke(e),`error`),n})}}),W.get(Ke(e))!==`loaded`&&(0,$.jsx)(`div`,{style:{position:`absolute`,top:0,left:0,width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%)`},children:(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:8,backgroundColor:`#cbd5e1`,display:`flex`,alignItems:`center`,justifyContent:`center`,animation:W.get(Ke(e))===`loading`?`pulse 1.5s infinite`:`none`},children:e.mediaType===`video`?(0,$.jsx)(R5,{style:{color:`#64748b`,fontSize:16}}):(0,$.jsx)(m8,{style:{color:`#64748b`,fontSize:16}})})})]}):(0,$.jsxs)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,backgroundColor:`#1e293b`},children:[(0,$.jsx)(R5,{style:{color:`#64748b`,fontSize:24}}),(0,$.jsx)(Pae,{style:{fontSize:12,color:`#94a3b8`,marginTop:4},children:`暂无封面`})]}),Le&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:8,left:8,width:20,height:20,borderRadius:`50%`,backgroundColor:r?`#10b981`:`rgba(255,255,255,0.9)`,border:r?`2px solid #10b981`:`2px solid #d1d5db`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,zIndex:10},onClick:t=>{t.stopPropagation(),Ye(Ke(e))},children:r&&(0,$.jsx)(`svg`,{width:12,height:12,viewBox:`0 0 12 12`,fill:`none`,children:(0,$.jsx)(`path`,{d:`M10 3L4.5 8.5L2 6`,stroke:`white`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`})})}),r&&i===`video`&&e.imagePx&&!Je(e.imagePx)&&(0,$.jsx)(`div`,{style:{position:`absolute`,top:36,left:8,right:8,padding:`4px 8px`,backgroundColor:`rgba(239, 68, 68, 0.9)`,color:`#fff`,fontSize:12,borderRadius:4,zIndex:10},children:`视频实际尺寸可能不符合平台推送要求`})]}),!Le&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{position:`absolute`,bottom:0,left:0,right:0,background:`linear-gradient(transparent, rgba(0,0,0,0.5))`,padding:`8px`,color:`#fff`,fontSize:12,opacity:0,transition:`opacity 0.2s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`1`},onMouseLeave:e=>{e.currentTarget.style.opacity=`0`},children:`点击预览`}),(0,$.jsx)(`div`,{className:`media-download-btn`,children:(0,$.jsx)(Iw,{title:`下载`,children:(0,$.jsx)(`div`,{style:{width:28,height:28,borderRadius:`50%`,background:`rgba(0,0,0,0.5)`,backdropFilter:`blur(4px)`,display:`flex`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,transition:`background 0.15s`},onClick:t=>{t.stopPropagation();let n=`http://ceshi.apiforeign.minzhong.cn${e.videoUrl||e.imageUrl}&download=1`,r=document.createElement(`a`);r.href=n,r.download=``,document.body.appendChild(r),r.click(),document.body.removeChild(r)},children:(0,$.jsx)(U0,{style:{color:`#fff`,fontSize:14}})})})})]}),Le&&r&&(0,$.jsx)(`div`,{style:{position:`absolute`,top:0,left:0,right:0,bottom:0,border:`3px solid #10b981`,borderRadius:4,pointerEvents:`none`,zIndex:5}})]},Ke(e))})}),e.total&&e.total>e.items.length&&(0,$.jsx)(`div`,{style:{padding:`12px 0`,textAlign:`left`},children:(0,$.jsx)(X,{onClick:()=>ht(e.generatedDate,e.items,e.page),loading:m.has(e.generatedDate),disabled:m.has(e.generatedDate),size:`small`,style:{borderRadius:6,background:`transparent`,border:`1px dashed #cbd5e1`,color:`#64748b`,fontSize:12},children:m.has(e.date)?`加载中...`:`查看全部 (${e.total})`})})]},t)),o.length>0&&u>o.length&&(0,$.jsx)(`div`,{style:{textAlign:`center`,padding:`20px 0`},children:(0,$.jsx)(X,{onClick:mt,loading:f,disabled:f,style:{borderRadius:8,background:`#f8f9fc`,border:`1px solid #e2e8f0`,color:`#64748b`,fontWeight:500},children:f?`加载中...`:`加载更多`})})]})]}),(0,$.jsxs)(WK,{title:`推送任务历史`,open:Ce,onCancel:()=>we(!1),footer:null,width:800,style:{borderRadius:8},mask:{closable:!1},children:[(0,$.jsxs)(`div`,{style:{marginBottom:16,display:`flex`,gap:4},children:[(0,$.jsx)(KC,{value:Fe,onChange:e=>Ie(e),placeholder:`选择状态`,style:{width:200,marginRight:12},options:[{value:`1`,label:`待推送`},{value:`2`,label:`推送中`},{value:`3`,label:`推送成功`},{value:`4`,label:`推送失败`}],allowClear:!0}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:4},children:[(0,$.jsx)(X,{type:`primary`,onClick:ot,style:{borderRadius:8},children:`查询`}),(0,$.jsx)(X,{icon:(0,$.jsx)(eJ,{}),onClick:ot,style:{borderRadius:8},children:`刷新`})]})]}),(0,$.jsx)(p$,{dataSource:Te,columns:[{title:`素材名称`,dataIndex:`fileName`,key:`fileName`,width:200},{title:`账户ID`,dataIndex:`advertiserId`,key:`advertiserId`,width:180},{title:`状态`,dataIndex:`status`,key:`status`,width:100,render:e=>(0,$.jsx)(E$,{color:{1:`#f59e0b`,2:`#6366f1`,3:`#10b981`,4:`#ef4444`}[e]||`#64748b`,style:{borderRadius:4},children:{1:`待推送`,2:`推送中`,3:`推送成功`,4:`推送失败`}[e]||e})},{title:`备注`,dataIndex:`note`,key:`note`,width:160,ellipsis:!0,render:e=>(0,$.jsx)(`span`,{style:{color:`#94a3b8`},children:e||`-`})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:180,render:e=>A9(e)},{title:`更新时间`,dataIndex:`updatedAt`,key:`updatedAt`,width:180,render:e=>A9(e)}],loading:Ne,scroll:{x:`max-content`},pagination:{current:ke,pageSize:je,total:De,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:st},rowKey:(e,t)=>e.task_id||e.resource_id||t,size:`small`})]}),g&&v&&(0,$.jsx)(WK,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:v.title||`预览`})]}),open:g,onCancel:Ge,width:1200,footer:(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:12,padding:`16px 24px`,background:`#fff`,borderTop:`1px solid #f1f5f9`},children:[(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(U0,{}),onClick:()=>{b.current&&b.current.pause();let e=`http://ceshi.apiforeign.minzhong.cn${v.videoUrl||v.imageUrl}&download=1`,t=document.createElement(`a`);t.href=e,t.download=``,document.body.appendChild(t),t.click(),document.body.removeChild(t)},style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,boxShadow:`0 4px 16px rgba(99, 102, 241, 0.35)`,fontWeight:600,padding:`8px 24px`},disabled:He(v.videoUrl||v.imageUrl),children:He(v.videoUrl||v.imageUrl)?`资源已过期`:`下载`}),(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(B$,{}),onClick:()=>{let e=``,t=``;if(n===`shot_replicate`?(e=v.shotSegmentId,t=(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{marginBottom:8},children:`以下内容所连带的图片和视频都将被删除:`}),(0,$.jsx)(`ul`,{style:{margin:0,paddingLeft:20},children:(0,$.jsxs)(`li`,{style:{marginBottom:4,color:`#334155`},children:[v.shotReplicateProjectTitle,`— —`,v.shotSegmentLabel]})}),(0,$.jsx)(`div`,{style:{marginTop:12},children:`确定删除吗?`})]})):n===`hot_opening_replicate`?(e=v.moduleProjectId,t=(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{marginBottom:8},children:`爆款开头复刻中以下内容所连带的图片和视频都将被删除:`}),(0,$.jsx)(`ul`,{style:{margin:0,paddingLeft:20},children:(0,$.jsx)(`li`,{style:{marginBottom:4,color:`#334155`},children:v.moduleProjectTitle})}),(0,$.jsx)(`div`,{style:{marginTop:12},children:`确定删除吗?`})]})):(e=v.id,t=`确定删除该记录吗?`),!e){Z.warning(`无法获取删除ID`);return}WK.confirm({title:`确认删除`,content:t,okText:`确定删除`,cancelText:`取消`,okButtonProps:{danger:!0},onOk:async()=>{let t=``;n===`project`?t=`generation_record`:n===`creation`?t=`chat_task`:n===`hot_opening_replicate`?t=`hot_opening_replicate`:n===`shot_replicate`&&(t=`shot_replicate`);let r={history_source:t,ids:[e]};try{await U7(r),Z.success(`删除成功`),Ge(),l(e=>({...e,page:1})),pt()}catch{Z.error(`删除失败,请重试`)}}})},style:{borderRadius:8,background:`linear-gradient(135deg, #bf0b0a 0%, #ff8165 100%)`,fontWeight:600,padding:`8px 24px`},disabled:He(v.videoUrl||v.imageUrl),children:`删除`}),(0,$.jsx)(X,{onClick:tt,style:{borderRadius:8,background:`#f8f9fc`,border:`1px solid #e2e8f0`,color:`#64748b`,fontWeight:600,padding:`8px 24px`},disabled:He(v.videoUrl||v.imageUrl),children:`推送媒体后台`})]}),style:{borderRadius:16,overflow:`hidden`},styles:{body:{height:500,display:`flex`,flexDirection:`column`,padding:0},header:{background:`#fff`,borderBottom:`1px solid #f1f5f9`,padding:`16px 24px`},mask:{backgroundColor:`rgba(0, 0, 0, 0.5)`}},children:(0,$.jsxs)(`div`,{style:{width:`100%`,display:`flex`,height:`100%`,background:`#f8fafc`},children:[(0,$.jsx)(`div`,{style:{width:`70%`,height:`100%`,display:`flex`,justifyContent:`center`,alignItems:`center`,padding:20},children:He(v.videoUrl||v.imageUrl)?(0,$.jsxs)(`div`,{style:{textAlign:`center`,padding:`40px`,backgroundColor:`#fff`,borderRadius:12},children:[(0,$.jsx)(`div`,{style:{fontSize:48,marginBottom:16},children:`⚠️`}),(0,$.jsx)(`p`,{style:{fontSize:15,color:`#ef4444`,fontWeight:500,marginBottom:8},children:`资源已过期`}),(0,$.jsx)(`p`,{style:{fontSize:13,color:`#94a3b8`},children:`请刷新页面重新加载`})]}):i===`video`?(0,$.jsx)(`video`,{ref:b,src:`http://ceshi.apiforeign.minzhong.cn${v.videoUrl}`,controls:!0,autoPlay:!0,style:{maxWidth:`100%`,maxHeight:`100%`,borderRadius:12,objectFit:`contain`}}):(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn/static${v.imageUrl}&w=300&q=50`,alt:`预览`,style:{maxWidth:`100%`,maxHeight:`100%`,objectFit:`contain`,borderRadius:12}})}),(0,$.jsxs)(`div`,{style:{width:`30%`,height:`100%`,overflowY:`auto`,scrollbarWidth:`none`,backgroundColor:`#fff`,padding:24,borderLeft:`1px solid #f1f5f9`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:20},children:[(0,$.jsx)(`div`,{style:{width:2,height:18,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:1}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:15,color:`#1e293b`,fontWeight:600},children:`文件信息`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:14},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`类型`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:i===`video`?`视频`:`图片`})]}),n===`hot_opening_replicate`&&(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,gap:4},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`类属`}),(0,$.jsxs)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:500,wordBreak:`break-all`,lineHeight:`1.5`},children:[`爆款复刻——`,v.moduleProjectTitle]})]}),n===`shot_replicate`&&(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,gap:4},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`类属`}),(0,$.jsxs)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:500,wordBreak:`break-all`,lineHeight:`1.5`},children:[v.shotReplicateProjectTitle,`— —`,v.shotSegmentLabel]})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:4},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`请求`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:500,wordBreak:`break-all`,lineHeight:`1.5`},children:v.originalPrompt})]}),i===`image`&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`比例`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:v.imageProportion})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`分辨率`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:v.imageSize})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`尺寸`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:v.imagePx})]})]}),i===`video`&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`比例`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:v.aspectRatio})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`分辨率`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:v.resolution})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`时长`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:`${v.duration}秒`||`-`})]})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`创建时间`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:A9(v.createdAt||v.generatedDate)})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13,fontWeight:500},children:`生成引擎`}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:600},children:v.engine||v.engineName||`-`})]})]}),(0,$.jsx)(`div`,{style:{borderTop:`1px solid #f1f5f9`,margin:`20px 0`}}),v.mediaReferences&&v.mediaReferences.length>0&&![`hot_opening_replicate`,`shot_replicate`].includes(n)&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:16},children:[(0,$.jsx)(`div`,{style:{width:2,height:18,background:`linear-gradient(180deg, #3b82f6 0%, #60a5fa 100%)`,borderRadius:1}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:15,color:`#1e293b`,fontWeight:600},children:`依靠附件`})]}),v.mediaReferences.map((e,t)=>(0,$.jsxs)(`div`,{onClick:()=>{b.current&&b.current.pause();let t=`http://ceshi.apiforeign.minzhong.cn${e.url}`;window.open(t,`_blank`)},style:{display:`flex`,alignItems:`center`,gap:10,padding:`10px 12px`,borderRadius:8,cursor:`pointer`,backgroundColor:`#f8fafc`,marginBottom:8,transition:`all 0.25s ease`,border:`1px solid transparent`},onMouseEnter:e=>{let t=e.currentTarget;t.style.backgroundColor=`#e0f2fe`,t.style.borderColor=`#bae6fd`},onMouseLeave:e=>{let t=e.currentTarget;t.style.backgroundColor=`#f8fafc`,t.style.borderColor=`transparent`},children:[e.type===`image`?(0,$.jsx)(m8,{style:{color:`#3b82f6`,fontSize:16}}):(0,$.jsx)(R5,{style:{color:`#f59e0b`,fontSize:16}}),(0,$.jsx)(`span`,{style:{color:`#334155`,fontSize:13,fontWeight:500},children:e.name||`媒体${t+1}`})]},e.url))]})]})]})}),(0,$.jsx)(WK,{title:ze.size===1?`推送配置`:`批量推送配置`,open:E,onCancel:()=>{D(!1),k([[]]),j([``]),z([void 0]),V(new Map),U(``)},footer:null,width:900,mask:{closable:!1},children:(0,$.jsxs)(`div`,{style:{padding:`16px 0`},children:[(0,$.jsxs)(Q.Text,{strong:!0,style:{fontSize:14,color:`#475569`,marginBottom:8,display:`block`},children:[`选中素材 (`,ze.size,`个)`]}),(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:8,marginBottom:12,alignItems:`center`},children:[(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#64748b`},children:`统一修改名称:`}),(0,$.jsx)(fG,{value:H,onChange:e=>U(e.target.value),placeholder:`输入名称后点击应用`,style:{flex:1,borderRadius:8},size:`small`}),(0,$.jsx)(X,{type:`primary`,size:`small`,onClick:()=>{H.trim()&&ze.size>0&&ut(Array.from(ze),H)},disabled:!H.trim()||ze.size===0,style:{borderRadius:8},children:`应用`})]}),(0,$.jsx)(`div`,{style:{maxHeight:300,overflow:`auto`,border:`1px solid #f0f0f0`,borderRadius:8,padding:12},children:(()=>{let e=new Map;return o.forEach(t=>{t.items.forEach(t=>{let n=Ke(t);e.set(n,t)})}),Array.from(ze).map(t=>{let n=e.get(t);return(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12,padding:`8px 0`,borderBottom:`1px solid #f5f5f5`},children:[(0,$.jsx)(`div`,{style:{width:60,height:40,borderRadius:4,backgroundColor:`#f5f5f5`,display:`flex`,alignItems:`center`,justifyContent:`center`,overflow:`hidden`,flexShrink:0},children:(()=>{let e=i===`video`?n?.videoCoverUrl:n?.imageUrl;if(!e)return(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:`预览`});let t=`http://ceshi.apiforeign.minzhong.cn`,r=e.startsWith(`/`)?e.slice(1):e;return(0,$.jsx)(`img`,{src:`${t.endsWith(`/`)?t.slice(0,-1):t}/static/${r}&w=300&q=50`,alt:``,style:{width:`100%`,height:`100%`,objectFit:`cover`}})})()}),(0,$.jsx)(`div`,{style:{flex:1,minWidth:0},children:(0,$.jsx)(Q.Text,{style:{fontSize:12,color:`#1e293b`},children:n?.fileName||`素材 ${n.id}`})}),(0,$.jsx)(fG,{value:B.has(t)?B.get(t):n?.fileName||``,onChange:e=>{let n=e.target.value,r=new Map(B);r.set(t,n),V(r)},onBlur:()=>{let e=B.get(t)||n?.fileName||``;e.trim()&<(t,e)},onKeyDown:e=>{if(e.key===`Enter`){let e=B.get(t)||n?.fileName||``;e.trim()&<(t,e)}},placeholder:`输入新名称`,style:{width:200,borderRadius:4},size:`small`})]},t)})})()})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16,marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(Q.Text,{style:{fontSize:14,color:`#475569`},children:`是否开启前测:`}),(0,$.jsx)(KC,{value:he,onChange:e=>{ge(e),e===`1`?j7().then(e=>{ve(e?.data?.id||``)}).catch(()=>{}):ve(``)},style:{width:120},options:[{value:`1`,label:`是`},{value:`2`,label:`否`}]})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(Q.Text,{style:{fontSize:14,color:`#475569`},children:`前测模板:`}),(0,$.jsx)(KC,{value:_e,onChange:e=>ve(e),style:{width:200},disabled:he!==`1`,loading:xe,placeholder:he===`1`?`选择前测模板`:`请先开启前测`,options:ye.map(e=>({value:e.id,label:e.name}))})]})]}),(0,$.jsx)(tR,{size:`small`,activeKey:q,onChange:e=>{oe(e),e===`history`&&rt()},items:[{key:`new`,label:`新增账户`},{key:`history`,label:`历史账户`}]}),q===`new`&&(0,$.jsxs)(`div`,{children:[R.map((e,t)=>(0,$.jsxs)(`div`,{style:{marginBottom:16,padding:12,border:`1px solid #e2e8f0`,borderRadius:8},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:8},children:[(0,$.jsxs)(Q.Text,{strong:!0,style:{fontSize:14,color:`#475569`},children:[`授权账户 `,t+1]}),R.length>1&&(0,$.jsx)(X,{type:`text`,danger:!0,onClick:()=>{let e=[...R],n=[...A],r=[...O],i=[...K];e.splice(t,1),n.splice(t,1),r.splice(t,1),i.splice(t,1),z(e),j(n),k(r),ae(i)},children:`删除`})]}),(0,$.jsx)(KC,{value:e,onChange:e=>{let n=[...R];n[t]=e,z(n)},placeholder:`点击选择授权账户`,style:{width:`100%`,marginBottom:12,borderRadius:8},popupRender:()=>(0,$.jsx)(`div`,{style:{padding:8,width:800,maxHeight:500,overflow:`auto`},children:(0,$.jsx)(p$,{dataSource:M,columns:[{title:`授权账户ID`,dataIndex:`accountId`,key:`accountId`,width:120},{title:`授权账户名称`,dataIndex:`accountName`,key:`accountName`,width:120},{title:`授权账户角色`,dataIndex:`accountRole`,key:`accountRole`,width:160,render:e=>({ADVERTISER:`客户`,CUSTOMER_ADMIN:`普通版工作台-管理员`,CUSTOMER_OPERATOR:`普通版工作台-协作者`,AGENT:`代理商`,CHILD_AGENT:`二级代理商`,PLATFORM_ROLE_STAR:`星图账户`,PLATFORM_ROLE_SHOP_ACCOUNT:`抖音店铺账户`,PLATFORM_ROLE_QIANCHUAN_AGENT:`千川代理商`,PLATFORM_ROLE_STAR_AGENT:`星图代理商`,PLATFORM_ROLE_AWEME:`抖音号`,PLATFORM_ROLE_STAR_MCN:`星图MCN机构`,PLATFORM_ROLE_STAR_ISV:`星图服务商`,AGENT_SYSTEM_ACCOUNT:`代理商系统账户`,PLATFORM_ROLE_LOCAL_AGENT:`本地推代理商`,PLATFORM_ROLE_YUNTU_BRAND_ISV_ADMIN:`云图品牌服务商管理员`,PLATFORM_ROLE_LIFE:`抖音来客账户`,PLATFORM_ROLE_ENTERPRISE_BP_ADMIN:`升级版工作台管理员`,PLATFORM_ROLE_ENTERPRISE_BP_OPERATOR:`升级版工作台协作者`})[e]||e},{title:`授权账户用户名`,dataIndex:`accountUsername`,key:`accountUsername`,width:120,render:e=>(0,$.jsx)(`span`,{style:{color:e?`#1e293b`:`#94a3b8`},children:e||`-`})},{title:`授权用户ID`,dataIndex:`accountUserid`,key:`accountUserid`,width:120}],loading:P,pagination:{current:ne,pageSize:G,total:I,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{re(e),ie(t),nt(e,t)}},rowKey:`id`,size:`small`,scroll:{x:`max-content`},onRow:n=>({onClick:()=>{let e=String(n.id),r=[...R];r[t]={value:e,label:String(n.accountId)+`-`+(n.accountName||`-`)},z(r);let i=[...K];i[t]=!1,ae(i)},style:{cursor:`pointer`,backgroundColor:e?.value===String(n.id)?`#e6f7ff`:void 0}})})}),open:K[t],onOpenChange:e=>{let n=[...K];n[t]=e,ae(n),e&&nt(1,G)},labelInValue:!0,fieldNames:{label:`accountUserid`,value:`id`}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#475569`,marginBottom:8,display:`block`},children:`粘贴账户ID(每行一个或用逗号分隔)`}),(0,$.jsx)(fG.TextArea,{value:A[t],onChange:e=>{let n=e.target.value,r=[...A];r[t]=n,j(r);let i=n.split(/[\n,]/).map(e=>e.trim()).filter(e=>e.length>0),a=[...new Set(i)].map(e=>({accountId:e})),o=new Set,s=a.filter(e=>o.has(e.accountId)?!1:(o.add(e.accountId),!0)),c=[...O];c[t]=s,k(c)},placeholder:`粘贴账户ID,每行一个或用逗号分隔,例如:\r 10001,10002,10003\r - 10004`,rows:3,style:{borderRadius:8}})]},t)),(0,$.jsx)(X,{type:`dashed`,block:!0,onClick:()=>{z([...R,void 0]),j([...A,``]),k([...O,[]]),ae([...K,!1])},style:{borderRadius:8,marginBottom:16},children:`+ 新增授权账户组`})]}),q===`history`&&(0,$.jsx)(`div`,{style:{padding:8},children:le?(0,$.jsx)(`div`,{style:{textAlign:`center`,padding:40},children:`加载中...`}):se.length===0?(0,$.jsx)(OC,{description:`暂无可选账户`}):(0,$.jsx)(u1,{style:{width:`100%`},dataSource:se.filter(e=>e.advertiserId).map((e,t)=>({key:String(e.advertiserId)||`item-${t}`,title:String(e.advertiserId),description:e.advertiserName||``,...e})),targetKeys:de.filter(e=>e.advertiserId).map(e=>String(e.advertiserId)),onChange:e=>{fe(se.filter(t=>t.advertiserId&&e.includes(String(t.advertiserId))))},titles:[`可选账户列表`,`已选账户列表`],showSearch:!0,filterOption:(e,t)=>String(t.advertiserId).toLowerCase().includes(e.toLowerCase())||t.advertiserName&&t.advertiserName.toLowerCase().includes(e.toLowerCase()),children:({direction:e,filteredItems:t,onItemSelect:n,onItemSelectAll:r,selectedKeys:i,disabled:a})=>(0,$.jsx)(v$,{rowSelection:{getCheckboxProps:()=>({disabled:a}),onChange:e=>{r(e,`replace`)},selectedRowKeys:i,selections:[v$.SELECTION_ALL,v$.SELECTION_INVERT,v$.SELECTION_NONE]},columns:[{title:`账户ID`,dataIndex:`advertiserId`,key:`advertiserId`,width:120},{title:`账户名称`,dataIndex:`advertiserName`,key:`advertiserName`,width:150}],dataSource:t,size:`small`,style:{pointerEvents:a?`none`:void 0},pagination:!1,scroll:{x:`max-content`,y:400},onRow:({key:e,disabled:t})=>({onClick:()=>{t||a||n(e,!i.includes(e))}})})})}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12,justifyContent:`flex-end`},children:[(0,$.jsx)(X,{onClick:()=>{D(!1),k([[]]),j([``]),z([void 0]),V(new Map),U(``)},style:{borderRadius:8},children:`取消`}),(0,$.jsx)(X,{type:`primary`,onClick:ct,loading:w,disabled:w||(q===`new`?O.every(e=>e.length===0):de.length===0),style:{borderRadius:8},children:w?`推送中...`:`开始推送`})]})]})})]})},P9=document.createElement(`style`);P9.textContent=` + 10004`,rows:3,style:{borderRadius:8}})]},t)),(0,$.jsx)(X,{type:`dashed`,block:!0,onClick:()=>{z([...R,void 0]),j([...A,``]),k([...O,[]]),ae([...K,!1])},style:{borderRadius:8,marginBottom:16},children:`+ 新增授权账户组`})]}),q===`history`&&(0,$.jsx)(`div`,{style:{padding:8},children:le?(0,$.jsx)(`div`,{style:{textAlign:`center`,padding:40},children:`加载中...`}):se.length===0?(0,$.jsx)(gC,{description:`暂无可选账户`}):(0,$.jsx)(a1,{style:{width:`100%`},dataSource:se.filter(e=>e.advertiserId).map((e,t)=>({key:String(e.advertiserId)||`item-${t}`,title:String(e.advertiserId),description:e.advertiserName||``,...e})),targetKeys:de.filter(e=>e.advertiserId).map(e=>String(e.advertiserId)),onChange:e=>{fe(se.filter(t=>t.advertiserId&&e.includes(String(t.advertiserId))))},titles:[`可选账户列表`,`已选账户列表`],showSearch:!0,filterOption:(e,t)=>String(t.advertiserId).toLowerCase().includes(e.toLowerCase())||t.advertiserName&&t.advertiserName.toLowerCase().includes(e.toLowerCase()),children:({direction:e,filteredItems:t,onItemSelect:n,onItemSelectAll:r,selectedKeys:i,disabled:a})=>(0,$.jsx)(p$,{rowSelection:{getCheckboxProps:()=>({disabled:a}),onChange:e=>{r(e,`replace`)},selectedRowKeys:i,selections:[p$.SELECTION_ALL,p$.SELECTION_INVERT,p$.SELECTION_NONE]},columns:[{title:`账户ID`,dataIndex:`advertiserId`,key:`advertiserId`,width:120},{title:`账户名称`,dataIndex:`advertiserName`,key:`advertiserName`,width:150}],dataSource:t,size:`small`,style:{pointerEvents:a?`none`:void 0},pagination:!1,scroll:{x:`max-content`,y:400},onRow:({key:e,disabled:t})=>({onClick:()=>{t||a||n(e,!i.includes(e))}})})})}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12,justifyContent:`flex-end`},children:[(0,$.jsx)(X,{onClick:()=>{D(!1),k([[]]),j([``]),z([void 0]),V(new Map),U(``)},style:{borderRadius:8},children:`取消`}),(0,$.jsx)(X,{type:`primary`,onClick:ct,loading:w,disabled:w||(q===`new`?O.every(e=>e.length===0):de.length===0),style:{borderRadius:8},children:w?`推送中...`:`开始推送`})]})]})})]})},k9=document.createElement(`style`);k9.textContent=` @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } -`,document.head.appendChild(P9);function F9(e){if(!e)return`-`;let t=new Date(e);return isNaN(t.getTime())?`-`:`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`}var I9=[{id:`AD_APP_ACTIVATE`,name:`AD_APP_ACTIVATE`,label:`应用-激活`,description:`应用激活行为`},{id:`AD_APP_AUTH`,name:`AD_APP_AUTH`,label:`应用-授信`,description:`应用授信行为`},{id:`AD_APP_BOOK`,name:`AD_APP_BOOK`,label:`应用-预约表单`,description:`应用预约表单`},{id:`AD_APP_BUY`,name:`AD_APP_BUY`,label:`应用-APP内付费`,description:`APP内付费行为`},{id:`AD_APP_CLICKS`,name:`AD_APP_CLICKS`,label:`应用-点击量`,description:`应用点击量`},{id:`AD_APP_DETAIL`,name:`AD_APP_DETAIL`,label:`应用-APP内详情页到站UV`,description:`APP内详情页到站UV`},{id:`AD_APP_DOWNLOADED`,name:`AD_APP_DOWNLOADED`,label:`应用-下载完成`,description:`应用下载完成`},{id:`AD_APP_INSTALLED`,name:`AD_APP_INSTALLED`,label:`应用-安装完成`,description:`应用安装完成`},{id:`AD_APP_KEY_BEHAVIOR`,name:`AD_APP_KEY_BEHAVIOR`,label:`应用-关键行为`,description:`应用关键行为`},{id:`AD_APP_ORDER`,name:`AD_APP_ORDER`,label:`应用-APP内下单`,description:`APP内下单行为`},{id:`AD_APP_PAY`,name:`AD_APP_PAY`,label:`应用-付费`,description:`应用付费行为`},{id:`AD_APP_PRE_AUTH`,name:`AD_APP_PRE_AUTH`,label:`应用-预授信`,description:`应用预授信行为`},{id:`AD_APP_PRE_DOWNLOAD`,name:`AD_APP_PRE_DOWNLOAD`,label:`应用-预约下载`,description:`应用预约下载`},{id:`AD_APP_PUSH_ORDER`,name:`AD_APP_PUSH_ORDER`,label:`应用-首次发单(乘客)`,description:`首次发单行为`},{id:`AD_APP_REGISTER`,name:`AD_APP_REGISTER`,label:`应用-注册`,description:`应用注册行为`},{id:`AD_APP_SHOW`,name:`AD_APP_SHOW`,label:`应用-展示量`,description:`应用展示量`},{id:`AD_APP_SUBMIT`,name:`AD_APP_SUBMIT`,label:`应用-提交认证`,description:`应用提交认证`},{id:`AD_APP_VIEW`,name:`AD_APP_VIEW`,label:`应用-APP内访问`,description:`APP内访问行为`},{id:`AD_CLUE_AUTH`,name:`AD_CLUE_AUTH`,label:`销售线索收集-授信`,description:`销售线索授信`},{id:`AD_CLUE_BUTTON`,name:`AD_CLUE_BUTTON`,label:`销售线索收集-按钮跳转`,description:`按钮跳转`},{id:`AD_CLUE_CLICKS`,name:`AD_CLUE_CLICKS`,label:`销售线索收集-点击量`,description:`点击量`},{id:`AD_CLUE_CONFIRM`,name:`AD_CLUE_CONFIRM`,label:`销售线索收集-回访-信息确认`,description:`回访信息确认`},{id:`AD_CLUE_CONSULT`,name:`AD_CLUE_CONSULT`,label:`销售线索收集-有效咨询`,description:`有效咨询`},{id:`AD_CLUE_CONSULT_MSG`,name:`AD_CLUE_CONSULT_MSG`,label:`销售线索收集-留资咨询`,description:`留资咨询`},{id:`AD_CLUE_COUPON`,name:`AD_CLUE_COUPON`,label:`销售线索收集-卡券领取`,description:`卡券领取`},{id:`AD_CLUE_CUSTOMER`,name:`AD_CLUE_CUSTOMER`,label:`销售线索收集-有效获客`,description:`有效获客`},{id:`AD_CLUE_CVT`,name:`AD_CLUE_CVT`,label:`销售线索收集-多转化`,description:`多转化`},{id:`AD_CLUE_DONE`,name:`AD_CLUE_DONE`,label:`销售线索收集-完件`,description:`完件`},{id:`AD_CLUE_FORM`,name:`AD_CLUE_FORM`,label:`销售线索收集-表单提交`,description:`表单提交`},{id:`AD_CLUE_FRIENDS`,name:`AD_CLUE_FRIENDS`,label:`销售线索收集-回访-加为好友`,description:`回访加为好友`},{id:`AD_CLUE_INSURANCE`,name:`AD_CLUE_INSURANCE`,label:`销售线索收集-保险支付`,description:`保险支付`},{id:`AD_CLUE_INTENTION`,name:`AD_CLUE_INTENTION`,label:`销售线索收集-存在意向`,description:`存在意向`},{id:`AD_CLUE_INTENTION_FORM`,name:`AD_CLUE_INTENTION_FORM`,label:`销售线索收集-意向表单`,description:`意向表单`},{id:`AD_CLUE_INTENTION_TEL`,name:`AD_CLUE_INTENTION_TEL`,label:`销售线索收集-意向话单`,description:`意向话单`},{id:`AD_CLUE_MESSAGE`,name:`AD_CLUE_MESSAGE`,label:`销售线索收集-私信消息`,description:`私信消息`},{id:`AD_CLUE_MONEY`,name:`AD_CLUE_MONEY`,label:`销售线索收集-放款`,description:`放款`},{id:`AD_CLUE_MSG`,name:`AD_CLUE_MSG`,label:`销售线索收集-私信留资`,description:`私信留资`},{id:`AD_CLUE_PAGE`,name:`AD_CLUE_PAGE`,label:`销售线索收集-访问目标页面`,description:`访问目标页面`},{id:`AD_CLUE_PAY`,name:`AD_CLUE_PAY`,label:`销售线索收集-付费`,description:`付费`},{id:`AD_CLUE_PRE_AUTH`,name:`AD_CLUE_PRE_AUTH`,label:`销售线索收集-预授信`,description:`预授信`},{id:`AD_CLUE_PROTENTIAL_DEAL`,name:`AD_CLUE_PROTENTIAL_DEAL`,label:`销售线索收集-回访-高潜成交`,description:`回访高潜成交`},{id:`AD_CLUE_PUSH_ORDER`,name:`AD_CLUE_PUSH_ORDER`,label:`销售线索收集-首次发单(乘客)`,description:`首次发单`},{id:`AD_CLUE_REGISTER`,name:`AD_CLUE_REGISTER`,label:`销售线索收集-注册`,description:`注册`},{id:`AD_CLUE_SHOW`,name:`AD_CLUE_SHOW`,label:`销售线索收集-展示量`,description:`展示量`},{id:`AD_CLUE_SUBMIT`,name:`AD_CLUE_SUBMIT`,label:`销售线索收集-提交认证`,description:`提交认证`},{id:`AD_CLUE_TEL`,name:`AD_CLUE_TEL`,label:`销售线索收集-智能电话确认接通`,description:`智能电话确认接通`},{id:`AD_CLUE_TEL_CALL`,name:`AD_CLUE_TEL_CALL`,label:`销售线索收集-电话接通`,description:`电话接通`},{id:`AD_CLUE_WX_ADD`,name:`AD_CLUE_WX_ADD`,label:`销售线索收集-微信-添加企业微信`,description:`添加企业微信`},{id:`AD_CLUE_WX_COPY`,name:`AD_CLUE_WX_COPY`,label:`销售线索收集-微信复制`,description:`微信复制`},{id:`AD_CLUE_WX_MSG`,name:`AD_CLUE_WX_MSG`,label:`销售线索收集-微信-用户首次消息`,description:`用户首次消息`},{id:`AD_ECP_APP_BUY`,name:`AD_ECP_APP_BUY`,label:`电商-app内下单`,description:`电商app内下单`},{id:`AD_ECP_APP_DETAIL`,name:`AD_ECP_APP_DETAIL`,label:`电商-app内详情页到站uv`,description:`电商app内详情页到站uv`},{id:`AD_ECP_APP_VIEW`,name:`AD_ECP_APP_VIEW`,label:`电商-app内访问`,description:`电商app内访问`},{id:`AD_ECP_BUTTON`,name:`AD_ECP_BUTTON`,label:`电商-按钮跳转`,description:`电商按钮跳转`},{id:`AD_ECP_INTEREST`,name:`AD_ECP_INTEREST`,label:`电商-引流电商种草`,description:`引流电商种草`},{id:`AD_ECP_SHOP`,name:`AD_ECP_SHOP`,label:`电商-调起店铺`,description:`调起店铺`},{id:`AD_ECP_SHOP_STAY`,name:`AD_ECP_SHOP_STAY`,label:`电商-店铺停留`,description:`店铺停留`},{id:`AD_MINIAPP_ACTIVATE`,name:`AD_MINIAPP_ACTIVATE`,label:`快应用-激活`,description:`快应用激活`},{id:`AD_MINIAPP_KEY_BEHAVIOR`,name:`AD_MINIAPP_KEY_BEHAVIOR`,label:`快应用-关键行为`,description:`快应用关键行为`},{id:`AD_MINIAPP_PAY`,name:`AD_MINIAPP_PAY`,label:`快应用-付费`,description:`快应用付费`},{id:`AD_MINIAPP_REGISTER`,name:`AD_MINIAPP_REGISTER`,label:`快应用-注册`,description:`快应用注册`},{id:`AD_NATIVE_ACTIVATE`,name:`AD_NATIVE_ACTIVATE`,label:`原声互动-激活`,description:`原声互动激活`},{id:`AD_NATIVE_CLICKS`,name:`AD_NATIVE_CLICKS`,label:`原声互动-组件点击`,description:`组件点击`},{id:`AD_NATIVE_FANS_GROUP`,name:`AD_NATIVE_FANS_GROUP`,label:`原声互动-粉丝入群`,description:`粉丝入群`},{id:`AD_NATIVE_FOLLOW`,name:`AD_NATIVE_FOLLOW`,label:`原声互动-帐号关注`,description:`帐号关注`},{id:`AD_NATIVE_INTERACTIVE`,name:`AD_NATIVE_INTERACTIVE`,label:`原声互动-互动`,description:`互动`},{id:`AD_NATIVE_LIVE`,name:`AD_NATIVE_LIVE`,label:`原声互动-预约直播`,description:`预约直播`},{id:`AD_NATIVE_LIVE_DONATE`,name:`AD_NATIVE_LIVE_DONATE`,label:`原声互动-直播间营销捐赠`,description:`直播间营销捐赠`},{id:`AD_NATIVE_LIVE_PAY`,name:`AD_NATIVE_LIVE_PAY`,label:`原声互动-直播间打赏`,description:`直播间打赏`},{id:`AD_NATIVE_LIVE_STAY`,name:`AD_NATIVE_LIVE_STAY`,label:`原声互动-直播间停留`,description:`直播间停留`},{id:`AD_NATIVE_LIVE_VIEW`,name:`AD_NATIVE_LIVE_VIEW`,label:`原声互动-直播间观看`,description:`直播间观看`},{id:`AD_NATIVE_PAY`,name:`AD_NATIVE_PAY`,label:`原声互动-付费`,description:`原声互动付费`},{id:`AD_PRODUCT_ACTIVATE`,name:`AD_PRODUCT_ACTIVATE`,label:`商品-激活`,description:`商品激活`},{id:`AD_PRODUCT_APP_BUY`,name:`AD_PRODUCT_APP_BUY`,label:`商品-app内下单`,description:`商品app内下单`},{id:`AD_PRODUCT_APP_DETAIL`,name:`AD_PRODUCT_APP_DETAIL`,label:`商品-app内详情页到站uv`,description:`商品app内详情页到站uv`},{id:`AD_PRODUCT_APP_PAY`,name:`AD_PRODUCT_APP_PAY`,label:`商品-app内付费`,description:`商品app内付费`},{id:`AD_PRODUCT_APP_VIEW`,name:`AD_PRODUCT_APP_VIEW`,label:`商品-app内访问`,description:`商品app内访问`},{id:`AD_PRODUCT_FORM`,name:`AD_PRODUCT_FORM`,label:`商品-表单提交`,description:`商品表单提交`},{id:`AD_PRODUCT_KEY_BEHAVIOR`,name:`AD_PRODUCT_KEY_BEHAVIOR`,label:`商品-关键行为`,description:`商品关键行为`},{id:`AD_PRODUCT_PAY`,name:`AD_PRODUCT_PAY`,label:`商品-付费`,description:`商品付费`},{id:`AD_TINYAPP_ACTIVATE`,name:`AD_TINYAPP_ACTIVATE`,label:`小程序-激活`,description:`小程序激活`},{id:`AD_TINYAPP_KEY_BEHAVIOR`,name:`AD_TINYAPP_KEY_BEHAVIOR`,label:`小程序-关键行为`,description:`小程序关键行为`},{id:`AD_TINYAPP_PAY`,name:`AD_TINYAPP_PAY`,label:`小程序-付费`,description:`小程序付费`},{id:`QC_LIVE_BUY`,name:`QC_LIVE_BUY`,label:`直播投放-直播间下单`,description:`直播间下单`},{id:`QC_LIVE_CHECK`,name:`QC_LIVE_CHECK`,label:`直播投放-直播间结算`,description:`直播间结算`},{id:`QC_LIVE_COMMENTS`,name:`QC_LIVE_COMMENTS`,label:`直播投放-直播间评论`,description:`直播间评论`},{id:`QC_LIVE_DEAL`,name:`QC_LIVE_DEAL`,label:`直播投放-直播间成交`,description:`直播间成交`},{id:`QC_LIVE_ENTRY`,name:`QC_LIVE_ENTRY`,label:`直播投放-进入直播间`,description:`进入直播间`},{id:`QC_LIVE_FANS`,name:`QC_LIVE_FANS`,label:`直播投放-直播间粉丝提升`,description:`直播间粉丝提升`},{id:`QC_LIVE_HIT`,name:`QC_LIVE_HIT`,label:`直播投放-直播加热`,description:`直播加热`},{id:`QC_LIVE_PRODUCT_CLICKS`,name:`QC_LIVE_PRODUCT_CLICKS`,label:`直播投放-直播间商品点击`,description:`直播间商品点击`},{id:`QC_LIVE_ROI_CHECK`,name:`QC_LIVE_ROI_CHECK`,label:`直播投放-结算roi`,description:`结算roi`},{id:`QC_LIVE_ROI_DEAL`,name:`QC_LIVE_ROI_DEAL`,label:`直播投放-支付roi-直播间成交`,description:`支付roi直播间成交`},{id:`QC_LIVE_ROI_QC`,name:`QC_LIVE_ROI_QC`,label:`直播投放-支付roi-千川直接+间接订单`,description:`支付roi千川订单`},{id:`QC_PRODUCT_BUY`,name:`QC_PRODUCT_BUY`,label:`商品投放-商品购买`,description:`商品购买`},{id:`QC_PRODUCT_COMMENTS`,name:`QC_PRODUCT_COMMENTS`,label:`商品投放-点赞评论`,description:`点赞评论`},{id:`QC_PRODUCT_FANS`,name:`QC_PRODUCT_FANS`,label:`商品投放-粉丝提升`,description:`粉丝提升`},{id:`QC_PRODUCT_INTEREST`,name:`QC_PRODUCT_INTEREST`,label:`商品投放-人群种草`,description:`人群种草`},{id:`QC_PRODUCT_QC`,name:`QC_PRODUCT_QC`,label:`商品投放-千川直接+间接订单`,description:`千川订单`},{id:`QC_PRODUCT_ROI`,name:`QC_PRODUCT_ROI`,label:`商品投放-商品支付roi`,description:`商品支付roi`}],xae=e=>{if(!e)return``;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},Sae=()=>{let{message:e}=yx.useApp(),[t,n]=(0,S.useState)([]),[r,i]=(0,S.useState)(0),[a,o]=(0,S.useState)(!1),[s,c]=(0,S.useState)(!1),[l,u]=(0,S.useState)(`create`),[d,f]=(0,S.useState)(null),[p]=IU.useForm(),[m,h]=(0,S.useState)(!1),[g,_]=(0,S.useState)(!1),[v,y]=(0,S.useState)(1),[b,x]=(0,S.useState)(10),[C,w]=(0,S.useState)(`AD`),[T,E]=(0,S.useState)(void 0),[D,O]=(0,S.useState)([]),[k,A]=(0,S.useState)({}),[j,M]=(0,S.useState)({});(0,S.useEffect)(()=>{N()},[v,b]),(0,S.useEffect)(()=>{P()},[]);let N=async t=>{o(!0);try{let e=await N7({page:t?.page??v,pageSize:t?.pageSize??b,platform:t?.platform??T});n(e.data||[]),i(e.pagination?.total||0),y(e.pagination?.page||1),x(e.pagination?.pageSize||10)}catch{e.error(`获取前测列表失败`)}finally{o(!1)}},P=async()=>{try{let e=localStorage.getItem(`preTestAreaData`);if(e){let t=JSON.parse(e);O(t.areaOptions),A(t.cityCodeMap),M(t.provinceCityMap);return}let t=(await H7({level:`ONE_LEVEL`})).data||[],n={},r={},i=await Promise.all(t.map(async e=>{let t=[];try{t=((await H7({level:`TWO_LEVEL`,parent_code:e.code})).data||[]).map(e=>({value:e.code,label:e.name,isLeaf:!0}));let i=t.map(e=>e.value);r[e.code]=i,t.forEach(e=>{n[e.value]=e.label})}catch(t){console.error(`获取省份 ${e.name} 的城市失败`,t),r[e.code]=[]}return{value:e.code,label:e.name,isLeaf:!1,children:t}})),a={areaOptions:i,cityCodeMap:n,provinceCityMap:r};localStorage.setItem(`preTestAreaData`,JSON.stringify(a)),O(i),A(n),M(r)}catch{e.error(`获取省份信息失败`)}},F=async t=>{let n=t[t.length-1];n.loading=!0;try{n.children=((await H7({level:`TWO_LEVEL`,parent_code:n.value})).data||[]).map(e=>({value:e.code,label:e.name,isLeaf:!0})),n.loading=!1,O([...D])}catch{e.error(`获取城市信息失败`),n.loading=!1,O([...D])}},I=t.map((e,t)=>({...e,index:(v-1)*b+t+1,key:e.id})),L=[{title:`前测模板编号`,dataIndex:`id`,key:`id`,width:120,render:e=>(0,$.jsx)(Q.Text,{strong:!0,style:{color:`#1e293b`,fontSize:13},children:e})},{title:`模板名称`,dataIndex:`name`,key:`name`,ellipsis:!0,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontWeight:500,fontSize:13},children:e})},{title:`平台`,dataIndex:`platform`,key:`platform`,render:e=>(0,$.jsx)(j$,{color:e===`AD`?`blue`:e===`QIANCHUAN`?`green`:`orange`,style:{borderRadius:6,fontSize:12},children:e===`AD`?`AD`:e===`QIANCHUAN`?`千川`:`本地推`})},{title:`转化目标`,dataIndex:`externalAction`,key:`externalAction`,ellipsis:!0,width:200,render:e=>{if(!e)return(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13},children:`-`});let t=I9.find(t=>t.name===e.trim());return(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:t?t.label:e})}},{title:`目标转化成本`,dataIndex:`cpaBid`,key:`cpaBid`,width:120,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:e===void 0?`-`:e})},{title:`受众性别`,dataIndex:`audienceGender`,key:`audienceGender`,width:90,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:e===`ALL`?`不限`:e===`MALE`?`男`:e===`FEMALE`?`女`:e||`-`})},{title:`受众年龄`,dataIndex:`audienceAge`,key:`audienceAge`,width:90,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:Array.isArray(e)?e.join(`, `):e||`-`})},{title:`受众地区`,dataIndex:`audienceRegion`,key:`audienceRegion`,ellipsis:!0,width:300,render:e=>{if(!Array.isArray(e)||e.length===0)return(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13},children:`-`});let t=e.map(e=>k[String(e)]||String(e));return(0,$.jsx)(_G.TextArea,{value:t.join(`, `)||`-`,readOnly:!0,autoSize:{minRows:1,maxRows:4},style:{resize:`none`,border:`none`,background:`transparent`,padding:0},placeholder:`-`})}},{title:`网络类型`,dataIndex:`audienceNetwork`,key:`audienceNetwork`,width:90,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:Array.isArray(e)?e.join(`, `):e||`-`})},{title:`客户主体名称`,dataIndex:`cusName`,key:`cusName`,ellipsis:!0,width:120,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:e||`-`})},{title:`出价类型`,dataIndex:`pricingType`,key:`pricingType`,width:90,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:e||`-`})},{title:`目标点击成本`,dataIndex:`cpcBid`,key:`cpcBid`,width:120,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:e===void 0?`-`:e})},{title:`预算金额`,dataIndex:`budget`,key:`budget`,width:100,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:e===void 0?`-`:e})},{title:`默认模板`,dataIndex:`isDefault`,key:`isDefault`,width:90,render:e=>(0,$.jsx)(j$,{color:e?`green`:`default`,style:{borderRadius:6,fontSize:12},children:e?`是`:`否`})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:160,render:e=>(0,$.jsx)(Q.Text,{style:{color:`#94a3b8`,fontSize:12},children:xae(e)})},{title:`操作`,dataIndex:`operation`,fixed:`right`,key:`operation`,render:(e,t)=>(0,$.jsxs)(HH,{size:4,children:[(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(YW,{}),style:{color:`#6366f1`,fontSize:12},onClick:()=>B(t),children:`详情`}),(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(p1,{}),style:{color:`#6366f1`,fontSize:12},onClick:()=>V(t),children:`编辑`}),(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(G$,{}),style:{color:`#ef4444`,fontSize:12},onClick:()=>H(t),children:`删除`})]})}],R=()=>{p.resetFields(),w(`AD`),u(`create`),f(null),c(!0)},z=async e=>{f(e),w(e.platform||`AD`);let t=e.audienceRegion||[],n=[];for(let e of t){let t=String(e);if(t.length>=6){let e=t.slice(0,2);F(e),n.push([e,t])}}p.setFieldsValue({name:e.name,note:e.note,platform:e.platform,external_action:e.externalAction,cpa_bid:e.cpaBid,audience_gender:e.audienceGender,audience_age:e.audienceAge||[],audience_region:n,audience_network:e.audienceNetwork||[],cus_name:e.cusName,pricing_type:e.pricingType,cost_cap:e.costCap===void 0?!1:e.costCap,target_cost:e.targetCost===void 0?!1:e.targetCost,nobid:e.nobid===void 0?!1:e.nobid,cpc_bid:e.cpcBid,budget:e.budget,is_default:e.isDefault===void 0?!1:e.isDefault})},B=async t=>{try{let e=(await P7(t.id)).data;u(`detail`),z(e),c(!0)}catch{e.error(`获取详情失败`)}},V=async t=>{try{let e=(await P7(t.id)).data;u(`edit`),z(e),c(!0)}catch{e.error(`获取详情失败`)}},H=t=>{YK.confirm({title:`确认删除`,content:`确定要删除该前测模板吗?`,okText:`确定`,cancelText:`取消`,onOk:async()=>{try{await Vre(t.id),e.success(`删除成功`),N()}catch{e.error(`删除失败`)}}})};return(0,$.jsxs)(`div`,{style:{minHeight:`calc(100vh - 80px)`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,$.jsx)(qH,{style:{color:`#6366f1`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`素材前测模板`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16,alignItems:`center`},children:[(0,$.jsx)(iw,{placeholder:`投放平台`,value:T,onChange:e=>E(e),style:{width:140},allowClear:!0,options:[{value:`AD`,label:`AD`},{value:`QIANCHUAN`,label:`千川`},{value:`LOCAL`,label:`本地推`}]}),(0,$.jsx)(X,{type:`primary`,onClick:()=>{y(1),N()},children:`搜索`})]}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:12},children:(0,$.jsx)(X,{type:`primary`,size:`medium`,icon:(0,$.jsx)(IL,{}),loading:a,onClick:R,style:{borderRadius:12,fontSize:14,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,boxShadow:`0 4px 14px rgba(99,102,241,0.3)`},children:`新增模板`})})]}),(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:16,boxShadow:`0 4px 20px rgba(0,0,0,0.04)`,overflow:`hidden`},children:[(0,$.jsx)(v$,{dataSource:I,columns:L,loading:a,pagination:!1,rowKey:`id`,bordered:!1,scroll:{x:`max-content`},onRow:()=>({style:{cursor:`pointer`,transition:`background-color 0.15s`},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=`#f8fafc`},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=`transparent`}})}),(0,$.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,$.jsx)(rK,{current:v,pageSize:b,total:r,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,pageSizeOptions:[`10`,`20`,`50`,`100`],onChange:(e,t)=>{y(e),x(t)},size:`small`})})]}),(0,$.jsx)(YK,{title:(0,$.jsx)(HH,{children:l===`create`?`新增前测模板(选填项如填写需准确填写)`:l===`edit`?`编辑前测模板(选填项如填写需准确填写)`:`前测模板详情`}),open:s,onCancel:()=>{c(!1),p.resetFields(),w(`AD`)},onOk:async()=>{try{let t=await p.validateFields();_(!0);let n=[];(t.audience_region||[]).forEach(e=>{if(e.length===1){let t=j[e[0]]||[];n.push(...t)}else e.length>=2&&n.push(e[e.length-1])});let r={name:t.name,note:t.note,platform:t.platform,external_action:t.external_action,cpa_bid:t.cpa_bid||0,audience_gender:t.audience_gender,audience_age:t.audience_age||[],audience_region:n,audience_network:t.audience_network||[],cus_name:t.cus_name,pricing_type:t.pricing_type,cost_cap:t.cost_cap||!1,target_cost:t.target_cost||!1,nobid:t.nobid||!1,cpc_bid:t.cpc_bid||0,budget:t.budget||0,is_default:t.is_default||!1};l===`edit`&&d?(await Bre(d.id,r),e.success(`前测模板更新成功`)):(await zre(r),e.success(`前测模板创建成功`)),c(!1),p.resetFields(),N()}catch(t){t?.message?e.error(t.message):t?.response?.data?.message?e.error(t.response.data.message):e.error(l===`edit`?`更新失败,请重试`:`创建失败,请重试`)}finally{_(!1)}},okText:l===`detail`?``:`提交`,cancelText:`取消`,width:720,height:600,confirmLoading:g,style:{borderRadius:16},footer:l===`detail`?null:void 0,children:(0,$.jsxs)(IU,{form:p,layout:`vertical`,style:{marginTop:16},disabled:l===`detail`,children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,$.jsx)(IU.Item,{style:{flex:1},name:`name`,label:`模板名称`,rules:[{required:!0,message:`请输入模板名称`}],children:(0,$.jsx)(_G,{placeholder:`请输入模板名称`,style:{borderRadius:8,height:40}})}),(0,$.jsx)(IU.Item,{style:{flex:1},name:`platform`,label:`平台`,initialValue:`AD`,rules:[{required:!0,message:`请选择平台`}],children:(0,$.jsx)(iw,{placeholder:`请选择平台`,style:{borderRadius:8,height:40},onChange:e=>{w(e)},options:[{value:`AD`,label:`AD`},{value:`QIANCHUAN`,label:`千川`},{value:`LOCAL`,label:`本地推`}]})})]}),(0,$.jsx)(i_,{defaultActiveKey:[],activeKey:m?[`optional`]:[],onChange:()=>h(!m),children:(0,$.jsxs)(i_.Panel,{header:`选填项`,children:[C!==`LOCAL`&&(0,$.jsx)(IU.Item,{name:`external_action`,label:`转化目标`,children:(0,$.jsx)(iw,{placeholder:`请选择转化目标`,style:{borderRadius:8,height:40},options:I9.filter(e=>C===`AD`?e.name.startsWith(`AD_`):C===`QIANCHUAN`?e.name.startsWith(`QC_`):C===`LOCAL`?e.name.startsWith(`LOCAL_`):!0).map(e=>({value:e.name,label:(0,$.jsxs)(`span`,{children:[e.label,e.description&&(0,$.jsxs)(Q.Text,{style:{color:`#94a3b8`,fontSize:12,marginLeft:4},children:[`(`,e.description,`)`]})]})}))})}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,$.jsx)(IU.Item,{style:{flex:1},name:`cpa_bid`,label:`目标转化成本`,rules:[{type:`number`,min:1,max:1e4,message:`取值范围: 1-10000`}],getValueFromEvent:e=>parseFloat(e.target.value)||void 0,children:(0,$.jsx)(_G,{type:`number`,placeholder:`取值范围: 1-10000,精确到小数点后2位`,style:{borderRadius:8,height:40},min:1,max:1e4,step:.01})}),(0,$.jsx)(IU.Item,{style:{flex:1},name:`audience_gender`,label:`受众性别`,children:(0,$.jsx)(iw,{placeholder:`请选择受众性别`,style:{borderRadius:8,height:40},options:[{value:`ALL`,label:`不限`},{value:`MALE`,label:`男`},{value:`FEMALE`,label:`女`}]})})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,$.jsx)(IU.Item,{style:{flex:1},name:`audience_age`,label:`受众年龄`,children:(0,$.jsx)(iw,{mode:`multiple`,placeholder:`请选择受众年龄(可多选)`,style:{borderRadius:8,minHeight:40},maxTagCount:`responsive`,options:[{value:`ALL`,label:`不限`},{value:`18-23`,label:`18-23岁`},{value:`24-30`,label:`24-30岁`},{value:`31-40`,label:`31-40岁`},{value:`41-49`,label:`41-49岁`},{value:`50`,label:`50岁以上`}]})}),(0,$.jsx)(IU.Item,{style:{flex:1},name:`audience_network`,label:`网络类型`,children:(0,$.jsx)(iw,{mode:`multiple`,placeholder:`请选择网络类型(可多选)`,style:{borderRadius:8,minHeight:40},maxTagCount:`responsive`,options:[{value:`ALL`,label:`不限`},{value:`5G`,label:`5G`},{value:`4G`,label:`4G`},{value:`3G`,label:`3G`},{value:`2G`,label:`2G`},{value:`WIFI`,label:`wifi`}]})})]}),(0,$.jsx)(IU.Item,{name:`audience_region`,label:`受众地区`,children:(0,$.jsx)(jz,{multiple:!0,placeholder:`请选择受众地区(可多选)`,style:{borderRadius:8,minHeight:40},options:D,maxTagCount:`responsive`})}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,$.jsx)(IU.Item,{style:{flex:1},name:`cus_name`,label:`客户主体名称`,children:(0,$.jsx)(_G,{placeholder:`请输入客户主体名称`,style:{borderRadius:8,height:40}})}),(0,$.jsx)(IU.Item,{style:{flex:1},name:`pricing_type`,label:`出价类型`,children:(0,$.jsx)(iw,{placeholder:`请选择出价类型`,style:{borderRadius:8,height:40},options:[{value:`OCPC`,label:`OCPC`},{value:`CPA`,label:`CPA`},{value:`OCPM`,label:`OCPM`}]})})]}),C==`AD`&&(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,$.jsx)(IU.Item,{style:{flex:1},name:`cost_cap`,label:`是否最优成本出价`,initialValue:!1,children:(0,$.jsx)(iw,{placeholder:`是否最优成本出价`,style:{borderRadius:8,height:40},options:[{value:!0,label:`开启`},{value:!1,label:`关闭`}]})}),(0,$.jsx)(IU.Item,{style:{flex:1},name:`target_cost`,label:`是否稳定成本出价`,initialValue:!1,children:(0,$.jsx)(iw,{placeholder:`是否稳定成本出价`,style:{borderRadius:8,height:40},options:[{value:!0,label:`开启`},{value:!1,label:`关闭`}]})}),(0,$.jsx)(IU.Item,{style:{flex:1},name:`nobid`,label:`是否最大转化出价`,initialValue:!1,children:(0,$.jsx)(iw,{placeholder:`是否最大转化出价`,style:{borderRadius:8,height:40},options:[{value:!0,label:`开启`},{value:!1,label:`关闭`}]})})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,$.jsx)(IU.Item,{style:{flex:1},name:`cpc_bid`,label:`目标点击成本`,getValueFromEvent:e=>parseFloat(e.target.value)||void 0,children:(0,$.jsx)(_G,{type:`number`,placeholder:`请输入目标点击成本`,style:{borderRadius:8,height:40}})}),(0,$.jsx)(IU.Item,{style:{flex:1},name:`budget`,label:`预算金额`,getValueFromEvent:e=>parseFloat(e.target.value)||void 0,children:(0,$.jsx)(_G,{type:`number`,placeholder:`请输入预算金额`,style:{borderRadius:8,height:40}})})]}),(0,$.jsx)(IU.Item,{name:`note`,label:`备注`,children:(0,$.jsx)(_G.TextArea,{placeholder:`请输入备注`,rows:2,style:{borderRadius:8}})}),(0,$.jsx)(IU.Item,{name:`is_default`,label:`默认模板`,initialValue:!1,children:(0,$.jsx)(iw,{placeholder:`请选择默认模板`,style:{borderRadius:8,height:40},options:[{value:!0,label:`是`},{value:!1,label:`否`}]})})]},`optional`)})]})})]})},L9=e=>{if(!e)return``;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},Cae=e=>{let t=`http://ceshi.apiforeign.minzhong.cn`;if(e.startsWith(`http://`)||e.startsWith(`https://`))return e;let n=e.startsWith(`/`)?e.slice(1):e;return`${t.endsWith(`/`)?t.slice(0,-1):t}/${n}`},wae=()=>{let{message:e}=yx.useApp(),t=Ye(),[n,r]=(0,S.useState)([]),[i,a]=(0,S.useState)(!1),[o,s]=(0,S.useState)(!1),[c,l]=(0,S.useState)(!1),[u,d]=(0,S.useState)(void 0),[f,p]=(0,S.useState)(1),[m,h]=(0,S.useState)(10),[g,_]=(0,S.useState)(0),[v,y]=(0,S.useState)({account_userid:``,open_type:void 0,account_id:``}),[b,x]=(0,S.useState)({}),[C,w]=(0,S.useState)([]),[T,E]=(0,S.useState)([]);(0,S.useEffect)(()=>{k(),O(),D()},[]);let D=async()=>{try{await F7()}catch{}},O=async()=>{try{let e=(await G7()).data||[],t={},n=[];e.forEach(e=>{t[e.openType]=e.typeName,n.push({value:e.openType,label:e.typeName})}),x(t),w(n),E(e)}catch(e){console.error(`加载开户方式列表失败:`,e)}},k=async(t=1,n=10,i=v)=>{s(!0);try{let e=await M7({page:t,page_size:n,account_userid:i.account_userid||void 0,open_type:i.open_type,account_id:i.account_id||void 0});e?(e.data&&r(e.data.data||e.data),e.pagination&&(_(e.pagination.total||0),p(e.pagination.page||1),h(e.pagination.pageSize||10))):r(e||[])}catch{e.error(`获取授权列表失败`)}finally{s(!1)}},A=()=>{l(!0)},j=async()=>{if(!u){e.warning(`请选择开户方式`);return}a(!0);try{let t=await j7({open_type:u});t.authUrl?window.open(t.authUrl,`_blank`):e.error(`获取授权链接失败`)}catch{e.error(`请求授权失败`)}finally{a(!1),l(!1),d(void 0)}},M=async t=>{try{let n=await j7({open_type:t.openType});n.authUrl?window.open(n.authUrl,`_blank`):e.error(`获取授权链接失败`)}catch{e.error(`重新授权失败`)}},N=[{title:`ID`,dataIndex:`id`,key:`id`},{title:`授权绑定账户ID`,dataIndex:`accountId`,key:`accountId`},{title:`授权账户名称`,dataIndex:`accountName`,key:`accountName`},{title:`授权账户角色`,dataIndex:`accountRole`,key:`accountRole`,render:e=>({ADVERTISER:`客户`,CUSTOMER_ADMIN:`普通版工作台-管理员`,CUSTOMER_OPERATOR:`普通版工作台-协作者`,AGENT:`代理商`,CHILD_AGENT:`二级代理商`,PLATFORM_ROLE_STAR:`星图账户`,PLATFORM_ROLE_SHOP_ACCOUNT:`抖音店铺账户`,PLATFORM_ROLE_QIANCHUAN_AGENT:`千川代理商`,PLATFORM_ROLE_STAR_AGENT:`星图代理商`,PLATFORM_ROLE_AWEME:`抖音号`,PLATFORM_ROLE_STAR_MCN:`星图MCN机构`,PLATFORM_ROLE_STAR_ISV:`星图服务商`,AGENT_SYSTEM_ACCOUNT:`代理商系统账户`,PLATFORM_ROLE_LOCAL_AGENT:`本地推代理商`,PLATFORM_ROLE_YUNTU_BRAND_ISV_ADMIN:`云图品牌服务商管理员`,PLATFORM_ROLE_LIFE:`抖音来客账户`,PLATFORM_ROLE_ENTERPRISE_BP_ADMIN:`升级版工作台管理员`,PLATFORM_ROLE_ENTERPRISE_BP_OPERATOR:`升级版工作台协作者`})[e]||e},{title:`授权登录账户用户ID`,dataIndex:`accountUserid`,key:`accountUserid`,render:e=>(0,$.jsx)(`span`,{style:{color:e?`#1e293b`:`#94a3b8`},children:e||`-`})},{title:`授权账户用户名`,dataIndex:`accountUsername`,key:`accountUsername`},{title:`开户方式`,dataIndex:`openType`,key:`openType`,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`},children:b[e]||e})},{title:`是否敏感物料授权`,dataIndex:`materialAuthStatus`,key:`materialAuthStatus`,width:100,render:e=>(0,$.jsx)(j$,{color:e?`green`:`default`,children:e?`是`:`否`})},{title:`授权有效时间`,dataIndex:`refreshTokenExpired`,key:`refreshTokenExpired`,width:160,render:e=>(0,$.jsx)(`span`,{style:{color:`#64748b`},children:L9(e)})},{title:`更新时间`,dataIndex:`updatedAt`,key:`updatedAt`,width:160,render:e=>(0,$.jsx)(`span`,{style:{color:`#64748b`},children:L9(e)})},{title:`操作`,dataIndex:`action`,fixed:`right`,key:`action`,width:190,render:(e,n)=>(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(X,{type:`link`,onClick:()=>t(`/authacc?oauth_id=${n.id}`),style:{color:`#6366f1`,padding:0},children:`查看授权账户`}),(0,$.jsx)(X,{type:`link`,onClick:()=>M(n),style:{color:`#00c49f`,padding:0,marginLeft:8},children:`重新授权`})]})}],P=n.map((e,t)=>({...e,index:t+1,key:e.id}));return(0,$.jsxs)(`div`,{style:{minHeight:`94vh`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,$.jsx)(j6,{style:{color:`#6366f1`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`授权管理`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,gap:12,marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,$.jsx)(_G,{placeholder:`授权绑定账户ID`,value:v.account_id,onChange:e=>y(t=>({...t,account_id:e.target.value})),style:{width:180},allowClear:!0,onPressEnter:()=>{p(1),k(1,m)}}),(0,$.jsx)(_G,{placeholder:`授权登录账户用户ID`,value:v.account_userid,onChange:e=>y(t=>({...t,account_userid:e.target.value})),style:{width:180},allowClear:!0,onPressEnter:()=>{p(1),k(1,m)}}),(0,$.jsx)(iw,{placeholder:`开户方式`,value:v.open_type,onChange:e=>y(t=>({...t,open_type:e})),style:{width:140},allowClear:!0,options:C}),(0,$.jsx)(X,{type:`primary`,size:`medium`,onClick:()=>{p(1),k(1,m)},children:`搜索`})]}),(0,$.jsx)(X,{type:`primary`,size:`medium`,icon:(0,$.jsx)(IL,{}),onClick:A,loading:i,style:{borderRadius:8,fontSize:14,fontWeight:500},children:`点击授权`})]}),(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:12,boxShadow:`0 1px 3px rgba(0,0,0,0.05)`},children:[(0,$.jsx)(v$,{dataSource:P,columns:N,loading:o,pagination:!1,rowKey:`id`,bordered:!1,scroll:{x:`max-content`}}),(0,$.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,$.jsx)(rK,{current:f,pageSize:m,total:g,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{p(e),h(t),k(e,t)},size:`small`})})]}),(0,$.jsx)(YK,{title:`选择开户方式`,open:c,onOk:j,onCancel:()=>{l(!1),d(void 0)},okText:`确认授权`,cancelText:`取消`,confirmLoading:i,width:700,children:(0,$.jsx)(`div`,{style:{display:`flex`,gap:16,flexWrap:`wrap`,maxHeight:420,overflowY:`auto`},children:T.map(e=>(0,$.jsxs)(`div`,{onClick:()=>d(e.openType),style:{width:`calc(33.33% - 12px)`,cursor:`pointer`,borderRadius:12,border:`2px solid ${u===e.openType?`#6366f1`:`#e2e8f0`}`,padding:16,transition:`all 0.3s ease`,background:u===e.openType?`#f0f1ff`:`#fff`},children:[(0,$.jsx)(`div`,{style:{width:`100%`,height:48,marginBottom:12,borderRadius:8,overflow:`hidden`},children:e.thumb?(0,$.jsx)(`img`,{src:Cae(e.thumb),alt:e.typeName,style:{width:`100%`,height:`100%`,display:`block`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,background:`#f1f5f9`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(Q.Text,{type:`secondary`,children:`暂无图片`})})}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#1e293b`},children:e.typeName}),(0,$.jsx)(`p`,{style:{fontSize:12,color:`#64748b`,marginTop:8,marginBottom:0,lineHeight:1.5},children:e.description})]},e.id))})})]})},Tae=e=>{if(!e)return``;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},Eae=()=>{let e=Ye(),[t]=On(),{message:n}=yx.useApp(),[r,i]=(0,S.useState)([]),[a,o]=(0,S.useState)(!1),[s,c]=(0,S.useState)(1),[l,u]=(0,S.useState)(10),[d,f]=(0,S.useState)(0),[p,m]=(0,S.useState)({advertiser_id:``,oauth_id:``,advertiser_name:``}),[h,g]=(0,S.useState)({});(0,S.useEffect)(()=>{let e=t.get(`oauth_id`);e?(m(t=>({...t,oauth_id:e})),v(1,10,{...p,oauth_id:e})):v(),_()},[]);let _=async()=>{try{let e=(await G7()).data||[],t={},n=[];e.forEach(e=>{t[e.openType]=e.typeName,n.push({value:e.openType,label:e.typeName})}),g(t)}catch(e){console.error(`加载开户方式列表失败:`,e)}},v=async(e=1,t=10,r=p)=>{o(!0);try{let n=await iie({advertiser_id:r.advertiser_id||``,oauth_id:r.oauth_id||``,advertiser_name:r.advertiser_name||``,page:e,page_size:t});n?(n.data&&i(n.data.data||n.data),n.pagination&&(f(n.pagination.total||0),c(n.pagination.page||1),u(n.pagination.pageSize||10))):i(n||[])}catch{n.error(`获取授权列表失败`)}finally{o(!1)}},y=[{title:`ID`,dataIndex:`id`,key:`id`},{title:`广告主账户ID`,dataIndex:`advertiserId`,key:`advertiserId`,width:160},{title:`广告主账户名称`,dataIndex:`advertiserName`,key:`advertiserName`},{title:`广告主账户角色`,dataIndex:`advertiserRole`,key:`advertiserRole`},{title:`授权账户ID`,dataIndex:`accountId`,key:`accountId`,width:160},{title:`授权账户名称`,dataIndex:`accountName`,key:`accountName`},{title:`授权账户角色`,dataIndex:`accountRole`,key:`accountRole`,render:e=>({ADVERTISER:`客户`,CUSTOMER_ADMIN:`普通版工作台-管理员`,CUSTOMER_OPERATOR:`普通版工作台-协作者`,AGENT:`代理商`,CHILD_AGENT:`二级代理商`,PLATFORM_ROLE_STAR:`星图账户`,PLATFORM_ROLE_SHOP_ACCOUNT:`抖音店铺账户`,PLATFORM_ROLE_QIANCHUAN_AGENT:`千川代理商`,PLATFORM_ROLE_STAR_AGENT:`星图代理商`,PLATFORM_ROLE_AWEME:`抖音号`,PLATFORM_ROLE_STAR_MCN:`星图MCN机构`,PLATFORM_ROLE_STAR_ISV:`星图服务商`,AGENT_SYSTEM_ACCOUNT:`代理商系统账户`,PLATFORM_ROLE_LOCAL_AGENT:`本地推代理商`,PLATFORM_ROLE_YUNTU_BRAND_ISV_ADMIN:`云图品牌服务商管理员`,PLATFORM_ROLE_LIFE:`抖音来客账户`,PLATFORM_ROLE_ENTERPRISE_BP_ADMIN:`升级版工作台管理员`,PLATFORM_ROLE_ENTERPRISE_BP_OPERATOR:`升级版工作台协作者`})[e]||e},{title:`授权账户登录账号ID`,dataIndex:`accountUserid`,key:`accountUserid`},{title:`授权账户登录账号名称`,dataIndex:`accountUsername`,key:`accountUsername`},{title:`授权ID`,dataIndex:`oauthId`,key:`oauthId`},{title:`开户方式`,dataIndex:`openType`,key:`openType`,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`},children:h[e]||e})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:160,render:e=>(0,$.jsx)(`span`,{style:{color:`#64748b`},children:Tae(e)})},{title:`操作`,fixed:`right`,dataIndex:`action`,key:`action`,render:(e,t)=>(0,$.jsx)(HH,{children:(0,$.jsx)(X,{size:`small`,danger:!0,onClick:()=>{YK.confirm({title:`确认删除`,content:`确定要删除该授权账户吗?`,okText:`确定`,cancelText:`取消`,onOk:async()=>{try{await aie({id:t.id}),n.success(`删除成功`),v(s,l)}catch{n.error(`删除失败`)}}})},children:`删除`})})}],b=()=>{document.referrer.includes(window.location.origin)?e(-1):e(`/authorization`)},x=r.map((e,t)=>({...e,index:t+1,key:e.id}));return(0,$.jsxs)(`div`,{style:{minHeight:`94vh`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,$.jsx)(X,{type:`text`,icon:(0,$.jsx)(t4,{}),onClick:b}),(0,$.jsx)(j6,{style:{color:`#6366f1`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`授权管理`})]}),(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,gap:12,marginBottom:16},children:(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,$.jsx)(_G,{placeholder:`广告主账户ID`,value:p.advertiser_id,onChange:e=>m(t=>({...t,advertiser_id:e.target.value})),style:{width:180},allowClear:!0,onPressEnter:()=>{c(1),v(1,l)}}),(0,$.jsx)(_G,{placeholder:`授权ID`,value:p.oauth_id,onChange:e=>m(t=>({...t,oauth_id:e.target.value})),style:{width:180},allowClear:!0,onPressEnter:()=>{c(1),v(1,l)}}),(0,$.jsx)(_G,{placeholder:`广告主账户名称`,value:p.advertiser_name,onChange:e=>m(t=>({...t,advertiser_name:e.target.value})),style:{width:180},allowClear:!0,onPressEnter:()=>{c(1),v(1,l)}}),(0,$.jsx)(X,{type:`primary`,size:`medium`,onClick:()=>{c(1),v(1,l)},children:`搜索`})]})}),(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:12,boxShadow:`0 1px 3px rgba(0,0,0,0.05)`},children:[(0,$.jsx)(v$,{dataSource:x,columns:y,loading:a,pagination:!1,rowKey:`id`,bordered:!1,scroll:{x:`max-content`}}),(0,$.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,$.jsx)(rK,{current:s,pageSize:l,total:d,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{c(e),u(t),v(e,t)},size:`small`})})]})]})},R9=[{key:`is_ad_high_quality_material`,label:`AD优质`,noLabel:`AD非优质素材`,unknownLabel:`AD未知`,yesColor:`green`,noColor:`red`,unknownColor:`default`},{key:`is_ecp_high_quality_material`,label:`千川优质`,noLabel:`千川非优质素材`,unknownLabel:`千川未知`,yesColor:`green`,noColor:`red`,unknownColor:`default`},{key:`is_local_high_quality_material`,label:`本地推优质`,noLabel:`本地推非优质`,unknownLabel:`本地推未知`,yesColor:`green`,noColor:`red`,unknownColor:`default`},{key:`is_inefficient_material`,label:`低效`,noLabel:`非低效`,unknownLabel:`是否低效未知`,yesColor:`red`,noColor:`green`,unknownColor:`default`},{key:`is_first_publish_material`,label:`首发`,noLabel:`非首发`,unknownLabel:`是否首发未知`,yesColor:`blue`,noColor:`default`,unknownColor:`default`}],Dae=({preResult:e})=>{let[t,n]=(0,S.useState)(null),[r,i]=(0,S.useState)(!1);if(S.useEffect(()=>{if(!e){n(null),i(!1);return}try{n(JSON.parse(e)),i(!1)}catch{n(null),i(!0)}},[e]),!e||r||!t)return(0,$.jsx)(`span`,{style:{color:`#64748b`},children:`-`});let a=e=>{let n=R9.find(t=>t.key===e);if(!n)return null;let r=t[e],i=r===`YES`,a=r===`NO`;if(r===`UNKNOWN`)return null;let o,s;return i?(o=n.label,s=n.yesColor):a&&(o=n.noLabel,s=n.noColor),{tag:(0,$.jsx)(j$,{color:s,style:{marginRight:6,fontSize:12,borderRadius:4},children:o},e),detail:{label:n.label.replace(`优质`,`优质素材`),value:o,color:s}}};return(0,$.jsx)(nT,{content:(0,$.jsxs)(`div`,{style:{maxWidth:500,padding:`8px 0`},children:[(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,display:`block`,marginBottom:12,color:`#1e293b`},children:`前测结果详情`}),(0,$.jsxs)(uH,{column:1,size:`small`,style:{marginBottom:12},children:[(0,$.jsx)(uH.Item,{label:`视频ID`,labelStyle:{fontWeight:500,color:`#64748b`},contentStyle:{color:`#1e293b`},children:t.video_id}),(0,$.jsx)(uH.Item,{label:`广告主ID`,labelStyle:{fontWeight:500,color:`#64748b`},contentStyle:{color:`#1e293b`},children:t.advertiser_id}),(0,$.jsx)(uH.Item,{label:`素材ID`,labelStyle:{fontWeight:500,color:`#64748b`},contentStyle:{color:`#1e293b`},children:t.material_id})]}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:12,color:`#64748b`,display:`block`,marginBottom:8},children:`质量评估`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:8,marginBottom:12},children:R9.map(e=>{let n=t[e.key],r=n===`YES`,i=n===`NO`;if(n===`UNKNOWN`)return null;let a,o;return r?(a=e.label,o=e.yesColor):i&&(a=e.noLabel,o=e.noColor),(0,$.jsx)(j$,{color:o,style:{fontSize:12,borderRadius:4},children:a},e.key)})}),t.not_ad_high_quality_reason&&t.not_ad_high_quality_reason.length>0&&(0,$.jsxs)(`div`,{style:{marginBottom:12},children:[(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:12,color:`#ef4444`,display:`block`,marginBottom:8},children:`AD非优质原因`}),(0,$.jsx)(MK,{dataSource:t.not_ad_high_quality_reason,renderItem:(e,t)=>(0,$.jsxs)(MK.Item,{style:{padding:`4px 0`,fontSize:12,color:`#64748b`},children:[t+1,`. `,e]},t),size:`small`})]}),t.not_ecp_high_quality_reason&&t.not_ecp_high_quality_reason.length>0&&(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:12,color:`#ef4444`,display:`block`,marginBottom:8},children:`千川非优质原因`}),(0,$.jsx)(MK,{dataSource:t.not_ecp_high_quality_reason,renderItem:(e,t)=>(0,$.jsxs)(MK.Item,{style:{padding:`4px 0`,fontSize:12,color:`#64748b`},children:[t+1,`. `,e]},t),size:`small`})]})]}),title:null,trigger:`hover`,placement:`topLeft`,overlayStyle:{borderRadius:12,boxShadow:`0 8px 24px rgba(0,0,0,0.12)`},children:(0,$.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,alignItems:`center`,gap:4},children:R9.map(e=>a(e.key)?.tag)})})},Oae=e=>{if(!e)return``;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},kae=e=>{if(!e)return``;let t=`http://ceshi.apiforeign.minzhong.cn`,n=e.startsWith(`/`)?e.slice(1):e;return`${t.endsWith(`/`)?t.slice(0,-1):t}/${n}`},Aae={image:{label:`图片`,color:`green`},video:{label:`视频`,color:`blue`}},jae={FAILED:{label:`失败`,color:`error`},PENDING:{label:`处理中`,color:`processing`},SUCCESS:{label:`成功`,color:`success`}},Mae=()=>{let{message:e}=yx.useApp(),t=Ye(),n=S.createRef(),[r,i]=(0,S.useState)([]),[a,o]=(0,S.useState)([]),[s,c]=(0,S.useState)(!1),[l,u]=(0,S.useState)(1),[d,f]=(0,S.useState)(10),[p,m]=(0,S.useState)(0),[h,g]=(0,S.useState)(new Set),[_,v]=(0,S.useState)(!1),[y,b]=(0,S.useState)(!1),[x,C]=(0,S.useState)(``),[w,T]=(0,S.useState)(`image`),E=()=>{n.current&&(n.current.pause(),n.current.currentTime=0),document.querySelectorAll(`video`).forEach(e=>{e.pause(),e.currentTime=0}),b(!1)},[D,O]=(0,S.useState)(``),[k,A]=(0,S.useState)([]),[j,M]=(0,S.useState)(!1),[N,P]=(0,S.useState)({advertiser_id:``,material_id:``,upload_id:``,file_name:``,resource_type:void 0});(0,S.useEffect)(()=>{F()},[]);let F=async(t=1,n=10,r=N)=>{c(!0);try{let e=await nie({advertiser_id:r.advertiser_id||void 0,material_id:r.material_id||void 0,upload_id:r.upload_id||void 0,file_name:r.file_name||void 0,resource_type:r.resource_type,page:t,page_size:n});e?.code===0?(o(e.data||[]),i(e.data||[]),m(e.total||0)):(o([]),m(0))}catch(t){e.error(`获取素材列表失败`),console.error(`获取素材列表失败:`,t)}finally{c(!1)}},I=[{title:`广告主ID`,dataIndex:`advertiserId`,key:`advertiserId`,width:100},{title:`素材ID`,dataIndex:`materialId`,key:`materialId`,width:120,render:e=>(0,$.jsx)(`span`,{style:{color:e?`#1e293b`:`#94a3b8`},children:e||`-`})},{title:`上传平台Id`,dataIndex:`uploadId`,key:`uploadId`,width:120,render:e=>(0,$.jsx)(`span`,{style:{color:e?`#1e293b`:`#94a3b8`},children:e||`-`})},{title:`资源类型`,dataIndex:`resourceType`,key:`resourceType`,width:100,render:e=>{let t=Aae[e];return(0,$.jsx)(j$,{color:t?.color,children:t?.label||e})}},{title:`预览`,key:`preview`,width:100,render:(e,t)=>{let n=t.resource?.resourceUrl||t.resource?.remoteUrl;return n?(0,$.jsx)(X,{type:`link`,icon:(0,$.jsx)(YW,{}),onClick:()=>{C(kae(n)),T(t.resourceType===`video`?`video`:`image`),b(!0)},size:`small`,children:`查看`}):(0,$.jsx)(j$,{children:`-`})}},{title:`文件名`,dataIndex:[`resource`,`fileName`],key:`fileName`,width:160,ellipsis:!0,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`},children:e||`-`})},{title:`文件大小`,dataIndex:[`resource`,`fileSizeBytes`],key:`fileSizeBytes`,ellipsis:!0,render:e=>`${(e/1024/1024).toFixed(2)} MB`},{title:`前测状态`,dataIndex:`status`,key:`status`,width:100,render:e=>{let t=jae[e];return(0,$.jsx)(j$,{color:t?.color,children:t?.label||e||`-`})}},{title:`前测结果`,dataIndex:`preResult`,key:`preResult`,width:120,render:e=>(0,$.jsx)(Dae,{preResult:e})},{title:`备注`,dataIndex:`note`,key:`note`,width:150,render:e=>(0,$.jsx)(_G.TextArea,{value:e||``,readOnly:!0,autoSize:{minRows:1,maxRows:4},style:{color:`#94a3b8`,resize:`none`,border:`none`,background:`transparent`,padding:0},placeholder:`-`})},{title:`用户ID`,dataIndex:`userId`,key:`userId`,width:120,render:e=>(0,$.jsx)(`span`,{style:{color:`#64748b`},children:e||`-`})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:160,render:e=>(0,$.jsx)(`span`,{style:{color:`#64748b`},children:Oae(e)})},{title:`操作`,fixed:`right`,key:`action`,render:(e,n)=>(0,$.jsx)(X,{type:`link`,onClick:()=>t(`/consume?advertiserId=${n.advertiserId}`),style:{color:`#6366f1`,padding:0},children:`查看消耗`})}],L=a.map((e,t)=>({...e,index:t+1,key:e.id})),R=async()=>{if(h.size===0){e.warning(`请先选择要推送的前测模板`);return}M(!0);try{let[e,t]=await Promise.all([N7({page:1,pageSize:100}),F7()]);A(e.data||[]),O(t.data?.id||``)}catch{e.error(`获取前测模板列表失败`)}finally{M(!1)}v(!0)},z=async()=>{if(h.size===0){e.warning(`请先选择要推送的素材`);return}if(!D){e.warning(`请选择前测模板`);return}try{await sie({resources_material_ids:Array.from(h),pre_test_template_id:D}),e.success(`推送素材成功`),v(!1),g(new Set)}catch(t){e.error(t.message||`推送素材失败`)}},B=r.filter(e=>h.has(e.id));return(0,$.jsxs)(`div`,{style:{minHeight:`94vh`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,$.jsx)(DZ,{style:{color:`#6366f1`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`素材列表`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`top`,marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16,alignItems:`center`,flexWrap:`wrap`},children:[(0,$.jsx)(_G,{placeholder:`广告主ID`,value:N.advertiser_id,onChange:e=>P(t=>({...t,advertiser_id:e.target.value})),style:{width:160},allowClear:!0,onPressEnter:()=>{u(1),F(1,d)}}),(0,$.jsx)(_G,{placeholder:`素材ID`,value:N.material_id,onChange:e=>P(t=>({...t,material_id:e.target.value})),style:{width:160},allowClear:!0,onPressEnter:()=>{u(1),F(1,d)}}),(0,$.jsx)(_G,{placeholder:`上传ID`,value:N.upload_id,onChange:e=>P(t=>({...t,upload_id:e.target.value})),style:{width:160},allowClear:!0,onPressEnter:()=>{u(1),F(1,d)}}),(0,$.jsx)(_G,{placeholder:`文件名`,value:N.file_name,onChange:e=>P(t=>({...t,file_name:e.target.value})),style:{width:140},allowClear:!0,onPressEnter:()=>{u(1),F(1,d)}}),(0,$.jsx)(iw,{placeholder:`资源类型`,value:N.resource_type,onChange:e=>P(t=>({...t,resource_type:e})),style:{width:120},allowClear:!0,options:[{value:`image`,label:`图片`},{value:`video`,label:`视频`}]}),(0,$.jsx)(X,{type:`primary`,onClick:()=>{u(1),F(1,d)},children:`搜索`})]}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:12},children:(0,$.jsxs)(X,{type:`primary`,loading:j,onClick:R,disabled:h.size===0,style:{borderRadius:12,fontSize:14,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,color:`#fff`,boxShadow:`0 4px 14px rgba(99,102,241,0.3)`},children:[`推送前测 (`,h.size,`)`]})})]}),(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:12,boxShadow:`0 1px 3px rgba(0,0,0,0.05)`},children:[(0,$.jsx)(v$,{dataSource:L,columns:I,loading:s,pagination:!1,rowKey:`id`,bordered:!1,scroll:{x:`max-content`},rowSelection:{type:`checkbox`,selectedRowKeys:Array.from(h),onChange:e=>{g(new Set(e))}}}),(0,$.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,$.jsx)(rK,{current:l,pageSize:d,total:p,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{u(e),f(t),F(e,t)},size:`small`})})]}),(0,$.jsxs)(YK,{title:`推送前测`,open:_,onCancel:()=>{v(!1),g(new Set)},onOk:z,okText:`推送`,cancelText:`取消`,width:600,style:{borderRadius:16},children:[(0,$.jsx)(`div`,{style:{display:`flex`,gap:16,marginBottom:24},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(Q.Text,{style:{fontSize:14,color:`#475569`},children:`前测模板:`}),(0,$.jsx)(iw,{value:D,onChange:e=>O(e),style:{width:200},loading:j,placeholder:`选择前测模板`,options:k.map(e=>({value:e.id,label:e.name}))})]})}),(0,$.jsxs)(`div`,{style:{marginBottom:12},children:[(0,$.jsxs)(Q.Text,{strong:!0,style:{fontSize:14,color:`#1e293b`,display:`block`,marginBottom:12},children:[`已选素材 (`,h.size,`)`]}),(0,$.jsx)(`div`,{style:{maxHeight:200,overflowY:`auto`},children:B.length>0?(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8},children:B.map(e=>(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12,padding:12,background:`#f8fafc`,borderRadius:8},children:(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`},children:[(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#1e293b`},children:e.resource.fileName}),(0,$.jsxs)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:[`ID: `,e.id]})]})},e.id))}):(0,$.jsx)(Q.Text,{style:{color:`#94a3b8`},children:`暂无选中的前测模板`})})]})]}),(0,$.jsx)(YK,{title:`预览`,open:y,onCancel:E,footer:null,width:600,style:{borderRadius:16},children:(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,alignItems:`center`,minHeight:400},children:w===`video`?(0,$.jsx)(`video`,{ref:n,src:x,controls:!0,style:{maxWidth:`100%`,maxHeight:400,borderRadius:8},autoPlay:!0}):(0,$.jsx)(`img`,{src:x,alt:`预览`,style:{maxWidth:`100%`,maxHeight:400,borderRadius:8}})})})]})},{Text:Nae}=Q,Pae=2,Fae=15,z9=7,B9=160,V9=90;function H9(e){return String(e).padStart(2,`0`)}function U9(e){return Number.isFinite(e)?Math.max(0,Math.round(e)):0}function W9(e){let t=U9(e),n=Math.floor(t/60),r=t%60;return`${H9(n)}:${H9(r)}`}function G9(e,t,n){return Math.min(Math.max(e,t),n)}function Iae(e,t){return e[0]===t[0]&&e[1]===t[1]}function K9(e,t,n=8e3){return new Promise((r,i)=>{let a,o=()=>{a&&window.clearTimeout(a),e.removeEventListener(t,s),e.removeEventListener(`error`,c)},s=()=>{o(),r()},c=()=>{o(),i(Error(`视频${t}失败`))};e.addEventListener(t,s,{once:!0}),e.addEventListener(`error`,c,{once:!0}),a=window.setTimeout(()=>{o(),i(Error(`视频${t}超时`))},n)})}function Lae(){return new Promise(e=>{window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>e())})})}async function Rae(e,t){let n=Math.max(0,t);if(Math.abs(e.currentTime-n)>.01){let t=K9(e,`seeked`);e.currentTime=n,await t}await Lae()}function zae(e,t,n){let r;try{r=e.getImageData(0,0,t,n).data}catch{return!1}let i=0,a=0;for(let e=0;e0&&a/i>=.85}async function Bae(e,t,n,r,i){let a=Math.max(0,i-.05),o=Array.from(new Set([r,r+.2,r+.5,r+1,r+2].map(e=>Math.min(e,a)).filter(e=>e>=0&&e<=a)));for(let i of o)try{if(await Rae(e,i),t.clearRect(0,0,B9,V9),t.drawImage(e,0,0,B9,V9),zae(t,B9,V9))continue;return{second:r,captureSecond:i,image:n.toDataURL(`image/jpeg`,.76),status:`success`,fallback:Math.abs(i-r)>.01}}catch{}return{second:r,image:``,status:`failed`}}function q9(e,t,n){return!e||e<=0?[0,t]:[0,Math.min(e,Math.max(t,Math.min(z9,n)))]}var Vae=({open:e,videoUrl:t,title:n=`手动拆镜`,loading:r=!1,minDuration:i=Pae,maxDuration:a=Fae,onCancel:o,onConfirm:s})=>{let c=(0,S.useRef)(null),l=(0,S.useRef)(!1),u=(0,S.useRef)([0,i]),d=(0,S.useRef)(0),f=(0,S.useRef)(null),[p,m]=(0,S.useState)(0),[h,g]=(0,S.useState)(0),[_,v]=(0,S.useState)([0,i]),[y,b]=(0,S.useState)([]),[x,C]=(0,S.useState)(!1),[w,T]=(0,S.useState)(!1),[E,D]=(0,S.useState)(``),O=(0,S.useMemo)(()=>Math.max(0,Math.floor(p||0)),[p]),k=(0,S.useMemo)(()=>Math.max(0,_[1]-_[0]),[_]),A=O>0&&O{v(t=>{let n=typeof e==`function`?e(t):e;return Iae(t,n)?t:(u.current=n,n)})},[]),M=(0,S.useCallback)(e=>{let t=U9(e);d.current!==t&&(d.current=t,g(t))},[]),N=(0,S.useCallback)(e=>{let t=c.current;if(!t||!O)return;let n=U9(G9(e,0,O));try{t.currentTime=n}catch{}M(n)},[O,M]);(0,S.useEffect)(()=>{if(!e){l.current=!0,T(!1),b([]),C(!1),m(0),M(0),D(``),j([0,i]),c.current&&c.current.pause();return}l.current=!1,T(!1),C(!0),b([]),m(0),M(0),D(``),j([0,i]);let n=document.createElement(`video`);return n.crossOrigin=`anonymous`,n.muted=!0,n.playsInline=!0,n.preload=`auto`,n.src=t,(async()=>{try{if(await K9(n,`loadedmetadata`),await K9(n,`loadeddata`).catch(()=>void 0),l.current)return;let e=Number.isFinite(n.duration)?n.duration:0,t=Math.max(0,Math.floor(e));if(m(e),j(q9(t,i,a)),!e||t<=0){D(`视频时长异常,无法抽取帧`);return}let r=document.createElement(`canvas`);r.width=B9,r.height=V9;let o=r.getContext(`2d`,{willReadFrequently:!0});if(!o){D(`当前浏览器不支持 Canvas 抽帧`);return}let s=Array.from({length:t},(e,t)=>({second:t,image:``,status:`loading`}));b(s);let c=[...s];for(let i=0;i{l.current=!0,n.pause(),n.removeAttribute(`src`),n.load()}},[e,t,i,a,M,j]);let P=(0,S.useCallback)(e=>{if(!O)return;D(``);let t=[Number(e[0]),Number(e[1])];j([Math.max(0,Math.min(O,t[0])),Math.max(t[0],Math.min(O,t[1]))])},[O,j]),F=(0,S.useCallback)(()=>{N(u.current[0])},[N]),I=(0,S.useCallback)(e=>{if(!O||A)return;let t=G9(k||Math.min(z9,a),i,Math.min(a,O)),n=G9(e,0,Math.max(0,O-t));n=U9(n);let r=[n,n+t];j(r),N(r[0])},[A,O,a,i,N,k,j]);return(0,$.jsx)(YK,{title:n,open:e,onCancel:o,width:Math.min(window.innerWidth-40,1400),destroyOnHidden:!0,footer:[(0,$.jsx)(X,{onClick:o,disabled:r,style:{borderRadius:8,border:`1px solid rgba(99, 102, 241, 0.2)`,color:`#6366f1`},children:`取消`},`cancel`),(0,$.jsx)(X,{type:`primary`,onClick:async()=>{if(!O||O<=0){D(`请等待视频加载完成`);return}if(A){D(`视频总时长不足 ${i} 秒,无法手动拆镜`);return}if(ka){D(`拆镜片段不能超过 ${a} 秒`);return}D(``),await s({startSecond:_[0],endSecond:_[1],durationSecond:k})},loading:r,disabled:r||A||!O,style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},children:`确认拆镜`},`confirm`)],children:(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:18},children:[(0,$.jsx)(`style`,{children:` +`,document.head.appendChild(k9);function A9(e){if(!e)return`-`;let t=new Date(e);return isNaN(t.getTime())?`-`:`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`}var j9=[{id:`AD_APP_ACTIVATE`,name:`AD_APP_ACTIVATE`,label:`应用-激活`,description:`应用激活行为`},{id:`AD_APP_AUTH`,name:`AD_APP_AUTH`,label:`应用-授信`,description:`应用授信行为`},{id:`AD_APP_BOOK`,name:`AD_APP_BOOK`,label:`应用-预约表单`,description:`应用预约表单`},{id:`AD_APP_BUY`,name:`AD_APP_BUY`,label:`应用-APP内付费`,description:`APP内付费行为`},{id:`AD_APP_CLICKS`,name:`AD_APP_CLICKS`,label:`应用-点击量`,description:`应用点击量`},{id:`AD_APP_DETAIL`,name:`AD_APP_DETAIL`,label:`应用-APP内详情页到站UV`,description:`APP内详情页到站UV`},{id:`AD_APP_DOWNLOADED`,name:`AD_APP_DOWNLOADED`,label:`应用-下载完成`,description:`应用下载完成`},{id:`AD_APP_INSTALLED`,name:`AD_APP_INSTALLED`,label:`应用-安装完成`,description:`应用安装完成`},{id:`AD_APP_KEY_BEHAVIOR`,name:`AD_APP_KEY_BEHAVIOR`,label:`应用-关键行为`,description:`应用关键行为`},{id:`AD_APP_ORDER`,name:`AD_APP_ORDER`,label:`应用-APP内下单`,description:`APP内下单行为`},{id:`AD_APP_PAY`,name:`AD_APP_PAY`,label:`应用-付费`,description:`应用付费行为`},{id:`AD_APP_PRE_AUTH`,name:`AD_APP_PRE_AUTH`,label:`应用-预授信`,description:`应用预授信行为`},{id:`AD_APP_PRE_DOWNLOAD`,name:`AD_APP_PRE_DOWNLOAD`,label:`应用-预约下载`,description:`应用预约下载`},{id:`AD_APP_PUSH_ORDER`,name:`AD_APP_PUSH_ORDER`,label:`应用-首次发单(乘客)`,description:`首次发单行为`},{id:`AD_APP_REGISTER`,name:`AD_APP_REGISTER`,label:`应用-注册`,description:`应用注册行为`},{id:`AD_APP_SHOW`,name:`AD_APP_SHOW`,label:`应用-展示量`,description:`应用展示量`},{id:`AD_APP_SUBMIT`,name:`AD_APP_SUBMIT`,label:`应用-提交认证`,description:`应用提交认证`},{id:`AD_APP_VIEW`,name:`AD_APP_VIEW`,label:`应用-APP内访问`,description:`APP内访问行为`},{id:`AD_CLUE_AUTH`,name:`AD_CLUE_AUTH`,label:`销售线索收集-授信`,description:`销售线索授信`},{id:`AD_CLUE_BUTTON`,name:`AD_CLUE_BUTTON`,label:`销售线索收集-按钮跳转`,description:`按钮跳转`},{id:`AD_CLUE_CLICKS`,name:`AD_CLUE_CLICKS`,label:`销售线索收集-点击量`,description:`点击量`},{id:`AD_CLUE_CONFIRM`,name:`AD_CLUE_CONFIRM`,label:`销售线索收集-回访-信息确认`,description:`回访信息确认`},{id:`AD_CLUE_CONSULT`,name:`AD_CLUE_CONSULT`,label:`销售线索收集-有效咨询`,description:`有效咨询`},{id:`AD_CLUE_CONSULT_MSG`,name:`AD_CLUE_CONSULT_MSG`,label:`销售线索收集-留资咨询`,description:`留资咨询`},{id:`AD_CLUE_COUPON`,name:`AD_CLUE_COUPON`,label:`销售线索收集-卡券领取`,description:`卡券领取`},{id:`AD_CLUE_CUSTOMER`,name:`AD_CLUE_CUSTOMER`,label:`销售线索收集-有效获客`,description:`有效获客`},{id:`AD_CLUE_CVT`,name:`AD_CLUE_CVT`,label:`销售线索收集-多转化`,description:`多转化`},{id:`AD_CLUE_DONE`,name:`AD_CLUE_DONE`,label:`销售线索收集-完件`,description:`完件`},{id:`AD_CLUE_FORM`,name:`AD_CLUE_FORM`,label:`销售线索收集-表单提交`,description:`表单提交`},{id:`AD_CLUE_FRIENDS`,name:`AD_CLUE_FRIENDS`,label:`销售线索收集-回访-加为好友`,description:`回访加为好友`},{id:`AD_CLUE_INSURANCE`,name:`AD_CLUE_INSURANCE`,label:`销售线索收集-保险支付`,description:`保险支付`},{id:`AD_CLUE_INTENTION`,name:`AD_CLUE_INTENTION`,label:`销售线索收集-存在意向`,description:`存在意向`},{id:`AD_CLUE_INTENTION_FORM`,name:`AD_CLUE_INTENTION_FORM`,label:`销售线索收集-意向表单`,description:`意向表单`},{id:`AD_CLUE_INTENTION_TEL`,name:`AD_CLUE_INTENTION_TEL`,label:`销售线索收集-意向话单`,description:`意向话单`},{id:`AD_CLUE_MESSAGE`,name:`AD_CLUE_MESSAGE`,label:`销售线索收集-私信消息`,description:`私信消息`},{id:`AD_CLUE_MONEY`,name:`AD_CLUE_MONEY`,label:`销售线索收集-放款`,description:`放款`},{id:`AD_CLUE_MSG`,name:`AD_CLUE_MSG`,label:`销售线索收集-私信留资`,description:`私信留资`},{id:`AD_CLUE_PAGE`,name:`AD_CLUE_PAGE`,label:`销售线索收集-访问目标页面`,description:`访问目标页面`},{id:`AD_CLUE_PAY`,name:`AD_CLUE_PAY`,label:`销售线索收集-付费`,description:`付费`},{id:`AD_CLUE_PRE_AUTH`,name:`AD_CLUE_PRE_AUTH`,label:`销售线索收集-预授信`,description:`预授信`},{id:`AD_CLUE_PROTENTIAL_DEAL`,name:`AD_CLUE_PROTENTIAL_DEAL`,label:`销售线索收集-回访-高潜成交`,description:`回访高潜成交`},{id:`AD_CLUE_PUSH_ORDER`,name:`AD_CLUE_PUSH_ORDER`,label:`销售线索收集-首次发单(乘客)`,description:`首次发单`},{id:`AD_CLUE_REGISTER`,name:`AD_CLUE_REGISTER`,label:`销售线索收集-注册`,description:`注册`},{id:`AD_CLUE_SHOW`,name:`AD_CLUE_SHOW`,label:`销售线索收集-展示量`,description:`展示量`},{id:`AD_CLUE_SUBMIT`,name:`AD_CLUE_SUBMIT`,label:`销售线索收集-提交认证`,description:`提交认证`},{id:`AD_CLUE_TEL`,name:`AD_CLUE_TEL`,label:`销售线索收集-智能电话确认接通`,description:`智能电话确认接通`},{id:`AD_CLUE_TEL_CALL`,name:`AD_CLUE_TEL_CALL`,label:`销售线索收集-电话接通`,description:`电话接通`},{id:`AD_CLUE_WX_ADD`,name:`AD_CLUE_WX_ADD`,label:`销售线索收集-微信-添加企业微信`,description:`添加企业微信`},{id:`AD_CLUE_WX_COPY`,name:`AD_CLUE_WX_COPY`,label:`销售线索收集-微信复制`,description:`微信复制`},{id:`AD_CLUE_WX_MSG`,name:`AD_CLUE_WX_MSG`,label:`销售线索收集-微信-用户首次消息`,description:`用户首次消息`},{id:`AD_ECP_APP_BUY`,name:`AD_ECP_APP_BUY`,label:`电商-app内下单`,description:`电商app内下单`},{id:`AD_ECP_APP_DETAIL`,name:`AD_ECP_APP_DETAIL`,label:`电商-app内详情页到站uv`,description:`电商app内详情页到站uv`},{id:`AD_ECP_APP_VIEW`,name:`AD_ECP_APP_VIEW`,label:`电商-app内访问`,description:`电商app内访问`},{id:`AD_ECP_BUTTON`,name:`AD_ECP_BUTTON`,label:`电商-按钮跳转`,description:`电商按钮跳转`},{id:`AD_ECP_INTEREST`,name:`AD_ECP_INTEREST`,label:`电商-引流电商种草`,description:`引流电商种草`},{id:`AD_ECP_SHOP`,name:`AD_ECP_SHOP`,label:`电商-调起店铺`,description:`调起店铺`},{id:`AD_ECP_SHOP_STAY`,name:`AD_ECP_SHOP_STAY`,label:`电商-店铺停留`,description:`店铺停留`},{id:`AD_MINIAPP_ACTIVATE`,name:`AD_MINIAPP_ACTIVATE`,label:`快应用-激活`,description:`快应用激活`},{id:`AD_MINIAPP_KEY_BEHAVIOR`,name:`AD_MINIAPP_KEY_BEHAVIOR`,label:`快应用-关键行为`,description:`快应用关键行为`},{id:`AD_MINIAPP_PAY`,name:`AD_MINIAPP_PAY`,label:`快应用-付费`,description:`快应用付费`},{id:`AD_MINIAPP_REGISTER`,name:`AD_MINIAPP_REGISTER`,label:`快应用-注册`,description:`快应用注册`},{id:`AD_NATIVE_ACTIVATE`,name:`AD_NATIVE_ACTIVATE`,label:`原声互动-激活`,description:`原声互动激活`},{id:`AD_NATIVE_CLICKS`,name:`AD_NATIVE_CLICKS`,label:`原声互动-组件点击`,description:`组件点击`},{id:`AD_NATIVE_FANS_GROUP`,name:`AD_NATIVE_FANS_GROUP`,label:`原声互动-粉丝入群`,description:`粉丝入群`},{id:`AD_NATIVE_FOLLOW`,name:`AD_NATIVE_FOLLOW`,label:`原声互动-帐号关注`,description:`帐号关注`},{id:`AD_NATIVE_INTERACTIVE`,name:`AD_NATIVE_INTERACTIVE`,label:`原声互动-互动`,description:`互动`},{id:`AD_NATIVE_LIVE`,name:`AD_NATIVE_LIVE`,label:`原声互动-预约直播`,description:`预约直播`},{id:`AD_NATIVE_LIVE_DONATE`,name:`AD_NATIVE_LIVE_DONATE`,label:`原声互动-直播间营销捐赠`,description:`直播间营销捐赠`},{id:`AD_NATIVE_LIVE_PAY`,name:`AD_NATIVE_LIVE_PAY`,label:`原声互动-直播间打赏`,description:`直播间打赏`},{id:`AD_NATIVE_LIVE_STAY`,name:`AD_NATIVE_LIVE_STAY`,label:`原声互动-直播间停留`,description:`直播间停留`},{id:`AD_NATIVE_LIVE_VIEW`,name:`AD_NATIVE_LIVE_VIEW`,label:`原声互动-直播间观看`,description:`直播间观看`},{id:`AD_NATIVE_PAY`,name:`AD_NATIVE_PAY`,label:`原声互动-付费`,description:`原声互动付费`},{id:`AD_PRODUCT_ACTIVATE`,name:`AD_PRODUCT_ACTIVATE`,label:`商品-激活`,description:`商品激活`},{id:`AD_PRODUCT_APP_BUY`,name:`AD_PRODUCT_APP_BUY`,label:`商品-app内下单`,description:`商品app内下单`},{id:`AD_PRODUCT_APP_DETAIL`,name:`AD_PRODUCT_APP_DETAIL`,label:`商品-app内详情页到站uv`,description:`商品app内详情页到站uv`},{id:`AD_PRODUCT_APP_PAY`,name:`AD_PRODUCT_APP_PAY`,label:`商品-app内付费`,description:`商品app内付费`},{id:`AD_PRODUCT_APP_VIEW`,name:`AD_PRODUCT_APP_VIEW`,label:`商品-app内访问`,description:`商品app内访问`},{id:`AD_PRODUCT_FORM`,name:`AD_PRODUCT_FORM`,label:`商品-表单提交`,description:`商品表单提交`},{id:`AD_PRODUCT_KEY_BEHAVIOR`,name:`AD_PRODUCT_KEY_BEHAVIOR`,label:`商品-关键行为`,description:`商品关键行为`},{id:`AD_PRODUCT_PAY`,name:`AD_PRODUCT_PAY`,label:`商品-付费`,description:`商品付费`},{id:`AD_TINYAPP_ACTIVATE`,name:`AD_TINYAPP_ACTIVATE`,label:`小程序-激活`,description:`小程序激活`},{id:`AD_TINYAPP_KEY_BEHAVIOR`,name:`AD_TINYAPP_KEY_BEHAVIOR`,label:`小程序-关键行为`,description:`小程序关键行为`},{id:`AD_TINYAPP_PAY`,name:`AD_TINYAPP_PAY`,label:`小程序-付费`,description:`小程序付费`},{id:`QC_LIVE_BUY`,name:`QC_LIVE_BUY`,label:`直播投放-直播间下单`,description:`直播间下单`},{id:`QC_LIVE_CHECK`,name:`QC_LIVE_CHECK`,label:`直播投放-直播间结算`,description:`直播间结算`},{id:`QC_LIVE_COMMENTS`,name:`QC_LIVE_COMMENTS`,label:`直播投放-直播间评论`,description:`直播间评论`},{id:`QC_LIVE_DEAL`,name:`QC_LIVE_DEAL`,label:`直播投放-直播间成交`,description:`直播间成交`},{id:`QC_LIVE_ENTRY`,name:`QC_LIVE_ENTRY`,label:`直播投放-进入直播间`,description:`进入直播间`},{id:`QC_LIVE_FANS`,name:`QC_LIVE_FANS`,label:`直播投放-直播间粉丝提升`,description:`直播间粉丝提升`},{id:`QC_LIVE_HIT`,name:`QC_LIVE_HIT`,label:`直播投放-直播加热`,description:`直播加热`},{id:`QC_LIVE_PRODUCT_CLICKS`,name:`QC_LIVE_PRODUCT_CLICKS`,label:`直播投放-直播间商品点击`,description:`直播间商品点击`},{id:`QC_LIVE_ROI_CHECK`,name:`QC_LIVE_ROI_CHECK`,label:`直播投放-结算roi`,description:`结算roi`},{id:`QC_LIVE_ROI_DEAL`,name:`QC_LIVE_ROI_DEAL`,label:`直播投放-支付roi-直播间成交`,description:`支付roi直播间成交`},{id:`QC_LIVE_ROI_QC`,name:`QC_LIVE_ROI_QC`,label:`直播投放-支付roi-千川直接+间接订单`,description:`支付roi千川订单`},{id:`QC_PRODUCT_BUY`,name:`QC_PRODUCT_BUY`,label:`商品投放-商品购买`,description:`商品购买`},{id:`QC_PRODUCT_COMMENTS`,name:`QC_PRODUCT_COMMENTS`,label:`商品投放-点赞评论`,description:`点赞评论`},{id:`QC_PRODUCT_FANS`,name:`QC_PRODUCT_FANS`,label:`商品投放-粉丝提升`,description:`粉丝提升`},{id:`QC_PRODUCT_INTEREST`,name:`QC_PRODUCT_INTEREST`,label:`商品投放-人群种草`,description:`人群种草`},{id:`QC_PRODUCT_QC`,name:`QC_PRODUCT_QC`,label:`商品投放-千川直接+间接订单`,description:`千川订单`},{id:`QC_PRODUCT_ROI`,name:`QC_PRODUCT_ROI`,label:`商品投放-商品支付roi`,description:`商品支付roi`}],Lae=e=>{if(!e)return``;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},Rae=()=>{let{message:e}=sx.useApp(),[t,n]=(0,S.useState)([]),[r,i]=(0,S.useState)(0),[a,o]=(0,S.useState)(!1),[s,c]=(0,S.useState)(!1),[l,u]=(0,S.useState)(`create`),[d,f]=(0,S.useState)(null),[p]=jU.useForm(),[m,h]=(0,S.useState)(!1),[g,_]=(0,S.useState)(!1),[v,y]=(0,S.useState)(1),[b,x]=(0,S.useState)(10),[C,w]=(0,S.useState)(`AD`),[T,E]=(0,S.useState)(void 0),[D,O]=(0,S.useState)([]),[k,A]=(0,S.useState)({}),[j,M]=(0,S.useState)({});(0,S.useEffect)(()=>{N()},[v,b]),(0,S.useEffect)(()=>{P()},[]);let N=async t=>{o(!0);try{let e=await k7({page:t?.page??v,pageSize:t?.pageSize??b,platform:t?.platform??T});n(e.data||[]),i(e.pagination?.total||0),y(e.pagination?.page||1),x(e.pagination?.pageSize||10)}catch{e.error(`获取前测列表失败`)}finally{o(!1)}},P=async()=>{try{let e=localStorage.getItem(`preTestAreaData`);if(e){let t=JSON.parse(e);O(t.areaOptions),A(t.cityCodeMap),M(t.provinceCityMap);return}let t=(await R7({level:`ONE_LEVEL`})).data||[],n={},r={},i=await Promise.all(t.map(async e=>{let t=[];try{t=((await R7({level:`TWO_LEVEL`,parent_code:e.code})).data||[]).map(e=>({value:e.code,label:e.name,isLeaf:!0}));let i=t.map(e=>e.value);r[e.code]=i,t.forEach(e=>{n[e.value]=e.label})}catch(t){console.error(`获取省份 ${e.name} 的城市失败`,t),r[e.code]=[]}return{value:e.code,label:e.name,isLeaf:!1,children:t}})),a={areaOptions:i,cityCodeMap:n,provinceCityMap:r};localStorage.setItem(`preTestAreaData`,JSON.stringify(a)),O(i),A(n),M(r)}catch{e.error(`获取省份信息失败`)}},F=async t=>{let n=t[t.length-1];n.loading=!0;try{n.children=((await R7({level:`TWO_LEVEL`,parent_code:n.value})).data||[]).map(e=>({value:e.code,label:e.name,isLeaf:!0})),n.loading=!1,O([...D])}catch{e.error(`获取城市信息失败`),n.loading=!1,O([...D])}},I=t.map((e,t)=>({...e,index:(v-1)*b+t+1,key:e.id})),L=[{title:`前测模板编号`,dataIndex:`id`,key:`id`,width:120,render:e=>(0,$.jsx)(Q.Text,{strong:!0,style:{color:`#1e293b`,fontSize:13},children:e})},{title:`模板名称`,dataIndex:`name`,key:`name`,ellipsis:!0,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontWeight:500,fontSize:13},children:e})},{title:`平台`,dataIndex:`platform`,key:`platform`,render:e=>(0,$.jsx)(E$,{color:e===`AD`?`blue`:e===`QIANCHUAN`?`green`:`orange`,style:{borderRadius:6,fontSize:12},children:e===`AD`?`AD`:e===`QIANCHUAN`?`千川`:`本地推`})},{title:`转化目标`,dataIndex:`externalAction`,key:`externalAction`,ellipsis:!0,width:200,render:e=>{if(!e)return(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13},children:`-`});let t=j9.find(t=>t.name===e.trim());return(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:t?t.label:e})}},{title:`目标转化成本`,dataIndex:`cpaBid`,key:`cpaBid`,width:120,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:e===void 0?`-`:e})},{title:`受众性别`,dataIndex:`audienceGender`,key:`audienceGender`,width:90,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:e===`ALL`?`不限`:e===`MALE`?`男`:e===`FEMALE`?`女`:e||`-`})},{title:`受众年龄`,dataIndex:`audienceAge`,key:`audienceAge`,width:90,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:Array.isArray(e)?e.join(`, `):e||`-`})},{title:`受众地区`,dataIndex:`audienceRegion`,key:`audienceRegion`,ellipsis:!0,width:300,render:e=>{if(!Array.isArray(e)||e.length===0)return(0,$.jsx)(`span`,{style:{color:`#94a3b8`,fontSize:13},children:`-`});let t=e.map(e=>k[String(e)]||String(e));return(0,$.jsx)(fG.TextArea,{value:t.join(`, `)||`-`,readOnly:!0,autoSize:{minRows:1,maxRows:4},style:{resize:`none`,border:`none`,background:`transparent`,padding:0},placeholder:`-`})}},{title:`网络类型`,dataIndex:`audienceNetwork`,key:`audienceNetwork`,width:90,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:Array.isArray(e)?e.join(`, `):e||`-`})},{title:`客户主体名称`,dataIndex:`cusName`,key:`cusName`,ellipsis:!0,width:120,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:e||`-`})},{title:`出价类型`,dataIndex:`pricingType`,key:`pricingType`,width:90,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:e||`-`})},{title:`目标点击成本`,dataIndex:`cpcBid`,key:`cpcBid`,width:120,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:e===void 0?`-`:e})},{title:`预算金额`,dataIndex:`budget`,key:`budget`,width:100,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontSize:13},children:e===void 0?`-`:e})},{title:`默认模板`,dataIndex:`isDefault`,key:`isDefault`,width:90,render:e=>(0,$.jsx)(E$,{color:e?`green`:`default`,style:{borderRadius:6,fontSize:12},children:e?`是`:`否`})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:160,render:e=>(0,$.jsx)(Q.Text,{style:{color:`#94a3b8`,fontSize:12},children:Lae(e)})},{title:`操作`,dataIndex:`operation`,fixed:`right`,key:`operation`,render:(e,t)=>(0,$.jsxs)(LH,{size:4,children:[(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(WW,{}),style:{color:`#6366f1`,fontSize:12},onClick:()=>B(t),children:`详情`}),(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(c1,{}),style:{color:`#6366f1`,fontSize:12},onClick:()=>V(t),children:`编辑`}),(0,$.jsx)(X,{type:`text`,size:`small`,icon:(0,$.jsx)(B$,{}),style:{color:`#ef4444`,fontSize:12},onClick:()=>H(t),children:`删除`})]})}],R=()=>{p.resetFields(),w(`AD`),u(`create`),f(null),c(!0)},z=async e=>{f(e),w(e.platform||`AD`);let t=e.audienceRegion||[],n=[];for(let e of t){let t=String(e);if(t.length>=6){let e=t.slice(0,2);F(e),n.push([e,t])}}p.setFieldsValue({name:e.name,note:e.note,platform:e.platform,external_action:e.externalAction,cpa_bid:e.cpaBid,audience_gender:e.audienceGender,audience_age:e.audienceAge||[],audience_region:n,audience_network:e.audienceNetwork||[],cus_name:e.cusName,pricing_type:e.pricingType,cost_cap:e.costCap===void 0?!1:e.costCap,target_cost:e.targetCost===void 0?!1:e.targetCost,nobid:e.nobid===void 0?!1:e.nobid,cpc_bid:e.cpcBid,budget:e.budget,is_default:e.isDefault===void 0?!1:e.isDefault})},B=async t=>{try{let e=(await A7(t.id)).data;u(`detail`),z(e),c(!0)}catch{e.error(`获取详情失败`)}},V=async t=>{try{let e=(await A7(t.id)).data;u(`edit`),z(e),c(!0)}catch{e.error(`获取详情失败`)}},H=t=>{WK.confirm({title:`确认删除`,content:`确定要删除该前测模板吗?`,okText:`确定`,cancelText:`取消`,onOk:async()=>{try{await Jre(t.id),e.success(`删除成功`),N()}catch{e.error(`删除失败`)}}})};return(0,$.jsxs)(`div`,{style:{minHeight:`calc(100vh - 80px)`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,$.jsx)(HH,{style:{color:`#6366f1`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`素材前测模板`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16,alignItems:`center`},children:[(0,$.jsx)(KC,{placeholder:`投放平台`,value:T,onChange:e=>E(e),style:{width:140},allowClear:!0,options:[{value:`AD`,label:`AD`},{value:`QIANCHUAN`,label:`千川`},{value:`LOCAL`,label:`本地推`}]}),(0,$.jsx)(X,{type:`primary`,onClick:()=>{y(1),N()},children:`搜索`})]}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:12},children:(0,$.jsx)(X,{type:`primary`,size:`medium`,icon:(0,$.jsx)(NL,{}),loading:a,onClick:R,style:{borderRadius:12,fontSize:14,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,boxShadow:`0 4px 14px rgba(99,102,241,0.3)`},children:`新增模板`})})]}),(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:16,boxShadow:`0 4px 20px rgba(0,0,0,0.04)`,overflow:`hidden`},children:[(0,$.jsx)(p$,{dataSource:I,columns:L,loading:a,pagination:!1,rowKey:`id`,bordered:!1,scroll:{x:`max-content`},onRow:()=>({style:{cursor:`pointer`,transition:`background-color 0.15s`},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=`#f8fafc`},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=`transparent`}})}),(0,$.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,$.jsx)(QG,{current:v,pageSize:b,total:r,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,pageSizeOptions:[`10`,`20`,`50`,`100`],onChange:(e,t)=>{y(e),x(t)},size:`small`})})]}),(0,$.jsx)(WK,{title:(0,$.jsx)(LH,{children:l===`create`?`新增前测模板(选填项如填写需准确填写)`:l===`edit`?`编辑前测模板(选填项如填写需准确填写)`:`前测模板详情`}),open:s,onCancel:()=>{c(!1),p.resetFields(),w(`AD`)},onOk:async()=>{try{let t=await p.validateFields();_(!0);let n=[];(t.audience_region||[]).forEach(e=>{if(e.length===1){let t=j[e[0]]||[];n.push(...t)}else e.length>=2&&n.push(e[e.length-1])});let r={name:t.name,note:t.note,platform:t.platform,external_action:t.external_action,cpa_bid:t.cpa_bid||0,audience_gender:t.audience_gender,audience_age:t.audience_age||[],audience_region:n,audience_network:t.audience_network||[],cus_name:t.cus_name,pricing_type:t.pricing_type,cost_cap:t.cost_cap||!1,target_cost:t.target_cost||!1,nobid:t.nobid||!1,cpc_bid:t.cpc_bid||0,budget:t.budget||0,is_default:t.is_default||!1};l===`edit`&&d?(await qre(d.id,r),e.success(`前测模板更新成功`)):(await Kre(r),e.success(`前测模板创建成功`)),c(!1),p.resetFields(),N()}catch(t){t?.message?e.error(t.message):t?.response?.data?.message?e.error(t.response.data.message):e.error(l===`edit`?`更新失败,请重试`:`创建失败,请重试`)}finally{_(!1)}},okText:l===`detail`?``:`提交`,cancelText:`取消`,width:720,height:600,confirmLoading:g,style:{borderRadius:16},footer:l===`detail`?null:void 0,children:(0,$.jsxs)(jU,{form:p,layout:`vertical`,style:{marginTop:16},disabled:l===`detail`,children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,$.jsx)(jU.Item,{style:{flex:1},name:`name`,label:`模板名称`,rules:[{required:!0,message:`请输入模板名称`}],children:(0,$.jsx)(fG,{placeholder:`请输入模板名称`,style:{borderRadius:8,height:40}})}),(0,$.jsx)(jU.Item,{style:{flex:1},name:`platform`,label:`平台`,initialValue:`AD`,rules:[{required:!0,message:`请选择平台`}],children:(0,$.jsx)(KC,{placeholder:`请选择平台`,style:{borderRadius:8,height:40},onChange:e=>{w(e)},options:[{value:`AD`,label:`AD`},{value:`QIANCHUAN`,label:`千川`},{value:`LOCAL`,label:`本地推`}]})})]}),(0,$.jsx)(t_,{defaultActiveKey:[],activeKey:m?[`optional`]:[],onChange:()=>h(!m),children:(0,$.jsxs)(t_.Panel,{header:`选填项`,children:[C!==`LOCAL`&&(0,$.jsx)(jU.Item,{name:`external_action`,label:`转化目标`,children:(0,$.jsx)(KC,{placeholder:`请选择转化目标`,style:{borderRadius:8,height:40},options:j9.filter(e=>C===`AD`?e.name.startsWith(`AD_`):C===`QIANCHUAN`?e.name.startsWith(`QC_`):C===`LOCAL`?e.name.startsWith(`LOCAL_`):!0).map(e=>({value:e.name,label:(0,$.jsxs)(`span`,{children:[e.label,e.description&&(0,$.jsxs)(Q.Text,{style:{color:`#94a3b8`,fontSize:12,marginLeft:4},children:[`(`,e.description,`)`]})]})}))})}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,$.jsx)(jU.Item,{style:{flex:1},name:`cpa_bid`,label:`目标转化成本`,rules:[{type:`number`,min:1,max:1e4,message:`取值范围: 1-10000`}],getValueFromEvent:e=>parseFloat(e.target.value)||void 0,children:(0,$.jsx)(fG,{type:`number`,placeholder:`取值范围: 1-10000,精确到小数点后2位`,style:{borderRadius:8,height:40},min:1,max:1e4,step:.01})}),(0,$.jsx)(jU.Item,{style:{flex:1},name:`audience_gender`,label:`受众性别`,children:(0,$.jsx)(KC,{placeholder:`请选择受众性别`,style:{borderRadius:8,height:40},options:[{value:`ALL`,label:`不限`},{value:`MALE`,label:`男`},{value:`FEMALE`,label:`女`}]})})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,$.jsx)(jU.Item,{style:{flex:1},name:`audience_age`,label:`受众年龄`,children:(0,$.jsx)(KC,{mode:`multiple`,placeholder:`请选择受众年龄(可多选)`,style:{borderRadius:8,minHeight:40},maxTagCount:`responsive`,options:[{value:`ALL`,label:`不限`},{value:`18-23`,label:`18-23岁`},{value:`24-30`,label:`24-30岁`},{value:`31-40`,label:`31-40岁`},{value:`41-49`,label:`41-49岁`},{value:`50`,label:`50岁以上`}]})}),(0,$.jsx)(jU.Item,{style:{flex:1},name:`audience_network`,label:`网络类型`,children:(0,$.jsx)(KC,{mode:`multiple`,placeholder:`请选择网络类型(可多选)`,style:{borderRadius:8,minHeight:40},maxTagCount:`responsive`,options:[{value:`ALL`,label:`不限`},{value:`5G`,label:`5G`},{value:`4G`,label:`4G`},{value:`3G`,label:`3G`},{value:`2G`,label:`2G`},{value:`WIFI`,label:`wifi`}]})})]}),(0,$.jsx)(jU.Item,{name:`audience_region`,label:`受众地区`,children:(0,$.jsx)(Ez,{multiple:!0,placeholder:`请选择受众地区(可多选)`,style:{borderRadius:8,minHeight:40},options:D,maxTagCount:`responsive`})}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,$.jsx)(jU.Item,{style:{flex:1},name:`cus_name`,label:`客户主体名称`,children:(0,$.jsx)(fG,{placeholder:`请输入客户主体名称`,style:{borderRadius:8,height:40}})}),(0,$.jsx)(jU.Item,{style:{flex:1},name:`pricing_type`,label:`出价类型`,children:(0,$.jsx)(KC,{placeholder:`请选择出价类型`,style:{borderRadius:8,height:40},options:[{value:`OCPC`,label:`OCPC`},{value:`CPA`,label:`CPA`},{value:`OCPM`,label:`OCPM`}]})})]}),C==`AD`&&(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,$.jsx)(jU.Item,{style:{flex:1},name:`cost_cap`,label:`是否最优成本出价`,initialValue:!1,children:(0,$.jsx)(KC,{placeholder:`是否最优成本出价`,style:{borderRadius:8,height:40},options:[{value:!0,label:`开启`},{value:!1,label:`关闭`}]})}),(0,$.jsx)(jU.Item,{style:{flex:1},name:`target_cost`,label:`是否稳定成本出价`,initialValue:!1,children:(0,$.jsx)(KC,{placeholder:`是否稳定成本出价`,style:{borderRadius:8,height:40},options:[{value:!0,label:`开启`},{value:!1,label:`关闭`}]})}),(0,$.jsx)(jU.Item,{style:{flex:1},name:`nobid`,label:`是否最大转化出价`,initialValue:!1,children:(0,$.jsx)(KC,{placeholder:`是否最大转化出价`,style:{borderRadius:8,height:40},options:[{value:!0,label:`开启`},{value:!1,label:`关闭`}]})})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16},children:[(0,$.jsx)(jU.Item,{style:{flex:1},name:`cpc_bid`,label:`目标点击成本`,getValueFromEvent:e=>parseFloat(e.target.value)||void 0,children:(0,$.jsx)(fG,{type:`number`,placeholder:`请输入目标点击成本`,style:{borderRadius:8,height:40}})}),(0,$.jsx)(jU.Item,{style:{flex:1},name:`budget`,label:`预算金额`,getValueFromEvent:e=>parseFloat(e.target.value)||void 0,children:(0,$.jsx)(fG,{type:`number`,placeholder:`请输入预算金额`,style:{borderRadius:8,height:40}})})]}),(0,$.jsx)(jU.Item,{name:`note`,label:`备注`,children:(0,$.jsx)(fG.TextArea,{placeholder:`请输入备注`,rows:2,style:{borderRadius:8}})}),(0,$.jsx)(jU.Item,{name:`is_default`,label:`默认模板`,initialValue:!1,children:(0,$.jsx)(KC,{placeholder:`请选择默认模板`,style:{borderRadius:8,height:40},options:[{value:!0,label:`是`},{value:!1,label:`否`}]})})]},`optional`)})]})})]})},M9=e=>{if(!e)return``;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},zae=e=>{let t=`http://ceshi.apiforeign.minzhong.cn`;if(e.startsWith(`http://`)||e.startsWith(`https://`))return e;let n=e.startsWith(`/`)?e.slice(1):e;return`${t.endsWith(`/`)?t.slice(0,-1):t}/${n}`},Bae=()=>{let{message:e}=sx.useApp(),t=Ye(),[n,r]=(0,S.useState)([]),[i,a]=(0,S.useState)(!1),[o,s]=(0,S.useState)(!1),[c,l]=(0,S.useState)(!1),[u,d]=(0,S.useState)(void 0),[f,p]=(0,S.useState)(1),[m,h]=(0,S.useState)(10),[g,_]=(0,S.useState)(0),[v,y]=(0,S.useState)({account_userid:``,open_type:void 0,account_id:``}),[b,x]=(0,S.useState)({}),[C,w]=(0,S.useState)([]),[T,E]=(0,S.useState)([]);(0,S.useEffect)(()=>{k(),O(),D()},[]);let D=async()=>{try{await j7()}catch{}},O=async()=>{try{let e=(await V7()).data||[],t={},n=[];e.forEach(e=>{t[e.openType]=e.typeName,n.push({value:e.openType,label:e.typeName})}),x(t),w(n),E(e)}catch(e){console.error(`加载开户方式列表失败:`,e)}},k=async(t=1,n=10,i=v)=>{s(!0);try{let e=await O7({page:t,page_size:n,account_userid:i.account_userid||void 0,open_type:i.open_type,account_id:i.account_id||void 0});e?(e.data&&r(e.data.data||e.data),e.pagination&&(_(e.pagination.total||0),p(e.pagination.page||1),h(e.pagination.pageSize||10))):r(e||[])}catch{e.error(`获取授权列表失败`)}finally{s(!1)}},A=()=>{l(!0)},j=async()=>{if(!u){e.warning(`请选择开户方式`);return}a(!0);try{let t=await D7({open_type:u});t.authUrl?window.open(t.authUrl,`_blank`):e.error(`获取授权链接失败`)}catch{e.error(`请求授权失败`)}finally{a(!1),l(!1),d(void 0)}},M=async t=>{try{let n=await D7({open_type:t.openType});n.authUrl?window.open(n.authUrl,`_blank`):e.error(`获取授权链接失败`)}catch{e.error(`重新授权失败`)}},N=[{title:`ID`,dataIndex:`id`,key:`id`},{title:`授权绑定账户ID`,dataIndex:`accountId`,key:`accountId`},{title:`授权账户名称`,dataIndex:`accountName`,key:`accountName`},{title:`授权账户角色`,dataIndex:`accountRole`,key:`accountRole`,render:e=>({ADVERTISER:`客户`,CUSTOMER_ADMIN:`普通版工作台-管理员`,CUSTOMER_OPERATOR:`普通版工作台-协作者`,AGENT:`代理商`,CHILD_AGENT:`二级代理商`,PLATFORM_ROLE_STAR:`星图账户`,PLATFORM_ROLE_SHOP_ACCOUNT:`抖音店铺账户`,PLATFORM_ROLE_QIANCHUAN_AGENT:`千川代理商`,PLATFORM_ROLE_STAR_AGENT:`星图代理商`,PLATFORM_ROLE_AWEME:`抖音号`,PLATFORM_ROLE_STAR_MCN:`星图MCN机构`,PLATFORM_ROLE_STAR_ISV:`星图服务商`,AGENT_SYSTEM_ACCOUNT:`代理商系统账户`,PLATFORM_ROLE_LOCAL_AGENT:`本地推代理商`,PLATFORM_ROLE_YUNTU_BRAND_ISV_ADMIN:`云图品牌服务商管理员`,PLATFORM_ROLE_LIFE:`抖音来客账户`,PLATFORM_ROLE_ENTERPRISE_BP_ADMIN:`升级版工作台管理员`,PLATFORM_ROLE_ENTERPRISE_BP_OPERATOR:`升级版工作台协作者`})[e]||e},{title:`授权登录账户用户ID`,dataIndex:`accountUserid`,key:`accountUserid`,render:e=>(0,$.jsx)(`span`,{style:{color:e?`#1e293b`:`#94a3b8`},children:e||`-`})},{title:`授权账户用户名`,dataIndex:`accountUsername`,key:`accountUsername`},{title:`开户方式`,dataIndex:`openType`,key:`openType`,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`},children:b[e]||e})},{title:`是否敏感物料授权`,dataIndex:`materialAuthStatus`,key:`materialAuthStatus`,width:100,render:e=>(0,$.jsx)(E$,{color:e?`green`:`default`,children:e?`是`:`否`})},{title:`授权有效时间`,dataIndex:`refreshTokenExpired`,key:`refreshTokenExpired`,width:160,render:e=>(0,$.jsx)(`span`,{style:{color:`#64748b`},children:M9(e)})},{title:`更新时间`,dataIndex:`updatedAt`,key:`updatedAt`,width:160,render:e=>(0,$.jsx)(`span`,{style:{color:`#64748b`},children:M9(e)})},{title:`操作`,dataIndex:`action`,fixed:`right`,key:`action`,width:190,render:(e,n)=>(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(X,{type:`link`,onClick:()=>t(`/authacc?oauth_id=${n.id}`),style:{color:`#6366f1`,padding:0},children:`查看授权账户`}),(0,$.jsx)(X,{type:`link`,onClick:()=>M(n),style:{color:`#00c49f`,padding:0,marginLeft:8},children:`重新授权`})]})}],P=n.map((e,t)=>({...e,index:t+1,key:e.id}));return(0,$.jsxs)(`div`,{style:{minHeight:`94vh`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,$.jsx)(k6,{style:{color:`#6366f1`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`授权管理`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,gap:12,marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,$.jsx)(fG,{placeholder:`授权绑定账户ID`,value:v.account_id,onChange:e=>y(t=>({...t,account_id:e.target.value})),style:{width:180},allowClear:!0,onPressEnter:()=>{p(1),k(1,m)}}),(0,$.jsx)(fG,{placeholder:`授权登录账户用户ID`,value:v.account_userid,onChange:e=>y(t=>({...t,account_userid:e.target.value})),style:{width:180},allowClear:!0,onPressEnter:()=>{p(1),k(1,m)}}),(0,$.jsx)(KC,{placeholder:`开户方式`,value:v.open_type,onChange:e=>y(t=>({...t,open_type:e})),style:{width:140},allowClear:!0,options:C}),(0,$.jsx)(X,{type:`primary`,size:`medium`,onClick:()=>{p(1),k(1,m)},children:`搜索`})]}),(0,$.jsx)(X,{type:`primary`,size:`medium`,icon:(0,$.jsx)(NL,{}),onClick:A,loading:i,style:{borderRadius:8,fontSize:14,fontWeight:500},children:`点击授权`})]}),(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:12,boxShadow:`0 1px 3px rgba(0,0,0,0.05)`},children:[(0,$.jsx)(p$,{dataSource:P,columns:N,loading:o,pagination:!1,rowKey:`id`,bordered:!1,scroll:{x:`max-content`}}),(0,$.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,$.jsx)(QG,{current:f,pageSize:m,total:g,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{p(e),h(t),k(e,t)},size:`small`})})]}),(0,$.jsx)(WK,{title:`选择开户方式`,open:c,onOk:j,onCancel:()=>{l(!1),d(void 0)},okText:`确认授权`,cancelText:`取消`,confirmLoading:i,width:700,children:(0,$.jsx)(`div`,{style:{display:`flex`,gap:16,flexWrap:`wrap`,maxHeight:420,overflowY:`auto`},children:T.map(e=>(0,$.jsxs)(`div`,{onClick:()=>d(e.openType),style:{width:`calc(33.33% - 12px)`,cursor:`pointer`,borderRadius:12,border:`2px solid ${u===e.openType?`#6366f1`:`#e2e8f0`}`,padding:16,transition:`all 0.3s ease`,background:u===e.openType?`#f0f1ff`:`#fff`},children:[(0,$.jsx)(`div`,{style:{width:`100%`,height:48,marginBottom:12,borderRadius:8,overflow:`hidden`},children:e.thumb?(0,$.jsx)(`img`,{src:zae(e.thumb),alt:e.typeName,style:{width:`100%`,height:`100%`,display:`block`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,background:`#f1f5f9`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(Q.Text,{type:`secondary`,children:`暂无图片`})})}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#1e293b`},children:e.typeName}),(0,$.jsx)(`p`,{style:{fontSize:12,color:`#64748b`,marginTop:8,marginBottom:0,lineHeight:1.5},children:e.description})]},e.id))})})]})},Vae=e=>{if(!e)return``;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},Hae=()=>{let e=Ye(),[t]=On(),{message:n}=sx.useApp(),[r,i]=(0,S.useState)([]),[a,o]=(0,S.useState)(!1),[s,c]=(0,S.useState)(1),[l,u]=(0,S.useState)(10),[d,f]=(0,S.useState)(0),[p,m]=(0,S.useState)({advertiser_id:``,oauth_id:``,advertiser_name:``}),[h,g]=(0,S.useState)({});(0,S.useEffect)(()=>{let e=t.get(`oauth_id`);e?(m(t=>({...t,oauth_id:e})),v(1,10,{...p,oauth_id:e})):v(),_()},[]);let _=async()=>{try{let e=(await V7()).data||[],t={},n=[];e.forEach(e=>{t[e.openType]=e.typeName,n.push({value:e.openType,label:e.typeName})}),g(t)}catch(e){console.error(`加载开户方式列表失败:`,e)}},v=async(e=1,t=10,r=p)=>{o(!0);try{let n=await die({advertiser_id:r.advertiser_id||``,oauth_id:r.oauth_id||``,advertiser_name:r.advertiser_name||``,page:e,page_size:t});n?(n.data&&i(n.data.data||n.data),n.pagination&&(f(n.pagination.total||0),c(n.pagination.page||1),u(n.pagination.pageSize||10))):i(n||[])}catch{n.error(`获取授权列表失败`)}finally{o(!1)}},y=[{title:`ID`,dataIndex:`id`,key:`id`},{title:`广告主账户ID`,dataIndex:`advertiserId`,key:`advertiserId`,width:160},{title:`广告主账户名称`,dataIndex:`advertiserName`,key:`advertiserName`},{title:`广告主账户角色`,dataIndex:`advertiserRole`,key:`advertiserRole`},{title:`授权账户ID`,dataIndex:`accountId`,key:`accountId`,width:160},{title:`授权账户名称`,dataIndex:`accountName`,key:`accountName`},{title:`授权账户角色`,dataIndex:`accountRole`,key:`accountRole`,render:e=>({ADVERTISER:`客户`,CUSTOMER_ADMIN:`普通版工作台-管理员`,CUSTOMER_OPERATOR:`普通版工作台-协作者`,AGENT:`代理商`,CHILD_AGENT:`二级代理商`,PLATFORM_ROLE_STAR:`星图账户`,PLATFORM_ROLE_SHOP_ACCOUNT:`抖音店铺账户`,PLATFORM_ROLE_QIANCHUAN_AGENT:`千川代理商`,PLATFORM_ROLE_STAR_AGENT:`星图代理商`,PLATFORM_ROLE_AWEME:`抖音号`,PLATFORM_ROLE_STAR_MCN:`星图MCN机构`,PLATFORM_ROLE_STAR_ISV:`星图服务商`,AGENT_SYSTEM_ACCOUNT:`代理商系统账户`,PLATFORM_ROLE_LOCAL_AGENT:`本地推代理商`,PLATFORM_ROLE_YUNTU_BRAND_ISV_ADMIN:`云图品牌服务商管理员`,PLATFORM_ROLE_LIFE:`抖音来客账户`,PLATFORM_ROLE_ENTERPRISE_BP_ADMIN:`升级版工作台管理员`,PLATFORM_ROLE_ENTERPRISE_BP_OPERATOR:`升级版工作台协作者`})[e]||e},{title:`授权账户登录账号ID`,dataIndex:`accountUserid`,key:`accountUserid`},{title:`授权账户登录账号名称`,dataIndex:`accountUsername`,key:`accountUsername`},{title:`授权ID`,dataIndex:`oauthId`,key:`oauthId`},{title:`开户方式`,dataIndex:`openType`,key:`openType`,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`},children:h[e]||e})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:160,render:e=>(0,$.jsx)(`span`,{style:{color:`#64748b`},children:Vae(e)})},{title:`操作`,fixed:`right`,dataIndex:`action`,key:`action`,render:(e,t)=>(0,$.jsx)(LH,{children:(0,$.jsx)(X,{size:`small`,danger:!0,onClick:()=>{WK.confirm({title:`确认删除`,content:`确定要删除该授权账户吗?`,okText:`确定`,cancelText:`取消`,onOk:async()=>{try{await fie({id:t.id}),n.success(`删除成功`),v(s,l)}catch{n.error(`删除失败`)}}})},children:`删除`})})}],b=()=>{document.referrer.includes(window.location.origin)?e(-1):e(`/authorization`)},x=r.map((e,t)=>({...e,index:t+1,key:e.id}));return(0,$.jsxs)(`div`,{style:{minHeight:`94vh`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,$.jsx)(X,{type:`text`,icon:(0,$.jsx)(X2,{}),onClick:b}),(0,$.jsx)(k6,{style:{color:`#6366f1`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`授权管理`})]}),(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,gap:12,marginBottom:16},children:(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,$.jsx)(fG,{placeholder:`广告主账户ID`,value:p.advertiser_id,onChange:e=>m(t=>({...t,advertiser_id:e.target.value})),style:{width:180},allowClear:!0,onPressEnter:()=>{c(1),v(1,l)}}),(0,$.jsx)(fG,{placeholder:`授权ID`,value:p.oauth_id,onChange:e=>m(t=>({...t,oauth_id:e.target.value})),style:{width:180},allowClear:!0,onPressEnter:()=>{c(1),v(1,l)}}),(0,$.jsx)(fG,{placeholder:`广告主账户名称`,value:p.advertiser_name,onChange:e=>m(t=>({...t,advertiser_name:e.target.value})),style:{width:180},allowClear:!0,onPressEnter:()=>{c(1),v(1,l)}}),(0,$.jsx)(X,{type:`primary`,size:`medium`,onClick:()=>{c(1),v(1,l)},children:`搜索`})]})}),(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:12,boxShadow:`0 1px 3px rgba(0,0,0,0.05)`},children:[(0,$.jsx)(p$,{dataSource:x,columns:y,loading:a,pagination:!1,rowKey:`id`,bordered:!1,scroll:{x:`max-content`}}),(0,$.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,$.jsx)(QG,{current:s,pageSize:l,total:d,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{c(e),u(t),v(e,t)},size:`small`})})]})]})},N9=[{key:`is_ad_high_quality_material`,label:`AD优质`,noLabel:`AD非优质素材`,unknownLabel:`AD未知`,yesColor:`green`,noColor:`red`,unknownColor:`default`},{key:`is_ecp_high_quality_material`,label:`千川优质`,noLabel:`千川非优质素材`,unknownLabel:`千川未知`,yesColor:`green`,noColor:`red`,unknownColor:`default`},{key:`is_local_high_quality_material`,label:`本地推优质`,noLabel:`本地推非优质`,unknownLabel:`本地推未知`,yesColor:`green`,noColor:`red`,unknownColor:`default`},{key:`is_inefficient_material`,label:`低效`,noLabel:`非低效`,unknownLabel:`是否低效未知`,yesColor:`red`,noColor:`green`,unknownColor:`default`},{key:`is_first_publish_material`,label:`首发`,noLabel:`非首发`,unknownLabel:`是否首发未知`,yesColor:`blue`,noColor:`default`,unknownColor:`default`}],Uae=({preResult:e})=>{let[t,n]=(0,S.useState)(null),[r,i]=(0,S.useState)(!1);if(S.useEffect(()=>{if(!e){n(null),i(!1);return}try{n(JSON.parse(e)),i(!1)}catch{n(null),i(!0)}},[e]),!e||r||!t)return(0,$.jsx)(`span`,{style:{color:`#64748b`},children:`-`});let a=e=>{let n=N9.find(t=>t.key===e);if(!n)return null;let r=t[e],i=r===`YES`,a=r===`NO`;if(r===`UNKNOWN`)return null;let o,s;return i?(o=n.label,s=n.yesColor):a&&(o=n.noLabel,s=n.noColor),{tag:(0,$.jsx)(E$,{color:s,style:{marginRight:6,fontSize:12,borderRadius:4},children:o},e),detail:{label:n.label.replace(`优质`,`优质素材`),value:o,color:s}}};return(0,$.jsx)(Ww,{content:(0,$.jsxs)(`div`,{style:{maxWidth:500,padding:`8px 0`},children:[(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,display:`block`,marginBottom:12,color:`#1e293b`},children:`前测结果详情`}),(0,$.jsxs)(aH,{column:1,size:`small`,style:{marginBottom:12},children:[(0,$.jsx)(aH.Item,{label:`视频ID`,labelStyle:{fontWeight:500,color:`#64748b`},contentStyle:{color:`#1e293b`},children:t.video_id}),(0,$.jsx)(aH.Item,{label:`广告主ID`,labelStyle:{fontWeight:500,color:`#64748b`},contentStyle:{color:`#1e293b`},children:t.advertiser_id}),(0,$.jsx)(aH.Item,{label:`素材ID`,labelStyle:{fontWeight:500,color:`#64748b`},contentStyle:{color:`#1e293b`},children:t.material_id})]}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:12,color:`#64748b`,display:`block`,marginBottom:8},children:`质量评估`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:8,marginBottom:12},children:N9.map(e=>{let n=t[e.key],r=n===`YES`,i=n===`NO`;if(n===`UNKNOWN`)return null;let a,o;return r?(a=e.label,o=e.yesColor):i&&(a=e.noLabel,o=e.noColor),(0,$.jsx)(E$,{color:o,style:{fontSize:12,borderRadius:4},children:a},e.key)})}),t.not_ad_high_quality_reason&&t.not_ad_high_quality_reason.length>0&&(0,$.jsxs)(`div`,{style:{marginBottom:12},children:[(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:12,color:`#ef4444`,display:`block`,marginBottom:8},children:`AD非优质原因`}),(0,$.jsx)(DK,{dataSource:t.not_ad_high_quality_reason,renderItem:(e,t)=>(0,$.jsxs)(DK.Item,{style:{padding:`4px 0`,fontSize:12,color:`#64748b`},children:[t+1,`. `,e]},t),size:`small`})]}),t.not_ecp_high_quality_reason&&t.not_ecp_high_quality_reason.length>0&&(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:12,color:`#ef4444`,display:`block`,marginBottom:8},children:`千川非优质原因`}),(0,$.jsx)(DK,{dataSource:t.not_ecp_high_quality_reason,renderItem:(e,t)=>(0,$.jsxs)(DK.Item,{style:{padding:`4px 0`,fontSize:12,color:`#64748b`},children:[t+1,`. `,e]},t),size:`small`})]})]}),title:null,trigger:`hover`,placement:`topLeft`,overlayStyle:{borderRadius:12,boxShadow:`0 8px 24px rgba(0,0,0,0.12)`},children:(0,$.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,alignItems:`center`,gap:4},children:N9.map(e=>a(e.key)?.tag)})})},Wae=e=>{if(!e)return``;let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},Gae=e=>{if(!e)return``;let t=`http://ceshi.apiforeign.minzhong.cn`,n=e.startsWith(`/`)?e.slice(1):e;return`${t.endsWith(`/`)?t.slice(0,-1):t}/${n}`},Kae={image:{label:`图片`,color:`green`},video:{label:`视频`,color:`blue`}},qae={FAILED:{label:`失败`,color:`error`},PENDING:{label:`处理中`,color:`processing`},SUCCESS:{label:`成功`,color:`success`}},Jae=()=>{let{message:e}=sx.useApp(),t=Ye(),n=S.createRef(),[r,i]=(0,S.useState)([]),[a,o]=(0,S.useState)([]),[s,c]=(0,S.useState)(!1),[l,u]=(0,S.useState)(1),[d,f]=(0,S.useState)(10),[p,m]=(0,S.useState)(0),[h,g]=(0,S.useState)(new Set),[_,v]=(0,S.useState)(!1),[y,b]=(0,S.useState)(!1),[x,C]=(0,S.useState)(``),[w,T]=(0,S.useState)(`image`),E=()=>{n.current&&(n.current.pause(),n.current.currentTime=0),document.querySelectorAll(`video`).forEach(e=>{e.pause(),e.currentTime=0}),b(!1)},[D,O]=(0,S.useState)(``),[k,A]=(0,S.useState)([]),[j,M]=(0,S.useState)(!1),[N,P]=(0,S.useState)({advertiser_id:``,material_id:``,upload_id:``,file_name:``,resource_type:void 0});(0,S.useEffect)(()=>{F()},[]);let F=async(t=1,n=10,r=N)=>{c(!0);try{let e=await lie({advertiser_id:r.advertiser_id||void 0,material_id:r.material_id||void 0,upload_id:r.upload_id||void 0,file_name:r.file_name||void 0,resource_type:r.resource_type,page:t,page_size:n});e?.code===0?(o(e.data||[]),i(e.data||[]),m(e.total||0)):(o([]),m(0))}catch(t){e.error(`获取素材列表失败`),console.error(`获取素材列表失败:`,t)}finally{c(!1)}},I=[{title:`广告主ID`,dataIndex:`advertiserId`,key:`advertiserId`,width:100},{title:`素材ID`,dataIndex:`materialId`,key:`materialId`,width:120,render:e=>(0,$.jsx)(`span`,{style:{color:e?`#1e293b`:`#94a3b8`},children:e||`-`})},{title:`上传平台Id`,dataIndex:`uploadId`,key:`uploadId`,width:120,render:e=>(0,$.jsx)(`span`,{style:{color:e?`#1e293b`:`#94a3b8`},children:e||`-`})},{title:`资源类型`,dataIndex:`resourceType`,key:`resourceType`,width:100,render:e=>{let t=Kae[e];return(0,$.jsx)(E$,{color:t?.color,children:t?.label||e})}},{title:`预览`,key:`preview`,width:100,render:(e,t)=>{let n=t.resource?.resourceUrl||t.resource?.remoteUrl;return n?(0,$.jsx)(X,{type:`link`,icon:(0,$.jsx)(WW,{}),onClick:()=>{C(Gae(n)),T(t.resourceType===`video`?`video`:`image`),b(!0)},size:`small`,children:`查看`}):(0,$.jsx)(E$,{children:`-`})}},{title:`文件名`,dataIndex:[`resource`,`fileName`],key:`fileName`,width:160,ellipsis:!0,render:e=>(0,$.jsx)(`span`,{style:{color:`#1e293b`},children:e||`-`})},{title:`文件大小`,dataIndex:[`resource`,`fileSizeBytes`],key:`fileSizeBytes`,ellipsis:!0,render:e=>`${(e/1024/1024).toFixed(2)} MB`},{title:`前测状态`,dataIndex:`status`,key:`status`,width:100,render:e=>{let t=qae[e];return(0,$.jsx)(E$,{color:t?.color,children:t?.label||e||`-`})}},{title:`前测结果`,dataIndex:`preResult`,key:`preResult`,width:120,render:e=>(0,$.jsx)(Uae,{preResult:e})},{title:`备注`,dataIndex:`note`,key:`note`,width:150,render:e=>(0,$.jsx)(fG.TextArea,{value:e||``,readOnly:!0,autoSize:{minRows:1,maxRows:4},style:{color:`#94a3b8`,resize:`none`,border:`none`,background:`transparent`,padding:0},placeholder:`-`})},{title:`用户ID`,dataIndex:`userId`,key:`userId`,width:120,render:e=>(0,$.jsx)(`span`,{style:{color:`#64748b`},children:e||`-`})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,width:160,render:e=>(0,$.jsx)(`span`,{style:{color:`#64748b`},children:Wae(e)})},{title:`操作`,fixed:`right`,key:`action`,render:(e,n)=>(0,$.jsx)(X,{type:`link`,onClick:()=>t(`/consume?advertiserId=${n.advertiserId}`),style:{color:`#6366f1`,padding:0},children:`查看消耗`})}],L=a.map((e,t)=>({...e,index:t+1,key:e.id})),R=async()=>{if(h.size===0){e.warning(`请先选择要推送的前测模板`);return}M(!0);try{let[e,t]=await Promise.all([k7({page:1,pageSize:100}),j7()]);A(e.data||[]),O(t.data?.id||``)}catch{e.error(`获取前测模板列表失败`)}finally{M(!1)}v(!0)},z=async()=>{if(h.size===0){e.warning(`请先选择要推送的素材`);return}if(!D){e.warning(`请选择前测模板`);return}try{await mie({resources_material_ids:Array.from(h),pre_test_template_id:D}),e.success(`推送素材成功`),v(!1),g(new Set)}catch(t){e.error(t.message||`推送素材失败`)}},B=r.filter(e=>h.has(e.id));return(0,$.jsxs)(`div`,{style:{minHeight:`94vh`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[(0,$.jsx)(SZ,{style:{color:`#6366f1`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`素材列表`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`top`,marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16,alignItems:`center`,flexWrap:`wrap`},children:[(0,$.jsx)(fG,{placeholder:`广告主ID`,value:N.advertiser_id,onChange:e=>P(t=>({...t,advertiser_id:e.target.value})),style:{width:160},allowClear:!0,onPressEnter:()=>{u(1),F(1,d)}}),(0,$.jsx)(fG,{placeholder:`素材ID`,value:N.material_id,onChange:e=>P(t=>({...t,material_id:e.target.value})),style:{width:160},allowClear:!0,onPressEnter:()=>{u(1),F(1,d)}}),(0,$.jsx)(fG,{placeholder:`上传ID`,value:N.upload_id,onChange:e=>P(t=>({...t,upload_id:e.target.value})),style:{width:160},allowClear:!0,onPressEnter:()=>{u(1),F(1,d)}}),(0,$.jsx)(fG,{placeholder:`文件名`,value:N.file_name,onChange:e=>P(t=>({...t,file_name:e.target.value})),style:{width:140},allowClear:!0,onPressEnter:()=>{u(1),F(1,d)}}),(0,$.jsx)(KC,{placeholder:`资源类型`,value:N.resource_type,onChange:e=>P(t=>({...t,resource_type:e})),style:{width:120},allowClear:!0,options:[{value:`image`,label:`图片`},{value:`video`,label:`视频`}]}),(0,$.jsx)(X,{type:`primary`,onClick:()=>{u(1),F(1,d)},children:`搜索`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,$.jsx)(X,{icon:(0,$.jsx)(R8,{}),onClick:()=>t(`/materials/private-portrait-virtual`),style:{borderRadius:12,fontSize:14,borderColor:`#8b5cf6`,color:`#7c3aed`,background:`#f5f3ff`},children:`私域虚拟人像库`}),(0,$.jsxs)(X,{type:`primary`,loading:j,onClick:R,disabled:h.size===0,style:{borderRadius:12,fontSize:14,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,color:`#fff`,boxShadow:`0 4px 14px rgba(99,102,241,0.3)`},children:[`推送前测 (`,h.size,`)`]})]})]}),(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:12,boxShadow:`0 1px 3px rgba(0,0,0,0.05)`},children:[(0,$.jsx)(p$,{dataSource:L,columns:I,loading:s,pagination:!1,rowKey:`id`,bordered:!1,scroll:{x:`max-content`},rowSelection:{type:`checkbox`,selectedRowKeys:Array.from(h),onChange:e=>{g(new Set(e))}}}),(0,$.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,$.jsx)(QG,{current:l,pageSize:d,total:p,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{u(e),f(t),F(e,t)},size:`small`})})]}),(0,$.jsxs)(WK,{title:`推送前测`,open:_,onCancel:()=>{v(!1),g(new Set)},onOk:z,okText:`推送`,cancelText:`取消`,width:600,style:{borderRadius:16},children:[(0,$.jsx)(`div`,{style:{display:`flex`,gap:16,marginBottom:24},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(Q.Text,{style:{fontSize:14,color:`#475569`},children:`前测模板:`}),(0,$.jsx)(KC,{value:D,onChange:e=>O(e),style:{width:200},loading:j,placeholder:`选择前测模板`,options:k.map(e=>({value:e.id,label:e.name}))})]})}),(0,$.jsxs)(`div`,{style:{marginBottom:12},children:[(0,$.jsxs)(Q.Text,{strong:!0,style:{fontSize:14,color:`#1e293b`,display:`block`,marginBottom:12},children:[`已选素材 (`,h.size,`)`]}),(0,$.jsx)(`div`,{style:{maxHeight:200,overflowY:`auto`},children:B.length>0?(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8},children:B.map(e=>(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12,padding:12,background:`#f8fafc`,borderRadius:8},children:(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`},children:[(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#1e293b`},children:e.resource.fileName}),(0,$.jsxs)(Q.Text,{style:{fontSize:12,color:`#94a3b8`},children:[`ID: `,e.id]})]})},e.id))}):(0,$.jsx)(Q.Text,{style:{color:`#94a3b8`},children:`暂无选中的前测模板`})})]})]}),(0,$.jsx)(WK,{title:`预览`,open:y,onCancel:E,footer:null,width:600,style:{borderRadius:16},children:(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,alignItems:`center`,minHeight:400},children:w===`video`?(0,$.jsx)(`video`,{ref:n,src:x,controls:!0,style:{maxWidth:`100%`,maxHeight:400,borderRadius:8},autoPlay:!0}):(0,$.jsx)(`img`,{src:x,alt:`预览`,style:{maxWidth:`100%`,maxHeight:400,borderRadius:8}})})})]})},{Text:Yae}=Q,Xae=2,Zae=15,P9=7,F9=160,I9=90;function L9(e){return String(e).padStart(2,`0`)}function R9(e){return Number.isFinite(e)?Math.max(0,Math.round(e)):0}function z9(e){let t=R9(e),n=Math.floor(t/60),r=t%60;return`${L9(n)}:${L9(r)}`}function B9(e,t,n){return Math.min(Math.max(e,t),n)}function Qae(e,t){return e[0]===t[0]&&e[1]===t[1]}function V9(e,t,n=8e3){return new Promise((r,i)=>{let a,o=()=>{a&&window.clearTimeout(a),e.removeEventListener(t,s),e.removeEventListener(`error`,c)},s=()=>{o(),r()},c=()=>{o(),i(Error(`视频${t}失败`))};e.addEventListener(t,s,{once:!0}),e.addEventListener(`error`,c,{once:!0}),a=window.setTimeout(()=>{o(),i(Error(`视频${t}超时`))},n)})}function $ae(){return new Promise(e=>{window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>e())})})}async function eoe(e,t){let n=Math.max(0,t);if(Math.abs(e.currentTime-n)>.01){let t=V9(e,`seeked`);e.currentTime=n,await t}await $ae()}function toe(e,t,n){let r;try{r=e.getImageData(0,0,t,n).data}catch{return!1}let i=0,a=0;for(let e=0;e0&&a/i>=.85}async function noe(e,t,n,r,i){let a=Math.max(0,i-.05),o=Array.from(new Set([r,r+.2,r+.5,r+1,r+2].map(e=>Math.min(e,a)).filter(e=>e>=0&&e<=a)));for(let i of o)try{if(await eoe(e,i),t.clearRect(0,0,F9,I9),t.drawImage(e,0,0,F9,I9),toe(t,F9,I9))continue;return{second:r,captureSecond:i,image:n.toDataURL(`image/jpeg`,.76),status:`success`,fallback:Math.abs(i-r)>.01}}catch{}return{second:r,image:``,status:`failed`}}function H9(e,t,n){return!e||e<=0?[0,t]:[0,Math.min(e,Math.max(t,Math.min(P9,n)))]}var roe=({open:e,videoUrl:t,title:n=`手动拆镜`,loading:r=!1,minDuration:i=Xae,maxDuration:a=Zae,onCancel:o,onConfirm:s})=>{let c=(0,S.useRef)(null),l=(0,S.useRef)(!1),u=(0,S.useRef)([0,i]),d=(0,S.useRef)(0),f=(0,S.useRef)(null),[p,m]=(0,S.useState)(0),[h,g]=(0,S.useState)(0),[_,v]=(0,S.useState)([0,i]),[y,b]=(0,S.useState)([]),[x,C]=(0,S.useState)(!1),[w,T]=(0,S.useState)(!1),[E,D]=(0,S.useState)(``),O=(0,S.useMemo)(()=>Math.max(0,Math.floor(p||0)),[p]),k=(0,S.useMemo)(()=>Math.max(0,_[1]-_[0]),[_]),A=O>0&&O{v(t=>{let n=typeof e==`function`?e(t):e;return Qae(t,n)?t:(u.current=n,n)})},[]),M=(0,S.useCallback)(e=>{let t=R9(e);d.current!==t&&(d.current=t,g(t))},[]),N=(0,S.useCallback)(e=>{let t=c.current;if(!t||!O)return;let n=R9(B9(e,0,O));try{t.currentTime=n}catch{}M(n)},[O,M]);(0,S.useEffect)(()=>{if(!e){l.current=!0,T(!1),b([]),C(!1),m(0),M(0),D(``),j([0,i]),c.current&&c.current.pause();return}l.current=!1,T(!1),C(!0),b([]),m(0),M(0),D(``),j([0,i]);let n=document.createElement(`video`);return n.crossOrigin=`anonymous`,n.muted=!0,n.playsInline=!0,n.preload=`auto`,n.src=t,(async()=>{try{if(await V9(n,`loadedmetadata`),await V9(n,`loadeddata`).catch(()=>void 0),l.current)return;let e=Number.isFinite(n.duration)?n.duration:0,t=Math.max(0,Math.floor(e));if(m(e),j(H9(t,i,a)),!e||t<=0){D(`视频时长异常,无法抽取帧`);return}let r=document.createElement(`canvas`);r.width=F9,r.height=I9;let o=r.getContext(`2d`,{willReadFrequently:!0});if(!o){D(`当前浏览器不支持 Canvas 抽帧`);return}let s=Array.from({length:t},(e,t)=>({second:t,image:``,status:`loading`}));b(s);let c=[...s];for(let i=0;i{l.current=!0,n.pause(),n.removeAttribute(`src`),n.load()}},[e,t,i,a,M,j]);let P=(0,S.useCallback)(e=>{if(!O)return;D(``);let t=[Number(e[0]),Number(e[1])];j([Math.max(0,Math.min(O,t[0])),Math.max(t[0],Math.min(O,t[1]))])},[O,j]),F=(0,S.useCallback)(()=>{N(u.current[0])},[N]),I=(0,S.useCallback)(e=>{if(!O||A)return;let t=B9(k||Math.min(P9,a),i,Math.min(a,O)),n=B9(e,0,Math.max(0,O-t));n=R9(n);let r=[n,n+t];j(r),N(r[0])},[A,O,a,i,N,k,j]);return(0,$.jsx)(WK,{title:n,open:e,onCancel:o,width:Math.min(window.innerWidth-40,1400),destroyOnHidden:!0,footer:[(0,$.jsx)(X,{onClick:o,disabled:r,style:{borderRadius:8,border:`1px solid rgba(99, 102, 241, 0.2)`,color:`#6366f1`},children:`取消`},`cancel`),(0,$.jsx)(X,{type:`primary`,onClick:async()=>{if(!O||O<=0){D(`请等待视频加载完成`);return}if(A){D(`视频总时长不足 ${i} 秒,无法手动拆镜`);return}if(ka){D(`拆镜片段不能超过 ${a} 秒`);return}D(``),await s({startSecond:_[0],endSecond:_[1],durationSecond:k})},loading:r,disabled:r||A||!O,style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},children:`确认拆镜`},`confirm`)],children:(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:18},children:[(0,$.jsx)(`style`,{children:` .ant-slider-handle::after { height: 80px !important; width: 10px !important; @@ -499,8 +499,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho height: 80px !important; margin-top: -37px !important; } - `}),(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,background:`#fff`,borderRadius:16,overflow:`hidden`},children:(0,$.jsx)(`video`,{ref:c,src:t,crossOrigin:`anonymous`,preload:`metadata`,playsInline:!0,onLoadedMetadata:e=>{let t=Number.isFinite(e.currentTarget.duration)?e.currentTarget.duration:0;if(!t)return;let n=Math.max(0,Math.floor(t));m(e=>Math.floor(e||0)===n?e:t),j(e=>e[1]>i||e[0]!==0?e:q9(n,i,a))},onTimeUpdate:()=>{let e=c.current;e&&(M(U9(e.currentTime||0)),w&&e.currentTime>=u.current[1]&&(e.pause(),e.currentTime=u.current[1],M(u.current[1]),T(!1)))},onPause:()=>T(!1),style:{maxHeight:320,objectFit:`contain`,background:`#111`}})}),(0,$.jsxs)(`div`,{style:{borderRadius:20,background:`#f0f5ff`,padding:`20px 24px`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,gap:16,marginBottom:18},children:[(0,$.jsx)(X,{type:`text`,icon:w?(0,$.jsx)(i8,{}):(0,$.jsx)(S8,{}),onClick:async()=>{let e=c.current;if(!(!e||!O)){if(w){e.pause(),T(!1);return}(e.currentTime<_[0]||e.currentTime>=_[1])&&(e.currentTime=_[0],M(_[0]));try{await e.play(),T(!0),D(``)}catch{D(`视频播放失败,请检查视频地址`)}}},disabled:!O||A,style:{fontSize:20,color:`#1e293b`,padding:0}}),(0,$.jsxs)(`span`,{style:{fontSize:18,color:`#1e293b`,fontFamily:`monospace`},children:[W9(h),` / `,W9(O)]})]}),(0,$.jsxs)(`div`,{ref:f,style:{overflowX:`auto`,overflowY:`hidden`,scrollbarWidth:`none`,msOverflowStyle:`none`,padding:`0 6px`},children:[(0,$.jsx)(`style`,{children:` + `}),(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,background:`#fff`,borderRadius:16,overflow:`hidden`},children:(0,$.jsx)(`video`,{ref:c,src:t,crossOrigin:`anonymous`,preload:`metadata`,playsInline:!0,onLoadedMetadata:e=>{let t=Number.isFinite(e.currentTarget.duration)?e.currentTarget.duration:0;if(!t)return;let n=Math.max(0,Math.floor(t));m(e=>Math.floor(e||0)===n?e:t),j(e=>e[1]>i||e[0]!==0?e:H9(n,i,a))},onTimeUpdate:()=>{let e=c.current;e&&(M(R9(e.currentTime||0)),w&&e.currentTime>=u.current[1]&&(e.pause(),e.currentTime=u.current[1],M(u.current[1]),T(!1)))},onPause:()=>T(!1),style:{maxHeight:320,objectFit:`contain`,background:`#111`}})}),(0,$.jsxs)(`div`,{style:{borderRadius:20,background:`#f0f5ff`,padding:`20px 24px`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,gap:16,marginBottom:18},children:[(0,$.jsx)(X,{type:`text`,icon:w?(0,$.jsx)(n8,{}):(0,$.jsx)(b8,{}),onClick:async()=>{let e=c.current;if(!(!e||!O)){if(w){e.pause(),T(!1);return}(e.currentTime<_[0]||e.currentTime>=_[1])&&(e.currentTime=_[0],M(_[0]));try{await e.play(),T(!0),D(``)}catch{D(`视频播放失败,请检查视频地址`)}}},disabled:!O||A,style:{fontSize:20,color:`#1e293b`,padding:0}}),(0,$.jsxs)(`span`,{style:{fontSize:18,color:`#1e293b`,fontFamily:`monospace`},children:[z9(h),` / `,z9(O)]})]}),(0,$.jsxs)(`div`,{ref:f,style:{overflowX:`auto`,overflowY:`hidden`,scrollbarWidth:`none`,msOverflowStyle:`none`,padding:`0 6px`},children:[(0,$.jsx)(`style`,{children:` div::-webkit-scrollbar { display: none; } - `}),(0,$.jsx)(`div`,{style:{margin:`auto`,display:`flex`,flexDirection:`column`,width:y.length>0?`${y.length*80+Math.max(0,y.length-1)*1}px`:`100%`},children:(0,$.jsxs)(`div`,{style:{display:`flex`,height:86,borderRadius:12,background:`#fff`,gap:1,position:`relative`},children:[x&&y.length===0?(0,$.jsxs)(`div`,{style:{flex:`1 1 auto`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:[(0,$.jsx)(wK,{size:`small`}),(0,$.jsx)(Nae,{style:{marginLeft:8,color:`#64748b`},children:`正在抽取每秒帧...`})]}):y.length>0?y.map(e=>{let t=e.second>=_[0]&&e.second<_[1];return(0,$.jsxs)(`button`,{type:`button`,onClick:()=>I(e.second),title:`${e.second}s${e.fallback?`,实际取帧 ${e.captureSecond?.toFixed(1)}s`:``}`,style:{minWidth:80,flex:`0 0 80px`,height:86,borderTop:t?`5px solid #6366f1`:`none`,borderBottom:t?`5px solid #6366f1`:`none`,padding:0,background:`transparent`,overflow:`hidden`,cursor:A?`not-allowed`:`pointer`,position:`relative`},children:[e.status===`success`&&e.image?(0,$.jsx)(`img`,{src:e.image,alt:`${e.second}s`,style:{width:`100%`,height:`100%`,objectFit:`cover`,display:`block`}}):e.status===`loading`?(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(wK,{size:`small`})}):(0,$.jsxs)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,color:`#64748b`,fontSize:12,background:`#fff`},children:[(0,$.jsxs)(`span`,{children:[e.second,`s`]}),(0,$.jsx)(`span`,{style:{fontSize:11},children:`无有效帧`})]}),(0,$.jsxs)(`span`,{style:{position:`absolute`,left:0,bottom:3,color:`#ffffffff`,fontSize:16,textShadow:`0 1px 3px rgba(0,0,0,.7)`},children:[e.second,`s`]})]},e.second)}):(0,$.jsx)(`div`,{style:{flex:`1 1 auto`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#64748b`},children:`暂无帧预览,请确认视频是否加载完成`}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:-10,left:0,right:0,bottom:0},children:(0,$.jsx)(bV,{range:!0,min:0,max:O||a,step:1,value:_,onChange:P,onChangeComplete:F,tooltip:{formatter:e=>`${U9(Number(e||0))}s`},disabled:!O||A,styles:{track:{background:`#6969dd63`,height:86,borderRadius:12,margin:`0 `},rail:{height:86,borderRadius:12},handle:{width:20,height:86,marginTop:0,borderRadius:`50%`}}})})]})})]}),(0,$.jsxs)(`div`,{style:{marginTop:16,textAlign:`center`,color:`#64748b`,fontSize:14},children:[`已选取 `,k,`s`]}),E&&(0,$.jsx)(`div`,{style:{marginTop:12,padding:`10px 14px`,borderRadius:8,background:`rgba(239, 68, 68, 0.08)`,border:`1px solid rgba(239, 68, 68, 0.15)`,color:`#ef4444`,fontSize:13,textAlign:`center`},children:E})]})]})})},{TextArea:Hae}=_G,Uae=`http://ceshi.apiforeign.minzhong.cn`,J9=2,Y9=15;function X9(e){return e?/^https?:\/\//i.test(e)?e:`${Uae}${e}`:``}function Wae(){let{creatID:e}=$e(),t=Ye(),[n,r]=(0,S.useState)(!1),[i,a]=(0,S.useState)(!1),[o,s]=(0,S.useState)(null),[c,l]=(0,S.useState)(null),[u,d]=(0,S.useState)(null),[f,p]=(0,S.useState)(!1),m=(0,S.useRef)(null),[h,g]=(0,S.useState)(``),[_,v]=(0,S.useState)(``),[y,b]=(0,S.useState)(``),[x,C]=(0,S.useState)(null),[w,T]=(0,S.useState)([]),[E,D]=(0,S.useState)(!1),[O,k]=(0,S.useState)(!1),[A,j]=(0,S.useState)(!1),M=(0,S.useRef)(null),N=(0,S.useRef)(null),P=(0,S.useMemo)(()=>X9(x?.videoUrl),[x?.videoUrl]),F=(0,S.useMemo)(()=>w.length===0?`AI自动拆分`:w.some(e=>e.sourceMode===`ai_suggestion`)?`AI重拆`:`AI自动拆分`,[w]),I=(0,S.useCallback)(async()=>{if(e)try{C(await L7(e))}catch{Z.error(`获取任务详情失败`)}},[e]),L=(0,S.useCallback)(async()=>{if(e)try{let t=(await R7(e)).items||[];T(t),t.some(e=>e.moduleProjectCurrentStepCode!==`video_generate`&&e.moduleProjectStatus!==`completed`&&e.moduleProjectStatus!==`failed`)?M.current||=window.setInterval(async()=>{try{let t=(await R7(e)).items||[];T(e=>e.map(e=>{let n=t.find(t=>t.id===e.id);return n&&(e.moduleProjectCurrentStepCode!==`video_generate`||e.moduleProjectStatus!==`completed`&&e.moduleProjectStatus!==`failed`)?n:e})),t.every(e=>e.moduleProjectCurrentStepCode===`video_generate`||e.moduleProjectStatus===`completed`||e.moduleProjectStatus===`failed`)&&(M.current&&=(clearInterval(M.current),null))}catch{}},3e4):M.current&&=(clearInterval(M.current),null)}catch{Z.error(`获取拆镜列表失败`)}},[e]),R=(0,S.useCallback)(async()=>{await Promise.all([I(),L()])},[I,L]);(0,S.useEffect)(()=>(R(),()=>{M.current&&=(clearInterval(M.current),null),N.current&&=(clearInterval(N.current),null)}),[R]),(0,S.useEffect)(()=>{if(x)return x.analysisStatus===`processing`?N.current=window.setInterval(async()=>{try{C(await L7(e))}catch{}},3e3):N.current&&=(clearInterval(N.current),null),()=>{N.current&&=(clearInterval(N.current),null)}},[x?.analysisStatus,e]);let z=(e,t)=>{s(e),l(t),r(!0)},B=()=>{r(!1),s(null),g(``),l(``),v(``),b(``)},V=e=>{e.fileList.length===0&&b(``)},H=async e=>{try{b((await f7(e)).url),Z.success(`图片上传成功`)}catch{Z.error(`图片上传失败,请重试`)}return!1},U=async()=>{if(!o){Z.warning(`请先选择拆镜片段`);return}if(!y){Z.warning(`请上传产品图`);return}if(!h.trim()){Z.warning(`请输入产品名称`);return}if(!_.trim()){Z.warning(`请输入产品卖点`);return}let n={target_project_name:h.trim(),core_content_point:_.trim(),material_image_url:X9(y),idempotency_key:`replication_${Date.now()}`};D(!0);try{await Kre(o,n),Z.success(`视频生成任务创建成功`),B(),R7(e).then(e=>{let n=e.items.find(e=>e.id===o);Z.loading(`创建中...`,3),setTimeout(()=>{t(`/removelens/${n.moduleProjectId}/removefenbu`)},3e3)})}catch(e){Z.error(e?.message||`创建失败,请重试`)}finally{D(!1)}},W=async()=>{if(e){j(!0);try{let t=w.some(e=>e.sourceMode===`ai_suggestion`);await Wre(e,{selected_indices:[],replace_existing:t}),Z.success(t?`AI 重拆任务已提交`:`AI 拆镜任务已提交`),await R()}catch(e){Z.error(e?.message||`拆镜失败`)}finally{j(!1)}}},ee=()=>{if(!P){Z.warning(`原视频地址不存在`);return}a(!0)},te=async t=>{if(e){if(t.durationSecondY9){Z.warning(`拆镜片段不能超过 ${Y9} 秒`);return}k(!0);try{await Gre(e,{start_second:t.startSecond,end_second:t.endSecond}),Z.success(`手动拆镜任务已提交`),a(!1),await R()}catch(e){Z.error(e?.message||`手动拆镜失败`)}finally{k(!1)}}},ne=e=>e?.splitStatus===`completed`&&!!e?.segmentVideoUrl;return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{style:{margin:`-24px -32px -32px`,borderRadius:20,minHeight:`calc(100vh - 34px)`,display:`flex`,flexDirection:`column`,overflow:`hidden`,background:`linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f0f9ff 100%)`,position:`relative`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:-100,right:-100,width:300,height:300,background:`radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%)`,borderRadius:`50%`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,bottom:-100,left:-100,width:300,height:300,background:`radial-gradient(circle, rgba(167,139,250,0.08) 0%, transparent 70%)`,borderRadius:`50%`}}),(0,$.jsx)(`div`,{style:{padding:`16px 24px`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,borderRadius:16,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,border:`1px solid rgba(99, 102, 241, 0.08)`,position:`relative`,zIndex:10},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:[(0,$.jsx)(X,{icon:(0,$.jsx)(t4,{}),onClick:()=>t(-1),style:{borderRadius:10,fontSize:13,height:32,background:`rgba(99, 102, 241, 0.1)`,border:`1px solid rgba(99, 102, 241, 0.2)`,color:`#6366f1`},children:`返回`}),(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #6366f1, #8b5cf6, transparent)`,borderRadius:1}}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`h1`,{style:{fontSize:18,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,margin:0},children:`AI视频拆镜工作台`}),(0,$.jsx)(`p`,{style:{fontSize:13,color:`#64748b`,margin:`4px 0 0 0`},children:`一键拆解画面分镜,助力仿拍或创作`})]}),(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #8b5cf6, #6366f1, transparent)`,borderRadius:1}})]})}),x?(0,$.jsxs)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`,justifyContent:`space-between`,overflow:`hidden`,padding:`0 32px 32px`},children:[(0,$.jsxs)(`div`,{style:{flex:1,background:`linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.6) 100%)`,backdropFilter:`blur(20px)`,borderRadius:20,display:`flex`,alignItems:`center`,gap:30,padding:24,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8)`,position:`relative`,overflow:`hidden`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:-50,right:-50,width:200,height:200,background:`radial-gradient(circle, rgba(99,102,241,0.05) 0%, transparent 70%)`,borderRadius:`50%`}}),(0,$.jsx)(`div`,{style:{position:`relative`,width:280,height:160,borderRadius:12,overflow:`hidden`,flexShrink:0,boxShadow:`0 4px 16px rgba(0,0,0,0.1)`},children:(0,$.jsx)(`video`,{controls:!0,src:P,style:{width:`100%`,height:`100%`,objectFit:`cover`}})}),(0,$.jsx)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`,justifyContent:`space-between`,position:`relative`,zIndex:1},children:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`},children:[(0,$.jsx)(`h2`,{style:{fontSize:20,fontWeight:600,marginBottom:16,background:`linear-gradient(135deg, #1e293b 0%, #334155 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`},children:`视频总结`}),(0,$.jsx)(`div`,{style:{textAlign:`right`},children:(0,$.jsxs)(`span`,{style:{color:`#94a3b8`,fontSize:12},children:[`上传时间: `,x.createdAt?new Date(x.createdAt).toLocaleString(`zh-CN`,{year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`}):`-`]})})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,marginBottom:12},children:[(0,$.jsx)(`span`,{style:{color:`#64748b`,fontSize:14,marginRight:12,width:80,flexShrink:0},children:`产品名称:`}),(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontWeight:500},children:x.title})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,marginBottom:12},children:[(0,$.jsx)(`span`,{style:{color:`#64748b`,fontSize:14,marginRight:12,width:80,flexShrink:0},children:`受众群体:`}),x.analysisStatus===`processing`?(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(wK,{size:`small`,style:{color:`#f59e0b`}}),(0,$.jsx)(`span`,{style:{fontSize:14,color:`#f59e0b`},children:`分析中`})]}):x.analysisStatus===`completed`?(0,$.jsx)(`div`,{style:{display:`flex`,gap:8,flexWrap:`wrap`},children:(x.originalVideoAudience?.split(`、`)||[]).map((e,t)=>(0,$.jsx)(j$,{style:{fontSize:12,background:`rgba(99, 102, 241, 0.1)`,color:`#6366f1`,border:`none`,borderRadius:20},children:e},t))}):null]}),(0,$.jsxs)(`div`,{style:{display:`flex`},children:[(0,$.jsx)(`span`,{style:{color:`#64748b`,fontSize:14,marginRight:12,width:80,flexShrink:0},children:`视频内容:`}),x.analysisStatus===`processing`?(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(wK,{size:`small`,style:{color:`#f59e0b`}}),(0,$.jsx)(`span`,{style:{fontSize:14,color:`#f59e0b`},children:`分析中`})]}):x.analysisStatus===`completed`?(0,$.jsx)(`span`,{style:{color:`#475569`,lineHeight:1.6,height:100,overflowY:`auto`},children:x.originalVideoContent}):null]})]})})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16,marginBottom:20,marginTop:20},children:[(0,$.jsx)(X,{type:`default`,onClick:ee,disabled:!P||O,style:{flex:1,height:52,borderRadius:12,border:`2px solid rgba(99, 102, 241, 0.3)`,color:`#6366f1`,fontWeight:600,fontSize:15,background:`rgba(255, 255, 255, 0.9)`,backdropFilter:`blur(10px)`,transition:`all 0.3s cubic-bezier(0.4, 0, 0.2, 1)`},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#6366f1`,e.currentTarget.style.boxShadow=`0 4px 20px rgba(99, 102, 241, 0.2)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(99, 102, 241, 0.3)`,e.currentTarget.style.boxShadow=`none`},children:`手动`}),(0,$.jsx)($K,{title:F===`AI重拆`?`确定要AI重拆吗?`:`确定要AI拆分吗?`,okText:`确定`,cancelText:`取消`,onConfirm:W,children:(0,$.jsxs)(X,{type:`primary`,loading:A,disabled:A,style:{flex:1,height:52,borderRadius:12,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%)`,fontWeight:600,fontSize:15,border:`none`,boxShadow:`0 4px 20px rgba(99, 102, 241, 0.3)`,transition:`all 0.3s cubic-bezier(0.4, 0, 0.2, 1)`,position:`relative`,overflow:`hidden`},onMouseEnter:e=>{e.currentTarget.style.transform=`translateY(-2px)`,e.currentTarget.style.boxShadow=`0 6px 25px rgba(99, 102, 241, 0.4)`},onMouseLeave:e=>{e.currentTarget.style.transform=`translateY(0)`,e.currentTarget.style.boxShadow=`0 4px 20px rgba(99, 102, 241, 0.3)`},children:[(0,$.jsx)(`span`,{style:{position:`relative`,zIndex:1},children:F}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:0,left:`-100%`,width:`100%`,height:`100%`,background:`linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent)`,transition:`left 0.5s ease`},onMouseEnter:e=>{e.currentTarget.style.left=`100%`}}),x?.aiSuggestions&&x.aiSuggestions.length>0&&(0,$.jsx)(Jw,{title:(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{fontWeight:600,marginBottom:8,color:`#6366f1`},children:`AI拆分方案`}),(x?.ai_suggestions||x?.aiSuggestions||[]).map(e=>(0,$.jsxs)(`div`,{style:{marginBottom:8,fontSize:13,lineHeight:1.5},children:[(0,$.jsxs)(`span`,{style:{fontWeight:500,color:`#6366f1`},children:[e.index,`.`]}),(0,$.jsx)(`span`,{style:{marginLeft:4,color:`#000000ff`},children:e.timeNode}),(0,$.jsx)(`br`,{}),(0,$.jsx)(`span`,{style:{color:`#666`},children:e.content})]},e.index))]}),placement:`top`,trigger:`hover`,overlayInnerStyle:{backgroundColor:`#fff`,height:300,overflowY:`auto`,border:`1px solid rgba(99, 102, 241, 0.1)`,borderRadius:12,boxShadow:`0 8px 24px rgba(99, 102, 241, 0.12)`},children:(0,$.jsx)(`span`,{style:{marginLeft:8,fontSize:13,opacity:.9},children:`(AI 镜头拆分方案)`})})]})})]}),(0,$.jsxs)(`div`,{style:{flex:2,background:`linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%)`,backdropFilter:`blur(20px)`,borderRadius:20,overflow:`hidden`,display:`flex`,flexDirection:`column`,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`},children:[(0,$.jsxs)(`div`,{style:{padding:`16px 24px`,borderBottom:`1px solid rgba(99, 102, 241, 0.1)`,background:`linear-gradient(135deg, rgba(99,102,241,0.02) 0%, transparent 100%)`},children:[(0,$.jsx)(`h3`,{style:{fontSize:16,fontWeight:600,color:`#1e293b`,margin:0},children:`拆镜片段列表`}),(0,$.jsxs)(`span`,{style:{fontSize:12,color:`#64748b`,marginLeft:12},children:[`共 `,w.length,` 个片段`]})]}),(0,$.jsx)(v$,{columns:[{title:`片段`,width:100,fixed:`left`,align:`center`,render:(e,t)=>(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{fontSize:16,fontWeight:600,color:`#333`},children:t.segmentName||`片段${t.segmentIndex||``}`}),(0,$.jsx)(`div`,{style:{fontSize:12,color:`#999`},children:t.timeNode}),t.sourceMode===`custom`&&(0,$.jsx)(j$,{color:`blue`,style:{marginTop:6},children:`手动`}),t.sourceMode===`ai_suggestion`&&(0,$.jsx)(j$,{color:`orange`,style:{marginTop:6},children:`自动`})]})},{title:`片段视频`,width:150,align:`center`,render:(e,t)=>(0,$.jsx)(`div`,{style:{position:`relative`,width:120,height:80,borderRadius:6,overflow:`hidden`,background:`#f1f5f9`,cursor:`pointer`},onClick:()=>{t.segmentVideoUrl&&(d(X9(t.segmentVideoUrl)),p(!0))},children:t.segmentVideoUrl?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`video`,{src:X9(t.segmentVideoUrl),style:{width:`100%`,height:`100%`,objectFit:`cover`,pointerEvents:`none`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:0,left:0,right:0,bottom:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`rgba(0,0,0,0.3)`},children:(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:`50%`,background:`rgba(255,255,255,0.9)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`div`,{style:{width:0,height:0,borderTop:`8px solid transparent`,borderBottom:`8px solid transparent`,borderLeft:`14px solid #6366f1`,marginLeft:2}})})})]}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:12},children:t.splitStatus===`failed`?`切割失败`:`切割中`})})},{title:`视频内容`,width:500,align:`left`,render:(e,t)=>{if(t.source_mode===`ai_suggestion`||t.sourceMode===`ai_suggestion`)return(0,$.jsx)(`div`,{style:{fontSize:14,color:`#333`,lineHeight:1.6},children:t.segmentContent||t.lastError||`-`});let n=t.analysis_status||t.analysisStatus,r={not_required:`无需单独分析`,pending:`等待分析`,processing:`分析中`,failed:`分析失败`};return n===`processing`?(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(wK,{size:`small`}),(0,$.jsx)(`span`,{style:{fontSize:14,color:`#f59e0b`},children:`分析中`})]}):n===`failed`?(0,$.jsx)(`div`,{style:{fontSize:14,color:`#ef4444`,lineHeight:1.6},children:`分析失败`}):(0,$.jsx)(`div`,{style:{fontSize:14,color:`#333`,lineHeight:1.6},children:n&&r[n]?r[n]:t.segmentContent||t.lastError||`-`})}},{title:`视频类型`,width:120,align:`center`,render:(e,t)=>(0,$.jsx)(`div`,{style:{fontSize:14,color:`#333`,fontWeight:500},children:t.segmentCategory||`-`})},{title:`状态`,width:120,align:`center`,dataIndex:`moduleProjectStatus`,render:(e,t)=>{let n=e,r=t.moduleProjectCurrentStepCode||t.currentStepCode,i=(()=>{if(r===`image_prompt_optimize`)switch(n){case`waiting_user`:return{text:`等待融合图生成`,color:`#f59e0b`};case`processing`:return{text:`图片提示词生成中`,color:`#f59e0b`};case`completed`:return{text:`图片提示词生成成功`,color:`#10b981`};case`failed`:return{text:`图片提示词生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else if(r===`image_generate`)switch(n){case`waiting_user`:return{text:`等待生成视频提示词`,color:`#f59e0b`};case`processing`:return{text:`融合图生成中`,color:`#f59e0b`};case`completed`:return{text:`融合图生成成功`,color:`#10b981`};case`failed`:return{text:`融合图生成失败`,color:`#ef4444`};default:return n||`-`}else if(r===`video_prompt_optimize`)switch(n){case`waiting_user`:return{text:`等待最终视频生成`,color:`#f59e0b`};case`processing`:return{text:`视频提示词生成中`,color:`#f59e0b`};case`completed`:return{text:`视频提示词生成成功`,color:`#10b981`};case`failed`:return{text:`视频提示词生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else if(r===`video_generate`)switch(n){case`waiting_user`:return{text:``,color:`#666`};case`processing`:return{text:`最终视频生成中`,color:`#f59e0b`};case`completed`:return{text:`任务完成`,color:`#10b981`};case`failed`:return{text:`最终视频生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else if(r===`material_input`)switch(n){case`waiting_user`:return{text:`等待生成图片提示词`,color:`#f59e0b`};case`processing`:return{text:`素材处理中`,color:`#f59e0b`};case`completed`:return{text:`素材上传成功`,color:`#10b981`};case`failed`:return{text:`素材上传失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else return t.moduleProjectId?{pending:{text:`子任务待处理`,color:`#f59e0b`},waiting_user:{text:`等待用户确认或触发`,color:`#f59e0b`},processing:{text:`子任务处理中`,color:`#f59e0b`},completed:{text:`子任务完成`,color:`#10b981`},failed:{text:`子任务失败`,color:`#ef4444`},cancelled:{text:`子任务取消`,color:`#94a3b8`}}[n]||{text:n||`-`,color:`#666`}:{text:`待生成任务`,color:`#94a3b8`}})();return typeof i==`string`?(0,$.jsx)(`span`,{style:{fontSize:12,color:`#666`,fontWeight:500},children:i}):(0,$.jsx)(`span`,{style:{fontSize:12,color:i.color,fontWeight:500},children:i.text})}},{title:`操作`,width:140,fixed:`right`,align:`center`,render:(e,n)=>(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,gap:8},children:n.moduleProjectId?(0,$.jsx)(X,{type:`text`,onClick:()=>t(`/removelens/${n.moduleProjectId}/removefenbu`),style:{color:`#10b981`,fontSize:12,padding:0,display:`flex`,alignItems:`center`,gap:4},children:`详情任务`}):(0,$.jsx)(X,{type:`text`,onClick:()=>z(String(n.id),n.segmentName),disabled:!ne(n),style:{color:ne(n)?`#f59e0b`:`#94a3b8`,fontSize:12,padding:0,display:`flex`,alignItems:`center`,gap:4},children:ne(n)?`视频生成`:`待切割完成`})})}],dataSource:w,pagination:!1,bordered:!1,rowKey:`id`,scroll:{y:300},style:{flex:1},components:{body:{row:({className:e,style:t,...n})=>(0,$.jsx)(`tr`,{...n,className:e,style:{...t,transition:`all 0.2s ease`,borderBottom:`1px solid rgba(99, 102, 241, 0.05)`,height:80,overflow:`auto`}}),cell:({className:e,style:t,...n})=>(0,$.jsx)(`td`,{...n,className:e,style:{...t,padding:`16px 24px`}})},header:{cell:({className:e,style:t,...n})=>(0,$.jsx)(`th`,{...n,className:e,style:{...t,background:`rgba(255, 255, 255, 1)`,color:`#64748b`,fontWeight:500,fontSize:13,padding:`16px 24px`,borderBottom:`none`}})}}})]})]}):(0,$.jsx)(`div`,{style:{flex:1,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`span`,{style:{fontSize:16,color:`#999`},children:`加载中...`})})]}),(0,$.jsx)(Vae,{open:i,videoUrl:P,title:`手动视频切片`,loading:O,minDuration:J9,maxDuration:Y9,onCancel:()=>a(!1),onConfirm:te}),(0,$.jsx)(NH,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,width:`100%`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:18,fontWeight:600,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`},children:`智能视频复刻`}),c&&(0,$.jsxs)(`span`,{style:{fontSize:14,color:`#64748b`},children:[`- `,c]})]}),(0,$.jsx)(X,{type:`text`,icon:(0,$.jsx)(Y5,{}),onClick:B,style:{padding:0,color:`#64748b`,fontSize:14}})]}),placement:`right`,closable:!1,onClose:B,open:n,size:480,styles:{body:{padding:`24px`,background:`linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%)`},header:{background:`#fff`,borderBottom:`1px solid rgba(99, 102, 241, 0.1)`,padding:`20px 24px`},section:{borderRadius:`20px 0 0 20px`,overflow:`hidden`}},children:(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:20},children:[(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:12,padding:16,border:`1px solid rgba(99, 102, 241, 0.1)`},children:[(0,$.jsxs)(`label`,{style:{fontWeight:500,color:`#334155`,marginBottom:8,display:`block`,fontSize:14},children:[`产品白底图 `,(0,$.jsx)(`span`,{style:{color:`#ef4444`},children:`*`})]}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:12},children:(0,$.jsx)(e2,{listType:`picture-card`,onChange:V,beforeUpload:H,maxCount:1,accept:`image/*`,style:{width:120,height:120,borderRadius:8,border:`2px dashed rgba(99, 102, 241, 0.3)`,background:`rgba(99, 102, 241, 0.02)`},children:!y&&(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,gap:6},children:[(0,$.jsx)(IL,{style:{fontSize:20,color:`#6366f1`}}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#64748b`},children:`上传产品图`})]})})})]}),(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:12,padding:16,border:`1px solid rgba(99, 102, 241, 0.1)`},children:[(0,$.jsxs)(`label`,{style:{fontWeight:500,color:`#334155`,marginBottom:8,display:`block`,fontSize:14},children:[`产品名称 `,(0,$.jsx)(`span`,{style:{color:`#ef4444`},children:`*`})]}),(0,$.jsx)(_G,{value:h,onChange:e=>g(e.target.value),placeholder:`请输入产品名称`,style:{height:44,borderRadius:8,border:`1px solid rgba(99, 102, 241, 0.2)`},maxLength:10,showCount:!0})]}),(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:12,padding:16,border:`1px solid rgba(99, 102, 241, 0.1)`},children:[(0,$.jsxs)(`label`,{style:{fontWeight:500,color:`#334155`,marginBottom:8,display:`block`,fontSize:14},children:[`产品卖点 `,(0,$.jsx)(`span`,{style:{color:`#ef4444`},children:`*`})]}),(0,$.jsx)(Hae,{value:_,onChange:e=>v(e.target.value),placeholder:`请输入产品卖点`,style:{borderRadius:8,border:`1px solid rgba(99, 102, 241, 0.2)`},maxLength:100,showCount:!0,rows:3})]}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:12,marginTop:8},children:(0,$.jsx)(X,{type:`primary`,onClick:U,loading:E,disabled:E,style:{flex:1,height:48,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,fontWeight:600,fontSize:15,border:`none`,boxShadow:`0 4px 15px rgba(99, 102, 241, 0.3)`,transition:`all 0.2s ease`},onMouseEnter:e=>{e.currentTarget.style.boxShadow=`0 6px 20px rgba(99, 102, 241, 0.4)`,e.currentTarget.style.transform=`translateY(-1px)`},onMouseLeave:e=>{e.currentTarget.style.boxShadow=`0 4px 15px rgba(99, 102, 241, 0.3)`,e.currentTarget.style.transform=`translateY(0)`},children:E?`生成中...`:`手动生成`})})]})}),(0,$.jsx)(YK,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:600,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`},children:`视频预览`})]}),open:f,onCancel:()=>p(!1),afterClose:()=>{m.current&&(m.current.pause(),m.current.currentTime=0)},footer:null,width:640,centered:!0,styles:{body:{padding:24},header:{borderBottom:`1px solid #e0e0e0`,padding:`20px 24px`}},children:(0,$.jsx)(`div`,{style:{borderRadius:12,overflow:`hidden`},children:(0,$.jsx)(`video`,{ref:m,controls:!0,src:u||``,style:{width:`100%`,maxHeight:420,objectFit:`contain`,backgroundColor:`#000`},playsInline:!0,"webkit-playsinline":!0,autoPlay:!0})})})]})}var{Title:Gae,Text:Z9}=Q,{TextArea:Kae}=_G;function qae(e){return e===void 0?e:JSON.parse(JSON.stringify(e))}function Jae(){let e=Ye(),{creatID:t}=$e(),[n,r]=(0,S.useState)(!1),[i,a]=(0,S.useState)(``),[o,s]=(0,S.useState)(!1),[c,l]=(0,S.useState)(`image`),[u,d]=(0,S.useState)({}),[f,p]=(0,S.useState)(null),[m,h]=(0,S.useState)(null),[g,_]=(0,S.useState)(``),[v,y]=(0,S.useState)(!1),[b,x]=(0,S.useState)({}),[C,w]=(0,S.useState)(``),[T,E]=(0,S.useState)(``),[D,O]=(0,S.useState)(!1),[k,A]=(0,S.useState)(!1),[j,M]=(0,S.useState)(5),[N,P]=(0,S.useState)(`16:9`),[F,I]=(0,S.useState)(`480p`),[L,R]=(0,S.useState)({ratios:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:[`480p`,`720p`,`1080p`],durations:[5,8,10,12,15]}),[z,B]=(0,S.useState)([]),[V,H]=(0,S.useState)(1),[U,W]=(0,S.useState)(20),[ee,te]=(0,S.useState)(0),[ne,re]=(0,S.useState)(``),[G,ie]=(0,S.useState)({}),[K,ae]=(0,S.useState)([]),[q,oe]=(0,S.useState)([]),[se,ce]=(0,S.useState)(!1),[le,ue]=(0,S.useState)(``),[de,fe]=(0,S.useState)(`image`),pe=S.useRef(null);(0,S.useEffect)(()=>{if(se&&de===`video`){let e=()=>{pe.current&&pe.current.play().catch(()=>{})};pe.current&&(pe.current.readyState>=2?e():pe.current.addEventListener(`loadedmetadata`,e));let t=setTimeout(e,300);return()=>{clearTimeout(t),pe.current&&(pe.current.removeEventListener(`loadedmetadata`,e),pe.current.pause())}}else pe.current&&pe.current.pause()},[se,de]);let me=[{id:1,title:`原始素材`,description:`上传原始视频素材`,childId:1},{id:2,title:`生成提示词`,description:`根据素材生成描述词`,childId:2},{id:3,title:`生成产品融合图`,description:`生成产品与场景融合图`,childId:3},{id:4,title:`生成视频提示词`,description:`生成视频生成提示词`,childId:4},{id:5,title:`生成最终视频`,description:`合成最终视频`,childId:5}].map((e,t)=>({...e,status:K[t]?.status||``,id:K[t]?.id||t,output:K[t]?.output||``,engineId:K[t]?.input?.payload?.videoConfig?.engineId||``}));(0,S.useEffect)(()=>{let e=new Set;q.forEach(t=>{let n=me.find(e=>String(e.childId)===t);n&&(n.status===`completed`||n.status===`failed`)&&e.add(t)});for(let t=me.length-1;t>=0;t--)if(me[t].status===`completed`||me[t].status===`failed`){e.add(String(me[t].childId));break}e.size>0?oe(Array.from(e)):oe([])},[K]);let he=(e,t,n)=>{I7(e,t,n).then(e=>{e.items&&B(e.items),e.total!==void 0&&te(e.total)}).catch(e=>{})},ge=(e,t)=>{H(e),W(t),he(e,t,ne)},_e=()=>{he(1,20,ne)};(0,S.useEffect)(()=>{he(V,U,ne)},[]),(0,S.useEffect)(()=>{w7().then(e=>{if(x(e.engine||{}),e.engine?.video&&e.engine.video.length>0){w(e.engine.video[0].id);let t=e.engine.video[0];R({ratios:t.supportedRatios||[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:t.supportedResolutions||[`480p`,`720p`,`1080p`],durations:t.supportedDurations||[5,8,10,12,15]})}e.engine?.image&&e.engine.image.length>0&&E(e.engine.image[0].id)}).catch(e=>{})},[]),(0,S.useEffect)(()=>()=>{m&&(clearInterval(m),h(null))},[m]),(0,S.useEffect)(()=>{let e=e=>{let t=e.target;!t.closest(`.image-settings-trigger`)&&!t.closest(`.image-settings-popover`)&&(O(!1),A(!1))};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]),(0,S.useEffect)(()=>{t&&z7(t).then(e=>{ie(e),e.steps&&ae(e.steps)}).catch(e=>{})},[t]),(0,S.useEffect)(()=>{let e=me[4];e&&e.status!==`completed`&&e.status!==`failed`?m||h(setInterval(be,3e4)):e&&m&&(clearInterval(m),h(null))},[me]);let ve=(e,t,n,i)=>{l(t||`image`),_(n?String(n):``),t===`video`?(p(i||null),d(e&&typeof e==`object`?qae(e):{}),a(``)):(p(null),a(e||``),d({})),r(!0)},ye=async()=>{if(c===`image`){if(!G?.id||!g){Z.warning(`缺少任务或步骤 ID,无法保存图片提示词`);return}if(!i||!i.trim()){Z.warning(`图片提示词不能为空`);return}y(!0);try{await Jre(G.id,g,{prompt:i.trim()}),Z.success(`图片提示词已保存`),xe(),r(!1),_(``)}catch(e){Z.error(e?.message||`保存图片提示词失败`)}finally{y(!1)}return}if(!G?.id||!g){Z.warning(`缺少任务或步骤 ID,无法保存视频提示词`);return}if(!u||typeof u!=`object`||Object.keys(u).length===0){Z.warning(`视频提示词不能为空`);return}if(!f){Z.warning(`视频提词配置缺失,暂不能保存`);return}let e=T9(u,f);if(e){Z.warning(e);return}y(!0);try{await Yre(G.id,g,{prompt_schema:u}),Z.success(`视频提示词已保存`),xe(),r(!1),_(``)}catch(e){Z.error(e?.message||`保存视频提示词失败`)}finally{y(!1)}},be=()=>{t&&z7(t).then(e=>{ie(e),e.steps&&ae(e.steps)}).catch(e=>{})},xe=()=>{t&&z7(t).then(e=>{ie(e),e.steps&&ae(e.steps)}).catch(e=>{})},Se=(e,t)=>{ue(e),fe(t),ce(!0)},Ce=()=>{ce(!1),ue(``),pe.current&&pe.current.pause()},we=e=>{if(e.preventDefault(),e.stopPropagation(),!le)return;let t=document.createElement(`a`);t.href=`http://ceshi.apiforeign.minzhong.cn${le}&download=1`,t.download=de===`image`?`image.png`:`video.mp4`,document.body.appendChild(t),t.click(),document.body.removeChild(t)},Te=e=>{qre(G.id,e.toString()).then(e=>{Z.info(`正在生成图片提示词,请稍候...`),xe()}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},Ee=e=>{let t={engine_id:T,image_proportion:`1:1`,image_px:`2048x2048`,image_size:`2K`};B7(G.id,e.toString(),t).then(e=>{Z.info(`正在生成图片,请稍候...`),xe()}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},De=()=>{let e={engine_id:T,image_proportion:`1:1`,image_px:`2048x2048`,image_size:`2K`};B7(G.id,me[1].id.toString(),e).then(e=>{Z.info(`正在生成图片,请稍候...`),xe()}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},Oe=e=>{let t={engine_id:C,duration:j,aspect_ratio:N,resolution:F,target_platform:`抖音`};Xre(G.id,e.toString(),t).then(e=>{Z.info(`正在生成视频提示词,请稍候...`),xe()}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},ke=(e,t)=>{V7(G.id,e.toString(),{engine_id:``}).then(e=>{Z.info(`正在生成视频,请稍候...`),xe()}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},Ae=()=>{V7(G.id,me[3].id.toString(),{engine_id:``}).then(e=>{xe()}).catch(e=>{})};return(0,$.jsxs)(S.Fragment,{children:[(0,$.jsxs)(`div`,{className:`initialinfo-container`,style:{margin:`-24px -32px -32px`,height:`calc(100vh - 34px)`,position:`relative`,boxSizing:`border-box`,overflow:`hidden`,display:`flex`,flexDirection:`column`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:-100,right:-100,width:300,height:300,background:`radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%)`,borderRadius:`50%`,pointerEvents:`none`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,bottom:-100,left:-100,width:300,height:300,background:`radial-gradient(circle, rgba(167,139,250,0.08) 0%, transparent 70%)`,borderRadius:`50%`,pointerEvents:`none`}}),(0,$.jsxs)(`div`,{style:{flex:1,display:`flex`,justifyContent:`space-between`,alignItems:`stretch`,gap:`2%`,position:`relative`,zIndex:1,minHeight:0},children:[(0,$.jsxs)(`div`,{className:`replication-preview`,style:{flex:4,background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(20px)`,borderRadius:20,overflow:`hidden`,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`,display:`flex`,flexDirection:`column`,minHeight:0},children:[(0,$.jsxs)(`div`,{style:{borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,width:`100%`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:`16px 24px`,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,boxSizing:`border-box`},children:[(0,$.jsx)(X,{icon:(0,$.jsx)(t4,{}),onClick:()=>window.history.back(),style:{borderRadius:10,fontSize:13,height:32,background:`rgba(99, 102, 241, 0.1)`,border:`1px solid rgba(99, 102, 241, 0.2)`,color:`#6366f1`},children:`返回`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:[(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #6366f1, #8b5cf6, transparent)`,borderRadius:1}}),(0,$.jsx)(`h3`,{style:{margin:0,fontSize:16,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`拆镜复刻 - 任务详情`}),(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #8b5cf6, #6366f1, transparent)`,borderRadius:1}})]}),(0,$.jsx)(X,{type:`primary`,ghost:!0,style:{borderRadius:10,padding:`4px 16px`,fontSize:13,background:`rgba(99, 102, 241, 0.1)`,borderColor:`rgba(99, 102, 241, 0.2)`,color:`#6366f1`},onClick:()=>s(!0),children:`创作记录`})]}),(0,$.jsx)(`div`,{style:{flex:1,overflowY:`auto`},children:(0,$.jsxs)(`div`,{className:`material_box`,children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:24,flexWrap:`wrap`,alignItems:`flex-start`},children:[(0,$.jsxs)(`div`,{style:{flex:1,minWidth:250},children:[(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10,display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{width:3,height:14,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,display:`inline-block`}}),`视频`]}),(0,$.jsx)(`div`,{className:`medio_box`,style:{aspectRatio:`16/9`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,borderRadius:14,overflow:`hidden`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.06)`,border:`1px solid rgba(99, 102, 241, 0.08)`,cursor:G?.material?.materialVideoUrl?`pointer`:`default`},onClick:()=>G?.material?.materialVideoUrl&&Se(G.material.materialVideoUrl,`video`),children:G?.material?.materialVideoUrl?(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${G.material.materialVideoUrl}`,style:{width:`100%`,height:`100%`,objectFit:`contain`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:13},children:`暂无视频`})})]}),(0,$.jsxs)(`div`,{className:`product_img`,style:{flex:1,minWidth:250},children:[(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10,display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{width:3,height:14,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,display:`inline-block`}}),`产品图片`]}),(0,$.jsx)(`div`,{className:`medio_box`,style:{aspectRatio:`1/1`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,borderRadius:14,overflow:`hidden`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.06)`,border:`1px solid rgba(99, 102, 241, 0.08)`,cursor:G?.material?.materialImageUrl?`pointer`:`default`},onClick:()=>G?.material?.materialImageUrl&&Se(G.material.materialImageUrl,`image`),children:G?.material?.materialImageUrl?(0,$.jsx)(`img`,{src:G.material.materialImageUrl,alt:``,style:{width:`100%`,height:`100%`,objectFit:`contain`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:13},children:`暂无图片`})})]})]}),G?.finalImageUrl&&(0,$.jsx)(`div`,{style:{marginTop:24},children:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10,display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{width:3,height:14,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,display:`inline-block`}}),`生成图片`]}),(0,$.jsx)(`div`,{className:`medio_box`,style:{aspectRatio:`1/1`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,borderRadius:14,overflow:`hidden`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.06)`,border:`1px solid rgba(99, 102, 241, 0.08)`,cursor:`pointer`},onClick:()=>Se(G.finalImageUrl,`image`),children:(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${G.finalImageUrl}`,alt:``,style:{width:`100%`,height:`100%`,objectFit:`contain`}})})]})}),G?.finalVideoUrl&&(0,$.jsx)(`div`,{style:{marginTop:24},children:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10,display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{width:3,height:14,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,display:`inline-block`}}),`生成视频`]}),(0,$.jsx)(`div`,{className:`medio_box`,style:{aspectRatio:`16/9`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,borderRadius:14,overflow:`hidden`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.06)`,border:`1px solid rgba(99, 102, 241, 0.08)`,cursor:`pointer`},onClick:()=>Se(G.finalVideoUrl,`video`),children:(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${G.finalVideoUrl}`,style:{width:`100%`,height:`100%`,objectFit:`contain`}})})]})})]})})]}),(0,$.jsxs)(`div`,{className:`replication-form`,style:{flex:1,minWidth:`450px`,background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(20px)`,borderRadius:20,overflow:`hidden`,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`,display:`flex`,flexDirection:`column`,minHeight:0},children:[(0,$.jsxs)(`div`,{style:{padding:`16px 24px`,borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,display:`flex`,alignItems:`center`,gap:10,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:15,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`生成步骤`})]}),(0,$.jsx)(`div`,{style:{flex:1,overflowY:`auto`,padding:`8px 16px 16px`},children:(0,$.jsx)(i_,{activeKey:q,onChange:oe,ghost:!0,bordered:!1,style:{background:`transparent`},expandIconPlacement:`end`,items:me.map(e=>({key:String(e.childId),label:(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,width:`100%`,justifyContent:`space-between`},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,width:16,height:16},children:e.status===`completed`?(0,$.jsx)(K4,{style:{fontSize:16,color:`#22c55e`}}):e.status===`processing`?(0,$.jsx)(`div`,{style:{width:16,height:16,borderRadius:`50%`,border:`2px solid #e2e8f0`,borderTopColor:`#6366f1`,animation:`spinSlow 1s linear infinite`}}):e.status===`failed`?(0,$.jsx)(`div`,{style:{width:16,height:16,borderRadius:`50%`,background:`#ef4444`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`span`,{style:{color:`#fff`,fontSize:10},children:`×`})}):(0,$.jsx)(`div`,{style:{width:8,height:8,borderRadius:`50%`,background:`#cbd5e1`}})}),(0,$.jsx)(`span`,{style:{fontSize:14,color:e.status===`processing`||e.status===`waiting_user`?`#6366f1`:`#1e293b`,fontWeight:500},children:e.title}),(e.status===`processing`||e.status===`waiting_user`)&&(0,$.jsx)(`span`,{style:{fontSize:12,color:`#6366f1`,marginLeft:8},children:`生成中`}),e.status===`failed`&&(0,$.jsx)(`span`,{style:{fontSize:12,color:`#ef4444`,marginLeft:8},children:`失败`}),e.status===``&&(0,$.jsx)(`span`,{style:{fontSize:12,color:`#717d8b`,marginLeft:8},children:`待生成`})]})}),children:(0,$.jsxs)(`div`,{style:{padding:`16px`,background:`linear-gradient(135deg, rgba(248,250,252,0.6) 0%, rgba(238,242,255,0.4) 100%)`,borderRadius:12,marginTop:8,border:`1px solid rgba(99, 102, 241, 0.06)`},children:[e.childId===1&&(0,$.jsx)($.Fragment,{children:(0,$.jsxs)(`div`,{style:{display:`flex`,gap:20,marginBottom:20,alignItems:`flex-start`,flexWrap:`wrap`},children:[(0,$.jsxs)(`div`,{style:{flex:1,minWidth:200},children:[(0,$.jsx)(Z9,{style:{color:`#64748b`,fontSize:13,marginBottom:10,display:`block`,fontWeight:500},children:`原视频`}),(0,$.jsx)(`div`,{style:{height:180,borderRadius:12,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,border:`1px solid rgba(99, 102, 241, 0.06)`},children:G?.material?.materialVideoUrl?(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${G.material.materialVideoUrl}`,style:{maxWidth:`100%`,maxHeight:`100%`,objectFit:`contain`,borderRadius:10},controls:!0}):(0,$.jsxs)(`div`,{style:{textAlign:`center`,color:`#94a3b8`},children:[(0,$.jsxs)(`svg`,{width:`32`,height:`32`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,style:{marginBottom:8},children:[(0,$.jsx)(`rect`,{x:`2`,y:`2`,width:`20`,height:`16`,rx:`2`,ry:`2`}),(0,$.jsx)(`path`,{d:`M8 12l4 2 4-2`})]}),(0,$.jsx)(`div`,{style:{fontSize:13},children:`暂无视频`})]})})]}),(0,$.jsxs)(`div`,{style:{flex:1,minWidth:200},children:[(0,$.jsx)(Z9,{style:{color:`#64748b`,fontSize:13,marginBottom:10,display:`block`,fontWeight:500},children:`产品图片`}),(0,$.jsx)(`div`,{style:{height:180,borderRadius:12,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,border:`1px solid rgba(99, 102, 241, 0.06)`},children:G?.material?.materialImageUrl?(0,$.jsx)(`img`,{src:G.material.materialImageUrl,alt:`产品图片`,style:{maxWidth:`100%`,maxHeight:`100%`,objectFit:`contain`,borderRadius:10}}):(0,$.jsxs)(`div`,{style:{textAlign:`center`,color:`#94a3b8`},children:[(0,$.jsxs)(`svg`,{width:`32`,height:`32`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,style:{marginBottom:8},children:[(0,$.jsx)(`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,ry:`2`}),(0,$.jsx)(`circle`,{cx:`8.5`,cy:`8.5`,r:`1.5`,fill:`currentColor`}),(0,$.jsx)(`path`,{d:`M21 15l-5-5L5 21`})]}),(0,$.jsx)(`div`,{style:{fontSize:13},children:`暂无图片`})]})})]}),(0,$.jsx)(X,{onClick:()=>{Te(e.id)},type:`primary`,style:{flex:1,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},disabled:e.status!==`completed`,children:`下一步:生成图片提示词`})]})}),e.childId===2&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{padding:`12px 14px`,background:`rgba(255,255,255,0.6)`,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.08)`,marginBottom:4},children:(0,$.jsx)(Z9,{style:{color:`#475569`,fontSize:13,lineHeight:1.8,whiteSpace:`pre-wrap`},children:e?.output?.payload?.prompt||`暂无提示词`})}),(0,$.jsxs)(HH,{style:{marginTop:16,gap:12,width:`100%`},children:[(0,$.jsx)(X,{type:`default`,icon:(0,$.jsx)(p1,{}),onClick:()=>ve(e?.output?.payload?.prompt,`image`,e.id),style:{flex:1,borderRadius:10,borderColor:`rgba(99, 102, 241, 0.3)`,color:`#6366f1`,height:36,fontWeight:500,background:`rgba(99, 102, 241, 0.04)`},disabled:e.status!==`completed`,children:`修改提示词`}),(0,$.jsx)(X,{onClick:()=>{Ee(e.id)},type:`primary`,style:{flex:1,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},disabled:e.status!==`completed`,children:`下一步:生成图片`})]})]}),e.childId===3&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{style:{borderRadius:12,overflow:`hidden`,marginBottom:16,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,border:`1px solid rgba(99, 102, 241, 0.08)`,boxShadow:`0 2px 8px rgba(99, 102, 241, 0.04)`,position:`relative`},children:[G.finalImageUrl?(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${G.finalImageUrl}`,alt:`融合图`,style:{width:`100%`,height:180,objectFit:`cover`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:180,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:14},children:`暂无融合图`}),(0,$.jsx)(X,{type:`default`,icon:(0,$.jsx)(p1,{}),onClick:()=>De(),disabled:e.status!==`completed`,style:{position:`absolute`,bottom:8,left:8,borderRadius:8,borderColor:`rgba(99, 102, 241, 0.3)`,color:`#6366f1`,height:30,fontWeight:500,background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(4px)`,padding:`0 12px`,fontSize:12},children:`重新生成`})]}),(0,$.jsx)(`p`,{style:{marginBottom:6,fontSize:14,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`视频参数选择:`}),(0,$.jsxs)(`div`,{style:{width:`100%`,display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{flex:1,position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{O(!D),A(!1)},className:`image-settings-trigger`,style:{width:`100%`,padding:`4px 12px`,height:34,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.15)`,backgroundColor:`rgba(255,255,255,0.7)`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s`},children:[(0,$.jsx)(t5,{style:{fontSize:14,color:`#6366f1`}}),(0,$.jsx)(Z9,{style:{fontSize:14,fontWeight:500,color:`#64748b`},children:b.video?.find(e=>e.id===C)?.name||`选择引擎`})]}),D&&(0,$.jsx)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:-10,width:350,backgroundColor:`#fff`,borderRadius:16,boxShadow:`0 10px 40px rgba(0,0,0,0.15)`,padding:16,border:`none`,zIndex:9999},onClick:e=>e.stopPropagation(),children:(0,$.jsxs)(`div`,{style:{marginBottom:8},children:[(0,$.jsx)(Z9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#666666`},children:`选择引擎`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:4},children:b.video?.map(e=>(0,$.jsxs)(`button`,{onClick:()=>{w(e.id),R({ratios:e.supportedRatios||[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:e.supportedResolutions||[`480p`,`720p`,`1080p`],durations:e.supportedDurations||[5,8,10,12,15]}),e.supportedRatios?.includes(N)||P(e.supportedRatios?.[0]||`16:9`),e.supportedResolutions?.includes(F)||I(e.supportedResolutions?.[0]||`720p`),e.supportedDurations?.includes(j)||M(e.supportedDurations?.[0]||5),O(!1)},style:{flex:1,minHeight:48,borderRadius:8,border:C===e.id?`2px solid #6366f1`:`1px solid #e5e7eb`,backgroundColor:C===e.id?`#fff`:`#f9fafb`,cursor:`pointer`,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`flex-start`,padding:`8px 12px`,transition:`all 0.2s`,textAlign:`left`},children:[(0,$.jsx)(`span`,{style:{fontSize:13,fontWeight:C===e.id?600:500,color:C===e.id?`#6366f1`:`#4b5563`,marginBottom:2},children:e.name}),(0,$.jsx)(`span`,{style:{fontSize:11,color:`#9ca3af`}})]},e.id))})]})})]}),(0,$.jsxs)(`div`,{style:{flex:1,position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{A(!k),O(!1)},className:`image-settings-trigger`,style:{width:`100%`,padding:`4px 12px`,height:34,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.15)`,backgroundColor:`rgba(255,255,255,0.7)`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s`},children:[(0,$.jsx)(S6,{style:{fontSize:14,color:`#6366f1`}}),(0,$.jsxs)(Z9,{style:{fontSize:14,fontWeight:500,color:`#64748b`},children:[N,` · `,j,`s · `,F]})]}),k&&(0,$.jsxs)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:-160,width:350,backgroundColor:`#fff`,borderRadius:16,boxShadow:`0 10px 40px rgba(0,0,0,0.15)`,padding:16,border:`none`,zIndex:9999},onClick:e=>e.stopPropagation(),children:[(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(Z9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#666666`},children:`选择比例`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:4},children:L.ratios.map(e=>(0,$.jsxs)(`button`,{onClick:()=>P(e),style:{flex:`0 0 calc(14.28% - 4px)`,minWidth:44,height:52,borderRadius:6,border:N===e?`2px solid #6366f1`:`1px solid #e5e7eb`,backgroundColor:N===e?`#fff`:`#f9fafb`,cursor:`pointer`,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:[(0,$.jsx)(`div`,{style:{width:18,height:18,border:`2px solid ${N===e?`#6366f1`:`#9ca3af`}`,borderRadius:2,marginBottom:2}}),(0,$.jsx)(`span`,{style:{fontSize:9,color:N===e?`#6366f1`:`#6b7280`,fontWeight:N===e?600:400},children:e})]},e))})]}),(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(Z9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#666666`},children:`选择时长`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsxs)(`div`,{style:{flex:1,position:`relative`,height:24,display:`flex`,alignItems:`center`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:`50%`,left:0,right:0,height:6,borderRadius:3,background:`#e5e7eb`,transform:`translateY(-50%)`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:`50%`,left:0,height:6,borderRadius:3,background:`#6366f1`,width:`${(j-Math.min(...L.durations))/(Math.max(...L.durations)-Math.min(...L.durations))*100}%`,transform:`translateY(-50%)`}}),(0,$.jsx)(`input`,{type:`range`,min:Math.min(...L.durations),max:Math.max(...L.durations),value:j,onChange:e=>M(Number(e.target.value)),style:{position:`relative`,width:`100%`,height:24,borderRadius:3,background:`transparent`,outline:`none`,appearance:`none`,cursor:`pointer`,zIndex:1}})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:4,padding:`4px 12px`,backgroundColor:`#f1f5f9`,borderRadius:6},children:[(0,$.jsx)(`span`,{style:{fontSize:14,fontWeight:600,color:`#64748b`},children:j}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#9ca3af`},children:`秒`})]})]})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Z9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#666666`},children:`选择分辨率`}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:6},children:L.resolutions.map(e=>(0,$.jsx)(`button`,{onClick:()=>I(e),style:{flex:1,height:42,borderRadius:6,border:F===e?`2px solid #6366f1`:`1px solid #e5e7eb`,backgroundColor:F===e?`#6366f1`:`#f9fafb`,cursor:`pointer`,display:`flex`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:(0,$.jsx)(`span`,{style:{fontSize:12,fontWeight:600,color:F===e?`#fff`:`#4b5563`},children:e})},e))})]})]})]})]}),(0,$.jsx)(X,{type:`primary`,style:{width:`100%`,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},onClick:()=>{Oe(e.id)},disabled:e.status!==`completed`,children:`下一步:生成视频提示词`})]}),e.childId===4&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{padding:`12px 14px`,background:`rgba(255,255,255,0.6)`,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.08)`,marginBottom:4},children:(0,$.jsx)(Z9,{style:{color:`#64748b`,fontSize:13,lineHeight:1.8},children:`视频提词已生成,可点击按钮查看/修改`})}),(0,$.jsxs)(HH,{style:{marginTop:16,gap:12,width:`100%`},children:[(0,$.jsx)(X,{type:`default`,icon:(0,$.jsx)(p1,{}),onClick:()=>ve(G?.videoGeneration?.promptSchema,`video`,e.id,G?.videoGeneration?.schemaConfigSnapshot),style:{flex:1,borderRadius:10,borderColor:`rgba(99, 102, 241, 0.3)`,color:`#6366f1`,height:36,fontWeight:500,background:`rgba(99, 102, 241, 0.04)`},disabled:e.status!==`completed`||!G?.videoGeneration?.promptSchema||!G?.videoGeneration?.schemaConfigSnapshot,children:`查看/修改视频提词`}),(0,$.jsx)(X,{onClick:()=>{ke(e.id,e.engineId)},type:`primary`,style:{flex:1,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},disabled:e.status!==`completed`,children:`下一步:生成视频`})]})]}),e.childId===5&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{borderRadius:12,overflow:`hidden`,marginBottom:16,position:`relative`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,border:`1px solid rgba(99, 102, 241, 0.08)`,boxShadow:`0 2px 8px rgba(99, 102, 241, 0.04)`},children:e.status===`completed`&&G?.finalVideoUrl?(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${G.finalVideoUrl}`,style:{width:`100%`,height:180,objectFit:`cover`},controls:!0}):e.status===`processing`?(0,$.jsxs)(`div`,{style:{width:`100%`,height:180,display:`flex`,alignItems:`center`,justifyContent:`center`,flexDirection:`column`,gap:8},children:[(0,$.jsx)(`div`,{style:{width:20,height:20,borderRadius:`50%`,border:`2px solid #e2e8f0`,borderTopColor:`#6366f1`,animation:`spinSlow 1s linear infinite`}}),(0,$.jsx)(`span`,{style:{color:`#6366f1`,fontSize:14},children:`视频生成中...`})]}):e.status===`failed`?(0,$.jsx)(`div`,{style:{width:`100%`,height:180,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#ef4444`,fontSize:14},children:`视频生成失败`}):(0,$.jsx)(`div`,{style:{width:`100%`,height:180,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:14},children:`暂无视频`})}),(0,$.jsxs)(HH,{style:{width:`100%`,gap:12},children:[(0,$.jsx)(X,{onClick:()=>Ae(),type:`default`,icon:(0,$.jsx)(p1,{}),style:{flex:1,borderRadius:10,borderColor:`rgba(99, 102, 241, 0.3)`,color:`#6366f1`,height:36,fontWeight:500,background:`rgba(99, 102, 241, 0.04)`},disabled:e.status!==`completed`,children:`重新生成`}),(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(J0,{}),style:{flex:1,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},disabled:e.status!==`completed`,onClick:()=>{let e=`http://ceshi.apiforeign.minzhong.cn${G?.finalVideoUrl}&download=1`,t=document.createElement(`a`);t.href=e,t.download=`video_${Date.now()}.mp4`,document.body.appendChild(t),t.click(),document.body.removeChild(t)},children:`下载视频`})]})]})]})}))})})]})]})]}),(0,$.jsx)(YK,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:15,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:c===`video`?`查看/编辑视频提词`:`修改提示词`})]}),open:n,onCancel:()=>{v||r(!1)},footer:[(0,$.jsx)(X,{onClick:()=>r(!1),disabled:v,style:{borderRadius:8},children:`取消`},`cancel`),(0,$.jsx)(X,{type:`primary`,onClick:ye,loading:v,disabled:v,style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`},children:`确认`},`confirm`)],width:800,style:{borderRadius:16},styles:{header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,padding:`16px 24px`},body:{background:`linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f0f9ff 100%)`,padding:`20px 24px`}},children:c===`image`?(0,$.jsx)(Kae,{value:i,onChange:e=>a(e.target.value),rows:8,style:{width:`100%`,height:300,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.15)`,background:`rgba(255,255,255,0.8)`},placeholder:`请输入提示词`}):(0,$.jsx)(`div`,{style:{maxHeight:500,overflowY:`auto`,paddingRight:10},children:(0,$.jsx)(M9,{value:u,schemaConfigSnapshot:f,onChange:d})})}),(0,$.jsxs)(YK,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:600,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`},children:`创作记录`})]}),open:o,onCancel:()=>s(!1),width:800,footer:null,styles:{body:{background:`linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%)`},header:{background:`#fff`,borderBottom:`1px solid rgba(99, 102, 241, 0.1)`,padding:`20px 24px`}},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,marginBottom:16,gap:8},children:[(0,$.jsx)(_G,{placeholder:`搜索产品名称`,value:ne,onChange:e=>re(e.target.value),onPressEnter:_e,style:{width:200,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.2)`,height:40}}),(0,$.jsx)(X,{type:`primary`,onClick:_e,style:{borderRadius:10,height:40,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`},children:`搜索`})]}),(0,$.jsx)(`div`,{style:{background:`linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%)`,backdropFilter:`blur(20px)`,borderRadius:16,overflow:`hidden`,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`},children:(0,$.jsx)(v$,{columns:[{title:`产品名称`,dataIndex:`title`,key:`title`,render:e=>(0,$.jsx)(`span`,{style:{fontSize:14,color:`#1e293b`,fontWeight:500},children:e})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,render:e=>{if(!e)return`-`;let t=new Date(e);return(0,$.jsx)(`span`,{style:{fontSize:13,color:`#64748b`},children:`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`})}},{title:`操作`,key:`action`,align:`center`,render:t=>(0,$.jsx)(X,{type:`text`,onClick:()=>e(`/removelens/${t.id}/removeinfo`),style:{color:`#6366f1`,fontSize:13,padding:`4px 12px`,borderRadius:6,background:`rgba(99, 102, 241, 0.1)`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(99, 102, 241, 0.15)`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(99, 102, 241, 0.1)`},children:`查看详情`})}],dataSource:z,rowKey:`id`,pagination:{current:V,pageSize:U,total:ee,showSizeChanger:!0,showQuickJumper:!0,showTotal:e=>`共 ${e} 条`,onChange:ge,style:{padding:`16px 24px`,borderTop:`1px solid rgba(99, 102, 241, 0.1)`}},style:{fontSize:13},scroll:{y:350},components:{body:{row:({className:e,style:t,...n})=>(0,$.jsx)(`tr`,{...n,className:e,style:{...t,transition:`all 0.2s ease`,borderBottom:`1px solid rgba(99, 102, 241, 0.05)`}}),cell:({className:e,style:t,...n})=>(0,$.jsx)(`td`,{...n,className:e,style:{...t,padding:`16px 24px`}})},header:{cell:({className:e,style:t,...n})=>(0,$.jsx)(`th`,{...n,className:e,style:{...t,background:`rgba(99, 102, 241, 0.03)`,color:`#64748b`,fontWeight:500,fontSize:13,padding:`16px 24px`,borderBottom:`none`}})}}})})]}),(0,$.jsx)(YK,{open:se,title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(180deg, #8b5cf6 0%, #ddd6fe 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:700,color:`#8b5cf6`,letterSpacing:.4},children:`预览`})]}),onCancel:Ce,width:800,footer:(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:12,padding:`16px 24px`,background:`rgba(255,255,255,0.6)`,borderTop:`1px solid rgba(139, 92, 246, 0.08)`},children:(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(J0,{}),onClick:we,style:{borderRadius:10,background:`linear-gradient(135deg, #8b5cf6 0%, #ddd6fe 100%)`,border:`none`,boxShadow:`0 8px 18px rgba(47, 52, 64, 0.15)`},children:`下载`})}),centered:!0,style:{borderRadius:16},styles:{body:{display:`flex`,alignItems:`center`,justifyContent:`center`,minHeight:`400px`},header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(139, 92, 246, 0.08)`,padding:`16px 24px`}},children:(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,width:`100%`,height:`100%`},children:de===`image`?(0,$.jsx)(`img`,{src:le.startsWith(`http`)?le:`http://ceshi.apiforeign.minzhong.cn${le}`,alt:`预览`,style:{width:`100%`,maxHeight:`400px`,objectFit:`contain`}}):(0,$.jsx)(`video`,{ref:pe,src:le.startsWith(`http`)?le:`http://ceshi.apiforeign.minzhong.cn${le}`,controls:!0,style:{maxWidth:`100%`,maxHeight:`400px`}})})})]})}var Yae=`/assets/homebtn1-DjQgGq1F.png`,Xae=`/assets/homebtn2-BNQvBUFh.png`,Zae=`/assets/homebtn3-CaXf7CQb.png`;function Qae(e){if(!e)return`-`;let t=String(e).trim();t.includes(`T`)||(t=t.replace(` `,`T`));let n=t.indexOf(`.`);n>0&&(t=t.slice(0,n)),t=t.replace(/[+-]\d{2}:?\d{0,2}$/,``).replace(/Z$/,``);let[r=``,i=``]=t.split(`T`),[,a=``,o=``]=r.split(`-`),s=i.slice(0,5);return!a||!o?`-`:`${a}-${o} ${s}`}var $ae=()=>{let e=Ye(),[t,n]=(0,S.useState)(`project`),[r,i]=(0,S.useState)(``),[a,o]=(0,S.useState)([]),[s,c]=(0,S.useState)([]),[l,u]=(0,S.useState)(``),[d,f]=(0,S.useState)([]),[p,m]=(0,S.useState)(null),h=(0,S.useRef)(null);(0,S.useEffect)(()=>{cie().then(e=>{if(e?.items?.length>0){c(e.items);let t=e.items[0].id;u(t),K7(t).then(e=>{console.log(`caseButton:`,e),e?.categories?.[0]?.assets&&f(e.categories[0].assets)})}})},[]),(0,S.useEffect)(()=>{(async()=>{try{rie(5).then(e=>{for(let t in e)e[t].forEach(e=>{e.type=t,o(t=>[...t,e])});o(e=>e)})}catch{}})()},[]);let g=e=>{n(e)},_=[{icon:(0,$.jsx)(qH,{style:{fontSize:24,color:`#6366f1`}}),title:`爆款复刻`,description:`上传参考视频与产品图片,一键复刻爆款视频开头`,action:`立即创作`,path:`/initial`},{icon:(0,$.jsx)(Y8,{style:{fontSize:24,color:`#f97316`}}),title:`拆镜复刻`,description:`精细化镜头复刻工具,拆分参考视频单镜头独立复刻,提升素材原创度,规避素材同质化`,action:`开始混剪`,path:`/removelens`},{icon:(0,$.jsx)(B8,{style:{fontSize:24,color:`#10b981`}}),title:`AI成片`,description:`输入想法、剧本或上传参考,智能生成视频/图片`,action:`立即生成`,path:`/conversation`}],v=[{key:`all`,label:`全部`},{key:`project`,label:`项目媒体`},{key:`chatAi`,label:`AI成片`},{key:`hotOpeningReplicate`,label:`爆款复刻`},{key:`shotReplicate`,label:`拆镜复刻`}],y=t===`all`?a:a.filter(e=>e.type===t);return(0,$.jsxs)(`div`,{className:`content_box`,children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:16},children:[(0,$.jsx)(`h3`,{children:`首页工作台 `}),(0,$.jsxs)(`p`,{style:{cursor:`pointer`,fontSize:12,letterSpacing:.3,padding:`10px 16px`,backgroundColor:`#ffffffff`,borderRadius:30,boxShadow:`0px 4px 12px 0px rgba(0, 0, 0, 0.1)`},children:[`如需进行账户素材推送:`,(0,$.jsxs)(`span`,{style:{color:`#1a50bbff`},onClick:()=>{e(`/authorization`)},children:[`一键推送`,(0,$.jsx)(i4,{style:{marginLeft:8,transform:`rotate(0deg)`}})]})]})]}),(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{padding:`24px 28px`,borderRadius:16,background:`linear-gradient(135deg, #f0f9ff 0%, #faf5ff 50%, #fef3c7 100%)`,border:`1px solid rgba(99,102,241,0.10)`,margin:`0 0 20px`,position:`relative`,overflow:`hidden`},children:[(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:18},children:(0,$.jsx)(`div`,{children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,borderRadius:2,background:`linear-gradient(180deg, #6366f1, #a855f7)`}}),(0,$.jsxs)(`div`,{style:{fontSize:17,fontWeight:700,color:`#1f2937`,letterSpacing:.3},children:[`我的项目`,(0,$.jsx)(`span`,{style:{color:`#a8a8a8ff`,fontSize:12},children:`(操作步骤)`})]})]})})}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsxs)(`div`,{style:{flex:1,background:`#fff`,borderRadius:14,padding:`20px 18px`,display:`flex`,flexDirection:`column`,boxShadow:`0 2px 8px rgba(15, 23, 42, 0.04)`},children:[(0,$.jsx)(`div`,{style:{textAlign:`center`,fontSize:20,fontWeight:700,color:`#1e293b`,marginBottom:14,letterSpacing:1},children:`第1步`}),(0,$.jsxs)(`div`,{style:{flex:1,minHeight:140,border:`1px dashed #c7d2fe`,borderRadius:8,background:`#fafbff`,padding:10,display:`flex`,flexDirection:`column`,gap:8,marginBottom:12},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`div`,{style:{width:8,height:8,borderRadius:2,background:`#6366f1`}}),(0,$.jsx)(`div`,{style:{flex:1,height:22,background:`#fff`,border:`1px solid #e2e8f0`,borderRadius:4,display:`flex`,alignItems:`center`,padding:`0 8px`,fontSize:10,color:`#94a3b8`},children:`项目名称...`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:4},children:[(0,$.jsx)(`div`,{style:{padding:`2px 8px`,background:`#eef2ff`,color:`#6366f1`,borderRadius:10,fontSize:10,fontWeight:500,border:`1px solid #c7d2fe`},children:`美妆`}),(0,$.jsx)(`div`,{style:{padding:`2px 8px`,background:`#fff7ed`,color:`#f97316`,borderRadius:10,fontSize:10,fontWeight:500,border:`1px solid #fed7aa`},children:`美食`}),(0,$.jsx)(`div`,{style:{padding:`2px 8px`,background:`#ecfdf5`,color:`#10b981`,borderRadius:10,fontSize:10,fontWeight:500,border:`1px solid #a7f3d0`},children:`3C数码`}),(0,$.jsx)(`div`,{style:{padding:`2px 8px`,background:`#f5f3ff`,color:`#8b5cf6`,borderRadius:10,fontSize:10,fontWeight:500,border:`1px solid #ddd6fe`},children:`服饰`})]}),(0,$.jsx)(`div`,{style:{height:16,background:`#fff`,border:`1px solid #e2e8f0`,borderRadius:4}}),(0,$.jsx)(`div`,{style:{height:16,width:`70%`,background:`#fff`,border:`1px solid #e2e8f0`,borderRadius:4}})]}),(0,$.jsx)(`div`,{style:{background:`#f1f5f9`,borderRadius:10,padding:`14px 12px`,textAlign:`center`,fontSize:13,color:`#475569`,lineHeight:1.6},children:`创建新项目,自定义项目名称并选择对应行业分类`})]}),(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,color:`#94a3b8`,fontSize:22},children:(0,$.jsx)(i4,{style:{transform:`rotate(0deg)`}})}),(0,$.jsxs)(`div`,{style:{flex:1,background:`#fff`,borderRadius:14,padding:`20px 18px`,display:`flex`,flexDirection:`column`,boxShadow:`0 2px 8px rgba(15, 23, 42, 0.04)`},children:[(0,$.jsx)(`div`,{style:{textAlign:`center`,fontSize:20,fontWeight:700,color:`#1e293b`,marginBottom:14,letterSpacing:1},children:`第2步`}),(0,$.jsxs)(`div`,{style:{flex:1,minHeight:140,border:`1px solid #e2e8f0`,borderRadius:8,background:`#fafafa`,padding:10,display:`flex`,flexDirection:`column`,gap:8,marginBottom:12},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,background:`#f1f5f9`,borderRadius:6,padding:2,gap:2},children:[(0,$.jsxs)(`div`,{style:{flex:1,display:`flex`,alignItems:`center`,justifyContent:`center`,gap:4,padding:`5px 0`,background:`#fff`,borderRadius:4,fontSize:11,fontWeight:600,color:`#6366f1`,boxShadow:`0 1px 3px rgba(99,102,241,0.15)`},children:[(0,$.jsx)(H5,{style:{fontSize:11}}),`视频`]}),(0,$.jsxs)(`div`,{style:{flex:1,display:`flex`,alignItems:`center`,justifyContent:`center`,gap:4,padding:`5px 0`,fontSize:11,color:`#94a3b8`},children:[(0,$.jsx)(g8,{style:{fontSize:11}}),` 图片`]})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{fontSize:9,color:`#94a3b8`,marginBottom:3},children:`尺寸比例`}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:4},children:[(0,$.jsx)(`div`,{style:{flex:1,textAlign:`center`,padding:`4px 0`,background:`#eef2ff`,color:`#6366f1`,border:`1px solid #c7d2fe`,borderRadius:4,fontSize:10,fontWeight:600},children:`9:16`}),(0,$.jsx)(`div`,{style:{flex:1,textAlign:`center`,padding:`4px 0`,background:`#fff`,color:`#64748b`,border:`1px solid #e2e8f0`,borderRadius:4,fontSize:10},children:`16:9`}),(0,$.jsx)(`div`,{style:{flex:1,textAlign:`center`,padding:`4px 0`,background:`#fff`,color:`#64748b`,border:`1px solid #e2e8f0`,borderRadius:4,fontSize:10},children:`1:1`})]})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{fontSize:9,color:`#94a3b8`,marginBottom:3},children:`时长`}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:4},children:[(0,$.jsx)(`div`,{style:{flex:1,textAlign:`center`,padding:`4px 0`,background:`#fff`,color:`#64748b`,border:`1px solid #e2e8f0`,borderRadius:4,fontSize:10},children:`5s`}),(0,$.jsx)(`div`,{style:{flex:1,textAlign:`center`,padding:`4px 0`,background:`#fff7ed`,color:`#f97316`,border:`1px solid #fed7aa`,borderRadius:4,fontSize:10,fontWeight:600},children:`10s`}),(0,$.jsx)(`div`,{style:{flex:1,textAlign:`center`,padding:`4px 0`,background:`#fff`,color:`#64748b`,border:`1px solid #e2e8f0`,borderRadius:4,fontSize:10},children:`15s`})]})]})]}),(0,$.jsx)(`div`,{style:{background:`#f1f5f9`,borderRadius:10,padding:`14px 12px`,textAlign:`center`,fontSize:13,color:`#475569`,lineHeight:1.6},children:`选择生成图片或视频,设置尺寸、时长等参数,点击生成即可一键优化提示词`})]}),(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,color:`#94a3b8`,fontSize:22},children:(0,$.jsx)(i4,{})}),(0,$.jsxs)(`div`,{style:{flex:1,background:`#fff`,borderRadius:14,padding:`20px 18px`,display:`flex`,flexDirection:`column`,boxShadow:`0 2px 8px rgba(15, 23, 42, 0.04)`},children:[(0,$.jsx)(`div`,{style:{textAlign:`center`,fontSize:20,fontWeight:700,color:`#1e293b`,marginBottom:14,letterSpacing:1},children:`第3步`}),(0,$.jsxs)(`div`,{style:{flex:1,minHeight:140,border:`1px solid #e2e8f0`,borderRadius:8,background:`#fafafa`,padding:10,display:`flex`,flexDirection:`column`,gap:6,marginBottom:12,justifyContent:`space-between`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:6},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6,padding:`5px 8px`,background:`#f0fdf4`,border:`1px solid #bbf7d0`,borderRadius:5},children:[(0,$.jsx)(`div`,{style:{width:14,height:14,borderRadius:`50%`,background:`#10b981`,color:`#fff`,fontSize:10,display:`flex`,alignItems:`center`,justifyContent:`center`,fontWeight:700},children:`✓`}),(0,$.jsx)(`div`,{style:{fontSize:10,color:`#065f46`,fontWeight:500},children:`提示词已智能优化`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6,padding:`5px 8px`,background:`#f0fdf4`,border:`1px solid #bbf7d0`,borderRadius:5},children:[(0,$.jsx)(`div`,{style:{width:14,height:14,borderRadius:`50%`,background:`#10b981`,color:`#fff`,fontSize:10,display:`flex`,alignItems:`center`,justifyContent:`center`,fontWeight:700},children:`✓`}),(0,$.jsx)(`div`,{style:{fontSize:10,color:`#065f46`,fontWeight:500},children:`尺寸 9:16 · 时长 5s`})]})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,gap:4,padding:`6px 0`,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,color:`#fff`,borderRadius:5,fontSize:11,fontWeight:600,boxShadow:`0 2px 6px rgba(99,102,241,0.25)`},children:[(0,$.jsx)(j5,{style:{fontSize:11}}),`确认并生成素材`]})]}),(0,$.jsx)(`div`,{style:{background:`#f1f5f9`,borderRadius:10,padding:`14px 12px`,textAlign:`center`,fontSize:13,color:`#475569`,lineHeight:1.6},children:`核对图片 / 视频参数与优化后的提示词,确认后一键生成素材`})]}),(0,$.jsxs)(`div`,{onClick:()=>e(`/projects`),onMouseEnter:e=>{e.currentTarget.style.transform=`translateY(-2px) scale(1.05)`,e.currentTarget.style.boxShadow=`0 14px 32px rgba(99,102,241,0.45)`;let t=e.currentTarget.querySelector(`.round-arrow`);t&&(t.style.transform=`translateX(3px)`)},onMouseLeave:e=>{e.currentTarget.style.transform=`translateY(0) scale(1)`,e.currentTarget.style.boxShadow=`0 8px 20px rgba(99,102,241,0.30)`;let t=e.currentTarget.querySelector(`.round-arrow`);t&&(t.style.transform=`translateX(0)`)},style:{cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,gap:4,width:64,height:64,borderRadius:`50%`,textAlign:`center`,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%)`,color:`#fff`,fontSize:14,fontWeight:600,letterSpacing:.5,boxShadow:`0 8px 20px rgba(99,102,241,0.30)`,transition:`all 0.3s cubic-bezier(0.4, 0, 0.2, 1)`,userSelect:`none`,position:`relative`},children:[(0,$.jsx)(`span`,{style:{position:`absolute`,inset:0,borderRadius:`50%`,background:`radial-gradient(circle at 30% 25%, rgba(255,255,255,0.35) 0%, transparent 55%)`,pointerEvents:`none`}}),`前往`,(0,$.jsx)(i4,{className:`round-arrow`,style:{fontSize:13,transition:`transform 0.3s ease`}})]})]})]}),(0,$.jsxs)(`div`,{className:`animate-fadeInUp stagger-children`,style:{padding:`24px 28px`,borderRadius:16,background:`#fff`,border:`1px solid #e2e8f0`,marginBottom:20},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:18},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,borderRadius:2,background:`linear-gradient(180deg, #6366f1, #a855f7)`}}),(0,$.jsx)(`div`,{style:{fontSize:17,fontWeight:700,color:`#1f2937`,letterSpacing:.3},children:`AI 创作入口`}),(0,$.jsx)(`div`,{style:{fontSize:12,color:`#94a3b8`,marginLeft:8},children:`一键开启智能创作`})]}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:16},children:_.map((t,n)=>{let r=[{color:`#6366f1`,light:`rgba(99,102,241,0.10)`,tag:`复刻`,bg:Yae},{color:`#f97316`,light:`rgba(249,115,22,0.10)`,tag:`混剪`,bg:Xae},{color:`#10b981`,light:`rgba(16,185,129,0.10)`,tag:`云创`,bg:Zae}],i=r[n]||r[0];return(0,$.jsxs)(`div`,{onClick:()=>e(t.path),className:`project-card`,style:{flex:1,padding:`20px 22px`,borderRadius:14,background:`#fff`,border:`1px solid #e2e8f0`,cursor:`pointer`,transition:`all 0.3s cubic-bezier(0.4, 0, 0.2, 1)`,position:`relative`,overflow:`hidden`,backgroundImage:`url(${i.bg})`,backgroundRepeat:`no-repeat`,backgroundSize:`100% 100%`,backgroundPosition:`center`},onMouseEnter:e=>{e.currentTarget.style.borderColor=i.color,e.currentTarget.style.boxShadow=`0 12px 32px ${i.light}`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`#e2e8f0`,e.currentTarget.style.boxShadow=`none`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:0,left:0,right:0,height:3,background:`linear-gradient(90deg, ${i.color}, ${i.color}88)`}}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:14},children:[(0,$.jsx)(`div`,{style:{width:48,height:48,borderRadius:12,background:i.light,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`span`,{style:{color:i.color,fontSize:22,display:`flex`},children:t.icon})}),(0,$.jsx)(`div`,{style:{fontSize:11,color:i.color,padding:`2px 8px`,borderRadius:6,background:i.light,fontWeight:600},children:i.tag})]}),(0,$.jsx)(`div`,{style:{fontSize:16,fontWeight:700,color:`#1f2937`,marginBottom:4},children:t.title}),(0,$.jsx)(`div`,{style:{fontSize:12,color:`#6b7280`,marginBottom:14,lineHeight:1.5,minHeight:36},children:t.description}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:4,color:i.color,fontSize:13,fontWeight:600},children:[t.action,(0,$.jsx)(i4,{style:{fontSize:12}})]})]},n)})})]}),(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{padding:`24px 28px`,borderRadius:16,background:`#fff`,border:`1px solid #e2e8f0`,marginBottom:20},children:[(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:16},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,borderRadius:2,background:`linear-gradient(180deg, #6366f1, #a855f7)`}}),(0,$.jsx)(`div`,{style:{fontSize:17,fontWeight:700,color:`#1f2937`,letterSpacing:.3},children:`近期作品`})]})}),(0,$.jsx)(`div`,{style:{marginBottom:20},children:(0,$.jsx)(iR,{activeKey:t,onChange:g,items:v.map(e=>({key:e.key,label:e.label})),className:`homepage-tabs`})}),(0,$.jsx)(`div`,{className:`stagger-children`,style:{display:`grid`,gridTemplateColumns:`repeat(5, 1fr)`,gap:16},children:y.length===0?(0,$.jsxs)(`div`,{style:{gridColumn:`1 / -1`,padding:`60px 0`,textAlign:`center`,color:`#94a3b8`,fontSize:14},children:[(0,$.jsx)(g8,{style:{fontSize:36,color:`#cbd5e1`,marginBottom:8}}),(0,$.jsx)(`div`,{children:`暂无作品`})]}):y.map(t=>(0,$.jsxs)(`div`,{className:`project-card`,onClick:()=>{let n=t.moduleProjectId;t.type===`hotOpeningReplicate`&&n!=null?e(`/initial/${n}/initialinfo`):t.type===`shotReplicate`&&n!=null?e(`/removelens/${n}/removefenbu`):t.type===`chatAi`?e(`/conversation`):t.type===`project`&&e(`/project`)},style:{borderRadius:12,overflow:`hidden`,cursor:`pointer`,background:`#fff`,border:`1px solid #e2e8f0`},children:[(0,$.jsxs)(`div`,{style:{position:`relative`,aspectRatio:`16/9`},children:[(()=>{let e=t.type!==`hotOpeningReplicate`&&(String(t.resourceType??``).toLowerCase()===`image`||t.resourceType===1||String(t.resourceType??``)===`1`),n=``;return n=e?`/static`+t.resultUrl+`&w=300&p=50`||``:(t.type,t.coverUrl||t.resultUrl||t.resultUrl||``),(0,$.jsx)(`img`,{src:n?n.startsWith(`http`)?n:`http://ceshi.apiforeign.minzhong.cn`+n:``,alt:t.title||t.name||`作品`,style:{width:`100%`,height:`100%`,objectFit:`cover`}})})(),String(t.resourceType??``).toLowerCase()===`image`?null:(0,$.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`rgba(0,0,0,0.2)`},children:(0,$.jsx)(H5,{style:{fontSize:28,color:`#fff`}})})]}),(0,$.jsx)(`div`,{style:{padding:`10px 12px`,background:`#f8fafc`,paddingTop:0},children:(0,$.jsxs)(`div`,{style:{marginTop:6,display:`flex`,alignItems:`center`,gap:6,fontSize:12,color:`#64748b`},children:[(0,$.jsx)(`span`,{style:{display:`inline-block`,padding:`1px 6px`,border:`1px solid #3b82f6`,borderRadius:4,color:`#3b82f6`,fontSize:11,fontWeight:500,background:`#fff`,lineHeight:1.4,whiteSpace:`nowrap`},children:{project:`项目媒体`,chatAi:`AI成片`,hotOpeningReplicate:`爆款复刻`,shotReplicate:`拆镜复刻`}[t.type]||`其他`}),(0,$.jsx)(`span`,{style:{color:`#94a3b8`},children:`·`}),(0,$.jsx)(`span`,{style:{whiteSpace:`nowrap`},children:Qae(t.generatedTime)})]})})]},t.id||`${t.type}-${Math.random()}`))})]}),d.length>0&&(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{padding:`24px 28px`,borderRadius:16,background:`#fff`,border:`1px solid #e2e8f0`},children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:18},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,borderRadius:2,background:`linear-gradient(180deg, #6366f1, #a855f7)`}}),(0,$.jsx)(`div`,{style:{fontSize:17,fontWeight:700,color:`#1f2937`,letterSpacing:.3},children:`素材案例`}),(0,$.jsx)(`div`,{style:{fontSize:12,color:`#94a3b8`,marginLeft:4},children:`精选优质作品参考`})]})}),(0,$.jsx)(`div`,{style:{marginBottom:20},children:(0,$.jsx)(iR,{activeKey:l,onChange:e=>{u(e),K7(e).then(e=>{e?.categories?.[0]?.assets?f(e.categories[0].assets):f([])})},items:s.map(e=>({key:e.id,label:e.name})),className:`homepage-tabs`})}),(0,$.jsx)(`div`,{className:`stagger-children`,style:{display:`grid`,gridTemplateColumns:`repeat(5, 1fr)`,gap:16},children:d.length===0?(0,$.jsxs)(`div`,{style:{gridColumn:`1 / -1`,padding:`60px 0`,textAlign:`center`,color:`#94a3b8`,fontSize:14},children:[(0,$.jsx)(g8,{style:{fontSize:36,color:`#cbd5e1`,marginBottom:8}}),(0,$.jsx)(`div`,{children:`暂无素材`})]}):d.map((e,t)=>(0,$.jsxs)(`div`,{className:`project-card`,onClick:()=>m(e),style:{borderRadius:12,overflow:`hidden`,cursor:`pointer`,background:`#fff`,border:`1px solid #e2e8f0`},children:[(0,$.jsx)(`div`,{style:{position:`relative`,aspectRatio:`16/9`},children:e.mediaType===`video`?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${e.url}`,style:{width:`100%`,height:`100%`,objectFit:`cover`},muted:!0,playsInline:!0}),(0,$.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`rgba(0,0,0,0.2)`},children:(0,$.jsx)(H5,{style:{fontSize:28,color:`#fff`}})})]}):(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${e.url}`,alt:e.title||`素材 ${t+1}`,style:{width:`100%`,height:`100%`,objectFit:`cover`}})}),(0,$.jsx)(`div`,{style:{padding:`10px 12px`,background:`#f8fafc`},children:(0,$.jsx)(`div`,{style:{fontSize:12,color:`#64748b`,textAlign:`center`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:e.title||`素材 ${t+1}`})})]},e.id||t))})]}),(0,$.jsxs)(YK,{open:!!p,onCancel:()=>{h.current?.pause(),m(null)},footer:null,width:760,centered:!0,className:`preview-modal`,bodyStyle:{padding:0,background:`#fff`,borderRadius:16,overflow:`hidden`},children:[(0,$.jsx)(`div`,{style:{width:`100%`,paddingTop:`56.25%`,position:`relative`},children:(0,$.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`},children:p?.mediaType===`video`?(0,$.jsx)(`video`,{ref:h,src:`http://ceshi.apiforeign.minzhong.cn${p.url}`,controls:!0,autoPlay:!0,style:{width:`100%`,height:`100%`,objectFit:`contain`}}):(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${p?.url}`,alt:p?.title,style:{width:`100%`,height:`100%`,objectFit:`contain`}})})}),p?.title&&(0,$.jsx)(`div`,{style:{padding:`14px 20px`,fontSize:14,color:`#4b5563`,fontWeight:500,borderTop:`1px solid #f1f5f9`,textAlign:`center`},children:p.title})]})]})},{RangePicker:eoe}=XV,Q9=e=>e.replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),toe=()=>{let e=Ye(),[t]=On(),{message:n}=yx.useApp(),[r,i]=(0,S.useState)([]),[a,o]=(0,S.useState)(0),[s,c]=(0,S.useState)(!1),[l,u]=(0,S.useState)(!1),[d,f]=(0,S.useState)(!1),[p,m]=(0,S.useState)([]),[h,g]=(0,S.useState)([]),[_,v]=(0,S.useState)(``),[y,b]=(0,S.useState)(1),[x,C]=(0,S.useState)(10),[w,T]=(0,S.useState)(t.get(`advertiserId`)||``),[E,D]=(0,S.useState)(),[O,k]=(0,S.useState)((0,oD.default)().subtract(1,`day`).format(`YYYY-MM-DD`)),[A,j]=(0,S.useState)(``);(0,S.useEffect)(()=>{N(),M()},[]);let M=async(e=1,t=10,r,a)=>{c(!0);try{let n=await $re({advertiser_id:a??w,consume_date:r??E,page:e,page_size:t});i(n.data||[]),o(n.pagination?.total||0),b(n.pagination?.page||1),C(n.pagination?.pageSize||10)}catch{n.error(`加载数据失败`)}finally{c(!1)}},N=async()=>{try{let e=((await W7()).data||[]).map(e=>({name:Q9(e.field),description:e.description}));m(e);let t=localStorage.getItem(`consumeColumns`);g(t?JSON.parse(t):e.map(e=>e.name))}catch{n.error(`加载表头字段失败`)}},P=r.map((e,t)=>({...e,index:t+1,key:e.id})),F=()=>{document.referrer.includes(window.location.origin)?e(-1):e(`/materials`)},I=()=>{b(1),M(1,x)},L=()=>{YK.confirm({title:`拉取消耗数据`,content:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{style:{marginBottom:12},children:[(0,$.jsx)(Q.Text,{style:{display:`block`,marginBottom:8},children:`同步日期:`}),(0,$.jsx)(XV,{value:(0,oD.default)(O),onChange:e=>k(e?e.format(`YYYY-MM-DD`):(0,oD.default)().subtract(1,`day`).format(`YYYY-MM-DD`)),style:{width:`100%`}})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{style:{display:`block`,marginBottom:8},children:`广告主ID(可选):`}),(0,$.jsx)(_G,{placeholder:`不指定则同步所有授权的广告主`,value:A,onChange:e=>j(e.target.value)})]})]}),onOk:async()=>{u(!0);try{await eie({date:O,advertiser_id:A||void 0}),n.success(`拉取消耗数据成功`),M(y,x)}catch{n.error(`拉取消耗数据失败`)}finally{u(!1)}},okText:`开始拉取`,cancelText:`取消`})},R=h.map(e=>p.find(t=>t.name===e)).filter(e=>!!e).map(e=>({title:e.description,dataIndex:e.name,key:e.name,ellipsis:!0}));return(0,$.jsxs)(`div`,{style:{minHeight:`94vh`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[t.get(`advertiserId`)&&(0,$.jsx)(X,{type:`text`,icon:(0,$.jsx)(t4,{}),onClick:F}),(0,$.jsx)(j3,{style:{color:`#6366f1`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`消耗记录`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,gap:12,marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,$.jsx)(_G,{placeholder:`广告主ID`,value:w,onChange:e=>T(e.target.value),style:{width:180},allowClear:!0,onPressEnter:()=>{b(1),M(1,x)}}),(0,$.jsx)(eoe,{value:E?[(0,oD.default)(E[0]),(0,oD.default)(E[1])]:void 0,onChange:e=>{e&&e[0]&&e[1]?D([e[0].format(`YYYY-MM-DD`),e[1].format(`YYYY-MM-DD`)]):D(void 0)}}),(0,$.jsx)(X,{type:`primary`,size:`medium`,onClick:I,children:`搜索`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,$.jsx)(X,{icon:(0,$.jsx)(Fne,{}),onClick:L,loading:l,style:{borderRadius:8},children:`拉取消耗`}),(0,$.jsx)(X,{icon:(0,$.jsx)(t5,{}),onClick:()=>f(!0),style:{borderRadius:8},children:`自定义表头`})]})]}),(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:12,boxShadow:`0 1px 3px rgba(0,0,0,0.05)`},children:[(0,$.jsx)(v$,{dataSource:P,columns:R,loading:s,pagination:!1,rowKey:`id`,bordered:!1,scroll:{x:`max-content`}}),(0,$.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,$.jsx)(rK,{current:y,pageSize:x,total:a,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{b(e),C(t),M(e,t)},size:`small`})})]}),(0,$.jsx)(YK,{title:`自定义表头`,open:d,onOk:()=>{localStorage.setItem(`consumeColumns`,JSON.stringify(h)),n.success(`表头设置已保存`),f(!1)},onCancel:()=>{f(!1),v(``)},okText:`确定`,cancelText:`取消`,width:800,children:(0,$.jsxs)(`div`,{style:{display:`flex`,gap:20,height:400},children:[(0,$.jsxs)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`},children:[(0,$.jsx)(_G,{placeholder:`搜索指标...`,value:_,allowClear:!0,onChange:e=>v(e.target.value),style:{marginBottom:8}}),(0,$.jsx)(Q.Text,{type:`secondary`,style:{fontSize:12,marginBottom:12,display:`block`},children:`输入指标名称进行搜索`}),(0,$.jsxs)(`div`,{style:{flex:1,overflowY:`auto`,border:`1px solid #f0f0f5`,borderRadius:8,padding:12},children:[(0,$.jsx)(`div`,{style:{marginBottom:16},children:(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#1e293b`},children:`任务详情指标`})}),(0,$.jsx)(Iz,{checked:h.length===p.length&&p.length>0,indeterminate:h.length>0&&h.length{e.target.checked?g(p.map(e=>e.name)):g([])},style:{marginBottom:12},children:`全选`}),(0,$.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`1fr 1fr`,gap:8},children:p.filter(e=>e.description.toLowerCase().includes(_.toLowerCase())||e.name.toLowerCase().includes(_.toLowerCase())).map(e=>(0,$.jsx)(Iz,{checked:h.includes(e.name),onChange:t=>{t.target.checked?g(t=>[...t,e.name]):g(t=>t.filter(t=>t!==e.name))},children:e.description},e.name))})]})]}),(0,$.jsxs)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:12},children:[(0,$.jsxs)(Q.Text,{strong:!0,style:{fontSize:14,color:`#1e293b`},children:[`已添加(`,h.length,`)`]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:8},children:[(0,$.jsx)(X,{size:`small`,onClick:()=>g([]),disabled:h.length===0,children:`清空`}),(0,$.jsx)(X,{size:`small`,onClick:async()=>{try{let e=((await W7()).data||[]).map(e=>({name:Q9(e.field),description:e.description}));m(e),g(e.map(e=>e.name)),localStorage.removeItem(`consumeColumns`),n.success(`表头字段已更新`)}catch{n.error(`更新表头字段失败`)}},children:`更新表头字段`})]})]}),(0,$.jsx)(`div`,{style:{flex:1,overflowY:`auto`,border:`1px solid #f0f0f5`,borderRadius:8,padding:12},children:h.length===0?(0,$.jsx)(Q.Text,{type:`secondary`,style:{fontSize:14,textAlign:`center`,display:`block`,padding:`40px 0`},children:`暂无已选指标`}):(0,$.jsx)(`div`,{children:h.map((e,t)=>{let n=p.find(t=>t.name===e);return(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,padding:`8px 12px`,borderBottom:`1px solid #f0f0f5`,cursor:`move`,userSelect:`none`},draggable:!0,onDragStart:e=>{e.dataTransfer.setData(`index`,String(t))},onDragOver:e=>{e.preventDefault()},onDrop:e=>{let n=parseInt(e.dataTransfer.getData(`index`)),r=t;if(n!==r){let e=[...h],[t]=e.splice(n,1);e.splice(r,0,t),g(e)}},children:[(0,$.jsx)(Q.Text,{children:n?.description||e}),(0,$.jsx)(Q.Text,{type:`secondary`,style:{fontSize:12},children:t+1})]},e)})})})]})]})})]})},noe=()=>{let e=Ye(),[t]=On(),{message:n}=yx.useApp(),[r,i]=(0,S.useState)(0),[a,o]=(0,S.useState)(!0),[s,c]=(0,S.useState)(!1),[l,u]=(0,S.useState)(``);(0,S.useEffect)(()=>{let r=t.get(`auth_code`),a=t.get(`state`);if(!r||!a){o(!1),i(10);return}let s={auth_code:r,state:a,app_id:t.get(`app_id`)||void 0,material_auth_status:t.get(`material_auth_status`)||void 0,scope:t.get(`scope`)||void 0,uid:t.get(`uid`)||void 0};(async()=>{try{let t=await Rre(s);c(!0),o(!1),n.success(t?.message||`授权成功`),setTimeout(()=>{e(`/authorization`)},1500)}catch(e){let t=e?.message||`授权失败`;u(t),o(!1),n.error(t)}})();let l=setInterval(()=>{i(e=>e>=11?(o(!1),e):e+1)},1e3);return()=>{clearInterval(l)}},[e,t,n]);let d=()=>{i(0),o(!0),c(!1),u(``),window.location.href=`/authorization`};return s?(0,$.jsx)(`div`,{style:{minHeight:`100vh`,display:`flex`,justifyContent:`center`,alignItems:`center`,background:`linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%)`},children:(0,$.jsxs)(`div`,{style:{textAlign:`center`,padding:`60px 80px`,background:`#fff`,borderRadius:16,boxShadow:`0 10px 40px rgba(0,0,0,0.1)`},children:[(0,$.jsx)(`div`,{style:{width:80,height:80,background:`#dcfce7`,borderRadius:`50%`,display:`flex`,justifyContent:`center`,alignItems:`center`,margin:`0 auto 24px`},children:(0,$.jsx)(Q.Text,{style:{fontSize:40,color:`#22c55e`},children:`✓`})}),(0,$.jsx)(Q.Title,{level:3,style:{marginBottom:16,color:`#1e293b`},children:`授权成功`}),(0,$.jsx)(Q.Text,{style:{color:`#64748b`},children:`正在跳转至授权管理页面...`})]})}):(0,$.jsx)(`div`,{style:{minHeight:`100vh`,display:`flex`,justifyContent:`center`,alignItems:`center`,background:`linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%)`},children:(0,$.jsxs)(`div`,{style:{textAlign:`center`,padding:`60px 80px`,background:`#fff`,borderRadius:16,boxShadow:`0 10px 40px rgba(0,0,0,0.1)`},children:[(0,$.jsx)(`div`,{style:{width:80,height:80,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:`50%`,display:`flex`,justifyContent:`center`,alignItems:`center`,margin:`0 auto 24px`},children:a&&r<10?(0,$.jsx)(wK,{size:`large`,tip:`加载中`,style:{color:`#fff`}}):(0,$.jsx)(UV,{style:{fontSize:40,color:`#fff`}})}),l?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(Q.Title,{level:3,style:{marginBottom:16,color:`#ef4444`},children:`授权失败`}),(0,$.jsx)(Q.Text,{style:{color:`#64748b`,marginBottom:24,display:`block`},children:l}),(0,$.jsx)(X,{type:`primary`,size:`large`,icon:(0,$.jsx)(aJ,{}),onClick:d,style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,fontWeight:600,padding:`12px 32px`},children:`重新授权`})]}):r>=10?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(Q.Title,{level:3,style:{marginBottom:16,color:`#ef4444`},children:`授权无响应`}),(0,$.jsx)(Q.Text,{style:{color:`#64748b`,marginBottom:24,display:`block`},children:`请重新授权`}),(0,$.jsx)(X,{type:`primary`,size:`large`,icon:(0,$.jsx)(aJ,{}),onClick:d,style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,fontWeight:600,padding:`12px 32px`},children:`重新授权`})]}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(Q.Title,{level:3,style:{marginBottom:16,color:`#1e293b`},children:`授权中,请等待`}),(0,$.jsx)(Q.Text,{style:{color:`#64748b`,marginBottom:24,display:`block`},children:`正在等待平台完成授权操作`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,gap:8},children:[(0,$.jsx)(UV,{style:{color:`#6366f1`}}),(0,$.jsxs)(Q.Text,{style:{color:`#6366f1`,fontWeight:500,fontSize:16},children:[r,`s`]})]})]})]})})},roe=()=>(0,$.jsxs)(`div`,{className:`content_box`,children:[(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{padding:`28px 32px`,borderRadius:16,background:`linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fed7aa 100%)`,border:`1px solid rgba(245, 158, 11, 0.18)`,marginBottom:24,position:`relative`,overflow:`hidden`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:14,marginBottom:12},children:[(0,$.jsx)(`div`,{style:{width:52,height:52,borderRadius:14,background:`linear-gradient(135deg, #f59e0b 0%, #d97706 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 6px 20px rgba(245, 158, 11, 0.3)`},children:(0,$.jsx)(y4,{style:{fontSize:24,color:`#fff`}})}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{className:`shiny-text-container`,style:{marginBottom:4},children:(0,$.jsx)(`span`,{className:`shiny-text`,style:{fontSize:26,fontWeight:700,backgroundImage:`linear-gradient(90deg, #f59e0b 0%, #d97706 30%, #ea580c 50%, #d97706 70%, #f59e0b 100%)`},children:`行业爆款大盘`})}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,fontSize:13,color:`#b45309`},children:[(0,$.jsx)(L8,{style:{fontSize:12}}),(0,$.jsx)(`span`,{children:`实时追踪全网热门素材趋势`})]})]})]}),(0,$.jsx)(Q.Text,{style:{color:`#78716c`,fontSize:14,lineHeight:1.7},children:`实时追踪各行业爆款素材,把握创作风向,打造热门内容`})]}),(0,$.jsx)(`div`,{style:{position:`relative`},children:(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{padding:`24px 28px`,borderRadius:16,background:`#fff`},children:[(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:20},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,marginRight:10}}),(0,$.jsx)(P5,{style:{marginRight:8,color:`#6366f1`,fontSize:16}}),(0,$.jsx)(`span`,{style:{fontSize:17,fontWeight:600,color:`#1f2937`},children:`爆款素材榜单`}),(0,$.jsx)(`span`,{style:{marginLeft:10,fontSize:12,fontWeight:400,color:`#94a3b8`}})]})}),(0,$.jsxs)(`div`,{className:`stagger-children`,style:{display:`grid`,gridTemplateColumns:`repeat(2, 1fr)`,gap:16,position:`relative`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,zIndex:1,inset:0,background:`rgb(255,255,255)`,display:`flex`,alignItems:`center`,justifyContent:`center`,flexDirection:`column`,gap:2,color:`#fff`,borderRadius:6},children:(0,$.jsxs)(X,{type:`primary`,size:`middle`,onClick:()=>{Z.info(`请联系客服开通会员`)},style:{borderRadius:10,fontWeight:500,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,boxShadow:`0 4px 14px rgba(99, 102, 241, 0.28)`},children:[(0,$.jsx)(j6,{style:{marginRight:6}}),`立即解锁全部`,(0,$.jsx)(i4,{style:{marginLeft:4,fontSize:12}})]})}),[{rank:1,title:`夏日美妆教程:3 步打造奶油肌`,author:`美妆博主·小雅`,views:`128.4w`,likes:`12.6w`,comments:`8,234`,tag:`NO.1`,tagColor:`#f59e0b`},{rank:2,title:`平价穿搭 | 学生党一周不重样`,author:`穿搭达人·Miki`,views:`96.2w`,likes:`9.8w`,comments:`6,128`,tag:`NO.2`,tagColor:`#a78bfa`},{rank:3,title:`探店 vlog | 网红咖啡馆测评`,author:`美食探店·阿伦`,views:`78.5w`,likes:`7.4w`,comments:`4,892`,tag:`NO.3`,tagColor:`#6366f1`},{rank:4,title:`iPhone 16 Pro 一周深度体验`,author:`数码评测·老王`,views:`65.7w`,likes:`6.1w`,comments:`3,847`,tag:`NO.4`,tagColor:`#94a3b8`}].map(e=>(0,$.jsxs)(`div`,{className:`project-card animate-fadeInUp`,style:{display:`flex`,gap:14,padding:14,borderRadius:14,background:`#fff`,border:`1px solid #e2e8f0`,cursor:`pointer`},children:[(0,$.jsxs)(`div`,{style:{position:`relative`,width:140,height:80,flexShrink:0,borderRadius:10,overflow:`hidden`,background:`linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:[(0,$.jsx)(T8,{style:{fontSize:28,color:`rgba(255,255,255,0.6)`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:6,left:6,padding:`2px 8px`,borderRadius:6,background:e.tagColor,color:`#fff`,fontSize:11,fontWeight:600},children:e.tag})]}),(0,$.jsxs)(`div`,{style:{flex:1,minWidth:0,display:`flex`,flexDirection:`column`},children:[(0,$.jsx)(`div`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:4,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},children:e.title}),(0,$.jsx)(`div`,{style:{fontSize:12,color:`#94a3b8`,marginBottom:8},children:e.author}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12,fontSize:12,color:`#64748b`},children:[(0,$.jsxs)(`span`,{children:[(0,$.jsx)(YW,{style:{marginRight:3}}),e.views]}),(0,$.jsxs)(`span`,{children:[(0,$.jsx)(T6,{style:{marginRight:3}}),e.likes]}),(0,$.jsxs)(`span`,{children:[(0,$.jsx)(p3,{style:{marginRight:3}}),e.comments]})]})]})]},e.rank))]})]})})]}),ioe=()=>(0,$.jsxs)(`div`,{className:`content_box`,children:[(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{padding:`28px 32px`,borderRadius:16,background:`linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #fce7f3 100%)`,border:`1px solid rgba(139, 92, 246, 0.12)`,marginBottom:24,position:`relative`,overflow:`hidden`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:14,marginBottom:12},children:[(0,$.jsx)(`div`,{style:{width:52,height:52,borderRadius:14,background:`linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 6px 20px rgba(139, 92, 246, 0.3)`},children:(0,$.jsx)(Y3,{style:{fontSize:24,color:`#fff`}})}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{className:`shiny-text-container`,style:{marginBottom:4},children:(0,$.jsx)(`span`,{className:`shiny-text`,style:{fontSize:26,fontWeight:700},children:`创意素材案例`})}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,fontSize:13,color:`#7c3aed`},children:[(0,$.jsx)(S3,{style:{fontSize:12}}),(0,$.jsx)(`span`,{children:`探索 AI 创作无限可能`})]})]})]}),(0,$.jsx)(Q.Text,{style:{color:`#64748b`,fontSize:14,lineHeight:1.7},children:`精选 AI 生成的优秀素材案例,展示 AI 创作的无限潜力与创意灵感`})]}),(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{padding:`24px 28px`,borderRadius:16,background:`#fff`,position:`relative`},children:[(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:20},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,marginRight:10}}),(0,$.jsx)(T5,{style:{marginRight:8,color:`#f59e0b`,fontSize:16}}),(0,$.jsx)(`span`,{style:{fontSize:17,fontWeight:600,color:`#1f2937`},children:`精选案例展示`})]})}),(0,$.jsxs)(`div`,{className:`stagger-children`,style:{display:`grid`,gridTemplateColumns:`repeat(3, 1fr)`,gap:16,marginBottom:16,position:`relative`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,inset:0,zIndex:1,background:`rgb(255,255,255)`,display:`flex`,alignItems:`center`,justifyContent:`center`,flexDirection:`column`,borderRadius:14,gap:4,color:`#fff`},children:(0,$.jsxs)(X,{type:`primary`,size:`middle`,onClick:()=>{Z.info(`请联系客服开通会员`)},style:{borderRadius:10,fontWeight:500,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,boxShadow:`0 4px 14px rgba(99, 102, 241, 0.28)`},children:[(0,$.jsx)(j6,{style:{marginRight:6}}),`解锁全部案例`,(0,$.jsx)(i4,{style:{marginLeft:4,fontSize:12}})]})}),[{title:`美妆直播切片`,tag:`热门`,tagColor:`#ef4444`},{title:`3C 数码测评`,tag:`推荐`,tagColor:`#6366f1`},{title:`美食探店 vlog`,tag:`推荐`,tagColor:`#6366f1`},{title:`服饰穿搭合集`,tag:`热门`,tagColor:`#ef4444`},{title:`家居场景展示`,tag:`推荐`,tagColor:`#6366f1`},{title:`母婴亲子内容`,tag:`热门`,tagColor:`#ef4444`}].map((e,t)=>(0,$.jsxs)(`div`,{className:`project-card animate-fadeInUp`,style:{position:`relative`,borderRadius:14,overflow:`hidden`,cursor:`pointer`,border:`1px solid #e2e8f0`,background:`#fff`},children:[(0,$.jsxs)(`div`,{style:{position:`relative`,aspectRatio:`16/9`,background:`linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:[(0,$.jsx)(T8,{style:{fontSize:36,color:`rgba(255,255,255,0.6)`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:10,left:10,padding:`2px 8px`,borderRadius:6,background:e.tagColor,color:`#fff`,fontSize:11,fontWeight:500},children:e.tag})]}),(0,$.jsxs)(`div`,{style:{padding:`10px 14px`,background:`#f8fafc`,display:`flex`,alignItems:`center`,justifyContent:`space-between`},children:[(0,$.jsx)(`span`,{style:{fontSize:13,color:`#334155`,fontWeight:500,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},children:e.title}),(0,$.jsx)(YW,{style:{fontSize:13,color:`#94a3b8`}})]})]},t))]})]})]}),{RangePicker:aoe}=XV;function $9(e){if(!e)return`-`;try{return new Date(e).toLocaleString(`zh-CN`,{hour12:!1})}catch{return`-`}}var ooe={recharge:{color:`green`,label:`充值`},consume:{color:`red`,label:`消费`},refund:{color:`orange`,label:`退款`},team_internal:{color:`blue`,label:`团队内部`}},soe=()=>{let[e,t]=(0,S.useState)(null),[n,r]=(0,S.useState)(!1),i=(0,S.useCallback)(async()=>{r(!0);try{t(await _ie())}catch(e){Z.error(e?.message||`获取团队信息失败`)}finally{r(!1)}},[]);(0,S.useEffect)(()=>{i()},[i]);let[a,o]=(0,S.useState)([]),[s,c]=(0,S.useState)(0),[l,u]=(0,S.useState)(!1),[d,f]=(0,S.useState)(1),p=(0,S.useCallback)(async()=>{if(e){u(!0);try{let e=await vie(d);o(e.items||[]),c(e.total||0)}catch(e){Z.error(e?.message||`加载成员失败`)}finally{u(!1)}}},[e,d]);(0,S.useEffect)(()=>{p()},[p]);let[m,h]=(0,S.useState)({open:!1,member:null}),[g]=IU.useForm(),[_,v]=(0,S.useState)(!1),y=async()=>{if(m.member)try{let e=await g.validateFields(),t=Number(e.amount);if(!t||t<=0||t>9999999){Z.error(`请输入有效的正数积分数量`);return}v(!0),await yie(m.member.id,t,e.direction||`increase`,e.description),Z.success(e.direction===`decrease`?`积分扣减成功`:`积分增加成功`),h({open:!1,member:null}),g.resetFields(),p(),pe()}catch(e){if(e?.errorFields)return;Z.error(e?.message||`操作失败`)}finally{v(!1)}},[b,x]=(0,S.useState)([]),[C,w]=(0,S.useState)(!1),[T,E]=(0,S.useState)(!1),[D]=IU.useForm(),[O,k]=(0,S.useState)(!1),A=(0,S.useCallback)(async()=>{w(!0);try{x(await bie()||[])}catch(e){Z.error(e?.message||`加载邀请码失败`)}finally{w(!1)}},[]);(0,S.useEffect)(()=>{A()},[A]);let j=async()=>{try{let e=await D.validateFields();k(!0),await xie(e.maxUses||null,null),Z.success(`邀请码已生成`),E(!1),D.resetFields(),A()}catch(e){if(e?.errorFields)return;Z.error(e?.message||`创建失败`)}finally{k(!1)}},M=async e=>{try{await Sie(e),Z.success(`已撤销`),A()}catch(e){Z.error(e?.message||`撤销失败`)}},N=e=>{navigator.clipboard&&window.isSecureContext?navigator.clipboard.writeText(e).then(()=>{Z.success(`邀请链接已复制`)}).catch(()=>{P(e)}):P(e)},P=e=>{let t=document.createElement(`textarea`);t.value=e,t.style.position=`fixed`,t.style.left=`-9999px`,t.style.top=`-9999px`,document.body.appendChild(t),t.focus(),t.select();try{document.execCommand(`copy`),Z.success(`邀请链接已复制`)}catch{Z.warning(`复制失败,请手动复制`)}document.body.removeChild(t)},[F,I]=(0,S.useState)([]),[L,R]=(0,S.useState)(!1),[z,B]=(0,S.useState)(`members`),V=(0,S.useRef)(!1),H=(0,S.useRef)(0),U=(0,S.useCallback)(async(e=!1)=>{R(!0);try{let t=await Cie(),n=t?.length||0;I(t||[]),n>0&&(e&&!V.current?(V.current=!0,YK.confirm({title:(0,$.jsxs)(HH,{children:[(0,$.jsx)(S4,{style:{color:`#f59e0b`}}),`待处理的加入申请`]}),content:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`p`,{children:[`您有 `,(0,$.jsx)(`strong`,{style:{color:`#ef4444`},children:n}),` 条待处理的团队加入申请。`]}),(0,$.jsx)(`p`,{style:{color:`#64748b`,fontSize:13,marginBottom:0},children:`请及时处理新成员的加入申请。`})]}),okText:`立即处理`,cancelText:`稍后处理`,onOk:()=>{B(`requests`)}})):!e&&n>H.current&&Z.info({content:`有 ${n-H.current} 条新的加入申请待处理`,duration:5})),H.current=n}catch(e){Z.error(e?.message||`加载申请失败`)}finally{R(!1)}},[]);(0,S.useEffect)(()=>{U(!0)},[U]),(0,S.useEffect)(()=>{if(!e)return;let t=setInterval(()=>{U(!1)},6e4);return()=>clearInterval(t)},[e,U]);let W=async(e,t,n)=>{try{await wie(e,t,n),Z.success(t===`approve`?`已通过`:`已拒绝`),U(),p()}catch(e){Z.error(e?.message||`操作失败`)}},[ee,te]=(0,S.useState)([]),[ne,re]=(0,S.useState)(0),[G,ie]=(0,S.useState)(null),[K,ae]=(0,S.useState)(!1),[q,oe]=(0,S.useState)(1),[se,ce]=(0,S.useState)(``),[le,ue]=(0,S.useState)(``),[de,fe]=(0,S.useState)(()=>{let e=(0,oD.default)().format(`YYYY-MM-DD`);return[e,e]}),pe=(0,S.useCallback)(async()=>{ae(!0);try{let e=await Oie({page:q,pageSize:10,phone:le||void 0,recordType:se||void 0,startDate:de?.[0]||void 0,endDate:de?.[1]||void 0});te(e.items||[]),re(e.total||0),ie(e.summary||null)}catch(e){Z.error(e?.message||`加载积分记录失败`)}finally{ae(!1)}},[q,se,le,de]);(0,S.useEffect)(()=>{pe()},[pe]);let me=()=>{ce(``),ue(``);let e=(0,oD.default)().format(`YYYY-MM-DD`);fe([e,e]),oe(1)},he=()=>{let e=kie({phone:le||void 0,recordType:se||void 0,startDate:de?.[0]||void 0,endDate:de?.[1]||void 0}),t=localStorage.getItem(`auth_token`),n=t?{Authorization:`Bearer ${t}`}:{};fetch(e,{headers:n}).then(e=>e.blob()).then(e=>{let t=document.createElement(`a`);t.href=URL.createObjectURL(e),t.download=`团队积分_${(0,oD.default)().format(`YYYYMMDD_HHmmss`)}.csv`,t.click(),URL.revokeObjectURL(t.href)}).catch(()=>Z.error(`导出失败`))},ge=[{title:`用户名`,dataIndex:`username`,width:140,render:e=>(0,$.jsx)(Q.Text,{strong:!0,children:e})},{title:`手机号`,dataIndex:`phone`,width:130,render:e=>e||`-`},{title:`积分`,dataIndex:`credits`,width:100,render:e=>(0,$.jsx)(Q.Text,{style:{color:`#6366f1`},children:(e??0).toFixed(2)})},{title:`状态`,dataIndex:`isActive`,width:80,render:e=>(0,$.jsx)(j$,{color:e?`green`:`red`,children:e?`启用`:`禁用`})},{title:`加入时间`,dataIndex:`joinedAt`,width:170,render:e=>$9(e)},{title:`操作`,key:`action`,width:100,render:(e,t)=>{let n=Y7.getState().user?.id;return t.id===n?(0,$.jsx)(Jw,{title:`不能给自己调整积分`,children:(0,$.jsx)(X,{size:`small`,type:`link`,style:{padding:0,color:`#999`,cursor:`not-allowed`},disabled:!0,children:`调整积分`})}):(0,$.jsx)(X,{size:`small`,type:`link`,style:{padding:0},onClick:()=>{h({open:!0,member:t}),g.resetFields()},children:`调整积分`})}}],_e=e=>`${window.location.origin}/join-team?code=${e}`,ve=[{title:`邀请码`,dataIndex:`code`,width:200,render:e=>(0,$.jsx)(Q.Text,{copyable:!0,style:{fontFamily:`monospace`},children:e})},{title:`邀请链接`,dataIndex:`code`,render:e=>{let t=_e(e);return(0,$.jsxs)(HH,{style:{width:`100%`},children:[(0,$.jsx)(Q.Text,{style:{flex:1,fontSize:12,wordBreak:`break-all`,fontFamily:`monospace`,color:`#64748b`},children:t}),(0,$.jsx)(Jw,{title:`复制链接`,children:(0,$.jsx)(X,{size:`small`,type:`text`,icon:(0,$.jsx)(I1,{}),onClick:()=>N(t)})})]})}},{title:`状态`,dataIndex:`status`,width:80,render:e=>(0,$.jsx)(j$,{color:e===`active`?`green`:`default`,children:e===`active`?`有效`:`已撤销`})},{title:`使用次数`,key:`uses`,width:100,render:(e,t)=>`${t.useCount}${t.maxUses?`/${t.maxUses}`:``}`},{title:`过期时间`,dataIndex:`expiresAt`,width:170,render:e=>e?$9(e):`永不过期`},{title:`操作`,key:`action`,width:80,render:(e,t)=>t.status===`active`?(0,$.jsx)(X,{size:`small`,type:`link`,danger:!0,onClick:()=>M(t.id),children:`撤销`}):null}],ye=[{title:`申请人`,dataIndex:`username`,width:140,render:e=>(0,$.jsx)(Q.Text,{strong:!0,children:e})},{title:`手机号`,dataIndex:`phone`,width:130,render:e=>e||`-`},{title:`申请时间`,dataIndex:`createdAt`,width:170,render:e=>$9(e)},{title:`操作`,key:`action`,width:160,render:(e,t)=>(0,$.jsxs)(HH,{size:4,children:[(0,$.jsx)(X,{size:`small`,type:`link`,style:{color:`#16a34a`,padding:0},onClick:()=>W(t.id,`approve`),children:`通过`}),(0,$.jsx)(X,{size:`small`,type:`link`,danger:!0,style:{padding:0},onClick:()=>{YK.confirm({title:`拒绝申请`,content:(0,$.jsx)(IU,{layout:`vertical`,style:{marginTop:12},children:(0,$.jsx)(IU.Item,{name:`note`,label:`拒绝原因(可选)`,children:(0,$.jsx)(_G.TextArea,{rows:2,placeholder:`选填`,id:`reject-note-input`})})}),onOk:()=>{let e=document.getElementById(`reject-note-input`)?.value||void 0;W(t.id,`reject`,e)}})},children:`拒绝`})]})}],be=[{title:`用户名`,dataIndex:`username`,width:120,render:e=>(0,$.jsx)(Q.Text,{strong:!0,children:e||`-`})},{title:`手机号`,dataIndex:`phone`,width:120,render:e=>e||`-`},{title:`类型`,dataIndex:`type`,width:100,render:(e,t)=>{let n=ooe[t.type]||{color:`default`,label:t.type||`-`};return(0,$.jsx)(j$,{color:n.color,children:n.label})}},{title:`变动积分`,dataIndex:`amount`,width:110,align:`right`,render:(e,t)=>(0,$.jsxs)(Q.Text,{strong:!0,style:{color:t.amount>=0?`#10b981`:`#ef4444`,fontSize:14},children:[t.amount>=0?`+`:``,(t.amount??0).toFixed(2)]})},{title:`余额`,dataIndex:`balanceAfter`,width:100,align:`right`,render:e=>(e??0).toFixed(2)},{title:`说明`,dataIndex:`description`,ellipsis:!0,minWidth:160,render:e=>e||`-`},{title:`时间`,dataIndex:`createdAt`,width:170,render:e=>$9(e)}],xe={borderRadius:16,background:`#fff`,border:`1px solid #f0f0f5`,overflow:`hidden`},Se={padding:`16px`,textAlign:`right`},Ce=[{key:`members`,label:(0,$.jsxs)(HH,{children:[(0,$.jsx)(B5,{}),`成员列表`,s>0&&(0,$.jsxs)(`span`,{style:{color:`#94a3b8`,fontSize:12},children:[`(`,s,`)`]})]}),children:(0,$.jsxs)(`div`,{style:xe,children:[(0,$.jsx)(v$,{columns:ge,dataSource:a,rowKey:`id`,loading:l,pagination:!1,bordered:!1,scroll:{x:800},locale:{emptyText:(0,$.jsx)(OC,{description:`暂无成员`})}}),s>0&&(0,$.jsx)(`div`,{style:Se,children:(0,$.jsx)(rK,{current:d,pageSize:20,total:s,onChange:e=>f(e),size:`small`})})]})},{key:`credits`,label:(0,$.jsxs)(HH,{children:[(0,$.jsx)(W5,{}),`团队积分变动`]}),children:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{style:{marginBottom:12,display:`flex`,gap:8,flexWrap:`wrap`,alignItems:`center`},children:[(0,$.jsx)(iw,{value:se||void 0,onChange:e=>{ce(e||``),oe(1)},allowClear:!0,placeholder:`交易类型`,style:{width:130},options:[{value:`recharge`,label:`充值`},{value:`consume`,label:`消费`},{value:`team_internal`,label:`团队内部`},{value:`refund`,label:`退款`}]}),(0,$.jsx)(_G,{placeholder:`搜索手机号`,value:le,onChange:e=>{ue(e.target.value),oe(1)},style:{width:160},allowClear:!0}),(0,$.jsx)(aoe,{value:de?[(0,oD.default)(de[0]),(0,oD.default)(de[1])]:void 0,onChange:e=>{e&&e[0]&&e[1]?fe([e[0].format(`YYYY-MM-DD`),e[1].format(`YYYY-MM-DD`)]):fe(null),oe(1)}}),(0,$.jsx)(X,{onClick:me,children:`重置`}),(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(J0,{}),onClick:he,children:`导出 Excel`})]}),(0,$.jsx)(`div`,{style:{marginBottom:12,padding:`8px 16px`,background:`#f8f9fc`,borderRadius:8,display:`flex`,gap:24,flexWrap:`wrap`,fontSize:13},children:(0,$.jsxs)(`span`,{children:[`总消耗积分:`,(0,$.jsx)(`strong`,{style:{color:`#ef4444`,fontSize:15},children:G?.totalConsume??0})]})}),(0,$.jsxs)(`div`,{style:xe,children:[(0,$.jsx)(v$,{rowKey:`id`,loading:K,dataSource:ee,pagination:!1,bordered:!1,scroll:{x:950},columns:be,locale:{emptyText:(0,$.jsx)(OC,{description:`暂无积分记录`})}}),ne>0&&(0,$.jsx)(`div`,{style:Se,children:(0,$.jsx)(rK,{current:q,pageSize:10,total:ne,onChange:e=>oe(e),size:`small`,showTotal:e=>`共 ${e} 条`})})]})]})},{key:`invitations`,label:(0,$.jsxs)(HH,{children:[(0,$.jsx)(I1,{}),`邀请管理`]}),children:(0,$.jsxs)(`div`,{style:xe,children:[(0,$.jsx)(`div`,{style:{padding:16,paddingBottom:0},children:(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(IL,{}),onClick:()=>E(!0),children:`生成邀请码`})}),(0,$.jsx)(v$,{columns:ve,dataSource:b,rowKey:`id`,loading:C,pagination:!1,bordered:!1,scroll:{x:900},locale:{emptyText:(0,$.jsx)(OC,{description:`暂无邀请码`})}})]})},{key:`requests`,label:(0,$.jsxs)(HH,{children:[(0,$.jsx)(s6,{}),`加入申请`,F.length>0&&(0,$.jsx)(j$,{color:`red`,children:F.length})]}),children:(0,$.jsx)(`div`,{style:xe,children:(0,$.jsx)(v$,{columns:ye,dataSource:F,rowKey:`id`,loading:L,pagination:!1,bordered:!1,scroll:{x:600},locale:{emptyText:(0,$.jsx)(OC,{description:`暂无待审批申请`})}})})}];return(0,$.jsxs)(`div`,{style:{padding:24},children:[(0,$.jsx)(`div`,{style:{marginBottom:24},children:n?(0,$.jsx)(Q.Text,{type:`secondary`,children:`加载中...`}):e?(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,flexWrap:`wrap`,gap:12},children:[(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Title,{level:4,style:{margin:0},children:e.name}),(0,$.jsxs)(Q.Text,{type:`secondary`,children:[`代码: `,e.code||`-`,` 成员: `,e.memberCount,` 人`]})]}),(0,$.jsx)(X,{icon:(0,$.jsx)(aJ,{}),onClick:()=>{i(),p(),A(),U(),pe()},children:`刷新`})]}):(0,$.jsx)(Q.Text,{type:`secondary`,children:`无法获取团队信息`})}),(0,$.jsx)(iR,{items:Ce,activeKey:z,onChange:B,size:`large`}),(0,$.jsx)(YK,{title:(0,$.jsxs)(HH,{children:[(0,$.jsx)(B5,{}),`调整成员积分 - `,m.member?.username]}),open:m.open,confirmLoading:_,onOk:y,onCancel:()=>h({open:!1,member:null}),okText:`确认`,width:480,children:(0,$.jsxs)(IU,{form:g,layout:`vertical`,style:{marginTop:16},initialValues:{direction:`increase`},children:[(0,$.jsxs)(`div`,{style:{marginBottom:16,padding:`10px 16px`,background:`#f0f4ff`,borderRadius:8,display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(Q.Text,{type:`secondary`,children:`我的当前积分`}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:20,color:`#6366f1`},children:Y7.getState().user?.credits?.toFixed(2)??`0.00`})]}),(0,$.jsx)(IU.Item,{name:`direction`,label:`操作类型`,rules:[{required:!0,message:`请选择操作类型`}],children:(0,$.jsxs)(XI.Group,{buttonStyle:`solid`,size:`large`,style:{width:`100%`},children:[(0,$.jsx)(XI.Button,{value:`increase`,style:{width:`50%`,textAlign:`center`},children:`增加成员积分`}),(0,$.jsx)(XI.Button,{value:`decrease`,style:{width:`50%`,textAlign:`center`},children:`扣减成员积分`})]})}),(0,$.jsx)(IU.Item,{name:`amount`,label:`积分数量`,required:!0,rules:[{required:!0,message:`请输入积分数量`},{type:`number`,min:.01,message:`必须大于 0`},{type:`number`,max:9999999,message:`单次不能超过 9999999`}],validateTrigger:[`onChange`,`onBlur`],children:(0,$.jsx)(AB,{style:{width:`100%`},step:1,min:.01,max:9999999,precision:2,placeholder:`请输入正数积分数量`,size:`large`,formatter:e=>{if(!e)return``;let t=`${e}`.replace(/[^0-9.]/g,``);return t=t.replace(/^0+(?=\d)/,``),t},parser:e=>{if(!e||e===`.`)return``;let t=parseFloat(e);return isNaN(t)||t<=0?``:Math.min(t,9999999)},onKeyDown:e=>{(e.key===`-`||e.key===`e`||e.key===`E`)&&e.preventDefault()},onChange:e=>{e??g.validateFields([`amount`])}})}),(0,$.jsx)(IU.Item,{name:`description`,label:`备注`,children:(0,$.jsx)(_G.TextArea,{rows:2,maxLength:256,placeholder:`选填,例如:活动奖励`})})]})}),(0,$.jsx)(YK,{title:(0,$.jsxs)(HH,{children:[(0,$.jsx)(I1,{}),`生成邀请码`]}),open:T,confirmLoading:O,onOk:j,onCancel:()=>{E(!1),D.resetFields()},okText:`生成`,width:480,children:(0,$.jsxs)(IU,{form:D,layout:`vertical`,style:{marginTop:16},children:[(0,$.jsx)(IU.Item,{name:`maxUses`,label:`最大使用次数`,children:(0,$.jsx)(AB,{style:{width:`100%`},min:1,placeholder:`留空表示不限`,size:`large`})}),(0,$.jsxs)(`div`,{style:{padding:`12px 16px`,background:`#eef2ff`,borderRadius:8,fontSize:13,color:`#4f46e5`,display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(UV,{}),(0,$.jsxs)(`span`,{children:[`邀请码自生成起 `,(0,$.jsx)(`strong`,{children:`24 小时`}),` 内有效,过期自动失效。`]})]})]})})]})},coe=()=>{let[e]=On(),t=Ye(),n=e.get(`code`)||``,{user:r,loading:i,checkAuth:a}=Y7(),[o,s]=(0,S.useState)(!0),[c,l]=(0,S.useState)(null),[u,d]=(0,S.useState)(!1),[f,p]=(0,S.useState)(!1),[m,h]=(0,S.useState)(!1);return(0,S.useEffect)(()=>{a()},[a]),(0,S.useEffect)(()=>{if(!n){s(!1);return}i||(s(!0),(r?Tie(n):Eie(n)).then(e=>{l(e),e?.valid&&r&&!e.alreadyInTeam&&!e.hasPendingRequest&&h(!0)}).catch(()=>l(null)).finally(()=>s(!1)))},[n,r,i]),i||o?(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,alignItems:`center`,minHeight:`60vh`},children:(0,$.jsx)(wK,{size:`large`})}):f?(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,padding:40},children:(0,$.jsx)(kJ,{status:`success`,icon:(0,$.jsx)(K4,{style:{color:`#6366f1`}}),title:`申请已提交`,subTitle:`您的加入申请已提交,请等待团队管理人审批。审批通过后将自动加入团队。`,extra:(0,$.jsxs)(HH,{children:[(0,$.jsx)(X,{type:`primary`,onClick:()=>t(`/projects`),children:`返回首页`}),r&&(0,$.jsx)(X,{onClick:()=>t(`/team-management`),children:`团队管理`})]})})}):!n||!c?.valid?(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,padding:40},children:(0,$.jsx)(kJ,{status:`error`,title:`邀请链接无效`,subTitle:`该邀请链接可能已过期或不存在,请联系团队管理人重新获取。`,extra:(0,$.jsx)(X,{type:`primary`,onClick:()=>t(`/projects`),children:`返回首页`})})}):c.alreadyInTeam?(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,padding:40},children:(0,$.jsx)(kJ,{status:`info`,title:`您已在此团队中`,subTitle:`您已经是「${c.teamName}」的成员了,无需再次加入。`,extra:(0,$.jsx)(HH,{children:(0,$.jsx)(X,{type:`primary`,onClick:()=>t(`/projects`),children:`返回首页`})})})}):c.hasPendingRequest?(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,padding:40},children:(0,$.jsx)(kJ,{status:`info`,title:`申请待审批`,subTitle:`您已提交加入「${c.teamName}」的申请,请等待团队管理人审批。`,extra:(0,$.jsxs)(HH,{children:[(0,$.jsx)(X,{type:`primary`,onClick:()=>t(`/projects`),children:`返回首页`}),(0,$.jsx)(X,{onClick:()=>t(`/team-management`),children:`团队管理`})]})})}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,padding:40},children:(0,$.jsxs)(oR,{variant:`outlined`,style:{borderRadius:16,maxWidth:480,width:`100%`,textAlign:`center`},children:[(0,$.jsx)(k5,{style:{fontSize:48,color:`#6366f1`,marginBottom:16}}),(0,$.jsx)(Q.Title,{level:3,children:`加入团队`}),(0,$.jsx)(Q.Text,{style:{fontSize:16,color:`#475569`,display:`block`,marginBottom:8},children:`您被邀请加入团队`}),(0,$.jsxs)(Q.Title,{level:4,style:{color:`#6366f1`,margin:`16px 0 24px`},children:[`「`,c.teamName,`」`]}),(0,$.jsx)(Q.Text,{type:`secondary`,style:{display:`block`,marginBottom:24},children:`加入后团队管理人可以为您分配积分、查看您的积分使用情况。`}),r?(0,$.jsx)(X,{type:`primary`,size:`large`,block:!0,loading:u,onClick:()=>h(!0),children:`申请加入`}):(0,$.jsxs)(HH,{direction:`vertical`,style:{width:`100%`},size:12,children:[(0,$.jsx)(X,{type:`primary`,size:`large`,block:!0,icon:(0,$.jsx)(P6,{}),onClick:()=>{t(`/login?redirect=${encodeURIComponent(window.location.pathname+window.location.search)}`)},children:`登录后申请加入`}),(0,$.jsx)(X,{size:`large`,block:!0,icon:(0,$.jsx)(qne,{}),onClick:()=>{t(`/login?tab=register&redirect=${encodeURIComponent(window.location.pathname+window.location.search)}`)},children:`注册新账号`}),(0,$.jsx)(Q.Text,{type:`secondary`,style:{fontSize:12},children:`登录或注册后将自动提交加入申请`})]})]})}),(0,$.jsxs)(YK,{title:(0,$.jsxs)(HH,{children:[(0,$.jsx)(k5,{style:{color:`#6366f1`}}),`确认加入团队`]}),open:m,onOk:async()=>{if(n)try{d(!0),await Die(n),p(!0),h(!1),Z.success(`申请已提交`)}catch(e){Z.error(e?.message||`申请失败`)}finally{d(!1)}},onCancel:()=>h(!1),okText:`确认加入`,cancelText:`取消`,confirmLoading:u,width:420,children:[(0,$.jsxs)(`p`,{style:{marginBottom:0},children:[`您确定要加入团队 `,(0,$.jsxs)(`strong`,{style:{color:`#6366f1`},children:[`「`,c.teamName,`」`]}),` 吗?`]}),(0,$.jsx)(`p`,{style:{marginTop:8,color:`#64748b`,fontSize:13},children:`提交后需等待团队管理人审批,审批通过后将自动加入团队。`})]})]})};oD.default.locale(`zh-cn`);var loe=({children:e})=>{let{user:t,loading:n,checkAuth:r}=Y7();return(0,S.useEffect)(()=>{!localStorage.getItem(`auth_token`)&&!n&&!t&&(window.location.href=`/login`)},[t,n]),n?(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,alignItems:`center`,height:`100vh`},children:(0,$.jsx)(wK,{size:`large`})}):t?(0,$.jsx)($.Fragment,{children:e}):(window.location.href=`/login`,null)};(0,_.createRoot)(document.getElementById(`root`)).render((0,$.jsx)(()=>{let{checkAuth:e}=Y7();return(0,S.useEffect)(()=>{e()},[]),(0,$.jsx)(Nm,{locale:p2.default,theme:{token:{colorPrimary:`#6366f1`,borderRadius:8,fontFamily:`'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif`},components:{Button:{controlHeight:36,controlHeightLG:44},Card:{boxShadow:`0 1px 3px rgba(0,0,0,0.04)`},Table:{headerBg:`#fafbfc`}}},children:(0,$.jsx)(yx,{children:(0,$.jsx)(_n,{children:(0,$.jsxs)(Dt,{children:[(0,$.jsx)(Tt,{path:`/login`,element:(0,$.jsx)(Pie,{})}),(0,$.jsx)(Tt,{path:`/join-team`,element:(0,$.jsx)(coe,{})}),(0,$.jsxs)(Tt,{path:`/`,element:(0,$.jsx)(loe,{children:(0,$.jsx)(Mie,{})}),children:[(0,$.jsx)(Tt,{index:!0,element:(0,$.jsx)(Ct,{to:`/projects`,replace:!0})}),(0,$.jsx)(Tt,{path:`projects`,element:(0,$.jsx)(Iie,{})}),(0,$.jsx)(Tt,{path:`projects/:projectId/generate`,element:(0,$.jsx)(Rie,{})}),(0,$.jsx)(Tt,{path:`records`,element:(0,$.jsx)(s9,{})}),(0,$.jsx)(Tt,{path:`credits`,element:(0,$.jsx)(zie,{})}),(0,$.jsx)(Tt,{path:`credit-records`,element:(0,$.jsx)(l9,{})}),(0,$.jsx)(Tt,{path:`order-records`,element:(0,$.jsx)(l9,{})}),(0,$.jsx)(Tt,{path:`user-center`,element:(0,$.jsx)(l9,{})}),(0,$.jsx)(Tt,{path:`messages`,element:(0,$.jsx)(Hie,{})}),(0,$.jsx)(Tt,{path:`home`,element:(0,$.jsx)($ae,{})}),(0,$.jsx)(Tt,{path:`conversation`,element:(0,$.jsx)(iae,{})}),(0,$.jsx)(Tt,{path:`initial`,element:(0,$.jsx)(cae,{})}),(0,$.jsx)(Tt,{path:`initial/:creatID/initialinfo`,element:(0,$.jsx)(mae,{})}),(0,$.jsx)(Tt,{path:`removelens`,element:(0,$.jsx)(hae,{})}),(0,$.jsx)(Tt,{path:`removelens/:creatID/removeinfo`,element:(0,$.jsx)(Wae,{})}),(0,$.jsx)(Tt,{path:`removelens/:creatID/removefenbu`,element:(0,$.jsx)(Jae,{})}),(0,$.jsx)(Tt,{path:`generated`,element:(0,$.jsx)(bae,{})}),(0,$.jsx)(Tt,{path:`pretest`,element:(0,$.jsx)(Sae,{})}),(0,$.jsx)(Tt,{path:`authorization`,element:(0,$.jsx)(wae,{})}),(0,$.jsx)(Tt,{path:`authoriza-waiting`,element:(0,$.jsx)(noe,{})}),(0,$.jsx)(Tt,{path:`materials`,element:(0,$.jsx)(Mae,{})}),(0,$.jsx)(Tt,{path:`consume`,element:(0,$.jsx)(toe,{})}),(0,$.jsx)(Tt,{path:`popular`,element:(0,$.jsx)(roe,{})}),(0,$.jsx)(Tt,{path:`authacc`,element:(0,$.jsx)(Eae,{})}),(0,$.jsx)(Tt,{path:`creativeplaza`,element:(0,$.jsx)(ioe,{})}),(0,$.jsx)(Tt,{path:`team-management`,element:(0,$.jsx)(soe,{})})]}),(0,$.jsx)(Tt,{path:`*`,element:(0,$.jsx)(Ct,{to:`/projects`,replace:!0})})]})})})})},{})); \ No newline at end of file + `}),(0,$.jsx)(`div`,{style:{margin:`auto`,display:`flex`,flexDirection:`column`,width:y.length>0?`${y.length*80+Math.max(0,y.length-1)*1}px`:`100%`},children:(0,$.jsxs)(`div`,{style:{display:`flex`,height:86,borderRadius:12,background:`#fff`,gap:1,position:`relative`},children:[x&&y.length===0?(0,$.jsxs)(`div`,{style:{flex:`1 1 auto`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:[(0,$.jsx)(yK,{size:`small`}),(0,$.jsx)(Yae,{style:{marginLeft:8,color:`#64748b`},children:`正在抽取每秒帧...`})]}):y.length>0?y.map(e=>{let t=e.second>=_[0]&&e.second<_[1];return(0,$.jsxs)(`button`,{type:`button`,onClick:()=>I(e.second),title:`${e.second}s${e.fallback?`,实际取帧 ${e.captureSecond?.toFixed(1)}s`:``}`,style:{minWidth:80,flex:`0 0 80px`,height:86,borderTop:t?`5px solid #6366f1`:`none`,borderBottom:t?`5px solid #6366f1`:`none`,padding:0,background:`transparent`,overflow:`hidden`,cursor:A?`not-allowed`:`pointer`,position:`relative`},children:[e.status===`success`&&e.image?(0,$.jsx)(`img`,{src:e.image,alt:`${e.second}s`,style:{width:`100%`,height:`100%`,objectFit:`cover`,display:`block`}}):e.status===`loading`?(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(yK,{size:`small`})}):(0,$.jsxs)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,color:`#64748b`,fontSize:12,background:`#fff`},children:[(0,$.jsxs)(`span`,{children:[e.second,`s`]}),(0,$.jsx)(`span`,{style:{fontSize:11},children:`无有效帧`})]}),(0,$.jsxs)(`span`,{style:{position:`absolute`,left:0,bottom:3,color:`#ffffffff`,fontSize:16,textShadow:`0 1px 3px rgba(0,0,0,.7)`},children:[e.second,`s`]})]},e.second)}):(0,$.jsx)(`div`,{style:{flex:`1 1 auto`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#64748b`},children:`暂无帧预览,请确认视频是否加载完成`}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:-10,left:0,right:0,bottom:0},children:(0,$.jsx)(hV,{range:!0,min:0,max:O||a,step:1,value:_,onChange:P,onChangeComplete:F,tooltip:{formatter:e=>`${R9(Number(e||0))}s`},disabled:!O||A,styles:{track:{background:`#6969dd63`,height:86,borderRadius:12,margin:`0 `},rail:{height:86,borderRadius:12},handle:{width:20,height:86,marginTop:0,borderRadius:`50%`}}})})]})})]}),(0,$.jsxs)(`div`,{style:{marginTop:16,textAlign:`center`,color:`#64748b`,fontSize:14},children:[`已选取 `,k,`s`]}),E&&(0,$.jsx)(`div`,{style:{marginTop:12,padding:`10px 14px`,borderRadius:8,background:`rgba(239, 68, 68, 0.08)`,border:`1px solid rgba(239, 68, 68, 0.15)`,color:`#ef4444`,fontSize:13,textAlign:`center`},children:E})]})]})})},{TextArea:ioe}=fG,aoe=`http://ceshi.apiforeign.minzhong.cn`,U9=2,W9=15;function G9(e){return e?/^https?:\/\//i.test(e)?e:`${aoe}${e}`:``}function K9(){let{creatID:e}=$e(),t=Ye(),[n,r]=(0,S.useState)(!1),[i,a]=(0,S.useState)(!1),[o,s]=(0,S.useState)(null),[c,l]=(0,S.useState)(null),[u,d]=(0,S.useState)(null),[f,p]=(0,S.useState)(!1),m=(0,S.useRef)(null),[h,g]=(0,S.useState)(``),[_,v]=(0,S.useState)(``),[y,b]=(0,S.useState)(``),[x,C]=(0,S.useState)(null),[w,T]=(0,S.useState)([]),[E,D]=(0,S.useState)(!1),[O,k]=(0,S.useState)(!1),[A,j]=(0,S.useState)(!1),M=(0,S.useRef)(null),N=(0,S.useRef)(null),P=(0,S.useMemo)(()=>G9(x?.videoUrl),[x?.videoUrl]),F=(0,S.useMemo)(()=>w.length===0?`AI自动拆分`:w.some(e=>e.sourceMode===`ai_suggestion`)?`AI重拆`:`AI自动拆分`,[w]),I=(0,S.useCallback)(async()=>{if(e)try{C(await N7(e))}catch{Z.error(`获取任务详情失败`)}},[e]),L=(0,S.useCallback)(async()=>{if(e)try{let t=(await P7(e)).items||[];T(t),t.some(e=>e.moduleProjectCurrentStepCode!==`video_generate`&&e.moduleProjectStatus!==`completed`&&e.moduleProjectStatus!==`failed`)?M.current||=window.setInterval(async()=>{try{let t=(await P7(e)).items||[];T(e=>e.map(e=>{let n=t.find(t=>t.id===e.id);return n&&(e.moduleProjectCurrentStepCode!==`video_generate`||e.moduleProjectStatus!==`completed`&&e.moduleProjectStatus!==`failed`)?n:e})),t.every(e=>e.moduleProjectCurrentStepCode===`video_generate`||e.moduleProjectStatus===`completed`||e.moduleProjectStatus===`failed`)&&(M.current&&=(clearInterval(M.current),null))}catch{}},3e4):M.current&&=(clearInterval(M.current),null)}catch{Z.error(`获取拆镜列表失败`)}},[e]),R=(0,S.useCallback)(async()=>{await Promise.all([I(),L()])},[I,L]);(0,S.useEffect)(()=>(R(),()=>{M.current&&=(clearInterval(M.current),null),N.current&&=(clearInterval(N.current),null)}),[R]),(0,S.useEffect)(()=>{if(x)return x.analysisStatus===`processing`?N.current=window.setInterval(async()=>{try{C(await N7(e))}catch{}},3e3):N.current&&=(clearInterval(N.current),null),()=>{N.current&&=(clearInterval(N.current),null)}},[x?.analysisStatus,e]);let z=(e,t)=>{s(e),l(t),r(!0)},B=()=>{r(!1),s(null),g(``),l(``),v(``),b(``)},V=e=>{e.fileList.length===0&&b(``)},H=async e=>{try{b((await c7(e)).url),Z.success(`图片上传成功`)}catch{Z.error(`图片上传失败,请重试`)}return!1},U=async()=>{if(!o){Z.warning(`请先选择拆镜片段`);return}if(!y){Z.warning(`请上传产品图`);return}if(!h.trim()){Z.warning(`请输入产品名称`);return}if(!_.trim()){Z.warning(`请输入产品卖点`);return}let n={target_project_name:h.trim(),core_content_point:_.trim(),material_image_url:G9(y),idempotency_key:`replication_${Date.now()}`};D(!0);try{await $re(o,n),Z.success(`视频生成任务创建成功`),B(),P7(e).then(e=>{let n=e.items.find(e=>e.id===o);Z.loading(`创建中...`,3),setTimeout(()=>{t(`/removelens/${n.moduleProjectId}/removefenbu`)},3e3)})}catch(e){Z.error(e?.message||`创建失败,请重试`)}finally{D(!1)}},W=async()=>{if(e){j(!0);try{let t=w.some(e=>e.sourceMode===`ai_suggestion`);await Zre(e,{selected_indices:[],replace_existing:t}),Z.success(t?`AI 重拆任务已提交`:`AI 拆镜任务已提交`),await R()}catch(e){Z.error(e?.message||`拆镜失败`)}finally{j(!1)}}},ee=()=>{if(!P){Z.warning(`原视频地址不存在`);return}a(!0)},te=async t=>{if(e){if(t.durationSecondW9){Z.warning(`拆镜片段不能超过 ${W9} 秒`);return}k(!0);try{await Qre(e,{start_second:t.startSecond,end_second:t.endSecond}),Z.success(`手动拆镜任务已提交`),a(!1),await R()}catch(e){Z.error(e?.message||`手动拆镜失败`)}finally{k(!1)}}},ne=e=>e?.splitStatus===`completed`&&!!e?.segmentVideoUrl;return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{style:{margin:`-24px -32px -32px`,borderRadius:20,minHeight:`calc(100vh - 34px)`,display:`flex`,flexDirection:`column`,overflow:`hidden`,background:`linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f0f9ff 100%)`,position:`relative`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:-100,right:-100,width:300,height:300,background:`radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%)`,borderRadius:`50%`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,bottom:-100,left:-100,width:300,height:300,background:`radial-gradient(circle, rgba(167,139,250,0.08) 0%, transparent 70%)`,borderRadius:`50%`}}),(0,$.jsx)(`div`,{style:{padding:`16px 24px`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,borderRadius:16,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,border:`1px solid rgba(99, 102, 241, 0.08)`,position:`relative`,zIndex:10},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:16},children:[(0,$.jsx)(X,{icon:(0,$.jsx)(X2,{}),onClick:()=>t(-1),style:{borderRadius:10,fontSize:13,height:32,background:`rgba(99, 102, 241, 0.1)`,border:`1px solid rgba(99, 102, 241, 0.2)`,color:`#6366f1`},children:`返回`}),(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #6366f1, #8b5cf6, transparent)`,borderRadius:1}}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`h1`,{style:{fontSize:18,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,margin:0},children:`AI视频拆镜工作台`}),(0,$.jsx)(`p`,{style:{fontSize:13,color:`#64748b`,margin:`4px 0 0 0`},children:`一键拆解画面分镜,助力仿拍或创作`})]}),(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #8b5cf6, #6366f1, transparent)`,borderRadius:1}})]})}),x?(0,$.jsxs)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`,justifyContent:`space-between`,overflow:`hidden`,padding:`0 32px 32px`},children:[(0,$.jsxs)(`div`,{style:{flex:1,background:`linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.6) 100%)`,backdropFilter:`blur(20px)`,borderRadius:20,display:`flex`,alignItems:`center`,gap:30,padding:24,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8)`,position:`relative`,overflow:`hidden`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:-50,right:-50,width:200,height:200,background:`radial-gradient(circle, rgba(99,102,241,0.05) 0%, transparent 70%)`,borderRadius:`50%`}}),(0,$.jsx)(`div`,{style:{position:`relative`,width:280,height:160,borderRadius:12,overflow:`hidden`,flexShrink:0,boxShadow:`0 4px 16px rgba(0,0,0,0.1)`},children:(0,$.jsx)(`video`,{controls:!0,src:P,style:{width:`100%`,height:`100%`,objectFit:`cover`}})}),(0,$.jsx)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`,justifyContent:`space-between`,position:`relative`,zIndex:1},children:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`},children:[(0,$.jsx)(`h2`,{style:{fontSize:20,fontWeight:600,marginBottom:16,background:`linear-gradient(135deg, #1e293b 0%, #334155 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`},children:`视频总结`}),(0,$.jsx)(`div`,{style:{textAlign:`right`},children:(0,$.jsxs)(`span`,{style:{color:`#94a3b8`,fontSize:12},children:[`上传时间: `,x.createdAt?new Date(x.createdAt).toLocaleString(`zh-CN`,{year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`}):`-`]})})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,marginBottom:12},children:[(0,$.jsx)(`span`,{style:{color:`#64748b`,fontSize:14,marginRight:12,width:80,flexShrink:0},children:`产品名称:`}),(0,$.jsx)(`span`,{style:{color:`#1e293b`,fontWeight:500},children:x.title})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,marginBottom:12},children:[(0,$.jsx)(`span`,{style:{color:`#64748b`,fontSize:14,marginRight:12,width:80,flexShrink:0},children:`受众群体:`}),x.analysisStatus===`processing`?(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(yK,{size:`small`,style:{color:`#f59e0b`}}),(0,$.jsx)(`span`,{style:{fontSize:14,color:`#f59e0b`},children:`分析中`})]}):x.analysisStatus===`completed`?(0,$.jsx)(`div`,{style:{display:`flex`,gap:8,flexWrap:`wrap`},children:(x.originalVideoAudience?.split(`、`)||[]).map((e,t)=>(0,$.jsx)(E$,{style:{fontSize:12,background:`rgba(99, 102, 241, 0.1)`,color:`#6366f1`,border:`none`,borderRadius:20},children:e},t))}):null]}),(0,$.jsxs)(`div`,{style:{display:`flex`},children:[(0,$.jsx)(`span`,{style:{color:`#64748b`,fontSize:14,marginRight:12,width:80,flexShrink:0},children:`视频内容:`}),x.analysisStatus===`processing`?(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(yK,{size:`small`,style:{color:`#f59e0b`}}),(0,$.jsx)(`span`,{style:{fontSize:14,color:`#f59e0b`},children:`分析中`})]}):x.analysisStatus===`completed`?(0,$.jsx)(`span`,{style:{color:`#475569`,lineHeight:1.6,height:100,overflowY:`auto`},children:x.originalVideoContent}):null]})]})})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:16,marginBottom:20,marginTop:20},children:[(0,$.jsx)(X,{type:`default`,onClick:ee,disabled:!P||O,style:{flex:1,height:52,borderRadius:12,border:`2px solid rgba(99, 102, 241, 0.3)`,color:`#6366f1`,fontWeight:600,fontSize:15,background:`rgba(255, 255, 255, 0.9)`,backdropFilter:`blur(10px)`,transition:`all 0.3s cubic-bezier(0.4, 0, 0.2, 1)`},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#6366f1`,e.currentTarget.style.boxShadow=`0 4px 20px rgba(99, 102, 241, 0.2)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(99, 102, 241, 0.3)`,e.currentTarget.style.boxShadow=`none`},children:`手动`}),(0,$.jsx)(JK,{title:F===`AI重拆`?`确定要AI重拆吗?`:`确定要AI拆分吗?`,okText:`确定`,cancelText:`取消`,onConfirm:W,children:(0,$.jsxs)(X,{type:`primary`,loading:A,disabled:A,style:{flex:1,height:52,borderRadius:12,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%)`,fontWeight:600,fontSize:15,border:`none`,boxShadow:`0 4px 20px rgba(99, 102, 241, 0.3)`,transition:`all 0.3s cubic-bezier(0.4, 0, 0.2, 1)`,position:`relative`,overflow:`hidden`},onMouseEnter:e=>{e.currentTarget.style.transform=`translateY(-2px)`,e.currentTarget.style.boxShadow=`0 6px 25px rgba(99, 102, 241, 0.4)`},onMouseLeave:e=>{e.currentTarget.style.transform=`translateY(0)`,e.currentTarget.style.boxShadow=`0 4px 20px rgba(99, 102, 241, 0.3)`},children:[(0,$.jsx)(`span`,{style:{position:`relative`,zIndex:1},children:F}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:0,left:`-100%`,width:`100%`,height:`100%`,background:`linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent)`,transition:`left 0.5s ease`},onMouseEnter:e=>{e.currentTarget.style.left=`100%`}}),x?.aiSuggestions&&x.aiSuggestions.length>0&&(0,$.jsx)(Iw,{title:(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{fontWeight:600,marginBottom:8,color:`#6366f1`},children:`AI拆分方案`}),(x?.ai_suggestions||x?.aiSuggestions||[]).map(e=>(0,$.jsxs)(`div`,{style:{marginBottom:8,fontSize:13,lineHeight:1.5},children:[(0,$.jsxs)(`span`,{style:{fontWeight:500,color:`#6366f1`},children:[e.index,`.`]}),(0,$.jsx)(`span`,{style:{marginLeft:4,color:`#000000ff`},children:e.timeNode}),(0,$.jsx)(`br`,{}),(0,$.jsx)(`span`,{style:{color:`#666`},children:e.content})]},e.index))]}),placement:`top`,trigger:`hover`,overlayInnerStyle:{backgroundColor:`#fff`,height:300,overflowY:`auto`,border:`1px solid rgba(99, 102, 241, 0.1)`,borderRadius:12,boxShadow:`0 8px 24px rgba(99, 102, 241, 0.12)`},children:(0,$.jsx)(`span`,{style:{marginLeft:8,fontSize:13,opacity:.9},children:`(AI 镜头拆分方案)`})})]})})]}),(0,$.jsxs)(`div`,{style:{flex:2,background:`linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%)`,backdropFilter:`blur(20px)`,borderRadius:20,overflow:`hidden`,display:`flex`,flexDirection:`column`,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`},children:[(0,$.jsxs)(`div`,{style:{padding:`16px 24px`,borderBottom:`1px solid rgba(99, 102, 241, 0.1)`,background:`linear-gradient(135deg, rgba(99,102,241,0.02) 0%, transparent 100%)`},children:[(0,$.jsx)(`h3`,{style:{fontSize:16,fontWeight:600,color:`#1e293b`,margin:0},children:`拆镜片段列表`}),(0,$.jsxs)(`span`,{style:{fontSize:12,color:`#64748b`,marginLeft:12},children:[`共 `,w.length,` 个片段`]})]}),(0,$.jsx)(p$,{columns:[{title:`片段`,width:100,fixed:`left`,align:`center`,render:(e,t)=>(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{fontSize:16,fontWeight:600,color:`#333`},children:t.segmentName||`片段${t.segmentIndex||``}`}),(0,$.jsx)(`div`,{style:{fontSize:12,color:`#999`},children:t.timeNode}),t.sourceMode===`custom`&&(0,$.jsx)(E$,{color:`blue`,style:{marginTop:6},children:`手动`}),t.sourceMode===`ai_suggestion`&&(0,$.jsx)(E$,{color:`orange`,style:{marginTop:6},children:`自动`})]})},{title:`片段视频`,width:150,align:`center`,render:(e,t)=>(0,$.jsx)(`div`,{style:{position:`relative`,width:120,height:80,borderRadius:6,overflow:`hidden`,background:`#f1f5f9`,cursor:`pointer`},onClick:()=>{t.segmentVideoUrl&&(d(G9(t.segmentVideoUrl)),p(!0))},children:t.segmentVideoUrl?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`video`,{src:G9(t.segmentVideoUrl),style:{width:`100%`,height:`100%`,objectFit:`cover`,pointerEvents:`none`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:0,left:0,right:0,bottom:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`rgba(0,0,0,0.3)`},children:(0,$.jsx)(`div`,{style:{width:32,height:32,borderRadius:`50%`,background:`rgba(255,255,255,0.9)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`div`,{style:{width:0,height:0,borderTop:`8px solid transparent`,borderBottom:`8px solid transparent`,borderLeft:`14px solid #6366f1`,marginLeft:2}})})})]}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:12},children:t.splitStatus===`failed`?`切割失败`:`切割中`})})},{title:`视频内容`,width:500,align:`left`,render:(e,t)=>{if(t.source_mode===`ai_suggestion`||t.sourceMode===`ai_suggestion`)return(0,$.jsx)(`div`,{style:{fontSize:14,color:`#333`,lineHeight:1.6},children:t.segmentContent||t.lastError||`-`});let n=t.analysis_status||t.analysisStatus,r={not_required:`无需单独分析`,pending:`等待分析`,processing:`分析中`,failed:`分析失败`};return n===`processing`?(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(yK,{size:`small`}),(0,$.jsx)(`span`,{style:{fontSize:14,color:`#f59e0b`},children:`分析中`})]}):n===`failed`?(0,$.jsx)(`div`,{style:{fontSize:14,color:`#ef4444`,lineHeight:1.6},children:`分析失败`}):(0,$.jsx)(`div`,{style:{fontSize:14,color:`#333`,lineHeight:1.6},children:n&&r[n]?r[n]:t.segmentContent||t.lastError||`-`})}},{title:`视频类型`,width:120,align:`center`,render:(e,t)=>(0,$.jsx)(`div`,{style:{fontSize:14,color:`#333`,fontWeight:500},children:t.segmentCategory||`-`})},{title:`状态`,width:120,align:`center`,dataIndex:`moduleProjectStatus`,render:(e,t)=>{let n=e,r=t.moduleProjectCurrentStepCode||t.currentStepCode,i=(()=>{if(r===`image_prompt_optimize`)switch(n){case`waiting_user`:return{text:`等待融合图生成`,color:`#f59e0b`};case`processing`:return{text:`图片提示词生成中`,color:`#f59e0b`};case`completed`:return{text:`图片提示词生成成功`,color:`#10b981`};case`failed`:return{text:`图片提示词生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else if(r===`image_generate`)switch(n){case`waiting_user`:return{text:`等待生成视频提示词`,color:`#f59e0b`};case`processing`:return{text:`融合图生成中`,color:`#f59e0b`};case`completed`:return{text:`融合图生成成功`,color:`#10b981`};case`failed`:return{text:`融合图生成失败`,color:`#ef4444`};default:return n||`-`}else if(r===`video_prompt_optimize`)switch(n){case`waiting_user`:return{text:`等待最终视频生成`,color:`#f59e0b`};case`processing`:return{text:`视频提示词生成中`,color:`#f59e0b`};case`completed`:return{text:`视频提示词生成成功`,color:`#10b981`};case`failed`:return{text:`视频提示词生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else if(r===`video_generate`)switch(n){case`waiting_user`:return{text:``,color:`#666`};case`processing`:return{text:`最终视频生成中`,color:`#f59e0b`};case`completed`:return{text:`任务完成`,color:`#10b981`};case`failed`:return{text:`最终视频生成失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else if(r===`material_input`)switch(n){case`waiting_user`:return{text:`等待生成图片提示词`,color:`#f59e0b`};case`processing`:return{text:`素材处理中`,color:`#f59e0b`};case`completed`:return{text:`素材上传成功`,color:`#10b981`};case`failed`:return{text:`素材上传失败`,color:`#ef4444`};default:return{text:n||`-`,color:`#666`}}else return t.moduleProjectId?{pending:{text:`子任务待处理`,color:`#f59e0b`},waiting_user:{text:`等待用户确认或触发`,color:`#f59e0b`},processing:{text:`子任务处理中`,color:`#f59e0b`},completed:{text:`子任务完成`,color:`#10b981`},failed:{text:`子任务失败`,color:`#ef4444`},cancelled:{text:`子任务取消`,color:`#94a3b8`}}[n]||{text:n||`-`,color:`#666`}:{text:`待生成任务`,color:`#94a3b8`}})();return typeof i==`string`?(0,$.jsx)(`span`,{style:{fontSize:12,color:`#666`,fontWeight:500},children:i}):(0,$.jsx)(`span`,{style:{fontSize:12,color:i.color,fontWeight:500},children:i.text})}},{title:`操作`,width:140,fixed:`right`,align:`center`,render:(e,n)=>(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,gap:8},children:n.moduleProjectId?(0,$.jsx)(X,{type:`text`,onClick:()=>t(`/removelens/${n.moduleProjectId}/removefenbu`),style:{color:`#10b981`,fontSize:12,padding:0,display:`flex`,alignItems:`center`,gap:4},children:`详情任务`}):(0,$.jsx)(X,{type:`text`,onClick:()=>z(String(n.id),n.segmentName),disabled:!ne(n),style:{color:ne(n)?`#f59e0b`:`#94a3b8`,fontSize:12,padding:0,display:`flex`,alignItems:`center`,gap:4},children:ne(n)?`视频生成`:`待切割完成`})})}],dataSource:w,pagination:!1,bordered:!1,rowKey:`id`,scroll:{y:300},style:{flex:1},components:{body:{row:({className:e,style:t,...n})=>(0,$.jsx)(`tr`,{...n,className:e,style:{...t,transition:`all 0.2s ease`,borderBottom:`1px solid rgba(99, 102, 241, 0.05)`,height:80,overflow:`auto`}}),cell:({className:e,style:t,...n})=>(0,$.jsx)(`td`,{...n,className:e,style:{...t,padding:`16px 24px`}})},header:{cell:({className:e,style:t,...n})=>(0,$.jsx)(`th`,{...n,className:e,style:{...t,background:`rgba(255, 255, 255, 1)`,color:`#64748b`,fontWeight:500,fontSize:13,padding:`16px 24px`,borderBottom:`none`}})}}})]})]}):(0,$.jsx)(`div`,{style:{flex:1,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`span`,{style:{fontSize:16,color:`#999`},children:`加载中...`})})]}),(0,$.jsx)(roe,{open:i,videoUrl:P,title:`手动视频切片`,loading:O,minDuration:U9,maxDuration:W9,onCancel:()=>a(!1),onConfirm:te}),(0,$.jsx)(OH,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,width:`100%`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:18,fontWeight:600,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`},children:`智能视频复刻`}),c&&(0,$.jsxs)(`span`,{style:{fontSize:14,color:`#64748b`},children:[`- `,c]})]}),(0,$.jsx)(X,{type:`text`,icon:(0,$.jsx)(G5,{}),onClick:B,style:{padding:0,color:`#64748b`,fontSize:14}})]}),placement:`right`,closable:!1,onClose:B,open:n,size:480,styles:{body:{padding:`24px`,background:`linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%)`},header:{background:`#fff`,borderBottom:`1px solid rgba(99, 102, 241, 0.1)`,padding:`20px 24px`},section:{borderRadius:`20px 0 0 20px`,overflow:`hidden`}},children:(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:20},children:[(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:12,padding:16,border:`1px solid rgba(99, 102, 241, 0.1)`},children:[(0,$.jsxs)(`label`,{style:{fontWeight:500,color:`#334155`,marginBottom:8,display:`block`,fontSize:14},children:[`产品白底图 `,(0,$.jsx)(`span`,{style:{color:`#ef4444`},children:`*`})]}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:12},children:(0,$.jsx)(Y0,{listType:`picture-card`,onChange:V,beforeUpload:H,maxCount:1,accept:`image/*`,style:{width:120,height:120,borderRadius:8,border:`2px dashed rgba(99, 102, 241, 0.3)`,background:`rgba(99, 102, 241, 0.02)`},children:!y&&(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,gap:6},children:[(0,$.jsx)(NL,{style:{fontSize:20,color:`#6366f1`}}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#64748b`},children:`上传产品图`})]})})})]}),(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:12,padding:16,border:`1px solid rgba(99, 102, 241, 0.1)`},children:[(0,$.jsxs)(`label`,{style:{fontWeight:500,color:`#334155`,marginBottom:8,display:`block`,fontSize:14},children:[`产品名称 `,(0,$.jsx)(`span`,{style:{color:`#ef4444`},children:`*`})]}),(0,$.jsx)(fG,{value:h,onChange:e=>g(e.target.value),placeholder:`请输入产品名称`,style:{height:44,borderRadius:8,border:`1px solid rgba(99, 102, 241, 0.2)`},maxLength:10,showCount:!0})]}),(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:12,padding:16,border:`1px solid rgba(99, 102, 241, 0.1)`},children:[(0,$.jsxs)(`label`,{style:{fontWeight:500,color:`#334155`,marginBottom:8,display:`block`,fontSize:14},children:[`产品卖点 `,(0,$.jsx)(`span`,{style:{color:`#ef4444`},children:`*`})]}),(0,$.jsx)(ioe,{value:_,onChange:e=>v(e.target.value),placeholder:`请输入产品卖点`,style:{borderRadius:8,border:`1px solid rgba(99, 102, 241, 0.2)`},maxLength:100,showCount:!0,rows:3})]}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:12,marginTop:8},children:(0,$.jsx)(X,{type:`primary`,onClick:U,loading:E,disabled:E,style:{flex:1,height:48,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,fontWeight:600,fontSize:15,border:`none`,boxShadow:`0 4px 15px rgba(99, 102, 241, 0.3)`,transition:`all 0.2s ease`},onMouseEnter:e=>{e.currentTarget.style.boxShadow=`0 6px 20px rgba(99, 102, 241, 0.4)`,e.currentTarget.style.transform=`translateY(-1px)`},onMouseLeave:e=>{e.currentTarget.style.boxShadow=`0 4px 15px rgba(99, 102, 241, 0.3)`,e.currentTarget.style.transform=`translateY(0)`},children:E?`生成中...`:`手动生成`})})]})}),(0,$.jsx)(WK,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:600,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`},children:`视频预览`})]}),open:f,onCancel:()=>p(!1),afterClose:()=>{m.current&&(m.current.pause(),m.current.currentTime=0)},footer:null,width:640,centered:!0,styles:{body:{padding:24},header:{borderBottom:`1px solid #e0e0e0`,padding:`20px 24px`}},children:(0,$.jsx)(`div`,{style:{borderRadius:12,overflow:`hidden`},children:(0,$.jsx)(`video`,{ref:m,controls:!0,src:u||``,style:{width:`100%`,maxHeight:420,objectFit:`contain`,backgroundColor:`#000`},playsInline:!0,"webkit-playsinline":!0,autoPlay:!0})})})]})}var{Title:ooe,Text:q9}=Q,{TextArea:soe}=fG;function coe(e){return e===void 0?e:JSON.parse(JSON.stringify(e))}function loe(){let e=Ye(),{creatID:t}=$e(),[n,r]=(0,S.useState)(!1),[i,a]=(0,S.useState)(``),[o,s]=(0,S.useState)(!1),[c,l]=(0,S.useState)(`image`),[u,d]=(0,S.useState)({}),[f,p]=(0,S.useState)(null),[m,h]=(0,S.useState)(null),[g,_]=(0,S.useState)(``),[v,y]=(0,S.useState)(!1),[b,x]=(0,S.useState)({}),[C,w]=(0,S.useState)(``),[T,E]=(0,S.useState)(``),[D,O]=(0,S.useState)(!1),[k,A]=(0,S.useState)(!1),[j,M]=(0,S.useState)(5),[N,P]=(0,S.useState)(`16:9`),[F,I]=(0,S.useState)(`480p`),[L,R]=(0,S.useState)({ratios:[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:[`480p`,`720p`,`1080p`],durations:[5,8,10,12,15]}),[z,B]=(0,S.useState)([]),[V,H]=(0,S.useState)(1),[U,W]=(0,S.useState)(20),[ee,te]=(0,S.useState)(0),[ne,re]=(0,S.useState)(``),[G,ie]=(0,S.useState)({}),[K,ae]=(0,S.useState)([]),[q,oe]=(0,S.useState)([]),[se,ce]=(0,S.useState)(!1),[le,ue]=(0,S.useState)(``),[de,fe]=(0,S.useState)(`image`),pe=S.useRef(null);(0,S.useEffect)(()=>{if(se&&de===`video`){let e=()=>{pe.current&&pe.current.play().catch(()=>{})};pe.current&&(pe.current.readyState>=2?e():pe.current.addEventListener(`loadedmetadata`,e));let t=setTimeout(e,300);return()=>{clearTimeout(t),pe.current&&(pe.current.removeEventListener(`loadedmetadata`,e),pe.current.pause())}}else pe.current&&pe.current.pause()},[se,de]);let me=[{id:1,title:`原始素材`,description:`上传原始视频素材`,childId:1},{id:2,title:`生成提示词`,description:`根据素材生成描述词`,childId:2},{id:3,title:`生成产品融合图`,description:`生成产品与场景融合图`,childId:3},{id:4,title:`生成视频提示词`,description:`生成视频生成提示词`,childId:4},{id:5,title:`生成最终视频`,description:`合成最终视频`,childId:5}].map((e,t)=>({...e,status:K[t]?.status||``,id:K[t]?.id||t,output:K[t]?.output||``,engineId:K[t]?.input?.payload?.videoConfig?.engineId||``}));(0,S.useEffect)(()=>{let e=new Set;q.forEach(t=>{let n=me.find(e=>String(e.childId)===t);n&&(n.status===`completed`||n.status===`failed`)&&e.add(t)});for(let t=me.length-1;t>=0;t--)if(me[t].status===`completed`||me[t].status===`failed`){e.add(String(me[t].childId));break}e.size>0?oe(Array.from(e)):oe([])},[K]);let he=(e,t,n)=>{M7(e,t,n).then(e=>{e.items&&B(e.items),e.total!==void 0&&te(e.total)}).catch(e=>{})},ge=(e,t)=>{H(e),W(t),he(e,t,ne)},_e=()=>{he(1,20,ne)};(0,S.useEffect)(()=>{he(V,U,ne)},[]),(0,S.useEffect)(()=>{b7().then(e=>{if(x(e.engine||{}),e.engine?.video&&e.engine.video.length>0){w(e.engine.video[0].id);let t=e.engine.video[0];R({ratios:t.supportedRatios||[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:t.supportedResolutions||[`480p`,`720p`,`1080p`],durations:t.supportedDurations||[5,8,10,12,15]})}e.engine?.image&&e.engine.image.length>0&&E(e.engine.image[0].id)}).catch(e=>{})},[]),(0,S.useEffect)(()=>()=>{m&&(clearInterval(m),h(null))},[m]),(0,S.useEffect)(()=>{let e=e=>{let t=e.target;!t.closest(`.image-settings-trigger`)&&!t.closest(`.image-settings-popover`)&&(O(!1),A(!1))};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]),(0,S.useEffect)(()=>{t&&F7(t).then(e=>{ie(e),e.steps&&ae(e.steps)}).catch(e=>{})},[t]),(0,S.useEffect)(()=>{let e=me[4];e&&e.status!==`completed`&&e.status!==`failed`?m||h(setInterval(be,3e4)):e&&m&&(clearInterval(m),h(null))},[me]);let ve=(e,t,n,i)=>{l(t||`image`),_(n?String(n):``),t===`video`?(p(i||null),d(e&&typeof e==`object`?coe(e):{}),a(``)):(p(null),a(e||``),d({})),r(!0)},ye=async()=>{if(c===`image`){if(!G?.id||!g){Z.warning(`缺少任务或步骤 ID,无法保存图片提示词`);return}if(!i||!i.trim()){Z.warning(`图片提示词不能为空`);return}y(!0);try{await tie(G.id,g,{prompt:i.trim()}),Z.success(`图片提示词已保存`),xe(),r(!1),_(``)}catch(e){Z.error(e?.message||`保存图片提示词失败`)}finally{y(!1)}return}if(!G?.id||!g){Z.warning(`缺少任务或步骤 ID,无法保存视频提示词`);return}if(!u||typeof u!=`object`||Object.keys(u).length===0){Z.warning(`视频提示词不能为空`);return}if(!f){Z.warning(`视频提词配置缺失,暂不能保存`);return}let e=b9(u,f);if(e){Z.warning(e);return}y(!0);try{await nie(G.id,g,{prompt_schema:u}),Z.success(`视频提示词已保存`),xe(),r(!1),_(``)}catch(e){Z.error(e?.message||`保存视频提示词失败`)}finally{y(!1)}},be=()=>{t&&F7(t).then(e=>{ie(e),e.steps&&ae(e.steps)}).catch(e=>{})},xe=()=>{t&&F7(t).then(e=>{ie(e),e.steps&&ae(e.steps)}).catch(e=>{})},Se=(e,t)=>{ue(e),fe(t),ce(!0)},Ce=()=>{ce(!1),ue(``),pe.current&&pe.current.pause()},we=e=>{if(e.preventDefault(),e.stopPropagation(),!le)return;let t=document.createElement(`a`);t.href=`http://ceshi.apiforeign.minzhong.cn${le}&download=1`,t.download=de===`image`?`image.png`:`video.mp4`,document.body.appendChild(t),t.click(),document.body.removeChild(t)},Te=e=>{eie(G.id,e.toString()).then(e=>{Z.info(`正在生成图片提示词,请稍候...`),xe()}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},Ee=e=>{let t={engine_id:T,image_proportion:`1:1`,image_px:`2048x2048`,image_size:`2K`};I7(G.id,e.toString(),t).then(e=>{Z.info(`正在生成图片,请稍候...`),xe()}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},De=()=>{let e={engine_id:T,image_proportion:`1:1`,image_px:`2048x2048`,image_size:`2K`};I7(G.id,me[1].id.toString(),e).then(e=>{Z.info(`正在生成图片,请稍候...`),xe()}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},Oe=e=>{let t={engine_id:C,duration:j,aspect_ratio:N,resolution:F,target_platform:`抖音`};rie(G.id,e.toString(),t).then(e=>{Z.info(`正在生成视频提示词,请稍候...`),xe()}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},ke=(e,t)=>{L7(G.id,e.toString(),{engine_id:``}).then(e=>{Z.info(`正在生成视频,请稍候...`),xe()}).catch(e=>{let t=e?.message?.split(`: `)?.[1]||e?.message||`生成失败`;Z.error(t)})},Ae=()=>{L7(G.id,me[3].id.toString(),{engine_id:``}).then(e=>{xe()}).catch(e=>{})};return(0,$.jsxs)(S.Fragment,{children:[(0,$.jsxs)(`div`,{className:`initialinfo-container`,style:{margin:`-24px -32px -32px`,height:`calc(100vh - 34px)`,position:`relative`,boxSizing:`border-box`,overflow:`hidden`,display:`flex`,flexDirection:`column`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:-100,right:-100,width:300,height:300,background:`radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%)`,borderRadius:`50%`,pointerEvents:`none`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,bottom:-100,left:-100,width:300,height:300,background:`radial-gradient(circle, rgba(167,139,250,0.08) 0%, transparent 70%)`,borderRadius:`50%`,pointerEvents:`none`}}),(0,$.jsxs)(`div`,{style:{flex:1,display:`flex`,justifyContent:`space-between`,alignItems:`stretch`,gap:`2%`,position:`relative`,zIndex:1,minHeight:0},children:[(0,$.jsxs)(`div`,{className:`replication-preview`,style:{flex:4,background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(20px)`,borderRadius:20,overflow:`hidden`,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`,display:`flex`,flexDirection:`column`,minHeight:0},children:[(0,$.jsxs)(`div`,{style:{borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,width:`100%`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:`16px 24px`,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,boxSizing:`border-box`},children:[(0,$.jsx)(X,{icon:(0,$.jsx)(X2,{}),onClick:()=>window.history.back(),style:{borderRadius:10,fontSize:13,height:32,background:`rgba(99, 102, 241, 0.1)`,border:`1px solid rgba(99, 102, 241, 0.2)`,color:`#6366f1`},children:`返回`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:[(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #6366f1, #8b5cf6, transparent)`,borderRadius:1}}),(0,$.jsx)(`h3`,{style:{margin:0,fontSize:16,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`拆镜复刻 - 任务详情`}),(0,$.jsx)(`div`,{style:{width:32,height:2,background:`linear-gradient(90deg, transparent, #8b5cf6, #6366f1, transparent)`,borderRadius:1}})]}),(0,$.jsx)(X,{type:`primary`,ghost:!0,style:{borderRadius:10,padding:`4px 16px`,fontSize:13,background:`rgba(99, 102, 241, 0.1)`,borderColor:`rgba(99, 102, 241, 0.2)`,color:`#6366f1`},onClick:()=>s(!0),children:`创作记录`})]}),(0,$.jsx)(`div`,{style:{flex:1,overflowY:`auto`},children:(0,$.jsxs)(`div`,{className:`material_box`,children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:24,flexWrap:`wrap`,alignItems:`flex-start`},children:[(0,$.jsxs)(`div`,{style:{flex:1,minWidth:250},children:[(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10,display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{width:3,height:14,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,display:`inline-block`}}),`视频`]}),(0,$.jsx)(`div`,{className:`medio_box`,style:{aspectRatio:`16/9`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,borderRadius:14,overflow:`hidden`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.06)`,border:`1px solid rgba(99, 102, 241, 0.08)`,cursor:G?.material?.materialVideoUrl?`pointer`:`default`},onClick:()=>G?.material?.materialVideoUrl&&Se(G.material.materialVideoUrl,`video`),children:G?.material?.materialVideoUrl?(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${G.material.materialVideoUrl}`,style:{width:`100%`,height:`100%`,objectFit:`contain`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:13},children:`暂无视频`})})]}),(0,$.jsxs)(`div`,{className:`product_img`,style:{flex:1,minWidth:250},children:[(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10,display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{width:3,height:14,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,display:`inline-block`}}),`产品图片`]}),(0,$.jsx)(`div`,{className:`medio_box`,style:{aspectRatio:`1/1`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,borderRadius:14,overflow:`hidden`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.06)`,border:`1px solid rgba(99, 102, 241, 0.08)`,cursor:G?.material?.materialImageUrl?`pointer`:`default`},onClick:()=>G?.material?.materialImageUrl&&Se(G.material.materialImageUrl,`image`),children:G?.material?.materialImageUrl?(0,$.jsx)(`img`,{src:G.material.materialImageUrl,alt:``,style:{width:`100%`,height:`100%`,objectFit:`contain`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:13},children:`暂无图片`})})]})]}),G?.finalImageUrl&&(0,$.jsx)(`div`,{style:{marginTop:24},children:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10,display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{width:3,height:14,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,display:`inline-block`}}),`生成图片`]}),(0,$.jsx)(`div`,{className:`medio_box`,style:{aspectRatio:`1/1`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,borderRadius:14,overflow:`hidden`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.06)`,border:`1px solid rgba(99, 102, 241, 0.08)`,cursor:`pointer`},onClick:()=>Se(G.finalImageUrl,`image`),children:(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${G.finalImageUrl}`,alt:``,style:{width:`100%`,height:`100%`,objectFit:`contain`}})})]})}),G?.finalVideoUrl&&(0,$.jsx)(`div`,{style:{marginTop:24},children:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`span`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:10,display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`span`,{style:{width:3,height:14,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,display:`inline-block`}}),`生成视频`]}),(0,$.jsx)(`div`,{className:`medio_box`,style:{aspectRatio:`16/9`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,borderRadius:14,overflow:`hidden`,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.06)`,border:`1px solid rgba(99, 102, 241, 0.08)`,cursor:`pointer`},onClick:()=>Se(G.finalVideoUrl,`video`),children:(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${G.finalVideoUrl}`,style:{width:`100%`,height:`100%`,objectFit:`contain`}})})]})})]})})]}),(0,$.jsxs)(`div`,{className:`replication-form`,style:{flex:1,minWidth:`450px`,background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(20px)`,borderRadius:20,overflow:`hidden`,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`,display:`flex`,flexDirection:`column`,minHeight:0},children:[(0,$.jsxs)(`div`,{style:{padding:`16px 24px`,borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,display:`flex`,alignItems:`center`,gap:10,background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:15,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`生成步骤`})]}),(0,$.jsx)(`div`,{style:{flex:1,overflowY:`auto`,padding:`8px 16px 16px`},children:(0,$.jsx)(t_,{activeKey:q,onChange:oe,ghost:!0,bordered:!1,style:{background:`transparent`},expandIconPlacement:`end`,items:me.map(e=>({key:String(e.childId),label:(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,width:`100%`,justifyContent:`space-between`},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,width:16,height:16},children:e.status===`completed`?(0,$.jsx)(V4,{style:{fontSize:16,color:`#22c55e`}}):e.status===`processing`?(0,$.jsx)(`div`,{style:{width:16,height:16,borderRadius:`50%`,border:`2px solid #e2e8f0`,borderTopColor:`#6366f1`,animation:`spinSlow 1s linear infinite`}}):e.status===`failed`?(0,$.jsx)(`div`,{style:{width:16,height:16,borderRadius:`50%`,background:`#ef4444`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`span`,{style:{color:`#fff`,fontSize:10},children:`×`})}):(0,$.jsx)(`div`,{style:{width:8,height:8,borderRadius:`50%`,background:`#cbd5e1`}})}),(0,$.jsx)(`span`,{style:{fontSize:14,color:e.status===`processing`||e.status===`waiting_user`?`#6366f1`:`#1e293b`,fontWeight:500},children:e.title}),(e.status===`processing`||e.status===`waiting_user`)&&(0,$.jsx)(`span`,{style:{fontSize:12,color:`#6366f1`,marginLeft:8},children:`生成中`}),e.status===`failed`&&(0,$.jsx)(`span`,{style:{fontSize:12,color:`#ef4444`,marginLeft:8},children:`失败`}),e.status===``&&(0,$.jsx)(`span`,{style:{fontSize:12,color:`#717d8b`,marginLeft:8},children:`待生成`})]})}),children:(0,$.jsxs)(`div`,{style:{padding:`16px`,background:`linear-gradient(135deg, rgba(248,250,252,0.6) 0%, rgba(238,242,255,0.4) 100%)`,borderRadius:12,marginTop:8,border:`1px solid rgba(99, 102, 241, 0.06)`},children:[e.childId===1&&(0,$.jsx)($.Fragment,{children:(0,$.jsxs)(`div`,{style:{display:`flex`,gap:20,marginBottom:20,alignItems:`flex-start`,flexWrap:`wrap`},children:[(0,$.jsxs)(`div`,{style:{flex:1,minWidth:200},children:[(0,$.jsx)(q9,{style:{color:`#64748b`,fontSize:13,marginBottom:10,display:`block`,fontWeight:500},children:`原视频`}),(0,$.jsx)(`div`,{style:{height:180,borderRadius:12,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,border:`1px solid rgba(99, 102, 241, 0.06)`},children:G?.material?.materialVideoUrl?(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${G.material.materialVideoUrl}`,style:{maxWidth:`100%`,maxHeight:`100%`,objectFit:`contain`,borderRadius:10},controls:!0}):(0,$.jsxs)(`div`,{style:{textAlign:`center`,color:`#94a3b8`},children:[(0,$.jsxs)(`svg`,{width:`32`,height:`32`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,style:{marginBottom:8},children:[(0,$.jsx)(`rect`,{x:`2`,y:`2`,width:`20`,height:`16`,rx:`2`,ry:`2`}),(0,$.jsx)(`path`,{d:`M8 12l4 2 4-2`})]}),(0,$.jsx)(`div`,{style:{fontSize:13},children:`暂无视频`})]})})]}),(0,$.jsxs)(`div`,{style:{flex:1,minWidth:200},children:[(0,$.jsx)(q9,{style:{color:`#64748b`,fontSize:13,marginBottom:10,display:`block`,fontWeight:500},children:`产品图片`}),(0,$.jsx)(`div`,{style:{height:180,borderRadius:12,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,border:`1px solid rgba(99, 102, 241, 0.06)`},children:G?.material?.materialImageUrl?(0,$.jsx)(`img`,{src:G.material.materialImageUrl,alt:`产品图片`,style:{maxWidth:`100%`,maxHeight:`100%`,objectFit:`contain`,borderRadius:10}}):(0,$.jsxs)(`div`,{style:{textAlign:`center`,color:`#94a3b8`},children:[(0,$.jsxs)(`svg`,{width:`32`,height:`32`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,style:{marginBottom:8},children:[(0,$.jsx)(`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,ry:`2`}),(0,$.jsx)(`circle`,{cx:`8.5`,cy:`8.5`,r:`1.5`,fill:`currentColor`}),(0,$.jsx)(`path`,{d:`M21 15l-5-5L5 21`})]}),(0,$.jsx)(`div`,{style:{fontSize:13},children:`暂无图片`})]})})]}),(0,$.jsx)(X,{onClick:()=>{Te(e.id)},type:`primary`,style:{flex:1,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},disabled:e.status!==`completed`,children:`下一步:生成图片提示词`})]})}),e.childId===2&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{padding:`12px 14px`,background:`rgba(255,255,255,0.6)`,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.08)`,marginBottom:4},children:(0,$.jsx)(q9,{style:{color:`#475569`,fontSize:13,lineHeight:1.8,whiteSpace:`pre-wrap`},children:e?.output?.payload?.prompt||`暂无提示词`})}),(0,$.jsxs)(LH,{style:{marginTop:16,gap:12,width:`100%`},children:[(0,$.jsx)(X,{type:`default`,icon:(0,$.jsx)(c1,{}),onClick:()=>ve(e?.output?.payload?.prompt,`image`,e.id),style:{flex:1,borderRadius:10,borderColor:`rgba(99, 102, 241, 0.3)`,color:`#6366f1`,height:36,fontWeight:500,background:`rgba(99, 102, 241, 0.04)`},disabled:e.status!==`completed`,children:`修改提示词`}),(0,$.jsx)(X,{onClick:()=>{Ee(e.id)},type:`primary`,style:{flex:1,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},disabled:e.status!==`completed`,children:`下一步:生成图片`})]})]}),e.childId===3&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(`div`,{style:{borderRadius:12,overflow:`hidden`,marginBottom:16,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,border:`1px solid rgba(99, 102, 241, 0.08)`,boxShadow:`0 2px 8px rgba(99, 102, 241, 0.04)`,position:`relative`},children:[G.finalImageUrl?(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${G.finalImageUrl}`,alt:`融合图`,style:{width:`100%`,height:180,objectFit:`cover`}}):(0,$.jsx)(`div`,{style:{width:`100%`,height:180,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:14},children:`暂无融合图`}),(0,$.jsx)(X,{type:`default`,icon:(0,$.jsx)(c1,{}),onClick:()=>De(),disabled:e.status!==`completed`,style:{position:`absolute`,bottom:8,left:8,borderRadius:8,borderColor:`rgba(99, 102, 241, 0.3)`,color:`#6366f1`,height:30,fontWeight:500,background:`rgba(255,255,255,0.85)`,backdropFilter:`blur(4px)`,padding:`0 12px`,fontSize:12},children:`重新生成`})]}),(0,$.jsx)(`p`,{style:{marginBottom:6,fontSize:14,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:`视频参数选择:`}),(0,$.jsxs)(`div`,{style:{width:`100%`,display:`flex`,justifyContent:`space-between`,marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{flex:1,position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{O(!D),A(!1)},className:`image-settings-trigger`,style:{width:`100%`,padding:`4px 12px`,height:34,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.15)`,backgroundColor:`rgba(255,255,255,0.7)`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s`},children:[(0,$.jsx)($8,{style:{fontSize:14,color:`#6366f1`}}),(0,$.jsx)(q9,{style:{fontSize:14,fontWeight:500,color:`#64748b`},children:b.video?.find(e=>e.id===C)?.name||`选择引擎`})]}),D&&(0,$.jsx)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:-10,width:350,backgroundColor:`#fff`,borderRadius:16,boxShadow:`0 10px 40px rgba(0,0,0,0.15)`,padding:16,border:`none`,zIndex:9999},onClick:e=>e.stopPropagation(),children:(0,$.jsxs)(`div`,{style:{marginBottom:8},children:[(0,$.jsx)(q9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#666666`},children:`选择引擎`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:4},children:b.video?.map(e=>(0,$.jsxs)(`button`,{onClick:()=>{w(e.id),R({ratios:e.supportedRatios||[`16:9`,`4:3`,`1:1`,`3:4`,`9:16`,`21:9`],resolutions:e.supportedResolutions||[`480p`,`720p`,`1080p`],durations:e.supportedDurations||[5,8,10,12,15]}),e.supportedRatios?.includes(N)||P(e.supportedRatios?.[0]||`16:9`),e.supportedResolutions?.includes(F)||I(e.supportedResolutions?.[0]||`720p`),e.supportedDurations?.includes(j)||M(e.supportedDurations?.[0]||5),O(!1)},style:{flex:1,minHeight:48,borderRadius:8,border:C===e.id?`2px solid #6366f1`:`1px solid #e5e7eb`,backgroundColor:C===e.id?`#fff`:`#f9fafb`,cursor:`pointer`,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`flex-start`,padding:`8px 12px`,transition:`all 0.2s`,textAlign:`left`},children:[(0,$.jsx)(`span`,{style:{fontSize:13,fontWeight:C===e.id?600:500,color:C===e.id?`#6366f1`:`#4b5563`,marginBottom:2},children:e.name}),(0,$.jsx)(`span`,{style:{fontSize:11,color:`#9ca3af`}})]},e.id))})]})})]}),(0,$.jsxs)(`div`,{style:{flex:1,position:`relative`,display:`inline-block`},children:[(0,$.jsxs)(`button`,{onClick:()=>{A(!k),O(!1)},className:`image-settings-trigger`,style:{width:`100%`,padding:`4px 12px`,height:34,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.15)`,backgroundColor:`rgba(255,255,255,0.7)`,cursor:`pointer`,display:`inline-flex`,alignItems:`center`,gap:6,transition:`all 0.2s`},children:[(0,$.jsx)(b6,{style:{fontSize:14,color:`#6366f1`}}),(0,$.jsxs)(q9,{style:{fontSize:14,fontWeight:500,color:`#64748b`},children:[N,` · `,j,`s · `,F]})]}),k&&(0,$.jsxs)(`div`,{className:`image-settings-popover`,style:{position:`absolute`,bottom:`calc(100% + 8px)`,left:-160,width:350,backgroundColor:`#fff`,borderRadius:16,boxShadow:`0 10px 40px rgba(0,0,0,0.15)`,padding:16,border:`none`,zIndex:9999},onClick:e=>e.stopPropagation(),children:[(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(q9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#666666`},children:`选择比例`}),(0,$.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:4},children:L.ratios.map(e=>(0,$.jsxs)(`button`,{onClick:()=>P(e),style:{flex:`0 0 calc(14.28% - 4px)`,minWidth:44,height:52,borderRadius:6,border:N===e?`2px solid #6366f1`:`1px solid #e5e7eb`,backgroundColor:N===e?`#fff`:`#f9fafb`,cursor:`pointer`,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:[(0,$.jsx)(`div`,{style:{width:18,height:18,border:`2px solid ${N===e?`#6366f1`:`#9ca3af`}`,borderRadius:2,marginBottom:2}}),(0,$.jsx)(`span`,{style:{fontSize:9,color:N===e?`#6366f1`:`#6b7280`,fontWeight:N===e?600:400},children:e})]},e))})]}),(0,$.jsxs)(`div`,{style:{marginBottom:16},children:[(0,$.jsx)(q9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#666666`},children:`选择时长`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsxs)(`div`,{style:{flex:1,position:`relative`,height:24,display:`flex`,alignItems:`center`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:`50%`,left:0,right:0,height:6,borderRadius:3,background:`#e5e7eb`,transform:`translateY(-50%)`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:`50%`,left:0,height:6,borderRadius:3,background:`#6366f1`,width:`${(j-Math.min(...L.durations))/(Math.max(...L.durations)-Math.min(...L.durations))*100}%`,transform:`translateY(-50%)`}}),(0,$.jsx)(`input`,{type:`range`,min:Math.min(...L.durations),max:Math.max(...L.durations),value:j,onChange:e=>M(Number(e.target.value)),style:{position:`relative`,width:`100%`,height:24,borderRadius:3,background:`transparent`,outline:`none`,appearance:`none`,cursor:`pointer`,zIndex:1}})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:4,padding:`4px 12px`,backgroundColor:`#f1f5f9`,borderRadius:6},children:[(0,$.jsx)(`span`,{style:{fontSize:14,fontWeight:600,color:`#64748b`},children:j}),(0,$.jsx)(`span`,{style:{fontSize:12,color:`#9ca3af`},children:`秒`})]})]})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(q9,{style:{display:`block`,marginBottom:8,fontSize:12,fontWeight:500,color:`#666666`},children:`选择分辨率`}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:6},children:L.resolutions.map(e=>(0,$.jsx)(`button`,{onClick:()=>I(e),style:{flex:1,height:42,borderRadius:6,border:F===e?`2px solid #6366f1`:`1px solid #e5e7eb`,backgroundColor:F===e?`#6366f1`:`#f9fafb`,cursor:`pointer`,display:`flex`,justifyContent:`center`,alignItems:`center`,transition:`all 0.2s`},children:(0,$.jsx)(`span`,{style:{fontSize:12,fontWeight:600,color:F===e?`#fff`:`#4b5563`},children:e})},e))})]})]})]})]}),(0,$.jsx)(X,{type:`primary`,style:{width:`100%`,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},onClick:()=>{Oe(e.id)},disabled:e.status!==`completed`,children:`下一步:生成视频提示词`})]}),e.childId===4&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{padding:`12px 14px`,background:`rgba(255,255,255,0.6)`,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.08)`,marginBottom:4},children:(0,$.jsx)(q9,{style:{color:`#64748b`,fontSize:13,lineHeight:1.8},children:`视频提词已生成,可点击按钮查看/修改`})}),(0,$.jsxs)(LH,{style:{marginTop:16,gap:12,width:`100%`},children:[(0,$.jsx)(X,{type:`default`,icon:(0,$.jsx)(c1,{}),onClick:()=>ve(G?.videoGeneration?.promptSchema,`video`,e.id,G?.videoGeneration?.schemaConfigSnapshot),style:{flex:1,borderRadius:10,borderColor:`rgba(99, 102, 241, 0.3)`,color:`#6366f1`,height:36,fontWeight:500,background:`rgba(99, 102, 241, 0.04)`},disabled:e.status!==`completed`||!G?.videoGeneration?.promptSchema||!G?.videoGeneration?.schemaConfigSnapshot,children:`查看/修改视频提词`}),(0,$.jsx)(X,{onClick:()=>{ke(e.id,e.engineId)},type:`primary`,style:{flex:1,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},disabled:e.status!==`completed`,children:`下一步:生成视频`})]})]}),e.childId===5&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{borderRadius:12,overflow:`hidden`,marginBottom:16,position:`relative`,background:`linear-gradient(135deg, rgba(248,250,252,0.8) 0%, rgba(238,242,255,0.6) 100%)`,border:`1px solid rgba(99, 102, 241, 0.08)`,boxShadow:`0 2px 8px rgba(99, 102, 241, 0.04)`},children:e.status===`completed`&&G?.finalVideoUrl?(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${G.finalVideoUrl}`,style:{width:`100%`,height:180,objectFit:`cover`},controls:!0}):e.status===`processing`?(0,$.jsxs)(`div`,{style:{width:`100%`,height:180,display:`flex`,alignItems:`center`,justifyContent:`center`,flexDirection:`column`,gap:8},children:[(0,$.jsx)(`div`,{style:{width:20,height:20,borderRadius:`50%`,border:`2px solid #e2e8f0`,borderTopColor:`#6366f1`,animation:`spinSlow 1s linear infinite`}}),(0,$.jsx)(`span`,{style:{color:`#6366f1`,fontSize:14},children:`视频生成中...`})]}):e.status===`failed`?(0,$.jsx)(`div`,{style:{width:`100%`,height:180,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#ef4444`,fontSize:14},children:`视频生成失败`}):(0,$.jsx)(`div`,{style:{width:`100%`,height:180,display:`flex`,alignItems:`center`,justifyContent:`center`,color:`#94a3b8`,fontSize:14},children:`暂无视频`})}),(0,$.jsxs)(LH,{style:{width:`100%`,gap:12},children:[(0,$.jsx)(X,{onClick:()=>Ae(),type:`default`,icon:(0,$.jsx)(c1,{}),style:{flex:1,borderRadius:10,borderColor:`rgba(99, 102, 241, 0.3)`,color:`#6366f1`,height:36,fontWeight:500,background:`rgba(99, 102, 241, 0.04)`},disabled:e.status!==`completed`,children:`重新生成`}),(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(U0,{}),style:{flex:1,borderRadius:10,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,height:36,fontWeight:500,boxShadow:`0 4px 12px rgba(99, 102, 241, 0.3)`},disabled:e.status!==`completed`,onClick:()=>{let e=`http://ceshi.apiforeign.minzhong.cn${G?.finalVideoUrl}&download=1`,t=document.createElement(`a`);t.href=e,t.download=`video_${Date.now()}.mp4`,document.body.appendChild(t),t.click(),document.body.removeChild(t)},children:`下载视频`})]})]})]})}))})})]})]})]}),(0,$.jsx)(WK,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,background:`linear-gradient(180deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:15,fontWeight:700,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`,backgroundClip:`text`},children:c===`video`?`查看/编辑视频提词`:`修改提示词`})]}),open:n,onCancel:()=>{v||r(!1)},footer:[(0,$.jsx)(X,{onClick:()=>r(!1),disabled:v,style:{borderRadius:8},children:`取消`},`cancel`),(0,$.jsx)(X,{type:`primary`,onClick:ye,loading:v,disabled:v,style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`},children:`确认`},`confirm`)],width:800,style:{borderRadius:16},styles:{header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(99, 102, 241, 0.08)`,padding:`16px 24px`},body:{background:`linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f0f9ff 100%)`,padding:`20px 24px`}},children:c===`image`?(0,$.jsx)(soe,{value:i,onChange:e=>a(e.target.value),rows:8,style:{width:`100%`,height:300,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.15)`,background:`rgba(255,255,255,0.8)`},placeholder:`请输入提示词`}):(0,$.jsx)(`div`,{style:{maxHeight:500,overflowY:`auto`,paddingRight:10},children:(0,$.jsx)(D9,{value:u,schemaConfigSnapshot:f,onChange:d})})}),(0,$.jsxs)(WK,{title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:600,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,WebkitBackgroundClip:`text`,WebkitTextFillColor:`transparent`},children:`创作记录`})]}),open:o,onCancel:()=>s(!1),width:800,footer:null,styles:{body:{background:`linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%)`},header:{background:`#fff`,borderBottom:`1px solid rgba(99, 102, 241, 0.1)`,padding:`20px 24px`}},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,marginBottom:16,gap:8},children:[(0,$.jsx)(fG,{placeholder:`搜索产品名称`,value:ne,onChange:e=>re(e.target.value),onPressEnter:_e,style:{width:200,borderRadius:10,border:`1px solid rgba(99, 102, 241, 0.2)`,height:40}}),(0,$.jsx)(X,{type:`primary`,onClick:_e,style:{borderRadius:10,height:40,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`},children:`搜索`})]}),(0,$.jsx)(`div`,{style:{background:`linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%)`,backdropFilter:`blur(20px)`,borderRadius:16,overflow:`hidden`,border:`1px solid rgba(99, 102, 241, 0.1)`,boxShadow:`0 8px 32px rgba(99, 102, 241, 0.08)`},children:(0,$.jsx)(p$,{columns:[{title:`产品名称`,dataIndex:`title`,key:`title`,render:e=>(0,$.jsx)(`span`,{style:{fontSize:14,color:`#1e293b`,fontWeight:500},children:e})},{title:`创建时间`,dataIndex:`createdAt`,key:`createdAt`,render:e=>{if(!e)return`-`;let t=new Date(e);return(0,$.jsx)(`span`,{style:{fontSize:13,color:`#64748b`},children:`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`})}},{title:`操作`,key:`action`,align:`center`,render:t=>(0,$.jsx)(X,{type:`text`,onClick:()=>e(`/removelens/${t.id}/removeinfo`),style:{color:`#6366f1`,fontSize:13,padding:`4px 12px`,borderRadius:6,background:`rgba(99, 102, 241, 0.1)`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(99, 102, 241, 0.15)`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(99, 102, 241, 0.1)`},children:`查看详情`})}],dataSource:z,rowKey:`id`,pagination:{current:V,pageSize:U,total:ee,showSizeChanger:!0,showQuickJumper:!0,showTotal:e=>`共 ${e} 条`,onChange:ge,style:{padding:`16px 24px`,borderTop:`1px solid rgba(99, 102, 241, 0.1)`}},style:{fontSize:13},scroll:{y:350},components:{body:{row:({className:e,style:t,...n})=>(0,$.jsx)(`tr`,{...n,className:e,style:{...t,transition:`all 0.2s ease`,borderBottom:`1px solid rgba(99, 102, 241, 0.05)`}}),cell:({className:e,style:t,...n})=>(0,$.jsx)(`td`,{...n,className:e,style:{...t,padding:`16px 24px`}})},header:{cell:({className:e,style:t,...n})=>(0,$.jsx)(`th`,{...n,className:e,style:{...t,background:`rgba(99, 102, 241, 0.03)`,color:`#64748b`,fontWeight:500,fontSize:13,padding:`16px 24px`,borderBottom:`none`}})}}})})]}),(0,$.jsx)(WK,{open:se,title:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsx)(`div`,{style:{width:4,height:20,background:`linear-gradient(180deg, #8b5cf6 0%, #ddd6fe 100%)`,borderRadius:2}}),(0,$.jsx)(`span`,{style:{fontSize:16,fontWeight:700,color:`#8b5cf6`,letterSpacing:.4},children:`预览`})]}),onCancel:Ce,width:800,footer:(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`flex-end`,gap:12,padding:`16px 24px`,background:`rgba(255,255,255,0.6)`,borderTop:`1px solid rgba(139, 92, 246, 0.08)`},children:(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(U0,{}),onClick:we,style:{borderRadius:10,background:`linear-gradient(135deg, #8b5cf6 0%, #ddd6fe 100%)`,border:`none`,boxShadow:`0 8px 18px rgba(47, 52, 64, 0.15)`},children:`下载`})}),centered:!0,style:{borderRadius:16},styles:{body:{display:`flex`,alignItems:`center`,justifyContent:`center`,minHeight:`400px`},header:{background:`rgba(255,255,255,0.6)`,backdropFilter:`blur(10px)`,borderBottom:`1px solid rgba(139, 92, 246, 0.08)`,padding:`16px 24px`}},children:(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,width:`100%`,height:`100%`},children:de===`image`?(0,$.jsx)(`img`,{src:le.startsWith(`http`)?le:`http://ceshi.apiforeign.minzhong.cn${le}`,alt:`预览`,style:{width:`100%`,maxHeight:`400px`,objectFit:`contain`}}):(0,$.jsx)(`video`,{ref:pe,src:le.startsWith(`http`)?le:`http://ceshi.apiforeign.minzhong.cn${le}`,controls:!0,style:{maxWidth:`100%`,maxHeight:`400px`}})})})]})}var uoe=`/assets/homebtn1-DjQgGq1F.png`,doe=`/assets/homebtn2-BNQvBUFh.png`,foe=`/assets/homebtn3-CaXf7CQb.png`;function poe(e){if(!e)return`-`;let t=String(e).trim();t.includes(`T`)||(t=t.replace(` `,`T`));let n=t.indexOf(`.`);n>0&&(t=t.slice(0,n)),t=t.replace(/[+-]\d{2}:?\d{0,2}$/,``).replace(/Z$/,``);let[r=``,i=``]=t.split(`T`),[,a=``,o=``]=r.split(`-`),s=i.slice(0,5);return!a||!o?`-`:`${a}-${o} ${s}`}var moe=()=>{let e=Ye(),[t,n]=(0,S.useState)(`project`),[r,i]=(0,S.useState)(``),[a,o]=(0,S.useState)([]),[s,c]=(0,S.useState)([]),[l,u]=(0,S.useState)(``),[d,f]=(0,S.useState)([]),[p,m]=(0,S.useState)(null),h=(0,S.useRef)(null);(0,S.useEffect)(()=>{hie().then(e=>{if(e?.items?.length>0){c(e.items);let t=e.items[0].id;u(t),H7(t).then(e=>{console.log(`caseButton:`,e),e?.categories?.[0]?.assets&&f(e.categories[0].assets)})}})},[]),(0,S.useEffect)(()=>{(async()=>{try{uie(5).then(e=>{for(let t in e)e[t].forEach(e=>{e.type=t,o(t=>[...t,e])});o(e=>e)})}catch{}})()},[]);let g=e=>{n(e)},_=[{icon:(0,$.jsx)(HH,{style:{fontSize:24,color:`#6366f1`}}),title:`爆款复刻`,description:`上传参考视频与产品图片,一键复刻爆款视频开头`,action:`立即创作`,path:`/initial`},{icon:(0,$.jsx)(q8,{style:{fontSize:24,color:`#f97316`}}),title:`拆镜复刻`,description:`精细化镜头复刻工具,拆分参考视频单镜头独立复刻,提升素材原创度,规避素材同质化`,action:`开始混剪`,path:`/removelens`},{icon:(0,$.jsx)(R8,{style:{fontSize:24,color:`#10b981`}}),title:`AI成片`,description:`输入想法、剧本或上传参考,智能生成视频/图片`,action:`立即生成`,path:`/conversation`}],v=[{key:`all`,label:`全部`},{key:`project`,label:`项目媒体`},{key:`chatAi`,label:`AI成片`},{key:`hotOpeningReplicate`,label:`爆款复刻`},{key:`shotReplicate`,label:`拆镜复刻`}],y=t===`all`?a:a.filter(e=>e.type===t);return(0,$.jsxs)(`div`,{className:`content_box`,children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:16},children:[(0,$.jsx)(`h3`,{children:`首页工作台 `}),(0,$.jsxs)(`p`,{style:{cursor:`pointer`,fontSize:12,letterSpacing:.3,padding:`10px 16px`,backgroundColor:`#ffffffff`,borderRadius:30,boxShadow:`0px 4px 12px 0px rgba(0, 0, 0, 0.1)`},children:[`如需进行账户素材推送:`,(0,$.jsxs)(`span`,{style:{color:`#1a50bbff`},onClick:()=>{e(`/authorization`)},children:[`一键推送`,(0,$.jsx)($2,{style:{marginLeft:8,transform:`rotate(0deg)`}})]})]})]}),(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{padding:`24px 28px`,borderRadius:16,background:`linear-gradient(135deg, #f0f9ff 0%, #faf5ff 50%, #fef3c7 100%)`,border:`1px solid rgba(99,102,241,0.10)`,margin:`0 0 20px`,position:`relative`,overflow:`hidden`},children:[(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:18},children:(0,$.jsx)(`div`,{children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,borderRadius:2,background:`linear-gradient(180deg, #6366f1, #a855f7)`}}),(0,$.jsxs)(`div`,{style:{fontSize:17,fontWeight:700,color:`#1f2937`,letterSpacing:.3},children:[`我的项目`,(0,$.jsx)(`span`,{style:{color:`#a8a8a8ff`,fontSize:12},children:`(操作步骤)`})]})]})})}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:12},children:[(0,$.jsxs)(`div`,{style:{flex:1,background:`#fff`,borderRadius:14,padding:`20px 18px`,display:`flex`,flexDirection:`column`,boxShadow:`0 2px 8px rgba(15, 23, 42, 0.04)`},children:[(0,$.jsx)(`div`,{style:{textAlign:`center`,fontSize:20,fontWeight:700,color:`#1e293b`,marginBottom:14,letterSpacing:1},children:`第1步`}),(0,$.jsxs)(`div`,{style:{flex:1,minHeight:140,border:`1px dashed #c7d2fe`,borderRadius:8,background:`#fafbff`,padding:10,display:`flex`,flexDirection:`column`,gap:8,marginBottom:12},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6},children:[(0,$.jsx)(`div`,{style:{width:8,height:8,borderRadius:2,background:`#6366f1`}}),(0,$.jsx)(`div`,{style:{flex:1,height:22,background:`#fff`,border:`1px solid #e2e8f0`,borderRadius:4,display:`flex`,alignItems:`center`,padding:`0 8px`,fontSize:10,color:`#94a3b8`},children:`项目名称...`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:4},children:[(0,$.jsx)(`div`,{style:{padding:`2px 8px`,background:`#eef2ff`,color:`#6366f1`,borderRadius:10,fontSize:10,fontWeight:500,border:`1px solid #c7d2fe`},children:`美妆`}),(0,$.jsx)(`div`,{style:{padding:`2px 8px`,background:`#fff7ed`,color:`#f97316`,borderRadius:10,fontSize:10,fontWeight:500,border:`1px solid #fed7aa`},children:`美食`}),(0,$.jsx)(`div`,{style:{padding:`2px 8px`,background:`#ecfdf5`,color:`#10b981`,borderRadius:10,fontSize:10,fontWeight:500,border:`1px solid #a7f3d0`},children:`3C数码`}),(0,$.jsx)(`div`,{style:{padding:`2px 8px`,background:`#f5f3ff`,color:`#8b5cf6`,borderRadius:10,fontSize:10,fontWeight:500,border:`1px solid #ddd6fe`},children:`服饰`})]}),(0,$.jsx)(`div`,{style:{height:16,background:`#fff`,border:`1px solid #e2e8f0`,borderRadius:4}}),(0,$.jsx)(`div`,{style:{height:16,width:`70%`,background:`#fff`,border:`1px solid #e2e8f0`,borderRadius:4}})]}),(0,$.jsx)(`div`,{style:{background:`#f1f5f9`,borderRadius:10,padding:`14px 12px`,textAlign:`center`,fontSize:13,color:`#475569`,lineHeight:1.6},children:`创建新项目,自定义项目名称并选择对应行业分类`})]}),(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,color:`#94a3b8`,fontSize:22},children:(0,$.jsx)($2,{style:{transform:`rotate(0deg)`}})}),(0,$.jsxs)(`div`,{style:{flex:1,background:`#fff`,borderRadius:14,padding:`20px 18px`,display:`flex`,flexDirection:`column`,boxShadow:`0 2px 8px rgba(15, 23, 42, 0.04)`},children:[(0,$.jsx)(`div`,{style:{textAlign:`center`,fontSize:20,fontWeight:700,color:`#1e293b`,marginBottom:14,letterSpacing:1},children:`第2步`}),(0,$.jsxs)(`div`,{style:{flex:1,minHeight:140,border:`1px solid #e2e8f0`,borderRadius:8,background:`#fafafa`,padding:10,display:`flex`,flexDirection:`column`,gap:8,marginBottom:12},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,background:`#f1f5f9`,borderRadius:6,padding:2,gap:2},children:[(0,$.jsxs)(`div`,{style:{flex:1,display:`flex`,alignItems:`center`,justifyContent:`center`,gap:4,padding:`5px 0`,background:`#fff`,borderRadius:4,fontSize:11,fontWeight:600,color:`#6366f1`,boxShadow:`0 1px 3px rgba(99,102,241,0.15)`},children:[(0,$.jsx)(R5,{style:{fontSize:11}}),`视频`]}),(0,$.jsxs)(`div`,{style:{flex:1,display:`flex`,alignItems:`center`,justifyContent:`center`,gap:4,padding:`5px 0`,fontSize:11,color:`#94a3b8`},children:[(0,$.jsx)(m8,{style:{fontSize:11}}),` 图片`]})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{fontSize:9,color:`#94a3b8`,marginBottom:3},children:`尺寸比例`}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:4},children:[(0,$.jsx)(`div`,{style:{flex:1,textAlign:`center`,padding:`4px 0`,background:`#eef2ff`,color:`#6366f1`,border:`1px solid #c7d2fe`,borderRadius:4,fontSize:10,fontWeight:600},children:`9:16`}),(0,$.jsx)(`div`,{style:{flex:1,textAlign:`center`,padding:`4px 0`,background:`#fff`,color:`#64748b`,border:`1px solid #e2e8f0`,borderRadius:4,fontSize:10},children:`16:9`}),(0,$.jsx)(`div`,{style:{flex:1,textAlign:`center`,padding:`4px 0`,background:`#fff`,color:`#64748b`,border:`1px solid #e2e8f0`,borderRadius:4,fontSize:10},children:`1:1`})]})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{style:{fontSize:9,color:`#94a3b8`,marginBottom:3},children:`时长`}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:4},children:[(0,$.jsx)(`div`,{style:{flex:1,textAlign:`center`,padding:`4px 0`,background:`#fff`,color:`#64748b`,border:`1px solid #e2e8f0`,borderRadius:4,fontSize:10},children:`5s`}),(0,$.jsx)(`div`,{style:{flex:1,textAlign:`center`,padding:`4px 0`,background:`#fff7ed`,color:`#f97316`,border:`1px solid #fed7aa`,borderRadius:4,fontSize:10,fontWeight:600},children:`10s`}),(0,$.jsx)(`div`,{style:{flex:1,textAlign:`center`,padding:`4px 0`,background:`#fff`,color:`#64748b`,border:`1px solid #e2e8f0`,borderRadius:4,fontSize:10},children:`15s`})]})]})]}),(0,$.jsx)(`div`,{style:{background:`#f1f5f9`,borderRadius:10,padding:`14px 12px`,textAlign:`center`,fontSize:13,color:`#475569`,lineHeight:1.6},children:`选择生成图片或视频,设置尺寸、时长等参数,点击生成即可一键优化提示词`})]}),(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,color:`#94a3b8`,fontSize:22},children:(0,$.jsx)($2,{})}),(0,$.jsxs)(`div`,{style:{flex:1,background:`#fff`,borderRadius:14,padding:`20px 18px`,display:`flex`,flexDirection:`column`,boxShadow:`0 2px 8px rgba(15, 23, 42, 0.04)`},children:[(0,$.jsx)(`div`,{style:{textAlign:`center`,fontSize:20,fontWeight:700,color:`#1e293b`,marginBottom:14,letterSpacing:1},children:`第3步`}),(0,$.jsxs)(`div`,{style:{flex:1,minHeight:140,border:`1px solid #e2e8f0`,borderRadius:8,background:`#fafafa`,padding:10,display:`flex`,flexDirection:`column`,gap:6,marginBottom:12,justifyContent:`space-between`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:6},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6,padding:`5px 8px`,background:`#f0fdf4`,border:`1px solid #bbf7d0`,borderRadius:5},children:[(0,$.jsx)(`div`,{style:{width:14,height:14,borderRadius:`50%`,background:`#10b981`,color:`#fff`,fontSize:10,display:`flex`,alignItems:`center`,justifyContent:`center`,fontWeight:700},children:`✓`}),(0,$.jsx)(`div`,{style:{fontSize:10,color:`#065f46`,fontWeight:500},children:`提示词已智能优化`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:6,padding:`5px 8px`,background:`#f0fdf4`,border:`1px solid #bbf7d0`,borderRadius:5},children:[(0,$.jsx)(`div`,{style:{width:14,height:14,borderRadius:`50%`,background:`#10b981`,color:`#fff`,fontSize:10,display:`flex`,alignItems:`center`,justifyContent:`center`,fontWeight:700},children:`✓`}),(0,$.jsx)(`div`,{style:{fontSize:10,color:`#065f46`,fontWeight:500},children:`尺寸 9:16 · 时长 5s`})]})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,gap:4,padding:`6px 0`,background:`linear-gradient(135deg, #6366f1, #8b5cf6)`,color:`#fff`,borderRadius:5,fontSize:11,fontWeight:600,boxShadow:`0 2px 6px rgba(99,102,241,0.25)`},children:[(0,$.jsx)(D5,{style:{fontSize:11}}),`确认并生成素材`]})]}),(0,$.jsx)(`div`,{style:{background:`#f1f5f9`,borderRadius:10,padding:`14px 12px`,textAlign:`center`,fontSize:13,color:`#475569`,lineHeight:1.6},children:`核对图片 / 视频参数与优化后的提示词,确认后一键生成素材`})]}),(0,$.jsxs)(`div`,{onClick:()=>e(`/projects`),onMouseEnter:e=>{e.currentTarget.style.transform=`translateY(-2px) scale(1.05)`,e.currentTarget.style.boxShadow=`0 14px 32px rgba(99,102,241,0.45)`;let t=e.currentTarget.querySelector(`.round-arrow`);t&&(t.style.transform=`translateX(3px)`)},onMouseLeave:e=>{e.currentTarget.style.transform=`translateY(0) scale(1)`,e.currentTarget.style.boxShadow=`0 8px 20px rgba(99,102,241,0.30)`;let t=e.currentTarget.querySelector(`.round-arrow`);t&&(t.style.transform=`translateX(0)`)},style:{cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,gap:4,width:64,height:64,borderRadius:`50%`,textAlign:`center`,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%)`,color:`#fff`,fontSize:14,fontWeight:600,letterSpacing:.5,boxShadow:`0 8px 20px rgba(99,102,241,0.30)`,transition:`all 0.3s cubic-bezier(0.4, 0, 0.2, 1)`,userSelect:`none`,position:`relative`},children:[(0,$.jsx)(`span`,{style:{position:`absolute`,inset:0,borderRadius:`50%`,background:`radial-gradient(circle at 30% 25%, rgba(255,255,255,0.35) 0%, transparent 55%)`,pointerEvents:`none`}}),`前往`,(0,$.jsx)($2,{className:`round-arrow`,style:{fontSize:13,transition:`transform 0.3s ease`}})]})]})]}),(0,$.jsxs)(`div`,{className:`animate-fadeInUp stagger-children`,style:{padding:`24px 28px`,borderRadius:16,background:`#fff`,border:`1px solid #e2e8f0`,marginBottom:20},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:18},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,borderRadius:2,background:`linear-gradient(180deg, #6366f1, #a855f7)`}}),(0,$.jsx)(`div`,{style:{fontSize:17,fontWeight:700,color:`#1f2937`,letterSpacing:.3},children:`AI 创作入口`}),(0,$.jsx)(`div`,{style:{fontSize:12,color:`#94a3b8`,marginLeft:8},children:`一键开启智能创作`})]}),(0,$.jsx)(`div`,{style:{display:`flex`,gap:16},children:_.map((t,n)=>{let r=[{color:`#6366f1`,light:`rgba(99,102,241,0.10)`,tag:`复刻`,bg:uoe},{color:`#f97316`,light:`rgba(249,115,22,0.10)`,tag:`混剪`,bg:doe},{color:`#10b981`,light:`rgba(16,185,129,0.10)`,tag:`云创`,bg:foe}],i=r[n]||r[0];return(0,$.jsxs)(`div`,{onClick:()=>e(t.path),className:`project-card`,style:{flex:1,padding:`20px 22px`,borderRadius:14,background:`#fff`,border:`1px solid #e2e8f0`,cursor:`pointer`,transition:`all 0.3s cubic-bezier(0.4, 0, 0.2, 1)`,position:`relative`,overflow:`hidden`,backgroundImage:`url(${i.bg})`,backgroundRepeat:`no-repeat`,backgroundSize:`100% 100%`,backgroundPosition:`center`},onMouseEnter:e=>{e.currentTarget.style.borderColor=i.color,e.currentTarget.style.boxShadow=`0 12px 32px ${i.light}`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`#e2e8f0`,e.currentTarget.style.boxShadow=`none`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,top:0,left:0,right:0,height:3,background:`linear-gradient(90deg, ${i.color}, ${i.color}88)`}}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:14},children:[(0,$.jsx)(`div`,{style:{width:48,height:48,borderRadius:12,background:i.light,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,$.jsx)(`span`,{style:{color:i.color,fontSize:22,display:`flex`},children:t.icon})}),(0,$.jsx)(`div`,{style:{fontSize:11,color:i.color,padding:`2px 8px`,borderRadius:6,background:i.light,fontWeight:600},children:i.tag})]}),(0,$.jsx)(`div`,{style:{fontSize:16,fontWeight:700,color:`#1f2937`,marginBottom:4},children:t.title}),(0,$.jsx)(`div`,{style:{fontSize:12,color:`#6b7280`,marginBottom:14,lineHeight:1.5,minHeight:36},children:t.description}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:4,color:i.color,fontSize:13,fontWeight:600},children:[t.action,(0,$.jsx)($2,{style:{fontSize:12}})]})]},n)})})]}),(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{padding:`24px 28px`,borderRadius:16,background:`#fff`,border:`1px solid #e2e8f0`,marginBottom:20},children:[(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:16},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,borderRadius:2,background:`linear-gradient(180deg, #6366f1, #a855f7)`}}),(0,$.jsx)(`div`,{style:{fontSize:17,fontWeight:700,color:`#1f2937`,letterSpacing:.3},children:`近期作品`})]})}),(0,$.jsx)(`div`,{style:{marginBottom:20},children:(0,$.jsx)(tR,{activeKey:t,onChange:g,items:v.map(e=>({key:e.key,label:e.label})),className:`homepage-tabs`})}),(0,$.jsx)(`div`,{className:`stagger-children`,style:{display:`grid`,gridTemplateColumns:`repeat(5, 1fr)`,gap:16},children:y.length===0?(0,$.jsxs)(`div`,{style:{gridColumn:`1 / -1`,padding:`60px 0`,textAlign:`center`,color:`#94a3b8`,fontSize:14},children:[(0,$.jsx)(m8,{style:{fontSize:36,color:`#cbd5e1`,marginBottom:8}}),(0,$.jsx)(`div`,{children:`暂无作品`})]}):y.map(t=>(0,$.jsxs)(`div`,{className:`project-card`,onClick:()=>{let n=t.moduleProjectId;t.type===`hotOpeningReplicate`&&n!=null?e(`/initial/${n}/initialinfo`):t.type===`shotReplicate`&&n!=null?e(`/removelens/${n}/removefenbu`):t.type===`chatAi`?e(`/conversation`):t.type===`project`&&e(`/project`)},style:{borderRadius:12,overflow:`hidden`,cursor:`pointer`,background:`#fff`,border:`1px solid #e2e8f0`},children:[(0,$.jsxs)(`div`,{style:{position:`relative`,aspectRatio:`16/9`},children:[(()=>{let e=t.type!==`hotOpeningReplicate`&&(String(t.resourceType??``).toLowerCase()===`image`||t.resourceType===1||String(t.resourceType??``)===`1`),n=``;return n=e?`/static`+t.resultUrl+`&w=300&p=50`||``:(t.type,t.coverUrl||t.resultUrl||t.resultUrl||``),(0,$.jsx)(`img`,{src:n?n.startsWith(`http`)?n:`http://ceshi.apiforeign.minzhong.cn`+n:``,alt:t.title||t.name||`作品`,style:{width:`100%`,height:`100%`,objectFit:`cover`}})})(),String(t.resourceType??``).toLowerCase()===`image`?null:(0,$.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`rgba(0,0,0,0.2)`},children:(0,$.jsx)(R5,{style:{fontSize:28,color:`#fff`}})})]}),(0,$.jsx)(`div`,{style:{padding:`10px 12px`,background:`#f8fafc`,paddingTop:0},children:(0,$.jsxs)(`div`,{style:{marginTop:6,display:`flex`,alignItems:`center`,gap:6,fontSize:12,color:`#64748b`},children:[(0,$.jsx)(`span`,{style:{display:`inline-block`,padding:`1px 6px`,border:`1px solid #3b82f6`,borderRadius:4,color:`#3b82f6`,fontSize:11,fontWeight:500,background:`#fff`,lineHeight:1.4,whiteSpace:`nowrap`},children:{project:`项目媒体`,chatAi:`AI成片`,hotOpeningReplicate:`爆款复刻`,shotReplicate:`拆镜复刻`}[t.type]||`其他`}),(0,$.jsx)(`span`,{style:{color:`#94a3b8`},children:`·`}),(0,$.jsx)(`span`,{style:{whiteSpace:`nowrap`},children:poe(t.generatedTime)})]})})]},t.id||`${t.type}-${Math.random()}`))})]}),d.length>0&&(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{padding:`24px 28px`,borderRadius:16,background:`#fff`,border:`1px solid #e2e8f0`},children:[(0,$.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:18},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,borderRadius:2,background:`linear-gradient(180deg, #6366f1, #a855f7)`}}),(0,$.jsx)(`div`,{style:{fontSize:17,fontWeight:700,color:`#1f2937`,letterSpacing:.3},children:`素材案例`}),(0,$.jsx)(`div`,{style:{fontSize:12,color:`#94a3b8`,marginLeft:4},children:`精选优质作品参考`})]})}),(0,$.jsx)(`div`,{style:{marginBottom:20},children:(0,$.jsx)(tR,{activeKey:l,onChange:e=>{u(e),H7(e).then(e=>{e?.categories?.[0]?.assets?f(e.categories[0].assets):f([])})},items:s.map(e=>({key:e.id,label:e.name})),className:`homepage-tabs`})}),(0,$.jsx)(`div`,{className:`stagger-children`,style:{display:`grid`,gridTemplateColumns:`repeat(5, 1fr)`,gap:16},children:d.length===0?(0,$.jsxs)(`div`,{style:{gridColumn:`1 / -1`,padding:`60px 0`,textAlign:`center`,color:`#94a3b8`,fontSize:14},children:[(0,$.jsx)(m8,{style:{fontSize:36,color:`#cbd5e1`,marginBottom:8}}),(0,$.jsx)(`div`,{children:`暂无素材`})]}):d.map((e,t)=>(0,$.jsxs)(`div`,{className:`project-card`,onClick:()=>m(e),style:{borderRadius:12,overflow:`hidden`,cursor:`pointer`,background:`#fff`,border:`1px solid #e2e8f0`},children:[(0,$.jsx)(`div`,{style:{position:`relative`,aspectRatio:`16/9`},children:e.mediaType===`video`?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`video`,{src:`http://ceshi.apiforeign.minzhong.cn${e.url}`,style:{width:`100%`,height:`100%`,objectFit:`cover`},muted:!0,playsInline:!0}),(0,$.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`rgba(0,0,0,0.2)`},children:(0,$.jsx)(R5,{style:{fontSize:28,color:`#fff`}})})]}):(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${e.url}`,alt:e.title||`素材 ${t+1}`,style:{width:`100%`,height:`100%`,objectFit:`cover`}})}),(0,$.jsx)(`div`,{style:{padding:`10px 12px`,background:`#f8fafc`},children:(0,$.jsx)(`div`,{style:{fontSize:12,color:`#64748b`,textAlign:`center`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:e.title||`素材 ${t+1}`})})]},e.id||t))})]}),(0,$.jsxs)(WK,{open:!!p,onCancel:()=>{h.current?.pause(),m(null)},footer:null,width:760,centered:!0,className:`preview-modal`,bodyStyle:{padding:0,background:`#fff`,borderRadius:16,overflow:`hidden`},children:[(0,$.jsx)(`div`,{style:{width:`100%`,paddingTop:`56.25%`,position:`relative`},children:(0,$.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`},children:p?.mediaType===`video`?(0,$.jsx)(`video`,{ref:h,src:`http://ceshi.apiforeign.minzhong.cn${p.url}`,controls:!0,autoPlay:!0,style:{width:`100%`,height:`100%`,objectFit:`contain`}}):(0,$.jsx)(`img`,{src:`http://ceshi.apiforeign.minzhong.cn${p?.url}`,alt:p?.title,style:{width:`100%`,height:`100%`,objectFit:`contain`}})})}),p?.title&&(0,$.jsx)(`div`,{style:{padding:`14px 20px`,fontSize:14,color:`#4b5563`,fontWeight:500,borderTop:`1px solid #f1f5f9`,textAlign:`center`},children:p.title})]})]})},{RangePicker:hoe}=GV,J9=e=>e.replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),goe=()=>{let e=Ye(),[t]=On(),{message:n}=sx.useApp(),[r,i]=(0,S.useState)([]),[a,o]=(0,S.useState)(0),[s,c]=(0,S.useState)(!1),[l,u]=(0,S.useState)(!1),[d,f]=(0,S.useState)(!1),[p,m]=(0,S.useState)([]),[h,g]=(0,S.useState)([]),[_,v]=(0,S.useState)(``),[y,b]=(0,S.useState)(1),[x,C]=(0,S.useState)(10),[w,T]=(0,S.useState)(t.get(`advertiserId`)||``),[E,D]=(0,S.useState)(),[O,k]=(0,S.useState)((0,XE.default)().subtract(1,`day`).format(`YYYY-MM-DD`)),[A,j]=(0,S.useState)(``);(0,S.useEffect)(()=>{N(),M()},[]);let M=async(e=1,t=10,r,a)=>{c(!0);try{let n=await oie({advertiser_id:a??w,consume_date:r??E,page:e,page_size:t});i(n.data||[]),o(n.pagination?.total||0),b(n.pagination?.page||1),C(n.pagination?.pageSize||10)}catch{n.error(`加载数据失败`)}finally{c(!1)}},N=async()=>{try{let e=((await B7()).data||[]).map(e=>({name:J9(e.field),description:e.description}));m(e);let t=localStorage.getItem(`consumeColumns`);g(t?JSON.parse(t):e.map(e=>e.name))}catch{n.error(`加载表头字段失败`)}},P=r.map((e,t)=>({...e,index:t+1,key:e.id})),F=()=>{document.referrer.includes(window.location.origin)?e(-1):e(`/materials`)},I=()=>{b(1),M(1,x)},L=()=>{WK.confirm({title:`拉取消耗数据`,content:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{style:{marginBottom:12},children:[(0,$.jsx)(Q.Text,{style:{display:`block`,marginBottom:8},children:`同步日期:`}),(0,$.jsx)(GV,{value:(0,XE.default)(O),onChange:e=>k(e?e.format(`YYYY-MM-DD`):(0,XE.default)().subtract(1,`day`).format(`YYYY-MM-DD`)),style:{width:`100%`}})]}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Text,{style:{display:`block`,marginBottom:8},children:`广告主ID(可选):`}),(0,$.jsx)(fG,{placeholder:`不指定则同步所有授权的广告主`,value:A,onChange:e=>j(e.target.value)})]})]}),onOk:async()=>{u(!0);try{await sie({date:O,advertiser_id:A||void 0}),n.success(`拉取消耗数据成功`),M(y,x)}catch{n.error(`拉取消耗数据失败`)}finally{u(!1)}},okText:`开始拉取`,cancelText:`取消`})},R=h.map(e=>p.find(t=>t.name===e)).filter(e=>!!e).map(e=>({title:e.description,dataIndex:e.name,key:e.name,ellipsis:!0}));return(0,$.jsxs)(`div`,{style:{minHeight:`94vh`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:12},children:[t.get(`advertiserId`)&&(0,$.jsx)(X,{type:`text`,icon:(0,$.jsx)(X2,{}),onClick:F}),(0,$.jsx)(k3,{style:{color:`#6366f1`,fontSize:16}}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:16},children:`消耗记录`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,gap:12,marginBottom:16},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,$.jsx)(fG,{placeholder:`广告主ID`,value:w,onChange:e=>T(e.target.value),style:{width:180},allowClear:!0,onPressEnter:()=>{b(1),M(1,x)}}),(0,$.jsx)(hoe,{value:E?[(0,XE.default)(E[0]),(0,XE.default)(E[1])]:void 0,onChange:e=>{e&&e[0]&&e[1]?D([e[0].format(`YYYY-MM-DD`),e[1].format(`YYYY-MM-DD`)]):D(void 0)}}),(0,$.jsx)(X,{type:`primary`,size:`medium`,onClick:I,children:`搜索`})]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12},children:[(0,$.jsx)(X,{icon:(0,$.jsx)(Hne,{}),onClick:L,loading:l,style:{borderRadius:8},children:`拉取消耗`}),(0,$.jsx)(X,{icon:(0,$.jsx)($8,{}),onClick:()=>f(!0),style:{borderRadius:8},children:`自定义表头`})]})]}),(0,$.jsxs)(`div`,{style:{background:`#fff`,borderRadius:12,boxShadow:`0 1px 3px rgba(0,0,0,0.05)`},children:[(0,$.jsx)(p$,{dataSource:P,columns:R,loading:s,pagination:!1,rowKey:`id`,bordered:!1,scroll:{x:`max-content`}}),(0,$.jsx)(`div`,{style:{padding:`16px`,textAlign:`right`},children:(0,$.jsx)(QG,{current:y,pageSize:x,total:a,showSizeChanger:!0,showTotal:e=>`共 ${e} 条记录`,onChange:(e,t)=>{b(e),C(t),M(e,t)},size:`small`})})]}),(0,$.jsx)(WK,{title:`自定义表头`,open:d,onOk:()=>{localStorage.setItem(`consumeColumns`,JSON.stringify(h)),n.success(`表头设置已保存`),f(!1)},onCancel:()=>{f(!1),v(``)},okText:`确定`,cancelText:`取消`,width:800,children:(0,$.jsxs)(`div`,{style:{display:`flex`,gap:20,height:400},children:[(0,$.jsxs)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`},children:[(0,$.jsx)(fG,{placeholder:`搜索指标...`,value:_,allowClear:!0,onChange:e=>v(e.target.value),style:{marginBottom:8}}),(0,$.jsx)(Q.Text,{type:`secondary`,style:{fontSize:12,marginBottom:12,display:`block`},children:`输入指标名称进行搜索`}),(0,$.jsxs)(`div`,{style:{flex:1,overflowY:`auto`,border:`1px solid #f0f0f5`,borderRadius:8,padding:12},children:[(0,$.jsx)(`div`,{style:{marginBottom:16},children:(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:14,color:`#1e293b`},children:`任务详情指标`})}),(0,$.jsx)(jz,{checked:h.length===p.length&&p.length>0,indeterminate:h.length>0&&h.length{e.target.checked?g(p.map(e=>e.name)):g([])},style:{marginBottom:12},children:`全选`}),(0,$.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`1fr 1fr`,gap:8},children:p.filter(e=>e.description.toLowerCase().includes(_.toLowerCase())||e.name.toLowerCase().includes(_.toLowerCase())).map(e=>(0,$.jsx)(jz,{checked:h.includes(e.name),onChange:t=>{t.target.checked?g(t=>[...t,e.name]):g(t=>t.filter(t=>t!==e.name))},children:e.description},e.name))})]})]}),(0,$.jsxs)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:12},children:[(0,$.jsxs)(Q.Text,{strong:!0,style:{fontSize:14,color:`#1e293b`},children:[`已添加(`,h.length,`)`]}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:8},children:[(0,$.jsx)(X,{size:`small`,onClick:()=>g([]),disabled:h.length===0,children:`清空`}),(0,$.jsx)(X,{size:`small`,onClick:async()=>{try{let e=((await B7()).data||[]).map(e=>({name:J9(e.field),description:e.description}));m(e),g(e.map(e=>e.name)),localStorage.removeItem(`consumeColumns`),n.success(`表头字段已更新`)}catch{n.error(`更新表头字段失败`)}},children:`更新表头字段`})]})]}),(0,$.jsx)(`div`,{style:{flex:1,overflowY:`auto`,border:`1px solid #f0f0f5`,borderRadius:8,padding:12},children:h.length===0?(0,$.jsx)(Q.Text,{type:`secondary`,style:{fontSize:14,textAlign:`center`,display:`block`,padding:`40px 0`},children:`暂无已选指标`}):(0,$.jsx)(`div`,{children:h.map((e,t)=>{let n=p.find(t=>t.name===e);return(0,$.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,padding:`8px 12px`,borderBottom:`1px solid #f0f0f5`,cursor:`move`,userSelect:`none`},draggable:!0,onDragStart:e=>{e.dataTransfer.setData(`index`,String(t))},onDragOver:e=>{e.preventDefault()},onDrop:e=>{let n=parseInt(e.dataTransfer.getData(`index`)),r=t;if(n!==r){let e=[...h],[t]=e.splice(n,1);e.splice(r,0,t),g(e)}},children:[(0,$.jsx)(Q.Text,{children:n?.description||e}),(0,$.jsx)(Q.Text,{type:`secondary`,style:{fontSize:12},children:t+1})]},e)})})})]})]})})]})},_oe=()=>{let e=Ye(),[t]=On(),{message:n}=sx.useApp(),[r,i]=(0,S.useState)(0),[a,o]=(0,S.useState)(!0),[s,c]=(0,S.useState)(!1),[l,u]=(0,S.useState)(``);(0,S.useEffect)(()=>{let r=t.get(`auth_code`),a=t.get(`state`);if(!r||!a){o(!1),i(10);return}let s={auth_code:r,state:a,app_id:t.get(`app_id`)||void 0,material_auth_status:t.get(`material_auth_status`)||void 0,scope:t.get(`scope`)||void 0,uid:t.get(`uid`)||void 0};(async()=>{try{let t=await Gre(s);c(!0),o(!1),n.success(t?.message||`授权成功`),setTimeout(()=>{e(`/authorization`)},1500)}catch(e){let t=e?.message||`授权失败`;u(t),o(!1),n.error(t)}})();let l=setInterval(()=>{i(e=>e>=11?(o(!1),e):e+1)},1e3);return()=>{clearInterval(l)}},[e,t,n]);let d=()=>{i(0),o(!0),c(!1),u(``),window.location.href=`/authorization`};return s?(0,$.jsx)(`div`,{style:{minHeight:`100vh`,display:`flex`,justifyContent:`center`,alignItems:`center`,background:`linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%)`},children:(0,$.jsxs)(`div`,{style:{textAlign:`center`,padding:`60px 80px`,background:`#fff`,borderRadius:16,boxShadow:`0 10px 40px rgba(0,0,0,0.1)`},children:[(0,$.jsx)(`div`,{style:{width:80,height:80,background:`#dcfce7`,borderRadius:`50%`,display:`flex`,justifyContent:`center`,alignItems:`center`,margin:`0 auto 24px`},children:(0,$.jsx)(Q.Text,{style:{fontSize:40,color:`#22c55e`},children:`✓`})}),(0,$.jsx)(Q.Title,{level:3,style:{marginBottom:16,color:`#1e293b`},children:`授权成功`}),(0,$.jsx)(Q.Text,{style:{color:`#64748b`},children:`正在跳转至授权管理页面...`})]})}):(0,$.jsx)(`div`,{style:{minHeight:`100vh`,display:`flex`,justifyContent:`center`,alignItems:`center`,background:`linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%)`},children:(0,$.jsxs)(`div`,{style:{textAlign:`center`,padding:`60px 80px`,background:`#fff`,borderRadius:16,boxShadow:`0 10px 40px rgba(0,0,0,0.1)`},children:[(0,$.jsx)(`div`,{style:{width:80,height:80,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,borderRadius:`50%`,display:`flex`,justifyContent:`center`,alignItems:`center`,margin:`0 auto 24px`},children:a&&r<10?(0,$.jsx)(yK,{size:`large`,tip:`加载中`,style:{color:`#fff`}}):(0,$.jsx)(RV,{style:{fontSize:40,color:`#fff`}})}),l?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(Q.Title,{level:3,style:{marginBottom:16,color:`#ef4444`},children:`授权失败`}),(0,$.jsx)(Q.Text,{style:{color:`#64748b`,marginBottom:24,display:`block`},children:l}),(0,$.jsx)(X,{type:`primary`,size:`large`,icon:(0,$.jsx)(eJ,{}),onClick:d,style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,fontWeight:600,padding:`12px 32px`},children:`重新授权`})]}):r>=10?(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(Q.Title,{level:3,style:{marginBottom:16,color:`#ef4444`},children:`授权无响应`}),(0,$.jsx)(Q.Text,{style:{color:`#64748b`,marginBottom:24,display:`block`},children:`请重新授权`}),(0,$.jsx)(X,{type:`primary`,size:`large`,icon:(0,$.jsx)(eJ,{}),onClick:d,style:{borderRadius:8,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,fontWeight:600,padding:`12px 32px`},children:`重新授权`})]}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(Q.Title,{level:3,style:{marginBottom:16,color:`#1e293b`},children:`授权中,请等待`}),(0,$.jsx)(Q.Text,{style:{color:`#64748b`,marginBottom:24,display:`block`},children:`正在等待平台完成授权操作`}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,gap:8},children:[(0,$.jsx)(RV,{style:{color:`#6366f1`}}),(0,$.jsxs)(Q.Text,{style:{color:`#6366f1`,fontWeight:500,fontSize:16},children:[r,`s`]})]})]})]})})},voe=()=>(0,$.jsxs)(`div`,{className:`content_box`,children:[(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{padding:`28px 32px`,borderRadius:16,background:`linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fed7aa 100%)`,border:`1px solid rgba(245, 158, 11, 0.18)`,marginBottom:24,position:`relative`,overflow:`hidden`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:14,marginBottom:12},children:[(0,$.jsx)(`div`,{style:{width:52,height:52,borderRadius:14,background:`linear-gradient(135deg, #f59e0b 0%, #d97706 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 6px 20px rgba(245, 158, 11, 0.3)`},children:(0,$.jsx)(m4,{style:{fontSize:24,color:`#fff`}})}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{className:`shiny-text-container`,style:{marginBottom:4},children:(0,$.jsx)(`span`,{className:`shiny-text`,style:{fontSize:26,fontWeight:700,backgroundImage:`linear-gradient(90deg, #f59e0b 0%, #d97706 30%, #ea580c 50%, #d97706 70%, #f59e0b 100%)`},children:`行业爆款大盘`})}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,fontSize:13,color:`#b45309`},children:[(0,$.jsx)(F8,{style:{fontSize:12}}),(0,$.jsx)(`span`,{children:`实时追踪全网热门素材趋势`})]})]})]}),(0,$.jsx)(Q.Text,{style:{color:`#78716c`,fontSize:14,lineHeight:1.7},children:`实时追踪各行业爆款素材,把握创作风向,打造热门内容`})]}),(0,$.jsx)(`div`,{style:{position:`relative`},children:(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{padding:`24px 28px`,borderRadius:16,background:`#fff`},children:[(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:20},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,marginRight:10}}),(0,$.jsx)(A5,{style:{marginRight:8,color:`#6366f1`,fontSize:16}}),(0,$.jsx)(`span`,{style:{fontSize:17,fontWeight:600,color:`#1f2937`},children:`爆款素材榜单`}),(0,$.jsx)(`span`,{style:{marginLeft:10,fontSize:12,fontWeight:400,color:`#94a3b8`}})]})}),(0,$.jsxs)(`div`,{className:`stagger-children`,style:{display:`grid`,gridTemplateColumns:`repeat(2, 1fr)`,gap:16,position:`relative`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,zIndex:1,inset:0,background:`rgb(255,255,255)`,display:`flex`,alignItems:`center`,justifyContent:`center`,flexDirection:`column`,gap:2,color:`#fff`,borderRadius:6},children:(0,$.jsxs)(X,{type:`primary`,size:`middle`,onClick:()=>{Z.info(`请联系客服开通会员`)},style:{borderRadius:10,fontWeight:500,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,boxShadow:`0 4px 14px rgba(99, 102, 241, 0.28)`},children:[(0,$.jsx)(k6,{style:{marginRight:6}}),`立即解锁全部`,(0,$.jsx)($2,{style:{marginLeft:4,fontSize:12}})]})}),[{rank:1,title:`夏日美妆教程:3 步打造奶油肌`,author:`美妆博主·小雅`,views:`128.4w`,likes:`12.6w`,comments:`8,234`,tag:`NO.1`,tagColor:`#f59e0b`},{rank:2,title:`平价穿搭 | 学生党一周不重样`,author:`穿搭达人·Miki`,views:`96.2w`,likes:`9.8w`,comments:`6,128`,tag:`NO.2`,tagColor:`#a78bfa`},{rank:3,title:`探店 vlog | 网红咖啡馆测评`,author:`美食探店·阿伦`,views:`78.5w`,likes:`7.4w`,comments:`4,892`,tag:`NO.3`,tagColor:`#6366f1`},{rank:4,title:`iPhone 16 Pro 一周深度体验`,author:`数码评测·老王`,views:`65.7w`,likes:`6.1w`,comments:`3,847`,tag:`NO.4`,tagColor:`#94a3b8`}].map(e=>(0,$.jsxs)(`div`,{className:`project-card animate-fadeInUp`,style:{display:`flex`,gap:14,padding:14,borderRadius:14,background:`#fff`,border:`1px solid #e2e8f0`,cursor:`pointer`},children:[(0,$.jsxs)(`div`,{style:{position:`relative`,width:140,height:80,flexShrink:0,borderRadius:10,overflow:`hidden`,background:`linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:[(0,$.jsx)(C8,{style:{fontSize:28,color:`rgba(255,255,255,0.6)`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:6,left:6,padding:`2px 8px`,borderRadius:6,background:e.tagColor,color:`#fff`,fontSize:11,fontWeight:600},children:e.tag})]}),(0,$.jsxs)(`div`,{style:{flex:1,minWidth:0,display:`flex`,flexDirection:`column`},children:[(0,$.jsx)(`div`,{style:{fontSize:14,fontWeight:600,color:`#1e293b`,marginBottom:4,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},children:e.title}),(0,$.jsx)(`div`,{style:{fontSize:12,color:`#94a3b8`,marginBottom:8},children:e.author}),(0,$.jsxs)(`div`,{style:{display:`flex`,gap:12,fontSize:12,color:`#64748b`},children:[(0,$.jsxs)(`span`,{children:[(0,$.jsx)(WW,{style:{marginRight:3}}),e.views]}),(0,$.jsxs)(`span`,{children:[(0,$.jsx)(C6,{style:{marginRight:3}}),e.likes]}),(0,$.jsxs)(`span`,{children:[(0,$.jsx)(d3,{style:{marginRight:3}}),e.comments]})]})]})]},e.rank))]})]})})]}),yoe=()=>(0,$.jsxs)(`div`,{className:`content_box`,children:[(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{padding:`28px 32px`,borderRadius:16,background:`linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #fce7f3 100%)`,border:`1px solid rgba(139, 92, 246, 0.12)`,marginBottom:24,position:`relative`,overflow:`hidden`},children:[(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:14,marginBottom:12},children:[(0,$.jsx)(`div`,{style:{width:52,height:52,borderRadius:14,background:`linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 6px 20px rgba(139, 92, 246, 0.3)`},children:(0,$.jsx)(q3,{style:{fontSize:24,color:`#fff`}})}),(0,$.jsxs)(`div`,{children:[(0,$.jsx)(`div`,{className:`shiny-text-container`,style:{marginBottom:4},children:(0,$.jsx)(`span`,{className:`shiny-text`,style:{fontSize:26,fontWeight:700},children:`创意素材案例`})}),(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,fontSize:13,color:`#7c3aed`},children:[(0,$.jsx)(b3,{style:{fontSize:12}}),(0,$.jsx)(`span`,{children:`探索 AI 创作无限可能`})]})]})]}),(0,$.jsx)(Q.Text,{style:{color:`#64748b`,fontSize:14,lineHeight:1.7},children:`精选 AI 生成的优秀素材案例,展示 AI 创作的无限潜力与创意灵感`})]}),(0,$.jsxs)(`div`,{className:`animate-fadeInUp`,style:{padding:`24px 28px`,borderRadius:16,background:`#fff`,position:`relative`},children:[(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`,marginBottom:20},children:(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`},children:[(0,$.jsx)(`div`,{style:{width:4,height:18,background:`linear-gradient(180deg, #6366f1, #8b5cf6)`,borderRadius:2,marginRight:10}}),(0,$.jsx)(x5,{style:{marginRight:8,color:`#f59e0b`,fontSize:16}}),(0,$.jsx)(`span`,{style:{fontSize:17,fontWeight:600,color:`#1f2937`},children:`精选案例展示`})]})}),(0,$.jsxs)(`div`,{className:`stagger-children`,style:{display:`grid`,gridTemplateColumns:`repeat(3, 1fr)`,gap:16,marginBottom:16,position:`relative`},children:[(0,$.jsx)(`div`,{style:{position:`absolute`,inset:0,zIndex:1,background:`rgb(255,255,255)`,display:`flex`,alignItems:`center`,justifyContent:`center`,flexDirection:`column`,borderRadius:14,gap:4,color:`#fff`},children:(0,$.jsxs)(X,{type:`primary`,size:`middle`,onClick:()=>{Z.info(`请联系客服开通会员`)},style:{borderRadius:10,fontWeight:500,background:`linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%)`,border:`none`,boxShadow:`0 4px 14px rgba(99, 102, 241, 0.28)`},children:[(0,$.jsx)(k6,{style:{marginRight:6}}),`解锁全部案例`,(0,$.jsx)($2,{style:{marginLeft:4,fontSize:12}})]})}),[{title:`美妆直播切片`,tag:`热门`,tagColor:`#ef4444`},{title:`3C 数码测评`,tag:`推荐`,tagColor:`#6366f1`},{title:`美食探店 vlog`,tag:`推荐`,tagColor:`#6366f1`},{title:`服饰穿搭合集`,tag:`热门`,tagColor:`#ef4444`},{title:`家居场景展示`,tag:`推荐`,tagColor:`#6366f1`},{title:`母婴亲子内容`,tag:`热门`,tagColor:`#ef4444`}].map((e,t)=>(0,$.jsxs)(`div`,{className:`project-card animate-fadeInUp`,style:{position:`relative`,borderRadius:14,overflow:`hidden`,cursor:`pointer`,border:`1px solid #e2e8f0`,background:`#fff`},children:[(0,$.jsxs)(`div`,{style:{position:`relative`,aspectRatio:`16/9`,background:`linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:[(0,$.jsx)(C8,{style:{fontSize:36,color:`rgba(255,255,255,0.6)`}}),(0,$.jsx)(`div`,{style:{position:`absolute`,top:10,left:10,padding:`2px 8px`,borderRadius:6,background:e.tagColor,color:`#fff`,fontSize:11,fontWeight:500},children:e.tag})]}),(0,$.jsxs)(`div`,{style:{padding:`10px 14px`,background:`#f8fafc`,display:`flex`,alignItems:`center`,justifyContent:`space-between`},children:[(0,$.jsx)(`span`,{style:{fontSize:13,color:`#334155`,fontWeight:500,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},children:e.title}),(0,$.jsx)(WW,{style:{fontSize:13,color:`#94a3b8`}})]})]},t))]})]})]}),{RangePicker:boe}=GV;function Y9(e){if(!e)return`-`;try{return new Date(e).toLocaleString(`zh-CN`,{hour12:!1})}catch{return`-`}}var xoe={recharge:{color:`green`,label:`充值`},consume:{color:`red`,label:`消费`},refund:{color:`orange`,label:`退款`},team_internal:{color:`blue`,label:`团队内部`}},Soe=()=>{let[e,t]=(0,S.useState)(null),[n,r]=(0,S.useState)(!1),i=(0,S.useCallback)(async()=>{r(!0);try{t(await Mie())}catch(e){Z.error(e?.message||`获取团队信息失败`)}finally{r(!1)}},[]);(0,S.useEffect)(()=>{i()},[i]);let[a,o]=(0,S.useState)([]),[s,c]=(0,S.useState)(0),[l,u]=(0,S.useState)(!1),[d,f]=(0,S.useState)(1),p=(0,S.useCallback)(async()=>{if(e){u(!0);try{let e=await Nie(d);o(e.items||[]),c(e.total||0)}catch(e){Z.error(e?.message||`加载成员失败`)}finally{u(!1)}}},[e,d]);(0,S.useEffect)(()=>{p()},[p]);let[m,h]=(0,S.useState)({open:!1,member:null}),[g]=jU.useForm(),[_,v]=(0,S.useState)(!1),y=async()=>{if(m.member)try{let e=await g.validateFields(),t=Number(e.amount);if(!t||t<=0||t>9999999){Z.error(`请输入有效的正数积分数量`);return}v(!0),await Pie(m.member.id,t,e.direction||`increase`,e.description),Z.success(e.direction===`decrease`?`积分扣减成功`:`积分增加成功`),h({open:!1,member:null}),g.resetFields(),p(),pe()}catch(e){if(e?.errorFields)return;Z.error(e?.message||`操作失败`)}finally{v(!1)}},[b,x]=(0,S.useState)([]),[C,w]=(0,S.useState)(!1),[T,E]=(0,S.useState)(!1),[D]=jU.useForm(),[O,k]=(0,S.useState)(!1),A=(0,S.useCallback)(async()=>{w(!0);try{x(await Fie()||[])}catch(e){Z.error(e?.message||`加载邀请码失败`)}finally{w(!1)}},[]);(0,S.useEffect)(()=>{A()},[A]);let j=async()=>{try{let e=await D.validateFields();k(!0),await Iie(e.maxUses||null,null),Z.success(`邀请码已生成`),E(!1),D.resetFields(),A()}catch(e){if(e?.errorFields)return;Z.error(e?.message||`创建失败`)}finally{k(!1)}},M=async e=>{try{await Lie(e),Z.success(`已撤销`),A()}catch(e){Z.error(e?.message||`撤销失败`)}},N=e=>{navigator.clipboard&&window.isSecureContext?navigator.clipboard.writeText(e).then(()=>{Z.success(`邀请链接已复制`)}).catch(()=>{P(e)}):P(e)},P=e=>{let t=document.createElement(`textarea`);t.value=e,t.style.position=`fixed`,t.style.left=`-9999px`,t.style.top=`-9999px`,document.body.appendChild(t),t.focus(),t.select();try{document.execCommand(`copy`),Z.success(`邀请链接已复制`)}catch{Z.warning(`复制失败,请手动复制`)}document.body.removeChild(t)},[F,I]=(0,S.useState)([]),[L,R]=(0,S.useState)(!1),[z,B]=(0,S.useState)(`members`),V=(0,S.useRef)(!1),H=(0,S.useRef)(0),U=(0,S.useCallback)(async(e=!1)=>{R(!0);try{let t=await Rie(),n=t?.length||0;I(t||[]),n>0&&(e&&!V.current?(V.current=!0,WK.confirm({title:(0,$.jsxs)(LH,{children:[(0,$.jsx)(_4,{style:{color:`#f59e0b`}}),`待处理的加入申请`]}),content:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`p`,{children:[`您有 `,(0,$.jsx)(`strong`,{style:{color:`#ef4444`},children:n}),` 条待处理的团队加入申请。`]}),(0,$.jsx)(`p`,{style:{color:`#64748b`,fontSize:13,marginBottom:0},children:`请及时处理新成员的加入申请。`})]}),okText:`立即处理`,cancelText:`稍后处理`,onOk:()=>{B(`requests`)}})):!e&&n>H.current&&Z.info({content:`有 ${n-H.current} 条新的加入申请待处理`,duration:5})),H.current=n}catch(e){Z.error(e?.message||`加载申请失败`)}finally{R(!1)}},[]);(0,S.useEffect)(()=>{U(!0)},[U]),(0,S.useEffect)(()=>{if(!e)return;let t=setInterval(()=>{U(!1)},6e4);return()=>clearInterval(t)},[e,U]);let W=async(e,t,n)=>{try{await zie(e,t,n),Z.success(t===`approve`?`已通过`:`已拒绝`),U(),p()}catch(e){Z.error(e?.message||`操作失败`)}},[ee,te]=(0,S.useState)([]),[ne,re]=(0,S.useState)(0),[G,ie]=(0,S.useState)(null),[K,ae]=(0,S.useState)(!1),[q,oe]=(0,S.useState)(1),[se,ce]=(0,S.useState)(``),[le,ue]=(0,S.useState)(``),[de,fe]=(0,S.useState)(()=>{let e=(0,XE.default)().format(`YYYY-MM-DD`);return[e,e]}),pe=(0,S.useCallback)(async()=>{ae(!0);try{let e=await Uie({page:q,pageSize:10,phone:le||void 0,recordType:se||void 0,startDate:de?.[0]||void 0,endDate:de?.[1]||void 0});te(e.items||[]),re(e.total||0),ie(e.summary||null)}catch(e){Z.error(e?.message||`加载积分记录失败`)}finally{ae(!1)}},[q,se,le,de]);(0,S.useEffect)(()=>{pe()},[pe]);let me=()=>{ce(``),ue(``);let e=(0,XE.default)().format(`YYYY-MM-DD`);fe([e,e]),oe(1)},he=()=>{let e=Wie({phone:le||void 0,recordType:se||void 0,startDate:de?.[0]||void 0,endDate:de?.[1]||void 0}),t=localStorage.getItem(`auth_token`),n=t?{Authorization:`Bearer ${t}`}:{};fetch(e,{headers:n}).then(e=>e.blob()).then(e=>{let t=document.createElement(`a`);t.href=URL.createObjectURL(e),t.download=`团队积分_${(0,XE.default)().format(`YYYYMMDD_HHmmss`)}.csv`,t.click(),URL.revokeObjectURL(t.href)}).catch(()=>Z.error(`导出失败`))},ge=[{title:`用户名`,dataIndex:`username`,width:140,render:e=>(0,$.jsx)(Q.Text,{strong:!0,children:e})},{title:`手机号`,dataIndex:`phone`,width:130,render:e=>e||`-`},{title:`积分`,dataIndex:`credits`,width:100,render:e=>(0,$.jsx)(Q.Text,{style:{color:`#6366f1`},children:(e??0).toFixed(2)})},{title:`状态`,dataIndex:`isActive`,width:80,render:e=>(0,$.jsx)(E$,{color:e?`green`:`red`,children:e?`启用`:`禁用`})},{title:`加入时间`,dataIndex:`joinedAt`,width:170,render:e=>Y9(e)},{title:`操作`,key:`action`,width:100,render:(e,t)=>{let n=G7.getState().user?.id;return t.id===n?(0,$.jsx)(Iw,{title:`不能给自己调整积分`,children:(0,$.jsx)(X,{size:`small`,type:`link`,style:{padding:0,color:`#999`,cursor:`not-allowed`},disabled:!0,children:`调整积分`})}):(0,$.jsx)(X,{size:`small`,type:`link`,style:{padding:0},onClick:()=>{h({open:!0,member:t}),g.resetFields()},children:`调整积分`})}}],_e=e=>`${window.location.origin}/join-team?code=${e}`,ve=[{title:`邀请码`,dataIndex:`code`,width:200,render:e=>(0,$.jsx)(Q.Text,{copyable:!0,style:{fontFamily:`monospace`},children:e})},{title:`邀请链接`,dataIndex:`code`,render:e=>{let t=_e(e);return(0,$.jsxs)(LH,{style:{width:`100%`},children:[(0,$.jsx)(Q.Text,{style:{flex:1,fontSize:12,wordBreak:`break-all`,fontFamily:`monospace`,color:`#64748b`},children:t}),(0,$.jsx)(Iw,{title:`复制链接`,children:(0,$.jsx)(X,{size:`small`,type:`text`,icon:(0,$.jsx)(j1,{}),onClick:()=>N(t)})})]})}},{title:`状态`,dataIndex:`status`,width:80,render:e=>(0,$.jsx)(E$,{color:e===`active`?`green`:`default`,children:e===`active`?`有效`:`已撤销`})},{title:`使用次数`,key:`uses`,width:100,render:(e,t)=>`${t.useCount}${t.maxUses?`/${t.maxUses}`:``}`},{title:`过期时间`,dataIndex:`expiresAt`,width:170,render:e=>e?Y9(e):`永不过期`},{title:`操作`,key:`action`,width:80,render:(e,t)=>t.status===`active`?(0,$.jsx)(X,{size:`small`,type:`link`,danger:!0,onClick:()=>M(t.id),children:`撤销`}):null}],ye=[{title:`申请人`,dataIndex:`username`,width:140,render:e=>(0,$.jsx)(Q.Text,{strong:!0,children:e})},{title:`手机号`,dataIndex:`phone`,width:130,render:e=>e||`-`},{title:`申请时间`,dataIndex:`createdAt`,width:170,render:e=>Y9(e)},{title:`操作`,key:`action`,width:160,render:(e,t)=>(0,$.jsxs)(LH,{size:4,children:[(0,$.jsx)(X,{size:`small`,type:`link`,style:{color:`#16a34a`,padding:0},onClick:()=>W(t.id,`approve`),children:`通过`}),(0,$.jsx)(X,{size:`small`,type:`link`,danger:!0,style:{padding:0},onClick:()=>{WK.confirm({title:`拒绝申请`,content:(0,$.jsx)(jU,{layout:`vertical`,style:{marginTop:12},children:(0,$.jsx)(jU.Item,{name:`note`,label:`拒绝原因(可选)`,children:(0,$.jsx)(fG.TextArea,{rows:2,placeholder:`选填`,id:`reject-note-input`})})}),onOk:()=>{let e=document.getElementById(`reject-note-input`)?.value||void 0;W(t.id,`reject`,e)}})},children:`拒绝`})]})}],be=[{title:`用户名`,dataIndex:`username`,width:120,render:e=>(0,$.jsx)(Q.Text,{strong:!0,children:e||`-`})},{title:`手机号`,dataIndex:`phone`,width:120,render:e=>e||`-`},{title:`类型`,dataIndex:`type`,width:100,render:(e,t)=>{let n=xoe[t.type]||{color:`default`,label:t.type||`-`};return(0,$.jsx)(E$,{color:n.color,children:n.label})}},{title:`变动积分`,dataIndex:`amount`,width:110,align:`right`,render:(e,t)=>(0,$.jsxs)(Q.Text,{strong:!0,style:{color:t.amount>=0?`#10b981`:`#ef4444`,fontSize:14},children:[t.amount>=0?`+`:``,(t.amount??0).toFixed(2)]})},{title:`余额`,dataIndex:`balanceAfter`,width:100,align:`right`,render:e=>(e??0).toFixed(2)},{title:`说明`,dataIndex:`description`,ellipsis:!0,minWidth:160,render:e=>e||`-`},{title:`时间`,dataIndex:`createdAt`,width:170,render:e=>Y9(e)}],xe={borderRadius:16,background:`#fff`,border:`1px solid #f0f0f5`,overflow:`hidden`},Se={padding:`16px`,textAlign:`right`},Ce=[{key:`members`,label:(0,$.jsxs)(LH,{children:[(0,$.jsx)(I5,{}),`成员列表`,s>0&&(0,$.jsxs)(`span`,{style:{color:`#94a3b8`,fontSize:12},children:[`(`,s,`)`]})]}),children:(0,$.jsxs)(`div`,{style:xe,children:[(0,$.jsx)(p$,{columns:ge,dataSource:a,rowKey:`id`,loading:l,pagination:!1,bordered:!1,scroll:{x:800},locale:{emptyText:(0,$.jsx)(gC,{description:`暂无成员`})}}),s>0&&(0,$.jsx)(`div`,{style:Se,children:(0,$.jsx)(QG,{current:d,pageSize:20,total:s,onChange:e=>f(e),size:`small`})})]})},{key:`credits`,label:(0,$.jsxs)(LH,{children:[(0,$.jsx)(B5,{}),`团队积分变动`]}),children:(0,$.jsxs)(`div`,{children:[(0,$.jsxs)(`div`,{style:{marginBottom:12,display:`flex`,gap:8,flexWrap:`wrap`,alignItems:`center`},children:[(0,$.jsx)(KC,{value:se||void 0,onChange:e=>{ce(e||``),oe(1)},allowClear:!0,placeholder:`交易类型`,style:{width:130},options:[{value:`recharge`,label:`充值`},{value:`consume`,label:`消费`},{value:`team_internal`,label:`团队内部`},{value:`refund`,label:`退款`}]}),(0,$.jsx)(fG,{placeholder:`搜索手机号`,value:le,onChange:e=>{ue(e.target.value),oe(1)},style:{width:160},allowClear:!0}),(0,$.jsx)(boe,{value:de?[(0,XE.default)(de[0]),(0,XE.default)(de[1])]:void 0,onChange:e=>{e&&e[0]&&e[1]?fe([e[0].format(`YYYY-MM-DD`),e[1].format(`YYYY-MM-DD`)]):fe(null),oe(1)}}),(0,$.jsx)(X,{onClick:me,children:`重置`}),(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(U0,{}),onClick:he,children:`导出 Excel`})]}),(0,$.jsx)(`div`,{style:{marginBottom:12,padding:`8px 16px`,background:`#f8f9fc`,borderRadius:8,display:`flex`,gap:24,flexWrap:`wrap`,fontSize:13},children:(0,$.jsxs)(`span`,{children:[`总消耗积分:`,(0,$.jsx)(`strong`,{style:{color:`#ef4444`,fontSize:15},children:G?.totalConsume??0})]})}),(0,$.jsxs)(`div`,{style:xe,children:[(0,$.jsx)(p$,{rowKey:`id`,loading:K,dataSource:ee,pagination:!1,bordered:!1,scroll:{x:950},columns:be,locale:{emptyText:(0,$.jsx)(gC,{description:`暂无积分记录`})}}),ne>0&&(0,$.jsx)(`div`,{style:Se,children:(0,$.jsx)(QG,{current:q,pageSize:10,total:ne,onChange:e=>oe(e),size:`small`,showTotal:e=>`共 ${e} 条`})})]})]})},{key:`invitations`,label:(0,$.jsxs)(LH,{children:[(0,$.jsx)(j1,{}),`邀请管理`]}),children:(0,$.jsxs)(`div`,{style:xe,children:[(0,$.jsx)(`div`,{style:{padding:16,paddingBottom:0},children:(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(NL,{}),onClick:()=>E(!0),children:`生成邀请码`})}),(0,$.jsx)(p$,{columns:ve,dataSource:b,rowKey:`id`,loading:C,pagination:!1,bordered:!1,scroll:{x:900},locale:{emptyText:(0,$.jsx)(gC,{description:`暂无邀请码`})}})]})},{key:`requests`,label:(0,$.jsxs)(LH,{children:[(0,$.jsx)(a6,{}),`加入申请`,F.length>0&&(0,$.jsx)(E$,{color:`red`,children:F.length})]}),children:(0,$.jsx)(`div`,{style:xe,children:(0,$.jsx)(p$,{columns:ye,dataSource:F,rowKey:`id`,loading:L,pagination:!1,bordered:!1,scroll:{x:600},locale:{emptyText:(0,$.jsx)(gC,{description:`暂无待审批申请`})}})})}];return(0,$.jsxs)(`div`,{style:{padding:24},children:[(0,$.jsx)(`div`,{style:{marginBottom:24},children:n?(0,$.jsx)(Q.Text,{type:`secondary`,children:`加载中...`}):e?(0,$.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,flexWrap:`wrap`,gap:12},children:[(0,$.jsxs)(`div`,{children:[(0,$.jsx)(Q.Title,{level:4,style:{margin:0},children:e.name}),(0,$.jsxs)(Q.Text,{type:`secondary`,children:[`代码: `,e.code||`-`,` 成员: `,e.memberCount,` 人`]})]}),(0,$.jsx)(X,{icon:(0,$.jsx)(eJ,{}),onClick:()=>{i(),p(),A(),U(),pe()},children:`刷新`})]}):(0,$.jsx)(Q.Text,{type:`secondary`,children:`无法获取团队信息`})}),(0,$.jsx)(tR,{items:Ce,activeKey:z,onChange:B,size:`large`}),(0,$.jsx)(WK,{title:(0,$.jsxs)(LH,{children:[(0,$.jsx)(I5,{}),`调整成员积分 - `,m.member?.username]}),open:m.open,confirmLoading:_,onOk:y,onCancel:()=>h({open:!1,member:null}),okText:`确认`,width:480,children:(0,$.jsxs)(jU,{form:g,layout:`vertical`,style:{marginTop:16},initialValues:{direction:`increase`},children:[(0,$.jsxs)(`div`,{style:{marginBottom:16,padding:`10px 16px`,background:`#f0f4ff`,borderRadius:8,display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,$.jsx)(Q.Text,{type:`secondary`,children:`我的当前积分`}),(0,$.jsx)(Q.Text,{strong:!0,style:{fontSize:20,color:`#6366f1`},children:G7.getState().user?.credits?.toFixed(2)??`0.00`})]}),(0,$.jsx)(jU.Item,{name:`direction`,label:`操作类型`,rules:[{required:!0,message:`请选择操作类型`}],children:(0,$.jsxs)(sL.Group,{buttonStyle:`solid`,size:`large`,style:{width:`100%`},children:[(0,$.jsx)(sL.Button,{value:`increase`,style:{width:`50%`,textAlign:`center`},children:`增加成员积分`}),(0,$.jsx)(sL.Button,{value:`decrease`,style:{width:`50%`,textAlign:`center`},children:`扣减成员积分`})]})}),(0,$.jsx)(jU.Item,{name:`amount`,label:`积分数量`,required:!0,rules:[{required:!0,message:`请输入积分数量`},{type:`number`,min:.01,message:`必须大于 0`},{type:`number`,max:9999999,message:`单次不能超过 9999999`}],validateTrigger:[`onChange`,`onBlur`],children:(0,$.jsx)(TB,{style:{width:`100%`},step:1,min:.01,max:9999999,precision:2,placeholder:`请输入正数积分数量`,size:`large`,formatter:e=>{if(!e)return``;let t=`${e}`.replace(/[^0-9.]/g,``);return t=t.replace(/^0+(?=\d)/,``),t},parser:e=>{if(!e||e===`.`)return``;let t=parseFloat(e);return isNaN(t)||t<=0?``:Math.min(t,9999999)},onKeyDown:e=>{(e.key===`-`||e.key===`e`||e.key===`E`)&&e.preventDefault()},onChange:e=>{e??g.validateFields([`amount`])}})}),(0,$.jsx)(jU.Item,{name:`description`,label:`备注`,children:(0,$.jsx)(fG.TextArea,{rows:2,maxLength:256,placeholder:`选填,例如:活动奖励`})})]})}),(0,$.jsx)(WK,{title:(0,$.jsxs)(LH,{children:[(0,$.jsx)(j1,{}),`生成邀请码`]}),open:T,confirmLoading:O,onOk:j,onCancel:()=>{E(!1),D.resetFields()},okText:`生成`,width:480,children:(0,$.jsxs)(jU,{form:D,layout:`vertical`,style:{marginTop:16},children:[(0,$.jsx)(jU.Item,{name:`maxUses`,label:`最大使用次数`,children:(0,$.jsx)(TB,{style:{width:`100%`},min:1,placeholder:`留空表示不限`,size:`large`})}),(0,$.jsxs)(`div`,{style:{padding:`12px 16px`,background:`#eef2ff`,borderRadius:8,fontSize:13,color:`#4f46e5`,display:`flex`,alignItems:`center`,gap:8},children:[(0,$.jsx)(RV,{}),(0,$.jsxs)(`span`,{children:[`邀请码自生成起 `,(0,$.jsx)(`strong`,{children:`24 小时`}),` 内有效,过期自动失效。`]})]})]})})]})},Coe=()=>{let[e]=On(),t=Ye(),n=e.get(`code`)||``,{user:r,loading:i,checkAuth:a}=G7(),[o,s]=(0,S.useState)(!0),[c,l]=(0,S.useState)(null),[u,d]=(0,S.useState)(!1),[f,p]=(0,S.useState)(!1),[m,h]=(0,S.useState)(!1);return(0,S.useEffect)(()=>{a()},[a]),(0,S.useEffect)(()=>{if(!n){s(!1);return}i||(s(!0),(r?Bie(n):Vie(n)).then(e=>{l(e),e?.valid&&r&&!e.alreadyInTeam&&!e.hasPendingRequest&&h(!0)}).catch(()=>l(null)).finally(()=>s(!1)))},[n,r,i]),i||o?(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,alignItems:`center`,minHeight:`60vh`},children:(0,$.jsx)(yK,{size:`large`})}):f?(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,padding:40},children:(0,$.jsx)(wJ,{status:`success`,icon:(0,$.jsx)(V4,{style:{color:`#6366f1`}}),title:`申请已提交`,subTitle:`您的加入申请已提交,请等待团队管理人审批。审批通过后将自动加入团队。`,extra:(0,$.jsxs)(LH,{children:[(0,$.jsx)(X,{type:`primary`,onClick:()=>t(`/projects`),children:`返回首页`}),r&&(0,$.jsx)(X,{onClick:()=>t(`/team-management`),children:`团队管理`})]})})}):!n||!c?.valid?(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,padding:40},children:(0,$.jsx)(wJ,{status:`error`,title:`邀请链接无效`,subTitle:`该邀请链接可能已过期或不存在,请联系团队管理人重新获取。`,extra:(0,$.jsx)(X,{type:`primary`,onClick:()=>t(`/projects`),children:`返回首页`})})}):c.alreadyInTeam?(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,padding:40},children:(0,$.jsx)(wJ,{status:`info`,title:`您已在此团队中`,subTitle:`您已经是「${c.teamName}」的成员了,无需再次加入。`,extra:(0,$.jsx)(LH,{children:(0,$.jsx)(X,{type:`primary`,onClick:()=>t(`/projects`),children:`返回首页`})})})}):c.hasPendingRequest?(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,padding:40},children:(0,$.jsx)(wJ,{status:`info`,title:`申请待审批`,subTitle:`您已提交加入「${c.teamName}」的申请,请等待团队管理人审批。`,extra:(0,$.jsxs)(LH,{children:[(0,$.jsx)(X,{type:`primary`,onClick:()=>t(`/projects`),children:`返回首页`}),(0,$.jsx)(X,{onClick:()=>t(`/team-management`),children:`团队管理`})]})})}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,padding:40},children:(0,$.jsxs)(rR,{variant:`outlined`,style:{borderRadius:16,maxWidth:480,width:`100%`,textAlign:`center`},children:[(0,$.jsx)(T5,{style:{fontSize:48,color:`#6366f1`,marginBottom:16}}),(0,$.jsx)(Q.Title,{level:3,children:`加入团队`}),(0,$.jsx)(Q.Text,{style:{fontSize:16,color:`#475569`,display:`block`,marginBottom:8},children:`您被邀请加入团队`}),(0,$.jsxs)(Q.Title,{level:4,style:{color:`#6366f1`,margin:`16px 0 24px`},children:[`「`,c.teamName,`」`]}),(0,$.jsx)(Q.Text,{type:`secondary`,style:{display:`block`,marginBottom:24},children:`加入后团队管理人可以为您分配积分、查看您的积分使用情况。`}),r?(0,$.jsx)(X,{type:`primary`,size:`large`,block:!0,loading:u,onClick:()=>h(!0),children:`申请加入`}):(0,$.jsxs)(LH,{direction:`vertical`,style:{width:`100%`},size:12,children:[(0,$.jsx)(X,{type:`primary`,size:`large`,block:!0,icon:(0,$.jsx)(M6,{}),onClick:()=>{t(`/login?redirect=${encodeURIComponent(window.location.pathname+window.location.search)}`)},children:`登录后申请加入`}),(0,$.jsx)(X,{size:`large`,block:!0,icon:(0,$.jsx)(ere,{}),onClick:()=>{t(`/login?tab=register&redirect=${encodeURIComponent(window.location.pathname+window.location.search)}`)},children:`注册新账号`}),(0,$.jsx)(Q.Text,{type:`secondary`,style:{fontSize:12},children:`登录或注册后将自动提交加入申请`})]})]})}),(0,$.jsxs)(WK,{title:(0,$.jsxs)(LH,{children:[(0,$.jsx)(T5,{style:{color:`#6366f1`}}),`确认加入团队`]}),open:m,onOk:async()=>{if(n)try{d(!0),await Hie(n),p(!0),h(!1),Z.success(`申请已提交`)}catch(e){Z.error(e?.message||`申请失败`)}finally{d(!1)}},onCancel:()=>h(!1),okText:`确认加入`,cancelText:`取消`,confirmLoading:u,width:420,children:[(0,$.jsxs)(`p`,{style:{marginBottom:0},children:[`您确定要加入团队 `,(0,$.jsxs)(`strong`,{style:{color:`#6366f1`},children:[`「`,c.teamName,`」`]}),` 吗?`]}),(0,$.jsx)(`p`,{style:{marginTop:8,color:`#64748b`,fontSize:13},children:`提交后需等待团队管理人审批,审批通过后将自动加入团队。`})]})]})},{Text:X9,Title:woe,Paragraph:Z9}=Q,Toe={creating:{label:`本地创建中`,color:`processing`},Processing:{label:`火山处理中`,color:`processing`},Active:{label:`可用于生成`,color:`success`},Failed:{label:`入库失败`,color:`error`},local_deleted:{label:`本地已删`,color:`default`},remote_deleted:{label:`远端已删`,color:`default`},delete_failed:{label:`远端删除失败`,color:`error`}},Eoe={Image:{label:`图片`,color:`green`,icon:(0,$.jsx)(m8,{})},Video:{label:`视频`,color:`blue`,icon:(0,$.jsx)(R5,{})}},Doe=e=>{if(!e)return`-`;let t=new Date(e);return Number.isNaN(t.getTime())?`-`:`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)} ${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`},Ooe=e=>{let t=Number(e||0);return t?t>=1024*1024*1024?`${(t/1024/1024/1024).toFixed(2)} GB`:t>=1024*1024?`${(t/1024/1024).toFixed(2)} MB`:t>=1024?`${(t/1024).toFixed(2)} KB`:`${t} B`:`-`},koe=e=>e?e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(`data:`)||e.startsWith(`blob:`)?e:`${`http://ceshi.apiforeign.minzhong.cn`.replace(/\/$/,``)}${e.startsWith(`/`)?``:`/`}${e}`:``,Q9=e=>koe(e.previewUrl||e.displayUrl||e.videoCoverUrl||e.remoteUrl||e.sourceUrl),Aoe=e=>{if(!e)return`Image`;if(e.type.startsWith(`video/`))return`Video`;let t=e.name.toLowerCase();return/\.(mp4|mov|webm|m4v|avi|mkv)$/.test(t)?`Video`:`Image`},joe=e=>new Promise(t=>{if(!e.type.startsWith(`video/`)){t(null);return}let n=URL.createObjectURL(e),r=document.createElement(`video`);r.preload=`metadata`,r.onloadedmetadata=()=>{let e=Number.isFinite(r.duration)?r.duration:null;URL.revokeObjectURL(n),t(e)},r.onerror=()=>{URL.revokeObjectURL(n),t(null)},r.src=n}),$9=({status:e})=>{let t=e||`-`,n=Toe[t];return(0,$.jsx)(E$,{color:n?.color||`default`,children:n?.label||t})},Moe=({type:e})=>{let t=e||`-`,n=Eoe[t];return(0,$.jsx)(E$,{color:n?.color||`default`,icon:n?.icon,children:n?.label||t})},Noe=()=>{let{message:e}=sx.useApp(),t=Ye(),[n,r]=(0,S.useState)(null),[i,a]=(0,S.useState)([]),[o,s]=(0,S.useState)(),[c,l]=(0,S.useState)([]),[u,d]=(0,S.useState)(!1),[f,p]=(0,S.useState)(!1),[m,h]=(0,S.useState)(1),[g,_]=(0,S.useState)(20),[v,y]=(0,S.useState)(0),[b,x]=(0,S.useState)(``),[C,w]=(0,S.useState)(),[T,E]=(0,S.useState)(),[D,O]=(0,S.useState)(!1),[k,A]=(0,S.useState)(!1),[j,M]=(0,S.useState)(!1),[N,P]=(0,S.useState)(!1),[F,I]=(0,S.useState)([]),[L,R]=(0,S.useState)(``),[z,B]=(0,S.useState)(!1),[V,H]=(0,S.useState)(``),[U,W]=(0,S.useState)(`Image`),[ee]=jU.useForm(),te=(0,S.useMemo)(()=>i.find(e=>e.id===o)||null,[i,o]),ne=(0,S.useMemo)(()=>n?`已用 ${n.usedAssetCount||0} / ${n.assetLimit||0} 个素材,剩余 ${n.remainingAssetCount||0}`:`额度加载中`,[n]),re=async()=>{try{r(await wie())}catch(t){e.error(t?.message||`加载私域素材额度失败`)}},G=async()=>{d(!0);try{let e=(await Tie({page:1,pageSize:100,status:`active`})).items||[];a(e),s(t=>t&&e.some(e=>e.id===t)?t:e[0]?.id)}catch(t){e.error(t?.message||`加载虚拟人像项目组失败`)}finally{d(!1)}},ie=async(t=m,n=g)=>{if(!o){l([]),y(0);return}p(!0);try{let e=await kie(o,{page:t,pageSize:n,keyword:b.trim()||void 0,status:C,assetType:T});l(e.items||[]),y(e.total||0),h(t),_(n)}catch(t){e.error(t?.message||`加载虚拟人像素材失败`)}finally{p(!1)}},K=async()=>{await Promise.all([re(),G()])};(0,S.useEffect)(()=>{K()},[]),(0,S.useEffect)(()=>{o&&ie(1,g)},[o]);let ae=async()=>{let t=await ee.validateFields();A(!0);try{let n=await Eie(t);e.success(`虚拟人像项目组已创建`),O(!1),ee.resetFields(),await G(),s(n.id)}catch(t){e.error(t?.message||`创建项目组失败`)}finally{A(!1)}},q=async()=>{if(!o){e.warning(`请先创建或选择项目组`);return}let t=F[0]?.originFileObj;if(!t){e.warning(`请先选择图片或视频素材`);return}let n=Aoe(t);P(!0);try{let r=n===`Video`?await l7(t):await c7(t),i=n===`Video`?await joe(t):null;await Oie(o,{url:r.url,assetType:n,name:L.trim()||t.name,videoDuration:i,fileSize:t.size,mimeType:t.type||null}),e.success(n===`Video`?`视频素材已提交入库,处理中`:`图片素材已提交入库,处理中`),M(!1),I([]),R(``),await Promise.all([re(),G(),ie(1,g)])}catch(t){e.error(t?.message||`上传素材失败`)}finally{P(!1)}},oe=async t=>{try{await Aie(t),e.success(`素材状态已刷新`),await Promise.all([re(),G(),ie(m,g)])}catch(t){e.error(t?.message||`刷新素材状态失败`)}},se=async t=>{try{await jie(t),e.success(`素材已删除,远端删除将异步执行`),await Promise.all([re(),G(),ie(m,g)])}catch(t){e.error(t?.message||`删除素材失败`)}},ce=async()=>{if(o)try{await Die(o),e.success(`项目组已删除,远端资产组将异步删除`),s(void 0),await K()}catch(t){e.error(t?.message||`删除项目组失败`)}},le=t=>{let n=Q9(t);if(!n){e.warning(`暂无可预览地址`);return}H(n),W(t.assetType===`Video`?`Video`:`Image`),B(!0)};return(0,$.jsxs)(`div`,{style:{minHeight:`94vh`},children:[(0,$.jsxs)(LH,{style:{marginBottom:16},children:[(0,$.jsx)(X,{icon:(0,$.jsx)(X2,{}),onClick:()=>t(`/materials`),children:`返回素材云`}),(0,$.jsx)(woe,{level:4,style:{margin:0},children:`私域虚拟人像素材库`})]}),(0,$.jsxs)(TJ,{gutter:[16,16],style:{marginBottom:16},children:[(0,$.jsx)(Rz,{xs:24,md:8,children:(0,$.jsxs)(rR,{style:{borderRadius:16,background:`linear-gradient(135deg,#f5f3ff,#fff)`},children:[(0,$.jsx)(X9,{type:`secondary`,children:`素材总额度`}),(0,$.jsx)(`div`,{style:{fontSize:24,fontWeight:700,color:`#4f46e5`,marginTop:8},children:ne}),(0,$.jsx)(Z9,{style:{margin:`8px 0 0`,color:`#64748b`},children:`真人/虚拟共用,图片/视频共用;音频暂不开放。`})]})}),(0,$.jsx)(Rz,{xs:24,md:8,children:(0,$.jsxs)(rR,{style:{borderRadius:16},children:[(0,$.jsx)(X9,{type:`secondary`,children:`项目组`}),(0,$.jsx)(`div`,{style:{fontSize:24,fontWeight:700,color:`#1e293b`,marginTop:8},children:i.length}),(0,$.jsx)(Z9,{style:{margin:`8px 0 0`,color:`#64748b`},children:`虚拟人像项目会同步创建火山 AIGC Asset Group。`})]})}),(0,$.jsx)(Rz,{xs:24,md:8,children:(0,$.jsxs)(rR,{style:{borderRadius:16},children:[(0,$.jsx)(X9,{type:`secondary`,children:`当前项目素材`}),(0,$.jsx)(`div`,{style:{fontSize:24,fontWeight:700,color:`#1e293b`,marginTop:8},children:te?.assetCount||0}),(0,$.jsx)(Z9,{style:{margin:`8px 0 0`,color:`#64748b`},children:`仅 Active 状态素材可在 AI 创作中引用。`})]})})]}),(0,$.jsxs)(TJ,{gutter:[16,16],children:[(0,$.jsx)(Rz,{xs:24,lg:7,children:(0,$.jsx)(rR,{title:`虚拟人像项目组`,extra:(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(NL,{}),onClick:()=>O(!0),children:`创建项目组`}),style:{borderRadius:16,minHeight:520},children:(0,$.jsx)(yK,{spinning:u,children:i.length===0?(0,$.jsx)(gC,{description:`暂无虚拟人像项目组`}):(0,$.jsx)(LH,{direction:`vertical`,style:{width:`100%`},size:10,children:i.map(e=>{let t=o===e.id;return(0,$.jsxs)(`div`,{onClick:()=>s(e.id),style:{padding:14,borderRadius:14,cursor:`pointer`,border:t?`1px solid #8b5cf6`:`1px solid #e2e8f0`,background:t?`#f5f3ff`:`#fff`},children:[(0,$.jsxs)(LH,{style:{width:`100%`,justifyContent:`space-between`},align:`start`,children:[(0,$.jsxs)(`div`,{style:{minWidth:0},children:[(0,$.jsx)(X9,{strong:!0,ellipsis:!0,style:{display:`block`},children:e.name}),e.description&&(0,$.jsx)(X9,{type:`secondary`,ellipsis:!0,style:{display:`block`,fontSize:12},children:e.description})]}),(0,$.jsx)($9,{status:e.status})]}),(0,$.jsxs)(LH,{wrap:!0,size:4,style:{marginTop:10},children:[(0,$.jsxs)(E$,{children:[`总 `,e.assetCount||0]}),(0,$.jsxs)(E$,{color:`green`,children:[`图 `,e.imageAssetCount||0]}),(0,$.jsxs)(E$,{color:`blue`,children:[`视频 `,e.videoAssetCount||0]}),(0,$.jsxs)(E$,{color:`success`,children:[`Active `,e.activeAssetCount||0]})]})]},e.id)})})})})}),(0,$.jsx)(Rz,{xs:24,lg:17,children:(0,$.jsxs)(rR,{title:te?te.name:`素材资产`,extra:(0,$.jsxs)(LH,{wrap:!0,children:[(0,$.jsx)(X,{icon:(0,$.jsx)(eJ,{}),onClick:()=>{G(),ie(m,g)},loading:f,children:`刷新`}),(0,$.jsx)(X,{type:`primary`,icon:(0,$.jsx)(N5,{}),disabled:!o,onClick:()=>M(!0),children:`上传图片/视频`}),o&&(0,$.jsx)(JK,{title:`确认删除当前虚拟人像项目组吗?`,onConfirm:ce,children:(0,$.jsx)(X,{danger:!0,icon:(0,$.jsx)(B$,{}),children:`删除项目组`})})]}),style:{borderRadius:16,minHeight:520},children:[(0,$.jsxs)(LH,{style:{width:`100%`,marginBottom:16},wrap:!0,children:[(0,$.jsx)(fG.Search,{allowClear:!0,placeholder:`搜索素材名称`,value:b,onChange:e=>x(e.target.value),onSearch:()=>ie(1,g),style:{width:240}}),(0,$.jsx)(KC,{allowClear:!0,placeholder:`素材状态`,value:C,onChange:e=>w(e),style:{width:150},options:[{value:`Processing`,label:`处理中`},{value:`Active`,label:`可用`},{value:`Failed`,label:`失败`}]}),(0,$.jsx)(KC,{allowClear:!0,placeholder:`素材类型`,value:T,onChange:e=>E(e),style:{width:130},options:[{value:`Image`,label:`图片`},{value:`Video`,label:`视频`}]}),(0,$.jsx)(X,{onClick:()=>ie(1,g),children:`筛选`})]}),(0,$.jsx)(yK,{spinning:f,children:o?c.length===0?(0,$.jsx)(gC,{description:`暂无素材,上传图片/视频后会异步入库`,style:{marginTop:80}}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(auto-fill, minmax(220px, 1fr))`,gap:14},children:c.map(e=>{let t=Q9(e),n=e.assetType===`Video`;return(0,$.jsx)(rR,{hoverable:!0,bodyStyle:{padding:12},style:{borderRadius:16,overflow:`hidden`,borderColor:`#eef2f7`},cover:(0,$.jsxs)(`div`,{style:{height:170,background:`#f8fafc`,display:`flex`,alignItems:`center`,justifyContent:`center`,position:`relative`},children:[t&&!n?(0,$.jsx)(`img`,{src:t,alt:e.name||`虚拟人像素材`,style:{width:`100%`,height:`100%`,objectFit:`cover`}}):t&&n&&e.videoCoverUrl?(0,$.jsx)(`img`,{src:t,alt:e.name||`视频封面`,style:{width:`100%`,height:`100%`,objectFit:`cover`}}):n?(0,$.jsx)(R5,{style:{fontSize:42,color:`#64748b`}}):(0,$.jsx)(m8,{style:{fontSize:42,color:`#64748b`}}),n&&(0,$.jsx)(E$,{color:`blue`,style:{position:`absolute`,left:10,top:10},children:`视频`}),(0,$.jsx)(X,{size:`small`,shape:`circle`,icon:(0,$.jsx)(WW,{}),style:{position:`absolute`,right:10,top:10},onClick:()=>le(e)})]}),children:(0,$.jsxs)(LH,{direction:`vertical`,size:8,style:{width:`100%`},children:[(0,$.jsx)(Iw,{title:e.name||e.remoteAssetId||e.id,children:(0,$.jsx)(X9,{strong:!0,ellipsis:!0,style:{display:`block`},children:e.name||e.remoteAssetId||`未命名素材`})}),(0,$.jsxs)(LH,{wrap:!0,size:4,children:[(0,$.jsx)(Moe,{type:e.assetType}),(0,$.jsx)($9,{status:e.status})]}),(0,$.jsxs)(`div`,{style:{color:`#64748b`,fontSize:12,lineHeight:1.7},children:[(0,$.jsxs)(`div`,{children:[`大小:`,Ooe(e.fileSize)]}),(0,$.jsxs)(`div`,{children:[`轮询:`,e.pollCount||0,` 次`]}),(0,$.jsxs)(`div`,{children:[`创建:`,Doe(e.createdAt)]})]}),e.errorMessage&&(0,$.jsx)(`div`,{style:{color:`#ef4444`,fontSize:12},children:e.errorMessage}),(0,$.jsxs)(LH,{size:6,wrap:!0,children:[(0,$.jsx)(X,{size:`small`,icon:(0,$.jsx)($4,{}),onClick:()=>oe(e.id),children:`同步`}),(0,$.jsx)(JK,{title:`确认删除这个虚拟人像素材吗?`,onConfirm:()=>se(e.id),children:(0,$.jsx)(X,{size:`small`,danger:!0,icon:(0,$.jsx)(B$,{}),children:`删除`})})]})]})},e.id)})}),(0,$.jsx)(`div`,{style:{textAlign:`right`,marginTop:16},children:(0,$.jsx)(QG,{current:m,pageSize:g,total:v,showSizeChanger:!0,showTotal:e=>`共 ${e} 个素材`,onChange:(e,t)=>ie(e,t)})})]}):(0,$.jsx)(gC,{description:`请先创建或选择项目组`,style:{marginTop:80}})})]})})]}),(0,$.jsx)(WK,{title:`创建虚拟人像项目组`,open:D,onCancel:()=>O(!1),onOk:ae,confirmLoading:k,okText:`创建并同步火山 Asset Group`,children:(0,$.jsxs)(jU,{form:ee,layout:`vertical`,children:[(0,$.jsx)(jU.Item,{name:`name`,label:`项目组名称`,rules:[{required:!0,message:`请输入项目组名称`}],children:(0,$.jsx)(fG,{placeholder:`例如:虚拟主播A / 品牌代言人B`,maxLength:128})}),(0,$.jsx)(jU.Item,{name:`description`,label:`描述`,children:(0,$.jsx)(fG.TextArea,{placeholder:`可填写人物设定、服装风格、素材要求等`,maxLength:2e3,rows:4})})]})}),(0,$.jsx)(WK,{title:`上传虚拟人像素材`,open:j,onCancel:()=>M(!1),onOk:q,confirmLoading:N,okText:`提交入库`,children:(0,$.jsxs)(LH,{direction:`vertical`,style:{width:`100%`},size:14,children:[(0,$.jsx)(fG,{value:L,onChange:e=>R(e.target.value),placeholder:`素材名称,默认使用文件名`,maxLength:256}),(0,$.jsx)(Y0,{accept:`image/*,video/*`,maxCount:1,fileList:F,beforeUpload:()=>!1,onChange:({fileList:e})=>I(e),listType:`picture`,children:(0,$.jsx)(X,{icon:(0,$.jsx)(N5,{}),children:`选择图片或视频`})}),(0,$.jsx)(`div`,{style:{padding:12,background:`#f8fafc`,borderRadius:12,color:`#64748b`,fontSize:13},children:`当前开放图片和视频,音频暂不接入。提交后会调用火山 CreateAsset 异步处理,状态变为 Active 后才可用于 AI 创作。`})]})}),(0,$.jsx)(WK,{title:`素材预览`,open:z,onCancel:()=>B(!1),footer:null,width:760,destroyOnClose:!0,children:(0,$.jsx)(`div`,{style:{minHeight:420,display:`flex`,alignItems:`center`,justifyContent:`center`,background:`#0f172a`,borderRadius:12,overflow:`hidden`},children:U===`Video`?(0,$.jsx)(`video`,{src:V,controls:!0,autoPlay:!0,style:{maxWidth:`100%`,maxHeight:520}}):(0,$.jsx)(`img`,{src:V,alt:`素材预览`,style:{maxWidth:`100%`,maxHeight:520,objectFit:`contain`}})})})]})};XE.default.locale(`zh-cn`);var Poe=({children:e})=>{let{user:t,loading:n,checkAuth:r}=G7();return(0,S.useEffect)(()=>{!localStorage.getItem(`auth_token`)&&!n&&!t&&(window.location.href=`/login`)},[t,n]),n?(0,$.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,alignItems:`center`,height:`100vh`},children:(0,$.jsx)(yK,{size:`large`})}):t?(0,$.jsx)($.Fragment,{children:e}):(window.location.href=`/login`,null)};(0,_.createRoot)(document.getElementById(`root`)).render((0,$.jsx)(()=>{let{checkAuth:e}=G7();return(0,S.useEffect)(()=>{e()},[]),(0,$.jsx)(Fm,{locale:c2.default,theme:{token:{colorPrimary:`#6366f1`,borderRadius:8,fontFamily:`'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif`},components:{Button:{controlHeight:36,controlHeightLG:44},Card:{boxShadow:`0 1px 3px rgba(0,0,0,0.04)`},Table:{headerBg:`#fafbfc`}}},children:(0,$.jsx)(sx,{children:(0,$.jsx)(_n,{children:(0,$.jsxs)(Dt,{children:[(0,$.jsx)(Tt,{path:`/login`,element:(0,$.jsx)(Yie,{})}),(0,$.jsx)(Tt,{path:`/join-team`,element:(0,$.jsx)(Coe,{})}),(0,$.jsxs)(Tt,{path:`/`,element:(0,$.jsx)(Poe,{children:(0,$.jsx)(qie,{})}),children:[(0,$.jsx)(Tt,{index:!0,element:(0,$.jsx)(Ct,{to:`/projects`,replace:!0})}),(0,$.jsx)(Tt,{path:`projects`,element:(0,$.jsx)(Zie,{})}),(0,$.jsx)(Tt,{path:`projects/:projectId/generate`,element:(0,$.jsx)($ie,{})}),(0,$.jsx)(Tt,{path:`records`,element:(0,$.jsx)(eae,{})}),(0,$.jsx)(Tt,{path:`credits`,element:(0,$.jsx)(tae,{})}),(0,$.jsx)(Tt,{path:`credit-records`,element:(0,$.jsx)(i9,{})}),(0,$.jsx)(Tt,{path:`order-records`,element:(0,$.jsx)(i9,{})}),(0,$.jsx)(Tt,{path:`user-center`,element:(0,$.jsx)(i9,{})}),(0,$.jsx)(Tt,{path:`messages`,element:(0,$.jsx)(iae,{})}),(0,$.jsx)(Tt,{path:`home`,element:(0,$.jsx)(moe,{})}),(0,$.jsx)(Tt,{path:`conversation`,element:(0,$.jsx)(bae,{})}),(0,$.jsx)(Tt,{path:`initial`,element:(0,$.jsx)(wae,{})}),(0,$.jsx)(Tt,{path:`initial/:creatID/initialinfo`,element:(0,$.jsx)(Aae,{})}),(0,$.jsx)(Tt,{path:`removelens`,element:(0,$.jsx)(jae,{})}),(0,$.jsx)(Tt,{path:`removelens/:creatID/removeinfo`,element:(0,$.jsx)(K9,{})}),(0,$.jsx)(Tt,{path:`removelens/:creatID/removefenbu`,element:(0,$.jsx)(loe,{})}),(0,$.jsx)(Tt,{path:`generated`,element:(0,$.jsx)(Iae,{})}),(0,$.jsx)(Tt,{path:`pretest`,element:(0,$.jsx)(Rae,{})}),(0,$.jsx)(Tt,{path:`authorization`,element:(0,$.jsx)(Bae,{})}),(0,$.jsx)(Tt,{path:`authoriza-waiting`,element:(0,$.jsx)(_oe,{})}),(0,$.jsx)(Tt,{path:`materials`,element:(0,$.jsx)(Jae,{})}),(0,$.jsx)(Tt,{path:`materials/private-portrait-virtual`,element:(0,$.jsx)(Noe,{})}),(0,$.jsx)(Tt,{path:`consume`,element:(0,$.jsx)(goe,{})}),(0,$.jsx)(Tt,{path:`popular`,element:(0,$.jsx)(voe,{})}),(0,$.jsx)(Tt,{path:`authacc`,element:(0,$.jsx)(Hae,{})}),(0,$.jsx)(Tt,{path:`creativeplaza`,element:(0,$.jsx)(yoe,{})}),(0,$.jsx)(Tt,{path:`team-management`,element:(0,$.jsx)(Soe,{})})]}),(0,$.jsx)(Tt,{path:`*`,element:(0,$.jsx)(Ct,{to:`/projects`,replace:!0})})]})})})})},{})); \ No newline at end of file diff --git a/video-gen-app/dist/index.html b/video-gen-app/dist/index.html index 461a58e7..4032e93c 100644 --- a/video-gen-app/dist/index.html +++ b/video-gen-app/dist/index.html @@ -1,37 +1,37 @@ - - - - - - - - - - 民众智创 - - + + + + + + + + + + 民众智创 + + - - -
- - + + +
+ + diff --git a/video-gen-app/src/App.tsx b/video-gen-app/src/App.tsx index 31223c4e..7c38a6f0 100644 --- a/video-gen-app/src/App.tsx +++ b/video-gen-app/src/App.tsx @@ -35,6 +35,7 @@ import CreativePlazaPage from './pages/CreativePlazaPage'; import TeamManagementPage from './pages/TeamManagementPage'; import JoinTeamPage from './pages/JoinTeamPage'; import PrivatePortraitAuthorizeResult from './pages/PrivatePortraitAuthorizeResult'; +import PrivatePortraitVirtualMaterialPage from './pages/PrivatePortraitVirtualMaterialPage'; import { useAuthStore } from './store/useAuthStore'; const ProtectedRoute = ({ children }: { children: React.ReactNode }) => { const { user, loading, checkAuth } = useAuthStore(); @@ -124,6 +125,7 @@ const App = () => { } /> } /> } /> + } /> } /> } /> } /> diff --git a/video-gen-app/src/api/index.ts b/video-gen-app/src/api/index.ts index 524e6306..228ec4b1 100644 --- a/video-gen-app/src/api/index.ts +++ b/video-gen-app/src/api/index.ts @@ -780,16 +780,25 @@ export async function getPrivatePortraitValidateSession(sessionId: string): Prom return api.get(`/private-portrait/validate-sessions/${sessionId}`); } -export async function createPrivatePortraitAsset(projectId: string, payload: { url: string; assetType?: string; name?: string | null }): Promise { - return api.post(`/private-portrait/projects/${projectId}/assets`, { url: payload.url, asset_type: payload.assetType || 'Image', name: payload.name || null }); +export async function createPrivatePortraitAsset(projectId: string, payload: { url: string; assetType?: string; name?: string | null; videoDuration?: number | null; videoCoverUrl?: string | null; fileSize?: number | null; mimeType?: string | null }): Promise { + return api.post(`/private-portrait/projects/${projectId}/assets`, { + url: payload.url, + asset_type: payload.assetType || 'Image', + name: payload.name || null, + video_duration: payload.videoDuration ?? null, + video_cover_url: payload.videoCoverUrl || null, + file_size: payload.fileSize ?? null, + mime_type: payload.mimeType || null, + }); } -export async function getPrivatePortraitAssets(projectId: string, params: { page?: number; pageSize?: number; status?: string; keyword?: string } = {}): Promise { +export async function getPrivatePortraitAssets(projectId: string, params: { page?: number; pageSize?: number; status?: string; keyword?: string; assetType?: string } = {}): Promise { const query = new URLSearchParams(); query.set('page', String(params.page || 1)); query.set('page_size', String(params.pageSize || 20)); if (params.status) query.set('status', params.status); if (params.keyword) query.set('keyword', params.keyword); + if (params.assetType) query.set('asset_type', params.assetType); return api.get(`/private-portrait/projects/${projectId}/assets?${query.toString()}`); } @@ -801,15 +810,90 @@ export async function deletePrivatePortraitAsset(assetId: string): Promise await api.delete(`/private-portrait/assets/${assetId}`); } -export async function getPrivatePortraitSelectableAssets(params: { projectId?: string; keyword?: string; page?: number; pageSize?: number } = {}): Promise { +export async function getPrivatePortraitSelectableAssets(params: { projectId?: string; keyword?: string; page?: number; pageSize?: number; assetType?: string } = {}): Promise { const query = new URLSearchParams(); query.set('page', String(params.page || 1)); query.set('page_size', String(params.pageSize || 20)); if (params.projectId) query.set('project_id', params.projectId); if (params.keyword) query.set('keyword', params.keyword); + if (params.assetType) query.set('asset_type', params.assetType); return api.get(`/private-portrait/selectable-assets?${query.toString()}`); } + +// ── Private Portrait Virtual Library ───────────────────── +export async function getPrivatePortraitVirtualConfig(): Promise { + return api.get('/private-portrait/virtual/config'); +} + +export async function getPrivatePortraitVirtualProjects(params: { page?: number; pageSize?: number; keyword?: string; status?: string } = {}): Promise { + const query = new URLSearchParams(); + query.set('page', String(params.page || 1)); + query.set('page_size', String(params.pageSize || 20)); + if (params.keyword) query.set('keyword', params.keyword); + if (params.status) query.set('status', params.status); + return api.get(`/private-portrait/virtual-projects?${query.toString()}`); +} + +export async function createPrivatePortraitVirtualProject(payload: { name: string; description?: string | null }): Promise { + return api.post('/private-portrait/virtual-projects', { + name: payload.name, + description: payload.description || null, + }); +} + +export async function updatePrivatePortraitVirtualProject(projectId: string, payload: { name?: string; description?: string | null; status?: string }): Promise { + return api.put(`/private-portrait/virtual-projects/${projectId}`, payload); +} + +export async function deletePrivatePortraitVirtualProject(projectId: string): Promise { + await api.delete(`/private-portrait/virtual-projects/${projectId}`); +} + +export async function createPrivatePortraitVirtualAsset(projectId: string, payload: { url: string; assetType?: string; name?: string | null; videoDuration?: number | null; videoCoverUrl?: string | null; fileSize?: number | null; mimeType?: string | null }): Promise { + return api.post(`/private-portrait/virtual-projects/${projectId}/assets`, { + url: payload.url, + asset_type: payload.assetType || 'Image', + name: payload.name || null, + video_duration: payload.videoDuration ?? null, + video_cover_url: payload.videoCoverUrl || null, + file_size: payload.fileSize ?? null, + mime_type: payload.mimeType || null, + }); +} + +export async function getPrivatePortraitVirtualAssets(projectId: string, params: { page?: number; pageSize?: number; status?: string; keyword?: string; assetType?: string } = {}): Promise { + const query = new URLSearchParams(); + query.set('page', String(params.page || 1)); + query.set('page_size', String(params.pageSize || 20)); + if (params.status) query.set('status', params.status); + if (params.keyword) query.set('keyword', params.keyword); + if (params.assetType) query.set('asset_type', params.assetType); + return api.get(`/private-portrait/virtual-projects/${projectId}/assets?${query.toString()}`); +} + +export async function getPrivatePortraitVirtualAsset(assetId: string): Promise { + return api.get(`/private-portrait/virtual-assets/${assetId}`); +} + +export async function syncPrivatePortraitVirtualAsset(assetId: string): Promise { + return api.post(`/private-portrait/virtual-assets/${assetId}/sync`); +} + +export async function deletePrivatePortraitVirtualAsset(assetId: string): Promise { + await api.delete(`/private-portrait/virtual-assets/${assetId}`); +} + +export async function getPrivatePortraitVirtualSelectableAssets(params: { projectId?: string; keyword?: string; page?: number; pageSize?: number; assetType?: string } = {}): Promise { + const query = new URLSearchParams(); + query.set('page', String(params.page || 1)); + query.set('page_size', String(params.pageSize || 20)); + if (params.projectId) query.set('project_id', params.projectId); + if (params.keyword) query.set('keyword', params.keyword); + if (params.assetType) query.set('asset_type', params.assetType); + return api.get(`/private-portrait/virtual-selectable-assets?${query.toString()}`); +} + // ── Team Management APIs ────────────────────────────── export async function getManagedTeam(): Promise { return api.get('/team/managed'); diff --git a/video-gen-app/src/components/Layout/AppLayout.tsx b/video-gen-app/src/components/Layout/AppLayout.tsx index 946cf92b..6166401b 100644 --- a/video-gen-app/src/components/Layout/AppLayout.tsx +++ b/video-gen-app/src/components/Layout/AppLayout.tsx @@ -984,7 +984,7 @@ const AppLayout: React.FC = () => { placement="left" onClose={() => setMobileMenuOpen(false)} open={mobileMenuOpen} - width={280} + size={280} closable={true} className="mobile-menu-drawer" styles={{ diff --git a/video-gen-app/src/components/UploadSelector.tsx b/video-gen-app/src/components/UploadSelector.tsx new file mode 100644 index 00000000..98960dcb --- /dev/null +++ b/video-gen-app/src/components/UploadSelector.tsx @@ -0,0 +1,576 @@ +import React, { useRef, useState, useEffect } from 'react'; +import { Modal, Tooltip, Empty, Input, List, Spin, Tag, Typography, message } from 'antd'; +import { HistoryOutlined, UserOutlined, FolderOpenOutlined, PlusOutlined, CheckOutlined, ReloadOutlined, SearchOutlined, PictureOutlined } from '@ant-design/icons'; +import { getPrivatePortraitProjects, getPrivatePortraitSelectableAssets } from '../api'; +import type { PrivatePortraitProject, PrivatePortraitSelectableAsset } from '../types'; + +const { Text } = Typography; + +interface UploadSelectorProps { + children: React.ReactNode; + accept?: string; + onLocalSelect?: (files: File[]) => void; + onHistorySelect?: (items: any[]) => void; + onPortraitSelect?: (items: any[]) => void; + uploading?: boolean; + tooltipTitle?: string; +} + +const UploadSelector: React.FC = ({ + children, + accept = 'image/*,video/*', + onLocalSelect, + onHistorySelect, + onPortraitSelect, + uploading, + tooltipTitle, +}) => { + const fileInputRef = useRef(null); + + const handleLocalSelect = () => { + fileInputRef.current?.click(); + }; + + const handleFileChange = (e: React.ChangeEvent) => { + const files = e.target.files; + if (files && onLocalSelect) { + onLocalSelect(Array.from(files)); + } + if (fileInputRef.current) { + fileInputRef.current.value = ''; + } + }; + + const [modalVisible, setModalVisible] = useState(false); + const [historyModalVisible, setHistoryModalVisible] = useState(false); + const [portraitModalVisible, setPortraitModalVisible] = useState(false); + + const handleClick = () => { + if (!uploading) { + setModalVisible(true); + } + }; + + const mockHistoryData = []; + + const [selectedHistoryItems, setSelectedHistoryItems] = useState([]); + const [selectedPortraitItems, setSelectedPortraitItems] = useState>(new Map()); + const [historyActiveTab, setHistoryActiveTab] = useState<'asset' | 'history'>('asset'); + + const [portraitProjects, setPortraitProjects] = useState([]); + const [portraitProjectId, setPortraitProjectId] = useState(); + const [portraitKeyword, setPortraitKeyword] = useState(''); + const [portraitAssets, setPortraitAssets] = useState([]); + const [loadingPortraitProjects, setLoadingPortraitProjects] = useState(false); + const [loadingPortraitAssets, setLoadingPortraitAssets] = useState(false); + + const getPreviewUrl = (url?: string | null) => { + if (!url) return ''; + if (url.startsWith('http://') || url.startsWith('https://') || url.startsWith('data:') || url.startsWith('blob:')) { + return url; + } + const base = (import.meta.env.VITE_API_BASE || 'http://localhost:8000').replace(/\/$/, ''); + return `${base}${url.startsWith('/') ? '' : '/'}${url}`; + }; + + const loadPortraitProjects = async () => { + setLoadingPortraitProjects(true); + try { + const res = await getPrivatePortraitProjects({ page: 1, pageSize: 100, status: 'active' }); + setPortraitProjects(res.items || []); + if (!portraitProjectId && res.items?.length) { + setPortraitProjectId(res.items[0].id); + } + } catch (err: any) { + message.error(err?.message || '加载真人素材项目失败'); + } finally { + setLoadingPortraitProjects(false); + } + }; + + const loadPortraitAssets = async () => { + setLoadingPortraitAssets(true); + try { + const res = await getPrivatePortraitSelectableAssets({ projectId: portraitProjectId, keyword: portraitKeyword.trim() || undefined, page: 1, pageSize: 100 }); + setPortraitAssets(res.items || []); + } catch (err: any) { + message.error(err?.message || '加载真人素材失败'); + } finally { + setLoadingPortraitAssets(false); + } + }; + + useEffect(() => { + if (!portraitModalVisible) return; + setSelectedPortraitItems(new Map()); + loadPortraitProjects(); + }, [portraitModalVisible]); + + useEffect(() => { + if (!portraitModalVisible) return; + loadPortraitAssets(); + }, [portraitModalVisible, portraitProjectId]); + + const togglePortraitAsset = (asset: PrivatePortraitSelectableAsset) => { + setSelectedPortraitItems((prev) => { + const next = new Map(prev); + if (next.has(asset.id)) { + next.delete(asset.id); + } else { + next.set(asset.id, asset); + } + return next; + }); + }; + + const toggleHistoryItem = (id: number) => { + setSelectedHistoryItems(prev => + prev.includes(id) ? prev.filter(item => item !== id) : [...prev, id] + ); + }; + + const confirmHistorySelection = () => { + const items = mockHistoryData.filter(item => selectedHistoryItems.includes(item.id)); + onHistorySelect?.(items); + setHistoryModalVisible(false); + setSelectedHistoryItems([]); + setModalVisible(false); + }; + + const confirmPortraitSelection = () => { + const selected = Array.from(selectedPortraitItems.values()); + if (!selected.length) { + message.warning('请选择至少一个真人素材'); + return; + } + const transformedItems = selected.map(item => ({ + ...item, + avatar: getPreviewUrl(item.previewUrl), + })); + onPortraitSelect?.(transformedItems); + setPortraitModalVisible(false); + setSelectedPortraitItems(new Map()); + setModalVisible(false); + }; + + const options = [ + { + key: 'history', + label: '历史记录', + icon: , + description: '从历史上传记录中选择', + onClick: () => { + setModalVisible(false); + setHistoryModalVisible(true); + }, + }, + { + key: 'portrait', + label: '人像', + icon: , + description: '从人像库中选择', + onClick: () => { + setModalVisible(false); + setPortraitModalVisible(true); + }, + }, + { + key: 'local', + label: '本地选取', + icon: , + description: '从本地电脑选择文件', + onClick: () => { + setModalVisible(false); + handleLocalSelect(); + }, + }, + ]; + + return ( + <> + + {tooltipTitle ? ( + +
+ {children} +
+
+ ) : ( +
+ {children} +
+ )} + + setModalVisible(false)} + footer={null} + width={400} + centered + destroyOnHidden + > +
+ {options.map((option) => ( +
{ + e.currentTarget.style.background = '#fff'; + e.currentTarget.style.borderColor = '#e2e8f0'; + e.currentTarget.style.boxShadow = '0 2px 8px rgba(0,0,0,0.04)'; + }} + onMouseLeave={(e) => { + e.currentTarget.style.background = '#f8fafc'; + e.currentTarget.style.borderColor = 'transparent'; + e.currentTarget.style.boxShadow = 'none'; + }} + > +
+ {option.icon} +
+
+
+ {option.label} +
+
+ {option.description} +
+
+ +
+ ))} +
+
+ + { + setHistoryModalVisible(false); + setSelectedHistoryItems([]); + }} + footer={null} + width={"80%"} + height={"50%"} + centered + > +
+
setHistoryActiveTab('asset')} + style={{ + padding: '6px 16px', + borderRadius: 6, + cursor: 'pointer', + fontSize: 14, + fontWeight: historyActiveTab === 'asset' ? 600 : 500, + color: historyActiveTab === 'asset' ? '#fff' : '#64748b', + background: historyActiveTab === 'asset' ? '#6366f1' : '#f1f5f9', + transition: 'all 0.2s ease', + }} + > + 资产图片 +
+
setHistoryActiveTab('history')} + style={{ + padding: '6px 16px', + borderRadius: 6, + cursor: 'pointer', + fontSize: 14, + fontWeight: historyActiveTab === 'history' ? 600 : 500, + color: historyActiveTab === 'history' ? '#fff' : '#64748b', + background: historyActiveTab === 'history' ? '#6366f1' : '#f1f5f9', + transition: 'all 0.2s ease', + }} + > + 历史图片 +
+
+ +
+
+ 暂无资产图片 +
+
+ +
+
+ 已选择 {selectedHistoryItems.length} 个素材 +
+
+ + +
+
+
+ + { + setPortraitModalVisible(false); + setSelectedPortraitItems(new Map()); + }} + width={920} + centered + footer={[ + , + , + ]} + > +
+
+
+ 项目组 + +
+ + }} + renderItem={(item) => ( + setPortraitProjectId(item.id)} + style={{ + cursor: 'pointer', + padding: '10px 12px', + borderRadius: 10, + marginBottom: 6, + border: portraitProjectId === item.id ? '1px solid #8b5cf6' : '1px solid transparent', + background: portraitProjectId === item.id ? '#f5f3ff' : '#fff', + }} + > +
+ {item.name} + Active {item.activeAssetCount || 0} +
+
+ )} + /> +
+
+ +
+
+ } + placeholder="搜索素材名称" + value={portraitKeyword} + onChange={(e) => setPortraitKeyword(e.target.value)} + onPressEnter={loadPortraitAssets} + style={{ flex: 1 }} + /> + +
+ + {portraitAssets.length === 0 ? ( + + ) : ( +
+ {portraitAssets.map((asset) => { + const active = selectedPortraitItems.has(asset.id); + return ( +
togglePortraitAsset(asset)} + style={{ + cursor: 'pointer', + border: active ? '2px solid #8b5cf6' : '1px solid #edf0f5', + borderRadius: 12, + overflow: 'hidden', + background: '#fff', + boxShadow: active ? '0 8px 20px rgba(139,92,246,0.18)' : '0 4px 12px rgba(15,23,42,0.04)', + position: 'relative', + }} + > +
+ {asset.previewUrl ? ( + {asset.name + ) : ( + + )} +
+ {active && ( +
+ +
+ )} +
+ {asset.name || '未命名素材'} +
+ Active + {asset.projectName} +
+
+
+ ); + })} +
+ )} +
+
+
+
+ + ); +}; + +export default UploadSelector; \ No newline at end of file diff --git a/video-gen-app/src/pages/GenerateConver.tsx b/video-gen-app/src/pages/GenerateConver.tsx index b1cea645..8dc9b98e 100644 --- a/video-gen-app/src/pages/GenerateConver.tsx +++ b/video-gen-app/src/pages/GenerateConver.tsx @@ -22,6 +22,8 @@ import bg2 from '../assets/bg2.png'; import bg3 from '../assets/bg3.png'; import text from '../assets/testb.png'; +import UploadSelector from '../components/UploadSelector'; + import { @@ -1255,6 +1257,8 @@ const AIChatPage: React.FC = () => { return false; } } + + if (isAudio) { @@ -1293,7 +1297,6 @@ const AIChatPage: React.FC = () => { }]; const labels = generateMediaLabels(newList); setCurrentMedia(newList.map((m, i) => ({ ...m, label: labels[i] }))); - message.success(`${isImage ? '图片' : (isAudio ? '音频' : '视频')}上传成功`); } catch (error) { message.error('上传失败'); } finally { @@ -1303,6 +1306,118 @@ const AIChatPage: React.FC = () => { return false; }; + const doUpload = async (file: File): Promise => { + const isImage = file.type.startsWith('image/'); + const isVideo = file.type.startsWith('video/'); + const isAudio = file.type.startsWith('audio/'); + + if (!isImage && !isVideo && !isAudio) { + message.error('仅支持图片、视频或音频文件'); + return false; + } + + const maxMB = isVideo ? 100 : (isAudio ? 50 : 10); + if (file.size / 1024 / 1024 > maxMB) { + message.error(`${isVideo ? '视频' : (isAudio ? '音频' : '图片')}大小不能超过${maxMB}MB`); + return false; + } + + if (isAudio) { + const audioExt = file.name.split('.').pop()?.toLowerCase(); + if (!['wav', 'mp3'].includes(audioExt || '')) { + message.error('音频仅支持wav和mp3格式'); + return false; + } + } + + let videoDuration = 0; + let audioDuration = 0; + if (isVideo) { + try { + videoDuration = await getVideoDuration(file); + if (videoDuration < 2) { + message.error('视频素材最短不能少于 2 秒'); + return false; + } + const latestMedia = useAppStore.getState().currentMedia; + const existingVideoDuration = latestMedia + .filter((m) => m.type === 'video') + .reduce((sum, m) => sum + (m.duration || 0), 0); + if (existingVideoDuration + videoDuration > 15) { + message.error(`所有视频素材总时长不能超过 15 秒,当前 ${(existingVideoDuration + videoDuration).toFixed(1)} 秒`); + return false; + } + } catch { + message.error('无法获取视频信息,请检查文件是否损坏'); + return false; + } + } + + if (isAudio) { + try { + audioDuration = await getAudioDuration(file); + if (audioDuration < 2) { + message.error('音频素材最短不能少于 2 秒'); + return false; + } + const latestMedia = useAppStore.getState().currentMedia; + const existingAudioDuration = latestMedia + .filter((m) => m.type === 'audio') + .reduce((sum, m) => sum + (m.duration || 0), 0); + if (existingAudioDuration + audioDuration > 15) { + message.error(`所有音频素材总时长不能超过 15 秒,当前 ${(existingAudioDuration + audioDuration).toFixed(1)} 秒`); + return false; + } + } catch { + message.error('无法获取音频信息,请检查文件是否损坏'); + return false; + } + } + + try { + const uploadFn = isImage ? uploadImage : (isAudio ? uploadAudio : uploadVideo); + const res = await uploadFn(file); + const mediaType: 'image' | 'video' | 'audio' = isImage ? 'image' : (isAudio ? 'audio' : 'video'); + return { + name: file.name, + type: mediaType, + url: res.url, + label: '', + ...(isVideo && { duration: videoDuration }), + ...(isAudio && { duration: audioDuration }), + }; + } catch (error) { + message.error('上传失败'); + return false; + } + }; + + const handleBatchUpload = async (files: File[]) => { + let successCount = 0; + let failCount = 0; + + for (const file of files) { + setUploading(true); + + const result = await doUpload(file); + + if (result) { + const latestMedia = useAppStore.getState().currentMedia; + const newList = [...latestMedia, result]; + const labels = generateMediaLabels(newList); + setCurrentMedia(newList.map((m, i) => ({ ...m, label: labels[i] }))); + successCount++; + } else { + failCount++; + } + + setUploading(false); + } + + if (successCount > 0) { + message.success(`成功上传${successCount}个文件${failCount > 0 ? `,${failCount}个文件上传失败` : ''}`); + } + }; const handlePrivatePortraitAssetsSelected = (assets: PrivatePortraitSelectableAsset[]) => { if (mediaType !== 'video') { @@ -1346,12 +1461,12 @@ const AIChatPage: React.FC = () => { }; - const handleKeyPress = (e: React.KeyboardEvent) => { - if (e.key === 'Enter' && !e.shiftKey) { - e.preventDefault(); - handleSend(); - } - }; + // const handleKeyPress = (e: React.KeyboardEvent) => { + // if (e.key === 'Enter' && !e.shiftKey) { + // e.preventDefault(); + // handleSend(); + // } + // }; // 检测光标前的 @ 符号 const checkMention = (textarea: HTMLTextAreaElement, value: string) => { @@ -1511,7 +1626,7 @@ const AIChatPage: React.FC = () => { {/* 隐藏的音频播放器 */}
+ + 素材总额度 +
{quotaText}
+ 真人/虚拟共用,图片/视频共用;音频暂不开放。 +
+ + + + 项目组 +
{projects.length}
+ 虚拟人像项目会同步创建火山 AIGC Asset Group。 +
+ + + + 当前项目素材 +
{selectedProject?.assetCount || 0}
+ 仅 Active 状态素材可在 AI 创作中引用。 +
+ + + + + + } onClick={() => setCreateOpen(true)}>创建项目组} + style={{ borderRadius: 16, minHeight: 520 }} + > + + {projects.length === 0 ? ( + + ) : ( + + {projects.map((project) => { + const active = selectedProjectId === project.id; + return ( +
setSelectedProjectId(project.id)} + style={{ + padding: 14, + borderRadius: 14, + cursor: 'pointer', + border: active ? '1px solid #8b5cf6' : '1px solid #e2e8f0', + background: active ? '#f5f3ff' : '#fff', + }} + > + +
+ {project.name} + {project.description && {project.description}} +
+ +
+ + 总 {project.assetCount || 0} + 图 {project.imageAssetCount || 0} + 视频 {project.videoAssetCount || 0} + Active {project.activeAssetCount || 0} + +
+ ); + })} +
+ )} +
+
+ + + + + + + {selectedProjectId && ( + + + + )} + + )} + style={{ borderRadius: 16, minHeight: 520 }} + > + + setKeyword(e.target.value)} + onSearch={() => loadAssets(1, assetPageSize)} + style={{ width: 240 }} + /> + setAssetType(value)} + style={{ width: 130 }} + options={[ + { value: 'Image', label: '图片' }, + { value: 'Video', label: '视频' }, + ]} + /> + + + + + {!selectedProjectId ? ( + + ) : assets.length === 0 ? ( + + ) : ( + <> +
+ {assets.map(renderAssetCard)} +
+
+ `共 ${value} 个素材`} + onChange={(page, size) => loadAssets(page, size)} + /> +
+ + )} +
+
+ + + + setCreateOpen(false)} + onOk={handleCreateProject} + confirmLoading={creatingProject} + okText="创建并同步火山 Asset Group" + > + + + + + + + + + + + setUploadOpen(false)} + onOk={handleUpload} + confirmLoading={uploading} + okText="提交入库" + > + + setAssetName(e.target.value)} placeholder="素材名称,默认使用文件名" maxLength={256} /> + false} + onChange={({ fileList: next }) => setFileList(next)} + listType="picture" + > + + +
+ 当前开放图片和视频,音频暂不接入。提交后会调用火山 CreateAsset 异步处理,状态变为 Active 后才可用于 AI 创作。 +
+
+
+ + setPreviewOpen(false)} footer={null} width={760} destroyOnClose> +
+ {previewType === 'Video' ? ( +
+
+ + ); +}; + +export default PrivatePortraitVirtualMaterialPage; diff --git a/video-gen-app/src/pages/RemoveInfo.tsx b/video-gen-app/src/pages/RemoveInfo.tsx index f5997b6a..485fac65 100644 --- a/video-gen-app/src/pages/RemoveInfo.tsx +++ b/video-gen-app/src/pages/RemoveInfo.tsx @@ -638,7 +638,7 @@ function RemoveInfo() {